-
Notifications
You must be signed in to change notification settings - Fork 925
/
vendor.android.js
53 lines (53 loc) 路 157 KB
/
vendor.android.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
var hippyReactBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"../../packages/hippy-react/dist/index.js":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"Animated",(function(){return Ut})),n.d(t,"Animation",(function(){return me})),n.d(t,"AnimationSet",(function(){return ye})),n.d(t,"AppRegistry",(function(){return Tt})),n.d(t,"AsyncStorage",(function(){return yn})),n.d(t,"BackAndroid",(function(){return bn})),n.d(t,"Clipboard",(function(){return wn})),n.d(t,"ConsoleModule",(function(){return Ln})),n.d(t,"Dimensions",(function(){return Un})),n.d(t,"Easing",(function(){return Dt})),n.d(t,"Focusable",(function(){return cn})),n.d(t,"Hippy",(function(){return zn})),n.d(t,"HippyEventEmitter",(function(){return te})),n.d(t,"HippyEventListener",(function(){return Z})),n.d(t,"HippyRegister",(function(){return En})),n.d(t,"Image",(function(){return Ht})),n.d(t,"ImageBackground",(function(){return jn})),n.d(t,"ImageLoaderModule",(function(){return xn})),n.d(t,"ListView",(function(){return Qt})),n.d(t,"ListViewItem",(function(){return Wt})),n.d(t,"Modal",(function(){return un})),n.d(t,"Navigator",(function(){return Yt})),n.d(t,"NetInfo",(function(){return Cn})),n.d(t,"NetworkModule",(function(){return Sn})),n.d(t,"PixelRatio",(function(){return Dn})),n.d(t,"Platform",(function(){return On})),n.d(t,"PullFooter",(function(){return Vt})),n.d(t,"PullHeader",(function(){return Bt})),n.d(t,"RNfqb",(function(){return Tn})),n.d(t,"RNfqbEventEmitter",(function(){return Mn})),n.d(t,"RNfqbEventListener",(function(){return Hn})),n.d(t,"RNfqbRegister",(function(){return Fn})),n.d(t,"RefreshWrapper",(function(){return Kt})),n.d(t,"ScrollView",(function(){return ln})),n.d(t,"StyleSheet",(function(){return on})),n.d(t,"Text",(function(){return Mt})),n.d(t,"TextInput",(function(){return en})),n.d(t,"TimerModule",(function(){return An})),n.d(t,"UIManagerModule",(function(){return Nn})),n.d(t,"View",(function(){return jt})),n.d(t,"ViewPager",(function(){return Jt})),n.d(t,"WaterfallView",(function(){return gn})),n.d(t,"WebSocket",(function(){return pn})),n.d(t,"WebView",(function(){return dn})),n.d(t,"callNative",(function(){return In})),n.d(t,"callNativeWithCallbackId",(function(){return _n})),n.d(t,"callNativeWithPromise",(function(){return Pn})),n.d(t,"colorParse",(function(){return St})),n.d(t,"removeNativeCallback",(function(){return Rn}));var r=n("./node_modules/react/index.js"),i=n.n(r),o=n("./node_modules/react-reconciler/index.js"),a=n.n(o);const l=["children"],s=["collapsable","style"],u=["style"],c=["children","style","imageStyle","imageRef","source","sources","src","srcs","tintColor","tintColors"],d=["children"],f=["children"],p=["children","style","renderRow","renderPullHeader","renderPullFooter","getRowType","getRowStyle","getRowKey","dataSource","initialListSize","rowShouldSticky","onRowLayout","onHeaderPulling","onHeaderReleased","onFooterPulling","onFooterReleased","onAppear","onDisappear","onWillAppear","onWillDisappear"],h=["children"],m=["initialRoute"],g=["component"],y=["children","onPageScrollStateChanged"],b=["collapsable","style"],v=["style","renderBanner","numberOfColumns","columnSpacing","interItemSpacing","numberOfItems","preloadItemNumber","renderItem","renderPullHeader","renderPullFooter","getItemType","getItemKey","getItemStyle","contentInset","onItemLayout","onHeaderPulling","onHeaderReleased","onFooterPulling","onFooterReleased","containPullHeader","containPullFooter","containBannerView"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}
/*!
* @hippy/react v2.10.3
* Build at: Tue Nov 16 2021 16:28:28 GMT+0800 (China Standard Time)
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2017-2021 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}e.__GLOBAL__||(e.__GLOBAL__={});const{__GLOBAL__:x}=e;x.nodeId=0,x.animationId=0,x.renderCount=0;const{asyncStorage:C,bridge:N,device:I,document:P,register:_,on:R,off:A,emit:L}=e.Hippy;var O=Object.freeze({__proto__:null,addEventListener:R,removeEventListener:A,dispatchEvent:L,AsyncStorage:C,Bridge:N,Device:I,HippyRegister:_,UIManager:P});let z,T;function j(e,t){T=e,z=t}function F(){if(!T)throw new Error("getRootViewId must execute after setRootContainer");return T}function M(e){if(!z)return null;const{current:t}=z,n=[t];for(;n.length;){const t=n.shift();if(!t)break;if(e(t))return t;t.child&&n.push(t.child),t.sibling&&n.push(t.sibling)}return null}function H(e){return M(t=>t.stateNode&&t.stateNode.nodeId===e)}const U=new RegExp(/^\d+$/);let D=!1,W=!1;function B(e){return e.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)))}const V=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function $(e){return"[object Function]"===Object.prototype.toString.call(e)}function q(e){D=e}function Q(e){if(e&&!/^(http|https):\/\//.test(e)&&e.indexOf("assets")>-1){0;return`${"hpfile://"}./${e}`}return e}class K{constructor(e){this.handlerContainer={},this.nextIdForHandler=0,this.eventName=e}addEventHandler(e,t){if(!e)throw new TypeError("Invalid arguments");const n=this.nextIdForHandler;this.nextIdForHandler+=1;const r={id:n,eventHandler:e,context:t},i="eventHandler_"+n;return this.handlerContainer[i]=r,n}removeEventHandler(e){if("number"!=typeof e)throw new TypeError("Invalid arguments");const t="eventHandler_"+e;this.handlerContainer[t]&&delete this.handlerContainer[t]}notifyEvent(e){Object.keys(this.handlerContainer).forEach(t=>{const n=this.handlerContainer[t];n&&n.eventHandler&&(n.context?n.eventHandler.call(n.context,e):n.eventHandler(e))})}getEventListeners(){return Object.keys(this.handlerContainer).filter(e=>this.handlerContainer[e]).map(e=>this.handlerContainer[e])}getHandlerSize(){return Object.keys(this.handlerContainer).length}}const G=new Map;function Y(e){if("string"!=typeof e)throw new TypeError("Invalid eventName for getHippyEventHub: "+e);return G.get(e)||null}const X={registerNativeEventHub:function(e){if("string"!=typeof e)throw new TypeError("Invalid eventName for registerNativeEventHub: "+e);let t=G.get(e);return t||(t=new K(e),G.set(e,t)),t},getHippyEventHub:Y,unregisterNativeEventHub:function(e){if("string"!=typeof e)throw new TypeError("Invalid eventName for unregisterNativeEventHub: "+e);G.has(e)&&G.delete(e)},receiveNativeEvent:function(e){if(!e||!Array.isArray(e)||e.length<2)throw new TypeError("Invalid params for receiveNativeEvent: "+JSON.stringify(e));const[t,n]=e;if("string"!=typeof t)throw new TypeError("Invalid arguments");const r=Y(t);r&&r.notifyEvent(n)},receiveNativeGesture:function(e){if(!e)return;const{id:t}=e,n=H(t);if(!n)return;let r=!1,i=n,{name:o}=e;do{if(i.memoizedProps&&!i.memoizedProps[o]&&"onClick"===o&&i.memoizedProps.onPress&&(o="onPress"),i.memoizedProps&&i.memoizedProps[o]&&"function"==typeof i.memoizedProps[o])try{r=i.memoizedProps[o](e),"boolean"!=typeof r&&(r=!W)}catch(e){console.reportUncaughtException(e)}if("boolean"!=typeof r&&(r=!0),!1===r)for(i=i.return;i&&5!==i.tag;)i=i.return}while(!r&&i)},receiveUIComponentEvent:function(e){if(!e||!Array.isArray(e)||e.length<2)return;const[t,n,r]=e;if("number"!=typeof t||"string"!=typeof n)return;const i=H(t);i&&i.memoizedProps&&i.memoizedProps[n]&&"function"==typeof i.memoizedProps[n]&&i.memoizedProps[n](r)}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=X);class J{constructor(e,t){this.callback=e,this.bindListener=t}remove(){"number"==typeof this.callback&&this.bindListener&&(this.bindListener.removeCallback(this.callback),this.bindListener=void 0)}}class Z{constructor(e){this.eventName=e,this.listenerIds=[]}addCallback(e,t){if("function"!=typeof e)throw new TypeError("Invalid arguments");const n=X.registerNativeEventHub(this.eventName);if(!n)throw new ReferenceError("No listeners for "+this.eventName);const r=n.addEventHandler(e,t);if("number"!=typeof r)throw new Error("Fail to addEventHandler");return this.listenerIds.push(r),r}removeCallback(e){if("number"!=typeof e)throw new TypeError("Invalid arguments");const t=X.getHippyEventHub(this.eventName);if(!t)throw new ReferenceError("No listeners for "+this.eventName);t.removeEventHandler(e);const n=this.listenerIds.length;for(let t=0;t<n;t+=1)if(e===this.listenerIds[t]){this.listenerIds.splice(t,1);break}}unregister(){const e=this.listenerIds.length,t=X.getHippyEventHub(this.eventName);if(!t)throw new ReferenceError("No listeners for "+this.eventName);for(let n=0;n<e;n+=1)t.removeEventHandler(this.listenerIds[n]);this.listenerIds=[],0===t.getHandlerSize()&&X.unregisterNativeEventHub(this.eventName)}getSize(){return this.listenerIds.length}}function ee(e){if("string"!=typeof e)throw new TypeError("Invalid arguments");return"eventEmitter_"+e}class te{constructor(e){this.hippyEventListeners=e&&"object"==typeof e?e:{}}sharedListeners(){return this.hippyEventListeners}addListener(e,t,n){if("string"!=typeof e||"function"!=typeof t)throw new TypeError("Invalid arguments");let r=this.hippyEventListeners[ee(e)];r||(r=new Z(e),this.hippyEventListeners[ee(e)]=r);const i=r.addCallback(t,n);if("number"!=typeof i)throw new Error("Fail to addCallback");return new J(i,r)}removeAllListeners(e){if("string"!=typeof e)throw new TypeError("Invalid arguments");const t=this.hippyEventListeners[ee(e)];t&&(t.unregister(),delete this.hippyEventListeners[ee(e)])}emit(e,t){if("string"!=typeof e)return!1;const n=X.getHippyEventHub(e);return!!n&&(n.notifyEvent(t),!0)}listenerSize(e){if("string"!=typeof e)throw new TypeError("Invalid arguments");const t=this.hippyEventListeners[ee(e)];return t?t.getSize():0}}te.emit=te.prototype.emit;var ne=Object.freeze({__proto__:null,getString:function(){return N.callNativeWithPromise("ClipboardModule","getString")},setString:function(e){N.callNative("ClipboardModule","setString",e)}});var re=Object.freeze({__proto__:null,getCookies:function(e){return N.callNativeWithPromise("network","getCookie",e)},setCookie:function(e,t,n){let r="";"string"==typeof n&&(r=n),n instanceof Date&&(r=n.toUTCString()),N.callNative("network","setCookie",e,t,r)}});function ie(e){return N.callNativeWithPromise("ImageLoaderModule","getSize",e)}function oe(e){N.callNative("ImageLoaderModule","prefetch",e)}var ae=Object.freeze({__proto__:null,getSize:ie,prefetch:oe});const le=new Map;let se;class ue{constructor(e,t){this.eventName=e,this.listener=t}remove(){this.eventName&&this.listener&&(ce(this.eventName,this.listener),this.listener=void 0)}}function ce(e,t){if(t instanceof ue)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange");se.listenerSize(n)<=1&&N.callNative("NetInfo","removeListener",n);const r=le.get(t);r&&(r.remove(),le.delete(t))}var de=Object.freeze({__proto__:null,addEventListener:function(e,t){se=new te;let n=e;n&&"change"===n&&(n="networkStatusDidChange"),se.listenerSize(n)<1&&N.callNative("NetInfo","addListener",n);const r=se.addListener(n,e=>{t(e)});return le.set(r,r),new ue(n,t)},removeEventListener:ce,fetch:function(){return N.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(e=>e.network_info)}});function fe(e){return"loop"===e?-1:e}const pe=new te;function he(e,t){return"color"===e&&["number","string"].indexOf(typeof t)>=0?St(t):t}class me{constructor(e){let t=0;if(e.startValue&&e.startValue.constructor&&"Animation"===e.startValue.constructor.name)t={animationId:e.startValue.animationId};else{const{startValue:n}=e;t=he(e.valueType,n)}const n=he(e.valueType,e.toValue);this.mode=e.mode||"timing",this.delay=e.delay||0,this.startValue=t||0,this.toValue=n||0,this.valueType=e.valueType||void 0,this.duration=e.duration||0,this.direction=e.direction||"center",this.timingFunction=e.timingFunction||"linear",this.repeatCount=fe(e.repeatCount||0),this.inputRange=e.inputRange||[],this.outputRange=e.outputRange||[],this.animationId=lt.callNativeWithCallbackId("AnimationModule","createAnimation",!0,this.mode,Object.assign({delay:this.delay,startValue:this.startValue,toValue:this.toValue,duration:this.duration,direction:this.direction,timingFunction:this.timingFunction,repeatCount:this.repeatCount,inputRange:this.inputRange,outputRange:this.outputRange},this.valueType?{valueType:this.valueType}:{})),this.destroy=this.destroy.bind(this),this.onRNfqbAnimationStart=this.onAnimationStart.bind(this),this.onRNfqbAnimationEnd=this.onAnimationEnd.bind(this),this.onRNfqbAnimationCancel=this.onAnimationCancel.bind(this),this.onRNfqbAnimationRepeat=this.onAnimationRepeat.bind(this),this.onHippyAnimationStart=this.onAnimationStart.bind(this),this.onHippyAnimationEnd=this.onAnimationEnd.bind(this),this.onHippyAnimationCancel=this.onAnimationCancel.bind(this),this.onHippyAnimationRepeat=this.onAnimationRepeat.bind(this)}removeEventListener(){this.animationStartListener&&this.animationStartListener.remove(),this.animationEndListener&&this.animationEndListener.remove(),this.animationCancelListener&&this.animationCancelListener.remove(),this.animationRepeatListener&&this.animationRepeatListener.remove()}start(){this.removeEventListener();let e="onAnimation";e="onHippyAnimation","function"==typeof this.onAnimationStartCallback&&(this.animationStartListener=pe.addListener(e+"Start",e=>{e===this.animationId&&(this.animationStartListener.remove(),"function"==typeof this.onAnimationStartCallback&&this.onAnimationStartCallback())})),"function"==typeof this.onAnimationEndCallback&&(this.animationEndListener=pe.addListener(e+"End",e=>{e===this.animationId&&(this.animationEndListener.remove(),"function"==typeof this.onAnimationEndCallback&&this.onAnimationEndCallback())})),"function"==typeof this.onAnimationCancelCallback&&(this.animationCancelListener=pe.addListener(e+"Cancel",e=>{e===this.animationId&&(this.animationCancelListener.remove(),"function"==typeof this.onAnimationCancelCallback&&this.onAnimationCancelCallback())})),"function"==typeof this.onAnimationRepeatCallback&&(this.animationRepeatListener=pe.addListener(e+"Repeat",e=>{e===this.animationId&&"function"==typeof this.onAnimationRepeatCallback&&this.onAnimationRepeatCallback()})),lt.callNative("AnimationModule","startAnimation",this.animationId)}destory(){this.destroy()}destroy(){this.removeEventListener(),lt.callNative("AnimationModule","destroyAnimation",this.animationId)}pause(){lt.callNative("AnimationModule","pauseAnimation",this.animationId)}resume(){lt.callNative("AnimationModule","resumeAnimation",this.animationId)}updateAnimation(e){if("object"!=typeof e)throw new TypeError("Invalid arguments");if("string"==typeof e.mode&&e.mode!==this.mode)throw new TypeError("Update animation mode not supported");Object.keys(e).forEach(t=>{const n=e[t];if("startValue"===t){let t=0;if(e.startValue instanceof me)t={animationId:e.startValue.animationId};else{const{startValue:n}=e;t=he(this.valueType,n)}this.startValue=t||0}else"repeatCount"===t?this.repeatCount=fe(e.repeatCount||0):Object.defineProperty(this,t,{value:n})}),lt.callNative("AnimationModule","updateAnimation",this.animationId,Object.assign({delay:this.delay,startValue:this.startValue,toValue:he(this.valueType,this.toValue),duration:this.duration,direction:this.direction,timingFunction:this.timingFunction,repeatCount:this.repeatCount,inputRange:this.inputRange,outputRange:this.outputRange},this.valueType?{valueType:this.valueType}:{}))}onAnimationStart(e){this.onAnimationStartCallback=e}onAnimationEnd(e){this.onAnimationEndCallback=e}onAnimationCancel(e){this.onAnimationCancelCallback=e}onAnimationRepeat(e){this.onAnimationRepeatCallback=e}}const ge=new te;class ye{constructor(e){this.animationList=[],e.children.forEach(e=>{this.animationList.push({animationId:e.animation.animationId,follow:e.follow||!1})}),this.animationId=lt.callNativeWithCallbackId("AnimationModule","createAnimationSet",!0,{repeatCount:fe(e.repeatCount||0),children:this.animationList,virtual:e.virtual}),this.onRNfqbAnimationStart=this.onAnimationStart.bind(this),this.onRNfqbAnimationEnd=this.onAnimationEnd.bind(this),this.onRNfqbAnimationCancel=this.onAnimationCancel.bind(this),this.onRNfqbAnimationRepeat=this.onAnimationRepeat.bind(this),this.onHippyAnimationStart=this.onAnimationStart.bind(this),this.onHippyAnimationEnd=this.onAnimationEnd.bind(this),this.onHippyAnimationCancel=this.onAnimationCancel.bind(this),this.onHippyAnimationRepeat=this.onAnimationRepeat.bind(this)}removeEventListener(){this.animationStartListener&&this.animationStartListener.remove(),this.animationEndListener&&this.animationEndListener.remove(),this.animationCancelListener&&this.animationCancelListener.remove(),this.animationRepeatListener&&this.animationRepeatListener.remove()}start(){this.removeEventListener();let e="onAnimation";e="onHippyAnimation","function"==typeof this.onAnimationStartCallback&&(this.animationStartListener=ge.addListener(e+"Start",e=>{e===this.animationId&&(this.animationStartListener.remove(),"function"==typeof this.onAnimationStartCallback&&this.onAnimationStartCallback())})),"function"==typeof this.onAnimationEndCallback&&(this.animationEndListener=ge.addListener(e+"End",e=>{e===this.animationId&&(this.animationEndListener.remove(),"function"==typeof this.onAnimationEndCallback&&this.onAnimationEndCallback())})),"function"==typeof this.onAnimationCancelCallback&&(this.animationCancelListener=ge.addListener(e+"Cancel",e=>{e===this.animationId&&(this.animationCancelListener.remove(),"function"==typeof this.onAnimationCancelCallback&&this.onAnimationCancelCallback())})),"function"==typeof this.onAnimationRepeatCallback&&(this.animationRepeatListener=ge.addListener(e+"Repeat",e=>{e===this.animationId&&"function"==typeof this.onAnimationRepeatCallback&&this.onAnimationRepeatCallback()})),lt.callNative("AnimationModule","startAnimation",this.animationId)}destory(){this.destroy()}destroy(){this.removeEventListener(),this.animationList.forEach(e=>Number.isInteger(e.animationId)&<.callNative("AnimationModule","destroyAnimation",e.animationId)),lt.callNative("AnimationModule","destroyAnimation",this.animationId)}pause(){lt.callNative("AnimationModule","pauseAnimation",this.animationId)}resume(){lt.callNative("AnimationModule","resumeAnimation",this.animationId)}onAnimationStart(e){this.onAnimationStartCallback=e}onAnimationEnd(e){this.onAnimationEndCallback=e}onAnimationCancel(e){this.onAnimationCancelCallback=e}onAnimationRepeat(e){this.onAnimationRepeatCallback=e}}const be={createNode:Symbol("createNode"),updateNode:Symbol("updateNode"),deleteNode:Symbol("deleteNode")};let ve=!0,we=[];function Se(){ve&&Ve()}function ke(e){ve&&(ve=!1,Promise.resolve().then(()=>{(function(e){const t=[];for(let n=0;n<e.length;n+=1){const r=e[n],{type:i,nodes:o}=r,a=t[t.length-1];a&&a.type===i?a.nodes=a.nodes.concat(o):t.push({type:i,nodes:o})}return t})(we).forEach(t=>{switch(t.type){case be.createNode:t.nodes,Ue(e,t.nodes);break;case be.updateNode:t.nodes,"ios"===I.platform.OS?t.nodes.forEach(t=>De(e,[t])):De(e,t.nodes);break;case be.deleteNode:t.nodes,"ios"===I.platform.OS?t.nodes.forEach(t=>We(e,[t])):We(e,t.nodes)}}),$e(),we=[],ve=!0}))}function Ee(e){const t=e.attributes,{children:n}=t;return E(t,l)}function xe(e,t){if(!t.nativeName)return null;if(t.meta.skipAddToDom)return null;if(!t.meta.component)throw new Error("Specific tag is not supported yet: "+t.tagName);return{id:t.nodeId,pId:t.parentNode&&t.parentNode.nodeId||e,index:t.index,name:t.nativeName,props:S(S({},Ee(t)),{},{style:t.style})}}function Ce(e,t){const n=[];return t.traverseChildren(t=>{const r=xe(e,t);r&&n.push(r)}),n}function Ne(e){return!!z&&e instanceof z.containerInfo.constructor}function Ie(e,t,n=-1){if(!e)return;if(t.meta.skipAddToDom)return;const r=F();if(Ne(e)&&!e.isMounted){const n=Ce(r,t);Se(),we.push({type:be.createNode,nodes:n}),ke(r),e.traverseChildren(e=>{e.isMounted||(e.isMounted=!0)})}else if(e.isMounted&&!t.isMounted){const e=Ce(r,t);Se(),we.push({type:be.createNode,nodes:e}),ke(r),t.traverseChildren(e=>{e.isMounted||(e.isMounted=!0)})}}function Pe(e,t){if(!t||t.meta.skipAddToDom)return;t.isMounted=!1,t.traverseChildren(e=>{e.isMounted&&(e.isMounted=!1)});const n=F(),r=[{id:t.nodeId,pId:t.parentNode?t.parentNode.nodeId:n,index:t.index}];Se(),we.push({type:be.deleteNode,nodes:r}),ke(n)}function _e(e){if(!e.isMounted)return;const t=F(),n=xe(t,e);Se(),n&&we.push({type:be.updateNode,nodes:[n]}),ke(t)}let Re=0;class Ae{constructor(){this.meta={component:{}},this._isMounted=!1,this.index=0,this.childNodes=[],this.parentNode=null,this.prevSibling=null,this.nextSibling=null,this.nodeId=(Re+=1,Re%10==0&&(Re+=1),Re)}toString(){return this.constructor.name}get firstChild(){return this.childNodes.length?this.childNodes[0]:null}get lastChild(){return this.childNodes.length?this.childNodes[this.childNodes.length-1]:null}get isMounted(){return this._isMounted}set isMounted(e){this._isMounted=e}insertBefore(e,t){if(!e)throw new Error("Can't insert child.");if(!t)return this.appendChild(e);if(t.parentNode!==this)throw new Error("Can't insert child, because the reference node has a different parent.");if(e.parentNode&&e.parentNode!==this)throw new Error("Can't insert child, because it already has a different parent.");const n=this.childNodes.indexOf(t);return e.parentNode=this,e.nextSibling=t,e.prevSibling=this.childNodes[n-1],t.prevSibling=e,this.childNodes.splice(n,0,e),Ie(this,e,n)}moveChild(e,t){if(!e)throw new Error("Can't mvoe child.");if(!t)return this.appendChild(e);if(t.parentNode!==this)throw new Error("Can't move child, because the reference node has a different parent.");if(e.parentNode&&e.parentNode!==this)throw new Error("Can't move child, because it already has a different parent.");const n=this.childNodes.indexOf(e),r=this.childNodes.indexOf(t);if(r===n)return e;e.nextSibling=t,e.prevSibling=t.prevSibling,t.prevSibling=e,this.childNodes[r-1]&&(this.childNodes[r-1].nextSibling=e),this.childNodes[r+1]&&(this.childNodes[r+1].prevSibling=e),this.childNodes[n-1]&&(this.childNodes[n-1].nextSibling=this.childNodes[n+1]),this.childNodes[n+1]&&(this.childNodes[n+1].prevSibling=this.childNodes[n-1]),Pe(0,e),this.childNodes.splice(r,0,e),this.childNodes.splice(n+(r<n?1:0),1);return Ie(this,e,this.childNodes.filter(e=>e.index>-1).indexOf(e))}appendChild(e){if(!e)throw new Error("Can't append child.");if(e.parentNode&&e.parentNode!==this)throw new Error("Can't append child, because it already has a different parent.");e.parentNode=this,this.lastChild&&(e.prevSibling=this.lastChild,this.lastChild.nextSibling=e),this.childNodes.push(e),Ie(this,e,this.childNodes.length-1)}removeChild(e){if(!e)throw new Error("Can't remove child.");if(!e.parentNode)throw new Error("Can't remove child, because it has no parent.");if(e.parentNode!==this)throw new Error("Can't remove child, because it has a different parent.");e.meta.skipAddToDom||(Pe(0,e),e.prevSibling&&(e.prevSibling.nextSibling=e.nextSibling,e.prevSibling=null),e.nextSibling&&(e.nextSibling.prevSibling=e.prevSibling,e.nextSibling=null),this.childNodes=this.childNodes.filter(t=>t!==e))}findChild(e){if(e(this))return this;if(this.childNodes.length)for(let t=0;t<this.childNodes.length;t+=1){const n=this.childNodes[t],r=this.findChild.call(n,e);if(r)return r}return null}traverseChildren(e){let t;t=this.parentNode?this.parentNode.childNodes.filter(e=>!e.meta.skipAddToDom).indexOf(this):0,this.index=t,e(this),this.childNodes.length&&this.childNodes.forEach(t=>{this.traverseChildren.call(t,e)})}}const Le={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},Oe={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},ze="turn",Te="rad",je="deg";function Fe(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=/^([+-]?\d+\.?\d*)+(deg|turn|rad)|(to\w+)$/g.exec(t);if(!Array.isArray(n))return;let r="180";const[i,o,a]=n;return o&&a?r=function(e,t=je){const n=parseFloat(e);let r=e||"";const[,i]=e.split(".");switch(i&&i.length>2&&(r=n.toFixed(2)),t){case ze:r=""+(360*n).toFixed(2);break;case Te:r=""+(180/Math.PI*n).toFixed(2)}return r}(o,a):i&&void 0!==Oe[i]&&(r=Oe[i]),r}function Me(e){const t=(e||"").replace(/\s+/g," ").trim(),[n,r]=t.split(/\s+(?![^(]*?\))/),i=/^([+-]?\d+\.?\d*)%$/g;return!n||i.exec(n)||r?n&&i.exec(r)?{ratio:parseFloat(r.split("%")[0])/100,color:St(n)}:void 0:{color:St(n)}}class He extends Ae{constructor(e){super(),this.id="",this.style={},this.attributes={},this.tagName=e}get nativeName(){return this.meta.component.name}toString(){return`${this.tagName}:(${this.nativeName})`}hasAttribute(e){return!!this.attributes[e]}getAttribute(e){return this.attributes[e]}setStyleAttribute(e){this.style={};let t=e;if(!Array.isArray(t)&&Object.hasOwnProperty.call(t,0)){const e=[],n={};Object.keys(t).forEach(r=>{var i;i=r,U.test(i)?e.push(t[r]):n[r]=t[r]}),t=[...e,n]}Array.isArray(t)||(t=[t]);let n={};t.forEach(e=>{Array.isArray(e)?e.forEach(e=>{n=S(S({},n),e)}):"object"==typeof e&&e&&(n=S(S({},n),e))}),Object.keys(n).forEach(e=>{const t=n[e];if(Object.prototype.hasOwnProperty.call(Le,e)&&(e=Le[e]),"transform"===e){const e={};if(!Array.isArray(t))throw new TypeError("transform only support array args");t.forEach(t=>{Object.keys(t).forEach(n=>{const r=t[n];r instanceof me||r instanceof ye?e[n]={animationId:r.animationId}:null===r?e[n]&&delete e[n]:void 0!==r&&(e[n]=r)})});const n=Object.keys(e);n.length&&(Array.isArray(this.style.transform)||(this.style.transform=[]),n.forEach(t=>this.style.transform.push({[t]:e[t]})))}else if(null===t&&void 0!==this.style[e])this.style[e]=void 0;else if(t instanceof me||t instanceof ye)this.style[e]={animationId:t.animationId};else if(e.toLowerCase().indexOf("colors")>-1)this.style[e]=kt(t);else if(e.toLowerCase().indexOf("color")>-1)this.style[e]=St(t);else if("backgroundImage"===e&&t)this.style=function(e,t,n){if(0===t.indexOf("linear-gradient")){const e=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),r=[];n.linearGradient=n.linearGradient||{},e.forEach((e,t)=>{if(0===t){const t=Fe(e);if(t)n.linearGradient.angle=t;else{n.linearGradient.angle="180";const t=Me(e);t&&r.push(t)}}else{const t=Me(e);t&&r.push(t)}}),n.linearGradient.colorStopList=r}else n[e]=Q(t);return n}(e,t,this.style);else if("textShadowOffset"===e){const{x:n=0,width:r=0,y:i=0,height:o=0}=t||{};this.style[e]={width:n||r,height:i||o}}else["textShadowOffsetX","textShadowOffsetY"].indexOf(e)>=0?this.style=function(e,t,n){return n.textShadowOffset=n.textShadowOffset||{},Object.assign(n.textShadowOffset,{[{textShadowOffsetX:"width",textShadowOffsetY:"height"}[e]]:t||0}),n}(e,t,this.style):this.style[e]=t})}setAttribute(e,t){try{if("boolean"==typeof this.attributes[e]&&""===t&&(t=!0),void 0===e)return void _e(this);let n=!1;if([{match:()=>["id"].indexOf(e)>=0,action:()=>(t===this.id||(this.id=t,function(e){if(!e.isMounted)return;const t=F(),n=Ce(t,e);Se(),we.push({type:be.updateNode,nodes:n}),ke(t)}(this)),!0)},{match:()=>["value","defaultValue","placeholder"].indexOf(e)>=0,action:()=>(this.attributes[e]=B(t),!1)},{match:()=>["text"].indexOf(e)>=0,action:()=>(this.attributes[e]=t,!1)},{match:()=>["numberOfRows"].indexOf(e)>=0,action:()=>(this.attributes[e]=t,"ios"!==st.platform.OS)},{match:()=>["onPress"].indexOf(e)>=0,action:()=>(this.attributes.onClick=!0,!1)},{match:()=>["style"].indexOf(e)>=0,action:()=>"object"!=typeof t||null==t||(this.setStyleAttribute(t),!1)},{match:()=>!0,action:()=>(this.attributes[e]="function"==typeof t||t,!1)}].some(e=>!!e.match()&&(n=e.action(),!0)),n)return;let r=!1;Object.keys(this.style).some(e=>{const t=this.style[e];if(t&&Array.isArray(t)&&"transform"===e)for(let e=0;e<t.length;e+=1){const n=t[e];for(const e in n){const t=n[e];if("object"==typeof t&&null!==t&&Number.isInteger(t.animationId))return r=!0,t}}return!("object"!=typeof t||null===t||!Number.isInteger(t.animationId))&&(r=!0,t)}),r?this.attributes.useAnimation=!0:"boolean"==typeof this.attributes.useAnimation&&(this.attributes.useAnimation=void 0),_e(this)}catch(e){}}removeAttribute(e){delete this.attributes[e]}setStyle(e,t,n=!1){if(null===t)return void delete this.style[e];let r=t,i=e;Object.prototype.hasOwnProperty.call(Le,e)&&(i=Le[e]),"string"==typeof r&&(r=t.trim(),r=i.toLowerCase().indexOf("colors")>-1?kt(r):i.toLowerCase().indexOf("color")>-1?St(r):function(e){if("number"==typeof e)return e;if("string"==typeof e&&V.test(e))try{return parseFloat(e)}catch(t){return e}return e}(r)),null!=r&&this.style[i]!==r&&(this.style[i]=r,n||_e(this))}setNativeProps(e){if(e){const{style:t}=e;if(t){const e=t;Object.keys(e).forEach(t=>{this.setStyle(t,e[t],!0)}),_e(this)}}}setText(e){if("string"!=typeof e)try{e=e.toString()}catch(e){throw new Error("Only string type is acceptable for setText")}return(e=e.trim())||this.getAttribute("text")?(e=(e=B(e)).replace(/ /g," ").replace(/脗/g," "),"textarea"===this.tagName?this.setAttribute("value",e):this.setAttribute("text",e)):null}}const{createNode:Ue,updateNode:De,deleteNode:We,flushBatch:Be,startBatch:Ve,endBatch:$e,sendRenderError:qe}=P,Qe=H;function Ke(e){if(e instanceof He)return e;const t=e._reactInternalFiber||e._reactInternals;if(t&&t.child){let e=t.child;for(;e&&!(e.stateNode instanceof He);)e=e.child;return e&&e.stateNode?e.stateNode:null}return null}function Ge(e){let t=e;if("string"==typeof e){const n=M(t=>!!(t.return&&t.return.ref&&t.return.ref._stringRef)&&t.return.ref._stringRef===e);if(!n||!n.stateNode)return 0;t=n.stateNode}if(!t.nodeId){const e=Ke(t);return e?e.nodeId:0}return t.nodeId}function Ye(e,t,...n){let{nativeName:r,nodeId:i}=e;if(!i||!r){const t=Ke(e);t&&({nodeId:i,nativeName:r}=t)}if(!r)throw new Error("callUIFunction is calling a unnamed component");if(!i)throw new Error("callUIFunction is calling a component have no nodeId");let[o=[],a]=n;$(o)&&(a=o,o=[]);null!==F()&&("ios"===I.platform.OS?($(a)&&Array.isArray(o)&&o.push(a),N.callNative("UIManagerModule","callUIFunction",[r,i,t,o])):"android"===I.platform.OS&&($(a)?N.callNative("UIManagerModule","callUIFunction",[i,t,o],a):N.callNative("UIManagerModule","callUIFunction",[i,t,o])))}function Xe(e,t,n){const r=Ge(t);return new Promise((t,i)=>r?N.callNative("UIManagerModule",e,r,e=>(n&&$(n)&&n(e),"this view is null"===e?i(new Error("Android cannot get the node")):t(e))):(n&&$(n)&&n("this view is null"),i(new Error(e+" cannot get nodeId"))))}var Je=Object.freeze({__proto__:null,createNode:Ue,updateNode:De,deleteNode:We,flushBatch:Be,startBatch:Ve,endBatch:$e,sendRenderError:qe,getNodeById:Qe,getNodeIdByRef:Ge,getElementFromFiberRef:Ke,callUIFunction:Ye,measureInWindow:function(e,t){return Xe("measureInWindow",e,t)},measureInAppWindow:function(e,t){return"android"===I.platform.OS?Xe("measureInWindow",e,t):Xe("measureInAppWindow",e,t)}});const Ze=new te,et=new Set,tt={exitApp(){N.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(N.callNative("DeviceEventModule","setListenBackPress",!0),et.add(e),{remove(){tt.removeListener(e)}}),removeListener(e){et.delete(e),0===et.size&&N.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){Ze.addListener("hardwareBackPress",()=>{let e=!0;[...et].reverse().every(t=>"function"!=typeof t||!t()||(e=!1,!1)),e&&tt.exitApp()})}},nt=(tt.initEventListener(),tt),{addEventListener:rt,removeEventListener:it,dispatchEvent:ot,AsyncStorage:at,Bridge:lt,Device:st,HippyRegister:ut}=O;var ct=Object.freeze({__proto__:null,addEventListener:rt,removeEventListener:it,dispatchEvent:ot,AsyncStorage:at,BackAndroid:nt,Bridge:lt,Clipboard:ne,Cookie:re,Device:st,HippyRegister:ut,ImageLoader:ae,NetworkInfo:de,UIManager:Je});function dt(...e){return`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`}const ft={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},pt="[-+]?\\d*\\.?\\d+",ht={rgb:new RegExp("rgb"+dt(pt,pt,pt)),rgba:new RegExp("rgba"+dt(pt,pt,pt,pt)),hsl:new RegExp("hsl"+dt(pt,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+dt(pt,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",pt)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function mt(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function gt(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function yt(e,t,n){let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function bt(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=yt(i,r,e+1/3),a=yt(i,r,e),l=yt(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*l)<<8}function vt(e){return(parseFloat(e)%360+360)%360/360}function wt(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function St(e,t={}){if(Number.isInteger(e))return e;let n=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ht.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(ft,e)?ft[e]:(t=ht.rgb.exec(e),Array.isArray(t)?(mt(t[1])<<24|mt(t[2])<<16|mt(t[3])<<8|255)>>>0:(t=ht.rgba.exec(e),t?(mt(t[1])<<24|mt(t[2])<<16|mt(t[3])<<8|gt(t[4]))>>>0:(t=ht.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ht.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=ht.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ht.hsl.exec(e),t?(255|bt(vt(t[1]),wt(t[2]),wt(t[3])))>>>0:(t=ht.hsla.exec(e),t?(bt(vt(t[1]),wt(t[2]),wt(t[3]))|gt(t[4]))>>>0:null))))))))}(e);return t.platform||(t.platform="android"),null===n?0:(n=(n<<24|n>>>8)>>>0,"android"===t.platform&&(n|=0),n)}function kt(e,t){return Array.isArray(e)?e.map(e=>St(e,t)):[0]}class Et extends Ae{constructor(){super(),this.documentElement=new He("document")}createElement(e){return new He(e)}createElementNS(e,t){return new He(`${e}:${t}`)}}Et.createElement=Et.prototype.createElement,Et.createElementNS=Et.prototype.createElementNS;var xt=Array.isArray,Ct=Object.keys,Nt=Object.prototype.hasOwnProperty;const It=setTimeout,Pt=clearTimeout;var _t=Object.freeze({__proto__:null,scheduleTimeout:It,cancelTimeout:Pt,afterActiveInstanceBlur:function(){},appendChild:function(e,t){e.childNodes.indexOf(t)>=0&&e.removeChild(t),e.appendChild(t)},appendChildToContainer:function(e,t){e.appendChild(t)},appendInitialChild:function(e,t){e.appendChild(t)},beforeActiveInstanceBlur:function(e){},commitMount:function(){},commitTextUpdate:function(){},commitUpdate:function(e,t){Object.keys(t).forEach(n=>e.setAttribute(n,t[n]))},clearContainer:function(e){},createContainerChildSet:function(){},createInstance:function(e,t,n,r,i){const o=n.createElement(e);return Object.keys(t).forEach(e=>{switch(e){case"children":break;case"nativeName":o.meta.component.name=t.nativeName;break;default:o.setAttribute(e,t[e])}}),[5,7].indexOf(i.tag)<0&&(o.meta.skipAddToDom=!0),o},createTextInstance:function(e,t){const n=t.createElement("p");return n.setAttribute("text",B(e)),n.meta={component:{name:"Text",skipAddToDom:!0}},n},finalizeContainerChildren:function(){},finalizeInitialChildren:function(){return!0},getChildHostContext:function(){return{}},getPublicInstance:function(e){return e},getInstanceFromNode:function(e){throw new Error("Not yet implemented.")},getFundamentalComponentInstance:function(e){throw new Error("Not yet implemented.")},getRootHostContext:function(){return{}},hideInstance:function(e){const t={style:{display:"none"}};Object.keys(t).forEach(n=>e.setAttribute(n,t[n]))},hideTextInstance:function(e){throw new Error("Not yet implemented.")},insertBefore:function(e,t,n){e.childNodes.indexOf(t)>=0?e.moveChild(t,n):e.insertBefore(t,n)},isOpaqueHydratingObject:function(e){throw new Error("Not yet implemented")},makeClientId:function(){throw new Error("Not yet implemented")},makeClientIdInDEV:function(e){throw new Error("Not yet implemented")},makeOpaqueHydratingObject:function(e){throw new Error("Not yet implemented.")},mountFundamentalComponent:function(e){throw new Error("Not yet implemented.")},prepareForCommit:function(){return null},preparePortalMount:function(e){},prepareUpdate:function(e,t,n,r){const i={};return Object.keys(r).forEach(e=>{const t=n[e],o=r[e];switch(e){case"children":t===o||"number"!=typeof o&&"string"!=typeof o||(i[e]=o);break;default:"function"==typeof t&&"function"==typeof o||function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,i,o,a=xt(t),l=xt(n);if(a&&l){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=l)return!1;var s=t instanceof Date,u=n instanceof Date;if(s!=u)return!1;if(s&&u)return t.getTime()==n.getTime();var c=t instanceof RegExp,d=n instanceof RegExp;if(c!=d)return!1;if(c&&d)return t.toString()==n.toString();var f=Ct(t);if((i=f.length)!==Ct(n).length)return!1;for(r=i;0!=r--;)if(!Nt.call(n,f[r]))return!1;for(r=i;0!=r--;)if(!e(t[o=f[r]],n[o]))return!1;return!0}return t!=t&&n!=n}(t,o)||(i[e]=o)}}),Object.keys(i).length?i:null},replaceContainerChildren:function(){},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){e.removeChild(t)},resetAfterCommit:function(){},resetTextContent:function(){},unmountFundamentalComponent:function(e){throw new Error("Not yet implemented.")},updateFundamentalComponent:function(e){throw new Error("Not yet implemented.")},unhideTextInstance:function(e,t){throw new Error("Not yet implemented.")},unhideInstance:function(e,t){const n=S(S({},t),{},{style:S(S({},t.style),{},{display:"flex"})});Object.keys(n).forEach(t=>e.setAttribute(t,n[t]))},shouldDeprioritizeSubtree:function(){return!0},shouldUpdateFundamentalComponent:function(e){throw new Error("Not yet implemented.")},shouldSetTextContent:function(e,t){if(t&&"Text"===t.nativeName||-1!==["p","span"].indexOf(e)){const{children:e}=t;return"string"==typeof e||"number"==typeof e}return!1}});const Rt=a()(S(S({},_t),{},{clearTimeout:clearTimeout,setTimeout:setTimeout,isPrimaryRenderer:!0,noTimeout:-1,supportsMutation:!0,supportsHydration:!1,supportsPersistence:!1,now:Date.now,scheduleDeferredCallback:()=>{},cancelDeferredCallback:()=>{}})),{createContainer:At,updateContainer:Lt,getPublicRootInstance:Ot}=Rt;class zt{constructor(e){if(!e.appName||!e.entryPage)throw new TypeError("Invalid arguments");this.config=e,this.regist=this.start,this.render=this.render.bind(this);const t=new Et;this.rootContainer=At(t,!1,!1)}static get Native(){return ct}start(){ut.regist(this.config.appName,this.render)}render(e){const{appName:t,entryPage:n,silent:r=!1,bubbles:o=!1,callback:a=(()=>{})}=this.config,{__instanceId__:l}=e;this.rootContainer.containerInfo.nodeId=l,r&&q(r),o&&function(e=!1){W=e}(o),j(l,this.rootContainer);const s=i.a.createElement(n,e);return Lt(s,this.rootContainer,null,a),Ot(this.rootContainer)}}zt.version="2.10.3";const Tt={registerComponent(e,t){new zt({appName:e,entryPage:t}).start()}};class jt extends i.a.Component{render(){const e=this.props,{collapsable:t,style:n={}}=e,r=E(e,s),o=n;return"boolean"==typeof t&&(o.collapsable=t),i.a.createElement("div",Object.assign({nativeName:"View",style:o},r))}}function Ft(e,t){let{style:n}=e,r=E(e,u);const o=n;if(n&&(Array.isArray(n)?-1===n.filter(e=>"object"==typeof e&&e).findIndex(e=>e.color||e.colors)&&(o[0].color="#000"):"object"==typeof n&&void 0===n.color&&void 0===n.colors&&(o.color="#000")),r.text="","string"==typeof r.children)r.text=B(r.children);else if("number"==typeof r.children)r.text=B(r.children.toString());else if(Array.isArray(r.children)){const e=r.children.filter(e=>"string"==typeof e||"number"==typeof e).join("");e&&(r.text=B(e),r.children=r.text)}return i.a.createElement("p",Object.assign({ref:t,nativeName:"Text",style:o},r))}Ft.displayName="Text";const Mt=i.a.forwardRef(Ft);Mt.displayName="Text";class Ht extends i.a.Component{static get resizeMode(){return{contain:"contain",cover:"cover",stretch:"stretch",center:"center",repeat:"repeat"}}static getSize(e,t,n){if("string"!=typeof e)throw new TypeError("Image.getSize first argument must be a string url");const r=ie(e);return"function"==typeof t&&r.then(e=>t(e.width,e.height)),"function"==typeof n?r.catch(n):r.catch(e=>{}),r}getImageUrls({src:e,srcs:t,source:n,sources:r}){let i=[];if("string"==typeof e&&i.push(e),Array.isArray(t)&&(i=[...i,...t]),n)if("string"==typeof n)i.push(n);else if("object"==typeof n&&null!==n){const{uri:e}=n;e&&i.push(e)}return r&&Array.isArray(r)&&r.forEach(e=>{"string"==typeof e?i.push(e):"object"==typeof e&&null!==e&&e.uri&&i.push(e.uri)}),i.length&&(i=i.map(e=>Q(e))),i}handleTintColor(e,t,n){t&&(e.tintColor=St(t)),Array.isArray(n)&&(e.tintColors=kt(n))}render(){const e=this.props,{children:t,style:n,imageStyle:r,imageRef:o,source:a,sources:l,src:s,srcs:u,tintColor:d,tintColors:f}=e,p=E(e,c),h=this.getImageUrls({src:s,srcs:u,source:a,sources:l});"ios"===st.platform.OS?h.length&&(p.source=h.map(e=>({uri:e}))):"android"===st.platform.OS&&(1===h.length?[p.src]=h:h.length>1&&(p.srcs=h)),"string"==typeof p.defaultSource&&(p.defaultSource.indexOf("data:image/"),p.defaultSource=Q(p.defaultSource));const m=S({},n);return this.handleTintColor(m,d,f),p.style=m,t?i.a.createElement(jt,{style:n},i.a.createElement("img",Object.assign({},p,{nativeName:"Image",alt:"",ref:o,style:[{position:"absolute",left:0,right:0,top:0,bottom:0,width:n.width,height:n.height},r]})),t):i.a.createElement("img",Object.assign({},p,{nativeName:"Image",alt:"",ref:o}))}}Ht.prefetch=oe;class Ut{constructor(){this.Value=Ut.Value}static Value(e){return e}static timing(e,t){return new me({mode:"timing",delay:0,startValue:e,toValue:t.toValue,duration:t.duration,timingFunction:t.easing||"linear"})}}Ut.View=jt,Ut.Text=Mt,Ut.Image=Ht;const Dt={step0:e=>e>0?1:0,step1:e=>e>=1?1:0,linear:()=>"linear",ease:()=>"ease",quad:e=>e**2,cubic:e=>e**3,poly:e=>t=>t**e,sin:e=>1-Math.cos(e*Math.PI/2),circle:e=>1-Math.sqrt(1-e*e),exp:e=>2**(10*(e-1)),elastic:()=>"elastic",back:(e=1.70158)=>t=>t*t*((e+1)*t-e),bounce(e){let t=e;return t<1/2.75?7.5625*t*t:t<2/2.75?(t-=1.5/2.75,7.5625*t*t+.75):t<2.5/2.75?(t-=2.25/2.75,7.5625*t*t+.9375):(t-=2.625/2.75,7.5625*t*t+.984375)},bezier:()=>"bezier",in:()=>"ease-in",out:()=>"ease-out",inOut:()=>"ease-in-out"};function Wt(e){return i.a.createElement("li",Object.assign({nativeName:"ListViewItem"},e))}class Bt extends i.a.Component{constructor(){super(...arguments),this.instance=null}expandPullHeader(){Ye(this.instance,"expandPullHeader",[])}collapsePullHeader(e){"android"===st.platform.OS?Ye(this.instance,"collapsePullHeader",[e]):void 0!==e?Ye(this.instance,"collapsePullHeaderWithOptions",[e]):Ye(this.instance,"collapsePullHeader",[])}render(){const e=this.props,{children:t}=e,n=E(e,d);return i.a.createElement("div",Object.assign({nativeName:"PullHeaderView",ref:e=>{this.instance=e}},n),t)}}class Vt extends i.a.Component{constructor(){super(...arguments),this.instance=null}expandPullFooter(){Ye(this.instance,"expandPullFooter",[])}collapsePullFooter(){Ye(this.instance,"collapsePullFooter",[])}render(){const e=this.props,{children:t}=e,n=E(e,f);return i.a.createElement("div",Object.assign({nativeName:"PullFooterView",ref:e=>{this.instance=e}},n),t)}}Vt.defaultProps={sticky:!0};const $t={onDisappear:"onDisAppear"},qt={onDisappear:"onDisappear"};class Qt extends i.a.Component{constructor(e){super(e),this.instance=null,this.pullHeader=null,this.pullFooter=null,this.handleInitialListReady=this.handleInitialListReady.bind(this),this.state={initialListReady:!1}}componentDidMount(){const{getRowKey:e}=this.props}convertName(e){let t=e;return t.indexOf("bound")>=0&&(t=t.substring("bound".length+1)),"android"===st.platform.OS&&$t[t]?$t[t]:"ios"===st.platform.OS&&qt[t]?qt[t]:t}scrollToIndex(e,t,n){"number"==typeof e&&"number"==typeof t&&"boolean"==typeof n&&Ye(this.instance,"scrollToIndex",[e,t,n])}scrollToContentOffset(e,t,n){"number"==typeof e&&"number"==typeof t&&"boolean"==typeof n&&Ye(this.instance,"scrollToContentOffset",[e,t,n])}expandPullHeader(){this.pullHeader&&this.pullHeader.expandPullHeader()}collapsePullHeader(e){this.pullHeader&&this.pullHeader.collapsePullHeader(e)}expandPullFooter(){this.pullFooter&&this.pullFooter.expandPullFooter()}collapsePullFooter(){this.pullFooter&&this.pullFooter.collapsePullFooter()}handleInitialListReady(){this.setState({initialListReady:!0})}getPullHeader(e,t,n){let r=null;return"function"==typeof e&&(r=i.a.createElement(Bt,{ref:e=>{this.pullHeader=e},onHeaderPulling:t,onHeaderReleased:n},e())),r}getPullFooter(e,t,n){let r=null;return"function"==typeof e&&(r=i.a.createElement(Vt,{ref:e=>{this.pullFooter=e},onFooterPulling:t,onFooterReleased:n},e())),r}handleRowProps(e,t,{getRowKey:n,getRowStyle:r,onRowLayout:i,getRowType:o,rowShouldSticky:a}){if("function"==typeof n&&(e.key=n(t)),"function"==typeof r&&(e.style=r(t)),"function"==typeof i&&(e.onLayout=e=>{i(e,t)}),"function"==typeof o){const n=o(t);Number.isInteger(n),e.type=n}"function"==typeof a&&(e.sticky=a(t))}render(){const e=this.props,{children:t,style:n,renderRow:r,renderPullHeader:o,renderPullFooter:a,getRowType:l,getRowStyle:s,getRowKey:u,dataSource:c,initialListSize:d,rowShouldSticky:f,onRowLayout:h,onHeaderPulling:m,onHeaderReleased:g,onFooterPulling:y,onFooterReleased:b,onAppear:v,onDisappear:w,onWillAppear:k,onWillDisappear:x}=e,C=E(e,p),N=[];if("function"==typeof r){const{initialListReady:e}=this.state;let{numberOfRows:t}=this.props;const p=this.getPullHeader(o,m,g),E=this.getPullFooter(a,y,b);!t&&c&&(t=c.length),e||(t=Math.min(t,d||10));for(let e=0;e<t;e+=1){const t={};let n;n=c?r(c[e],null,e):r(e),this.handleRowProps(t,e,{getRowKey:u,getRowStyle:s,getRowType:l,onRowLayout:h,rowShouldSticky:f}),[v,w,k,x].forEach(n=>{"function"==typeof n&&(t[this.convertName(n.name)]=()=>{n(e)})}),n&&N.push(i.a.createElement(Wt,Object.assign({},t),n))}p&&N.unshift(p),E&&N.push(E),"function"==typeof f&&Object.assign(C,{rowShouldSticky:!0});const I=[v,w,k,x];C.exposureEventEnabled=I.some(e=>"function"==typeof e),C.numberOfRows=N.length,C.initialListSize=d,C.style=S({overflow:"scroll"},n)}return!C.onLoadMore&&C.onEndReached&&(C.onLoadMore=C.onEndReached),i.a.createElement("ul",Object.assign({ref:e=>{this.instance=e},nativeName:"ListView",initialListReady:this.handleInitialListReady},C),N.length?N:t)}}Qt.defaultProps={numberOfRows:0};class Kt extends i.a.Component{constructor(e){super(e),this.instance=null,this.refreshComplected=this.refreshCompleted.bind(this)}getRefresh(){const{getRefresh:e}=this.props;return"function"==typeof e&&e()||null}startRefresh(){Ye(this.instance,"startRefresh",null)}refreshCompleted(){Ye(this.instance,"refreshComplected",null)}render(){const e=this.props,{children:t}=e,n=E(e,h);return i.a.createElement("div",Object.assign({nativeName:"RefreshWrapper",ref:e=>{this.instance=e}},n),i.a.createElement("div",{nativeName:"RefreshWrapperItemView",style:{left:0,right:0,position:"absolute"}},this.getRefresh()),t)}}class Gt{constructor(){this.top=null,this.size=0}push(e){this.top={data:e,next:this.top},this.size+=1}peek(){return null===this.top?null:this.top.data}pop(){if(null===this.top)return null;const e=this.top;return this.top=this.top.next,this.size>0&&(this.size-=1),e.data}clear(){this.top=null,this.size=0}displayAll(){const e=[];if(null===this.top)return e;let t=this.top;for(let n=0,r=this.size;n<r;n+=1)e[n]=t.data,t=t.next;return e}}class Yt extends i.a.Component{constructor(e){super(e),this.stack=new Gt,this.instance=null,this.routeList={};const{initialRoute:t}=e;if(t&&t.component){new zt({appName:t.routeName,entryPage:t.component}).regist(),this.routeList[t.routeName]=!0}this.handleAndroidBack=this.handleAndroidBack.bind(this)}componentWillMount(){"android"===st.platform.OS&&(this.backListener=nt.addListener(this.handleAndroidBack))}componentDidMount(){const{initialRoute:e}=this.props;this.stack.push({routeName:e.routeName||"",component:e.component||"",initProps:e.initProps||""})}componentWillUnmount(){this.backListener&&this.backListener.remove()}getCurrentPage(){return this.stack.peek()}handleAndroidBack(){this.stack.size>1&&this.pop({animated:!0})}push(e){if(e&&e.component){if(!this.routeList[e.routeName]){new zt({appName:e.routeName,entryPage:e.component}).regist(),this.routeList[e.routeName]=!0}delete e.component}const t=[e];this.stack.push(e),Ye(this.instance,"push",t)}pop(e){if(this.stack.size>1){const t=[e];this.stack.pop(),Ye(this.instance,"pop",t)}}clear(){this.stack.clear()}render(){const e=this.props,{initialRoute:{component:t}}=e,n=E(e.initialRoute,g),r=E(e,m);return r.initialRoute=n,i.a.createElement("div",Object.assign({nativeName:"Navigator",ref:e=>{this.instance=e}},r))}}function Xt(e){return i.a.createElement("div",Object.assign({nativeName:"ViewPagerItem"},e,{style:{position:"absolute",left:0,top:0,right:0,bottom:0,collapsable:!1}}))}class Jt extends i.a.Component{constructor(e){super(e),this.instance=null,this.setPage=this.setPage.bind(this),this.setPageWithoutAnimation=this.setPageWithoutAnimation.bind(this),this.onPageScrollStateChanged=this.onPageScrollStateChanged.bind(this)}onPageScrollStateChanged(e){const{onPageScrollStateChanged:t}=this.props;t&&t(e.pageScrollState)}setPage(e){"number"==typeof e&&Ye(this.instance,"setPage",[e])}setPageWithoutAnimation(e){"number"==typeof e&&Ye(this.instance,"setPageWithoutAnimation",[e])}render(){const e=this.props,{children:t,onPageScrollStateChanged:n}=e,r=E(e,y);let o=[];return Array.isArray(t)?o=t.map(e=>{const t={};return"string"==typeof e.key&&(t.key="viewPager_"+e.key),i.a.createElement(Xt,Object.assign({},t),e)}):o.push(i.a.createElement(Xt,null,t)),"function"==typeof n&&(r.onPageScrollStateChanged=this.onPageScrollStateChanged),i.a.createElement("div",Object.assign({nativeName:"ViewPager",ref:e=>{this.instance=e}},r),o)}}function Zt(){const e=I.platform.Localization;return!!e&&1===e.direction}class en extends i.a.Component{constructor(e){super(e),this.instance=null,this._lastNativeText="",this._onChangeText=this._onChangeText.bind(this),this._onKeyboardWillShow=this._onKeyboardWillShow.bind(this)}componentDidMount(){const{value:e,autoFocus:t}=this.props;this._lastNativeText=e,t&&this.focus()}componentWillUnmount(){this.blur()}getValue(){return new Promise(e=>{Ye(this.instance,"getValue",t=>e(t.text))})}setValue(e){return Ye(this.instance,"setValue",[e]),e}focus(){Ye(this.instance,"focusTextInput",[])}blur(){Ye(this.instance,"blurTextInput",[])}showInputMethod(){Ye(this.instance,"showInputMethod",[])}hideInputMethod(){Ye(this.instance,"hideInputMethod",[])}clear(){Ye(this.instance,"clear",[])}_onChangeText(e){const{onChangeText:t}=this.props;"function"==typeof t&&t(e.text),this.instance&&(this._lastNativeText=e.text)}_onKeyboardWillShow(e){const{onKeyboardWillShow:t}=this.props,n=e;"android"===st.platform.OS&&(n.keyboardHeight/=st.screen.scale),"function"==typeof t&&t(n)}render(){const e=S({},this.props);return["underlineColorAndroid","placeholderTextColor","placeholderTextColors"].forEach(t=>{"string"==typeof this.props[t]&&(Array.isArray(e.style)?e.style.push({[t]:this.props[t]}):e.style&&"object"==typeof e.style?e.style[t]=this.props[t]:e.style={[t]:this.props[t]},e[t]=void 0)}),Zt()&&(e.style?"object"!=typeof e.style||Array.isArray(e.style)||e.style.textAlign||(e.style.textAlign="right"):e.style={textAlign:"right"}),i.a.createElement("div",Object.assign({nativeName:"TextInput"},e,{ref:e=>{this.instance=e},onChangeText:this._onChangeText,onKeyboardWillShow:this._onKeyboardWillShow}))}}const tn=st.window.scale;let nn=Math.round(.4*tn)/tn;function rn(e){return e}0===nn&&(nn=1/tn);var on=Object.freeze({__proto__:null,get hairlineWidth(){return nn},create:rn});const an={baseVertical:{flexGrow:1,flexShrink:1,flexDirection:"column",overflow:"scroll"},baseHorizontal:{flexGrow:1,flexShrink:1,flexDirection:"row",overflow:"scroll"},contentContainerVertical:{collapsable:!1,flexDirection:"column"},contentContainerHorizontal:{collapsable:!1,flexDirection:"row"}};class ln extends i.a.Component{constructor(){super(...arguments),this.instance=null}scrollTo(e,t,n=!0){let r=e,i=t,o=n;"number"==typeof e||"object"==typeof e&&e&&({x:r,y:i,animated:o}=e),r=r||0,i=i||0,o=!!o,Ye(this.instance,"scrollTo",[r,i,o])}scrollToWithDuration(e=0,t=0,n=1e3){Ye(this.instance,"scrollToWithOptions",[{x:e,y:t,duration:n}])}render(){const{horizontal:e,contentContainerStyle:t,children:n,style:r}=this.props,o=[e?an.contentContainerHorizontal:an.contentContainerVertical,t],a=e?Object.assign({},an.baseHorizontal,r):Object.assign({},an.baseVertical,r);return e&&(a.flexDirection=Zt()?"row-reverse":"row"),i.a.createElement("div",Object.assign({nativeName:"ScrollView",ref:e=>{this.instance=e}},this.props,{style:a}),i.a.createElement(jt,{style:o},n))}}const sn={modal:{position:"absolute"},container:{position:"absolute",left:0,top:0}};class un extends i.a.Component{constructor(e){super(e),this.eventSubscription=null}componentDidMount(){"ios"===st.platform.OS&&(this.eventSubscription=new Z("modalDismissed"),this.eventSubscription.addCallback(e=>{const{primaryKey:t,onDismiss:n}=this.props;e.primaryKey===t&&"function"==typeof n&&n()}))}componentWillUnmount(){"ios"===st.platform.OS&&this.eventSubscription&&this.eventSubscription.unregister()}render(){const{children:e,visible:t,transparent:n,animated:r}=this.props;let{animationType:o}=this.props;if(!1===t)return null;const a={backgroundColor:n?"transparent":"white"};return o||(o="none",r&&(o="slide")),i.a.createElement("div",Object.assign({nativeName:"Modal",animationType:o,transparent:n,style:sn.modal},this.props),i.a.createElement(jt,{style:[sn.container,a]},e))}}un.defaultProps={visible:!0};class cn extends i.a.Component{constructor(e){super(e);const{requestFocus:t}=this.props;this.state={isFocus:!!t},this.handleFocus=this.handleFocus.bind(this)}handleFocus(e){const{onFocus:t}=this.props;"function"==typeof t&&t(e);const{isFocus:n}=this.state;n!==e.focus&&this.setState({isFocus:e.focus})}render(){const{requestFocus:e,children:t,nextFocusDownId:n,nextFocusUpId:r,nextFocusLeftId:o,nextFocusRightId:a,style:l,noFocusStyle:s,focusStyle:u,onClick:c}=this.props,{isFocus:d}=this.state,f=i.a.Children.only(t);let p;f&&f.child&&f.child.memoizedProps&&f.child.memoizedProps.nativeName?p=f.child.memoizedProps.nativeName:f&&f.type&&f.type.displayName&&(p=f.type.displayName);const h=n&&Ge(n),m=r&&Ge(r),g=o&&Ge(o),y=a&&Ge(a);let b=l;if("Text"!==p){const e=f.memoizedProps.style;b=S(S({},b),e)}if(Object.assign(b,d?u:s),"Text"===p)return i.a.createElement(jt,{focusable:!0,nextFocusDownId:h,nextFocusUpId:m,nextFocusLeftId:g,nextFocusRightId:y,requestFocus:e,style:b,onClick:c,onFocus:this.handleFocus},f);const{children:v}=f.memoizedProps;return i.a.cloneElement(f,{nextFocusDownId:n,nextFocusUpId:r,nextFocusLeftId:o,nextFocusRightId:a,requestFocus:e,onClick:c,focusable:!0,children:v,style:b,onFocus:this.handleFocus})}}function dn(e){return i.a.createElement("iframe",Object.assign({title:"hippy",nativeName:"WebView"},e))}let fn;class pn{constructor(e,t,n){if(this.protocol="",this.onWebSocketEvent=this.onWebSocketEvent.bind(this),fn||(fn=new Z("hippyWebsocketEvents")),this.readyState=0,this.webSocketCallbacks={},!e||"string"!=typeof e)throw new TypeError("Invalid WebSocket url");const r=S({},n);if(void 0!==t)if(Array.isArray(t)&&t.length>0)r["Sec-WebSocket-Protocol"]=t.join(",");else{if("string"!=typeof t)throw new TypeError("Invalid WebSocket protocols");r["Sec-WebSocket-Protocol"]=t}const i={headers:r,url:e};this.url=e,this.webSocketCallbackId=fn.addCallback(this.onWebSocketEvent),N.callNativeWithPromise("websocket","connect",i).then(e=>{e&&0===e.code&&"number"==typeof e.id&&(this.webSocketId=e.id)})}close(e,t){1===this.readyState&&(this.readyState=2,N.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}send(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: "+typeof e);N.callNative("websocket","send",{id:this.webSocketId,data:e})}}set onopen(e){this.webSocketCallbacks.onOpen=e}set onclose(e){this.webSocketCallbacks.onClose=e}set onerror(e){this.webSocketCallbacks.onError=e}set onmessage(e){this.webSocketCallbacks.onMessage=e}onWebSocketEvent(e){if("object"!=typeof e||e.id!==this.webSocketId)return;const{type:t}=e;"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,fn.removeCallback(this.webSocketCallbackId));const n=this.webSocketCallbacks[t];"function"==typeof n&&n(e.data)}}class hn extends i.a.Component{render(){const e=this.props,{collapsable:t,style:n={}}=e,r=E(e,b),o=n;return"boolean"==typeof t&&(o.collapsable=t),i.a.createElement("div",Object.assign({nativeName:"View",style:o},r))}}function mn(e){return i.a.createElement("li",Object.assign({nativeName:"WaterfallItem"},e))}class gn extends i.a.Component{constructor(e){super(e),this.instance=null,this.pullHeader=null,this.pullFooter=null,this.handleInitialListReady=this.handleInitialListReady.bind(this)}componentDidMount(){const{getItemKey:e}=this.props}scrollToIndex({index:e=0,animated:t=!0}){Ye(this.instance,"scrollToIndex",[e,e,t])}scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){Ye(this.instance,"scrollToContentOffset",[e,t,n])}handleRowProps(e,t,{getItemKey:n,getItemStyle:r,onItemLayout:i,getItemType:o}){if("function"==typeof n&&(e.key=n(t)),"function"==typeof r&&(e.style=r(t)),"function"==typeof i&&(e.onLayout=e=>{i(e,t)}),"function"==typeof o){const n=o(t);Number.isInteger(n),e.type=n}}expandPullHeader(){this.pullHeader&&this.pullHeader.expandPullHeader()}collapsePullHeader(e){this.pullHeader&&this.pullHeader.collapsePullHeader(e)}expandPullFooter(){this.pullFooter&&this.pullFooter.expandPullFooter()}collapsePullFooter(){this.pullFooter&&this.pullFooter.collapsePullFooter()}getPullHeader(e,t,n){let r=null;return"function"==typeof e&&(r=i.a.createElement(Bt,{key:"PullHeader",ref:e=>{this.pullHeader=e},onHeaderPulling:t,onHeaderReleased:n},e())),r}getPullFooter(e,t,n){let r=null;return"function"==typeof e&&(r=i.a.createElement(Vt,{key:"PullFooter",ref:e=>{this.pullFooter=e},onFooterPulling:t,onFooterReleased:n},e())),r}handleInitialListReady(){const{onInitialListReady:e}=this.props;"function"==typeof e&&e()}render(){const e=this.props,{style:t={},renderBanner:n,numberOfColumns:r=2,columnSpacing:o=0,interItemSpacing:a=0,numberOfItems:l=0,preloadItemNumber:s=0,renderItem:u,renderPullHeader:c,renderPullFooter:d,getItemType:f,getItemKey:p,getItemStyle:h,contentInset:m={top:0,left:0,bottom:0,right:0},onItemLayout:g,onHeaderPulling:y,onHeaderReleased:b,onFooterPulling:w,onFooterReleased:k,containPullHeader:x=!1,containPullFooter:C=!1,containBannerView:N=!1}=e,I=S(S({},E(e,v)),{},{style:t,numberOfColumns:r,columnSpacing:o,interItemSpacing:a,preloadItemNumber:s,contentInset:m,containPullHeader:x,containPullFooter:C,containBannerView:N}),P=[];if("function"==typeof n){const e=n();e&&(P.push(i.a.createElement(hn,{key:"bannerView"},i.a.cloneElement(e))),I.containBannerView=!0)}if("function"==typeof u){const e=this.getPullHeader(c,y,b),n=this.getPullFooter(d,w,k);for(let e=0;e<l;e+=1){const t={},n=u(e)||null;this.handleRowProps(t,e,{getItemKey:p,getItemStyle:h,getItemType:f,onItemLayout:g}),n&&P.push(i.a.createElement(mn,Object.assign({},t),n))}e&&(P.unshift(e),I.containPullHeader=!0),n&&(P.push(n),I.containPullFooter=!0),I.style=S({},t)}return i.a.createElement("ul",Object.assign({nativeName:"WaterfallView",ref:e=>this.instance=e,initialListReady:this.handleInitialListReady.bind(this)},I),P)}}e.WebSocket=pn;const{AsyncStorage:yn,BackAndroid:bn,Bridge:vn,Clipboard:wn,Cookie:Sn,Device:kn,HippyRegister:En,ImageLoader:xn,NetworkInfo:Cn,UIManager:Nn}=ct,{callNative:In,callNativeWithPromise:Pn,callNativeWithCallbackId:_n,removeNativeCallback:Rn}=vn,An=null,Ln=e.ConsoleModule||e.console,On=kn.platform,zn=zt,Tn=zt,jn=Ht,Fn=En,Mn=te,Hn=Z,Un={get:e=>kn[e]},Dn={get:()=>kn.screen.scale};t.default=zt}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/object-assign/index.js":function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,s=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(s[c]=n[c]);if(r){l=r(n);for(var d=0;d<l.length;d++)o.call(n,l[d])&&(s[l[d]]=n[l[d]])}}return s}},"./node_modules/react-reconciler/cjs/react-reconciler.production.min.js":function(e,t,n){(function(e){
/** @license React v0.26.2
* react-reconciler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
e.exports=function(t){var r={},i=n("./node_modules/object-assign/index.js"),o=n("./node_modules/react/index.js"),a=n("./node_modules/scheduler/index.js");function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=60103,c=60106,d=60107,f=60108,p=60114,h=60109,m=60110,g=60112,y=60113,b=60120,v=60115,w=60116,S=60121,k=60129,E=60130,x=60131;if("function"==typeof Symbol&&Symbol.for){var C=Symbol.for;u=C("react.element"),c=C("react.portal"),d=C("react.fragment"),f=C("react.strict_mode"),p=C("react.profiler"),h=C("react.provider"),m=C("react.context"),g=C("react.forward_ref"),y=C("react.suspense"),b=C("react.suspense_list"),v=C("react.memo"),w=C("react.lazy"),S=C("react.block"),C("react.scope"),k=C("react.debug_trace_mode"),E=C("react.offscreen"),x=C("react.legacy_hidden")}var N="function"==typeof Symbol&&Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}function P(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case d:return"Fragment";case c:return"Portal";case p:return"Profiler";case f:return"StrictMode";case y:return"Suspense";case b:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case m:return(e.displayName||"Context")+".Consumer";case h:return(e._context.displayName||"Context")+".Provider";case g:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case v:return P(e.type);case S:return P(e._render);case w:t=e._payload,e=e._init;try{return P(e(t))}catch(e){}}return null}function _(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function R(e){if(_(e)!==e)throw Error(l(188))}function A(e){var t=e.alternate;if(!t){if(null===(t=_(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return R(i),e;if(o===r)return R(i),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}function L(e){if(!(e=A(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function O(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var z,T=t.getPublicInstance,j=t.getRootHostContext,F=t.getChildHostContext,M=t.prepareForCommit,H=t.resetAfterCommit,U=t.createInstance,D=t.appendInitialChild,W=t.finalizeInitialChildren,B=t.prepareUpdate,V=t.shouldSetTextContent,$=t.createTextInstance,q=t.scheduleTimeout,Q=t.cancelTimeout,K=t.noTimeout,G=t.isPrimaryRenderer,Y=t.supportsMutation,X=t.supportsPersistence,J=t.supportsHydration,Z=t.getInstanceFromNode,ee=t.makeOpaqueHydratingObject,te=t.makeClientId,ne=t.beforeActiveInstanceBlur,re=t.afterActiveInstanceBlur,ie=t.preparePortalMount,oe=t.supportsTestSelectors,ae=t.findFiberRoot,le=t.getBoundingRect,se=t.getTextContent,ue=t.isHiddenSubtree,ce=t.matchAccessibilityRole,de=t.setFocusIfFocusable,fe=t.setupIntersectionObserver,pe=t.appendChild,he=t.appendChildToContainer,me=t.commitTextUpdate,ge=t.commitMount,ye=t.commitUpdate,be=t.insertBefore,ve=t.insertInContainerBefore,we=t.removeChild,Se=t.removeChildFromContainer,ke=t.resetTextContent,Ee=t.hideInstance,xe=t.hideTextInstance,Ce=t.unhideInstance,Ne=t.unhideTextInstance,Ie=t.clearContainer,Pe=t.cloneInstance,_e=t.createContainerChildSet,Re=t.appendChildToContainerChildSet,Ae=t.finalizeContainerChildren,Le=t.replaceContainerChildren,Oe=t.cloneHiddenInstance,ze=t.cloneHiddenTextInstance,Te=t.canHydrateInstance,je=t.canHydrateTextInstance,Fe=t.isSuspenseInstancePending,Me=t.isSuspenseInstanceFallback,He=t.getNextHydratableSibling,Ue=t.getFirstHydratableChild,De=t.hydrateInstance,We=t.hydrateTextInstance,Be=t.getNextHydratableInstanceAfterSuspenseInstance,Ve=t.commitHydratedContainer,$e=t.commitHydratedSuspenseInstance;function qe(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var Qe=!1;function Ke(e,t){if(!e||Qe)return"";Qe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(1!==a||1!==l)do{if(a--,0>--l||i[a]!==o[l])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Qe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?qe(e):""}var Ge=[],Ye=-1;function Xe(e){return{current:e}}function Je(e){0>Ye||(e.current=Ge[Ye],Ge[Ye]=null,Ye--)}function Ze(e,t){Ye++,Ge[Ye]=e.current,e.current=t}var et={},tt=Xe(et),nt=Xe(!1),rt=et;function it(e,t){var n=e.type.contextTypes;if(!n)return et;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ot(e){return null!=(e=e.childContextTypes)}function at(){Je(nt),Je(tt)}function lt(e,t,n){if(tt.current!==et)throw Error(l(168));Ze(tt,t),Ze(nt,n)}function st(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(l(108,P(t)||"Unknown",o));return i({},n,r)}function ut(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||et,rt=tt.current,Ze(tt,e),Ze(nt,nt.current),!0}function ct(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=st(e,t,rt),r.__reactInternalMemoizedMergedChildContext=e,Je(nt),Je(tt),Ze(tt,e)):Je(nt),Ze(nt,n)}var dt=null,ft=null;(0,a.unstable_now)();var pt=0,ht=8;function mt(e){if(0!=(1&e))return ht=15,1;if(0!=(2&e))return ht=14,2;if(0!=(4&e))return ht=13,4;var t=24&e;return 0!==t?(ht=12,t):0!=(32&e)?(ht=11,32):0!==(t=192&e)?(ht=10,t):0!=(256&e)?(ht=9,256):0!==(t=3584&e)?(ht=8,t):0!=(4096&e)?(ht=7,4096):0!==(t=4186112&e)?(ht=6,t):0!==(t=62914560&e)?(ht=5,t):67108864&e?(ht=4,67108864):0!=(134217728&e)?(ht=3,134217728):0!==(t=805306368&e)?(ht=2,t):0!=(1073741824&e)?(ht=1,1073741824):(ht=8,e)}function gt(e,t){var n=e.pendingLanes;if(0===n)return ht=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==o)r=o,i=ht=15;else if(0!==(o=134217727&n)){var s=o&~a;0!==s?(r=mt(s),i=ht):0!==(l&=o)&&(r=mt(l),i=ht)}else 0!==(o=n&~a)?(r=mt(o),i=ht):0!==l&&(r=mt(l),i=ht);if(0===r)return 0;if(r=n&((0>(r=31-kt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(mt(t),i<=ht)return t;ht=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-kt(t)),r|=e[n],t&=~i;return r}function yt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=vt(24&~t))?bt(10,t):e;case 10:return 0===(e=vt(192&~t))?bt(8,t):e;case 8:return 0===(e=vt(3584&~t))&&(0===(e=vt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=vt(805306368&~t))&&(t=268435456),t}throw Error(l(358,e))}function vt(e){return e&-e}function wt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function St(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-kt(t)]=n}var kt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Et(e)/xt|0)|0},Et=Math.log,xt=Math.LN2;var Ct=a.unstable_runWithPriority,Nt=a.unstable_scheduleCallback,It=a.unstable_cancelCallback,Pt=a.unstable_shouldYield,_t=a.unstable_requestPaint,Rt=a.unstable_now,At=a.unstable_getCurrentPriorityLevel,Lt=a.unstable_ImmediatePriority,Ot=a.unstable_UserBlockingPriority,zt=a.unstable_NormalPriority,Tt=a.unstable_LowPriority,jt=a.unstable_IdlePriority,Ft={},Mt=void 0!==_t?_t:function(){},Ht=null,Ut=null,Dt=!1,Wt=Rt(),Bt=1e4>Wt?Rt:function(){return Rt()-Wt};function Vt(){switch(At()){case Lt:return 99;case Ot:return 98;case zt:return 97;case Tt:return 96;case jt:return 95;default:throw Error(l(332))}}function $t(e){switch(e){case 99:return Lt;case 98:return Ot;case 97:return zt;case 96:return Tt;case 95:return jt;default:throw Error(l(332))}}function qt(e,t){return e=$t(e),Ct(e,t)}function Qt(e,t,n){return e=$t(e),Nt(e,t,n)}function Kt(){if(null!==Ut){var e=Ut;Ut=null,It(e)}Gt()}function Gt(){if(!Dt&&null!==Ht){Dt=!0;var e=0;try{var t=Ht;qt(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ht=null}catch(t){throw null!==Ht&&(Ht=Ht.slice(e+1)),Nt(Lt,Kt),t}finally{Dt=!1}}}var Yt=s.ReactCurrentBatchConfig;var Xt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Jt=Object.prototype.hasOwnProperty;function Zt(e,t){if(Xt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Jt.call(t,n[r])||!Xt(e[n[r]],t[n[r]]))return!1;return!0}function en(e){switch(e.tag){case 5:return qe(e.type);case 16:return qe("Lazy");case 13:return qe("Suspense");case 19:return qe("SuspenseList");case 0:case 2:case 15:return e=Ke(e.type,!1);case 11:return e=Ke(e.type.render,!1);case 22:return e=Ke(e.type._render,!1);case 1:return e=Ke(e.type,!0);default:return""}}function tn(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var nn=Xe(null),rn=null,on=null,an=null;function ln(){an=on=rn=null}function sn(e,t){e=e.type._context,G?(Ze(nn,e._currentValue),e._currentValue=t):(Ze(nn,e._currentValue2),e._currentValue2=t)}function un(e){var t=nn.current;Je(nn),e=e.type._context,G?e._currentValue=t:e._currentValue2=t}function cn(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function dn(e,t){rn=e,an=on=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Wr=!0),e.firstContext=null)}function fn(e,t){if(an!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(an=e,t=1073741823),t={context:e,observedBits:t,next:null},null===on){if(null===rn)throw Error(l(308));on=t,rn.dependencies={lanes:0,firstContext:t,responders:null}}else on=on.next=t;return G?e._currentValue:e._currentValue2}var pn=!1;function hn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function mn(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function yn(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function bn(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vn(e,t,n,r){var o=e.updateQueue;pn=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var u=s,c=u.next;u.next=null,null===l?a=c:l.next=c,l=u;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==l&&(null===f?d.firstBaseUpdate=c:f.next=c,d.lastBaseUpdate=u)}}if(null!==a){for(f=o.baseState,l=0,d=c=u=null;;){s=a.lane;var p=a.eventTime;if((r&s)===s){null!==d&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(s=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,s);break e}f=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(s="function"==typeof(h=m.payload)?h.call(p,f,s):h))break e;f=i({},f,s);break e;case 2:pn=!0}}null!==a.callback&&(e.flags|=32,null===(s=o.effects)?o.effects=[a]:s.push(a))}else p={eventTime:p,lane:s,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(c=d=p,u=f):d=d.next=p,l|=s;if(null===(a=a.next)){if(null===(s=o.shared.pending))break;a=s.next,s.next=null,o.lastBaseUpdate=s,o.shared.pending=null}}null===d&&(u=f),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=d,uo|=l,e.lanes=l,e.memoizedState=f}}function wn(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(l(191,i));i.call(r)}}}var Sn=(new o.Component).refs;function kn(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var En={isMounted:function(e){return!!(e=e._reactInternals)&&_(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=To(),i=jo(e),o=gn(r,i);o.payload=t,null!=n&&(o.callback=n),yn(e,o),Fo(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=To(),i=jo(e),o=gn(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),yn(e,o),Fo(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=To(),r=jo(e),i=gn(n,r);i.tag=2,null!=t&&(i.callback=t),yn(e,i),Fo(e,r,n)}};function xn(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Zt(n,r)||!Zt(i,o))}function Cn(e,t,n){var r=!1,i=et,o=t.contextType;return"object"==typeof o&&null!==o?o=fn(o):(i=ot(t)?rt:tt.current,o=(r=null!=(r=t.contextTypes))?it(e,i):et),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=En,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Nn(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&En.enqueueReplaceState(t,t.state,null)}function In(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Sn,hn(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=fn(o):(o=ot(t)?rt:tt.current,i.context=it(e,o)),vn(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(kn(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&En.enqueueReplaceState(i,i.state,null),vn(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var Pn=Array.isArray;function _n(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(l(309));var r=n.stateNode}if(!r)throw Error(l(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===Sn&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(l(284));if(!n._owner)throw Error(l(290,e))}return e}function Rn(e,t){if("textarea"!==e.type)throw Error(l(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function An(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=ka(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Na(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=_n(e,t,n),r.return=e,r):((r=Ea(n.type,n.key,n.props,null,e.mode,r)).ref=_n(e,t,n),r.return=e,r)}function p(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ia(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function h(e,t,n,r,o){return null===t||7!==t.tag?((t=xa(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Na(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case u:return(n=Ea(t.type,t.key,t.props,null,e.mode,n)).ref=_n(e,null,t),n.return=e,n;case c:return(t=Ia(t,e.mode,n)).return=e,t}if(Pn(t)||I(t))return(t=xa(t,e.mode,n,null)).return=e,t;Rn(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case u:return n.key===i?n.type===d?h(e,t,n.props.children,r,i):f(e,t,n,r):null;case c:return n.key===i?p(e,t,n,r):null}if(Pn(n)||I(n))return null!==i?null:h(e,t,n,r,null);Rn(e,n)}return null}function y(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case u:return e=e.get(null===r.key?n:r.key)||null,r.type===d?h(t,e,r.props.children,i,r.key):f(t,e,r,i);case c:return p(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Pn(r)||I(r))return h(t,e=e.get(n)||null,r,i,null);Rn(t,r)}return null}function b(i,a,l,s){for(var u=null,c=null,d=a,f=a=0,p=null;null!==d&&f<l.length;f++){d.index>f?(p=d,d=null):p=d.sibling;var h=g(i,d,l[f],s);if(null===h){null===d&&(d=p);break}e&&d&&null===h.alternate&&t(i,d),a=o(h,a,f),null===c?u=h:c.sibling=h,c=h,d=p}if(f===l.length)return n(i,d),u;if(null===d){for(;f<l.length;f++)null!==(d=m(i,l[f],s))&&(a=o(d,a,f),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(i,d);f<l.length;f++)null!==(p=y(d,i,f,l[f],s))&&(e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),a=o(p,a,f),null===c?u=p:c.sibling=p,c=p);return e&&d.forEach((function(e){return t(i,e)})),u}function v(i,a,s,u){var c=I(s);if("function"!=typeof c)throw Error(l(150));if(null==(s=c.call(s)))throw Error(l(151));for(var d=c=null,f=a,p=a=0,h=null,b=s.next();null!==f&&!b.done;p++,b=s.next()){f.index>p?(h=f,f=null):h=f.sibling;var v=g(i,f,b.value,u);if(null===v){null===f&&(f=h);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,p),null===d?c=v:d.sibling=v,d=v,f=h}if(b.done)return n(i,f),c;if(null===f){for(;!b.done;p++,b=s.next())null!==(b=m(i,b.value,u))&&(a=o(b,a,p),null===d?c=b:d.sibling=b,d=b);return c}for(f=r(i,f);!b.done;p++,b=s.next())null!==(b=y(f,i,p,b.value,u))&&(e&&null!==b.alternate&&f.delete(null===b.key?p:b.key),a=o(b,a,p),null===d?c=b:d.sibling=b,d=b);return e&&f.forEach((function(e){return t(i,e)})),c}return function(e,r,o,s){var f="object"==typeof o&&null!==o&&o.type===d&&null===o.key;f&&(o=o.props.children);var p="object"==typeof o&&null!==o;if(p)switch(o.$$typeof){case u:e:{for(p=o.key,f=r;null!==f;){if(f.key===p){switch(f.tag){case 7:if(o.type===d){n(e,f.sibling),(r=i(f,o.props.children)).return=e,e=r;break e}break;default:if(f.elementType===o.type){n(e,f.sibling),(r=i(f,o.props)).ref=_n(e,f,o),r.return=e,e=r;break e}}n(e,f);break}t(e,f),f=f.sibling}o.type===d?((r=xa(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Ea(o.type,o.key,o.props,null,e.mode,s)).ref=_n(e,r,o),s.return=e,e=s)}return a(e);case c:e:{for(f=o.key;null!==r;){if(r.key===f){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ia(o,e.mode,s)).return=e,e=r}return a(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Na(o,e.mode,s)).return=e,e=r),a(e);if(Pn(o))return b(e,r,o,s);if(I(o))return v(e,r,o,s);if(p&&Rn(e,o),void 0===o&&!f)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(l(152,P(e.type)||"Component"))}return n(e,r)}}var Ln=An(!0),On=An(!1),zn={},Tn=Xe(zn),jn=Xe(zn),Fn=Xe(zn);function Mn(e){if(e===zn)throw Error(l(174));return e}function Hn(e,t){Ze(Fn,t),Ze(jn,e),Ze(Tn,zn),e=j(t),Je(Tn),Ze(Tn,e)}function Un(){Je(Tn),Je(jn),Je(Fn)}function Dn(e){var t=Mn(Fn.current),n=Mn(Tn.current);n!==(t=F(n,e.type,t))&&(Ze(jn,e),Ze(Tn,t))}function Wn(e){jn.current===e&&(Je(Tn),Je(jn))}var Bn=Xe(0);function Vn(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Fe(n)||Me(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $n=null,qn=null,Qn=!1;function Kn(e,t){var n=wa(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Gn(e,t){switch(e.tag){case 5:return null!==(t=Te(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=je(t,e.pendingProps))&&(e.stateNode=t,!0);case 13:default:return!1}}function Yn(e){if(Qn){var t=qn;if(t){var n=t;if(!Gn(e,t)){if(!(t=He(n))||!Gn(e,t))return e.flags=-1025&e.flags|2,Qn=!1,void($n=e);Kn($n,n)}$n=e,qn=Ue(t)}else e.flags=-1025&e.flags|2,Qn=!1,$n=e}}function Xn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;$n=e}function Jn(e){if(!J||e!==$n)return!1;if(!Qn)return Xn(e),Qn=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!V(t,e.memoizedProps))for(t=qn;t;)Kn(e,t),t=He(t);if(Xn(e),13===e.tag){if(!J)throw Error(l(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));qn=Be(e)}else qn=$n?He(e.stateNode):null;return!0}function Zn(){J&&(qn=$n=null,Qn=!1)}var er=[];function tr(){for(var e=0;e<er.length;e++){var t=er[e];G?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}er.length=0}var nr=s.ReactCurrentDispatcher,rr=s.ReactCurrentBatchConfig,ir=0,or=null,ar=null,lr=null,sr=!1,ur=!1;function cr(){throw Error(l(321))}function dr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xt(e[n],t[n]))return!1;return!0}function fr(e,t,n,r,i,o){if(ir=o,or=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nr.current=null===e||null===e.memoizedState?Mr:Hr,e=n(r,i),ur){o=0;do{if(ur=!1,!(25>o))throw Error(l(301));o+=1,lr=ar=null,t.updateQueue=null,nr.current=Ur,e=n(r,i)}while(ur)}if(nr.current=Fr,t=null!==ar&&null!==ar.next,ir=0,lr=ar=or=null,sr=!1,t)throw Error(l(300));return e}function pr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===lr?or.memoizedState=lr=e:lr=lr.next=e,lr}function hr(){if(null===ar){var e=or.alternate;e=null!==e?e.memoizedState:null}else e=ar.next;var t=null===lr?or.memoizedState:lr.next;if(null!==t)lr=t,ar=e;else{if(null===e)throw Error(l(310));e={memoizedState:(ar=e).memoizedState,baseState:ar.baseState,baseQueue:ar.baseQueue,queue:ar.queue,next:null},null===lr?or.memoizedState=lr=e:lr=lr.next=e}return lr}function mr(e,t){return"function"==typeof t?t(e):t}function gr(e){var t=hr(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=ar,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=a=o=null,u=i;do{var c=u.lane;if((ir&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(a=s=d,o=r):s=s.next=d,or.lanes|=c,uo|=c}u=u.next}while(null!==u&&u!==i);null===s?o=r:s.next=a,Xt(r,t.memoizedState)||(Wr=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function yr(e){var t=hr(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{o=e(o,a.action),a=a.next}while(a!==i);Xt(o,t.memoizedState)||(Wr=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function br(e,t,n){var r=t._getVersion;r=r(t._source);var i=G?t._workInProgressVersionPrimary:t._workInProgressVersionSecondary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(ir&e)===e)&&(G?t._workInProgressVersionPrimary=r:t._workInProgressVersionSecondary=r,er.push(t))),e)return n(t._source);throw er.push(t),Error(l(350))}function vr(e,t,n,r){var i=to;if(null===i)throw Error(l(349));var o=t._getVersion,a=o(t._source),s=nr.current,u=s.useState((function(){return br(i,t,n)})),c=u[1],d=u[0];u=lr;var f=e.memoizedState,p=f.refs,h=p.getSnapshot,m=f.source;f=f.subscribe;var g=or;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!Xt(a,e)){e=n(t._source),Xt(d,e)||(c(e),e=jo(g),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,l=e;0<l;){var s=31-kt(l),u=1<<s;r[s]|=e,l&=~u}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=jo(g);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),Xt(h,n)&&Xt(m,t)&&Xt(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:d}).dispatch=c=jr.bind(null,or,e),u.queue=e,u.baseQueue=null,d=br(i,t,n),u.memoizedState=u.baseState=d),d}function wr(e,t,n){return vr(hr(),e,t,n)}function Sr(e){var t=pr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:e}).dispatch=jr.bind(null,or,e),[t.memoizedState,e]}function kr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=or.updateQueue)?(t={lastEffect:null},or.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Er(e){return e={current:e},pr().memoizedState=e}function xr(){return hr().memoizedState}function Cr(e,t,n,r){var i=pr();or.flags|=e,i.memoizedState=kr(1|t,n,void 0,void 0===r?null:r)}function Nr(e,t,n,r){var i=hr();r=void 0===r?null:r;var o=void 0;if(null!==ar){var a=ar.memoizedState;if(o=a.destroy,null!==r&&dr(r,a.deps))return void kr(t,n,o,r)}or.flags|=e,i.memoizedState=kr(1|t,n,o,r)}function Ir(e,t){return Cr(516,4,e,t)}function Pr(e,t){return Nr(516,4,e,t)}function _r(e,t){return Nr(4,2,e,t)}function Rr(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ar(e,t,n){return n=null!=n?n.concat([e]):null,Nr(4,2,Rr.bind(null,t,e),n)}function Lr(){}function Or(e,t){var n=hr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&dr(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zr(e,t){var n=hr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&dr(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tr(e,t){var n=Vt();qt(98>n?98:n,(function(){e(!0)})),qt(97<n?97:n,(function(){var n=rr.transition;rr.transition=1;try{e(!1),t()}finally{rr.transition=n}}))}function jr(e,t,n){var r=To(),i=jo(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===or||null!==a&&a===or)ur=sr=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(o.eagerReducer=a,o.eagerState=s,Xt(s,l))return}catch(e){}Fo(e,i,r)}}var Fr={readContext:fn,useCallback:cr,useContext:cr,useEffect:cr,useImperativeHandle:cr,useLayoutEffect:cr,useMemo:cr,useReducer:cr,useRef:cr,useState:cr,useDebugValue:cr,useDeferredValue:cr,useTransition:cr,useMutableSource:cr,useOpaqueIdentifier:cr,unstable_isNewReconciler:!1},Mr={readContext:fn,useCallback:function(e,t){return pr().memoizedState=[e,void 0===t?null:t],e},useContext:fn,useEffect:Ir,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Cr(4,2,Rr.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cr(4,2,e,t)},useMemo:function(e,t){var n=pr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pr();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=jr.bind(null,or,e),[r.memoizedState,e]},useRef:Er,useState:Sr,useDebugValue:Lr,useDeferredValue:function(e){var t=Sr(e),n=t[0],r=t[1];return Ir((function(){var t=rr.transition;rr.transition=1;try{r(e)}finally{rr.transition=t}}),[e]),n},useTransition:function(){var e=Sr(!1),t=e[0];return Er(e=Tr.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=pr();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},vr(r,e,t,n)},useOpaqueIdentifier:function(){if(Qn){var e=!1,t=ee((function(){throw e||(e=!0,n(te())),Error(l(355))})),n=Sr(t)[1];return 0==(2&or.mode)&&(or.flags|=516,kr(5,(function(){n(te())}),void 0,null)),t}return Sr(t=te()),t},unstable_isNewReconciler:!1},Hr={readContext:fn,useCallback:Or,useContext:fn,useEffect:Pr,useImperativeHandle:Ar,useLayoutEffect:_r,useMemo:zr,useReducer:gr,useRef:xr,useState:function(){return gr(mr)},useDebugValue:Lr,useDeferredValue:function(e){var t=gr(mr),n=t[0],r=t[1];return Pr((function(){var t=rr.transition;rr.transition=1;try{r(e)}finally{rr.transition=t}}),[e]),n},useTransition:function(){var e=gr(mr)[0];return[xr().current,e]},useMutableSource:wr,useOpaqueIdentifier:function(){return gr(mr)[0]},unstable_isNewReconciler:!1},Ur={readContext:fn,useCallback:Or,useContext:fn,useEffect:Pr,useImperativeHandle:Ar,useLayoutEffect:_r,useMemo:zr,useReducer:yr,useRef:xr,useState:function(){return yr(mr)},useDebugValue:Lr,useDeferredValue:function(e){var t=yr(mr),n=t[0],r=t[1];return Pr((function(){var t=rr.transition;rr.transition=1;try{r(e)}finally{rr.transition=t}}),[e]),n},useTransition:function(){var e=yr(mr)[0];return[xr().current,e]},useMutableSource:wr,useOpaqueIdentifier:function(){return yr(mr)[0]},unstable_isNewReconciler:!1},Dr=s.ReactCurrentOwner,Wr=!1;function Br(e,t,n,r){t.child=null===e?On(t,null,n,r):Ln(t,e.child,n,r)}function Vr(e,t,n,r,i){n=n.render;var o=t.ref;return dn(t,i),r=fr(e,t,n,r,o,i),null===e||Wr?(t.flags|=1,Br(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,di(e,t,i))}function $r(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Sa(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ea(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,qr(e,t,a,r,i,o))}return a=e.child,0==(i&o)&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Zt)(i,r)&&e.ref===t.ref)?di(e,t,o):(t.flags|=1,(e=ka(a,r)).ref=t.ref,e.return=t,t.child=e)}function qr(e,t,n,r,i,o){if(null!==e&&Zt(e.memoizedProps,r)&&e.ref===t.ref){if(Wr=!1,0==(o&i))return t.lanes=e.lanes,di(e,t,o);0!=(16384&e.flags)&&(Wr=!0)}return Gr(e,t,n,r,o)}function Qr(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},$o(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},$o(t,e),null;t.memoizedState={baseLanes:0},$o(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,$o(t,r);return Br(e,t,i,n),t.child}function Kr(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Gr(e,t,n,r,i){var o=ot(n)?rt:tt.current;return o=it(t,o),dn(t,i),n=fr(e,t,n,r,o,i),null===e||Wr?(t.flags|=1,Br(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,di(e,t,i))}function Yr(e,t,n,r,i){if(ot(n)){var o=!0;ut(t)}else o=!1;if(dn(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Cn(t,n,r),In(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=fn(u):u=it(t,u=ot(n)?rt:tt.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Nn(t,a,r,u),pn=!1;var f=t.memoizedState;a.state=f,vn(t,r,a,i),s=t.memoizedState,l!==r||f!==s||nt.current||pn?("function"==typeof c&&(kn(t,n,c,r),s=t.memoizedState),(l=pn||xn(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,mn(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:tn(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=fn(s):s=it(t,s=ot(n)?rt:tt.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Nn(t,a,r,s),pn=!1,f=t.memoizedState,a.state=f,vn(t,r,a,i);var h=t.memoizedState;l!==d||f!==h||nt.current||pn?("function"==typeof p&&(kn(t,n,p,r),h=t.memoizedState),(u=pn||xn(t,n,u,r,f,h,s))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return Xr(e,t,n,r,o,i)}function Xr(e,t,n,r,i,o){Kr(e,t);var a=0!=(64&t.flags);if(!r&&!a)return i&&ct(t,n,!1),di(e,t,o);r=t.stateNode,Dr.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ln(t,e.child,null,o),t.child=Ln(t,null,l,o)):Br(e,t,l,o),t.memoizedState=r.state,i&&ct(t,n,!0),t.child}function Jr(e){var t=e.stateNode;t.pendingContext?lt(0,t.pendingContext,t.pendingContext!==t.context):t.context&<(0,t.context,!1),Hn(e,t.containerInfo)}var Zr,ei,ti,ni,ri={dehydrated:null,retryLane:0};function ii(e,t,n){var r,i=t.pendingProps,o=Bn.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),Ze(Bn,1&o),null===e?(void 0!==i.fallback&&Yn(t),e=i.children,o=i.fallback,a?(e=oi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ri,e):"number"==typeof i.unstable_expectedLoadTime?(e=oi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ri,t.lanes=33554432,e):((n=Ca({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(i=li(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=ri,i):(n=ai(e,t,i.children,n),t.memoizedState=null,n))}function oi(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Ca(t,i,0,null),n=xa(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function ai(e,t,n,r){var i=e.child;return e=i.sibling,n=ka(i,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function li(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&o)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=ka(a,l),null!==e?r=ka(e,r):(r=xa(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function si(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),cn(e.return,t)}function ui(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function ci(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Br(e,t,r.children,n),0!=(2&(r=Bn.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&si(e,n);else if(19===e.tag)si(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ze(Bn,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Vn(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ui(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Vn(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ui(t,!0,n,null,o,t.lastEffect);break;case"together":ui(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function di(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),uo|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=ka(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ka(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function fi(e){e.flags|=4}if(Y)Zr=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)D(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ei=function(){},ti=function(e,t,n,r,i){if((e=e.memoizedProps)!==r){var o=t.stateNode,a=Mn(Tn.current);n=B(o,n,e,r,i,a),(t.updateQueue=n)&&fi(t)}},ni=function(e,t,n,r){n!==r&&fi(t)};else if(X){Zr=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var o=i.stateNode;n&&r&&(o=Oe(o,i.type,i.memoizedProps,i)),D(e,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=ze(o,i.memoizedProps,i)),D(e,o);else if(4!==i.tag){if(13===i.tag&&0!=(4&i.flags)&&(o=null!==i.memoizedState)){var a=i.child;if(null!==a&&(null!==a.child&&(a.child.return=a,Zr(e,a,!0,o)),null!==(o=a.sibling))){o.return=i,i=o;continue}}if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};var pi=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var o=i.stateNode;n&&r&&(o=Oe(o,i.type,i.memoizedProps,i)),Re(e,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=ze(o,i.memoizedProps,i)),Re(e,o);else if(4!==i.tag){if(13===i.tag&&0!=(4&i.flags)&&(o=null!==i.memoizedState)){var a=i.child;if(null!==a&&(null!==a.child&&(a.child.return=a,pi(e,a,!0,o)),null!==(o=a.sibling))){o.return=i,i=o;continue}}if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};ei=function(e){var t=e.stateNode;if(null!==e.firstEffect){var n=t.containerInfo,r=_e(n);pi(r,e,!1,!1),t.pendingChildren=r,fi(e),Ae(n,r)}},ti=function(e,t,n,r,i){var o=e.stateNode,a=e.memoizedProps;if((e=null===t.firstEffect)&&a===r)t.stateNode=o;else{var l=t.stateNode,s=Mn(Tn.current),u=null;a!==r&&(u=B(l,n,a,r,i,s)),e&&null===u?t.stateNode=o:(o=Pe(o,u,n,a,r,t,e,l),W(o,n,r,i,s)&&fi(t),t.stateNode=o,e?fi(t):Zr(o,t,!1,!1))}},ni=function(e,t,n,r){n!==r?(e=Mn(Fn.current),n=Mn(Tn.current),t.stateNode=$(r,e,n,t),fi(t)):t.stateNode=e.stateNode}}else ei=function(){},ti=function(){},ni=function(){};function hi(e,t){if(!Qn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function mi(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ot(t.type)&&at(),null;case 3:return Un(),Je(nt),Je(tt),tr(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Jn(t)?fi(t):r.hydrate||(t.flags|=256)),ei(t),null;case 5:Wn(t);var i=Mn(Fn.current);if(n=t.type,null!==e&&null!=t.stateNode)ti(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(l(166));return null}if(e=Mn(Tn.current),Jn(t)){if(!J)throw Error(l(175));e=De(t.stateNode,t.type,t.memoizedProps,i,e,t),t.updateQueue=e,null!==e&&fi(t)}else{var o=U(n,r,i,e,t);Zr(o,t,!1,!1),t.stateNode=o,W(o,n,r,i,e)&&fi(t)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ni(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=Mn(Fn.current),i=Mn(Tn.current),Jn(t)){if(!J)throw Error(l(176));We(t.stateNode,t.memoizedProps,t)&&fi(t)}else t.stateNode=$(r,e,i,t)}return null;case 13:return Je(Bn),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,i=!1,null===e?void 0!==t.memoizedProps.fallback&&Jn(t):i=null!==e.memoizedState,r&&!i&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bn.current)?0===ao&&(ao=3):(0!==ao&&3!==ao||(ao=4),null===to||0==(134217727&uo)&&0==(134217727&co)||Do(to,ro))),X&&r&&(t.flags|=4),Y&&(r||i)&&(t.flags|=4),null);case 4:return Un(),ei(t),null===e&&ie(t.stateNode.containerInfo),null;case 10:return un(t),null;case 17:return ot(t.type)&&at(),null;case 19:if(Je(Bn),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(o=r.rendering))if(i)hi(r,!1);else{if(0!==ao||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(o=Vn(e))){for(t.flags|=64,hi(r,!1),null!==(e=o.updateQueue)&&(t.updateQueue=e,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,e=n,r=t.child;null!==r;)n=e,(i=r).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(o=i.alternate)?(i.childLanes=0,i.lanes=n,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,n=o.dependencies,i.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext}),r=r.sibling;return Ze(Bn,1&Bn.current|2),t.child}e=e.sibling}null!==r.tail&&Bt()>mo&&(t.flags|=64,i=!0,hi(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Vn(o))){if(t.flags|=64,i=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),hi(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!Qn)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Bt()-r.renderingStartTime>mo&&1073741824!==n&&(t.flags|=64,i=!0,hi(r,!1),t.lanes=33554432);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Bt(),e.sibling=null,t=Bn.current,Ze(Bn,i?1&t|2:1&t),e):null;case 23:case 24:return qo(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(l(156,t.tag))}function gi(e){switch(e.tag){case 1:ot(e.type)&&at();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Un(),Je(nt),Je(tt),tr(),0!=(64&(t=e.flags)))throw Error(l(285));return e.flags=-4097&t|64,e;case 5:return Wn(e),null;case 13:return Je(Bn),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return Je(Bn),null;case 4:return Un(),null;case 10:return un(e),null;case 23:case 24:return qo(),null;default:return null}}function yi(e,t){try{var n="",r=t;do{n+=en(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function bi(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var vi="function"==typeof WeakMap?WeakMap:Map;function wi(e,t,n){(n=gn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){vo||(vo=!0,wo=r),bi(0,t)},n}function Si(e,t,n){(n=gn(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return bi(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===So?So=new Set([this]):So.add(this),bi(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ki="function"==typeof WeakSet?WeakSet:Set;function Ei(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){ua(e,t)}else t.current=null}function xi(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:tn(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(Y&&256&t.flags&&Ie(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(l(163))}function Ci(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function Ni(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(aa(n,e),oa(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:tn(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&wn(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=T(n.child.stateNode);break;case 1:e=n.child.stateNode}wn(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&ge(e,n.type,n.memoizedProps,n));case 6:case 4:case 12:return;case 13:return void(J&&null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&$e(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(l(163))}function Ii(e,t){if(Y)for(var n=e;;){if(5===n.tag){var r=n.stateNode;t?Ee(r):Ce(n.stateNode,n.memoizedProps)}else if(6===n.tag)r=n.stateNode,t?xe(r):Ne(r,n.memoizedProps);else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Pi(e,t){if(ft&&"function"==typeof ft.onCommitFiberUnmount)try{ft.onCommitFiberUnmount(dt,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))aa(t,n);else{r=t;try{i()}catch(e){ua(r,e)}}n=n.next}while(n!==e)}break;case 1:if(Ei(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){ua(t,e)}break;case 5:Ei(t);break;case 4:Y?Oi(e,t):X&&X&&(t=t.stateNode.containerInfo,e=_e(t),Le(t,e))}}function _i(e,t){for(var n=t;;)if(Pi(e,n),null===n.child||Y&&4===n.tag){if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}else n.child.return=n,n=n.child}function Ri(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ai(e){return 5===e.tag||3===e.tag||4===e.tag}function Li(e){if(Y){e:{for(var t=e.return;null!==t;){if(Ai(t))break e;t=t.return}throw Error(l(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(l(161))}16&n.flags&&(ke(t),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ai(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?ve(r,t,n):he(r,t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?be(r,t,n):pe(r,t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}}function Oi(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(l(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag)_i(e,i),r?Se(n,i.stateNode):we(n,i.stateNode);else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(Pi(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function zi(e,t){if(Y){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Ci(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&ye(n,o,i,e,r,t)}return;case 6:if(null===t.stateNode)throw Error(l(162));return n=t.memoizedProps,void me(t.stateNode,null!==e?e.memoizedProps:n,n);case 3:return void(J&&(t=t.stateNode,t.hydrate&&(t.hydrate=!1,Ve(t.containerInfo))));case 12:return;case 13:return Ti(t),void ji(t);case 19:return void ji(t);case 17:return;case 23:case 24:return void Ii(t,null!==t.memoizedState)}throw Error(l(163))}switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Ci(3,t);case 12:return;case 13:return Ti(t),void ji(t);case 19:return void ji(t);case 3:J&&((n=t.stateNode).hydrate&&(n.hydrate=!1,Ve(n.containerInfo)));break;case 23:case 24:return}e:if(X){switch(t.tag){case 1:case 5:case 6:case 20:break e;case 3:case 4:t=t.stateNode,Le(t.containerInfo,t.pendingChildren);break e}throw Error(l(163))}}function Ti(e){null!==e.memoizedState&&(ho=Bt(),Y&&Ii(e.child,!0))}function ji(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ki),t.forEach((function(t){var r=da.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Fi(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Mi=0,Hi=1,Ui=2,Di=3,Wi=4;if("function"==typeof Symbol&&Symbol.for){var Bi=Symbol.for;Mi=Bi("selector.component"),Hi=Bi("selector.has_pseudo_class"),Ui=Bi("selector.role"),Di=Bi("selector.test_id"),Wi=Bi("selector.text")}function Vi(e){var t=Z(e);if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(l(364));return t}if(null===(e=ae(e)))throw Error(l(362));return e.stateNode.current}function $i(e,t){switch(t.$$typeof){case Mi:if(e.type===t.value)return!0;break;case Hi:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],i=e[n++],o=t[i];if(5!==r.tag||!ue(r)){for(;null!=o&&$i(r,o);)o=t[++i];if(i===t.length){t=!0;break e}for(r=r.child;null!==r;)e.push(r,i),r=r.sibling}}t=!1}return t;case Ui:if(5===e.tag&&ce(e.stateNode,t.value))return!0;break;case Wi:if((5===e.tag||6===e.tag)&&(null!==(e=se(e))&&0<=e.indexOf(t.value)))return!0;break;case Di:if(5===e.tag&&("string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase()))return!0;break;default:throw Error(l(365,t))}return!1}function qi(e){switch(e.$$typeof){case Mi:return"<"+(P(e.value)||"Unknown")+">";case Hi:return":has("+(qi(e)||"")+")";case Ui:return'[role="'+e.value+'"]';case Wi:return'"'+e.value+'"';case Di:return'[data-testname="'+e.value+'"]';default:throw Error(l(365,e))}}function Qi(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var i=e[r++],o=e[r++],a=t[o];if(5!==i.tag||!ue(i)){for(;null!=a&&$i(i,a);)a=t[++o];if(o===t.length)n.push(i);else for(i=i.child;null!==i;)e.push(i,o),i=i.sibling}}return n}function Ki(e,t){if(!oe)throw Error(l(363));e=Qi(e=Vi(e),t),t=[],e=Array.from(e);for(var n=0;n<e.length;){var r=e[n++];if(5===r.tag)ue(r)||t.push(r.stateNode);else for(r=r.child;null!==r;)e.push(r),r=r.sibling}return t}var Gi=null;var Yi=Math.ceil,Xi=s.ReactCurrentDispatcher,Ji=s.ReactCurrentOwner,Zi=s.IsSomeRendererActing,eo=0,to=null,no=null,ro=0,io=0,oo=Xe(0),ao=0,lo=null,so=0,uo=0,co=0,fo=0,po=null,ho=0,mo=1/0;function go(){mo=Bt()+500}var yo,bo=null,vo=!1,wo=null,So=null,ko=!1,Eo=null,xo=90,Co=[],No=[],Io=null,Po=0,_o=null,Ro=-1,Ao=0,Lo=0,Oo=null,zo=!1;function To(){return 0!=(48&eo)?Bt():-1!==Ro?Ro:Ro=Bt()}function jo(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Vt()?1:2;if(0===Ao&&(Ao=so),0!==Yt.transition){0!==Lo&&(Lo=null!==po?po.pendingLanes:0),e=Ao;var t=4186112&~Lo;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Vt(),0!=(4&eo)&&98===e?e=bt(12,Ao):e=bt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),Ao),e}function Fo(e,t,n){if(50<Po)throw Po=0,_o=null,Error(l(185));if(null===(e=Mo(e,t)))return null;St(e,t,n),e===to&&(co|=t,4===ao&&Do(e,ro));var r=Vt();1===t?0!=(8&eo)&&0==(48&eo)?Wo(e):(Ho(e,n),0===eo&&(go(),Kt())):(0==(4&eo)||98!==r&&99!==r||(null===Io?Io=new Set([e]):Io.add(e)),Ho(e,n)),po=e}function Mo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Ho(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-kt(a),u=1<<s,c=o[s];if(-1===c){if(0==(u&r)||0!=(u&i)){c=t,mt(u);var d=ht;o[s]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);a&=~u}if(r=gt(e,e===to?ro:0),t=ht,0===r)null!==n&&(n!==Ft&&It(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ft&&It(n)}15===t?(n=Wo.bind(null,e),null===Ht?(Ht=[n],Ut=Nt(Lt,Gt)):Ht.push(n),n=Ft):14===t?n=Qt(99,Wo.bind(null,e)):n=Qt(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(l(358,e))}}(t),Uo.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function Uo(e){if(Ro=-1,Lo=Ao=0,0!=(48&eo))throw Error(l(327));var t=e.callbackNode;if(ia()&&e.callbackNode!==t)return null;var n=gt(e,e===to?ro:0);if(0===n)return null;var r=n,i=eo;eo|=16;var o=Go();for(to===e&&ro===r||(go(),Qo(e,r));;)try{Jo();break}catch(t){Ko(e,t)}if(ln(),Xi.current=o,eo=i,null!==no?r=0:(to=null,ro=0,r=ao),0!=(so&co))Qo(e,0);else if(0!==r){if(2===r&&(eo|=64,e.hydrate&&(e.hydrate=!1,Ie(e.containerInfo)),0!==(n=yt(e))&&(r=Yo(e,n))),1===r)throw t=lo,Qo(e,0),Do(e,n),Ho(e,Bt()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(l(345));case 2:ta(e);break;case 3:if(Do(e,n),(62914560&n)===n&&10<(r=ho+500-Bt())){if(0!==gt(e,0))break;if(((i=e.suspendedLanes)&n)!==n){To(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=q(ta.bind(null,e),r);break}ta(e);break;case 4:if(Do(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-kt(n);o=1<<a,(a=r[a])>i&&(i=a),n&=~o}if(n=i,10<(n=(120>(n=Bt()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Yi(n/1960))-n)){e.timeoutHandle=q(ta.bind(null,e),n);break}ta(e);break;case 5:ta(e);break;default:throw Error(l(329))}}return Ho(e,Bt()),e.callbackNode===t?Uo.bind(null,e):null}function Do(e,t){for(t&=~fo,t&=~co,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-kt(t),r=1<<n;e[n]=-1,t&=~r}}function Wo(e){if(0!=(48&eo))throw Error(l(327));if(ia(),e===to&&0!=(e.expiredLanes&ro)){var t=ro,n=Yo(e,t);0!=(so&co)&&(n=Yo(e,t=gt(e,t)))}else n=Yo(e,t=gt(e,0));if(0!==e.tag&&2===n&&(eo|=64,e.hydrate&&(e.hydrate=!1,Ie(e.containerInfo)),0!==(t=yt(e))&&(n=Yo(e,t))),1===n)throw n=lo,Qo(e,0),Do(e,t),Ho(e,Bt()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,ta(e),Ho(e,Bt()),null}function Bo(e,t){var n=eo;eo|=1;try{return e(t)}finally{0===(eo=n)&&(go(),Kt())}}function Vo(e,t){var n=eo;if(0!=(48&n))return e(t);eo|=1;try{if(e)return qt(99,e.bind(null,t))}finally{eo=n,Kt()}}function $o(e,t){Ze(oo,io),io|=t,so|=t}function qo(){io=oo.current,Je(oo)}function Qo(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==K&&(e.timeoutHandle=K,Q(n)),null!==no)for(n=no.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&at();break;case 3:Un(),Je(nt),Je(tt),tr();break;case 5:Wn(r);break;case 4:Un();break;case 13:case 19:Je(Bn);break;case 10:un(r);break;case 23:case 24:qo()}n=n.return}to=e,no=ka(e.current,null),ro=io=so=t,ao=0,lo=null,fo=co=uo=0}function Ko(e,t){for(;;){var n=no;try{if(ln(),nr.current=Fr,sr){for(var r=or.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}sr=!1}if(ir=0,lr=ar=or=null,ur=!1,Ji.current=null,null===n||null===n.return){ao=1,lo=t,no=null;break}e:{var o=e,a=n.return,l=n,s=t;if(t=ro,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Bn.current),f=a;do{var p;if(p=13===f.tag){var h=f.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var g=f.updateQueue;if(null===g){var y=new Set;y.add(u),f.updateQueue=y}else g.add(u);if(0==(2&f.mode)){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var b=gn(-1,1);b.tag=2,yn(l,b)}l.lanes|=1;break e}s=void 0,l=t;var v=o.pingCache;if(null===v?(v=o.pingCache=new vi,s=new Set,v.set(u,s)):void 0===(s=v.get(u))&&(s=new Set,v.set(u,s)),!s.has(l)){s.add(l);var w=ca.bind(null,o,u,l);u.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);s=Error((P(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==ao&&(ao=2),s=yi(s,l),f=a;do{switch(f.tag){case 3:o=s,f.flags|=4096,t&=-t,f.lanes|=t,bn(f,wi(0,o,t));break e;case 1:o=s;var S=f.type,k=f.stateNode;if(0==(64&f.flags)&&("function"==typeof S.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===So||!So.has(k)))){f.flags|=4096,t&=-t,f.lanes|=t,bn(f,Si(f,o,t));break e}}f=f.return}while(null!==f)}ea(n)}catch(e){t=e,no===n&&null!==n&&(no=n=n.return);continue}break}}function Go(){var e=Xi.current;return Xi.current=Fr,null===e?Fr:e}function Yo(e,t){var n=eo;eo|=16;var r=Go();for(to===e&&ro===t||Qo(e,t);;)try{Xo();break}catch(t){Ko(e,t)}if(ln(),eo=n,Xi.current=r,null!==no)throw Error(l(261));return to=null,ro=0,ao}function Xo(){for(;null!==no;)Zo(no)}function Jo(){for(;null!==no&&!Pt();)Zo(no)}function Zo(e){var t=yo(e.alternate,e,io);e.memoizedProps=e.pendingProps,null===t?ea(e):no=t,Ji.current=null}function ea(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=mi(n,t,io)))return void(no=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&io)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=gi(t)))return n.flags&=2047,void(no=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(no=t);no=t=e}while(null!==t);0===ao&&(ao=5)}function ta(e){var t=Vt();return qt(99,na.bind(null,e,t)),null}function na(e,t){do{ia()}while(null!==Eo);if(0!=(48&eo))throw Error(l(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(l(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<o;){var u=31-kt(o),c=1<<u;i[u]=0,a[u]=-1,s[u]=-1,o&=~c}if(null!==Io&&0==(24&r)&&Io.has(e)&&Io.delete(e),e===to&&(no=to=null,ro=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){i=eo,eo|=32,Ji.current=null,Oo=M(e.containerInfo),zo=!1,bo=r;do{try{ra()}catch(e){if(null===bo)throw Error(l(330));ua(bo,e),bo=bo.nextEffect}}while(null!==bo);Oo=null,bo=r;do{try{for(a=e;null!==bo;){var d=bo.flags;if(16&d&&Y&&ke(bo.stateNode),128&d){var f=bo.alternate;if(null!==f){var p=f.ref;null!==p&&("function"==typeof p?p(null):p.current=null)}}switch(1038&d){case 2:Li(bo),bo.flags&=-3;break;case 6:Li(bo),bo.flags&=-3,zi(bo.alternate,bo);break;case 1024:bo.flags&=-1025;break;case 1028:bo.flags&=-1025,zi(bo.alternate,bo);break;case 4:zi(bo.alternate,bo);break;case 8:s=a,o=bo,Y?Oi(s,o):_i(s,o);var h=o.alternate;Ri(o),null!==h&&Ri(h)}bo=bo.nextEffect}}catch(e){if(null===bo)throw Error(l(330));ua(bo,e),bo=bo.nextEffect}}while(null!==bo);zo&&re(),H(e.containerInfo),e.current=n,bo=r;do{try{for(d=e;null!==bo;){var m=bo.flags;if(36&m&&Ni(d,bo.alternate,bo),128&m){f=void 0;var g=bo.ref;if(null!==g){var y=bo.stateNode;switch(bo.tag){case 5:f=T(y);break;default:f=y}"function"==typeof g?g(f):g.current=f}}bo=bo.nextEffect}}catch(e){if(null===bo)throw Error(l(330));ua(bo,e),bo=bo.nextEffect}}while(null!==bo);bo=null,Mt(),eo=i}else e.current=n;if(ko)ko=!1,Eo=e,xo=t;else for(bo=r;null!==bo;)t=bo.nextEffect,bo.nextEffect=null,8&bo.flags&&((m=bo).sibling=null,m.stateNode=null),bo=t;if(0===(r=e.pendingLanes)&&(So=null),1===r?e===_o?Po++:(Po=0,_o=e):Po=0,n=n.stateNode,ft&&"function"==typeof ft.onCommitFiberRoot)try{ft.onCommitFiberRoot(dt,n,void 0,64==(64&n.current.flags))}catch(e){}if(Ho(e,Bt()),vo)throw vo=!1,e=wo,wo=null,e;return 0!=(8&eo)||Kt(),null}function ra(){for(;null!==bo;){var e=bo.alternate;zo||null===Oo||(0!=(8&bo.flags)?O(bo,Oo)&&(zo=!0,ne()):13===bo.tag&&Fi(e,bo)&&O(bo,Oo)&&(zo=!0,ne()));var t=bo.flags;0!=(256&t)&&xi(e,bo),0==(512&t)||ko||(ko=!0,Qt(97,(function(){return ia(),null}))),bo=bo.nextEffect}}function ia(){if(90!==xo){var e=97<xo?97:xo;return xo=90,qt(e,la)}return!1}function oa(e,t){Co.push(t,e),ko||(ko=!0,Qt(97,(function(){return ia(),null})))}function aa(e,t){No.push(t,e),ko||(ko=!0,Qt(97,(function(){return ia(),null})))}function la(){if(null===Eo)return!1;var e=Eo;if(Eo=null,0!=(48&eo))throw Error(l(331));var t=eo;eo|=32;var n=No;No=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],a=i.destroy;if(i.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===o)throw Error(l(330));ua(o,e)}}for(n=Co,Co=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var s=i.create;i.destroy=s()}catch(e){if(null===o)throw Error(l(330));ua(o,e)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return eo=t,Kt(),!0}function sa(e,t,n){yn(e,t=wi(0,t=yi(n,t),1)),t=To(),null!==(e=Mo(e,1))&&(St(e,1,t),Ho(e,t))}function ua(e,t){if(3===e.tag)sa(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){sa(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===So||!So.has(r))){var i=Si(n,e=yi(t,e),1);if(yn(n,i),i=To(),null!==(n=Mo(n,1)))St(n,1,i),Ho(n,i);else if("function"==typeof r.componentDidCatch&&(null===So||!So.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function ca(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=To(),e.pingedLanes|=e.suspendedLanes&n,to===e&&(ro&n)===n&&(4===ao||3===ao&&(62914560&ro)===ro&&500>Bt()-ho?Qo(e,0):fo|=n),Ho(e,t)}function da(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Vt()?1:2:(0===Ao&&(Ao=so),0===(t=vt(62914560&~Ao))&&(t=4194304))),n=To(),null!==(e=Mo(e,t))&&(St(e,t,n),Ho(e,n))}yo=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||nt.current)Wr=!0;else{if(0==(n&r)){switch(Wr=!1,t.tag){case 3:Jr(t),Zn();break;case 5:Dn(t);break;case 1:ot(t.type)&&ut(t);break;case 4:Hn(t,t.stateNode.containerInfo);break;case 10:sn(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?ii(e,t,n):(Ze(Bn,1&Bn.current),null!==(t=di(e,t,n))?t.sibling:null);Ze(Bn,1&Bn.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ci(e,t,n);t.flags|=64}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ze(Bn,Bn.current),r)break;return null;case 23:case 24:return t.lanes=0,Qr(e,t,n)}return di(e,t,n)}Wr=0!=(16384&e.flags)}else Wr=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=it(t,tt.current),dn(t,n),i=fr(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ot(r)){var o=!0;ut(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,hn(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&kn(t,r,a,e),i.updater=En,t.stateNode=i,i._reactInternals=t,In(t,r,e,n),t=Xr(null,t,r,!0,o,n)}else t.tag=0,Br(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Sa(e)?1:0;if(null!=e){if((e=e.$$typeof)===g)return 11;if(e===v)return 14}return 2}(i),e=tn(i,e),o){case 0:t=Gr(null,t,i,e,n);break e;case 1:t=Yr(null,t,i,e,n);break e;case 11:t=Vr(null,t,i,e,n);break e;case 14:t=$r(null,t,i,tn(i.type,e),r,n);break e}throw Error(l(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Gr(e,t,r,i=t.elementType===r?i:tn(r,i),n);case 1:return r=t.type,i=t.pendingProps,Yr(e,t,r,i=t.elementType===r?i:tn(r,i),n);case 3:if(Jr(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,mn(e,t),vn(t,r,null,n),(r=t.memoizedState.element)===i)Zn(),t=di(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(J?(qn=Ue(t.stateNode.containerInfo),$n=t,o=Qn=!0):o=!1),o){if(J&&null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)o=e[i],a=e[i+1],G?o._workInProgressVersionPrimary=a:o._workInProgressVersionSecondary=a,er.push(o);for(n=On(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Br(e,t,r,n),Zn();t=t.child}return t;case 5:return Dn(t),null===e&&Yn(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,V(r,i)?a=null:null!==o&&V(r,o)&&(t.flags|=16),Kr(e,t),Br(e,t,a,n),t.child;case 6:return null===e&&Yn(t),null;case 13:return ii(e,t,n);case 4:return Hn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ln(t,null,r,n):Br(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Vr(e,t,r,i=t.elementType===r?i:tn(r,i),n);case 7:return Br(e,t,t.pendingProps,n),t.child;case 8:case 12:return Br(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,sn(t,o=i.value),null!==a){var s=a.value;if(0===(o=Xt(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(a.children===i.children&&!nt.current){t=di(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){a=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=gn(-1,n&-n)).tag=2,yn(s,c)),s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),cn(s.return,n),u.lanes|=n;break}c=c.next}}else a=10===s.tag&&s.type===t.type?null:s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}}Br(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,dn(t,n),r=r(i=fn(i,o.unstable_observedBits)),t.flags|=1,Br(e,t,r,n),t.child;case 14:return o=tn(i=t.type,t.pendingProps),$r(e,t,i,o=tn(i.type,o),r,n);case 15:return qr(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tn(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ot(r)?(e=!0,ut(t)):e=!1,dn(t,n),Cn(t,r,i),In(t,r,i,n),Xr(null,t,r,!0,e,n);case 19:return ci(e,t,n);case 23:case 24:return Qr(e,t,n)}throw Error(l(156,t.tag))};var fa={current:!1},pa=a.unstable_flushAllWithoutAsserting,ha="function"==typeof pa;function ma(){if(void 0!==pa)return pa();for(var e=!1;ia();)e=!0;return e}function ga(t){try{ma(),function(t){if(null===Gi)try{var n=("require"+Math.random()).slice(0,7);Gi=(e&&e[n]).call(e,"timers").setImmediate}catch(e){Gi=function(e){var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}Gi(t)}((function(){ma()?ga(t):t()}))}catch(e){t(e)}}var ya=0,ba=!1;function va(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function wa(e,t,n,r){return new va(e,t,n,r)}function Sa(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ka(e,t){var n=e.alternate;return null===n?((n=wa(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ea(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)Sa(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case d:return xa(n.children,i,o,t);case k:a=8,i|=16;break;case f:a=8,i|=1;break;case p:return(e=wa(12,n,t,8|i)).elementType=p,e.type=p,e.lanes=o,e;case y:return(e=wa(13,n,t,i)).type=y,e.elementType=y,e.lanes=o,e;case b:return(e=wa(19,n,t,i)).elementType=b,e.lanes=o,e;case E:return Ca(n,i,o,t);case x:return(e=wa(24,n,t,i)).elementType=x,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case h:a=10;break e;case m:a=9;break e;case g:a=11;break e;case v:a=14;break e;case w:a=16,r=null;break e;case S:a=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=wa(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function xa(e,t,n,r){return(e=wa(7,e,r,t)).lanes=n,e}function Ca(e,t,n,r){return(e=wa(23,e,r,t)).elementType=E,e.lanes=n,e}function Na(e,t,n){return(e=wa(6,e,null,t)).lanes=n,e}function Ia(e,t,n){return(t=wa(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pa(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=K,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=wt(0),this.expirationTimes=wt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wt(0),J&&(this.mutableSourceEagerHydrationData=null)}function _a(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,Object.keys(e)))}return null===(e=L(t))?null:e.stateNode}function Ra(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Aa(e,t){Ra(e,t),(e=e.alternate)&&Ra(e,t)}function La(e){return null===(e=L(e))?null:e.stateNode}function Oa(){return null}return r.IsThisRendererActing=fa,r.act=function(e){function t(){ya--,Zi.current=n,fa.current=r}!1===ba&&(ba=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected.")),ya++;var n=Zi.current,r=fa.current;Zi.current=!0,fa.current=!0;try{var i=Bo(e)}catch(e){throw t(),e}if(null!==i&&"object"==typeof i&&"function"==typeof i.then)return{then:function(e,r){i.then((function(){1<ya||!0===ha&&!0===n?(t(),e()):ga((function(n){t(),n?r(n):e()}))}),(function(e){t(),r(e)}))}};try{1!==ya||!1!==ha&&!1!==n||ma(),t()}catch(e){throw t(),e}return{then:function(e){e()}}},r.attemptContinuousHydration=function(e){13===e.tag&&(Fo(e,67108864,To()),Aa(e,67108864))},r.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=To(),n=jo(e);Fo(e,n,t),Aa(e,n)}},r.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.hydrate){var n=mt(t.pendingLanes);t.expiredLanes|=n&t.pendingLanes,Ho(t,Bt()),0==(48&eo)&&(go(),Kt())}break;case 13:var r=To();Vo((function(){return Fo(e,1,r)})),Aa(e,4)}},r.attemptUserBlockingHydration=function(e){13===e.tag&&(Fo(e,4,To()),Aa(e,4))},r.batchedEventUpdates=function(e,t){var n=eo;eo|=2;try{return e(t)}finally{0===(eo=n)&&(go(),Kt())}},r.batchedUpdates=Bo,r.createComponentSelector=function(e){return{$$typeof:Mi,value:e}},r.createContainer=function(e,t,n){return e=new Pa(e,t,n),t=wa(3,null,null,2===t?7:1===t?3:0),e.current=t,t.stateNode=e,hn(t),e},r.createHasPsuedoClassSelector=function(e){return{$$typeof:Hi,value:e}},r.createPortal=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:c,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},r.createRoleSelector=function(e){return{$$typeof:Ui,value:e}},r.createTestNameSelector=function(e){return{$$typeof:Di,value:e}},r.createTextSelector=function(e){return{$$typeof:Wi,value:e}},r.deferredUpdates=function(e){return qt(97,e)},r.discreteUpdates=function(e,t,n,r,i){var o=eo;eo|=4;try{return qt(98,e.bind(null,t,n,r,i))}finally{0===(eo=o)&&(go(),Kt())}},r.findAllNodes=Ki,r.findBoundingRects=function(e,t){if(!oe)throw Error(l(363));t=Ki(e,t),e=[];for(var n=0;n<t.length;n++)e.push(le(t[n]));for(t=e.length-1;0<t;t--)for(var r=(n=e[t]).x,i=r+n.width,o=n.y,a=o+n.height,s=t-1;0<=s;s--)if(t!==s){var u=e[s],c=u.x,d=c+u.width,f=u.y,p=f+u.height;if(r>=c&&o>=f&&i<=d&&a<=p){e.splice(t,1);break}if(!(r!==c||n.width!==u.width||p<o||f>a)){f>o&&(u.height+=f-o,u.y=o),p<a&&(u.height=a-f),e.splice(t,1);break}if(!(o!==f||n.height!==u.height||d<r||c>i)){c>r&&(u.width+=c-r,u.x=r),d<i&&(u.width=i-c),e.splice(t,1);break}}return e},r.findHostInstance=_a,r.findHostInstanceWithNoPortals=function(e){return null===(e=function(e){if(!(e=A(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:20===e.tag?e.stateNode.instance:e.stateNode},r.findHostInstanceWithWarning=function(e){return _a(e)},r.flushControlled=function(e){var t=eo;eo|=1;try{qt(99,e)}finally{0===(eo=t)&&(go(),Kt())}},r.flushDiscreteUpdates=function(){0==(49&eo)&&(function(){if(null!==Io){var e=Io;Io=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Ho(e,Bt())}))}Kt()}(),ia())},r.flushPassiveEffects=ia,r.flushSync=Vo,r.focusWithin=function(e,t){if(!oe)throw Error(l(363));for(t=Qi(e=Vi(e),t),t=Array.from(t),e=0;e<t.length;){var n=t[e++];if(!ue(n)){if(5===n.tag&&de(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},r.getCurrentUpdateLanePriority=function(){return pt},r.getFindAllNodesFailureDescription=function(e,t){if(!oe)throw Error(l(363));var n=0,r=[];e=[Vi(e),0];for(var i=0;i<e.length;){var o=e[i++],a=e[i++],s=t[a];if((5!==o.tag||!ue(o))&&($i(o,s)&&(r.push(qi(s)),++a>n&&(n=a)),a<t.length))for(o=o.child;null!==o;)e.push(o,a),o=o.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push(qi(t[n]));return"findAllNodes was able to match part of the selector:\n "+r.join(" > ")+"\n\nNo matching component was found for:\n "+e.join(" > ")}return null},r.getPublicRootInstance=function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:return T(e.child.stateNode);default:return e.child.stateNode}},r.injectIntoDevTools=function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:La,findFiberByHostInstance:e.findFiberByHostInstance||Oa,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t.isDisabled&&t.supportsFiber)try{dt=t.inject(e),ft=t}catch(e){}e=!0}return e},r.observeVisibleRects=function(e,t,n,r){if(!oe)throw Error(l(363));e=Ki(e,t);var i=fe(e,n,r).disconnect;return{disconnect:function(){i()}}},r.registerMutableSourceForHydration=function(e,t){var n=t._getVersion;n=n(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},r.runWithPriority=function(e,t){var n=pt;try{return pt=e,t()}finally{pt=n}},r.shouldSuspend=function(){return!1},r.unbatchedUpdates=function(e,t){var n=eo;eo&=-2,eo|=8;try{return e(t)}finally{0===(eo=n)&&(go(),Kt())}},r.updateContainer=function(e,t,n,r){var i=t.current,o=To(),a=jo(i);e:if(n){t:{if(_(n=n._reactInternals)!==n||1!==n.tag)throw Error(l(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ot(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(l(171))}if(1===n.tag){var u=n.type;if(ot(u)){n=st(n,u,s);break e}}n=s}else n=et;return null===t.context?t.context=n:t.pendingContext=n,(t=gn(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),yn(i,t),Fo(i,a,o),a},r}}).call(this,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/react-reconciler/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-reconciler/cjs/react-reconciler.production.min.js")},"./node_modules/react/cjs/react.production.min.js":function(e,t,n){"use strict";
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n("./node_modules/object-assign/index.js"),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,l=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;i=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),l=d("react.context"),s=d("react.forward_ref"),t.Suspense=d("react.suspense"),u=d("react.memo"),c=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var v=b.prototype=new y;v.constructor=b,r(v,g.prototype),v.isPureReactComponent=!0;var w={current:null},S=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!k.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var C=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function I(e,t,n,r,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case o:s=!0}}if(s)return a=a(s=e),e=""===r?"."+N(s,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),I(a,t,n,"",(function(e){return e}))):null!=a&&(x(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+N(l=e[u],u);s+=I(l,t,n,c,a)}else if("function"==typeof(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e)))for(e=c.call(e),u=0;!(l=e.next()).done;)s+=I(l=l.value,t,n,c=r+N(l,u++),a);else if("object"===l)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function P(e,t,n){if(null==e)return e;var r=[],i=0;return I(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function _(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var R={current:null};function A(){var e=R.current;if(null===e)throw Error(p(321));return e}var L={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),a=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)S.call(t,c)&&!k.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}return{$$typeof:i,type:e.type,key:a,ref:l,props:o,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:_}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return A().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,n){return A().useReducer(e,t,n)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="17.0.2"},"./node_modules/react/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react/cjs/react.production.min.js")},"./node_modules/scheduler/cjs/scheduler.production.min.js":function(e,t,n){"use strict";
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r,i,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,d=null,f=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(f,0),e}};r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(f,0))},i=function(e,t){d=setTimeout(e,t)},o=function(){clearTimeout(d)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,y=null,b=-1,v=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,k=S.port2;S.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+v;try{y(!0,e)?k.postMessage(null):(g=!1,y=null)}catch(e){throw k.postMessage(null),e}}else g=!1},r=function(e){y=e,g||(g=!0,k.postMessage(null))},i=function(e,n){b=p((function(){e(t.unstable_now())}),n)},o=function(){h(b),b=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<N(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],l=o+1,s=e[l];if(void 0!==a&&0>N(a,n))void 0!==s&&0>N(s,a)?(e[r]=s,e[l]=n,r=l):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==s&&0>N(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function N(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var I=[],P=[],_=1,R=null,A=3,L=!1,O=!1,z=!1;function T(e){for(var t=x(P);null!==t;){if(null===t.callback)C(P);else{if(!(t.startTime<=e))break;C(P),t.sortIndex=t.expirationTime,E(I,t)}t=x(P)}}function j(e){if(z=!1,T(e),!O)if(null!==x(I))O=!0,r(F);else{var t=x(P);null!==t&&i(j,t.startTime-e)}}function F(e,n){O=!1,z&&(z=!1,o()),L=!0;var r=A;try{for(T(n),R=x(I);null!==R&&(!(R.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=R.callback;if("function"==typeof a){R.callback=null,A=R.priorityLevel;var l=a(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?R.callback=l:R===x(I)&&C(I),T(n)}else C(I);R=x(I)}if(null!==R)var s=!0;else{var u=x(P);null!==u&&i(j,u.startTime-n),s=!1}return s}finally{R=null,A=r,L=!1}}var M=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||L||(O=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return x(I)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=M,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:_++,callback:n,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>l?(e.sortIndex=a,E(P,e),null===x(I)&&e===x(P)&&(z?o():z=!0,i(j,a-l))):(e.sortIndex=s,E(I,e),O||L||(O=!0,r(F))),e},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}},"./node_modules/scheduler/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/scheduler/cjs/scheduler.production.min.js")},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./node_modules/webpack/buildin/module.js":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./scripts/vendor.js":function(e,t,n){n("../../packages/hippy-react/dist/index.js")},0:function(e,t,n){e.exports=n}});