(self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[4998],{36719:function(t,e,n){"use strict";function r(t,e){0}function i(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function o(t,e){for(var n in e)t[n]=e[n];return t}n.r(e);var a={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,a=e.data;a.routerView=!0;var c=i.$createElement,u=n.name,l=i.$route,f=i._routerViewCache||(i._routerViewCache={}),h=0,d=!1;while(i&&i._routerRoot!==i)i.$vnode&&i.$vnode.data.routerView&&h++,i._inactive&&(d=!0),i=i.$parent;if(a.routerViewDepth=h,d)return c(f[u],a,r);var p=l.matched[h];if(!p)return f[u]=null,c();var v=f[u]=p.components[u];a.registerRouteInstance=function(t,e){var n=p.instances[u];(e&&n!==t||!e&&n===t)&&(p.instances[u]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){p.instances[u]=e.componentInstance};var g=a.props=s(l,p.props&&p.props[u]);if(g){g=a.props=o({},g);var m=a.attrs=a.attrs||{};for(var y in g)v.props&&y in v.props||(m[y]=g[y],delete g[y])}return c(v,a,r)}};function s(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}var c=/[!'()*]/g,u=function(t){return"%"+t.charCodeAt(0).toString(16)},l=/%2C/g,f=function(t){return encodeURIComponent(t).replace(c,u).replace(l,",")},h=decodeURIComponent;function d(t,e,n){void 0===e&&(e={});var r,i=n||p;try{r=i(t||"")}catch(a){r={}}for(var o in e)r[o]=e[o];return r}function p(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=h(n.shift()),i=n.length>0?h(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function v(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return f(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(f(e)):r.push(f(e)+"="+f(t)))})),r.join("&")}return f(e)+"="+f(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var g=/\/?$/;function m(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=y(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",type:e.type,query:o,params:e.params||{},fullPath:_(e,i),matched:t?w(t):[]};return n&&(a.redirectedFrom=_(n,i)),Object.freeze(a)}function y(t){if(Array.isArray(t))return t.map(y);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=y(t[n]);return e}return t}var b=m(null,{path:"/"});function w(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function _(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||v;return(n||"/")+o(r)+i}function x(t,e){return e===b?t===e:!!e&&(t.path&&e.path?t.path.replace(g,"")===e.path.replace(g,"")&&t.hash===e.hash&&S(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&S(t.query,e.query)&&S(t.params,e.params)))}function S(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((function(n){var r=t[n],i=e[n];return"object"===typeof r&&"object"===typeof i?S(r,i):String(r)===String(i)}))}function k(t,e){return 0===t.path.replace(g,"/").indexOf(e.path.replace(g,"/"))&&(!e.hash||t.hash===e.hash)&&C(t.query,e.query)}function C(t,e){for(var n in e)if(!(n in t))return!1;return!0}var A,T=[String,Object],O=[String,Array],E={name:"RouterLink",props:{to:{type:T,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:O,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),a=i.location,s=i.route,c=i.href,u={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,h=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,p=null==this.activeClass?h:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,g=a.path?m(null,a,null,n):s;u[v]=x(r,g),u[p]=this.exact?u[v]:k(r,g);var y=function(t){j(t)&&(e.replace?n.replace(a):n.push(a))},b={click:j};Array.isArray(this.event)?this.event.forEach((function(t){b[t]=y})):b[this.event]=y;var w={class:u};if("a"===this.tag)w.on=b,w.attrs={href:c};else{var _=I(this.$slots.default);if(_){_.isStatic=!1;var S=_.data=o({},_.data);S.on=b;var C=_.data.attrs=o({},_.data.attrs);C.href=c}else w.on=b}return t(this.tag,w,this.$slots.default)}};function j(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function I(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function N(t){return t.replace(/\/\//g,"/")}var R=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},D=rt,$=q,F=U,z=Y,H=nt,W=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function q(t,e){var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=W.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var f=t[o],h=n[2],d=n[3],p=n[4],v=n[5],g=n[6],m=n[7];a&&(r.push(a),a="");var y=null!=h&&null!=f&&f!==h,b="+"===g||"*"===g,w="?"===g||"*"===g,_=n[2]||s,x=p||v;r.push({name:d||i++,prefix:h||"",delimiter:_,optional:w,repeat:b,partial:y,asterisk:!!m,pattern:x?Z(x):m?".*":"[^"+X(_)+"]+?"})}}return o-1&&(s.params[h]=n.params[h]);if(u)return s.path=ot(u.path,s.params,'named route "'+c+'"'),f(u,s,o)}else if(s.path){s.params=s.params||{};for(var d=0;d=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function Lt(t){return function(e,n,r){var o=!1,a=0,s=null;Bt(t,(function(t,e,n,c){if("function"===typeof t&&void 0===t.cid){o=!0,a++;var u,l=$t((function(e){Dt(e)&&(e=e.default),t.resolved="function"===typeof e?e:A.extend(e),n.components[c]=e,a--,a<=0&&r()})),f=$t((function(t){var e="Failed to resolve async component "+c+": "+t;s||(s=i(t)?t:new Error(e),r(s))}));try{u=t(l,f)}catch(d){f(d)}if(u)if("function"===typeof u.then)u.then(l,f);else{var h=u.component;h&&"function"===typeof h.then&&h.then(l,f)}}})),o||r()}}function Bt(t,e){return Nt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Nt(t){return Array.prototype.concat.apply([],t)}var Rt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Dt(t){return t.__esModule||Rt&&"Module"===t[Symbol.toStringTag]}function $t(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Ft=function(t,e){this.router=t,this.base=zt(e),this.current=b,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function zt(t){if(!t)if(M){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function Ht(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e;return r+"#"+t}function ie(t,e){Ct?It(re(t),e):window.location.hash=t}function oe(t,e){Ct?Pt(re(t),e):window.location.replace(re(t))}var ae=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){e.index=n,e.updateRoute(r)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ft),se=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ft(t.routes||[],this),this.id=t.id||1,this.minId=t.id||1;var e=t.mode||"hash";switch(this.fallback="history"===e&&!Ct&&!1!==t.fallback,this.fallback&&(e="hash"),M||(e="abstract"),this.mode=e,e){case"history":this.history=new Gt(this,t.base);break;case"hash":this.history=new Kt(this,t.base,this.fallback);break;case"abstract":this.history=new ae(this,t.base);break;default:0}},ce={currentRoute:{configurable:!0}};function ue(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function le(t,e,n){var r="hash"===n?"#"+e:e;return t?N(t+"/"+r):r}se.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},ce.currentRoute.get=function(){return this.history&&this.history.current},se.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Gt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}else if(n instanceof Kt){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},se.prototype.beforeEach=function(t){return ue(this.beforeHooks,t)},se.prototype.beforeResolve=function(t){return ue(this.resolveHooks,t)},se.prototype.afterEach=function(t){return ue(this.afterHooks,t)},se.prototype.onReady=function(t,e){this.history.onReady(t,e)},se.prototype.onError=function(t){this.history.onError(t)},se.prototype.push=function(t,e,n){this.history.push(t,e,n)},se.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},se.prototype.go=function(t){this.history.go(t)},se.prototype.back=function(){this.go(-1)},se.prototype.forward=function(){this.go(1)},se.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},se.prototype.resolve=function(t,e,n){var r=lt(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=le(a,o,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},se.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==b&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(se.prototype,ce),se.install=P,se.version="3.0.1",e["default"]=se},56:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return o(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function _(t,e){return w.call(t,e)}function x(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var S=/-(\w)/g,k=x((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),C=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,T=x((function(t){return t.replace(A,"-$1").toLowerCase()}));function O(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function E(t,e){return t.bind(e)}var j=Function.prototype.bind?E:O;function I(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function P(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n0,rt=tt&&tt.indexOf("edge/")>0,it=(tt&&tt.indexOf("android"),tt&&/iphone|ipad|ipod|ios/.test(tt)||"ios"===K),ot=(tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt),tt&&tt.match(/firefox\/(\d+)/)),at={}.watch,st=!1;if(G)try{var ct={};Object.defineProperty(ct,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,ct)}catch(Pa){}var ut=function(){return void 0===X&&(X=!G&&!J&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),X},lt=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,dt="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);ht="undefined"!==typeof Set&&ft(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var pt=L,vt=0,gt=function(){this.id=vt++,this.subs=[]};function mt(t){gt.SharedObject.targetStack.push(t),gt.SharedObject.target=t,gt.target=t}function yt(){gt.SharedObject.targetStack.pop(),gt.SharedObject.target=gt.SharedObject.targetStack[gt.SharedObject.targetStack.length-1],gt.target=gt.SharedObject.target}gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){b(this.subs,t)},gt.prototype.depend=function(){gt.SharedObject.target&>.SharedObject.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!_(i,"default"))a=!1;else if(""===a||a===T(t)){var c=te(String,i.type);(c<0||s0&&(r=Oe(r,(e||"")+"_"+n),Te(r[0])&&Te(u)&&(l[s]=xt(u.text+r[0].text),r.shift()),l.push.apply(l,r)):c(r)?Te(u)?l[s]=xt(u.text+r):""!==r&&l.push(xt(r)):Te(r)&&Te(u)?l[s]=xt(u.text+r.text):(a(t._isVList)&&o(r.tag)&&i(r.key)&&o(e)&&(r.key="__vlist"+e+"_"+n+"__"),l.push(r)));return l}function Ee(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function je(t){var e=Ie(t.$options.inject,t);e&&(Et(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),Et(!0))}function Ie(t,e){if(t){for(var n=Object.create(null),r=dt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Be(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=Ne(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),V(i,"$stable",a),V(i,"$key",s),V(i,"$hasNormal",o),i}function Be(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ae(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Ne(t,e){return function(){return t[e]}}function Re(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,i=t.length;r1?I(n):n;for(var r=I(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Xn=function(){return Zn.now()})}function Gn(){var t,e;for(Yn=Xn(),Un=!0,zn.sort((function(t,e){return t.id-e.id})),Vn=0;VnVn&&zn[n].id>t.id)n--;zn.splice(n+1,0,t)}else zn.push(t);qn||(qn=!0,pe(Gn))}}var nr=0,rr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ht,this.newDepIds=new ht,this.expression="","function"===typeof e?this.getter=e:(this.getter=Y(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Pa){if(!this.user)throw Pa;ee(Pa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ge(t),yt(),this.cleanupDeps()}return t},rr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},rr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},rr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Pa){ee(Pa,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:L,set:L};function or(t,e,n){ir.get=function(){return this[e][n]},ir.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ir)}function ar(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&vr(t,e.methods),e.data?cr(t):Mt(t._data={},!0),e.computed&&fr(t,e.computed),e.watch&&e.watch!==at&&gr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Et(!1);var a=function(o){i.push(o);var a=Zt(o,e,n,t);Lt(r,o,a),o in t||or(t,"_props",o)};for(var s in e)a(s);Et(!0)}function cr(t){var e=t.$options.data;e=t._data="function"===typeof e?ur(e,t):e||{},f(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&_(r,o)||U(o)||or(t,"_data",o)}Mt(e,!0)}function ur(t,e){mt();try{return t.call(e,e)}catch(Pa){return ee(Pa,e,"data()"),{}}finally{yt()}}var lr={lazy:!0};function fr(t,e){var n=t._computedWatchers=Object.create(null),r=ut();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new rr(t,a||L,L,lr)),i in t||hr(t,i,o)}}function hr(t,e,n){var r=!ut();"function"===typeof n?(ir.get=r?dr(e):pr(n),ir.set=L):(ir.get=n.get?r&&!1!==n.cache?dr(e):pr(n.get):L,ir.set=n.set||L),Object.defineProperty(t,e,ir)}function dr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.SharedObject.target&&e.depend(),e.value}}function pr(t){return function(){return t.call(this,this)}}function vr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?L:j(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=I(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ar(t){t.mixin=function(t){return this.options=Yt(this.options,t),this}}function Tr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Yt(n.options,t),a["super"]=n,a.options.props&&Or(a),a.options.computed&&Er(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),i[r]=a,a}}function Or(t){var e=t.options.props;for(var n in e)or(t.prototype,"_props",n)}function Er(t){var e=t.options.computed;for(var n in e)hr(t.prototype,n,e[n])}function jr(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Ir(t){return t&&(t.Ctor.options.name||t.tag)}function Pr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Mr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Ir(a.componentOptions);s&&!e(s)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,b(n,e)}wr(kr),yr(kr),jn(kr),Ln(kr),bn(kr);var Br=[String,RegExp,Array],Nr={name:"keep-alive",abstract:!0,props:{include:Br,exclude:Br,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Mr(t,(function(t){return Pr(e,t)}))})),this.$watch("exclude",(function(e){Mr(t,(function(t){return!Pr(e,t)}))}))},render:function(){var t=this.$slots.default,e=kn(t),n=e&&e.componentOptions;if(n){var r=Ir(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Pr(o,r))||a&&r&&Pr(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,b(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&Lr(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Rr={KeepAlive:Nr};function Dr(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:pt,extend:P,mergeOptions:Yt,defineReactive:Lt},t.set=Bt,t.delete=Nt,t.nextTick=pe,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,Rr),Cr(t),Ar(t),Tr(t),jr(t)}Dr(kr),Object.defineProperty(kr.prototype,"$isServer",{get:ut}),Object.defineProperty(kr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kr,"FunctionalRenderContext",{value:Je}),kr.version="2.6.11";var $r=m("style,class"),Fr=m("input,textarea,option,select,progress"),zr=function(t,e,n){return"value"===n&&Fr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Hr=m("contenteditable,draggable,spellcheck"),Wr=m("events,caret,typing,plaintext-only"),qr=function(t,e){return Xr(e)||"false"===e?"false":"contenteditable"===t&&Wr(e)?e:"true"},Ur=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Qr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Yr=function(t){return Qr(t)?t.slice(6,t.length):""},Xr=function(t){return null==t||!1===t};function Zr(t){var e=t.data,n=t,r=t;while(o(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Gr(r.data,e));while(o(n=n.parent))n&&n.data&&(e=Gr(e,n.data));return Jr(e.staticClass,e.class)}function Gr(t,e){return{staticClass:Kr(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Jr(t,e){return o(t)||o(e)?Kr(t,ti(e)):""}function Kr(t,e){return t?e?t+" "+e:t:e||""}function ti(t){return Array.isArray(t)?ei(t):u(t)?ni(t):"string"===typeof t?t:""}function ei(t){for(var e,n="",r=0,i=t.length;r-1?ci[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ci[t]=/HTMLUnknownElement/.test(e.toString())}var li=m("text,number,password,search,email,tel,url");function fi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function di(t,e){return document.createElementNS(ri[t],e)}function pi(t){return document.createTextNode(t)}function vi(t){return document.createComment(t)}function gi(t,e,n){t.insertBefore(e,n)}function mi(t,e){t.removeChild(e)}function yi(t,e){t.appendChild(e)}function bi(t){return t.parentNode}function wi(t){return t.nextSibling}function _i(t){return t.tagName}function xi(t,e){t.textContent=e}function Si(t,e){t.setAttribute(e,"")}var ki=Object.freeze({createElement:hi,createElementNS:di,createTextNode:pi,createComment:vi,insertBefore:gi,removeChild:mi,appendChild:yi,parentNode:bi,nextSibling:wi,tagName:_i,setTextContent:xi,setStyleScope:Si}),Ci={create:function(t,e){Ai(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ai(t,!0),Ai(e))},destroy:function(t){Ai(t,!0)}};function Ai(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?b(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Ti=new bt("",{},[]),Oi=["create","activate","update","remove","destroy"];function Ei(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&ji(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function ji(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||li(r)&&li(i)}function Ii(t,e,n){var r,i,a={};for(r=e;r<=n;++r)i=t[r].key,o(i)&&(a[i]=r);return a}function Pi(t){var e,n,r={},s=t.modules,u=t.nodeOps;for(e=0;ev?(f=i(n[y+1])?null:n[y+1].elm,S(t,f,n,p,y,r)):p>y&&C(e,h,v)}function O(t,e,n,r){for(var i=n;i-1?Vi(t,e,n):Ur(e)?Xr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Hr(e)?t.setAttribute(e,qr(e,n)):Qr(e)?Xr(n)?t.removeAttributeNS(Vr,Yr(e)):t.setAttributeNS(Vr,e,n):Vi(t,e,n)}function Vi(t,e,n){if(Xr(n))t.removeAttribute(e);else{if(et&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Qi={create:qi,update:qi};function Yi(t,e){var n=e.elm,r=e.data,a=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class))&&i(n.__wxsAddClass)&&i(n.__wxsRemoveClass))){var s=Zr(e),c=n._transitionClasses;if(o(c)&&(s=Kr(s,ti(c))),Array.isArray(n.__wxsRemoveClass)&&n.__wxsRemoveClass.length){var u=s.split(/\s+/);n.__wxsRemoveClass.forEach((function(t){var e=u.findIndex((function(e){return e===t}));-1!==e&&u.splice(e,1)})),s=u.join(" "),n.__wxsRemoveClass.length=0}if(n.__wxsAddClass){var l=s.split(/\s+/).concat(n.__wxsAddClass.split(/\s+/)),f=Object.create(null);l.forEach((function(t){t&&(f[t]=1)})),s=Object.keys(f).join(" ")}var h=e.context,d=h.$options.mpOptions&&h.$options.mpOptions.externalClasses;Array.isArray(d)&&d.forEach((function(t){var e=h[k(t)];e&&(s=s.replace(t,e))})),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Xi,Zi={create:Yi,update:Yi},Gi="__r",Ji="__c";function Ki(t){if(o(t[Gi])){var e=et?"change":"input";t[e]=[].concat(t[Gi],t[e]||[]),delete t[Gi]}o(t[Ji])&&(t.change=[].concat(t[Ji],t.change||[]),delete t[Ji])}function to(t,e,n){var r=Xi;return function i(){var o=e.apply(null,arguments);null!==o&&ro(t,i,n,r)}}var eo=ae&&!(ot&&Number(ot[1])<=53);function no(t,e,n,r){if(eo){var i=Yn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Xi.addEventListener(t,e,st?{capture:n,passive:r}:n)}function ro(t,e,n,r){(r||Xi).removeEventListener(t,e._wrapper||e,n)}function io(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Xi=e.elm,Ki(n),we(n,r,no,ro,to,e.context),Xi=void 0}}var oo,ao={create:io,update:io};function so(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in o(c.__ob__)&&(c=e.data.domProps=P({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);co(a,u)&&(a.value=u)}else if("innerHTML"===n&&oi(a.tagName)&&i(a.innerHTML)){oo=oo||document.createElement("div"),oo.innerHTML=""+r+"";var l=oo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(Pa){}}}}function co(t,e){return!t.composing&&("OPTION"===t.tagName||uo(t,e)||lo(t,e))}function uo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Pa){}return n&&t.value!==e}function lo(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var fo={create:so,update:so},ho=x((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function po(t){var e=vo(t.style);return t.staticStyle?P(t.staticStyle,e):e}function vo(t){return Array.isArray(t)?M(t):"string"===typeof t?ho(t):t}function go(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=po(i.data))&&P(r,n)}(n=po(t.data))&&P(r,n);var o=t;while(o=o.parent)o.data&&(n=po(o.data))&&P(r,n);return r}var mo,yo=/^--/,bo=/\s*!important$/,wo=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,_o=function(t){return"string"===typeof t?t.replace(wo,(function(t,e){return uni.upx2px(e)+"px"})):t},xo=/url\(\s*['"](.+?\.(jpg|gif|png))['"]\s*\)/,So=/url\(\s*([a-zA-Z0-9\.\-\_\/]+?\.(jpg|gif|png))\s*\)/,ko=function(t,e){if("string"===typeof t&&-1!==t.indexOf("url(")){var n=t.match(xo)||t.match(So);n&&3===n.length&&(t=t.replace(n[1],e._$getRealPath(n[1])))}return t},Co=function(t,e,n,r){if(r&&r._$getRealPath&&n&&(n=ko(n,r)),yo.test(e))t.style.setProperty(e,n);else if(bo.test(n))t.style.setProperty(T(e),n.replace(bo,""),"important");else{var i=To(e);if(Array.isArray(n))for(var o=0,a=n.length;o-1?e.split(jo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Po(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(jo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Mo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&P(e,Lo(t.name||"v")),P(e,t),e}return"string"===typeof t?Lo(t):void 0}}var Lo=x((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Bo=G&&!nt,No="transition",Ro="animation",Do="transition",$o="transitionend",Fo="animation",zo="animationend";Bo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Do="WebkitTransition",$o="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Fo="WebkitAnimation",zo="webkitAnimationEnd"));var Ho=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Wo(t){Ho((function(){Ho(t)}))}function qo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Io(t,e))}function Uo(t,e){t._transitionClasses&&b(t._transitionClasses,e),Po(t,e)}function Vo(t,e,n){var r=Yo(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===No?$o:zo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=No,l=a,f=o.length):e===Ro?u>0&&(n=Ro,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?No:Ro:null,f=n?n===No?o.length:c.length:0);var h=n===No&&Qo.test(r[Do+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:h}}function Xo(t,e){while(t.length1}function ea(t,e){!0!==e.data.show&&Go(e)}var na=G?{create:ea,activate:ea,remove:function(t,e){!0!==t.data.show?Jo(t,e):e()}}:{},ra=[Wi,Qi,Zi,ao,fo,Eo,na],ia=ra.concat(Fi),oa=Pi({nodeOps:ki,modules:ia});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&da(t,"input")}));var aa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?_e(n,"postpatch",(function(){aa.componentUpdated(t,e,n)})):sa(t,e,n.context),t._vOptions=[].map.call(t.options,la)):("textarea"===n.tag||li(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",fa),t.addEventListener("compositionend",ha),t.addEventListener("change",ha),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){sa(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,la);if(i.some((function(t,e){return!R(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ua(t,i)})):e.value!==e.oldValue&&ua(e.value,i);o&&da(t,"change")}}}};function sa(t,e,n){ca(t,e,n),(et||rt)&&setTimeout((function(){ca(t,e,n)}),0)}function ca(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(R(la(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ua(t,e){return e.every((function(e){return!R(e,t)}))}function la(t){return"_value"in t?t._value:t.value}function fa(t){t.target.composing=!0}function ha(t){t.target.composing&&(t.target.composing=!1,da(t.target,"input"))}function da(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function pa(t){return!t.componentInstance||t.data&&t.data.transition?t:pa(t.componentInstance._vnode)}var va={bind:function(t,e,n){var r=e.value;n=pa(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Go(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=pa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Go(n,(function(){t.style.display=t.__vOriginalDisplay})):Jo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},ga={model:aa,show:va},ma={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ya(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ya(kn(e.children)):t}function ba(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[k(o)]=i[o];return e}function wa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function _a(t){while(t=t.parent)if(t.data.transition)return!0}function xa(t,e){return e.key===t.key&&e.tag===t.tag}var Sa=function(t){return t.tag||Sn(t)},ka=function(t){return"show"===t.name},Ca={name:"transition",props:ma,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Sa),n.length)){0;var r=this.mode;0;var i=n[0];if(_a(this.$vnode))return i;var o=ya(i);if(!o)return i;if(this._leaving)return wa(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=ba(this),u=this._vnode,l=ya(u);if(o.data.directives&&o.data.directives.some(ka)&&(o.data.show=!0),l&&l.data&&!xa(o,l)&&!Sn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=P({},s);if("out-in"===r)return this._leaving=!0,_e(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),wa(t,i);if("in-out"===r){if(Sn(o))return u;var h,d=function(){h()};_e(s,"afterEnter",d),_e(s,"enterCancelled",d),_e(f,"delayLeave",(function(t){h=t}))}}return i}}},Aa=P({tag:String,moveClass:String},ma);delete Aa.mode;var Ta={props:Aa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Pn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ba(this),s=0;s=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var i="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=c(t[n],e)})),r}function u(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function f(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){u(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&u(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&u(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&u(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var v=function(t){this.register([],t,!1)};function g(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;g(t.concat(r),e.getChild(r),n.modules[r])}}v.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},v.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},v.prototype.update=function(t){g([],this.root,t)},v.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new d(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&u(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},v.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},v.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var m;var y=function(t){var e=this;void 0===t&&(t={}),!m&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,c=o.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=r;var u=this._modules.root.state;S(this,u,[],this._modules.root),x(this,u),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:m.config.devtools;l&&a(this)},b={state:{configurable:!0}};function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),x(t,n,e)}function x(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,o={};u(i,(function(e,n){o[n]=h(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,t._vm=new m({data:{$$state:e},computed:o}),m.config.silent=a,t.strict&&E(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),m.nextTick((function(){return r.$destroy()})))}function S(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var s=j(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){m.set(s,c,r.state)}))}var u=r.context=k(t,a,n);r.forEachMutation((function(e,n){var r=a+n;A(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;T(t,r,i,u)})),r.forEachGetter((function(e,n){var r=a+n;O(t,r,e,u)})),r.forEachChild((function(r,o){S(t,e,n.concat(o),r,i)}))}function k(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=I(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,i){var o=I(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return j(t.state,n)}}}),i}function C(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function A(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function T(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return f(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function O(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function E(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function j(t,e){return e.reduce((function(t,e){return t[e]}),t)}function I(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){m&&t===m||(m=t,r(m))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},y.prototype.commit=function(t,e,n){var r=this,i=I(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},y.prototype.dispatch=function(t,e){var n=this,r=I(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},y.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},y.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return w(n,this._actionSubscribers,e)},y.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},y.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},y.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),S(this,this.state,t,this._modules.get(t),n.preserveState),x(this,this.state)},y.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=j(e.state,t.slice(0,-1));m.delete(n,t[t.length-1])})),_(this)},y.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},y.prototype[[104,111,116,85,112,100,97,116,101].map((function(t){return String.fromCharCode(t)})).join("")]=function(t){this._modules.update(t),_(this,!0)},y.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(y.prototype,b);var M=F((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=z(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),L=F((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=z(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),B=F((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||z(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),N=F((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=z(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),R=function(t){return{mapState:M.bind(null,t),mapGetters:B.bind(null,t),mapMutations:L.bind(null,t),mapActions:N.bind(null,t)}};function D(t){return $(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function $(t){return Array.isArray(t)||l(t)}function F(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function z(t,e,n){var r=t._modulesNamespaceMap[n];return r}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var i=t.mutationTransformer;void 0===i&&(i=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var u=t.logActions;void 0===u&&(u=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var f=c(t.state);"undefined"!==typeof l&&(s&&t.subscribe((function(t,o){var a=c(o);if(n(t,f,a)){var s=U(),u=i(t),h="mutation "+t.type+s;W(l,h,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),q(l)}f=a})),u&&t.subscribeAction((function(t,n){if(o(t,n)){var r=U(),i=a(t),s="action "+t.type+r;W(l,s,e),l.log("%c action","color: #03A9F4; font-weight: bold",i),q(l)}})))}}function W(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(i){t.log(e)}}function q(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function U(){var t=new Date;return" @ "+Q(t.getHours(),2)+":"+Q(t.getMinutes(),2)+":"+Q(t.getSeconds(),2)+"."+Q(t.getMilliseconds(),3)}function V(t,e){return new Array(e+1).join(t)}function Q(t,e){return V("0",e-t.toString().length)+t}var Y={Store:y,install:P,version:"3.6.2",mapState:M,mapMutations:L,mapGetters:B,mapActions:N,createNamespacedHelpers:R,createLogger:H};t.exports=Y},2400:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,o){"string"===typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),e.push(l))}},e}},43481:function(t){"use strict";t.exports=function(t){return t[1]}},39526:function(t,e,n){t=n.nmd(t);var r=n(86587)["default"];n(71550),n(69070),n(82526),n(41817),n(41539),n(39341),n(73706),n(10408),n(82772),n(74916),n(23123),n(57658),n(47941),n(69826),n(21703),n(96647),n(38862),n(15306),n(32165),n(78783),n(33948),n(77601),n(26699),n(21249),n(92222),n(54747),n(4723),n(57327),n(9653),n(40561),n(39714),n(91058),n(85827),n(24603),n(28450),n(88386),n(18264),n(39575),n(26833),n(32023),n(47042),n(91038),n(54678),n(23157),n(12419),n(81299),n(68304),n(65069),n(73210),n(49743),n(48675),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(63408),n(14590),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(12974),n(1439),n(87585),n(15016),n(55315),n(2707),n(30541),n(68757),n(64765),n(38880),n(49337),n(33321),n(82472),n(72443),n(30489),n(34553),n(74819),n(75505),n(87714),n(82801),n(1174),n(60285),n(41637),n(46229),n(17330),n(62062),function(i,o){"object"===r(e)&&"object"===r(t)?t.exports=o(n(36719),n(40657),n(13066)):n.amdD([,,],o)}("undefined"!==typeof self&&self,(function(t,e,n){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===r(t)&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0001":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"loadFontFace",(function(){return o}));var r=n("a118"),i=n("db70");function o(e,n){var r=Object(i["a"])();if(!r)return{errMsg:"loadFontFace:fail not font page"};t.publishHandler("loadFontFace",{options:e,callbackId:n},r)}t.subscribe("onLoadFontFaceCallback",(function(t){var e=t.callbackId,n=t.data;Object(r["a"])(e,n)}))}.call(this,n("0dd1"))},"010d":function(t,e,n){},"0138":function(t,e,n){"use strict";n.r(e),function(t){var r=n("052f"),i=n("3d1f"),o=n("98be"),a=n("abbf");n.d(e,"getApp",(function(){return a["b"]})),n.d(e,"getCurrentPages",(function(){return a["c"]})),Object(r["a"])(t.on,{getApp:a["b"],getCurrentPages:a["c"]}),Object(i["a"])(t.subscribe,{getApp:a["b"],getCurrentPages:a["c"]}),e["default"]=o["a"]}.call(this,n("0dd1"))},"0212":function(t,e,n){"use strict";n.r(e),n.d(e,"getLaunchOptionsSync",(function(){return i})),n.d(e,"getEnterOptionsSync",(function(){return o}));var r=n("abbf");function i(){return Object(r["e"])()}function o(){return Object(r["d"])()}},"02b5":function(t,e,n){"use strict";var r=n("e5e5"),i=n.n(r);i.a},"02c9":function(t,e,n){"use strict";function r(t){if(0===t.indexOf("#")){var e=t.substr(1);return function(t){return!(!t.componentInstance||t.componentInstance.id!==e)||!(!t.data||!t.data.attrs||t.data.attrs.id!==e)}}if(0===t.indexOf(".")){var n=t.substr(1);return function(t){return t.data&&o(n,t.data.staticClass,t.data.class)}}}n.d(e,"a",(function(){return c}));var i=/\s+/;function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?-1!==e.split(i).indexOf(t):n&&"string"===typeof n?-1!==n.split(i).indexOf(t):void 0}function a(t,e){if(e(t.$vnode||t._vnode))return t;for(var n=t.$children,r=0;r0;return e||r}e["a"]={name:"Editor",mixins:[i["g"],i["a"],i["e"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(t){if(this.quillReady){var e=this.quill;e.enable(!t),t||e.blur()}},placeholder:function(t){this.quillReady&&this.setPlaceHolder(t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize");var n="https://unpkg.com/quill@1.3.7/dist/quill.min.js";Object(s["a"])(window.Quill,n,(function(){if(e.length){var n="https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";Object(s["a"])(window.ImageResize,n,(function(){t.initQuill(e)}))}else t.initQuill(e)}))},methods:{_textChangeHandler:function(){this.$trigger("input",{},this.getContents())},_handleSubscribe:function(e){var n,r,i,o=this,a=e.type,s=e.data,u=s.options,l=s.callbackId,f=this.quill,h=window.Quill;if(this.quillReady){switch(a){case"format":var d=u.name,p=void 0===d?"":d,v=u.value,g=void 0!==v&&v;r=f.getSelection(!0);var m=f.getFormat(r)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))g=!m;else if("direction"===p){g=("rtl"!==g||!m)&&g;var y=f.getFormat(r).align;"rtl"!==g||y?g||"right"!==y||f.format("align",!1,h.sources.USER):f.format("align","right",h.sources.USER)}else if("indent"===p){var b="rtl"===f.getFormat(r).direction;g="+1"===g,b&&(g=!g),g=g?"+1":"-1"}else"list"===p&&(g="check"===g?"unchecked":g,m="checked"===m?"unchecked":m),g=m&&m!==(g||!1)||!m&&g?g:!m;f.format(p,g,h.sources.USER);break;case"insertDivider":r=f.getSelection(!0),f.insertText(r.index,"\n",h.sources.USER),f.insertEmbed(r.index+1,"divider",!0,h.sources.USER),f.setSelection(r.index+2,h.sources.SILENT);break;case"insertImage":r=f.getSelection(!0);var w=u.src,_=void 0===w?"":w,x=u.alt,S=void 0===x?"":x,k=u.width,C=void 0===k?"":k,A=u.height,T=void 0===A?"":A,O=u.extClass,E=void 0===O?"":O,j=u.data,I=void 0===j?{}:j,P=this.$getRealPath(_);f.insertEmbed(r.index,"image",P,h.sources.SILENT);var M=!!/^(file|blob):/.test(P)&&P;f.formatText(r.index,1,"data-local",M,h.sources.SILENT),f.formatText(r.index,1,"alt",S,h.sources.SILENT),f.formatText(r.index,1,"width",C,h.sources.SILENT),f.formatText(r.index,1,"height",T,h.sources.SILENT),f.formatText(r.index,1,"class",E,h.sources.SILENT),f.formatText(r.index,1,"data-custom",Object.keys(I).map((function(t){return"".concat(t,"=").concat(I[t])})).join("&"),h.sources.SILENT),f.setSelection(r.index+1,h.sources.SILENT),f.scrollIntoView(),setTimeout((function(){o._textChangeHandler()}),1e3);break;case"insertText":r=f.getSelection(!0);var L=u.text,B=void 0===L?"":L;f.insertText(r.index,B,h.sources.USER),f.setSelection(r.index+B.length,0,h.sources.SILENT);break;case"setContents":var N=u.delta,R=u.html;"object"===c(N)?f.setContents(N,h.sources.SILENT):"string"===typeof R?f.setContents(this.html2delta(R),h.sources.SILENT):i="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":f.setContents([]);break;case"removeFormat":r=f.getSelection(!0);var D=h.import("parchment");r.length?f.removeFormat(r,h.sources.USER):Object.keys(f.getFormat(r)).forEach((function(t){D.query(t,D.Scope.INLINE)&&f.format(t,!1)}));break;case"undo":f.history.undo();break;case"redo":f.history.redo();break;case"blur":f.blur();break;case"getSelectionText":r=f.selection.savedRange,n={text:""},r&&0!==r.length&&(n.text=f.getText(r.index,r.length));break;case"scrollIntoView":f.scrollIntoView();break;default:break}this.updateStatus(r)}else i="not ready";l&&t.publishHandler("onEditorMethodCallback",{callbackId:l,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(i?"fail "+i:"ok")})},this.$page.id)},setPlaceHolder:function(t){var e="data-placeholder",n=this.quill.root;n.getAttribute(e)!==t&&n.setAttribute(e,t)},initQuill:function(t){var e=this,n=window.Quill;a["a"](n);var r={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};t.length&&(n.register("modules/ImageResize",window.ImageResize.default),r.modules.ImageResize={modules:t});var i=this.quill=new n(this.$el,r),o=i.root,s=["focus","blur","input"];s.forEach((function(t){o.addEventListener(t,(function(n){var r=e.getContents();if("input"===t){if(u()){var i=(r.html.match(/([\s\S]*)<\/span>/)||[])[1],o=i&&i.replace(/\s/g,"")?"":e.placeholder;e.setPlaceHolder(o)}n.stopPropagation()}else e.$trigger(t,n,r)}))})),i.on(n.events.TEXT_CHANGE,this._textChangeHandler),i.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),i.on(n.events.SCROLL_OPTIMIZE,(function(){var t=i.selection.getRange()[0];e.updateStatus(t)})),i.clipboard.addMatcher(Node.ELEMENT_NODE,(function(t,n){return e.skipMatcher||(n.ops=n.ops.filter((function(t){var e=t.insert;return"string"===typeof e})).map((function(t){var e=t.insert;return{insert:e}}))),n})),this.initKeyboard(o),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root.innerHTML,n=t.getText(),r=t.getContents();return{html:e,text:n,delta:r}},html2delta:function(t){var e,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],r="";Object(o["a"])(t,{start:function(t,i,o){if(n.includes(t)){e=!1;var a=i.map((function(t){var e=t.name,n=t.value;return"".concat(e,'="').concat(n,'"')})).join(" "),s="<".concat(t," ").concat(a," ").concat(o?"/":"",">");r+=s}else e=!o},end:function(t){e||(r+=""))},chars:function(t){e||(r+=t)}}),this.skipMatcher=!0;var i=this.quill.clipboard.convert(r);return this.skipMatcher=!1,i},updateStatus:function(t){var e=this,n=t?this.quill.getFormat(t):{},r=Object.keys(n);(r.length!==Object.keys(this.__status||{}).length||r.find((function(t){return n[t]!==e.__status[t]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"091a":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"createIntersectionObserver",(function(){return h}));var r=n("62b5"),i=n("1634"),o=n("db70");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map((function(e){return"".concat(Number(t[e])||0,"px")})).join(" ")}},{key:"relativeTo",value:function(t,e){return this.options.relativeToSelector=t,this._makeRootMargin(e),this}},{key:"relativeToViewport",value:function(t){return this.options.relativeToSelector=null,this._makeRootMargin(t),this}},{key:"observe",value:function(e,n){"function"===typeof n&&(this.options.selector=e,this.reqId=u.push(n),t.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(i["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){t.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(i["a"])(this.component)?this.component:this.pageId)}}]),e}();function h(t,e){return t._isVue||(e=t,t=null),new f(t||Object(o["b"])("createIntersectionObserver"),e)}}.call(this,n("0dd1"))},"0998":function(t,e,n){"use strict";var r=n("010d"),i=n.n(r);i.a},"09e5":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"requestComponentInfo",(function(){return a}));var r=n("62b5"),i=n("1634"),o=Object(r["a"])("requestComponentInfo");function a(e,n,r){t.publishHandler("requestComponentInfo",{reqId:o.push(r),reqs:n},Object(i["a"])(e)?e:e.$page.id)}}.call(this,n("0dd1"))},"0a7b":function(t,e,n){},"0baa":function(t,e,n){"use strict";n.r(e),n.d(e,"chooseFile",(function(){return o}));var r=["all","image","video"],i=["album","camera"],o={count:{type:Number,required:!1,default:100,validator:function(t,e){t<=0&&(e.count=100)}},sourceType:{type:Array,required:!1,default:i,validator:function(t,e){t=t.filter((function(t){return i.includes(t)})),e.sourceType=t.length?t:i}},type:{type:String,required:!1,default:"all",validator:function(t,e){r.includes(t)||(e.type=r[0]),e.type="all"===e.type?e.type="*":e.type}},extension:{type:Array,default:[""],validator:function(t,e){if(0===t.length)return"param extension should not be empty."}}}},"0c7c":function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"0dd1":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return c})),n.d(e,"off",(function(){return u})),n.d(e,"once",(function(){return l})),n.d(e,"emit",(function(){return f})),n.d(e,"subscribe",(function(){return h})),n.d(e,"unsubscribe",(function(){return d})),n.d(e,"subscribeHandler",(function(){return p}));var r=n("8bbf"),i=n.n(r),o=n("27a7");n.d(e,"invokeCallbackHandler",(function(){return o["a"]})),n.d(e,"removeCallbackHandler",(function(){return o["b"]}));var a=n("b865");n.d(e,"publishHandler",(function(){return a["b"]}));var s=new i.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),f=s.$emit.bind(s);function h(t,e){return c("view."+t,e)}function d(t,e){return u("view."+t,e)}function p(t,e,n){return f("view."+t,e,n)}},"0e5c":function(t,e,n){"use strict";n.r(e),n.d(e,"showTopWindow",(function(){return o})),n.d(e,"hideTopWindow",(function(){return a})),n.d(e,"showLeftWindow",(function(){return s})),n.d(e,"hideLeftWindow",(function(){return c})),n.d(e,"showRightWindow",(function(){return u})),n.d(e,"hideRightWindow",(function(){return l})),n.d(e,"getTopWindowStyle",(function(){return h})),n.d(e,"getLeftWindowStyle",(function(){return d})),n.d(e,"getRightWindowStyle",(function(){return p})),n.d(e,"setTopWindowStyle",(function(){return g})),n.d(e,"setLeftWindowStyle",(function(){return m})),n.d(e,"setRightWindowStyle",(function(){return y}));var r=n("f2b3");function i(t,e){var n=e?"show":"hide"+Object(r["c"])(t)+"Window",i=getApp();if(i){var o=i.$children[0].$refs.layout.showWindow(t,e);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function o(){return i("top",!0)}function a(){return i("top",!1)}function s(){return i("left",!0)}function c(){return i("left",!1)}function u(){return i("right",!0)}function l(){return i("right",!1)}function f(t){var e="get"+Object(r["c"])(t)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(e,":fail app not ready")};var i=n.$children[0].$refs.layout.getWindowStyle(t);return"string"===typeof i&&-1!==i.indexOf("Window not found")?{errMsg:"".concat(e,":fail ").concat(i)}:i}function h(t){return f("top")}function d(t){return f("left")}function p(t){return f("right")}function v(t,e){var n="set"+Object(r["c"])(t)+"WindowStyle",i=getApp();if(!i)return{errMsg:"".concat(n,":fail app not ready")};var o=i.$children[0].$refs.layout.setWindowStyle(t,e);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}function g(t){return v("top",t)}function m(t){return v("left",t)}function y(t){return v("right",t)}},"0f55":function(t,e,n){"use strict";var r=n("55e3"),i=n.n(r);i.a},"0f74":function(t,e,n){"use strict";function r(t,e){if(e){if(0===e.indexOf("/"))return e}else{if(e=t,0===e.indexOf("/"))return e;var n=getCurrentPages();t=n.length?n[n.length-1].$page.route:""}if(0===e.indexOf("./"))return r(t,e.substr(2));for(var i=e.split("/"),o=i.length,a=0;a0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(i).join("/")}n.d(e,"a",(function(){return r}))},1082:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.style}),"widthFix"===t.mode||"heightFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(e){return t._fixSize()}}}):t._e()],1)},o=[];function a(t){return a="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},a(t)}function s(t){return("undefined"===typeof navigator||a(navigator))&&"Google Inc."===navigator.vendor&&t>10&&(t=2*Math.round(t/2)),t}var c={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":case"heightFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":e,"background-size":t,"background-repeat":n}}},watch:{src:function(t,e){this._loadImage()},mode:function(t,e){"widthFix"!==e&&"heightFix"!==e||this._resetSize(),"widthFix"!==t&&"heightFix"!==t||this._fixSize()},contentPath:function(t){!t&&this.__img&&(this.__img.remove(),delete this.__img)}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var t=this.$el;if("widthFix"===this.mode){var e=t.offsetWidth;e&&(t.style.height=s(e/this.ratio)+"px")}else if("heightFix"===this.mode){var n=t.offsetHeight;n&&(t.style.width=s(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var t=this,e=this.$getRealPath(this.src);if(e){var n=this._img=this._img||new Image;n.onload=function(r){t._img=null;var i=t.originalWidth=n.width,o=t.originalHeight=n.height;t._fixSize(),t.contentPath=e,n.draggable=t.draggable,t.__img&&t.__img.remove(),t.__img=n,t.$el.appendChild(n),t.$trigger("load",r,{width:i,height:o})},n.onerror=function(e){t._img=null,t._resetData(),t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},n.src=e}else this._clearImage(),this._resetData()},_clearImage:function(){var t=this._img;t&&(t.onload=null,t.onerror=null,this._img=null)}}},u=c,l=(n("db18"),n("0c7c")),f=Object(l["a"])(u,i,o,!1,null,null,null);e["default"]=f.exports},"10a3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-ad",t._g(t._b({},"uni-ad",t.attrs,!1),t.$listeners),[n("div",{ref:"container",staticClass:"uni-ad-container",on:{click:t._onhandle}})])},i=[],o=n("4795"),a=n.n(o),s=n("8af1");function c(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;nthis.CACHE_TIME}}]),t}();d(p,"IC",0),d(p,"IS",0),Object.assign(p.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var v=function(){function t(){l(this,t),this._instance=null,this._adConfig=null,this._guid=null}return h(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t,this._instance._init()),this._instance}}]),h(t,[{key:"_init",value:function(){var t=this._getConfig();null!==t&&t.guid?this._guid=t.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}},{key:"get",value:function(t){this._process(Object.assign(t,{d:location.hostname,i:this._guid}))}},{key:"_process",value:function(t){uni.request({url:this.URL,method:"GET",data:t,dataType:"json",success:function(){}})}},{key:"_newGUID",value:function(){for(var t="",e="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx",n=0;nparseInt(this.widescreenWidth),this._loadData(),v.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:p.IC,is:p.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(t){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML="",this._isReady=!1},_loadData:function(t){var e=this;this._reset();var n=t||this.adpid,r=this._isWidescreen&&this.adpidWidescreen||n;p.instance.get(r,(function(t,n){e._b=t,e._pl=n,e._renderAd()}),(function(t){e.$trigger("error",{},t)}))},_renderAd:function(){var t=this;if(!(this._pi>this._pl.length-1)){var e=this._pl[this._pi],n=this._b[e.a1][e.t],r=n.script;this._currentChannel=e.a1;var i=this._randomId(),o=this._createView(i);"10023"===e.a1?g.instance.load(e.t,r,(function(){t._renderShanhu(i,e)}),(function(e){t.$trigger("error",{},e)})):"10010"===e.a1?g.instance.load(e.t,r,(function(){t._renderBaidu(i,e.a2)}),(function(e){t.$trigger("error",{},e)})):"10012"===e.a1?this._renderScript(o,r):g.instance.load(e.t,r,(function(){t._renderAdView(i,r.s,e)}),(function(e){t.$trigger("error",{},e)}))}},_createView:function(t){var e=document.createElement("div");return e.setAttribute("id",t),e.setAttribute("class",t),this.$refs.container.innerHTML="",this.$refs.container.append(e),e},_renderScript:function(t,e){var n=document.createElement("script");for(var r in e)n.setAttribute(r,e[r]);t.appendChild(n),this._startCheckTimer()},_renderBaidu:function(t,e){(window.slotbydup=window.slotbydup||[]).push({id:e,container:t,async:!0}),this._startCheckTimer()},_renderAdView:function(t,e,n){var r=window;e.split(".").reduce((function(t,e){return r=t,t[e]}),window).bind(r)(n.a2,t,2),this._startCheckTimer()},_renderShanhu:function(t,e){var n=this,r=new window.CoralAdv({app_id:e.a2,placement_id:e.a3,type:e.a4,display_type:e.a5,container_id:t,count:1});r.ready().then(function(){var t=u(a.a.mark((function t(e){return a.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:0===e.ret?n.$trigger("load",{},{}):n.$trigger("error",{},e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){n.$trigger("error",{},t)})),this._startCheckTimer()},_renderNext:function(){this._pi>=this._pl.length-1||(this._pi++,this._renderAd())},_checkRender:function(){var t=this.$refs.container.children.length>0&&this.$refs.container.clientHeight>40;return t&&this._report(40,this._currentChannel),t},_startCheckTimer:function(){var t=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(t._checkTimerCount++,t._checkTimerCount>=y)return t._clearCheckTimer(),void t._renderNext();t._checkRender()&&t._clearCheckTimer()}),m)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(t,e){var n={h:__uniConfig.compilerVersion,a:this.adpid,at:t};e&&(n.t=e),v.instance.get(n)},_randomId:function(){for(var t="",e=0;e<4;e++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+t}}},_=w,x=(n("e4bc"),n("0c7c")),S=Object(x["a"])(_,r,i,!1,null,null,null);e["default"]=S.exports},1164:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c}));var r=n("a6b0"),i=n("23e5"),o=!1;function a(){return o}function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],i=a();if(!i)return n&&t.error("app is not ready"),[];var o=i.$children[0];if(o&&o.$children.length){var s=o.$children.find((function(t){return"TabBar"===t.$options.name})),c=o.$children.find((function(t){return"Layout"===t.$options.name}));c&&(o=c),o.$children.forEach((function(t){if(s!==t&&t.$children.length&&"Page"===t.$children[0].$options.name&&t.$children[0].$slots.page){var n=t.$children[0].$children.find((function(t){return"PageBody"===t.$options.name})),o=n&&n.$children.find((function(t){return!!t.$page}));if(o){var a=!0;!e&&s&&o.$page&&o.$page.meta.isTabBar&&(i.$route.meta&&i.$route.meta.isTabBar?i.$route.path!==o.$page.path&&(a=!1):s.__path__!==o.$page.path&&(a=!1)),a&&r.push(o)}}}))}var u=r.length;if(u>1){var l=r[u-1];l.$page.path!==i.$route.path&&r.splice(u-1,1)}return r}function c(t,e,n){o=e,o.$vm=e,o.globalData=o.$options.globalData||{},Object(r["d"])(t,o),Object(i["a"])(o,n)}}).call(this,n("3ad9")["default"])},"11d0":function(t,e,n){"use strict";var r=n("a92f"),i=n.n(r);i.a},"11fb":function(t,e,n){"use strict";n.r(e),n.d(e,"previewImage",(function(){return i}));var r=n("cb0f"),i={urls:{type:Array,required:!0,validator:function(t,e){var n;if(e.urls=t.map((function(t){if("string"===typeof t)return Object(r["a"])(t);n=!0})),n)return"url is not string"}},current:{type:[String,Number],validator:function(t,e){"number"===typeof t?e.current=t>0&&t.5&&e._A<=.5?o.forEach((function(t){t.color=a})):s<=.5&&e._A>.5&&o.forEach((function(t){t.color="#fff"})),e._A=s,r&&(r.style.opacity=s),n.backgroundColor="rgba(".concat(e._R,",").concat(e._G,",").concat(e._B,",").concat(s,")"),l.forEach((function(t,e){var n=u[e],r=n.match(/[\d+\.]+/g);r[3]=(1-s)*(4===r.length?r[3]:1),t.backgroundColor="rgba(".concat(r,")")})))}))}else if("float"===this.type){for(var d=this.$el.querySelectorAll(".uni-btn-icon"),p=[],v=0;v\s]+))?)*)\s*(\/?)>/,i=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=d("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=d("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=d("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=d("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),f=d("script,style");function h(t,e){var n,h,d,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(h=!0,p.last()&&f[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)]*>"),(function(t,n){return n=n.replace(/|/g,"$1$2"),e.chars&&e.chars(n),""})),y("",p.last());else if(0==t.indexOf("\x3c!--")?(n=t.indexOf("--\x3e"),n>=0&&(e.comment&&e.comment(t.substring(4,n)),t=t.substring(n+3),h=!1)):0==t.indexOf("=0;r--)if(p[r]==n)break}else var r=0;if(r>=0){for(var i=p.length-1;i>=r;i--)e.end&&e.end(p[i]);p.length=r}}y()}function d(t){for(var e={},n=t.split(","),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e.animation={duration:t.duration||0,timingFunc:t.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(t,e,n){"use strict";n.r(e);var r=n("ba15"),i=n("8aec"),o=n("5363"),a=n("72b3"),s=n("d4cd");function c(t){var e=20,n=0,r=0;t.addEventListener("touchstart",(function(t){var e=t.changedTouches[0];n=e.clientX,r=e.clientY})),t.addEventListener("touchend",(function(t){var i=t.changedTouches[0];if(Math.abs(i.clientX-n)*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(t),t.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["a"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),r=e-n.top-this.height/2,i=this.indicatorHeight/2;if(!(Math.abs(r)<=i)){var o=Math.ceil((Math.abs(r)-i)/this.indicatorHeight),a=r<0?-o:o,s=Math.min(this.current+a,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;if(Math.abs(e)>10){this.deltaY=0;var n=Math.min(this.current+(e<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=e;t.preventDefault()},setCurrent:function(t){t!==this.current&&(this.current=t,this.inited&&this.update())},init:function(){var t=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new o["a"](1e-4),spring:new a["a"](2,90,20),onSnap:function(e){isNaN(e)||e===t.current||(t.current=e)}}),this.inited=!0},update:function(){var t=this;this.$nextTick((function(){var e=Math.min(t.current,t.length-1);e=Math.max(e,0),t._scroller.update(e*t.indicatorHeight,void 0,t.indicatorHeight)}))},_resize:function(t){var e=t.height;this.indicatorHeight=e}},render:function(t){return this.length=this.$slots.default&&this.$slots.default.length||0,t("uni-picker-view-column",{on:{on:this.$listeners}},[t("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[t("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),t("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),t("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},h=f,d=(n("edfa"),n("0c7c")),p=Object(d["a"])(h,u,l,!1,null,null,null);e["default"]=p.exports},"19c4":function(t,e,n){var r={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/add-phone-contact.js":"1585","./device/make-phone-call.js":"f102","./device/scan-code.js":"ea0f","./device/set-clipboard-data.js":"b501","./file/file.js":"2da2","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-file.js":"0baa","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/compress-image.js":"dc12","./media/compress-video.js":"5243","./media/get-image-info.js":"b866","./media/get-video-info.js":"3f15","./media/preview-image.js":"11fb","./media/save-image-to-photos-album.js":"4f53","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./plugin/load-sub-package.js":"d013","./plugin/pre-login.js":"f68f","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/load-font-face.js":"5ff9","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="19c4"},"19d9":function(t,e,n){"use strict";n.r(e),n.d(e,"getLocation",(function(){return i}));var r=["wgs84","gcj02"],i={type:{type:String,validator:function(t,e){t=(t||"").toLowerCase(),e.type=r.indexOf(t)<0?r[0]:t}},altitude:{type:Boolean,default:!1}}},"1a12":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"request",(function(){return l}));var r=n("f2b3");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.url,o=e.delta,a=e.events,c=e.exists,u=e.animationType,l=e.animationDuration,f=e.from,h=void 0===f?"navigateBack":f,d=e.detail,p=getApp().$router;switch(delete p.$eventChannel,t){case"redirectTo":if("back"===c){var v=Object(r["a"])(n);if(-1!==v){var g=getCurrentPages().length-1-v;if(g>0)return s("navigateBack",{delta:g})}}p.replace({type:t,path:n});break;case"navigateTo":return p.$eventChannel=Object(i["a"])(a),p.push({type:t,path:n,animationType:u,animationDuration:l}),{errMsg:t+":ok",eventChannel:p.$eventChannel};case"navigateBack":var m=!0,y=getCurrentPages();if(y.length){var b=y[y.length-1];Object(r["c"])(b.$options,"onBackPress")&&!0===b.__call_hook("onBackPress",{from:h})&&(m=!1)}m&&(o>1&&(p._$delta=o),p.go(-o,{animationType:u,animationDuration:l}));break;case"reLaunch":p.replace({type:t,path:n});break;case"switchTab":p.replace({type:t,path:n,params:{detail:d}});break}return{errMsg:t+":ok"}}function c(t){return s("redirectTo",t)}function u(t){return s("navigateTo",t)}function l(t){return s("navigateBack",t)}function f(t){return s("reLaunch",t)}function h(t){return s("switchTab",t)}function d(t,e){var n=t.url,r=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(r.substr(1)).then((function(){a(e,{url:n,errMsg:"preloadPage:ok"})})).catch((function(t){a(e,{url:n,errMsg:"preloadPage:fail "+t})}))}}.call(this,n("0dd1"))},"1b3d":function(t,e,n){"use strict";n.r(e),function(t){var r=n("f2b3");e["default"]={data:function(){return{previewImage:{visible:!1}}},created:function(){var e=this;t.on("onShowPreviewImage",(function(t,n){e.previewImage=Object.assign({},t,{visible:!0}),Object(r["k"])(n)&&e.$nextTick(n)})),t.on("onClosePreviewImage",(function(t){e._onPreviewClose(),Object(r["k"])(t)&&e.$nextTick(t)})),t.on("onHidePopup",(function(t){e.previewImage.visible=!1}))},methods:{_onPreviewClose:function(t){this.previewImage.visible=!1}}}}.call(this,n("0dd1"))},"1b6f":function(t,e,n){"use strict";(function(t){var r=n("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(e,n){t._toggleListeners("unsubscribe",n,!0),t._toggleListeners("subscribe",e,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(e,n,i){i&&!n||Object(r["k"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var t="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",t),this._contextId=t),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:t,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(t,e,n){"use strict";var r=n("97b9"),i=n.n(r);i.a},"1c73":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var r={},i={};function o(t){for(var e=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],r=0,i=n;r=0&&e.push("(".concat(a(o),": ").concat(Number(t[o]),"px)")),"orientation"===o&&t[o]&&e.push("(".concat(a(o),": ").concat(t[o],")"))}return e=e.join(" and "),e}function a(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(e){var n=e.reqId,a=e.options,s=r[n]=window.matchMedia(o(a)),c=i[n]=function(e){t.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:e.matches})};c(s),s.addListener(c)}function c(e){var n=e.reqId,o=i[n],a=r[n];a&&(a.removeListener(o),delete r[n],t.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1ca3":function(t,e,n){"use strict";n.r(e),n.d(e,"base64ToArrayBuffer",(function(){return i})),n.d(e,"arrayBufferToBase64",(function(){return o}));var r=n("8390");function i(t){return Object(r["decode"])(t)}function o(t){return Object(r["encode"])(t)}},"1d15":function(t,e,n){},"1e4d":function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0&&(a.length=1),l.push("".concat(o,"(").concat(a.join(","),")"));else if(r.concat(i).includes(a[0])){o=a[0];var s=a[1];u[o]=i.includes(o)?p(s):s}})),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(t){return"".concat(v(t)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=a.transformOrigin,u}function m(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var n=0,r=e.actions,i=e.actions.length;setTimeout((function(){o()}),0)}function o(){var e=r[n],a=e.option.transition,s=g(e);Object.keys(s).forEach((function(e){t.$el.style[e]=s[e]})),n+=1,n=0&&this._callbacks.splice(e,1)}},{key:"offHeadersReceived",value:function(){}}]),t}(),u=Object.create(null);function l(t,e){var n=Object(i["c"])("createUploadTask",t),r=n.uploadTaskId,o=new c(r,e);return u[r]=o,o}Object(i["d"])("onUploadTaskStateChange",(function(t){var e=t.uploadTaskId,n=t.state,i=t.data,o=t.statusCode,a=t.progress,s=t.totalBytesSent,c=t.totalBytesExpectedToSend,l=t.errMsg,f=u[e],h=f._callbackId;switch(n){case"progressUpdate":f._callbacks.forEach((function(t){t({progress:a,totalBytesSent:s,totalBytesExpectedToSend:c})}));break;case"success":Object(r["a"])(h,{data:i,statusCode:o,errMsg:"request:ok"});case"fail":Object(r["a"])(h,{errMsg:"request:fail "+l});default:setTimeout((function(){delete u[e]}),100);break}}))},2206:function(t,e,n){},2209:function(t){t.exports=JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.startSoterAuthentication.waitingContent":"无法识别","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')},2246:function(t,e,n){"use strict";n.r(e),n.d(e,"showModal",(function(){return o})),n.d(e,"showToast",(function(){return a})),n.d(e,"showLoading",(function(){return s})),n.d(e,"showActionSheet",(function(){return c}));var r=n("a6b0"),i=n("cb0f"),o={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(r["g"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000"},confirmText:{type:String,default:function(){return Object(r["g"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},a={title:{type:String,default:""},icon:{default:"success",validator:function(t,e){-1===["success","loading","error","none"].indexOf(t)&&(e.icon="success")}},image:{type:String,default:"",validator:function(t,e){t&&(e.image=Object(i["a"])(t))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},c={itemList:{type:Array,required:!0,validator:function(t,e){if(!t.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000"},visible:{type:Boolean,default:!0},popover:{type:Object}}},2289:function(t,e,n){"use strict";n.r(e),n.d(e,"upx2px",(function(){return r}));var r=[{name:"upx",type:[Number,String],required:!0}]},2292:function(t,e,n){},2318:function(t,e,n){"use strict";(function(t){var r=n("8af1"),i=n("f2b3"),o=n("31c6"),a=n("453f"),s=n("4c39"),c=n("5b9f"),u=n("636c");function l(t,e,n){return l=f()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=Function.bind.apply(t,r),o=new i;return n&&h(o,n.prototype),o},l.apply(null,arguments)}function f(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function h(t,e){return h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},h(t,e)}function d(t,e,n){return new t.LngLat(n,e)}function p(t,e,n){return new t.LatLng(e,n)}function v(t,e,n){return u["c"]?d(t,e,n):p(t,e,n)}function g(t){return"getLat"in t?t.getLat():t.lat()}function m(t){return"getLng"in t?t.getLng():t.lng()}e["a"]={name:"Map",components:{mapMarker:a["a"],mapControl:s["a"],mapPolygon:c["a"]},mixins:[r["g"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:function(){return[]}},polygons:{type:Array,default:function(){return[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady((function(){e._map.setZoom(Number(t)||16)}))},polyline:function(t){var e=this;this.mapReady((function(){e.createPolyline()}))},circles:function(){var t=this;this.mapReady((function(){t.createCircles()}))},includePoints:function(){var t=this;this.mapReady((function(){t.fitBounds(t.includePoints)}))},showLocation:function(t){var e=this;this.mapReady((function(){e[t?"createLocation":"removeLocation"]()}))}},created:function(){this._markers={};var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;Object(o["a"])(this.libraries,(function(e){e.event=e.event||e.Event,e.Point=e.Point||e.BuryPoint,t._maps=e,t.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,n=t.type,r=t.data,i=void 0===r?{}:r,o=this._maps;function a(t,e){t=t||{},t.errMsg="".concat(n,":").concat(e?"fail"+e:"ok");var r=e?i.fail:i.success;"function"===typeof r&&r(t),"function"===typeof i.complete&&i.complete(t)}switch(n){case"getCenterLocation":this.mapReady((function(){var t,n,r=e._map.getCenter();t=g(r),n=m(r),a({latitude:t,longitude:n})}));break;case"moveToLocation":var s=i.latitude,c=i.longitude,l=s&&c?v(o,s,c):this._locationPosition;l&&(this._map.setCenter(l),a({latitude:s,longitude:c}));break;case"translateMarker":this.mapReady((function(){try{var t=e.getMarker(i.markerId),n=i.destination,r=i.duration,s=!!i.autoRotate,c=Number(i.rotate)?i.rotate:0,u=0;"getRotation"in t&&(u=t.getRotation());var l=t.getPosition(),f=v(o,n.latitude,n.longitude),h=o.geometry.spherical.computeDistanceBetween(l,f)/1e3,d=("number"===typeof r?r:1e3)/36e5,p=h/d,g=o.event.addListener(t,"moving",(function(e){var n=e.latLng,r=t.label;r&&r.setPosition(n);var i=t.callout;i&&i.setPosition(n)})),m=o.event.addListener(t,"moveend",(function(e){m.remove(),g.remove(),t.lastPosition=l,t.setPosition(f);var n=t.label;n&&n.setPosition(f);var r=t.callout;r&&r.setPosition(f);var o=i.animationEnd;"function"===typeof o&&o()})),y=0;s&&(t.lastPosition&&(y=o.geometry.spherical.computeHeading(t.lastPosition,l)),c=o.geometry.spherical.computeHeading(l,f)-y),"setRotation"in t&&t.setRotation(u+c),"moveTo"in t?t.moveTo(f,p):(t.setPosition(f),o.event.trigger(t,"moveend",{}))}catch(b){a(null,b)}}));break;case"includePoints":this.fitBounds(i.points);break;case"getRegion":this.mapReady((function(){e.boundsReady((function(){var t=e._map.getBounds(),n=t.getSouthWest(),r=t.getNorthEast();a({southwest:{latitude:g(n),longitude:m(n)},northeast:{latitude:g(r),longitude:m(r)}})})),u["c"]&&(e.isBoundsReady=!0,e.$emit("boundsready"))}));break;case"getScale":this.mapReady((function(){a({scale:e._map.getZoom()})}));break}},init:function(){var t=this,e=this._maps,n=v(e,this.center.latitude,this.center.longitude),r=this._map=new e.Map(this.$refs.map,{center:n,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0}),i=e.event.addListener(r,"bounds_changed",(function(e){i.remove(),t.isBoundsReady=!0,t.$emit("boundsready")}));function o(){var t=r.getCenter();return{scale:r.getZoom(),centerLocation:{latitude:g(t),longitude:m(t)}}}e.event.addListener(r,"click",(function(e){t.$trigger("click",{},{})})),e.event.addListener(r,"dragstart",(function(){t.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),e.event.addListener(r,"dragend",(function(){t.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},o()))}));var a=function(){t.$emit("update:scale",r.getZoom()),t.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},o()))};e.event.addListener(r,"zoom_changed",a),e.event.addListener(r,"zoomend",a),e.event.addListener(r,"center_changed",(function(){var e,n,i=r.getCenter();e=g(i),n=m(i),t.$emit("update:latitude",e),t.$emit("update:longitude",n)})),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){r.setCenter(n)})),this.isMapReady=!0,this.$emit("mapready"),this.$trigger("updated",{},{})},centerChange:function(){var t=this,e=this._maps,n=Number(this.latitude),r=Number(this.longitude);n===this.center.latitude&&r===this.center.longitude||(this.center.latitude=n,this.center.longitude=r,this._map&&this.mapReady((function(){var i=v(e,n,r);t._map.setCenter(i)})))},createPolyline:function(){var t=this._maps,e=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(r){var o=[];r.points.forEach((function(e){var n=u["c"]?[e.longitude,e.latitude]:p(t,e.latitude,e.longitude);o.push(n)}));var a=Number(r.borderWidth)||0,s=Object(i["j"])(r.color),c=s.r,l=s.g,f=s.b,h=s.a,d=Object(i["j"])(r.borderColor),v=d.r,g=d.g,m=d.b,y=d.a,b={map:e,clickable:!1,path:o,strokeWeight:(Number(r.width)||0)+a||6,strokeDashStyle:r.dottedLine?"dash":"solid"};u["c"]&&(b.strokeColor=r.strokeColor,b.strokeStyle=r.dottedLine?"dashed":"solid",b.isOutline=!!r.borderWidth,b.borderWeight=r.borderWidth,b.outlineColor=r.borderColor);var w={map:e,clickable:!1,path:o,strokeWeight:r.width||6,strokeDashStyle:r.dottedLine?"dash":"solid"};"Color"in t?(b.strokeColor=new t.Color(c,l,f,h),w.strokeColor=new t.Color(v,g,m,y)):(b.strokeColor="rgb(".concat(c,", ").concat(l,", ").concat(f,")"),b.strokeOpacity=h,w.strokeColor="rgb(".concat(v,", ").concat(g,", ").concat(m,")"),w.strokeOpacity=y),a&&n.push(new t.Polyline(w));var _=new t.Polyline(b);u["c"]&&e.add(_),n.push(_)}))},removePolyline:function(){var t=this.polylineSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createCircles:function(){var t=this._maps,e=this._map,n=this.circlesSync;this.removeCircles(),this.circles.forEach((function(r){var o=u["c"]?[r.longitude,r.latitude]:p(t,r.latitude,r.longitude),a={map:e,center:o,clickable:!1,radius:r.radius,strokeWeight:Number(r.strokeWidth)||1,strokeDashStyle:"solid"};if(u["c"])a.strokeColor=r.color,a.fillColor=r.fillColor||"#000";else{var s=Object(i["j"])(r.fillColor||"#00000000"),c=s.r,l=s.g,f=s.b,h=s.a,d=Object(i["j"])(r.color||"#000000"),v=d.r,g=d.g,m=d.b,y=d.a;"Color"in t?(a.fillColor=new t.Color(c,l,f,h),a.strokeColor=new t.Color(v,g,m,y)):(a.fillColor="rgb(".concat(c,", ").concat(l,", ").concat(f,")"),a.fillOpacity=h,a.strokeColor="rgb(".concat(v,", ").concat(g,", ").concat(m,")"),a.strokeOpacity=y)}var b=new t.Circle(a);u["c"]&&e.add(b),n.push(b)}))},removeCircles:function(){var t=this.circlesSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createLocation:function(){var e=this,n=this._maps,r=this._map,i=this._location;i&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(t){if(i===e._location){var o=v(n,t.latitude,t.longitude);if(u["c"]){i=new n.Marker({position:o,map:r,flat:!0,rotation:0});var s=new n.Icon({size:new n.Size(44,44),image:u["a"],imageSize:new n.Size(44,44)});i.setIcon(s),r.add(i)}else i=new n.Marker({position:o,map:r,icon:new n.MarkerImage(u["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0});e._location=i,a(),e.__onCompassChange=function(t){"setRotation"in i&&i.setRotation(t.direction)},uni.onCompassChange(e.__onCompassChange)}},fail:function(e){t.error(e)}});var o=this;function a(){i===o._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(t){var e=o._locationPosition=v(n,t.latitude,t.longitude);i.setPosition(e)},fail:function(e){t.error(e)},complete:function(){a()}})}),3e4)}},removeLocation:function(){var t=this._location;t&&(t.setMap(null),this._location=null,this._locationPosition=null,uni.offCompassChange(this.__onCompassChange))},fitBounds:function(t,e){var n=this,r=this._maps;this.boundsReady((function(){var i=n._map;if(u["c"]){var o=[];t.forEach((function(t){o.push([t.longitude,t.latitude])}));var a=l(r.Bounds,o);i.setBounds(a)}else{var s=new r.LatLngBounds;t.forEach((function(t){var e=t.longitude,n=t.latitude,i=p(r,n,e);s.extend(i)})),i.fitBounds(s)}"function"===typeof e&&e()})),u["c"]&&(this.isBoundsReady=!0,this.$emit("boundsready"))},mapReady:function(t){this.isMapReady?t():this.$once("mapready",(function(){t()}))},boundsReady:function(t){this.isBoundsReady?t():this.$once("boundsready",(function(){t()}))},getMarker:function(t){var e=this._markers[t];if(!e)throw new Error("translateMarker: fail cannot find marker with id "+t);return e}}}}).call(this,n("3ad9")["default"])},"232e":function(t,e,n){"use strict";n.r(e),n.d(e,"pageScrollTo",(function(){return r}));var r={scrollTop:{type:Number},duration:{type:Number,default:300,validator:function(t,e){e.duration=Math.max(0,t)}}}},"23ab":function(t,e,n){},"23e5":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return v}));var r=n("a741");function i(t){-1===this.keepAliveInclude.indexOf(t)&&this.keepAliveInclude.push(t)}var o=[];function a(t){if("number"===typeof t)o=this.keepAliveInclude.splice(-(t-1)).map((function(t){return parseInt(t.split("-").pop())}));else{var e=this.keepAliveInclude.indexOf(t);-1!==e&&this.keepAliveInclude.splice(e,1)}}var s=Object.create(null);function c(t){return s[t]}function u(t){s[t]={x:window.pageXOffset,y:window.pageYOffset}}function l(t,e,n){e&&n&&e.meta.isTabBar&&n.meta.isTabBar&&u(n.params.__id__);for(var i=getCurrentPages(),o=i.length-1;o>=0;o--){var s=i[o],c=s.$page.meta;c.isTabBar||(a.call(this,c.name+"-"+s.$page.id),Object(r["b"])(s,"onUnload"))}}function f(t){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var e=getCurrentPages(!0),n=e.length-1;n>=0;n--)Object(r["b"])(e[n],"onUnload"),e[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var h=[];function d(t,e,n,r){h=getCurrentPages(!0);var o=e.params.__id__,s=t.params.__id__,c=t.meta.name+"-"+s;if(s===o&&"reLaunch"!==t.type)t.fullPath!==e.fullPath?(i.call(this,c),n()):n(!1);else if(t.meta.id&&t.meta.id!==s)n({path:t.path,replace:!0});else{var u=e.meta.name+"-"+o;switch(t.type){case"navigateTo":break;case"redirectTo":a.call(this,u),e.meta&&e.meta.isQuit&&(t.meta.isQuit=!0,t.meta.isEntry=!!e.meta.isEntry);break;case"switchTab":l.call(this,r,t,e);break;case"reLaunch":f.call(this,c),t.meta.isQuit=!0;break;default:o&&o>s&&(a.call(this,u),this.$router._$delta>1&&a.call(this,this.$router._$delta));break}if("reLaunch"!==t.type&&"redirectTo"!==t.type&&e.meta.id&&i.call(this,u),i.call(this,c),t.meta&&t.meta.name){document.body.className="uni-body "+t.meta.name;var d="nvue-dir-"+__uniConfig.nvue["flex-direction"];t.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(d,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(d))}n()}}function p(e,n){var i,a=n.params.__id__,s=e.params.__id__;function c(t){if(t){Object(r["b"])(t,"onUnload");var e=h.indexOf(t);e>=0&&h.splice(e,1)}}switch(i=n.meta.isSet?h.find((function(t){return t.$page.meta.pagePath===n.meta.pagePath})):h.find((function(t){return t.$page.id===a})),e.type){case"navigateTo":i&&Object(r["b"])(i,"onHide");break;case"redirectTo":c(i);break;case"switchTab":n.meta.isTabBar&&i&&Object(r["b"])(i,"onHide");break;case"reLaunch":break;default:a&&a>s&&(c(i),this.$router._$delta>1&&o.reverse().forEach((function(t){var e=h.find((function(e){return e.$page.id===t}));c(e)})));break}if(delete this.$router._$delta,o.length=0,"reLaunch"!==e.type){var u,l=getCurrentPages(!0);u=e.meta.isSet?l.find((function(t){return t.$page.meta.pagePath===e.meta.pagePath})):l.find((function(t){return t.$page.id===s})),u&&(setTimeout((function(){t.emit("onNavigationBarChange",u.$parent.$parent.navigationBar),Object(r["b"])(u,"onShow")}),0),document.title=u.$parent.$parent.navigationBar.titleText)}}function v(t,e){t.$router.beforeEach((function(n,r,i){d.call(t,n,r,i,e)})),t.$router.afterEach((function(e,n){p.call(t,e,n)}))}}).call(this,n("0dd1"))},"24d9":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var i=n("f2b3");function o(t){return o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},o(t)}function a(t){return t.mp=Object.assign({"@warning":"mp is deprecated"},t),t._processed=!0,t}function s(t,e){return Object(i["l"])(e)&&(Object(i["i"])(e,"backgroundColor")&&(t.backgroundColor=e.backgroundColor),Object(i["i"])(e,"buttons")&&(t.buttons=e.buttons),Object(i["i"])(e,"titleColor")&&(t.textColor=e.titleColor),Object(i["i"])(e,"titleText")&&(t.titleText=e.titleText),Object(i["i"])(e,"titleSize")&&(t.titleSize=e.titleSize),Object(i["i"])(e,"type")&&(t.type=e.type),Object(i["i"])(e,"searchInput")&&"object"===o(e.searchInput)&&(t.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},e.searchInput))),t}},"250d":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-input",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPlaceholder,expression:"showPlaceholder"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle,domProps:{textContent:t._s(t.placeholder)}}),"checkbox"!==t.inputType||t.disabled&&t.fixColor?"radio"!==t.inputType||t.disabled&&t.fixColor?t.disabled&&t.fixColor?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,inputmode:t.inputmode,type:t.inputType},domProps:{value:t.valueSync},on:{change:function(t){t.stopPropagation()},focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,inputmode:t.inputmode,type:"radio"},domProps:{checked:t._q(t.valueSync,null)},on:{change:[function(e){t.valueSync=null},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,inputmode:t.inputmode,type:"checkbox"},domProps:{checked:Array.isArray(t.valueSync)?t._i(t.valueSync,null)>-1:t.valueSync},on:{change:[function(e){var n=t.valueSync,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);r.checked?a<0&&(t.valueSync=n.concat([o])):a>-1&&(t.valueSync=n.slice(0,a).concat(n.slice(a+1)))}else t.valueSync=i},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}),t.disabled&&t.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:t.disabled,type:t.inputType,maxlength:t.maxlength,step:t._step},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])},i=[],o=n("8af1"),a=n("f2b3"),s=["text","number","idcard","digit","password","tel"],c=["number","digit"],u=["off","one-time-code"],l=["none","text","decimal","numeric","tel","search","email","url"],f={name:"Input",mixins:[o["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:function(t){return!!~l.indexOf(t)}}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},_step:function(){return~c.indexOf(this.type)?this.step:""},autocomplete:function(){var t=u.indexOf(this.textContentType),e=u.indexOf(Object(a["n"])(this.textContentType)),n=-1!==t?t:-1!==e?e:0;return u[n]},showPlaceholder:function(){var t="digit"===this.type?this.cachedValue.indexOf("."):-1;return!(this.composing||this.valueSync.length||"-"===this.cachedValue||-1!==t&&t===this.cachedValue.length-1)}},watch:{maxlength:function(t){var e=this.valueSync.slice(0,parseInt(t,10));e!==this.valueSync&&(this.valueSync=e)},valueSync:function(t){"number"!==this.type||"-"===this.cachedValue&&""===t||(this.cachedValue=t)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){var e=t.target;this.$trigger("confirm",t,{value:e.value}),this.confirmHold||e.blur()},_onInput:function(t,e){var n=this,r=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var i=parseInt(this.maxlength,10);if(i>0&&t.target.value.length>i&&(this.cachedValue.length===i?(this.valueSync=this.cachedValue,r=!0):(t.target.value=t.target.value.slice(0,i),this.valueSync=t.target.value)),this.__clearCachedValue&&t.target.removeEventListener("blur",this.__clearCachedValue),t.target.validity&&!t.target.validity.valid){if((!this.cachedValue||!t.target.value)&&"-"===t.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===t.inputType){this.cachedValue="-",this.valueSync="";var o=this.__clearCachedValue=function(){n.cachedValue=t.target.value=""};return void t.target.addEventListener("blur",o)}if(this.cachedValue)if(-1!==this.cachedValue.indexOf(".")){if("."!==t.data&&"deleteContentBackward"===t.inputType){var a=this.cachedValue.indexOf(".");return this.cachedValue=t.target.value=this.valueSync=this.cachedValue.slice(0,a),this.$triggerInput(t,{value:this.valueSync},e)}}else if("."===t.data)return this.cachedValue+=".",this.__clearCachedValue=function(){n.cachedValue=n.valueSync=t.target.value=n.cachedValue.slice(0,-1)},t.target.addEventListener("blur",this.__clearCachedValue),!1;return void(this.cachedValue=this.valueSync=t.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}r||(this.valueSync=this.$refs.input.value,this.$triggerInput(t,{value:this.valueSync},e))}},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},h=f,d=(n("0f55"),n("0c7c")),p=Object(d["a"])(h,r,i,!1,null,null,null);e["default"]=p.exports},"252b":function(t,e,n){},"25ce":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},i=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["f"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),t.value=e,t.key=this.name}return t}}},s=a,c=(n("0998"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},2604:function(t,e,n){"use strict";n.r(e),n.d(e,"openDocument",(function(){return r}));var r={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,n){"use strict";(function(t){function r(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}function i(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}))}).call(this,n("3ad9")["default"])},2765:function(t,e,n){"use strict";var r=n("5f8d"),i=n.n(r);i.a},"27a7":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return w})),n.d(e,"d",(function(){return _})),n.d(e,"c",(function(){return k}));var r=n("f2b3"),i=n("2608"),o=n("ed1a"),a=n("6710"),s=n("cc76"),c=n("de29");function u(t,e,n){var r="".concat(e,":fail ").concat(t);if(-1===n)throw new Error(r);return"number"===typeof n&&b(n,{errMsg:r}),!1}var l=[{name:"callback",type:Function,required:!0}],f=["beforeValidate","beforeAll","beforeSuccess"];function h(t,e,n){var i=s["a"][t];if(!i&&Object(o["a"])(t)&&(i=l),i){if(Array.isArray(i)&&Array.isArray(e)){var a=Object.create(null),h=Object.create(null),d=e.length;i.forEach((function(t,n){a[t.name]=t,d>n&&(h[t.name]=e[n])})),i=a,e=h}if(Object(r["k"])(i.beforeValidate)){var p=i.beforeValidate(e);if(p)return u(p,t,n)}for(var v=Object.keys(i),g=0;g1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(r["l"])(e))return{params:e};e=Object.assign({},e);var o=Object(a["a"])(e),s=o.success,c=o.fail,u=o.cancel,l=o.complete,f=Object(r["k"])(s),h=Object(r["k"])(c),v=Object(r["k"])(u),g=Object(r["k"])(l);if(!f&&!h&&!v&&!g)return{params:e};var m={};for(var y in n){var b=n[y];Object(r["k"])(b)&&(m[y]=Object(i["b"])(b))}var w=m.beforeSuccess,_=m.afterSuccess,x=m.beforeFail,S=m.afterFail,k=m.beforeCancel,C=m.afterCancel,A=m.beforeAll,T=m.afterAll,O=d++,E="api."+t+"."+O,j=function(n){if(n.errMsg=n.errMsg||t+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=t+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=t+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var i="",o=n.errMsg.indexOf(" ");o>-1&&(i=n.errMsg.substr(o)),n.errMsg=t+":fail"+i}Object(r["k"])(A)&&A(n);var a=n.errMsg;0===a.indexOf(t+":ok")?(Object(r["k"])(w)&&w(n,e),f&&s(n),Object(r["k"])(_)&&_(n)):0===a.indexOf(t+":cancel")?(n.errMsg=n.errMsg.replace(t+":cancel",t+":fail cancel"),h&&c(n),Object(r["k"])(k)&&k(n),v&&u(n),Object(r["k"])(C)&&C(n)):0===a.indexOf(t+":fail")&&(Object(r["k"])(x)&&x(n),h&&c(n),Object(r["k"])(S)&&S(n)),g&&l(n),Object(r["k"])(T)&&T(n)};return p[O]={name:E,callback:j},{params:e,callbackId:O}}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=m(t,e,n),o=i.params,a=i.callbackId;return Object(r["l"])(o)&&!h(t,o,a)?{params:o,callbackId:!1}:{params:o,callbackId:a}}function b(t,e,n){if("number"===typeof t){var r=p[t];if(r)return r.keepAlive||delete p[t],r.callback(e,n)}return e}function w(t){delete p[t]}function _(e){return function(n){t.error("API `"+e+"` is not yet implemented")}}function x(t,e){var n=s["a"][t];n&&(Object(r["k"])(n.beforeAll)&&(e.beforeAll=n.beforeAll),Object(r["k"])(n.beforeSuccess)&&(e.beforeSuccess=n.beforeSuccess))}var S=["getPushClientId","onPushMessage","offPushMessage"];function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.indexOf(t)>-1||!Object(r["k"])(e)?e:(x(t,n),function(){for(var i=arguments.length,a=new Array(i),s=0;st.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?e-1:0),r=1;r0;)this.emit.apply(this,[t].concat(e.shift()))}},{key:"_addListener",value:function(t,e,n){(this.listener[t]||(this.listener[t]=[])).push({fn:n,type:e})}}]),t}()},"2bdd":function(t,e,n){"use strict";n.r(e),function(t){var r;n.d(e,"startAccelerometer",(function(){return o})),n.d(e,"stopAccelerometer",(function(){return a})),n.d(e,"onAccelerometerChange",(function(){return s})),n.d(e,"offAccelerometerChange",(function(){return c}));var i=[];function o(e,n){var o=t,a=o.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){r=function(t){var e=t.acceleration||t.accelerationIncludingGravity;i.forEach((function(t){a(t,{x:e.x||0,y:e.y||0,z:e.z||0})}))},window.addEventListener("devicemotion",r,!1)}if(!r){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(t){"granted"===t?(s(),a(n,{errMsg:"startAccelerometer:ok"})):a(n,{errMsg:"startAccelerometer:fail ".concat(t)})})).catch((function(t){a(n,{errMsg:"startAccelerometer:fail ".concat(t)})}));s()}return{}}function a(){return r&&(window.removeEventListener("devicemotion",r,!1),r=null),{}}function s(t){i.length||o(),i.push(t)}function c(t){if(t){var e=i.indexOf(t);e>=0&&i.splice(e,1)}i.length||a()}}.call(this,n("0dd1"))},"2c67":function(t,e,n){"use strict";n.r(e),function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0?p:255,[f,h,d,p]}return i.error("unsupported color:"+t),[0,0,0,255]}function k(t,e){this.type="pattern",this.data=t,this.colorStop=e}var C=function(){function t(e,n){m(this,t),this.type=e,this.data=n,this.colorStop=[]}return b(t,[{key:"addColorStop",value:function(t,e){this.colorStop.push([t,S(e)])}}]),t}(),A=["scale","rotate","translate","setTransform","transform"],T=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],O=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function E(t,e){var n=document.createElement("canvas"),r=n.getContext("2d");return r.font=e,r.measureText(t).width||0}function j(t){this.width=t}var I=function(){function t(e,n){m(this,t),this.id=e,this.pageId=n,this.actions=[],this.path=[],this.subpath=[],this.currentTransform=[],this.currentStepAnimates=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}return b(t,[{key:"draw",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=f(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(t=w.push(n)),_(this.id,this.pageId,"actionsChanged",{actions:r,reserve:e,callbackId:t})}},{key:"createLinearGradient",value:function(t,e,n,r){return new C("linear",[t,e,n,r])}},{key:"createCircularGradient",value:function(t,e,n){return new C("radial",[t,e,n])}},{key:"createPattern",value:function(t,e){if(void 0===e)i.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(e)<0))return new k(t,e);i.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+e+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}},{key:"measureText",value:function(t){var e=this.state.font,n=0;return n=E(t,e),new j(n)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(t,e){this.path.push({method:"moveTo",data:[t,e]}),this.subpath=[[t,e]]}},{key:"lineTo",value:function(t,e){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[t,e]}):this.path.push({method:"lineTo",data:[t,e]}),this.subpath.push([t,e])}},{key:"quadraticCurveTo",value:function(t,e,n,r){this.path.push({method:"quadraticCurveTo",data:[t,e,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(t,e,n,r,i,o){this.path.push({method:"bezierCurveTo",data:[t,e,n,r,i,o]}),this.subpath.push([i,o])}},{key:"arc",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[t,e,n,r,i,o]}),this.subpath.push([t,e])}},{key:"rect",value:function(t,e,n,r){this.path.push({method:"rect",data:[t,e,n,r]}),this.subpath=[[t,e]]}},{key:"arcTo",value:function(t,e,n,r,i){this.path.push({method:"arcTo",data:[t,e,n,r,i]}),this.subpath.push([n,r])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:f(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var t=f(this.actions);return this.clearActions(),t}},{key:"lineDashOffset",set:function(t){this.actions.push({method:"setLineDashOffset",data:[t]})}},{key:"globalCompositeOperation",set:function(t){this.actions.push({method:"setGlobalCompositeOperation",data:[t]})}},{key:"shadowBlur",set:function(t){this.actions.push({method:"setShadowBlur",data:[t]})}},{key:"shadowColor",set:function(t){this.actions.push({method:"setShadowColor",data:[t]})}},{key:"shadowOffsetX",set:function(t){this.actions.push({method:"setShadowOffsetX",data:[t]})}},{key:"shadowOffsetY",set:function(t){this.actions.push({method:"setShadowOffsetY",data:[t]})}},{key:"font",set:function(t){var e=this;this.state.font=t;var n=t.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var r=n[1].trim().split(/\s/),o=parseFloat(n[3]),a=n[7],s=[];r.forEach((function(t,n){["italic","oblique","normal"].indexOf(t)>-1?(s.push({method:"setFontStyle",data:[t]}),e.state.fontStyle=t):["bold","normal"].indexOf(t)>-1?(s.push({method:"setFontWeight",data:[t]}),e.state.fontWeight=t):0===n?(s.push({method:"setFontStyle",data:["normal"]}),e.state.fontStyle="normal"):1===n&&c()})),1===r.length&&c(),r=s.map((function(t){return t.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=a,this.actions.push({method:"setFont",data:["".concat(r," ").concat(o,"px ").concat(a)]})}else i.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function c(){s.push({method:"setFontWeight",data:["normal"]}),e.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(t){this.setFillStyle(t)}},{key:"strokeStyle",set:function(t){this.setStrokeStyle(t)}},{key:"globalAlpha",set:function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:"setGlobalAlpha",data:[t]})}},{key:"textAlign",set:function(t){this.actions.push({method:"setTextAlign",data:[t]})}},{key:"lineCap",set:function(t){this.actions.push({method:"setLineCap",data:[t]})}},{key:"lineJoin",set:function(t){this.actions.push({method:"setLineJoin",data:[t]})}},{key:"lineWidth",set:function(t){this.actions.push({method:"setLineWidth",data:[t]})}},{key:"miterLimit",set:function(t){this.actions.push({method:"setMiterLimit",data:[t]})}},{key:"textBaseline",set:function(t){this.actions.push({method:"setTextBaseline",data:[t]})}}]),t}();function P(e,n){if(n)return new I(e,n.$page.id);var r=Object(s["a"])();if(r)return new I(e,r);t.emit("onError","createCanvasContext:fail")}function M(t,e){var n=t.canvasId,r=t.x,i=t.y,o=t.width,a=t.height,u=Object(s["a"])();if(u){var l=w.push((function(t){var n=t.data;n&&n.length&&(t.data=new Uint8ClampedArray(n)),Object(c["a"])(e,t)}));_(n,u,"getImageData",{x:r,y:i,width:o,height:a,callbackId:l})}else Object(c["a"])(e,{errMsg:"canvasGetImageData:fail"})}function L(t,e){var n=t.canvasId,r=t.data,i=t.x,o=t.y,a=t.width,u=t.height,l=Object(s["a"])();if(l){var f,h=w.push((function(t){Object(c["a"])(e,t)}));r=Array.prototype.slice.call(r),_(n,l,"putImageData",{data:r,x:i,y:o,width:a,height:u,compressed:f,callbackId:h})}else Object(c["a"])(e,{errMsg:"canvasPutImageData:fail"})}function B(t,e){var n=t.x,r=void 0===n?0:n,i=t.y,o=void 0===i?0:i,a=t.width,l=t.height,f=t.destWidth,h=t.destHeight,d=t.canvasId,p=t.fileType,v=t.quality,g=Object(s["a"])();if(g){var m=w.push((function(t){Object(c["a"])(e,t)})),y="".concat(u["TEMP_PATH"],"/canvas");_(d,g,"toTempFilePath",{x:r,y:o,width:a,height:l,destWidth:f,destHeight:h,fileType:p,quality:v,dirname:y,callbackId:m})}else Object(c["a"])(e,{errMsg:"canvasToTempFilePath:fail"})}[].concat(A,T).forEach((function(t){function e(t){switch(t){case"fill":case"stroke":return function(){this.actions.push({method:t+"Path",data:f(this.path)})};case"fillRect":return function(t,e,n,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[t,e,n,r]}]})};case"strokeRect":return function(t,e,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[t,e,n,r]}]})};case"fillText":case"strokeText":return function(e,n,r,i){var o=[e.toString(),n,r];"number"===typeof i&&o.push(i),this.actions.push({method:t,data:o})};case"drawImage":return function(e,n,r,i,o,a,s,c,u){var l;function f(t){return"number"===typeof t}void 0===u&&(a=n,s=r,c=i,u=o,n=void 0,r=void 0,i=void 0,o=void 0),l=f(n)&&f(r)&&f(i)&&f(o)?[e,a,s,c,u,n,r,i,o]:f(c)&&f(u)?[e,a,s,c,u]:[e,a,s],this.actions.push({method:t,data:l})};default:return function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&t<1/0?t:0;var e=Math.floor(t/3600),n=Math.floor(t%3600/60),r=Math.floor(t%3600%60);e=(e<10?"0":"")+e,n=(n<10?"0":"")+n,r=(r<10?"0":"")+r;var i=n+":"+r;return"00"!==e&&(i=e+":"+i),i}},mixins:[s["c"],o["g"],o["d"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,controlsTouching:!1,touchStartOrigin:{x:0,y:0},gestureType:u.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{centerPlayBtnShow:function(){return this.showCenterPlayBtn&&!this.start},controlsShow:function(){return!this.centerPlayBtnShow&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(t){this.$emit("update:enableDanmu",t)},autoHideContorls:function(t){t?this.autoHideStart():this.autoHideEnd()},srcSync:function(t){this.playing=!1,this.currentTime=0},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()},buffered:function(t){0!==t&&this.$trigger("progress",{},{buffered:t})}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var t=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));t.sort((function(t,e){return(t.time||0)-(e.time||0)}))},mounted:function(){var t,e,n,r=this,i=this,o=!0,a=this.$refs.ball;function s(r){var a=r.targetTouches[0],s=a.pageX,c=a.pageY;if(o&&Math.abs(s-t)100&&(f=100),i.progress=f,r.preventDefault(),r.stopPropagation()}}function u(t){i.controlsTouching=!1,i.touching&&(a.removeEventListener("touchmove",s,c),o||(t.preventDefault(),t.stopPropagation(),i.seek(i.$refs.video.duration*i.progress/100)),i.touching=!1)}a.addEventListener("touchstart",(function(i){r.controlsTouching=!0;var u=i.targetTouches[0];t=u.pageX,e=u.pageY,n=r.progress,o=!0,r.touching=!0,a.addEventListener("touchmove",s,c)})),a.addEventListener("touchend",u),a.addEventListener("touchcancel",u)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e,n=t.type,r=t.data,i=void 0===r?{}:r,o=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":e=i.position;break;case"sendDanmu":e=i;break;case"playbackRate":e=i.rate;break}o.indexOf(n)>=0&&this[n](e)},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(t){t=Number(t),"number"!==typeof t||isNaN(t)||(this.$refs.video.currentTime=t)},clickProgress:function(t){var e=this.$refs.progress,n=t.target,r=t.offsetX;while(n!==e)r+=n.offsetLeft,n=n.parentNode;var i=e.offsetWidth,o=0;r>=0&&r<=i&&(o=r/i,this.seek(this.$refs.video.duration*o))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(t){var e=document.createElement("p");e.className="uni-video-danmu-item",e.innerText=t.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(t.color,";");e.setAttribute("style",n),this.$refs.danmu.appendChild(e),setTimeout((function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",e.setAttribute("style",n),setTimeout((function(){e.remove()}),4e3)}),17)},sendDanmu:function(t){var e=this.otherData;e.danmuList.splice(e.danmuIndex.index+1,0,{text:String(t.text),color:t.color,time:this.$refs.video.currentTime||0})},playbackRate:function(t){this.$refs.video.playbackRate=t},triggerFullscreen:function(t){var e,n=this.$refs.container,r=this.$refs.video;t?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?r.webkitEnterFullScreen?r.webkitEnterFullScreen():(e=!0,n.remove(),n.classList.add("uni-video-type-fullscreen"),document.body.appendChild(n)):n[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():r.webkitExitFullScreen?r.webkitExitFullScreen():(e=!0,n.remove(),n.classList.remove("uni-video-type-fullscreen"),this.$el.appendChild(n)),e&&this.emitFullscreenChange(t)},onFullscreenChange:function(t,e){e&&document.fullscreenEnabled||this.emitFullscreenChange(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:function(t){this.fullscreen=t,this.$trigger("fullscreenchange",{},{fullScreen:t,direction:"vertical"})},requestFullScreen:function(){this.triggerFullscreen(!0)},exitFullScreen:function(){this.triggerFullscreen(!1)},onDurationChange:function(t){var e=t.target;this.durationTime=e.duration},onLoadedMetadata:function(t){var e=Number(this.initialTime)||0,n=t.target;e>0&&(n.currentTime=e),this.$trigger("loadedmetadata",t,{width:n.videoWidth,height:n.videoHeight,duration:n.duration}),this.onProgress(t)},onProgress:function(t){var e=t.target,n=e.buffered;n.length&&(this.buffered=n.end(n.length-1)/e.duration*100)},onWaiting:function(t){this.$trigger("waiting",t,{})},onVideoError:function(t){this.playing=!1,this.$trigger("error",t,{})},onPlay:function(t){this.start=!0,this.playing=!0,this.$trigger("play",t,{})},onPause:function(t){this.playing=!1,this.$trigger("pause",t,{})},onEnded:function(t){this.playing=!1,this.$trigger("ended",t,{})},onTimeUpdate:function(t){var e=t.target,n=this.otherData,r=this.currentTime=e.currentTime,i=n.danmuIndex,o={time:r,index:i.index},a=n.danmuList;if(r>i.time)for(var s=i.index+1;s=(c.time||0)))break;o.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(c)}else if(r-1;u--){var l=a[u];if(!(r<=(l.time||0)))break;o.index=u-1}n.danmuIndex=o,this.$trigger("timeupdate",t,{currentTime:r,duration:e.duration})},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(t){var e=t.targetTouches[0];this.touchStartOrigin={x:e.pageX,y:e.pageY},this.gestureType=u.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(t){function e(){t.stopPropagation(),t.preventDefault()}this.fullscreen&&e();var n=this.gestureType;if(n!==u.STOP){var r=t.targetTouches[0],i=r.pageX,o=r.pageY,a=this.touchStartOrigin;if(n===u.PROGRESS?this.changeProgress(i-a.x):n===u.VOLUME&&this.changeVolume(o-a.y),n===u.NONE)if(Math.abs(i-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=u.STOP);this.gestureType=u.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=u.STOP);this.gestureType=u.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==u.NONE&&this.gestureType!==u.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===u.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=u.NONE},changeProgress:function(t){var e=this.$refs.video.duration,n=t/600*e+this.currentTimeOld;n<0?n=0:n>e&&(n=e),this.currentTimeNew=n},changeVolume:function(t){var e,n=this.volumeOld;"number"===typeof n&&(e=n-t/200,e<0?e=0:e>1&&(e=1),this.$refs.video.volume=e,this.volumeNew=e)},autoHideStart:function(){var t=this;this.otherData.hideTiming=setTimeout((function(){t.controlsVisible=!1}),3e3)},autoHideEnd:function(){var t=this.otherData;t.hideTiming&&(clearTimeout(t.hideTiming),t.hideTiming=null)},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},f=l,h=(n("856e"),n("0c7c")),d=Object(h["a"])(f,r,i,!1,null,null,null);e["default"]=d.exports},"332a":function(t,e,n){"use strict";n.r(e),n.d(e,"redirectTo",(function(){return u})),n.d(e,"reLaunch",(function(){return l})),n.d(e,"navigateTo",(function(){return f})),n.d(e,"switchTab",(function(){return h})),n.d(e,"navigateBack",(function(){return d})),n.d(e,"preloadPage",(function(){return p})),n.d(e,"unPreloadPage",(function(){return v}));var r,i=n("0f74");function o(t){if("string"!==typeof t)return t;var e=t.indexOf("?");if(-1===e)return t;var n=t.substr(e+1).trim().replace(/^(\?|#|&)/,"");if(!n)return t;t=t.substr(0,e);var r=[];return n.split("&").forEach((function(t){var e=t.replace(/\+/g," ").split("="),n=e.shift(),i=e.length>0?e.join("="):"";r.push(n+"="+encodeURIComponent(i))})),r.length?t+"?"+r.join("&"):t}function a(t){return function(e,n){e=Object(i["a"])(e);var a=e.split("?")[0],s=__uniRoutes.find((function(t){var e=t.path,n=t.alias;return e===a||n===a}));if(!s)return"page `"+e+"` is not found";if("navigateTo"===t||"redirectTo"===t){if(s.meta.isTabBar)return"can not ".concat(t," a tabbar page")}else if("switchTab"===t&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==t&&"preloadPage"!==t||!s.meta.isTabBar||"appLaunch"===n.openType||(e=a),s.meta.isEntry&&(e=e.replace(s.alias,"/")),n.url=o(e),"unPreloadPage"!==t)if("preloadPage"!==t){if(r===e&&"appLaunch"!==n.openType)return"".concat(r," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(r=e)}else if(s.meta.isTabBar){var c=getCurrentPages(!0),u=(s.alias||s.path).substr(1);if(c.find((function(t){return t.route===u})))return"tabBar page `"+u+"` already exists"}}}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:a(t)},beforeAll:function(){r=""}},e)}function c(t){return{animationType:{type:String,validator:function(e){if(e&&-1===t.indexOf(e))return"`"+e+"` is not supported for `animationType` (supported values are: `"+t.join("`|`")+"`)"}},animationDuration:{type:Number}}}var u=s("redirectTo"),l=s("reLaunch"),f=s("navigateTo",c(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),h=s("switchTab"),d=Object.assign({delta:{type:Number,validator:function(t,e){t=parseInt(t)||1,e.delta=Math.min(getCurrentPages().length-1,t)}}},c(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),p={url:{type:String,required:!0,validator:a("preloadPage")}},v={url:{type:String,required:!0,validator:a("unPreloadPage")}}},"33ed":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c}));var r,i=n("4a59");function o(t){t.preventDefault()}function a(t){var e=t.scrollTop,n=t.selector,r=t.duration;if("undefined"===typeof e){var i=document.querySelector(n);if(i){var o=i.getBoundingClientRect(),a=o.top,s=o.height;e=a+window.pageYOffset,e-=s}}var c=document.documentElement,u=c.clientHeight,l=c.scrollHeight;function f(t){if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),f(t-10)}))}}e=Math.min(e,l-u),0!==r?window.scrollY!==e&&f(r):c.scrollTop=document.body.scrollTop=e}var s=0;function c(e,n){var o=n.enablePageScroll,a=n.enablePageReachBottom,c=n.onReachBottomDistance,u=n.enableTransparentTitleNView,l=!1,f=!1,h=!0;function d(){var t=document.documentElement.scrollHeight,e=window.innerHeight,n=window.scrollY,r=n>0&&t>e&&n+e+c>=t,i=Math.abs(t-s)>c;return!r||f&&!i?(!r&&f&&(f=!1),!1):(s=t,f=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===e){var s=window.pageYOffset;o&&Object(i["a"])("onPageScroll",{scrollTop:s},e),u&&t.emit("onPageScroll",{scrollTop:s}),a&&h&&(c()||(r=setTimeout(c,300))),l=!1}function c(){if(d())return Object(i["a"])("onReachBottom",{},e),h=!1,setTimeout((function(){h=!0}),350),!0}}return function(){clearTimeout(r),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},"34b2":function(t,e,n){"use strict";n.r(e),function(t){function r(){return window.location.protocol+"//"+window.location.host}function i(e,n){var i=e.src,o=t,a=o.invokeCallbackHandler,s=new Image,c=i;s.onload=function(){a(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===c.indexOf("/")?r()+c:c})},s.onerror=function(t){a(n,{errMsg:"getImageInfo:fail"})},s.src=i}n.d(e,"getImageInfo",(function(){return i}))}.call(this,n("0dd1"))},3563:function(t,e,n){"use strict";n.r(e);var r=n("f2b3"),i=n("bd97"),o=n("8af1");o["d"].addInteractListener();var a="*";function s(){var t=window.navigator.userAgent.toLowerCase();return!(!t.match(/MicroMessenger/i)||"micromessenger"!==t.match(/MicroMessenger/i)[0])}e["default"]=function(t){var e=t.count,n=t.sourceType,o=t.type,c=t.extension,u=document.createElement("input");return u.type="file",Object(r["w"])(u,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),u.accept=c.map((function(t){if(o!==a){var e=t.replace(".","");return"".concat(o,"/").concat(i["default"][o][e]||e)}return s()?".":0===t.indexOf(".")?t:".".concat(t)})).join(","),e>1&&(u.multiple="multiple"),1===n.length&&"camera"===n[0]&&(u.capture="camera"),u}},3569:function(t,e,n){},3648:function(t,e,n){"use strict";n.r(e),n.d(e,"canIUse",(function(){return s}));var r=n("f2b3");function i(t){return window.CSS&&CSS.supports&&(CSS.supports(t)||CSS.supports.apply(CSS,t.split(":")))}var o={"css.var":i("--a:0"),"css.env":i("top:env(a)"),"css.constant":i("top:constant(a)")},a=n("9fe4");function s(t){return Object(r["i"])(o,t)?o[t]:!!Object(r["i"])(a["a"],t)}},3676:function(t,e,n){"use strict";n.r(e),n.d(e,"getRecorderManager",(function(){return l}));var r=n("db70");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:function(){};__uniConfig.darkmode&&t.on("api."+o["b"],e)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};t.off("api."+o["b"],e)}function c(t){var e={};if(__uniConfig.darkmode){var n=Object(i["getTheme"])();e=Object(r["o"])(t,__uniConfig.themeConfig,n)}return __uniConfig.darkmode?e:t}}).call(this,n("0dd1"))},"3b51":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("636c");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;if(i(this,t),s(this,"option",void 0),s(this,"position",void 0),s(this,"index",void 0),s(this,"visible",void 0),s(this,"alwaysVisible",void 0),s(this,"div",void 0),s(this,"triangle",void 0),s(this,"callback",void 0),s(this,"parent",void 0),s(this,"Text",void 0),s(this,"createAMapText",o),s(this,"removeAMapText",u),s(this,"onAdd",e),s(this,"construct",e),s(this,"onRemove",n),s(this,"destroy",n),this.option=a||{},this.visible=this.alwaysVisible="ALWAYS"===a.display,r["c"])this.callback=c,this.parent=l,this.visible&&this.createAMapText();else{var f=a.map;this.position=a.position,this.index=1;var h=this.div=document.createElement("div"),d=h.style;d.position="absolute",d.whiteSpace="nowrap",d.transform="translateX(-50%) translateY(-100%)",d.zIndex="1",d.boxShadow=a.boxShadow||"none",d.display=this.visible?"block":"none";var p=this.triangle=document.createElement("div");p.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(a),h.appendChild(p),f&&this.setMap(f)}}return a(t,[{key:"onclick",set:function(t){this.div.onclick=t},get:function(){return this.div.onclick}}]),a(t,[{key:"setOption",value:function(t){this.option=t,"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,r["c"]?this.visible&&this.createAMapText():(this.setPosition(t.position),this.setStyle(t))}},{key:"setStyle",value:function(t){var e=this.div,n=e.style;e.innerText=t.content||"",n.lineHeight=(t.fontSize||14)+"px",n.fontSize=(t.fontSize||14)+"px",n.padding=(t.padding||8)+"px",n.color=t.color||"#000",n.borderRadius=(t.borderRadius||0)+"px",n.backgroundColor=t.bgColor||"#fff",n.marginTop="-"+((t.top||0)+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")}},{key:"setPosition",value:function(t){this.position=t,this.draw()}},{key:"draw",value:function(){var t=this.getProjection();if(this.position&&this.div&&t){var e=t.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=e.x+"px",n.top=e.y+"px"}}},{key:"changed",value:function(){var t=this.div.style;t.display=this.visible?"block":"none"}}]),t}();if(!r["c"]){var f=l.prototype,h=new(t.OverlayView||t.Overlay);for(var d in h)d in f||(f[d]=h[d])}return l}},"3b54":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getFileInfo",(function(){return a}));var r=n("e2e2"),i=t,o=i.invokeCallbackHandler;function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.filePath,n=arguments.length>1?arguments[1]:void 0;Object(r["f"])(e).then((function(t){o(n,{errMsg:"getFileInfo:ok",size:t.size})})).catch((function(t){o(n,{errMsg:"getFileInfo:fail "+t.message})}))}}.call(this,n("0dd1"))},"3b67":function(t,e,n){"use strict";var r=Object.create(null),i=n("e3a7");i.keys().forEach((function(t){Object.assign(r,i(t))})),e["a"]=r},"3bfb":function(t,e,n){"use strict";n.r(e),n.d(e,"createAudioContext",(function(){return i})),n.d(e,"createVideoContext",(function(){return o})),n.d(e,"createMapContext",(function(){return a})),n.d(e,"createCanvasContext",(function(){return s}));var r=[{name:"id",type:String,required:!0}],i=r,o=r,a=r,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3d1f":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("62b5"),i=n("a741");function o(t,e){e.getApp;var n=e.getCurrentPages;function o(t){return function(e,r){r=parseInt(r);var o=n(),a=o.find((function(t){return t.$page.id===r}));a&&Object(i["b"])(a,t,e)}}var a=Object(r["a"])("requestComponentInfo");function s(t){var e=t.reqId,n=t.res,r=a.pop(e);r&&r(n)}var c=Object(r["a"])("requestComponentObserver");function u(t){var e=t.reqId,n=t.reqEnd,r=t.res,i=c.get(e);if(i){if(n)return void c.pop(e);i(r)}}var l=Object(r["a"])("requestMediaQueryObserver");function f(t){var e=t.reqId,n=t.reqEnd,r=t.res,i=l.get(e);if(i){if(n)return void l.pop(e);i(r)}}t("onPageReady",o("onReady")),t("onPageScroll",o("onPageScroll")),t("onReachBottom",o("onReachBottom")),t("onRequestComponentInfo",s),t("onRequestComponentObserver",u),t("onRequestMediaQueryObserver",f)}},"3d64":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"onNetworkStatusChange",(function(){return s})),n.d(e,"offNetworkStatusChange",(function(){return c})),n.d(e,"getNetworkType",(function(){return u}));var r=t,i=r.invokeCallbackHandler,o=[];function a(){var t=u(),e=t.networkType;o.forEach((function(t){i(t,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==e,networkType:e})}))}function s(t){var e=navigator.connection||navigator.webkitConnection;o.push(t),e?e.addEventListener("change",a):(window.addEventListener("offline",a),window.addEventListener("online",a))}function c(t){if(t){var e=o.indexOf(t);e>=0&&o.splice(e,1)}if(!o.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",a):(window.removeEventListener("offline",a),window.removeEventListener("online",a))}}function u(){var t=navigator.connection||navigator.webkitConnection,e="unknown";return t?(e=t.type,"cellular"===e&&t.effectiveType?e=t.effectiveType.replace("slow-",""):["none","wifi"].includes(e)||(e="unknown")):!1===navigator.onLine&&(e="none"),{errMsg:"getNetworkType:ok",networkType:e}}}.call(this,n("0dd1"))},"3da9":function(t,e,n){"use strict";var r=n("fdb1"),i=n.n(r);i.a},"3e8c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-resize-sensor",{on:{"~animationstart":function(e){return t.update(e)}}},[n("div",{on:{scroll:t.update}},[n("div")]),n("div",{on:{scroll:t.update}},[n("div")])])},i=[],o=1e5,a={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(t){this.$emit("resize",Object.assign({},t))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},activated:function(){this.reset()},methods:{reset:function(){var t=this.$el.firstChild;t.scrollLeft=o,t.scrollTop=o;var e=this.$el.lastChild;e.scrollLeft=o,e.scrollTop=o},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},s=a,c=(n("64d0"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"3f15":function(t,e,n){"use strict";n.r(e),n.d(e,"getVideoInfo",(function(){return i}));var r=n("cb0f"),i={src:{type:String,required:!0,validator:function(t,e){e.src=Object(r["a"])(t)}}}},"3f7e":function(t,e,n){"use strict";var r=n("a036"),i=n.n(r);i.a},"42f9":function(t,e,n){},"439a":function(t,e,n){"use strict";n.r(e),n.d(e,"downloadFile",(function(){return r}));var r={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},"442e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var r=n("5129"),i=n.n(r),o=n("85b6"),a=n("f2b3");function s(e){e.config.errorHandler=function(n,r,i){var s=Object(a["u"])(n);e.util.warn("Error in ".concat(i,': "').concat("Error"===s?n.toString():n,'"'),r);var c="function"===typeof getApp&&getApp();c&&Object(o["c"])(c.$options,"onError")?c.__call_hook("onError",n):t.error(n)};var n=e.config.isReservedTag;e.config.isReservedTag=function(t){return-1!==i.a.indexOf(t)||n(t)},e.config.ignoredElements=i.a;var r=e.config.getTagNamespace,s=["switch","image","text","view"];e.config.getTagNamespace=function(t){return!~s.indexOf(t)&&r(t)}}}).call(this,n("3ad9")["default"])},"44de":function(t,e,n){"use strict";n.r(e),n.d(e,"vibrateLong",(function(){return i})),n.d(e,"vibrateShort",(function(){return o}));var r=!!window.navigator.vibrate;function i(){return r&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function o(){return r&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"453f":function(t,e,n){"use strict";(function(t){var r=n("636c"),i=n("cb0f");e["a"]={props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},data:function(){return{idString:String(isNaN(Number(this.id))?"":this.id)}},mounted:function(){var t=this,e=this.$parent;e.mapReady((function(){t._maps=e._maps,t._map=e._map,t.addMarker(t.$props),Object.keys(t.$props).forEach((function(e){t.$watch(e,(function(){t.updateMarker(t.$props)}))}))}))},beforeDestroy:function(){this.removeMarker()},methods:{addMarker:function(t){var e=this,n=this._maps,i=this._map,o=this._marker=new n.Marker({map:i,flat:!0,autoRotation:!1});if(this.$parent._markers[this.idString]=o,this.updateMarker(t),r["c"]){o.dom.addEventListener("click",(function(t){e.handleAMapMarkerClick(t,o)}));var a={};o.dom.addEventListener("touchstart",(function(t){a=t.touches[0]})),o.dom.addEventListener("touchend",(function(t){var n=t.changedTouches[0];a.clientX===n.clientX&&a.clientY===n.clientY&&e.handleAMapMarkerClick(t,o)}))}else n.event.addListener(o,"click",(function(t){var n=o.callout;if(n&&!n.alwaysVisible&&(n.set("visible",!n.visible),n.visible)){var r=n.div,i=r.parentNode;i.removeChild(r),i.appendChild(r)}var a=t.event||t.domEvent;if(e.idString){var s=e.getMarkerLatitudeLongitude(t),c=s.latitude,u=s.longitude;e.$parent.$trigger("markertap",a,{markerId:Number(e.idString),latitude:c,longitude:u})}a.stopPropagation()}))},updateMarker:function(e){var n=this,o=this._map,a=this._maps,s=this._marker,c=e.title,u=r["c"]?new a.LngLat(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude),l=new Image,f=0;l.onload=function(){var t,i,h,d=e.anchor||{},p="number"===typeof d.x?d.x:.5,v="number"===typeof d.y?d.y:1;e.iconPath&&(e.width||e.height)?(i=e.width||l.width/l.height*e.height,h=e.height||l.height/l.width*e.width):(i=l.width/2,h=l.height/2),f=h;var g=h-(h-v*h);t="MarkerImage"in a?new a.MarkerImage(l.src,null,null,new a.Point(p*i,v*h),new a.Size(i,h)):"Icon"in a?new a.Icon({image:l.src,size:new a.Size(i,h),imageSize:new a.Size(i,h),imageOffset:new a.Pixel(p*i,v*h)}):{url:l.src,anchor:new a.Point(p,v),size:new a.Size(i,h)},s.setPosition(u),s.setIcon(t),"setRotation"in s&&s.setRotation(e.rotate||0);var m,y=e.label||{};if("label"in s&&(s.label.setMap(null),delete s.label),y.content){var b={borderColor:y.borderColor,borderWidth:(Number(y.borderWidth)||0)+"px",padding:(Number(y.padding)||0)+"px",borderRadius:(Number(y.borderRadius)||0)+"px",backgroundColor:y.bgColor,color:y.color,fontSize:(y.fontSize||14)+"px",lineHeight:(y.fontSize||14)+"px",marginLeft:(Number(y.anchorX||y.x)||0)+"px",marginTop:(Number(y.anchorY||y.y)||0)+"px"};if("Label"in a)m=new a.Label({position:u,map:o,clickable:!1,content:y.content,style:b}),s.label=m;else if("setLabel"in s)if(r["c"]){var w='
\n ').concat(y.content,"\n
");s.setLabel({content:w,direction:"bottom-right"})}else{var _=n.updateMarkerLabelStyle(n.idString,b);s.setLabel({text:y.content,color:b.color,fontSize:b.fontSize,className:_})}}var x,S=e.callout||{},k=s.callout;if(S.content||c){r["c"]&&S.content&&(S.content=S.content.replaceAll("\n","
"));var C="0px 0px 3px 1px rgba(0,0,0,0.5)",A=-f/2;if((e.width||e.height)&&(A+=14-f/2),x=S.content?{position:u,map:o,top:g,offsetY:A,content:S.content,color:S.color,fontSize:S.fontSize,borderRadius:S.borderRadius,bgColor:S.bgColor,padding:S.padding,boxShadow:S.boxShadow||C,display:S.display}:{position:u,map:o,top:g,offsetY:A,content:c,boxShadow:C},k)k.setOption(x);else if(r["c"]){var T=function(t,e){e.idString&&e.$parent.$trigger("callouttap",t,{markerId:Number(e.idString)})};k=s.callout=new a.Callout(x,T,n)}else k=s.callout=new a.Callout(x),k.div.onclick=function(t){n.idString&&n.$parent.$trigger("callouttap",t,{markerId:Number(n.idString)}),t.stopPropagation(),t.preventDefault()},Object(r["e"])().type===r["d"].GOOGLE&&(k.div.onpointerdown=function(t){t.stopPropagation()},k.div.ontouchstart=function(t){t.stopPropagation()})}else k&&(n.removeMarkerCallout(s.callout),delete s.callout)},e.iconPath?l.src=Object(i["a"])(e.iconPath):t.error("Marker.iconPath is required.")},handleAMapMarkerClick:function(t,e){var n=e.callout;n&&!n.alwaysVisible&&(n.visible=!n.visible,n.visible?e.callout.createAMapText():e.callout.removeAMapText()),this.idString&&this.$parent.$trigger("markertap",t,{markerId:Number(this.idString),latitude:e._position.lat,longitude:e._position.lng}),t.stopPropagation()},updateMarkerLabelStyle:function(t,e){var n="uni-map-marker-label-"+t,r=document.getElementById(n);r||(r=document.createElement("style"),r.id=n,document.head.appendChild(r),this.$once("hook:destroyed",(function(){r.remove()})));var i=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),o=document.createElement("div");return Object.keys(i).forEach((function(t){o.style[t]=i[t]||""})),r.innerText=".".concat(n,"{").concat(o.getAttribute("style"),"}"),n},getMarkerLatitudeLongitude:function(t){var e,n,i=Object(r["e"])();return r["c"]?(e=t.lnglat.lat,n=t.lnglat.lng):i.type===r["d"].QQ?(e=t.latLng.lat,n=t.latLng.lng):i.type===r["d"].GOOGLE&&(e=t.latLng.lat(),n=t.latLng.lng()),{latitude:e,longitude:n}},removeMarker:function(){var t=this._marker;t&&(t.label&&"setMap"in t.label&&t.label.setMap(null),t.callout&&this.removeMarkerCallout(t.callout),t.setMap(null)),delete this.$parent._markers[this.idString],this._marker=null},removeMarkerCallout:function(t){r["c"]?t.removeAMapText():t.setMap(null)}},render:function(){return null}}}).call(this,n("3ad9")["default"])},"454d":function(t,e,n){"use strict";n.r(e),n.d(e,"removeTabBarBadge",(function(){return o})),n.d(e,"showTabBarRedDot",(function(){return a})),n.d(e,"hideTabBarRedDot",(function(){return s})),n.d(e,"onTabBarMidButtonTap",(function(){return u}));var r=n("db70"),i=n("a118");function o(t){var e=t.index;return Object(r["c"])("setTabBarBadge",{index:e,type:"none"})}function a(t){var e=t.index;return Object(r["c"])("setTabBarBadge",{index:e,type:"redDot"})}var s=o,c=[];function u(t){c.push(t)}Object(r["d"])("onTabBarMidButtonTap",(function(t){c.forEach((function(e){Object(i["a"])(e,t)}))}))},"45d2":function(t,e,n){"use strict";n.r(e),n.d(e,"upx2px",(function(){return l}));var r=1e-4,i=750,o=!1,a=0,s=0;function c(){var t=uni.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,r=t.windowWidth;a=r,s=n,o="ios"===e}function u(t,e){return t=Number(t),isNaN(t)?e:t}function l(t,e){if(0===a&&c(),t=Number(t),0===t)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},l=u(n.rpxCalcMaxDeviceWidth,960),f=u(n.rpxCalcBaseDeviceWidth,375),h=u(n.rpxCalcIncludeWidth,750),d=e||a;d=t===h||d<=l?d:f;var p=t/i*d;return p<0&&(p=-p),p=Math.floor(p+r),0===p&&(p=1!==s&&o?.5:1),t<0?-p:p}},"45db":function(t,e,n){"use strict";n.r(e),function(t){var r;function i(t){r=t}function o(){r&&t.emit(r+".stopPullDownRefresh",{},r);var e=getCurrentPages();return e.length&&(r=e[e.length-1].$page.id,t.emit(r+".startPullDownRefresh",{},r)),{}}function a(){if(r)t.emit(r+".stopPullDownRefresh",{},r),r=null;else{var e=getCurrentPages();e.length&&(r=e[e.length-1].$page.id,t.emit(r+".stopPullDownRefresh",{},r))}return{}}n.d(e,"setPullDownRefreshPageId",(function(){return i})),n.d(e,"startPullDownRefresh",(function(){return o})),n.d(e,"stopPullDownRefresh",(function(){return a}))}.call(this,n("0dd1"))},4795:function(t,e,n){t.exports=n("96cf")},4814:function(t,e,n){},"4a59":function(t,e,n){"use strict";(function(t){function r(e,n,r){t.UniServiceJSBridge.subscribeHandler(e,n,r)}n.d(e,"a",(function(){return r}))}).call(this,n("c8ba"))},"4c39":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-map-control"},[n("img",{staticClass:"uni-map-control-icon",style:t.positionStyle,attrs:{src:t.imgPath},on:{click:t.handleClick}})])},i=[],o=n("cb0f"),a={props:{id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:Boolean,default:!1}},computed:{imgPath:function(){return Object(o["a"])(this.iconPath)},positionStyle:function(){var t="top:".concat(this.position.top||0,"px;left:").concat(this.position.left||0,"px;");return this.position.width&&(t+="width:".concat(this.position.width,"px;")),this.position.height&&(t+="height:".concat(this.position.height,"px;")),t}},methods:{handleClick:function(t){this.clickable&&this.$parent.$trigger("controltap",t,{controlId:this.id}),t.stopPropagation()}}},s=a,c=(n("a8b8"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["a"]=u.exports},"4ca9":function(t,e,n){"use strict";n.r(e),function(t){var r=n("6389"),i=n.n(r),o=n("85b6"),a=n("abbf"),s=n("0784"),c=n("aa92"),u=n("02c9"),l=n("23e5"),f=n("f2b3");function h(t){var e=0;return t.forEach((function(t){t.meta.id&&e++})),e}function d(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":decodeURI(t.slice(e+1))}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=decodeURI(window.location.pathname),n=window.location.search,r=window.location.hash;return"/"===t[t.length-1]&&e===t.substring(0,t.length-1)&&(e=t,window.history.replaceState({},"",t+n+r)),t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+n+r}e["default"]={install:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.routes;e.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(e.config.devtools=!1),Object(u["a"])(e),Object(c["a"])(e),Object(f["v"])(e),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var v=h(r),g=new i.a({id:v,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:r,scrollBehavior:function(t,e,n){if(n)return n;if(t&&e&&t.meta.isTabBar&&e.meta.isTabBar){var r=Object(l["b"])(t.params.__id__);if(r)return r}return{x:0,y:0}}}),m=[],y=g.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):d());if(y.meta.name&&(y.meta.id?m.push(y.meta.name+"-"+y.meta.id):m.push(y.meta.name+"-"+(v+1))),y.meta&&y.meta.name&&(document.body.className="uni-body "+y.meta.name,y.meta.isNVue)){var b="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(b,"")}e.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:m}};var i=Object(a["a"])(e,r,y);Object.keys(i).forEach((function(t){n[t]=n[t]?[].concat(i[t],n[t]):[i[t]]})),n.router=g,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(e){t.error(e)}])}else if(Object(o["d"])(this)){var c=Object(s["a"])();Object.keys(c).forEach((function(t){n.mpOptions?n[t]=n[t]?[].concat(n[t],c[t]):[c[t]]:n[t]=n[t]?[].concat(c[t],n[t]):[c[t]]}))}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(e.prototype,"$page",{get:function(){return this.__page__}}),e.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},e.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},e.prototype.createMediaQueryObserver=function(t){return uni.createMediaQueryObserver(this,t)},e.use(i.a)}}}.call(this,n("3ad9")["default"])},"4ccd":function(t,e,n){"use strict";n.r(e),e["default"]={data:function(){return{popupWidth:0,popupHeight:0}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},popupStyle:function(){var t={},e=t.content={},n=t.triangle={},r=this.popover;function i(t){return Number(t)||0}if(this.isDesktop&&r){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var o=i(r.left),a=i(r.width),s=i(r.top),c=i(r.height),u=o+a/2;e.transform="none !important";var l=Math.max(0,u-150);e.left="".concat(l,"px");var f=Math.max(12,u-l);f=Math.min(288,f),n.left="".concat(f,"px");var h=this.popupHeight/2;s+c-h>h-s?(e.top="auto",e.bottom="".concat(this.popupHeight-s+6,"px"),n.bottom="-6px",n["border-width"]="6px 6px 0 6px",n["border-color"]="#fcfcfd transparent transparent transparent"):(e.top="".concat(s+c+6,"px"),n.top="-6px",n["border-width"]="0 6px 6px 6px",n["border-color"]="transparent transparent #fcfcfd transparent")}return t}},mounted:function(){var t=this,e=function(){var e=uni.getSystemInfoSync(),n=e.windowWidth,r=e.windowHeight,i=e.windowTop;t.popupWidth=n,t.popupHeight=r+i};window.addEventListener("resize",e),e(),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",e)}))}}},"4da7":function(t,e,n){"use strict";n.r(e);var r,i,o=n("5092"),a=o["a"],s=(n("c8ed"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"4e7c":function(t,e,n){"use strict";n.r(e),n.d(e,"getProvider",(function(){return i}));var r={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},i={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(r).indexOf(t)<0)return"service error"}}}},"4f1c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===t.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[t.switchChecked?"uni-switch-input-checked":""],style:t.checkedColor}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===t.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[t.switchChecked?"uni-checkbox-input-checked":""],style:{color:t.color}})])])},i=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["f"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},data:function(){return{switchChecked:this.checked}},computed:{checkedColor:function(){return this.switchChecked&&this.color?{backgroundColor:this.color,borderColor:this.color}:{}}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t.value=this.switchChecked,t.key=this.name),t}}},s=a,c=(n("a5ec"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"4f43":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"downloadFile",(function(){return u}));var r=n("e2e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var i,o=e.url,a=e.header,s=e.timeout,u=void 0===s?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:s,l=t,f=l.invokeCallbackHandler,h=new XMLHttpRequest,d=new c(h);return h.open("GET",o,!0),Object.keys(a).forEach((function(t){h.setRequestHeader(t,a[t])})),h.responseType="blob",h.onload=function(){clearTimeout(i);var t,e=h.status,a=this.response,s=h.getResponseHeader("content-disposition");if(s){var c=s.match(/filename="?(\S+)"?\b/);c&&(t=c[1])}a.name=t||Object(r["c"])(o),f(n,{errMsg:"downloadFile:ok",statusCode:e,tempFilePath:Object(r["b"])(a)})},h.onabort=function(){clearTimeout(i),f(n,{errMsg:"downloadFile:fail abort"})},h.onerror=function(){clearTimeout(i),f(n,{errMsg:"downloadFile:fail"})},h.onprogress=function(t){d._callbacks.forEach((function(e){var n=t.loaded,r=t.total,i=Math.round(n/r*100);e({progress:i,totalBytesWritten:n,totalBytesExpectedToWrite:r})}))},h.send(),i=setTimeout((function(){h.onprogress=h.onload=h.onabort=h.onerror=null,d.abort(),f(n,{errMsg:"downloadFile:fail timeout"})}),u),d}}.call(this,n("0dd1"))},"4f53":function(t,e,n){"use strict";n.r(e),n.d(e,"saveImageToPhotosAlbum",(function(){return i}));var r=n("cb0f"),i={filePath:{type:String,required:!0,validator:function(t,e){e.filePath=Object(r["a"])(t)}}}},"4fef":function(t,e,n){"use strict";var r=n("23ab"),i=n.n(r);i.a},"501c":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return g})),n.d(e,"off",(function(){return m})),n.d(e,"once",(function(){return y})),n.d(e,"emit",(function(){return b})),n.d(e,"subscribe",(function(){return w})),n.d(e,"unsubscribe",(function(){return _})),n.d(e,"subscribeHandler",(function(){return x})),n.d(e,"publishHandler",(function(){return p["a"]}));var r=n("8bbf"),i=n.n(r);function o(t){var e=t.pageStyle,n=t.rootFontSize,r=document.querySelector("uni-page-body")||document.body;r.setAttribute("style",e),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var a=n("6bdf"),s=n("5dc1"),c=n("1c73"),u={setPageMeta:o,requestComponentInfo:a["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:c["b"],destroyMediaQueryObserver:c["a"]},l=n("33ed"),f=n("7107"),h=n("764a");function d(t){Object.keys(u).forEach((function(e){t(e,u[e])})),t("pageScrollTo",l["c"]),t("loadFontFace",f["a"]),Object(h["a"])(t)}var p=n("4a59"),v=new i.a,g=v.$on.bind(v),m=v.$off.bind(v),y=v.$once.bind(v),b=v.$emit.bind(v);function w(t,e){return g("service."+t,e)}function _(t,e){return m("service."+t,e)}function x(t,e,n){b("service."+t,e,n)}d(w)},5092:function(t,e,n){"use strict";(function(t){var n={ensp:" ",emsp:" ",nbsp:" "};e["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&n[this.space]&&(t=t.replace(/ /g,n[this.space])),this.decode&&(t=t.replace(/ /g,n.nbsp).replace(/ /g,n.ensp).replace(/ /g,n.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(e){var n=this,r=[];return this.$slots.default&&this.$slots.default.forEach((function(i){if(i.text){var o=i.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach((function(t,i){r.push(n._decodeHtml(t)),i!==a.length-1&&r.push(e("br"))}))}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&t.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),r.push(i)})),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},r)])}}}).call(this,n("3ad9")["default"])},5129:function(t,e){t.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},5243:function(t,e,n){"use strict";n.r(e),n.d(e,"compressVideo",(function(){return i}));var r=n("cb0f"),i={src:{type:String,required:!0,validator:function(t,e){e.src=Object(r["a"])(t)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(t,e,n){"use strict";function r(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",(function(){return r})),r.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},r.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},r.prototype.x=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._x+this._v*e/this._dragLog-this._v/this._dragLog},r.prototype.dx=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._v*e},r.prototype.done=function(){return Math.abs(this.dx())<3},r.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},r.prototype.configuration=function(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(e){t.reconfigure(e)},min:.001,max:.1,step:.001}]}},5408:function(t,e,n){var r={"./audio/index.vue":"6150","./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768"};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="5408"},"54f4":function(t,e,n){"use strict";function r(){var t=document.activeElement;!t||"TEXTAREA"!==t.tagName&&"INPUT"!==t.tagName||t.blur()}n.r(e),n.d(e,"hideKeyboard",(function(){return r}))},5513:function(t,e,n){"use strict";n.r(e);var r=n("ba15"),i=n("f2b3");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;ethis.displayMultipleItemsNumber},circularEnabled:function(){return this.circular&&this.swiperEnabled}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t,e){this._currentChanged(t,e),this.$emit("update:current",t),this._setNavigationState()},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()},navigation:{immediate:!0,handler:function(t){this.isNavigationAuto="auto"===t,this.hideNavigation=!0!==t||this.isNavigationAuto,this._navigationSwiperAddMouseEvent()}},items:function(){this._setNavigationState()},swiperEnabled:function(t){t||(this.prevDisabled=!0,this.nextDisabled=!0,this.isNavigationAuto&&(this.hideNavigation=!0))}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return t.autoplay&&!t.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout),this._navigationSwiperAddMouseEvent()},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;ei/2?1:0)}var o=this.items[t];o&&this._itemReady(o,(function(){var t=n.currentItemIdSync=o.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:t,source:r})}))},_scheduleAutoplay:function(){var t=this;function e(){t._timer=null,t.currentChangeSource="autoplay",t.circularEnabled?t.currentSync=t._normalizeCurrentValue(t.currentSync+1):t.currentSync=t.currentSync+t.displayMultipleItemsNumbere-this.displayMultipleItemsNumber)return e-this.displayMultipleItemsNumber;return n},_upx2px:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")})),t||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var t=this.items,e=0;e0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var i=this._viewportPosition;this._viewportPosition=-2;var o=this.currentSync;o>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(i+o-this._contentTrackViewport),this._contentTrackViewport=o):(this._updateViewport(o),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(t){if(!this._invalid)for(var e=this.items,n=e.length,r=t+this.displayMultipleItemsNumber,i=0;i=this.items.length&&(t-=this.items.length),t=this._transitionStart%1>.5||this._transitionStart<0?t-1:t,this.$trigger("transition",{},{dx:this.vertical?0:t*i.offsetWidth,dy:this.vertical?t*i.offsetHeight:0})},_animateFrameFuncProto:function(){var t=this;if(this._animating){var e=this._animating,n=e.toPos,r=e.acc,i=e.endTime,o=e.source,a=i-Date.now();if(a<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var s=this.items[this.currentSync];s&&this._itemReady(s,(function(){var e=s.componentInstance.itemId||"";t.$trigger("animationfinish",{},{current:t.currentSync,currentItemId:e,source:o})}))}else{var c=r*a*a/2,u=n+c;this._updateViewport(u),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(t,e,n){this._cancelViewportAnimation();var r=this.durationNumber,i=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;ot;)o-=i}else if(n>0){for(;o>t;)o-=i;for(;o+it;)o-=i;o+i-ti)&&(r<0?r=-o(-r):r>i&&(r=i+o(r-i)),e._contentTrackSpeed=0),e._updateViewport(r)}var s=this._contentTrackT-n||1;this.vertical?a(-t.dy/this.$refs.slideFrame.offsetHeight,-t.ddy/s):a(-t.dx/this.$refs.slideFrame.offsetWidth,-t.ddx/s)},_handleTrackEnd:function(t){this.userTracking=!1;var e=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!t&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*e);var r=this._normalizeCurrentValue(this._viewportPosition+n);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=r,this._animateViewport(r,"touch",0!==n?n:0===r&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(t){if(!this.disableTouch&&this.items.length&&!this._invalid){if("start"===t.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===t.detail.state)return this._handleTrackEnd(!1);if("cancel"===t.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var e=Math.abs(t.detail.dx),n=Math.abs(t.detail.dy);if((e>=n&&this.vertical||e<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}},_onSwiperDotClick:function(t){this._animateViewport(this.currentSync=t,this.currentChangeSource="click",this.circularEnabled?1:0)},_navigationClick:function(t,e,n){if(t.stopPropagation(),!n){var r=this.items.length,i=this.currentSync;switch(e){case"prev":i--,i<0&&this.circularEnabled&&(i=r-1);break;case"next":i++,i>=r&&this.circularEnabled&&(i=0);break}this._onSwiperDotClick(i)}},_navigationMouseMove:function(t){var e=this;clearTimeout(this.hideNavigationTimer);var n=t.clientX,r=t.clientY,i=this.$refs.slidesWrapper.getBoundingClientRect(),o=i.left,a=i.right,s=i.top,c=i.bottom,u=i.width,l=i.height,f=!1;f=this.vertical?!(r-s=t}},render:function(t){var e=this,n=[],r=[];this.$slots.default&&Object(i["f"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&r.push(t)}));for(var o=function(r,i){var o=e.currentSync;n.push(t("div",{on:{click:function(){return e._onSwiperDotClick(r)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":r=o||r=4&&(e.text="...")}}}},5676:function(t,e,n){"use strict";var r=n("303a"),i=n.n(r);i.a},"56e9":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"showModal",(function(){return a})),n.d(e,"showToast",(function(){return s})),n.d(e,"hideToast",(function(){return c})),n.d(e,"showLoading",(function(){return u})),n.d(e,"hideLoading",(function(){return l})),n.d(e,"showActionSheet",(function(){return f}));var r=t,i=r.emit,o=r.invokeCallbackHandler;function a(t,e){i("onShowModal",t,(function(t){o(e,t)}))}function s(t){return i("onShowToast",t),{}}function c(){return i("onHideToast"),{}}function u(t){return i("onShowLoading",t),{}}function l(){return i("onHideLoading"),{}}function f(t,e){i("onShowActionSheet",t,(function(t){o(e,-1===t?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:t})}))}}.call(this,n("0dd1"))},5727:function(t,e,n){"use strict";var r=n("6cdd"),i=n.n(r);i.a},5768:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-textarea",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.valueSync.length),expression:"!(composing || valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle,domProps:{textContent:t._s(t.placeholder)}}),n("div",{ref:"line",staticClass:"uni-textarea-line",domProps:{textContent:t._s(" ")}}),n("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,(function(e,r){return n("div",{key:r,domProps:{textContent:t._s(e.trim()?e:".")}})})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),t.disabled&&t.fixColor?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":t.fixMargin},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,enterkeyhint:t.confirmType,inputmode:t.inputmode},domProps:{value:t.valueSync},on:{change:function(t){t.stopPropagation()},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],focus:t._onFocus,blur:t._onBlur,"&touchstart":function(e){return t._onTouchstart(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t._onKeyUpEnter(e)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t._onKeyDownEnter(e)}}}),t._v(" "),t.disabled&&t.fixColor?n("textarea",{ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":t.fixMargin},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{tabindex:"-1",readonly:t.disabled,maxlength:t.maxlengthNumber},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])},i=[],o=n("8af1"),a="(prefers-color-scheme: dark)",s=["done","go","next","search","send"],c=["none","text","decimal","numeric","tel","search","email","url"],u={name:"Textarea",mixins:[o["b"]],props:{name:{type:String,default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:"textarea-placeholder"},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:function(t){return s.concat("return").includes(t)}},inputmode:{type:String,default:void 0,validator:function(t){return!!~c.indexOf(t)}}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(a).media!==a}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},valueCompute:function(){return(this.composing?this.valueComposition:this.valueSync).split("\n")},isDone:function(){return s.includes(this.confirmType)}},watch:{focus:function(t){t&&(this.focusChangeSource="focus")},height:function(t){var e=parseFloat(getComputedStyle(this.$el).lineHeight);isNaN(e)&&(e=this.$refs.line.offsetHeight);var n=Math.round(t/e);this.$trigger("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:n}),this.autoHeight&&(this.$el.style.height="auto",this.$refs.wrapper.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._resize({height:this.$refs.sensor.$el.offsetHeight});var t=this;while(t){var e=t.$options._scopeId;e&&this.$refs.placeholder.setAttribute(e,""),t=t.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyDownEnter:function(t){this.isDone&&t.preventDefault()},_onKeyUpEnter:function(t){this.isDone&&(this._confirm(t),!this.confirmHold&&this.$refs.textarea.blur())},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_onTouchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_onInput:function(t,e){this.composing&&this.ignoreCompositionEvent?this.valueComposition=t.target.value:(this.ignoreCompositionEvent||(this.valueSync=this.$refs.textarea.value),this.$triggerInput(t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd},e))},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}},l=u,f=(n("9400"),n("0c7c")),h=Object(f["a"])(l,r,i,!1,null,null,null);e["default"]=h.exports},"57a7":function(t,e,n){"use strict";n.r(e),n.d(e,"createInnerAudioContext",(function(){return h}));var r=n("db70");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n=0&&n.splice(r,1)}})),Object(r["d"])("onAudioStateChange",(function(t){var e=t.state,n=t.audioId,r=t.errMsg,i=t.errCode,o=f[n];if(o)if(l(o,e,r,i),"play"===e){var a=o.currentTime;l(o,"timeupdate"),o.__timing=setInterval((function(){var t=o.currentTime;t!==a&&l(o,"timeupdate")}),200)}else"pause"!==e&&"stop"!==e&&"error"!==e||clearInterval(o.__timing)}));var f=Object.create(null);function h(){var t=Object(r["c"])("createAudioInstance"),e=t.audioId,n=new u(e);return f[e]=n,n}},"594d":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g({ref:"mapContainer",attrs:{id:t.id}},t.$listeners),[t._l(t.markers,(function(e){return n("map-marker",t._b({key:e.id},"map-marker",e,!1))})),t._l(t.controls,(function(e,r){return n("map-control",t._b({key:e.id||r},"map-control",e,!1))})),t._l(t.polygons,(function(e){return n("map-polygon",t._b({key:JSON.stringify(e.points)},"map-polygon",e,!1))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},on:{click:function(t){t.stopPropagation()}}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)],2)},i=[],o=n("2318"),a=o["a"],s=(n("3f7e"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},5964:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"setNavigationBarColor",(function(){return o})),n.d(e,"showNavigationBarLoading",(function(){return a})),n.d(e,"hideNavigationBarLoading",(function(){return s})),n.d(e,"setNavigationBarTitle",(function(){return c}));var r=n("79d5");function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object(r["getPageHolder"])(n.__page__);if(i)switch(e){case"setNavigationBarColor":var o=n.frontColor,a=n.backgroundColor,s=n.animation,c=s.duration,u=s.timingFunc;o&&(i.navigationBar.textColor="#000000"===o?"black":"white"),a&&(i.navigationBar.backgroundColor=a),t.emit("onNavigationBarChange",{textColor:"#000000"===o?"#000":"#fff",backgroundColor:i.navigationBar.backgroundColor}),i.navigationBar.duration=c+"ms",i.navigationBar.timingFunc=u;break;case"showNavigationBarLoading":i.navigationBar.loading=!0;break;case"hideNavigationBarLoading":i.navigationBar.loading=!1;break;case"setNavigationBarTitle":var l=n.title;i.navigationBar.titleText=l,Object(r["isCurrentPage"])(i)&&(document.title=l),t.emit("onNavigationBarChange",{titleText:l});break}return{}}function o(t){return i("setNavigationBarColor",t)}function a(t){return i("showNavigationBarLoading",t)}function s(t){return i("hideNavigationBarLoading",t)}function c(t){return i("setNavigationBarTitle",t)}}.call(this,n("0dd1"))},"59dc":function(t,e,n){},"5a23":function(t,e,n){"use strict";n("f2b3");var r,i=n("5cf8");function o(){}e["a"]={name:"Keyboard",mixins:[i["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},computed:{isApple:function(){return 0===String(navigator.vendor).indexOf("Apple")}},directives:{keyboard:{inserted:function(t,e,n){n.context.initKeyboard(t)}}},methods:{initKeyboard:function(t){var e=this;t.addEventListener("focus",(function(){clearTimeout(r),document.addEventListener("click",o,!1)}));var n=function(){document.removeEventListener("click",o,!1),e.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(function(){e.isApple&&t.blur(),n()}))}}}},"5a56":function(t,e,n){"use strict";n.r(e),e["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(t,e,n){"use strict";var r=n("907b"),i=n.n(r);i.a},"5abe":function(t,e){(function(){"use strict";if("object"===("undefined"===typeof window?"undefined":r(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},i.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,c(window,"resize",this._checkForIntersections,!0),c(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():f();this._observationTargets.forEach((function(r){var i=r.element,a=l(i),s=this._rootContainsTarget(i),c=r.entry,u=t&&s&&this._computeTargetAndRootIntersection(i,e),f=r.entry=new n({time:o(),target:i,boundingClientRect:a,rootBounds:e,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){var r=l(e),i=r,o=d(e),a=!1;while(!a){var s=null,c=1==o.nodeType?window.getComputedStyle(o):{};if("none"==c.display)return;if(o==this.root||o==t?(a=!0,s=n):o!=t.body&&o!=t.documentElement&&"visible"!=c.overflow&&(s=l(o)),s&&(i=u(s,i),!i))break;o=d(o)}return i}},i.prototype._getRootRect=function(){var e;if(this.root)e=l(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}}function l(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,e){var n=e;while(n){if(n==t)return!0;n=d(n)}return!1}function d(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5b4c":function(t,e,n){},"5b9f":function(t,e,n){"use strict";var r=n("f2b3"),i=n("636c");e["a"]={props:{dashArray:{type:Array,default:function(){return[0,0]}},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},mounted:function(){var t=this,e=this.$parent;e.mapReady((function(){t.drawPolygon(),Object.keys(t.$props).forEach((function(e){t.$watch(e,(function(){t.drawPolygon()}),{deep:!0})}))}))},methods:{drawPolygon:function(){var t=this.points,e=this.strokeWidth,n=this.strokeColor,o=this.dashArray,a=this.fillColor,s=this.zIndex,c=this.$parent,u=c._maps,l=c._map,f=t.map((function(t){var e=t.latitude,n=t.longitude;return i["c"]?[n,e]:new u.LatLng(e,n)})),h=Object(r["j"])(a),d=h.r,p=h.g,v=h.b,g=h.a,m=Object(r["j"])(n),y=m.r,b=m.g,w=m.b,_=m.a,x={clickable:!0,cursor:"crosshair",editable:!1,map:l,fillColor:"",path:f,strokeColor:"",strokeDashStyle:o.some((function(t){return t>0}))?"dash":"solid",strokeWeight:e,visible:!0,zIndex:s};u.Color?(x.fillColor=new u.Color(d,p,v,g),x.strokeColor=new u.Color(y,b,w,_)):(x.fillColor="rgb(".concat(d,", ").concat(p,", ").concat(v,")"),x.fillOpacity=g,x.strokeColor="rgb(".concat(y,", ").concat(b,", ").concat(w,")"),x.strokeOpacity=_),this.polygonIns?this.polygonIns.setOptions(x):this.polygonIns=new u.Polygon(x)}},beforeDestroy:function(){this.polygonIns.setMap(null),this.polygonIns=null},render:function(){return null}}},"5bb5":function(t,e,n){},"5bc8":function(t,e,n){"use strict";(function(t,r){var i=n("f2b3"),o=n("65a8"),a=n("81ea"),s=n("f1ea"),c=n("bdbe");function u(){var e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(r){}if(e){var n=function(e){t.emit(o["b"],{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",n):e.addListener(n)}}e["a"]={name:"App",components:a["a"],mixins:s["default"],props:{keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{transitionName:"fade",hideTabBar:!1,sysComponents:this.$sysComponents,showLayout:!1,showMaxWidth:!1,tabBarMediaQuery:!1}},computed:{key:function(){return this.$route.meta.name+"-"+this.$route.params.__id__+"-"+(__uniConfig.reLaunch||1)},tabBarOptions:function(){return c["a"]},hasTabBar:function(){return c["a"].list&&c["a"].list.length},showTabBar:function(){return!this.hideTabBar&&(this.$route.meta.isTabBar||this.tabBarMediaQuery)}},watch:{$route:function(e,n){t.emit("onHidePopup")},hideTabBar:function(t,e){if(uni.canIUse("css.var")){var n=t?0:o["d"],i=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",a=n&&i?"calc(".concat(n,"px + ").concat(i,"(safe-area-inset-bottom))"):"".concat(n,"px");document.documentElement.style.setProperty("--window-bottom",a),r.debug("uni.".concat(a?"showTabBar":"hideTabBar",":--window-bottom=").concat(a))}window.dispatchEvent(new CustomEvent("resize"))}},created:function(){uni.canIUse("css.var")&&document.documentElement.style.setProperty("--status-bar-height","0px"),this.initMediaQuery()},mounted:function(){window.addEventListener("message",(function(e){Object(i["l"])(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&t.emit("onWebInvokeAppService",e.data.data,e.data.pageId)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?t.emit("onAppEnterForeground",{}):t.emit("onAppEnterBackground")})),u()},methods:{onLayout:function(t){this.showLayout=t},onMaxWidth:function(t){this.showMaxWidth=t},initMediaQuery:function(){var t=this;if(window.matchMedia&&c["a"].matchMedia&&Object(i["i"])(c["a"].matchMedia,"minWidth")){var e=window.matchMedia("(min-width: "+c["a"].matchMedia.minWidth+"px)");e.addListener((function(e){t.tabBarMediaQuery=e.matches})),this.tabBarMediaQuery=e.matches}}}}}).call(this,n("0dd1"),n("3ad9")["default"])},"5bf9":function(t,e,n){},"5c85":function(t,e,n){},"5cf8":function(t,e,n){"use strict";function r(t,e){for(var n=this.$children,i=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s2?i-2:0),a=2;a2?n-2:0),o=2;o=0&&a.splice(e,1)}else a=[]}function p(t){s.push(t)}function v(t){if(t){var e=s.indexOf(t);e>=0&&s.splice(e,1)}else s=[]}}.call(this,n("0dd1"))},"5dc1":function(t,e,n){"use strict";(function(t,r){n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l})),n("5abe");var i=n("85b6"),o=n("db8e");function a(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function s(t){var e=t.intersectionRatio,n=t.boundingClientRect,r=n.height,i=n.width,o=t.intersectionRect,a=o.height,s=o.width;return 0!==e?e:a===r?s/i:a/r}var c={};function u(e,n){var u,l=e.reqId,f=e.component,h=e.options;if(n._isVue)u=n;else{var d=getCurrentPages(),p=d.find((function(t){return t.$page.id===n}));if(!p)throw new Error("Not Found:Page[".concat(n,"]"));u=p.$vm}var v=Object(o["b"])(f,u),g=h.relativeToSelector?v.querySelector(h.relativeToSelector):null,m=c[l]=new IntersectionObserver((function(e,n){e.forEach((function(e){t.publishHandler("onRequestComponentObserver",{reqId:l,res:{intersectionRatio:s(e),intersectionRect:a(e.intersectionRect),boundingClientRect:a(e.boundingClientRect),relativeRect:a(e.rootBounds),time:Date.now(),dataset:Object(i["b"])(e.target),id:e.target.id}})}))}),{root:g,rootMargin:h.rootMargin,threshold:h.thresholds});if(h.observeAll)m.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(v.querySelectorAll(h.selector),(function(t){t?m.observe(t):r.warn("Node ".concat(h.selector," is not found. Intersection observer will not trigger."))}));else{m.USE_MUTATION_OBSERVER=!1;var y=v.querySelector(h.selector);if(!y)return void r.warn("Node ".concat(h.selector," is not found. Intersection observer will not trigger."));m.observe(y)}}function l(e){var n=e.reqId,r=c[n];r&&(r.disconnect(),delete c[n],t.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"),n("3ad9")["default"])},"5f8d":function(t,e,n){},"5ff9":function(t,e,n){"use strict";n.r(e),n.d(e,"loadFontFace",(function(){return r}));var r={family:{type:String,required:!0},source:{type:String,required:!0},desc:{type:Object,required:!1},success:{type:Function,required:!1},fail:{type:Function,required:!1},complete:{type:Function,required:!1}}},6062:function(t,e,n){"use strict";var r=n("3569"),i=n.n(r);i.a},"60db":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EditorContext",(function(){return u}));var r=n("f2b3");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},"6e0c":function(t,e,n){"use strict";n.r(e),n.d(e,"$on",(function(){return s})),n.d(e,"$off",(function(){return c})),n.d(e,"$once",(function(){return u})),n.d(e,"$emit",(function(){return l}));var r=n("8bbf"),i=n.n(r),o=new i.a;function a(t,e,n){return t[e].apply(t,n)}function s(){return a(o,"$on",Array.prototype.slice.call(arguments))}function c(){return a(o,"$off",Array.prototype.slice.call(arguments))}function u(){return a(o,"$once",Array.prototype.slice.call(arguments))}function l(){return a(o,"$emit",Array.prototype.slice.call(arguments))}},"6fa7":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-picker",t._g({attrs:{disabled:t.disabled},on:{click:t._show}},t.$listeners),[n("div",{ref:"picker",staticClass:"uni-picker-container",class:"uni-"+t.mode+"-"+t.selectorTypeComputed,on:{wheel:function(t){t.preventDefault()},touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask uni-picker-mask",on:{click:t._cancel,mousemove:t._fixInputPosition}})]),t.system?t._e():n("div",{staticClass:"uni-picker-custom",class:{"uni-picker-toggle":t.visible},style:t.popupStyle.content},[n("div",{staticClass:"uni-picker-header",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-picker-action uni-picker-action-cancel",on:{click:t._cancel}},[t._v(" "+t._s(t.$$t("uni.picker.cancel"))+" ")]),n("div",{staticClass:"uni-picker-action uni-picker-action-confirm",on:{click:t._change}},[t._v(" "+t._s(t.$$t("uni.picker.done"))+" ")])]),t.contentVisible?n("v-uni-picker-view",{staticClass:"uni-picker-content",attrs:{value:t._l10nColumn(t.valueArray)},on:{change:t._pickerViewChange}},t._l(t._l10nColumn(t.rangeArray),(function(e,i){return n("v-uni-picker-view-column",{key:i},t._l(e,(function(e,o){return n("div",{key:o,staticClass:"uni-picker-item"},[t._v(" "+t._s("object"===r(e)?e[t.rangeKey]||"":t._l10nItem(e,i))+" ")])})),0)})),1):t._e(),n("div",{ref:"select",staticClass:"uni-picker-select",on:{wheel:function(t){t.stopPropagation()},touchmove:function(t){t.stopPropagation()}}},t._l(t.rangeArray[0],(function(e,i){return n("div",{key:i,staticClass:"uni-picker-item",class:{selected:t.valueArray[0]===i},on:{click:function(e){t.valueArray[0]=i,t._change()}}},[t._v(" "+t._s("object"===r(e)?e[t.rangeKey]||"":e)+" ")])})),0),n("div",{style:t.popupStyle.triangle})],1)],1),n("div",[t._t("default")],2),t.system?n("div",{staticClass:"uni-picker-system",on:{mousemove:t._fixInputPosition}},[n("input",{ref:"input",class:[t.system,t.popupStyle.dock],attrs:{type:t.mode,tabindex:"-1",min:t.start,max:t.end},domProps:{value:t.valueSync},on:{change:function(e){return e.stopPropagation(),t._input(e)}}})]):t._e(),n("keypress",{attrs:{disable:!t.visible},on:{esc:t._cancel,enter:t._change}})],1)},o=[],a=n("8af1"),s=n("f2b3"),c=n("4ccd"),u=n("da71"),l=n("a6b0");function f(t){return v(t)||p(t)||d(t)||h()}function h(){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 d(t,e){if(t){if("string"===typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function p(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function v(t){if(Array.isArray(t))return g(t)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nr&&(r=o)}return{start:n,end:r}}var w={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},_={YEAR:"year",MONTH:"month",DAY:"day"},x={PICKER:"picker",SELECT:"select"},S={name:"Picker",components:{keypress:u["a"]},mixins:[l["c"],a["a"],c["default"]],props:{name:{type:String,default:""},range:{type:Array,default:function(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:w.SELECTOR,validator:function(t){return Object.values(w).includes(t)}},fields:{type:String,default:""},start:{type:String,default:m},end:{type:String,default:y},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},data:function(){return{valueSync:null,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[]}},computed:{rangeArray:function(){var t=this.range;switch(this.mode){case w.SELECTOR:return[t];case w.MULTISELECTOR:return t;case w.TIME:return this.timeArray;case w.DATE:var e=this.dateArray;switch(this.fields){case _.YEAR:return[e[0]];case _.MONTH:return[e[0],e[1]];default:return[e[0],e[1],e[2]]}}return[]},startArray:function(){return this._getDateValueArray(this.start,m.bind(this)())},endArray:function(){return this._getDateValueArray(this.end,y.bind(this)())},selectorTypeComputed:function(){var t=this.selectorType;return Object.values(x).includes(t)?t:0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0?x.PICKER:x.SELECT},system:function(){if(this.mode===w.DATE&&!Object.values(_).includes(this.fields)&&this.isDesktop&&/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""}},watch:{visible:function(t){var e=this;t?(clearTimeout(this.__contentVisibleDelay),this.contentVisible=t,this._select()):this.__contentVisibleDelay=setTimeout((function(){e.contentVisible=t}),300)},value:function(){this._setValueSync()},mode:function(){this._setValueSync()},range:function(){this._setValueSync()},valueSync:function(){this._setValueArray()},valueArray:function(t){var e=this;if(this.mode===w.TIME||this.mode===w.DATE){var n=this.mode===w.TIME?this._getTimeValue:this._getDateValue,r=this.valueArray,i=this.startArray,o=this.endArray;if(this.mode===w.DATE){var a=this.dateArray,s=a[2].length,c=Number(a[2][r[2]])||1,u=new Date("".concat(a[0][r[0]],"/").concat(a[1][r[1]],"/").concat(c)).getDate();un(o)&&this._cloneArray(r,o)}t.forEach((function(t,n){t!==e.oldValueArray[n]&&(e.oldValueArray[n]=t,e.mode===w.MULTISELECTOR&&e.$trigger("columnchange",{},{column:n,value:t}))}))}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),this._createTime(),this._createDate(),this._setValueSync()},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(t){var e=this;if(!this.disabled){this.valueChangeSource="";var n=this.$refs.picker;n.remove(),(document.querySelector("uni-app")||document.body).appendChild(n),n.style.display="block";var r=t.currentTarget.getBoundingClientRect();this.popover={top:r.top,left:r.left,width:r.width,height:r.height},setTimeout((function(){e.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case w.SELECTOR:this.valueSync=0;break;case w.MULTISELECTOR:this.valueSync=this.value.map((function(t){return 0}));break;case w.DATE:case w.TIME:this.valueSync="";break;default:break}},_createTime:function(){var t=[],e=[];t.splice(0,t.length);for(var n=0;n<24;n++)t.push((n<10?"0":"")+n);e.splice(0,e.length);for(var r=0;r<60;r++)e.push((r<10?"0":"")+r);this.timeArray.push(t,e)},_createDate:function(){for(var t=[],e=b(this),n=e.start,r=e.end;n<=r;n++)t.push(String(n));for(var i=[],o=1;o<=12;o++)i.push((o<10?"0":"")+o);for(var a=[],s=1;s<=31;s++)a.push((s<10?"0":"")+s);this.dateArray.push(t,i,a)},_getTimeValue:function(t){return 60*t[0]+t[1]},_getDateValue:function(t){var e=31;return t[0]*e*12+(t[1]||0)*e+(t[2]||0)},_cloneArray:function(t,e){for(var n=0;na?0:o)}break;case w.TIME:case w.DATE:this.valueSync=String(t);break;default:var s=Number(t);this.valueSync=s<0?0:s;break}},_setValueArray:function(){var t,e=this.valueSync;switch(this.mode){case w.MULTISELECTOR:t=f(e);break;case w.TIME:t=this._getDateValueArray(e,Object(s["g"])({mode:w.TIME}));break;case w.DATE:t=this._getDateValueArray(e,Object(s["g"])({mode:w.DATE}));break;default:t=[e];break}this.oldValueArray=f(t),this.valueArray=f(t)},_getValue:function(){var t=this,e=this.valueArray;switch(this.mode){case w.SELECTOR:return e[0];case w.MULTISELECTOR:return e.map((function(t){return t}));case w.TIME:return this.valueArray.map((function(e,n){return t.timeArray[n][e]})).join(":");case w.DATE:return this.valueArray.map((function(e,n){return t.dateArray[n][e]})).join("-")}},_getDateValueArray:function(t,e){var n,r=this.mode===w.DATE?"-":":",i=this.mode===w.DATE?this.dateArray:this.timeArray;if(this.mode===w.TIME)n=2;else switch(this.fields){case _.YEAR:n=1;break;case _.MONTH:n=2;break;default:n=3;break}for(var o=String(t).split(r),a=[],s=0;s=0&&(a=e?this._getDateValueArray(e):a.map((function(){return 0}))),a},_change:function(){this._close(),this.valueChangeSource="click";var t=this._getValue();this.valueSync=Array.isArray(t)?t.map((function(t){return t})):t,this.$trigger("change",{},{value:t})},_cancel:function(t){if("firefox"===this.system){var e=this.popover,n=e.top,r=e.left,i=e.width,o=e.height,a=t.pageX,s=t.pageY;if(a>r&&an&&s=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-label",t._g({class:{"uni-label-pointer":t.pointer},on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},i=[],o=n("d977"),a=o["a"],s=(n("6730"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},7107:function(t,e,n){"use strict";(function(t){function r(e){var n=e.options,r=e.callbackId,i=n.family,o=n.source,a=n.desc,s=void 0===a?{}:a,c=document.fonts;if(c){var u=new FontFace(i,o,s);u.load().then((function(){c.add(u),t.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})})).catch((function(e){t.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:fail ".concat(e)}})}))}else{var l=document.createElement("style");l.innerText='@font-face{font-family:"'.concat(i,'";src:').concat(o,";font-style:").concat(s.style,";font-weight:").concat(s.weight,";font-stretch:").concat(s.stretch,";unicode-range:").concat(s.unicodeRange,";font-variant:").concat(s.variant,";font-feature-settings:").concat(s.featureSettings,";}"),document.head.appendChild(l),t.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})}}n.d(e,"a",(function(){return r}))}).call(this,n("501c"))},"72b3":function(t,e,n){"use strict";function r(t,e,n){return t>e-n&&t0){var u=(-n-Math.sqrt(o))/(2*r),l=(-n+Math.sqrt(o))/(2*r),f=(e-u*t)/(l-u),h=t-f;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+f*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+f*l*n}}}var d=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=t,g=(e-p*t)/d;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(d*t)+g*Math.sin(d*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(d*t),r=Math.sin(d*t);return e*(g*d*n-v*d*r)+p*e*(g*r+v*n)}}},o.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},o.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},o.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!i(e,.4)){e=e||0;var r=this._endPosition;this._solution&&(i(e,.4)&&(e=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),i(e,.4)&&(e=0),i(r,.4)&&(r=0),r+=this._endPosition),this._solution&&i(r-t,.4)&&i(e,.4)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,e),this._startTime=n)}},o.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},o.prototype.done=function(t){return t||(t=(new Date).getTime()),r(this.x(),this._endPosition,.4)&&i(this.dx(),.4)},o.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},o.prototype.springConstant=function(){return this._k},o.prototype.damping=function(){return this._c},o.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},"73a6":function(t,e,n){"use strict";(function(t){var r=n("8aec"),i=n("f2b3"),o=n("d4cd"),a=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return!!i["s"]&&{passive:t}},s=a();e["a"]={name:"ScrollView",mixins:[r["a"]],props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},data:function(){return{lastScrollTop:this.scrollTopNumber,lastScrollLeft:this.scrollLeftNumber,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}},computed:{upperThresholdNumber:function(){var t=Number(this.upperThreshold);return isNaN(t)?50:t},lowerThresholdNumber:function(){var t=Number(this.lowerThreshold);return isNaN(t)?50:t},scrollTopNumber:function(){return Number(this.scrollTop)||0},scrollLeftNumber:function(){return Number(this.scrollLeft)||0}},watch:{scrollTopNumber:function(t){this._scrollTopChanged(t)},scrollLeftNumber:function(t){this._scrollLeftChanged(t)},scrollIntoView:function(t){this._scrollIntoViewChanged(t)},refresherTriggered:function(t){!0===t?this._setRefreshState("refreshing"):!1===t&&this._setRefreshState("restore")}},mounted:function(){var t=this,e=null,n=null;this._attached=!0,this.toUpperNumber=0,this.triggerAbort=!1,this.beforeRefreshing=!1,this._scrollTopChanged(this.scrollTopNumber),this._scrollLeftChanged(this.scrollLeftNumber),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleScroll=function(e){e.preventDefault(),e.stopPropagation(),t._handleScroll.bind(t,e)()},this.__handleTouchMove=function(r){if(null!==e){var i=r.touches[0].pageX,o=r.touches[0].pageY,a=t.$refs.main;if(Math.abs(i-e.x)>Math.abs(o-e.y))if(t.scrollX){if(0===a.scrollLeft&&i>e.x)return void(n=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&ie.y)n=!1,t.refresherEnabled&&!1!==r.cancelable&&r.preventDefault();else{if(a.scrollHeight===a.offsetHeight+a.scrollTop&&o0&&(t.triggerAbort=!0,t.$trigger("refresherpulling",r,{deltaY:s})));var c=t.refresherHeight/t.refresherThreshold;t.refreshRotate=360*(c>1?1:c)}}},this.__handleTouchStart=function(t){1===t.touches.length&&(Object(o["a"])({disable:!0}),e={x:t.touches[0].pageX,y:t.touches[0].pageY})},this.__handleTouchEnd=function(n){e=null,Object(o["a"])({disable:!1}),t.refresherHeight>=t.refresherThreshold?t._setRefreshState("refreshing"):t._setRefreshState("refresherabort")},this.$refs.main.addEventListener("touchstart",this.__handleTouchStart,s),this.$refs.main.addEventListener("touchmove",this.__handleTouchMove,a(!1)),this.$refs.main.addEventListener("scroll",this.__handleScroll,a(!1)),this.$refs.main.addEventListener("touchend",this.__handleTouchEnd,s),Object(o["b"])()},activated:function(){this.scrollY&&(this.$refs.main.scrollTop=this.lastScrollTop),this.scrollX&&(this.$refs.main.scrollLeft=this.lastScrollLeft)},beforeDestroy:function(){this.$refs.main.removeEventListener("touchstart",this.__handleTouchStart,s),this.$refs.main.removeEventListener("touchmove",this.__handleTouchMove,s),this.$refs.main.removeEventListener("scroll",this.__handleScroll,a(!1)),this.$refs.main.removeEventListener("touchend",this.__handleTouchEnd,s)},methods:{scrollTo:function(t,e){var n=this.$refs.main;t<0?t=0:"x"===e&&t>n.scrollWidth-n.offsetWidth?t=n.scrollWidth-n.offsetWidth:"y"===e&&t>n.scrollHeight-n.offsetHeight&&(t=n.scrollHeight-n.offsetHeight);var r=0,i="";"x"===e?r=n.scrollLeft-t:"y"===e&&(r=n.scrollTop-t),0!==r&&(this.$refs.content.style.transition="transform .3s ease-out",this.$refs.content.style.webkitTransition="-webkit-transform .3s ease-out","x"===e?i="translateX("+r+"px) translateZ(0)":"y"===e&&(i="translateY("+r+"px) translateZ(0)"),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd),this.__transitionEnd=this._transitionEnd.bind(this,t,e),this.$refs.content.addEventListener("transitionend",this.__transitionEnd),this.$refs.content.addEventListener("webkitTransitionEnd",this.__transitionEnd),"x"===e?n.style.overflowX="hidden":"y"===e&&(n.style.overflowY="hidden"),this.$refs.content.style.transform=i,this.$refs.content.style.webkitTransform=i)},_handleTrack:function(t){if("start"===t.detail.state)return this._x=t.detail.x,this._y=t.detail.y,void(this._noBubble=null);"end"===t.detail.state&&(this._noBubble=!1),null===this._noBubble&&this.scrollY&&(Math.abs(this._y-t.detail.y)/Math.abs(this._x-t.detail.x)>1?this._noBubble=!0:this._noBubble=!1),null===this._noBubble&&this.scrollX&&(Math.abs(this._x-t.detail.x)/Math.abs(this._y-t.detail.y)>1?this._noBubble=!0:this._noBubble=!1),this._x=t.detail.x,this._y=t.detail.y,this._noBubble&&t.stopPropagation()},_handleScroll:function(t){var e=t.target;this.$trigger("scroll",t,{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,deltaX:this.lastScrollLeft-e.scrollLeft,deltaY:this.lastScrollTop-e.scrollTop}),this.scrollY&&(e.scrollTop<=this.upperThresholdNumber&&this.lastScrollTop-e.scrollTop>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"top"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollTop+e.offsetHeight+this.lowerThresholdNumber>=e.scrollHeight&&this.lastScrollTop-e.scrollTop<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"bottom"}),this.lastScrollToLowerTime=t.timeStamp)),this.scrollX&&(e.scrollLeft<=this.upperThresholdNumber&&this.lastScrollLeft-e.scrollLeft>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"left"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollLeft+e.offsetWidth+this.lowerThresholdNumber>=e.scrollWidth&&this.lastScrollLeft-e.scrollLeft<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"right"}),this.lastScrollToLowerTime=t.timeStamp)),this.lastScrollTop=e.scrollTop,this.lastScrollLeft=e.scrollLeft},_scrollTopChanged:function(t){this.scrollY&&(this._innerSetScrollTop?this._innerSetScrollTop=!1:this.scrollWithAnimation?this.scrollTo(t,"y"):this.$refs.main.scrollTop=t)},_scrollLeftChanged:function(t){this.scrollX&&(this._innerSetScrollLeft?this._innerSetScrollLeft=!1:this.scrollWithAnimation?this.scrollTo(t,"x"):this.$refs.main.scrollLeft=t)},_scrollIntoViewChanged:function(e){if(e){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(e))return void t.error("id error: scroll-into-view=".concat(e));var n=this.$el.querySelector("#"+e);if(n){var r=this.$refs.main.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.scrollX){var o=i.left-r.left,a=this.$refs.main.scrollLeft,s=a+o;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var c=i.top-r.top,u=this.$refs.main.scrollTop,l=u+c;this.scrollWithAnimation?this.scrollTo(l,"y"):this.$refs.main.scrollTop=l}}}},_transitionEnd:function(t,e){this.$refs.content.style.transition="",this.$refs.content.style.webkitTransition="",this.$refs.content.style.transform="",this.$refs.content.style.webkitTransform="";var n=this.$refs.main;"x"===e?(n.style.overflowX=this.scrollX?"auto":"hidden",n.scrollLeft=t):"y"===e&&(n.style.overflowY=this.scrollY?"auto":"hidden",n.scrollTop=t),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd)},_setRefreshState:function(t){switch(t){case"refreshing":this.refresherHeight=this.refresherThreshold,this.beforeRefreshing||(this.beforeRefreshing=!0,this.$trigger("refresherrefresh",{},{}));break;case"restore":case"refresherabort":this.beforeRefreshing=!1,this.refresherHeight=this.toUpperNumber=0,"restore"===t&&(this.triggerAbort=!1,this.$trigger("refresherrestore",{},{})),"refresherabort"===t&&this.triggerAbort&&(this.triggerAbort=!1,this.$trigger("refresherabort",{},{}));break}this.refreshState=t},getScrollPosition:function(){var t=this.$refs.main;return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth}}}}}).call(this,n("3ad9")["default"])},"764a":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var r=n("f2b3"),i=n("85b6"),o=n("65a8"),a=n("33ed"),s=!!r["s"]&&{passive:!1};function c(e){if(uni.canIUse("css.var")){var n=parseFloat(__uniConfig.tabBar.height),r=e.$parent.$parent,i=r.navigationBar.type,a="default"===i||"float"===i?o["a"]:0,s=getApp().$children[0].showTabBar?isNaN(n)?o["d"]:n:0,c=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",u=a&&c?"calc(".concat(a,"px + ").concat(c,"(safe-area-inset-top))"):"".concat(a,"px"),l=s&&c?"calc(".concat(s,"px + ").concat(c,"(safe-area-inset-bottom))"):"".concat(s,"px"),f=document.documentElement.style;f.setProperty("--window-top","calc(var(--top-window-height) + ".concat(u,")")),f.setProperty("--window-bottom",l),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-top=").concat(u)),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-bottom=").concat(l))}}function u(t){var e=!1,n=!1;t("onPageLoad",(function(t){c(t)})),t("onPageShow",(function(t){var o=t.$parent.$parent;t._isMounted&&c(t),n&&document.removeEventListener("touchmove",n,s),o.disableScroll&&(n=a["b"],document.addEventListener("touchmove",n,s));var u=Object(i["c"])(t.$options,"onPageScroll"),l=Object(i["c"])(t.$options,"onReachBottom"),f=o.onReachBottomDistance,h=Object(r["l"])(o.titleNView)&&"transparent"===o.titleNView.type||Object(r["l"])(o.navigationBar)&&"transparent"===o.navigationBar.type;e&&document.removeEventListener("scroll",e),(h||u||l)&&(e=Object(a["a"])(t.$page.id,{enablePageScroll:u,enablePageReachBottom:l,onReachBottomDistance:f,enableTransparentTitleNView:h}),requestAnimationFrame((function(){document.addEventListener("scroll",e)})))}))}}).call(this,n("3ad9")["default"])},7691:function(t,e,n){},"77e0":function(t,e,n){"use strict";n.r(e),function(t,r){var i=n("a6b0");e["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var e=this,n="",o=function(t){return function(r){n=t,setTimeout((function(){e.showToast=r}),10)}};t.on("onShowToast",o("onShowToast")),t.on("onShowLoading",o("onShowLoading"));var a=function(t){return function(){if(n){var o="";if("onHideToast"===t&&"onShowToast"!==n?o=Object(i["g"])("uni.showToast.unpaired"):"onHideLoading"===t&&"onShowLoading"!==n&&(o=Object(i["g"])("uni.showLoading.unpaired")),o)return r.warn(o);n="",setTimeout((function(){e.showToast.visible=!1}),10)}}};t.on("onHidePopup",a("onHidePopup")),t.on("onHideToast",a("onHideToast")),t.on("onHideLoading",a("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},7822:function(t,e,n){},"78c8":function(t,e,n){"use strict";n.r(e),n.d(e,"getDeviceInfo",(function(){return d})),n.d(e,"getAppBaseInfo",(function(){return p})),n.d(e,"getSystemInfoSync",(function(){return v})),n.d(e,"getSystemInfo",(function(){return g}));var r,i=n("c6af"),o="__DC_STAT_UUID",a=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{},s=function(){if(r=r||a[o],!r){r=Date.now()+""+Math.floor(1e7*Math.random());try{a[o]=r}catch(t){}}return r},c=n("fb3e"),u=n("f2b3"),l={},f=!0;function h(){f&&(l=Object(c["getBrowserInfo"])())}function d(){h();var t=l,e=t.deviceBrand,n=t.deviceModel,r=t.brand,i=t.model,o=t.platform,a=t.system,c=t.deviceOrientation,u=t.deviceType;return{brand:r,deviceBrand:e,deviceModel:n,devicePixelRatio:window.devicePixelRatio,deviceId:s(),deviceOrientation:c,deviceType:u,model:i,platform:o,system:a}}function p(){h();var t=l,e=t.theme,n=t.language,r=t.browserName,i=t.browserVersion,o=uni&&uni.getLocale?uni.getLocale():n;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:o,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:r,hostVersion:i,hostTheme:e,hostLanguage:n,language:n,SDKVersion:"",theme:e,version:""}}function v(){f=!0,h(),f=!1;var t=Object(i["getWindowInfo"])(),e=d(),n=p();f=!0;var r=l,o=r.ua,a=r.browserName,s=r.browserVersion,c=r.osname,v=r.osversion,g=Object.assign({},t,e,n,{browserName:a,browserVersion:s,fontSizeSetting:n.hostFontSizeSetting,osName:c.toLocaleLowerCase(),osVersion:v,osLanguage:void 0,osTheme:void 0,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,ua:o});return delete g.screenTop,delete g.enableDebug,__uniConfig.darkmode||delete g.theme,Object(u["r"])(g)}function g(){return v()}},"79d5":function(t,e,n){"use strict";function r(t){if(t)return t.$holder;var e=getCurrentPages(),n=e.length;return n?e[n-1].$holder:void 0}function i(t){var e=getCurrentPages(),n=e.length;return!!n&&e[n-1].$holder===t}n.r(e),n.d(e,"getPageHolder",(function(){return r})),n.d(e,"isCurrentPage",(function(){return i}))},"7bab":function(t,e,n){"use strict";function r(){var t=document.getElementById("#clipboard"),e=t?t.value:void 0;return e?{data:e,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function i(t){var e=t.data,n=document.getElementById("#clipboard");n&&n.remove();var r=document.createElement("textarea");r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);var i=document.execCommand("Copy",!1,null);return r.blur(),i?{errMsg:"setClipboardData:ok"}:{errMsg:"setClipboardData:fail"}}n.r(e),n.d(e,"getClipboardData",(function(){return r})),n.d(e,"setClipboardData",(function(){return i}))},"7bb3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":t.checkboxChecked,"uni-checkbox-input-disabled":t.disabled},style:{color:t.color}}),t._t("default")],2)])},i=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["f"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=a,c=(n("f53a"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){"use strict";var r=n("e804"),i=n.n(r);i.a},"7d18":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"uploadFile",(function(){return u}));var r=n("e2e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var i=e.url,o=e.file,a=e.filePath,s=e.name,u=e.files,l=e.header,f=e.formData,h=e.timeout,d=void 0===h?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:h,p=t,v=p.invokeCallbackHandler,g=new c(null,n);function m(t){var e,r=new XMLHttpRequest,o=new FormData;Object.keys(f).forEach((function(t){o.append(t,f[t])})),Object.values(u).forEach((function(e,n){var r=e.name,i=t[n];o.append(r||"file",i,i.name||"file-".concat(Date.now()))})),r.open("POST",i),Object.keys(l).forEach((function(t){r.setRequestHeader(t,l[t])})),r.upload.onprogress=function(t){g._callbacks.forEach((function(e){var n=t.loaded,r=t.total,i=Math.round(n/r*100);e({progress:i,totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(e),v(n,{errMsg:"uploadFile:fail"})},r.onabort=function(){clearTimeout(e),v(n,{errMsg:"uploadFile:fail abort"})},r.onload=function(){clearTimeout(e);var t=r.status;v(n,{errMsg:"uploadFile:ok",statusCode:t,data:r.responseText||r.response})},g._isAbort?v(n,{errMsg:"uploadFile:fail abort"}):(e=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,g.abort(),v(n,{errMsg:"uploadFile:fail timeout"})}),d),r.send(o),g._xhr=r)}return Array.isArray(u)&&u.length||(u=[{name:s,file:o,uri:a}]),Promise.all(u.map((function(t){var e=t.file,n=t.uri;return e instanceof Blob?Promise.resolve(Object(r["a"])(e)):Object(r["f"])(n)}))).then(m).catch((function(){setTimeout((function(){v(n,{errMsg:"uploadFile:fail file error"})}),0)})),g}}.call(this,n("0dd1"))},"7e6a":function(t,e,n){"use strict";var r=n("5bf9"),i=n.n(r);i.a},"7f4e":function(t,e,n){"use strict";function r(t){var e=t.phoneNumber;return window.location.href="tel:".concat(e),{errMsg:"makePhoneCall:ok"}}n.r(e),n.d(e,"makePhoneCall",(function(){return r}))},"80e5":function(t){t.exports=JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.startSoterAuthentication.waitingContent":"Irreconocible","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')},"811a":function(t,e,n){"use strict";n.r(e),n.d(e,"connectSocket",(function(){return h})),n.d(e,"sendSocketMessage",(function(){return d})),n.d(e,"closeSocket",(function(){return p})),n.d(e,"onSocketOpen",(function(){return v})),n.d(e,"onSocketError",(function(){return g})),n.d(e,"onSocketMessage",(function(){return m})),n.d(e,"onSocketClose",(function(){return y}));var r=n("a118"),i=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},e=t.success,n=t.fail,r=t.complete,i=arguments.length>1?arguments[1]:void 0,o={errMsg:i};/:ok$/.test(i)?"function"===typeof e&&e(o):"function"===typeof n&&n(o),"function"===typeof r&&r(o)}}]),t}(),u=Object.create(null),l=[],f=Object.create(null);function h(t,e){var n=Object(i["c"])("createSocketTask",t),o=n.socketTaskId,a=new c(o);return u[o]=a,l.push(a),setTimeout((function(){Object(r["a"])(e,{errMsg:"connectSocket:ok"})}),0),a}function d(t,e){var n=l[0];if(n&&n.readyState===n.OPEN)return Object(i["c"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:n.id}));Object(r["a"])(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(t,e){var n=l[0];if(n)return n.readyState=n.CLOSING,Object(i["c"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:n.id}));Object(r["a"])(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function v(t){f.open=t}function g(t){f.error=t}function m(t){f.message=t}function y(t){f.close=t}Object(i["d"])("onSocketTaskStateChange",(function(t){var e=t.socketTaskId,n=t.state,i=t.data,o=t.code,a=t.reason,s=(t.errMsg,u[e]);if(s){var c="message"===n?{data:i}:"close"===n?{code:o,reason:a}:{};if("open"===n&&(s.readyState=s.OPEN),s===l[0]&&f[n]&&Object(r["a"])(f[n],c),"error"===n||"close"===n){s.readyState=s.CLOSED,delete u[e];var h=l.indexOf(s);h>=0&&l.splice(h,1)}s._callbacks[n].forEach((function(t){"function"===typeof t&&t(c)}))}}))},"81ea":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-tabbar",{class:["uni-tabbar-"+t.position]},[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:t.tabbarBackgroundColor,"backdrop-filter":"none"!==t.blurEffect?"blur(10px)":t.blurEffect}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:t.borderColor}}),t._l(t.visibleList,(function(e,r){return n("div",{key:e.isMidButton?r:e.pagePath,staticClass:"uni-tabbar__item",style:e.isMidButton?{flex:"0 0 "+e.width,position:"relative"}:{},on:{click:function(n){return t._switchTab(e,r)}}},[e.isMidButton?n("div",{staticClass:"uni-tabbar__mid",style:t._uniTabbarBdStyle(e)},[e.iconPath?n("img",{style:{width:e.iconWidth,height:e.iconWidth},attrs:{src:t._getRealPath(e.iconPath)}}):t._e()]):t._e(),n("div",{staticClass:"uni-tabbar__bd",style:{height:t.height}},[t.getIconPath(e,r)||e.iconfont||e.iconPath||e.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!e.text},style:{width:t.iconWidth,height:t.iconWidth}},[e.iconfont?n("div",{staticClass:"uni-tabbar__iconfont",style:{color:t.selectedIndex===r?e.iconfont.selectedColor:e.iconfont.color,fontSize:e.iconfont.fontSize||t.iconWidth}},[t._v(" "+t._s(t.selectedIndex===r?e.iconfont.selectedText:e.iconfont.text)+" ")]):e.isMidButton?t._e():n("img",{attrs:{src:t._getRealPath(t.getIconPath(e,r))}})]):t._e(),e.text?n("div",{staticClass:"uni-tabbar__label",style:{color:t.selectedIndex===r?t.selectedColor:t.color,fontSize:t.fontSize,lineHeight:e.iconPath?"normal":1.8,marginTop:e.iconPath?t.spacing:"inherit"}},[t._v(" "+t._s(e.text)+" ")]):t._e(),e.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(" "+t._s(e.badge)+" ")]):t._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:t.height}})])},i=[],o=n("e428"),a=o["a"],s=(n("f4e0"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null),u=c.exports,l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.responsive?n("uni-layout",{class:{"uni-app--showlayout":t.showLayout,"uni-app--showtopwindow":t.showTopWindow,"uni-app--showleftwindow":t.showLeftWindow,"uni-app--showrightwindow":t.showRightWindow}},[t.topWindow?n("uni-top-window",{directives:[{name:"show",rawName:"v-show",value:t.showTopWindow||t.apiShowTopWindow,expression:"showTopWindow || apiShowTopWindow"}]},[n("div",{ref:"topWindow",staticClass:"uni-top-window",style:t.topWindowStyle},[n("v-uni-top-window",t._b({ref:"top",attrs:{"navigation-bar-title-text":t.navigationBarTitleText},on:{"hook:mounted":t.onTopWindowInit}},"v-uni-top-window",t.bindWindow,!1))],1),n("div",{staticClass:"uni-top-window--placeholder",style:{height:t.topWindowHeight}})]):t._e(),n("uni-content",[n("uni-main",[n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.routerKey})],1)],1),t.leftWindow?n("uni-left-window",{directives:[{name:"show",rawName:"v-show",value:t.showLeftWindow||t.apiShowLeftWindow,expression:"showLeftWindow || apiShowLeftWindow"}],ref:"leftWindow",style:t.leftWindowStyle,attrs:{"data-show":t.apiShowLeftWindow}},[t.apiShowLeftWindow?n("div",{staticClass:"uni-mask",on:{click:function(e){t.apiShowLeftWindow=!1}}}):t._e(),n("div",{staticClass:"uni-left-window"},[n("v-uni-left-window",t._b({ref:"left",on:{"hook:mounted":t.onLeftWindowInit}},"v-uni-left-window",t.bindWindow,!1))],1)]):t._e(),t.rightWindow?n("uni-right-window",{directives:[{name:"show",rawName:"v-show",value:t.showRightWindow||t.apiShowRightWindow,expression:"showRightWindow || apiShowRightWindow"}],ref:"rightWindow",style:t.rightWindowStyle,attrs:{"data-show":t.apiShowRightWindow}},[t.apiShowRightWindow?n("div",{staticClass:"uni-mask",on:{click:function(e){t.apiShowRightWindow=!1}}}):t._e(),n("div",{staticClass:"uni-right-window"},[n("v-uni-right-window",t._b({ref:"right",on:{"hook:mounted":t.onRightWindowInit}},"v-uni-right-window",t.bindWindow,!1))],1)]):t._e()],1)],1):n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.routerKey})],1)},f=[],h=n("a8f2"),d=h["a"],p=(n("639e"),Object(s["a"])(d,l,f,!1,null,null,null)),v=p.exports,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[t.visible?n("uni-toast",{attrs:{"data-duration":t.duration}},[t.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(t){t.preventDefault()}}}):t._e(),t.image||t.iconClass?n("div",{staticClass:"uni-toast"},[t.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:t.image}}):n("i",{staticClass:"uni-icon_toast",class:t.iconClass}),n("p",{staticClass:"uni-toast__content"},[t._v(" "+t._s(t.title)+" ")])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[t._v(" "+t._s(t.title)+" ")])])]):t._e()],1)},m=[],y=n("dfa7"),b=y["a"],w=(n("ff28"),Object(s["a"])(b,g,m,!1,null,null,null)),_=w.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[t.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title",domProps:{textContent:t._s(t.title)}})]):t._e(),t.editable?n("textarea",{ref:"editContent",staticClass:"uni-modal__textarea",attrs:{rows:"1",placeholder:t.placeholderText},domProps:{value:t.content}}):n("div",{staticClass:"uni-modal__bd",domProps:{textContent:t._s(t.content)},on:{touchmove:function(t){t.stopPropagation()}}}),n("div",{staticClass:"uni-modal__ft"},[t.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:t.cancelColor_},on:{click:function(e){return t._close("cancel")}}},[t._v(" "+t._s(t.cancelText)+" ")]):t._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:t.confirmColor},on:{click:function(e){return t._close("confirm")}}},[t._v(" "+t._s(t.confirmText)+" ")])])]),n("keypress",{attrs:{disable:!t.visible},on:{esc:function(e){return t._close("cancel")},enter:function(e){!t.editable&&t._close("confirm")}}})],1)],1)},S=[],k=n("5a56"),C=n("da71"),A=n("3af1");function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var O={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}};function E(t){this.cancelColor_=O[t].cancelColor}var j={name:"Modal",components:{keypress:C["a"]},mixins:[k["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},data:function(){return{cancelColor_:"#000"}},watch:{visible:function(t){t?(this.cancelColor_=this.$parent.showModal.cancelColor,"#000"===this.$parent.showModal.cancelColor&&("dark"===Object(A["a"])()&&this._onThemeChange({theme:"dark"}),Object(A["c"])(this._onThemeChange))):Object(A["b"])(this._onThemeChange)}},methods:{_onThemeChange:function(t){var e=t.theme;E.call(this,e)},_close:function(t){var e=T({},t,!0);this.editable&&"confirm"===t&&(e.content=this.$refs.editContent.value),this.$emit("close",e)}}},I=j,P=(n("2765"),Object(s["a"])(I,x,S,!1,null,null,null)),M=P.exports,L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-actionsheet",{on:{touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask uni-actionsheet__mask",on:{click:function(e){return t._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":t.visible},style:t.popupStyle.content},[n("div",{ref:"main",staticClass:"uni-actionsheet__menu",on:{wheel:t._handleWheel}},[t.title?n("div",{staticClass:"uni-actionsheet__cell",style:{height:t.titleHeight+"px"}}):t._e(),t.title?n("div",{staticClass:"uni-actionsheet__title"},[t._v(" "+t._s(t.title)+" ")]):t._e(),n("div",{style:{maxHeight:t.HEIGHT+"px",overflow:"hidden"}},[n("div",{ref:"content"},t._l(t.itemList,(function(e,r){return n("div",{key:r,staticClass:"uni-actionsheet__cell",style:{color:t.listItemColor},on:{click:function(e){return t._close(r)}}},[t._v(" "+t._s(e)+" ")])})),0)])]),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:t.cancelItemColor},on:{click:function(e){return t._close(-1)}}},[t._v(" "+t._s(t.$$t("uni.showActionSheet.cancel"))+" ")])]),n("div",{style:t.popupStyle.triangle})]),n("keypress",{attrs:{disable:!t.visible},on:{esc:function(e){return t._close(-1)}}})],1)},B=[],N=n("4ccd"),R=n("a6b0"),D=n("ba15"),$=n("8aec"),F=n("5363"),z=n("72b3"),H=n("d4cd");function W(t){var e=20,n=0,r=0;t.addEventListener("touchstart",(function(t){var e=t.changedTouches[0];n=e.clientX,r=e.clientY})),t.addEventListener("touchend",(function(t){var i=t.changedTouches[0];if(Math.abs(i.clientX-n)10?(this.scrollTop+=e/3,this.scrollTop=this.scrollTop>=this.contentHeight?this.contentHeight:this.scrollTop<=0?0:this.scrollTop,this._scroller.scrollTo(this.scrollTop)):this.deltaY=e,t.preventDefault()}}},Q=V,Y=(n("4fef"),Object(s["a"])(Q,L,B,!1,null,null,null)),X=Y.exports,Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("div",{staticClass:"uni-system-preview-image",on:{click:t._click}},[n("v-uni-swiper",{staticClass:"uni-system-preview-image-swiper",attrs:{navigation:"auto",current:t.index,"indicator-dots":!1,autoplay:!1},on:{"update:current":function(e){t.index=e}}},t._l(t.urls,(function(t,e){return n("v-uni-swiper-item",{key:e},[n("image-view",{attrs:{src:t}})],1)})),1),t._m(0)],1):t._e()},G=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nav-btn-back"},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])])}],J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-movable-area",{staticClass:"image-view-area",nativeOn:{touchstart:function(e){return t.onTouchStart(e)},touchmove:function(e){return t.checkDirection(e)},touchend:function(e){return t.onTouchEnd(e)}}},[n("v-uni-movable-view",{staticClass:"image-view-view",attrs:{direction:t.direction,inertia:"",scale:"","scale-min":"1","scale-max":"4"},on:{scale:t.onScale}},[n("img",{staticClass:"image-view-img",attrs:{src:t.src},on:{load:t.onImgLoad}})])],1)},K=[],tt={name:"ImageView",props:{src:{type:String,default:""}},data:function(){return{direction:"none"}},created:function(){this.scale=1,this.imgWidth=0,this.imgHeight=0,this.width=0,this.height=0},methods:{onScale:function(t){var e=t.detail.scale;this.scale=e},onImgLoad:function(t){var e=t.target,n=e.getBoundingClientRect();this.imgWidth=n.width,this.imgHeight=n.height},onTouchStart:function(t){var e=this.$el,n=e.getBoundingClientRect();this.width=n.width,this.height=n.height,this.checkDirection(t)},onTouchEnd:function(t){var e=this.scale,n=e*this.imgWidth>this.width,r=e*this.imgHeight>this.height;this.direction=n&&r?"all":n?"horizontal":r?"vertical":"none",this.checkDirection(t)},checkDirection:function(t){var e=this.direction;"all"!==e&&"horizontal"!==e||t.stopPropagation()}}},et=tt,nt=(n("11d0"),Object(s["a"])(et,J,K,!1,null,null,null)),rt=nt.exports,it={name:"PreviewImage",components:{imageView:rt},props:{visible:{type:Boolean,default:!1},urls:{type:Array,default:function(){return[]}},current:{type:[String,Number],default:0}},data:function(){return{index:0}},watch:{visible:function(t){if(t){var e="number"===typeof this.current?this.current:this.urls.indexOf(this.current);this.index=e<0?0:e}}},mounted:function(){var t=this,e=20,n=0,r=0;this.$el.addEventListener("mousedown",(function(e){t.preventDefault=!1,n=e.clientX,r=e.clientY})),this.$el.addEventListener("mouseup",(function(i){(Math.abs(i.clientX-n)>e||Math.abs(i.clientY-r)>e)&&(t.preventDefault=!0)}))},methods:{_click:function(){this.preventDefault||this.$emit("close")}}},ot=it,at=(n("8ed9"),Object(s["a"])(ot,Z,G,!1,null,null,null)),st=at.exports,ct={Toast:_,Modal:M,ActionSheet:X,PreviewImage:st};function ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lt(t){for(var e=1;e0&&t<1?t:1}}},c={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(t,e,n){"use strict";n.r(e),n.d(e,"request",(function(){return h}));var r=n("f2b3"),i=n("a118"),o=n("db70");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,r,i,o,a,s=.75*t.length,c=t.length,u=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),f=new Uint8Array(l);for(e=0;e>4,f[u++]=(15&i)<<4|o>>2,f[u++]=(3&o)<<6|63&a;return l}})()},"83a6":function(t,e,n){"use strict";e["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}},methods:{_hoverTouchStart:function(t){t.touches.length>1||this._handleHoverStart(t)},_hoverMousedown:function(t){this._hoverTouch||(this._handleHoverStart(t),window.addEventListener("mouseup",this._hoverMouseup))},_handleHoverStart:function(t){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),this.hoverStartTime))},_hoverMouseup:function(){this._hoverTouch&&(this._handleHoverEnd(),window.removeEventListener("mouseup",this._hoverMouseup))},_hoverTouchEnd:function(){this._handleHoverEnd()},_handleHoverEnd:function(){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame((function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout((function(){t.hovering=!1}),t.hoverStayTime)}))},_hoverTouchCancel:function(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84ca":function(t,e,n){},"84e0":function(t,e,n){"use strict";n.r(e),function(t){function r(e){var n=getCurrentPages();return n.length&&t.publishHandler("pageScrollTo",e,n[n.length-1].$page.id),{}}n.d(e,"pageScrollTo",(function(){return r}))}.call(this,n("0dd1"))},8542:function(t,e,n){"use strict";n.d(e,"a",(function(){return w})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return A})),n.d(e,"b",(function(){return O})),n.d(e,"c",(function(){return E}));var i=n("f2b3");function o(t){return u(t)||c(t)||s(t)||a()}function a(){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 s(t,e){if(t){if("string"===typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function c(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function u(t){if(Array.isArray(t))return l(t)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(t[n])){var r=e[n];e[n]=function(o){k(t[n],o,e).then((function(t){return Object(i["k"])(r)&&r(t)||t}))}}})),e}function A(t,e){var n=[];Array.isArray(d.returnValue)&&n.push.apply(n,o(d.returnValue));var r=p[t];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,o(r.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function T(t){var e=Object.create(null);Object.keys(d).forEach((function(t){"returnValue"!==t&&(e[t]=d[t].slice())}));var n=p[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function O(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),n=Object.keys(e),r=n.length;if(r)for(var i=0;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return r||(r=document.createElement("canvas")),r.width=t,r.height=e,r}e["a"]={name:"Canvas",mixins:[i["g"]],props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},data:function(){return{actionsWaiting:!1}},computed:{id:function(){return this.canvasId},_listeners:function(){var t=this,e=Object.assign({},this.$listeners),n=["touchstart","touchmove","touchend"];return n.forEach((function(n){var r=e[n],i=[];r&&i.push((function(e){t.$trigger(n,Object.assign({},e,{touches:v(e.currentTarget,e.touches),changedTouches:v(e.currentTarget,e.changedTouches)}))})),t.disableScroll&&"touchmove"===n&&i.push(t._touchmove),e[n]=i})),e},pixelRatio:function(){return this.hidpi?o["a"]:1}},created:function(){this._actionsDefer=[],this._images={}},mounted:function(){this._resize()},beforeDestroy:function(){var t=this.$refs.canvas;t.height=t.width=0},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,r=void 0===n?{}:n,i=this[e];0!==e.indexOf("_")&&"function"===typeof i&&i(r)},_resize:function(t){var e=this.$refs.canvas,n=!t||e.width!==Math.floor(t.width*this.pixelRatio)||e.height!==Math.floor(t.height*this.pixelRatio);if(n)if(e.width>0&&e.height>0){var r=e.getContext("2d"),i=r.getImageData(0,0,e.width,e.height);Object(o["b"])(e,this.hidpi),r.putImageData(i,0,0)}else Object(o["b"])(e,this.hidpi)},_touchmove:function(t){t.preventDefault()},actionsChanged:function(e){var n=this,r=e.actions,i=e.reserve,o=e.callbackId,a=this;if(r)if(this.actionsWaiting)this._actionsDefer.push([r,i,o]);else{var s=this.$refs.canvas,u=s.getContext("2d");i||(u.fillStyle="#000000",u.strokeStyle="#000000",u.shadowColor="#000000",u.shadowBlur=0,u.shadowOffsetX=0,u.shadowOffsetY=0,u.setTransform(1,0,0,1,0,0),u.clearRect(0,0,s.width,s.height)),this.preloadImage(r);var l=function(t){var e=r[t],i=e.method,s=e.data;if(/^set/.test(i)&&"setTransform"!==i){var l,f=i[3].toLowerCase()+i.slice(4);if("fillStyle"===f||"strokeStyle"===f){if("normal"===s[0])l=p(s[1]);else if("linear"===s[0]){var v=u.createLinearGradient.apply(u,c(s[1]));s[2].forEach((function(t){var e=t[0],n=p(t[1]);v.addColorStop(e,n)})),l=v}else if("radial"===s[0]){var g=s[1][0],m=s[1][1],y=s[1][2],b=u.createRadialGradient(g,m,0,g,m,y);s[2].forEach((function(t){var e=t[0],n=p(t[1]);b.addColorStop(e,n)})),l=b}else if("pattern"===s[0]){var w=n.checkImageLoaded(s[1],r.slice(t+1),o,(function(t){t&&(u[f]=u.createPattern(t,s[2]))}));return w?"continue":"break"}u[f]=l}else if("globalAlpha"===f)u[f]=s[0]/255;else if("shadow"===f)h=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"],s.forEach((function(t,e){u[h[e]]="shadowColor"===h[e]?p(t):t}));else if("fontSize"===f){var _=u.__font__||u.font;u.__font__=u.font=_.replace(/\d+\.?\d*px/,s[0]+"px")}else"lineDash"===f?(u.setLineDash(s[0]),u.lineDashOffset=s[1]||0):"textBaseline"===f?("normal"===s[0]&&(s[0]="alphabetic"),u[f]=s[0]):"font"===f?u.__font__=u.font=s[0]:u[f]=s[0]}else if("fillPath"===i||"strokePath"===i)i=i.replace(/Path/,""),u.beginPath(),s.forEach((function(t){u[t.method].apply(u,t.data)})),u[i]();else if("fillText"===i)u.fillText.apply(u,s);else if("drawImage"===i){if(d=function(){var e=c(s),n=e[0],i=e.slice(1);if(a._images=a._images||{},!a.checkImageLoaded(n,r.slice(t+1),o,(function(t){t&&u.drawImage.apply(u,[t].concat(c(i.slice(4,8)),c(i.slice(0,4))))})))return"break"}(),"break"===d)return"break"}else"clip"===i?(s.forEach((function(t){u[t.method].apply(u,t.data)})),u.clip()):u[i].apply(u,s)};t:for(var f=0;fe-n&&tthis._t&&(t=this._t,this._lastDt=t);var e=this._x_v*t+.5*this._x_a*Math.pow(t,2)+this._x_s,n=this._y_v*t+.5*this._y_a*Math.pow(t,2)+this._y_s;return(this._x_a>0&&ethis._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:e,y:n}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=a(this.s().x,this._endPositionX)||a(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var n=this._c,r=this._m,i=this._k,o=n*n-4*r*i;if(0===o){var a=-n/(2*r),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*r),l=(-n+Math.sqrt(o))/(2*r),f=(e-u*t)/(l-u),h=t-f;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+f*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+f*l*n}}}var d=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=t,g=(e-p*t)/d;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(d*t)+g*Math.sin(d*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(d*t),r=Math.sin(d*t);return e*(g*d*n-v*d*r)+p*e*(g*r+v*n)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!s(e,.1)){e=e||0;var r=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),s(e,.1)&&(e=0),s(r,.1)&&(r=0),r+=this._endPosition),this._solution&&s(r-t,.1)&&s(e,.1)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,e),this._startTime=n)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),a(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},f.prototype.setEnd=function(t,e,n,r){var i=(new Date).getTime();this._springX.setEnd(t,r,i),this._springY.setEnd(e,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},f.prototype.x=function(){var t=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(t),y:this._springY.x(t),scale:this._springScale.x(t)}},f.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},f.prototype.reconfigure=function(t,e,n){this._springX.reconfigure(t,e,n),this._springY.reconfigure(t,e,n),this._springScale.reconfigure(t,e,n)};var h=n("d4cd"),d=!1;function p(t){d||(d=!0,requestAnimationFrame((function(){t(),d=!1})))}function v(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=v(t.offsetParent,e):0}function g(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=g(t.offsetParent,e):0}function m(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function y(t,e,n){var r=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},i={id:0,cancelled:!1};function o(e,n,r,i){if(!e||!e.cancelled){r(n);var a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,n,r,i))),a&&i&&i(n)}}return o(i,t,e,n),{cancel:r.bind(null,i),model:t}}var b={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},disabled:function(){this.__handleTouchStart()},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new f(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center",Object(h["b"])()},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(h["a"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,r=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=t.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dx/t.detail.dy)<1)),this.yMove&&(r=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(r),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dy/t.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(t.detail.timeStamp),!this._checkCanMove){t.preventDefault();var i="touch";nthis.maxX&&(this.outOfBounds?(i="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),rthis.maxY&&(this.outOfBounds?(i="touch-out-of-bounds",r=this.maxY+this._declineY.x(r-this.maxY)):r=this.maxY),p((function(){e._setTransform(n,r,e._scale,i)}))}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(h["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,n),this._friction.setS(this._translateX,this._translateY);var r=this._friction.delta().x,i=this._friction.delta().y,o=r+this._translateX,a=i+this._translateY;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*i/r),athis.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*r/i),this._friction.setEnd(o,a),this._FA=y(this._friction,(function(){var e=t._friction.s(),n=e.x,r=e.y;t._setTransform(n,r,t._scale,"friction")}),(function(){t._FA.cancel()}))}},_onTrack:function(t){switch(t.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(t);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(t,e){var n=!1;return t>this.maxX?(t=this.maxX,n=!0):tthis.maxY?(e=this.maxY,n=!0):e3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateX||0),null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateY||0),t=Number(t.toFixed(1)),e=Number(e.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===t&&this._translateY===e||i||this.$trigger("change",{},{x:m(t,this._scaleOffset.x),y:m(e,this._scaleOffset.y),source:r}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),o&&n!==this._scale&&this.$trigger("scale",{},{x:t,y:e,scale:n});var a="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=t,this._translateY=e,this._scale=n}}},w=b,_=(n("7c2b"),n("0c7c")),x=Object(_["a"])(w,r,i,!1,null,null,null);e["default"]=x.exports},8875:function(t,e,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(f){var t,e,n,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,o=r.exec(f.stack)||i.exec(f.stack),a=o&&o[1]||!1,s=o&&o[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");a===c&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*