PageSourceSearch

http://517japan.com/dist/js/manifest-81ab42ef.bundle.js

js 517japan.com collected 2026-10-02 15:15:51 UTC 51,025 bytes, 16 lines download raw bytes

1/*! © */
2webpackJsonp([55],{11:function(e,t,i){"use strict";
3/*!
4 * SuperSlide v2.1.1 
5 * 轻松解决网站大部分特效展示问题
6 * 详尽信息请看官网:http://www.SuperSlide2.com/
7 *
8 * Copyright 2011-2013, 大话主席
9 *
10 * 请尊重原创,保留头部版权
11 * 在保留版权的前提下可应用于个人或商业用途
12
13 * v2.1.1:修复当调用多个SuperSlide,并设置returnDefault:true 时返回defaultIndex索引错误
14
15 */var a;(a=jQuery).fn.slide=function(e){return a.fn.slide.defaults={type:"slide",effect:"fade",autoPlay:!1,delayTime:500,interTime:2500,triggerTime:150,defaultIndex:0,titCell:".hd li",mainCell:".bd",targetCell:null,trigger:"mouseover",scroll:1,vis:1,titOnClassName:"on",autoPage:!1,prevCell:".prev",nextCell:".next",pageStateCell:".pageState",opp:!1,pnLoop:!0,easing:"swing",startFun:null,endFun:null,switchLoad:null,playStateCell:".playState",mouseOverStop:!0,defaultPlay:!0,returnDefault:!1},this.each(function(){var t=a.extend({},a.fn.slide.defaults,e),i=a(this),n=t.effect,s=a(t.prevCell,i),o=a(t.nextCell,i),r=a(t.pageStateCell,i),l=a(t.playStateCell,i),c=(Y=a(t.titCell,i)).length,u=a(t.mainCell,i),f=u.children().length,d=t.switchLoad,p=a(t.targetCell,i),h=parseInt(t.defaultIndex),g=parseInt(t.delayTime),m=parseInt(t.interTime);parseInt(t.triggerTime);var y,v=parseInt(t.scroll),x=parseInt(t.vis),b="false"!=t.autoPlay&&0!=t.autoPlay,w="false"!=t.opp&&0!=t.opp,k="false"!=t.autoPage&&0!=t.autoPage,C="false"!=t.pnLoop&&0!=t.pnLoop,T="false"!=t.mouseOverStop&&0!=t.mouseOverStop,I="false"!=t.defaultPlay&&0!=t.defaultPlay,A="false"!=t.returnDefault&&0!=t.returnDefault,L=0,M=0,S=0,j=0,O=t.easing,E=null,z=null,F=null,P=t.titOnClassName,_=Y.index(i.find("."+P)),B=h=-1==_?h:_,D=h,q=h,$=f>=x?0!=f%v?f%v:v:0,H="leftMarquee"==n||"topMarquee"==n,Q=function(){a.isFunction(t.startFun)&&t.startFun(h,c,i,a(t.titCell,i),u,p,s,o)},R=function(){a.isFunction(t.endFun)&&t.endFun(h,c,i,a(t.titCell,i),u,p,s,o)},W=function(){Y.removeClass(P),I&&Y.eq(D).addClass(P)};if("menu"==t.type)return I&&Y.removeClass(P).eq(h).addClass(P),Y.hover(function(){y=a(this).find(t.targetCell);var e=Y.index(a(this));z=setTimeout(function(){switch(h=e,Y.removeClass(P).eq(h).addClass(P),Q(),n){case"fade":y.stop(!0,!0).animate({opacity:"show"},g,O,R);break;case"slideDown":y.stop(!0,!0).animate({height:"show"},g,O,R)}},t.triggerTime)},function(){switch(clearTimeout(z),n){case"fade":y.animate({opacity:"hide"},g,O);break;case"slideDown":y.animate({height:"hide"},g,O)}}),void(A&&i.hover(function(){clearTimeout(F)},function(){F=setTimeout(W,g)}));if(0==c&&(c=f),H&&(c=2),k){if(f>=x)if("leftLoop"==n||"topLoop"==n)c=0!=f%v?1+(0^f/v):f/v;else{var U=f-x;0>=(c=1+parseInt(0!=U%v?U/v+1:U/v))&&(c=1)}else c=1;Y.html("");var N="";if(1==t.autoPage||"true"==t.autoPage)for(var X=0;c>X;X++)N+="<li>"+(X+1)+"</li>";else for(X=0;c>X;X++)N+=t.autoPage.replace("$",X+1);Y.html(N);var Y=Y.children()}if(f>=x){u.children().each(function(){a(this).width()>S&&(S=a(this).width(),M=a(this).outerWidth(!0)),a(this).height()>j&&(j=a(this).height(),L=a(this).outerHeight(!0))});var J=u.children(),V=function(){for(var e=0;x>e;e++)J.eq(e).clone().addClass("clone").appendTo(u);for(e=0;$>e;e++)J.eq(f-e-1).clone().addClass("clone").prependTo(u)};switch(n){case"fold":u.css({position:"relative",width:M,height:L}).children().css({position:"absolute",width:S,left:0,top:0,display:"none"});break;case"top":u.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:'+x*L+'px"></div>').css({top:-h*v*L,position:"relative",padding:"0",margin:"0"}).children().css({height:j});break;case"left":u.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:'+x*M+'px"></div>').css({width:f*M,left:-h*v*M,position:"relative",overflow:"hidden",padding:"0",margin:"0"}).children().css({float:"left",width:S});break;case"leftLoop":case"leftMarquee":V(),u.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:'+x*M+'px"></div>').css({width:(f+x+$)*M,position:"relative",overflow:"hidden",padding:"0",margin:"0",left:-($+h*v)*M}).children().css({float:"left",width:S});break;case"topLoop":case"topMarquee":V(),u.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:'+x*L+'px"></div>').css({height:(f+x+$)*L,position:"relative",padding:"0",margin:"0",top:-($+h*v)*L}).children().css({height:j})}}var G=function(e){var t=e*v;return e==c?t=f:-1==e&&0!=f%v&&(t=-f%v),t},Z=function(e){var t=function(t){for(var i=t;x+t>i;i++)e.eq(i).find("img["+d+"]").each(function(){var e=a(this);if(e.attr("src",e.attr(d)).removeAttr(d),u.find(".clone")[0])for(var t=u.children(),i=0;i<t.length;i++)t.eq(i).find("img["+d+"]").each(function(){a(this).attr(d)==e.attr("src")&&a(this).attr("src",a(this).attr(d)).removeAttr(d)})})};switch(n){case"fade":case"fold":case"top":case"left":case"slideDown":t(h*v);break;case"leftLoop":case"topLoop":t($+G(q));break;case"leftMarquee":case"topMarquee":var i="leftMarquee"==n?u.css("left").replace("px",""):u.css("top").replace("px",""),s="leftMarquee"==n?M:L,o=$;if(0!=i%s){var r=Math.abs(0^i/s);o=1==h?$+r:$+r-1}t(o)}},K=function(e){if(!I||B!=h||e||H){if(H?h>=1?h=1:0>=h&&(h=0):(q=h,h>=c?h=0:0>h&&(h=c-1)),Q(),null!=d&&Z(u.children()),p[0]&&(y=p.eq(h),null!=d&&Z(p),"slideDown"==n?(p.not(y).stop(!0,!0).slideUp(g),y.slideDown(g,O,function(){u[0]||R()})):(p.not(y).stop(!0,!0).hide(),y.animate({opacity:"show"},g,function(){u[0]||R()}))),f>=x)switch(n){case"fade":u.children().stop(!0,!0).eq(h).animate({opacity:"show"},g,O,function(){R()}).siblings().hide();break;case"fold":u.children().stop(!0,!0).eq(h).animate({opacity:"show"},g,O,function(){R()}).siblings().animate({opacity:"hide"},g,O);break;
vendor: 4,191 bytes, line 15
15case"top":u.stop(!0,!1).animate({top:-h*v*L},g,O,function(){R()});break;case"left":u.stop(!0,!1).animate({left:-h*v*M},g,O,function(){R()});break;case"leftLoop":var t=q;u.stop(!0,!0).animate({left:-(G(q)+$)*M},g,O,function(){-1>=t?u.css("left",-($+(c-1)*v)*M):t>=c&&u.css("left",-$*M),R()});break;case"topLoop":t=q,u.stop(!0,!0).animate({top:-(G(q)+$)*L},g,O,function(){-1>=t?u.css("top",-($+(c-1)*v)*L):t>=c&&u.css("top",-$*L),R()});break;case"leftMarquee":var i=u.css("left").replace("px","");0==h?u.animate({left:++i},0,function(){u.css("left").replace("px","")>=0&&u.css("left",-f*M)}):u.animate({left:--i},0,function(){u.css("left").replace("px","")<=-(f+$)*M&&u.css("left",-$*M)});break;case"topMarquee":var a=u.css("top").replace("px","");0==h?u.animate({top:++a},0,function(){u.css("top").replace("px","")>=0&&u.css("top",-f*L)}):u.animate({top:--a},0,function(){u.css("top").replace("px","")<=-(f+$)*L&&u.css("top",-$*L)})}Y.removeClass(P).eq(h).addClass(P),B=h,C||(o.removeClass("nextStop"),s.removeClass("prevStop"),0==h&&s.addClass("prevStop"),h==c-1&&o.addClass("nextStop")),r.html("<span>"+(h+1)+"</span>/"+c)}};I&&K(!0),A&&i.hover(function(){clearTimeout(F)},function(){F=setTimeout(function(){h=D,I?K():"slideDown"==n?y.slideUp(g,W):y.animate({opacity:"hide"},g,W),B=h},300)});var ee=function(e){E=setInterval(function(){w?h--:h++,K()},e||m)},te=function(e){E=setInterval(K,e||m)},ie=function(){T||(clearInterval(E),ee())},ae=function(){(C||h!=c-1)&&(h++,K(),H||ie())},ne=function(){(C||0!=h)&&(h--,K(),H||ie())},se=function(){clearInterval(E),H?te():ee(),l.removeClass("pauseState")},oe=function(){clearInterval(E),l.addClass("pauseState")};if(b?H?(w?h--:h++,te(),T&&u.hover(oe,se)):(ee(),T&&i.hover(oe,se)):(H&&(w?h--:h++),l.addClass("pauseState")),l.click(function(){l.hasClass("pauseState")?se():oe()}),"mouseover"==t.trigger?Y.hover(function(){var e=Y.index(this);z=setTimeout(function(){h=e,K(),ie()},t.triggerTime)},function(){clearTimeout(z)}):Y.click(function(){h=Y.index(this),K(),ie()}),H){if(o.mousedown(ae),s.mousedown(ne),C){var re,le=function(){re=setTimeout(function(){clearInterval(E),te(0^m/10)},150)},ce=function(){clearTimeout(re),clearInterval(E),te()};o.mousedown(le),o.mouseup(ce),s.mousedown(le),s.mouseup(ce)}"mouseover"==t.trigger&&(o.hover(ae,function(){}),s.hover(ne,function(){}))}else o.click(ae),s.click(ne)})},jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,a,n){return jQuery.easing[jQuery.easing.def](e,t,i,a,n)},easeInQuad:function(e,t,i,a,n){return a*(t/=n)*t+i},easeOutQuad:function(e,t,i,a,n){return-a*(t/=n)*(t-2)+i},easeInOutQuad:function(e,t,i,a,n){return(t/=n/2)<1?a/2*t*t+i:-a/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,a,n){return a*(t/=n)*t*t+i},easeOutCubic:function(e,t,i,a,n){return a*((t=t/n-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,a,n){return(t/=n/2)<1?a/2*t*t*t+i:a/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,a,n){return a*(t/=n)*t*t*t+i},easeOutQuart:function(e,t,i,a,n){return-a*((t=t/n-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,a,n){return(t/=n/2)<1?a/2*t*t*t*t+i:-a/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,a,n){return a*(t/=n)*t*t*t*t+i},easeOutQuint:function(e,t,i,a,n){return a*((t=t/n-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,a,n){return(t/=n/2)<1?a/2*t*t*t*t*t+i:a/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,a,n){return-a*Math.cos(t/n*(Math.PI/2))+a+i},easeOutSine:function(e,t,i,a,n){return a*Math.sin(t/n*(Math.PI/2))+i},easeInOutSine:function(e,t,i,a,n){return-a/2*(Math.cos(Math.PI*t/n)-1)+i},easeInExpo:function(e,t,i,a,n){return 0==t?i:a*Math.pow(2,10*(t/n-1))+i},easeOutExpo:function(e,t,i,a,n){return t==n?i+a:a*(1-Math.pow(2,-10*t/n))+i},easeInOutExpo:function(e,t,i,a,n){return 0==t?i:t==n?i+a:(t/=n/2)<1?a/2*Math.pow(2,10*(t-1))+i:a/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,a,n){return-a*(Math.sqrt(1-(t/=n)*t)-1)+i},easeOutCirc:function(e,t,i,a,n){return a*Math.sqrt(1-(t=t/n-1)*t)+i},easeInOutCirc:function(e,t,i,a,n){return(t/=n/2)<1?-a/2*(Math.sqrt(1-t*t)-1)+i:a/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,a,n){var s=1.70158,o=0,r=a;if(0==t)return i;if(1==(t/=n))return i+a;
15if(o||(o=.3*n),r<Math.abs(a)){r=a;s=o/4}else s=o/(2*Math.PI)*Math.asin(a/r);return-r*Math.pow(2,10*(t-=1))*Math.sin(2*(t*n-s)*Math.PI/o)+i},easeOutElastic:function(e,t,i,a,n){var s=1.70158,o=0,r=a;if(0==t)return i;if(1==(t/=n))return i+a;if(o||(o=.3*n),r<Math.abs(a)){r=a;s=o/4}else s=o/(2*Math.PI)*Math.asin(a/r);return r*Math.pow(2,-10*t)*Math.sin(2*(t*n-s)*Math.PI/o)+a+i},easeInOutElastic:function(e,t,i,a,n){var s=1.70158,o=0,r=a;if(0==t)return i;if(2==(t/=n/2))return i+a;if(o||(o=.3*n*1.5),r<Math.abs(a)){r=a;s=o/4}else s=o/(2*Math.PI)*Math.asin(a/r);return 1>t?-.5*r*Math.pow(2,10*(t-=1))*Math.sin(2*(t*n-s)*Math.PI/o)+i:.5*r*Math.pow(2,-10*(t-=1))*Math.sin(2*(t*n-s)*Math.PI/o)+a+i},easeInBack:function(e,t,i,a,n,s){return void 0==s&&(s=1.70158),a*(t/=n)*t*((s+1)*t-s)+i},easeOutBack:function(e,t,i,a,n,s){return void 0==s&&(s=1.70158),a*((t=t/n-1)*t*((s+1)*t+s)+1)+i},easeInOutBack:function(e,t,i,a,n,s){return void 0==s&&(s=1.70158),(t/=n/2)<1?a/2*t*t*((1+(s*=1.525))*t-s)+i:a/2*((t-=2)*t*((1+(s*=1.525))*t+s)+2)+i},easeInBounce:function(e,t,i,a,n){return a-jQuery.easing.easeOutBounce(e,n-t,0,a,n)+i},easeOutBounce:function(e,t,i,a,n){return(t/=n)<1/2.75?7.5625*a*t*t+i:2/2.75>t?a*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?a*(7.5625*(t-=2.25/2.75)*t+.9375)+i:a*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,a,n){return n/2>t?.5*jQuery.easing.easeInBounce(e,2*t,0,a,n)+i:.5*jQuery.easing.easeOutBounce(e,2*t-n,0,a,n)+.5*a+i}})},140:function(e,t){},16:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changeUserTx=t.usrNav=t.formatDate=t.countDown=t.getCookie=t.getStore=t.setStore=void 0;var a,n=i(69),s=(a=n)&&a.__esModule?a:{default:a};t.setStore=function(e,t){e&&("string"!=typeof t&&(t=(0,s.default)(t)),localStorage.setItem(e,t))},t.getStore=function(e){if(e)return localStorage.getItem(e)},t.getCookie=function(e){var t="",i=e+"=";if(document.cookie.length>0){var a=document.cookie.indexOf(i);if(-1!==a){a+=i.length;var n=document.cookie.indexOf(";",a);-1===n&&(n=document.cookie.length),t=unescape(document.cookie.substring(a,n))}}return t},t.countDown=function(e,t){var i=t.start||60,a=t.callBack||null,n=t.hasMiao||0,s=null;n=0===n?"秒":"",s=setInterval(function(){1===i?(clearInterval(s),a&&a()):(i--,e.innerHTML=i+n)},1e3)},t.formatDate=function(e,t){var i={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var a in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),i){var n=i[a];new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n:("00"+n).substr((""+n).length)))}return t},t.usrNav=function(){var e=window.location.href;if([["user/taskindex","user/taskIndex","user/taskDetail"],["user/myTask"],["user/index","user/publish","user/pub"],["user/profile"],["user/safe","user/changepwd"],["user/collection"],["user/specialAuthor"],["user/column"],["user/shopshow"]].forEach(function(t,i){t.forEach(function(t){if(e.indexOf(t)>0){var a=$(".user_left .nav_a").eq(i);return a.addClass("active"),void(a.parents("ul").siblings("a").hasClass("nav_parent")&&a.parents("ul").siblings("a").addClass("active"))}})}),window.sessionStorage){var t=JSON.parse(sessionStorage.getItem("userCurTop"));t&&window.scrollTo(0,t)}$(".nav_a").on("click",function(e){e.preventDefault(),window.sessionStorage&&sessionStorage.setItem("userCurTop",$(window).scrollTop()),window.location.href=$(this).attr("href")}),o()};var o=t.changeUserTx=function(){i.e(1).then(function(e){i(102),i(103);var t,a=window.console||{log:function(){}},n=window.URL||window.webkitURL,o=$("#imageUser"),r={aspectRatio:1,autoCropArea:1,viewMode:1,minCropBoxWidth:312},l=o.attr("src");$.isFunction(document.createElement("canvas").getContext)||$('button[data-method="getCroppedCanvas"]').prop("disabled",!0),$(".userLayer").on("click","[data-method]",function(){var e,i,r=$(this),c=r.data();if(!r.prop("disabled")&&!r.hasClass("disabled")&&o.data("cropper")&&c.method){if(void 0!==(c=$.extend({},c)).target&&(e=$(c.target),void 0===c.option))try{c.option=JSON.parse(e.val())}catch(e){a.log(e.message)}switch("rotate"===c.method&&o.cropper("clear"),i=o.cropper(c.method,c.option,c.secondOption),"rotate"===c.method&&o.cropper("crop"),c.method){case"scaleX":case"scaleY":$(this).data("option",-c.option);break;case"getCroppedCanvas":if(i){var u=i.toDataURL("image/jpeg");$.ajax({url:$(".changeAction").attr("data"),type:"POST",data:{imgBase:u},dataType:"json",success:function(e){"0"==e.code?(layer.closeAll(),layer.msg(e.msg),$("#userImg,#imageUser").attr("src",e.data)):layer.msg(e.msg)},error:function(){layer.msg("请求失败,请重新上传!")}})}break;
15case"destroy":t&&(n.revokeObjectURL(t),t="",o.attr("src",l))}if($.isPlainObject(i)&&e)try{e.val((0,s.default)(i))}catch(e){a.log(e.message)}}}),$(".changeAction").on("click",function(){o.on({ready:function(e){}}).cropper(r);var e=$("#resetImage");n?e.change(function(){var i,a=this.files;o.data("cropper")&&a&&a.length&&(i=a[0],/^image\/\w+$/.test(i.type)?(t&&n.revokeObjectURL(t),t=n.createObjectURL(i),o.cropper("destroy").attr("src",t).cropper(r),e.val("")):window.alert("请选择一张图片上传."))}):e.prop("disabled",!0).parent().addClass("disabled"),layer.open({type:1,title:!1,closeBtn:0,shadeClose:!1,shade:.7,area:["500px","416px"],skin:"cover_layer",content:$(".userLayer")})}),$("body").on("click",".close_cover",function(){layer.closeAll(),$(".userLayer").hide()})}.bind(null,i)).catch(i.oe)}},18:function(e,t){},2:function(e,t){},38:function(e,t){},4:function(e,t){},5:function(e,t,i){"use strict";var a,n,s,o=i(77),r=(s=o)&&s.__esModule?s:{default:s};!function(s,o){var l,c,u=s.layui&&layui.define,f={getPath:function(){var e=document.scripts,t=e[e.length-1],i=t.src;if(!t.getAttribute("merge"))return i.substring(0,i.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:["&#x786E;&#x5B9A;","&#x53D6;&#x6D88;"],type:["dialog","page","iframe","loading","tips"],getStyle:function(e,t){var i=e.currentStyle?e.currentStyle:s.getComputedStyle(e,null);return i[i.getPropertyValue?"getPropertyValue":"getAttribute"](t)},link:function(e,t,i){if(d.path){var a=document.getElementsByTagName("head")[0],n=document.createElement("link");"string"==typeof t&&(i=t);var o="layuicss-"+(i||e).replace(/\.|\//g,""),r=0;n.rel="stylesheet",n.href=d.path+e,n.id=o,document.getElementById(o)||a.appendChild(n),"function"==typeof t&&function e(){return++r>80?s.console&&console.error("layer.css: Invalid"):void(1989===parseInt(f.getStyle(document.getElementById(o),"width"))?t():setTimeout(e,100))}()}}},d={v:"3.1.0",ie:function(){var e=navigator.userAgent.toLowerCase();return!!(s.ActiveXObject||"ActiveXObject"in s)&&((e.match(/msie\s(\d+)/)||[])[1]||"11")}(),index:s.layer&&s.layer.v?1e5:0,path:f.getPath,config:function(e,t){return e=e||{},d.cache=f.config=l.extend({},f.config,e),d.path=f.config.path||d.path,"string"==typeof e.extend&&(e.extend=[e.extend]),f.config.path&&d.ready(),e.extend?(u?layui.addcss("modules/layer/"+e.extend):f.link("theme/"+e.extend),this):this},ready:function(e){var t="layer",i=(u?"modules/layer/":"theme/")+"default/layer.css?v="+d.v;return u?layui.addcss(i,e,t):f.link(i,e,t),this},alert:function(e,t,i){var a="function"==typeof t;return a&&(i=t),d.open(l.extend({content:e,yes:i},a?{}:t))},confirm:function(e,t,i,a){var n="function"==typeof t;return n&&(a=i,i=t),d.open(l.extend({content:e,btn:f.btn,yes:i,btn2:a},n?{}:t))},msg:function(e,t,i){var a="function"==typeof t,n=f.config.skin,s=(n?n+" "+n+"-msg":"")||"layui-layer-msg",o=h.anim.length-1;return a&&(i=t),d.open(l.extend({content:e,time:3e3,shade:!1,skin:s,title:!1,closeBtn:!1,btn:!1,resize:!1,end:i},a&&!f.config.skin?{skin:s+" layui-layer-hui",anim:o}:((-1===(t=t||{}).icon||void 0===t.icon&&!f.config.skin)&&(t.skin=s+" "+(t.skin||"layui-layer-hui")),t)))},load:function(e,t){return d.open(l.extend({type:3,icon:e||0,resize:!1,shade:.01},t))},tips:function(e,t,i){return d.open(l.extend({type:4,content:[e,t],closeBtn:!1,time:3e3,shade:!1,resize:!1,fixed:!1,maxWidth:210},i))}},p=function(e){var t=this;t.index=++d.index,t.config=l.extend({},t.config,f.config,e),document.body?t.creat():setTimeout(function(){t.creat()},30)};p.pt=p.prototype;var h=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];h.anim=["layer-anim-00","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"],p.pt.config={type:0,shade:.3,fixed:!0,move:h[1],title:"&#x4FE1;&#x606F;",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:!0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2},p.pt.vessel=function(e,t){var i=this,a=i.index,n=i.config,s=n.zIndex+a,o="object"==(0,r.default)(n.title),c=n.maxmin&&(1===n.type||2===n.type),u=n.title?'<div class="layui-layer-title" style="'+(o?n.title[1]:"")+'">'+(o?n.title[0]:n.title)+"</div>":"";return n.zIndex=s,t([n.shade?'<div class="layui-layer-shade" id="layui-layer-shade'+a+'" times="'+a+'" style="z-index:'+(s-1)+'; "></div>':"",'<div class="'+h[0]+" layui-layer-"+f.type[n.type]+(0!=n.type&&2!=n.type||n.shade?"":" layui-layer-border")+" "+(n.skin||"")+'" id="'+h[0]+a+'" type="'+f.type[n.type]+'" times="'+a+'" showtime="'+n.time+'" conType="'+(e?"object":"string")+'" style="z-index: '+s+"; width:"+n.area[0]+";height:"+n.area[1]+(n.fixed?"":";position:absolute;")+'">'+(e&&2!=n.type?"":u)+'<div id="'+(n.id||"")+'" class="layui-layer-content'+(0==n.type&&-1!==n.icon?" layui-layer-padding":"")+(3==n.type?" layui-layer-loading"+n.icon:"")+'">'+(0==n.type&&-1!==n.icon?'<i class="layui-layer-ico layui-layer-ico'+n.icon+'"></i>':"")+(1==n.type&&e?"":n.content||"")+'</div>
15<span class="layui-layer-setwin">'+function(){var e=c?'<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>':"";return n.closeBtn&&(e+='<a class="layui-layer-ico '+h[7]+" "+h[7]+(n.title?n.closeBtn:4==n.type?"1":"2")+'" href="javascript:;"></a>'),e}()+"</span>"+(n.btn?function(){var e="";"string"==typeof n.btn&&(n.btn=[n.btn]);for(var t=0,i=n.btn.length;t<i;t++)e+='<a class="'+h[6]+t+'">'+n.btn[t]+"</a>";return'<div class="'+h[6]+" layui-layer-btn-"+(n.btnAlign||"")+'">'+e+"</div>"}():"")+(n.resize?'<span class="layui-layer-resize"></span>':"")+"</div>"],u,l('<div class="layui-layer-move"></div>')),i},p.pt.creat=function(){var e=this,t=e.config,i=e.index,a="object"==(void 0===(s=t.content)?"undefined":(0,r.default)(s)),n=l("body");if(!t.id||!l("#"+t.id)[0]){switch("string"==typeof t.area&&(t.area="auto"===t.area?["",""]:[t.area,""]),t.shift&&(t.anim=t.shift),6==d.ie&&(t.fixed=!1),t.type){case 0:t.btn="btn"in t?t.btn:f.btn[0],d.closeAll("dialog");break;case 2:var s=t.content=a?t.content:[t.content||"http://layer.layui.com","auto"];t.content='<iframe scrolling="'+(t.content[1]||"auto")+'" allowtransparency="true" id="'+h[4]+i+'" name="'+h[4]+i+'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="'+t.content[0]+'"></iframe>';break;case 3:delete t.title,delete t.closeBtn,-1===t.icon&&t.icon,d.closeAll("loading");break;case 4:a||(t.content=[t.content,"body"]),t.follow=t.content[1],t.content=t.content[0]+'<i class="layui-layer-TipsG"></i>',delete t.title,t.tips="object"==(0,r.default)(t.tips)?t.tips:[t.tips,!0],t.tipsMore||d.closeAll("tips")}if(e.vessel(a,function(o,r,c){n.append(o[0]),a?2==t.type||4==t.type?l("body").append(o[1]):s.parents("."+h[0])[0]||(s.data("display",s.css("display")).show().addClass("layui-layer-wrap").wrap(o[1]),l("#"+h[0]+i).find("."+h[5]).before(r)):n.append(o[1]),l(".layui-layer-move")[0]||n.append(f.moveElem=c),e.layero=l("#"+h[0]+i),t.scrollbar||h.html.css("overflow","hidden").attr("layer-full",i)}).auto(i),l("#layui-layer-shade"+e.index).css({"background-color":t.shade[1]||"#000",opacity:t.shade[0]||t.shade}),2==t.type&&6==d.ie&&e.layero.find("iframe").attr("src",s[0]),4==t.type?e.tips():e.offset(),t.fixed&&c.on("resize",function(){e.offset(),(/^\d+%$/.test(t.area[0])||/^\d+%$/.test(t.area[1]))&&e.auto(i),4==t.type&&e.tips()}),t.time<=0||setTimeout(function(){d.close(e.index)},t.time),e.move().callback(),h.anim[t.anim]){var o="layer-anim "+h.anim[t.anim];e.layero.addClass(o).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){l(this).removeClass(o)})}t.isOutAnim&&e.layero.data("isOutAnim",!0)}},p.pt.auto=function(e){var t=this.config,i=l("#"+h[0]+e);""===t.area[0]&&t.maxWidth>0&&(d.ie&&d.ie<8&&t.btn&&i.width(i.innerWidth()),i.outerWidth()>t.maxWidth&&i.width(t.maxWidth));var a=[i.innerWidth(),i.innerHeight()],n=i.find(h[1]).outerHeight()||0,s=i.find("."+h[6]).outerHeight()||0,o=function(e){(e=i.find(e)).height(a[1]-n-s-2*(0|parseFloat(e.css("padding-top"))))};switch(t.type){case 2:o("iframe");break;default:""===t.area[1]?t.maxHeight>0&&i.outerHeight()>t.maxHeight?(a[1]=t.maxHeight,o("."+h[5])):t.fixed&&a[1]>=c.height()&&(a[1]=c.height(),o("."+h[5])):o("."+h[5])}return this},p.pt.offset=function(){var e=this,t=e.config,i=e.layero,a=[i.outerWidth(),i.outerHeight()],n="object"==(0,r.default)(t.offset);e.offsetTop=(c.height()-a[1])/2,e.offsetLeft=(c.width()-a[0])/2,n?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=c.width()-a[0]:"b"===t.offset?e.offsetTop=c.height()-a[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=c.height()-a[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=c.width()-a[0]):"rb"===t.offset?(e.offsetTop=c.height()-a[1],e.offsetLeft=c.width()-a[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?c.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?c.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=c.scrollTop(),e.offsetLeft+=c.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=c.height()-(i.find(h[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},p.pt.tips=function(){var e=this.config,t=this.layero,i=[t.outerWidth(),t.outerHeight()],a=l(e.follow);a[0]||(a=l("body"));var n={width:a.outerWidth(),height:a.outerHeight(),top:a.offset().top,left
vendor: 9,619 bytes, line 15
15:a.offset().left},s=t.find(".layui-layer-TipsG"),o=e.tips[0];e.tips[1]||s.remove(),n.autoLeft=function(){n.left+i[0]-c.width()>0?(n.tipLeft=n.left+n.width-i[0],s.css({right:12,left:"auto"})):n.tipLeft=n.left},n.where=[function(){n.autoLeft(),n.tipTop=n.top-i[1]-10,s.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",e.tips[1])},function(){n.tipLeft=n.left+n.width+10,n.tipTop=n.top,s.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",e.tips[1])},function(){n.autoLeft(),n.tipTop=n.top+n.height+10,s.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",e.tips[1])},function(){n.tipLeft=n.left-i[0]-10,n.tipTop=n.top,s.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",e.tips[1])}],n.where[o-1](),1===o?n.top-(c.scrollTop()+i[1]+16)<0&&n.where[2]():2===o?c.width()-(n.left+n.width+i[0]+16)>0||n.where[3]():3===o?n.top-c.scrollTop()+n.height+i[1]+16-c.height()>0&&n.where[0]():4===o&&i[0]+16-n.left>0&&n.where[1](),t.find("."+h[5]).css({"background-color":e.tips[1],"padding-right":e.closeBtn?"30px":""}),t.css({left:n.tipLeft-(e.fixed?c.scrollLeft():0),top:n.tipTop-(e.fixed?c.scrollTop():0)})},p.pt.move=function(){var e=this,t=e.config,i=l(document),a=e.layero,n=a.find(t.move),s=a.find(".layui-layer-resize"),o={};return t.move&&n.css("cursor","move"),n.on("mousedown",function(e){e.preventDefault(),t.move&&(o.moveStart=!0,o.offset=[e.clientX-parseFloat(a.css("left")),e.clientY-parseFloat(a.css("top"))],f.moveElem.css("cursor","move").show())}),s.on("mousedown",function(e){e.preventDefault(),o.resizeStart=!0,o.offset=[e.clientX,e.clientY],o.area=[a.outerWidth(),a.outerHeight()],f.moveElem.css("cursor","se-resize").show()}),i.on("mousemove",function(i){if(o.moveStart){var n=i.clientX-o.offset[0],s=i.clientY-o.offset[1],r="fixed"===a.css("position");if(i.preventDefault(),o.stX=r?0:c.scrollLeft(),o.stY=r?0:c.scrollTop(),!t.moveOut){var l=c.width()-a.outerWidth()+o.stX,u=c.height()-a.outerHeight()+o.stY;n<o.stX&&(n=o.stX),n>l&&(n=l),s<o.stY&&(s=o.stY),s>u&&(s=u)}a.css({left:n,top:s})}if(t.resize&&o.resizeStart){n=i.clientX-o.offset[0],s=i.clientY-o.offset[1];i.preventDefault(),d.style(e.index,{width:o.area[0]+n,height:o.area[1]+s}),o.isResize=!0,t.resizing&&t.resizing(a)}}).on("mouseup",function(e){o.moveStart&&(delete o.moveStart,f.moveElem.hide(),t.moveEnd&&t.moveEnd(a)),o.resizeStart&&(delete o.resizeStart,f.moveElem.hide())}),e},p.pt.callback=function(){var e=this,t=e.layero,i=e.config;e.openLayer(),i.success&&(2==i.type?t.find("iframe").on("load",function(){i.success(t,e.index)}):i.success(t,e.index)),6==d.ie&&e.IE6(t),t.find("."+h[6]).children("a").on("click",function(){var a=l(this).index();0===a?i.yes?i.yes(e.index,t):i.btn1?i.btn1(e.index,t):d.close(e.index):!1===(i["btn"+(a+1)]&&i["btn"+(a+1)](e.index,t))||d.close(e.index)}),t.find("."+h[7]).on("click",function(){!1===(i.cancel&&i.cancel(e.index,t))||d.close(e.index)}),i.shadeClose&&l("#layui-layer-shade"+e.index).on("click",function(){d.close(e.index)}),t.find(".layui-layer-min").on("click",function(){!1===(i.min&&i.min(t))||d.min(e.index,i)}),t.find(".layui-layer-max").on("click",function(){l(this).hasClass("layui-layer-maxmin")?(d.restore(e.index),i.restore&&i.restore(t)):(d.full(e.index,i),setTimeout(function(){i.full&&i.full(t)},100))}),i.end&&(f.end[e.index]=i.end)},f.reselect=function(){l.each(l("select"),function(e,t){var i=l(this);i.parents("."+h[0])[0]||1==i.attr("layer")&&l("."+h[0]).length<1&&i.removeAttr("layer").show(),i=null})},p.pt.IE6=function(e){l("select").each(function(e,t){var i=l(this);i.parents("."+h[0])[0]||"none"===i.css("display")||i.attr({layer:"1"}).hide(),i=null})},p.pt.openLayer=function(){d.zIndex=this.config.zIndex,d.setTop=function(e){return d.zIndex=parseInt(e[0].style.zIndex),e.on("mousedown",function(){d.zIndex++,e.css("z-index",d.zIndex+1)}),d.zIndex}},f.record=function(e){var t=[e.width(),e.height(),e.position().top,e.position().left+parseFloat(e.css("margin-left"))];e.find(".layui-layer-max").addClass("layui-layer-maxmin"),e.attr({area:t})},f.rescollbar=function(e){h.html.attr("layer-full")==e&&(h.html[0].style.removeProperty?h.html[0].style.removeProperty("overflow"):h.html[0].style.removeAttribute("overflow"),h.html.removeAttr("layer-full"))},s.layer=d,d.getChildFrame=function(e,t){return t=t||l("."+h[4]).attr("times"),l("#"+h[0]+t).find("iframe").contents().find(e)},d.getFrameIndex=function(e){return l("#"+e).parents("."+h[4]).attr("times")},d.iframeAuto=function(e){if(e){var t=d.getChildFrame("html",e).outerHeight(),i=l("#"+h[0]+e),a=i.find(h[1]).outerHeight()||0,n=i.find("."+h[6]).outerHeight()||0;i.css({height:t+a+n}),i.find("iframe").css({height:t})}},d.iframeSrc=function(e,t){l("#"+h[0]+e).find("iframe").attr("src",t)},d.style=function(e,t,i){var a=l("#"+h[0]+e),n=a.find(".layui-layer-content"),s=a.attr("type"),o=a.find(h[1]).outerHeight()||0,r=a.find("."+h[6]).outerHeight()||0;a.attr("minLeft"),s!==f.type[3]&&s!==f.type[4]&&(i||(parseFloat(t.width)<=260&&(t.width=260),parseFloat(t.height)-o-r<=64&&(t.height=64+o+r)),a.css(t),r=a.find("."+h[6]).outerHeight(),s===f.type[2]?a.find("iframe").css({height:parseFloat(t.height)-o-r}):n.css({height:parseFloat(t.height)-o-r-parseFloat(n.css("padding-top"))-parseFloat(n.css("padding-bottom"))}))},d.min=function(e,t){var i=l("#"+h[0]+e),a=i.find(h[1]).outerHeight()||0,n=i.attr("minLeft")||181*f.minIndex+"px",s=i.css("position");f.record(i),f.minLeft[0]&&(n=f.minLeft[0],f.minLeft.shift()),i.attr("position",s),d.style(e,{width:180,height:a,left:n,top:c.height()-a,position:"fixed",overflow:"hidden"},!0),i.find(".layui-layer-min").hide(),"page"===i.attr("type")&&i.find(h[4]).hide(),f.rescollbar(e),i.attr("minLeft")||f.minIndex++,i.attr("minLeft",n)},d.restore=function(e){var t=l("#"+h[0]+e),i=t.attr("area").split(",");t.attr("type"),d.style(e,{width:parseFloat(i[0]),height:parseFloat(i[1]),top:parseFloat(i[2]),left:parseFloat(i[3]),position:t.attr("position"),overflow:"visible"},!0),t.find(".layui-layer-max").removeClass("layui-layer-maxmin"),t.find(".layui-layer-min").show(),"page"===t.attr("type")&&t.find(h[4]).show(),f.rescollbar(e)},d.full=function(e){var t,i=l("#"+h[0]+e);f.record(i),h.html.attr("layer-full")||h.html.css("overflow","hidden").attr("layer-full",e),clearTimeout(t),t=setTimeout(function(){var t="fixed"===i.css("position");d.style(e,{top:t?0:c.scrollTop(),left:t?0:c.scrollLeft(),width:c.width(),height:c.height()},!0),i.find(".layui-layer-min").hide()},100)},d.title=function(e,t){l("#"+h[0]+(t||d.index)).find(h[1]).html(e)},d.close=function(e){var t=l("#"+h[0]+e),i=t.attr("type");if(t[0]){var a="layui-layer-wrap",n=function(){if(i===f.type[1]&&"object"===t.attr("conType")){t.children(":not(."+h[5]+")").remove();for(var n=t.find("."+a),s=0;s<2;s++)n.unwrap();n.css("display",n.data("display")).removeClass(a)}else{if(i===f.type[2])try{var o=l("#"+h[4]+e)[0];o.contentWindow.document.write(""),o.contentWindow.close(),t.find("."+h[5])[0].removeChild(o)}catch(e){}t[0].innerHTML="",t.remove()}"function"==typeof f.end[e]&&f.end[e](),delete f.end[e]};t.data("isOutAnim")&&t.addClass("layer-anim layer-anim-close"),l("#layui-layer-moves, #layui-layer-shade"+e).remove(),6==d.ie&&f.reselect(),f.rescollbar(e),t.attr("minLeft")&&(f.minIndex--,f.minLeft.push(t.attr("minLeft"))),d.ie&&d.ie<10||!t.data("isOutAnim")?n():setTimeout(function(){n()},200)}},d.closeAll=function(e){l.each(l("."+h[0]),function(){var t=l(this),i=e?t.attr("type")===e:1;i&&d.close(t.attr("times")),i=null})};var g=d.cache||{},m=function(e){return g.skin?" "+g.skin+" "+g.skin+"-"+e:""};d.prompt=function(e,t){var i="";if("function"==typeof(e=e||{})&&(t=e),e.area){var a=e.area;i='style="width: '+a[0]+"; height: "+a[1]+';"',delete e.area}var n,s=2==e.formType?'<textarea class="layui-layer-input"'+i+">"+(e.value||"")+"</textarea>":'<input type="'+(1==e.formType?"password":"text")+'" class="layui-layer-input" value="'+(e.value||"")+'">',o=e.success;return delete e.success,d.open(l.extend({type:1,btn:["&#x786E;&#x5B9A;","&#x53D6;&#x6D88;"],content:s,skin:"layui-layer-prompt"+m("prompt"),maxWidth:c.width(),success:function(e){(n=e.find(".layui-layer-input")).focus(),"function"==typeof o&&o(e)},resize:!1,yes:function(i){var a=n.val();""===a?n.focus():a.length>(e.maxlength||500)?d.tips("&#x6700;&#x591A;&#x8F93;&#x5165;"+(e.maxlength||500)+"&#x4E2A;&#x5B57;&#x6570;",n,{tips:1}):t&&t(a,i,n)}},e))},d.tab=function(e){var t=(e=e||{}).tab||{},i="layui-this",a=e.success;return delete e.success,d.open(l.extend({type:1,skin:"layui-layer-tab"+m("tab"),resize:!1,title:function(){var e=t.length,a=1,n="";if(e>0)for(n='<span class="'+i+'">'+t[0].title+"</span>";a<e;a++)n+="<span>"+t[a].title+"</span>";return n}(),content:'<ul class="layui-layer-tabmain">'+function(){var e=t.length,a=1,n="";if(e>0)for(n='<li class="layui-layer-tabli '+i+'">'+(t[0].content||"no content")+"</li>";a<e;a++)n+='<li class="layui-layer-tabli">'+(t[a].content||"no  content")+"</li>";return n}()+"</ul>",success:function(t){var n=t.find(".layui-layer-title").children(),s=t.find(".layui-layer-tabmain").children();n.on("mousedown",function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0;var a=l(this),n=a.index();a.addClass(i).siblings().removeClass(i),s.eq(n).show().siblings().hide(),"function"==typeof e.change&&e.change(n)}),"function"==typeof a&&a(t)}},e))},d.photos=function(e,t,i){var a={};if((e=e||{}).photos){var n=e.photos.constructor===Object,o=n?e.photos:{},r=o.data||[],c=o.start||0;a.imgIndex=1+(0|c),e.img=e.img||"img";var u=e.success;
15if(delete e.success,n){if(0===r.length)return d.msg("&#x6CA1;&#x6709;&#x56FE;&#x7247;")}else{var f=l(e.photos),p=function(){r=[],f.find(e.img).each(function(e){var t=l(this);t.attr("layer-index",e),r.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(p(),0===r.length)return;if(t||f.on("click",e.img,function(){var t=l(this).attr("layer-index");d.photos(l.extend(e,{photos:{start:t,data:r,tab:e.tab},full:e.full}),!0),p()}),!t)return}a.imgprev=function(e){a.imgIndex--,a.imgIndex<1&&(a.imgIndex=r.length),a.tabimg(e)},a.imgnext=function(e,t){a.imgIndex++,a.imgIndex>r.length&&(a.imgIndex=1,t)||a.tabimg(e)},a.keyup=function(e){if(!a.end){var t=e.keyCode;e.preventDefault(),37===t?a.imgprev(!0):39===t?a.imgnext(!0):27===t&&d.close(a.index)}},a.tabimg=function(t){if(!(r.length<=1))return o.start=a.imgIndex-1,d.close(a.index),d.photos(e,!0,t)},a.event=function(){a.bigimg.hover(function(){a.imgsee.show()},function(){a.imgsee.hide()}),a.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),a.imgprev()}),a.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),a.imgnext()}),l(document).on("keyup",a.keyup)},a.loadi=d.load(1,{shade:!("shade"in e)&&.9,scrollbar:!1}),function(e,t,i){var a=new Image;a.src=e,a.complete?t(a):(a.onload=function(){a.onload=null,t(a)},a.onerror=function(e){a.onerror=null,i(e)})}(r[c].src,function(t){d.close(a.loadi),a.index=d.open(l.extend({type:1,id:"layui-layer-photos",area:function(){var i=[t.width,t.height],a=[l(s).width()-100,l(s).height()-100];if(!e.full&&(i[0]>a[0]||i[1]>a[1])){var n=[i[0]/a[0],i[1]/a[1]];n[0]>n[1]?(i[0]=i[0]/n[0],i[1]=i[1]/n[0]):n[0]<n[1]&&(i[0]=i[0]/n[1],i[1]=i[1]/n[1])}return[i[0]+"px",i[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,isOutAnim:!1,skin:"layui-layer-photos"+m("photos"),content:'<div class="layui-layer-phimg"><img src="'+r[c].src+'" alt="'+(r[c].alt||"")+'" layer-pid="'+r[c].pid+'"><div class="layui-layer-imgsee">'+(r.length>1?'<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:'+(i?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(r[c].alt||"")+"</a><em>"+a.imgIndex+"/"+r.length+"</em></span></div></div></div>",success:function(t,i){a.bigimg=t.find(".layui-layer-phimg"),a.imgsee=t.find(".layui-layer-imguide,.layui-layer-imgbar"),a.event(t),e.tab&&e.tab(r[c],t),"function"==typeof u&&u(t)},end:function(){a.end=!0,l(document).off("keyup",a.keyup)}},e))},function(){d.close(a.loadi),d.msg("&#x5F53;&#x524D;&#x56FE;&#x7247;&#x5730;&#x5740;&#x5F02;&#x5E38;<br>&#x662F;&#x5426;&#x7EE7;&#x7EED;&#x67E5;&#x770B;&#x4E0B;&#x4E00;&#x5F20;&#xFF1F;",{time:3e4,btn:["&#x4E0B;&#x4E00;&#x5F20;","&#x4E0D;&#x770B;&#x4E86;"],yes:function(){r.length>1&&a.imgnext(!0,!0)}})})}},f.run=function(e){c=(l=e)(s),h.html=l("html"),d.open=function(e){return new p(e).index}},s.layui&&layui.define?(d.ready(),layui.define("jquery",function(e){d.path=layui.cache.dir,f.run(layui.$),s.layer=d,e("layer",d)})):(a=[i(41)],void 0===(n=function(){return f.run(s.jQuery),d}.apply(t,a))||(e.exports=n))}(window)},502:function(e,t,a){"use strict";var n,s,o,r,l=u(a(69)),c=u(a(77));function u(e){return e&&e.__esModule?e:{default:e}}r=function(e){return{getQuery:function(e,t,a){new RegExp("(^|&|#)"+e+"=([^&]*)(&|$|#)","i");var n,s,o=(a=a||window).location.href,r="";if(""!=(s=1==(n="#"==t?o.split("#"):o.split("?")).length?"":n[1])){gg=s.split(/&|#/);var l=gg.length;for(str=arguments[0]+"=",i=0;i<l;i++)if(0==gg[i].indexOf(str)){r=gg[i].replace(str,"");break}}return decodeURI(r)},getForm:function(t){var i={},a={};e(t).find("*[name]").each(function(t,n){var s,o=e(n).attr("name"),r=e.trim(e(n).val()),l=[];if(""!=o&&!e(n).hasClass("getvalued")){if("money"==e(n).data("type")&&(r=r.replace(/\,/gi,"")),"radio"==e(n).attr("type")){var c=null;e("input[name='"+o+"']:radio").each(function(){e(this).is(":checked")&&(c=e.trim(e(this).val()))}),r=c||""}if("checkbox"==e(n).attr("type")){c=[];e("input[name='"+o+"']:checkbox").each(function(){e(this).is(":checked")&&c.push(e.trim(e(this).val()))}),r=c.length?c.join(","):""}if(e(n).attr("listvalue")&&(i[e(n).attr("listvalue")]||(i[e(n).attr("listvalue")]=[],e("input[listvalue='"+e(n).attr("listvalue")+"']").each(function(){if(""!=e(this).val()){var t=e(this).attr("name"),a={};if("json"==e(this).data("type")?a[t]=JSON.parse(e(this).val()):a[t]=e.trim(e(this).val()),e(this).attr("paramquest")){var s=JSON.parse(e(this).attr("paramquest"));a=e.extend(a,s)}i[e(n).attr("listvalue")].push(a),e(this).addClass("getvalued")}}))),e(n).attr("arrayvalue")&&(i[e(n).attr("arrayvalue")]||(i[e(n).attr("arrayvalue")]=[],e("input[arrayvalue='"+e(n).attr("arrayvalue")+"']").each(function(){if(""!=e(this).val()){var t={};if(t="json"==e(this).data("type")?JSON.parse(e(this).val()):e.trim(e(this).val()),e(this).attr("paramquest")){var a=JSON.parse(e(this).attr("paramquest"));t=e.extend(t,a)}i[e(n).attr("arrayvalue")].push(t)}}))),""!=o&&!e(n).hasClass("getvalued"))if(o.match(/\./)){if(s=(l=o.split("."))[0],3==l.length)a[l[1]]=a[l[1]]||{},a[l[1]][l[2]]=r;else if("json"==e(n).data("type")){if(a[l[1]]=JSON.parse(r),e(n).attr("paramquest")){var u=JSON.parse(e(n).attr("paramquest"));a[l[1]]=e.extend(a[l[1]],u)}}else a[l[1]]=r;i[s]?i[s]=e.extend({},i[s],a):i[s]=a}else i[o]=r}});var n={};for(var s in i){var o=i[s];"object"==(void 0===o?"undefined":(0,c.default)(o))?n[s]=(0,l.default)(o):n[s]=i[s]}return e(".getvalued").removeClass("getvalued"),n},setHash:function(t){var i="";t=e.extend(this.getHash(),t);var a=[];for(var n in t)""!=t[n]&&a.push(n+"="+encodeURIComponent(t[n]));return i+=a.join("&"),location.hash=i,this},getHash:function(e){if("string"==typeof e)return this.getQuery(e,"#");var t={},i=location.hash;if(i.length>0)for(var a=(i=i.substr(1)).split("&"),n=0,s=a.length;n<s;n++){var o=a[n].split("=");o.length>0&&(t[o[0]]=decodeURI(o[1])||"")}return t}}},s=[a(41)],void 0===(o="function"==typeof(n=r)?n.apply(t,s):n)||(e.exports=o)},6:function(e,t,i){"use strict";var a,n,s,o,r,l=i(77);(o=l)&&o.__esModule;
15r=function(e){i.e(0).then(function(t){i(541),e(".search_txt").autocompleter({highlightMatches:!0,source:"/search.html",empty:!1,delay:200,template:"<span>{{ label }}</span>",limit:5,callback:function(e,t,i){window.location.href="/search.html?searchkey="+e}}),e("#searchAction").on("click",function(){""!=e(".search_txt").val()?e("#searchForm").submit():layer.msg("请输入搜索内容")})}.bind(null,i)).catch(i.oe);e(".tou").on("click",function(){e("body").append('<div id="tou_box">\n\t\t\t\t    <div class="tou_shadow"></div>\n\t\t\t\t    <div class="tou_msg">\n\t\t\t\t        <div class="tou_text">\n\t\t\t\t            <h2>投稿请发邮件到邮箱:<b>[email protected]</b></h2>\n\t\t\t\t            <h3>邮件格式及要求:</h3>\n\t\t\t\t            <p><b>Part1:</b>标题格式“XXX(你的名字)要给小通写稿!”</p>\n\t\t\t\t            <p><b>Part2:</b>小小的自我介绍,告诉我们你擅长写日本哪一个领域的内容。包含但不限于:社会现象、奇闻趣事、娱乐八卦、设计艺术、日剧动漫、吃喝玩乐。</p>\n\t\t\t\t            <p><b>Part3:</b>有作品的就附上你的作品。<br>任何文字作品,包括不限于:高考作文</p>\n\t\t\t\t            <p><b>Part4:</b>没有作品的可以思考一下要写什么作品,取个标题,列个大纲,就可以啦。\n\t\t\t\t            是不是很随意。</p>\n\t\t\t\t            <p><b>Part5:</b>千万记得留下你的联系方式,如:微信。<br>方便小姐姐们直接撩你~</p>\n\t\t\t\t        </div>\n\t\t\t\t        <a href="javascript:;" class="tou_ok">我知道了</a>\n\t\t\t\t    </div>\n\t\t\t\t</div>')}),e("body").on("click",".tou_ok",function(){e("#tou_box").remove()}),e("#backTop").on("click",function(t){t.stopPropagation(),e("html,body").animate({scrollTop:"0px"},300)});e(".toWap").on("click",function(e){var t,i,a,n,s;e.preventDefault(),t="rbtfromwap",i="2",n=a||1,(s=new Date).setTime(s.getTime()+24*n*60*60*1e3),document.cookie=t+"="+escape(i)+";expires="+s.toGMTString(),window.location.href=location.pathname}),e(".part3 a").on("click",function(t){t.preventDefault(),_hmt.push(["_trackEvent","点击","click",e(this).find("img").attr("alt")]),window.open(t.currentTarget.href,"_blank")}),e(".toMng").on("click",function(e){e.preventDefault(),_hmt.push(["_trackEvent","点击","click","美能购PC"]),window.open(e.currentTarget.href,"_blank")})},n=[i(41)],void 0===(s="function"==typeof(a=r)?a.apply(t,n):a)||(e.exports=s)},67:function(e,t,i){"use strict";var a,n,s,o,r,l=i(77);(o=l)&&o.__esModule;r=function(e,t){function i(){var e=Math.random().toString().replace(".","");this.id="Paging_"+e}return e.fn.Paging=function(t){var a=[];return e(this).each(function(){var n=e.extend({target:e(this)},t),s=new i;s.init(n),a.push(s)}),a},i.prototype={init:function(t){this.settings=e.extend({callback:null,pagesize:10,current:1,prevTpl:"上一页",nextTpl:"下一页",firstTpl:"首页",lastTpl:"末页",ellipseTpl:"...",toolbar:!1,hash:!1,pageSizeList:[5,10,15,20]},t),this.target=e(this.settings.target),this.container=e('<div id="'+this.id+'" class="ui-paging-container"/>'),this.target.append(this.container),this.render(this.settings),this.format(),this.bindEvent()},render:function(e){void 0!==e.count?this.count=e.count:this.count=this.settings.count,void 0!==e.pagesize?this.pagesize=e.pagesize:this.pagesize=this.settings.pagesize,void 0!==e.current?this.current=e.current:this.current=this.settings.current,this.pagecount=Math.ceil(this.count/this.pagesize),this.format()},bindEvent:function(){var t=this;this.container.on("click","li.js-page-action,li.ui-pager",function(i){if(e(this).hasClass("ui-pager-disabled")||e(this).hasClass("focus"))return!1;e(this).hasClass("js-page-action")?(e(this).hasClass("js-page-first")&&(t.current=1),e(this).hasClass("js-page-prev")&&(t.current=Math.max(1,t.current-1)),e(this).hasClass("js-page-next")&&(t.current=Math.min(t.pagecount,t.current+1)),e(this).hasClass("js-page-last")&&(t.current=t.pagecount)):e(this).data("page")&&(t.current=parseInt(e(this).data("page"))),t.go()})},go:function(e){this.current=e||this.current,this.current=Math.max(1,this.current),this.current=Math.min(this.current,this.pagecount),this.format(),this.settings.hash&&t.setHash({page:this.current}),this.settings.callback&&this.settings.callback(this.current,this.pagesize,this.pagecount)}
15,changePagesize:function(e){this.render({pagesize:e}),this.settings.changePagesize&&this.settings.changePagesize.call(this,this.pagesize,this.current,this.pagecount)},format:function(){var t="<ul>";if(t+='<li class="js-page-first js-page-action ui-pager" >'+this.settings.firstTpl+"</li>",t+='<li class="js-page-prev js-page-action ui-pager">'+this.settings.prevTpl+"</li>",this.pagecount>6){if(t+='<li data-page="1" class="ui-pager">1</li>',this.current<=2)t+='<li data-page="2" class="ui-pager">2</li>',t+='<li data-page="3" class="ui-pager">3</li>',t+='<li class="ui-paging-ellipse">'+this.settings.ellipseTpl+"</li>";else if(this.current>2&&this.current<=this.pagecount-2)this.current>3&&(t+="<li>"+this.settings.ellipseTpl+"</li>"),t+='<li data-page="'+(this.current-1)+'" class="ui-pager">'+(this.current-1)+"</li>",t+='<li data-page="'+this.current+'" class="ui-pager">'+this.current+"</li>",t+='<li data-page="'+(this.current+1)+'" class="ui-pager">'+(this.current+1)+"</li>",this.current<this.pagecount-2&&(t+='<li class="ui-paging-ellipse" class="ui-pager">'+this.settings.ellipseTpl+"</li>");else{t+='<li class="ui-paging-ellipse" >'+this.settings.ellipseTpl+"</li>";for(var i=this.pagecount-2;i<this.pagecount;i++)t+='<li data-page="'+i+'" class="ui-pager">'+i+"</li>"}t+='<li data-page="'+this.pagecount+'" class="ui-pager">'+this.pagecount+"</li>"}else for(i=1;i<=this.pagecount;i++)t+='<li data-page="'+i+'" class="ui-pager">'+i+"</li>";t+='<li class="js-page-next js-page-action ui-pager">'+this.settings.nextTpl+"</li>",t+='<li class="js-page-last js-page-action ui-pager">'+this.settings.lastTpl+"</li>",t+="</ul>",this.container.html(t),1==this.current&&(e(".js-page-prev",this.container).addClass("ui-pager-disabled"),e(".js-page-first",this.container).addClass("ui-pager-disabled")),this.current==this.pagecount&&(e(".js-page-next",this.container).addClass("ui-pager-disabled"),e(".js-page-last",this.container).addClass("ui-pager-disabled")),this.container.find('li[data-page="'+this.current+'"]').addClass("focus").siblings().removeClass("focus"),this.settings.toolbar&&this.bindToolbar()},bindToolbar:function(){for(var t=this,i=e('<li class="ui-paging-toolbar"><select class="ui-select-pagesize"></select><input type="text" class="ui-paging-count"/><a href="javascript:void(0)">跳转</a></li>'),a=e(".ui-select-pagesize",i),n="",s=0,o=this.settings.pageSizeList.length;s<o;s++)n+='<option value="'+this.settings.pageSizeList[s]+'">'+this.settings.pageSizeList[s]+"条/页</option>";a.html(n),a.val(this.pagesize),e("input",i).val(this.current),e("input",i).click(function(){e(this).select()}).keydown(function(i){if(13==i.keyCode){var a=parseInt(e(this).val())||1;t.go(a)}}),e("a",i).click(function(){var i=parseInt(e(this).prev().val())||1;t.go(i)}),a.change(function(){t.changePagesize(e(this).val())}),this.container.children("ul").append(i)}},i},n=[i(41),i(502)],void 0===(s="function"==typeof(a=r)?a.apply(t,n):a)||(e.exports=s)},98:function(e,t,i){"use strict";
16/*! Lazy Load 1.9.7 - MIT license - Copyright 2010-2015 Mika Tuupola */var a,n,s,o,r;a=jQuery,n=window,s=document,r=a(n),a.fn.lazyload=function(e){function t(){var e=0;l.each(function(){var t=a(this);if(!c.skip_invisible||t.is(":visible"))if(a.abovethetop(this,c)||a.leftofbegin(this,c));else if(a.belowthefold(this,c)||a.rightoffold(this,c)){if(++e>c.failure_limit)return!1}else t.trigger("appear"),e=0})}var i,l=this,c={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:n,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return e&&(o!==e.failurelimit&&(e.failure_limit=e.failurelimit,delete e.failurelimit),o!==e.effectspeed&&(e.effect_speed=e.effectspeed,delete e.effectspeed),a.extend(c,e)),i=c.container===o||c.container===n?r:a(c.container),0===c.event.indexOf("scroll")&&i.bind(c.event,function(){return t()}),this.each(function(){var e=this,t=a(e);e.loaded=!1,(t.attr("src")===o||!1===t.attr("src"))&&t.is("img")&&t.attr("src",c.placeholder),t.one("appear",function(){if(!this.loaded){if(c.appear){var i=l.length;c.appear.call(e,i,c)}a("<img />").bind("load",function(){var i=t.attr("data-"+c.data_attribute);t.hide(),t.is("img")?t.attr("src",i):t.css("background-image","url('"+i+"')"),t[c.effect](c.effect_speed),e.loaded=!0;var n=a.grep(l,function(e){return!e.loaded});
vendor: 1,830 bytes, line 16
16if(l=a(n),c.load){var s=l.length;c.load.call(e,s,c)}}).attr("src",t.attr("data-"+c.data_attribute))}}),0!==c.event.indexOf("scroll")&&t.bind(c.event,function(){e.loaded||t.trigger("appear")})}),r.bind("resize",function(){t()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&l.each(function(){a(this).trigger("appear")})}),a(s).ready(function(){t()}),this},a.belowthefold=function(e,t){return(t.container===o||t.container===n?(n.innerHeight?n.innerHeight:r.height())+r.scrollTop():a(t.container).offset().top+a(t.container).height())<=a(e).offset().top-t.threshold},a.rightoffold=function(e,t){return(t.container===o||t.container===n?r.width()+r.scrollLeft():a(t.container).offset().left+a(t.container).width())<=a(e).offset().left-t.threshold},a.abovethetop=function(e,t){return(t.container===o||t.container===n?r.scrollTop():a(t.container).offset().top)>=a(e).offset().top+t.threshold+a(e).height()},a.leftofbegin=function(e,t){return(t.container===o||t.container===n?r.scrollLeft():a(t.container).offset().left)>=a(e).offset().left+t.threshold+a(e).width()},a.inviewport=function(e,t){return!(a.rightoffold(e,t)||a.leftofbegin(e,t)||a.belowthefold(e,t)||a.abovethetop(e,t))},a.extend(a.expr[":"],{"below-the-fold":function(e){return a.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!a.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return a.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!a.rightoffold(e,{threshold:0})},"in-viewport":function(e){return a.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!a.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return a.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!a.rightoffold(e,{threshold:0})}})}});

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.