You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/08/24 08:25:13 UTC

[07/13] incubator-weex git commit: * [jsfm] release v0.21.11

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90fac505/packages/weex-js-framework/index.min.js
----------------------------------------------------------------------
diff --git a/packages/weex-js-framework/index.min.js b/packages/weex-js-framework/index.min.js
index c383a95..462e4fc 100644
--- a/packages/weex-js-framework/index.min.js
+++ b/packages/weex-js-framework/index.min.js
@@ -1 +1,8 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.21.8, Build 2017-08-10 14:43."),this.getJSFMVersion=function(){return"0.21.8"};var 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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=qi(t),this.reject=qi(n)}function r(){Ma.forEach(function(e){var t=Ma.indexOf(e);$a[e]={},Ma.forEach(function(n){Ma.indexOf(n)<=t&&($a[e][n]=!0)})})}function o(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return $a[t]&&$a[t][e]}function i(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringi
 fy(e):String(e)})}function a(){if(void 0===setTimeout&&"function"==typeof Fa){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Fa(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function s(){Object.freeze(Object),Object.freeze(Array),u(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),c(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function u(){var e=Object.prototype,t="Object.prototype";l(e,"__defineGetter__",t),l(e,"__defineSetter__",t),l(e,"__lookupGetter__",t),l(e,"__lookupSetter__",t),l(e,"constructor",t),l(e,"hasOwnProperty",t),l(e,"isPrototypeOf",t),l(e,"propertyIsEnumerable",t),l(e,"toLocaleString",t),l(e,"toString",t),l(e,"valueOf",t),Object.seal(e)}function c(){var e=Error.prototype,t="Error.prototype";l(e,"name",t),l(e,"message",t),l(e,"toString",t),l(e,"constructor",t),Object.seal(e)}function l(e,t,n){if(e.hasOwnPro
 perty(t)){var r=e[t];Object.defineProperty(e,t,{get:function(){return r},set:function(r){if(this===e)throw Error("Cannot assign to read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function f(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function p(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 d(e){if("function"!=typeof atob)return new ArrayBuffer(0);var t=atob(e),n=new Uint8Array(t.length);return Array.prototype.forEach.call(t,function(e,t){n[t]=e.charCodeAt(0)}),n.buffer}function h(e){var t=f(e);switch(t){case"Undefined":case"Null":return"";case"RegExp":return e.toString();case"Date":return e.toISOString();case"Number":case"String":case"Boolean":return e;case"Array":return e.map(h);case"Object":var n={};for(var r in e)n[r]=h(e[r]);return n;case"ArrayBuffer":return{"@type":"binary",dataTy
 pe:t,base64:p(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:p(e.buffer)};default:return JSON.stringify(e)}}function v(e){if("Object"===f(e)){if(e["@type"]&&"binary"===e["@type"])return d(e.base64||"");var t={};for(var n in e)t[n]=v(e[n]);return t}return"Array"===f(e)?e.map(v):e}function y(e,t){e&&(Ba[e]=t)}function m(e){return Ba[e]}function _(e){delete Ba[e]}function g(e){var t=Ba[e];return t&&t.taskCenter?t.taskCenter:null}function b(){return(Ua++).toString()}function w(e,t,n){var r=e.documentElement;if(!(r.pureChildren.length>0||t.parentNode)){var o=r.children,i=o.indexOf(n);i<0?o.push(t):o.splice(i,0,t),1===t.nodeType?("body"===t.role?(t.docId=e.id,t.ownerDocument=e,t.parentNode=r,C(t,r)):(t.children.forEach(function(e){e.parentNode=t}),O(e,t),t.docId=e.id,t.ownerDocument=e,C(t,r),delete e.nodeMap[t.nodeId]),r.pureCh
 ildren.push(t),E(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function E(e,t){var n=t.toJSON(),r=n.children;delete n.children;var o=e.taskCenter.send("dom",{action:"createBody"},[n]);return r&&r.forEach(function(t){o=e.taskCenter.send("dom",{action:"addElement"},[n.ref,t,-1])}),o}function O(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function C(e,t){e.parentNode=t,t.docId&&(e.docId=t.docId,e.ownerDocument=t.ownerDocument,e.ownerDocument.nodeMap[e.nodeId]=e,e.depth=t.depth+1),e.children.forEach(function(t){C(t,e)})}function S(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function x(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function k(e,t,n,r){n<0&&(n=0);var o=t[n-1],i=t[n];return t.splice(n,0,e),r&&(o&&(o.nextSibling=e),e.previousSibling=o,e.nextSibling=i,i&&(i.previousSibling=e)),n}function j(e,t,n,r){var o=t.indexOf(e);if(o<0)return-1;if(r){var i=t[o-1],a=t[o+1];i&&(i.nextSibling=a),a&&(a.previousSibling
 =i)}t.splice(o,1);var s=n;o<=n&&(s=n-1);var u=t[s-1],c=t[s];return t.splice(s,0,e),r&&(u&&(u.nextSibling=e),e.previousSibling=u,e.nextSibling=c,c&&(c.previousSibling=e)),o===s?-1:n}function A(e,t,n){var r=t.indexOf(e);if(!(r<0)){if(n){var o=t[r-1],i=t[r+1];o&&(o.nextSibling=i),i&&(i.previousSibling=o)}t.splice(r,1)}}function T(){this.nodeId=b(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function I(e,t){if(t&&t.length){var n=function(t){Va.call(this,e,t,!0)};n.prototype=Object.create(Va.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:!1,value:Va}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=g(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),za[e]=n}}function N(e,t,n){void 0===e&&(e=Wa);var r=za[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.
 nodeId=b(),this.ref=this.nodeId,this.type=e,this.attr=t.attr||{},this.style=t.style||{},this.classStyle=t.classStyle||{},this.event={},this.children=[],this.pureChildren=[]}function P(e,t){m(e).nodeMap[t.nodeId]=t}function M(){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},t=Ha.prototype;for(var n in e)!function(n){var r=e[n];t[n]=r?function(e,t){return r.apply(void 0,[e].concat(t))}:function(e,t){return Ja(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ja(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){retu
 rn Ja(e,[{module:t,method:n,args:r}])}}function $(e,t){D(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Ka.push({name:e,options:t}))}function R(e){Ka.some(function(t,n){if(t.name===e)return Ka.splice(n,1),!0})}function D(e){return F(e)>=0}function F(e){return Ka.map(function(e){return e.name}).indexOf(e)}function L(e){var t,n=Za.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function B(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Ka.forEach(function(o){o.name;var i=o.options.create;if(i){var a=i(e,t,n);Object.assign(r.service,a),Object.assign(r,a.instance)}}),delete r.service.instance,Object.freeze(r.service),r}function U(e){Ya[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&V(t[0]);for(var r in Ga){var o=Ga[r];o&&o[e]&&o[e].apply(o,t)}}}function V(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&I(e.type,e.methods)})}function z(e){Ya[e]=function(){
 for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Qa[r];if(o&&Ga[o.framework]){var i=(a=Ga[o.framework])[e].apply(a,t);return"refreshInstance"===e?Ka.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Xa})}):"destroyInstance"===e&&(Ka.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Xa})}),delete Qa[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function W(e,t){Ya[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Qa[r];return o&&Ga[o.framework]?(i=Ga[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function q(e){this.nodeType=8,this.nodeId=b(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function J(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 b
 e a function")}function H(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function G(e,t){var n=t||global.callNative;return"function"!=typeof n&&console.error("[JS Runtime] no default handler"),function(t){Array.isArray(t)||(t=[t]);for(var r=0;r<t.length;r++){var o=K(e,t[r],n);if(-1===o)return o}}}function X(e,t){return"dom"===e&&es[t]&&"function"==typeof global[es[t]]}function K(e,t,n){var r=t.module,o=t.method,i=t.args;return X(r,o)?global[es[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function Z(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,y(e,this),this.nodeMap={};var r=Z.Listener||J;this.listener=new r(e,n||G(e,Z.handler)),this.taskCenter=new Ha(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:Z.handler),this.createDocumentElement()}function Q(e,t){var n=t.attrs||{};for(var r in n)e.setAttr(r,n[r],!0);var o=t.style||{};for(var i in o)e.setStyle(i,o[i],!0)}function Y(e,t){void 0===t&&(t={}),this.typ
 e=e||"message",this.data=t.data||null,this.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}function ee(){}function te(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&te.apply(void 0,[e].concat(t))}return e}function ne(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function re(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function oe(e,t){return ks.call(e,t)}function ie(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function ae(e){return null!==e&&"object"==typeof e}function se(e){return js.call(e)===As}function ue(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function ce(){return"object"==typeof nativeSet?nativeSet.create():new is}function le(e){v
 ar t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function fe(e){return e.replace(Is,"").replace(Ns,"")}function pe(e){return e.replace(Ms,"")}function de(){this.id=Ls++,this.subs=[]}function he(e){de.target&&Bs.push(de.target),de.target=e}function ve(){de.target=Bs.pop()}function ye(){de.target=null,Bs=[]}function me(e,t,n,r){r&&te(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Us,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=ce(),this.newDepIds=ce(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function _e(e,t){var n,r,o,i;if(t||(t=Vs).clear(),o=Array.isArray(e),i=ae(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)_e(e[n],t);else if(i)for(n=(r=Object.keys(e)).length;n--;)_e(e[r[n]],t)}}function ge(e){this.value=e,this.dep=new de,ne(e,"__ob__",this),Array.isArray(e)?((Ts
 ?be:we)(e,Ws,qs),this.observeArray(e)):this.walk(e)}function be(e,t){e.__proto__=t}function we(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];ne(e,i,t[i])}}function Ee(e,t){if(ae(e)){var n;return oe(e,"__ob__")&&e.__ob__ instanceof ge?n=e.__ob__:(Array.isArray(e)||se(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ge(e)),n&&t&&n.addVm(t),n}}function Oe(e,t,n){var r=new de,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ee(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(de.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ee(t),r.notify())}})}}function Ce(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(oe(e,t))e[t]=n;else if(e._isVue)Ce(e._data,t,n);else{var r=e.__ob__;if(r){if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms
 .length;o--;)Se(r.vms[o],t);return n}e[t]=n}}function Se(e,t){(Js.indexOf(t)>-1||!ue(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function xe(e,t){ue(t)||delete e[t]}function ke(e){e._watchers=[],je(e),Te(e),Ne(e)}function je(e){var t=e._data;se(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)Se(e,n[r]);Ee(t,e)}function Ae(){}function Te(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ie(r,e),o.set=Ae):(o.get=r.get?!1!==r.cache?Ie(r.get,e):ie(r.get,e):Ae,o.set=r.set?ie(r.set,e):Ae),Object.defineProperty(e,n,o)}}function Ie(e,t){var n=new me(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),de.target&&n.depend(),n.value}}function Ne(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Pe(e){var t=e.type,n=Gs[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===le(e[r])&&"object"==
 =le(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function Me(e,t,n){Be(e,t,n.id,e),Ue(e,t,n.attr),ze(e,t,n.classList),We(e,t,n.style),Je(e,t,n.events)}function $e(e,t,n,r){t=t||{},n=n||{};var o=(t._options||{}).props;Array.isArray(o)&&(o=o.reduce(function(e,t){return e[t]=!0,e},{})),De(r,o,e,t),De(n.attr,o,e,t)}function Re(e,t,n,r){void 0===r&&(r={}),Le(n.classList,e,t),Fe(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function De(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=Xe(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function Fe(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=Xe(t,o,function(e){n._rootEl&&n._rootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function Le(e,t,n){function r(e,t){"array"===le(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.cla
 ssStyle,"function"==typeof e){var a=Xe(t,e,function(e){r(e,i),Ve(n._rootEl,o,e)});r(a,i),Ve(n._rootEl,o,a)}else null!=e&&(r(e,i),Ve(n._rootEl,o,e))}}function Be(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;((n=i.call(e))||0===n)&&(e._ids[n]=o),Xe(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function Ue(e,t,n){He(e,t,"attr",n)}function Ve(e,t,n){"string"==typeof n&&(n=n.split(/\s+/)),n.forEach(function(e,t){n.splice.apply(n,[t,1].concat(e.split(/\s+/)))});for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ze(e,t,n){if("function"==typeof n||Array.isArray(n))if(!Array.isArray(n)||n.length){var r=e._options&&e._options.style||{};if("function"==typeof n){var o=Xe(e,n,function(e){Ve(t,r,e)});Ve(t,r,o)}else Ve(t,r,n)}e
 lse t.setClassStyle({})}function We(e,t,n){He(e,t,"style",n)}function qe(e,t,n,r){t.addEvent(n,ie(r,e))}function Je(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),qe(e,t,i,a)}}function He(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?Ge(e,t,n,a,s):t[Xs[n]](a,s)}}function Ge(e,t,n,r,o){var i=Xs[n],a=Xe(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function Xe(e,t,n){return e._static?t.call(e,e):new me(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function Ke(e,t){return e._app.doc.createBody(t)}function Ze(e,t){return e._app.doc.createElement(t)}function Qe(e,t){var n=Ye(e),r=et(e),o=Ks++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.ele
 ment.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function Ye(e){return e._app.doc.createComment("start")}function et(e){return e._app.doc.createComment("end")}function tt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=nt(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function nt(e,t,n){return t.element?ot(t,n):rt(t,n)}function rt(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function ot(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);var a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function it(e,t,n){void 0===n&&(n=!1),t.element?st(t,n):at(t),t._vm&&t._
 vm.$emit("hook:destroyed")}function at(e){var t=e.parentNode;t&&t.removeChild(e)}function st(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||at(e.start),n.forEach(function(e){at(e)}),t||at(e.end)}function ut(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?ct(e,n.children[0],e._parentEl):ct(e,n.children,e._parentEl):ct(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function ct(e,t,n,r){if(-1!==(e._app||{}).lastSignal)if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),lt(t))yt(e,t,n,r);else{if(r=r||{},ft(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=Qe(e,n));if(pt(t,r))return console.debug('[JS Framework] compile "repeat" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):mt(e,t,n));if(dt(t,r))return consol
 e.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):_t(e,t,n,r));var o=r.type||t.type;if(ht(o,r))gt(e,t,n,o,r);else{var i=o,a=vt(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),wt(e,t,n,i)}}}function lt(e){return Array.isArray(e)}function ft(e){return"content"===e.type||"slot"===e.type}function pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function dt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function ht(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function vt(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(r=e._options.components[n]),t.component&&(r=r||{}),r}function yt(e,t,n,r){var o=Qe(e,n);t.forEach(function(t){ct(e,t,o,r)})}function mt(e,t,n){var r=t.repeat,o="fu
 nction"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=Qe(e,n);c.children=[],c.data=[],c.vms=[],Ot(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function _t(e,t,n,r){var o={shown:!0},i=Qe(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Ct(e,t,i,o)}function gt(e,t,n,r,o){var i=te({type:r.call(e)},o),a=Qe(e,n);n.element&&n.children&&n.children.push(a),Xe(e,r,function(n){var r=te({type:n},o);it(e,a,!0),ct(e,t,a,r)}),ct(e,t,a,i)}function bt(e,t,n,r,o,i){var a=new(0,e.constructor)(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),Be(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){$e(e,this,n,i.repeat)},"hook:ready":function(){this._content&&Et(e,n,this._content)}});Re(e,a,n,r)}function wt(e,t,n,r){Pe(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Fr
 amework] compile to create body for "+r),o=Ke(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=Ze(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.events&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,ie(c,s))}}Me(e,o,t),t.attr&&t.attr.append&&(t.append=t.attr.append),t.append&&(o.attr=o.attr||{},o.attr.append=t.append);var l="tree"===t.append,f=e._app||{};-1===f.lastSignal||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=tt(e,o,n)),-1!==f.lastSignal&&Et(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=tt(e,o,n))}function Et(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return ct(e,t,n),-1!==r.lastSignal})}function Ot(e,t,n,r){function o(e,r,o){var a;c?(a=e,ae(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "IN
 DEX" in repeat is deprecated, please use "$index" instead')}})):(console.warn("[JS Framework] Each list item must be an object in old-style repeat, please use `repeat={{v in list}}` instead."),(a={})[l]=r,a[f]=e)):((a={})[l]=r,a[f]=e);var s=xt(o,a);i.push(s),ct(s,t,n,{repeat:e})}var i=n.vms,a=n.children,s=r.getter,u=r.trackBy,c=r.oldStyle,l=r.key,f=r.value,p=St(e,n,s,"repeat",function(t){if(console.debug('[JS Framework] the "repeat" item has changed',t),n&&t){var r=a.slice(),s=i.slice(),p=n.data.slice(),d={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(d[n]=e)});var v=[];p.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;d.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):it(e,r[n])}),a.length=0,i.length=0,n.data=t.slice(),n.updateMark=n.start,t.forEach(function(t,r){var s=u?t[u]:c?t[l]:r,p=h[s];p?(p.item===v[0]?v.shift():(v.$remove(p.item),nt(e,p.target,n.updateMark,!0)),a.push(p.target),i.push(p.vm),c?p.vm=t:p.vm[f]=t,p.vm[l]=r,n.upda
 teMark=p.target):o(t,r,e)}),delete n.updateMark}});n.data=p.slice(0),p.forEach(function(t,n){o(t,n,e)})}function Ct(e,t,n,r){var o=St(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was changed',o),n&&!!n.display!=!!o&&(n.display=!!o,o?ct(e,t,n,r):it(e,n,!0))});n.display=!!o,o&&ct(e,t,n,r)}function St(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return Xe(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestValue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function xt(e,t){var n=Object.create(e);return n._data=t,je(n),Te(n),n._realParent=e,e._static&&(n._static=e._static),n}function kt(e,t){if(t instanceof kt)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},this.hasStopped=function(){return n}}function jt(e,t){var n=this,r=this._vmEvents[e];if(r){var o=new kt(e,t);r.forEach(function(e){e.call(n,o)})}}function At(e,t){var n=ne
 w kt(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Tt(e,t){var n=new kt(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function It(e,t){if(e&&"function"==typeof t){var n=this._vmEvents,r=n[e]||[];r.push(t),n[e]=r,"hook:ready"===e&&this._ready&&this.$emit("hook:ready")}}function Nt(e,t){if(e){var n=this._vmEvents;if(t){var r=n[e];r&&r.$remove(t)}else delete n[e]}}function Pt(e,t){var n=e._options||{},r=n.events||{};for(var o in r)e.$on(o,r[o]);for(var i in t)e.$on(i,t[i]);Zs.forEach(function(t){e.$on("hook:"+t,n[t])})}function Mt(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._realParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customComponentMap&&(t=this._app.customComponentMap[e]);var a=(t=t||{}).data||{};this._options=t,this._methods=t.methods||{},this._computed=t.computed||{},this._css=t.style||{},this._ids
 ={},this._vmEvents={},this._childrenVms=[],this._type=e,Pt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._type+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&te(this._data,o),ke(this),console.debug('[JS Framework] "created" lifecycle in Vm('+this._type+")"),this.$emit("hook:created"),this._created=!0,t.methods&&t.methods.ready&&(console.warn('"exports.methods.ready" is deprecated, please use "exports.created" instead'),t.methods.ready.call(this)),this._app.doc&&(this._parentEl=r||this._app.doc.documentElement,ut(this))}function $t(e,t){for(var n in e)!function(n){var r=Qs[n];r||(r={},Qs[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function Rt(e,t){var n=e.prototype;for(var r in t)n.hasOwnProperty(r)||(n[r]=t[r])}function Dt(e,t){var n=Qs[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(var 
 r=[],o=arguments.length;o--;)r[o]=arguments[o];return e.callTasks({module:t,method:n,args:r})}},set:function(r){if("function"==typeof r)return e.callTasks({module:t,method:n,args:[r]})}})}(o);return r}function Ft(e,t){return e.customComponentMap[t]}function Lt(e,t,n){var r=e.customComponentMap;r[t]?console.error("[JS Framework] define a component("+t+") that already exists"):r[t]=n}function Bt(e){if(Ys.valid(e))return e;for(var t=(e="string"==typeof e?e:"").split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function Ut(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),o.indexOf("osversion")>=0?r.code=1001:o.indexOf("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r}function Vt(e,t){t=se(t=t||global.WXEnvironment)?t:{};var n={isDowngrade:!1};if
 ("function"===le(e)){var r=e.call(this,t,{semver:Ys,normalizeVersion:Bt});n=(r=!!r)?Ut("custom","","custom params"):n}else{var o=(e=se(e)?e:{})[(t.platform||"unknow").toLowerCase()]||{};for(var i in t){var a=i,s=a.toLowerCase(),u=t[i],c=s.indexOf("version")>=0,l=s.indexOf("devicemodel")>=0,f=o[i];if(f&&c){var p=Bt(f),d=Bt(t[i]);if(Ys.satisfies(d,p)){n=Ut(a,u,f);break}}else if(l&&("array"===le(f)?f:[f]).indexOf(u)>=0){n=Ut(a,u,f);break}}}return n}function zt(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function Wt(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if($s(t))o=fe(t);else{if(!Fs(t))return new Error("Wrong component name: "+t);if(o=pe(t),!Ft(e,o))return new Error("It's not a component: "+t)}if("string"==typeof(n=se(n)?n:{}).transformerVersion&&"string"==typeof global.transformerVersion&&!Ys.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transf
 ormerVersion+" not compatible with "+global.transformerVersion);var i=Vt(n.downgrade);if(i.isDowngrade)return e.callTasks([{module:"instanceWrap",method:"error",args:[i.errorType,i.code,i.errorMessage]}]),new Error("Downgrade["+i.code+"]: "+i.errorMessage);n.viewport&&zt(e,n.viewport),e.vm=new Mt(o,null,{_app:e},null,r)}function qt(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),Lt(e,t,n)}function Jt(e,t){console.debug("[JS Framework] Refresh with",t,"in instance["+e.id+"]");var n=e.vm;return n&&t?("function"==typeof n.refreshData?n.refreshData(t):te(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function Ht(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.vm&&Gt(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.taskCenter.destroyCallback(),e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null}function Gt(e){if(delet
 e e._app,delete e._computed,delete e._css,delete e._data,delete e._ids,delete e._methods,delete e._options,delete e._parent,delete e._parentEl,delete e._rootEl,e._watchers){for(var t=e._watchers.length;t--;)e._watchers[t].teardown();delete e._watchers}if(e._childrenVms){for(var n=e._childrenVms.length;n--;)Gt(e._childrenVms[n]);delete e._childrenVms}console.debug('[JS Framework] "destroyed" lifecycle in Vm('+e._type+")"),e.$emit("hook:destroyed"),delete e._type,delete e._vmEvents}function Xt(e){var t=(e.doc||{}).body||{};return t.toJSON?t.toJSON():{}}function Kt(e,t,n,r,o){console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")");{if(!Array.isArray(t)){var i=e.doc.getRef(t);if(i){var a=e.doc.fireEvent(i,n,r,o);return e.differ.flush(),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),a}return new Error('invalid element reference "'+t+'"')}t.some(function(t){return!1!==Kt(e,t,n,r)})}}function Zt(e,t,n,r){console.debug("[JS Framework] Invoke 
 a callback("+t+") with",n,"in instance("+e.id+")");var o=e.doc.taskCenter.callback(t,n,r);return Qt(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function Qt(e){e.differ.flush()}function Yt(e,t){var n;return"array"!==le(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function en(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return eu.apply(void 0,[e].concat(t))},a=function(t,r,i){o=Wt(e,t,r,i||n),Qt(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=Mt,u=e.doc,c=function(t){return e.requireModule(fe(t))},l={config:e.options,define:i,bootstrap:a,requireModule:c,document:u,Vm:s};Object.freeze(l);var f;"function"==typeof t?f=t.toString().substr(12):t&&(f=t.toString()),f='(function(global){\n\n"use strict";\n\n '+f+" \n\n})(Object.create(this))";var p=gl
 obal.WXEnvironment,d={};if(p&&"Web"!==p.platform){var h=e.requireModule("timer");Object.assign(d,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return h.setTimeout(function(){t[0].apply(t,t.slice(2))},t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return h.setInterval(function(){t[0].apply(t,t.slice(2))},t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){h.clearTimeout(e)},clearInterval:function(e){h.clearInterval(e)}})}var v=Object.assign({define:i,require:function(t){return function(n){o=Wt(e,t,{},n)}},bootstrap:a,register:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return qt.apply(void 0,[e].concat(t))},render:function(t,n){o=Wt(e,t,{},n)},__weex_define__:i,__weex_bootstrap__:a,__weex_document__:u,__weex_require__:c,__weex_viewmodel__:s,weex:l},d,r);return nn(v,f)||tn(v,f),o}function tn(e,t){v
 ar n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function nn(e,t){if("function"!=typeof compileAndRunBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=(e.weex||{}).config||{};(n=compileAndRunBundle(o,c.bundleUrl,c.bundleDigest,c.codeCachePath))&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function rn(e,t){var n=e[t];for(var r in n)n[r]()}function on(e,t){var n=e[t];for(var r in n)n[r].forEach(function(e){e()})}function an(e,t){this.id=e,this.options=t||{},this.vm=null,this.customComponentMap={},this.commonModules={},this.doc=new Hs.Document(e,this.options.bundleUrl,null,Hs.Listener),this.differ=new tu(e)}function sn(e){"object"==typeof e&&Rt(Mt,e)}var un={browser:"0.5.0",framework:"0.21.8","vue-render":"0.12.
 3",transformer:">=0.1.5 <0.5"};Array.from||(Array.from=function(){var e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},n=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},r=Math.pow(2,53)-1,o=function(e){var t=n(e);return Math.min(Math.max(t,0),r)};return function(e){var n=this,r=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var s,u=o(r.length),c=t(n)?Object(new n(u)):new Array(u),l=0;l<u;)s=r[l],c[l]=a?void 0===i?a(s,l):a.call(i,s,l):s,l+=1;return c.length=u,c}}());var cn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},ln=t(function(e){var t=e.exports="undefined"!=typeof windo
 w&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),fn=t(function(e){var t=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=t)}),pn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},dn=pn,hn=function(e){if(!dn(e))throw TypeError(e+" is not an object!");return e},vn=function(e){try{return!!e()}catch(e){return!0}},yn=!vn(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),mn=pn,_n=ln.document,gn=mn(_n)&&mn(_n.createElement),bn=function(e){return gn?_n.createElement(e):{}},wn=!yn&&!vn(function(){return 7!=Object.defineProperty(bn("div"),"a",{get:function(){return 7}}).a}),En=pn,On=hn,Cn=wn,Sn=function(e,t){if(!En(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!En(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!En(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!En(r=n.call(e)))return r;throw TypeError("Can't conver
 t object to primitive value")},xn=Object.defineProperty,kn={f:yn?Object.defineProperty:function(e,t,n){if(On(e),t=Sn(t,!0),On(n),Cn)try{return xn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},jn=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},An=kn,Tn=jn,In=yn?function(e,t,n){return An.f(e,t,Tn(1,n))}:function(e,t,n){return e[t]=n,e},Nn={}.hasOwnProperty,Pn=function(e,t){return Nn.call(e,t)},Mn=0,$n=Math.random(),Rn=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Mn+$n).toString(36))},Dn=t(function(e){var t=ln,n=In,r=Pn,o=Rn("src"),i=Function.toString,a=(""+i).split("toString");fn.inspectSource=function(e){return i.call(e)},(e.exports=function(e,i,s,u){var c="function"==typeof s;c&&(r(s,"name")||n(s,"name",i)),e[i]!==s&&(c&&(r(s,o)||n(s,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=s:u?e[i]?e[i]=s:n(e,i,s):(delete e[i],n(e,i,s)))})(Function.prototype,"toString
 ",function(){return"function"==typeof this&&this[o]||i.call(this)})}),Fn=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Ln=Fn,Bn=function(e,t,n){if(Ln(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},Un=ln,Vn=fn,zn=In,Wn=Dn,qn=Bn,Jn=function(e,t,n){var r,o,i,a,s=e&Jn.F,u=e&Jn.G,c=e&Jn.S,l=e&Jn.P,f=e&Jn.B,p=u?Un:c?Un[t]||(Un[t]={}):(Un[t]||{}).prototype,d=u?Vn:Vn[t]||(Vn[t]={}),h=d.prototype||(d.prototype={});u&&(n=t);for(r in n)i=((o=!s&&p&&void 0!==p[r])?p:n)[r],a=f&&o?qn(i,Un):l&&"function"==typeof i?qn(Function.call,i):i,p&&Wn(p,r,i,e&Jn.U),d[r]!=i&&zn(d,r,a),l&&h[r]!=i&&(h[r]=i)};Un.core=Vn,Jn.F=1,Jn.G=2,Jn.S=4,Jn.P=8,Jn.B=16,Jn.W=32,Jn.U=64,Jn.R=128;var Hn=Jn,Gn={}.toString,Xn=function(e){return Gn.call(e).slice(8,-1)},Kn=Xn,Zn=Object("z").propertyIsEnumerable
 (0)?Object:function(e){return"String"==Kn(e)?e.split(""):Object(e)},Qn=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Yn=Zn,er=Qn,tr=function(e){return Yn(er(e))},nr=Math.ceil,rr=Math.floor,or=function(e){return isNaN(e=+e)?0:(e>0?rr:nr)(e)},ir=or,ar=Math.min,sr=function(e){return e>0?ar(ir(e),9007199254740991):0},ur=or,cr=Math.max,lr=Math.min,fr=tr,pr=sr,dr=function(e,t){return(e=ur(e))<0?cr(e+t,0):lr(e,t)},hr=ln,vr=hr["__core-js_shared__"]||(hr["__core-js_shared__"]={}),yr=function(e){return vr[e]||(vr[e]={})},mr=yr("keys"),_r=Rn,gr=function(e){return mr[e]||(mr[e]=_r(e))},br=Pn,wr=tr,Er=function(e){return function(t,n,r){var o,i=fr(t),a=pr(i.length),s=dr(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}}(!1),Or=gr("IE_PROTO"),Cr="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Sr=function(e,t){var n,r=wr(e),o=0,i=[];f
 or(n in r)n!=Or&&br(r,n)&&i.push(n);for(;t.length>o;)br(r,n=t[o++])&&(~Er(i,n)||i.push(n));return i},xr=Cr,kr=Object.keys||function(e){return Sr(e,xr)},jr=Qn,Ar=function(e){return Object(jr(e))},Tr=kr,Ir={f:Object.getOwnPropertySymbols},Nr={f:{}.propertyIsEnumerable},Pr=Ar,Mr=Zn,$r=Object.assign,Rr=!$r||vn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=$r({},e)[n]||Object.keys($r({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Pr(e),o=arguments.length,i=1,a=Ir.f,s=Nr.f;o>i;)for(var u,c=Mr(n[i++]),l=a?Tr(c).concat(a(c)):Tr(c),f=l.length,p=0;f>p;)s.call(c,u=l[p++])&&(r[u]=c[u]);return r}:$r,Dr=Hn;Dr(Dr.S+Dr.F,"Object",{assign:Rr}),Object.setPrototypeOf||(Object.setPrototypeOf=function(e,t){function n(e,t){return r.call(e,t),e}var r;try{(r=e.getOwnPropertyDescriptor(e.prototype,"__proto__").set).call({},null)}catch(t){if(e.prototype!=={}.__proto__||void 0==={__proto__:null}.__proto__)return;r=function(e){t
 his.__proto__=e},n.polyfill=n(n({},null),e.prototype)instanceof e}return n}(Object));var Fr=cn.WXEnvironment;Fr&&"iOS"===Fr.platform&&(cn.Promise=void 0);var Lr=t(function(e){var t=yr("wks"),n=Rn,r=ln.Symbol,o="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),Br=Xn,Ur=Lr("toStringTag"),Vr="Arguments"==Br(function(){return arguments}()),zr=function(e,t){try{return e[t]}catch(e){}},Wr=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=zr(t=Object(e),Ur))?n:Vr?Br(t):"Object"==(r=Br(t))&&"function"==typeof t.callee?"Arguments":r},qr=Wr,Jr={};Jr[Lr("toStringTag")]="z",Jr+""!="[object z]"&&Dn(Object.prototype,"toString",function(){return"[object "+qr(this)+"]"},!0);var Hr=or,Gr=Qn,Xr={},Kr=kn,Zr=hn,Qr=kr,Yr=yn?Object.defineProperties:function(e,t){Zr(e);for(var n,r=Qr(t),o=r.length,i=0;o>i;)Kr.f(e,n=r[i++],t[n]);return e},eo=ln.document,to=eo&&eo.documentElement,no=hn,ro=Yr,oo=Cr,io=gr("IE_PROTO"),
 ao=function(){},so=function(){var e,t=bn("iframe"),n=oo.length;for(t.style.display="none",to.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),so=e.F;n--;)delete so.prototype[oo[n]];return so()},uo=Object.create||function(e,t){var n;return null!==e?(ao.prototype=no(e),n=new ao,ao.prototype=null,n[io]=e):n=so(),void 0===t?n:ro(n,t)},co=kn.f,lo=Pn,fo=Lr("toStringTag"),po=function(e,t,n){e&&!lo(e=n?e:e.prototype,fo)&&co(e,fo,{configurable:!0,value:t})},ho=uo,vo=jn,yo=po,mo={};In(mo,Lr("iterator"),function(){return this});var _o=Pn,go=Ar,bo=gr("IE_PROTO"),wo=Object.prototype,Eo=Object.getPrototypeOf||function(e){return e=go(e),_o(e,bo)?e[bo]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?wo:null},Oo=Hn,Co=Dn,So=In,xo=Pn,ko=Xr,jo=function(e,t,n){e.prototype=ho(mo,{next:vo(1,n)}),yo(e,t+" Iterator")},Ao=po,To=Eo,Io=Lr("iterator"),No=!([].keys&&"next"in[].
 keys()),Po=function(){return this},Mo=function(e,t,n,r,o,i,a){jo(n,t,r);var s,u,c,l=function(e){if(!No&&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)}},f=t+" Iterator",p="values"==o,d=!1,h=e.prototype,v=h[Io]||h["@@iterator"]||o&&h[o],y=v||l(o),m=o?p?l("entries"):y:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=To(_.call(new e)))!==Object.prototype&&c.next&&(Ao(c,f,!0),xo(c,Io)||So(c,Io,Po)),p&&v&&"values"!==v.name&&(d=!0,y=function(){return v.call(this)}),(No||d||!h[Io])&&So(h,Io,y),ko[t]=y,ko[f]=Po,o)if(s={values:p?y:l("values"),keys:i?y:l("keys"),entries:m},a)for(u in s)u in h||Co(h,u,s[u]);else Oo(Oo.P+Oo.F*(No||d),t,s);return s},$o=function(e){return function(t,n){var r,o,i=String(Gr(t)),a=Hr(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}}(!0);Mo(String,"Stri
 ng",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=$o(t,n),this._i+=e.length,{value:e,done:!1})});var Ro=Lr("unscopables"),Do=Array.prototype;void 0==Do[Ro]&&In(Do,Ro,{});var Fo=function(e){Do[Ro][e]=!0},Lo=function(e,t){return{value:t,done:!!e}},Bo=Xr,Uo=tr,Vo=Mo(Array,"Array",function(e,t){this._t=Uo(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,Lo(1)):"keys"==t?Lo(0,n):"values"==t?Lo(0,e[n]):Lo(0,[n,e[n]])},"values");Bo.Arguments=Bo.Array,Fo("keys"),Fo("values"),Fo("entries");for(var zo=Vo,Wo=kr,qo=Dn,Jo=ln,Ho=In,Go=Xr,Xo=Lr,Ko=Xo("iterator"),Zo=Xo("toStringTag"),Qo=Go.Array,Yo={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,Name
 dNodeMap:!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},ei=Wo(Yo),ti=0;ti<ei.length;ti++){var ni,ri=ei[ti],oi=Yo[ri],ii=Jo[ri],ai=ii&&ii.prototype;if(ai&&(ai[Ko]||Ho(ai,Ko,Qo),ai[Zo]||Ho(ai,Zo,ri),Go[ri]=Qo,oi))for(ni in zo)ai[ni]||qo(ai,ni,zo[ni],!0)}var si,ui,ci,li=hn,fi=function(e,t,n,r){try{return r?t(li(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&li(o.call(e)),t}},pi=Xr,di=Lr("iterator"),hi=Array.prototype,vi=function(e){return void 0!==e&&(pi.Array===e||hi[di]===e)},yi=Wr,mi=Lr("iterator"),_i=Xr,gi=fn.getIteratorMethod=function(e){if(void 0!=e)return e[mi]||e["@@iterator"]||_i[yi(e)]},bi=t(function(e){var t=Bn,n=fi,r=vi,o=hn,i=sr,a=gi,s={},u={},c=e.exports=function(e,c,l,f,p){var d,h,v,y,m=p?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof m
 )throw TypeError(e+" is not iterable!");if(r(m)){for(d=i(e.length);d>g;g++)if((y=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||y===u)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=n(v,_,h.value,c))===s||y===u)return y};c.BREAK=s,c.RETURN=u}),wi=hn,Ei=Fn,Oi=Lr("species"),Ci=Bn,Si=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},xi=to,ki=bn,ji=ln,Ai=ji.process,Ti=ji.setImmediate,Ii=ji.clearImmediate,Ni=ji.MessageChannel,Pi=ji.Dispatch,Mi=0,$i={},Ri=function(){var e=+this;if($i.hasOwnProperty(e)){var t=$i[e];delete $i[e],t()}},Di=function(e){Ri.call(e.data)};Ti&&Ii||(Ti=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return $i[++Mi]=function(){Si("function"==typeof e?e:Function(e),n)},si(Mi),Mi}
 ,Ii=function(e){delete $i[e]},"process"==Xn(Ai)?si=function(e){Ai.nextTick(Ci(Ri,e,1))}:Pi&&Pi.now?si=function(e){Pi.now(Ci(Ri,e,1))}:Ni?(ci=(ui=new Ni).port2,ui.port1.onmessage=Di,si=Ci(ci.postMessage,ci,1)):ji.addEventListener&&"function"==typeof postMessage&&!ji.importScripts?(si=function(e){ji.postMessage(e+"","*")},ji.addEventListener("message",Di,!1)):si="onreadystatechange"in ki("script")?function(e){xi.appendChild(ki("script")).onreadystatechange=function(){xi.removeChild(this),Ri.call(e)}}:function(e){setTimeout(Ci(Ri,e,1),0)});var Fi={set:Ti,clear:Ii},Li=ln,Bi=Fi.set,Ui=Li.MutationObserver||Li.WebKitMutationObserver,Vi=Li.process,zi=Li.Promise,Wi="process"==Xn(Vi),qi=Fn,Ji={f:function(e){return new n(e)}},Hi=Ji,Gi=Dn,Xi=ln,Ki=kn,Zi=yn,Qi=Lr("species"),Yi=Lr("iterator"),ea=!1;try{var ta=[7][Yi]();ta.return=function(){ea=!0},Array.from(ta,function(){throw 2})}catch(e){}var na,ra,oa,ia=ln,aa=Bn,sa=Wr,ua=Hn,ca=pn,la=Fn,fa=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r i
 n e)throw TypeError(n+": incorrect invocation!");return e},pa=bi,da=function(e,t){var n,r=wi(e).constructor;return void 0===r||void 0==(n=wi(r)[Oi])?t:Ei(n)},ha=Fi.set,va=function(){var e,t,n,r=function(){var r,o;for(Wi&&(r=Vi.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(Wi)n=function(){Vi.nextTick(r)};else if(Ui){var o=!0,i=document.createTextNode("");new Ui(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(zi&&zi.resolve){var a=zi.resolve();n=function(){a.then(r)}}else n=function(){Bi.call(Li,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),ya=Ji,ma=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},_a=function(e,t){var n=Hi.f(e);return(0,n.resolve)(t),n.promise},ga=ia.TypeError,ba=ia.process,wa=ia.Promise,Ea="process"==sa(ba),Oa=function(){},Ca=ra=ya.f,Sa=!!function(){try{var e=wa.resolve(1),t=(e.constructor={})[Lr("species")]=function(e){e(Oa,Oa)};return(Ea|
 |"function"==typeof PromiseRejectionEvent)&&e.then(Oa)instanceof t}catch(e){}}(),xa=function(e,t){return e===t},ka=function(e){var t;return!(!ca(e)||"function"!=typeof(t=e.then))&&t},ja=function(e,t){if(!e._n){e._n=!0;var n=e._c;va(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&Ia(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(ga("Promise-chain cycle")):(i=ka(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Aa(e)})}},Aa=function(e){ha.call(ia,function(){var t,n,r,o=e._v,i=Ta(e);if(i&&(t=ma(function(){Ea?ba.emit("unhandledRejection",o,e):(n=ia.onunhandledrejection)?n({promise:e,reason:o}):(r=ia.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=Ea||Ta(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},Ta=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if((t=n[r++]).fail||!Ta(t.promise))return!1;return!0},Ia=
 function(e){ha.call(ia,function(){var t;Ea?ba.emit("rejectionHandled",e):(t=ia.onrejectionhandled)&&t({promise:e,reason:e._v})})},Na=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()),ja(t,!0))},Pa=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw ga("Promise can't be resolved itself");(t=ka(e))?va(function(){var r={_w:n,_d:!1};try{t.call(e,aa(Pa,r,1),aa(Na,r,1))}catch(e){Na.call(r,e)}}):(n._v=e,n._s=1,ja(n,!1))}catch(e){Na.call({_w:n,_d:!1},e)}}};Sa||(wa=function(e){fa(this,wa,"Promise","_h"),la(e),na.call(this);try{e(aa(Pa,this,1),aa(Na,this,1))}catch(e){Na.call(this,e)}},(na=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)Gi(e,r,t[r],n);return e}(wa.prototype,{then:function(e,t){var n=Ca(da(this,wa));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Ea?ba.domain:void 0,this._c.push(n),this._a&&this._a.push(n
 ),this._s&&ja(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),oa=function(){var e=new na;this.promise=e,this.resolve=aa(Pa,e,1),this.reject=aa(Na,e,1)},ya.f=Ca=function(e){return xa(wa,e)?new oa(e):ra(e)}),ua(ua.G+ua.W+ua.F*!Sa,{Promise:wa}),po(wa,"Promise"),function(e){var t=Xi[e];Zi&&t&&!t[Qi]&&Ki.f(t,Qi,{configurable:!0,get:function(){return this}})}("Promise"),fn.Promise,ua(ua.S+ua.F*!Sa,"Promise",{reject:function(e){var t=Ca(this);return(0,t.reject)(e),t.promise}}),ua(ua.S+ua.F*!Sa,"Promise",{resolve:function(e){return e instanceof wa&&xa(e.constructor,this)?e:_a(this,e)}}),ua(ua.S+ua.F*!(Sa&&function(e,t){if(!t&&!ea)return!1;var n=!1;try{var r=[7],o=r[Yi]();o.next=function(){return{done:n=!0}},r[Yi]=function(){return o},e(r)}catch(e){}return n}(function(e){wa.all(e).catch(Oa)})),"Promise",{all:function(e){var t=this,n=Ca(t),r=n.resolve,o=n.reject,i=ma(function(){var n=[],i=0,a=1;pa(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(functio
 n(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=Ca(t),r=n.reject,o=ma(function(){pa(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}});var Ma=["off","error","warn","info","log","debug"],$a={},Ra=global.console,Da=global.setTimeout,Fa=global.setTimeoutNative;a();var La=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks={}};La.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},La.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},La.prototype.consume=function(e,t,n){var r=this.callbacks[e];return void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r?r(v(t)):new Error('invalid callback id "'+e+'"')},La.prototype.close=function(){this.callbacks={}};var Ba={},Ua=1;T.prototype.destroy=function(){var e=m(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),th
 is.children.forEach(function(e){e.destroy()})};var Va,za={},Wa="div",qa=["click","longpress","touchstart","touchmove","touchend","panstart","panmove","panend","horizontalpan","verticalpan","swipe"];(N.prototype=Object.create(T.prototype)).constructor=N,function(e){Va=e}(N),Object.assign(N.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(j(e,this.children,this.children.length,!0),1===e.nodeType){var t=j(e,this.pureChildren,this.pureChildren.length),n=g(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(C(e,this),k(e,this.children,this.children.length,!0),this.docId&&P(this.docId,e),1===e.nodeType){k(e,this.pureChildren,this.pureChildren.length);var r=g(this.docId);if(r)return r.send("dom",{action:"addElement"},[this.ref,e.toJSON(),-1])}},insertBefore:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.nextSibling&&e.nextSibling===t))if(e.parentNode){if(j(e,this.children,this.children.in
 dexOf(t),!0),1===e.nodeType){var n=S(t),r=j(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=g(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(C(e,this),k(e,this.children,this.children.indexOf(t),!0),this.docId&&P(this.docId,e),1===e.nodeType){var i=S(t),a=k(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=g(this.docId);if(s)return s.send("dom",{action:"addElement"},[this.ref,e.toJSON(),a])}},insertAfter:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.previousSibling&&e.previousSibling===t))if(e.parentNode){if(j(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=j(e,this.pureChildren,this.pureChildren.indexOf(x(t))+1),r=g(this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(C(e,this),k(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&P(this.docId,e),1===e.nodeType){var o=k(e,this.pureChildren,t
 his.pureChildren.indexOf(x(t))+1),i=g(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(A(e,this.children,!0),1===e.nodeType)){A(e,this.pureChildren);var n=g(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=g(this.docId);e&&this.pureChildren.forEach(function(t){e.send("dom",{action:"removeElement"},[t.ref])}),this.children.forEach(function(e){e.destroy()}),this.children.length=0,this.pureChildren.length=0},setAttr:function(e,t,n){if(this.attr[e]!==t||!1===n){this.attr[e]=t;var r=g(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updateAttrs"},[this.ref,o])}}},setStyle:function(e,t,n){if(this.style[e]!==t||!1===n){this.style[e]=t;var r=g(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updateStyle"},[this.ref,o])}}},setClassStyle:function(e){var t=this;for(var n in this.classStyle)t.classStyle[n]="";Object.assign(this.classStyle,e);
 var r=g(this.docId);r&&r.send("dom",{action:"updateStyle"},[this.ref,this.toStyle()])},addEvent:function(e,t){if(!this.event[e]){this.event[e]=t;var n=g(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=g(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t,n){var r=null,o=!1,i=this.event[e];return i&&t&&(t.stopPropagation=function(){o=!0},r=i.call(this,t)),!o&&n&&qa.includes(e)&&this.parentNode&&this.parentNode.fireEvent&&(t.currentTarget=this.parentNode,this.parentNode.fireEvent(e,t,n)),r},toStyle:function(){return Object.assign({},this.classStyle,this.style)},toJSON:function(){var e={ref:this.ref.toString(),type:this.type,attr:this.attr,style:this.toStyle()},t=Object.keys(this.event);return t.length&&(e.event=t),this.pureChildren.length&&(e.children=this.pureChildren.map(function(e){return e.toJSON()})),e},toString:function(){return"<"+this.type+" attr="+JSON.st
 ringify(this.attr)+" style="+JSON.stringify(this.toStyle())+">"+this.pureChildren.map(function(e){return e.toString()}).join("")+"</"+this.type+">"}});var Ja=function(){},Ha=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new La(e)}),Ja=t||function(){}};Ha.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},Ha.prototype.destroyCallback=function(){return this.callbackManager.close()},Ha.prototype.normalize=function(e){var t=f(e);return e&&e instanceof N?e.ref:e&&e._isVue&&e.$el instanceof N?e.$el.ref:"Function"===t?this.callbackManager.add(e).toString():h(e)},Ha.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,u=t.module,c=t.method;switch(n=n.map(function(e){return o.normalize(e)}),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,c,n,Object.assign({component:a},r));default:r
 eturn this.moduleHandler(this.instanceId,u,c,n,r)}},Ha.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},Ha.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},Ha.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var Ga,Xa,Ka=[],Za=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Qa={},Ya={createInstance:function(e,t,n,r){var o=Qa[e];if(!o){o=L(t)||{},Ga[o.framework]||(o.framework="Weex"),(n=JSON.parse(JSON.stringify(n||{}))).bundleVersion=o.version,n.env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),console.debug("[JS Framework] create an "+o.framework+"@"+n.bundleVersion+" instance from "+n.bundleVersion);var i={info:o,config:n,created:Date.now(),framework:o.framework};return i.services=B(e,i,Xa),Qa[e]=i,Ga[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')},registerService:$,unregisterService:R};(q.prototype=Object.create(T.prototype)).constructor=q,q.pr
 ototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(J.prototype,{createFinish:function(e){return(0,this.handler)([H("createFinish")],e)},updateFinish:function(e){return(0,this.handler)([H("updateFinish")],e)},refreshFinish:function(e){return(0,this.handler)([H("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[H("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return H("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(H("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var t=e.map(function(e){return H("removeElement",[e])});return this.addActions(t)}return this.addActions(H("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(H("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(H("updateAttrs",[e,r]))},setStyle:function(e,t,n){var r={};return r[
 t]=n,this.addActions(H("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(H("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(H("addEvent",[e,t]))},removeEvent:function(e,t){return this.addActions(H("removeEvent",[e,t]))},handler:function(e,t){return t&&t()},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 es={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};Z.handler=null,Object.assign(Z.prototype,{getRef:function(e){return this.nodeMap[e]},open:function(){this.listener.batched=!1},close:function(){this.listener.batched=!0},createDocumentElement:function(){var e=this;if(!this.documentElement){var t=new N("document");t.docId=this.id,t.ownerDocument=this,t.role="documentElement
 ",t.depth=0,t.ref="_documentElement",this.nodeMap._documentElement=t,this.documentElement=t,Object.defineProperty(t,"appendChild",{configurable:!0,enumerable:!0,writable:!0,value:function(t){w(e,t)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){w(e,t,n)}})}return this.documentElement},createBody:function(e,t){return this.body||O(this,new N(e,t)),this.body},createElement:function(e,t){return new N(e,t)},createComment:function(e){return new q(e)},fireEvent:function(e,t,n,r){if(e){(n=n||{}).type=t,n.target=e,n.currentTarget=e,n.timestamp=Date.now(),r&&Q(e,r);var o="true"===this.getRef("_root").attr.bubble;return e.fireEvent(t,n,o)}},destroy:function(){this.taskCenter.destroyCallback(),delete this.listener,delete this.nodeMap,delete this.taskCenter,_(this.id)}});var ts={Document:Z,Element:N,Comment:q,Listener:J,TaskCenter:Ha,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return"function"==typeof callN
 ative?callNative.apply(void 0,e):(global.callNative||function(){}).apply(void 0,e)}};Z.handler=ts.sendTasks;var ns={setNativeConsole:function(){if(r(),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("debug")&&global.nativeLog.apply(global,i(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("log")&&global.nativeLog.apply(global,i(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("info")&&global.nativeLog.apply(global,i(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("warn")&&global.nativeLog.apply(global,i(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("error")&&global.nativeLog.apply(global,i(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,a=console.warn,s=conso
 le.error;console.__ori__={debug:e,log:t,info:n,warn:a,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];o("error")&&console.__ori__.error.apply(console,e)}}},resetNativeConsole:function(){$a={},global.console=Ra},setNativeTimer:a,resetNativeTimer:function(){global.setTimeout=Da,global.setTimeoutCallback=null},service:{register:$,unregister:R,has:D},freezePrototype:function(){s(),Object.freeze(ts.Element),Object.freeze(ts.Comment),Object.f
 reeze(ts.Listener),Object.freeze(ts.Document.prototype),Object.freeze(ts.Element.prototype),Object.freeze(ts.Comment.prototype),Object.freeze(ts.Listener.prototype)},init:function(e){Ga=(Xa=e||{}).frameworks||{},M();for(var t in Ga)Ga[t].init(e);return["registerComponents","registerModules","registerMethods"].forEach(U),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(z),W("receiveTasks","callJS"),Ya},config:ts},rs={},os={};ee.prototype.postMessage=function(e){var t=this;if(this._closed)throw new Error('BroadcastChannel "'+this.name+'" is closed.');var n=rs[this.name];if(n&&n.length)for(var r=0;r<n.length;++r){var o=n[r];o._closed||o===t||"function"==typeof o.onmessage&&o.onmessage(new Y("message",{data:e}))}},ee.prototype.close=function(){var e=this;if(!this._closed&&(this._closed=!0,rs[this.name])){var t=rs[this.name].filter(function(t){return t!==e});t.length?rs[this.name]=t:delete rs[this.name]}};var is,as={BroadcastChannel:{create:function(e,t,n){if(os[e]=
 [],"function"==typeof global.BroadcastChannel)return{};var r={BroadcastChannel:function(t){Object.defineProperty(this,"name",{configurable:!1,enumerable:!0,writable:!1,value:String(t)}),this._closed=!1,this.onmessage=null,rs[this.name]||(rs[this.name]=[]),rs[this.name].push(this),os[e].push(this)}};return r.BroadcastChannel.prototype=ee.prototype,{instance:r}},destroy:function(e,t){os[e].forEach(function(e){return e.close()}),delete os[e]}}},ss={},us={},cs=Object.freeze({init:function(e){ss.Document=e.Document,ss.Element=e.Element,ss.Comment=e.Comment,ss.sendTasks=e.sendTasks},registerComponents:function(e){},registerModules:function(e){},registerMethods:function(e){},prepareInstance:function(e,t,n){},createInstance:function(e,t,n,r,o){var i=new ss.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},us[e]=i;var u=Object.assign({Document:ss.Document,Element:ss.Element,Comment:ss.Commen
 t,sendTasks:ss.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l),{document:i}},refreshInstance:function(e,t){},destroyInstance:function(e){delete us[e]},getRoot:function(e){return us[e].body.toJSON()},receiveTasks:function(e,t){var n={fireEvent:function(e,t,n,r,o){var i=us[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return us[e].handleCallback(t,n,r)}};if(us[e]&&Array.isArray(t)){var r=[];return t.forEach(function(t){var o=n[t.method],i=[].concat(t.args);"function"==typeof o&&(i.unshift(e),r.push(o.apply(void 0,i)))}),r}}}),ls=t(function(e){e.exports=function(e,t){function n(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function o(e){return!0===e}function i(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"objec
 t"==typeof e}function u(e){return"[object Object]"===dn.call(e)}function c(e){return"[object RegExp]"===dn.call(e)}function l(e){var t=parseFloat(e);return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(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]}}function h(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function v(e,t){return vn.call(e,t)}function y(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function m(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 _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function g(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=
 0;n<e.length;n++)e[n]&&g(t,e[n]);return t}function w(e,t,n){}function E(e,t){if(e===t)return!0;var n=s(e),r=s(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 E(e,t[n])});if(o||i)return!1;var a=Object.keys(e),u=Object.keys(t);return a.length===u.length&&a.every(function(n){return E(e[n],t[n])})}catch(e){return!1}}function O(e,t){for(var n=0;n<e.length;n++)if(E(e[n],t))return n;return-1}function C(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function S(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function x(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function k(e){if(!jn.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}}}function j(e,t,n){if(xn.errorHandler)xn.errorHandler.call(null,e,t,n);else{if(!In||"undefined"==typeof console)throw e;console.e
 rror(e)}}function A(e){return"function"==typeof e&&/native code/.test(e.toString())}function T(e){qn.target&&Jn.push(qn.target),qn.target=e}function I(){qn.target=Jn.pop()}function N(e,t,n){e.__proto__=t}function P(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];x(e,i,t[i])}}function M(e,t){if(s(e)){var n;return v(e,"__ob__")&&e.__ob__ instanceof Zn?n=e.__ob__:Kn.shouldConvert&&!Bn()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Zn(e)),t&&n&&n.vmCount++,n}}function $(e,t,n,r,o){var i=new qn,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set,c=!o&&M(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return qn.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(t)&&F(t)),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||(u?u.call(e,t):n=t,c=!o&&M(t),i.notify())}})}}function R(e,t,n){if(Array.isArray(e)&&l(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(
 v(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?($(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function D(e,t){if(Array.isArray(e)&&l(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||v(e,t)&&(delete e[t],n&&n.dep.notify())}}function F(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&F(t)}function L(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;a<i.length;a++)r=e[n=i[a]],o=t[n],v(e,n)?u(r)&&u(o)&&L(r,o):R(e,n,o);return e}function B(e,t,n){return n?e||t?function(){var r="function"==typeof t?t.call(n):t,o="function"==typeof e?e.call(n):void 0;return r?L(r,o):o}:void 0:t?e?function(){return L("function"==typeof t?t.call(this):t,"function"==typeof e?e.call(this):e)}:t:e}function U(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function V(e,t){var n=Object.create(e||null);return t?g(n,t):n}function z(e){var t=e.props;if(t){var n,r,o={};if(Array.isArray(t))for(n=t.length;n--;)"string"==ty
 peof(r=t[n])&&(o[mn(r)]={type:null});else if(u(t))for(var i in t)r=t[i],o[mn(i)]=u(r)?r:{type:r};e.props=o}}function W(e){var t=e.inject;if(Array.isArray(t))for(var n=e.inject={},r=0;r<t.length;r++)n[t[r]]=t[r]}function q(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})}}function J(e,t,n){function r(r){var o=Qn[r]||Yn;u[r]=o(e[r],t[r],n,r)}"function"==typeof t&&(t=t.options),z(t),W(t),q(t);var o=t.extends;if(o&&(e=J(e,o,n)),t.mixins)for(var i=0,a=t.mixins.length;i<a;i++)e=J(e,t.mixins[i],n);var s,u={};for(s in e)r(s);for(s in t)v(e,s)||r(s);return u}function H(e,t,n,r){if("string"==typeof n){var o=e[t];if(v(o,n))return o[n];var i=mn(n);if(v(o,i))return o[i];var a=_n(i);if(v(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function G(e,t,n,r){var o=t[e],i=!v(n,e),a=n[e];if(Z(Boolean,o.type)&&(i&&!v(o,"default")?a=!1:Z(String,o.type)||""!==a&&a!==bn(e)||(a=!0)),void 0===a){a=X(r,o,e);var s=Kn.shouldConvert;Kn.shouldConvert=!0,M(a),K
 n.shouldConvert=s}return a}function X(e,t,n){if(v(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==K(t.type)?r.call(e):r}}function K(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Z(e,t){if(!Array.isArray(t))return K(t)===K(e);for(var n=0,r=t.length;n<r;n++)if(K(t[n])===K(e))return!0;return!1}function Q(e){return new er(void 0,void 0,void 0,String(e))}function Y(e){var t=new er(e.tag,e.data,e.children,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.isCloned=!0,t}function ee(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=Y(e[r]);return n}function te(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,e)}return t.fns=e,t}function ne(e,t,r,o,i){var a,s,u,c
 ;for(a in e)s=e[a],u=t[a],c=or(a),n(s)||(n(u)?(n(s.fns)&&(s=e[a]=te(s)),r(c.name,s,c.once,c.capture,c.passive)):s!==u&&(u.fns=s,e[a]=u));for(a in t)n(e[a])&&o((c=or(a)).name,t[a],c.capture)}function re(e,t,i){function a(){i.apply(this,arguments),h(s.fns,a)}var s,u=e[t];n(u)?s=te([a]):r(u.fns)&&o(u.merged)?(s=u).fns.push(a):s=te([u,a]),s.merged=!0,e[t]=s}function oe(e,t,o){var i=t.options.props;if(!n(i)){var a={},s=e.attrs,u=e.props;if(r(s)||r(u))for(var c in i){var l=bn(c);ie(a,u,c,l,!0)||ie(a,s,c,l,!1)}return a}}function ie(e,t,n,o,i){if(r(t)){if(v(t,n))return e[n]=t[n],i||delete t[n],!0;if(v(t,o))return e[n]=t[o],i||delete t[o],!0}return!1}function ae(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function se(e){return a(e)?[Q(e)]:Array.isArray(e)?ce(e):void 0}function ue(e){return r(e)&&r(e.text)&&i(e.isComment)}function ce(e,t){var i,s,u,c=[];for(i=0;i<e.length;i++)n(s=e[i])||"boolean"==typeof s||(u=c[c.length-1],Array.isA
 rray(s)?c.push.apply(c,ce(s,(t||"")+"_"+i)):a(s)?ue(u)?u.text+=String(s):""!==s&&c.push(Q(s)):ue(s)&&ue(u)?c[c.length-1]=Q(u.text+s.text):(o(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+i+"__"),c.push(s)));return c}function le(e,t){return e.__esModule&&e.default&&(e=e.default),s(e)?t.extend(e):e}function fe(e,t,n,r,o){var i=rr();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}function pe(e,t,i){if(o(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(o(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[i],u=!0,c=function(){for(var e=0,t=a.length;e<t;e++)a[e].$forceUpdate()},l=C(function(n){e.resolved=le(n,t),u||c()}),f=C(function(t){r(e.errorComp)&&(e.error=!0,c())}),p=e(l,f);return s(p)&&("function"==typeof p.then?n(e.resolved)&&p.then(l,f):r(p.component)&&"function"==typeof p.component.then&&(p.component.then(l,f),r(p.error)&&(e.errorComp=le(p.error,t)),r(p.loading)&&(e.loa
 dingComp=le(p.loading,t),0===p.delay?e.loading=!0:setTimeout(function(){n(e.resolved)&&n(e.error)&&(e.loading=!0,c())},p.delay||200)),r(p.timeout)&&setTimeout(function(){n(e.resolved)&&f(null)},p.timeout))),u=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(i)}function de(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&r(n.componentOptions))return n}}function he(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&me(e,t)}function ve(e,t,n){n?nr.$once(e,t):nr.$on(e,t)}function ye(e,t){nr.$off(e,t)}function me(e,t,n){nr=e,ne(t,n||{},ve,ye,e)}function _e(e,t){var n={};if(!e)return n;for(var r=[],o=0,i=e.length;o<i;o++){var a=e[o];if(a.context!==t&&a.functionalContext!==t||!a.data||null==a.data.slot)r.push(a);else{var s=a.data.slot,u=n[s]||(n[s]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}}return r.every(ge)||(n.default=r),n}function ge(e){return e.isComment||" "===e.text}function be(e,t){t=t||{};for(var n=
 0;n<e.length;n++)Array.isArray(e[n])?be(e[n],t):t[e[n].key]=e[n].fn;return t}function we(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}function Ee(e,t,n){e.$el=t,e.$options.render||(e.$options.render=rr),ke(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new dr(e,r,w),n=!1,null==e.$vnode&&(e._isMounted=!0,ke(e,"mounted")),e}function Oe(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==kn);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data&&r.data.attrs,e.$listeners=n,t&&e.$options.props){Kn.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u<s.length;u++){var c=s[u];a[c]=G(c,e.$options.props,t,e)}
 Kn.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,me(e,n,l)}i&&(e.$slots=_e(o,r.context),e.$forceUpdate())}function Ce(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Se(e,t){if(t){if(e._directInactive=!1,Ce(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++)Se(e.$children[n]);ke(e,"activated")}}function xe(e,t){if(!(t&&(e._directInactive=!0,Ce(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)xe(e.$children[n]);ke(e,"deactivated")}}function ke(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(e)}catch(n){j(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function je(){fr=ar.length=sr.length=0,ur={},cr=lr=!1}function Ae(){lr=!0;var e,t;for(ar.sort(function(e,t){return e.id-t.id}),fr=0;fr<ar.length;fr++)t=(e=ar[fr]).id,ur[t]=null,e.run();var n=sr.slice(),r=ar.slice();je(),Ne(n
 ),Te(r),Un&&xn.devtools&&Un.emit("flush")}function Te(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&ke(r,"updated")}}function Ie(e){e._inactive=!1,sr.push(e)}function Ne(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Se(e[t],!0)}function Pe(e){var t=e.id;if(null==ur[t]){if(ur[t]=!0,lr){for(var n=ar.length-1;n>fr&&ar[n].id>e.id;)n--;ar.splice(n+1,0,e)}else ar.push(e);cr||(cr=!0,zn(Ae))}}function Me(e){hr.clear(),$e(e,hr)}function $e(e,t){var n,r,o=Array.isArray(e);if((o||s(e))&&Object.isExtensible(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)$e(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)$e(e[r[n]],t)}}function Re(e,t,n){vr.get=function(){return this[t][n]},vr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,vr)}function De(e){e._watchers=[];var t=e.$options;t.props&&Fe(e,t.props),t.methods&&We(e,t.methods),t.data?Le(e):M(e._data={},!0),t.computed&&Ue(e,t.computed),t.watch&&t.watch!==$n&&qe(e,t
 .watch)}function Fe(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;Kn.shouldConvert=i;for(var a in t)!function(i){o.push(i);var a=G(i,t,n,e);$(r,i,a),i in e||Re(e,"_props",i)}(a);Kn.shouldConvert=!0}function Le(e){var t=e.$options.data;u(t=e._data="function"==typeof t?Be(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);o--;){var i=n[o];r&&v(r,i)||S(i)||Re(e,"_data",i)}M(t,!0)}function Be(e,t){try{return e.call(t)}catch(e){return j(e,t,"data()"),{}}}function Ue(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var o=t[r],i="function"==typeof o?o:o.get;n[r]=new dr(e,i||w,w,yr),r in e||Ve(e,r,o)}}function Ve(e,t,n){"function"==typeof n?(vr.get=ze(t),vr.set=w):(vr.get=n.get?!1!==n.cache?ze(t):n.get:w,vr.set=n.set?n.set:w),Object.defineProperty(e,t,vr)}function ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),qn.target&
 &t.depend(),t.value}}function We(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?w:m(t[n],e)}function qe(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Je(e,n,r[o]);else Je(e,n,r)}}function Je(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function He(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Ge(e){var t=Xe(e.$options.inject,e);t&&(Kn.shouldConvert=!1,Object.keys(t).forEach(function(n){$(e,n,t[n])}),Kn.shouldConvert=!0)}function Xe(e,t){if(e){for(var n=Object.create(null),r=Vn?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++)for(var i=r[o],a=e[i],s=t;s;){if(s._provided&&a in s._provided){n[i]=s._provided[a];break}s=s.$parent}return n}}function Ke(e,t,n,o,i){var a={},s=e.options.props;if(r(s))for(var u in s)a[u]=G(u,s,t||{});else r(n.attrs)&&Ze(a,n.attrs),r(n.props)&&Ze(a,n.props);var c=Object.create(o),l=e.options.render.call(null,function(e,t,n,r){return rt(c,
 e,t,n,r,!0)},{data:n,props:a,children:i,parent:o,listeners:n.on||{},injections:Xe(e.options.inject,o),slots:function(){return _e(i,o)}});return l instanceof er&&(l.functionalContext=o,l.functionalOptions=e.options,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function Ze(e,t){for(var n in t)e[mn(n)]=t[n]}function Qe(e,t,i,a,u){if(!n(e)){var c=i.$options._base;if(s(e)&&(e=c.extend(e)),"function"==typeof e){var l;if(n(e.cid)&&(l=e,void 0===(e=pe(l,c,i))))return fe(l,t,i,a,u);t=t||{},_t(e),r(t.model)&&nt(e.options,t);var f=oe(t,e,u);if(o(e.options.functional))return Ke(e,f,t,i,a);var p=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var d=t.slot;t={},d&&(t.slot=d)}et(t);var h=e.options.name||u;return new er("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,i,{Ctor:e,propsData:f,listeners:p,tag:u,children:a},l)}}}function Ye(e,t,n,o){var i=e.componentOptions,a={_isComponent:!0,parent:t,propsData:i.propsData,_componentTag:i.tag,_parentVnode:e,_parentListeners:i.listeners,_render
 Children:i.children,_parentElm:n||null,_refElm:o||null},s=e.data.inlineTemplate;return r(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new i.Ctor(a)}function et(e){e.hook||(e.hook={});for(var t=0;t<_r.length;t++){var n=_r[t],r=e.hook[n],o=mr[n];e.hook[n]=r?tt(o,r):o}}function tt(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function nt(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});r(i[o])?i[o]=[t.model.callback].concat(i[o]):i[o]=t.model.callback}function rt(e,t,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=br),ot(e,t,n,r,i)}function ot(e,t,n,o,i){if(r(n)&&r(n.__ob__))return rr();if(r(n)&&r(n.is)&&(t=n.is),!t)return rr();Array.isArray(o)&&"function"==typeof o[0]&&((n=n||{}).scopedSlots={default:o[0]},o.length=0),i===br?o=se(o):i===gr&&(o=ae(o));var a,s;if("string"==typeof t){var u;s=xn.getTagNamespace(t),a=xn.isReservedTag(t)?new er(xn.parsePlatfor
 mTagName(t),n,o,void 0,void 0,e):r(u=H(e.$options,"components",t))?Qe(u,n,e,o,t):new er(t,n,o,void 0,void 0,e)}else a=Qe(t,n,e,o);return r(a)?(s&&it(a,s),a):rr()}function it(e,t){if(e.ns=t,"foreignObject"!==e.tag&&r(e.children))for(var o=0,i=e.children.length;o<i;o++){var a=e.children[o];r(a.tag)&&n(a.ns)&&it(a,t)}}function at(e,t){var n,o,i,a,u;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,i=e.length;o<i;o++)n[o]=t(e[o],o);else if("number"==typeof e)for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o);else if(s(e))for(a=Object.keys(e),n=new Array(a.length),o=0,i=a.length;o<i;o++)u=a[o],n[o]=t(e[u],u,o);return r(n)&&(n._isVList=!0),n}function st(e,t,n,r){var o=this.$scopedSlots[e];if(o)return n=n||{},r&&(n=g(g({},r),n)),o(n)||t;var i=this.$slots[e];return i||t}function ut(e){return H(this.$options,"filters",e,!0)||En}function ct(e,t,n){var r=xn.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function lt(e,t,n,r,o){if(n)if(s(n)){Array.isArray(n)&&(n=b(n
 ));var i;for(var a in n)!function(a){if("class"===a||"style"===a||hn(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||xn.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}a in i||(i[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))}(a)}else;return e}function ft(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?ee(n):Y(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),dt(n,"__static__"+e,!1),n)}function pt(e,t,n){return dt(e,"__once__"+t+(n?"_"+n:""),!0),e}function dt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ht(e[r],t+"_"+r,n);else ht(e,t,n)}function ht(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function vt(e,t){if(t)if(u(t)){var n=e.on=e.on?g({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(i,o):i}}else;return e}function yt(e){e._vnode=null,e._staticTrees=null;var t=e.$vnode=e.$options._parentVnode,n=t&&t.context;e.$slots=_e(e.$options._renderChildren,n),e
 .$scopedSlots=kn,e._c=function(t,n,r,o){return rt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return rt(e,t,n,r,o,!0)};var r=t&&t.data;$(e,"$attrs",r&&r.attrs,null,!0),$(e,"$listeners",e.$options._parentListeners,null,!0)}function mt(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function _t(e){var t=e.options;if(e.super){var n=_t(e.super);if(n!==e.superOptions){e.superOptions=n;var r=gt(e);r&&g(e.extendOptions,r),(t=e.options=J(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function gt(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for(var i in n)n[i]!==o[i]&&(t||(t={}),t[i]=bt(n[i],r[i],o[i]));return t}function bt(e,t,n){if(Array.isArray(e)){var r=[];n=Ar
 ray.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function wt(e){this._init(e)}function Et(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(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}}function Ot(e){e.mixin=function(e){return this.options=J(this.options,e),this}}function Ct(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,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=J(n.options,e),a.super=n,a.options.props&&St(a),a.options.computed&&xt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Cn.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=
 n.options,a.extendOptions=e,a.sealedOptions=g({},a.options),o[r]=a,a}}function St(e){var t=e.options.props;for(var n in t)Re(e.prototype,"_props",n)}function xt(e){var t=e.options.computed;for(var n in t)Ve(e.prototype,n,t[n])}function kt(e){Cn.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(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]}})}function jt(e){return e&&(e.Ctor.options.name||e.tag)}function At(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function Tt(e,t,n){for(var r in e){var o=e[r];if(o){var i=jt(o.componentOptions);i&&!n(i)&&(o!==t&&It(o),e[r]=null)}}}function It(e){e&&e.componentInstance.$destroy()}function Nt(e){return new t.Element(e)}function Pt(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?h(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}}function Mt(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&$t(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function $t(e,t){if("input"!==e.tag)return!0;var n;return(r(n=e.data)&&r(n=n.attrs)&&n.type)===(r(n=t.data)&&r(n=n.attrs)&&n.type)}function Rt(e,t,n){var o,i,a={};for(o=t;o<=n;++o)r(i=e[o].key)&&(a[i]=o);return a}function Dt(e,t){(e.data.directives||t.data.directives)&&Ft(e,t)}function Ft(e,t){var n,r,o,i=e===jr,a=t===jr,s=Lt(e.data.directives,e.context),u=Lt(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,Ut(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(Ut(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n<c.length;n++)Ut(c[n],"inserted",t,e)};i?re(t.data.hook||(t.data.hook={}),"insert",f):f()}if(l
 .length&&re(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)Ut(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||Ut(s[n],"unbind",e,e,a)}function Lt(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)(o=e[r]).modifiers||(o.modifiers=Ir),n[Bt(o)]=o,o.def=H(t.$options,"directives",o.name,!0);return n}function Bt(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ut(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){j(r,n.context,"directive "+e.name+" "+t+" hook")}}function Vt(e,t){if(e.data.attrs||t.data.attrs){var n,r,o=t.elm,i=e.data.attrs||{},a=t.data.attrs||{};a.__ob__&&(a=t.data.attrs=g({},a));for(n in a)r=a[n],i[n]!==r&&o.setAttr(n,r);for(n in i)null==a[n]&&o.setAttr(n)}}function zt(e,t){var n=t.elm,r=t.context,o=t.data,i=e.data;if(o.staticClass||o.class||i&&(i.staticClass||i.class)){var a=[],s=i.staticClass;s&&a.push.apply(a,s),i.class&&a.push.apply(a,i.class);var u=[],c=o.s
 taticClass;c&&u.push.apply(u,c),o.class&&u.push.apply(u,o.class);var l=Wt(a,u,r);for(var f in l)n.setStyle(f,l[f])}}function Wt(e,t,n){var r=n.$options.style||{},o={};return t.forEach(function(e){g(o,r[e])}),e.forEach(function(e){var t=r[e];for(var n in t)o.hasOwnProperty(n)||(o[n]="")}),o}function qt(e,t,n,r){if(r)console.log("Weex do not support event in bubble phase.");else{if(n){var o=t,i=Cr;t=function(t){null!==(1===arguments.length?o(t):o.apply(null,arguments))&&Jt(e,null,null,i)}}Cr.addEvent(e,t)}}function Jt(e,t,n,r){(r||Cr).removeEvent(e)}function Ht(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Cr=t.elm,ne(n,r,qt,Jt,t.context)}}function Gt(e,t){if(e.data.style||t.data.style){var n,r,o=t.elm,i=e.data.style||{},a=t.data.style||{},s=a.__ob__;Array.isArray(a)&&(a=t.data.style=Xt(a)),s&&(a=t.data.style=g({},a));for(r in i)a[r]||o.setStyle(Rr(r),"");for(r in a)n=a[r],o.setStyle(Rr(r),n)}}function Xt(e){for(var t={},n=0;n<e.length;n++)e[n]&&g(t,e[n]);return t}
 function Kt(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&g(t,Fr(e.name||"v")),g(t,e),t}return"string"==typeof e?Fr(e):void 0}}function Zt(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Kt(t.data.transition);if(r&&!n._enterCb){for(var o=r.enterClass,i=r.enterToClass,a=r.enterActiveClass,s=r.appearClass,

<TRUNCATED>