define("taro.js",(function(e,t,n,r,o,i,a,s,c,u,l,d,p,h,f,v,m,g,b,y,w,_,O,E){ /*! For license information please see taro.js.LICENSE.txt */ (tt.webpackJsonp=tt.webpackJsonp||[]).push([[3],{1:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return o})),n.d(t,"n",(function(){return m})),n.d(t,"o",(function(){return f})),n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return r}));var r="view",o="rich-text",i="text",a="button",s="checkbox",c="checkbox-group",u="input",l="label",d="picker",p="radio",h="radio-group",f="switch",v="textarea",m="scroll-view",g="image",b="canvas",y="block",w="customized-input"},1028:function(e,t,n){"use strict";var r=n(46),o=new Set(["getNFCAdapter","onWindowResize","offWindowResize","getCustomizedInput"]),i=new Set(["startDeviceCredential","mailto","startPasswordVerify","checkWatermark","openSchema","docsPicker","filePicker","showPrompt","getBlockActionSourceDetail","getWifiStatus","getChatInfo","onChatBadgeChange","offChatBadgeChange","getHostLaunchQuery","setBLEMTU","connectBLEDevice","disconnectBLEDevice","chooseChat","sendMessageCard","share","toggleChat","chooseContact","enterProfile","enterChat","enterBot","exitMiniProgram","startFaceVerify"]);var a=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r{Object.keys(t).forEach((n=>{n in e?Object.assign(e[n],t[n]):e[n]=Object.assign({},t[n])}))})),e}({Icon:{size:"24"},Progress:{color:Object(r.singleQuote)("#F85959"),"active-color":Object(r.singleQuote)("#F85959"),"background-color":Object(r.singleQuote)("#EBEBEB")},PickerView:{bindpickover:""},Video:{"auto-fullscreen":"false"},WebView:{"progressbar-color":Object(r.singleQuote)("#51a0d8")},Editor:{contents:"{}",placeholder:"","read-only":"false",plugins:"[]",placeholderStyle:"{}","adit-style":"","auto-height":"false",bindready:"",bindinput:"",bindinsertimage:"",bindmentionselect:"",bindmentionclick:"",bindgetfileinfo:"",bindeditorclick:"",bindatfinder:"",bindblur:""}},{View:{bindmouseenter:"",bindmouseleave:""},Button:{shape:Object(r.singleQuote)("default")},Video:{"show-download-btn":"false"},CustomizedInput:{data:"{}",showReminder:"false",showReminderAvatar:"false",placeholder:"",placeholderStyle:"",disabled:"false",focus:"false",enableRemind:"",reminderSuggestions:"[]",bindinput:"",bindconfirm:"",binddelete:"",bindfocus:"",bindblur:""}}),s=a,c={initNativeApi:function(e){Object(r.processApis)(e,tt,{noPromiseApis:o,needPromiseApis:i})}};Object(r.mergeReconciler)(c),Object(r.mergeInternalComponents)(s)},1029:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46),o=n(1030),i=n(1031),a={initNativeApi(e){var t=e.miniGlobal;r.processApis(e,t,{noPromiseApis:i.noPromiseApis,needPromiseApis:i.needPromiseApis,isOnlyPromisify:!0})}};r.mergeReconciler(a),r.mergeInternalComponents(o.components)},1030:function(e,t,n){"use strict";n.r(t),n.d(t,"components",(function(){return r}));var r={ScrollView:{"show-scroll-bar":"false"},Picker:{"popup-container":""}}},1031:function(e,t,n){"use strict";n.r(t),n.d(t,"noPromiseApis",(function(){return r})),n.d(t,"needPromiseApis",(function(){return o}));var r=new Set([]),o=new Set([])},1032:function(e,t,n){"use strict";n.r(t),function(e,r){var o=n(731),i=n.n(o),a=n(769),s=n.n(a),c=n(772),u=n.n(c),l=n(773),d=n.n(l),p=n(770),h=n.n(p),f=n(43);"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;n1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;u()(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 参数错误, 请勿直接修改 request.chain");var t=this._getNextInterceptor()(this._getNextChain()),n=t.catch((function(e){return Promise.reject(e)}));return"function"==typeof t.abort&&(n.abort=t.abort),n}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new e(this.requestParams,this.interceptors,this.index+1)}}]),e}(),b=function(){function e(t){u()(this,e),this.taroInterceptor=t,this.chain=new g}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(s()({},e))}},{key:"addInterceptor",value:function(e){this.chain.interceptors.push(e)}},{key:"cleanInterceptors",value:function(){this.chain=new g}}]),e}();var y=Object.freeze({__proto__:null,timeoutInterceptor:function(e){var t,n=e.requestParams,r=new Promise((function(r,o){var i=setTimeout((function(){i=null,o(new Error("网络链接超时,请稍后再试!"))}),n&&n.timeout||6e4);(t=e.proceed(n)).then((function(e){i&&(clearTimeout(i),r(e))})).catch((function(e){i&&clearTimeout(i),o(e)}))}));return void 0!==t&&"function"==typeof t.abort&&(r.abort=t.abort),r},logInterceptor:function(e){var t=e.requestParams,n=t.method,r=t.data,o=t.url;console.log("http ".concat(n||"GET"," --\x3e ").concat(o," data: "),r);var i=e.proceed(t),a=i.then((function(e){return console.log("http <-- ".concat(o," result:"),e),e}));return"function"==typeof i.abort&&(a.abort=i.abort),a}});function w(e){return function(t){var n=t.designWidth,r=void 0===n?750:n,o=t.deviceRatio,i=void 0===o?{640:1.17,750:1,828:.905}:o;e.config=e.config||{},e.config.designWidth=r,e.config.deviceRatio=i}}var _={Behavior:function(e){return e},getEnv:function(){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):void 0!==e&&e.__fbGenNativeModule?(m=v.RN,v.RN):void 0!==r?(m=v.WEB,v.WEB):"Unknown environment")},ENV_TYPE:v,Link:b,interceptors:y,Current:f.Current,getCurrentInstance:f.getCurrentInstance,options:f.options,nextTick:f.nextTick,eventCenter:f.eventCenter,Events:f.Events,useDidShow:f.useDidShow,useDidHide:f.useDidHide,usePullDownRefresh:f.usePullDownRefresh,useReachBottom:f.useReachBottom,usePageScroll:f.usePageScroll,useResize:f.useResize,useShareAppMessage:f.useShareAppMessage,useTabItemTap:f.useTabItemTap,useTitleClick:f.useTitleClick,useOptionMenuClick:f.useOptionMenuClick,usePullIntercept:f.usePullIntercept,useShareTimeline:f.useShareTimeline,useAddToFavorites:f.useAddToFavorites,useReady:f.useReady,useRouter:f.useRouter,getInitPxTransform:w};_.initPxTransform=w(_),_.preload=function(e){return function(t,n){"object"===i()(t)?e.preloadData=t:void 0!==t&&void 0!==n&&(e.preloadData=h()({},t,n))}}(f.Current),_.pxTransform=function(e){return function(t){var n=e.config||{},r=n.designWidth,o=void 0===r?750:r,i=n.deviceRatio,a=void 0===i?{640:1.17,750:1,828:.905}:i;if(!(o in a))throw new Error("deviceRatio 配置中不存在 ".concat(o," 的设置!"));return parseInt(t,10)*a[o]+"rpx"}}(_),t.default=_}.call(this,n(347),n(43).window)},1476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(43);Component(r.createRecursiveComponentConfig("custom-wrapper"))},19:function(e,t,n){var{container:r,SERVICE_IDENTIFIER:o}=n(43),i=n(1032).default,a=r.get(o.Hooks);"function"==typeof a.initNativeApi&&a.initNativeApi(i),e.exports=i,e.exports.default=e.exports},43:function(e,t,n){"use strict";n.r(t),function(e,r,o,i,s,c){n.d(t,"Current",(function(){return xn})),n.d(t,"ElementNames",(function(){return $})),n.d(t,"Events",(function(){return Nn})),n.d(t,"FormElement",(function(){return vt})),n.d(t,"SERVICE_IDENTIFIER",(function(){return f})),n.d(t,"SVGElement",(function(){return mt})),n.d(t,"Style",(function(){return de})),n.d(t,"TaroElement",(function(){return me})),n.d(t,"TaroEvent",(function(){return pn})),n.d(t,"TaroNode",(function(){return W})),n.d(t,"TaroRootElement",(function(){return ft})),n.d(t,"TaroText",(function(){return V})),n.d(t,"cancelAnimationFrame",(function(){return kn})),n.d(t,"connectReactPage",(function(){return tr})),n.d(t,"connectVuePage",(function(){return cr})),n.d(t,"container",(function(){return dn})),n.d(t,"createComponentConfig",(function(){return Jn})),n.d(t,"createDocument",(function(){return yn})),n.d(t,"createEvent",(function(){return hn})),n.d(t,"createNativeComponentConfig",(function(){return sr})),n.d(t,"createPageConfig",(function(){return Gn})),n.d(t,"createReactApp",(function(){return or})),n.d(t,"createRecursiveComponentConfig",(function(){return Kn})),n.d(t,"createVue3App",(function(){return lr})),n.d(t,"createVueApp",(function(){return ur})),n.d(t,"document",(function(){return _n})),n.d(t,"eventCenter",(function(){return Bn})),n.d(t,"getComputedStyle",(function(){return Pn})),n.d(t,"getCurrentInstance",(function(){return In})),n.d(t,"hydrate",(function(){return H})),n.d(t,"injectPageInstance",(function(){return Mn})),n.d(t,"navigator",(function(){return Sn})),n.d(t,"nextTick",(function(){return kr})),n.d(t,"now",(function(){return wn})),n.d(t,"options",(function(){return dt})),n.d(t,"processPluginHooks",(function(){return sn})),n.d(t,"requestAnimationFrame",(function(){return jn})),n.d(t,"stringify",(function(){return $n})),n.d(t,"useAddToFavorites",(function(){return Tr})),n.d(t,"useDidHide",(function(){return hr})),n.d(t,"useDidShow",(function(){return pr})),n.d(t,"useOptionMenuClick",(function(){return _r})),n.d(t,"usePageScroll",(function(){return mr})),n.d(t,"usePullDownRefresh",(function(){return fr})),n.d(t,"usePullIntercept",(function(){return Or})),n.d(t,"useReachBottom",(function(){return vr})),n.d(t,"useReady",(function(){return Sr})),n.d(t,"useResize",(function(){return gr})),n.d(t,"useRouter",(function(){return Cr})),n.d(t,"useScope",(function(){return jr})),n.d(t,"useShareAppMessage",(function(){return br})),n.d(t,"useShareTimeline",(function(){return Er})),n.d(t,"useTabItemTap",(function(){return yr})),n.d(t,"useTitleClick",(function(){return wr})),n.d(t,"window",(function(){return An})),n(9);var u=n(59),l=n(46);function d(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function p(e,t){return function(n,r){t(n,r,e)}}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}!function(t){!function(e){var n=function(e,t){return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}(t);e(n)}((function(t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,o=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!a&&!s,u={create:a?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),d="object"==typeof e&&{GIT_SHORT:"03ea7a3",GIT_LONG:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",GIT_BRANCH:"release_train_2023-09-21_212295",GIT_MESSAGE:"Merge branch 'update-version/20230926' into 'release_train_2023-09-21_212295'\n\nfeat: [ticket] 托管火车占位 (train id 212295) [skipped]\n\nSee merge request ea/approval!4094",NODE_ENV:"production",BUILD_ENV:"online",BUILD_BASE_COMMIT_HASH:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",BUILD_BRANCH:"release_train_2023-09-21_212295",BUILD_VERSION:"1.0.0.1782"}&&"true"==={GIT_SHORT:"03ea7a3",GIT_LONG:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",GIT_BRANCH:"release_train_2023-09-21_212295",GIT_MESSAGE:"Merge branch 'update-version/20230926' into 'release_train_2023-09-21_212295'\n\nfeat: [ticket] 托管火车占位 (train id 212295) [skipped]\n\nSee merge request ea/approval!4094",NODE_ENV:"production",BUILD_ENV:"online",BUILD_BASE_COMMIT_HASH:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",BUILD_BRANCH:"release_train_2023-09-21_212295",BUILD_VERSION:"1.0.0.1782"}.REFLECT_METADATA_USE_MAP_POLYFILL,p=d||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){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[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e=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,o=n+1;o=0;--n){var r=(0,e[n])(t);if(!S(r)&&!C(r)){if(!I(r))throw new TypeError;t=r}}return t}(e,t)}if(!A(e))throw new TypeError;if(!j(t))throw new TypeError;if(!j(r)&&!S(r)&&!C(r))throw new TypeError;return C(r)&&(r=void 0),function(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!S(i)&&!C(i)){if(!j(i))throw new TypeError;r=i}}return r}(e,t,n=P(n),r)})),t("metadata",(function(e,t){return function(n,r){if(!j(n))throw new TypeError;if(!S(r)&&!function(e){switch(T(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;_(e,t,n,r)}})),t("defineMetadata",(function(e,t,n,r){if(!j(n))throw new TypeError;return S(r)||(r=P(r)),_(e,t,n,r)})),t("hasMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),g(e,t,n)})),t("hasOwnMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),b(e,t,n)})),t("getMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),y(e,t,n)})),t("getOwnMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),w(e,t,n)})),t("getMetadataKeys",(function(e,t){if(!j(e))throw new TypeError;return S(t)||(t=P(t)),O(e,t)})),t("getOwnMetadataKeys",(function(e,t){if(!j(e))throw new TypeError;return S(t)||(t=P(t)),E(e,t)})),t("deleteMetadata",(function(e,t,n){if(!j(t))throw new TypeError;S(n)||(n=P(n));var r=m(t,n,!1);if(S(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var o=v.get(t);return o.delete(n),o.size>0||v.delete(t),!0}))}))}(Reflect||(Reflect={}));var f={TaroElement:"TaroElement",TaroElementFactory:"Factory",TaroText:"TaroText",TaroTextFactory:"Factory",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"},v="taro-app",m="小程序 setData",g="页面初始化",b="root",y="document-fragment",w="id",_="class",O="style",E="focus",T="view",S="static-view",C="pure-view",j="props",k="dataset",P="object",A="value",x="input",I="catchMove",N="catch-view",B="comment",F=()=>{var e=0;return()=>(e++).toString()};function R(e){return 1===e.nodeType}function L(e){return e.nodeName===B}function M(e){var t=Object.keys(e.props).find((e=>!(/^(class|style|id)$/.test(e)||e.startsWith("data-"))));return Boolean(t)}function D(e){switch(e){case O:return"st";case w:return"uid";case _:return"cl";default:return e}}var U=class{constructor(e){this.__handlers={},this.hooks=e}addEventListener(e,t,n){var r,o;if(null===(o=(r=this.hooks).onAddEvent)||void 0===o||o.call(r,e,t,n,this),"regionchange"===e)return this.addEventListener("begin",t,n),void this.addEventListener("end",t,n);e=e.toLowerCase();var i=this.__handlers[e],a=(Boolean(n),!1);if(Object(l.isObject)(n)&&(Boolean(n.capture),a=Boolean(n.once)),a){this.addEventListener(e,(function n(){t.apply(this,arguments),this.removeEventListener(e,n)}),Object.assign(Object.assign({},n),{once:!1}))}else Object(l.isArray)(i)?i.push(t):this.__handlers[e]=[t]}removeEventListener(e,t){if(e=e.toLowerCase(),null!=t){var n=this.__handlers[e];if(Object(l.isArray)(n)){var r=n.indexOf(t);n.splice(r,1)}}}isAnyEventBinded(){var e=this.__handlers,t=Object.keys(e).find((t=>e[t].length));return Boolean(t)}};function H(e){var t,n,r=e.nodeName;if(function(e){return 3===e.nodeType}(e))return{v:e.nodeValue,nn:r};var o={nn:r,uid:e.uid},{props:i}=e,a=e.hooks.getSpecialNodes();for(var s in!e.isAnyEventBinded()&&a.indexOf(r)>-1&&(o.nn="static-".concat(r),r!==T||M(e)||(o.nn=C)),i){var c=Object(l.toCamelCase)(s);s.startsWith("data-")||s===_||s===O||s===w||c===I||(o[c]=i[s]),r===T&&c===I&&!1!==i[s]&&(o.nn=N)}var{childNodes:u}=e;return u=u.filter((e=>!L(e))),u.length>0?o.cn=u.map(H):o.cn=[],""!==e.className&&(o.cl=e.className),""!==e.cssText&&"swiper-item"!==r&&(o.st=e.cssText),null===(n=(t=e.hooks).modifyHydrateData)||void 0===n||n.call(t,o),o}U=d([Object(u.d)(),p(0,Object(u.c)(f.Hooks)),h("design:paramtypes",[Object])],U);var $,q=new Map;!function(e){e.Element="Element",e.Document="Document",e.RootElement="RootElement",e.FormElement="FormElement"}($||($={}));var z=F(),W=class extends U{constructor(e,t,n){super(n),this.parentNode=null,this.childNodes=[],this.hydrate=e=>()=>H(e),e.bind(this),this._getElement=t,this.uid="_n_".concat(z()),q.set(this.uid,this)}_empty(){for(;this.childNodes.length>0;){var e=this.childNodes[0];e.parentNode=null,q.delete(e.uid),this.childNodes.shift()}}get _root(){var e;return(null===(e=this.parentNode)||void 0===e?void 0:e._root)||null}findIndex(e){var t=this.childNodes.indexOf(e);return Object(l.ensure)(-1!==t,"The node to be replaced is not a child of this node."),t}get _path(){var e=this.parentNode;if(e){var t=e.childNodes.filter((e=>!L(e))).indexOf(this),n=this.hooks.getPathIndex(t);return"".concat(e._path,".","cn",".").concat(n)}return""}get nextSibling(){var e=this.parentNode;return(null==e?void 0:e.childNodes[e.findIndex(this)+1])||null}get previousSibling(){var e=this.parentNode;return(null==e?void 0:e.childNodes[e.findIndex(this)-1])||null}get parentElement(){var e=this.parentNode;return 1===(null==e?void 0:e.nodeType)?e:null}get firstChild(){return this.childNodes[0]||null}get lastChild(){var e=this.childNodes;return e[e.length-1]||null}set textContent(e){if(this._empty(),""===e)this.enqueueUpdate({path:"".concat(this._path,".","cn"),value:()=>[]});else{var t=this._getElement($.Document)();this.appendChild(t.createTextNode(e))}}insertBefore(e,t,n){if(e.nodeName===y)return e.childNodes.reduceRight(((e,t)=>(this.insertBefore(t,e),t)),t),e;var r;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:()=>this.childNodes.filter((e=>!L(e))).map(H)}}else this.childNodes.push(e),r={path:e._path,value:this.hydrate(e)};return this.enqueueUpdate(r),q.has(e.uid)||q.set(e.uid,e),e}appendChild(e){this.insertBefore(e)}replaceChild(e,t){if(t.parentNode===this)return this.insertBefore(e,t,!0),t.remove(!0),t}removeChild(e,t){var n=this.findIndex(e);return this.childNodes.splice(n,1),t||this.enqueueUpdate({path:"".concat(this._path,".","cn"),value:()=>this.childNodes.filter((e=>!L(e))).map(H)}),e.parentNode=null,q.delete(e.uid),e}remove(e){var t;null===(t=this.parentNode)||void 0===t||t.removeChild(this,e)}hasChildNodes(){return this.childNodes.length>0}enqueueUpdate(e){var t;null===(t=this._root)||void 0===t||t.enqueueUpdate(e)}contains(e){var t=!1;return this.childNodes.some((n=>{var{uid:r}=n;if(r===e.uid||r===e.id||n.contains(e))return t=!0,!0})),t}get ownerDocument(){return this._getElement($.Document)()}};W=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),h("design:paramtypes",[Function,Function,Function])],W);var V=class extends W{constructor(e,t,n){super(e,t,n),this.nodeType=3,this.nodeName="#text"}set textContent(e){this._value=e,this.enqueueUpdate({path:"".concat(this._path,".","v"),value:e})}get textContent(){return this._value}set nodeValue(e){this.textContent=e}get nodeValue(){return this._value}};V=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),h("design:paramtypes",[Function,Function,Function])],V);var G=["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 J(e,t,n){!n&&G.push(e),t.forEach((t=>{G.push(e+t)}))}var K="Color",Y="Style",Q="Width",Z="Image",X="Size",ee=[K,Y,Q],te=["FitLength","FitWidth",Z],ne=[...te,"Radius"],re=[...ee,...te],oe=["EndRadius","StartRadius"],ie=["Bottom","Left","Right","Top"],ae=["End","Start"],se=["Content","Items","Self"],ce=["BlockSize","Height","InlineSize",Q],ue=["After","Before"];function le(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}))}J("borderBlock",ee),J("borderBlockEnd",ee),J("borderBlockStart",ee),J("outline",[...ee,"Offset"]),J("border",[...ee,"Boundary","Break","Collapse","Radius","Spacing"]),J("borderFit",["Length",Q]),J("borderInline",ee),J("borderInlineEnd",ee),J("borderInlineStart",ee),J("borderLeft",re),J("borderRight",re),J("borderTop",re),J("borderBottom",re),J("textDecoration",[K,Y,"Line"]),J("textEmphasis",[K,Y,"Position"]),J("scrollMargin",ie),J("scrollPadding",ie),J("padding",ie),J("margin",[...ie,"Trim"]),J("scrollMarginBlock",ae),J("scrollMarginInline",ae),J("scrollPaddingBlock",ae),J("scrollPaddingInline",ae),J("gridColumn",ae),J("gridRow",ae),J("insetBlock",ae),J("insetInline",ae),J("marginBlock",ae),J("marginInline",ae),J("paddingBlock",ae),J("paddingInline",ae),J("pause",ue),J("cue",ue),J("mask",["Clip","Composite",Z,"Mode","Origin","Position","Repeat",X,"Type"]),J("borderImage",["Outset","Repeat","Slice","Source","Transform",Q]),J("maskBorder",["Mode","Outset","Repeat","Slice","Source",Q]),J("font",["Family","FeatureSettings","Kerning","LanguageOverride","MaxSize","MinSize","OpticalSizing","Palette",X,"SizeAdjust","Stretch",Y,"Weight","VariationSettings"]),J("fontSynthesis",["SmallCaps",Y,"Weight"]),J("transform",["Box","Origin",Y]),J("background",[K,Z,"Attachment","BlendMode","Clip","Origin","Position","Repeat",X]),J("listStyle",[Z,"Position","Type"]),J("scrollSnap",["Align","Stop","Type"]),J("grid",["Area","AutoColumns","AutoFlow","AutoRows"]),J("gridTemplate",["Areas","Columns","Rows"]),J("overflow",["Block","Inline","Wrap","X","Y"]),J("transition",["Delay","Duration","Property","TimingFunction"]),J("lineStacking",["Ruby","Shift","Strategy"]),J("color",["Adjust","InterpolationFilters","Scheme"]),J("textAlign",["All","Last"]),J("page",["BreakAfter","BreakBefore","BreakInside"]),J("speak",["Header","Numeral","Punctuation"]),J("animation",["Delay","Direction","Duration","FillMode","IterationCount","Name","PlayState","TimingFunction"]),J("flex",["Basis","Direction","Flow","Grow","Shrink","Wrap"]),J("offset",[...ue,...ae,"Anchor","Distance","Path","Position","Rotate"]),J("fontVariant",["Alternates","Caps","EastAsian","Emoji","Ligatures","Numeric","Position"]),J("perspective",["Origin"]),J("pitch",["Range"]),J("clip",["Path","Rule"]),J("flow",["From","Into"]),J("align",["Content","Items","Self"],!0),J("alignment",["Adjust","Baseline"],!0),J("bookmark",["Label","Level","State"],!0),J("borderStart",oe,!0),J("borderEnd",oe,!0),J("borderCorner",["Fit",Z,"ImageTransform"],!0),J("borderTopLeft",ne,!0),J("borderTopRight",ne,!0),J("borderBottomLeft",ne,!0),J("borderBottomRight",ne,!0),J("column",["s","Count","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","Span",Q],!0),J("break",[...ue,"Inside"],!0),J("wrap",[...ue,"Flow","Inside","Through"],!0),J("justify",se,!0),J("place",se,!0),J("max",[...ce,"Lines"],!0),J("min",ce,!0),J("line",["Break","Clamp","Grid","Height","Padding","Snap"],!0),J("inline",["BoxAlign",X,"Sizing"],!0),J("text",["CombineUpright","GroupAlign","Height","Indent","Justify","Orientation","Overflow","Shadow","SpaceCollapse","SpaceTrim","Spacing","Transform","UnderlinePosition","Wrap"],!0),J("shape",["ImageThreshold","Inside","Margin","Outside"],!0),J("word",["Break","Spacing","Wrap"],!0),J("nav",["Down","Left","Right","Up"],!0),J("object",["Fit","Position"],!0),J("box",["DecorationBreak","Shadow","Sizing","Snap"],!0);class de{constructor(e){this._element=e,this._usedStyleProp=new Set,this._value={}}setCssVariables(e){this.hasOwnProperty(e)||Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>this._value[e]||"",set:t=>{le.call(this,t,e)}})}get cssText(){var e="";return this._usedStyleProp.forEach((t=>{var n=this[t];if(n){var r=function(e){return/^--/.test(e)}(t)?t:Object(l.toDashed)(t);e+="".concat(r,": ").concat(n,";")}})),e}set cssText(e){if(null==e&&(e=""),this._usedStyleProp.forEach((e=>{this.removeProperty(e)})),""!==e)for(var t=e.split(";"),n=0;n({name:t,value:e[t]}))).concat(n?{name:O,value:n}:[])}get textContent(){for(var e="",t=this.childNodes,n=0;n0}focus(){this.setAttribute(E,!0)}blur(){this.setAttribute(E,!1)}setAttribute(e,t){var n,r,o=this.nodeName===T&&!M(this)&&!this.isAnyEventBinded();switch(e){case O:this.style.cssText=t;break;case w:q.delete(this.uid),t=String(t),this.props[e]=this.uid=t,q.set(t,this);break;default:this.props[e]=t,e.startsWith("data-")&&(this.dataset===l.EMPTY_OBJ&&(this.dataset=Object.create(null)),this.dataset[Object(l.toCamelCase)(e.replace(/^data-/,""))]=t)}e=D(e);var i={path:"".concat(this._path,".").concat(Object(l.toCamelCase)(e)),value:t};null===(r=(n=this.hooks).modifySetAttrPayload)||void 0===r||r.call(n,this,e,i),this.enqueueUpdate(i),this.nodeName===T&&(Object(l.toCamelCase)(e)===I?this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:t?N:this.isAnyEventBinded()?T:S}):o&&M(this)&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:S}))}removeAttribute(e){var t,n,r,o,i=this.nodeName===T&&M(this)&&!this.isAnyEventBinded();if(e===O)this.style.cssText="";else{if(null===(n=(t=this.hooks).onRemoveAttribute)||void 0===n?void 0:n.call(t,this,e))return;if(!this.props.hasOwnProperty(e))return;delete this.props[e]}e=D(e);var a={path:"".concat(this._path,".").concat(Object(l.toCamelCase)(e)),value:""};null===(o=(r=this.hooks).modifyRmAttrPayload)||void 0===o||o.call(r,this,e,a),this.enqueueUpdate(a),this.nodeName===T&&(Object(l.toCamelCase)(e)===I?this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:this.isAnyEventBinded()?T:M(this)?S:C}):i&&!M(this)&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:C}))}getAttribute(e){var t=e===O?this.style.cssText:this.props[e];return null!=t?t:""}getElementsByTagName(e){return he(this,(t=>t.nodeName===e||"*"===e&&this!==t))}getElementsByClassName(e){return he(this,(t=>{var n=t.classList;return e.trim().split(/\s+/).every((e=>n.has(e)))}))}dispatchEvent(e){var t=e.cancelable,n=this.__handlers[e.type];if(!Object(l.isArray)(n))return!1;for(var r=n.length;r--;){var o=n[r],i=void 0;if(o._stop?o._stop=!1:i=o.call(this,e),(!1===i||e._end)&&t&&(e.defaultPrevented=!0),e._end&&e._stop)break}return e._stop?this._stopPropagation(e):e._stop=!0,null!=n}addEventListener(e,t,n){var r=this.nodeName,o=this.hooks.getSpecialNodes();!this.isAnyEventBinded()&&o.indexOf(r)>-1&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:r}),super.addEventListener(e,t,n)}removeEventListener(e,t){super.removeEventListener(e,t);var n=this.nodeName,r=this.hooks.getSpecialNodes();!this.isAnyEventBinded()&&r.indexOf(n)>-1&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:M(this)?"static-".concat(n):"pure-".concat(n)})}};me=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),p(3,Object(u.c)(f.TaroElementImpl)),h("design:paramtypes",[Function,Function,Function,Function])],me);var ge=Array.isArray,be="object"==typeof r&&r&&r.Object===Object&&r,ye="object"==typeof a&&a&&a.Object===Object&&a,we=be||ye||Function("return this")(),_e=we.Symbol,Oe=Object.prototype,Ee=Oe.hasOwnProperty,Te=Oe.toString,Se=_e?_e.toStringTag:void 0;var Ce=Object.prototype.toString;var je=_e?_e.toStringTag:void 0;function ke(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":je&&je in Object(e)?function(e){var t=Ee.call(e,Se),n=e[Se];try{e[Se]=void 0;var r=!0}catch(e){}var o=Te.call(e);return r&&(t?e[Se]=n:delete e[Se]),o}(e):function(e){return Ce.call(e)}(e)}function Pe(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==ke(e)}var Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xe=/^\w*$/;function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Ne=we["__core-js_shared__"],Be=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var Fe=Function.prototype.toString;var Re=/^\[object .+?Constructor\]$/,Le=Function.prototype,Me=Object.prototype,De=Le.toString,Ue=Me.hasOwnProperty,He=RegExp("^"+De.call(Ue).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $e(e){if(!Ie(e)||function(e){return!!Be&&Be in e}(e))return!1;var t=function(e){if(!Ie(e))return!1;var t=ke(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(e)?He:Re;return t.test(function(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function qe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return $e(n)?n:void 0}var ze=qe(Object,"create");var We=Object.prototype.hasOwnProperty;var Ve=Object.prototype.hasOwnProperty;function Ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},Qe.prototype.set=function(e,t){var n=this.__data__,r=Ke(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Ze=qe(we,"Map");function Xe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;this.pendingUpdate=!0;var n=this.ctx;setTimeout((()=>{pt.start(m);for(var r=Object.create(null),o=new Set(e?["root.cn.[0]","root.cn[0]"]:[]);this.updatePayloads.length>0;){var{path:i,value:a}=this.updatePayloads.shift();i.endsWith("cn")&&o.add(i),r[i]=a}var s=function(e){o.forEach((t=>{e.includes(t)&&e!==t&&delete r[e]}));var t=r[e];Object(l.isFunction)(t)&&(r[e]=t())};for(var c in r)s(c);if(Object(l.isFunction)(t))t(r);else{this.pendingUpdate=!1;var u=[],d=new Map,p={};if(!e){for(var h in r){for(var f=h.split("."),v=!1,b=f.length;b>0;b--){var y=f.slice(0,b).join("."),w=lt(n.__data__||n.data,y);if(w&&w.nn&&"custom-wrapper"===w.nn){var _=w.uid,O=n.selectComponent("#".concat(_)),E=f.slice(b).join(".");O&&(v=!0,d.set(O,Object.assign(Object.assign({},d.get(O)||{}),{["i.".concat(E)]:r[h]})));break}}v||(p[h]=r[h])}d.size>0&&d.forEach(((e,t)=>{u.push({ctx:t,data:e})}))}var T=u.length;if(T){var S="".concat(this._path,"_update_").concat(ht()),C=this.eventCenter,j=0;C.once(S,(()=>{++j===T+1&&(pt.stop(m),this.pendingFlush||this.flushUpdateCallback(),e&&pt.stop(g))}),C),u.forEach((e=>{e.ctx.setData(e.data,(()=>{C.trigger(S)}))})),Object.keys(p).length&&n.setData(p,(()=>{C.trigger(S)}))}else n.setData(r,(()=>{pt.stop(m),this.pendingFlush||this.flushUpdateCallback(),e&&pt.stop(g)}))}}),0)}enqueueUpdateCallback(e,t){this.updateCallbacks.push((()=>{t?e.call(t):e()}))}flushUpdateCallback(){this.pendingFlush=!1;var e=this.updateCallbacks.slice(0);this.updateCallbacks.length=0;for(var t=0;tt;o--){var i=n.charAt(o);if(!_t(i)){if(Et(i))return!1;break}}for(var a=e+1;a"===o))break;r++}for(var i=r+1;i"===a))break;i++}bt(t,e,i);var s=e.slice(r,i);return this.tokens.push({type:"tag",content:s}),s}scanAttrs(){for(var{html:e,position:t,tokens:n}=this,r=t.index,o=null,i=r,a=[],s=e.length;r"===c){r!==i&&a.push(e.slice(i,r));break}if(Ct(r,i,e))r!==i&&a.push(e.slice(i,r)),i=r+1,r++;else"'"===c||'"'===c?(o=c,r++):r++}}bt(t,e,r);for(var u=a.length,l="attribute",d=0;d1){var f=p+h;n.push({type:l,content:f}),d+=1;continue}var v=a[d+2];if(d+=1,v){var m=p+"="+v;n.push({type:l,content:m}),d+=1;continue}}}if(p.endsWith("=")){var g=a[d+1];if(g&&!g.includes("=")){var b=p+g;n.push({type:l,content:b}),d+=1;continue}var y=p.slice(0,-1);n.push({type:l,content:y})}else n.push({type:l,content:p})}}scanSkipTag(e){for(var{html:t,position:n}=this,r=e.toLowerCase(),o=t.length;n.index!!n[e.toLowerCase()]:e=>!!n[e]}var Pt={img:"image",iframe:"web-view"},At=Object.keys(l.internalComponents).map((e=>e.toLowerCase())).join(","),xt=kt(At,!0),It=kt("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),Nt=kt("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 Bt(e){var t=e.charAt(0),n=e.length-1;return('"'===t||"'"===t)&&t===e.charAt(n)?e.slice(1,n):e}class Ft{constructor(){this.styles=[]}extractStyle(e){var t=e;return t=t.replace(/]*>((.|\n|\s)+?)<\/style>/g,((e,t)=>{var n=t.trim();return this.stringToSelector(n),""})),t.trim()}stringToSelector(e){for(var t=this,n=e.indexOf("{"),r=function(){var r=e.indexOf("}"),o=e.slice(0,n).trim(),i=e.slice(n+1,r);i=i.replace(/:(.*);/g,(function(e,t){var n=t.trim().replace(/ +/g,"+++");return":".concat(n,";")})),i=(i=i.replace(/ /g,"")).replace(/\+\+\+/g," "),/;$/.test(i)||(i+=";"),o.split(",").forEach((e=>{var n=t.parseSelector(e);t.styles.push({content:i,selectorList:n})})),e=e.slice(r+1),n=e.indexOf("{")};n>-1;)r()}parseSelector(e){var t=e.trim().replace(/ *([>~+]) */g," $1").replace(/ +/g," ").split(" ").map((e=>{var t=e.charAt(0),n={isChild:">"===t,isGeneralSibling:"~"===t,isAdjacentSibling:"+"===t,tag:null,id:null,class:[],attrs:[]};return e=(e=e.replace(/^[>~+]/,"")).replace(/\[(.+?)\]/g,(function(e,t){var[r,o]=t.split("="),i=-1===t.indexOf("="),a={all:i,key:r,value:i?null:o};return n.attrs.push(a),""})),e=e.replace(/([.#][A-Za-z0-9-_]+)/g,(function(e,t){return"#"===t[0]?n.id=t.substr(1):"."===t[0]&&n.class.push(t.substr(1)),""})),""!==e&&(n.tag=e),n}));return t}matchStyle(e,t,n){var r=function(e){return e.sort(((e,t)=>{var n=Lt(e.selectorList),r=Lt(t.selectorList);if(n!==r)return n-r;var o=Mt(e.selectorList),i=Mt(t.selectorList);return o!==i?o-i:Dt(e.selectorList)-Dt(t.selectorList)}))}(this.styles).reduce(((r,o,i)=>{var{content:a,selectorList:s}=o,c=n[i],u=s[c],l=s[c+1];((null==l?void 0:l.isGeneralSibling)||(null==l?void 0:l.isAdjacentSibling))&&(u=l,c+=1,n[i]+=1);var d=this.matchCurrent(e,t,u);if(d&&u.isGeneralSibling)for(var p=Rt(t);p;){if(p.h5tagName&&this.matchCurrent(p.h5tagName,p,s[c-1])){d=!0;break}p=Rt(p),d=!1}if(d&&u.isAdjacentSibling){var h=Rt(t);if(h&&h.h5tagName)this.matchCurrent(h.h5tagName,h,s[c-1])||(d=!1);else d=!1}if(d){if(c===s.length-1)return r+a;c0&&(n[i]-=1,this.matchCurrent(e,t,s[n[i]])&&(n[i]+=1));return r}),"");return r}matchCurrent(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(" "),o=0;oe+(t.id?1:0)),0)}function Mt(e){return e.reduce(((e,t)=>e+t.class.length+t.attrs.length),0)}function Dt(e){return e.reduce(((e,t)=>e+(t.tag?1:0)),0)}var Ut={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]};function Ht(e,t){var n=Ut[e];if(n)for(var r=t.length-1;r>=0;){var o=t[r].tagName;if(o===e)break;if(n&&n.includes(o))return!0;r--}return!1}function $t(e){var t=e.indexOf("=");return-1===t?[e]:[e.slice(0,t).trim(),e.slice(t+"=".length).trim()]}function qt(e,t,n,r){return e.filter((e=>"comment"!==e.type&&("text"!==e.type||""!==e.content))).map((e=>{if("text"===e.type){var o=t.createTextNode(e.content);return Object(l.isFunction)(dt.html.transformText)&&(o=dt.html.transformText(o,e)),null==r||r.appendChild(o),o}var i=t.createElement(function(e){return dt.html.renderHTMLTag?e:Pt[e]?Pt[e]:xt(e)?e:Nt(e)?"view":It(e)?"text":"view"}(e.tagName));i.h5tagName=e.tagName,null==r||r.appendChild(i),dt.html.renderHTMLTag||(i.className="h5-".concat(e.tagName));for(var a=0;a-1;)if(n[u].tagName===c){l=!0;break}for(;r0;){if(c===n[p].tagName){n.splice(p),i=n[p-1].children;break}p-=1}for(var h=[],f=void 0;r2&&void 0!==arguments[2]&&arguments[2],o=t();for(var i in 1===e.nodeType?n=o.createElement(e.nodeName):3===e.nodeType&&(n=o.createTextNode("")),this){var a=this[i];[j,k].includes(i)&&typeof a===P?n[i]=Object.assign({},a):"_value"===i?n[i]=a:i===O&&(n.style._value=Object.assign({},a._value),n.style._usedStyleProp=new Set(Array.from(a._usedStyleProp)))}return r&&(n.childNodes=e.childNodes.map((e=>e.cloneNode(!0)))),n}dt.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 Kt=class{constructor(e){this.getDoc=()=>e($.Document)()}bind(e){var t=this.getDoc;(function(e,t){Object.defineProperty(e,"innerHTML",{configurable:!0,enumerable:!0,set(n){Vt.call(e,e,n,t)},get:()=>""})})(e,t),function(e,t){e.insertAdjacentHTML=function(n,r){Gt.call(e,n,r,t)}}(e,t),e.cloneNode=Jt.bind(e,e,t)}};Kt=d([Object(u.d)(),p(0,Object(u.c)(f.TaroElementFactory)),h("design:paramtypes",[Function])],Kt);var Yt=class{bind(e){!function(e){Object.defineProperty(e,"content",{configurable:!0,enumerable:!0,get:()=>function(e){if("template"===e.nodeName){var t=e._getElement($.Element)(y);return t.childNodes=e.childNodes,e.childNodes=[t],t.parentNode=e,t.childNodes.forEach((e=>{e.parentNode=t})),t}}(e)})}(e)}};Yt=d([Object(u.d)()],Yt);var Qt=class extends me{constructor(e,t,n,r,o){super(e,t,n,r),this._getText=o,this.nodeType=9,this.nodeName="#document"}createElement(e){return e===b?this._getElement($.RootElement)():l.controlledComponent.has(e)?this._getElement($.FormElement)(e):this._getElement($.Element)(e)}createElementNS(e,t){return this.createElement(t)}createTextNode(e){return this._getText(e)}getElementById(e){var t=q.get(e);return Object(l.isUndefined)(t)?null:t}querySelector(e){return/^#/.test(e)?this.getElementById(e.slice(1)):null}querySelectorAll(){return[]}createComment(){var e=this._getText("");return e.nodeName=B,e}};Qt=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),p(3,Object(u.c)(f.TaroElementImpl)),p(4,Object(u.c)(f.TaroTextFactory)),h("design:paramtypes",[Function,Function,Function,Function,Function])],Qt);var Zt=class{modifyMpEvent(e){var t;null===(t=this.modifyMpEventImpls)||void 0===t||t.forEach((t=>t(e)))}modifyTaroEvent(e,t){var n;null===(n=this.modifyTaroEventImpls)||void 0===n||n.forEach((n=>n(e,t)))}initNativeApi(e){var t;null===(t=this.initNativeApiImpls)||void 0===t||t.forEach((t=>t(e)))}patchElement(e){var t;null===(t=this.patchElementImpls)||void 0===t||t.forEach((t=>t(e)))}};d([Object(u.c)(f.getLifecycle),h("design:type",Function)],Zt.prototype,"getLifecycle",void 0),d([Object(u.c)(f.getPathIndex),h("design:type",Function)],Zt.prototype,"getPathIndex",void 0),d([Object(u.c)(f.getEventCenter),h("design:type",Function)],Zt.prototype,"getEventCenter",void 0),d([Object(u.c)(f.isBubbleEvents),h("design:type",Function)],Zt.prototype,"isBubbleEvents",void 0),d([Object(u.c)(f.getSpecialNodes),h("design:type",Function)],Zt.prototype,"getSpecialNodes",void 0),d([Object(u.c)(f.onRemoveAttribute),Object(u.f)(),h("design:type",Function)],Zt.prototype,"onRemoveAttribute",void 0),d([Object(u.c)(f.batchedEventUpdates),Object(u.f)(),h("design:type",Function)],Zt.prototype,"batchedEventUpdates",void 0),d([Object(u.c)(f.mergePageInstance),Object(u.f)(),h("design:type",Function)],Zt.prototype,"mergePageInstance",void 0),d([Object(u.c)(f.createPullDownComponent),Object(u.f)(),h("design:type",Function)],Zt.prototype,"createPullDownComponent",void 0),d([Object(u.c)(f.getDOMNode),Object(u.f)(),h("design:type",Function)],Zt.prototype,"getDOMNode",void 0),d([Object(u.c)(f.modifyHydrateData),Object(u.f)(),h("design:type",Function)],Zt.prototype,"modifyHydrateData",void 0),d([Object(u.c)(f.modifySetAttrPayload),Object(u.f)(),h("design:type",Function)],Zt.prototype,"modifySetAttrPayload",void 0),d([Object(u.c)(f.modifyRmAttrPayload),Object(u.f)(),h("design:type",Function)],Zt.prototype,"modifyRmAttrPayload",void 0),d([Object(u.c)(f.onAddEvent),Object(u.f)(),h("design:type",Function)],Zt.prototype,"onAddEvent",void 0),d([Object(u.e)(f.modifyMpEvent),Object(u.f)(),h("design:type",Array)],Zt.prototype,"modifyMpEventImpls",void 0),d([Object(u.e)(f.modifyTaroEvent),Object(u.f)(),h("design:type",Array)],Zt.prototype,"modifyTaroEventImpls",void 0),d([Object(u.e)(f.initNativeApi),Object(u.f)(),h("design:type",Array)],Zt.prototype,"initNativeApiImpls",void 0),d([Object(u.e)(f.patchElement),Object(u.f)(),h("design:type",Array)],Zt.prototype,"patchElementImpls",void 0),Zt=d([Object(u.d)()],Zt);var Xt=new Set(["touchstart","touchmove","touchcancel","touchend","touchforcechange","tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend"]),en=function(e,t){return e[t]},tn=function(e){return"[".concat(e,"]")},nn=function(e){return new e},rn=function(e){return Xt.has(e)},on=function(){return["view","text","image"]},an=new u.b((e=>{e(f.getLifecycle).toFunction(en),e(f.getPathIndex).toFunction(tn),e(f.getEventCenter).toFunction(nn),e(f.isBubbleEvents).toFunction(rn),e(f.getSpecialNodes).toFunction(on)}));function sn(e){Object.keys(l.defaultReconciler).forEach((t=>{if(t in f){var n=f[t],r=l.defaultReconciler[t];Object(l.isArray)(r)?r.forEach((t=>e.bind(n).toFunction(t))):e.isBound(n)?e.rebind(n).toFunction(r):e.bind(n).toFunction(r)}}))}var cn,un,ln,dn=new u.a;dn.bind(f.TaroElement).to(me).whenTargetNamed($.Element),dn.bind(f.TaroElement).to(Qt).inSingletonScope().whenTargetNamed($.Document),dn.bind(f.TaroElement).to(ft).whenTargetNamed($.RootElement),dn.bind(f.TaroElement).to(vt).whenTargetNamed($.FormElement),dn.bind(f.TaroElementFactory).toFactory((e=>t=>n=>{var r=e.container.getNamed(f.TaroElement,t);return n&&(r.nodeName=n),r.tagName=r.nodeName.toUpperCase(),r})),dn.bind(f.TaroText).to(V),dn.bind(f.TaroTextFactory).toFactory((e=>t=>{var n=e.container.get(f.TaroText);return n._value=t,n})),dn.bind(f.TaroNodeImpl).to(Kt).inSingletonScope(),dn.bind(f.TaroElementImpl).to(Yt).inSingletonScope(),dn.bind(f.Hooks).to(Zt).inSingletonScope(),dn.load(an),sn(dn),cn=dn.get(f.Hooks),un=dn.get(f.TaroElementFactory),ln=un($.Document)();class pn{constructor(e,t,n){this._stop=!1,this._end=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this.type=e.toLowerCase(),this.mpEvent=n,this.bubbles=Boolean(t&&t.bubbles),this.cancelable=Boolean(t&&t.cancelable)}stopPropagation(){this._stop=!0}stopImmediatePropagation(){this._end=this._stop=!0}preventDefault(){this.defaultPrevented=!0}get target(){var e,t,n,r=ln.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:l.EMPTY_OBJ})}get currentTarget(){var e,t,n,r=ln.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})}}function hn(e,t){if("string"==typeof e)return new pn(e,{bubbles:!0,cancelable:!0});var n=new pn(e.type,{bubbles:!0,cancelable:!0},e);for(var r in e)"currentTarget"!==r&&"target"!==r&&"type"!==r&&"timeStamp"!==r&&(n[r]=e[r]);return"confirm"===n.type&&(null==t?void 0:t.nodeName)===x&&(n.keyCode=13),n}var fn={};function vn(e){var t;null===(t=cn.modifyMpEvent)||void 0===t||t.call(cn,e),null==e.currentTarget&&(e.currentTarget=e.target);var n=ln.getElementById(e.currentTarget.id);if(n){var r=()=>{var t,r=hn(e,n);null===(t=cn.modifyTaroEvent)||void 0===t||t.call(cn,r,n),n.dispatchEvent(r)};if("function"==typeof cn.batchedEventUpdates){var o=e.type;!cn.isBubbleEvents(o)||!function(e,t){for(var n,r=!1;(null==e?void 0:e.parentElement)&&e.parentElement._path!==b;){if(null===(n=e.parentElement.__handlers[t])||void 0===n?void 0:n.length){r=!0;break}e=e.parentElement}return r}(n,o)||"touchmove"===o&&n.props.catchMove?cn.batchedEventUpdates((()=>{fn[o]&&(fn[o].forEach((e=>e())),delete fn[o]),r()})):(fn[o]||(fn[o]=[])).push(r)}else r()}}var mn=void 0!==o&&!!o.scripts,gn=mn?o:l.EMPTY_OBJ,bn=mn?i:l.EMPTY_OBJ;function yn(){var e=dn.get(f.TaroElementFactory)($.Document)(),t=e.createElement.bind(e),n=t("html"),r=t("head"),o=t("body"),i=t("app");i.id="app";var a=t("container");return e.appendChild(n),n.appendChild(r),n.appendChild(o),o.appendChild(a),a.appendChild(i),e.documentElement=n,e.head=r,e.body=o,e.createEvent=hn,e}var wn,_n=mn?gn:yn(),On="Macintosh",En="Intel Mac OS X 10_14_5",Tn="AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",Sn=mn?bn.navigator:{appCodeName:"Mozilla",appName:"Netscape",appVersion:"5.0 ("+On+"; "+En+") "+Tn,cookieEnabled:!0,mimeTypes:[],onLine:!0,platform:"MacIntel",plugins:[],product:"Taro",productSub:"20030107",userAgent:"Mozilla/5.0 ("+On+"; "+En+") "+Tn,vendor:"Joyent",vendorSub:""};!function(){var e;"undefined"!=typeof performance&&null!==performance&&performance.now?wn=function(){return performance.now()}:Date.now?(wn=function(){return Date.now()-e},e=Date.now()):(wn=function(){return(new Date).getTime()-e},e=(new Date).getTime())}();var Cn=0,jn=null!=s?s:function(e){var t=wn(),n=Math.max(Cn+16,t);return setTimeout((function(){e(Cn=n)}),n-t)},kn=null!=c?c:function(e){clearTimeout(e)};function Pn(e){return e.style}var An=mn?bn:{navigator:Sn,document:_n};mn||([...Object.getOwnPropertyNames(r||bn),...Object.getOwnPropertySymbols(r||bn)].forEach((e=>{"atob"!==e&&(Object.prototype.hasOwnProperty.call(An,e)||(An[e]=r[e]))})),_n.defaultView=An);An.requestAnimationFrame=jn,An.cancelAnimationFrame=kn,An.getComputedStyle=Pn,An.addEventListener=function(){},An.removeEventListener=function(){},"Date"in An||(An.Date=Date),"setTimeout"in An||(An.setTimeout=setTimeout);var xn={app:null,router:null,page:null},In=()=>xn;class Nn{constructor(e){void 0!==e&&e.callbacks?this.callbacks=e.callbacks:this.callbacks={}}on(e,t,n){var r,o,i,a;if(!t)return this;e=e.split(Nn.eventSplitter),this.callbacks||(this.callbacks={});for(var s=this.callbacks;r=e.shift();)(o=(a=s[r])?a.tail:{}).next=i={},o.context=n,o.callback=t,s[r]={tail:i,next:a?a.next:o};return this}once(e,t,n){var r=this;return this.on(e,(function o(){for(var i=arguments.length,a=new Array(i),s=0;s2?n-2:0),o=2;oe.apply(i,r)));return s[0]}if(Object(l.isFunction)(a))return a.apply(i,r)}}function $n(e){if(null==e)return"";var t=Object.keys(e).map((t=>t+"="+e[t])).join("&");return""===t?t:"?"+t}function qn(e,t){var n=e;return mn||(n=e+$n(t)),n}function zn(e){return e+".onReady"}function Wn(e){return e+".onShow"}function Vn(e){return e+".onHide"}function Gn(e,t,n,r){var o,i,a,s,c=null!=t?t:"taro_page_".concat(Rn()),u=null,d=!1,p=[],h={onLoad(t,n){s=new Promise((e=>{a=e})),pt.start(g),xn.page=this,this.config=r||{},t.$taroTimestamp=Date.now(),this.$taroPath=qn(c,t),null==this.$taroParams&&(this.$taroParams=Object.assign({},t));var o=mn?this.$taroPath:this.route||this.__route__;xn.router={params:this.$taroParams,path:Un(o),onReady:zn(c),onShow:Wn(c),onHide:Vn(c)};var i=()=>{xn.app.mount(e,this.$taroPath,(()=>{u=_n.getElementById(this.$taroPath),Object(l.ensure)(null!==u,"没有找到页面实例。"),Hn(this.$taroPath,"onLoad",this.$taroParams),a(),mn?Object(l.isFunction)(n)&&n():(u.ctx=this,u.performUpdate(!0,n))}))};d?p.push(i):i()},onReady(){jn((()=>{Bn.trigger(zn(c))})),Hn(this.$taroPath,"onReady"),this.onReady.called=!0},onUnload(){d=!0,xn.app.unmount(this.$taroPath,(()=>{d=!1,Fn.delete(this.$taroPath),u&&(u.ctx=null),p.length&&(p.forEach((e=>e())),p=[])}))},onShow(){s.then((()=>{xn.page=this,this.config=r||{};var e=mn?this.$taroPath:this.route||this.__route__;xn.router={params:this.$taroParams,path:Un(e),onReady:zn(c),onShow:Wn(c),onHide:Vn(c)},jn((()=>{Bn.trigger(Wn(c))})),Hn(this.$taroPath,"onShow")}))},onHide(){xn.page=null,xn.router=null,Hn(this.$taroPath,"onHide"),Bn.trigger(Vn(c))},onPullDownRefresh(){return Hn(this.$taroPath,"onPullDownRefresh")},onReachBottom(){return Hn(this.$taroPath,"onReachBottom")},onPageScroll(e){return Hn(this.$taroPath,"onPageScroll",e)},onResize(e){return Hn(this.$taroPath,"onResize",e)},onTabItemTap(e){return Hn(this.$taroPath,"onTabItemTap",e)},onTitleClick(){return Hn(this.$taroPath,"onTitleClick")},onOptionMenuClick(){return Hn(this.$taroPath,"onOptionMenuClick")},onPopMenuClick(){return Hn(this.$taroPath,"onPopMenuClick")},onPullIntercept(){return Hn(this.$taroPath,"onPullIntercept")},onAddToFavorites(){return Hn(this.$taroPath,"onAddToFavorites")}};return(e.onShareAppMessage||(null===(o=e.prototype)||void 0===o?void 0:o.onShareAppMessage)||e.enableShareAppMessage)&&(h.onShareAppMessage=function(e){var t=null==e?void 0:e.target;if(null!=t){var n=t.id,r=_n.getElementById(n);null!=r&&(e.target.dataset=r.dataset)}return Hn(this.$taroPath,"onShareAppMessage",e)}),(e.onShareTimeline||(null===(i=e.prototype)||void 0===i?void 0:i.onShareTimeline)||e.enableShareTimeline)&&(h.onShareTimeline=function(){return Hn(this.$taroPath,"onShareTimeline")}),h.eh=vn,Object(l.isUndefined)(n)||(h.data=n),mn&&(h.path=c),h}function Jn(e,t,n){var r,o,i,a=null!=t?t:"taro_component_".concat(Rn()),s=null,c={attached(){var t;pt.start(g);var n=qn(a,{id:(null===(t=this.getPageId)||void 0===t?void 0:t.call(this))||Rn()});xn.app.mount(e,n,(()=>{s=_n.getElementById(n),Object(l.ensure)(null!==s,"没有找到组件实例。"),Hn(n,"onLoad"),mn||(s.ctx=this,s.performUpdate(!0))}))},detached(){var e=qn(a,{id:this.getPageId()});xn.app.unmount(e,(()=>{Fn.delete(e),s&&(s.ctx=null)}))},methods:{eh:vn}};return Object(l.isUndefined)(n)||(c.data=n),c.options=null!==(r=null==e?void 0:e.options)&&void 0!==r?r:l.EMPTY_OBJ,c.externalClasses=null!==(o=null==e?void 0:e.externalClasses)&&void 0!==o?o:l.EMPTY_OBJ,c.behaviors=null!==(i=null==e?void 0:e.behaviors)&&void 0!==i?i:l.EMPTY_OBJ,c}function Kn(e){return{properties:{i:{type:Object,value:{nn:"view"}},l:{type:String,value:""}},options:{addGlobalClass:!0,virtualHost:"custom-wrapper"!==e},methods:{eh:vn}}}var Yn=dn.get(f.Hooks);function Qn(e,t){var n;return Object(l.isFunction)(t.render)||!!(null===(n=t.prototype)||void 0===n?void 0:n.isReactComponent)||t.prototype instanceof e.Component}var Zn,Xn=l.EMPTY_OBJ,er=l.EMPTY_OBJ;function tr(e,t){var n=e.createElement;return r=>{var o=e=>e&&Mn(e,t),i=Qn(e,r)?{ref:o}:{forwardedRef:o,reactReduxForwardedRef:o};return er===l.EMPTY_OBJ&&(er=e.createContext("")),class extends e.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){}render(){var e=this.state.hasError?[]:n(er.Provider,{value:t},n(r,Object.assign(Object.assign({},this.props),i)));return mn?n("div",{id:t,className:"taro_page"},e):n("root",{id:t},e)}}}}function nr(){Yn.getLifecycle=function(e,t){return e[t=t.replace(/^on(Show|Hide)$/,"componentDid$1")]},Yn.modifyMpEvent=function(e){e.type=e.type.replace(/-/g,"")},Yn.batchedEventUpdates=function(e){Zn.unstable_batchedUpdates(e)},Yn.mergePageInstance=function(e,t){e&&t&&("constructor"in e||Object.keys(e).forEach((n=>{Object(l.isFunction)(t[n])?t[n]=[t[n],...e[n]]:t[n]=[...t[n]||[],...e[n]]})))}}var rr=F();function or(e,t,n,r){Xn=t,Zn=n,Object(l.ensure)(!!Zn,"构建 React/Nerv 项目请把 process.env.FRAMEWORK 设置为 'react'/'nerv' ");var o,i=Xn.createRef(),a=Qn(Xn,e);nr();class s extends Xn.Component{constructor(){super(...arguments),this.pages=[],this.elements=[]}mount(e,t,n){var r=t+rr();this.pages.push((()=>Xn.createElement(e,{key:r,tid:t}))),this.forceUpdate(n)}unmount(e,t){for(var n=0;n0;){var t=this.pages.pop();this.elements.push(t())}var n=null;return a&&(n={ref:i}),Xn.createElement(e,n,mn?Xn.createElement("div",null,this.elements.slice()):this.elements.slice())}}mn||(o=Zn.render(Xn.createElement(s),_n.getElementById("app")));var c=Object.create({render(e){o.forceUpdate(e)},mount(e,t,n){var r=tr(Xn,t)(e);o.mount(r,t,n)},unmount(e,t){o.unmount(e,t)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:r},onLaunch:{enumerable:!0,writable:!0,value(e){xn.router=Object.assign({params:null==e?void 0:e.query},e),mn&&(o=Zn.render(Xn.createElement(s),_n.getElementById("app")));var t=i.current;if(null==t?void 0:t.taroGlobalData){var n=t.taroGlobalData,r=Object.keys(n),a=Object.getOwnPropertyDescriptors(n);r.forEach((e=>{Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:()=>n[e],set(t){n[e]=t}})})),Object.defineProperties(this,a)}this.$app=t,null!=t&&Object(l.isFunction)(t.onLaunch)&&t.onLaunch(e)}},onShow:{enumerable:!0,writable:!0,value(e){var t=i.current;xn.router=Object.assign({params:null==e?void 0:e.query},e),null!=t&&Object(l.isFunction)(t.componentDidShow)&&t.componentDidShow(e),u("onShow")}},onHide:{enumerable:!0,writable:!0,value(e){var t=i.current;null!=t&&Object(l.isFunction)(t.componentDidHide)&&t.componentDidHide(e),u("onHide")}},onPageNotFound:{enumerable:!0,writable:!0,value(e){var t=i.current;null!=t&&Object(l.isFunction)(t.onPageNotFound)&&t.onPageNotFound(e)}}});function u(e){var t=Dn(v);if(t){var n=i.current,r=Yn.getLifecycle(t,e);Array.isArray(r)&&r.forEach((e=>e.apply(n)))}}return xn.app=c,xn.app}var ir,ar=F();function sr(e,t,n,r){Xn=t,Zn=n,nr();var o={properties:{props:{type:null,value:null,observer(e,t){t&&this.component.forceUpdate()}}},created(){xn.app||function(e,t){class n extends e.Component{constructor(){super(...arguments),this.root=e.createRef(),this.ctx=this.props.getCtx()}componentDidMount(){this.ctx.component=this;var e=this.root.current;e.ctx=this.ctx,e.performUpdate(!0)}render(){return e.createElement("root",{ref:this.root},this.props.renderComponent(this.ctx))}}class r extends e.Component{constructor(){super(...arguments),this.state={components:[]}}componentDidMount(){xn.app=this}mount(t,r,o){var i=e=>e&&Mn(e,r),a=Qn(e,t)?{ref:i}:{forwardedRef:i,reactReduxForwardedRef:i},s={compId:r,element:e.createElement(n,{key:r,getCtx:o,renderComponent:n=>e.createElement(t,Object.assign(Object.assign({},(n.data||(n.data={})).props),a))})};this.setState({components:[...this.state.components,s]})}unmount(e){var t=this.state.components,n=t.findIndex((t=>t.compId===e)),r=[...t.slice(0,n),...t.slice(n+1)];this.setState({components:r})}render(){return this.state.components.map((e=>{var{element:t}=e;return t}))}}nr();var o=_n.getElementById("app");t.render(e.createElement(r,{}),o)}(Xn,Zn)},attached(){(function(){var e=getCurrentPages(),t=e[e.length-1];if(xn.page!==t){xn.page=t;var n=t.route||t.__route__,r={params:t.options||{},path:Un(n),onReady:"",onHide:"",onShow:""};xn.router=r,t.options||Object.defineProperty(t,"options",{enumerable:!0,configurable:!0,get(){return this._optionsValue},set(e){r.params=e,this._optionsValue=e}})}})(),this.compId=ar(),this.config=r,xn.app.mount(e,this.compId,(()=>this))},ready(){Hn(this.compId,"onReady")},detached(){xn.app.unmount(this.compId)},pageLifetimes:{show(){Hn(this.compId,"onShow")},hide(){Hn(this.compId,"onHide")}},methods:{eh:vn}};return o}function cr(e,t){return n=>{var r=e.extend({props:{tid:String},mixins:[n,{created(){Mn(this,t)}}]}),o={render:e=>e(mn?"div":"root",{attrs:{id:t,class:mn?"taro_page":""}},[e(r,{props:{tid:t}})])};return o}}function ur(e,t,n){ir=t,Object(l.ensure)(!!ir,"构建 Vue 项目请把 process.env.FRAMEWORK 设置为 'vue'"),function(){var e=dn.get(f.Hooks);e.onRemoveAttribute=function(e,t){var n=e.props;if(!n.hasOwnProperty(t)||Object(l.isBoolean)(n[t]))return e.setAttribute(t,!1),!0},e.getLifecycle=function(e,t){return e.$options[t]}}(),ir.config.getTagNamespace=l.noop;var r,o=[],i=[],a=new ir({render(t){for(;i.length>0;){var n=i.pop();o.push(n(t))}return t(e,{ref:"app"},o.slice())},methods:{mount(e,t,n){i.push((n=>n(e,{key:t}))),this.updateSync(n)},updateSync(e){this._update(this._render(),!1),this.$children.forEach((e=>e._update(e._render(),!1))),e()},unmount(e,t){for(var n=0;n{Hn(t,"onShow")}))}};if(Object(l.isArray)(n.mixins)){var i=n.mixins,a=i.length-1;(null===(r=i[a].props)||void 0===r?void 0:r.tid)?n.mixins[a]=o:n.mixins.push(o)}else n.mixins=[o];return e(mn?"div":"root",{key:t,id:t,class:mn?"taro_page":""},[e(Object.assign({},n),{tid:t})])}}(t,n)(e);o.push(i),this.updateAppInstance(r)},unmount(e,t){o=o.filter((t=>t.key!==e)),this.updateAppInstance(t)},updateAppInstance(e){r.$forceUpdate(),r.$nextTick(e)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:n},onLaunch:{writable:!0,enumerable:!0,value(t){var n;if(xn.router=Object.assign({params:null==t?void 0:t.query},t),mn&&(r=e.mount("#app")),e.taroGlobalData){var o=e.taroGlobalData,i=Object.keys(o),a=Object.getOwnPropertyDescriptors(o);i.forEach((e=>{Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:()=>o[e],set(t){o[e]=t}})})),Object.defineProperties(this,a)}var s=null===(n=null==r?void 0:r.$options)||void 0===n?void 0:n.onLaunch;Object(l.isFunction)(s)&&s.call(r,t)}},onShow:{writable:!0,enumerable:!0,value(e){var t;xn.router=Object.assign({params:null==e?void 0:e.query},e);var n=null===(t=null==r?void 0:r.$options)||void 0===t?void 0:t.onShow;Object(l.isFunction)(n)&&n.call(r,e)}},onHide:{writable:!0,enumerable:!0,value(e){var t,n=null===(t=null==r?void 0:r.$options)||void 0===t?void 0:t.onHide;Object(l.isFunction)(n)&&n.call(r,e)}}});return xn.app=i,xn.app}var dr=e=>t=>{var n=Xn.useContext(er)||v,r=Xn.useRef(t);r.current!==t&&(r.current=t),Xn.useLayoutEffect((()=>{var t=Dn(n),o=!1;null==t&&(o=!0,t=Object.create(null)),t=t;var i=function(){return r.current(...arguments)};return Object(l.isFunction)(t[e])?t[e]=[t[e],i]:t[e]=[...t[e]||[],i],o&&Mn(t,n),()=>{var t=Dn(n),r=t[e];r===i?t[e]=void 0:Object(l.isArray)(r)&&(t[e]=r.filter((e=>e!==i)))}}),[])},pr=dr("componentDidShow"),hr=dr("componentDidHide"),fr=dr("onPullDownRefresh"),vr=dr("onReachBottom"),mr=dr("onPageScroll"),gr=dr("onResize"),br=dr("onShareAppMessage"),yr=dr("onTabItemTap"),wr=dr("onTitleClick"),_r=dr("onOptionMenuClick"),Or=dr("onPullIntercept"),Er=dr("onShareTimeline"),Tr=dr("onAddToFavorites"),Sr=dr("onReady"),Cr=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?xn.router:Xn.useMemo((()=>xn.router),[])},jr=()=>{};var kr=(e,t)=>{var n,r,o,i=xn.router,a=()=>{setTimeout((function(){t?e.call(t):e()}),1)};if(null!==i){var s=null,c=qn(function(e){return null==e?"":"/"===e.charAt(0)?e.slice(1):e}(i.path),i.params);(null==(s=_n.getElementById(c))?void 0:s.pendingUpdate)?mn?null!==(o=null===(r=null===(n=s.firstChild)||void 0===n?void 0:n.componentOnReady)||void 0===r?void 0:r.call(n).then((()=>{a()})))&&void 0!==o||a():s.enqueueUpdateCallback(e,t):a()}else a()}}.call(this,n(425),n(347),n(43).document,n(43).window,n(43).requestAnimationFrame,n(43).cancelAnimationFrame)},46:function(e,t,n){"use strict";function r(e){return"string"==typeof e}function o(e){return void 0===e}function i(e){return null===e}function a(e){return null!==e&&"object"==typeof e}function s(e){return!0===e||!1===e}function c(e){return"function"==typeof e}function u(e){return"number"==typeof e}function l(e){return"true"===e||"false"===e}n.r(t),n.d(t,"EMPTY_ARR",(function(){return S})),n.d(t,"EMPTY_OBJ",(function(){return T})),n.d(t,"animationEvents",(function(){return v})),n.d(t,"box",(function(){return k})),n.d(t,"cacheDataGet",(function(){return z})),n.d(t,"cacheDataHas",(function(){return W})),n.d(t,"cacheDataSet",(function(){return q})),n.d(t,"capitalize",(function(){return N})),n.d(t,"controlledComponent",(function(){return w})),n.d(t,"defaultReconciler",(function(){return j})),n.d(t,"ensure",(function(){return R})),n.d(t,"events",(function(){return h})),n.d(t,"focusComponents",(function(){return _})),n.d(t,"getUniqueKey",(function(){return H})),n.d(t,"hasOwn",(function(){return F})),n.d(t,"indent",(function(){return Y})),n.d(t,"internalComponents",(function(){return y})),n.d(t,"isArray",(function(){return d})),n.d(t,"isBoolean",(function(){return s})),n.d(t,"isBooleanStringLiteral",(function(){return l})),n.d(t,"isFunction",(function(){return c})),n.d(t,"isNull",(function(){return i})),n.d(t,"isNumber",(function(){return u})),n.d(t,"isObject",(function(){return a})),n.d(t,"isString",(function(){return r})),n.d(t,"isUndefined",(function(){return o})),n.d(t,"mergeInternalComponents",(function(){return V})),n.d(t,"mergeReconciler",(function(){return G})),n.d(t,"nestElements",(function(){return E})),n.d(t,"noop",(function(){return C})),n.d(t,"processApis",(function(){return ee})),n.d(t,"queryToJson",(function(){return M})),n.d(t,"setUniqueKeyToRoute",(function(){return K})),n.d(t,"singleQuote",(function(){return m})),n.d(t,"styles",(function(){return p})),n.d(t,"toCamelCase",(function(){return x})),n.d(t,"toDashed",(function(){return A})),n.d(t,"toKebabCase",(function(){return I})),n.d(t,"touchEvents",(function(){return f})),n.d(t,"unbox",(function(){return P})),n.d(t,"unsupport",(function(){return J})),n.d(t,"voidElements",(function(){return O})),n.d(t,"warn",(function(){return L}));var d=Array.isArray,p={style:"i.".concat("st"),class:"i.".concat("cl")},h={bindtap:"eh"},f={bindTouchStart:"",bindTouchMove:"",bindTouchEnd:"",bindTouchCancel:"",bindLongTap:""},v={bindAnimationStart:"",bindAnimationIteration:"",bindAnimationEnd:"",bindTransitionEnd:""};function m(e){return"'".concat(e,"'")}var g=Object.assign(Object.assign({"hover-class":m("none"),"hover-stop-propagation":"false","hover-start-time":"50","hover-stay-time":"400",animation:""},f),v),b=Object.assign({longitude:"",latitude:"",scale:"16",markers:"[]",covers:"",polyline:"[]",circles:"[]",controls:"[]","include-points":"[]","show-location":"","layer-style":"1",bindMarkerTap:"",bindControlTap:"",bindCalloutTap:"",bindUpdated:""},f),y={View:g,Icon:{type:"",size:"23",color:""},Progress:{percent:"","stroke-width":"6",color:m("#09BB07"),activeColor:m("#09BB07"),backgroundColor:m("#EBEBEB"),active:"false","active-mode":m("backwards"),"show-info":"false"},RichText:{nodes:"[]"},Text:{selectable:"false",space:"",decode:"false"},Button:Object.assign({size:m("default"),type:"",plain:"false",disabled:"",loading:"false","form-type":"","open-type":"","hover-class":m("button-hover"),"hover-stop-propagation":"false","hover-start-time":"20","hover-stay-time":"70",name:""},f),Checkbox:{value:"",disabled:"",checked:"false",color:m("#09BB07"),name:""},CheckboxGroup:{bindChange:"",name:""},Form:{"report-submit":"false",bindSubmit:"",bindReset:"",name:""},Input:{value:"",type:m(""),password:"false",placeholder:"","placeholder-style":"","placeholder-class":m("input-placeholder"),disabled:"",maxlength:"140","cursor-spacing":"0",focus:"false","confirm-type":m("done"),"confirm-hold":"false",cursor:"i.value.length","selection-start":"-1","selection-end":"-1",bindInput:"",bindFocus:"",bindBlur:"",bindConfirm:"",name:""},Label:{for:"",name:""},Picker:{mode:m("selector"),disabled:"",range:"","range-key":"",value:"",start:"",end:"",fields:m("day"),"custom-item":"",name:"",bindCancel:"",bindChange:"",bindColumnChange:""},PickerView:{value:"","indicator-style":"","indicator-class":"","mask-style":"","mask-class":"",bindChange:"",name:""},PickerViewColumn:{name:""},Radio:{value:"",checked:"false",disabled:"",color:m("#09BB07"),name:""},RadioGroup:{bindChange:"",name:""},Slider:{min:"0",max:"100",step:"1",disabled:"",value:"0",activeColor:m("#1aad19"),backgroundColor:m("#e9e9e9"),"block-size":"28","block-color":m("#ffffff"),"show-value":"false",bindChange:"",bindChanging:"",name:""},Switch:{checked:"false",disabled:"",type:m("switch"),color:m("#04BE02"),bindChange:"",name:""},CoverImage:{src:"",bindLoad:"eh",bindError:"eh"},Textarea:{value:"",placeholder:"","placeholder-style":"","placeholder-class":m("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:""},CoverView:Object.assign({"scroll-top":"false"},f),MovableArea:{"scale-area":"false"},MovableView: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:m("10px"),height:m("10px")},f),v),ScrollView: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:""},f),v),Swiper:Object.assign({"indicator-dots":"false","indicator-color":m("rgba(0, 0, 0, .3)"),"indicator-active-color":m("#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:""},f),SwiperItem:{"item-id":""},Navigator:{url:"","open-type":m("navigate"),delta:"1","hover-class":m("navigator-hover"),"hover-stop-propagation":"false","hover-start-time":"50","hover-stay-time":"600",bindSuccess:"",bindFail:"",bindComplete:""},Audio:{id:"",src:"",loop:"false",controls:"false",poster:"",name:"",author:"",bindError:"",bindPlay:"",bindPause:"",bindTimeUpdate:"",bindEnded:""},Camera:{"device-position":m("back"),flash:m("auto"),bindStop:"",bindError:""},Image:Object.assign({src:"",mode:m("scaleToFill"),"lazy-load":"false",bindError:"",bindLoad:""},f),LivePlayer:{src:"",autoplay:"false",muted:"false",orientation:m("vertical"),"object-fit":m("contain"),"background-mute":"false","min-cache":"1","max-cache":"3",animation:"",bindStateChange:"",bindFullScreenChange:"",bindNetStatus:""},Video:{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":m("contain"),poster:"","show-mute-btn":"false",animation:"",bindPlay:"",bindPause:"",bindEnded:"",bindTimeUpdate:"",bindFullScreenChange:"",bindWaiting:"",bindError:""},Canvas:Object.assign({"canvas-id":"","disable-scroll":"false",bindError:""},f),Ad:{"unit-id":"","ad-intervals":"",bindLoad:"",bindError:"",bindClose:""},WebView:{src:"",bindMessage:"",bindLoad:"",bindError:""},Block:{},Map:b,Slot:{name:""},SlotView:{name:""}},w=new Set(["input","checkbox","picker","picker-view","radio","slider","switch","textarea"]),_=new Set(["input","textarea"]),O=new Set(["progress","icon","rich-text","input","textarea","slider","switch","audio","ad","official-account","open-data","navigation-bar"]),E=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]]),T={},S=[],C=function(){},j=Object.create(null),k=e=>({v:e}),P=e=>e.v;function A(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function x(e){for(var t="",n=!1,r=0;rB.call(e,t);function R(e,t){if(!e)throw new Error(t+"\n如有疑问,请提交 issue 至:https://github.com/nervjs/taro/issues")}function L(e,t){}function M(e){for(var t,n,r,o=decodeURIComponent,i=e.split("&"),a={},s=0,c=i.length;s{t in y?Object.assign(y[t],e[t]):y[t]=e[t]}))}function G(e){Object.keys(e).forEach((t=>{var n=e[t],r=j[t];r?d(r)?j[t]=r.push(n):j[t]=[r,n]:j[t]=n}))}function J(e){return function(){console.warn("小程序暂不支持 ".concat(e))}}function K(e,t){if(["navigateTo","redirectTo","reLaunch","switchTab"].indexOf(e)>-1){var n=(t.url=t.url||"").indexOf("?")>-1,r=H();t.url+=(n?"&":"?")+"".concat("__key_","=").concat(r)}}function Y(e,t){return e.split("\n").map(((e,n)=>(0===n?"":Array(t).fill(" ").join(""))+e)).join("\n")}var Q=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 Z(e){return function(){if("function"!=typeof e.getSystemInfoSync)return console.error("不支持 API canIUseWebp"),!1;var{platform:t}=e.getSystemInfoSync(),n=t.toLowerCase();return"android"===n||"devtools"===n}}function X(e){return function(t){"string"==typeof(t=t||{})&&(t={url:t});var n,r=t.success,o=t.fail,i=t.complete,a=new Promise(((a,s)=>{t.success=e=>{r&&r(e),a(e)},t.fail=e=>{o&&o(e),s(e)},t.complete=e=>{i&&i(e)},n=e.request(t)}));return a.abort=e=>(e&&e(),n&&n.abort(),a),a}}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.needPromiseApis||[],o=new Set([...r,...Q]),i=["getEnv","interceptors","Current","getCurrentInstance","options","nextTick","eventCenter","Events","preload","webpackJsonp"],a=new Set(n.isOnlyPromisify?new Set(r):Object.keys(t).filter((e=>-1===i.indexOf(e))));n.modifyApis&&n.modifyApis(a),a.forEach((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{l.success=t=>{var o,i;null===(o=n.modifyAsyncResult)||void 0===o||o.call(n,s,t),null===(i=e.success)||void 0===i||i.call(e,t),r("connectSocket"===s?Promise.resolve().then((()=>u?Object.assign(u,t):t)):t)},l.fail=t=>{var n;null===(n=e.fail)||void 0===n||n.call(e,t),i(t)},l.complete=t=>{var n;null===(n=e.complete)||void 0===n||n.call(e,t)},u=o.length?t[s](l,...o):t[s](l)}));return"uploadFile"!==s&&"downloadFile"!==s||(d.progress=e=>(null==u||u.onProgressUpdate(e),d),d.abort=e=>(null==e||e(),null==u||u.abort(),d)),d}}else{var a=r;if(n.transformMeta&&(a=n.transformMeta(r,{}).key),!t.hasOwnProperty(a))return void(e[r]=J(r));"function"==typeof t[r]?e[r]=function(){for(var e=arguments.length,o=new Array(e),i=0;i2&&void 0!==arguments[2]?arguments[2]:{};e.canIUseWebp=Z(e),e.getCurrentPages=getCurrentPages||J("getCurrentPages"),e.getApp=getApp||J("getApp"),e.env=t.env||{};try{e.requirePlugin=requirePlugin||J("requirePlugin")}catch(t){e.requirePlugin=J("requirePlugin")}var r=n.request?n.request:X(t);function o(e){return r(e.requestParams)}var i=new e.Link(o);e.request=i.request.bind(i),e.addInterceptor=i.addInterceptor.bind(i),e.cleanInterceptors=i.cleanInterceptors.bind(i),e.miniGlobal=e.options.miniGlobal=t}},572:function(e,t,n){"use strict";n.d(t,"b",(function(){return g}));var r=n(855),o=n.n(r),i=n(771),a=n(43),s=n(46);var c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function u(e,t,n){var r;for(r in t)r in n||d(e,r,null,t[r]);var o=e instanceof a.FormElement;for(r in n)(t[r]!==n[r]||o&&"value"===r)&&d(e,r,n[r],t[r])}function l(e,t,n){"-"===t[0]&&e.setProperty(t,n.toString()),e[t]=Object(s.isNumber)(n)&&!1===c.test(t)?n+"px":null==n?"":n}function d(e,t,n,r){var o,i,a,c;if("key"===(t="className"===t?"class":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||l(u,d,"");if(Object(s.isObject)(n))for(var p in n)r&&n[p]===r[p]||l(u,p,n[p])}}else if(function(e){return"o"===e[0]&&"n"===e[1]}(t))!function(e,t,n,r){var o=t.endsWith("Capture"),i=t.toLowerCase().slice(2);o&&(i=i.slice(0,-7));var a=Object(s.capitalize)(Object(s.toCamelCase)(e.tagName.toLowerCase()));"click"===i&&a in s.internalComponents&&(i="tap"),Object(s.isFunction)(n)?(r||e.addEventListener(i,n,o),"regionchange"===i?(e.__handlers.begin[0]=n,e.__handlers.end[0]=n):e.__handlers[i][0]=n):e.removeEventListener(i,r)}(e,t,n,r);else if("dangerouslySetInnerHTML"===t){var h=null!==(i=null===(o=n)||void 0===o?void 0:o.__html)&&void 0!==i?i:"",f=null!==(c=null===(a=r)||void 0===a?void 0:a.__html)&&void 0!==c?c:"";(h||f)&&f!==h&&(e.innerHTML=h)}else Object(s.isFunction)(n)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}var{unstable_now:p}=i;var h={createInstance:e=>a.document.createElement(e),createTextInstance:e=>a.document.createTextNode(e),getPublicInstance:e=>e,getRootHostContext:()=>({}),getChildHostContext:()=>({}),appendChild(e,t){e.appendChild(t)},appendInitialChild(e,t){e.appendChild(t)},appendChildToContainer(e,t){e.appendChild(t)},removeChild(e,t){e.removeChild(t)},removeChildFromContainer(e,t){e.removeChild(t)},insertBefore(e,t,n){e.insertBefore(t,n)},insertInContainerBefore(e,t,n){e.insertBefore(t,n)},commitTextUpdate(e,t,n){e.nodeValue=n},finalizeInitialChildren:(e,t,n)=>(u(e,{},n),!1),prepareUpdate:()=>s.EMPTY_ARR,commitUpdate(e,t,n,r,o){u(e,r,o)},hideInstance(e){e.style.setProperty("display","none")},unhideInstance(e,t){var n=t.style,r=(null==n?void 0:n.hasOwnProperty("display"))?n.display:null;r=null==r||"boolean"==typeof r||""===r?"":(""+r).trim(),e.style.display=r},clearContainer(e){e.childNodes.length>0&&(e.textContent="")},queueMicrotask:"undefined"!=typeof Promise?e=>Promise.resolve(null).then(e).catch((function(e){setTimeout((()=>{throw e}))})):setTimeout,shouldSetTextContent:function(){return!1},prepareForCommit:()=>null,resetAfterCommit:s.noop,commitMount:s.noop,now:p,cancelTimeout:clearTimeout,scheduleTimeout:setTimeout,preparePortalMount:s.noop,noTimeout:-1,supportsMutation:!0,supportsPersistence:!1,isPrimaryRenderer:!0,supportsHydration:!1},f=o()(h),v=new WeakMap;class m{constructor(e,t){this.renderer=e,this.internalRoot=e.createContainer(t,0,!1,null)}render(e,t){return this.renderer.updateContainer(e,this.internalRoot,null,t),this.renderer.getPublicRootInstance(this.internalRoot)}unmount(e){this.renderer.updateContainer(null,this.internalRoot,null,e)}}var g=f.batchedUpdates;var b="function"==typeof Symbol&&Symbol.for?Symbol.for("react.portal"):60106;var y={render:function(e,t,n){var r=v.get(t);if(null!=r)return r.render(e,n);var o=new m(f,t);return v.set(t,o),o.render(e,n)},unstable_batchedUpdates:g,unmountComponentAtNode:function(e){Object(s.ensure)(e&&[1,8,9,11].includes(e.nodeType),"unmountComponentAtNode(...): Target container is not a DOM element.");var t=v.get(e);return!!t&&(g((()=>{t.unmount((()=>{v.delete(e)}))}),null),!0)},findDOMNode:function(e){if(null==e)return null;var t=e.nodeType;return 1===t||3===t?e:f.findHostInstance(e)},createPortal:function(e,t,n){return{$$typeof:b,key:null==n?null:String(n),children:e,containerInfo:t,implementation:null}}};t.a=y}}])}));