You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/09 08:47:54 UTC

[4/7] incubator-weex git commit: * [android] jsfm0.19.13 update

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3f24dc34/android/sdk/assets/main.js
----------------------------------------------------------------------
diff --git a/android/sdk/assets/main.js b/android/sdk/assets/main.js
index d2aa93e..0b231a7 100644
--- a/android/sdk/assets/main.js
+++ b/android/sdk/assets/main.js
@@ -1,7 +1,7 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.19.7, Build 2017-01-10 10:50."),this.getJSFMVersion=function(){return"0.19.7"};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()}(this,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(){if(o(),"undefined"==typeof global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(
 e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],
 t=arguments.length;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){Ls={},global.console=Vs}function o(){qs.forEach(function(e){var t=qs.indexOf(e);Ls[e]={},qs.forEach(function(n){var r=qs.indexOf(n);r<=t&&(Ls[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Ls[t]&&Ls[t][e]}function a(e){return e.map(function(e){var t=Object.prototype.toString.call(e);return e="[object object]"===t.toLowerCase()?JSON.stringify(e):String(e)})}function s(){if("undefined"==typeof setTimeout&&"function"==typeof Js){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Js(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=Us,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),Object.freeze(Object.prototype),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype
 ),Object.freeze(Boolean.prototype),Object.freeze(Error.prototype),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function l(){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=Ws.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 Bs(e,[{module:"dom",method:n,args:t}],"-1")}};for(var r in e)n(r);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Bs(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Bs(e,[{module:t,method:n,args:r}])}}function f(e,t){e&&(Xs[e]=t)}function d(e){r
 eturn Xs[e]}function p(e){delete Xs[e]}function h(e){var t=Xs[e];return t&&t.taskCenter?t.taskCenter:null}function v(){return(Ks++).toString()}function m(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,g(t,r)):(t.children.forEach(function(e){e.parentNode=t}),_(e,t),t.docId=e.id,t.ownerDocument=e,g(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),y(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function y(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 _(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function g(e,t){e.parentNode=t,t.docId&&(e.docId=t.docId,e.ownerDocument=t.ownerDocument,e.ownerDocum
 ent.nodeMap[e.nodeId]=e,e.depth=t.depth+1),e.children.forEach(function(t){g(t,e)})}function b(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function w(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function C(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 k(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 O(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 x(e){zs=e}function E(e,t){if(t&&t.length){var n=function(t){zs.call(this,e,t,!0)};n.prototype=Object.create(zs.prototype),Object.defineProperty(n.prototype,"cons
 tructor",{configurable:!1,enumerable:!1,writable:!1,value:zs}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=h(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Qs[e]=n}}function S(e,t){I(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Zs.push({name:e,options:t}))}function j(e){Zs.some(function(t,n){if(t.name===e)return Zs.splice(n,1),!0})}function I(e){return A(e)>=0}function A(e){return Zs.map(function(e){return e.name}).indexOf(e)}function T(e){var t,n=Ys.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function N(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Zs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Object.freeze(r.service),r}function R(e,t,n,r){var o=eu[e];if(!o){o=T(t)||{},Hs[o.framework]||(o.
 framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=new Gs.CallbackManager(e),a={info:o,config:n,callbacks:i,created:Date.now(),framework:o.framework};return a.services=N(e,a,Gs),eu[e]=a,Hs[o.framework].createInstance(e,t,n,r,a)}return new Error('invalid instance id "'+e+'"')}function D(e){tu[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&$(t[0]);for(var r in Hs){var o=Hs[r];o&&o[e]&&o[e].apply(o,t)}}}function $(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&E(e.type,e.methods)})}function P(e){tu[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=eu[r];if(o&&Hs[o.framework]){var i=(a=Hs[o.framework])[e].apply(a,t);return"refreshInstance"===e?Zs.forEach(function(e){var t=e.options.refresh;t
 &&t(r,{info:o,runtime:Gs})}):"destroyInstance"===e&&(Zs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Gs})}),delete eu[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function M(e,t){tu[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=eu[r];return o&&Hs[o.framework]?(i=Hs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function F(e){Gs=e||{},Hs=Gs.frameworks||{},l();for(var t in Hs){var n=Hs[t];n.init(e)}return["registerComponents","registerModules","registerMethods"].forEach(D),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(P),M("receiveTasks","callJS"),tu}function q(){this.nodeId=v(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function L(e,t,n){void 0===e&&(e=nu);var r=Qs[e];return r&&!n?new r(t):(t=t||{},this.nodeType=1,this.nodeId=v(),this.ref=this.nodeId,this.type=e,this.attr=t.
 attr||{},this.style=t.style||{},this.classStyle=t.classStyle||{},this.event={},this.children=[],void(this.pureChildren=[]))}function V(e,t){var n=d(e);n.nodeMap[t.nodeId]=t}function U(e){this.nodeType=8,this.nodeId=v(),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 be a function")}function B(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function W(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=H(e,t[r],n);if(o===-1)return o}}}function z(e,t){return"dom"===e&&ru[t]&&"function"==typeof global[ru[t]]}function H(e,t,n){var r=t.module,o=t.method,i=t.args;return z(r,o)?glo
 bal[ru[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function G(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,f(e,this),this.nodeMap={};var r=G.Listener||J;this.listener=new r(e,n||W(e,G.handler)),this.taskCenter=new Ws(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:G.handler),this.createDocumentElement()}function X(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 K(){c(),Object.freeze(iu.Element),Object.freeze(iu.Comment),Object.freeze(iu.Listener),Object.freeze(iu.Document.prototype),Object.freeze(iu.Element.prototype),Object.freeze(iu.Comment.prototype),Object.freeze(iu.Listener.prototype)}function Q(e){uu.Document=e.Document,uu.Element=e.Element,uu.Comment=e.Comment,uu.sendTasks=e.sendTasks}function Z(e){}function Y(e){}function ee(e){}function te(e,t,n){}function ne(e,t,n,r,o){var i=new uu.Document(e,n.bundleUrl),a={},s=0;i.addCallback=func
 tion(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},cu[e]=i;var u=Object.assign({Document:uu.Document,Element:uu.Element,Comment:uu.Comment,sendTasks:uu.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);c.push(t);var d=new(Function.prototype.bind.apply(Function,[null].concat(c)));return d.apply(void 0,l)}function re(e,t){}function oe(e){delete cu[e]}function ie(e){return cu[e].body.toJSON()}function ae(e,t){var n={fireEvent:function(e,t,n,r,o){var i=cu[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){var o=cu[e];return o.handleCallback(t,n,r)}},r=cu[e];if(r&&Array.isArray(t)){var o=[];return t.forEach(function(t){var r=n[t.method],i=[].concat(t.args);"function"==typeof r&&(i.unshift(e),o.push(r.apply(void 0,i)))}),o}}function se(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function ue(e){var t=thi
 s._ids[e];if(t)return t.el}function ce(e){var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._app,n=t.differ;return n.then(function(){e()})}function fe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){var r=this._app.requireModule("dom");r.scrollToElement(n.ref,{offset:t})}}function de(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){var i=this._app.requireModule("animation");i.transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function pe(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function he(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" ins
 tead");var n=this._app.requireModule("stream");n.sendHttp(e,t)}function ve(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead");var t=this._app.requireModule("event");t.openURL(e)}function me(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead");var t=this._app.requireModule("pageInfo");t.setTitle(e)}function ye(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function _e(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&&_e.apply(void 0,[e].concat(t))}return e}function ge(e,t,n,r){Object.defineProper
 ty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function be(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function we(e,t){return Pu.call(e,t)}function Ce(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 ke(e){return null!==e&&"object"==typeof e}function Oe(e){return Mu.call(e)===Fu}function xe(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function Ee(){return"object"==typeof nativeSet?nativeSet.create():new au}function Se(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function je(e){var t=e.replace(Lu,"").replace(Vu,"");return t}function Ie(e){return e.replace(Ju,"")}function Ae(){this.id=Gu++,this.subs=[]}function Te(e){Ae.target&&Xu.push(Ae.target),Ae.target=e}function Ne(){Ae.target=Xu.pop()}function Re(){Ae.target=null,Xu=[]}function De(e,t,n,r){r&&_e(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression
 =t,this.cb=n,this.id=++Ku,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=Ee(),this.newDepIds=Ee(),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=Qu,t.clear()),o=Array.isArray(e),i=ke(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(r=Object.keys(e),n=r.length;n--;)$e(e[r[n]],t)}}function Pe(e){if(this.value=e,this.dep=new Ae,ge(e,"__ob__",this),Array.isArray(e)){var t=qu?Me:Fe;t(e,Yu,ec),this.observeArray(e)}else this.walk(e)}function Me(e,t){e.__proto__=t}function Fe(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];ge(e,i,t[i])}}function qe(e,t){if(ke(e)){var n;return we(e,"__ob__")&&e.__ob__ instanceof Pe?n=e.__ob__:(Array.isArray(e)||Oe(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Pe(e)),n&&t&&n.addVm(t),n}}function Le(e,t,n){var r=new Ae,o=Object.getOwnPropertyDescriptor(e,t);if(!o||o.configurable!=
 =!1){var i=o&&o.get,a=o&&o.set,s=qe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Ae.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&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){var o=i?i.call(e):n;t!==o&&(a?a.call(e,t):n=t,s=qe(t),r.notify())}})}}function Ve(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(we(e,t))return void(e[t]=n);if(e._isVue)return void Ve(e._data,t,n);var r=e.__ob__;if(!r)return void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];Je(i,t)}return n}function Ue(e,t){if(we(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Be(o,t)}}}function Je(e,t){(tc.indexOf(t)>-1||!xe(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}fun
 ction Be(e,t){xe(t)||delete e[t]}function We(e){e._watchers=[],ze(e),Ge(e),Ke(e)}function ze(e){var t=e._data;Oe(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)Je(e,n[r]);qe(t,e)}function He(){}function Ge(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=Xe(r,e),o.set=He):(o.get=r.get?r.cache!==!1?Xe(r.get,e):Ce(r.get,e):He,o.set=r.set?Ce(r.set,e):He),Object.defineProperty(e,n,o)}}function Xe(e,t){var n=new De(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Ae.target&&n.depend(),n.value}}function Ke(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Qe(e){var t=e.type,n=rc[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Se(e[r])&&"object"===Se(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function Ze(e,t,n){ot(e,t,n.id,e),it(e,t,n.attr),st(e,t,n.classList),ut(e,t,n.style),lt(e,t,n.events)}function Ye(e,t,n,r){t=t||{},n=n||{};var o=t._options
 ||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),tt(r,i,e,t),tt(n.attr,i,e,t)}function et(e,t,n,r){void 0===r&&(r={}),rt(n.classList,e,t),nt(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function tt(e,t,n,r){if(e){var o=function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=pt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}};for(var i in e)o(i)}}function nt(e,t,n){var r=function(r){var o=e[r];if("function"==typeof o){var i=pt(t,o,function(e){n._rootEl&&n._rootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)};for(var o in e)r(o)}function rt(e,t,n){function r(e,t){"array"===Se(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=pt(t,e,function(e){r(e,i),at(n._rootEl,o,e)});r(a,i),at(n._rootEl,o,a)}else null!=e&&(r(e,i),at(n._rootEl,o,e))}}function ot(e,t,n,r){var o=Object.create(null);if(O
 bject.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),(n||0===n)&&(e._ids[n]=o),pt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function it(e,t,n){ft(e,t,"attr",n)}function at(e,t,n){for(var r={},o=n.length,i=function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})},a=0;a<o;a++)i(a);e.setClassStyle(r)}function st(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=pt(e,n,function(e){at(t,r,e)});at(t,r,o)}else at(t,r,n)}}function ut(e,t,n){ft(e,t,"style",n)}function ct(e,t,n,r){t.addEvent(n,Ce(r,e))}function lt(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],a||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ct(e,t,i
 ,a)}}function ft(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?dt(e,t,n,a,s):t[oc[n]](a,s)}}function dt(e,t,n,r,o){var i=oc[n],a=pt(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 pt(e,t,n){if(e._static)return t.call(e,e);var r=new De(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)});return r.value}function ht(e,t){var n=e._app.doc;return n.createBody(t)}function vt(e,t){var n=e._app.doc;return n.createElement(t)}function mt(e,t){var n=yt(e),r=_t(e),o=ic++;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.element.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 yt(e){var t=e._app.doc,n=t.createComment("start");return n}function _t(e){var t=e._app.doc,n=t.createComm
 ent("end");return n}function gt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=bt(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 bt(e,t,n){return t.element?Ct(t,n):wt(t,n)}function wt(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function Ct(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,r!==-1}),r}}function kt(e,t,n){void 0===n&&(n=!1),t.element?xt(t,n):Ot(t),t._vm&&t._vm.$emit("hook:destroyed")}function Ot(e){var t=e.parentNode;t&&t.removeChild(e)}function xt(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||Ot(e.start),n.forEach(function(e){Ot(e)}),t||Ot(
 e.end)}function Et(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?St(e,n.children[0],e._parentEl):St(e,n.children,e._parentEl):St(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function St(e,t,n,r){var o=e._app||{};if(o.lastSignal!==-1){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),jt(t))return void Dt(e,t,n,r);if(r=r||{},It(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=mt(e,n));if(At(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!"):$t(e,t,n));if(Tt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Pt(e,t,n,r));var i=r.type||t.type;if(Nt(i,r))return void Mt(e,t,n,i,r);var 
 a=i,s=Rt(e,t,a);if(s)return console.debug("[JS Framework] compile composed component by",t),void Ft(e,s,t,n,a,r);console.debug("[JS Framework] compile native component by",t),qt(e,t,n,a)}}function jt(e){return Array.isArray(e)}function It(e){return"content"===e.type||"slot"===e.type}function At(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Tt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Nt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function Rt(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 Dt(e,t,n,r){var o=mt(e,n);t.forEach(function(t){St(e,t,o,r)})}function $t(e,t,n){var r=t.repeat,o="function"==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=mt(e,n);c.children=[],c.data=[],c.vms=[
 ],Vt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Pt(e,t,n,r){var o={shown:!0},i=mt(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Ut(e,t,i,o)}function Mt(e,t,n,r,o){var i=r.call(e),a=_e({type:i},o),s=mt(e,n);n.element&&n.children&&n.children.push(s),pt(e,r,function(n){var r=_e({type:n},o);kt(e,s,!0),St(e,t,s,r)}),St(e,t,s,a)}function Ft(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),ot(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){Ye(e,this,n,i.repeat)},"hook:ready":function(){this._content&&Lt(e,n,this._content)}});et(e,s,n,r)}function qt(e,t,n,r){Qe(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=ht(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=vt(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.even
 ts&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,Ce(c,s))}}Ze(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||{};f.lastSignal===-1||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=gt(e,o,n)),f.lastSignal!==-1&&Lt(e,t,o),f.lastSignal!==-1&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=gt(e,o,n))}function Lt(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return St(e,t,n),r.lastSignal!==-1})}function Vt(e,t,n,r){function o(e,r,o){var a;c?(a=e,ke(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "INDEX" 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={},a[l]=r,a[f]=e)):(a={
 },a[l]=r,a[f]=e);var s=Bt(o,a);i.push(s),St(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,d=Jt(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(),d=n.data.slice(),p={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(p[n]=e)});var v=[];d.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;p.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):kt(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,d=h[s];d?(d.item===v[0]?v.shift():(v.$remove(d.item),bt(e,d.target,n.updateMark,!0)),a.push(d.target),i.push(d.vm),c?d.vm=t:d.vm[f]=t,d.vm[l]=r,n.updateMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function Ut(e,t,n,r){var o=Jt(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was chan
 ged',o),n&&!!n.display!=!!o&&(n.display=!!o,o?St(e,t,n,r):kt(e,n,!0))});n.display=!!o,o&&St(e,t,n,r)}function Jt(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return pt(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 Bt(e,t){var n=Object.create(e);return n._data=t,ze(n),Ge(n),n._realParent=e,e._static&&(n._static=e._static),n}function Wt(e,t){if(t instanceof Wt)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 zt(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Wt(e,t);o.forEach(function(e){e.call(n,i)})}}function Ht(e,t){var n=new Wt(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Gt(e,t){var n=new Wt(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.
 forEach(function(t){t.$broadcast(e,n)})}function Xt(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 Kt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function Qt(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]);ac.forEach(function(t){e.$on("hook:"+t,n[t])})}function Zt(e){e.$emit=zt,e.$dispatch=Ht,e.$broadcast=Gt,e.$on=Xt,e.$off=Kt}function Yt(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]),t=t||{};var a=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,Qt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._typ
 e+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&_e(this._data,o),We(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,Et(this))}function en(e,t){var n=function(n){var r=sc[n];r||(r={},sc[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})};for(var r in e)n(r)}function tn(e,t){var n=e.prototype;for(var r in t)n.hasOwnProperty(r)||(n[r]=t[r])}function nn(e,t){var n=sc[t],r={},o=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)re
 turn e.callTasks({module:t,method:n,args:[r]})}})};for(var i in n)o(i);return r}function rn(e,t){var n=e.customComponentMap;return n[t]}function on(e,t,n){var r=e.customComponentMap;return r[t]?void console.error("[JS Framework] define a component("+t+") that already exists"):void(r[t]=n)}function an(e){var t=uc.valid(e);if(t)return e;e="string"==typeof e?e:"";for(var n=e.split("."),r=0,o=[];r<3;){var i="string"==typeof n[r]&&n[r]?n[r]:"0";o.push(i),r++}return o.join(".")}function sn(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n},i=e.toLowerCase();return r.errorMessage=o(e,t,n),i.indexOf("osversion")>=0?r.code=1001:i.indexOf("appversion")>=0?r.code=1002:i.indexOf("weexversion")>=0?r.code=1003:i.indexOf("devicemodel")>=0&&(r.code=1004),r}function un(e,t){t=t||global.WXEnvironment,t=Oe(t)?t:{};var n={isDowngrade:!1};if("function"===Se(e)){var r=e.call(this,t,{semver:uc,normalizeVersion:an});r=!!r,n
 =r?sn("custom","","custom params"):n}else{e=Oe(e)?e:{};var o=t.platform||"unknow",i=o.toLowerCase(),a=e[i]||{};for(var s in t){var u=s,c=u.toLowerCase(),l=t[s],f=c.indexOf("version")>=0,d=c.indexOf("devicemodel")>=0,p=a[s];if(p&&f){var h=an(p),v=an(t[s]);if(uc.satisfies(v,h)){n=sn(u,l,p);break}}else if(d){var m="array"===Se(p)?p:[p];if(m.indexOf(l)>=0){n=sn(u,l,p);break}}}}return n}function cn(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function ln(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(Bu(t))o=je(t);else{if(!Hu(t))return new Error("Wrong component name: "+t);if(o=Ie(t),!rn(e,o))return new Error("It's not a component: "+t)}if(n=Oe(n)?n:{},"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!uc.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);
 var i=un(n.downgrade);return i.isDowngrade?(e.callTasks([{module:"instanceWrap",method:"error",args:[i.errorType,i.code,i.errorMessage]
-}]),new Error("Downgrade["+i.code+"]: "+i.errorMessage)):(n.viewport&&cn(e,n.viewport),void(e.vm=new Yt(o,null,{_app:e},null,r)))}function fn(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),on(e,t,n)}function dn(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):_e(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function pn(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.vm&&hn(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null,e.callbacks=null}function hn(e){if(delete 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--;)hn(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 vn(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function mn(e,t,n,r,o){if(console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")"),Array.isArray(t))return void t.some(function(t){return mn(e,t,n,r)!==!1});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+'"')}function yn(e,t,n,r){console.debug("[JS Framework] Invoke a callback("+t+") with",n,"in instance("+e.id+")");var o=e.callbacks[t];return"function"==typeof o?(o(n),"undefined"!=typeof r&&r!==!1||(e.callbacks[t]=void 0),e.differ.flush(),void e.doc.taskCenter.
 send("dom",{action:"updateFinish"},[])):new Error('invalid callback id "'+t+'"')}function _n(e){e.differ.flush()}function gn(e,t){var n;return"array"!==Se(t)&&(t=[t]),t.forEach(function(t){t.args=t.args.map(function(t){return bn(t,e)}),n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function bn(e,t){var n=Se(e);switch(n){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 instanceof nc.Element?e.ref:e;case"function":return t.callbacks[++t.uid]=e,t.uid.toString();default:return JSON.stringify(e)}}function wn(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 cc.apply(void 0,[e].concat(t))},a=function(t,r,i){o=ln(e,t,r,i||n),_n(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")}
 ,s=Yt,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return fn.apply(void 0,[e].concat(t))},c=function(t,n){o=ln(e,t,{},n)},l=function(t){return function(n){o=ln(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(je(t))},p={config:e.options,define:i,bootstrap:a,requireModule:d,document:f,Vm:s};Object.freeze(p);var h;"function"==typeof t?h=t.toString().substr(12):t&&(h=t.toString()),h="(function(global){\n\n "+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,m={};if(v&&"Web"!==v.platform){var y=e.requireModule("timer");Object.assign(m,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setTimeout(r,t[1]),e.uid.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setInterval(r,t[1]),e.uid.toString()},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterva
 l(e)}})}var _=Object.assign({define:i,require:l,document:f,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r);return Cn(_,h),o}function Cn(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);n.push(t);var i=new(Function.prototype.bind.apply(Function,[null].concat(n)));return i.apply(void 0,r)}function kn(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){var o=n[r];o.forEach(function(e){e()})}}function xn(e,t,n){this.id=e,this.options=t||{},this.vm=null,this.customComponentMap={},this.commonModules={},Object.defineProperty(this,"callbacks",{get:function(){return n.callbacks},set:function(e){e||n.close()}}),Object.defineProperty(this,"uid",{get:function(){return n.lastCallbackId},set:function(e){n.lastCallbackId=e}}),this.callbackManager=n,this.doc=new nc.Document(e,this.options.bundleUrl,null,nc.Listener),this.differ=new lc(e)}function En(e,t,n,r,o){var i=
 o||{},a=i.services,s=i.callbacks;Re();var u=fc[e];n=n||{};var c;return u?c=new Error('invalid instance id "'+e+'"'):(u=new xn(e,n,s),fc[e]=u,c=wn(u,t,r,a)),c}function Sn(e){nc.Document=e.Document,nc.Element=e.Element,nc.Comment=e.Comment,nc.sendTasks=e.sendTasks,nc.Listener=e.Listener}function jn(e,t){var n,r=fc[e];return n=r?dn(r,t):new Error('invalid instance id "'+e+'"')}function In(e){Re();var t=fc[e];return t?(pn(t),delete fc[e],fc):new Error('invalid instance id "'+e+'"')}function An(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?dc[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(dc[e.type]=e))})}function Tn(e){"object"==typeof e&&en(e)}function Nn(e){"object"==typeof e&&tn(Yt,e)}function Rn(e,t){var n=fc[e];if(n&&Array.isArray(t)){var r=[];return t.forEach(function(t){var n=pc[t.method],o=[].concat(t.args);"function"==typeof n&&(o.unshift(e),r.push(n.apply(void 0,o)))}),r}return new Error('invalid instance id "'+e+'" or tasks')}function Dn(e){var t,n=fc
 [e];return t=n?vn(n):new Error('invalid instance id "'+e+'"')}function $n(e,t){void 0===t&&(t={}),this.type=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 Pn(){}function Mn(e,t,n,r){console.warn("[Upgrade Warning] $userTrack will be removed in the next version!"),console.warn("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead");var o=this._app.requireModule("userTrack");o.commit(e,t,n,r)}function Fn(e,t){if(console.warn("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.warn("[JS Framework] Vm#$sendMtop is deprecated, please use \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){var n=this._app.requireModule("windvane");n.call({class:"MtopWVPlugin",method:"send",data:e},t)}else{var r=this._app.requireModule("str
 eam");r.sendMtop(e,t)}}function qn(e,t){console.warn("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.warn("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead");var n=this._app.requireModule("windvane");n.call(e,t)}function Ln(e,t){console.warn("[Upgrade Warning] $setSpm will be removed in the next version!"),console.warn("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead");var n=this._app.requireModule("pageInfo");n.setSpm(e,t)}function Vn(e){console.warn("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.warn("[JS Framework] Vm#$getUserInfo is deprecated, please use \"require('@weex-module/user').getUserInfo(callback)\" instead");var t=this._app.requireModule("user");t.getUserInfo(e)}function Un(e){console.warn("[Upgrade Warning] $login will be removed in the next version!"),console.warn("[
 JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead");var t=this._app.requireModule("user");t.login(e)}function Jn(e){console.warn("[Upgrade Warning] $logout will be removed in the next version!"),console.warn("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead");var t=this._app.requireModule("user");t.logout(e)}var Bn={browser:"0.5.0",framework:"0.19.7",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?argum
 ents[1]:void 0;if("undefined"!=typeof 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],a?c[l]="undefined"==typeof i?a(s,l):a.call(i,s,l):c[l]=s,l+=1;return c.length=u,c}}());var Wn="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},zn=t(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),Hn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),Gn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Xn=Gn,Kn=function(e){if(!Xn(e))throw TypeError(e+" is not an object!");return e},Qn=function(e){try{return!!e()}catch(e){return!0}},Zn=!Qn(function(){return 7!=Object.defineProperty({},"a",{get:function()
 {return 7}}).a}),Yn=Gn,er=zn.document,tr=Yn(er)&&Yn(er.createElement),nr=function(e){return tr?er.createElement(e):{}},rr=!Zn&&!Qn(function(){return 7!=Object.defineProperty(nr("div"),"a",{get:function(){return 7}}).a}),or=Gn,ir=function(e,t){if(!or(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!or(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!or(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!or(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},ar=Kn,sr=rr,ur=ir,cr=Object.defineProperty,lr=Zn?Object.defineProperty:function(e,t,n){if(ar(e),t=ur(t,!0),ar(n),sr)try{return cr(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},fr={f:lr},dr=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},pr=fr,hr=dr,vr=Zn?function(e,t,n){return pr.f(e,t,hr(1,n))}:function(e,t,n){return e[t]=n,e},mr={}.hasOwnProperty,yr=funct
 ion(e,t){return mr.call(e,t)},_r=0,gr=Math.random(),br=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++_r+gr).toString(36))},wr=t(function(e){var t=zn,n=vr,r=yr,o=br("src"),i="toString",a=Function[i],s=(""+a).split(i);Hn.inspectSource=function(e){return a.call(e)},(e.exports=function(e,i,a,u){var c="function"==typeof a;c&&(r(a,"name")||n(a,"name",i)),e[i]!==a&&(c&&(r(a,o)||n(a,o,e[i]?""+e[i]:s.join(String(i)))),e===t?e[i]=a:u?e[i]?e[i]=a:n(e,i,a):(delete e[i],n(e,i,a)))})(Function.prototype,i,function(){return"function"==typeof this&&this[o]||a.call(this)})}),Cr=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},kr=Cr,Or=function(e,t,n){if(kr(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)}},xr=zn,Er=Hn,Sr=vr,jr=wr,Ir=Or,Ar="prototype",Tr=function(e,t,n){var 
 r,o,i,a,s=e&Tr.F,u=e&Tr.G,c=e&Tr.S,l=e&Tr.P,f=e&Tr.B,d=u?xr:c?xr[t]||(xr[t]={}):(xr[t]||{})[Ar],p=u?Er:Er[t]||(Er[t]={}),h=p[Ar]||(p[Ar]={});u&&(n=t);for(r in n)o=!s&&d&&void 0!==d[r],i=(o?d:n)[r],a=f&&o?Ir(i,xr):l&&"function"==typeof i?Ir(Function.call,i):i,d&&jr(d,r,i,e&Tr.U),p[r]!=i&&Sr(p,r,a),l&&h[r]!=i&&(h[r]=i)};xr.core=Er,Tr.F=1,Tr.G=2,Tr.S=4,Tr.P=8,Tr.B=16,Tr.W=32,Tr.U=64,Tr.R=128;var Nr=Tr,Rr={}.toString,Dr=function(e){return Rr.call(e).slice(8,-1)},$r=Dr,Pr=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$r(e)?e.split(""):Object(e)},Mr=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Fr=Pr,qr=Mr,Lr=function(e){return Fr(qr(e))},Vr=Math.ceil,Ur=Math.floor,Jr=function(e){return isNaN(e=+e)?0:(e>0?Ur:Vr)(e)},Br=Jr,Wr=Math.min,zr=function(e){return e>0?Wr(Br(e),9007199254740991):0},Hr=Jr,Gr=Math.max,Xr=Math.min,Kr=function(e,t){return e=Hr(e),e<0?Gr(e+t,0):Xr(e,t)},Qr=Lr,Zr=zr,Yr=Kr,eo=function(e){return function(t,n,r){var 
 o,i=Qr(t),a=Zr(i.length),s=Yr(r,a);if(e&&n!=n){for(;a>s;)if(o=i[s++],o!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},to=zn,no="__core-js_shared__",ro=to[no]||(to[no]={}),oo=function(e){return ro[e]||(ro[e]={})},io=oo("keys"),ao=br,so=function(e){return io[e]||(io[e]=ao(e))},uo=yr,co=Lr,lo=eo(!1),fo=so("IE_PROTO"),po=function(e,t){var n,r=co(e),o=0,i=[];for(n in r)n!=fo&&uo(r,n)&&i.push(n);for(;t.length>o;)uo(r,n=t[o++])&&(~lo(i,n)||i.push(n));return i},ho="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),vo=po,mo=ho,yo=Object.keys||function(e){return vo(e,mo)},_o=Object.getOwnPropertySymbols,go={f:_o},bo={}.propertyIsEnumerable,wo={f:bo},Co=Mr,ko=function(e){return Object(Co(e))},Oo=yo,xo=go,Eo=wo,So=ko,jo=Pr,Io=Object.assign,Ao=!Io||Qn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Io({},e)[n]||Object.keys(Io({},t)).
 join("")!=r})?function(e,t){for(var n=arguments,r=So(e),o=arguments.length,i=1,a=xo.f,s=Eo.f;o>i;)for(var u,c=jo(n[i++]),l=a?Oo(c).concat(a(c)):Oo(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:Io,To=Nr;To(To.S+To.F,"Object",{assign:Ao}),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,t).set,r.call({},null)}catch(o){if(e.prototype!=={}[t]||void 0==={__proto__:null}.__proto__)return;r=function(e){this[t]=e},n.polyfill=n(n({},null),e.prototype)instanceof e}return n}(Object,"__proto__"));var No=Wn,Ro=No.WXEnvironment;Ro&&"iOS"===Ro.platform&&(Wn.Promise=void 0);var Do=t(function(e){var t=oo("wks"),n=br,r=zn.Symbol,o="function"==typeof r,i=e.exports=function(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))};i.store=t}),$o=Dr,Po=Do("toStringTag"),Mo="Arguments"==$o(function(){return arguments}()),Fo=function(e,t){try{return e[t]}catch(e){}},qo=function(e){var t,n,r;re
 turn void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Fo(t=Object(e),Po))?n:Mo?$o(t):"Object"==(r=$o(t))&&"function"==typeof t.callee?"Arguments":r},Lo=qo,Vo={};Vo[Do("toStringTag")]="z",Vo+""!="[object z]"&&wr(Object.prototype,"toString",function(){return"[object "+Lo(this)+"]"},!0);var Uo=Jr,Jo=Mr,Bo=function(e){return function(t,n){var r,o,i=String(Jo(t)),a=Uo(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a),r<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):(r-55296<<10)+(o-56320)+65536)}},Wo=!1,zo={},Ho=fr,Go=Kn,Xo=yo,Ko=Zn?Object.defineProperties:function(e,t){Go(e);for(var n,r=Xo(t),o=r.length,i=0;o>i;)Ho.f(e,n=r[i++],t[n]);return e},Qo=zn.document&&document.documentElement,Zo=Kn,Yo=Ko,ei=ho,ti=so("IE_PROTO"),ni=function(){},ri="prototype",oi=function(){var e,t=nr("iframe"),n=ei.length,r="<",o=">";for(t.style.display="none",Qo.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"s
 cript"+o+"document.F=Object"+r+"/script"+o),e.close(),oi=e.F;n--;)delete oi[ri][ei[n]];return oi()},ii=Object.create||function(e,t){var n;return null!==e?(ni[ri]=Zo(e),n=new ni,ni[ri]=null,n[ti]=e):n=oi(),void 0===t?n:Yo(n,t)},ai=fr.f,si=yr,ui=Do("toStringTag"),ci=function(e,t,n){e&&!si(e=n?e:e.prototype,ui)&&ai(e,ui,{configurable:!0,value:t})},li=ii,fi=dr,di=ci,pi={};vr(pi,Do("iterator"),function(){return this});var hi=function(e,t,n){e.prototype=li(pi,{next:fi(1,n)}),di(e,t+" Iterator")},vi=yr,mi=ko,yi=so("IE_PROTO"),_i=Object.prototype,gi=Object.getPrototypeOf||function(e){return e=mi(e),vi(e,yi)?e[yi]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?_i:null},bi=Wo,wi=Nr,Ci=wr,ki=vr,Oi=yr,xi=zo,Ei=hi,Si=ci,ji=gi,Ii=Do("iterator"),Ai=!([].keys&&"next"in[].keys()),Ti="@@iterator",Ni="keys",Ri="values",Di=function(){return this},$i=function(e,t,n,r,o,i,a){Ei(n,t,r);var s,u,c,l=function(e){if(!Ai&&e in h)return h[e];switch(e){ca
 se Ni:return function(){return new n(this,e)};case Ri:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",d=o==Ri,p=!1,h=e.prototype,v=h[Ii]||h[Ti]||o&&h[o],m=v||l(o),y=o?d?l("entries"):m:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=ji(_.call(new e)),c!==Object.prototype&&(Si(c,f,!0),bi||Oi(c,Ii)||ki(c,Ii,Di))),d&&v&&v.name!==Ri&&(p=!0,m=function(){return v.call(this)}),bi&&!a||!Ai&&!p&&h[Ii]||ki(h,Ii,m),xi[t]=m,xi[f]=Di,o)if(s={values:d?m:l(Ri),keys:i?m:l(Ni),entries:y},a)for(u in s)u in h||Ci(h,u,s[u]);else wi(wi.P+wi.F*(Ai||p),t,s);return s},Pi=Bo(!0);$i(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=Pi(t,n),this._i+=e.length,{value:e,done:!1})});var Mi=Do("unscopables"),Fi=Array.prototype;void 0==Fi[Mi]&&vr(Fi,Mi,{});var qi=function(e){Fi[Mi][e]=!0},Li=function(e,t){return{value:t,done:!!e}},Vi=qi,Ui=Li,Ji=zo,Bi=Lr,Wi=$i(Array,"Array",function(e
 ,t){this._t=Bi(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,Ui(1)):"keys"==t?Ui(0,n):"values"==t?Ui(0,e[n]):Ui(0,[n,e[n]])},"values");Ji.Arguments=Ji.Array,Vi("keys"),Vi("values"),Vi("entries");for(var zi=Wi,Hi=wr,Gi=zn,Xi=vr,Ki=zo,Qi=Do,Zi=Qi("iterator"),Yi=Qi("toStringTag"),ea=Ki.Array,ta=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],na=0;na<5;na++){var ra,oa=ta[na],ia=Gi[oa],aa=ia&&ia.prototype;if(aa){aa[Zi]||Xi(aa,Zi,ea),aa[Yi]||Xi(aa,Yi,oa),Ki[oa]=ea;for(ra in zi)aa[ra]||Hi(aa,ra,zi[ra],!0)}}var sa,ua,ca,la=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},fa=Kn,da=function(e,t,n,r){try{return r?t(fa(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&fa(o.call(e)),t}},pa=zo,ha=Do("iterator"),va=Array.prototype,ma=function(e){return void 0!==e&&(pa.Array===e||va[ha]===e)},ya=qo,_a=Do("iterator"),ga=zo,ba=Hn.getIteratorMe
 thod=function(e){if(void 0!=e)return e[_a]||e["@@iterator"]||ga[ya(e)]},wa=t(function(e){var t=Or,n=da,r=ma,o=Kn,i=zr,a=ba,s={},u={},c=e.exports=function(e,c,l,f,d){var p,h,v,m,y=d?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(p=i(e.length);p>g;g++)if(m=c?_(o(h=e[g])[0],h[1]):_(e[g]),m===s||m===u)return m}else for(v=y.call(e);!(h=v.next()).done;)if(m=n(v,_,h.value,c),m===s||m===u)return m};c.BREAK=s,c.RETURN=u}),Ca=Kn,ka=Cr,Oa=Do("species"),xa=function(e,t){var n,r=Ca(e).constructor;return void 0===r||void 0==(n=Ca(r)[Oa])?t:ka(n)},Ea=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)},Sa=Or,ja=Ea,Ia=Qo,Aa=nr,Ta=zn,Na=Ta.process,Ra=Ta.setImmediate,D
 a=Ta.clearImmediate,$a=Ta.MessageChannel,Pa=0,Ma={},Fa="onreadystatechange",qa=function(){var e=+this;if(Ma.hasOwnProperty(e)){var t=Ma[e];delete Ma[e],t()}},La=function(e){qa.call(e.data)};Ra&&Da||(Ra=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return Ma[++Pa]=function(){ja("function"==typeof e?e:Function(e),n)},sa(Pa),Pa},Da=function(e){delete Ma[e]},"process"==Dr(Na)?sa=function(e){Na.nextTick(Sa(qa,e,1))}:$a?(ua=new $a,ca=ua.port2,ua.port1.onmessage=La,sa=Sa(ca.postMessage,ca,1)):Ta.addEventListener&&"function"==typeof postMessage&&!Ta.importScripts?(sa=function(e){Ta.postMessage(e+"","*")},Ta.addEventListener("message",La,!1)):sa=Fa in Aa("script")?function(e){Ia.appendChild(Aa("script"))[Fa]=function(){Ia.removeChild(this),qa.call(e)}}:function(e){setTimeout(Sa(qa,e,1),0)});var Va={set:Ra,clear:Da},Ua=zn,Ja=Va.set,Ba=Ua.MutationObserver||Ua.WebKitMutationObserver,Wa=Ua.process,za=Ua.Promise,Ha="process"==Dr(Wa),Ga=function(){var e,t,n,r=function
 (){var r,o;for(Ha&&(r=Wa.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(Ha)n=function(){Wa.nextTick(r)};else if(Ba){var o=!0,i=document.createTextNode("");new Ba(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(za&&za.resolve){var a=za.resolve();n=function(){a.then(r)}}else n=function(){Ja.call(Ua,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}},Xa=wr,Ka=function(e,t,n){for(var r in t)Xa(e,r,t[r],n);return e},Qa=zn,Za=fr,Ya=Zn,es=Do("species"),ts=function(e){var t=Qa[e];Ya&&t&&!t[es]&&Za.f(t,es,{configurable:!0,get:function(){return this}})},ns=Do("iterator"),rs=!1;try{var os=[7][ns]();os.return=function(){rs=!0},Array.from(os,function(){throw 2})}catch(e){}var is,as,ss,us=function(e,t){if(!t&&!rs)return!1;var n=!1;try{var r=[7],o=r[ns]();o.next=function(){return{done:n=!0}},r[ns]=function(){return o},e(r)}catch(e){}return n},cs=Wo,ls=zn,fs=Or,ds=qo,ps=Nr,hs=Gn,vs=Cr,ms=la,ys=
 wa,_s=xa,gs=Va.set,bs=Ga(),ws="Promise",Cs=ls.TypeError,ks=ls.process,Os=ls[ws],ks=ls.process,xs="process"==ds(ks),Es=function(){},Ss=!!function(){try{var e=Os.resolve(1),t=(e.constructor={})[Do("species")]=function(e){e(Es,Es)};return(xs||"function"==typeof PromiseRejectionEvent)&&e.then(Es)instanceof t}catch(e){}}(),js=function(e,t){return e===t||e===Os&&t===ss},Is=function(e){var t;return!(!hs(e)||"function"!=typeof(t=e.then))&&t},As=function(e){return js(Os,e)?new Ts(e):new as(e)},Ts=as=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw Cs("Bad Promise constructor");t=e,n=r}),this.resolve=vs(t),this.reject=vs(n)},Ns=function(e){try{e()}catch(e){return{error:e}}},Rs=function(e,t){if(!e._n){e._n=!0;var n=e._c;bs(function(){for(var r=e._v,o=1==e._s,i=0,a=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&&Ps(e),e._h=1),a===!0?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(Cs("Promise-chain cycle")):(i=Is
 (n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Ds(e)})}},Ds=function(e){gs.call(ls,function(){var t,n,r,o=e._v;if($s(e)&&(t=Ns(function(){xs?ks.emit("unhandledRejection",o,e):(n=ls.onunhandledrejection)?n({promise:e,reason:o}):(r=ls.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=xs||$s(e)?2:1),e._a=void 0,t)throw t.error})},$s=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++],t.fail||!$s(t.promise))return!1;return!0},Ps=function(e){gs.call(ls,function(){var t;xs?ks.emit("rejectionHandled",e):(t=ls.onrejectionhandled)&&t({promise:e,reason:e._v})})},Ms=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),Rs(t,!0))},Fs=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Cs("Promise can't be resolved itself");(t=Is(e))?bs(function(){var r={_w:n,_d:!1};try{t.call(e,fs(Fs,r,1),fs(Ms,r,1))}catch(e){Ms.call(r,e)}}):(n._v=e,n._s=1,Rs(n,!1)
 )}catch(e){Ms.call({_w:n,_d:!1},e)}}};Ss||(Os=function(e){ms(this,Os,ws,"_h"),vs(e),is.call(this);try{e(fs(Fs,this,1),fs(Ms,this,1))}catch(e){Ms.call(this,e)}},is=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},is.prototype=Ka(Os.prototype,{then:function(e,t){var n=As(_s(this,Os));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=xs?ks.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Rs(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),Ts=function(){var e=new is;this.promise=e,this.resolve=fs(Fs,e,1),this.reject=fs(Ms,e,1)}),ps(ps.G+ps.W+ps.F*!Ss,{Promise:Os}),ci(Os,ws),ts(ws),ss=Hn[ws],ps(ps.S+ps.F*!Ss,ws,{reject:function(e){var t=As(this),n=t.reject;return n(e),t.promise}}),ps(ps.S+ps.F*(cs||!Ss),ws,{resolve:function(e){if(e instanceof Os&&js(e.constructor,this))return e;var t=As(this),n=t.resolve;return n(e),t.promise}}),ps(ps.S+ps.F*!(Ss&&us(function(e){Os.all(e).catch(Es)}
 )),ws,{all:function(e){var t=this,n=As(t),r=n.resolve,o=n.reject,i=Ns(function(){var n=[],i=0,a=1;ys(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=As(t),r=n.reject,o=Ns(function(){ys(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var qs=["off","error","warn","info","log","debug"],Ls={},Vs=global.console,Us=global.setTimeout,Js=global.setTimeoutNative;s();var Bs=function(){},Ws=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Bs=t||function(){}};Ws.prototype.send=function(e,t,n){var r=t.action,o=t.component,i=t.ref,a=t.module,s=t.method;switch(e){case"dom":return this[r](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,i,s,n,{component:o});default:return this.moduleHandler(this.instanceId,a,s,n,{})}},Ws.prototype.callDOM=function(e,t){return this
 [e](this.instanceId,t)},Ws.prototype.callComponent=function(e,t,n){return this.componentHandler(this.instanceId,e,t,n,{})},Ws.prototype.callModule=function(e,t,n){return this.moduleHandler(this.instanceId,e,t,n,{})};var zs,Hs,Gs,Xs={},Ks=1,Qs={},Zs=[],Ys=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,eu={},tu={createInstance:R,registerService:S,unregisterService:j};q.prototype.destroy=function(){var e=d(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var nu="div";L.prototype=Object.create(q.prototype),L.prototype.constructor=L,x(L),Object.assign(L.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(k(e,this.children,this.children.length,!0),1===e.nodeType){var t=k(e,this.pureChildren,this.pureChildren.length),n=h(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(g(e,this),C(e,this.children,this.children.length,!0),this.docId&&V(this.docId,e),1===e.n
 odeType){C(e,this.pureChildren,this.pureChildren.length);var r=h(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(k(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=b(t),r=k(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=h(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(g(e,this),C(e,this.children,this.children.indexOf(t),!0),this.docId&&V(this.docId,e),1===e.nodeType){var i=b(t),a=C(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=h(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(k(e,this.children,this.children.indexOf(t)+1,
 !0),1===e.nodeType){var n=k(e,this.pureChildren,this.pureChildren.indexOf(w(t))+1),r=h(this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(g(e,this),C(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&V(this.docId,e),1===e.nodeType){var o=C(e,this.pureChildren,this.pureChildren.indexOf(w(t))+1),i=h(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(O(e,this.children,!0),1===e.nodeType)){O(e,this.pureChildren);var n=h(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=h(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||n===!1){this.attr[e]=t;var r=h(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updat
 eAttrs"},[this.ref,o])}}},setStyle:function(e,t,n){if(this.style[e]!==t||n===!1){this.style[e]=t;var r=h(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=h(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=h(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=h(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t){var n=this.event[e];if(n)return n.call(this,t)},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.stringify(this.attr)+" style="+JSON.stringify(this.toStyle())+">"+this.pureChildren.map(function(e){return e.toString()}).join("")+"</"+this.type+">"}}),U.prototype=Object.create(q.prototype),U.prototype.constructor=U,U.prototype.toString=function(){return"<!-- "+this.value+" -->"},Object.assign(J.prototype,{createFinish:function(e){var t=this.handler;return t([B("createFinish")],e)},updateFinish:function(e){var t=this.handler;return t([B("updateFinish")],e)},refreshFinish:function(e){var t=this.handler;return t([B("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[B("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return B("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(B("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Arra
 y.isArray(e)){var t=e.map(function(e){return B("removeElement",[e])});return this.addActions(t)}return this.addActions(B("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(B("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(B("updateAttrs",[e,r]))},setStyle:function(e,t,n){var r={};return r[t]=n,this.addActions(B("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(B("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(B("addEvent",[e,t]))},removeEvent:function(e,t){return this.addActions(B("removeEvent",[e,t]))},handler:function(e,t){return t&&t()},addActions:function(e){var t=this.updates,n=this.handler;return Array.isArray(e)||(e=[e]),this.batched?void t.push.apply(t,e):n(e)}});var ru={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",r
 emoveEvent:"callRemoveEvent"};G.handler=null,Object.assign(G.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 L("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){m(e,t)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){m(e,t,n)}})}return this.documentElement},createBody:function(e,t){if(!this.body){var n=new L(e,t);_(this,n)}return this.body},createElement:function(e,t){return new L(e,t)},createComment:function(e){return new U(e)},fireEvent:function(e,t,n,r){if(e)return n=n||{},n.type=t,n.target=e,n.timestamp=Date.now(),r&&X(e,r),e.fireEvent(t,n)},destroy:function(){delete this.listener,delete this.nodeMap,p(this.id)}});var ou=function(e){this.instanceId=e,this.la
 stCallbackId=0,this.callbacks=[]};ou.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},ou.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},ou.prototype.consume=function(e,t,n){var r=this.callbacks[e];return"undefined"!=typeof n&&n!==!1||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},ou.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var iu={Document:G,Element:L,Comment:U,Listener:J,TaskCenter:Ws,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return global.callNative.apply(global,e)},CallbackManager:ou};G.handler=iu.sendTasks;var au,su={setNativeConsole:n,resetNativeConsole:r,setNativeTimer:s,resetNativeTimer:u,service:{register:S,unregister:j,has:I},freezePrototype:K,init:F,config:iu},uu={},cu={},lu=Q,fu=Z,du=Y,pu=ee,hu=te,vu=ne,mu=re,yu=oe,_u=ie,gu=ae,bu={init:lu,registerCompo
 nents:fu,registerModules:du,registerMethods:pu,prepareInstance:hu,createInstance:vu,refreshInstance:mu,destroyInstance:yu,getRoot:_u,receiveTasks:gu},wu=Object.freeze({default:bu,__moduleExports:bu,init:lu,registerComponents:fu,registerModules:du,registerMethods:pu,prepareInstance:hu,createInstance:vu,refreshInstance:mu,destroyInstance:yu,getRoot:_u,receiveTasks:gu}),Cu=t(function(e,t){function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e,10);return t||0===t?t:e}function o(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 i(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function a(e,t){return Xt.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function c(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 l(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return tn.call(e)===nn}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function v(){}function m(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}function y(e,t){var n=d(e),r=d(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}function _(e,t){for(var n=0;n<e.length;n++)if(y(e[n],t))return n;return-1}function g(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function b(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function w(e){if(!sn.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 C(e){
 return/native code/.test(e.toString())}function k(e){Cn.target&&kn.push(Cn.target),Cn.target=e}function O(){Cn.target=kn.pop()}function x(e,t){e.__proto__=t}function E(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];b(e,i,t[i])}}function S(e,t){if(d(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof jn?n=e.__ob__:Sn.shouldConvert&&!mn()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new jn(e)),t&&n&&n.vmCount++,n}}function j(e,t,n,r){var o=new Cn,i=Object.getOwnPropertyDescriptor(e,t);if(!i||i.configurable!==!1){var a=i&&i.get,s=i&&i.set,u=S(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return Cn.target&&(o.depend(),u&&u.dep.depend(),Array.isArray(t)&&T(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,u=S(t),o.notify())}})}}function I(e,t,n){if(Array.isArray(e))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(a(e,t))return void(e[t]=n);var r=e.__ob__;if(!(e._isVue||r&&r.v
 mCount))return r?(j(r.value,t,n),r.dep.notify(),n):void(e[t]=n)}function A(e,t){var n=e.__ob__;e._isVue||n&&n.vmCount||a(e,t)&&(delete e[t],n&&n.dep.notify())}function T(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&T(t)}function N(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),s=0;s<i.length;s++)n=i[s],r=e[n],o=t[n],a(e,n)?p(r)&&p(o)&&N(r,o):I(e,n,o);return e}function R(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function D(e,t){var n=Object.create(e||null);return t?f(n,t):n}function $(e){var t=e.props;if(t){var n,r,o,i={};if(Array.isArray(t))for(n=t.length;n--;)r=t[n],"string"==typeof r&&(o=Qt(r),i[o]={type:null});else if(p(t))for(var a in t)r=t[a],o=Qt(a),i[o]=p(r)?r:{type:r};e.props=i}}function P(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 M(e,t,n){function r(r){var o=In[r]||Tn;l[r]=o(e[r],t[r],n,r)}$(t),P(t);var o=t.extends;if(o&&(e="function"
 ==typeof o?M(e,o.options,n):M(e,o,n)),t.mixins)for(var i=0,s=t.mixins.length;i<s;i++){var u=t.mixins[i];u.prototype instanceof Be&&(u=u.options),e=M(e,u,n)}var c,l={};for(c in e)r(c);for(c in t)a(e,c)||r(c);return l}function F(e,t,n,r){if("string"==typeof n){var o=e[t];if(a(o,n))return o[n];var i=Qt(n);if(a(o,i))return o[i];var s=Zt(i);if(a(o,s))return o[s];var u=o[n]||o[i]||o[s];return u}}function q(e,t,n,r){var o=t[e],i=!a(n,e),s=n[e];if(U(Boolean,o.type)&&(i&&!a(o,"default")?s=!1:U(String,o.type)||""!==s&&s!==en(e)||(s=!0)),void 0===s){s=L(r,o,e);var u=Sn.shouldConvert;Sn.shouldConvert=!0,S(s),Sn.shouldConvert=u}return s}function L(e,t,n){if(a(t,"default")){var r=t.default;return d(r),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e[n]?e[n]:"function"==typeof r&&t.type!==Function?r.call(e):r}}function V(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function U(e,t){if(!Array.isArray(t))return V(t)===V(e);for(var n=0,r=t.length;n<r;n++)if(
 V(t[n])===V(e))return!0;return!1}function J(e){return new Rn(void 0,void 0,void 0,String(e))}function B(e){var t=new Rn(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isCloned=!0,t}function W(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=B(e[n]);return t}function z(e,t,n,r,o){if(e){var i=n.$options._base;if(d(e)&&(e=i.extend(e)),"function"==typeof e){if(!e.cid)if(e.resolved)e=e.resolved;else if(e=Y(e,i,function(){n.$forceUpdate()}),!e)return;Je(e),t=t||{};var a=ee(t,e);if(e.options.functional)return H(e,a,t,n,r);var s=t.on;t.on=t.nativeOn,e.options.abstract&&(t={}),ne(t);var u=e.options.name||o,c=new Rn("vue-component-"+e.cid+(u?"-"+u:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:s,tag:o,children:r});return c}}}function H(e,t,n,r,o){var i={},a=e.options.props;if(a)for(var s in a)i[s]=q(s,a,t);var u=Object.create(r),c=function(e,t,n,r){return de(u,e,t,n,r,!0)},l=e.options.render.call(null
 ,c,{props:i,data:n,parent:r,children:o,slots:function(){return ye(o,r)}});return l instanceof Rn&&(l.functionalContext=r,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function G(e,t,n,r){var o=e.componentOptions,i={_isComponent:!0,parent:t,propsData:o.propsData,_componentTag:o.tag,_parentVnode:e,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return a&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new o.Ctor(i)}function X(e,t,n,r){if(!e.child||e.child._isDestroyed){var o=e.child=G(e,qn,n,r);o.$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var i=e;K(i,i)}}function K(e,t){var n=t.componentOptions,r=t.child=e.child;r._updateFromParent(n.propsData,n.listeners,t,n.children)}function Q(e){e.child._isMounted||(e.child._isMounted=!0,xe(e.child,"mounted")),e.data.keepAlive&&(e.child._inactive=!1,xe(e.child,"activated"))}function Z(e){e.child._isDestroyed||(e.data.keepAlive?(e.child._inactive=!0,xe(e.child,"dea
 ctivated")):e.child.$destroy())}function Y(e,t,n){if(!e.requested){e.requested=!0;var r=e.pendingCallbacks=[n],o=!0,i=function(n){if(d(n)&&(n=t.extend(n)),e.resolved=n,!o)for(var i=0,a=r.length;i<a;i++)r[i](n)},a=function(e){},s=e(i,a);return s&&"function"==typeof s.then&&!e.resolved&&s.then(i,a),o=!1,e.resolved}e.pendingCallbacks.push(n)}function ee(e,t){var n=t.options.props;if(n){var r={},o=e.attrs,i=e.props,a=e.domProps;if(o||i||a)for(var s in n){var u=en(s);te(r,i,s,u,!0)||te(r,o,s,u)||te(r,a,s,u)}return r}}function te(e,t,n,r,o){if(t){if(a(t,n))return e[n]=t[n],o||delete t[n],!0;if(a(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function ne(e){e.hook||(e.hook={});for(var t=0;t<Pn.length;t++){var n=Pn[t],r=e.hook[n],o=$n[n];e.hook[n]=r?re(o,r):o}}function re(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function oe(e,t,n,r){r+=t;var o=e.__injected||(e.__injected={});if(!o[r]){o[r]=!0;var i=e[t];i?e[t]=function(){i.apply(this,arguments),n.apply(this,arguments)}:e[t]=n}
 }function ie(e,t,n,r,o){var i,a,s,u,c,l,f;for(i in e)if(a=e[i],s=t[i],a)if(s){if(a!==s)if(Array.isArray(s)){s.length=a.length;for(var d=0;d<s.length;d++)s[d]=a[d];e[i]=s}else s.fn=a,e[i]=s}else f="~"===i.charAt(0),c=f?i.slice(1):i,l="!"===c.charAt(0),c=l?c.slice(1):c,Array.isArray(a)?n(c,a.invoker=ae(a),f,l):(a.invoker||(u=a,a=e[i]={},a.fn=u,a.invoker=se(a)),n(c,a.invoker,f,l));else;for(i in t)e[i]||(f="~"===i.charAt(0),c=f?i.slice(1):i,l="!"===c.charAt(0),c=l?c.slice(1):c,r(c,t[i].invoker,l))}function ae(e){return function(t){for(var n=arguments,r=1===arguments.length,o=0;o<e.length;o++)r?e[o](t):e[o].apply(null,n)}}function se(e){return function(t){var n=1===arguments.length;n?e.fn(t):e.fn.apply(null,arguments)}}function ue(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function ce(e){return s(e)?[J(e)]:Array.isArray(e)?le(e):void 0}function le(e,t){var n,r,o,i=[];for(n=0;n<e.length;n++)r=e[n],null!=r&&"boolean"!=typeof r&&(
 o=i[i.length-1],Array.isArray(r)?i.push.apply(i,le(r,(t||"")+"_"+n)):s(r)?o&&o.text?o.text+=String(r):""!==r&&i.push(J(r)):r.text&&o&&o.text?i[i.length-1]=J(o.text+r.text):(r.tag&&null==r.key&&null!=t&&(r.key="__vlist"+t+"_"+n+"__"),i.push(r)));return i}function fe(e){return e&&e.filter(function(e){return e&&e.componentOptions})[0]}function de(e,t,n,r,o,i){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i&&(o=Fn),pe(e,t,n,r,o)}function pe(e,t,n,r,o){if(n&&n.__ob__)return Dn();if(!t)return Dn();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===Fn?r=ce(r):o===Mn&&(r=ue(r));var i,a;if("string"==typeof t){var s;a=an.getTagNamespace(t),i=an.isReservedTag(t)?new Rn(an.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=F(e.$options,"components",t))?z(s,n,e,r,t):new Rn(t,n,r,void 0,void 0,e)}else i=z(t,n,e,r);return i?(a&&he(i,a),i):Dn()}function he(e,t){if(e.ns=t,"foreignObject"!==e.tag&&e.children)for(var n=0,r=e.children.length;n<r;n++){var 
 o=e.children[n];o.tag&&!o.ns&&he(o,t)}}function ve(e){e.$vnode=null,e._vnode=null,e._staticTrees=null;var t=e.$options._parentVnode,n=t&&t.context;e.$slots=ye(e.$options._renderChildren,n),e.$scopedSlots={},e._c=function(t,n,r,o){return de(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return de(e,t,n,r,o,!0)},e.$options.el&&e.$mount(e.$options.el)}function me(e){function t(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&o(e[r],t+"_"+r,n);else o(e,t,n)}function o(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}e.prototype.$nextTick=function(e){return _n(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t.staticRenderFns,o=t._parentVnode;if(e._isMounted)for(var i in e.$slots)e.$slots[i]=W(e.$slots[i]);o&&o.data.scopedSlots&&(e.$scopedSlots=o.data.scopedSlots),r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=o;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){if(!an.errorHandler)throw t;an.errorHandler.call(null,t,e),
 a=e._vnode}return a instanceof Rn||(a=Dn()),a.parent=o,a},e.prototype._s=n,e.prototype._v=J,e.prototype._n=r,e.prototype._e=Dn,e.prototype._q=y,e.prototype._i=_,e.prototype._m=function(e,n){var r=this._staticTrees[e];return r&&!n?Array.isArray(r)?W(r):B(r):(r=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),t(r,"__static__"+e,!1),r)},e.prototype._o=function(e,n,r){return t(e,"__once__"+n+(r?"_"+r:""),!0),e},e.prototype._f=function(e){return F(this.$options,"filters",e,!0)||on},e.prototype._l=function(e,t){var n,r,o,i,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(d(e))for(i=Object.keys(e),n=new Array(i.length),r=0,o=i.length;r<o;r++)a=i[r],n[r]=t(e[a],a,r);return n},e.prototype._t=function(e,t,n,r){var o=this.$scopedSlots[e];if(o)return n=n||{},r&&f(n,r),o(n)||t;var i=this.$slots[e];return i||t},e.prototype._b=functio
 n(e,t,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=h(n));for(var o in n)if("class"===o||"style"===o)e[o]=n[o];else{var i=r||an.mustUseProp(t,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={});i[o]=n[o]}}else;return e},e.prototype._k=function(e,t,n){var r=an.keyCodes[t]||n;return Array.isArray(r)?r.indexOf(e)===-1:r!==e}}function ye(e,t){var n={};if(!e)return n;for(var r,o,i=[],a=0,s=e.length;a<s;a++)if(o=e[a],(o.context===t||o.functionalContext===t)&&o.data&&(r=o.data.slot)){var u=n[r]||(n[r]=[]);"template"===o.tag?u.push.apply(u,o.children):u.push(o)}else i.push(o);return i.length&&(1!==i.length||" "!==i[0].text&&!i[0].isComment)&&(n.default=i),n}function _e(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&we(e,t)}function ge(e,t,n){n?An.$once(e,t):An.$on(e,t)}function be(e,t){An.$off(e,t)}function we(e,t,n){An=e,ie(t,n||{},ge,be,e)}function Ce(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;return(r._events[e]||(r._events[e]=[])).pus
 h(n),t.test(e)&&(r._hasHookEvent=!0),r},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[e];if(!r)return n;if(1===arguments.length)return n._events[e]=null,n;for(var o,i=r.length;i--;)if(o=r[i],o===t||o.fn===t){r.splice(i,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?l(n):n;for(var r=l(arguments,1),o=0,i=n.length;o<i;o++)n[o].apply(t,r)}return t}}function ke(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=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Oe(e){e.prototype._mount=function(e,t){var n=this;return n.$el=e,n.$options.render||(n.$options.render=Dn),xe(n,"beforeMount"),n
 ._watcher=new Hn(n,function(){n._update(n._render(),t)},v),t=!1,null==n.$vnode&&(n._isMounted=!0,xe(n,"mounted")),n},e.prototype._update=function(e,t){var n=this;n._isMounted&&xe(n,"beforeUpdate");var r=n.$el,o=n._vnode,i=qn;qn=n,n._vnode=e,o?n.$el=n.__patch__(o,e):n.$el=n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),qn=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype._updateFromParent=function(e,t,n,r){var o=this,i=!(!o.$options._renderChildren&&!r);if(o.$options._parentVnode=n,o.$vnode=n,o._vnode&&(o._vnode.parent=n),o.$options._renderChildren=r,e&&o.$options.props){Sn.shouldConvert=!1;for(var a=o.$options._propKeys||[],s=0;s<a.length;s++){var u=a[s];o[u]=q(u,o.$options.props,e,o)}Sn.shouldConvert=!0,o.$options.propsData=e}if(t){var c=o.$options._parentListeners;o.$options._parentListeners=t,we(o,t,c)}i&&(o.$slots=ye(r,n.context),o.$forceUpdate())},e.prototype.$forceUpdate=functi
 on(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){xe(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||i(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,xe(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.__patch__(e._vnode,null)}}}function xe(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++)n[r].call(e);e._hasHookEvent&&e.$emit("hook:"+t)}function Ee(){Ln.length=0,Vn={},Un=Jn=!1}function Se(){Jn=!0;var e,t,n;for(Ln.sort(function(e,t){return e.id-t.id}),Bn=0;Bn<Ln.length;Bn++)e=Ln[Bn],t=e.id,Vn[t]=null,e.run();for(Bn=Ln.length;Bn--;)e=Ln[Bn],n=e.vm,n._watcher===e&&n._isMounted&&xe(n,"updated");yn&&an.devtools&&yn.emit("flush"),Ee()}function je(e){var t=e.id;if(null==Vn[t]){if(Vn[t]=!0,Jn){for(var n=Ln.length-1;n>=0&&Ln[n].id>e.id
 ;)n--;Ln.splice(Math.max(n,Bn)+1,0,e)}else Ln.push(e);Un||(Un=!0,_n(Se))}}function Ie(e){Gn.clear(),Ae(e,Gn)}function Ae(e,t){var n,r,o=Array.isArray(e);if((o||d(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--;)Ae(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)Ae(e[r[n]],t)}}function Te(e){e._watchers=[];var t=e.$options;t.props&&Ne(e,t.props),t.methods&&Pe(e,t.methods),t.data?Re(e):S(e._data={},!0),t.computed&&De(e,t.computed),t.watch&&Me(e,t.watch)}function Ne(e,t){var n=e.$options.propsData||{},r=e.$options._propKeys=Object.keys(t),o=!e.$parent;Sn.shouldConvert=o;for(var i=function(o){var i=r[o];j(e,i,q(i,t,n,e))},a=0;a<r.length;a++)i(a);Sn.shouldConvert=!0}function Re(e){var t=e.$options.data;t=e._data="function"==typeof t?t.call(e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=n.length;o--;)r&&a(r,n[o])||Le(e,n[o]);S(t,!0)}function De(e,t){for(var n in t){var r=t[n];"function"==typeof r?(X
 n.get=$e(r,e),Xn.set=v):(Xn.get=r.get?r.cache!==!1?$e(r.get,e):c(r.get,e):v,Xn.set=r.set?c(r.set,e):v),Object.defineProperty(e,n,Xn)}}function $e(e,t){var n=new Hn(t,e,v,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Cn.target&&n.depend(),n.value}}function Pe(e,t){for(var n in t)e[n]=null==t[n]?v:c(t[n],e)}function Me(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Fe(e,n,r[o]);else Fe(e,n,r)}}function Fe(e,t,n){var r;p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function qe(e){var t={};t.get=function(){return this._data},Object.defineProperty(e.prototype,"$data",t),e.prototype.$set=I,e.prototype.$delete=A,e.prototype.$watch=function(e,t,n){var r=this;n=n||{},n.user=!0;var o=new Hn(r,e,t,n);return n.immediate&&t.call(r,o.value),function(){o.teardown()}}}function Le(e,t){g(t)||Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Ve(e){e.proto
 type._init=function(e){var t=this;t._uid=Kn++,t._isVue=!0,e&&e._isComponent?Ue(t,e):t.$options=M(Je(t.constructor),e||{},t),t._renderProxy=t,t._self=t,ke(t),_e(t),xe(t,"beforeCreate"),Te(t),xe(t,"created"),ve(t)}}function Ue(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 Je(e){var t=e.options;if(e.super){var n=e.super.options,r=e.superOptions,o=e.extendOptions;n!==r&&(e.superOptions=n,o.render=t.render,o.staticRenderFns=t.staticRenderFns,o._scopeId=t._scopeId,t=e.options=M(n,o),t.name&&(t.components[t.name]=e))}return t}function Be(e){this._init(e)}function We(e){e.use=function(e){if(!e.installed){var t=l(arguments,1);return t.unshift(this),"function"==typeof e.install?e.instal
 l.apply(e,t):e.apply(null,t),e.installed=!0,this}}}function ze(e){e.mixin=function(e){this.options=M(this.options,e)}}function He(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=M(n.options,e),a.super=n,a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,an._assetTypes.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,o[r]=a,a}}function Ge(e){an._assetTypes.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&p(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 Xe(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:e.test(t)}function Ke(e){var t={};t.get=function(){return an},Object
 .defineProperty(e,"config",t),e.util=Nn,e.set=I,e.delete=A,e.nextTick=_n,e.options=Object.create(null),an._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,f(e.options.components,Yn),We(e),ze(e),He(e),Ge(e)}function Qe(e){this.instanceId="",this.nodeId=er++,this.parentNode=null,this.nodeType=3,this.text=e}function Ze(e){return new tr.Element(e)}function Ye(e,t){return new tr.Element(e+":"+t)}function et(e){return new tr.TextNode(e)}function tt(e){return new tr.Comment(e)}function nt(e,t,n){if(3!==t.nodeType)e.insertBefore(t,n);else if("text"===e.type)e.setAttr("value",t.text),t.parentNode=e;else{var r=Ze("text");r.setAttr("value",t.text),e.insertBefore(r,n)}}function rt(e,t){return 3===t.nodeType?void e.setAttr("value",""):void e.removeChild(t)}function ot(e,t){if(3!==t.nodeType)e.appendChild(t);else if("text"===e.type)e.setAttr("value",t.text),t.parentNode=e;else{var n=Ze("text");n.setAttr("value",t.text),e.appendChild(n)}}function it(e){retur
 n e.parentNode}function at(e){return e.nextSibling}function st(e){return e.type}function ut(e,t){e.parentNode.setAttr("value",t)}function ct(e,t,n){e.setAttr(t,n)}function lt(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.child||e.elm,a=r.$refs;t?Array.isArray(a[n])?i(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(o)<0?a[n].push(o):a[n]=[o]:a[n]=o}}function ft(e){return null==e}function dt(e){return null!=e}function pt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function ht(e,t,n){var r,o,i={};for(r=t;r<=n;++r)o=e[r].key,dt(o)&&(i[o]=r);return i}function vt(e){function t(e){return new Rn(S.tagName(e).toLowerCase(),{},[],void 0,e)}function n(e,t){function n(){0===--n.listeners&&r(e)}return n.listeners=t,n}function r(e){var t=S.parentNode(e);t&&S.removeChild(t,e)}function i(e,t,n,r,o){if(e.isRootInsert=!o,!a(e,t,n,r)){var i=e.data,s=e.children,u=e.tag;if(dt(u)){e.elm=e.ns?S.createElementNS(e.ns,u):S.createEl
 ement(u,e),h(e);var f=i&&i.appendAsTree;f||(dt(i)&&d(e,t),c(n,e.elm,r)),l(e,s,t),f&&(dt(i)&&d(e,t),c(n,e.elm,r))}else e.isComment?(e.elm=S.createComment(e.text),c(n,e.elm,r)):(e.elm=S.createTextNode(e.text),c(n,e.elm,r))}}function a(e,t,n,r){var o=e.data;if(dt(o)){var i=dt(e.child)&&o.keepAlive;if(dt(o=o.hook)&&dt(o=o.init)&&o(e,!1,n,r),dt(e.child))return p(e,t),i&&u(e,t,n,r),!0}}function u(e,t,n,r){for(var o,i=e;i.child;)if(i=i.child._vnode,dt(o=i.data)&&dt(o=o.transition)){for(o=0;o<x.activate.length;++o)x.activate[o](ir,i);t.push(i);break}c(n,e.elm,r)}function c(e,t,n){e&&(n?S.insertBefore(e,t,n):S.appendChild(e,t))}function l(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)i(t[r],n,e.elm,null,!0);else s(e.text)&&S.appendChild(e.elm,S.createTextNode(e.text))}function f(e){for(;e.child;)e=e.child._vnode;return dt(e.tag)}function d(e,t){for(var n=0;n<x.create.length;++n)x.create[n](ir,e);k=e.data.hook,dt(k)&&(k.create&&k.create(ir,e),k.insert&&t.push(e))}function p(e,t){e.dat
 a.pendingInsert&&t.push.apply(t,e.data.pendingInsert),e.elm=e.child.$el,f(e)?(d(e,t),h(e)):(lt(e),t.push(e))}function h(e){var t;dt(t=e.context)&&dt(t=t.$

<TRUNCATED>