5 lines
110 KiB
JavaScript
5 lines
110 KiB
JavaScript
define("taro.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,fetch,XMLHttpRequest,WebSocket,webkit,ttJSCore,Reporter,print,indexedDB){
|
|
/*! For license information please see taro.js.LICENSE.txt */
|
|
(tt["webpackJsonp"]=tt["webpackJsonp"]||[]).push([[3],{1e3:function(e,t,n){"use strict";n.r(t),function(e,r){var i=n(536),o=n.n(i),a=n(833),c=n.n(a),u=n(732),s=n.n(u),l=n(733),d=n.n(l),f=n(721),p=n.n(f),h=n(15);"function"!==typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}),"function"!==typeof Object.defineProperties&&(Object.defineProperties=function(e,t){function n(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function n(e){return"function"===typeof e}if("object"!==o()(e)||null===e)throw new TypeError("bad desc");var r={};if(t(e,"enumerable")&&(r.enumerable=!!e.enumerable),t(e,"configurable")&&(r.configurable=!!e.configurable),t(e,"value")&&(r.value=e.value),t(e,"writable")&&(r.writable=!!e.writable),t(e,"get")){var i=e.get;if(!n(i)&&"undefined"!==typeof i)throw new TypeError("bad get");r.get=i}if(t(e,"set")){var a=e.set;if(!n(a)&&"undefined"!==typeof a)throw new TypeError("bad set");r.set=a}if(("get"in r||"set"in r)&&("value"in r||"writable"in r))throw new TypeError("identity-confused descriptor");return r}if("object"!==o()(e)||null===e)throw new TypeError("bad obj");t=Object(t);for(var r=Object.keys(t),i=[],a=0;a<r.length;a++)i.push([r[a],n(t[r[a]])]);for(var c=0;c<i.length;c++)Object.defineProperty(e,i[c][0],i[c][1]);return e});var v={WEAPP:"WEAPP",WEB:"WEB",RN:"RN",SWAN:"SWAN",ALIPAY:"ALIPAY",TT:"TT",QQ:"QQ",JD:"JD",KWAI:"KWAI"},m=null;function b(){return m||("undefined"!==typeof jd&&jd.getSystemInfo?(m=v.JD,v.JD):"undefined"!==typeof qq&&qq.getSystemInfo?(m=v.QQ,v.QQ):"undefined"!==typeof tt&&tt.getSystemInfo?(m=v.TT,v.TT):"undefined"!==typeof wx&&wx.getSystemInfo?(m=v.WEAPP,v.WEAPP):"undefined"!==typeof swan&&swan.getSystemInfo?(m=v.SWAN,v.SWAN):"undefined"!==typeof my&&my.getSystemInfo?(m=v.ALIPAY,v.ALIPAY):"undefined"!==typeof ks&&ks.getSystemInfo?(m=v.KWAI,v.KWAI):"undefined"!==typeof e&&e.__fbGenNativeModule?(m=v.RN,v.RN):"undefined"!==typeof r?(m=v.WEB,v.WEB):"Unknown environment")}var y=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;s()(this,e),this.index=r,this.requestParams=t,this.interceptors=n}return d()(e,[{key:"proceed",value:function(e){if(this.requestParams=e,this.index>=this.interceptors.length)throw new Error("chain \u53c2\u6570\u9519\u8bef, \u8bf7\u52ff\u76f4\u63a5\u4fee\u6539 request.chain");var t=this._getNextInterceptor(),n=this._getNextChain(),r=t(n),i=r.catch((function(e){return Promise.reject(e)}));return"function"===typeof r.abort&&(i.abort=r.abort),i}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new e(this.requestParams,this.interceptors,this.index+1)}}]),e}(),g=function(){function e(t){s()(this,e),this.taroInterceptor=t,this.chain=new y}return d()(e,[{key:"request",value:function(e){var t=this;return this.chain.interceptors=this.chain.interceptors.filter((function(e){return e!==t.taroInterceptor})),this.chain.interceptors.push(this.taroInterceptor),this.chain.proceed(c()({},e))}},{key:"addInterceptor",value:function(e){this.chain.interceptors.push(e)}},{key:"cleanInterceptors",value:function(){this.chain=new y}}]),e}();function O(e){var t,n=e.requestParams,r=new Promise((function(r,i){var o=setTimeout((function(){o=null,i(new Error("\u7f51\u7edc\u94fe\u63a5\u8d85\u65f6,\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"))}),n&&n.timeout||6e4);t=e.proceed(n),t.then((function(e){o&&(clearTimeout(o),r(e))})).catch((function(e){o&&clearTimeout(o),i(e)}))}));return void 0!==t&&"function"===typeof t.abort&&(r.abort=t.abort),r}function j(e){var t=e.requestParams,n=t.method,r=t.data,i=t.url;console.log("http ".concat(n||"GET"," --\x3e ").concat(i," data: "),r);var o=e.proceed(t),a=o.then((function(e){return console.log("http <-- ".concat(i," result:"),e),e}));return"function"===typeof o.abort&&(a.abort=o.abort),a}var w=Object.freeze({__proto__:null,timeoutInterceptor:O,logInterceptor:j});function k(e){return e}function _(e){return function(t,n){"object"===o()(t)?e.preloadData=t:void 0!==t&&void 0!==n&&(e.preloadData=p()({},t,n))}}function E(e){return function(t){var n=t.designWidth,r=void 0===n?750:n,i=t.deviceRatio,o=void 0===i?{640:1.17,750:1,828:.905}:i;e.config=e.config||{},e.config.designWidth=r,e.config.deviceRatio=o}}function T(e){return function(t){var n=e.config||{},r=n.designWidth,i=void 0===r?750:r,o=n.deviceRatio,a=void 0===o?{640:1.17,750:1,828:.905}:o;if(!(i in a))throw new Error("deviceRatio \u914d\u7f6e\u4e2d\u4e0d\u5b58\u5728 ".concat(i," \u7684\u8bbe\u7f6e\uff01"));return parseInt(t,10)*a[i]+"rpx"}}var S={Behavior:k,getEnv:b,ENV_TYPE:v,Link:g,interceptors:w,Current:h["Current"],getCurrentInstance:h["getCurrentInstance"],options:h["options"],nextTick:h["nextTick"],eventCenter:h["eventCenter"],Events:h["Events"],useDidShow:h["useDidShow"],useDidHide:h["useDidHide"],usePullDownRefresh:h["usePullDownRefresh"],useReachBottom:h["useReachBottom"],usePageScroll:h["usePageScroll"],useResize:h["useResize"],useShareAppMessage:h["useShareAppMessage"],useTabItemTap:h["useTabItemTap"],useTitleClick:h["useTitleClick"],useOptionMenuClick:h["useOptionMenuClick"],usePullIntercept:h["usePullIntercept"],useShareTimeline:h["useShareTimeline"],useAddToFavorites:h["useAddToFavorites"],useReady:h["useReady"],useRouter:h["useRouter"],getInitPxTransform:E};S.initPxTransform=E(S),S.preload=_(h["Current"]),S.pxTransform=T(S),t["default"]=S}.call(this,n(286),n(15)["window"])},1451:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);Component(r.createRecursiveComponentConfig("custom-wrapper"))},15:function(e,t,n){"use strict";n.r(t),function(e,r,i,o,a,c){n.d(t,"Current",(function(){return ji})),n.d(t,"ElementNames",(function(){return Oe})),n.d(t,"Events",(function(){return ki})),n.d(t,"FormElement",(function(){return zn})),n.d(t,"SERVICE_IDENTIFIER",(function(){return S})),n.d(t,"SVGElement",(function(){return Wn})),n.d(t,"Style",(function(){return We})),n.d(t,"TaroElement",(function(){return Ye})),n.d(t,"TaroEvent",(function(){return ti})),n.d(t,"TaroNode",(function(){return ke})),n.d(t,"TaroRootElement",(function(){return qn})),n.d(t,"TaroText",(function(){return _e})),n.d(t,"cancelAnimationFrame",(function(){return bi})),n.d(t,"connectReactPage",(function(){return Vi})),n.d(t,"connectVuePage",(function(){return eo})),n.d(t,"container",(function(){return ei})),n.d(t,"createComponentConfig",(function(){return Di})),n.d(t,"createDocument",(function(){return ui})),n.d(t,"createEvent",(function(){return ni})),n.d(t,"createNativeComponentConfig",(function(){return Xi})),n.d(t,"createPageConfig",(function(){return Li})),n.d(t,"createReactApp",(function(){return Ki})),n.d(t,"createRecursiveComponentConfig",(function(){return Ui})),n.d(t,"createVue3App",(function(){return oo})),n.d(t,"createVueApp",(function(){return no})),n.d(t,"document",(function(){return li})),n.d(t,"eventCenter",(function(){return Ei})),n.d(t,"getComputedStyle",(function(){return yi})),n.d(t,"getCurrentInstance",(function(){return wi})),n.d(t,"hydrate",(function(){return ge})),n.d(t,"injectPageInstance",(function(){return Pi})),n.d(t,"navigator",(function(){return hi})),n.d(t,"nextTick",(function(){return Eo})),n.d(t,"now",(function(){return si})),n.d(t,"options",(function(){return Dn})),n.d(t,"processPluginHooks",(function(){return Yr})),n.d(t,"requestAnimationFrame",(function(){return mi})),n.d(t,"stringify",(function(){return Ni})),n.d(t,"useAddToFavorites",(function(){return Oo})),n.d(t,"useDidHide",(function(){return uo})),n.d(t,"useDidShow",(function(){return co})),n.d(t,"useOptionMenuClick",(function(){return bo})),n.d(t,"usePageScroll",(function(){return fo})),n.d(t,"usePullDownRefresh",(function(){return so})),n.d(t,"usePullIntercept",(function(){return yo})),n.d(t,"useReachBottom",(function(){return lo})),n.d(t,"useReady",(function(){return jo})),n.d(t,"useResize",(function(){return po})),n.d(t,"useRouter",(function(){return wo})),n.d(t,"useScope",(function(){return ko})),n.d(t,"useShareAppMessage",(function(){return ho})),n.d(t,"useShareTimeline",(function(){return go})),n.d(t,"useTabItemTap",(function(){return vo})),n.d(t,"useTitleClick",(function(){return mo})),n.d(t,"window",(function(){return gi}));n(5),n(9);var u=n(7),s=n(831),l=n(21),d=n(262),f=n(165),p=n(492),h=n(832),v=n(48),m=n(40),b=n(41),y=n(4),g=n(29),O=n(30),j=n(95),w=n(74),k=n(57);function _(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"===typeof Reflect?"undefined":Object(j["a"])(Reflect))&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function E(e,t){return function(n,r){t(n,r,e)}}function T(e,t){if("object"===("undefined"===typeof Reflect?"undefined":Object(j["a"])(Reflect))&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}(function(t){(function(e){var n=r(t);function r(e,t){return function(n,r){"function"!==typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}e(n)})((function(t){var n=Object.prototype.hasOwnProperty,r="function"===typeof Symbol,i=r&&"undefined"!==typeof Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&"undefined"!==typeof Symbol.iterator?Symbol.iterator:"@@iterator",a="function"===typeof Object.create,c={__proto__:[]}instanceof Array,u=!a&&!c,s={create:a?function(){return ae(Object.create(null))}:c?function(){return ae({__proto__:null})}:function(){return ae({})},has:u?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:u?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),d="object"===("undefined"===typeof e?"undefined":Object(j["a"])(e))&&e.env&&"true"===e.env["REFLECT_METADATA_USE_MAP_POLYFILL"],f=d||"function"!==typeof Map||"function"!==typeof Map.prototype.entries?re():Map,p=d||"function"!==typeof Set||"function"!==typeof Set.prototype.entries?ie():Set,h=d||"function"!==typeof WeakMap?oe():WeakMap,v=new h;function m(e,t,n,r){if(L(n)){if(!G(e))throw new TypeError;if(!K(t))throw new TypeError;return S(e,t)}if(!G(e))throw new TypeError;if(!$(t))throw new TypeError;if(!$(r)&&!L(r)&&!D(r))throw new TypeError;return D(r)&&(r=void 0),n=V(n),C(e,t,n,r)}function b(e,t){function n(n,r){if(!$(n))throw new TypeError;if(!L(r)&&!Y(r))throw new TypeError;B(e,t,n,r)}return n}function y(e,t,n,r){if(!$(n))throw new TypeError;return L(r)||(r=V(r)),B(e,t,n,r)}function g(e,t,n){if(!$(t))throw new TypeError;return L(n)||(n=V(n)),A(e,t,n)}function O(e,t,n){if(!$(t))throw new TypeError;return L(n)||(n=V(n)),x(e,t,n)}function w(e,t,n){if(!$(t))throw new TypeError;return L(n)||(n=V(n)),I(e,t,n)}function k(e,t,n){if(!$(t))throw new TypeError;return L(n)||(n=V(n)),N(e,t,n)}function _(e,t){if(!$(e))throw new TypeError;return L(t)||(t=V(t)),F(e,t)}function E(e,t){if(!$(e))throw new TypeError;return L(t)||(t=V(t)),R(e,t)}function T(e,t,n){if(!$(t))throw new TypeError;L(n)||(n=V(n));var r=P(t,n,!1);if(L(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var i=v.get(t);return i.delete(n),i.size>0||v.delete(t),!0}function S(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n],i=r(t);if(!L(i)&&!D(i)){if(!K(i))throw new TypeError;t=i}}return t}function C(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=e[i],a=o(t,n,r);if(!L(a)&&!D(a)){if(!$(a))throw new TypeError;r=a}}return r}function P(e,t,n){var r=v.get(e);if(L(r)){if(!n)return;r=new f,v.set(e,r)}var i=r.get(t);if(L(i)){if(!n)return;i=new f,r.set(t,i)}return i}function A(e,t,n){var r=x(e,t,n);if(r)return!0;var i=ne(t);return!D(i)&&A(e,i,n)}function x(e,t,n){var r=P(t,n,!1);return!L(r)&&z(r.has(e))}function I(e,t,n){var r=x(e,t,n);if(r)return N(e,t,n);var i=ne(t);return D(i)?void 0:I(e,i,n)}function N(e,t,n){var r=P(t,n,!1);if(!L(r))return r.get(e)}function B(e,t,n,r){var i=P(n,r,!0);i.set(e,t)}function F(e,t){var n=R(e,t),r=ne(e);if(null===r)return n;var i=F(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var o=new p,a=[],c=0,u=n;c<u.length;c++){var s=u[c],l=o.has(s);l||(o.add(s),a.push(s))}for(var d=0,f=i;d<f.length;d++){s=f[d],l=o.has(s);l||(o.add(s),a.push(s))}return a}function R(e,t){var n=[],r=P(e,t,!1);if(L(r))return n;var i=r.keys(),o=Z(i),a=0;while(1){var c=ee(o);if(!c)return n.length=a,n;var u=X(c);try{n[a]=u}catch(e){try{te(o)}finally{throw e}}a++}}function M(e){if(null===e)return 1;switch(Object(j["a"])(e)){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function L(e){return void 0===e}function D(e){return null===e}function U(e){return"symbol"===Object(j["a"])(e)}function $(e){return"object"===Object(j["a"])(e)?null!==e:"function"===typeof e}function H(e,t){switch(M(e)){case 0:return e;case 1:return e;case 2:return e;case 3:return e;case 4:return e;case 5:return e}var n=3===t?"string":5===t?"number":"default",r=Q(e,i);if(void 0!==r){var o=r.call(e,n);if($(o))throw new TypeError;return o}return q(e,"default"===n?"number":n)}function q(e,t){if("string"===t){var n=e.toString;if(J(n)){var r=n.call(e);if(!$(r))return r}var i=e.valueOf;if(J(i)){r=i.call(e);if(!$(r))return r}}else{i=e.valueOf;if(J(i)){r=i.call(e);if(!$(r))return r}var o=e.toString;if(J(o)){r=o.call(e);if(!$(r))return r}}throw new TypeError}function z(e){return!!e}function W(e){return""+e}function V(e){var t=H(e,3);return U(t)?t:W(t)}function G(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function J(e){return"function"===typeof e}function K(e){return"function"===typeof e}function Y(e){switch(M(e)){case 3:return!0;case 4:return!0;default:return!1}}function Q(e,t){var n=e[t];if(void 0!==n&&null!==n){if(!J(n))throw new TypeError;return n}}function Z(e){var t=Q(e,o);if(!J(t))throw new TypeError;var n=t.call(e);if(!$(n))throw new TypeError;return n}function X(e){return e.value}function ee(e){var t=e.next();return!t.done&&t}function te(e){var t=e["return"];t&&t.call(e)}function ne(e){var t=Object.getPrototypeOf(e);if("function"!==typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!==typeof i||i===e?t:i}function re(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function a(e,t){return[e,t]}}function ie(){return function(){function e(){this._map=new f}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}()}function oe(){var e=16,t=s.create(),r=i();return function(){function e(){this._key=i()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&s.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?s.get(t,this._key):void 0},e.prototype.set=function(e,t){var n=o(e,!0);return n[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=i()},e}();function i(){var e;do{e="@@WeakMap@@"+u()}while(s.has(t,e));return t[e]=!0,e}function o(e,t){if(!n.call(e,r)){if(!t)return;Object.defineProperty(e,r,{value:s.create()})}return e[r]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function c(e){return"function"===typeof Uint8Array?"undefined"!==typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!==typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):a(new Uint8Array(e),e):a(new Array(e),e)}function u(){var t=c(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",r=0;r<e;++r){var i=t[r];4!==r&&6!==r&&8!==r||(n+="-"),i<16&&(n+="0"),n+=i.toString(16).toLowerCase()}return n}}function ae(e){return e.__=void 0,delete e.__,e}t("decorate",m),t("metadata",b),t("defineMetadata",y),t("hasMetadata",g),t("hasOwnMetadata",O),t("getMetadata",w),t("getOwnMetadata",k),t("getMetadataKeys",_),t("getOwnMetadataKeys",E),t("deleteMetadata",T)}))})(Reflect||(Reflect={}));var S={TaroElement:"TaroElement",TaroElementFactory:"Factory<TaroElement>",TaroText:"TaroText",TaroTextFactory:"Factory<TaroText>",TaroNodeImpl:"TaroNodeImpl",TaroElementImpl:"TaroElementImpl",Hooks:"hooks",onRemoveAttribute:"onRemoveAttribute",getLifecycle:"getLifecycle",getPathIndex:"getPathIndex",getEventCenter:"getEventCenter",isBubbleEvents:"isBubbleEvents",getSpecialNodes:"getSpecialNodes",eventCenter:"eventCenter",modifyMpEvent:"modifyMpEvent",modifyTaroEvent:"modifyTaroEvent",batchedEventUpdates:"batchedEventUpdates",mergePageInstance:"mergePageInstance",createPullDownComponent:"createPullDownComponent",getDOMNode:"getDOMNode",initNativeApi:"initNativeApi",modifyHydrateData:"modifyHydrateData",modifySetAttrPayload:"modifySetAttrPayload",modifyRmAttrPayload:"modifyRmAttrPayload",onAddEvent:"onAddEvent",patchElement:"patchElement"},C="taro-app",P="\u5c0f\u7a0b\u5e8f setData",A="\u9875\u9762\u521d\u59cb\u5316",x="root",I="html",N="head",B="body",F="app",R="container",M="#document",L="document-fragment",D="id",U="uid",$="class",H="style",q="focus",z="view",W="static-view",V="pure-view",G="props",J="dataset",K="object",Y="value",Q="input",Z="change",X="custom-wrapper",ee="target",te="currentTarget",ne="type",re="confirm",ie="timeStamp",oe="keyCode",ae="touchmove",ce="Date",ue="catchMove",se="catch-view",le="comment",de=function(){var e=0;return function(){return(e++).toString()}};function fe(e){return 1===e.nodeType}function pe(e){return 3===e.nodeType}function he(e){return e.nodeName===le}function ve(e){var t=Object.keys(e.props).find((function(e){return!(/^(class|style|id)$/.test(e)||e.startsWith("data-"))}));return Boolean(t)}function me(e,t){var n,r=!1;while((null===e||void 0===e?void 0:e.parentElement)&&e.parentElement._path!==x){if(null===(n=e.parentElement.__handlers[t])||void 0===n?void 0:n.length){r=!0;break}e=e.parentElement}return r}function be(e){switch(e){case H:return"st";case D:return U;case $:return"cl";default:return e}}var ye=function(){function e(t){Object(g["a"])(this,e),this.__handlers={},this.hooks=t}return Object(O["a"])(e,[{key:"addEventListener",value:function(e,t,n){var r,i;if(null===(i=(r=this.hooks).onAddEvent)||void 0===i||i.call(r,e,t,n,this),"regionchange"===e)return this.addEventListener("begin",t,n),void this.addEventListener("end",t,n);e=e.toLowerCase();var o=this.__handlers[e],a=(Boolean(n),!1);if(Object(k["isObject"])(n)&&(Boolean(n.capture),a=Boolean(n.once)),a){var c=function n(){t.apply(this,arguments),this.removeEventListener(e,n)};this.addEventListener(e,c,Object.assign(Object.assign({},n),{once:!1}))}else Object(k["isArray"])(o)?o.push(t):this.__handlers[e]=[t]}},{key:"removeEventListener",value:function(e,t){if(e=e.toLowerCase(),null!=t){var n=this.__handlers[e];if(Object(k["isArray"])(n)){var r=n.indexOf(t);n.splice(r,1)}}}},{key:"isAnyEventBinded",value:function(){var e=this.__handlers,t=Object.keys(e).find((function(t){return e[t].length}));return Boolean(t)}}]),e}();function ge(e){var t,n,r,i,o=e.nodeName;if(pe(e))return i={},Object(y["a"])(i,"v",e.nodeValue),Object(y["a"])(i,"nn",o),i;var a=(t={},Object(y["a"])(t,"nn",o),Object(y["a"])(t,"uid",e.uid),t),c=e.props,u=e.hooks.getSpecialNodes();for(var s in!e.isAnyEventBinded()&&u.indexOf(o)>-1&&(a["nn"]="static-".concat(o),o!==z||ve(e)||(a["nn"]=V)),c){var l=Object(k["toCamelCase"])(s);s.startsWith("data-")||s===$||s===H||s===D||l===ue||(a[l]=c[s]),o===z&&l===ue&&!1!==c[s]&&(a["nn"]=se)}var d=e.childNodes;return d=d.filter((function(e){return!he(e)})),d.length>0?a["cn"]=d.map(ge):a["cn"]=[],""!==e.className&&(a["cl"]=e.className),""!==e.cssText&&"swiper-item"!==o&&(a["st"]=e.cssText),null===(r=(n=e.hooks).modifyHydrateData)||void 0===r||r.call(n,a),a}ye=_([Object(w["d"])(),E(0,Object(w["c"])(S.Hooks)),T("design:paramtypes",[Object])],ye);var Oe,je=new Map;(function(e){e["Element"]="Element",e["Document"]="Document",e["RootElement"]="RootElement",e["FormElement"]="FormElement"})(Oe||(Oe={}));var we=de(),ke=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(e,r,i){var o;return Object(g["a"])(this,n),o=t.call(this,i),o.parentNode=null,o.childNodes=[],o.hydrate=function(e){return function(){return ge(e)}},e.bind(Object(v["a"])(o)),o._getElement=r,o.uid="_n_".concat(we()),je.set(o.uid,Object(v["a"])(o)),o}return Object(O["a"])(n,[{key:"_empty",value:function(){while(this.childNodes.length>0){var e=this.childNodes[0];e.parentNode=null,je.delete(e.uid),this.childNodes.shift()}}},{key:"_root",get:function(){var e;return(null===(e=this.parentNode)||void 0===e?void 0:e._root)||null}},{key:"findIndex",value:function(e){var t=this.childNodes.indexOf(e);return Object(k["ensure"])(-1!==t,"The node to be replaced is not a child of this node."),t}},{key:"_path",get:function(){var e=this.parentNode;if(e){var t=e.childNodes.filter((function(e){return!he(e)})),n=t.indexOf(this),r=this.hooks.getPathIndex(n);return"".concat(e._path,".","cn",".").concat(r)}return""}},{key:"nextSibling",get:function(){var e=this.parentNode;return(null===e||void 0===e?void 0:e.childNodes[e.findIndex(this)+1])||null}},{key:"previousSibling",get:function(){var e=this.parentNode;return(null===e||void 0===e?void 0:e.childNodes[e.findIndex(this)-1])||null}},{key:"parentElement",get:function(){var e=this.parentNode;return 1===(null===e||void 0===e?void 0:e.nodeType)?e:null}},{key:"firstChild",get:function(){return this.childNodes[0]||null}},{key:"lastChild",get:function(){var e=this.childNodes;return e[e.length-1]||null}},{key:"textContent",set:function(e){if(this._empty(),""===e)this.enqueueUpdate({path:"".concat(this._path,".","cn"),value:function(){return[]}});else{var t=this._getElement(Oe.Document)();this.appendChild(t.createTextNode(e))}}},{key:"insertBefore",value:function(e,t,n){var r,i=this;if(e.nodeName===L)return e.childNodes.reduceRight((function(e,t){return i.insertBefore(t,e),t}),t),e;if(e.remove(),e.parentNode=this,t){var o=this.findIndex(t);this.childNodes.splice(o,0,e),r=n?{path:e._path,value:this.hydrate(e)}:{path:"".concat(this._path,".","cn"),value:function(){var e=i.childNodes.filter((function(e){return!he(e)}));return e.map(ge)}}}else this.childNodes.push(e),r={path:e._path,value:this.hydrate(e)};return this.enqueueUpdate(r),je.has(e.uid)||je.set(e.uid,e),e}},{key:"appendChild",value:function(e){this.insertBefore(e)}},{key:"replaceChild",value:function(e,t){if(t.parentNode===this)return this.insertBefore(e,t,!0),t.remove(!0),t}},{key:"removeChild",value:function(e,t){var n=this,r=this.findIndex(e);return this.childNodes.splice(r,1),t||this.enqueueUpdate({path:"".concat(this._path,".","cn"),value:function(){var e=n.childNodes.filter((function(e){return!he(e)}));return e.map(ge)}}),e.parentNode=null,je.delete(e.uid),e}},{key:"remove",value:function(e){var t;null===(t=this.parentNode)||void 0===t||t.removeChild(this,e)}},{key:"hasChildNodes",value:function(){return this.childNodes.length>0}},{key:"enqueueUpdate",value:function(e){var t;null===(t=this._root)||void 0===t||t.enqueueUpdate(e)}},{key:"contains",value:function(e){var t=!1;return this.childNodes.some((function(n){var r=n.uid;if(r===e.uid||r===e.id||n.contains(e))return t=!0,!0})),t}},{key:"ownerDocument",get:function(){var e=this._getElement(Oe.Document)();return e}}]),n}(ye);ke=_([Object(w["d"])(),E(0,Object(w["c"])(S.TaroNodeImpl)),E(1,Object(w["c"])(S.TaroElementFactory)),E(2,Object(w["c"])(S.Hooks)),T("design:paramtypes",[Function,Function,Function])],ke);var _e=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(e,r,i){var o;return Object(g["a"])(this,n),o=t.call(this,e,r,i),o.nodeType=3,o.nodeName="#text",o}return Object(O["a"])(n,[{key:"textContent",get:function(){return this._value},set:function(e){this._value=e,this.enqueueUpdate({path:"".concat(this._path,".","v"),value:e})}},{key:"nodeValue",get:function(){return this._value},set:function(e){this.textContent=e}}]),n}(ke);_e=_([Object(w["d"])(),E(0,Object(w["c"])(S.TaroNodeImpl)),E(1,Object(w["c"])(S.TaroElementFactory)),E(2,Object(w["c"])(S.Hooks)),T("design:paramtypes",[Function,Function,Function])],_e);var Ee=["all","appearance","blockOverflow","blockSize","bottom","clear","contain","content","continue","cursor","direction","display","filter","float","gap","height","inset","isolation","left","letterSpacing","lightingColor","markerSide","mixBlendMode","opacity","order","position","quotes","resize","right","rowGap","tabSize","tableLayout","top","userSelect","verticalAlign","visibility","voiceFamily","volume","whiteSpace","widows","width","zIndex","pointerEvents"];function Te(e,t,n){!n&&Ee.push(e),t.forEach((function(t){Ee.push(e+t)}))}var Se="Color",Ce="Style",Pe="Width",Ae="Image",xe="Size",Ie=[Se,Ce,Pe],Ne=["FitLength","FitWidth",Ae],Be=[].concat(Ne,["Radius"]),Fe=[].concat(Ie,Ne),Re=["EndRadius","StartRadius"],Me=["Bottom","Left","Right","Top"],Le=["End","Start"],De=["Content","Items","Self"],Ue=["BlockSize","Height","InlineSize",Pe],$e=["After","Before"];function He(e,t){var n=this[t];e&&this._usedStyleProp.add(t),n!==e&&(this._value[t]=e,this._element.enqueueUpdate({path:"".concat(this._element._path,".","st"),value:this.cssText}))}function qe(e){for(var t={},n=function(e){var n=Ee[e];t[n]={get:function(){return this._value[n]||""},set:function(e){He.call(this,e,n)}}},r=0;r<Ee.length;r++)n(r);Object.defineProperties(e.prototype,t)}function ze(e){return/^--/.test(e)}Te("borderBlock",Ie),Te("borderBlockEnd",Ie),Te("borderBlockStart",Ie),Te("outline",[].concat(Ie,["Offset"])),Te("border",[].concat(Ie,["Boundary","Break","Collapse","Radius","Spacing"])),Te("borderFit",["Length",Pe]),Te("borderInline",Ie),Te("borderInlineEnd",Ie),Te("borderInlineStart",Ie),Te("borderLeft",Fe),Te("borderRight",Fe),Te("borderTop",Fe),Te("borderBottom",Fe),Te("textDecoration",[Se,Ce,"Line"]),Te("textEmphasis",[Se,Ce,"Position"]),Te("scrollMargin",Me),Te("scrollPadding",Me),Te("padding",Me),Te("margin",[].concat(Me,["Trim"])),Te("scrollMarginBlock",Le),Te("scrollMarginInline",Le),Te("scrollPaddingBlock",Le),Te("scrollPaddingInline",Le),Te("gridColumn",Le),Te("gridRow",Le),Te("insetBlock",Le),Te("insetInline",Le),Te("marginBlock",Le),Te("marginInline",Le),Te("paddingBlock",Le),Te("paddingInline",Le),Te("pause",$e),Te("cue",$e),Te("mask",["Clip","Composite",Ae,"Mode","Origin","Position","Repeat",xe,"Type"]),Te("borderImage",["Outset","Repeat","Slice","Source","Transform",Pe]),Te("maskBorder",["Mode","Outset","Repeat","Slice","Source",Pe]),Te("font",["Family","FeatureSettings","Kerning","LanguageOverride","MaxSize","MinSize","OpticalSizing","Palette",xe,"SizeAdjust","Stretch",Ce,"Weight","VariationSettings"]),Te("fontSynthesis",["SmallCaps",Ce,"Weight"]),Te("transform",["Box","Origin",Ce]),Te("background",[Se,Ae,"Attachment","BlendMode","Clip","Origin","Position","Repeat",xe]),Te("listStyle",[Ae,"Position","Type"]),Te("scrollSnap",["Align","Stop","Type"]),Te("grid",["Area","AutoColumns","AutoFlow","AutoRows"]),Te("gridTemplate",["Areas","Columns","Rows"]),Te("overflow",["Block","Inline","Wrap","X","Y"]),Te("transition",["Delay","Duration","Property","TimingFunction"]),Te("lineStacking",["Ruby","Shift","Strategy"]),Te("color",["Adjust","InterpolationFilters","Scheme"]),Te("textAlign",["All","Last"]),Te("page",["BreakAfter","BreakBefore","BreakInside"]),Te("speak",["Header","Numeral","Punctuation"]),Te("animation",["Delay","Direction","Duration","FillMode","IterationCount","Name","PlayState","TimingFunction"]),Te("flex",["Basis","Direction","Flow","Grow","Shrink","Wrap"]),Te("offset",[].concat($e,Le,["Anchor","Distance","Path","Position","Rotate"])),Te("fontVariant",["Alternates","Caps","EastAsian","Emoji","Ligatures","Numeric","Position"]),Te("perspective",["Origin"]),Te("pitch",["Range"]),Te("clip",["Path","Rule"]),Te("flow",["From","Into"]),Te("align",["Content","Items","Self"],!0),Te("alignment",["Adjust","Baseline"],!0),Te("bookmark",["Label","Level","State"],!0),Te("borderStart",Re,!0),Te("borderEnd",Re,!0),Te("borderCorner",["Fit",Ae,"ImageTransform"],!0),Te("borderTopLeft",Be,!0),Te("borderTopRight",Be,!0),Te("borderBottomLeft",Be,!0),Te("borderBottomRight",Be,!0),Te("column",["s","Count","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","Span",Pe],!0),Te("break",[].concat($e,["Inside"]),!0),Te("wrap",[].concat($e,["Flow","Inside","Through"]),!0),Te("justify",De,!0),Te("place",De,!0),Te("max",[].concat(Ue,["Lines"]),!0),Te("min",Ue,!0),Te("line",["Break","Clamp","Grid","Height","Padding","Snap"],!0),Te("inline",["BoxAlign",xe,"Sizing"],!0),Te("text",["CombineUpright","GroupAlign","Height","Indent","Justify","Orientation","Overflow","Shadow","SpaceCollapse","SpaceTrim","Spacing","Transform","UnderlinePosition","Wrap"],!0),Te("shape",["ImageThreshold","Inside","Margin","Outside"],!0),Te("word",["Break","Spacing","Wrap"],!0),Te("nav",["Down","Left","Right","Up"],!0),Te("object",["Fit","Position"],!0),Te("box",["DecorationBreak","Shadow","Sizing","Snap"],!0);var We=function(){function e(t){Object(g["a"])(this,e),this._element=t,this._usedStyleProp=new Set,this._value={}}return Object(O["a"])(e,[{key:"setCssVariables",value:function(e){var t=this;this.hasOwnProperty(e)||Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:function(){return t._value[e]||""},set:function(n){He.call(t,n,e)}})}},{key:"cssText",get:function(){var e=this,t="";return this._usedStyleProp.forEach((function(n){var r=e[n];if(r){var i=ze(n)?n:Object(k["toDashed"])(n);t+="".concat(i,": ").concat(r,";")}})),t},set:function(e){var t=this;if(null==e&&(e=""),this._usedStyleProp.forEach((function(e){t.removeProperty(e)})),""!==e)for(var n=e.split(";"),r=0;r<n.length;r++){var i=n[r].trim();if(""!==i){var o=i.split(":"),a=Object(h["a"])(o),c=a[0],u=a.slice(1),s=u.join(":");Object(k["isUndefined"])(s)||this.setProperty(c.trim(),s.trim())}}}},{key:"setProperty",value:function(e,t){"-"===e[0]?this.setCssVariables(e):e=Object(k["toCamelCase"])(e),Object(k["isUndefined"])(t)||(null===t||""===t?this.removeProperty(e):this[e]=t)}},{key:"removeProperty",value:function(e){if(e=Object(k["toCamelCase"])(e),!this._usedStyleProp.has(e))return"";var t=this[e];return this[e]="",this._usedStyleProp.delete(e),t}},{key:"getPropertyValue",value:function(e){e=Object(k["toCamelCase"])(e);var t=this[e];return t||""}}]),e}();function Ve(){return!0}function Ge(e,t){var n=[],r=null!==t&&void 0!==t?t:Ve,i=e;while(i)1===i.nodeType&&r(i)&&n.push(i),i=Je(i,e);return n}function Je(e,t){var n=e.firstChild;if(n)return n;var r=e;do{if(r===t)return null;var i=r.nextSibling;if(i)return i;r=r.parentElement}while(r);return null}qe(We);var Ke=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(e,r){var i,o;return Object(g["a"])(this,n),o=t.call(this),e.trim().split(/\s+/).forEach(Object(d["a"])((i=Object(v["a"])(o),Object(f["a"])(n.prototype)),"add",i).bind(Object(v["a"])(o))),o.el=r,o}return Object(O["a"])(n,[{key:"value",get:function(){return Object(l["a"])(this).join(" ")}},{key:"add",value:function(e){return Object(d["a"])(Object(f["a"])(n.prototype),"add",this).call(this,e),this._update(),this}},{key:"length",get:function(){return this.size}},{key:"remove",value:function(e){Object(d["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,e),this._update()}},{key:"toggle",value:function(e){Object(d["a"])(Object(f["a"])(n.prototype),"has",this).call(this,e)?Object(d["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,e):Object(d["a"])(Object(f["a"])(n.prototype),"add",this).call(this,e),this._update()}},{key:"replace",value:function(e,t){Object(d["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,e),Object(d["a"])(Object(f["a"])(n.prototype),"add",this).call(this,t),this._update()}},{key:"contains",value:function(e){return Object(d["a"])(Object(f["a"])(n.prototype),"has",this).call(this,e)}},{key:"toString",value:function(){return this.value}},{key:"_update",value:function(){this.el.className=this.value}}]),n}(Object(p["a"])(Set)),Ye=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(e,r,i,o){var a;return Object(g["a"])(this,n),a=t.call(this,e,r,i),a.props={},a.dataset=k["EMPTY_OBJ"],o.bind(Object(v["a"])(a)),a.nodeType=1,a.style=new We(Object(v["a"])(a)),i.patchElement(Object(v["a"])(a)),a}return Object(O["a"])(n,[{key:"_stopPropagation",value:function(e){var t=this;while(t=t.parentNode){var n=t.__handlers[e.type];if(Object(k["isArray"])(n))for(var r=n.length;r--;){var i=n[r];i._stop=!0}}}},{key:"id",get:function(){return this.getAttribute(D)},set:function(e){this.setAttribute(D,e)}},{key:"className",get:function(){return this.getAttribute($)||""},set:function(e){this.setAttribute($,e)}},{key:"cssText",get:function(){return this.getAttribute(H)||""}},{key:"classList",get:function(){return new Ke(this.className,this)}},{key:"children",get:function(){return this.childNodes.filter(fe)}},{key:"attributes",get:function(){var e=this.props,t=Object.keys(e),n=this.style.cssText,r=t.map((function(t){return{name:t,value:e[t]}}));return r.concat(n?{name:H,value:n}:[])}},{key:"textContent",get:function(){for(var e="",t=this.childNodes,n=0;n<t.length;n++)e+=t[n].textContent;return e},set:function(e){Object(s["a"])(Object(f["a"])(n.prototype),"textContent",e,this,!0)}},{key:"hasAttribute",value:function(e){return!Object(k["isUndefined"])(this.props[e])}},{key:"hasAttributes",value:function(){return this.attributes.length>0}},{key:"focus",get:function(){return function(){this.setAttribute(q,!0)}},set:function(e){this.setAttribute(q,e)}},{key:"blur",value:function(){this.setAttribute(q,!1)}},{key:"setAttribute",value:function(e,t){var n,r,i=this.nodeName===z&&!ve(this)&&!this.isAnyEventBinded();switch(e){case H:this.style.cssText=t;break;case D:je.delete(this.uid),t=String(t),this.props[e]=this.uid=t,je.set(t,this);break;default:this.props[e]=t,e.startsWith("data-")&&(this.dataset===k["EMPTY_OBJ"]&&(this.dataset=Object.create(null)),this.dataset[Object(k["toCamelCase"])(e.replace(/^data-/,""))]=t);break}e=be(e);var o={path:"".concat(this._path,".").concat(Object(k["toCamelCase"])(e)),value:t};null===(r=(n=this.hooks).modifySetAttrPayload)||void 0===r||r.call(n,this,e,o),this.enqueueUpdate(o),this.nodeName===z&&(Object(k["toCamelCase"])(e)===ue?this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:t?se:this.isAnyEventBinded()?z:W}):i&&ve(this)&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:W}))}},{key:"removeAttribute",value:function(e){var t,n,r,i,o=this.nodeName===z&&ve(this)&&!this.isAnyEventBinded();if(e===H)this.style.cssText="";else{var a=null===(n=(t=this.hooks).onRemoveAttribute)||void 0===n?void 0:n.call(t,this,e);if(a)return;if(!this.props.hasOwnProperty(e))return;delete this.props[e]}e=be(e);var c={path:"".concat(this._path,".").concat(Object(k["toCamelCase"])(e)),value:""};null===(i=(r=this.hooks).modifyRmAttrPayload)||void 0===i||i.call(r,this,e,c),this.enqueueUpdate(c),this.nodeName===z&&(Object(k["toCamelCase"])(e)===ue?this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:this.isAnyEventBinded()?z:ve(this)?W:V}):o&&!ve(this)&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:V}))}},{key:"getAttribute",value:function(e){var t=e===H?this.style.cssText:this.props[e];return null!==t&&void 0!==t?t:""}},{key:"getElementsByTagName",value:function(e){var t=this;return Ge(this,(function(n){return n.nodeName===e||"*"===e&&t!==n}))}},{key:"getElementsByClassName",value:function(e){return Ge(this,(function(t){var n=t.classList,r=e.trim().split(/\s+/);return r.every((function(e){return n.has(e)}))}))}},{key:"dispatchEvent",value:function(e){var t=e.cancelable,n=this.__handlers[e.type];if(!Object(k["isArray"])(n))return!1;for(var r=n.length;r--;){var i=n[r],o=void 0;if(i._stop?i._stop=!1:o=i.call(this,e),(!1===o||e._end)&&t&&(e.defaultPrevented=!0),e._end&&e._stop)break}return e._stop?this._stopPropagation(e):e._stop=!0,null!=n}},{key:"addEventListener",value:function(e,t,r){var i=this.nodeName,o=this.hooks.getSpecialNodes();!this.isAnyEventBinded()&&o.indexOf(i)>-1&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:i}),Object(d["a"])(Object(f["a"])(n.prototype),"addEventListener",this).call(this,e,t,r)}},{key:"removeEventListener",value:function(e,t){Object(d["a"])(Object(f["a"])(n.prototype),"removeEventListener",this).call(this,e,t);var r=this.nodeName,i=this.hooks.getSpecialNodes();!this.isAnyEventBinded()&&i.indexOf(r)>-1&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:ve(this)?"static-".concat(r):"pure-".concat(r)})}}]),n}(ke);Ye=_([Object(w["d"])(),E(0,Object(w["c"])(S.TaroNodeImpl)),E(1,Object(w["c"])(S.TaroElementFactory)),E(2,Object(w["c"])(S.Hooks)),E(3,Object(w["c"])(S.TaroElementImpl)),T("design:paramtypes",[Function,Function,Function,Function])],Ye);var Qe=Array.isArray,Ze="object"==("undefined"===typeof r?"undefined":Object(j["a"])(r))&&r&&r.Object===Object&&r,Xe="object"==("undefined"===typeof self?"undefined":Object(j["a"])(self))&&self&&self.Object===Object&&self,et=Ze||Xe||Function("return this")(),tt=et.Symbol,nt=Object.prototype,rt=nt.hasOwnProperty,it=nt.toString,ot=tt?tt.toStringTag:void 0;function at(e){var t=rt.call(e,ot),n=e[ot];try{e[ot]=void 0;var r=!0}catch(e){}var i=it.call(e);return r&&(t?e[ot]=n:delete e[ot]),i}var ct=Object.prototype,ut=ct.toString;function st(e){return ut.call(e)}var lt="[object Null]",dt="[object Undefined]",ft=tt?tt.toStringTag:void 0;function pt(e){return null==e?void 0===e?dt:lt:ft&&ft in Object(e)?at(e):st(e)}function ht(e){return null!=e&&"object"==Object(j["a"])(e)}var vt="[object Symbol]";function mt(e){return"symbol"==Object(j["a"])(e)||ht(e)&&pt(e)==vt}var bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yt=/^\w*$/;function gt(e,t){if(Qe(e))return!1;var n=Object(j["a"])(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!mt(e))||(yt.test(e)||!bt.test(e)||null!=t&&e in Object(t))}function Ot(e){var t=Object(j["a"])(e);return null!=e&&("object"==t||"function"==t)}var jt="[object AsyncFunction]",wt="[object Function]",kt="[object GeneratorFunction]",_t="[object Proxy]";function Et(e){if(!Ot(e))return!1;var t=pt(e);return t==wt||t==kt||t==jt||t==_t}var Tt=et["__core-js_shared__"],St=function(){var e=/[^.]+$/.exec(Tt&&Tt.keys&&Tt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ct(e){return!!St&&St in e}var Pt=Function.prototype,At=Pt.toString;function xt(e){if(null!=e){try{return At.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var It=/[\\^$.*+?()[\]{}|]/g,Nt=/^\[object .+?Constructor\]$/,Bt=Function.prototype,Ft=Object.prototype,Rt=Bt.toString,Mt=Ft.hasOwnProperty,Lt=RegExp("^"+Rt.call(Mt).replace(It,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Dt(e){if(!Ot(e)||Ct(e))return!1;var t=Et(e)?Lt:Nt;return t.test(xt(e))}function Ut(e,t){return null==e?void 0:e[t]}function $t(e,t){var n=Ut(e,t);return Dt(n)?n:void 0}var Ht=$t(Object,"create");function qt(){this.__data__=Ht?Ht(null):{},this.size=0}function zt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Wt="__lodash_hash_undefined__",Vt=Object.prototype,Gt=Vt.hasOwnProperty;function Jt(e){var t=this.__data__;if(Ht){var n=t[e];return n===Wt?void 0:n}return Gt.call(t,e)?t[e]:void 0}var Kt=Object.prototype,Yt=Kt.hasOwnProperty;function Qt(e){var t=this.__data__;return Ht?void 0!==t[e]:Yt.call(t,e)}var Zt="__lodash_hash_undefined__";function Xt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ht&&void 0===t?Zt:t,this}function en(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function tn(){this.__data__=[],this.size=0}function nn(e,t){return e===t||e!==e&&t!==t}function rn(e,t){var n=e.length;while(n--)if(nn(e[n][0],t))return n;return-1}en.prototype.clear=qt,en.prototype["delete"]=zt,en.prototype.get=Jt,en.prototype.has=Qt,en.prototype.set=Xt;var on=Array.prototype,an=on.splice;function cn(e){var t=this.__data__,n=rn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():an.call(t,n,1),--this.size,!0}function un(e){var t=this.__data__,n=rn(t,e);return n<0?void 0:t[n][1]}function sn(e){return rn(this.__data__,e)>-1}function ln(e,t){var n=this.__data__,r=rn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function dn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}dn.prototype.clear=tn,dn.prototype["delete"]=cn,dn.prototype.get=un,dn.prototype.has=sn,dn.prototype.set=ln;var fn=$t(et,"Map");function pn(){this.size=0,this.__data__={hash:new en,map:new(fn||dn),string:new en}}function hn(e){var t=Object(j["a"])(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function vn(e,t){var n=e.__data__;return hn(t)?n["string"==typeof t?"string":"hash"]:n.map}function mn(e){var t=vn(this,e)["delete"](e);return this.size-=t?1:0,t}function bn(e){return vn(this,e).get(e)}function yn(e){return vn(this,e).has(e)}function gn(e,t){var n=vn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function On(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}On.prototype.clear=pn,On.prototype["delete"]=mn,On.prototype.get=bn,On.prototype.has=yn,On.prototype.set=gn;var jn="Expected a function";function wn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(jn);var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(wn.Cache||On),n}wn.Cache=On;var kn=500;function _n(e){var t=wn(e,(function(e){return n.size===kn&&n.clear(),e})),n=t.cache;return t}var En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tn=/\\(\\)?/g,Sn=_n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(En,(function(e,n,r,i){t.push(r?i.replace(Tn,"$1"):n||e)})),t}));function Cn(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}var Pn=1/0,An=tt?tt.prototype:void 0,xn=An?An.toString:void 0;function In(e){if("string"==typeof e)return e;if(Qe(e))return Cn(e,In)+"";if(mt(e))return xn?xn.call(e):"";var t=e+"";return"0"==t&&1/e==-Pn?"-0":t}function Nn(e){return null==e?"":In(e)}function Bn(e,t){return Qe(e)?e:gt(e,t)?[e]:Sn(Nn(e))}var Fn=1/0;function Rn(e){if("string"==typeof e||mt(e))return e;var t=e+"";return"0"==t&&1/e==-Fn?"-0":t}function Mn(e,t){t=Bn(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Rn(t[n++])];return n&&n==r?e:void 0}function Ln(e,t,n){var r=null==e?void 0:Mn(e,t);return void 0===r?n:r}var Dn={prerender:!0,debug:!1},Un=function(){function e(){Object(g["a"])(this,e),this.recorder=new Map}return Object(O["a"])(e,[{key:"start",value:function(e){Dn.debug&&this.recorder.set(e,Date.now())}},{key:"stop",value:function(e){if(Dn.debug){var t=Date.now(),n=this.recorder.get(e),r=t-n;console.log("".concat(e," \u65f6\u957f\uff1a ").concat(r,"ms"))}}}]),e}(),$n=new Un,Hn=de(),qn=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(e,r,i,o,a){var c;return Object(g["a"])(this,n),c=t.call(this,e,r,i,o),c.pendingFlush=!1,c.updatePayloads=[],c.updateCallbacks=[],c.pendingUpdate=!1,c.ctx=null,c.nodeName=x,c.eventCenter=a,c}return Object(O["a"])(n,[{key:"_path",get:function(){return x}},{key:"_root",get:function(){return this}},{key:"enqueueUpdate",value:function(e){this.updatePayloads.push(e),this.pendingUpdate||null===this.ctx||this.performUpdate()}},{key:"performUpdate",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;this.pendingUpdate=!0;var r=this.ctx;setTimeout((function(){$n.start(P);var i=Object.create(null),o=new Set(t?["root.cn.[0]","root.cn[0]"]:[]);while(e.updatePayloads.length>0){var a=e.updatePayloads.shift(),c=a.path,u=a.value;c.endsWith("cn")&&o.add(c),i[c]=u}var s=function(e){o.forEach((function(t){e.includes(t)&&e!==t&&delete i[e]}));var t=i[e];Object(k["isFunction"])(t)&&(i[e]=t())};for(var l in i)s(l);if(Object(k["isFunction"])(n))n(i);else{e.pendingUpdate=!1;var d=[],f=new Map,p={};if(!t){for(var h in i){for(var v=h.split("."),m=!1,b=v.length;b>0;b--){var g=v.slice(0,b).join("."),O=Ln(r.__data__||r.data,g);if(O&&O.nn&&O.nn===X){var j=O.uid,w=r.selectComponent("#".concat(j)),_=v.slice(b).join(".");w&&(m=!0,f.set(w,Object.assign(Object.assign({},f.get(w)||{}),Object(y["a"])({},"i.".concat(_),i[h]))));break}}m||(p[h]=i[h])}f.size>0&&f.forEach((function(e,t){d.push({ctx:t,data:e})}))}var E=d.length;if(E){var T="".concat(e._path,"_update_").concat(Hn()),S=e.eventCenter,C=0;S.once(T,(function(){C++,C===E+1&&($n.stop(P),e.pendingFlush||e.flushUpdateCallback(),t&&$n.stop(A))}),S),d.forEach((function(e){e.ctx.setData(e.data,(function(){S.trigger(T)}))})),Object.keys(p).length&&r.setData(p,(function(){S.trigger(T)}))}else r.setData(i,(function(){$n.stop(P),e.pendingFlush||e.flushUpdateCallback(),t&&$n.stop(A)}))}}),0)}},{key:"enqueueUpdateCallback",value:function(e,t){this.updateCallbacks.push((function(){t?e.call(t):e()}))}},{key:"flushUpdateCallback",value:function(){this.pendingFlush=!1;var e=this.updateCallbacks.slice(0);this.updateCallbacks.length=0;for(var t=0;t<e.length;t++)e[t]()}}]),n}(Ye);qn=_([Object(w["d"])(),E(0,Object(w["c"])(S.TaroNodeImpl)),E(1,Object(w["c"])(S.TaroElementFactory)),E(2,Object(w["c"])(S.Hooks)),E(3,Object(w["c"])(S.TaroElementImpl)),E(4,Object(w["c"])(S.eventCenter)),T("design:paramtypes",[Function,Function,Function,Function,Function])],qn);var zn=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(){return Object(g["a"])(this,n),t.apply(this,arguments)}return Object(O["a"])(n,[{key:"value",get:function(){var e=this.props[Y];return null==e?"":e},set:function(e){this.setAttribute(Y,e)}},{key:"dispatchEvent",value:function(e){if(e.mpEvent){var t=e.mpEvent.detail.value;e.type===Z?this.props.value=t:e.type===Q&&(this.value=t)}return Object(d["a"])(Object(f["a"])(n.prototype),"dispatchEvent",this).call(this,e)}}]),n}(Ye),Wn=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(){return Object(g["a"])(this,n),t.apply(this,arguments)}return Object(O["a"])(n)}(Ye);function Vn(){return{index:0,column:0,line:0}}function Gn(e,t,n){for(var r=e.index,i=e.index=r+n,o=r;o<i;o++){var a=t.charAt(o);"\n"===a?(e.line++,e.column=0):e.column++}}function Jn(e,t,n){var r=n-e.index;return Gn(e,t,r)}function Kn(e){return{index:e.index,line:e.line,column:e.column}}var Yn=/\s/;function Qn(e){return Yn.test(e)}var Zn=/=/;function Xn(e){return Zn.test(e)}function er(e){var t=e.toLowerCase();return!!Dn.html.skipElements.has(t)}var tr=/[A-Za-z0-9]/;function nr(e,t){while(1){var n=e.indexOf("<",t);if(-1===n)return n;var r=e.charAt(n+1);if("/"===r||"!"===r||tr.test(r))return n;t=n+1}}function rr(e,t,n){if(!Qn(n.charAt(e)))return!1;for(var r=n.length,i=e-1;i>t;i--){var o=n.charAt(i);if(!Qn(o)){if(Xn(o))return!1;break}}for(var a=e+1;a<r;a++){var c=n.charAt(a);if(!Qn(c))return!Xn(c)}}var ir=function(){function e(t){Object(g["a"])(this,e),this.tokens=[],this.position=Vn(),this.html=t}return Object(O["a"])(e,[{key:"scan",value:function(){var e=this.html,t=this.position,n=e.length;while(t.index<n){var r=t.index;if(this.scanText(),t.index===r){var i=e.startsWith("!--",r+1);if(i)this.scanComment();else{var o=this.scanTag();er(o)&&this.scanSkipTag(o)}}}return this.tokens}},{key:"scanText",value:function(){var e="text",t=this.html,n=this.position,r=nr(t,n.index);if(r!==n.index){-1===r&&(r=t.length);var i=Kn(n),o=t.slice(n.index,r);Jn(n,t,r);var a=Kn(n);this.tokens.push({type:e,content:o,position:{start:i,end:a}})}}},{key:"scanComment",value:function(){var e="comment",t=this.html,n=this.position,r=Kn(n);Gn(n,t,4);var i=t.indexOf("--\x3e",n.index),o=i+3;-1===i&&(i=o=t.length);var a=t.slice(n.index,i);Jn(n,t,o),this.tokens.push({type:e,content:a,position:{start:r,end:Kn(n)}})}},{key:"scanTag",value:function(){this.scanTagStart();var e=this.scanTagName();return this.scanAttrs(),this.scanTagEnd(),e}},{key:"scanTagStart",value:function(){var e="tag-start",t=this.html,n=this.position,r=t.charAt(n.index+1),i="/"===r,o=Kn(n);Gn(n,t,i?2:1),this.tokens.push({type:e,close:i,position:{start:o}})}},{key:"scanTagEnd",value:function(){var e="tag-end",t=this.html,n=this.position,r=t.charAt(n.index),i="/"===r;Gn(n,t,i?2:1);var o=Kn(n);this.tokens.push({type:e,close:i,position:{end:o}})}},{key:"scanTagName",value:function(){var e="tag",t=this.html,n=this.position,r=t.length,i=n.index;while(i<r){var o=t.charAt(i),a=!(Qn(o)||"/"===o||">"===o);if(a)break;i++}var c=i+1;while(c<r){var u=t.charAt(c),s=!(Qn(u)||"/"===u||">"===u);if(!s)break;c++}Jn(n,t,c);var l=t.slice(i,c);return this.tokens.push({type:e,content:l}),l}},{key:"scanAttrs",value:function(){var e=this.html,t=this.position,n=this.tokens,r=t.index,i=null,o=r,a=[],c=e.length;while(r<c){var u=e.charAt(r);if(i){var s=u===i;s&&(i=null),r++}else{var l="/"===u||">"===u;if(l){r!==o&&a.push(e.slice(o,r));break}if(rr(r,o,e))r!==o&&a.push(e.slice(o,r)),o=r+1,r++;else{var d="'"===u||'"'===u;d?(i=u,r++):r++}}}Jn(t,e,r);for(var f=a.length,p="attribute",h=0;h<f;h++){var v=a[h],m=v.includes("=");if(m){var b=a[h+1];if(b&&b.startsWith("=")){if(b.length>1){var y=v+b;n.push({type:p,content:y}),h+=1;continue}var g=a[h+2];if(h+=1,g){var O=v+"="+g;n.push({type:p,content:O}),h+=1;continue}}}if(v.endsWith("=")){var j=a[h+1];if(j&&!j.includes("=")){var w=v+j;n.push({type:p,content:w}),h+=1;continue}var k=v.slice(0,-1);n.push({type:p,content:k})}else n.push({type:p,content:v})}}},{key:"scanSkipTag",value:function(e){var t=this.html,n=this.position,r=e.toLowerCase(),i=t.length;while(n.index<i){var o=t.indexOf("</",n.index);if(-1===o){this.scanText();break}Jn(n,t,o);var a=this.scanTag();if(r===a.toLowerCase())break}}}]),e}();function or(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return!!n[e.toLowerCase()]}:function(e){return!!n[e]}}var ar={img:"image",iframe:"web-view"},cr=Object.keys(k["internalComponents"]).map((function(e){return e.toLowerCase()})).join(","),ur=or(cr,!0),sr=or("a,i,abbr,iframe,select,acronym,slot,small,span,bdi,kbd,strong,big,map,sub,sup,br,mark,mark,meter,template,canvas,textarea,cite,object,time,code,output,u,data,picture,tt,datalist,var,dfn,del,q,em,s,embed,samp,b",!0),lr=or("address,fieldset,li,article,figcaption,main,aside,figure,nav,blockquote,footer,ol,details,form,p,dialog,h1,h2,h3,h4,h5,h6,pre,dd,header,section,div,hgroup,table,dl,hr,ul,dt",!0);function dr(e){var t=e.charAt(0),n=e.length-1,r='"'===t||"'"===t;return r&&t===e.charAt(n)?e.slice(1,n):e}var fr="{",pr="}",hr=".",vr="#",mr=">",br="~",yr="+",gr=function(){function e(){Object(g["a"])(this,e),this.styles=[]}return Object(O["a"])(e,[{key:"extractStyle",value:function(e){var t=this,n=/<style\s?[^>]*>((.|\n|\s)+?)<\/style>/g,r=e;return r=r.replace(n,(function(e,n){var r=n.trim();return t.stringToSelector(r),""})),r.trim()}},{key:"stringToSelector",value:function(e){var t=this,n=e.indexOf(fr),r=function(){var r=e.indexOf(pr),i=e.slice(0,n).trim(),o=e.slice(n+1,r);o=o.replace(/:(.*);/g,(function(e,t){var n=t.trim().replace(/ +/g,"+++");return":".concat(n,";")})),o=o.replace(/ /g,""),o=o.replace(/\+\+\+/g," "),/;$/.test(o)||(o+=";"),i.split(",").forEach((function(e){var n=t.parseSelector(e);t.styles.push({content:o,selectorList:n})})),e=e.slice(r+1),n=e.indexOf(fr)};while(n>-1)r()}},{key:"parseSelector",value:function(e){var t=e.trim().replace(/ *([>~+]) */g," $1").replace(/ +/g," ").split(" "),n=t.map((function(e){var t=e.charAt(0),n={isChild:t===mr,isGeneralSibling:t===br,isAdjacentSibling:t===yr,tag:null,id:null,class:[],attrs:[]};return e=e.replace(/^[>~+]/,""),e=e.replace(/\[(.+?)\]/g,(function(e,t){var r=t.split("="),i=Object(u["a"])(r,2),o=i[0],a=i[1],c=-1===t.indexOf("="),s={all:c,key:o,value:c?null:a};return n.attrs.push(s),""})),e=e.replace(/([.#][A-Za-z0-9-_]+)/g,(function(e,t){return t[0]===vr?n.id=t.substr(1):t[0]===hr&&n.class.push(t.substr(1)),""})),""!==e&&(n.tag=e),n}));return n}},{key:"matchStyle",value:function(e,t,n){var r=this,i=jr(this.styles).reduce((function(i,o,a){var c=o.content,u=o.selectorList,s=n[a],l=u[s],d=u[s+1];((null===d||void 0===d?void 0:d.isGeneralSibling)||(null===d||void 0===d?void 0:d.isAdjacentSibling))&&(l=d,s+=1,n[a]+=1);var f=r.matchCurrent(e,t,l);if(f&&l.isGeneralSibling){var p=Or(t);while(p){if(p.h5tagName&&r.matchCurrent(p.h5tagName,p,u[s-1])){f=!0;break}p=Or(p),f=!1}}if(f&&l.isAdjacentSibling){var h=Or(t);if(h&&h.h5tagName){var v=r.matchCurrent(h.h5tagName,h,u[s-1]);v||(f=!1)}else f=!1}if(f){if(s===u.length-1)return i+c;s<u.length-1&&(n[a]+=1)}else l.isChild&&s>0&&(n[a]-=1,r.matchCurrent(e,t,u[n[a]])&&(n[a]+=1));return i}),"");return i}},{key:"matchCurrent",value:function(e,t,n){if(n.tag&&n.tag!==e)return!1;if(n.id&&n.id!==t.id)return!1;if(n.class.length)for(var r=t.className.split(" "),i=0;i<n.class.length;i++){var o=n.class[i];if(-1===r.indexOf(o))return!1}if(n.attrs.length)for(var a=0;a<n.attrs.length;a++){var c=n.attrs[a],u=c.all,s=c.key,l=c.value;if(u&&!t.hasAttribute(s))return!1;var d=t.getAttribute(s);if(d!==dr(l||""))return!1}return!0}}]),e}();function Or(e){var t=e.parentElement;if(!t)return null;var n=e.previousSibling;return n?1===n.nodeType?n:Or(n):null}function jr(e){return e.sort((function(e,t){var n=wr(e.selectorList),r=wr(t.selectorList);if(n!==r)return n-r;var i=kr(e.selectorList),o=kr(t.selectorList);if(i!==o)return i-o;var a=_r(e.selectorList),c=_r(t.selectorList);return a-c}))}function wr(e){return e.reduce((function(e,t){return e+(t.id?1:0)}),0)}function kr(e){return e.reduce((function(e,t){return e+t.class.length+t.attrs.length}),0)}function _r(e){return e.reduce((function(e,t){return e+(t.tag?1:0)}),0)}var Er={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]};function Tr(e,t){var n=Er[e];if(n){var r=t.length-1;while(r>=0){var i=t[r].tagName;if(i===e)break;if(n&&n.includes(i))return!0;r--}}return!1}function Sr(e){return Dn.html.renderHTMLTag?e:ar[e]?ar[e]:ur(e)?e:lr(e)?"view":sr(e)?"text":"view"}function Cr(e){var t="=",n=e.indexOf(t);if(-1===n)return[e];var r=e.slice(0,n).trim(),i=e.slice(n+t.length).trim();return[r,i]}function Pr(e,t,n,r){return e.filter((function(e){return"comment"!==e.type&&("text"!==e.type||""!==e.content)})).map((function(e){if("text"===e.type){var i=t.createTextNode(e.content);return Object(k["isFunction"])(Dn.html.transformText)&&(i=Dn.html.transformText(i,e)),null===r||void 0===r||r.appendChild(i),i}var o=t.createElement(Sr(e.tagName));o.h5tagName=e.tagName,null===r||void 0===r||r.appendChild(o),Dn.html.renderHTMLTag||(o.className="h5-".concat(e.tagName));for(var a=0;a<e.attributes.length;a++){var c=e.attributes[a],s=Cr(c),l=Object(u["a"])(s,2),d=l[0],f=l[1];if("class"===d)o.className+=" "+dr(f);else{if("o"===d[0]&&"n"===d[1])continue;o.setAttribute(d,null==f||dr(f))}}var p=n.styleTagParser,h=n.descendantList,v=h.slice(),m=p.matchStyle(e.tagName,o,v);return o.setAttribute("style",m+o.style.cssText),Pr(e.children,t,{styleTagParser:p,descendantList:v},o),Object(k["isFunction"])(Dn.html.transformElement)?Dn.html.transformElement(o,e):o}))}function Ar(e,t){var n=new gr;e=n.extractStyle(e);var r=new ir(e).scan(),i={tagName:"",children:[],type:"element",attributes:[]},o={tokens:r,options:Dn,cursor:0,stack:[i]};return xr(o),Pr(i.children,t,{styleTagParser:n,descendantList:Array(n.styles.length).fill(0)})}function xr(e){var t=e.tokens,n=e.stack,r=e.cursor,i=t.length,o=n[n.length-1].children;while(r<i){var a=t[r];if("tag-start"===a.type){var c=t[++r];r++;var u=c.content.toLowerCase();if(a.close){var s=n.length,l=!1;while(--s>-1)if(n[s].tagName===u){l=!0;break}while(r<i){var d=t[r];if("tag-end"!==d.type)break;r++}if(l){n.splice(s);break}}else{var f=Dn.html.closingElements.has(u),p=f;if(p&&(p=!Tr(u,n)),p){var h=n.length-1;while(h>0){if(u===n[h].tagName){n.splice(h);var v=h-1;o=n[v].children;break}h-=1}}var m=[],b=void 0;while(r<i){if(b=t[r],"tag-end"===b.type)break;m.push(b.content),r++}r++;var y=[],g={type:"element",tagName:c.content,attributes:m,children:y};o.push(g);var O=!(b.close||Dn.html.voidElements.has(u));if(O){n.push({tagName:u,children:y});var j={tokens:t,cursor:r,stack:n};xr(j),r=j.cursor}}}else o.push(a),r++}e.cursor=r}function Ir(e,t,n){while(e.firstChild)e.removeChild(e.firstChild);for(var r=Ar(t,n()),i=0;i<r.length;i++)e.appendChild(r[i])}function Nr(e,t,n){for(var r,i,o=Ar(t,n()),a=0;a<o.length;a++){var c=o[a];switch(e){case"beforebegin":null===(r=this.parentNode)||void 0===r||r.insertBefore(c,this);break;case"afterbegin":this.hasChildNodes()?this.insertBefore(c,this.childNodes[0]):this.appendChild(c);break;case"beforeend":this.appendChild(c);break;case"afterend":null===(i=this.parentNode)||void 0===i||i.appendChild(c);break}}}function Br(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t();for(var o in 1===e.nodeType?n=i.createElement(e.nodeName):3===e.nodeType&&(n=i.createTextNode("")),this){var a=this[o];[G,J].includes(o)&&Object(j["a"])(a)===K?n[o]=Object.assign({},a):"_value"===o?n[o]=a:o===H&&(n.style._value=Object.assign({},a._value),n.style._usedStyleProp=new Set(Array.from(a._usedStyleProp)))}return r&&(n.childNodes=e.childNodes.map((function(e){return e.cloneNode(!0)}))),n}Dn.html={skipElements:new Set(["style","script"]),voidElements:new Set(["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),closingElements:new Set(["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"]),renderHTMLTag:!1};var Fr=function(){function e(t){Object(g["a"])(this,e),this.getDoc=function(){return t(Oe.Document)()}}return Object(O["a"])(e,[{key:"bind",value:function(e){var t=this.getDoc;Rr(e,t),Mr(e,t),e.cloneNode=Br.bind(e,e,t)}}]),e}();function Rr(e,t){Object.defineProperty(e,"innerHTML",{configurable:!0,enumerable:!0,set:function(n){Ir.call(e,e,n,t)},get:function(){return""}})}function Mr(e,t){e.insertAdjacentHTML=function(n,r){Nr.call(e,n,r,t)}}function Lr(e){if("template"===e.nodeName){var t=e._getElement(Oe.Element)(L);return t.childNodes=e.childNodes,e.childNodes=[t],t.parentNode=e,t.childNodes.forEach((function(e){e.parentNode=t})),t}}Fr=_([Object(w["d"])(),E(0,Object(w["c"])(S.TaroElementFactory)),T("design:paramtypes",[Function])],Fr);var Dr=function(){function e(){Object(g["a"])(this,e)}return Object(O["a"])(e,[{key:"bind",value:function(e){Ur(e)}}]),e}();function Ur(e){Object.defineProperty(e,"content",{configurable:!0,enumerable:!0,get:function(){return Lr(e)}})}Dr=_([Object(w["d"])()],Dr);var $r=function(e){Object(m["a"])(n,e);var t=Object(b["a"])(n);function n(e,r,i,o,a){var c;return Object(g["a"])(this,n),c=t.call(this,e,r,i,o),c._getText=a,c.nodeType=9,c.nodeName=M,c}return Object(O["a"])(n,[{key:"createElement",value:function(e){return e===x?this._getElement(Oe.RootElement)():k["controlledComponent"].has(e)?this._getElement(Oe.FormElement)(e):this._getElement(Oe.Element)(e)}},{key:"createElementNS",value:function(e,t){return this.createElement(t)}},{key:"createTextNode",value:function(e){return this._getText(e)}},{key:"getElementById",value:function(e){var t=je.get(e);return Object(k["isUndefined"])(t)?null:t}},{key:"querySelector",value:function(e){return/^#/.test(e)?this.getElementById(e.slice(1)):null}},{key:"querySelectorAll",value:function(){return[]}},{key:"createComment",value:function(){var e=this._getText("");return e.nodeName=le,e}}]),n}(Ye);$r=_([Object(w["d"])(),E(0,Object(w["c"])(S.TaroNodeImpl)),E(1,Object(w["c"])(S.TaroElementFactory)),E(2,Object(w["c"])(S.Hooks)),E(3,Object(w["c"])(S.TaroElementImpl)),E(4,Object(w["c"])(S.TaroTextFactory)),T("design:paramtypes",[Function,Function,Function,Function,Function])],$r);var Hr=function(){function e(){Object(g["a"])(this,e)}return Object(O["a"])(e,[{key:"modifyMpEvent",value:function(e){var t;null===(t=this.modifyMpEventImpls)||void 0===t||t.forEach((function(t){return t(e)}))}},{key:"modifyTaroEvent",value:function(e,t){var n;null===(n=this.modifyTaroEventImpls)||void 0===n||n.forEach((function(n){return n(e,t)}))}},{key:"initNativeApi",value:function(e){var t;null===(t=this.initNativeApiImpls)||void 0===t||t.forEach((function(t){return t(e)}))}},{key:"patchElement",value:function(e){var t;null===(t=this.patchElementImpls)||void 0===t||t.forEach((function(t){return t(e)}))}}]),e}();_([Object(w["c"])(S.getLifecycle),T("design:type",Function)],Hr.prototype,"getLifecycle",void 0),_([Object(w["c"])(S.getPathIndex),T("design:type",Function)],Hr.prototype,"getPathIndex",void 0),_([Object(w["c"])(S.getEventCenter),T("design:type",Function)],Hr.prototype,"getEventCenter",void 0),_([Object(w["c"])(S.isBubbleEvents),T("design:type",Function)],Hr.prototype,"isBubbleEvents",void 0),_([Object(w["c"])(S.getSpecialNodes),T("design:type",Function)],Hr.prototype,"getSpecialNodes",void 0),_([Object(w["c"])(S.onRemoveAttribute),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"onRemoveAttribute",void 0),_([Object(w["c"])(S.batchedEventUpdates),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"batchedEventUpdates",void 0),_([Object(w["c"])(S.mergePageInstance),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"mergePageInstance",void 0),_([Object(w["c"])(S.createPullDownComponent),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"createPullDownComponent",void 0),_([Object(w["c"])(S.getDOMNode),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"getDOMNode",void 0),_([Object(w["c"])(S.modifyHydrateData),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"modifyHydrateData",void 0),_([Object(w["c"])(S.modifySetAttrPayload),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"modifySetAttrPayload",void 0),_([Object(w["c"])(S.modifyRmAttrPayload),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"modifyRmAttrPayload",void 0),_([Object(w["c"])(S.onAddEvent),Object(w["f"])(),T("design:type",Function)],Hr.prototype,"onAddEvent",void 0),_([Object(w["e"])(S.modifyMpEvent),Object(w["f"])(),T("design:type",Array)],Hr.prototype,"modifyMpEventImpls",void 0),_([Object(w["e"])(S.modifyTaroEvent),Object(w["f"])(),T("design:type",Array)],Hr.prototype,"modifyTaroEventImpls",void 0),_([Object(w["e"])(S.initNativeApi),Object(w["f"])(),T("design:type",Array)],Hr.prototype,"initNativeApiImpls",void 0),_([Object(w["e"])(S.patchElement),Object(w["f"])(),T("design:type",Array)],Hr.prototype,"patchElementImpls",void 0),Hr=_([Object(w["d"])()],Hr);var qr=new Set(["touchstart","touchmove","touchcancel","touchend","touchforcechange","tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend"]),zr=function(e,t){return e[t]},Wr=function(e){return"[".concat(e,"]")},Vr=function(e){return new e},Gr=function(e){return qr.has(e)},Jr=function(){return["view","text","image"]},Kr=new w["b"]((function(e){e(S.getLifecycle).toFunction(zr),e(S.getPathIndex).toFunction(Wr),e(S.getEventCenter).toFunction(Vr),e(S.isBubbleEvents).toFunction(Gr),e(S.getSpecialNodes).toFunction(Jr)}));function Yr(e){var t=Object.keys(k["defaultReconciler"]);t.forEach((function(t){if(t in S){var n=S[t],r=k["defaultReconciler"][t];Object(k["isArray"])(r)?r.forEach((function(t){return e.bind(n).toFunction(t)})):e.isBound(n)?e.rebind(n).toFunction(r):e.bind(n).toFunction(r)}}))}var Qr,Zr,Xr,ei=new w["a"];ei.bind(S.TaroElement).to(Ye).whenTargetNamed(Oe.Element),ei.bind(S.TaroElement).to($r).inSingletonScope().whenTargetNamed(Oe.Document),ei.bind(S.TaroElement).to(qn).whenTargetNamed(Oe.RootElement),ei.bind(S.TaroElement).to(zn).whenTargetNamed(Oe.FormElement),ei.bind(S.TaroElementFactory).toFactory((function(e){return function(t){return function(n){var r=e.container.getNamed(S.TaroElement,t);return n&&(r.nodeName=n),r.tagName=r.nodeName.toUpperCase(),r}}})),ei.bind(S.TaroText).to(_e),ei.bind(S.TaroTextFactory).toFactory((function(e){return function(t){var n=e.container.get(S.TaroText);return n._value=t,n}})),ei.bind(S.TaroNodeImpl).to(Fr).inSingletonScope(),ei.bind(S.TaroElementImpl).to(Dr).inSingletonScope(),ei.bind(S.Hooks).to(Hr).inSingletonScope(),ei.load(Kr),Yr(ei),Qr=ei.get(S.Hooks),Zr=ei.get(S.TaroElementFactory),Xr=Zr(Oe.Document)();var ti=function(){function e(t,n,r){Object(g["a"])(this,e),this._stop=!1,this._end=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this.type=t.toLowerCase(),this.mpEvent=r,this.bubbles=Boolean(n&&n.bubbles),this.cancelable=Boolean(n&&n.cancelable)}return Object(O["a"])(e,[{key:"stopPropagation",value:function(){this._stop=!0}},{key:"stopImmediatePropagation",value:function(){this._end=this._stop=!0}},{key:"preventDefault",value:function(){this.defaultPrevented=!0}},{key:"target",get:function(){var e,t,n,r=Xr.getElementById(null===(e=this.mpEvent)||void 0===e?void 0:e.target.id);return Object.assign(Object.assign(Object.assign({},null===(t=this.mpEvent)||void 0===t?void 0:t.target),null===(n=this.mpEvent)||void 0===n?void 0:n.detail),{dataset:null!==r?r.dataset:k["EMPTY_OBJ"]})}},{key:"currentTarget",get:function(){var e,t,n,r=Xr.getElementById(null===(e=this.mpEvent)||void 0===e?void 0:e.currentTarget.id);return null===r?this.target:Object.assign(Object.assign(Object.assign({},null===(t=this.mpEvent)||void 0===t?void 0:t.currentTarget),null===(n=this.mpEvent)||void 0===n?void 0:n.detail),{dataset:r.dataset})}}]),e}();function ni(e,t){if("string"===typeof e)return new ti(e,{bubbles:!0,cancelable:!0});var n=new ti(e.type,{bubbles:!0,cancelable:!0},e);for(var r in e)r!==te&&r!==ee&&r!==ne&&r!==ie&&(n[r]=e[r]);return n.type===re&&(null===t||void 0===t?void 0:t.nodeName)===Q&&(n[oe]=13),n}var ri={};function ii(e){var t;null===(t=Qr.modifyMpEvent)||void 0===t||t.call(Qr,e),null==e.currentTarget&&(e.currentTarget=e.target);var n=Xr.getElementById(e.currentTarget.id);if(n){var r=function(){var t,r=ni(e,n);null===(t=Qr.modifyTaroEvent)||void 0===t||t.call(Qr,r,n),n.dispatchEvent(r)};if("function"===typeof Qr.batchedEventUpdates){var i=e.type;!Qr.isBubbleEvents(i)||!me(n,i)||i===ae&&n.props.catchMove?Qr.batchedEventUpdates((function(){ri[i]&&(ri[i].forEach((function(e){return e()})),delete ri[i]),r()})):(ri[i]||(ri[i]=[])).push(r)}else r()}}var oi="undefined"!==typeof i&&!!i.scripts,ai=oi?i:k["EMPTY_OBJ"],ci=oi?o:k["EMPTY_OBJ"];function ui(){var e=ei.get(S.TaroElementFactory),t=e(Oe.Document)(),n=t.createElement.bind(t),r=n(I),i=n(N),o=n(B),a=n(F);a.id=F;var c=n(R);return t.appendChild(r),r.appendChild(i),r.appendChild(o),o.appendChild(c),c.appendChild(a),t.documentElement=r,t.head=i,t.body=o,t.createEvent=ni,t}var si,li=oi?ai:ui(),di="Macintosh",fi="Intel Mac OS X 10_14_5",pi="AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",hi=oi?ci.navigator:{appCodeName:"Mozilla",appName:"Netscape",appVersion:"5.0 ("+di+"; "+fi+") "+pi,cookieEnabled:!0,mimeTypes:[],onLine:!0,platform:"MacIntel",plugins:[],product:"Taro",productSub:"20030107",userAgent:"Mozilla/5.0 ("+di+"; "+fi+") "+pi,vendor:"Joyent",vendorSub:""};(function(){var e;"undefined"!==typeof performance&&null!==performance&&performance.now?si=function(){return performance.now()}:Date.now?(si=function(){return Date.now()-e},e=Date.now()):(si=function(){return(new Date).getTime()-e},e=(new Date).getTime())})();var vi=0,mi="undefined"!==typeof a&&null!==a?a:function(e){var t=si(),n=Math.max(vi+16,t);return setTimeout((function(){e(vi=n)}),n-t)},bi="undefined"!==typeof c&&null!==c?c:function(e){clearTimeout(e)};function yi(e){return e.style}var gi=oi?ci:{navigator:hi,document:li};if(!oi){var Oi=[].concat(Object(l["a"])(Object.getOwnPropertyNames(r||ci)),Object(l["a"])(Object.getOwnPropertySymbols(r||ci)));Oi.forEach((function(e){"atob"!==e&&(Object.prototype.hasOwnProperty.call(gi,e)||(gi[e]=r[e]))})),li.defaultView=gi}gi.requestAnimationFrame=mi,gi.cancelAnimationFrame=bi,gi.getComputedStyle=yi,gi.addEventListener=function(){},gi.removeEventListener=function(){},ce in gi||(gi.Date=Date),gi.setTimeout=function(e,t){setTimeout(e,t)},gi.clearTimeout=function(e){clearTimeout(e)};var ji={app:null,router:null,page:null},wi=function(){return ji},ki=function(){function e(t){Object(g["a"])(this,e),"undefined"!==typeof t&&t.callbacks?this.callbacks=t.callbacks:this.callbacks={}}return Object(O["a"])(e,[{key:"on",value:function(t,n,r){var i,o,a,c;if(!n)return this;t=t.split(e.eventSplitter),this.callbacks||(this.callbacks={});var u=this.callbacks;while(i=t.shift())c=u[i],o=c?c.tail:{},o.next=a={},o.context=r,o.callback=n,u[i]={tail:a,next:c?c.next:o};return this}},{key:"once",value:function(e,t,n){var r=this,i=function i(){for(var o=arguments.length,a=new Array(o),c=0;c<o;c++)a[c]=arguments[c];t.apply(r,a),r.off(e,i,n)};return this.on(e,i,n),this}},{key:"off",value:function(t,n,r){var i,o,a,c,u,s;if(!(o=this.callbacks))return this;if(!(t||n||r))return delete this.callbacks,this;t=t?t.split(e.eventSplitter):Object.keys(o);while(i=t.shift())if(a=o[i],delete o[i],a&&(n||r)){c=a.tail;while((a=a.next)!==c)u=a.callback,s=a.context,(n&&u!==n||r&&s!==r)&&this.on(i,u,s)}return this}},{key:"trigger",value:function(t){var n,r,i,o;if(!(i=this.callbacks))return this;t=t.split(e.eventSplitter);var a=[].slice.call(arguments,1);while(n=t.shift())if(r=i[n]){o=r.tail;while((r=r.next)!==o)r.callback.apply(r.context||this,a)}return this}}]),e}();ki.eventSplitter=/\s+/;var _i=ei.get(S.Hooks),Ei=_i.getEventCenter(ki);ei.bind(S.eventCenter).toConstantValue(Ei);var Ti=new Map,Si=de(),Ci=ei.get(S.Hooks);function Pi(e,t){var n;null===(n=Ci.mergePageInstance)||void 0===n||n.call(Ci,Ti.get(t),e),Ti.set(t,e)}function Ai(e){return Ti.get(e)}function xi(e){return null==e?"":"/"===e.charAt(0)?e:"/"+e}function Ii(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=Ti.get(e);if(null!=o){var a=Ci.getLifecycle(o,t);if(Object(k["isArray"])(a)){var c=a.map((function(e){return e.apply(o,r)}));return c[0]}if(Object(k["isFunction"])(a))return a.apply(o,r)}}function Ni(e){if(null==e)return"";var t=Object.keys(e).map((function(t){return t+"="+e[t]})).join("&");return""===t?t:"?"+t}function Bi(e,t){var n=e;return oi||(n=e+Ni(t)),n}function Fi(e){return e+".onReady"}function Ri(e){return e+".onShow"}function Mi(e){return e+".onHide"}function Li(e,t,n,r){var i,o,a,c,u=null!==t&&void 0!==t?t:"taro_page_".concat(Si()),s=null,l=!1,d=[],f={onLoad:function(t,n){var i=this;c=new Promise((function(e){a=e})),$n.start(A),ji.page=this,this.config=r||{},t.$taroTimestamp=Date.now(),this.$taroPath=Bi(u,t),null==this.$taroParams&&(this.$taroParams=Object.assign({},t));var o=oi?this.$taroPath:this.route||this.__route__;ji.router={params:this.$taroParams,path:xi(o),onReady:Fi(u),onShow:Ri(u),onHide:Mi(u)};var f=function(){ji.app.mount(e,i.$taroPath,(function(){s=li.getElementById(i.$taroPath),Object(k["ensure"])(null!==s,"\u6ca1\u6709\u627e\u5230\u9875\u9762\u5b9e\u4f8b\u3002"),Ii(i.$taroPath,"onLoad",i.$taroParams),a(),oi?Object(k["isFunction"])(n)&&n():(s.ctx=i,s.performUpdate(!0,n))}))};l?d.push(f):f()},onReady:function(){mi((function(){Ei.trigger(Fi(u))})),Ii(this.$taroPath,"onReady"),this.onReady.called=!0},onUnload:function(){var e=this;l=!0,ji.app.unmount(this.$taroPath,(function(){l=!1,Ti.delete(e.$taroPath),s&&(s.ctx=null),d.length&&(d.forEach((function(e){return e()})),d=[])}))},onShow:function(){var e=this;c.then((function(){ji.page=e,e.config=r||{};var t=oi?e.$taroPath:e.route||e.__route__;ji.router={params:e.$taroParams,path:xi(t),onReady:Fi(u),onShow:Ri(u),onHide:Mi(u)},mi((function(){Ei.trigger(Ri(u))})),Ii(e.$taroPath,"onShow")}))},onHide:function(){ji.page=null,ji.router=null,Ii(this.$taroPath,"onHide"),Ei.trigger(Mi(u))},onPullDownRefresh:function(){return Ii(this.$taroPath,"onPullDownRefresh")},onReachBottom:function(){return Ii(this.$taroPath,"onReachBottom")},onPageScroll:function(e){return Ii(this.$taroPath,"onPageScroll",e)},onResize:function(e){return Ii(this.$taroPath,"onResize",e)},onTabItemTap:function(e){return Ii(this.$taroPath,"onTabItemTap",e)},onTitleClick:function(){return Ii(this.$taroPath,"onTitleClick")},onOptionMenuClick:function(){return Ii(this.$taroPath,"onOptionMenuClick")},onPopMenuClick:function(){return Ii(this.$taroPath,"onPopMenuClick")},onPullIntercept:function(){return Ii(this.$taroPath,"onPullIntercept")},onAddToFavorites:function(){return Ii(this.$taroPath,"onAddToFavorites")}};return(e.onShareAppMessage||(null===(i=e.prototype)||void 0===i?void 0:i.onShareAppMessage)||e.enableShareAppMessage)&&(f.onShareAppMessage=function(e){var t=null===e||void 0===e?void 0:e.target;if(null!=t){var n=t.id,r=li.getElementById(n);null!=r&&(e.target.dataset=r.dataset)}return Ii(this.$taroPath,"onShareAppMessage",e)}),(e.onShareTimeline||(null===(o=e.prototype)||void 0===o?void 0:o.onShareTimeline)||e.enableShareTimeline)&&(f.onShareTimeline=function(){return Ii(this.$taroPath,"onShareTimeline")}),f.eh=ii,Object(k["isUndefined"])(n)||(f.data=n),oi&&(f.path=u),f}function Di(e,t,n){var r,i,o,a=null!==t&&void 0!==t?t:"taro_component_".concat(Si()),c=null,u={attached:function(){var t,n=this;$n.start(A);var r=Bi(a,{id:(null===(t=this.getPageId)||void 0===t?void 0:t.call(this))||Si()});ji.app.mount(e,r,(function(){c=li.getElementById(r),Object(k["ensure"])(null!==c,"\u6ca1\u6709\u627e\u5230\u7ec4\u4ef6\u5b9e\u4f8b\u3002"),Ii(r,"onLoad"),oi||(c.ctx=n,c.performUpdate(!0))}))},detached:function(){var e=Bi(a,{id:this.getPageId()});ji.app.unmount(e,(function(){Ti.delete(e),c&&(c.ctx=null)}))},methods:{eh:ii}};return Object(k["isUndefined"])(n)||(u.data=n),u["options"]=null!==(r=null===e||void 0===e?void 0:e["options"])&&void 0!==r?r:k["EMPTY_OBJ"],u["externalClasses"]=null!==(i=null===e||void 0===e?void 0:e["externalClasses"])&&void 0!==i?i:k["EMPTY_OBJ"],u["behaviors"]=null!==(o=null===e||void 0===e?void 0:e["behaviors"])&&void 0!==o?o:k["EMPTY_OBJ"],u}function Ui(e){return{properties:{i:{type:Object,value:Object(y["a"])({},"nn","view")},l:{type:String,value:""}},options:{addGlobalClass:!0,virtualHost:"custom-wrapper"!==e},methods:{eh:ii}}}var $i=ei.get(S.Hooks);function Hi(e,t){var n;return Object(k["isFunction"])(t.render)||!!(null===(n=t.prototype)||void 0===n?void 0:n.isReactComponent)||t.prototype instanceof e.Component}var qi,zi=k["EMPTY_OBJ"],Wi=k["EMPTY_OBJ"];function Vi(e,t){var n=e.createElement;return function(r){var i=Hi(e,r),o=function(e){return e&&Pi(e,t)},a=i?{ref:o}:{forwardedRef:o,reactReduxForwardedRef:o};return Wi===k["EMPTY_OBJ"]&&(Wi=e.createContext("")),function(e){Object(m["a"])(o,e);var i=Object(b["a"])(o);function o(){var e;return Object(g["a"])(this,o),e=i.apply(this,arguments),e.state={hasError:!1},e}return Object(O["a"])(o,[{key:"componentDidCatch",value:function(e,t){}},{key:"render",value:function(){var e=this.state.hasError?[]:n(Wi.Provider,{value:t},n(r,Object.assign(Object.assign({},this.props),a)));return oi?n("div",{id:t,className:"taro_page"},e):n("root",{id:t},e)}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0}}}]),o}(e.Component)}}function Gi(){var e=function(e,t){return t=t.replace(/^on(Show|Hide)$/,"componentDid$1"),e[t]},t=function(e){e.type=e.type.replace(/-/g,"")},n=function(e){qi.unstable_batchedUpdates(e)},r=function(e,t){e&&t&&("constructor"in e||Object.keys(e).forEach((function(n){Object(k["isFunction"])(t[n])?t[n]=[t[n]].concat(Object(l["a"])(e[n])):t[n]=[].concat(Object(l["a"])(t[n]||[]),Object(l["a"])(e[n]))})))};$i.getLifecycle=e,$i.modifyMpEvent=t,$i.batchedEventUpdates=n,$i.mergePageInstance=r}var Ji=de();function Ki(e,t,n,r){zi=t,qi=n,Object(k["ensure"])(!!qi,"\u6784\u5efa React/Nerv \u9879\u76ee\u8bf7\u628a process.env.FRAMEWORK \u8bbe\u7f6e\u4e3a 'react'/'nerv' ");var i=zi.createRef(),o=Hi(zi,e);Gi();var a,c=function(t){Object(m["a"])(r,t);var n=Object(b["a"])(r);function r(){var e;return Object(g["a"])(this,r),e=n.apply(this,arguments),e.pages=[],e.elements=[],e}return Object(O["a"])(r,[{key:"mount",value:function(e,t,n){var r=t+Ji(),i=function(){return zi.createElement(e,{key:r,tid:t})};this.pages.push(i),this.forceUpdate(n)}},{key:"unmount",value:function(e,t){for(var n=0;n<this.elements.length;n++){var r=this.elements[n];if(r.props.tid===e){this.elements.splice(n,1);break}}this.forceUpdate(t)}},{key:"render",value:function(){while(this.pages.length>0){var t=this.pages.pop();this.elements.push(t())}var n=null;return o&&(n={ref:i}),zi.createElement(e,n,oi?zi.createElement("div",null,this.elements.slice()):this.elements.slice())}}]),r}(zi.Component);oi||(a=qi.render(zi.createElement(c),li.getElementById("app")));var u=Object.create({render:function(e){a.forceUpdate(e)},mount:function(e,t,n){var r=Vi(zi,t)(e);a.mount(r,t,n)},unmount:function(e,t){a.unmount(e,t)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:r},onLaunch:{enumerable:!0,writable:!0,value:function(e){var t=this;ji.router=Object.assign({params:null===e||void 0===e?void 0:e.query},e),oi&&(a=qi.render(zi.createElement(c),li.getElementById("app")));var n=i.current;if(null===n||void 0===n?void 0:n.taroGlobalData){var r=n.taroGlobalData,o=Object.keys(r),u=Object.getOwnPropertyDescriptors(r);o.forEach((function(e){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})})),Object.defineProperties(this,u)}this.$app=n,null!=n&&Object(k["isFunction"])(n.onLaunch)&&n.onLaunch(e)}},onShow:{enumerable:!0,writable:!0,value:function(e){var t=i.current;ji.router=Object.assign({params:null===e||void 0===e?void 0:e.query},e),null!=t&&Object(k["isFunction"])(t.componentDidShow)&&t.componentDidShow(e),s("onShow")}},onHide:{enumerable:!0,writable:!0,value:function(e){var t=i.current;null!=t&&Object(k["isFunction"])(t.componentDidHide)&&t.componentDidHide(e),s("onHide")}},onPageNotFound:{enumerable:!0,writable:!0,value:function(e){var t=i.current;null!=t&&Object(k["isFunction"])(t.onPageNotFound)&&t.onPageNotFound(e)}}});function s(e){var t=Ai(C);if(t){var n=i.current,r=$i.getLifecycle(t,e);Array.isArray(r)&&r.forEach((function(e){return e.apply(n)}))}}return ji.app=u,ji.app}var Yi,Qi=de();function Zi(e,t){var n=function(t){Object(m["a"])(r,t);var n=Object(b["a"])(r);function r(){var t;return Object(g["a"])(this,r),t=n.apply(this,arguments),t.root=e.createRef(),t.ctx=t.props.getCtx(),t}return Object(O["a"])(r,[{key:"componentDidMount",value:function(){this.ctx.component=this;var e=this.root.current;e.ctx=this.ctx,e.performUpdate(!0)}},{key:"render",value:function(){return e.createElement("root",{ref:this.root},this.props.renderComponent(this.ctx))}}]),r}(e.Component),r=function(t){Object(m["a"])(i,t);var r=Object(b["a"])(i);function i(){var e;return Object(g["a"])(this,i),e=r.apply(this,arguments),e.state={components:[]},e}return Object(O["a"])(i,[{key:"componentDidMount",value:function(){ji.app=this}},{key:"mount",value:function(t,r,i){var o=Hi(e,t),a=function(e){return e&&Pi(e,r)},c=o?{ref:a}:{forwardedRef:a,reactReduxForwardedRef:a},u={compId:r,element:e.createElement(n,{key:r,getCtx:i,renderComponent:function(n){return e.createElement(t,Object.assign(Object.assign({},(n.data||(n.data={})).props),c))}})};this.setState({components:[].concat(Object(l["a"])(this.state.components),[u])})}},{key:"unmount",value:function(e){var t=this.state.components,n=t.findIndex((function(t){return t.compId===e})),r=[].concat(Object(l["a"])(t.slice(0,n)),Object(l["a"])(t.slice(n+1)));this.setState({components:r})}},{key:"render",value:function(){var e=this.state.components;return e.map((function(e){var t=e.element;return t}))}}]),i}(e.Component);Gi();var i=li.getElementById("app");t.render(e.createElement(r,{}),i)}function Xi(e,t,n,r){zi=t,qi=n,Gi();var i={properties:{props:{type:null,value:null,observer:function(e,t){t&&this.component.forceUpdate()}}},created:function(){ji.app||Zi(zi,qi)},attached:function(){var t=this;o(),this.compId=Qi(),this.config=r,ji.app.mount(e,this.compId,(function(){return t}))},ready:function(){Ii(this.compId,"onReady")},detached:function(){ji.app.unmount(this.compId)},pageLifetimes:{show:function(){Ii(this.compId,"onShow")},hide:function(){Ii(this.compId,"onHide")}},methods:{eh:ii}};function o(){var e=getCurrentPages(),t=e[e.length-1];if(ji.page!==t){ji.page=t;var n=t.route||t.__route__,r={params:t.options||{},path:xi(n),onReady:"",onHide:"",onShow:""};ji.router=r,t.options||Object.defineProperty(t,"options",{enumerable:!0,configurable:!0,get:function(){return this._optionsValue},set:function(e){r.params=e,this._optionsValue=e}})}}return i}function eo(e,t){return function(n){var r=e.extend({props:{tid:String},mixins:[n,{created:function(){Pi(this,t)}}]}),i={render:function(e){return e(oi?"div":"root",{attrs:{id:t,class:oi?"taro_page":""}},[e(r,{props:{tid:t}})])}};return i}}function to(){var e=ei.get(S.Hooks),t=function(e,t){var n=e.props;if(!n.hasOwnProperty(t)||Object(k["isBoolean"])(n[t]))return e.setAttribute(t,!1),!0},n=function(e,t){return e.$options[t]};e.onRemoveAttribute=t,e.getLifecycle=n}function no(e,t,n){Yi=t,Object(k["ensure"])(!!Yi,"\u6784\u5efa Vue \u9879\u76ee\u8bf7\u628a process.env.FRAMEWORK \u8bbe\u7f6e\u4e3a 'vue'"),to(),Yi.config.getTagNamespace=k["noop"];var r,i=[],o=[],a=new Yi({render:function(t){while(o.length>0){var n=o.pop();i.push(n(t))}return t(e,{ref:"app"},i.slice())},methods:{mount:function(e,t,n){o.push((function(n){return n(e,{key:t})})),this.updateSync(n)},updateSync:function(e){this._update(this._render(),!1),this.$children.forEach((function(e){return e._update(e._render(),!1)})),e()},unmount:function(e,t){for(var n=0;n<i.length;n++){var r=i[n];if(r.key===e){i.splice(n,1);break}}this.updateSync(t)}}});oi||a.$mount(li.getElementById("app"));var c=Object.create({mount:function(e,t,n){var r=eo(Yi,t)(e);a.mount(r,t,n)},unmount:function(e,t){a.unmount(e,t)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:n},onLaunch:{writable:!0,enumerable:!0,value:function(e){ji.router=Object.assign({params:null===e||void 0===e?void 0:e.query},e),oi&&a.$mount(li.getElementById("app")),r=a.$refs.app,null!=r&&Object(k["isFunction"])(r.$options.onLaunch)&&r.$options.onLaunch.call(r,e)}},onShow:{writable:!0,enumerable:!0,value:function(e){ji.router=Object.assign({params:null===e||void 0===e?void 0:e.query},e),null!=r&&Object(k["isFunction"])(r.$options.onShow)&&r.$options.onShow.call(r,e)}},onHide:{writable:!0,enumerable:!0,value:function(e){null!=r&&Object(k["isFunction"])(r.$options.onHide)&&r.$options.onHide.call(r,e)}}});return ji.app=c,ji.app}function ro(e,t){return function(n){var r,i={props:{tid:String},created:function(){Pi(this,t),this.$nextTick((function(){Ii(t,"onShow")}))}};if(Object(k["isArray"])(n.mixins)){var o=n.mixins,a=o.length-1;(null===(r=o[a].props)||void 0===r?void 0:r.tid)?n.mixins[a]=i:n.mixins.push(i)}else n.mixins=[i];return e(oi?"div":"root",{key:t,id:t,class:oi?"taro_page":""},[e(Object.assign({},n),{tid:t})])}}function io(){var e=ei.get(S.Hooks),t=function(e,t){return e.$options[t]},n=function(e){e.type=e.type.replace(/-/g,"")};e.getLifecycle=t,e.modifyMpEvent=n}function oo(e,t,n){var r,i=[];Object(k["ensure"])(!Object(k["isFunction"])(e._component),"\u5165\u53e3\u7ec4\u4ef6\u4e0d\u652f\u6301\u4f7f\u7528\u51fd\u6570\u5f0f\u7ec4\u4ef6"),io(),e._component.render=function(){return i.slice()},oi||(r=e.mount("#app"));var o=Object.create({mount:function(e,n,r){var o=ro(t,n)(e);i.push(o),this.updateAppInstance(r)},unmount:function(e,t){i=i.filter((function(t){return t.key!==e})),this.updateAppInstance(t)},updateAppInstance:function(e){r.$forceUpdate(),r.$nextTick(e)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:n},onLaunch:{writable:!0,enumerable:!0,value:function(t){var n,i=this;if(ji.router=Object.assign({params:null===t||void 0===t?void 0:t.query},t),oi&&(r=e.mount("#app")),e["taroGlobalData"]){var o=e["taroGlobalData"],a=Object.keys(o),c=Object.getOwnPropertyDescriptors(o);a.forEach((function(e){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){return o[e]},set:function(t){o[e]=t}})})),Object.defineProperties(this,c)}var u=null===(n=null===r||void 0===r?void 0:r.$options)||void 0===n?void 0:n.onLaunch;Object(k["isFunction"])(u)&&u.call(r,t)}},onShow:{writable:!0,enumerable:!0,value:function(e){var t;ji.router=Object.assign({params:null===e||void 0===e?void 0:e.query},e);var n=null===(t=null===r||void 0===r?void 0:r.$options)||void 0===t?void 0:t.onShow;Object(k["isFunction"])(n)&&n.call(r,e)}},onHide:{writable:!0,enumerable:!0,value:function(e){var t,n=null===(t=null===r||void 0===r?void 0:r.$options)||void 0===t?void 0:t.onHide;Object(k["isFunction"])(n)&&n.call(r,e)}}});return ji.app=o,ji.app}var ao=function(e){return function(t){var n=zi.useContext(Wi)||C,r=zi.useRef(t);r.current!==t&&(r.current=t),zi.useLayoutEffect((function(){var t=Ai(n),i=!1;null==t&&(i=!0,t=Object.create(null)),t=t;var o=function(){return r.current.apply(r,arguments)};return Object(k["isFunction"])(t[e])?t[e]=[t[e],o]:t[e]=[].concat(Object(l["a"])(t[e]||[]),[o]),i&&Pi(t,n),function(){var t=Ai(n),r=t[e];r===o?t[e]=void 0:Object(k["isArray"])(r)&&(t[e]=r.filter((function(e){return e!==o})))}}),[])}},co=ao("componentDidShow"),uo=ao("componentDidHide"),so=ao("onPullDownRefresh"),lo=ao("onReachBottom"),fo=ao("onPageScroll"),po=ao("onResize"),ho=ao("onShareAppMessage"),vo=ao("onTabItemTap"),mo=ao("onTitleClick"),bo=ao("onOptionMenuClick"),yo=ao("onPullIntercept"),go=ao("onShareTimeline"),Oo=ao("onAddToFavorites"),jo=ao("onReady"),wo=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?ji.router:zi.useMemo((function(){return ji.router}),[])},ko=function(){};function _o(e){return null==e?"":"/"===e.charAt(0)?e.slice(1):e}var Eo=function(e,t){var n,r,i,o=ji.router,a=function(){setTimeout((function(){t?e.call(t):e()}),1)};if(null!==o){var c=null,u=Bi(_o(o.path),o.params);c=li.getElementById(u),(null===c||void 0===c?void 0:c.pendingUpdate)?oi?null!==(i=null===(r=null===(n=c.firstChild)||void 0===n?void 0:n["componentOnReady"])||void 0===r?void 0:r.call(n).then((function(){a()})))&&void 0!==i||a():c.enqueueUpdateCallback(e,t):a()}else a()}}.call(this,n(774),n(286),n(15)["document"],n(15)["window"],n(15)["requestAnimationFrame"],n(15)["cancelAnimationFrame"])},24:function(e,t,n){var r=n(15),i=r.container,o=r.SERVICE_IDENTIFIER,a=n(1e3).default,c=i.get(o.Hooks);"function"===typeof c.initNativeApi&&c.initNativeApi(a),e.exports=a,e.exports.default=e.exports},3:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return s})),n.d(t,"m",(function(){return l})),n.d(t,"o",(function(){return d})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"f",(function(){return v})),n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"h",(function(){return y}));var r="view",i="icon",o="text",a="button",c="checkbox",u="input",s="picker",l="switch",d="textarea",f="scroll-view",p="swiper",h="swiper-item",v="image",m="canvas",b="block",y="map"},57:function(e,t,n){"use strict";n.r(t),n.d(t,"EMPTY_ARR",(function(){return le})),n.d(t,"EMPTY_OBJ",(function(){return se})),n.d(t,"animationEvents",(function(){return b})),n.d(t,"box",(function(){return pe})),n.d(t,"cacheDataGet",(function(){return Ae})),n.d(t,"cacheDataHas",(function(){return xe})),n.d(t,"cacheDataSet",(function(){return Pe})),n.d(t,"capitalize",(function(){return ye})),n.d(t,"controlledComponent",(function(){return oe})),n.d(t,"defaultReconciler",(function(){return fe})),n.d(t,"ensure",(function(){return we})),n.d(t,"events",(function(){return v})),n.d(t,"focusComponents",(function(){return ae})),n.d(t,"getUniqueKey",(function(){return Se})),n.d(t,"hasOwn",(function(){return Oe})),n.d(t,"indent",(function(){return Re})),n.d(t,"internalComponents",(function(){return ie})),n.d(t,"isArray",(function(){return p})),n.d(t,"isBoolean",(function(){return s})),n.d(t,"isBooleanStringLiteral",(function(){return f})),n.d(t,"isFunction",(function(){return l})),n.d(t,"isNull",(function(){return c})),n.d(t,"isNumber",(function(){return d})),n.d(t,"isObject",(function(){return u})),n.d(t,"isString",(function(){return o})),n.d(t,"isUndefined",(function(){return a})),n.d(t,"mergeInternalComponents",(function(){return Ie})),n.d(t,"mergeReconciler",(function(){return Ne})),n.d(t,"nestElements",(function(){return ue})),n.d(t,"noop",(function(){return de})),n.d(t,"processApis",(function(){return Ue})),n.d(t,"queryToJson",(function(){return _e})),n.d(t,"setUniqueKeyToRoute",(function(){return Fe})),n.d(t,"singleQuote",(function(){return y})),n.d(t,"styles",(function(){return h})),n.d(t,"toCamelCase",(function(){return me})),n.d(t,"toDashed",(function(){return ve})),n.d(t,"toKebabCase",(function(){return be})),n.d(t,"touchEvents",(function(){return m})),n.d(t,"unbox",(function(){return he})),n.d(t,"unsupport",(function(){return Be})),n.d(t,"voidElements",(function(){return ce})),n.d(t,"warn",(function(){return ke}));var r=n(21),i=n(95);function o(e){return"string"===typeof e}function a(e){return"undefined"===typeof e}function c(e){return null===e}function u(e){return null!==e&&"object"===Object(i["a"])(e)}function s(e){return!0===e||!1===e}function l(e){return"function"===typeof e}function d(e){return"number"===typeof e}function f(e){return"true"===e||"false"===e}var p=Array.isArray,h={style:"i.".concat("st"),class:"i.".concat("cl")},v={bindtap:"eh"},m={bindTouchStart:"",bindTouchMove:"",bindTouchEnd:"",bindTouchCancel:"",bindLongTap:""},b={bindAnimationStart:"",bindAnimationIteration:"",bindAnimationEnd:"",bindTransitionEnd:""};function y(e){return"'".concat(e,"'")}var g=Object.assign(Object.assign({"hover-class":y("none"),"hover-stop-propagation":"false","hover-start-time":"50","hover-stay-time":"400",animation:""},m),b),O={type:"",size:"23",color:""},j=Object.assign({longitude:"",latitude:"",scale:"16",markers:"[]",covers:"",polyline:"[]",circles:"[]",controls:"[]","include-points":"[]","show-location":"","layer-style":"1",bindMarkerTap:"",bindControlTap:"",bindCalloutTap:"",bindUpdated:""},m),w={percent:"","stroke-width":"6",color:y("#09BB07"),activeColor:y("#09BB07"),backgroundColor:y("#EBEBEB"),active:"false","active-mode":y("backwards"),"show-info":"false"},k={nodes:"[]"},_={selectable:"false",space:"",decode:"false"},E=Object.assign({size:y("default"),type:"",plain:"false",disabled:"",loading:"false","form-type":"","open-type":"","hover-class":y("button-hover"),"hover-stop-propagation":"false","hover-start-time":"20","hover-stay-time":"70",name:""},m),T={value:"",disabled:"",checked:"false",color:y("#09BB07"),name:""},S={bindChange:"",name:""},C={"report-submit":"false",bindSubmit:"",bindReset:"",name:""},P={value:"",type:y(""),password:"false",placeholder:"","placeholder-style":"","placeholder-class":y("input-placeholder"),disabled:"",maxlength:"140","cursor-spacing":"0",focus:"false","confirm-type":y("done"),"confirm-hold":"false",cursor:"i.value.length","selection-start":"-1","selection-end":"-1",bindInput:"",bindFocus:"",bindBlur:"",bindConfirm:"",name:""},A={for:"",name:""},x={mode:y("selector"),disabled:"",range:"","range-key":"",value:"",start:"",end:"",fields:y("day"),"custom-item":"",name:"",bindCancel:"",bindChange:"",bindColumnChange:""},I={value:"","indicator-style":"","indicator-class":"","mask-style":"","mask-class":"",bindChange:"",name:""},N={name:""},B={value:"",checked:"false",disabled:"",color:y("#09BB07"),name:""},F={bindChange:"",name:""},R={min:"0",max:"100",step:"1",disabled:"",value:"0",activeColor:y("#1aad19"),backgroundColor:y("#e9e9e9"),"block-size":"28","block-color":y("#ffffff"),"show-value":"false",bindChange:"",bindChanging:"",name:""},M={checked:"false",disabled:"",type:y("switch"),color:y("#04BE02"),bindChange:"",name:""},L={value:"",placeholder:"","placeholder-style":"","placeholder-class":y("textarea-placeholder"),disabled:"",maxlength:"140","auto-focus":"false",focus:"false","auto-height":"false",fixed:"false","cursor-spacing":"0",cursor:"-1","selection-start":"-1","selection-end":"-1",bindFocus:"",bindBlur:"",bindLineChange:"",bindInput:"",bindConfirm:"",name:""},D={src:"",bindLoad:"eh",bindError:"eh"},U=Object.assign({"scroll-top":"false"},m),$={"scale-area":"false"},H=Object.assign(Object.assign({direction:"none",inertia:"false","out-of-bounds":"false",x:"",y:"",damping:"20",friction:"2",disabled:"",scale:"false","scale-min":"0.5","scale-max":"10","scale-value":"1",animation:"true",bindChange:"",bindScale:"",bindHTouchMove:"",bindVTouchMove:"",width:y("10px"),height:y("10px")},m),b),q=Object.assign(Object.assign({"scroll-x":"false","scroll-y":"false","upper-threshold":"50","lower-threshold":"50","scroll-top":"","scroll-left":"","scroll-into-view":"","scroll-with-animation":"false","enable-back-to-top":"false",bindScrollToUpper:"",bindScrollToLower:"",bindScroll:""},m),b),z=Object.assign({"indicator-dots":"false","indicator-color":y("rgba(0, 0, 0, .3)"),"indicator-active-color":y("#000000"),autoplay:"false",current:"0",interval:"5000",duration:"500",circular:"false",vertical:"false","previous-margin":"'0px'","next-margin":"'0px'","display-multiple-items":"1",bindChange:"",bindTransition:"",bindAnimationFinish:""},m),W={"item-id":""},V={url:"","open-type":y("navigate"),delta:"1","hover-class":y("navigator-hover"),"hover-stop-propagation":"false","hover-start-time":"50","hover-stay-time":"600",bindSuccess:"",bindFail:"",bindComplete:""},G={id:"",src:"",loop:"false",controls:"false",poster:"",name:"",author:"",bindError:"",bindPlay:"",bindPause:"",bindTimeUpdate:"",bindEnded:""},J={"device-position":y("back"),flash:y("auto"),bindStop:"",bindError:""},K=Object.assign({src:"",mode:y("scaleToFill"),"lazy-load":"false",bindError:"",bindLoad:""},m),Y={src:"",autoplay:"false",muted:"false",orientation:y("vertical"),"object-fit":y("contain"),"background-mute":"false","min-cache":"1","max-cache":"3",animation:"",bindStateChange:"",bindFullScreenChange:"",bindNetStatus:""},Q={src:"",duration:"",controls:"true","danmu-list":"","danmu-btn":"","enable-danmu":"",autoplay:"false",loop:"false",muted:"false","initial-time":"0","page-gesture":"false",direction:"","show-progress":"true","show-fullscreen-btn":"true","show-play-btn":"true","show-center-play-btn":"true","enable-progress-gesture":"true","object-fit":y("contain"),poster:"","show-mute-btn":"false",animation:"",bindPlay:"",bindPause:"",bindEnded:"",bindTimeUpdate:"",bindFullScreenChange:"",bindWaiting:"",bindError:""},Z=Object.assign({"canvas-id":"","disable-scroll":"false",bindError:""},m),X={"unit-id":"","ad-intervals":"",bindLoad:"",bindError:"",bindClose:""},ee={src:"",bindMessage:"",bindLoad:"",bindError:""},te={},ne={name:""},re={name:""},ie={View:g,Icon:O,Progress:w,RichText:k,Text:_,Button:E,Checkbox:T,CheckboxGroup:S,Form:C,Input:P,Label:A,Picker:x,PickerView:I,PickerViewColumn:N,Radio:B,RadioGroup:F,Slider:R,Switch:M,CoverImage:D,Textarea:L,CoverView:U,MovableArea:$,MovableView:H,ScrollView:q,Swiper:z,SwiperItem:W,Navigator:V,Audio:G,Camera:J,Image:K,LivePlayer:Y,Video:Q,Canvas:Z,Ad:X,WebView:ee,Block:te,Map:j,Slot:re,SlotView:ne},oe=new Set(["input","checkbox","picker","picker-view","radio","slider","switch","textarea"]),ae=new Set(["input","textarea"]),ce=new Set(["progress","icon","rich-text","input","textarea","slider","switch","audio","ad","official-account","open-data","navigation-bar"]),ue=new Map([["view",-1],["catch-view",-1],["cover-view",-1],["static-view",-1],["pure-view",-1],["block",-1],["text",-1],["static-text",6],["slot",8],["slot-view",8],["label",6],["form",4],["scroll-view",4],["swiper",4],["swiper-item",4]]),se={},le=[],de=function(){},fe=Object.create(null),pe=function(e){return{v:e}},he=function(e){return e.v};function ve(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function me(e){for(var t="",n=!1,r=0;r<e.length;r++)"-"!==e[r]?(t+=n?e[r].toUpperCase():e[r],n=!1):n=!0;return t}var be=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};function ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ge=Object.prototype.hasOwnProperty,Oe=function(e,t){return ge.call(e,t)},je="\u5982\u6709\u7591\u95ee\uff0c\u8bf7\u63d0\u4ea4 issue \u81f3\uff1ahttps://github.com/nervjs/taro/issues";function we(e,t){if(!e)throw new Error(t+"\n"+je)}function ke(e,t){0}function _e(e){for(var t,n,r,i=decodeURIComponent,o=e.split("&"),a={},c=0,u=o.length;c<u;++c)if(r=o[c],r.length){var s=r.indexOf("=");s<0?(t=i(r),n=""):(t=i(r.slice(0,s)),n=i(r.slice(s+1))),"string"===typeof a[t]&&(a[t]=[a[t]]),Array.isArray(a[t])?a[t].push(n):a[t]=n}return a}var Ee=1,Te=(new Date).getTime().toString();function Se(){return Te+Ee++}var Ce={};function Pe(e,t){Ce[e]=t}function Ae(e,t){var n=Ce[e];return t&&delete Ce[e],n}function xe(e){return e in Ce}function Ie(e){Object.keys(e).forEach((function(t){t in ie?Object.assign(ie[t],e[t]):ie[t]=e[t]}))}function Ne(e){Object.keys(e).forEach((function(t){var n=e[t],r=fe[t];r?p(r)?fe[t]=r.push(n):fe[t]=[r,n]:fe[t]=n}))}function Be(e){return function(){console.warn("\u5c0f\u7a0b\u5e8f\u6682\u4e0d\u652f\u6301 ".concat(e))}}function Fe(e,t){var n="__key_",r=["navigateTo","redirectTo","reLaunch","switchTab"];if(r.indexOf(e)>-1){var i=t.url=t.url||"",o=i.indexOf("?")>-1,a=Se();t.url+=(o?"&":"?")+"".concat(n,"=").concat(a)}}function Re(e,t){return e.split("\n").map((function(e,n){var r=0===n?"":Array(t).fill(" ").join("");return r+e})).join("\n")}var Me=new Set(["addPhoneContact","authorize","canvasGetImageData","canvasPutImageData","canvasToTempFilePath","checkSession","chooseAddress","chooseImage","chooseInvoiceTitle","chooseLocation","chooseVideo","clearStorage","closeBLEConnection","closeBluetoothAdapter","closeSocket","compressImage","connectSocket","createBLEConnection","downloadFile","exitMiniProgram","getAvailableAudioSources","getBLEDeviceCharacteristics","getBLEDeviceServices","getBatteryInfo","getBeacons","getBluetoothAdapterState","getBluetoothDevices","getClipboardData","getConnectedBluetoothDevices","getConnectedWifi","getExtConfig","getFileInfo","getImageInfo","getLocation","getNetworkType","getSavedFileInfo","getSavedFileList","getScreenBrightness","getSetting","getStorage","getStorageInfo","getSystemInfo","getUserInfo","getWifiList","hideHomeButton","hideShareMenu","hideTabBar","hideTabBarRedDot","loadFontFace","login","makePhoneCall","navigateBack","navigateBackMiniProgram","navigateTo","navigateToBookshelf","navigateToMiniProgram","notifyBLECharacteristicValueChange","hideKeyboard","hideLoading","hideNavigationBarLoading","hideToast","openBluetoothAdapter","openDocument","openLocation","openSetting","pageScrollTo","previewImage","queryBookshelf","reLaunch","readBLECharacteristicValue","redirectTo","removeSavedFile","removeStorage","removeTabBarBadge","requestSubscribeMessage","saveFile","saveImageToPhotosAlbum","saveVideoToPhotosAlbum","scanCode","sendSocketMessage","setBackgroundColor","setBackgroundTextStyle","setClipboardData","setEnableDebug","setInnerAudioOption","setKeepScreenOn","setNavigationBarColor","setNavigationBarTitle","setScreenBrightness","setStorage","setTabBarBadge","setTabBarItem","setTabBarStyle","showActionSheet","showFavoriteGuide","showLoading","showModal","showShareMenu","showTabBar","showTabBarRedDot","showToast","startBeaconDiscovery","startBluetoothDevicesDiscovery","startDeviceMotionListening","startPullDownRefresh","stopBeaconDiscovery","stopBluetoothDevicesDiscovery","stopCompass","startCompass","startAccelerometer","stopAccelerometer","showNavigationBarLoading","stopDeviceMotionListening","stopPullDownRefresh","switchTab","uploadFile","vibrateLong","vibrateShort","writeBLECharacteristicValue"]);function Le(e){return function(){if("function"!==typeof e.getSystemInfoSync)return console.error("\u4e0d\u652f\u6301 API canIUseWebp"),!1;var t=e.getSystemInfoSync(),n=t.platform,r=n.toLowerCase();return"android"===r||"devtools"===r}}function De(e){return function(t){t=t||{},"string"===typeof t&&(t={url:t});var n,r=t.success,i=t.fail,o=t.complete,a=new Promise((function(a,c){t.success=function(e){r&&r(e),a(e)},t.fail=function(e){i&&i(e),c(e)},t.complete=function(e){o&&o(e)},n=e.request(t)}));return a.abort=function(e){return e&&e(),n&&n.abort(),a},a}}function Ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.needPromiseApis||[],o=new Set([].concat(Object(r["a"])(i),Object(r["a"])(Me))),a=["getEnv","interceptors","Current","getCurrentInstance","options","nextTick","eventCenter","Events","preload","webpackJsonp"],c=new Set(n.isOnlyPromisify?i:Object.keys(t).filter((function(e){return-1===a.indexOf(e)})));n.modifyApis&&n.modifyApis(c),c.forEach((function(r){if(o.has(r)){var i=r;e[i]=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];var c=i;if("string"===typeof e)return o.length?t[c].apply(t,[e].concat(o)):t[c](e);if(n.transformMeta){var u=n.transformMeta(c,e);if(c=u.key,e=u.options,!t.hasOwnProperty(c))return Be(c)()}var s=null,l=Object.assign({},e);Fe(c,e);var d=new Promise((function(r,i){l.success=function(t){var i,o;null===(i=n.modifyAsyncResult)||void 0===i||i.call(n,c,t),null===(o=e.success)||void 0===o||o.call(e,t),r("connectSocket"===c?Promise.resolve().then((function(){return s?Object.assign(s,t):t})):t)},l.fail=function(t){var n;null===(n=e.fail)||void 0===n||n.call(e,t),i(t)},l.complete=function(t){var n;null===(n=e.complete)||void 0===n||n.call(e,t)},s=o.length?t[c].apply(t,[l].concat(o)):t[c](l)}));return"uploadFile"!==c&&"downloadFile"!==c||(d.progress=function(e){return null===s||void 0===s||s.onProgressUpdate(e),d},d.abort=function(e){return null===e||void 0===e||e(),null===s||void 0===s||s.abort(),d}),d}}else{var a=r;if(n.transformMeta&&(a=n.transformMeta(r,{}).key),!t.hasOwnProperty(a))return void(e[r]=Be(r));"function"===typeof t[r]?e[r]=function(){for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];return n.handleSyncApis?n.handleSyncApis(r,t,i):t[a].apply(t,i)}:e[r]=t[a]}})),!n.isOnlyPromisify&&$e(e,t,n)}function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.canIUseWebp=Le(e),e.getCurrentPages=getCurrentPages||Be("getCurrentPages"),e.getApp=getApp||Be("getApp"),e.env=t.env||{};try{e.requirePlugin=requirePlugin||Be("requirePlugin")}catch(t){e.requirePlugin=Be("requirePlugin")}var r=n.request?n.request:De(t);function i(e){return r(e.requestParams)}var o=new e.Link(i);e.request=o.request.bind(o),e.addInterceptor=o.addInterceptor.bind(o),e.cleanInterceptors=o.cleanInterceptors.bind(o),e.miniGlobal=e.options.miniGlobal=t}},588:function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(29),i=n(30),o=n(849),a=n.n(o),c=n(723),u=n(15),s=n(57);function l(e){return"o"===e[0]&&"n"===e[1]}var d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function f(e,t,n){var r;for(r in t)r in n||v(e,r,null,t[r]);var i=e instanceof u["FormElement"];for(r in n)(t[r]!==n[r]||i&&"value"===r)&&v(e,r,n[r],t[r])}function p(e,t,n,r){var i=t.endsWith("Capture"),o=t.toLowerCase().slice(2);i&&(o=o.slice(0,-7));var a=Object(s["capitalize"])(Object(s["toCamelCase"])(e.tagName.toLowerCase()));"click"===o&&a in s["internalComponents"]&&(o="tap"),Object(s["isFunction"])(n)?(r||e.addEventListener(o,n,i),"regionchange"===o?(e.__handlers.begin[0]=n,e.__handlers.end[0]=n):e.__handlers[o][0]=n):e.removeEventListener(o,r)}function h(e,t,n){"-"===t[0]&&e.setProperty(t,n.toString()),e[t]=Object(s["isNumber"])(n)&&!1===d.test(t)?n+"px":null==n?"":n}function v(e,t,n,r){var i,o,a,c;if(t="className"===t?"class":t,"key"===t||"children"===t||"ref"===t);else if("style"===t){var u=e.style;if(Object(s["isString"])(n))u.cssText=n;else{if(Object(s["isString"])(r)&&(u.cssText="",r=null),Object(s["isObject"])(r))for(var d in r)n&&d in n||h(u,d,"");if(Object(s["isObject"])(n))for(var f in n)r&&n[f]===r[f]||h(u,f,n[f])}}else if(l(t))p(e,t,n,r);else if("dangerouslySetInnerHTML"===t){var v=null!==(o=null===(i=n)||void 0===i?void 0:i.__html)&&void 0!==o?o:"",m=null!==(c=null===(a=r)||void 0===a?void 0:a.__html)&&void 0!==c?c:"";(v||m)&&m!==v&&(e.innerHTML=v)}else Object(s["isFunction"])(n)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}var m=c["unstable_now"];function b(){return!1}var y={createInstance:function(e){return u["document"].createElement(e)},createTextInstance:function(e){return u["document"].createTextNode(e)},getPublicInstance:function(e){return e},getRootHostContext:function(){return{}},getChildHostContext:function(){return{}},appendChild:function(e,t){e.appendChild(t)},appendInitialChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){e.appendChild(t)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){e.removeChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){e.insertBefore(t,n)},commitTextUpdate:function(e,t,n){e.nodeValue=n},finalizeInitialChildren:function(e,t,n){return f(e,{},n),!1},prepareUpdate:function(){return s["EMPTY_ARR"]},commitUpdate:function(e,t,n,r,i){f(e,r,i)},hideInstance:function(e){var t=e.style;t.setProperty("display","none")},unhideInstance:function(e,t){var n=t.style,r=(null===n||void 0===n?void 0:n.hasOwnProperty("display"))?n.display:null;r=null==r||"boolean"===typeof r||""===r?"":(""+r).trim(),e.style["display"]=r},clearContainer:function(e){e.childNodes.length>0&&(e.textContent="")},queueMicrotask:"undefined"!==typeof Promise?function(e){return Promise.resolve(null).then(e).catch((function(e){setTimeout((function(){throw e}))}))}:setTimeout,shouldSetTextContent:b,prepareForCommit:function(){return null},resetAfterCommit:s["noop"],commitMount:s["noop"],now:m,cancelTimeout:clearTimeout,scheduleTimeout:setTimeout,preparePortalMount:s["noop"],noTimeout:-1,supportsMutation:!0,supportsPersistence:!1,isPrimaryRenderer:!0,supportsHydration:!1},g=a()(y),O=new WeakMap,j=function(){function e(t,n){Object(r["a"])(this,e),this.renderer=t,this.internalRoot=t.createContainer(n,0,!1,null)}return Object(i["a"])(e,[{key:"render",value:function(e,t){return this.renderer.updateContainer(e,this.internalRoot,null,t),this.renderer.getPublicRootInstance(this.internalRoot)}},{key:"unmount",value:function(e){this.renderer.updateContainer(null,this.internalRoot,null,e)}}]),e}();function w(e,t,n){var r=O.get(t);if(null!=r)return r.render(e,n);var i=new j(g,t);return O.set(t,i),i.render(e,n)}var k=g.batchedUpdates;function _(e){Object(s["ensure"])(e&&[1,8,9,11].includes(e.nodeType),"unmountComponentAtNode(...): Target container is not a DOM element.");var t=O.get(e);return!!t&&(k((function(){t.unmount((function(){O.delete(e)}))}),null),!0)}function E(e){if(null==e)return null;var t=e.nodeType;return 1===t||3===t?e:g.findHostInstance(e)}var T="function"===typeof Symbol&&Symbol.for?Symbol.for("react.portal"):60106;function S(e,t,n){return{$$typeof:T,key:null==n?null:String(n),children:e,containerInfo:t,implementation:null}}var C={render:w,unstable_batchedUpdates:k,unmountComponentAtNode:_,findDOMNode:E,createPortal:S};t["a"]=C},996:function(e,t,n){"use strict";var r=n(57),i=new Set(["checkFollowState","exitMiniProgram","followOfficialAccount","getMenuButtonLayout","hideInteractionBar","pay","navigateToVideoView","showInteractionBar","openEcGood"]);function o(e){Object(r["processApis"])(e,tt,{needPromiseApis:i})}var a={Icon:{size:"24"},Button:{bindGetPhoneNumber:"","data-channel":""},Form:{"report-submit-timeout":"0"},Slider:{color:Object(r["singleQuote"])("#e9e9e9"),"selected-color":Object(r["singleQuote"])("#1aad19")},WebView:{"progressbar-color":Object(r["singleQuote"])("#51a0d8")},Video:{"play-btn-position":Object(r["singleQuote"])("center"),"pre-roll-unit-id":"","post-roll-unit-id":"",bindAdStart:"",bindAdEnded:"",bindAdLoad:"",bindAdClose:"",bindAdError:""},Ad:{fixed:"",type:Object(r["singleQuote"])("banner"),scale:"100"},Textarea:{"disable-default-padding":"false"}},c={initNativeApi:o};Object(r["mergeReconciler"])(c),Object(r["mergeInternalComponents"])(a)},997:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(57),i=n(998),o=n(999),a={initNativeApi:function(e){var t=e.miniGlobal;r.processApis(e,t,{noPromiseApis:o.noPromiseApis,needPromiseApis:o.needPromiseApis,isOnlyPromisify:!0})}};r.mergeReconciler(a),r.mergeInternalComponents(i.components)},998:function(e,t,n){"use strict";n.r(t),n.d(t,"components",(function(){return r}));var r={RichText:{enhanced:"false",bindrichtextclick:""},View:{hidden:""},Editor:{binduploadpasteimage:""}}},999:function(e,t,n){"use strict";n.r(t),n.d(t,"noPromiseApis",(function(){return r})),n.d(t,"needPromiseApis",(function(){return i}));var r=new Set([]),i=new Set([])}}]);
|
|
//# sourceMappingURL=taro.js.map
|
|
}); |