1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d4f55d16"],{"0afc":function(t,o,e){t.exports=e.p+"img/noneData.919a3c84.png"},"4df4":function(t,o,e){"use strict";var n=e("da84"),r=e("0366"),i=e("c65b"),s=e("7b0b"),l=e("9bdd"),a=e("e95a"),c=e("68ee"),p=e("07fa"),u=e("8418"),d=e("9a1f"),f=e("35a1"),h=n.Array;t.exports=function(t){var o=s(t),e=c(this),n=arguments.length,m=n>1?arguments[1]:void 0,v=void 0!==m;v&&(m=r(m,n>2?arguments[2]:void 0));var w,g,y,D,b,S,T=f(o),U=0;if(!T||this==h&&a(T))for(w=p(o),g=e?new this(w):h(w);w>U;U++)S=v?m(o[U],U):o[U],u(g,U,S);else for(D=d(o,T),b=D.next,g=e?new this:[];!(y=i(b,D)).done;U++)S=v?l(D,m,[y.value,U],!0):y.value,u(g,U,S);return g.length=U,g}},"4fad":function(t,o,e){var n=e("d039"),r=e("861d"),i=e("c6b6"),s=e("d86b"),l=Object.isExtensible,a=n((function(){l(1)}));t.exports=a||s?function(t){return!!r(t)&&((!s||"ArrayBuffer"!=i(t))&&(!l||l(t)))}:l},6566:function(t,o,e){"use strict";var n=e("9bf2").f,r=e("7c73"),i=e("e2cc"),s=e("0366"),l=e("19aa"),a=e("2266"),c=e("7dd0"),p=e("2626"),u=e("83ab"),d=e("f183").fastKey,f=e("69f3"),h=f.set,m=f.getterFor;t.exports={getConstructor:function(t,o,e,c){var p=t((function(t,n){l(t,f),h(t,{type:o,index:r(null),first:void 0,last:void 0,size:0}),u||(t.size=0),void 0!=n&&a(n,t[c],{that:t,AS_ENTRIES:e})})),f=p.prototype,v=m(o),w=function(t,o,e){var n,r,i=v(t),s=g(t,o);return s?s.value=e:(i.last=s={index:r=d(o,!0),key:o,value:e,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=s),n&&(n.next=s),u?i.size++:t.size++,"F"!==r&&(i.index[r]=s)),t},g=function(t,o){var e,n=v(t),r=d(o);if("F"!==r)return n.index[r];for(e=n.first;e;e=e.next)if(e.key==o)return e};return i(f,{clear:function(){var t=this,o=v(t),e=o.index,n=o.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;o.first=o.last=void 0,u?o.size=0:t.size=0},delete:function(t){var o=this,e=v(o),n=g(o,t);if(n){var r=n.next,i=n.previous;delete e.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),e.first==n&&(e.first=r),e.last==n&&(e.last=i),u?e.size--:o.size--}return!!n},forEach:function(t){var o,e=v(this),n=s(t,arguments.length>1?arguments[1]:void 0);while(o=o?o.next:e.first){n(o.value,o.key,this);while(o&&o.removed)o=o.previous}},has:function(t){return!!g(this,t)}}),i(f,e?{get:function(t){var o=g(this,t);return o&&o.value},set:function(t,o){return w(this,0===t?0:t,o)}}:{add:function(t){return w(this,t=0===t?0:t,t)}}),u&&n(f,"size",{get:function(){return v(this).size}}),p},setStrong:function(t,o,e){var n=o+" Iterator",r=m(o),i=m(n);c(t,o,(function(t,o){h(this,{type:n,target:t,state:r(t),kind:o,last:void 0})}),(function(){var t=i(this),o=t.kind,e=t.last;while(e&&e.removed)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?"keys"==o?{value:e.key,done:!1}:"values"==o?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),e?"entries":"values",!e,!0),p(o)}}},"6d61":function(t,o,e){"use strict";var n=e("23e7"),r=e("da84"),i=e("e330"),s=e("94ca"),l=e("6eeb"),a=e("f183"),c=e("2266"),p=e("19aa"),u=e("1626"),d=e("861d"),f=e("d039"),h=e("1c7e"),m=e("d44e"),v=e("7156");t.exports=function(t,o,e){var w=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=w?"set":"add",D=r[t],b=D&&D.prototype,S=D,T={},U=function(t){var o=i(b[t]);l(b,t,"add"==t?function(t){return o(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!d(t))&&o(this,0===t?0:t)}:"get"==t?function(t){return g&&!d(t)?void 0:o(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!d(t))&&o(this,0===t?0:t)}:function(t,e){return o(this,0===t?0:t,e),this})},L=s(t,!u(D)||!(g||b.forEach&&!f((function(){(new D).entries().next()}))));if(L)S=e.getConstructor(o,t,w,y),a.enable();else if(s(t,!0)){var E=new S,B=E[y](g?{}:-0,1)!=E,x=f((function(){E.has(1)})),C=h((function(t){new D(t)})),k=!g&&f((function(){var t=new D,o=5;while(o--)t[y](o,o);return!t.has(-0)}));C||(S=o((function(t,o){p(t,b);var e=v(new D,t,S);return void 0!=o&&c(o,e[y],{that:e,AS_ENTRIES:w}),e})),S.prototype=b,b.constructor=S),(x||k)&&(U("delete"),U("has"),w&&U("get")),(k||B)&&U(y),g&&b.clear&&delete b.clear}return T[t]=S,n({global:!0,forced:S!=D},T),m(S,t),g||e.setStrong(S,t,w),S}},"8d6b":function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},r=[],i=e("f868"),s=e.n(i),l=(e("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new s.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter:function(){var t=this;this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout((function(){t.mescroll.setTopBtnFadeDuration(0)}),16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave:function(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),a=l,c=e("2877"),p=Object(c["a"])(a,n,r,!1,null,null,null);o["a"]=p.exports},"99af":function(t,o,e){"use strict";var n=e("23e7"),r=e("da84"),i=e("d039"),s=e("e8b5"),l=e("861d"),a=e("7b0b"),c=e("07fa"),p=e("8418"),u=e("65f0"),d=e("1dde"),f=e("b622"),h=e("2d00"),m=f("isConcatSpreadable"),v=9007199254740991,w="Maximum allowed index exceeded",g=r.TypeError,y=h>=51||!i((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),D=d("concat"),b=function(t){if(!l(t))return!1;var o=t[m];return void 0!==o?!!o:s(t)},S=!y||!D;n({target:"Array",proto:!0,forced:S},{concat:function(t){var o,e,n,r,i,s=a(this),l=u(s,0),d=0;for(o=-1,n=arguments.length;o<n;o++)if(i=-1===o?s:arguments[o],b(i)){if(r=c(i),d+r>v)throw g(w);for(e=0;e<r;e++,d++)e in i&&p(l,d,i[e])}else{if(d>=v)throw g(w);p(l,d++,i)}return l.length=d,l}})},"9bdd":function(t,o,e){var n=e("825a"),r=e("2a62");t.exports=function(t,o,e,i){try{return i?o(n(e)[0],e[1]):o(e)}catch(s){r(t,"throw",s)}}},a630:function(t,o,e){var n=e("23e7"),r=e("4df4"),i=e("1c7e"),s=!i((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:s},{from:r})},a92e:function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"nonedata",staticStyle:{margin:"auto"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:"0"==t.len&&t.datashow,expression:"len == '0' && datashow"}],staticClass:"noneDataBox"},[n("img",{attrs:{src:e("0afc")}}),n("div",[t._v(t._s(t.text))])])])},r=[],i=(e("a9e3"),{name:"nonedata",props:{len:{type:Number,default:0},datashow:{type:Boolean,default:!1},text:{type:String,default:"暂无数据展示"}},data:function(){return{}},created:function(){},methods:{},mounted:function(){}}),s=i,l=(e("bf10"),e("2877")),a=Object(l["a"])(s,n,r,!1,null,"e6e9b0c4",null);o["a"]=a.exports},b680:function(t,o,e){"use strict";function n(t,o){(null==o||o>t.length)&&(o=t.length);for(var e=0,n=new Array(o);e<o;e++)n[e]=t[e];return n}e.d(o,"a",(function(){return n}))},bb2f:function(t,o,e){var n=e("d039");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bf10:function(t,o,e){"use strict";e("c93c")},c93c:function(t,o,e){},d0ff:function(t,o,e){"use strict";e.d(o,"a",(function(){return a}));var n=e("b680");function r(t){if(Array.isArray(t))return Object(n["a"])(t)}e("a4d3"),e("e01a"),e("d3b7"),e("d28b"),e("3ca3"),e("ddb0"),e("a630");function i(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var s=e("dde1");function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t){return r(t)||i(t)||Object(s["a"])(t)||l()}},d28b:function(t,o,e){var n=e("746f");n("iterator")},d81d:function(t,o,e){"use strict";var n=e("23e7"),r=e("b727").map,i=e("1dde"),s=i("map");n({target:"Array",proto:!0,forced:!s},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},d86b:function(t,o,e){var n=e("d039");t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},dde1:function(t,o,e){"use strict";e.d(o,"a",(function(){return r}));e("fb6a"),e("d3b7"),e("b0c0"),e("a630"),e("3ca3"),e("ac1f"),e("00b4");var n=e("b680");function r(t,o){if(t){if("string"===typeof t)return Object(n["a"])(t,o);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Object(n["a"])(t,o):void 0}}},e01a:function(t,o,e){"use strict";var n=e("23e7"),r=e("83ab"),i=e("da84"),s=e("e330"),l=e("1a2d"),a=e("1626"),c=e("3a9b"),p=e("577e"),u=e("9bf2").f,d=e("e893"),f=i.Symbol,h=f&&f.prototype;if(r&&a(f)&&(!("description"in h)||void 0!==f().description)){var m={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:p(arguments[0]),o=c(h,this)?new f(t):void 0===t?f():f(t);return""===t&&(m[o]=!0),o};d(v,f),v.prototype=h,h.constructor=v;var w="Symbol(test)"==String(f("test")),g=s(h.toString),y=s(h.valueOf),D=/^Symbol\((.*)\)[^)]+$/,b=s("".replace),S=s("".slice);u(h,"description",{configurable:!0,get:function(){var t=y(this),o=g(t);if(l(m,t))return"";var e=w?S(o,7,-1):b(o,D,"$1");return""===e?void 0:e}}),n({global:!0,forced:!0},{Symbol:v})}},e9c4:function(t,o,e){var n=e("23e7"),r=e("da84"),i=e("d066"),s=e("2ba4"),l=e("e330"),a=e("d039"),c=r.Array,p=i("JSON","stringify"),u=l(/./.exec),d=l("".charAt),f=l("".charCodeAt),h=l("".replace),m=l(1..toString),v=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,g=/^[\uDC00-\uDFFF]$/,y=function(t,o,e){var n=d(e,o-1),r=d(e,o+1);return u(w,t)&&!u(g,r)||u(g,t)&&!u(w,n)?"\\u"+m(f(t,0),16):t},D=a((function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")}));p&&n({target:"JSON",stat:!0,forced:D},{stringify:function(t,o,e){for(var n=0,r=arguments.length,i=c(r);n<r;n++)i[n]=arguments[n];var l=s(p,null,i);return"string"==typeof l?h(l,v,y):l}})},f183:function(t,o,e){var n=e("23e7"),r=e("e330"),i=e("d012"),s=e("861d"),l=e("1a2d"),a=e("9bf2").f,c=e("241c"),p=e("057f"),u=e("4fad"),d=e("90e3"),f=e("bb2f"),h=!1,m=d("meta"),v=0,w=function(t){a(t,m,{value:{objectID:"O"+v++,weakData:{}}})},g=function(t,o){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!l(t,m)){if(!u(t))return"F";if(!o)return"E";w(t)}return t[m].objectID},y=function(t,o){if(!l(t,m)){if(!u(t))return!0;if(!o)return!1;w(t)}return t[m].weakData},D=function(t){return f&&h&&u(t)&&!l(t,m)&&w(t),t},b=function(){S.enable=function(){},h=!0;var t=c.f,o=r([].splice),e={};e[m]=1,t(e).length&&(c.f=function(e){for(var n=t(e),r=0,i=n.length;r<i;r++)if(n[r]===m){o(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:p.f}))},S=t.exports={enable:b,fastKey:g,getWeakData:y,onFreeze:D};i[m]=!0},f2fd:function(t,o,e){},f868:function(t,o,e){var n,r;(function(i,s){n=s,r="function"===typeof n?n.call(o,e,o,t):n,void 0===r||(t.exports=r)})(0,(function(){var t=function(t,o){var e=this;if(e.version="1.4.0",e.isScrollBody=!t||"body"===t,e.scrollDom=e.isScrollBody?document.body:e.getDomById(t),e.scrollDom){e.options=o||{};var n=navigator.userAgent,r=!!n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i="undefined"===typeof window.orientation,s=n.indexOf("Android")>-1||n.indexOf("Adr")>-1;e.os={ios:r,pc:i,android:s},e.isDownScrolling=!1,e.isUpScrolling=!1;var l=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){e.optDown.use&&e.optDown.auto&&l&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(o){t.extend(o,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'<p class="downwarp-progress"></p><p class="downwarp-tip"></p>',inited:function(t,o){t.downTipDom=o.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=o.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,o,e){if(t.downProgressDom){var n=360*o;t.downProgressDom.style.webkitTransform="rotate("+n+"deg)",t.downProgressDom.style.transform="rotate("+n+"deg)"}},beforeLoading:function(t,o){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(o){var e=this.os.pc;t.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'<p class="upwarp-progress mescroll-rotate"></p><p class="upwarp-tip">加载中..</p>',htmlNodata:'<p class="upwarp-nodata">-- END --</p>',inited:function(t,o){},showLoading:function(t,o){o.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,o){o.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:e,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(o,e){if(!o)return e;for(var n in e)null==o[n]?o[n]=e[n]:"object"===typeof o[n]&&t.extend(o[n],e[n]);return o},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(o){t.isScrollTo&&t.preventDefault(o),t.startPoint=t.getPoint(o),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var e=t.getScrollTop();t.isKeepTop=0===e,t.os.pc&&e<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(o){if(t.startPoint){var e=t.getScrollTop();e>0&&(t.isKeepTop=!1);var n=t.getPoint(o),r=n.y-t.startPoint.y;if(r>0){if(e<=0&&(t.preventDefault(o),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var i=Math.abs(t.lastPoint.x-n.x),s=Math.abs(t.lastPoint.y-n.y),l=Math.sqrt(i*i+s*s);if(0!==l){var a=Math.asin(s/l)/Math.PI*180;if(a<t.optDown.minAngle)return}if(t.maxTouchmoveY>0&&n.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=n.y-t.lastPoint.y;t.downHight||(t.downHight=0),t.downHight<t.optDown.offset?(1!==t.movetype&&(t.movetype=1,t.optDown.inOffset(t),t.downwarp.classList.remove(t.optDown.resetClass),t.isMoveDown=!0,t.os.ios&&!t.isKeepTop&&(t.scrollDom.classList.add(t.optDown.hardwareClass),t.scrollDom.style.webkitOverflowScrolling="auto",t.isSetScrollAuto=!0)),t.downHight+=c*t.optDown.inOffsetRate):(2!==t.movetype&&(t.movetype=2,t.optDown.outOffset(t),t.downwarp.classList.remove(t.optDown.resetClass),t.isMoveDown=!0,t.os.ios&&!t.isKeepTop&&(t.scrollDom.classList.add(t.optDown.hardwareClass),t.scrollDom.style.webkitOverflowScrolling="auto",t.isSetScrollAuto=!0)),t.downHight+=c>0?c*t.optDown.outOffsetRate:c),t.downwarp.style.height=t.downHight+"px";var p=t.downHight/t.optDown.offset;t.optDown.onMoving(t,p,t.downHight)}}else if(r<0){var u=t.getScrollHeight(),d=t.getClientHeight(),f=u-d-e;!t.optUp.isBounce&&f<=0&&t.preventDefault(o),t.optUp.use&&!t.optUp.isLock&&t.optUp.hasNext&&!t.isUpScrolling&&(!t.isDownScrolling||t.isDownScrolling&&t.optDown.isBoth)&&(d+t.optUp.offset>=u||f<=0)&&t.triggerUpScroll()}t.lastPoint=n}},t.scrollDom.addEventListener("touchmove",t.touchmoveEvent,{passive:!1}),t.touchendEvent=function(){t.optDown.use&&t.isMoveDown&&(t.downHight>=t.optDown.offset?t.triggerDownScroll():(t.downwarp.classList.add(t.optDown.resetClass),t.downHight=0,t.downwarp.style.height=0),t.isSetScrollAuto&&(t.scrollDom.style.webkitOverflowScrolling="touch",t.scrollDom.classList.remove(t.optDown.hardwareClass),t.isSetScrollAuto=!1),t.movetype=0,t.isMoveDown=!1),t.os.pc&&(t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),document.ondragstart=function(){return!0})},t.scrollDom.addEventListener("mouseup",t.touchendEvent),t.scrollDom.addEventListener("mouseleave",t.touchendEvent),t.scrollDom.addEventListener("touchend",t.touchendEvent),t.scrollDom.addEventListener("touchcancel",t.touchendEvent),t.optDown.use){t.downwarp=document.createElement("div"),t.downwarp.className=t.optDown.warpClass,t.downwarp.innerHTML='<div class="downwarp-content">'+t.optDown.htmlContent+"</div>";var o=t.optDown.warpId?t.getDomById(t.optDown.warpId):t.scrollDom;t.optDown.warpId&&o?o.appendChild(t.downwarp):(o||(o=t.scrollDom),o.insertBefore(t.downwarp,t.scrollDom.firstChild)),setTimeout((function(){t.optDown.inited(t,t.downwarp)}),0)}},t.prototype.preventDefault=function(t){t&&t.cancelable&&!t.defaultPrevented&&t.preventDefault()},t.prototype.getPoint=function(t){return{x:t.touches?t.touches[0].pageX:t.clientX,y:t.touches?t.touches[0].pageY:t.clientY}},t.prototype.triggerDownScroll=function(){this.optDown.beforeLoading(this,this.downwarp)||(this.showDownScroll(),this.optDown.callback&&this.optDown.callback(this))},t.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.showLoading(this),this.downHight=this.optDown.offset,this.downwarp.classList.add(this.optDown.resetClass),this.downwarp.style.height=this.optDown.offset+"px"},t.prototype.endDownScroll=function(){var t=this,o=function(){t.downHight=0,t.downwarp.style.height=0,t.isDownScrolling=!1,t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},e=t.optDown.afterLoading(t);"number"===typeof e&&e>0?setTimeout(o,e):o()},t.prototype.lockDownScroll=function(t){null==t&&(t=!0),this.optDown.isLock=t},t.prototype.initUpScroll=function(){var t,o=this;(o.optUp=o.options.up||{use:!1},o.extendUpScroll(o.optUp),o.optUp.scrollbar.use&&o.scrollDom.classList.add(o.optUp.scrollbar.barClass),o.optUp.isBounce||o.setBounce(!1),!1!==o.optUp.use)&&(o.optUp.hasNext=!0,o.upwarp=document.createElement("div"),o.upwarp.className=o.optUp.warpClass,o.optUp.warpId&&(t=o.getDomById(o.optUp.warpId)),t||(t=o.scrollDom),t.appendChild(o.upwarp),o.preScrollY=0,o.lazyStartTime=(new Date).getTime(),o.lazyTag="mescroll-lazying",o.scrollEvent=function(){var t=o.getScrollTop(),e=t-o.preScrollY>0;if(o.preScrollY=t,!o.isUpScrolling&&(!o.isDownScrolling||o.isDownScrolling&&o.optDown.isBoth)&&!o.optUp.isLock&&o.optUp.hasNext){var n=o.getScrollHeight()-o.getClientHeight()-t;n<=o.optUp.offset&&e&&o.triggerUpScroll()}var r=o.optUp.toTop;if((r.src||r.html)&&(t>=r.offset?o.showTopBtn():o.hideTopBtn()),o.optUp.lazyLoad.use){var i=(new Date).getTime();o.lazyTimer&&clearTimeout(o.lazyTimer),i-o.lazyStartTime>=o.optUp.lazyLoad.delay?(o.lazyStartTime=i,o.lazyLoad(0)):o.lazyTimer=o.lazyLoad()}o.optUp.onScroll&&o.optUp.onScroll(o,t,e)},o.isScrollBody?window.addEventListener("scroll",o.scrollEvent):o.scrollDom.addEventListener("scroll",o.scrollEvent),setTimeout((function(){o.optUp.inited(o,o.upwarp)}),0))},t.prototype.setBounce=function(t){!this.isScrollBody&&this.os.ios&&(!1===t?(this.optUp.isBounce=!1,window.addEventListener("touchmove",this.bounceTouchmove,{passive:!1})):(this.optUp.isBounce=!0,window.removeEventListener("touchmove",this.bounceTouchmove)))},t.prototype.bounceTouchmove=function(t){var o=this,e=t.target,n=!0;while(e!==document.body&&e!==document){var r=e.classList;if(r){if(r.contains("mescroll")||r.contains("mescroll-touch")){n=!1;break}if(r.contains("mescroll-touch-x")||r.contains("mescroll-touch-y")){var i=t.touches?t.touches[0].pageX:t.clientX,s=t.touches?t.touches[0].pageY:t.clientY;o.preWinX||(o.preWinX=i),o.preWinY||(o.preWinY=s);var l=Math.abs(o.preWinX-i),a=Math.abs(o.preWinY-s),c=Math.sqrt(l*l+a*a);if(o.preWinX=i,o.preWinY=s,0!==c){var p=Math.asin(a/c)/Math.PI*180;if(p<=45&&r.contains("mescroll-touch-x")||p>45&&r.contains("mescroll-touch-y")){n=!1;break}}}}e=e.parentNode}n&&t.cancelable&&!t.defaultPrevented&&"function"===typeof t.preventDefault&&t.preventDefault()},t.prototype.triggerUpScroll=function(){this.optUp.callback&&!this.isUpScrolling&&(this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.optUp.callback(this.optUp.page,this))},t.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.upwarp.classList.add(this.optUp.hardwareClass),this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.showLoading(this,this.upwarp)},t.prototype.showNoMore=function(){this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.hasNext=!1,this.optUp.showNoMore(this,this.upwarp)},t.prototype.hideUpScroll=function(t){t?this.upwarp.style.display="none":this.upwarp.style.visibility="hidden",this.upwarp.classList.remove(this.optUp.hardwareClass);var o=this.upwarp.getElementsByClassName("upwarp-progress")[0];o&&o.classList.remove("mescroll-rotate")},t.prototype.endUpScroll=function(t,o){null!=t&&(t?this.showNoMore():this.hideUpScroll(o)),this.isUpScrolling=!1},t.prototype.resetUpScroll=function(t){if(this.optUp&&this.optUp.use){var o=this.optUp.page;this.prePageNum=o.num,this.prePageTime=o.time,o.num=1,o.time=null,this.isDownScrolling||!1===t||(null==t?(this.removeEmpty(),this.clearDataList(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.optUp.callback&&this.optUp.callback(o,this)}},t.prototype.setPageNum=function(t){this.optUp.page.num=t-1},t.prototype.setPageSize=function(t){this.optUp.page.size=t},t.prototype.clearDataList=function(){var t=this.optUp.clearId||this.optUp.clearEmptyId;if(t){var o=this.getDomById(t);o&&(o.innerHTML="")}},t.prototype.endByPage=function(t,o,e){var n;this.optUp.use&&null!=o&&(n=this.optUp.page.num<o),this.endSuccess(t,n,e)},t.prototype.endBySize=function(t,o,e){var n;if(this.optUp.use&&null!=o){var r=(this.optUp.page.num-1)*this.optUp.page.size+t;n=r<o}this.endSuccess(t,n,e)},t.prototype.endSuccess=function(t,o,e){var n=this;if(n.isDownScrolling&&n.endDownScroll(),n.optUp.use){var r;if(null!=t){var i=n.optUp.page.num,s=n.optUp.page.size;if(1===i&&(n.clearDataList(),e&&(n.optUp.page.time=e)),t<s||!1===o)if(n.optUp.hasNext=!1,0===t&&1===i)r=!1,n.showEmpty();else{var l=(i-1)*s+t;r=!(l<n.optUp.noMoreSize),n.removeEmpty()}else r=!1,n.optUp.hasNext=!0,n.removeEmpty()}var a=!n.optUp.hasNext;n.endUpScroll(r,a),n.loadFull(),n.optUp.lazyLoad.use&&n.lazyLoad(16)}},t.prototype.endErr=function(){if(this.isDownScrolling){var t=this.optUp.page;t&&this.prePageNum&&(t.num=this.prePageNum,t.time=this.prePageTime),this.endDownScroll()}this.isUpScrolling&&(this.optUp.page.num--,this.endUpScroll(!1))},t.prototype.loadFull=function(){var t=this;t.optUp.loadFull.use&&!t.optUp.isLock&&t.optUp.hasNext&&t.optUp.callback&&t.getScrollHeight()<=t.getClientHeight()&&setTimeout((function(){t.getScrollHeight()<=t.getClientHeight()&&t.triggerUpScroll()}),t.optUp.loadFull.delay)},t.prototype.lockUpScroll=function(t){null==t&&(t=!0),this.optUp.isLock=t},t.prototype.showEmpty=function(){var t=this,o=t.optUp.empty,e=o.warpId||t.optUp.clearEmptyId;if(null!=e){var n=t.getDomById(e);if(n){t.removeEmpty();var r="";if(o.icon&&(r+='<img class="empty-icon" src="'+o.icon+'"/>'),o.tip&&(r+='<p class="empty-tip">'+o.tip+"</p>"),o.btntext&&(r+='<p class="empty-btn">'+o.btntext+"</p>"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=r,n.appendChild(t.emptyDom),o.btnClick){var i=t.emptyDom.getElementsByClassName("empty-btn")[0];o.supportTap?i.addEventListener("tap",(function(e){e.stopPropagation(),t.preventDefault(e),o.btnClick()})):i.onclick=function(){o.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var o,e=this,n=e.optUp.toTop;if(null==e.toTopBtn)n.html?(e.toTopBtn=document.createElement("div"),e.toTopBtn.innerHTML=n.html):(e.toTopBtn=document.createElement("img"),e.toTopBtn.src=n.src),e.toTopBtn.className=n.warpClass,n.supportTap?e.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),e.preventDefault(t);var o=n.btnClick&&n.btnClick();!0!==o&&e.scrollTo(0,e.optUp.toTop.duration)})):e.toTopBtn.onclick=function(){var t=n.btnClick&&n.btnClick();!0!==t&&e.scrollTo(0,e.optUp.toTop.duration)},n.warpId&&(o=e.getDomById(n.warpId)),o||(o=document.body),o.appendChild(e.toTopBtn);e.toTopBtn.classList.remove(n.hideClass),e.toTopBtn.classList.add(n.showClass),e.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var o=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=o,this.toTopBtn.style.webkitAnimationDuration=o}},t.prototype.scrollTo=function(t,o){var e=this,n=e.getScrollTop(),r=t;if(r>0){var i=e.getScrollHeight()-e.getClientHeight();r>i&&(r=i)}else r=0;e.isScrollTo=!0,e.scrollDom.style.webkitOverflowScrolling="auto",e.getStep(n,r,(function(t){e.setScrollTop(t),t===r&&(e.scrollDom.style.webkitOverflowScrolling="touch",e.isScrollTo=!1)}),o)},t.prototype.getStep=function(t,o,e,n,r){var i=o-t;if(0!==n&&0!==i){n=n||300,r=r||30;var s=n/r,l=i/s,a=0,c=window.setInterval((function(){a<s-1?(t+=l,e&&e(t,c),a++):(e&&e(o,c),window.clearInterval(c))}),r)}else e&&e(o)},t.prototype.lazyLoad=function(t){var o=this,e=null!=t?t:o.optUp.lazyLoad.delay,n=setTimeout((function(){for(var t=o.scrollDom.querySelectorAll("["+o.optUp.lazyLoad.attr+"]"),e=t.length,n=0;n<e;n++){var r=t[n];if("true"!==r.getAttribute(o.lazyTag)&&o.isInSee(r,o.optUp.lazyLoad.offset)){var i=r.getAttribute(o.optUp.lazyLoad.attr),s=new Image;s.onload=function(){var t=this.src,e=this.dom,n=o.optUp.lazyLoad.showClass;n&&e.classList.add(n),"IMG"===e.tagName?e.src=t:e.style.backgroundImage="url("+t+")",e.removeAttribute(o.optUp.lazyLoad.attr),e.removeAttribute(o.lazyTag)},s.onerror=function(){this.dom.removeAttribute(o.lazyTag)},s.onabort=function(){this.dom.removeAttribute(o.lazyTag)},s.src=i,r.setAttribute(o.lazyTag,"true"),s.dom=r}}}),e);return n},t.prototype.isInSee=function(t,o){o=o||0;var e=this.getOffsetTop(t),n=this.getScrollTop()-o,r=e+t.offsetHeight,i=n+o+this.getClientHeight()+o;return e<i&&e>=n||r<=i&&r>n},t.prototype.getOffsetTop=function(t){var o=t.offsetTop,e=t.offsetParent;while(null!=e&&e!==this.scrollDom)o+=e.offsetTop+e.clientTop,e=e.offsetParent;return o},t.prototype.getScrollHeight=function(){return this.scrollDom.scrollHeight},t.prototype.getClientHeight=function(){return this.isScrollBody&&"CSS1Compat"===document.compatMode?document.documentElement.clientHeight:this.scrollDom.clientHeight},t.prototype.getBodyHeight=function(){return document.body.clientHeight||document.documentElement.clientHeight},t.prototype.getScrollTop=function(){return this.isScrollBody?document.documentElement.scrollTop||document.body.scrollTop:this.scrollDom.scrollTop},t.prototype.getToBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},t.prototype.setScrollTop=function(t){"number"===typeof t&&(this.isScrollBody?(document.documentElement.scrollTop=t,document.body.scrollTop=t):this.scrollDom.scrollTop=t)},t.prototype.getDomById=function(t){var o;return t&&("string"===typeof t?o=document.getElementById(t):t.nodeType&&(o=t)),o||console.error('the element with id as "'+t+'" can not be found: document.getElementById("'+t+'")==null'),o},t.prototype.removeChild=function(t){if(t){var o=t.parentNode;o&&o.removeChild(t),t=null}},t.prototype.destroy=function(){var t=this;t.scrollDom.removeEventListener("touchstart",t.touchstartEvent),t.scrollDom.removeEventListener("touchmove",t.touchmoveEvent),t.scrollDom.removeEventListener("touchend",t.touchendEvent),t.scrollDom.removeEventListener("touchcancel",t.touchendEvent),t.scrollDom.removeEventListener("mousedown",t.touchstartEvent),t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),t.scrollDom.removeEventListener("mouseup",t.touchendEvent),t.scrollDom.removeEventListener("mouseleave",t.touchendEvent),t.removeChild(t.downwarp),t.isScrollBody?window.removeEventListener("scroll",t.scrollEvent):t.scrollDom.removeEventListener("scroll",t.scrollEvent),t.removeChild(t.upwarp),t.removeChild(t.toTopBtn),t.setBounce(!0)},t}))},fb6a:function(t,o,e){"use strict";var n=e("23e7"),r=e("da84"),i=e("e8b5"),s=e("68ee"),l=e("861d"),a=e("23cb"),c=e("07fa"),p=e("fc6a"),u=e("8418"),d=e("b622"),f=e("1dde"),h=e("f36a"),m=f("slice"),v=d("species"),w=r.Array,g=Math.max;n({target:"Array",proto:!0,forced:!m},{slice:function(t,o){var e,n,r,d=p(this),f=c(d),m=a(t,f),y=a(void 0===o?f:o,f);if(i(d)&&(e=d.constructor,s(e)&&(e===w||i(e.prototype))?e=void 0:l(e)&&(e=e[v],null===e&&(e=void 0)),e===w||void 0===e))return h(d,m,y);for(n=new(void 0===e?w:e)(g(y-m,0)),r=0;m<y;m++,r++)m in d&&u(n,r,d[m]);return n.length=r,n}})}}]);
|