weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acton...@apache.org
Subject [1/2] incubator-weex git commit: * [jsfm] upgrade weex-js-framework to v0.23.9 close #978
Date Thu, 11 Jan 2018 09:05:00 GMT
Repository: incubator-weex
Updated Branches:
  refs/heads/master 047159752 -> 7eddda03f


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7eddda03/pre-build/native-bundle-main.js
----------------------------------------------------------------------
diff --git a/pre-build/native-bundle-main.js b/pre-build/native-bundle-main.js
index 984fb1f..93acf08 100644
--- a/pre-build/native-bundle-main.js
+++ b/pre-build/native-bundle-main.js
@@ -1,10 +1,10 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.23.8, Build 2018-01-03 14:29."),this.getJSFMVersion=function(){return"0.23.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){ar.Document=e.Document,ar.Element=e.Element,ar.Comment=e.Comment,ar.sendTasks=e.sendTasks}function t(e,t,n,r,o){void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o={});var i=new ar.Document(e,n.bundleUrl),a={},s={id:e,data:r,document:i,callbacks:a},u=0;i.addCallback=function(e){return u++,a[u]=e,u},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},sr[e]=s;var c=Object.assign({Document:ar.Document,Element:ar.Element,Comment:ar.Comment,sendTasks:function(t){return ar.sendTasks(e,t,-1)},options:n,document:i},o),l=[],f=[];for(var d in c)l.push(d),f.push(c[d]);return l.push(t),(new(Function.prototy
 pe.bind.apply(Function,[null].concat(l)))).apply(void 0,f),ar.sendTasks(e,[{module:"dom",method:"createFinish",args:[]}],-1),s}function n(e){delete sr[e]}function r(e){return sr[e].document.body.toJSON()}function o(e,t){var n={fireEvent:function(e,t,n,r,o){var i=sr[e],a=i.document,s=a.getRef(t);return a.fireEvent(s,n,r,o)},callback:function(e,t,n,r){return sr[e].document.handleCallback(t,n,r)}};if((sr[e]||{}).document&&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}}function i(e){return e&&e.__esModule?e.default:e}function a(e,t){return t={exports:{}},e(t,t.exports),t.exports}function s(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function u(e){var t=this._ids[e];if(t)return t.el}function c(e){var t=this._ids[e];if(t)return t.vm}function l(e){return this._app.differ.then(function(){e()})}function f(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){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function d(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.requireModule("animation").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 p(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 h(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function v(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" i
 nstead"),this._app.requireModule("event").openURL(e)}function y(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function m(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){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&&_.apply(void 0,[e].concat(t))}return e}function g(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function b(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function w(e,t){return gr.call(e,t)}function S(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 x(e){return null!==e&&"object"==typeof e}function O(e){return br.call(e)===wr}function k(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function C(){return"object"==typeof nativeSet?nativeSet.create():new fr}function E(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function j(e){return e.replace(xr,"").replace(Or,"")}function A(e){return e.replace(Cr,"")}function I(){this.id=Tr++,this.subs=[]}function T(e){I.target&&Pr.push(I.target),I.target=e}function P(){I.target=Pr.pop()}function N(){I.target=null,Pr=[]}function M(e,t,n,r){r&&_(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=C(),this.newDepIds=C(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function $(e,t){var n,r,o,i;if(
 t||(t=Mr,t.clear()),o=Array.isArray(e),i=x(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[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)$(e[r[n]],t)}}function R(e){if(this.value=e,this.dep=new I,g(e,"__ob__",this),Array.isArray(e)){(Sr?D:F)(e,Rr,Dr),this.observeArray(e)}else this.walk(e)}function D(e,t){e.__proto__=t}function F(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];g(e,i,t[i])}}function L(e,t){if(x(e)){var n;return w(e,"__ob__")&&e.__ob__ instanceof R?n=e.__ob__:(Array.isArray(e)||O(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new R(e)),n&&t&&n.addVm(t),n}}function V(e,t,n){var r=new I,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=L(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(I.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=L(t),r.notify())}})}}function W(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(w(e,t))return void(e[t]=n);if(e._isVue)return void W(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];B(i,t)}return n}function U(e,t){if(w(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];q(o,t)}}}function B(e,t){(Fr.indexOf(t)>-1||!k(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function q(e,t){k(t)||delete e[t]}function J(e){e._watchers=[],z(e),G(e),K(e)}function z(e){var t=e._data;O(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)B(e,n[r]);L(t,e)}function H(){}function G(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"fu
 nction"==typeof r?(o.get=X(r,e),o.set=H):(o.get=r.get?!1!==r.cache?X(r.get,e):S(r.get,e):H,o.set=r.set?S(r.set,e):H),Object.defineProperty(e,n,o)}}function X(e,t){var n=new M(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),I.target&&n.depend(),n.value}}function K(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Z(e){var t=e.type,n=Vr[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===E(e[r])&&"object"===E(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function Q(e,t,n){oe(e,t,n.id,e),ie(e,t,n.attr),se(e,t,n.classList),ue(e,t,n.style),le(e,t,n.events)}function Y(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},{})),te(r,i,e,t),te(n.attr,i,e,t)}function ee(e,t,n,r){void 0===r&&(r={}),re(n.classList,e,t),ne(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function te(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=pe(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ne(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=pe(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 re(e,t,n){function r(e,t){"array"===E(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=pe(t,e,function(e){r(e,i),ae(n._rootEl,o,e)});r(a,i),ae(n._rootEl,o,a)}else null!=e&&(r(e,i),ae(n._rootEl,o,e))}}function oe(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),(n||0===n)&&(e._ids[n]=o),pe(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function ie(e,t,n){fe(e,t,"attr",n)}function ae(e,t,n){"st
 ring"==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 se(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=pe(e,n,function(e){ae(t,r,e)});ae(t,r,o)}else ae(t,r,n)}}function ue(e,t,n){fe(e,t,"style",n)}function ce(e,t,n,r){t.addEvent(n,S(r,e))}function le(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.')),ce(e,t,i,a)}}function fe(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?de(e,t,n,a,s):t[Wr[n]](a,s)}}function de(e,t,n,r,o){var i=Wr[n],a=pe(e,o,function(n){function o(){t[i](r,n)}var 
 a=e&&e._app&&e._app.differ;a?a.append("element",t.depth||0,t.ref,o):o()});t[i](r,a)}function pe(e,t,n){return e._static?t.call(e,e):new M(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function he(e,t){return e._app.doc.createBody(t)}function ve(e,t){return e._app.doc.createElement(t)}function ye(e,t){var n=me(e),r=_e(e),o=Ur++;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 me(e){return e._app.doc.createComment("start")}function _e(e){return e._app.doc.createComment("end")}function ge(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=be(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 be(e,t,n){return t.element?Se(t,n):we(t,n)}function we(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function Se(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 xe(e,t,n){void 0===n&&(n=!1),t.element?ke(t,n):Oe(t),t._vm&&t._vm.$emit("hook:destroyed")}function Oe(e){var t=e.parentNode;t&&t.removeChild(e)}function ke(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||Oe(e.start),n.forEach(function(e){Oe(e)}),t||Oe(e.end)}function Ce(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?Ee(e,n.children[0],e._parentEl):Ee(e,n.children,e._parentEl):Ee(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._r
 eady=!0}function Ee(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),je(t))return void Me(e,t,n,r);if(r=r||{},Ae(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=ye(e,n));if(Ie(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!"):$e(e,t,n));if(Te(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!"):Re(e,t,n,r));var o=r.type||t.type;if(Pe(o,r))return void De(e,t,n,o,r);var i=o,a=Ne(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Fe(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Le(e,t,n,i)}}function je(e){return Array.isArray(e)}function Ae(e){return"content"===e.type||"slot"===e.type}fu
 nction Ie(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Te(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Pe(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function Ne(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 Me(e,t,n,r){var o=ye(e,n);t.forEach(function(t){Ee(e,t,o,r)})}function $e(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=ye(e,n);c.children=[],c.data=[],c.vms=[],We(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Re(e,t,n,r){var o={shown:!0},i=ye(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Ue(e,t,i,o)}function De(e,t,n,r,o){var i=r.call(e),a=_({type:i},o),s=ye(e,n);n.element&&n.children&&n.childr
 en.push(s),pe(e,r,function(n){var r=_({type:n},o);xe(e,s,!0),Ee(e,t,s,r)}),Ee(e,t,s,a)}function Fe(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),oe(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){Y(e,this,n,i.repeat)},"hook:ready":function(){this._content&&Ve(e,n,this._content)}});ee(e,s,n,r)}function Le(e,t,n,r){Z(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=he(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=ve(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,S(c,s))}}Q(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 a
 ppend single node for",o),f.lastSignal=ge(e,o,n)),-1!==f.lastSignal&&Ve(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=ge(e,o,n))}function Ve(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return Ee(e,t,n),-1!==r.lastSignal})}function We(e,t,n,r){function o(e,r,o){var a;c?(a=e,x(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=qe(o,a);i.push(s),Ee(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=Be(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)):xe(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),be(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 Ue(e,t,n,r){var o=Be(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?Ee(e,t,n,r):xe(e,n,!0))});n.display=!!o,o&&Ee(e,t,n,r)}function Be(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return pe(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestVa
 lue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function qe(e,t){var n=Object.create(e);return n._data=t,z(n),G(n),n._realParent=e,e._static&&(n._static=e._static),n}function Je(e,t){if(t instanceof Je)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 ze(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Je(e,t);o.forEach(function(e){e.call(n,i)})}}function He(e,t){var n=new Je(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Ge(e,t){var n=new Je(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Xe(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 Ke(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}fu
 nction Ze(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]);Br.forEach(function(t){e.$on("hook:"+t,n[t])})}function Qe(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,Ze(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&&_(this._data,o),J(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,Ce(this))}function Ye(e,t){for(var n in e)!function(n){var r=qr[n];r||(r={},qr[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function et(e,t){var n=e.prototype;for(var r in t)n.hasOwnProperty(r)||(n[r]=t[r])}function tt(e,t){var n=qr[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 nt(e,t){return e.customComponentMap[t]}function rt(e,t,n){var r=e.customComponentMap;if(r[t])return void console.error("[JS Framework] define a component("+t+") that already exists");r[t]=n}function ot(e){if(Jr.valid(e))return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){v
 ar o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function it(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 at(e,t){t=t||global.WXEnvironment,t=O(t)?t:{};var n={isDowngrade:!1};if("function"===E(e)){var r=e.call(this,t,{semver:Jr,normalizeVersion:ot});r=!!r,n=r?it("custom","","custom params"):n}else{e=O(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=ot(p),v=ot(t[s]);if(Jr.satisfies(v,h)){n=it(u,l,p);break}}else if(d){var y="array"===E(p)?p:[p];if(y.indexOf(l)>=0){n=it(u,l,p);break}}}}return n}function st(e,t){if(void 
 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function ut(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(Er(t))o=j(t);else{if(!Ir(t))return new Error("Wrong component name: "+t);if(o=A(t),!nt(e,o))return new Error("It's not a component: "+t)}if(n=O(n)?n:{},"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!Jr.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=at(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&&st(e,n.viewport),e.vm=new Qe(o,null,{_app:e},null,r)}function ct(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),rt(e,t,n)}function lt(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):_(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function ft(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.vm&&dt(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 dt(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--;)dt(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._vm
 Events}function pt(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function ht(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!1!==ht(e,t,n,r)});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 vt(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 yt(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function yt(e){e.differ.flush()}function mt(e,t){var n;return"array"!==E(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function _t(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=ar
 guments.length;n--;)t[n]=arguments[n];return zr.apply(void 0,[e].concat(t))},a=function(t,r,i){o=ut(e,t,r,i||n),yt(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=Qe,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return ct.apply(void 0,[e].concat(t))},c=function(t,n){o=ut(e,t,{},n)},l=function(t){return function(n){o=ut(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(j(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"use strict";\n\n '+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,y={};if(v&&"Web"!==v.platform){var m=e.requireModule("timer");Object.assign(y,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return m.setTimeout(r,t[1]),e.doc.taskCenter.callbackManager.la
 stCallbackId.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 m.setInterval(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){m.clearTimeout(e)},clearInterval:function(e){m.clearInterval(e)}})}var _=Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},y,r);return bt(_,h)||gt(_,h),o}function gt(e,t){var 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 bt(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||{},l=c.config||{};n=compileAndRunBundle(o,
 l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function wt(e,t){var n=e[t];for(var r in n)n[r]()}function St(e,t){var n=e[t];for(var r in n){n[r].forEach(function(e){e()})}}function xt(e,t){this.id=e,this.options=t||{},this.vm=null,this.customComponentMap={},this.commonModules={},this.doc=new Lr.Document(e,this.options.bundleUrl,null,Lr.Listener),this.differ=new Hr(e)}function Ot(e,t,n,r,o){var i=o||{},a=i.services;N();var s=Gr[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new xt(e,n),Gr[e]=s,u=_t(s,t,r,a)),u instanceof Error?u:s}function kt(e){Lr.Document=e.Document,Lr.Element=e.Element,Lr.Comment=e.Comment,Lr.sendTasks=e.sendTasks,Lr.Listener=e.Listener}function Ct(e,t){var n=Gr[e];return n?lt(n,t):new Error('invalid instance id "'+e+'"')}function Et(e){"function"==typeof markupState&&markupState(),N();var t=Gr[e];if(!t)return new Error('invalid instance id "'+e+'"');ft(t),d
 elete Gr[e];var n=Math.round(e);if(n>0){n%18||"function"!=typeof notifyTrimMemory||notifyTrimMemory()}return Gr}function jt(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Xr[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Xr[e.type]=e))})}function At(e){"object"==typeof e&&Ye(e)}function It(e){"object"==typeof e&&et(Qe,e)}function Tt(e,t){if(Gr[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Kr[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function Pt(e){var t=Gr[e];return t?pt(t):new Error('invalid instance id "'+e+'"')}function Nt(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=Qs(t),this.reject=Qs(n)}function Mt(){if(Rt(),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t-
 -;)e[t]=arguments[t];Dt("debug")&&global.nativeLog.apply(global,Ft(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("log")&&global.nativeLog.apply(global,Ft(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("info")&&global.nativeLog.apply(global,Ft(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("warn")&&global.nativeLog.apply(global,Ft(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("error")&&global.nativeLog.apply(global,Ft(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,o=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:o},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=argumen
 ts[t];Dt("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Dt("error")&&console.__ori__.error.apply(console,e)}}}function $t(){zu={},global.console=Hu}function Rt(){Ju.forEach(function(e){var t=Ju.indexOf(e);zu[e]={},Ju.forEach(function(n){Ju.indexOf(n)<=t&&(zu[e][n]=!0)})})}function Dt(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return zu[t]&&zu[t][e]}function Ft(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function Lt(){if(void 0===setTimeout&&"function"==typeof Xu){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Xu(t.toString(),r)},
 global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function Vt(){global.setTimeout=Gu,global.setTimeoutCallback=null}function Wt(){Object.freeze(Object),Object.freeze(Array),Ut(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),Bt(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function Ut(){var e=Object.prototype,t="Object.prototype";qt(e,"__defineGetter__",t),qt(e,"__defineSetter__",t),qt(e,"__lookupGetter__",t),qt(e,"__lookupSetter__",t),qt(e,"constructor",t),qt(e,"hasOwnProperty",t),qt(e,"isPrototypeOf",t),qt(e,"propertyIsEnumerable",t),qt(e,"toLocaleString",t),qt(e,"toString",t),qt(e,"valueOf",t),Object.seal(e)}function Bt(){var e=Error.prototype,t="Error.prototype";qt(e,"name",t),qt(e,"message",t),qt(e,"toString",t),qt(e,"constructor",t),Object.seal(e)}function qt(e,t,n){if(e.hasOwnProperty(t)){var r=e[t];Object.defineProperty(e,t,{get:function(){re
 turn 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 Jt(){return(Ku++).toString()}function zt(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function Ht(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 Gt(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 Xt(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function Kt(e){var t=zt(e);switch(t){case"Undefined":case"Null":return"";case"RegExp":return e.toString();case"Date":return e.toISOString();case"Number":case"String":case"Boolean":case"Array":case"Object":return e;case
 "ArrayBuffer":return{"@type":"binary",dataType:t,base64:Ht(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:Ht(e.buffer)};default:return JSON.stringify(e)}}function Zt(e){if("Object"===zt(e)){if(e["@type"]&&"binary"===e["@type"])return Gt(e.base64||"");var t={};for(var n in e)t[n]=Zt(e[n]);return t}return"Array"===zt(e)?e.map(Zt):e}function Qt(e,t,n){return t+"@"+n+"#"+e}function Yt(e,t){e&&(Qu[e]=t)}function en(e){return Qu[e]}function tn(e){delete Qu[e]}function nn(e){var t=Qu[e];return t&&t.taskCenter?t.taskCenter:null}function rn(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,sn(t,r)):(t.children.forEach(function(e){e.parentNode=t}),an(e,t),t.docId=e.id,t.ownerDocument=e,sn(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),on(e,t)):(t.parent
 Node=r,e.nodeMap[t.ref]=t)}}function on(e,t){var n=t.toJSON();e&&e.taskCenter&&"function"==typeof e.taskCenter.send&&e.taskCenter.send("dom",{action:"createBody"},[n])}function an(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function sn(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){sn(t,e)})}function un(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function cn(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function ln(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 fn(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 dn(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 pn(e,t){if(t&&t.length){var n=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(ec);t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=nn(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),tc[e]=n}}function hn(e){return tc[e]}function vn(e,t){en(e).nodeMap[t.nodeId]=t}function yn(){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,updateS
 tyle:global.callUpdateStyle,addEvent:global.callAddEvent,removeEvent:global.callRemoveEvent},t=ac.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 ic(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return ic(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return ic(e,[{module:t,method:n,args:r}])}}function mn(e,t,n,r,o,i){var a=e.getRef(t);return a?e.fireEvent(a,n,r,o,i):new Error('invalid element reference "'+t+'"')}function _n(e,t,n,r){return e.taskCenter.callback(t,n,r)}function gn(e,t,n,r,o){if(!e||!e.taskCenter)return console.error('[JS Framework] Can\'t find "document" or "taskCenter".'),null;var i=null;try{i=e.taskCenter.triggerHook(t,n,r,o)}catch(e){console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+".")}return i}function bn(e,t){var n=en(e);re
 turn n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return _n.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return mn.apply(void 0,[n].concat(e.args));case"componentHook":return gn.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}function wn(e){for(var t in e)!function(t){sc[t]||(sc[t]={}),e[t].forEach(function(e){"string"==typeof e?sc[t][e]=!0:sc[t][e.name]=e.args})}(t)}function Sn(e,t){return"string"==typeof t?!(!sc[e]||!sc[e][t]):!!sc[e]}function xn(e){return sc[e]}function On(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?uc[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(uc[e.type]=e,pn(e.type,e.methods)))})}function kn(e){return!!uc[e]}function Cn(e,t){jn(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),cc.push({name:e,options:t}))}function En(e){cc.some(function(t,n){if(t.name===e)return cc.s
 plice(n,1),!0})}function jn(e){return An(e)>=0}function An(e){return cc.map(function(e){return e.name}).indexOf(e)}function In(e,t,n){var r=nn(e);if(!r||"function"!=typeof r.send)return void console.error("[JS Framework] Failed to create tracker!");if(!t||!n)return void console.warn("[JS Framework] Invalid track type ("+t+") or value ("+n+")");var o="jsfm."+t+"."+n;try{if(Sn("userTrack","addPerfPoint")){var i=Object.create(null);i[o]="4",r.send("module",{module:"userTrack",method:"addPerfPoint"},[i])}}catch(e){console.error('[JS Framework] Failed to trace "'+o+'"!')}}function Tn(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function Pn(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=Mn(e,t[r],n);if(-1===o)return o}}}function Nn(e,t){return"dom"===e&&dc[t]&&"function"==typeof global[dc[t]]}function Mn(e,t,n){var r=t.module,o=t.method,i=t
 .args;return Nn(r,o)?global[dc[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function $n(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 Rn(e,t){Object.defineProperty(e,"[[CurrentInstanceId]]",{value:t})}function Dn(e){return e["[[CurrentInstanceId]]"]}function Fn(e,t,n){var r=nn(e);return r&&"function"==typeof r.send?function(){for(var e=[],o=arguments.length;o--;)e[o]=arguments[o];return r.send("module",{module:t,method:n},e)}:(console.error("[JS Framework] Failed to find taskCenter ("+e+")."),null)}function Ln(e,t,n,r){var o=nn(e);return o&&"function"==typeof o.send?"function"!=typeof r?(console.error("[JS Framework] "+t+"."+n+" must be assigned as a function."),null):function(e){return o.send("module",{module:t,method:n},[e])}:(console.error("[JS Framework] Failed to find taskCenter ("+e+")."),null)}function Vn(e){var t=_c.exec(e);if(t)try{return JSON.parse(t[1]).framework}catch(e){}return"Weex"}fu
 nction Wn(e,t,n){var r=Object.create(null);return r.service=Object.create(null),cc.forEach(function(o){var i=o.name,a=o.options,s=a.create;if(s)try{var u=s(e,t,n);Object.assign(r.service,u),Object.assign(r,u.instance)}catch(e){console.log("[JS Runtime] Failed to create service "+i+".")}}),delete r.service.instance,Object.freeze(r.service),r}function Un(e){return gc[e]}function Bn(e,t,n){void 0===t&&(t={});var r=new vc(e,t);Object.freeze(r);var o=t.bundleType||"Vue";gc[e]=o;var i=mc.frameworks[o];if(!i)return new Error('[JS Framework] Invalid bundle type "'+o+'".');In(e,"bundleType",o);var a=Wn(e,{weex:r,config:t,created:Date.now(),framework:o,bundleType:o},mc);Object.freeze(a);var s=Object.create(null);Object.assign(s,a,{weex:r,__WEEX_CALL_JAVASCRIPT__:bn,services:a}),Object.freeze(s);var u=Object.assign({},s);return"function"==typeof i.createInstanceContext&&Object.assign(u,i.createInstanceContext(e,s,n)),Object.freeze(u),u}function qn(e,t,n,r){if(gc[e])return new Error('The instan
 ce id "'+e+'" has already been used!');var o=Vn(t);gc[e]=o,n=JSON.parse(JSON.stringify(n||{})),n.env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),n.bundleType=o;var i=mc.frameworks[o];if(!i)return new Error('[JS Framework] Invalid bundle type "'+o+'".');"Weex"===o&&console.error('[JS Framework] COMPATIBILITY WARNING: Weex DSL 1.0 (.we) framework is no longer supported! It will be removed in the next version of WeexSDK, your page would be crash if you still using the ".we" framework. Please upgrade it to Vue.js or Rax.');var a=Bn(e,n,r);if("function"==typeof i.createInstance){if("Rax"===o||"Weex"===o){var s=Object.assign({config:n,created:Date.now(),framework:o},a);return i.createInstance(e,t,n,r,s)}return i.createInstance(e,t,n,r,a)}Jn(t,a)}function Jn(e,t){var n=[],r=[];for(var o in t)n.push(o),r.push(t[o]);var i="\n    (function (global) {\n      "+e+"\n    })(Object.create(this))\n  ";return(new(Function.prototype.bind.apply(Function,[null].concat(n,[i])))).apply(void 0,r
 )}function zn(e){var t=en(e);try{if(t&&t.body)return t.body.toJSON()}catch(e){return void console.error("[JS Framework] Failed to get the virtual dom tree.")}}function Hn(e){bc[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Un(r);if(o&&yc[o]){var i=(s=yc[o])[e].apply(s,t),a={framework:o};return"refreshInstance"===e?cc.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:a,runtime:mc})}):"destroyInstance"===e&&(cc.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:a,runtime:mc})}),delete gc[r]),i}return new Error('[JS Framework] Using invalid instance id "'+r+'" when calling '+e+".");var s}}function Gn(e,t){bc[e]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];"function"==typeof t&&t.apply(void 0,n);for(var o in mc.frameworks){var i=mc.frameworks[o];i&&i[e]&&i[e].apply(i,n)}}}function Xn(e){mc=e||{},yc=mc.frameworks||{},yn();for(var t in yc){var n=yc[t];if("function"==typeof n.init)try{n.init(e)}catch(e){}}return Gn("regi
 sterComponents",On),Gn("registerModules",wn),Gn("registerMethods"),["destroyInstance","refreshInstance"].forEach(Hn),bc}function Kn(){Wt(),Object.freeze(wc.Comment),Object.freeze(wc.Listener),Object.freeze(wc.Document.prototype),Object.freeze(wc.Comment.prototype),Object.freeze(wc.Listener.prototype)}function Zn(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 Qn(){}function Yn(e,t,n,r){console.error("[Upgrade Warning] $userTrack will be removed in the next version!"),console.error("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead"),this._app.requireModule("userTrack").commit(e,t,n,r)}function er(e,t){if(console.error("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.error("[JS Framework] Vm#$sendMtop is deprecated, please use
  \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){this._app.requireModule("windvane").call({class:"MtopWVPlugin",method:"send",data:e},t)}else{this._app.requireModule("stream").sendMtop(e,t)}}function tr(e,t){console.error("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.error("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead"),this._app.requireModule("windvane").call(e,t)}function nr(e,t){console.error("[Upgrade Warning] $setSpm will be removed in the next version!"),console.error("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead"),this._app.requireModule("pageInfo").setSpm(e,t)}function rr(e){console.error("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.error("[JS Framework] Vm#$getUserInfo is deprecated, please use \"require('@weex-m
 odule/user').getUserInfo(callback)\" instead"),this._app.requireModule("user").getUserInfo(e)}function or(e){console.error("[Upgrade Warning] $login will be removed in the next version!"),console.error("[JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead"),this._app.requireModule("user").login(e)}function ir(e){console.error("[Upgrade Warning] $logout will be removed in the next version!"),console.error("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead"),this._app.requireModule("user").logout(e)}var ar={},sr={},ur=Object.freeze({init:e,createInstance:t,destroyInstance:n,getRoot:r,receiveTasks:o}),cr="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},lr=a(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}func
 tion a(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Object]"===Un.call(e)}function c(e){return"[object RegExp]"===Un.call(e)}function l(e){var t=parseFloat(String(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 d(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(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 qn.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 S(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 S(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 S(e[n],t[n])})}catch(e){return!1}}function x(e,t){for(var n=0;n<e.length;n++)if(S(e[n],t))return n;return-1}function O(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function k(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function C(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function E(e){if(!nr.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}}}functio
 n j(e){return"function"==typeof e&&/native code/.test(e.toString())}function A(e){wr.target&&Sr.push(wr.target),wr.target=e}function I(){wr.target=Sr.pop()}function T(e){return new xr(void 0,void 0,void 0,String(e))}function P(e,t){var n=e.componentOptions,r=new xr(e.tag,e.data,e.children,e.text,e.elm,e.context,n,e.asyncFactory);return r.ns=e.ns,r.isStatic=e.isStatic,r.key=e.key,r.isComment=e.isComment,r.fnContext=e.fnContext,r.fnOptions=e.fnOptions,r.fnScopeId=e.fnScopeId,r.isCloned=!0,t&&(e.children&&(r.children=N(e.children,!0)),n&&n.children&&(n.children=N(n.children,!0))),r}function N(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++)r[o]=P(e[o],t);return r}function M(e,t,n){e.__proto__=t}function $(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];C(e,i,t[i])}}function R(e,t){if(s(e)&&!(e instanceof xr)){var n;return v(e,"__ob__")&&e.__ob__ instanceof Ir?n=e.__ob__:Ar.shouldConvert&&!yr()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ir(e)),t&&n&&n.vmCo
 unt++,n}}function D(e,t,n,r,o){var i=new wr,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set,c=!o&&R(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return wr.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(t)&&V(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&&R(t),i.notify())}})}}function F(e,t,n){if(Array.isArray(e)&&l(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(D(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function L(e,t){if(Array.isArray(e)&&l(t))return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||v(e,t)&&(delete e[t],n&&n.dep.notify())}function V(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)&&V(t)}function W(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;
 a<i.length;a++)n=i[a],r=e[n],o=t[n],v(e,n)?u(r)&&u(o)&&W(r,o):F(e,n,o);return e}function U(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?W(r,o):o}:t?e?function(){return W("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function B(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function q(e,t,n,r){var o=Object.create(e||null);return t?g(o,t):o}function J(e,t){var n=e.props;if(n){var r,o,i,a={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i=zn(o),a[i]={type:null});else if(u(n))for(var s in n)o=n[s],i=zn(s),a[i]=u(o)?o:{type:o};e.props=a}}function z(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(u(n))for(var i in n){var a=n[i];r[i]=u(a)?g({from:i},a):{from:a}}}}function H(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 G
 (e,t,n){function r(r){var o=Tr[r]||Mr;u[r]=o(e[r],t[r],n,r)}"function"==typeof t&&(t=t.options),J(t,n),z(t,n),H(t);var o=t.extends;if(o&&(e=G(e,o,n)),t.mixins)for(var i=0,a=t.mixins.length;i<a;i++)e=G(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 X(e,t,n,r){if("string"==typeof n){var o=e[t];if(v(o,n))return o[n];var i=zn(n);if(v(o,i))return o[i];var a=Hn(i);if(v(o,a))return o[a];return o[n]||o[i]||o[a]}}function K(e,t,n,r){var o=t[e],i=!v(n,e),a=n[e];if(Y(Boolean,o.type)&&(i&&!v(o,"default")?a=!1:Y(String,o.type)||""!==a&&a!==Xn(e)||(a=!0)),void 0===a){a=Z(r,o,e);var s=Ar.shouldConvert;Ar.shouldConvert=!0,R(a),Ar.shouldConvert=s}return a}function Z(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"!==Q(t.type)?r.call(e):r}}function Q(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Y(e,t){if(!
 Array.isArray(t))return Q(t)===Q(e);for(var n=0,r=t.length;n<r;n++)if(Q(t[n])===Q(e))return!0;return!1}function ee(e,t,n){if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,e,t,n);if(a)return}catch(e){te(e,r,"errorCaptured hook")}}te(e,t,n)}function te(e,t,n){if(tr.errorHandler)try{return tr.errorHandler.call(null,e,t,n)}catch(e){ne(e,null,"config.errorHandler")}ne(e,t,n)}function ne(e,t,n){if(!or&&!ir||"undefined"==typeof console)throw e;console.error(e)}function re(){Rr=!1;var e=$r.slice(0);$r.length=0;for(var t=0;t<e.length;t++)e[t]()}function oe(e,t){var n;if($r.push(function(){if(e)try{e.call(t)}catch(e){ee(e,t,"nextTick")}else n&&n(t)}),Rr||(Rr=!0,Dr?Nr():Pr()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function ie(e){ae(e,Ur),Ur.clear()}function ae(e,t){var n,r,o=Array.isArray(e);if((o||s(e))&&!Object.isFrozen(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 se(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 ue(e,t,r,o,i){var a,s,c,l,f;for(a in e)s=c=e[a],l=t[a],f=Br(a),u(s)&&(c=s.handler,f.params=s.params),n(c)||(n(l)?(n(c.fns)&&(c=e[a]=se(c)),r(f.name,c,f.once,f.capture,f.passive,f.params)):c!==l&&(l.fns=c,e[a]=l));for(a in t)n(e[a])&&(f=Br(a),o(f.name,t[a],f.capture))}function ce(e,t,i){function a(){i.apply(this,arguments),h(s.fns,a)}e instanceof xr&&(e=e.data.hook||(e.data.hook={}));var s,u=e[t];n(u)?s=se([a]):r(u.fns)&&o(u.merged)?(s=u,s.fns.push(a)):s=se([u,a]),s.merged=!0,e[t]=s}function le(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=Xn(c);fe(a,u,c,l,!0)||fe(a,s,c,l,!1)}return a}}function fe(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 de(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function pe(e){return a(e)?[T(e)]:Array.isArray(e)?ve(e):void 0}function he(e){return r(e)&&r(e.text)&&i(e.isComment)}function ve(e,t){var i,s,u,c,l=[];for(i=0;i<e.length;i++)s=e[i],n(s)||"boolean"==typeof s||(u=l.length-1,c=l[u],Array.isArray(s)?s.length>0&&(s=ve(s,(t||"")+"_"+i),he(s[0])&&he(c)&&(l[u]=T(c.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?he(c)?l[u]=T(c.text+s):""!==s&&l.push(T(s)):he(s)&&he(c)?l[u]=T(c.text+s.text):(o(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+i+"__"),l.push(s)));return l}function ye(e,t){return(e.__esModule||_r&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function me(e,t,n,r,o){var i=kr();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}function _e(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=O(function(n){e.resolved=ye(n,t),u||c()}),f=O(function(t){r(e.errorComp)&&(e.error=!0,c())}),d=e(l,f);return s(d)&&("function"==typeof d.then?n(e.resolved)&&d.then(l,f):r(d.component)&&"function"==typeof d.component.then&&(d.component.then(l,f),r(d.error)&&(e.errorComp=ye(d.error,t)),r(d.loading)&&(e.loadingComp=ye(d.loading,t),0===d.delay?e.loading=!0:setTimeout(function(){n(e.resolved)&&n(e.error)&&(e.loading=!0,c())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(e.resolved)&&f(null)},d.timeout))),u=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(i)}function ge(e){return e.isComment&&e.asyncFactory}function be(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||ge(n)))return n}}function we(e){e._events=Object.create(null),e._hasH
 ookEvent=!1;var t=e.$options._parentListeners;t&&Oe(e,t)}function Se(e,t,n){n?Wr.$once(e,t):Wr.$on(e,t)}function xe(e,t){Wr.$off(e,t)}function Oe(e,t,n){Wr=e,ue(t,n||{},Se,xe,e),Wr=void 0}function ke(e,t){var n={};if(!e)return n;for(var r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in n)n[c].every(Ce)&&delete n[c];return n}function Ce(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ee(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?Ee(e[n],t):t[e[n].key]=e[n].fn;return t}function je(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 Ae(e,t,n){e.$el=t,e.$options.render||(e.$options.render=kr),Me(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},new Qr(e,r,w,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Me(e,"mounted")),e}function Ie(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Wn);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||Wn,e.$listeners=n||Wn,t&&e.$options.props){Ar.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u<s.length;u++){var c=s[u];a[c]=K(c,e.$options.props,t,e)}Ar.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,Oe(e,n,l)}i&&(e.$slots=ke(o,r.context),e.$forceUpdate())}function Te(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Pe(e,t){if(t){if(e._directInactive=!1,Te(e))return}else if(e._directInactive)r
 eturn;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Pe(e.$children[n]);Me(e,"activated")}}function Ne(e,t){if(!(t&&(e._directInactive=!0,Te(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Ne(e.$children[n]);Me(e,"deactivated")}}function Me(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){ee(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function $e(){Kr=Jr.length=zr.length=0,Hr={},Gr=Xr=!1}function Re(){Xr=!0;var e,t;for(Jr.sort(function(e,t){return e.id-t.id}),Kr=0;Kr<Jr.length;Kr++)e=Jr[Kr],t=e.id,Hr[t]=null,e.run();var n=zr.slice(),r=Jr.slice();$e(),Le(n),De(r),mr&&tr.devtools&&mr.emit("flush")}function De(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Me(r,"updated")}}function Fe(e){e._inactive=!1,zr.push(e)}function Le(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Pe(e[t],!0)}function Ve(e){var t=e.id;if(null==Hr[t]){if(Hr[t]=!0,Xr){for(var n
 =Jr.length-1;n>Kr&&Jr[n].id>e.id;)n--;Jr.splice(n+1,0,e)}else Jr.push(e);Gr||(Gr=!0,oe(Re))}}function We(e,t,n){Yr.get=function(){return this[t][n]},Yr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Yr)}function Ue(e){e._watchers=[],e._inlineComputed=null;var t=e.$options;t.props&&Be(e,t.props),t.methods&&Xe(e,t.methods),t.data?qe(e):R(e._data={},!0),t.computed&&ze(e,t.computed),t.watch&&t.watch!==dr&&Ke(e,t.watch)}function Be(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;Ar.shouldConvert=i;for(var a in t)!function(i){o.push(i);var a=K(i,t,n,e);D(r,i,a),i in e||We(e,"_props",i)}(a);Ar.shouldConvert=!0}function qe(e){var t=e.$options.data;t=e._data="function"==typeof t?Je(t,e):t||{},u(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)||k(i)||We(e,"_data",i)}R(t,!0)}function Je(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function ze(e,t){var n=e._comp
 utedWatchers=Object.create(null),r=yr();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new Qr(e,a||w,w,eo)),o in e||He(e,o,i)}}function He(e,t,n){var r=!yr();"function"==typeof n?(Yr.get=r?Ge(t):n,Yr.set=w):(Yr.get=n.get?r&&!1!==n.cache?Ge(t):n.get:w,Yr.set=n.set?n.set:w),Object.defineProperty(e,t,Yr)}function Ge(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),wr.target&&t.depend(),t.value}}function Xe(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?w:m(t[n],e)}function Ke(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Ze(e,n,r[o]);else Ze(e,n,r)}}function Ze(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Qe(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Ye(e){var t=et(e.$options.inject,e);t&&(Ar.shouldConvert=!1,Object.keys(t).forEach(function(n){D(e,n,t[n])}),Ar.shouldConvert=!
 0)}function et(e,t){if(e){for(var n=Object.create(null),r=_r?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),o=0;o<r.length;o++){for(var i=r[o],a=e[i].from,s=t;s;){if(s._provided&&a in s._provided){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[i]){var u=e[i].default;n[i]="function"==typeof u?u.call(t):u}}return n}}function tt(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 nt(e,t,n,r){var o,i=this.$scopedSlots[e];if(i)n=n||{},r&&(n=g(g({},r),n)),o=i(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),o=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function rt(e){return X(this.$options,"filters",e
 ,!0)||Zn}function ot(e,t,n,r){var o=tr.keyCodes[t]||n;return o?Array.isArray(o)?-1===o.indexOf(e):o!==e:r?Xn(r)!==t:void 0}function it(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||Bn(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||tr.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}if(!(a in i)&&(i[a]=n[a],o)){(e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}}}(a)}else;return e}function at(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?Array.isArray(r)?N(r):P(r):(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),ut(r,"__static__"+e,!1),r)}function st(e,t,n){return ut(e,"__once__"+t+(n?"_"+n:""),!0),e}function ut(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ct(e[r],t+"_"+r,n);else ct(e,t,n)}function ct(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function lt(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(o,i):i}}else;return e}function ft(e,t){var n=this,r=n._inlineComputed||(n._inlineComputed={}),o=r[e];return o?o.value:(r[e]=new Qr(n,t,w,{sync:!0}),r[e].value)}function dt(e){e._o=st,e._n=d,e._s=f,e._l=tt,e._t=nt,e._q=S,e._i=x,e._m=at,e._f=rt,e._k=ot,e._b=it,e._v=T,e._e=kr,e._u=Ee,e._g=lt,e._a=ft}function pt(e,t,n,r,i){var a=i.options;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||Wn,this.injections=et(a.inject,r),this.slots=function(){return ke(n,r)};var s=Object.create(r),u=o(a._compiled),c=!u;u&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||Wn),a._scopeId?this._c=function(e,t,n,o){var i=jt(s,e,t,n,o,c);return i&&(i.fnScopeId=a._scopeId,i.fnContext=r),i}:this._c=function(e,t,n,r){return jt(s,e,t,n,r,c)}}function ht(e,t,n,o,i){var a=e.options,s={},u=a.props;if(r(u))for(var c in u)s[c]=K(c,u,t||Wn);else r(n.attrs)&&vt(s,n.attrs),r(n.props)&&vt(s,n.props);var l=new pt(n,s,i,o,e),f=a.re
 nder.call(null,l._c,l);return f instanceof xr&&(f.fnContext=o,f.fnOptions=a,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function vt(e,t){for(var n in t)e[zn(n)]=t[n]}function yt(e,n,r,o){if(t&&t.taskCenter)return"function"==typeof t.taskCenter.registerHook?t.taskCenter.registerHook(e,n,r,o):void 0}function mt(e,n,r){if(t&&t.taskCenter)return"function"==typeof t.taskCenter.updateData?t.taskCenter.updateData(e,n,r):void 0}function _t(e){void 0===e&&(e={});var t=this,n=e.componentId;t._uid="virtual-component-"+no++,t._isVue=!0,e&&e._isComponent?Pt(t,e):t.$options=G(Nt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,je(t),we(t),Tt(t),Me(t,"beforeCreate"),Ye(t),Ue(t),Qe(t),Me(t,"created");var r=t.$options.data,o="function"==typeof r?Je(r,t):r||{};u(o)&&mt(n,o),yt(n,"lifecycle","attach",function(){Me(t,"beforeMount"),new Qr(t,function(){t._update(t._vnode,!1)},w,null,!0),t._isMounted=!0,Me(t,"mounted")}),yt(n,"lifecycle","detach",function(){t.$destroy()})}function gt(e){var t=this,n
 =t.$options.componentId;if(t._isMounted&&Me(t,"beforeUpdate"),t._vnode=e,t._isMounted&&n){
-mt(n,Object.assign({},t._data),function(){Me(t,"updated")})}}function bt(e){var t=e.componentOptions.Ctor,n=t.extend({}),r=n.cid;n.prototype._init=_t,n.prototype._update=gt,e.componentOptions.Ctor=t.extend({beforeCreate:function(){yt(r,"lifecycle","create",function(e,t){new n({componentId:e,propsData:t})})},beforeDestroy:function(){delete this._virtualComponents}})}function wt(e){return!!e.data.attrs&&to in e.data.attrs}function St(e){delete e.data.attrs[to],bt(e);var t=Ot(e),n=t.$options["@render"];if(n)try{return n.call(t)}catch(e){ee(e,t,"@render")}}function xt(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=_e(l,c,i))))return me(l,t,i,a,u);t=t||{},Nt(e),r(t.model)&&Et(e.options,t);var f=le(t,e,u);if(o(e.options.functional))return ht(e,f,t,i,a);var d=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}kt(t);var h=e.options.name||u,v=new xr("vue-component-"+e.cid+(h?"-"+h:""),
 t,void 0,void 0,void 0,i,{Ctor:e,propsData:f,listeners:d,tag:u,children:a},l);return wt(v)?St(v):v}}}function Ot(e,t,n,o){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:o||null},a=e.data.inlineTemplate;return r(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(i)}function kt(e){e.hook||(e.hook={});for(var t=0;t<oo.length;t++){var n=oo[t],r=e.hook[n],o=ro[n];e.hook[n]=r?Ct(o,r):o}}function Ct(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function Et(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 jt(e,t,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=ao),At(e,t,n,r,i)}function At(e,t,n,o,i){if(r(n)&&r(n.__ob__))return kr();if(r(n)&&r(n.is)&&(t=n.is),!t)return kr();Array.isArray(o)&&"function"==typeof o[0]&&(n=n||{},n.scopedSlots
 ={default:o[0]},o.length=0),i===ao?o=pe(o):i===io&&(o=de(o));var a,s;if("string"==typeof t){var u;s=e.$vnode&&e.$vnode.ns||tr.getTagNamespace(t),a=tr.isReservedTag(t)?new xr(tr.parsePlatformTagName(t),n,o,void 0,void 0,e):r(u=X(e.$options,"components",t))?xt(u,n,e,o,t):new xr(t,n,o,void 0,void 0,e)}else a=xt(t,n,e,o);return r(a)?(s&&It(a,s),a):kr()}function It(e,t,i){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,i=!0),r(e.children))for(var a=0,s=e.children.length;a<s;a++){var u=e.children[a];r(u.tag)&&(n(u.ns)||o(i))&&It(u,t,i)}}function Tt(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ke(t._renderChildren,r),e.$scopedSlots=Wn,e._c=function(t,n,r,o){return jt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return jt(e,t,n,r,o,!0)};var o=n&&n.data;D(e,"$attrs",o&&o.attrs||Wn,null,!0),D(e,"$listeners",t._parentListeners||Wn,null,!0)}function Pt(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.paren
 t=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function Nt(e){var t=e.options;if(e.super){var n=Nt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=Mt(e);r&&g(e.extendOptions,r),t=e.options=G(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Mt(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]=$t(n[i],r[i],o[i]));return t}function $t(e,t,n){if(Array.isArray(e)){var r=[];n=Array.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 Rt(e){this._init(e)}function Dt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);r
 eturn n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Ft(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function Lt(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=G(n.options,e),a.super=n,a.options.props&&Vt(a),a.options.computed&&Wt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Yn.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 Vt(e){var t=e.options.props;for(var n in t)We(e.prototype,"_props",n)}function Wt(e){var t=e.options.computed;for(var n in t)He(e.prototype,n,t[n])}function Ut(e){Yn.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 Bt(e){return e&&(e.Ctor.options.name||e.tag)}function qt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function Jt(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Bt(a.componentOptions);s&&!t(s)&&zt(n,i,r,o)}}}function zt(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,h(n,t)}function Ht(e){this.instanceId="",this.nodeId=po++,this.parentNode=null,this.nodeType=3,this.text=e}function Gt(e){return t.createElement(e)}function Xt(e,n){return t.createElement(e+":"+n)}function Kt(e){return new Ht(e)}function Zt(e){return t.createComment(e)}function Qt(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=Gt("text");r.setAttr("v
 alue",t.text),e.insertBefore(r,n)}}function Yt(e,t){if(3===t.nodeType)return void e.setAttr("value","");e.removeChild(t)}function en(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=Gt("text");n.setAttr("value",t.text),e.appendChild(n)}}function tn(e){return e.parentNode}function nn(e){return e.nextSibling}function rn(e){return e.type}function on(e,t){e.parentNode.setAttr("value",t)}function an(e,t,n){e.setAttr(t,n)}function sn(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 un(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&cn(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function cn(e,t){if("input"!==e.tag)return!0;var n,o=r(n=e.data)&&r(n=n.attrs
 )&&n.type,i=r(n=t.data)&&r(n=n.attrs)&&n.type;return o===i||mo(o)&&mo(i)}function ln(e,t,n){var o,i,a={};for(o=t;o<=n;++o)i=e[o].key,r(i)&&(a[i]=o);return a}function fn(e,t){(e.data.directives||t.data.directives)&&dn(e,t)}function dn(e,t){var n,r,o,i=e===_o,a=t===_o,s=pn(e.data.directives,e.context),u=pn(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,vn(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(vn(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++)vn(c[n],"inserted",t,e)};i?ce(t,"insert",f):f()}if(l.length&&ce(t,"postpatch",function(){for(var n=0;n<l.length;n++)vn(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||vn(s[n],"unbind",e,e,a)}function pn(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)o=e[r],o.modifiers||(o.modifiers=wo),n[hn(o)]=o,o.def=X(t.$options,"directives",o.name,!0);return n}function hn(e){return e.rawName||e.name+"."+Object.k
 eys(e.modifiers||{}).join(".")}function vn(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){ee(r,n.context,"directive "+e.name+" "+t+" hook")}}function yn(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));var s="function"==typeof o.setAttrs,u={};for(n in a)r=a[n],i[n]!==r&&(s?u[n]=r:o.setAttr(n,r));for(n in i)null==a[n]&&(s?u[n]=void 0:o.setAttr(n));s&&o.setAttrs(u)}}function mn(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.staticClass;c&&u.push.apply(u,c),o.class&&u.push.apply(u,o.class);var l=_n(a,u,r);if("function"==typeof n.setStyles)n.setStyles(l);else for(var f in l)n.setStyle(f,l[f])}}function _n(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.hasOwnPropert
 y(n)||(o[n]="")}),o}function gn(e,t,n,r,o,i){if(r)return void console.log("Weex do not support event in bubble phase.");if(n){var a=t,s=fo;t=function(t){null!==(1===arguments.length?a(t):a.apply(null,arguments))&&bn(e,null,null,s)}}fo.addEvent(e,t,i)}function bn(e,t,n,r){(r||fo).removeEvent(e)}function wn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};fo=t.elm,ue(n,r,gn,bn,t.context),fo=void 0}}function Sn(e,t){if(!t.data.staticStyle)return void xn(e,t);var n=t.elm,r=t.data.staticStyle,o="function"==typeof n.setStyles,i={};for(var a in r)r[a]&&(o?i[Co(a)]=r[a]:n.setStyle(Co(a),r[a]));o&&n.setStyles(i),xn(e,t)}function xn(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=On(a)),s&&(a=t.data.style=g({},a));var u="function"==typeof o.setStyles,c={};for(r in i)a[r]||(u?c[Co(r)]="":o.setStyle(Co(r),""));for(r in a)n=a[r],u?c[Co(r)]=n:o.setStyle(Co(r),n);u&&o.setStyles(c)}}function On(e
 ){for(var t={},n=0;n<e.length;n++)e[n]&&g(t,e[n]);return t}function kn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&g(t,jo(e.name||"v")),g(t,e),t}return"string"==typeof e?jo(e):void 0}}function Cn(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=kn(t.data.transition);if(r&&!n._enterCb){for(var o=r.enterClass,i=r.enterToClass,a=r.enterActiveClass,s=r.appearClass,u=r.appearToClass,c=r.appearActiveClass,l=r.beforeEnter,f=r.enter,d=r.afterEnter,p=r.enterCancelled,h=r.beforeAppear,v=r.appear,y=r.afterAppear,m=r.appearCancelled,_=qr,g=qr.$vnode;g&&g.parent;)g=g.parent,_=g.context;var b=!_._isMounted||!t.isRootInsert;if(!b||v||""===v){var S=b?s:o,x=b?u:i,k=b?c:a,C=b?h||l:l,E=b&&"function"==typeof v?v:f,j=b?y||d:d,A=b?m||p:p,I=E&&(E._length||E.length)>1,T=t.context.$options.style||{},P=T[S],N=T["@TRANSITION"]&&T["@TRANSITION"][k]||{},M=jn(n,T,S,x,k,t.context),$=Object.keys(M).length>0,R=n._enterCb=O(function(){R.cancelled?A&&A(n):j&&j(n),n._enterCb=nul
 l});if(setTimeout(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];if(r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(n,R),$){t.context.$requireWeexModule("animation").transition(n.ref,{styles:M,duration:N.duration||0,delay:N.delay||0,timingFunction:N.timingFunction||"linear"},I?w:R)}else I||R()},16),C&&C(n),P)if("function"==typeof n.setStyles)n.setStyles(P);else for(var D in P)n.setStyle(D,P[D]);$||I||R()}}}function En(e,t){function n(){function t(){n.transition(r.ref,{styles:y,duration:m.duration||0,delay:m.delay||0,timingFunction:m.timingFunction||"linear"},p?w:_)}var n=e.context.$requireWeexModule("animation");_.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),u&&u(r),v?n.transition(r.ref,{styles:v},t):t(),c&&c(r,_),y||p||_())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=kn(e.data.transition);if(!o)return t();if(!r._leaveCb){var i=o.leaveClass,a=o.leaveToClass,s=o.leaveA
 ctiveClass,u=o.beforeLeave,c=o.leave,l=o.afterLeave,f=o.leaveCancelled,d=o.delayLeave,p=c&&(c._length||c.length)>1,h=e.context.$options.style||{},v=h[i],y=h[a]||h[s],m=h["@TRANSITION"]&&h["@TRANSITION"][s]||{},_=r._leaveCb=O(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),_.cancelled?f&&f(r):(t(),l&&l(r)),r._leaveCb=null});d?d(n):n()}}function jn(e,t,n,r,o,i){var a={},s=t[n],u=t[r],c=t[o];if(s)for(var l in s)a[l]=e.style[l];if(c)for(var f in c)0!==f.indexOf("transition")&&(a[f]=c[f]);return u&&g(a,u),a}function An(e){return e.tag?e.tag.replace(/vue\-component\-(\d+\-)?/,""):""}function In(e){return e.children&&1===e.children.length&&!e.children[0].tag}function Tn(e){if(e&&e.data){var t=e.data,n=t.staticStyle,r=t.staticClass;if(e.data.style||e.data.class||n||r){var o=Object.assign({},n,e.data.style),i=e.context.$options.style||{};return[].concat(r,e.data.class).forEach(function(e){e&&i[e]&&Object.assign(o,i[e])}),o}}}function Pn(e){if(e.length)retu
 rn e.map(function(e){var t=An(e),n={type:t};if(t){if(n.style=Tn(e),e.data&&(n.attr=e.data.attrs,e.data.on&&(n.events=e.data.on)),"span"===t&&In(e))return n.attr=n.attr||{},n.attr.value=e.children[0].text.trim(),n}else n.type="span",n.attr={value:(e.text||"").trim()};return e.children&&e.children.length&&(n.children=Pn(e.children)),n})}function Nn(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Nn(be(t.children)):e}function Mn(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[zn(i)]=o[i];return t}function $n(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Rn(e){for(;e=e.parent;)if(e.data.transition)return!0}function Dn(e,t){return t.key===e.key&&t.tag===e.tag}function Fn(e,t,n){return!1}function Ln(e){return!1}function Vn(e,t){var n=t.createComment("root");return n.hasAttribute=n.removeAttribute=function(){},t.documentElement.appendChild(n),n}var Wn=Object.fr
 eeze({}),Un=Object.prototype.toString,Bn=(p("slot,component",!0),p("key,ref,slot,slot-scope,is")),qn=Object.prototype.hasOwnProperty,Jn=/-(\w)/g,zn=y(function(e){return e.replace(Jn,function(e,t){return t?t.toUpperCase():""})}),Hn=y(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Gn=/\B([A-Z])/g,Xn=y(function(e){return e.replace(Gn,"-$1").toLowerCase()}),Kn=function(e,t,n){return!1},Zn=function(e){return e},Qn="data-server-rendered",Yn=["component","directive","filter"],er=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],tr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Kn,isReservedAttr:Kn,isUnknownElement:Kn,getTagNamespace:w,parsePlatformTagName:Zn,mustUseProp:Kn,_lifecycleHooks:er},nr=/[^\w.$]/,rr="__proto__"in{},or="undefined"!=
 typeof window,ir="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ar=ir&&WXEnvironment.platform.toLowerCase(),sr=or&&window.navigator.userAgent.toLowerCase(),ur=(sr&&/msie|trident/.test(sr),sr&&sr.indexOf("msie 9.0")>0),lr=sr&&sr.indexOf("edge/")>0,fr=(sr&&sr.indexOf("android"),sr&&/iphone|ipad|ipod|ios/.test(sr)||"ios"===ar),dr=(sr&&/chrome\/\d+/.test(sr),{}.watch);if(or)try{var pr={};Object.defineProperty(pr,"passive",{get:function(){}}),window.addEventListener("test-passive",null,pr)}catch(e){}var hr,vr,yr=function(){return void 0===hr&&(hr=!or&&void 0!==cr&&"server"===cr.process.env.VUE_ENV),hr},mr=or&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_r="undefined"!=typeof Symbol&&j(Symbol)&&"undefined"!=typeof Reflect&&j(Reflect.ownKeys);vr="undefined"!=typeof Set&&j(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create
 (null)},e}();var gr=w,br=0,wr=function(){this.id=br++,this.subs=[]};wr.prototype.addSub=function(e){this.subs.push(e)},wr.prototype.removeSub=function(e){h(this.subs,e)},wr.prototype.depend=function(){wr.target&&wr.target.addDep(this)},wr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},wr.target=null;var Sr=[],xr=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Or={child:{configurable:!0}};Or.child.get=function(){return this.componentInstance},Object.defineProperties(xr.prototype,Or);var kr=function(e){void 0===e&&(e="");var t=new xr;return t.text=e
 ,t.isComment=!0,t},Cr=Array.prototype,Er=Object.create(Cr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Cr[e];C(Er,e,function(){for(var n=arguments,r=[],o=arguments.length;o--;)r[o]=n[o];var i,a=t.apply(this,r),s=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var jr=Object.getOwnPropertyNames(Er),Ar={shouldConvert:!0},Ir=function(e){if(this.value=e,this.dep=new wr,this.vmCount=0,C(e,"__ob__",this),Array.isArray(e)){(rr?M:$)(e,Er,jr),this.observeArray(e)}else this.walk(e)};Ir.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)D(e,t[n],e[t[n]])},Ir.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)R(e[t])};var Tr=tr.optionMergeStrategies;Tr.data=function(e,t,n){return n?U(e,t,n):t&&"function"!=typeof t?e:U(e,t)},er.forEach(function(e){Tr[e]=B}),Yn.forEach(function(e){Tr[e+"s"]=q}),Tr.watch=function(e,t,n,r){if(e===dr&&(e=void 
 0),t===dr&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};g(o,e);for(var i in t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Tr.props=Tr.methods=Tr.inject=Tr.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return g(o,e),t&&g(o,t),o},Tr.provide=U;var Pr,Nr,Mr=function(e,t){return void 0===t?e:t},$r=[],Rr=!1,Dr=!1;if("undefined"!=typeof setImmediate&&j(setImmediate))Nr=function(){setImmediate(re)};else if("undefined"==typeof MessageChannel||!j(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Nr=function(){setTimeout(re,0)};else{var Fr=new MessageChannel,Lr=Fr.port2;Fr.port1.onmessage=re,Nr=function(){Lr.postMessage(1)}}if("undefined"!=typeof Promise&&j(Promise)){var Vr=Promise.resolve();Pr=function(){Vr.then(re),fr&&setTimeout(w)}}else Pr=Nr;var Wr,Ur=new vr,Br=y(function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;v
 ar r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}),qr=null,Jr=[],zr=[],Hr={},Gr=!1,Xr=!1,Kr=0,Zr=0,Qr=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Zr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new vr,this.newDepIds=new vr,this.expression="","function"==typeof t?this.getter=t:(this.getter=E(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Qr.prototype.get=function(){A(this);var e,t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ee(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ie(e),I(),this.cleanupDeps()}return e},Qr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Qr.prototype.cl
 eanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Qr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ve(this)},Qr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ee(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Qr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Qr.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},Qr.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1}};var Yr={enumerable:!0
 ,configurable:!0,get:w,set:w},eo={lazy:!0};dt(pt.prototype);var to="@inRecycleList",no=0,ro={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=Ot(e,qr,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var o=e;ro.prepatch(o,o)}},prepatch:function(e,t){var n=t.componentOptions;Ie(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Me(n,"mounted")),e.data.keepAlive&&(t._isMounted?Fe(n):Pe(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Ne(t,!0):t.$destroy())}},oo=Object.keys(ro),io=1,ao=2,so=0;!function(e){e.prototype._init=function(e){var t=this;t._uid=so++,t._isVue=!0,e&&e._isComponent?Pt(t,e):t.$options=G(Nt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,je(t),we(t),Tt(t),Me(t,"beforeCreate"),Ye(t),Ue(t),Qe(t),Me(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(R
 t),function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=F,e.prototype.$delete=L,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return Ze(r,e,t,n);n=n||{},n.user=!0;var o=new Qr(r,e,t,n);return n.immediate&&t.call(r,o.value),function(){o.teardown()}}}(Rt),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this,o=this;if(Array.isArray(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(o._events[e]||(o._events[e]=[])).push(n),t.test(e)&&(o._hasHookEvent=!0);return o},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,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var o=0,i=e.length;o<i;o++)n.$off(e[o],t);return r}var a=r._events[e];if(!a)return r;if(!t)return 
 r._events[e]=null,r;if(t)for(var s,u=a.length;u--;)if((s=a[u])===t||s.fn===t){a.splice(u,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?_(n):n;for(var r=_(arguments,1),o=0,i=n.length;o<i;o++)try{n[o].apply(t,r)}catch(n){ee(n,t,'event handler for "'+e+'"')}}return t}}(Rt),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&Me(n,"beforeUpdate");var r=n.$el,o=n._vnode,i=qr;qr=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),n.$options._parentElm=n.$options._refElm=null),qr=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Me(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||h(t.$children,e),e
 ._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Me(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Rt),function(e){dt(e.prototype),e.prototype.$nextTick=function(e){return oe(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;if(e._isMounted)for(var o in e.$slots){var i=e.$slots[o];(i._rendered||i[0]&&i[0].elm)&&(e.$slots[o]=N(i,!0))}e.$scopedSlots=r&&r.data.scopedSlots||Wn,e.$vnode=r;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){ee(t,e,"render"),a=e._vnode}return a instanceof xr||(a=kr()),a.parent=r,a}}(Rt);var uo=[String,RegExp,Array],co={name:"keep-alive",abstract:!0,props:{include:uo,exclude:uo,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var e=this;for(var t in e.cache)zt(e.cache,t,e.keys)},watc
 h:{include:function(e){Jt(this,function(t){return qt(e,t)})},exclude:function(e){Jt(this,function(t){return!qt(e,t)})}},render:function(){var e=this.$slots.default,t=be(e),n=t&&t.componentOp

<TRUNCATED>


Mime
View raw message