weex-vue-render4light
Version:
Web renderer for weex project written in Vue DSL.
1 lines • 137 kB
JavaScript
console.log("START WEEX VUE RENDER: 1.0.65, Build 2023-03-08 16:20."),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.WeexVueRender=t()}(this,function(){"use strict";function e(e,t){var n,i,t=(t=void 0===t?{}:t).insertAt;e&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("style")).type="text/css","top"===t&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)))}e('/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n \n.weex-root,\n.weex-root * {\n color: initial;\n cursor: initial;\n direction: initial;\n /* In chrome, there\'s a chance that user set the miximum font-size to \n a abnormal smaller size. But actually the smaller size is never working\n if this font / font-size default value is set to initial. Perhaps a bug\n for chrome. */\n font: initial;\n font-size: initial;\n font-family: initial;\n font-style: initial;\n font-variant: initial;\n font-weight: initial;\n line-height: initial;\n text-align: initial;\n text-indent: initial;\n visibility: initial;\n white-space: initial;\n word-spacing: initial;\n font-family: BlinkMacSystemFont, \'Source Sans Pro\', \'Helvetica Neue\', Helvetica, Arial, sans-serif;\n}\n\n.weex-root,\n.weex-root *,\n.weex-root *::before,\n.weex-root *::after {\n box-sizing: border-box;\n -webkit-text-size-adjust: none;\n -moz-text-size-adjust: none;\n text-size-adjust: none;\n}\n\n.weex-root a,\n.weex-root button,\n.weex-root [role="button"],\n.weex-root input,\n.weex-root label,\n.weex-root select,\n.weex-root textarea {\n touch-action: manipulation;\n}\n\n.weex-root p,\n.weex-root ol,\n.weex-root ul,\n.weex-root dl,\n.weex-root figure {\n margin: 0;\n padding: 0;\n}\n\n.weex-root li {\n list-style: none;\n}\n\n.weex-root figure {\n margin: 0;\n}\n\n.weex-root textarea {\n resize: none;\n}\n\n/* show no scroll bar. */\n::-webkit-scrollbar {\n display: none;\n}\n',{}),e('/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n \n.weex-root * {\n border-width: 0;\n border-color: inherit;\n border-style: solid;\n}\n\ndiv.weex-root {\n min-height: 100%;\n}\n\n/**\n * slider will overflow in horizontal axis, which will cause container\n * horizontally expanding. below styles will prevent this from happening.\n */\n.weex-root {\n width: 100%;\n overflow-x: hidden;\n}\n\n.weex-root figure {\n background-repeat: no-repeat;\n background-position: 50% 50%;\n}\n\n.weex-flex-ct {\n display: -webkit-flex;\n display: flex;\n}\n\n.weex-ct {\n box-sizing: border-box;\n display: -webkit-flex;\n display: flex;\n position: relative;\n -webkit-flex-direction: column;\n flex-direction: column;\n -webkit-flex-shrink: 0;\n flex-shrink: 0;\n -webkit-flex-grow: 0;\n flex-grow: 0;\n -webkit-flex-basis: auto;\n flex-basis: auto;\n -webkit-align-items: stretch;\n align-items: stretch;\n -webkit-align-content: flex-start;\n align-content: flex-start;\n border: 0 solid black;\n margin: 0;\n padding: 0;\n min-width: 0;\n}\n\n.weex-ct.horizontal {\n -webkit-flex-direction: row;\n flex-direction: row;\n}\n\n.weex-el {\n display: block;\n box-sizing: border-box;\n position: relative;\n -webkit-flex-shrink: 0;\n flex-shrink: 0;\n -webkit-flex-grow: 0;\n flex-grow: 0;\n -webkit-flex-basis: auto;\n flex-basis: auto;\n border: 0 solid black;\n margin: 0;\n padding: 0;\n min-width: 0;\n}\n\n.weex-text {\n display: -webkit-box;\n display: -moz-box;\n -webkit-box-orient: vertical;\n -moz-box-orient: vertical;\n -moz-box-direction: normal;\n position: relative;\n white-space: pre-wrap; /* not using \'pre\': support auto line feed. */\n font-size: 0.4266666666666667rem;\n word-wrap: break-word;\n overflow: hidden; /* it\'ll be clipped if the height is not high enough. */\n}\n\n.weex-image {\n background-repeat: no-repeat;\n background-position: 50% 50%;\n background-size: 100% 100%;\n}\n\n.weex-a {\n text-decoration: none;\n}\n\n.weex-ios-sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n z-index: 9999;\n top: 0;\n}\n\n.weex-fixed {\n position: fixed;\n z-index: 1;\n}\n\n.weex-sticky {\n margin-top: 0 !important;\n position: fixed;\n top: 0;\n z-index: 9999;\n}\n',{});var z=Math.ceil,R=Math.floor,M=function(e){return isNaN(e=+e)?0:(0<e?R:z)(e)},H=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e};function B(e,t){return e(t={exports:{}},t.exports),t.exports}function f(e){if(r(e))return e;throw TypeError(e+" is not an object!")}function F(e){try{return!!e()}catch(e){return 1}}function W(e){return oe?re.createElement(e):{}}function D(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e))||"function"==typeof(n=e.valueOf)&&!r(i=n.call(e))||!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}function p(e,t,n){var i,r,o,s=e&p.F,a=e&p.G,l=e&p.P,c=e&p.B,d=a?m:e&p.S?m[t]||(m[t]={}):(m[t]||{})[ve],u=a?g:g[t]||(g[t]={}),h=u[ve]||(u[ve]={});for(i in n=a?t:n)r=((o=!s&&d&&void 0!==d[i])?d:n)[i],o=c&&o?b(r,m):l&&"function"==typeof r?b(Function.call,r):r,d&&ge(d,i,r,e&p.U),u[i]!=r&&v(u,i,o),l&&h[i]!=r&&(h[i]=r)}function V(e){return be.call(e).slice(8,-1)}function U(e){return ye(H(e))}function Y(e){return 0<e?xe(M(e),9007199254740991):0}function q(e){return Te[e]||(Te[e]=fe(e))}function K(){}function X(e){return Object(H(e))}function G(){return this}function Q(e,t,n,i,r,o,s){function a(e){if(!De&&e in h)return h[e];switch(e){case"keys":case Ve:return function(){return new n(this,e)}}return function(){return new n(this,e)}}u=t,(d=n).prototype=$e(Me,{next:ce(1,i)}),Re(d,u+" Iterator");var l,c,i=t+" Iterator",d=r==Ve,u=!1,h=e.prototype,f=h[We]||h["@@iterator"]||r&&h[r],p=f||a(r),m=r?d?a("entries"):p:void 0,g="Array"==t&&h.entries||f;if(g&&(g=Fe(g.call(new e)))!==Object.prototype&&g.next&&(Re(g,i,!0),"function"!=typeof g[We])&&v(g,We,G),d&&f&&f.name!==Ve&&(u=!0,p=function(){return f.call(this)}),!De&&!u&&h[We]||v(h,We,p),x[t]=p,x[i]=G,r)if(l={values:d?p:a(Ve),keys:o?p:a("keys"),entries:m},s)for(c in l)c in h||ge(h,c,l[c]);else y(y.P+y.F*(De||u),t,l);return l}function Z(t,e,n,i){try{return i?e(f(n)[0],n[1]):e(n)}catch(e){i=t.return;throw void 0!==i&&f(i.call(t)),e}}function J(e){return void 0!==e&&(x.Array===e||qe[Ye]===e)}function ee(e,t,n){t in e?le.f(e,t,ce(0,n)):e[t]=n}function te(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=Object(e),Ke))?t:Xe?V(e):"Object"==(t=V(e))&&"function"==typeof e.callee?"Arguments":t}var ne,ie,m=B(function(e){e=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),g=B(function(e){e=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)}),r=(g.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),w=!F(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),re=m.document,oe=r(re)&&r(re.createElement),se=!w&&!F(function(){return 7!=Object.defineProperty(W("div"),"a",{get:function(){return 7}}).a}),ae=Object.defineProperty,le={f:w?Object.defineProperty:function(e,t,n){if(f(e),t=D(t,!0),f(n),se)try{return ae(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}},ce=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},v=w?function(e,t,n){return le.f(e,t,ce(1,n))}:function(e,t,n){return e[t]=n,e},de={}.hasOwnProperty,a=function(e,t){return de.call(e,t)},ue=0,he=Math.random(),fe=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++ue+he).toString(36))},pe=B(function(e){var t="__core-js_shared__",n=m[t]||(m[t]={});(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:g.version,mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),me=pe("native-function-to-string",Function.toString),ge=B(function(e){var o=fe("src"),t="toString",s=(""+me).split(t);g.inspectSource=function(e){return me.call(e)},(e.exports=function(e,t,n,i){var r="function"==typeof n;r&&!a(n,"name")&&v(n,"name",t),e[t]!==n&&(r&&!a(n,o)&&v(n,o,e[t]?""+e[t]:s.join(String(t))),e===m?e[t]=n:i?e[t]?e[t]=n:v(e,t,n):(delete e[t],v(e,t,n)))})(Function.prototype,t,function(){return"function"==typeof this&&this[o]||me.call(this)})}),we=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},b=function(i,r,e){if(we(i),void 0===r)return i;switch(e){case 1:return function(e){return i.call(r,e)};case 2:return function(e,t){return i.call(r,e,t)};case 3:return function(e,t,n){return i.call(r,e,t,n)}}return function(){return i.apply(r,arguments)}},ve="prototype",y=(m.core=g,p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128,p),x={},be={}.toString,ye=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==V(e)?e.split(""):Object(e)},xe=Math.min,_e=Math.max,Se=Math.min,Te=pe("keys"),Ce=(ne=!1,function(e,t,n){var i,r=U(e),o=Y(r.length),s=(e=o,(n=M(n=n))<0?_e(n+e,0):Se(n,e));if(ne&&t!=t){for(;s<o;)if((i=r[s++])!=i)return!0}else for(;s<o;s++)if((ne||s in r)&&r[s]===t)return ne||s||0;return!ne&&-1}),Ee=q("IE_PROTO"),ke="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ie=Object.keys||function(e){var t,n=ke,i=U(e),r=0,o=[];for(t in i)t!=Ee&&a(i,t)&&o.push(t);for(;n.length>r;)!a(i,t=n[r++])||~Ce(o,t)||o.push(t);return o},Ne=w?Object.defineProperties:function(e,t){f(e);for(var n,i=Ie(t),r=i.length,o=0;o<r;)le.f(e,n=i[o++],t[n]);return e},t=m.document,Oe=t&&t.documentElement,Ae=q("IE_PROTO"),Le="prototype",je=function(){var e=W("iframe"),t=ke.length;for(e.style.display="none",Oe.appendChild(e),e.src="javascript:",(e=e.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),je=e.F;t--;)delete je[Le][ke[t]];return je()},$e=Object.create||function(e,t){var n;return null!==e?(K[Le]=f(e),n=new K,K[Le]=null,n[Ae]=e):n=je(),void 0===t?n:Ne(n,t)},n=B(function(e){var t=pe("wks"),n=m.Symbol,i="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=i&&n[e]||(i?n:fe)("Symbol."+e))}).store=t}),Pe=le.f,ze=n("toStringTag"),Re=function(e,t,n){e&&!a(e=n?e:e.prototype,ze)&&Pe(e,ze,{configurable:!0,value:t})},Me={},He=(v(Me,n("iterator"),function(){return this}),q("IE_PROTO")),Be=Object.prototype,Fe=Object.getPrototypeOf||function(e){return e=X(e),a(e,He)?e[He]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Be:null},We=n("iterator"),De=!([].keys&&"next"in[].keys()),Ve="values",Ue=(ie=!0,function(e,t){var n,e=String(H(e)),t=M(t),i=e.length;return t<0||i<=t?ie?"":void 0:(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?ie?e.charAt(t):n:ie?e.slice(t,t+2):i-56320+(n-55296<<10)+65536}),Ye=(Q(String,"String",function(e){this._t=String(e),this._i=0},function(){var e=this._t,t=this._i;return t>=e.length?{value:void 0,done:!0}:(e=Ue(e,t),this._i+=e.length,{value:e,done:!1})}),n("iterator")),qe=Array.prototype,Ke=n("toStringTag"),Xe="Arguments"==V(function(){return arguments}()),Ge=n("iterator"),Qe=g.getIteratorMethod=function(e){if(null!=e)return e[Ge]||e["@@iterator"]||x[te(e)]},Ze=n("iterator"),Je=!1;try{[7][Ze]().return=function(){Je=!0}}catch(e){}for(var t=function(e,t){if(!t&&!Je)return!1;var n=!1;try{var i=[7],r=i[Ze]();r.next=function(){return{done:n=!0}},i[Ze]=function(){return r},e(i)}catch(e){}return n},et=(y(y.S+y.F*!t(function(e){}),"Array",{from:function(e){var t,n,i,r,o=X(e),e="function"==typeof this?this:Array,s=arguments.length,a=1<s?arguments[1]:void 0,l=void 0!==a,c=0,d=Qe(o);if(l&&(a=b(a,2<s?arguments[2]:void 0,2)),null==d||e==Array&&J(d))for(n=new e(t=Y(o.length));c<t;c++)ee(n,c,l?a(o[c],c):o[c]);else for(r=d.call(o),n=new e;!(i=r.next()).done;c++)ee(n,c,l?Z(r,a,[i.value,c],!0):i.value);return n.length=c,n}}),g.Array.from,{f:Object.getOwnPropertySymbols}),tt={f:{}.propertyIsEnumerable},nt=Object.assign,i=!nt||F(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=nt({},e)[n]||Object.keys(nt({},t)).join("")!=i})?function(e,t){for(var n=arguments,i=X(e),r=arguments.length,o=1,s=et.f,a=tt.f;o<r;)for(var l,c=ye(n[o++]),d=s?Ie(c).concat(s(c)):Ie(c),u=d.length,h=0;h<u;)l=d[h++],w&&!a.call(c,l)||(i[l]=c[l]);return i}:nt,it=(y(y.S+y.F,"Object",{assign:i}),g.Object.assign,Object.getOwnPropertyDescriptor),rt={f:w?it:function(e,t){if(e=U(e),t=D(t,!0),se)try{return it(e,t)}catch(e){}if(a(e,t))return ce(!tt.f.call(e,t),e[t])}},ot=function(e,t){if(f(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},i=({set:Object.setPrototypeOf||("__proto__"in{}?function(e,n,i){try{(i=b(Function.call,rt.f(Object.prototype,"__proto__").set,2))(e,[]),n=!(e instanceof Array)}catch(e){n=!0}return function(e,t){return ot(e,t),n?e.__proto__=t:i(e,t),e}}({},!1):void 0),check:ot}),i=(y(y.S,"Object",{setPrototypeOf:i.set}),g.Object.setPrototypeOf,{}),st=(i[n("toStringTag")]="z",i+""!="[object z]"&&ge(Object.prototype,"toString",function(){return"[object "+te(this)+"]"},!0),n("unscopables")),at=Array.prototype,i=(null==at[st]&&v(at,st,{}),function(e){at[st][e]=!0}),lt=function(e,t){return{value:t,done:!!e}},ct=Q(Array,"Array",function(e,t){this._t=U(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,lt(1)):lt(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),dt=(x.Arguments=x.Array,i("keys"),i("values"),i("entries"),n("iterator")),ut=n("toStringTag"),ht=x.Array,ft={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},pt=Ie(ft),mt=0;mt<pt.length;mt++){var gt,wt=pt[mt],vt=ft[wt],bt=m[wt],o=bt&&bt.prototype;if(o&&(o[dt]||v(o,dt,ht),o[ut]||v(o,ut,wt),x[wt]=ht,vt))for(gt in ct)o[gt]||ge(o,gt,ct[gt],!0)}function yt(){var e,t=+this;It.hasOwnProperty(t)&&(e=It[t],delete It[t],e())}function xt(e){yt.call(e.data)}var _t,St=B(function(e){var u={},h={},e=e.exports=function(e,t,n,i,r){var o,s,a,l,r=r?function(){return e}:Qe(e),c=b(n,i,t?2:1),d=0;if("function"!=typeof r)throw TypeError(e+" is not iterable!");if(J(r)){for(o=Y(e.length);d<o;d++)if((l=t?c(f(s=e[d])[0],s[1]):c(e[d]))===u||l===h)return l}else for(a=r.call(e);!(s=a.next()).done;)if((l=Z(a,c,s.value,t))===u||l===h)return l};e.BREAK=u,e.RETURN=h}),Tt=n("species"),Ct=m.process,i=m.setImmediate,s=m.clearImmediate,l=m.MessageChannel,Et=m.Dispatch,kt=0,It={},Nt="onreadystatechange",l=(i&&s||(i=function(r){for(var e=arguments,o=[],t=1;t<arguments.length;)o.push(e[t++]);return It[++kt]=function(){var e="function"==typeof r?r:Function(r),t=o,n=void 0,i=void 0===n;switch(t.length){case 0:return void(i?e():e.call(n));case 1:return void(i?e(t[0]):e.call(n,t[0]));case 2:return void(i?e(t[0],t[1]):e.call(n,t[0],t[1]));case 3:return void(i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]));case 4:return void(i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3]))}e.apply(n,t)},_t(kt),kt},s=function(e){delete It[e]},"process"==V(Ct)?_t=function(e){Ct.nextTick(b(yt,e,1))}:Et&&Et.now?_t=function(e){Et.now(b(yt,e,1))}:l?(At=(l=new l).port2,l.port1.onmessage=xt,_t=b(At.postMessage,At,1)):m.addEventListener&&"function"==typeof postMessage&&!m.importScripts?(_t=function(e){m.postMessage(e+"","*")},m.addEventListener("message",xt,!1)):_t=Nt in W("script")?function(e){Oe.appendChild(W("script"))[Nt]=function(){Oe.removeChild(this),yt.call(e)}}:function(e){setTimeout(b(yt,e,1),0)}),{set:i,clear:s}),Ot=l.set,At=m.MutationObserver||m.WebKitMutationObserver,Lt=m.process,i=m.Promise,jt="process"==V(Lt);function $t(e){var n,i;this.promise=new e(function(e,t){if(void 0!==n||void 0!==i)throw TypeError("Bad Promise constructor");n=e,i=t}),this.resolve=we(n),this.reject=we(i)}var c,Pt,zt,Rt,Mt,Ht,Bt={f:function(e){return new $t(e)}},Ft=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},s=m.navigator,Wt=s&&s.userAgent||"",s=n("species"),Dt=l.set,Vt=(Rt=jt?function(){Lt.nextTick(Ut)}:!At||m.navigator&&m.navigator.standalone?i&&i.resolve?(zt=i.resolve(void 0),function(){zt.then(Ut)}):function(){Ot.call(m,Ut)}:(Mt=!0,Ht=document.createTextNode(""),new At(Ut).observe(Ht,{characterData:!0}),function(){Ht.data=Mt=!Mt}),function(e){e={fn:e,next:void 0};Pt&&(Pt.next=e),c||(c=e,Rt()),Pt=e});function Ut(){var e,t;for(jt&&(e=Lt.domain)&&e.exit();c;){t=c.fn,c=c.next;try{t()}catch(e){throw c?Rt():Pt=void 0,e}}Pt=void 0,e&&e.enter()}function Yt(){}var qt,Kt,Xt,Gt,d="Promise",Qt=m.TypeError,Zt=m.process,l=Zt&&Zt.versions,Jt=l&&l.v8||"",u=m[d],en="process"==te(Zt),tn=Kt=Bt.f,i=!!function(){try{var e=u.resolve(1),t=(e.constructor={})[n("species")]=function(e){e(Yt,Yt)};return(en||"function"==typeof PromiseRejectionEvent)&&e.then(Yt)instanceof t&&0!==Jt.indexOf("6.6")&&-1===Wt.indexOf("Chrome/66")}catch(e){}}(),nn=function(e){var t;return!(!r(e)||"function"!=typeof(t=e.then))&&t},rn=function(u,n){var i;u._n||(u._n=!0,i=u._c,Vt(function(){for(var r,c=u._v,d=1==u._s,e=0,t=function(e){var t,n,i,r,o=d?e.ok:e.fail,s=e.resolve,a=e.reject,l=e.domain;try{o?(d||(2==u._h&&(r=u,Dt.call(m,function(){var e;en?Zt.emit("rejectionHandled",r):(e=m.onrejectionhandled)&&e({promise:r,reason:r._v})})),u._h=1),!0===o?t=c:(l&&l.enter(),t=o(c),l&&(l.exit(),i=!0)),t===e.promise?a(Qt("Promise-chain cycle")):(n=nn(t))?n.call(t,s,a):s(t)):a(c)}catch(e){l&&!i&&l.exit(),a(e)}};i.length>e;)t(i[e++]);u._c=[],u._n=!1,n&&!u._h&&(r=u,Dt.call(m,function(){var e,t,n=r._v,i=on(r);if(i&&(e=Ft(function(){en?Zt.emit("unhandledRejection",n,r):(t=m.onunhandledrejection)?t({promise:r,reason:n}):(t=m.console)&&t.error&&t.error("Unhandled promise rejection",n)}),r._h=en||on(r)?2:1),r._a=void 0,i&&e.e)throw e.v}))}))},on=function(e){return 1!==e._h&&0===(e._a||e._c).length},sn=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),rn(t,!0))},an=function(e){var n,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw Qt("Promise can't be resolved itself");(n=nn(e))?Vt(function(){var t={_w:i,_d:!1};try{n.call(e,b(an,t,1),b(sn,t,1))}catch(e){sn.call(t,e)}}):(i._v=e,i._s=1,rn(i,!1))}catch(e){sn.call({_w:i,_d:!1},e)}}},l=(i||(u=function(e){var t=this,n=d,i="_h";if(!(t instanceof u)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");we(e),qt.call(this);try{e(b(an,this,1),b(sn,this,1))}catch(e){sn.call(this,e)}},(qt=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var i in t)ge(e,i,t[i],n);return e}(u.prototype,{then:function(e,t){var n,i=tn((i=u,void 0===(n=f(n=this).constructor)||null==(n=f(n)[Tt])?i:we(n)));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=en?Zt.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&rn(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),Xt=function(){var e=new qt;this.promise=e,this.resolve=b(an,e,1),this.reject=b(sn,e,1)},Bt.f=tn=function(e){return e===u||e===Gt?new Xt:Kt(e)}),y(y.G+y.W+y.F*!i,{Promise:u}),Re(u,d),d),ln=(l=m[l],w&&l&&!l[s]&&le.f(l,s,{configurable:!0,get:function(){return this}}),Gt=g[d],y(y.S+y.F*!i,d,{reject:function(e){var t=tn(this);return(0,t.reject)(e),t.promise}}),y(y.S+y.F*!i,d,{resolve:function(e){return e=e,f(t=this),r(e)&&e.constructor===t?e:((0,(t=Bt.f(t)).resolve)(e),t.promise);var t}}),y(y.S+y.F*!(i&&t(function(e){u.all(e).catch(Yt)})),d,{all:function(e){var s=this,t=tn(s),a=t.resolve,l=t.reject,n=Ft(function(){var i=[],r=0,o=1;St(e,!1,function(e){var t=r++,n=!1;i.push(void 0),o++,s.resolve(e).then(function(e){n||(n=!0,i[t]=e,--o)||a(i)},l)}),--o||a(i)});return n.e&&l(n.v),t.promise},race:function(e){var t=this,n=tn(t),i=n.reject,r=Ft(function(){St(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}}),window.document),h=ln.documentElement,cn=Array.prototype.slice,_={},dn=null;function un(e,t){for(var n=e;n;){if(n.contains(t)||n==t)return n;n=n.parentNode}return null}function S(e,t,n){var i=ln.createEvent("HTMLEvents");if(i.initEvent(t,!0,!0),"object"==typeof n)for(var r in n)i[r]=n[r];i._for="weex",e.dispatchEvent(i)}function hn(e){for(var t,n,i,r,o,s,a,l,c=0;c<e.changedTouches.length;c++){var d=e.changedTouches[c];if(!(x=_[d.identifier]))return;x.lastTouch||(x.lastTouch=x.startTouch),x.lastTime||(x.lastTime=x.startTime),x.velocityX||(x.velocityX=0),x.velocityY||(x.velocityY=0),x.duration||(x.duration=0);var u=Date.now()-x.lastTime,h=(d.clientX-x.lastTouch.clientX)/u,f=(d.clientY-x.lastTouch.clientY)/u;for(w in 70<u&&(u=70),70<x.duration+u&&(x.duration=70-u),x.velocityX=(x.velocityX*x.duration+h*u)/(x.duration+u),x.velocityY=(x.velocityY*x.duration+f*u)/(x.duration+u),x.duration+=u,x.lastTouch={},d)x.lastTouch[w]=d[w];x.lastTime=Date.now();var h=d.clientX-x.startTouch.clientX,f=d.clientY-x.startTouch.clientY,u=Math.sqrt(Math.pow(h,2)+Math.pow(f,2)),p=!(Math.abs(h)>Math.abs(f)),m=p?0<=f?"down":"up":0<=h?"right":"left";("tapping"===x.status||"pressing"===x.status)&&10<u&&(x.status="panning",x.isVertical=p,x.direction=m,S(x.element,"panstart",{touch:d,touches:e.touches,changedTouches:e.changedTouches,touchEvent:e,isVertical:x.isVertical,direction:m})),"panning"===x.status&&(x.panTime=Date.now(),S(x.element,"panmove",{displacementX:h,displacementY:f,touch:d,touches:e.touches,changedTouches:e.changedTouches,touchEvent:e,isVertical:x.isVertical,direction:m}))}if(2==Object.keys(_).length){for(var g,w,v=[],b=[],y=[],c=0;c<e.touches.length;c++){var d=e.touches[c],x=_[d.identifier];v.push([x.startTouch.clientX,x.startTouch.clientY]),b.push([d.clientX,d.clientY])}for(w in _)y.push(_[w].element);t=v[0][0],n=v[0][1],i=v[1][0],g=v[1][1],r=b[0][0],o=b[0][1],s=b[1][0],a=b[1][1],l=Math.atan2(a-o,s-r)-Math.atan2(g-n,i-t),a=Math.sqrt((Math.pow(a-o,2)+Math.pow(s-r,2))/(Math.pow(g-n,2)+Math.pow(i-t,2))),s=[r-a*t*Math.cos(l)+a*n*Math.sin(l),o-a*n*Math.cos(l)-a*t*Math.sin(l)],g={rotate:l,scale:a,translate:s,matrix:[[a*Math.cos(l),-a*Math.sin(l),s[0]],[a*Math.sin(l),a*Math.cos(l),s[1]],[0,0,1]]},S(un(y[0],y[1]),"dualtouch",{transform:g,touches:e.touches,touchEvent:e})}}function fn(e){if(2==Object.keys(_).length){var t,n=[];for(t in _)n.push(_[t].element);S(un(n[0],n[1]),"dualtouchend",{touches:cn.call(e.touches),touchEvent:e})}for(var i=0;i<e.changedTouches.length;i++){var r,o,s,a,l=e.changedTouches[i],c=l.identifier,d=_[c];d&&(d.pressingHandler&&(clearTimeout(d.pressingHandler),d.pressingHandler=null),"tapping"===d.status&&(d.timestamp=Date.now(),S(d.element,"weex$tap",{touch:l,touchEvent:e}),dn&&d.timestamp-dn.timestamp<300&&S(d.element,"doubletap",{touch:l,touchEvent:e}),dn=d),"panning"===d.status&&(s=(a=Date.now())-d.startTime,r=l.clientX-d.startTouch.clientX,o=l.clientY-d.startTouch.clientY,a={duration:s,isSwipe:s=.5<Math.sqrt(d.velocityY*d.velocityY+d.velocityX*d.velocityX)&&a-d.lastTime<100,velocityX:d.velocityX,velocityY:d.velocityY,displacementX:r,displacementY:o,touch:l,touches:e.touches,changedTouches:e.changedTouches,touchEvent:e,isVertical:d.isVertical,direction:d.direction},S(d.element,"panend",a),s)&&S(d.element,"swipe",a),"pressing"===d.status&&S(d.element,"pressend",{touch:l,touchEvent:e}),delete _[c])}0===Object.keys(_).length&&(h.removeEventListener("touchmove",hn,!1),h.removeEventListener("touchend",fn,!1),h.removeEventListener("touchcancel",pn,!1))}function pn(e){if(2==Object.keys(_).length){var t,n=[];for(t in _)n.push(_[t].element);S(un(n[0],n[1]),"dualtouchend",{touches:cn.call(e.touches),touchEvent:e})}for(var i=0;i<e.changedTouches.length;i++){var r=e.changedTouches[i],o=r.identifier,s=_[o];s&&(s.pressingHandler&&(clearTimeout(s.pressingHandler),s.pressingHandler=null),"panning"===s.status&&S(s.element,"panend",{touch:r,touches:e.touches,changedTouches:e.changedTouches,touchEvent:e}),"pressing"===s.status&&S(s.element,"pressend",{touch:r,touchEvent:e}),delete _[o])}0===Object.keys(_).length&&(h.removeEventListener("touchmove",hn,!0),h.removeEventListener("touchend",fn,!0),h.removeEventListener("touchcancel",pn,!0))}h.addEventListener("touchstart",function(n){0===Object.keys(_).length&&(h.addEventListener("touchmove",hn,!0),h.addEventListener("touchend",fn,!0),h.addEventListener("touchcancel",pn,!0));for(var e=0;e<n.changedTouches.length;e++){var t=n.changedTouches[e],i={};for(o in t)i[o]=t[o];var r={startTouch:i,startTime:Date.now(),status:"tapping",element:n.srcElement||n.target,pressingHandler:setTimeout(function(e,t){return function(){"tapping"===r.status&&(r.status="pressing",S(e,"longpress",{touch:t,touches:n.touches,changedTouches:n.changedTouches,touchEvent:n})),clearTimeout(r.pressingHandler),r.pressingHandler=null}}(n.srcElement||n.target,n.changedTouches[e]),500)};_[t.identifier]=r}if(2==Object.keys(_).length){var o,s=[];for(o in _)s.push(_[o].element);S(un(s[0],s[1]),"dualtouchstart",{touches:cn.call(n.touches),touchEvent:n})}},!0);l=window.lib||(window.lib={});function T(e){Object.defineProperty(this,"val",{value:e.toString(),enumerable:!0}),this.gt=function(e){return 0<T.compare(this,e)},this.gte=function(e){return 0<=T.compare(this,e)},this.lt=function(e){return T.compare(this,e)<0},this.lte=function(e){return T.compare(this,e)<=0},this.eq=function(e){return 0===T.compare(this,e)}}T.prototype.toString=function(){return this.val},T.prototype.valueOf=function(){for(var e=this.val.split("."),t=[],n=0;n<e.length;n++){var i=parseInt(e[n],10),i=(i=isNaN(i)?0:i).toString();i.length<5&&(i=Array(6-i.length).join("0")+i),t.push(i),1===t.length&&t.push(".")}return parseFloat(t.join(""))},T.compare=function(e,t){e=e.toString().split("."),t=t.toString().split(".");for(var n=0;n<e.length||n<t.length;n++){var i=parseInt(e[n],10),r=parseInt(t[n],10);if((i=window.isNaN(i)?0:i)<(r=window.isNaN(r)?0:r))return-1;if(r<i)return 1}return 0},l.version=function(e){return new T(e)};var s=window.lib||(window.lib={}),mn=s.env||(s.env={}),i=window.location.search.replace(/^\?/,"");if(mn.params={},i)for(var C=i.split("&"),E=0;E<C.length;E++){C[E]=C[E].split("=");try{mn.params[C[E][0]]=decodeURIComponent(C[E][1])}catch(e){mn.params[C[E][0]]=C[E][1]}}var t=window.lib||(window.lib={}),l=t.env||(t.env={}),s=window.navigator.userAgent,gn=((i=s.match(/Windows\sPhone\s(?:OS\s)?([\d.]+)/))?l.os={name:"Windows Phone",isWindowsPhone:!0,version:i[1]}:s.match(/Safari/)&&(i=s.match(/Android[\s/]([\d.]+)/))?(l.os={version:i[1]},s.match(/Mobile\s+Safari/)?(l.os.name="Android",l.os.isAndroid=!0):(l.os.name="AndroidPad",l.os.isAndroidPad=!0)):(i=s.match(/(iPhone|iPad|iPod)/))?(I=i[1],i=s.match(/OS ([\d_.]+) like Mac OS X/),l.os={name:I,isIPhone:"iPhone"===I||"iPod"===I,isIPad:"iPad"===I,isIOS:!0,version:i&&i[1].split("_").join(".")||""}):l.os={name:"unknown",version:"0.0.0"},t.version&&(l.os.version=t.version(l.os.version)),(i=s.match(/(?:UCWEB|UCBrowser\/)([\d.]+)/))?l.browser={name:"UC",isUC:!0,version:i[1]}:(i=s.match(/MQQBrowser\/([\d.]+)/))?l.browser={name:"QQ",isQQ:!0,version:i[1]}:(i=s.match(/Firefox\/([\d.]+)/))?l.browser={name:"Firefox",isFirefox:!0,version:i[1]}:(i=(i=s.match(/MSIE\s([\d.]+)/))||s.match(/IEMobile\/([\d.]+)/))?(l.browser={version:i[1]},s.match(/IEMobile/)?(l.browser.name="IEMobile",l.browser.isIEMobile=!0):(l.browser.name="IE",l.browser.isIE=!0),s.match(/Android|iPhone/)&&(l.browser.isIELikeWebkit=!0)):(i=s.match(/(?:Chrome|CriOS)\/([\d.]+)/))?(l.browser={name:"Chrome",isChrome:!0,version:i[1]},s.match(/Version\/[\d+.]+\s*Chrome/)&&(l.browser.name="Chrome Webview",l.browser.isWebview=!0)):s.match(/Safari/)&&(i=s.match(/Android[\s/]([\d.]+)/))?l.browser={name:"Android",isAndroid:!0,version:i[1]}:s.match(/iPhone|iPad|iPod/)?s.match(/Safari/)?(i=s.match(/Version\/([\d.]+)/),l.browser={name:"Safari",isSafari:!0,version:i&&i[1]||""}):(i=s.match(/OS ([\d_.]+) like Mac OS X/),l.browser={name:"iOS Webview",isWebview:!0,version:i&&i[1].replace(/_/g,".")||""}):l.browser={name:"unknown",version:"0.0.0"},t.version&&(l.browser.version=t.version(l.browser.version)),Object.prototype.toString);function wn(e){return"[object Object]"===gn.call(e)}var vn="[object Array]";function k(e){return gn.call(e)===vn}function bn(e){return"string"==typeof value||"number"==typeof value||"symbol"==typeof value||"boolean"==typeof value}function yn(e){return null!=e}function xn(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return!e||e.length<=0||e.forEach(function(e){if("object"==typeof e)for(var t in e)n[t]=e[t]}),n}function _n(i){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return!e||e.length<=0||e.forEach(function(e){var t,n;if("object"==typeof e)for(n in e)!(t=e[n])&&""!==t&&0!==t||"undefined"===t||(i[n]=t)}),i}function Sn(n,i){var r;return function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];clearTimeout(r),r=setTimeout(function(){r=null,n.apply(null,e)},i)}}function Tn(r,o,s){var a=0,l=null,c=o+(25<o?o:25);return function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this,i=(new Date).getTime();o<i-a&&(s&&(l&&clearTimeout(l),l=setTimeout(function(){l=null,r.apply(n,e)},c)),r.apply(n,e),a=i)}}function Cn(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var En=/-(\w)/g,kn=Cn(function(e){return e.replace(En,function(e,t){return t.toUpperCase()})});var I=Cn(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),In=/([^-])([A-Z])/g,Nn=Cn(function(e){return e.replace(In,"$1-$2").replace(In,"$1-$2").toLowerCase()});var On=/webkit-|moz-|o-|ms-/;function An(e){var t,n={};for(t in e)n[Nn(t).replace(On,function(e){return"-"+e})]=e[t];return n}function Ln(e,t,n){var i=document.getElementById(t);i&&n&&(i.parentNode.removeChild(i),i=null),i||((i=document.createElement("style")).type="text/css",t&&(i.id=t),document.getElementsByTagName("head")[0].appendChild(i)),i.appendChild(document.createTextNode(e))}var jn,$n=!1,s=parseInt(750),Pn=!isNaN(s)&&0<s?s:750,N=document.querySelector('meta[name="weex-viewport"]'),i=N&&parseInt(N.getAttribute("content")),zn=(i&&!isNaN(i)&&0<i&&(Pn=i),0),Rn=0,O={dpr:0,scale:0,rootValue:0,rem:0,deviceWidth:0,deviceHeight:0};function Mn(e,t,n,i){var r=window.document.documentElement,o=r.style.fontSize,e=750*("screen"==i?window.screen.width:e)/t/10,s=(r.style.fontSize=e+"px",Math.ceil(e)),a=document.createElement("div"),l=(a.style.cssText="width:1rem;height:0;overflow: hidden;position:absolute;z-index:-1;visibility: hidden;",document.body.appendChild(a),a.offsetWidth);document.body.removeChild(a);l!=s?(a=Math.pow(e,2)/l,r.style.fontSize=a+"px"):(o&&!n||(r.style.fontSize=e+"px"),O.rem=e,O.rootValue=t/10,"screen"==i&&(O.deviceWidth=window.screen.width*O.dpr))}function Hn(e){if(N){if(parseInt(N.getAttribute("content"))===e)return}else{(N=document.createElement("meta")).setAttribute("name","weex-viewport");var t=document.querySelector("meta"),n=t&&t.parentElement||document.documentElement.children[0];t?n.insertBefore(N,t):n.appendChild(N)}N.setAttribute("content",e+"")}function Bn(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return!e||e.length<=0||e.forEach(function(e){if("object"==typeof e)for(var t in e)n[t]=e[t]}),n}var Fn=!1;try{document.createElement("div").addEventListener("test",function(e){},{get passive(){Fn=!0}})}catch(e){}function Wn(t,n,e){n=new Event(n,{bubbles:!1});if(Bn(n,e),-1===window.navigator.userAgent.toLowerCase().indexOf("phantomjs"))try{Object.defineProperty(n,"target",{enumerable:!0,value:t})}catch(e){return Bn({},n,{target:t})}return n}function Dn(e,t,n){e.dispatchEvent(Wn(e,t,n))}var t=["width","height","left","right","top","bottom","border","borderRadius","borderWidth","borderLeft","borderRight","borderTop","borderBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","fontSize","lineHeight","transform","webkitTransform","WebkitTransform","mozTransform","MozTransform","itemSize"],Vn=/webkit|moz/i;var Un,A={scrollableTypes:["scroller","list","waterfall","recycle-list"],gestureEvents:["panstart","panmove","panend","swipe","longpress","tap"],weexBuiltInComponents:["div","container","text","image","img","cell","a"],bindingStyleNamesForPx2Rem:Object.keys(t.reduce(function(e,t){return e[t]=1,e[Nn(t.replace(Vn,function(e){return"-"+e.toLowerCase()+"-"}))]=1,e},{}))};function Yn(r){if("boolean"==typeof r._insideA)return r._insideA;for(var e=r.parentElement,o=[],t=function(e){for(var t=r._insideA=e,n=0,i=o.length;n<i;n++)o[n]._insideA=t;return e};e!==document.body;){if("a"===e.tagName.toLowerCase())return t(!0);if("boolean"==typeof e._insideA)return t(e._insideA);o.push(e),e=e.parentElement}return t(!1)}function qn(n){return n?n._parentScroller||function e(t){if(t)return-1<A.scrollableTypes.indexOf(t.weexType)?n._parentScroller=t:e(t.$parent)}(n.$parent):null}function Kn(i){var e;return i?(e=i instanceof HTMLElement?i:i.$el)&&1===e.nodeType?i._parentScroller||function e(t){var n;if(t)return"body"===(n=t.tagName.toLowerCase())||"main"===n&&-1<A.scrollableTypes.indexOf(t.getAttribute("weex-type"))?i._parentScroller=t:e(t.parentElement)}(e):void 0:null}function Xn(e,t,n,i){var r,o;if(("left"===(n=n||"up")||"right"===n)&&(r=t,!((o=e).top<r.bottom&&o.bottom>r.top)))return[!1,!1];if(("up"===n||"down"===n)&&(o=t,!((r=e).left<o.right&&r.right>o.left)))return[!1,!1];switch(i=i?parseInt(i)*weex.config.env.scale:0,n){case"up":return[e.top<t.bottom&&e.bottom>t.top,e.top<t.bottom+i&&e.bottom>t.top-i];case"down":return[e.bottom>t.top&&e.top<t.bottom,e.bottom>t.top-i&&e.top<t.bottom+i];case"left":return[e.left<t.right&&e.right>t.left,e.left<t.right+i&&e.right>t.left-i];case"right":return[e.right>t.left&&e.left<t.right,e.right>t.left-i&&e.left<t.right+i]}}function Gn(e,t,n,i){var r;return!!e.getBoundingClientRect&&(r={top:0,left:0,bottom:window.innerHeight,right:window.innerWidth},t=t!==window&&t!==document.body&&t?t.getBoundingClientRect():r,Xn(e.getBoundingClientRect(),t,n,i))}function Qn(e,t,n){Dn(e,t,{direction:n})}function Zn(e,t){var c,d,n=e&&e.$el;n&&1===n.nodeType&&(c=!1,d=Kn(e))&&(d===document.body&&(c=!0),(n=d._scrollHandler)||(n=d._scrollHandler=function(e){d._watchAppearList=Array.prototype.slice.call(d.querySelectorAll("[weex-appear]"));for(var t=c?window.pageYOffset:d.scrollTop,n=d._lastScrollTop,i=((d._lastScrollTop=t)<n?"down":n<t?"up":d._prevDirection)||null,r=(d._prevDirection=i,d._watchAppearList||[]),o=r.length,s=0;s<o;s++){var a=r[s],l=(l=a)&&l.getAttribute("appear-offset");Jn(a,Gn(a,d,i,l),i)}},d.addEventListener("scroll",Tn(n,100,!0))),t)&&e.$nextTick(n)}function Jn(e,t,n,i){var r;void 0===n&&(n=null),e&&(r=t[0],t=t[1],(e._appearedOnce||r)&&e._visible!==r&&((e._visible=r)&&!e._appearedOnce&&(e._appearedOnce=!0),""===e.getAttribute("data-evt-"+(r=r?"appear":"disappear")))&&Qn(e,r,n),e._offsetAppearedOnce||t)&&e._offsetVisible!==t&&((e._offsetVisible=t)&&!e._offsetAppearedOnce&&(e._offsetAppearedOnce=!0),""===e.getAttribute("data-evt-"+(r=t?["offset-appear","offsetAppear"]:["offset-disappear","offsetDisappear"])[0]))&&Qn(e,r[1],n)}window._rmInjected||(window._rmInjected=!0,Un=HTMLElement.prototype.removeChild,HTMLElement.prototype.removeChild=function(e){e._visible&&Qn(e,"disappear",null),e._offsetVisible&&Qn(e,"offsetDisappear",null),Un.apply(this,arguments)});var ei="data-img-src",ti="placeholder";function ni(e,t,n){var i=new Image;i.onload=t?t.bind(i):null,i.onerror=n?n.bind(i):null,i.src=e}function ii(i,r,t){function o(){delete i._src_loading}r&&(window._processImgSrc&&(r=window._processImgSrc(r,i),t=t&&window._processImgSrc(t,i)),i._src_loading!==r)&&(i.style.backgroundImage="url("+(r||"")+")",i.removeAttribute(ei),ni(i._src_loading=r,function(e){i.style.backgroundImage="url("+(r||"")+")";var t=this.width,n=this.height;Dn(i,"load",{success:!0,size:{naturalWidth:t,naturalHeight:n}}),o()},function(e){Dn(i,"load",{success:!1,size:{naturalWidth:0,naturalHeight:0}}),t&&ni(t,function(){i.style.backgroundImage="url("+(t||"")+")"}),o()}))}function ri(e,t){if(Array.isArray(e))return e.forEach(function(e){return ri(e)});if(e=e||document.body){var n=(e||document.body).querySelectorAll("["+ei+"]");e.getAttribute(ei)&&(n=[e]);for(var i=0;i<n.length;i++){var r=n[i];("boolean"==typeof t&&t||"true"==r.getAttribute("ignorevisibility")||Gn(r,function(e){if(e){var t=e._ptScroller;if(!t){for(var n=e.parentElement;n&&n!==document.body;){if((n.className+""||"").match(/weex-list|weex-scroller|weex-waterfall/)){t=n;break}n=n.parentElement}t=n,e._ptScroller=n}return t}}(e))[0])&&ii(r,r.getAttribute(ei),r.getAttribute(ti))}}}var oi={},si=1;function ai(e,t){void 0===e&&(e=16);var n=+((t=void 0===t?document.body:t)&&t.dataset.throttleId);return(isNaN(n)||n<=0)&&(n=si++,t)&&t.setAttribute("data-throttle-id",n+""),oi[n]||(oi[n]={}),oi[n][e]||(oi[n][e]=Tn(ri.bind(this,t),parseFloat(e),!0))}var li,ci=A.bindingStyleNamesForPx2Rem;function di(){var e,t,n,i;return void 0===li&&((e=window.devicePixelRatio)&&2<=e&&document.documentElement?(e=document.documentElement,t=document.createElement("div"),n=document.createElement("body"),i=e.firstElementChild||e.firstChild,t.style.border="0.5px solid transparent",n.appendChild(t),e.insertBefore(n,i),li=1===t.offsetHeight,e.removeChild(n)):li=!1),li}var ui=null;function hi(e){var t={};return t=e&&(e=e.style.webkitTransform||e.style.mozTransform||e.style.transform)&&e.match(/(?: *(?:translate|rotate|scale)[^(]*\([^(]+\))+/i)?e.trim().replace(/, +/g,",").split(" ").reduce(function(t,n){return["translate","scale","rotate"].forEach(function(e){new RegExp(e,"i").test(n)&&(t[e]=n)}),t},{}):t}function fi(n){return Object.keys(n).reduce(function(e,t){return e+n[t]+" "},"")}function pi(e){for(var t=e.length,n=0,i=0;i<t;i++)n+=e[i].getBoundingClientRect().width;return n}function mi(e,i){return e.replace(/([+-]?\d+(?:.\d*)?)([p|w]x)/g,function(e,t,n){return"wx"===n?t+"px":(t=0<(n=parseFloat(t))?1:n<0?-1:0,Math.abs(n)<=1?di()?.5*t+"px":t+"px":n/(i||window.weex.config.env.rem)+"rem")})}l=Object.freeze({extend:xn,extendTruthy:_n,extendKeys:function(t,n,e){return void 0===n&&(n={}),(e||[]).forEach(function(e){n&&(t[e]=n[e])}),t},extractKeys:function(t,n,e){return(n=void 0===n?{}:n)&&(e||[]).forEach(function(e){n&&(t[e]=n[e]),n&&delete n[e]}),t},bind:function(n,i){return function(e){var t=arguments.length;return t?1<t?n.apply(i,arguments):n.call(i,e):n.call(i)}},debounce:Sn,depress:function(e,t){var n;function i(){n=null}return function(){n||e.apply(),clearTimeout(n),n=setTimeout(i,t)}},throttle:Tn,loopArray:function(e,t,n){var i,r;if(k(e))return n="l"===(n+"").toLowerCase(),(t%=i=e.length)<0&&(t=-t,n=!n),0===t?e:(n?(r=e.slice(0,t),e.slice(t)):(r=e.slice(0,i-t),e.slice(i-t))).concat(r)},cached:Cn,camelize:kn,camelizeKeys:function(e){var t,n={};for(t in e)n[kn(t)]=e[t];return n},capitalize:I,hyphenate:Nn,hyphenateKeys:function(e){var t,n={};for(t in e)n[Nn(t)]=e[t];return n},hyphenateStyleKeys:An,camelToKebab:function(e){return e?e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}):""},appendCss:Ln,nextFrame:function(e){(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)})(e)},toCSSText:function(e){if(e){var t,n=An(e),i="";for(t in n)i+=t+":"+n[t]+";";return i}},supportsPassive:function(){return Fn},createEvent:Wn,createBubblesEvent:function(t,n,e){if(Bn(n=new Event(n,{bubbles:!0}),e),-1===window.navigator.userAgent.toLowerCase().indexOf("phantomjs"))try{Object.defineProperty(n,"target",{enumerable:!0,value:t})}catch(e){return Bn({},n,{target:t})}return n},createCustomEvent:function(t,e,n){var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!1,!0,{}),Bn(i,n);try{Object.defineProperty(i,"target",{enumerable:!0,value:t||null})}catch(e){return Bn({},i,{target:t||null})}return i},dispatchNativeEvent:Dn,mapFormEvents:function(n){var e={};return["input","change","focus","blur","return"].forEach(function(t){e[t]=function(e){n.$el&&(e.value=n.$el.value,"input"===t)&&n.$emit(t,e)}}),e},contains:function(e,t,n){return!(!n||e!==t)||(e.contains?e.contains(t)&&e!==t:!0&e.compareDocumentPosition(t))},insideA:Yn,getParentScroller:qn,getParentScrollerElement:Kn,hasIntersection:Xn,isElementVisible:Gn,getEventHandlers:function(e){for(var t=e.$vnode,n={},i=[];t;)i.push(t),t=t.parent;return i.forEach(function(e){var t=e.componentOptions&&e.componentOptions.listeners,e=e.data&&e.data.on;xn(n,t,e)}),n},watchAppear:Zn,detectAppear:Jn,applySrc:ii,fireLazyload:ri,getThrottleLazyload:ai,supportHairlines:di,supportSticky:function(){var e;return null===ui&&((e=window.document.createElement("div").style).cssText="position:-webkit-sticky;position:sticky;",ui=-1!==e.position.indexOf("sticky")),ui},getTransformObj:hi,getTransformStr:fi,addTransform:function(e,t,n){if(t){var i,r={};for(i in n||(r=hi(e)),t){var o=t[i];o&&(r[i]=o)}n=fi(r);e.style.webkitTransform=n,e.style.mozTransform=n,e.style.transform=n}},copyTransform:function(e,t,n){if(n){var i=hi(e);if(!i[n])return;var r=hi(t);r[n]=i[n],i=fi(r)}else i=e.style.webkitTransform||e.style.mozTransform||e.style.transform;t.style.webkitTransform=i,t.style.mozTransform=i,t.style.transform=i},getRgb:function(e){var t=document.createElement("span"),n=document.body;return t.style.cssText="color: "+e+"; width: 0px; height: 0px;",n&&n.appendChild(t),e=window.getComputedStyle(t).color+"",n&&n.removeChild(t),(n=e.match(/#([\da-fA-F]{2})([\da-fA-F]{2})([\da-fA-F]{2})/))?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:(n=e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/))?{r:parseInt(n[1]),g:parseInt(n[2]),b:parseInt(n[3])}:void 0},getStyleSheetById:function(e){if(e)for(var t=document.styleSheets,n=t.length,i=0;i<n;i++){var r=t[i];if(r.ownerNode.id===e)return r}},getRangeWidth:function(e){var t,n=e.children;return n?Range&&(t=document.createRange()).selectNodeContents?(t.selectNodeContents(e),t.getBoundingClientRect().width):pi(n):e.getBoundingClientRect().width},styleObject2rem:function(e,t){var n,i={};for(n in e){var r=kn(n);-1<ci.indexOf(r)?i[r]=mi(e[n]+"",t):i[r]=e[n]}return i},px2rem:mi,rem2px:function(e,n){return e.replace(/([+-]?\d+(?:.\d*)?)rem/g,function(e,t){return parseFloat(t)*(n||window.weex.config.env.rem)+"px"})},isPlainObject:wn,isArray:k,isPrimitive:bn,isDef:yn});window.WXEnvironment=(s=function(e){if(void 0===e&&(e=Pn),!$n){$n=!0;var t=window.document;if(!t)return void console.error("[vue-render] window.document is undfined.");if(!t.documentElement)return void console.error("[vue-render] document.documentElement is undfined.");jn=O.dpr=window.devicePixelRatio,zn=t.documentElement.clientWidth||screen.width,Rn=t.documentElement.clientHeight||screen.height;Mn(zn,e),Hn(e),window.addEventListener("resize",function(){Rn=t.documentElement.clientHeight;var e=window.weex&&window.weex.config.env;O.deviceHeight=e.deviceHeight=Rn*jn});var n=zn/e;xn(O,{scale:n,pxBase:n,rootValue:e/10,deviceWidth:zn*jn,deviceHeight:Rn*jn})}return O}(),i=window.lib.env,t=i.browser?i.browser.name:navigator.appName,I=i.browser?i.browser.version.val:null,(er=i.os.name).match(/(iPhone|iPad|iPod)/i)?er="iOS":er.match(/Android/i)&&(er="android"),ir=i.os.version.val,xn(s,{platform:"Web",weexVersion:"1.0.65",userAgent:navigator.userAgent,appName:t,appVersion:I,osName:er,osVersion:ir,deviceModel:i.os.name||null}));var gi={},wi=[],L={__vue__:null,utils:l,config:{env:window.WXEnvironment,bundleUrl:location.href},_components:{},_modules:gi,_meta:{mounted:{},updated:{},destroyed:{},requiredModules:{},apiCalled:{},perf:{}},document:{body:{}},requireModule:function(e){var t=L._meta.requiredModules;return t[e]||(t[e]=0),t[e]++,gi[e]},registerModule:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.registerApiModule.apply(this,e)},support:function(e){var t=((e=void 0===e?"":e)+"").match(/@(component|module)\/(\w+)(.\w+)?/);if(!t)return console.warn("[vue-render] invalid argument for weex.support: "+e),null;var e=t[1],n=t[2],i=(i=t[3])&&i.replace(/^\./,"");switch(e){case"component":return void 0!==this._components[n]||0<=A.weexBuiltInComponents.indexOf(n);case"module":var r=gi[n];return r&&i?!!r[i]:!!r}},supports:function(){return this.support.apply(this,arguments)},isRegisteredModule:function(e,t){return this.support("@module/"+(t?e+"."+t:e))},isRegisteredComponent:function(e){return this.support("@component/"+e)},registerVueInstance:function(e){!e instanceof Vue||(e=e.$root)&&e.$el&&this.document.body.children.push(e.$el)},require:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return console.log('[Vue Render] "weex.require" is deprecated, please use "weex.requireModule" instead.'),this.requireModule.apply(this,e)},registerApiModule:function(n,i,e){if(gi[n]||(gi[n]={}),e&&"assignment"===e.registerType)gi[n]=i;else for(var t in i)!function(t){i.hasOwnProperty(t)&&(gi[n][t]=function(){var e=L._meta.apiCalled,e=(e[n]||(e[n]={}),e[n]);return e[t]||(e[t]=0),e[t]++,i[t].apply(L,arguments)})}(t)},registerComponent:function(e,t){if(!this.__vue__)return console.log("[Vue Render] Vue is not found. Please import Vue.js before register a component.");this._components[e]=0,t._css&&(Ln(t._css.replace(/\b[+-]?[\d.]+rem;?\b/g,function(e){return 75*parseFloat(e)*L.config.env.scale+"px"}),"weex-cmp-"+e),delete t._css),this.__vue__.component(e,t)},getRoot:function(){},sender:{performCallback:function(e,t,n){return"function"==typeof e?e(t):null}},install:function(e){e.init(this)}};function vi(e){var t=e&&e.$vnode;if(!t)return{};for(var n,i={};t;)xn(i,_n({},(n=(n=t).data||{}).staticStyle,n.style)),t=t.parent;return i}Object.defineProperty(L.document.body,"children",{get:function(){return wi}}),["on","once","off","emit"].forEach(function(i){L[i]=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return this._vue||(this._vue=new this.__vue__),(e=this._vue)["$"+i].apply(e,t)}});var bi={text:{transform:function(e){var t=e.lines;return 0<t?Object.assign(e,{overflow:"hidden",textOverflow:"ellipsis",WebkitLineClamp:t}):e}}},yi=function(e){return bi[e]},xi=A.weexBuiltInComponents,_i={appear:"appear",disappear:"disappear",offsetAppear:"offset-appear",offsetDisappear:"offset-disappear"};var Si={figure:["img","image","figure"],p:["text","p"],div:["container","div"],section:["cell","cell-slot"],"recycle-list":["recycle-list"]},Ti=Object.keys(Si).reduce(function(t,n){return Si[n].forEach(function(e){t[e]=n}),t},{}),Ci={p:"text",figure:"image",section:"cell"};var Ei={div:{"weex-ct":!0,"weex-div":!0},image:{"weex-el":!0,"weex-image":!0},text:{"weex-el":!0,"weex-text":!0},cell:{"weex-ct":!0,"weex-cell":!0},a:{"weex-ct":!0,"weex-a":!0}};function ki(e,o){return function(e,t,n,i,r){return(k(t)||bn())&&(i=n,n=t,t={}),yn(t)||(t={}),"string"==typeof(e=yn(t.is)?t.is:e)?(t=Ai(this,t,e),e=Ii(0,e)):t=Ai(this,t,void 0),o.call(this,e,t,n,i,r)}.bind(e)}function Ii(e,t){return Ti[t]||t}function Ni(e,t,n,i,r){for(var o in t){var s=_i[o];s?(n["data-evt-"+s]="",r.value||(r.value=!0,n["weex-appear"]="")):(n["data-evt-"+o]="","click"!==o&&(s=t[o],k(t[o])?s.unshift(e.$stopPropagation):t[o]=[e.$stopPropagation,s]))}t.click&&(t.weex$tap=t.click,t.click=e.$stopOuterA),t.scroll&&(t.weex$scroll=t.scroll,delete t.scroll)}function Oi(e,t,n){var i=t.style;i&&(n=yi(Ci[n=n]||n),t.style=n?e._px2rem(n.transform(i),75):e._px2rem(i,75))}function Ai(e,t,n){var i,r,o,s,a,l,c,d;return k(t)||((a=-1<A.weexBuiltInComponents.indexOf(n))&&(o=n,i=(r=t).class,o=Ei[o],(i=i||(r.class=[]))&&k(i)?r.class=i.concat(Object.keys(o)):"object"==typeof i&&Object.assign(i,o)),Oi(e,t,n),a&&(r=n,o=(i=t).attrs,a=i.directives,"image"===((o=o||(i.attrs={}))["weex-type"]=r))&&(r=o.src,s=o.resize,r&&(o["data-img-src"]=r),s)&&(a=a||(i.directives=[])).push({name:"weex-resize",value:o.resize}),s=e,a=n,n=(e=t).on