//{"version":"2.8.11"} var __UniServiceStartTime__=Date.now(),global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";var subversion={framework:"0.29.6",transformer:">=0.1.5 <0.5"};function getHookKey(e,t,n){return t+"@"+n+"#"+e}var CallbackManager=function(e){this.instanceId=String(e),this.lastCallbackId=0,this.callbacks={},this.hooks={}};CallbackManager.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},CallbackManager.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},CallbackManager.prototype.registerHook=function(e,t,n,r){var i=getHookKey(e,t,n);this.hooks[i]&&console.warn('[JS Framework] Override an existing component hook "'+i+'".'),this.hooks[i]=r},CallbackManager.prototype.triggerHook=function(e,t,n,r){var i=getHookKey(e,t,n),o=this.hooks[i];if("function"!=typeof o)return console.error("[JS Framework] Invalid hook function type ("+typeof o+') on "'+i+'".'),null;var a=null;try{a=o.apply(null,r||[])}catch(e){throw console.error('[JS Framework] Failed to execute the hook function on "'+i+'".'),e}return a},CallbackManager.prototype.consume=function(e,t,n){var r=this.callbacks[e];if(void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r)try{return r.call(null,t,n)}catch(e){throw console.error("[JS Framework] Failed to execute the callback function:\n "+e.toString()),e}return new Error('invalid callback id "'+e+'"')},CallbackManager.prototype.close=function(){this.callbacks={},this.hooks={}};var nextNodeRef=1;function uniqueId(){return(nextNodeRef++).toString()}function typof(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function isPlainObject(e){return"[object Object]"===Object.prototype.toString.call(e)}function hasOwn(e,t){return isPlainObject(e)&&Object.prototype.hasOwnProperty.call(e,t)}function bufferToBase64(e){if("function"!=typeof btoa)return"";var t=Array.prototype.map.call(new Uint8Array(e),function(e){return String.fromCharCode(e)}).join("");return btoa(t)}function isEmpty(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var LEVELS=["off","error","warn","info","log","debug"],levelMap={};function generateLevelMap(){LEVELS.forEach(function(t){var n=LEVELS.indexOf(t);levelMap[t]={},LEVELS.forEach(function(e){LEVELS.indexOf(e)<=n&&(levelMap[t][e]=!0)})})}function checkLevel(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return levelMap[t]&&levelMap[t][e]}function debugLog(e){global.nativeLog("wxInteractionAnalyzer: [jsfm]"+e,"__DEBUG")}var docMap={};function addDoc(e,t){e&&(docMap[e]=t)}function getDoc(e){return docMap[e]}function removeDoc(e){delete docMap[e]}function getTaskCenter(e){var t=docMap[e];return t&&t.taskCenter?t.taskCenter:null}function appendBody(e,t,n){var r=e.documentElement;if(!(0 to "+this.children.length+" of <"+this.type+"> ("+this.ref+")."),moveIndex(e,this.children,this.children.length,!0),1===e.nodeType){var t=moveIndex(e,this.pureChildren,this.pureChildren.length),n=getTaskCenter(this.docId);if(n&&0<=t)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(checkLevel("debug")&&debugLog("[appendChild]("+this.docId+","+e.type+","+e.ref+") Append <"+e.type+"> to <"+this.type+"> ("+this.ref+")."),linkParent(e,this),insertIndex(e,this.children,this.children.length,!0),this.docId&®isterNode(this.docId,e),1===e.nodeType){insertIndex(e,this.pureChildren,this.pureChildren.length);var r=getTaskCenter(this.docId);if(r)return r.send("dom",{action:"addElement"},[this.ref,e.toJSON(),-1])}},e.prototype.insertBefore=function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.nextSibling&&e.nextSibling===t))if(e.parentNode){if(moveIndex(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=nextElement(t),r=moveIndex(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),i=getTaskCenter(this.docId);if(i&&0<=r)return i.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(checkLevel("debug")&&debugLog("[insertBefore]("+this.docId+","+e.type+","+e.ref+") Insert <"+e.type+"> to <"+this.type+"> ("+this.ref+"), before ("+t.ref+")."),linkParent(e,this),insertIndex(e,this.children,this.children.indexOf(t),!0),this.docId&®isterNode(this.docId,e),1===e.nodeType){var o=nextElement(t),a=insertIndex(e,this.pureChildren,o?this.pureChildren.indexOf(o):this.pureChildren.length),s=getTaskCenter(this.docId);if(s)return s.send("dom",{action:"addElement"},[this.ref,e.toJSON(),a])}},e.prototype.insertAfter=function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.previousSibling&&e.previousSibling===t))if(e.parentNode){if(moveIndex(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=moveIndex(e,this.pureChildren,this.pureChildren.indexOf(previousElement(t))+1),r=getTaskCenter(this.docId);if(r&&0<=n)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(checkLevel("debug")&&debugLog("[insertAfter]("+this.docId+","+e.type+","+e.ref+") Insert <"+e.type+"> to <"+this.type+"> ("+this.ref+"), after ("+t.ref+")."),linkParent(e,this),insertIndex(e,this.children,this.children.indexOf(t)+1,!0),this.docId&®isterNode(this.docId,e),1===e.nodeType){var i=insertIndex(e,this.pureChildren,this.pureChildren.indexOf(previousElement(t))+1),o=getTaskCenter(this.docId);if(o)return o.send("dom",{action:"addElement"},[this.ref,e.toJSON(),i])}},e.prototype.removeChild=function(e,t){if(e.parentNode&&(removeIndex(e,this.children,!0),1===e.nodeType)){checkLevel("debug")&&debugLog("[removeChild]("+this.docId+","+e.type+","+e.ref+") Remove <"+e.type+"> from <"+this.type+"> ("+this.ref+")."),removeIndex(e,this.pureChildren);var n=getTaskCenter(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},e.prototype.clear=function(){var t=getTaskCenter(this.docId);t&&this.pureChildren.forEach(function(e){t.send("dom",{action:"removeElement"},[e.ref])}),this.children.forEach(function(e){e.destroy()}),this.children.length=0,this.pureChildren.length=0},e.prototype.setAttr=function(e,t,n){if(this.attr[e]!==t||!1===n){this.attr[e]=t;var r=getTaskCenter(this.docId);if(!n&&r){var i={};i[e]=t,r.send("dom",{action:"updateAttrs"},[this.ref,i])}}},e.prototype.setAttrs=function(e,t){if(!isEmpty(e)){var n={};for(var r in e)this.attr[r]!==e[r]&&(this.attr[r]=e[r],n[r]=e[r]);if(!isEmpty(n)){var i=getTaskCenter(this.docId);!t&&i&&i.send("dom",{action:"updateAttrs"},[this.ref,n])}}},e.prototype.setStyle=function(e,t,n){if(this.style[e]!==t||!1===n){this.style[e]=t;var r=getTaskCenter(this.docId);if(!n&&r){var i={};i[e]=t,r.send("dom",{action:"updateStyle"},[this.ref,i])}}},e.prototype.setStyles=function(e,t){if(!isEmpty(e)){var n={};for(var r in e)this.style[r]!==e[r]&&(this.style[r]=e[r],n[r]=e[r]);if(!isEmpty(n)){var i=getTaskCenter(this.docId);!t&&i&&i.send("dom",{action:"updateStyle"},[this.ref,n])}}},e.prototype.setClassStyle=function(e){for(var t in this.classStyle)this.classStyle[t]="";Object.assign(this.classStyle,e);var n=getTaskCenter(this.docId);n&&n.send("dom",{action:"updateStyle"},[this.ref,this.toStyle()])},e.prototype.addEvent=function(e,t,n){if(this.event||(this.event={}),!this.event[e]){checkLevel("debug")&&debugLog("[addEvent]("+this.docId+","+this.type+","+this.ref+') Add "'+e+'" event on <'+this.type+"> ("+this.ref+")."),this.event[e]={handler:t,params:n};var r=getTaskCenter(this.docId);r&&r.send("dom",{action:"addEvent"},[this.ref,e])}},e.prototype.removeEvent=function(e){if(this.event&&this.event[e]){checkLevel("debug")&&debugLog("[removeEvent]("+this.docId+","+this.type+","+this.ref+') Remove "'+e+'" event on <'+this.type+"> ("+this.ref+")."),delete this.event[e];var t=getTaskCenter(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},e.prototype.fireEvent=function(t,e,n,r){var i=null,o=!1,a=this.event[t];if(a&&e){checkLevel("debug")&&debugLog("[fireEvent]("+this.docId+","+this.type+","+this.ref+') Fire "'+t+'" event on <'+this.type+"> ("+this.ref+").");var s=a.handler;e.stopPropagation=function(){o=!0};try{i=r&&r.params?s.call.apply(s,[this].concat(r.params,[e])):s.call(this,e)}catch(e){throw console.error('[JS Framework] Failed to invoke the event handler of "'+t+'" on '+this.type+" ("+this.ref+"):\n "+e.toString()),e}}return!o&&n&&-1!==BUBBLE_EVENTS.indexOf(t)&&this.parentNode&&this.parentNode.fireEvent&&(e.currentTarget=this.parentNode,this.parentNode.fireEvent(t,e,n)),i},e.prototype.toStyle=function(){return Object.assign({},this.classStyle,this.style)},e.prototype.toJSON=function(e){void 0===e&&(e=!1);var t={ref:this.ref.toString(),type:this.type,attr:this.attr,style:normalizeUnit(this.toStyle())};this.classList&&this.classList.length&&(t.class=this.classList.join(" "));var n=[];for(var r in this.event){var i=this.event[r].params;i?n.push({type:r,params:i}):n.push(r)}return n.length&&(t.event=n),!e&&this.pureChildren.length&&(t.children=this.pureChildren.map(function(e){return e.toJSON()})),t},e.prototype.toString=function(){return"<"+this.type+" attr="+JSON.stringify(this.attr)+" style="+JSON.stringify(this.toStyle())+">"+this.pureChildren.map(function(e){return e.toString()}).join("")+""},e.prototype.setClassList=function(e){this.classList=e},e}(Node);function normalizePrimitive(e){var t=typof(e);switch(t){case"Undefined":case"Null":return"";case"RegExp":return e.toString();case"Date":return e.toISOString();case"Number":case"String":case"Boolean":case"Array":case"Object":return e;case"ArrayBuffer":return{"@type":"binary",dataType:t,base64:bufferToBase64(e)};case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":return{"@type":"binary",dataType:t,base64:bufferToBase64(e.buffer)};default:return JSON.stringify(e)}}setElement(Element);var fallback=function(){},TaskCenter=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:String(e)}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new CallbackManager(e)}),fallback=t||function(){}};function init$1(){var e={createFinish:global.callCreateFinish,updateFinish:global.callUpdateFinish,refreshFinish:global.callRefreshFinish,createBody:global.callCreateBody,addElement:global.callAddElement,removeElement:global.callRemoveElement,moveElement:global.callMoveElement,updateAttrs:global.callUpdateAttrs,updateStyle:global.callUpdateStyle,addEvent:global.callAddEvent,removeEvent:global.callRemoveEvent,__updateComponentData:global.__updateComponentData},t=TaskCenter.prototype,n=function(n){var r=e[n];t[n]=r?function(e,t){return r.apply(void 0,[e].concat(t))}:function(e,t){return fallback(e,[{module:"dom",method:n,args:t}],"-1")}};for(var r in e)n(r);t.componentHandler=global.callNativeComponent||function(e,t,n,r,i){return fallback(e,[{component:i.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return fallback(e,[{module:t,method:n,args:r}])}}function fireEvent(e,t,n,r,i,o){var a=e.getRef(t);return a?e.fireEvent(a,n,r,i,o):r?(r._nodeId=t,e.fireEvent(e.getRef("_documentElement"),n,r,i,o)):void 0}function callback(e,t,n,r){return e.taskCenter.callback(t,n,r)}function componentHook(e,t,n,r,i){if(!e||!e.taskCenter)return console.error('[JS Framework] Can\'t find "document" or "taskCenter".'),null;var o=null;try{o=e.taskCenter.triggerHook(t,n,r,i)}catch(e){throw console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+"."),e}return o}function receiveTasks(e,t){var n=getDoc(e);return n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return callback.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return fireEvent.apply(void 0,[n].concat(e.args));case"componentHook":return componentHook.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}TaskCenter.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},TaskCenter.prototype.registerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).registerHook.apply(e,t)},TaskCenter.prototype.triggerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).triggerHook.apply(e,t)},TaskCenter.prototype.updateData=function(e,t,n){this.send("module",{module:"dom",method:"updateComponentData"},[e,t,n])},TaskCenter.prototype.destroyCallback=function(){return this.callbackManager.close()},TaskCenter.prototype.normalize=function(e,t){var n=this;void 0===t&&(t=!1);var r=typof(e);if(e&&e instanceof Element)return e.ref;if(e&&e._isVue&&e.$el instanceof Element)return e.$el.ref;if("Function"===r)return this.callbackManager.add(e).toString();if(t){if("Object"===r){var i={};for(var o in e)i[o]=n.normalize(e[o],!0);return i}if("Array"===r)return e.map(function(e){return n.normalize(e,!0)})}return e&&e.ref&&e["[[VirtualElement]]"]?e.ref:normalizePrimitive(e)},TaskCenter.prototype.send=function(e,t,n,r){var i=this,o=t.action,a=t.component,s=t.ref,c=t.module,u=t.method;switch(n=n.map(function(e){return i.normalize(e)}),"Object"===typof(r)&&(r=this.normalize(r,!0)),e){case"dom":return checkLevel("debug")&&debugLog("[task]("+this.instanceId+","+this.type+","+o+") "+JSON.stringify(n)),this[o](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,u,n,Object.assign({component:a},r));default:return checkLevel("debug")&&debugLog("[task]("+this.instanceId+","+c+","+u+") "+JSON.stringify(n)),this.moduleHandler(this.instanceId,c,u,n,r)}},TaskCenter.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},TaskCenter.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},TaskCenter.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var weexModules={};function registerModules(e){void 0===e&&(e={});var t=function(t){hasOwn(weexModules,t)||(weexModules[t]={}),Array.isArray(e[t])&&e[t].forEach(function(e){"string"==typeof e?weexModules[t][e]=!0:isPlainObject(e)&&"string"==typeof e.name&&(weexModules[t][e.name]=e.args||[])})};for(var n in e)t(n)}function isRegisteredModule(e,t){return"string"==typeof t?!(!weexModules[e]||!weexModules[e][t]):!!weexModules[e]}function getModuleDescription(e){return weexModules[e]}var weexComponents={};function registerComponents(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?weexComponents[e]=!0:isPlainObject(e)&&"string"==typeof e.type&®isterElement((weexComponents[e.type]=e).type,e.methods))})}function isRegisteredComponent(e){return!!weexComponents[e]}var services=[];function register(e,t){has(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),services.push({name:e,options:t}))}function unregister(n){services.some(function(e,t){if(e.name===n)return services.splice(t,1),!0})}function has(e){return 0<=indexOf(e)}function indexOf(e){return services.map(function(e){return e.name}).indexOf(e)}var Comment=function(t){function e(e){t.call(this),this.nodeType=8,this.nodeId=uniqueId(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},e}(Node);function createAction(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}var Listener=function(e,t){this.id=e,this.batched=!1,this.updates=[],"function"==typeof t?Object.defineProperty(this,"handler",{configurable:!0,enumerable:!0,writable:!0,value:t}):console.error("[JS Runtime] invalid parameter, handler must be a function")};Listener.prototype.createFinish=function(e){return(0,this.handler)([createAction("createFinish")],e)},Listener.prototype.updateFinish=function(e){return(0,this.handler)([createAction("updateFinish")],e)},Listener.prototype.refreshFinish=function(e){return(0,this.handler)([createAction("refreshFinish")],e)},Listener.prototype.createBody=function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[createAction("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return createAction("addElement",[t.ref,e,-1])})),this.addActions(r)},Listener.prototype.addElement=function(e,t,n){return 0<=n||(n=-1),this.addActions(createAction("addElement",[t,e.toJSON(),n]))},Listener.prototype.removeElement=function(e){if(Array.isArray(e)){var t=e.map(function(e){return createAction("removeElement",[e])});return this.addActions(t)}return this.addActions(createAction("removeElement",[e]))},Listener.prototype.moveElement=function(e,t,n){return this.addActions(createAction("moveElement",[e,t,n]))},Listener.prototype.setAttr=function(e,t,n){var r={};return r[t]=n,this.addActions(createAction("updateAttrs",[e,r]))},Listener.prototype.setStyle=function(e,t,n){var r={};return r[t]=n,this.addActions(createAction("updateStyle",[e,r]))},Listener.prototype.setStyles=function(e,t){return this.addActions(createAction("updateStyle",[e,t]))},Listener.prototype.addEvent=function(e,t){return this.addActions(createAction("addEvent",[e,t]))},Listener.prototype.removeEvent=function(e,t){return this.addActions(createAction("removeEvent",[e,t]))},Listener.prototype.handler=function(e,t){return t&&t()},Listener.prototype.addActions=function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)};var handlerMap={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};function createHandler(r,e){var i=e||global.callNative;return"function"!=typeof i&&console.error("[JS Runtime] no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var t=0;t||||||",InputElementRegExp:"||||||",ReservedWord:"||",WhiteSpace:/[\t\v\f\u0020\u00A0\u1680\u180E\u2000-\u200A\u202F\u205f\u3000\uFEFF]/,LineTerminator:/[\n\r\u2028\u2029]/,Keyword:/new(?![_$a-zA-Z0-9])|void(?![_$a-zA-Z0-9])|delete(?![_$a-zA-Z0-9])|in(?![_$a-zA-Z0-9])|instanceof(?![_$a-zA-Z0-9])|typeof(?![_$a-zA-Z0-9])/,NullLiteral:/null(?![_$a-zA-Z0-9])/,BooleanLiteral:/(?:true|false)(?![_$a-zA-Z0-9])/,Identifier:/[_$a-zA-Z][_$a-zA-Z0-9]*/,Punctuator:/\/|=>|\*\*|>>>=|>>=|<<=|===|!==|>>>|<<|%=|\*=|-=|\+=|<=|>=|==|!=|\^=|\|=|\|\||&&|&=|>>|\+\+|--|\:|}|\*|&|\||\^|!|~|-|\+|\?|%|=|>|<|,|;|\.(?![0-9])|\]|\[|\)|\(|{/,DivPunctuator:/\/=|\//,NumericLiteral:/(?:0[xX][0-9a-fA-F]*|\.[0-9]+|(?:[1-9]+[0-9]*|0)(?:\.[0-9]*|\.)?)(?:[eE][+-]{0,1}[0-9]+)?(?![_$a-zA-Z0-9])/,StringLiteral:/"(?:[^"\n\\\r\u2028\u2029]|\\(?:['"\\bfnrtv\n\r\u2028\u2029]|\r\n)|\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}|\\[^0-9ux'"\\bfnrtv\n\\\r\u2028\u2029])*"|'(?:[^'\n\\\r\u2028\u2029]|\\(?:['"\\bfnrtv\n\r\u2028\u2029]|\r\n)|\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}|\\[^0-9ux'"\\bfnrtv\n\\\r\u2028\u2029])*'/,RegularExpressionLiteral:/\/(?:\[(?:\\[\s\S]|[^\]])*\]|[^*\/\\\n\r\u2028\u2029]|\\[^\n\r\u2028\u2029])(?:\[(?:\\[\s\S]|[^\]])*\]|[^\/\\\n\r\u2028\u2029]|\\[^\n\r\u2028\u2029])*\/[0-9a-zA-Z]*/};function XRegExp(r,e,i){var o=[e];var a=function n(e){var t=new RegExp;return t.compile(e.replace(/<([^>]+)>/g,function(e,t){return r[t]?(o.push(t),r[t]instanceof RegExp?"("+r[t].source+")":"("+n(r[t]).source+")"):""}),i),t}(r[e]);this.exec=function(e){var t=a.exec(e);if(null==t)return null;for(var n=new String(t[0]),r=0;rr.length)throw new SyntaxError("Unexpected token ILLEGAL");return o.lastIndex=t.lastIndex,a.lastIndex=t.lastIndex,r}}var rules={IdentifierName:[["Identifier"]],Literal:[["NullLiteral"],["BooleanLiteral"],["NumericLiteral"],["StringLiteral"],["RegularExpressionLiteral"]],PrimaryExpression:[["Identifier"],["Literal"],["(","Expression",")"]],CallExpression:[["PrimaryExpression","Arguments"],["CallExpression","Arguments"]],Arguments:[["(",")"],["(","ArgumentList",")"]],ArgumentList:[["ConditionalExpression"],["ArgumentList",",","ConditionalExpression"]],LeftHandSideExpression:[["PrimaryExpression"],["CallExpression"]],UnaryExpression:[["LeftHandSideExpression"],["void","UnaryExpression"],["+","UnaryExpression"],["-","UnaryExpression"],["~","UnaryExpression"],["!","UnaryExpression"]],ExponentiationExpression:[["UnaryExpression"],["ExponentiationExpression","**","UnaryExpression"]],MultiplicativeExpression:[["MultiplicativeExpression","/","ExponentiationExpression"],["ExponentiationExpression"],["MultiplicativeExpression","*","ExponentiationExpression"],["MultiplicativeExpression","%","ExponentiationExpression"]],AdditiveExpression:[["MultiplicativeExpression"],["AdditiveExpression","+","MultiplicativeExpression"],["AdditiveExpression","-","MultiplicativeExpression"]],ShiftExpression:[["AdditiveExpression"],["ShiftExpression","<<","AdditiveExpression"],["ShiftExpression",">>","AdditiveExpression"],["ShiftExpression",">>>","AdditiveExpression"]],RelationalExpression:[["ShiftExpression"],["RelationalExpression","<","ShiftExpression"],["RelationalExpression",">","ShiftExpression"],["RelationalExpression","<=","ShiftExpression"],["RelationalExpression",">=","ShiftExpression"],["RelationalExpression","instanceof","ShiftExpression"],["RelationalExpression","in","ShiftExpression"]],EqualityExpression:[["RelationalExpression"],["EqualityExpression","==","RelationalExpression"],["EqualityExpression","!=","RelationalExpression"],["EqualityExpression","===","RelationalExpression"],["EqualityExpression","!==","RelationalExpression"]],BitwiseANDExpression:[["EqualityExpression"],["BitwiseANDExpression","&","EqualityExpression"]],BitwiseXORExpression:[["BitwiseANDExpression"],["BitwiseXORExpression","^","BitwiseANDExpression"]],BitwiseORExpression:[["BitwiseXORExpression"],["BitwiseORExpression","|","BitwiseXORExpression"]],LogicalANDExpression:[["BitwiseORExpression"],["LogicalANDExpression","&&","BitwiseORExpression"]],LogicalORExpression:[["LogicalANDExpression"],["LogicalORExpression","||","LogicalANDExpression"]],ConditionalExpression:[["LogicalORExpression"],["LogicalORExpression","?","LogicalORExpression",":","LogicalORExpression"]],Expression:[["ConditionalExpression"],["Expression",",","ConditionalExpression"]],Program:[["Expression"]]};function Symbol$1(e,t){this.name=e,this.token=t,this.childNodes=[],this.toString=function(e){if(e||(e=""),1==this.childNodes.length)return this.childNodes[0].toString(e);for(var t=e+this.name+(null!=this.token&&this.name!=this.token?":"+this.token:"")+"\n",n=0;n","{","}","(",")","[","]",".",";",",","<",">","<=",">=","==","!=","===","!==","+","-","*","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","=","+=","-=","*=","%=","<<=",">>=",">>>=","&=","|=","^=","/","/=","instanceof","typeof","new","void","debugger","this","delete","in"].forEach(function(e){Object.defineProperty(a,e,{})}),this.reset=function(){this.lexicalParser.reset(),this.syntacticalParser.reset()},this.parse=function(e,t){var n,r=this,i=!1;this.lexicalParser.source=e;for(var o=!1;n=this.lexicalParser.getNextToken(o);){t&&t(n);try{if(Object.getOwnPropertyNames(n).some(function(e){return!!a.hasOwnProperty(e)&&(o=r.syntacticalParser.insertSymbol(new Symbol$1(e,n),i),!(i=!1))}))continue;(n.Keyword||n.Punctuator||n.DivPunctuator)&&a.hasOwnProperty(n.toString())&&(o=r.syntacticalParser.insertSymbol(new Symbol$1(n.toString(),n),i))}catch(e){throw new SyntaxError("Unexpected token "+n)}}return this.syntacticalParser.grammarTree}}var parser=new Parser;function JavaScriptExpression(text){parser.reset(),this.tree=parser.parse(text),this.paths=[];var context=Object.create(null),me=this,pathIndex=Object.create(null);function checkSimple(e){for(var t=e;t.childNodes.length<=1&&"MemberExpression"!==t.name;)t=t.childNodes[0];"MemberExpression"===t.name?me.isSimple=!0:me.isSimple=!1}function walk(e){if("CallExpression"===e.name&&"CallExpression"!==e.childNodes[e.childNodes.length-1].name){getPath(e.childNodes[1]);walk(e.childNodes[0])}else if("NewExpression"===e.name&&1===e.childNodes.length)getPath(e.childNodes[0]);else if("MemberExpression"===e.name&&1===e.childNodes.length)getPath(e);else for(var t=0;t>2],i+=o[(3&n[t])<<4|n[t+1]>>4],i+=o[(15&n[t+1])<<2|n[t+2]>>6],i+=o[63&n[t+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i},t.decode=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new ArrayBuffer(a),l=new Uint8Array(u);for(t=0;t>4,l[c++]=(15&r)<<4|i>>2,l[c++]=(3&i)<<6|63&o;return u}}()}(Mn={exports:{}},Mn.exports),Mn.exports),jn=Pn.encode,Bn=Pn.decode;var Nn=Object.freeze({__proto__:null,base64ToArrayBuffer:function(e){return Bn(e)},arrayBufferToBase64:function(e){return jn(e)}}),Dn={};var Ln=Object.freeze({__proto__:null,canIUse:function(e){return!_(Dn,e)||Dn[e]}}),Rn={promiseInterceptor:L},Fn=Object.freeze({__proto__:null,interceptors:Rn,addInterceptor:function(e,t){"string"==typeof e&&E(t)?T(C[e]||(C[e]={}),t):E(e)&&T(x,e)},removeInterceptor:function(e,t){"string"==typeof e?E(t)?A(C[e],t):delete C[e]:E(e)&&A(x,e)}}),Vn=!1,Un=0,zn=0;var qn=Object.freeze({__proto__:null,upx2px:function(e,t){var n,r,i,o;if(0===Un&&(n=Ol.getSystemInfoSync(),r=n.platform,i=n.pixelRatio,o=n.windowWidth,Un=o,zn=i,Vn="ios"===r),0===(e=Number(e)))return 0;var a=e/750*(t||Un);return a<0&&(a=-a),0===(a=Math.floor(a+1e-4))&&(a=1!==zn&&Vn?.5:1),e<0?-a:a}});function Wn(e,t,n,r){bl.publishHandler(t+"-audio-"+e,{audioId:e,type:n,data:r},t)}var Hn=function(e,t){this.id=e,this.pageId=t};Hn.prototype.setSrc=function(e){Wn(this.id,this.pageId,"setSrc",{src:e})},Hn.prototype.play=function(){Wn(this.id,this.pageId,"play")},Hn.prototype.pause=function(){Wn(this.id,this.pageId,"pause")},Hn.prototype.seek=function(e){Wn(this.id,this.pageId,"seek",{position:e})};var Gn=Object.freeze({__proto__:null,createAudioContext:function(e,t){if(t)return new Hn(e,t.$page.id);var n=El();if(n.$route&&n.$route.params.__id__)return new Hn(e,n.$route.params.__id__);bl.emit("onError","createAudioContext:fail")}}),Xn=new ml;function Yn(e,t,n){return e[t].apply(e,n)}function Jn(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return Yn(Xn,"$on",[].concat(t))}function Kn(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return Yn(Xn,"$off",[].concat(t))}function Qn(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return Yn(Xn,"$once",[].concat(t))}function Zn(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return Yn(Xn,"$emit",[].concat(t))}var er,tr=Object.freeze({__proto__:null,$on:Jn,$off:Kn,$once:Qn,$emit:Zn});function nr(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return bl.invokeCallbackHandler.apply(bl,e)}function rr(e){return Ol.requireNativePlugin(e)}function ir(e){for(var t=[],n=arguments.length-1;0this._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(0this._endPositionX)&&(t=this._endPositionX),(0this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Friction.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Friction.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Friction.prototype.dt=function(){return-this._x_v/this._x_a},Friction.prototype.done=function(){var t=e(this.s().x,this._endPositionX)||e(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},Friction.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Friction.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Spring.prototype._solve=function(e,t){var n=this._c,r=this._m,i=this._k,o=n*n-4*r*i;if(0===o){var a=-n/(2*r),s=e,c=t/(a*e);return{x:function(e){return(s+c*e)*Math.pow(Math.E,a*e)},dx:function(e){var t=Math.pow(Math.E,a*e);return a*(s+c*e)*t+c*t}}}if(0this.maxX&&(this.outOfBounds?(i="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),rthis.maxY&&(this.outOfBounds?(i="touch-out-of-bounds",r=this.maxY+this._declineY.x(r-this.maxY)):r=this.maxY),_requestAnimationFrame(function(){t._setTransform(n,r,t._scale,i)})}}},__handleTouchEnd:function(){var r=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),t=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,t),this._friction.setS(this._translateX,this._translateY);var n=this._friction.delta().x,i=this._friction.delta().y,o=n+this._translateX,a=i+this._translateY;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*i/n),athis.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*n/i),this._friction.setEnd(o,a),this._FA=g(this._friction,function(){var e=r._friction.s(),t=e.x,n=e.y;r._setTransform(t,n,r._scale,"friction")},function(){r._FA.cancel()})}},_onTrack:function(e){switch(e.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(e);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(e,t){var n=!1;return e>this.maxX?(e=this.maxX,n=!0):ethis.maxY?(t=this.maxY,n=!0):t should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}},render:function(e){return e("view",this._g({attrs:{hoverClass:this.hoverClass,hoverStopPropagation:this.hoverStopPropagation,hoverStartTime:this.hoverStartTime,hoverStayTime:this.hoverStayTime},on:{click:this._click}},this.$listeners),[this._t("default")],2)},style:{"navigator-hover":{backgroundColor:"rgba(0,0,0,0.1)",opacity:.7}}}}function init$12(e,t,n){e.component("navigator",getNavigator(t,n.uni))}function getRuntime(){return"object"==typeof window&&"object"==typeof navigator&&"object"==typeof document?"webview":"v8"}function getPageId(){return plus_.webview.currentWebview().id}var callbacks={};function onPlusMessage(e){var t=e.data&&e.data.__message;if(t&&t.__page){var n=t.__page,r=callbacks[n];r&&r(t),t.keep||delete callbacks[n]}}function addEventListener(e,t){"v8"===getRuntime()?(channel&&channel.close(),(channel=new BroadcastChannel_(getPageId())).onmessage=onPlusMessage):window.__plusMessage=onPlusMessage,callbacks[e]=t}var Page=function(e){this.webview=e};function showPage(e){var t=e.context;void 0===t&&(t={});var n=e.url,r=e.data;void 0===r&&(r={});var i=e.style;void 0===i&&(i={});var o=e.onMessage,a=e.onClose;plus_=t.plus||plus,BroadcastChannel_=t.BroadcastChannel||BroadcastChannel;var s="page"+Date.now();!1!==(i=Object.assign({},i)).titleNView&&"none"!==i.titleNView&&(i.titleNView=Object.assign({autoBackButton:!0,titleSize:"17px"},i.titleNView));var c={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:("object"==typeof process&&process.env&&process.env.VUE_APP_TEMPLATE_PATH||"")+"/"+n+".js",defaultFontSize:plus_.screen.resolutionWidth/20,viewport:plus_.screen.resolutionWidth}};i=Object.assign(c,i);var u=plus_.webview.create("",s,i,{extras:{from:getPageId(),runtime:getRuntime(),data:r}});return u.addEventListener("close",a),addEventListener(s,function(e){"function"==typeof o&&o(e.data),e.keep||u.close("auto")}),u.show(i.animationType,i.animationDuration),new Page(u)}function getPicker(e,t){var o={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},a={YEAR:"year",MONTH:"month",DAY:"day"},r=["range","rangeKey","value","mode","fields","start","end","disabled"];function s(e){return 9",lt:"<",nbsp:" ",quot:'"',apos:"'"};function normalizeText(e){return e.replace(HTML_RE,function(e,t){return CHARS[t]})}function normalizeNode(t,e,n){var r=(t.name||"").toLowerCase(),i=strategies[r];-1===TAGS.indexOf(r)&&(r="span"),"img"===r&&(r="image");var o={type:r,attr:Object.create(null)};return("text"===t.type||t.text)&&(o.attr.value=normalizeText((t.text||"").trim())),t.attrs&&Object.keys(t.attrs).forEach(function(e){"class"!==e&&"style"!==e&&(o.attr[e]=t.attrs[e])}),o.style=normalizeUnit(parseStyle(t,e)),i&&i(o,n),o.children=normalizeNodes(t.children,e,n),o}function normalizeNodes(e,t,n){return Array.isArray(e)?e.map(function(e){return normalizeNode(e,t,n)}):[]}function getRichText(e){var t=e.config.env,n=t.scale,r=t.deviceWidth/n/20;return{name:"RichText",isReserved:!0,props:{nodes:{type:[Array,String],default:function(){return[]}}},render:function(e){var t=normalizeNodes(this.nodes||[],this.$vnode.context,{defaultFontSize:r});return e("u-rich-text",this._g({attrs:{value:t}},this.$listeners))}}}function init$17(e,t){e.component("rich-text",getRichText(t))}function getSwiperItem(e){return{name:"SwiperItem",isReserved:!0,props:{itemId:{type:String,default:""}},render:function(e){return e("div",this._g({staticClass:["uni-swiper-item"],staticStyle:{position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}},this.$listeners),this._t("default"),2)}}}function init$18(e,t){e.component("swiper-item",getSwiperItem(t))}function getSwiper(r){var t=r.requireModule("dom");return{name:"Swiper",isReserved:!0,mixins:[emitter],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:"rgba(0,0,0,.3)"},indicatorActiveColor:{type:String,default:"#000000"},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}},data:function(){return{currentSync:this.current,currentChangeSource:"autoplay"}},watch:{current:function(){this._currentCheck()},currentItemId:function(){this._currentCheck()},currentSync:function(){this.$trigger("change",this._getDetail())}},methods:{onChange:function(e){this.currentSync=e.detail.index,this._lastOffsetRatio=0},onScroll:function(e){var t=this.vertical?e.detail.offsetYRatio:e.detail.offsetXRatio;if((e.drag||e.detail.drag)&&(this.currentChangeSource="touch"),0===t){var n=Math.abs(this._lastOffsetRatio);if(1===n)return;.5this.width&&(t=this.width),this.sliderValue=this._filterValue(t)},_filterValue:function(e){var t=e/this.width*(Number(this.max)-Number(this.min)),n=Number(this.step);return 0document.createEvent("Event").timeStamp&&(Gt=function(){return Xt.now()})}function Yt(){var e,t;for(Gt(),Wt=!0,Vt.sort(function(e,t){return e.id-t.id}),Ht=0;Hte.id;)n--;Vt.splice(n+1,0,e)}else Vt.push(e);qt||(qt=!0,Ue(Yt))}}(this)},Kt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||y(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){je(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Kt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Kt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Kt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Qt={enumerable:!0,configurable:!0,get:T,set:T};function Zt(e,t,n){Qt.get=function(){return this[t][n]},Qt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Qt)}function en(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var i=n.$options.propsData||{},o=n._props={},a=n.$options._propKeys=[];n.$parent&&ge(!1);var e=function(e){a.push(e);var t=$e(e,r,i,n);_e(o,e,t),e in n||Zt(n,"_props",e)};for(var t in r)e(t);ge(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?T:k(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){oe();try{return e.call(t,t)}catch(e){return je(e,t,"data()"),{}}finally{ae()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&d(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Zt(e,"_data",o))}var a;ye(t,!0)}(e):ye(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=K();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new Kt(e,a||T,T,tn)),i in e||nn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;iparseInt(this.max)&&Sn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};kn=gn,xn={get:function(){return L}},Object.defineProperty(kn,"config",xn),kn.util={warn:ne,extend:x,mergeOptions:Ee,defineReactive:_e},kn.set=be,kn.delete=Se,kn.nextTick=Ue,kn.observable=function(e){return ye(e),e},kn.options=Object.create(null),N.forEach(function(e){kn.options[e+"s"]=Object.create(null)}),x((kn.options._base=kn).options.components,Tn),kn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1"+this.pureChildren.map(function(e){return e.toString()}).join("")+""},e}(In),Fn=function(e,t){this.id=e?e.toString():"",this.URL=t,this.createDocumentElement()};Fn.prototype.createDocumentElement=function(){var n=this;if(!this.documentElement){var e=new Rn("document");e.docId=this.id,e.ownerDocument=this,e.role="documentElement",e.depth=0,e.ref="_documentElement",this.documentElement=e,Object.defineProperty(e,"appendChild",{configurable:!0,enumerable:!0,writable:!0,value:function(e){An(n,e)}}),Object.defineProperty(e,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){An(n,e,t)}})}return this.documentElement},Fn.prototype.createBody=function(e){this.body||Mn(this,new Rn(e));return this.body},Fn.prototype.createElement=function(e){return new Rn(e)},Fn.prototype.createComment=function(e){return new $n(e)},Fn.prototype.destroy=function(){};var Vn=s("style,class"),Un=(s("input,textarea,option,select,progress"),s("contenteditable,draggable,spellcheck"),s("events,caret,typing,plaintext-only"),s("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),s("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"));var zn=Object.freeze({createElement:function(e){return new Rn(e)},createElementNS:function(e,t){return new Rn(e+":"+t)},createTextNode:function(){return new Rn("text")},createComment:function(e){return new $n(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.type},setTextContent:function(){},setStyleScope:function(){}}),qn={create:function(e,t){Wn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Wn(e,!0),Wn(t))},destroy:function(e){Wn(e,!0)}};function Wn(e,t){var n=e.data.ref;if(I(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?b(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}s("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"),s("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 Hn=s("text,number,password,search,email,tel,url"),Gn=new se("",{},[]),Xn=["create","activate","update","remove","destroy"];function Yn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&I(e.data)===I(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=I(n=e.data)&&I(n=n.attrs)&&n.type,i=I(n=t.data)&&I(n=n.attrs)&&n.type;return r===i||Hn(r)&&Hn(i)}(e,t)||$(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&E(t.asyncFactory.error))}function Jn(e,t,n){var r,i,o={};for(r=t;r<=n;++r)I(i=e[r].key)&&(o[i]=r);return o}var Kn={create:Qn,update:Qn,destroy:function(e){Qn(e,Gn)}};function Qn(e,t){(e.data.directives||t.data.directives)&&function(t,n){var e,r,i,o=t===Gn,a=n===Gn,s=er(t.data.directives,t.context),c=er(n.data.directives,n.context),u=[],l=[];for(e in c)r=s[e],i=c[e],r?(i.oldValue=r.value,i.oldArg=r.arg,tr(i,"update",n,t),i.def&&i.def.componentUpdated&&l.push(i)):(tr(i,"bind",n,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var d=function(){for(var e=0;ei;)_has(r,n=t[i++])&&(~arrayIndexOf(o,n)||o.push(n));return o},_enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_objectKeys=Object.keys||function(e){return _objectKeysInternal(e,_enumBugKeys)},f$1=Object.getOwnPropertySymbols,_objectGops={f:f$1},f$2={}.propertyIsEnumerable,_objectPie={f:f$2},_toObject=function(e){return Object(_defined(e))},$assign=Object.assign,_objectAssign=!$assign||_fails(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[n]||Object.keys($assign({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=_toObject(e),i=arguments.length,o=1,a=_objectGops.f,s=_objectPie.f;odocument.F=Object<\/script>"),e.close(),createDict=e.F;n--;)delete createDict[PROTOTYPE$1][_enumBugKeys[n]];return createDict()},_objectCreate=Object.create||function(e,t){var n;return null!==e?(Empty[PROTOTYPE$1]=_anObject(e),n=new Empty,Empty[PROTOTYPE$1]=null,n[IE_PROTO$1]=e):n=createDict(),void 0===t?n:_objectDps(n,t)},def=_objectDp.f,TAG$1=_wks("toStringTag"),_setToStringTag=function(e,t,n){e&&!_has(e=n?e:e.prototype,TAG$1)&&def(e,TAG$1,{configurable:!0,value:t})},IteratorPrototype={};_hide(IteratorPrototype,_wks("iterator"),function(){return this});var _iterCreate=function(e,t,n){e.prototype=_objectCreate(IteratorPrototype,{next:_propertyDesc(1,n)}),_setToStringTag(e,t+" Iterator")},IE_PROTO$2=_sharedKey("IE_PROTO"),ObjectProto=Object.prototype,_objectGpo=Object.getPrototypeOf||function(e){return e=_toObject(e),_has(e,IE_PROTO$2)?e[IE_PROTO$2]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ObjectProto:null},ITERATOR=_wks("iterator"),BUGGY=!([].keys&&"next"in[].keys()),FF_ITERATOR="@@iterator",KEYS="keys",VALUES="values",returnThis=function(){return this},_iterDefine=function(e,t,n,r,i,o,a){_iterCreate(n,t,r);var s,c,u,l=function(e){if(!BUGGY&&e in h)return h[e];switch(e){case KEYS:case VALUES:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f=i==VALUES,p=!1,h=e.prototype,v=h[ITERATOR]||h[FF_ITERATOR]||i&&h[i],g=v||l(i),m=i?f?l("entries"):g:void 0,y="Array"==t&&h.entries||v;if(y&&(u=_objectGpo(y.call(new e)))!==Object.prototype&&u.next&&(_setToStringTag(u,d,!0),_library||"function"==typeof u[ITERATOR]||_hide(u,ITERATOR,returnThis)),f&&v&&v.name!==VALUES&&(p=!0,g=function(){return v.call(this)}),_library&&!a||!BUGGY&&!p&&h[ITERATOR]||_hide(h,ITERATOR,g),_iterators[t]=g,_iterators[d]=returnThis,i)if(s={values:f?g:l(VALUES),keys:o?g:l(KEYS),entries:m},a)for(c in s)c in h||_redefine(h,c,s[c]);else _export(_export.P+_export.F*(BUGGY||p),t,s);return s},$at=_stringAt(!0);_iterDefine(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=$at(t,n),this._i+=e.length,{value:e,done:!1})});var UNSCOPABLES=_wks("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&_hide(ArrayProto,UNSCOPABLES,{});var _addToUnscopables=function(e){ArrayProto[UNSCOPABLES][e]=!0},_iterStep=function(e,t){return{value:t,done:!!e}},es6_array_iterator=_iterDefine(Array,"Array",function(e,t){this._t=_toIobject(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,_iterStep(1)):_iterStep(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");_iterators.Arguments=_iterators.Array,_addToUnscopables("keys"),_addToUnscopables("values"),_addToUnscopables("entries");for(var ITERATOR$1=_wks("iterator"),TO_STRING_TAG=_wks("toStringTag"),ArrayValues=_iterators.Array,DOMIterables={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},collections=_objectKeys(DOMIterables),i=0;ir;)n.push(t[r++]);return queue[++counter]=function(){_invoke("function"==typeof e?e:Function(e),n)},defer(counter),counter},clearTask=function(e){delete queue[e]},"process"==_cof(process$2)?defer=function(e){process$2.nextTick(_ctx(run,e,1))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(_ctx(run,e,1))}:MessageChannel?(channel$1=new MessageChannel,port=channel$1.port2,channel$1.port1.onmessage=listener,defer=_ctx(port.postMessage,port,1)):_global.addEventListener&&"function"==typeof postMessage&&!_global.importScripts?(defer=function(e){_global.postMessage(e+"","*")},_global.addEventListener("message",listener,!1)):defer=ONREADYSTATECHANGE in _domCreate("script")?function(e){_html.appendChild(_domCreate("script"))[ONREADYSTATECHANGE]=function(){_html.removeChild(this),run.call(e)}}:function(e){setTimeout(_ctx(run,e,1),0)});var _task={set:setTask,clear:clearTask},macrotask=_task.set,Observer=_global.MutationObserver||_global.WebKitMutationObserver,process$3=_global.process,Promise$1=_global.Promise,isNode$1="process"==_cof(process$3),_microtask=function(){var n,r,i,e=function(){var e,t;for(isNode$1&&(e=process$3.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?i():r=void 0,e}}r=void 0,e&&e.enter()};if(isNode$1)i=function(){process$3.nextTick(e)};else if(!Observer||_global.navigator&&_global.navigator.standalone)if(Promise$1&&Promise$1.resolve){var t=Promise$1.resolve(void 0);i=function(){t.then(e)}}else i=function(){macrotask.call(_global,e)};else{var o=!0,a=document.createTextNode("");new Observer(e).observe(a,{characterData:!0}),i=function(){a.data=o=!o}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),n||(n=t,i()),r=t}};function PromiseCapability(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=_aFunction(n),this.reject=_aFunction(r)}var f$3=function(e){return new PromiseCapability(e)},_newPromiseCapability={f:f$3},_perform=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},navigator$1=_global.navigator,_userAgent=navigator$1&&navigator$1.userAgent||"",_promiseResolve=function(e,t){if(_anObject(e),_isObject(t)&&t.constructor===e)return t;var n=_newPromiseCapability.f(e);return(0,n.resolve)(t),n.promise},_redefineAll=function(e,t,n){for(var r in t)_redefine(e,r,t[r],n);return e},SPECIES$1=_wks("species"),_setSpecies=function(e){var t=_global[e];_descriptors&&t&&!t[SPECIES$1]&&_objectDp.f(t,SPECIES$1,{configurable:!0,get:function(){return this}})},ITERATOR$4=_wks("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR$4]();riter.return=function(){SAFE_CLOSING=!0}}catch(e){}var _iterDetect=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var n=!1;try{var r=[7],i=r[ITERATOR$4]();i.next=function(){return{done:n=!0}},r[ITERATOR$4]=function(){return i},e(r)}catch(e){}return n},task=_task.set,microtask=_microtask(),PROMISE="Promise",TypeError$1=_global.TypeError,process$1=_global.process,versions=process$1&&process$1.versions,v8=versions&&versions.v8||"",$Promise=_global[PROMISE],isNode="process"==_classof(process$1),empty=function(){},Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,newPromiseCapability=newGenericPromiseCapability=_newPromiseCapability.f,USE_NATIVE=!!function(){try{var e=$Promise.resolve(1),t=(e.constructor={})[_wks("species")]=function(e){e(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&e.then(empty)instanceof t&&0!==v8.indexOf("6.6")&&-1===_userAgent.indexOf("Chrome/66")}catch(e){}}(),isThenable=function(e){var t;return!(!_isObject(e)||"function"!=typeof(t=e.then))&&t},notify=function(l,n){if(!l._n){l._n=!0;var r=l._c;microtask(function(){for(var c=l._v,u=1==l._s,e=0,t=function(e){var t,n,r,i=u?e.ok:e.fail,o=e.resolve,a=e.reject,s=e.domain;try{i?(u||(2==l._h&&onHandleUnhandled(l),l._h=1),!0===i?t=c:(s&&s.enter(),t=i(c),s&&(s.exit(),r=!0)),t===e.promise?a(TypeError$1("Promise-chain cycle")):(n=isThenable(t))?n.call(t,o,a):o(t)):a(c)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);l._c=[],l._n=!1,n&&!l._h&&onUnhandled(l)})}},onUnhandled=function(o){task.call(_global,function(){var e,t,n,r=o._v,i=isUnhandled(o);if(i&&(e=_perform(function(){isNode?process$1.emit("unhandledRejection",r,o):(t=_global.onunhandledrejection)?t({promise:o,reason:r}):(n=_global.console)&&n.error&&n.error("Unhandled promise rejection",r)}),o._h=isNode||isUnhandled(o)?2:1),o._a=void 0,i&&e.e)throw e.v})},isUnhandled=function(e){return 1!==e._h&&0===(e._a||e._c).length},onHandleUnhandled=function(t){task.call(_global,function(){var e;isNode?process$1.emit("rejectionHandled",t):(e=_global.onrejectionhandled)&&e({promise:t,reason:t._v})})},$reject=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),notify(t,!0))},$resolve=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw TypeError$1("Promise can't be resolved itself");(n=isThenable(e))?microtask(function(){var t={_w:r,_d:!1};try{n.call(e,_ctx($resolve,t,1),_ctx($reject,t,1))}catch(e){$reject.call(t,e)}}):(r._v=e,r._s=1,notify(r,!1))}catch(e){$reject.call({_w:r,_d:!1},e)}}};USE_NATIVE||($Promise=function(e){_anInstance(this,$Promise,PROMISE,"_h"),_aFunction(e),Internal.call(this);try{e(_ctx($resolve,this,1),_ctx($reject,this,1))}catch(e){$reject.call(this,e)}},Internal=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Internal.prototype=_redefineAll($Promise.prototype,{then:function(e,t){var n=newPromiseCapability(_speciesConstructor(this,$Promise));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=isNode?process$1.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&¬ify(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),OwnPromiseCapability=function(){var e=new Internal;this.promise=e,this.resolve=_ctx($resolve,e,1),this.reject=_ctx($reject,e,1)},_newPromiseCapability.f=newPromiseCapability=function(e){return e===$Promise||e===Wrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)}),_export(_export.G+_export.W+_export.F*!USE_NATIVE,{Promise:$Promise}),_setToStringTag($Promise,PROMISE),_setSpecies(PROMISE),Wrapper=_core[PROMISE],_export(_export.S+_export.F*!USE_NATIVE,PROMISE,{reject:function(e){var t=newPromiseCapability(this);return(0,t.reject)(e),t.promise}}),_export(_export.S+_export.F*(_library||!USE_NATIVE),PROMISE,{resolve:function(e){return _promiseResolve(_library&&this===Wrapper?$Promise:this,e)}}),_export(_export.S+_export.F*!(USE_NATIVE&&_iterDetect(function(e){$Promise.all(e).catch(empty)})),PROMISE,{all:function(e){var a=this,t=newPromiseCapability(a),s=t.resolve,c=t.reject,n=_perform(function(){var r=[],i=0,o=1;_forOf(e,!1,function(e){var t=i++,n=!1;r.push(void 0),o++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--o||s(r))},c)}),--o||s(r)});return n.e&&c(n.v),t.promise},race:function(e){var t=this,n=newPromiseCapability(t),r=n.reject,i=_perform(function(){_forOf(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}});var $includes=_arrayIncludes(!0);_export(_export.P,"Array",{includes:function(e){return $includes(this,e,1o.createEvent("Event").timeStamp&&(yn=function(){return _n.now()})}function bn(){var e,t;for(yn(),gn=!0,fn.sort(function(e,t){return e.id-t.id}),mn=0;mne.id;)n--;fn.splice(n+1,0,e)}else fn.push(e);vn||(vn=!0,Ye(bn))}}(this)},kn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||b(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){De(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},kn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},kn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},kn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||k(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var wn={enumerable:!0,configurable:!0,get:D,set:D};function xn(e,t,n){wn.get=function(){return this[t][n]},wn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,wn)}function Cn(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var i=n.$options.propsData||{},o=n._props={},a=n.$options._propKeys=[];n.$parent&&_e(!1);var e=function(e){a.push(e);var t=Pe(e,r,i,n);ke(o,e,t),e in n||xn(n,"_props",e)};for(var t in r)e(t);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?D:m(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?Tn(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&f(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&xn(e,"_data",o))}var a;Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ee();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new kn(e,a||D,D,On)),i in e||En(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Q&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;iparseInt(this.max)&&Gn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Xn=Un,Jn={get:function(){return R}},Object.defineProperty(Xn,"config",Jn),Xn.util={warn:oe,extend:N,mergeOptions:Ae,defineReactive:ke},Xn.set=we,Xn.delete=xe,Xn.nextTick=Ye,Xn.observable=function(e){return Se(e),e},Xn.options=Object.create(null),j.forEach(function(e){Xn.options[e+"s"]=Object.create(null)}),N((Xn.options._base=Xn).options.components,Qn),Xn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1