3 lines
106 KiB
JavaScript
3 lines
106 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){
|
|
(tt["webpackJsonp"]=tt["webpackJsonp"]||[]).push([[1],{16:function(t,e,n){var r=n(20),i=r.hooks,o=n(507).default;i.isExist("initNativeApi")&&i.call("initNativeApi",o),t.exports=o,t.exports.default=t.exports},17:function(t,e,n){"use strict";n.d(e,"a",(function(){return mt})),n.d(e,"b",(function(){return it})),n.d(e,"c",(function(){return kt})),n.d(e,"d",(function(){return rt})),n.d(e,"e",(function(){return wt})),n.d(e,"f",(function(){return Pt})),n.d(e,"g",(function(){return gt})),n.d(e,"h",(function(){return nt})),n.d(e,"i",(function(){return ft})),n.d(e,"j",(function(){return st})),n.d(e,"k",(function(){return lt})),n.d(e,"l",(function(){return ct})),n.d(e,"m",(function(){return dt})),n.d(e,"n",(function(){return ut})),n.d(e,"o",(function(){return ot})),n.d(e,"p",(function(){return at})),n.d(e,"q",(function(){return Tt})),n.d(e,"r",(function(){return _t})),n.d(e,"s",(function(){return yt})),n.d(e,"t",(function(){return Bt})),n.d(e,"u",(function(){return v})),n.d(e,"v",(function(){return jt})),n.d(e,"w",(function(){return Ot})),n.d(e,"x",(function(){return St}));var r=n(36),i=n(23),o=n(24),a=n(69),c=n(12),u=n(15),s="[]",l="",d="!0",h="!1",f={bindTouchStart:l,bindTouchMove:l,bindTouchEnd:l,bindTouchCancel:l,bindLongTap:l},p={animation:l,bindAnimationStart:l,bindAnimationIteration:l,bindAnimationEnd:l,bindTransitionEnd:l};function v(t){return"'".concat(t,"'")}var b=Object.assign(Object.assign({"hover-class":v("none"),"hover-stop-propagation":h,"hover-start-time":"50","hover-stay-time":"400"},f),p),g={type:l,size:"23",color:l},m=Object.assign({longitude:l,latitude:l,scale:"16",markers:s,covers:l,polyline:s,circles:s,controls:s,"include-points":s,"show-location":l,"layer-style":"1",bindMarkerTap:l,bindControlTap:l,bindCalloutTap:l,bindUpdated:l},f),y={percent:l,"stroke-width":"6",color:v("#09BB07"),activeColor:v("#09BB07"),backgroundColor:v("#EBEBEB"),active:h,"active-mode":v("backwards"),"show-info":h},O={nodes:s},j={selectable:h,space:l,decode:h},k=Object.assign({size:v("default"),type:l,plain:h,disabled:l,loading:h,"form-type":l,"open-type":l,"hover-class":v("button-hover"),"hover-stop-propagation":h,"hover-start-time":"20","hover-stay-time":"70",name:l},f),w={value:l,disabled:l,checked:h,color:v("#09BB07"),name:l},S={bindChange:l,name:l},E={"report-submit":h,bindSubmit:l,bindReset:l,name:l},C={value:l,type:v(l),password:h,placeholder:l,"placeholder-style":l,"placeholder-class":v("input-placeholder"),disabled:l,maxlength:"140","cursor-spacing":"0",focus:h,"confirm-type":v("done"),"confirm-hold":h,cursor:"i.value.length","selection-start":"-1","selection-end":"-1",bindInput:l,bindFocus:l,bindBlur:l,bindConfirm:l,name:l},x={for:l,name:l},T={mode:v("selector"),disabled:l,range:l,"range-key":l,value:l,start:l,end:l,fields:v("day"),"custom-item":l,name:l,bindCancel:l,bindChange:l,bindColumnChange:l},P={value:l,"indicator-style":l,"indicator-class":l,"mask-style":l,"mask-class":l,bindChange:l,name:l},_={name:l},I={value:l,checked:h,disabled:l,color:v("#09BB07"),name:l},N={bindChange:l,name:l},A={min:"0",max:"100",step:"1",disabled:l,value:"0",activeColor:v("#1aad19"),backgroundColor:v("#e9e9e9"),"block-size":"28","block-color":v("#ffffff"),"show-value":h,bindChange:l,bindChanging:l,name:l},L={checked:h,disabled:l,type:v("switch"),color:v("#04BE02"),bindChange:l,name:l},R={value:l,placeholder:l,"placeholder-style":l,"placeholder-class":v("textarea-placeholder"),disabled:l,maxlength:"140","auto-focus":h,focus:h,"auto-height":h,fixed:h,"cursor-spacing":"0",cursor:"-1","selection-start":"-1","selection-end":"-1",bindFocus:l,bindBlur:l,bindLineChange:l,bindInput:l,bindConfirm:l,name:l},B={src:l,bindLoad:"eh",bindError:"eh"},M=Object.assign({"scroll-top":h},f),D={"scale-area":h},U=Object.assign(Object.assign({direction:"none",inertia:h,"out-of-bounds":h,x:l,y:l,damping:"20",friction:"2",disabled:l,scale:h,"scale-min":"0.5","scale-max":"10","scale-value":"1",bindChange:l,bindScale:l,bindHTouchMove:l,bindVTouchMove:l,width:v("10px"),height:v("10px")},f),p),F=Object.assign(Object.assign({"scroll-x":h,"scroll-y":h,"upper-threshold":"50","lower-threshold":"50","scroll-top":l,"scroll-left":l,"scroll-into-view":l,"scroll-with-animation":h,"enable-back-to-top":h,bindScrollToUpper:l,bindScrollToLower:l,bindScroll:l},f),p),W=Object.assign({"indicator-dots":h,"indicator-color":v("rgba(0, 0, 0, .3)"),"indicator-active-color":v("#000000"),autoplay:h,current:"0",interval:"5000",duration:"500",circular:h,vertical:h,"previous-margin":v("0px"),"next-margin":v("0px"),"display-multiple-items":"1",bindChange:l,bindTransition:l,bindAnimationFinish:l},f),V={"item-id":l},q={url:l,"open-type":v("navigate"),delta:"1","hover-class":v("navigator-hover"),"hover-stop-propagation":h,"hover-start-time":"50","hover-stay-time":"600",bindSuccess:l,bindFail:l,bindComplete:l},G={id:l,src:l,loop:h,controls:h,poster:l,name:l,author:l,bindError:l,bindPlay:l,bindPause:l,bindTimeUpdate:l,bindEnded:l},z={"device-position":v("back"),flash:v("auto"),bindStop:l,bindError:l},H=Object.assign({src:l,mode:v("scaleToFill"),"lazy-load":h,bindError:l,bindLoad:l},f),$=Object.assign({src:l,autoplay:h,muted:h,orientation:v("vertical"),"object-fit":v("contain"),"background-mute":h,"min-cache":"1","max-cache":"3",bindStateChange:l,bindFullScreenChange:l,bindNetStatus:l},p),Y=Object.assign({src:l,duration:l,controls:d,"danmu-list":l,"danmu-btn":l,"enable-danmu":l,autoplay:h,loop:h,muted:h,"initial-time":"0","page-gesture":h,direction:l,"show-progress":d,"show-fullscreen-btn":d,"show-play-btn":d,"show-center-play-btn":d,"enable-progress-gesture":d,"object-fit":v("contain"),poster:l,"show-mute-btn":h,bindPlay:l,bindPause:l,bindEnded:l,bindTimeUpdate:l,bindFullScreenChange:l,bindWaiting:l,bindError:l},p),J=Object.assign({"canvas-id":l,"disable-scroll":h,bindError:l},f),K={"unit-id":l,"ad-intervals":l,bindLoad:l,bindError:l,bindClose:l},Q={src:l,bindMessage:l,bindLoad:l,bindError:l},Z={},X={name:l},tt={name:l},et={name:l},nt={View:b,Icon:g,Progress:y,RichText:O,Text:j,Button:k,Checkbox:w,CheckboxGroup:S,Form:E,Input:C,Label:x,Picker:T,PickerView:P,PickerViewColumn:_,Radio:I,RadioGroup:N,Slider:A,Switch:L,CoverImage:B,Textarea:R,CoverView:M,MovableArea:D,MovableView:U,ScrollView:F,Swiper:W,SwiperItem:V,Navigator:q,Audio:G,Camera:z,Image:H,LivePlayer:$,Video:Y,Canvas:J,Ad:K,WebView:Q,Block:Z,Map:m,Slot:tt,SlotView:X,NativeSlot:et},rt=new Set(["input","checkbox","picker","picker-view","radio","slider","switch","textarea"]),it=(new Set(["input","textarea"]),new Set(["progress","icon","rich-text","input","textarea","slider","switch","audio","ad","official-account","open-data","navigation-bar"]),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]]),function(){function t(e){var n;Object(c["a"])(this,t),this.callbacks=null!==(n=null===e||void 0===e?void 0:e.callbacks)&&void 0!==n?n:{}}return Object(u["a"])(t,[{key:"on",value:function(e,n,r){var i,o,a,c;if(!n)return this;e=e.split(t.eventSplitter),this.callbacks||(this.callbacks={});var u=this.callbacks;while(i=e.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(t,e,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];e.apply(r,a),r.off(t,i,n)};return this.on(t,i,n),this}},{key:"off",value:function(e,n,r){var i,o,a,c,u,s;if(!(o=this.callbacks))return this;if(!(e||n||r))return delete this.callbacks,this;e=e?e.split(t.eventSplitter):Object.keys(o);while(i=e.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(e){var n,r,i,o;if(!(i=this.callbacks))return this;e=e.split(t.eventSplitter);var a=[].slice.call(arguments,1);while(n=e.shift())if(r=i[n]){o=r.tail;while((r=r.next)!==o)r.callback.apply(r.context||this,a)}return this}}]),t}());function ot(t){return"string"===typeof t}function at(t){return"undefined"===typeof t}function ct(t){return null===t}function ut(t){return null!==t&&"object"===Object(a["a"])(t)}function st(t){return!0===t||!1===t}function lt(t){return"function"===typeof t}function dt(t){return"number"===typeof t}it.eventSplitter=",";var ht,ft=Array.isArray;(function(t){t[t["SINGLE"]=0]="SINGLE",t[t["MULTI"]=1]="MULTI",t[t["WATERFALL"]=2]="WATERFALL"})(ht||(ht={}));var pt={app:["onLaunch","onShow","onHide"],page:["onLoad","onUnload","onReady","onShow","onHide",["onPullDownRefresh","onReachBottom","onPageScroll","onResize","onTabItemTap","onTitleClick","onOptionMenuClick","onPopMenuClick","onPullIntercept","onAddToFavorites"],["onShareAppMessage","onShareTimeline"]],component:["attached","detached"]};function vt(t,e){return{type:t,initial:e||null}}var bt=function(t){Object(i["a"])(n,t);var e=Object(o["a"])(n);function n(t,r){var i;for(var o in Object(c["a"])(this,n),i=e.call(this,r),i.hooks=t,t){var a=t[o].initial;lt(a)&&i.on(o,a)}return i}return Object(u["a"])(n,[{key:"tapOneOrMany",value:function(t,e){var n=this,r=lt(e)?[e]:e;r.forEach((function(e){return n.on(t,e)}))}},{key:"tap",value:function(t,e){var n=this.hooks,r=n[t],i=r.type,o=r.initial;i===ht.SINGLE?(this.off(t),this.on(t,lt(e)?e:e[e.length-1])):(o&&this.off(t,o),this.tapOneOrMany(t,e))}},{key:"call",value:function(t){var e,n=this.hooks[t];if(n){var r=n.type,i=this.callbacks;if(i){var o=i[t];if(o){for(var a=o.tail,c=o.next,u=arguments.length,s=new Array(u>1?u-1:0),l=1;l<u;l++)s[l-1]=arguments[l];var d,h=s;while(c!==a){if(d=null===(e=c.callback)||void 0===e?void 0:e.apply(c.context||this,h),r===ht.WATERFALL){var f=[d];h=f}c=c.next}return d}}}}},{key:"isExist",value:function(t){var e;return Boolean(null===(e=this.callbacks)||void 0===e?void 0:e[t])}}]),n}(it),gt=new bt({getMiniLifecycle:vt(ht.SINGLE,(function(t){return t})),getMiniLifecycleImpl:vt(ht.SINGLE,(function(){return this.call("getMiniLifecycle",pt)})),getLifecycle:vt(ht.SINGLE,(function(t,e){return t[e]})),getPathIndex:vt(ht.SINGLE,(function(t){return"[".concat(t,"]")})),getEventCenter:vt(ht.SINGLE,(function(t){return new t})),isBubbleEvents:vt(ht.SINGLE,(function(t){var e=new Set(["touchstart","touchmove","touchcancel","touchend","touchforcechange","tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend"]);return e.has(t)})),getSpecialNodes:vt(ht.SINGLE,(function(){return["view","text","image"]})),onRemoveAttribute:vt(ht.SINGLE),batchedEventUpdates:vt(ht.SINGLE),mergePageInstance:vt(ht.SINGLE),modifyPageObject:vt(ht.SINGLE),createPullDownComponent:vt(ht.SINGLE),getDOMNode:vt(ht.SINGLE),modifyHydrateData:vt(ht.SINGLE),modifySetAttrPayload:vt(ht.SINGLE),modifyRmAttrPayload:vt(ht.SINGLE),onAddEvent:vt(ht.SINGLE),modifyMpEvent:vt(ht.MULTI),modifyMpEventImpl:vt(ht.SINGLE,(function(t){try{this.call("modifyMpEvent",t)}catch(t){console.warn("[Taro modifyMpEvent hook Error]: "+(null===t||void 0===t?void 0:t.message))}})),modifyTaroEvent:vt(ht.MULTI),modifyDispatchEvent:vt(ht.MULTI),initNativeApi:vt(ht.MULTI),patchElement:vt(ht.MULTI)}),mt={},yt=function(){};function Ot(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function jt(t){for(var e="",n=!1,r=0;r<t.length;r++)"-"!==t[r]?(e+=n?t[r].toUpperCase():t[r],n=!1):n=!0;return e}function kt(t){return t.charAt(0).toUpperCase()+t.slice(1)}Object.prototype.hasOwnProperty;function wt(t,e){if(!t)throw new Error(e)}function St(t,e){0}var Et=1,Ct=(new Date).getTime().toString();function xt(){return Ct+Et++}function Tt(t){return Object.keys(t).forEach((function(e){e in nt?Object.assign(nt[e],t[e]):nt[e]=t[e]})),nt}function Pt(t){var e={},n=t.View,r={"#text":{},StaticView:n,StaticImage:t.Image,StaticText:t.Text,PureView:n,CatchView:n};return t=Object.assign(Object.assign({},t),r),Object.keys(t).sort((function(t,e){var n=/^(Static|Pure|Catch)*(View|Image|Text)$/,r=n.test(t),i=n.test(e);return r&&i?t>e?1:-1:r?-1:i||t>=e?1:-1})).forEach((function(n,r){var i={_num:String(r)};Object.keys(t[n]).filter((function(t){return!/^bind/.test(t)&&!["focus","blur"].includes(t)})).sort().forEach((function(t,e){i[jt(t)]="p"+e})),e[Ot(n)]=i})),e}function _t(t,e){var n=e||gt,r=Object.keys(t);r.forEach((function(e){n.tap(e,t[e])}))}function It(t){return function(){console.warn("\u5c0f\u7a0b\u5e8f\u6682\u4e0d\u652f\u6301 ".concat(t))}}function Nt(t,e){var n="__key_",r=["navigateTo","redirectTo","reLaunch","switchTab"];if(r.indexOf(t)>-1){var i=e.url=e.url||"",o=i.indexOf("?")>-1,a=xt();e.url+=(o?"&":"?")+"".concat(n,"=").concat(a)}}var At=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 Lt(t){return function(){var e,n=null===(e=t.getSystemInfoSync)||void 0===e?void 0:e.call(t);if(!n)return!1;var r=n.platform,i=r.toLowerCase();return"android"===i||"devtools"===i}}function Rt(t){return function(e){e=e?ot(e)?{url:e}:e:{};var n,r=e.success,i=e.fail,o=e.complete,a=new Promise((function(a,c){e.success=function(t){r&&r(t),a(t)},e.fail=function(t){i&&i(t),c(t)},e.complete=function(t){o&&o(t)},n=t.request(e)}));return Dt(n,a),a.abort=function(t){return t&&t(),n&&n.abort(),a},a}}function Bt(t,e){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"])(At))),a=["getEnv","interceptors","Current","getCurrentInstance","options","nextTick","eventCenter","Events","preload","webpackJsonp"],c=new Set(n.isOnlyPromisify?i:Object.keys(e).filter((function(t){return-1===a.indexOf(t)})));n.modifyApis&&n.modifyApis(c),c.forEach((function(r){if(o.has(r)){var i=r;t[i]=function(){for(var t=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 t)return o.length?e[c].apply(e,[t].concat(o)):e[c](t);if(n.transformMeta){var u=n.transformMeta(c,t);if(c=u.key,t=u.options,!e.hasOwnProperty(c))return It(c)()}var s=null,l=Object.assign({},t);Nt(c,t);var d=new Promise((function(r,i){l.success=function(e){var i,o;null===(i=n.modifyAsyncResult)||void 0===i||i.call(n,c,e),null===(o=t.success)||void 0===o||o.call(t,e),r("connectSocket"===c?Promise.resolve().then((function(){return s?Object.assign(s,e):e})):e)},l.fail=function(e){var n;null===(n=t.fail)||void 0===n||n.call(t,e),i(e)},l.complete=function(e){var n;null===(n=t.complete)||void 0===n||n.call(t,e)},s=o.length?e[c].apply(e,[l].concat(o)):e[c](l)}));return["uploadFile","downloadFile"].includes(c)&&(Dt(s,d),d.progress=function(t){return null===s||void 0===s||s.onProgressUpdate(t),d},d.abort=function(t){return null===t||void 0===t||t(),null===s||void 0===s||s.abort(),d}),d}}else{var a=r;if(n.transformMeta&&(a=n.transformMeta(r,{}).key),!e.hasOwnProperty(a))return void(t[r]=It(r));lt(e[r])?t[r]=function(){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return n.handleSyncApis?n.handleSyncApis(r,e,i):e[a].apply(e,i)}:t[r]=e[a]}})),!n.isOnlyPromisify&&Mt(t,e,n)}function Mt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.canIUseWebp=Lt(t),t.getCurrentPages=getCurrentPages||It("getCurrentPages"),t.getApp=getApp||It("getApp"),t.env=e.env||{};try{t.requirePlugin=requirePlugin||It("requirePlugin")}catch(e){t.requirePlugin=It("requirePlugin")}var r=n.request||Rt(e);function i(t){return r(t.requestParams)}var o=new t.Link(i);t.request=o.request.bind(o),t.addInterceptor=o.addInterceptor.bind(o),t.cleanInterceptors=o.cleanInterceptors.bind(o),t.miniGlobal=t.options.miniGlobal=e}function Dt(t,e){if(t&&e){var n=["abort","onHeadersReceived","offHeadersReceived","onProgressUpdate","offProgressUpdate","onChunkReceived","offChunkReceived"];t&&n.forEach((function(n){n in t&&(e[n]=t[n].bind(t))}))}}},185:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},186:function(t,e,n){"use strict";n.d(e,"a",(function(){return P})),n.d(e,"b",(function(){return S}));var r=n(12),i=n(15),o=n(17),a=n(20),c=n(347),u=n.n(c),s=n(348);function l(t){return"o"===t[0]&&"n"===t[1]}var d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(t,e,n){var r=p(t,e,n);r&&f(t,e,r)}function f(t,e,n){for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],a=e[i];g(t,i,o,a)}}function p(t,e,n){var r,i=null;for(r in e)r in n||(i=i||[]).push(r,null);var o=t instanceof a["FormElement"];for(r in n)(e[r]!==n[r]||o&&"value"===r)&&(i=i||[]).push(r,n[r]);return i}function v(t,e,n,r){var i=e.endsWith("Capture"),a=e.toLowerCase().slice(2);i&&(a=a.slice(0,-7));var c=Object(o["c"])(Object(o["v"])(t.tagName.toLowerCase()));"click"===a&&c in o["h"]&&(a="tap"),Object(o["k"])(n)?r?(t.removeEventListener(a,r,!1),t.addEventListener(a,n,{isCapture:i,sideEffect:!1})):t.addEventListener(a,n,i):t.removeEventListener(a,r)}function b(t,e,n){"-"!==e[0]?t[e]=Object(o["m"])(n)&&!1===d.test(e)?n+"px":null==n?"":n:t.setProperty(e,n.toString())}function g(t,e,n,r){var i,a;if(e="className"===e?"class":e,"key"===e||"children"===e||"ref"===e);else if("style"===e){var c=t.style;if(Object(o["o"])(n))c.cssText=n;else{if(Object(o["o"])(r)&&(c.cssText="",r=null),Object(o["n"])(r))for(var u in r)n&&u in n||b(c,u,"");if(Object(o["n"])(n))for(var s in n)r&&n[s]===r[s]||b(c,s,n[s])}}else if(l(e))v(t,e,n,r);else if("dangerouslySetInnerHTML"===e){var d=null!==(i=null===n||void 0===n?void 0:n.__html)&&void 0!==i?i:"",h=null!==(a=null===r||void 0===r?void 0:r.__html)&&void 0!==a?a:"";(d||h)&&h!==d&&(t.innerHTML=d)}else Object(o["k"])(n)||(null==n?t.removeAttribute(e):t.setAttribute(e,n))}var m={getPublicInstance:function(t){return t},getRootHostContext:function(){return{}},getChildHostContext:function(t){return t},prepareForCommit:function(){return null},resetAfterCommit:o["s"],createInstance:function(t){return a["document"].createElement(t)},appendInitialChild:function(t,e){t.appendChild(e)},finalizeInitialChildren:function(t,e,n){return h(t,{},n),!1},prepareUpdate:function(t,e,n,r){return p(t,n,r)},shouldSetTextContent:function(){return!1},createTextInstance:function(t){return a["document"].createTextNode(t)},scheduleTimeout:setTimeout,cancelTimeout:clearTimeout,noTimeout:-1,isPrimaryRenderer:!0,warnsIfNotActing:!0,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,getInstanceFromNode:function(){return null},beforeActiveInstanceBlur:o["s"],afterActiveInstanceBlur:o["s"],preparePortalMount:o["s"],prepareScopeUpdate:o["s"],getInstanceFromScope:function(){return null},getCurrentEventPriority:function(){return s["DefaultEventPriority"]},detachDeletedInstance:o["s"],supportsMicrotasks:!0,scheduleMicrotask:Object(o["p"])(Promise)?setTimeout:function(t){return Promise.resolve(null).then(t).catch((function(t){setTimeout((function(){throw t}))}))},appendChild:function(t,e){t.appendChild(e)},appendChildToContainer:function(t,e){t.appendChild(e)},commitTextUpdate:function(t,e,n){t.nodeValue=n},commitMount:o["s"],commitUpdate:function(t,e,n,r){f(t,r,e)},insertBefore:function(t,e,n){t.insertBefore(e,n)},insertInContainerBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},removeChildFromContainer:function(t,e){t.removeChild(e)},resetTextContent:o["s"],hideInstance:function(t){var e=t.style;e.setProperty("display","none")},hideTextInstance:function(t){t.nodeValue=""},unhideInstance:function(t,e){var n=e.style,r=(null===n||void 0===n?void 0:n.hasOwnProperty("display"))?n.display:null;r=null==r||Object(o["j"])(r)||""===r?"":(""+r).trim(),t.style["display"]=r},unhideTextInstance:function(t,e){t.nodeValue=e},clearContainer:function(t){t.childNodes.length>0&&(t.textContent="")}},y=u()(m),O=new WeakMap,j=function(){function t(e,n,i){Object(r["a"])(this,t),this.renderer=e,this.initInternalRoot(e,n,i)}return Object(i["a"])(t,[{key:"initInternalRoot",value:function(t,e,n){var r=e;if(n){var i=1,o=!1,a=!1,c="",u=function(t){return console.error(t)},s=null;!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(c=n.identifierPrefix),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&(s=n.unstable_transitionCallbacks),this.internalRoot=t.createContainer(r,i,null,a,o,c,u,s)}else{var l=0;this.internalRoot=t.createContainer(r,l,null,!1,!1,"",(function(){}),null)}}},{key:"render",value:function(t,e){var n=this.renderer,r=this.internalRoot;return n.updateContainer(t,r,null,e),n.getPublicRootInstance(r)}},{key:"unmount",value:function(t){this.renderer.updateContainer(null,this.internalRoot,null,t)}}]),t}();function k(t,e,n){var r=O.get(e);if(null!=r)return r.render(t,n);var i=new j(y,e);return O.set(e,i),i.render(t,n)}function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O.get(t);if(null!=n)return n;var r=new j(y,t,e);return O.set(t,r),r}var S=y.batchedUpdates;function E(t){Object(o["e"])(t&&[1,8,9,11].includes(t.nodeType),"unmountComponentAtNode(...): Target container is not a DOM element.");var e=O.get(t);return!!e&&(S((function(){e.unmount((function(){O.delete(t)}))}),null),!0)}function C(t){if(null==t)return null;var e=t.nodeType;return 1===e||3===e?t:y.findHostInstance(t)}var x=Object(o["k"])(Symbol)&&Symbol.for?Symbol.for("react.portal"):60106;function T(t,e,n){return{$$typeof:x,key:null==n?null:String(n),children:t,containerInfo:e,implementation:null}}var P={render:k,createRoot:w,unstable_batchedUpdates:S,unmountComponentAtNode:E,findDOMNode:C,createPortal:T}},2:function(t,e,n){"use strict";n.r(e),n.d(e,"Ad",(function(){return B})),n.d(e,"Audio",(function(){return _})),n.d(e,"AwemeData",(function(){return H})),n.d(e,"Block",(function(){return D})),n.d(e,"Button",(function(){return u})),n.d(e,"Camera",(function(){return I})),n.d(e,"Canvas",(function(){return R})),n.d(e,"Checkbox",(function(){return s})),n.d(e,"CheckboxGroup",(function(){return l})),n.d(e,"ConsumeCard",(function(){return z})),n.d(e,"CoverImage",(function(){return j})),n.d(e,"CoverView",(function(){return w})),n.d(e,"CustomWrapper",(function(){return V})),n.d(e,"Form",(function(){return d})),n.d(e,"Icon",(function(){return i})),n.d(e,"Image",(function(){return N})),n.d(e,"Input",(function(){return h})),n.d(e,"Label",(function(){return f})),n.d(e,"LivePlayer",(function(){return A})),n.d(e,"Map",(function(){return U})),n.d(e,"MovableArea",(function(){return S})),n.d(e,"MovableView",(function(){return E})),n.d(e,"NativeSlot",(function(){return W})),n.d(e,"Navigator",(function(){return P})),n.d(e,"OpenData",(function(){return Y})),n.d(e,"PayButton",(function(){return G})),n.d(e,"Picker",(function(){return p})),n.d(e,"PickerView",(function(){return v})),n.d(e,"PickerViewColumn",(function(){return b})),n.d(e,"Progress",(function(){return o})),n.d(e,"Radio",(function(){return g})),n.d(e,"RadioGroup",(function(){return m})),n.d(e,"RateButton",(function(){return $})),n.d(e,"RichText",(function(){return a})),n.d(e,"RtcRoom",(function(){return q})),n.d(e,"ScrollView",(function(){return C})),n.d(e,"Slider",(function(){return y})),n.d(e,"Slot",(function(){return F})),n.d(e,"Swiper",(function(){return x})),n.d(e,"SwiperItem",(function(){return T})),n.d(e,"Switch",(function(){return O})),n.d(e,"Text",(function(){return c})),n.d(e,"Textarea",(function(){return k})),n.d(e,"Video",(function(){return L})),n.d(e,"View",(function(){return r})),n.d(e,"WebView",(function(){return M}));var r="view",i="icon",o="progress",a="rich-text",c="text",u="button",s="checkbox",l="checkbox-group",d="form",h="input",f="label",p="picker",v="picker-view",b="picker-view-column",g="radio",m="radio-group",y="slider",O="switch",j="cover-image",k="textarea",w="cover-view",S="movable-area",E="movable-view",C="scroll-view",x="swiper",T="swiper-item",P="navigator",_="audio",I="camera",N="image",A="live-player",L="video",R="canvas",B="ad",M="web-view",D="block",U="map",F="slot",W="native-slot",V="custom-wrapper",q="rtc-room",G="pay-button",z="consume-card",H="aweme-data",$="rate-button",Y="open-data"},20:function(t,e,n){"use strict";n.r(e),function(t,r,i){n.d(e,"Current",(function(){return er})),n.d(e,"FormElement",(function(){return rn})),n.d(e,"History",(function(){return zn})),n.d(e,"Location",(function(){return or})),n.d(e,"MutationObserver",(function(){return ft})),n.d(e,"SVGElement",(function(){return Or})),n.d(e,"Style",(function(){return oe})),n.d(e,"TaroElement",(function(){return se})),n.d(e,"TaroEvent",(function(){return Ze})),n.d(e,"TaroNode",(function(){return Rt})),n.d(e,"TaroRootElement",(function(){return sn})),n.d(e,"TaroText",(function(){return ln})),n.d(e,"URL",(function(){return Tn})),n.d(e,"URLSearchParams",(function(){return xn})),n.d(e,"addLeadingSlash",(function(){return Cr})),n.d(e,"cancelAnimationFrame",(function(){return br})),n.d(e,"createComponentConfig",(function(){return Lr})),n.d(e,"createEvent",(function(){return Xe})),n.d(e,"createPageConfig",(function(){return Ar})),n.d(e,"createRecursiveComponentConfig",(function(){return Rr})),n.d(e,"document",(function(){return In})),n.d(e,"eventCenter",(function(){return Vn})),n.d(e,"eventHandler",(function(){return nn})),n.d(e,"eventSource",(function(){return Pt})),n.d(e,"getComputedStyle",(function(){return Rn})),n.d(e,"getCurrentInstance",(function(){return nr})),n.d(e,"getPageInstance",(function(){return Sr})),n.d(e,"history",(function(){return yr})),n.d(e,"hydrate",(function(){return It})),n.d(e,"incrementId",(function(){return pt})),n.d(e,"injectPageInstance",(function(){return wr})),n.d(e,"location",(function(){return mr})),n.d(e,"navigator",(function(){return hr})),n.d(e,"nextTick",(function(){return Br})),n.d(e,"now",(function(){return cr})),n.d(e,"options",(function(){return le})),n.d(e,"parseUrl",(function(){return Pn})),n.d(e,"removePageInstance",(function(){return Er})),n.d(e,"requestAnimationFrame",(function(){return vr})),n.d(e,"safeExecute",(function(){return xr})),n.d(e,"stringify",(function(){return Tr})),n.d(e,"window",(function(){return fr}));n(69);var o=n(35),a=n(342),c=n(343),u=n(6),s=n(5),l=n(23),d=n(24),h=n(72),f=n(47),p=n(260),v=n(36),b=n(12),g=n(15),m=n(17);n.d(e,"Events",(function(){return m["b"]})),n.d(e,"hooks",(function(){return m["g"]}));var y,O="\u5c0f\u7a0b\u5e8f setData",j="\u9875\u9762\u521d\u59cb\u5316",k="root",w="html",S="head",E="body",C="app",x="container",T="#document",P="document-fragment",_="id",I="uid",N="class",A="style",L="focus",R="view",B="static-view",M="pure-view",D="value",U="input",F="change",W="custom-wrapper",V="target",q="currentTarget",G="type",z="confirm",H="timeStamp",$="keyCode",Y="touchmove",J="catchMove",K="catch-view",Q="comment",Z="onLoad",X="onReady",tt="onShow",et="onHide",nt="options",rt="externalClasses",it="e_result",ot="behaviors",at="a";(function(t){t["INIT"]="0",t["RESTORE"]="1",t["RECOVER"]="2",t["DESTORY"]="3"})(y||(y={}));var ct=[],ut=function(t,e){return!!t&&t.sid===(null===e||void 0===e?void 0:e.sid)},st=function(t,e){var n=e.characterData,r=e.characterDataOldValue,i=e.attributes,o=e.attributeOldValue,a=e.childList;switch(t.type){case"characterData":return!!n&&(r||(t.oldValue=null),!0);case"attributes":return!!i&&(o||(t.oldValue=null),!0);case"childList":return!!a}},lt=!1;function dt(t,e){t.records.push(e),lt||(lt=!0,Promise.resolve().then((function(){lt=!1,ct.forEach((function(t){return t.callback(t.takeRecords())}))})))}function ht(t){ct.forEach((function(e){for(var n=e.options,r=t.target;r;r=r.parentNode){if(ut(e.target,r)&&st(t,n)){dt(e,t);break}if(!n.subtree)break}}))}var ft=function(){function t(e){Object(b["a"])(this,t),this.core={observe:m["s"],disconnect:m["s"],takeRecords:m["s"]}}return Object(g["a"])(t,[{key:"observe",value:function(){var t;(t=this.core).observe.apply(t,arguments)}},{key:"disconnect",value:function(){this.core.disconnect()}},{key:"takeRecords",value:function(){return this.core.takeRecords()}}],[{key:"record",value:function(t){ht(t)}}]),t}(),pt=function(){for(var t=[],e=65;e<=90;e++)t.push(e);for(var n=97;n<=122;n++)t.push(n);var r=t.length-1,i=[0,0];return function(){var e=i.map((function(e){return t[e]})),n=String.fromCharCode.apply(String,Object(v["a"])(e)),o=i.length-1;i[o]++;while(i[o]>r){if(i[o]=0,o-=1,o<0){i.push(0);break}i[o]++}return n}};function vt(t){return 1===t.nodeType}function bt(t){return 3===t.nodeType}function gt(t){return t.nodeName===Q}function mt(t){var e=Object.keys(t.props).find((function(t){return!(/^(class|style|id)$/.test(t)||t.startsWith("data-"))}));return Boolean(e)}function yt(t,e){var n,r=!1;while((null===t||void 0===t?void 0:t.parentElement)&&t.parentElement._path!==k){if(null===(n=t.parentElement.__handlers[e])||void 0===n?void 0:n.length){r=!0;break}t=t.parentElement}return r}function Ot(t){switch(t){case A:return"st";case _:return I;case N:return"cl";default:return t}}var jt,kt=new Map;function wt(t,e,n){Object(m["k"])(n)&&(n={value:n}),Object.defineProperty(t.prototype,e,Object.assign({configurable:!0,enumerable:!0},n))}function St(){return jt||(jt=Object(m["f"])(m["h"])),jt}var Et,Ct,xt=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t,r){var i,o;return Object(b["a"])(this,n),o=e.call(this),t.trim().split(/\s+/).forEach(Object(h["a"])((i=Object(s["a"])(o),Object(f["a"])(n.prototype)),"add",i).bind(Object(s["a"])(o))),o.el=r,o}return Object(g["a"])(n,[{key:"add",value:function(t){return Object(h["a"])(Object(f["a"])(n.prototype),"add",this).call(this,t),this._update(),this}},{key:"remove",value:function(t){Object(h["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,t),this._update()}},{key:"toggle",value:function(t){Object(h["a"])(Object(f["a"])(n.prototype),"has",this).call(this,t)?Object(h["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,t):Object(h["a"])(Object(f["a"])(n.prototype),"add",this).call(this,t),this._update()}},{key:"replace",value:function(t,e){Object(h["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,t),Object(h["a"])(Object(f["a"])(n.prototype),"add",this).call(this,e),this._update()}},{key:"contains",value:function(t){return Object(h["a"])(Object(f["a"])(n.prototype),"has",this).call(this,t)}},{key:"toString",value:function(){return this.value}},{key:"_update",value:function(){this.el.className=this.value}},{key:"value",get:function(){return Object(v["a"])(this).filter((function(t){return""!==t})).join(" ")}},{key:"length",get:function(){return this.size}}]),n}(Object(p["a"])(Set)),Tt=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return Object(g["a"])(n,[{key:"removeNode",value:function(t){var e=t.sid,n=t.uid;this.delete(e),n!==e&&n&&this.delete(n)}},{key:"removeNodeTree",value:function(t){var e=this;this.removeNode(t);var n=t.childNodes;n.forEach((function(t){return e.removeNodeTree(t)}))}}]),n}(Object(p["a"])(Map)),Pt=new Tt,_t={window:m["a"],document:m["a"]};function It(t){var e;Ct||(Ct=St()),Et||(Et=m["g"].call("getSpecialNodes"));var n,r=t.nodeName;if(bt(t))return n={},Object(u["a"])(n,"v",t.nodeValue),Object(u["a"])(n,"nn",Ct[r]._num),n;var i=(e={},Object(u["a"])(e,"nn",r),Object(u["a"])(e,"sid",t.sid),e);t.uid!==t.sid&&(i.uid=t.uid),!t.isAnyEventBinded()&&Et.indexOf(r)>-1&&(i["nn"]="static-".concat(r),r!==R||mt(t)||(i["nn"]=M));var o=t.props;for(var a in o){var c=Object(m["v"])(a);a.startsWith("data-")||a===N||a===A||a===_||c===J||(i[c]=o[a]),r===R&&c===J&&!1!==o[a]&&(i["nn"]=K)}var s=t.childNodes;s=s.filter((function(t){return!gt(t)})),s.length>0?i["cn"]=s.map(It):i["cn"]=[],""!==t.className&&(i["cl"]=t.className);var l=t.cssText;""!==l&&"swiper-item"!==r&&(i["st"]=l),m["g"].call("modifyHydrateData",i);var d=i["nn"],h=Ct[d];if(h)for(var f in i["nn"]=h._num,i)f in h&&(i[h[f]]=i[f],delete i[f]);return i}var Nt=function(){function t(){Object(b["a"])(this,t),this.__handlers={}}return Object(g["a"])(t,[{key:"addEventListener",value:function(t,e,n){if(t=t.toLowerCase(),m["g"].call("onAddEvent",t,e,n,this),"regionchange"===t)return this.addEventListener("begin",e,n),void this.addEventListener("end",e,n);Boolean(n);var r=!1;if(Object(m["n"])(n)&&(Boolean(n.capture),r=Boolean(n.once)),r){var i=function n(){e.apply(this,arguments),this.removeEventListener(t,n)};this.addEventListener(t,i,Object.assign(Object.assign({},n),{once:!1}))}else{var o=e;e=function(){return o.apply(this,arguments)},e.oldHandler=o;var a=this.__handlers[t];Object(m["i"])(a)?a.push(e):this.__handlers[t]=[e]}}},{key:"removeEventListener",value:function(t,e){if(t=t.toLowerCase(),"regionchange"===t)return this.removeEventListener("begin",e),void this.removeEventListener("end",e);if(e){var n=this.__handlers[t];if(Object(m["i"])(n)){var r=n.findIndex((function(t){if(t===e||t.oldHandler===e)return!0}));n.splice(r,1)}}}},{key:"isAnyEventBinded",value:function(){var t=this.__handlers,e=Object.keys(t).find((function(e){return t[e].length}));return Boolean(e)}}]),t}(),At="cn",Lt=pt(),Rt=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;return Object(b["a"])(this,n),t=e.call(this),t.parentNode=null,t.childNodes=[],t.hydrate=function(t){return function(){return It(t)}},t.uid="_"+Lt(),t.sid=t.uid,Pt.set(t.sid,Object(s["a"])(t)),t}return Object(g["a"])(n,[{key:"updateChildNodes",value:function(t){var e=this,n=function(){return[]},r=function(){var t=e.childNodes.filter((function(t){return!gt(t)}));return t.map(It)};this.enqueueUpdate({path:"".concat(this._path,".").concat(At),value:t?n:r})}},{key:"findIndex",value:function(t){var e=this.childNodes.indexOf(t);return Object(m["e"])(-1!==e,"The node to be replaced is not a child of this node."),e}},{key:"insertBefore",value:function(t,e,n){var r=this;if(t.nodeName===P)return t.childNodes.reduceRight((function(t,e){return r.insertBefore(e,t),e}),e),t;if(t.remove({cleanRef:!1}),t.parentNode=this,e){var i=this.findIndex(e);this.childNodes.splice(i,0,t)}else this.childNodes.push(t);if(this._root)if(e)n?this.enqueueUpdate({path:t._path,value:this.hydrate(t)}):this.updateChildNodes();else{var o=1===this.childNodes.length;o?this.updateChildNodes():this.enqueueUpdate({path:t._path,value:this.hydrate(t)})}return ft.record({type:"childList",target:this,addedNodes:[t],removedNodes:n?[e]:[],nextSibling:n?e.nextSibling:e||null,previousSibling:t.previousSibling}),t}},{key:"appendChild",value:function(t){return this.insertBefore(t)}},{key:"replaceChild",value:function(t,e){if(e.parentNode===this)return this.insertBefore(t,e,!0),e.remove({doUpdate:!1}),e}},{key:"removeChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.cleanRef,r=e.doUpdate;!1!==n&&!1!==r&&ft.record({type:"childList",target:this,removedNodes:[t],nextSibling:t.nextSibling,previousSibling:t.previousSibling});var i=this.findIndex(t);return this.childNodes.splice(i,1),t.parentNode=null,!1!==n&&Pt.removeNodeTree(t),this._root&&!1!==r&&this.updateChildNodes(),t}},{key:"remove",value:function(t){var e;null===(e=this.parentNode)||void 0===e||e.removeChild(this,t)}},{key:"hasChildNodes",value:function(){return this.childNodes.length>0}},{key:"enqueueUpdate",value:function(t){var e;null===(e=this._root)||void 0===e||e.enqueueUpdate(t)}},{key:"_root",get:function(){var t;return(null===(t=this.parentNode)||void 0===t?void 0:t._root)||null}},{key:"_path",get:function(){var t=this.parentNode;if(t){var e=t.childNodes.filter((function(t){return!gt(t)})),n=e.indexOf(this),r=m["g"].call("getPathIndex",n);return"".concat(t._path,".").concat(At,".").concat(r)}return""}},{key:"nextSibling",get:function(){var t=this.parentNode;return(null===t||void 0===t?void 0:t.childNodes[t.findIndex(this)+1])||null}},{key:"previousSibling",get:function(){var t=this.parentNode;return(null===t||void 0===t?void 0:t.childNodes[t.findIndex(this)-1])||null}},{key:"parentElement",get:function(){var t=this.parentNode;return 1===(null===t||void 0===t?void 0:t.nodeType)?t:null}},{key:"firstChild",get:function(){return this.childNodes[0]||null}},{key:"lastChild",get:function(){var t=this.childNodes;return t[t.length-1]||null}},{key:"textContent",set:function(t){var e=this.childNodes.slice(),n=[];while(this.firstChild)this.removeChild(this.firstChild,{doUpdate:!1});if(""===t)this.updateChildNodes(!0);else{var r=_t.document.createTextNode(t);n.push(r),this.appendChild(r),this.updateChildNodes()}ft.record({type:"childList",target:this,removedNodes:e,addedNodes:n})}},{key:"ownerDocument",get:function(){return _t.document}}],[{key:"extend",value:function(t,e){wt(n,t,e)}}]),n}(Nt),Bt="webkit",Mt=["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 Dt(t,e,n){!n&&Mt.push(t),e.forEach((function(e){Mt.push(t+e),t===Bt&&Mt.push("Webkit"+e)}))}var Ut="Color",Ft="Style",Wt="Width",Vt="Image",qt="Size",Gt=[Ut,Ft,Wt],zt=["FitLength","FitWidth",Vt],Ht=[].concat(zt,["Radius"]),$t=[].concat(Gt,zt),Yt=["EndRadius","StartRadius"],Jt=["Bottom","Left","Right","Top"],Kt=["End","Start"],Qt=["Content","Items","Self"],Zt=["BlockSize","Height","InlineSize",Wt],Xt=["After","Before"];function te(t){ft.record({type:"attributes",target:t._element,attributeName:"style",oldValue:t.cssText})}function ee(t){var e=t._element;e._root&&e.enqueueUpdate({path:"".concat(e._path,".","st"),value:t.cssText})}function ne(t,e){var n=this[e];n!==t&&(!this._pending&&te(this),Object(m["l"])(t)||Object(m["p"])(t)?(this._usedStyleProp.delete(e),delete this._value[e]):(this._usedStyleProp.add(e),this._value[e]=t),!this._pending&&ee(this))}function re(t){for(var e={},n=function(t){var n=Mt[t];e[n]={get:function(){var t=this._value[n];return Object(m["l"])(t)||Object(m["p"])(t)?"":t},set:function(t){ne.call(this,t,n)}}},r=0;r<Mt.length;r++)n(r);Object.defineProperties(t.prototype,e)}function ie(t){return/^--/.test(t)}Dt("borderBlock",Gt),Dt("borderBlockEnd",Gt),Dt("borderBlockStart",Gt),Dt("outline",[].concat(Gt,["Offset"])),Dt("border",[].concat(Gt,["Boundary","Break","Collapse","Radius","Spacing"])),Dt("borderFit",["Length",Wt]),Dt("borderInline",Gt),Dt("borderInlineEnd",Gt),Dt("borderInlineStart",Gt),Dt("borderLeft",$t),Dt("borderRight",$t),Dt("borderTop",$t),Dt("borderBottom",$t),Dt("textDecoration",[Ut,Ft,"Line"]),Dt("textEmphasis",[Ut,Ft,"Position"]),Dt("scrollMargin",Jt),Dt("scrollPadding",Jt),Dt("padding",Jt),Dt("margin",[].concat(Jt,["Trim"])),Dt("scrollMarginBlock",Kt),Dt("scrollMarginInline",Kt),Dt("scrollPaddingBlock",Kt),Dt("scrollPaddingInline",Kt),Dt("gridColumn",Kt),Dt("gridRow",Kt),Dt("insetBlock",Kt),Dt("insetInline",Kt),Dt("marginBlock",Kt),Dt("marginInline",Kt),Dt("paddingBlock",Kt),Dt("paddingInline",Kt),Dt("pause",Xt),Dt("cue",Xt),Dt("mask",["Clip","Composite",Vt,"Mode","Origin","Position","Repeat",qt,"Type"]),Dt("borderImage",["Outset","Repeat","Slice","Source","Transform",Wt]),Dt("maskBorder",["Mode","Outset","Repeat","Slice","Source",Wt]),Dt("font",["Family","FeatureSettings","Kerning","LanguageOverride","MaxSize","MinSize","OpticalSizing","Palette",qt,"SizeAdjust","Stretch",Ft,"Weight","VariationSettings"]),Dt("transform",["Box","Origin",Ft]),Dt("background",[Ut,Vt,"Attachment","BlendMode","Clip","Origin","Position","Repeat",qt]),Dt("listStyle",[Vt,"Position","Type"]),Dt("scrollSnap",["Align","Stop","Type"]),Dt("grid",["Area","AutoColumns","AutoFlow","AutoRows"]),Dt("gridTemplate",["Areas","Columns","Rows"]),Dt("overflow",["Block","Inline","Wrap","X","Y"]),Dt("transition",["Delay","Duration","Property","TimingFunction"]),Dt("color",["Adjust","InterpolationFilters","Scheme"]),Dt("textAlign",["All","Last"]),Dt("page",["BreakAfter","BreakBefore","BreakInside"]),Dt("animation",["Delay","Direction","Duration","FillMode","IterationCount","Name","PlayState","TimingFunction"]),Dt("flex",["Basis","Direction","Flow","Grow","Shrink","Wrap"]),Dt("offset",[].concat(Xt,Kt,["Anchor","Distance","Path","Position","Rotate"])),Dt("perspective",["Origin"]),Dt("clip",["Path","Rule"]),Dt("flow",["From","Into"]),Dt("align",["Content","Items","Self"],!0),Dt("alignment",["Adjust","Baseline"],!0),Dt("borderStart",Yt,!0),Dt("borderEnd",Yt,!0),Dt("borderCorner",["Fit",Vt,"ImageTransform"],!0),Dt("borderTopLeft",Ht,!0),Dt("borderTopRight",Ht,!0),Dt("borderBottomLeft",Ht,!0),Dt("borderBottomRight",Ht,!0),Dt("column",["s","Count","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","Span",Wt],!0),Dt("break",[].concat(Xt,["Inside"]),!0),Dt("wrap",[].concat(Xt,["Flow","Inside","Through"]),!0),Dt("justify",Qt,!0),Dt("place",Qt,!0),Dt("max",[].concat(Zt,["Lines"]),!0),Dt("min",Zt,!0),Dt("line",["Break","Clamp","Grid","Height","Padding","Snap"],!0),Dt("inline",["BoxAlign",qt,"Sizing"],!0),Dt("text",["CombineUpright","GroupAlign","Height","Indent","Justify","Orientation","Overflow","Shadow","SpaceCollapse","SpaceTrim","Spacing","Transform","UnderlinePosition","Wrap"],!0),Dt("shape",["ImageThreshold","Inside","Margin","Outside"],!0),Dt("word",["Break","Spacing","Wrap"],!0),Dt("object",["Fit","Position"],!0),Dt("box",["DecorationBreak","Shadow","Sizing","Snap"],!0),Dt(Bt,["LineClamp","BoxOrient","TextFillColor","TextStroke","TextStrokeColor","TextStrokeWidth"],!0);var oe=function(){function t(e){Object(b["a"])(this,t),this._element=e,this._usedStyleProp=new Set,this._value={}}return Object(g["a"])(t,[{key:"setCssVariables",value:function(t){var e=this;this.hasOwnProperty(t)||Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:function(){return e._value[t]||""},set:function(n){ne.call(e,n,t)}})}},{key:"setProperty",value:function(t,e){"-"===t[0]?this.setCssVariables(t):t=Object(m["v"])(t),Object(m["l"])(e)||Object(m["p"])(e)?this.removeProperty(t):this[t]=e}},{key:"removeProperty",value:function(t){if(t=Object(m["v"])(t),!this._usedStyleProp.has(t))return"";var e=this[t];return this[t]=void 0,e}},{key:"getPropertyValue",value:function(t){t=Object(m["v"])(t);var e=this[t];return e||""}},{key:"cssText",get:function(){var t=this;if(!this._usedStyleProp.size)return"";var e=[];return this._usedStyleProp.forEach((function(n){var r=t[n];if(!Object(m["l"])(r)&&!Object(m["p"])(r)){var i=ie(n)?n:Object(m["w"])(n);0!==i.indexOf("webkit")&&0!==i.indexOf("Webkit")||(i="-".concat(i)),e.push("".concat(i,": ").concat(r,";"))}})),e.join(" ")},set:function(t){var e=this;if(this._pending=!0,te(this),this._usedStyleProp.forEach((function(t){e.removeProperty(t)})),""===t||Object(m["p"])(t)||Object(m["l"])(t))return this._pending=!1,void ee(this);for(var n=t.split(";"),r=0;r<n.length;r++){var i=n[r].trim();if(""!==i){var o=i.split(":"),a=Object(c["a"])(o),u=a[0],s=a.slice(1),l=s.join(":");Object(m["p"])(l)||this.setProperty(u.trim(),l.trim())}}this._pending=!1,ee(this)}}]),t}();function ae(){return!0}function ce(t,e){var n=[],r=null!==e&&void 0!==e?e:ae,i=t;while(i)1===i.nodeType&&r(i)&&n.push(i),i=ue(i,t);return n}function ue(t,e){var n=t.firstChild;if(n)return n;var r=t;do{if(r===e)return null;var i=r.nextSibling;if(i)return i;r=r.parentElement}while(r);return null}re(oe);var se=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;return Object(b["a"])(this,n),t=e.call(this),t.props={},t.dataset=m["a"],t.nodeType=1,t.style=new oe(Object(s["a"])(t)),m["g"].call("patchElement",Object(s["a"])(t)),t}return Object(g["a"])(n,[{key:"_stopPropagation",value:function(t){var e=this;while(e=e.parentNode){var n=e.__handlers[t.type];if(Object(m["i"])(n))for(var r=n.length;r--;){var i=n[r];i._stop=!0}}}},{key:"hasAttribute",value:function(t){return!Object(m["p"])(this.props[t])}},{key:"hasAttributes",value:function(){return this.attributes.length>0}},{key:"blur",value:function(){this.setAttribute(L,!1)}},{key:"setAttribute",value:function(t,e){var n=this.nodeName===R&&!mt(this)&&!this.isAnyEventBinded();switch(t!==A&&ft.record({target:this,type:"attributes",attributeName:t,oldValue:this.getAttribute(t)}),t){case A:this.style.cssText=e;break;case _:this.uid!==this.sid&&Pt.delete(this.uid),e=String(e),this.props[t]=this.uid=e,Pt.set(e,this);break;default:this.props[t]=e,t.startsWith("data-")&&(this.dataset===m["a"]&&(this.dataset=Object.create(null)),this.dataset[Object(m["v"])(t.replace(/^data-/,""))]=e);break}if(this._root){var r=St(),i=r[this.nodeName],o=r[R]._num,a=r[B]._num,c=r[K]._num,u=this._path;t=Ot(t);var s=Object(m["v"])(t),l={path:"".concat(u,".").concat(s),value:Object(m["k"])(e)?function(){return e}:e};if(m["g"].call("modifySetAttrPayload",this,t,l,r),i){var d=i[s]||t;l.path="".concat(u,".").concat(Object(m["v"])(d))}this.enqueueUpdate(l),this.nodeName===R&&(s===J?this.enqueueUpdate({path:"".concat(u,".","nn"),value:e?c:this.isAnyEventBinded()?o:a}):n&&mt(this)&&this.enqueueUpdate({path:"".concat(u,".","nn"),value:a}))}}},{key:"removeAttribute",value:function(t){var e=this.nodeName===R&&mt(this)&&!this.isAnyEventBinded();if(ft.record({target:this,type:"attributes",attributeName:t,oldValue:this.getAttribute(t)}),t===A)this.style.cssText="";else{var n=m["g"].call("onRemoveAttribute",this,t);if(n)return;if(!this.props.hasOwnProperty(t))return;delete this.props[t]}if(this._root){var r=St(),i=r[this.nodeName],o=r[R]._num,a=r[B]._num,c=r[M]._num,u=this._path;t=Ot(t);var s=Object(m["v"])(t),l={path:"".concat(u,".").concat(s),value:""};if(m["g"].call("modifyRmAttrPayload",this,t,l,r),i){var d=i[s]||t;l.path="".concat(u,".").concat(Object(m["v"])(d))}this.enqueueUpdate(l),this.nodeName===R&&(s===J?this.enqueueUpdate({path:"".concat(u,".","nn"),value:this.isAnyEventBinded()?o:mt(this)?a:c}):e&&!mt(this)&&this.enqueueUpdate({path:"".concat(u,".","nn"),value:c}))}}},{key:"getAttribute",value:function(t){var e=t===A?this.style.cssText:this.props[t];return null!==e&&void 0!==e?e:""}},{key:"getElementsByTagName",value:function(t){var e=this;return ce(this,(function(n){return n.nodeName===t||"*"===t&&e!==n}))}},{key:"getElementsByClassName",value:function(t){return ce(this,(function(e){var n=e.classList,r=t.trim().split(/\s+/);return r.every((function(t){return n.has(t)}))}))}},{key:"dispatchEvent",value:function(t){var e=t.cancelable,n=this.__handlers[t.type];if(!Object(m["i"])(n))return!1;for(var r=n.length;r--;){var i=n[r],o=void 0;if(i._stop?i._stop=!1:(m["g"].call("modifyDispatchEvent",t,this),o=i.call(this,t)),(!1===o||t._end)&&e&&(t.defaultPrevented=!0),!Object(m["p"])(o)&&t.mpEvent&&(t.mpEvent[it]=o),t._end&&t._stop)break}return t._stop?this._stopPropagation(t):t._stop=!0,null!=n}},{key:"addEventListener",value:function(t,e,r){var i=this.nodeName,o=m["g"].call("getSpecialNodes"),a=!0;if(Object(m["n"])(r)&&!1===r.sideEffect&&(a=!1,delete r.sideEffect),!1!==a&&!this.isAnyEventBinded()&&o.indexOf(i)>-1){var c=St(),u=c[i]._num;this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:u})}Object(h["a"])(Object(f["a"])(n.prototype),"addEventListener",this).call(this,t,e,r)}},{key:"removeEventListener",value:function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Object(h["a"])(Object(f["a"])(n.prototype),"removeEventListener",this).call(this,t,e);var i=this.nodeName,o=m["g"].call("getSpecialNodes");if(!1!==r&&!this.isAnyEventBinded()&&o.indexOf(i)>-1){var a=St(),c=mt(this)?"static-".concat(i):"pure-".concat(i),u=a[c]._num;this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:u})}}},{key:"id",get:function(){return this.getAttribute(_)},set:function(t){this.setAttribute(_,t)}},{key:"className",get:function(){return this.getAttribute(N)||""},set:function(t){this.setAttribute(N,t)}},{key:"cssText",get:function(){return this.getAttribute(A)||""}},{key:"classList",get:function(){return new xt(this.className,this)}},{key:"children",get:function(){return this.childNodes.filter(vt)}},{key:"attributes",get:function(){var t=this.props,e=Object.keys(t),n=this.style.cssText,r=e.map((function(e){return{name:e,value:t[e]}}));return r.concat(n?{name:A,value:n}:[])}},{key:"textContent",get:function(){for(var t="",e=this.childNodes,n=0;n<e.length;n++)t+=e[n].textContent;return t},set:function(t){Object(a["a"])(Object(f["a"])(n.prototype),"textContent",t,this,!0)}},{key:"focus",get:function(){return function(){this.setAttribute(L,!0)}},set:function(t){this.setAttribute(L,t)}}],[{key:"extend",value:function(t,e){wt(n,t,e)}}]),n}(Rt),le={prerender:!0,debug:!1};function de(){return{index:0,column:0,line:0}}function he(t,e,n){for(var r=t.index,i=t.index=r+n,o=r;o<i;o++){var a=e.charAt(o);"\n"===a?(t.line++,t.column=0):t.column++}}function fe(t,e,n){var r=n-t.index;return he(t,e,r)}function pe(t){return{index:t.index,line:t.line,column:t.column}}var ve=/\s/;function be(t){return ve.test(t)}var ge=/=/;function me(t){return ge.test(t)}function ye(t){var e=t.toLowerCase();return!!le.html.skipElements.has(e)}var Oe=/[A-Za-z0-9]/;function je(t,e){while(1){var n=t.indexOf("<",e);if(-1===n)return n;var r=t.charAt(n+1);if("/"===r||"!"===r||Oe.test(r))return n;e=n+1}}function ke(t,e,n){if(!be(n.charAt(t)))return!1;for(var r=n.length,i=t-1;i>e;i--){var o=n.charAt(i);if(!be(o)){if(me(o))return!1;break}}for(var a=t+1;a<r;a++){var c=n.charAt(a);if(!be(c))return!me(c)}}var we=function(){function t(e){Object(b["a"])(this,t),this.tokens=[],this.position=de(),this.html=e}return Object(g["a"])(t,[{key:"scan",value:function(){var t=this.html,e=this.position,n=t.length;while(e.index<n){var r=e.index;if(this.scanText(),e.index===r){var i=t.startsWith("!--",r+1);if(i)this.scanComment();else{var o=this.scanTag();ye(o)&&this.scanSkipTag(o)}}}return this.tokens}},{key:"scanText",value:function(){var t="text",e=this.html,n=this.position,r=je(e,n.index);if(r!==n.index){-1===r&&(r=e.length);var i=pe(n),o=e.slice(n.index,r);fe(n,e,r);var a=pe(n);this.tokens.push({type:t,content:o,position:{start:i,end:a}})}}},{key:"scanComment",value:function(){var t="comment",e=this.html,n=this.position,r=pe(n);he(n,e,4);var i=e.indexOf("--\x3e",n.index),o=i+3;-1===i&&(i=o=e.length);var a=e.slice(n.index,i);fe(n,e,o),this.tokens.push({type:t,content:a,position:{start:r,end:pe(n)}})}},{key:"scanTag",value:function(){this.scanTagStart();var t=this.scanTagName();return this.scanAttrs(),this.scanTagEnd(),t}},{key:"scanTagStart",value:function(){var t="tag-start",e=this.html,n=this.position,r=e.charAt(n.index+1),i="/"===r,o=pe(n);he(n,e,i?2:1),this.tokens.push({type:t,close:i,position:{start:o}})}},{key:"scanTagEnd",value:function(){var t="tag-end",e=this.html,n=this.position,r=e.charAt(n.index),i="/"===r;he(n,e,i?2:1);var o=pe(n);this.tokens.push({type:t,close:i,position:{end:o}})}},{key:"scanTagName",value:function(){var t="tag",e=this.html,n=this.position,r=e.length,i=n.index;while(i<r){var o=e.charAt(i),a=!(be(o)||"/"===o||">"===o);if(a)break;i++}var c=i+1;while(c<r){var u=e.charAt(c),s=!(be(u)||"/"===u||">"===u);if(!s)break;c++}fe(n,e,c);var l=e.slice(i,c);return this.tokens.push({type:t,content:l}),l}},{key:"scanAttrs",value:function(){var t=this.html,e=this.position,n=this.tokens,r=e.index,i=null,o=r,a=[],c=t.length;while(r<c){var u=t.charAt(r);if(i){var s=u===i;s&&(i=null),r++}else{var l="/"===u||">"===u;if(l){r!==o&&a.push(t.slice(o,r));break}if(ke(r,o,t))r!==o&&a.push(t.slice(o,r)),o=r+1,r++;else{var d="'"===u||'"'===u;d?(i=u,r++):r++}}}fe(e,t,r);for(var h=a.length,f="attribute",p=0;p<h;p++){var v=a[p],b=v.includes("=");if(b){var g=a[p+1];if(g&&g.startsWith("=")){if(g.length>1){var m=v+g;n.push({type:f,content:m}),p+=1;continue}var y=a[p+2];if(p+=1,y){var O=v+"="+y;n.push({type:f,content:O}),p+=1;continue}}}if(v.endsWith("=")){var j=a[p+1];if(j&&!j.includes("=")){var k=v+j;n.push({type:f,content:k}),p+=1;continue}var w=v.slice(0,-1);n.push({type:f,content:w})}else n.push({type:f,content:v})}}},{key:"scanSkipTag",value:function(t){var e=this.html,n=this.position,r=t.toLowerCase(),i=e.length;while(n.index<i){var o=e.indexOf("</",n.index);if(-1===o){this.scanText();break}fe(n,e,o);var a=this.scanTag();if(r===a.toLowerCase())break}}}]),t}();function Se(t){var e=t.charAt(0),n=t.length-1,r='"'===e||"'"===e;return r&&e===t.charAt(n)?t.slice(1,n):t}var Ee="{",Ce="}",xe=".",Te="#",Pe=">",_e="~",Ie="+",Ne=function(){function t(){Object(b["a"])(this,t),this.styles=[]}return Object(g["a"])(t,[{key:"extractStyle",value:function(t){var e=this,n=/<style\s?[^>]*>((.|\n|\s)+?)<\/style>/g,r=t;return r=r.replace(n,(function(t,n){var r=n.trim();return e.stringToSelector(r),""})),r.trim()}},{key:"stringToSelector",value:function(t){var e=this,n=t.indexOf(Ee),r=function(){var r=t.indexOf(Ce),i=t.slice(0,n).trim(),o=t.slice(n+1,r);o=o.replace(/:(.*);/g,(function(t,e){var n=e.trim().replace(/ +/g,"+++");return":".concat(n,";")})),o=o.replace(/ /g,""),o=o.replace(/\+\+\+/g," "),/;$/.test(o)||(o+=";"),i.split(",").forEach((function(t){var n=e.parseSelector(t);e.styles.push({content:o,selectorList:n})})),t=t.slice(r+1),n=t.indexOf(Ee)};while(n>-1)r()}},{key:"parseSelector",value:function(t){var e=t.trim().replace(/ *([>~+]) */g," $1").replace(/ +/g," ").replace(/\[\s*([^[\]=\s]+)\s*=\s*([^[\]=\s]+)\s*\]/g,"[$1=$2]").split(" "),n=e.map((function(t){var e=t.charAt(0),n={isChild:e===Pe,isGeneralSibling:e===_e,isAdjacentSibling:e===Ie,tag:null,id:null,class:[],attrs:[]};return t=t.replace(/^[>~+]/,""),t=t.replace(/\[(.+?)\]/g,(function(t,e){var r=e.split("="),i=Object(o["a"])(r,2),a=i[0],c=i[1],u=-1===e.indexOf("="),s={all:u,key:a,value:u?null:c};return n.attrs.push(s),""})),t=t.replace(/([.#][A-Za-z0-9-_]+)/g,(function(t,e){return e[0]===Te?n.id=e.substr(1):e[0]===xe&&n.class.push(e.substr(1)),""})),""!==t&&(n.tag=t),n}));return n}},{key:"matchStyle",value:function(t,e,n){var r=this,i=Le(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 h=r.matchCurrent(t,e,l);if(h&&l.isGeneralSibling){var f=Ae(e);while(f){if(f.h5tagName&&r.matchCurrent(f.h5tagName,f,u[s-1])){h=!0;break}f=Ae(f),h=!1}}if(h&&l.isAdjacentSibling){var p=Ae(e);if(p&&p.h5tagName){var v=r.matchCurrent(p.h5tagName,p,u[s-1]);v||(h=!1)}else h=!1}if(h){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(t,e,u[n[a]])&&(n[a]+=1));return i}),"");return i}},{key:"matchCurrent",value:function(t,e,n){if(n.tag&&n.tag!==t)return!1;if(n.id&&n.id!==e.id)return!1;if(n.class.length)for(var r=e.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&&!e.hasAttribute(s))return!1;var d=e.getAttribute(s);if(d!==Se(l||""))return!1}return!0}}]),t}();function Ae(t){var e=t.parentElement;if(!e)return null;var n=t.previousSibling;return n?1===n.nodeType?n:Ae(n):null}function Le(t){return t.sort((function(t,e){var n=Re(t.selectorList),r=Re(e.selectorList);if(n!==r)return n-r;var i=Be(t.selectorList),o=Be(e.selectorList);if(i!==o)return i-o;var a=Me(t.selectorList),c=Me(e.selectorList);return a-c}))}function Re(t){return t.reduce((function(t,e){return t+(e.id?1:0)}),0)}function Be(t){return t.reduce((function(t,e){return t+e.class.length+e.attrs.length}),0)}function Me(t){return t.reduce((function(t,e){return t+(e.tag?1:0)}),0)}function De(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return!!n[t.toLowerCase()]}:function(t){return!!n[t]}}var Ue={img:"image",iframe:"web-view"},Fe=Object.keys(m["h"]).map((function(t){return t.toLowerCase()})).join(","),We=De(Fe,!0),Ve=De("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),qe=De("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),Ge={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]};function ze(t,e){var n=Ge[t];if(n){var r=e.length-1;while(r>=0){var i=e[r].tagName;if(i===t)break;if(n&&n.includes(i))return!0;r--}}return!1}function He(t){return le.html.renderHTMLTag?t:Ue[t]?Ue[t]:We(t)?t:qe(t)?"view":Ve(t)?"text":"view"}function $e(t){var e="=",n=t.indexOf(e);if(-1===n)return[t];var r=t.slice(0,n).trim(),i=t.slice(n+e.length).trim();return[r,i]}function Ye(t,e,n,r){return t.filter((function(t){return"comment"!==t.type&&("text"!==t.type||""!==t.content)})).map((function(t){if("text"===t.type){var i=e.createTextNode(t.content);return Object(m["k"])(le.html.transformText)&&(i=le.html.transformText(i,t)),null===r||void 0===r||r.appendChild(i),i}var a=e.createElement(He(t.tagName));a.h5tagName=t.tagName,null===r||void 0===r||r.appendChild(a),le.html.renderHTMLTag||(a.className="h5-".concat(t.tagName));for(var c=0;c<t.attributes.length;c++){var u=t.attributes[c],s=$e(u),l=Object(o["a"])(s,2),d=l[0],h=l[1];if("class"===d)a.className+=" "+Se(h);else{if("o"===d[0]&&"n"===d[1])continue;a.setAttribute(d,null==h||Se(h))}}var f=n.styleTagParser,p=n.descendantList,v=p.slice(),b=f.matchStyle(t.tagName,a,v);return a.setAttribute("style",b+a.style.cssText),Ye(t.children,e,{styleTagParser:f,descendantList:v},a),Object(m["k"])(le.html.transformElement)?le.html.transformElement(a,t):a}))}function Je(t,e){var n=new Ne;t=n.extractStyle(t);var r=new we(t).scan(),i={tagName:"",children:[],type:"element",attributes:[]},o={tokens:r,options:le,cursor:0,stack:[i]};return Ke(o),Ye(i.children,e,{styleTagParser:n,descendantList:Array(n.styles.length).fill(0)})}function Ke(t){var e=t.tokens,n=t.stack,r=t.cursor,i=e.length,o=n[n.length-1].children;while(r<i){var a=e[r];if("tag-start"===a.type){var c=e[++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=e[r];if("tag-end"!==d.type)break;r++}if(l){n.splice(s);break}}else{var h=le.html.closingElements.has(u),f=h;if(f&&(f=!ze(u,n)),f){var p=n.length-1;while(p>0){if(u===n[p].tagName){n.splice(p);var v=p-1;o=n[v].children;break}p-=1}}var b=[],g=void 0;while(r<i){if(g=e[r],"tag-end"===g.type)break;b.push(g.content),r++}r++;var m=[],y={type:"element",tagName:c.content,attributes:b,children:m};o.push(y);var O=!(g.close||le.html.voidElements.has(u));if(O){n.push({tagName:u,children:m});var j={tokens:e,cursor:r,stack:n};Ke(j),r=j.cursor}}}else o.push(a),r++}t.cursor=r}function Qe(t,e){while(t.firstChild)t.removeChild(t.firstChild);for(var n=Je(e,t.ownerDocument),r=0;r<n.length;r++)t.appendChild(n[r])}le.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},Rt.extend("innerHTML",{set:function(t){Qe.call(this,this,t)},get:function(){return""}});var Ze=function(){function t(e,n,r){Object(b["a"])(this,t),this._stop=!1,this._end=!1,this.defaultPrevented=!1,this.button=0,this.timeStamp=Date.now(),this.type=e.toLowerCase(),this.mpEvent=r,this.bubbles=Boolean(n&&n.bubbles),this.cancelable=Boolean(n&&n.cancelable)}return Object(g["a"])(t,[{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 t,e,n=this.cacheTarget;if(n)return n;var r=Object.create((null===(t=this.mpEvent)||void 0===t?void 0:t.target)||null),i=_t.document.getElementById(r.id);for(var o in r.dataset=null!==i?i.dataset:m["a"],null===(e=this.mpEvent)||void 0===e?void 0:e.detail)r[o]=this.mpEvent.detail[o];return this.cacheTarget=r,r}},{key:"currentTarget",get:function(){var t,e,n,r,i=this.cacheCurrentTarget;if(i)return i;var o=_t.document,a=Object.create((null===(t=this.mpEvent)||void 0===t?void 0:t.currentTarget)||null),c=o.getElementById(a.id),u=o.getElementById((null===(n=null===(e=this.mpEvent)||void 0===e?void 0:e.target)||void 0===n?void 0:n.id)||null);if(null===c||c&&c===u)return this.cacheCurrentTarget=this.target,this.target;for(var s in a.dataset=c.dataset,null===(r=this.mpEvent)||void 0===r?void 0:r.detail)a[s]=this.mpEvent.detail[s];return this.cacheCurrentTarget=a,a}}]),t}();function Xe(t,e){if("string"===typeof t)return new Ze(t,{bubbles:!0,cancelable:!0});var n=new Ze(t.type,{bubbles:!0,cancelable:!0},t);for(var r in t)r!==q&&r!==V&&r!==G&&r!==H&&(n[r]=t[r]);return n.type===z&&(null===e||void 0===e?void 0:e.nodeName)===U&&(n[$]=13),n}var tn={};function en(t){var e=t[it];return Object(m["p"])(e)||delete t[it],e}function nn(t){var e,n;!t.type&&Object.defineProperty(t,"type",{value:t._type}),!t.detail&&Object.defineProperty(t,"detail",{value:t._detail||Object.assign({},t)}),t.currentTarget=t.currentTarget||t.target||Object.assign({},t),m["g"].call("modifyMpEventImpl",t);var r=t.currentTarget,i=(null===(e=r.dataset)||void 0===e?void 0:e.sid)||r.id||(null===(n=t.detail)||void 0===n?void 0:n.id)||"",o=_t.document.getElementById(i);if(o){var a=function(){var e=Xe(t,o);m["g"].call("modifyTaroEvent",e,o),o.dispatchEvent(e)};if(!m["g"].isExist("batchedEventUpdates"))return a(),en(t);var c=t.type;if(!m["g"].call("isBubbleEvents",c)||!yt(o,c)||c===Y&&o.props.catchMove)return m["g"].call("batchedEventUpdates",(function(){tn[c]&&(tn[c].forEach((function(t){return t()})),delete tn[c]),a()})),en(t);(tn[c]||(tn[c]=[])).push(a)}}var rn=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return Object(g["a"])(n,[{key:"dispatchEvent",value:function(t){if(t.mpEvent){var e=t.mpEvent.detail.value;t.type===F?this.props.value=e:t.type===U&&(this.value=e)}return Object(h["a"])(Object(f["a"])(n.prototype),"dispatchEvent",this).call(this,t)}},{key:"value",get:function(){var t=this.props[D];return null==t?"":t},set:function(t){this.setAttribute(D,t)}}]),n}(se),on=function(){function t(){Object(b["a"])(this,t),this.recorder=new Map}return Object(g["a"])(t,[{key:"start",value:function(t){le.debug&&this.recorder.set(t,Date.now())}},{key:"stop",value:function(t){if(le.debug){var e=Date.now(),n=this.recorder.get(t);this.recorder.delete(t);var r=e-n;console.log("".concat(t," \u65f6\u957f\uff1a ").concat(r,"ms"))}}}]),t}(),an=new on;function cn(t,e){var n,r=e.slice(1),i=t,o="";if(r.some((function(t,r){var a=t.replace(/^\[(.+)\]$/,"$1").replace(/\bcn\b/g,"childNodes");if(i=i[a],Object(m["p"])(i))return!0;if(i.nodeName===W){var c=kt.get(i.sid);c&&(n=c,o=e.slice(r+2).join("."))}})),n)return{customWrapper:n,splitedPath:o}}var un,sn=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;return Object(b["a"])(this,n),t=e.call(this),t.updatePayloads=[],t.updateCallbacks=[],t.pendingUpdate=!1,t.ctx=null,t.nodeName=k,t.tagName=k.toUpperCase(),t}return Object(g["a"])(n,[{key:"enqueueUpdate",value:function(t){this.updatePayloads.push(t),!this.pendingUpdate&&this.ctx&&this.performUpdate()}},{key:"performUpdate",value:function(){var t=this,e=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(){var i="".concat(O," \u5f00\u59cb\u65f6\u95f4\u6233 ").concat(Date.now());an.start(i);var o=Object.create(null),a=new Set(e?["root.cn.[0]","root.cn[0]"]:[]);while(t.updatePayloads.length>0){var c=t.updatePayloads.shift(),s=c.path,l=c.value;s.endsWith("cn")&&a.add(s),o[s]=l}var d=function(t){a.forEach((function(e){t.includes(e)&&t!==e&&delete o[t]}));var e=o[t];Object(m["k"])(e)&&(o[t]=e())};for(var h in o)d(h);if(Object(m["k"])(n))return n(o);t.pendingUpdate=!1;var f={},p=new Map;if(e)f=o;else for(var v in o){var b=v.split("."),g=cn(t,b);if(g){var y=g.customWrapper,k=g.splitedPath;p.set(y,Object.assign(Object.assign({},p.get(y)||{}),Object(u["a"])({},"i.".concat(k),o[v])))}else f[v]=o[v]}var w=p.size,S=Object.keys(f).length>0,E=w+(S?1:0),C=0,x=function(){++C===E&&(an.stop(i),t.flushUpdateCallback(),e&&an.stop(j))};w&&p.forEach((function(t,e){e.setData(t,x)})),S&&r.setData(f,x)}),0)}},{key:"enqueueUpdateCallback",value:function(t,e){this.updateCallbacks.push((function(){e?t.call(e):t()}))}},{key:"flushUpdateCallback",value:function(){var t=this.updateCallbacks;if(t.length){var e=t.slice(0);this.updateCallbacks.length=0;for(var n=0;n<e.length;n++)e[n]()}}},{key:"_path",get:function(){return k}},{key:"_root",get:function(){return this}}]),n}(se),ln=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t){var r;return Object(b["a"])(this,n),r=e.call(this),r.nodeType=3,r.nodeName="#text",r._value=t,r}return Object(g["a"])(n,[{key:"textContent",set:function(t){ft.record({target:this,type:"characterData",oldValue:this._value}),this._value=t,this.enqueueUpdate({path:"".concat(this._path,".","v"),value:t})},get:function(){return this._value}},{key:"nodeValue",set:function(t){this.textContent=t},get:function(){return this._value}},{key:"data",set:function(t){this.textContent=t},get:function(){return this._value}}]),n}(Rt);function dn(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function hn(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}var fn=/[!'()~]|%20|%00/g,pn=/\+/g,vn={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};function bn(t){return vn[t]}function gn(t,e,n){var r=Object(m["i"])(n)?n.join(","):n;e in t?t[e].push(r):t[e]=[r]}function mn(t,e){gn(this,e,t)}function yn(t){return decodeURIComponent(t.replace(pn," "))}function On(t){return encodeURIComponent(t).replace(fn,bn)}var jn,kn,wn,Sn,En,Cn,xn=function(){function t(e){if(Object(b["a"])(this,t),un.set(this,Object.create(null)),e){var n=dn(this,un,"f");if("string"===typeof e){"?"===e.charAt(0)&&(e=e.slice(1));for(var r=e.split("&"),i=0,o=r.length;i<o;i++){var a=r[i],c=a.indexOf("=");c>-1?gn(n,yn(a.slice(0,c)),yn(a.slice(c+1))):a.length&&gn(n,yn(a),"")}}else if(Object(m["i"])(e))for(var u=0,s=e.length;u<s;u++){var l=e[u];gn(n,l[0],l[1])}else if(e.forEach)e.forEach(mn,n);else for(var d in e)gn(n,d,e[d])}}return Object(g["a"])(t,[{key:"append",value:function(t,e){gn(dn(this,un,"f"),t,e)}},{key:"delete",value:function(t){delete dn(this,un,"f")[t]}},{key:"get",value:function(t){var e=dn(this,un,"f");return t in e?e[t][0]:null}},{key:"getAll",value:function(t){var e=dn(this,un,"f");return t in e?e[t].slice(0):[]}},{key:"has",value:function(t){return t in dn(this,un,"f")}},{key:"keys",value:function(){return Object.keys(dn(this,un,"f"))}},{key:"set",value:function(t,e){dn(this,un,"f")[t]=[""+e]}},{key:"forEach",value:function(t,e){var n=dn(this,un,"f");Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){t.call(e,n,r,this)}),this)}),this)}},{key:"toJSON",value:function(){return{}}},{key:"toString",value:function(){var t=dn(this,un,"f"),e=[];for(var n in t)for(var r=On(n),i=0,o=t[n];i<o.length;i++)e.push(r+"="+On(o[i]));return e.join("&")}}]),t}();un=new WeakMap;var Tn=function(){function t(e,n){Object(b["a"])(this,t),jn.set(this,""),kn.set(this,""),wn.set(this,""),Sn.set(this,""),En.set(this,""),Cn.set(this,""),Object(m["o"])(e)||(e=String(e));var r=_n(e,n),i=r.hash,o=r.hostname,a=r.pathname,c=r.port,u=r.protocol,s=r.search;hn(this,jn,i,"f"),hn(this,kn,o,"f"),hn(this,wn,a||"/","f"),hn(this,Sn,c,"f"),hn(this,En,u,"f"),hn(this,Cn,s,"f")}return Object(g["a"])(t,[{key:"toString",value:function(){return this.href}},{key:"toJSON",value:function(){return this.toString()}},{key:"_toRaw",value:function(){return{protocol:this.protocol,port:this.port,host:this.host,hostname:this.hostname,pathname:this.pathname,hash:this.hash,search:this.search,origin:this.origin,href:this.href}}},{key:"protocol",get:function(){return dn(this,En,"f")},set:function(t){Object(m["o"])(t)&&hn(this,En,t.trim(),"f")}},{key:"host",get:function(){return this.hostname+(this.port?":"+this.port:"")},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=Pn("//".concat(t)),n=e.hostname,r=e.port;this.hostname=n,this.port=r}}},{key:"hostname",get:function(){return dn(this,kn,"f")},set:function(t){t&&Object(m["o"])(t)&&hn(this,kn,t.trim(),"f")}},{key:"port",get:function(){return dn(this,Sn,"f")},set:function(t){Object(m["o"])(t)&&hn(this,Sn,t.trim(),"f")}},{key:"pathname",get:function(){return dn(this,wn,"f")},set:function(t){if(Object(m["o"])(t)){t=t.trim();var e=/^(\/|\.\/|\.\.\/)/,n=t;while(e.test(n))n=n.replace(e,"");hn(this,wn,n?"/"+n:"/","f")}}},{key:"search",get:function(){return dn(this,Cn,"f")},set:function(t){Object(m["o"])(t)&&(t=t.trim(),hn(this,Cn,t?t.startsWith("?")?t:"?".concat(t):"","f"))}},{key:"hash",get:function(){return dn(this,jn,"f")},set:function(t){Object(m["o"])(t)&&(t=t.trim(),hn(this,jn,t?t.startsWith("#")?t:"#".concat(t):"","f"))}},{key:"href",get:function(){return"".concat(this.protocol,"//").concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=Pn(t),n=e.protocol,r=e.hostname,i=e.port,o=e.hash,a=e.search,c=e.pathname;this.protocol=n,this.hostname=r,this.pathname=c,this.port=i,this.hash=o,this.search=a}}},{key:"origin",get:function(){return"".concat(this.protocol,"//").concat(this.host)},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=Pn(t),n=e.protocol,r=e.hostname,i=e.port;this.protocol=n,this.hostname=r,this.port=i}}},{key:"searchParams",get:function(){return new xn(this.search)}}],[{key:"createObjectURL",value:function(){throw new Error("Oops, not support URL.createObjectURL() in miniprogram.")}},{key:"revokeObjectURL",value:function(){throw new Error("Oops, not support URL.revokeObjectURL() in miniprogram.")}}]),t}();function Pn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e={href:"",origin:"",protocol:"",hostname:"",host:"",port:"",pathname:"",search:"",hash:""};if(!t||!Object(m["o"])(t))return e;t=t.trim();var n=/^(([^:/?#]+):)?\/\/(([^/?#]+):(.+)@)?([^/?#:]*)(:(\d+))?([^?#]*)(\?([^#]*))?(#(.*))?/,r=t.match(n);return r?(e.protocol=r[1]||"https:",e.hostname=r[6]||"taro.com",e.port=r[8]||"",e.pathname=r[9]||"/",e.search=r[10]||"",e.hash=r[12]||"",e.href=t,e.origin=e.protocol+"//"+e.hostname,e.host=e.hostname+(e.port?":".concat(e.port):""),e):e}function _n(t,e){var n=/^(https?:)\/\//i,r="",i=null;if(!Object(m["p"])(e)){if(e=String(e).trim(),!n.test(e))throw new TypeError("Failed to construct 'URL': Invalid base URL");i=Pn(e)}if(t=String(t).trim(),n.test(t))r=t;else{if(!i)throw new TypeError("Failed to construct 'URL': Invalid URL");r=t?t.startsWith("//")?i.protocol+t:i.origin+(t.startsWith("/")?t:"/".concat(t)):i.href}return Pn(r)}jn=new WeakMap,kn=new WeakMap,wn=new WeakMap,Sn=new WeakMap,En=new WeakMap,Cn=new WeakMap;var In,Nn=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return Object(g["a"])(n,[{key:"setAttribute",value:function(t,e){if("href"===t){var r=Pn(e);for(var i in r)Object(h["a"])(Object(f["a"])(n.prototype),"setAttribute",this).call(this,i,r[i])}else Object(h["a"])(Object(f["a"])(n.prototype),"setAttribute",this).call(this,t,e)}},{key:"href",get:function(){var t;return null!==(t=this.props["href"])&&void 0!==t?t:""},set:function(t){this.setAttribute("href",t)}},{key:"protocol",get:function(){var t;return null!==(t=this.props["protocol"])&&void 0!==t?t:""}},{key:"host",get:function(){var t;return null!==(t=this.props["host"])&&void 0!==t?t:""}},{key:"search",get:function(){var t;return null!==(t=this.props["search"])&&void 0!==t?t:""}},{key:"hash",get:function(){var t;return null!==(t=this.props["hash"])&&void 0!==t?t:""}},{key:"hostname",get:function(){var t;return null!==(t=this.props["hostname"])&&void 0!==t?t:""}},{key:"port",get:function(){var t;return null!==(t=this.props["port"])&&void 0!==t?t:""}},{key:"pathname",get:function(){var t;return null!==(t=this.props["pathname"])&&void 0!==t?t:""}}]),n}(se),An=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;return Object(b["a"])(this,n),t=e.call(this),t.createEvent=Xe,t.nodeType=9,t.nodeName=T,t}return Object(g["a"])(n,[{key:"createElement",value:function(t){var e,n=t.toLowerCase();switch(!0){case n===k:return e=new sn,e;case m["d"].has(n):e=new rn;break;case n===at:e=new Nn;break;default:e=new se;break}return e.nodeName=n,e.tagName=t.toUpperCase(),e}},{key:"createElementNS",value:function(t,e){return this.createElement(e)}},{key:"createTextNode",value:function(t){return new ln(t)}},{key:"getElementById",value:function(t){var e=Pt.get(t);return Object(m["p"])(e)?null:e}},{key:"querySelector",value:function(t){return/^#/.test(t)?this.getElementById(t.slice(1)):null}},{key:"querySelectorAll",value:function(){return[]}},{key:"createComment",value:function(){var t=new ln("");return t.nodeName=Q,t}},{key:"defaultView",get:function(){return _t.window}}]),n}(se),Ln=function(){var t=new An,e=t.createElement.bind(t),n=e(w),r=e(S),i=e(E),o=e(C);o.id=C;var a=e(x);return t.appendChild(n),n.appendChild(r),n.appendChild(i),i.appendChild(a),a.appendChild(o),t.documentElement=n,t.head=r,t.body=i,t};function Rn(t){return t.style}In=_t.document=Ln();var Bn,Mn,Dn,Un,Fn,Wn,Vn=m["g"].call("getEventCenter",m["b"]),qn=function(){function t(e){Object(b["a"])(this,t),this.cache=new Map,this.name=e}return Object(g["a"])(t,[{key:"has",value:function(t){return this.cache.has(t)}},{key:"set",value:function(t,e){t&&e&&this.cache.set(t,e)}},{key:"get",value:function(t){if(this.has(t))return this.cache.get(t)}},{key:"delete",value:function(t){this.cache.delete(t)}}]),t}(),Gn=new qn("history"),zn=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t,r){var i;return Object(b["a"])(this,n),i=e.call(this),Bn.add(Object(s["a"])(i)),Mn.set(Object(s["a"])(i),void 0),Dn.set(Object(s["a"])(i),[]),Un.set(Object(s["a"])(i),0),Fn.set(Object(s["a"])(i),void 0),hn(Object(s["a"])(i),Fn,r.window,"f"),hn(Object(s["a"])(i),Mn,t,"f"),dn(Object(s["a"])(i),Mn,"f").on("__record_history__",(function(t){var e;hn(Object(s["a"])(i),Un,(e=dn(Object(s["a"])(i),Un,"f"),e++,e),"f"),hn(Object(s["a"])(i),Dn,dn(Object(s["a"])(i),Dn,"f").slice(0,dn(Object(s["a"])(i),Un,"f")),"f"),dn(Object(s["a"])(i),Dn,"f").push({state:null,title:"",url:t})}),null),dn(Object(s["a"])(i),Mn,"f").on("__reset_history__",(function(t){dn(Object(s["a"])(i),Bn,"m",Wn).call(Object(s["a"])(i),t)}),null),i.on(y.INIT,(function(){dn(Object(s["a"])(i),Bn,"m",Wn).call(Object(s["a"])(i))}),null),i.on(y.RESTORE,(function(t){Gn.set(t,{location:dn(Object(s["a"])(i),Mn,"f"),stack:dn(Object(s["a"])(i),Dn,"f").slice(),cur:dn(Object(s["a"])(i),Un,"f")})}),null),i.on(y.RECOVER,(function(t){if(Gn.has(t)){var e=Gn.get(t);hn(Object(s["a"])(i),Mn,e.location,"f"),hn(Object(s["a"])(i),Dn,e.stack,"f"),hn(Object(s["a"])(i),Un,e.cur,"f")}}),null),i.on(y.DESTORY,(function(t){Gn.delete(t)}),null),dn(Object(s["a"])(i),Bn,"m",Wn).call(Object(s["a"])(i)),i}return Object(g["a"])(n,[{key:"go",value:function(t){if(Object(m["m"])(t)&&!isNaN(t)){var e=dn(this,Un,"f")+t;e=Math.min(Math.max(e,0),this.length-1),hn(this,Un,e,"f"),dn(this,Mn,"f").trigger("__set_href_without_history__",dn(this,Dn,"f")[dn(this,Un,"f")].url),dn(this,Fn,"f").trigger("popstate",dn(this,Dn,"f")[dn(this,Un,"f")])}}},{key:"back",value:function(){this.go(-1)}},{key:"forward",value:function(){this.go(1)}},{key:"pushState",value:function(t,e,n){n&&Object(m["o"])(n)&&(hn(this,Dn,dn(this,Dn,"f").slice(0,dn(this,Un,"f")+1),"f"),dn(this,Dn,"f").push({state:t,title:e,url:n}),hn(this,Un,this.length-1,"f"),dn(this,Mn,"f").trigger("__set_href_without_history__",n))}},{key:"replaceState",value:function(t,e,n){n&&Object(m["o"])(n)&&(dn(this,Dn,"f")[dn(this,Un,"f")]={state:t,title:e,url:n},dn(this,Mn,"f").trigger("__set_href_without_history__",n))}},{key:"length",get:function(){return dn(this,Dn,"f").length}},{key:"state",get:function(){return dn(this,Dn,"f")[dn(this,Un,"f")]}},{key:"cache",get:function(){return Gn}}]),n}(m["b"]);Mn=new WeakMap,Dn=new WeakMap,Un=new WeakMap,Fn=new WeakMap,Bn=new WeakSet,Wn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";hn(this,Dn,[{state:null,title:"",url:t||dn(this,Mn,"f").href}],"f"),hn(this,Un,0,"f")};var Hn,$n,Yn,Jn,Kn,Qn,Zn,Xn,tr,er={app:null,router:null,page:null},nr=function(){return er},rr="https://taro.com",ir=new qn("location"),or=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t){var r;return Object(b["a"])(this,n),r=e.call(this),Hn.add(Object(s["a"])(r)),$n.set(Object(s["a"])(r),new Tn(rr)),Yn.set(Object(s["a"])(r),!1),Jn.set(Object(s["a"])(r),void 0),hn(Object(s["a"])(r),Jn,t.window,"f"),dn(Object(s["a"])(r),Hn,"m",Kn).call(Object(s["a"])(r)),r.on("__set_href_without_history__",(function(t){hn(Object(s["a"])(r),Yn,!0,"f");var e=dn(Object(s["a"])(r),$n,"f").hash;dn(Object(s["a"])(r),$n,"f").href=ar(t),e!==dn(Object(s["a"])(r),$n,"f").hash&&dn(Object(s["a"])(r),Jn,"f").trigger("hashchange"),hn(Object(s["a"])(r),Yn,!1,"f")}),null),r.on(y.INIT,(function(){dn(Object(s["a"])(r),Hn,"m",Kn).call(Object(s["a"])(r))}),null),r.on(y.RESTORE,(function(t){ir.set(t,{lastHref:r.href})}),null),r.on(y.RECOVER,(function(t){if(ir.has(t)){var e=ir.get(t);hn(Object(s["a"])(r),Yn,!0,"f"),dn(Object(s["a"])(r),$n,"f").href=e.lastHref,hn(Object(s["a"])(r),Yn,!1,"f")}}),null),r.on(y.DESTORY,(function(t){ir.delete(t)}),null),r}return Object(g["a"])(n,[{key:"assign",value:function(){Object(m["x"])(!0,"\u5c0f\u7a0b\u5e8f\u73af\u5883\u4e2d\u8c03\u7528location.assign()\u65e0\u6548.")}},{key:"reload",value:function(){Object(m["x"])(!0,"\u5c0f\u7a0b\u5e8f\u73af\u5883\u4e2d\u8c03\u7528location.reload()\u65e0\u6548.")}},{key:"replace",value:function(t){this.trigger("__set_href_without_history__",t)}},{key:"toString",value:function(){return this.href}},{key:"protocol",get:function(){return dn(this,$n,"f").protocol},set:function(t){var e=/^(http|https):$/i;if(t&&Object(m["o"])(t)&&e.test(t.trim())){t=t.trim();var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").protocol=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"host",get:function(){return dn(this,$n,"f").host},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").host=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"hostname",get:function(){return dn(this,$n,"f").hostname},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").hostname=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"port",get:function(){return dn(this,$n,"f").port},set:function(t){var e=Number(t=t.trim());if(Object(m["m"])(e)&&!(e<=0)){var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").port=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"pathname",get:function(){return dn(this,$n,"f").pathname},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").pathname=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"search",get:function(){return dn(this,$n,"f").search},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim(),t=t.startsWith("?")?t:"?".concat(t);var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").search=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"hash",get:function(){return dn(this,$n,"f").hash},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim(),t=t.startsWith("#")?t:"#".concat(t);var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").hash=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"href",get:function(){return dn(this,$n,"f").href},set:function(t){var e=/^(http:|https:)?\/\/.+/;if(t&&Object(m["o"])(t)&&e.test(t=t.trim())){var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").href=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"origin",get:function(){return dn(this,$n,"f").origin},set:function(t){var e=/^(http:|https:)?\/\/.+/;if(t&&Object(m["o"])(t)&&e.test(t=t.trim())){var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").origin=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"cache",get:function(){return ir}}]),n}(m["b"]);function ar(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=rr;return/^[/?#]/.test(t)?e+t:t}$n=new WeakMap,Yn=new WeakMap,Jn=new WeakMap,Hn=new WeakSet,Kn=function(){var t=nr(),e=t.router;if(e){var n=e.path,r=e.params,i=Object.keys(r).map((function(t){return"".concat(t,"=").concat(r[t])})),o=i.length>0?"?"+i.join("&"):"",a="".concat(rr).concat(n.startsWith("/")?n:"/"+n).concat(o);hn(this,$n,new Tn(a),"f"),this.trigger("__reset_history__",this.href)}},Qn=function(){return dn(this,$n,"f")._toRaw()},Zn=function(t){dn(this,$n,"f").href=t},Xn=function(){this.trigger("__record_history__",this.href)},tr=function(t){if(dn(this,Yn,"f"))return!1;var e=dn(this,$n,"f")._toRaw(),n=e.protocol,r=e.hostname,i=e.port,o=e.pathname,a=e.search,c=e.hash;return n!==t.protocol||r!==t.hostname||i!==t.port?(dn(this,Hn,"m",Zn).call(this,t.href),!1):o!==t.pathname||(a!==t.search||(c!==t.hash?(dn(this,Jn,"f").trigger("hashchange"),!0):(dn(this,Hn,"m",Zn).call(this,t.href),!1)))};var cr,ur="Macintosh",sr="Intel Mac OS X 10_14_5",lr="AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",dr="("+ur+"; "+sr+") "+lr,hr={appCodeName:"Mozilla",appName:"Netscape",appVersion:"5.0 "+dr,cookieEnabled:!0,mimeTypes:[],onLine:!0,platform:"MacIntel",plugins:[],product:"Taro",productSub:"20030107",userAgent:"Mozilla/5.0 "+dr,vendor:"Joyent",vendorSub:""};(function(){var t;"undefined"!==typeof performance&&null!==performance&&performance.now?cr=function(){return performance.now()}:Date.now?(t=Date.now(),cr=function(){return Date.now()-t}):(t=(new Date).getTime(),cr=function(){return(new Date).getTime()-t})})();var fr,pr=0,vr="undefined"!==typeof t&&null!==t?t:function(t){var e=cr(),n=Math.max(pr+16,e);return setTimeout((function(){t(pr=n)}),n-e)},br="undefined"!==typeof r&&null!==r?r:function(t){clearTimeout(t)},gr=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;Object(b["a"])(this,n),t=e.call(this),t.navigator=hr,t.requestAnimationFrame=vr,t.cancelAnimationFrame=br,t.getComputedStyle=Rn;var r=[].concat(Object(v["a"])(Object.getOwnPropertyNames(i||{})),Object(v["a"])(Object.getOwnPropertySymbols(i||{})));return r.forEach((function(e){"atob"!==e&&"document"!==e&&(Object.prototype.hasOwnProperty.call(Object(s["a"])(t),e)||(t[e]=i[e]))})),t.Date||(t.Date=Date),t.location=new or({window:Object(s["a"])(t)}),t.history=new zn(t.location,{window:Object(s["a"])(t)}),t.initEvent(),t}return Object(g["a"])(n,[{key:"initEvent",value:function(){var t=this.location,e=this.history;this.on(y.INIT,(function(e){t.trigger(y.INIT,e)}),null),this.on(y.RECOVER,(function(n){t.trigger(y.RECOVER,n),e.trigger(y.RECOVER,n)}),null),this.on(y.RESTORE,(function(n){t.trigger(y.RESTORE,n),e.trigger(y.RESTORE,n)}),null),this.on(y.DESTORY,(function(n){t.trigger(y.DESTORY,n),e.trigger(y.DESTORY,n)}),null)}},{key:"addEventListener",value:function(t,e){Object(m["o"])(t)&&this.on(t,e,null)}},{key:"removeEventListener",value:function(t,e){Object(m["o"])(t)&&this.off(t,e,null)}},{key:"setTimeout",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return setTimeout.apply(void 0,arguments)}))},{key:"clearTimeout",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return clearTimeout.apply(void 0,arguments)}))},{key:"document",get:function(){return _t.document}}]),n}(m["b"]);fr=_t.window=new gr;var mr=fr.location,yr=fr.history,Or=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return n}(se),jr=new Map,kr=pt();function wr(t,e){m["g"].call("mergePageInstance",jr.get(e),t),jr.set(e,t)}function Sr(t){return jr.get(t)}function Er(t){jr.delete(t)}function Cr(t){return null==t?"":"/"===t.charAt(0)?t:"/"+t}function xr(t,e){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=jr.get(t);if(null!=o){var a=m["g"].call("getLifecycle",o,e);if(Object(m["i"])(a)){var c=a.map((function(t){return t.apply(o,r)}));return c[0]}if(Object(m["k"])(a))return a.apply(o,r)}}function Tr(t){if(null==t)return"";var e=Object.keys(t).map((function(e){return e+"="+t[e]})).join("&");return""===e?e:"?"+e}function Pr(t,e){var n=t.indexOf("?");return"".concat(n>-1?t.substring(0,n):t).concat(Tr(e))}function _r(t){return t+"."+X}function Ir(t){return t+"."+tt}function Nr(t){return t+"."+et}function Ar(t,e,n,r){var i,a,c,s=null!==e&&void 0!==e?e:"taro_page_".concat(kr()),l=Object(o["a"])(m["g"].call("getMiniLifecycleImpl").page,7),d=l[0],h=l[1],f=l[2],p=l[3],v=l[4],b=l[5],g=l[6],O=null,k=!1,w=[];function S(t){var e=t.route||t.__route__||t.$taroPath;er.router={params:t.$taroParams,path:Cr(e),$taroPath:t.$taroPath,onReady:_r(s),onShow:Ir(s),onHide:Nr(s)},Object(m["p"])(t.exitState)||(er.router.exitState=t.exitState)}var E=(i={},Object(u["a"])(i,d,(function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;c=new Promise((function(t){a=t})),an.start(j),er.page=this,this.config=r||{};var o=Object.assign({},n,{$taroTimestamp:Date.now()}),u=this.$taroPath=Pr(s,o);null==this.$taroParams&&(this.$taroParams=o),S(this),fr.trigger(y.INIT,u);var l=function(){er.app.mount(t,u,(function(){O=_t.document.getElementById(u),Object(m["e"])(null!==O,"\u6ca1\u6709\u627e\u5230\u9875\u9762\u5b9e\u4f8b\u3002"),xr(u,Z,e.$taroParams),a(),O.ctx=e,O.performUpdate(!0,i)}))};k?w.push(l):l()})),Object(u["a"])(i,h,(function(){var t=this.$taroPath;fr.trigger(y.DESTORY,t),xr(t,h),k=!0,er.app.unmount(t,(function(){k=!1,jr.delete(t),O&&(O.ctx=null,O=null),w.length&&(w.forEach((function(t){return t()})),w=[])}))})),Object(u["a"])(i,f,(function(){var t=this;c.then((function(){xr(t.$taroPath,X),vr((function(){return Vn.trigger(_r(s))})),t.onReady.called=!0}))})),Object(u["a"])(i,p,(function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.then((function(){er.page=t,S(t),fr.trigger(y.RECOVER,t.$taroPath),xr(t.$taroPath,tt,e),vr((function(){return Vn.trigger(Ir(s))}))}))})),Object(u["a"])(i,v,(function(){fr.trigger(y.RESTORE,this.$taroPath),er.page===this&&(er.page=null,er.router=null),xr(this.$taroPath,et),Vn.trigger(Nr(s))})),i);return b.forEach((function(t){E[t]=function(){return xr.apply(void 0,[this.$taroPath,t].concat(Array.prototype.slice.call(arguments)))}})),g.forEach((function(e){var n;(t[e]||(null===(n=t.prototype)||void 0===n?void 0:n[e])||t[e.replace(/^on/,"enable")])&&(E[e]=function(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=null===(t=r[0])||void 0===t?void 0:t.target;if(null===o||void 0===o?void 0:o.id){var a=o.id,c=_t.document.getElementById(a);c&&(o.dataset=c.dataset)}return xr.apply(void 0,[this.$taroPath,e].concat(r))})})),E.eh=nn,Object(m["p"])(n)||(E.data=n),m["g"].call("modifyPageObject",E),E}function Lr(t,e,n){var r,i=null!==e&&void 0!==e?e:"taro_component_".concat(kr()),a=null,c=Object(o["a"])(m["g"].call("getMiniLifecycleImpl").component,2),s=c[0],l=c[1],d=(r={},Object(u["a"])(r,s,(function(){var e,n=this;an.start(j);var r=Pr(i,{id:(null===(e=this.getPageId)||void 0===e?void 0:e.call(this))||kr()});er.app.mount(t,r,(function(){a=_t.document.getElementById(r),Object(m["e"])(null!==a,"\u6ca1\u6709\u627e\u5230\u7ec4\u4ef6\u5b9e\u4f8b\u3002"),n.$taroInstances=jr.get(r),xr(r,Z),a.ctx=n,a.performUpdate(!0)}))})),Object(u["a"])(r,l,(function(){var t=Pr(i,{id:this.getPageId()});er.app.unmount(t,(function(){jr.delete(t),a&&(a.ctx=null)}))})),Object(u["a"])(r,"methods",{eh:nn}),r);return Object(m["p"])(n)||(d.data=n),[nt,rt,ot].forEach((function(e){var n;d[e]=null!==(n=t[e])&&void 0!==n?n:m["a"]})),d}function Rr(t){var e,n=t===W,r=Object(o["a"])(m["g"].call("getMiniLifecycleImpl").component,2),i=r[0],a=r[1],c=n?(e={},Object(u["a"])(e,i,(function(){var t,e,n=(null===(t=this.data.i)||void 0===t?void 0:t.sid)||(null===(e=this.props.i)||void 0===e?void 0:e.sid);Object(m["o"])(n)&&kt.set(n,this)})),Object(u["a"])(e,a,(function(){var t,e,n=(null===(t=this.data.i)||void 0===t?void 0:t.sid)||(null===(e=this.props.i)||void 0===e?void 0:e.sid);Object(m["o"])(n)&&kt.delete(n)})),e):m["a"];return Object.assign({properties:{i:{type:Object,value:Object(u["a"])({},"nn",Object(m["f"])(m["h"])[R]._num)},l:{type:String,value:""}},options:{addGlobalClass:!0,virtualHost:!n},methods:{eh:nn}},c)}var Br=function(t,e){var n=er.router,r=function(){setTimeout((function(){e?t.call(e):t()}),1)};if(null!==n){var i=null,o=n.$taroPath;i=_t.document.getElementById(o),(null===i||void 0===i?void 0:i.pendingUpdate)?i.enqueueUpdateCallback(t,e):r()}else r()}}.call(this,n(20)["requestAnimationFrame"],n(20)["cancelAnimationFrame"],n(78))},247:function(t,e,n){var r=n(261);function i(t,e,n){return e=r(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},252:function(t,e){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},253:function(t,e,n){var r=n(261);function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},261:function(t,e,n){var r=n(185)["default"],i=n(508);function o(t){var e=i(t,"string");return"symbol"===r(e)?e:String(e)}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},344:function(t,e,n){"use strict";n.d(e,"a",(function(){return J}));var r=n(6),i=n(35),o=n(5),a=n(12),c=n(15),u=n(23),s=n(24),l=n(36),d=n(17),h=n(20),f={PageContext:d["a"],R:d["a"]},p="taro-app";function v(t,e){var n,r=e.prototype;return!(null===(n=e.displayName)||void 0===n?void 0:n.includes("Connect"))&&(Object(d["k"])(e.render)||!!(null===r||void 0===r?void 0:r.isReactComponent)||r instanceof t.Component)}function b(t){return Object(d["i"])(t)?t:t?[t]:[]}function g(t){return t.writable=!0,t.enumerable=!0,t}function m(t){h["Current"].router=Object.assign({params:null===t||void 0===t?void 0:t.query},t)}var y,O,j=function(t){return function(e){var n=f.R,r=f.PageContext,i=n.useContext(r)||p,o=n.useRef(),a=n.useRef(e);a.current!==e&&(a.current=e),n.useLayoutEffect((function(){var e=o.current=Object(h["getPageInstance"])(i),n=!1;e||(n=!0,o.current=Object.create(null),e=o.current);var r=function(){return a.current.apply(a,arguments)};return Object(d["k"])(e[t])?e[t]=[e[t],r]:e[t]=[].concat(Object(l["a"])(e[t]||[]),[r]),n&&Object(h["injectPageInstance"])(e,i),function(){var e=o.current;if(e){var n=e[t];n===r?e[t]=void 0:Object(d["i"])(n)&&(e[t]=n.filter((function(t){return t!==r}))),o.current=void 0}}}),[])}},k=j("componentDidHide"),w=j("componentDidShow"),S=j("onError"),E=j("onUnhandledRejection"),C=j("onLaunch"),x=j("onPageNotFound"),T=j("onLoad"),P=j("onPageScroll"),_=j("onPullDownRefresh"),I=j("onPullIntercept"),N=j("onReachBottom"),A=j("onResize"),L=j("onUnload"),R=j("onAddToFavorites"),B=j("onOptionMenuClick"),M=j("onSaveExitState"),D=j("onShareAppMessage"),U=j("onShareTimeline"),F=j("onTitleClick"),W=j("onReady"),V=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=f.R;return t?h["Current"].router:e.useMemo((function(){return h["Current"].router}),[])},q=j("onTabItemTap"),G=function(){},z=Object.freeze({__proto__:null,useAddToFavorites:R,useDidHide:k,useDidShow:w,useError:S,useLaunch:C,useLoad:T,useOptionMenuClick:B,usePageNotFound:x,usePageScroll:P,usePullDownRefresh:_,usePullIntercept:I,useReachBottom:N,useReady:W,useResize:A,useRouter:V,useSaveExitState:M,useScope:G,useShareAppMessage:D,useShareTimeline:U,useTabItemTap:q,useTitleClick:F,useUnhandledRejection:E,useUnload:L}),H=Object(h["incrementId"])();function $(t){d["g"].tap("getLifecycle",(function(t,e){return e=e.replace(/^on(Show|Hide)$/,"componentDid$1"),t[e]})),d["g"].tap("modifyMpEvent",(function(t){Object.defineProperty(t,"type",{value:t.type.replace(/-/g,"")})})),d["g"].tap("batchedEventUpdates",(function(e){t.unstable_batchedUpdates(e)})),d["g"].tap("mergePageInstance",(function(t,e){t&&e&&("constructor"in t||Object.keys(t).forEach((function(n){var r=t[n],i=b(e[n]);e[n]=i.concat(r)})))}))}function Y(t,e){return function(n){var r=v(t,n),i=function(t){return t&&Object(h["injectPageInstance"])(t,e)},o=r?{ref:i}:{forwardedRef:i,reactReduxForwardedRef:i};return f.PageContext===d["a"]&&(f.PageContext=t.createContext("")),function(t){Object(u["a"])(i,t);var r=Object(s["a"])(i);function i(){var t;return Object(a["a"])(this,i),t=r.apply(this,arguments),t.state={hasError:!1},t}return Object(c["a"])(i,[{key:"componentDidCatch",value:function(t,e){0}},{key:"render",value:function(){var t=this.state.hasError?[]:y(f.PageContext.Provider,{value:e},y(n,Object.assign(Object.assign({},this.props),o)));return y("root",{id:e},t)}}],[{key:"getDerivedStateFromError",value:function(t){var e,n;return null===(n=null===(e=h["Current"].app)||void 0===e?void 0:e.onError)||void 0===n||n.call(e,t.message+t.stack),{hasError:!0}}}]),i}(t.Component)}}function J(t,e,n,l){var b;f.R=e,y=e.createElement,O=n,e.Fragment;var j,k,w=e.createRef(),S=v(e,t),E=new Promise((function(t){return k=t}));function C(){return w.current}function x(t){j?t():E.then((function(){return t()}))}function T(){var t,n,r="app";var i=h["document"].getElementById(r);if((e.version||"").startsWith("18")){var o=O.createRoot(i);null===(t=o.render)||void 0===t||t.call(o,y(P))}else null===(n=O.render)||void 0===n||n.call(O,y(P),i)}$(O);var P=function(n){Object(u["a"])(i,n);var r=Object(s["a"])(i);function i(t){var e;return Object(a["a"])(this,i),e=r.call(this,t),e.pages=[],e.elements=[],j=Object(o["a"])(e),k(Object(o["a"])(e)),e}return Object(c["a"])(i,[{key:"mount",value:function(t,n,r){var i=Y(e,n)(t),o=n+H(),a=function(){return y(i,{key:o,tid:n})};this.pages.push(a),this.forceUpdate(r)}},{key:"unmount",value:function(t,e){var n=this.elements,r=n.findIndex((function(e){return e.props.tid===t}));n.splice(r,1),this.forceUpdate(e)}},{key:"render",value:function(){var e=this.pages,n=this.elements;while(e.length>0){var r=e.pop();n.push(r())}var i=null;return S&&(i={ref:w}),y(t,i,n.slice())}}]),i}(e.Component);T();var _=Object(i["a"])(d["g"].call("getMiniLifecycleImpl").app,3),I=_[0],N=_[1],A=_[2],L=Object.create({render:function(t){j.forceUpdate(t)},mount:function(t,e,n){j?j.mount(t,e,n):E.then((function(r){return r.mount(t,e,n)}))},unmount:function(t,e){j.unmount(t,e)}},(b={config:g({configurable:!0,value:l})},Object(r["a"])(b,I,g({value:function(t){var e=this;m(t);var n=function(){var n,r=C();if(e.$app=r,r){if(r.taroGlobalData){var i=r.taroGlobalData,o=Object.keys(i),a=Object.getOwnPropertyDescriptors(i);o.forEach((function(t){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i[t]},set:function(e){i[t]=e}})})),Object.defineProperties(e,a)}null===(n=r.onLaunch)||void 0===n||n.call(r,t)}R("onLaunch",t)};x(n)}})),Object(r["a"])(b,N,g({value:function(t){m(t);var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.componentDidShow)||void 0===e||e.call(n,t),R("onShow",t)};x(e)}})),Object(r["a"])(b,A,g({value:function(){var t=function(){var t,e=C();null===(t=null===e||void 0===e?void 0:e.componentDidHide)||void 0===t||t.call(e),R("onHide")};x(t)}})),Object(r["a"])(b,"onError",g({value:function(t){var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.onError)||void 0===e||e.call(n,t),R("onError",t)};x(e)}})),Object(r["a"])(b,"onUnhandledRejection",g({value:function(t){var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.onUnhandledRejection)||void 0===e||e.call(n,t),R("onUnhandledRejection",t)};x(e)}})),Object(r["a"])(b,"onPageNotFound",g({value:function(t){var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.onPageNotFound)||void 0===e||e.call(n,t),R("onPageNotFound",t)};x(e)}})),b));function R(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=Object(h["getPageInstance"])(p);if(i){var o=C(),a=d["g"].call("getLifecycle",i,t);Array.isArray(a)&&a.forEach((function(t){return t.apply(o,n)}))}}return h["Current"].app=L,L}Object(h["incrementId"])();d["g"].tap("initNativeApi",(function(t){for(var e in z)t[e]=z[e]}))},345:function(t,e,n){var r=n(247);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},506:function(t,e,n){"use strict";var r=n(17),i=new Set(["applyRefund","canRateAwemeOrders","checkFollowAwemeState","checkFollowState","continueToPay","createOrder","exitMiniProgram","followAwemeUser","followOfficialAccount","getEnvInfoSync","getMenuButtonLayout","getUserProfile","hideInteractionBar","navigateToVideoView","openAwemeUserProfile","openEcGood","openWebcastRoom","pay","rateAwemeOrder","showDouyinOpenAuth","showInteractionBar"]),o={showToast:{options:{set:[{key:"icon",value:function(t){return"error"===t.icon?"fail":t.icon}}]}}};function a(t,e){var n=t;return Object.keys(o).forEach((function(r){var i=o[r];if(t===r&&(i.alias&&(n=i.alias),i.options)){var a=i.options.change,c=i.options.set;a&&a.forEach((function(t){e[t.new]=e[t.old]})),c&&c.forEach((function(t){e[t.key]="function"===typeof t.value?t.value(e):t.value}))}})),{key:n,options:e}}function c(t){Object(r["t"])(t,tt,{needPromiseApis:i,transformMeta:a})}var u="!0",s="!1",l="",d={Icon:{size:"24"},Button:{bindGetPhoneNumber:l,"data-channel":l},Form:{"report-submit-timeout":"0"},Slider:{color:Object(r["u"])("#e9e9e9"),"selected-color":Object(r["u"])("#1aad19")},WebView:{"progressbar-color":Object(r["u"])("#51a0d8")},Video:{"play-btn-position":Object(r["u"])("center"),"pre-roll-unit-id":l,"post-roll-unit-id":l,"vslide-gesture":s,"vslide-gesture-in-fullscreen":u,"enable-play-gesture":s,"show-playback-rate-btn":s,"enable-play-in-background":s,signature:l,bindProgress:l,bindSeekComplete:l,bindAdLoad:l,bindAdStart:l,bindAdEnded:l,bindAdError:l,bindAdClose:l,bindLoadedMetadata:l,bindPlaybackRateChange:l,bindMuteChange:l,bindControlTap:l,bindEnterBackground:l,bindCloseBackground:l,bindLeaveBackground:l},Ad:{fixed:l,type:Object(r["u"])("banner"),scale:"100"},Textarea:{"disable-default-padding":s,"confirm-type":Object(r["u"])("return"),"confirm-hold":s,"show-confirm-bar":u,"adjust-position":u,"hold-keyboard":s},Canvas:{type:l},Map:{polygons:"[]",rotate:"0",skew:"0","max-scale":"19","min-scale":"3","enable-3D":s,"show-compass":s,"show-scale":s,"enable-overlooking":s,"enable-zoom":u,"enable-scroll":u,"enable-rotate":s,"enable-satellite":s,"enable-traffic":s,"enable-poi":u,"enable-building":u,bindLabelTap:l,bindRegionChange:l,bindAnchorPointTap:l},RtcRoom:{"user-id":l,mode:"camera","device-position":"front",bindError:l},PayButton:{mode:"1","goods-id":l,"goods-type":l,"order-status":"0","order-id":l,"refund-id":l,"refund-total-amount":l,"biz-line":"1","marketing-ready":s,bindGetGoodsInfo:l,bindPlaceOrder:l,bindError:l,bindApplyRefund:l,bindRefund:l,bindPay:l},ConsumeCard:{"order-id":l,bindConsume:l,bindRefund:l,bindApplyRefund:l,bindError:l},AwemeData:{"aweme-id":l,type:Object(r["u"])("avatar"),"disable-default":l,"default-avatar":l,"default-text":l,bindError:l},RateButton:{"order-id":l,bindInit:l,bindSuccess:l,bindError:l},OpenData:{type:l,"default-text":l,"default-avatar":l,"use-empty-value":s,bindError:l}},h={initNativeApi:c,modifyMpEventImpl:function(t){"regionchange"===t.type&&(t.type=t.detail.type)}};Object(r["r"])(h),Object(r["q"])(d)},507:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return A}));var r=n(185),i=n.n(r),o=n(20),a=n(345),c=n.n(a),u=n(252),s=n.n(u),l=n(253),d=n.n(l),h=n(247),f=n.n(h);function p(t){return"function"===typeof t}function v(t){return"undefined"===typeof t}function b(t){return t&&"object"===i()(t)}var g=function(t){return!b(t)};function m(t){throw new TypeError(t)}p(Object.assign)||(Object.assign=function(t){null==t&&m("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}),p(Object.defineProperties)||(Object.defineProperties=function(t,e){function n(t){function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}g(t)&&m("bad desc");var n={};if(e(t,"enumerable")&&(n.enumerable=!!t.enumerable),e(t,"configurable")&&(n.configurable=!!t.configurable),e(t,"value")&&(n.value=t.value),e(t,"writable")&&(n.writable=!!t.writable),e(t,"get")){var r=t.get;p(r)||v(r)||m("bad get"),n.get=r}if(e(t,"set")){var i=t.set;p(i)||v(i)||m("bad set"),n.set=i}return("get"in n||"set"in n)&&("value"in n||"writable"in n)&&m("identity-confused descriptor"),n}g(t)&&m("bad obj"),e=Object(e);for(var r=Object.keys(e),i=[],o=0;o<r.length;o++)i.push([r[o],n(e[r[o]])]);for(var a=0;a<i.length;a++)Object.defineProperty(t,i[a][0],i[a][1]);return t});var y={WEAPP:"WEAPP",WEB:"WEB",RN:"RN",SWAN:"SWAN",ALIPAY:"ALIPAY",TT:"TT",QQ:"QQ",JD:"JD"};function O(){return y.TT}var j=function(){function t(e,n,r){s()(this,t),this.index=r||0,this.requestParams=e,this.interceptors=n||[]}return d()(t,[{key:"proceed",value:function(t){if(this.requestParams=t,this.index>=this.interceptors.length)throw new Error("chain \u53c2\u6570\u9519\u8bef, \u8bf7\u52ff\u76f4\u63a5\u4fee\u6539 request.chain");var e=this._getNextInterceptor(),n=this._getNextChain(),r=e(n),i=r.catch((function(t){return Promise.reject(t)}));return Object.keys(r).forEach((function(t){return p(r[t])&&(i[t]=r[t])})),i}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new t(this.requestParams,this.interceptors,this.index+1)}}]),t}(),k=function(){function t(e){s()(this,t),this.taroInterceptor=e,this.chain=new j}return d()(t,[{key:"request",value:function(t){var e=this.chain,n=this.taroInterceptor;return e.interceptors=e.interceptors.filter((function(t){return t!==n})).concat(n),e.proceed(c()({},t))}},{key:"addInterceptor",value:function(t){this.chain.interceptors.push(t)}},{key:"cleanInterceptors",value:function(){this.chain=new j}}]),t}();function w(t){var e,n=t.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);e=t.proceed(n),e.then((function(t){o&&(clearTimeout(o),r(t))})).catch((function(t){o&&clearTimeout(o),i(t)}))}));return!v(e)&&p(e.abort)&&(r.abort=e.abort),r}function S(t){var e=t.requestParams;e.method,e.data,e.url;var n=t.proceed(e),r=n.then((function(t){return t}));return p(n.abort)&&(r.abort=n.abort),r}var E=Object.freeze({__proto__:null,timeoutInterceptor:w,logInterceptor:S});function C(t){return t}function x(t){return function(e,n){t.preloadData=b(e)?e:f()({},e,n)}}var T=750,P={640:1.17,750:1,828:.905},_=20;function I(t){return function(e){var n=e.designWidth,r=void 0===n?T:n,i=e.deviceRatio,o=void 0===i?P:i,a=e.baseFontSize,c=void 0===a?_:a;t.config=t.config||{},t.config.designWidth=r,t.config.deviceRatio=o,t.config.baseFontSize=c}}function N(t){return function(e){var n=t.config||{},r=n.deviceRatio||P,i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return p(n.designWidth)?n.designWidth(t):n.designWidth||T}(e);if(!(i in r))throw new Error("deviceRatio \u914d\u7f6e\u4e2d\u4e0d\u5b58\u5728 ".concat(i," \u7684\u8bbe\u7f6e\uff01"));return parseInt(e,10)*r[i]+"rpx"}}var A={Behavior:C,getEnv:O,ENV_TYPE:y,Link:k,interceptors:E,Current:o["Current"],getCurrentInstance:o["getCurrentInstance"],options:o["options"],nextTick:o["nextTick"],eventCenter:o["eventCenter"],Events:o["Events"],getInitPxTransform:I};A.initPxTransform=I(A),A.preload=x(o["Current"]),A.pxTransform=N(A)},508:function(t,e,n){var r=n(185)["default"];function i(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},922:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(20);Component((0,r.createRecursiveComponentConfig)("custom-wrapper"))}}]);
|
|
}); |