Files
2024-11-14 14:36:39 +08:00

53 lines
170 KiB
JavaScript

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,r){n.d(t,"Animated",(function(){return Nn})),n.d(t,"Animation",(function(){return qe})),n.d(t,"AnimationSet",(function(){return Je})),n.d(t,"AppRegistry",(function(){return wn})),n.d(t,"AsyncStorage",(function(){return er})),n.d(t,"BackAndroid",(function(){return tr})),n.d(t,"Clipboard",(function(){return rr})),n.d(t,"ConsoleModule",(function(){return yr})),n.d(t,"Dimensions",(function(){return wr})),n.d(t,"Easing",(function(){return Pn})),n.d(t,"EventBus",(function(){return Ie})),n.d(t,"Focusable",(function(){return Gn})),n.d(t,"Hippy",(function(){return vr})),n.d(t,"HippyEventEmitter",(function(){return xe})),n.d(t,"HippyEventListener",(function(){return ke})),n.d(t,"HippyRegister",(function(){return ar})),n.d(t,"Image",(function(){return Cn})),n.d(t,"ImageBackground",(function(){return br})),n.d(t,"ImageLoaderModule",(function(){return lr})),n.d(t,"ListView",(function(){return Tn})),n.d(t,"ListViewItem",(function(){return In})),n.d(t,"Modal",(function(){return qn})),n.d(t,"Navigator",(function(){return zn})),n.d(t,"NetInfo",(function(){return sr})),n.d(t,"NetworkModule",(function(){return ir})),n.d(t,"PixelRatio",(function(){return Er})),n.d(t,"Platform",(function(){return gr})),n.d(t,"PullFooter",(function(){return Ln})),n.d(t,"PullHeader",(function(){return _n})),n.d(t,"RefreshWrapper",(function(){return An})),n.d(t,"ScrollView",(function(){return $n})),n.d(t,"StyleSheet",(function(){return Wn})),n.d(t,"Text",(function(){return Sn})),n.d(t,"TextInput",(function(){return Mn})),n.d(t,"TimerModule",(function(){return mr})),n.d(t,"UIManagerModule",(function(){return ur})),n.d(t,"View",(function(){return En})),n.d(t,"ViewPager",(function(){return jn})),n.d(t,"WaterfallView",(function(){return Zn})),n.d(t,"WebSocket",(function(){return Xn})),n.d(t,"WebView",(function(){return Kn})),n.d(t,"callNative",(function(){return fr})),n.d(t,"callNativeWithCallbackId",(function(){return pr})),n.d(t,"callNativeWithPromise",(function(){return dr})),n.d(t,"colorParse",(function(){return Me})),n.d(t,"default",(function(){return bn})),n.d(t,"flushSync",(function(){return cr})),n.d(t,"removeNativeCallback",(function(){return hr}));var i=n("./node_modules/react/index.js"),o=n.n(i),a=n("./node_modules/@hippy/react-reconciler/index.js"),l=n.n(a);const s=["children"],u=["collapsable","style"],c=["style"],f=["children","style","imageStyle","imageRef","source","sources","src","srcs","tintColor","tintColors"],d=["children"],p=["children"],h=["children","style","renderRow","renderPullHeader","renderPullFooter","getRowType","getRowStyle","getHeaderStyle","getFooterStyle","getRowKey","dataSource","initialListSize","rowShouldSticky","onRowLayout","onHeaderPulling","onHeaderReleased","onFooterPulling","onFooterReleased","onAppear","onDisappear","onWillAppear","onWillDisappear"],m=["children"],y=["initialRoute"],g=["component"],v=["children","onPageScrollStateChanged"],b=["style","renderBanner","renderFooter","numberOfColumns","columnSpacing","interItemSpacing","numberOfItems","preloadItemNumber","renderItem","renderPullHeader","renderPullFooter","getItemType","getItemKey","getItemStyle","contentInset","onItemLayout","onHeaderPulling","onHeaderReleased","onFooterPulling","onFooterReleased","containPullHeader","containPullFooter","containBannerView"];function w(){w=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=RegExp(e,r);return t.set(o,i||t.get(e)),k(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){var i=r[n];if("number"==typeof i)t[n]=e[i];else{for(var o=0;void 0===e[i[o]]&&o+1<i.length;)o++;t[n]=e[i[o]]}return t}),Object.create(null))}return E(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=r(n,this);var i=n.indices;i&&(i.groups=r(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},w.apply(this,arguments)}function E(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}function k(e,t){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}
/*!
* @hippy/react vunspecified
* Build at: Thu Nov 14 2024 11:26:33 GMT+0800 (中国标准时间)
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2017-2024 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__={}),e.__GLOBAL__.nodeId=0,e.__GLOBAL__.animationId=0;const{asyncStorage:P,bridge:I,device:_,document:L,register:T,on:A,off:R,emit:z}=e.Hippy;var O=Object.freeze({__proto__:null,addEventListener:A,removeEventListener:R,dispatchEvent:z,AsyncStorage:P,Bridge:I,Device:_,HippyRegister:T,UIManager:L});let j,F;const H=new Map;function M(e,t){F=e,j=t}function B(){if(!F)throw new Error("getRootViewId must execute after setRootContainer");return F}function D(e){if(!j)return null;const{current:t}=j,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 U(e,t){H.set(t,e)}function W(e){H.delete(e)}function V(e){return(null==e?void 0:e.stateNode)||null}function $(e){return H.get(e)||null}function Q(t){!function(t,n){if(!e.requestIdleCallback)return setTimeout(()=>{t({didTimeout:!1,timeRemaining:()=>1/0})},1);e.requestIdleCallback(t,n)}(e=>{(e.timeRemaining()>0||e.didTimeout)&&function e(t){"number"==typeof t?W(t):t&&(W(t.nodeId),Array.isArray(t.childNodes)&&t.childNodes.forEach(t=>e(t)))}(t)},{timeout:50})}const q=0,G=1,K=-1,Y=1,X={onTouchStart:["onTouchStart","onTouchDown"],onPress:["onPress","onClick"]},J={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3},Z={onClick:"click",onLongClick:"longclick",onPressIn:"pressin",onPressOut:"pressout",onTouchDown:"touchstart",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchMove:"touchmove",onTouchCancel:"touchcancel"};const ee=new RegExp(/^\d+$/);let te=!1,ne=!1;function re(...e){ce()&&console.log(...e)}function ie(e){return e.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)))}const oe=new RegExp("^on.+Capture$");function ae(e){return oe.test(e)}const le=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function se(e){return"[object Function]"===Object.prototype.toString.call(e)}function ue(e){te=e}function ce(){return!1}function fe(){return ne}function de(e){if(e&&!/^(http|https):\/\//.test(e)&&e.indexOf("assets")>-1){0;return`${"hpfile://"}./${e}`}return e}function pe(e){return"string"==typeof e?""!==e.trim():null!=e}class he{constructor(e){this.handlerContainer={},this.nextIdForHandler=0,this.eventName=e}getEventListeners(){return Object.keys(this.handlerContainer).filter(e=>this.handlerContainer[e]).map(e=>this.handlerContainer[e])}getHandlerSize(){return Object.keys(this.handlerContainer).length}addEventHandler(e,t){if(!e)throw new TypeError("Invalid arguments for addEventHandler");const n=this.nextIdForHandler;this.nextIdForHandler+=1;const r={id:n,eventHandler:e,context:t},i="eventHandler_"+n;return this.handlerContainer[i]=r,n}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))})}removeEventHandler(e){if("number"!=typeof e)throw new TypeError("Invalid arguments for removeEventHandler");const t="eventHandler_"+e;this.handlerContainer[t]&&delete this.handlerContainer[t]}}class me{constructor(e,t,n){this.type=e,this.bubbles=!0,this.currentTarget=t,this.target=n}stopPropagation(){this.bubbles=!1}preventDefault(){}}const ye=new Map,ge=["%c[event]%c","color: green","color: auto"];function ve(e,t){return!(!t.memoizedProps||"function"!=typeof t.memoizedProps[e])}function be(e){if("string"!=typeof e)throw new TypeError("Invalid eventName for getHippyEventHub: "+e);return ye.get(e)||null}const we={registerNativeEventHub:function(e){if(re(...ge,"registerNativeEventHub",e),"string"!=typeof e)throw new TypeError("Invalid eventName for registerNativeEventHub: "+e);let t=ye.get(e);return t||(t=new he(e),ye.set(e,t)),t},getHippyEventHub:be,unregisterNativeEventHub:function(e){if("string"!=typeof e)throw new TypeError("Invalid eventName for unregisterNativeEventHub: "+e);ye.has(e)&&ye.delete(e)},receiveNativeEvent:function(e){if(re(...ge,"receiveNativeEvent",e),!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 for nativeEvent eventName");const r=be(t);r&&r.notifyEvent(n)},receiveComponentEvent:function(e,t){if(re(...ge,"receiveComponentEvent",e),!e||!t)return;const{id:n,currentId:r,nativeName:i,originalName:o,params:a={}}=e,l=$(r),s=$(n);l&&s&&(Z[i]?function(e,t,n,r,i,o){try{let t=!1;const a=V(r),l=V(n),{eventPhase:s}=o;if(ve(e,n)&&ae(e)&&[J.AT_TARGET,J.CAPTURING_PHASE].indexOf(s)>-1){const t=new me(e,l,a);Object.assign(t,{eventPhase:s},i),n.memoizedProps[e](t),!t.bubbles&&o&&o.stopPropagation()}if(ve(e,n)&&!ae(e)&&[J.AT_TARGET,J.BUBBLING_PHASE].indexOf(s)>-1){const r=new me(e,l,a);Object.assign(r,{eventPhase:s},i),t=n.memoizedProps[e](r),"boolean"!=typeof t&&(t=!fe()),r.bubbles||(t=!0),t&&o&&o.stopPropagation()}}catch(e){console.error(e)}}(o,0,l,s,a,t):function(e,t,n,r,i,o){let a=!1;const l=V(r),s=V(n);try{const{eventPhase:t}=o;if(ve(e,n)&&!ae(e)&&[J.AT_TARGET,J.BUBBLING_PHASE].indexOf(t)>-1){const r=new me(e,s,l);Object.assign(r,{eventPhase:t},i),n.memoizedProps[e](r),a=!fe(),r.bubbles||(a=!0),a&&o&&o.stopPropagation()}}catch(e){console.error(e)}}(o,0,l,s,a,t))}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=we);class Ee{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 ke{constructor(e){this.eventName=e,this.listenerIdList=[]}unregister(){const e=we.getHippyEventHub(this.eventName);if(!e)throw new ReferenceError("No listeners for "+this.eventName);const t=this.listenerIdList.length;for(let n=0;n<t;n+=1)e.removeEventHandler(this.listenerIdList[n]);this.listenerIdList=[],0===e.getHandlerSize()&&we.unregisterNativeEventHub(this.eventName)}getSize(){return this.listenerIdList.length}addCallback(e,t){if("function"!=typeof e)throw new TypeError("Invalid addCallback function arguments");const n=we.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 in addCallback function");return this.listenerIdList.push(r),r}removeCallback(e){if("number"!=typeof e)throw new TypeError("Invalid arguments for removeCallback");const t=we.getHippyEventHub(this.eventName);if(!t)throw new ReferenceError("No listeners for "+this.eventName);t.removeEventHandler(e);const n=this.listenerIdList.length;for(let t=0;t<n;t+=1)if(e===this.listenerIdList[t]){this.listenerIdList.splice(t,1);break}}}function Se(e){if("string"!=typeof e)throw new TypeError("Invalid arguments for getNameForEvent");return"eventEmitter_"+e}class xe{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 for addListener");let r=this.hippyEventListeners[Se(e)];r||(r=new ke(e),this.hippyEventListeners[Se(e)]=r);const i=r.addCallback(t,n);if("number"!=typeof i)throw new Error("Fail to addCallback in addListener");return new Ee(i,r)}removeAllListeners(e){if("string"!=typeof e)throw new TypeError("Invalid arguments for removeAllListeners");const t=this.hippyEventListeners[Se(e)];t&&(t.unregister(),delete this.hippyEventListeners[Se(e)])}emit(e,t){if("string"!=typeof e)return!1;const n=we.getHippyEventHub(e);return!!n&&(n.notifyEvent(t),!0)}listenerSize(e){if("string"!=typeof e)throw new TypeError("Invalid arguments for listenerSize");const t=this.hippyEventListeners[Se(e)];return t?t.getSize():0}}xe.emit=xe.prototype.emit;const Ce={};function Ne(e,t,n){Ce[e]||(Ce[e]={eventListener:new ke(e),eventMap:new Map});const{eventListener:r,eventMap:i}=Ce[e],o=r.addCallback(t,n);if("number"!=typeof o)throw new Error("Fail to addCallback in addListener");i.set(t,o)}function Pe(e,t){const n=Ce[e];if(!n)return;const{eventListener:r,eventMap:i}=n;if(t){const n=i.get(t);if("number"!=typeof n)return;r.removeCallback(n),i.delete(t),0===i.size&&delete Ce[e]}else r.unregister(),i.clear(),delete Ce[e]}const Ie={on:(e,t,n)=>{if("string"!=typeof e&&!Array.isArray(e)||"function"!=typeof t)throw new TypeError("Invalid arguments for EventBus.on()");return Array.isArray(e)?e.forEach(e=>{Ne(e,t,n)}):Ne(e,t,n),Ie},off:(e,t)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("The event argument is not string or array for EventBus.off()");return Array.isArray(e)?e.forEach(e=>{Pe(e,t)}):Pe(e,t),Ie},sizeOf(e){if("string"!=typeof e)throw new TypeError("The event argument is not string for EventBus.sizeOf()");const t=Ce[e];return(null==t?void 0:t.eventMap)?t.eventMap.size:0},emit(e,...t){if("string"!=typeof e)throw new TypeError("The event argument is not string for EventBus.emit()");const n=we.getHippyEventHub(e);return n?(n.notifyEvent(...t),Ie):Ie}};function _e(...e){return`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`}const Le={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},Te="[-+]?\\d*\\.?\\d+",Ae={rgb:new RegExp("rgb"+_e(Te,Te,Te)),rgba:new RegExp("rgba"+_e(Te,Te,Te,Te)),hsl:new RegExp("hsl"+_e(Te,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+_e(Te,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Te)),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 Re(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ze(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Oe(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 je(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Oe(i,r,e+1/3),a=Oe(i,r,e),l=Oe(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*l)<<8}function Fe(e){return(parseFloat(e)%360+360)%360/360}function He(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Me(e){if(Number.isInteger(e))return e;let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ae.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(Le,e)?Le[e]:(t=Ae.rgb.exec(e),Array.isArray(t)?(Re(t[1])<<24|Re(t[2])<<16|Re(t[3])<<8|255)>>>0:(t=Ae.rgba.exec(e),t?(Re(t[1])<<24|Re(t[2])<<16|Re(t[3])<<8|ze(t[4]))>>>0:(t=Ae.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Ae.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=Ae.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Ae.hsl.exec(e),t?(255|je(Fe(t[1]),He(t[2]),He(t[3])))>>>0:(t=Ae.hsla.exec(e),t?(je(Fe(t[1]),He(t[2]),He(t[3]))|ze(t[4]))>>>0:null))))))))}(e);return null===t?0:(t=(t<<24|t>>>8)>>>0,t)}function Be(e){return Array.isArray(e)?e.map(e=>Me(e)):[0]}function De(e){return"loop"===e?-1:e}function Ue(e,t){return"color"===e&&["number","string"].indexOf(typeof t)>=0?Me(t):t}const We="animationstart",Ve="animationend",$e="animationcancel",Qe="animationrepeat";class qe{constructor(t){var n;let r;if((null===(n=t.startValue)||void 0===n?void 0:n.constructor)&&"Animation"===t.startValue.constructor.name)r={animationId:t.startValue.animationId};else{const{startValue:e}=t;r=Ue(t.valueType,e)}const i=Ue(t.valueType,t.toValue);this.mode=t.mode||"timing",this.delay=t.delay||0,this.startValue=r||0,this.toValue=i||0,this.valueType=t.valueType||void 0,this.duration=t.duration||0,this.direction=t.direction||"center",this.timingFunction=t.timingFunction||"linear",this.repeatCount=De(t.repeatCount||0),this.inputRange=t.inputRange||[],this.outputRange=t.outputRange||[],this.animation=new e.Hippy.Animation(Object.assign({mode:this.mode,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.animationId=this.animation.getId(),this.destroy=this.destroy.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(){if(!this.animation)throw new Error("animation has not been initialized yet");"function"==typeof this.onAnimationStartCallback&&this.animation.removeEventListener(We),"function"==typeof this.onAnimationEndCallback&&this.animation.removeEventListener(Ve),"function"==typeof this.onAnimationCancelCallback&&this.animation.removeEventListener($e),"function"==typeof this.onAnimationRepeatCallback&&this.animation.removeEventListener(Qe)}start(){if(!this.animation)throw new Error("animation has not been initialized yet");this.removeEventListener(),"function"==typeof this.onAnimationStartCallback&&this.animation.addEventListener(We,()=>{"function"==typeof this.onAnimationStartCallback&&this.onAnimationStartCallback()}),"function"==typeof this.onAnimationEndCallback&&this.animation.addEventListener(Ve,()=>{"function"==typeof this.onAnimationEndCallback&&this.onAnimationEndCallback()}),"function"==typeof this.onAnimationCancelCallback&&this.animation.addEventListener($e,()=>{"function"==typeof this.onAnimationCancelCallback&&this.onAnimationCancelCallback()}),"function"==typeof this.onAnimationRepeatCallback&&this.animation.addEventListener(Qe,()=>{"function"==typeof this.onAnimationRepeatCallback&&this.onAnimationRepeatCallback()}),this.animation.start()}destroy(){if(!this.animation)throw new Error("animation has not been initialized yet");this.animation.destroy()}pause(){if(!this.animation)throw new Error("animation has not been initialized yet");this.animation.pause()}resume(){if(!this.animation)throw new Error("animation has not been initialized yet");this.animation.resume()}updateAnimation(e){if(!this.animation)throw new Error("animation has not been initialized yet");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;if(e.startValue instanceof qe)t={animationId:e.startValue.animationId};else{const{startValue:n}=e;t=Ue(this.valueType,n)}this.startValue=t||0}else"repeatCount"===t?this.repeatCount=De(e.repeatCount||0):Object.defineProperty(this,t,{value:n})}),this.animation.updateAnimation(Object.assign({mode:this.mode,delay:this.delay,startValue:this.startValue,toValue:Ue(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="animationstart",Ke="animationend",Ye="animationcancel",Xe="animationrepeat";class Je{constructor(t){this.animationList=[],null==t||t.children.forEach(e=>{this.animationList.push({animationId:e.animation.animationId,follow:e.follow||!1})}),this.animation=new e.Hippy.AnimationSet({repeatCount:De(t.repeatCount||0),children:this.animationList}),this.animationId=this.animation.getId(),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(){if(!this.animation)throw new Error("animation has not been initialized yet");"function"==typeof this.onAnimationStartCallback&&this.animation.removeEventListener(Ge),"function"==typeof this.onAnimationEndCallback&&this.animation.removeEventListener(Ke),"function"==typeof this.onAnimationCancelCallback&&this.animation.removeEventListener(Ye),"function"==typeof this.onAnimationCancelCallback&&this.animation.removeEventListener(Xe)}start(){if(!this.animation)throw new Error("animation has not been initialized yet");this.removeEventListener(),"function"==typeof this.onAnimationStartCallback&&this.animation.addEventListener(Ge,()=>{"function"==typeof this.onAnimationStartCallback&&this.onAnimationStartCallback()}),"function"==typeof this.onAnimationEndCallback&&this.animation.addEventListener(Ke,()=>{"function"==typeof this.onAnimationEndCallback&&this.onAnimationEndCallback()}),"function"==typeof this.onAnimationCancelCallback&&this.animation.addEventListener(Ye,()=>{"function"==typeof this.onAnimationCancelCallback&&this.onAnimationCancelCallback()}),"function"==typeof this.onAnimationRepeatCallback&&this.animation.addEventListener(Ye,()=>{"function"==typeof this.onAnimationRepeatCallback&&this.onAnimationRepeatCallback()}),this.animation.start()}destory(){this.destroy()}destroy(){if(!this.animation)throw new Error("animation has not been initialized yet");this.animation.destroy()}pause(){if(!this.animation)throw new Error("animation has not been initialized yet");this.animation.pause()}resume(){if(!this.animation)throw new Error("animation has not been initialized yet");this.animation.resume()}onAnimationStart(e){this.onAnimationStartCallback=e}onAnimationEnd(e){this.onAnimationEndCallback=e}onAnimationCancel(e){this.onAnimationCancelCallback=e}onAnimationRepeat(e){this.onAnimationRepeatCallback=e}}const Ze={createNode:Symbol("createNode"),updateNode:Symbol("updateNode"),deleteNode:Symbol("deleteNode"),moveNode:Symbol("moveNode")};let et=!0,tt=[];function nt(e=[],t){e.forEach(e=>{if(e){const{id:n,eventList:r}=e;r.forEach(e=>{const{name:r,type:i,listener:o,isCapture:a}=e;let l;l=function(e){return!!Z[e]}(r)?Z[r]:function(e){return e.replace(/^(on)?/g,"").toLocaleLowerCase()}(r),i===G&&t.removeEventListener(n,l,o),i===q&&t.addEventListener(n,l,o,a)})}})}function rt(e,t){0}function it(t){const n=function(e){const t=[];for(let n=0;n<e.length;n+=1){const r=e[n],{type:i,nodes:o,eventNodes:a,printedNodes:l}=r,s=t[t.length-1];s&&s.type===i?(s.nodes=s.nodes.concat(o),s.eventNodes=s.eventNodes.concat(a),s.printedNodes=s.printedNodes.concat(l)):t.push({type:i,nodes:o,eventNodes:a,printedNodes:l})}return t}(tt),r=new e.Hippy.SceneBuilder(t);n.forEach(e=>{switch(e.type){case Ze.createNode:rt(e.printedNodes),r.create(e.nodes),nt(e.eventNodes,r);break;case Ze.updateNode:rt(e.printedNodes),r.update(e.nodes),nt(e.eventNodes,r);break;case Ze.deleteNode:rt(e.printedNodes),r.delete(e.nodes);break;case Ze.moveNode:rt(e.printedNodes),r.move(e.nodes)}}),r.build()}function ot(e=!1){if(!et)return;if(et=!1,0===tt.length)return void(et=!0);const t=B();e?(it(t),tt=[],et=!0):Promise.resolve().then(()=>{it(t),tt=[],et=!0})}function at(e){const t=e.attributes,{children:n}=t;return N(t,s)}function lt(e,t,n={}){var r;if(!t.nativeName)return[];if(t.meta.skipAddToDom)return[];if(!t.meta.component)throw new Error("Specific tag is not supported yet: "+t.tagName);let i=t.style;if(t.parentNode instanceof kt){const e=Object.assign({},t.parentNode.inheritStyle,t.parentNode.style),{style:n,inheritStyle:r}=t;["color","fontSize","fontWeight","fontFamily","fontStyle","textAlign","lineHeight"].forEach(t=>{!pe(n[t])&&pe(e[t])&&(r[t]=e[t])}),function(e){return e&&"Text"===e.nativeName||-1!==["p","span"].indexOf(e.tagName)}(t)&&(i=Object.assign({},r,n))}const o={id:t.nodeId,pId:(null===(r=t.parentNode)||void 0===r?void 0:r.nodeId)||e,name:t.nativeName,props:x(x({},at(t)),{},{style:i}),tagName:t.tagName},a=function(e){let t=void 0;const n=e.events;if(n){const r=[];Object.keys(n).forEach(t=>{const{name:i,type:o,isCapture:a,listener:l}=n[t];e.isListenerHandled(t,o)||(e.setListenerHandledType(t,o),r.push({name:i,type:o,isCapture:a,listener:l}))}),t={id:e.nodeId,eventList:r}}return t}(t);let l=void 0;return[[o,n],a,l]}function st(e,t,n,r={}){const i=[],o=[],a=[];return t.traverseChildren((t,r)=>{const[l,s,u]=lt(e,t,r);l&&i.push(l),s&&o.push(s),u&&a.push(u),"function"==typeof n&&n(t)},r),[i,o,a]}function ut(e){return!!j&&e instanceof j.containerInfo.constructor}function ct(e,t,n={}){if(!e||!t)return;if(t.meta.skipAddToDom)return;const r=B(),i=ut(e)&&!e.isMounted,o=e.isMounted&&!t.isMounted;if(i||o){const[e,i,o]=st(r,t,e=>{e.isMounted||(e.isMounted=!0)},n);tt.push({type:Ze.createNode,nodes:e,eventNodes:i,printedNodes:o})}}function ft(e){if(!e.isMounted)return;const t=B(),[n,r,i]=lt(t,e);n&&tt.push({type:Ze.updateNode,nodes:[n],eventNodes:[r],printedNodes:[]})}function dt(e){if(!e.isMounted)return;const t=B(),[n,r,i]=st(t,e)||{};n&&tt.push({type:Ze.updateNode,nodes:n,eventNodes:r,printedNodes:i})}let pt=0;class ht{constructor(){this.meta={component:{}},this.index=0,this.childNodes=[],this.parentNode=null,this.mounted=!1,this.nodeId=(pt+=1,pt%10==0&&(pt+=1),pt)}toString(){return this.constructor.name}get isMounted(){return this.mounted}set isMounted(e){this.mounted=e}insertBefore(e,t){if(!e)throw new Error("Can't insert child.");if(e.meta.skipAddToDom)return;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,this.childNodes.splice(n,0,e),ct(this,e,{refId:t.nodeId,relativeToRef:K})}moveChild(e,t){if(!e)throw new Error("Can't move child.");if(e.meta.skipAddToDom)return;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);if(this.childNodes.indexOf(t)===n)return e;this.childNodes.splice(n,1);const r=this.childNodes.indexOf(t);return this.childNodes.splice(r,0,e),function(e,t,n={}){if(!e||!t)return;if(t.meta.skipAddToDom)return;const r=B(),i={id:t.nodeId,pId:t.parentNode?t.parentNode.nodeId:r},o=[[i,n]],a=[];tt.push({printedNodes:a,type:Ze.moveNode,nodes:o,eventNodes:[]})}(this,e,{refId:t.nodeId,relativeToRef:K})}appendChild(e){if(!e)throw new Error("Can't append child.");if(e.meta.skipAddToDom)return;if(e.parentNode&&e.parentNode!==this)throw new Error("Can't append child, because it already has a different parent.");e.parentNode=this;const t=this.childNodes.length-1,n=this.childNodes[t];this.childNodes.push(e),ct(this,e,n&&{refId:n.nodeId,relativeToRef:Y})}removeChild(e){if(!e)throw new Error("Can't remove child.");if(e.meta.skipAddToDom)return;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.");const t=this.childNodes.indexOf(e);this.childNodes.splice(t,1),function(e,t){if(!t||t.meta.skipAddToDom)return;t.isMounted=!1;const n=B(),r={id:t.nodeId,pId:t.parentNode?t.parentNode.nodeId:n},i=[[r,{}]],o=[];tt.push({printedNodes:o,type:Ze.deleteNode,nodes:i,eventNodes:[]})}(0,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,t){e(this,t),this.childNodes.length&&this.childNodes.forEach(t=>{this.traverseChildren.call(t,e,{})})}}const mt={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},yt={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},gt="turn",vt="rad",bt="deg";function wt(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=w(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return;let r="180";const[i,o,a]=n;return o&&a?r=function(e,t=bt){const n=parseFloat(e);let r=e||"";const[,i]=e.split(".");switch(i&&i.length>2&&(r=n.toFixed(2)),t){case gt:r=""+(360*n).toFixed(2);break;case vt:r=""+(180/Math.PI*n).toFixed(2)}return r}(o,a):i&&void 0!==yt[i]&&(r=yt[i]),r}function Et(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:Me(n)}:void 0:{color:Me(n)}}class kt extends ht{constructor(e){super(),this.id="",this.style={},this.inheritStyle={},this.attributes={},this.events={},this.tagName=e}get nativeName(){return this.meta.component.name}toString(){return`${this.tagName}:(${this.nativeName})`}setListenerHandledType(e,t){this.events[e]&&(this.events[e].handledType=t)}isListenerHandled(e,t){return!this.events[e]||t===this.events[e].handledType}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,ee.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=x(x({},n),e)}):"object"==typeof e&&e&&(n=x(x({},n),e))}),Object.keys(n).forEach(e=>{const t=n[e];if(Object.prototype.hasOwnProperty.call(mt,e)&&(e=mt[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 qe||r instanceof Je?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 qe||t instanceof Je)this.style[e]={animationId:t.animationId};else if(e.toLowerCase().indexOf("colors")>-1)this.style[e]=Be(t);else if(e.toLowerCase().indexOf("color")>-1)this.style[e]=Me(t);else if("fontWeight"===e&&t)this.style[e]="string"!=typeof t?t.toString():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=wt(e);if(t)n.linearGradient.angle=t;else{n.linearGradient.angle="180";const t=Et(e);t&&r.push(t)}}else{const t=Et(e);t&&r.push(t)}}),n.linearGradient.colorStopList=r}else n[e]=de(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})}setAttributes(e=[]){Array.isArray(e)&&e.length>0&&(e.forEach(e=>{if(Array.isArray(e)){const[t,n]=e;this.setAttribute(t,n,{notToNative:!0})}}),ft(this))}parseAnimationStyleProp(e){let t=!1;Object.keys(e).some(n=>{const r=e[n];if(r&&Array.isArray(r)&&"transform"===n)for(let e=0;e<r.length;e+=1){const n=r[e];for(const e in n){const r=n[e];if("object"==typeof r&&null!==r&&Number.isInteger(r.animationId))return t=!0,!0}}return!("object"!=typeof r||null===r||!Number.isInteger(r.animationId))&&(t=!0,!0)}),t?this.attributes.useAnimation=!0:"boolean"==typeof this.attributes.useAnimation&&(this.attributes.useAnimation=void 0)}parseAttributeProp(e,t){let n=!1;return[{match:()=>["id"].indexOf(e)>=0,action:()=>(t===this.id||(this.id=t,dt(this)),!0)},{match:()=>["value","defaultValue","placeholder"].indexOf(e)>=0,action:()=>(this.attributes[e]=ie(t),!1)},{match:()=>["text"].indexOf(e)>=0,action:()=>(this.attributes[e]=t,!1)},{match:()=>["style"].indexOf(e)>=0,action:()=>{if("object"!=typeof t||null==t)return!0;this.setStyleAttribute(t);return["color","fontSize","fontWeight","fontFamily","fontStyle","textAlign","lineHeight"].some(e=>Object.prototype.hasOwnProperty.call(t,e))&&dt(this),!1}},{match:()=>!0,action:()=>{if("function"==typeof t){const t=function(e){return ae(e)&&(e=e.replace("Capture","")),X[e]?X[e][1]:e}(e);this.events[e]?this.events[e]&&this.events[e].type!==q&&(this.events[e].type=q):this.events[e]={name:t,type:q,isCapture:ae(e),listener:(n=t,r=e,e=>{const{id:t,currentId:i,params:o,eventPhase:a}=e,l={id:t,nativeName:n,originalName:r,params:o,currentId:i,eventPhase:a};we.receiveComponentEvent(l,e)})}}else{if(function(e,t){return void 0!==t&&"object"==typeof t[e]&&!!t[e]}(e,this.events)&&"function"!=typeof t)return this.events[e].type=G,!1;this.attributes[e]=t}var n,r;return!1}}].some(e=>!!e.match()&&(n=e.action(),!0)),n}setAttribute(e,t,n={}){try{if("boolean"==typeof this.attributes[e]&&""===t&&(t=!0),void 0===e)return void(!n.notToNative&&ft(this));if(this.parseAttributeProp(e,t))return;this.parseAnimationStyleProp(this.style),!n.notToNative&&ft(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(mt,e)&&(i=mt[e]),"string"==typeof r&&(r=t.trim(),r=i.toLowerCase().indexOf("colors")>-1?Be(r):i.toLowerCase().indexOf("color")>-1?Me(r):function(e){if("number"==typeof e)return e;if("string"==typeof e&&le.test(e))try{return parseFloat(e)}catch(t){return e}return e}(r)),null!=r&&this.style[i]!==r&&(this.style[i]=r,n||ft(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)}),ft(this),ot(!0)}}}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=ie(e)).replace(/&nbsp;/g," ").replace(/Â/g," "),"textarea"===this.tagName?this.setAttribute("value",e):this.setAttribute("text",e)):null}}class St extends ht{constructor(){super(),this.documentElement=new kt("document")}createElement(e){return new kt(e)}createElementNS(e,t){return new kt(`${e}:${t}`)}}St.createElement=St.prototype.createElement,St.createElementNS=St.prototype.createElementNS;var xt=Array.isArray,Ct=Object.keys,Nt=Object.prototype.hasOwnProperty;const Pt=setTimeout,It=clearTimeout;var _t=Object.freeze({__proto__:null,commitMutationEffectsBegin:function(){},commitMutationEffectsComplete:function(){ot(!0)},getCurrentEventPriority:function(){return 16},scheduleTimeout:Pt,cancelTimeout:It,noTimeout:-1,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(){},commitMount:function(){},commitTextUpdate:function(){},commitUpdate:function(e,t,n,r,i,o){U(o,e.nodeId);const a=Object.keys(t||{});if(0===a.length)return;const l=a.map(e=>[e,t[e]]);e.setAttributes(l)},clearContainer:function(){},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),U(i,o.nodeId),o},createTextInstance:function(e,t,n,r){const i=t.createElement("p");return i.setAttribute("text",ie(e)),i.meta={component:{name:"Text"}},U(r,i.nodeId),i},detachDeletedInstance:function(){},finalizeContainerChildren:function(){},finalizeInitialChildren:function(){return!0},getChildHostContext:function(){return{}},getPublicInstance:function(e){return e},getInstanceFromNode:function(){throw new Error("Not yet implemented.")},getFundamentalComponentInstance:function(){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(){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(){throw new Error("Not yet implemented")},makeClientId:function(){throw new Error("Not yet implemented")},makeClientIdInDEV:function(){throw new Error("Not yet implemented")},makeOpaqueHydratingObject:function(){throw new Error("Not yet implemented.")},mountFundamentalComponent:function(){throw new Error("Not yet implemented.")},prepareForCommit:function(){return null},preparePortalMount:function(){},prepareUpdate:function(e,t,n,r){const i={};return Object.keys(n).forEach(e=>{const t=n[e],o=r[e];null!=t&&null==o&&(i[e]=o)}),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:null!=o&&null==t?i[e]=o:"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,f=n instanceof RegExp;if(c!=f)return!1;if(c&&f)return t.toString()==n.toString();var d=Ct(t);if((i=d.length)!==Ct(n).length)return!1;for(r=i;0!=r--;)if(!Nt.call(n,d[r]))return!1;for(r=i;0!=r--;)if(!e(t[o=d[r]],n[o]))return!1;return!0}return t!=t&&n!=n}(t,o)||(i[e]=o)}}),i},replaceContainerChildren:function(){},removeChild:function(e,t){e.removeChild(t),Q(t)},removeChildFromContainer:function(e,t){e.removeChild(t),Q(t)},resetAfterCommit:function(){},resetTextContent:function(){},unmountFundamentalComponent:function(){throw new Error("Not yet implemented.")},updateFundamentalComponent:function(){throw new Error("Not yet implemented.")},unhideTextInstance:function(){throw new Error("Not yet implemented.")},unhideInstance:function(e,t){const n=x(x({},t),{},{style:x(x({},t.style),{},{display:"flex"})});Object.keys(n).forEach(t=>e.setAttribute(t,n[t]))},shouldDeprioritizeSubtree:function(){return!0},shouldUpdateFundamentalComponent:function(){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 Lt=l()(x(x({},_t),{},{clearTimeout:clearTimeout,setTimeout:setTimeout,isPrimaryRenderer:!0,noTimeout:-1,supportsMutation:!0,supportsHydration:!1,supportsPersistence:!1,now:Date.now,scheduleDeferredCallback:()=>{},cancelDeferredCallback:()=>{}}));var Tt=Object.freeze({__proto__:null,getString:function(){return I.callNativeWithPromise("ClipboardModule","getString")},setString:function(e){I.callNative("ClipboardModule","setString",e)}});var At=Object.freeze({__proto__:null,getCookies:function(e){return I.callNativeWithPromise("network","getCookie",e)},setCookie:function(e,t,n){let r="";"string"==typeof n&&(r=n),n instanceof Date&&(r=n.toUTCString()),I.callNative("network","setCookie",e,t,r)}});function Rt(e){return I.callNativeWithPromise("ImageLoaderModule","getSize",e)}function zt(e){I.callNative("ImageLoaderModule","prefetch",e)}var Ot=Object.freeze({__proto__:null,getSize:Rt,prefetch:zt});const jt=new Map,Ft=new xe;class Ht{constructor(e,t){this.eventName=e,this.listener=t}remove(){this.eventName&&this.listener&&(Mt(this.eventName,this.listener),this.listener=void 0)}}function Mt(e,t){if(t instanceof Ht)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange");const r=jt.get(t);if(!r)return;r.remove(),jt.delete(t);Ft.listenerSize(n)<1&&I.callNative("NetInfo","removeListener",n)}var Bt=Object.freeze({__proto__:null,addEventListener:function(e,t){let n=e;n&&"change"===n&&(n="networkStatusDidChange"),Ft.listenerSize(n)<1&&I.callNative("NetInfo","addListener",n);const r=Ft.addListener(n,e=>{t(e)});return jt.set(t,r),new Ht(n,t)},removeEventListener:Mt,fetch:function(){return I.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(e=>e.network_info)}});const{createNode:Dt,updateNode:Ut,deleteNode:Wt,flushBatch:Vt,endBatch:$t,sendRenderError:Qt}=L,qt=["%c[native]%c","color: red","color: auto"],Gt=function(e){return D(t=>t.stateNode&&t.stateNode.nodeId===e)};function Kt(e){if(e instanceof kt)return e;if(!e)return null;const t=e._reactInternalFiber||e._reactInternals;if(null==t?void 0:t.child){let e=t.child;for(;e&&!(e.stateNode instanceof kt);)e=e.child;return e&&e.stateNode?e.stateNode:null}return null}function Yt(e){let t=e;if("string"==typeof e){const n=D(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=Kt(t);return e?e.nodeId:0}return t.nodeId}function Xt(e,t,...n){let{nativeName:r,nodeId:i}=e;if(!i||!r){const t=Kt(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;se(o)&&(a=o,o=[]);null!==B()&&(re(...qt,"callUIFunction",{nodeId:i,funcName:t,paramList:o}),L.callUIFunction(i,t,o,a))}function Jt(e,t,n){const r=Yt(t);return new Promise((t,i)=>r?(re(...qt,"callUIFunction",{nodeId:r,funcName:e,paramList:[]}),L.callUIFunction(r,e,[],e=>(n&&se(n)&&n(e),"this view is null"===e?i(new Error("Android cannot get the node")):t(e)))):(n&&se(n)&&n("this view is null"),i(new Error(e+" cannot get nodeId"))))}var Zt=Object.freeze({__proto__:null,createNode:Dt,updateNode:Ut,deleteNode:Wt,flushBatch:Vt,endBatch:$t,sendRenderError:Qt,getNodeById:Gt,getNodeIdByRef:Yt,getElementFromFiberRef:Kt,callUIFunction:Xt,getBoundingClientRect:function(e,t){const n=Yt(e);return new Promise((r,i)=>n?(re(...qt,"callUIFunction",{nodeId:n,funcName:"getBoundingClientRect",params:t}),L.callUIFunction(n,"getBoundingClientRect",[t],e=>{if(!e||e.errMsg)return i(new Error((null==e?void 0:e.errMsg)||"getBoundingClientRect error with no response"));const{x:t,y:n,width:o,height:a}=e;let l=void 0,s=void 0;return"number"==typeof n&&"number"==typeof a&&(l=n+a),"number"==typeof t&&"number"==typeof o&&(s=t+o),r({x:t,y:n,width:o,height:a,bottom:l,right:s,left:t,top:n})})):i(new Error("getBoundingClientRect cannot get nodeId of "+e)))},measureInWindow:function(e,t){return Jt("measureInWindow",e,t)},measureInAppWindow:function(e,t){return"android"===_.platform.OS?Jt("measureInWindow",e,t):Jt("measureInAppWindow",e,t)}});const en=new xe,tn=new Set,nn={exitApp(){I.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(I.callNative("DeviceEventModule","setListenBackPress",!0),tn.add(e),{remove(){nn.removeListener(e)}}),removeListener(e){tn.delete(e),0===tn.size&&I.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){en.addListener("hardwareBackPress",()=>{let e=!0;[...tn].reverse().every(t=>"function"!=typeof t||!t()||(e=!1,!1)),e&&nn.exitApp()})}},rn=(nn.initEventListener(),nn),{flushSync:on}=Lt,{addEventListener:an,removeEventListener:ln,dispatchEvent:sn,AsyncStorage:un,Bridge:cn,Device:fn,HippyRegister:dn}=O;var pn=Object.freeze({__proto__:null,addEventListener:an,removeEventListener:ln,dispatchEvent:sn,AsyncStorage:un,BackAndroid:rn,Bridge:cn,Clipboard:Tt,Cookie:At,Device:fn,HippyRegister:dn,ImageLoader:Ot,NetworkInfo:Bt,UIManager:Zt,flushSync:on});const{createContainer:hn,updateContainer:mn,getPublicRootInstance:yn,injectIntoDevTools:gn}=Lt,vn=['%c[Hippy-React "unspecified"]%c',"color: #61dafb","color: auto"];class bn{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 St;this.rootContainer=hn(t,0,!1,null)}static get Native(){return pn}start(){dn.regist(this.config.appName,this.render)}render(e){const{appName:t,entryPage:n,silent:r=!1,bubbles:i=!1,callback:a=(()=>{})}=this.config,{__instanceId__:l}=e;re(...vn,"Start",t,"with rootViewId",l,e),this.rootContainer.containerInfo.nodeId=l,r&&ue(r),i&&function(e=!1){ne=e}(i),M(l,this.rootContainer);const s=o.a.createElement(n,e);return mn(s,this.rootContainer,null,a),yn(this.rootContainer)}}bn.version="unspecified";const wn={registerComponent(e,t){new bn({appName:e,entryPage:t}).start()}};class En extends o.a.Component{constructor(){super(...arguments),this.instance=null}setPressed(e){Xt(this.instance,"setPressed",[e])}setHotspot(e,t){Xt(this.instance,"setHotspot",[e,t])}render(){const e=this.props,{collapsable:t,style:n={}}=e,r=N(e,u),i=n,{nativeBackgroundAndroid:a}=r;return"boolean"==typeof t&&(i.collapsable=t),void 0!==(null==a?void 0:a.color)&&(a.color=Me(a.color)),o.a.createElement("div",x({ref:e=>{this.instance=e},nativeName:"View",style:i},r))}}function kn(e,t){let{style:n}=e,r=N(e,c);const i=n;if(n&&(Array.isArray(n)?-1===n.filter(e=>"object"==typeof e&&e).findIndex(e=>e.color||e.colors)&&(i[0].color="#000"):"object"==typeof n&&void 0===n.color&&void 0===n.colors&&(i.color="#000")),r.text="","string"==typeof r.children)r.text=ie(r.children);else if("number"==typeof r.children)r.text=ie(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=ie(e),r.children=r.text)}return o.a.createElement("p",x({ref:t,nativeName:"Text",style:i},r))}kn.displayName="Text";const Sn=o.a.forwardRef(kn);Sn.displayName="Text";var xn=Object.freeze({__proto__:null,default:Sn});class Cn extends o.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=Rt(e);return"function"==typeof t&&r.then(e=>t(e.width,e.height)),"function"==typeof n?r.catch(n):r.catch(e=>{}),r}render(){const e=this.props,{children:t,style:n,imageStyle:r,imageRef:i,source:a,sources:l,src:s,srcs:u,tintColor:c,tintColors:d}=e,p=N(e,f),h=this.getImageUrls({src:s,srcs:u,source:a,sources:l});1===h.length?[p.src]=h:h.length>1&&(p.srcs=h),"string"==typeof p.defaultSource&&(p.defaultSource.indexOf("data:image/"),p.defaultSource=de(p.defaultSource));const m=x({},n);return this.handleTintColor(m,c,d),p.style=m,t?o.a.createElement(En,{style:n},o.a.createElement("img",x(x({},p),{},{nativeName:"Image",alt:"",ref:i,style:[{position:"absolute",left:0,right:0,top:0,bottom:0,width:n.width,height:n.height},r]})),t):o.a.createElement("img",x(x({},p),{},{nativeName:"Image",alt:"",ref:i}))}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=>de(e))),i}handleTintColor(e,t,n){t&&Object.assign(e,{tintColor:t}),Array.isArray(n)&&Object.assign(e,{tintColors:n})}}Cn.prefetch=zt;class Nn{constructor(){this.Value=Nn.Value}static Value(e){return e}static timing(e,t){return new qe({mode:"timing",delay:0,startValue:e,toValue:t.toValue,duration:t.duration,timingFunction:t.easing||"linear"})}}Nn.View=En,Nn.Text=xn,Nn.Image=Cn;const Pn={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 In(e){return o.a.createElement("li",x({nativeName:"ListViewItem"},e))}class _n extends o.a.Component{constructor(){super(...arguments),this.instance=null}expandPullHeader(){Xt(this.instance,"expandPullHeader",[])}collapsePullHeader(e){void 0!==e?Xt(this.instance,"collapsePullHeaderWithOptions",[e]):Xt(this.instance,"collapsePullHeader",[])}render(){const e=this.props,{children:t}=e,n=N(e,d);return o.a.createElement("div",x({nativeName:"PullHeaderView",ref:e=>{this.instance=e}},n),t)}}class Ln extends o.a.Component{constructor(){super(...arguments),this.instance=null}expandPullFooter(){Xt(this.instance,"expandPullFooter",[])}collapsePullFooter(){Xt(this.instance,"collapsePullFooter",[])}render(){const e=this.props,{children:t}=e,n=N(e,p);return o.a.createElement("div",x({nativeName:"PullFooterView",ref:e=>{this.instance=e}},n),t)}}class Tn extends o.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}scrollToIndex(e,t,n){"number"==typeof e&&"number"==typeof t&&"boolean"==typeof n&&Xt(this.instance,"scrollToIndex",[e,t,n])}scrollToContentOffset(e,t,n){"number"==typeof e&&"number"==typeof t&&"boolean"==typeof n&&Xt(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()}render(){const e=this.props,{children:t,style:n,renderRow:r,renderPullHeader:i,renderPullFooter:a,getRowType:l,getRowStyle:s,getHeaderStyle:u,getFooterStyle:c,getRowKey:f,dataSource:d,initialListSize:p,rowShouldSticky:m,onRowLayout:y,onHeaderPulling:g,onHeaderReleased:v,onFooterPulling:b,onFooterReleased:w,onAppear:E,onDisappear:k,onWillAppear:S,onWillDisappear:C}=e,P=N(e,h),I=[];if("function"==typeof r){const{initialListReady:e}=this.state;let{numberOfRows:t}=this.props;const h=this.getPullHeader(i,g,v,u),N=this.getPullFooter(a,b,w,c);!t&&d&&(t=d.length),e||(t=Math.min(t,p||15));for(let e=0;e<t;e+=1){const t={};let n;n=d?r(d[e],null,e):r(e),this.handleRowProps(t,e,{getRowKey:f,getRowStyle:s,getRowType:l,onRowLayout:y,rowShouldSticky:m}),[{func:E,name:"onAppear"},{func:k,name:"onDisappear"},{func:S,name:"onWillAppear"},{func:C,name:"onWillDisappear"}].forEach(({func:n,name:r})=>{"function"==typeof n&&(t[r]=()=>{n(e)})}),n&&I.push(o.a.createElement(In,x({},t),n))}h&&I.unshift(h),N&&I.push(N),"function"==typeof m&&Object.assign(P,{rowShouldSticky:!0});const _=[E,k,S,C];P.exposureEventEnabled=_.some(e=>"function"==typeof e),"ios"===fn.platform.OS&&(P.numberOfRows=I.length),void 0!==p&&(P.initialListSize=p),P.style=x({overflow:"scroll"},n)}return o.a.createElement("ul",x({ref:e=>{this.instance=e},nativeName:"ListView",initialListReady:this.handleInitialListReady},P),I.length?I:t)}handleInitialListReady(){this.setState({initialListReady:!0})}getPullHeader(e,t,n,r){let i=null,a={};return"function"==typeof r&&(a=r()),"function"==typeof e&&(i=o.a.createElement(_n,{style:a,key:"pull-header",ref:e=>{this.pullHeader=e},onHeaderPulling:t,onHeaderReleased:n},e())),i}getPullFooter(e,t,n,r){let i=null,a={};if("function"==typeof r&&(a=r()),"function"==typeof e){const r={style:a,key:"pull-footer",ref:e=>{this.pullFooter=e}};"function"==typeof t&&(r.onFooterPulling=t),"function"==typeof t&&(r.onFooterReleased=n),i=o.a.createElement(Ln,x({},r),e())}return i}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))}}Tn.defaultProps={numberOfRows:0};class An extends o.a.Component{constructor(e){super(e),this.instance=null,this.refreshComplected=this.refreshCompleted.bind(this)}startRefresh(){Xt(this.instance,"startRefresh",null)}refreshCompleted(){Xt(this.instance,"refreshComplected",null)}render(){const e=this.props,{children:t}=e,n=N(e,m);return o.a.createElement("div",x({nativeName:"RefreshWrapper",ref:e=>{this.instance=e}},n),o.a.createElement("div",{nativeName:"RefreshWrapperItemView",style:{left:0,right:0,position:"absolute"}},this.getRefresh()),t)}getRefresh(){const{getRefresh:e}=this.props;return"function"==typeof e&&e()||null}}class Rn{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 zn extends o.a.Component{constructor(e){super(e),this.stack=new Rn,this.instance=null,this.routeList={};const{initialRoute:t}=e;if(null==t?void 0:t.component){new bn({appName:t.routeName,entryPage:t.component}).regist(),this.routeList[t.routeName]=!0}this.handleAndroidBack=this.handleAndroidBack.bind(this)}componentWillMount(){"android"===fn.platform.OS&&(this.backListener=rn.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(null==e?void 0:e.component){if(!this.routeList[e.routeName]){new bn({appName:e.routeName,entryPage:e.component}).regist(),this.routeList[e.routeName]=!0}delete e.component}const t=[e];this.stack.push(e),Xt(this.instance,"push",t)}pop(e){if(this.stack.size>1){const t=[e];this.stack.pop(),Xt(this.instance,"pop",t)}}clear(){this.stack.clear()}render(){const e=this.props,{initialRoute:{component:t}}=e,n=N(e.initialRoute,g),r=N(e,y);return r.initialRoute=n,o.a.createElement("div",x({nativeName:"Navigator",ref:e=>{this.instance=e}},r))}}function On(e){return o.a.createElement("div",x(x({nativeName:"ViewPagerItem"},e),{},{style:{position:"absolute",left:0,top:0,right:0,bottom:0,collapsable:!1}}))}class jn extends o.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&&Xt(this.instance,"setPage",[e])}setPageWithoutAnimation(e){"number"==typeof e&&Xt(this.instance,"setPageWithoutAnimation",[e])}render(){const e=this.props,{children:t,onPageScrollStateChanged:n}=e,r=N(e,v);let i=[];return Array.isArray(t)?i=t.map(e=>{const t={};return"string"==typeof e.key&&(t.key="viewPager_"+e.key),o.a.createElement(On,x({},t),e)}):i.push(o.a.createElement(On,null,t)),"function"==typeof n&&(r.onPageScrollStateChanged=this.onPageScrollStateChanged),o.a.createElement("div",x({nativeName:"ViewPager",ref:e=>{this.instance=e}},r),i)}}function Fn(){const e=_.platform.Localization;return!!e&&1===e.direction}const Hn={caretColor:"caret-color"};class Mn extends o.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=>{Xt(this.instance,"getValue",t=>e(t.text))})}setValue(e){return Xt(this.instance,"setValue",[e]),e}focus(){Xt(this.instance,"focusTextInput",[])}blur(){Xt(this.instance,"blurTextInput",[])}isFocused(){return new Promise(e=>{Xt(this.instance,"isFocused",t=>e(t.value))})}showInputMethod(){}hideInputMethod(){}clear(){Xt(this.instance,"clear",[])}render(){const e=x({},this.props);return["underlineColorAndroid","placeholderTextColor","placeholderTextColors","caretColor","caret-color"].forEach(t=>{let n=t;const r=this.props[t];"string"==typeof this.props[t]&&(Hn[t]&&(n=Hn[t]),Array.isArray(e.style)?e.style.push({[n]:r}):e.style&&"object"==typeof e.style?e.style[n]=r:e.style={[n]:r},delete e[t])}),Fn()&&(e.style?"object"!=typeof e.style||Array.isArray(e.style)||e.style.textAlign||(e.style.textAlign="right"):e.style={textAlign:"right"}),o.a.createElement("div",x(x({nativeName:"TextInput"},e),{},{ref:e=>{this.instance=e},onChangeText:this.onChangeText,onKeyboardWillShow:this.onKeyboardWillShow}))}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;"function"==typeof t&&t(e)}}const Bn=fn.window.scale;let Dn=Math.round(.4*Bn)/Bn;function Un(e){return e}0===Dn&&(Dn=1/Bn);var Wn=Object.freeze({__proto__:null,get hairlineWidth(){return Dn},create:Un});const Vn={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 $n extends o.a.Component{constructor(){super(...arguments),this.instance=null}scrollTo(e,t,n=!0){let r=e,i=t,o=n;"object"==typeof e&&e&&({x:r,y:i,animated:o}=e),r=r||0,i=i||0,o=!!o,Xt(this.instance,"scrollTo",[r,i,o])}scrollToWithDuration(e=0,t=0,n=1e3){Xt(this.instance,"scrollToWithOptions",[{x:e,y:t,duration:n}])}render(){const{horizontal:e,contentContainerStyle:t,children:n,style:r}=this.props,i=[e?Vn.contentContainerHorizontal:Vn.contentContainerVertical,t],a=e?Object.assign({},Vn.baseHorizontal,r):Object.assign({},Vn.baseVertical,r);return e&&(a.flexDirection=Fn()?"row-reverse":"row"),o.a.createElement("div",x(x({nativeName:"ScrollView",ref:e=>{this.instance=e}},this.props),{},{style:a}),o.a.createElement(En,{style:i},n))}}const Qn={modal:{position:"absolute",collapsable:!1}};class qn extends o.a.Component{constructor(e){super(e),this.eventSubscription=null}componentDidMount(){"ios"===fn.platform.OS&&(this.eventSubscription=new ke("modalDismissed"),this.eventSubscription.addCallback(e=>{const{primaryKey:t,onDismiss:n}=this.props;e.primaryKey===t&&"function"==typeof n&&n()}))}componentWillUnmount(){"ios"===fn.platform.OS&&this.eventSubscription&&this.eventSubscription.unregister()}render(){const{children:e,visible:t,transparent:n,animated:r}=this.props;let{animationType:i}=this.props;if(!1===t)return null;const a={backgroundColor:n?"transparent":"white"};return i||(i="none",r&&(i="slide")),o.a.createElement("div",x({nativeName:"Modal",animationType:i,transparent:n,style:[Qn.modal,a]},this.props),e)}}qn.defaultProps={visible:!0};class Gn extends o.a.Component{constructor(e){super(e);const{requestFocus:t}=this.props;this.state={isFocus:!!t},this.handleFocus=this.handleFocus.bind(this)}render(){var e,t,n;const{requestFocus:r,children:i,nextFocusDownId:a,nextFocusUpId:l,nextFocusLeftId:s,nextFocusRightId:u,style:c,noFocusStyle:f,focusStyle:d,onClick:p}=this.props,{isFocus:h}=this.state,m=o.a.Children.only(i);let y;(null===(t=null===(e=null==m?void 0:m.child)||void 0===e?void 0:e.memoizedProps)||void 0===t?void 0:t.nativeName)?y=m.child.memoizedProps.nativeName:(null===(n=null==m?void 0:m.type)||void 0===n?void 0:n.displayName)&&(y=m.type.displayName);const g=a&&Yt(a),v=l&&Yt(l),b=s&&Yt(s),w=u&&Yt(u);let E=c;if("Text"!==y){const e=m.memoizedProps.style;E=x(x({},E),e)}if(Object.assign(E,h?d:f),"Text"===y)return o.a.createElement(En,{focusable:!0,nextFocusDownId:g,nextFocusUpId:v,nextFocusLeftId:b,nextFocusRightId:w,requestFocus:r,style:E,onClick:p,onFocus:this.handleFocus},m);const{children:k}=m.memoizedProps;return o.a.cloneElement(m,{nextFocusDownId:a,nextFocusUpId:l,nextFocusLeftId:s,nextFocusRightId:u,requestFocus:r,onClick:p,focusable:!0,children:k,style:E,onFocus:this.handleFocus})}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})}}function Kn(e){return o.a.createElement("iframe",x({title:"hippy",nativeName:"WebView"},e))}let Yn;class Xn{constructor(e,t,n){if(this.protocol="",this.onWebSocketEvent=this.onWebSocketEvent.bind(this),Yn||(Yn=new ke("hippyWebsocketEvents")),this.readyState=0,this.webSocketCallbacks={},!e||"string"!=typeof e)throw new TypeError("Invalid WebSocket url");const r=x({},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=Yn.addCallback(this.onWebSocketEvent),I.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,I.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);I.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,Yn.removeCallback(this.webSocketCallbackId));const n=this.webSocketCallbacks[t];"function"==typeof n&&n(e.data)}}function Jn(e){return o.a.createElement("li",x({nativeName:"WaterfallItem"},e))}class Zn extends o.a.Component{constructor(e){super(e),this.instance=null,this.pullHeader=null,this.pullFooter=null,this.handleInitialListReady=this.handleInitialListReady.bind(this)}scrollToIndex({index:e=0,animated:t=!0}){Xt(this.instance,"scrollToIndex",[e,e,t])}scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){Xt(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()}render(){const e=this.props,{style:t={},renderBanner:n,renderFooter:r,numberOfColumns:i=2,columnSpacing:a=0,interItemSpacing:l=0,numberOfItems:s=0,preloadItemNumber:u=0,renderItem:c,renderPullHeader:f,renderPullFooter:d,getItemType:p,getItemKey:h,getItemStyle:m,contentInset:y={top:0,left:0,bottom:0,right:0},onItemLayout:g,onHeaderPulling:v,onHeaderReleased:w,onFooterPulling:E,onFooterReleased:k,containPullHeader:S=!1,containPullFooter:C=!1,containBannerView:P=!1}=e,I=x(x({},N(e,b)),{},{style:t,numberOfColumns:i,columnSpacing:a,interItemSpacing:l,preloadItemNumber:u,contentInset:y,containPullHeader:S,containPullFooter:C,containBannerView:P}),_=[];if("function"==typeof n){const e=n();if(e)if("ohos"===fn.platform.OS)_.push(o.a.createElement(En,{key:"bannerView"},o.a.cloneElement(e))),I.containBannerView=!0;else{const t={key:"bannerView",isHeader:!0,fullSpan:!0,style:{}};_.push(o.a.createElement(Jn,x({},t),o.a.cloneElement(e)))}}if("function"==typeof c){const e=this.getPullHeader(f,v,w),n=this.getPullFooter(d,E,k);for(let e=0;e<s;e+=1){const t={},n=c(e)||null;this.handleRowProps(t,e,{getItemKey:h,getItemStyle:m,getItemType:p,onItemLayout:g}),n&&_.push(o.a.createElement(Jn,x({},t),n))}e&&(_.unshift(e),I.containPullHeader=!0),n&&(_.push(n),I.containPullFooter=!0),I.style=x({},t)}if("function"==typeof r){const e=r();if(e){const t={key:"WaterfallFooterView",isFooter:!0,style:{}};_.push(o.a.createElement(Jn,x({},t),o.a.cloneElement(e)))}}return o.a.createElement("ul",x({nativeName:"WaterfallView",ref:e=>this.instance=e,initialListReady:this.handleInitialListReady.bind(this)},I),_)}componentDidMount(){const{getItemKey:e}=this.props}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.call(this,e,t)}),"function"==typeof o){const n=o(t);Number.isInteger(n),e.type=n}}getPullHeader(e,t,n){let r=null;return"function"==typeof e&&(r=o.a.createElement(_n,{key:"PullHeader",ref:e=>{this.pullHeader=e},onHeaderPulling:t,onHeaderReleased:n},e())),r}getPullFooter(e,t,n){let r=null;if("function"==typeof e){const i={key:"PullFooter",ref:e=>{this.pullFooter=e},onFooterReleased:n};"function"==typeof t&&(i.onFooterPulling=t),r=o.a.createElement(Ln,x({},i),e())}return r}handleInitialListReady(){const{onInitialListReady:e}=this.props;"function"==typeof e&&e()}}e.WebSocket=Xn;const{AsyncStorage:er,BackAndroid:tr,Bridge:nr,Clipboard:rr,Cookie:ir,Device:or,HippyRegister:ar,ImageLoader:lr,NetworkInfo:sr,UIManager:ur,flushSync:cr}=pn,{callNative:fr,callNativeWithPromise:dr,callNativeWithCallbackId:pr,removeNativeCallback:hr}=nr,mr=null,yr=e.ConsoleModule||e.console,gr=or.platform,vr=bn,br=Cn,wr={get:e=>or[e]},Er={get:()=>or.screen.scale}}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/@hippy/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,f=60107,d=60108,p=60114,h=60109,m=60110,y=60112,g=60113,v=60120,b=60115,w=60116,E=60121,k=60129,S=60130,x=60131;if("function"==typeof Symbol&&Symbol.for){var C=Symbol.for;u=C("react.element"),c=C("react.portal"),f=C("react.fragment"),d=C("react.strict_mode"),p=C("react.profiler"),h=C("react.provider"),m=C("react.context"),y=C("react.forward_ref"),g=C("react.suspense"),v=C("react.suspense_list"),b=C("react.memo"),w=C("react.lazy"),E=C("react.block"),C("react.scope"),k=C("react.debug_trace_mode"),S=C("react.offscreen"),x=C("react.legacy_hidden")}var N="function"==typeof Symbol&&Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}function I(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 f:return"Fragment";case c:return"Portal";case p:return"Profiler";case d:return"StrictMode";case g:return"Suspense";case v: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 y:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case b:return I(e.type);case E:return I(e._render);case w:t=e._payload,e=e._init;try{return I(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 L(e){if(_(e)!==e)throw Error(l(188))}function T(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 L(i),e;if(o===r)return L(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 A(e){if(!(e=T(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 R(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var z,O=t.getPublicInstance,j=t.getRootHostContext,F=t.getChildHostContext,H=t.prepareForCommit,M=t.resetAfterCommit,B=t.createInstance,D=t.appendInitialChild,U=t.finalizeInitialChildren,W=t.prepareUpdate,V=t.shouldSetTextContent,$=t.createTextInstance,Q=t.scheduleTimeout,q=t.cancelTimeout,G=t.noTimeout,K=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,fe=t.setFocusIfFocusable,de=t.setupIntersectionObserver,pe=t.appendChild,he=t.appendChildToContainer,me=t.commitTextUpdate,ye=t.commitMount,ge=t.commitUpdate,ve=t.insertBefore,be=t.insertInContainerBefore,we=t.removeChild,Ee=t.removeChildFromContainer,ke=t.resetTextContent,Se=t.hideInstance,xe=t.hideTextInstance,Ce=t.unhideInstance,Ne=t.unhideTextInstance,Pe=t.clearContainer,Ie=t.commitMutationEffectsBegin,_e=t.commitMutationEffectsComplete,Le=t.cloneInstance,Te=t.createContainerChildSet,Ae=t.appendChildToContainerChildSet,Re=t.finalizeContainerChildren,ze=t.replaceContainerChildren,Oe=t.cloneHiddenInstance,je=t.cloneHiddenTextInstance,Fe=t.canHydrateInstance,He=t.canHydrateTextInstance,Me=t.canHydrateSuspenseInstance,Be=t.isSuspenseInstancePending,De=t.isSuspenseInstanceFallback,Ue=t.registerSuspenseInstanceRetry,We=t.getNextHydratableSibling,Ve=t.getFirstHydratableChild,$e=t.hydrateInstance,Qe=t.hydrateTextInstance,qe=t.hydrateSuspenseInstance,Ge=t.getNextHydratableInstanceAfterSuspenseInstance,Ke=t.commitHydratedContainer,Ye=t.commitHydratedSuspenseInstance,Xe=t.clearSuspenseBoundary,Je=t.clearSuspenseBoundaryFromContainer;function Ze(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 et=!1;function tt(e,t){if(!e||et)return"";et=!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{et=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ze(e):""}var nt=[],rt=-1;function it(e){return{current:e}}function ot(e){0>rt||(e.current=nt[rt],nt[rt]=null,rt--)}function at(e,t){rt++,nt[rt]=e.current,e.current=t}var lt={},st=it(lt),ut=it(!1),ct=lt;function ft(e,t){var n=e.type.contextTypes;if(!n)return lt;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 dt(e){return null!=(e=e.childContextTypes)}function pt(){ot(ut),ot(st)}function ht(e,t,n){if(st.current!==lt)throw Error(l(168));at(st,t),at(ut,n)}function mt(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,I(t)||"Unknown",o));return i({},n,r)}function yt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||lt,ct=st.current,at(st,e),at(ut,ut.current),!0}function gt(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=mt(e,t,ct),r.__reactInternalMemoizedMergedChildContext=e,ot(ut),ot(st),at(st,e)):ot(ut),at(ut,n)}var vt=null,bt=null;(0,a.unstable_now)();var wt=0,Et=8;function kt(e){if(0!=(1&e))return Et=15,1;if(0!=(2&e))return Et=14,2;if(0!=(4&e))return Et=13,4;var t=24&e;return 0!==t?(Et=12,t):0!=(32&e)?(Et=11,32):0!==(t=192&e)?(Et=10,t):0!=(256&e)?(Et=9,256):0!==(t=3584&e)?(Et=8,t):0!=(4096&e)?(Et=7,4096):0!==(t=4186112&e)?(Et=6,t):0!==(t=62914560&e)?(Et=5,t):67108864&e?(Et=4,67108864):0!=(134217728&e)?(Et=3,134217728):0!==(t=805306368&e)?(Et=2,t):0!=(1073741824&e)?(Et=1,1073741824):(Et=8,e)}function St(e,t){var n=e.pendingLanes;if(0===n)return Et=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==o)r=o,i=Et=15;else if(0!==(o=134217727&n)){var s=o&~a;0!==s?(r=kt(s),i=Et):0!==(l&=o)&&(r=kt(l),i=Et)}else 0!==(o=n&~a)?(r=kt(o),i=Et):0!==l&&(r=kt(l),i=Et);if(0===r)return 0;if(r=n&((0>(r=31-_t(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(kt(t),i<=Et)return t;Et=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-_t(t)),r|=e[n],t&=~i;return r}function xt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ct(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Nt(24&~t))?Ct(10,t):e;case 10:return 0===(e=Nt(192&~t))?Ct(8,t):e;case 8:return 0===(e=Nt(3584&~t))&&(0===(e=Nt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Nt(805306368&~t))&&(t=268435456),t}throw Error(l(358,e))}function Nt(e){return e&-e}function Pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function It(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-_t(t)]=n}var _t=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Lt(e)/Tt|0)|0},Lt=Math.log,Tt=Math.LN2;var At=a.unstable_runWithPriority,Rt=a.unstable_scheduleCallback,zt=a.unstable_cancelCallback,Ot=a.unstable_shouldYield,jt=a.unstable_requestPaint,Ft=a.unstable_now,Ht=a.unstable_getCurrentPriorityLevel,Mt=a.unstable_ImmediatePriority,Bt=a.unstable_UserBlockingPriority,Dt=a.unstable_NormalPriority,Ut=a.unstable_LowPriority,Wt=a.unstable_IdlePriority,Vt={},$t=void 0!==jt?jt:function(){},Qt=null,qt=null,Gt=!1,Kt=Ft(),Yt=1e4>Kt?Ft:function(){return Ft()-Kt};function Xt(){switch(Ht()){case Mt:return 99;case Bt:return 98;case Dt:return 97;case Ut:return 96;case Wt:return 95;default:throw Error(l(332))}}function Jt(e){switch(e){case 99:return Mt;case 98:return Bt;case 97:return Dt;case 96:return Ut;case 95:return Wt;default:throw Error(l(332))}}function Zt(e,t){return e=Jt(e),At(e,t)}function en(e,t,n){return e=Jt(e),Rt(e,t,n)}function tn(){if(null!==qt){var e=qt;qt=null,zt(e)}nn()}function nn(){if(!Gt&&null!==Qt){Gt=!0;var e=0;try{var t=Qt;Zt(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Qt=null}catch(t){throw null!==Qt&&(Qt=Qt.slice(e+1)),Rt(Mt,tn),t}finally{Gt=!1}}}var rn=s.ReactCurrentBatchConfig;var on="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},an=Object.prototype.hasOwnProperty;function ln(e,t){if(on(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(!an.call(t,n[r])||!on(e[n[r]],t[n[r]]))return!1;return!0}function sn(e){switch(e.tag){case 5:return Ze(e.type);case 16:return Ze("Lazy");case 13:return Ze("Suspense");case 19:return Ze("SuspenseList");case 0:case 2:case 15:return e=tt(e.type,!1);case 11:return e=tt(e.type.render,!1);case 22:return e=tt(e.type._render,!1);case 1:return e=tt(e.type,!0);default:return""}}function un(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 cn=it(null),fn=null,dn=null,pn=null;function hn(){pn=dn=fn=null}function mn(e,t){e=e.type._context,K?(at(cn,e._currentValue),e._currentValue=t):(at(cn,e._currentValue2),e._currentValue2=t)}function yn(e){var t=cn.current;ot(cn),e=e.type._context,K?e._currentValue=t:e._currentValue2=t}function gn(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 vn(e,t){fn=e,pn=dn=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Xr=!0),e.firstContext=null)}function bn(e,t){if(pn!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(pn=e,t=1073741823),t={context:e,observedBits:t,next:null},null===dn){if(null===fn)throw Error(l(308));dn=t,fn.dependencies={lanes:0,firstContext:t,responders:null}}else dn=dn.next=t;return K?e._currentValue:e._currentValue2}var wn=!1;function En(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function kn(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 Sn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xn(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 Cn(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 Nn(e,t,n,r){var o=e.updateQueue;wn=!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 f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==l&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=u)}}if(null!==a){for(d=o.baseState,l=0,f=c=u=null;;){s=a.lane;var p=a.eventTime;if((r&s)===s){null!==f&&(f=f.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)){d=h.call(p,d,s);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(s="function"==typeof(h=m.payload)?h.call(p,d,s):h))break e;d=i({},d,s);break e;case 2:wn=!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===f?(c=f=p,u=d):f=f.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===f&&(u=d),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=f,ko|=l,e.lanes=l,e.memoizedState=d}}function Pn(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 In=(new o.Component).refs;function _n(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 Ln={isMounted:function(e){return!!(e=e._reactInternals)&&_(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qo(),i=Go(e),o=Sn(r,i);o.payload=t,null!=n&&(o.callback=n),xn(e,o),Ko(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qo(),i=Go(e),o=Sn(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),xn(e,o),Ko(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qo(),r=Go(e),i=Sn(n,r);i.tag=2,null!=t&&(i.callback=t),xn(e,i),Ko(e,r,n)}};function Tn(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ln(n,r)||!ln(i,o))}function An(e,t,n){var r=!1,i=lt,o=t.contextType;return"object"==typeof o&&null!==o?o=bn(o):(i=dt(t)?ct:st.current,o=(r=null!=(r=t.contextTypes))?ft(e,i):lt),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ln,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Rn(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&&Ln.enqueueReplaceState(t,t.state,null)}function zn(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=In,En(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=bn(o):(o=dt(t)?ct:st.current,i.context=ft(e,o)),Nn(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(_n(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&&Ln.enqueueReplaceState(i,i.state,null),Nn(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var On=Array.isArray;function jn(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===In&&(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 Fn(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 Hn(e){try{return(0,e._init)(e._payload)}catch(t){return e}}function Mn(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=Fa(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=Da(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n,r){if(null!==t){if(t.elementType===n.type){var o=i(t,n.props);return o.ref=jn(e,t,n),o.return=e,o}if(22===t.tag&&((o=n.type).$$typeof===w&&(o=Hn(o)),o.$$typeof===E&&o._render===t.type._render))return(t=i(t,n.props)).return=e,t.type=o,t}return(o=Ha(n.type,n.key,n.props,null,e.mode,r)).ref=jn(e,t,n),o.return=e,o}function p(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ua(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=Ma(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=Da(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case u:return(n=Ha(t.type,t.key,t.props,null,e.mode,n)).ref=jn(e,null,t),n.return=e,n;case c:return(t=Ua(t,e.mode,n)).return=e,t;case w:return m(e,(0,t._init)(t._payload),n)}if(On(t)||P(t))return(t=Ma(t,e.mode,n,null)).return=e,t;Fn(e,t)}return null}function y(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===f?h(e,t,n.props.children,r,i):d(e,t,n,r):null;case c:return n.key===i?p(e,t,n,r):null;case w:return y(e,t,(i=n._init)(n._payload),r)}if(On(n)||P(n))return null!==i?null:h(e,t,n,r,null);Fn(e,n)}return null}function g(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===f?h(t,e,r.props.children,i,r.key):d(t,e,r,i);case c:return p(t,e=e.get(null===r.key?n:r.key)||null,r,i);case w:return g(e,t,n,(0,r._init)(r._payload),i)}if(On(r)||P(r))return h(t,e=e.get(n)||null,r,i,null);Fn(t,r)}return null}function v(i,a,l,s){for(var u=null,c=null,f=a,d=a=0,p=null;null!==f&&d<l.length;d++){f.index>d?(p=f,f=null):p=f.sibling;var h=y(i,f,l[d],s);if(null===h){null===f&&(f=p);break}e&&f&&null===h.alternate&&t(i,f),a=o(h,a,d),null===c?u=h:c.sibling=h,c=h,f=p}if(d===l.length)return n(i,f),u;if(null===f){for(;d<l.length;d++)null!==(f=m(i,l[d],s))&&(a=o(f,a,d),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(i,f);d<l.length;d++)null!==(p=g(f,i,d,l[d],s))&&(e&&null!==p.alternate&&f.delete(null===p.key?d:p.key),a=o(p,a,d),null===c?u=p:c.sibling=p,c=p);return e&&f.forEach((function(e){return t(i,e)})),u}function b(i,a,s,u){var c=P(s);if("function"!=typeof c)throw Error(l(150));if(null==(s=c.call(s)))throw Error(l(151));for(var f=c=null,d=a,p=a=0,h=null,v=s.next();null!==d&&!v.done;p++,v=s.next()){d.index>p?(h=d,d=null):h=d.sibling;var b=y(i,d,v.value,u);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(i,d),a=o(b,a,p),null===f?c=b:f.sibling=b,f=b,d=h}if(v.done)return n(i,d),c;if(null===d){for(;!v.done;p++,v=s.next())null!==(v=m(i,v.value,u))&&(a=o(v,a,p),null===f?c=v:f.sibling=v,f=v);return c}for(d=r(i,d);!v.done;p++,v=s.next())null!==(v=g(d,i,p,v.value,u))&&(e&&null!==v.alternate&&d.delete(null===v.key?p:v.key),a=o(v,a,p),null===f?c=v:f.sibling=v,f=v);return e&&d.forEach((function(e){return t(i,e)})),c}return function e(r,o,s,d){var p="object"==typeof s&&null!==s&&s.type===f&&null===s.key;p&&(s=s.props.children);var h="object"==typeof s&&null!==s;if(h)switch(s.$$typeof){case u:e:{for(h=s.key,p=o;null!==p;){if(p.key===h){switch(p.tag){case 7:if(s.type===f){n(r,p.sibling),(o=i(p,s.props.children)).return=r,r=o;break e}break;case 22:if((h=s.type).$$typeof===w&&(h=Hn(h)),h.$$typeof===E&&h._render===p.type._render){n(r,p.sibling),(o=i(p,s.props)).type=h,o.return=r,r=o;break e}default:if(p.elementType===s.type){n(r,p.sibling),(o=i(p,s.props)).ref=jn(r,p,s),o.return=r,r=o;break e}}n(r,p);break}t(r,p),p=p.sibling}s.type===f?((o=Ma(s.props.children,r.mode,d,s.key)).return=r,r=o):((d=Ha(s.type,s.key,s.props,null,r.mode,d)).ref=jn(r,o,s),d.return=r,r=d)}return a(r);case c:e:{for(p=s.key;null!==o;){if(o.key===p){if(4===o.tag&&o.stateNode.containerInfo===s.containerInfo&&o.stateNode.implementation===s.implementation){n(r,o.sibling),(o=i(o,s.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ua(s,r.mode,d)).return=r,r=o}return a(r);case w:return e(r,o,(p=s._init)(s._payload),d)}if("string"==typeof s||"number"==typeof s)return s=""+s,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,s)).return=r,r=o):(n(r,o),(o=Da(s,r.mode,d)).return=r,r=o),a(r);if(On(s))return v(r,o,s,d);if(P(s))return b(r,o,s,d);if(h&&Fn(r,s),void 0===s&&!p)switch(r.tag){case 1:case 22:case 0:case 11:case 15:throw Error(l(152,I(r.type)||"Component"))}return n(r,o)}}var Bn=Mn(!0),Dn=Mn(!1),Un={},Wn=it(Un),Vn=it(Un),$n=it(Un);function Qn(e){if(e===Un)throw Error(l(174));return e}function qn(e,t){at($n,t),at(Vn,e),at(Wn,Un),e=j(t),ot(Wn),at(Wn,e)}function Gn(){ot(Wn),ot(Vn),ot($n)}function Kn(e){var t=Qn($n.current),n=Qn(Wn.current);n!==(t=F(n,e.type,t))&&(at(Vn,e),at(Wn,t))}function Yn(e){Vn.current===e&&(ot(Wn),ot(Vn))}var Xn=it(0);function Jn(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Be(n)||De(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 Zn=null,er=null,tr=!1;function nr(e,t){var n=Oa(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 rr(e,t){switch(e.tag){case 5:return null!==(t=Fe(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=He(t,e.pendingProps))&&(e.stateNode=t,!0);case 13:if(null!==(t=Me(t))){e.memoizedState={dehydrated:t,retryLane:1073741824};var n=Oa(18,null,null,0);return n.stateNode=t,n.return=e,e.child=n,!0}return!1;default:return!1}}function ir(e){if(tr){var t=er;if(t){var n=t;if(!rr(e,t)){if(!(t=We(n))||!rr(e,t))return e.flags=-1025&e.flags|2,tr=!1,void(Zn=e);nr(Zn,n)}Zn=e,er=Ve(t)}else e.flags=-1025&e.flags|2,tr=!1,Zn=e}}function or(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Zn=e}function ar(e){if(!J||e!==Zn)return!1;if(!tr)return or(e),tr=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!V(t,e.memoizedProps))for(t=er;t;)nr(e,t),t=We(t);if(or(e),13===e.tag){if(!J)throw Error(l(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));er=Ge(e)}else er=Zn?We(e.stateNode):null;return!0}function lr(){J&&(er=Zn=null,tr=!1)}var sr=[];function ur(){for(var e=0;e<sr.length;e++){var t=sr[e];K?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}sr.length=0}var cr=s.ReactCurrentDispatcher,fr=s.ReactCurrentBatchConfig,dr=0,pr=null,hr=null,mr=null,yr=!1,gr=!1;function vr(){throw Error(l(321))}function br(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!on(e[n],t[n]))return!1;return!0}function wr(e,t,n,r,i,o){if(dr=o,pr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,cr.current=null===e||null===e.memoizedState?qr:Gr,e=n(r,i),gr){o=0;do{if(gr=!1,!(25>o))throw Error(l(301));o+=1,mr=hr=null,t.updateQueue=null,cr.current=Kr,e=n(r,i)}while(gr)}if(cr.current=Qr,t=null!==hr&&null!==hr.next,dr=0,mr=hr=pr=null,yr=!1,t)throw Error(l(300));return e}function Er(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~n}function kr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===mr?pr.memoizedState=mr=e:mr=mr.next=e,mr}function Sr(){if(null===hr){var e=pr.alternate;e=null!==e?e.memoizedState:null}else e=hr.next;var t=null===mr?pr.memoizedState:mr.next;if(null!==t)mr=t,hr=e;else{if(null===e)throw Error(l(310));e={memoizedState:(hr=e).memoizedState,baseState:hr.baseState,baseQueue:hr.baseQueue,queue:hr.queue,next:null},null===mr?pr.memoizedState=mr=e:mr=mr.next=e}return mr}function xr(e,t){return"function"==typeof t?t(e):t}function Cr(e){var t=Sr(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=hr,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((dr&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 f={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(a=s=f,o=r):s=s.next=f,pr.lanes|=c,ko|=c}u=u.next}while(null!==u&&u!==i);null===s?o=r:s.next=a,on(r,t.memoizedState)||(Xr=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Nr(e){var t=Sr(),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);on(o,t.memoizedState)||(Xr=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Pr(e,t,n){var r=t._getVersion;r=r(t._source);var i=K?t._workInProgressVersionPrimary:t._workInProgressVersionSecondary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(dr&e)===e)&&(K?t._workInProgressVersionPrimary=r:t._workInProgressVersionSecondary=r,sr.push(t))),e)return n(t._source);throw sr.push(t),Error(l(350))}function Ir(e,t,n,r){var i=ho;if(null===i)throw Error(l(349));var o=t._getVersion,a=o(t._source),s=cr.current,u=s.useState((function(){return Pr(i,t,n)})),c=u[1],f=u[0];u=mr;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var y=pr;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!on(a,e)){e=n(t._source),on(f,e)||(c(e),e=Go(y),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,l=e;0<l;){var s=31-_t(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=Go(y);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),on(h,n)&&on(m,t)&&on(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:xr,lastRenderedState:f}).dispatch=c=$r.bind(null,pr,e),u.queue=e,u.baseQueue=null,f=Pr(i,t,n),u.memoizedState=u.baseState=f),f}function _r(e,t,n){return Ir(Sr(),e,t,n)}function Lr(e){var t=kr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:xr,lastRenderedState:e}).dispatch=$r.bind(null,pr,e),[t.memoizedState,e]}function Tr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=pr.updateQueue)?(t={lastEffect:null},pr.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 Ar(e){return e={current:e},kr().memoizedState=e}function Rr(){return Sr().memoizedState}function zr(e,t,n,r){var i=kr();pr.flags|=e,i.memoizedState=Tr(1|t,n,void 0,void 0===r?null:r)}function Or(e,t,n,r){var i=Sr();r=void 0===r?null:r;var o=void 0;if(null!==hr){var a=hr.memoizedState;if(o=a.destroy,null!==r&&br(r,a.deps))return void Tr(t,n,o,r)}pr.flags|=e,i.memoizedState=Tr(1|t,n,o,r)}function jr(e,t){return zr(516,4,e,t)}function Fr(e,t){return Or(516,4,e,t)}function Hr(e,t){return Or(4,2,e,t)}function Mr(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 Br(e,t,n){return n=null!=n?n.concat([e]):null,Or(4,2,Mr.bind(null,t,e),n)}function Dr(){}function Ur(e,t){var n=Sr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&br(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wr(e,t){var n=Sr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&br(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Vr(e,t){var n=Xt();Zt(98>n?98:n,(function(){e(!0)})),Zt(97<n?97:n,(function(){var n=fr.transition;fr.transition=1;try{e(!1),t()}finally{fr.transition=n}}))}function $r(e,t,n){var r=qo(),i=Go(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===pr||null!==a&&a===pr)gr=yr=!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,on(s,l))return}catch(e){}Ko(e,i,r)}}var Qr={readContext:bn,useCallback:vr,useContext:vr,useEffect:vr,useImperativeHandle:vr,useLayoutEffect:vr,useMemo:vr,useReducer:vr,useRef:vr,useState:vr,useDebugValue:vr,useDeferredValue:vr,useTransition:vr,useMutableSource:vr,useOpaqueIdentifier:vr,unstable_isNewReconciler:!1},qr={readContext:bn,useCallback:function(e,t){return kr().memoizedState=[e,void 0===t?null:t],e},useContext:bn,useEffect:jr,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,zr(4,2,Mr.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zr(4,2,e,t)},useMemo:function(e,t){var n=kr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=kr();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=$r.bind(null,pr,e),[r.memoizedState,e]},useRef:Ar,useState:Lr,useDebugValue:Dr,useDeferredValue:function(e){var t=Lr(e),n=t[0],r=t[1];return jr((function(){var t=fr.transition;fr.transition=1;try{r(e)}finally{fr.transition=t}}),[e]),n},useTransition:function(){var e=Lr(!1),t=e[0];return Ar(e=Vr.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=kr();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Ir(r,e,t,n)},useOpaqueIdentifier:function(){if(tr){var e=!1,t=ee((function(){throw e||(e=!0,n(te())),Error(l(355))})),n=Lr(t)[1];return 0==(2&pr.mode)&&(pr.flags|=516,Tr(5,(function(){n(te())}),void 0,null)),t}return Lr(t=te()),t},unstable_isNewReconciler:!1},Gr={readContext:bn,useCallback:Ur,useContext:bn,useEffect:Fr,useImperativeHandle:Br,useLayoutEffect:Hr,useMemo:Wr,useReducer:Cr,useRef:Rr,useState:function(){return Cr(xr)},useDebugValue:Dr,useDeferredValue:function(e){var t=Cr(xr),n=t[0],r=t[1];return Fr((function(){var t=fr.transition;fr.transition=1;try{r(e)}finally{fr.transition=t}}),[e]),n},useTransition:function(){var e=Cr(xr)[0];return[Rr().current,e]},useMutableSource:_r,useOpaqueIdentifier:function(){return Cr(xr)[0]},unstable_isNewReconciler:!1},Kr={readContext:bn,useCallback:Ur,useContext:bn,useEffect:Fr,useImperativeHandle:Br,useLayoutEffect:Hr,useMemo:Wr,useReducer:Nr,useRef:Rr,useState:function(){return Nr(xr)},useDebugValue:Dr,useDeferredValue:function(e){var t=Nr(xr),n=t[0],r=t[1];return Fr((function(){var t=fr.transition;fr.transition=1;try{r(e)}finally{fr.transition=t}}),[e]),n},useTransition:function(){var e=Nr(xr)[0];return[Rr().current,e]},useMutableSource:_r,useOpaqueIdentifier:function(){return Nr(xr)[0]},unstable_isNewReconciler:!1},Yr=s.ReactCurrentOwner,Xr=!1;function Jr(e,t,n,r){t.child=null===e?Dn(t,null,n,r):Bn(t,e.child,n,r)}function Zr(e,t,n,r,i){n=n.render;var o=t.ref;return vn(t,i),r=wr(e,t,n,r,o,i),null===e||Xr?(t.flags|=1,Jr(e,t,r,i),t.child):(Er(e,t,i),Si(e,t,i))}function ei(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||ja(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ha(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ti(e,t,a,r,i,o))}return a=e.child,0==(i&o)&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:ln)(i,r)&&e.ref===t.ref)?Si(e,t,o):(t.flags|=1,(e=Fa(a,r)).ref=t.ref,e.return=t,t.child=e)}function ti(e,t,n,r,i,o){if(null!==e&&ln(e.memoizedProps,r)&&e.ref===t.ref){if(Xr=!1,0==(o&i))return t.lanes=e.lanes,Si(e,t,o);0!=(16384&e.flags)&&(Xr=!0)}return ii(e,t,n,r,o)}function ni(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},ra(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ra(t,e),null;t.memoizedState={baseLanes:0},ra(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ra(t,r);return Jr(e,t,i,n),t.child}function ri(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function ii(e,t,n,r,i){var o=dt(n)?ct:st.current;return o=ft(t,o),vn(t,i),n=wr(e,t,n,r,o,i),null===e||Xr?(t.flags|=1,Jr(e,t,n,i),t.child):(Er(e,t,i),Si(e,t,i))}function oi(e,t,n,r,i){var o=n._render;return n=n._data,vn(t,i),r=wr(e,t,o,r,n,i),null===e||Xr?(t.flags|=1,Jr(e,t,r,i),t.child):(Er(e,t,i),Si(e,t,i))}function ai(e,t,n,r,i){if(dt(n)){var o=!0;yt(t)}else o=!1;if(vn(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),An(t,n,r),zn(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=bn(u):u=ft(t,u=dt(n)?ct:st.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Rn(t,a,r,u),wn=!1;var d=t.memoizedState;a.state=d,Nn(t,r,a,i),s=t.memoizedState,l!==r||d!==s||ut.current||wn?("function"==typeof c&&(_n(t,n,c,r),s=t.memoizedState),(l=wn||Tn(t,n,l,r,d,s,u))?(f||"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,kn(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:un(t.type,l),a.props=u,f=t.pendingProps,d=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=bn(s):s=ft(t,s=dt(n)?ct:st.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==s)&&Rn(t,a,r,s),wn=!1,d=t.memoizedState,a.state=d,Nn(t,r,a,i);var h=t.memoizedState;l!==f||d!==h||ut.current||wn?("function"==typeof p&&(_n(t,n,p,r),h=t.memoizedState),(u=wn||Tn(t,n,u,r,d,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&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===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&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return li(e,t,n,r,o,i)}function li(e,t,n,r,i,o){ri(e,t);var a=0!=(64&t.flags);if(!r&&!a)return i&&gt(t,n,!1),Si(e,t,o);r=t.stateNode,Yr.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Bn(t,e.child,null,o),t.child=Bn(t,null,l,o)):Jr(e,t,l,o),t.memoizedState=r.state,i&&gt(t,n,!0),t.child}function si(e){var t=e.stateNode;t.pendingContext?ht(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ht(0,t.context,!1),qn(e,t.containerInfo)}var ui,ci,fi,di,pi={dehydrated:null,retryLane:0};function hi(e,t,n){var r,i=t.pendingProps,o=Xn.current,a=!1,s=0!=(64&t.flags);if((r=s)||(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),at(Xn,1&o),null===e){if(void 0!==i.fallback&&(ir(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)))return 0==(2&t.mode)?t.lanes=1:De(e)?t.lanes=256:t.lanes=1073741824,null;e=i.children;var u=i.fallback;return a?(e=yi(t,e,u,n),t.child.memoizedState={baseLanes:n},t.memoizedState=pi,e):"number"==typeof i.unstable_expectedLoadTime?(e=yi(t,e,u,n),t.child.memoizedState={baseLanes:n},t.memoizedState=pi,t.lanes=33554432,e):mi(t,e,n)}if(null!==(o=e.memoizedState)){if(null!==(r=o.dehydrated)){if(s)return null!==t.memoizedState?(t.child=e.child,t.flags|=64,null):(a=i.fallback,u=t.mode,i=Ba(i.children,u,0,null),(a=Ma(a,u,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,0!=(2&t.mode)&&Bn(t,e.child,null,n),t.child.memoizedState={baseLanes:n},t.memoizedState=pi,a);if(0!=(64&po)||0==(2&t.mode)||De(r))t=bi(e,t,n);else if(i=0!=(n&e.childLanes),Xr||i){if(null!==(i=ho)){switch(kt(n),Et){case 15:case 14:u=0;break;case 13:case 12:u=4;break;case 11:case 10:u=32;break;case 9:case 8:u=256;break;case 7:case 6:case 5:u=4096;break;case 4:u=67108864;break;case 3:case 2:u=134217728;break;case 1:case 0:u=0;break;default:throw Error(l(360,u))}0!==(i=0!=(u&(i.suspendedLanes|n))?0:u)&&i!==o.retryLane&&(o.retryLane=i,Ko(e,i,-1))}sa(),t=bi(e,t,n)}else Be(r)?(t.flags|=64,t.child=e.child,t=Ca.bind(null,e),Ue(r,t),t=null):(J&&(er=We(r),or(t),tr=!0),(t=mi(t,t.pendingProps.children,n)).flags|=1024);return t}return a?(i=vi(e,t,i.children,i.fallback,n),a=t.child,u=e.child.memoizedState,a.memoizedState=null===u?{baseLanes:n}:{baseLanes:u.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=pi,i):(n=gi(e,t,i.children,n),t.memoizedState=null,n)}return a?(i=vi(e,t,i.children,i.fallback,n),a=t.child,u=e.child.memoizedState,a.memoizedState=null===u?{baseLanes:n}:{baseLanes:u.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=pi,i):(n=gi(e,t,i.children,n),t.memoizedState=null,n)}function mi(e,t,n){return(t=Ba({mode:"visible",children:t},e.mode,n,null)).return=e,e.child=t}function yi(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=Ba(t,i,0,null),n=Ma(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function gi(e,t,n,r){var i=e.child;return e=i.sibling,n=Fa(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 vi(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=Fa(a,l),null!==e?r=Fa(e,r):(r=Ma(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function bi(e,t,n){return Bn(t,e.child,null,n),(e=mi(t,t.pendingProps.children,n)).flags|=2,t.memoizedState=null,e}function wi(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),gn(e.return,t)}function Ei(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 ki(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Jr(e,t,r.children,n),0!=(2&(r=Xn.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&&wi(e,n);else if(19===e.tag)wi(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(at(Xn,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===Jn(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ei(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===Jn(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ei(t,!0,n,null,o,t.lastEffect);break;case"together":Ei(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Si(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ko|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=Fa(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fa(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function xi(e){e.flags|=4}if(Y)ui=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}},ci=function(){},fi=function(e,t,n,r,i){if((e=e.memoizedProps)!==r){var o=t.stateNode,a=Qn(Wn.current);n=W(o,n,e,r,i,a),(t.updateQueue=n)&&xi(t)}},di=function(e,t,n,r){n!==r&&xi(t)};else if(X){ui=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=je(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,ui(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 Ci=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)),Ae(e,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=je(o,i.memoizedProps,i)),Ae(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,Ci(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}};ci=function(e){var t=e.stateNode;if(null!==e.firstEffect){var n=t.containerInfo,r=Te(n);Ci(r,e,!1,!1),t.pendingChildren=r,xi(e),Re(n,r)}},fi=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=Qn(Wn.current),u=null;a!==r&&(u=W(l,n,a,r,i,s)),e&&null===u?t.stateNode=o:(o=Le(o,u,n,a,r,t,e,l),U(o,n,r,i,s)&&xi(t),t.stateNode=o,e?xi(t):ui(o,t,!1,!1))}},di=function(e,t,n,r){n!==r?(e=Qn($n.current),n=Qn(Wn.current),t.stateNode=$(r,e,n,t),xi(t)):t.stateNode=e.stateNode}}else ci=function(){},fi=function(){},di=function(){};function Ni(e,t){if(!tr)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 Pi(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 dt(t.type)&&pt(),null;case 3:return Gn(),ot(ut),ot(st),ur(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ar(t)?xi(t):r.hydrate||(t.flags|=256)),ci(t),null;case 5:Yn(t);var i=Qn($n.current);if(n=t.type,null!==e&&null!=t.stateNode)fi(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=Qn(Wn.current),ar(t)){if(!J)throw Error(l(175));e=$e(t.stateNode,t.type,t.memoizedProps,i,e,t),t.updateQueue=e,null!==e&&xi(t)}else{var o=B(n,r,i,e,t);ui(o,t,!1,!1),t.stateNode=o,U(o,n,r,i,e)&&xi(t)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)di(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=Qn($n.current),i=Qn(Wn.current),ar(t)){if(!J)throw Error(l(176));Qe(t.stateNode,t.memoizedProps,t)&&xi(t)}else t.stateNode=$(r,e,i,t)}return null;case 13:if(ot(Xn),null!==(r=t.memoizedState)&&null!==r.dehydrated){if(null===e){if(!ar(t))throw Error(l(318));if(!J)throw Error(l(344));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(317));qe(e,t)}else lr(),0==(64&t.flags)&&(t.memoizedState=null),t.flags|=4;return null}return 0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,i=!1,null===e?void 0!==t.memoizedProps.fallback&&ar(t):i=null!==e.memoizedState,r&&!i&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Xn.current)?0===bo&&(bo=3):sa()),X&&r&&(t.flags|=4),Y&&(r||i)&&(t.flags|=4),null);case 4:return Gn(),ci(t),null===e&&ie(t.stateNode.containerInfo),null;case 10:return yn(t),null;case 17:return dt(t.type)&&pt(),null;case 19:if(ot(Xn),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(o=r.rendering))if(i)Ni(r,!1);else{if(0!==bo||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(o=Jn(e))){for(t.flags|=64,Ni(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 at(Xn,1&Xn.current|2),t.child}e=e.sibling}null!==r.tail&&Yt()>Po&&(t.flags|=64,i=!0,Ni(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Jn(o))){if(t.flags|=64,i=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),Ni(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!tr)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Yt()-r.renderingStartTime>Po&&1073741824!==n&&(t.flags|=64,i=!0,Ni(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=Yt(),e.sibling=null,t=Xn.current,at(Xn,i?1&t|2:1&t),e):null;case 22:return null;case 23:case 24:return ia(),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 Ii(e){switch(e.tag){case 1:dt(e.type)&&pt();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Gn(),ot(ut),ot(st),ur(),0!=(64&(t=e.flags)))throw Error(l(285));return e.flags=-4097&t|64,e;case 5:return Yn(e),null;case 13:if(ot(Xn),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(l(340));lr()}return 4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ot(Xn),null;case 4:return Gn(),null;case 10:return yn(e),null;case 23:case 24:return ia(),null;default:return null}}function _i(e,t){try{var n="",r=t;do{n+=sn(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 Li(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Ti="function"==typeof WeakMap?WeakMap:Map;function Ai(e,t,n){(n=Sn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){To||(To=!0,Ao=r),Li(0,t)},n}function Ri(e,t,n){(n=Sn(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Li(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ro?Ro=new Set([this]):Ro.add(this),Li(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var zi="function"==typeof WeakSet?WeakSet:Set;function Oi(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){ka(e,t)}else t.current=null}function ji(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:un(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(Y&&256&t.flags&&Pe(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(l(163))}function Fi(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 Hi(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)&&(ba(n,e),va(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:un(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&Pn(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=O(n.child.stateNode);break;case 1:e=n.child.stateNode}Pn(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&ye(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&&Ye(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(l(163))}function Mi(e,t){if(Y)for(var n=e;;){if(5===n.tag){var r=n.stateNode;t?Se(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 Bi(e,t){if(bt&&"function"==typeof bt.onCommitFiberUnmount)try{bt.onCommitFiberUnmount(vt,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))ba(t,n);else{r=t;try{i()}catch(e){ka(r,e)}}n=n.next}while(n!==e)}break;case 1:if(Oi(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){ka(t,e)}break;case 5:Oi(t);break;case 4:Y?$i(e,t):X&&X&&(t=t.stateNode.containerInfo,e=Te(t),ze(t,e))}}function Di(e,t){for(var n=t;;)if(Bi(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 Ui(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 Wi(e){return 5===e.tag||3===e.tag||4===e.tag}function Vi(e){if(Y){e:{for(var t=e.return;null!==t;){if(Wi(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||Wi(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?be(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?ve(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 $i(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)Di(e,i),r?Ee(n,i.stateNode):we(n,i.stateNode);else if(18===i.tag)r?Je(n,i.stateNode):Xe(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(Bi(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 Qi(e,t){if(Y){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Fi(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&&ge(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,Ke(t.containerInfo))));case 12:return;case 13:return qi(t),void Gi(t);case 19:return void Gi(t);case 17:return;case 23:case 24:return void Mi(t,null!==t.memoizedState)}throw Error(l(163))}switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Fi(3,t);case 12:return;case 13:return qi(t),void Gi(t);case 19:return void Gi(t);case 3:J&&((n=t.stateNode).hydrate&&(n.hydrate=!1,Ke(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,ze(t.containerInfo,t.pendingChildren);break e}throw Error(l(163))}}function qi(e){null!==e.memoizedState&&(No=Yt(),Y&&Mi(e.child,!0))}function Gi(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new zi),t.forEach((function(t){var r=Na.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ki(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Yi=0,Xi=1,Ji=2,Zi=3,eo=4;if("function"==typeof Symbol&&Symbol.for){var to=Symbol.for;Yi=to("selector.component"),Xi=to("selector.has_pseudo_class"),Ji=to("selector.role"),Zi=to("selector.test_id"),eo=to("selector.text")}function no(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 ro(e,t){switch(t.$$typeof){case Yi:if(e.type===t.value)return!0;break;case Xi: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&&ro(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 Ji:if(5===e.tag&&ce(e.stateNode,t.value))return!0;break;case eo:if((5===e.tag||6===e.tag)&&(null!==(e=se(e))&&0<=e.indexOf(t.value)))return!0;break;case Zi: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 io(e){switch(e.$$typeof){case Yi:return"<"+(I(e.value)||"Unknown")+">";case Xi:return":has("+(io(e)||"")+")";case Ji:return'[role="'+e.value+'"]';case eo:return'"'+e.value+'"';case Zi:return'[data-testname="'+e.value+'"]';default:throw Error(l(365,e))}}function oo(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&&ro(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 ao(e,t){if(!oe)throw Error(l(363));e=oo(e=no(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 lo=null;var so=Math.ceil,uo=s.ReactCurrentDispatcher,co=s.ReactCurrentOwner,fo=s.IsSomeRendererActing,po=0,ho=null,mo=null,yo=0,go=0,vo=it(0),bo=0,wo=null,Eo=0,ko=0,So=0,xo=0,Co=null,No=0,Po=1/0;function Io(){Po=Yt()+500}var _o,Lo=null,To=!1,Ao=null,Ro=null,zo=!1,Oo=null,jo=90,Fo=[],Ho=[],Mo=null,Bo=0,Do=null,Uo=-1,Wo=0,Vo=0,$o=null,Qo=!1;function qo(){return 0!=(48&po)?Yt():-1!==Uo?Uo:Uo=Yt()}function Go(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Xt()?1:2;if(0===Wo&&(Wo=Eo),0!==rn.transition){0!==Vo&&(Vo=null!==Co?Co.pendingLanes:0),e=Wo;var t=4186112&~Vo;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Xt(),0!=(4&po)&&98===e?e=Ct(12,Wo):e=Ct(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),Wo),e}function Ko(e,t,n){if(50<Bo)throw Bo=0,Do=null,Error(l(185));if(null===(e=Yo(e,t)))return null;It(e,t,n),e===ho&&(So|=t,4===bo&&Zo(e,yo));var r=Xt();1===t?0!=(8&po)&&0==(48&po)?ea(e):(Xo(e,n),0===po&&(Io(),tn())):(0==(4&po)||98!==r&&99!==r||(null===Mo?Mo=new Set([e]):Mo.add(e)),Xo(e,n)),Co=e}function Yo(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 Xo(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-_t(a),u=1<<s,c=o[s];if(-1===c){if(0==(u&r)||0!=(u&i)){c=t,kt(u);var f=Et;o[s]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);a&=~u}if(r=St(e,e===ho?yo:0),t=Et,0===r)null!==n&&(n!==Vt&&zt(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Vt&&zt(n)}15===t?(n=ea.bind(null,e),null===Qt?(Qt=[n],qt=Rt(Mt,nn)):Qt.push(n),n=Vt):14===t?n=en(99,ea.bind(null,e)):n=en(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),Jo.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function Jo(e){if(Uo=-1,Vo=Wo=0,0!=(48&po))throw Error(l(327));var t=e.callbackNode;if(ga()&&e.callbackNode!==t)return null;var n=St(e,e===ho?yo:0);if(0===n)return null;var r=n,i=po;po|=16;var o=la();for(ho===e&&yo===r||(Io(),oa(e,r));;)try{fa();break}catch(t){aa(e,t)}if(hn(),uo.current=o,po=i,null!==mo?r=0:(ho=null,yo=0,r=bo),0!=(Eo&So))oa(e,0);else if(0!==r){if(2===r&&(po|=64,e.hydrate&&(e.hydrate=!1,Pe(e.containerInfo)),0!==(n=xt(e))&&(r=ua(e,n))),1===r)throw t=wo,oa(e,0),Zo(e,n),Xo(e,Yt()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(l(345));case 2:ha(e);break;case 3:if(Zo(e,n),(62914560&n)===n&&10<(r=No+500-Yt())){if(0!==St(e,0))break;if(((i=e.suspendedLanes)&n)!==n){qo(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Q(ha.bind(null,e),r);break}ha(e);break;case 4:if(Zo(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-_t(n);o=1<<a,(a=r[a])>i&&(i=a),n&=~o}if(n=i,10<(n=(120>(n=Yt()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*so(n/1960))-n)){e.timeoutHandle=Q(ha.bind(null,e),n);break}ha(e);break;case 5:ha(e);break;default:throw Error(l(329))}}return Xo(e,Yt()),e.callbackNode===t?Jo.bind(null,e):null}function Zo(e,t){for(t&=~xo,t&=~So,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function ea(e){if(0!=(48&po))throw Error(l(327));if(ga(),e===ho&&0!=(e.expiredLanes&yo)){var t=yo,n=ua(e,t);0!=(Eo&So)&&(n=ua(e,t=St(e,t)))}else n=ua(e,t=St(e,0));if(0!==e.tag&&2===n&&(po|=64,e.hydrate&&(e.hydrate=!1,Pe(e.containerInfo)),0!==(t=xt(e))&&(n=ua(e,t))),1===n)throw n=wo,oa(e,0),Zo(e,t),Xo(e,Yt()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,ha(e),Xo(e,Yt()),null}function ta(e,t){var n=po;po|=1;try{return e(t)}finally{0===(po=n)&&(Io(),tn())}}function na(e,t){var n=po;if(0!=(48&n))return e(t);po|=1;try{if(e)return Zt(99,e.bind(null,t))}finally{po=n,tn()}}function ra(e,t){at(vo,go),go|=t,Eo|=t}function ia(){go=vo.current,ot(vo)}function oa(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==G&&(e.timeoutHandle=G,q(n)),null!==mo)for(n=mo.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&pt();break;case 3:Gn(),ot(ut),ot(st),ur();break;case 5:Yn(r);break;case 4:Gn();break;case 13:case 19:ot(Xn);break;case 10:yn(r);break;case 23:case 24:ia()}n=n.return}ho=e,mo=Fa(e.current,null),yo=go=Eo=t,bo=0,wo=null,xo=So=ko=0}function aa(e,t){for(;;){var n=mo;try{if(hn(),cr.current=Qr,yr){for(var r=pr.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}yr=!1}if(dr=0,mr=hr=pr=null,gr=!1,co.current=null,null===n||null===n.return){bo=1,wo=t,mo=null;break}e:{var o=e,a=n.return,l=n,s=t;if(t=yo,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 f=0!=(1&Xn.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=d.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var g=new Set;g.add(u),d.updateQueue=g}else y.add(u);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=Sn(-1,1);v.tag=2,xn(l,v)}l.lanes|=1;break e}s=void 0,l=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new Ti,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var w=Sa.bind(null,o,u,l);u.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error((I(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!==bo&&(bo=2),s=_i(s,l),d=a;do{switch(d.tag){case 3:o=s,d.flags|=4096,t&=-t,d.lanes|=t,Cn(d,Ai(0,o,t));break e;case 1:o=s;var E=d.type,k=d.stateNode;if(0==(64&d.flags)&&("function"==typeof E.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Ro||!Ro.has(k)))){d.flags|=4096,t&=-t,d.lanes|=t,Cn(d,Ri(d,o,t));break e}}d=d.return}while(null!==d)}pa(n)}catch(e){t=e,mo===n&&null!==n&&(mo=n=n.return);continue}break}}function la(){var e=uo.current;return uo.current=Qr,null===e?Qr:e}function sa(){0!==bo&&3!==bo||(bo=4),null===ho||0==(134217727&ko)&&0==(134217727&So)||Zo(ho,yo)}function ua(e,t){var n=po;po|=16;var r=la();for(ho===e&&yo===t||oa(e,t);;)try{ca();break}catch(t){aa(e,t)}if(hn(),po=n,uo.current=r,null!==mo)throw Error(l(261));return ho=null,yo=0,bo}function ca(){for(;null!==mo;)da(mo)}function fa(){for(;null!==mo&&!Ot();)da(mo)}function da(e){var t=_o(e.alternate,e,go);e.memoizedProps=e.pendingProps,null===t?pa(e):mo=t,co.current=null}function pa(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Pi(n,t,go)))return void(mo=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&go)||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=Ii(t)))return n.flags&=2047,void(mo=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(mo=t);mo=t=e}while(null!==t);0===bo&&(bo=5)}function ha(e){var t=Xt();return Zt(99,ma.bind(null,e,t)),null}function ma(e,t){do{ga()}while(null!==Oo);if(0!=(48&po))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-_t(o),c=1<<u;i[u]=0,a[u]=-1,s[u]=-1,o&=~c}if(null!==Mo&&0==(24&r)&&Mo.has(e)&&Mo.delete(e),e===ho&&(mo=ho=null,yo=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){i=po,po|=32,co.current=null,$o=H(e.containerInfo),Qo=!1,Lo=r;do{try{ya()}catch(e){if(null===Lo)throw Error(l(330));ka(Lo,e),Lo=Lo.nextEffect}}while(null!==Lo);$o=null,Lo=r;do{try{for(a=e,"function"==typeof Ie&&Ie();null!==Lo;){var f=Lo.flags;if(16&f&&Y&&ke(Lo.stateNode),128&f){var d=Lo.alternate;if(null!==d){var p=d.ref;null!==p&&("function"==typeof p?p(null):p.current=null)}}switch(1038&f){case 2:Vi(Lo),Lo.flags&=-3;break;case 6:Vi(Lo),Lo.flags&=-3,Qi(Lo.alternate,Lo);break;case 1024:Lo.flags&=-1025;break;case 1028:Lo.flags&=-1025,Qi(Lo.alternate,Lo);break;case 4:Qi(Lo.alternate,Lo);break;case 8:s=a,o=Lo,Y?$i(s,o):Di(s,o);var h=o.alternate;Ui(o),null!==h&&Ui(h)}Lo=Lo.nextEffect}"function"==typeof _e&&_e()}catch(e){if(null===Lo)throw Error(l(330));ka(Lo,e),Lo=Lo.nextEffect}}while(null!==Lo);Qo&&re(),M(e.containerInfo),e.current=n,Lo=r;do{try{for(f=e;null!==Lo;){var m=Lo.flags;if(36&m&&Hi(f,Lo.alternate,Lo),128&m){d=void 0;var y=Lo.ref;if(null!==y){var g=Lo.stateNode;switch(Lo.tag){case 5:d=O(g);break;default:d=g}"function"==typeof y?y(d):y.current=d}}Lo=Lo.nextEffect}}catch(e){if(null===Lo)throw Error(l(330));ka(Lo,e),Lo=Lo.nextEffect}}while(null!==Lo);Lo=null,$t(),po=i}else e.current=n;if(zo)zo=!1,Oo=e,jo=t;else for(Lo=r;null!==Lo;)t=Lo.nextEffect,Lo.nextEffect=null,8&Lo.flags&&((m=Lo).sibling=null,m.stateNode=null),Lo=t;if(0===(r=e.pendingLanes)&&(Ro=null),1===r?e===Do?Bo++:(Bo=0,Do=e):Bo=0,n=n.stateNode,bt&&"function"==typeof bt.onCommitFiberRoot)try{bt.onCommitFiberRoot(vt,n,void 0,64==(64&n.current.flags))}catch(e){}if(Xo(e,Yt()),To)throw To=!1,e=Ao,Ao=null,e;return 0!=(8&po)||tn(),null}function ya(){for(;null!==Lo;){var e=Lo.alternate;Qo||null===$o||(0!=(8&Lo.flags)?R(Lo,$o)&&(Qo=!0,ne()):13===Lo.tag&&Ki(e,Lo)&&R(Lo,$o)&&(Qo=!0,ne()));var t=Lo.flags;0!=(256&t)&&ji(e,Lo),0==(512&t)||zo||(zo=!0,en(97,(function(){return ga(),null}))),Lo=Lo.nextEffect}}function ga(){if(90!==jo){var e=97<jo?97:jo;return jo=90,Zt(e,wa)}return!1}function va(e,t){Fo.push(t,e),zo||(zo=!0,en(97,(function(){return ga(),null})))}function ba(e,t){Ho.push(t,e),zo||(zo=!0,en(97,(function(){return ga(),null})))}function wa(){if(null===Oo)return!1;var e=Oo;if(Oo=null,0!=(48&po))throw Error(l(331));var t=po;po|=32;var n=Ho;Ho=[];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));ka(o,e)}}for(n=Fo,Fo=[],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));ka(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 po=t,tn(),!0}function Ea(e,t,n){xn(e,t=Ai(0,t=_i(n,t),1)),t=qo(),null!==(e=Yo(e,1))&&(It(e,1,t),Xo(e,t))}function ka(e,t){if(3===e.tag)Ea(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ea(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ro||!Ro.has(r))){var i=Ri(n,e=_i(t,e),1);if(xn(n,i),i=qo(),null!==(n=Yo(n,1)))It(n,1,i),Xo(n,i);else if("function"==typeof r.componentDidCatch&&(null===Ro||!Ro.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Sa(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=qo(),e.pingedLanes|=e.suspendedLanes&n,ho===e&&(yo&n)===n&&(4===bo||3===bo&&(62914560&yo)===yo&&500>Yt()-No?oa(e,0):xo|=n),Xo(e,t)}function xa(e,t){0===t&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Xt()?1:2:(0===Wo&&(Wo=Eo),0===(t=Nt(62914560&~Wo))&&(t=4194304)));var n=qo();null!==(e=Yo(e,t))&&(It(e,t,n),Xo(e,n))}function Ca(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xa(e,n)}function Na(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(l(314))}null!==r&&r.delete(t),xa(e,n)}_o=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ut.current)Xr=!0;else{if(0==(n&r)){switch(Xr=!1,t.tag){case 3:si(t),lr();break;case 5:Kn(t);break;case 1:dt(t.type)&&yt(t);break;case 4:qn(t,t.stateNode.containerInfo);break;case 10:mn(t,t.memoizedProps.value);break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(at(Xn,1&Xn.current),t.flags|=64,null):0!=(n&t.child.childLanes)?hi(e,t,n):(at(Xn,1&Xn.current),null!==(t=Si(e,t,n))?t.sibling:null);at(Xn,1&Xn.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ki(e,t,n);t.flags|=64}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null,i.lastEffect=null),at(Xn,Xn.current),r)break;return null;case 23:case 24:return t.lanes=0,ni(e,t,n)}return Si(e,t,n)}Xr=0!=(16384&e.flags)}else Xr=!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=ft(t,st.current),vn(t,n),i=wr(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,dt(r)){var o=!0;yt(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,En(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&_n(t,r,a,e),i.updater=Ln,t.stateNode=i,i._reactInternals=t,zn(t,r,e,n),t=li(null,t,r,!0,o,n)}else t.tag=0,Jr(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 ja(e)?1:0;if(null!=e){if((e=e.$$typeof)===y)return 11;if(e===b)return 14;if(e===E)return 22}return 2}(i),a=un(i,e),o){case 0:t=ii(null,t,i,a,n);break e;case 1:t=ai(null,t,i,a,n);break e;case 11:t=Zr(null,t,i,a,n);break e;case 14:t=ei(null,t,i,un(i.type,a),r,n);break e;case 22:t=oi(null,t,i,e,n);break e}throw Error(l(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,ii(e,t,r,i=t.elementType===r?i:un(r,i),n);case 1:return r=t.type,i=t.pendingProps,ai(e,t,r,i=t.elementType===r?i:un(r,i),n);case 3:if(si(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,kn(e,t),Nn(t,r,null,n),(r=t.memoizedState.element)===i)lr(),t=Si(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(J?(er=Ve(t.stateNode.containerInfo),Zn=t,o=tr=!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],K?o._workInProgressVersionPrimary=a:o._workInProgressVersionSecondary=a,sr.push(o);for(n=Dn(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Jr(e,t,r,n),lr();t=t.child}return t;case 5:return Kn(t),null===e&&ir(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),ri(e,t),Jr(e,t,a,n),t.child;case 6:return null===e&&ir(t),null;case 13:return hi(e,t,n);case 4:return qn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Bn(t,null,r,n):Jr(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Zr(e,t,r,i=t.elementType===r?i:un(r,i),n);case 7:return Jr(e,t,t.pendingProps,n),t.child;case 8:case 12:return Jr(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,mn(t,o=i.value),null!==a){var s=a.value;if(0===(o=on(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(a.children===i.children&&!ut.current){t=Si(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===a.tag&&((c=Sn(-1,n&-n)).tag=2,xn(a,c)),a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),gn(a.return,n),u.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(l(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),gn(s,n),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}}Jr(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,vn(t,n),r=r(i=bn(i,o.unstable_observedBits)),t.flags|=1,Jr(e,t,r,n),t.child;case 14:return o=un(i=t.type,t.pendingProps),ei(e,t,i,o=un(i.type,o),r,n);case 15:return ti(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:un(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,dt(r)?(e=!0,yt(t)):e=!1,vn(t,n),An(t,r,i),zn(t,r,i,n),li(null,t,r,!0,e,n);case 19:return ki(e,t,n);case 22:return oi(e,t,t.type,t.pendingProps,n);case 23:case 24:return ni(e,t,n)}throw Error(l(156,t.tag))};var Pa={current:!1},Ia=a.unstable_flushAllWithoutAsserting,_a="function"==typeof Ia;function La(){if(void 0!==Ia)return Ia();for(var e=!1;ga();)e=!0;return e}function Ta(t){try{La(),function(t){if(null===lo)try{var n=("require"+Math.random()).slice(0,7);lo=(e&&e[n]).call(e,"timers").setImmediate}catch(e){lo=function(e){var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}lo(t)}((function(){La()?Ta(t):t()}))}catch(e){t(e)}}var Aa=0,Ra=!1;function za(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 Oa(e,t,n,r){return new za(e,t,n,r)}function ja(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fa(e,t){var n=e.alternate;return null===n?((n=Oa(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 Ha(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)ja(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case f:return Ma(n.children,i,o,t);case k:a=8,i|=16;break;case d:a=8,i|=1;break;case p:return(e=Oa(12,n,t,8|i)).elementType=p,e.type=p,e.lanes=o,e;case g:return(e=Oa(13,n,t,i)).type=g,e.elementType=g,e.lanes=o,e;case v:return(e=Oa(19,n,t,i)).elementType=v,e.lanes=o,e;case S:return Ba(n,i,o,t);case x:return(e=Oa(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 y:a=11;break e;case b:a=14;break e;case w:a=16,r=null;break e;case E:a=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=Oa(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Ma(e,t,n,r){return(e=Oa(7,e,r,t)).lanes=n,e}function Ba(e,t,n,r){return(e=Oa(23,e,r,t)).elementType=S,e.lanes=n,e}function Da(e,t,n){return(e=Oa(6,e,null,t)).lanes=n,e}function Ua(e,t,n){return(t=Oa(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wa(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=G,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Pt(0),this.expirationTimes=Pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pt(0),J&&(this.mutableSourceEagerHydrationData=null)}function Va(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=A(t))?null:e.stateNode}function $a(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qa(e,t){$a(e,t),(e=e.alternate)&&$a(e,t)}function qa(e){return null===(e=A(e))?null:e.stateNode}function Ga(){return null}return r.IsThisRendererActing=Pa,r.act=function(e){function t(){Aa--,fo.current=n,Pa.current=r}!1===Ra&&(Ra=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected.")),Aa++;var n=fo.current,r=Pa.current;fo.current=!0,Pa.current=!0;try{var i=ta(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<Aa||!0===_a&&!0===n?(t(),e()):Ta((function(n){t(),n?r(n):e()}))}),(function(e){t(),r(e)}))}};try{1!==Aa||!1!==_a&&!1!==n||La(),t()}catch(e){throw t(),e}return{then:function(e){e()}}},r.attemptContinuousHydration=function(e){13===e.tag&&(Ko(e,67108864,qo()),Qa(e,67108864))},r.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=qo(),n=Go(e);Ko(e,n,t),Qa(e,n)}},r.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.hydrate){var n=kt(t.pendingLanes);t.expiredLanes|=n&t.pendingLanes,Xo(t,Yt()),0==(48&po)&&(Io(),tn())}break;case 13:var r=qo();na((function(){return Ko(e,1,r)})),Qa(e,4)}},r.attemptUserBlockingHydration=function(e){13===e.tag&&(Ko(e,4,qo()),Qa(e,4))},r.batchedEventUpdates=function(e,t){var n=po;po|=2;try{return e(t)}finally{0===(po=n)&&(Io(),tn())}},r.batchedUpdates=ta,r.createComponentSelector=function(e){return{$$typeof:Yi,value:e}},r.createContainer=function(e,t,n){return e=new Wa(e,t,n),t=Oa(3,null,null,2===t?7:1===t?3:0),e.current=t,t.stateNode=e,En(t),e},r.createHasPsuedoClassSelector=function(e){return{$$typeof:Xi,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:Ji,value:e}},r.createTestNameSelector=function(e){return{$$typeof:Zi,value:e}},r.createTextSelector=function(e){return{$$typeof:eo,value:e}},r.deferredUpdates=function(e){return Zt(97,e)},r.discreteUpdates=function(e,t,n,r,i){var o=po;po|=4;try{return Zt(98,e.bind(null,t,n,r,i))}finally{0===(po=o)&&(Io(),tn())}},r.findAllNodes=ao,r.findBoundingRects=function(e,t){if(!oe)throw Error(l(363));t=ao(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,f=c+u.width,d=u.y,p=d+u.height;if(r>=c&&o>=d&&i<=f&&a<=p){e.splice(t,1);break}if(!(r!==c||n.width!==u.width||p<o||d>a)){d>o&&(u.height+=d-o,u.y=o),p<a&&(u.height=a-d),e.splice(t,1);break}if(!(o!==d||n.height!==u.height||f<r||c>i)){c>r&&(u.width+=c-r,u.x=r),f<i&&(u.width=i-c),e.splice(t,1);break}}return e},r.findHostInstance=Va,r.findHostInstanceWithNoPortals=function(e){return null===(e=function(e){if(!(e=T(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 Va(e)},r.flushControlled=function(e){var t=po;po|=1;try{Zt(99,e)}finally{0===(po=t)&&(Io(),tn())}},r.flushDiscreteUpdates=function(){0==(49&po)&&(function(){if(null!==Mo){var e=Mo;Mo=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Xo(e,Yt())}))}tn()}(),ga())},r.flushPassiveEffects=ga,r.flushSync=na,r.focusWithin=function(e,t){if(!oe)throw Error(l(363));for(t=oo(e=no(e),t),t=Array.from(t),e=0;e<t.length;){var n=t[e++];if(!ue(n)){if(5===n.tag&&fe(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},r.getCurrentUpdateLanePriority=function(){return wt},r.getFindAllNodesFailureDescription=function(e,t){if(!oe)throw Error(l(363));var n=0,r=[];e=[no(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))&&(ro(o,s)&&(r.push(io(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(io(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 O(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:qa,findFiberByHostInstance:e.findFiberByHostInstance||Ga,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{vt=t.inject(e),bt=t}catch(e){}e=!0}return e},r.observeVisibleRects=function(e,t,n,r){if(!oe)throw Error(l(363));e=ao(e,t);var i=de(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=wt;try{return wt=e,t()}finally{wt=n}},r.shouldSuspend=function(){return!1},r.unbatchedUpdates=function(e,t){var n=po;po&=-2,po|=8;try{return e(t)}finally{0===(po=n)&&(Io(),tn())}},r.updateContainer=function(e,t,n,r){var i=t.current,o=qo(),a=Go(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(dt(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(dt(u)){n=mt(n,u,s);break e}}n=s}else n=lt;return null===t.context?t.context=n:t.pendingContext=n,(t=Sn(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),xn(i,t),Ko(i,a,o),a},r}}).call(this,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/@hippy/react-reconciler/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/@hippy/react-reconciler/cjs/react-reconciler.production.min.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 f=0;f<l.length;f++)o.call(n,l[f])&&(s[l[f]]=n[l[f]])}}return s}},"./node_modules/process/browser.js":function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,u=[],c=!1,f=-1;function d(){c&&s&&(c=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!c){var e=l(d);c=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||l(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"./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 f=Symbol.for;i=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),l=f("react.context"),s=f("react.forward_ref"),t.Suspense=f("react.suspense"),u=f("react.memo"),c=f("react.lazy")}var d="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 y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var b=v.prototype=new g;b.constructor=v,r(b,y.prototype),b.isPureReactComponent=!0;var w={current:null},E=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function S(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)E.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 P(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,"$&/")+"/"),P(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+=P(l,t,n,c,a)}else if("function"==typeof(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e)))for(e=c.call(e),u=0;!(l=e.next()).done;)s+=P(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 I(e,t,n){if(null==e)return e;var r=[],i=0;return P(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 L={current:null};function T(){var e=L.current;if(null===e)throw Error(p(321));return e}var A={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:I,forEach:function(e,t,n){I(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(p(143));return e}},t.Component=y,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,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)E.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 f=0;f<c;f++)u[f]=arguments[f+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=S,t.createFactory=function(e){var t=S.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 T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().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,f=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(d,0))},i=function(e,t){f=setTimeout(e,t)},o=function(){clearTimeout(f)},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 y=!1,g=null,v=-1,b=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"):b=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,k=E.port2;E.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();w=e+b;try{g(!0,e)?k.postMessage(null):(y=!1,g=null)}catch(e){throw k.postMessage(null),e}}else y=!1},r=function(e){g=e,y||(y=!0,k.postMessage(null))},i=function(e,n){v=p((function(){e(t.unstable_now())}),n)},o=function(){h(v),v=-1}}function S(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 P=[],I=[],_=1,L=null,T=3,A=!1,R=!1,z=!1;function O(e){for(var t=x(I);null!==t;){if(null===t.callback)C(I);else{if(!(t.startTime<=e))break;C(I),t.sortIndex=t.expirationTime,S(P,t)}t=x(I)}}function j(e){if(z=!1,O(e),!R)if(null!==x(P))R=!0,r(F);else{var t=x(I);null!==t&&i(j,t.startTime-e)}}function F(e,n){R=!1,z&&(z=!1,o()),A=!0;var r=T;try{for(O(n),L=x(P);null!==L&&(!(L.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=L.callback;if("function"==typeof a){L.callback=null,T=L.priorityLevel;var l=a(L.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?L.callback=l:L===x(P)&&C(P),O(n)}else C(P);L=x(P)}if(null!==L)var s=!0;else{var u=x(I);null!==u&&i(j,u.startTime-n),s=!1}return s}finally{L=null,T=r,A=!1}}var H=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(){R||A||(R=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=H,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=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,S(I,e),null===x(P)&&e===x(I)&&(z?o():z=!0,i(j,a-l))):(e.sortIndex=s,S(P,e),R||A||(R=!0,r(F))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=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}});