text: var dsl=function(){"use strict";const e={initApp:"quickapp.app.initApp",initPage:"quickapp.page.initPage",destroyPage:"quickapp.page.destroyPage",fireEvent:"quickapp.page.fireEvent",onShow:"quickapp.page.onShow",onHide:"quickapp.page.onHide",onBackPress:"quickapp.page.onBackPress",onMenuPress:"quickapp.page.onMenuPress",onOrientationChange:"quickapp.page.onOrientationChange",onConfigurationChanged:"quickapp.page.onConfigurationChanged",onRefresh:"quickapp.page.onRefresh",callbackDone:"quickapp.page.callbackDone"},t=/^@(app)-application\//,n=/^@(app)-component\//,r=/^@(app)-module\//;function o(e){return e.replace(t,"").replace(n,"").replace(r,"")}var i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var a,s,c=(function(e){e.exports=function(e,t,n){var r=Object.freeze({});function o(e){return null==e}function a(e){return null!=e}function s(e){return!0===e}function c(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function u(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function p(e){return l.call(e).slice(8,-1)}function f(e){return"[object Object]"===l.call(e)}function d(e){return"[object RegExp]"===l.call(e)}function v(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var _=g("slot,component",!0),b=g("key,ref,slot,slot-scope,is");function $(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function A(e,t){return w.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,O=k(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),C=k(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,j=k(function(e){return e.replace(S,"-$1").toLowerCase()});var E=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function I(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function P(e,t){for(var n in t)e[n]=t[n];return e}function M(e,t,n){}var T=function(e,t,n){return!1},F=function(e){return e};function D(e,t){if(e===t)return!0;var n=u(e),r=u(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return D(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return D(e[n],t[n])})}catch(e){return!1}}function N(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function L(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var q="data-server-rendered",R=["component","directive","filter"],V=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:T,isReservedAttr:T,isUnknownElement:T,getTagNamespace:M,parsePlatformTagName:F,mustUseProp:T,async:!0,_lifecycleHooks:V},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function z(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var J=new RegExp("[^"+H.source+".$_\\d]");var W,K="__proto__"in{},Q="undefined"!=typeof window,Y="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=Y&&WXEnvironment.platform.toLowerCase(),X=Q&&window.navigator.userAgent.toLowerCase(),Z=X&&/msie|trident/.test(X),ee=X&&X.indexOf("msie 9.0")>0,te=X&&X.indexOf("edge/")>0,ne=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===G),re=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/),{}.watch);if(Q)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){}}),window.addEventListener("test-passive",null,oe)}catch(e){}var ie=function(){return void 0===W&&(W=!Q&&!Y&&void 0!==i&&(i.process&&"server"===i.process.env.VUE_ENV)),W},ae=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,ue="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ce="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var le=M,pe=M,fe=M,de=M,ve="undefined"!=typeof console,he=/(?:^|[-_])(\w)/g;le=function(e,t){var n=t?fe(t):"";B.warnHandler?B.warnHandler.call(null,e,t,n):ve&&!B.silent&&console.error("[Vue warn]: "+e+n)},pe=function(e,t){ve&&!B.silent&&console.warn("[Vue tip]: "+e+(t?fe(t):""))},de=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,o=n.__file;if(!r&&o){var i=o.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<"+r.replace(he,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")+">":"<Anonymous>")+(o&&!1!==t?" at "+o:"")};fe=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?de(e[0])+"... ("+e[1]+" recursive calls)":de(e))}).join("\n")}return"\n\n(found in "+de(e)+")"};var me=0,ye=function(){"undefined"!=typeof SharedObject?this.id=SharedObject.uid++:this.id=me++,this.subs=[]};function ge(e){ye.SharedObject.targetStack.push(e),ye.SharedObject.target=e}function _e(){ye.SharedObject.targetStack.pop(),ye.SharedObject.target=ye.SharedObject.targetStack[ye.SharedObject.targetStack.length-1]}ye.prototype.addSub=function(e){this.subs.push(e)},ye.prototype.removeSub=function(e){$(this.subs,e)},ye.prototype.depend=function(){ye.SharedObject.target&&ye.SharedObject.target.addDep(this)},ye.prototype.notify=function(){var e=this.subs.slice();B.async||e.sort(function(e,t){return e.id-t.id});for(var t=0,n=e.length;t<n;t++)e[t].update()},ye.SharedObject="undefined"!=typeof SharedObject?SharedObject:{},ye.SharedObject.target=null,ye.SharedObject.targetStack=[];var be=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},$e={child:{configurable:!0}};$e.child.get=function(){return this.componentInstance},Object.defineProperties(be.prototype,$e);var we=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function Ae(e){return new be(void 0,void 0,void 0,String(e))}function ke(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var xe=Array.prototype,Oe=Object.create(xe);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=xe[e];z(Oe,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var Ce=Object.getOwnPropertyNames(Oe),Se=!0;function je(e){Se=e}var Ee=function(e){var t;this.value=e,this.dep=new ye,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(K?(t=Oe,e.__proto__=t):function(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];z(e,i,t[i])}}(e,Oe,Ce),this.observeArray(e)):this.walk(e)};function Ie(e,t){var n;if(u(e)&&!(e instanceof be))return A(e,"__ob__")&&e.__ob__ instanceof Ee?n=e.__ob__:Se&&!ie()&&(Array.isArray(e)||f(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ee(e)),t&&n&&n.vmCount++,n}function Pe(e,t,n,r,o){var i=new ye,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var u=!o&&Ie(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ye.SharedObject.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,o=t.length;r<o;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(r&&r(),s&&!c||(c?c.call(e,t):n=t,u=!o&&Ie(t),i.notify()))}})}}function Me(e,t,n){if((o(e)||c(e))&&le("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&v(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?(le("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):r?(Pe(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Te(e,t){if((o(e)||c(e))&&le("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&v(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?le("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):A(e,t)&&(delete e[t],n&&n.dep.notify())}}Ee.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Pe(e,t[n])},Ee.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ie(e[t])};var Fe=B.optionMergeStrategies;function De(e,t){if(!t)return e;for(var n,r,o,i=ue?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=e[n],o=t[n],A(e,n)?r!==o&&f(r)&&f(o)&&De(r,o):Me(e,n,o));return e}function Ne(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?De(r,o):o}:t?e?function(){return De("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Le(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function qe(e,t,n,r){var o=Object.create(e||null);return t?(Be(r,t,n),P(o,t)):o}Fe.el=Fe.propsData=function(e,t,n,r){return n||le('option "'+r+'" can only be used during instance creation with the `new` keyword.'),Re(e,t)},Fe.data=function(e,t,n){return n?Ne(e,t,n):t&&"function"!=typeof t?(le('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Ne(e,t)},V.forEach(function(e){Fe[e]=Le}),R.forEach(function(e){Fe[e+"s"]=qe}),Fe.watch=function(e,t,n,r){if(e===re&&(e=void 0),t===re&&(t=void 0),!t)return Object.create(e||null);if(Be(r,t,n),!e)return t;var o={};for(var i in P(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Fe.props=Fe.methods=Fe.inject=Fe.computed=function(e,t,n,r){if(t&&Be(r,t,n),!e)return t;var o=Object.create(null);return P(o,e),t&&P(o,t),o},Fe.provide=Ne;var Re=function(e,t){return void 0===t?e:t};function Ve(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+H.source+"]*$").test(e)||le('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(_(e)||B.isReservedTag(e))&&le("Do not use built-in or reserved HTML elements as component id: "+e)}function Be(e,t,n){f(t)||le('Invalid value for option "'+e+'": expected an Object, but got '+p(t)+".",n)}function He(e,t,n){if(function(e){for(var t in e.components)Ve(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])?i[O(o)]={type:null}:le("props must be strings when using array syntax.");else if(f(n))for(var a in n)o=n[a],i[O(a)]=f(o)?o:{type:o};else le('Invalid value for option "props": expected an Array or an Object, but got '+p(n)+".",t);e.props=i}}(t,n),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(f(n))for(var i in n){var a=n[i];r[i]=f(a)?P({from:i},a):{from:a}}else le('Invalid value for option "inject": expected an Array or an Object, but got '+p(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=He(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=He(e,t.mixins[r],n);var i,a={};for(i in e)s(i);for(i in t)A(e,i)||s(i);function s(r){var o=Fe[r]||Re;a[r]=o(e[r],t[r],n,r)}return a}function Ue(e,t,n,r){if("string"==typeof n){var o=e[t];if(A(o,n))return o[n];var i=O(n);if(A(o,i))return o[i];var a=C(i);if(A(o,a))return o[a];var s=o[n]||o[i]||o[a];return r&&!s&&le("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function ze(e,t,n,r){var o=t[e],i=!A(n,e),a=n[e],s=Ye(Boolean,o.type);if(s>-1)if(i&&!A(o,"default"))a=!1;else if(""===a||a===j(e)){var c=Ye(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!A(t,"default"))return;var r=t.default;u(r)&&le('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e);if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Ke(t.type)?r.call(e):r}(r,o,e);var l=Se;je(!0),Ie(a),je(l)}return function(e,t,n,r,o){if(e.required&&o)return void le('Missing required prop: "'+t+'"',r);if(null==n&&!e.required)return;var i=e.type,a=!i||!0===i,s=[];if(i){Array.isArray(i)||(i=[i]);for(var c=0;c<i.length&&!a;c++){var u=We(n,i[c]);s.push(u.expectedType||""),a=u.valid}}if(!a)return void le(function(e,t,n){var r='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(C).join(", "),o=n[0],i=p(t),a=Ge(t,o),s=Ge(t,i);1===n.length&&Xe(o)&&!function(){var e=[],t=arguments.length;for(;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}(o,i)&&(r+=" with value "+a);r+=", got "+i+" ",Xe(i)&&(r+="with value "+s+".");return r}(t,n,s),r);var l=e.validator;l&&(l(n)||le('Invalid prop: custom validator check failed for prop "'+t+'".',r))}(o,e,a,r,i),a}var Je=/^(String|Number|Boolean|Function|Symbol)$/;function We(e,t){var n,r=Ke(t);if(Je.test(r)){var o=typeof e;(n=o===r.toLowerCase())||"object"!==o||(n=e instanceof t)}else n="Object"===r?f(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function Ke(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Qe(e,t){return Ke(e)===Ke(t)}function Ye(e,t){if(!Array.isArray(t))return Qe(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Qe(t[n],e))return n;return-1}function Ge(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function Xe(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function Ze(e,t,n){ge();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){tt(e,r,"errorCaptured hook")}}tt(e,t,n)}finally{_e()}}function et(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&h(i)&&!i._handled&&(i.catch(function(e){return Ze(e,r,o+" (Promise/async)")}),i._handled=!0)}catch(e){Ze(e,r,o)}return i}function tt(e,t,n){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,n)}catch(t){t!==e&&nt(t,null,"config.errorHandler")}nt(e,t,n)}function nt(e,t,n){if(le("Error in "+n+': "'+e.toString()+'"',t),!Q&&!Y||"undefined"==typeof console)throw e;console.error(e)}var rt,ot,it=[],at=!1;function st(){at=!1;var e=it.slice(0);it.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){var ct=Promise.resolve();rt=function(){ct.then(st),ne&&setTimeout(M)}}else if(Z||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())rt="undefined"!=typeof setImmediate&&se(setImmediate)?function(){setImmediate(st)}:function(){setTimeout(st,0)};else{var ut=1,lt=new MutationObserver(st),pt=t.createTextNode(String(ut));lt.observe(pt,{characterData:!0}),rt=function(){ut=(ut+1)%2,pt.data=String(ut)}}function ft(e,t){var n;if(it.push(function(){if(e)try{e.call(t)}catch(e){Ze(e,t,"nextTick")}else n&&n(t)}),at||(at=!0,rt()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var dt=g("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),vt=function(e,t){le('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},ht=function(e,t){le('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},mt="undefined"!=typeof Proxy&&se(Proxy);if(mt){var yt=g("stop,prevent,self,ctrl,shift,alt,meta,exact");B.keyCodes=new Proxy(B.keyCodes,{set:function(e,t,n){return yt(t)?(le("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var gt={has:function(e,t){var n=t in e,r=dt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||r||(t in e.$data?ht(e,t):vt(e,t)),n||!r}},_t={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?ht(e,t):vt(e,t)),e[t]}};ot=function(e){if(mt){var t=e.$options,n=t.render&&t.render._withStripped?_t:gt;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var bt,$t,wt=new ce;function At(e){!function e(t,n){var r,o;var i=Array.isArray(t);if(!i&&!u(t)||Object.isFrozen(t)||t instanceof be)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=t.length;r--;)e(t[r],n);else for(o=Object.keys(t),r=o.length;r--;)e(t[o[r]],n)}(e,wt),wt.clear()}var kt=Q&&window.performance;kt&&kt.mark&&kt.measure&&kt.clearMarks&&kt.clearMeasures&&(bt=function(e){return kt.mark(e)},$t=function(e,t,n){kt.measure(e,t,n),kt.clearMarks(t),kt.clearMarks(n)});var xt=k(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function Ot(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return et(r,null,arguments,t,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)et(o[i],null,e,t,"v-on handler")}return n.fns=e,n}function Ct(e,t,n,r,i,a){var c,u,l,p;for(c in e)u=e[c],l=t[c],p=xt(c),o(u)?le('Invalid handler for event "'+p.name+'": got '+String(u),a):o(l)?(o(u.fns)&&(u=e[c]=Ot(u,a)),s(p.once)&&(u=e[c]=i(p.name,u,p.capture)),n(p.name,u,p.capture,p.passive,p.params)):u!==l&&(l.fns=u,e[c]=l);for(c in t)o(e[c])&&r((p=xt(c)).name,t[c],p.capture)}function St(e,t,n){var r;e instanceof be&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function c(){n.apply(this,arguments),$(r.fns,c)}o(i)?r=Ot([c]):a(i.fns)&&s(i.merged)?(r=i).fns.push(c):r=Ot([i,c]),r.merged=!0,e[t]=r}function jt(e,t,n,r){var i=t.options.mpOptions&&t.options.mpOptions.properties;if(o(i))return n;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,u=e.props;if(a(c)||a(u))for(var l in i){var p=j(l);(Et(n,u,l,p,!0)||Et(n,c,l,p,!1))&&n[l]&&-1!==s.indexOf(p)&&r[O(n[l])]&&(n[l]=r[O(n[l])])}return n}function Et(e,t,n,r,o){if(a(t)){if(A(t,n))return e[n]=t[n],o||delete t[n],!0;if(A(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function It(e){return c(e)?[Ae(e)]:Array.isArray(e)?function e(t,n){var r=[];var i,u,l,p;for(i=0;i<t.length;i++)o(u=t[i])||"boolean"==typeof u||(l=r.length-1,p=r[l],Array.isArray(u)?u.length>0&&(Pt((u=e(u,(n||"")+"_"+i))[0])&&Pt(p)&&(r[l]=Ae(p.text+u[0].text),u.shift()),r.push.apply(r,u)):c(u)?Pt(p)?r[l]=Ae(p.text+u):""!==u&&r.push(Ae(u)):Pt(u)&&Pt(p)?r[l]=Ae(p.text+u.text):(s(t._isVList)&&a(u.tag)&&o(u.key)&&a(n)&&(u.key="__vlist"+n+"_"+i+"__"),r.push(u)));return r}(e):void 0}function Pt(e){return a(e)&&a(e.text)&&!1===e.isComment}function Mt(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=e[i].from,s=t;s;){if(s._provided&&A(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var c=e[i].default;n[i]="function"==typeof c?c.call(t):c}else le('Injection "'+i+'" not found',t)}}return n}}function Tt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)i.asyncMeta&&i.asyncMeta.data&&"page"===i.asyncMeta.data.slot?(n.page||(n.page=[])).push(i):(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(Ft)&&delete n[u];return n}function Ft(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Dt(e,t,n){var o,i=Object.keys(t).length>0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=Nt(t,c,e[c]))}else o={};for(var u in t)u in o||(o[u]=Lt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),z(o,"$stable",a),z(o,"$key",s),z(o,"$hasNormal",i),o}function Nt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:It(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Lt(e,t){return function(){return e[t]}}function qt(e,t){var n,r,o,i,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r,r,r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r,r,r);else if(u(e))if(ue&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),l=c.next();!l.done;)n.push(t(l.value,n.length,r++,r)),l=c.next()}else for(i=Object.keys(e),n=new Array(i.length),r=0,o=i.length;r<o;r++)s=i[r],n[r]=t(e[s],s,r,r);return a(n)||(n=[]),n._isVList=!0,n}function Rt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(u(r)||le("slot v-bind without argument expects an Object",this),n=P(P({},r),n)),o=i(n,this,n._i)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Vt(e){return Ue(this.$options,"filters",e,!0)||F}function Bt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Ht(e,t,n,r,o){var i=B.keyCodes[t]||n;return o&&r&&!B.keyCodes[t]?Bt(o,r):i?Bt(i,e):r?j(r)!==t:void 0}function Ut(e,t,n,r,o){if(n)if(u(n)){var i;Array.isArray(n)&&(n=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}(n));var a=function(a){if("class"===a||"style"===a||b(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||B.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=O(a),u=j(a);c in i||u in i||(i[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else le("v-bind without argument expects an Object or Array value",this);return e}function zt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?r:(Wt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r)}function Jt(e,t,n){return Wt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Wt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Kt(e[r],t+"_"+r,n);else Kt(e,t,n)}function Kt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Qt(e,t){if(t)if(f(t)){var n=e.on=e.on?P({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else le("v-on without argument expects an Object value",this);return e}function Yt(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?Yt(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Gt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r?e[t[n]]=t[n+1]:""!==r&&null!==r&&le("Invalid value for dynamic directive argument (expected string or null): "+r,this)}return e}function Xt(e,t){return"string"==typeof e?t+e:e}function Zt(e){e._o=Jt,e._n=y,e._s=m,e._l=qt,e._t=Rt,e._q=D,e._i=N,e._m=zt,e._f=Vt,e._k=Ht,e._b=Ut,e._v=Ae,e._e=we,e._u=Yt,e._g=Qt,e._d=Gt,e._p=Xt}function en(e,t,n,o,i){var a,c=this,u=i.options;A(o,"_uid")?(a=Object.create(o))._original=o:(a=o,o=o._original);var l=s(u._compiled),p=!l;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||r,this.injections=Mt(u.inject,o),this.slots=function(){return c.$slots||Dt(e.scopedSlots,c.$slots=Tt(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Dt(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Dt(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var i=ln(a,e,t,n,r,p);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return ln(a,e,t,n,r,p)}}function tn(e,t,n,r,o){var i=ke(e);return i.fnContext=n,i.fnOptions=r,(i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=o,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function nn(e,t){for(var n in t)e[O(n)]=t[n]}Zt(en.prototype);var rn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;rn.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,gn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,i){_n=!0;var a=o.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(i||e.$options._renderChildren||c);e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o);if(e.$options._renderChildren=i,e.$attrs=o.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){je(!1);for(var l=e._props,p=e.$options._propKeys||[],f=0;f<p.length;f++){var d=p[f],v=e.$options.props;l[d]=ze(d,v,t,e)}je(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),n=n||r;var h=e.$options._parentListeners;e.$options._parentListeners=n,yn(e,n,h),u&&(e.$slots=Tt(i,o.context),e.$forceUpdate());_n=!1}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(wn(r,"onServiceCreated"),wn(r,"onServiceAttached"),r._isMounted=!0,wn(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,xn.push(t)):$n(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,bn(t)))return;if(!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);wn(t,"deactivated")}}(t,!0):t.$destroy())}},on=Object.keys(rn);function an(e,t,n,i,c){if(!o(e)){var l=n.$options._base;if(u(e)&&(e=l.extend(e)),"function"==typeof e){var p;if(o(e.cid)&&void 0===(e=function(e,t){if(s(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=fn;n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(s(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var r=e.owners=[n],i=!0,c=null,l=null;n.$on("hook:destroyed",function(){return $(r,n)});var p=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},f=L(function(n){e.resolved=dn(n,t),i?r.length=0:p(!0)}),d=L(function(t){le("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),a(e.errorComp)&&(e.error=!0,p(!0))}),v=e(f,d);return u(v)&&(h(v)?o(e.resolved)&&v.then(f,d):h(v.component)&&(v.component.then(f,d),a(v.error)&&(e.errorComp=dn(v.error,t)),a(v.loading)&&(e.loadingComp=dn(v.loading,t),0===v.delay?e.loading=!0:c=setTimeout(function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,p(!1))},v.delay||200)),a(v.timeout)&&(l=setTimeout(function(){l=null,o(e.resolved)&&d("timeout ("+v.timeout+"ms)")},v.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(p=e,l)))return function(e,t,n,r,o){var i=we();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(p,t,n,i,c);t=t||{},zn(e),a(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),i=o[r],s=t.model.callback;a(i)?(Array.isArray(i)?-1===i.indexOf(s):i!==s)&&(o[r]=[s].concat(i)):o[r]=s}(e.options,t);var f=function(e,t,n,r){var i=t.options.props;if(o(i))return jt(e,t,{},r);var s={},c=e.attrs,u=e.props;if(a(c)||a(u))for(var l in i){var p=j(l),f=l.toLowerCase();l!==f&&c&&A(c,f)&&pe('Prop "'+f+'" is passed to component '+de(n||t)+', but the declared prop name is "'+l+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+p+'" instead of "'+l+'".'),Et(s,u,l,p,!0)||Et(s,c,l,p,!1)}return jt(e,t,s,r)}(t,e,c,n);if(s(e.options.functional))return function(e,t,n,o,i){var s=e.options,c={},u=s.props;if(a(u))for(var l in u)c[l]=ze(l,u,t||r);else a(n.attrs)&&nn(c,n.attrs),a(n.props)&&nn(c,n.props);var p=new en(n,c,i,o,e),f=s.render.call(null,p._c,p);if(f instanceof be)return tn(f,n,p.parent,s,p);if(Array.isArray(f)){for(var d=It(f)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=tn(d[h],n,p.parent,s,p);return v}}(e,f,t,n,i);var d=t.on;if(t.on=t.nativeOn,s(e.options.abstract)){var v=t.slot;t={},v&&(t.slot=v)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<on.length;n++){var r=on[n],o=t[r],i=rn[r];o===i||o&&o._merged||(t[r]=o?sn(i,o):i)}}(t);var m=e.options.name||c;return new be("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:d,tag:c,children:i},p)}le("Invalid Component definition: "+String(e),n)}}function sn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var cn=1,un=2;function ln(e,t,n,r,i,l){return(Array.isArray(n)||c(n))&&(i=r,r=n,n=void 0),s(l)&&(i=un),function(e,t,n,r,i){if(a(n)&&a(n.__ob__))return le("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),we();a(n)&&a(n.is)&&(t=n.is);if(!t)return we();a(n)&&a(n.key)&&!c(n.key)&&le("Avoid using non-primitive value as key, use string/number value instead.",e);Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);i===un?r=It(r):i===cn&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var l,p;if("string"==typeof t){var f;p=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),B.isReservedTag(t)?(a(n)&&a(n.nativeOn)&&le("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),l=new be(B.parsePlatformTagName(t),n,r,void 0,void 0,e)):l=n&&n.pre||!a(f=Ue(e.$options,"components",t))?new be(t,n,r,void 0,void 0,e):an(f,n,e,r,t)}else l=an(t,n,e,r);return Array.isArray(l)?l:a(l)?(a(p)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(n=void 0,r=!0);if(a(t.children))for(var i=0,c=t.children.length;i<c;i++){var u=t.children[i];a(u.tag)&&(o(u.ns)||s(r)&&"svg"!==u.tag)&&e(u,n,r)}}(l,p),a(n)&&function(e){u(e.style)&&At(e.style);u(e.class)&&At(e.class)}(n),l):we()}(e,t,n,r,i)}var pn,fn=null;function dn(e,t){return(e.__esModule||ue&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function vn(e,t){pn.$on(e,t)}function hn(e,t){pn.$off(e,t)}function mn(e,t){var n=pn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function yn(e,t,n){pn=e,Ct(t,n||{},vn,hn,mn,e),pn=void 0}var gn=null,_n=!1;function bn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function $n(e,t){if(t){if(e._directInactive=!1,bn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)$n(e.$children[n]);wn(e,"activated")}}function wn(e,t){ge();var n=e.$options[t],r=t+" hook";if(n)for(var o=0,i=n.length;o<i;o++)et(n[o],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),_e()}var An=100,kn=[],xn=[],On={},Cn={},Sn=!1,jn=!1,En=0;var In=Date.now;if(Q&&!Z){var Pn=window.performance;Pn&&"function"==typeof Pn.now&&In()>t.createEvent("Event").timeStamp&&(In=function(){return Pn.now()})}function Mn(){var e,t;for(In(),jn=!0,kn.sort(function(e,t){return e.id-t.id}),En=0;En<kn.length;En++)if((e=kn[En]).before&&e.before(),t=e.id,On[t]=null,e.run(),null!=On[t]&&(Cn[t]=(Cn[t]||0)+1,Cn[t]>An)){le("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=xn.slice(),r=kn.slice();En=kn.length=xn.length=0,On={},Cn={},Sn=jn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,$n(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&wn(r,"updated")}}(r),ae&&B.devtools&&ae.emit("flush")}var Tn=0,Fn=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._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=++Tn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ce,this.newDepIds=new ce,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!J.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=M,le('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};Fn.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Ze(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&At(e),_e(),this.cleanupDeps()}return e},Fn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Fn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.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},Fn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==On[t]){if(On[t]=!0,jn){for(var n=kn.length-1;n>En&&kn[n].id>e.id;)n--;kn.splice(n+1,0,e)}else kn.push(e);if(!Sn){if(Sn=!0,!B.async)return void Mn();ft(Mn)}}}(this)},Fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||$(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Dn={enumerable:!0,configurable:!0,get:M,set:M};function Nn(e,t,n){Dn.get=function(){return this[t][n]},Dn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Dn)}function Ln(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||je(!1);var a=function(a){o.push(a);var s=ze(a,t,n,e),c=j(a);(b(c)||B.isReservedAttr(c))&&le('"'+c+'" is a reserved attribute and cannot be used as component prop.',e),Pe(r,a,s,function(){i||_n||le("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)}),a in e||Nn(e,"_props",a)};for(var s in t)a(s);je(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var r in t)"function"!=typeof t[r]&&le('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&A(n,r)&&le('Method "'+r+'" has already been defined as a prop.',e),r in e&&U(r)&&le('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!=typeof t[r]?M:E(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;f(t=e._data="function"==typeof t?function(e,t){ge();try{return e.call(t,t)}catch(e){return Ze(e,t,"data()"),{}}finally{_e()}}(t,e):t||{})||(t={},le("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var n=Object.keys(t),r=e.$options.props,o=e.$options.methods,i=n.length;for(;i--;){var a=n[i];o&&A(o,a)&&le('Method "'+a+'" has already been defined as a data property.',e),r&&A(r,a)?le('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):U(a)||Nn(e,"_data",a)}Ie(t,!0)}(e):Ie(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;null==a&&le('Getter is missing for computed property "'+o+'".',e),r||(n[o]=new Fn(e,a||M,M,qn)),o in e?o in e.$data?le('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&le('The computed property "'+o+'" is already defined as a prop.',e):Rn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==re&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Hn(e,n,r[o]);else Hn(e,n,r)}}(e,t.watch)}var qn={lazy:!0};function Rn(e,t,n){var r=!ie();"function"==typeof n?(Dn.get=r?Vn(t):Bn(n),Dn.set=M):(Dn.get=n.get?r&&!1!==n.cache?Vn(t):Bn(n.get):M,Dn.set=n.set||M),Dn.set===M&&(Dn.set=function(){le('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Dn)}function Vn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ye.SharedObject.target&&t.depend(),t.value}}function Bn(e){return function(){return e.call(this,this)}}function Hn(e,t,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Un=0;function zn(e){var t=e.options;if(e.super){var n=zn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&P(e.extendOptions,r),(t=e.options=He(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Jn(e){this instanceof Jn||le("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Wn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;i&&Ve(i);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=He(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Nn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Rn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=P({},a.options),o[r]=a,a}}function Kn(e){return e&&(e.Ctor.options.name||e.tag)}function Qn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Yn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Kn(a.componentOptions);s&&!t(s)&&Gn(n,i,r,o)}}}function Gn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,$(n,t)}!function(e){e.prototype._init=function(e){var t,n,o=this;o._uid=Un++,B.performance&&bt&&(t="vue-perf-start:"+o._uid,n="vue-perf-end:"+o._uid,bt(t)),o._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,e):o.$options=He(zn(o.constructor),e||{},o),ot(o),o._self=o,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&yn(e,t)}(o),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=Tt(t._renderChildren,o),e.$scopedSlots=r,e._c=function(t,n,r,o){return ln(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return ln(e,t,n,r,o,!0)};var i=n&&n.data;Pe(e,"$attrs",i&&i.attrs||r,function(){!_n&&le("$attrs is readonly.",e)},!0),Pe(e,"$listeners",t._parentListeners||r,function(){!_n&&le("$listeners is readonly.",e)},!0)}(o),wn(o,"beforeCreate"),"mp-toutiao"!==o.mpHost&&function(e){var t=Mt(e.$options.inject,e);t&&(je(!1),Object.keys(t).forEach(function(n){Pe(e,n,t[n],function(){le('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)})}),je(!0))}(o),Ln(o),"mp-toutiao"!==o.mpHost&&function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(o),"mp-toutiao"!==o.mpHost&&wn(o,"created"),B.performance&&bt&&(o._name=de(o,!1),bt(n),$t("vue "+o._name+" init",t,n)),o.$options.el&&o.$mount(o.$options.el)}}(Jn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){le("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){le("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Me,e.prototype.$delete=Te,e.prototype.$watch=function(e,t,n){if(f(t))return Hn(this,e,t,n);(n=n||{}).user=!0;var r=new Fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Ze(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Jn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((i=a[s])===t||i.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&pe('Event "'+n+'" is emitted in component '+de(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+j(e)+'" instead of "'+e+'".');var r=t._events[e];if(r){r=r.length>1?I(r):r;for(var o=I(arguments,1),i='event handler for "'+e+'"',a=0,s=r.length;a<s;a++)et(r[a],t,o,t,i)}return t}}(Jn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=function(e){var t=gn;return gn=e,function(){gn=t}}(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){wn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||$(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),wn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Jn),function(e){Zt(e.prototype),e.prototype.$nextTick=function(e){return ft(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&(t.$scopedSlots=Dt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{fn=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){if(Ze(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){Ze(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{fn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof be||(Array.isArray(e)&&le("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=we()),e.parent=o,e}}(Jn);var Xn=[String,RegExp,Array],Zn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Xn,exclude:Xn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Gn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Yn(e,function(e){return Qn(t,e)})}),this.$watch("exclude",function(t){Yn(e,function(e){return!Qn(t,e)})})},render:function(){var e=this.$slots.default,t=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(a(n)&&(a(n.componentOptions)||(r=n).isComment&&r.asyncFactory))return n}var r}(e),n=t&&t.componentOptions;if(n){var r=Kn(n),o=this.include,i=this.exclude;if(o&&(!r||!Qn(o,r))||i&&r&&Qn(i,r))return t;var s=this.cache,c=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;s[u]?(t.componentInstance=s[u].componentInstance,$(c,u),c.push(u)):(s[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Gn(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return B},set:function(){le("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:P,mergeOptions:He,defineReactive:Pe},e.set=Me,e.delete=Te,e.nextTick=ft,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,Zn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=He(this.options,e),this}}(e),Wn(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&Ve(e),"component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Jn),Object.defineProperty(Jn.prototype,"$isServer",{get:ie}),Object.defineProperty(Jn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Jn,"FunctionalRenderContext",{value:en}),Jn.version="2.6.11";function er(e,t,r){n.setElementAttr(e,t,r)}var tr=Object.freeze({namespaceMap:{},createElement:function(e){var r=t.createElement(e);return n.bindElementMethods(r),r},createElementNS:function(e,n){return t.createElement(e+":"+n)},createTextNode:function(e){return t.createTextNode(e)},createComment:function(e){return t.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){n.setElementAttr(e.parentNode,"value",t)},setAttribute:er}),nr={create:function(e,t){rr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(rr(e,!0),rr(t))},destroy:function(e){rr(e,!0)}};function rr(e,t){var n=e.data.ref;if(a(n)){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?$(i[n],o):i[n]===o&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(o)<0&&i[n].push(o):i[n]=[o]:i[n]=o}}g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0);var or=g("text,number,password,search,email,tel,url"),ir=new be("",{},[]),ar=["create","activate","update","remove","destroy"];function sr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=a(n=e.data)&&a(n=n.attrs)&&n.type,o=a(n=t.data)&&a(n=n.attrs)&&n.type;return r===o||or(r)&&or(o)}(e,t)||s(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function cr(e,t,n){var r,o,i={};for(r=t;r<=n;++r)a(o=e[r].key)&&(i[o]=r);return i}var ur={create:lr,update:lr,destroy:function(e){lr(e,ir)}};function lr(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===ir,a=t===ir,s=fr(e.data.directives,e.context),c=fr(t.data.directives,t.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,vr(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(vr(o,"bind",t,e),o.def&&o.def.inserted&&u.push(o));if(u.length){var p=function(){for(var n=0;n<u.length;n++)vr(u[n],"inserted",t,e)};i?St(t,"insert",p):p()}l.length&&St(t,"postpatch",function(){for(var n=0;n<l.length;n++)vr(l[n],"componentUpdated",t,e)});if(!i)for(n in s)c[n]||vr(s[n],"unbind",e,e,a)}(e,t)}var pr=Object.create(null);function fr(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=pr),o[dr(r)]=r,r.def=Ue(t.$options,"directives",r.name,!0);return o}function dr(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function vr(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){Ze(r,n.context,"directive "+e.name+" "+t+" hook")}}var hr=[nr,ur];function mr(e,t){if(e.data.attrs||t.data.attrs){var n,r,o=t.elm,i=e.data.attrs||{},a=t.data.attrs||{};for(n in a.__ob__&&(a=t.data.attrs=P({},a)),a)r=a[n],i[n]!==r&&er(o,n,r);for(n in i)null==a[n]&&er(o,n,"")}}var yr={create:mr,update:mr};function gr(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode).data&&(t=_r(r.data,t));for(;a(n=n.parent);)n.data&&(t=_r(t,n.data));return function(e,t){if(a(e)||a(t))return br(e,$r(t));return""}(t.staticClass,t.class)}function _r(e,t){return{staticClass:br(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function br(e,t){return e?t?e+" "+t:e:t||""}function $r(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)a(t=$r(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var wr=g("template,script,style,element,content,slot,link,meta,svg,view,a,div,img,image,text,span,input,switch,textarea,spinner,select,slider,slider-neighbor,indicator,canvas,list,cell,header,loading,loading-indicator,refresh,scrollable,scroller,video,web,embed,tabbar,tabheader,datepicker,timepicker,marquee,countdown",!0),Ar=(g("web,spinner,switch,video,textarea,canvas,indicator,marquee,countdown",!0),g("richtext,trisition,trisition-group",!0)),kr=(g("embed,img,image,input,link,meta",!0),g("text,number,password,search,email,tel,url"));function xr(e,t){var n=t.elm,r=t.data,i=e.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=gr(t),c=n._transitionClasses;a(c)&&(s=br(s,$r(c))),s!==n._prevClass&&(er(n,"class",s),n._prevClass=s)}}var Or,Cr={create:xr,update:xr};function Sr(e,t,n,r){if(n){var o=t,i=Or;t=function(n){var a=1===arguments.length?o(n):o.apply(null,arguments);return jr(e,t,r,i),a}}Or.addEventListener(e,t,r)}function jr(e,t,n,r){(r||Or).removeEventListener(e,t,n)}function Er(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Or=t.elm,Ct(n,r,Sr,jr,t.context),Or=void 0}}var Ir={create:Er,update:Er},Pr=k(O);function Mr(e){for(var t,n=/([\w-]*)\s*:\s*([^;]*)/g,r={};t=n.exec(e);)r[t[1]]=t[2].trim();return r}function Tr(e,t){if(e.data.style||t.data.style){var r,o,i=t.elm,a=e.data.style||{},s=t.data.style||{};"string"==typeof s&&(s=Mr(s)),"string"==typeof a&&(a=Mr(a));var c=s.__ob__;for(o in Array.isArray(s)&&(s=t.data.style=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}(s)),c&&(s=t.data.style=P({},s)),a)s[o]||n.setElementStyle(i,Pr(o),"");for(o in s)r=s[o],n.setElementStyle(i,Pr(o),r)}}var Fr={create:function(e,t){if(t.data.staticStyle){var r=t.elm,o=t.data.staticStyle;for(var i in o)o[i]&&n.setElementStyle(r,Pr(i),o[i]);Tr(e,t)}else Tr(e,t)},update:Tr};function Dr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&P(t,Nr(e.name||"v")),P(t,e),t}return"string"==typeof e?Nr(e):void 0}}var Nr=k(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}});Q&&!ee&&(void 0===window.ontransitionend&&window.onwebkittransitionend,void 0===window.onanimationend&&window.onwebkitanimationend);Q&&(window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout);function Lr(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Dr(t.data.transition);if(r&&!n._enterCb){for(var o=r.enterClass,i=r.enterToClass,a=r.enterActiveClass,s=r.appearClass,c=r.appearToClass,u=r.appearActiveClass,l=r.beforeEnter,p=r.enter,f=r.afterEnter,d=r.enterCancelled,v=r.beforeAppear,h=r.appear,m=r.afterAppear,y=r.appearCancelled,g=gn,_=gn.$vnode;_&&_.parent;)g=(_=_.parent).context;var b=!g._isMounted||!t.isRootInsert;if(!b||h||""===h){var $=b?s:o,w=b?c:i,A=b?u:a,k=b&&v||l,x=b&&"function"==typeof h?h:p,O=b&&m||f,C=b&&y||d,S=x&&(x._length||x.length)>1,j=t.context.$options.style||{},E=j[$],I=j["@TRANSITION"]&&j["@TRANSITION"][A]||{},T=function(e,t,n,r,o,i){var a={},s=t[n],c=t[r],u=t[o];if(s)for(var l in s)a[l]=e.style[l],null!=a[l]||u&&null!=u[l]||c&&null!=c[l]||le('transition property "'+l+'" is declared in enter starting class (.'+n+"), but not declared anywhere in enter ending class (."+r+"), enter active cass (."+o+") or the element's default styling. Note in Quickapp, CSS properties need explicit values to be transitionable.");if(u)for(var p in u)0!==p.indexOf("transition")&&(a[p]=u[p]);c&&P(a,c);return a}(n,j,$,w,A,t.context),F=Object.keys(T).length>0,D=n._enterCb=L(function(){D.cancelled?C&&C(n):O&&O(n),n._enterCb=null});if(setTimeout(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];(r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),x&&x(n,D),F)?t.context.$requireQuickappModule("animation").transition(n.ref,{styles:T,duration:I.duration||0,delay:I.delay||0,timingFunction:I.timingFunction||"linear"},S?M:D):S||D()},16),k&&k(n),E)for(var N in E)n.setStyle(N,E[N]);F||S||D()}}}function qr(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,i=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in a(c.__ob__)&&(c=t.data.domProps=P({},c)),s)o(c[n])&&er(i,n,"");for(n in c){if(r=c[n],"value"===n)er(i,n,o(r)?"":String(r));else er(i,n,r)}}}var Rr=function(e){var t,n,r={},i=e.modules,u=e.nodeOps;for(t=0;t<ar.length;++t)for(r[ar[t]]=[],n=0;n<i.length;++n)a(i[n][ar[t]])&&r[ar[t]].push(i[n][ar[t]]);function l(e){var t=u.parentNode(e);a(t)&&u.removeChild(t,e)}function p(e,t){return!t&&!e.ns&&!(B.ignoredElements.length&&B.ignoredElements.some(function(t){return d(t)?t.test(e.tag):t===e.tag}))&&B.isUnknownElement(e.tag)}var f=0;function v(e,t,n,o,i,c,l){if(a(e.elm)&&a(c)&&(e=c[l]=ke(e)),e.isRootInsert=!i,!function(e,t,n,o){var i=e.data;if(a(i)){var c=a(e.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(e,!1),a(e.componentInstance))return h(e,t),m(n,e.elm,o),s(c)&&function(e,t,n,o){for(var i,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,a(i=s.data)&&a(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](ir,s);t.push(s);break}m(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var d=e.data,v=e.children,g=e.tag;a(g)?(d&&d.pre&&f++,p(e,f)&&le("Unknown custom element: <"+g+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?u.createElementNS(e.ns,g):u.createElement(g,e),$(e),y(e,v,t),a(d)&&b(e,t),m(n,e.elm,o),d&&d.pre&&f--):s(e.isComment)?(e.elm=u.createComment(e.text),m(n,e.elm,o)):(e.elm=u.createTextNode(e.text),m(n,e.elm,o))}}function h(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,_(e)?(b(e,t),$(e)):(rr(e),t.push(e))}function m(e,t,n){a(e)&&(a(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function y(e,t,n){if(Array.isArray(t)){O(t);for(var r=0;r<t.length;++r)v(t[r],n,e.elm,null,!0,t,r)}else c(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function _(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return a(e.tag)}function b(e,n){for(var o=0;o<r.create.length;++o)r.create[o](ir,e);a(t=e.data.hook)&&(a(t.create)&&t.create(ir,e),a(t.insert)&&n.push(e))}function $(e){var t;if(a(t=e.fnScopeId))u.setStyleScope(e.elm,t);else for(var n=e;n;)a(t=n.context)&&a(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent;a(t=gn)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function w(e,t,n,r,o,i){for(;r<=o;++r)v(n[r],i,e,t,!1,n,r)}function A(e){var t,n,o=e.data;if(a(o))for(a(t=o.hook)&&a(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)A(e.children[n])}function k(e,t,n){for(;t<=n;++t){var r=e[t];a(r)&&(a(r.tag)?(x(r),A(r)):l(r.elm))}}function x(e,t){if(a(t)||a(e.data)){var n,o=r.remove.length+1;for(a(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,o),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&x(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else l(e.elm)}function O(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r.key;a(o)&&(t[o]?le("Duplicate keys detected: '"+o+"'. This may cause an update error.",r.context):t[o]=!0)}}function C(e,t,n,r){for(var o=n;o<r;o++){var i=t[o];if(a(i)&&sr(e,i))return o}}function S(e,t,n,i,c,l){if(e!==t){a(t.elm)&&a(i)&&(t=i[c]=ke(t));var p=t.elm=e.elm;if(s(e.isAsyncPlaceholder))a(t.asyncFactory.resolved)?P(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(s(t.isStatic)&&s(e.isStatic)&&t.key===e.key&&(s(t.isCloned)||s(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,d=t.data;a(d)&&a(f=d.hook)&&a(f=f.prepatch)&&f(e,t);var h=e.children,m=t.children;if(a(d)&&_(t)){for(f=0;f<r.update.length;++f)r.update[f](e,t);a(f=d.hook)&&a(f=f.update)&&f(e,t)}o(t.text)?a(h)&&a(m)?h!==m&&function(e,t,n,r,i){var s,c,l,p=0,f=0,d=t.length-1,h=t[0],m=t[d],y=n.length-1,g=n[0],_=n[y],b=!i;for(O(n);p<=d&&f<=y;)o(h)?h=t[++p]:o(m)?m=t[--d]:sr(h,g)?(S(h,g,r,n,f),h=t[++p],g=n[++f]):sr(m,_)?(S(m,_,r,n,y),m=t[--d],_=n[--y]):sr(h,_)?(S(h,_,r,n,y),b&&u.insertBefore(e,h.elm,u.nextSibling(m.elm)),h=t[++p],_=n[--y]):sr(m,g)?(S(m,g,r,n,f),b&&u.insertBefore(e,m.elm,h.elm),m=t[--d],g=n[++f]):(o(s)&&(s=cr(t,p,d)),o(c=a(g.key)?s[g.key]:C(g,t,p,d))?v(g,r,e,h.elm,!1,n,f):sr(l=t[c],g)?(S(l,g,r,n,f),t[c]=void 0,b&&u.insertBefore(e,l.elm,h.elm)):v(g,r,e,h.elm,!1,n,f),g=n[++f]);p>d?w(e,o(n[y+1])?null:n[y+1].elm,n,f,y,r):f>y&&k(t,p,d)}(p,h,m,n,l):a(m)?(O(m),a(e.text)&&u.setTextContent(p,""),w(p,null,m,0,m.length-1,n)):a(h)?k(h,0,h.length-1):a(e.text)&&u.setTextContent(p,""):e.text!==t.text&&u.setTextContent(p,t.text),a(d)&&a(f=d.hook)&&a(f=f.postpatch)&&f(e,t)}}}function j(e,t,n){if(s(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var E=!1,I=g("attrs,class,staticClass,staticStyle,key");function P(e,t,n,r){var o,i=t.tag,c=t.data,u=t.children;if(r=r||c&&c.pre,t.elm=e,s(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return a(t.tag)?0===t.tag.indexOf("vue-component")||!p(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,r))return!1;if(a(c)&&(a(o=c.hook)&&a(o=o.init)&&o(t,!0),a(o=t.componentInstance)))return h(t,n),!0;if(a(i)){if(a(u))if(e.hasChildNodes())if(a(o=c)&&a(o=o.domProps)&&a(o=o.innerHTML)){if(o!==e.innerHTML)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",o),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var l=!0,f=e.firstChild,d=0;d<u.length;d++){if(!f||!P(f,u[d],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,u)),!1}else y(t,u,n);if(a(c)){var v=!1;for(var m in c)if(!I(m)){v=!0,b(t,n);break}!v&&c.class&&At(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!o(t)){var c,l=!1,p=[];if(o(e))l=!0,v(t,p);else{var f=a(e.nodeType);if(!f&&sr(e,t))S(e,t,p,null,null,i);else{if(f){if(1===e.nodeType&&e.hasAttribute(q)&&(e.removeAttribute(q),n=!0),s(n)){if(P(e,t,p))return j(t,p,!0),e;le("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}c=e,e=new be(u.tagName(c).toLowerCase(),{},[],void 0,c)}var d=e.elm,h=u.parentNode(d);if(v(t,p,d._leaveCb?null:h,u.nextSibling(d)),a(t.parent))for(var m=t.parent,y=_(t);m;){for(var g=0;g<r.destroy.length;++g)r.destroy[g](m);if(m.elm=t.elm,y){for(var b=0;b<r.create.length;++b)r.create[b](ir,m);var $=m.data.hook.insert;if($.merged)for(var w=1;w<$.fns.length;w++)$.fns[w]()}else rr(m);m=m.parent}a(h)?k([e],0,0):a(e.tag)&&A(e)}}return j(t,p,l),t.elm}a(e)&&A(e)}}({nodeOps:tr,modules:[yr,Cr,Ir,Fr,{create:qr,update:qr},{create:Lr,activate:Lr,remove:function(e,t){var n=e.elm;n._enterCb&&(n._enterCb.cancelled=!0,n._enterCb());var r=Dr(e.data.transition);if(!r)return t();if(n._leaveCb)return;var o=r.leaveClass,i=r.leaveToClass,a=r.leaveActiveClass,s=r.beforeLeave,c=r.leave,u=r.afterLeave,l=r.leaveCancelled,p=r.delayLeave,f=c&&(c._length||c.length)>1,d=e.context.$options.style||{},v=d[o],h=d[i]||d[a],m=d["@TRANSITION"]&&d["@TRANSITION"][a]||{},y=n._leaveCb=L(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y.cancelled?l&&l(n):(t(),u&&u(n)),n._leaveCb=null});p?p(g):g();function g(){var t=e.context.$requireQuickappModule("animation");function r(){t.transition(n.ref,{styles:h,duration:m.duration||0,delay:m.delay||0,timingFunction:m.timingFunction||"linear"},f?M:y)}y.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),s&&s(n),v?t.transition(n.ref,{styles:v},r):r(),c&&c(n,y),h||f||y())}}}].concat(hr),LONG_LIST_THRESHOLD:10}),Vr={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?St(n,"postpatch",function(){Vr.componentUpdated(e,t,n)}):Br(e,t,n.context),e._vOptions=[].map.call(e.options,Ur)):("textarea"===n.tag||kr(e.attr.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||e.addEventListener("change",zr))},componentUpdated:function(e,t,n){if("select"===n.tag){Br(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,Ur);if(o.some(function(e,t){return!D(e,r[t])}))(e.multiple?t.value.some(function(e){return Hr(e,o)}):t.value!==t.oldValue&&Hr(t.value,o))&&Jr(e,"change")}}};function Br(e,t,n){!function(e,t,n){var r,o,i=t.value,a=e.multiple;if(a&&!Array.isArray(i))return void le('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(i).slice(8,-1),n);for(var s=0,c=e.options.length;s<c;s++)if(o=e.options[s],a)r=N(i,Ur(o))>-1,o.selected!==r&&(o.selected=r);else if(D(Ur(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));a||(e.selectedIndex=-1)}(e,t,n)}function Hr(e,t){return t.every(function(t){return!D(t,e)})}function Ur(e){return"_value"in e?e._value:e.value}function zr(e){e.target.composing=!1,Jr(e.target,"input")}function Jr(e,n){var r=t.createEvent(n);e.dispatchEvent(r)}var Wr={model:Vr,show:{bind:function(e,t,r){var o=t.value,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display||"";n.setElementStyle(e,"display",o?i:"none")},update:function(e,t,r){var o=t.value;o!==t.oldValue&&n.setElementStyle(e,"display",o?e.__vOriginalDisplay:"none")},unbind:function(e,t,r,o,i){i||n.setElementStyle(e,"display",e.__vOriginalDisplay)}}};P(Jn.options.directives,Wr),P(Jn.options.components,{});var Kr=["public","protected","private"];Jn.config.mustUseProp=function(){},Jn.config.isReservedTag=wr,Jn.config.isRuntimeComponent=Ar,Jn.config.isUnknownElement=function(){},Jn.prototype.__patch__=Rr,Jn.prototype.$mount=function(e,t){var n=this.$options.type;void 0===n&&(n="component");var r=function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=we,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?le("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):le("Failed to mount component: template or render function not defined.",e)),wn(e,"beforeMount"),r=B.performance&&bt?function(){var t=e._name,r=e._uid,o="vue-perf-start:"+r,i="vue-perf-end:"+r;bt(o);var a=e._render();bt(i),$t("vue "+t+" render",o,i),bt(o),e._update(a,n),bt(i),$t("vue "+t+" patch",o,i)}:function(){e._update(e._render(),n)},new Fn(e,r,M,{before:function(){e._isMounted&&!e._isDestroyed&&wn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(wn(e,"onServiceCreated"),wn(e,"onServiceAttached"),e._isMounted=!0,wn(e,"mounted")),e}(this,e&&function(e,t){if("object"==typeof e&&null!==e)return e;var n=t.body,r=t.createElement("div");return n.appendChild(r),r}.bind(this)(e,this.$document),t);return"page"===n&&(this._connectVm2Page&&this._connectVm2Page(),this._registerPageLifecycle&&this._registerPageLifecycle()),r},Jn.prototype._initExternalData=function(){var e=Jn.config.externalData;if("page"===this.$options.type&&e)if(this.$options._descriptor){var t=this._page.intent&&this._page.intent.fromExternal;for(var n in this._page.intent&&void 0!==this._page.intent.fromExternal||(t=!0),global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 页面VM中声明的权限定义："+JSON.stringify(this.$options._descriptor)),this.$options.$props&&!function(e){for(var t in e)return!1;return!0}(e)&&console.warn("### App Framework ### 页面VM中不支持props，推荐在public或protected中声明参数"),e){var r=this.$options._descriptor[n];if(r){var o=t&&Kr.indexOf(r.access)>0,i=!t&&Kr.indexOf(r.access)>1;o||i?console.warn("### App Framework ### 传递外部数据"+n+"在VM中声明为"+r.access+"，放弃更新"):(global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 传递外部数据"+n+"，原值为:"+JSON.stringify(this._data[n])),global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 传递外部数据"+n+"，新值为:"+JSON.stringify(e[n])),this.$options.data[n]=e[n])}else global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 传递外部数据"+n+"在VM中未声明，放弃更新")}}else(function e(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[t].concat(n));else{var o=n.shift();for(var i in o)t[i]=o[i];n.length&&e.apply(void 0,[t].concat(n))}return t})(this.$options.data,e)},Jn.prototype._mergeAccess2Data=function(e){if("function"==typeof e.data&&(e.data=e.data()),e.data&&Kr.some(function(t){return e[t]}))throw new Error("页面VM对象中的属性data不可与"+Kr.join(",")+"同时存在，请使用private替换data名称");e.data||(e.data={},e._descriptor={},Kr.forEach(function(t){var n=typeof e[t];if("object"===n)for(var r in e.data=Object.assign(e.data,e[t]),e[t])e._descriptor[r]={access:t};else"function"===n&&console.warn("页面VM对象中的属性"+t+"的值不能是函数，请使用对象")}))};var Qr=Jn.prototype._init;Jn.prototype._init=function(e){var t=this.constructor.options;"page"===t.type&&(this._connectLifecycle&&this._connectLifecycle(t),this._mergeAccess2Data&&this._mergeAccess2Data(t)),Qr.call(this,e)},Jn.prototype._connectLifecycle=function(e){var t=this;e.mounted=e.mounted||[],e.mounted=Array.isArray(e.mounted)?e.mounted:[e.mounted],e.mounted.push(function(){t._ready=!0});e.created=e.created||[],e.created=Array.isArray(e.created)?e.created:[e.created],e.created.push(function(){t._initExternalData()}),e.created.unshift(function(){var e=t.$options.onInit;e&&"function"==typeof e&&e.call(t,t._page._meta.query)})},e.Vue=Jn}}(a={exports:{}},a.exports),a.exports),u=(s=c)&&s.__esModule?s.default:s,l={VueFactory:u};function p(e,t,n){return"function"==typeof global.compileAndRunScript?function(e,t,n){let r="(function (";const o=[],i=[];for(const t in e)o.push(t),i.push(e[t]);for(let e=0;e<o.length-1;++e)r+=o[e],r+=",";r+=o[o.length-1],r+=") {",r+=t,r+="} )";const a=global.compileAndRunScript(r,n);return a&&"function"==typeof a?a(...i):a}(e,t,n):function(e,t){const n=[],r=[];for(const t in e)n.push(t),r.push(e[t]);return n.push(t),new Function(...n)(...r)}(e,t)}let f,d;const v={onShow:"onShow",onHide:"onHide",onBackPress:"onBackPress",onMenuPress:"onMenuPress",onDestroy:"onDestroy",onConfigurationChanged:"onConfigurationChanged",onOrientationChange:"onOrientationChange",onRefresh:"onRefresh"},h={};let m=null;let y,g=null;function _(e,t,n,r,o){const i=function(e,t){return l.quickapp.runtime.helper.getDocumentNodeByRef(e,t)}(e.doc,t);if(i){return function(e,t,n,r){if(!e)return;const o=l.quickapp.runtime.helper.createEvent(t);if(Object.assign(o,n),global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### fireEventWrap():事件(${t})的参数：${JSON.stringify(n)}, ${JSON.stringify(r)}`),r){const t=r.attr||{};for(const n in t)l.quickapp.runtime.helper.setElementAttr(e,n,t[n],!0);const n=r.style||{};for(const t in n)l.quickapp.runtime.helper.setElementStyle(e,t,n[t],!0)}return e.dispatchEvent(o)}(i,n,r,{attr:o})}return new Error(`fireEvent: 无效element索引 "${t}"`)}function b(e){g||(g=Promise.resolve().then(()=>{e.doc.listener.updateFinish(),g=null}))}function $(e,t,n,r){const i=e.id,a=e.doc.listener,s=a.addActions;a.addActions=((...t)=>{b(e),s.apply(a,t)});const c=e.doc,f=c.createElement("div");c.documentElement.appendChild(f);const d=h[i]={instanceId:i,document:c},g=d.Vue=function(e,t,n){const r=t.page,o=t.appRequireModule,i={setElementAttr(e,t,n){l.quickapp.runtime.helper.setElementAttr(e,t,n)},setElementStyle(e,t,n){"number"==typeof n&&(n+=""),l.quickapp.runtime.helper.setElementStyle(e,t,n)},bindElementMethods(e){l.quickapp.dock.bindComponentMethods(r,e)}},a={};u(a,r.doc,i);const s=a.Vue;global.Vue=!0;const c=h[e],p=/^quickapp:/i,f=s.config.isReservedTag||function(){return!1},d=s.config.isRuntimeComponent||function(){return!1};return s.config.externalData=n,s.config.isReservedTag=function(e){return d(e),f(e)||p.test(e)},s.config.parsePlatformTagName=function(e){return e.replace(p,"")},s.prototype.$instanceId=e,s.prototype.$document=c.document,s.prototype._connectVm2Page=function(){r.vm=this},Object.defineProperty(s.prototype,"$app",{get(){if(!this._isDestroyed)return r.app}}),Object.defineProperty(s.prototype,"$page",{get(){if(this._isDestroyed)return;const e=r.app;return Object.assign({setTitleBar:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 setTitleBar ----`),l.quickapp.runtime.helper.updatePageTitleBar(r.doc,e))},scrollTo:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 scrollTo ----`),l.quickapp.runtime.helper.scrollTo(r.doc,e))},scrollBy:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 scrollBy ----`),l.quickapp.runtime.helper.scrollBy(r.doc,e))},exitFullscreen:function(){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 exitFullscreen ----`),l.quickapp.runtime.helper.exitFullscreen(r.doc))},setStatusBar:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 setStatusBar ----`),l.quickapp.runtime.helper.updatePageStatusBar(r.doc,e))},finish:function(){r&&r.doc&&(null===m&&(m=l.quickapp.platform.requireModule(e,"system.page")),m.finishPage(r.id))}},r&&r._meta)}}),Object.defineProperties(s.prototype,{$valid:{get:()=>!!r&&r._valid,configurable:!1},$visible:{get:()=>!!r&&r._valid&&r._visible,configurable:!1},$destroyed:{get:()=>!!r&&r.vm&&r.vm._isDestroyed,configurable:!1}}),s.prototype._registerPageLifecycle=function(){Object.keys(v).forEach(e=>{this.$on(`xlc:${e}`,(...t)=>{let n=!1;const r=this.$options[e];if(!r||"function"!=typeof r)return;const o=Array.isArray(r)?r:[r];if(o&&o.length)for(let e=0;e<o.length;e++)try{o[e].apply(this,t)&&(n=!0)}catch(e){console.error(e)}this._events[`xlc:${e}`].result=n,this._events[`xlc:${e}`].handlers=o})})},s.prototype.$requireQuickappModule=o,s.mixin({beforeCreate:function(){const e=this.$options;if(e.el){const t=e.data,n=("function"==typeof t?t():t)||{};e.data=Object.assign(n,c.data),c.app=this}this._page=r}}),s.prototype.$getConfig=function(){if(c.app instanceof s)return c.config},s}(i,{page:e},n),_=Object.assign({Vue:g,$app_define$:()=>{},$app_bootstrap$:()=>{},$app_define_wrap$:()=>{},$app_require$:t=>l.quickapp.platform.requireModule(e,o(t)),$app_evaluate$:l.quickapp.dock.makeEvaluateBuildScript(r)},r);let $;"function"==typeof y&&y(_),$="(function(global){"+($=t.toString())+"\n })(Object.create(this))";{const t=e.pageName?`${e.pageName}/${e.pageComponent}.js`:"<anonymous>";global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### bundleUrl----",t),p(_,$,t)}return e.doc.listener.createFinish(),d}function w(e,t,n,...r){let o=!1;return t.vm&&t.vm._ready?(t.vm.$emit(`xlc:${e}`,n,...r),o=t.vm._events[`xlc:${e}`].result,b(t),global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### ${e} (${t.id})----`)):global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### ${e} 页面(${t.id})创建失败, 无法响应事件---- `),o}return{init:function(t){l.quickapp=t,global.process=global.process||{},global.process.env={},t.subscribe(e.initApp,e=>(function(e,t){global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### 开始初始化App(${e.id})`);const n=t=>l.quickapp.platform.requireModule(e,o(t)),r=t=>{e.$def=t,"function"==typeof d&&d(t)},i=()=>{global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### 调用App(${e.name})生命周期---- onCreate`),e.$emit("applc:onCreate")};"function"==typeof f&&f({context:l,inst:e,instRequireModule:n});const a=l.quickapp.dock.makeEvaluateBuildScript(null);let s;s=`(function(global){"use strict"; ${s=t.toString()}; \n })(Object.create(this))`,global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 开始编译代码----"),p({$app_define$:r,$app_require$:n,$app_bootstrap$:i,$app_evaluate$:a},s,"app.js")})(...e)),t.subscribe(e.initPage,e=>$(...e)),t.subscribe(e.destroyPage,e=>{!function(e){e.vm&&(e.vm.$emit("xlc:onDestroy"),e.vm.$destroy())}(...e)}),t.subscribe(e.fireEvent,e=>{const t=_(...e);return b(e[0]),t}),t.subscribe(e.callbackDone,e=>{b(e[0])}),t.subscribe(e.onShow,e=>w(v.onShow,...e)),t.subscribe(e.onHide,e=>w(v.onHide,...e)),t.subscribe(e.onBackPress,e=>w(v.onBackPress,...e)),t.subscribe(e.onMenuPress,e=>(w(v.onMenuPress,...e),function(e){let t=!1;if(e.vm&&e.vm._ready){const n=e.vm._events,r=n&&n["xlc:onMenuPress"]&&n["xlc:onMenuPress"].handlers;r&&r.length&&(t=!0)}return t}(...e))),t.subscribe(e.onConfigurationChanged,e=>w(v.onConfigurationChanged,...e)),t.subscribe(e.onOrientationChange,e=>w(v.onOrientationChange,...e)),t.subscribe(e.onRefresh,e=>w(v.onRefresh,...e))},onInitApp:function(e){f=e},onDefineApp:function(e){d=e},onInitPage:function(e){y=e}}}();
  !function(){"use strict";class e{constructor(){this._events=Object.create(null)}on(e,t){const n=this;if(Array.isArray(e))for(let s=0,r=e.length;s<r;s++)n.on(e[s],t);else(n._events[e]||(n._events[e]=[])).push(t);return n}emit(e,...t){const n=this,s=n._events[e];if(s){const e=s.slice(0);for(let s=0,r=e.length;s<r;s++)e[s].apply(n,t)}return n}}const t=Object.getPrototypeOf(global)||global;t.UniServiceJSBridge=new e,t.UniViewJSBridge=new e}();
  dsl.onInitApp((function({inst:e,context:t,instRequireModule:r}){t.quickapp.dock.makeEvaluateBuildScript||(t.quickapp.dock.makeEvaluateBuildScript=e=>e);const a=r;!function(){"use strict";var r=["base64ToArrayBuffer","arrayBufferToBase64","addInterceptor","removeInterceptor","interceptors","request","uploadFile","downloadFile","connectSocket","onSocketOpen","onSocketError","sendSocketMessage","onSocketMessage","closeSocket","onSocketClose","getUpdateManager","navigateTo","redirectTo","reLaunch","switchTab","navigateBack","setStorage","setStorageSync","getStorage","getStorageSync","getStorageInfo","getStorageInfoSync","removeStorage","removeStorageSync","clearStorage","clearStorageSync","getLocation","chooseLocation","openLocation","createMapContext","chooseImage","chooseFile","previewImage","getImageInfo","getVideoInfo","saveImageToPhotosAlbum","compressImage","compressVideo","getRecorderManager","getBackgroundAudioManager","createAudioContext","createInnerAudioContext","chooseVideo","saveVideoToPhotosAlbum","createVideoContext","createCameraContext","createLivePlayerContext","createLivePusherContext","getSystemInfo","getSystemInfoSync","canIUse","onMemoryWarning","getNetworkType","onNetworkStatusChange","offNetworkStatusChange","onAccelerometerChange","offAccelerometerChange","startAccelerometer","stopAccelerometer","onCompassChange","offCompassChange","startCompass","stopCompass","onGyroscopeChange","startGyroscope","stopGyroscope","makePhoneCall","scanCode","setClipboardData","getClipboardData","setScreenBrightness","getScreenBrightness","setKeepScreenOn","onUserCaptureScreen","vibrateLong","vibrateShort","addPhoneContact","openBluetoothAdapter","startBluetoothDevicesDiscovery","onBluetoothDeviceFound","stopBluetoothDevicesDiscovery","onBluetoothAdapterStateChange","getConnectedBluetoothDevices","getBluetoothDevices","getBluetoothAdapterState","closeBluetoothAdapter","writeBLECharacteristicValue","readBLECharacteristicValue","onBLEConnectionStateChange","onBLECharacteristicValueChange","notifyBLECharacteristicValueChange","getBLEDeviceServices","getBLEDeviceCharacteristics","createBLEConnection","closeBLEConnection","setBLEMTU","getBLEDeviceRSSI","onBeaconServiceChange","onBeaconUpdate","getBeacons","startBeaconDiscovery","stopBeaconDiscovery","checkIsSupportSoterAuthentication","checkIsSoterEnrolledInDevice","startSoterAuthentication","onThemeChange","onUIStyleChange","hideKeyboard","onKeyboardHeightChange","offKeyboardHeightChange","getSelectedTextRange","showToast","hideToast","showLoading","hideLoading","showModal","showActionSheet","setNavigationBarTitle","setNavigationBarColor","showNavigationBarLoading","hideNavigationBarLoading","setTabBarItem","setTabBarStyle","hideTabBar","showTabBar","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot","onTabBarMidButtonTap","setBackgroundColor","setBackgroundTextStyle","createAnimation","pageScrollTo","onWindowResize","offWindowResize","loadFontFace","startPullDownRefresh","stopPullDownRefresh","createSelectorQuery","createIntersectionObserver","createMediaQueryObserver","getMenuButtonBoundingClientRect","showTopWindow","showLeftWindow","showRightWindow","hideTopWindow","hideLeftWindow","hideRightWindow","getTopWindowStyle","getLeftWindowStyle","getRightWindowStyle","setTopWindowStyle","setLeftWindowStyle","setRightWindowStyle","$emit","$on","$once","$off","saveFile","getSavedFileList","getSavedFileInfo","removeSavedFile","getFileInfo","openDocument","getFileSystemManager","createOffscreenCanvas","createCanvasContext","canvasToTempFilePath","canvasPutImageData","canvasGetImageData","getProvider","login","checkSession","getUserInfo","getUserProfile","preLogin","closeAuthView","share","shareWithSystem","showShareMenu","hideShareMenu","requestPayment","subscribePush","unsubscribePush","onPush","offPush","requireNativePlugin","upx2px","restoreGlobal","getSubNVueById","getCurrentSubNVue","setPageMeta","onNativeEventReceive","sendNativeEvent","preloadPage","unPreloadPage","loadSubPackage","createRewardedVideoAd","createFullScreenVideoAd","createInterstitialAd","createInteractiveAd"];let o=!1;try{const e={};Object.defineProperty(e,"passive",{get(){o=!0}}),window.addEventListener("test-passive",null,e)}catch(e){}const n=Object.prototype.toString,i=Object.prototype.hasOwnProperty;function s(e){return"function"==typeof e}function c(e){return"[object Object]"===n.call(e)}function l(e,t){return i.call(e,t)}function u(e){return n.call(e).slice(8,-1)}const d=decodeURIComponent;function p(e){const t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(e=>{const r=e.replace(/\+/g," ").split("="),a=d(r.shift()),o=r.length>0?d(r.join("=")):null;void 0===t[a]?t[a]=o:Array.isArray(t[a])?t[a].push(o):t[a]=[t[a],o]}),t):t}function f(e){return function(){try{return e.apply(e,arguments)}catch(e){console.error(e)}}}function g(e){return function(){try{return e.apply(e,arguments)}catch(e){console.error(e)}}}const y=["invoke","success","fail","complete","returnValue"],h={},m={};function b(e,t){Object.keys(t).forEach(r=>{-1!==y.indexOf(r)&&s(t[r])&&(e[r]=function(e,t){const r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?function(e){const t=[];for(let r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r):r}(e[r],t[r]))})}function v(e,t){e&&t&&Object.keys(t).forEach(r=>{-1!==y.indexOf(r)&&s(t[r])&&function(e,t){const r=e.indexOf(t);-1!==r&&e.splice(r,1)}(e[r],t[r])})}function S(e){return function(t){return e(t)||t}}function _(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function k(e,t){let r=!1;for(let a=0;a<e.length;a++){const o=e[a];if(r)r=Promise.resolve(S(o));else{const e=o(t);if(_(e)&&(r=Promise.resolve(e)),!1===e)return{then(){}}}}return r||{then:e=>e(t)}}function T(e,t={}){return["success","fail","complete"].forEach(r=>{if(Array.isArray(e[r])){const a=t[r];t[r]=function(t){k(e[r],t).then(e=>s(a)&&a(e)||e)}}}),t}function C(e,t){const r=[];Array.isArray(h.returnValue)&&r.push(...h.returnValue);const a=m[e];return a&&Array.isArray(a.returnValue)&&r.push(...a.returnValue),r.forEach(e=>{t=e(t)||t}),t}function O(e,t,r,...a){const o=function(e){const t=Object.create(null);Object.keys(h).forEach(e=>{"returnValue"!==e&&(t[e]=h[e].slice())});const r=m[e];return r&&Object.keys(r).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(r[e]))}),t}(e);if(o&&Object.keys(o).length){if(Array.isArray(o.invoke)){return k(o.invoke,r).then(e=>t(T(o,e),...a))}return t(T(o,r),...a)}return t(r,...a)}const j={returnValue:e=>_(e)?new Promise((t,r)=>{e.then(e=>{e[0]?r(e[0]):t(e[1])})}):e},w=/^\$|Window$|WindowStyle$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,A=/^create|Manager$/,B=["createBLEConnection"],x=["request","downloadFile","uploadFile","connectSocket"],q=["createBLEConnection"],I=/^on|^off/;function E(e){return w.test(e)&&-1===q.indexOf(e)}function P(e){return I.test(e)&&"onPush"!==e}function N(e){return!(function(e){return A.test(e)&&-1===B.indexOf(e)}(e)||E(e)||P(e))}Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then(r=>t.resolve(e()).then(()=>r),r=>t.resolve(e()).then(()=>{throw r}))});const M=[{name:"base64",type:String,required:!0}],L=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}];var D=Object.freeze({__proto__:null,base64ToArrayBuffer:M,arrayBufferToBase64:L});const $=[{name:"schema",type:String,required:!0}];var z=Object.freeze({__proto__:null,canIUse:$});const R=[{name:"event",type:[String,Array],required:!0},{name:"callback",type:Function,required:!0}],U=R,F=[{name:"event",type:[String,Array]},{name:"callback",type:Function}],V=[{name:"event",type:String,required:!0}];var W=Object.freeze({__proto__:null,$on:R,$once:U,$off:F,$emit:V});const G=[{name:"method",type:[String,Object],required:!0}],H=G;var J=Object.freeze({__proto__:null,addInterceptor:G,removeInterceptor:H});const K=[{name:"upx",type:[Number,String],required:!0}];var Y=Object.freeze({__proto__:null,upx2px:K});function Q(e){return function(t,r){t&&(r[e]=Math.round(t))}}const X={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:Q("x")},y:{type:Number,required:!0,validator:Q("y")},width:{type:Number,required:!0,validator:Q("width")},height:{type:Number,required:!0,validator:Q("height")}},Z={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:Q("x")},y:{type:Number,required:!0,validator:Q("y")},width:{type:Number,required:!0,validator:Q("width")},height:{type:Number,validator:Q("height")}},ee={PNG:"png",JPG:"jpg",JPEG:"jpg"},te={x:{type:Number,default:0,validator:Q("x")},y:{type:Number,default:0,validator:Q("y")},width:{type:Number,validator:Q("width")},height:{type:Number,validator:Q("height")},destWidth:{type:Number,validator:Q("destWidth")},destHeight:{type:Number,validator:Q("destHeight")},canvasId:{type:String,required:!0},fileType:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.fileType=e in ee?ee[e]:ee.PNG}},quality:{type:Number,validator(e,t){t.quality=e>0&&e<1?e:1}}},re={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}};var ae=Object.freeze({__proto__:null,canvasGetImageData:X,canvasPutImageData:Z,canvasToTempFilePath:te,drawCanvas:re});const oe=[{name:"id",type:String,required:!0}],ne=oe,ie=oe,se=oe,ce=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}];var le=Object.freeze({__proto__:null,createAudioContext:ne,createVideoContext:ie,createMapContext:se,createCanvasContext:ce});const ue={phoneNumber:{type:String,required:!0,validator(e){if(!e)return"makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"}}};var de=Object.freeze({__proto__:null,makePhoneCall:ue});const pe={onlyFromCamera:{type:Boolean},scanType:{type:Array},autoDecodeCharSet:{type:Boolean}};var fe=Object.freeze({__proto__:null,scanCode:pe});const ge=/^(?:\d)+/,ye=/^(?:\w)+/;const he=Object.prototype.hasOwnProperty,me=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t){if(!t)return[e];let r=this._caches[e];return r||(r=function(e){const t=[];let r=0,a="";for(;r<e.length;){let o=e[r++];if("{"===o){a&&t.push({type:"text",value:a}),a="";let n="";for(o=e[r++];void 0!==o&&"}"!==o;)n+=o,o=e[r++];const i="}"===o,s=ge.test(n)?"list":i&&ye.test(n)?"named":"unknown";t.push({value:n,type:s})}else"%"===o?"{"!==e[r]&&(a+=o):a+=o}return a&&t.push({type:"text",value:a}),t}(e),this._caches[e]=r),function(e,t){const r=[];let a=0;const o=Array.isArray(t)?"list":(n=t,null!==n&&"object"==typeof n?"named":"unknown");var n;if("unknown"===o)return r;for(;a<e.length;){const n=e[a];switch(n.type){case"text":r.push(n.value);break;case"list":r.push(t[parseInt(n.value,10)]);break;case"named":"named"===o?r.push(t[n.value]):"production"!==process.env.NODE_ENV&&console.warn(`Type of token '${n.type}' and format of value '${o}' don't match!`);break;case"unknown":"production"!==process.env.NODE_ENV&&console.warn("Detect 'unknown' type of token!")}a++}return r}(r,t)}};function be(e,t){if(!e)return;if(t[e=e.trim().replace(/_/g,"-")])return e;if(0===(e=e.toLowerCase()).indexOf("zh"))return-1!==e.indexOf("-hans")?"zh-Hans":-1!==e.indexOf("-hant")?"zh-Hant":(r=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==r.indexOf(e))?"zh-Hant":"zh-Hans");var r;const a=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,["en","fr","es"]);return a||void 0}class ve{constructor({locale:e,fallbackLocale:t,messages:r,watcher:a,formater:o}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=o||me,this.messages=r,this.setLocale(e),a&&this.watchLocale(a)}setLocale(e){const t=this.locale;this.locale=be(e,this.messages)||this.fallbackLocale,this.message=this.messages[this.locale],this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}t(e,t,r){let a=this.message;return"string"==typeof t?(t=be(t,this.messages))&&(a=this.messages[t]):r=t,((e,t)=>he.call(e,t))(a,e)?this.formater.interpolate(a[e],r).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}const Se=function(e,t="en",r){const a=new ve({locale:r||t,fallbackLocale:t,messages:e});let o=(e,t)=>{if("function"!=typeof getApp)o=function(e,t){return a.t(e,t)};else{const e=getApp().$vm;e.$t&&e.$i18n?(!function(e,t){e.$i18n&&e.$i18n.vm.$watch("locale",e=>{t.setLocale(e)},{immediate:!0})}(e,a),o=function(t,r){const o=e.$i18n,n=o.silentTranslationWarn;o.silentTranslationWarn=!0;const i=e.$t(t,r);return o.silentTranslationWarn=n,i!==t?i:a.t(t,o.locale,r)}):(r||a.setLocale("undefined"!=typeof navigator?navigator.userLanguage||navigator.language:"undefined"!=typeof plus?plus.os.language:uni.getSystemInfoSync().language),o=function(e,t){return a.t(e,t)})}return o(e,t)};return{t:(e,t)=>o(e,t),getLocale:()=>a.getLocale(),setLocale:e=>a.setLocale(e),mixin:{beforeCreate(){const e=a.watchLocale(()=>{this.$forceUpdate()});this.$once("hook:beforeDestroy",(function(){e()}))},methods:{$$t:(e,t)=>o(e,t)}}}}({},"en").t,_e={beforeSuccess(){Se("uni.setClipboardData.success")&&uni.showToast({title:Se("uni.setClipboardData.success"),icon:"success",mask:!1,style:{width:void 0}})}};var ke=Object.freeze({__proto__:null,setClipboardData:_e});function Te(e,t){if(t){if(0===t.indexOf("/"))return t}else{if(0===(t=e).indexOf("/"))return t;const r=getCurrentPages();e=r.length?r[r.length-1].$page.route:""}if(0===t.indexOf("./"))return Te(e,t.substr(2));const r=t.split("/"),a=r.length;let o=0;for(;o<a&&".."===r[o];o++);r.splice(0,o),t=r.join("/");const n=e.length>0?e.split("/"):[];return n.splice(n.length-o-1,o+1),"/"+n.concat(r).join("/")}const Ce=/^([a-z-]+:)?\/\//i,Oe=/^data:.*,.*/;function je(e){const t=__uniConfig.router.base;return t?"/"!==t&&0===("/"+e).indexOf(t)?"/"+e:t+e:e}function we(e){if("./"===__uniConfig.router.base&&(e=e.replace(/^\.\/static\//,"/static/")),0===e.indexOf("/")){if(0!==e.indexOf("//"))return je(e.substr(1));e="https:"+e}if(Ce.test(e)||Oe.test(e)||0===e.indexOf("blob:"))return e;const t=getCurrentPages();return t.length?je(Te(t[t.length-1].$page.route,e).substr(1)):e}const Ae={tempFilePath:{type:String,required:!0,validator(e,t){t.tempFilePath=we(e)}}},Be=["md5","sha1"],xe={filePath:{type:String,required:!0,validator(e,t){t.filePath=we(e)}},digestAlgorithm:{type:String,validator(e,t){t.digestAlgorithm=Be.includes(e)?e:Be[0]},default:Be[0]}},qe={filePath:{type:String,required:!0,validator(e,t){t.filePath=we(e)}}},Ie={filePath:{type:String,required:!0,validator(e,t){t.filePath=we(e)}}};var Ee=Object.freeze({__proto__:null,saveFile:Ae,getFileInfo:xe,getSavedFileInfo:qe,removeSavedFile:Ie});const Pe={filePath:{type:String,required:!0},fileType:{type:String}};var Ne=Object.freeze({__proto__:null,openDocument:Pe});const Me={keyword:{type:String}};var Le=Object.freeze({__proto__:null,chooseLocation:Me});const De={WGS84:"WGS84",GCJ02:"GCJ02"},$e={type:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.type=Object.values(De).indexOf(e)<0?De.WGS84:e},default:De.WGS84},altitude:{type:Boolean,default:!1}};var ze=Object.freeze({__proto__:null,getLocation:$e});const Re={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18},default:18},name:{type:String},address:{type:String}};var Ue=Object.freeze({__proto__:null,openLocation:Re});const Fe=["all","image","video"],Ve=["album","camera"],We={count:{type:Number,required:!1,default:100,validator(e,t){e<=0&&(t.count=100)}},sourceType:{type:Array,required:!1,default:Ve,validator(e,t){e=e.filter(e=>Ve.includes(e)),t.sourceType=e.length?e:Ve}},type:{type:String,required:!1,default:"all",validator(e,t){Fe.includes(e)||(t.type=Fe[0]),t.type="all"===t.type?t.type="*":t.type}},extension:{type:Array,default:[""],validator(e,t){if(0===e.length)return"param extension should not be empty."}}};var Ge=Object.freeze({__proto__:null,chooseFile:We});const He=["original","compressed"],Je=["album","camera"],Ke={count:{type:Number,required:!1,default:9,validator(e,t){e<=0&&(t.count=9)}},sizeType:{type:[Array,String],required:!1,default:He,validator(e,t){e=(e="string"==typeof e?[e]:e).filter(e=>He.includes(e)),t.sizeType=e.length?e:He}},sourceType:{type:Array,required:!1,default:Je,validator(e,t){e=e.filter(e=>Je.includes(e)),t.sourceType=e.length?e:Je}},extension:{type:Array,default:["*"],validator(e,t){if(0===e.length)return"param extension should not be empty."}}};var Ye=Object.freeze({__proto__:null,chooseImage:Ke});const Qe=["album","camera"],Xe={sourceType:{type:Array,required:!1,default:Qe,validator(e,t){e=e.filter(e=>Qe.includes(e)),t.sourceType=e.length?e:Qe}},compressed:{type:Boolean,default:!0},maxDuration:{type:Number,default:60},camera:{type:String,default:"back"},extension:{type:Array,default:["*"],validator(e,t){if(0===e.length)return"param extension should not be empty."}}};var Ze=Object.freeze({__proto__:null,chooseVideo:Xe});const et={src:{type:String,required:!0,validator(e,t){t.src=we(e)}}};var tt=Object.freeze({__proto__:null,compressImage:et});const rt={src:{type:String,required:!0,validator(e,t){t.src=we(e)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}};var at=Object.freeze({__proto__:null,compressVideo:rt});const ot={src:{type:String,required:!0,validator(e,t){t.src=we(e)}}};var nt=Object.freeze({__proto__:null,getImageInfo:ot});const it={src:{type:String,required:!0,validator(e,t){t.src=we(e)}}};var st=Object.freeze({__proto__:null,getVideoInfo:it});const ct={urls:{type:Array,required:!0,validator(e,t){var r;if(t.urls=e.map(e=>{if("string"==typeof e)return we(e);r=!0}),r)return"url is not string"}},current:{type:[String,Number],validator(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:"string"==typeof e&&e&&(t.current=we(e))},default:0}};var lt=Object.freeze({__proto__:null,previewImage:ct});const ut={filePath:{type:String,required:!0,validator(e,t){t.filePath=we(e)}}};var dt=Object.freeze({__proto__:null,saveImageToPhotosAlbum:ut});const pt={url:{type:String,required:!0},header:{type:Object,validator(e,t){t.header=e||{}}}};var ft=Object.freeze({__proto__:null,downloadFile:pt});const gt={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},yt="json",ht={TEXT:"text",ARRAYBUFFER:"arraybuffer"},mt=encodeURIComponent;const bt={method:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.method=Object.values(gt).indexOf(e)<0?gt.GET:e}},data:{type:[Object,String,Array,ArrayBuffer],validator(e,t){t.data=e||""}},url:{type:String,required:!0,validator(e,t){t.method===gt.GET&&c(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let r=e.split("#");const a=r[1]||"";r=r[0].split("?");let o=r[1]||"";e=r[0];const n=o.split("&").filter(e=>e);o={},n.forEach(e=>{e=e.split("="),o[e[0]]=e[1]});for(const e in t)if(l(t,e)){let r=t[e];null==r?r="":c(r)&&(r=JSON.stringify(r)),o[mt(e)]=mt(r)}return o=Object.keys(o).map(e=>`${e}=${o[e]}`).join("&"),e+(o?"?"+o:"")+(a?"#"+a:"")}(e,t.data))}},header:{type:Object,validator(e,t){const r=t.header=e||{};t.method!==gt.GET&&(Object.keys(r).find(e=>"content-type"===e.toLowerCase())||(r["Content-Type"]="application/json"))}},dataType:{type:String,validator(e,t){t.dataType=(e||yt).toLowerCase()}},responseType:{type:String,validator(e,t){e=(e||"").toLowerCase(),t.responseType=Object.values(ht).indexOf(e)<0?ht.TEXT:e}},withCredentials:{type:Boolean},timeout:{type:Number}};var vt=Object.freeze({__proto__:null,request:bt});const St={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},_t={url:{type:String,required:!0},header:{type:Object,validator(e,t){t.header=e||{}}},method:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.method=Object.values(St).indexOf(e)<0?St.GET:e}},protocols:{type:[Array,String],validator(e,t){"string"==typeof e&&(e=[e]),t.protocols=(e||[]).filter(e=>"string"==typeof e)}}},kt={data:{type:[String,ArrayBuffer]}},Tt={code:{type:Number},reason:{type:String}};var Ct=Object.freeze({__proto__:null,connectSocket:_t,sendSocketMessage:kt,closeSocket:Tt});const Ot={url:{type:String,required:!0},files:{type:Array},filePath:{type:String,validator(e,t){e&&(t.filePath=we(e))}},name:{type:String},header:{type:Object,validator(e,t){t.header=e||{}}},formData:{type:Object,validator(e,t){t.formData=e||{}}}};var jt=Object.freeze({__proto__:null,uploadFile:Ot});const wt={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},At={service:{type:String,required:!0,validator(e,t){if((e=(e||"").toUpperCase())&&Object.values(wt).indexOf(e)<0)return"service error"}}};var Bt=Object.freeze({__proto__:null,getProvider:At});const xt={root:{type:String,required:!0,validator(e,t){const r=__uniConfig.subPackages;return Array.isArray(r)&&0!==r.length?r.find(t=>t.root===e)?void 0:"root `"+e+"` is not found":"no subPackages"}}};var qt=Object.freeze({__proto__:null,loadSubPackage:xt});const It={UNIVERIFY:"univerify"},Et={provider:{type:String,required:!0,default:It.UNIVERIFY,validator(e,t){if(Object.values(It).indexOf(e)<0)return"provider error"}}};var Pt=Object.freeze({__proto__:null,preLogin:Et});function Nt(e){return function(t,r){const a=(t=Te(t)).split("?")[0],o=__uniRoutes.find(({path:e,alias:t})=>e===a||t===a);if(!o)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!o.meta.isTabBar||"appLaunch"===r.openType||(t=a),o.meta.isEntry&&(t=t.replace(o.alias,"/")),r.url=function(e){if("string"!=typeof e)return e;const t=e.indexOf("?");if(-1===t)return e;const r=e.substr(t+1).trim().replace(/^(\?|#|&)/,"");if(!r)return e;e=e.substr(0,t);const a=[];return r.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),r=t.shift(),o=t.length>0?t.join("="):"";a.push(r+"="+encodeURIComponent(o))}),a.length?e+"?"+a.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Mt===t&&"appLaunch"!==r.openType)return Mt+" locked";__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(Mt=t)}else if(o.meta.isTabBar){const e=getCurrentPages(!0),t=(o.alias||o.path).substr(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}let Mt;function Lt(e,t={}){return Object.assign({url:{type:String,required:!0,validator:Nt(e)},beforeAll(){Mt=""}},t)}function Dt(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}const $t=Lt("redirectTo"),zt=Lt("reLaunch"),Rt=Lt("navigateTo",Dt(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),Ut=Lt("switchTab"),Ft=Object.assign({delta:{type:Number,validator(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},Dt(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),Vt={url:{type:String,required:!0,validator:Nt("preloadPage")}},Wt={url:{type:String,required:!0,validator:Nt("unPreloadPage")}};var Gt=Object.freeze({__proto__:null,redirectTo:$t,reLaunch:zt,navigateTo:Rt,switchTab:Ut,navigateBack:Ft,preloadPage:Vt,unPreloadPage:Wt});const Ht={key:{type:String,required:!0}},Jt=[{name:"key",type:String,required:!0}],Kt={key:{type:String,required:!0},data:{required:!0}},Yt=[{name:"key",type:String,required:!0},{name:"data",required:!0}],Qt=Ht,Xt=Jt;var Zt=Object.freeze({__proto__:null,getStorage:Ht,getStorageSync:Jt,setStorage:Kt,setStorageSync:Yt,removeStorage:Qt,removeStorageSync:Xt});const er={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}};var tr=Object.freeze({__proto__:null,loadFontFace:er});const rr=["#ffffff","#000000"],ar={frontColor:{type:String,required:!0,validator(e,t){if(-1===rr.indexOf(e))return`invalid frontColor "${e}"`}},backgroundColor:{type:String,required:!0},animation:{type:Object,default:()=>({duration:0,timingFunc:"linear"}),validator(e={},t){t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},or={title:{type:String,required:!0}};var nr=Object.freeze({__proto__:null,setNavigationBarColor:ar,setNavigationBarTitle:or});const ir={scrollTop:{type:Number,required:!0},duration:{type:Number,default:300,validator(e,t){t.duration=Math.max(0,e)}}};var sr=Object.freeze({__proto__:null,pageScrollTo:ir});const cr={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:()=>Se("uni.showModal.cancel")},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:()=>Se("uni.showModal.confirm")},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},lr={title:{type:String,default:""},icon:{default:"success",validator(e,t){-1===["success","loading","error","none"].indexOf(e)&&(t.icon="success")}},image:{type:String,default:"",validator(e,t){e&&(t.image=we(e))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},ur={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},dr={itemList:{type:Array,required:!0,validator(e,t){if(!e.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0},popover:{type:Object}};var pr=Object.freeze({__proto__:null,showModal:cr,showToast:lr,showLoading:ur,showActionSheet:dr});const fr={type:Number,required:!0},gr={index:fr,text:{type:String},iconPath:{type:String},selectedIconPath:{type:String},pagePath:{type:String}},yr={color:{type:String},selectedColor:{type:String},backgroundColor:{type:String},backgroundImage:{type:String,validator(e,t){e&&!/^(linear|radial)-gradient\(.+?\);?$/.test(e)&&(t.backgroundImage=we(e))}},backgroundRepeat:{type:String},borderStyle:{type:String,validator(e,t){e&&(t.borderStyle="black"===e?"black":"white")}}},hr={animation:{type:Boolean,default:!1}},mr={animation:{type:Boolean,default:!1}},br={index:fr},vr={index:fr},Sr={index:fr},_r={index:fr,text:{type:String,required:!0,validator(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}}};var kr=Object.freeze({__proto__:null,setTabBarItem:gr,setTabBarStyle:yr,hideTabBar:hr,showTabBar:mr,hideTabBarRedDot:br,showTabBarRedDot:vr,removeTabBarBadge:Sr,setTabBarBadge:_r});const Tr=Object.create(null),Cr=(Or={"./base/base64.js":D,"./base/can-i-use.js":z,"./base/event-bus.js":W,"./base/interceptor.js":J,"./base/upx2px.js":Y,"./context/canvas.js":ae,"./context/context.js":le,"./device/make-phone-call.js":de,"./device/scan-code.js":fe,"./device/set-clipboard-data.js":ke,"./file/file.js":Ee,"./file/open-document.js":Ne,"./location/choose-location.js":Le,"./location/get-location.js":ze,"./location/open-location.js":Ue,"./media/choose-file.js":Ge,"./media/choose-image.js":Ye,"./media/choose-video.js":Ze,"./media/compress-image.js":tt,"./media/compress-video.js":at,"./media/get-image-info.js":nt,"./media/get-video-info.js":st,"./media/preview-image.js":lt,"./media/save-image-to-photos-album.js":dt,"./network/download-file.js":ft,"./network/request.js":vt,"./network/socket.js":Ct,"./network/upload-file.js":jt,"./plugin/get-provider.js":Bt,"./plugin/load-sub-package.js":qt,"./plugin/pre-login.js":Pt,"./route/route.js":Gt,"./storage/storage.js":Zt,"./ui/load-font-face.js":tr,"./ui/navigation-bar.js":nr,"./ui/page-scroll-to.js":sr,"./ui/popup.js":pr,"./ui/tab-bar.js":kr},(jr=function(e){return Or[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}).keys=function(){return Object.keys(Or)},jr);var Or,jr;function wr(e,t,r){const a=t[e],o=!l(r,e);let n=r[e];if(function(e,t){if(!Array.isArray(t))return qr(t,e)?0:-1;for(let r=0,a=t.length;r<a;r++)if(qr(t[r],e))return r;return-1}(Boolean,a.type)>-1&&o&&!l(a,"default")&&(n=!1),void 0===n&&l(a,"default")){const t=a.default;n=s(t)?t():t,r[e]=n}return function(e,t,r,a,o){if(e.required&&a)return`Missing required parameter \`${t}\``;if(null==r&&!e.required){const t=e.validator;return t?t(r,o):void 0}let n=e.type,i=!n||!0===n;const s=[];if(n){Array.isArray(n)||(n=[n]);for(let e=0;e<n.length&&!i;e++){const t=Br(r,n[e]);s.push(t.expectedType||""),i=t.valid}}if(!i)return function(e,t,r){let a=`parameter \`${e}\`. Expected `+r.join(", ");const o=r[0],n=u(t),i=Ir(t,o),s=Ir(t,n);1===r.length&&Pr(o)&&!function(...e){return e.some(e=>"boolean"===e.toLowerCase())}(o,n)&&(a+=" with value "+i);a+=`, got ${n} `,Pr(n)&&(a+=`with value ${s}.`);return a}(t,r,s);const c=e.validator;if(c)return c(r,o)}(a,e,n,o,r)}Cr.keys().forEach((function(e){Object.assign(Tr,Cr(e))}));const Ar=/^(String|Number|Boolean|Function|Symbol)$/;function Br(e,t){let r;const a=xr(t);if(Ar.test(a)){const o=typeof e;r=o===a.toLowerCase(),r||"object"!==o||(r=e instanceof t)}else r=e.byteLength>=0||("Object"===a?c(e):"Array"===a?Array.isArray(e):e instanceof t||u(e)===xr(t));return{valid:r,expectedType:a}}function xr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function qr(e,t){return xr(e)===xr(t)}function Ir(e,t){return"String"===t?`"${e}"`:"Number"===t?""+Number(e):""+e}const Er=["string","number","boolean"];function Pr(e){return Er.some(t=>e.toLowerCase()===t)}function Nr(e,t,r){const a=`${t}:fail ${e}`;if("production"!==process.env.NODE_ENV&&console.error(a),-1===r)throw new Error(a);return"number"==typeof r&&Vr(r,{errMsg:a}),!1}const Mr=[{name:"callback",type:Function,required:!0}],Lr=["beforeValidate","beforeAll","beforeSuccess"];function Dr(e,t,r){let a=Tr[e];if(!a&&P(e)&&(a=Mr),a){if(Array.isArray(a)&&Array.isArray(t)){const e=Object.create(null),r=Object.create(null),o=t.length;a.forEach((a,n)=>{e[a.name]=a,o>n&&(r[a.name]=t[n])}),a=e,t=r}if(s(a.beforeValidate)){const o=a.beforeValidate(t);if(o)return Nr(o,e,r)}const o=Object.keys(a);for(let n=0;n<o.length;n++){if(-1!==Lr.indexOf(o[n]))continue;const i=wr(o[n],a,t);if(i)return Nr(i,e,r)}}return!0}let $r=1;const zr={};function Rr(e,t){const r=$r++,a="api."+e+"."+r;return zr[r]={name:a,keepAlive:!0,callback:t},r}function Ur(e,t){for(const r in zr){const a=zr[r];if(a.name.startsWith("api."+e.replace(/^off/,"on"))&&a.callback===t)return delete zr[r],Number(r)}return"fail"}function Fr(e,t={},r={}){const{params:a,callbackId:o}=function(e,t={},r={}){if(!c(t))return{params:t};t=Object.assign({},t);const a={};for(const e in t){const r=t[e];s(r)&&(a[e]=g(r),delete t[e])}const{success:o,fail:n,cancel:i,complete:l}=a,u=s(o),d=s(n),p=s(i),y=s(l);if(!(u||d||p||y))return{params:t};const h={};for(const e in r){const t=r[e];s(t)&&(h[e]=f(t))}const{beforeSuccess:m,afterSuccess:b,beforeFail:v,afterFail:S,beforeCancel:_,afterCancel:k,beforeAll:T,afterAll:C}=h,O=$r++,j="api."+e+"."+O;return zr[O]={name:j,callback:function(t){if(t.errMsg=t.errMsg||e+":ok",-1!==t.errMsg.indexOf(":ok"))t.errMsg=e+":ok";else if(-1!==t.errMsg.indexOf(":cancel"))t.errMsg=e+":cancel";else if(-1!==t.errMsg.indexOf(":fail")){let r="";const a=t.errMsg.indexOf(" ");a>-1&&(r=t.errMsg.substr(a)),t.errMsg=e+":fail"+r}s(T)&&T(t);const r=t.errMsg;0===r.indexOf(e+":ok")?(s(m)&&m(t),u&&o(t),s(b)&&b(t)):0===r.indexOf(e+":cancel")?(t.errMsg=t.errMsg.replace(e+":cancel",e+":fail cancel"),d&&n(t),s(_)&&_(t),p&&i(t),s(k)&&k(t)):0===r.indexOf(e+":fail")&&(s(v)&&v(t),d&&n(t),s(S)&&S(t)),y&&l(t),s(C)&&C(t)}},{params:t,callbackId:O}}(e,t,r);return c(a)&&!Dr(e,a,o)?{params:a,callbackId:!1}:{params:a,callbackId:o}}function Vr(e,t,r){if("number"==typeof e){const a=zr[e];if(a)return a.keepAlive||delete zr[e],a.callback(t,r)}return t}function Wr(e,t,r={}){return s(t)?(function(e,t){const r=Tr[e];r&&(s(r.beforeAll)&&(t.beforeAll=r.beforeAll),s(r.beforeSuccess)&&(t.beforeSuccess=r.beforeSuccess))}(e,r),function(...a){if(E(e)){if(Dr(e,a,-1))return t.apply(null,a)}else if(P(e)){if(Dr(e,a,-1))return t((e.startsWith("off")?Ur:Rr)(e,a[0]))}else{let o={};a.length&&(o=a[0]);const{params:n,callbackId:i}=Fr(e,o,r);if(!1!==i){let r;return r=s(n)?t(i):t(n,i),r&&!function(e){return-1!==x.indexOf(e)}(e)&&(r=Vr(i,r),c(r)&&(r.errMsg=r.errMsg||e+":ok")),r}}}):t}var Gr,Hr=(function(e,t){!function(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(256),a=0;a<e.length;a++)r[e.charCodeAt(a)]=a;t.encode=function(t){var r,a=new Uint8Array(t),o=a.length,n="";for(r=0;r<o;r+=3)n+=e[a[r]>>2],n+=e[(3&a[r])<<4|a[r+1]>>4],n+=e[(15&a[r+1])<<2|a[r+2]>>6],n+=e[63&a[r+2]];return o%3==2?n=n.substring(0,n.length-1)+"=":o%3==1&&(n=n.substring(0,n.length-2)+"=="),n},t.decode=function(e){var t,a,o,n,i,s=.75*e.length,c=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(t=0;t<c;t+=4)a=r[e.charCodeAt(t)],o=r[e.charCodeAt(t+1)],n=r[e.charCodeAt(t+2)],i=r[e.charCodeAt(t+3)],d[l++]=a<<2|o>>4,d[l++]=(15&o)<<4|n>>2,d[l++]=(3&n)<<6|63&i;return u}}()}(Gr={exports:{}},Gr.exports),Gr.exports),Jr=Hr.encode,Kr=Hr.decode;var Yr={};const Qr={promiseInterceptor:j};let Xr=!1,Zr=0,ea=0;function ta(e,t){return e=Number(e),isNaN(e)?t:e}function ra(e,t,r,a){UniServiceJSBridge.publishHandler(t+"-audio-"+e,{audioId:e,type:r,data:a},t)}class aa{constructor(e,t){this.id=e,this.pageId=t}setSrc(e){ra(this.id,this.pageId,"setSrc",{src:e})}play(){ra(this.id,this.pageId,"play")}pause(){ra(this.id,this.pageId,"pause")}seek(e){ra(this.id,this.pageId,"seek",{position:e})}}var oa=a("@app-module/system.router");function na(e){return e.substr(0,e.lastIndexOf("/"))}var ia=a("@app-module/system.router");var sa=a("@app-module/system.router");function ca(...e){return global.UniServiceJSBridge.invokeCallbackHandler(...e)}var la=a("@app-module/system.clipboard");var ua=a("@app-module/system.fetch");let da=0;const pa={},fa=e=>{!function(e,...t){global.UniServiceJSBridge.emit("api."+e,...t)}("onRequestTaskStateChange",e),delete pa[da]};function ga(e,{url:t,data:r,header:a,method:o="GET",responseType:n,sslVerify:i=!0}={}){let s,c;s=setTimeout(()=>{c=!0,fa({requestTaskId:e,state:"fail",statusCode:0,errMsg:"timeout"})},60100);const l={method:o,url:t.trim(),header:a,type:n,timeout:6e4};"GET"!==o&&(l.data=r);try{ua.fetch({...l,success:({code:t,data:r,headers:a})=>{if(console.log(r),c)return;s&&clearTimeout(s);fa(t>0?{requestTaskId:e,state:"success",data:r,statusCode:t,header:a}:{requestTaskId:e,state:"fail",statusCode:t,errMsg:"abort statusCode:"+t})},fail:(t,r)=>{fa({requestTaskId:e,state:"fail",statusCode:r,errMsg:"abort statusCode:"+r})}}),pa[e]={abort(){c=!0,s&&clearTimeout(s),fa({requestTaskId:e,state:"fail",statusCode:0,errMsg:"abort"})}}}catch(t){return{requestTaskId:e,errMsg:"createRequestTask:fail"}}return{requestTaskId:e,errMsg:"createRequestTask:ok"}}var ya=a("@app-module/system.storage");function ha(e){const t=["object","string","number","boolean","undefined"];try{const r="string"==typeof e?JSON.parse(e):e,a=r.type;if(t.indexOf(a)>=0){const e=Object.keys(r);if(2===e.length&&"data"in r&&typeof r.data===a)return r.data;if(1===e.length)return""}}catch(e){}}var ma=a("@app-module/system.prompt");var ba=Object.freeze({__proto__:null,navigateBack:function({delta:e}){return oa.back(),{errMsg:"navigateBack:ok"}},navigateTo:function({url:e}){const t=e.split("?"),r=t[0],a=p(t[1]||"");return ia.push({uri:na(r),params:a}),{errMsg:"navigateTo:ok"}},redirectTo:function({url:e}){const t=e.split("?"),r=t[0],a=p(t[1]||"");return sa.replace({uri:na(r),params:a}),{errMsg:"redirectTo:ok"}},getClipboardData:function(e,t){la.get({success:e=>{ca(t,{data:e.text,errMsg:"getClipboardData:ok"})},fail:(e,r)=>{ca(t,{data:r,errMsg:"getClipboardData:fail"})}})},setClipboardData:function({data:e}){return la.set({text:e}),{errMsg:"setClipboardData:ok"}},createRequestTaskById:ga,createRequestTask:function(e){return ga(++da,e)},operateRequestTask:function({requestTaskId:e,operationType:t}={}){const r=pa[e];return r&&"abort"===t?(r.abort(),{errMsg:"operateRequestTask:ok"}):{errMsg:"operateRequestTask:fail"}},setStorage:function({key:e,data:t,isSync:r}={},a){const o=typeof t,n="string"===o?t:JSON.stringify({type:o,data:t});try{ya.set({key:e,value:n,success:e=>{ca(a,{errMsg:"setStorage:ok"})},fail:(e,t)=>{ca(a,{errMsg:"setStorage:fail "+t})}})}catch(e){ca(a,{errMsg:"setStorage:fail "+e})}},getStorage:function({key:e}={},t){ya.get({key:e,success:e=>{ca(t,{data:ha(e)||e,errMsg:"getStorage:ok"})},fail:(e,r)=>{ca(t,{data:"",errMsg:"getStorage:fail "+r})}})},removeStorage:function({key:e}={},t){ya.delete({key:e,success:e=>{ca(t,{errMsg:"removeStorage:ok"})},fail:(e,r)=>{ca(t,{errMsg:"removeStorage:fail "+r})}})},clearStorage:function(e,t){ya.clear({success:e=>{ca(t,{errMsg:"clearStorage:ok"})},fail:(e,r)=>{ca(t,{errMsg:"clearStorage:fail "+r})}})},showModal:function({title:e="",content:t="",showCancel:r=!0,cancelText:a="取消",cancelColor:o="#000000",confirmText:n="确定",confirmColor:i="#3CC51F"}={},s){ma.showDialog({title:e,message:t,buttons:[{text:"确定",color:i}],success:e=>{console.log("handling callback"),ca(s,{errMsg:"showModal:ok",confirm:!0,cancel:!1})},cancel:()=>{console.log("handling cancel")},fail:(e,t)=>{console.log("handling fail, code = "+t)}})}});function va(e,...t){return ba[e].apply(null,t)}function Sa(e,t){return UniServiceJSBridge.on("api."+e,t)}const _a=["canplay","play","pause","stop","ended","timeUpdate","prev","next","error","waiting"],ka={};_a.forEach(e=>{ka[e]=[]});const Ta=[{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"buffered",readonly:!0},{name:"title",cache:!0},{name:"epname",cache:!0},{name:"singer",cache:!0},{name:"coverImgUrl",cache:!0},{name:"webUrl",cache:!0},{name:"protocol",readonly:!0,default:"http"}];class Ca{constructor(){this._options={},Sa("onBackgroundAudioStateChange",({state:e,errMsg:t,errCode:r})=>{ka[e].forEach(a=>{"function"==typeof a&&a("error"===e?{errMsg:t,errCode:r}:{})})}),Ta.forEach(e=>{const t=e.name,r={get(){const r=e.cache?this._options:va("getBackgroundAudioState");return t in r?r[t]:e.default}};e.readonly||(r.set=function(e){this._options[t]=e,va("setBackgroundAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(this,t,r)})}play(){this._operate("play")}pause(){this._operate("pause")}stop(){this._operate("stop")}seek(e){this._operate("seek",{currentTime:e})}_operate(e,t){va("operateBackgroundAudio",Object.assign({},t,{operationType:e}))}}let Oa;function ja(...e){return UniServiceJSBridge.invokeCallbackHandler(...e)}_a.forEach(e=>{const t=e[0].toUpperCase()+e.substr(1);Ca.prototype["on"+t]=function(t){ka[e].push(t)}});const wa=Object.create(null);Sa("onRequestTaskStateChange",(function({requestTaskId:e,state:t,data:r,statusCode:a,header:o,errMsg:n,cookies:i}){const{args:s,callbackId:l}=wa[e]||{};if(l)switch(delete wa[e],t){case"success":ja(l,function(e,t){if("string"==typeof e.data&&65279===e.data.charCodeAt(0)&&(e.data=e.data.substr(1)),e.statusCode=parseInt(e.statusCode,10),c(e.header)&&(e.header=Object.keys(e.header).reduce((function(t,r){const a=e.header[r];return Array.isArray(a)?t[r]=a.join(","):"string"==typeof a&&(t[r]=a),t}),{})),t.dataType&&"json"===t.dataType.toLowerCase())try{e.data=JSON.parse(e.data)}catch(e){}return e}({data:r,statusCode:a,header:o,errMsg:"request:ok",cookies:i},s));break;case"fail":ja(l,{errMsg:"request:fail "+n})}}));class Aa{constructor(e){this.id=e}abort(){va("operateRequestTask",{requestTaskId:this.id,operationType:"abort"})}offHeadersReceived(){}onHeadersReceived(){}}var Ba={...Object.freeze({__proto__:null,base64ToArrayBuffer:function(e){return Kr(e)},arrayBufferToBase64:function(e){return Jr(e)},canIUse:function(e){return!l(Yr,e)||Yr[e]},addInterceptor:function(e,t){"string"==typeof e&&c(t)?b(m[e]||(m[e]={}),t):c(e)&&b(h,e)},removeInterceptor:function(e,t){"string"==typeof e?c(t)?v(m[e],t):delete m[e]:c(e)&&v(h,e)},interceptors:Qr,upx2px:function(e,t){if(0===Zr&&function(){const{platform:e,pixelRatio:t,windowWidth:r}=uni.getSystemInfoSync();Zr=r,ea=t,Xr="ios"===e}(),0===(e=Number(e)))return 0;const r=__uniConfig.globalStyle||__uniConfig.window||{},a=ta(r.rpxCalcMaxDeviceWidth,960),o=ta(r.rpxCalcBaseDeviceWidth,375),n=ta(r.rpxCalcIncludeWidth,750);let i=t||Zr;i=e===n||i<=a?i:o;let s=e/750*i;return s<0&&(s=-s),s=Math.floor(s+1e-4),0===s&&(s=1!==ea&&Xr?.5:1),e<0?-s:s},createAudioContext:function(e,t){if(t)return new aa(e,t.$page.id);const r=getApp();if(r.$route&&r.$route.params.__id__)return new aa(e,r.$route.params.__id__);UniServiceJSBridge.emit("onError","createAudioContext:fail")},getBackgroundAudioManager:function(){return Oa||(Oa=new Ca)},request:function(e,t){let r;for(const t in e.header)if("content-type"===t.toLowerCase()){r=e.header[t];break}"GET"!==e.method&&0===r.indexOf("application/json")&&c(e.data)&&(e.data=JSON.stringify(e.data));const{requestTaskId:a}=va("createRequestTask",e);return wa[a]={args:e,callbackId:t},new Aa(a)}}),...ba};const xa=Object.create(null);let qa;r.forEach(e=>{Ba[e]?xa[e]=function(e,t){return N(e)?function(r={},...a){return s(r.success)||s(r.fail)||s(r.complete)?C(e,O(e,t,r,...a)):C(e,new Promise((o,n)=>{O(e,t,Object.assign({},r,{success:o,fail:n}),...a)}).then(e=>[null,e]).catch(e=>[e]))}:t}(e,Wr(e,Ba[e])):xa[e]=function(e){return function(t){console.error("API `"+e+"` is not yet implemented")}}(e)});const Ia=[],Ea=[],Pa=[];function Na(e){e&&e.store&&(qa=e.store)}Na.prototype.$mount=function(){},Na.config={},Na.use=function(e){if(e.Store&&e.mapState){const r={};t.VueFactory(r,{},{}),e.install(r.Vue)}else Ea.push(e)},Na.mixin=function(e){Ia.push(e)},Na.component=function(e,t){Pa.push({id:e,definition:t})},(Object.getPrototypeOf(global)||global).__VuePlugin={install(e,t){Ia.forEach(t=>{e.mixin(t)}),Ea.forEach(t=>{e.use(t)}),Pa.forEach(({id:t,definition:r})=>{e.component(t,r)}),Object.keys(Na.prototype).forEach(t=>{"$mount"!==t&&(e.prototype[t]=Na.prototype[t])}),qa&&(e.prototype.$store=qa)}};const Ma={globalData:{}};global.UniServiceJSBridge.invokeCallbackHandler=Vr;var La={uni:xa,Vue:Na,getApp:function({allowDefault:t=!1}={}){return e.$def?function(e){if(e.__$processed)return e;const t=e.methods;return t&&(Object.keys(t).forEach(r=>{e[r]=t[r]}),delete e.methods),Object.keys(Ma).forEach(t=>{"globalData"!==t&&(e[t]=Ma[t])}),e.globalData||(e.globalData={}),Object.assign(e.globalData,Ma.globalData),e.__$processed=!0,e}(e.$def):t?Ma:void 0},getCurrentPages:function(){return[]}};const Da=Object.getPrototypeOf(global)||global;dsl.onDefineApp(t=>{const r="function"==typeof t.onLaunch,a="function"==typeof t.onShow;(r||a)&&(e._events["applc:onCreate"]||(e._events["applc:onCreate"]=[])).push(()=>{r&&t.onLaunch(),a&&t.onShow()}),Da.__uniRoutes=function({pages:e}){const t=[];return Object.keys(e).forEach(r=>{const a=e[r];t.push({path:"/"+r+"/"+a.component,meta:{}})}),t}(t.manifest.router)}),Object.assign(Da,La)}()}));
  dsl.onInitPage((function({$app_require$:e,Vue:u}){!function(){"use strict";"undefined"!=typeof __VuePlugin&&u.use(__VuePlugin)}()}));
  