PageSourceSearch

https://sxkcrt.sstrc.com/static/layer/3.5/layer.js?V4.3-09091601

js sstrc.com collected 2026-10-07 04:28:33 UTC 24,896 bytes, 53 lines download raw bytes

1/*
2 layer 3.5.1 ?? Web ?????
3 MIT Licensed 
4*/
5var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(g,q,n){g instanceof String&&(g=String(g));for(var h=g.length,m=0;m<h;m++){var l=g[m];if(q.call(n,l,m,g))return{i:m,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
6$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(g,q,n){g!=Array.prototype&&g!=Object.prototype&&(g[q]=n.value)};$jscomp.getGlobal=function(g){g=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,g];for(var q=0;q<g.length;++q){var n=g[q];if(n&&n.Math==Math)return n}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
7$jscomp.polyfill=function(g,q,n,h){if(q){n=$jscomp.global;g=g.split(".");for(h=0;h<g.length-1;h++){var m=g[h];m in n||(n[m]={});n=n[m]}g=g[g.length-1];h=n[g];q=q(h);q!=h&&null!=q&&$jscomp.defineProperty(n,g,{configurable:!0,writable:!0,value:q})}};$jscomp.polyfill("Array.prototype.find",function(g){return g?g:function(g,n){return $jscomp.findInternal(this,g,n).v}},"es6","es3");
8!function(g,q){var n=g.layui&&layui.define,h,m,l={getPath:function(){if(document.currentScript)var a=document.currentScript.src;else{a=document.scripts;for(var b=a.length-1,e,c=b;0<c;c--)if("interactive"===a[c].readyState){e=a[c].src;break}a=e||a[b].src}return(g.LAYUI_GLOBAL||{}).layer_dir||a.substring(0,a.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],type:["dialog","page","iframe","loading","tips"],getStyle:function(a,b){a=a.currentStyle?a.currentStyle:g.getComputedStyle(a,null);
9return a[a.getPropertyValue?"getPropertyValue":"getAttribute"](b)},link:function(a,b,e){if(d.path){var c=document.getElementsByTagName("head")[0],p=document.createElement("link");"string"===typeof b&&(e=b);var f=(e||a).replace(/\.|\//g,""),k="layuicss-"+f,h=0;p.rel="stylesheet";p.href=d.path+a;p.id=k;document.getElementById(k)||c.appendChild(p);"function"===typeof b&&function w(a){var c=document.getElementById(k);if(100<++h)return g.console&&console.error(f+".css: Invalid");1989===parseInt(l.getStyle(c,
10"width"))?("creating"===a&&c.removeAttribute("lay-status"),"creating"===c.getAttribute("lay-status")?setTimeout(w,100):b()):(c.setAttribute("lay-status","creating"),setTimeout(function(){w("creating")},100))}()}}},d={v:"3.5.1",i18n:{btnOk:"\u786e\u5b9a",btnCancel:"\u53d6\u6d88",title:"\u4fe1\u606f",promptTipA:"\u6700\u591a\u8f93\u5165",promptTipB:"\u4e2a\u5b57\u7b26",noPicture:"\u6ca1\u6709\u56fe\u7247",photoError:"\u5f53\u524d\u56fe\u7247\u5730\u5740\u5f02\u5e38<br>
10\u662f\u5426\u7ee7\u7eed\u67e5\u770b\u4e0b\u4e00\u5f20\uff1f",
11photoNextPage:"\u4e0b\u4e00\u5f20",photoClose:"\u4e0d\u770b\u4e86"},ie:function(){var a=navigator.userAgent.toLowerCase();return g.ActiveXObject||"ActiveXObject"in g?(a.match(/msie\s(\d+)/)||[])[1]||"11":!1}(),index:g.layer&&g.layer.v?1E5:0,path:l.getPath,config:function(a,b){a=a||{};d.cache=l.config=h.extend({},l.config,a);d.path=l.config.path||d.path;"string"===typeof a.extend&&(a.extend=[a.extend]);l.config.path&&d.ready();if(!a.extend)return this;n?layui.addcss("modules/layer/"+a.extend):l.link("theme/"+
12a.extend);return this},ready:function(a){var b=(n?"modules/layer/":"theme/")+"default/layer.css?v="+d.v;n?layui.addcss(b,a,"layer"):l.link(b,a,"layer");return this},alert:function(a,b,e){var c="function"===typeof b;c&&(e=b);return d.open(h.extend({content:a,yes:e},c?{}:b))},confirm:function(a,b,e,c){var p="function"===typeof b;p&&(c=e,e=b);return d.open(h.extend({content:a,btn:[d.i18n.btnOk,d.i18n.btnCancel],yes:e,btn2:c},p?{}:b))},msg:function(a,b,e){var c="function"===typeof b,p=l.config.skin,t=
13(p?p+" "+p+"-msg":"")||"layui-layer-msg";p=f.anim.length-1;c&&(e=b);return d.open(h.extend({content:a,time:3E3,shade:!1,skin:t,title:!1,closeBtn:b.time&&5E3<=b.time||!1,btn:!1,resize:!1,end:e},c&&!l.config.skin?{skin:t+" layui-layer-hui",anim:p}:function(){b=b||{};if(-1===b.icon||b.icon===q&&!l.config.skin)b.skin=t+" "+(b.skin||"layui-layer-hui");return b}()))},load:function(a,b){return d.open(h.extend({type:3,icon:a||0,resize:!1,shade:.01},b))},tips:function(a,b,e){return d.open(h.extend({type:4,
14content:[a,b],closeBtn:!1,time:3E3,shade:!1,resize:!1,fixed:!1,maxWidth:260},e))}},r=function(a){var b=this;b.index=++d.index;b.config.maxWidth=h(m).width()-30;b.config=h.extend({},b.config,l.config,a);document.body?b.creat():setTimeout(function(){b.creat()},30)};r.pt=r.prototype;var f="layui-layer .layui-layer-title .layui-layer-main .layui-layer-dialog layui-layer-iframe layui-layer-content layui-layer-btn layui-layer-close".split(" ");f.anim="layer-anim-00 layer-anim-01 layer-anim-02 layer-anim-03 layer-anim-04 layer-anim-05 layer-anim-06".split(" ");
15f.SHADE="layui-layer-shade";f.MOVE="layui-layer-move";r.pt.config={type:0,shade:.3,fixed:!0,move:f[1],title:function(){return d.i18n.title},offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:!0,minStack:!0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2};r.pt.vessel=function(a,b){var e=this.index,c=this.config,p=c.zIndex+e,d="object"===typeof c.title,k=c.maxmin&&(1===c.type||2===c.type);d=c.title?'<div class="layui-layer-title" style="'+(d?c.title[1]:"")+'">'+
16(d?c.title[0]:"function"===typeof c.title?c.title():c.title)+"</div>":"";c.zIndex=p;b([c.shade?'<div class="'+f.SHADE+'" id="'+f.SHADE+e+'" times="'+e+'" style="z-index:'+(p-1+'; "></div>'):"",'<div class="'+f[0]+(" layui-layer-"+l.type[c.type])+(0!=c.type&&2!=c.type||c.shade?"":" layui-layer-border")+" "+(c.skin||"")+'" id="'+f[0]+e+'" type="'+l.type[c.type]+'" times="'+e+'" showtime="'+c.time+'" conType="'+(a?"object":"string")+'" style="z-index: '+p+"; width:"+c.area[0]+";height:"+c.area[1]+";position:"+
17(c.fixed?"fixed;":"absolute;")+'">'+(a&&2!=c.type?"":d)+'<div id="'+(c.id||"")+'" class="layui-layer-content'+(0==c.type&&-1!==c.icon?" layui-layer-padding":"")+(3==c.type?" layui-layer-loading"+c.icon:"")+'">'+(0==c.type&&-1!==c.icon?'<i class="layui-layer-ico layui-layer-ico'+c.icon+'"></i>':"")+(1==c.type&&a?"":c.content||"")+'</div><span class="layui-layer-setwin">'+function(){var a=k&&c.title?'<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>':
18"";c.closeBtn&&(a+='<a class="layui-layer-ico '+f[7]+" "+f[7]+(c.title?c.closeBtn:4==c.type?"1":"2")+'" href="javascript:;"></a>');return a}()+"</span>"+(c.btn?function(){var a="";"string"===typeof c.btn&&(c.btn=[c.btn]);for(var b=0,e=c.btn.length;b<e;b++)a+='<a class="'+f[6]+b+'">'+c.btn[b]+"</a>";return'<div class="'+f[6]+(c.btnAlign?" layui-layer-btn-"+(c.btnAlign||""):"")+'">'+a+"</div>"}():"")+(c.resize?'<span class="layui-layer-resize"></span>':"")+"</div>"],d,h('<div class="'+f.MOVE+'" id="'+
19f.MOVE+'"></div>'));return this};r.pt.creat=function(){var a=this,b=a.config,e=a.index,c=b.content,p="object"===typeof c,t=h("body");if(!b.id||!h("#"+b.id)[0]){"string"===typeof b.area&&(b.area="auto"===b.area?["",""]:[b.area,""]);b.shift&&(b.anim=b.shift);6==d.ie&&(b.fixed=!1);switch(b.type){case 0:b.btn="btn"in b?b.btn:d.i18n.btnOk;d.closeAll("dialog");break;case 2:c=b.content=p?b.content:[b.content||"","auto"];b.content='<iframe scrolling="'+(b.content[1]||"auto")+'" allowtransparency="true" id="'+
20f[4]+e+'" name="'+f[4]+e+'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0"></iframe><form id="'+f[4]+"-form"+e+'" action="'+b.content[0]+'" method="post" target="'+f[4]+e+'"></form>';break;case 3:delete b.title;delete b.closeBtn;-1===b.icon&&0===b.icon;d.closeAll("loading");break;case 4:p||(b.content=[b.content,"body"]),b.follow=b.content[1],b.content=b.content[0]+'<i class="layui-layer-TipsG"></i>',delete b.title,b.tips="object"===typeof b.tips?b.tips:[b.tips,!0],b.tipsMore||
21d.closeAll("tips")}a.vessel(p,function(d,k,g){t.append(d[0]);p?2==b.type||4==b.type?h("body").append(d[1]):c.parents("."+f[0])[0]||(c.data("display",c.css("display")).show().addClass("layui-layer-wrap").wrap(d[1]),h("#"+f[0]+e).find("."+f[5]).before(k)):t.append(d[1]);h("#"+f.MOVE)[0]||t.append(l.moveElem=g);a.layero=h("#"+f[0]+e);a.shadeo=h("#"+f.SHADE+e);b.scrollbar||f.html.css("overflow","hidden").attr("layer-full",e)}).auto(e);a.shadeo.css({"background-color":b.shade[1]||"#000",opacity:b.shade[0]||
22b.shade});if(2==b.type)if("GET"==b.method||"get"==b.method){var k=c[0]||"",g=b.contentFormData,n;for(n in g||{})k+=-1==k.indexOf("?")?"?":"&",k+=n+"="+g[n];a.layero.find("#"+f[4]+e).attr("src",k)}else{k=a.layero.find("#"+f[4]+"-form"+e);g=b.contentFormData;for(n in g||{})k.append('<input type="hidden" name="'+n+'" value="'+g[n]+'"/>');k.submit()}4==b.type?a.tips():function(){a.offset();parseInt(l.getStyle(document.getElementById(f.MOVE),"z-index"))||function(){a.layero.css("visibility","hidden");
23d.ready(function(){a.offset();a.layero.css("visibility","visible")})}()}();if(b.fixed)m.on("resize",function(){a.offset();(/^\d+%$/.test(b.area[0])||/^\d+%$/.test(b.area[1]))&&a.auto(e);4==b.type&&a.tips()});0>=b.time||setTimeout(function(){d.close(a.index)},b.time);a.move().callback();if(f.anim[b.anim]){var q="layer-anim "+f.anim[b.anim];a.layero.addClass(q).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){h(this).removeClass(q)})}b.isOutAnim&&a.layero.data("isOutAnim",
24!0)}};r.pt.auto=function(a){var b=this.config,e=h("#"+f[0]+a);""===b.area[0]&&0<b.maxWidth&&(d.ie&&8>d.ie&&b.btn&&e.width(e.innerWidth()),e.outerWidth()>b.maxWidth&&e.width(b.maxWidth));
24var c=[e.innerWidth(),e.innerHeight()],p=e.find(f[1]).outerHeight()||0,g=e.find("."+f[6]).outerHeight()||0;a=function(a){a=e.find(a);a.height(c[1]-p-g-2*(parseFloat(a.css("padding-top"))|0))};switch(b.type){case 2:a("iframe");break;default:""===b.area[1]?0<b.maxHeight&&e.outerHeight()>b.maxHeight?(c[1]=b.maxHeight,
25a("."+f[5])):b.fixed&&c[1]>=m.height()&&(c[1]=m.height(),a("."+f[5])):a("."+f[5])}return this};r.pt.offset=function(){var a=this.config,b=this.layero,e=[b.outerWidth(),b.outerHeight()],c="object"===typeof a.offset;this.offsetTop=(m.height()-e[1])/2;this.offsetLeft=(m.width()-e[0])/2;c?(this.offsetTop=a.offset[0],this.offsetLeft=a.offset[1]||this.offsetLeft):"auto"!==a.offset&&("t"===a.offset?this.offsetTop=0:"r"===a.offset?this.offsetLeft=m.width()-e[0]:"b"===a.offset?this.offsetTop=m.height()-e[1]:
26"l"===a.offset?this.offsetLeft=0:"lt"===a.offset?this.offsetLeft=this.offsetTop=0:"lb"===a.offset?(this.offsetTop=m.height()-e[1],this.offsetLeft=0):"rt"===a.offset?(this.offsetTop=0,this.offsetLeft=m.width()-e[0]):"rb"===a.offset?(this.offsetTop=m.height()-e[1],this.offsetLeft=m.width()-e[0]):this.offsetTop=a.offset);a.fixed||(this.offsetTop=/%$/.test(this.offsetTop)?m.height()*parseFloat(this.offsetTop)/100:parseFloat(this.offsetTop),this.offsetLeft=/%$/.test(this.offsetLeft)?m.width()*parseFloat(this.offsetLeft)/
27100:parseFloat(this.offsetLeft),this.offsetTop+=m.scrollTop(),this.offsetLeft+=m.scrollLeft());b.attr("minLeft")&&(this.offsetTop=m.height()-(b.find(f[1]).outerHeight()||0),this.offsetLeft=b.css("left"));this.offsetTop=0<this.offsetTop?this.offsetTop:0;b.css({top:this.offsetTop,left:this.offsetLeft})};r.pt.tips=function(){var a=this.config,b=this.layero,e=[b.outerWidth(),b.outerHeight()],c=h(a.follow);c[0]||(c=h("body"));var d={width:c.outerWidth(),height:c.outerHeight(),top:c.offset().top,left:c.offset().left},
28g=b.find(".layui-layer-TipsG");c=a.tips[0];a.tips[1]||g.remove();d.autoLeft=function(){0<d.left+e[0]-m.width()?(d.tipLeft=d.left+d.width-e[0],g.css({right:12,left:"auto"})):d.tipLeft=d.left};d.where=[function(){d.autoLeft();d.tipTop=d.top-e[1]-10;g.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",a.tips[1])},function(){d.tipLeft=d.left+d.width+10;d.tipTop=d.top;g.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",a.tips[1])},
29function(){d.autoLeft();d.tipTop=d.top+d.height+10;g.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",a.tips[1])},function(){d.tipLeft=d.left-e[0]-10;d.tipTop=d.top;g.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",a.tips[1])}];d.where[c-1]();1===c?0>d.top-(m.scrollTop()+e[1]+16)&&d.where[2]():2===c?0<m.width()-(d.left+d.width+e[0]+16)||d.where[3]():3===c?0<d.top-m.scrollTop()+d.height+e[1]+16-m.height()&&d.where[0]():
304===c&&0<e[0]+16-d.left&&d.where[1]();b.find("."+f[5]).css({"background-color":a.tips[1],"padding-right":a.closeBtn?"30px":""});b.css({left:d.tipLeft-(a.fixed?m.scrollLeft():0),top:d.tipTop-(a.fixed?m.scrollTop():0)})};r.pt.move=function(){var a=this,b=a.config,e=h(document),c=a.layero,f=c.find(b.move),g=c.find(".layui-layer-resize"),k={};b.move&&f.css("cursor","move");f.on("mousedown",function(a){a.preventDefault();b.move&&(k.moveStart=!0,k.offset=[a.clientX-parseFloat(c.css("left")),a.clientY-parseFloat(c.css("top"))],
31l.moveElem.css("cursor","move").show())});g.on("mousedown",function(a){a.preventDefault();k.resizeStart=!0;k.offset=[a.clientX,a.clientY];k.area=[c.outerWidth(),c.outerHeight()];l.moveElem.css("cursor","se-resize").show()});e.on("mousemove",function(e){if(k.moveStart){var f=e.clientX-k.offset[0],h=e.clientY-k.offset[1],g="fixed"===c.css("position");e.preventDefault();k.stX=g?0:m.scrollLeft();k.stY=g?0:m.scrollTop();if(!b.moveOut){g=m.width()-c.outerWidth()+k.stX;var p=m.height()-c.outerHeight()+k.stY;
32f<k.stX&&(f=k.stX);f>g&&(f=g);h<k.stY&&(h=k.stY);h>p&&(h=p)}c.css({left:f,top:h})}b.resize&&k.resizeStart&&(f=e.clientX-k.offset[0],h=e.clientY-k.offset[1],e.preventDefault(),d.style(a.index,{width:k.area[0]+f,height:k.area[1]+h}),k.isResize=!0,b.resizing&&b.resizing(c))}).on("mouseup",function(a){k.moveStart&&(delete k.moveStart,l.moveElem.hide(),b.moveEnd&&b.moveEnd(c));k.resizeStart&&(delete k.resizeStart,l.moveElem.hide())});return a};r.pt.callback=function(){var a=this,b=a.layero,e=a.config;
33a.openLayer();if(e.success)if(2==e.type)b.find("iframe").on("load",function(){e.success(b,a.index)});else e.success(b,a.index);6==d.ie&&a.IE6(b);b.find("."+f[6]).children("a").on("click",function(){var c=h(this).index();0===c?e.yes?(c=e.yes(a.index,b),!1===c||d.close(a.index)):e.btn1?(c=e.btn1(a.index,b),!1===c||d.close(a.index)):d.close(a.index):(c=e["btn"+(c+1)]&&e["btn"+(c+1)](a.index,b),!1===c||d.close(a.index))});b.find("."+f[7]).on("click",function(){!1===(e.cancel&&e.cancel(a.index,b))||d.close(a.index)});
34if(e.shadeClose||e.shadeClose==q)a.shadeo.on("click",function(){d.close(a.index)});b.find(".layui-layer-min").on("click",function(){!1===(e.min&&e.min(b,a.index))||d.min(a.index,e)});
34b.find(".layui-layer-max").on("click",function(){h(this).hasClass("layui-layer-maxmin")?(d.restore(a.index),e.restore&&e.restore(b,a.index)):(d.full(a.index,e),setTimeout(function(){e.full&&e.full(b,a.index)},100))});e.end&&(l.end[a.index]=e.end)};l.reselect=function(){h.each(h("select"),function(a,b){a=h(this);a.parents("."+
35f[0])[0]||1==a.attr("layer")&&1>h("."+f[0]).length&&a.removeAttr("layer").show()})};r.pt.IE6=function(a){h("select").each(function(a,e){a=h(this);a.parents("."+f[0])[0]||"none"===a.css("display")||a.attr({layer:"1"}).hide()})};r.pt.openLayer=function(){d.zIndex=this.config.zIndex;d.setTop=function(a){d.zIndex=parseInt(a[0].style.zIndex);a.on("mousedown",function(){d.zIndex++;a.css("z-index",d.zIndex+1)});return d.zIndex}};l.record=function(a){var b=[a.width(),a.height(),a.position().top,a.position().left+
36parseFloat(a.css("margin-left"))];a.find(".layui-layer-max").addClass("layui-layer-maxmin");a.attr({area:b})};l.rescollbar=function(a){f.html.attr("layer-full")==a&&(f.html[0].style.removeProperty?f.html[0].style.removeProperty("overflow"):f.html[0].style.removeAttribute("overflow"),f.html.removeAttr("layer-full"))};g.layer=d;d.$=d.jQuery=jQuery;d.window=g;d.getChildFrame=function(a,b){b=b||h("."+f[4]).attr("times");return h("#"+f[0]+b).find("iframe").contents().find(a)};d.getFrameIndex=function(a){return h("#"+
37a).parents("."+f[4]).attr("times")};d.iframeAuto=function(a,b,e){if(a&&(e=document.getElementById(f[4]+a))&&(e=e.contentWindow||e.contentDocument.parentWindow,e.document.body)){a=h("#"+f[0]+a);var c=a.find(f[1]).outerHeight()||0,d=a.find("."+f[6]).outerHeight()||0;e=e.document.body.scrollHeight;c=e+c+d;d=(h(g).height()-c)/2;if(0<d){var l=a.find("iframe");Math.abs(l.height()-e)<(b||9E3)&&(a.animate({height:c,top:d},20),l.animate({height:e},20))}}};d.iframeSrc=function(a,b){h("#"+f[0]+a).find("iframe").attr("src",
38b)};d.iframeWindow=function(a){a=h("#"+f[0]+a).find("iframe");return 0<a.length?a[0].contentWindow:null};d.style=function(a,b,e){a=h("#"+f[0]+a);var c=a.find(".layui-layer-content"),d=a.attr("type"),g=a.find(f[1]).outerHeight()||0,k=a.find("."+f[6]).outerHeight()||0;a.attr("minLeft");d!==l.type[3]&&d!==l.type[4]&&(e||(260>=parseFloat(b.width)&&(b.width=260),64>=parseFloat(b.height)-g-k&&(b.height=64+g+k)),a.css(b),k=a.find("."+f[6]).outerHeight()||0,d===l.type[2]?a.find("iframe").css({height:parseFloat(b.height)-
39g-k}):c.css({height:parseFloat(b.height)-g-k-parseFloat(c.css("padding-top"))-parseFloat(c.css("padding-bottom"))}))};d.min=function(a,b){b=b||{};var e=h("#"+f[0]+a),c=h("#"+f.SHADE+a),g=e.find(f[1]).outerHeight()||0,t=e.attr("minLeft")||181*l.minIndex+"px",k=e.css("position"),n={width:180,height:g,position:"fixed",overflow:"hidden"};l.record(e);l.minLeft[0]&&(t=l.minLeft[0],l.minLeft.shift());b.minStack&&(n.left=t,n.top=m.height()-g,e.attr("minLeft")||l.minIndex++,e.attr("minLeft",t));e.attr("position",
40k);d.style(a,n,!0);e.find(".layui-layer-min").hide();"page"===e.attr("type")&&e.find(f[4]).hide();l.rescollbar(a);c.hide()};d.restore=function(a){var b=h("#"+f[0]+a),e=h("#"+f.SHADE+a),c=b.attr("area").split(",");b.attr("type");d.style(a,{width:parseFloat(c[0]),height:parseFloat(c[1]),top:parseFloat(c[2]),left:parseFloat(c[3]),position:b.attr("position"),overflow:"visible"},!0);b.find(".layui-layer-max").removeClass("layui-layer-maxmin");b.find(".layui-layer-min").show();"page"===b.attr("type")&&
41b.find(f[4]).show();l.rescollbar(a);e.show()};d.full=function(a){var b=h("#"+f[0]+a);l.record(b);f.html.attr("layer-full")||f.html.css("overflow","hidden").attr("layer-full",a);clearTimeout(e);var e=setTimeout(function(){var c="fixed"===b.css("position");d.style(a,{top:c?0:m.scrollTop(),left:c?0:m.scrollLeft(),width:m.width(),height:m.height()},!0);b.find(".layui-layer-min").hide()},100)};d.title=function(a,b){h("#"+f[0]+(b||d.index)).find(f[1]).html(a)};d.close=function(a,b){var e=h("#"+f[0]+a),
42c=e.attr("type");if(e[0]){var g=function(){if(c===l.type[1]&&"object"===e.attr("conType")){e.children(":not(."+f[5]+")").remove();for(var d=e.find(".layui-layer-wrap"),g=0;2>g;g++)d.unwrap();d.css("display",d.data("display")).removeClass("layui-layer-wrap")}else{if(c===l.type[2])try{d=h("#"+f[4]+a)[0],d.contentWindow.document.write(""),d.contentWindow.close(),e.find("."+f[5])[0].removeChild(d)}catch(x){}e[0].innerHTML="";e.remove()}"function"===typeof l.end[a]&&l.end[a]();delete l.end[a];"function"===
43typeof b&&b()};e.data("isOutAnim")&&e.addClass("layer-anim layer-anim-close");h("#layui-layer-moves, #"+f.SHADE+a).remove();6==d.ie&&l.reselect();l.rescollbar(a);e.attr("minLeft")&&(l.minIndex--,l.minLeft.push(e.attr("minLeft")));d.ie&&10>d.ie||!e.data("isOutAnim")?g():setTimeout(function(){g()},200)}};d.closeAll=function(a,b){"function"===typeof a&&(b=a,a=null);var e=h("."+f[0]);h.each(e,function(c){var f=h(this);(a?f.attr("type")===a:1)&&d.close(f.attr("times"),c===e.length-1?b:null)});0===e.length&&
44"function"===typeof b&&b()};var u=d.cache||{},v=function(a){return u.skin?" "+u.skin+" "+u.skin+"-"+a:""};d.prompt=function(a,b){var e="";a=a||{};"function"===typeof a&&(b=a);a.area&&(e=a.area,e='style="width: '+e[0]+"; height: "+e[1]+';"',delete a.area);var c;e=2==a.formType?'<textarea class="layui-layer-input"'+e+"></textarea>":'<input type="'+(1==a.formType?"password":"text")+'" class="layui-layer-input">';var f=a.success;delete a.success;return d.open(h.extend({type:1,btn:[d.i18n.btnOk,d.i18n.btnCancel],
45content:e,skin:"layui-layer-prompt"+v("prompt"),maxWidth:m.width(),success:function(b){c=b.find(".layui-layer-input");c.val(a.value||"").focus();"function"===typeof f&&f(b)},resize:!1,yes:function(e){var f=c.val();""===f?c.focus():f.length>(a.maxlength||500)?d.tips(d.i18n.promptTipA+(a.maxlength||500)+d.i18n.promptTipB,c,{tips:1}):b&&b(f,e,c)}},a))};d.tab=function(a){a=a||{};var b=a.tab||{},e=a.success;delete a.success;return d.open(h.extend({type:1,skin:"layui-layer-tab"+v("tab"),resize:!1,title:function(){var a=
46b.length,e=1,d="";
46if(0<a)for(d='<span class="layui-this">'+b[0].title+"</span>";e<a;e++)d+="<span>"+b[e].title+"</span>";return d}(),content:'<ul class="layui-layer-tabmain">'+function(){var a=b.length,e=1,d="";if(0<a)for(d='<li class="layui-layer-tabli layui-this">'+(b[0].content||"no content")+"</li>";e<a;e++)d+='<li class="layui-layer-tabli">'+(b[e].content||"no  content")+"</li>";return d}()+"</ul>",success:function(b){var c=b.find(".layui-layer-title").children(),d=b.find(".layui-layer-tabmain").children();
47c.on("mousedown",function(b){b.stopPropagation?b.stopPropagation():b.cancelBubble=!0;b=h(this);var c=b.index();b.addClass("layui-this").siblings().removeClass("layui-this");d.eq(c).show().siblings().hide();"function"===typeof a.change&&a.change(c)});"function"===typeof e&&e(b)}},a))};d.photos=function(a,b,e){var c={};a=a||{};if(a.photos){var f=!("string"===typeof a.photos||a.photos instanceof h),l=f?a.photos:{},k=l.data||[],m=l.start||0;c.imgIndex=(m|0)+1;a.img=a.img||"img";var n=a.success;delete a.success;
48if(!f){var q=h(a.photos),r=function(){k=[];q.find(a.img).each(function(a){var b=h(this);b.attr("layer-index",a);k.push({alt:b.attr("alt"),pid:b.attr("layer-pid"),src:b.attr("layer-src")||b.attr("src"),thumb:b.attr("src")})})};r();if(0===k.length)return;b||q.on("click",a.img,function(){r();var b=h(this).attr("layer-index");d.photos(h.extend(a,{photos:{start:b,data:k,tab:a.tab},full:a.full}),!0)});if(!b)return}else if(0===k.length)return d.msg(d.i18n.noPicture);c.imgprev=function(a){c.imgIndex--;1>
49c.imgIndex&&(c.imgIndex=k.length);c.tabimg(a)};c.imgnext=function(a,b){c.imgIndex++;if(c.imgIndex>k.length&&(c.imgIndex=1,b))return;c.tabimg(a)};c.keyup=function(a){if(!c.end){var b=a.keyCode;a.preventDefault();37===b?c.imgprev(!0):39===b?c.imgnext(!0):27===b&&d.close(c.index)}};c.tabimg=function(b){if(!(1>=k.length))return l.start=c.imgIndex-1,d.close(c.index),d.photos(a,!0,b)};c.event=function(){c.bigimg.find(".layui-layer-imgprev").on("click",function(a){a.preventDefault();c.imgprev(!0)});c.bigimg.find(".layui-layer-imgnext").on("click",
50function(a){a.preventDefault();c.imgnext(!0)});h(document).on("keyup",c.keyup)};c.loadi=d.load(1,{shade:"shade"in a?!1:.9,scrollbar:!1});(function(a,b,c){var d=new Image;d.src=a;if(d.complete)return b(d);d.onload=function(){d.onload=null;b(d)};d.onerror=function(a){d.onerror=null;c(a)}})(k[m].src,function(b){d.close(c.loadi);e&&(a.anim=-1);c.index=d.open(h.extend({type:1,id:"layui-layer-photos",area:function(){var c=[b.width,b.height],d=[h(g).width()-100,h(g).height()-100];!a.full&&(c[0]>d[0]||c[1]>
51d[1])&&(d=[c[0]/d[0],c[1]/d[1]],d[0]>d[1]?(c[0]/=d[0],c[1]/=d[0]):d[0]<d[1]&&(c[0]/=d[1],c[1]/=d[1]));return[c[0]+"px",c[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,anim:5,isOutAnim:!1,skin:"layui-layer-photos"+v("photos"),content:'<div class="layui-layer-phimg"><img src="'+k[m].src+'" alt="'+(k[m].alt||"")+'" layer-pid="'+k[m].pid+'">'+(1<k.length?'<div class="layui-layer-imgsee"><span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span><div class="layui-layer-imgbar" style="display:'+
52(e?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(k[m].alt||"")+"</a><em>"+c.imgIndex+" / "+k.length+"</em></span></div></div>":"")+"</div>",success:function(b,d){c.bigimg=b.find(".layui-layer-phimg");c.imgsee=b.find(".layui-layer-imgbar");c.event(b);a.tab&&a.tab(k[m],b);"function"===typeof n&&n(b)},end:function(){c.end=!0;h(document).off("keyup",c.keyup)}},a))},function(){d.close(c.loadi);d.msg(d.i18n.photoError,{time:3E4,btn:[d.i18n.photoNextPage,d.i18n.photoClose],yes:function(){1<
53k.length&&c.imgnext(!0,!0)}})})}};l.run=function(a){h=a;m=h(g);f.html=h("html");d.open=function(a){return(new r(a)).index}};g.layui&&layui.define?(d.ready(),layui.define("jquery",function(a){d.path=layui.cache.dir;l.run(layui.$);g.layer=d;a("layer",d)})):"function"===typeof define&&define.amd?define(["jquery"],function(){l.run(g.jQuery);return d}):(d.ready(),l.run(g.jQuery))}(window);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.