/** v2.8.1 | MIT Licensed */;!function(d){"use strict";vart,h=d.document,m={modules:{},status:{},timeout:10,event:{}},n=function(){this.v="2.8.1"},e=d.LAYUI_GLOBAL||{},v=(t=h.currentScript?h.currentScript.src:function(){for(vart,e=h.scripts,r=e.length-1,n=r;0<n;n--)if("interactive"===e[n].readyState){t=e[n].src;break}returnt||e[r].src}(),m.dir=e.dir||t.substring(0,t.lastIndexOf("/")+1)),g=function(t,e){e=e||"log",d.console&&console[e]&&console[e]("layui error hint: "+t)},b="undefined"!=typeofopera&&"[object Opera]"===opera.toString(),N=m.builtin={lay:"lay",layer:"layer",laydate:"laydate",laypage:"laypage",laytpl:"laytpl",form:"form",upload:"upload",dropdown:"dropdown",transfer:"transfer",tree:"tree",table:"table",treeTable:"treeTable",element:"element",rate:"rate",colorpicker:"colorpicker",slider:"slider",carousel:"carousel",flow:"flow",util:"util",code:"code",jquery:"jquery",all:"all","layui.all":"layui.all"},s=(n.prototype.cache=m,n.prototype.define=function(t,n){return"function"==typeoft&&(n=t,t=[]),this.use(t,function(){varr=function(t,e){layui[t]=e,m.status[t]=!0};return"function"==typeofn&&n(function(t,e){r(t,e),m.callback[t]=function(){n(r)}}),this},null,"define"),this},n.prototype.use=function(r,t,e,n){varo=this,i=m.dir=m.dir||v,a=h.getElementsByTagName("head")[0],u=(r="string"==typeofr?[r]:"function"==typeofr?(t=r,["all"]):r,d.jQuery&&jQuery.fn.on&&(o.each(r,function(t,e){"jquery"===e&&r.splice(t,1)}),layui.jquery=layui.$=jQuery),r[0]),l=0;functions(t,e){varr="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;"load"!==t.type&&!r.test((t.currentTarget||t.srcElement).readyState)||(m.modules[u]=e,a.removeChild(p),functionn(){return++l>1e3*m.timeout/4?g(u+" is not a valid module","error"):void(m.status[u]?c():setTimeout(n,4))}())}functionc(){e.push(layui[u]),1<r.length?o.use(r.slice(1),t,e,n):"function"==typeoft&&(layui.jquery&&"function"==typeoflayui.jquery&&"define"!==n?layui.jquery(function(){t.apply(layui,e)}):t.apply(layui,e))}if(e=e||[],m.host=m.host||(i.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===r.length||layui["layui.all"]&&N[u])returnc(),o;varp,y=(y=(N[u]?i+"modules/":!/^\{\/\}/.test(o.modules[u])&&m.base||"")+(o.modules[u]||u)+".js").replace(/^\{\/\}/,"");return!m.modules[u]&&layui[u]&&(m.modules[u]=y),m.modules[u]?functionf(){return++l>1e3*m.timeout/4?g(u+" is not a valid module","error"):void("string"==typeofm.modules[u]&&m.status[u]?c():setTimeout(f,4))}():((p=h.createElement("script"))["async"]=!0,p.charset="utf-8",p.src=y+((i=!0===m.version?m.v||(newDate).getTime():m.version||"")?"?v="+i:""),a.appendChild(p),!p.attachEvent||p.attachEvent.toString&&p.attachEvent.toString().indexOf("[native code")<0||b?p.addEventListener("load",function(t){s(t,y)},!1):p.attachEvent("onreadystatechange",function(t){s(t,y)}),m.modules[u]=y),o},n.prototype.disuse=function(t){varr=this;returnt=r.isArray(t)?t:[t],r.each(t,function(t,e){m.status[e],deleter[e],deleteN[e],deleter.modules[e],deletem.status[e],deletem.modules[e]}),r},n.prototype.getStyle=function(t,e){t=t.currentStyle||d.getComputedStyle(t,null);returnt[t.getPropertyValue?"getPropertyValue":"getAttribute"](e)},n.prototype.link=function(r,n,t){varo=this,e=h.getElementsByTagName("head")[0],i=h.createElement("link"),t=((t="string"==typeofn?n:t)||r).replace(/\.|\//g,""),a=i.id="layuicss-"+t,u="creating",l=0;returni.rel="stylesheet",i.href=r+(m.debug?"?v="+(newDate).getTime():""),i.media="all",h.getElementById(a)||e.appendChild(i),"function"!=typeofn||functions(t){vare=h.getElementById(a);return++l>1e3*m.timeout/100?g(r+" timeout"):void(1989===parseInt(o.getStyle(e,"width"))?(t===u&&e.removeAttribute("lay-status"),e.getAttribute("lay-status")===u?setTimeout(s,100):n()):(e.setAttribute("lay-status",u),setTimeout(function(){s(u)},100)))}(),o},n.prototype.addcss=function(t,e,r){returnlayui.link(m.dir+"css/"+t,e,r)},m.callback={},n.prototype.factory=function(t){if(layui[t])return"function"==typeofm.callback[t]?m.callback[t]:null},n.prototype.img=function(t,e,r){varn=newImage;if(n.src=t,n.comple