@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 290 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BankSelect=e():t.BankSelect=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1955)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},1:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var l="function"==typeof t?t.options:t;e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId=o);var u;if(s?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):r&&(u=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(l.functional){l._injectStyles=u;var h=l.render;l.render=function(t,e){return u.call(e),h(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}e.a=i},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,n){t.exports={default:n(101),__esModule:!0}},101:function(t,e,n){n(55),t.exports=n(0).Object.getOwnPropertySymbols},102:function(t,e,n){"use strict";function i(t){var e={},n={},i={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==a.indexOf(c))e[c]=t[c];else if(s.test(c)){var l=s.exec(c)[1];l=Object(o.a)(l),i[l]=t[c]}else n[c]=t[c];return e.on=Object(r.a)(i,e.on),e.props=Object(r.a)(n,e.props),e}e.a=i;var r=n(62),o=n(103),s=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},103:function(t,e,n){"use strict";function i(t,e){var n=c(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=i;var r=n(28),o=n.n(r),s=n(4),a=function(t){for(var e=!1,n=!1,i=!1,r=0;r<t.length;r++){var o=t[r];e&&/[a-zA-Z]/.test(o)&&o.toUpperCase()===o?(t=t.slice(0,r)+"-"+t.slice(r),e=!1,i=n,n=!0,r++):n&&i&&/[a-zA-Z]/.test(o)&&o.toLowerCase()===o?(t=t.slice(0,r-1)+"-"+t.slice(r-1),i=n,n=!1,e=!0):(e=o.toLowerCase()===o&&o.toUpperCase()!==o,i=n,n=o.toUpperCase()===o&&o.toLowerCase()!==o)}return t},c=function(t,e){if("string"!=typeof t&&!Object(s.p)(t))throw new TypeError("Expected the input to be `string | string[]`");e=o()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},104:function(t,e,n){"use strict";function i(t,e,n,i){var o=void 0,s=void 0,a=new t({render:function(t){var n=s&&s(t);return n&&!Object(r.p)(n)&&(n=[n]),t(e,o,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,e){o=t,s=e},a.updateRenderData(n,i),a.$mount(),a.init(),a.$children[0]}e.a=i;var r=n(4)},1042:function(t,e,n){"use strict";function i(t){a||n(1043)}var r=n(568),o=n(1044),s=n(1),a=!1,c=i,l=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-503eaf05",null);l.options.__file="src\\components\\Toast\\src\\index.vue",e.a=l.exports},1043:function(t,e){},1044:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{opacity:"0",pointerEvent:t.pointerEvents,zIndex:t.zIndex},scopedSlots:t._u([{key:"mask",fn:function(){return[n("div",{staticClass:"act-toast",style:{fontSize:t._fontSize}},[n("div",{class:{"act-toast-content":!0,icon:""!==t.iconObj,"icon-left":"left"===t.iconObj.align},style:{"text-align":t.align,background:"rgba(0,0,0,"+t.opacity+")"}},[t.iconObj?n("div",{staticClass:"icon-cont"},[n("Loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:t.iconObj.type,size:t.iconObj.size?t.iconObj.size:33,color:t.iconObj.color,bgcolor:t.iconObj.bgcolor,center:t.iconObj.center}})],1):t._e(),t._v(" "),n("div",{staticClass:"toast-txt"},[t._v("\n "+t._s(t.txt)+"\n ")])])])]},proxy:!0}])})},r=[];i._withStripped=!0},1046:function(t,e,n){"use strict";var i=n(39);e.a={name:"ActPanel",mixins:[i.a],props:{title:{type:String,default:""},borderRadius:{type:String,default:"10px"}}}},105:function(t,e,n){"use strict";var i=n(20),r=n(64);e.a={name:"ActPopup",mixins:[i.a,r.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}}},106:function(t,e,n){"use strict";e.__esModule=!0;var i=n(28),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},107:function(t,e,n){var i=n(26),r=n(3)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},108:function(t,e,n){"use strict";function i(t){a||n(120)}var r=n(105),o=n(121),s=n(1),a=!1,c=i,l=Object(s.a)(r.a,o.a,o.b,!1,c,null,null);l.options.__file="src\\components\\common\\popup.vue",e.a=l.exports},11:function(t,e,n){var i=n(47),r=n(29);t.exports=function(t){return i(r(t))}},110:function(t,e,n){var i=n(9),r=n(40),o=n(3)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},111:function(t,e,n){var i,r,o,s=n(38),a=n(146),c=n(60),l=n(41),u=n(2),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},b=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){b.call(t.data)};d&&f||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){a("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete v[t]},"process"==n(26)(h)?i=function(t){h.nextTick(s(b,t,1))}:m&&m.now?i=function(t){m.now(s(b,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=y,i=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):i="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:d,clear:f}},112:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,e,n){var i=n(9),r=n(10),o=n(68);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},114:function(t,e,n){"use strict";function i(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},n="";return n=t&&t.response&&t.response.status?e[t.response.status]?e[t.response.status]+"("+t.response.status+")":"请求失败,请稍后重试("+t.response.status+")":t&&t.message&&/timeout/i.test(t.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",a.a.reject(new Error(n))})}function r(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new a.a(function(r,o){var s=l.a.create();i(s),s.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){r(t)}).catch(function(t){o(t)})})}function o(t){return l.a.get(t).then(function(t){return a.a.resolve(t.data)})}e.a=i,e.d=r,e.c=o;var s=n(52),a=n.n(s),c=n(164),l=n.n(c);e.b=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new a.a(function(r,o){var s=l.a.create();i(s),s.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var n=0,i=t.length;if(void 0===i||"[object Function]"===Object.prototype.toString.call(t)){for(var r in t)if(!1===e.call(t[r],r,t[r]))break}else for(var o=t[0];n<i&&!1!==e.call(o,n,o);o=t[++n]);return t}function n(t,i,r){var o=void 0,s="[object Array]"===Object.prototype.toString.call(i),a="[object Object]"===Object.prototype.toString.call(i);e(i,function(e,i){o=Object.prototype.toString.call(i),r&&(e=r+"["+(a||"[object Object]"===o||"[object Array]"===o?e:"")+"]"),!r&&s?t.add(i.name,i.value):"[object Array]"===o||"[object Object]"===o?n(t,i,e):t.add(e,i)})}if(t){return function(t){var e=[];return e.add=function(t,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(e))},n(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){r(t)}).catch(function(t){o(t)})})}},115:function(t,e,n){var i=n(107),r=n(3)("iterator"),o=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},116:function(t,e,n){"use strict";function i(t){t.preventDefault()}var r={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",i,{passive:!1}):document.body.removeEventListener("touchmove",i,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",i,{passive:!1})}};e.a=r},117:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},118:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(154);e.default=i.a},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},120:function(t,e){},121:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),n("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},r=[];i._withStripped=!0},1212:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(14),r=n(1213);r.a.install=function(t){t.component(r.a.name,r.a),t.prototype.$createPanel=Object(i.a)(r.a,t)},e.default=r.a},1213:function(t,e,n){"use strict";function i(t){a||n(1214)}var r=n(1046),o=n(1215),s=n(1),a=!1,c=i,l=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-4d659c22",null);l.options.__file="src\\components\\Panel\\src\\index.vue",e.a=l.exports},1214:function(t,e){},1215:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"module"},[t.$slots.title?t._t("title"):t.title?n("h3",[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),n("article",{staticClass:"panel",style:{"border-radius":t.borderRadius}},[t.$slots.header?t._t("header"):t._e(),t._v(" "),t._t("default"),t._v(" "),t.$slots.footer?t._t("footer"):t._e()],2)],2)},r=[];i._withStripped=!0},123:function(t,e,n){var i=n(38),r=n(136),o=n(137),s=n(9),a=n(59),c=n(115),l={},u={},e=t.exports=function(t,e,n,h,d){var f,p,m,g,v=d?function(){return t}:c(t),b=i(n,h,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=a(t.length);f>y;y++)if((g=e?b(s(p=t[y])[0],p[1]):b(t[y]))===l||g===u)return g}else for(m=v.call(t);!(p=m.next()).done;)if((g=r(m,b,p.value,e))===l||g===u)return g};e.BREAK=l,e.RETURN=u},124:function(t,e,n){t.exports={default:n(186),__esModule:!0}},125:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},126:function(t,e,n){"use strict";function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=n(17);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,function(t,e){null!==t&&void 0!==t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))}))}),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},127:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},128:function(t,e,n){"use strict";(function(e){function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var r=n(17),o=n(170),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(129):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(129)),t}(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){a.headers[t]={}}),r.forEach(["post","put","patch"],function(t){a.headers[t]=r.merge(s)}),t.exports=a}).call(e,n(153))},129:function(t,e,n){"use strict";var i=n(17),r=n(171),o=n(126),s=n(173),a=n(176),c=n(177),l=n(130);t.exports=function(t){return new Promise(function(e,u){var h=t.data,d=t.headers;i.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",m=t.auth.password||"";d.Authorization="Basic "+btoa(p+":"+m)}var g=s(t.baseURL,t.url);if(f.open(t.method.toUpperCase(),o(g,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,i=t.responseType&&"text"!==t.responseType?f.response:f.responseText,o={data:i,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,u,o),f=null}},f.onabort=function(){f&&(u(l("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){u(l("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),u(l(e,t,"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var v=n(178),b=(t.withCredentials||c(g))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}if("setRequestHeader"in f&&i.forEach(d,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)}),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){f&&(f.abort(),u(t),f=null)}),void 0===h&&(h=null),f.send(h)})}},13:function(t,e,n){var i=n(2),r=n(0),o=n(38),s=n(7),a=n(6),c=function(t,e,n){var l,u,h,d=t&c.F,f=t&c.G,p=t&c.S,m=t&c.P,g=t&c.B,v=t&c.W,b=f?r:r[e]||(r[e]={}),y=b.prototype,x=f?i:p?i[e]:(i[e]||{}).prototype;f&&(n=e);for(l in n)(u=!d&&x&&void 0!==x[l])&&a(b,l)||(h=u?x[l]:n[l],b[l]=f&&"function"!=typeof x[l]?n[l]:g&&u?o(h,i):v&&x[l]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((b.virtual||(b.virtual={}))[l]=h,t&c.R&&y&&!y[l]&&s(y,l,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},130:function(t,e,n){"use strict";var i=n(172);t.exports=function(t,e,n,r,o){var s=new Error(t);return i(s,e,n,r,o)}},131:function(t,e,n){"use strict";var i=n(17);t.exports=function(t,e){e=e||{};var n={},r=["url","method","params","data"],o=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];i.forEach(r,function(t){void 0!==e[t]&&(n[t]=e[t])}),i.forEach(o,function(r){i.isObject(e[r])?n[r]=i.deepMerge(t[r],e[r]):void 0!==e[r]?n[r]=e[r]:i.isObject(t[r])?n[r]=i.deepMerge(t[r]):void 0!==t[r]&&(n[r]=t[r])}),i.forEach(s,function(i){void 0!==e[i]?n[i]=e[i]:void 0!==t[i]&&(n[i]=t[i])});var a=r.concat(o).concat(s),c=Object.keys(e).filter(function(t){return-1===a.indexOf(t)});return i.forEach(c,function(i){void 0!==e[i]?n[i]=e[i]:void 0!==t[i]&&(n[i]=t[i])}),n}},132:function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},1325:function(t,e,n){"use strict";var i=n(20);e.a={name:"ActIndexList",mixins:[i.a],props:{zIndex:{type:Number,default:200},brandColor:{type:String,default:"#8c7fee"},listData:{type:Array,default:function(){return[]}}},data:function(){return{currentIndex:0,moving:!1,currentIndicator:""}},watch:{isVisible:function(t){var e=this;t&&this.$nextTick(function(){e._calculateHeight()})},currentIndex:function(t){var e=this;clearTimeout(this.timer),this.currentIndicator=this.indexList[this.currentIndex],this.moving=!0,this.timer=setTimeout(function(){e.moving=!1},1e3)}},computed:{indexList:function(){return this.listData.map(function(t){return t.title.substring(0,1)})}},created:function(){this.listHeight=[],this.timer=null,this.scrollTimer=null},methods:{_calculateHeight:function(){this.listHeight=[];var t=this.$refs.indexGroup,e=0;if(this.listHeight.push(e),t.length)for(var n=0;n<t.length;n++){var i=t[n];e+=i.clientHeight,this.listHeight.push(e)}},_onTouchStartIndex:function(t){this.currentIndex=t,this.$refs.indexWrap.scrollTop=this.listHeight[t]},_onTouchMoveIndex:function(t){var e=t.targetTouches[0],n=document.elementFromPoint(e.pageX,e.pageY),i=n.dataset&&n.dataset.index||void 0;i&&(this.currentIndex=i,this.$refs.indexWrap.scrollTop=this.listHeight[i])},clickItem:function(t){this.$emit("choose",t),this.hide()},onListWrapScroll:function(t){var e=this;clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(function(){for(var t=e.$refs.indexWrap.scrollTop,n=e.listHeight,i=0;i<n.length-1;i++)if(t<=n[i+1]-30&&t>=n[i])return void(e.currentIndex=i)},20)}},destroyed:function(){clearTimeout(this.timer),clearTimeout(this.scrollTimer)}}},134:function(t,e,n){"use strict";function i(t){a||n(203)}var r=n(156),o=n(204),s=n(1),a=!1,c=i,l=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-f3b563a0",null);l.options.__file="src\\components\\common\\goldlayer.vue",e.a=l.exports},136:function(t,e,n){var i=n(9);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},137:function(t,e,n){var i=n(18),r=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},138:function(t,e,n){"use strict";function i(t){a||n(205)}var r=n(157),o=n(206),s=n(1),a=!1,c=i,l=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-3349a91e",null);l.options.__file="src\\components\\common\\scroll.vue",e.a=l.exports},139:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},1391:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(14),r=n(1392);r.a.install=function(t){t.component(r.a.name,r.a),t.prototype.$createIndexList=Object(i.a)(r.a,t)},e.default=r.a},1392:function(t,e,n){"use strict";function i(t){a||n(1393)}var r=n(1325),o=n(1394),s=n(1),a=!1,c=i,l=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-7b7684a4",null);l.options.__file="src\\components\\IndexList\\src\\index.vue",e.a=l.exports},1393:function(t,e){},1394:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"index-list",style:"z-index: "+t.zIndex},[n("ul",{ref:"indexWrap",staticClass:"index-list-wrap",on:{scroll:function(e){return e.preventDefault(),t.onListWrapScroll.apply(null,arguments)}}},t._l(t.listData,function(e,i){return n("li",{key:i,ref:"indexGroup",refInFor:!0,staticClass:"index-group"},[n("h3",{staticClass:"index-group-title"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),n("ul",t._l(e.items,function(e,i){return n("li",{key:i,staticClass:"index-group-item",on:{click:function(n){return t.clickItem(e)}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:e.avatar,expression:"item.avatar"}],staticClass:"avatar",attrs:{src:e.avatar,alt:""}}),t._v(" "),n("span",{staticClass:"name"},[t._v("\n "+t._s(e.name)+"\n ")])])}),0)])}),0),t._v(" "),n("div",{staticClass:"index-nav",style:"z-index: "+(t.zIndex+1)},[n("ul",t._l(t.indexList,function(e,i){return n("li",{key:i,staticClass:"nav-item",class:{active:t.currentIndex===i},style:"background: "+(t.currentIndex===i?t.brandColor:""),attrs:{"data-index":i},on:{touchmove:function(e){return e.preventDefault(),t._onTouchMoveIndex.apply(null,arguments)},touchstart:function(e){return e.preventDefault(),t._onTouchStartIndex(i)}}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.moving,expression:"moving"}],staticClass:"index-indicator"},[t._v("\n "+t._s(t.currentIndicator)+"\n ")])])],1)},r=[];i._withStripped=!0},14:function(t,e,n){"use strict";function i(t,e){return function(n,i){var s=this,a=Object(r.a)(n),c=Object(o.a)(e,t,a,i),l=c.$parent,u=c.remove,h=c.show,d=c.hide;return c.remove=function(){c.$removed=!0,u&&u.call(this),l.destroy()},c.show=function(){return h&&h.call.apply(h,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return d&&d.call.apply(d,[this].concat(Array.prototype.slice.call(arguments))),this},s&&s._isVue&&s.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}e.a=i;var r=n(102),o=n(104)},140:function(t,e,n){var i=n(7);t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},141:function(t,e,n){var i=n(3)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},142:function(t,e,n){"use strict";var i=n(2),r=n(0),o=n(8),s=n(5),a=n(3)("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},144:function(t,e,n){n(61),n(53),n(56),n(145),n(149),n(150),t.exports=n(0).Promise},145:function(t,e,n){"use strict";var i,r,o,s,a=n(16),c=n(2),l=n(38),u=n(107),h=n(13),d=n(10),f=n(40),p=n(139),m=n(123),g=n(110),v=n(111).set,b=n(147)(),y=n(68),x=n(112),w=n(148),A=n(113),k=c.TypeError,C=c.process,S=C&&C.versions,_=S&&S.v8||"",T=c.Promise,O="process"==u(C),B=function(){},M=r=y.f,E=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(B,B)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(B)instanceof e&&0!==_.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;b(function(){for(var i=t._v,r=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&N(t),t._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),s=!0)),n===e.promise?l(k("Promise-chain cycle")):(o=I(n))?o.call(n,c,l):c(n)):l(i)}catch(t){u&&!s&&u.exit(),l(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&L(t)})}},L=function(t){v.call(c,function(){var e,n,i,r=t._v,o=P(t);if(o&&(e=x(function(){O?C.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=O||P(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},P=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){v.call(c,function(){var e;O?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=I(t))?b(function(){var i={_w:n,_d:!1};try{e.call(t,l(z,i,1),l(R,i,1))}catch(t){R.call(i,t)}}):(n._v=t,n._s=1,j(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};E||(T=function(t){p(this,T,"Promise","_h"),f(t),i.call(this);try{t(l(z,this,1),l(R,this,1))}catch(t){R.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(140)(T.prototype,{then:function(t,e){var n=M(g(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=l(z,t,1),this.reject=l(R,t,1)},y.f=M=function(t){return t===T||t===s?new o(t):r(t)}),h(h.G+h.W+h.F*!E,{Promise:T}),n(27)(T,"Promise"),n(142)("Promise"),s=n(0).Promise,h(h.S+h.F*!E,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(a||!E),"Promise",{resolve:function(t){return A(a&&this===s?T:this,t)}}),h(h.S+h.F*!(E&&n(141)(function(t){T.all(t).catch(B)})),"Promise",{all:function(t){var e=this,n=M(e),i=n.resolve,r=n.reject,o=x(function(){var n=[],o=0,s=1;m(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=M(e),i=n.reject,r=x(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},146:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},147:function(t,e,n){var i=n(2),r=n(111).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,c="process"==n(26)(s);t.exports=function(){var t,e,n,l=function(){var i,r;for(c&&(i=s.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){s.nextTick(l)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(l)}}else n=function(){r.call(i,l)};else{var h=!0,d=document.createTextNode("");new o(l).observe(d,{characterData:!0}),n=function(){d.data=h=!h}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},148:function(t,e,n){var i=n(2),r=i.navigator;t.exports=r&&r.userAgent||""},149:function(t,e,n){"use strict";var i=n(13),r=n(0),o=n(2),s=n(110),a=n(113);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},15:function(t,e,n){var i=n(50),r=n(33);t.exports=Object.keys||function(t){return i(t,r)}},150:function(t,e,n){"use strict";var i=n(13),r=n(68),o=n(112);i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},152:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(4),r=function(){var t=!0;if(i.K.isIOS){var e=Object(i.l)(navigator.userAgent.toLowerCase());if(!e)return t;Number(""+e.major+e.minor)>=133&&(t=!1)}return t}()},153:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function o(t){if(h===clearTimeout)return clearTimeout(t);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function s(){m&&f&&(m=!1,f.length?p=f.concat(p):g=-1,p.length&&a())}function a(){if(!m){var t=r(s);m=!0;for(var e=p.length;e;){for(f=p,p=[];++g<e;)f&&f[g].run();g=-1,e=p.length}f=null,m=!1,o(t)}}function c(t,e){this.fun=t,this.array=e}function l(){}var u,h,d=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(t){u=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(t){h=i}}();var f,p=[],m=!1,g=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new c(t,e)),1!==p.length||m||r(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},154:function(t,e,n){"use strict";function i(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function r(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];for(var r=0;r<n.length;r++){var o=n[r];for(var s in o)t[s]=o[s]}return t}function o(t){return void 0===t||null===t}function s(t,e){return Math.sqrt(t*t+e*e)}function a(t){return!1!==N&&("standard"===N?"transitionEnd"===t?"transitionend":t:N+t.charAt(0).toUpperCase()+t.substr(1))}function c(t,e,n,i){t.addEventListener(e,n,{passive:!1,capture:!!i})}function l(t,e,n,i){t.removeEventListener(e,n,{passive:!1,capture:!!i})}function u(t){for(var e=0,n=0;t;)e-=t.offsetLeft,n-=t.offsetTop,t=t.offsetParent;return{left:e,top:n}}function h(t){var e=t.getBoundingClientRect();return{left:-(e.left+window.pageXOffset),top:-(e.top+window.pageYOffset)}}function d(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function f(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1}function p(t,e){var n=document.createEvent("Event");n.initEvent(e,!0,!0),n.pageX=t.pageX,n.pageY=t.pageY,t.target.dispatchEvent(n)}function m(t){function e(){s=document.createEvent("Event"),s.initEvent(n,a,c),r(s,o)}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",i=void 0;"mouseup"===t.type||"mousecancel"===t.type?i=t:"touchend"!==t.type&&"touchcancel"!==t.type||(i=t.changedTouches[0]);var o={};i&&(o.screenX=i.screenX||0,o.screenY=i.screenY||0,o.clientX=i.clientX||0,o.clientY=i.clientY||0);var s=void 0,a=!0,c=!0;if("undefined"!=typeof MouseEvent)try{s=new MouseEvent(n,r({bubbles:a,cancelable:c},o))}catch(t){e()}else e();s.forwardedTouchEvent=!0,s._constructed=!0,t.target.dispatchEvent(s)}function g(t){m(t,"dblclick")}function v(t,e){e.firstChild?b(t,e.firstChild):e.appendChild(t)}function b(t,e){e.parentNode.insertBefore(t,e)}function y(t,e){t.removeChild(e)}function x(t,e,n,i,r,o,s){var a=t-e,c=Math.abs(a)/n,l=s.deceleration,u=s.itemHeight,h=s.swipeBounceTime,d=s.wheel,f=s.swipeTime,p=f,m=d?4:15,g=t+c/l*(a<0?-1:1);return d&&u&&(g=Math.round(g/u)*u),g<i?(g=o?Math.max(i-o/4,i-o/m*c):i,p=h):g>r&&(g=o?Math.min(r+o/4,r+o/m*c):r,p=h),{destination:Math.round(g),duration:p}}function w(){}function A(t){console.error("[BScroll warn]: "+t)}function k(t,e){if(!t)throw new Error("[BScroll] "+e)}function C(t){var e=document.createElement("div"),n=document.createElement("div");return e.style.cssText="position:absolute;z-index:9999;pointerEvents:none",n.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",n.className="bscroll-indicator","horizontal"===t?(e.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",n.style.height="100%",e.className="bscroll-horizontal-scrollbar"):(e.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",n.style.width="100%",e.className="bscroll-vertical-scrollbar"),e.style.cssText+=";overflow:hidden",e.appendChild(n),e}function S(t,e){this.wrapper=e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=e.direction,e.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,e.interactive&&this._addDOMEvents()}function _(t){if(t&&t.classList)return t.classList.contains("tombstone")}function T(t,e){var n=this;this.options=e,k("function"==typeof this.options.createTombstone,"Infinite scroll need createTombstone Function to create tombstone"),k("function"==typeof this.options.fetch,"Infinite scroll need fetch Function to fetch new data."),k("function"==typeof this.options.render,"Infinite scroll need render Function to render each item."),this.firstAttachedItem=0,this.lastAttachedItem=0,this.anchorScrollTop=0,this.anchorItem={index:0,offset:0},this.tombstoneHeight=0,this.tombstoneWidth=0,this.tombstones=[],this.items=[],this.loadedItems=0,this.requestInProgress=!1,this.hasMore=!0,this.scroller=t,this.wrapperEl=this.scroller.wrapper,this.scrollerEl=this.scroller.scroller,this.scroller.on("scroll",function(){n.onScroll()}),this.scroller.on("resize",function(){n.onResize()}),this.onResize()}function O(t,e){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||A("Can not resolve the wrapper DOM."),this.scroller=this.wrapper.children[0],this.scroller||A("The wrapper need at least one child element to be scroller."),this.scrollerStyle=this.scroller.style,this._init(t,e)}var B=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},E="undefined"!=typeof window,I=E&&navigator.userAgent.toLowerCase(),j=I&&/wechatdevtools/.test(I),L=I&&I.indexOf("android")>0,P=E&&document.createElement("div").style,N=function(){if(!E)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==P[t[e]])return e;return!1}(),R=a("transform"),z=E&&a("perspective")in P,D=E&&("ontouchstart"in window||j),V=!1!==R,X=E&&a("transition")in P,W={transform:R,transitionTimingFunction:a("transitionTimingFunction"),transitionDuration:a("transitionDuration"),transitionDelay:a("transitionDelay"),transformOrigin:a("transformOrigin"),transitionEnd:a("transitionEnd")},U=1,Y={touchstart:U,touchmove:U,touchend:U,mousedown:2,mousemove:2,mouseup:2},F={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.0015,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:D,disableTouch:!D,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1,zoom:!1,infinity:!1,dblclick:!1},H={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},$=function(){return E?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:w}(),G=function(){return E?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:w}(),q=1,K=-1,Q=1,J=-1,Z=1,tt=3;S.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},S.prototype.refresh=function(){this._shouldShow()&&(this.transitionTime(),this._calculate(),this.updatePosition())},S.prototype.fade=function(t,e){var n=this;if(!e||this.visible){var i=t?250:500;t=t?"1":"0",this.wrapperStyle[W.transitionDuration]=i+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){n.wrapperStyle.opacity=t,n.visible=+t},0)}},S.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var n=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=n+"px",t=this.maxPosY+this.indicatorHeight-n}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[W.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var i=Math.round(this.sizeRatioX*this.scroller.x);if(i<0){this.transitionTime(500);var r=Math.max(this.indicatorWidth+3*i,8);this.indicatorStyle.width=r+"px",i=0}else if(i>this.maxPosX){this.transitionTime(500);var o=Math.max(this.indicatorWidth-3*(i-this.maxPosX),8);this.indicatorStyle.width=o+"px",i=this.maxPosX+this.indicatorWidth-o}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=i,this.scroller.options.useTransform?this.indicatorStyle[W.transform]="translateX("+i+"px)"+this.scroller.translateZ:this.indicatorStyle.left=i+"px"}},S.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[W.transitionDuration]=t+"ms"},S.prototype.transitionTimingFunction=function(t){this.indicatorStyle[W.transitionTimingFunction]=t},S.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},S.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=i(),this._handleMoveEvents(c),this.scroller.trigger("beforeScrollStart")},S.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var n=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var i=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var r=this.x+n,o=this.y+i;this._pos(r,o)},S.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(l);var e=this.scroller.options.snap;if(e){var n=e.speed,i=e.easing,r=void 0===i?H.bounce:i,o=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),s=n||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-o.x),1e3),Math.min(Math.abs(this.scroller.y-o.y),1e3)),300);this.scroller.x===o.x&&this.scroller.y===o.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=o,this.scroller.scrollTo(o.x,o.y,s,r))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},S.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},S.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?(this.wrapper.style.display="",!0):(this.wrapper.style.display="none",!1)},S.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},S.prototype._addDOMEvents=function(){var t=c;this._handleDOMEvents(t)},S.prototype._removeDOMEvents=function(){var t=l;this._handleDOMEvents(t),this._handleMoveEvents(t)},S.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},S.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))};var et=2e3;T.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var n=this._calculateAnchoredItem(this.anchorItem,this.wrapperEl.offsetHeight),i=this.anchorItem.index,r=n.index;e<0?(i-=30,r+=10):(i-=10,r+=30),this.fill(i,r),this.maybeRequestContent()},T.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;e<this.items.length;e++)this.items[e].height=this.items[e].width=0;this.onScroll()},T.prototype.fill=function(t,e){this.firstAttachedItem=Math.max(0,t),this.hasMore||(e=Math.min(e,this.items.length)),this.lastAttachedItem=e,this.attachContent()},T.prototype.maybeRequestContent=function(){var t=this;if(!this.requestInProgress&&this.hasMore){var e=this.lastAttachedItem-this.loadedItems;e<=0||(this.requestInProgress=!0,this.options.fetch(e).then(function(e){if(t.requestInProgress=!1,e)t.addContent(e);else{t.hasMore=!1;var n=t._removeTombstones(),i=0;t.anchorItem.index<=t.items.length?(i=t._fixScrollPosition(),t._setupAnimations({},i),t.scroller.resetPosition(t.scroller.options.bounceTime)):(t.anchorItem.index-=n,i=t._fixScrollPosition(),t._setupAnimations({},i),t.scroller.stop(),t.scroller.resetPosition(),t.onScroll())}}))}},T.prototype.addContent=function(t){for(var e=0;e<t.length;e++)this.items.length<=this.loadedItems&&this._addItem(),this.items[this.loadedItems++].data=t[e];this.attachContent(),this.maybeRequestContent()},T.prototype.attachContent=function(){var t=this._collectUnusedNodes(),e=this._createDOMNodes(t);this._cleanupUnusedNodes(t),this._cacheNodeSize();var n=this._fixScrollPosition();this._setupAnimations(e,n)},T.prototype.resetMore=function(){this.hasMore=!0},T.prototype._removeTombstones=function(){for(var t=void 0,e=0,n=this.items.length,i=0;i<n;i++){var r=this.items[i].node,o=this.items[i].data;r&&!_(r)||o||(t||(t=i),r&&this.scrollerEl.removeChild(r))}return e=n-t,this.items.splice(t),this.lastAttachedItem=Math.min(this.lastAttachedItem,this.items.length),e},T.prototype._collectUnusedNodes=function(){for(var t=[],e=0;e<this.items.length;e++)if(e!==this.firstAttachedItem){var n=this.items[e].node;n&&(_(n)?(this.tombstones.push(n),this.tombstones[this.tombstones.length-1].style.display="none"):t.push(n)),this.items[e].node=null}else e=this.lastAttachedItem-1;return t},T.prototype._createDOMNodes=function(t){for(var e={},n=this.firstAttachedItem;n<this.lastAttachedItem;n++){for(;this.items.length<=n;)this._addItem();var i=this.items[n].node,r=this.items[n].data;if(i){if(!_(i)||!r)continue;i.style.zIndex=1,e[n]=[i,this.items[n].top-this.anchorScrollTop],this.items[n].node=null}var o=r?this.options.render(r,t.pop()):this._getTombStone();o.style.position="absolute",this.items[n].top=-1,this.scrollerEl.appendChild(o),this.items[n].node=o}return e},T.prototype._cleanupUnusedNodes=function(t){for(;t.length;)this.scrollerEl.removeChild(t.pop())},T.prototype._cacheNodeSize=function(){for(var t=this.firstAttachedItem;t<this.lastAttachedItem;t++)this.items[t].data&&!this.items[t].height&&(this.items[t].height=this.items[t].node.offsetHeight,this.items[t].width=this.items[t].node.offsetWidth)},T.prototype._fixScrollPosition=function(){this.anchorScrollTop=0;for(var t=0;t<this.anchorItem.index;t++)this.anchorScrollTop+=this.items[t].height||this.tombstoneHeight;this.anchorScrollTop+=this.anchorItem.offset;for(var e=this.anchorScrollTop-this.anchorItem.offset,n=this.anchorItem.index;n>this.firstAttachedItem;)e-=this.items[n-1].height||this.tombstoneHeight,n--;return e},T.prototype._setupAnimations=function(t,e){var n=this;for(var i in t){var r=t[i];this.items[i].node.style.transform="translateY("+(this.anchorScrollTop+r[1])+"px) scale("+this.tombstoneWidth/this.items[i].width+", "+this.tombstoneHeight/this.items[i].height+")",this.items[i].node.offsetTop,r[0].offsetTop,this.items[i].node.style.transition="transform 200ms"}for(var o=this.firstAttachedItem;o<this.lastAttachedItem;o++){var s=t[o];if(s){var a=s[0];a.style.transition="transform 200ms, opacity 200ms",a.style.transform="translateY("+e+"px) scale("+this.items[o].width/this.tombstoneWidth+", "+this.items[o].height/this.tombstoneHeight+")",a.style.opacity=0}e!==this.items[o].top&&(s||(this.items[o].node.style.transition=""),this.items[o].node.style.transform="translateY("+e+"px)"),this.items[o].top=e,e+=this.items[o].height||this.tombstoneHeight}this.scroller.maxScrollY=-(e-this.wrapperEl.offsetHeight+(this.hasMore?et:0)),setTimeout(function(){for(var e in t){var i=t[e];i[0].style.display="none",n.tombstones.push(i[0])}},200)},T.prototype._getTombStone=function(){var t=this.tombstones.pop();return t?(t.style.display="",t.style.opacity=1,t.style.transform="",t.style.transition="",t):this.options.createTombstone()},T.prototype._addItem=function(){this.ite