react-shopping-cart-kit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd ADDED
@@ -0,0 +1,277 @@
1
+ (function(Yt,Qa){typeof exports=="object"&&typeof module<"u"?Qa(exports):typeof define=="function"&&define.amd?define(["exports"],Qa):(Yt=typeof globalThis<"u"?globalThis:Yt||self,Qa(Yt.ReactShoppingCartKit={}))})(this,function(Yt){"use strict";var Fk=Object.defineProperty;var Hk=(Yt,Qa,Jo)=>Qa in Yt?Fk(Yt,Qa,{enumerable:!0,configurable:!0,writable:!0,value:Jo}):Yt[Qa]=Jo;var vc=(Yt,Qa,Jo)=>Hk(Yt,typeof Qa!="symbol"?Qa+"":Qa,Jo);const Qa={},Jo=E=>{let x;const S=new Set,D=(H,A)=>{const q=typeof H=="function"?H(x):H;if(!Object.is(q,x)){const W=x;x=A??(typeof q!="object"||q===null)?q:Object.assign({},x,q),S.forEach(ne=>ne(x,W))}},B=()=>x,z={setState:D,getState:B,getInitialState:()=>M,subscribe:H=>(S.add(H),()=>S.delete(H)),destroy:()=>{(Qa?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),S.clear()}},M=x=E(D,B,z);return z},cw=E=>E?Jo(E):Jo;function F0(E){return E&&E.__esModule&&Object.prototype.hasOwnProperty.call(E,"default")?E.default:E}var oy={exports:{}},Rt={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var H0;function fw(){if(H0)return Rt;H0=1;var E=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),y=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),M=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),A=Symbol.iterator;function q(R){return R===null||typeof R!="object"?null:(R=A&&R[A]||R["@@iterator"],typeof R=="function"?R:null)}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ne=Object.assign,ee={};function ie(R,Z,We){this.props=R,this.context=Z,this.refs=ee,this.updater=We||W}ie.prototype.isReactComponent={},ie.prototype.setState=function(R,Z){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,Z,"setState")},ie.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function re(){}re.prototype=ie.prototype;function te(R,Z,We){this.props=R,this.context=Z,this.refs=ee,this.updater=We||W}var he=te.prototype=new re;he.constructor=te,ne(he,ie.prototype),he.isPureReactComponent=!0;var ze=Array.isArray,Re=Object.prototype.hasOwnProperty,Ne={current:null},me={key:!0,ref:!0,__self:!0,__source:!0};function Et(R,Z,We){var Je,ht={},ft=null,st=null;if(Z!=null)for(Je in Z.ref!==void 0&&(st=Z.ref),Z.key!==void 0&&(ft=""+Z.key),Z)Re.call(Z,Je)&&!me.hasOwnProperty(Je)&&(ht[Je]=Z[Je]);var dt=arguments.length-2;if(dt===1)ht.children=We;else if(1<dt){for(var mt=Array(dt),Qt=0;Qt<dt;Qt++)mt[Qt]=arguments[Qt+2];ht.children=mt}if(R&&R.defaultProps)for(Je in dt=R.defaultProps,dt)ht[Je]===void 0&&(ht[Je]=dt[Je]);return{$$typeof:E,type:R,key:ft,ref:st,props:ht,_owner:Ne.current}}function Lt(R,Z){return{$$typeof:E,type:R.type,key:Z,ref:R.ref,props:R.props,_owner:R._owner}}function Bt(R){return typeof R=="object"&&R!==null&&R.$$typeof===E}function nn(R){var Z={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(We){return Z[We]})}var _t=/\/+/g;function je(R,Z){return typeof R=="object"&&R!==null&&R.key!=null?nn(""+R.key):Z.toString(36)}function xt(R,Z,We,Je,ht){var ft=typeof R;(ft==="undefined"||ft==="boolean")&&(R=null);var st=!1;if(R===null)st=!0;else switch(ft){case"string":case"number":st=!0;break;case"object":switch(R.$$typeof){case E:case x:st=!0}}if(st)return st=R,ht=ht(st),R=Je===""?"."+je(st,0):Je,ze(ht)?(We="",R!=null&&(We=R.replace(_t,"$&/")+"/"),xt(ht,Z,We,"",function(Qt){return Qt})):ht!=null&&(Bt(ht)&&(ht=Lt(ht,We+(!ht.key||st&&st.key===ht.key?"":(""+ht.key).replace(_t,"$&/")+"/")+R)),Z.push(ht)),1;if(st=0,Je=Je===""?".":Je+":",ze(R))for(var dt=0;dt<R.length;dt++){ft=R[dt];var mt=Je+je(ft,dt);st+=xt(ft,Z,We,mt,ht)}else if(mt=q(R),typeof mt=="function")for(R=mt.call(R),dt=0;!(ft=R.next()).done;)ft=ft.value,mt=Je+je(ft,dt++),st+=xt(ft,Z,We,mt,ht);else if(ft==="object")throw Z=String(R),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.");return st}function bt(R,Z,We){if(R==null)return R;var Je=[],ht=0;return xt(R,Je,"","",function(ft){return Z.call(We,ft,ht++)}),Je}function Tt(R){if(R._status===-1){var Z=R._result;Z=Z(),Z.then(function(We){(R._status===0||R._status===-1)&&(R._status=1,R._result=We)},function(We){(R._status===0||R._status===-1)&&(R._status=2,R._result=We)}),R._status===-1&&(R._status=0,R._result=Z)}if(R._status===1)return R._result.default;throw R._result}var Le={current:null},ve={transition:null},Fe={ReactCurrentDispatcher:Le,ReactCurrentBatchConfig:ve,ReactCurrentOwner:Ne};function ge(){throw Error("act(...) is not supported in production builds of React.")}return Rt.Children={map:bt,forEach:function(R,Z,We){bt(R,function(){Z.apply(this,arguments)},We)},count:function(R){var Z=0;return bt(R,function(){Z++}),Z},toArray:function(R){return bt(R,function(Z){return Z})||[]},only:function(R){if(!Bt(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Rt.Component=ie,Rt.Fragment=S,Rt.Profiler=B,Rt.PureComponent=te,Rt.StrictMode=D,Rt.Suspense=z,Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Fe,Rt.act=ge,Rt.cloneElement=function(R,Z,We){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var Je=ne({},R.props),ht=R.key,ft=R.ref,st=R._owner;if(Z!=null){if(Z.ref!==void 0&&(ft=Z.ref,st=Ne.current),Z.key!==void 0&&(ht=""+Z.key),R.type&&R.type.defaultProps)var dt=R.type.defaultProps;for(mt in Z)Re.call(Z,mt)&&!me.hasOwnProperty(mt)&&(Je[mt]=Z[mt]===void 0&&dt!==void 0?dt[mt]:Z[mt])}var mt=arguments.length-2;if(mt===1)Je.children=We;else if(1<mt){dt=Array(mt);for(var Qt=0;Qt<mt;Qt++)dt[Qt]=arguments[Qt+2];Je.children=dt}return{$$typeof:E,type:R.type,key:ht,ref:ft,props:Je,_owner:st}},Rt.createContext=function(R){return R={$$typeof:y,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:L,_context:R},R.Consumer=R},Rt.createElement=Et,Rt.createFactory=function(R){var Z=Et.bind(null,R);return Z.type=R,Z},Rt.createRef=function(){return{current:null}},Rt.forwardRef=function(R){return{$$typeof:G,render:R}},Rt.isValidElement=Bt,Rt.lazy=function(R){return{$$typeof:H,_payload:{_status:-1,_result:R},_init:Tt}},Rt.memo=function(R,Z){return{$$typeof:M,type:R,compare:Z===void 0?null:Z}},Rt.startTransition=function(R){var Z=ve.transition;ve.transition={};try{R()}finally{ve.transition=Z}},Rt.unstable_act=ge,Rt.useCallback=function(R,Z){return Le.current.useCallback(R,Z)},Rt.useContext=function(R){return Le.current.useContext(R)},Rt.useDebugValue=function(){},Rt.useDeferredValue=function(R){return Le.current.useDeferredValue(R)},Rt.useEffect=function(R,Z){return Le.current.useEffect(R,Z)},Rt.useId=function(){return Le.current.useId()},Rt.useImperativeHandle=function(R,Z,We){return Le.current.useImperativeHandle(R,Z,We)},Rt.useInsertionEffect=function(R,Z){return Le.current.useInsertionEffect(R,Z)},Rt.useLayoutEffect=function(R,Z){return Le.current.useLayoutEffect(R,Z)},Rt.useMemo=function(R,Z){return Le.current.useMemo(R,Z)},Rt.useReducer=function(R,Z,We){return Le.current.useReducer(R,Z,We)},Rt.useRef=function(R){return Le.current.useRef(R)},Rt.useState=function(R){return Le.current.useState(R)},Rt.useSyncExternalStore=function(R,Z,We){return Le.current.useSyncExternalStore(R,Z,We)},Rt.useTransition=function(){return Le.current.useTransition()},Rt.version="18.3.1",Rt}var rd={exports:{}};/**
10
+ * @license React
11
+ * react.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */rd.exports;var V0;function dw(){return V0||(V0=1,function(E,x){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var S="18.3.1",D=Symbol.for("react.element"),B=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),M=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),ee=Symbol.for("react.offscreen"),ie=Symbol.iterator,re="@@iterator";function te(h){if(h===null||typeof h!="object")return null;var w=ie&&h[ie]||h[re];return typeof w=="function"?w:null}var he={current:null},ze={transition:null},Re={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Ne={current:null},me={},Et=null;function Lt(h){Et=h}me.setExtraStackFrame=function(h){Et=h},me.getCurrentStack=null,me.getStackAddendum=function(){var h="";Et&&(h+=Et);var w=me.getCurrentStack;return w&&(h+=w()||""),h};var Bt=!1,nn=!1,_t=!1,je=!1,xt=!1,bt={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:ze,ReactCurrentOwner:Ne};bt.ReactDebugCurrentFrame=me,bt.ReactCurrentActQueue=Re;function Tt(h){{for(var w=arguments.length,Y=new Array(w>1?w-1:0),K=1;K<w;K++)Y[K-1]=arguments[K];ve("warn",h,Y)}}function Le(h){{for(var w=arguments.length,Y=new Array(w>1?w-1:0),K=1;K<w;K++)Y[K-1]=arguments[K];ve("error",h,Y)}}function ve(h,w,Y){{var K=bt.ReactDebugCurrentFrame,pe=K.getStackAddendum();pe!==""&&(w+="%s",Y=Y.concat([pe]));var Qe=Y.map(function(Ce){return String(Ce)});Qe.unshift("Warning: "+w),Function.prototype.apply.call(console[h],console,Qe)}}var Fe={};function ge(h,w){{var Y=h.constructor,K=Y&&(Y.displayName||Y.name)||"ReactClass",pe=K+"."+w;if(Fe[pe])return;Le("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",w,K),Fe[pe]=!0}}var R={isMounted:function(h){return!1},enqueueForceUpdate:function(h,w,Y){ge(h,"forceUpdate")},enqueueReplaceState:function(h,w,Y,K){ge(h,"replaceState")},enqueueSetState:function(h,w,Y,K){ge(h,"setState")}},Z=Object.assign,We={};Object.freeze(We);function Je(h,w,Y){this.props=h,this.context=w,this.refs=We,this.updater=Y||R}Je.prototype.isReactComponent={},Je.prototype.setState=function(h,w){if(typeof h!="object"&&typeof h!="function"&&h!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,w,"setState")},Je.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};{var ht={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ft=function(h,w){Object.defineProperty(Je.prototype,h,{get:function(){Tt("%s(...) is deprecated in plain JavaScript React classes. %s",w[0],w[1])}})};for(var st in ht)ht.hasOwnProperty(st)&&ft(st,ht[st])}function dt(){}dt.prototype=Je.prototype;function mt(h,w,Y){this.props=h,this.context=w,this.refs=We,this.updater=Y||R}var Qt=mt.prototype=new dt;Qt.constructor=mt,Z(Qt,Je.prototype),Qt.isPureReactComponent=!0;function Ln(){var h={current:null};return Object.seal(h),h}var _r=Array.isArray;function bn(h){return _r(h)}function ar(h){{var w=typeof Symbol=="function"&&Symbol.toStringTag,Y=w&&h[Symbol.toStringTag]||h.constructor.name||"Object";return Y}}function In(h){try{return Yn(h),!1}catch{return!0}}function Yn(h){return""+h}function Wr(h){if(In(h))return Le("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ar(h)),Yn(h)}function pi(h,w,Y){var K=h.displayName;if(K)return K;var pe=w.displayName||w.name||"";return pe!==""?Y+"("+pe+")":Y}function ca(h){return h.displayName||"Context"}function Xn(h){if(h==null)return null;if(typeof h.tag=="number"&&Le("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case L:return"Fragment";case B:return"Portal";case G:return"Profiler";case y:return"StrictMode";case A:return"Suspense";case q:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case M:var w=h;return ca(w)+".Consumer";case z:var Y=h;return ca(Y._context)+".Provider";case H:return pi(h,h.render,"ForwardRef");case W:var K=h.displayName||null;return K!==null?K:Xn(h.type)||"Memo";case ne:{var pe=h,Qe=pe._payload,Ce=pe._init;try{return Xn(Ce(Qe))}catch{return null}}}return null}var wn=Object.prototype.hasOwnProperty,$n={key:!0,ref:!0,__self:!0,__source:!0},Cr,Ga,Mn;Mn={};function Er(h){if(wn.call(h,"ref")){var w=Object.getOwnPropertyDescriptor(h,"ref").get;if(w&&w.isReactWarning)return!1}return h.ref!==void 0}function fa(h){if(wn.call(h,"key")){var w=Object.getOwnPropertyDescriptor(h,"key").get;if(w&&w.isReactWarning)return!1}return h.key!==void 0}function qa(h,w){var Y=function(){Cr||(Cr=!0,Le("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",w))};Y.isReactWarning=!0,Object.defineProperty(h,"key",{get:Y,configurable:!0})}function vi(h,w){var Y=function(){Ga||(Ga=!0,Le("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",w))};Y.isReactWarning=!0,Object.defineProperty(h,"ref",{get:Y,configurable:!0})}function ye(h){if(typeof h.ref=="string"&&Ne.current&&h.__self&&Ne.current.stateNode!==h.__self){var w=Xn(Ne.current.type);Mn[w]||(Le('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w,h.ref),Mn[w]=!0)}}var Pe=function(h,w,Y,K,pe,Qe,Ce){var Ke={$$typeof:D,type:h,key:w,ref:Y,props:Ce,_owner:Qe};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:K}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:pe}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function pt(h,w,Y){var K,pe={},Qe=null,Ce=null,Ke=null,Ct=null;if(w!=null){Er(w)&&(Ce=w.ref,ye(w)),fa(w)&&(Wr(w.key),Qe=""+w.key),Ke=w.__self===void 0?null:w.__self,Ct=w.__source===void 0?null:w.__source;for(K in w)wn.call(w,K)&&!$n.hasOwnProperty(K)&&(pe[K]=w[K])}var At=arguments.length-2;if(At===1)pe.children=Y;else if(At>1){for(var on=Array(At),Xt=0;Xt<At;Xt++)on[Xt]=arguments[Xt+2];Object.freeze&&Object.freeze(on),pe.children=on}if(h&&h.defaultProps){var vt=h.defaultProps;for(K in vt)pe[K]===void 0&&(pe[K]=vt[K])}if(Qe||Ce){var Jt=typeof h=="function"?h.displayName||h.name||"Unknown":h;Qe&&qa(pe,Jt),Ce&&vi(pe,Jt)}return Pe(h,Qe,Ce,Ke,Ct,Ne.current,pe)}function It(h,w){var Y=Pe(h.type,w,h.ref,h._self,h._source,h._owner,h.props);return Y}function an(h,w,Y){if(h==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+h+".");var K,pe=Z({},h.props),Qe=h.key,Ce=h.ref,Ke=h._self,Ct=h._source,At=h._owner;if(w!=null){Er(w)&&(Ce=w.ref,At=Ne.current),fa(w)&&(Wr(w.key),Qe=""+w.key);var on;h.type&&h.type.defaultProps&&(on=h.type.defaultProps);for(K in w)wn.call(w,K)&&!$n.hasOwnProperty(K)&&(w[K]===void 0&&on!==void 0?pe[K]=on[K]:pe[K]=w[K])}var Xt=arguments.length-2;if(Xt===1)pe.children=Y;else if(Xt>1){for(var vt=Array(Xt),Jt=0;Jt<Xt;Jt++)vt[Jt]=arguments[Jt+2];pe.children=vt}return Pe(h.type,Qe,Ce,Ke,Ct,At,pe)}function mn(h){return typeof h=="object"&&h!==null&&h.$$typeof===D}var cn=".",Jn=":";function ln(h){var w=/[=:]/g,Y={"=":"=0",":":"=2"},K=h.replace(w,function(pe){return Y[pe]});return"$"+K}var Gt=!1,qt=/\/+/g;function da(h){return h.replace(qt,"$&/")}function xr(h,w){return typeof h=="object"&&h!==null&&h.key!=null?(Wr(h.key),ln(""+h.key)):w.toString(36)}function Da(h,w,Y,K,pe){var Qe=typeof h;(Qe==="undefined"||Qe==="boolean")&&(h=null);var Ce=!1;if(h===null)Ce=!0;else switch(Qe){case"string":case"number":Ce=!0;break;case"object":switch(h.$$typeof){case D:case B:Ce=!0}}if(Ce){var Ke=h,Ct=pe(Ke),At=K===""?cn+xr(Ke,0):K;if(bn(Ct)){var on="";At!=null&&(on=da(At)+"/"),Da(Ct,w,on,"",function(dd){return dd})}else Ct!=null&&(mn(Ct)&&(Ct.key&&(!Ke||Ke.key!==Ct.key)&&Wr(Ct.key),Ct=It(Ct,Y+(Ct.key&&(!Ke||Ke.key!==Ct.key)?da(""+Ct.key)+"/":"")+At)),w.push(Ct));return 1}var Xt,vt,Jt=0,yn=K===""?cn:K+Jn;if(bn(h))for(var Tl=0;Tl<h.length;Tl++)Xt=h[Tl],vt=yn+xr(Xt,Tl),Jt+=Da(Xt,w,Y,vt,pe);else{var rs=te(h);if(typeof rs=="function"){var $i=h;rs===$i.entries&&(Gt||Tt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gt=!0);for(var as=rs.call($i),du,fd=0;!(du=as.next()).done;)Xt=du.value,vt=yn+xr(Xt,fd++),Jt+=Da(Xt,w,Y,vt,pe)}else if(Qe==="object"){var Sc=String(h);throw new Error("Objects are not valid as a React child (found: "+(Sc==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":Sc)+"). If you meant to render a collection of children, use an array instead.")}}return Jt}function Bi(h,w,Y){if(h==null)return h;var K=[],pe=0;return Da(h,K,"","",function(Qe){return w.call(Y,Qe,pe++)}),K}function ru(h){var w=0;return Bi(h,function(){w++}),w}function au(h,w,Y){Bi(h,function(){w.apply(this,arguments)},Y)}function yl(h){return Bi(h,function(w){return w})||[]}function gl(h){if(!mn(h))throw new Error("React.Children.only expected to receive a single React element child.");return h}function iu(h){var w={$$typeof:M,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};w.Provider={$$typeof:z,_context:w};var Y=!1,K=!1,pe=!1;{var Qe={$$typeof:M,_context:w};Object.defineProperties(Qe,{Provider:{get:function(){return K||(K=!0,Le("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),w.Provider},set:function(Ce){w.Provider=Ce}},_currentValue:{get:function(){return w._currentValue},set:function(Ce){w._currentValue=Ce}},_currentValue2:{get:function(){return w._currentValue2},set:function(Ce){w._currentValue2=Ce}},_threadCount:{get:function(){return w._threadCount},set:function(Ce){w._threadCount=Ce}},Consumer:{get:function(){return Y||(Y=!0,Le("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),w.Consumer}},displayName:{get:function(){return w.displayName},set:function(Ce){pe||(Tt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Ce),pe=!0)}}}),w.Consumer=Qe}return w._currentRenderer=null,w._currentRenderer2=null,w}var Dr=-1,kr=0,ir=1,hi=2;function Ka(h){if(h._status===Dr){var w=h._result,Y=w();if(Y.then(function(Qe){if(h._status===kr||h._status===Dr){var Ce=h;Ce._status=ir,Ce._result=Qe}},function(Qe){if(h._status===kr||h._status===Dr){var Ce=h;Ce._status=hi,Ce._result=Qe}}),h._status===Dr){var K=h;K._status=kr,K._result=Y}}if(h._status===ir){var pe=h._result;return pe===void 0&&Le(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
+
19
+ Your code should look like:
20
+ const MyComponent = lazy(() => import('./MyComponent'))
21
+
22
+ Did you accidentally put curly braces around the import?`,pe),"default"in pe||Le(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
+
24
+ Your code should look like:
25
+ const MyComponent = lazy(() => import('./MyComponent'))`,pe),pe.default}else throw h._result}function mi(h){var w={_status:Dr,_result:h},Y={$$typeof:ne,_payload:w,_init:Ka};{var K,pe;Object.defineProperties(Y,{defaultProps:{configurable:!0,get:function(){return K},set:function(Qe){Le("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),K=Qe,Object.defineProperty(Y,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return pe},set:function(Qe){Le("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),pe=Qe,Object.defineProperty(Y,"propTypes",{enumerable:!0})}}})}return Y}function yi(h){h!=null&&h.$$typeof===W?Le("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof h!="function"?Le("forwardRef requires a render function but was given %s.",h===null?"null":typeof h):h.length!==0&&h.length!==2&&Le("forwardRef render functions accept exactly two parameters: props and ref. %s",h.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),h!=null&&(h.defaultProps!=null||h.propTypes!=null)&&Le("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var w={$$typeof:H,render:h};{var Y;Object.defineProperty(w,"displayName",{enumerable:!1,configurable:!0,get:function(){return Y},set:function(K){Y=K,!h.name&&!h.displayName&&(h.displayName=K)}})}return w}var T;T=Symbol.for("react.module.reference");function le(h){return!!(typeof h=="string"||typeof h=="function"||h===L||h===G||xt||h===y||h===A||h===q||je||h===ee||Bt||nn||_t||typeof h=="object"&&h!==null&&(h.$$typeof===ne||h.$$typeof===W||h.$$typeof===z||h.$$typeof===M||h.$$typeof===H||h.$$typeof===T||h.getModuleId!==void 0))}function Ee(h,w){le(h)||Le("memo: The first argument must be a component. Instead received: %s",h===null?"null":typeof h);var Y={$$typeof:W,type:h,compare:w===void 0?null:w};{var K;Object.defineProperty(Y,"displayName",{enumerable:!1,configurable:!0,get:function(){return K},set:function(pe){K=pe,!h.name&&!h.displayName&&(h.displayName=pe)}})}return Y}function Oe(){var h=he.current;return h===null&&Le(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
26
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
27
+ 2. You might be breaking the Rules of Hooks
28
+ 3. You might have more than one copy of React in the same app
29
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),h}function lt(h){var w=Oe();if(h._context!==void 0){var Y=h._context;Y.Consumer===h?Le("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):Y.Provider===h&&Le("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return w.useContext(h)}function rt(h){var w=Oe();return w.useState(h)}function St(h,w,Y){var K=Oe();return K.useReducer(h,w,Y)}function yt(h){var w=Oe();return w.useRef(h)}function Rn(h,w){var Y=Oe();return Y.useEffect(h,w)}function un(h,w){var Y=Oe();return Y.useInsertionEffect(h,w)}function fn(h,w){var Y=Oe();return Y.useLayoutEffect(h,w)}function lr(h,w){var Y=Oe();return Y.useCallback(h,w)}function Xa(h,w){var Y=Oe();return Y.useMemo(h,w)}function Ja(h,w,Y){var K=Oe();return K.useImperativeHandle(h,w,Y)}function ut(h,w){{var Y=Oe();return Y.useDebugValue(h,w)}}function ct(){var h=Oe();return h.useTransition()}function Za(h){var w=Oe();return w.useDeferredValue(h)}function lu(){var h=Oe();return h.useId()}function uu(h,w,Y){var K=Oe();return K.useSyncExternalStore(h,w,Y)}var Sl=0,eo,Cl,Qr,Zo,Or,yc,gc;function to(){}to.__reactDisabledLog=!0;function El(){{if(Sl===0){eo=console.log,Cl=console.info,Qr=console.warn,Zo=console.error,Or=console.group,yc=console.groupCollapsed,gc=console.groupEnd;var h={configurable:!0,enumerable:!0,value:to,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}Sl++}}function pa(){{if(Sl--,Sl===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},h,{value:eo}),info:Z({},h,{value:Cl}),warn:Z({},h,{value:Qr}),error:Z({},h,{value:Zo}),group:Z({},h,{value:Or}),groupCollapsed:Z({},h,{value:yc}),groupEnd:Z({},h,{value:gc})})}Sl<0&&Le("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ei=bt.ReactCurrentDispatcher,ti;function no(h,w,Y){{if(ti===void 0)try{throw Error()}catch(pe){var K=pe.stack.trim().match(/\n( *(at )?)/);ti=K&&K[1]||""}return`
30
+ `+ti+h}}var ou=!1,xl;{var ro=typeof WeakMap=="function"?WeakMap:Map;xl=new ro}function ao(h,w){if(!h||ou)return"";{var Y=xl.get(h);if(Y!==void 0)return Y}var K;ou=!0;var pe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Qe;Qe=ei.current,ei.current=null,El();try{if(w){var Ce=function(){throw Error()};if(Object.defineProperty(Ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(yn){K=yn}Reflect.construct(h,[],Ce)}else{try{Ce.call()}catch(yn){K=yn}h.call(Ce.prototype)}}else{try{throw Error()}catch(yn){K=yn}h()}}catch(yn){if(yn&&K&&typeof yn.stack=="string"){for(var Ke=yn.stack.split(`
31
+ `),Ct=K.stack.split(`
32
+ `),At=Ke.length-1,on=Ct.length-1;At>=1&&on>=0&&Ke[At]!==Ct[on];)on--;for(;At>=1&&on>=0;At--,on--)if(Ke[At]!==Ct[on]){if(At!==1||on!==1)do if(At--,on--,on<0||Ke[At]!==Ct[on]){var Xt=`
33
+ `+Ke[At].replace(" at new "," at ");return h.displayName&&Xt.includes("<anonymous>")&&(Xt=Xt.replace("<anonymous>",h.displayName)),typeof h=="function"&&xl.set(h,Xt),Xt}while(At>=1&&on>=0);break}}}finally{ou=!1,ei.current=Qe,pa(),Error.prepareStackTrace=pe}var vt=h?h.displayName||h.name:"",Jt=vt?no(vt):"";return typeof h=="function"&&xl.set(h,Jt),Jt}function Ii(h,w,Y){return ao(h,!1)}function sd(h){var w=h.prototype;return!!(w&&w.isReactComponent)}function Yi(h,w,Y){if(h==null)return"";if(typeof h=="function")return ao(h,sd(h));if(typeof h=="string")return no(h);switch(h){case A:return no("Suspense");case q:return no("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case H:return Ii(h.render);case W:return Yi(h.type,w,Y);case ne:{var K=h,pe=K._payload,Qe=K._init;try{return Yi(Qe(pe),w,Y)}catch{}}}return""}var zt={},io=bt.ReactDebugCurrentFrame;function Mt(h){if(h){var w=h._owner,Y=Yi(h.type,h._source,w?w.type:null);io.setExtraStackFrame(Y)}else io.setExtraStackFrame(null)}function es(h,w,Y,K,pe){{var Qe=Function.call.bind(wn);for(var Ce in h)if(Qe(h,Ce)){var Ke=void 0;try{if(typeof h[Ce]!="function"){var Ct=Error((K||"React class")+": "+Y+" type `"+Ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[Ce]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=h[Ce](w,Ce,K,Y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(At){Ke=At}Ke&&!(Ke instanceof Error)&&(Mt(pe),Le("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",K||"React class",Y,Ce,typeof Ke),Mt(null)),Ke instanceof Error&&!(Ke.message in zt)&&(zt[Ke.message]=!0,Mt(pe),Le("Failed %s type: %s",Y,Ke.message),Mt(null))}}}function gi(h){if(h){var w=h._owner,Y=Yi(h.type,h._source,w?w.type:null);Lt(Y)}else Lt(null)}var nt;nt=!1;function lo(){if(Ne.current){var h=Xn(Ne.current.type);if(h)return`
34
+
35
+ Check the render method of \``+h+"`."}return""}function ur(h){if(h!==void 0){var w=h.fileName.replace(/^.*[\\\/]/,""),Y=h.lineNumber;return`
36
+
37
+ Check your code at `+w+":"+Y+"."}return""}function Si(h){return h!=null?ur(h.__source):""}var Nr={};function Ci(h){var w=lo();if(!w){var Y=typeof h=="string"?h:h.displayName||h.name;Y&&(w=`
38
+
39
+ Check the top-level render call using <`+Y+">.")}return w}function dn(h,w){if(!(!h._store||h._store.validated||h.key!=null)){h._store.validated=!0;var Y=Ci(w);if(!Nr[Y]){Nr[Y]=!0;var K="";h&&h._owner&&h._owner!==Ne.current&&(K=" It was passed a child from "+Xn(h._owner.type)+"."),gi(h),Le('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Y,K),gi(null)}}}function Kt(h,w){if(typeof h=="object"){if(bn(h))for(var Y=0;Y<h.length;Y++){var K=h[Y];mn(K)&&dn(K,w)}else if(mn(h))h._store&&(h._store.validated=!0);else if(h){var pe=te(h);if(typeof pe=="function"&&pe!==h.entries)for(var Qe=pe.call(h),Ce;!(Ce=Qe.next()).done;)mn(Ce.value)&&dn(Ce.value,w)}}}function bl(h){{var w=h.type;if(w==null||typeof w=="string")return;var Y;if(typeof w=="function")Y=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===H||w.$$typeof===W))Y=w.propTypes;else return;if(Y){var K=Xn(w);es(Y,h.props,"prop",K,h)}else if(w.PropTypes!==void 0&&!nt){nt=!0;var pe=Xn(w);Le("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",pe||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&Le("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wn(h){{for(var w=Object.keys(h.props),Y=0;Y<w.length;Y++){var K=w[Y];if(K!=="children"&&K!=="key"){gi(h),Le("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",K),gi(null);break}}h.ref!==null&&(gi(h),Le("Invalid attribute `ref` supplied to `React.Fragment`."),gi(null))}}function Lr(h,w,Y){var K=le(h);if(!K){var pe="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(pe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Qe=Si(w);Qe?pe+=Qe:pe+=lo();var Ce;h===null?Ce="null":bn(h)?Ce="array":h!==void 0&&h.$$typeof===D?(Ce="<"+(Xn(h.type)||"Unknown")+" />",pe=" Did you accidentally export a JSX literal instead of a component?"):Ce=typeof h,Le("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ce,pe)}var Ke=pt.apply(this,arguments);if(Ke==null)return Ke;if(K)for(var Ct=2;Ct<arguments.length;Ct++)Kt(arguments[Ct],h);return h===L?Wn(Ke):bl(Ke),Ke}var ka=!1;function su(h){var w=Lr.bind(null,h);return w.type=h,ka||(ka=!0,Tt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(w,"type",{enumerable:!1,get:function(){return Tt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:h}),h}}),w}function ts(h,w,Y){for(var K=an.apply(this,arguments),pe=2;pe<arguments.length;pe++)Kt(arguments[pe],K.type);return bl(K),K}function ns(h,w){var Y=ze.transition;ze.transition={};var K=ze.transition;ze.transition._updatedFibers=new Set;try{h()}finally{if(ze.transition=Y,Y===null&&K._updatedFibers){var pe=K._updatedFibers.size;pe>10&&Tt("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),K._updatedFibers.clear()}}}var wl=!1,cu=null;function cd(h){if(cu===null)try{var w=("require"+Math.random()).slice(0,7),Y=E&&E[w];cu=Y.call(E,"timers").setImmediate}catch{cu=function(pe){wl===!1&&(wl=!0,typeof MessageChannel>"u"&&Le("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Qe=new MessageChannel;Qe.port1.onmessage=pe,Qe.port2.postMessage(void 0)}}return cu(h)}var Oa=0,ni=!1;function Ei(h){{var w=Oa;Oa++,Re.current===null&&(Re.current=[]);var Y=Re.isBatchingLegacy,K;try{if(Re.isBatchingLegacy=!0,K=h(),!Y&&Re.didScheduleLegacyUpdate){var pe=Re.current;pe!==null&&(Re.didScheduleLegacyUpdate=!1,Rl(pe))}}catch(vt){throw Na(w),vt}finally{Re.isBatchingLegacy=Y}if(K!==null&&typeof K=="object"&&typeof K.then=="function"){var Qe=K,Ce=!1,Ke={then:function(vt,Jt){Ce=!0,Qe.then(function(yn){Na(w),Oa===0?uo(yn,vt,Jt):vt(yn)},function(yn){Na(w),Jt(yn)})}};return!ni&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Ce||(ni=!0,Le("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Ke}else{var Ct=K;if(Na(w),Oa===0){var At=Re.current;At!==null&&(Rl(At),Re.current=null);var on={then:function(vt,Jt){Re.current===null?(Re.current=[],uo(Ct,vt,Jt)):vt(Ct)}};return on}else{var Xt={then:function(vt,Jt){vt(Ct)}};return Xt}}}}function Na(h){h!==Oa-1&&Le("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Oa=h}function uo(h,w,Y){{var K=Re.current;if(K!==null)try{Rl(K),cd(function(){K.length===0?(Re.current=null,w(h)):uo(h,w,Y)})}catch(pe){Y(pe)}else w(h)}}var oo=!1;function Rl(h){if(!oo){oo=!0;var w=0;try{for(;w<h.length;w++){var Y=h[w];do Y=Y(!0);while(Y!==null)}h.length=0}catch(K){throw h=h.slice(w+1),K}finally{oo=!1}}}var fu=Lr,so=ts,co=su,ri={map:Bi,forEach:au,count:ru,toArray:yl,only:gl};x.Children=ri,x.Component=Je,x.Fragment=L,x.Profiler=G,x.PureComponent=mt,x.StrictMode=y,x.Suspense=A,x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bt,x.act=Ei,x.cloneElement=so,x.createContext=iu,x.createElement=fu,x.createFactory=co,x.createRef=Ln,x.forwardRef=yi,x.isValidElement=mn,x.lazy=mi,x.memo=Ee,x.startTransition=ns,x.unstable_act=Ei,x.useCallback=lr,x.useContext=lt,x.useDebugValue=ut,x.useDeferredValue=Za,x.useEffect=Rn,x.useId=lu,x.useImperativeHandle=Ja,x.useInsertionEffect=un,x.useLayoutEffect=fn,x.useMemo=Xa,x.useReducer=St,x.useRef=yt,x.useState=rt,x.useSyncExternalStore=uu,x.useTransition=ct,x.version=S,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(rd,rd.exports)),rd.exports}process.env.NODE_ENV==="production"?oy.exports=fw():oy.exports=dw();var Ve=oy.exports;const ad=F0(Ve);var sy={exports:{}},cy={},vv={exports:{}},fy={};/**
40
+ * @license React
41
+ * use-sync-external-store-shim.production.js
42
+ *
43
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */var P0;function pw(){if(P0)return fy;P0=1;var E=Ve;function x(A,q){return A===q&&(A!==0||1/A===1/q)||A!==A&&q!==q}var S=typeof Object.is=="function"?Object.is:x,D=E.useState,B=E.useEffect,L=E.useLayoutEffect,y=E.useDebugValue;function G(A,q){var W=q(),ne=D({inst:{value:W,getSnapshot:q}}),ee=ne[0].inst,ie=ne[1];return L(function(){ee.value=W,ee.getSnapshot=q,z(ee)&&ie({inst:ee})},[A,W,q]),B(function(){return z(ee)&&ie({inst:ee}),A(function(){z(ee)&&ie({inst:ee})})},[A]),y(W),W}function z(A){var q=A.getSnapshot;A=A.value;try{var W=q();return!S(A,W)}catch{return!0}}function M(A,q){return q()}var H=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?M:G;return fy.useSyncExternalStore=E.useSyncExternalStore!==void 0?E.useSyncExternalStore:H,fy}var dy={};/**
48
+ * @license React
49
+ * use-sync-external-store-shim.development.js
50
+ *
51
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
52
+ *
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE file in the root directory of this source tree.
55
+ */var B0;function vw(){return B0||(B0=1,process.env.NODE_ENV!=="production"&&function(){function E(W,ne){return W===ne&&(W!==0||1/W===1/ne)||W!==W&&ne!==ne}function x(W,ne){H||B.startTransition===void 0||(H=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var ee=ne();if(!A){var ie=ne();L(ee,ie)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),A=!0)}ie=y({inst:{value:ee,getSnapshot:ne}});var re=ie[0].inst,te=ie[1];return z(function(){re.value=ee,re.getSnapshot=ne,S(re)&&te({inst:re})},[W,ee,ne]),G(function(){return S(re)&&te({inst:re}),W(function(){S(re)&&te({inst:re})})},[W]),M(ee),ee}function S(W){var ne=W.getSnapshot;W=W.value;try{var ee=ne();return!L(W,ee)}catch{return!0}}function D(W,ne){return ne()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B=Ve,L=typeof Object.is=="function"?Object.is:E,y=B.useState,G=B.useEffect,z=B.useLayoutEffect,M=B.useDebugValue,H=!1,A=!1,q=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?D:x;dy.useSyncExternalStore=B.useSyncExternalStore!==void 0?B.useSyncExternalStore:q,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),dy}var I0;function Y0(){return I0||(I0=1,process.env.NODE_ENV==="production"?vv.exports=pw():vv.exports=vw()),vv.exports}/**
56
+ * @license React
57
+ * use-sync-external-store-shim/with-selector.production.js
58
+ *
59
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */var $0;function hw(){if($0)return cy;$0=1;var E=Ve,x=Y0();function S(M,H){return M===H&&(M!==0||1/M===1/H)||M!==M&&H!==H}var D=typeof Object.is=="function"?Object.is:S,B=x.useSyncExternalStore,L=E.useRef,y=E.useEffect,G=E.useMemo,z=E.useDebugValue;return cy.useSyncExternalStoreWithSelector=function(M,H,A,q,W){var ne=L(null);if(ne.current===null){var ee={hasValue:!1,value:null};ne.current=ee}else ee=ne.current;ne=G(function(){function re(Ne){if(!te){if(te=!0,he=Ne,Ne=q(Ne),W!==void 0&&ee.hasValue){var me=ee.value;if(W(me,Ne))return ze=me}return ze=Ne}if(me=ze,D(he,Ne))return me;var Et=q(Ne);return W!==void 0&&W(me,Et)?(he=Ne,me):(he=Ne,ze=Et)}var te=!1,he,ze,Re=A===void 0?null:A;return[function(){return re(H())},Re===null?void 0:function(){return re(Re())}]},[H,A,q,W]);var ie=B(M,ne[0],ne[1]);return y(function(){ee.hasValue=!0,ee.value=ie},[ie]),z(ie),ie},cy}var py={};/**
64
+ * @license React
65
+ * use-sync-external-store-shim/with-selector.development.js
66
+ *
67
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
68
+ *
69
+ * This source code is licensed under the MIT license found in the
70
+ * LICENSE file in the root directory of this source tree.
71
+ */var W0;function mw(){return W0||(W0=1,process.env.NODE_ENV!=="production"&&function(){function E(M,H){return M===H&&(M!==0||1/M===1/H)||M!==M&&H!==H}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var x=Ve,S=Y0(),D=typeof Object.is=="function"?Object.is:E,B=S.useSyncExternalStore,L=x.useRef,y=x.useEffect,G=x.useMemo,z=x.useDebugValue;py.useSyncExternalStoreWithSelector=function(M,H,A,q,W){var ne=L(null);if(ne.current===null){var ee={hasValue:!1,value:null};ne.current=ee}else ee=ne.current;ne=G(function(){function re(Ne){if(!te){if(te=!0,he=Ne,Ne=q(Ne),W!==void 0&&ee.hasValue){var me=ee.value;if(W(me,Ne))return ze=me}return ze=Ne}if(me=ze,D(he,Ne))return me;var Et=q(Ne);return W!==void 0&&W(me,Et)?(he=Ne,me):(he=Ne,ze=Et)}var te=!1,he,ze,Re=A===void 0?null:A;return[function(){return re(H())},Re===null?void 0:function(){return re(Re())}]},[H,A,q,W]);var ie=B(M,ne[0],ne[1]);return y(function(){ee.hasValue=!0,ee.value=ie},[ie]),z(ie),ie},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),py}process.env.NODE_ENV==="production"?sy.exports=hw():sy.exports=mw();var yw=sy.exports;const gw=F0(yw),Q0={},{useDebugValue:Sw}=ad,{useSyncExternalStoreWithSelector:Cw}=gw;let G0=!1;const Ew=E=>E;function Ra(E,x=Ew,S){(Q0?"production":void 0)!=="production"&&S&&!G0&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),G0=!0);const D=Cw(E.subscribe,E.getState,E.getServerState||E.getInitialState,x,S);return Sw(D),D}const q0=E=>{(Q0?"production":void 0)!=="production"&&typeof E!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const x=typeof E=="function"?cw(E):E,S=(D,B)=>Ra(x,D,B);return Object.assign(S,x),S},xw=E=>E?q0(E):q0,bw={};function ww(E,x){let S;try{S=E()}catch{return}return{getItem:B=>{var L;const y=z=>z===null?null:JSON.parse(z,void 0),G=(L=S.getItem(B))!=null?L:null;return G instanceof Promise?G.then(y):y(G)},setItem:(B,L)=>S.setItem(B,JSON.stringify(L,void 0)),removeItem:B=>S.removeItem(B)}}const id=E=>x=>{try{const S=E(x);return S instanceof Promise?S:{then(D){return id(D)(S)},catch(D){return this}}}catch(S){return{then(D){return this},catch(D){return id(D)(S)}}}},Rw=(E,x)=>(S,D,B)=>{let L={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:ie=>ie,version:0,merge:(ie,re)=>({...re,...ie}),...x},y=!1;const G=new Set,z=new Set;let M;try{M=L.getStorage()}catch{}if(!M)return E((...ie)=>{console.warn(`[zustand persist middleware] Unable to update item '${L.name}', the given storage is currently unavailable.`),S(...ie)},D,B);const H=id(L.serialize),A=()=>{const ie=L.partialize({...D()});let re;const te=H({state:ie,version:L.version}).then(he=>M.setItem(L.name,he)).catch(he=>{re=he});if(re)throw re;return te},q=B.setState;B.setState=(ie,re)=>{q(ie,re),A()};const W=E((...ie)=>{S(...ie),A()},D,B);let ne;const ee=()=>{var ie;if(!M)return;y=!1,G.forEach(te=>te(D()));const re=((ie=L.onRehydrateStorage)==null?void 0:ie.call(L,D()))||void 0;return id(M.getItem.bind(M))(L.name).then(te=>{if(te)return L.deserialize(te)}).then(te=>{if(te)if(typeof te.version=="number"&&te.version!==L.version){if(L.migrate)return L.migrate(te.state,te.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return te.state}).then(te=>{var he;return ne=L.merge(te,(he=D())!=null?he:W),S(ne,!0),A()}).then(()=>{re==null||re(ne,void 0),y=!0,z.forEach(te=>te(ne))}).catch(te=>{re==null||re(void 0,te)})};return B.persist={setOptions:ie=>{L={...L,...ie},ie.getStorage&&(M=ie.getStorage())},clearStorage:()=>{M==null||M.removeItem(L.name)},getOptions:()=>L,rehydrate:()=>ee(),hasHydrated:()=>y,onHydrate:ie=>(G.add(ie),()=>{G.delete(ie)}),onFinishHydration:ie=>(z.add(ie),()=>{z.delete(ie)})},ee(),ne||W},Tw=(E,x)=>(S,D,B)=>{let L={storage:ww(()=>localStorage),partialize:ee=>ee,version:0,merge:(ee,ie)=>({...ie,...ee}),...x},y=!1;const G=new Set,z=new Set;let M=L.storage;if(!M)return E((...ee)=>{console.warn(`[zustand persist middleware] Unable to update item '${L.name}', the given storage is currently unavailable.`),S(...ee)},D,B);const H=()=>{const ee=L.partialize({...D()});return M.setItem(L.name,{state:ee,version:L.version})},A=B.setState;B.setState=(ee,ie)=>{A(ee,ie),H()};const q=E((...ee)=>{S(...ee),H()},D,B);B.getInitialState=()=>q;let W;const ne=()=>{var ee,ie;if(!M)return;y=!1,G.forEach(te=>{var he;return te((he=D())!=null?he:q)});const re=((ie=L.onRehydrateStorage)==null?void 0:ie.call(L,(ee=D())!=null?ee:q))||void 0;return id(M.getItem.bind(M))(L.name).then(te=>{if(te)if(typeof te.version=="number"&&te.version!==L.version){if(L.migrate)return[!0,L.migrate(te.state,te.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,te.state];return[!1,void 0]}).then(te=>{var he;const[ze,Re]=te;if(W=L.merge(Re,(he=D())!=null?he:q),S(W,!0),ze)return H()}).then(()=>{re==null||re(W,void 0),W=D(),y=!0,z.forEach(te=>te(W))}).catch(te=>{re==null||re(void 0,te)})};return B.persist={setOptions:ee=>{L={...L,...ee},ee.storage&&(M=ee.storage)},clearStorage:()=>{M==null||M.removeItem(L.name)},getOptions:()=>L,rehydrate:()=>ne(),hasHydrated:()=>y,onHydrate:ee=>(G.add(ee),()=>{G.delete(ee)}),onFinishHydration:ee=>(z.add(ee),()=>{z.delete(ee)})},L.skipHydration||ne(),W||q},_w=(E,x)=>"getStorage"in x||"serialize"in x||"deserialize"in x?((bw?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),Rw(E,x)):Tw(E,x);class Dw{constructor(){vc(this,"memoryCache",new Map)}getItem(x){try{return typeof window>"u"?this.memoryCache.get(x)||null:localStorage.getItem(x)||this.memoryCache.get(x)||null}catch{return this.memoryCache.get(x)||null}}setItem(x,S){try{typeof window<"u"&&localStorage.setItem(x,S),this.memoryCache.set(x,S)}catch(D){this.memoryCache.set(x,S),console.warn("localStorage unavailable, using memory fallback:",D)}}removeItem(x){try{typeof window<"u"&&localStorage.removeItem(x),this.memoryCache.delete(x)}catch{this.memoryCache.delete(x)}}clear(){try{typeof window<"u"&&localStorage.clear(),this.memoryCache.clear()}catch{this.memoryCache.clear()}}}const K0=new Dw;function X0(E){return typeof E=="string"||typeof E=="number"?String(E):typeof E=="boolean"||E===null||E===void 0?"":Array.isArray(E)?E.map(X0).filter(Boolean).join(" "):""}function kw(...E){return E.map(X0).filter(Boolean).join(" ")}function Ow(...E){const x=kw(...E).split(" "),S=new Map,D={p:["px","py","pt","pr","pb","pl"],m:["mx","my","mt","mr","mb","ml"],px:["pl","pr"],py:["pt","pb"],block:["inline","inline-block","flex","inline-flex","grid","inline-grid"],flex:["inline-flex"],grid:["inline-grid"],relative:["absolute","fixed","sticky","static"],absolute:["relative","fixed","sticky","static"],fixed:["relative","absolute","sticky","static"],"text-red-500":["text-blue-500","text-green-500","text-yellow-500","text-gray-500"],"text-blue-500":["text-red-500","text-green-500","text-yellow-500","text-gray-500"],"text-green-500":["text-red-500","text-blue-500","text-yellow-500","text-gray-500"],"text-yellow-500":["text-red-500","text-blue-500","text-green-500","text-gray-500"],"text-gray-500":["text-red-500","text-blue-500","text-green-500","text-yellow-500"],"bg-red-500":["bg-blue-500","bg-green-500","bg-yellow-500","bg-gray-500"],"bg-blue-500":["bg-red-500","bg-green-500","bg-yellow-500","bg-gray-500"],"bg-green-500":["bg-red-500","bg-blue-500","bg-yellow-500","bg-gray-500"],"bg-yellow-500":["bg-red-500","bg-blue-500","bg-green-500","bg-gray-500"],"bg-gray-500":["bg-red-500","bg-blue-500","bg-green-500","bg-yellow-500"]};for(let B=x.length-1;B>=0;B--){const L=x[B];if(!L||S.has(L))continue;const y=L.split("-")[0];D[y]&&D[y].forEach(G=>{L.startsWith(G)&&S.delete(G)}),Object.entries(D).forEach(([G,z])=>{L.startsWith(G)&&z.forEach(M=>{L.startsWith(M)&&S.delete(M)})}),S.set(L,!0)}return Array.from(S.keys()).join(" ")}function Xu(...E){return Ow(...E)}const ml=class ml{constructor(){vc(this,"activeVouchers",new Map);vc(this,"appliedDiscounts",[]);vc(this,"discountRules",[]);vc(this,"STORAGE_KEY","cart-vouchers");if(ml.instance)return ml.instance;ml.instance=this,this.loadFromStorage()}static getInstance(){return ml.instance||(ml.instance=new ml),ml.instance}loadFromStorage(){try{const x=K0.getItem(this.STORAGE_KEY);if(x){const S=JSON.parse(x);this.activeVouchers=new Map(S)}}catch(x){console.error("Failed to load vouchers from storage:",x),this.activeVouchers=new Map}}saveToStorage(){try{const x=Array.from(this.activeVouchers.entries());K0.setItem(this.STORAGE_KEY,JSON.stringify(x))}catch(x){console.error("Failed to save vouchers to storage:",x)}}addDiscountRule(x){this.discountRules.push(x)}validateVoucher(x,S=0,D=[]){var G,z,M,H,A,q,W,ne,ee,ie;const B=x.trim().toUpperCase();if(this.activeVouchers.has(B))return{code:B,amount:0,type:"percentage",description:"Voucher already used",isValid:!1};const L=this.discountRules.find(re=>re.id===B);return L?(G=L.conditions)!=null&&G.expiryDate&&L.conditions.expiryDate<new Date?{code:B,amount:0,type:"percentage",description:"Voucher has expired",isValid:!1}:(z=L==null?void 0:L.conditions)!=null&&z.minimumOrderValue&&S<L.conditions.minimumOrderValue?{code:B,amount:L.value,type:L.type==="percentage"||L.type==="fixed"?L.type:"percentage",description:`Minimum order value of ${L.conditions.minimumOrderValue} required`,isValid:!1}:(M=L.conditions)!=null&&M.applicableProducts&&L.conditions.applicableProducts.length>0&&!D.some(te=>L.conditions.applicableProducts.includes(te))?{code:B,amount:L.value,type:L.type==="percentage"||L.type==="fixed"?L.type:"percentage",description:"Voucher not applicable to these products",isValid:!1}:(H=L.conditions)!=null&&H.excludedProducts&&L.conditions.excludedProducts.length>0&&D.every(te=>L.conditions.excludedProducts.includes(te))&&D.length>0?{code:B,amount:0,type:"percentage",description:"Voucher excluded for these products",isValid:!1}:(A=L.conditions)!=null&&A.usageLimit&&L.conditions.usageCount&&L.conditions.usageCount>=L.conditions.usageLimit?{code:B,amount:0,type:"percentage",description:`Usage limit exceeded (${L.conditions.usageCount}/${L.conditions.usageLimit})`,isValid:!1}:{code:B,amount:L.value,type:L.type==="percentage"||L.type==="fixed"?L.type:"percentage",description:L.name||"",expiryDate:(q=L.conditions)==null?void 0:q.expiryDate,minimumOrderValue:(W=L.conditions)==null?void 0:W.minimumOrderValue,applicableProducts:((ne=L.conditions)==null?void 0:ne.applicableProducts)||[],usageLimit:(ee=L.conditions)==null?void 0:ee.usageLimit,usageCount:((ie=L.conditions)==null?void 0:ie.usageCount)||0,isValid:!0}:{code:B,amount:0,type:"percentage",description:"Invalid voucher code",isValid:!1}}applyVoucher(x){var D;if(!((D=this.validateVoucher(x.code))!=null&&D.isValid))return!1;this.activeVouchers.set(x.code,x);const S=this.discountRules.find(B=>B.id===x.code);return S&&S.conditions&&(S.conditions.usageCount=(S.conditions.usageCount||0)+1),this.saveToStorage(),!0}removeVoucher(x){this.activeVouchers.delete(x),this.saveToStorage()}getActiveVouchers(){return Array.from(this.activeVouchers.values())}getAppliedDiscounts(){return this.appliedDiscounts}applyDiscountFromVoucher(x){var D;if(!((D=this.validateVoucher(x.code))!=null&&D.isValid))return null;const S={code:x.code,amount:x.amount,type:x.type,description:x.description};return this.appliedDiscounts.push(S),S}removeDiscount(x){this.appliedDiscounts=this.appliedDiscounts.filter(S=>S.code!==x)}clearAppliedDiscounts(){this.appliedDiscounts=[]}isVoucherValid(x){var B,L;const S=this.activeVouchers.get(x);if(!S)return!1;const D=this.discountRules.find(y=>y.id===x);return D?!((B=D.conditions)!=null&&B.expiryDate&&D.conditions.expiryDate<new Date||(L=D.conditions)!=null&&L.usageLimit&&S.usageCount&&S.usageCount>=D.conditions.usageLimit):!0}getVoucher(x){return this.activeVouchers.get(x)||null}};vc(ml,"instance");let hc=ml;const mc={VALIDATION:{MAX_QUANTITY:999,MIN_QUANTITY:1,MAX_PRODUCT_NAME_LENGTH:500},MATH:{CURRENCY_PRECISION_FACTOR:1e6},TIMERS:{DISCOUNT_RATE_LIMIT_MS:1e3,DRAWER_CLOSE_DELAY_MS:150}},ld={taxRate:0,currency:"USD",availableCurrencies:[],storageKey:"react-shopping-cart",shippingMethods:[],discountCodes:[],showTax:!0,showDiscount:!0,showShipping:!0,showCurrencySelector:!0},{MAX_QUANTITY:J0,MIN_QUANTITY:Z0,MAX_PRODUCT_NAME_LENGTH:Nw}=mc.VALIDATION,eC=E=>E!=null&&(typeof E=="string"||typeof E=="number"),tC=E=>typeof E=="string"&&E.length>0&&E.length<=Nw,nC=E=>typeof E=="number"&&!isNaN(E)&&isFinite(E)&&E>=0,rC=E=>typeof E=="number"&&!isNaN(E)&&isFinite(E)&&E>=Z0&&E<=J0,aC=(E=ld)=>{const x=typeof window>"u";return xw()(_w((S,D)=>{var B,L;return{items:[],discount:null,voucher:null,selectedShippingMethod:((L=(B=E.shippingMethods)==null?void 0:B[0])==null?void 0:L.id)||"",selectedCurrency:E.currency||ld.currency||"USD",isDrawerOpen:!1,config:{...ld,...E},addItem:y=>{if(!eC(y.id)){console.error("Invalid product ID:",y.id);return}if(!tC(y.name)){console.error("Invalid product name:",y.name);return}if(!nC(y.price)){console.error("Invalid product price:",y.price);return}S(G=>{const z=G.items.find(M=>M.id===y.id);if(z){const M=z.quantity+1;return rC(M)?{items:G.items.map(H=>H.id===y.id?{...y,quantity:M}:H)}:(console.error("Maximum quantity reached for product:",y.id),G)}return{items:[...G.items,{...y,quantity:1}]}})},removeItem:y=>{S(G=>({items:G.items.filter(z=>z.id!==y)}))},updateItemQuantity:(y,G)=>{if(typeof G!="number"||!isFinite(G)){console.error("Invalid quantity type:",G);return}if(G<=0){D().removeItem(y);return}if(!rC(G)){console.error("Invalid quantity:",G);return}S(z=>({items:z.items.map(M=>M.id===y?{...M,quantity:G}:M)}))},clearCart:()=>{S({items:[],discount:null})},applyDiscount:y=>{const G=D().validateDiscountCode(y);G&&S({discount:{code:G.code,amount:G.amount,type:G.type,description:G.description||`Discount: ${G.code}`}})},removeDiscount:()=>{S({discount:null})},applyVoucher:y=>{S({voucher:y})},removeVoucher:()=>{S({voucher:null})},validateVoucher:(y,G)=>hc.getInstance().validateVoucher(y,G),getActiveDiscounts:()=>hc.getInstance().getAppliedDiscounts(),getActiveVouchers:()=>hc.getInstance().getActiveVouchers(),setIsDrawerOpen:y=>{S({isDrawerOpen:y})},setConfig:y=>{S({config:{...D().config,...y}})},setSelectedShippingMethod:y=>{S({selectedShippingMethod:y})},validateDiscountCode:(y,G=0)=>{const z=y.trim().slice(0,50).toUpperCase();if(!/^[A-Z0-9-_]+$/.test(z))return null;const H=(D().config.discountCodes||[]).find(A=>A.code.toUpperCase()===z);return!H||H.minimumOrderValue&&G<H.minimumOrderValue||H.expiryDate&&H.expiryDate<new Date?null:H},setSelectedCurrency:y=>{S({selectedCurrency:y})},getCurrentCurrency:()=>(D().config.availableCurrencies||[]).find(G=>G.code===D().selectedCurrency)||null,convertAmount:y=>{const G=D().getCurrentCurrency();if(!G)return y;const z=G.conversionRate;return!isFinite(z)||z<=0?(console.error(`Invalid conversion rate for ${G.code}: ${z}`),y):y*z},formatCurrency:y=>{const G=D().getCurrentCurrency();if(!G)return y.toFixed(2);const z=D().convertAmount(y),M=G.decimalPlaces,H=G.thousandsSeparator,A=G.decimalSeparator,W=z.toFixed(M).split(".");W[0]=W[0].replace(/\B(?=(\d{3})+(?!\d))/g,H);const ne=W.join(A);return G.symbolOnLeft?`${G.symbol}${ne}`:`${ne} ${G.symbol}`}}},{name:"cart-storage",partialize:S=>({items:S.items,discount:S.discount,voucher:S.voucher,selectedShippingMethod:S.selectedShippingMethod,selectedCurrency:S.selectedCurrency}),skipHydration:x,merge:(S,D)=>{const{config:B,...L}=S;return{...D,...L}},onRehydrateStorage:()=>S=>{try{if(!S)return;S.items&&Array.isArray(S.items)?S.items=S.items.filter(D=>D&&eC(D.id)&&tC(D.name)&&nC(D.price)&&typeof D.quantity=="number"&&D.quantity>=Z0&&D.quantity<=J0):S.items=[],S.discount&&(!S.discount.code||typeof S.discount.amount!="number")&&(S.discount=null),S.voucher&&(!S.voucher.code||typeof S.voucher.amount!="number")&&(S.voucher=null),S.config||(S.config={...ld})}catch(D){return console.error("Rehydration error, resetting to safe defaults:",D),{items:[],discount:null,voucher:null,selectedShippingMethod:"",selectedCurrency:"USD",config:{...ld}}}}}))};let vy=null;const Lw=E=>aC(E),iC=()=>(vy||(vy=aC()),vy),lC=(E,x)=>{const S=mc.MATH.CURRENCY_PRECISION_FACTOR;return Math.round((E+x)*S)/S},hy=(E,x)=>{const S=mc.MATH.CURRENCY_PRECISION_FACTOR;return Math.round(E*x*S)/S},uC=(E,x)=>{const S=mc.MATH.CURRENCY_PRECISION_FACTOR;return Math.round((E-x)*S)/S},hv=E=>E.reduce((x,S)=>lC(x,hy(S.price,S.quantity)),0),oC=E=>E.reduce((x,S)=>x+S.quantity,0),sC=(E,x)=>x?x.type==="percentage"?hy(E,x.amount/100):x.amount:0,cC=(E,x,S)=>{const D=Math.max(0,uC(E,x));return hy(D,S)},fC=(E,x,S)=>Math.max(0,lC(uC(E,x),S)),dC={en:{cart:{title:"Shopping Cart",empty:"Your cart is empty",addItem:"Add to Cart",removeItem:"Remove Item",updateQuantity:"Update Quantity",clearCart:"Clear Cart",subtotal:"Subtotal",tax:"Tax",discount:"Discount",voucher:"Voucher",total:"Total",checkout:"Checkout",applyVoucher:"Apply Voucher",removeVoucher:"Remove Voucher",invalidVoucher:"Invalid voucher code",voucherApplied:"Voucher applied successfully!",minimumOrderValue:"Minimum order value required",expiredVoucher:"Voucher has expired",usageLimitExceeded:"Usage limit exceeded",discountCode:"Discount code",enterDiscountCode:"Please enter a discount code",shippingMethod:"Shipping Method",standardShipping:"Standard (5-7 days)",expressShipping:"Express (2-3 days)",freeShipping:"Free",item:"item",items:"items",addItemsToStart:"Add some items to get started",clear:"Clear",sortByName:"Sort by Name",sortByPrice:"Sort by Price",sortByQuantity:"Sort by Quantity",paymentMethod:"Payment Method",hide:"Hide",change:"Change",processing:"Processing...",remove:"Remove"},product:{addToCart:"Add to Cart",outOfStock:"Out of Stock",inStock:"In Stock",price:"Price",quantity:"Quantity",saveForLater:"Save for later",save:"Save",edit:"Edit",remove:"Remove"},ui:{loading:"Loading...",error:"Error",success:"Success",close:"Close",open:"Open",save:"Save",edit:"Edit",remove:"Remove",apply:"Apply",cancel:"Cancel",continue:"Continue",search:"Search",filter:"Filter",sort:"Sort",currency:"Currency",selectRequestedCurrency:"Select Currency"},currencies:{USD:"US Dollar",EUR:"Euro",GBP:"British Pound",JOD:"Jordanian Dinar",AED:"UAE Dirham",SAR:"Saudi Riyal",CAD:"Canadian Dollar",AUD:"Australian Dollar",JPY:"Japanese Yen"}},ar:{cart:{title:"سلة التسوق",empty:"سلتك فارغة",addItem:"أضف للسلة",removeItem:"إزالة المنتج",updateQuantity:"تحديث الكمية",clearCart:"إفراغ السلة",subtotal:"المجموع الفرعي",tax:"الضريبة",discount:"الخصم",voucher:"قسيمة",total:"الإجمالي",checkout:"إتمام الشراء",applyVoucher:"تطبيق القسيمة",removeVoucher:"إزالة القسيمة",invalidVoucher:"كود قسيمة غير صالح",voucherApplied:"تم تطبيق القسيمة بنجاح!",minimumOrderValue:"مطلوب حد أدنى للطلب",expiredVoucher:"انتهت صلاحية القسيمة",usageLimitExceeded:"تم تجاوز حد الاستخدام",discountCode:"كود الخصم",enterDiscountCode:"الرجاء إدخال كود الخصم",shippingMethod:"طريقة الشحن",standardShipping:"عادي (5-7 أيام)",expressShipping:"سريع (2-3 أيام)",freeShipping:"مجاني",item:"عنصر",items:"عناصر",addItemsToStart:"أضف بعض العناصر للبدء",clear:"مسح",sortByName:"ترتيب حسب الاسم",sortByPrice:"ترتيب حسب السعر",sortByQuantity:"ترتيب حسب الكمية",paymentMethod:"طريقة الدفع",hide:"إخفاء",change:"تغيير",processing:"جاري المعالجة...",remove:"إزالة"},product:{addToCart:"أضف للسلة",outOfStock:"نفد المخزون",inStock:"متوفر في المخزون",price:"السعر",quantity:"الكمية",saveForLater:"احفظ لاحقاً",save:"حفظ",edit:"تعديل",remove:"إزالة"},ui:{loading:"جاري التحميل...",error:"خطأ",success:"نجح",close:"إغلاق",open:"فتح",save:"حفظ",edit:"تعديل",remove:"إزالة",apply:"تطبيق",cancel:"إلغاء",continue:"متابعة",search:"بحث",filter:"تصفية",sort:"ترتيب",currency:"العملة",selectRequestedCurrency:"اختر العملة"},currencies:{USD:"دولار أمريكي",EUR:"يورو",GBP:"جنيه إسترليني",JOD:"دينار أردني",AED:"درهم إماراتي",SAR:"ريال سعودي",CAD:"دولار كندي",AUD:"دولار أسترالي",JPY:"ين ياباني"}}},pC=(E="en")=>dC[E]||dC.en,my=[{code:"en",name:"English",dir:"ltr"},{code:"ar",name:"العربية",dir:"rtl"}],Mw=E=>{const x=my.find(S=>S.code===E);return(x==null?void 0:x.dir)||"ltr"},vC=Ve.createContext(void 0),hC=({children:E,defaultLanguage:x="en",language:S})=>{const D=()=>{var M;if(S)return S;if(typeof window<"u"){const A=new URLSearchParams(window.location.search).get("lang");if(A&&(A==="ar"||A==="en"))return A}if(typeof window<"u"){const H=localStorage.getItem("cart-language");if(H&&(H==="ar"||H==="en"))return H}if(typeof window<"u"){const H=navigator.language||((M=navigator.languages)==null?void 0:M[0]);if(H){if(H.startsWith("ar"))return"ar";if(H.startsWith("en"))return"en"}}return x},[B,L]=Ve.useState(D()),y=pC(B),G=Mw(B);Ve.useEffect(()=>{typeof window<"u"&&localStorage.setItem("cart-language",B)},[B]),Ve.useEffect(()=>{S&&S!==B&&L(S)},[S,B]);const z=Ve.useMemo(()=>({language:B,setLanguage:L,t:y,direction:G}),[B,L,y,G]);return ad.createElement(vC.Provider,{value:z},ad.createElement("div",{dir:G,className:`cart-language-${B}`},E))},Ju=()=>{const E=Ve.useContext(vC);if(!E)throw new Error("useTranslationContext must be used within a TranslationProvider");return E},Aw=()=>{const{language:E,setLanguage:x}=Ju();return{currentLanguage:E,switchLanguage:D=>{x(D)},supportedLanguages:my}};var yy={exports:{}},ud={};/**
72
+ * @license React
73
+ * react-jsx-runtime.production.min.js
74
+ *
75
+ * Copyright (c) Facebook, Inc. and its affiliates.
76
+ *
77
+ * This source code is licensed under the MIT license found in the
78
+ * LICENSE file in the root directory of this source tree.
79
+ */var mC;function Uw(){if(mC)return ud;mC=1;var E=Ve,x=Symbol.for("react.element"),S=Symbol.for("react.fragment"),D=Object.prototype.hasOwnProperty,B=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,L={key:!0,ref:!0,__self:!0,__source:!0};function y(G,z,M){var H,A={},q=null,W=null;M!==void 0&&(q=""+M),z.key!==void 0&&(q=""+z.key),z.ref!==void 0&&(W=z.ref);for(H in z)D.call(z,H)&&!L.hasOwnProperty(H)&&(A[H]=z[H]);if(G&&G.defaultProps)for(H in z=G.defaultProps,z)A[H]===void 0&&(A[H]=z[H]);return{$$typeof:x,type:G,key:q,ref:W,props:A,_owner:B.current}}return ud.Fragment=S,ud.jsx=y,ud.jsxs=y,ud}var od={};/**
80
+ * @license React
81
+ * react-jsx-runtime.development.js
82
+ *
83
+ * Copyright (c) Facebook, Inc. and its affiliates.
84
+ *
85
+ * This source code is licensed under the MIT license found in the
86
+ * LICENSE file in the root directory of this source tree.
87
+ */var yC;function zw(){return yC||(yC=1,process.env.NODE_ENV!=="production"&&function(){var E=Ve,x=Symbol.for("react.element"),S=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),G=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),ne=Symbol.iterator,ee="@@iterator";function ie(T){if(T===null||typeof T!="object")return null;var le=ne&&T[ne]||T[ee];return typeof le=="function"?le:null}var re=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function te(T){{for(var le=arguments.length,Ee=new Array(le>1?le-1:0),Oe=1;Oe<le;Oe++)Ee[Oe-1]=arguments[Oe];he("error",T,Ee)}}function he(T,le,Ee){{var Oe=re.ReactDebugCurrentFrame,lt=Oe.getStackAddendum();lt!==""&&(le+="%s",Ee=Ee.concat([lt]));var rt=Ee.map(function(St){return String(St)});rt.unshift("Warning: "+le),Function.prototype.apply.call(console[T],console,rt)}}var ze=!1,Re=!1,Ne=!1,me=!1,Et=!1,Lt;Lt=Symbol.for("react.module.reference");function Bt(T){return!!(typeof T=="string"||typeof T=="function"||T===D||T===L||Et||T===B||T===M||T===H||me||T===W||ze||Re||Ne||typeof T=="object"&&T!==null&&(T.$$typeof===q||T.$$typeof===A||T.$$typeof===y||T.$$typeof===G||T.$$typeof===z||T.$$typeof===Lt||T.getModuleId!==void 0))}function nn(T,le,Ee){var Oe=T.displayName;if(Oe)return Oe;var lt=le.displayName||le.name||"";return lt!==""?Ee+"("+lt+")":Ee}function _t(T){return T.displayName||"Context"}function je(T){if(T==null)return null;if(typeof T.tag=="number"&&te("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case D:return"Fragment";case S:return"Portal";case L:return"Profiler";case B:return"StrictMode";case M:return"Suspense";case H:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case G:var le=T;return _t(le)+".Consumer";case y:var Ee=T;return _t(Ee._context)+".Provider";case z:return nn(T,T.render,"ForwardRef");case A:var Oe=T.displayName||null;return Oe!==null?Oe:je(T.type)||"Memo";case q:{var lt=T,rt=lt._payload,St=lt._init;try{return je(St(rt))}catch{return null}}}return null}var xt=Object.assign,bt=0,Tt,Le,ve,Fe,ge,R,Z;function We(){}We.__reactDisabledLog=!0;function Je(){{if(bt===0){Tt=console.log,Le=console.info,ve=console.warn,Fe=console.error,ge=console.group,R=console.groupCollapsed,Z=console.groupEnd;var T={configurable:!0,enumerable:!0,value:We,writable:!0};Object.defineProperties(console,{info:T,log:T,warn:T,error:T,group:T,groupCollapsed:T,groupEnd:T})}bt++}}function ht(){{if(bt--,bt===0){var T={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xt({},T,{value:Tt}),info:xt({},T,{value:Le}),warn:xt({},T,{value:ve}),error:xt({},T,{value:Fe}),group:xt({},T,{value:ge}),groupCollapsed:xt({},T,{value:R}),groupEnd:xt({},T,{value:Z})})}bt<0&&te("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ft=re.ReactCurrentDispatcher,st;function dt(T,le,Ee){{if(st===void 0)try{throw Error()}catch(lt){var Oe=lt.stack.trim().match(/\n( *(at )?)/);st=Oe&&Oe[1]||""}return`
88
+ `+st+T}}var mt=!1,Qt;{var Ln=typeof WeakMap=="function"?WeakMap:Map;Qt=new Ln}function _r(T,le){if(!T||mt)return"";{var Ee=Qt.get(T);if(Ee!==void 0)return Ee}var Oe;mt=!0;var lt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var rt;rt=ft.current,ft.current=null,Je();try{if(le){var St=function(){throw Error()};if(Object.defineProperty(St.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(St,[])}catch(ut){Oe=ut}Reflect.construct(T,[],St)}else{try{St.call()}catch(ut){Oe=ut}T.call(St.prototype)}}else{try{throw Error()}catch(ut){Oe=ut}T()}}catch(ut){if(ut&&Oe&&typeof ut.stack=="string"){for(var yt=ut.stack.split(`
89
+ `),Rn=Oe.stack.split(`
90
+ `),un=yt.length-1,fn=Rn.length-1;un>=1&&fn>=0&&yt[un]!==Rn[fn];)fn--;for(;un>=1&&fn>=0;un--,fn--)if(yt[un]!==Rn[fn]){if(un!==1||fn!==1)do if(un--,fn--,fn<0||yt[un]!==Rn[fn]){var lr=`
91
+ `+yt[un].replace(" at new "," at ");return T.displayName&&lr.includes("<anonymous>")&&(lr=lr.replace("<anonymous>",T.displayName)),typeof T=="function"&&Qt.set(T,lr),lr}while(un>=1&&fn>=0);break}}}finally{mt=!1,ft.current=rt,ht(),Error.prepareStackTrace=lt}var Xa=T?T.displayName||T.name:"",Ja=Xa?dt(Xa):"";return typeof T=="function"&&Qt.set(T,Ja),Ja}function bn(T,le,Ee){return _r(T,!1)}function ar(T){var le=T.prototype;return!!(le&&le.isReactComponent)}function In(T,le,Ee){if(T==null)return"";if(typeof T=="function")return _r(T,ar(T));if(typeof T=="string")return dt(T);switch(T){case M:return dt("Suspense");case H:return dt("SuspenseList")}if(typeof T=="object")switch(T.$$typeof){case z:return bn(T.render);case A:return In(T.type,le,Ee);case q:{var Oe=T,lt=Oe._payload,rt=Oe._init;try{return In(rt(lt),le,Ee)}catch{}}}return""}var Yn=Object.prototype.hasOwnProperty,Wr={},pi=re.ReactDebugCurrentFrame;function ca(T){if(T){var le=T._owner,Ee=In(T.type,T._source,le?le.type:null);pi.setExtraStackFrame(Ee)}else pi.setExtraStackFrame(null)}function Xn(T,le,Ee,Oe,lt){{var rt=Function.call.bind(Yn);for(var St in T)if(rt(T,St)){var yt=void 0;try{if(typeof T[St]!="function"){var Rn=Error((Oe||"React class")+": "+Ee+" type `"+St+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof T[St]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Rn.name="Invariant Violation",Rn}yt=T[St](le,St,Oe,Ee,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(un){yt=un}yt&&!(yt instanceof Error)&&(ca(lt),te("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Oe||"React class",Ee,St,typeof yt),ca(null)),yt instanceof Error&&!(yt.message in Wr)&&(Wr[yt.message]=!0,ca(lt),te("Failed %s type: %s",Ee,yt.message),ca(null))}}}var wn=Array.isArray;function $n(T){return wn(T)}function Cr(T){{var le=typeof Symbol=="function"&&Symbol.toStringTag,Ee=le&&T[Symbol.toStringTag]||T.constructor.name||"Object";return Ee}}function Ga(T){try{return Mn(T),!1}catch{return!0}}function Mn(T){return""+T}function Er(T){if(Ga(T))return te("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cr(T)),Mn(T)}var fa=re.ReactCurrentOwner,qa={key:!0,ref:!0,__self:!0,__source:!0},vi,ye;function Pe(T){if(Yn.call(T,"ref")){var le=Object.getOwnPropertyDescriptor(T,"ref").get;if(le&&le.isReactWarning)return!1}return T.ref!==void 0}function pt(T){if(Yn.call(T,"key")){var le=Object.getOwnPropertyDescriptor(T,"key").get;if(le&&le.isReactWarning)return!1}return T.key!==void 0}function It(T,le){typeof T.ref=="string"&&fa.current}function an(T,le){{var Ee=function(){vi||(vi=!0,te("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",le))};Ee.isReactWarning=!0,Object.defineProperty(T,"key",{get:Ee,configurable:!0})}}function mn(T,le){{var Ee=function(){ye||(ye=!0,te("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",le))};Ee.isReactWarning=!0,Object.defineProperty(T,"ref",{get:Ee,configurable:!0})}}var cn=function(T,le,Ee,Oe,lt,rt,St){var yt={$$typeof:x,type:T,key:le,ref:Ee,props:St,_owner:rt};return yt._store={},Object.defineProperty(yt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(yt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Oe}),Object.defineProperty(yt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:lt}),Object.freeze&&(Object.freeze(yt.props),Object.freeze(yt)),yt};function Jn(T,le,Ee,Oe,lt){{var rt,St={},yt=null,Rn=null;Ee!==void 0&&(Er(Ee),yt=""+Ee),pt(le)&&(Er(le.key),yt=""+le.key),Pe(le)&&(Rn=le.ref,It(le,lt));for(rt in le)Yn.call(le,rt)&&!qa.hasOwnProperty(rt)&&(St[rt]=le[rt]);if(T&&T.defaultProps){var un=T.defaultProps;for(rt in un)St[rt]===void 0&&(St[rt]=un[rt])}if(yt||Rn){var fn=typeof T=="function"?T.displayName||T.name||"Unknown":T;yt&&an(St,fn),Rn&&mn(St,fn)}return cn(T,yt,Rn,lt,Oe,fa.current,St)}}var ln=re.ReactCurrentOwner,Gt=re.ReactDebugCurrentFrame;function qt(T){if(T){var le=T._owner,Ee=In(T.type,T._source,le?le.type:null);Gt.setExtraStackFrame(Ee)}else Gt.setExtraStackFrame(null)}var da;da=!1;function xr(T){return typeof T=="object"&&T!==null&&T.$$typeof===x}function Da(){{if(ln.current){var T=je(ln.current.type);if(T)return`
92
+
93
+ Check the render method of \``+T+"`."}return""}}function Bi(T){return""}var ru={};function au(T){{var le=Da();if(!le){var Ee=typeof T=="string"?T:T.displayName||T.name;Ee&&(le=`
94
+
95
+ Check the top-level render call using <`+Ee+">.")}return le}}function yl(T,le){{if(!T._store||T._store.validated||T.key!=null)return;T._store.validated=!0;var Ee=au(le);if(ru[Ee])return;ru[Ee]=!0;var Oe="";T&&T._owner&&T._owner!==ln.current&&(Oe=" It was passed a child from "+je(T._owner.type)+"."),qt(T),te('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ee,Oe),qt(null)}}function gl(T,le){{if(typeof T!="object")return;if($n(T))for(var Ee=0;Ee<T.length;Ee++){var Oe=T[Ee];xr(Oe)&&yl(Oe,le)}else if(xr(T))T._store&&(T._store.validated=!0);else if(T){var lt=ie(T);if(typeof lt=="function"&&lt!==T.entries)for(var rt=lt.call(T),St;!(St=rt.next()).done;)xr(St.value)&&yl(St.value,le)}}}function iu(T){{var le=T.type;if(le==null||typeof le=="string")return;var Ee;if(typeof le=="function")Ee=le.propTypes;else if(typeof le=="object"&&(le.$$typeof===z||le.$$typeof===A))Ee=le.propTypes;else return;if(Ee){var Oe=je(le);Xn(Ee,T.props,"prop",Oe,T)}else if(le.PropTypes!==void 0&&!da){da=!0;var lt=je(le);te("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",lt||"Unknown")}typeof le.getDefaultProps=="function"&&!le.getDefaultProps.isReactClassApproved&&te("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Dr(T){{for(var le=Object.keys(T.props),Ee=0;Ee<le.length;Ee++){var Oe=le[Ee];if(Oe!=="children"&&Oe!=="key"){qt(T),te("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Oe),qt(null);break}}T.ref!==null&&(qt(T),te("Invalid attribute `ref` supplied to `React.Fragment`."),qt(null))}}var kr={};function ir(T,le,Ee,Oe,lt,rt){{var St=Bt(T);if(!St){var yt="";(T===void 0||typeof T=="object"&&T!==null&&Object.keys(T).length===0)&&(yt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Rn=Bi();Rn?yt+=Rn:yt+=Da();var un;T===null?un="null":$n(T)?un="array":T!==void 0&&T.$$typeof===x?(un="<"+(je(T.type)||"Unknown")+" />",yt=" Did you accidentally export a JSX literal instead of a component?"):un=typeof T,te("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",un,yt)}var fn=Jn(T,le,Ee,lt,rt);if(fn==null)return fn;if(St){var lr=le.children;if(lr!==void 0)if(Oe)if($n(lr)){for(var Xa=0;Xa<lr.length;Xa++)gl(lr[Xa],T);Object.freeze&&Object.freeze(lr)}else te("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else gl(lr,T)}if(Yn.call(le,"key")){var Ja=je(T),ut=Object.keys(le).filter(function(lu){return lu!=="key"}),ct=ut.length>0?"{key: someKey, "+ut.join(": ..., ")+": ...}":"{key: someKey}";if(!kr[Ja+ct]){var Za=ut.length>0?"{"+ut.join(": ..., ")+": ...}":"{}";te(`A props object containing a "key" prop is being spread into JSX:
96
+ let props = %s;
97
+ <%s {...props} />
98
+ React keys must be passed directly to JSX without using spread:
99
+ let props = %s;
100
+ <%s key={someKey} {...props} />`,ct,Ja,Za,Ja),kr[Ja+ct]=!0}}return T===D?Dr(fn):iu(fn),fn}}function hi(T,le,Ee){return ir(T,le,Ee,!0)}function Ka(T,le,Ee){return ir(T,le,Ee,!1)}var mi=Ka,yi=hi;od.Fragment=D,od.jsx=mi,od.jsxs=yi}()),od}process.env.NODE_ENV==="production"?yy.exports=Uw():yy.exports=zw();var P=yy.exports;class gy extends Ve.Component{constructor(x){super(x),this.state={hasError:!1,error:null}}static getDerivedStateFromError(x){return{hasError:!0,error:x}}componentDidCatch(x,S){var D,B;console.error("ErrorBoundary caught an error:",x,S),(B=(D=this.props).onError)==null||B.call(D,x,S)}render(){var x;return this.state.hasError?this.props.fallback?this.props.fallback:P.jsxs("div",{className:"rsc-flex rsc-flex-col rsc-items-center rsc-justify-center rsc-min-h-[400px] rsc-p-8 rsc-bg-red-50 rsc-rounded-xl rsc-border-2 rsc-border-red-200",children:[P.jsx("div",{className:"rsc-w-16 rsc-h-16 rsc-bg-red-100 rsc-rounded-full rsc-flex rsc-items-center rsc-justify-center rsc-mb-4",children:P.jsx("svg",{className:"rsc-w-8 rsc-h-8 rsc-text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),P.jsx("h2",{className:"rsc-text-xl rsc-font-bold rsc-text-gray-900 rsc-mb-2",children:"Something went wrong"}),P.jsx("p",{className:"rsc-text-gray-600 rsc-text-center rsc-mb-4",children:((x=this.state.error)==null?void 0:x.message)||"An unexpected error occurred"}),P.jsx("button",{onClick:()=>window.location.reload(),className:"rsc-px-6 rsc-py-2 rsc-bg-red-600 rsc-text-white rsc-rounded-lg rsc-font-semibold rsc-hover:bg-red-700 rsc-transition-colors",children:"Reload Page"})]}):this.props.children}}const jw=({children:E,config:x,language:S,taxRate:D,shippingMethods:B})=>(Ve.useEffect(()=>{const L=iC(),y={};x&&Object.assign(y,x),D!==void 0&&(y.taxRate=D),B!==void 0&&(y.shippingMethods=B),Object.keys(y).length>0&&L.getState().setConfig(y)},[x,D,B]),P.jsx(gy,{fallback:P.jsx("div",{className:"rsc-p-4 rsc-bg-red-50 rsc-text-red-700 rsc-rounded-lg",children:"Cart unavailable. Please refresh the page."}),onError:(L,y)=>{console.error("CartProvider error:",L,y)},children:P.jsx(hC,{language:S,children:E})}));function Fw(E,x){if(Object.is(E,x))return!0;if(typeof E!="object"||E===null||typeof x!="object"||x===null)return!1;if(E instanceof Map&&x instanceof Map){if(E.size!==x.size)return!1;for(const[D,B]of E)if(!Object.is(B,x.get(D)))return!1;return!0}if(E instanceof Set&&x instanceof Set){if(E.size!==x.size)return!1;for(const D of E)if(!x.has(D))return!1;return!0}const S=Object.keys(E);if(S.length!==Object.keys(x).length)return!1;for(const D of S)if(!Object.prototype.hasOwnProperty.call(x,D)||!Object.is(E[D],x[D]))return!1;return!0}const{useRef:Hw}=ad;function Vw(E){const x=Hw();return S=>{const D=E(S);return Fw(x.current,D)?x.current:x.current=D}}const Zu=()=>{const E=iC(),x=Ra(E,Vw(R=>({items:R.items,discount:R.discount,voucher:R.voucher,selectedShippingMethod:R.selectedShippingMethod,selectedCurrency:R.selectedCurrency,isDrawerOpen:R.isDrawerOpen,config:R.config}))),{items:S,discount:D,voucher:B,selectedShippingMethod:L,selectedCurrency:y,isDrawerOpen:G,config:z}=x,M=hc.getInstance(),H=Ra(E,R=>R.addItem),A=Ra(E,R=>R.removeItem),q=Ra(E,R=>R.updateItemQuantity),W=Ra(E,R=>R.clearCart),ne=Ra(E,R=>R.applyDiscount),ee=Ra(E,R=>R.setSelectedShippingMethod),ie=Ra(E,R=>R.setSelectedCurrency),re=Ra(E,R=>R.getCurrentCurrency),te=Ra(E,R=>R.convertAmount),he=Ra(E,R=>R.formatCurrency),ze=Ra(E,R=>R.removeDiscount),Re=Ra(E,R=>R.setIsDrawerOpen),Ne=Ve.useCallback(R=>{const Z=hv(S),We=te(Z);return E.getState().validateDiscountCode(R,We)},[S,te,E]),me=Ve.useCallback(R=>{M.applyVoucher(R),E.setState({voucher:R})},[E,M]),Et=Ve.useCallback(()=>{var R;(R=E.getState().voucher)!=null&&R.code&&(M.removeVoucher(E.getState().voucher.code),E.setState({voucher:null}))},[E,M]),Lt=Ve.useCallback(R=>{const Z=hv(S),We=te(Z);return M.validateVoucher(R,We)},[S,te,M]),Bt=Ve.useCallback(()=>M.getAppliedDiscounts(),[M]),nn=Ve.useCallback(()=>M.getActiveVouchers(),[M]),_t=Ve.useMemo(()=>oC(S),[S]),je=Ve.useMemo(()=>{const R=hv(S);return te(R)},[S,y]),xt=Ve.useMemo(()=>sC(je,D),[je,D]),bt=Ve.useMemo(()=>cC(je,xt,z.taxRate||0),[je,xt,z.taxRate]),Tt=Ve.useMemo(()=>z.shippingMethods||[],[z.shippingMethods]),Le=Ve.useMemo(()=>{const R=Tt.find(We=>We.id===L),Z=(R==null?void 0:R.cost)||0;return te(Z)},[Tt,L,y]),ve=Ve.useMemo(()=>fC(je,xt,bt)+Le,[je,xt,bt,Le]),Fe=Ve.useMemo(()=>z.availableCurrencies||[],[z.availableCurrencies]),ge=Ve.useMemo(()=>re(),[y,Fe]);return{items:S,totalItems:_t,subtotal:je,tax:bt,discount:D,voucher:B,discountAmount:xt,total:ve,isDrawerOpen:G,config:z,selectedShippingMethod:L,shippingMethods:Tt,shippingCost:Le,selectedCurrency:y,availableCurrencies:Fe,currentCurrency:ge,addItem:H,setSelectedShippingMethod:ee,setSelectedCurrency:ie,validateDiscountCode:Ne,getCurrentCurrency:re,convertAmount:te,formatCurrency:he,removeItem:A,updateItemQuantity:q,clearCart:W,applyDiscount:ne,removeDiscount:ze,applyVoucher:me,removeVoucher:Et,validateVoucher:Lt,getActiveDiscounts:Bt,getActiveVouchers:nn,setIsDrawerOpen:Re}},Pw=({className:E,iconClassName:x,badgeClassName:S,onClick:D,showBadge:B=!0,badgePosition:L="top-right"})=>{const{totalItems:y,setIsDrawerOpen:G}=Zu(),[z,M]=Ve.useState(!1),H=Ve.useRef(null),A=Ve.useRef(y);Ve.useEffect(()=>(y!==A.current&&(M(!0),H.current=setTimeout(()=>M(!1),300),A.current=y),()=>{H.current&&clearTimeout(H.current)}),[y]);const q=()=>{G(!0),D==null||D()},W={"top-right":"rsc-top-0 rsc-end-0 rsc-transform rsc-translate-x-1/4 rsc--translate-y-1/4","top-left":"rsc-top-0 rsc-start-0 rsc-transform rsc--translate-x-1/4 rsc--translate-y-1/4"};return P.jsx(P.Fragment,{children:P.jsxs("button",{type:"button",onClick:q,className:`rsc-relative rsc-inline-flex rsc-items-center rsc-justify-center rsc-w-12 rsc-h-12 rsc-min-w-[48px] rsc-min-h-[48px] rsc-bg-white rsc-text-gray-900 rsc-border rsc-border-gray-100 rsc-rounded-full rsc-shadow-sm rsc-hover:border-gray-200 rsc-hover:shadow-md rsc-hover:-translate-y-0.5 rsc-active:scale-[0.98] rsc-active:translate-y-0 rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/20 ${z?"rsc-scale-95":""} ${E||""}`,"aria-label":`Shopping cart with ${y} items`,children:[P.jsx("svg",{className:`rsc-w-5 rsc-h-5 sm:rsc-w-6 sm:rsc-h-6 rsc-transition-transform ${x||""} ${z?"rsc-animate-bounce":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 014 0z"})}),B&&y>0&&P.jsx("span",{className:`rsc-absolute rsc-flex rsc-items-center rsc-justify-center rsc-min-w-[20px] rsc-h-5 rsc-px-1.5 rsc-bg-red-500 rsc-text-white rsc-text-xs rsc-font-bold rsc-rounded-full rsc-shadow-sm rsc-ring-2 rsc-ring-white ${W[L]} ${z?"rsc-scale-125":""} rsc-transition-transform rsc-duration-200 ${S||""}`,children:y>99?"99+":y})]})})};var Sy={exports:{}},Ta={},mv={exports:{}},Cy={};/**
101
+ * @license React
102
+ * scheduler.production.min.js
103
+ *
104
+ * Copyright (c) Facebook, Inc. and its affiliates.
105
+ *
106
+ * This source code is licensed under the MIT license found in the
107
+ * LICENSE file in the root directory of this source tree.
108
+ */var gC;function Bw(){return gC||(gC=1,function(E){function x(ve,Fe){var ge=ve.length;ve.push(Fe);e:for(;0<ge;){var R=ge-1>>>1,Z=ve[R];if(0<B(Z,Fe))ve[R]=Fe,ve[ge]=Z,ge=R;else break e}}function S(ve){return ve.length===0?null:ve[0]}function D(ve){if(ve.length===0)return null;var Fe=ve[0],ge=ve.pop();if(ge!==Fe){ve[0]=ge;e:for(var R=0,Z=ve.length,We=Z>>>1;R<We;){var Je=2*(R+1)-1,ht=ve[Je],ft=Je+1,st=ve[ft];if(0>B(ht,ge))ft<Z&&0>B(st,ht)?(ve[R]=st,ve[ft]=ge,R=ft):(ve[R]=ht,ve[Je]=ge,R=Je);else if(ft<Z&&0>B(st,ge))ve[R]=st,ve[ft]=ge,R=ft;else break e}}return Fe}function B(ve,Fe){var ge=ve.sortIndex-Fe.sortIndex;return ge!==0?ge:ve.id-Fe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var L=performance;E.unstable_now=function(){return L.now()}}else{var y=Date,G=y.now();E.unstable_now=function(){return y.now()-G}}var z=[],M=[],H=1,A=null,q=3,W=!1,ne=!1,ee=!1,ie=typeof setTimeout=="function"?setTimeout:null,re=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function he(ve){for(var Fe=S(M);Fe!==null;){if(Fe.callback===null)D(M);else if(Fe.startTime<=ve)D(M),Fe.sortIndex=Fe.expirationTime,x(z,Fe);else break;Fe=S(M)}}function ze(ve){if(ee=!1,he(ve),!ne)if(S(z)!==null)ne=!0,Tt(Re);else{var Fe=S(M);Fe!==null&&Le(ze,Fe.startTime-ve)}}function Re(ve,Fe){ne=!1,ee&&(ee=!1,re(Et),Et=-1),W=!0;var ge=q;try{for(he(Fe),A=S(z);A!==null&&(!(A.expirationTime>Fe)||ve&&!nn());){var R=A.callback;if(typeof R=="function"){A.callback=null,q=A.priorityLevel;var Z=R(A.expirationTime<=Fe);Fe=E.unstable_now(),typeof Z=="function"?A.callback=Z:A===S(z)&&D(z),he(Fe)}else D(z);A=S(z)}if(A!==null)var We=!0;else{var Je=S(M);Je!==null&&Le(ze,Je.startTime-Fe),We=!1}return We}finally{A=null,q=ge,W=!1}}var Ne=!1,me=null,Et=-1,Lt=5,Bt=-1;function nn(){return!(E.unstable_now()-Bt<Lt)}function _t(){if(me!==null){var ve=E.unstable_now();Bt=ve;var Fe=!0;try{Fe=me(!0,ve)}finally{Fe?je():(Ne=!1,me=null)}}else Ne=!1}var je;if(typeof te=="function")je=function(){te(_t)};else if(typeof MessageChannel<"u"){var xt=new MessageChannel,bt=xt.port2;xt.port1.onmessage=_t,je=function(){bt.postMessage(null)}}else je=function(){ie(_t,0)};function Tt(ve){me=ve,Ne||(Ne=!0,je())}function Le(ve,Fe){Et=ie(function(){ve(E.unstable_now())},Fe)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(ve){ve.callback=null},E.unstable_continueExecution=function(){ne||W||(ne=!0,Tt(Re))},E.unstable_forceFrameRate=function(ve){0>ve||125<ve?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Lt=0<ve?Math.floor(1e3/ve):5},E.unstable_getCurrentPriorityLevel=function(){return q},E.unstable_getFirstCallbackNode=function(){return S(z)},E.unstable_next=function(ve){switch(q){case 1:case 2:case 3:var Fe=3;break;default:Fe=q}var ge=q;q=Fe;try{return ve()}finally{q=ge}},E.unstable_pauseExecution=function(){},E.unstable_requestPaint=function(){},E.unstable_runWithPriority=function(ve,Fe){switch(ve){case 1:case 2:case 3:case 4:case 5:break;default:ve=3}var ge=q;q=ve;try{return Fe()}finally{q=ge}},E.unstable_scheduleCallback=function(ve,Fe,ge){var R=E.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?R+ge:R):ge=R,ve){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=ge+Z,ve={id:H++,callback:Fe,priorityLevel:ve,startTime:ge,expirationTime:Z,sortIndex:-1},ge>R?(ve.sortIndex=ge,x(M,ve),S(z)===null&&ve===S(M)&&(ee?(re(Et),Et=-1):ee=!0,Le(ze,ge-R))):(ve.sortIndex=Z,x(z,ve),ne||W||(ne=!0,Tt(Re))),ve},E.unstable_shouldYield=nn,E.unstable_wrapCallback=function(ve){var Fe=q;return function(){var ge=q;q=Fe;try{return ve.apply(this,arguments)}finally{q=ge}}}}(Cy)),Cy}var Ey={};/**
109
+ * @license React
110
+ * scheduler.development.js
111
+ *
112
+ * Copyright (c) Facebook, Inc. and its affiliates.
113
+ *
114
+ * This source code is licensed under the MIT license found in the
115
+ * LICENSE file in the root directory of this source tree.
116
+ */var SC;function Iw(){return SC||(SC=1,function(E){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var x=!1,S=5;function D(ye,Pe){var pt=ye.length;ye.push(Pe),y(ye,Pe,pt)}function B(ye){return ye.length===0?null:ye[0]}function L(ye){if(ye.length===0)return null;var Pe=ye[0],pt=ye.pop();return pt!==Pe&&(ye[0]=pt,G(ye,pt,0)),Pe}function y(ye,Pe,pt){for(var It=pt;It>0;){var an=It-1>>>1,mn=ye[an];if(z(mn,Pe)>0)ye[an]=Pe,ye[It]=mn,It=an;else return}}function G(ye,Pe,pt){for(var It=pt,an=ye.length,mn=an>>>1;It<mn;){var cn=(It+1)*2-1,Jn=ye[cn],ln=cn+1,Gt=ye[ln];if(z(Jn,Pe)<0)ln<an&&z(Gt,Jn)<0?(ye[It]=Gt,ye[ln]=Pe,It=ln):(ye[It]=Jn,ye[cn]=Pe,It=cn);else if(ln<an&&z(Gt,Pe)<0)ye[It]=Gt,ye[ln]=Pe,It=ln;else return}}function z(ye,Pe){var pt=ye.sortIndex-Pe.sortIndex;return pt!==0?pt:ye.id-Pe.id}var M=1,H=2,A=3,q=4,W=5;function ne(ye,Pe){}var ee=typeof performance=="object"&&typeof performance.now=="function";if(ee){var ie=performance;E.unstable_now=function(){return ie.now()}}else{var re=Date,te=re.now();E.unstable_now=function(){return re.now()-te}}var he=1073741823,ze=-1,Re=250,Ne=5e3,me=1e4,Et=he,Lt=[],Bt=[],nn=1,_t=null,je=A,xt=!1,bt=!1,Tt=!1,Le=typeof setTimeout=="function"?setTimeout:null,ve=typeof clearTimeout=="function"?clearTimeout:null,Fe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ge(ye){for(var Pe=B(Bt);Pe!==null;){if(Pe.callback===null)L(Bt);else if(Pe.startTime<=ye)L(Bt),Pe.sortIndex=Pe.expirationTime,D(Lt,Pe);else return;Pe=B(Bt)}}function R(ye){if(Tt=!1,ge(ye),!bt)if(B(Lt)!==null)bt=!0,Mn(Z);else{var Pe=B(Bt);Pe!==null&&Er(R,Pe.startTime-ye)}}function Z(ye,Pe){bt=!1,Tt&&(Tt=!1,fa()),xt=!0;var pt=je;try{var It;if(!x)return We(ye,Pe)}finally{_t=null,je=pt,xt=!1}}function We(ye,Pe){var pt=Pe;for(ge(pt),_t=B(Lt);_t!==null&&!(_t.expirationTime>pt&&(!ye||pi()));){var It=_t.callback;if(typeof It=="function"){_t.callback=null,je=_t.priorityLevel;var an=_t.expirationTime<=pt,mn=It(an);pt=E.unstable_now(),typeof mn=="function"?_t.callback=mn:_t===B(Lt)&&L(Lt),ge(pt)}else L(Lt);_t=B(Lt)}if(_t!==null)return!0;var cn=B(Bt);return cn!==null&&Er(R,cn.startTime-pt),!1}function Je(ye,Pe){switch(ye){case M:case H:case A:case q:case W:break;default:ye=A}var pt=je;je=ye;try{return Pe()}finally{je=pt}}function ht(ye){var Pe;switch(je){case M:case H:case A:Pe=A;break;default:Pe=je;break}var pt=je;je=Pe;try{return ye()}finally{je=pt}}function ft(ye){var Pe=je;return function(){var pt=je;je=Pe;try{return ye.apply(this,arguments)}finally{je=pt}}}function st(ye,Pe,pt){var It=E.unstable_now(),an;if(typeof pt=="object"&&pt!==null){var mn=pt.delay;typeof mn=="number"&&mn>0?an=It+mn:an=It}else an=It;var cn;switch(ye){case M:cn=ze;break;case H:cn=Re;break;case W:cn=Et;break;case q:cn=me;break;case A:default:cn=Ne;break}var Jn=an+cn,ln={id:nn++,callback:Pe,priorityLevel:ye,startTime:an,expirationTime:Jn,sortIndex:-1};return an>It?(ln.sortIndex=an,D(Bt,ln),B(Lt)===null&&ln===B(Bt)&&(Tt?fa():Tt=!0,Er(R,an-It))):(ln.sortIndex=Jn,D(Lt,ln),!bt&&!xt&&(bt=!0,Mn(Z))),ln}function dt(){}function mt(){!bt&&!xt&&(bt=!0,Mn(Z))}function Qt(){return B(Lt)}function Ln(ye){ye.callback=null}function _r(){return je}var bn=!1,ar=null,In=-1,Yn=S,Wr=-1;function pi(){var ye=E.unstable_now()-Wr;return!(ye<Yn)}function ca(){}function Xn(ye){if(ye<0||ye>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ye>0?Yn=Math.floor(1e3/ye):Yn=S}var wn=function(){if(ar!==null){var ye=E.unstable_now();Wr=ye;var Pe=!0,pt=!0;try{pt=ar(Pe,ye)}finally{pt?$n():(bn=!1,ar=null)}}else bn=!1},$n;if(typeof Fe=="function")$n=function(){Fe(wn)};else if(typeof MessageChannel<"u"){var Cr=new MessageChannel,Ga=Cr.port2;Cr.port1.onmessage=wn,$n=function(){Ga.postMessage(null)}}else $n=function(){Le(wn,0)};function Mn(ye){ar=ye,bn||(bn=!0,$n())}function Er(ye,Pe){In=Le(function(){ye(E.unstable_now())},Pe)}function fa(){ve(In),In=-1}var qa=ca,vi=null;E.unstable_IdlePriority=W,E.unstable_ImmediatePriority=M,E.unstable_LowPriority=q,E.unstable_NormalPriority=A,E.unstable_Profiling=vi,E.unstable_UserBlockingPriority=H,E.unstable_cancelCallback=Ln,E.unstable_continueExecution=mt,E.unstable_forceFrameRate=Xn,E.unstable_getCurrentPriorityLevel=_r,E.unstable_getFirstCallbackNode=Qt,E.unstable_next=ht,E.unstable_pauseExecution=dt,E.unstable_requestPaint=qa,E.unstable_runWithPriority=Je,E.unstable_scheduleCallback=st,E.unstable_shouldYield=pi,E.unstable_wrapCallback=ft,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Ey)),Ey}var CC;function EC(){return CC||(CC=1,process.env.NODE_ENV==="production"?mv.exports=Bw():mv.exports=Iw()),mv.exports}/**
117
+ * @license React
118
+ * react-dom.production.min.js
119
+ *
120
+ * Copyright (c) Facebook, Inc. and its affiliates.
121
+ *
122
+ * This source code is licensed under the MIT license found in the
123
+ * LICENSE file in the root directory of this source tree.
124
+ */var xC;function Yw(){if(xC)return Ta;xC=1;var E=Ve,x=EC();function S(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var D=new Set,B={};function L(n,r){y(n,r),y(n+"Capture",r)}function y(n,r){for(B[n]=r,n=0;n<r.length;n++)D.add(r[n])}var G=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),z=Object.prototype.hasOwnProperty,M=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H={},A={};function q(n){return z.call(A,n)?!0:z.call(H,n)?!1:M.test(n)?A[n]=!0:(H[n]=!0,!1)}function W(n,r,l,o){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return o?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function ne(n,r,l,o){if(r===null||typeof r>"u"||W(n,r,l,o))return!0;if(o)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function ee(n,r,l,o,c,d,m){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=o,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=d,this.removeEmptyString=m}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){ie[n]=new ee(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];ie[r]=new ee(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ie[n]=new ee(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ie[n]=new ee(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){ie[n]=new ee(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ie[n]=new ee(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ie[n]=new ee(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ie[n]=new ee(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ie[n]=new ee(n,5,!1,n.toLowerCase(),null,!1,!1)});var re=/[\-:]([a-z])/g;function te(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(re,te);ie[r]=new ee(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(re,te);ie[r]=new ee(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(re,te);ie[r]=new ee(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ie[n]=new ee(n,1,!1,n.toLowerCase(),null,!1,!1)}),ie.xlinkHref=new ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ie[n]=new ee(n,1,!1,n.toLowerCase(),null,!0,!0)});function he(n,r,l,o){var c=ie.hasOwnProperty(r)?ie[r]:null;(c!==null?c.type!==0:o||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(ne(r,l,c,o)&&(l=null),o||c===null?q(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):c.mustUseProperty?n[c.propertyName]=l===null?c.type===3?!1:"":l:(r=c.attributeName,o=c.attributeNamespace,l===null?n.removeAttribute(r):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,o?n.setAttributeNS(o,r,l):n.setAttribute(r,l))))}var ze=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),me=Symbol.for("react.fragment"),Et=Symbol.for("react.strict_mode"),Lt=Symbol.for("react.profiler"),Bt=Symbol.for("react.provider"),nn=Symbol.for("react.context"),_t=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),bt=Symbol.for("react.memo"),Tt=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),ve=Symbol.iterator;function Fe(n){return n===null||typeof n!="object"?null:(n=ve&&n[ve]||n["@@iterator"],typeof n=="function"?n:null)}var ge=Object.assign,R;function Z(n){if(R===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return`
125
+ `+R+n}var We=!1;function Je(n,r){if(!n||We)return"";We=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch($){var o=$}Reflect.construct(n,[],r)}else{try{r.call()}catch($){o=$}n.call(r.prototype)}else{try{throw Error()}catch($){o=$}n()}}catch($){if($&&o&&typeof $.stack=="string"){for(var c=$.stack.split(`
126
+ `),d=o.stack.split(`
127
+ `),m=c.length-1,b=d.length-1;1<=m&&0<=b&&c[m]!==d[b];)b--;for(;1<=m&&0<=b;m--,b--)if(c[m]!==d[b]){if(m!==1||b!==1)do if(m--,b--,0>b||c[m]!==d[b]){var _=`
128
+ `+c[m].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=m&&0<=b);break}}}finally{We=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?Z(n):""}function ht(n){switch(n.tag){case 5:return Z(n.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return n=Je(n.type,!1),n;case 11:return n=Je(n.type.render,!1),n;case 1:return n=Je(n.type,!0),n;default:return""}}function ft(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case me:return"Fragment";case Ne:return"Portal";case Lt:return"Profiler";case Et:return"StrictMode";case je:return"Suspense";case xt:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case nn:return(n.displayName||"Context")+".Consumer";case Bt:return(n._context.displayName||"Context")+".Provider";case _t:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case bt:return r=n.displayName||null,r!==null?r:ft(n.type)||"Memo";case Tt:r=n._payload,n=n._init;try{return ft(n(r))}catch{}}return null}function st(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ft(r);case 8:return r===Et?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function dt(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function mt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Qt(n){var r=mt(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),o=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,d=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return c.call(this)},set:function(m){o=""+m,d.call(this,m)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(m){o=""+m},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Ln(n){n._valueTracker||(n._valueTracker=Qt(n))}function _r(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),o="";return n&&(o=mt(n)?n.checked?"true":"false":n.value),n=o,n!==l?(r.setValue(n),!0):!1}function bn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function ar(n,r){var l=r.checked;return ge({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function In(n,r){var l=r.defaultValue==null?"":r.defaultValue,o=r.checked!=null?r.checked:r.defaultChecked;l=dt(r.value!=null?r.value:l),n._wrapperState={initialChecked:o,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Yn(n,r){r=r.checked,r!=null&&he(n,"checked",r,!1)}function Wr(n,r){Yn(n,r);var l=dt(r.value),o=r.type;if(l!=null)o==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(o==="submit"||o==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?ca(n,r.type,l):r.hasOwnProperty("defaultValue")&&ca(n,r.type,dt(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function pi(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var o=r.type;if(!(o!=="submit"&&o!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function ca(n,r,l){(r!=="number"||bn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var Xn=Array.isArray;function wn(n,r,l,o){if(n=n.options,r){r={};for(var c=0;c<l.length;c++)r["$"+l[c]]=!0;for(l=0;l<n.length;l++)c=r.hasOwnProperty("$"+n[l].value),n[l].selected!==c&&(n[l].selected=c),c&&o&&(n[l].defaultSelected=!0)}else{for(l=""+dt(l),r=null,c=0;c<n.length;c++){if(n[c].value===l){n[c].selected=!0,o&&(n[c].defaultSelected=!0);return}r!==null||n[c].disabled||(r=n[c])}r!==null&&(r.selected=!0)}}function $n(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(S(91));return ge({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Cr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(S(92));if(Xn(l)){if(1<l.length)throw Error(S(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:dt(l)}}function Ga(n,r){var l=dt(r.value),o=dt(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),o!=null&&(n.defaultValue=""+o)}function Mn(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Er(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fa(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Er(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var qa,vi=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,o,c){MSApp.execUnsafeLocalFunction(function(){return n(r,l,o,c)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(qa=qa||document.createElement("div"),qa.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=qa.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function ye(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var Pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pt=["Webkit","ms","Moz","O"];Object.keys(Pe).forEach(function(n){pt.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Pe[r]=Pe[n]})});function It(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||Pe.hasOwnProperty(n)&&Pe[n]?(""+r).trim():r+"px"}function an(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var o=l.indexOf("--")===0,c=It(l,r[l],o);l==="float"&&(l="cssFloat"),o?n.setProperty(l,c):n[l]=c}}var mn=ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function cn(n,r){if(r){if(mn[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(S(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(S(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(S(61))}if(r.style!=null&&typeof r.style!="object")throw Error(S(62))}}function Jn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ln=null;function Gt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var qt=null,da=null,xr=null;function Da(n){if(n=Ye(n)){if(typeof qt!="function")throw Error(S(280));var r=n.stateNode;r&&(r=gn(r),qt(n.stateNode,n.type,r))}}function Bi(n){da?xr?xr.push(n):xr=[n]:da=n}function ru(){if(da){var n=da,r=xr;if(xr=da=null,Da(n),r)for(n=0;n<r.length;n++)Da(r[n])}}function au(n,r){return n(r)}function yl(){}var gl=!1;function iu(n,r,l){if(gl)return n(r,l);gl=!0;try{return au(n,r,l)}finally{gl=!1,(da!==null||xr!==null)&&(yl(),ru())}}function Dr(n,r){var l=n.stateNode;if(l===null)return null;var o=gn(l);if(o===null)return null;l=o[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(S(231,r,typeof l));return l}var kr=!1;if(G)try{var ir={};Object.defineProperty(ir,"passive",{get:function(){kr=!0}}),window.addEventListener("test",ir,ir),window.removeEventListener("test",ir,ir)}catch{kr=!1}function hi(n,r,l,o,c,d,m,b,_){var $=Array.prototype.slice.call(arguments,3);try{r.apply(l,$)}catch(se){this.onError(se)}}var Ka=!1,mi=null,yi=!1,T=null,le={onError:function(n){Ka=!0,mi=n}};function Ee(n,r,l,o,c,d,m,b,_){Ka=!1,mi=null,hi.apply(le,arguments)}function Oe(n,r,l,o,c,d,m,b,_){if(Ee.apply(this,arguments),Ka){if(Ka){var $=mi;Ka=!1,mi=null}else throw Error(S(198));yi||(yi=!0,T=$)}}function lt(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function rt(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function St(n){if(lt(n)!==n)throw Error(S(188))}function yt(n){var r=n.alternate;if(!r){if(r=lt(n),r===null)throw Error(S(188));return r!==n?null:n}for(var l=n,o=r;;){var c=l.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){l=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===l)return St(c),n;if(d===o)return St(c),r;d=d.sibling}throw Error(S(188))}if(l.return!==o.return)l=c,o=d;else{for(var m=!1,b=c.child;b;){if(b===l){m=!0,l=c,o=d;break}if(b===o){m=!0,o=c,l=d;break}b=b.sibling}if(!m){for(b=d.child;b;){if(b===l){m=!0,l=d,o=c;break}if(b===o){m=!0,o=d,l=c;break}b=b.sibling}if(!m)throw Error(S(189))}}if(l.alternate!==o)throw Error(S(190))}if(l.tag!==3)throw Error(S(188));return l.stateNode.current===l?n:r}function Rn(n){return n=yt(n),n!==null?un(n):null}function un(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=un(n);if(r!==null)return r;n=n.sibling}return null}var fn=x.unstable_scheduleCallback,lr=x.unstable_cancelCallback,Xa=x.unstable_shouldYield,Ja=x.unstable_requestPaint,ut=x.unstable_now,ct=x.unstable_getCurrentPriorityLevel,Za=x.unstable_ImmediatePriority,lu=x.unstable_UserBlockingPriority,uu=x.unstable_NormalPriority,Sl=x.unstable_LowPriority,eo=x.unstable_IdlePriority,Cl=null,Qr=null;function Zo(n){if(Qr&&typeof Qr.onCommitFiberRoot=="function")try{Qr.onCommitFiberRoot(Cl,n,void 0,(n.current.flags&128)===128)}catch{}}var Or=Math.clz32?Math.clz32:to,yc=Math.log,gc=Math.LN2;function to(n){return n>>>=0,n===0?32:31-(yc(n)/gc|0)|0}var El=64,pa=4194304;function ei(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ti(n,r){var l=n.pendingLanes;if(l===0)return 0;var o=0,c=n.suspendedLanes,d=n.pingedLanes,m=l&268435455;if(m!==0){var b=m&~c;b!==0?o=ei(b):(d&=m,d!==0&&(o=ei(d)))}else m=l&~c,m!==0?o=ei(m):d!==0&&(o=ei(d));if(o===0)return 0;if(r!==0&&r!==o&&!(r&c)&&(c=o&-o,d=r&-r,c>=d||c===16&&(d&4194240)!==0))return r;if(o&4&&(o|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=o;0<r;)l=31-Or(r),c=1<<l,o|=n[l],r&=~c;return o}function no(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ou(n,r){for(var l=n.suspendedLanes,o=n.pingedLanes,c=n.expirationTimes,d=n.pendingLanes;0<d;){var m=31-Or(d),b=1<<m,_=c[m];_===-1?(!(b&l)||b&o)&&(c[m]=no(b,r)):_<=r&&(n.expiredLanes|=b),d&=~b}}function xl(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function ro(){var n=El;return El<<=1,!(El&4194240)&&(El=64),n}function ao(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function Ii(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Or(r),n[r]=l}function sd(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var o=n.eventTimes;for(n=n.expirationTimes;0<l;){var c=31-Or(l),d=1<<c;r[c]=0,o[c]=-1,n[c]=-1,l&=~d}}function Yi(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var o=31-Or(l),c=1<<o;c&r|n[o]&r&&(n[o]|=r),l&=~c}}var zt=0;function io(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Mt,es,gi,nt,lo,ur=!1,Si=[],Nr=null,Ci=null,dn=null,Kt=new Map,bl=new Map,Wn=[],Lr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ka(n,r){switch(n){case"focusin":case"focusout":Nr=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":dn=null;break;case"pointerover":case"pointerout":Kt.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":bl.delete(r.pointerId)}}function su(n,r,l,o,c,d){return n===null||n.nativeEvent!==d?(n={blockedOn:r,domEventName:l,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},r!==null&&(r=Ye(r),r!==null&&es(r)),n):(n.eventSystemFlags|=o,r=n.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),n)}function ts(n,r,l,o,c){switch(r){case"focusin":return Nr=su(Nr,n,r,l,o,c),!0;case"dragenter":return Ci=su(Ci,n,r,l,o,c),!0;case"mouseover":return dn=su(dn,n,r,l,o,c),!0;case"pointerover":var d=c.pointerId;return Kt.set(d,su(Kt.get(d)||null,n,r,l,o,c)),!0;case"gotpointercapture":return d=c.pointerId,bl.set(d,su(bl.get(d)||null,n,r,l,o,c)),!0}return!1}function ns(n){var r=gu(n.target);if(r!==null){var l=lt(r);if(l!==null){if(r=l.tag,r===13){if(r=rt(l),r!==null){n.blockedOn=r,lo(n.priority,function(){gi(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function wl(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=so(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var o=new l.constructor(l.type,l);ln=o,l.target.dispatchEvent(o),ln=null}else return r=Ye(l),r!==null&&es(r),n.blockedOn=l,!1;r.shift()}return!0}function cu(n,r,l){wl(n)&&l.delete(r)}function cd(){ur=!1,Nr!==null&&wl(Nr)&&(Nr=null),Ci!==null&&wl(Ci)&&(Ci=null),dn!==null&&wl(dn)&&(dn=null),Kt.forEach(cu),bl.forEach(cu)}function Oa(n,r){n.blockedOn===r&&(n.blockedOn=null,ur||(ur=!0,x.unstable_scheduleCallback(x.unstable_NormalPriority,cd)))}function ni(n){function r(c){return Oa(c,n)}if(0<Si.length){Oa(Si[0],n);for(var l=1;l<Si.length;l++){var o=Si[l];o.blockedOn===n&&(o.blockedOn=null)}}for(Nr!==null&&Oa(Nr,n),Ci!==null&&Oa(Ci,n),dn!==null&&Oa(dn,n),Kt.forEach(r),bl.forEach(r),l=0;l<Wn.length;l++)o=Wn[l],o.blockedOn===n&&(o.blockedOn=null);for(;0<Wn.length&&(l=Wn[0],l.blockedOn===null);)ns(l),l.blockedOn===null&&Wn.shift()}var Ei=ze.ReactCurrentBatchConfig,Na=!0;function uo(n,r,l,o){var c=zt,d=Ei.transition;Ei.transition=null;try{zt=1,Rl(n,r,l,o)}finally{zt=c,Ei.transition=d}}function oo(n,r,l,o){var c=zt,d=Ei.transition;Ei.transition=null;try{zt=4,Rl(n,r,l,o)}finally{zt=c,Ei.transition=d}}function Rl(n,r,l,o){if(Na){var c=so(n,r,l,o);if(c===null)Oc(n,r,o,fu,l),ka(n,o);else if(ts(c,n,r,l,o))o.stopPropagation();else if(ka(n,o),r&4&&-1<Lr.indexOf(n)){for(;c!==null;){var d=Ye(c);if(d!==null&&Mt(d),d=so(n,r,l,o),d===null&&Oc(n,r,o,fu,l),d===c)break;c=d}c!==null&&o.stopPropagation()}else Oc(n,r,o,null,l)}}var fu=null;function so(n,r,l,o){if(fu=null,n=Gt(o),n=gu(n),n!==null)if(r=lt(n),r===null)n=null;else if(l=r.tag,l===13){if(n=rt(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return fu=n,null}function co(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ct()){case Za:return 1;case lu:return 4;case uu:case Sl:return 16;case eo:return 536870912;default:return 16}default:return 16}}var ri=null,h=null,w=null;function Y(){if(w)return w;var n,r=h,l=r.length,o,c="value"in ri?ri.value:ri.textContent,d=c.length;for(n=0;n<l&&r[n]===c[n];n++);var m=l-n;for(o=1;o<=m&&r[l-o]===c[d-o];o++);return w=c.slice(n,1<o?1-o:void 0)}function K(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function pe(){return!0}function Qe(){return!1}function Ce(n){function r(l,o,c,d,m){this._reactName=l,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=m,this.currentTarget=null;for(var b in n)n.hasOwnProperty(b)&&(l=n[b],this[b]=l?l(d):d[b]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?pe:Qe,this.isPropagationStopped=Qe,this}return ge(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=pe)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=pe)},persist:function(){},isPersistent:pe}),r}var Ke={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ct=Ce(Ke),At=ge({},Ke,{view:0,detail:0}),on=Ce(At),Xt,vt,Jt,yn=ge({},At,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hd,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Jt&&(Jt&&n.type==="mousemove"?(Xt=n.screenX-Jt.screenX,vt=n.screenY-Jt.screenY):vt=Xt=0,Jt=n),Xt)},movementY:function(n){return"movementY"in n?n.movementY:vt}}),Tl=Ce(yn),rs=ge({},yn,{dataTransfer:0}),$i=Ce(rs),as=ge({},At,{relatedTarget:0}),du=Ce(as),fd=ge({},Ke,{animationName:0,elapsedTime:0,pseudoElement:0}),Sc=Ce(fd),dd=ge({},Ke,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),yv=Ce(dd),pd=ge({},Ke,{data:0}),vd=Ce(pd),gv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wi(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=xy[n])?!!r[n]:!1}function hd(){return Wi}var md=ge({},At,{key:function(n){if(n.key){var r=gv[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=K(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Sv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hd,charCode:function(n){return n.type==="keypress"?K(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?K(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),yd=Ce(md),gd=ge({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cv=Ce(gd),Cc=ge({},At,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hd}),Ev=Ce(Cc),Gr=ge({},Ke,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qi=Ce(Gr),An=ge({},yn,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Gi=Ce(An),Sd=[9,13,27,32],fo=G&&"CompositionEvent"in window,is=null;G&&"documentMode"in document&&(is=document.documentMode);var ls=G&&"TextEvent"in window&&!is,xv=G&&(!fo||is&&8<is&&11>=is),bv=" ",Ec=!1;function wv(n,r){switch(n){case"keyup":return Sd.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rv(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var po=!1;function Tv(n,r){switch(n){case"compositionend":return Rv(r);case"keypress":return r.which!==32?null:(Ec=!0,bv);case"textInput":return n=r.data,n===bv&&Ec?null:n;default:return null}}function by(n,r){if(po)return n==="compositionend"||!fo&&wv(n,r)?(n=Y(),w=h=ri=null,po=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return xv&&r.locale!=="ko"?null:r.data;default:return null}}var wy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function _v(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!wy[n.type]:r==="textarea"}function Cd(n,r,l,o){Bi(o),r=ds(r,"onChange"),0<r.length&&(l=new Ct("onChange","change",null,l,o),n.push({event:l,listeners:r}))}var xi=null,pu=null;function Dv(n){mu(n,0)}function us(n){var r=ii(n);if(_r(r))return n}function Ry(n,r){if(n==="change")return r}var kv=!1;if(G){var Ed;if(G){var xd="oninput"in document;if(!xd){var Ov=document.createElement("div");Ov.setAttribute("oninput","return;"),xd=typeof Ov.oninput=="function"}Ed=xd}else Ed=!1;kv=Ed&&(!document.documentMode||9<document.documentMode)}function Nv(){xi&&(xi.detachEvent("onpropertychange",Lv),pu=xi=null)}function Lv(n){if(n.propertyName==="value"&&us(pu)){var r=[];Cd(r,pu,n,Gt(n)),iu(Dv,r)}}function Ty(n,r,l){n==="focusin"?(Nv(),xi=r,pu=l,xi.attachEvent("onpropertychange",Lv)):n==="focusout"&&Nv()}function Mv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return us(pu)}function _y(n,r){if(n==="click")return us(r)}function Av(n,r){if(n==="input"||n==="change")return us(r)}function Dy(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ai=typeof Object.is=="function"?Object.is:Dy;function os(n,r){if(ai(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),o=Object.keys(r);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var c=l[o];if(!z.call(r,c)||!ai(n[c],r[c]))return!1}return!0}function Uv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function xc(n,r){var l=Uv(n);n=0;for(var o;l;){if(l.nodeType===3){if(o=n+l.textContent.length,n<=r&&o>=r)return{node:l,offset:r-n};n=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Uv(l)}}function _l(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?_l(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function ss(){for(var n=window,r=bn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=bn(n.document)}return r}function bc(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function vo(n){var r=ss(),l=n.focusedElem,o=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&_l(l.ownerDocument.documentElement,l)){if(o!==null&&bc(l)){if(r=o.start,n=o.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var c=l.textContent.length,d=Math.min(o.start,c);o=o.end===void 0?d:Math.min(o.end,c),!n.extend&&d>o&&(c=o,o=d,d=c),c=xc(l,d);var m=xc(l,o);c&&m&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==m.node||n.focusOffset!==m.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),d>o?(n.addRange(r),n.extend(m.node,m.offset)):(r.setEnd(m.node,m.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var ky=G&&"documentMode"in document&&11>=document.documentMode,ho=null,bd=null,cs=null,wd=!1;function Rd(n,r,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;wd||ho==null||ho!==bn(o)||(o=ho,"selectionStart"in o&&bc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),cs&&os(cs,o)||(cs=o,o=ds(bd,"onSelect"),0<o.length&&(r=new Ct("onSelect","select",null,r,l),n.push({event:r,listeners:o}),r.target=ho)))}function wc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var vu={animationend:wc("Animation","AnimationEnd"),animationiteration:wc("Animation","AnimationIteration"),animationstart:wc("Animation","AnimationStart"),transitionend:wc("Transition","TransitionEnd")},or={},Td={};G&&(Td=document.createElement("div").style,"AnimationEvent"in window||(delete vu.animationend.animation,delete vu.animationiteration.animation,delete vu.animationstart.animation),"TransitionEvent"in window||delete vu.transitionend.transition);function Rc(n){if(or[n])return or[n];if(!vu[n])return n;var r=vu[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in Td)return or[n]=r[l];return n}var zv=Rc("animationend"),jv=Rc("animationiteration"),Fv=Rc("animationstart"),Hv=Rc("transitionend"),_d=new Map,Tc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function La(n,r){_d.set(n,r),L(r,[n])}for(var Dd=0;Dd<Tc.length;Dd++){var hu=Tc[Dd],Oy=hu.toLowerCase(),Ny=hu[0].toUpperCase()+hu.slice(1);La(Oy,"on"+Ny)}La(zv,"onAnimationEnd"),La(jv,"onAnimationIteration"),La(Fv,"onAnimationStart"),La("dblclick","onDoubleClick"),La("focusin","onFocus"),La("focusout","onBlur"),La(Hv,"onTransitionEnd"),y("onMouseEnter",["mouseout","mouseover"]),y("onMouseLeave",["mouseout","mouseover"]),y("onPointerEnter",["pointerout","pointerover"]),y("onPointerLeave",["pointerout","pointerover"]),L("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),L("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),L("onBeforeInput",["compositionend","keypress","textInput","paste"]),L("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),L("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),L("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kd=new Set("cancel close invalid load scroll toggle".split(" ").concat(fs));function _c(n,r,l){var o=n.type||"unknown-event";n.currentTarget=l,Oe(o,r,void 0,n),n.currentTarget=null}function mu(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var o=n[l],c=o.event;o=o.listeners;e:{var d=void 0;if(r)for(var m=o.length-1;0<=m;m--){var b=o[m],_=b.instance,$=b.currentTarget;if(b=b.listener,_!==d&&c.isPropagationStopped())break e;_c(c,b,$),d=_}else for(m=0;m<o.length;m++){if(b=o[m],_=b.instance,$=b.currentTarget,b=b.listener,_!==d&&c.isPropagationStopped())break e;_c(c,b,$),d=_}}}if(yi)throw n=T,yi=!1,T=null,n}function $t(n,r){var l=r[hs];l===void 0&&(l=r[hs]=new Set);var o=n+"__bubble";l.has(o)||(Vv(r,n,2,!1),l.add(o))}function Dc(n,r,l){var o=0;r&&(o|=4),Vv(l,n,o,r)}var kc="_reactListening"+Math.random().toString(36).slice(2);function mo(n){if(!n[kc]){n[kc]=!0,D.forEach(function(l){l!=="selectionchange"&&(kd.has(l)||Dc(l,!1,n),Dc(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[kc]||(r[kc]=!0,Dc("selectionchange",!1,r))}}function Vv(n,r,l,o){switch(co(r)){case 1:var c=uo;break;case 4:c=oo;break;default:c=Rl}l=c.bind(null,r,l,n),c=void 0,!kr||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),o?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function Oc(n,r,l,o,c){var d=o;if(!(r&1)&&!(r&2)&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var b=o.stateNode.containerInfo;if(b===c||b.nodeType===8&&b.parentNode===c)break;if(m===4)for(m=o.return;m!==null;){var _=m.tag;if((_===3||_===4)&&(_=m.stateNode.containerInfo,_===c||_.nodeType===8&&_.parentNode===c))return;m=m.return}for(;b!==null;){if(m=gu(b),m===null)return;if(_=m.tag,_===5||_===6){o=d=m;continue e}b=b.parentNode}}o=o.return}iu(function(){var $=d,se=Gt(l),fe=[];e:{var oe=_d.get(n);if(oe!==void 0){var Te=Ct,Me=n;switch(n){case"keypress":if(K(l)===0)break e;case"keydown":case"keyup":Te=yd;break;case"focusin":Me="focus",Te=du;break;case"focusout":Me="blur",Te=du;break;case"beforeblur":case"afterblur":Te=du;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Te=Tl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Te=$i;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Te=Ev;break;case zv:case jv:case Fv:Te=Sc;break;case Hv:Te=Qi;break;case"scroll":Te=on;break;case"wheel":Te=Gi;break;case"copy":case"cut":case"paste":Te=yv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Te=Cv}var He=(r&4)!==0,On=!He&&n==="scroll",U=He?oe!==null?oe+"Capture":null:oe;He=[];for(var O=$,V;O!==null;){V=O;var ce=V.stateNode;if(V.tag===5&&ce!==null&&(V=ce,U!==null&&(ce=Dr(O,U),ce!=null&&He.push(yo(O,ce,V)))),On)break;O=O.return}0<He.length&&(oe=new Te(oe,Me,null,l,se),fe.push({event:oe,listeners:He}))}}if(!(r&7)){e:{if(oe=n==="mouseover"||n==="pointerover",Te=n==="mouseout"||n==="pointerout",oe&&l!==ln&&(Me=l.relatedTarget||l.fromElement)&&(gu(Me)||Me[qi]))break e;if((Te||oe)&&(oe=se.window===se?se:(oe=se.ownerDocument)?oe.defaultView||oe.parentWindow:window,Te?(Me=l.relatedTarget||l.toElement,Te=$,Me=Me?gu(Me):null,Me!==null&&(On=lt(Me),Me!==On||Me.tag!==5&&Me.tag!==6)&&(Me=null)):(Te=null,Me=$),Te!==Me)){if(He=Tl,ce="onMouseLeave",U="onMouseEnter",O="mouse",(n==="pointerout"||n==="pointerover")&&(He=Cv,ce="onPointerLeave",U="onPointerEnter",O="pointer"),On=Te==null?oe:ii(Te),V=Me==null?oe:ii(Me),oe=new He(ce,O+"leave",Te,l,se),oe.target=On,oe.relatedTarget=V,ce=null,gu(se)===$&&(He=new He(U,O+"enter",Me,l,se),He.target=V,He.relatedTarget=On,ce=He),On=ce,Te&&Me)t:{for(He=Te,U=Me,O=0,V=He;V;V=Dl(V))O++;for(V=0,ce=U;ce;ce=Dl(ce))V++;for(;0<O-V;)He=Dl(He),O--;for(;0<V-O;)U=Dl(U),V--;for(;O--;){if(He===U||U!==null&&He===U.alternate)break t;He=Dl(He),U=Dl(U)}He=null}else He=null;Te!==null&&Pv(fe,oe,Te,He,!1),Me!==null&&On!==null&&Pv(fe,On,Me,He,!0)}}e:{if(oe=$?ii($):window,Te=oe.nodeName&&oe.nodeName.toLowerCase(),Te==="select"||Te==="input"&&oe.type==="file")var Ae=Ry;else if(_v(oe))if(kv)Ae=Av;else{Ae=Mv;var qe=Ty}else(Te=oe.nodeName)&&Te.toLowerCase()==="input"&&(oe.type==="checkbox"||oe.type==="radio")&&(Ae=_y);if(Ae&&(Ae=Ae(n,$))){Cd(fe,Ae,l,se);break e}qe&&qe(n,oe,$),n==="focusout"&&(qe=oe._wrapperState)&&qe.controlled&&oe.type==="number"&&ca(oe,"number",oe.value)}switch(qe=$?ii($):window,n){case"focusin":(_v(qe)||qe.contentEditable==="true")&&(ho=qe,bd=$,cs=null);break;case"focusout":cs=bd=ho=null;break;case"mousedown":wd=!0;break;case"contextmenu":case"mouseup":case"dragend":wd=!1,Rd(fe,l,se);break;case"selectionchange":if(ky)break;case"keydown":case"keyup":Rd(fe,l,se)}var Xe;if(fo)e:{switch(n){case"compositionstart":var tt="onCompositionStart";break e;case"compositionend":tt="onCompositionEnd";break e;case"compositionupdate":tt="onCompositionUpdate";break e}tt=void 0}else po?wv(n,l)&&(tt="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(tt="onCompositionStart");tt&&(xv&&l.locale!=="ko"&&(po||tt!=="onCompositionStart"?tt==="onCompositionEnd"&&po&&(Xe=Y()):(ri=se,h="value"in ri?ri.value:ri.textContent,po=!0)),qe=ds($,tt),0<qe.length&&(tt=new vd(tt,n,null,l,se),fe.push({event:tt,listeners:qe}),Xe?tt.data=Xe:(Xe=Rv(l),Xe!==null&&(tt.data=Xe)))),(Xe=ls?Tv(n,l):by(n,l))&&($=ds($,"onBeforeInput"),0<$.length&&(se=new vd("onBeforeInput","beforeinput",null,l,se),fe.push({event:se,listeners:$}),se.data=Xe))}mu(fe,r)})}function yo(n,r,l){return{instance:n,listener:r,currentTarget:l}}function ds(n,r){for(var l=r+"Capture",o=[];n!==null;){var c=n,d=c.stateNode;c.tag===5&&d!==null&&(c=d,d=Dr(n,l),d!=null&&o.unshift(yo(n,d,c)),d=Dr(n,r),d!=null&&o.push(yo(n,d,c))),n=n.return}return o}function Dl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Pv(n,r,l,o,c){for(var d=r._reactName,m=[];l!==null&&l!==o;){var b=l,_=b.alternate,$=b.stateNode;if(_!==null&&_===o)break;b.tag===5&&$!==null&&(b=$,c?(_=Dr(l,d),_!=null&&m.unshift(yo(l,_,b))):c||(_=Dr(l,d),_!=null&&m.push(yo(l,_,b)))),l=l.return}m.length!==0&&n.push({event:r,listeners:m})}var Bv=/\r\n?/g,Ly=/\u0000|\uFFFD/g;function Iv(n){return(typeof n=="string"?n:""+n).replace(Bv,`
129
+ `).replace(Ly,"")}function Nc(n,r,l){if(r=Iv(r),Iv(n)!==r&&l)throw Error(S(425))}function kl(){}var ps=null,yu=null;function Lc(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Mc=typeof setTimeout=="function"?setTimeout:void 0,Od=typeof clearTimeout=="function"?clearTimeout:void 0,Yv=typeof Promise=="function"?Promise:void 0,go=typeof queueMicrotask=="function"?queueMicrotask:typeof Yv<"u"?function(n){return Yv.resolve(null).then(n).catch(Ac)}:Mc;function Ac(n){setTimeout(function(){throw n})}function So(n,r){var l=r,o=0;do{var c=l.nextSibling;if(n.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(o===0){n.removeChild(c),ni(r);return}o--}else l!=="$"&&l!=="$?"&&l!=="$!"||o++;l=c}while(l);ni(r)}function bi(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function $v(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var Ol=Math.random().toString(36).slice(2),wi="__reactFiber$"+Ol,vs="__reactProps$"+Ol,qi="__reactContainer$"+Ol,hs="__reactEvents$"+Ol,Co="__reactListeners$"+Ol,My="__reactHandles$"+Ol;function gu(n){var r=n[wi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[qi]||l[wi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=$v(n);n!==null;){if(l=n[wi])return l;n=$v(n)}return r}n=l,l=n.parentNode}return null}function Ye(n){return n=n[wi]||n[qi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function ii(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(S(33))}function gn(n){return n[vs]||null}var Dt=[],Ma=-1;function Aa(n){return{current:n}}function sn(n){0>Ma||(n.current=Dt[Ma],Dt[Ma]=null,Ma--)}function Ie(n,r){Ma++,Dt[Ma]=n.current,n.current=r}var br={},xn=Aa(br),Qn=Aa(!1),qr=br;function Kr(n,r){var l=n.type.contextTypes;if(!l)return br;var o=n.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===r)return o.__reactInternalMemoizedMaskedChildContext;var c={},d;for(d in l)c[d]=r[d];return o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=c),c}function Un(n){return n=n.childContextTypes,n!=null}function Eo(){sn(Qn),sn(xn)}function Wv(n,r,l){if(xn.current!==br)throw Error(S(168));Ie(xn,r),Ie(Qn,l)}function ms(n,r,l){var o=n.stateNode;if(r=r.childContextTypes,typeof o.getChildContext!="function")return l;o=o.getChildContext();for(var c in o)if(!(c in r))throw Error(S(108,st(n)||"Unknown",c));return ge({},l,o)}function Zn(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||br,qr=xn.current,Ie(xn,n),Ie(Qn,Qn.current),!0}function Uc(n,r,l){var o=n.stateNode;if(!o)throw Error(S(169));l?(n=ms(n,r,qr),o.__reactInternalMemoizedMergedChildContext=n,sn(Qn),sn(xn),Ie(xn,n)):sn(Qn),Ie(Qn,l)}var Ri=null,xo=!1,Ki=!1;function zc(n){Ri===null?Ri=[n]:Ri.push(n)}function Nl(n){xo=!0,zc(n)}function Ti(){if(!Ki&&Ri!==null){Ki=!0;var n=0,r=zt;try{var l=Ri;for(zt=1;n<l.length;n++){var o=l[n];do o=o(!0);while(o!==null)}Ri=null,xo=!1}catch(c){throw Ri!==null&&(Ri=Ri.slice(n+1)),fn(Za,Ti),c}finally{zt=r,Ki=!1}}return null}var Ll=[],Ml=0,Al=null,Xi=0,zn=[],Ua=0,va=null,_i=1,Di="";function Su(n,r){Ll[Ml++]=Xi,Ll[Ml++]=Al,Al=n,Xi=r}function Qv(n,r,l){zn[Ua++]=_i,zn[Ua++]=Di,zn[Ua++]=va,va=n;var o=_i;n=Di;var c=32-Or(o)-1;o&=~(1<<c),l+=1;var d=32-Or(r)+c;if(30<d){var m=c-c%5;d=(o&(1<<m)-1).toString(32),o>>=m,c-=m,_i=1<<32-Or(r)+c|l<<c|o,Di=d+n}else _i=1<<d|l<<c|o,Di=n}function jc(n){n.return!==null&&(Su(n,1),Qv(n,1,0))}function Fc(n){for(;n===Al;)Al=Ll[--Ml],Ll[Ml]=null,Xi=Ll[--Ml],Ll[Ml]=null;for(;n===va;)va=zn[--Ua],zn[Ua]=null,Di=zn[--Ua],zn[Ua]=null,_i=zn[--Ua],zn[Ua]=null}var Xr=null,Jr=null,vn=!1,za=null;function Nd(n,r){var l=Pa(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function Gv(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Xr=n,Jr=bi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Xr=n,Jr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=va!==null?{id:_i,overflow:Di}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Pa(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Xr=n,Jr=null,!0):!1;default:return!1}}function Ld(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Md(n){if(vn){var r=Jr;if(r){var l=r;if(!Gv(n,r)){if(Ld(n))throw Error(S(418));r=bi(l.nextSibling);var o=Xr;r&&Gv(n,r)?Nd(o,l):(n.flags=n.flags&-4097|2,vn=!1,Xr=n)}}else{if(Ld(n))throw Error(S(418));n.flags=n.flags&-4097|2,vn=!1,Xr=n}}}function Gn(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Xr=n}function Hc(n){if(n!==Xr)return!1;if(!vn)return Gn(n),vn=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Lc(n.type,n.memoizedProps)),r&&(r=Jr)){if(Ld(n))throw ys(),Error(S(418));for(;r;)Nd(n,r),r=bi(r.nextSibling)}if(Gn(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(S(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){Jr=bi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}Jr=null}}else Jr=Xr?bi(n.stateNode.nextSibling):null;return!0}function ys(){for(var n=Jr;n;)n=bi(n.nextSibling)}function Ul(){Jr=Xr=null,vn=!1}function Ji(n){za===null?za=[n]:za.push(n)}var Ay=ze.ReactCurrentBatchConfig;function Cu(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(S(309));var o=l.stateNode}if(!o)throw Error(S(147,n));var c=o,d=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===d?r.ref:(r=function(m){var b=c.refs;m===null?delete b[d]:b[d]=m},r._stringRef=d,r)}if(typeof n!="string")throw Error(S(284));if(!l._owner)throw Error(S(290,n))}return n}function Vc(n,r){throw n=Object.prototype.toString.call(r),Error(S(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function qv(n){var r=n._init;return r(n._payload)}function Eu(n){function r(U,O){if(n){var V=U.deletions;V===null?(U.deletions=[O],U.flags|=16):V.push(O)}}function l(U,O){if(!n)return null;for(;O!==null;)r(U,O),O=O.sibling;return null}function o(U,O){for(U=new Map;O!==null;)O.key!==null?U.set(O.key,O):U.set(O.index,O),O=O.sibling;return U}function c(U,O){return U=Il(U,O),U.index=0,U.sibling=null,U}function d(U,O,V){return U.index=V,n?(V=U.alternate,V!==null?(V=V.index,V<O?(U.flags|=2,O):V):(U.flags|=2,O)):(U.flags|=1048576,O)}function m(U){return n&&U.alternate===null&&(U.flags|=2),U}function b(U,O,V,ce){return O===null||O.tag!==6?(O=cp(V,U.mode,ce),O.return=U,O):(O=c(O,V),O.return=U,O)}function _(U,O,V,ce){var Ae=V.type;return Ae===me?se(U,O,V.props.children,ce,V.key):O!==null&&(O.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===Tt&&qv(Ae)===O.type)?(ce=c(O,V.props),ce.ref=Cu(U,O,V),ce.return=U,ce):(ce=Qs(V.type,V.key,V.props,null,U.mode,ce),ce.ref=Cu(U,O,V),ce.return=U,ce)}function $(U,O,V,ce){return O===null||O.tag!==4||O.stateNode.containerInfo!==V.containerInfo||O.stateNode.implementation!==V.implementation?(O=Cf(V,U.mode,ce),O.return=U,O):(O=c(O,V.children||[]),O.return=U,O)}function se(U,O,V,ce,Ae){return O===null||O.tag!==7?(O=al(V,U.mode,ce,Ae),O.return=U,O):(O=c(O,V),O.return=U,O)}function fe(U,O,V){if(typeof O=="string"&&O!==""||typeof O=="number")return O=cp(""+O,U.mode,V),O.return=U,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case Re:return V=Qs(O.type,O.key,O.props,null,U.mode,V),V.ref=Cu(U,null,O),V.return=U,V;case Ne:return O=Cf(O,U.mode,V),O.return=U,O;case Tt:var ce=O._init;return fe(U,ce(O._payload),V)}if(Xn(O)||Fe(O))return O=al(O,U.mode,V,null),O.return=U,O;Vc(U,O)}return null}function oe(U,O,V,ce){var Ae=O!==null?O.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return Ae!==null?null:b(U,O,""+V,ce);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case Re:return V.key===Ae?_(U,O,V,ce):null;case Ne:return V.key===Ae?$(U,O,V,ce):null;case Tt:return Ae=V._init,oe(U,O,Ae(V._payload),ce)}if(Xn(V)||Fe(V))return Ae!==null?null:se(U,O,V,ce,null);Vc(U,V)}return null}function Te(U,O,V,ce,Ae){if(typeof ce=="string"&&ce!==""||typeof ce=="number")return U=U.get(V)||null,b(O,U,""+ce,Ae);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Re:return U=U.get(ce.key===null?V:ce.key)||null,_(O,U,ce,Ae);case Ne:return U=U.get(ce.key===null?V:ce.key)||null,$(O,U,ce,Ae);case Tt:var qe=ce._init;return Te(U,O,V,qe(ce._payload),Ae)}if(Xn(ce)||Fe(ce))return U=U.get(V)||null,se(O,U,ce,Ae,null);Vc(O,ce)}return null}function Me(U,O,V,ce){for(var Ae=null,qe=null,Xe=O,tt=O=0,nr=null;Xe!==null&&tt<V.length;tt++){Xe.index>tt?(nr=Xe,Xe=null):nr=Xe.sibling;var Ht=oe(U,Xe,V[tt],ce);if(Ht===null){Xe===null&&(Xe=nr);break}n&&Xe&&Ht.alternate===null&&r(U,Xe),O=d(Ht,O,tt),qe===null?Ae=Ht:qe.sibling=Ht,qe=Ht,Xe=nr}if(tt===V.length)return l(U,Xe),vn&&Su(U,tt),Ae;if(Xe===null){for(;tt<V.length;tt++)Xe=fe(U,V[tt],ce),Xe!==null&&(O=d(Xe,O,tt),qe===null?Ae=Xe:qe.sibling=Xe,qe=Xe);return vn&&Su(U,tt),Ae}for(Xe=o(U,Xe);tt<V.length;tt++)nr=Te(Xe,U,tt,V[tt],ce),nr!==null&&(n&&nr.alternate!==null&&Xe.delete(nr.key===null?tt:nr.key),O=d(nr,O,tt),qe===null?Ae=nr:qe.sibling=nr,qe=nr);return n&&Xe.forEach(function(Wl){return r(U,Wl)}),vn&&Su(U,tt),Ae}function He(U,O,V,ce){var Ae=Fe(V);if(typeof Ae!="function")throw Error(S(150));if(V=Ae.call(V),V==null)throw Error(S(151));for(var qe=Ae=null,Xe=O,tt=O=0,nr=null,Ht=V.next();Xe!==null&&!Ht.done;tt++,Ht=V.next()){Xe.index>tt?(nr=Xe,Xe=null):nr=Xe.sibling;var Wl=oe(U,Xe,Ht.value,ce);if(Wl===null){Xe===null&&(Xe=nr);break}n&&Xe&&Wl.alternate===null&&r(U,Xe),O=d(Wl,O,tt),qe===null?Ae=Wl:qe.sibling=Wl,qe=Wl,Xe=nr}if(Ht.done)return l(U,Xe),vn&&Su(U,tt),Ae;if(Xe===null){for(;!Ht.done;tt++,Ht=V.next())Ht=fe(U,Ht.value,ce),Ht!==null&&(O=d(Ht,O,tt),qe===null?Ae=Ht:qe.sibling=Ht,qe=Ht);return vn&&Su(U,tt),Ae}for(Xe=o(U,Xe);!Ht.done;tt++,Ht=V.next())Ht=Te(Xe,U,tt,Ht.value,ce),Ht!==null&&(n&&Ht.alternate!==null&&Xe.delete(Ht.key===null?tt:Ht.key),O=d(Ht,O,tt),qe===null?Ae=Ht:qe.sibling=Ht,qe=Ht);return n&&Xe.forEach(function(Nh){return r(U,Nh)}),vn&&Su(U,tt),Ae}function On(U,O,V,ce){if(typeof V=="object"&&V!==null&&V.type===me&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case Re:e:{for(var Ae=V.key,qe=O;qe!==null;){if(qe.key===Ae){if(Ae=V.type,Ae===me){if(qe.tag===7){l(U,qe.sibling),O=c(qe,V.props.children),O.return=U,U=O;break e}}else if(qe.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===Tt&&qv(Ae)===qe.type){l(U,qe.sibling),O=c(qe,V.props),O.ref=Cu(U,qe,V),O.return=U,U=O;break e}l(U,qe);break}else r(U,qe);qe=qe.sibling}V.type===me?(O=al(V.props.children,U.mode,ce,V.key),O.return=U,U=O):(ce=Qs(V.type,V.key,V.props,null,U.mode,ce),ce.ref=Cu(U,O,V),ce.return=U,U=ce)}return m(U);case Ne:e:{for(qe=V.key;O!==null;){if(O.key===qe)if(O.tag===4&&O.stateNode.containerInfo===V.containerInfo&&O.stateNode.implementation===V.implementation){l(U,O.sibling),O=c(O,V.children||[]),O.return=U,U=O;break e}else{l(U,O);break}else r(U,O);O=O.sibling}O=Cf(V,U.mode,ce),O.return=U,U=O}return m(U);case Tt:return qe=V._init,On(U,O,qe(V._payload),ce)}if(Xn(V))return Me(U,O,V,ce);if(Fe(V))return He(U,O,V,ce);Vc(U,V)}return typeof V=="string"&&V!==""||typeof V=="number"?(V=""+V,O!==null&&O.tag===6?(l(U,O.sibling),O=c(O,V),O.return=U,U=O):(l(U,O),O=cp(V,U.mode,ce),O.return=U,U=O),m(U)):l(U,O)}return On}var Tn=Eu(!0),xe=Eu(!1),ha=Aa(null),Zr=null,bo=null,Ad=null;function Ud(){Ad=bo=Zr=null}function zd(n){var r=ha.current;sn(ha),n._currentValue=r}function jd(n,r,l){for(;n!==null;){var o=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,o!==null&&(o.childLanes|=r)):o!==null&&(o.childLanes&r)!==r&&(o.childLanes|=r),n===l)break;n=n.return}}function Sn(n,r){Zr=n,Ad=bo=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Fn=!0),n.firstContext=null)}function ja(n){var r=n._currentValue;if(Ad!==n)if(n={context:n,memoizedValue:r,next:null},bo===null){if(Zr===null)throw Error(S(308));bo=n,Zr.dependencies={lanes:0,firstContext:n}}else bo=bo.next=n;return r}var xu=null;function Fd(n){xu===null?xu=[n]:xu.push(n)}function Hd(n,r,l,o){var c=r.interleaved;return c===null?(l.next=l,Fd(r)):(l.next=c.next,c.next=l),r.interleaved=l,ma(n,o)}function ma(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var ya=!1;function Vd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kv(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Zi(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function zl(n,r,l){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,kt&2){var c=o.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),o.pending=r,ma(n,l)}return c=o.interleaved,c===null?(r.next=r,Fd(o)):(r.next=c.next,c.next=r),o.interleaved=r,ma(n,l)}function Pc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,Yi(n,l)}}function Xv(n,r){var l=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var c=null,d=null;if(l=l.firstBaseUpdate,l!==null){do{var m={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};d===null?c=d=m:d=d.next=m,l=l.next}while(l!==null);d===null?c=d=r:d=d.next=r}else c=d=r;l={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,effects:o.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function gs(n,r,l,o){var c=n.updateQueue;ya=!1;var d=c.firstBaseUpdate,m=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var _=b,$=_.next;_.next=null,m===null?d=$:m.next=$,m=_;var se=n.alternate;se!==null&&(se=se.updateQueue,b=se.lastBaseUpdate,b!==m&&(b===null?se.firstBaseUpdate=$:b.next=$,se.lastBaseUpdate=_))}if(d!==null){var fe=c.baseState;m=0,se=$=_=null,b=d;do{var oe=b.lane,Te=b.eventTime;if((o&oe)===oe){se!==null&&(se=se.next={eventTime:Te,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var Me=n,He=b;switch(oe=r,Te=l,He.tag){case 1:if(Me=He.payload,typeof Me=="function"){fe=Me.call(Te,fe,oe);break e}fe=Me;break e;case 3:Me.flags=Me.flags&-65537|128;case 0:if(Me=He.payload,oe=typeof Me=="function"?Me.call(Te,fe,oe):Me,oe==null)break e;fe=ge({},fe,oe);break e;case 2:ya=!0}}b.callback!==null&&b.lane!==0&&(n.flags|=64,oe=c.effects,oe===null?c.effects=[b]:oe.push(b))}else Te={eventTime:Te,lane:oe,tag:b.tag,payload:b.payload,callback:b.callback,next:null},se===null?($=se=Te,_=fe):se=se.next=Te,m|=oe;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;oe=b,b=oe.next,oe.next=null,c.lastBaseUpdate=oe,c.shared.pending=null}}while(!0);if(se===null&&(_=fe),c.baseState=_,c.firstBaseUpdate=$,c.lastBaseUpdate=se,r=c.shared.interleaved,r!==null){c=r;do m|=c.lane,c=c.next;while(c!==r)}else d===null&&(c.shared.lanes=0);Mi|=m,n.lanes=m,n.memoizedState=fe}}function Pd(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var o=n[r],c=o.callback;if(c!==null){if(o.callback=null,o=l,typeof c!="function")throw Error(S(191,c));c.call(o)}}}var Ss={},ki=Aa(Ss),Cs=Aa(Ss),Es=Aa(Ss);function bu(n){if(n===Ss)throw Error(S(174));return n}function Bd(n,r){switch(Ie(Es,r),Ie(Cs,n),Ie(ki,Ss),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:fa(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=fa(r,n)}sn(ki),Ie(ki,r)}function wu(){sn(ki),sn(Cs),sn(Es)}function Jv(n){bu(Es.current);var r=bu(ki.current),l=fa(r,n.type);r!==l&&(Ie(Cs,n),Ie(ki,l))}function Bc(n){Cs.current===n&&(sn(ki),sn(Cs))}var Cn=Aa(0);function Ic(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var xs=[];function $e(){for(var n=0;n<xs.length;n++)xs[n]._workInProgressVersionPrimary=null;xs.length=0}var gt=ze.ReactCurrentDispatcher,jt=ze.ReactCurrentBatchConfig,Zt=0,Ft=null,jn=null,er=null,Yc=!1,bs=!1,Ru=0,ue=0;function Ut(){throw Error(S(321))}function Ze(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!ai(n[l],r[l]))return!1;return!0}function jl(n,r,l,o,c,d){if(Zt=d,Ft=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,gt.current=n===null||n.memoizedState===null?lf:ks,n=l(o,c),bs){d=0;do{if(bs=!1,Ru=0,25<=d)throw Error(S(301));d+=1,er=jn=null,r.updateQueue=null,gt.current=uf,n=l(o,c)}while(bs)}if(gt.current=Ou,r=jn!==null&&jn.next!==null,Zt=0,er=jn=Ft=null,Yc=!1,r)throw Error(S(300));return n}function li(){var n=Ru!==0;return Ru=0,n}function wr(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return er===null?Ft.memoizedState=er=n:er=er.next=n,er}function _n(){if(jn===null){var n=Ft.alternate;n=n!==null?n.memoizedState:null}else n=jn.next;var r=er===null?Ft.memoizedState:er.next;if(r!==null)er=r,jn=n;else{if(n===null)throw Error(S(310));jn=n,n={memoizedState:jn.memoizedState,baseState:jn.baseState,baseQueue:jn.baseQueue,queue:jn.queue,next:null},er===null?Ft.memoizedState=er=n:er=er.next=n}return er}function el(n,r){return typeof r=="function"?r(n):r}function Fl(n){var r=_n(),l=r.queue;if(l===null)throw Error(S(311));l.lastRenderedReducer=n;var o=jn,c=o.baseQueue,d=l.pending;if(d!==null){if(c!==null){var m=c.next;c.next=d.next,d.next=m}o.baseQueue=c=d,l.pending=null}if(c!==null){d=c.next,o=o.baseState;var b=m=null,_=null,$=d;do{var se=$.lane;if((Zt&se)===se)_!==null&&(_=_.next={lane:0,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),o=$.hasEagerState?$.eagerState:n(o,$.action);else{var fe={lane:se,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};_===null?(b=_=fe,m=o):_=_.next=fe,Ft.lanes|=se,Mi|=se}$=$.next}while($!==null&&$!==d);_===null?m=o:_.next=b,ai(o,r.memoizedState)||(Fn=!0),r.memoizedState=o,r.baseState=m,r.baseQueue=_,l.lastRenderedState=o}if(n=l.interleaved,n!==null){c=n;do d=c.lane,Ft.lanes|=d,Mi|=d,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Tu(n){var r=_n(),l=r.queue;if(l===null)throw Error(S(311));l.lastRenderedReducer=n;var o=l.dispatch,c=l.pending,d=r.memoizedState;if(c!==null){l.pending=null;var m=c=c.next;do d=n(d,m.action),m=m.next;while(m!==c);ai(d,r.memoizedState)||(Fn=!0),r.memoizedState=d,r.baseQueue===null&&(r.baseState=d),l.lastRenderedState=d}return[d,o]}function $c(){}function Wc(n,r){var l=Ft,o=_n(),c=r(),d=!ai(o.memoizedState,c);if(d&&(o.memoizedState=c,Fn=!0),o=o.queue,ws(qc.bind(null,l,o,n),[n]),o.getSnapshot!==r||d||er!==null&&er.memoizedState.tag&1){if(l.flags|=2048,_u(9,Gc.bind(null,l,o,c,r),void 0,null),qn===null)throw Error(S(349));Zt&30||Qc(l,r,c)}return c}function Qc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=Ft.updateQueue,r===null?(r={lastEffect:null,stores:null},Ft.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Gc(n,r,l,o){r.value=l,r.getSnapshot=o,Kc(r)&&Xc(n)}function qc(n,r,l){return l(function(){Kc(r)&&Xc(n)})}function Kc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!ai(n,l)}catch{return!0}}function Xc(n){var r=ma(n,1);r!==null&&zr(r,n,1,-1)}function Jc(n){var r=wr();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:n},r.queue=n,n=n.dispatch=ku.bind(null,Ft,n),[r.memoizedState,n]}function _u(n,r,l,o){return n={tag:n,create:r,destroy:l,deps:o,next:null},r=Ft.updateQueue,r===null?(r={lastEffect:null,stores:null},Ft.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(o=l.next,l.next=n,n.next=o,r.lastEffect=n)),n}function Zc(){return _n().memoizedState}function wo(n,r,l,o){var c=wr();Ft.flags|=n,c.memoizedState=_u(1|r,l,void 0,o===void 0?null:o)}function Ro(n,r,l,o){var c=_n();o=o===void 0?null:o;var d=void 0;if(jn!==null){var m=jn.memoizedState;if(d=m.destroy,o!==null&&Ze(o,m.deps)){c.memoizedState=_u(r,l,d,o);return}}Ft.flags|=n,c.memoizedState=_u(1|r,l,d,o)}function ef(n,r){return wo(8390656,8,n,r)}function ws(n,r){return Ro(2048,8,n,r)}function tf(n,r){return Ro(4,2,n,r)}function Rs(n,r){return Ro(4,4,n,r)}function Du(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function nf(n,r,l){return l=l!=null?l.concat([n]):null,Ro(4,4,Du.bind(null,r,n),l)}function Ts(){}function rf(n,r){var l=_n();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&Ze(r,o[1])?o[0]:(l.memoizedState=[n,r],n)}function af(n,r){var l=_n();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&Ze(r,o[1])?o[0]:(n=n(),l.memoizedState=[n,r],n)}function Id(n,r,l){return Zt&21?(ai(l,r)||(l=ro(),Ft.lanes|=l,Mi|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Fn=!0),n.memoizedState=l)}function _s(n,r){var l=zt;zt=l!==0&&4>l?l:4,n(!0);var o=jt.transition;jt.transition={};try{n(!1),r()}finally{zt=l,jt.transition=o}}function Yd(){return _n().memoizedState}function Ds(n,r,l){var o=Ai(n);if(l={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null},ea(n))Zv(r,l);else if(l=Hd(n,r,l,o),l!==null){var c=Pn();zr(l,n,o,c),rn(l,r,o)}}function ku(n,r,l){var o=Ai(n),c={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null};if(ea(n))Zv(r,c);else{var d=n.alternate;if(n.lanes===0&&(d===null||d.lanes===0)&&(d=r.lastRenderedReducer,d!==null))try{var m=r.lastRenderedState,b=d(m,l);if(c.hasEagerState=!0,c.eagerState=b,ai(b,m)){var _=r.interleaved;_===null?(c.next=c,Fd(r)):(c.next=_.next,_.next=c),r.interleaved=c;return}}catch{}finally{}l=Hd(n,r,c,o),l!==null&&(c=Pn(),zr(l,n,o,c),rn(l,r,o))}}function ea(n){var r=n.alternate;return n===Ft||r!==null&&r===Ft}function Zv(n,r){bs=Yc=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function rn(n,r,l){if(l&4194240){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,Yi(n,l)}}var Ou={readContext:ja,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useInsertionEffect:Ut,useLayoutEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useMutableSource:Ut,useSyncExternalStore:Ut,useId:Ut,unstable_isNewReconciler:!1},lf={readContext:ja,useCallback:function(n,r){return wr().memoizedState=[n,r===void 0?null:r],n},useContext:ja,useEffect:ef,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,wo(4194308,4,Du.bind(null,r,n),l)},useLayoutEffect:function(n,r){return wo(4194308,4,n,r)},useInsertionEffect:function(n,r){return wo(4,2,n,r)},useMemo:function(n,r){var l=wr();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var o=wr();return r=l!==void 0?l(r):r,o.memoizedState=o.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},o.queue=n,n=n.dispatch=Ds.bind(null,Ft,n),[o.memoizedState,n]},useRef:function(n){var r=wr();return n={current:n},r.memoizedState=n},useState:Jc,useDebugValue:Ts,useDeferredValue:function(n){return wr().memoizedState=n},useTransition:function(){var n=Jc(!1),r=n[0];return n=_s.bind(null,n[1]),wr().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var o=Ft,c=wr();if(vn){if(l===void 0)throw Error(S(407));l=l()}else{if(l=r(),qn===null)throw Error(S(349));Zt&30||Qc(o,r,l)}c.memoizedState=l;var d={value:l,getSnapshot:r};return c.queue=d,ef(qc.bind(null,o,d,n),[n]),o.flags|=2048,_u(9,Gc.bind(null,o,d,l,r),void 0,null),l},useId:function(){var n=wr(),r=qn.identifierPrefix;if(vn){var l=Di,o=_i;l=(o&~(1<<32-Or(o)-1)).toString(32)+l,r=":"+r+"R"+l,l=Ru++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=ue++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},ks={readContext:ja,useCallback:rf,useContext:ja,useEffect:ws,useImperativeHandle:nf,useInsertionEffect:tf,useLayoutEffect:Rs,useMemo:af,useReducer:Fl,useRef:Zc,useState:function(){return Fl(el)},useDebugValue:Ts,useDeferredValue:function(n){var r=_n();return Id(r,jn.memoizedState,n)},useTransition:function(){var n=Fl(el)[0],r=_n().memoizedState;return[n,r]},useMutableSource:$c,useSyncExternalStore:Wc,useId:Yd,unstable_isNewReconciler:!1},uf={readContext:ja,useCallback:rf,useContext:ja,useEffect:ws,useImperativeHandle:nf,useInsertionEffect:tf,useLayoutEffect:Rs,useMemo:af,useReducer:Tu,useRef:Zc,useState:function(){return Tu(el)},useDebugValue:Ts,useDeferredValue:function(n){var r=_n();return jn===null?r.memoizedState=n:Id(r,jn.memoizedState,n)},useTransition:function(){var n=Tu(el)[0],r=_n().memoizedState;return[n,r]},useMutableSource:$c,useSyncExternalStore:Wc,useId:Yd,unstable_isNewReconciler:!1};function ui(n,r){if(n&&n.defaultProps){r=ge({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}function $d(n,r,l,o){r=n.memoizedState,l=l(o,r),l=l==null?r:ge({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var of={isMounted:function(n){return(n=n._reactInternals)?lt(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var o=Pn(),c=Ai(n),d=Zi(o,c);d.payload=r,l!=null&&(d.callback=l),r=zl(n,d,c),r!==null&&(zr(r,n,c,o),Pc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var o=Pn(),c=Ai(n),d=Zi(o,c);d.tag=1,d.payload=r,l!=null&&(d.callback=l),r=zl(n,d,c),r!==null&&(zr(r,n,c,o),Pc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=Pn(),o=Ai(n),c=Zi(l,o);c.tag=2,r!=null&&(c.callback=r),r=zl(n,c,o),r!==null&&(zr(r,n,o,l),Pc(r,n,o))}};function eh(n,r,l,o,c,d,m){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,d,m):r.prototype&&r.prototype.isPureReactComponent?!os(l,o)||!os(c,d):!0}function sf(n,r,l){var o=!1,c=br,d=r.contextType;return typeof d=="object"&&d!==null?d=ja(d):(c=Un(r)?qr:xn.current,o=r.contextTypes,d=(o=o!=null)?Kr(n,c):br),r=new r(l,d),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=of,n.stateNode=r,r._reactInternals=n,o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=c,n.__reactInternalMemoizedMaskedChildContext=d),r}function th(n,r,l,o){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,o),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,o),r.state!==n&&of.enqueueReplaceState(r,r.state,null)}function Os(n,r,l,o){var c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs={},Vd(n);var d=r.contextType;typeof d=="object"&&d!==null?c.context=ja(d):(d=Un(r)?qr:xn.current,c.context=Kr(n,d)),c.state=n.memoizedState,d=r.getDerivedStateFromProps,typeof d=="function"&&($d(n,r,d,l),c.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&of.enqueueReplaceState(c,c.state,null),gs(n,l,c,o),c.state=n.memoizedState),typeof c.componentDidMount=="function"&&(n.flags|=4194308)}function Nu(n,r){try{var l="",o=r;do l+=ht(o),o=o.return;while(o);var c=l}catch(d){c=`
130
+ Error generating stack: `+d.message+`
131
+ `+d.stack}return{value:n,source:r,stack:c,digest:null}}function Wd(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Qd(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var cf=typeof WeakMap=="function"?WeakMap:Map;function nh(n,r,l){l=Zi(-1,l),l.tag=3,l.payload={element:null};var o=r.value;return l.callback=function(){No||(No=!0,Au=o),Qd(n,r)},l}function Gd(n,r,l){l=Zi(-1,l),l.tag=3;var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var c=r.value;l.payload=function(){return o(c)},l.callback=function(){Qd(n,r)}}var d=n.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(l.callback=function(){Qd(n,r),typeof o!="function"&&(Pl===null?Pl=new Set([this]):Pl.add(this));var m=r.stack;this.componentDidCatch(r.value,{componentStack:m!==null?m:""})}),l}function qd(n,r,l){var o=n.pingCache;if(o===null){o=n.pingCache=new cf;var c=new Set;o.set(r,c)}else c=o.get(r),c===void 0&&(c=new Set,o.set(r,c));c.has(l)||(c.add(l),n=Py.bind(null,n,r,l),r.then(n,n))}function rh(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function Hl(n,r,l,o,c){return n.mode&1?(n.flags|=65536,n.lanes=c,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Zi(-1,1),r.tag=2,zl(l,r,1))),l.lanes|=1),n)}var Ns=ze.ReactCurrentOwner,Fn=!1;function sr(n,r,l,o){r.child=n===null?xe(r,null,l,o):Tn(r,n.child,l,o)}function ta(n,r,l,o,c){l=l.render;var d=r.ref;return Sn(r,c),o=jl(n,r,l,o,d,c),l=li(),n!==null&&!Fn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,Ha(n,r,c)):(vn&&l&&jc(r),r.flags|=1,sr(n,r,o,c),r.child)}function Lu(n,r,l,o,c){if(n===null){var d=l.type;return typeof d=="function"&&!sp(d)&&d.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=d,ot(n,r,d,o,c)):(n=Qs(l.type,null,o,r,r.mode,c),n.ref=r.ref,n.return=r,r.child=n)}if(d=n.child,!(n.lanes&c)){var m=d.memoizedProps;if(l=l.compare,l=l!==null?l:os,l(m,o)&&n.ref===r.ref)return Ha(n,r,c)}return r.flags|=1,n=Il(d,o),n.ref=r.ref,n.return=r,r.child=n}function ot(n,r,l,o,c){if(n!==null){var d=n.memoizedProps;if(os(d,o)&&n.ref===r.ref)if(Fn=!1,r.pendingProps=o=d,(n.lanes&c)!==0)n.flags&131072&&(Fn=!0);else return r.lanes=n.lanes,Ha(n,r,c)}return ah(n,r,l,o,c)}function Ls(n,r,l){var o=r.pendingProps,c=o.children,d=n!==null?n.memoizedState:null;if(o.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(Do,ga),ga|=l;else{if(!(l&1073741824))return n=d!==null?d.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Ie(Do,ga),ga|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=d!==null?d.baseLanes:l,Ie(Do,ga),ga|=o}else d!==null?(o=d.baseLanes|l,r.memoizedState=null):o=l,Ie(Do,ga),ga|=o;return sr(n,r,c,l),r.child}function Kd(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function ah(n,r,l,o,c){var d=Un(l)?qr:xn.current;return d=Kr(r,d),Sn(r,c),l=jl(n,r,l,o,d,c),o=li(),n!==null&&!Fn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,Ha(n,r,c)):(vn&&o&&jc(r),r.flags|=1,sr(n,r,l,c),r.child)}function ih(n,r,l,o,c){if(Un(l)){var d=!0;Zn(r)}else d=!1;if(Sn(r,c),r.stateNode===null)Fa(n,r),sf(r,l,o),Os(r,l,o,c),o=!0;else if(n===null){var m=r.stateNode,b=r.memoizedProps;m.props=b;var _=m.context,$=l.contextType;typeof $=="object"&&$!==null?$=ja($):($=Un(l)?qr:xn.current,$=Kr(r,$));var se=l.getDerivedStateFromProps,fe=typeof se=="function"||typeof m.getSnapshotBeforeUpdate=="function";fe||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(b!==o||_!==$)&&th(r,m,o,$),ya=!1;var oe=r.memoizedState;m.state=oe,gs(r,o,m,c),_=r.memoizedState,b!==o||oe!==_||Qn.current||ya?(typeof se=="function"&&($d(r,l,se,o),_=r.memoizedState),(b=ya||eh(r,l,b,o,oe,_,$))?(fe||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(r.flags|=4194308)):(typeof m.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=o,r.memoizedState=_),m.props=o,m.state=_,m.context=$,o=b):(typeof m.componentDidMount=="function"&&(r.flags|=4194308),o=!1)}else{m=r.stateNode,Kv(n,r),b=r.memoizedProps,$=r.type===r.elementType?b:ui(r.type,b),m.props=$,fe=r.pendingProps,oe=m.context,_=l.contextType,typeof _=="object"&&_!==null?_=ja(_):(_=Un(l)?qr:xn.current,_=Kr(r,_));var Te=l.getDerivedStateFromProps;(se=typeof Te=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(b!==fe||oe!==_)&&th(r,m,o,_),ya=!1,oe=r.memoizedState,m.state=oe,gs(r,o,m,c);var Me=r.memoizedState;b!==fe||oe!==Me||Qn.current||ya?(typeof Te=="function"&&($d(r,l,Te,o),Me=r.memoizedState),($=ya||eh(r,l,$,o,oe,Me,_)||!1)?(se||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(o,Me,_),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(o,Me,_)),typeof m.componentDidUpdate=="function"&&(r.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof m.componentDidUpdate!="function"||b===n.memoizedProps&&oe===n.memoizedState||(r.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&oe===n.memoizedState||(r.flags|=1024),r.memoizedProps=o,r.memoizedState=Me),m.props=o,m.state=Me,m.context=_,o=$):(typeof m.componentDidUpdate!="function"||b===n.memoizedProps&&oe===n.memoizedState||(r.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&oe===n.memoizedState||(r.flags|=1024),o=!1)}return Ms(n,r,l,o,d,c)}function Ms(n,r,l,o,c,d){Kd(n,r);var m=(r.flags&128)!==0;if(!o&&!m)return c&&Uc(r,l,!1),Ha(n,r,d);o=r.stateNode,Ns.current=r;var b=m&&typeof l.getDerivedStateFromError!="function"?null:o.render();return r.flags|=1,n!==null&&m?(r.child=Tn(r,n.child,null,d),r.child=Tn(r,null,b,d)):sr(n,r,b,d),r.memoizedState=o.state,c&&Uc(r,l,!0),r.child}function To(n){var r=n.stateNode;r.pendingContext?Wv(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Wv(n,r.context,!1),Bd(n,r.containerInfo)}function lh(n,r,l,o,c){return Ul(),Ji(c),r.flags|=256,sr(n,r,l,o),r.child}var ff={dehydrated:null,treeContext:null,retryLane:0};function Xd(n){return{baseLanes:n,cachePool:null,transitions:null}}function df(n,r,l){var o=r.pendingProps,c=Cn.current,d=!1,m=(r.flags&128)!==0,b;if((b=m)||(b=n!==null&&n.memoizedState===null?!1:(c&2)!==0),b?(d=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),Ie(Cn,c&1),n===null)return Md(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(m=o.children,n=o.fallback,d?(o=r.mode,d=r.child,m={mode:"hidden",children:m},!(o&1)&&d!==null?(d.childLanes=0,d.pendingProps=m):d=Yl(m,o,0,null),n=al(n,o,l,null),d.return=r,n.return=r,d.sibling=n,r.child=d,r.child.memoizedState=Xd(l),r.memoizedState=ff,n):Jd(r,m));if(c=n.memoizedState,c!==null&&(b=c.dehydrated,b!==null))return uh(n,r,m,o,b,c,l);if(d){d=o.fallback,m=r.mode,c=n.child,b=c.sibling;var _={mode:"hidden",children:o.children};return!(m&1)&&r.child!==c?(o=r.child,o.childLanes=0,o.pendingProps=_,r.deletions=null):(o=Il(c,_),o.subtreeFlags=c.subtreeFlags&14680064),b!==null?d=Il(b,d):(d=al(d,m,l,null),d.flags|=2),d.return=r,o.return=r,o.sibling=d,r.child=o,o=d,d=r.child,m=n.child.memoizedState,m=m===null?Xd(l):{baseLanes:m.baseLanes|l,cachePool:null,transitions:m.transitions},d.memoizedState=m,d.childLanes=n.childLanes&~l,r.memoizedState=ff,o}return d=n.child,n=d.sibling,o=Il(d,{mode:"visible",children:o.children}),!(r.mode&1)&&(o.lanes=l),o.return=r,o.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=o,r.memoizedState=null,o}function Jd(n,r){return r=Yl({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function As(n,r,l,o){return o!==null&&Ji(o),Tn(r,n.child,null,l),n=Jd(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function uh(n,r,l,o,c,d,m){if(l)return r.flags&256?(r.flags&=-257,o=Wd(Error(S(422))),As(n,r,m,o)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(d=o.fallback,c=r.mode,o=Yl({mode:"visible",children:o.children},c,0,null),d=al(d,c,m,null),d.flags|=2,o.return=r,d.return=r,o.sibling=d,r.child=o,r.mode&1&&Tn(r,n.child,null,m),r.child.memoizedState=Xd(m),r.memoizedState=ff,d);if(!(r.mode&1))return As(n,r,m,null);if(c.data==="$!"){if(o=c.nextSibling&&c.nextSibling.dataset,o)var b=o.dgst;return o=b,d=Error(S(419)),o=Wd(d,o,void 0),As(n,r,m,o)}if(b=(m&n.childLanes)!==0,Fn||b){if(o=qn,o!==null){switch(m&-m){case 4:c=2;break;case 16:c=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(o.suspendedLanes|m)?0:c,c!==0&&c!==d.retryLane&&(d.retryLane=c,ma(n,c),zr(o,n,c,-1))}return op(),o=Wd(Error(S(421))),As(n,r,m,o)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=By.bind(null,n),c._reactRetry=r,null):(n=d.treeContext,Jr=bi(c.nextSibling),Xr=r,vn=!0,za=null,n!==null&&(zn[Ua++]=_i,zn[Ua++]=Di,zn[Ua++]=va,_i=n.id,Di=n.overflow,va=r),r=Jd(r,o.children),r.flags|=4096,r)}function Zd(n,r,l){n.lanes|=r;var o=n.alternate;o!==null&&(o.lanes|=r),jd(n.return,r,l)}function Mr(n,r,l,o,c){var d=n.memoizedState;d===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:c}:(d.isBackwards=r,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=l,d.tailMode=c)}function Oi(n,r,l){var o=r.pendingProps,c=o.revealOrder,d=o.tail;if(sr(n,r,o.children,l),o=Cn.current,o&2)o=o&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Zd(n,l,r);else if(n.tag===19)Zd(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}if(Ie(Cn,o),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(l=r.child,c=null;l!==null;)n=l.alternate,n!==null&&Ic(n)===null&&(c=l),l=l.sibling;l=c,l===null?(c=r.child,r.child=null):(c=l.sibling,l.sibling=null),Mr(r,!1,c,l,d);break;case"backwards":for(l=null,c=r.child,r.child=null;c!==null;){if(n=c.alternate,n!==null&&Ic(n)===null){r.child=c;break}n=c.sibling,c.sibling=l,l=c,c=n}Mr(r,!0,l,null,d);break;case"together":Mr(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Fa(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function Ha(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),Mi|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(S(153));if(r.child!==null){for(n=r.child,l=Il(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=Il(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Us(n,r,l){switch(r.tag){case 3:To(r),Ul();break;case 5:Jv(r);break;case 1:Un(r.type)&&Zn(r);break;case 4:Bd(r,r.stateNode.containerInfo);break;case 10:var o=r.type._context,c=r.memoizedProps.value;Ie(ha,o._currentValue),o._currentValue=c;break;case 13:if(o=r.memoizedState,o!==null)return o.dehydrated!==null?(Ie(Cn,Cn.current&1),r.flags|=128,null):l&r.child.childLanes?df(n,r,l):(Ie(Cn,Cn.current&1),n=Ha(n,r,l),n!==null?n.sibling:null);Ie(Cn,Cn.current&1);break;case 19:if(o=(l&r.childLanes)!==0,n.flags&128){if(o)return Oi(n,r,l);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ie(Cn,Cn.current),o)break;return null;case 22:case 23:return r.lanes=0,Ls(n,r,l)}return Ha(n,r,l)}var Va,Hn,oh,sh;Va=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Hn=function(){},oh=function(n,r,l,o){var c=n.memoizedProps;if(c!==o){n=r.stateNode,bu(ki.current);var d=null;switch(l){case"input":c=ar(n,c),o=ar(n,o),d=[];break;case"select":c=ge({},c,{value:void 0}),o=ge({},o,{value:void 0}),d=[];break;case"textarea":c=$n(n,c),o=$n(n,o),d=[];break;default:typeof c.onClick!="function"&&typeof o.onClick=="function"&&(n.onclick=kl)}cn(l,o);var m;l=null;for($ in c)if(!o.hasOwnProperty($)&&c.hasOwnProperty($)&&c[$]!=null)if($==="style"){var b=c[$];for(m in b)b.hasOwnProperty(m)&&(l||(l={}),l[m]="")}else $!=="dangerouslySetInnerHTML"&&$!=="children"&&$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&$!=="autoFocus"&&(B.hasOwnProperty($)?d||(d=[]):(d=d||[]).push($,null));for($ in o){var _=o[$];if(b=c!=null?c[$]:void 0,o.hasOwnProperty($)&&_!==b&&(_!=null||b!=null))if($==="style")if(b){for(m in b)!b.hasOwnProperty(m)||_&&_.hasOwnProperty(m)||(l||(l={}),l[m]="");for(m in _)_.hasOwnProperty(m)&&b[m]!==_[m]&&(l||(l={}),l[m]=_[m])}else l||(d||(d=[]),d.push($,l)),l=_;else $==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,b=b?b.__html:void 0,_!=null&&b!==_&&(d=d||[]).push($,_)):$==="children"?typeof _!="string"&&typeof _!="number"||(d=d||[]).push($,""+_):$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&(B.hasOwnProperty($)?(_!=null&&$==="onScroll"&&$t("scroll",n),d||b===_||(d=[])):(d=d||[]).push($,_))}l&&(d=d||[]).push("style",l);var $=d;(r.updateQueue=$)&&(r.flags|=4)}},sh=function(n,r,l,o){l!==o&&(r.flags|=4)};function zs(n,r){if(!vn)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function tr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,o=0;if(r)for(var c=n.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags&14680064,o|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=n,c=c.sibling;return n.subtreeFlags|=o,n.childLanes=l,r}function ch(n,r,l){var o=r.pendingProps;switch(Fc(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tr(r),null;case 1:return Un(r.type)&&Eo(),tr(r),null;case 3:return o=r.stateNode,wu(),sn(Qn),sn(xn),$e(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Hc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,za!==null&&(Uu(za),za=null))),Hn(n,r),tr(r),null;case 5:Bc(r);var c=bu(Es.current);if(l=r.type,n!==null&&r.stateNode!=null)oh(n,r,l,o,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!o){if(r.stateNode===null)throw Error(S(166));return tr(r),null}if(n=bu(ki.current),Hc(r)){o=r.stateNode,l=r.type;var d=r.memoizedProps;switch(o[wi]=r,o[vs]=d,n=(r.mode&1)!==0,l){case"dialog":$t("cancel",o),$t("close",o);break;case"iframe":case"object":case"embed":$t("load",o);break;case"video":case"audio":for(c=0;c<fs.length;c++)$t(fs[c],o);break;case"source":$t("error",o);break;case"img":case"image":case"link":$t("error",o),$t("load",o);break;case"details":$t("toggle",o);break;case"input":In(o,d),$t("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!d.multiple},$t("invalid",o);break;case"textarea":Cr(o,d),$t("invalid",o)}cn(l,d),c=null;for(var m in d)if(d.hasOwnProperty(m)){var b=d[m];m==="children"?typeof b=="string"?o.textContent!==b&&(d.suppressHydrationWarning!==!0&&Nc(o.textContent,b,n),c=["children",b]):typeof b=="number"&&o.textContent!==""+b&&(d.suppressHydrationWarning!==!0&&Nc(o.textContent,b,n),c=["children",""+b]):B.hasOwnProperty(m)&&b!=null&&m==="onScroll"&&$t("scroll",o)}switch(l){case"input":Ln(o),pi(o,d,!0);break;case"textarea":Ln(o),Mn(o);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(o.onclick=kl)}o=c,r.updateQueue=o,o!==null&&(r.flags|=4)}else{m=c.nodeType===9?c:c.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Er(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=m.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof o.is=="string"?n=m.createElement(l,{is:o.is}):(n=m.createElement(l),l==="select"&&(m=n,o.multiple?m.multiple=!0:o.size&&(m.size=o.size))):n=m.createElementNS(n,l),n[wi]=r,n[vs]=o,Va(n,r,!1,!1),r.stateNode=n;e:{switch(m=Jn(l,o),l){case"dialog":$t("cancel",n),$t("close",n),c=o;break;case"iframe":case"object":case"embed":$t("load",n),c=o;break;case"video":case"audio":for(c=0;c<fs.length;c++)$t(fs[c],n);c=o;break;case"source":$t("error",n),c=o;break;case"img":case"image":case"link":$t("error",n),$t("load",n),c=o;break;case"details":$t("toggle",n),c=o;break;case"input":In(n,o),c=ar(n,o),$t("invalid",n);break;case"option":c=o;break;case"select":n._wrapperState={wasMultiple:!!o.multiple},c=ge({},o,{value:void 0}),$t("invalid",n);break;case"textarea":Cr(n,o),c=$n(n,o),$t("invalid",n);break;default:c=o}cn(l,c),b=c;for(d in b)if(b.hasOwnProperty(d)){var _=b[d];d==="style"?an(n,_):d==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&vi(n,_)):d==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&ye(n,_):typeof _=="number"&&ye(n,""+_):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(B.hasOwnProperty(d)?_!=null&&d==="onScroll"&&$t("scroll",n):_!=null&&he(n,d,_,m))}switch(l){case"input":Ln(n),pi(n,o,!1);break;case"textarea":Ln(n),Mn(n);break;case"option":o.value!=null&&n.setAttribute("value",""+dt(o.value));break;case"select":n.multiple=!!o.multiple,d=o.value,d!=null?wn(n,!!o.multiple,d,!1):o.defaultValue!=null&&wn(n,!!o.multiple,o.defaultValue,!0);break;default:typeof c.onClick=="function"&&(n.onclick=kl)}switch(l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return tr(r),null;case 6:if(n&&r.stateNode!=null)sh(n,r,n.memoizedProps,o);else{if(typeof o!="string"&&r.stateNode===null)throw Error(S(166));if(l=bu(Es.current),bu(ki.current),Hc(r)){if(o=r.stateNode,l=r.memoizedProps,o[wi]=r,(d=o.nodeValue!==l)&&(n=Xr,n!==null))switch(n.tag){case 3:Nc(o.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Nc(o.nodeValue,l,(n.mode&1)!==0)}d&&(r.flags|=4)}else o=(l.nodeType===9?l:l.ownerDocument).createTextNode(o),o[wi]=r,r.stateNode=o}return tr(r),null;case 13:if(sn(Cn),o=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(vn&&Jr!==null&&r.mode&1&&!(r.flags&128))ys(),Ul(),r.flags|=98560,d=!1;else if(d=Hc(r),o!==null&&o.dehydrated!==null){if(n===null){if(!d)throw Error(S(318));if(d=r.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(S(317));d[wi]=r}else Ul(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;tr(r),d=!1}else za!==null&&(Uu(za),za=null),d=!0;if(!d)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(o=o!==null,o!==(n!==null&&n.memoizedState!==null)&&o&&(r.child.flags|=8192,r.mode&1&&(n===null||Cn.current&1?kn===0&&(kn=3):op())),r.updateQueue!==null&&(r.flags|=4),tr(r),null);case 4:return wu(),Hn(n,r),n===null&&mo(r.stateNode.containerInfo),tr(r),null;case 10:return zd(r.type._context),tr(r),null;case 17:return Un(r.type)&&Eo(),tr(r),null;case 19:if(sn(Cn),d=r.memoizedState,d===null)return tr(r),null;if(o=(r.flags&128)!==0,m=d.rendering,m===null)if(o)zs(d,!1);else{if(kn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(m=Ic(n),m!==null){for(r.flags|=128,zs(d,!1),o=m.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),r.subtreeFlags=0,o=l,l=r.child;l!==null;)d=l,n=o,d.flags&=14680066,m=d.alternate,m===null?(d.childLanes=0,d.lanes=n,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=m.childLanes,d.lanes=m.lanes,d.child=m.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=m.memoizedProps,d.memoizedState=m.memoizedState,d.updateQueue=m.updateQueue,d.type=m.type,n=m.dependencies,d.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Ie(Cn,Cn.current&1|2),r.child}n=n.sibling}d.tail!==null&&ut()>Oo&&(r.flags|=128,o=!0,zs(d,!1),r.lanes=4194304)}else{if(!o)if(n=Ic(m),n!==null){if(r.flags|=128,o=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),zs(d,!0),d.tail===null&&d.tailMode==="hidden"&&!m.alternate&&!vn)return tr(r),null}else 2*ut()-d.renderingStartTime>Oo&&l!==1073741824&&(r.flags|=128,o=!0,zs(d,!1),r.lanes=4194304);d.isBackwards?(m.sibling=r.child,r.child=m):(l=d.last,l!==null?l.sibling=m:r.child=m,d.last=m)}return d.tail!==null?(r=d.tail,d.rendering=r,d.tail=r.sibling,d.renderingStartTime=ut(),r.sibling=null,l=Cn.current,Ie(Cn,o?l&1|2:l&1),r):(tr(r),null);case 22:case 23:return up(),o=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==o&&(r.flags|=8192),o&&r.mode&1?ga&1073741824&&(tr(r),r.subtreeFlags&6&&(r.flags|=8192)):tr(r),null;case 24:return null;case 25:return null}throw Error(S(156,r.tag))}function pf(n,r){switch(Fc(r),r.tag){case 1:return Un(r.type)&&Eo(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return wu(),sn(Qn),sn(xn),$e(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Bc(r),null;case 13:if(sn(Cn),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(S(340));Ul()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return sn(Cn),null;case 4:return wu(),null;case 10:return zd(r.type._context),null;case 22:case 23:return up(),null;case 24:return null;default:return null}}var js=!1,Rr=!1,Uy=typeof WeakSet=="function"?WeakSet:Set,ke=null;function _o(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(o){hn(n,r,o)}else l.current=null}function vf(n,r,l){try{l()}catch(o){hn(n,r,o)}}var fh=!1;function dh(n,r){if(ps=Na,n=ss(),bc(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var m=0,b=-1,_=-1,$=0,se=0,fe=n,oe=null;t:for(;;){for(var Te;fe!==l||c!==0&&fe.nodeType!==3||(b=m+c),fe!==d||o!==0&&fe.nodeType!==3||(_=m+o),fe.nodeType===3&&(m+=fe.nodeValue.length),(Te=fe.firstChild)!==null;)oe=fe,fe=Te;for(;;){if(fe===n)break t;if(oe===l&&++$===c&&(b=m),oe===d&&++se===o&&(_=m),(Te=fe.nextSibling)!==null)break;fe=oe,oe=fe.parentNode}fe=Te}l=b===-1||_===-1?null:{start:b,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(yu={focusedElem:n,selectionRange:l},Na=!1,ke=r;ke!==null;)if(r=ke,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,ke=n;else for(;ke!==null;){r=ke;try{var Me=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Me!==null){var He=Me.memoizedProps,On=Me.memoizedState,U=r.stateNode,O=U.getSnapshotBeforeUpdate(r.elementType===r.type?He:ui(r.type,He),On);U.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var V=r.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(ce){hn(r,r.return,ce)}if(n=r.sibling,n!==null){n.return=r.return,ke=n;break}ke=r.return}return Me=fh,fh=!1,Me}function Fs(n,r,l){var o=r.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var c=o=o.next;do{if((c.tag&n)===n){var d=c.destroy;c.destroy=void 0,d!==void 0&&vf(r,l,d)}c=c.next}while(c!==o)}}function Hs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var o=l.create;l.destroy=o()}l=l.next}while(l!==r)}}function ep(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function hf(n){var r=n.alternate;r!==null&&(n.alternate=null,hf(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[wi],delete r[vs],delete r[hs],delete r[Co],delete r[My])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Vs(n){return n.tag===5||n.tag===3||n.tag===4}function tl(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Vs(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Ni(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=kl));else if(o!==4&&(n=n.child,n!==null))for(Ni(n,r,l),n=n.sibling;n!==null;)Ni(n,r,l),n=n.sibling}function Li(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(o!==4&&(n=n.child,n!==null))for(Li(n,r,l),n=n.sibling;n!==null;)Li(n,r,l),n=n.sibling}var Dn=null,Ar=!1;function Ur(n,r,l){for(l=l.child;l!==null;)ph(n,r,l),l=l.sibling}function ph(n,r,l){if(Qr&&typeof Qr.onCommitFiberUnmount=="function")try{Qr.onCommitFiberUnmount(Cl,l)}catch{}switch(l.tag){case 5:Rr||_o(l,r);case 6:var o=Dn,c=Ar;Dn=null,Ur(n,r,l),Dn=o,Ar=c,Dn!==null&&(Ar?(n=Dn,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):Dn.removeChild(l.stateNode));break;case 18:Dn!==null&&(Ar?(n=Dn,l=l.stateNode,n.nodeType===8?So(n.parentNode,l):n.nodeType===1&&So(n,l),ni(n)):So(Dn,l.stateNode));break;case 4:o=Dn,c=Ar,Dn=l.stateNode.containerInfo,Ar=!0,Ur(n,r,l),Dn=o,Ar=c;break;case 0:case 11:case 14:case 15:if(!Rr&&(o=l.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){c=o=o.next;do{var d=c,m=d.destroy;d=d.tag,m!==void 0&&(d&2||d&4)&&vf(l,r,m),c=c.next}while(c!==o)}Ur(n,r,l);break;case 1:if(!Rr&&(_o(l,r),o=l.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=l.memoizedProps,o.state=l.memoizedState,o.componentWillUnmount()}catch(b){hn(l,r,b)}Ur(n,r,l);break;case 21:Ur(n,r,l);break;case 22:l.mode&1?(Rr=(o=Rr)||l.memoizedState!==null,Ur(n,r,l),Rr=o):Ur(n,r,l);break;default:Ur(n,r,l)}}function vh(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new Uy),r.forEach(function(o){var c=bh.bind(null,n,o);l.has(o)||(l.add(o),o.then(c,c))})}}function oi(n,r){var l=r.deletions;if(l!==null)for(var o=0;o<l.length;o++){var c=l[o];try{var d=n,m=r,b=m;e:for(;b!==null;){switch(b.tag){case 5:Dn=b.stateNode,Ar=!1;break e;case 3:Dn=b.stateNode.containerInfo,Ar=!0;break e;case 4:Dn=b.stateNode.containerInfo,Ar=!0;break e}b=b.return}if(Dn===null)throw Error(S(160));ph(d,m,c),Dn=null,Ar=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch($){hn(c,r,$)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)tp(r,n),r=r.sibling}function tp(n,r){var l=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(oi(r,n),na(n),o&4){try{Fs(3,n,n.return),Hs(3,n)}catch(He){hn(n,n.return,He)}try{Fs(5,n,n.return)}catch(He){hn(n,n.return,He)}}break;case 1:oi(r,n),na(n),o&512&&l!==null&&_o(l,l.return);break;case 5:if(oi(r,n),na(n),o&512&&l!==null&&_o(l,l.return),n.flags&32){var c=n.stateNode;try{ye(c,"")}catch(He){hn(n,n.return,He)}}if(o&4&&(c=n.stateNode,c!=null)){var d=n.memoizedProps,m=l!==null?l.memoizedProps:d,b=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{b==="input"&&d.type==="radio"&&d.name!=null&&Yn(c,d),Jn(b,m);var $=Jn(b,d);for(m=0;m<_.length;m+=2){var se=_[m],fe=_[m+1];se==="style"?an(c,fe):se==="dangerouslySetInnerHTML"?vi(c,fe):se==="children"?ye(c,fe):he(c,se,fe,$)}switch(b){case"input":Wr(c,d);break;case"textarea":Ga(c,d);break;case"select":var oe=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!d.multiple;var Te=d.value;Te!=null?wn(c,!!d.multiple,Te,!1):oe!==!!d.multiple&&(d.defaultValue!=null?wn(c,!!d.multiple,d.defaultValue,!0):wn(c,!!d.multiple,d.multiple?[]:"",!1))}c[vs]=d}catch(He){hn(n,n.return,He)}}break;case 6:if(oi(r,n),na(n),o&4){if(n.stateNode===null)throw Error(S(162));c=n.stateNode,d=n.memoizedProps;try{c.nodeValue=d}catch(He){hn(n,n.return,He)}}break;case 3:if(oi(r,n),na(n),o&4&&l!==null&&l.memoizedState.isDehydrated)try{ni(r.containerInfo)}catch(He){hn(n,n.return,He)}break;case 4:oi(r,n),na(n);break;case 13:oi(r,n),na(n),c=n.child,c.flags&8192&&(d=c.memoizedState!==null,c.stateNode.isHidden=d,!d||c.alternate!==null&&c.alternate.memoizedState!==null||(ap=ut())),o&4&&vh(n);break;case 22:if(se=l!==null&&l.memoizedState!==null,n.mode&1?(Rr=($=Rr)||se,oi(r,n),Rr=$):oi(r,n),na(n),o&8192){if($=n.memoizedState!==null,(n.stateNode.isHidden=$)&&!se&&n.mode&1)for(ke=n,se=n.child;se!==null;){for(fe=ke=se;ke!==null;){switch(oe=ke,Te=oe.child,oe.tag){case 0:case 11:case 14:case 15:Fs(4,oe,oe.return);break;case 1:_o(oe,oe.return);var Me=oe.stateNode;if(typeof Me.componentWillUnmount=="function"){o=oe,l=oe.return;try{r=o,Me.props=r.memoizedProps,Me.state=r.memoizedState,Me.componentWillUnmount()}catch(He){hn(o,l,He)}}break;case 5:_o(oe,oe.return);break;case 22:if(oe.memoizedState!==null){Ps(fe);continue}}Te!==null?(Te.return=oe,ke=Te):Ps(fe)}se=se.sibling}e:for(se=null,fe=n;;){if(fe.tag===5){if(se===null){se=fe;try{c=fe.stateNode,$?(d=c.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(b=fe.stateNode,_=fe.memoizedProps.style,m=_!=null&&_.hasOwnProperty("display")?_.display:null,b.style.display=It("display",m))}catch(He){hn(n,n.return,He)}}}else if(fe.tag===6){if(se===null)try{fe.stateNode.nodeValue=$?"":fe.memoizedProps}catch(He){hn(n,n.return,He)}}else if((fe.tag!==22&&fe.tag!==23||fe.memoizedState===null||fe===n)&&fe.child!==null){fe.child.return=fe,fe=fe.child;continue}if(fe===n)break e;for(;fe.sibling===null;){if(fe.return===null||fe.return===n)break e;se===fe&&(se=null),fe=fe.return}se===fe&&(se=null),fe.sibling.return=fe.return,fe=fe.sibling}}break;case 19:oi(r,n),na(n),o&4&&vh(n);break;case 21:break;default:oi(r,n),na(n)}}function na(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(Vs(l)){var o=l;break e}l=l.return}throw Error(S(160))}switch(o.tag){case 5:var c=o.stateNode;o.flags&32&&(ye(c,""),o.flags&=-33);var d=tl(n);Li(n,d,c);break;case 3:case 4:var m=o.stateNode.containerInfo,b=tl(n);Ni(n,b,m);break;default:throw Error(S(161))}}catch(_){hn(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function zy(n,r,l){ke=n,np(n)}function np(n,r,l){for(var o=(n.mode&1)!==0;ke!==null;){var c=ke,d=c.child;if(c.tag===22&&o){var m=c.memoizedState!==null||js;if(!m){var b=c.alternate,_=b!==null&&b.memoizedState!==null||Rr;b=js;var $=Rr;if(js=m,(Rr=_)&&!$)for(ke=c;ke!==null;)m=ke,_=m.child,m.tag===22&&m.memoizedState!==null?rp(c):_!==null?(_.return=m,ke=_):rp(c);for(;d!==null;)ke=d,np(d),d=d.sibling;ke=c,js=b,Rr=$}hh(n)}else c.subtreeFlags&8772&&d!==null?(d.return=c,ke=d):hh(n)}}function hh(n){for(;ke!==null;){var r=ke;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Rr||Hs(5,r);break;case 1:var o=r.stateNode;if(r.flags&4&&!Rr)if(l===null)o.componentDidMount();else{var c=r.elementType===r.type?l.memoizedProps:ui(r.type,l.memoizedProps);o.componentDidUpdate(c,l.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var d=r.updateQueue;d!==null&&Pd(r,d,o);break;case 3:var m=r.updateQueue;if(m!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Pd(r,m,l)}break;case 5:var b=r.stateNode;if(l===null&&r.flags&4){l=b;var _=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&l.focus();break;case"img":_.src&&(l.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var $=r.alternate;if($!==null){var se=$.memoizedState;if(se!==null){var fe=se.dehydrated;fe!==null&&ni(fe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(S(163))}Rr||r.flags&512&&ep(r)}catch(oe){hn(r,r.return,oe)}}if(r===n){ke=null;break}if(l=r.sibling,l!==null){l.return=r.return,ke=l;break}ke=r.return}}function Ps(n){for(;ke!==null;){var r=ke;if(r===n){ke=null;break}var l=r.sibling;if(l!==null){l.return=r.return,ke=l;break}ke=r.return}}function rp(n){for(;ke!==null;){var r=ke;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{Hs(4,r)}catch(_){hn(r,l,_)}break;case 1:var o=r.stateNode;if(typeof o.componentDidMount=="function"){var c=r.return;try{o.componentDidMount()}catch(_){hn(r,c,_)}}var d=r.return;try{ep(r)}catch(_){hn(r,d,_)}break;case 5:var m=r.return;try{ep(r)}catch(_){hn(r,m,_)}}}catch(_){hn(r,r.return,_)}if(r===n){ke=null;break}var b=r.sibling;if(b!==null){b.return=r.return,ke=b;break}ke=r.return}}var jy=Math.ceil,Vl=ze.ReactCurrentDispatcher,Mu=ze.ReactCurrentOwner,cr=ze.ReactCurrentBatchConfig,kt=0,qn=null,Vn=null,fr=0,ga=0,Do=Aa(0),kn=0,Bs=null,Mi=0,ko=0,mf=0,Is=null,ra=null,ap=0,Oo=1/0,Sa=null,No=!1,Au=null,Pl=null,yf=!1,nl=null,Ys=0,Bl=0,Lo=null,$s=-1,Tr=0;function Pn(){return kt&6?ut():$s!==-1?$s:$s=ut()}function Ai(n){return n.mode&1?kt&2&&fr!==0?fr&-fr:Ay.transition!==null?(Tr===0&&(Tr=ro()),Tr):(n=zt,n!==0||(n=window.event,n=n===void 0?16:co(n.type)),n):1}function zr(n,r,l,o){if(50<Bl)throw Bl=0,Lo=null,Error(S(185));Ii(n,l,o),(!(kt&2)||n!==qn)&&(n===qn&&(!(kt&2)&&(ko|=l),kn===4&&si(n,fr)),aa(n,o),l===1&&kt===0&&!(r.mode&1)&&(Oo=ut()+500,xo&&Ti()))}function aa(n,r){var l=n.callbackNode;ou(n,r);var o=ti(n,n===qn?fr:0);if(o===0)l!==null&&lr(l),n.callbackNode=null,n.callbackPriority=0;else if(r=o&-o,n.callbackPriority!==r){if(l!=null&&lr(l),r===1)n.tag===0?Nl(ip.bind(null,n)):zc(ip.bind(null,n)),go(function(){!(kt&6)&&Ti()}),l=null;else{switch(io(o)){case 1:l=Za;break;case 4:l=lu;break;case 16:l=uu;break;case 536870912:l=eo;break;default:l=uu}l=Rh(l,gf.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function gf(n,r){if($s=-1,Tr=0,kt&6)throw Error(S(327));var l=n.callbackNode;if(Mo()&&n.callbackNode!==l)return null;var o=ti(n,n===qn?fr:0);if(o===0)return null;if(o&30||o&n.expiredLanes||r)r=Sf(n,o);else{r=o;var c=kt;kt|=2;var d=yh();(qn!==n||fr!==r)&&(Sa=null,Oo=ut()+500,rl(n,r));do try{gh();break}catch(b){mh(n,b)}while(!0);Ud(),Vl.current=d,kt=c,Vn!==null?r=0:(qn=null,fr=0,r=kn)}if(r!==0){if(r===2&&(c=xl(n),c!==0&&(o=c,r=Ws(n,c))),r===1)throw l=Bs,rl(n,0),si(n,o),aa(n,ut()),l;if(r===6)si(n,o);else{if(c=n.current.alternate,!(o&30)&&!Fy(c)&&(r=Sf(n,o),r===2&&(d=xl(n),d!==0&&(o=d,r=Ws(n,d))),r===1))throw l=Bs,rl(n,0),si(n,o),aa(n,ut()),l;switch(n.finishedWork=c,n.finishedLanes=o,r){case 0:case 1:throw Error(S(345));case 2:ju(n,ra,Sa);break;case 3:if(si(n,o),(o&130023424)===o&&(r=ap+500-ut(),10<r)){if(ti(n,0)!==0)break;if(c=n.suspendedLanes,(c&o)!==o){Pn(),n.pingedLanes|=n.suspendedLanes&c;break}n.timeoutHandle=Mc(ju.bind(null,n,ra,Sa),r);break}ju(n,ra,Sa);break;case 4:if(si(n,o),(o&4194240)===o)break;for(r=n.eventTimes,c=-1;0<o;){var m=31-Or(o);d=1<<m,m=r[m],m>c&&(c=m),o&=~d}if(o=c,o=ut()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*jy(o/1960))-o,10<o){n.timeoutHandle=Mc(ju.bind(null,n,ra,Sa),o);break}ju(n,ra,Sa);break;case 5:ju(n,ra,Sa);break;default:throw Error(S(329))}}}return aa(n,ut()),n.callbackNode===l?gf.bind(null,n):null}function Ws(n,r){var l=Is;return n.current.memoizedState.isDehydrated&&(rl(n,r).flags|=256),n=Sf(n,r),n!==2&&(r=ra,ra=l,r!==null&&Uu(r)),n}function Uu(n){ra===null?ra=n:ra.push.apply(ra,n)}function Fy(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var o=0;o<l.length;o++){var c=l[o],d=c.getSnapshot;c=c.value;try{if(!ai(d(),c))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function si(n,r){for(r&=~mf,r&=~ko,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-Or(r),o=1<<l;n[l]=-1,r&=~o}}function ip(n){if(kt&6)throw Error(S(327));Mo();var r=ti(n,0);if(!(r&1))return aa(n,ut()),null;var l=Sf(n,r);if(n.tag!==0&&l===2){var o=xl(n);o!==0&&(r=o,l=Ws(n,o))}if(l===1)throw l=Bs,rl(n,0),si(n,r),aa(n,ut()),l;if(l===6)throw Error(S(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,ju(n,ra,Sa),aa(n,ut()),null}function lp(n,r){var l=kt;kt|=1;try{return n(r)}finally{kt=l,kt===0&&(Oo=ut()+500,xo&&Ti())}}function zu(n){nl!==null&&nl.tag===0&&!(kt&6)&&Mo();var r=kt;kt|=1;var l=cr.transition,o=zt;try{if(cr.transition=null,zt=1,n)return n()}finally{zt=o,cr.transition=l,kt=r,!(kt&6)&&Ti()}}function up(){ga=Do.current,sn(Do)}function rl(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Od(l)),Vn!==null)for(l=Vn.return;l!==null;){var o=l;switch(Fc(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Eo();break;case 3:wu(),sn(Qn),sn(xn),$e();break;case 5:Bc(o);break;case 4:wu();break;case 13:sn(Cn);break;case 19:sn(Cn);break;case 10:zd(o.type._context);break;case 22:case 23:up()}l=l.return}if(qn=n,Vn=n=Il(n.current,null),fr=ga=r,kn=0,Bs=null,mf=ko=Mi=0,ra=Is=null,xu!==null){for(r=0;r<xu.length;r++)if(l=xu[r],o=l.interleaved,o!==null){l.interleaved=null;var c=o.next,d=l.pending;if(d!==null){var m=d.next;d.next=c,o.next=m}l.pending=o}xu=null}return n}function mh(n,r){do{var l=Vn;try{if(Ud(),gt.current=Ou,Yc){for(var o=Ft.memoizedState;o!==null;){var c=o.queue;c!==null&&(c.pending=null),o=o.next}Yc=!1}if(Zt=0,er=jn=Ft=null,bs=!1,Ru=0,Mu.current=null,l===null||l.return===null){kn=1,Bs=r,Vn=null;break}e:{var d=n,m=l.return,b=l,_=r;if(r=fr,b.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var $=_,se=b,fe=se.tag;if(!(se.mode&1)&&(fe===0||fe===11||fe===15)){var oe=se.alternate;oe?(se.updateQueue=oe.updateQueue,se.memoizedState=oe.memoizedState,se.lanes=oe.lanes):(se.updateQueue=null,se.memoizedState=null)}var Te=rh(m);if(Te!==null){Te.flags&=-257,Hl(Te,m,b,d,r),Te.mode&1&&qd(d,$,r),r=Te,_=$;var Me=r.updateQueue;if(Me===null){var He=new Set;He.add(_),r.updateQueue=He}else Me.add(_);break e}else{if(!(r&1)){qd(d,$,r),op();break e}_=Error(S(426))}}else if(vn&&b.mode&1){var On=rh(m);if(On!==null){!(On.flags&65536)&&(On.flags|=256),Hl(On,m,b,d,r),Ji(Nu(_,b));break e}}d=_=Nu(_,b),kn!==4&&(kn=2),Is===null?Is=[d]:Is.push(d),d=m;do{switch(d.tag){case 3:d.flags|=65536,r&=-r,d.lanes|=r;var U=nh(d,_,r);Xv(d,U);break e;case 1:b=_;var O=d.type,V=d.stateNode;if(!(d.flags&128)&&(typeof O.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(Pl===null||!Pl.has(V)))){d.flags|=65536,r&=-r,d.lanes|=r;var ce=Gd(d,b,r);Xv(d,ce);break e}}d=d.return}while(d!==null)}Ch(l)}catch(Ae){r=Ae,Vn===l&&l!==null&&(Vn=l=l.return);continue}break}while(!0)}function yh(){var n=Vl.current;return Vl.current=Ou,n===null?Ou:n}function op(){(kn===0||kn===3||kn===2)&&(kn=4),qn===null||!(Mi&268435455)&&!(ko&268435455)||si(qn,fr)}function Sf(n,r){var l=kt;kt|=2;var o=yh();(qn!==n||fr!==r)&&(Sa=null,rl(n,r));do try{Hy();break}catch(c){mh(n,c)}while(!0);if(Ud(),kt=l,Vl.current=o,Vn!==null)throw Error(S(261));return qn=null,fr=0,kn}function Hy(){for(;Vn!==null;)Sh(Vn)}function gh(){for(;Vn!==null&&!Xa();)Sh(Vn)}function Sh(n){var r=wh(n.alternate,n,ga);n.memoizedProps=n.pendingProps,r===null?Ch(n):Vn=r,Mu.current=null}function Ch(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=pf(l,r),l!==null){l.flags&=32767,Vn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{kn=6,Vn=null;return}}else if(l=ch(l,r,ga),l!==null){Vn=l;return}if(r=r.sibling,r!==null){Vn=r;return}Vn=r=n}while(r!==null);kn===0&&(kn=5)}function ju(n,r,l){var o=zt,c=cr.transition;try{cr.transition=null,zt=1,Vy(n,r,l,o)}finally{cr.transition=c,zt=o}return null}function Vy(n,r,l,o){do Mo();while(nl!==null);if(kt&6)throw Error(S(327));l=n.finishedWork;var c=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(S(177));n.callbackNode=null,n.callbackPriority=0;var d=l.lanes|l.childLanes;if(sd(n,d),n===qn&&(Vn=qn=null,fr=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||yf||(yf=!0,Rh(uu,function(){return Mo(),null})),d=(l.flags&15990)!==0,l.subtreeFlags&15990||d){d=cr.transition,cr.transition=null;var m=zt;zt=1;var b=kt;kt|=4,Mu.current=null,dh(n,l),tp(l,n),vo(yu),Na=!!ps,yu=ps=null,n.current=l,zy(l),Ja(),kt=b,zt=m,cr.transition=d}else n.current=l;if(yf&&(yf=!1,nl=n,Ys=c),d=n.pendingLanes,d===0&&(Pl=null),Zo(l.stateNode),aa(n,ut()),r!==null)for(o=n.onRecoverableError,l=0;l<r.length;l++)c=r[l],o(c.value,{componentStack:c.stack,digest:c.digest});if(No)throw No=!1,n=Au,Au=null,n;return Ys&1&&n.tag!==0&&Mo(),d=n.pendingLanes,d&1?n===Lo?Bl++:(Bl=0,Lo=n):Bl=0,Ti(),null}function Mo(){if(nl!==null){var n=io(Ys),r=cr.transition,l=zt;try{if(cr.transition=null,zt=16>n?16:n,nl===null)var o=!1;else{if(n=nl,nl=null,Ys=0,kt&6)throw Error(S(331));var c=kt;for(kt|=4,ke=n.current;ke!==null;){var d=ke,m=d.child;if(ke.flags&16){var b=d.deletions;if(b!==null){for(var _=0;_<b.length;_++){var $=b[_];for(ke=$;ke!==null;){var se=ke;switch(se.tag){case 0:case 11:case 15:Fs(8,se,d)}var fe=se.child;if(fe!==null)fe.return=se,ke=fe;else for(;ke!==null;){se=ke;var oe=se.sibling,Te=se.return;if(hf(se),se===$){ke=null;break}if(oe!==null){oe.return=Te,ke=oe;break}ke=Te}}}var Me=d.alternate;if(Me!==null){var He=Me.child;if(He!==null){Me.child=null;do{var On=He.sibling;He.sibling=null,He=On}while(He!==null)}}ke=d}}if(d.subtreeFlags&2064&&m!==null)m.return=d,ke=m;else e:for(;ke!==null;){if(d=ke,d.flags&2048)switch(d.tag){case 0:case 11:case 15:Fs(9,d,d.return)}var U=d.sibling;if(U!==null){U.return=d.return,ke=U;break e}ke=d.return}}var O=n.current;for(ke=O;ke!==null;){m=ke;var V=m.child;if(m.subtreeFlags&2064&&V!==null)V.return=m,ke=V;else e:for(m=O;ke!==null;){if(b=ke,b.flags&2048)try{switch(b.tag){case 0:case 11:case 15:Hs(9,b)}}catch(Ae){hn(b,b.return,Ae)}if(b===m){ke=null;break e}var ce=b.sibling;if(ce!==null){ce.return=b.return,ke=ce;break e}ke=b.return}}if(kt=c,Ti(),Qr&&typeof Qr.onPostCommitFiberRoot=="function")try{Qr.onPostCommitFiberRoot(Cl,n)}catch{}o=!0}return o}finally{zt=l,cr.transition=r}}return!1}function Eh(n,r,l){r=Nu(l,r),r=nh(n,r,1),n=zl(n,r,1),r=Pn(),n!==null&&(Ii(n,1,r),aa(n,r))}function hn(n,r,l){if(n.tag===3)Eh(n,n,l);else for(;r!==null;){if(r.tag===3){Eh(r,n,l);break}else if(r.tag===1){var o=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Pl===null||!Pl.has(o))){n=Nu(l,n),n=Gd(r,n,1),r=zl(r,n,1),n=Pn(),r!==null&&(Ii(r,1,n),aa(r,n));break}}r=r.return}}function Py(n,r,l){var o=n.pingCache;o!==null&&o.delete(r),r=Pn(),n.pingedLanes|=n.suspendedLanes&l,qn===n&&(fr&l)===l&&(kn===4||kn===3&&(fr&130023424)===fr&&500>ut()-ap?rl(n,0):mf|=l),aa(n,r)}function xh(n,r){r===0&&(n.mode&1?(r=pa,pa<<=1,!(pa&130023424)&&(pa=4194304)):r=1);var l=Pn();n=ma(n,r),n!==null&&(Ii(n,r,l),aa(n,l))}function By(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),xh(n,l)}function bh(n,r){var l=0;switch(n.tag){case 13:var o=n.stateNode,c=n.memoizedState;c!==null&&(l=c.retryLane);break;case 19:o=n.stateNode;break;default:throw Error(S(314))}o!==null&&o.delete(r),xh(n,l)}var wh;wh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||Qn.current)Fn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Fn=!1,Us(n,r,l);Fn=!!(n.flags&131072)}else Fn=!1,vn&&r.flags&1048576&&Qv(r,Xi,r.index);switch(r.lanes=0,r.tag){case 2:var o=r.type;Fa(n,r),n=r.pendingProps;var c=Kr(r,xn.current);Sn(r,l),c=jl(null,r,o,n,c,l);var d=li();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Un(o)?(d=!0,Zn(r)):d=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Vd(r),c.updater=of,r.stateNode=c,c._reactInternals=r,Os(r,o,n,l),r=Ms(null,r,o,!0,d,l)):(r.tag=0,vn&&d&&jc(r),sr(null,r,c,l),r=r.child),r;case 16:o=r.elementType;e:{switch(Fa(n,r),n=r.pendingProps,c=o._init,o=c(o._payload),r.type=o,c=r.tag=Yy(o),n=ui(o,n),c){case 0:r=ah(null,r,o,n,l);break e;case 1:r=ih(null,r,o,n,l);break e;case 11:r=ta(null,r,o,n,l);break e;case 14:r=Lu(null,r,o,ui(o.type,n),l);break e}throw Error(S(306,o,""))}return r;case 0:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:ui(o,c),ah(n,r,o,c,l);case 1:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:ui(o,c),ih(n,r,o,c,l);case 3:e:{if(To(r),n===null)throw Error(S(387));o=r.pendingProps,d=r.memoizedState,c=d.element,Kv(n,r),gs(r,o,null,l);var m=r.memoizedState;if(o=m.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},r.updateQueue.baseState=d,r.memoizedState=d,r.flags&256){c=Nu(Error(S(423)),r),r=lh(n,r,o,l,c);break e}else if(o!==c){c=Nu(Error(S(424)),r),r=lh(n,r,o,l,c);break e}else for(Jr=bi(r.stateNode.containerInfo.firstChild),Xr=r,vn=!0,za=null,l=xe(r,null,o,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Ul(),o===c){r=Ha(n,r,l);break e}sr(n,r,o,l)}r=r.child}return r;case 5:return Jv(r),n===null&&Md(r),o=r.type,c=r.pendingProps,d=n!==null?n.memoizedProps:null,m=c.children,Lc(o,c)?m=null:d!==null&&Lc(o,d)&&(r.flags|=32),Kd(n,r),sr(n,r,m,l),r.child;case 6:return n===null&&Md(r),null;case 13:return df(n,r,l);case 4:return Bd(r,r.stateNode.containerInfo),o=r.pendingProps,n===null?r.child=Tn(r,null,o,l):sr(n,r,o,l),r.child;case 11:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:ui(o,c),ta(n,r,o,c,l);case 7:return sr(n,r,r.pendingProps,l),r.child;case 8:return sr(n,r,r.pendingProps.children,l),r.child;case 12:return sr(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(o=r.type._context,c=r.pendingProps,d=r.memoizedProps,m=c.value,Ie(ha,o._currentValue),o._currentValue=m,d!==null)if(ai(d.value,m)){if(d.children===c.children&&!Qn.current){r=Ha(n,r,l);break e}}else for(d=r.child,d!==null&&(d.return=r);d!==null;){var b=d.dependencies;if(b!==null){m=d.child;for(var _=b.firstContext;_!==null;){if(_.context===o){if(d.tag===1){_=Zi(-1,l&-l),_.tag=2;var $=d.updateQueue;if($!==null){$=$.shared;var se=$.pending;se===null?_.next=_:(_.next=se.next,se.next=_),$.pending=_}}d.lanes|=l,_=d.alternate,_!==null&&(_.lanes|=l),jd(d.return,l,r),b.lanes|=l;break}_=_.next}}else if(d.tag===10)m=d.type===r.type?null:d.child;else if(d.tag===18){if(m=d.return,m===null)throw Error(S(341));m.lanes|=l,b=m.alternate,b!==null&&(b.lanes|=l),jd(m,l,r),m=d.sibling}else m=d.child;if(m!==null)m.return=d;else for(m=d;m!==null;){if(m===r){m=null;break}if(d=m.sibling,d!==null){d.return=m.return,m=d;break}m=m.return}d=m}sr(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,o=r.pendingProps.children,Sn(r,l),c=ja(c),o=o(c),r.flags|=1,sr(n,r,o,l),r.child;case 14:return o=r.type,c=ui(o,r.pendingProps),c=ui(o.type,c),Lu(n,r,o,c,l);case 15:return ot(n,r,r.type,r.pendingProps,l);case 17:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:ui(o,c),Fa(n,r),r.tag=1,Un(o)?(n=!0,Zn(r)):n=!1,Sn(r,l),sf(r,o,c),Os(r,o,c,l),Ms(null,r,o,!0,n,l);case 19:return Oi(n,r,l);case 22:return Ls(n,r,l)}throw Error(S(156,r.tag))};function Rh(n,r){return fn(n,r)}function Iy(n,r,l,o){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pa(n,r,l,o){return new Iy(n,r,l,o)}function sp(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Yy(n){if(typeof n=="function")return sp(n)?1:0;if(n!=null){if(n=n.$$typeof,n===_t)return 11;if(n===bt)return 14}return 2}function Il(n,r){var l=n.alternate;return l===null?(l=Pa(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Qs(n,r,l,o,c,d){var m=2;if(o=n,typeof n=="function")sp(n)&&(m=1);else if(typeof n=="string")m=5;else e:switch(n){case me:return al(l.children,c,d,r);case Et:m=8,c|=8;break;case Lt:return n=Pa(12,l,r,c|2),n.elementType=Lt,n.lanes=d,n;case je:return n=Pa(13,l,r,c),n.elementType=je,n.lanes=d,n;case xt:return n=Pa(19,l,r,c),n.elementType=xt,n.lanes=d,n;case Le:return Yl(l,c,d,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Bt:m=10;break e;case nn:m=9;break e;case _t:m=11;break e;case bt:m=14;break e;case Tt:m=16,o=null;break e}throw Error(S(130,n==null?n:typeof n,""))}return r=Pa(m,l,r,c),r.elementType=n,r.type=o,r.lanes=d,r}function al(n,r,l,o){return n=Pa(7,n,o,r),n.lanes=l,n}function Yl(n,r,l,o){return n=Pa(22,n,o,r),n.elementType=Le,n.lanes=l,n.stateNode={isHidden:!1},n}function cp(n,r,l){return n=Pa(6,n,null,r),n.lanes=l,n}function Cf(n,r,l){return r=Pa(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Th(n,r,l,o,c){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ao(0),this.expirationTimes=ao(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ao(0),this.identifierPrefix=o,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Ef(n,r,l,o,c,d,m,b,_){return n=new Th(n,r,l,b,_),r===1?(r=1,d===!0&&(r|=8)):r=0,d=Pa(3,null,null,r),n.current=d,d.stateNode=n,d.memoizedState={element:o,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vd(d),n}function $y(n,r,l){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ne,key:o==null?null:""+o,children:n,containerInfo:r,implementation:l}}function fp(n){if(!n)return br;n=n._reactInternals;e:{if(lt(n)!==n||n.tag!==1)throw Error(S(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Un(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(S(171))}if(n.tag===1){var l=n.type;if(Un(l))return ms(n,l,r)}return r}function _h(n,r,l,o,c,d,m,b,_){return n=Ef(l,o,!0,n,c,d,m,b,_),n.context=fp(null),l=n.current,o=Pn(),c=Ai(l),d=Zi(o,c),d.callback=r??null,zl(l,d,c),n.current.lanes=c,Ii(n,c,o),aa(n,o),n}function xf(n,r,l,o){var c=r.current,d=Pn(),m=Ai(c);return l=fp(l),r.context===null?r.context=l:r.pendingContext=l,r=Zi(d,m),r.payload={element:n},o=o===void 0?null:o,o!==null&&(r.callback=o),n=zl(c,r,m),n!==null&&(zr(n,c,m,d),Pc(n,c,m)),m}function bf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function dp(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function wf(n,r){dp(n,r),(n=n.alternate)&&dp(n,r)}function Dh(){return null}var Fu=typeof reportError=="function"?reportError:function(n){console.error(n)};function pp(n){this._internalRoot=n}Rf.prototype.render=pp.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(S(409));xf(n,r,null,null)},Rf.prototype.unmount=pp.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;zu(function(){xf(null,n,null,null)}),r[qi]=null}};function Rf(n){this._internalRoot=n}Rf.prototype.unstable_scheduleHydration=function(n){if(n){var r=nt();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Wn.length&&r!==0&&r<Wn[l].priority;l++);Wn.splice(l,0,n),l===0&&ns(n)}};function vp(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Tf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function kh(){}function Wy(n,r,l,o,c){if(c){if(typeof o=="function"){var d=o;o=function(){var $=bf(m);d.call($)}}var m=_h(r,o,n,0,null,!1,!1,"",kh);return n._reactRootContainer=m,n[qi]=m.current,mo(n.nodeType===8?n.parentNode:n),zu(),m}for(;c=n.lastChild;)n.removeChild(c);if(typeof o=="function"){var b=o;o=function(){var $=bf(_);b.call($)}}var _=Ef(n,0,!1,null,null,!1,!1,"",kh);return n._reactRootContainer=_,n[qi]=_.current,mo(n.nodeType===8?n.parentNode:n),zu(function(){xf(r,_,l,o)}),_}function Gs(n,r,l,o,c){var d=l._reactRootContainer;if(d){var m=d;if(typeof c=="function"){var b=c;c=function(){var _=bf(m);b.call(_)}}xf(r,m,n,c)}else m=Wy(l,r,n,c,o);return bf(m)}Mt=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=ei(r.pendingLanes);l!==0&&(Yi(r,l|1),aa(r,ut()),!(kt&6)&&(Oo=ut()+500,Ti()))}break;case 13:zu(function(){var o=ma(n,1);if(o!==null){var c=Pn();zr(o,n,1,c)}}),wf(n,1)}},es=function(n){if(n.tag===13){var r=ma(n,134217728);if(r!==null){var l=Pn();zr(r,n,134217728,l)}wf(n,134217728)}},gi=function(n){if(n.tag===13){var r=Ai(n),l=ma(n,r);if(l!==null){var o=Pn();zr(l,n,r,o)}wf(n,r)}},nt=function(){return zt},lo=function(n,r){var l=zt;try{return zt=n,r()}finally{zt=l}},qt=function(n,r,l){switch(r){case"input":if(Wr(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var o=l[r];if(o!==n&&o.form===n.form){var c=gn(o);if(!c)throw Error(S(90));_r(o),Wr(o,c)}}}break;case"textarea":Ga(n,l);break;case"select":r=l.value,r!=null&&wn(n,!!l.multiple,r,!1)}},au=lp,yl=zu;var Qy={usingClientEntryPoint:!1,Events:[Ye,ii,gn,Bi,ru,lp]},qs={findFiberByHostInstance:gu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oh={bundleType:qs.bundleType,version:qs.version,rendererPackageName:qs.rendererPackageName,rendererConfig:qs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ze.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Rn(n),n===null?null:n.stateNode},findFiberByHostInstance:qs.findFiberByHostInstance||Dh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var $l=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$l.isDisabled&&$l.supportsFiber)try{Cl=$l.inject(Oh),Qr=$l}catch{}}return Ta.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qy,Ta.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vp(r))throw Error(S(200));return $y(n,r,null,l)},Ta.createRoot=function(n,r){if(!vp(n))throw Error(S(299));var l=!1,o="",c=Fu;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Ef(n,1,!1,null,null,l,!1,o,c),n[qi]=r.current,mo(n.nodeType===8?n.parentNode:n),new pp(r)},Ta.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(S(188)):(n=Object.keys(n).join(","),Error(S(268,n)));return n=Rn(r),n=n===null?null:n.stateNode,n},Ta.flushSync=function(n){return zu(n)},Ta.hydrate=function(n,r,l){if(!Tf(r))throw Error(S(200));return Gs(null,n,r,!0,l)},Ta.hydrateRoot=function(n,r,l){if(!vp(n))throw Error(S(405));var o=l!=null&&l.hydratedSources||null,c=!1,d="",m=Fu;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onRecoverableError!==void 0&&(m=l.onRecoverableError)),r=_h(r,null,n,1,l??null,c,!1,d,m),n[qi]=r.current,mo(n),o)for(n=0;n<o.length;n++)l=o[n],c=l._getVersion,c=c(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,c]:r.mutableSourceEagerHydrationData.push(l,c);return new Rf(r)},Ta.render=function(n,r,l){if(!Tf(r))throw Error(S(200));return Gs(null,n,r,!1,l)},Ta.unmountComponentAtNode=function(n){if(!Tf(n))throw Error(S(40));return n._reactRootContainer?(zu(function(){Gs(null,null,n,!1,function(){n._reactRootContainer=null,n[qi]=null})}),!0):!1},Ta.unstable_batchedUpdates=lp,Ta.unstable_renderSubtreeIntoContainer=function(n,r,l,o){if(!Tf(l))throw Error(S(200));if(n==null||n._reactInternals===void 0)throw Error(S(38));return Gs(n,r,l,!1,o)},Ta.version="18.3.1-next-f1338f8080-20240426",Ta}var _a={};/**
132
+ * @license React
133
+ * react-dom.development.js
134
+ *
135
+ * Copyright (c) Facebook, Inc. and its affiliates.
136
+ *
137
+ * This source code is licensed under the MIT license found in the
138
+ * LICENSE file in the root directory of this source tree.
139
+ */var bC;function $w(){return bC||(bC=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var E=Ve,x=EC(),S=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,D=!1;function B(e){D=e}function L(e){if(!D){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];G("warn",e,a)}}function y(e){if(!D){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];G("error",e,a)}}function G(e,t,a){{var i=S.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",a=a.concat([u]));var s=a.map(function(f){return String(f)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var z=0,M=1,H=2,A=3,q=4,W=5,ne=6,ee=7,ie=8,re=9,te=10,he=11,ze=12,Re=13,Ne=14,me=15,Et=16,Lt=17,Bt=18,nn=19,_t=21,je=22,xt=23,bt=24,Tt=25,Le=!0,ve=!1,Fe=!1,ge=!1,R=!1,Z=!0,We=!0,Je=!0,ht=!0,ft=new Set,st={},dt={};function mt(e,t){Qt(e,t),Qt(e+"Capture",t)}function Qt(e,t){st[e]&&y("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),st[e]=t;{var a=e.toLowerCase();dt[a]=e,e==="onDoubleClick"&&(dt.ondblclick=e)}for(var i=0;i<t.length;i++)ft.add(t[i])}var Ln=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_r=Object.prototype.hasOwnProperty;function bn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function ar(e){try{return In(e),!1}catch{return!0}}function In(e){return""+e}function Yn(e,t){if(ar(e))return y("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,bn(e)),In(e)}function Wr(e){if(ar(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",bn(e)),In(e)}function pi(e,t){if(ar(e))return y("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,bn(e)),In(e)}function ca(e,t){if(ar(e))return y("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,bn(e)),In(e)}function Xn(e){if(ar(e))return y("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",bn(e)),In(e)}function wn(e){if(ar(e))return y("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",bn(e)),In(e)}var $n=0,Cr=1,Ga=2,Mn=3,Er=4,fa=5,qa=6,vi=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ye=vi+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Pe=new RegExp("^["+vi+"]["+ye+"]*$"),pt={},It={};function an(e){return _r.call(It,e)?!0:_r.call(pt,e)?!1:Pe.test(e)?(It[e]=!0,!0):(pt[e]=!0,y("Invalid attribute name: `%s`",e),!1)}function mn(e,t,a){return t!==null?t.type===$n:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function cn(e,t,a,i){if(a!==null&&a.type===$n)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(a!==null)return!a.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function Jn(e,t,a,i){if(t===null||typeof t>"u"||cn(e,t,a,i))return!0;if(i)return!1;if(a!==null)switch(a.type){case Mn:return!t;case Er:return t===!1;case fa:return isNaN(t);case qa:return isNaN(t)||t<1}return!1}function ln(e){return qt.hasOwnProperty(e)?qt[e]:null}function Gt(e,t,a,i,u,s,f){this.acceptsBooleans=t===Ga||t===Mn||t===Er,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=f}var qt={},da=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];da.forEach(function(e){qt[e]=new Gt(e,$n,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];qt[t]=new Gt(t,Cr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){qt[e]=new Gt(e,Ga,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qt[e]=new Gt(e,Ga,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){qt[e]=new Gt(e,Mn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){qt[e]=new Gt(e,Mn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){qt[e]=new Gt(e,Er,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){qt[e]=new Gt(e,qa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){qt[e]=new Gt(e,fa,!1,e.toLowerCase(),null,!1,!1)});var xr=/[\-\:]([a-z])/g,Da=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(xr,Da);qt[t]=new Gt(t,Cr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(xr,Da);qt[t]=new Gt(t,Cr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xr,Da);qt[t]=new Gt(t,Cr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){qt[e]=new Gt(e,Cr,!1,e.toLowerCase(),null,!1,!1)});var Bi="xlinkHref";qt[Bi]=new Gt("xlinkHref",Cr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){qt[e]=new Gt(e,Cr,!1,e.toLowerCase(),null,!0,!0)});var ru=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,au=!1;function yl(e){!au&&ru.test(e)&&(au=!0,y("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function gl(e,t,a,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{Yn(a,t),i.sanitizeURL&&yl(""+a);var s=i.attributeName,f=null;if(i.type===Er){if(e.hasAttribute(s)){var p=e.getAttribute(s);return p===""?!0:Jn(t,a,i,!1)?p:p===""+a?a:p}}else if(e.hasAttribute(s)){if(Jn(t,a,i,!1))return e.getAttribute(s);if(i.type===Mn)return a;f=e.getAttribute(s)}return Jn(t,a,i,!1)?f===null?a:f:f===""+a?a:f}}function iu(e,t,a,i){{if(!an(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var u=e.getAttribute(t);return Yn(a,t),u===""+a?a:u}}function Dr(e,t,a,i){var u=ln(t);if(!mn(t,u,i)){if(Jn(t,a,u,i)&&(a=null),i||u===null){if(an(t)){var s=t;a===null?e.removeAttribute(s):(Yn(a,t),e.setAttribute(s,""+a))}return}var f=u.mustUseProperty;if(f){var p=u.propertyName;if(a===null){var v=u.type;e[p]=v===Mn?!1:""}else e[p]=a;return}var g=u.attributeName,C=u.attributeNamespace;if(a===null)e.removeAttribute(g);else{var N=u.type,k;N===Mn||N===Er&&a===!0?k="":(Yn(a,g),k=""+a,u.sanitizeURL&&yl(k.toString())),C?e.setAttributeNS(C,g,k):e.setAttribute(g,k)}}}var kr=Symbol.for("react.element"),ir=Symbol.for("react.portal"),hi=Symbol.for("react.fragment"),Ka=Symbol.for("react.strict_mode"),mi=Symbol.for("react.profiler"),yi=Symbol.for("react.provider"),T=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),Oe=Symbol.for("react.suspense_list"),lt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),St=Symbol.for("react.scope"),yt=Symbol.for("react.debug_trace_mode"),Rn=Symbol.for("react.offscreen"),un=Symbol.for("react.legacy_hidden"),fn=Symbol.for("react.cache"),lr=Symbol.for("react.tracing_marker"),Xa=Symbol.iterator,Ja="@@iterator";function ut(e){if(e===null||typeof e!="object")return null;var t=Xa&&e[Xa]||e[Ja];return typeof t=="function"?t:null}var ct=Object.assign,Za=0,lu,uu,Sl,eo,Cl,Qr,Zo;function Or(){}Or.__reactDisabledLog=!0;function yc(){{if(Za===0){lu=console.log,uu=console.info,Sl=console.warn,eo=console.error,Cl=console.group,Qr=console.groupCollapsed,Zo=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Or,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Za++}}function gc(){{if(Za--,Za===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ct({},e,{value:lu}),info:ct({},e,{value:uu}),warn:ct({},e,{value:Sl}),error:ct({},e,{value:eo}),group:ct({},e,{value:Cl}),groupCollapsed:ct({},e,{value:Qr}),groupEnd:ct({},e,{value:Zo})})}Za<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var to=S.ReactCurrentDispatcher,El;function pa(e,t,a){{if(El===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);El=i&&i[1]||""}return`
140
+ `+El+e}}var ei=!1,ti;{var no=typeof WeakMap=="function"?WeakMap:Map;ti=new no}function ou(e,t){if(!e||ei)return"";{var a=ti.get(e);if(a!==void 0)return a}var i;ei=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=to.current,to.current=null,yc();try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(Q){i=Q}Reflect.construct(e,[],f)}else{try{f.call()}catch(Q){i=Q}e.call(f.prototype)}}else{try{throw Error()}catch(Q){i=Q}e()}}catch(Q){if(Q&&i&&typeof Q.stack=="string"){for(var p=Q.stack.split(`
141
+ `),v=i.stack.split(`
142
+ `),g=p.length-1,C=v.length-1;g>=1&&C>=0&&p[g]!==v[C];)C--;for(;g>=1&&C>=0;g--,C--)if(p[g]!==v[C]){if(g!==1||C!==1)do if(g--,C--,C<0||p[g]!==v[C]){var N=`
143
+ `+p[g].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),typeof e=="function"&&ti.set(e,N),N}while(g>=1&&C>=0);break}}}finally{ei=!1,to.current=s,gc(),Error.prepareStackTrace=u}var k=e?e.displayName||e.name:"",I=k?pa(k):"";return typeof e=="function"&&ti.set(e,I),I}function xl(e,t,a){return ou(e,!0)}function ro(e,t,a){return ou(e,!1)}function ao(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ii(e,t,a){if(e==null)return"";if(typeof e=="function")return ou(e,ao(e));if(typeof e=="string")return pa(e);switch(e){case Ee:return pa("Suspense");case Oe:return pa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case le:return ro(e.render);case lt:return Ii(e.type,t,a);case rt:{var i=e,u=i._payload,s=i._init;try{return Ii(s(u),t,a)}catch{}}}return""}function sd(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case W:return pa(e.type);case Et:return pa("Lazy");case Re:return pa("Suspense");case nn:return pa("SuspenseList");case z:case H:case me:return ro(e.type);case he:return ro(e.type.render);case M:return xl(e.type);default:return""}}function Yi(e){try{var t="",a=e;do t+=sd(a),a=a.return;while(a);return t}catch(i){return`
144
+ Error generating stack: `+i.message+`
145
+ `+i.stack}}function zt(e,t,a){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?a+"("+u+")":a}function io(e){return e.displayName||"Context"}function Mt(e){if(e==null)return null;if(typeof e.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case hi:return"Fragment";case ir:return"Portal";case mi:return"Profiler";case Ka:return"StrictMode";case Ee:return"Suspense";case Oe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case T:var t=e;return io(t)+".Consumer";case yi:var a=e;return io(a._context)+".Provider";case le:return zt(e,e.render,"ForwardRef");case lt:var i=e.displayName||null;return i!==null?i:Mt(e.type)||"Memo";case rt:{var u=e,s=u._payload,f=u._init;try{return Mt(f(s))}catch{return null}}}return null}function es(e,t,a){var i=t.displayName||t.name||"";return e.displayName||(i!==""?a+"("+i+")":a)}function gi(e){return e.displayName||"Context"}function nt(e){var t=e.tag,a=e.type;switch(t){case bt:return"Cache";case re:var i=a;return gi(i)+".Consumer";case te:var u=a;return gi(u._context)+".Provider";case Bt:return"DehydratedFragment";case he:return es(a,a.render,"ForwardRef");case ee:return"Fragment";case W:return a;case q:return"Portal";case A:return"Root";case ne:return"Text";case Et:return Mt(a);case ie:return a===Ka?"StrictMode":"Mode";case je:return"Offscreen";case ze:return"Profiler";case _t:return"Scope";case Re:return"Suspense";case nn:return"SuspenseList";case Tt:return"TracingMarker";case M:case z:case Lt:case H:case Ne:case me:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var lo=S.ReactDebugCurrentFrame,ur=null,Si=!1;function Nr(){{if(ur===null)return null;var e=ur._debugOwner;if(e!==null&&typeof e<"u")return nt(e)}return null}function Ci(){return ur===null?"":Yi(ur)}function dn(){lo.getCurrentStack=null,ur=null,Si=!1}function Kt(e){lo.getCurrentStack=e===null?null:Ci,ur=e,Si=!1}function bl(){return ur}function Wn(e){Si=e}function Lr(e){return""+e}function ka(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return wn(e),e;default:return""}}var su={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ts(e,t){su[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||y("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||y("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ns(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wl(e){return e._valueTracker}function cu(e){e._valueTracker=null}function cd(e){var t="";return e&&(ns(e)?t=e.checked?"true":"false":t=e.value),t}function Oa(e){var t=ns(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);wn(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var u=a.get,s=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(p){wn(p),i=""+p,s.call(this,p)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var f={getValue:function(){return i},setValue:function(p){wn(p),i=""+p},stopTracking:function(){cu(e),delete e[t]}};return f}}function ni(e){wl(e)||(e._valueTracker=Oa(e))}function Ei(e){if(!e)return!1;var t=wl(e);if(!t)return!0;var a=t.getValue(),i=cd(e);return i!==a?(t.setValue(i),!0):!1}function Na(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var uo=!1,oo=!1,Rl=!1,fu=!1;function so(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function co(e,t){var a=e,i=t.checked,u=ct({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??a._wrapperState.initialChecked});return u}function ri(e,t){ts("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!oo&&(y("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Nr()||"A component",t.type),oo=!0),t.value!==void 0&&t.defaultValue!==void 0&&!uo&&(y("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Nr()||"A component",t.type),uo=!0);var a=e,i=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:ka(t.value!=null?t.value:i),controlled:so(t)}}function h(e,t){var a=e,i=t.checked;i!=null&&Dr(a,"checked",i,!1)}function w(e,t){var a=e;{var i=so(t);!a._wrapperState.controlled&&i&&!fu&&(y("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),fu=!0),a._wrapperState.controlled&&!i&&!Rl&&(y("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Rl=!0)}h(e,t);var u=ka(t.value),s=t.type;if(u!=null)s==="number"?(u===0&&a.value===""||a.value!=u)&&(a.value=Lr(u)):a.value!==Lr(u)&&(a.value=Lr(u));else if(s==="submit"||s==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Qe(a,t.type,u):t.hasOwnProperty("defaultValue")&&Qe(a,t.type,ka(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function Y(e,t,a){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,s=u==="submit"||u==="reset";if(s&&(t.value===void 0||t.value===null))return;var f=Lr(i._wrapperState.initialValue);a||f!==i.value&&(i.value=f),i.defaultValue=f}var p=i.name;p!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,p!==""&&(i.name=p)}function K(e,t){var a=e;w(a,t),pe(a,t)}function pe(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var i=e;i.parentNode;)i=i.parentNode;Yn(a,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),s=0;s<u.length;s++){var f=u[s];if(!(f===e||f.form!==e.form)){var p=Gh(f);if(!p)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ei(f),w(f,p)}}}}function Qe(e,t,a){(t!=="number"||Na(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Lr(e._wrapperState.initialValue):e.defaultValue!==Lr(a)&&(e.defaultValue=Lr(a)))}var Ce=!1,Ke=!1,Ct=!1;function At(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?E.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||Ke||(Ke=!0,y("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Ct||(Ct=!0,y("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Ce&&(y("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ce=!0)}function on(e,t){t.value!=null&&e.setAttribute("value",Lr(ka(t.value)))}var Xt=Array.isArray;function vt(e){return Xt(e)}var Jt;Jt=!1;function yn(){var e=Nr();return e?`
146
+
147
+ Check the render method of \``+e+"`.":""}var Tl=["value","defaultValue"];function rs(e){{ts("select",e);for(var t=0;t<Tl.length;t++){var a=Tl[t];if(e[a]!=null){var i=vt(e[a]);e.multiple&&!i?y("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,yn()):!e.multiple&&i&&y("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,yn())}}}}function $i(e,t,a,i){var u=e.options;if(t){for(var s=a,f={},p=0;p<s.length;p++)f["$"+s[p]]=!0;for(var v=0;v<u.length;v++){var g=f.hasOwnProperty("$"+u[v].value);u[v].selected!==g&&(u[v].selected=g),g&&i&&(u[v].defaultSelected=!0)}}else{for(var C=Lr(ka(a)),N=null,k=0;k<u.length;k++){if(u[k].value===C){u[k].selected=!0,i&&(u[k].defaultSelected=!0);return}N===null&&!u[k].disabled&&(N=u[k])}N!==null&&(N.selected=!0)}}function as(e,t){return ct({},t,{value:void 0})}function du(e,t){var a=e;rs(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Jt&&(y("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Jt=!0)}function fd(e,t){var a=e;a.multiple=!!t.multiple;var i=t.value;i!=null?$i(a,!!t.multiple,i,!1):t.defaultValue!=null&&$i(a,!!t.multiple,t.defaultValue,!0)}function Sc(e,t){var a=e,i=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?$i(a,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?$i(a,!!t.multiple,t.defaultValue,!0):$i(a,!!t.multiple,t.multiple?[]:"",!1))}function dd(e,t){var a=e,i=t.value;i!=null&&$i(a,!!t.multiple,i,!1)}var yv=!1;function pd(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=ct({},t,{value:void 0,defaultValue:void 0,children:Lr(a._wrapperState.initialValue)});return i}function vd(e,t){var a=e;ts("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!yv&&(y("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Nr()||"A component"),yv=!0);var i=t.value;if(i==null){var u=t.children,s=t.defaultValue;if(u!=null){y("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vt(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}s=u}}s==null&&(s=""),i=s}a._wrapperState={initialValue:ka(i)}}function gv(e,t){var a=e,i=ka(t.value),u=ka(t.defaultValue);if(i!=null){var s=Lr(i);s!==a.value&&(a.value=s),t.defaultValue==null&&a.defaultValue!==s&&(a.defaultValue=s)}u!=null&&(a.defaultValue=Lr(u))}function Sv(e,t){var a=e,i=a.textContent;i===a._wrapperState.initialValue&&i!==""&&i!==null&&(a.value=i)}function xy(e,t){gv(e,t)}var Wi="http://www.w3.org/1999/xhtml",hd="http://www.w3.org/1998/Math/MathML",md="http://www.w3.org/2000/svg";function yd(e){switch(e){case"svg":return md;case"math":return hd;default:return Wi}}function gd(e,t){return e==null||e===Wi?yd(t):e===md&&t==="foreignObject"?Wi:e}var Cv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,a,i,u)})}:e},Cc,Ev=Cv(function(e,t){if(e.namespaceURI===md&&!("innerHTML"in e)){Cc=Cc||document.createElement("div"),Cc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=Cc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),Gr=1,Qi=3,An=8,Gi=9,Sd=11,fo=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===Qi){a.nodeValue=t;return}}e.textContent=t},is={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ls={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function xv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var bv=["Webkit","ms","Moz","O"];Object.keys(ls).forEach(function(e){bv.forEach(function(t){ls[xv(t,e)]=ls[e]})});function Ec(e,t,a){var i=t==null||typeof t=="boolean"||t==="";return i?"":!a&&typeof t=="number"&&t!==0&&!(ls.hasOwnProperty(e)&&ls[e])?t+"px":(ca(t,e),(""+t).trim())}var wv=/([A-Z])/g,Rv=/^ms-/;function po(e){return e.replace(wv,"-$1").toLowerCase().replace(Rv,"-ms-")}var Tv=function(){};{var by=/^(?:webkit|moz|o)[A-Z]/,wy=/^-ms-/,_v=/-(.)/g,Cd=/;\s*$/,xi={},pu={},Dv=!1,us=!1,Ry=function(e){return e.replace(_v,function(t,a){return a.toUpperCase()})},kv=function(e){xi.hasOwnProperty(e)&&xi[e]||(xi[e]=!0,y("Unsupported style property %s. Did you mean %s?",e,Ry(e.replace(wy,"ms-"))))},Ed=function(e){xi.hasOwnProperty(e)&&xi[e]||(xi[e]=!0,y("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},xd=function(e,t){pu.hasOwnProperty(t)&&pu[t]||(pu[t]=!0,y(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Cd,"")))},Ov=function(e,t){Dv||(Dv=!0,y("`NaN` is an invalid value for the `%s` css style property.",e))},Nv=function(e,t){us||(us=!0,y("`Infinity` is an invalid value for the `%s` css style property.",e))};Tv=function(e,t){e.indexOf("-")>-1?kv(e):by.test(e)?Ed(e):Cd.test(t)&&xd(e,t),typeof t=="number"&&(isNaN(t)?Ov(e,t):isFinite(t)||Nv(e,t))}}var Lv=Tv;function Ty(e){{var t="",a="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var s=i.indexOf("--")===0;t+=a+(s?i:po(i))+":",t+=Ec(i,u,s),a=";"}}return t||null}}function Mv(e,t){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||Lv(i,t[i]);var s=Ec(i,t[i],u);i==="float"&&(i="cssFloat"),u?a.setProperty(i,s):a[i]=s}}function _y(e){return e==null||typeof e=="boolean"||e===""}function Av(e){var t={};for(var a in e)for(var i=is[a]||[a],u=0;u<i.length;u++)t[i[u]]=a;return t}function Dy(e,t){{if(!t)return;var a=Av(e),i=Av(t),u={};for(var s in a){var f=a[s],p=i[s];if(p&&f!==p){var v=f+","+p;if(u[v])continue;u[v]=!0,y("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",_y(e[f])?"Removing":"Updating",f,p)}}}}var ai={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},os=ct({menuitem:!0},ai),Uv="__html";function xc(e,t){if(t){if(os[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Uv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&y("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function _l(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ss={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},bc={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},vo={},ky=new RegExp("^(aria)-["+ye+"]*$"),ho=new RegExp("^(aria)[A-Z]["+ye+"]*$");function bd(e,t){{if(_r.call(vo,t)&&vo[t])return!0;if(ho.test(t)){var a="aria-"+t.slice(4).toLowerCase(),i=bc.hasOwnProperty(a)?a:null;if(i==null)return y("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),vo[t]=!0,!0;if(t!==i)return y("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),vo[t]=!0,!0}if(ky.test(t)){var u=t.toLowerCase(),s=bc.hasOwnProperty(u)?u:null;if(s==null)return vo[t]=!0,!1;if(t!==s)return y("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),vo[t]=!0,!0}}return!0}function cs(e,t){{var a=[];for(var i in t){var u=bd(e,i);u||a.push(i)}var s=a.map(function(f){return"`"+f+"`"}).join(", ");a.length===1?y("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):a.length>1&&y("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function wd(e,t){_l(e,t)||cs(e,t)}var Rd=!1;function wc(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Rd&&(Rd=!0,e==="select"&&t.multiple?y("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):y("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var vu=function(){};{var or={},Td=/^on./,Rc=/^on[^A-Z]/,zv=new RegExp("^(aria)-["+ye+"]*$"),jv=new RegExp("^(aria)[A-Z]["+ye+"]*$");vu=function(e,t,a,i){if(_r.call(or,t)&&or[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return y("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),or[t]=!0,!0;if(i!=null){var s=i.registrationNameDependencies,f=i.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var p=f.hasOwnProperty(u)?f[u]:null;if(p!=null)return y("Invalid event handler property `%s`. Did you mean `%s`?",t,p),or[t]=!0,!0;if(Td.test(t))return y("Unknown event handler property `%s`. It will be ignored.",t),or[t]=!0,!0}else if(Td.test(t))return Rc.test(t)&&y("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),or[t]=!0,!0;if(zv.test(t)||jv.test(t))return!0;if(u==="innerhtml")return y("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),or[t]=!0,!0;if(u==="aria")return y("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),or[t]=!0,!0;if(u==="is"&&a!==null&&a!==void 0&&typeof a!="string")return y("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),or[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return y("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),or[t]=!0,!0;var v=ln(t),g=v!==null&&v.type===$n;if(ss.hasOwnProperty(u)){var C=ss[u];if(C!==t)return y("Invalid DOM property `%s`. Did you mean `%s`?",t,C),or[t]=!0,!0}else if(!g&&t!==u)return y("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),or[t]=!0,!0;return typeof a=="boolean"&&cn(t,a,v,!1)?(a?y('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):y('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),or[t]=!0,!0):g?!0:cn(t,a,v,!1)?(or[t]=!0,!1):((a==="false"||a==="true")&&v!==null&&v.type===Mn&&(y("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),or[t]=!0),!0)}}var Fv=function(e,t,a){{var i=[];for(var u in t){var s=vu(e,u,t[u],a);s||i.push(u)}var f=i.map(function(p){return"`"+p+"`"}).join(", ");i.length===1?y("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",f,e):i.length>1&&y("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",f,e)}};function Hv(e,t,a){_l(e,t)||Fv(e,t,a)}var _d=1,Tc=2,La=4,Dd=_d|Tc|La,hu=null;function Oy(e){hu!==null&&y("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),hu=e}function Ny(){hu===null&&y("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),hu=null}function fs(e){return e===hu}function kd(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Qi?t.parentNode:t}var _c=null,mu=null,$t=null;function Dc(e){var t=zo(e);if(t){if(typeof _c!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var i=Gh(a);_c(t.stateNode,t.type,i)}}}function kc(e){_c=e}function mo(e){mu?$t?$t.push(e):$t=[e]:mu=e}function Vv(){return mu!==null||$t!==null}function Oc(){if(mu){var e=mu,t=$t;if(mu=null,$t=null,Dc(e),t)for(var a=0;a<t.length;a++)Dc(t[a])}}var yo=function(e,t){return e(t)},ds=function(){},Dl=!1;function Pv(){var e=Vv();e&&(ds(),Oc())}function Bv(e,t,a){if(Dl)return e(t,a);Dl=!0;try{return yo(e,t,a)}finally{Dl=!1,Pv()}}function Ly(e,t,a){yo=e,ds=a}function Iv(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Nc(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&Iv(t));default:return!1}}function kl(e,t){var a=e.stateNode;if(a===null)return null;var i=Gh(a);if(i===null)return null;var u=i[t];if(Nc(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var ps=!1;if(Ln)try{var yu={};Object.defineProperty(yu,"passive",{get:function(){ps=!0}}),window.addEventListener("test",yu,yu),window.removeEventListener("test",yu,yu)}catch{ps=!1}function Lc(e,t,a,i,u,s,f,p,v){var g=Array.prototype.slice.call(arguments,3);try{t.apply(a,g)}catch(C){this.onError(C)}}var Mc=Lc;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Od=document.createElement("react");Mc=function(t,a,i,u,s,f,p,v,g){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var C=document.createEvent("Event"),N=!1,k=!0,I=window.event,Q=Object.getOwnPropertyDescriptor(window,"event");function X(){Od.removeEventListener(J,Ge,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=I)}var be=Array.prototype.slice.call(arguments,3);function Ge(){N=!0,X(),a.apply(i,be),k=!1}var Be,Nt=!1,wt=!1;function j(F){if(Be=F.error,Nt=!0,Be===null&&F.colno===0&&F.lineno===0&&(wt=!0),F.defaultPrevented&&Be!=null&&typeof Be=="object")try{Be._suppressLogging=!0}catch{}}var J="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",j),Od.addEventListener(J,Ge,!1),C.initEvent(J,!1,!1),Od.dispatchEvent(C),Q&&Object.defineProperty(window,"event",Q),N&&k&&(Nt?wt&&(Be=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Be=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Be)),window.removeEventListener("error",j),!N)return X(),Lc.apply(this,arguments)}}var Yv=Mc,go=!1,Ac=null,So=!1,bi=null,$v={onError:function(e){go=!0,Ac=e}};function Ol(e,t,a,i,u,s,f,p,v){go=!1,Ac=null,Yv.apply($v,arguments)}function wi(e,t,a,i,u,s,f,p,v){if(Ol.apply(this,arguments),go){var g=hs();So||(So=!0,bi=g)}}function vs(){if(So){var e=bi;throw So=!1,bi=null,e}}function qi(){return go}function hs(){if(go){var e=Ac;return go=!1,Ac=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Co(e){return e._reactInternals}function My(e){return e._reactInternals!==void 0}function gu(e,t){e._reactInternals=t}var Ye=0,ii=1,gn=2,Dt=4,Ma=16,Aa=32,sn=64,Ie=128,br=256,xn=512,Qn=1024,qr=2048,Kr=4096,Un=8192,Eo=16384,Wv=32767,ms=32768,Zn=65536,Uc=131072,Ri=1048576,xo=2097152,Ki=4194304,zc=8388608,Nl=16777216,Ti=33554432,Ll=Dt|Qn|0,Ml=gn|Dt|Ma|Aa|xn|Kr|Un,Al=Dt|sn|xn|Un,Xi=qr|Ma,zn=Ki|zc|xo,Ua=S.ReactCurrentOwner;function va(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(gn|Kr))!==Ye&&(a=t.return),i=t.return;while(i)}return t.tag===A?a:null}function _i(e){if(e.tag===Re){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function Di(e){return e.tag===A?e.stateNode.containerInfo:null}function Su(e){return va(e)===e}function Qv(e){{var t=Ua.current;if(t!==null&&t.tag===M){var a=t,i=a.stateNode;i._warnedAboutRefsInRender||y("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",nt(a)||"A component"),i._warnedAboutRefsInRender=!0}}var u=Co(e);return u?va(u)===u:!1}function jc(e){if(va(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Fc(e){var t=e.alternate;if(!t){var a=va(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var i=e,u=t;;){var s=i.return;if(s===null)break;var f=s.alternate;if(f===null){var p=s.return;if(p!==null){i=u=p;continue}break}if(s.child===f.child){for(var v=s.child;v;){if(v===i)return jc(s),e;if(v===u)return jc(s),t;v=v.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=s,u=f;else{for(var g=!1,C=s.child;C;){if(C===i){g=!0,i=s,u=f;break}if(C===u){g=!0,u=s,i=f;break}C=C.sibling}if(!g){for(C=f.child;C;){if(C===i){g=!0,i=f,u=s;break}if(C===u){g=!0,u=f,i=s;break}C=C.sibling}if(!g)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==u)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==A)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function Xr(e){var t=Fc(e);return t!==null?Jr(t):null}function Jr(e){if(e.tag===W||e.tag===ne)return e;for(var t=e.child;t!==null;){var a=Jr(t);if(a!==null)return a;t=t.sibling}return null}function vn(e){var t=Fc(e);return t!==null?za(t):null}function za(e){if(e.tag===W||e.tag===ne)return e;for(var t=e.child;t!==null;){if(t.tag!==q){var a=za(t);if(a!==null)return a}t=t.sibling}return null}var Nd=x.unstable_scheduleCallback,Gv=x.unstable_cancelCallback,Ld=x.unstable_shouldYield,Md=x.unstable_requestPaint,Gn=x.unstable_now,Hc=x.unstable_getCurrentPriorityLevel,ys=x.unstable_ImmediatePriority,Ul=x.unstable_UserBlockingPriority,Ji=x.unstable_NormalPriority,Ay=x.unstable_LowPriority,Cu=x.unstable_IdlePriority,Vc=x.unstable_yieldValue,qv=x.unstable_setDisableYieldValue,Eu=null,Tn=null,xe=null,ha=!1,Zr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function bo(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return y("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{We&&(e=ct({},e,{getLaneLabelMap:xu,injectProfilingHooks:ja})),Eu=t.inject(e),Tn=t}catch(a){y("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Ad(e,t){if(Tn&&typeof Tn.onScheduleFiberRoot=="function")try{Tn.onScheduleFiberRoot(Eu,e,t)}catch(a){ha||(ha=!0,y("React instrumentation encountered an error: %s",a))}}function Ud(e,t){if(Tn&&typeof Tn.onCommitFiberRoot=="function")try{var a=(e.current.flags&Ie)===Ie;if(Je){var i;switch(t){case Mr:i=ys;break;case Oi:i=Ul;break;case Fa:i=Ji;break;case Ha:i=Cu;break;default:i=Ji;break}Tn.onCommitFiberRoot(Eu,e,i,a)}}catch(u){ha||(ha=!0,y("React instrumentation encountered an error: %s",u))}}function zd(e){if(Tn&&typeof Tn.onPostCommitFiberRoot=="function")try{Tn.onPostCommitFiberRoot(Eu,e)}catch(t){ha||(ha=!0,y("React instrumentation encountered an error: %s",t))}}function jd(e){if(Tn&&typeof Tn.onCommitFiberUnmount=="function")try{Tn.onCommitFiberUnmount(Eu,e)}catch(t){ha||(ha=!0,y("React instrumentation encountered an error: %s",t))}}function Sn(e){if(typeof Vc=="function"&&(qv(e),B(e)),Tn&&typeof Tn.setStrictMode=="function")try{Tn.setStrictMode(Eu,e)}catch(t){ha||(ha=!0,y("React instrumentation encountered an error: %s",t))}}function ja(e){xe=e}function xu(){{for(var e=new Map,t=1,a=0;a<Ru;a++){var i=Zv(t);e.set(t,i),t*=2}return e}}function Fd(e){xe!==null&&typeof xe.markCommitStarted=="function"&&xe.markCommitStarted(e)}function Hd(){xe!==null&&typeof xe.markCommitStopped=="function"&&xe.markCommitStopped()}function ma(e){xe!==null&&typeof xe.markComponentRenderStarted=="function"&&xe.markComponentRenderStarted(e)}function ya(){xe!==null&&typeof xe.markComponentRenderStopped=="function"&&xe.markComponentRenderStopped()}function Vd(e){xe!==null&&typeof xe.markComponentPassiveEffectMountStarted=="function"&&xe.markComponentPassiveEffectMountStarted(e)}function Kv(){xe!==null&&typeof xe.markComponentPassiveEffectMountStopped=="function"&&xe.markComponentPassiveEffectMountStopped()}function Zi(e){xe!==null&&typeof xe.markComponentPassiveEffectUnmountStarted=="function"&&xe.markComponentPassiveEffectUnmountStarted(e)}function zl(){xe!==null&&typeof xe.markComponentPassiveEffectUnmountStopped=="function"&&xe.markComponentPassiveEffectUnmountStopped()}function Pc(e){xe!==null&&typeof xe.markComponentLayoutEffectMountStarted=="function"&&xe.markComponentLayoutEffectMountStarted(e)}function Xv(){xe!==null&&typeof xe.markComponentLayoutEffectMountStopped=="function"&&xe.markComponentLayoutEffectMountStopped()}function gs(e){xe!==null&&typeof xe.markComponentLayoutEffectUnmountStarted=="function"&&xe.markComponentLayoutEffectUnmountStarted(e)}function Pd(){xe!==null&&typeof xe.markComponentLayoutEffectUnmountStopped=="function"&&xe.markComponentLayoutEffectUnmountStopped()}function Ss(e,t,a){xe!==null&&typeof xe.markComponentErrored=="function"&&xe.markComponentErrored(e,t,a)}function ki(e,t,a){xe!==null&&typeof xe.markComponentSuspended=="function"&&xe.markComponentSuspended(e,t,a)}function Cs(e){xe!==null&&typeof xe.markLayoutEffectsStarted=="function"&&xe.markLayoutEffectsStarted(e)}function Es(){xe!==null&&typeof xe.markLayoutEffectsStopped=="function"&&xe.markLayoutEffectsStopped()}function bu(e){xe!==null&&typeof xe.markPassiveEffectsStarted=="function"&&xe.markPassiveEffectsStarted(e)}function Bd(){xe!==null&&typeof xe.markPassiveEffectsStopped=="function"&&xe.markPassiveEffectsStopped()}function wu(e){xe!==null&&typeof xe.markRenderStarted=="function"&&xe.markRenderStarted(e)}function Jv(){xe!==null&&typeof xe.markRenderYielded=="function"&&xe.markRenderYielded()}function Bc(){xe!==null&&typeof xe.markRenderStopped=="function"&&xe.markRenderStopped()}function Cn(e){xe!==null&&typeof xe.markRenderScheduled=="function"&&xe.markRenderScheduled(e)}function Ic(e,t){xe!==null&&typeof xe.markForceUpdateScheduled=="function"&&xe.markForceUpdateScheduled(e,t)}function xs(e,t){xe!==null&&typeof xe.markStateUpdateScheduled=="function"&&xe.markStateUpdateScheduled(e,t)}var $e=0,gt=1,jt=2,Zt=8,Ft=16,jn=Math.clz32?Math.clz32:bs,er=Math.log,Yc=Math.LN2;function bs(e){var t=e>>>0;return t===0?32:31-(er(t)/Yc|0)|0}var Ru=31,ue=0,Ut=0,Ze=1,jl=2,li=4,wr=8,_n=16,el=32,Fl=4194240,Tu=64,$c=128,Wc=256,Qc=512,Gc=1024,qc=2048,Kc=4096,Xc=8192,Jc=16384,_u=32768,Zc=65536,wo=131072,Ro=262144,ef=524288,ws=1048576,tf=2097152,Rs=130023424,Du=4194304,nf=8388608,Ts=16777216,rf=33554432,af=67108864,Id=Du,_s=134217728,Yd=268435455,Ds=268435456,ku=536870912,ea=1073741824;function Zv(e){{if(e&Ze)return"Sync";if(e&jl)return"InputContinuousHydration";if(e&li)return"InputContinuous";if(e&wr)return"DefaultHydration";if(e&_n)return"Default";if(e&el)return"TransitionHydration";if(e&Fl)return"Transition";if(e&Rs)return"Retry";if(e&_s)return"SelectiveHydration";if(e&Ds)return"IdleHydration";if(e&ku)return"Idle";if(e&ea)return"Offscreen"}}var rn=-1,Ou=Tu,lf=Du;function ks(e){switch(Hl(e)){case Ze:return Ze;case jl:return jl;case li:return li;case wr:return wr;case _n:return _n;case el:return el;case Tu:case $c:case Wc:case Qc:case Gc:case qc:case Kc:case Xc:case Jc:case _u:case Zc:case wo:case Ro:case ef:case ws:case tf:return e&Fl;case Du:case nf:case Ts:case rf:case af:return e&Rs;case _s:return _s;case Ds:return Ds;case ku:return ku;case ea:return ea;default:return y("Should have found matching lanes. This is a bug in React."),e}}function uf(e,t){var a=e.pendingLanes;if(a===ue)return ue;var i=ue,u=e.suspendedLanes,s=e.pingedLanes,f=a&Yd;if(f!==ue){var p=f&~u;if(p!==ue)i=ks(p);else{var v=f&s;v!==ue&&(i=ks(v))}}else{var g=a&~u;g!==ue?i=ks(g):s!==ue&&(i=ks(s))}if(i===ue)return ue;if(t!==ue&&t!==i&&(t&u)===ue){var C=Hl(i),N=Hl(t);if(C>=N||C===_n&&(N&Fl)!==ue)return t}(i&li)!==ue&&(i|=a&_n);var k=e.entangledLanes;if(k!==ue)for(var I=e.entanglements,Q=i&k;Q>0;){var X=Fn(Q),be=1<<X;i|=I[X],Q&=~be}return i}function ui(e,t){for(var a=e.eventTimes,i=rn;t>0;){var u=Fn(t),s=1<<u,f=a[u];f>i&&(i=f),t&=~s}return i}function $d(e,t){switch(e){case Ze:case jl:case li:return t+250;case wr:case _n:case el:case Tu:case $c:case Wc:case Qc:case Gc:case qc:case Kc:case Xc:case Jc:case _u:case Zc:case wo:case Ro:case ef:case ws:case tf:return t+5e3;case Du:case nf:case Ts:case rf:case af:return rn;case _s:case Ds:case ku:case ea:return rn;default:return y("Should have found matching lanes. This is a bug in React."),rn}}function of(e,t){for(var a=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,s=e.expirationTimes,f=a;f>0;){var p=Fn(f),v=1<<p,g=s[p];g===rn?((v&i)===ue||(v&u)!==ue)&&(s[p]=$d(v,t)):g<=t&&(e.expiredLanes|=v),f&=~v}}function eh(e){return ks(e.pendingLanes)}function sf(e){var t=e.pendingLanes&~ea;return t!==ue?t:t&ea?ea:ue}function th(e){return(e&Ze)!==ue}function Os(e){return(e&Yd)!==ue}function Nu(e){return(e&Rs)===e}function Wd(e){var t=Ze|li|_n;return(e&t)===ue}function Qd(e){return(e&Fl)===e}function cf(e,t){var a=jl|li|wr|_n;return(t&a)!==ue}function nh(e,t){return(t&e.expiredLanes)!==ue}function Gd(e){return(e&Fl)!==ue}function qd(){var e=Ou;return Ou<<=1,(Ou&Fl)===ue&&(Ou=Tu),e}function rh(){var e=lf;return lf<<=1,(lf&Rs)===ue&&(lf=Du),e}function Hl(e){return e&-e}function Ns(e){return Hl(e)}function Fn(e){return 31-jn(e)}function sr(e){return Fn(e)}function ta(e,t){return(e&t)!==ue}function Lu(e,t){return(e&t)===t}function ot(e,t){return e|t}function Ls(e,t){return e&~t}function Kd(e,t){return e&t}function ah(e){return e}function ih(e,t){return e!==Ut&&e<t?e:t}function Ms(e){for(var t=[],a=0;a<Ru;a++)t.push(e);return t}function To(e,t,a){e.pendingLanes|=t,t!==ku&&(e.suspendedLanes=ue,e.pingedLanes=ue);var i=e.eventTimes,u=sr(t);i[u]=a}function lh(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,i=t;i>0;){var u=Fn(i),s=1<<u;a[u]=rn,i&=~s}}function ff(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function Xd(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ue,e.pingedLanes=ue,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,s=e.expirationTimes,f=a;f>0;){var p=Fn(f),v=1<<p;i[p]=ue,u[p]=rn,s[p]=rn,f&=~v}}function df(e,t){for(var a=e.entangledLanes|=t,i=e.entanglements,u=a;u;){var s=Fn(u),f=1<<s;f&t|i[s]&t&&(i[s]|=t),u&=~f}}function Jd(e,t){var a=Hl(t),i;switch(a){case li:i=jl;break;case _n:i=wr;break;case Tu:case $c:case Wc:case Qc:case Gc:case qc:case Kc:case Xc:case Jc:case _u:case Zc:case wo:case Ro:case ef:case ws:case tf:case Du:case nf:case Ts:case rf:case af:i=el;break;case ku:i=Ds;break;default:i=Ut;break}return(i&(e.suspendedLanes|t))!==Ut?Ut:i}function As(e,t,a){if(Zr)for(var i=e.pendingUpdatersLaneMap;a>0;){var u=sr(a),s=1<<u,f=i[u];f.add(t),a&=~s}}function uh(e,t){if(Zr)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=sr(t),s=1<<u,f=a[u];f.size>0&&(f.forEach(function(p){var v=p.alternate;(v===null||!i.has(v))&&i.add(p)}),f.clear()),t&=~s}}function Zd(e,t){return null}var Mr=Ze,Oi=li,Fa=_n,Ha=ku,Us=Ut;function Va(){return Us}function Hn(e){Us=e}function oh(e,t){var a=Us;try{return Us=e,t()}finally{Us=a}}function sh(e,t){return e!==0&&e<t?e:t}function zs(e,t){return e>t?e:t}function tr(e,t){return e!==0&&e<t}function ch(e){var t=Hl(e);return tr(Mr,t)?tr(Oi,t)?Os(t)?Fa:Ha:Oi:Mr}function pf(e){var t=e.current.memoizedState;return t.isDehydrated}var js;function Rr(e){js=e}function Uy(e){js(e)}var ke;function _o(e){ke=e}var vf;function fh(e){vf=e}var dh;function Fs(e){dh=e}var Hs;function ep(e){Hs=e}var hf=!1,Vs=[],tl=null,Ni=null,Li=null,Dn=new Map,Ar=new Map,Ur=[],ph=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function vh(e){return ph.indexOf(e)>-1}function oi(e,t,a,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]}}function tp(e,t){switch(e){case"focusin":case"focusout":tl=null;break;case"dragenter":case"dragleave":Ni=null;break;case"mouseover":case"mouseout":Li=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Dn.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Ar.delete(i);break}}}function na(e,t,a,i,u,s){if(e===null||e.nativeEvent!==s){var f=oi(t,a,i,u,s);if(t!==null){var p=zo(t);p!==null&&ke(p)}return f}e.eventSystemFlags|=i;var v=e.targetContainers;return u!==null&&v.indexOf(u)===-1&&v.push(u),e}function zy(e,t,a,i,u){switch(t){case"focusin":{var s=u;return tl=na(tl,e,t,a,i,s),!0}case"dragenter":{var f=u;return Ni=na(Ni,e,t,a,i,f),!0}case"mouseover":{var p=u;return Li=na(Li,e,t,a,i,p),!0}case"pointerover":{var v=u,g=v.pointerId;return Dn.set(g,na(Dn.get(g)||null,e,t,a,i,v)),!0}case"gotpointercapture":{var C=u,N=C.pointerId;return Ar.set(N,na(Ar.get(N)||null,e,t,a,i,C)),!0}}return!1}function np(e){var t=Js(e.target);if(t!==null){var a=va(t);if(a!==null){var i=a.tag;if(i===Re){var u=_i(a);if(u!==null){e.blockedOn=u,Hs(e.priority,function(){vf(a)});return}}else if(i===A){var s=a.stateNode;if(pf(s)){e.blockedOn=Di(a);return}}}}e.blockedOn=null}function hh(e){for(var t=dh(),a={blockedOn:null,target:e,priority:t},i=0;i<Ur.length&&tr(t,Ur[i].priority);i++);Ur.splice(i,0,a),i===0&&np(a)}function Ps(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],i=ko(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(i===null){var u=e.nativeEvent,s=new u.constructor(u.type,u);Oy(s),u.target.dispatchEvent(s),Ny()}else{var f=zo(i);return f!==null&&ke(f),e.blockedOn=i,!1}t.shift()}return!0}function rp(e,t,a){Ps(e)&&a.delete(t)}function jy(){hf=!1,tl!==null&&Ps(tl)&&(tl=null),Ni!==null&&Ps(Ni)&&(Ni=null),Li!==null&&Ps(Li)&&(Li=null),Dn.forEach(rp),Ar.forEach(rp)}function Vl(e,t){e.blockedOn===t&&(e.blockedOn=null,hf||(hf=!0,x.unstable_scheduleCallback(x.unstable_NormalPriority,jy)))}function Mu(e){if(Vs.length>0){Vl(Vs[0],e);for(var t=1;t<Vs.length;t++){var a=Vs[t];a.blockedOn===e&&(a.blockedOn=null)}}tl!==null&&Vl(tl,e),Ni!==null&&Vl(Ni,e),Li!==null&&Vl(Li,e);var i=function(p){return Vl(p,e)};Dn.forEach(i),Ar.forEach(i);for(var u=0;u<Ur.length;u++){var s=Ur[u];s.blockedOn===e&&(s.blockedOn=null)}for(;Ur.length>0;){var f=Ur[0];if(f.blockedOn!==null)break;np(f),f.blockedOn===null&&Ur.shift()}}var cr=S.ReactCurrentBatchConfig,kt=!0;function qn(e){kt=!!e}function Vn(){return kt}function fr(e,t,a){var i=mf(t),u;switch(i){case Mr:u=ga;break;case Oi:u=Do;break;case Fa:default:u=kn;break}return u.bind(null,t,a,e)}function ga(e,t,a,i){var u=Va(),s=cr.transition;cr.transition=null;try{Hn(Mr),kn(e,t,a,i)}finally{Hn(u),cr.transition=s}}function Do(e,t,a,i){var u=Va(),s=cr.transition;cr.transition=null;try{Hn(Oi),kn(e,t,a,i)}finally{Hn(u),cr.transition=s}}function kn(e,t,a,i){kt&&Bs(e,t,a,i)}function Bs(e,t,a,i){var u=ko(e,t,a,i);if(u===null){eg(e,t,i,Mi,a),tp(e,i);return}if(zy(u,e,t,a,i)){i.stopPropagation();return}if(tp(e,i),t&La&&vh(e)){for(;u!==null;){var s=zo(u);s!==null&&Uy(s);var f=ko(e,t,a,i);if(f===null&&eg(e,t,i,Mi,a),f===u)break;u=f}u!==null&&i.stopPropagation();return}eg(e,t,i,null,a)}var Mi=null;function ko(e,t,a,i){Mi=null;var u=kd(i),s=Js(u);if(s!==null){var f=va(s);if(f===null)s=null;else{var p=f.tag;if(p===Re){var v=_i(f);if(v!==null)return v;s=null}else if(p===A){var g=f.stateNode;if(pf(g))return Di(f);s=null}else f!==s&&(s=null)}}return Mi=s,null}function mf(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Mr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Oi;case"message":{var t=Hc();switch(t){case ys:return Mr;case Ul:return Oi;case Ji:case Ay:return Fa;case Cu:return Ha;default:return Fa}}default:return Fa}}function Is(e,t,a){return e.addEventListener(t,a,!1),a}function ra(e,t,a){return e.addEventListener(t,a,!0),a}function ap(e,t,a,i){return e.addEventListener(t,a,{capture:!0,passive:i}),a}function Oo(e,t,a,i){return e.addEventListener(t,a,{passive:i}),a}var Sa=null,No=null,Au=null;function Pl(e){return Sa=e,No=Ys(),!0}function yf(){Sa=null,No=null,Au=null}function nl(){if(Au)return Au;var e,t=No,a=t.length,i,u=Ys(),s=u.length;for(e=0;e<a&&t[e]===u[e];e++);var f=a-e;for(i=1;i<=f&&t[a-i]===u[s-i];i++);var p=i>1?1-i:void 0;return Au=u.slice(e,p),Au}function Ys(){return"value"in Sa?Sa.value:Sa.textContent}function Bl(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function Lo(){return!0}function $s(){return!1}function Tr(e){function t(a,i,u,s,f){this._reactName=a,this._targetInst=u,this.type=i,this.nativeEvent=s,this.target=f,this.currentTarget=null;for(var p in e)if(e.hasOwnProperty(p)){var v=e[p];v?this[p]=v(s):this[p]=s[p]}var g=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return g?this.isDefaultPrevented=Lo:this.isDefaultPrevented=$s,this.isPropagationStopped=$s,this}return ct(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Lo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Lo)},persist:function(){},isPersistent:Lo}),t}var Pn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ai=Tr(Pn),zr=ct({},Pn,{view:0,detail:0}),aa=Tr(zr),gf,Ws,Uu;function Fy(e){e!==Uu&&(Uu&&e.type==="mousemove"?(gf=e.screenX-Uu.screenX,Ws=e.screenY-Uu.screenY):(gf=0,Ws=0),Uu=e)}var si=ct({},zr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Fy(e),gf)},movementY:function(e){return"movementY"in e?e.movementY:Ws}}),ip=Tr(si),lp=ct({},si,{dataTransfer:0}),zu=Tr(lp),up=ct({},zr,{relatedTarget:0}),rl=Tr(up),mh=ct({},Pn,{animationName:0,elapsedTime:0,pseudoElement:0}),yh=Tr(mh),op=ct({},Pn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sf=Tr(op),Hy=ct({},Pn,{data:0}),gh=Tr(Hy),Sh=gh,Ch={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ju={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Vy(e){if(e.key){var t=Ch[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=Bl(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?ju[e.keyCode]||"Unidentified":""}var Mo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eh(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var i=Mo[e];return i?!!a[i]:!1}function hn(e){return Eh}var Py=ct({},zr,{key:Vy,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hn,charCode:function(e){return e.type==="keypress"?Bl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xh=Tr(Py),By=ct({},si,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bh=Tr(By),wh=ct({},zr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hn}),Rh=Tr(wh),Iy=ct({},Pn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pa=Tr(Iy),sp=ct({},si,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Yy=Tr(sp),Il=[9,13,27,32],Qs=229,al=Ln&&"CompositionEvent"in window,Yl=null;Ln&&"documentMode"in document&&(Yl=document.documentMode);var cp=Ln&&"TextEvent"in window&&!Yl,Cf=Ln&&(!al||Yl&&Yl>8&&Yl<=11),Th=32,Ef=String.fromCharCode(Th);function $y(){mt("onBeforeInput",["compositionend","keypress","textInput","paste"]),mt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),mt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),mt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var fp=!1;function _h(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function xf(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function bf(e,t){return e==="keydown"&&t.keyCode===Qs}function dp(e,t){switch(e){case"keyup":return Il.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Qs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wf(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Dh(e){return e.locale==="ko"}var Fu=!1;function pp(e,t,a,i,u){var s,f;if(al?s=xf(t):Fu?dp(t,i)&&(s="onCompositionEnd"):bf(t,i)&&(s="onCompositionStart"),!s)return null;Cf&&!Dh(i)&&(!Fu&&s==="onCompositionStart"?Fu=Pl(u):s==="onCompositionEnd"&&Fu&&(f=nl()));var p=Uh(a,s);if(p.length>0){var v=new gh(s,t,null,i,u);if(e.push({event:v,listeners:p}),f)v.data=f;else{var g=wf(i);g!==null&&(v.data=g)}}}function Rf(e,t){switch(e){case"compositionend":return wf(t);case"keypress":var a=t.which;return a!==Th?null:(fp=!0,Ef);case"textInput":var i=t.data;return i===Ef&&fp?null:i;default:return null}}function vp(e,t){if(Fu){if(e==="compositionend"||!al&&dp(e,t)){var a=nl();return yf(),Fu=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!_h(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Cf&&!Dh(t)?null:t.data;default:return null}}function Tf(e,t,a,i,u){var s;if(cp?s=Rf(t,i):s=vp(t,i),!s)return null;var f=Uh(a,"onBeforeInput");if(f.length>0){var p=new Sh("onBeforeInput","beforeinput",null,i,u);e.push({event:p,listeners:f}),p.data=s}}function kh(e,t,a,i,u,s,f){pp(e,t,a,i,u),Tf(e,t,a,i,u)}var Wy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Wy[e.type]:t==="textarea"}/**
148
+ * Checks if an event is supported in the current execution environment.
149
+ *
150
+ * NOTE: This will not work correctly for non-generic events such as `change`,
151
+ * `reset`, `load`, `error`, and `select`.
152
+ *
153
+ * Borrows from Modernizr.
154
+ *
155
+ * @param {string} eventNameSuffix Event name, e.g. "click".
156
+ * @return {boolean} True if the event is supported.
157
+ * @internal
158
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
159
+ */function Qy(e){if(!Ln)return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a=typeof i[t]=="function"}return a}function qs(){mt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Oh(e,t,a,i){mo(i);var u=Uh(t,"onChange");if(u.length>0){var s=new Ai("onChange","change",null,a,i);e.push({event:s,listeners:u})}}var $l=null,n=null;function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function l(e){var t=[];Oh(t,n,e,kd(e)),Bv(o,t)}function o(e){PC(e,0)}function c(e){var t=Lf(e);if(Ei(t))return e}function d(e,t){if(e==="change")return t}var m=!1;Ln&&(m=Qy("input")&&(!document.documentMode||document.documentMode>9));function b(e,t){$l=e,n=t,$l.attachEvent("onpropertychange",$)}function _(){$l&&($l.detachEvent("onpropertychange",$),$l=null,n=null)}function $(e){e.propertyName==="value"&&c(n)&&l(e)}function se(e,t,a){e==="focusin"?(_(),b(t,a)):e==="focusout"&&_()}function fe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return c(n)}function oe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Te(e,t){if(e==="click")return c(t)}function Me(e,t){if(e==="input"||e==="change")return c(t)}function He(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Qe(e,"number",e.value)}function On(e,t,a,i,u,s,f){var p=a?Lf(a):window,v,g;if(r(p)?v=d:Gs(p)?m?v=Me:(v=fe,g=se):oe(p)&&(v=Te),v){var C=v(t,a);if(C){Oh(e,C,i,u);return}}g&&g(t,p,a),t==="focusout"&&He(p)}function U(){Qt("onMouseEnter",["mouseout","mouseover"]),Qt("onMouseLeave",["mouseout","mouseover"]),Qt("onPointerEnter",["pointerout","pointerover"]),Qt("onPointerLeave",["pointerout","pointerover"])}function O(e,t,a,i,u,s,f){var p=t==="mouseover"||t==="pointerover",v=t==="mouseout"||t==="pointerout";if(p&&!fs(i)){var g=i.relatedTarget||i.fromElement;if(g&&(Js(g)||Dp(g)))return}if(!(!v&&!p)){var C;if(u.window===u)C=u;else{var N=u.ownerDocument;N?C=N.defaultView||N.parentWindow:C=window}var k,I;if(v){var Q=i.relatedTarget||i.toElement;if(k=a,I=Q?Js(Q):null,I!==null){var X=va(I);(I!==X||I.tag!==W&&I.tag!==ne)&&(I=null)}}else k=null,I=a;if(k!==I){var be=ip,Ge="onMouseLeave",Be="onMouseEnter",Nt="mouse";(t==="pointerout"||t==="pointerover")&&(be=bh,Ge="onPointerLeave",Be="onPointerEnter",Nt="pointer");var wt=k==null?C:Lf(k),j=I==null?C:Lf(I),J=new be(Ge,Nt+"leave",k,i,u);J.target=wt,J.relatedTarget=j;var F=null,de=Js(u);if(de===a){var De=new be(Be,Nt+"enter",I,i,u);De.target=j,De.relatedTarget=wt,F=De}mR(e,J,F,k,I)}}}function V(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ce=typeof Object.is=="function"?Object.is:V;function Ae(e,t){if(ce(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=0;u<a.length;u++){var s=a[u];if(!_r.call(t,s)||!ce(e[s],t[s]))return!1}return!0}function qe(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xe(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function tt(e,t){for(var a=qe(e),i=0,u=0;a;){if(a.nodeType===Qi){if(u=i+a.textContent.length,i<=t&&u>=t)return{node:a,offset:t-i};i=u}a=qe(Xe(a))}}function nr(e){var t=e.ownerDocument,a=t&&t.defaultView||window,i=a.getSelection&&a.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,s=i.anchorOffset,f=i.focusNode,p=i.focusOffset;try{u.nodeType,f.nodeType}catch{return null}return Ht(e,u,s,f,p)}function Ht(e,t,a,i,u){var s=0,f=-1,p=-1,v=0,g=0,C=e,N=null;e:for(;;){for(var k=null;C===t&&(a===0||C.nodeType===Qi)&&(f=s+a),C===i&&(u===0||C.nodeType===Qi)&&(p=s+u),C.nodeType===Qi&&(s+=C.nodeValue.length),(k=C.firstChild)!==null;)N=C,C=k;for(;;){if(C===e)break e;if(N===t&&++v===a&&(f=s),N===i&&++g===u&&(p=s),(k=C.nextSibling)!==null)break;C=N,N=C.parentNode}C=k}return f===-1||p===-1?null:{start:f,end:p}}function Wl(e,t){var a=e.ownerDocument||document,i=a&&a.defaultView||window;if(i.getSelection){var u=i.getSelection(),s=e.textContent.length,f=Math.min(t.start,s),p=t.end===void 0?f:Math.min(t.end,s);if(!u.extend&&f>p){var v=p;p=f,f=v}var g=tt(e,f),C=tt(e,p);if(g&&C){if(u.rangeCount===1&&u.anchorNode===g.node&&u.anchorOffset===g.offset&&u.focusNode===C.node&&u.focusOffset===C.offset)return;var N=a.createRange();N.setStart(g.node,g.offset),u.removeAllRanges(),f>p?(u.addRange(N),u.extend(C.node,C.offset)):(N.setEnd(C.node,C.offset),u.addRange(N))}}}function Nh(e){return e&&e.nodeType===Qi}function OC(e,t){return!e||!t?!1:e===t?!0:Nh(e)?!1:Nh(t)?OC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Jw(e){return e&&e.ownerDocument&&OC(e.ownerDocument.documentElement,e)}function Zw(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function NC(){for(var e=window,t=Na();t instanceof e.HTMLIFrameElement;){if(Zw(t))e=t.contentWindow;else return t;t=Na(e.document)}return t}function Gy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function eR(){var e=NC();return{focusedElem:e,selectionRange:Gy(e)?nR(e):null}}function tR(e){var t=NC(),a=e.focusedElem,i=e.selectionRange;if(t!==a&&Jw(a)){i!==null&&Gy(a)&&rR(a,i);for(var u=[],s=a;s=s.parentNode;)s.nodeType===Gr&&u.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof a.focus=="function"&&a.focus();for(var f=0;f<u.length;f++){var p=u[f];p.element.scrollLeft=p.left,p.element.scrollTop=p.top}}}function nR(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=nr(e),t||{start:0,end:0}}function rR(e,t){var a=t.start,i=t.end;i===void 0&&(i=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(i,e.value.length)):Wl(e,t)}var aR=Ln&&"documentMode"in document&&document.documentMode<=11;function iR(){mt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var _f=null,qy=null,hp=null,Ky=!1;function lR(e){if("selectionStart"in e&&Gy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function uR(e){return e.window===e?e.document:e.nodeType===Gi?e:e.ownerDocument}function LC(e,t,a){var i=uR(a);if(!(Ky||_f==null||_f!==Na(i))){var u=lR(_f);if(!hp||!Ae(hp,u)){hp=u;var s=Uh(qy,"onSelect");if(s.length>0){var f=new Ai("onSelect","select",null,t,a);e.push({event:f,listeners:s}),f.target=_f}}}}function oR(e,t,a,i,u,s,f){var p=a?Lf(a):window;switch(t){case"focusin":(Gs(p)||p.contentEditable==="true")&&(_f=p,qy=a,hp=null);break;case"focusout":_f=null,qy=null,hp=null;break;case"mousedown":Ky=!0;break;case"contextmenu":case"mouseup":case"dragend":Ky=!1,LC(e,i,u);break;case"selectionchange":if(aR)break;case"keydown":case"keyup":LC(e,i,u)}}function Lh(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Df={animationend:Lh("Animation","AnimationEnd"),animationiteration:Lh("Animation","AnimationIteration"),animationstart:Lh("Animation","AnimationStart"),transitionend:Lh("Transition","TransitionEnd")},Xy={},MC={};Ln&&(MC=document.createElement("div").style,"AnimationEvent"in window||(delete Df.animationend.animation,delete Df.animationiteration.animation,delete Df.animationstart.animation),"TransitionEvent"in window||delete Df.transitionend.transition);function Mh(e){if(Xy[e])return Xy[e];if(!Df[e])return e;var t=Df[e];for(var a in t)if(t.hasOwnProperty(a)&&a in MC)return Xy[e]=t[a];return e}var AC=Mh("animationend"),UC=Mh("animationiteration"),zC=Mh("animationstart"),jC=Mh("transitionend"),FC=new Map,HC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Ao(e,t){FC.set(e,t),mt(t,[e])}function sR(){for(var e=0;e<HC.length;e++){var t=HC[e],a=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Ao(a,"on"+i)}Ao(AC,"onAnimationEnd"),Ao(UC,"onAnimationIteration"),Ao(zC,"onAnimationStart"),Ao("dblclick","onDoubleClick"),Ao("focusin","onFocus"),Ao("focusout","onBlur"),Ao(jC,"onTransitionEnd")}function cR(e,t,a,i,u,s,f){var p=FC.get(t);if(p!==void 0){var v=Ai,g=t;switch(t){case"keypress":if(Bl(i)===0)return;case"keydown":case"keyup":v=xh;break;case"focusin":g="focus",v=rl;break;case"focusout":g="blur",v=rl;break;case"beforeblur":case"afterblur":v=rl;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=ip;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=zu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=Rh;break;case AC:case UC:case zC:v=yh;break;case jC:v=Pa;break;case"scroll":v=aa;break;case"wheel":v=Yy;break;case"copy":case"cut":case"paste":v=Sf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=bh;break}var C=(s&La)!==0;{var N=!C&&t==="scroll",k=vR(a,p,i.type,C,N);if(k.length>0){var I=new v(p,g,null,i,u);e.push({event:I,listeners:k})}}}}sR(),U(),qs(),iR(),$y();function fR(e,t,a,i,u,s,f){cR(e,t,a,i,u,s);var p=(s&Dd)===0;p&&(O(e,t,a,i,u),On(e,t,a,i,u),oR(e,t,a,i,u),kh(e,t,a,i,u))}var mp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Jy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(mp));function VC(e,t,a){var i=e.type||"unknown-event";e.currentTarget=a,wi(i,t,void 0,e),e.currentTarget=null}function dR(e,t,a){var i;if(a)for(var u=t.length-1;u>=0;u--){var s=t[u],f=s.instance,p=s.currentTarget,v=s.listener;if(f!==i&&e.isPropagationStopped())return;VC(e,v,p),i=f}else for(var g=0;g<t.length;g++){var C=t[g],N=C.instance,k=C.currentTarget,I=C.listener;if(N!==i&&e.isPropagationStopped())return;VC(e,I,k),i=N}}function PC(e,t){for(var a=(t&La)!==0,i=0;i<e.length;i++){var u=e[i],s=u.event,f=u.listeners;dR(s,f,a)}vs()}function pR(e,t,a,i,u){var s=kd(a),f=[];fR(f,e,i,a,s,t),PC(f,t)}function En(e,t){Jy.has(e)||y('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,i=IT(t),u=yR(e);i.has(u)||(BC(t,e,Tc,a),i.add(u))}function Zy(e,t,a){Jy.has(e)&&!t&&y('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=La),BC(a,e,i,t)}var Ah="_reactListening"+Math.random().toString(36).slice(2);function yp(e){if(!e[Ah]){e[Ah]=!0,ft.forEach(function(a){a!=="selectionchange"&&(Jy.has(a)||Zy(a,!1,e),Zy(a,!0,e))});var t=e.nodeType===Gi?e:e.ownerDocument;t!==null&&(t[Ah]||(t[Ah]=!0,Zy("selectionchange",!1,t)))}}function BC(e,t,a,i,u){var s=fr(e,t,a),f=void 0;ps&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(f=!0),e=e,i?f!==void 0?ap(e,t,s,f):ra(e,t,s):f!==void 0?Oo(e,t,s,f):Is(e,t,s)}function IC(e,t){return e===t||e.nodeType===An&&e.parentNode===t}function eg(e,t,a,i,u){var s=i;if(!(t&_d)&&!(t&Tc)){var f=u;if(i!==null){var p=i;e:for(;;){if(p===null)return;var v=p.tag;if(v===A||v===q){var g=p.stateNode.containerInfo;if(IC(g,f))break;if(v===q)for(var C=p.return;C!==null;){var N=C.tag;if(N===A||N===q){var k=C.stateNode.containerInfo;if(IC(k,f))return}C=C.return}for(;g!==null;){var I=Js(g);if(I===null)return;var Q=I.tag;if(Q===W||Q===ne){p=s=I;continue e}g=g.parentNode}}p=p.return}}}Bv(function(){return pR(e,t,a,s)})}function gp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function vR(e,t,a,i,u,s){for(var f=t!==null?t+"Capture":null,p=i?f:t,v=[],g=e,C=null;g!==null;){var N=g,k=N.stateNode,I=N.tag;if(I===W&&k!==null&&(C=k,p!==null)){var Q=kl(g,p);Q!=null&&v.push(gp(g,Q,C))}if(u)break;g=g.return}return v}function Uh(e,t){for(var a=t+"Capture",i=[],u=e;u!==null;){var s=u,f=s.stateNode,p=s.tag;if(p===W&&f!==null){var v=f,g=kl(u,a);g!=null&&i.unshift(gp(u,g,v));var C=kl(u,t);C!=null&&i.push(gp(u,C,v))}u=u.return}return i}function kf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==W);return e||null}function hR(e,t){for(var a=e,i=t,u=0,s=a;s;s=kf(s))u++;for(var f=0,p=i;p;p=kf(p))f++;for(;u-f>0;)a=kf(a),u--;for(;f-u>0;)i=kf(i),f--;for(var v=u;v--;){if(a===i||i!==null&&a===i.alternate)return a;a=kf(a),i=kf(i)}return null}function YC(e,t,a,i,u){for(var s=t._reactName,f=[],p=a;p!==null&&p!==i;){var v=p,g=v.alternate,C=v.stateNode,N=v.tag;if(g!==null&&g===i)break;if(N===W&&C!==null){var k=C;if(u){var I=kl(p,s);I!=null&&f.unshift(gp(p,I,k))}else if(!u){var Q=kl(p,s);Q!=null&&f.push(gp(p,Q,k))}}p=p.return}f.length!==0&&e.push({event:t,listeners:f})}function mR(e,t,a,i,u){var s=i&&u?hR(i,u):null;i!==null&&YC(e,t,i,s,!1),u!==null&&a!==null&&YC(e,a,u,s,!0)}function yR(e,t){return e+"__bubble"}var Ba=!1,Sp="dangerouslySetInnerHTML",zh="suppressContentEditableWarning",Uo="suppressHydrationWarning",$C="autoFocus",Ks="children",Xs="style",jh="__html",tg,Fh,Cp,WC,Hh,QC,GC;tg={dialog:!0,webview:!0},Fh=function(e,t){wd(e,t),wc(e,t),Hv(e,t,{registrationNameDependencies:st,possibleRegistrationNames:dt})},QC=Ln&&!document.documentMode,Cp=function(e,t,a){if(!Ba){var i=Vh(a),u=Vh(t);u!==i&&(Ba=!0,y("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},WC=function(e){if(!Ba){Ba=!0;var t=[];e.forEach(function(a){t.push(a)}),y("Extra attributes from the server: %s",t)}},Hh=function(e,t){t===!1?y("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):y("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},GC=function(e,t){var a=e.namespaceURI===Wi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var gR=/\r\n?/g,SR=/\u0000|\uFFFD/g;function Vh(e){Xn(e);var t=typeof e=="string"?e:""+e;return t.replace(gR,`
160
+ `).replace(SR,"")}function Ph(e,t,a,i){var u=Vh(t),s=Vh(e);if(s!==u&&(i&&(Ba||(Ba=!0,y('Text content did not match. Server: "%s" Client: "%s"',s,u))),a&&Le))throw new Error("Text content does not match server-rendered HTML.")}function qC(e){return e.nodeType===Gi?e:e.ownerDocument}function CR(){}function Bh(e){e.onclick=CR}function ER(e,t,a,i,u){for(var s in i)if(i.hasOwnProperty(s)){var f=i[s];if(s===Xs)f&&Object.freeze(f),Mv(t,f);else if(s===Sp){var p=f?f[jh]:void 0;p!=null&&Ev(t,p)}else if(s===Ks)if(typeof f=="string"){var v=e!=="textarea"||f!=="";v&&fo(t,f)}else typeof f=="number"&&fo(t,""+f);else s===zh||s===Uo||s===$C||(st.hasOwnProperty(s)?f!=null&&(typeof f!="function"&&Hh(s,f),s==="onScroll"&&En("scroll",t)):f!=null&&Dr(t,s,f,u))}}function xR(e,t,a,i){for(var u=0;u<t.length;u+=2){var s=t[u],f=t[u+1];s===Xs?Mv(e,f):s===Sp?Ev(e,f):s===Ks?fo(e,f):Dr(e,s,f,i)}}function bR(e,t,a,i){var u,s=qC(a),f,p=i;if(p===Wi&&(p=yd(e)),p===Wi){if(u=_l(e,t),!u&&e!==e.toLowerCase()&&y("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var v=s.createElement("div");v.innerHTML="<script><\/script>";var g=v.firstChild;f=v.removeChild(g)}else if(typeof t.is=="string")f=s.createElement(e,{is:t.is});else if(f=s.createElement(e),e==="select"){var C=f;t.multiple?C.multiple=!0:t.size&&(C.size=t.size)}}else f=s.createElementNS(p,e);return p===Wi&&!u&&Object.prototype.toString.call(f)==="[object HTMLUnknownElement]"&&!_r.call(tg,e)&&(tg[e]=!0,y("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),f}function wR(e,t){return qC(t).createTextNode(e)}function RR(e,t,a,i){var u=_l(t,a);Fh(t,a);var s;switch(t){case"dialog":En("cancel",e),En("close",e),s=a;break;case"iframe":case"object":case"embed":En("load",e),s=a;break;case"video":case"audio":for(var f=0;f<mp.length;f++)En(mp[f],e);s=a;break;case"source":En("error",e),s=a;break;case"img":case"image":case"link":En("error",e),En("load",e),s=a;break;case"details":En("toggle",e),s=a;break;case"input":ri(e,a),s=co(e,a),En("invalid",e);break;case"option":At(e,a),s=a;break;case"select":du(e,a),s=as(e,a),En("invalid",e);break;case"textarea":vd(e,a),s=pd(e,a),En("invalid",e);break;default:s=a}switch(xc(t,s),ER(t,e,i,s,u),t){case"input":ni(e),Y(e,a,!1);break;case"textarea":ni(e),Sv(e);break;case"option":on(e,a);break;case"select":fd(e,a);break;default:typeof s.onClick=="function"&&Bh(e);break}}function TR(e,t,a,i,u){Fh(t,i);var s=null,f,p;switch(t){case"input":f=co(e,a),p=co(e,i),s=[];break;case"select":f=as(e,a),p=as(e,i),s=[];break;case"textarea":f=pd(e,a),p=pd(e,i),s=[];break;default:f=a,p=i,typeof f.onClick!="function"&&typeof p.onClick=="function"&&Bh(e);break}xc(t,p);var v,g,C=null;for(v in f)if(!(p.hasOwnProperty(v)||!f.hasOwnProperty(v)||f[v]==null))if(v===Xs){var N=f[v];for(g in N)N.hasOwnProperty(g)&&(C||(C={}),C[g]="")}else v===Sp||v===Ks||v===zh||v===Uo||v===$C||(st.hasOwnProperty(v)?s||(s=[]):(s=s||[]).push(v,null));for(v in p){var k=p[v],I=f!=null?f[v]:void 0;if(!(!p.hasOwnProperty(v)||k===I||k==null&&I==null))if(v===Xs)if(k&&Object.freeze(k),I){for(g in I)I.hasOwnProperty(g)&&(!k||!k.hasOwnProperty(g))&&(C||(C={}),C[g]="");for(g in k)k.hasOwnProperty(g)&&I[g]!==k[g]&&(C||(C={}),C[g]=k[g])}else C||(s||(s=[]),s.push(v,C)),C=k;else if(v===Sp){var Q=k?k[jh]:void 0,X=I?I[jh]:void 0;Q!=null&&X!==Q&&(s=s||[]).push(v,Q)}else v===Ks?(typeof k=="string"||typeof k=="number")&&(s=s||[]).push(v,""+k):v===zh||v===Uo||(st.hasOwnProperty(v)?(k!=null&&(typeof k!="function"&&Hh(v,k),v==="onScroll"&&En("scroll",e)),!s&&I!==k&&(s=[])):(s=s||[]).push(v,k))}return C&&(Dy(C,p[Xs]),(s=s||[]).push(Xs,C)),s}function _R(e,t,a,i,u){a==="input"&&u.type==="radio"&&u.name!=null&&h(e,u);var s=_l(a,i),f=_l(a,u);switch(xR(e,t,s,f),a){case"input":w(e,u);break;case"textarea":gv(e,u);break;case"select":Sc(e,u);break}}function DR(e){{var t=e.toLowerCase();return ss.hasOwnProperty(t)&&ss[t]||null}}function kR(e,t,a,i,u,s,f){var p,v;switch(p=_l(t,a),Fh(t,a),t){case"dialog":En("cancel",e),En("close",e);break;case"iframe":case"object":case"embed":En("load",e);break;case"video":case"audio":for(var g=0;g<mp.length;g++)En(mp[g],e);break;case"source":En("error",e);break;case"img":case"image":case"link":En("error",e),En("load",e);break;case"details":En("toggle",e);break;case"input":ri(e,a),En("invalid",e);break;case"option":At(e,a);break;case"select":du(e,a),En("invalid",e);break;case"textarea":vd(e,a),En("invalid",e);break}xc(t,a);{v=new Set;for(var C=e.attributes,N=0;N<C.length;N++){var k=C[N].name.toLowerCase();switch(k){case"value":break;case"checked":break;case"selected":break;default:v.add(C[N].name)}}}var I=null;for(var Q in a)if(a.hasOwnProperty(Q)){var X=a[Q];if(Q===Ks)typeof X=="string"?e.textContent!==X&&(a[Uo]!==!0&&Ph(e.textContent,X,s,f),I=[Ks,X]):typeof X=="number"&&e.textContent!==""+X&&(a[Uo]!==!0&&Ph(e.textContent,X,s,f),I=[Ks,""+X]);else if(st.hasOwnProperty(Q))X!=null&&(typeof X!="function"&&Hh(Q,X),Q==="onScroll"&&En("scroll",e));else if(f&&typeof p=="boolean"){var be=void 0,Ge=ln(Q);if(a[Uo]!==!0){if(!(Q===zh||Q===Uo||Q==="value"||Q==="checked"||Q==="selected")){if(Q===Sp){var Be=e.innerHTML,Nt=X?X[jh]:void 0;if(Nt!=null){var wt=GC(e,Nt);wt!==Be&&Cp(Q,Be,wt)}}else if(Q===Xs){if(v.delete(Q),QC){var j=Ty(X);be=e.getAttribute("style"),j!==be&&Cp(Q,be,j)}}else if(p&&!R)v.delete(Q.toLowerCase()),be=iu(e,Q,X),X!==be&&Cp(Q,be,X);else if(!mn(Q,Ge,p)&&!Jn(Q,X,Ge,p)){var J=!1;if(Ge!==null)v.delete(Ge.attributeName),be=gl(e,Q,X,Ge);else{var F=i;if(F===Wi&&(F=yd(t)),F===Wi)v.delete(Q.toLowerCase());else{var de=DR(Q);de!==null&&de!==Q&&(J=!0,v.delete(de)),v.delete(Q)}be=iu(e,Q,X)}var De=R;!De&&X!==be&&!J&&Cp(Q,be,X)}}}}}switch(f&&v.size>0&&a[Uo]!==!0&&WC(v),t){case"input":ni(e),Y(e,a,!0);break;case"textarea":ni(e),Sv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Bh(e);break}return I}function OR(e,t,a){var i=e.nodeValue!==t;return i}function ng(e,t){{if(Ba)return;Ba=!0,y("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function rg(e,t){{if(Ba)return;Ba=!0,y('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function ag(e,t,a){{if(Ba)return;Ba=!0,y("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ig(e,t){{if(t===""||Ba)return;Ba=!0,y('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function NR(e,t,a){switch(t){case"input":K(e,a);return;case"textarea":xy(e,a);return;case"select":dd(e,a);return}}var Ep=function(){},xp=function(){};{var LR=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],KC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],MR=KC.concat(["button"]),AR=["dd","dt","li","option","optgroup","p","rp","rt"],XC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};xp=function(e,t){var a=ct({},e||XC),i={tag:t};return KC.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),MR.indexOf(t)!==-1&&(a.pTagInButtonScope=null),LR.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),a};var UR=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return AR.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},zR=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},JC={};Ep=function(e,t,a){a=a||XC;var i=a.current,u=i&&i.tag;t!=null&&(e!=null&&y("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=UR(e,u)?null:i,f=s?null:zR(e,a),p=s||f;if(p){var v=p.tag,g=!!s+"|"+e+"|"+v;if(!JC[g]){JC[g]=!0;var C=e,N="";if(e==="#text"?/\S/.test(t)?C="Text nodes":(C="Whitespace text nodes",N=" Make sure you don't have any extra whitespace between tags on each line of your source code."):C="<"+e+">",s){var k="";v==="table"&&e==="tr"&&(k+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),y("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",C,v,N,k)}else y("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",C,v)}}}}var Ih="suppressHydrationWarning",Yh="$",$h="/$",bp="$?",wp="$!",jR="style",lg=null,ug=null;function FR(e){var t,a,i=e.nodeType;switch(i){case Gi:case Sd:{t=i===Gi?"#document":"#fragment";var u=e.documentElement;a=u?u.namespaceURI:gd(null,"");break}default:{var s=i===An?e.parentNode:e,f=s.namespaceURI||null;t=s.tagName,a=gd(f,t);break}}{var p=t.toLowerCase(),v=xp(null,p);return{namespace:a,ancestorInfo:v}}}function HR(e,t,a){{var i=e,u=gd(i.namespace,t),s=xp(i.ancestorInfo,t);return{namespace:u,ancestorInfo:s}}}function Pk(e){return e}function VR(e){lg=Vn(),ug=eR();var t=null;return qn(!1),t}function PR(e){tR(ug),qn(lg),lg=null,ug=null}function BR(e,t,a,i,u){var s;{var f=i;if(Ep(e,null,f.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var p=""+t.children,v=xp(f.ancestorInfo,e);Ep(null,p,v)}s=f.namespace}var g=bR(e,t,a,s);return _p(u,g),hg(g,t),g}function IR(e,t){e.appendChild(t)}function YR(e,t,a,i,u){switch(RR(e,t,a,i),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function $R(e,t,a,i,u,s){{var f=s;if(typeof i.children!=typeof a.children&&(typeof i.children=="string"||typeof i.children=="number")){var p=""+i.children,v=xp(f.ancestorInfo,t);Ep(null,p,v)}}return TR(e,t,a,i)}function og(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function WR(e,t,a,i){{var u=a;Ep(null,e,u.ancestorInfo)}var s=wR(e,t);return _p(i,s),s}function QR(){var e=window.event;return e===void 0?Fa:mf(e.type)}var sg=typeof setTimeout=="function"?setTimeout:void 0,GR=typeof clearTimeout=="function"?clearTimeout:void 0,cg=-1,ZC=typeof Promise=="function"?Promise:void 0,qR=typeof queueMicrotask=="function"?queueMicrotask:typeof ZC<"u"?function(e){return ZC.resolve(null).then(e).catch(KR)}:sg;function KR(e){setTimeout(function(){throw e})}function XR(e,t,a,i){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function JR(e,t,a,i,u,s){_R(e,t,a,i,u),hg(e,u)}function eE(e){fo(e,"")}function ZR(e,t,a){e.nodeValue=a}function eT(e,t){e.appendChild(t)}function tT(e,t){var a;e.nodeType===An?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var i=e._reactRootContainer;i==null&&a.onclick===null&&Bh(a)}function nT(e,t,a){e.insertBefore(t,a)}function rT(e,t,a){e.nodeType===An?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function aT(e,t){e.removeChild(t)}function iT(e,t){e.nodeType===An?e.parentNode.removeChild(t):e.removeChild(t)}function fg(e,t){var a=t,i=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===An){var s=u.data;if(s===$h)if(i===0){e.removeChild(u),Mu(t);return}else i--;else(s===Yh||s===bp||s===wp)&&i++}a=u}while(a);Mu(t)}function lT(e,t){e.nodeType===An?fg(e.parentNode,t):e.nodeType===Gr&&fg(e,t),Mu(e)}function uT(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function oT(e){e.nodeValue=""}function sT(e,t){e=e;var a=t[jR],i=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Ec("display",i)}function cT(e,t){e.nodeValue=t}function fT(e){e.nodeType===Gr?e.textContent="":e.nodeType===Gi&&e.documentElement&&e.removeChild(e.documentElement)}function dT(e,t,a){return e.nodeType!==Gr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function pT(e,t){return t===""||e.nodeType!==Qi?null:e}function vT(e){return e.nodeType!==An?null:e}function tE(e){return e.data===bp}function dg(e){return e.data===wp}function hT(e){var t=e.nextSibling&&e.nextSibling.dataset,a,i,u;return t&&(a=t.dgst,i=t.msg,u=t.stck),{message:i,digest:a,stack:u}}function mT(e,t){e._reactRetry=t}function Wh(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Gr||t===Qi)break;if(t===An){var a=e.data;if(a===Yh||a===wp||a===bp)break;if(a===$h)return null}}return e}function Rp(e){return Wh(e.nextSibling)}function yT(e){return Wh(e.firstChild)}function gT(e){return Wh(e.firstChild)}function ST(e){return Wh(e.nextSibling)}function CT(e,t,a,i,u,s,f){_p(s,e),hg(e,a);var p;{var v=u;p=v.namespace}var g=(s.mode&gt)!==$e;return kR(e,t,a,p,i,g,f)}function ET(e,t,a,i){return _p(a,e),a.mode&gt,OR(e,t)}function xT(e,t){_p(t,e)}function bT(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===An){var i=t.data;if(i===$h){if(a===0)return Rp(t);a--}else(i===Yh||i===wp||i===bp)&&a++}t=t.nextSibling}return null}function nE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===An){var i=t.data;if(i===Yh||i===wp||i===bp){if(a===0)return t;a--}else i===$h&&a++}t=t.previousSibling}return null}function wT(e){Mu(e)}function RT(e){Mu(e)}function TT(e){return e!=="head"&&e!=="body"}function _T(e,t,a,i){var u=!0;Ph(t.nodeValue,a,i,u)}function DT(e,t,a,i,u,s){if(t[Ih]!==!0){var f=!0;Ph(i.nodeValue,u,s,f)}}function kT(e,t){t.nodeType===Gr?ng(e,t):t.nodeType===An||rg(e,t)}function OT(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===Gr?ng(a,t):t.nodeType===An||rg(a,t))}}function NT(e,t,a,i,u){(u||t[Ih]!==!0)&&(i.nodeType===Gr?ng(a,i):i.nodeType===An||rg(a,i))}function LT(e,t,a){ag(e,t)}function MT(e,t){ig(e,t)}function AT(e,t,a){{var i=e.parentNode;i!==null&&ag(i,t)}}function UT(e,t){{var a=e.parentNode;a!==null&&ig(a,t)}}function zT(e,t,a,i,u,s){(s||t[Ih]!==!0)&&ag(a,i)}function jT(e,t,a,i,u){(u||t[Ih]!==!0)&&ig(a,i)}function FT(e){y("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function HT(e){yp(e)}var Of=Math.random().toString(36).slice(2),Nf="__reactFiber$"+Of,pg="__reactProps$"+Of,Tp="__reactContainer$"+Of,vg="__reactEvents$"+Of,VT="__reactListeners$"+Of,PT="__reactHandles$"+Of;function BT(e){delete e[Nf],delete e[pg],delete e[vg],delete e[VT],delete e[PT]}function _p(e,t){t[Nf]=e}function Qh(e,t){t[Tp]=e}function rE(e){e[Tp]=null}function Dp(e){return!!e[Tp]}function Js(e){var t=e[Nf];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Tp]||a[Nf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=nE(e);u!==null;){var s=u[Nf];if(s)return s;u=nE(u)}return t}e=a,a=e.parentNode}return null}function zo(e){var t=e[Nf]||e[Tp];return t&&(t.tag===W||t.tag===ne||t.tag===Re||t.tag===A)?t:null}function Lf(e){if(e.tag===W||e.tag===ne)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Gh(e){return e[pg]||null}function hg(e,t){e[pg]=t}function IT(e){var t=e[vg];return t===void 0&&(t=e[vg]=new Set),t}var aE={},iE=S.ReactDebugCurrentFrame;function qh(e){if(e){var t=e._owner,a=Ii(e.type,e._source,t?t.type:null);iE.setExtraStackFrame(a)}else iE.setExtraStackFrame(null)}function il(e,t,a,i,u){{var s=Function.call.bind(_r);for(var f in e)if(s(e,f)){var p=void 0;try{if(typeof e[f]!="function"){var v=Error((i||"React class")+": "+a+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}p=e[f](t,f,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(g){p=g}p&&!(p instanceof Error)&&(qh(u),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",a,f,typeof p),qh(null)),p instanceof Error&&!(p.message in aE)&&(aE[p.message]=!0,qh(u),y("Failed %s type: %s",a,p.message),qh(null))}}}var mg=[],Kh;Kh=[];var Hu=-1;function jo(e){return{current:e}}function ia(e,t){if(Hu<0){y("Unexpected pop.");return}t!==Kh[Hu]&&y("Unexpected Fiber popped."),e.current=mg[Hu],mg[Hu]=null,Kh[Hu]=null,Hu--}function la(e,t,a){Hu++,mg[Hu]=e.current,Kh[Hu]=a,e.current=t}var yg;yg={};var ci={};Object.freeze(ci);var Vu=jo(ci),Ql=jo(!1),gg=ci;function Mf(e,t,a){return a&&Gl(t)?gg:Vu.current}function lE(e,t,a){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=a}}function Af(e,t){{var a=e.type,i=a.contextTypes;if(!i)return ci;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var s={};for(var f in i)s[f]=t[f];{var p=nt(e)||"Unknown";il(i,s,"context",p)}return u&&lE(e,t,s),s}}function Xh(){return Ql.current}function Gl(e){{var t=e.childContextTypes;return t!=null}}function Jh(e){ia(Ql,e),ia(Vu,e)}function Sg(e){ia(Ql,e),ia(Vu,e)}function uE(e,t,a){{if(Vu.current!==ci)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");la(Vu,t,e),la(Ql,a,e)}}function oE(e,t,a){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var s=nt(e)||"Unknown";yg[s]||(yg[s]=!0,y("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s))}return a}var f=i.getChildContext();for(var p in f)if(!(p in u))throw new Error((nt(e)||"Unknown")+'.getChildContext(): key "'+p+'" is not defined in childContextTypes.');{var v=nt(e)||"Unknown";il(u,f,"child context",v)}return ct({},a,f)}}function Zh(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||ci;return gg=Vu.current,la(Vu,a,e),la(Ql,Ql.current,e),!0}}function sE(e,t,a){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var u=oE(e,t,gg);i.__reactInternalMemoizedMergedChildContext=u,ia(Ql,e),ia(Vu,e),la(Vu,u,e),la(Ql,a,e)}else ia(Ql,e),la(Ql,a,e)}}function YT(e){{if(!Su(e)||e.tag!==M)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case A:return t.stateNode.context;case M:{var a=t.type;if(Gl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Fo=0,em=1,Pu=null,Cg=!1,Eg=!1;function cE(e){Pu===null?Pu=[e]:Pu.push(e)}function $T(e){Cg=!0,cE(e)}function fE(){Cg&&Ho()}function Ho(){if(!Eg&&Pu!==null){Eg=!0;var e=0,t=Va();try{var a=!0,i=Pu;for(Hn(Mr);e<i.length;e++){var u=i[e];do u=u(a);while(u!==null)}Pu=null,Cg=!1}catch(s){throw Pu!==null&&(Pu=Pu.slice(e+1)),Nd(ys,Ho),s}finally{Hn(t),Eg=!1}}return null}var Uf=[],zf=0,tm=null,nm=0,Ui=[],zi=0,Zs=null,Bu=1,Iu="";function WT(e){return tc(),(e.flags&Ri)!==Ye}function QT(e){return tc(),nm}function GT(){var e=Iu,t=Bu,a=t&~qT(t);return a.toString(32)+e}function ec(e,t){tc(),Uf[zf++]=nm,Uf[zf++]=tm,tm=e,nm=t}function dE(e,t,a){tc(),Ui[zi++]=Bu,Ui[zi++]=Iu,Ui[zi++]=Zs,Zs=e;var i=Bu,u=Iu,s=rm(i)-1,f=i&~(1<<s),p=a+1,v=rm(t)+s;if(v>30){var g=s-s%5,C=(1<<g)-1,N=(f&C).toString(32),k=f>>g,I=s-g,Q=rm(t)+I,X=p<<I,be=X|k,Ge=N+u;Bu=1<<Q|be,Iu=Ge}else{var Be=p<<s,Nt=Be|f,wt=u;Bu=1<<v|Nt,Iu=wt}}function xg(e){tc();var t=e.return;if(t!==null){var a=1,i=0;ec(e,a),dE(e,a,i)}}function rm(e){return 32-jn(e)}function qT(e){return 1<<rm(e)-1}function bg(e){for(;e===tm;)tm=Uf[--zf],Uf[zf]=null,nm=Uf[--zf],Uf[zf]=null;for(;e===Zs;)Zs=Ui[--zi],Ui[zi]=null,Iu=Ui[--zi],Ui[zi]=null,Bu=Ui[--zi],Ui[zi]=null}function KT(){return tc(),Zs!==null?{id:Bu,overflow:Iu}:null}function XT(e,t){tc(),Ui[zi++]=Bu,Ui[zi++]=Iu,Ui[zi++]=Zs,Bu=t.id,Iu=t.overflow,Zs=e}function tc(){Fr()||y("Expected to be hydrating. This is a bug in React. Please file an issue.")}var jr=null,ji=null,ll=!1,nc=!1,Vo=null;function JT(){ll&&y("We should not be hydrating here. This is a bug in React. Please file a bug.")}function pE(){nc=!0}function ZT(){return nc}function e1(e){var t=e.stateNode.containerInfo;return ji=gT(t),jr=e,ll=!0,Vo=null,nc=!1,!0}function t1(e,t,a){return ji=ST(t),jr=e,ll=!0,Vo=null,nc=!1,a!==null&&XT(e,a),!0}function vE(e,t){switch(e.tag){case A:{kT(e.stateNode.containerInfo,t);break}case W:{var a=(e.mode&gt)!==$e;NT(e.type,e.memoizedProps,e.stateNode,t,a);break}case Re:{var i=e.memoizedState;i.dehydrated!==null&&OT(i.dehydrated,t);break}}}function hE(e,t){vE(e,t);var a=ik();a.stateNode=t,a.return=e;var i=e.deletions;i===null?(e.deletions=[a],e.flags|=Ma):i.push(a)}function wg(e,t){{if(nc)return;switch(e.tag){case A:{var a=e.stateNode.containerInfo;switch(t.tag){case W:var i=t.type;t.pendingProps,LT(a,i);break;case ne:var u=t.pendingProps;MT(a,u);break}break}case W:{var s=e.type,f=e.memoizedProps,p=e.stateNode;switch(t.tag){case W:{var v=t.type,g=t.pendingProps,C=(e.mode&gt)!==$e;zT(s,f,p,v,g,C);break}case ne:{var N=t.pendingProps,k=(e.mode&gt)!==$e;jT(s,f,p,N,k);break}}break}case Re:{var I=e.memoizedState,Q=I.dehydrated;if(Q!==null)switch(t.tag){case W:var X=t.type;t.pendingProps,AT(Q,X);break;case ne:var be=t.pendingProps;UT(Q,be);break}break}default:return}}}function mE(e,t){t.flags=t.flags&~Kr|gn,wg(e,t)}function yE(e,t){switch(e.tag){case W:{var a=e.type;e.pendingProps;var i=dT(t,a);return i!==null?(e.stateNode=i,jr=e,ji=yT(i),!0):!1}case ne:{var u=e.pendingProps,s=pT(t,u);return s!==null?(e.stateNode=s,jr=e,ji=null,!0):!1}case Re:{var f=vT(t);if(f!==null){var p={dehydrated:f,treeContext:KT(),retryLane:ea};e.memoizedState=p;var v=lk(f);return v.return=e,e.child=v,jr=e,ji=null,!0}return!1}default:return!1}}function Rg(e){return(e.mode&gt)!==$e&&(e.flags&Ie)===Ye}function Tg(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function _g(e){if(ll){var t=ji;if(!t){Rg(e)&&(wg(jr,e),Tg()),mE(jr,e),ll=!1,jr=e;return}var a=t;if(!yE(e,t)){Rg(e)&&(wg(jr,e),Tg()),t=Rp(a);var i=jr;if(!t||!yE(e,t)){mE(jr,e),ll=!1,jr=e;return}hE(i,a)}}}function n1(e,t,a){var i=e.stateNode,u=!nc,s=CT(i,e.type,e.memoizedProps,t,a,e,u);return e.updateQueue=s,s!==null}function r1(e){var t=e.stateNode,a=e.memoizedProps,i=ET(t,a,e);if(i){var u=jr;if(u!==null)switch(u.tag){case A:{var s=u.stateNode.containerInfo,f=(u.mode&gt)!==$e;_T(s,t,a,f);break}case W:{var p=u.type,v=u.memoizedProps,g=u.stateNode,C=(u.mode&gt)!==$e;DT(p,v,g,t,a,C);break}}}return i}function a1(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xT(a,e)}function i1(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return bT(a)}function gE(e){for(var t=e.return;t!==null&&t.tag!==W&&t.tag!==A&&t.tag!==Re;)t=t.return;jr=t}function am(e){if(e!==jr)return!1;if(!ll)return gE(e),ll=!0,!1;if(e.tag!==A&&(e.tag!==W||TT(e.type)&&!og(e.type,e.memoizedProps))){var t=ji;if(t)if(Rg(e))SE(e),Tg();else for(;t;)hE(e,t),t=Rp(t)}return gE(e),e.tag===Re?ji=i1(e):ji=jr?Rp(e.stateNode):null,!0}function l1(){return ll&&ji!==null}function SE(e){for(var t=ji;t;)vE(e,t),t=Rp(t)}function jf(){jr=null,ji=null,ll=!1,nc=!1}function CE(){Vo!==null&&(pb(Vo),Vo=null)}function Fr(){return ll}function Dg(e){Vo===null?Vo=[e]:Vo.push(e)}var u1=S.ReactCurrentBatchConfig,o1=null;function s1(){return u1.transition}var ul={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var c1=function(e){for(var t=null,a=e;a!==null;)a.mode&Zt&&(t=a),a=a.return;return t},rc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},kp=[],Op=[],Np=[],Lp=[],Mp=[],Ap=[],ac=new Set;ul.recordUnsafeLifecycleWarnings=function(e,t){ac.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&kp.push(e),e.mode&Zt&&typeof t.UNSAFE_componentWillMount=="function"&&Op.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Np.push(e),e.mode&Zt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Lp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Mp.push(e),e.mode&Zt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ap.push(e))},ul.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;kp.length>0&&(kp.forEach(function(k){e.add(nt(k)||"Component"),ac.add(k.type)}),kp=[]);var t=new Set;Op.length>0&&(Op.forEach(function(k){t.add(nt(k)||"Component"),ac.add(k.type)}),Op=[]);var a=new Set;Np.length>0&&(Np.forEach(function(k){a.add(nt(k)||"Component"),ac.add(k.type)}),Np=[]);var i=new Set;Lp.length>0&&(Lp.forEach(function(k){i.add(nt(k)||"Component"),ac.add(k.type)}),Lp=[]);var u=new Set;Mp.length>0&&(Mp.forEach(function(k){u.add(nt(k)||"Component"),ac.add(k.type)}),Mp=[]);var s=new Set;if(Ap.length>0&&(Ap.forEach(function(k){s.add(nt(k)||"Component"),ac.add(k.type)}),Ap=[]),t.size>0){var f=rc(t);y(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
161
+
162
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
163
+
164
+ Please update the following components: %s`,f)}if(i.size>0){var p=rc(i);y(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
165
+
166
+ * Move data fetching code or side effects to componentDidUpdate.
167
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
168
+
169
+ Please update the following components: %s`,p)}if(s.size>0){var v=rc(s);y(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
170
+
171
+ * Move data fetching code or side effects to componentDidUpdate.
172
+
173
+ Please update the following components: %s`,v)}if(e.size>0){var g=rc(e);L(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
174
+
175
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
176
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
177
+
178
+ Please update the following components: %s`,g)}if(a.size>0){var C=rc(a);L(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
179
+
180
+ * Move data fetching code or side effects to componentDidUpdate.
181
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
182
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
183
+
184
+ Please update the following components: %s`,C)}if(u.size>0){var N=rc(u);L(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
185
+
186
+ * Move data fetching code or side effects to componentDidUpdate.
187
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
188
+
189
+ Please update the following components: %s`,N)}};var im=new Map,EE=new Set;ul.recordLegacyContextWarning=function(e,t){var a=c1(e);if(a===null){y("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!EE.has(e.type)){var i=im.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],im.set(a,i)),i.push(e))}},ul.flushLegacyContextWarning=function(){im.forEach(function(e,t){if(e.length!==0){var a=e[0],i=new Set;e.forEach(function(s){i.add(nt(s)||"Component"),EE.add(s.type)});var u=rc(i);try{Kt(a),y(`Legacy context API has been detected within a strict-mode tree.
190
+
191
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
192
+
193
+ Please update the following components: %s
194
+
195
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{dn()}}})},ul.discardPendingWarnings=function(){kp=[],Op=[],Np=[],Lp=[],Mp=[],Ap=[],im=new Map}}var kg,Og,Ng,Lg,Mg,xE=function(e,t){};kg=!1,Og=!1,Ng={},Lg={},Mg={},xE=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=nt(t)||"Component";Lg[a]||(Lg[a]=!0,y('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function f1(e){return e.prototype&&e.prototype.isReactComponent}function Up(e,t,a){var i=a.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Zt||Z)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)&&!(a._owner&&a._owner.tag!==M)&&!(typeof a.type=="function"&&!f1(a.type))&&a._owner){var u=nt(e)||"Component";Ng[u]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u,i),Ng[u]=!0)}if(a._owner){var s=a._owner,f;if(s){var p=s;if(p.tag!==M)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");f=p.stateNode}if(!f)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var v=f;pi(i,"ref");var g=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===g)return t.ref;var C=function(N){var k=v.refs;N===null?delete k[g]:k[g]=N};return C._stringRef=g,C}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
196
+ 1. You may be adding a ref to a function component
197
+ 2. You may be adding a ref to a component that was not created inside a component's render method
198
+ 3. You have multiple copies of React loaded
199
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function lm(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function um(e){{var t=nt(e)||"Component";if(Mg[t])return;Mg[t]=!0,y("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function bE(e){var t=e._payload,a=e._init;return a(t)}function wE(e){function t(j,J){if(e){var F=j.deletions;F===null?(j.deletions=[J],j.flags|=Ma):F.push(J)}}function a(j,J){if(!e)return null;for(var F=J;F!==null;)t(j,F),F=F.sibling;return null}function i(j,J){for(var F=new Map,de=J;de!==null;)de.key!==null?F.set(de.key,de):F.set(de.index,de),de=de.sibling;return F}function u(j,J){var F=pc(j,J);return F.index=0,F.sibling=null,F}function s(j,J,F){if(j.index=F,!e)return j.flags|=Ri,J;var de=j.alternate;if(de!==null){var De=de.index;return De<J?(j.flags|=gn,J):De}else return j.flags|=gn,J}function f(j){return e&&j.alternate===null&&(j.flags|=gn),j}function p(j,J,F,de){if(J===null||J.tag!==ne){var De=D0(F,j.mode,de);return De.return=j,De}else{var we=u(J,F);return we.return=j,we}}function v(j,J,F,de){var De=F.type;if(De===hi)return C(j,J,F.props.children,de,F.key);if(J!==null&&(J.elementType===De||kb(J,F)||typeof De=="object"&&De!==null&&De.$$typeof===rt&&bE(De)===J.type)){var we=u(J,F.props);return we.ref=Up(j,J,F),we.return=j,we._debugSource=F._source,we._debugOwner=F._owner,we}var et=_0(F,j.mode,de);return et.ref=Up(j,J,F),et.return=j,et}function g(j,J,F,de){if(J===null||J.tag!==q||J.stateNode.containerInfo!==F.containerInfo||J.stateNode.implementation!==F.implementation){var De=k0(F,j.mode,de);return De.return=j,De}else{var we=u(J,F.children||[]);return we.return=j,we}}function C(j,J,F,de,De){if(J===null||J.tag!==ee){var we=Xo(F,j.mode,de,De);return we.return=j,we}else{var et=u(J,F);return et.return=j,et}}function N(j,J,F){if(typeof J=="string"&&J!==""||typeof J=="number"){var de=D0(""+J,j.mode,F);return de.return=j,de}if(typeof J=="object"&&J!==null){switch(J.$$typeof){case kr:{var De=_0(J,j.mode,F);return De.ref=Up(j,null,J),De.return=j,De}case ir:{var we=k0(J,j.mode,F);return we.return=j,we}case rt:{var et=J._payload,it=J._init;return N(j,it(et),F)}}if(vt(J)||ut(J)){var tn=Xo(J,j.mode,F,null);return tn.return=j,tn}lm(j,J)}return typeof J=="function"&&um(j),null}function k(j,J,F,de){var De=J!==null?J.key:null;if(typeof F=="string"&&F!==""||typeof F=="number")return De!==null?null:p(j,J,""+F,de);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case kr:return F.key===De?v(j,J,F,de):null;case ir:return F.key===De?g(j,J,F,de):null;case rt:{var we=F._payload,et=F._init;return k(j,J,et(we),de)}}if(vt(F)||ut(F))return De!==null?null:C(j,J,F,de,null);lm(j,F)}return typeof F=="function"&&um(j),null}function I(j,J,F,de,De){if(typeof de=="string"&&de!==""||typeof de=="number"){var we=j.get(F)||null;return p(J,we,""+de,De)}if(typeof de=="object"&&de!==null){switch(de.$$typeof){case kr:{var et=j.get(de.key===null?F:de.key)||null;return v(J,et,de,De)}case ir:{var it=j.get(de.key===null?F:de.key)||null;return g(J,it,de,De)}case rt:var tn=de._payload,Vt=de._init;return I(j,J,F,Vt(tn),De)}if(vt(de)||ut(de)){var Kn=j.get(F)||null;return C(J,Kn,de,De,null)}lm(J,de)}return typeof de=="function"&&um(J),null}function Q(j,J,F){{if(typeof j!="object"||j===null)return J;switch(j.$$typeof){case kr:case ir:xE(j,F);var de=j.key;if(typeof de!="string")break;if(J===null){J=new Set,J.add(de);break}if(!J.has(de)){J.add(de);break}y("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",de);break;case rt:var De=j._payload,we=j._init;Q(we(De),J,F);break}}return J}function X(j,J,F,de){for(var De=null,we=0;we<F.length;we++){var et=F[we];De=Q(et,De,j)}for(var it=null,tn=null,Vt=J,Kn=0,Pt=0,Bn=null;Vt!==null&&Pt<F.length;Pt++){Vt.index>Pt?(Bn=Vt,Vt=null):Bn=Vt.sibling;var oa=k(j,Vt,F[Pt],de);if(oa===null){Vt===null&&(Vt=Bn);break}e&&Vt&&oa.alternate===null&&t(j,Vt),Kn=s(oa,Kn,Pt),tn===null?it=oa:tn.sibling=oa,tn=oa,Vt=Bn}if(Pt===F.length){if(a(j,Vt),Fr()){var $r=Pt;ec(j,$r)}return it}if(Vt===null){for(;Pt<F.length;Pt++){var di=N(j,F[Pt],de);di!==null&&(Kn=s(di,Kn,Pt),tn===null?it=di:tn.sibling=di,tn=di)}if(Fr()){var ba=Pt;ec(j,ba)}return it}for(var wa=i(j,Vt);Pt<F.length;Pt++){var sa=I(wa,j,Pt,F[Pt],de);sa!==null&&(e&&sa.alternate!==null&&wa.delete(sa.key===null?Pt:sa.key),Kn=s(sa,Kn,Pt),tn===null?it=sa:tn.sibling=sa,tn=sa)}if(e&&wa.forEach(function(nd){return t(j,nd)}),Fr()){var Ku=Pt;ec(j,Ku)}return it}function be(j,J,F,de){var De=ut(F);if(typeof De!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&F[Symbol.toStringTag]==="Generator"&&(Og||y("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Og=!0),F.entries===De&&(kg||y("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kg=!0);var we=De.call(F);if(we)for(var et=null,it=we.next();!it.done;it=we.next()){var tn=it.value;et=Q(tn,et,j)}}var Vt=De.call(F);if(Vt==null)throw new Error("An iterable object provided no iterator.");for(var Kn=null,Pt=null,Bn=J,oa=0,$r=0,di=null,ba=Vt.next();Bn!==null&&!ba.done;$r++,ba=Vt.next()){Bn.index>$r?(di=Bn,Bn=null):di=Bn.sibling;var wa=k(j,Bn,ba.value,de);if(wa===null){Bn===null&&(Bn=di);break}e&&Bn&&wa.alternate===null&&t(j,Bn),oa=s(wa,oa,$r),Pt===null?Kn=wa:Pt.sibling=wa,Pt=wa,Bn=di}if(ba.done){if(a(j,Bn),Fr()){var sa=$r;ec(j,sa)}return Kn}if(Bn===null){for(;!ba.done;$r++,ba=Vt.next()){var Ku=N(j,ba.value,de);Ku!==null&&(oa=s(Ku,oa,$r),Pt===null?Kn=Ku:Pt.sibling=Ku,Pt=Ku)}if(Fr()){var nd=$r;ec(j,nd)}return Kn}for(var pv=i(j,Bn);!ba.done;$r++,ba=Vt.next()){var nu=I(pv,j,$r,ba.value,de);nu!==null&&(e&&nu.alternate!==null&&pv.delete(nu.key===null?$r:nu.key),oa=s(nu,oa,$r),Pt===null?Kn=nu:Pt.sibling=nu,Pt=nu)}if(e&&pv.forEach(function(jk){return t(j,jk)}),Fr()){var zk=$r;ec(j,zk)}return Kn}function Ge(j,J,F,de){if(J!==null&&J.tag===ne){a(j,J.sibling);var De=u(J,F);return De.return=j,De}a(j,J);var we=D0(F,j.mode,de);return we.return=j,we}function Be(j,J,F,de){for(var De=F.key,we=J;we!==null;){if(we.key===De){var et=F.type;if(et===hi){if(we.tag===ee){a(j,we.sibling);var it=u(we,F.props.children);return it.return=j,it._debugSource=F._source,it._debugOwner=F._owner,it}}else if(we.elementType===et||kb(we,F)||typeof et=="object"&&et!==null&&et.$$typeof===rt&&bE(et)===we.type){a(j,we.sibling);var tn=u(we,F.props);return tn.ref=Up(j,we,F),tn.return=j,tn._debugSource=F._source,tn._debugOwner=F._owner,tn}a(j,we);break}else t(j,we);we=we.sibling}if(F.type===hi){var Vt=Xo(F.props.children,j.mode,de,F.key);return Vt.return=j,Vt}else{var Kn=_0(F,j.mode,de);return Kn.ref=Up(j,J,F),Kn.return=j,Kn}}function Nt(j,J,F,de){for(var De=F.key,we=J;we!==null;){if(we.key===De)if(we.tag===q&&we.stateNode.containerInfo===F.containerInfo&&we.stateNode.implementation===F.implementation){a(j,we.sibling);var et=u(we,F.children||[]);return et.return=j,et}else{a(j,we);break}else t(j,we);we=we.sibling}var it=k0(F,j.mode,de);return it.return=j,it}function wt(j,J,F,de){var De=typeof F=="object"&&F!==null&&F.type===hi&&F.key===null;if(De&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case kr:return f(Be(j,J,F,de));case ir:return f(Nt(j,J,F,de));case rt:var we=F._payload,et=F._init;return wt(j,J,et(we),de)}if(vt(F))return X(j,J,F,de);if(ut(F))return be(j,J,F,de);lm(j,F)}return typeof F=="string"&&F!==""||typeof F=="number"?f(Ge(j,J,""+F,de)):(typeof F=="function"&&um(j),a(j,J))}return wt}var Ff=wE(!0),RE=wE(!1);function d1(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,i=pc(a,a.pendingProps);for(t.child=i,i.return=t;a.sibling!==null;)a=a.sibling,i=i.sibling=pc(a,a.pendingProps),i.return=t;i.sibling=null}}function p1(e,t){for(var a=e.child;a!==null;)ek(a,t),a=a.sibling}var Ag=jo(null),Ug;Ug={};var om=null,Hf=null,zg=null,sm=!1;function cm(){om=null,Hf=null,zg=null,sm=!1}function TE(){sm=!0}function _E(){sm=!1}function DE(e,t,a){la(Ag,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Ug&&y("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Ug}function jg(e,t){var a=Ag.current;ia(Ag,t),e._currentValue=a}function Fg(e,t,a){for(var i=e;i!==null;){var u=i.alternate;if(Lu(i.childLanes,t)?u!==null&&!Lu(u.childLanes,t)&&(u.childLanes=ot(u.childLanes,t)):(i.childLanes=ot(i.childLanes,t),u!==null&&(u.childLanes=ot(u.childLanes,t))),i===a)break;i=i.return}i!==a&&y("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function v1(e,t,a){h1(e,t,a)}function h1(e,t,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,s=i.dependencies;if(s!==null){u=i.child;for(var f=s.firstContext;f!==null;){if(f.context===t){if(i.tag===M){var p=Ns(a),v=Yu(rn,p);v.tag=dm;var g=i.updateQueue;if(g!==null){var C=g.shared,N=C.pending;N===null?v.next=v:(v.next=N.next,N.next=v),C.pending=v}}i.lanes=ot(i.lanes,a);var k=i.alternate;k!==null&&(k.lanes=ot(k.lanes,a)),Fg(i.return,a,e),s.lanes=ot(s.lanes,a);break}f=f.next}}else if(i.tag===te)u=i.type===e.type?null:i.child;else if(i.tag===Bt){var I=i.return;if(I===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");I.lanes=ot(I.lanes,a);var Q=I.alternate;Q!==null&&(Q.lanes=ot(Q.lanes,a)),Fg(I,a,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var X=u.sibling;if(X!==null){X.return=u.return,u=X;break}u=u.return}i=u}}function Vf(e,t){om=e,Hf=null,zg=null;var a=e.dependencies;if(a!==null){var i=a.firstContext;i!==null&&(ta(a.lanes,t)&&Kp(),a.firstContext=null)}}function rr(e){sm&&y("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(zg!==e){var a={context:e,memoizedValue:t,next:null};if(Hf===null){if(om===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Hf=a,om.dependencies={lanes:ue,firstContext:a}}else Hf=Hf.next=a}return t}var ic=null;function Hg(e){ic===null?ic=[e]:ic.push(e)}function m1(){if(ic!==null){for(var e=0;e<ic.length;e++){var t=ic[e],a=t.interleaved;if(a!==null){t.interleaved=null;var i=a.next,u=t.pending;if(u!==null){var s=u.next;u.next=i,a.next=s}t.pending=a}}ic=null}}function kE(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,Hg(t)):(a.next=u.next,u.next=a),t.interleaved=a,fm(e,i)}function y1(e,t,a,i){var u=t.interleaved;u===null?(a.next=a,Hg(t)):(a.next=u.next,u.next=a),t.interleaved=a}function g1(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,Hg(t)):(a.next=u.next,u.next=a),t.interleaved=a,fm(e,i)}function Ia(e,t){return fm(e,t)}var S1=fm;function fm(e,t){e.lanes=ot(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=ot(a.lanes,t)),a===null&&(e.flags&(gn|Kr))!==Ye&&Rb(e);for(var i=e,u=e.return;u!==null;)u.childLanes=ot(u.childLanes,t),a=u.alternate,a!==null?a.childLanes=ot(a.childLanes,t):(u.flags&(gn|Kr))!==Ye&&Rb(e),i=u,u=u.return;if(i.tag===A){var s=i.stateNode;return s}else return null}var OE=0,NE=1,dm=2,Vg=3,pm=!1,Pg,vm;Pg=!1,vm=null;function Bg(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ue},effects:null};e.updateQueue=t}function LE(e,t){var a=t.updateQueue,i=e.updateQueue;if(a===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function Yu(e,t){var a={eventTime:e,lane:t,tag:OE,payload:null,callback:null,next:null};return a}function Po(e,t,a){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(vm===u&&!Pg&&(y("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Pg=!0),yD()){var s=u.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),u.pending=t,S1(e,a)}else return g1(e,u,t,a)}function hm(e,t,a){var i=t.updateQueue;if(i!==null){var u=i.shared;if(Gd(a)){var s=u.lanes;s=Kd(s,e.pendingLanes);var f=ot(s,a);u.lanes=f,df(e,f)}}}function Ig(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(a===u){var s=null,f=null,p=a.firstBaseUpdate;if(p!==null){var v=p;do{var g={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};f===null?s=f=g:(f.next=g,f=g),v=v.next}while(v!==null);f===null?s=f=t:(f.next=t,f=t)}else s=f=t;a={baseState:u.baseState,firstBaseUpdate:s,lastBaseUpdate:f,shared:u.shared,effects:u.effects},e.updateQueue=a;return}}var C=a.lastBaseUpdate;C===null?a.firstBaseUpdate=t:C.next=t,a.lastBaseUpdate=t}function C1(e,t,a,i,u,s){switch(a.tag){case NE:{var f=a.payload;if(typeof f=="function"){TE();var p=f.call(s,i,u);{if(e.mode&Zt){Sn(!0);try{f.call(s,i,u)}finally{Sn(!1)}}_E()}return p}return f}case Vg:e.flags=e.flags&~Zn|Ie;case OE:{var v=a.payload,g;if(typeof v=="function"){TE(),g=v.call(s,i,u);{if(e.mode&Zt){Sn(!0);try{v.call(s,i,u)}finally{Sn(!1)}}_E()}}else g=v;return g==null?i:ct({},i,g)}case dm:return pm=!0,i}return i}function mm(e,t,a,i){var u=e.updateQueue;pm=!1,vm=u.shared;var s=u.firstBaseUpdate,f=u.lastBaseUpdate,p=u.shared.pending;if(p!==null){u.shared.pending=null;var v=p,g=v.next;v.next=null,f===null?s=g:f.next=g,f=v;var C=e.alternate;if(C!==null){var N=C.updateQueue,k=N.lastBaseUpdate;k!==f&&(k===null?N.firstBaseUpdate=g:k.next=g,N.lastBaseUpdate=v)}}if(s!==null){var I=u.baseState,Q=ue,X=null,be=null,Ge=null,Be=s;do{var Nt=Be.lane,wt=Be.eventTime;if(Lu(i,Nt)){if(Ge!==null){var J={eventTime:wt,lane:Ut,tag:Be.tag,payload:Be.payload,callback:Be.callback,next:null};Ge=Ge.next=J}I=C1(e,u,Be,I,t,a);var F=Be.callback;if(F!==null&&Be.lane!==Ut){e.flags|=sn;var de=u.effects;de===null?u.effects=[Be]:de.push(Be)}}else{var j={eventTime:wt,lane:Nt,tag:Be.tag,payload:Be.payload,callback:Be.callback,next:null};Ge===null?(be=Ge=j,X=I):Ge=Ge.next=j,Q=ot(Q,Nt)}if(Be=Be.next,Be===null){if(p=u.shared.pending,p===null)break;var De=p,we=De.next;De.next=null,Be=we,u.lastBaseUpdate=De,u.shared.pending=null}}while(!0);Ge===null&&(X=I),u.baseState=X,u.firstBaseUpdate=be,u.lastBaseUpdate=Ge;var et=u.shared.interleaved;if(et!==null){var it=et;do Q=ot(Q,it.lane),it=it.next;while(it!==et)}else s===null&&(u.shared.lanes=ue);ov(Q),e.lanes=Q,e.memoizedState=I}vm=null}function E1(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function ME(){pm=!1}function ym(){return pm}function AE(e,t,a){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var s=i[u],f=s.callback;f!==null&&(s.callback=null,E1(f,a))}}var zp={},Bo=jo(zp),jp=jo(zp),gm=jo(zp);function Sm(e){if(e===zp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function UE(){var e=Sm(gm.current);return e}function Yg(e,t){la(gm,t,e),la(jp,e,e),la(Bo,zp,e);var a=FR(t);ia(Bo,e),la(Bo,a,e)}function Pf(e){ia(Bo,e),ia(jp,e),ia(gm,e)}function $g(){var e=Sm(Bo.current);return e}function zE(e){Sm(gm.current);var t=Sm(Bo.current),a=HR(t,e.type);t!==a&&(la(jp,e,e),la(Bo,a,e))}function Wg(e){jp.current===e&&(ia(Bo,e),ia(jp,e))}var x1=0,jE=1,FE=1,Fp=2,ol=jo(x1);function Qg(e,t){return(e&t)!==0}function Bf(e){return e&jE}function Gg(e,t){return e&jE|t}function b1(e,t){return e|t}function Io(e,t){la(ol,t,e)}function If(e){ia(ol,e)}function w1(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function Cm(e){for(var t=e;t!==null;){if(t.tag===Re){var a=t.memoizedState;if(a!==null){var i=a.dehydrated;if(i===null||tE(i)||dg(i))return t}}else if(t.tag===nn&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&Ie)!==Ye;if(u)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ya=0,dr=1,ql=2,pr=4,Hr=8,qg=[];function Kg(){for(var e=0;e<qg.length;e++){var t=qg[e];t._workInProgressVersionPrimary=null}qg.length=0}function R1(e,t){var a=t._getVersion,i=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var _e=S.ReactCurrentDispatcher,Hp=S.ReactCurrentBatchConfig,Xg,Yf;Xg=new Set;var lc=ue,en=null,vr=null,hr=null,Em=!1,Vp=!1,Pp=0,T1=0,_1=25,ae=null,Fi=null,Yo=-1,Jg=!1;function Wt(){{var e=ae;Fi===null?Fi=[e]:Fi.push(e)}}function Se(){{var e=ae;Fi!==null&&(Yo++,Fi[Yo]!==e&&D1(e))}}function $f(e){e!=null&&!vt(e)&&y("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ae,typeof e)}function D1(e){{var t=nt(en);if(!Xg.has(t)&&(Xg.add(t),Fi!==null)){for(var a="",i=30,u=0;u<=Yo;u++){for(var s=Fi[u],f=u===Yo?e:s,p=u+1+". "+s;p.length<i;)p+=" ";p+=f+`
200
+ `,a+=p}y(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
201
+
202
+ Previous render Next render
203
+ ------------------------------------------------------
204
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
205
+ `,t,a)}}}function ua(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
206
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
207
+ 2. You might be breaking the Rules of Hooks
208
+ 3. You might have more than one copy of React in the same app
209
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Zg(e,t){if(Jg)return!1;if(t===null)return y("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ae),!1;e.length!==t.length&&y(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
210
+
211
+ Previous: %s
212
+ Incoming: %s`,ae,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!ce(e[a],t[a]))return!1;return!0}function Wf(e,t,a,i,u,s){lc=s,en=t,Fi=e!==null?e._debugHookTypes:null,Yo=-1,Jg=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ue,e!==null&&e.memoizedState!==null?_e.current=lx:Fi!==null?_e.current=ix:_e.current=ax;var f=a(i,u);if(Vp){var p=0;do{if(Vp=!1,Pp=0,p>=_1)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");p+=1,Jg=!1,vr=null,hr=null,t.updateQueue=null,Yo=-1,_e.current=ux,f=a(i,u)}while(Vp)}_e.current=Am,t._debugHookTypes=Fi;var v=vr!==null&&vr.next!==null;if(lc=ue,en=null,vr=null,hr=null,ae=null,Fi=null,Yo=-1,e!==null&&(e.flags&zn)!==(t.flags&zn)&&(e.mode&gt)!==$e&&y("Internal React error: Expected static flag was missing. Please notify the React team."),Em=!1,v)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return f}function Qf(){var e=Pp!==0;return Pp=0,e}function HE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Ft)!==$e?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ls(e.lanes,a)}function VE(){if(_e.current=Am,Em){for(var e=en.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Em=!1}lc=ue,en=null,vr=null,hr=null,Fi=null,Yo=-1,ae=null,ZE=!1,Vp=!1,Pp=0}function Kl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return hr===null?en.memoizedState=hr=e:hr=hr.next=e,hr}function Hi(){var e;if(vr===null){var t=en.alternate;t!==null?e=t.memoizedState:e=null}else e=vr.next;var a;if(hr===null?a=en.memoizedState:a=hr.next,a!==null)hr=a,a=hr.next,vr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");vr=e;var i={memoizedState:vr.memoizedState,baseState:vr.baseState,baseQueue:vr.baseQueue,queue:vr.queue,next:null};hr===null?en.memoizedState=hr=i:hr=hr.next=i}return hr}function PE(){return{lastEffect:null,stores:null}}function eS(e,t){return typeof t=="function"?t(e):t}function tS(e,t,a){var i=Kl(),u;a!==void 0?u=a(t):u=t,i.memoizedState=i.baseState=u;var s={pending:null,interleaved:null,lanes:ue,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=s;var f=s.dispatch=L1.bind(null,en,s);return[i.memoizedState,f]}function nS(e,t,a){var i=Hi(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var s=vr,f=s.baseQueue,p=u.pending;if(p!==null){if(f!==null){var v=f.next,g=p.next;f.next=g,p.next=v}s.baseQueue!==f&&y("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=f=p,u.pending=null}if(f!==null){var C=f.next,N=s.baseState,k=null,I=null,Q=null,X=C;do{var be=X.lane;if(Lu(lc,be)){if(Q!==null){var Be={lane:Ut,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null};Q=Q.next=Be}if(X.hasEagerState)N=X.eagerState;else{var Nt=X.action;N=e(N,Nt)}}else{var Ge={lane:be,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null};Q===null?(I=Q=Ge,k=N):Q=Q.next=Ge,en.lanes=ot(en.lanes,be),ov(be)}X=X.next}while(X!==null&&X!==C);Q===null?k=N:Q.next=I,ce(N,i.memoizedState)||Kp(),i.memoizedState=N,i.baseState=k,i.baseQueue=Q,u.lastRenderedState=N}var wt=u.interleaved;if(wt!==null){var j=wt;do{var J=j.lane;en.lanes=ot(en.lanes,J),ov(J),j=j.next}while(j!==wt)}else f===null&&(u.lanes=ue);var F=u.dispatch;return[i.memoizedState,F]}function rS(e,t,a){var i=Hi(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var s=u.dispatch,f=u.pending,p=i.memoizedState;if(f!==null){u.pending=null;var v=f.next,g=v;do{var C=g.action;p=e(p,C),g=g.next}while(g!==v);ce(p,i.memoizedState)||Kp(),i.memoizedState=p,i.baseQueue===null&&(i.baseState=p),u.lastRenderedState=p}return[p,s]}function Bk(e,t,a){}function Ik(e,t,a){}function aS(e,t,a){var i=en,u=Kl(),s,f=Fr();if(f){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=a(),Yf||s!==a()&&(y("The result of getServerSnapshot should be cached to avoid an infinite loop"),Yf=!0)}else{if(s=t(),!Yf){var p=t();ce(s,p)||(y("The result of getSnapshot should be cached to avoid an infinite loop"),Yf=!0)}var v=Zm();if(v===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");cf(v,lc)||BE(i,t,s)}u.memoizedState=s;var g={value:s,getSnapshot:t};return u.queue=g,Tm(YE.bind(null,i,g,e),[e]),i.flags|=qr,Bp(dr|Hr,IE.bind(null,i,g,s,t),void 0,null),s}function xm(e,t,a){var i=en,u=Hi(),s=t();if(!Yf){var f=t();ce(s,f)||(y("The result of getSnapshot should be cached to avoid an infinite loop"),Yf=!0)}var p=u.memoizedState,v=!ce(p,s);v&&(u.memoizedState=s,Kp());var g=u.queue;if(Yp(YE.bind(null,i,g,e),[e]),g.getSnapshot!==t||v||hr!==null&&hr.memoizedState.tag&dr){i.flags|=qr,Bp(dr|Hr,IE.bind(null,i,g,s,t),void 0,null);var C=Zm();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");cf(C,lc)||BE(i,t,s)}return s}function BE(e,t,a){e.flags|=Eo;var i={getSnapshot:t,value:a},u=en.updateQueue;if(u===null)u=PE(),en.updateQueue=u,u.stores=[i];else{var s=u.stores;s===null?u.stores=[i]:s.push(i)}}function IE(e,t,a,i){t.value=a,t.getSnapshot=i,$E(t)&&WE(e)}function YE(e,t,a){var i=function(){$E(t)&&WE(e)};return a(i)}function $E(e){var t=e.getSnapshot,a=e.value;try{var i=t();return!ce(a,i)}catch{return!0}}function WE(e){var t=Ia(e,Ze);t!==null&&Sr(t,e,Ze,rn)}function bm(e){var t=Kl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:ue,dispatch:null,lastRenderedReducer:eS,lastRenderedState:e};t.queue=a;var i=a.dispatch=M1.bind(null,en,a);return[t.memoizedState,i]}function iS(e){return nS(eS)}function lS(e){return rS(eS)}function Bp(e,t,a,i){var u={tag:e,create:t,destroy:a,deps:i,next:null},s=en.updateQueue;if(s===null)s=PE(),en.updateQueue=s,s.lastEffect=u.next=u;else{var f=s.lastEffect;if(f===null)s.lastEffect=u.next=u;else{var p=f.next;f.next=u,u.next=p,s.lastEffect=u}}return u}function uS(e){var t=Kl();{var a={current:e};return t.memoizedState=a,a}}function wm(e){var t=Hi();return t.memoizedState}function Ip(e,t,a,i){var u=Kl(),s=i===void 0?null:i;en.flags|=e,u.memoizedState=Bp(dr|t,a,void 0,s)}function Rm(e,t,a,i){var u=Hi(),s=i===void 0?null:i,f=void 0;if(vr!==null){var p=vr.memoizedState;if(f=p.destroy,s!==null){var v=p.deps;if(Zg(s,v)){u.memoizedState=Bp(t,a,f,s);return}}}en.flags|=e,u.memoizedState=Bp(dr|t,a,f,s)}function Tm(e,t){return(en.mode&Ft)!==$e?Ip(Ti|qr|zc,Hr,e,t):Ip(qr|zc,Hr,e,t)}function Yp(e,t){return Rm(qr,Hr,e,t)}function oS(e,t){return Ip(Dt,ql,e,t)}function _m(e,t){return Rm(Dt,ql,e,t)}function sS(e,t){var a=Dt;return a|=Ki,(en.mode&Ft)!==$e&&(a|=Nl),Ip(a,pr,e,t)}function Dm(e,t){return Rm(Dt,pr,e,t)}function QE(e,t){if(typeof t=="function"){var a=t,i=e();return a(i),function(){a(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||y("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var s=e();return u.current=s,function(){u.current=null}}}function cS(e,t,a){typeof t!="function"&&y("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null,u=Dt;return u|=Ki,(en.mode&Ft)!==$e&&(u|=Nl),Ip(u,pr,QE.bind(null,t,e),i)}function km(e,t,a){typeof t!="function"&&y("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null;return Rm(Dt,pr,QE.bind(null,t,e),i)}function k1(e,t){}var Om=k1;function fS(e,t){var a=Kl(),i=t===void 0?null:t;return a.memoizedState=[e,i],e}function Nm(e,t){var a=Hi(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var s=u[1];if(Zg(i,s))return u[0]}return a.memoizedState=[e,i],e}function dS(e,t){var a=Kl(),i=t===void 0?null:t,u=e();return a.memoizedState=[u,i],u}function Lm(e,t){var a=Hi(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var s=u[1];if(Zg(i,s))return u[0]}var f=e();return a.memoizedState=[f,i],f}function pS(e){var t=Kl();return t.memoizedState=e,e}function GE(e){var t=Hi(),a=vr,i=a.memoizedState;return KE(t,i,e)}function qE(e){var t=Hi();if(vr===null)return t.memoizedState=e,e;var a=vr.memoizedState;return KE(t,a,e)}function KE(e,t,a){var i=!Wd(lc);if(i){if(!ce(a,t)){var u=qd();en.lanes=ot(en.lanes,u),ov(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Kp()),e.memoizedState=a,a}function O1(e,t,a){var i=Va();Hn(sh(i,Oi)),e(!0);var u=Hp.transition;Hp.transition={};var s=Hp.transition;Hp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Hn(i),Hp.transition=u,u===null&&s._updatedFibers){var f=s._updatedFibers.size;f>10&&L("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear()}}}function vS(){var e=bm(!1),t=e[0],a=e[1],i=O1.bind(null,a),u=Kl();return u.memoizedState=i,[t,i]}function XE(){var e=iS(),t=e[0],a=Hi(),i=a.memoizedState;return[t,i]}function JE(){var e=lS(),t=e[0],a=Hi(),i=a.memoizedState;return[t,i]}var ZE=!1;function N1(){return ZE}function hS(){var e=Kl(),t=Zm(),a=t.identifierPrefix,i;if(Fr()){var u=GT();i=":"+a+"R"+u;var s=Pp++;s>0&&(i+="H"+s.toString(32)),i+=":"}else{var f=T1++;i=":"+a+"r"+f.toString(32)+":"}return e.memoizedState=i,i}function Mm(){var e=Hi(),t=e.memoizedState;return t}function L1(e,t,a){typeof arguments[3]=="function"&&y("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=qo(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(ex(e))tx(t,u);else{var s=kE(e,t,u,i);if(s!==null){var f=xa();Sr(s,e,i,f),nx(s,t,i)}}rx(e,i)}function M1(e,t,a){typeof arguments[3]=="function"&&y("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=qo(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(ex(e))tx(t,u);else{var s=e.alternate;if(e.lanes===ue&&(s===null||s.lanes===ue)){var f=t.lastRenderedReducer;if(f!==null){var p;p=_e.current,_e.current=sl;try{var v=t.lastRenderedState,g=f(v,a);if(u.hasEagerState=!0,u.eagerState=g,ce(g,v)){y1(e,t,u,i);return}}catch{}finally{_e.current=p}}}var C=kE(e,t,u,i);if(C!==null){var N=xa();Sr(C,e,i,N),nx(C,t,i)}}rx(e,i)}function ex(e){var t=e.alternate;return e===en||t!==null&&t===en}function tx(e,t){Vp=Em=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function nx(e,t,a){if(Gd(a)){var i=t.lanes;i=Kd(i,e.pendingLanes);var u=ot(i,a);t.lanes=u,df(e,u)}}function rx(e,t,a){xs(e,t)}var Am={readContext:rr,useCallback:ua,useContext:ua,useEffect:ua,useImperativeHandle:ua,useInsertionEffect:ua,useLayoutEffect:ua,useMemo:ua,useReducer:ua,useRef:ua,useState:ua,useDebugValue:ua,useDeferredValue:ua,useTransition:ua,useMutableSource:ua,useSyncExternalStore:ua,useId:ua,unstable_isNewReconciler:ve},ax=null,ix=null,lx=null,ux=null,Xl=null,sl=null,Um=null;{var mS=function(){y("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},at=function(){y("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};ax={readContext:function(e){return rr(e)},useCallback:function(e,t){return ae="useCallback",Wt(),$f(t),fS(e,t)},useContext:function(e){return ae="useContext",Wt(),rr(e)},useEffect:function(e,t){return ae="useEffect",Wt(),$f(t),Tm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Wt(),$f(a),cS(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Wt(),$f(t),oS(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Wt(),$f(t),sS(e,t)},useMemo:function(e,t){ae="useMemo",Wt(),$f(t);var a=_e.current;_e.current=Xl;try{return dS(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Wt();var i=_e.current;_e.current=Xl;try{return tS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",Wt(),uS(e)},useState:function(e){ae="useState",Wt();var t=_e.current;_e.current=Xl;try{return bm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Wt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Wt(),pS(e)},useTransition:function(){return ae="useTransition",Wt(),vS()},useMutableSource:function(e,t,a){return ae="useMutableSource",Wt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Wt(),aS(e,t,a)},useId:function(){return ae="useId",Wt(),hS()},unstable_isNewReconciler:ve},ix={readContext:function(e){return rr(e)},useCallback:function(e,t){return ae="useCallback",Se(),fS(e,t)},useContext:function(e){return ae="useContext",Se(),rr(e)},useEffect:function(e,t){return ae="useEffect",Se(),Tm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Se(),cS(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Se(),oS(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Se(),sS(e,t)},useMemo:function(e,t){ae="useMemo",Se();var a=_e.current;_e.current=Xl;try{return dS(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Se();var i=_e.current;_e.current=Xl;try{return tS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",Se(),uS(e)},useState:function(e){ae="useState",Se();var t=_e.current;_e.current=Xl;try{return bm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Se(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Se(),pS(e)},useTransition:function(){return ae="useTransition",Se(),vS()},useMutableSource:function(e,t,a){return ae="useMutableSource",Se(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Se(),aS(e,t,a)},useId:function(){return ae="useId",Se(),hS()},unstable_isNewReconciler:ve},lx={readContext:function(e){return rr(e)},useCallback:function(e,t){return ae="useCallback",Se(),Nm(e,t)},useContext:function(e){return ae="useContext",Se(),rr(e)},useEffect:function(e,t){return ae="useEffect",Se(),Yp(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Se(),km(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Se(),_m(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Se(),Dm(e,t)},useMemo:function(e,t){ae="useMemo",Se();var a=_e.current;_e.current=sl;try{return Lm(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Se();var i=_e.current;_e.current=sl;try{return nS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",Se(),wm()},useState:function(e){ae="useState",Se();var t=_e.current;_e.current=sl;try{return iS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Se(),Om()},useDeferredValue:function(e){return ae="useDeferredValue",Se(),GE(e)},useTransition:function(){return ae="useTransition",Se(),XE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Se(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Se(),xm(e,t)},useId:function(){return ae="useId",Se(),Mm()},unstable_isNewReconciler:ve},ux={readContext:function(e){return rr(e)},useCallback:function(e,t){return ae="useCallback",Se(),Nm(e,t)},useContext:function(e){return ae="useContext",Se(),rr(e)},useEffect:function(e,t){return ae="useEffect",Se(),Yp(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Se(),km(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Se(),_m(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Se(),Dm(e,t)},useMemo:function(e,t){ae="useMemo",Se();var a=_e.current;_e.current=Um;try{return Lm(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Se();var i=_e.current;_e.current=Um;try{return rS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",Se(),wm()},useState:function(e){ae="useState",Se();var t=_e.current;_e.current=Um;try{return lS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Se(),Om()},useDeferredValue:function(e){return ae="useDeferredValue",Se(),qE(e)},useTransition:function(){return ae="useTransition",Se(),JE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Se(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Se(),xm(e,t)},useId:function(){return ae="useId",Se(),Mm()},unstable_isNewReconciler:ve},Xl={readContext:function(e){return mS(),rr(e)},useCallback:function(e,t){return ae="useCallback",at(),Wt(),fS(e,t)},useContext:function(e){return ae="useContext",at(),Wt(),rr(e)},useEffect:function(e,t){return ae="useEffect",at(),Wt(),Tm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",at(),Wt(),cS(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",at(),Wt(),oS(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",at(),Wt(),sS(e,t)},useMemo:function(e,t){ae="useMemo",at(),Wt();var a=_e.current;_e.current=Xl;try{return dS(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",at(),Wt();var i=_e.current;_e.current=Xl;try{return tS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",at(),Wt(),uS(e)},useState:function(e){ae="useState",at(),Wt();var t=_e.current;_e.current=Xl;try{return bm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",at(),Wt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",at(),Wt(),pS(e)},useTransition:function(){return ae="useTransition",at(),Wt(),vS()},useMutableSource:function(e,t,a){return ae="useMutableSource",at(),Wt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",at(),Wt(),aS(e,t,a)},useId:function(){return ae="useId",at(),Wt(),hS()},unstable_isNewReconciler:ve},sl={readContext:function(e){return mS(),rr(e)},useCallback:function(e,t){return ae="useCallback",at(),Se(),Nm(e,t)},useContext:function(e){return ae="useContext",at(),Se(),rr(e)},useEffect:function(e,t){return ae="useEffect",at(),Se(),Yp(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",at(),Se(),km(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",at(),Se(),_m(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",at(),Se(),Dm(e,t)},useMemo:function(e,t){ae="useMemo",at(),Se();var a=_e.current;_e.current=sl;try{return Lm(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",at(),Se();var i=_e.current;_e.current=sl;try{return nS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",at(),Se(),wm()},useState:function(e){ae="useState",at(),Se();var t=_e.current;_e.current=sl;try{return iS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",at(),Se(),Om()},useDeferredValue:function(e){return ae="useDeferredValue",at(),Se(),GE(e)},useTransition:function(){return ae="useTransition",at(),Se(),XE()},useMutableSource:function(e,t,a){return ae="useMutableSource",at(),Se(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",at(),Se(),xm(e,t)},useId:function(){return ae="useId",at(),Se(),Mm()},unstable_isNewReconciler:ve},Um={readContext:function(e){return mS(),rr(e)},useCallback:function(e,t){return ae="useCallback",at(),Se(),Nm(e,t)},useContext:function(e){return ae="useContext",at(),Se(),rr(e)},useEffect:function(e,t){return ae="useEffect",at(),Se(),Yp(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",at(),Se(),km(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",at(),Se(),_m(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",at(),Se(),Dm(e,t)},useMemo:function(e,t){ae="useMemo",at(),Se();var a=_e.current;_e.current=sl;try{return Lm(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",at(),Se();var i=_e.current;_e.current=sl;try{return rS(e,t,a)}finally{_e.current=i}},useRef:function(e){return ae="useRef",at(),Se(),wm()},useState:function(e){ae="useState",at(),Se();var t=_e.current;_e.current=sl;try{return lS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",at(),Se(),Om()},useDeferredValue:function(e){return ae="useDeferredValue",at(),Se(),qE(e)},useTransition:function(){return ae="useTransition",at(),Se(),JE()},useMutableSource:function(e,t,a){return ae="useMutableSource",at(),Se(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",at(),Se(),xm(e,t)},useId:function(){return ae="useId",at(),Se(),Mm()},unstable_isNewReconciler:ve}}var $o=x.unstable_now,ox=0,zm=-1,$p=-1,jm=-1,yS=!1,Fm=!1;function sx(){return yS}function A1(){Fm=!0}function U1(){yS=!1,Fm=!1}function z1(){yS=Fm,Fm=!1}function cx(){return ox}function fx(){ox=$o()}function gS(e){$p=$o(),e.actualStartTime<0&&(e.actualStartTime=$o())}function dx(e){$p=-1}function Hm(e,t){if($p>=0){var a=$o()-$p;e.actualDuration+=a,t&&(e.selfBaseDuration=a),$p=-1}}function Jl(e){if(zm>=0){var t=$o()-zm;zm=-1;for(var a=e.return;a!==null;){switch(a.tag){case A:var i=a.stateNode;i.effectDuration+=t;return;case ze:var u=a.stateNode;u.effectDuration+=t;return}a=a.return}}}function SS(e){if(jm>=0){var t=$o()-jm;jm=-1;for(var a=e.return;a!==null;){switch(a.tag){case A:var i=a.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case ze:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}a=a.return}}}function Zl(){zm=$o()}function CS(){jm=$o()}function ES(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function cl(e,t){if(e&&e.defaultProps){var a=ct({},t),i=e.defaultProps;for(var u in i)a[u]===void 0&&(a[u]=i[u]);return a}return t}var xS={},bS,wS,RS,TS,_S,px,Vm,DS,kS,OS,Wp;{bS=new Set,wS=new Set,RS=new Set,TS=new Set,DS=new Set,_S=new Set,kS=new Set,OS=new Set,Wp=new Set;var vx=new Set;Vm=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;vx.has(a)||(vx.add(a),y("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},px=function(e,t){if(t===void 0){var a=Mt(e)||"Component";_S.has(a)||(_S.add(a),y("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(xS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(xS)}function NS(e,t,a,i){var u=e.memoizedState,s=a(i,u);{if(e.mode&Zt){Sn(!0);try{s=a(i,u)}finally{Sn(!1)}}px(t,s)}var f=s==null?u:ct({},u,s);if(e.memoizedState=f,e.lanes===ue){var p=e.updateQueue;p.baseState=f}}var LS={isMounted:Qv,enqueueSetState:function(e,t,a){var i=Co(e),u=xa(),s=qo(i),f=Yu(u,s);f.payload=t,a!=null&&(Vm(a,"setState"),f.callback=a);var p=Po(i,f,s);p!==null&&(Sr(p,i,s,u),hm(p,i,s)),xs(i,s)},enqueueReplaceState:function(e,t,a){var i=Co(e),u=xa(),s=qo(i),f=Yu(u,s);f.tag=NE,f.payload=t,a!=null&&(Vm(a,"replaceState"),f.callback=a);var p=Po(i,f,s);p!==null&&(Sr(p,i,s,u),hm(p,i,s)),xs(i,s)},enqueueForceUpdate:function(e,t){var a=Co(e),i=xa(),u=qo(a),s=Yu(i,u);s.tag=dm,t!=null&&(Vm(t,"forceUpdate"),s.callback=t);var f=Po(a,s,u);f!==null&&(Sr(f,a,u,i),hm(f,a,u)),Ic(a,u)}};function hx(e,t,a,i,u,s,f){var p=e.stateNode;if(typeof p.shouldComponentUpdate=="function"){var v=p.shouldComponentUpdate(i,s,f);{if(e.mode&Zt){Sn(!0);try{v=p.shouldComponentUpdate(i,s,f)}finally{Sn(!1)}}v===void 0&&y("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Mt(t)||"Component")}return v}return t.prototype&&t.prototype.isPureReactComponent?!Ae(a,i)||!Ae(u,s):!0}function j1(e,t,a){var i=e.stateNode;{var u=Mt(t)||"Component",s=i.render;s||(t.prototype&&typeof t.prototype.render=="function"?y("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):y("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&y("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&y("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),i.propTypes&&y("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&y("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!Wp.has(t)&&(e.mode&Zt)===$e&&(Wp.add(t),y(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
213
+
214
+ .Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),t.contextTypes&&!Wp.has(t)&&(e.mode&Zt)===$e&&(Wp.add(t),y(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
215
+
216
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),i.contextTypes&&y("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!kS.has(t)&&(kS.add(t),y("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.componentShouldUpdate=="function"&&y("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&y("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Mt(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&y("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.componentDidReceiveProps=="function"&&y("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",u),typeof i.componentWillRecieveProps=="function"&&y("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&y("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var f=i.props!==a;i.props!==void 0&&f&&y("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.defaultProps&&y("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!RS.has(t)&&(RS.add(t),y("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Mt(t))),typeof i.getDerivedStateFromProps=="function"&&y("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError=="function"&&y("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&y("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var p=i.state;p&&(typeof p!="object"||vt(p))&&y("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&y("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function mx(e,t){t.updater=LS,e.stateNode=t,gu(t,e),t._reactInternalInstance=xS}function yx(e,t,a){var i=!1,u=ci,s=ci,f=t.contextType;if("contextType"in t){var p=f===null||f!==void 0&&f.$$typeof===T&&f._context===void 0;if(!p&&!OS.has(t)){OS.add(t);var v="";f===void 0?v=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?v=" However, it is set to a "+typeof f+".":f.$$typeof===yi?v=" Did you accidentally pass the Context.Provider instead?":f._context!==void 0?v=" Did you accidentally pass the Context.Consumer instead?":v=" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",y("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Mt(t)||"Component",v)}}if(typeof f=="object"&&f!==null)s=rr(f);else{u=Mf(e,t,!0);var g=t.contextTypes;i=g!=null,s=i?Af(e,u):ci}var C=new t(a,s);if(e.mode&Zt){Sn(!0);try{C=new t(a,s)}finally{Sn(!1)}}var N=e.memoizedState=C.state!==null&&C.state!==void 0?C.state:null;mx(e,C);{if(typeof t.getDerivedStateFromProps=="function"&&N===null){var k=Mt(t)||"Component";wS.has(k)||(wS.add(k),y("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",k,C.state===null?"null":"undefined",k))}if(typeof t.getDerivedStateFromProps=="function"||typeof C.getSnapshotBeforeUpdate=="function"){var I=null,Q=null,X=null;if(typeof C.componentWillMount=="function"&&C.componentWillMount.__suppressDeprecationWarning!==!0?I="componentWillMount":typeof C.UNSAFE_componentWillMount=="function"&&(I="UNSAFE_componentWillMount"),typeof C.componentWillReceiveProps=="function"&&C.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Q="componentWillReceiveProps":typeof C.UNSAFE_componentWillReceiveProps=="function"&&(Q="UNSAFE_componentWillReceiveProps"),typeof C.componentWillUpdate=="function"&&C.componentWillUpdate.__suppressDeprecationWarning!==!0?X="componentWillUpdate":typeof C.UNSAFE_componentWillUpdate=="function"&&(X="UNSAFE_componentWillUpdate"),I!==null||Q!==null||X!==null){var be=Mt(t)||"Component",Ge=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";TS.has(be)||(TS.add(be),y(`Unsafe legacy lifecycles will not be called for components using new component APIs.
217
+
218
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
219
+
220
+ The above lifecycles should be removed. Learn more about this warning here:
221
+ https://reactjs.org/link/unsafe-component-lifecycles`,be,Ge,I!==null?`
222
+ `+I:"",Q!==null?`
223
+ `+Q:"",X!==null?`
224
+ `+X:""))}}}return i&&lE(e,u,s),C}function F1(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(y("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",nt(e)||"Component"),LS.enqueueReplaceState(t,t.state,null))}function gx(e,t,a,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==u){{var s=nt(e)||"Component";bS.has(s)||(bS.add(s),y("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}LS.enqueueReplaceState(t,t.state,null)}}function MS(e,t,a,i){j1(e,t,a);var u=e.stateNode;u.props=a,u.state=e.memoizedState,u.refs={},Bg(e);var s=t.contextType;if(typeof s=="object"&&s!==null)u.context=rr(s);else{var f=Mf(e,t,!0);u.context=Af(e,f)}{if(u.state===a){var p=Mt(t)||"Component";DS.has(p)||(DS.add(p),y("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",p))}e.mode&Zt&&ul.recordLegacyContextWarning(e,u),ul.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var v=t.getDerivedStateFromProps;if(typeof v=="function"&&(NS(e,t,v,a),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(F1(e,u),mm(e,a,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var g=Dt;g|=Ki,(e.mode&Ft)!==$e&&(g|=Nl),e.flags|=g}}function H1(e,t,a,i){var u=e.stateNode,s=e.memoizedProps;u.props=s;var f=u.context,p=t.contextType,v=ci;if(typeof p=="object"&&p!==null)v=rr(p);else{var g=Mf(e,t,!0);v=Af(e,g)}var C=t.getDerivedStateFromProps,N=typeof C=="function"||typeof u.getSnapshotBeforeUpdate=="function";!N&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(s!==a||f!==v)&&gx(e,u,a,v),ME();var k=e.memoizedState,I=u.state=k;if(mm(e,a,u,i),I=e.memoizedState,s===a&&k===I&&!Xh()&&!ym()){if(typeof u.componentDidMount=="function"){var Q=Dt;Q|=Ki,(e.mode&Ft)!==$e&&(Q|=Nl),e.flags|=Q}return!1}typeof C=="function"&&(NS(e,t,C,a),I=e.memoizedState);var X=ym()||hx(e,t,s,a,k,I,v);if(X){if(!N&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var be=Dt;be|=Ki,(e.mode&Ft)!==$e&&(be|=Nl),e.flags|=be}}else{if(typeof u.componentDidMount=="function"){var Ge=Dt;Ge|=Ki,(e.mode&Ft)!==$e&&(Ge|=Nl),e.flags|=Ge}e.memoizedProps=a,e.memoizedState=I}return u.props=a,u.state=I,u.context=v,X}function V1(e,t,a,i,u){var s=t.stateNode;LE(e,t);var f=t.memoizedProps,p=t.type===t.elementType?f:cl(t.type,f);s.props=p;var v=t.pendingProps,g=s.context,C=a.contextType,N=ci;if(typeof C=="object"&&C!==null)N=rr(C);else{var k=Mf(t,a,!0);N=Af(t,k)}var I=a.getDerivedStateFromProps,Q=typeof I=="function"||typeof s.getSnapshotBeforeUpdate=="function";!Q&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(f!==v||g!==N)&&gx(t,s,i,N),ME();var X=t.memoizedState,be=s.state=X;if(mm(t,i,s,u),be=t.memoizedState,f===v&&X===be&&!Xh()&&!ym()&&!Fe)return typeof s.componentDidUpdate=="function"&&(f!==e.memoizedProps||X!==e.memoizedState)&&(t.flags|=Dt),typeof s.getSnapshotBeforeUpdate=="function"&&(f!==e.memoizedProps||X!==e.memoizedState)&&(t.flags|=Qn),!1;typeof I=="function"&&(NS(t,a,I,i),be=t.memoizedState);var Ge=ym()||hx(t,a,p,i,X,be,N)||Fe;return Ge?(!Q&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,be,N),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,be,N)),typeof s.componentDidUpdate=="function"&&(t.flags|=Dt),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=Qn)):(typeof s.componentDidUpdate=="function"&&(f!==e.memoizedProps||X!==e.memoizedState)&&(t.flags|=Dt),typeof s.getSnapshotBeforeUpdate=="function"&&(f!==e.memoizedProps||X!==e.memoizedState)&&(t.flags|=Qn),t.memoizedProps=i,t.memoizedState=be),s.props=i,s.state=be,s.context=N,Ge}function uc(e,t){return{value:e,source:t,stack:Yi(t),digest:null}}function AS(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function P1(e,t){return!0}function US(e,t){try{var a=P1(e,t);if(a===!1)return;var i=t.value,u=t.source,s=t.stack,f=s!==null?s:"";if(i!=null&&i._suppressLogging){if(e.tag===M)return;console.error(i)}var p=u?nt(u):null,v=p?"The above error occurred in the <"+p+"> component:":"The above error occurred in one of your React components:",g;if(e.tag===A)g=`Consider adding an error boundary to your tree to customize error handling behavior.
225
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var C=nt(e)||"Anonymous";g="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+C+".")}var N=v+`
226
+ `+f+`
227
+
228
+ `+(""+g);console.error(N)}catch(k){setTimeout(function(){throw k})}}var B1=typeof WeakMap=="function"?WeakMap:Map;function Sx(e,t,a){var i=Yu(rn,a);i.tag=Vg,i.payload={element:null};var u=t.value;return i.callback=function(){AD(u),US(e,t)},i}function zS(e,t,a){var i=Yu(rn,a);i.tag=Vg;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var s=t.value;i.payload=function(){return u(s)},i.callback=function(){Ob(e),US(e,t)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(i.callback=function(){Ob(e),US(e,t),typeof u!="function"&&LD(this);var v=t.value,g=t.stack;this.componentDidCatch(v,{componentStack:g!==null?g:""}),typeof u!="function"&&(ta(e.lanes,Ze)||y("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",nt(e)||"Unknown"))}),i}function Cx(e,t,a){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new B1,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(a)){u.add(a);var s=UD.bind(null,e,t,a);Zr&&sv(e,a),t.then(s,s)}}function I1(e,t,a,i){var u=e.updateQueue;if(u===null){var s=new Set;s.add(a),e.updateQueue=s}else u.add(a)}function Y1(e,t){var a=e.tag;if((e.mode&gt)===$e&&(a===z||a===he||a===me)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function Ex(e){var t=e;do{if(t.tag===Re&&w1(t))return t;t=t.return}while(t!==null);return null}function xx(e,t,a,i,u){if((e.mode&gt)===$e){if(e===t)e.flags|=Zn;else{if(e.flags|=Ie,a.flags|=Uc,a.flags&=-52805,a.tag===M){var s=a.alternate;if(s===null)a.tag=Lt;else{var f=Yu(rn,Ze);f.tag=dm,Po(a,f,Ze)}}a.lanes=ot(a.lanes,Ze)}return e}return e.flags|=Zn,e.lanes=u,e}function $1(e,t,a,i,u){if(a.flags|=ms,Zr&&sv(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var s=i;Y1(a),Fr()&&a.mode&gt&&pE();var f=Ex(t);if(f!==null){f.flags&=~br,xx(f,t,a,e,u),f.mode&gt&&Cx(e,s,u),I1(f,e,s);return}else{if(!th(u)){Cx(e,s,u),h0();return}var p=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=p}}else if(Fr()&&a.mode&gt){pE();var v=Ex(t);if(v!==null){(v.flags&Zn)===Ye&&(v.flags|=br),xx(v,t,a,e,u),Dg(uc(i,a));return}}i=uc(i,a),wD(i);var g=t;do{switch(g.tag){case A:{var C=i;g.flags|=Zn;var N=Ns(u);g.lanes=ot(g.lanes,N);var k=Sx(g,C,N);Ig(g,k);return}case M:var I=i,Q=g.type,X=g.stateNode;if((g.flags&Ie)===Ye&&(typeof Q.getDerivedStateFromError=="function"||X!==null&&typeof X.componentDidCatch=="function"&&!Eb(X))){g.flags|=Zn;var be=Ns(u);g.lanes=ot(g.lanes,be);var Ge=zS(g,I,be);Ig(g,Ge);return}break}g=g.return}while(g!==null)}function W1(){return null}var Qp=S.ReactCurrentOwner,fl=!1,jS,Gp,FS,HS,VS,oc,PS,Pm,qp;jS={},Gp={},FS={},HS={},VS={},oc=!1,PS={},Pm={},qp={};function Ca(e,t,a,i){e===null?t.child=RE(t,null,a,i):t.child=Ff(t,e.child,a,i)}function Q1(e,t,a,i){t.child=Ff(t,e.child,null,i),t.child=Ff(t,null,a,i)}function bx(e,t,a,i,u){if(t.type!==t.elementType){var s=a.propTypes;s&&il(s,i,"prop",Mt(a))}var f=a.render,p=t.ref,v,g;Vf(t,u),ma(t);{if(Qp.current=t,Wn(!0),v=Wf(e,t,f,i,p,u),g=Qf(),t.mode&Zt){Sn(!0);try{v=Wf(e,t,f,i,p,u),g=Qf()}finally{Sn(!1)}}Wn(!1)}return ya(),e!==null&&!fl?(HE(e,t,u),$u(e,t,u)):(Fr()&&g&&xg(t),t.flags|=ii,Ca(e,t,v,u),t.child)}function wx(e,t,a,i,u){if(e===null){var s=a.type;if(JD(s)&&a.compare===null&&a.defaultProps===void 0){var f=s;return f=td(s),t.tag=me,t.type=f,YS(t,s),Rx(e,t,f,i,u)}{var p=s.propTypes;if(p&&il(p,i,"prop",Mt(s)),a.defaultProps!==void 0){var v=Mt(s)||"Unknown";qp[v]||(y("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",v),qp[v]=!0)}}var g=T0(a.type,null,i,t,t.mode,u);return g.ref=t.ref,g.return=t,t.child=g,g}{var C=a.type,N=C.propTypes;N&&il(N,i,"prop",Mt(C))}var k=e.child,I=KS(e,u);if(!I){var Q=k.memoizedProps,X=a.compare;if(X=X!==null?X:Ae,X(Q,i)&&e.ref===t.ref)return $u(e,t,u)}t.flags|=ii;var be=pc(k,i);return be.ref=t.ref,be.return=t,t.child=be,be}function Rx(e,t,a,i,u){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===rt){var f=s,p=f._payload,v=f._init;try{s=v(p)}catch{s=null}var g=s&&s.propTypes;g&&il(g,i,"prop",Mt(s))}}if(e!==null){var C=e.memoizedProps;if(Ae(C,i)&&e.ref===t.ref&&t.type===e.type)if(fl=!1,t.pendingProps=i=C,KS(e,u))(e.flags&Uc)!==Ye&&(fl=!0);else return t.lanes=e.lanes,$u(e,t,u)}return BS(e,t,a,i,u)}function Tx(e,t,a){var i=t.pendingProps,u=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"||ge)if((t.mode&gt)===$e){var f={baseLanes:ue,cachePool:null,transitions:null};t.memoizedState=f,ey(t,a)}else if(ta(a,ea)){var N={baseLanes:ue,cachePool:null,transitions:null};t.memoizedState=N;var k=s!==null?s.baseLanes:a;ey(t,k)}else{var p=null,v;if(s!==null){var g=s.baseLanes;v=ot(g,a)}else v=a;t.lanes=t.childLanes=ea;var C={baseLanes:v,cachePool:p,transitions:null};return t.memoizedState=C,t.updateQueue=null,ey(t,v),null}else{var I;s!==null?(I=ot(s.baseLanes,a),t.memoizedState=null):I=a,ey(t,I)}return Ca(e,t,u,a),t.child}function G1(e,t,a){var i=t.pendingProps;return Ca(e,t,i,a),t.child}function q1(e,t,a){var i=t.pendingProps.children;return Ca(e,t,i,a),t.child}function K1(e,t,a){{t.flags|=Dt;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,s=u.children;return Ca(e,t,s,a),t.child}function _x(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=xn,t.flags|=xo)}function BS(e,t,a,i,u){if(t.type!==t.elementType){var s=a.propTypes;s&&il(s,i,"prop",Mt(a))}var f;{var p=Mf(t,a,!0);f=Af(t,p)}var v,g;Vf(t,u),ma(t);{if(Qp.current=t,Wn(!0),v=Wf(e,t,a,i,f,u),g=Qf(),t.mode&Zt){Sn(!0);try{v=Wf(e,t,a,i,f,u),g=Qf()}finally{Sn(!1)}}Wn(!1)}return ya(),e!==null&&!fl?(HE(e,t,u),$u(e,t,u)):(Fr()&&g&&xg(t),t.flags|=ii,Ca(e,t,v,u),t.child)}function Dx(e,t,a,i,u){{switch(pk(t)){case!1:{var s=t.stateNode,f=t.type,p=new f(t.memoizedProps,s.context),v=p.state;s.updater.enqueueSetState(s,v,null);break}case!0:{t.flags|=Ie,t.flags|=Zn;var g=new Error("Simulated error coming from DevTools"),C=Ns(u);t.lanes=ot(t.lanes,C);var N=zS(t,uc(g,t),C);Ig(t,N);break}}if(t.type!==t.elementType){var k=a.propTypes;k&&il(k,i,"prop",Mt(a))}}var I;Gl(a)?(I=!0,Zh(t)):I=!1,Vf(t,u);var Q=t.stateNode,X;Q===null?(Im(e,t),yx(t,a,i),MS(t,a,i,u),X=!0):e===null?X=H1(t,a,i,u):X=V1(e,t,a,i,u);var be=IS(e,t,a,X,I,u);{var Ge=t.stateNode;X&&Ge.props!==i&&(oc||y("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",nt(t)||"a component"),oc=!0)}return be}function IS(e,t,a,i,u,s){_x(e,t);var f=(t.flags&Ie)!==Ye;if(!i&&!f)return u&&sE(t,a,!1),$u(e,t,s);var p=t.stateNode;Qp.current=t;var v;if(f&&typeof a.getDerivedStateFromError!="function")v=null,dx();else{ma(t);{if(Wn(!0),v=p.render(),t.mode&Zt){Sn(!0);try{p.render()}finally{Sn(!1)}}Wn(!1)}ya()}return t.flags|=ii,e!==null&&f?Q1(e,t,v,s):Ca(e,t,v,s),t.memoizedState=p.state,u&&sE(t,a,!0),t.child}function kx(e){var t=e.stateNode;t.pendingContext?uE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uE(e,t.context,!1),Yg(e,t.containerInfo)}function X1(e,t,a){if(kx(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,s=u.element;LE(e,t),mm(t,i,null,a);var f=t.memoizedState;t.stateNode;var p=f.element;if(u.isDehydrated){var v={element:p,isDehydrated:!1,cache:f.cache,pendingSuspenseBoundaries:f.pendingSuspenseBoundaries,transitions:f.transitions},g=t.updateQueue;if(g.baseState=v,t.memoizedState=v,t.flags&br){var C=uc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return Ox(e,t,p,a,C)}else if(p!==s){var N=uc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Ox(e,t,p,a,N)}else{e1(t);var k=RE(t,null,p,a);t.child=k;for(var I=k;I;)I.flags=I.flags&~gn|Kr,I=I.sibling}}else{if(jf(),p===s)return $u(e,t,a);Ca(e,t,p,a)}return t.child}function Ox(e,t,a,i,u){return jf(),Dg(u),t.flags|=br,Ca(e,t,a,i),t.child}function J1(e,t,a){zE(t),e===null&&_g(t);var i=t.type,u=t.pendingProps,s=e!==null?e.memoizedProps:null,f=u.children,p=og(i,u);return p?f=null:s!==null&&og(i,s)&&(t.flags|=Aa),_x(e,t),Ca(e,t,f,a),t.child}function Z1(e,t){return e===null&&_g(t),null}function e_(e,t,a,i){Im(e,t);var u=t.pendingProps,s=a,f=s._payload,p=s._init,v=p(f);t.type=v;var g=t.tag=ZD(v),C=cl(v,u),N;switch(g){case z:return YS(t,v),t.type=v=td(v),N=BS(null,t,v,C,i),N;case M:return t.type=v=C0(v),N=Dx(null,t,v,C,i),N;case he:return t.type=v=E0(v),N=bx(null,t,v,C,i),N;case Ne:{if(t.type!==t.elementType){var k=v.propTypes;k&&il(k,C,"prop",Mt(v))}return N=wx(null,t,v,cl(v.type,C),i),N}}var I="";throw v!==null&&typeof v=="object"&&v.$$typeof===rt&&(I=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+v+". "+("Lazy element type must resolve to a class or function."+I))}function t_(e,t,a,i,u){Im(e,t),t.tag=M;var s;return Gl(a)?(s=!0,Zh(t)):s=!1,Vf(t,u),yx(t,a,i),MS(t,a,i,u),IS(null,t,a,!0,s,u)}function n_(e,t,a,i){Im(e,t);var u=t.pendingProps,s;{var f=Mf(t,a,!1);s=Af(t,f)}Vf(t,i);var p,v;ma(t);{if(a.prototype&&typeof a.prototype.render=="function"){var g=Mt(a)||"Unknown";jS[g]||(y("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),jS[g]=!0)}t.mode&Zt&&ul.recordLegacyContextWarning(t,null),Wn(!0),Qp.current=t,p=Wf(null,t,a,u,s,i),v=Qf(),Wn(!1)}if(ya(),t.flags|=ii,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0){var C=Mt(a)||"Unknown";Gp[C]||(y("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",C,C,C),Gp[C]=!0)}if(typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0){{var N=Mt(a)||"Unknown";Gp[N]||(y("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",N,N,N),Gp[N]=!0)}t.tag=M,t.memoizedState=null,t.updateQueue=null;var k=!1;return Gl(a)?(k=!0,Zh(t)):k=!1,t.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Bg(t),mx(t,p),MS(t,a,u,i),IS(null,t,a,!0,k,i)}else{if(t.tag=z,t.mode&Zt){Sn(!0);try{p=Wf(null,t,a,u,s,i),v=Qf()}finally{Sn(!1)}}return Fr()&&v&&xg(t),Ca(null,t,p,i),YS(t,a),t.child}}function YS(e,t){{if(t&&t.childContextTypes&&y("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",i=Nr();i&&(a+=`
229
+
230
+ Check the render method of \``+i+"`.");var u=i||"",s=e._debugSource;s&&(u=s.fileName+":"+s.lineNumber),VS[u]||(VS[u]=!0,y("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(t.defaultProps!==void 0){var f=Mt(t)||"Unknown";qp[f]||(y("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",f),qp[f]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var p=Mt(t)||"Unknown";HS[p]||(y("%s: Function components do not support getDerivedStateFromProps.",p),HS[p]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var v=Mt(t)||"Unknown";FS[v]||(y("%s: Function components do not support contextType.",v),FS[v]=!0)}}}var $S={dehydrated:null,treeContext:null,retryLane:Ut};function WS(e){return{baseLanes:e,cachePool:W1(),transitions:null}}function r_(e,t){var a=null;return{baseLanes:ot(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function a_(e,t,a,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return Qg(e,Fp)}function i_(e,t){return Ls(e.childLanes,t)}function Nx(e,t,a){var i=t.pendingProps;vk(t)&&(t.flags|=Ie);var u=ol.current,s=!1,f=(t.flags&Ie)!==Ye;if(f||a_(u,e)?(s=!0,t.flags&=~Ie):(e===null||e.memoizedState!==null)&&(u=b1(u,FE)),u=Bf(u),Io(t,u),e===null){_g(t);var p=t.memoizedState;if(p!==null){var v=p.dehydrated;if(v!==null)return c_(t,v)}var g=i.children,C=i.fallback;if(s){var N=l_(t,g,C,a),k=t.child;return k.memoizedState=WS(a),t.memoizedState=$S,N}else return QS(t,g)}else{var I=e.memoizedState;if(I!==null){var Q=I.dehydrated;if(Q!==null)return f_(e,t,f,i,Q,I,a)}if(s){var X=i.fallback,be=i.children,Ge=o_(e,t,be,X,a),Be=t.child,Nt=e.child.memoizedState;return Be.memoizedState=Nt===null?WS(a):r_(Nt,a),Be.childLanes=i_(e,a),t.memoizedState=$S,Ge}else{var wt=i.children,j=u_(e,t,wt,a);return t.memoizedState=null,j}}}function QS(e,t,a){var i=e.mode,u={mode:"visible",children:t},s=GS(u,i);return s.return=e,e.child=s,s}function l_(e,t,a,i){var u=e.mode,s=e.child,f={mode:"hidden",children:t},p,v;return(u&gt)===$e&&s!==null?(p=s,p.childLanes=ue,p.pendingProps=f,e.mode&jt&&(p.actualDuration=0,p.actualStartTime=-1,p.selfBaseDuration=0,p.treeBaseDuration=0),v=Xo(a,u,i,null)):(p=GS(f,u),v=Xo(a,u,i,null)),p.return=e,v.return=e,p.sibling=v,e.child=p,v}function GS(e,t,a){return Lb(e,t,ue,null)}function Lx(e,t){return pc(e,t)}function u_(e,t,a,i){var u=e.child,s=u.sibling,f=Lx(u,{mode:"visible",children:a});if((t.mode&gt)===$e&&(f.lanes=i),f.return=t,f.sibling=null,s!==null){var p=t.deletions;p===null?(t.deletions=[s],t.flags|=Ma):p.push(s)}return t.child=f,f}function o_(e,t,a,i,u){var s=t.mode,f=e.child,p=f.sibling,v={mode:"hidden",children:a},g;if((s&gt)===$e&&t.child!==f){var C=t.child;g=C,g.childLanes=ue,g.pendingProps=v,t.mode&jt&&(g.actualDuration=0,g.actualStartTime=-1,g.selfBaseDuration=f.selfBaseDuration,g.treeBaseDuration=f.treeBaseDuration),t.deletions=null}else g=Lx(f,v),g.subtreeFlags=f.subtreeFlags&zn;var N;return p!==null?N=pc(p,i):(N=Xo(i,s,u,null),N.flags|=gn),N.return=t,g.return=t,g.sibling=N,t.child=g,N}function Bm(e,t,a,i){i!==null&&Dg(i),Ff(t,e.child,null,a);var u=t.pendingProps,s=u.children,f=QS(t,s);return f.flags|=gn,t.memoizedState=null,f}function s_(e,t,a,i,u){var s=t.mode,f={mode:"visible",children:a},p=GS(f,s),v=Xo(i,s,u,null);return v.flags|=gn,p.return=t,v.return=t,p.sibling=v,t.child=p,(t.mode&gt)!==$e&&Ff(t,e.child,null,u),v}function c_(e,t,a){return(e.mode&gt)===$e?(y("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Ze):dg(t)?e.lanes=wr:e.lanes=ea,null}function f_(e,t,a,i,u,s,f){if(a)if(t.flags&br){t.flags&=~br;var j=AS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Bm(e,t,f,j)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ie,null;var J=i.children,F=i.fallback,de=s_(e,t,J,F,f),De=t.child;return De.memoizedState=WS(f),t.memoizedState=$S,de}else{if(JT(),(t.mode&gt)===$e)return Bm(e,t,f,null);if(dg(u)){var p,v,g;{var C=hT(u);p=C.digest,v=C.message,g=C.stack}var N;v?N=new Error(v):N=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var k=AS(N,p,g);return Bm(e,t,f,k)}var I=ta(f,e.childLanes);if(fl||I){var Q=Zm();if(Q!==null){var X=Jd(Q,f);if(X!==Ut&&X!==s.retryLane){s.retryLane=X;var be=rn;Ia(e,X),Sr(Q,e,X,be)}}h0();var Ge=AS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Bm(e,t,f,Ge)}else if(tE(u)){t.flags|=Ie,t.child=e.child;var Be=zD.bind(null,e);return mT(u,Be),null}else{t1(t,u,s.treeContext);var Nt=i.children,wt=QS(t,Nt);return wt.flags|=Kr,wt}}}function Mx(e,t,a){e.lanes=ot(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ot(i.lanes,t)),Fg(e.return,t,a)}function d_(e,t,a){for(var i=t;i!==null;){if(i.tag===Re){var u=i.memoizedState;u!==null&&Mx(i,a,e)}else if(i.tag===nn)Mx(i,a,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function p_(e){for(var t=e,a=null;t!==null;){var i=t.alternate;i!==null&&Cm(i)===null&&(a=t),t=t.sibling}return a}function v_(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!PS[e])if(PS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{y('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{y('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:y('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else y('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function h_(e,t){e!==void 0&&!Pm[e]&&(e!=="collapsed"&&e!=="hidden"?(Pm[e]=!0,y('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Pm[e]=!0,y('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Ax(e,t){{var a=vt(e),i=!a&&typeof ut(e)=="function";if(a||i){var u=a?"array":"iterable";return y("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function m_(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(vt(e)){for(var a=0;a<e.length;a++)if(!Ax(e[a],a))return}else{var i=ut(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var s=u.next(),f=0;!s.done;s=u.next()){if(!Ax(s.value,f))return;f++}}else y('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function qS(e,t,a,i,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=a,s.tailMode=u)}function Ux(e,t,a){var i=t.pendingProps,u=i.revealOrder,s=i.tail,f=i.children;v_(u),h_(s,u),m_(f,u),Ca(e,t,f,a);var p=ol.current,v=Qg(p,Fp);if(v)p=Gg(p,Fp),t.flags|=Ie;else{var g=e!==null&&(e.flags&Ie)!==Ye;g&&d_(t,t.child,a),p=Bf(p)}if(Io(t,p),(t.mode&gt)===$e)t.memoizedState=null;else switch(u){case"forwards":{var C=p_(t.child),N;C===null?(N=t.child,t.child=null):(N=C.sibling,C.sibling=null),qS(t,!1,N,C,s);break}case"backwards":{var k=null,I=t.child;for(t.child=null;I!==null;){var Q=I.alternate;if(Q!==null&&Cm(Q)===null){t.child=I;break}var X=I.sibling;I.sibling=k,k=I,I=X}qS(t,!0,k,null,s);break}case"together":{qS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function y_(e,t,a){Yg(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=Ff(t,null,i,a):Ca(e,t,i,a),t.child}var zx=!1;function g_(e,t,a){var i=t.type,u=i._context,s=t.pendingProps,f=t.memoizedProps,p=s.value;{"value"in s||zx||(zx=!0,y("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var v=t.type.propTypes;v&&il(v,s,"prop","Context.Provider")}if(DE(t,u,p),f!==null){var g=f.value;if(ce(g,p)){if(f.children===s.children&&!Xh())return $u(e,t,a)}else v1(t,u,a)}var C=s.children;return Ca(e,t,C,a),t.child}var jx=!1;function S_(e,t,a){var i=t.type;i._context===void 0?i!==i.Consumer&&(jx||(jx=!0,y("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,s=u.children;typeof s!="function"&&y("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Vf(t,a);var f=rr(i);ma(t);var p;return Qp.current=t,Wn(!0),p=s(f),Wn(!1),ya(),t.flags|=ii,Ca(e,t,p,a),t.child}function Kp(){fl=!0}function Im(e,t){(t.mode&gt)===$e&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=gn)}function $u(e,t,a){return e!==null&&(t.dependencies=e.dependencies),dx(),ov(t.lanes),ta(a,t.childLanes)?(d1(e,t),t.child):null}function C_(e,t,a){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===i.child)i.child=a;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=a}var s=i.deletions;return s===null?(i.deletions=[e],i.flags|=Ma):s.push(e),a.flags|=gn,a}}function KS(e,t){var a=e.lanes;return!!ta(a,t)}function E_(e,t,a){switch(t.tag){case A:kx(t),t.stateNode,jf();break;case W:zE(t);break;case M:{var i=t.type;Gl(i)&&Zh(t);break}case q:Yg(t,t.stateNode.containerInfo);break;case te:{var u=t.memoizedProps.value,s=t.type._context;DE(t,s,u);break}case ze:{var f=ta(a,t.childLanes);f&&(t.flags|=Dt);{var p=t.stateNode;p.effectDuration=0,p.passiveEffectDuration=0}}break;case Re:{var v=t.memoizedState;if(v!==null){if(v.dehydrated!==null)return Io(t,Bf(ol.current)),t.flags|=Ie,null;var g=t.child,C=g.childLanes;if(ta(a,C))return Nx(e,t,a);Io(t,Bf(ol.current));var N=$u(e,t,a);return N!==null?N.sibling:null}else Io(t,Bf(ol.current));break}case nn:{var k=(e.flags&Ie)!==Ye,I=ta(a,t.childLanes);if(k){if(I)return Ux(e,t,a);t.flags|=Ie}var Q=t.memoizedState;if(Q!==null&&(Q.rendering=null,Q.tail=null,Q.lastEffect=null),Io(t,ol.current),I)break;return null}case je:case xt:return t.lanes=ue,Tx(e,t,a)}return $u(e,t,a)}function Fx(e,t,a){if(t._debugNeedsRemount&&e!==null)return C_(e,t,T0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||Xh()||t.type!==e.type)fl=!0;else{var s=KS(e,a);if(!s&&(t.flags&Ie)===Ye)return fl=!1,E_(e,t,a);(e.flags&Uc)!==Ye?fl=!0:fl=!1}}else if(fl=!1,Fr()&&WT(t)){var f=t.index,p=QT();dE(t,p,f)}switch(t.lanes=ue,t.tag){case H:return n_(e,t,t.type,a);case Et:{var v=t.elementType;return e_(e,t,v,a)}case z:{var g=t.type,C=t.pendingProps,N=t.elementType===g?C:cl(g,C);return BS(e,t,g,N,a)}case M:{var k=t.type,I=t.pendingProps,Q=t.elementType===k?I:cl(k,I);return Dx(e,t,k,Q,a)}case A:return X1(e,t,a);case W:return J1(e,t,a);case ne:return Z1(e,t);case Re:return Nx(e,t,a);case q:return y_(e,t,a);case he:{var X=t.type,be=t.pendingProps,Ge=t.elementType===X?be:cl(X,be);return bx(e,t,X,Ge,a)}case ee:return G1(e,t,a);case ie:return q1(e,t,a);case ze:return K1(e,t,a);case te:return g_(e,t,a);case re:return S_(e,t,a);case Ne:{var Be=t.type,Nt=t.pendingProps,wt=cl(Be,Nt);if(t.type!==t.elementType){var j=Be.propTypes;j&&il(j,wt,"prop",Mt(Be))}return wt=cl(Be.type,wt),wx(e,t,Be,wt,a)}case me:return Rx(e,t,t.type,t.pendingProps,a);case Lt:{var J=t.type,F=t.pendingProps,de=t.elementType===J?F:cl(J,F);return t_(e,t,J,de,a)}case nn:return Ux(e,t,a);case _t:break;case je:return Tx(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Gf(e){e.flags|=Dt}function Hx(e){e.flags|=xn,e.flags|=xo}var Vx,XS,Px,Bx;Vx=function(e,t,a,i){for(var u=t.child;u!==null;){if(u.tag===W||u.tag===ne)IR(e,u.stateNode);else if(u.tag!==q){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},XS=function(e,t){},Px=function(e,t,a,i,u){var s=e.memoizedProps;if(s!==i){var f=t.stateNode,p=$g(),v=$R(f,a,s,i,u,p);t.updateQueue=v,v&&Gf(t)}},Bx=function(e,t,a,i){a!==i&&Gf(t)};function Xp(e,t){if(!Fr())switch(e.tailMode){case"hidden":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,s=null;u!==null;)u.alternate!==null&&(s=u),u=u.sibling;s===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:s.sibling=null;break}}}function Vr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=ue,i=Ye;if(t){if((e.mode&jt)!==$e){for(var v=e.selfBaseDuration,g=e.child;g!==null;)a=ot(a,ot(g.lanes,g.childLanes)),i|=g.subtreeFlags&zn,i|=g.flags&zn,v+=g.treeBaseDuration,g=g.sibling;e.treeBaseDuration=v}else for(var C=e.child;C!==null;)a=ot(a,ot(C.lanes,C.childLanes)),i|=C.subtreeFlags&zn,i|=C.flags&zn,C.return=e,C=C.sibling;e.subtreeFlags|=i}else{if((e.mode&jt)!==$e){for(var u=e.actualDuration,s=e.selfBaseDuration,f=e.child;f!==null;)a=ot(a,ot(f.lanes,f.childLanes)),i|=f.subtreeFlags,i|=f.flags,u+=f.actualDuration,s+=f.treeBaseDuration,f=f.sibling;e.actualDuration=u,e.treeBaseDuration=s}else for(var p=e.child;p!==null;)a=ot(a,ot(p.lanes,p.childLanes)),i|=p.subtreeFlags,i|=p.flags,p.return=e,p=p.sibling;e.subtreeFlags|=i}return e.childLanes=a,t}function x_(e,t,a){if(l1()&&(t.mode&gt)!==$e&&(t.flags&Ie)===Ye)return SE(t),jf(),t.flags|=br|ms|Zn,!1;var i=am(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(a1(t),Vr(t),(t.mode&jt)!==$e){var u=a!==null;if(u){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(jf(),(t.flags&Ie)===Ye&&(t.memoizedState=null),t.flags|=Dt,Vr(t),(t.mode&jt)!==$e){var f=a!==null;if(f){var p=t.child;p!==null&&(t.treeBaseDuration-=p.treeBaseDuration)}}return!1}else return CE(),!0}function Ix(e,t,a){var i=t.pendingProps;switch(bg(t),t.tag){case H:case Et:case me:case z:case he:case ee:case ie:case ze:case re:case Ne:return Vr(t),null;case M:{var u=t.type;return Gl(u)&&Jh(t),Vr(t),null}case A:{var s=t.stateNode;if(Pf(t),Sg(t),Kg(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var f=am(t);if(f)Gf(t);else if(e!==null){var p=e.memoizedState;(!p.isDehydrated||(t.flags&br)!==Ye)&&(t.flags|=Qn,CE())}}return XS(e,t),Vr(t),null}case W:{Wg(t);var v=UE(),g=t.type;if(e!==null&&t.stateNode!=null)Px(e,t,g,i,v),e.ref!==t.ref&&Hx(t);else{if(!i){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Vr(t),null}var C=$g(),N=am(t);if(N)n1(t,v,C)&&Gf(t);else{var k=BR(g,i,v,C,t);Vx(k,t,!1,!1),t.stateNode=k,YR(k,g,i,v)&&Gf(t)}t.ref!==null&&Hx(t)}return Vr(t),null}case ne:{var I=i;if(e&&t.stateNode!=null){var Q=e.memoizedProps;Bx(e,t,Q,I)}else{if(typeof I!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var X=UE(),be=$g(),Ge=am(t);Ge?r1(t)&&Gf(t):t.stateNode=WR(I,X,be,t)}return Vr(t),null}case Re:{If(t);var Be=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Nt=x_(e,t,Be);if(!Nt)return t.flags&Zn?t:null}if((t.flags&Ie)!==Ye)return t.lanes=a,(t.mode&jt)!==$e&&ES(t),t;var wt=Be!==null,j=e!==null&&e.memoizedState!==null;if(wt!==j&&wt){var J=t.child;if(J.flags|=Un,(t.mode&gt)!==$e){var F=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);F||Qg(ol.current,FE)?bD():h0()}}var de=t.updateQueue;if(de!==null&&(t.flags|=Dt),Vr(t),(t.mode&jt)!==$e&&wt){var De=t.child;De!==null&&(t.treeBaseDuration-=De.treeBaseDuration)}return null}case q:return Pf(t),XS(e,t),e===null&&HT(t.stateNode.containerInfo),Vr(t),null;case te:var we=t.type._context;return jg(we,t),Vr(t),null;case Lt:{var et=t.type;return Gl(et)&&Jh(t),Vr(t),null}case nn:{If(t);var it=t.memoizedState;if(it===null)return Vr(t),null;var tn=(t.flags&Ie)!==Ye,Vt=it.rendering;if(Vt===null)if(tn)Xp(it,!1);else{var Kn=RD()&&(e===null||(e.flags&Ie)===Ye);if(!Kn)for(var Pt=t.child;Pt!==null;){var Bn=Cm(Pt);if(Bn!==null){tn=!0,t.flags|=Ie,Xp(it,!1);var oa=Bn.updateQueue;return oa!==null&&(t.updateQueue=oa,t.flags|=Dt),t.subtreeFlags=Ye,p1(t,a),Io(t,Gg(ol.current,Fp)),t.child}Pt=Pt.sibling}it.tail!==null&&Gn()>cb()&&(t.flags|=Ie,tn=!0,Xp(it,!1),t.lanes=Id)}else{if(!tn){var $r=Cm(Vt);if($r!==null){t.flags|=Ie,tn=!0;var di=$r.updateQueue;if(di!==null&&(t.updateQueue=di,t.flags|=Dt),Xp(it,!0),it.tail===null&&it.tailMode==="hidden"&&!Vt.alternate&&!Fr())return Vr(t),null}else Gn()*2-it.renderingStartTime>cb()&&a!==ea&&(t.flags|=Ie,tn=!0,Xp(it,!1),t.lanes=Id)}if(it.isBackwards)Vt.sibling=t.child,t.child=Vt;else{var ba=it.last;ba!==null?ba.sibling=Vt:t.child=Vt,it.last=Vt}}if(it.tail!==null){var wa=it.tail;it.rendering=wa,it.tail=wa.sibling,it.renderingStartTime=Gn(),wa.sibling=null;var sa=ol.current;return tn?sa=Gg(sa,Fp):sa=Bf(sa),Io(t,sa),wa}return Vr(t),null}case _t:break;case je:case xt:{v0(t);var Ku=t.memoizedState,nd=Ku!==null;if(e!==null){var pv=e.memoizedState,nu=pv!==null;nu!==nd&&!ge&&(t.flags|=Un)}return!nd||(t.mode&gt)===$e?Vr(t):ta(tu,ea)&&(Vr(t),t.subtreeFlags&(gn|Dt)&&(t.flags|=Un)),null}case bt:return null;case Tt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function b_(e,t,a){switch(bg(t),t.tag){case M:{var i=t.type;Gl(i)&&Jh(t);var u=t.flags;return u&Zn?(t.flags=u&~Zn|Ie,(t.mode&jt)!==$e&&ES(t),t):null}case A:{t.stateNode,Pf(t),Sg(t),Kg();var s=t.flags;return(s&Zn)!==Ye&&(s&Ie)===Ye?(t.flags=s&~Zn|Ie,t):null}case W:return Wg(t),null;case Re:{If(t);var f=t.memoizedState;if(f!==null&&f.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");jf()}var p=t.flags;return p&Zn?(t.flags=p&~Zn|Ie,(t.mode&jt)!==$e&&ES(t),t):null}case nn:return If(t),null;case q:return Pf(t),null;case te:var v=t.type._context;return jg(v,t),null;case je:case xt:return v0(t),null;case bt:return null;default:return null}}function Yx(e,t,a){switch(bg(t),t.tag){case M:{var i=t.type.childContextTypes;i!=null&&Jh(t);break}case A:{t.stateNode,Pf(t),Sg(t),Kg();break}case W:{Wg(t);break}case q:Pf(t);break;case Re:If(t);break;case nn:If(t);break;case te:var u=t.type._context;jg(u,t);break;case je:case xt:v0(t);break}}var $x=null;$x=new Set;var Ym=!1,Pr=!1,w_=typeof WeakSet=="function"?WeakSet:Set,Ue=null,qf=null,Kf=null;function R_(e){Ol(null,function(){throw e}),hs()}var T_=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&jt)try{Zl(),t.componentWillUnmount()}finally{Jl(e)}else t.componentWillUnmount()};function Wx(e,t){try{Wo(pr,e)}catch(a){pn(e,t,a)}}function JS(e,t,a){try{T_(e,a)}catch(i){pn(e,t,i)}}function __(e,t,a){try{a.componentDidMount()}catch(i){pn(e,t,i)}}function Qx(e,t){try{qx(e)}catch(a){pn(e,t,a)}}function Xf(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var i;try{if(Je&&ht&&e.mode&jt)try{Zl(),i=a(null)}finally{Jl(e)}else i=a(null)}catch(u){pn(e,t,u)}typeof i=="function"&&y("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",nt(e))}else a.current=null}function $m(e,t,a){try{a()}catch(i){pn(e,t,i)}}var Gx=!1;function D_(e,t){VR(e.containerInfo),Ue=t,k_();var a=Gx;return Gx=!1,a}function k_(){for(;Ue!==null;){var e=Ue,t=e.child;(e.subtreeFlags&Ll)!==Ye&&t!==null?(t.return=e,Ue=t):O_()}}function O_(){for(;Ue!==null;){var e=Ue;Kt(e);try{N_(e)}catch(a){pn(e,e.return,a)}dn();var t=e.sibling;if(t!==null){t.return=e.return,Ue=t;return}Ue=e.return}}function N_(e){var t=e.alternate,a=e.flags;if((a&Qn)!==Ye){switch(Kt(e),e.tag){case z:case he:case me:break;case M:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!oc&&(s.props!==e.memoizedProps&&y("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",nt(e)||"instance"),s.state!==e.memoizedState&&y("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",nt(e)||"instance"));var f=s.getSnapshotBeforeUpdate(e.elementType===e.type?i:cl(e.type,i),u);{var p=$x;f===void 0&&!p.has(e.type)&&(p.add(e.type),y("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",nt(e)))}s.__reactInternalSnapshotBeforeUpdate=f}break}case A:{{var v=e.stateNode;fT(v.containerInfo)}break}case W:case ne:case q:case Lt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}dn()}}function dl(e,t,a){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var s=u.next,f=s;do{if((f.tag&e)===e){var p=f.destroy;f.destroy=void 0,p!==void 0&&((e&Hr)!==Ya?Zi(t):(e&pr)!==Ya&&gs(t),(e&ql)!==Ya&&cv(!0),$m(t,a,p),(e&ql)!==Ya&&cv(!1),(e&Hr)!==Ya?zl():(e&pr)!==Ya&&Pd())}f=f.next}while(f!==s)}}function Wo(e,t){var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next,s=u;do{if((s.tag&e)===e){(e&Hr)!==Ya?Vd(t):(e&pr)!==Ya&&Pc(t);var f=s.create;(e&ql)!==Ya&&cv(!0),s.destroy=f(),(e&ql)!==Ya&&cv(!1),(e&Hr)!==Ya?Kv():(e&pr)!==Ya&&Xv();{var p=s.destroy;if(p!==void 0&&typeof p!="function"){var v=void 0;(s.tag&pr)!==Ye?v="useLayoutEffect":(s.tag&ql)!==Ye?v="useInsertionEffect":v="useEffect";var g=void 0;p===null?g=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof p.then=="function"?g=`
231
+
232
+ It looks like you wrote `+v+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
233
+
234
+ `+v+`(() => {
235
+ async function fetchData() {
236
+ // You can await here
237
+ const response = await MyAPI.getData(someId);
238
+ // ...
239
+ }
240
+ fetchData();
241
+ }, [someId]); // Or [] if effect doesn't need props or state
242
+
243
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:g=" You returned: "+p,y("%s must not return anything besides a function, which is used for clean-up.%s",v,g)}}}s=s.next}while(s!==u)}}function L_(e,t){if((t.flags&Dt)!==Ye)switch(t.tag){case ze:{var a=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,s=i.onPostCommit,f=cx(),p=t.alternate===null?"mount":"update";sx()&&(p="nested-update"),typeof s=="function"&&s(u,p,a,f);var v=t.return;e:for(;v!==null;){switch(v.tag){case A:var g=v.stateNode;g.passiveEffectDuration+=a;break e;case ze:var C=v.stateNode;C.passiveEffectDuration+=a;break e}v=v.return}break}}}function M_(e,t,a,i){if((a.flags&Al)!==Ye)switch(a.tag){case z:case he:case me:{if(!Pr)if(a.mode&jt)try{Zl(),Wo(pr|dr,a)}finally{Jl(a)}else Wo(pr|dr,a);break}case M:{var u=a.stateNode;if(a.flags&Dt&&!Pr)if(t===null)if(a.type===a.elementType&&!oc&&(u.props!==a.memoizedProps&&y("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",nt(a)||"instance"),u.state!==a.memoizedState&&y("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",nt(a)||"instance")),a.mode&jt)try{Zl(),u.componentDidMount()}finally{Jl(a)}else u.componentDidMount();else{var s=a.elementType===a.type?t.memoizedProps:cl(a.type,t.memoizedProps),f=t.memoizedState;if(a.type===a.elementType&&!oc&&(u.props!==a.memoizedProps&&y("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",nt(a)||"instance"),u.state!==a.memoizedState&&y("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",nt(a)||"instance")),a.mode&jt)try{Zl(),u.componentDidUpdate(s,f,u.__reactInternalSnapshotBeforeUpdate)}finally{Jl(a)}else u.componentDidUpdate(s,f,u.__reactInternalSnapshotBeforeUpdate)}var p=a.updateQueue;p!==null&&(a.type===a.elementType&&!oc&&(u.props!==a.memoizedProps&&y("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",nt(a)||"instance"),u.state!==a.memoizedState&&y("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",nt(a)||"instance")),AE(a,p,u));break}case A:{var v=a.updateQueue;if(v!==null){var g=null;if(a.child!==null)switch(a.child.tag){case W:g=a.child.stateNode;break;case M:g=a.child.stateNode;break}AE(a,v,g)}break}case W:{var C=a.stateNode;if(t===null&&a.flags&Dt){var N=a.type,k=a.memoizedProps;XR(C,N,k)}break}case ne:break;case q:break;case ze:{{var I=a.memoizedProps,Q=I.onCommit,X=I.onRender,be=a.stateNode.effectDuration,Ge=cx(),Be=t===null?"mount":"update";sx()&&(Be="nested-update"),typeof X=="function"&&X(a.memoizedProps.id,Be,a.actualDuration,a.treeBaseDuration,a.actualStartTime,Ge);{typeof Q=="function"&&Q(a.memoizedProps.id,Be,be,Ge),OD(a);var Nt=a.return;e:for(;Nt!==null;){switch(Nt.tag){case A:var wt=Nt.stateNode;wt.effectDuration+=be;break e;case ze:var j=Nt.stateNode;j.effectDuration+=be;break e}Nt=Nt.return}}}break}case Re:{P_(e,a);break}case nn:case Lt:case _t:case je:case xt:case Tt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Pr||a.flags&xn&&qx(a)}function A_(e){switch(e.tag){case z:case he:case me:{if(e.mode&jt)try{Zl(),Wx(e,e.return)}finally{Jl(e)}else Wx(e,e.return);break}case M:{var t=e.stateNode;typeof t.componentDidMount=="function"&&__(e,e.return,t),Qx(e,e.return);break}case W:{Qx(e,e.return);break}}}function U_(e,t){for(var a=null,i=e;;){if(i.tag===W){if(a===null){a=i;try{var u=i.stateNode;t?uT(u):sT(i.stateNode,i.memoizedProps)}catch(f){pn(e,e.return,f)}}}else if(i.tag===ne){if(a===null)try{var s=i.stateNode;t?oT(s):cT(s,i.memoizedProps)}catch(f){pn(e,e.return,f)}}else if(!((i.tag===je||i.tag===xt)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}}function qx(e){var t=e.ref;if(t!==null){var a=e.stateNode,i;switch(e.tag){case W:i=a;break;default:i=a}if(typeof t=="function"){var u;if(e.mode&jt)try{Zl(),u=t(i)}finally{Jl(e)}else u=t(i);typeof u=="function"&&y("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",nt(e))}else t.hasOwnProperty("current")||y("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",nt(e)),t.current=i}}function z_(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Kx(e){var t=e.alternate;t!==null&&(e.alternate=null,Kx(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===W){var a=e.stateNode;a!==null&&BT(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function j_(e){for(var t=e.return;t!==null;){if(Xx(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Xx(e){return e.tag===W||e.tag===A||e.tag===q}function Jx(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Xx(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==W&&t.tag!==ne&&t.tag!==Bt;){if(t.flags&gn||t.child===null||t.tag===q)continue e;t.child.return=t,t=t.child}if(!(t.flags&gn))return t.stateNode}}function F_(e){var t=j_(e);switch(t.tag){case W:{var a=t.stateNode;t.flags&Aa&&(eE(a),t.flags&=~Aa);var i=Jx(e);e0(e,i,a);break}case A:case q:{var u=t.stateNode.containerInfo,s=Jx(e);ZS(e,s,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function ZS(e,t,a){var i=e.tag,u=i===W||i===ne;if(u){var s=e.stateNode;t?rT(a,s,t):tT(a,s)}else if(i!==q){var f=e.child;if(f!==null){ZS(f,t,a);for(var p=f.sibling;p!==null;)ZS(p,t,a),p=p.sibling}}}function e0(e,t,a){var i=e.tag,u=i===W||i===ne;if(u){var s=e.stateNode;t?nT(a,s,t):eT(a,s)}else if(i!==q){var f=e.child;if(f!==null){e0(f,t,a);for(var p=f.sibling;p!==null;)e0(p,t,a),p=p.sibling}}}var Br=null,pl=!1;function H_(e,t,a){{var i=t;e:for(;i!==null;){switch(i.tag){case W:{Br=i.stateNode,pl=!1;break e}case A:{Br=i.stateNode.containerInfo,pl=!0;break e}case q:{Br=i.stateNode.containerInfo,pl=!0;break e}}i=i.return}if(Br===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Zx(e,t,a),Br=null,pl=!1}z_(a)}function Qo(e,t,a){for(var i=a.child;i!==null;)Zx(e,t,i),i=i.sibling}function Zx(e,t,a){switch(jd(a),a.tag){case W:Pr||Xf(a,t);case ne:{{var i=Br,u=pl;Br=null,Qo(e,t,a),Br=i,pl=u,Br!==null&&(pl?iT(Br,a.stateNode):aT(Br,a.stateNode))}return}case Bt:{Br!==null&&(pl?lT(Br,a.stateNode):fg(Br,a.stateNode));return}case q:{{var s=Br,f=pl;Br=a.stateNode.containerInfo,pl=!0,Qo(e,t,a),Br=s,pl=f}return}case z:case he:case Ne:case me:{if(!Pr){var p=a.updateQueue;if(p!==null){var v=p.lastEffect;if(v!==null){var g=v.next,C=g;do{var N=C,k=N.destroy,I=N.tag;k!==void 0&&((I&ql)!==Ya?$m(a,t,k):(I&pr)!==Ya&&(gs(a),a.mode&jt?(Zl(),$m(a,t,k),Jl(a)):$m(a,t,k),Pd())),C=C.next}while(C!==g)}}}Qo(e,t,a);return}case M:{if(!Pr){Xf(a,t);var Q=a.stateNode;typeof Q.componentWillUnmount=="function"&&JS(a,t,Q)}Qo(e,t,a);return}case _t:{Qo(e,t,a);return}case je:{if(a.mode&gt){var X=Pr;Pr=X||a.memoizedState!==null,Qo(e,t,a),Pr=X}else Qo(e,t,a);break}default:{Qo(e,t,a);return}}}function V_(e){e.memoizedState}function P_(e,t){var a=t.memoizedState;if(a===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var s=u.dehydrated;s!==null&&RT(s)}}}}function eb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new w_),t.forEach(function(i){var u=jD.bind(null,e,i);if(!a.has(i)){if(a.add(i),Zr)if(qf!==null&&Kf!==null)sv(Kf,qf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function B_(e,t,a){qf=a,Kf=e,Kt(t),tb(t,e),Kt(t),qf=null,Kf=null}function vl(e,t,a){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var s=i[u];try{H_(e,t,s)}catch(v){pn(s,t,v)}}var f=bl();if(t.subtreeFlags&Ml)for(var p=t.child;p!==null;)Kt(p),tb(p,e),p=p.sibling;Kt(f)}function tb(e,t,a){var i=e.alternate,u=e.flags;switch(e.tag){case z:case he:case Ne:case me:{if(vl(t,e),eu(e),u&Dt){try{dl(ql|dr,e,e.return),Wo(ql|dr,e)}catch(et){pn(e,e.return,et)}if(e.mode&jt){try{Zl(),dl(pr|dr,e,e.return)}catch(et){pn(e,e.return,et)}Jl(e)}else try{dl(pr|dr,e,e.return)}catch(et){pn(e,e.return,et)}}return}case M:{vl(t,e),eu(e),u&xn&&i!==null&&Xf(i,i.return);return}case W:{vl(t,e),eu(e),u&xn&&i!==null&&Xf(i,i.return);{if(e.flags&Aa){var s=e.stateNode;try{eE(s)}catch(et){pn(e,e.return,et)}}if(u&Dt){var f=e.stateNode;if(f!=null){var p=e.memoizedProps,v=i!==null?i.memoizedProps:p,g=e.type,C=e.updateQueue;if(e.updateQueue=null,C!==null)try{JR(f,C,g,v,p,e)}catch(et){pn(e,e.return,et)}}}}return}case ne:{if(vl(t,e),eu(e),u&Dt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var N=e.stateNode,k=e.memoizedProps,I=i!==null?i.memoizedProps:k;try{ZR(N,I,k)}catch(et){pn(e,e.return,et)}}return}case A:{if(vl(t,e),eu(e),u&Dt&&i!==null){var Q=i.memoizedState;if(Q.isDehydrated)try{wT(t.containerInfo)}catch(et){pn(e,e.return,et)}}return}case q:{vl(t,e),eu(e);return}case Re:{vl(t,e),eu(e);var X=e.child;if(X.flags&Un){var be=X.stateNode,Ge=X.memoizedState,Be=Ge!==null;if(be.isHidden=Be,Be){var Nt=X.alternate!==null&&X.alternate.memoizedState!==null;Nt||xD()}}if(u&Dt){try{V_(e)}catch(et){pn(e,e.return,et)}eb(e)}return}case je:{var wt=i!==null&&i.memoizedState!==null;if(e.mode&gt){var j=Pr;Pr=j||wt,vl(t,e),Pr=j}else vl(t,e);if(eu(e),u&Un){var J=e.stateNode,F=e.memoizedState,de=F!==null,De=e;if(J.isHidden=de,de&&!wt&&(De.mode&gt)!==$e){Ue=De;for(var we=De.child;we!==null;)Ue=we,Y_(we),we=we.sibling}U_(De,de)}return}case nn:{vl(t,e),eu(e),u&Dt&&eb(e);return}case _t:return;default:{vl(t,e),eu(e);return}}}function eu(e){var t=e.flags;if(t&gn){try{F_(e)}catch(a){pn(e,e.return,a)}e.flags&=~gn}t&Kr&&(e.flags&=~Kr)}function I_(e,t,a){qf=a,Kf=t,Ue=e,nb(e,t,a),qf=null,Kf=null}function nb(e,t,a){for(var i=(e.mode&gt)!==$e;Ue!==null;){var u=Ue,s=u.child;if(u.tag===je&&i){var f=u.memoizedState!==null,p=f||Ym;if(p){t0(e,t,a);continue}else{var v=u.alternate,g=v!==null&&v.memoizedState!==null,C=g||Pr,N=Ym,k=Pr;Ym=p,Pr=C,Pr&&!k&&(Ue=u,$_(u));for(var I=s;I!==null;)Ue=I,nb(I,t,a),I=I.sibling;Ue=u,Ym=N,Pr=k,t0(e,t,a);continue}}(u.subtreeFlags&Al)!==Ye&&s!==null?(s.return=u,Ue=s):t0(e,t,a)}}function t0(e,t,a){for(;Ue!==null;){var i=Ue;if((i.flags&Al)!==Ye){var u=i.alternate;Kt(i);try{M_(t,u,i,a)}catch(f){pn(i,i.return,f)}dn()}if(i===e){Ue=null;return}var s=i.sibling;if(s!==null){s.return=i.return,Ue=s;return}Ue=i.return}}function Y_(e){for(;Ue!==null;){var t=Ue,a=t.child;switch(t.tag){case z:case he:case Ne:case me:{if(t.mode&jt)try{Zl(),dl(pr,t,t.return)}finally{Jl(t)}else dl(pr,t,t.return);break}case M:{Xf(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&JS(t,t.return,i);break}case W:{Xf(t,t.return);break}case je:{var u=t.memoizedState!==null;if(u){rb(e);continue}break}}a!==null?(a.return=t,Ue=a):rb(e)}}function rb(e){for(;Ue!==null;){var t=Ue;if(t===e){Ue=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ue=a;return}Ue=t.return}}function $_(e){for(;Ue!==null;){var t=Ue,a=t.child;if(t.tag===je){var i=t.memoizedState!==null;if(i){ab(e);continue}}a!==null?(a.return=t,Ue=a):ab(e)}}function ab(e){for(;Ue!==null;){var t=Ue;Kt(t);try{A_(t)}catch(i){pn(t,t.return,i)}if(dn(),t===e){Ue=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ue=a;return}Ue=t.return}}function W_(e,t,a,i){Ue=t,Q_(t,e,a,i)}function Q_(e,t,a,i){for(;Ue!==null;){var u=Ue,s=u.child;(u.subtreeFlags&Xi)!==Ye&&s!==null?(s.return=u,Ue=s):G_(e,t,a,i)}}function G_(e,t,a,i){for(;Ue!==null;){var u=Ue;if((u.flags&qr)!==Ye){Kt(u);try{q_(t,u,a,i)}catch(f){pn(u,u.return,f)}dn()}if(u===e){Ue=null;return}var s=u.sibling;if(s!==null){s.return=u.return,Ue=s;return}Ue=u.return}}function q_(e,t,a,i){switch(t.tag){case z:case he:case me:{if(t.mode&jt){CS();try{Wo(Hr|dr,t)}finally{SS(t)}}else Wo(Hr|dr,t);break}}}function K_(e){Ue=e,X_()}function X_(){for(;Ue!==null;){var e=Ue,t=e.child;if((Ue.flags&Ma)!==Ye){var a=e.deletions;if(a!==null){for(var i=0;i<a.length;i++){var u=a[i];Ue=u,eD(u,e)}{var s=e.alternate;if(s!==null){var f=s.child;if(f!==null){s.child=null;do{var p=f.sibling;f.sibling=null,f=p}while(f!==null)}}}Ue=e}}(e.subtreeFlags&Xi)!==Ye&&t!==null?(t.return=e,Ue=t):J_()}}function J_(){for(;Ue!==null;){var e=Ue;(e.flags&qr)!==Ye&&(Kt(e),Z_(e),dn());var t=e.sibling;if(t!==null){t.return=e.return,Ue=t;return}Ue=e.return}}function Z_(e){switch(e.tag){case z:case he:case me:{e.mode&jt?(CS(),dl(Hr|dr,e,e.return),SS(e)):dl(Hr|dr,e,e.return);break}}}function eD(e,t){for(;Ue!==null;){var a=Ue;Kt(a),nD(a,t),dn();var i=a.child;i!==null?(i.return=a,Ue=i):tD(e)}}function tD(e){for(;Ue!==null;){var t=Ue,a=t.sibling,i=t.return;if(Kx(t),t===e){Ue=null;return}if(a!==null){a.return=i,Ue=a;return}Ue=i}}function nD(e,t){switch(e.tag){case z:case he:case me:{e.mode&jt?(CS(),dl(Hr,e,t),SS(e)):dl(Hr,e,t);break}}}function rD(e){switch(e.tag){case z:case he:case me:{try{Wo(pr|dr,e)}catch(a){pn(e,e.return,a)}break}case M:{var t=e.stateNode;try{t.componentDidMount()}catch(a){pn(e,e.return,a)}break}}}function aD(e){switch(e.tag){case z:case he:case me:{try{Wo(Hr|dr,e)}catch(t){pn(e,e.return,t)}break}}}function iD(e){switch(e.tag){case z:case he:case me:{try{dl(pr|dr,e,e.return)}catch(a){pn(e,e.return,a)}break}case M:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&JS(e,e.return,t);break}}}function lD(e){switch(e.tag){case z:case he:case me:try{dl(Hr|dr,e,e.return)}catch(t){pn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Jp=Symbol.for;Jp("selector.component"),Jp("selector.has_pseudo_class"),Jp("selector.role"),Jp("selector.test_id"),Jp("selector.text")}var uD=[];function oD(){uD.forEach(function(e){return e()})}var sD=S.ReactCurrentActQueue;function cD(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function ib(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&sD.current!==null&&y("The current testing environment is not configured to support act(...)"),e}}var fD=Math.ceil,n0=S.ReactCurrentDispatcher,r0=S.ReactCurrentOwner,Ir=S.ReactCurrentBatchConfig,hl=S.ReactCurrentActQueue,mr=0,lb=1,Yr=2,Vi=4,Wu=0,Zp=1,sc=2,Wm=3,ev=4,ub=5,a0=6,Ot=mr,Ea=null,Nn=null,yr=ue,tu=ue,i0=jo(ue),gr=Wu,tv=null,Qm=ue,nv=ue,Gm=ue,rv=null,$a=null,l0=0,ob=500,sb=1/0,dD=500,Qu=null;function av(){sb=Gn()+dD}function cb(){return sb}var qm=!1,u0=null,Jf=null,cc=!1,Go=null,iv=ue,o0=[],s0=null,pD=50,lv=0,c0=null,f0=!1,Km=!1,vD=50,Zf=0,Xm=null,uv=rn,Jm=ue,fb=!1;function Zm(){return Ea}function xa(){return(Ot&(Yr|Vi))!==mr?Gn():(uv!==rn||(uv=Gn()),uv)}function qo(e){var t=e.mode;if((t&gt)===$e)return Ze;if((Ot&Yr)!==mr&&yr!==ue)return Ns(yr);var a=s1()!==o1;if(a){if(Ir.transition!==null){var i=Ir.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Jm===Ut&&(Jm=qd()),Jm}var u=Va();if(u!==Ut)return u;var s=QR();return s}function hD(e){var t=e.mode;return(t&gt)===$e?Ze:rh()}function Sr(e,t,a,i){HD(),fb&&y("useInsertionEffect must not schedule updates."),f0&&(Km=!0),To(e,a,i),(Ot&Yr)!==ue&&e===Ea?BD(t):(Zr&&As(e,t,a),ID(t),e===Ea&&((Ot&Yr)===mr&&(nv=ot(nv,a)),gr===ev&&Ko(e,yr)),Wa(e,i),a===Ze&&Ot===mr&&(t.mode&gt)===$e&&!hl.isBatchingLegacy&&(av(),fE()))}function mD(e,t,a){var i=e.current;i.lanes=t,To(e,t,a),Wa(e,a)}function yD(e){return(Ot&Yr)!==mr}function Wa(e,t){var a=e.callbackNode;of(e,t);var i=uf(e,e===Ea?yr:ue);if(i===ue){a!==null&&_b(a),e.callbackNode=null,e.callbackPriority=Ut;return}var u=Hl(i),s=e.callbackPriority;if(s===u&&!(hl.current!==null&&a!==g0)){a==null&&s!==Ze&&y("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&_b(a);var f;if(u===Ze)e.tag===Fo?(hl.isBatchingLegacy!==null&&(hl.didScheduleLegacyUpdate=!0),$T(vb.bind(null,e))):cE(vb.bind(null,e)),hl.current!==null?hl.current.push(Ho):qR(function(){(Ot&(Yr|Vi))===mr&&Ho()}),f=null;else{var p;switch(ch(i)){case Mr:p=ys;break;case Oi:p=Ul;break;case Fa:p=Ji;break;case Ha:p=Cu;break;default:p=Ji;break}f=S0(p,db.bind(null,e))}e.callbackPriority=u,e.callbackNode=f}function db(e,t){if(U1(),uv=rn,Jm=ue,(Ot&(Yr|Vi))!==mr)throw new Error("Should not already be working.");var a=e.callbackNode,i=qu();if(i&&e.callbackNode!==a)return null;var u=uf(e,e===Ea?yr:ue);if(u===ue)return null;var s=!cf(e,u)&&!nh(e,u)&&!t,f=s?_D(e,u):ty(e,u);if(f!==Wu){if(f===sc){var p=sf(e);p!==ue&&(u=p,f=d0(e,p))}if(f===Zp){var v=tv;throw fc(e,ue),Ko(e,u),Wa(e,Gn()),v}if(f===a0)Ko(e,u);else{var g=!cf(e,u),C=e.current.alternate;if(g&&!SD(C)){if(f=ty(e,u),f===sc){var N=sf(e);N!==ue&&(u=N,f=d0(e,N))}if(f===Zp){var k=tv;throw fc(e,ue),Ko(e,u),Wa(e,Gn()),k}}e.finishedWork=C,e.finishedLanes=u,gD(e,f,u)}}return Wa(e,Gn()),e.callbackNode===a?db.bind(null,e):null}function d0(e,t){var a=rv;if(pf(e)){var i=fc(e,t);i.flags|=br,FT(e.containerInfo)}var u=ty(e,t);if(u!==sc){var s=$a;$a=a,s!==null&&pb(s)}return u}function pb(e){$a===null?$a=e:$a.push.apply($a,e)}function gD(e,t,a){switch(t){case Wu:case Zp:throw new Error("Root did not complete. This is a bug in React.");case sc:{dc(e,$a,Qu);break}case Wm:{if(Ko(e,a),Nu(a)&&!Db()){var i=l0+ob-Gn();if(i>10){var u=uf(e,ue);if(u!==ue)break;var s=e.suspendedLanes;if(!Lu(s,a)){xa(),ff(e,s);break}e.timeoutHandle=sg(dc.bind(null,e,$a,Qu),i);break}}dc(e,$a,Qu);break}case ev:{if(Ko(e,a),Qd(a))break;if(!Db()){var f=ui(e,a),p=f,v=Gn()-p,g=FD(v)-v;if(g>10){e.timeoutHandle=sg(dc.bind(null,e,$a,Qu),g);break}}dc(e,$a,Qu);break}case ub:{dc(e,$a,Qu);break}default:throw new Error("Unknown root exit status.")}}function SD(e){for(var t=e;;){if(t.flags&Eo){var a=t.updateQueue;if(a!==null){var i=a.stores;if(i!==null)for(var u=0;u<i.length;u++){var s=i[u],f=s.getSnapshot,p=s.value;try{if(!ce(f(),p))return!1}catch{return!1}}}}var v=t.child;if(t.subtreeFlags&Eo&&v!==null){v.return=t,t=v;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ko(e,t){t=Ls(t,Gm),t=Ls(t,nv),lh(e,t)}function vb(e){if(z1(),(Ot&(Yr|Vi))!==mr)throw new Error("Should not already be working.");qu();var t=uf(e,ue);if(!ta(t,Ze))return Wa(e,Gn()),null;var a=ty(e,t);if(e.tag!==Fo&&a===sc){var i=sf(e);i!==ue&&(t=i,a=d0(e,i))}if(a===Zp){var u=tv;throw fc(e,ue),Ko(e,t),Wa(e,Gn()),u}if(a===a0)throw new Error("Root did not complete. This is a bug in React.");var s=e.current.alternate;return e.finishedWork=s,e.finishedLanes=t,dc(e,$a,Qu),Wa(e,Gn()),null}function CD(e,t){t!==ue&&(df(e,ot(t,Ze)),Wa(e,Gn()),(Ot&(Yr|Vi))===mr&&(av(),Ho()))}function p0(e,t){var a=Ot;Ot|=lb;try{return e(t)}finally{Ot=a,Ot===mr&&!hl.isBatchingLegacy&&(av(),fE())}}function ED(e,t,a,i,u){var s=Va(),f=Ir.transition;try{return Ir.transition=null,Hn(Mr),e(t,a,i,u)}finally{Hn(s),Ir.transition=f,Ot===mr&&av()}}function Gu(e){Go!==null&&Go.tag===Fo&&(Ot&(Yr|Vi))===mr&&qu();var t=Ot;Ot|=lb;var a=Ir.transition,i=Va();try{return Ir.transition=null,Hn(Mr),e?e():void 0}finally{Hn(i),Ir.transition=a,Ot=t,(Ot&(Yr|Vi))===mr&&Ho()}}function hb(){return(Ot&(Yr|Vi))!==mr}function ey(e,t){la(i0,tu,e),tu=ot(tu,t)}function v0(e){tu=i0.current,ia(i0,e)}function fc(e,t){e.finishedWork=null,e.finishedLanes=ue;var a=e.timeoutHandle;if(a!==cg&&(e.timeoutHandle=cg,GR(a)),Nn!==null)for(var i=Nn.return;i!==null;){var u=i.alternate;Yx(u,i),i=i.return}Ea=e;var s=pc(e.current,null);return Nn=s,yr=tu=t,gr=Wu,tv=null,Qm=ue,nv=ue,Gm=ue,rv=null,$a=null,m1(),ul.discardPendingWarnings(),s}function mb(e,t){do{var a=Nn;try{if(cm(),VE(),dn(),r0.current=null,a===null||a.return===null){gr=Zp,tv=t,Nn=null;return}if(Je&&a.mode&jt&&Hm(a,!0),We)if(ya(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;ki(a,i,yr)}else Ss(a,t,yr);$1(e,a.return,a,t,yr),Cb(a)}catch(u){t=u,Nn===a&&a!==null?(a=a.return,Nn=a):a=Nn;continue}return}while(!0)}function yb(){var e=n0.current;return n0.current=Am,e===null?Am:e}function gb(e){n0.current=e}function xD(){l0=Gn()}function ov(e){Qm=ot(e,Qm)}function bD(){gr===Wu&&(gr=Wm)}function h0(){(gr===Wu||gr===Wm||gr===sc)&&(gr=ev),Ea!==null&&(Os(Qm)||Os(nv))&&Ko(Ea,yr)}function wD(e){gr!==ev&&(gr=sc),rv===null?rv=[e]:rv.push(e)}function RD(){return gr===Wu}function ty(e,t){var a=Ot;Ot|=Yr;var i=yb();if(Ea!==e||yr!==t){if(Zr){var u=e.memoizedUpdaters;u.size>0&&(sv(e,yr),u.clear()),uh(e,t)}Qu=Zd(),fc(e,t)}wu(t);do try{TD();break}catch(s){mb(e,s)}while(!0);if(cm(),Ot=a,gb(i),Nn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Bc(),Ea=null,yr=ue,gr}function TD(){for(;Nn!==null;)Sb(Nn)}function _D(e,t){var a=Ot;Ot|=Yr;var i=yb();if(Ea!==e||yr!==t){if(Zr){var u=e.memoizedUpdaters;u.size>0&&(sv(e,yr),u.clear()),uh(e,t)}Qu=Zd(),av(),fc(e,t)}wu(t);do try{DD();break}catch(s){mb(e,s)}while(!0);return cm(),gb(i),Ot=a,Nn!==null?(Jv(),Wu):(Bc(),Ea=null,yr=ue,gr)}function DD(){for(;Nn!==null&&!Ld();)Sb(Nn)}function Sb(e){var t=e.alternate;Kt(e);var a;(e.mode&jt)!==$e?(gS(e),a=m0(t,e,tu),Hm(e,!0)):a=m0(t,e,tu),dn(),e.memoizedProps=e.pendingProps,a===null?Cb(e):Nn=a,r0.current=null}function Cb(e){var t=e;do{var a=t.alternate,i=t.return;if((t.flags&ms)===Ye){Kt(t);var u=void 0;if((t.mode&jt)===$e?u=Ix(a,t,tu):(gS(t),u=Ix(a,t,tu),Hm(t,!1)),dn(),u!==null){Nn=u;return}}else{var s=b_(a,t);if(s!==null){s.flags&=Wv,Nn=s;return}if((t.mode&jt)!==$e){Hm(t,!1);for(var f=t.actualDuration,p=t.child;p!==null;)f+=p.actualDuration,p=p.sibling;t.actualDuration=f}if(i!==null)i.flags|=ms,i.subtreeFlags=Ye,i.deletions=null;else{gr=a0,Nn=null;return}}var v=t.sibling;if(v!==null){Nn=v;return}t=i,Nn=t}while(t!==null);gr===Wu&&(gr=ub)}function dc(e,t,a){var i=Va(),u=Ir.transition;try{Ir.transition=null,Hn(Mr),kD(e,t,a,i)}finally{Ir.transition=u,Hn(i)}return null}function kD(e,t,a,i){do qu();while(Go!==null);if(VD(),(Ot&(Yr|Vi))!==mr)throw new Error("Should not already be working.");var u=e.finishedWork,s=e.finishedLanes;if(Fd(s),u===null)return Hd(),null;if(s===ue&&y("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ue,u===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ut;var f=ot(u.lanes,u.childLanes);Xd(e,f),e===Ea&&(Ea=null,Nn=null,yr=ue),((u.subtreeFlags&Xi)!==Ye||(u.flags&Xi)!==Ye)&&(cc||(cc=!0,s0=a,S0(Ji,function(){return qu(),null})));var p=(u.subtreeFlags&(Ll|Ml|Al|Xi))!==Ye,v=(u.flags&(Ll|Ml|Al|Xi))!==Ye;if(p||v){var g=Ir.transition;Ir.transition=null;var C=Va();Hn(Mr);var N=Ot;Ot|=Vi,r0.current=null,D_(e,u),fx(),B_(e,u,s),PR(e.containerInfo),e.current=u,Cs(s),I_(u,e,s),Es(),Md(),Ot=N,Hn(C),Ir.transition=g}else e.current=u,fx();var k=cc;if(cc?(cc=!1,Go=e,iv=s):(Zf=0,Xm=null),f=e.pendingLanes,f===ue&&(Jf=null),k||wb(e.current,!1),Ud(u.stateNode,i),Zr&&e.memoizedUpdaters.clear(),oD(),Wa(e,Gn()),t!==null)for(var I=e.onRecoverableError,Q=0;Q<t.length;Q++){var X=t[Q],be=X.stack,Ge=X.digest;I(X.value,{componentStack:be,digest:Ge})}if(qm){qm=!1;var Be=u0;throw u0=null,Be}return ta(iv,Ze)&&e.tag!==Fo&&qu(),f=e.pendingLanes,ta(f,Ze)?(A1(),e===c0?lv++:(lv=0,c0=e)):lv=0,Ho(),Hd(),null}function qu(){if(Go!==null){var e=ch(iv),t=zs(Fa,e),a=Ir.transition,i=Va();try{return Ir.transition=null,Hn(t),ND()}finally{Hn(i),Ir.transition=a}}return!1}function OD(e){o0.push(e),cc||(cc=!0,S0(Ji,function(){return qu(),null}))}function ND(){if(Go===null)return!1;var e=s0;s0=null;var t=Go,a=iv;if(Go=null,iv=ue,(Ot&(Yr|Vi))!==mr)throw new Error("Cannot flush passive effects while already rendering.");f0=!0,Km=!1,bu(a);var i=Ot;Ot|=Vi,K_(t.current),W_(t,t.current,a,e);{var u=o0;o0=[];for(var s=0;s<u.length;s++){var f=u[s];L_(t,f)}}Bd(),wb(t.current,!0),Ot=i,Ho(),Km?t===Xm?Zf++:(Zf=0,Xm=t):Zf=0,f0=!1,Km=!1,zd(t);{var p=t.current.stateNode;p.effectDuration=0,p.passiveEffectDuration=0}return!0}function Eb(e){return Jf!==null&&Jf.has(e)}function LD(e){Jf===null?Jf=new Set([e]):Jf.add(e)}function MD(e){qm||(qm=!0,u0=e)}var AD=MD;function xb(e,t,a){var i=uc(a,t),u=Sx(e,i,Ze),s=Po(e,u,Ze),f=xa();s!==null&&(To(s,Ze,f),Wa(s,f))}function pn(e,t,a){if(R_(a),cv(!1),e.tag===A){xb(e,e,a);return}var i=null;for(i=t;i!==null;){if(i.tag===A){xb(i,e,a);return}else if(i.tag===M){var u=i.type,s=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!Eb(s)){var f=uc(a,e),p=zS(i,f,Ze),v=Po(i,p,Ze),g=xa();v!==null&&(To(v,Ze,g),Wa(v,g));return}}i=i.return}y(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
244
+
245
+ Error message:
246
+
247
+ %s`,a)}function UD(e,t,a){var i=e.pingCache;i!==null&&i.delete(t);var u=xa();ff(e,a),YD(e),Ea===e&&Lu(yr,a)&&(gr===ev||gr===Wm&&Nu(yr)&&Gn()-l0<ob?fc(e,ue):Gm=ot(Gm,a)),Wa(e,u)}function bb(e,t){t===Ut&&(t=hD(e));var a=xa(),i=Ia(e,t);i!==null&&(To(i,t,a),Wa(i,a))}function zD(e){var t=e.memoizedState,a=Ut;t!==null&&(a=t.retryLane),bb(e,a)}function jD(e,t){var a=Ut,i;switch(e.tag){case Re:i=e.stateNode;var u=e.memoizedState;u!==null&&(a=u.retryLane);break;case nn:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),bb(e,a)}function FD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:fD(e/1960)*1960}function HD(){if(lv>pD)throw lv=0,c0=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Zf>vD&&(Zf=0,Xm=null,y("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function VD(){ul.flushLegacyContextWarning(),ul.flushPendingUnsafeLifecycleWarnings()}function wb(e,t){Kt(e),ny(e,Nl,iD),t&&ny(e,Ti,lD),ny(e,Nl,rD),t&&ny(e,Ti,aD),dn()}function ny(e,t,a){for(var i=e,u=null;i!==null;){var s=i.subtreeFlags&t;i!==u&&i.child!==null&&s!==Ye?i=i.child:((i.flags&t)!==Ye&&a(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var ry=null;function Rb(e){{if((Ot&Yr)!==mr||!(e.mode&gt))return;var t=e.tag;if(t!==H&&t!==A&&t!==M&&t!==z&&t!==he&&t!==Ne&&t!==me)return;var a=nt(e)||"ReactComponent";if(ry!==null){if(ry.has(a))return;ry.add(a)}else ry=new Set([a]);var i=ur;try{Kt(e),y("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?Kt(e):dn()}}}var m0;{var PD=null;m0=function(e,t,a){var i=Mb(PD,t);try{return Fx(e,t,a)}catch(s){if(ZT()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(cm(),VE(),Yx(e,t),Mb(t,i),t.mode&jt&&gS(t),Ol(null,Fx,null,e,t,a),qi()){var u=hs();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var Tb=!1,y0;y0=new Set;function BD(e){if(Si&&!N1())switch(e.tag){case z:case he:case me:{var t=Nn&&nt(Nn)||"Unknown",a=t;if(!y0.has(a)){y0.add(a);var i=nt(e)||"Unknown";y("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case M:{Tb||(y("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Tb=!0);break}}}function sv(e,t){if(Zr){var a=e.memoizedUpdaters;a.forEach(function(i){As(e,i,t)})}}var g0={};function S0(e,t){{var a=hl.current;return a!==null?(a.push(t),g0):Nd(e,t)}}function _b(e){if(e!==g0)return Gv(e)}function Db(){return hl.current!==null}function ID(e){{if(e.mode&gt){if(!ib())return}else if(!cD()||Ot!==mr||e.tag!==z&&e.tag!==he&&e.tag!==me)return;if(hl.current===null){var t=ur;try{Kt(e),y(`An update to %s inside a test was not wrapped in act(...).
248
+
249
+ When testing, code that causes React state updates should be wrapped into act(...):
250
+
251
+ act(() => {
252
+ /* fire events that update state */
253
+ });
254
+ /* assert on the output */
255
+
256
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,nt(e))}finally{t?Kt(e):dn()}}}}function YD(e){e.tag!==Fo&&ib()&&hl.current===null&&y(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
257
+
258
+ When testing, code that resolves suspended data should be wrapped into act(...):
259
+
260
+ act(() => {
261
+ /* finish loading suspended data */
262
+ });
263
+ /* assert on the output */
264
+
265
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function cv(e){fb=e}var Pi=null,ed=null,$D=function(e){Pi=e};function td(e){{if(Pi===null)return e;var t=Pi(e);return t===void 0?e:t.current}}function C0(e){return td(e)}function E0(e){{if(Pi===null)return e;var t=Pi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=td(e.render);if(e.render!==a){var i={$$typeof:le,render:a};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function kb(e,t){{if(Pi===null)return!1;var a=e.elementType,i=t.type,u=!1,s=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case M:{typeof i=="function"&&(u=!0);break}case z:{(typeof i=="function"||s===rt)&&(u=!0);break}case he:{(s===le||s===rt)&&(u=!0);break}case Ne:case me:{(s===lt||s===rt)&&(u=!0);break}default:return!1}if(u){var f=Pi(a);if(f!==void 0&&f===Pi(i))return!0}return!1}}function Ob(e){{if(Pi===null||typeof WeakSet!="function")return;ed===null&&(ed=new WeakSet),ed.add(e)}}var WD=function(e,t){{if(Pi===null)return;var a=t.staleFamilies,i=t.updatedFamilies;qu(),Gu(function(){x0(e.current,i,a)})}},QD=function(e,t){{if(e.context!==ci)return;qu(),Gu(function(){fv(t,e,null,null)})}};function x0(e,t,a){{var i=e.alternate,u=e.child,s=e.sibling,f=e.tag,p=e.type,v=null;switch(f){case z:case me:case M:v=p;break;case he:v=p.render;break}if(Pi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var g=!1,C=!1;if(v!==null){var N=Pi(v);N!==void 0&&(a.has(N)?C=!0:t.has(N)&&(f===M?C=!0:g=!0))}if(ed!==null&&(ed.has(e)||i!==null&&ed.has(i))&&(C=!0),C&&(e._debugNeedsRemount=!0),C||g){var k=Ia(e,Ze);k!==null&&Sr(k,e,Ze,rn)}u!==null&&!C&&x0(u,t,a),s!==null&&x0(s,t,a)}}var GD=function(e,t){{var a=new Set,i=new Set(t.map(function(u){return u.current}));return b0(e.current,i,a),a}};function b0(e,t,a){{var i=e.child,u=e.sibling,s=e.tag,f=e.type,p=null;switch(s){case z:case me:case M:p=f;break;case he:p=f.render;break}var v=!1;p!==null&&t.has(p)&&(v=!0),v?qD(e,a):i!==null&&b0(i,t,a),u!==null&&b0(u,t,a)}}function qD(e,t){{var a=KD(e,t);if(a)return;for(var i=e;;){switch(i.tag){case W:t.add(i.stateNode);return;case q:t.add(i.stateNode.containerInfo);return;case A:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function KD(e,t){for(var a=e,i=!1;;){if(a.tag===W)i=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return i;for(;a.sibling===null;){if(a.return===null||a.return===e)return i;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var w0;{w0=!1;try{var Nb=Object.preventExtensions({})}catch{w0=!0}}function XD(e,t,a,i){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=Ye,this.subtreeFlags=Ye,this.deletions=null,this.lanes=ue,this.childLanes=ue,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!w0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var fi=function(e,t,a,i){return new XD(e,t,a,i)};function R0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function JD(e){return typeof e=="function"&&!R0(e)&&e.defaultProps===void 0}function ZD(e){if(typeof e=="function")return R0(e)?M:z;if(e!=null){var t=e.$$typeof;if(t===le)return he;if(t===lt)return Ne}return H}function pc(e,t){var a=e.alternate;a===null?(a=fi(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=Ye,a.subtreeFlags=Ye,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&zn,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var i=e.dependencies;switch(a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case H:case z:case me:a.type=td(e.type);break;case M:a.type=C0(e.type);break;case he:a.type=E0(e.type);break}return a}function ek(e,t){e.flags&=zn|gn;var a=e.alternate;if(a===null)e.childLanes=ue,e.lanes=t,e.child=null,e.subtreeFlags=Ye,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=Ye,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var i=a.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function tk(e,t,a){var i;return e===em?(i=gt,t===!0&&(i|=Zt,i|=Ft)):i=$e,Zr&&(i|=jt),fi(A,null,null,i)}function T0(e,t,a,i,u,s){var f=H,p=e;if(typeof e=="function")R0(e)?(f=M,p=C0(p)):p=td(p);else if(typeof e=="string")f=W;else e:switch(e){case hi:return Xo(a.children,u,s,t);case Ka:f=ie,u|=Zt,(u&gt)!==$e&&(u|=Ft);break;case mi:return nk(a,u,s,t);case Ee:return rk(a,u,s,t);case Oe:return ak(a,u,s,t);case Rn:return Lb(a,u,s,t);case un:case St:case fn:case lr:case yt:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yi:f=te;break e;case T:f=re;break e;case le:f=he,p=E0(p);break e;case lt:f=Ne;break e;case rt:f=Et,p=null;break e}var v="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var g=i?nt(i):null;g&&(v+=`
266
+
267
+ Check the render method of \``+g+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+v))}}var C=fi(f,a,t,u);return C.elementType=e,C.type=p,C.lanes=s,C._debugOwner=i,C}function _0(e,t,a){var i=null;i=e._owner;var u=e.type,s=e.key,f=e.props,p=T0(u,s,f,i,t,a);return p._debugSource=e._source,p._debugOwner=e._owner,p}function Xo(e,t,a,i){var u=fi(ee,e,i,t);return u.lanes=a,u}function nk(e,t,a,i){typeof e.id!="string"&&y('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=fi(ze,e,i,t|jt);return u.elementType=mi,u.lanes=a,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function rk(e,t,a,i){var u=fi(Re,e,i,t);return u.elementType=Ee,u.lanes=a,u}function ak(e,t,a,i){var u=fi(nn,e,i,t);return u.elementType=Oe,u.lanes=a,u}function Lb(e,t,a,i){var u=fi(je,e,i,t);u.elementType=Rn,u.lanes=a;var s={isHidden:!1};return u.stateNode=s,u}function D0(e,t,a){var i=fi(ne,e,null,t);return i.lanes=a,i}function ik(){var e=fi(W,null,null,$e);return e.elementType="DELETED",e}function lk(e){var t=fi(Bt,null,null,$e);return t.stateNode=e,t}function k0(e,t,a){var i=e.children!==null?e.children:[],u=fi(q,i,e.key,t);return u.lanes=a,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function Mb(e,t){return e===null&&(e=fi(H,null,null,$e)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function uk(e,t,a,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=cg,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ut,this.eventTimes=Ms(ue),this.expirationTimes=Ms(rn),this.pendingLanes=ue,this.suspendedLanes=ue,this.pingedLanes=ue,this.expiredLanes=ue,this.mutableReadLanes=ue,this.finishedLanes=ue,this.entangledLanes=ue,this.entanglements=Ms(ue),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var s=this.pendingUpdatersLaneMap=[],f=0;f<Ru;f++)s.push(new Set)}switch(t){case em:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case Fo:this._debugRootType=a?"hydrate()":"render()";break}}function Ab(e,t,a,i,u,s,f,p,v,g){var C=new uk(e,t,a,p,v),N=tk(t,s);C.current=N,N.stateNode=C;{var k={element:i,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};N.memoizedState=k}return Bg(N),C}var O0="18.3.1";function ok(e,t,a){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Wr(i),{$$typeof:ir,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var N0,L0;N0=!1,L0={};function Ub(e){if(!e)return ci;var t=Co(e),a=YT(t);if(t.tag===M){var i=t.type;if(Gl(i))return oE(t,i,a)}return a}function sk(e,t){{var a=Co(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=Xr(a);if(u===null)return null;if(u.mode&Zt){var s=nt(a)||"Component";if(!L0[s]){L0[s]=!0;var f=ur;try{Kt(u),a.mode&Zt?y("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s):y("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s)}finally{f?Kt(f):dn()}}}return u.stateNode}}function zb(e,t,a,i,u,s,f,p){var v=!1,g=null;return Ab(e,t,v,g,a,i,u,s,f)}function jb(e,t,a,i,u,s,f,p,v,g){var C=!0,N=Ab(a,i,C,e,u,s,f,p,v);N.context=Ub(null);var k=N.current,I=xa(),Q=qo(k),X=Yu(I,Q);return X.callback=t??null,Po(k,X,Q),mD(N,Q,I),N}function fv(e,t,a,i){Ad(t,e);var u=t.current,s=xa(),f=qo(u);Cn(f);var p=Ub(a);t.context===null?t.context=p:t.pendingContext=p,Si&&ur!==null&&!N0&&(N0=!0,y(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
268
+
269
+ Check the render method of %s.`,nt(ur)||"Unknown"));var v=Yu(s,f);v.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&y("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),v.callback=i);var g=Po(u,v,f);return g!==null&&(Sr(g,u,f,s),hm(g,u,f)),f}function ay(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case W:return t.child.stateNode;default:return t.child.stateNode}}function ck(e){switch(e.tag){case A:{var t=e.stateNode;if(pf(t)){var a=eh(t);CD(t,a)}break}case Re:{Gu(function(){var u=Ia(e,Ze);if(u!==null){var s=xa();Sr(u,e,Ze,s)}});var i=Ze;M0(e,i);break}}}function Fb(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=ih(a.retryLane,t))}function M0(e,t){Fb(e,t);var a=e.alternate;a&&Fb(a,t)}function fk(e){if(e.tag===Re){var t=_s,a=Ia(e,t);if(a!==null){var i=xa();Sr(a,e,t,i)}M0(e,t)}}function dk(e){if(e.tag===Re){var t=qo(e),a=Ia(e,t);if(a!==null){var i=xa();Sr(a,e,t,i)}M0(e,t)}}function Hb(e){var t=vn(e);return t===null?null:t.stateNode}var Vb=function(e){return null};function pk(e){return Vb(e)}var Pb=function(e){return!1};function vk(e){return Pb(e)}var Bb=null,Ib=null,Yb=null,$b=null,Wb=null,Qb=null,Gb=null,qb=null,Kb=null;{var Xb=function(e,t,a){var i=t[a],u=vt(e)?e.slice():ct({},e);return a+1===t.length?(vt(u)?u.splice(i,1):delete u[i],u):(u[i]=Xb(e[i],t,a+1),u)},Jb=function(e,t){return Xb(e,t,0)},Zb=function(e,t,a,i){var u=t[i],s=vt(e)?e.slice():ct({},e);if(i+1===t.length){var f=a[i];s[f]=s[u],vt(s)?s.splice(u,1):delete s[u]}else s[u]=Zb(e[u],t,a,i+1);return s},ew=function(e,t,a){if(t.length!==a.length){L("copyWithRename() expects paths of the same length");return}else for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){L("copyWithRename() expects paths to be the same except for the deepest key");return}return Zb(e,t,a,0)},tw=function(e,t,a,i){if(a>=t.length)return i;var u=t[a],s=vt(e)?e.slice():ct({},e);return s[u]=tw(e[u],t,a+1,i),s},nw=function(e,t,a){return tw(e,t,0,a)},A0=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Bb=function(e,t,a,i){var u=A0(e,t);if(u!==null){var s=nw(u.memoizedState,a,i);u.memoizedState=s,u.baseState=s,e.memoizedProps=ct({},e.memoizedProps);var f=Ia(e,Ze);f!==null&&Sr(f,e,Ze,rn)}},Ib=function(e,t,a){var i=A0(e,t);if(i!==null){var u=Jb(i.memoizedState,a);i.memoizedState=u,i.baseState=u,e.memoizedProps=ct({},e.memoizedProps);var s=Ia(e,Ze);s!==null&&Sr(s,e,Ze,rn)}},Yb=function(e,t,a,i){var u=A0(e,t);if(u!==null){var s=ew(u.memoizedState,a,i);u.memoizedState=s,u.baseState=s,e.memoizedProps=ct({},e.memoizedProps);var f=Ia(e,Ze);f!==null&&Sr(f,e,Ze,rn)}},$b=function(e,t,a){e.pendingProps=nw(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ia(e,Ze);i!==null&&Sr(i,e,Ze,rn)},Wb=function(e,t){e.pendingProps=Jb(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ia(e,Ze);a!==null&&Sr(a,e,Ze,rn)},Qb=function(e,t,a){e.pendingProps=ew(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ia(e,Ze);i!==null&&Sr(i,e,Ze,rn)},Gb=function(e){var t=Ia(e,Ze);t!==null&&Sr(t,e,Ze,rn)},qb=function(e){Vb=e},Kb=function(e){Pb=e}}function hk(e){var t=Xr(e);return t===null?null:t.stateNode}function mk(e){return null}function yk(){return ur}function gk(e){var t=e.findFiberByHostInstance,a=S.ReactCurrentDispatcher;return bo({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Bb,overrideHookStateDeletePath:Ib,overrideHookStateRenamePath:Yb,overrideProps:$b,overridePropsDeletePath:Wb,overridePropsRenamePath:Qb,setErrorHandler:qb,setSuspenseHandler:Kb,scheduleUpdate:Gb,currentDispatcherRef:a,findHostInstanceByFiber:hk,findFiberByHostInstance:t||mk,findHostInstancesForRefresh:GD,scheduleRefresh:WD,scheduleRoot:QD,setRefreshHandler:$D,getCurrentFiber:yk,reconcilerVersion:O0})}var rw=typeof reportError=="function"?reportError:function(e){console.error(e)};function U0(e){this._internalRoot=e}iy.prototype.render=U0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?y("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):ly(arguments[1])?y("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&y("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==An){var i=Hb(t.current);i&&i.parentNode!==a&&y("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}fv(e,t,null,null)},iy.prototype.unmount=U0.prototype.unmount=function(){typeof arguments[0]=="function"&&y("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;hb()&&y("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Gu(function(){fv(null,e,null,null)}),rE(t)}};function Sk(e,t){if(!ly(e))throw new Error("createRoot(...): Target container is not a DOM element.");aw(e);var a=!1,i=!1,u="",s=rw;t!=null&&(t.hydrate?L("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===kr&&y(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
270
+
271
+ let root = createRoot(domContainer);
272
+ root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var f=zb(e,em,null,a,i,u,s);Qh(f.current,e);var p=e.nodeType===An?e.parentNode:e;return yp(p),new U0(f)}function iy(e){this._internalRoot=e}function Ck(e){e&&hh(e)}iy.prototype.unstable_scheduleHydration=Ck;function Ek(e,t,a){if(!ly(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");aw(e),t===void 0&&y("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=a??null,u=a!=null&&a.hydratedSources||null,s=!1,f=!1,p="",v=rw;a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onRecoverableError!==void 0&&(v=a.onRecoverableError));var g=jb(t,null,e,em,i,s,f,p,v);if(Qh(g.current,e),yp(e),u)for(var C=0;C<u.length;C++){var N=u[C];R1(g,N)}return new iy(g)}function ly(e){return!!(e&&(e.nodeType===Gr||e.nodeType===Gi||e.nodeType===Sd))}function dv(e){return!!(e&&(e.nodeType===Gr||e.nodeType===Gi||e.nodeType===Sd||e.nodeType===An&&e.nodeValue===" react-mount-point-unstable "))}function aw(e){e.nodeType===Gr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&y("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Dp(e)&&(e._reactRootContainer?y("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):y("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var xk=S.ReactCurrentOwner,iw;iw=function(e){if(e._reactRootContainer&&e.nodeType!==An){var t=Hb(e._reactRootContainer.current);t&&t.parentNode!==e&&y("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,i=z0(e),u=!!(i&&zo(i));u&&!a&&y("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Gr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&y("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function z0(e){return e?e.nodeType===Gi?e.documentElement:e.firstChild:null}function lw(){}function bk(e,t,a,i,u){if(u){if(typeof i=="function"){var s=i;i=function(){var k=ay(f);s.call(k)}}var f=jb(t,i,e,Fo,null,!1,!1,"",lw);e._reactRootContainer=f,Qh(f.current,e);var p=e.nodeType===An?e.parentNode:e;return yp(p),Gu(),f}else{for(var v;v=e.lastChild;)e.removeChild(v);if(typeof i=="function"){var g=i;i=function(){var k=ay(C);g.call(k)}}var C=zb(e,Fo,null,!1,!1,"",lw);e._reactRootContainer=C,Qh(C.current,e);var N=e.nodeType===An?e.parentNode:e;return yp(N),Gu(function(){fv(t,C,a,i)}),C}}function wk(e,t){e!==null&&typeof e!="function"&&y("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function uy(e,t,a,i,u){iw(a),wk(u===void 0?null:u,"render");var s=a._reactRootContainer,f;if(!s)f=bk(a,t,e,u,i);else{if(f=s,typeof u=="function"){var p=u;u=function(){var v=ay(f);p.call(v)}}fv(t,f,e,u)}return ay(f)}var uw=!1;function Rk(e){{uw||(uw=!0,y("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=xk.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||y("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Mt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Gr?e:sk(e,"findDOMNode")}function Tk(e,t,a){if(y("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!dv(t))throw new Error("Target container is not a DOM element.");{var i=Dp(t)&&t._reactRootContainer===void 0;i&&y("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return uy(null,e,t,!0,a)}function _k(e,t,a){if(y("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!dv(t))throw new Error("Target container is not a DOM element.");{var i=Dp(t)&&t._reactRootContainer===void 0;i&&y("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return uy(null,e,t,!1,a)}function Dk(e,t,a,i){if(y("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!dv(a))throw new Error("Target container is not a DOM element.");if(e==null||!My(e))throw new Error("parentComponent must be a valid React Component");return uy(e,t,a,!1,i)}var ow=!1;function kk(e){if(ow||(ow=!0,y("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!dv(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Dp(e)&&e._reactRootContainer===void 0;t&&y("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=z0(e),i=a&&!zo(a);i&&y("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Gu(function(){uy(null,null,e,!1,function(){e._reactRootContainer=null,rE(e)})}),!0}else{{var u=z0(e),s=!!(u&&zo(u)),f=e.nodeType===Gr&&dv(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&y("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",f?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Rr(ck),_o(fk),fh(dk),Fs(Va),ep(oh),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&y("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),kc(NR),Ly(p0,ED,Gu);function Ok(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ly(t))throw new Error("Target container is not a DOM element.");return ok(e,t,null,a)}function Nk(e,t,a,i){return Dk(e,t,a,i)}var j0={usingClientEntryPoint:!1,Events:[zo,Lf,Gh,mo,Oc,p0]};function Lk(e,t){return j0.usingClientEntryPoint||y('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Sk(e,t)}function Mk(e,t,a){return j0.usingClientEntryPoint||y('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Ek(e,t,a)}function Ak(e){return hb()&&y("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Gu(e)}var Uk=gk({findFiberByHostInstance:Js,bundleType:1,version:O0,rendererPackageName:"react-dom"});if(!Uk&&Ln&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var sw=window.location.protocol;/^(https?|file):$/.test(sw)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(sw==="file:"?`
273
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}_a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j0,_a.createPortal=Ok,_a.createRoot=Lk,_a.findDOMNode=Rk,_a.flushSync=Ak,_a.hydrate=Tk,_a.hydrateRoot=Mk,_a.render=_k,_a.unmountComponentAtNode=kk,_a.unstable_batchedUpdates=p0,_a.unstable_renderSubtreeIntoContainer=Nk,_a.version=O0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),_a}function wC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wC)}catch(E){console.error(E)}}}process.env.NODE_ENV==="production"?(wC(),Sy.exports=Yw()):Sy.exports=$w();var Ww=Sy.exports;const RC=ad.memo(({item:E,className:x,showRemoveButton:S=!0,imageClassName:D,onRemove:B})=>{const{updateItemQuantity:L,removeItem:y,formatCurrency:G}=Zu(),{t:z}=Ju(),M=A=>{L(E.id,A)},H=()=>{y(E.id),B==null||B(E)};return P.jsxs("div",{className:Xu("rsc-flex rsc-gap-4 rsc-p-4 sm:rsc-gap-5 sm:rsc-p-5","rsc-bg-white rsc-rounded-2xl rsc-border rsc-border-gray-100","rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-hover:shadow-md rsc-hover:border-gray-200 rsc-hover:-translate-y-0.5",x),children:[E.image&&P.jsx("div",{className:Xu("rsc-relative","rsc-w-20 rsc-h-20 sm:rsc-w-24 sm:rsc-h-24 rsc-flex-shrink-0","rsc-bg-gray-50 rsc-rounded-xl","rsc-overflow-hidden",D),children:P.jsx("img",{src:E.image,alt:E.name,className:"rsc-w-full rsc-h-full rsc-object-cover rsc-transition-transform rsc-duration-200 rsc-hover:scale-105",onError:A=>{const q=A.currentTarget,W=`https://placehold.co/128x128/e2e8f0/64748b?text=${encodeURIComponent(E.name.substring(0,2).toUpperCase())}`;q.src!==W&&(q.src=W)}})}),P.jsxs("div",{className:"rsc-flex-1 rsc-min-w-0 rsc-flex rsc-flex-col rsc-justify-between rsc-gap-3",children:[P.jsxs("div",{children:[P.jsx("h3",{className:"rsc-font-semibold rsc-text-gray-900 rsc-text-sm sm:rsc-text-base rsc-line-clamp-2 rsc-leading-snug",children:E.name}),P.jsx("p",{className:"rsc-text-sm rsc-text-gray-500 rsc-mt-1",children:G(E.price)})]}),P.jsx("div",{className:"rsc-flex rsc-flex-col rsc-gap-3",children:P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-between rsc-flex-wrap rsc-gap-3",children:[P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-gap-1 rsc-bg-gray-50 rsc-rounded-xl rsc-p-1",children:[P.jsx("button",{type:"button",onClick:()=>M(E.quantity-1),className:"rsc-flex rsc-items-center rsc-justify-center rsc-w-12 rsc-h-12 rsc-min-w-[48px] rsc-min-h-[48px] rsc-bg-white rsc-border rsc-border-gray-200 rsc-rounded-xl rsc-hover:bg-gray-50 rsc-hover:border-gray-300 rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/20 rsc-active:scale-95 disabled:rsc-opacity-50 disabled:rsc-cursor-not-allowed rsc-shadow-sm",disabled:E.quantity<=1,"aria-label":"Decrease quantity",children:P.jsx("svg",{className:"rsc-w-5 rsc-h-5 rsc-text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4"})})}),P.jsx("span",{className:"rsc-w-8 sm:rsc-w-10 rsc-text-center rsc-text-sm rsc-font-semibold rsc-text-gray-900",children:E.quantity}),P.jsx("button",{type:"button",onClick:()=>M(E.quantity+1),className:"rsc-flex rsc-items-center rsc-justify-center rsc-w-12 rsc-h-12 rsc-min-w-[48px] rsc-min-h-[48px] rsc-bg-white rsc-border rsc-border-gray-200 rsc-rounded-xl rsc-hover:bg-gray-50 rsc-hover:border-gray-300 rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/20 rsc-active:scale-95 rsc-shadow-sm","aria-label":"Increase quantity",children:P.jsx("svg",{className:"rsc-w-5 rsc-h-5 rsc-text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"})})})]}),P.jsx("span",{className:"rsc-text-base rsc-font-bold rsc-text-gray-900",children:G(E.price*E.quantity)})]})}),P.jsx("div",{className:"rsc-flex rsc-gap-2",children:S&&P.jsxs("button",{type:"button",onClick:H,className:"rsc-flex-1 rsc-flex rsc-items-center rsc-justify-center rsc-gap-2 rsc-px-4 rsc-py-3 rsc-min-h-[48px] rsc-text-sm rsc-font-medium rsc-text-red-600 rsc-hover:text-red-700 rsc-hover:bg-red-50 rsc-border rsc-border-red-200 rsc-hover:border-red-300 rsc-rounded-xl rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-red-500/20 rsc-active:scale-95","aria-label":`${z.cart.removeItem} ${E.name}`,children:[P.jsx("svg",{className:"rsc-w-4 rsc-h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),z.ui.remove]})})]})]})},(E,x)=>E.item.id===x.item.id&&E.item.quantity===x.item.quantity&&E.item.price===x.item.price&&E.item.name===x.item.name&&E.showRemoveButton===x.showRemoveButton&&E.className===x.className),Qw=({value:E,onChange:x,options:S})=>{const[D,B]=Ve.useState(!1),[L,y]=Ve.useState({top:0,left:0,width:0}),G=Ve.useRef(null),z=()=>{if(G.current){const H=G.current.getBoundingClientRect();y({top:H.bottom+4,left:H.left,width:H.width})}};Ve.useEffect(()=>{if(D){z();const H=()=>z(),A=()=>z();return window.addEventListener("scroll",H,!0),window.addEventListener("resize",A),()=>{window.removeEventListener("scroll",H,!0),window.removeEventListener("resize",A)}}},[D]),Ve.useEffect(()=>{const H=A=>{D&&G.current&&!G.current.contains(A.target)&&(A.target.closest(".rsc-portal-dropdown")||B(!1))};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[D]);const M=S.find(H=>H.value===E);return P.jsxs(P.Fragment,{children:[P.jsxs("button",{ref:G,onClick:()=>B(!D),className:"rsc-flex rsc-items-center rsc-justify-between rsc-gap-2 rsc-min-h-[40px] rsc-border rsc-border-gray-200 rsc-rounded-xl rsc-px-3 rsc-py-1.5 rsc-text-sm rsc-bg-white rsc-font-medium rsc-text-gray-700 rsc-hover:bg-gray-50 rsc-transition-all rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/10 rsc-shadow-sm","aria-haspopup":"listbox","aria-expanded":D,children:[M==null?void 0:M.label,P.jsx("svg",{className:`rsc-w-4 rsc-h-4 rsc-text-gray-400 rsc-transition-transform rsc-duration-200 ${D?"rsc-rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),D&&typeof document<"u"&&Ww.createPortal(P.jsx("div",{className:"rsc-portal-dropdown rsc-fixed rsc-z-[99999] rsc-bg-white rsc-rounded-xl rsc-shadow-lg rsc-border rsc-border-gray-100 rsc-overflow-hidden rsc-py-1 rsc-animate-in rsc-fade-in rsc-slide-in-from-top-1",style:{top:L.top,left:L.left,width:L.width},role:"listbox",children:S.map(H=>P.jsx("button",{onClick:()=>{x(H.value),B(!1)},role:"option","aria-selected":E===H.value,className:`rsc-w-full rsc-text-left rsc-px-4 rsc-py-2 rsc-text-sm rsc-transition-all rsc-duration-150 ${E===H.value?"rsc-bg-gray-900 rsc-text-white rsc-font-semibold":"rsc-text-gray-700 rsc-hover:bg-gray-50 rsc-font-medium"}`,children:H.label},H.value))}),document.body)]})},Gw=({item:E})=>P.jsx("div",{className:"rsc-flex rsc-gap-4 rsc-p-4 rsc-bg-red-50 rsc-border rsc-border-red-200 rsc-rounded-2xl",children:P.jsx("div",{className:"rsc-flex-1",children:P.jsxs("p",{className:"rsc-text-sm rsc-text-red-700",children:["Error loading item: ",E.name]})})}),TC=({className:E,emptyMessage:x,showRemoveButton:S=!0})=>{const{items:D,clearCart:B}=Zu(),{t:L}=Ju(),[y,G]=Ve.useState("name"),z=Ve.useMemo(()=>[...D].sort((H,A)=>{switch(y){case"name":return H.name.localeCompare(A.name);case"price":return H.price-A.price;case"quantity":return A.quantity-H.quantity;default:return 0}}),[D,y]),M=()=>D.reduce((H,A)=>H+A.quantity,0);return D.length===0?P.jsxs("div",{className:Xu("rsc-flex rsc-flex-col rsc-items-center rsc-justify-center rsc-py-16 rsc-px-4",E),children:[P.jsx("svg",{className:"rsc-w-16 rsc-h-16 rsc-text-gray-300 rsc-mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),P.jsx("p",{className:"rsc-text-gray-900 rsc-text-base rsc-font-semibold",children:x||L.cart.empty}),P.jsx("p",{className:"rsc-text-gray-500 rsc-text-sm rsc-mt-2",children:L.cart.addItemsToStart})]}):P.jsxs("div",{className:Xu("rsc-flex rsc-flex-col rsc-gap-4",E),children:[P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-between rsc-pb-4 rsc-border-b rsc-border-gray-100",children:[P.jsxs("h3",{className:"rsc-text-base sm:rsc-text-lg rsc-font-bold rsc-text-gray-900",children:[M()," ",M()===1?L.cart.item:L.cart.items]}),P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-gap-3",children:[P.jsx(Qw,{value:y,onChange:H=>G(H),options:[{value:"name",label:L.cart.sortByName||"Sort by Name"},{value:"price",label:L.cart.sortByPrice||"Sort by Price"},{value:"quantity",label:L.cart.sortByQuantity||"Sort by Quantity"}]}),(D==null?void 0:D.length)>1&&P.jsx("button",{onClick:B,className:"rsc-px-3 rsc-py-2 rsc-text-sm rsc-font-medium rsc-text-red-600 rsc-hover:text-red-700 rsc-hover:bg-red-50 rsc-rounded-lg rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-focus:outline-none rsc-focus:ring-2 rsc-focus:ring-red-500",children:L.cart.clear})]})]}),P.jsx("div",{className:"rsc-flex rsc-flex-col rsc-gap-4",children:z.map(H=>P.jsx(gy,{fallback:P.jsx(Gw,{item:H}),onError:A=>console.error("CartItem error:",A,{itemId:H.id}),children:P.jsx(RC,{item:H,showRemoveButton:S})},H.id))})]})},_C=({className:E="",showCurrencyName:x=!0,compact:S=!1})=>{var ie;const{availableCurrencies:D,selectedCurrency:B,currentCurrency:L,setSelectedCurrency:y}=Zu(),{t:G}=Ju(),[z,M]=Ve.useState(!1),H=Ve.useRef(null),[A,q]=Ve.useState(-1);Ve.useEffect(()=>{const re=te=>{H.current&&!H.current.contains(te.target)&&(M(!1),q(-1))};if(z){document.addEventListener("mousedown",re);const te=setTimeout(()=>{var ze;const he=(ze=H.current)==null?void 0:ze.querySelector('[role="option"]');he==null||he.focus(),q(0)},0);return()=>{document.removeEventListener("mousedown",re),clearTimeout(te)}}return()=>{document.removeEventListener("mousedown",re)}},[z]);const W=re=>{if(!z){(re.key==="Enter"||re.key===" "||re.key==="ArrowDown")&&(re.preventDefault(),M(!0),q(0));return}switch(re.key){case"ArrowDown":re.preventDefault(),q(te=>te<D.length-1?te+1:0);break;case"ArrowUp":re.preventDefault(),q(te=>te>0?te-1:D.length-1);break;case"Enter":case" ":re.preventDefault(),A>=0&&D[A]&&ne(D[A].code);break;case"Escape":re.preventDefault(),M(!1),q(-1);break}};if(!D||D.length<=1)return null;const ne=re=>{y(re),M(!1)},ee=D.find(re=>re.code===B);return S?P.jsxs("div",{ref:H,className:`rsc-relative rsc-w-48 ${E}`,children:[P.jsxs("button",{onClick:()=>M(!z),onKeyDown:W,tabIndex:0,role:"combobox","aria-expanded":z,"aria-haspopup":"listbox",className:"rsc-w-full rsc-min-h-[44px] rsc-bg-white rsc-text-gray-900 rsc-px-4 rsc-py-3 rsc-rounded-xl rsc-font-semibold rsc-flex rsc-items-center rsc-justify-between rsc-border rsc-border-gray-100 rsc-shadow-sm rsc-hover:border-gray-200 rsc-hover:shadow-md rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-cursor-pointer rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/20",children:[P.jsxs("span",{children:[ee==null?void 0:ee.symbol," ",ee==null?void 0:ee.code]}),P.jsx("svg",{className:`rsc-w-5 rsc-h-5 rsc-transition-transform ${z?"rsc-rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),z&&P.jsx("div",{role:"listbox",className:"rsc-absolute rsc-inset-x-0 rsc-top-full rsc-mt-2 rsc-bg-white rsc-rounded-xl rsc-shadow-lg rsc-border rsc-border-gray-100 rsc-z-50 rsc-overflow-hidden rsc-max-h-64 rsc-overflow-y-auto",children:D.map((re,te)=>P.jsxs("button",{onClick:()=>ne(re.code),onKeyDown:W,role:"option","aria-selected":B===re.code,tabIndex:A===te?0:-1,className:`rsc-w-full rsc-px-4 rsc-py-3 rsc-text-left rsc-flex rsc-items-center rsc-justify-between rsc-transition-all rsc-duration-200 rsc-ease-in-out ${B===re.code?"rsc-bg-gray-900 rsc-text-white":A===te?"rsc-bg-gray-100 rsc-text-gray-900":"rsc-text-gray-700 rsc-hover:bg-gray-50"}`,children:[P.jsxs("div",{className:"rsc-flex rsc-flex-col",children:[P.jsxs("span",{className:"rsc-font-medium",children:[re.symbol," ",re.code]}),x&&P.jsx("span",{className:"rsc-text-xs rsc-text-gray-500",children:G.currencies&&G.currencies[re.code]?G.currencies[re.code]:re.name})]}),B===re.code&&P.jsx("svg",{className:"rsc-w-5 rsc-h-5 rsc-text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})]},re.code))})]}):P.jsxs("div",{className:`rsc-flex rsc-flex-col rsc-gap-4 ${E}`,children:[P.jsx("span",{className:"rsc-text-sm rsc-font-semibold rsc-text-gray-700 rsc-uppercase rsc-tracking-wide",children:((ie=G.ui)==null?void 0:ie.currency)||"Currency"}),P.jsx("div",{className:"rsc-grid rsc-grid-cols-2 sm:rsc-grid-cols-3 lg:rsc-grid-cols-4 rsc-gap-3",children:D.map(re=>P.jsxs("label",{className:`
274
+ rsc-group rsc-relative rsc-flex rsc-flex-col rsc-items-start rsc-gap-2 rsc-p-4 rsc-border-2 rsc-rounded-2xl rsc-cursor-pointer
275
+ rsc-transition-all rsc-duration-200 rsc-ease-in-out
276
+ ${B===re.code?"rsc-border-gray-900 rsc-bg-white rsc-shadow-sm":"rsc-border-gray-100 rsc-bg-white rsc-hover:border-gray-200 rsc-hover:shadow-sm rsc-hover:-translate-y-0.5"}
277
+ `,children:[P.jsx("input",{type:"radio",name:"currency",value:re.code,checked:B===re.code,onChange:te=>ne(te.target.value),className:"rsc-sr-only"}),P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-between rsc-w-full",children:[P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-gap-3",children:[P.jsx("div",{className:`rsc-w-8 rsc-h-8 rsc-min-w-[32px] rsc-rounded-full rsc-flex rsc-items-center rsc-justify-center rsc-text-sm rsc-font-bold ${B===re.code?"rsc-bg-gray-900 rsc-text-white":"rsc-bg-gray-100 rsc-text-gray-600 rsc-group-hover:rsc-bg-gray-200"}`,children:re.symbol}),P.jsxs("div",{children:[P.jsx("div",{className:"rsc-font-bold rsc-text-gray-900",children:re.code}),x&&P.jsx("div",{className:"rsc-text-xs rsc-text-gray-500 rsc-mt-0.5",children:G.currencies&&G.currencies[re.code]?G.currencies[re.code]:re.name})]})]}),P.jsx("div",{className:`rsc-w-5 rsc-h-5 rsc-rounded-full rsc-border-2 rsc-flex rsc-items-center rsc-justify-center ${B===re.code?"rsc-border-gray-900 rsc-bg-gray-900":"rsc-border-gray-300 rsc-bg-transparent"}`,children:B===re.code&&P.jsx("svg",{className:"rsc-w-3 rsc-h-3 rsc-text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})})]})]},re.code))}),L&&P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-gap-2 rsc-p-3 rsc-bg-gradient-to-r rsc-from-gray-50 rsc-to-gray-100 rsc-rounded-xl rsc-border rsc-border-gray-100",children:[P.jsx("svg",{className:"rsc-w-4 rsc-h-4 rsc-text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"})}),P.jsxs("span",{className:"rsc-text-xs rsc-font-medium rsc-text-gray-600",children:["1 USD = ",L.conversionRate.toFixed(4)," ",L.code]})]})]})},qw=(E,x)=>{const{subtotal:S,tax:D,discount:B,total:L,applyDiscount:y,removeDiscount:G,config:z,selectedShippingMethod:M,shippingMethods:H,setSelectedShippingMethod:A,formatCurrency:q,availableCurrencies:W}=Zu(),{t:ne}=Ju(),[ee,ie]=Ve.useState(""),[re,te]=Ve.useState(!1),[he,ze]=Ve.useState(0),Re=E!==void 0?E:z.showTax,Ne=x!==void 0?x:z.showDiscount,me=z.showShipping,Et=z.showCurrencySelector&&W.length>1,Lt=Ve.useCallback(()=>{const Bt=Date.now();if(!(Bt-he<mc.TIMERS.DISCOUNT_RATE_LIMIT_MS)&&ee.trim()){ze(Bt),te(!0);try{y(ee)}finally{te(!1)}}},[ee,he,y]);return{t:ne,subtotal:S,tax:D,discount:B,total:L,discountCode:ee,setDiscountCode:ie,isApplyingDiscount:re,shouldShowTax:Re,shouldShowDiscount:Ne,shouldShowShipping:me,shouldShowCurrencySelector:Et,handleApplyDiscount:Lt,removeDiscount:G,selectedShippingMethod:M,shippingMethods:H,setSelectedShippingMethod:A,formatCurrency:q}},DC=({className:E,showTax:x,showDiscount:S})=>{var Re,Ne;const{t:D,subtotal:B,tax:L,discount:y,total:G,discountCode:z,setDiscountCode:M,isApplyingDiscount:H,shouldShowTax:A,shouldShowDiscount:q,shouldShowShipping:W,shouldShowCurrencySelector:ne,handleApplyDiscount:ee,removeDiscount:ie,selectedShippingMethod:re,shippingMethods:te,setSelectedShippingMethod:he,formatCurrency:ze}=qw(x,S);return P.jsxs("div",{className:Xu("rsc-flex rsc-flex-col rsc-gap-6",E),children:[ne&&P.jsx("div",{className:"rsc-p-4 rsc-bg-white rsc-rounded-2xl rsc-border rsc-border-gray-100 rsc-shadow-sm",children:P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-between rsc-gap-3",children:[P.jsx("span",{className:"rsc-text-sm rsc-font-semibold rsc-text-gray-700",children:((Re=D.ui)==null?void 0:Re.currency)||"Currency"}),P.jsx(_C,{compact:!0})]})}),P.jsxs("div",{className:"rsc-flex rsc-justify-between rsc-items-center rsc-pb-4 rsc-border-b rsc-border-gray-100",children:[P.jsx("span",{className:"rsc-text-sm rsc-font-medium rsc-text-gray-500",children:D.cart.subtotal}),P.jsx("span",{className:"rsc-text-base rsc-font-semibold rsc-text-gray-900",children:ze(B)})]}),q&&P.jsxs("div",{className:"rsc-flex rsc-flex-col rsc-gap-3",children:[P.jsxs("div",{className:"rsc-flex rsc-flex-col rsc-gap-2",children:[P.jsx("input",{type:"text",value:z,onChange:me=>M(me.target.value),placeholder:D.cart.discountCode,className:"rsc-w-full rsc-px-4 rsc-py-3 rsc-min-h-[44px] rsc-border rsc-border-gray-200 rsc-rounded-xl rsc-text-sm rsc-focus:outline-none rsc-focus:ring-2 rsc-focus:ring-gray-900 rsc-focus:border-transparent rsc-transition-all rsc-bg-gray-50 rsc-hover:bg-white"}),P.jsx("button",{onClick:ee,disabled:!z.trim()||H,className:"rsc-w-full rsc-bg-gray-900 rsc-text-white rsc-px-4 rsc-py-3 rsc-min-h-[44px] rsc-rounded-xl rsc-text-sm rsc-font-semibold rsc-hover:bg-black rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/20 disabled:rsc-opacity-50 disabled:rsc-cursor-not-allowed rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-hover:-translate-y-0.5 rsc-active:scale-[0.98] rsc-shadow-sm rsc-flex rsc-items-center rsc-justify-center rsc-gap-2",children:H?P.jsxs(P.Fragment,{children:[P.jsxs("svg",{className:"rsc-animate-spin rsc-h-4 rsc-w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[P.jsx("circle",{className:"rsc-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),P.jsx("path",{className:"rsc-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),((Ne=D.cart)==null?void 0:Ne.processing)||"Processing..."]}):D.ui.apply})]}),y&&P.jsxs("div",{className:"rsc-flex rsc-justify-between rsc-items-center rsc-py-2",children:[P.jsxs("span",{className:"rsc-text-sm rsc-text-green-600 rsc-font-medium",children:[D.cart.voucherApplied," (",y.code," - ",y.amount,"%)"]}),P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-gap-2",children:[P.jsxs("span",{className:"rsc-text-sm rsc-text-green-600 rsc-font-semibold",children:["-",ze(B*(y.amount/100))]}),P.jsx("button",{onClick:ie,className:"rsc-text-xs rsc-text-red-600 rsc-font-medium rsc-hover:text-red-700 rsc-underline rsc-focus:outline-none rsc-focus:ring-2 rsc-focus:ring-red-500 rsc-focus:rounded",children:D.cart.removeVoucher})]})]})]}),W&&P.jsxs("div",{className:"rsc-flex rsc-flex-col rsc-gap-2",children:[P.jsx("span",{className:"rsc-text-sm rsc-font-semibold rsc-text-gray-700",children:D.cart.shippingMethod}),P.jsx("div",{className:"rsc-flex rsc-flex-col rsc-gap-1",children:te.map(me=>{const Et=String(re)===String(me.id);return P.jsxs("label",{htmlFor:`shipping-${me.id}`,className:`rsc-flex rsc-items-center rsc-justify-between rsc-gap-3 rsc-p-4 rsc-border-2 rsc-rounded-xl rsc-cursor-pointer rsc-transition-all rsc-duration-200 rsc-ease-in-out ${Et?"rsc-border-gray-900 rsc-bg-white rsc-shadow-sm":"rsc-border-gray-100 rsc-bg-gray-50 rsc-hover:border-gray-200 rsc-hover:bg-white"}`,children:[P.jsx("input",{type:"radio",id:`shipping-${me.id}`,name:"shipping",value:me.id,checked:Et,onChange:()=>he(me.id),className:"rsc-sr-only"}),P.jsx("span",{className:"rsc-text-sm rsc-font-medium rsc-text-gray-900",children:me.id==="standard"?D.cart.standardShipping:me.id==="express"?D.cart.expressShipping:me.name}),P.jsx("span",{className:"rsc-text-sm rsc-font-semibold rsc-text-gray-900",children:me.cost===0?D.cart.freeShipping:ze(me.cost)})]},me.id)})})]}),A&&P.jsxs("div",{className:"rsc-flex rsc-justify-between rsc-items-center rsc-py-2",children:[P.jsx("span",{className:"rsc-text-sm rsc-text-gray-600",children:D.cart.tax}),P.jsx("span",{className:"rsc-text-sm rsc-font-semibold rsc-text-gray-900",children:L===0?D.cart.freeShipping:ze(L)})]}),P.jsx("div",{className:"rsc-border-t-2 rsc-border-gray-200 rsc-border-dashed rsc-my-2"}),P.jsxs("div",{className:"rsc-flex rsc-justify-between rsc-items-center rsc-py-3",children:[P.jsx("span",{className:"rsc-text-base sm:rsc-text-md rsc-font-bold rsc-text-gray-900",children:D.cart.total}),P.jsx("span",{className:"rsc-text-md sm:rsc-text-xl rsc-font-extrabold rsc-text-gray-900",children:ze(G)})]})]})},kC=({className:E,disabled:x,loading:S,onClick:D,children:B})=>{const{items:L,total:y,formatCurrency:G}=Zu(),{t:z}=Ju(),M=x||S||L.length===0,H=B||z.cart.checkout,A=()=>{!M&&D&&D()};return P.jsx("button",{type:"button",onClick:A,disabled:M,className:Xu("rsc-w-full","rsc-min-h-[56px]","rsc-bg-gray-900","rsc-text-white","rsc-px-6 rsc-py-4 rsc-rounded-2xl","rsc-font-bold rsc-text-md","rsc-hover:bg-black","rsc-hover:shadow-md rsc-hover:shadow-gray-900/20","rsc-hover:-translate-y-0.5","rsc-active:scale-[0.98] rsc-active:translate-y-0","rsc-transition-all rsc-duration-200 rsc-ease-in-out","rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/20","disabled:rsc-opacity-50 disabled:rsc-cursor-not-allowed disabled:rsc-hover:bg-gray-900 disabled:rsc-hover:shadow-none disabled:rsc-hover:translate-y-0 disabled:rsc-active:scale-100",E),"aria-label":`Checkout with total of ${G(y)}`,children:S?P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-center rsc-gap-2",children:[P.jsxs("svg",{className:"rsc-animate-spin rsc-w-5 rsc-h-5",fill:"none",viewBox:"0 0 24 24",children:[P.jsx("circle",{className:"rsc-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),P.jsx("path",{className:"rsc-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),P.jsx("span",{children:z.cart.processing})]}):P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-center rsc-gap-2",children:[P.jsx("span",{children:H}),P.jsxs("span",{className:"rsc-lg rsc-font-bold",children:["• ",G(y)]})]})})},Kw=E=>{const{isDrawerOpen:x,setIsDrawerOpen:S,items:D}=Zu(),[B,L]=Ve.useState(!1),y=Ve.useRef(null),G=Ve.useRef(null),z=Ve.useRef(null),M=Ve.useRef(null),H=Ve.useCallback(()=>{L(!0),M.current=window.setTimeout(()=>{S(!1),L(!1)},mc.TIMERS.DRAWER_CLOSE_DELAY_MS)},[S]),A=Ve.useCallback(()=>{E&&!B&&H()},[E,B,H]);return Ve.useEffect(()=>{const q=ne=>{ne.key==="Escape"&&x&&H()},W=ne=>{if(!x||!y.current)return;const ee=y.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),ie=ee[0],re=ee[ee.length-1];ne.key==="Tab"&&(ne.shiftKey?document.activeElement===ie&&(ne.preventDefault(),re==null||re.focus()):document.activeElement===re&&(ne.preventDefault(),ie==null||ie.focus()))};return x&&(G.current=document.activeElement,document.addEventListener("keydown",q),document.addEventListener("keydown",W),document.body.style.overflow="hidden",z.current=window.setTimeout(()=>{var ne;(ne=y.current)==null||ne.focus()},100)),()=>{document.removeEventListener("keydown",q),document.removeEventListener("keydown",W),document.body.style.overflow="",z.current&&clearTimeout(z.current)}},[x,H]),Ve.useEffect(()=>{!x&&G.current&&(G.current.focus(),G.current=null)},[x]),Ve.useEffect(()=>()=>{M.current&&clearTimeout(M.current)},[]),{isDrawerOpen:x,setIsDrawerOpen:S,items:D,isAnimating:B,drawerRef:y,handleClose:H,handleOverlayClick:A}},Xw=({className:E,overlayClassName:x,contentClassName:S,position:D="right",closeOnOverlayClick:B=!0,showCheckoutButton:L=!0,checkoutButtonText:y="Checkout",onCheckout:G})=>{const{t:z,direction:M}=Ju(),{isDrawerOpen:H,setIsDrawerOpen:A,items:q,isAnimating:W,drawerRef:ne,handleOverlayClick:ee}=Kw(B),ie=()=>{switch(D){case"center":return"";case"start":return"rsc-inset-y-0 rsc-start-0";case"end":return"rsc-inset-y-0 rsc-end-0";case"right":return M==="rtl"?"rsc-inset-y-0 rsc-start-0":"rsc-inset-y-0 rsc-end-0";case"left":return M==="rtl"?"rsc-inset-y-0 rsc-end-0":"rsc-inset-y-0 rsc-start-0";default:return"rsc-inset-y-0 rsc-end-0"}},re=()=>{switch(D){case"center":return"rsc-justify-center";case"start":return"rsc-justify-start";case"end":return"rsc-justify-end";case"right":return M==="rtl"?"rsc-justify-start":"rsc-justify-end";case"left":return M==="rtl"?"rsc-justify-end":"rsc-justify-start";default:return"rsc-justify-end"}};return H?(q.reduce((te,he)=>te+he.quantity,0),P.jsxs("div",{className:Xu("rsc-fixed rsc-inset-0 rsc-z-50","rsc-flex rsc-items-end sm:rsc-items-center",re(),E),role:"dialog","aria-modal":"true","aria-labelledby":"cart-drawer-title",children:[P.jsx("div",{className:`rsc-fixed rsc-inset-0 rsc-bg-gray-900/40 rsc-backdrop-blur-sm rsc-transition-opacity rsc-duration-300 ${x||""}`,onClick:ee,"aria-hidden":"true"}),P.jsxs("div",{ref:ne,onClick:te=>te.stopPropagation(),tabIndex:-1,className:Xu(D==="center"?"rsc-w-full sm:rsc-w-[480px]":"rsc-w-full sm:rsc-w-[400px]","rsc-h-[100dvh] sm:rsc-h-auto sm:rsc-max-h-[90vh]","rsc-max-w-[100vw]","rsc-bg-white rsc-shadow-xl","rsc-flex rsc-flex-col","rsc-relative rsc-z-10",ie(),"rsc-transition-all rsc-duration-300","rsc-ease-out",W?"rsc-opacity-0 rsc-scale-95":"rsc-opacity-100 rsc-scale-100",S),children:[P.jsxs("div",{className:"rsc-flex rsc-items-center rsc-justify-between rsc-gap-6 rsc-p-6 rsc-border-b rsc-border-gray-100 rsc-flex-shrink-0",children:[P.jsx("h2",{id:"cart-drawer-title",className:"rsc-text-xl rsc-font-extrabold rsc-text-gray-900 rsc-flex rsc-items-baseline",children:z.cart.title}),P.jsx("button",{type:"button",onClick:()=>A(!1),className:"rsc-flex rsc-items-center rsc-justify-center rsc-w-10 rsc-h-10 rsc-min-w-[40px] rsc-min-h-[40px] rsc-rounded-full rsc-bg-white rsc-border rsc-border-gray-200 rsc-hover:bg-gray-50 rsc-text-gray-500 rsc-hover:text-gray-900 rsc-transition-all rsc-duration-200 rsc-ease-in-out rsc-focus:outline-none rsc-focus:ring-4 rsc-focus:ring-gray-900/10 rsc-active:scale-95 rsc-shadow-sm","aria-label":"Close cart",children:P.jsx("svg",{className:"rsc-w-5 rsc-h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),P.jsxs("div",{className:"rsc-flex-1 rsc-overflow-y-auto rsc-p-4 sm:rsc-p-6 rsc-pb-18 rsc-scrollbar rsc-min-h-0",children:[P.jsx(TC,{}),(q==null?void 0:q.length)>0&&P.jsx(P.Fragment,{children:P.jsx("div",{className:"rsc-mt-6 rsc-pt-6 rsc-border-t rsc-border-gray-100",children:P.jsx(DC,{})})})]}),(q==null?void 0:q.length)>0&&L&&P.jsx("div",{className:"rsc-flex-shrink-0 rsc-border-t rsc-border-gray-100 rsc-shadow-[0_-4px_6px_-1px_rgba(0,0,0,0.05)]",children:P.jsx("div",{className:"rsc-p-4 sm:rsc-p-5",children:P.jsx(kC,{onClick:G,children:y})})})]})]})):null};Yt.CartButton=Pw,Yt.CartDrawer=Xw,Yt.CartItemComponent=RC,Yt.CartItems=TC,Yt.CartProvider=jw,Yt.CartSummary=DC,Yt.CheckoutButton=kC,Yt.CurrencySelector=_C,Yt.ErrorBoundary=gy,Yt.TranslationProvider=hC,Yt.calculateDiscount=sC,Yt.calculateSubtotal=hv,Yt.calculateTax=cC,Yt.calculateTotal=fC,Yt.calculateTotalItems=oC,Yt.createCartStore=Lw,Yt.supportedLanguages=my,Yt.useLanguageSwitcher=Aw,Yt.useShoppingCart=Zu,Yt.useTranslation=pC,Yt.useTranslationContext=Ju,Object.defineProperty(Yt,Symbol.toStringTag,{value:"Module"})});