@agrada_digital/pbm 0.0.131 → 0.0.132

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.
Files changed (2) hide show
  1. package/dist/vanilla.js +40 -392
  2. package/package.json +1 -1
package/dist/vanilla.js CHANGED
@@ -1,4 +1,4 @@
1
- var p6=Object.defineProperty;var y6=(ku,Hu,ec)=>Hu in ku?p6(ku,Hu,{enumerable:!0,configurable:!0,writable:!0,value:ec}):ku[Hu]=ec;var P_=(ku,Hu,ec)=>y6(ku,typeof Hu!="symbol"?Hu+"":Hu,ec);(function(){"use strict";var ku=typeof document<"u"?document.currentScript:null;function Hu(r,u){for(var s=0;s<u.length;s++){const d=u[s];if(typeof d!="string"&&!Array.isArray(d)){for(const h in d)if(h!=="default"&&!(h in r)){const y=Object.getOwnPropertyDescriptor(d,h);y&&Object.defineProperty(r,h,y.get?y:{enumerable:!0,get:()=>d[h]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}function ec(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Xv={exports:{}},Qv={};/**
1
+ var eE=Object.defineProperty;var tE=(Ja,Ia,tn)=>Ia in Ja?eE(Ja,Ia,{enumerable:!0,configurable:!0,writable:!0,value:tn}):Ja[Ia]=tn;var Zd=(Ja,Ia,tn)=>tE(Ja,typeof Ia!="symbol"?Ia+"":Ia,tn);(function(){"use strict";var Ja=typeof document<"u"?document.currentScript:null;function Ia(r,n){for(var l=0;l<n.length;l++){const s=n[l];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in r)){const f=Object.getOwnPropertyDescriptor(s,o);f&&Object.defineProperty(r,o,f.get?f:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}function tn(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var du={exports:{}},is={};/**
2
2
  * @license React
3
3
  * react-jsx-dev-runtime.production.js
4
4
  *
@@ -6,48 +6,7 @@ var p6=Object.defineProperty;var y6=(ku,Hu,ec)=>Hu in ku?p6(ku,Hu,{enumerable:!0
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var W_;function ED(){if(W_)return Qv;W_=1;var r=Symbol.for("react.fragment");return Qv.Fragment=r,Qv.jsxDEV=void 0,Qv}var Jv={},Kv={exports:{}},Tt={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and 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
- */var e2;function xD(){if(e2)return Tt;e2=1;var r=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),b=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),R=Symbol.iterator;function z(_){return _===null||typeof _!="object"?null:(_=R&&_[R]||_["@@iterator"],typeof _=="function"?_:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,F={};function fe(_,H,W){this.props=_,this.context=H,this.refs=F,this.updater=W||Q}fe.prototype.isReactComponent={},fe.prototype.setState=function(_,H){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,H,"setState")},fe.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function ge(){}ge.prototype=fe.prototype;function De(_,H,W){this.props=_,this.context=H,this.refs=F,this.updater=W||Q}var pe=De.prototype=new ge;pe.constructor=De,j(pe,fe.prototype),pe.isPureReactComponent=!0;var $=Array.isArray;function xe(){}var Te={H:null,A:null,T:null,S:null},Le=Object.prototype.hasOwnProperty;function Pe(_,H,W){var ee=W.ref;return{$$typeof:r,type:_,key:H,ref:ee!==void 0?ee:null,props:W}}function we(_,H){return Pe(_.type,H,_.props)}function $e(_){return typeof _=="object"&&_!==null&&_.$$typeof===r}function M(_){var H={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(W){return H[W]})}var ue=/\/+/g;function ye(_,H){return typeof _=="object"&&_!==null&&_.key!=null?M(""+_.key):H.toString(36)}function ze(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(xe,xe):(_.status="pending",_.then(function(H){_.status==="pending"&&(_.status="fulfilled",_.value=H)},function(H){_.status==="pending"&&(_.status="rejected",_.reason=H)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function V(_,H,W,ee,Re){var je=typeof _;(je==="undefined"||je==="boolean")&&(_=null);var Ne=!1;if(_===null)Ne=!0;else switch(je){case"bigint":case"string":case"number":Ne=!0;break;case"object":switch(_.$$typeof){case r:case u:Ne=!0;break;case U:return Ne=_._init,V(Ne(_._payload),H,W,ee,Re)}}if(Ne)return Re=Re(_),Ne=ee===""?"."+ye(_,0):ee,$(Re)?(W="",Ne!=null&&(W=Ne.replace(ue,"$&/")+"/"),V(Re,H,W,"",function(ct){return ct})):Re!=null&&($e(Re)&&(Re=we(Re,W+(Re.key==null||_&&_.key===Re.key?"":(""+Re.key).replace(ue,"$&/")+"/")+Ne)),H.push(Re)),1;Ne=0;var Je=ee===""?".":ee+":";if($(_))for(var Ze=0;Ze<_.length;Ze++)ee=_[Ze],je=Je+ye(ee,Ze),Ne+=V(ee,H,W,je,Re);else if(Ze=z(_),typeof Ze=="function")for(_=Ze.call(_),Ze=0;!(ee=_.next()).done;)ee=ee.value,je=Je+ye(ee,Ze++),Ne+=V(ee,H,W,je,Re);else if(je==="object"){if(typeof _.then=="function")return V(ze(_),H,W,ee,Re);throw H=String(_),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return Ne}function ne(_,H,W){if(_==null)return _;var ee=[],Re=0;return V(_,ee,"","",function(je){return H.call(W,je,Re++)}),ee}function be(_){if(_._status===-1){var H=_._result;H=H(),H.then(function(W){(_._status===0||_._status===-1)&&(_._status=1,_._result=W)},function(W){(_._status===0||_._status===-1)&&(_._status=2,_._result=W)}),_._status===-1&&(_._status=0,_._result=H)}if(_._status===1)return _._result.default;throw _._result}var Ye=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},se={map:ne,forEach:function(_,H,W){ne(_,function(){H.apply(this,arguments)},W)},count:function(_){var H=0;return ne(_,function(){H++}),H},toArray:function(_){return ne(_,function(H){return H})||[]},only:function(_){if(!$e(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return Tt.Activity=A,Tt.Children=se,Tt.Component=fe,Tt.Fragment=s,Tt.Profiler=h,Tt.PureComponent=De,Tt.StrictMode=d,Tt.Suspense=N,Tt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Te,Tt.__COMPILER_RUNTIME={__proto__:null,c:function(_){return Te.H.useMemoCache(_)}},Tt.cache=function(_){return function(){return _.apply(null,arguments)}},Tt.cacheSignal=function(){return null},Tt.cloneElement=function(_,H,W){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var ee=j({},_.props),Re=_.key;if(H!=null)for(je in H.key!==void 0&&(Re=""+H.key),H)!Le.call(H,je)||je==="key"||je==="__self"||je==="__source"||je==="ref"&&H.ref===void 0||(ee[je]=H[je]);var je=arguments.length-2;if(je===1)ee.children=W;else if(1<je){for(var Ne=Array(je),Je=0;Je<je;Je++)Ne[Je]=arguments[Je+2];ee.children=Ne}return Pe(_.type,Re,ee)},Tt.createContext=function(_){return _={$$typeof:b,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:y,_context:_},_},Tt.createElement=function(_,H,W){var ee,Re={},je=null;if(H!=null)for(ee in H.key!==void 0&&(je=""+H.key),H)Le.call(H,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(Re[ee]=H[ee]);var Ne=arguments.length-2;if(Ne===1)Re.children=W;else if(1<Ne){for(var Je=Array(Ne),Ze=0;Ze<Ne;Ze++)Je[Ze]=arguments[Ze+2];Re.children=Je}if(_&&_.defaultProps)for(ee in Ne=_.defaultProps,Ne)Re[ee]===void 0&&(Re[ee]=Ne[ee]);return Pe(_,je,Re)},Tt.createRef=function(){return{current:null}},Tt.forwardRef=function(_){return{$$typeof:E,render:_}},Tt.isValidElement=$e,Tt.lazy=function(_){return{$$typeof:U,_payload:{_status:-1,_result:_},_init:be}},Tt.memo=function(_,H){return{$$typeof:C,type:_,compare:H===void 0?null:H}},Tt.startTransition=function(_){var H=Te.T,W={};Te.T=W;try{var ee=_(),Re=Te.S;Re!==null&&Re(W,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(xe,Ye)}catch(je){Ye(je)}finally{H!==null&&W.types!==null&&(H.types=W.types),Te.T=H}},Tt.unstable_useCacheRefresh=function(){return Te.H.useCacheRefresh()},Tt.use=function(_){return Te.H.use(_)},Tt.useActionState=function(_,H,W){return Te.H.useActionState(_,H,W)},Tt.useCallback=function(_,H){return Te.H.useCallback(_,H)},Tt.useContext=function(_){return Te.H.useContext(_)},Tt.useDebugValue=function(){},Tt.useDeferredValue=function(_,H){return Te.H.useDeferredValue(_,H)},Tt.useEffect=function(_,H){return Te.H.useEffect(_,H)},Tt.useEffectEvent=function(_){return Te.H.useEffectEvent(_)},Tt.useId=function(){return Te.H.useId()},Tt.useImperativeHandle=function(_,H,W){return Te.H.useImperativeHandle(_,H,W)},Tt.useInsertionEffect=function(_,H){return Te.H.useInsertionEffect(_,H)},Tt.useLayoutEffect=function(_,H){return Te.H.useLayoutEffect(_,H)},Tt.useMemo=function(_,H){return Te.H.useMemo(_,H)},Tt.useOptimistic=function(_,H){return Te.H.useOptimistic(_,H)},Tt.useReducer=function(_,H,W){return Te.H.useReducer(_,H,W)},Tt.useRef=function(_){return Te.H.useRef(_)},Tt.useState=function(_){return Te.H.useState(_)},Tt.useSyncExternalStore=function(_,H,W){return Te.H.useSyncExternalStore(_,H,W)},Tt.useTransition=function(){return Te.H.useTransition()},Tt.version="19.2.4",Tt}var Ey={exports:{}};/**
18
- * @license React
19
- * react.development.js
20
- *
21
- * Copyright (c) Meta Platforms, Inc. and affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */Ey.exports;var t2;function _D(){return t2||(t2=1,(function(r,u){process.env.NODE_ENV!=="production"&&(function(){function s(O,I){Object.defineProperty(y.prototype,O,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I[0],I[1])}})}function d(O){return O===null||typeof O!="object"?null:(O=he&&O[he]||O["@@iterator"],typeof O=="function"?O:null)}function h(O,I){O=(O=O.constructor)&&(O.displayName||O.name)||"ReactClass";var Oe=O+"."+I;zn[Oe]||(console.error("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.",I,O),zn[Oe]=!0)}function y(O,I,Oe){this.props=O,this.context=I,this.refs=Gt,this.updater=Oe||An}function b(){}function E(O,I,Oe){this.props=O,this.context=I,this.refs=Gt,this.updater=Oe||An}function N(){}function C(O){return""+O}function U(O){try{C(O);var I=!1}catch{I=!0}if(I){I=console;var Oe=I.error,Ve=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return Oe.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ve),C(O)}}function A(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===Zu?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case _:return"Fragment";case W:return"Profiler";case H:return"StrictMode";case Ne:return"Suspense";case Je:return"SuspenseList";case Me:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case se:return"Portal";case Re:return O.displayName||"Context";case ee:return(O._context.displayName||"Context")+".Consumer";case je:var I=O.render;return O=O.displayName,O||(O=I.displayName||I.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case Ze:return I=O.displayName||null,I!==null?I:A(O.type)||"Memo";case ct:I=O._payload,O=O._init;try{return A(O(I))}catch{}}return null}function R(O){if(O===_)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===ct)return"<...>";try{var I=A(O);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function z(){var O=Fe.A;return O===null?null:O.getOwner()}function Q(){return Error("react-stack-top-frame")}function j(O){if(kr.call(O,"key")){var I=Object.getOwnPropertyDescriptor(O,"key").get;if(I&&I.isReactWarning)return!1}return O.key!==void 0}function F(O,I){function Oe(){te||(te=!0,console.error("%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://react.dev/link/special-props)",I))}Oe.isReactWarning=!0,Object.defineProperty(O,"key",{get:Oe,configurable:!0})}function fe(){var O=A(this.type);return qe[O]||(qe[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function ge(O,I,Oe,Ve,We,dt){var tt=Oe.ref;return O={$$typeof:Ye,type:O,key:I,props:Oe,_owner:Ve},(tt!==void 0?tt:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:fe}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:We}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:dt}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function De(O,I){return I=ge(O.type,I,O.props,O._owner,O._debugStack,O._debugTask),O._store&&(I._store.validated=O._store.validated),I}function pe(O){$(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===ct&&(O._payload.status==="fulfilled"?$(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function $(O){return typeof O=="object"&&O!==null&&O.$$typeof===Ye}function xe(O){var I={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(Oe){return I[Oe]})}function Te(O,I){return typeof O=="object"&&O!==null&&O.key!=null?(U(O.key),xe(""+O.key)):I.toString(36)}function Le(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(N,N):(O.status="pending",O.then(function(I){O.status==="pending"&&(O.status="fulfilled",O.value=I)},function(I){O.status==="pending"&&(O.status="rejected",O.reason=I)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function Pe(O,I,Oe,Ve,We){var dt=typeof O;(dt==="undefined"||dt==="boolean")&&(O=null);var tt=!1;if(O===null)tt=!0;else switch(dt){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(O.$$typeof){case Ye:case se:tt=!0;break;case ct:return tt=O._init,Pe(tt(O._payload),I,Oe,Ve,We)}}if(tt){tt=O,We=We(tt);var jt=Ve===""?"."+Te(tt,0):Ve;return po(We)?(Oe="",jt!=null&&(Oe=jt.replace(gt,"$&/")+"/"),Pe(We,I,Oe,"",function(nl){return nl})):We!=null&&($(We)&&(We.key!=null&&(tt&&tt.key===We.key||U(We.key)),Oe=De(We,Oe+(We.key==null||tt&&tt.key===We.key?"":(""+We.key).replace(gt,"$&/")+"/")+jt),Ve!==""&&tt!=null&&$(tt)&&tt.key==null&&tt._store&&!tt._store.validated&&(Oe._store.validated=2),We=Oe),I.push(We)),1}if(tt=0,jt=Ve===""?".":Ve+":",po(O))for(var Et=0;Et<O.length;Et++)Ve=O[Et],dt=jt+Te(Ve,Et),tt+=Pe(Ve,I,Oe,dt,We);else if(Et=d(O),typeof Et=="function")for(Et===O.entries&&(Qe||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Qe=!0),O=Et.call(O),Et=0;!(Ve=O.next()).done;)Ve=Ve.value,dt=jt+Te(Ve,Et++),tt+=Pe(Ve,I,Oe,dt,We);else if(dt==="object"){if(typeof O.then=="function")return Pe(Le(O),I,Oe,Ve,We);throw I=String(O),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return tt}function we(O,I,Oe){if(O==null)return O;var Ve=[],We=0;return Pe(O,Ve,"","",function(dt){return I.call(Oe,dt,We++)}),Ve}function $e(O){if(O._status===-1){var I=O._ioInfo;I!=null&&(I.start=I.end=performance.now()),I=O._result;var Oe=I();if(Oe.then(function(We){if(O._status===0||O._status===-1){O._status=1,O._result=We;var dt=O._ioInfo;dt!=null&&(dt.end=performance.now()),Oe.status===void 0&&(Oe.status="fulfilled",Oe.value=We)}},function(We){if(O._status===0||O._status===-1){O._status=2,O._result=We;var dt=O._ioInfo;dt!=null&&(dt.end=performance.now()),Oe.status===void 0&&(Oe.status="rejected",Oe.reason=We)}}),I=O._ioInfo,I!=null){I.value=Oe;var Ve=Oe.displayName;typeof Ve=="string"&&(I.name=Ve)}O._status===-1&&(O._status=0,O._result=Oe)}if(O._status===1)return I=O._result,I===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
26
-
27
- Your code should look like:
28
- const MyComponent = lazy(() => import('./MyComponent'))
29
-
30
- Did you accidentally put curly braces around the import?`,I),"default"in I||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
31
-
32
- Your code should look like:
33
- const MyComponent = lazy(() => import('./MyComponent'))`,I),I.default;throw O._result}function M(){var O=Fe.H;return O===null&&console.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:
34
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
35
- 2. You might be breaking the Rules of Hooks
36
- 3. You might have more than one copy of React in the same app
37
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),O}function ue(){Fe.asyncTransitions--}function ye(O){if(Ma===null)try{var I=("require"+Math.random()).slice(0,7);Ma=(r&&r[I]).call(r,"timers").setImmediate}catch{Ma=function(Ve){ba===!1&&(ba=!0,typeof MessageChannel>"u"&&console.error("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 We=new MessageChannel;We.port1.onmessage=Ve,We.port2.postMessage(void 0)}}return Ma(O)}function ze(O){return 1<O.length&&typeof AggregateError=="function"?new AggregateError(O):O[0]}function V(O,I){I!==_n-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),_n=I}function ne(O,I,Oe){var Ve=Fe.actQueue;if(Ve!==null)if(Ve.length!==0)try{be(Ve),ye(function(){return ne(O,I,Oe)});return}catch(We){Fe.thrownErrors.push(We)}else Fe.actQueue=null;0<Fe.thrownErrors.length?(Ve=ze(Fe.thrownErrors),Fe.thrownErrors.length=0,Oe(Ve)):I(O)}function be(O){if(!Ka){Ka=!0;var I=0;try{for(;I<O.length;I++){var Oe=O[I];do{Fe.didUsePromise=!1;var Ve=Oe(!1);if(Ve!==null){if(Fe.didUsePromise){O[I]=Oe,O.splice(0,I);return}Oe=Ve}else break}while(!0)}O.length=0}catch(We){O.splice(0,I+1),Fe.thrownErrors.push(We)}finally{Ka=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ye=Symbol.for("react.transitional.element"),se=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),Re=Symbol.for("react.context"),je=Symbol.for("react.forward_ref"),Ne=Symbol.for("react.suspense"),Je=Symbol.for("react.suspense_list"),Ze=Symbol.for("react.memo"),ct=Symbol.for("react.lazy"),Me=Symbol.for("react.activity"),he=Symbol.iterator,zn={},An={isMounted:function(){return!1},enqueueForceUpdate:function(O){h(O,"forceUpdate")},enqueueReplaceState:function(O){h(O,"replaceState")},enqueueSetState:function(O){h(O,"setState")}},wa=Object.assign,Gt={};Object.freeze(Gt),y.prototype.isReactComponent={},y.prototype.setState=function(O,I){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,I,"setState")},y.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};var va={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)."]};for(bi in va)va.hasOwnProperty(bi)&&s(bi,va[bi]);b.prototype=y.prototype,va=E.prototype=new b,va.constructor=E,wa(va,y.prototype),va.isPureReactComponent=!0;var po=Array.isArray,Zu=Symbol.for("react.client.reference"),Fe={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},kr=Object.prototype.hasOwnProperty,Y=console.createTask?console.createTask:function(){return null};va={react_stack_bottom_frame:function(O){return O()}};var te,le,qe={},Ue=va.react_stack_bottom_frame.bind(va,Q)(),ke=Y(R(Q)),Qe=!1,gt=/\/+/g,qt=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)},ba=!1,Ma=null,_n=0,aa=!1,Ka=!1,Fn=typeof queueMicrotask=="function"?function(O){queueMicrotask(function(){return queueMicrotask(O)})}:ye;va=Object.freeze({__proto__:null,c:function(O){return M().useMemoCache(O)}});var bi={map:we,forEach:function(O,I,Oe){we(O,function(){I.apply(this,arguments)},Oe)},count:function(O){var I=0;return we(O,function(){I++}),I},toArray:function(O){return we(O,function(I){return I})||[]},only:function(O){if(!$(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};u.Activity=Me,u.Children=bi,u.Component=y,u.Fragment=_,u.Profiler=W,u.PureComponent=E,u.StrictMode=H,u.Suspense=Ne,u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Fe,u.__COMPILER_RUNTIME=va,u.act=function(O){var I=Fe.actQueue,Oe=_n;_n++;var Ve=Fe.actQueue=I!==null?I:[],We=!1;try{var dt=O()}catch(Et){Fe.thrownErrors.push(Et)}if(0<Fe.thrownErrors.length)throw V(I,Oe),O=ze(Fe.thrownErrors),Fe.thrownErrors.length=0,O;if(dt!==null&&typeof dt=="object"&&typeof dt.then=="function"){var tt=dt;return Fn(function(){We||aa||(aa=!0,console.error("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 () => ...);"))}),{then:function(Et,nl){We=!0,tt.then(function(gr){if(V(I,Oe),Oe===0){try{be(Ve),ye(function(){return ne(gr,Et,nl)})}catch(sc){Fe.thrownErrors.push(sc)}if(0<Fe.thrownErrors.length){var Io=ze(Fe.thrownErrors);Fe.thrownErrors.length=0,nl(Io)}}else Et(gr)},function(gr){V(I,Oe),0<Fe.thrownErrors.length&&(gr=ze(Fe.thrownErrors),Fe.thrownErrors.length=0),nl(gr)})}}}var jt=dt;if(V(I,Oe),Oe===0&&(be(Ve),Ve.length!==0&&Fn(function(){We||aa||(aa=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Fe.actQueue=null),0<Fe.thrownErrors.length)throw O=ze(Fe.thrownErrors),Fe.thrownErrors.length=0,O;return{then:function(Et,nl){We=!0,Oe===0?(Fe.actQueue=Ve,ye(function(){return ne(jt,Et,nl)})):Et(jt)}}},u.cache=function(O){return function(){return O.apply(null,arguments)}},u.cacheSignal=function(){return null},u.captureOwnerStack=function(){var O=Fe.getCurrentStack;return O===null?null:O()},u.cloneElement=function(O,I,Oe){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var Ve=wa({},O.props),We=O.key,dt=O._owner;if(I!=null){var tt;e:{if(kr.call(I,"ref")&&(tt=Object.getOwnPropertyDescriptor(I,"ref").get)&&tt.isReactWarning){tt=!1;break e}tt=I.ref!==void 0}tt&&(dt=z()),j(I)&&(U(I.key),We=""+I.key);for(jt in I)!kr.call(I,jt)||jt==="key"||jt==="__self"||jt==="__source"||jt==="ref"&&I.ref===void 0||(Ve[jt]=I[jt])}var jt=arguments.length-2;if(jt===1)Ve.children=Oe;else if(1<jt){tt=Array(jt);for(var Et=0;Et<jt;Et++)tt[Et]=arguments[Et+2];Ve.children=tt}for(Ve=ge(O.type,We,Ve,dt,O._debugStack,O._debugTask),We=2;We<arguments.length;We++)pe(arguments[We]);return Ve},u.createContext=function(O){return O={$$typeof:Re,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:ee,_context:O},O._currentRenderer=null,O._currentRenderer2=null,O},u.createElement=function(O,I,Oe){for(var Ve=2;Ve<arguments.length;Ve++)pe(arguments[Ve]);Ve={};var We=null;if(I!=null)for(Et in le||!("__self"in I)||"key"in I||(le=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),j(I)&&(U(I.key),We=""+I.key),I)kr.call(I,Et)&&Et!=="key"&&Et!=="__self"&&Et!=="__source"&&(Ve[Et]=I[Et]);var dt=arguments.length-2;if(dt===1)Ve.children=Oe;else if(1<dt){for(var tt=Array(dt),jt=0;jt<dt;jt++)tt[jt]=arguments[jt+2];Object.freeze&&Object.freeze(tt),Ve.children=tt}if(O&&O.defaultProps)for(Et in dt=O.defaultProps,dt)Ve[Et]===void 0&&(Ve[Et]=dt[Et]);We&&F(Ve,typeof O=="function"?O.displayName||O.name||"Unknown":O);var Et=1e4>Fe.recentlyCreatedOwnerStacks++;return ge(O,We,Ve,z(),Et?Error("react-stack-top-frame"):Ue,Et?Y(R(O)):ke)},u.createRef=function(){var O={current:null};return Object.seal(O),O},u.forwardRef=function(O){O!=null&&O.$$typeof===Ze?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof O!="function"?console.error("forwardRef requires a render function but was given %s.",O===null?"null":typeof O):O.length!==0&&O.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",O.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),O!=null&&O.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I={$$typeof:je,render:O},Oe;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return Oe},set:function(Ve){Oe=Ve,O.name||O.displayName||(Object.defineProperty(O,"name",{value:Ve}),O.displayName=Ve)}}),I},u.isValidElement=$,u.lazy=function(O){O={_status:-1,_result:O};var I={$$typeof:ct,_payload:O,_init:$e},Oe={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return O._ioInfo=Oe,I._debugInfo=[{awaited:Oe}],I},u.memo=function(O,I){O==null&&console.error("memo: The first argument must be a component. Instead received: %s",O===null?"null":typeof O),I={$$typeof:Ze,type:O,compare:I===void 0?null:I};var Oe;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return Oe},set:function(Ve){Oe=Ve,O.name||O.displayName||(Object.defineProperty(O,"name",{value:Ve}),O.displayName=Ve)}}),I},u.startTransition=function(O){var I=Fe.T,Oe={};Oe._updatedFibers=new Set,Fe.T=Oe;try{var Ve=O(),We=Fe.S;We!==null&&We(Oe,Ve),typeof Ve=="object"&&Ve!==null&&typeof Ve.then=="function"&&(Fe.asyncTransitions++,Ve.then(ue,ue),Ve.then(N,qt))}catch(dt){qt(dt)}finally{I===null&&Oe._updatedFibers&&(O=Oe._updatedFibers.size,Oe._updatedFibers.clear(),10<O&&console.warn("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.")),I!==null&&Oe.types!==null&&(I.types!==null&&I.types!==Oe.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),I.types=Oe.types),Fe.T=I}},u.unstable_useCacheRefresh=function(){return M().useCacheRefresh()},u.use=function(O){return M().use(O)},u.useActionState=function(O,I,Oe){return M().useActionState(O,I,Oe)},u.useCallback=function(O,I){return M().useCallback(O,I)},u.useContext=function(O){var I=M();return O.$$typeof===ee&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I.useContext(O)},u.useDebugValue=function(O,I){return M().useDebugValue(O,I)},u.useDeferredValue=function(O,I){return M().useDeferredValue(O,I)},u.useEffect=function(O,I){return O==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),M().useEffect(O,I)},u.useEffectEvent=function(O){return M().useEffectEvent(O)},u.useId=function(){return M().useId()},u.useImperativeHandle=function(O,I,Oe){return M().useImperativeHandle(O,I,Oe)},u.useInsertionEffect=function(O,I){return O==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),M().useInsertionEffect(O,I)},u.useLayoutEffect=function(O,I){return O==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),M().useLayoutEffect(O,I)},u.useMemo=function(O,I){return M().useMemo(O,I)},u.useOptimistic=function(O,I){return M().useOptimistic(O,I)},u.useReducer=function(O,I,Oe){return M().useReducer(O,I,Oe)},u.useRef=function(O){return M().useRef(O)},u.useState=function(O){return M().useState(O)},u.useSyncExternalStore=function(O,I,Oe){return M().useSyncExternalStore(O,I,Oe)},u.useTransition=function(){return M().useTransition()},u.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Ey,Ey.exports)),Ey.exports}var n2;function qf(){return n2||(n2=1,process.env.NODE_ENV==="production"?Kv.exports=xD():Kv.exports=_D()),Kv.exports}/**
38
- * @license React
39
- * react-jsx-dev-runtime.development.js
40
- *
41
- * Copyright (c) Meta Platforms, Inc. and affiliates.
42
- *
43
- * This source code is licensed under the MIT license found in the
44
- * LICENSE file in the root directory of this source tree.
45
- */var a2;function TD(){return a2||(a2=1,process.env.NODE_ENV!=="production"&&(function(){function r(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===$e?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case F:return"Fragment";case ge:return"Profiler";case fe:return"StrictMode";case xe:return"Suspense";case Te:return"SuspenseList";case we:return"Activity"}if(typeof _=="object")switch(typeof _.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),_.$$typeof){case j:return"Portal";case pe:return _.displayName||"Context";case De:return(_._context.displayName||"Context")+".Consumer";case $:var H=_.render;return _=_.displayName,_||(_=H.displayName||H.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Le:return H=_.displayName||null,H!==null?H:r(_.type)||"Memo";case Pe:H=_._payload,_=_._init;try{return r(_(H))}catch{}}return null}function u(_){return""+_}function s(_){try{u(_);var H=!1}catch{H=!0}if(H){H=console;var W=H.error,ee=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return W.call(H,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ee),u(_)}}function d(_){if(_===F)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===Pe)return"<...>";try{var H=r(_);return H?"<"+H+">":"<...>"}catch{return"<...>"}}function h(){var _=M.A;return _===null?null:_.getOwner()}function y(){return Error("react-stack-top-frame")}function b(_){if(ue.call(_,"key")){var H=Object.getOwnPropertyDescriptor(_,"key").get;if(H&&H.isReactWarning)return!1}return _.key!==void 0}function E(_,H){function W(){V||(V=!0,console.error("%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://react.dev/link/special-props)",H))}W.isReactWarning=!0,Object.defineProperty(_,"key",{get:W,configurable:!0})}function N(){var _=r(this.type);return ne[_]||(ne[_]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),_=this.props.ref,_!==void 0?_:null}function C(_,H,W,ee,Re,je){var Ne=W.ref;return _={$$typeof:Q,type:_,key:H,props:W,_owner:ee},(Ne!==void 0?Ne:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:N}):Object.defineProperty(_,"ref",{enumerable:!1,value:null}),_._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(_,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(_,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Re}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:je}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function U(_,H,W,ee,Re,je){var Ne=H.children;if(Ne!==void 0)if(ee)if(ye(Ne)){for(ee=0;ee<Ne.length;ee++)A(Ne[ee]);Object.freeze&&Object.freeze(Ne)}else console.error("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 A(Ne);if(ue.call(H,"key")){Ne=r(_);var Je=Object.keys(H).filter(function(ct){return ct!=="key"});ee=0<Je.length?"{key: someKey, "+Je.join(": ..., ")+": ...}":"{key: someKey}",se[Ne+ee]||(Je=0<Je.length?"{"+Je.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
46
- let props = %s;
47
- <%s {...props} />
48
- React keys must be passed directly to JSX without using spread:
49
- let props = %s;
50
- <%s key={someKey} {...props} />`,ee,Ne,Je,Ne),se[Ne+ee]=!0)}if(Ne=null,W!==void 0&&(s(W),Ne=""+W),b(H)&&(s(H.key),Ne=""+H.key),"key"in H){W={};for(var Ze in H)Ze!=="key"&&(W[Ze]=H[Ze])}else W=H;return Ne&&E(W,typeof _=="function"?_.displayName||_.name||"Unknown":_),C(_,Ne,W,h(),Re,je)}function A(_){R(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===Pe&&(_._payload.status==="fulfilled"?R(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function R(_){return typeof _=="object"&&_!==null&&_.$$typeof===Q}var z=qf(),Q=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),De=Symbol.for("react.consumer"),pe=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),xe=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),Pe=Symbol.for("react.lazy"),we=Symbol.for("react.activity"),$e=Symbol.for("react.client.reference"),M=z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue=Object.prototype.hasOwnProperty,ye=Array.isArray,ze=console.createTask?console.createTask:function(){return null};z={react_stack_bottom_frame:function(_){return _()}};var V,ne={},be=z.react_stack_bottom_frame.bind(z,y)(),Ye=ze(d(y)),se={};Jv.Fragment=F,Jv.jsxDEV=function(_,H,W,ee){var Re=1e4>M.recentlyCreatedOwnerStacks++;return U(_,H,W,ee,Re?Error("react-stack-top-frame"):be,Re?ze(d(_)):Ye)}})()),Jv}var l2;function CD(){return l2||(l2=1,process.env.NODE_ENV==="production"?Xv.exports=ED():Xv.exports=TD()),Xv.exports}var B=CD(),Fv={exports:{}},xy={},Iv={exports:{}},mE={};/**
9
+ */var Yd;function Ab(){if(Yd)return is;Yd=1;var r=Symbol.for("react.fragment");return is.Fragment=r,is.jsxDEV=void 0,is}var $d;function Tb(){return $d||($d=1,du.exports=Ab()),du.exports}var v=Tb(),mu={exports:{}},Li={},hu={exports:{}},pu={};/**
51
10
  * @license React
52
11
  * scheduler.production.js
53
12
  *
@@ -55,15 +14,15 @@ React keys must be passed directly to JSX without using spread:
55
14
  *
56
15
  * This source code is licensed under the MIT license found in the
57
16
  * LICENSE file in the root directory of this source tree.
58
- */var r2;function ND(){return r2||(r2=1,(function(r){function u(V,ne){var be=V.length;V.push(ne);e:for(;0<be;){var Ye=be-1>>>1,se=V[Ye];if(0<h(se,ne))V[Ye]=ne,V[be]=se,be=Ye;else break e}}function s(V){return V.length===0?null:V[0]}function d(V){if(V.length===0)return null;var ne=V[0],be=V.pop();if(be!==ne){V[0]=be;e:for(var Ye=0,se=V.length,_=se>>>1;Ye<_;){var H=2*(Ye+1)-1,W=V[H],ee=H+1,Re=V[ee];if(0>h(W,be))ee<se&&0>h(Re,W)?(V[Ye]=Re,V[ee]=be,Ye=ee):(V[Ye]=W,V[H]=be,Ye=H);else if(ee<se&&0>h(Re,be))V[Ye]=Re,V[ee]=be,Ye=ee;else break e}}return ne}function h(V,ne){var be=V.sortIndex-ne.sortIndex;return be!==0?be:V.id-ne.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;r.unstable_now=function(){return y.now()}}else{var b=Date,E=b.now();r.unstable_now=function(){return b.now()-E}}var N=[],C=[],U=1,A=null,R=3,z=!1,Q=!1,j=!1,F=!1,fe=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,De=typeof setImmediate<"u"?setImmediate:null;function pe(V){for(var ne=s(C);ne!==null;){if(ne.callback===null)d(C);else if(ne.startTime<=V)d(C),ne.sortIndex=ne.expirationTime,u(N,ne);else break;ne=s(C)}}function $(V){if(j=!1,pe(V),!Q)if(s(N)!==null)Q=!0,xe||(xe=!0,M());else{var ne=s(C);ne!==null&&ze($,ne.startTime-V)}}var xe=!1,Te=-1,Le=5,Pe=-1;function we(){return F?!0:!(r.unstable_now()-Pe<Le)}function $e(){if(F=!1,xe){var V=r.unstable_now();Pe=V;var ne=!0;try{e:{Q=!1,j&&(j=!1,ge(Te),Te=-1),z=!0;var be=R;try{t:{for(pe(V),A=s(N);A!==null&&!(A.expirationTime>V&&we());){var Ye=A.callback;if(typeof Ye=="function"){A.callback=null,R=A.priorityLevel;var se=Ye(A.expirationTime<=V);if(V=r.unstable_now(),typeof se=="function"){A.callback=se,pe(V),ne=!0;break t}A===s(N)&&d(N),pe(V)}else d(N);A=s(N)}if(A!==null)ne=!0;else{var _=s(C);_!==null&&ze($,_.startTime-V),ne=!1}}break e}finally{A=null,R=be,z=!1}ne=void 0}}finally{ne?M():xe=!1}}}var M;if(typeof De=="function")M=function(){De($e)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,ye=ue.port2;ue.port1.onmessage=$e,M=function(){ye.postMessage(null)}}else M=function(){fe($e,0)};function ze(V,ne){Te=fe(function(){V(r.unstable_now())},ne)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(V){V.callback=null},r.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Le=0<V?Math.floor(1e3/V):5},r.unstable_getCurrentPriorityLevel=function(){return R},r.unstable_next=function(V){switch(R){case 1:case 2:case 3:var ne=3;break;default:ne=R}var be=R;R=ne;try{return V()}finally{R=be}},r.unstable_requestPaint=function(){F=!0},r.unstable_runWithPriority=function(V,ne){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var be=R;R=V;try{return ne()}finally{R=be}},r.unstable_scheduleCallback=function(V,ne,be){var Ye=r.unstable_now();switch(typeof be=="object"&&be!==null?(be=be.delay,be=typeof be=="number"&&0<be?Ye+be:Ye):be=Ye,V){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=be+se,V={id:U++,callback:ne,priorityLevel:V,startTime:be,expirationTime:se,sortIndex:-1},be>Ye?(V.sortIndex=be,u(C,V),s(N)===null&&V===s(C)&&(j?(ge(Te),Te=-1):j=!0,ze($,be-Ye))):(V.sortIndex=se,u(N,V),Q||z||(Q=!0,xe||(xe=!0,M()))),V},r.unstable_shouldYield=we,r.unstable_wrapCallback=function(V){var ne=R;return function(){var be=R;R=ne;try{return V.apply(this,arguments)}finally{R=be}}}})(mE)),mE}var hE={};/**
17
+ */var Fd;function Ob(){return Fd||(Fd=1,(function(r){function n(Z,H){var J=Z.length;Z.push(H);e:for(;0<J;){var De=J-1>>>1,Qe=Z[De];if(0<o(Qe,H))Z[De]=H,Z[J]=Qe,J=De;else break e}}function l(Z){return Z.length===0?null:Z[0]}function s(Z){if(Z.length===0)return null;var H=Z[0],J=Z.pop();if(J!==H){Z[0]=J;e:for(var De=0,Qe=Z.length,kt=Qe>>>1;De<kt;){var A=2*(De+1)-1,$=Z[A],re=A+1,ce=Z[re];if(0>o($,J))re<Qe&&0>o(ce,$)?(Z[De]=ce,Z[re]=J,De=re):(Z[De]=$,Z[A]=J,De=A);else if(re<Qe&&0>o(ce,J))Z[De]=ce,Z[re]=J,De=re;else break e}}return H}function o(Z,H){var J=Z.sortIndex-H.sortIndex;return J!==0?J:Z.id-H.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;r.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();r.unstable_now=function(){return d.now()-h}}var y=[],p=[],x=1,N=null,C=3,S=!1,k=!1,w=!1,q=!1,te=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,le=typeof setImmediate<"u"?setImmediate:null;function I(Z){for(var H=l(p);H!==null;){if(H.callback===null)s(p);else if(H.startTime<=Z)s(p),H.sortIndex=H.expirationTime,n(y,H);else break;H=l(p)}}function B(Z){if(w=!1,I(Z),!k)if(l(y)!==null)k=!0,K||(K=!0,b());else{var H=l(p);H!==null&&se(B,H.startTime-Z)}}var K=!1,ne=-1,de=5,we=-1;function Ue(){return q?!0:!(r.unstable_now()-we<de)}function _e(){if(q=!1,K){var Z=r.unstable_now();we=Z;var H=!0;try{e:{k=!1,w&&(w=!1,Q(ne),ne=-1),S=!0;var J=C;try{t:{for(I(Z),N=l(y);N!==null&&!(N.expirationTime>Z&&Ue());){var De=N.callback;if(typeof De=="function"){N.callback=null,C=N.priorityLevel;var Qe=De(N.expirationTime<=Z);if(Z=r.unstable_now(),typeof Qe=="function"){N.callback=Qe,I(Z),H=!0;break t}N===l(y)&&s(y),I(Z)}else s(y);N=l(y)}if(N!==null)H=!0;else{var kt=l(p);kt!==null&&se(B,kt.startTime-Z),H=!1}}break e}finally{N=null,C=J,S=!1}H=void 0}}finally{H?b():K=!1}}}var b;if(typeof le=="function")b=function(){le(_e)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,X=F.port2;F.port1.onmessage=_e,b=function(){X.postMessage(null)}}else b=function(){te(_e,0)};function se(Z,H){ne=te(function(){Z(r.unstable_now())},H)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(Z){Z.callback=null},r.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<Z?Math.floor(1e3/Z):5},r.unstable_getCurrentPriorityLevel=function(){return C},r.unstable_next=function(Z){switch(C){case 1:case 2:case 3:var H=3;break;default:H=C}var J=C;C=H;try{return Z()}finally{C=J}},r.unstable_requestPaint=function(){q=!0},r.unstable_runWithPriority=function(Z,H){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var J=C;C=Z;try{return H()}finally{C=J}},r.unstable_scheduleCallback=function(Z,H,J){var De=r.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?De+J:De):J=De,Z){case 1:var Qe=-1;break;case 2:Qe=250;break;case 5:Qe=1073741823;break;case 4:Qe=1e4;break;default:Qe=5e3}return Qe=J+Qe,Z={id:x++,callback:H,priorityLevel:Z,startTime:J,expirationTime:Qe,sortIndex:-1},J>De?(Z.sortIndex=J,n(p,Z),l(y)===null&&Z===l(p)&&(w?(Q(ne),ne=-1):w=!0,se(B,J-De))):(Z.sortIndex=Qe,n(y,Z),k||S||(k=!0,K||(K=!0,b()))),Z},r.unstable_shouldYield=Ue,r.unstable_wrapCallback=function(Z){var H=C;return function(){var J=C;C=H;try{return Z.apply(this,arguments)}finally{C=J}}}})(pu)),pu}var Qd;function Rb(){return Qd||(Qd=1,hu.exports=Ob()),hu.exports}var gu={exports:{}},xe={},Xd;function Mb(){if(Xd)return xe;Xd=1;var r={env:{}};/**
59
18
  * @license React
60
- * scheduler.development.js
19
+ * react.production.js
61
20
  *
62
21
  * Copyright (c) Meta Platforms, Inc. and affiliates.
63
22
  *
64
23
  * This source code is licensed under the MIT license found in the
65
24
  * LICENSE file in the root directory of this source tree.
66
- */var i2;function AD(){return i2||(i2=1,(function(r){process.env.NODE_ENV!=="production"&&(function(){function u(){if($=!1,Pe){var V=r.unstable_now();M=V;var ne=!0;try{e:{De=!1,pe&&(pe=!1,Te(we),we=-1),ge=!0;var be=fe;try{t:{for(b(V),F=d(z);F!==null&&!(F.expirationTime>V&&N());){var Ye=F.callback;if(typeof Ye=="function"){F.callback=null,fe=F.priorityLevel;var se=Ye(F.expirationTime<=V);if(V=r.unstable_now(),typeof se=="function"){F.callback=se,b(V),ne=!0;break t}F===d(z)&&h(z),b(V)}else h(z);F=d(z)}if(F!==null)ne=!0;else{var _=d(Q);_!==null&&C(E,_.startTime-V),ne=!1}}break e}finally{F=null,fe=be,ge=!1}ne=void 0}}finally{ne?ue():Pe=!1}}}function s(V,ne){var be=V.length;V.push(ne);e:for(;0<be;){var Ye=be-1>>>1,se=V[Ye];if(0<y(se,ne))V[Ye]=ne,V[be]=se,be=Ye;else break e}}function d(V){return V.length===0?null:V[0]}function h(V){if(V.length===0)return null;var ne=V[0],be=V.pop();if(be!==ne){V[0]=be;e:for(var Ye=0,se=V.length,_=se>>>1;Ye<_;){var H=2*(Ye+1)-1,W=V[H],ee=H+1,Re=V[ee];if(0>y(W,be))ee<se&&0>y(Re,W)?(V[Ye]=Re,V[ee]=be,Ye=ee):(V[Ye]=W,V[H]=be,Ye=H);else if(ee<se&&0>y(Re,be))V[Ye]=Re,V[ee]=be,Ye=ee;else break e}}return ne}function y(V,ne){var be=V.sortIndex-ne.sortIndex;return be!==0?be:V.id-ne.id}function b(V){for(var ne=d(Q);ne!==null;){if(ne.callback===null)h(Q);else if(ne.startTime<=V)h(Q),ne.sortIndex=ne.expirationTime,s(z,ne);else break;ne=d(Q)}}function E(V){if(pe=!1,b(V),!De)if(d(z)!==null)De=!0,Pe||(Pe=!0,ue());else{var ne=d(Q);ne!==null&&C(E,ne.startTime-V)}}function N(){return $?!0:!(r.unstable_now()-M<$e)}function C(V,ne){we=xe(function(){V(r.unstable_now())},ne)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var U=performance;r.unstable_now=function(){return U.now()}}else{var A=Date,R=A.now();r.unstable_now=function(){return A.now()-R}}var z=[],Q=[],j=1,F=null,fe=3,ge=!1,De=!1,pe=!1,$=!1,xe=typeof setTimeout=="function"?setTimeout:null,Te=typeof clearTimeout=="function"?clearTimeout:null,Le=typeof setImmediate<"u"?setImmediate:null,Pe=!1,we=-1,$e=5,M=-1;if(typeof Le=="function")var ue=function(){Le(u)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,ze=ye.port2;ye.port1.onmessage=u,ue=function(){ze.postMessage(null)}}else ue=function(){xe(u,0)};r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(V){V.callback=null},r.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$e=0<V?Math.floor(1e3/V):5},r.unstable_getCurrentPriorityLevel=function(){return fe},r.unstable_next=function(V){switch(fe){case 1:case 2:case 3:var ne=3;break;default:ne=fe}var be=fe;fe=ne;try{return V()}finally{fe=be}},r.unstable_requestPaint=function(){$=!0},r.unstable_runWithPriority=function(V,ne){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var be=fe;fe=V;try{return ne()}finally{fe=be}},r.unstable_scheduleCallback=function(V,ne,be){var Ye=r.unstable_now();switch(typeof be=="object"&&be!==null?(be=be.delay,be=typeof be=="number"&&0<be?Ye+be:Ye):be=Ye,V){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=be+se,V={id:j++,callback:ne,priorityLevel:V,startTime:be,expirationTime:se,sortIndex:-1},be>Ye?(V.sortIndex=be,s(Q,V),d(z)===null&&V===d(Q)&&(pe?(Te(we),we=-1):pe=!0,C(E,be-Ye))):(V.sortIndex=se,s(z,V),De||ge||(De=!0,Pe||(Pe=!0,ue()))),V},r.unstable_shouldYield=N,r.unstable_wrapCallback=function(V){var ne=fe;return function(){var be=fe;fe=ne;try{return V.apply(this,arguments)}finally{fe=be}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(hE)),hE}var o2;function u2(){return o2||(o2=1,process.env.NODE_ENV==="production"?Iv.exports=ND():Iv.exports=AD()),Iv.exports}var Pv={exports:{}},Rl={};/**
25
+ */var n=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),C=Symbol.for("react.activity"),S=Symbol.iterator;function k(A){return A===null||typeof A!="object"?null:(A=S&&A[S]||A["@@iterator"],typeof A=="function"?A:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,te={};function Q(A,$,re){this.props=A,this.context=$,this.refs=te,this.updater=re||w}Q.prototype.isReactComponent={},Q.prototype.setState=function(A,$){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,$,"setState")},Q.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function le(){}le.prototype=Q.prototype;function I(A,$,re){this.props=A,this.context=$,this.refs=te,this.updater=re||w}var B=I.prototype=new le;B.constructor=I,q(B,Q.prototype),B.isPureReactComponent=!0;var K=Array.isArray;function ne(){}var de={H:null,A:null,T:null,S:null},we=Object.prototype.hasOwnProperty;function Ue(A,$,re){var ce=re.ref;return{$$typeof:n,type:A,key:$,ref:ce!==void 0?ce:null,props:re}}function _e(A,$){return Ue(A.type,$,A.props)}function b(A){return typeof A=="object"&&A!==null&&A.$$typeof===n}function F(A){var $={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(re){return $[re]})}var X=/\/+/g;function se(A,$){return typeof A=="object"&&A!==null&&A.key!=null?F(""+A.key):$.toString(36)}function Z(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ne,ne):(A.status="pending",A.then(function($){A.status==="pending"&&(A.status="fulfilled",A.value=$)},function($){A.status==="pending"&&(A.status="rejected",A.reason=$)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function H(A,$,re,ce,Te){var Ae=typeof A;(Ae==="undefined"||Ae==="boolean")&&(A=null);var Le=!1;if(A===null)Le=!0;else switch(Ae){case"bigint":case"string":case"number":Le=!0;break;case"object":switch(A.$$typeof){case n:case l:Le=!0;break;case N:return Le=A._init,H(Le(A._payload),$,re,ce,Te)}}if(Le)return Te=Te(A),Le=ce===""?"."+se(A,0):ce,K(Te)?(re="",Le!=null&&(re=Le.replace(X,"$&/")+"/"),H(Te,$,re,"",function(rr){return rr})):Te!=null&&(b(Te)&&(Te=_e(Te,re+(Te.key==null||A&&A.key===Te.key?"":(""+Te.key).replace(X,"$&/")+"/")+Le)),$.push(Te)),1;Le=0;var Tt=ce===""?".":ce+":";if(K(A))for(var ut=0;ut<A.length;ut++)ce=A[ut],Ae=Tt+se(ce,ut),Le+=H(ce,$,re,Ae,Te);else if(ut=k(A),typeof ut=="function")for(A=ut.call(A),ut=0;!(ce=A.next()).done;)ce=ce.value,Ae=Tt+se(ce,ut++),Le+=H(ce,$,re,Ae,Te);else if(Ae==="object"){if(typeof A.then=="function")return H(Z(A),$,re,ce,Te);throw $=String(A),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return Le}function J(A,$,re){if(A==null)return A;var ce=[],Te=0;return H(A,ce,"","",function(Ae){return $.call(re,Ae,Te++)}),ce}function De(A){if(A._status===-1){var $=A._result;$=$(),$.then(function(re){(A._status===0||A._status===-1)&&(A._status=1,A._result=re)},function(re){(A._status===0||A._status===-1)&&(A._status=2,A._result=re)}),A._status===-1&&(A._status=0,A._result=$)}if(A._status===1)return A._result.default;throw A._result}var Qe=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent($))return}else if(typeof r=="object"&&typeof r.emit=="function"){r.emit("uncaughtException",A);return}console.error(A)},kt={map:J,forEach:function(A,$,re){J(A,function(){$.apply(this,arguments)},re)},count:function(A){var $=0;return J(A,function(){$++}),$},toArray:function(A){return J(A,function($){return $})||[]},only:function(A){if(!b(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return xe.Activity=C,xe.Children=kt,xe.Component=Q,xe.Fragment=s,xe.Profiler=f,xe.PureComponent=I,xe.StrictMode=o,xe.Suspense=p,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=de,xe.__COMPILER_RUNTIME={__proto__:null,c:function(A){return de.H.useMemoCache(A)}},xe.cache=function(A){return function(){return A.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(A,$,re){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var ce=q({},A.props),Te=A.key;if($!=null)for(Ae in $.key!==void 0&&(Te=""+$.key),$)!we.call($,Ae)||Ae==="key"||Ae==="__self"||Ae==="__source"||Ae==="ref"&&$.ref===void 0||(ce[Ae]=$[Ae]);var Ae=arguments.length-2;if(Ae===1)ce.children=re;else if(1<Ae){for(var Le=Array(Ae),Tt=0;Tt<Ae;Tt++)Le[Tt]=arguments[Tt+2];ce.children=Le}return Ue(A.type,Te,ce)},xe.createContext=function(A){return A={$$typeof:h,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:d,_context:A},A},xe.createElement=function(A,$,re){var ce,Te={},Ae=null;if($!=null)for(ce in $.key!==void 0&&(Ae=""+$.key),$)we.call($,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(Te[ce]=$[ce]);var Le=arguments.length-2;if(Le===1)Te.children=re;else if(1<Le){for(var Tt=Array(Le),ut=0;ut<Le;ut++)Tt[ut]=arguments[ut+2];Te.children=Tt}if(A&&A.defaultProps)for(ce in Le=A.defaultProps,Le)Te[ce]===void 0&&(Te[ce]=Le[ce]);return Ue(A,Ae,Te)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(A){return{$$typeof:y,render:A}},xe.isValidElement=b,xe.lazy=function(A){return{$$typeof:N,_payload:{_status:-1,_result:A},_init:De}},xe.memo=function(A,$){return{$$typeof:x,type:A,compare:$===void 0?null:$}},xe.startTransition=function(A){var $=de.T,re={};de.T=re;try{var ce=A(),Te=de.S;Te!==null&&Te(re,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(ne,Qe)}catch(Ae){Qe(Ae)}finally{$!==null&&re.types!==null&&($.types=re.types),de.T=$}},xe.unstable_useCacheRefresh=function(){return de.H.useCacheRefresh()},xe.use=function(A){return de.H.use(A)},xe.useActionState=function(A,$,re){return de.H.useActionState(A,$,re)},xe.useCallback=function(A,$){return de.H.useCallback(A,$)},xe.useContext=function(A){return de.H.useContext(A)},xe.useDebugValue=function(){},xe.useDeferredValue=function(A,$){return de.H.useDeferredValue(A,$)},xe.useEffect=function(A,$){return de.H.useEffect(A,$)},xe.useEffectEvent=function(A){return de.H.useEffectEvent(A)},xe.useId=function(){return de.H.useId()},xe.useImperativeHandle=function(A,$,re){return de.H.useImperativeHandle(A,$,re)},xe.useInsertionEffect=function(A,$){return de.H.useInsertionEffect(A,$)},xe.useLayoutEffect=function(A,$){return de.H.useLayoutEffect(A,$)},xe.useMemo=function(A,$){return de.H.useMemo(A,$)},xe.useOptimistic=function(A,$){return de.H.useOptimistic(A,$)},xe.useReducer=function(A,$,re){return de.H.useReducer(A,$,re)},xe.useRef=function(A){return de.H.useRef(A)},xe.useState=function(A){return de.H.useState(A)},xe.useSyncExternalStore=function(A,$,re){return de.H.useSyncExternalStore(A,$,re)},xe.useTransition=function(){return de.H.useTransition()},xe.version="19.2.4",xe}var Kd;function yu(){return Kd||(Kd=1,gu.exports=Mb()),gu.exports}var bu={exports:{}},Ht={};/**
67
26
  * @license React
68
27
  * react-dom.production.js
69
28
  *
@@ -71,19 +30,7 @@ React keys must be passed directly to JSX without using spread:
71
30
  *
72
31
  * This source code is licensed under the MIT license found in the
73
32
  * LICENSE file in the root directory of this source tree.
74
- */var s2;function DD(){if(s2)return Rl;s2=1;var r=qf();function u(N){var C="https://react.dev/errors/"+N;if(1<arguments.length){C+="?args[]="+encodeURIComponent(arguments[1]);for(var U=2;U<arguments.length;U++)C+="&args[]="+encodeURIComponent(arguments[U])}return"Minified React error #"+N+"; visit "+C+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var d={d:{f:s,r:function(){throw Error(u(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},h=Symbol.for("react.portal");function y(N,C,U){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:A==null?null:""+A,children:N,containerInfo:C,implementation:U}}var b=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function E(N,C){if(N==="font")return"";if(typeof C=="string")return C==="use-credentials"?C:""}return Rl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,Rl.createPortal=function(N,C){var U=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error(u(299));return y(N,C,null,U)},Rl.flushSync=function(N){var C=b.T,U=d.p;try{if(b.T=null,d.p=2,N)return N()}finally{b.T=C,d.p=U,d.d.f()}},Rl.preconnect=function(N,C){typeof N=="string"&&(C?(C=C.crossOrigin,C=typeof C=="string"?C==="use-credentials"?C:"":void 0):C=null,d.d.C(N,C))},Rl.prefetchDNS=function(N){typeof N=="string"&&d.d.D(N)},Rl.preinit=function(N,C){if(typeof N=="string"&&C&&typeof C.as=="string"){var U=C.as,A=E(U,C.crossOrigin),R=typeof C.integrity=="string"?C.integrity:void 0,z=typeof C.fetchPriority=="string"?C.fetchPriority:void 0;U==="style"?d.d.S(N,typeof C.precedence=="string"?C.precedence:void 0,{crossOrigin:A,integrity:R,fetchPriority:z}):U==="script"&&d.d.X(N,{crossOrigin:A,integrity:R,fetchPriority:z,nonce:typeof C.nonce=="string"?C.nonce:void 0})}},Rl.preinitModule=function(N,C){if(typeof N=="string")if(typeof C=="object"&&C!==null){if(C.as==null||C.as==="script"){var U=E(C.as,C.crossOrigin);d.d.M(N,{crossOrigin:U,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0})}}else C==null&&d.d.M(N)},Rl.preload=function(N,C){if(typeof N=="string"&&typeof C=="object"&&C!==null&&typeof C.as=="string"){var U=C.as,A=E(U,C.crossOrigin);d.d.L(N,U,{crossOrigin:A,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0,type:typeof C.type=="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority=="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy=="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet=="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes=="string"?C.imageSizes:void 0,media:typeof C.media=="string"?C.media:void 0})}},Rl.preloadModule=function(N,C){if(typeof N=="string")if(C){var U=E(C.as,C.crossOrigin);d.d.m(N,{as:typeof C.as=="string"&&C.as!=="script"?C.as:void 0,crossOrigin:U,integrity:typeof C.integrity=="string"?C.integrity:void 0})}else d.d.m(N)},Rl.requestFormReset=function(N){d.d.r(N)},Rl.unstable_batchedUpdates=function(N,C){return N(C)},Rl.useFormState=function(N,C,U){return b.H.useFormState(N,C,U)},Rl.useFormStatus=function(){return b.H.useHostTransitionStatus()},Rl.version="19.2.4",Rl}var Ol={};/**
75
- * @license React
76
- * react-dom.development.js
77
- *
78
- * Copyright (c) Meta Platforms, Inc. and affiliates.
79
- *
80
- * This source code is licensed under the MIT license found in the
81
- * LICENSE file in the root directory of this source tree.
82
- */var c2;function RD(){return c2||(c2=1,process.env.NODE_ENV!=="production"&&(function(){function r(){}function u(A){return""+A}function s(A,R,z){var Q=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{u(Q);var j=!1}catch{j=!0}return j&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&Q[Symbol.toStringTag]||Q.constructor.name||"Object"),u(Q)),{$$typeof:C,key:Q==null?null:""+Q,children:A,containerInfo:R,implementation:z}}function d(A,R){if(A==="font")return"";if(typeof R=="string")return R==="use-credentials"?R:""}function h(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":'something with type "'+typeof A+'"'}function y(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":typeof A=="string"?JSON.stringify(A):typeof A=="number"?"`"+A+"`":'something with type "'+typeof A+'"'}function b(){var A=U.H;return A===null&&console.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:
83
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
84
- 2. You might be breaking the Rules of Hooks
85
- 3. You might have more than one copy of React in the same app
86
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var E=qf(),N={d:{f:r,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},C=Symbol.for("react.portal"),U=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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"||console.error("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"),Ol.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N,Ol.createPortal=function(A,R){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!R||R.nodeType!==1&&R.nodeType!==9&&R.nodeType!==11)throw Error("Target container is not a DOM element.");return s(A,R,null,z)},Ol.flushSync=function(A){var R=U.T,z=N.p;try{if(U.T=null,N.p=2,A)return A()}finally{U.T=R,N.p=z,N.d.f()&&console.error("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.")}},Ol.preconnect=function(A,R){typeof A=="string"&&A?R!=null&&typeof R!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",y(R)):R!=null&&typeof R.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",h(R.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(A)),typeof A=="string"&&(R?(R=R.crossOrigin,R=typeof R=="string"?R==="use-credentials"?R:"":void 0):R=null,N.d.C(A,R))},Ol.prefetchDNS=function(A){if(typeof A!="string"||!A)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(A));else if(1<arguments.length){var R=arguments[1];typeof R=="object"&&R.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(R)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(R))}typeof A=="string"&&N.d.D(A)},Ol.preinit=function(A,R){if(typeof A=="string"&&A?R==null||typeof R!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",y(R)):R.as!=="style"&&R.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',y(R.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(A)),typeof A=="string"&&R&&typeof R.as=="string"){var z=R.as,Q=d(z,R.crossOrigin),j=typeof R.integrity=="string"?R.integrity:void 0,F=typeof R.fetchPriority=="string"?R.fetchPriority:void 0;z==="style"?N.d.S(A,typeof R.precedence=="string"?R.precedence:void 0,{crossOrigin:Q,integrity:j,fetchPriority:F}):z==="script"&&N.d.X(A,{crossOrigin:Q,integrity:j,fetchPriority:F,nonce:typeof R.nonce=="string"?R.nonce:void 0})}},Ol.preinitModule=function(A,R){var z="";if(typeof A=="string"&&A||(z+=" The `href` argument encountered was "+h(A)+"."),R!==void 0&&typeof R!="object"?z+=" The `options` argument encountered was "+h(R)+".":R&&"as"in R&&R.as!=="script"&&(z+=" The `as` option encountered was "+y(R.as)+"."),z)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",z);else switch(z=R&&typeof R.as=="string"?R.as:"script",z){case"script":break;default:z=y(z),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',z,A)}typeof A=="string"&&(typeof R=="object"&&R!==null?(R.as==null||R.as==="script")&&(z=d(R.as,R.crossOrigin),N.d.M(A,{crossOrigin:z,integrity:typeof R.integrity=="string"?R.integrity:void 0,nonce:typeof R.nonce=="string"?R.nonce:void 0})):R==null&&N.d.M(A))},Ol.preload=function(A,R){var z="";if(typeof A=="string"&&A||(z+=" The `href` argument encountered was "+h(A)+"."),R==null||typeof R!="object"?z+=" The `options` argument encountered was "+h(R)+".":typeof R.as=="string"&&R.as||(z+=" The `as` option encountered was "+h(R.as)+"."),z&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',z),typeof A=="string"&&typeof R=="object"&&R!==null&&typeof R.as=="string"){z=R.as;var Q=d(z,R.crossOrigin);N.d.L(A,z,{crossOrigin:Q,integrity:typeof R.integrity=="string"?R.integrity:void 0,nonce:typeof R.nonce=="string"?R.nonce:void 0,type:typeof R.type=="string"?R.type:void 0,fetchPriority:typeof R.fetchPriority=="string"?R.fetchPriority:void 0,referrerPolicy:typeof R.referrerPolicy=="string"?R.referrerPolicy:void 0,imageSrcSet:typeof R.imageSrcSet=="string"?R.imageSrcSet:void 0,imageSizes:typeof R.imageSizes=="string"?R.imageSizes:void 0,media:typeof R.media=="string"?R.media:void 0})}},Ol.preloadModule=function(A,R){var z="";typeof A=="string"&&A||(z+=" The `href` argument encountered was "+h(A)+"."),R!==void 0&&typeof R!="object"?z+=" The `options` argument encountered was "+h(R)+".":R&&"as"in R&&typeof R.as!="string"&&(z+=" The `as` option encountered was "+h(R.as)+"."),z&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',z),typeof A=="string"&&(R?(z=d(R.as,R.crossOrigin),N.d.m(A,{as:typeof R.as=="string"&&R.as!=="script"?R.as:void 0,crossOrigin:z,integrity:typeof R.integrity=="string"?R.integrity:void 0})):N.d.m(A))},Ol.requestFormReset=function(A){N.d.r(A)},Ol.unstable_batchedUpdates=function(A,R){return A(R)},Ol.useFormState=function(A,R,z){return b().useFormState(A,R,z)},Ol.useFormStatus=function(){return b().useHostTransitionStatus()},Ol.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ol}var f2;function d2(){if(f2)return Pv.exports;f2=1;function r(){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(r)}catch(u){console.error(u)}}}return process.env.NODE_ENV==="production"?(r(),Pv.exports=DD()):Pv.exports=RD(),Pv.exports}/**
33
+ */var Jd;function zb(){if(Jd)return Ht;Jd=1;var r=yu();function n(y){var p="https://react.dev/errors/"+y;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)p+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+y+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(n(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},o=Symbol.for("react.portal");function f(y,p,x){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:N==null?null:""+N,children:y,containerInfo:p,implementation:x}}var d=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(y,p){if(y==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ht.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Ht.createPortal=function(y,p){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(n(299));return f(y,p,null,x)},Ht.flushSync=function(y){var p=d.T,x=s.p;try{if(d.T=null,s.p=2,y)return y()}finally{d.T=p,s.p=x,s.d.f()}},Ht.preconnect=function(y,p){typeof y=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,s.d.C(y,p))},Ht.prefetchDNS=function(y){typeof y=="string"&&s.d.D(y)},Ht.preinit=function(y,p){if(typeof y=="string"&&p&&typeof p.as=="string"){var x=p.as,N=h(x,p.crossOrigin),C=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;x==="style"?s.d.S(y,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:N,integrity:C,fetchPriority:S}):x==="script"&&s.d.X(y,{crossOrigin:N,integrity:C,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ht.preinitModule=function(y,p){if(typeof y=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var x=h(p.as,p.crossOrigin);s.d.M(y,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&s.d.M(y)},Ht.preload=function(y,p){if(typeof y=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var x=p.as,N=h(x,p.crossOrigin);s.d.L(y,x,{crossOrigin:N,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ht.preloadModule=function(y,p){if(typeof y=="string")if(p){var x=h(p.as,p.crossOrigin);s.d.m(y,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else s.d.m(y)},Ht.requestFormReset=function(y){s.d.r(y)},Ht.unstable_batchedUpdates=function(y,p){return y(p)},Ht.useFormState=function(y,p,x){return d.H.useFormState(y,p,x)},Ht.useFormStatus=function(){return d.H.useHostTransitionStatus()},Ht.version="19.2.4",Ht}var Id;function kb(){if(Id)return bu.exports;Id=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(n){console.error(n)}}return r(),bu.exports=zb(),bu.exports}var Pd;function jb(){if(Pd)return Li;Pd=1;var r={env:{}};/**
87
34
  * @license React
88
35
  * react-dom-client.production.js
89
36
  *
@@ -91,318 +38,71 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
91
38
  *
92
39
  * This source code is licensed under the MIT license found in the
93
40
  * LICENSE file in the root directory of this source tree.
94
- */var m2;function OD(){if(m2)return xy;m2=1;var r=u2(),u=qf(),s=d2();function d(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function y(n){var l=n,i=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(i=l.return),n=l.return;while(n)}return l.tag===3?i:null}function b(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function E(n){if(n.tag===31){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function N(n){if(y(n)!==n)throw Error(d(188))}function C(n){var l=n.alternate;if(!l){if(l=y(n),l===null)throw Error(d(188));return l!==n?null:n}for(var i=n,c=l;;){var p=i.return;if(p===null)break;var g=p.alternate;if(g===null){if(c=p.return,c!==null){i=c;continue}break}if(p.child===g.child){for(g=p.child;g;){if(g===i)return N(p),n;if(g===c)return N(p),l;g=g.sibling}throw Error(d(188))}if(i.return!==c.return)i=p,c=g;else{for(var x=!1,w=p.child;w;){if(w===i){x=!0,i=p,c=g;break}if(w===c){x=!0,c=p,i=g;break}w=w.sibling}if(!x){for(w=g.child;w;){if(w===i){x=!0,i=g,c=p;break}if(w===c){x=!0,c=g,i=p;break}w=w.sibling}if(!x)throw Error(d(189))}}if(i.alternate!==c)throw Error(d(190))}if(i.tag!==3)throw Error(d(188));return i.stateNode.current===i?n:l}function U(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=U(n),l!==null)return l;n=n.sibling}return null}var A=Object.assign,R=Symbol.for("react.element"),z=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),ge=Symbol.for("react.consumer"),De=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),Pe=Symbol.for("react.activity"),we=Symbol.for("react.memo_cache_sentinel"),$e=Symbol.iterator;function M(n){return n===null||typeof n!="object"?null:(n=$e&&n[$e]||n["@@iterator"],typeof n=="function"?n:null)}var ue=Symbol.for("react.client.reference");function ye(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ue?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case j:return"Fragment";case fe:return"Profiler";case F:return"StrictMode";case $:return"Suspense";case xe:return"SuspenseList";case Pe:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case Q:return"Portal";case De:return n.displayName||"Context";case ge:return(n._context.displayName||"Context")+".Consumer";case pe:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Te:return l=n.displayName||null,l!==null?l:ye(n.type)||"Memo";case Le:l=n._payload,n=n._init;try{return ye(n(l))}catch{}}return null}var ze=Array.isArray,V=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,be={pending:!1,data:null,method:null,action:null},Ye=[],se=-1;function _(n){return{current:n}}function H(n){0>se||(n.current=Ye[se],Ye[se]=null,se--)}function W(n,l){se++,Ye[se]=n.current,n.current=l}var ee=_(null),Re=_(null),je=_(null),Ne=_(null);function Je(n,l){switch(W(je,l),W(Re,n),W(ee,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?lS(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=lS(l),n=q0(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}H(ee),W(ee,n)}function Ze(){H(ee),H(Re),H(je)}function ct(n){n.memoizedState!==null&&W(Ne,n);var l=ee.current,i=q0(l,n.type);l!==i&&(W(Re,n),W(ee,i))}function Me(n){Re.current===n&&(H(ee),H(Re)),Ne.current===n&&(H(Ne),cm._currentValue=be)}var he,zn;function An(n){if(he===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);he=l&&l[1]||"",zn=-1<i.stack.indexOf(`
95
- at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
96
- `+he+n+zn}var wa=!1;function Gt(n,l){if(!n||wa)return"";wa=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(l){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(me){var ie=me}Reflect.construct(n,[],Ce)}else{try{Ce.call()}catch(me){ie=me}n.call(Ce.prototype)}}else{try{throw Error()}catch(me){ie=me}(Ce=n())&&typeof Ce.catch=="function"&&Ce.catch(function(){})}}catch(me){if(me&&ie&&typeof me.stack=="string")return[me.stack,ie.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),x=g[0],w=g[1];if(x&&w){var G=x.split(`
97
- `),re=w.split(`
98
- `);for(p=c=0;c<G.length&&!G[c].includes("DetermineComponentFrameRoot");)c++;for(;p<re.length&&!re[p].includes("DetermineComponentFrameRoot");)p++;if(c===G.length||p===re.length)for(c=G.length-1,p=re.length-1;1<=c&&0<=p&&G[c]!==re[p];)p--;for(;1<=c&&0<=p;c--,p--)if(G[c]!==re[p]){if(c!==1||p!==1)do if(c--,p--,0>p||G[c]!==re[p]){var ve=`
99
- `+G[c].replace(" at new "," at ");return n.displayName&&ve.includes("<anonymous>")&&(ve=ve.replace("<anonymous>",n.displayName)),ve}while(1<=c&&0<=p);break}}}finally{wa=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?An(i):""}function va(n,l){switch(n.tag){case 26:case 27:case 5:return An(n.type);case 16:return An("Lazy");case 13:return n.child!==l&&l!==null?An("Suspense Fallback"):An("Suspense");case 19:return An("SuspenseList");case 0:case 15:return Gt(n.type,!1);case 11:return Gt(n.type.render,!1);case 1:return Gt(n.type,!0);case 31:return An("Activity");default:return""}}function po(n){try{var l="",i=null;do l+=va(n,i),i=n,n=n.return;while(n);return l}catch(c){return`
100
- Error generating stack: `+c.message+`
101
- `+c.stack}}var Zu=Object.prototype.hasOwnProperty,Fe=r.unstable_scheduleCallback,kr=r.unstable_cancelCallback,Y=r.unstable_shouldYield,te=r.unstable_requestPaint,le=r.unstable_now,qe=r.unstable_getCurrentPriorityLevel,Ue=r.unstable_ImmediatePriority,ke=r.unstable_UserBlockingPriority,Qe=r.unstable_NormalPriority,gt=r.unstable_LowPriority,qt=r.unstable_IdlePriority,ba=r.log,Ma=r.unstable_setDisableYieldValue,_n=null,aa=null;function Ka(n){if(typeof ba=="function"&&Ma(n),aa&&typeof aa.setStrictMode=="function")try{aa.setStrictMode(_n,n)}catch{}}var Fn=Math.clz32?Math.clz32:I,bi=Math.log,O=Math.LN2;function I(n){return n>>>=0,n===0?32:31-(bi(n)/O|0)|0}var Oe=256,Ve=262144,We=4194304;function dt(n){var l=n&42;if(l!==0)return l;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function tt(n,l,i){var c=n.pendingLanes;if(c===0)return 0;var p=0,g=n.suspendedLanes,x=n.pingedLanes;n=n.warmLanes;var w=c&134217727;return w!==0?(c=w&~g,c!==0?p=dt(c):(x&=w,x!==0?p=dt(x):i||(i=w&~n,i!==0&&(p=dt(i))))):(w=c&~g,w!==0?p=dt(w):x!==0?p=dt(x):i||(i=c&~n,i!==0&&(p=dt(i)))),p===0?0:l!==0&&l!==p&&(l&g)===0&&(g=p&-p,i=l&-l,g>=i||g===32&&(i&4194048)!==0)?l:p}function jt(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function Et(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32: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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nl(){var n=We;return We<<=1,(We&62914560)===0&&(We=4194304),n}function gr(n){for(var l=[],i=0;31>i;i++)l.push(n);return l}function Io(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function sc(n,l,i,c,p,g){var x=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var w=n.entanglements,G=n.expirationTimes,re=n.hiddenUpdates;for(i=x&~i;0<i;){var ve=31-Fn(i),Ce=1<<ve;w[ve]=0,G[ve]=-1;var ie=re[ve];if(ie!==null)for(re[ve]=null,ve=0;ve<ie.length;ve++){var me=ie[ve];me!==null&&(me.lane&=-536870913)}i&=~Ce}c!==0&&Pf(n,c,0),g!==0&&p===0&&n.tag!==0&&(n.suspendedLanes|=g&~(x&~l))}function Pf(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var c=31-Fn(l);n.entangledLanes|=l,n.entanglements[c]=n.entanglements[c]|1073741824|i&261930}function Si(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var c=31-Fn(i),p=1<<c;p&l|n[c]&l&&(n[c]|=l),i&=~p}}function $l(n,l){var i=l&-l;return i=(i&42)!==0?1:nh(i),(i&(n.suspendedLanes|l))!==0?0:i}function nh(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Iy(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function ah(){var n=ne.p;return n!==0?n:(n=window.event,n===void 0?32:fm(n.type))}function Py(n,l){var i=ne.p;try{return ne.p=n,l()}finally{ne.p=i}}var Hr=Math.random().toString(36).slice(2),pn="__reactFiber$"+Hr,dl="__reactProps$"+Hr,Po="__reactContainer$"+Hr,lh="__reactEvents$"+Hr,Wy="__reactListeners$"+Hr,Xb="__reactHandles$"+Hr,eg="__reactResources$"+Hr,Ei="__reactMarker$"+Hr;function rh(n){delete n[pn],delete n[dl],delete n[lh],delete n[Wy],delete n[Xb]}function Xu(n){var l=n[pn];if(l)return l;for(var i=n.parentNode;i;){if(l=i[Po]||i[pn]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(n=ii(n);n!==null;){if(i=n[pn])return i;n=ii(n)}return l}n=i,i=n.parentNode}return null}function Qu(n){if(n=n[pn]||n[Po]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function cc(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(d(33))}function Ju(n){var l=n[eg];return l||(l=n[eg]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function an(n){n[Ei]=!0}var Ku=new Set,Wo={};function eu(n,l){xi(n,l),xi(n+"Capture",l)}function xi(n,l){for(Wo[n]=l,n=0;n<l.length;n++)Ku.add(l[n])}var ih=RegExp("^[: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]*$"),oh={},fc={};function dc(n){return Zu.call(fc,n)?!0:Zu.call(oh,n)?!1:ih.test(n)?fc[n]=!0:(oh[n]=!0,!1)}function mc(n,l,i){if(dc(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var c=l.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function uh(n,l,i){if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+i)}}function yo(n,l,i,c){if(c===null)n.removeAttribute(i);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+c)}}function Zl(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function sh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function tg(n,l,i){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var p=c.get,g=c.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return p.call(this)},set:function(x){i=""+x,g.call(this,x)}}),Object.defineProperty(n,l,{enumerable:c.enumerable}),{getValue:function(){return i},setValue:function(x){i=""+x},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function ch(n){if(!n._valueTracker){var l=sh(n)?"checked":"value";n._valueTracker=tg(n,l,""+n[l])}}function ng(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),c="";return n&&(c=sh(n)?n.checked?"true":"false":n.value),n=c,n!==i?(l.setValue(n),!0):!1}function Wf(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}}var Ax=/[\n"\\]/g;function Xl(n){return n.replace(Ax,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function ed(n,l,i,c,p,g,x,w){n.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?n.type=x:n.removeAttribute("type"),l!=null?x==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+Zl(l)):n.value!==""+Zl(l)&&(n.value=""+Zl(l)):x!=="submit"&&x!=="reset"||n.removeAttribute("value"),l!=null?Fu(n,x,Zl(l)):i!=null?Fu(n,x,Zl(i)):c!=null&&n.removeAttribute("value"),p==null&&g!=null&&(n.defaultChecked=!!g),p!=null&&(n.checked=p&&typeof p!="function"&&typeof p!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?n.name=""+Zl(w):n.removeAttribute("name")}function td(n,l,i,c,p,g,x,w){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),l!=null||i!=null){if(!(g!=="submit"&&g!=="reset"||l!=null)){ch(n);return}i=i!=null?""+Zl(i):"",l=l!=null?""+Zl(l):i,w||l===n.value||(n.value=l),n.defaultValue=l}c=c??p,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=w?n.checked:!!c,n.defaultChecked=!!c,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(n.name=x),ch(n)}function Fu(n,l,i){l==="number"&&Wf(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function hc(n,l,i,c){if(n=n.options,l){l={};for(var p=0;p<i.length;p++)l["$"+i[p]]=!0;for(i=0;i<n.length;i++)p=l.hasOwnProperty("$"+n[i].value),n[i].selected!==p&&(n[i].selected=p),p&&c&&(n[i].defaultSelected=!0)}else{for(i=""+Zl(i),l=null,p=0;p<n.length;p++){if(n[p].value===i){n[p].selected=!0,c&&(n[p].defaultSelected=!0);return}l!==null||n[p].disabled||(l=n[p])}l!==null&&(l.selected=!0)}}function ag(n,l,i){if(l!=null&&(l=""+Zl(l),l!==n.value&&(n.value=l),i==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=i!=null?""+Zl(i):""}function lg(n,l,i,c){if(l==null){if(c!=null){if(i!=null)throw Error(d(92));if(ze(c)){if(1<c.length)throw Error(d(93));c=c[0]}i=c}i==null&&(i=""),l=i}i=Zl(l),n.defaultValue=i,c=n.textContent,c===i&&c!==""&&c!==null&&(n.value=c),ch(n)}function _i(n,l){if(l){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=l;return}}n.textContent=l}var Qb=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jb(n,l,i){var c=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?c?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":c?n.setProperty(l,i):typeof i!="number"||i===0||Qb.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function Kb(n,l,i){if(l!=null&&typeof l!="object")throw Error(d(62));if(n=n.style,i!=null){for(var c in i)!i.hasOwnProperty(c)||l!=null&&l.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var p in l)c=l[p],l.hasOwnProperty(p)&&i[p]!==c&&Jb(n,p,c)}else for(var g in l)l.hasOwnProperty(g)&&Jb(n,g,l[g])}function rg(n){if(n.indexOf("-")===-1)return!1;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 Dx=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),nd=/^[\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;function vr(n){return nd.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Lr(){}var fh=null;function dh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ti=null,Iu=null;function ad(n){var l=Qu(n);if(l&&(n=l.stateNode)){var i=n[dl]||null;e:switch(n=l.stateNode,l.type){case"input":if(ed(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Xl(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var c=i[l];if(c!==n&&c.form===n.form){var p=c[dl]||null;if(!p)throw Error(d(90));ed(c,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)c=i[l],c.form===n.form&&ng(c)}break e;case"textarea":ag(n,i.value,i.defaultValue);break e;case"select":l=i.value,l!=null&&hc(n,!!i.multiple,l,!1)}}}var pc=!1;function ig(n,l,i){if(pc)return n(l,i);pc=!0;try{var c=n(l);return c}finally{if(pc=!1,(Ti!==null||Iu!==null)&&(Ic(),Ti&&(l=Ti,n=Iu,Iu=Ti=null,ad(l),n)))for(l=0;l<n.length;l++)ad(n[l])}}function za(n,l){var i=n.stateNode;if(i===null)return null;var c=i[dl]||null;if(c===null)return null;i=c[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(d(231,l,typeof i));return i}var go=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ld=!1;if(go)try{var yc={};Object.defineProperty(yc,"passive",{get:function(){ld=!0}}),window.addEventListener("test",yc,yc),window.removeEventListener("test",yc,yc)}catch{ld=!1}var vo=null,og=null,mh=null;function ug(){if(mh)return mh;var n,l=og,i=l.length,c,p="value"in vo?vo.value:vo.textContent,g=p.length;for(n=0;n<i&&l[n]===p[n];n++);var x=i-n;for(c=1;c<=x&&l[i-c]===p[g-c];c++);return mh=p.slice(n,1<c?1-c:void 0)}function hh(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function rd(){return!0}function Fb(){return!1}function Fa(n){function l(i,c,p,g,x){this._reactName=i,this._targetInst=p,this.type=c,this.nativeEvent=g,this.target=x,this.currentTarget=null;for(var w in n)n.hasOwnProperty(w)&&(i=n[w],this[w]=i?i(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?rd:Fb,this.isPropagationStopped=Fb,this}return A(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=rd)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=rd)},persist:function(){},isPersistent:rd}),l}var tu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},id=Fa(tu),gc=A({},tu,{view:0,detail:0}),Rx=Fa(gc),sg,cg,od,ph=A({},gc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:br,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!==od&&(od&&n.type==="mousemove"?(sg=n.screenX-od.screenX,cg=n.screenY-od.screenY):cg=sg=0,od=n),sg)},movementY:function(n){return"movementY"in n?n.movementY:cg}}),vc=Fa(ph),Ib=A({},ph,{dataTransfer:0}),Pb=Fa(Ib),Wb=A({},gc,{relatedTarget:0}),yh=Fa(Wb),fg=A({},tu,{animationName:0,elapsedTime:0,pseudoElement:0}),e1=Fa(fg),Pu=A({},tu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Wu=Fa(Pu),qr=A({},tu,{data:0}),t1=Fa(qr),dg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ci={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"},n1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yr(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=n1[n])?!!l[n]:!1}function br(){return Yr}var gh=A({},gc,{key:function(n){if(n.key){var l=dg[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=hh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ci[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:br,charCode:function(n){return n.type==="keypress"?hh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?hh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),vh=Fa(gh),mg=A({},ph,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gr=Fa(mg),Ox=A({},gc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:br}),a1=Fa(Ox),l1=A({},tu,{propertyName:0,elapsedTime:0,pseudoElement:0}),wx=Fa(l1),hg=A({},ph,{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}),Mx=Fa(hg),r1=A({},tu,{newState:0,oldState:0}),pg=Fa(r1),bh=[9,13,27,32],bc=go&&"CompositionEvent"in window,es=null;go&&"documentMode"in document&&(es=document.documentMode);var al=go&&"TextEvent"in window&&!es,yg=go&&(!bc||es&&8<es&&11>=es),ud=" ",nu=!1;function Sh(n,l){switch(n){case"keyup":return bh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ts=!1;function i1(n,l){switch(n){case"compositionend":return gg(l);case"keypress":return l.which!==32?null:(nu=!0,ud);case"textInput":return n=l.data,n===ud&&nu?null:n;default:return null}}function zx(n,l){if(ts)return n==="compositionend"||!bc&&Sh(n,l)?(n=ug(),mh=og=vo=null,ts=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return yg&&l.locale!=="ko"?null:l.data;default:return null}}var vg={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 Ni(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!vg[n.type]:l==="textarea"}function bg(n,l,i,c){Ti?Iu?Iu.push(c):Iu=[c]:Ti=c,l=lm(l,"onChange"),0<l.length&&(i=new id("onChange","change",null,i,c),n.push({event:i,listeners:l}))}var ns=null,au=null;function as(n){tS(n,0)}function Sc(n){var l=cc(n);if(ng(l))return n}function Sg(n,l){if(n==="change")return l}var Eh=!1;if(go){var ml;if(go){var $r="oninput"in document;if(!$r){var Eg=document.createElement("div");Eg.setAttribute("oninput","return;"),$r=typeof Eg.oninput=="function"}ml=$r}else ml=!1;Eh=ml&&(!document.documentMode||9<document.documentMode)}function xh(){ns&&(ns.detachEvent("onpropertychange",_h),au=ns=null)}function _h(n){if(n.propertyName==="value"&&Sc(au)){var l=[];bg(l,au,n,dh(n)),ig(as,l)}}function o1(n,l,i){n==="focusin"?(xh(),ns=l,au=i,ns.attachEvent("onpropertychange",_h)):n==="focusout"&&xh()}function u1(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Sc(au)}function lu(n,l){if(n==="click")return Sc(l)}function ls(n,l){if(n==="input"||n==="change")return Sc(l)}function s1(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var ll=typeof Object.is=="function"?Object.is:s1;function Sr(n,l){if(ll(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var i=Object.keys(n),c=Object.keys(l);if(i.length!==c.length)return!1;for(c=0;c<i.length;c++){var p=i[c];if(!Zu.call(l,p)||!ll(n[p],l[p]))return!1}return!0}function xg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function _g(n,l){var i=xg(n);n=0;for(var c;i;){if(i.nodeType===3){if(c=n+i.textContent.length,n<=l&&c>=l)return{node:i,offset:l-n};n=c}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=xg(i)}}function rs(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?rs(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function ru(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=Wf(n.document);l instanceof n.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)n=l.contentWindow;else break;l=Wf(n.document)}return l}function sd(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var cd=go&&"documentMode"in document&&11>=document.documentMode,iu=null,Ec=null,Er=null,Zr=!1;function Th(n,l,i){var c=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Zr||iu==null||iu!==Wf(c)||(c=iu,"selectionStart"in c&&sd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Er&&Sr(Er,c)||(Er=c,c=lm(Ec,"onSelect"),0<c.length&&(l=new id("onSelect","select",null,l,i),n.push({event:l,listeners:c}),l.target=iu)))}function bo(n,l){var i={};return i[n.toLowerCase()]=l.toLowerCase(),i["Webkit"+n]="webkit"+l,i["Moz"+n]="moz"+l,i}var Xr={animationend:bo("Animation","AnimationEnd"),animationiteration:bo("Animation","AnimationIteration"),animationstart:bo("Animation","AnimationStart"),transitionrun:bo("Transition","TransitionRun"),transitionstart:bo("Transition","TransitionStart"),transitioncancel:bo("Transition","TransitionCancel"),transitionend:bo("Transition","TransitionEnd")},xc={},ou={};go&&(ou=document.createElement("div").style,"AnimationEvent"in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),"TransitionEvent"in window||delete Xr.transitionend.transition);function Pt(n){if(xc[n])return xc[n];if(!Xr[n])return n;var l=Xr[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in ou)return xc[n]=l[i];return n}var fd=Pt("animationend"),Tg=Pt("animationiteration"),Ch=Pt("animationstart"),is=Pt("transitionrun"),dd=Pt("transitionstart"),Ai=Pt("transitioncancel"),c1=Pt("transitionend"),Di=new Map,_c="abort auxClick beforeToggle 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(" ");_c.push("scrollEnd");function hl(n,l){Di.set(n,l),eu(l,[n])}var os=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Vn=[],ja=0,xr=0;function Ql(){for(var n=ja,l=xr=ja=0;l<n;){var i=Vn[l];Vn[l++]=null;var c=Vn[l];Vn[l++]=null;var p=Vn[l];Vn[l++]=null;var g=Vn[l];if(Vn[l++]=null,c!==null&&p!==null){var x=c.pending;x===null?p.next=p:(p.next=x.next,x.next=p),c.pending=p}g!==0&&Nh(i,p,g)}}function Jl(n,l,i,c){Vn[ja++]=n,Vn[ja++]=l,Vn[ja++]=i,Vn[ja++]=c,xr|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function _r(n,l,i,c){return Jl(n,l,i,c),md(n)}function So(n,l){return Jl(n,null,null,l),md(n)}function Nh(n,l,i){n.lanes|=i;var c=n.alternate;c!==null&&(c.lanes|=i);for(var p=!1,g=n.return;g!==null;)g.childLanes|=i,c=g.alternate,c!==null&&(c.childLanes|=i),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(p=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,p&&l!==null&&(p=31-Fn(i),n=g.hiddenUpdates,c=n[p],c===null?n[p]=[l]:c.push(l),l.lane=i|536870912),g):null}function md(n){if(50<Fc)throw Fc=0,Kd=null,Error(d(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var pl={};function f1(n,l,i,c){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function In(n,l,i,c){return new f1(n,l,i,c)}function us(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Eo(n,l){var i=n.alternate;return i===null?(i=In(n.tag,l,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=l,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,l=n.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function Cg(n,l){n.flags&=65011714;var i=n.alternate;return i===null?(n.childLanes=0,n.lanes=l,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,l=i.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function Ah(n,l,i,c,p,g){var x=0;if(c=n,typeof n=="function")us(n)&&(x=1);else if(typeof n=="string")x=J0(n,i,ee.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Pe:return n=In(31,i,l,p),n.elementType=Pe,n.lanes=g,n;case j:return xo(i.children,p,g,l);case F:x=8,p|=24;break;case fe:return n=In(12,i,l,p|2),n.elementType=fe,n.lanes=g,n;case $:return n=In(13,i,l,p),n.elementType=$,n.lanes=g,n;case xe:return n=In(19,i,l,p),n.elementType=xe,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case De:x=10;break e;case ge:x=9;break e;case pe:x=11;break e;case Te:x=14;break e;case Le:x=16,c=null;break e}x=29,i=Error(d(130,n===null?"null":typeof n,"")),c=null}return l=In(x,i,l,p),l.elementType=n,l.type=c,l.lanes=g,l}function xo(n,l,i,c){return n=In(7,n,c,l),n.lanes=i,n}function Tc(n,l,i){return n=In(6,n,null,l),n.lanes=i,n}function Ng(n){var l=In(18,null,null,0);return l.stateNode=n,l}function Dh(n,l,i){return l=In(4,n.children!==null?n.children:[],n.key,l),l.lanes=i,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var Ag=new WeakMap;function Kl(n,l){if(typeof n=="object"&&n!==null){var i=Ag.get(n);return i!==void 0?i:(l={value:n,source:l,stack:po(l)},Ag.set(n,l),l)}return{value:n,source:l,stack:po(l)}}var Fl=[],ss=0,hd=null,la=0,zl=[],yl=0,Qr=null,jl=1,Jr="";function Tr(n,l){Fl[ss++]=la,Fl[ss++]=hd,hd=n,la=l}function Dg(n,l,i){zl[yl++]=jl,zl[yl++]=Jr,zl[yl++]=Qr,Qr=n;var c=jl;n=Jr;var p=32-Fn(c)-1;c&=~(1<<p),i+=1;var g=32-Fn(l)+p;if(30<g){var x=p-p%5;g=(c&(1<<x)-1).toString(32),c>>=x,p-=x,jl=1<<32-Fn(l)+p|i<<p|c,Jr=g+n}else jl=1<<g|i<<p|c,Jr=n}function Cc(n){n.return!==null&&(Tr(n,1),Dg(n,1,0))}function Rh(n){for(;n===hd;)hd=Fl[--ss],Fl[ss]=null,la=Fl[--ss],Fl[ss]=null;for(;n===Qr;)Qr=zl[--yl],zl[yl]=null,Jr=zl[--yl],zl[yl]=null,jl=zl[--yl],zl[yl]=null}function pd(n,l){zl[yl++]=jl,zl[yl++]=Jr,zl[yl++]=Qr,jl=l.id,Jr=l.overflow,Qr=n}var Ua=null,Dn=null,kt=!1,Ri=null,Sa=!1,Oi=Error(d(519));function Cr(n){var l=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ac(Kl(l,n)),Oi}function yd(n){var l=n.stateNode,i=n.type,c=n.memoizedProps;switch(l[pn]=n,l[dl]=c,i){case"dialog":Bt("cancel",l),Bt("close",l);break;case"iframe":case"object":case"embed":Bt("load",l);break;case"video":case"audio":for(i=0;i<nf.length;i++)Bt(nf[i],l);break;case"source":Bt("error",l);break;case"img":case"image":case"link":Bt("error",l),Bt("load",l);break;case"details":Bt("toggle",l);break;case"input":Bt("invalid",l),td(l,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Bt("invalid",l);break;case"textarea":Bt("invalid",l),lg(l,c.value,c.defaultValue,c.children)}i=c.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||c.suppressHydrationWarning===!0||B0(l.textContent,i)?(c.popover!=null&&(Bt("beforetoggle",l),Bt("toggle",l)),c.onScroll!=null&&Bt("scroll",l),c.onScrollEnd!=null&&Bt("scrollend",l),c.onClick!=null&&(l.onclick=Lr),l=!0):l=!1,l||Cr(n,!0)}function Nc(n){for(Ua=n.return;Ua;)switch(Ua.tag){case 5:case 31:case 13:Sa=!1;return;case 27:case 3:Sa=!0;return;default:Ua=Ua.return}}function wi(n){if(n!==Ua)return!1;if(!kt)return Nc(n),kt=!0,!1;var l=n.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||lf(n.type,n.memoizedProps)),i=!i),i&&Dn&&Cr(n),Nc(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(d(317));Dn=Mp(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(d(317));Dn=Mp(n)}else l===27?(l=Dn,ri(n.type)?(n=om,om=null,Dn=n):Dn=l):Dn=Ua?Nl(n.stateNode.nextSibling):null;return!0}function uu(){Dn=Ua=null,kt=!1}function Rg(){var n=Ri;return n!==null&&(Xn===null?Xn=n:Xn.push.apply(Xn,n),Ri=null),n}function Ac(n){Ri===null?Ri=[n]:Ri.push(n)}var Oh=_(null),_o=null,Kr=null;function gl(n,l,i){W(Oh,l._currentValue),l._currentValue=i}function Fr(n){n._currentValue=Oh.current,H(Oh)}function wh(n,l,i){for(;n!==null;){var c=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,c!==null&&(c.childLanes|=l)):c!==null&&(c.childLanes&l)!==l&&(c.childLanes|=l),n===i)break;n=n.return}}function Mi(n,l,i,c){var p=n.child;for(p!==null&&(p.return=n);p!==null;){var g=p.dependencies;if(g!==null){var x=p.child;g=g.firstContext;e:for(;g!==null;){var w=g;g=p;for(var G=0;G<l.length;G++)if(w.context===l[G]){g.lanes|=i,w=g.alternate,w!==null&&(w.lanes|=i),wh(g.return,i,n),c||(x=null);break e}g=w.next}}else if(p.tag===18){if(x=p.return,x===null)throw Error(d(341));x.lanes|=i,g=x.alternate,g!==null&&(g.lanes|=i),wh(x,i,n),x=null}else x=p.child;if(x!==null)x.return=p;else for(x=p;x!==null;){if(x===n){x=null;break}if(p=x.sibling,p!==null){p.return=x.return,x=p;break}x=x.return}p=x}}function Va(n,l,i,c){n=null;for(var p=l,g=!1;p!==null;){if(!g){if((p.flags&524288)!==0)g=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var x=p.alternate;if(x===null)throw Error(d(387));if(x=x.memoizedProps,x!==null){var w=p.type;ll(p.pendingProps.value,x.value)||(n!==null?n.push(w):n=[w])}}else if(p===Ne.current){if(x=p.alternate,x===null)throw Error(d(387));x.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(n!==null?n.push(cm):n=[cm])}p=p.return}n!==null&&Mi(l,n,i,c),l.flags|=262144}function cs(n){for(n=n.firstContext;n!==null;){if(!ll(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function vt(n){_o=n,Kr=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Ae(n){return gd(_o,n)}function To(n,l){return _o===null&&vt(n),gd(n,l)}function gd(n,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},Kr===null){if(n===null)throw Error(d(308));Kr=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else Kr=Kr.next=l;return i}var Pn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(i,c){n.push(c)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},Og=r.unstable_scheduleCallback,wg=r.unstable_NormalPriority,ra={$$typeof:De,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vd(){return{controller:new Pn,data:new Map,refCount:0}}function bd(n){n.refCount--,n.refCount===0&&Og(wg,function(){n.controller.abort()})}var fs=null,Sd=0,su=0,da=null;function ln(n,l){if(fs===null){var i=fs=[];Sd=0,su=Tp(),da={status:"pending",value:void 0,then:function(c){i.push(c)}}}return Sd++,l.then(Ed,Ed),l}function Ed(){if(--Sd===0&&fs!==null){da!==null&&(da.status="fulfilled");var n=fs;fs=null,su=0,da=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function xd(n,l){var i=[],c={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return n.then(function(){c.status="fulfilled",c.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(c.status="rejected",c.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),c}var Co=V.S;V.S=function(n,l){T0=le(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&ln(n,l),Co!==null&&Co(n,l)};var Il=_(null);function Pl(){var n=Il.current;return n!==null?n:gn.pooledCache}function Dc(n,l){l===null?W(Il,Il.current):W(Il,l.pool)}function ds(){var n=Pl();return n===null?null:{parent:ra._currentValue,pool:n}}var cu=Error(d(460)),ms=Error(d(474)),Rc=Error(d(542)),hs={then:function(){}};function Mg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function zg(n,l,i){switch(i=n[i],i===void 0?n.push(l):i!==l&&(l.then(Lr,Lr),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Mh(n),n;default:if(typeof l.status=="string")l.then(Lr,Lr);else{if(n=gn,n!==null&&100<n.shellSuspendCounter)throw Error(d(482));n=l,n.status="pending",n.then(function(c){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=c}},function(c){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=c}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Mh(n),n}throw du=l,cu}}function fu(n){try{var l=n._init;return l(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(du=i,cu):i}}var du=null;function jg(){if(du===null)throw Error(d(459));var n=du;return du=null,n}function Mh(n){if(n===cu||n===Rc)throw Error(d(483))}var mu=null,ps=0;function _d(n){var l=ps;return ps+=1,mu===null&&(mu=[]),zg(mu,n,l)}function Oc(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Td(n,l){throw l.$$typeof===R?Error(d(525)):(n=Object.prototype.toString.call(l),Error(d(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function d1(n){function l(P,J){if(n){var ae=P.deletions;ae===null?(P.deletions=[J],P.flags|=16):ae.push(J)}}function i(P,J){if(!n)return null;for(;J!==null;)l(P,J),J=J.sibling;return null}function c(P){for(var J=new Map;P!==null;)P.key!==null?J.set(P.key,P):J.set(P.index,P),P=P.sibling;return J}function p(P,J){return P=Eo(P,J),P.index=0,P.sibling=null,P}function g(P,J,ae){return P.index=ae,n?(ae=P.alternate,ae!==null?(ae=ae.index,ae<J?(P.flags|=67108866,J):ae):(P.flags|=67108866,J)):(P.flags|=1048576,J)}function x(P){return n&&P.alternate===null&&(P.flags|=67108866),P}function w(P,J,ae,_e){return J===null||J.tag!==6?(J=Tc(ae,P.mode,_e),J.return=P,J):(J=p(J,ae),J.return=P,J)}function G(P,J,ae,_e){var ot=ae.type;return ot===j?ve(P,J,ae.props.children,_e,ae.key):J!==null&&(J.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Le&&fu(ot)===J.type)?(J=p(J,ae.props),Oc(J,ae),J.return=P,J):(J=Ah(ae.type,ae.key,ae.props,null,P.mode,_e),Oc(J,ae),J.return=P,J)}function re(P,J,ae,_e){return J===null||J.tag!==4||J.stateNode.containerInfo!==ae.containerInfo||J.stateNode.implementation!==ae.implementation?(J=Dh(ae,P.mode,_e),J.return=P,J):(J=p(J,ae.children||[]),J.return=P,J)}function ve(P,J,ae,_e,ot){return J===null||J.tag!==7?(J=xo(ae,P.mode,_e,ot),J.return=P,J):(J=p(J,ae),J.return=P,J)}function Ce(P,J,ae){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return J=Tc(""+J,P.mode,ae),J.return=P,J;if(typeof J=="object"&&J!==null){switch(J.$$typeof){case z:return ae=Ah(J.type,J.key,J.props,null,P.mode,ae),Oc(ae,J),ae.return=P,ae;case Q:return J=Dh(J,P.mode,ae),J.return=P,J;case Le:return J=fu(J),Ce(P,J,ae)}if(ze(J)||M(J))return J=xo(J,P.mode,ae,null),J.return=P,J;if(typeof J.then=="function")return Ce(P,_d(J),ae);if(J.$$typeof===De)return Ce(P,To(P,J),ae);Td(P,J)}return null}function ie(P,J,ae,_e){var ot=J!==null?J.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return ot!==null?null:w(P,J,""+ae,_e);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case z:return ae.key===ot?G(P,J,ae,_e):null;case Q:return ae.key===ot?re(P,J,ae,_e):null;case Le:return ae=fu(ae),ie(P,J,ae,_e)}if(ze(ae)||M(ae))return ot!==null?null:ve(P,J,ae,_e,null);if(typeof ae.then=="function")return ie(P,J,_d(ae),_e);if(ae.$$typeof===De)return ie(P,J,To(P,ae),_e);Td(P,ae)}return null}function me(P,J,ae,_e,ot){if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return P=P.get(ae)||null,w(J,P,""+_e,ot);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case z:return P=P.get(_e.key===null?ae:_e.key)||null,G(J,P,_e,ot);case Q:return P=P.get(_e.key===null?ae:_e.key)||null,re(J,P,_e,ot);case Le:return _e=fu(_e),me(P,J,ae,_e,ot)}if(ze(_e)||M(_e))return P=P.get(ae)||null,ve(J,P,_e,ot,null);if(typeof _e.then=="function")return me(P,J,ae,_d(_e),ot);if(_e.$$typeof===De)return me(P,J,ae,To(J,_e),ot);Td(J,_e)}return null}function Ie(P,J,ae,_e){for(var ot=null,Qt=null,nt=J,xt=J=0,Dt=null;nt!==null&&xt<ae.length;xt++){nt.index>xt?(Dt=nt,nt=null):Dt=nt.sibling;var Ft=ie(P,nt,ae[xt],_e);if(Ft===null){nt===null&&(nt=Dt);break}n&&nt&&Ft.alternate===null&&l(P,nt),J=g(Ft,J,xt),Qt===null?ot=Ft:Qt.sibling=Ft,Qt=Ft,nt=Dt}if(xt===ae.length)return i(P,nt),kt&&Tr(P,xt),ot;if(nt===null){for(;xt<ae.length;xt++)nt=Ce(P,ae[xt],_e),nt!==null&&(J=g(nt,J,xt),Qt===null?ot=nt:Qt.sibling=nt,Qt=nt);return kt&&Tr(P,xt),ot}for(nt=c(nt);xt<ae.length;xt++)Dt=me(nt,P,xt,ae[xt],_e),Dt!==null&&(n&&Dt.alternate!==null&&nt.delete(Dt.key===null?xt:Dt.key),J=g(Dt,J,xt),Qt===null?ot=Dt:Qt.sibling=Dt,Qt=Dt);return n&&nt.forEach(function(ui){return l(P,ui)}),kt&&Tr(P,xt),ot}function ft(P,J,ae,_e){if(ae==null)throw Error(d(151));for(var ot=null,Qt=null,nt=J,xt=J=0,Dt=null,Ft=ae.next();nt!==null&&!Ft.done;xt++,Ft=ae.next()){nt.index>xt?(Dt=nt,nt=null):Dt=nt.sibling;var ui=ie(P,nt,Ft.value,_e);if(ui===null){nt===null&&(nt=Dt);break}n&&nt&&ui.alternate===null&&l(P,nt),J=g(ui,J,xt),Qt===null?ot=ui:Qt.sibling=ui,Qt=ui,nt=Dt}if(Ft.done)return i(P,nt),kt&&Tr(P,xt),ot;if(nt===null){for(;!Ft.done;xt++,Ft=ae.next())Ft=Ce(P,Ft.value,_e),Ft!==null&&(J=g(Ft,J,xt),Qt===null?ot=Ft:Qt.sibling=Ft,Qt=Ft);return kt&&Tr(P,xt),ot}for(nt=c(nt);!Ft.done;xt++,Ft=ae.next())Ft=me(nt,P,xt,Ft.value,_e),Ft!==null&&(n&&Ft.alternate!==null&&nt.delete(Ft.key===null?xt:Ft.key),J=g(Ft,J,xt),Qt===null?ot=Ft:Qt.sibling=Ft,Qt=Ft);return n&&nt.forEach(function(yS){return l(P,yS)}),kt&&Tr(P,xt),ot}function bn(P,J,ae,_e){if(typeof ae=="object"&&ae!==null&&ae.type===j&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case z:e:{for(var ot=ae.key;J!==null;){if(J.key===ot){if(ot=ae.type,ot===j){if(J.tag===7){i(P,J.sibling),_e=p(J,ae.props.children),_e.return=P,P=_e;break e}}else if(J.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Le&&fu(ot)===J.type){i(P,J.sibling),_e=p(J,ae.props),Oc(_e,ae),_e.return=P,P=_e;break e}i(P,J);break}else l(P,J);J=J.sibling}ae.type===j?(_e=xo(ae.props.children,P.mode,_e,ae.key),_e.return=P,P=_e):(_e=Ah(ae.type,ae.key,ae.props,null,P.mode,_e),Oc(_e,ae),_e.return=P,P=_e)}return x(P);case Q:e:{for(ot=ae.key;J!==null;){if(J.key===ot)if(J.tag===4&&J.stateNode.containerInfo===ae.containerInfo&&J.stateNode.implementation===ae.implementation){i(P,J.sibling),_e=p(J,ae.children||[]),_e.return=P,P=_e;break e}else{i(P,J);break}else l(P,J);J=J.sibling}_e=Dh(ae,P.mode,_e),_e.return=P,P=_e}return x(P);case Le:return ae=fu(ae),bn(P,J,ae,_e)}if(ze(ae))return Ie(P,J,ae,_e);if(M(ae)){if(ot=M(ae),typeof ot!="function")throw Error(d(150));return ae=ot.call(ae),ft(P,J,ae,_e)}if(typeof ae.then=="function")return bn(P,J,_d(ae),_e);if(ae.$$typeof===De)return bn(P,J,To(P,ae),_e);Td(P,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint"?(ae=""+ae,J!==null&&J.tag===6?(i(P,J.sibling),_e=p(J,ae),_e.return=P,P=_e):(i(P,J),_e=Tc(ae,P.mode,_e),_e.return=P,P=_e),x(P)):i(P,J)}return function(P,J,ae,_e){try{ps=0;var ot=bn(P,J,ae,_e);return mu=null,ot}catch(nt){if(nt===cu||nt===Rc)throw nt;var Qt=In(29,nt,null,P.mode);return Qt.lanes=_e,Qt.return=P,Qt}finally{}}}var hu=d1(!0),Ug=d1(!1),No=!1;function Cd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zh(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ao(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Wl(n,l,i){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Kt&2)!==0){var p=c.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),c.pending=l,l=md(n),Nh(n,null,i),l}return Jl(n,c,l,i),md(n)}function pu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var c=l.lanes;c&=n.pendingLanes,i|=c,l.lanes=i,Si(n,i)}}function jh(n,l){var i=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,i===c)){var p=null,g=null;if(i=i.firstBaseUpdate,i!==null){do{var x={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};g===null?p=g=x:g=g.next=x,i=i.next}while(i!==null);g===null?p=g=l:g=g.next=l}else p=g=l;i={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var Vg=!1;function yu(){if(Vg){var n=da;if(n!==null)throw n}}function zi(n,l,i,c){Vg=!1;var p=n.updateQueue;No=!1;var g=p.firstBaseUpdate,x=p.lastBaseUpdate,w=p.shared.pending;if(w!==null){p.shared.pending=null;var G=w,re=G.next;G.next=null,x===null?g=re:x.next=re,x=G;var ve=n.alternate;ve!==null&&(ve=ve.updateQueue,w=ve.lastBaseUpdate,w!==x&&(w===null?ve.firstBaseUpdate=re:w.next=re,ve.lastBaseUpdate=G))}if(g!==null){var Ce=p.baseState;x=0,ve=re=G=null,w=g;do{var ie=w.lane&-536870913,me=ie!==w.lane;if(me?(Ut&ie)===ie:(c&ie)===ie){ie!==0&&ie===su&&(Vg=!0),ve!==null&&(ve=ve.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var Ie=n,ft=w;ie=l;var bn=i;switch(ft.tag){case 1:if(Ie=ft.payload,typeof Ie=="function"){Ce=Ie.call(bn,Ce,ie);break e}Ce=Ie;break e;case 3:Ie.flags=Ie.flags&-65537|128;case 0:if(Ie=ft.payload,ie=typeof Ie=="function"?Ie.call(bn,Ce,ie):Ie,ie==null)break e;Ce=A({},Ce,ie);break e;case 2:No=!0}}ie=w.callback,ie!==null&&(n.flags|=64,me&&(n.flags|=8192),me=p.callbacks,me===null?p.callbacks=[ie]:me.push(ie))}else me={lane:ie,tag:w.tag,payload:w.payload,callback:w.callback,next:null},ve===null?(re=ve=me,G=Ce):ve=ve.next=me,x|=ie;if(w=w.next,w===null){if(w=p.shared.pending,w===null)break;me=w,w=me.next,me.next=null,p.lastBaseUpdate=me,p.shared.pending=null}}while(!0);ve===null&&(G=Ce),p.baseState=G,p.firstBaseUpdate=re,p.lastBaseUpdate=ve,g===null&&(p.shared.lanes=0),ai|=x,n.lanes=x,n.memoizedState=Ce}}function Uh(n,l){if(typeof n!="function")throw Error(d(191,n));n.call(l)}function gu(n,l){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)Uh(i[n],l)}var Ea=_(null),ys=_(0);function m1(n,l){n=ni,W(ys,n),W(Ea,l),ni=n|l.baseLanes}function Nd(){W(ys,ni),W(Ea,Ea.current)}function wc(){ni=ys.current,H(Ea),H(ys)}var vl=_(null),er=null;function ji(n){var l=n.alternate;W(Bn,Bn.current&1),W(vl,n),er===null&&(l===null||Ea.current!==null||l.memoizedState!==null)&&(er=n)}function Mc(n){W(Bn,Bn.current),W(vl,n),er===null&&(er=n)}function Vh(n){n.tag===22?(W(Bn,Bn.current),W(vl,n),er===null&&(er=n)):Ir()}function Ir(){W(Bn,Bn.current),W(vl,vl.current)}function bl(n){H(vl),er===n&&(er=null),H(Bn)}var Bn=_(0);function zc(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Rr(i)||Ru(i)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Ui=0,_t=null,rn=null,ia=null,gs=!1,vs=!1,Do=!1,Ad=0,jc=0,vu=null,h1=0;function $n(){throw Error(d(321))}function Ro(n,l){if(l===null)return!1;for(var i=0;i<l.length&&i<n.length;i++)if(!ll(n[i],l[i]))return!1;return!0}function Dd(n,l,i,c,p,g){return Ui=g,_t=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,V.H=n===null||n.memoizedState===null?x1:Wh,Do=!1,g=i(c,p),Do=!1,vs&&(g=p1(l,i,c,p)),Bh(n),g}function Bh(n){V.H=Bd;var l=rn!==null&&rn.next!==null;if(Ui=0,ia=rn=_t=null,gs=!1,jc=0,vu=null,l)throw Error(d(300));n===null||oa||(n=n.dependencies,n!==null&&cs(n)&&(oa=!0))}function p1(n,l,i,c){_t=n;var p=0;do{if(vs&&(vu=null),jc=0,vs=!1,25<=p)throw Error(d(301));if(p+=1,ia=rn=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}V.H=_1,g=l(i,c)}while(vs);return g}function jx(){var n=V.H,l=n.useState()[0];return l=typeof l.then=="function"?Ss(l):l,n=n.useState()[0],(rn!==null?rn.memoizedState:null)!==n&&(_t.flags|=1024),l}function kh(){var n=Ad!==0;return Ad=0,n}function bs(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Rd(n){if(gs){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}gs=!1}Ui=0,ia=rn=_t=null,vs=!1,jc=Ad=0,vu=null}function Ba(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ia===null?_t.memoizedState=ia=n:ia=ia.next=n,ia}function Wn(){if(rn===null){var n=_t.alternate;n=n!==null?n.memoizedState:null}else n=rn.next;var l=ia===null?_t.memoizedState:ia.next;if(l!==null)ia=l,rn=n;else{if(n===null)throw _t.alternate===null?Error(d(467)):Error(d(310));rn=n,n={memoizedState:rn.memoizedState,baseState:rn.baseState,baseQueue:rn.baseQueue,queue:rn.queue,next:null},ia===null?_t.memoizedState=ia=n:ia=ia.next=n}return ia}function Od(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ss(n){var l=jc;return jc+=1,vu===null&&(vu=[]),n=zg(vu,n,l),l=_t,(ia===null?l.memoizedState:ia.next)===null&&(l=l.alternate,V.H=l===null||l.memoizedState===null?x1:Wh),n}function Uc(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Ss(n);if(n.$$typeof===De)return Ae(n)}throw Error(d(438,String(n)))}function Hh(n){var l=null,i=_t.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var c=_t.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(l={data:c.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Od(),_t.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),c=0;c<n;c++)i[c]=we;return l.index++,i}function Vi(n,l){return typeof l=="function"?l(n):l}function Bi(n){var l=Wn();return Lh(l,rn,n)}function Lh(n,l,i){var c=n.queue;if(c===null)throw Error(d(311));c.lastRenderedReducer=i;var p=n.baseQueue,g=c.pending;if(g!==null){if(p!==null){var x=p.next;p.next=g.next,g.next=x}l.baseQueue=p=g,c.pending=null}if(g=n.baseState,p===null)n.memoizedState=g;else{l=p.next;var w=x=null,G=null,re=l,ve=!1;do{var Ce=re.lane&-536870913;if(Ce!==re.lane?(Ut&Ce)===Ce:(Ui&Ce)===Ce){var ie=re.revertLane;if(ie===0)G!==null&&(G=G.next={lane:0,revertLane:0,gesture:null,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null}),Ce===su&&(ve=!0);else if((Ui&ie)===ie){re=re.next,ie===su&&(ve=!0);continue}else Ce={lane:0,revertLane:re.revertLane,gesture:null,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},G===null?(w=G=Ce,x=g):G=G.next=Ce,_t.lanes|=ie,ai|=ie;Ce=re.action,Do&&i(g,Ce),g=re.hasEagerState?re.eagerState:i(g,Ce)}else ie={lane:Ce,revertLane:re.revertLane,gesture:re.gesture,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},G===null?(w=G=ie,x=g):G=G.next=ie,_t.lanes|=Ce,ai|=Ce;re=re.next}while(re!==null&&re!==l);if(G===null?x=g:G.next=w,!ll(g,n.memoizedState)&&(oa=!0,ve&&(i=da,i!==null)))throw i;n.memoizedState=g,n.baseState=x,n.baseQueue=G,c.lastRenderedState=g}return p===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function qh(n){var l=Wn(),i=l.queue;if(i===null)throw Error(d(311));i.lastRenderedReducer=n;var c=i.dispatch,p=i.pending,g=l.memoizedState;if(p!==null){i.pending=null;var x=p=p.next;do g=n(g,x.action),x=x.next;while(x!==p);ll(g,l.memoizedState)||(oa=!0),l.memoizedState=g,l.baseQueue===null&&(l.baseState=g),i.lastRenderedState=g}return[g,c]}function Bg(n,l,i){var c=_t,p=Wn(),g=kt;if(g){if(i===void 0)throw Error(d(407));i=i()}else i=l();var x=!ll((rn||p).memoizedState,i);if(x&&(p.memoizedState=i,oa=!0),p=p.queue,Xh(Yh.bind(null,c,p,n),[n]),p.getSnapshot!==l||x||ia!==null&&ia.memoizedState.tag&1){if(c.flags|=2048,xs(9,{destroy:void 0},kg.bind(null,c,p,i,l),null),gn===null)throw Error(d(349));g||(Ui&127)!==0||wd(c,l,i)}return i}function wd(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=_t.updateQueue,l===null?(l=Od(),_t.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function kg(n,l,i,c){l.value=i,l.getSnapshot=c,Gh(l)&&$h(n)}function Yh(n,l,i){return i(function(){Gh(l)&&$h(n)})}function Gh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!ll(n,i)}catch{return!0}}function $h(n){var l=So(n,2);l!==null&&Cl(l,n,2)}function Hg(n){var l=Ba();if(typeof n=="function"){var i=n;if(n=i(),Do){Ka(!0);try{i()}finally{Ka(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:n},l}function ka(n,l,i,c){return n.baseState=i,Lh(n,rn,typeof c=="function"?c:Vi)}function y1(n,l,i,c,p){if(Vd(n))throw Error(d(485));if(n=l.action,n!==null){var g={payload:p,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){g.listeners.push(x)}};V.T!==null?i(!0):g.isTransition=!1,c(g),i=l.pending,i===null?(g.next=l.pending=g,Lg(l,g)):(g.next=i.next,l.pending=i.next=g)}}function Lg(n,l){var i=l.action,c=l.payload,p=n.state;if(l.isTransition){var g=V.T,x={};V.T=x;try{var w=i(p,c),G=V.S;G!==null&&G(x,w),qg(n,l,w)}catch(re){Es(n,l,re)}finally{g!==null&&x.types!==null&&(g.types=x.types),V.T=g}}else try{g=i(p,c),qg(n,l,g)}catch(re){Es(n,l,re)}}function qg(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(c){Yg(n,l,c)},function(c){return Es(n,l,c)}):Yg(n,l,i)}function Yg(n,l,i){l.status="fulfilled",l.value=i,Gg(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,Lg(n,i)))}function Es(n,l,i){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do l.status="rejected",l.reason=i,Gg(l),l=l.next;while(l!==c)}n.action=null}function Gg(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function Md(n,l){return l}function $g(n,l){if(kt){var i=gn.formState;if(i!==null){e:{var c=_t;if(kt){if(Dn){t:{for(var p=Dn,g=Sa;p.nodeType!==8;){if(!g){p=null;break t}if(p=Nl(p.nextSibling),p===null){p=null;break t}}g=p.data,p=g==="F!"||g==="F"?p:null}if(p){Dn=Nl(p.nextSibling),c=p.data==="F!";break e}}Cr(c)}c=!1}c&&(l=i[0])}}return i=Ba(),i.memoizedState=i.baseState=l,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Md,lastRenderedState:l},i.queue=c,i=Ih.bind(null,_t,c),c.dispatch=i,c=Hg(!1),g=bu.bind(null,_t,!1,c.queue),c=Ba(),p={state:l,dispatch:null,action:n,pending:null},c.queue=p,i=y1.bind(null,_t,p,g,i),p.dispatch=i,c.memoizedState=n,[l,i,!1]}function g1(n){var l=Wn();return zd(l,rn,n)}function zd(n,l,i){if(l=Lh(n,l,Md)[0],n=Bi(Vi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var c=Ss(l)}catch(x){throw x===cu?Rc:x}else c=l;l=Wn();var p=l.queue,g=p.dispatch;return i!==l.memoizedState&&(_t.flags|=2048,xs(9,{destroy:void 0},Zg.bind(null,p,i),null)),[c,g,n]}function Zg(n,l){n.action=l}function Xg(n){var l=Wn(),i=rn;if(i!==null)return zd(l,i,n);Wn(),l=l.memoizedState,i=Wn();var c=i.queue.dispatch;return i.memoizedState=n,[l,c,!1]}function xs(n,l,i,c){return n={tag:n,create:i,deps:c,inst:l,next:null},l=_t.updateQueue,l===null&&(l=Od(),_t.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(c=i.next,i.next=n,n.next=c,l.lastEffect=n),n}function Qg(){return Wn().memoizedState}function Vc(n,l,i,c){var p=Ba();_t.flags|=n,p.memoizedState=xs(1|l,{destroy:void 0},i,c===void 0?null:c)}function Bc(n,l,i,c){var p=Wn();c=c===void 0?null:c;var g=p.memoizedState.inst;rn!==null&&c!==null&&Ro(c,rn.memoizedState.deps)?p.memoizedState=xs(l,g,i,c):(_t.flags|=n,p.memoizedState=xs(1|l,g,i,c))}function Zh(n,l){Vc(8390656,8,n,l)}function Xh(n,l){Bc(2048,8,n,l)}function Jg(n){_t.flags|=4;var l=_t.updateQueue;if(l===null)l=Od(),_t.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function jd(n){var l=Wn().memoizedState;return Jg({ref:l,nextImpl:n}),function(){if((Kt&2)!==0)throw Error(d(440));return l.impl.apply(void 0,arguments)}}function Qh(n,l){return Bc(4,2,n,l)}function Kg(n,l){return Bc(4,4,n,l)}function Jh(n,l){if(typeof l=="function"){n=n();var i=l(n);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function Fg(n,l,i){i=i!=null?i.concat([n]):null,Bc(4,4,Jh.bind(null,l,n),i)}function Pr(){}function Kh(n,l){var i=Wn();l=l===void 0?null:l;var c=i.memoizedState;return l!==null&&Ro(l,c[1])?c[0]:(i.memoizedState=[n,l],n)}function v1(n,l){var i=Wn();l=l===void 0?null:l;var c=i.memoizedState;if(l!==null&&Ro(l,c[1]))return c[0];if(c=n(),Do){Ka(!0);try{n()}finally{Ka(!1)}}return i.memoizedState=[c,l],c}function Ud(n,l,i){return i===void 0||(Ui&1073741824)!==0&&(Ut&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=z1(),_t.lanes|=n,ai|=n,i)}function ki(n,l,i,c){return ll(i,l)?i:Ea.current!==null?(n=Ud(n,i,c),ll(n,l)||(oa=!0),n):(Ui&42)===0||(Ui&1073741824)!==0&&(Ut&261930)===0?(oa=!0,n.memoizedState=i):(n=z1(),_t.lanes|=n,ai|=n,l)}function Fh(n,l,i,c,p){var g=ne.p;ne.p=g!==0&&8>g?g:8;var x=V.T,w={};V.T=w,bu(n,!1,l,i);try{var G=p(),re=V.S;if(re!==null&&re(w,G),G!==null&&typeof G=="object"&&typeof G.then=="function"){var ve=xd(G,c);Oo(n,l,ve,kl(n))}else Oo(n,l,c,kl(n))}catch(Ce){Oo(n,l,{then:function(){},status:"rejected",reason:Ce},kl())}finally{ne.p=g,x!==null&&w.types!==null&&(x.types=w.types),V.T=x}}function b1(){}function kc(n,l,i,c){if(n.tag!==5)throw Error(d(476));var p=Hc(n).queue;Fh(n,p,l,be,i===null?b1:function(){return yn(n),i(c)})}function Hc(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:be,baseState:be,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:be},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:i},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function yn(n){var l=Hc(n);l.next===null&&(l=n.alternate.memoizedState),Oo(n,l.next.queue,{},kl())}function Ig(){return Ae(cm)}function S1(){return Wn().memoizedState}function Pg(){return Wn().memoizedState}function Hi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var i=kl();n=Ao(i);var c=Wl(l,n,i);c!==null&&(Cl(c,l,i),pu(c,l,i)),l={cache:vd()},n.payload=l;return}l=l.return}}function E1(n,l,i){var c=kl();i={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Vd(n)?Ph(l,i):(i=_r(n,l,i,c),i!==null&&(Cl(i,n,c),Wg(i,l,c)))}function Ih(n,l,i){var c=kl();Oo(n,l,i,c)}function Oo(n,l,i,c){var p={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Vd(n))Ph(l,p);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=l.lastRenderedReducer,g!==null))try{var x=l.lastRenderedState,w=g(x,i);if(p.hasEagerState=!0,p.eagerState=w,ll(w,x))return Jl(n,l,p,0),gn===null&&Ql(),!1}catch{}finally{}if(i=_r(n,l,p,c),i!==null)return Cl(i,n,c),Wg(i,l,c),!0}return!1}function bu(n,l,i,c){if(c={lane:2,revertLane:Tp(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Vd(n)){if(l)throw Error(d(479))}else l=_r(n,i,c,2),l!==null&&Cl(l,n,2)}function Vd(n){var l=n.alternate;return n===_t||l!==null&&l===_t}function Ph(n,l){vs=gs=!0;var i=n.pending;i===null?l.next=l:(l.next=i.next,i.next=l),n.pending=l}function Wg(n,l,i){if((i&4194048)!==0){var c=l.lanes;c&=n.pendingLanes,i|=c,l.lanes=i,Si(n,i)}}var Bd={readContext:Ae,use:Uc,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useLayoutEffect:$n,useInsertionEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useSyncExternalStore:$n,useId:$n,useHostTransitionStatus:$n,useFormState:$n,useActionState:$n,useOptimistic:$n,useMemoCache:$n,useCacheRefresh:$n};Bd.useEffectEvent=$n;var x1={readContext:Ae,use:Uc,useCallback:function(n,l){return Ba().memoizedState=[n,l===void 0?null:l],n},useContext:Ae,useEffect:Zh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,Vc(4194308,4,Jh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return Vc(4194308,4,n,l)},useInsertionEffect:function(n,l){Vc(4,2,n,l)},useMemo:function(n,l){var i=Ba();l=l===void 0?null:l;var c=n();if(Do){Ka(!0);try{n()}finally{Ka(!1)}}return i.memoizedState=[c,l],c},useReducer:function(n,l,i){var c=Ba();if(i!==void 0){var p=i(l);if(Do){Ka(!0);try{i(l)}finally{Ka(!1)}}}else p=l;return c.memoizedState=c.baseState=p,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:p},c.queue=n,n=n.dispatch=E1.bind(null,_t,n),[c.memoizedState,n]},useRef:function(n){var l=Ba();return n={current:n},l.memoizedState=n},useState:function(n){n=Hg(n);var l=n.queue,i=Ih.bind(null,_t,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:Pr,useDeferredValue:function(n,l){var i=Ba();return Ud(i,n,l)},useTransition:function(){var n=Hg(!1);return n=Fh.bind(null,_t,n.queue,!0,!1),Ba().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var c=_t,p=Ba();if(kt){if(i===void 0)throw Error(d(407));i=i()}else{if(i=l(),gn===null)throw Error(d(349));(Ut&127)!==0||wd(c,l,i)}p.memoizedState=i;var g={value:i,getSnapshot:l};return p.queue=g,Zh(Yh.bind(null,c,g,n),[n]),c.flags|=2048,xs(9,{destroy:void 0},kg.bind(null,c,g,i,l),null),i},useId:function(){var n=Ba(),l=gn.identifierPrefix;if(kt){var i=Jr,c=jl;i=(c&~(1<<32-Fn(c)-1)).toString(32)+i,l="_"+l+"R_"+i,i=Ad++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=h1++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Ig,useFormState:$g,useActionState:$g,useOptimistic:function(n){var l=Ba();l.memoizedState=l.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=bu.bind(null,_t,!0,i),i.dispatch=l,[n,l]},useMemoCache:Hh,useCacheRefresh:function(){return Ba().memoizedState=Hi.bind(null,_t)},useEffectEvent:function(n){var l=Ba(),i={impl:n};return l.memoizedState=i,function(){if((Kt&2)!==0)throw Error(d(440));return i.impl.apply(void 0,arguments)}}},Wh={readContext:Ae,use:Uc,useCallback:Kh,useContext:Ae,useEffect:Xh,useImperativeHandle:Fg,useInsertionEffect:Qh,useLayoutEffect:Kg,useMemo:v1,useReducer:Bi,useRef:Qg,useState:function(){return Bi(Vi)},useDebugValue:Pr,useDeferredValue:function(n,l){var i=Wn();return ki(i,rn.memoizedState,n,l)},useTransition:function(){var n=Bi(Vi)[0],l=Wn().memoizedState;return[typeof n=="boolean"?n:Ss(n),l]},useSyncExternalStore:Bg,useId:S1,useHostTransitionStatus:Ig,useFormState:g1,useActionState:g1,useOptimistic:function(n,l){var i=Wn();return ka(i,rn,n,l)},useMemoCache:Hh,useCacheRefresh:Pg};Wh.useEffectEvent=jd;var _1={readContext:Ae,use:Uc,useCallback:Kh,useContext:Ae,useEffect:Xh,useImperativeHandle:Fg,useInsertionEffect:Qh,useLayoutEffect:Kg,useMemo:v1,useReducer:qh,useRef:Qg,useState:function(){return qh(Vi)},useDebugValue:Pr,useDeferredValue:function(n,l){var i=Wn();return rn===null?Ud(i,n,l):ki(i,rn.memoizedState,n,l)},useTransition:function(){var n=qh(Vi)[0],l=Wn().memoizedState;return[typeof n=="boolean"?n:Ss(n),l]},useSyncExternalStore:Bg,useId:S1,useHostTransitionStatus:Ig,useFormState:Xg,useActionState:Xg,useOptimistic:function(n,l){var i=Wn();return rn!==null?ka(i,rn,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:Hh,useCacheRefresh:Pg};_1.useEffectEvent=jd;function _s(n,l,i,c){l=n.memoizedState,i=i(c,l),i=i==null?l:A({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Nr={enqueueSetState:function(n,l,i){n=n._reactInternals;var c=kl(),p=Ao(c);p.payload=l,i!=null&&(p.callback=i),l=Wl(n,p,c),l!==null&&(Cl(l,n,c),pu(l,n,c))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var c=kl(),p=Ao(c);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=Wl(n,p,c),l!==null&&(Cl(l,n,c),pu(l,n,c))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=kl(),c=Ao(i);c.tag=2,l!=null&&(c.callback=l),l=Wl(n,c,i),l!==null&&(Cl(l,n,i),pu(l,n,i))}};function e0(n,l,i,c,p,g,x){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,x):l.prototype&&l.prototype.isPureReactComponent?!Sr(i,c)||!Sr(p,g):!0}function T1(n,l,i,c){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,c),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,c),l.state!==n&&Nr.enqueueReplaceState(l,l.state,null)}function Su(n,l){var i=l;if("ref"in l){i={};for(var c in l)c!=="ref"&&(i[c]=l[c])}if(n=n.defaultProps){i===l&&(i=A({},i));for(var p in n)i[p]===void 0&&(i[p]=n[p])}return i}function ep(n){os(n)}function t0(n){console.error(n)}function tp(n){os(n)}function Lc(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(c){setTimeout(function(){throw c})}}function kd(n,l,i){try{var c=n.onCaughtError;c(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function n0(n,l,i){return i=Ao(i),i.tag=3,i.payload={element:null},i.callback=function(){Lc(n,l)},i}function a0(n){return n=Ao(n),n.tag=3,n}function l0(n,l,i,c){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var g=c.value;n.payload=function(){return p(g)},n.callback=function(){kd(l,i,c)}}var x=i.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(n.callback=function(){kd(l,i,c),typeof p!="function"&&(kn===null?kn=new Set([this]):kn.add(this));var w=c.stack;this.componentDidCatch(c.value,{componentStack:w!==null?w:""})})}function Ux(n,l,i,c,p){if(i.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(l=i.alternate,l!==null&&Va(l,i,p,!0),i=vl.current,i!==null){switch(i.tag){case 31:case 13:return er===null?Sp():i.alternate===null&&On===0&&(On=3),i.flags&=-257,i.flags|=65536,i.lanes=p,c===hs?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([c]):l.add(c),Pd(n,c,p)),!1;case 22:return i.flags|=65536,c===hs?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([c])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([c]):i.add(c)),Pd(n,c,p)),!1}throw Error(d(435,i.tag))}return Pd(n,c,p),Sp(),!1}if(kt)return l=vl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,c!==Oi&&(n=Error(d(422),{cause:c}),Ac(Kl(n,i)))):(c!==Oi&&(l=Error(d(423),{cause:c}),Ac(Kl(l,i))),n=n.current.alternate,n.flags|=65536,p&=-p,n.lanes|=p,c=Kl(c,i),p=n0(n.stateNode,c,p),jh(n,p),On!==4&&(On=2)),!1;var g=Error(d(520),{cause:c});if(g=Kl(g,i),Jd===null?Jd=[g]:Jd.push(g),On!==4&&(On=2),l===null)return!0;c=Kl(c,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=p&-p,i.lanes|=n,n=n0(i.stateNode,c,n),jh(i,n),!1;case 1:if(l=i.type,g=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(kn===null||!kn.has(g))))return i.flags|=65536,p&=-p,i.lanes|=p,p=a0(p),l0(p,n,i,c),jh(i,p),!1}i=i.return}while(i!==null);return!1}var np=Error(d(461)),oa=!1;function jn(n,l,i,c){l.child=n===null?Ug(l,null,i,c):hu(l,n.child,i,c)}function r0(n,l,i,c,p){i=i.render;var g=l.ref;if("ref"in c){var x={};for(var w in c)w!=="ref"&&(x[w]=c[w])}else x=c;return vt(l),c=Dd(n,l,i,x,g,p),w=kh(),n!==null&&!oa?(bs(n,l,p),ar(n,l,p)):(kt&&w&&Cc(l),l.flags|=1,jn(n,l,c,p),l.child)}function i0(n,l,i,c,p){if(n===null){var g=i.type;return typeof g=="function"&&!us(g)&&g.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=g,o0(n,l,g,c,p)):(n=Ah(i.type,null,c,l,l.mode,p),n.ref=l.ref,n.return=l,l.child=n)}if(g=n.child,!rp(n,p)){var x=g.memoizedProps;if(i=i.compare,i=i!==null?i:Sr,i(x,c)&&n.ref===l.ref)return ar(n,l,p)}return l.flags|=1,n=Eo(g,c),n.ref=l.ref,n.return=l,l.child=n}function o0(n,l,i,c,p){if(n!==null){var g=n.memoizedProps;if(Sr(g,c)&&n.ref===l.ref)if(oa=!1,l.pendingProps=c=g,rp(n,p))(n.flags&131072)!==0&&(oa=!0);else return l.lanes=n.lanes,ar(n,l,p)}return ap(n,l,i,c,p)}function C1(n,l,i,c){var p=c.children,g=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((l.flags&128)!==0){if(g=g!==null?g.baseLanes|i:i,n!==null){for(c=l.child=n.child,p=0;c!==null;)p=p|c.lanes|c.childLanes,c=c.sibling;c=p&~g}else c=0,l.child=null;return Sl(n,l,g,i,c)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Dc(l,g!==null?g.cachePool:null),g!==null?m1(l,g):Nd(),Vh(l);else return c=l.lanes=536870912,Sl(n,l,g!==null?g.baseLanes|i:i,i,c)}else g!==null?(Dc(l,g.cachePool),m1(l,g),Ir(),l.memoizedState=null):(n!==null&&Dc(l,null),Nd(),Ir());return jn(n,l,p,i),l.child}function Eu(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Sl(n,l,i,c,p){var g=Pl();return g=g===null?null:{parent:ra._currentValue,pool:g},l.memoizedState={baseLanes:i,cachePool:g},n!==null&&Dc(l,null),Nd(),Vh(l),n!==null&&Va(n,l,c,!0),l.childLanes=p,null}function Hd(n,l){return l=Yd({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function El(n,l,i){return hu(l,n.child,null,i),n=Hd(l,l.pendingProps),n.flags|=2,bl(l),l.memoizedState=null,n}function N1(n,l,i){var c=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(kt){if(c.mode==="hidden")return n=Hd(l,c),l.lanes=536870912,Eu(null,n);if(Mc(l),(n=Dn)?(n=oS(n,Sa),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Qr!==null?{id:jl,overflow:Jr}:null,retryLane:536870912,hydrationErrors:null},i=Ng(n),i.return=l,l.child=i,Ua=l,Dn=null)):n=null,n===null)throw Cr(l);return l.lanes=536870912,null}return Hd(l,c)}var g=n.memoizedState;if(g!==null){var x=g.dehydrated;if(Mc(l),p)if(l.flags&256)l.flags&=-257,l=El(n,l,i);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(d(558));else if(oa||Va(n,l,i,!1),p=(i&n.childLanes)!==0,oa||p){if(c=gn,c!==null&&(x=$l(c,i),x!==0&&x!==g.retryLane))throw g.retryLane=x,So(n,x),Cl(c,n,x),np;Sp(),l=El(n,l,i)}else n=g.treeContext,Dn=Nl(x.nextSibling),Ua=l,kt=!0,Ri=null,Sa=!1,n!==null&&pd(l,n),l=Hd(l,c),l.flags|=4096;return l}return n=Eo(n.child,{mode:c.mode,children:c.children}),n.ref=l.ref,l.child=n,n.return=l,n}function tr(n,l){var i=l.ref;if(i===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(d(284));(n===null||n.ref!==i)&&(l.flags|=4194816)}}function ap(n,l,i,c,p){return vt(l),i=Dd(n,l,i,c,void 0,p),c=kh(),n!==null&&!oa?(bs(n,l,p),ar(n,l,p)):(kt&&c&&Cc(l),l.flags|=1,jn(n,l,i,p),l.child)}function xu(n,l,i,c,p,g){return vt(l),l.updateQueue=null,i=p1(l,c,i,p),Bh(n),c=kh(),n!==null&&!oa?(bs(n,l,g),ar(n,l,g)):(kt&&c&&Cc(l),l.flags|=1,jn(n,l,i,g),l.child)}function u0(n,l,i,c,p){if(vt(l),l.stateNode===null){var g=pl,x=i.contextType;typeof x=="object"&&x!==null&&(g=Ae(x)),g=new i(c,g),l.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Nr,l.stateNode=g,g._reactInternals=l,g=l.stateNode,g.props=c,g.state=l.memoizedState,g.refs={},Cd(l),x=i.contextType,g.context=typeof x=="object"&&x!==null?Ae(x):pl,g.state=l.memoizedState,x=i.getDerivedStateFromProps,typeof x=="function"&&(_s(l,i,x,c),g.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(x=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),x!==g.state&&Nr.enqueueReplaceState(g,g.state,null),zi(l,c,g,p),yu(),g.state=l.memoizedState),typeof g.componentDidMount=="function"&&(l.flags|=4194308),c=!0}else if(n===null){g=l.stateNode;var w=l.memoizedProps,G=Su(i,w);g.props=G;var re=g.context,ve=i.contextType;x=pl,typeof ve=="object"&&ve!==null&&(x=Ae(ve));var Ce=i.getDerivedStateFromProps;ve=typeof Ce=="function"||typeof g.getSnapshotBeforeUpdate=="function",w=l.pendingProps!==w,ve||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w||re!==x)&&T1(l,g,c,x),No=!1;var ie=l.memoizedState;g.state=ie,zi(l,c,g,p),yu(),re=l.memoizedState,w||ie!==re||No?(typeof Ce=="function"&&(_s(l,i,Ce,c),re=l.memoizedState),(G=No||e0(l,i,G,c,ie,re,x))?(ve||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(l.flags|=4194308)):(typeof g.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=c,l.memoizedState=re),g.props=c,g.state=re,g.context=x,c=G):(typeof g.componentDidMount=="function"&&(l.flags|=4194308),c=!1)}else{g=l.stateNode,zh(n,l),x=l.memoizedProps,ve=Su(i,x),g.props=ve,Ce=l.pendingProps,ie=g.context,re=i.contextType,G=pl,typeof re=="object"&&re!==null&&(G=Ae(re)),w=i.getDerivedStateFromProps,(re=typeof w=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==Ce||ie!==G)&&T1(l,g,c,G),No=!1,ie=l.memoizedState,g.state=ie,zi(l,c,g,p),yu();var me=l.memoizedState;x!==Ce||ie!==me||No||n!==null&&n.dependencies!==null&&cs(n.dependencies)?(typeof w=="function"&&(_s(l,i,w,c),me=l.memoizedState),(ve=No||e0(l,i,ve,c,ie,me,G)||n!==null&&n.dependencies!==null&&cs(n.dependencies))?(re||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,me,G),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,me,G)),typeof g.componentDidUpdate=="function"&&(l.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof g.componentDidUpdate!="function"||x===n.memoizedProps&&ie===n.memoizedState||(l.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===n.memoizedProps&&ie===n.memoizedState||(l.flags|=1024),l.memoizedProps=c,l.memoizedState=me),g.props=c,g.state=me,g.context=G,c=ve):(typeof g.componentDidUpdate!="function"||x===n.memoizedProps&&ie===n.memoizedState||(l.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===n.memoizedProps&&ie===n.memoizedState||(l.flags|=1024),c=!1)}return g=c,tr(n,l),c=(l.flags&128)!==0,g||c?(g=l.stateNode,i=c&&typeof i.getDerivedStateFromError!="function"?null:g.render(),l.flags|=1,n!==null&&c?(l.child=hu(l,n.child,null,p),l.child=hu(l,null,i,p)):jn(n,l,i,p),l.memoizedState=g.state,n=l.child):n=ar(n,l,p),n}function Wr(n,l,i,c){return uu(),l.flags|=256,jn(n,l,i,c),l.child}var Ld={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qd(n){return{baseLanes:n,cachePool:ds()}}function nr(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=Tl),n}function s0(n,l,i){var c=l.pendingProps,p=!1,g=(l.flags&128)!==0,x;if((x=g)||(x=n!==null&&n.memoizedState===null?!1:(Bn.current&2)!==0),x&&(p=!0,l.flags&=-129),x=(l.flags&32)!==0,l.flags&=-33,n===null){if(kt){if(p?ji(l):Ir(),(n=Dn)?(n=oS(n,Sa),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Qr!==null?{id:jl,overflow:Jr}:null,retryLane:536870912,hydrationErrors:null},i=Ng(n),i.return=l,l.child=i,Ua=l,Dn=null)):n=null,n===null)throw Cr(l);return Ru(n)?l.lanes=32:l.lanes=536870912,null}var w=c.children;return c=c.fallback,p?(Ir(),p=l.mode,w=Yd({mode:"hidden",children:w},p),c=xo(c,p,i,null),w.return=l,c.return=l,w.sibling=c,l.child=w,c=l.child,c.memoizedState=qd(i),c.childLanes=nr(n,x,i),l.memoizedState=Ld,Eu(null,c)):(ji(l),_u(l,w))}var G=n.memoizedState;if(G!==null&&(w=G.dehydrated,w!==null)){if(g)l.flags&256?(ji(l),l.flags&=-257,l=Ts(n,l,i)):l.memoizedState!==null?(Ir(),l.child=n.child,l.flags|=128,l=null):(Ir(),w=c.fallback,p=l.mode,c=Yd({mode:"visible",children:c.children},p),w=xo(w,p,i,null),w.flags|=2,c.return=l,w.return=l,c.sibling=w,l.child=c,hu(l,n.child,null,i),c=l.child,c.memoizedState=qd(i),c.childLanes=nr(n,x,i),l.memoizedState=Ld,l=Eu(null,c));else if(ji(l),Ru(w)){if(x=w.nextSibling&&w.nextSibling.dataset,x)var re=x.dgst;x=re,c=Error(d(419)),c.stack="",c.digest=x,Ac({value:c,source:null,stack:null}),l=Ts(n,l,i)}else if(oa||Va(n,l,i,!1),x=(i&n.childLanes)!==0,oa||x){if(x=gn,x!==null&&(c=$l(x,i),c!==0&&c!==G.retryLane))throw G.retryLane=c,So(n,c),Cl(x,n,c),np;Rr(w)||Sp(),l=Ts(n,l,i)}else Rr(w)?(l.flags|=192,l.child=n.child,l=null):(n=G.treeContext,Dn=Nl(w.nextSibling),Ua=l,kt=!0,Ri=null,Sa=!1,n!==null&&pd(l,n),l=_u(l,c.children),l.flags|=4096);return l}return p?(Ir(),w=c.fallback,p=l.mode,G=n.child,re=G.sibling,c=Eo(G,{mode:"hidden",children:c.children}),c.subtreeFlags=G.subtreeFlags&65011712,re!==null?w=Eo(re,w):(w=xo(w,p,i,null),w.flags|=2),w.return=l,c.return=l,c.sibling=w,l.child=c,Eu(null,c),c=l.child,w=n.child.memoizedState,w===null?w=qd(i):(p=w.cachePool,p!==null?(G=ra._currentValue,p=p.parent!==G?{parent:G,pool:G}:p):p=ds(),w={baseLanes:w.baseLanes|i,cachePool:p}),c.memoizedState=w,c.childLanes=nr(n,x,i),l.memoizedState=Ld,Eu(n.child,c)):(ji(l),i=n.child,n=i.sibling,i=Eo(i,{mode:"visible",children:c.children}),i.return=l,i.sibling=null,n!==null&&(x=l.deletions,x===null?(l.deletions=[n],l.flags|=16):x.push(n)),l.child=i,l.memoizedState=null,i)}function _u(n,l){return l=Yd({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Yd(n,l){return n=In(22,n,null,l),n.lanes=0,n}function Ts(n,l,i){return hu(l,n.child,null,i),n=_u(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function Cs(n,l,i){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l),wh(n.return,l,i)}function lp(n,l,i,c,p,g){var x=n.memoizedState;x===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:c,tail:i,tailMode:p,treeForkCount:g}:(x.isBackwards=l,x.rendering=null,x.renderingStartTime=0,x.last=c,x.tail=i,x.tailMode=p,x.treeForkCount=g)}function c0(n,l,i){var c=l.pendingProps,p=c.revealOrder,g=c.tail;c=c.children;var x=Bn.current,w=(x&2)!==0;if(w?(x=x&1|2,l.flags|=128):x&=1,W(Bn,x),jn(n,l,c,i),c=kt?la:0,!w&&n!==null&&(n.flags&128)!==0)e:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Cs(n,i,l);else if(n.tag===19)Cs(n,i,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(p){case"forwards":for(i=l.child,p=null;i!==null;)n=i.alternate,n!==null&&zc(n)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),lp(l,!1,p,i,g,c);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(n=p.alternate,n!==null&&zc(n)===null){l.child=p;break}n=p.sibling,p.sibling=i,i=p,p=n}lp(l,!0,i,null,g,c);break;case"together":lp(l,!1,null,null,void 0,c);break;default:l.memoizedState=null}return l.child}function ar(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),ai|=l.lanes,(i&l.childLanes)===0)if(n!==null){if(Va(n,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(d(153));if(l.child!==null){for(n=l.child,i=Eo(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=Eo(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function rp(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&cs(n)))}function ip(n,l,i){switch(l.tag){case 3:Je(l,l.stateNode.containerInfo),gl(l,ra,n.memoizedState.cache),uu();break;case 27:case 5:ct(l);break;case 4:Je(l,l.stateNode.containerInfo);break;case 10:gl(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Mc(l),null;break;case 13:var c=l.memoizedState;if(c!==null)return c.dehydrated!==null?(ji(l),l.flags|=128,null):(i&l.child.childLanes)!==0?s0(n,l,i):(ji(l),n=ar(n,l,i),n!==null?n.sibling:null);ji(l);break;case 19:var p=(n.flags&128)!==0;if(c=(i&l.childLanes)!==0,c||(Va(n,l,i,!1),c=(i&l.childLanes)!==0),p){if(c)return c0(n,l,i);l.flags|=128}if(p=l.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),W(Bn,Bn.current),c)break;return null;case 22:return l.lanes=0,C1(n,l,i,l.pendingProps);case 24:gl(l,ra,n.memoizedState.cache)}return ar(n,l,i)}function f0(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)oa=!0;else{if(!rp(n,i)&&(l.flags&128)===0)return oa=!1,ip(n,l,i);oa=(n.flags&131072)!==0}else oa=!1,kt&&(l.flags&1048576)!==0&&Dg(l,la,l.index);switch(l.lanes=0,l.tag){case 16:e:{var c=l.pendingProps;if(n=fu(l.elementType),l.type=n,typeof n=="function")us(n)?(c=Su(n,c),l.tag=1,l=u0(null,l,n,c,i)):(l.tag=0,l=ap(null,l,n,c,i));else{if(n!=null){var p=n.$$typeof;if(p===pe){l.tag=11,l=r0(null,l,n,c,i);break e}else if(p===Te){l.tag=14,l=i0(null,l,n,c,i);break e}}throw l=ye(n)||n,Error(d(306,l,""))}}return l;case 0:return ap(n,l,l.type,l.pendingProps,i);case 1:return c=l.type,p=Su(c,l.pendingProps),u0(n,l,c,p,i);case 3:e:{if(Je(l,l.stateNode.containerInfo),n===null)throw Error(d(387));c=l.pendingProps;var g=l.memoizedState;p=g.element,zh(n,l),zi(l,c,null,i);var x=l.memoizedState;if(c=x.cache,gl(l,ra,c),c!==g.cache&&Mi(l,[ra],i,!0),yu(),c=x.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:x.cache},l.updateQueue.baseState=g,l.memoizedState=g,l.flags&256){l=Wr(n,l,c,i);break e}else if(c!==p){p=Kl(Error(d(424)),l),Ac(p),l=Wr(n,l,c,i);break e}else{switch(n=l.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Dn=Nl(n.firstChild),Ua=l,kt=!0,Ri=null,Sa=!0,i=Ug(l,null,c,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(uu(),c===p){l=ar(n,l,i);break e}jn(n,l,c,i)}l=l.child}return l;case 26:return tr(n,l),n===null?(i=sf(l.type,null,l.pendingProps,null))?l.memoizedState=i:kt||(i=l.type,n=l.pendingProps,c=Du(je.current).createElement(i),c[pn]=l,c[dl]=n,Ia(c,i,n),an(c),l.stateNode=c):l.memoizedState=sf(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return ct(l),n===null&&kt&&(c=l.stateNode=of(l.type,l.pendingProps,je.current),Ua=l,Sa=!0,p=Dn,ri(l.type)?(om=p,Dn=Nl(c.firstChild)):Dn=p),jn(n,l,l.pendingProps.children,i),tr(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&kt&&((p=c=Dn)&&(c=kx(c,l.type,l.pendingProps,Sa),c!==null?(l.stateNode=c,Ua=l,Dn=Nl(c.firstChild),Sa=!1,p=!0):p=!1),p||Cr(l)),ct(l),p=l.type,g=l.pendingProps,x=n!==null?n.memoizedProps:null,c=g.children,lf(p,g)?c=null:x!==null&&lf(p,x)&&(l.flags|=32),l.memoizedState!==null&&(p=Dd(n,l,jx,null,null,i),cm._currentValue=p),tr(n,l),jn(n,l,c,i),l.child;case 6:return n===null&&kt&&((n=i=Dn)&&(i=Ot(i,l.pendingProps,Sa),i!==null?(l.stateNode=i,Ua=l,Dn=null,n=!0):n=!1),n||Cr(l)),null;case 13:return s0(n,l,i);case 4:return Je(l,l.stateNode.containerInfo),c=l.pendingProps,n===null?l.child=hu(l,null,c,i):jn(n,l,c,i),l.child;case 11:return r0(n,l,l.type,l.pendingProps,i);case 7:return jn(n,l,l.pendingProps,i),l.child;case 8:return jn(n,l,l.pendingProps.children,i),l.child;case 12:return jn(n,l,l.pendingProps.children,i),l.child;case 10:return c=l.pendingProps,gl(l,l.type,c.value),jn(n,l,c.children,i),l.child;case 9:return p=l.type._context,c=l.pendingProps.children,vt(l),p=Ae(p),c=c(p),l.flags|=1,jn(n,l,c,i),l.child;case 14:return i0(n,l,l.type,l.pendingProps,i);case 15:return o0(n,l,l.type,l.pendingProps,i);case 19:return c0(n,l,i);case 31:return N1(n,l,i);case 22:return C1(n,l,i,l.pendingProps);case 24:return vt(l),c=Ae(ra),n===null?(p=Pl(),p===null&&(p=gn,g=vd(),p.pooledCache=g,g.refCount++,g!==null&&(p.pooledCacheLanes|=i),p=g),l.memoizedState={parent:c,cache:p},Cd(l),gl(l,ra,p)):((n.lanes&i)!==0&&(zh(n,l),zi(l,null,null,i),yu()),p=n.memoizedState,g=l.memoizedState,p.parent!==c?(p={parent:c,cache:c},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),gl(l,ra,c)):(c=g.cache,gl(l,ra,c),c!==p.cache&&Mi(l,[ra],i,!0))),jn(n,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(d(156,l.tag))}function Li(n){n.flags|=4}function d0(n,l,i,c,p){if((l=(n.mode&32)!==0)&&(l=!1),l){if(n.flags|=16777216,(p&335544128)===p)if(n.stateNode.complete)n.flags|=8192;else if(V1())n.flags|=8192;else throw du=hs,ms}else n.flags&=-16777217}function m0(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ll(l))if(V1())n.flags|=8192;else throw du=hs,ms}function rl(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?nl():536870912,n.lanes|=l,Zn|=l)}function qc(n,l){if(!kt)switch(n.tailMode){case"hidden":l=n.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var c=null;i!==null;)i.alternate!==null&&(c=i),i=i.sibling;c===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function yt(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,c=0;if(l)for(var p=n.child;p!==null;)i|=p.lanes|p.childLanes,c|=p.subtreeFlags&65011712,c|=p.flags&65011712,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)i|=p.lanes|p.childLanes,c|=p.subtreeFlags,c|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=c,n.childLanes=i,l}function A1(n,l,i){var c=l.pendingProps;switch(Rh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(l),null;case 1:return yt(l),null;case 3:return i=l.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),l.memoizedState.cache!==c&&(l.flags|=2048),Fr(ra),Ze(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(wi(l)?Li(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Rg())),yt(l),null;case 26:var p=l.type,g=l.memoizedState;return n===null?(Li(l),g!==null?(yt(l),m0(l,g)):(yt(l),d0(l,p,null,c,i))):g?g!==n.memoizedState?(Li(l),yt(l),m0(l,g)):(yt(l),l.flags&=-16777217):(n=n.memoizedProps,n!==c&&Li(l),yt(l),d0(l,p,n,c,i)),null;case 27:if(Me(l),i=je.current,p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&Li(l);else{if(!c){if(l.stateNode===null)throw Error(d(166));return yt(l),null}n=ee.current,wi(l)?yd(l):(n=of(p,c,i),l.stateNode=n,Li(l))}return yt(l),null;case 5:if(Me(l),p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&Li(l);else{if(!c){if(l.stateNode===null)throw Error(d(166));return yt(l),null}if(g=ee.current,wi(l))yd(l);else{var x=Du(je.current);switch(g){case 1:g=x.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:g=x.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":g=x.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":g=x.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":g=x.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof c.is=="string"?x.createElement("select",{is:c.is}):x.createElement("select"),c.multiple?g.multiple=!0:c.size&&(g.size=c.size);break;default:g=typeof c.is=="string"?x.createElement(p,{is:c.is}):x.createElement(p)}}g[pn]=l,g[dl]=c;e:for(x=l.child;x!==null;){if(x.tag===5||x.tag===6)g.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===l)break e;for(;x.sibling===null;){if(x.return===null||x.return===l)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}l.stateNode=g;e:switch(Ia(g,p,c),p){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Li(l)}}return yt(l),d0(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==c&&Li(l);else{if(typeof c!="string"&&l.stateNode===null)throw Error(d(166));if(n=je.current,wi(l)){if(n=l.stateNode,i=l.memoizedProps,c=null,p=Ua,p!==null)switch(p.tag){case 27:case 5:c=p.memoizedProps}n[pn]=l,n=!!(n.nodeValue===i||c!==null&&c.suppressHydrationWarning===!0||B0(n.nodeValue,i)),n||Cr(l,!0)}else n=Du(n).createTextNode(c),n[pn]=l,l.stateNode=n}return yt(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(c=wi(l),i!==null){if(n===null){if(!c)throw Error(d(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(d(557));n[pn]=l}else uu(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;yt(l),n=!1}else i=Rg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return l.flags&256?(bl(l),l):(bl(l),null);if((l.flags&128)!==0)throw Error(d(558))}return yt(l),null;case 13:if(c=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(p=wi(l),c!==null&&c.dehydrated!==null){if(n===null){if(!p)throw Error(d(318));if(p=l.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(d(317));p[pn]=l}else uu(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;yt(l),p=!1}else p=Rg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=p),p=!0;if(!p)return l.flags&256?(bl(l),l):(bl(l),null)}return bl(l),(l.flags&128)!==0?(l.lanes=i,l):(i=c!==null,n=n!==null&&n.memoizedState!==null,i&&(c=l.child,p=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(p=c.alternate.memoizedState.cachePool.pool),g=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==p&&(c.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),rl(l,l.updateQueue),yt(l),null);case 4:return Ze(),n===null&&af(l.stateNode.containerInfo),yt(l),null;case 10:return Fr(l.type),yt(l),null;case 19:if(H(Bn),c=l.memoizedState,c===null)return yt(l),null;if(p=(l.flags&128)!==0,g=c.rendering,g===null)if(p)qc(c,!1);else{if(On!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(g=zc(n),g!==null){for(l.flags|=128,qc(c,!1),n=g.updateQueue,l.updateQueue=n,rl(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)Cg(i,n),i=i.sibling;return W(Bn,Bn.current&1|2),kt&&Tr(l,c.treeForkCount),l.child}n=n.sibling}c.tail!==null&&le()>Wt&&(l.flags|=128,p=!0,qc(c,!1),l.lanes=4194304)}else{if(!p)if(n=zc(g),n!==null){if(l.flags|=128,p=!0,n=n.updateQueue,l.updateQueue=n,rl(l,n),qc(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!kt)return yt(l),null}else 2*le()-c.renderingStartTime>Wt&&i!==536870912&&(l.flags|=128,p=!0,qc(c,!1),l.lanes=4194304);c.isBackwards?(g.sibling=l.child,l.child=g):(n=c.last,n!==null?n.sibling=g:l.child=g,c.last=g)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=le(),n.sibling=null,i=Bn.current,W(Bn,p?i&1|2:i&1),kt&&Tr(l,c.treeForkCount),n):(yt(l),null);case 22:case 23:return bl(l),wc(),c=l.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(l.flags|=8192):c&&(l.flags|=8192),c?(i&536870912)!==0&&(l.flags&128)===0&&(yt(l),l.subtreeFlags&6&&(l.flags|=8192)):yt(l),i=l.updateQueue,i!==null&&rl(l,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==i&&(l.flags|=2048),n!==null&&H(Il),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),Fr(ra),yt(l),null;case 25:return null;case 30:return null}throw Error(d(156,l.tag))}function D1(n,l){switch(Rh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return Fr(ra),Ze(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Me(l),null;case 31:if(l.memoizedState!==null){if(bl(l),l.alternate===null)throw Error(d(340));uu()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(bl(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(d(340));uu()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return H(Bn),null;case 4:return Ze(),null;case 10:return Fr(l.type),null;case 22:case 23:return bl(l),wc(),n!==null&&H(Il),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return Fr(ra),null;case 25:return null;default:return null}}function R1(n,l){switch(Rh(l),l.tag){case 3:Fr(ra),Ze();break;case 26:case 27:case 5:Me(l);break;case 4:Ze();break;case 31:l.memoizedState!==null&&bl(l);break;case 13:bl(l);break;case 19:H(Bn);break;case 10:Fr(l.type);break;case 22:case 23:bl(l),wc(),n!==null&&H(Il);break;case 24:Fr(ra)}}function Ar(n,l){try{var i=l.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var p=c.next;i=p;do{if((i.tag&n)===n){c=void 0;var g=i.create,x=i.inst;c=g(),x.destroy=c}i=i.next}while(i!==p)}}catch(w){un(l,l.return,w)}}function lr(n,l,i){try{var c=l.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var g=p.next;c=g;do{if((c.tag&n)===n){var x=c.inst,w=x.destroy;if(w!==void 0){x.destroy=void 0,p=l;var G=i,re=w;try{re()}catch(ve){un(p,G,ve)}}}c=c.next}while(c!==g)}}catch(ve){un(l,l.return,ve)}}function op(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{gu(l,i)}catch(c){un(n,n.return,c)}}}function Tu(n,l,i){i.props=Su(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(c){un(n,l,c)}}function qi(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof i=="function"?n.refCleanup=i(c):i.current=c}}catch(p){un(n,l,p)}}function ei(n,l){var i=n.ref,c=n.refCleanup;if(i!==null)if(typeof c=="function")try{c()}catch(p){un(n,l,p)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(p){un(n,l,p)}else i.current=null}function h0(n){var l=n.type,i=n.memoizedProps,c=n.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&c.focus();break e;case"img":i.src?c.src=i.src:i.srcSet&&(c.srcset=i.srcSet)}}catch(p){un(n,n.return,p)}}function up(n,l,i){try{var c=n.stateNode;H0(c,n.type,i,l),c[dl]=l}catch(p){un(n,n.return,p)}}function p0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ri(n.type)||n.tag===4}function Yc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||p0(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.tag===27&&ri(n.type)||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 Gc(n,l,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(n),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=Lr));else if(c!==4&&(c===27&&ri(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(Gc(n,l,i),n=n.sibling;n!==null;)Gc(n,l,i),n=n.sibling}function $c(n,l,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(c!==4&&(c===27&&ri(n.type)&&(i=n.stateNode),n=n.child,n!==null))for($c(n,l,i),n=n.sibling;n!==null;)$c(n,l,i),n=n.sibling}function y0(n){var l=n.stateNode,i=n.memoizedProps;try{for(var c=n.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);Ia(l,c,i),l[pn]=n,l[dl]=i}catch(g){un(n,n.return,g)}}var wo=!1,ma=!1,sp=!1,g0=typeof WeakSet=="function"?WeakSet:Set,Ha=null;function Zc(n,l){if(n=n.containerInfo,Rp=_a,n=ru(n),sd(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var c=i.getSelection&&i.getSelection();if(c&&c.rangeCount!==0){i=c.anchorNode;var p=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{i.nodeType,g.nodeType}catch{i=null;break e}var x=0,w=-1,G=-1,re=0,ve=0,Ce=n,ie=null;t:for(;;){for(var me;Ce!==i||p!==0&&Ce.nodeType!==3||(w=x+p),Ce!==g||c!==0&&Ce.nodeType!==3||(G=x+c),Ce.nodeType===3&&(x+=Ce.nodeValue.length),(me=Ce.firstChild)!==null;)ie=Ce,Ce=me;for(;;){if(Ce===n)break t;if(ie===i&&++re===p&&(w=x),ie===g&&++ve===c&&(G=x),(me=Ce.nextSibling)!==null)break;Ce=ie,ie=Ce.parentNode}Ce=me}i=w===-1||G===-1?null:{start:w,end:G}}else i=null}i=i||{start:0,end:0}}else i=null;for(Op={focusedElem:n,selectionRange:i},_a=!1,Ha=l;Ha!==null;)if(l=Ha,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Ha=n;else for(;Ha!==null;){switch(l=Ha,g=l.alternate,n=l.flags,l.tag){case 0:if((n&4)!==0&&(n=l.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)p=n[i],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,i=l,p=g.memoizedProps,g=g.memoizedState,c=i.stateNode;try{var Ie=Su(i.type,p);n=c.getSnapshotBeforeUpdate(Ie,g),c.__reactInternalSnapshotBeforeUpdate=n}catch(ft){un(i,i.return,ft)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)im(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":im(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(d(163))}if(n=l.sibling,n!==null){n.return=l.return,Ha=n;break}Ha=l.return}}function Gd(n,l,i){var c=i.flags;switch(i.tag){case 0:case 11:case 15:Mo(n,i),c&4&&Ar(5,i);break;case 1:if(Mo(n,i),c&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(x){un(i,i.return,x)}else{var p=Su(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(p,l,n.__reactInternalSnapshotBeforeUpdate)}catch(x){un(i,i.return,x)}}c&64&&op(i),c&512&&qi(i,i.return);break;case 3:if(Mo(n,i),c&64&&(n=i.updateQueue,n!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{gu(n,l)}catch(x){un(i,i.return,x)}}break;case 27:l===null&&c&4&&y0(i);case 26:case 5:Mo(n,i),l===null&&c&4&&h0(i),c&512&&qi(i,i.return);break;case 12:Mo(n,i);break;case 31:Mo(n,i),c&4&&O1(n,i);break;case 13:Mo(n,i),c&4&&S0(n,i),c&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=rr.bind(null,i),rf(n,i))));break;case 22:if(c=i.memoizedState!==null||wo,!c){l=l!==null&&l.memoizedState!==null||ma,p=wo;var g=ma;wo=c,(ma=l)&&!g?ti(n,i,(i.subtreeFlags&8772)!==0):Mo(n,i),wo=p,ma=g}break;case 30:break;default:Mo(n,i)}}function v0(n){var l=n.alternate;l!==null&&(n.alternate=null,v0(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&rh(l)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Rn=null,xl=!1;function Yi(n,l,i){for(i=i.child;i!==null;)b0(n,l,i),i=i.sibling}function b0(n,l,i){if(aa&&typeof aa.onCommitFiberUnmount=="function")try{aa.onCommitFiberUnmount(_n,i)}catch{}switch(i.tag){case 26:ma||ei(i,l),Yi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:ma||ei(i,l);var c=Rn,p=xl;ri(i.type)&&(Rn=i.stateNode,xl=!1),Yi(n,l,i),zs(i.stateNode),Rn=c,xl=p;break;case 5:ma||ei(i,l);case 6:if(c=Rn,p=xl,Rn=null,Yi(n,l,i),Rn=c,xl=p,Rn!==null)if(xl)try{(Rn.nodeType===9?Rn.body:Rn.nodeName==="HTML"?Rn.ownerDocument.body:Rn).removeChild(i.stateNode)}catch(g){un(i,l,g)}else try{Rn.removeChild(i.stateNode)}catch(g){un(i,l,g)}break;case 18:Rn!==null&&(xl?(n=Rn,G0(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),gf(n)):G0(Rn,i.stateNode));break;case 4:c=Rn,p=xl,Rn=i.stateNode.containerInfo,xl=!0,Yi(n,l,i),Rn=c,xl=p;break;case 0:case 11:case 14:case 15:lr(2,i,l),ma||lr(4,i,l),Yi(n,l,i);break;case 1:ma||(ei(i,l),c=i.stateNode,typeof c.componentWillUnmount=="function"&&Tu(i,l,c)),Yi(n,l,i);break;case 21:Yi(n,l,i);break;case 22:ma=(c=ma)||i.memoizedState!==null,Yi(n,l,i),ma=c;break;default:Yi(n,l,i)}}function O1(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{gf(n)}catch(i){un(l,l.return,i)}}}function S0(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{gf(n)}catch(i){un(l,l.return,i)}}function $d(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new g0),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new g0),l;default:throw Error(d(435,n.tag))}}function Zd(n,l){var i=$d(n);l.forEach(function(c){if(!i.has(c)){i.add(c);var p=I1.bind(null,n,c);c.then(p,p)}})}function _l(n,l){var i=l.deletions;if(i!==null)for(var c=0;c<i.length;c++){var p=i[c],g=n,x=l,w=x;e:for(;w!==null;){switch(w.tag){case 27:if(ri(w.type)){Rn=w.stateNode,xl=!1;break e}break;case 5:Rn=w.stateNode,xl=!1;break e;case 3:case 4:Rn=w.stateNode.containerInfo,xl=!0;break e}w=w.return}if(Rn===null)throw Error(d(160));b0(g,x,p),Rn=null,xl=!1,g=p.alternate,g!==null&&(g.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)cp(l,n),l=l.sibling}var At=null;function cp(n,l){var i=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:_l(l,n),Ul(n),c&4&&(lr(3,n,n.return),Ar(3,n),lr(5,n,n.return));break;case 1:_l(l,n),Ul(n),c&512&&(ma||i===null||ei(i,i.return)),c&64&&wo&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?c:i.concat(c))));break;case 26:var p=At;if(_l(l,n),Ul(n),c&512&&(ma||i===null||ei(i,i.return)),c&4){var g=i!==null?i.memoizedState:null;if(c=n.memoizedState,i===null)if(c===null)if(n.stateNode===null){e:{c=n.type,i=n.memoizedProps,p=p.ownerDocument||p;t:switch(c){case"title":g=p.getElementsByTagName("title")[0],(!g||g[Ei]||g[pn]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=p.createElement(c),p.head.insertBefore(g,p.querySelector("head > title"))),Ia(g,c,i),g[pn]=n,an(g),c=g;break e;case"link":var x=Q0("link","href",p).get(c+(i.href||""));if(x){for(var w=0;w<x.length;w++)if(g=x[w],g.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&g.getAttribute("rel")===(i.rel==null?null:i.rel)&&g.getAttribute("title")===(i.title==null?null:i.title)&&g.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){x.splice(w,1);break t}}g=p.createElement(c),Ia(g,c,i),p.head.appendChild(g);break;case"meta":if(x=Q0("meta","content",p).get(c+(i.content||""))){for(w=0;w<x.length;w++)if(g=x[w],g.getAttribute("content")===(i.content==null?null:""+i.content)&&g.getAttribute("name")===(i.name==null?null:i.name)&&g.getAttribute("property")===(i.property==null?null:i.property)&&g.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&g.getAttribute("charset")===(i.charSet==null?null:i.charSet)){x.splice(w,1);break t}}g=p.createElement(c),Ia(g,c,i),p.head.appendChild(g);break;default:throw Error(d(468,c))}g[pn]=n,an(g),c=g}n.stateNode=c}else Up(p,n.type,n.stateNode);else n.stateNode=X0(p,c,n.memoizedProps);else g!==c?(g===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):g.count--,c===null?Up(p,n.type,n.stateNode):X0(p,c,n.memoizedProps)):c===null&&n.stateNode!==null&&up(n,n.memoizedProps,i.memoizedProps)}break;case 27:_l(l,n),Ul(n),c&512&&(ma||i===null||ei(i,i.return)),i!==null&&c&4&&up(n,n.memoizedProps,i.memoizedProps);break;case 5:if(_l(l,n),Ul(n),c&512&&(ma||i===null||ei(i,i.return)),n.flags&32){p=n.stateNode;try{_i(p,"")}catch(Ie){un(n,n.return,Ie)}}c&4&&n.stateNode!=null&&(p=n.memoizedProps,up(n,p,i!==null?i.memoizedProps:p)),c&1024&&(sp=!0);break;case 6:if(_l(l,n),Ul(n),c&4){if(n.stateNode===null)throw Error(d(162));c=n.memoizedProps,i=n.stateNode;try{i.nodeValue=c}catch(Ie){un(n,n.return,Ie)}}break;case 3:if(df=null,p=At,At=il(l.containerInfo),_l(l,n),At=p,Ul(n),c&4&&i!==null&&i.memoizedState.isDehydrated)try{gf(l.containerInfo)}catch(Ie){un(n,n.return,Ie)}sp&&(sp=!1,E0(n));break;case 4:c=At,At=il(n.stateNode.containerInfo),_l(l,n),Ul(n),At=c;break;case 12:_l(l,n),Ul(n);break;case 31:_l(l,n),Ul(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Zd(n,c)));break;case 13:_l(l,n),Ul(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(li=le()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Zd(n,c)));break;case 22:p=n.memoizedState!==null;var G=i!==null&&i.memoizedState!==null,re=wo,ve=ma;if(wo=re||p,ma=ve||G,_l(l,n),ma=ve,wo=re,Ul(n),c&8192)e:for(l=n.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||G||wo||ma||Ns(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){G=i=l;try{if(g=G.stateNode,p)x=g.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{w=G.stateNode;var Ce=G.memoizedProps.style,ie=Ce!=null&&Ce.hasOwnProperty("display")?Ce.display:null;w.style.display=ie==null||typeof ie=="boolean"?"":(""+ie).trim()}}catch(Ie){un(G,G.return,Ie)}}}else if(l.tag===6){if(i===null){G=l;try{G.stateNode.nodeValue=p?"":G.memoizedProps}catch(Ie){un(G,G.return,Ie)}}}else if(l.tag===18){if(i===null){G=l;try{var me=G.stateNode;p?ua(me,!0):ua(G.stateNode,!1)}catch(Ie){un(G,G.return,Ie)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}c&4&&(c=n.updateQueue,c!==null&&(i=c.retryQueue,i!==null&&(c.retryQueue=null,Zd(n,i))));break;case 19:_l(l,n),Ul(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Zd(n,c)));break;case 30:break;case 21:break;default:_l(l,n),Ul(n)}}function Ul(n){var l=n.flags;if(l&2){try{for(var i,c=n.return;c!==null;){if(p0(c)){i=c;break}c=c.return}if(i==null)throw Error(d(160));switch(i.tag){case 27:var p=i.stateNode,g=Yc(n);$c(n,g,p);break;case 5:var x=i.stateNode;i.flags&32&&(_i(x,""),i.flags&=-33);var w=Yc(n);$c(n,w,x);break;case 3:case 4:var G=i.stateNode.containerInfo,re=Yc(n);Gc(n,re,G);break;default:throw Error(d(161))}}catch(ve){un(n,n.return,ve)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function E0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;E0(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function Mo(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Gd(n,l.alternate,l),l=l.sibling}function Ns(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:lr(4,l,l.return),Ns(l);break;case 1:ei(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Tu(l,l.return,i),Ns(l);break;case 27:zs(l.stateNode);case 26:case 5:ei(l,l.return),Ns(l);break;case 22:l.memoizedState===null&&Ns(l);break;case 30:Ns(l);break;default:Ns(l)}n=n.sibling}}function ti(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var c=l.alternate,p=n,g=l,x=g.flags;switch(g.tag){case 0:case 11:case 15:ti(p,g,i),Ar(4,g);break;case 1:if(ti(p,g,i),c=g,p=c.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(re){un(c,c.return,re)}if(c=g,p=c.updateQueue,p!==null){var w=c.stateNode;try{var G=p.shared.hiddenCallbacks;if(G!==null)for(p.shared.hiddenCallbacks=null,p=0;p<G.length;p++)Uh(G[p],w)}catch(re){un(c,c.return,re)}}i&&x&64&&op(g),qi(g,g.return);break;case 27:y0(g);case 26:case 5:ti(p,g,i),i&&c===null&&x&4&&h0(g),qi(g,g.return);break;case 12:ti(p,g,i);break;case 31:ti(p,g,i),i&&x&4&&O1(p,g);break;case 13:ti(p,g,i),i&&x&4&&S0(p,g);break;case 22:g.memoizedState===null&&ti(p,g,i),qi(g,g.return);break;case 30:break;default:ti(p,g,i)}l=l.sibling}}function fp(n,l){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&bd(i))}function dp(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&bd(n))}function Dr(n,l,i,c){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Xc(n,l,i,c),l=l.sibling}function Xc(n,l,i,c){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Dr(n,l,i,c),p&2048&&Ar(9,l);break;case 1:Dr(n,l,i,c);break;case 3:Dr(n,l,i,c),p&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&bd(n)));break;case 12:if(p&2048){Dr(n,l,i,c),n=l.stateNode;try{var g=l.memoizedProps,x=g.id,w=g.onPostCommit;typeof w=="function"&&w(x,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(G){un(l,l.return,G)}}else Dr(n,l,i,c);break;case 31:Dr(n,l,i,c);break;case 13:Dr(n,l,i,c);break;case 23:break;case 22:g=l.stateNode,x=l.alternate,l.memoizedState!==null?g._visibility&2?Dr(n,l,i,c):Xd(n,l):g._visibility&2?Dr(n,l,i,c):(g._visibility|=2,Qc(n,l,i,c,(l.subtreeFlags&10256)!==0||!1)),p&2048&&fp(x,l);break;case 24:Dr(n,l,i,c),p&2048&&dp(l.alternate,l);break;default:Dr(n,l,i,c)}}function Qc(n,l,i,c,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var g=n,x=l,w=i,G=c,re=x.flags;switch(x.tag){case 0:case 11:case 15:Qc(g,x,w,G,p),Ar(8,x);break;case 23:break;case 22:var ve=x.stateNode;x.memoizedState!==null?ve._visibility&2?Qc(g,x,w,G,p):Xd(g,x):(ve._visibility|=2,Qc(g,x,w,G,p)),p&&re&2048&&fp(x.alternate,x);break;case 24:Qc(g,x,w,G,p),p&&re&2048&&dp(x.alternate,x);break;default:Qc(g,x,w,G,p)}l=l.sibling}}function Xd(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,c=l,p=c.flags;switch(c.tag){case 22:Xd(i,c),p&2048&&fp(c.alternate,c);break;case 24:Xd(i,c),p&2048&&dp(c.alternate,c);break;default:Xd(i,c)}l=l.sibling}}var Vl=8192;function Gi(n,l,i){if(n.subtreeFlags&Vl)for(n=n.child;n!==null;)w1(n,l,i),n=n.sibling}function w1(n,l,i){switch(n.tag){case 26:Gi(n,l,i),n.flags&Vl&&n.memoizedState!==null&&Ji(i,At,n.memoizedState,n.memoizedProps);break;case 5:Gi(n,l,i);break;case 3:case 4:var c=At;At=il(n.stateNode.containerInfo),Gi(n,l,i),At=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=Vl,Vl=16777216,Gi(n,l,i),Vl=c):Gi(n,l,i));break;default:Gi(n,l,i)}}function mp(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function Jc(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var c=l[i];Ha=c,hp(c,n)}mp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)x0(n),n=n.sibling}function x0(n){switch(n.tag){case 0:case 11:case 15:Jc(n),n.flags&2048&&lr(9,n,n.return);break;case 3:Jc(n);break;case 12:Jc(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Qd(n)):Jc(n);break;default:Jc(n)}}function Qd(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var c=l[i];Ha=c,hp(c,n)}mp(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:lr(8,l,l.return),Qd(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Qd(l));break;default:Qd(l)}n=n.sibling}}function hp(n,l){for(;Ha!==null;){var i=Ha;switch(i.tag){case 0:case 11:case 15:lr(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var c=i.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:bd(i.memoizedState.cache)}if(c=i.child,c!==null)c.return=i,Ha=c;else e:for(i=n;Ha!==null;){c=Ha;var p=c.sibling,g=c.return;if(v0(c),c===i){Ha=null;break e}if(p!==null){p.return=g,Ha=p;break e}Ha=g}}}var M1={getCacheForType:function(n){var l=Ae(ra),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return Ae(ra).controller.signal}},_0=typeof WeakMap=="function"?WeakMap:Map,Kt=0,gn=null,Ht=null,Ut=0,on=0,ht=null,$i=!1,Cu=!1,pp=!1,ni=0,On=0,ai=0,As=0,yp=0,Tl=0,Zn=0,Jd=null,Xn=null,gp=!1,li=0,T0=0,Wt=1/0,Kc=null,kn=null,xa=0,zo=null,Nu=null,Zi=0,Bl=0,vp=null,bp=null,Fc=0,Kd=null;function kl(){return(Kt&2)!==0&&Ut!==0?Ut&-Ut:V.T!==null?Tp():ah()}function z1(){if(Tl===0)if((Ut&536870912)===0||kt){var n=Ve;Ve<<=1,(Ve&3932160)===0&&(Ve=262144),Tl=n}else Tl=536870912;return n=vl.current,n!==null&&(n.flags|=32),Tl}function Cl(n,l,i){(n===gn&&(on===2||on===9)||n.cancelPendingCommit!==null)&&(Xi(n,0),jo(n,Ut,Tl,!1)),Io(n,i),((Kt&2)===0||n!==gn)&&(n===gn&&((Kt&2)===0&&(As|=i),On===4&&jo(n,Ut,Tl,!1)),Qi(n))}function j1(n,l,i){if((Kt&6)!==0)throw Error(d(327));var c=!i&&(l&127)===0&&(l&n.expiredLanes)===0||jt(n,l),p=c?H1(n,l):Ep(n,l,!0),g=c;do{if(p===0){Cu&&!c&&jo(n,l,0,!1);break}else{if(i=n.current.alternate,g&&!U1(i)){p=Ep(n,l,!1),g=!1;continue}if(p===2){if(g=l,n.errorRecoveryDisabledLanes&g)var x=0;else x=n.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){l=x;e:{var w=n;p=Jd;var G=w.current.memoizedState.isDehydrated;if(G&&(Xi(w,x).flags|=256),x=Ep(w,x,!1),x!==2){if(pp&&!G){w.errorRecoveryDisabledLanes|=g,As|=g,p=4;break e}g=Xn,Xn=p,g!==null&&(Xn===null?Xn=g:Xn.push.apply(Xn,g))}p=x}if(g=!1,p!==2)continue}}if(p===1){Xi(n,0),jo(n,l,0,!0);break}e:{switch(c=n,g=p,g){case 0:case 1:throw Error(d(345));case 4:if((l&4194048)!==l)break;case 6:jo(c,l,Tl,!$i);break e;case 2:Xn=null;break;case 3:case 5:break;default:throw Error(d(329))}if((l&62914560)===l&&(p=li+300-le(),10<p)){if(jo(c,l,Tl,!$i),tt(c,0,!0)!==0)break e;Zi=l,c.timeoutHandle=rm(Fd.bind(null,c,i,Xn,Kc,gp,l,Tl,As,Zn,$i,g,"Throttled",-0,0),p);break e}Fd(c,i,Xn,Kc,gp,l,Tl,As,Zn,$i,g,null,-0,0)}}break}while(!0);Qi(n)}function Fd(n,l,i,c,p,g,x,w,G,re,ve,Ce,ie,me){if(n.timeoutHandle=-1,Ce=l.subtreeFlags,Ce&8192||(Ce&16785408)===16785408){Ce={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Lr},w1(l,g,Ce);var Ie=(g&62914560)===g?li-le():(g&4194048)===g?T0-le():0;if(Ie=K0(Ce,Ie),Ie!==null){Zi=g,n.cancelPendingCommit=Ie(G1.bind(null,n,l,g,i,c,p,x,w,G,ve,Ce,null,ie,me)),jo(n,g,x,!re);return}}G1(n,l,g,i,c,p,x,w,G)}function U1(n){for(var l=n;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var c=0;c<i.length;c++){var p=i[c],g=p.getSnapshot;p=p.value;try{if(!ll(g(),p))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function jo(n,l,i,c){l&=~yp,l&=~As,n.suspendedLanes|=l,n.pingedLanes&=~l,c&&(n.warmLanes|=l),c=n.expirationTimes;for(var p=l;0<p;){var g=31-Fn(p),x=1<<g;c[g]=-1,p&=~x}i!==0&&Pf(n,i,l)}function Ic(){return(Kt&6)===0?(Vo(0),!1):!0}function C0(){if(Ht!==null){if(on===0)var n=Ht.return;else n=Ht,Kr=_o=null,Rd(n),mu=null,ps=0,n=Ht;for(;n!==null;)R1(n.alternate,n),n=n.return;Ht=null}}function Xi(n,l){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,rS(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),Zi=0,C0(),gn=n,Ht=i=Eo(n.current,null),Ut=l,on=0,ht=null,$i=!1,Cu=jt(n,l),pp=!1,Zn=Tl=yp=As=ai=On=0,Xn=Jd=null,gp=!1,(l&8)!==0&&(l|=l&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=l;0<c;){var p=31-Fn(c),g=1<<p;l|=n[p],c&=~g}return ni=l,Ql(),i}function Pc(n,l){_t=null,V.H=Bd,l===cu||l===Rc?(l=jg(),on=3):l===ms?(l=jg(),on=4):on=l===np?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,ht=l,Ht===null&&(On=1,Lc(n,Kl(l,n.current)))}function V1(){var n=vl.current;return n===null?!0:(Ut&4194048)===Ut?er===null:(Ut&62914560)===Ut||(Ut&536870912)!==0?n===er:!1}function B1(){var n=V.H;return V.H=Bd,n===null?Bd:n}function k1(){var n=V.A;return V.A=M1,n}function Sp(){On=4,$i||(Ut&4194048)!==Ut&&vl.current!==null||(Cu=!0),(ai&134217727)===0&&(As&134217727)===0||gn===null||jo(gn,Ut,Tl,!1)}function Ep(n,l,i){var c=Kt;Kt|=2;var p=B1(),g=k1();(gn!==n||Ut!==l)&&(Kc=null,Xi(n,l)),l=!1;var x=On;e:do try{if(on!==0&&Ht!==null){var w=Ht,G=ht;switch(on){case 8:C0(),x=6;break e;case 3:case 2:case 9:case 6:vl.current===null&&(l=!0);var re=on;if(on=0,ht=null,Ds(n,w,G,re),i&&Cu){x=0;break e}break;default:re=on,on=0,ht=null,Ds(n,w,G,re)}}Vx(),x=On;break}catch(ve){Pc(n,ve)}while(!0);return l&&n.shellSuspendCounter++,Kr=_o=null,Kt=c,V.H=p,V.A=g,Ht===null&&(gn=null,Ut=0,Ql()),x}function Vx(){for(;Ht!==null;)L1(Ht)}function H1(n,l){var i=Kt;Kt|=2;var c=B1(),p=k1();gn!==n||Ut!==l?(Kc=null,Wt=le()+500,Xi(n,l)):Cu=jt(n,l);e:do try{if(on!==0&&Ht!==null){l=Ht;var g=ht;t:switch(on){case 1:on=0,ht=null,Ds(n,l,g,1);break;case 2:case 9:if(Mg(g)){on=0,ht=null,q1(l);break}l=function(){on!==2&&on!==9||gn!==n||(on=7),Qi(n)},g.then(l,l);break e;case 3:on=7;break e;case 4:on=5;break e;case 7:Mg(g)?(on=0,ht=null,q1(l)):(on=0,ht=null,Ds(n,l,g,7));break;case 5:var x=null;switch(Ht.tag){case 26:x=Ht.memoizedState;case 5:case 27:var w=Ht;if(x?Ll(x):w.stateNode.complete){on=0,ht=null;var G=w.sibling;if(G!==null)Ht=G;else{var re=w.return;re!==null?(Ht=re,Id(re)):Ht=null}break t}}on=0,ht=null,Ds(n,l,g,5);break;case 6:on=0,ht=null,Ds(n,l,g,6);break;case 8:C0(),On=6;break e;default:throw Error(d(462))}}Au();break}catch(ve){Pc(n,ve)}while(!0);return Kr=_o=null,V.H=c,V.A=p,Kt=i,Ht!==null?0:(gn=null,Ut=0,Ql(),On)}function Au(){for(;Ht!==null&&!Y();)L1(Ht)}function L1(n){var l=f0(n.alternate,n,ni);n.memoizedProps=n.pendingProps,l===null?Id(n):Ht=l}function q1(n){var l=n,i=l.alternate;switch(l.tag){case 15:case 0:l=xu(i,l,l.pendingProps,l.type,void 0,Ut);break;case 11:l=xu(i,l,l.pendingProps,l.type.render,l.ref,Ut);break;case 5:Rd(l);default:R1(i,l),l=Ht=Cg(l,ni),l=f0(i,l,ni)}n.memoizedProps=n.pendingProps,l===null?Id(n):Ht=l}function Ds(n,l,i,c){Kr=_o=null,Rd(l),mu=null,ps=0;var p=l.return;try{if(Ux(n,p,l,i,Ut)){On=1,Lc(n,Kl(i,n.current)),Ht=null;return}}catch(g){if(p!==null)throw Ht=p,g;On=1,Lc(n,Kl(i,n.current)),Ht=null;return}l.flags&32768?(kt||c===1?n=!0:Cu||(Ut&536870912)!==0?n=!1:($i=n=!0,(c===2||c===9||c===3||c===6)&&(c=vl.current,c!==null&&c.tag===13&&(c.flags|=16384))),Y1(l,n)):Id(l)}function Id(n){var l=n;do{if((l.flags&32768)!==0){Y1(l,$i);return}n=l.return;var i=A1(l.alternate,l,ni);if(i!==null){Ht=i;return}if(l=l.sibling,l!==null){Ht=l;return}Ht=l=n}while(l!==null);On===0&&(On=5)}function Y1(n,l){do{var i=D1(n.alternate,n);if(i!==null){i.flags&=32767,Ht=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(n=n.sibling,n!==null)){Ht=n;return}Ht=n=i}while(n!==null);On=6,Ht=null}function G1(n,l,i,c,p,g,x,w,G){n.cancelPendingCommit=null;do Wc();while(xa!==0);if((Kt&6)!==0)throw Error(d(327));if(l!==null){if(l===n.current)throw Error(d(177));if(g=l.lanes|l.childLanes,g|=xr,sc(n,i,g,x,w,G),n===gn&&(Ht=gn=null,Ut=0),Nu=l,zo=n,Zi=i,Bl=g,vp=p,bp=c,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,P1(Qe,function(){return J1(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||c){c=V.T,V.T=null,p=ne.p,ne.p=2,x=Kt,Kt|=4;try{Zc(n,l,i)}finally{Kt=x,ne.p=p,V.T=c}}xa=1,$1(),Z1(),X1()}}function $1(){if(xa===1){xa=0;var n=zo,l=Nu,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=V.T,V.T=null;var c=ne.p;ne.p=2;var p=Kt;Kt|=4;try{cp(l,n);var g=Op,x=ru(n.containerInfo),w=g.focusedElem,G=g.selectionRange;if(x!==w&&w&&w.ownerDocument&&rs(w.ownerDocument.documentElement,w)){if(G!==null&&sd(w)){var re=G.start,ve=G.end;if(ve===void 0&&(ve=re),"selectionStart"in w)w.selectionStart=re,w.selectionEnd=Math.min(ve,w.value.length);else{var Ce=w.ownerDocument||document,ie=Ce&&Ce.defaultView||window;if(ie.getSelection){var me=ie.getSelection(),Ie=w.textContent.length,ft=Math.min(G.start,Ie),bn=G.end===void 0?ft:Math.min(G.end,Ie);!me.extend&&ft>bn&&(x=bn,bn=ft,ft=x);var P=_g(w,ft),J=_g(w,bn);if(P&&J&&(me.rangeCount!==1||me.anchorNode!==P.node||me.anchorOffset!==P.offset||me.focusNode!==J.node||me.focusOffset!==J.offset)){var ae=Ce.createRange();ae.setStart(P.node,P.offset),me.removeAllRanges(),ft>bn?(me.addRange(ae),me.extend(J.node,J.offset)):(ae.setEnd(J.node,J.offset),me.addRange(ae))}}}}for(Ce=[],me=w;me=me.parentNode;)me.nodeType===1&&Ce.push({element:me,left:me.scrollLeft,top:me.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<Ce.length;w++){var _e=Ce[w];_e.element.scrollLeft=_e.left,_e.element.scrollTop=_e.top}}_a=!!Rp,Op=Rp=null}finally{Kt=p,ne.p=c,V.T=i}}n.current=l,xa=2}}function Z1(){if(xa===2){xa=0;var n=zo,l=Nu,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=V.T,V.T=null;var c=ne.p;ne.p=2;var p=Kt;Kt|=4;try{Gd(n,l.alternate,l)}finally{Kt=p,ne.p=c,V.T=i}}xa=3}}function X1(){if(xa===4||xa===3){xa=0,te();var n=zo,l=Nu,i=Zi,c=bp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?xa=5:(xa=0,Nu=zo=null,Q1(n,n.pendingLanes));var p=n.pendingLanes;if(p===0&&(kn=null),Iy(i),l=l.stateNode,aa&&typeof aa.onCommitFiberRoot=="function")try{aa.onCommitFiberRoot(_n,l,void 0,(l.current.flags&128)===128)}catch{}if(c!==null){l=V.T,p=ne.p,ne.p=2,V.T=null;try{for(var g=n.onRecoverableError,x=0;x<c.length;x++){var w=c[x];g(w.value,{componentStack:w.stack})}}finally{V.T=l,ne.p=p}}(Zi&3)!==0&&Wc(),Qi(n),p=n.pendingLanes,(i&261930)!==0&&(p&42)!==0?n===Kd?Fc++:(Fc=0,Kd=n):Fc=0,Vo(0)}}function Q1(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,bd(l)))}function Wc(){return $1(),Z1(),X1(),J1()}function J1(){if(xa!==5)return!1;var n=zo,l=Bl;Bl=0;var i=Iy(Zi),c=V.T,p=ne.p;try{ne.p=32>i?32:i,V.T=null,i=vp,vp=null;var g=zo,x=Zi;if(xa=0,Nu=zo=null,Zi=0,(Kt&6)!==0)throw Error(d(331));var w=Kt;if(Kt|=4,x0(g.current),Xc(g,g.current,x,i),Kt=w,Vo(0,!1),aa&&typeof aa.onPostCommitFiberRoot=="function")try{aa.onPostCommitFiberRoot(_n,g)}catch{}return!0}finally{ne.p=p,V.T=c,Q1(n,l)}}function K1(n,l,i){l=Kl(i,l),l=n0(n.stateNode,l,2),n=Wl(n,l,2),n!==null&&(Io(n,2),Qi(n))}function un(n,l,i){if(n.tag===3)K1(n,n,i);else for(;l!==null;){if(l.tag===3){K1(l,n,i);break}else if(l.tag===1){var c=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(kn===null||!kn.has(c))){n=Kl(i,n),i=a0(2),c=Wl(l,i,2),c!==null&&(l0(i,c,l,n),Io(c,2),Qi(c));break}}l=l.return}}function Pd(n,l,i){var c=n.pingCache;if(c===null){c=n.pingCache=new _0;var p=new Set;c.set(l,p)}else p=c.get(l),p===void 0&&(p=new Set,c.set(l,p));p.has(i)||(pp=!0,p.add(i),n=N0.bind(null,n,l,i),l.then(n,n))}function N0(n,l,i){var c=n.pingCache;c!==null&&c.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,gn===n&&(Ut&i)===i&&(On===4||On===3&&(Ut&62914560)===Ut&&300>le()-li?(Kt&2)===0&&Xi(n,0):yp|=i,Zn===Ut&&(Zn=0)),Qi(n)}function F1(n,l){l===0&&(l=nl()),n=So(n,l),n!==null&&(Io(n,l),Qi(n))}function rr(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),F1(n,i)}function I1(n,l){var i=0;switch(n.tag){case 31:case 13:var c=n.stateNode,p=n.memoizedState;p!==null&&(i=p.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(d(314))}c!==null&&c.delete(l),F1(n,i)}function P1(n,l){return Fe(n,l)}var ef=null,Rs=null,A0=!1,xp=!1,D0=!1,Uo=0;function Qi(n){n!==Rs&&n.next===null&&(Rs===null?ef=Rs=n:Rs=Rs.next=n),xp=!0,A0||(A0=!0,em())}function Vo(n,l){if(!D0&&xp){D0=!0;do for(var i=!1,c=ef;c!==null;){if(n!==0){var p=c.pendingLanes;if(p===0)var g=0;else{var x=c.suspendedLanes,w=c.pingedLanes;g=(1<<31-Fn(42|n)+1)-1,g&=p&~(x&~w),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(i=!0,Os(c,g))}else g=Ut,g=tt(c,c===gn?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||jt(c,g)||(i=!0,Os(c,g));c=c.next}while(i);D0=!1}}function _p(){R0()}function R0(){xp=A0=!1;var n=0;Uo!==0&&Bx()&&(n=Uo);for(var l=le(),i=null,c=ef;c!==null;){var p=c.next,g=O0(c,l);g===0?(c.next=null,i===null?ef=p:i.next=p,p===null&&(Rs=i)):(i=c,(n!==0||(g&3)!==0)&&(xp=!0)),c=p}xa!==0&&xa!==5||Vo(n),Uo!==0&&(Uo=0)}function O0(n,l){for(var i=n.suspendedLanes,c=n.pingedLanes,p=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var x=31-Fn(g),w=1<<x,G=p[x];G===-1?((w&i)===0||(w&c)!==0)&&(p[x]=Et(w,l)):G<=l&&(n.expiredLanes|=w),g&=~w}if(l=gn,i=Ut,i=tt(n,n===l?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,i===0||n===l&&(on===2||on===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&kr(c),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||jt(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(c!==null&&kr(c),Iy(i)){case 2:case 8:i=ke;break;case 32:i=Qe;break;case 268435456:i=qt;break;default:i=Qe}return c=Wd.bind(null,n),i=Fe(i,c),n.callbackPriority=l,n.callbackNode=i,l}return c!==null&&c!==null&&kr(c),n.callbackPriority=2,n.callbackNode=null,2}function Wd(n,l){if(xa!==0&&xa!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Wc()&&n.callbackNode!==i)return null;var c=Ut;return c=tt(n,n===gn?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(j1(n,c,l),O0(n,le()),n.callbackNode!=null&&n.callbackNode===i?Wd.bind(null,n):null)}function Os(n,l){if(Wc())return null;j1(n,l,!0)}function em(){iS(function(){(Kt&6)!==0?Fe(Ue,_p):R0()})}function Tp(){if(Uo===0){var n=su;n===0&&(n=Oe,Oe<<=1,(Oe&261888)===0&&(Oe=256)),Uo=n}return Uo}function W1(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:vr(""+n)}function ws(n,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,n.id&&i.setAttribute("form",n.id),l.parentNode.insertBefore(i,l),n=new FormData(n),i.parentNode.removeChild(i),n}function tm(n,l,i,c,p){if(l==="submit"&&i&&i.stateNode===p){var g=W1((p[dl]||null).action),x=c.submitter;x&&(l=(l=x[dl]||null)?W1(l.formAction):x.getAttribute("formAction"),l!==null&&(g=l,x=null));var w=new id("action","action",null,c,p);n.push({event:w,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Uo!==0){var G=x?ws(p,x):new FormData(p);kc(i,{pending:!0,data:G,method:p.method,action:g},null,G)}}else typeof g=="function"&&(w.preventDefault(),G=x?ws(p,x):new FormData(p),kc(i,{pending:!0,data:G,method:p.method,action:g},g,G))},currentTarget:p}]})}}for(var Cp=0;Cp<_c.length;Cp++){var tf=_c[Cp],w0=tf.toLowerCase(),M0=tf[0].toUpperCase()+tf.slice(1);hl(w0,"on"+M0)}hl(fd,"onAnimationEnd"),hl(Tg,"onAnimationIteration"),hl(Ch,"onAnimationStart"),hl("dblclick","onDoubleClick"),hl("focusin","onFocus"),hl("focusout","onBlur"),hl(is,"onTransitionRun"),hl(dd,"onTransitionStart"),hl(Ai,"onTransitionCancel"),hl(c1,"onTransitionEnd"),xi("onMouseEnter",["mouseout","mouseover"]),xi("onMouseLeave",["mouseout","mouseover"]),xi("onPointerEnter",["pointerout","pointerover"]),xi("onPointerLeave",["pointerout","pointerover"]),eu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eu("onBeforeInput",["compositionend","keypress","textInput","paste"]),eu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nf="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(" "),eS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(nf));function tS(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var c=n[i],p=c.event;c=c.listeners;e:{var g=void 0;if(l)for(var x=c.length-1;0<=x;x--){var w=c[x],G=w.instance,re=w.currentTarget;if(w=w.listener,G!==g&&p.isPropagationStopped())break e;g=w,p.currentTarget=re;try{g(p)}catch(ve){os(ve)}p.currentTarget=null,g=G}else for(x=0;x<c.length;x++){if(w=c[x],G=w.instance,re=w.currentTarget,w=w.listener,G!==g&&p.isPropagationStopped())break e;g=w,p.currentTarget=re;try{g(p)}catch(ve){os(ve)}p.currentTarget=null,g=G}}}}function Bt(n,l){var i=l[lh];i===void 0&&(i=l[lh]=new Set);var c=n+"__bubble";i.has(c)||(nm(l,n,2,!1),i.add(c))}function z0(n,l,i){var c=0;l&&(c|=4),nm(i,n,c,l)}var Np="_reactListening"+Math.random().toString(36).slice(2);function af(n){if(!n[Np]){n[Np]=!0,Ku.forEach(function(i){i!=="selectionchange"&&(eS.has(i)||z0(i,!1,n),z0(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[Np]||(l[Np]=!0,z0("selectionchange",!1,l))}}function nm(n,l,i,c){switch(fm(l)){case 2:var p=Ki;break;case 8:p=Fi;break;default:p=Pa}i=p.bind(null,l,i,n),p=void 0,!ld||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),c?p!==void 0?n.addEventListener(l,i,{capture:!0,passive:p}):n.addEventListener(l,i,!0):p!==void 0?n.addEventListener(l,i,{passive:p}):n.addEventListener(l,i,!1)}function j0(n,l,i,c,p){var g=c;if((l&1)===0&&(l&2)===0&&c!==null)e:for(;;){if(c===null)return;var x=c.tag;if(x===3||x===4){var w=c.stateNode.containerInfo;if(w===p)break;if(x===4)for(x=c.return;x!==null;){var G=x.tag;if((G===3||G===4)&&x.stateNode.containerInfo===p)return;x=x.return}for(;w!==null;){if(x=Xu(w),x===null)return;if(G=x.tag,G===5||G===6||G===26||G===27){c=g=x;continue e}w=w.parentNode}}c=c.return}ig(function(){var re=g,ve=dh(i),Ce=[];e:{var ie=Di.get(n);if(ie!==void 0){var me=id,Ie=n;switch(n){case"keypress":if(hh(i)===0)break e;case"keydown":case"keyup":me=vh;break;case"focusin":Ie="focus",me=yh;break;case"focusout":Ie="blur",me=yh;break;case"beforeblur":case"afterblur":me=yh;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":me=vc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":me=Pb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":me=a1;break;case fd:case Tg:case Ch:me=e1;break;case c1:me=wx;break;case"scroll":case"scrollend":me=Rx;break;case"wheel":me=Mx;break;case"copy":case"cut":case"paste":me=Wu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":me=Gr;break;case"toggle":case"beforetoggle":me=pg}var ft=(l&4)!==0,bn=!ft&&(n==="scroll"||n==="scrollend"),P=ft?ie!==null?ie+"Capture":null:ie;ft=[];for(var J=re,ae;J!==null;){var _e=J;if(ae=_e.stateNode,_e=_e.tag,_e!==5&&_e!==26&&_e!==27||ae===null||P===null||(_e=za(J,P),_e!=null&&ft.push(am(J,_e,ae))),bn)break;J=J.return}0<ft.length&&(ie=new me(ie,Ie,null,i,ve),Ce.push({event:ie,listeners:ft}))}}if((l&7)===0){e:{if(ie=n==="mouseover"||n==="pointerover",me=n==="mouseout"||n==="pointerout",ie&&i!==fh&&(Ie=i.relatedTarget||i.fromElement)&&(Xu(Ie)||Ie[Po]))break e;if((me||ie)&&(ie=ve.window===ve?ve:(ie=ve.ownerDocument)?ie.defaultView||ie.parentWindow:window,me?(Ie=i.relatedTarget||i.toElement,me=re,Ie=Ie?Xu(Ie):null,Ie!==null&&(bn=y(Ie),ft=Ie.tag,Ie!==bn||ft!==5&&ft!==27&&ft!==6)&&(Ie=null)):(me=null,Ie=re),me!==Ie)){if(ft=vc,_e="onMouseLeave",P="onMouseEnter",J="mouse",(n==="pointerout"||n==="pointerover")&&(ft=Gr,_e="onPointerLeave",P="onPointerEnter",J="pointer"),bn=me==null?ie:cc(me),ae=Ie==null?ie:cc(Ie),ie=new ft(_e,J+"leave",me,i,ve),ie.target=bn,ie.relatedTarget=ae,_e=null,Xu(ve)===re&&(ft=new ft(P,J+"enter",Ie,i,ve),ft.target=ae,ft.relatedTarget=bn,_e=ft),bn=_e,me&&Ie)t:{for(ft=nS,P=me,J=Ie,ae=0,_e=P;_e;_e=ft(_e))ae++;_e=0;for(var ot=J;ot;ot=ft(ot))_e++;for(;0<ae-_e;)P=ft(P),ae--;for(;0<_e-ae;)J=ft(J),_e--;for(;ae--;){if(P===J||J!==null&&P===J.alternate){ft=P;break t}P=ft(P),J=ft(J)}ft=null}else ft=null;me!==null&&Ap(Ce,ie,me,ft,!1),Ie!==null&&bn!==null&&Ap(Ce,bn,Ie,ft,!0)}}e:{if(ie=re?cc(re):window,me=ie.nodeName&&ie.nodeName.toLowerCase(),me==="select"||me==="input"&&ie.type==="file")var Qt=Sg;else if(Ni(ie))if(Eh)Qt=ls;else{Qt=u1;var nt=o1}else me=ie.nodeName,!me||me.toLowerCase()!=="input"||ie.type!=="checkbox"&&ie.type!=="radio"?re&&rg(re.elementType)&&(Qt=Sg):Qt=lu;if(Qt&&(Qt=Qt(n,re))){bg(Ce,Qt,i,ve);break e}nt&&nt(n,ie,re),n==="focusout"&&re&&ie.type==="number"&&re.memoizedProps.value!=null&&Fu(ie,"number",ie.value)}switch(nt=re?cc(re):window,n){case"focusin":(Ni(nt)||nt.contentEditable==="true")&&(iu=nt,Ec=re,Er=null);break;case"focusout":Er=Ec=iu=null;break;case"mousedown":Zr=!0;break;case"contextmenu":case"mouseup":case"dragend":Zr=!1,Th(Ce,i,ve);break;case"selectionchange":if(cd)break;case"keydown":case"keyup":Th(Ce,i,ve)}var xt;if(bc)e:{switch(n){case"compositionstart":var Dt="onCompositionStart";break e;case"compositionend":Dt="onCompositionEnd";break e;case"compositionupdate":Dt="onCompositionUpdate";break e}Dt=void 0}else ts?Sh(n,i)&&(Dt="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(Dt="onCompositionStart");Dt&&(yg&&i.locale!=="ko"&&(ts||Dt!=="onCompositionStart"?Dt==="onCompositionEnd"&&ts&&(xt=ug()):(vo=ve,og="value"in vo?vo.value:vo.textContent,ts=!0)),nt=lm(re,Dt),0<nt.length&&(Dt=new t1(Dt,n,null,i,ve),Ce.push({event:Dt,listeners:nt}),xt?Dt.data=xt:(xt=gg(i),xt!==null&&(Dt.data=xt)))),(xt=al?i1(n,i):zx(n,i))&&(Dt=lm(re,"onBeforeInput"),0<Dt.length&&(nt=new t1("onBeforeInput","beforeinput",null,i,ve),Ce.push({event:nt,listeners:Dt}),nt.data=xt)),tm(Ce,n,re,i,ve)}tS(Ce,l)})}function am(n,l,i){return{instance:n,listener:l,currentTarget:i}}function lm(n,l){for(var i=l+"Capture",c=[];n!==null;){var p=n,g=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||g===null||(p=za(n,i),p!=null&&c.unshift(am(n,p,g)),p=za(n,l),p!=null&&c.push(am(n,p,g))),n.tag===3)return c;n=n.return}return[]}function nS(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Ap(n,l,i,c,p){for(var g=l._reactName,x=[];i!==null&&i!==c;){var w=i,G=w.alternate,re=w.stateNode;if(w=w.tag,G!==null&&G===c)break;w!==5&&w!==26&&w!==27||re===null||(G=re,p?(re=za(i,g),re!=null&&x.unshift(am(i,re,G))):p||(re=za(i,g),re!=null&&x.push(am(i,re,G)))),i=i.return}x.length!==0&&n.push({event:l,listeners:x})}var aS=/\r\n?/g,U0=/\u0000|\uFFFD/g;function V0(n){return(typeof n=="string"?n:""+n).replace(aS,`
102
- `).replace(U0,"")}function B0(n,l){return l=V0(l),V0(n)===l}function vn(n,l,i,c,p,g){switch(i){case"children":typeof c=="string"?l==="body"||l==="textarea"&&c===""||_i(n,c):(typeof c=="number"||typeof c=="bigint")&&l!=="body"&&_i(n,""+c);break;case"className":uh(n,"class",c);break;case"tabIndex":uh(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":uh(n,i,c);break;case"style":Kb(n,c,g);break;case"data":if(l!=="object"){uh(n,"data",c);break}case"src":case"href":if(c===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(i);break}c=vr(""+c),n.setAttribute(i,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(i==="formAction"?(l!=="input"&&vn(n,l,"name",p.name,p,null),vn(n,l,"formEncType",p.formEncType,p,null),vn(n,l,"formMethod",p.formMethod,p,null),vn(n,l,"formTarget",p.formTarget,p,null)):(vn(n,l,"encType",p.encType,p,null),vn(n,l,"method",p.method,p,null),vn(n,l,"target",p.target,p,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(i);break}c=vr(""+c),n.setAttribute(i,c);break;case"onClick":c!=null&&(n.onclick=Lr);break;case"onScroll":c!=null&&Bt("scroll",n);break;case"onScrollEnd":c!=null&&Bt("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(d(61));if(i=c.__html,i!=null){if(p.children!=null)throw Error(d(60));n.innerHTML=i}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}i=vr(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(i,""+c):n.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":c===!0?n.setAttribute(i,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(i,c):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(i,c):n.removeAttribute(i);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(i):n.setAttribute(i,c);break;case"popover":Bt("beforetoggle",n),Bt("toggle",n),mc(n,"popover",c);break;case"xlinkActuate":yo(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":yo(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":yo(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":yo(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":yo(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":yo(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":yo(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":yo(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":yo(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":mc(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=Dx.get(i)||i,mc(n,i,c))}}function k0(n,l,i,c,p,g){switch(i){case"style":Kb(n,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(d(61));if(i=c.__html,i!=null){if(p.children!=null)throw Error(d(60));n.innerHTML=i}}break;case"children":typeof c=="string"?_i(n,c):(typeof c=="number"||typeof c=="bigint")&&_i(n,""+c);break;case"onScroll":c!=null&&Bt("scroll",n);break;case"onScrollEnd":c!=null&&Bt("scrollend",n);break;case"onClick":c!=null&&(n.onclick=Lr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wo.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(p=i.endsWith("Capture"),l=i.slice(2,p?i.length-7:void 0),g=n[dl]||null,g=g!=null?g[i]:null,typeof g=="function"&&n.removeEventListener(l,g,p),typeof c=="function")){typeof g!="function"&&g!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,c,p);break e}i in n?n[i]=c:c===!0?n.setAttribute(i,""):mc(n,i,c)}}}function Ia(n,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Bt("error",n),Bt("load",n);var c=!1,p=!1,g;for(g in i)if(i.hasOwnProperty(g)){var x=i[g];if(x!=null)switch(g){case"src":c=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,l));default:vn(n,l,g,x,i,null)}}p&&vn(n,l,"srcSet",i.srcSet,i,null),c&&vn(n,l,"src",i.src,i,null);return;case"input":Bt("invalid",n);var w=g=x=p=null,G=null,re=null;for(c in i)if(i.hasOwnProperty(c)){var ve=i[c];if(ve!=null)switch(c){case"name":p=ve;break;case"type":x=ve;break;case"checked":G=ve;break;case"defaultChecked":re=ve;break;case"value":g=ve;break;case"defaultValue":w=ve;break;case"children":case"dangerouslySetInnerHTML":if(ve!=null)throw Error(d(137,l));break;default:vn(n,l,c,ve,i,null)}}td(n,g,w,G,re,x,p,!1);return;case"select":Bt("invalid",n),c=x=g=null;for(p in i)if(i.hasOwnProperty(p)&&(w=i[p],w!=null))switch(p){case"value":g=w;break;case"defaultValue":x=w;break;case"multiple":c=w;default:vn(n,l,p,w,i,null)}l=g,i=x,n.multiple=!!c,l!=null?hc(n,!!c,l,!1):i!=null&&hc(n,!!c,i,!0);return;case"textarea":Bt("invalid",n),g=p=c=null;for(x in i)if(i.hasOwnProperty(x)&&(w=i[x],w!=null))switch(x){case"value":c=w;break;case"defaultValue":p=w;break;case"children":g=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(d(91));break;default:vn(n,l,x,w,i,null)}lg(n,c,p,g);return;case"option":for(G in i)if(i.hasOwnProperty(G)&&(c=i[G],c!=null))switch(G){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:vn(n,l,G,c,i,null)}return;case"dialog":Bt("beforetoggle",n),Bt("toggle",n),Bt("cancel",n),Bt("close",n);break;case"iframe":case"object":Bt("load",n);break;case"video":case"audio":for(c=0;c<nf.length;c++)Bt(nf[c],n);break;case"image":Bt("error",n),Bt("load",n);break;case"details":Bt("toggle",n);break;case"embed":case"source":case"link":Bt("error",n),Bt("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(re in i)if(i.hasOwnProperty(re)&&(c=i[re],c!=null))switch(re){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,l));default:vn(n,l,re,c,i,null)}return;default:if(rg(l)){for(ve in i)i.hasOwnProperty(ve)&&(c=i[ve],c!==void 0&&k0(n,l,ve,c,i,void 0));return}}for(w in i)i.hasOwnProperty(w)&&(c=i[w],c!=null&&vn(n,l,w,c,i,null))}function H0(n,l,i,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,g=null,x=null,w=null,G=null,re=null,ve=null;for(me in i){var Ce=i[me];if(i.hasOwnProperty(me)&&Ce!=null)switch(me){case"checked":break;case"value":break;case"defaultValue":G=Ce;default:c.hasOwnProperty(me)||vn(n,l,me,null,c,Ce)}}for(var ie in c){var me=c[ie];if(Ce=i[ie],c.hasOwnProperty(ie)&&(me!=null||Ce!=null))switch(ie){case"type":g=me;break;case"name":p=me;break;case"checked":re=me;break;case"defaultChecked":ve=me;break;case"value":x=me;break;case"defaultValue":w=me;break;case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(d(137,l));break;default:me!==Ce&&vn(n,l,ie,me,c,Ce)}}ed(n,x,w,G,re,ve,g,p);return;case"select":me=x=w=ie=null;for(g in i)if(G=i[g],i.hasOwnProperty(g)&&G!=null)switch(g){case"value":break;case"multiple":me=G;default:c.hasOwnProperty(g)||vn(n,l,g,null,c,G)}for(p in c)if(g=c[p],G=i[p],c.hasOwnProperty(p)&&(g!=null||G!=null))switch(p){case"value":ie=g;break;case"defaultValue":w=g;break;case"multiple":x=g;default:g!==G&&vn(n,l,p,g,c,G)}l=w,i=x,c=me,ie!=null?hc(n,!!i,ie,!1):!!c!=!!i&&(l!=null?hc(n,!!i,l,!0):hc(n,!!i,i?[]:"",!1));return;case"textarea":me=ie=null;for(w in i)if(p=i[w],i.hasOwnProperty(w)&&p!=null&&!c.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:vn(n,l,w,null,c,p)}for(x in c)if(p=c[x],g=i[x],c.hasOwnProperty(x)&&(p!=null||g!=null))switch(x){case"value":ie=p;break;case"defaultValue":me=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(d(91));break;default:p!==g&&vn(n,l,x,p,c,g)}ag(n,ie,me);return;case"option":for(var Ie in i)if(ie=i[Ie],i.hasOwnProperty(Ie)&&ie!=null&&!c.hasOwnProperty(Ie))switch(Ie){case"selected":n.selected=!1;break;default:vn(n,l,Ie,null,c,ie)}for(G in c)if(ie=c[G],me=i[G],c.hasOwnProperty(G)&&ie!==me&&(ie!=null||me!=null))switch(G){case"selected":n.selected=ie&&typeof ie!="function"&&typeof ie!="symbol";break;default:vn(n,l,G,ie,c,me)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ft in i)ie=i[ft],i.hasOwnProperty(ft)&&ie!=null&&!c.hasOwnProperty(ft)&&vn(n,l,ft,null,c,ie);for(re in c)if(ie=c[re],me=i[re],c.hasOwnProperty(re)&&ie!==me&&(ie!=null||me!=null))switch(re){case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(d(137,l));break;default:vn(n,l,re,ie,c,me)}return;default:if(rg(l)){for(var bn in i)ie=i[bn],i.hasOwnProperty(bn)&&ie!==void 0&&!c.hasOwnProperty(bn)&&k0(n,l,bn,void 0,c,ie);for(ve in c)ie=c[ve],me=i[ve],!c.hasOwnProperty(ve)||ie===me||ie===void 0&&me===void 0||k0(n,l,ve,ie,c,me);return}}for(var P in i)ie=i[P],i.hasOwnProperty(P)&&ie!=null&&!c.hasOwnProperty(P)&&vn(n,l,P,null,c,ie);for(Ce in c)ie=c[Ce],me=i[Ce],!c.hasOwnProperty(Ce)||ie===me||ie==null&&me==null||vn(n,l,Ce,ie,c,me)}function Dp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function L0(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),c=0;c<i.length;c++){var p=i[c],g=p.transferSize,x=p.initiatorType,w=p.duration;if(g&&w&&Dp(x)){for(x=0,w=p.responseEnd,c+=1;c<i.length;c++){var G=i[c],re=G.startTime;if(re>w)break;var ve=G.transferSize,Ce=G.initiatorType;ve&&Dp(Ce)&&(G=G.responseEnd,x+=ve*(G<w?1:(w-re)/(G-re)))}if(--c,l+=8*(g+x)/(p.duration/1e3),n++,10<n)break}}if(0<n)return l/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Rp=null,Op=null;function Du(n){return n.nodeType===9?n:n.ownerDocument}function lS(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function q0(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function lf(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var wp=null;function Bx(){var n=window.event;return n&&n.type==="popstate"?n===wp?!1:(wp=n,!0):(wp=null,!1)}var rm=typeof setTimeout=="function"?setTimeout:void 0,rS=typeof clearTimeout=="function"?clearTimeout:void 0,Ms=typeof Promise=="function"?Promise:void 0,iS=typeof queueMicrotask=="function"?queueMicrotask:typeof Ms<"u"?function(n){return Ms.resolve(null).then(n).catch(Y0)}:rm;function Y0(n){setTimeout(function(){throw n})}function ri(n){return n==="head"}function G0(n,l){var i=l,c=0;do{var p=i.nextSibling;if(n.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(c===0){n.removeChild(p),gf(l);return}c--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")c++;else if(i==="html")zs(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,zs(i);for(var g=i.firstChild;g;){var x=g.nextSibling,w=g.nodeName;g[Ei]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=x}}else i==="body"&&zs(n.ownerDocument.body);i=p}while(i);gf(l)}function ua(n,l){var i=n;n=0;do{var c=i.nextSibling;if(i.nodeType===1?l?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(l?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),c&&c.nodeType===8)if(i=c.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=c}while(i)}function im(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":im(i),rh(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function kx(n,l,i,c){for(;n.nodeType===1;){var p=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Ei])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==p.rel||n.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||n.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||n.getAttribute("title")!==(p.title==null?null:p.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(p.src==null?null:p.src)||n.getAttribute("type")!==(p.type==null?null:p.type)||n.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var g=p.name==null?null:""+p.name;if(p.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=Nl(n.nextSibling),n===null)break}return null}function Ot(n,l,i){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Nl(n.nextSibling),n===null))return null;return n}function oS(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Nl(n.nextSibling),n===null))return null;return n}function Rr(n){return n.data==="$?"||n.data==="$~"}function Ru(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function rf(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var c=function(){l(),i.removeEventListener("DOMContentLoaded",c)};i.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function Nl(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return n}var om=null;function Mp(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(l===0)return Nl(n.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}n=n.nextSibling}return null}function ii(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(l===0)return n;l--}else i!=="/$"&&i!=="/&"||l++}n=n.previousSibling}return null}function of(n,l,i){switch(l=Du(i),n){case"html":if(n=l.documentElement,!n)throw Error(d(452));return n;case"head":if(n=l.head,!n)throw Error(d(453));return n;case"body":if(n=l.body,!n)throw Error(d(454));return n;default:throw Error(d(451))}}function zs(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);rh(n)}var Hl=new Map,um=new Set;function il(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var oi=ne.d;ne.d={f:Hx,r:uS,D:de,C:en,L:Lx,m:$0,X:Bo,S:Z0,M:Ou};function Hx(){var n=oi.f(),l=Ic();return n||l}function uS(n){var l=Qu(n);l!==null&&l.tag===5&&l.type==="form"?yn(l):oi.r(n)}var uf=typeof document>"u"?null:document;function ha(n,l,i){var c=uf;if(c&&typeof l=="string"&&l){var p=Xl(l);p='link[rel="'+n+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),um.has(p)||(um.add(p),n={rel:n,crossOrigin:i,href:l},c.querySelector(p)===null&&(l=c.createElement("link"),Ia(l,"link",n),an(l),c.head.appendChild(l)))}}function de(n){oi.D(n),ha("dns-prefetch",n,null)}function en(n,l){oi.C(n,l),ha("preconnect",n,l)}function Lx(n,l,i){oi.L(n,l,i);var c=uf;if(c&&n&&l){var p='link[rel="preload"][as="'+Xl(l)+'"]';l==="image"&&i&&i.imageSrcSet?(p+='[imagesrcset="'+Xl(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(p+='[imagesizes="'+Xl(i.imageSizes)+'"]')):p+='[href="'+Xl(n)+'"]';var g=p;switch(l){case"style":g=ir(n);break;case"script":g=js(n)}Hl.has(g)||(n=A({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Hl.set(g,n),c.querySelector(p)!==null||l==="style"&&c.querySelector(wu(g))||l==="script"&&c.querySelector(ff(g))||(l=c.createElement("link"),Ia(l,"link",n),an(l),c.head.appendChild(l)))}}function $0(n,l){oi.m(n,l);var i=uf;if(i&&n){var c=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+Xl(c)+'"][href="'+Xl(n)+'"]',g=p;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=js(n)}if(!Hl.has(g)&&(n=A({rel:"modulepreload",href:n},l),Hl.set(g,n),i.querySelector(p)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(ff(g)))return}c=i.createElement("link"),Ia(c,"link",n),an(c),i.head.appendChild(c)}}}function Z0(n,l,i){oi.S(n,l,i);var c=uf;if(c&&n){var p=Ju(c).hoistableStyles,g=ir(n);l=l||"default";var x=p.get(g);if(!x){var w={loading:0,preload:null};if(x=c.querySelector(wu(g)))w.loading=5;else{n=A({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Hl.get(g))&&zp(n,i);var G=x=c.createElement("link");an(G),Ia(G,"link",n),G._p=new Promise(function(re,ve){G.onload=re,G.onerror=ve}),G.addEventListener("load",function(){w.loading|=1}),G.addEventListener("error",function(){w.loading|=2}),w.loading|=4,sm(x,l,c)}x={type:"stylesheet",instance:x,count:1,state:w},p.set(g,x)}}}function Bo(n,l){oi.X(n,l);var i=uf;if(i&&n){var c=Ju(i).hoistableScripts,p=js(n),g=c.get(p);g||(g=i.querySelector(ff(p)),g||(n=A({src:n,async:!0},l),(l=Hl.get(p))&&jp(n,l),g=i.createElement("script"),an(g),Ia(g,"link",n),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(p,g))}}function Ou(n,l){oi.M(n,l);var i=uf;if(i&&n){var c=Ju(i).hoistableScripts,p=js(n),g=c.get(p);g||(g=i.querySelector(ff(p)),g||(n=A({src:n,async:!0,type:"module"},l),(l=Hl.get(p))&&jp(n,l),g=i.createElement("script"),an(g),Ia(g,"link",n),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(p,g))}}function sf(n,l,i,c){var p=(p=je.current)?il(p):null;if(!p)throw Error(d(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=ir(i.href),i=Ju(p).hoistableStyles,c=i.get(l),c||(c={type:"style",instance:null,count:0,state:null},i.set(l,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=ir(i.href);var g=Ju(p).hoistableStyles,x=g.get(n);if(x||(p=p.ownerDocument||p,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,x),(g=p.querySelector(wu(n)))&&!g._p&&(x.instance=g,x.state.loading=5),Hl.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Hl.set(n,i),g||sS(p,n,i,x.state))),l&&c===null)throw Error(d(528,""));return x}if(l&&c!==null)throw Error(d(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=js(i),i=Ju(p).hoistableScripts,c=i.get(l),c||(c={type:"script",instance:null,count:0,state:null},i.set(l,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(d(444,n))}}function ir(n){return'href="'+Xl(n)+'"'}function wu(n){return'link[rel="stylesheet"]['+n+"]"}function cf(n){return A({},n,{"data-precedence":n.precedence,precedence:null})}function sS(n,l,i,c){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?c.loading=1:(l=n.createElement("link"),c.preload=l,l.addEventListener("load",function(){return c.loading|=1}),l.addEventListener("error",function(){return c.loading|=2}),Ia(l,"link",i),an(l),n.head.appendChild(l))}function js(n){return'[src="'+Xl(n)+'"]'}function ff(n){return"script[async]"+n}function X0(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var c=n.querySelector('style[data-href~="'+Xl(i.href)+'"]');if(c)return l.instance=c,an(c),c;var p=A({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),an(c),Ia(c,"style",p),sm(c,i.precedence,n),l.instance=c;case"stylesheet":p=ir(i.href);var g=n.querySelector(wu(p));if(g)return l.state.loading|=4,l.instance=g,an(g),g;c=cf(i),(p=Hl.get(p))&&zp(c,p),g=(n.ownerDocument||n).createElement("link"),an(g);var x=g;return x._p=new Promise(function(w,G){x.onload=w,x.onerror=G}),Ia(g,"link",c),l.state.loading|=4,sm(g,i.precedence,n),l.instance=g;case"script":return g=js(i.src),(p=n.querySelector(ff(g)))?(l.instance=p,an(p),p):(c=i,(p=Hl.get(g))&&(c=A({},i),jp(c,p)),n=n.ownerDocument||n,p=n.createElement("script"),an(p),Ia(p,"link",c),n.head.appendChild(p),l.instance=p);case"void":return null;default:throw Error(d(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(c=l.instance,l.state.loading|=4,sm(c,i.precedence,n));return l.instance}function sm(n,l,i){for(var c=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=c.length?c[c.length-1]:null,g=p,x=0;x<c.length;x++){var w=c[x];if(w.dataset.precedence===l)g=w;else if(g!==p)break}g?g.parentNode.insertBefore(n,g.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(n,l.firstChild))}function zp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function jp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var df=null;function Q0(n,l,i){if(df===null){var c=new Map,p=df=new Map;p.set(i,c)}else p=df,c=p.get(i),c||(c=new Map,p.set(i,c));if(c.has(n))return c;for(c.set(n,null),i=i.getElementsByTagName(n),p=0;p<i.length;p++){var g=i[p];if(!(g[Ei]||g[pn]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var x=g.getAttribute(l)||"";x=n+x;var w=c.get(x);w?w.push(g):c.set(x,[g])}}return c}function Up(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function J0(n,l,i){if(i===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return n=l.disabled,typeof l.precedence=="string"&&n==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Ll(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Ji(n,l,i,c){if(i.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=ir(c.href),g=l.querySelector(wu(p));if(g){l=g._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=Vp.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=g,an(g);return}g=l.ownerDocument||l,c=cf(c),(p=Hl.get(p))&&zp(c,p),g=g.createElement("link"),an(g);var x=g;x._p=new Promise(function(w,G){x.onload=w,x.onerror=G}),Ia(g,"link",c),i.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=Vp.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var or=0;function K0(n,l){return n.stylesheets&&n.count===0&&kp(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var c=setTimeout(function(){if(n.stylesheets&&kp(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+l);0<n.imgBytes&&or===0&&(or=62500*L0());var p=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&kp(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>or?50:800)+l);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(p)}}:null}function Vp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)kp(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Bp=null;function kp(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Bp=new Map,l.forEach(La,n),Bp=null,Vp.call(n))}function La(n,l){if(!(l.state.loading&4)){var i=Bp.get(n);if(i)var c=i.get(null);else{i=new Map,Bp.set(n,i);for(var p=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<p.length;g++){var x=p[g];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(i.set(x.dataset.precedence,x),c=x)}c&&i.set(null,c)}p=l.instance,x=p.getAttribute("data-precedence"),g=i.get(x)||c,g===c&&i.set(null,p),i.set(x,p),this.count++,c=Vp.bind(this),p.addEventListener("load",c),p.addEventListener("error",c),g?g.parentNode.insertBefore(p,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(p,n.firstChild)),l.state.loading|=4}}var cm={$$typeof:De,Provider:null,Consumer:null,_currentValue:be,_currentValue2:be,_threadCount:0};function F0(n,l,i,c,p,g,x,w,G){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gr(0),this.hiddenUpdates=gr(null),this.identifierPrefix=c,this.onUncaughtError=p,this.onCaughtError=g,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=G,this.incompleteTransitions=new Map}function Hp(n,l,i,c,p,g,x,w,G,re,ve,Ce){return n=new F0(n,l,i,x,G,re,ve,Ce,w),l=1,g===!0&&(l|=24),g=In(3,null,null,l),n.current=g,g.stateNode=n,l=vd(),l.refCount++,n.pooledCache=l,l.refCount++,g.memoizedState={element:c,isDehydrated:i,cache:l},Cd(g),n}function Us(n){return n?(n=pl,n):pl}function cS(n,l,i,c,p,g){p=Us(p),c.context===null?c.context=p:c.pendingContext=p,c=Ao(l),c.payload={element:i},g=g===void 0?null:g,g!==null&&(c.callback=g),i=Wl(n,c,l),i!==null&&(Cl(i,n,l),pu(i,n,l))}function Lp(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function I0(n,l){Lp(n,l),(n=n.alternate)&&Lp(n,l)}function fS(n){if(n.tag===13||n.tag===31){var l=So(n,67108864);l!==null&&Cl(l,n,67108864),I0(n,67108864)}}function Vs(n){if(n.tag===13||n.tag===31){var l=kl();l=nh(l);var i=So(n,l);i!==null&&Cl(i,n,l),I0(n,l)}}var _a=!0;function Ki(n,l,i,c){var p=V.T;V.T=null;var g=ne.p;try{ne.p=2,Pa(n,l,i,c)}finally{ne.p=g,V.T=p}}function Fi(n,l,i,c){var p=V.T;V.T=null;var g=ne.p;try{ne.p=8,Pa(n,l,i,c)}finally{ne.p=g,V.T=p}}function Pa(n,l,i,c){if(_a){var p=P0(c);if(p===null)j0(n,l,c,qp,i),ko(n,c);else if(qx(p,n,l,i,c))c.stopPropagation();else if(ko(n,c),l&4&&-1<Al.indexOf(n)){for(;p!==null;){var g=Qu(p);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var x=dt(g.pendingLanes);if(x!==0){var w=g;for(w.pendingLanes|=2,w.entangledLanes|=2;x;){var G=1<<31-Fn(x);w.entanglements[1]|=G,x&=~G}Qi(g),(Kt&6)===0&&(Wt=le()+500,Vo(0))}}break;case 31:case 13:w=So(g,2),w!==null&&Cl(w,g,2),Ic(),I0(g,2)}if(g=P0(c),g===null&&j0(n,l,c,qp,i),g===p)break;p=g}p!==null&&c.stopPropagation()}else j0(n,l,c,null,i)}}function P0(n){return n=dh(n),mf(n)}var qp=null;function mf(n){if(qp=null,n=Xu(n),n!==null){var l=y(n);if(l===null)n=null;else{var i=l.tag;if(i===13){if(n=b(l),n!==null)return n;n=null}else if(i===31){if(n=E(l),n!==null)return n;n=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return qp=n,null}function fm(n){switch(n){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(qe()){case Ue:return 2;case ke:return 8;case Qe:case gt:return 32;case qt:return 268435456;default:return 32}default:return 32}}var hf=!1,Ta=null,Wa=null,ol=null,Mu=new Map,Or=new Map,Hn=[],Al="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".split(" ");function ko(n,l){switch(n){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":Wa=null;break;case"mouseover":case"mouseout":ol=null;break;case"pointerover":case"pointerout":Mu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Or.delete(l.pointerId)}}function Bs(n,l,i,c,p,g){return n===null||n.nativeEvent!==g?(n={blockedOn:l,domEventName:i,eventSystemFlags:c,nativeEvent:g,targetContainers:[p]},l!==null&&(l=Qu(l),l!==null&&fS(l)),n):(n.eventSystemFlags|=c,l=n.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),n)}function qx(n,l,i,c,p){switch(l){case"focusin":return Ta=Bs(Ta,n,l,i,c,p),!0;case"dragenter":return Wa=Bs(Wa,n,l,i,c,p),!0;case"mouseover":return ol=Bs(ol,n,l,i,c,p),!0;case"pointerover":var g=p.pointerId;return Mu.set(g,Bs(Mu.get(g)||null,n,l,i,c,p)),!0;case"gotpointercapture":return g=p.pointerId,Or.set(g,Bs(Or.get(g)||null,n,l,i,c,p)),!0}return!1}function dS(n){var l=Xu(n.target);if(l!==null){var i=y(l);if(i!==null){if(l=i.tag,l===13){if(l=b(i),l!==null){n.blockedOn=l,Py(n.priority,function(){Vs(i)});return}}else if(l===31){if(l=E(i),l!==null){n.blockedOn=l,Py(n.priority,function(){Vs(i)});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function dm(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=P0(n.nativeEvent);if(i===null){i=n.nativeEvent;var c=new i.constructor(i.type,i);fh=c,i.target.dispatchEvent(c),fh=null}else return l=Qu(i),l!==null&&fS(l),n.blockedOn=i,!1;l.shift()}return!0}function pf(n,l,i){dm(n)&&i.delete(l)}function mS(){hf=!1,Ta!==null&&dm(Ta)&&(Ta=null),Wa!==null&&dm(Wa)&&(Wa=null),ol!==null&&dm(ol)&&(ol=null),Mu.forEach(pf),Or.forEach(pf)}function Ii(n,l){n.blockedOn===l&&(n.blockedOn=null,hf||(hf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,mS)))}var yf=null;function hS(n){yf!==n&&(yf=n,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){yf===n&&(yf=null);for(var l=0;l<n.length;l+=3){var i=n[l],c=n[l+1],p=n[l+2];if(typeof c!="function"){if(mf(c||i)===null)continue;break}var g=Qu(i);g!==null&&(n.splice(l,3),l-=3,kc(g,{pending:!0,data:p,method:i.method,action:c},c,p))}}))}function gf(n){function l(G){return Ii(G,n)}Ta!==null&&Ii(Ta,n),Wa!==null&&Ii(Wa,n),ol!==null&&Ii(ol,n),Mu.forEach(l),Or.forEach(l);for(var i=0;i<Hn.length;i++){var c=Hn[i];c.blockedOn===n&&(c.blockedOn=null)}for(;0<Hn.length&&(i=Hn[0],i.blockedOn===null);)dS(i),i.blockedOn===null&&Hn.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(c=0;c<i.length;c+=3){var p=i[c],g=i[c+1],x=p[dl]||null;if(typeof g=="function")x||hS(i);else if(x){var w=null;if(g&&g.hasAttribute("formAction")){if(p=g,x=g[dl]||null)w=x.formAction;else if(mf(p)!==null)continue}else w=x.action;typeof w=="function"?i[c+1]=w:(i.splice(c,3),c-=3),hS(i)}}}function W0(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(x){return p=x})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),c||setTimeout(i,20)}function i(){if(!c&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,p=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function Yp(n){this._internalRoot=n}Gp.prototype.render=Yp.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(d(409));var i=l.current,c=kl();cS(i,c,n,l,null,null)},Gp.prototype.unmount=Yp.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;cS(n.current,2,null,n,null,null),Ic(),l[Po]=null}};function Gp(n){this._internalRoot=n}Gp.prototype.unstable_scheduleHydration=function(n){if(n){var l=ah();n={blockedOn:null,target:n,priority:l};for(var i=0;i<Hn.length&&l!==0&&l<Hn[i].priority;i++);Hn.splice(i,0,n),i===0&&dS(n)}};var ev=u.version;if(ev!=="19.2.4")throw Error(d(527,ev,"19.2.4"));ne.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(d(188)):(n=Object.keys(n).join(","),Error(d(268,n)));return n=C(l),n=n!==null?U(n):null,n=n===null?null:n.stateNode,n};var pS={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mm.isDisabled&&mm.supportsFiber)try{_n=mm.inject(pS),aa=mm}catch{}}return xy.createRoot=function(n,l){if(!h(n))throw Error(d(299));var i=!1,c="",p=ep,g=t0,x=tp;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(g=l.onCaughtError),l.onRecoverableError!==void 0&&(x=l.onRecoverableError)),l=Hp(n,1,!1,null,null,i,c,null,p,g,x,W0),n[Po]=l.current,af(n),new Yp(l)},xy.hydrateRoot=function(n,l,i){if(!h(n))throw Error(d(299));var c=!1,p="",g=ep,x=t0,w=tp,G=null;return i!=null&&(i.unstable_strictMode===!0&&(c=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(g=i.onUncaughtError),i.onCaughtError!==void 0&&(x=i.onCaughtError),i.onRecoverableError!==void 0&&(w=i.onRecoverableError),i.formState!==void 0&&(G=i.formState)),l=Hp(n,1,!0,l,i??null,c,p,G,g,x,w,W0),l.context=Us(null),i=l.current,c=kl(),c=nh(c),p=Ao(c),p.callback=null,Wl(i,p,c),i=c,l.current.lanes=i,Io(l,i),Qi(l),n[Po]=l.current,af(n),new Gp(l)},xy.version="19.2.4",xy}var _y={};/**
103
- * @license React
104
- * react-dom-client.development.js
105
- *
106
- * Copyright (c) Meta Platforms, Inc. and affiliates.
107
- *
108
- * This source code is licensed under the MIT license found in the
109
- * LICENSE file in the root directory of this source tree.
110
- */var h2;function wD(){return h2||(h2=1,process.env.NODE_ENV!=="production"&&(function(){function r(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function u(e,t,a,o){if(a>=t.length)return o;var f=t[a],m=ha(e)?e.slice():Ot({},e);return m[f]=u(e[f],t,a+1,o),m}function s(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<a.length-1;o++)if(t[o]!==a[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return d(e,t,a,0)}}function d(e,t,a,o){var f=t[o],m=ha(e)?e.slice():Ot({},e);return o+1===t.length?(m[a[o]]=m[f],ha(m)?m.splice(f,1):delete m[f]):m[f]=d(e[f],t,a,o+1),m}function h(e,t,a){var o=t[a],f=ha(e)?e.slice():Ot({},e);return a+1===t.length?(ha(f)?f.splice(o,1):delete f[o],f):(f[o]=h(e[o],t,a+1),f)}function y(){return!1}function b(){return null}function E(){console.error("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://react.dev/link/rules-of-hooks")}function N(){console.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().")}function C(){}function U(){}function A(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function R(e,t,a,o){return new zx(e,t,a,o)}function z(e,t){e.context===Ef&&(Ap(e.current,2,t,e,null,null),lr())}function Q(e,t){if(eo!==null){var a=t.staleFamilies;t=t.updatedFamilies,$d(),i1(e.current,t,a),lr()}}function j(e){eo=e}function F(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function fe(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function ge(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function De(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function pe(e){if(fe(e)!==e)throw Error("Unable to find node on an unmounted component.")}function $(e){var t=e.alternate;if(!t){if(t=fe(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,o=t;;){var f=a.return;if(f===null)break;var m=f.alternate;if(m===null){if(o=f.return,o!==null){a=o;continue}break}if(f.child===m.child){for(m=f.child;m;){if(m===a)return pe(f),e;if(m===o)return pe(f),t;m=m.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=f,o=m;else{for(var v=!1,S=f.child;S;){if(S===a){v=!0,a=f,o=m;break}if(S===o){v=!0,o=f,a=m;break}S=S.sibling}if(!v){for(S=m.child;S;){if(S===a){v=!0,a=m,o=f;break}if(S===o){v=!0,o=m,a=f;break}S=S.sibling}if(!v)throw 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(a.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function xe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=xe(e),t!==null)return t;e=e.sibling}return null}function Te(e){return e===null||typeof e!="object"?null:(e=uS&&e[uS]||e["@@iterator"],typeof e=="function"?e:null)}function Le(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===uf?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rf:return"Fragment";case om:return"Profiler";case Nl:return"StrictMode";case zs:return"Suspense";case Hl:return"SuspenseList";case oi:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Ru:return"Portal";case ii:return e.displayName||"Context";case Mp:return(e._context.displayName||"Context")+".Consumer";case of:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case um:return t=e.displayName||null,t!==null?t:Le(e.type)||"Memo";case il:t=e._payload,e=e._init;try{return Le(e(t))}catch{}}return null}function Pe(e){return typeof e.tag=="number"?we(e):typeof e.name=="string"?e.name:null}function we(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Le(t);case 8:return t===Nl?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return we(e.return)}return null}function $e(e){return{current:e}}function M(e,t){0>Bo?console.error("Unexpected pop."):(t!==Z0[Bo]&&console.error("Unexpected Fiber popped."),e.current=$0[Bo],$0[Bo]=null,Z0[Bo]=null,Bo--)}function ue(e,t,a){Bo++,$0[Bo]=e.current,Z0[Bo]=a,e.current=t}function ye(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ze(e,t){ue(ir,t,e),ue(sf,e,e),ue(Ou,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?U1(t):Is;break;default:if(a=t.tagName,t=t.namespaceURI)t=U1(t),t=jo(t,a);else switch(a){case"svg":t=by;break;case"math":t=iE;break;default:t=Is}}a=a.toLowerCase(),a=ng(null,a),a={context:t,ancestorInfo:a},M(Ou,e),ue(Ou,a,e)}function V(e){M(Ou,e),M(sf,e),M(ir,e)}function ne(){return ye(Ou.current)}function be(e){e.memoizedState!==null&&ue(wu,e,e);var t=ye(Ou.current),a=e.type,o=jo(t.context,a);a=ng(t.ancestorInfo,a),o={context:o,ancestorInfo:a},t!==o&&(ue(sf,e,e),ue(Ou,o,e))}function Ye(e){sf.current===e&&(M(Ou,e),M(sf,e)),wu.current===e&&(M(wu,e),Gv._currentValue=Vm)}function se(){}function _(){if(cf===0){sS=console.log,js=console.info,ff=console.warn,X0=console.error,sm=console.group,zp=console.groupCollapsed,jp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}cf++}function H(){if(cf--,cf===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},e,{value:sS}),info:Ot({},e,{value:js}),warn:Ot({},e,{value:ff}),error:Ot({},e,{value:X0}),group:Ot({},e,{value:sm}),groupCollapsed:Ot({},e,{value:zp}),groupEnd:Ot({},e,{value:jp})})}0>cf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function W(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
111
- `)&&(e=e.slice(29)),t=e.indexOf(`
112
- `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
113
- `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ee(e){if(df===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);df=t&&t[1]||"",Q0=-1<a.stack.indexOf(`
41
+ */var n=Rb(),l=yu(),s=kb();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function h(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(d(e)!==e)throw Error(o(188))}function x(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,i=t;;){var u=a.return;if(u===null)break;var c=u.alternate;if(c===null){if(i=u.return,i!==null){a=i;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===a)return p(u),e;if(c===i)return p(u),t;c=c.sibling}throw Error(o(188))}if(a.return!==i.return)a=u,i=c;else{for(var m=!1,g=u.child;g;){if(g===a){m=!0,a=u,i=c;break}if(g===i){m=!0,i=u,a=c;break}g=g.sibling}if(!m){for(g=c.child;g;){if(g===a){m=!0,a=c,i=u;break}if(g===i){m=!0,i=c,a=u;break}g=g.sibling}if(!m)throw Error(o(189))}}if(a.alternate!==i)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:t}function N(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=N(e),t!==null)return t;e=e.sibling}return null}var C=Object.assign,S=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),le=Symbol.for("react.consumer"),I=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),de=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Ue=Symbol.for("react.activity"),_e=Symbol.for("react.memo_cache_sentinel"),b=Symbol.iterator;function F(e){return e===null||typeof e!="object"?null:(e=b&&e[b]||e["@@iterator"],typeof e=="function"?e:null)}var X=Symbol.for("react.client.reference");function se(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===X?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case Q:return"Profiler";case te:return"StrictMode";case K:return"Suspense";case ne:return"SuspenseList";case Ue:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case w:return"Portal";case I:return e.displayName||"Context";case le:return(e._context.displayName||"Context")+".Consumer";case B:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case de:return t=e.displayName||null,t!==null?t:se(e.type)||"Memo";case we:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}var Z=Array.isArray,H=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,De={pending:!1,data:null,method:null,action:null},Qe=[],kt=-1;function A(e){return{current:e}}function $(e){0>kt||(e.current=Qe[kt],Qe[kt]=null,kt--)}function re(e,t){kt++,Qe[kt]=e.current,e.current=t}var ce=A(null),Te=A(null),Ae=A(null),Le=A(null);function Tt(e,t){switch(re(Ae,t),re(Te,e),re(ce,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Iy(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Iy(t),e=Py(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$(ce),re(ce,e)}function ut(){$(ce),$(Te),$(Ae)}function rr(e){e.memoizedState!==null&&re(Le,e);var t=ce.current,a=Py(t,e.type);t!==a&&(re(Te,e),re(ce,a))}function Or(e){Te.current===e&&($(ce),$(Te)),Le.current===e&&($(Le),ts._currentValue=De)}var dl,ml;function nr(e){if(dl===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);dl=t&&t[1]||"",ml=-1<a.stack.indexOf(`
114
42
  at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
115
- `+df+e+Q0}function Re(e,t){if(!e||Up)return"";var a=J0.get(e);if(a!==void 0)return a;Up=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=de.H,de.H=null,_();try{var f={DetermineComponentFrameRoot:function(){try{if(t){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(He){var oe=He}Reflect.construct(e,[],L)}else{try{L.call()}catch(He){oe=He}e.call(L.prototype)}}else{try{throw Error()}catch(He){oe=He}(L=e())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(He){if(He&&oe&&typeof He.stack=="string")return[He.stack,oe.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=f.DetermineComponentFrameRoot(),S=v[0],T=v[1];if(S&&T){var D=S.split(`
116
- `),X=T.split(`
117
- `);for(v=m=0;m<D.length&&!D[m].includes("DetermineComponentFrameRoot");)m++;for(;v<X.length&&!X[v].includes("DetermineComponentFrameRoot");)v++;if(m===D.length||v===X.length)for(m=D.length-1,v=X.length-1;1<=m&&0<=v&&D[m]!==X[v];)v--;for(;1<=m&&0<=v;m--,v--)if(D[m]!==X[v]){if(m!==1||v!==1)do if(m--,v--,0>v||D[m]!==X[v]){var K=`
118
- `+D[m].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),typeof e=="function"&&J0.set(e,K),K}while(1<=m&&0<=v);break}}}finally{Up=!1,de.H=o,H(),Error.prepareStackTrace=a}return D=(D=e?e.displayName||e.name:"")?ee(D):"",typeof e=="function"&&J0.set(e,D),D}function je(e,t){switch(e.tag){case 26:case 27:case 5:return ee(e.type);case 16:return ee("Lazy");case 13:return e.child!==t&&t!==null?ee("Suspense Fallback"):ee("Suspense");case 19:return ee("SuspenseList");case 0:case 15:return Re(e.type,!1);case 11:return Re(e.type.render,!1);case 1:return Re(e.type,!0);case 31:return ee("Activity");default:return""}}function Ne(e){try{var t="",a=null;do{t+=je(e,a);var o=e._debugInfo;if(o)for(var f=o.length-1;0<=f;f--){var m=o[f];if(typeof m.name=="string"){var v=t;e:{var S=m.name,T=m.env,D=m.debugLocation;if(D!=null){var X=W(D),K=X.lastIndexOf(`
119
- `),L=K===-1?X:X.slice(K+1);if(L.indexOf(S)!==-1){var oe=`
120
- `+L;break e}}oe=ee(S+(T?" ["+T+"]":""))}t=v+oe}}a=e,e=e.return}while(e);return t}catch(He){return`
121
- Error generating stack: `+He.message+`
122
- `+He.stack}}function Je(e){return(e=e?e.displayName||e.name:"")?ee(e):""}function Ze(){if(Ll===null)return null;var e=Ll._debugOwner;return e!=null?Pe(e):null}function ct(){if(Ll===null)return"";var e=Ll;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ee(e.type);break;case 13:t+=ee("Suspense");break;case 19:t+=ee("SuspenseList");break;case 31:t+=ee("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Je(e.type));break;case 11:e._debugOwner||t!==""||(t+=Je(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var o=a._debugStack;if(e&&o){var f=W(o);f!==""&&(t+=`
123
- `+f)}}else if(e.debugStack!=null){var m=e.debugStack;(e=e.owner)&&m&&(t+=`
124
- `+W(m))}else break;var v=t}catch(S){v=`
125
- Error generating stack: `+S.message+`
126
- `+S.stack}return v}function Me(e,t,a,o,f,m,v){var S=Ll;he(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,o,f,m,v)):t(a,o,f,m,v)}finally{he(S)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function he(e){de.getCurrentStack=e===null?null:ct,Ji=!1,Ll=e}function zn(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function An(e){try{return wa(e),!1}catch{return!0}}function wa(e){return""+e}function Gt(e,t){if(An(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,zn(e)),wa(e)}function va(e,t){if(An(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,zn(e)),wa(e)}function po(e){if(An(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",zn(e)),wa(e)}function Zu(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 console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Vs=t.inject(e),_a=t}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!t.checkDCE}function Fe(e){if(typeof I0=="function"&&fS(e),_a&&typeof _a.setStrictMode=="function")try{_a.setStrictMode(Vs,e)}catch(t){Ki||(Ki=!0,console.error("React instrumentation encountered an error: %o",t))}}function kr(e){return e>>>=0,e===0?32:31-(P0(e)/qp|0)|0}function Y(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function te(e,t,a){var o=e.pendingLanes;if(o===0)return 0;var f=0,m=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var S=o&134217727;return S!==0?(o=S&~m,o!==0?f=Y(o):(v&=S,v!==0?f=Y(v):a||(a=S&~e,a!==0&&(f=Y(a))))):(S=o&~m,S!==0?f=Y(S):v!==0?f=Y(v):a||(a=o&~e,a!==0&&(f=Y(a)))),f===0?0:t!==0&&t!==f&&(t&m)===0&&(m=f&-f,a=t&-t,m>=a||m===32&&(a&4194048)!==0)?t:f}function le(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function qe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Ue(){var e=hf;return hf<<=1,(hf&62914560)===0&&(hf=4194304),e}function ke(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Qe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function gt(e,t,a,o,f,m){var v=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var S=e.entanglements,T=e.expirationTimes,D=e.hiddenUpdates;for(a=v&~a;0<a;){var X=31-Pa(a),K=1<<X;S[X]=0,T[X]=-1;var L=D[X];if(L!==null)for(D[X]=null,X=0;X<L.length;X++){var oe=L[X];oe!==null&&(oe.lane&=-536870913)}a&=~K}o!==0&&qt(e,o,0),m!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=m&~(v&~t))}function qt(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Pa(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function ba(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var o=31-Pa(a),f=1<<o;f&t|e[o]&t&&(e[o]|=t),a&=~f}}function Ma(e,t){var a=t&-t;return a=(a&42)!==0?1:_n(a),(a&(e.suspendedLanes|t))!==0?0:a}function _n(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function aa(e,t,a){if(Fi)for(e=e.pendingUpdatersLaneMap;0<a;){var o=31-Pa(a),f=1<<o;e[o].add(t),a&=~f}}function Ka(e,t){if(Fi)for(var a=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var f=31-Pa(t);e=1<<f,f=a[f],0<f.size&&(f.forEach(function(m){var v=m.alternate;v!==null&&o.has(v)||o.add(m)}),f.clear()),t&=~e}}function Fn(e){return e&=-e,Ta<e?Wa<e?(e&134217727)!==0?ol:Mu:Wa:Ta}function bi(){var e=en.p;return e!==0?e:(e=window.event,e===void 0?ol:Rp(e.type))}function O(e,t){var a=en.p;try{return en.p=e,t()}finally{en.p=a}}function I(e){delete e[Hn],delete e[Al],delete e[Bs],delete e[qx],delete e[dS]}function Oe(e){var t=e[Hn];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ko]||a[Hn]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Rs(e);e!==null;){if(a=e[Hn])return a;e=Rs(e)}return t}e=a,a=e.parentNode}return null}function Ve(e){if(e=e[Hn]||e[ko]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function We(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function dt(e){var t=e[dm];return t||(t=e[dm]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[pf]=!0}function jt(e,t){Et(e,t),Et(e+"Capture",t)}function Et(e,t){Ii[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ii[e]=t;var a=e.toLowerCase();for(yf[a]=e,e==="onDoubleClick"&&(yf.ondblclick=e),e=0;e<t.length;e++)mS.add(t[e])}function nl(e,t){hS[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"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 `onChange`.":"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||console.error("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 gr(e){return or.call(Yp,e)?!0:or.call(W0,e)?!1:gf.test(e)?Yp[e]=!0:(W0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Io(e,t,a){if(gr(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(Gt(a,t),e===""+a?a:e)}}function sc(e,t,a){if(gr(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}Gt(a,t),e.setAttribute(t,""+a)}}function Pf(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Gt(a,t),e.setAttribute(t,""+a)}}function Si(e,t,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Gt(o,a),e.setAttributeNS(t,a,""+o)}}function $l(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return po(e),e;default:return""}}function nh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Iy(e,t,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,m=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(v){po(v),a=""+v,m.call(this,v)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(v){po(v),a=""+v},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ah(e){if(!e._valueTracker){var t=nh(e)?"checked":"value";e._valueTracker=Iy(e,t,""+e[t])}}function Py(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),o="";return e&&(o=nh(e)?e.checked?"true":"false":e.value),e=o,e!==a?(t.setValue(e),!0):!1}function Hr(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}}function pn(e){return e.replace(Gp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function dl(e,t){t.checked===void 0||t.defaultChecked===void 0||pS||(console.error("%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://react.dev/link/controlled-components",Ze()||"A component",t.type),pS=!0),t.value===void 0||t.defaultValue===void 0||ev||(console.error("%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://react.dev/link/controlled-components",Ze()||"A component",t.type),ev=!0)}function Po(e,t,a,o,f,m,v,S){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?(Gt(v,"type"),e.type=v):e.removeAttribute("type"),t!=null?v==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+$l(t)):e.value!==""+$l(t)&&(e.value=""+$l(t)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),t!=null?Wy(e,v,$l(t)):a!=null?Wy(e,v,$l(a)):o!=null&&e.removeAttribute("value"),f==null&&m!=null&&(e.defaultChecked=!!m),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?(Gt(S,"name"),e.name=""+$l(S)):e.removeAttribute("name")}function lh(e,t,a,o,f,m,v,S){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(Gt(m,"type"),e.type=m),t!=null||a!=null){if(!(m!=="submit"&&m!=="reset"||t!=null)){ah(e);return}a=a!=null?""+$l(a):"",t=t!=null?""+$l(t):a,S||t===e.value||(e.value=t),e.defaultValue=t}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=S?e.checked:!!o,e.defaultChecked=!!o,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(Gt(v,"name"),e.name=v),ah(e)}function Wy(e,t,a){t==="number"&&Hr(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Xb(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?im.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||mm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),mm=!0)}function eg(){var e=Ze();return e?`
127
-
128
- Check the render method of \``+e+"`.":""}function Ei(e,t,a,o){if(e=e.options,t){t={};for(var f=0;f<a.length;f++)t["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=t.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&o&&(e[a].defaultSelected=!0)}else{for(a=""+$l(a),t=null,f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,o&&(e[f].defaultSelected=!0);return}t!==null||e[f].disabled||(t=e[f])}t!==null&&(t.selected=!0)}}function rh(e,t){for(e=0;e<c.length;e++){var a=c[e];if(t[a]!=null){var o=ha(t[a]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,eg()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,eg())}}t.value===void 0||t.defaultValue===void 0||i||(console.error("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://react.dev/link/controlled-components"),i=!0)}function Xu(e,t){t.value===void 0||t.defaultValue===void 0||p||(console.error("%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://react.dev/link/controlled-components",Ze()||"A component"),p=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Qu(e,t,a){if(t!=null&&(t=""+$l(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+$l(a):""}function cc(e,t,a,o){if(t==null){if(o!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ha(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}a=o}a==null&&(a=""),t=a}a=$l(t),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),ah(e)}function Ju(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Ju(e.children[0],t):e}function an(e){return" "+" ".repeat(e)}function Ku(e){return"+ "+" ".repeat(e)}function Wo(e){return"- "+" ".repeat(e)}function eu(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function xi(e,t){return g.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function ih(e,t,a){var o=120-2*a;if(t===null)return Ku(a)+xi(e,o)+`
129
- `;if(typeof t=="string"){for(var f=0;f<t.length&&f<e.length&&t.charCodeAt(f)===e.charCodeAt(f);f++);return f>o-8&&10<f&&(e="..."+e.slice(f-8),t="..."+t.slice(f-8)),Ku(a)+xi(e,o)+`
130
- `+Wo(a)+xi(t,o)+`
131
- `}return an(a)+xi(e,o)+`
132
- `}function oh(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function fc(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(ha(e))return"[...]";if(e.$$typeof===Rr)return(t=Le(e.type))?"<"+t+">":"<...>";var a=oh(e);if(a==="Object"){a="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var f=JSON.stringify(o);if(f!=='"'+o+'"'&&(o=f),t-=o.length-2,f=fc(e[o],15>t?t:15),t-=f.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+o+":"+f}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function dc(e,t){return typeof e!="string"||g.test(e)?"{"+fc(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function mc(e,t,a){var o=120-a.length-e.length,f=[],m;for(m in t)if(t.hasOwnProperty(m)&&m!=="children"){var v=dc(t[m],120-a.length-m.length-1);o-=m.length+v.length+2,f.push(m+"="+v)}return f.length===0?a+"<"+e+`>
133
- `:0<o?a+"<"+e+" "+f.join(" ")+`>
134
- `:a+"<"+e+`
135
- `+a+" "+f.join(`
136
- `+a+" ")+`
137
- `+a+`>
138
- `}function uh(e,t,a){var o="",f=Ot({},t),m;for(m in e)if(e.hasOwnProperty(m)){delete f[m];var v=120-2*a-m.length-2,S=fc(e[m],v);t.hasOwnProperty(m)?(v=fc(t[m],v),o+=Ku(a)+m+": "+S+`
139
- `,o+=Wo(a)+m+": "+v+`
140
- `):o+=Ku(a)+m+": "+S+`
141
- `}for(var T in f)f.hasOwnProperty(T)&&(e=fc(f[T],120-2*a-T.length-2),o+=Wo(a)+T+": "+e+`
142
- `);return o}function yo(e,t,a,o){var f="",m=new Map;for(D in a)a.hasOwnProperty(D)&&m.set(D.toLowerCase(),D);if(m.size===1&&m.has("children"))f+=mc(e,t,an(o));else{for(var v in t)if(t.hasOwnProperty(v)&&v!=="children"){var S=120-2*(o+1)-v.length-1,T=m.get(v.toLowerCase());if(T!==void 0){m.delete(v.toLowerCase());var D=t[v];T=a[T];var X=dc(D,S);S=dc(T,S),typeof D=="object"&&D!==null&&typeof T=="object"&&T!==null&&oh(D)==="Object"&&oh(T)==="Object"&&(2<Object.keys(D).length||2<Object.keys(T).length||-1<X.indexOf("...")||-1<S.indexOf("..."))?f+=an(o+1)+v+`={{
143
- `+uh(D,T,o+2)+an(o+1)+`}}
144
- `:(f+=Ku(o+1)+v+"="+X+`
145
- `,f+=Wo(o+1)+v+"="+S+`
146
- `)}else f+=an(o+1)+v+"="+dc(t[v],S)+`
147
- `}m.forEach(function(K){if(K!=="children"){var L=120-2*(o+1)-K.length-1;f+=Wo(o+1)+K+"="+dc(a[K],L)+`
148
- `}}),f=f===""?an(o)+"<"+e+`>
149
- `:an(o)+"<"+e+`
150
- `+f+an(o)+`>
151
- `}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(m="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(m=""+t),f+=ih(m,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(f=e==null?f+ih(""+t,null,o+1):f+ih(""+t,void 0,o+1)),f}function Zl(e,t){var a=eu(e);if(a===null){for(a="",e=e.child;e;)a+=Zl(e,t),e=e.sibling;return a}return an(t)+"<"+a+`>
152
- `}function sh(e,t){var a=Ju(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return an(t)+`...
153
- `+sh(a,t+1);a="";var o=e.fiber._debugInfo;if(o)for(var f=0;f<o.length;f++){var m=o[f].name;typeof m=="string"&&(a+=an(t)+"<"+m+`>
154
- `,t++)}if(o="",f=e.fiber.pendingProps,e.fiber.tag===6)o=ih(f,e.serverProps,t),t++;else if(m=eu(e.fiber),m!==null)if(e.serverProps===void 0){o=t;var v=120-2*o-m.length-2,S="";for(D in f)if(f.hasOwnProperty(D)&&D!=="children"){var T=dc(f[D],15);if(v-=D.length+T.length+2,0>v){S+=" ...";break}S+=" "+D+"="+T}o=an(o)+"<"+m+S+`>
155
- `,t++}else e.serverProps===null?(o=mc(m,f,Ku(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=yo(m,f,e.serverProps,t),t++);var D="";for(f=e.fiber.child,m=0;f&&m<e.children.length;)v=e.children[m],v.fiber===f?(D+=sh(v,t),m++):D+=Zl(f,t),f=f.sibling;for(f&&0<e.children.length&&(D+=an(t)+`...
156
- `),f=e.serverTail,e.serverProps===null&&t--,e=0;e<f.length;e++)m=f[e],D=typeof m=="string"?D+(Wo(t)+xi(m,120-2*t)+`
157
- `):D+mc(m.type,m.props,Wo(t));return a+o+D}function tg(e){try{return`
158
-
159
- `+sh(e,0)}catch{return""}}function ch(e,t,a){for(var o=t,f=null,m=0;o;)o===e&&(m=0),f={fiber:o,children:f!==null?[f]:[],serverProps:o===t?a:o===e?null:void 0,serverTail:[],distanceFromLeaf:m},m++,o=o.return;return f!==null?tg(f).replaceAll(/^[+-]/gm,">"):""}function ng(e,t){var a=Ot({},e||ve),o={tag:t};return w.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),G.indexOf(t)!==-1&&(a.pTagInButtonScope=null),x.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,t==="form"&&(a.formTag=o),t==="a"&&(a.aTagInScope=o),t==="button"&&(a.buttonTagInScope=o),t==="nobr"&&(a.nobrTagInScope=o),t==="p"&&(a.pTagInButtonScope=o),t==="li"&&(a.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=o),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Wf(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||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":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)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 re.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function Ax(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}function Xl(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function ed(e,t){t=t||ve;var a=t.current;if(t=(a=Wf(e,a&&a.tag,t.implicitRootScope)?null:a)?null:Ax(e,t),t=a||t,!t)return!0;var o=t.tag;if(t=String(!!a)+"|"+e+"|"+o,Ce[t])return!1;Ce[t]=!0;var f=(t=Ll)?Xl(t.return,o):null,m=t!==null&&f!==null?ch(f,t,null):"",v="<"+e+">";return a?(a="",o==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
160
- This will cause a hydration error.%s`,v,o,a,m)):console.error(`In HTML, %s cannot be a descendant of <%s>.
161
- This will cause a hydration error.%s`,v,o,m),t&&(e=t.return,f===null||e===null||f===e&&e._debugOwner===t._debugOwner||Me(f,function(){console.error(`<%s> cannot contain a nested %s.
162
- See this log for the ancestor stack trace.`,o,v)})),!1}function td(e,t,a){if(a||Wf("#text",t,!1))return!0;if(a="#text|"+t,Ce[a])return!1;Ce[a]=!0;var o=(a=Ll)?Xl(a,t):null;return a=a!==null&&o!==null?ch(o,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
163
- This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
164
- This will cause a hydration error.%s`,t,a),!1}function Fu(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function hc(e){return e.replace(P,function(t,a){return a.toUpperCase()})}function ag(e,t,a){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?ae.hasOwnProperty(t)&&ae[t]||(ae[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,hc(t.replace(bn,"ms-")))):ft.test(t)?ae.hasOwnProperty(t)&&ae[t]||(ae[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!J.test(a)||_e.hasOwnProperty(a)&&_e[a]||(_e[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(J,""))),typeof a=="number"&&(isNaN(a)?ot||(ot=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||Qt||(Qt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,a):typeof a!="number"||a===0||nt.has(t)?t==="float"?e.cssFloat=a:(va(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function lg(e,t,a){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,a!=null){if(t){var o={};if(a){for(var f in a)if(a.hasOwnProperty(f)&&!t.hasOwnProperty(f))for(var m=ie[f]||[f],v=0;v<m.length;v++)o[m[v]]=f}for(var S in t)if(t.hasOwnProperty(S)&&(!a||a[S]!==t[S]))for(f=ie[S]||[S],m=0;m<f.length;m++)o[f[m]]=S;S={};for(var T in t)for(f=ie[T]||[T],m=0;m<f.length;m++)S[f[m]]=T;T={};for(var D in o)if(f=o[D],(m=S[D])&&f!==m&&(v=f+","+m,!T[v])){T[v]=!0,v=console;var X=t[f];v.error.call(v,"%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.",X==null||typeof X=="boolean"||X===""?"Removing":"Updating",f,m)}}for(var K in a)!a.hasOwnProperty(K)||t!=null&&t.hasOwnProperty(K)||(K.indexOf("--")===0?e.setProperty(K,""):K==="float"?e.cssFloat="":e[K]="");for(var L in t)D=t[L],t.hasOwnProperty(L)&&a[L]!==D&&ag(e,L,D)}else for(o in t)t.hasOwnProperty(o)&&ag(e,o,t[o])}function _i(e){if(e.indexOf("-")===-1)return!1;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}}function Qb(e){return Ft.get(e)||e}function Jb(e,t){if(or.call($p,t)&&$p[t])return!0;if(J4.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=yS.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),$p[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),$p[t]=!0}if(Q4.test(t)){if(e=t.toLowerCase(),e=yS.hasOwnProperty(e)?e:null,e==null)return $p[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),$p[t]=!0)}return!0}function Kb(e,t){var a=[],o;for(o in t)Jb(e,o)||a.push(o);t=a.map(function(f){return"`"+f+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function rg(e,t,a,o){if(or.call(ur,t)&&ur[t])return!0;var f=t.toLowerCase();if(f==="onfocusin"||f==="onfocusout")return console.error("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."),ur[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(f)?e[f]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),ur[t]=!0;if(dN.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ur[t]=!0}else if(dN.test(t))return K4.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ur[t]=!0;if(F4.test(t)||I4.test(t))return!0;if(f==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ur[t]=!0;if(f==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ur[t]=!0;if(f==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),ur[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ur[t]=!0;if(ui.hasOwnProperty(f)){if(f=ui[f],f!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,f),ur[t]=!0}else if(t!==f)return console.error("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,f),ur[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return f=t.toLowerCase().slice(0,5),f==="data-"||f==="aria-"?!0:(a?console.error('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):console.error('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),ur[t]=!0)}case"function":case"symbol":return ur[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("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),ur[t]=!0}}return!0}function Dx(e,t,a){var o=[],f;for(f in t)rg(e,f,t[f],a)||o.push(f);t=o.map(function(m){return"`"+m+"`"}).join(", "),o.length===1?console.error("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://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("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://react.dev/link/attribute-behavior ",t,e)}function nd(e){return P4.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function vr(){}function Lr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function fh(e){var t=Ve(e);if(t&&(e=t.stateNode)){var a=e[Al]||null;e:switch(e=t.stateNode,t.type){case"input":if(Po(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(Gt(t,"name"),a=a.querySelectorAll('input[name="'+pn(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var o=a[t];if(o!==e&&o.form===e.form){var f=o[Al]||null;if(!f)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Po(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(t=0;t<a.length;t++)o=a[t],o.form===e.form&&Py(o)}break e;case"textarea":Qu(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Ei(e,!!a.multiple,t,!1)}}}function dh(e,t,a){if(Yx)return e(t,a);Yx=!0;try{var o=e(t);return o}finally{if(Yx=!1,(Zp!==null||Xp!==null)&&(lr(),Zp&&(t=Zp,e=Xp,Xp=Zp=null,fh(t),e)))for(t=0;t<e.length;t++)fh(e[t])}}function Ti(e,t){var a=e.stateNode;if(a===null)return null;var o=a[Al]||null;if(o===null)return null;a=o[t];e:switch(t){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)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Iu(){if(gS)return gS;var e,t=$x,a=t.length,o,f="value"in vf?vf.value:vf.textContent,m=f.length;for(e=0;e<a&&t[e]===f[e];e++);var v=a-e;for(o=1;o<=v&&t[a-o]===f[m-o];o++);return gS=f.slice(e,1<o?1-o:void 0)}function ad(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function pc(){return!0}function ig(){return!1}function za(e){function t(a,o,f,m,v){this._reactName=a,this._targetInst=f,this.type=o,this.nativeEvent=m,this.target=v,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(a=e[S],this[S]=a?a(m):m[S]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?pc:ig,this.isPropagationStopped=ig,this}return Ot(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=pc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=pc)},persist:function(){},isPersistent:pc}),t}function go(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fM[e])?!!t[e]:!1}function ld(){return go}function yc(e,t){switch(e){case"keyup":return _M.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==yN;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function og(e,t){switch(e){case"compositionend":return vo(t);case"keypress":return t.which!==vN?null:(SN=!0,bN);case"textInput":return e=t.data,e===bN&&SN?null:e;default:return null}}function mh(e,t){if(Qp)return e==="compositionend"||!Jx&&yc(e,t)?(e=Iu(),gS=$x=vf=null,Qp=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return gN&&t.locale!=="ko"?null:t.data;default:return null}}function ug(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!CM[e.type]:t==="textarea"}function hh(e){if(!zu)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function rd(e,t,a,o){Zp?Xp?Xp.push(o):Xp=[o]:Zp=o,t=ai(t,"onChange"),0<t.length&&(a=new vS("onChange","change",null,a,o),e.push({event:a,listeners:t}))}function Fb(e){on(e,0)}function Fa(e){var t=We(e);if(Py(t))return e}function tu(e,t){if(e==="change")return t}function id(){iv&&(iv.detachEvent("onpropertychange",gc),ov=iv=null)}function gc(e){if(e.propertyName==="value"&&Fa(ov)){var t=[];rd(t,ov,e,Lr(e)),dh(Fb,t)}}function Rx(e,t,a){e==="focusin"?(id(),iv=t,ov=a,iv.attachEvent("onpropertychange",gc)):e==="focusout"&&id()}function sg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fa(ov)}function cg(e,t){if(e==="click")return Fa(t)}function od(e,t){if(e==="input"||e==="change")return Fa(t)}function ph(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function vc(e,t){if(sr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var f=a[o];if(!or.call(t,f)||!sr(e[f],t[f]))return!1}return!0}function Ib(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pb(e,t){var a=Ib(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=t&&o>=t)return{node:a,offset:t-e};e=o}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ib(a)}}function Wb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Wb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Hr(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Hr(e.document)}return t}function fg(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 e1(e,t,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Fx||Jp==null||Jp!==Hr(o)||(o=Jp,"selectionStart"in o&&fg(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}),uv&&vc(uv,o)||(uv=o,o=ai(Kx,"onSelect"),0<o.length&&(t=new vS("onSelect","select",null,t,a),e.push({event:t,listeners:o}),t.target=Jp)))}function Pu(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function Wu(e){if(Ix[e])return Ix[e];if(!Kp[e])return e;var t=Kp[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in xN)return Ix[e]=t[a];return e}function qr(e,t){AN.set(e,t),jt(t,[e])}function t1(e){for(var t=SS,a=0;a<e.length;a++){var o=e[a];if(typeof o=="object"&&o!==null)if(ha(o)&&o.length===2&&typeof o[0]=="string"){if(t!==SS&&t!==n_)return e_;t=n_}else return e_;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==SS&&t!==t_)return e_;t=t_}}return t}function dg(e,t,a,o){for(var f in e)or.call(e,f)&&f[0]!=="_"&&Ci(f,e[f],t,a,o)}function Ci(e,t,a,o,f){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Rr){var m=Le(t.type)||"…",v=t.key;t=t.props;var S=Object.keys(t),T=S.length;if(v==null&&T===0){t="<"+m+" />";break}if(3>o||T===1&&S[0]==="children"&&v==null){t="<"+m+" … />";break}a.push([f+"  ".repeat(o)+e,"<"+m]),v!==null&&Ci("key",v,a,o+1,f),e=!1;for(var D in t)D==="children"?t.children!=null&&(!ha(t.children)||0<t.children.length)&&(e=!0):or.call(t,D)&&D[0]!=="_"&&Ci(D,t[D],a,o+1,f);a.push(["",e?">…</"+m+">":"/>"]);return}if(m=Object.prototype.toString.call(t),m=m.slice(8,m.length-1),m==="Array"){if(D=t1(t),D===t_||D===SS){t=JSON.stringify(t);break}else if(D===n_){for(a.push([f+"  ".repeat(o)+e,""]),e=0;e<t.length;e++)m=t[e],Ci(m[0],m[1],a,o+1,f);return}}if(m==="Promise"){if(t.status==="fulfilled"){if(m=a.length,Ci(e,t.value,a,o,f),a.length>m){a=a[m],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(t.status==="rejected"&&(m=a.length,Ci(e,t.reason,a,o,f),a.length>m)){a=a[m],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(o)+e,"Promise"]);return}m==="Object"&&(D=Object.getPrototypeOf(t))&&typeof D.constructor=="function"&&(m=D.constructor.name),a.push([f+"  ".repeat(o)+e,m==="Object"?3>o?"":"…":m]),3>o&&dg(t,a,o+1,f);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===MM?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}a.push([f+"  ".repeat(o)+e,t])}function n1(e,t,a,o){var f=!0;for(v in e)v in t||(a.push([ES+"  ".repeat(o)+v,"…"]),f=!1);for(var m in t)if(m in e){var v=e[m],S=t[m];if(v!==S){if(o===0&&m==="children")f="  ".repeat(o)+m,a.push([ES+f,"…"],[xS+f,"…"]);else{if(!(3<=o)){if(typeof v=="object"&&typeof S=="object"&&v!==null&&S!==null&&v.$$typeof===S.$$typeof)if(S.$$typeof===Rr){if(v.type===S.type&&v.key===S.key){v=Le(S.type)||"…",f="  ".repeat(o)+m,v="<"+v+" … />",a.push([ES+f,v],[xS+f,v]),f=!1;continue}}else{var T=Object.prototype.toString.call(v),D=Object.prototype.toString.call(S);if(T===D&&(D==="[object Object]"||D==="[object Array]")){T=[ON+"  ".repeat(o)+m,D==="[object Array]"?"Array":""],a.push(T),D=a.length,n1(v,S,a,o+1)?D===a.length&&(T[1]="Referentially unequal but deeply equal objects. Consider memoization."):f=!1;continue}}else if(typeof v=="function"&&typeof S=="function"&&v.name===S.name&&v.length===S.length&&(T=Function.prototype.toString.call(v),D=Function.prototype.toString.call(S),T===D)){v=S.name===""?"() => {}":S.name+"() {}",a.push([ON+"  ".repeat(o)+m,v+" Referentially unequal function closure. Consider memoization."]);continue}}Ci(m,v,a,o,ES),Ci(m,S,a,o,xS)}f=!1}}else a.push([xS+"  ".repeat(o)+m,"…"]),f=!1;return f}function Yr(e){Xt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function br(e,t,a,o){Ln&&(Sf.start=t,Sf.end=a,ks.color="warning",ks.tooltipText=o,ks.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,Sf)):performance.measure(o,Sf))}function gh(e,t,a){br(e,t,a,"Reconnect")}function vh(e,t,a,o,f){var m=we(e);if(m!==null&&Ln){var v=e.alternate,S=e.actualDuration;if(v===null||v.child!==e.child)for(var T=e.child;T!==null;T=T.sibling)S-=T.actualDuration;o=.5>S?o?"tertiary-light":"primary-light":10>S?o?"tertiary":"primary":100>S?o?"tertiary-dark":"primary-dark":"error";var D=e.memoizedProps;S=e._debugTask,D!==null&&v!==null&&v.memoizedProps!==D?(T=[zM],D=n1(v.memoizedProps,D,T,0),1<T.length&&(D&&!bf&&(v.lanes&f)===0&&100<e.actualDuration?(bf=!0,T[0]=jM,ks.color="warning",ks.tooltipText=wN):(ks.color=o,ks.tooltipText=m),ks.properties=T,Sf.start=t,Sf.end=a,S!=null?S.run(performance.measure.bind(performance,"​"+m,Sf)):performance.measure("​"+m,Sf))):S!=null?S.run(console.timeStamp.bind(console,m,t,a,Pi,void 0,o)):console.timeStamp(m,t,a,Pi,void 0,o)}}function mg(e,t,a,o){if(Ln){var f=we(e);if(f!==null){for(var m=null,v=[],S=0;S<o.length;S++){var T=o[S];m==null&&T.source!==null&&(m=T.source._debugTask),T=T.value,v.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e.key!==null&&Ci("key",e.key,v,0,""),e.memoizedProps!==null&&dg(e.memoizedProps,v,0,""),m==null&&(m=e._debugTask),e={start:t,end:a,detail:{devtools:{color:"error",track:Pi,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:v}}},m?m.run(performance.measure.bind(performance,"​"+f,e)):performance.measure("​"+f,e)}}}function Gr(e,t,a,o,f){if(f!==null){if(Ln){var m=we(e);if(m!==null){o=[];for(var v=0;v<f.length;v++){var S=f[v].value;o.push(["Error",typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S)])}e.key!==null&&Ci("key",e.key,o,0,""),e.memoizedProps!==null&&dg(e.memoizedProps,o,0,""),t={start:t,end:a,detail:{devtools:{color:"error",track:Pi,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+m,t)):performance.measure("​"+m,t)}}}else m=we(e),m!==null&&Ln&&(f=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,m,t,a,Pi,void 0,f)):console.timeStamp(m,t,a,Pi,void 0,f))}function Ox(e,t,a,o){if(Ln&&!(t<=e)){var f=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,a,e,t,Xt,$t,f)):console.timeStamp(a,e,t,Xt,$t,f)}}function a1(e,t,a,o){!Ln||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,Xt,$t,a)):console.timeStamp("Prewarm",e,t,Xt,$t,a))}function l1(e,t,a,o){!Ln||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,Xt,$t,a)):console.timeStamp("Suspended",e,t,Xt,$t,a))}function wx(e,t,a,o,f,m){if(Ln&&!(t<=e)){a=[];for(var v=0;v<o.length;v++){var S=o[v].value;a.push(["Recoverable Error",typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:Xt,trackGroup:$t,tooltipText:f?"Hydration Failed":"Recovered after Error",properties:a}}},m?m.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function hg(e,t,a,o){!Ln||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,Xt,$t,"error")):console.timeStamp("Errored",e,t,Xt,$t,"error"))}function Mx(e,t,a,o){!Ln||t<=e||(o?o.run(console.timeStamp.bind(console,a,e,t,Xt,$t,"secondary-light")):console.timeStamp(a,e,t,Xt,$t,"secondary-light"))}function r1(e,t,a,o,f){if(Ln&&!(t<=e)){for(var m=[],v=0;v<a.length;v++){var S=a[v].value;m.push(["Error",typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Xt,trackGroup:$t,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:m}}},f?f.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function pg(e,t,a){!Ln||t<=e||console.timeStamp("Animating",e,t,Xt,$t,"secondary-dark")}function bh(){for(var e=Fp,t=a_=Fp=0;t<e;){var a=Wi[t];Wi[t++]=null;var o=Wi[t];Wi[t++]=null;var f=Wi[t];Wi[t++]=null;var m=Wi[t];if(Wi[t++]=null,o!==null&&f!==null){var v=o.pending;v===null?f.next=f:(f.next=v.next,v.next=f),o.pending=f}m!==0&&yg(a,f,m)}}function bc(e,t,a,o){Wi[Fp++]=e,Wi[Fp++]=t,Wi[Fp++]=a,Wi[Fp++]=o,a_|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function es(e,t,a,o){return bc(e,t,a,o),ud(e)}function al(e,t){return bc(e,null,null,t),ud(e)}function yg(e,t,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var f=!1,m=e.return;m!==null;)m.childLanes|=a,o=m.alternate,o!==null&&(o.childLanes|=a),m.tag===22&&(e=m.stateNode,e===null||e._visibility&sv||(f=!0)),e=m,m=m.return;return e.tag===3?(m=e.stateNode,f&&t!==null&&(f=31-Pa(a),e=m.hiddenUpdates,o=e[f],o===null?e[f]=[t]:o.push(t),t.lane=a|536870912),m):null}function ud(e){if(Vv>FM)throw Om=Vv=0,Bv=V_=null,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.");Om>IM&&(Om=0,Bv=null,console.error("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.")),e.alternate===null&&(e.flags&4098)!==0&&Dr(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&Dr(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function nu(e){if(eo===null)return e;var t=eo(e);return t===void 0?e:t.current}function Sh(e){if(eo===null)return e;var t=eo(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=nu(e.render),e.render!==t)?(t={$$typeof:of,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function gg(e,t){if(eo===null)return!1;var a=e.elementType;t=t.type;var o=!1,f=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||f===il)&&(o=!0);break;case 11:(f===of||f===il)&&(o=!0);break;case 14:case 15:(f===um||f===il)&&(o=!0);break;default:return!1}return!!(o&&(e=eo(a),e!==void 0&&e===eo(t)))}function ts(e){eo!==null&&typeof WeakSet=="function"&&(Ip===null&&(Ip=new WeakSet),Ip.add(e))}function i1(e,t,a){do{var o=e,f=o.alternate,m=o.child,v=o.sibling,S=o.tag;o=o.type;var T=null;switch(S){case 0:case 15:case 1:T=o;break;case 11:T=o.render}if(eo===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,T!==null&&(T=eo(T),T!==void 0&&(a.has(T)?o=!0:t.has(T)&&(S===1?o=!0:D=!0))),Ip!==null&&(Ip.has(e)||f!==null&&Ip.has(f))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||D)&&(f=al(e,2),f!==null&&yt(f,e,2)),m===null||o||i1(m,t,a),v===null)break;e=v}while(!0)}function zx(e,t,a,o){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,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,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,MN||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function vg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ni(e,t){var a=e.alternate;switch(a===null?(a=R(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=nu(e.type);break;case 1:a.type=nu(e.type);break;case 11:a.type=Sh(e.type)}return a}function bg(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function ns(e,t,a,o,f,m){var v=0,S=e;if(typeof e=="function")vg(e)&&(v=1),S=nu(S);else if(typeof e=="string")v=ne(),v=tS(e,a,v)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oi:return t=R(31,a,t,f),t.elementType=oi,t.lanes=m,t;case rf:return as(a.children,f,m,t);case Nl:v=8,f|=ql,f|=Ho;break;case om:return e=a,o=f,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=R(12,e,t,o|wt),t.elementType=om,t.lanes=m,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case zs:return t=R(13,a,t,f),t.elementType=zs,t.lanes=m,t;case Hl:return t=R(19,a,t,f),t.elementType=Hl,t.lanes=m,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ii:v=10;break e;case Mp:v=9;break e;case of:v=11,S=Sh(S);break e;case um:v=14;break e;case il:v=16,S=null;break e}S="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?a="null":ha(e)?a="array":e!==void 0&&e.$$typeof===Rr?(a="<"+(Le(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(v=o?Pe(o):null)&&(S+=`
165
-
166
- Check the render method of \``+v+"`."),v=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+S)),S=null}return t=R(v,a,t,f),t.elementType=e,t.type=S,t.lanes=m,t._debugOwner=o,t}function au(e,t,a){return t=ns(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function as(e,t,a,o){return e=R(7,e,o,t),e.lanes=a,e}function Sc(e,t,a){return e=R(6,e,null,t),e.lanes=a,e}function Sg(e){var t=R(18,null,null,pt);return t.stateNode=e,t}function Eh(e,t,a){return t=R(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ml(e,t){if(typeof e=="object"&&e!==null){var a=l_.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ne(t)},l_.set(e,t),t)}return{value:e,source:t,stack:Ne(t)}}function $r(e,t){lu(),Pp[Wp++]=cv,Pp[Wp++]=_S,_S=e,cv=t}function Eg(e,t,a){lu(),to[no++]=Ls,to[no++]=qs,to[no++]=pm,pm=e;var o=Ls;e=qs;var f=32-Pa(o)-1;o&=~(1<<f),a+=1;var m=32-Pa(t)+f;if(30<m){var v=f-f%5;m=(o&(1<<v)-1).toString(32),o>>=v,f-=v,Ls=1<<32-Pa(t)+f|a<<f|o,qs=m+e}else Ls=1<<m|a<<f|o,qs=e}function xh(e){lu(),e.return!==null&&($r(e,1),Eg(e,1,0))}function _h(e){for(;e===_S;)_S=Pp[--Wp],Pp[Wp]=null,cv=Pp[--Wp],Pp[Wp]=null;for(;e===pm;)pm=to[--no],to[no]=null,qs=to[--no],to[no]=null,Ls=to[--no],to[no]=null}function o1(){return lu(),pm!==null?{id:Ls,overflow:qs}:null}function u1(e,t){lu(),to[no++]=Ls,to[no++]=qs,to[no++]=pm,Ls=t.id,qs=t.overflow,pm=e}function lu(){Yt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ls(e,t){if(e.return===null){if(si===null)si={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(si.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");si.distanceFromLeaf>t&&(si.distanceFromLeaf=t)}return si}var a=ls(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function s1(){Yt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function ll(e,t){ju||(e=ls(e,0),e.serverProps=null,t!==null&&(t=I1(t),e.serverTail.push(t)))}function Sr(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",o=si;throw o!==null&&(si=null,a=tg(o)),cd(ml(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
167
-
168
- - A server/client branch \`if (typeof window !== 'undefined')\`.
169
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
170
- - Date formatting in a user's locale which doesn't match the server.
171
- - External changing data without sending a snapshot of it along with the HTML.
172
- - Invalid HTML tag nesting.
173
-
174
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
175
-
176
- https://react.dev/link/hydration-mismatch`+a),e)),r_}function xg(e){var t=e.stateNode,a=e.type,o=e.memoizedProps;switch(t[Hn]=e,t[Al]=o,Tl(a,o),a){case"dialog":ht("cancel",t),ht("close",t);break;case"iframe":case"object":case"embed":ht("load",t);break;case"video":case"audio":for(a=0;a<kv.length;a++)ht(kv[a],t);break;case"source":ht("error",t);break;case"img":case"image":case"link":ht("error",t),ht("load",t);break;case"details":ht("toggle",t);break;case"input":nl("input",o),ht("invalid",t),dl(t,o),lh(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":Xb(t,o);break;case"select":nl("select",o),ht("invalid",t),rh(t,o);break;case"textarea":nl("textarea",o),ht("invalid",t),Xu(t,o),cc(t,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||o.suppressHydrationWarning===!0||T0(t.textContent,a)?(o.popover!=null&&(ht("beforetoggle",t),ht("toggle",t)),o.onScroll!=null&&ht("scroll",t),o.onScrollEnd!=null&&ht("scrollend",t),o.onClick!=null&&(t.onclick=vr),t=!0):t=!1,t||Sr(e,!0)}function _g(e){for(Dl=e.return;Dl;)switch(Dl.tag){case 5:case 31:case 13:ao=!1;return;case 27:case 3:ao=!0;return;default:Dl=Dl.return}}function rs(e){if(e!==Dl)return!1;if(!Yt)return _g(e),Yt=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Ic(e.type,e.memoizedProps)),a=!a),a&&qn){for(a=qn;a;){var o=ls(e,0),f=I1(a);o.serverTail.push(f),a=f.type==="Suspense"?ef(a):rr(a.nextSibling)}Sr(e)}if(_g(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qn=ef(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qn=ef(e)}else t===27?(t=qn,Au(e.type)?(e=J_,J_=null,qn=e):qn=t):qn=Dl?rr(e.stateNode.nextSibling):null;return!0}function ru(){qn=Dl=null,ju=Yt=!1}function sd(){var e=xf;return e!==null&&(mr===null?mr=e:mr.push.apply(mr,e),xf=null),e}function cd(e){xf===null?xf=[e]:xf.push(e)}function iu(){var e=si;if(e!==null){si=null;for(var t=tg(e);0<e.children.length;)e=e.children[0];Me(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
177
-
178
- - A server/client branch \`if (typeof window !== 'undefined')\`.
179
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
180
- - Date formatting in a user's locale which doesn't match the server.
181
- - External changing data without sending a snapshot of it along with the HTML.
182
- - Invalid HTML tag nesting.
183
-
184
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
185
-
186
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Ec(){ey=TS=null,ty=!1}function Er(e,t,a){ue(i_,t._currentValue,e),t._currentValue=a,ue(o_,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==jN&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=jN}function Zr(e,t){e._currentValue=i_.current;var a=o_.current;M(o_,t),e._currentRenderer=a,M(i_,t)}function Th(e,t,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===a)break;e=e.return}e!==a&&console.error("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 bo(e,t,a,o){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var m=f.dependencies;if(m!==null){var v=f.child;m=m.firstContext;e:for(;m!==null;){var S=m;m=f;for(var T=0;T<t.length;T++)if(S.context===t[T]){m.lanes|=a,S=m.alternate,S!==null&&(S.lanes|=a),Th(m.return,a,e),o||(v=null);break e}m=S.next}}else if(f.tag===18){if(v=f.return,v===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");v.lanes|=a,m=v.alternate,m!==null&&(m.lanes|=a),Th(v,a,e),v=null}else v=f.child;if(v!==null)v.return=f;else for(v=f;v!==null;){if(v===e){v=null;break}if(f=v.sibling,f!==null){f.return=v.return,v=f;break}v=v.return}f=v}}function Xr(e,t,a,o){e=null;for(var f=t,m=!1;f!==null;){if(!m){if((f.flags&524288)!==0)m=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var v=f.alternate;if(v===null)throw Error("Should have a current fiber. This is a bug in React.");if(v=v.memoizedProps,v!==null){var S=f.type;sr(f.pendingProps.value,v.value)||(e!==null?e.push(S):e=[S])}}else if(f===wu.current){if(v=f.alternate,v===null)throw Error("Should have a current fiber. This is a bug in React.");v.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(Gv):e=[Gv])}f=f.return}e!==null&&bo(t,e,a,o),t.flags|=262144}function xc(e){for(e=e.firstContext;e!==null;){if(!sr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ou(e){TS=e,ey=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Pt(e){return ty&&console.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()."),Tg(TS,e)}function fd(e,t){return TS===null&&ou(e),Tg(e,t)}function Tg(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ey===null){if(e===null)throw 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().");ey=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else ey=ey.next=t;return a}function Ch(){return{controller:new BM,data:new Map,refCount:0}}function is(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function dd(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&kM(HM,function(){e.controller.abort()})}function Ai(e,t,a){(e&127)!==0?0>Uu&&(Uu=Ya(),dv=CS(t),u_=t,a!=null&&(s_=we(a)),(Jt&(tl|di))!==cl&&(sa=!0,Tf=fv),e=Pc(),t=Xi(),e!==ny||t!==mv?ny=-1.1:t!==null&&(Tf=fv),vm=e,mv=t):(e&4194048)!==0&&0>lo&&(lo=Ya(),hv=CS(t),UN=t,a!=null&&(VN=we(a)),0>Zs)&&(e=Pc(),t=Xi(),(e!==Nf||t!==bm)&&(Nf=-1.1),Cf=e,bm=t)}function c1(e){if(0>Uu){Uu=Ya(),dv=e._debugTask!=null?e._debugTask:null,(Jt&(tl|di))!==cl&&(Tf=fv);var t=Pc(),a=Xi();t!==ny||a!==mv?ny=-1.1:a!==null&&(Tf=fv),vm=t,mv=a}0>lo&&(lo=Ya(),hv=e._debugTask!=null?e._debugTask:null,0>Zs)&&(e=Pc(),t=Xi(),(e!==Nf||t!==bm)&&(Nf=-1.1),Cf=e,bm=t)}function Di(){var e=ym;return ym=0,e}function _c(e){var t=ym;return ym=e,t}function hl(e){var t=ym;return ym+=e,t}function os(){mt=st=-1.1}function Vn(){var e=st;return st=-1.1,e}function ja(e){0<=e&&(st=e)}function xr(){var e=ea;return ea=-0,e}function Ql(e){0<=e&&(ea=e)}function Jl(){var e=Qn;return Qn=null,e}function _r(){var e=sa;return sa=!1,e}function So(e){cr=Ya(),0>e.actualStartTime&&(e.actualStartTime=cr)}function Nh(e){if(0<=cr){var t=Ya()-cr;e.actualDuration+=t,e.selfBaseDuration=t,cr=-1}}function md(e){if(0<=cr){var t=Ya()-cr;e.actualDuration+=t,cr=-1}}function pl(){if(0<=cr){var e=Ya(),t=e-cr;cr=-1,ym+=t,ea+=t,mt=e}}function f1(e){Qn===null&&(Qn=[]),Qn.push(e),Gs===null&&(Gs=[]),Gs.push(e)}function In(){cr=Ya(),0>st&&(st=cr)}function us(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Eo(e,t){if(yv===null){var a=yv=[];f_=0,Sm=_0(),ay={status:"pending",value:void 0,then:function(o){a.push(o)}}}return f_++,t.then(Cg,Cg),t}function Cg(){if(--f_===0&&(-1<lo||(Zs=-1.1),yv!==null)){ay!==null&&(ay.status="fulfilled");var e=yv;yv=null,Sm=0,ay=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ah(e,t){var a=[],o={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var f=0;f<a.length;f++)(0,a[f])(t)},function(f){for(o.status="rejected",o.reason=f,f=0;f<a.length;f++)(0,a[f])(void 0)}),o}function xo(){var e=Em.current;return e!==null?e:Mn.pooledCache}function Tc(e,t){t===null?ue(Em,Em.current,e):ue(Em,t.pool,e)}function Ng(){var e=xo();return e===null?null:{parent:qa._currentValue,pool:e}}function Dh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ag(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Kl(e,t,a){de.actQueue!==null&&(de.didUsePromise=!0);var o=e.thenables;if(a=o[a],a===void 0?o.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(vr,vr),t=a),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var f={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:f}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){f.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,hd(e),e;default:if(typeof t.status=="string")t.then(vr,vr);else{if(e=Mn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(m){if(t.status==="pending"){var v=t;v.status="fulfilled",v.value=m}},function(m){if(t.status==="pending"){var v=t;v.status="rejected",v.reason=m}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,hd(e),e}throw _m=t,_v=!0,ly}}function Fl(e){try{return $M(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(_m=t,_v=!0,ly):t}}function ss(){if(_m===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=_m;return _m=null,_v=!1,e}function hd(e){if(e===ly||e===zS)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function la(e){var t=Mt;return e!=null&&(Mt=t===null?e:t.concat(e)),t}function zl(){var e=Mt;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var a=e[t].debugTask;if(a!=null)return a}}return null}function yl(e,t,a){for(var o=Object.keys(e.props),f=0;f<o.length;f++){var m=o[f];if(m!=="children"&&m!=="key"){t===null&&(t=au(e,a.mode,0),t._debugInfo=Mt,t.return=a),Me(t,function(v){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",v)},m);break}}}function Qr(e){var t=Tv;return Tv+=1,ry===null&&(ry=Dh()),Kl(ry,e,t)}function jl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Jr(e,t){throw t.$$typeof===oS?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
187
- - Multiple copies of the "react" package is used.
188
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
189
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Tr(e,t){var a=zl();a!==null?a.run(Jr.bind(null,e,t)):Jr(e,t)}function Dg(e,t){var a=we(e)||"Component";nA[a]||(nA[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
190
- root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
191
- <%s>{%s}</%s>`,t,t,a,t,a))}function Cc(e,t){var a=zl();a!==null?a.run(Dg.bind(null,e,t)):Dg(e,t)}function Rh(e,t){var a=we(e)||"Component";aA[a]||(aA[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
192
- root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
193
- <%s>%s</%s>`,a,t,a))}function pd(e,t){var a=zl();a!==null?a.run(Rh.bind(null,e,t)):Rh(e,t)}function Ua(e){function t(k,q){if(e){var Z=k.deletions;Z===null?(k.deletions=[q],k.flags|=16):Z.push(q)}}function a(k,q){if(!e)return null;for(;q!==null;)t(k,q),q=q.sibling;return null}function o(k){for(var q=new Map;k!==null;)k.key!==null?q.set(k.key,k):q.set(k.index,k),k=k.sibling;return q}function f(k,q){return k=Ni(k,q),k.index=0,k.sibling=null,k}function m(k,q,Z){return k.index=Z,e?(Z=k.alternate,Z!==null?(Z=Z.index,Z<q?(k.flags|=67108866,q):Z):(k.flags|=67108866,q)):(k.flags|=1048576,q)}function v(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function S(k,q,Z,Se){return q===null||q.tag!==6?(q=Sc(Z,k.mode,Se),q.return=k,q._debugOwner=k,q._debugTask=k._debugTask,q._debugInfo=Mt,q):(q=f(q,Z),q.return=k,q._debugInfo=Mt,q)}function T(k,q,Z,Se){var Ge=Z.type;return Ge===rf?(q=X(k,q,Z.props.children,Se,Z.key),yl(Z,q,k),q):q!==null&&(q.elementType===Ge||gg(q,Z)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===il&&Fl(Ge)===q.type)?(q=f(q,Z.props),jl(q,Z),q.return=k,q._debugOwner=Z._owner,q._debugInfo=Mt,q):(q=au(Z,k.mode,Se),jl(q,Z),q.return=k,q._debugInfo=Mt,q)}function D(k,q,Z,Se){return q===null||q.tag!==4||q.stateNode.containerInfo!==Z.containerInfo||q.stateNode.implementation!==Z.implementation?(q=Eh(Z,k.mode,Se),q.return=k,q._debugInfo=Mt,q):(q=f(q,Z.children||[]),q.return=k,q._debugInfo=Mt,q)}function X(k,q,Z,Se,Ge){return q===null||q.tag!==7?(q=as(Z,k.mode,Se,Ge),q.return=k,q._debugOwner=k,q._debugTask=k._debugTask,q._debugInfo=Mt,q):(q=f(q,Z),q.return=k,q._debugInfo=Mt,q)}function K(k,q,Z){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=Sc(""+q,k.mode,Z),q.return=k,q._debugOwner=k,q._debugTask=k._debugTask,q._debugInfo=Mt,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case Rr:return Z=au(q,k.mode,Z),jl(Z,q),Z.return=k,k=la(q._debugInfo),Z._debugInfo=Mt,Mt=k,Z;case Ru:return q=Eh(q,k.mode,Z),q.return=k,q._debugInfo=Mt,q;case il:var Se=la(q._debugInfo);return q=Fl(q),k=K(k,q,Z),Mt=Se,k}if(ha(q)||Te(q))return Z=as(q,k.mode,Z,null),Z.return=k,Z._debugOwner=k,Z._debugTask=k._debugTask,k=la(q._debugInfo),Z._debugInfo=Mt,Mt=k,Z;if(typeof q.then=="function")return Se=la(q._debugInfo),k=K(k,Qr(q),Z),Mt=Se,k;if(q.$$typeof===ii)return K(k,fd(k,q),Z);Tr(k,q)}return typeof q=="function"&&Cc(k,q),typeof q=="symbol"&&pd(k,q),null}function L(k,q,Z,Se){var Ge=q!==null?q.key:null;if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Ge!==null?null:S(k,q,""+Z,Se);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Rr:return Z.key===Ge?(Ge=la(Z._debugInfo),k=T(k,q,Z,Se),Mt=Ge,k):null;case Ru:return Z.key===Ge?D(k,q,Z,Se):null;case il:return Ge=la(Z._debugInfo),Z=Fl(Z),k=L(k,q,Z,Se),Mt=Ge,k}if(ha(Z)||Te(Z))return Ge!==null?null:(Ge=la(Z._debugInfo),k=X(k,q,Z,Se,null),Mt=Ge,k);if(typeof Z.then=="function")return Ge=la(Z._debugInfo),k=L(k,q,Qr(Z),Se),Mt=Ge,k;if(Z.$$typeof===ii)return L(k,q,fd(k,Z),Se);Tr(k,Z)}return typeof Z=="function"&&Cc(k,Z),typeof Z=="symbol"&&pd(k,Z),null}function oe(k,q,Z,Se,Ge){if(typeof Se=="string"&&Se!==""||typeof Se=="number"||typeof Se=="bigint")return k=k.get(Z)||null,S(q,k,""+Se,Ge);if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case Rr:return Z=k.get(Se.key===null?Z:Se.key)||null,k=la(Se._debugInfo),q=T(q,Z,Se,Ge),Mt=k,q;case Ru:return k=k.get(Se.key===null?Z:Se.key)||null,D(q,k,Se,Ge);case il:var St=la(Se._debugInfo);return Se=Fl(Se),q=oe(k,q,Z,Se,Ge),Mt=St,q}if(ha(Se)||Te(Se))return Z=k.get(Z)||null,k=la(Se._debugInfo),q=X(q,Z,Se,Ge,null),Mt=k,q;if(typeof Se.then=="function")return St=la(Se._debugInfo),q=oe(k,q,Z,Qr(Se),Ge),Mt=St,q;if(Se.$$typeof===ii)return oe(k,q,Z,fd(q,Se),Ge);Tr(q,Se)}return typeof Se=="function"&&Cc(q,Se),typeof Se=="symbol"&&pd(q,Se),null}function He(k,q,Z,Se){if(typeof Z!="object"||Z===null)return Se;switch(Z.$$typeof){case Rr:case Ru:U(k,q,Z);var Ge=Z.key;if(typeof Ge!="string")break;if(Se===null){Se=new Set,Se.add(Ge);break}if(!Se.has(Ge)){Se.add(Ge);break}Me(q,function(){console.error("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.",Ge)});break;case il:Z=Fl(Z),He(k,q,Z,Se)}return Se}function Xe(k,q,Z,Se){for(var Ge=null,St=null,ut=null,lt=q,Rt=q=0,Yn=null;lt!==null&&Rt<Z.length;Rt++){lt.index>Rt?(Yn=lt,lt=null):Yn=lt.sibling;var Na=L(k,lt,Z[Rt],Se);if(Na===null){lt===null&&(lt=Yn);break}Ge=He(k,Na,Z[Rt],Ge),e&&lt&&Na.alternate===null&&t(k,lt),q=m(Na,q,Rt),ut===null?St=Na:ut.sibling=Na,ut=Na,lt=Yn}if(Rt===Z.length)return a(k,lt),Yt&&$r(k,Rt),St;if(lt===null){for(;Rt<Z.length;Rt++)lt=K(k,Z[Rt],Se),lt!==null&&(Ge=He(k,lt,Z[Rt],Ge),q=m(lt,q,Rt),ut===null?St=lt:ut.sibling=lt,ut=lt);return Yt&&$r(k,Rt),St}for(lt=o(lt);Rt<Z.length;Rt++)Yn=oe(lt,k,Rt,Z[Rt],Se),Yn!==null&&(Ge=He(k,Yn,Z[Rt],Ge),e&&Yn.alternate!==null&&lt.delete(Yn.key===null?Rt:Yn.key),q=m(Yn,q,Rt),ut===null?St=Yn:ut.sibling=Yn,ut=Yn);return e&&lt.forEach(function(Ws){return t(k,Ws)}),Yt&&$r(k,Rt),St}function Un(k,q,Z,Se){if(Z==null)throw Error("An iterable object provided no iterator.");for(var Ge=null,St=null,ut=q,lt=q=0,Rt=null,Yn=null,Na=Z.next();ut!==null&&!Na.done;lt++,Na=Z.next()){ut.index>lt?(Rt=ut,ut=null):Rt=ut.sibling;var Ws=L(k,ut,Na.value,Se);if(Ws===null){ut===null&&(ut=Rt);break}Yn=He(k,Ws,Na.value,Yn),e&&ut&&Ws.alternate===null&&t(k,ut),q=m(Ws,q,lt),St===null?Ge=Ws:St.sibling=Ws,St=Ws,ut=Rt}if(Na.done)return a(k,ut),Yt&&$r(k,lt),Ge;if(ut===null){for(;!Na.done;lt++,Na=Z.next())ut=K(k,Na.value,Se),ut!==null&&(Yn=He(k,ut,Na.value,Yn),q=m(ut,q,lt),St===null?Ge=ut:St.sibling=ut,St=ut);return Yt&&$r(k,lt),Ge}for(ut=o(ut);!Na.done;lt++,Na=Z.next())Rt=oe(ut,k,lt,Na.value,Se),Rt!==null&&(Yn=He(k,Rt,Na.value,Yn),e&&Rt.alternate!==null&&ut.delete(Rt.key===null?lt:Rt.key),q=m(Rt,q,lt),St===null?Ge=Rt:St.sibling=Rt,St=Rt);return e&&ut.forEach(function(h6){return t(k,h6)}),Yt&&$r(k,lt),Ge}function Zt(k,q,Z,Se){if(typeof Z=="object"&&Z!==null&&Z.type===rf&&Z.key===null&&(yl(Z,null,k),Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Rr:var Ge=la(Z._debugInfo);e:{for(var St=Z.key;q!==null;){if(q.key===St){if(St=Z.type,St===rf){if(q.tag===7){a(k,q.sibling),Se=f(q,Z.props.children),Se.return=k,Se._debugOwner=Z._owner,Se._debugInfo=Mt,yl(Z,Se,k),k=Se;break e}}else if(q.elementType===St||gg(q,Z)||typeof St=="object"&&St!==null&&St.$$typeof===il&&Fl(St)===q.type){a(k,q.sibling),Se=f(q,Z.props),jl(Se,Z),Se.return=k,Se._debugOwner=Z._owner,Se._debugInfo=Mt,k=Se;break e}a(k,q);break}else t(k,q);q=q.sibling}Z.type===rf?(Se=as(Z.props.children,k.mode,Se,Z.key),Se.return=k,Se._debugOwner=k,Se._debugTask=k._debugTask,Se._debugInfo=Mt,yl(Z,Se,k),k=Se):(Se=au(Z,k.mode,Se),jl(Se,Z),Se.return=k,Se._debugInfo=Mt,k=Se)}return k=v(k),Mt=Ge,k;case Ru:e:{for(Ge=Z,Z=Ge.key;q!==null;){if(q.key===Z)if(q.tag===4&&q.stateNode.containerInfo===Ge.containerInfo&&q.stateNode.implementation===Ge.implementation){a(k,q.sibling),Se=f(q,Ge.children||[]),Se.return=k,k=Se;break e}else{a(k,q);break}else t(k,q);q=q.sibling}Se=Eh(Ge,k.mode,Se),Se.return=k,k=Se}return v(k);case il:return Ge=la(Z._debugInfo),Z=Fl(Z),k=Zt(k,q,Z,Se),Mt=Ge,k}if(ha(Z))return Ge=la(Z._debugInfo),k=Xe(k,q,Z,Se),Mt=Ge,k;if(Te(Z)){if(Ge=la(Z._debugInfo),St=Te(Z),typeof St!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ut=St.call(Z);return ut===Z?(k.tag!==0||Object.prototype.toString.call(k.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ut)!=="[object Generator]")&&(eA||console.error("Using Iterators 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. You can also use an Iterable that can iterate multiple times over the same items."),eA=!0):Z.entries!==St||p_||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),p_=!0),k=Un(k,q,ut,Se),Mt=Ge,k}if(typeof Z.then=="function")return Ge=la(Z._debugInfo),k=Zt(k,q,Qr(Z),Se),Mt=Ge,k;if(Z.$$typeof===ii)return Zt(k,q,fd(k,Z),Se);Tr(k,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint"?(Ge=""+Z,q!==null&&q.tag===6?(a(k,q.sibling),Se=f(q,Ge),Se.return=k,k=Se):(a(k,q),Se=Sc(Ge,k.mode,Se),Se.return=k,Se._debugOwner=k,Se._debugTask=k._debugTask,Se._debugInfo=Mt,k=Se),v(k)):(typeof Z=="function"&&Cc(k,Z),typeof Z=="symbol"&&pd(k,Z),a(k,q))}return function(k,q,Z,Se){var Ge=Mt;Mt=null;try{Tv=0;var St=Zt(k,q,Z,Se);return ry=null,St}catch(Yn){if(Yn===ly||Yn===zS)throw Yn;var ut=R(29,Yn,null,k.mode);ut.lanes=Se,ut.return=k;var lt=ut._debugInfo=Mt;if(ut._debugOwner=k._debugOwner,ut._debugTask=k._debugTask,lt!=null){for(var Rt=lt.length-1;0<=Rt;Rt--)if(typeof lt[Rt].stack=="string"){ut._debugOwner=lt[Rt],ut._debugTask=lt[Rt].debugTask;break}}return ut}finally{Mt=Ge}}}function Dn(e,t){var a=ha(e);return e=!a&&typeof Te(e)=="function",a||e?(a=a?"array":"iterable",console.error("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>",a,t,a),!1):!0}function kt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Sa(e){return{lane:e,tag:rA,payload:null,callback:null,next:null}}function Oi(e,t,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,g_===o&&!uA){var f=we(e);console.error(`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.
194
-
195
- Please update the following component: %s`,f),uA=!0}return(Jt&tl)!==cl?(f=o.pending,f===null?t.next=t:(t.next=f.next,f.next=t),o.pending=t,t=ud(e),yg(e,null,a),t):(bc(e,o,t,a),ud(e))}function Cr(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,ba(e,a)}}function yd(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var f=null,m=null;if(a=a.firstBaseUpdate,a!==null){do{var v={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};m===null?f=m=v:m=m.next=v,a=a.next}while(a!==null);m===null?f=m=t:m=m.next=t}else f=m=t;a={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:m,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function Nc(){if(v_){var e=ay;if(e!==null)throw e}}function wi(e,t,a,o){v_=!1;var f=e.updateQueue;Af=!1,g_=f.shared;var m=f.firstBaseUpdate,v=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var T=S,D=T.next;T.next=null,v===null?m=D:v.next=D,v=T;var X=e.alternate;X!==null&&(X=X.updateQueue,S=X.lastBaseUpdate,S!==v&&(S===null?X.firstBaseUpdate=D:S.next=D,X.lastBaseUpdate=T))}if(m!==null){var K=f.baseState;v=0,X=D=T=null,S=m;do{var L=S.lane&-536870913,oe=L!==S.lane;if(oe?(zt&L)===L:(o&L)===L){L!==0&&L===Sm&&(v_=!0),X!==null&&(X=X.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{L=e;var He=S,Xe=t,Un=a;switch(He.tag){case iA:if(He=He.payload,typeof He=="function"){ty=!0;var Zt=He.call(Un,K,Xe);if(L.mode&ql){Fe(!0);try{He.call(Un,K,Xe)}finally{Fe(!1)}}ty=!1,K=Zt;break e}K=He;break e;case y_:L.flags=L.flags&-65537|128;case rA:if(Zt=He.payload,typeof Zt=="function"){if(ty=!0,He=Zt.call(Un,K,Xe),L.mode&ql){Fe(!0);try{Zt.call(Un,K,Xe)}finally{Fe(!1)}}ty=!1}else He=Zt;if(He==null)break e;K=Ot({},K,He);break e;case oA:Af=!0}}L=S.callback,L!==null&&(e.flags|=64,oe&&(e.flags|=8192),oe=f.callbacks,oe===null?f.callbacks=[L]:oe.push(L))}else oe={lane:L,tag:S.tag,payload:S.payload,callback:S.callback,next:null},X===null?(D=X=oe,T=K):X=X.next=oe,v|=L;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;oe=S,S=oe.next,oe.next=null,f.lastBaseUpdate=oe,f.shared.pending=null}}while(!0);X===null&&(T=K),f.baseState=T,f.firstBaseUpdate=D,f.lastBaseUpdate=X,m===null&&(f.shared.lanes=0),Of|=v,e.lanes=v,e.memoizedState=K}g_=null}function uu(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Rg(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)uu(a[e],t)}function Ac(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)uu(a[e],t)}function Oh(e,t){var a=Bu;ue(US,a,e),ue(iy,t,e),Bu=a|t.baseLanes}function _o(e){ue(US,Bu,e),ue(iy,iy.current,e)}function Kr(e){Bu=US.current,M(iy,e),M(US,e)}function gl(e){var t=e.alternate;ue(Ca,Ca.current&oy,e),ue(ci,e,e),ro===null&&(t===null||iy.current!==null||t.memoizedState!==null)&&(ro=e)}function Fr(e){ue(Ca,Ca.current,e),ue(ci,e,e),ro===null&&(ro=e)}function wh(e){e.tag===22?(ue(Ca,Ca.current,e),ue(ci,e,e),ro===null&&(ro=e)):Mi(e)}function Mi(e){ue(Ca,Ca.current,e),ue(ci,ci.current,e)}function Va(e){M(ci,e),ro===e&&(ro=null),M(Ca,e)}function cs(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Pd(a)||N0(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;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}function vt(){var e=ce;oo===null?oo=[e]:oo.push(e)}function Ae(){var e=ce;if(oo!==null&&(Js++,oo[Js]!==e)){var t=we(bt);if(!sA.has(t)&&(sA.add(t),oo!==null)){for(var a="",o=0;o<=Js;o++){var f=oo[o],m=o===Js?e:f;for(f=o+1+". "+f;30>f.length;)f+=" ";f+=m+`
196
- `,a+=f}console.error(`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://react.dev/link/rules-of-hooks
197
-
198
- Previous render Next render
199
- ------------------------------------------------------
200
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201
- `,t,a)}}}function To(e){e==null||ha(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ce,typeof e)}function gd(){var e=we(bt);fA.has(e)||(fA.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Pn(){throw 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:
202
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
203
- 2. You might be breaking the Rules of Hooks
204
- 3. You might have more than one copy of React in the same app
205
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Og(e,t){if(Av)return!1;if(t===null)return console.error("%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.",ce),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
206
-
207
- Previous: %s
208
- Incoming: %s`,ce,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!sr(e[a],t[a]))return!1;return!0}function wg(e,t,a,o,f,m){Xs=m,bt=t,oo=e!==null?e._debugHookTypes:null,Js=-1,Av=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(m=we(bt),b_.has(m)||(b_.add(m),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",m===null?"An unknown Component":"<"+m+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,de.H=e!==null&&e.memoizedState!==null?E_:oo!==null?dA:S_,Cm=m=(t.mode&ql)!==pt;var v=d_(a,o,f);if(Cm=!1,sy&&(v=vd(t,a,o,f)),m){Fe(!0);try{v=vd(t,a,o,f)}finally{Fe(!1)}}return ra(e,t),v}function ra(e,t){t._debugHookTypes=oo,t.dependencies===null?Qs!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Qs}):t.dependencies._debugThenableState=Qs,de.H=Dv;var a=wn!==null&&wn.next!==null;if(Xs=0,oo=ce=Ga=wn=bt=null,Js=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),BS=!1,Nv=0,Qs=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||$a||(e=e.dependencies,e!==null&&xc(e)&&($a=!0)),_v?(_v=!1,e=!0):e=!1,e&&(t=we(t)||"Unknown",cA.has(t)||b_.has(t)||(cA.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function vd(e,t,a,o){bt=e;var f=0;do{if(sy&&(Qs=null),Nv=0,sy=!1,f>=XM)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(f+=1,Av=!1,Ga=wn=null,e.updateQueue!=null){var m=e.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}Js=-1,de.H=mA,m=d_(t,a,o)}while(sy);return m}function bd(){var e=de.H,t=e.useState()[0];return t=typeof t.then=="function"?xd(t):t,e=e.useState()[0],(wn!==null?wn.memoizedState:null)!==e&&(bt.flags|=1024),t}function fs(){var e=kS!==0;return kS=0,e}function Sd(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ho)!==pt?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function su(e){if(BS){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}BS=!1}Xs=0,oo=Ga=wn=bt=null,Js=-1,ce=null,sy=!1,Nv=kS=0,Qs=null}function da(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ga===null?bt.memoizedState=Ga=e:Ga=Ga.next=e,Ga}function ln(){if(wn===null){var e=bt.alternate;e=e!==null?e.memoizedState:null}else e=wn.next;var t=Ga===null?bt.memoizedState:Ga.next;if(t!==null)Ga=t,wn=e;else{if(e===null)throw bt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");wn=e,e={memoizedState:wn.memoizedState,baseState:wn.baseState,baseQueue:wn.baseQueue,queue:wn.queue,next:null},Ga===null?bt.memoizedState=Ga=e:Ga=Ga.next=e}return Ga}function Ed(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xd(e){var t=Nv;return Nv+=1,Qs===null&&(Qs=Dh()),e=Kl(Qs,e,t),t=bt,(Ga===null?t.memoizedState:Ga.next)===null&&(t=t.alternate,de.H=t!==null&&t.memoizedState!==null?E_:S_),e}function Co(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return xd(e);if(e.$$typeof===ii)return Pt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Il(e){var t=null,a=bt.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var o=bt.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(f){return f.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ed(),bt.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||Av)for(a=t.data[t.index]=Array(e),o=0;o<e;o++)a[o]=Hx;else a.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,e);return t.index++,a}function Pl(e,t){return typeof t=="function"?t(e):t}function Dc(e,t,a){var o=da();if(a!==void 0){var f=a(t);if(Cm){Fe(!0);try{a(t)}finally{Fe(!1)}}}else f=t;return o.memoizedState=o.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},o.queue=e,e=e.dispatch=jx.bind(null,bt,e),[o.memoizedState,e]}function ds(e){var t=ln();return cu(t,wn,e)}function cu(e,t,a){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=a;var f=e.baseQueue,m=o.pending;if(m!==null){if(f!==null){var v=f.next;f.next=m.next,m.next=v}t.baseQueue!==f&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=f=m,o.pending=null}if(m=e.baseState,f===null)e.memoizedState=m;else{t=f.next;var S=v=null,T=null,D=t,X=!1;do{var K=D.lane&-536870913;if(K!==D.lane?(zt&K)===K:(Xs&K)===K){var L=D.revertLane;if(L===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),K===Sm&&(X=!0);else if((Xs&L)===L){D=D.next,L===Sm&&(X=!0);continue}else K={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(S=T=K,v=m):T=T.next=K,bt.lanes|=L,Of|=L;K=D.action,Cm&&a(m,K),m=D.hasEagerState?D.eagerState:a(m,K)}else L={lane:K,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(S=T=L,v=m):T=T.next=L,bt.lanes|=K,Of|=K;D=D.next}while(D!==null&&D!==t);if(T===null?v=m:T.next=S,!sr(m,e.memoizedState)&&($a=!0,X&&(a=ay,a!==null)))throw a;e.memoizedState=m,e.baseState=v,e.baseQueue=T,o.lastRenderedState=m}return f===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function ms(e){var t=ln(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var o=a.dispatch,f=a.pending,m=t.memoizedState;if(f!==null){a.pending=null;var v=f=f.next;do m=e(m,v.action),v=v.next;while(v!==f);sr(m,t.memoizedState)||($a=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),a.lastRenderedState=m}return[m,o]}function Rc(e,t,a){var o=bt,f=da();if(Yt){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var m=a();uy||m===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),uy=!0)}else{if(m=t(),uy||(a=t(),sr(m,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),uy=!0)),Mn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(zt&127)!==0||Mg(o,t,m)}return f.memoizedState=m,a={value:m,getSnapshot:t},f.queue=a,ys(fu.bind(null,o,a,e),[e]),o.flags|=2048,zi(io|dr,{destroy:void 0},zg.bind(null,o,a,m,t),null),m}function hs(e,t,a){var o=bt,f=ln(),m=Yt;if(m){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!uy){var v=t();sr(a,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),uy=!0)}(v=!sr((wn||f).memoizedState,a))&&(f.memoizedState=a,$a=!0),f=f.queue;var S=fu.bind(null,o,f,e);if(Ea(2048,dr,S,[e]),f.getSnapshot!==t||v||Ga!==null&&Ga.memoizedState.tag&io){if(o.flags|=2048,zi(io|dr,{destroy:void 0},zg.bind(null,o,f,a,t),null),Mn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m||(Xs&127)!==0||Mg(o,t,a)}return a}function Mg(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=bt.updateQueue,t===null?(t=Ed(),bt.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function zg(e,t,a,o){t.value=a,t.getSnapshot=o,du(t)&&jg(e)}function fu(e,t,a){return a(function(){du(t)&&(Ai(2,"updateSyncExternalStore()",e),jg(e))})}function du(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!sr(e,a)}catch{return!0}}function jg(e){var t=al(e,2);t!==null&&yt(t,e,2)}function Mh(e){var t=da();if(typeof e=="function"){var a=e;if(e=a(),Cm){Fe(!0);try{a()}finally{Fe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pl,lastRenderedState:e},t}function mu(e){e=Mh(e);var t=e.queue,a=kh.bind(null,bt,t);return t.dispatch=a,[e.memoizedState,a]}function ps(e){var t=da();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Rd.bind(null,bt,!0,a),a.dispatch=t,[e,t]}function _d(e,t){var a=ln();return Oc(a,wn,e,t)}function Oc(e,t,a,o){return e.baseState=a,cu(e,wn,typeof o=="function"?o:Pl)}function Td(e,t){var a=ln();return wn!==null?Oc(a,wn,e,t):(a.baseState=e,[e,a.queue.dispatch])}function d1(e,t,a,o,f){if(Ba(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var m={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){m.listeners.push(v)}};de.T!==null?a(!0):m.isTransition=!1,o(m),a=t.pending,a===null?(m.next=t.pending=m,hu(t,m)):(m.next=a.next,t.pending=a.next=m)}}function hu(e,t){var a=t.action,o=t.payload,f=e.state;if(t.isTransition){var m=de.T,v={};v._updatedFibers=new Set,de.T=v;try{var S=a(f,o),T=de.S;T!==null&&T(v,S),Ug(e,t,S)}catch(D){Cd(e,t,D)}finally{m!==null&&v.types!==null&&(m.types!==null&&m.types!==v.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=v.types),de.T=m,m===null&&v._updatedFibers&&(e=v._updatedFibers.size,v._updatedFibers.clear(),10<e&&console.warn("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."))}}else try{v=a(f,o),Ug(e,t,v)}catch(D){Cd(e,t,D)}}function Ug(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(de.asyncTransitions++,a.then(gs,gs),a.then(function(o){No(e,t,o)},function(o){return Cd(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):No(e,t,a)}function No(e,t,a){t.status="fulfilled",t.value=a,zh(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,hu(e,a)))}function Cd(e,t,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=a,zh(t),t=t.next;while(t!==o)}e.action=null}function zh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ao(e,t){return t}function Wl(e,t){if(Yt){var a=Mn.formState;if(a!==null){e:{var o=bt;if(Yt){if(qn){t:{for(var f=qn,m=ao;f.nodeType!==8;){if(!m){f=null;break t}if(f=rr(f.nextSibling),f===null){f=null;break t}}m=f.data,f=m===$_||m===PA?f:null}if(f){qn=rr(f.nextSibling),o=f.data===$_;break e}}Sr(o)}o=!1}o&&(t=a[0])}}return a=da(),a.memoizedState=a.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:t},a.queue=o,a=kh.bind(null,bt,o),o.dispatch=a,o=Mh(!1),m=Rd.bind(null,bt,!1,o.queue),o=da(),f={state:t,dispatch:null,action:e,pending:null},o.queue=f,a=d1.bind(null,bt,f,m,a),f.dispatch=a,o.memoizedState=e,[t,a,!1]}function pu(e){var t=ln();return jh(t,wn,e)}function jh(e,t,a){if(t=cu(e,t,Ao)[0],e=ds(Pl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=xd(t)}catch(v){throw v===ly?zS:v}else o=t;t=ln();var f=t.queue,m=f.dispatch;return a!==t.memoizedState&&(bt.flags|=2048,zi(io|dr,{destroy:void 0},Vg.bind(null,f,a),null)),[o,m,e]}function Vg(e,t){e.action=t}function yu(e){var t=ln(),a=wn;if(a!==null)return jh(t,a,e);ln(),t=t.memoizedState,a=ln();var o=a.queue.dispatch;return a.memoizedState=e,[t,o,!1]}function zi(e,t,a,o){return e={tag:e,create:a,deps:o,inst:t,next:null},t=bt.updateQueue,t===null&&(t=Ed(),bt.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,t.lastEffect=e),e}function Uh(e){var t=da();return e={current:e},t.memoizedState=e}function gu(e,t,a,o){var f=da();bt.flags|=e,f.memoizedState=zi(io|t,{destroy:void 0},a,o===void 0?null:o)}function Ea(e,t,a,o){var f=ln();o=o===void 0?null:o;var m=f.memoizedState.inst;wn!==null&&o!==null&&Og(o,wn.memoizedState.deps)?f.memoizedState=zi(t,m,a,o):(bt.flags|=e,f.memoizedState=zi(io|t,m,a,o))}function ys(e,t){(bt.mode&Ho)!==pt?gu(276826112,dr,e,t):gu(8390656,dr,e,t)}function m1(e){bt.flags|=4;var t=bt.updateQueue;if(t===null)t=Ed(),bt.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Nd(e){var t=da(),a={impl:e};return t.memoizedState=a,function(){if((Jt&tl)!==cl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function wc(e){var t=ln().memoizedState;return m1({ref:t,nextImpl:e}),function(){if((Jt&tl)!==cl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function vl(e,t){var a=4194308;return(bt.mode&Ho)!==pt&&(a|=134217728),gu(a,fi,e,t)}function er(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function ji(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var o=4194308;(bt.mode&Ho)!==pt&&(o|=134217728),gu(o,fi,er.bind(null,t,e),a)}function Mc(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,Ea(4,fi,er.bind(null,t,e),a)}function Vh(e,t){return da().memoizedState=[e,t===void 0?null:t],e}function Ir(e,t){var a=ln();t=t===void 0?null:t;var o=a.memoizedState;return t!==null&&Og(t,o[1])?o[0]:(a.memoizedState=[e,t],e)}function bl(e,t){var a=da();t=t===void 0?null:t;var o=e();if(Cm){Fe(!0);try{e()}finally{Fe(!1)}}return a.memoizedState=[o,t],o}function Bn(e,t){var a=ln();t=t===void 0?null:t;var o=a.memoizedState;if(t!==null&&Og(t,o[1]))return o[0];if(o=e(),Cm){Fe(!0);try{e()}finally{Fe(!1)}}return a.memoizedState=[o,t],o}function zc(e,t){var a=da();return rn(a,e,t)}function Ui(e,t){var a=ln();return ia(a,wn.memoizedState,e,t)}function _t(e,t){var a=ln();return wn===null?rn(a,e,t):ia(a,wn.memoizedState,e,t)}function rn(e,t,a){return a===void 0||(Xs&1073741824)!==0&&(zt&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=qc(),bt.lanes|=e,Of|=e,a)}function ia(e,t,a,o){return sr(a,t)?a:iy.current!==null?(e=rn(e,a,o),sr(e,t)||($a=!0),e):(Xs&42)===0||(Xs&1073741824)!==0&&(zt&261930)===0?($a=!0,e.memoizedState=a):(e=qc(),bt.lanes|=e,Of|=e,t)}function gs(){de.asyncTransitions--}function vs(e,t,a,o,f){var m=en.p;en.p=m!==0&&m<Wa?m:Wa;var v=de.T,S={};S._updatedFibers=new Set,de.T=S,Rd(e,!1,t,a);try{var T=f(),D=de.S;if(D!==null&&D(S,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){de.asyncTransitions++,T.then(gs,gs);var X=Ah(T,o);bs(e,t,X,rl(e))}else bs(e,t,o,rl(e))}catch(K){bs(e,t,{then:function(){},status:"rejected",reason:K},rl(e))}finally{en.p=m,v!==null&&S.types!==null&&(v.types!==null&&v.types!==S.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),v.types=S.types),de.T=v,v===null&&S._updatedFibers&&(e=S._updatedFibers.size,S._updatedFibers.clear(),10<e&&console.warn("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."))}}function Do(e,t,a,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var f=Ad(e).queue;c1(e),vs(e,f,t,Vm,a===null?C:function(){return jc(e),a(o)})}function Ad(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Vm,baseState:Vm,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pl,lastRenderedState:Vm},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pl,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function jc(e){de.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Ad(e);t.next===null&&(t=e.alternate.memoizedState),bs(e,t.next.queue,{},rl(e))}function vu(){var e=Mh(!1);return e=vs.bind(null,bt,e.queue,!0,!1),da().memoizedState=e,[!1,e]}function h1(){var e=ds(Pl)[0],t=ln().memoizedState;return[typeof e=="boolean"?e:xd(e),t]}function $n(){var e=ms(Pl)[0],t=ln().memoizedState;return[typeof e=="boolean"?e:xd(e),t]}function Ro(){return Pt(Gv)}function Dd(){var e=da(),t=Mn.identifierPrefix;if(Yt){var a=qs,o=Ls;a=(o&~(1<<32-Pa(o)-1)).toString(32)+a,t="_"+t+"R_"+a,a=kS++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=ZM++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t}function Bh(){return da().memoizedState=p1.bind(null,bt)}function p1(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var o=rl(a),f=Sa(o),m=Oi(a,f,o);m!==null&&(Ai(o,"refresh()",e),yt(m,a,o),Cr(m,a,o)),e=Ch(),t!=null&&m!==null&&console.error("The seed argument is not enabled outside experimental channels."),f.payload={cache:e};return}a=a.return}}function jx(e,t,a){var o=arguments;typeof o[3]=="function"&&console.error("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()."),o=rl(e);var f={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Ba(e)?Wn(t,f):(f=es(e,t,f,o),f!==null&&(Ai(o,"dispatch()",e),yt(f,e,o),Od(f,t,o)))}function kh(e,t,a){var o=arguments;typeof o[3]=="function"&&console.error("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()."),o=rl(e),bs(e,t,a,o)&&Ai(o,"setState()",e)}function bs(e,t,a,o){var f={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ba(e))Wn(t,f);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null)){var v=de.H;de.H=qo;try{var S=t.lastRenderedState,T=m(S,a);if(f.hasEagerState=!0,f.eagerState=T,sr(T,S))return bc(e,t,f,0),Mn===null&&bh(),!1}catch{}finally{de.H=v}}if(a=es(e,t,f,o),a!==null)return yt(a,e,o),Od(a,t,o),!0}return!1}function Rd(e,t,a,o){if(de.T===null&&Sm===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:_0(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ba(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=es(e,a,o,2),t!==null&&(Ai(2,"setOptimistic()",e),yt(t,e,2))}function Ba(e){var t=e.alternate;return e===bt||t!==null&&t===bt}function Wn(e,t){sy=BS=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Od(e,t,a){if((a&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,ba(e,a)}}function Ss(e){if(e!==null&&typeof e!="function"){var t=String(e);TA.has(t)||(TA.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Uc(e,t,a,o){var f=e.memoizedState,m=a(o,f);if(e.mode&ql){Fe(!0);try{m=a(o,f)}finally{Fe(!1)}}m===void 0&&(t=Le(t)||"Component",SA.has(t)||(SA.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),f=m==null?f:Ot({},f,m),e.memoizedState=f,e.lanes===0&&(e.updateQueue.baseState=f)}function Hh(e,t,a,o,f,m,v){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){if(a=S.shouldComponentUpdate(o,m,v),e.mode&ql){Fe(!0);try{a=S.shouldComponentUpdate(o,m,v)}finally{Fe(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Le(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!vc(a,o)||!vc(f,m):!0}function Vi(e,t,a,o){var f=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==f&&(e=we(e)||"Component",pA.has(e)||(pA.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),x_.enqueueReplaceState(t,t.state,null))}function Bi(e,t){var a=t;if("ref"in t){a={};for(var o in t)o!=="ref"&&(a[o]=t[o])}if(e=e.defaultProps){a===t&&(a=Ot({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function Lh(e){Wx(e),console.warn(`%s
209
-
210
- %s
211
- `,cy?"An error occurred in the <"+cy+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
212
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function qh(e){var t=cy?"The above error occurred in the <"+cy+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((__||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
213
-
214
- %s
215
-
216
- %s
217
- `,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,iD+" "+e[0],oD,sE+o+sE,uD):e.splice(0,0,iD,oD,sE+o+sE,uD),e.unshift(console),o=d6.apply(console.error,e),o()}else console.error(`%o
218
-
219
- %s
220
-
221
- %s
222
- `,e,t,a)}function Bg(e){Wx(e)}function wd(e,t){try{cy=t.source?we(t.source):null,__=null;var a=t.value;if(de.actQueue!==null)de.thrownErrors.push(a);else{var o=e.onUncaughtError;o(a,{componentStack:t.stack})}}catch(f){setTimeout(function(){throw f})}}function kg(e,t,a){try{cy=a.source?we(a.source):null,__=we(t);var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Yh(e,t,a){return a=Sa(a),a.tag=y_,a.payload={element:null},a.callback=function(){Me(t.source,wd,e,t)},a}function Gh(e){return e=Sa(e),e.tag=y_,e}function $h(e,t,a,o){var f=a.type.getDerivedStateFromError;if(typeof f=="function"){var m=o.value;e.payload=function(){return f(m)},e.callback=function(){ts(a),Me(o.source,kg,t,a,o)}}var v=a.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){ts(a),Me(o.source,kg,t,a,o),typeof f!="function"&&(Mf===null?Mf=new Set([this]):Mf.add(this)),qM(this,o),typeof f=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",we(a)||"Unknown")})}function Hg(e,t,a,o,f){if(a.flags|=32768,Fi&&Xc(e,f),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=a.alternate,t!==null&&Xr(t,a,f,!0),Yt&&(ju=!0),a=ci.current,a!==null){switch(a.tag){case 31:case 13:return ro===null?Gc():a.alternate===null&&ta===Fs&&(ta=qS),a.flags&=-257,a.flags|=65536,a.lanes=f,o===jS?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([o]):t.add(o),cp(e,o,f)),!1;case 22:return a.flags|=65536,o===jS?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([o]):a.add(o)),cp(e,o,f)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return cp(e,o,f),Gc(),!1}if(Yt)return ju=!0,t=ci.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=f,o!==r_&&cd(ml(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),a))):(o!==r_&&cd(ml(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),a)),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,o=ml(o,a),f=Yh(e.stateNode,o,f),yd(e,f),ta!==Df&&(ta=Nm)),!1;var m=ml(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),a);if(jv===null?jv=[m]:jv.push(m),ta!==Df&&(ta=Nm),t===null)return!0;o=ml(o,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=Yh(a.stateNode,o,e),yd(a,e),!1;case 1:if(t=a.type,m=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Mf===null||!Mf.has(m))))return a.flags|=65536,f&=-f,a.lanes|=f,f=Gh(f),$h(f,e,a,o),yd(a,f),!1}a=a.return}while(a!==null);return!1}function ka(e,t,a,o){t.child=e===null?lA(t,null,a,o):Tm(t,e.child,a,o)}function y1(e,t,a,o,f){a=a.render;var m=t.ref;if("ref"in o){var v={};for(var S in o)S!=="ref"&&(v[S]=o[S])}else v=o;return ou(t),o=wg(e,t,a,v,m,f),S=fs(),e!==null&&!$a?(Sd(e,t,f),Pr(e,t,f)):(Yt&&S&&xh(t),t.flags|=1,ka(e,t,o,f),t.child)}function Lg(e,t,a,o,f){if(e===null){var m=a.type;return typeof m=="function"&&!vg(m)&&m.defaultProps===void 0&&a.compare===null?(a=nu(m),t.tag=15,t.type=a,Vc(t,m),qg(e,t,a,o,f)):(e=ns(a.type,null,o,t,t.mode,f),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!Kh(e,f)){var v=m.memoizedProps;if(a=a.compare,a=a!==null?a:vc,a(v,o)&&e.ref===t.ref)return Pr(e,t,f)}return t.flags|=1,e=Ni(m,o),e.ref=t.ref,e.return=t,t.child=e}function qg(e,t,a,o,f){if(e!==null){var m=e.memoizedProps;if(vc(m,o)&&e.ref===t.ref&&t.type===e.type)if($a=!1,t.pendingProps=o=m,Kh(e,f))(e.flags&131072)!==0&&($a=!0);else return t.lanes=e.lanes,Pr(e,t,f)}return Zg(e,t,a,o,f)}function Yg(e,t,a,o){var f=o.children,m=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:sv,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(m=m!==null?m.baseLanes|a:a,e!==null){for(o=t.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;o=f&~m}else o=0,t.child=null;return Gg(e,t,m,a,o)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Tc(t,m!==null?m.cachePool:null),m!==null?Oh(t,m):_o(t),wh(t);else return o=t.lanes=536870912,Gg(e,t,m!==null?m.baseLanes|a:a,a,o)}else m!==null?(Tc(t,m.cachePool),Oh(t,m),Mi(t),t.memoizedState=null):(e!==null&&Tc(t,null),_o(t),Mi(t));return ka(e,t,f,a),t.child}function Es(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:sv,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Gg(e,t,a,o,f){var m=xo();return m=m===null?null:{parent:qa._currentValue,pool:m},t.memoizedState={baseLanes:a,cachePool:m},e!==null&&Tc(t,null),_o(t),wh(t),e!==null&&Xr(e,t,o,!0),t.childLanes=f,null}function Md(e,t){var a=t.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
223
- - <Activity %s>
224
- + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),t=jd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function $g(e,t,a){return Tm(t,e.child,null,a),e=Md(t,t.pendingProps),e.flags|=2,Va(t),t.memoizedState=null,e}function g1(e,t,a){var o=t.pendingProps,f=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Yt){if(o.mode==="hidden")return e=Md(t,o),t.lanes=536870912,Es(null,e);if(Fr(t),(e=qn)?(a=un(e,ao),a=a!==null&&a.data===Mm?a:null,a!==null&&(o={dehydrated:a,treeContext:o1(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=Sg(a),o.return=t,t.child=o,Dl=t,qn=null)):a=null,a===null)throw ll(t,e),Sr(t);return t.lanes=536870912,null}return Md(t,o)}var m=e.memoizedState;if(m!==null){var v=m.dehydrated;if(Fr(t),f)if(t.flags&256)t.flags&=-257,t=$g(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(s1(),(a&536870912)!==0&&Yc(t),$a||Xr(e,t,a,!1),f=(a&e.childLanes)!==0,$a||f){if(o=Mn,o!==null&&(v=Ma(o,a),v!==0&&v!==m.retryLane))throw m.retryLane=v,al(e,v),yt(o,e,v),T_;Gc(),t=$g(e,t,a)}else e=m.treeContext,qn=rr(v.nextSibling),Dl=t,Yt=!0,xf=null,ju=!1,si=null,ao=!1,e!==null&&u1(t,e),t=Md(t,o),t.flags|=4096;return t}return m=e.child,o={mode:o.mode,children:o.children},(a&536870912)!==0&&(a&e.lanes)!==0&&Yc(t),e=Ni(m,o),e.ref=t.ref,t.child=e,e.return=t,e}function zd(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Zg(e,t,a,o,f){if(a.prototype&&typeof a.prototype.render=="function"){var m=Le(a)||"Unknown";CA[m]||(console.error("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.",m,m),CA[m]=!0)}return t.mode&ql&&Lo.recordLegacyContextWarning(t,null),e===null&&(Vc(t,t.type),a.contextTypes&&(m=Le(a)||"Unknown",AA[m]||(AA[m]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",m)))),ou(t),a=wg(e,t,a,o,void 0,f),o=fs(),e!==null&&!$a?(Sd(e,t,f),Pr(e,t,f)):(Yt&&o&&xh(t),t.flags|=1,ka(e,t,a,f),t.child)}function Xg(e,t,a,o,f,m){return ou(t),Js=-1,Av=e!==null&&e.type!==t.type,t.updateQueue=null,a=vd(t,o,a,f),ra(e,t),o=fs(),e!==null&&!$a?(Sd(e,t,m),Pr(e,t,m)):(Yt&&o&&xh(t),t.flags|=1,ka(e,t,a,m),t.child)}function xs(e,t,a,o,f){switch(b(t)){case!1:var m=t.stateNode,v=new t.type(t.memoizedProps,m.context).state;m.updater.enqueueSetState(m,v,null);break;case!0:t.flags|=128,t.flags|=65536,m=Error("Simulated error coming from DevTools");var S=f&-f;if(t.lanes|=S,v=Mn,v===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");S=Gh(S),$h(S,v,t,ml(m,t)),yd(t,S)}if(ou(t),t.stateNode===null){if(v=Ef,m=a.contextType,"contextType"in a&&m!==null&&(m===void 0||m.$$typeof!==ii)&&!_A.has(a)&&(_A.add(a),S=m===void 0?" 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 m!="object"?" However, it is set to a "+typeof m+".":m.$$typeof===Mp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(m).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Le(a)||"Component",S)),typeof m=="object"&&m!==null&&(v=Pt(m)),m=new a(o,v),t.mode&ql){Fe(!0);try{m=new a(o,v)}finally{Fe(!1)}}if(v=t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=x_,t.stateNode=m,m._reactInternals=t,m._reactInternalInstance=hA,typeof a.getDerivedStateFromProps=="function"&&v===null&&(v=Le(a)||"Component",yA.has(v)||(yA.add(v),console.error("`%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.",v,m.state===null?"null":"undefined",v))),typeof a.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"){var T=S=v=null;if(typeof m.componentWillMount=="function"&&m.componentWillMount.__suppressDeprecationWarning!==!0?v="componentWillMount":typeof m.UNSAFE_componentWillMount=="function"&&(v="UNSAFE_componentWillMount"),typeof m.componentWillReceiveProps=="function"&&m.componentWillReceiveProps.__suppressDeprecationWarning!==!0?S="componentWillReceiveProps":typeof m.UNSAFE_componentWillReceiveProps=="function"&&(S="UNSAFE_componentWillReceiveProps"),typeof m.componentWillUpdate=="function"&&m.componentWillUpdate.__suppressDeprecationWarning!==!0?T="componentWillUpdate":typeof m.UNSAFE_componentWillUpdate=="function"&&(T="UNSAFE_componentWillUpdate"),v!==null||S!==null||T!==null){m=Le(a)||"Component";var D=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";vA.has(m)||(vA.add(m),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
225
-
226
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
227
-
228
- The above lifecycles should be removed. Learn more about this warning here:
229
- https://react.dev/link/unsafe-component-lifecycles`,m,D,v!==null?`
230
- `+v:"",S!==null?`
231
- `+S:"",T!==null?`
232
- `+T:""))}}m=t.stateNode,v=Le(a)||"Component",m.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",v):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",v)),!m.getInitialState||m.getInitialState.isReactClassApproved||m.state||console.error("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?",v),m.getDefaultProps&&!m.getDefaultProps.isReactClassApproved&&console.error("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.",v),m.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",v),a.childContextTypes&&!xA.has(a)&&(xA.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",v)),a.contextTypes&&!EA.has(a)&&(EA.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",v)),typeof m.componentShouldUpdate=="function"&&console.error("%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.",v),a.prototype&&a.prototype.isPureReactComponent&&typeof m.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Le(a)||"A pure component"),typeof m.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",v),typeof m.componentDidReceiveProps=="function"&&console.error("%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().",v),typeof m.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",v),typeof m.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",v),S=m.props!==o,m.props!==void 0&&S&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",v),m.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",v,v),typeof m.getSnapshotBeforeUpdate!="function"||typeof m.componentDidUpdate=="function"||gA.has(a)||(gA.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(a))),typeof m.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof m.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",v),(S=m.state)&&(typeof S!="object"||ha(S))&&console.error("%s.state: must be set to an object or null",v),typeof m.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",v),m=t.stateNode,m.props=o,m.state=t.memoizedState,m.refs={},kt(t),v=a.contextType,m.context=typeof v=="object"&&v!==null?Pt(v):Ef,m.state===o&&(v=Le(a)||"Component",bA.has(v)||(bA.add(v),console.error("%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.",v))),t.mode&ql&&Lo.recordLegacyContextWarning(t,m),Lo.recordUnsafeLifecycleWarnings(t,m),m.state=t.memoizedState,v=a.getDerivedStateFromProps,typeof v=="function"&&(Uc(t,a,v,o),m.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(v=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),v!==m.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",we(t)||"Component"),x_.enqueueReplaceState(m,m.state,null)),wi(t,o,m,f),Nc(),m.state=t.memoizedState),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ho)!==pt&&(t.flags|=134217728),m=!0}else if(e===null){m=t.stateNode;var X=t.memoizedProps;S=Bi(a,X),m.props=S;var K=m.context;T=a.contextType,v=Ef,typeof T=="object"&&T!==null&&(v=Pt(T)),D=a.getDerivedStateFromProps,T=typeof D=="function"||typeof m.getSnapshotBeforeUpdate=="function",X=t.pendingProps!==X,T||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(X||K!==v)&&Vi(t,m,o,v),Af=!1;var L=t.memoizedState;m.state=L,wi(t,o,m,f),Nc(),K=t.memoizedState,X||L!==K||Af?(typeof D=="function"&&(Uc(t,a,D,o),K=t.memoizedState),(S=Af||Hh(t,a,S,o,L,K,v))?(T||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"&&(t.flags|=4194308),(t.mode&Ho)!==pt&&(t.flags|=134217728)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ho)!==pt&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=K),m.props=o,m.state=K,m.context=v,m=S):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ho)!==pt&&(t.flags|=134217728),m=!1)}else{m=t.stateNode,Ri(e,t),v=t.memoizedProps,T=Bi(a,v),m.props=T,D=t.pendingProps,L=m.context,K=a.contextType,S=Ef,typeof K=="object"&&K!==null&&(S=Pt(K)),X=a.getDerivedStateFromProps,(K=typeof X=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v!==D||L!==S)&&Vi(t,m,o,S),Af=!1,L=t.memoizedState,m.state=L,wi(t,o,m,f),Nc();var oe=t.memoizedState;v!==D||L!==oe||Af||e!==null&&e.dependencies!==null&&xc(e.dependencies)?(typeof X=="function"&&(Uc(t,a,X,o),oe=t.memoizedState),(T=Af||Hh(t,a,T,o,L,oe,S)||e!==null&&e.dependencies!==null&&xc(e.dependencies))?(K||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(o,oe,S),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(o,oe,S)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=oe),m.props=o,m.state=oe,m.context=S,m=T):(typeof m.componentDidUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),m=!1)}if(S=m,zd(e,t),v=(t.flags&128)!==0,S||v){if(S=t.stateNode,he(t),v&&typeof a.getDerivedStateFromError!="function")a=null,cr=-1;else if(a=$N(S),t.mode&ql){Fe(!0);try{$N(S)}finally{Fe(!1)}}t.flags|=1,e!==null&&v?(t.child=Tm(t,e.child,null,f),t.child=Tm(t,null,a,f)):ka(e,t,a,f),t.memoizedState=S.state,e=t.child}else e=Pr(e,t,f);return f=t.stateNode,m&&f.props!==o&&(fy||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",we(t)||"a component"),fy=!0),e}function Qg(e,t,a,o){return ru(),t.flags|=256,ka(e,t,a,o),t.child}function Vc(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
233
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Le(t)||"Unknown",DA[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),DA[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Le(t)||"Unknown",NA[t]||(console.error("%s: Function components do not support contextType.",t),NA[t]=!0))}function Bc(e){return{baseLanes:e,cachePool:Ng()}}function Zh(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=zr),e}function Xh(e,t,a){var o,f=t.pendingProps;y(t)&&(t.flags|=128);var m=!1,v=(t.flags&128)!==0;if((o=v)||(o=e!==null&&e.memoizedState===null?!1:(Ca.current&Cv)!==0),o&&(m=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Yt){if(m?gl(t):Mi(t),(e=qn)?(a=un(e,ao),a=a!==null&&a.data!==Mm?a:null,a!==null&&(o={dehydrated:a,treeContext:o1(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=Sg(a),o.return=t,t.child=o,Dl=t,qn=null)):a=null,a===null)throw ll(t,e),Sr(t);return N0(a)?t.lanes=32:t.lanes=536870912,null}var S=f.children;if(f=f.fallback,m){Mi(t);var T=t.mode;return S=jd({mode:"hidden",children:S},T),f=as(f,T,a,null),S.return=t,f.return=t,S.sibling=f,t.child=S,f=t.child,f.memoizedState=Bc(a),f.childLanes=Zh(e,o,a),t.memoizedState=C_,Es(null,f)}return gl(t),Jg(t,S)}var D=e.memoizedState;if(D!==null){var X=D.dehydrated;if(X!==null){if(v)t.flags&256?(gl(t),t.flags&=-257,t=Qh(e,t,a)):t.memoizedState!==null?(Mi(t),t.child=e.child,t.flags|=128,t=null):(Mi(t),S=f.fallback,T=t.mode,f=jd({mode:"visible",children:f.children},T),S=as(S,T,a,null),S.flags|=2,f.return=t,S.return=t,f.sibling=S,t.child=f,Tm(t,e.child,null,a),f=t.child,f.memoizedState=Bc(a),f.childLanes=Zh(e,o,a),t.memoizedState=C_,t=Es(null,f));else if(gl(t),s1(),(a&536870912)!==0&&Yc(t),N0(X)){if(o=X.nextSibling&&X.nextSibling.dataset,o){S=o.dgst;var K=o.msg;T=o.stck;var L=o.cstck}m=K,o=S,f=T,X=L,S=m,T=X,S=Error(S||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),S.stack=f||"",S.digest=o,o=T===void 0?null:T,f={value:S,source:null,stack:o},typeof o=="string"&&l_.set(S,f),cd(f),t=Qh(e,t,a)}else if($a||Xr(e,t,a,!1),o=(a&e.childLanes)!==0,$a||o){if(o=Mn,o!==null&&(f=Ma(o,a),f!==0&&f!==D.retryLane))throw D.retryLane=f,al(e,f),yt(o,e,f),T_;Pd(X)||Gc(),t=Qh(e,t,a)}else Pd(X)?(t.flags|=192,t.child=e.child,t=null):(e=D.treeContext,qn=rr(X.nextSibling),Dl=t,Yt=!0,xf=null,ju=!1,si=null,ao=!1,e!==null&&u1(t,e),t=Jg(t,f.children),t.flags|=4096);return t}}return m?(Mi(t),S=f.fallback,T=t.mode,L=e.child,X=L.sibling,f=Ni(L,{mode:"hidden",children:f.children}),f.subtreeFlags=L.subtreeFlags&65011712,X!==null?S=Ni(X,S):(S=as(S,T,a,null),S.flags|=2),S.return=t,f.return=t,f.sibling=S,t.child=f,Es(null,f),f=t.child,S=e.child.memoizedState,S===null?S=Bc(a):(T=S.cachePool,T!==null?(L=qa._currentValue,T=T.parent!==L?{parent:L,pool:L}:T):T=Ng(),S={baseLanes:S.baseLanes|a,cachePool:T}),f.memoizedState=S,f.childLanes=Zh(e,o,a),t.memoizedState=C_,Es(e.child,f)):(D!==null&&(a&62914560)===a&&(a&e.lanes)!==0&&Yc(t),gl(t),a=e.child,e=a.sibling,a=Ni(a,{mode:"visible",children:f.children}),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function Jg(e,t){return t=jd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function jd(e,t){return e=R(22,e,null,t),e.lanes=0,e}function Qh(e,t,a){return Tm(t,e.child,null,a),e=Jg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Kg(e,t,a){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Th(e.return,t,a)}function Jh(e,t,a,o,f,m){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:f,treeForkCount:m}:(v.isBackwards=t,v.rendering=null,v.renderingStartTime=0,v.last=o,v.tail=a,v.tailMode=f,v.treeForkCount=m)}function Fg(e,t,a){var o=t.pendingProps,f=o.revealOrder,m=o.tail,v=o.children,S=Ca.current;if((o=(S&Cv)!==0)?(S=S&oy|Cv,t.flags|=128):S&=oy,ue(Ca,S,t),S=f??"null",f!=="forwards"&&f!=="unstable_legacy-backwards"&&f!=="together"&&f!=="independent"&&!RA[S])if(RA[S]=!0,f==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(f==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof f=="string")switch(f.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',f,f.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',f,f.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',f)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',f);S=m??"null",LS[S]||(m==null?(f==="forwards"||f==="backwards"||f==="unstable_legacy-backwards")&&(LS[S]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):m!=="visible"&&m!=="collapsed"&&m!=="hidden"?(LS[S]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',m)):f!=="forwards"&&f!=="backwards"&&f!=="unstable_legacy-backwards"&&(LS[S]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',m)));e:if((f==="forwards"||f==="backwards"||f==="unstable_legacy-backwards")&&v!==void 0&&v!==null&&v!==!1)if(ha(v)){for(S=0;S<v.length;S++)if(!Dn(v[S],S))break e}else if(S=Te(v),typeof S=="function"){if(S=S.call(v))for(var T=S.next(),D=0;!T.done;T=S.next()){if(!Dn(T.value,D))break e;D++}}else console.error('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?',f);if(ka(e,t,v,a),Yt?(lu(),v=cv):v=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Kg(e,a,t);else if(e.tag===19)Kg(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(a=t.child,f=null;a!==null;)e=a.alternate,e!==null&&cs(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=t.child,t.child=null):(f=a.sibling,a.sibling=null),Jh(t,!1,f,a,m,v);break;case"backwards":case"unstable_legacy-backwards":for(a=null,f=t.child,t.child=null;f!==null;){if(e=f.alternate,e!==null&&cs(e)===null){t.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}Jh(t,!0,a,null,m,v);break;case"together":Jh(t,!1,null,null,void 0,v);break;default:t.memoizedState=null}return t.child}function Pr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),cr=-1,Of|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Xr(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,a=Ni(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Ni(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Kh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&xc(e)))}function v1(e,t,a){switch(t.tag){case 3:ze(t,t.stateNode.containerInfo),Er(t,qa,e.memoizedState.cache),ru();break;case 27:case 5:be(t);break;case 4:ze(t,t.stateNode.containerInfo);break;case 10:Er(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Fr(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(gl(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Xh(e,t,a):(gl(t),e=Pr(e,t,a),e!==null?e.sibling:null);gl(t);break;case 19:var f=(e.flags&128)!==0;if(o=(a&t.childLanes)!==0,o||(Xr(e,t,a,!1),o=(a&t.childLanes)!==0),f){if(o)return Fg(e,t,a);t.flags|=128}if(f=t.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ue(Ca,Ca.current,t),o)break;return null;case 22:return t.lanes=0,Yg(e,t,a,t.pendingProps);case 24:Er(t,qa,e.memoizedState.cache)}return Pr(e,t,a)}function Ud(e,t,a){if(t._debugNeedsRemount&&e!==null){a=ns(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var o=t.return;if(o===null)throw 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,a._debugInfo=t._debugInfo,t===o.child)o.child=a;else{var f=o.child;if(f===null)throw Error("Expected parent to have a child.");for(;f.sibling!==t;)if(f=f.sibling,f===null)throw Error("Expected to find the previous sibling.");f.sibling=a}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)$a=!0;else{if(!Kh(e,a)&&(t.flags&128)===0)return $a=!1,v1(e,t,a);$a=(e.flags&131072)!==0}else $a=!1,(o=Yt)&&(lu(),o=(t.flags&1048576)!==0),o&&(o=t.index,lu(),Eg(t,cv,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Fl(t.elementType),t.type=e,typeof e=="function")vg(e)?(o=Bi(e,o),t.tag=1,t.type=e=nu(e),t=xs(null,t,e,o,a)):(t.tag=0,Vc(t,e),t.type=e=nu(e),t=Zg(null,t,e,o,a));else{if(e!=null){if(f=e.$$typeof,f===of){t.tag=11,t.type=e=Sh(e),t=y1(null,t,e,o,a);break e}else if(f===um){t.tag=14,t=Lg(null,t,e,o,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===il&&(t=" Did you wrap a component in React.lazy() more than once?"),a=Le(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Zg(e,t,t.type,t.pendingProps,a);case 1:return o=t.type,f=Bi(o,t.pendingProps),xs(e,t,o,f,a);case 3:e:{if(ze(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var m=t.memoizedState;f=m.element,Ri(e,t),wi(t,o,null,a);var v=t.memoizedState;if(o=v.cache,Er(t,qa,o),o!==m.cache&&bo(t,[qa],a,!0),Nc(),o=v.element,m.isDehydrated)if(m={element:o,isDehydrated:!1,cache:v.cache},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){t=Qg(e,t,o,a);break e}else if(o!==f){f=ml(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),cd(f),t=Qg(e,t,o,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(qn=rr(e.firstChild),Dl=t,Yt=!0,xf=null,ju=!1,si=null,ao=!0,a=lA(t,null,o,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(ru(),o===f){t=Pr(e,t,a);break e}ka(e,t,o,a)}t=t.child}return t;case 26:return zd(e,t),e===null?(a=O0(t.type,null,t.pendingProps,null))?t.memoizedState=a:Yt||(a=t.type,e=t.pendingProps,o=ye(ir.current),o=Fd(o).createElement(a),o[Hn]=t,o[Al]=e,kn(o,a,e),tt(o),t.stateNode=o):t.memoizedState=O0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return be(t),e===null&&Yt&&(o=ye(ir.current),f=ne(),o=t.stateNode=Uo(t.type,t.pendingProps,o,f,!1),ju||(f=kl(o,t.type,t.pendingProps,f),f!==null&&(ls(t,0).serverProps=f)),Dl=t,ao=!0,f=qn,Au(t.type)?(J_=f,qn=rr(o.firstChild)):qn=f),ka(e,t,t.pendingProps.children,a),zd(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Yt&&(m=ne(),o=ed(t.type,m.ancestorInfo),f=qn,(v=!f)||(v=J1(f,t.type,t.pendingProps,ao),v!==null?(t.stateNode=v,ju||(m=kl(v,t.type,t.pendingProps,m),m!==null&&(ls(t,0).serverProps=m)),Dl=t,qn=rr(v.firstChild),ao=!1,m=!0):m=!1,v=!m),v&&(o&&ll(t,f),Sr(t))),be(t),f=t.type,m=t.pendingProps,v=e!==null?e.memoizedProps:null,o=m.children,Ic(f,m)?o=null:v!==null&&Ic(f,v)&&(t.flags|=32),t.memoizedState!==null&&(f=wg(e,t,bd,null,null,a),Gv._currentValue=f),zd(e,t),ka(e,t,o,a),t.child;case 6:return e===null&&Yt&&(a=t.pendingProps,e=ne(),o=e.ancestorInfo.current,a=o!=null?td(a,o.tag,e.ancestorInfo.implicitRootScope):!0,e=qn,(o=!e)||(o=K1(e,t.pendingProps,ao),o!==null?(t.stateNode=o,Dl=t,qn=null,o=!0):o=!1,o=!o),o&&(a&&ll(t,e),Sr(t))),null;case 13:return Xh(e,t,a);case 4:return ze(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Tm(t,null,o,a):ka(e,t,o,a),t.child;case 11:return y1(e,t,t.type,t.pendingProps,a);case 7:return ka(e,t,t.pendingProps,a),t.child;case 8:return ka(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,ka(e,t,t.pendingProps.children,a),t.child;case 10:return o=t.type,f=t.pendingProps,m=f.value,"value"in f||OA||(OA=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Er(t,o,m),ka(e,t,f.children,a),t.child;case 9:return f=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("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."),ou(t),f=Pt(f),o=d_(o,f,void 0),t.flags|=1,ka(e,t,o,a),t.child;case 14:return Lg(e,t,t.type,t.pendingProps,a);case 15:return qg(e,t,t.type,t.pendingProps,a);case 19:return Fg(e,t,a);case 31:return g1(e,t,a);case 22:return Yg(e,t,a,t.pendingProps);case 24:return ou(t),o=Pt(qa),e===null?(f=xo(),f===null&&(f=Mn,m=Ch(),f.pooledCache=m,is(m),m!==null&&(f.pooledCacheLanes|=a),f=m),t.memoizedState={parent:o,cache:f},kt(t),Er(t,qa,f)):((e.lanes&a)!==0&&(Ri(e,t),wi(t,null,null,a),Nc()),f=e.memoizedState,m=t.memoizedState,f.parent!==o?(f={parent:o,cache:o},t.memoizedState=f,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=f),Er(t,qa,o)):(o=m.cache,Er(t,qa,o),o!==f.cache&&bo(t,[qa],a,!0))),ka(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ki(e){e.flags|=4}function Fh(e,t,a,o,f){if((t=(e.mode&VM)!==pt)&&(t=!1),t){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(h0())e.flags|=8192;else throw _m=jS,h_}else e.flags&=-16777217}function b1(e,t){if(t.type!=="stylesheet"||(t.state.loading&uo)!==Um)e.flags&=-16777217;else if(e.flags|=16777216,!Bt(t))if(h0())e.flags|=8192;else throw _m=jS,h_}function kc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ue():536870912,e.lanes|=t,Rm|=t)}function Hc(e,t){if(!Yt)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function yn(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(t)if((e.mode&wt)!==pt){for(var f=e.selfBaseDuration,m=e.child;m!==null;)a|=m.lanes|m.childLanes,o|=m.subtreeFlags&65011712,o|=m.flags&65011712,f+=m.treeBaseDuration,m=m.sibling;e.treeBaseDuration=f}else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=e,f=f.sibling;else if((e.mode&wt)!==pt){f=e.actualDuration,m=e.selfBaseDuration;for(var v=e.child;v!==null;)a|=v.lanes|v.childLanes,o|=v.subtreeFlags,o|=v.flags,f+=v.actualDuration,m+=v.treeBaseDuration,v=v.sibling;e.actualDuration=f,e.treeBaseDuration=m}else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=o,e.childLanes=a,t}function Ig(e,t,a){var o=t.pendingProps;switch(_h(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yn(t),null;case 1:return yn(t),null;case 3:return a=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Zr(qa,t),V(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(rs(t)?(iu(),ki(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,sd())),yn(t),null;case 26:var f=t.type,m=t.memoizedState;return e===null?(ki(t),m!==null?(yn(t),b1(t,m)):(yn(t),Fh(t,f,null,o,a))):m?m!==e.memoizedState?(ki(t),yn(t),b1(t,m)):(yn(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&ki(t),yn(t),Fh(t,f,e,o,a)),null;case 27:if(Ye(t),a=ye(ir.current),f=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&ki(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yn(t),null}e=ne(),rs(t)?xg(t):(e=Uo(f,o,a,e,!0),t.stateNode=e,ki(t))}return yn(t),null;case 5:if(Ye(t),f=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&ki(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yn(t),null}var v=ne();if(rs(t))xg(t);else{switch(m=ye(ir.current),ed(f,v.ancestorInfo),v=v.context,m=Fd(m),v){case by:m=m.createElementNS(Dt,f);break;case iE:m=m.createElementNS(xt,f);break;default:switch(f){case"svg":m=m.createElementNS(Dt,f);break;case"math":m=m.createElementNS(xt,f);break;case"script":m=m.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof o.is=="string"?m.createElement("select",{is:o.is}):m.createElement("select"),o.multiple?m.multiple=!0:o.size&&(m.size=o.size);break;default:m=typeof o.is=="string"?m.createElement(f,{is:o.is}):m.createElement(f),f.indexOf("-")===-1&&(f!==f.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",f),Object.prototype.toString.call(m)!=="[object HTMLUnknownElement]"||or.call(eD,f)||(eD[f]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",f)))}}m[Hn]=t,m[Al]=o;e:for(v=t.child;v!==null;){if(v.tag===5||v.tag===6)m.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===t)break e;for(;v.sibling===null;){if(v.return===null||v.return===t)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}t.stateNode=m;e:switch(kn(m,f,o),f){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&ki(t)}}return yn(t),Fh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&ki(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ye(ir.current),a=ne(),rs(t)){if(e=t.stateNode,a=t.memoizedProps,f=!ju,o=null,m=Dl,m!==null)switch(m.tag){case 3:f&&(f=P1(e,a,o),f!==null&&(ls(t,0).serverProps=f));break;case 27:case 5:o=m.memoizedProps,f&&(f=P1(e,a,o),f!==null&&(ls(t,0).serverProps=f))}e[Hn]=t,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||T0(e.nodeValue,a)),e||Sr(t,!0)}else f=a.ancestorInfo.current,f!=null&&td(o,f.tag,a.ancestorInfo.implicitRootScope),e=Fd(e).createTextNode(o),e[Hn]=t,t.stateNode=e}return yn(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(o=rs(t),a!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Hn]=t,yn(t),(t.mode&wt)!==pt&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else iu(),ru(),(t.flags&128)===0&&(a=t.memoizedState=null),t.flags|=4,yn(t),(t.mode&wt)!==pt&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else a=sd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Va(t),t):(Va(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return yn(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=o,m=rs(t),f!==null&&f.dehydrated!==null){if(e===null){if(!m)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");m[Hn]=t,yn(t),(t.mode&wt)!==pt&&f!==null&&(f=t.child,f!==null&&(t.treeBaseDuration-=f.treeBaseDuration))}else iu(),ru(),(t.flags&128)===0&&(f=t.memoizedState=null),t.flags|=4,yn(t),(t.mode&wt)!==pt&&f!==null&&(f=t.child,f!==null&&(t.treeBaseDuration-=f.treeBaseDuration));f=!1}else f=sd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return t.flags&256?(Va(t),t):(Va(t),null)}return Va(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&wt)!==pt&&us(t),t):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=t.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool),m=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(m=o.memoizedState.cachePool.pool),m!==f&&(o.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),kc(t,t.updateQueue),yn(t),(t.mode&wt)!==pt&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return V(t),e===null&&Cu(t.stateNode.containerInfo),yn(t),null;case 10:return Zr(t.type,t),yn(t),null;case 19:if(M(Ca,t),o=t.memoizedState,o===null)return yn(t),null;if(f=(t.flags&128)!==0,m=o.rendering,m===null)if(f)Hc(o,!1);else{if(ta!==Fs||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=cs(e),m!==null){for(t.flags|=128,Hc(o,!1),e=m.updateQueue,t.updateQueue=e,kc(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)bg(a,e),a=a.sibling;return ue(Ca,Ca.current&oy|Cv,t),Yt&&$r(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&La()>QS&&(t.flags|=128,f=!0,Hc(o,!1),t.lanes=4194304)}else{if(!f)if(e=cs(m),e!==null){if(t.flags|=128,f=!0,e=e.updateQueue,t.updateQueue=e,kc(t,e),Hc(o,!0),o.tail===null&&o.tailMode==="hidden"&&!m.alternate&&!Yt)return yn(t),null}else 2*La()-o.renderingStartTime>QS&&a!==536870912&&(t.flags|=128,f=!0,Hc(o,!1),t.lanes=4194304);o.isBackwards?(m.sibling=t.child,t.child=m):(e=o.last,e!==null?e.sibling=m:t.child=m,o.last=m)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=La(),e.sibling=null,a=Ca.current,a=f?a&oy|Cv:a&oy,ue(Ca,a,t),Yt&&$r(t,o.treeForkCount),e):(yn(t),null);case 22:case 23:return Va(t),Kr(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(a&536870912)!==0&&(t.flags&128)===0&&(yn(t),t.subtreeFlags&6&&(t.flags|=8192)):yn(t),a=t.updateQueue,a!==null&&kc(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==a&&(t.flags|=2048),e!==null&&M(Em,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Zr(qa,t),yn(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function S1(e,t){switch(_h(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==pt&&us(t),t):null;case 3:return Zr(qa,t),V(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ye(t),null;case 31:if(t.memoizedState!==null){if(Va(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ru()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==pt&&us(t),t):null;case 13:if(Va(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ru()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==pt&&us(t),t):null;case 19:return M(Ca,t),null;case 4:return V(t),null;case 10:return Zr(t.type,t),null;case 22:case 23:return Va(t),Kr(t),e!==null&&M(Em,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==pt&&us(t),t):null;case 24:return Zr(qa,t),null;case 25:return null;default:return null}}function Pg(e,t){switch(_h(t),t.tag){case 3:Zr(qa,t),V(t);break;case 26:case 27:case 5:Ye(t);break;case 4:V(t);break;case 31:t.memoizedState!==null&&Va(t);break;case 13:Va(t);break;case 19:M(Ca,t);break;case 10:Zr(t.type,t);break;case 22:case 23:Va(t),Kr(t),e!==null&&M(Em,t);break;case 24:Zr(qa,t)}}function Hi(e){return(e.mode&wt)!==pt}function E1(e,t){Hi(e)?(In(),Oo(t,e),pl()):Oo(t,e)}function Ih(e,t,a){Hi(e)?(In(),bu(a,e,t),pl()):bu(a,e,t)}function Oo(e,t){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var f=o.next;a=f;do{if((a.tag&e)===e&&(o=void 0,(e&fr)!==VS&&(yy=!0),o=Me(t,YM,a),(e&fr)!==VS&&(yy=!1),o!==void 0&&typeof o!="function")){var m=void 0;m=(a.tag&fi)!==0?"useLayoutEffect":(a.tag&fr)!==0?"useInsertionEffect":"useEffect";var v=void 0;v=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
234
-
235
- It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
236
-
237
- `+m+`(() => {
238
- async function fetchData() {
239
- // You can await here
240
- const response = await MyAPI.getData(someId);
241
- // ...
242
- }
243
- fetchData();
244
- }, [someId]); // Or [] if effect doesn't need props or state
245
-
246
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,Me(t,function(S,T){console.error("%s must not return anything besides a function, which is used for clean-up.%s",S,T)},m,v)}a=a.next}while(a!==f)}}catch(S){At(t,t.return,S)}}function bu(e,t,a){try{var o=t.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var m=f.next;o=m;do{if((o.tag&e)===e){var v=o.inst,S=v.destroy;S!==void 0&&(v.destroy=void 0,(e&fr)!==VS&&(yy=!0),f=t,Me(f,GM,f,a,S),(e&fr)!==VS&&(yy=!1))}o=o.next}while(o!==m)}}catch(T){At(t,t.return,T)}}function Vd(e,t){Hi(e)?(In(),Oo(t,e),pl()):Oo(t,e)}function Ph(e,t,a){Hi(e)?(In(),bu(a,e,t),pl()):bu(a,e,t)}function Wg(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||fy||(a.props!==e.memoizedProps&&console.error("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.",we(e)||"instance"),a.state!==e.memoizedState&&console.error("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.",we(e)||"instance"));try{Me(e,Ac,t,a)}catch(o){At(e,e.return,o)}}}function Bd(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function x1(e,t){var a=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||fy||(t.props!==e.memoizedProps&&console.error("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.",we(e)||"instance"),t.state!==e.memoizedState&&console.error("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.",we(e)||"instance"));try{var f=Bi(e.type,a),m=Me(e,Bd,t,f,o);a=wA,m!==void 0||a.has(e.type)||(a.add(e.type),Me(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",we(e))})),t.__reactInternalSnapshotBeforeUpdate=m}catch(v){At(e,e.return,v)}}function Wh(e,t,a){a.props=Bi(e.type,e.memoizedProps),a.state=e.memoizedState,Hi(e)?(In(),Me(e,FN,e,t,a),pl()):Me(e,FN,e,t,a)}function _1(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(Hi(e))try{In(),e.refCleanup=t(a)}finally{pl()}else e.refCleanup=t(a);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",we(e)),t.current=a}}function _s(e,t){try{Me(e,_1,e)}catch(a){At(e,t,a)}}function Nr(e,t){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{if(Hi(e))try{In(),Me(e,o)}finally{pl(e)}else Me(e,o)}catch(f){At(e,t,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(Hi(e))try{In(),Me(e,a,null)}finally{pl(e)}else Me(e,a,null)}catch(f){At(e,t,f)}else a.current=null}function e0(e,t,a,o){var f=e.memoizedProps,m=f.id,v=f.onCommit;f=f.onRender,t=t===null?"mount":"update",OS&&(t="nested-update"),typeof f=="function"&&f(m,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof v=="function"&&v(m,t,o,a)}function T1(e,t,a,o){var f=e.memoizedProps;e=f.id,f=f.onPostCommit,t=t===null?"mount":"update",OS&&(t="nested-update"),typeof f=="function"&&f(e,t,o,a)}function Su(e){var t=e.type,a=e.memoizedProps,o=e.stateNode;try{Me(e,B1,o,t,a,e)}catch(f){At(e,e.return,f)}}function ep(e,t,a){try{Me(e,Sp,e.stateNode,e.type,a,t,e)}catch(o){At(e,e.return,o)}}function t0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Au(e.type)||e.tag===4}function tp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||t0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Au(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lc(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(H1(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t)):(H1(a),t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=vr));else if(o!==4&&(o===27&&Au(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Lc(e,t,a),e=e.sibling;e!==null;)Lc(e,t,a),e=e.sibling}function kd(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(o!==4&&(o===27&&Au(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(kd(e,t,a),e=e.sibling;e!==null;)kd(e,t,a),e=e.sibling}function n0(e){for(var t,a=e.return;a!==null;){if(t0(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=tp(e),kd(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(Ep(a),t.flags&=-33),t=tp(e),kd(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=tp(e),Lc(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function a0(e){var t=e.stateNode,a=e.memoizedProps;try{Me(e,Qi,e.type,a,t,e)}catch(o){At(e,e.return,o)}}function l0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function Ux(e,t){if(e=e.containerInfo,Z_=cE,e=yh(e),fg(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var f=o.anchorOffset,m=o.focusNode;o=o.focusOffset;try{a.nodeType,m.nodeType}catch{a=null;break e}var v=0,S=-1,T=-1,D=0,X=0,K=e,L=null;t:for(;;){for(var oe;K!==a||f!==0&&K.nodeType!==3||(S=v+f),K!==m||o!==0&&K.nodeType!==3||(T=v+o),K.nodeType===3&&(v+=K.nodeValue.length),(oe=K.firstChild)!==null;)L=K,K=oe;for(;;){if(K===e)break t;if(L===a&&++D===f&&(S=v),L===m&&++X===o&&(T=v),(oe=K.nextSibling)!==null)break;K=L,L=K.parentNode}K=oe}a=S===-1||T===-1?null:{start:S,end:T}}else a=null}a=a||{start:0,end:0}}else a=null;for(X_={focusedElem:e,selectionRange:a},cE=!1,sl=t;sl!==null;)if(t=sl,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,sl=e;else for(;sl!==null;){switch(e=t=sl,a=e.alternate,f=e.flags,e.tag){case 0:if((f&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:(f&1024)!==0&&a!==null&&x1(e,a);break;case 3:if((f&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)Wc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Wc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((f&1024)!==0)throw 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.")}if(e=t.sibling,e!==null){e.return=t.return,sl=e;break}sl=t.return}}function np(e,t,a){var o=Vn(),f=xr(),m=Jl(),v=_r(),S=a.flags;switch(a.tag){case 0:case 11:case 15:tr(e,a),S&4&&E1(a,fi|io);break;case 1:if(tr(e,a),S&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||fy||(e.props!==a.memoizedProps&&console.error("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.",we(a)||"instance"),e.state!==a.memoizedState&&console.error("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.",we(a)||"instance")),Hi(a)?(In(),Me(a,m_,a,e),pl()):Me(a,m_,a,e);else{var T=Bi(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||fy||(e.props!==a.memoizedProps&&console.error("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.",we(a)||"instance"),e.state!==a.memoizedState&&console.error("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.",we(a)||"instance")),Hi(a)?(In(),Me(a,QN,a,e,T,t,e.__reactInternalSnapshotBeforeUpdate),pl()):Me(a,QN,a,e,T,t,e.__reactInternalSnapshotBeforeUpdate)}S&64&&Wg(a),S&512&&_s(a,a.return);break;case 3:if(t=Di(),tr(e,a),S&64&&(S=a.updateQueue,S!==null)){if(T=null,a.child!==null)switch(a.child.tag){case 27:case 5:T=a.child.stateNode;break;case 1:T=a.child.stateNode}try{Me(a,Ac,S,T)}catch(X){At(a,a.return,X)}}e.effectDuration+=_c(t);break;case 27:t===null&&S&4&&a0(a);case 26:case 5:if(tr(e,a),t===null){if(S&4)Su(a);else if(S&64){e=a.type,t=a.memoizedProps,T=a.stateNode;try{Me(a,k1,T,e,t,a)}catch(X){At(a,a.return,X)}}}S&512&&_s(a,a.return);break;case 12:if(S&4){S=Di(),tr(e,a),e=a.stateNode,e.effectDuration+=hl(S);try{Me(a,e0,a,t,_f,e.effectDuration)}catch(X){At(a,a.return,X)}}else tr(e,a);break;case 31:tr(e,a),S&4&&i0(e,a);break;case 13:tr(e,a),S&4&&o0(e,a),S&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(S=Mo.bind(null,a),F1(e,S))));break;case 22:if(S=a.memoizedState!==null||Ks,!S){t=t!==null&&t.memoizedState!==null||Za,T=Ks;var D=Za;Ks=S,(Za=t)&&!D?(Wr(e,a,(a.subtreeFlags&8772)!==0),(a.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&gh(a,st,mt)):tr(e,a),Ks=T,Za=D}break;case 30:break;default:tr(e,a)}(a.mode&wt)!==pt&&0<=st&&0<=mt&&((sa||.05<ea)&&Gr(a,st,mt,ea,Qn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<mt-st&&(l0(a.return.alternate,a.return)||br(a,st,mt,"Mount"))),ja(o),Ql(f),Qn=m,sa=v}function oa(e){var t=e.alternate;t!==null&&(e.alternate=null,oa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&I(t)),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 jn(e,t,a){for(a=a.child;a!==null;)r0(e,t,a),a=a.sibling}function r0(e,t,a){if(_a&&typeof _a.onCommitFiberUnmount=="function")try{_a.onCommitFiberUnmount(Vs,a)}catch(D){Ki||(Ki=!0,console.error("React instrumentation encountered an error: %o",D))}var o=Vn(),f=xr(),m=Jl(),v=_r();switch(a.tag){case 26:Za||Nr(a,t),jn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(e=a.stateNode,e.parentNode.removeChild(e));break;case 27:Za||Nr(a,t);var S=Xa,T=wr;Au(a.type)&&(Xa=a.stateNode,wr=!1),jn(e,t,a),Me(a,Vo,a.stateNode),Xa=S,wr=T;break;case 5:Za||Nr(a,t);case 6:if(S=Xa,T=wr,Xa=null,jn(e,t,a),Xa=S,wr=T,Xa!==null)if(wr)try{Me(a,q1,Xa,a.stateNode)}catch(D){At(a,t,D)}else try{Me(a,L1,Xa,a.stateNode)}catch(D){At(a,t,D)}break;case 18:Xa!==null&&(wr?(e=Xa,Ds(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ms(e)):Ds(Xa,a.stateNode));break;case 4:S=Xa,T=wr,Xa=a.stateNode.containerInfo,wr=!0,jn(e,t,a),Xa=S,wr=T;break;case 0:case 11:case 14:case 15:bu(fr,a,t),Za||Ih(a,t,fi),jn(e,t,a);break;case 1:Za||(Nr(a,t),S=a.stateNode,typeof S.componentWillUnmount=="function"&&Wh(a,t,S)),jn(e,t,a);break;case 21:jn(e,t,a);break;case 22:Za=(S=Za)||a.memoizedState!==null,jn(e,t,a),Za=S;break;default:jn(e,t,a)}(a.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(a,st,mt,ea,Qn),ja(o),Ql(f),Qn=m,sa=v}function i0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Me(t,xp,e)}catch(a){At(t,t.return,a)}}}function o0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Me(t,D0,e)}catch(a){At(t,t.return,a)}}function C1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new MA),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new MA),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Eu(e,t){var a=C1(e);t.forEach(function(o){if(!a.has(o)){if(a.add(o),Fi)if(dy!==null&&my!==null)Xc(my,dy);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var f=Ns.bind(null,e,o);o.then(f,f)}})}function Sl(e,t){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var f=e,m=t,v=a[o],S=Vn(),T=m;e:for(;T!==null;){switch(T.tag){case 27:if(Au(T.type)){Xa=T.stateNode,wr=!1;break e}break;case 5:Xa=T.stateNode,wr=!1;break e;case 3:case 4:Xa=T.stateNode.containerInfo,wr=!0;break e}T=T.return}if(Xa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");r0(f,m,v),Xa=null,wr=!1,(v.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&br(v,st,mt,"Unmount"),ja(S),f=v,m=f.alternate,m!==null&&(m.return=null),f.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Hd(t,e),t=t.sibling}function Hd(e,t){var a=Vn(),o=xr(),f=Jl(),m=_r(),v=e.alternate,S=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Sl(t,e),El(e),S&4&&(bu(fr|io,e,e.return),Oo(fr|io,e),Ih(e,e.return,fi|io));break;case 1:if(Sl(t,e),El(e),S&512&&(Za||v===null||Nr(v,v.return)),S&64&&Ks&&(S=e.updateQueue,S!==null&&(v=S.callbacks,v!==null))){var T=S.shared.hiddenCallbacks;S.shared.hiddenCallbacks=T===null?v:T.concat(v)}break;case 26:if(T=Yo,Sl(t,e),El(e),S&512&&(Za||v===null||Nr(v,v.return)),S&4){var D=v!==null?v.memoizedState:null;if(S=e.memoizedState,v===null)if(S===null)if(e.stateNode===null){e:{S=e.type,v=e.memoizedProps,T=T.ownerDocument||T;t:switch(S){case"title":D=T.getElementsByTagName("title")[0],(!D||D[pf]||D[Hn]||D.namespaceURI===Dt||D.hasAttribute("itemprop"))&&(D=T.createElement(S),T.head.insertBefore(D,T.querySelector("head > title"))),kn(D,S,v),D[Hn]=e,tt(D),S=D;break e;case"link":var X=nf("link","href",T).get(S+(v.href||""));if(X){for(var K=0;K<X.length;K++)if(D=X[K],D.getAttribute("href")===(v.href==null||v.href===""?null:v.href)&&D.getAttribute("rel")===(v.rel==null?null:v.rel)&&D.getAttribute("title")===(v.title==null?null:v.title)&&D.getAttribute("crossorigin")===(v.crossOrigin==null?null:v.crossOrigin)){X.splice(K,1);break t}}D=T.createElement(S),kn(D,S,v),T.head.appendChild(D);break;case"meta":if(X=nf("meta","content",T).get(S+(v.content||""))){for(K=0;K<X.length;K++)if(D=X[K],Gt(v.content,"content"),D.getAttribute("content")===(v.content==null?null:""+v.content)&&D.getAttribute("name")===(v.name==null?null:v.name)&&D.getAttribute("property")===(v.property==null?null:v.property)&&D.getAttribute("http-equiv")===(v.httpEquiv==null?null:v.httpEquiv)&&D.getAttribute("charset")===(v.charSet==null?null:v.charSet)){X.splice(K,1);break t}}D=T.createElement(S),kn(D,S,v),T.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+S+'". This is a bug in React.')}D[Hn]=e,tt(D),S=D}e.stateNode=S}else eS(T,e.type,e.stateNode);else e.stateNode=Cp(T,S,e.memoizedProps);else D!==S?(D===null?v.stateNode!==null&&(v=v.stateNode,v.parentNode.removeChild(v)):D.count--,S===null?eS(T,e.type,e.stateNode):Cp(T,S,e.memoizedProps)):S===null&&e.stateNode!==null&&ep(e,e.memoizedProps,v.memoizedProps)}break;case 27:Sl(t,e),El(e),S&512&&(Za||v===null||Nr(v,v.return)),v!==null&&S&4&&ep(e,e.memoizedProps,v.memoizedProps);break;case 5:if(Sl(t,e),El(e),S&512&&(Za||v===null||Nr(v,v.return)),e.flags&32){T=e.stateNode;try{Me(e,Ep,T)}catch(Xe){At(e,e.return,Xe)}}S&4&&e.stateNode!=null&&(T=e.memoizedProps,ep(e,T,v!==null?v.memoizedProps:T)),S&1024&&(N_=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Sl(t,e),El(e),S&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");S=e.memoizedProps,v=v!==null?v.memoizedProps:S,T=e.stateNode;try{Me(e,Vx,T,v,S)}catch(Xe){At(e,e.return,Xe)}}break;case 3:if(T=Di(),oE=null,D=Yo,Yo=_p(t.containerInfo),Sl(t,e),Yo=D,El(e),S&4&&v!==null&&v.memoizedState.isDehydrated)try{Me(e,A0,t.containerInfo)}catch(Xe){At(e,e.return,Xe)}N_&&(N_=!1,N1(e)),t.effectDuration+=_c(T);break;case 4:S=Yo,Yo=_p(e.stateNode.containerInfo),Sl(t,e),El(e),Yo=S;break;case 12:S=Di(),Sl(t,e),El(e),e.stateNode.effectDuration+=hl(S);break;case 31:Sl(t,e),El(e),S&4&&(S=e.updateQueue,S!==null&&(e.updateQueue=null,Eu(e,S)));break;case 13:Sl(t,e),El(e),e.child.flags&8192&&e.memoizedState!==null!=(v!==null&&v.memoizedState!==null)&&(XS=La()),S&4&&(S=e.updateQueue,S!==null&&(e.updateQueue=null,Eu(e,S)));break;case 22:T=e.memoizedState!==null;var L=v!==null&&v.memoizedState!==null,oe=Ks,He=Za;if(Ks=oe||T,Za=He||L,Sl(t,e),Za=He,Ks=oe,L&&!T&&!oe&&!He&&(e.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&gh(e,st,mt),El(e),S&8192)e:for(t=e.stateNode,t._visibility=T?t._visibility&~sv:t._visibility|sv,!T||v===null||L||Ks||Za||(xu(e),(e.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&br(e,st,mt,"Disconnect")),v=null,t=e;;){if(t.tag===5||t.tag===26){if(v===null){L=v=t;try{D=L.stateNode,T?Me(L,G1,D):Me(L,X1,L.stateNode,L.memoizedProps)}catch(Xe){At(L,L.return,Xe)}}}else if(t.tag===6){if(v===null){L=t;try{X=L.stateNode,T?Me(L,$1,X):Me(L,Q1,X,L.memoizedProps)}catch(Xe){At(L,L.return,Xe)}}}else if(t.tag===18){if(v===null){L=t;try{K=L.stateNode,T?Me(L,Y1,K):Me(L,Z1,L.stateNode)}catch(Xe){At(L,L.return,Xe)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;v===t&&(v=null),t=t.return}v===t&&(v=null),t.sibling.return=t.return,t=t.sibling}S&4&&(S=e.updateQueue,S!==null&&(v=S.retryQueue,v!==null&&(S.retryQueue=null,Eu(e,v))));break;case 19:Sl(t,e),El(e),S&4&&(S=e.updateQueue,S!==null&&(e.updateQueue=null,Eu(e,S)));break;case 30:break;case 21:break;default:Sl(t,e),El(e)}(e.mode&wt)!==pt&&0<=st&&0<=mt&&((sa||.05<ea)&&Gr(e,st,mt,ea,Qn),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<mt-st&&(l0(e.return.alternate,e.return)||br(e,st,mt,"Mount"))),ja(a),Ql(o),Qn=f,sa=m}function El(e){var t=e.flags;if(t&2){try{Me(e,n0,e)}catch(a){At(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function N1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;N1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function tr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)np(e,t.alternate,t),t=t.sibling}function ap(e){var t=Vn(),a=xr(),o=Jl(),f=_r();switch(e.tag){case 0:case 11:case 14:case 15:Ih(e,e.return,fi),xu(e);break;case 1:Nr(e,e.return);var m=e.stateNode;typeof m.componentWillUnmount=="function"&&Wh(e,e.return,m),xu(e);break;case 27:Me(e,Vo,e.stateNode);case 26:case 5:Nr(e,e.return),xu(e);break;case 22:e.memoizedState===null&&xu(e);break;case 30:xu(e);break;default:xu(e)}(e.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(e,st,mt,ea,Qn),ja(t),Ql(a),Qn=o,sa=f}function xu(e){for(e=e.child;e!==null;)ap(e),e=e.sibling}function u0(e,t,a,o){var f=Vn(),m=xr(),v=Jl(),S=_r(),T=a.flags;switch(a.tag){case 0:case 11:case 15:Wr(e,a,o),E1(a,fi);break;case 1:if(Wr(e,a,o),t=a.stateNode,typeof t.componentDidMount=="function"&&Me(a,m_,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{Me(a,Rg,t,e)}catch(D){At(a,a.return,D)}}o&&T&64&&Wg(a),_s(a,a.return);break;case 27:a0(a);case 26:case 5:Wr(e,a,o),o&&t===null&&T&4&&Su(a),_s(a,a.return);break;case 12:if(o&&T&4){T=Di(),Wr(e,a,o),o=a.stateNode,o.effectDuration+=hl(T);try{Me(a,e0,a,t,_f,o.effectDuration)}catch(D){At(a,a.return,D)}}else Wr(e,a,o);break;case 31:Wr(e,a,o),o&&T&4&&i0(e,a);break;case 13:Wr(e,a,o),o&&T&4&&o0(e,a);break;case 22:a.memoizedState===null&&Wr(e,a,o),_s(a,a.return);break;case 30:break;default:Wr(e,a,o)}(a.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(a,st,mt,ea,Qn),ja(f),Ql(m),Qn=v,sa=S}function Wr(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)u0(e,t.alternate,t,a),t=t.sibling}function Ld(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&is(e),a!=null&&dd(a))}function qd(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(is(t),e!=null&&dd(e))}function nr(e,t,a,o,f){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var m=t.sibling;s0(e,t,a,o,m!==null?m.actualStartTime:f),t=m}}function s0(e,t,a,o,f){var m=Vn(),v=xr(),S=Jl(),T=_r(),D=bf,X=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&wt)!==pt&&0<t.actualStartTime&&(t.flags&1)!==0&&vh(t,t.actualStartTime,f,el,a),nr(e,t,a,o,f),X&2048&&Vd(t,dr|io);break;case 1:(t.mode&wt)!==pt&&0<t.actualStartTime&&((t.flags&128)!==0?mg(t,t.actualStartTime,f,[]):(t.flags&1)!==0&&vh(t,t.actualStartTime,f,el,a)),nr(e,t,a,o,f);break;case 3:var K=Di(),L=el;el=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,nr(e,t,a,o,f),el=L,X&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==a&&(is(o),a!=null&&dd(a))),e.passiveEffectDuration+=_c(K);break;case 12:if(X&2048){X=Di(),nr(e,t,a,o,f),e=t.stateNode,e.passiveEffectDuration+=hl(X);try{Me(t,T1,t,t.alternate,_f,e.passiveEffectDuration)}catch(oe){At(t,t.return,oe)}}else nr(e,t,a,o,f);break;case 31:X=el,K=t.alternate!==null?t.alternate.memoizedState:null,L=t.memoizedState,K!==null&&L===null?(L=t.deletions,L!==null&&0<L.length&&L[0].tag===18?(el=!1,K=K.hydrationErrors,K!==null&&mg(t,t.actualStartTime,f,K)):el=!0):el=!1,nr(e,t,a,o,f),el=X;break;case 13:X=el,K=t.alternate!==null?t.alternate.memoizedState:null,L=t.memoizedState,K===null||K.dehydrated===null||L!==null&&L.dehydrated!==null?el=!1:(L=t.deletions,L!==null&&0<L.length&&L[0].tag===18?(el=!1,K=K.hydrationErrors,K!==null&&mg(t,t.actualStartTime,f,K)):el=!0),nr(e,t,a,o,f),el=X;break;case 23:break;case 22:L=t.stateNode,K=t.alternate,t.memoizedState!==null?L._visibility&Hs?nr(e,t,a,o,f):Ts(e,t,a,o,f):L._visibility&Hs?nr(e,t,a,o,f):(L._visibility|=Hs,_u(e,t,a,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),f),(t.mode&wt)===pt||el||(e=t.actualStartTime,0<=e&&.05<f-e&&gh(t,e,f),0<=st&&0<=mt&&.05<mt-st&&gh(t,st,mt))),X&2048&&Ld(K,t);break;case 24:nr(e,t,a,o,f),X&2048&&qd(t.alternate,t);break;default:nr(e,t,a,o,f)}(t.mode&wt)!==pt&&((e=!el&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(a=t.actualStartTime,0<=a&&.05<f-a&&br(t,a,f,"Mount")),0<=st&&0<=mt&&((sa||.05<ea)&&Gr(t,st,mt,ea,Qn),e&&.05<mt-st&&br(t,st,mt,"Mount"))),ja(m),Ql(v),Qn=S,sa=T,bf=D}function _u(e,t,a,o,f,m){for(f=f&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var v=t.sibling;Yd(e,t,a,o,f,v!==null?v.actualStartTime:m),t=v}}function Yd(e,t,a,o,f,m){var v=Vn(),S=xr(),T=Jl(),D=_r(),X=bf;f&&(t.mode&wt)!==pt&&0<t.actualStartTime&&(t.flags&1)!==0&&vh(t,t.actualStartTime,m,el,a);var K=t.flags;switch(t.tag){case 0:case 11:case 15:_u(e,t,a,o,f,m),Vd(t,dr);break;case 23:break;case 22:var L=t.stateNode;t.memoizedState!==null?L._visibility&Hs?_u(e,t,a,o,f,m):Ts(e,t,a,o,m):(L._visibility|=Hs,_u(e,t,a,o,f,m)),f&&K&2048&&Ld(t.alternate,t);break;case 24:_u(e,t,a,o,f,m),f&&K&2048&&qd(t.alternate,t);break;default:_u(e,t,a,o,f,m)}(t.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(t,st,mt,ea,Qn),ja(v),Ql(S),Qn=T,sa=D,bf=X}function Ts(e,t,a,o,f){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var m=t.child;m!==null;){t=m.sibling;var v=e,S=a,T=o,D=t!==null?t.actualStartTime:f,X=bf;(m.mode&wt)!==pt&&0<m.actualStartTime&&(m.flags&1)!==0&&vh(m,m.actualStartTime,D,el,S);var K=m.flags;switch(m.tag){case 22:Ts(v,m,S,T,D),K&2048&&Ld(m.alternate,m);break;case 24:Ts(v,m,S,T,D),K&2048&&qd(m.alternate,m);break;default:Ts(v,m,S,T,D)}bf=X,m=t}}function Cs(e,t,a){if(e.subtreeFlags&Rv)for(e=e.child;e!==null;)lp(e,t,a),e=e.sibling}function lp(e,t,a){switch(e.tag){case 26:Cs(e,t,a),e.flags&Rv&&e.memoizedState!==null&&z0(a,Yo,e.memoizedState,e.memoizedProps);break;case 5:Cs(e,t,a);break;case 3:case 4:var o=Yo;Yo=_p(e.stateNode.containerInfo),Cs(e,t,a),Yo=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Rv,Rv=16777216,Cs(e,t,a),Rv=o):Cs(e,t,a));break;default:Cs(e,t,a)}}function c0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ar(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a],f=Vn();sl=o,Li(o,e),(o.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&br(o,st,mt,"Unmount"),ja(f)}c0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)rp(e),e=e.sibling}function rp(e){var t=Vn(),a=xr(),o=Jl(),f=_r();switch(e.tag){case 0:case 11:case 15:ar(e),e.flags&2048&&Ph(e,e.return,dr|io);break;case 3:var m=Di();ar(e),e.stateNode.passiveEffectDuration+=_c(m);break;case 12:m=Di(),ar(e),e.stateNode.passiveEffectDuration+=hl(m);break;case 22:m=e.stateNode,e.memoizedState!==null&&m._visibility&Hs&&(e.return===null||e.return.tag!==13)?(m._visibility&=~Hs,ip(e),(e.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&br(e,st,mt,"Disconnect")):ar(e);break;default:ar(e)}(e.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(e,st,mt,ea,Qn),ja(t),Ql(a),sa=f,Qn=o}function ip(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a],f=Vn();sl=o,Li(o,e),(o.mode&wt)!==pt&&0<=st&&0<=mt&&.05<mt-st&&br(o,st,mt,"Unmount"),ja(f)}c0(e)}for(e=e.child;e!==null;)f0(e),e=e.sibling}function f0(e){var t=Vn(),a=xr(),o=Jl(),f=_r();switch(e.tag){case 0:case 11:case 15:Ph(e,e.return,dr),ip(e);break;case 22:var m=e.stateNode;m._visibility&Hs&&(m._visibility&=~Hs,ip(e));break;default:ip(e)}(e.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(e,st,mt,ea,Qn),ja(t),Ql(a),sa=f,Qn=o}function Li(e,t){for(;sl!==null;){var a=sl,o=a,f=t,m=Vn(),v=xr(),S=Jl(),T=_r();switch(o.tag){case 0:case 11:case 15:Ph(o,f,dr);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool,f!=null&&is(f));break;case 24:dd(o.memoizedState.cache)}if((o.mode&wt)!==pt&&0<=st&&0<=mt&&(sa||.05<ea)&&Gr(o,st,mt,ea,Qn),ja(m),Ql(v),sa=T,Qn=S,o=a.child,o!==null)o.return=a,sl=o;else e:for(a=e;sl!==null;){if(o=sl,m=o.sibling,v=o.return,oa(o),o===a){sl=null;break e}if(m!==null){m.return=v,sl=m;break e}sl=v}}}function d0(){JM.forEach(function(e){return e()})}function m0(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||de.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function rl(e){if((Jt&tl)!==cl&&zt!==0)return zt&-zt;var t=de.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),_0()):bi()}function qc(){if(zr===0)if((zt&536870912)===0||Yt){var e=fm;fm<<=1,(fm&3932160)===0&&(fm=262144),zr=e}else zr=536870912;return e=ci.current,e!==null&&(e.flags|=32),zr}function yt(e,t,a){if(yy&&console.error("useInsertionEffect must not schedule updates."),B_&&(FS=!0),(e===Mn&&(Sn===Am||Sn===Dm)||e.cancelPendingCommit!==null)&&(qi(e,0),Ar(e,zt,zr,!1)),Qe(e,a),(Jt&tl)!==cl&&e===Mn){if(Ji)switch(t.tag){case 0:case 11:case 15:e=Vt&&we(Vt)||"Unknown",QA.has(e)||(QA.add(e),t=we(t)||"Unknown",console.error("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://react.dev/link/setstate-in-render",t,e,e));break;case 1:XA||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),XA=!0)}}else Fi&&aa(e,t,a),Xd(t),e===Mn&&((Jt&tl)===cl&&(wf|=a),ta===Df&&Ar(e,zt,zr,!1)),Vl(e)}function A1(e,t,a){if((Jt&(tl|di))!==cl)throw Error("Should not already be working.");if(zt!==0&&Vt!==null){var o=Vt,f=La();switch(HN){case Mv:case Am:var m=pv;Ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",m,f,Pi,void 0,"primary-light")):console.timeStamp("Suspended",m,f,Pi,void 0,"primary-light"));break;case Dm:m=pv,Ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",m,f,Pi,void 0,"primary-light")):console.timeStamp("Action",m,f,Pi,void 0,"primary-light"));break;default:Ln&&(o=f-pv,3>o||console.timeStamp("Blocked",pv,f,Pi,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}m=(a=!a&&(t&127)===0&&(t&e.expiredLanes)===0||le(e,t))?wo(e,t):$c(e,t,!0);var v=a;do{if(m===Fs){hy&&!a&&Ar(e,t,0,!1),t=Sn,pv=Ya(),HN=t;break}else{if(o=La(),f=e.current.alternate,v&&!R1(f)){Yr(t),f=ul,m=o,!Ln||m<=f||(pa?pa.run(console.timeStamp.bind(console,"Teared Render",f,m,Xt,$t,"error")):console.timeStamp("Teared Render",f,m,Xt,$t,"error")),Tu(t,o),m=$c(e,t,!1),v=!1;continue}if(m===Nm){if(v=t,e.errorRecoveryDisabledLanes&v)var S=0;else S=e.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){Yr(t),hg(ul,o,t,pa),Tu(t,o),t=S;e:{o=e,m=v,v=jv;var T=o.current.memoizedState.isDehydrated;if(T&&(qi(o,S).flags|=256),S=$c(o,S,!1),S!==Nm){if(R_&&!T){o.errorRecoveryDisabledLanes|=m,wf|=m,m=Df;break e}o=mr,mr=v,o!==null&&(mr===null?mr=o:mr.push.apply(mr,o))}m=S}if(v=!1,m!==Nm)continue;o=La()}}if(m===wv){Yr(t),hg(ul,o,t,pa),Tu(t,o),qi(e,0),Ar(e,t,0,!0);break}e:{switch(a=e,m){case Fs:case wv:throw Error("Root did not complete. This is a bug in React.");case Df:if((t&4194048)!==t)break;case YS:Yr(t),a1(ul,o,t,pa),Tu(t,o),f=t,(f&127)!==0?AS=o:(f&4194048)!==0&&(DS=o),Ar(a,t,zr,!Rf);break e;case Nm:mr=null;break;case qS:case zA:break;default:throw Error("Unknown root exit status.")}if(de.actQueue!==null)Rn(a,f,t,mr,Uv,ZS,zr,wf,Rm,m,null,null,ul,o);else{if((t&62914560)===t&&(v=XS+VA-La(),10<v)){if(Ar(a,t,zr,!Rf),te(a,0,!0)!==0)break e;Go=t,a.timeoutHandle=tD(D1.bind(null,a,f,mr,Uv,ZS,t,zr,wf,Rm,Rf,m,"Throttled",ul,o),v);break e}D1(a,f,mr,Uv,ZS,t,zr,wf,Rm,Rf,m,null,ul,o)}}}break}while(!0);Vl(e)}function D1(e,t,a,o,f,m,v,S,T,D,X,K,L,oe){e.timeoutHandle=jm;var He=t.subtreeFlags,Xe=null;if((He&8192||(He&16785408)===16785408)&&(Xe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:vr},lp(t,m,Xe),He=(m&62914560)===m?XS-La():(m&4194048)===m?UA-La():0,He=Np(Xe,He),He!==null)){Go=m,e.cancelPendingCommit=He(Rn.bind(null,e,t,m,a,o,f,v,S,T,X,Xe,Xe.waitingForViewTransition?"Waiting for the previous Animation":0<Xe.count?0<Xe.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Xe.imgCount===1?"Suspended on an Image":0<Xe.imgCount?"Suspended on Images":null,L,oe)),Ar(e,m,v,!D);return}Rn(e,t,m,a,o,f,v,S,T,X,Xe,K,L,oe)}function R1(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var f=a[o],m=f.getSnapshot;f=f.value;try{if(!sr(m(),f))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;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 Ar(e,t,a,o){t&=~O_,t&=~wf,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var f=t;0<f;){var m=31-Pa(f),v=1<<m;o[m]=-1,f&=~v}a!==0&&qt(e,a,t)}function lr(){return(Jt&(tl|di))===cl?(Gi(0),!1):!0}function op(){if(Vt!==null){if(Sn===Mr)var e=Vt.return;else e=Vt,Ec(),su(e),ry=null,Tv=0,e=Vt;for(;e!==null;)Pg(e.alternate,e),e=e.return;Vt=null}}function Tu(e,t){(e&127)!==0&&(gm=t),(e&4194048)!==0&&($s=t),(e&62914560)!==0&&(BN=t),(e&2080374784)!==0&&(kN=t)}function qi(e,t){Ln&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",$t,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",$t,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",$t,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",$t,"primary-light"));var a=ul;if(ul=Ya(),zt!==0&&0<a){if(Yr(zt),ta===qS||ta===Df)a1(a,ul,t,pa);else{var o=ul,f=pa;if(Ln&&!(o<=a)){var m=(t&738197653)===t?"tertiary-dark":"primary-dark",v=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";f?f.run(console.timeStamp.bind(console,v,a,o,Xt,$t,m)):console.timeStamp(v,a,o,Xt,$t,m)}}Tu(zt,ul)}if(a=pa,pa=null,(t&127)!==0){pa=dv,f=0<=Uu&&Uu<gm?gm:Uu,o=0<=vm&&vm<gm?gm:vm,m=0<=o?o:0<=f?f:ul,0<=AS?(Yr(2),l1(AS,m,t,a)):RS&127,a=f;var S=o,T=mv,D=0<ny,X=Tf===fv,K=Tf===NS;if(f=ul,o=dv,m=u_,v=s_,Ln){if(Xt="Blocking",0<a?a>f&&(a=f):a=f,0<S?S>a&&(S=a):S=a,T!==null&&a>S){var L=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+T,S,a,Xt,$t,L)):console.timeStamp(D?"Consecutive":"Event: "+T,S,a,Xt,$t,L)}f>a&&(S=X?"error":(t&738197653)===t?"tertiary-light":"primary-light",X=K?"Promise Resolved":X?"Cascading Update":5<f-a?"Update Blocked":"Update",K=[],v!=null&&K.push(["Component name",v]),m!=null&&K.push(["Method name",m]),a={start:a,end:f,detail:{devtools:{properties:K,track:Xt,trackGroup:$t,color:S}}},o?o.run(performance.measure.bind(performance,X,a)):performance.measure(X,a))}Uu=-1.1,Tf=0,s_=u_=null,AS=-1.1,ny=vm,vm=-1.1,gm=Ya()}if((t&4194048)!==0&&(pa=hv,f=0<=Zs&&Zs<$s?$s:Zs,a=0<=lo&&lo<$s?$s:lo,o=0<=Cf&&Cf<$s?$s:Cf,m=0<=o?o:0<=a?a:ul,0<=DS?(Yr(256),l1(DS,m,t,pa)):RS&4194048,K=o,S=bm,T=0<Nf,D=c_===NS,m=ul,o=hv,v=UN,X=VN,Ln&&(Xt="Transition",0<a?a>m&&(a=m):a=m,0<f?f>a&&(f=a):f=a,0<K?K>f&&(K=f):K=f,f>K&&S!==null&&(L=T?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+S,K,f,Xt,$t,L)):console.timeStamp(T?"Consecutive":"Event: "+S,K,f,Xt,$t,L)),a>f&&(o?o.run(console.timeStamp.bind(console,"Action",f,a,Xt,$t,"primary-dark")):console.timeStamp("Action",f,a,Xt,$t,"primary-dark")),m>a&&(f=D?"Promise Resolved":5<m-a?"Update Blocked":"Update",K=[],X!=null&&K.push(["Component name",X]),v!=null&&K.push(["Method name",v]),a={start:a,end:m,detail:{devtools:{properties:K,track:Xt,trackGroup:$t,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,f,a)):performance.measure(f,a))),lo=Zs=-1.1,c_=0,DS=-1.1,Nf=Cf,Cf=-1.1,$s=Ya()),(t&62914560)!==0&&(RS&62914560)!==0&&(Yr(4194304),pg(BN,ul)),(t&2080374784)!==0&&(RS&2080374784)!==0&&(Yr(268435456),pg(kN,ul)),a=e.timeoutHandle,a!==jm&&(e.timeoutHandle=jm,o6(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Go=0,op(),Mn=e,Vt=a=Ni(e.current,null),zt=t,Sn=Mr,mi=null,Rf=!1,hy=le(e,t),R_=!1,ta=Fs,Rm=zr=O_=wf=Of=0,mr=jv=null,ZS=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)f=31-Pa(o),m=1<<f,t|=e[f],o&=~m;return Bu=t,bh(),e=RN(),1e3<e-DN&&(de.recentlyCreatedOwnerStacks=0,DN=e),Lo.discardPendingWarnings(),a}function ei(e,t){bt=null,de.H=Dv,de.getCurrentStack=null,Ji=!1,Ll=null,t===ly||t===zS?(t=ss(),Sn=Mv):t===h_?(t=ss(),Sn=jA):Sn=t===T_?D_:t!==null&&typeof t=="object"&&typeof t.then=="function"?zv:GS,mi=t;var a=Vt;a===null?(ta=wv,wd(e,ml(t,e.current))):a.mode&wt&&Nh(a)}function h0(){var e=ci.current;return e===null?!0:(zt&4194048)===zt?ro===null:(zt&62914560)===zt||(zt&536870912)!==0?e===ro:!1}function up(){var e=de.H;return de.H=Dv,e===null?Dv:e}function p0(){var e=de.A;return de.A=QM,e}function Yc(e){pa===null&&(pa=e._debugTask==null?null:e._debugTask)}function Gc(){ta=Df,Rf||(zt&4194048)!==zt&&ci.current!==null||(hy=!0),(Of&134217727)===0&&(wf&134217727)===0||Mn===null||Ar(Mn,zt,zr,!1)}function $c(e,t,a){var o=Jt;Jt|=tl;var f=up(),m=p0();if(Mn!==e||zt!==t){if(Fi){var v=e.memoizedUpdaters;0<v.size&&(Xc(e,zt),v.clear()),Ka(e,t)}Uv=null,qi(e,t)}t=!1,v=ta;e:do try{if(Sn!==Mr&&Vt!==null){var S=Vt,T=mi;switch(Sn){case D_:op(),v=YS;break e;case Mv:case Am:case Dm:case zv:ci.current===null&&(t=!0);var D=Sn;if(Sn=Mr,mi=null,Zc(e,S,T,D),a&&hy){v=Fs;break e}break;default:D=Sn,Sn=Mr,mi=null,Zc(e,S,T,D)}}y0(),v=ta;break}catch(X){ei(e,X)}while(!0);return t&&e.shellSuspendCounter++,Ec(),Jt=o,de.H=f,de.A=m,Vt===null&&(Mn=null,zt=0,bh()),v}function y0(){for(;Vt!==null;)sp(Vt)}function wo(e,t){var a=Jt;Jt|=tl;var o=up(),f=p0();if(Mn!==e||zt!==t){if(Fi){var m=e.memoizedUpdaters;0<m.size&&(Xc(e,zt),m.clear()),Ka(e,t)}Uv=null,QS=La()+BA,qi(e,t)}else hy=le(e,t);e:do try{if(Sn!==Mr&&Vt!==null)t:switch(t=Vt,m=mi,Sn){case GS:Sn=Mr,mi=null,Zc(e,t,m,GS);break;case Am:case Dm:if(Ag(m)){Sn=Mr,mi=null,g0(t);break}t=function(){Sn!==Am&&Sn!==Dm||Mn!==e||(Sn=$S),Vl(e)},m.then(t,t);break e;case Mv:Sn=$S;break e;case jA:Sn=A_;break e;case $S:Ag(m)?(Sn=Mr,mi=null,g0(t)):(Sn=Mr,mi=null,Zc(e,t,m,$S));break;case A_:var v=null;switch(Vt.tag){case 26:v=Vt.memoizedState;case 5:case 27:var S=Vt;if(v?Bt(v):S.stateNode.complete){Sn=Mr,mi=null;var T=S.sibling;if(T!==null)Vt=T;else{var D=S.return;D!==null?(Vt=D,Gd(D)):Vt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Sn=Mr,mi=null,Zc(e,t,m,A_);break;case zv:Sn=Mr,mi=null,Zc(e,t,m,zv);break;case D_:op(),ta=YS;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}de.actQueue!==null?y0():ma();break}catch(X){ei(e,X)}while(!0);return Ec(),de.H=o,de.A=f,Jt=a,Vt!==null?Fs:(Mn=null,zt=0,bh(),ta)}function ma(){for(;Vt!==null&&!Bp();)sp(Vt)}function sp(e){var t=e.alternate;(e.mode&wt)!==pt?(So(e),t=Me(e,Ud,t,e,Bu),Nh(e)):t=Me(e,Ud,t,e,Bu),e.memoizedProps=e.pendingProps,t===null?Gd(e):Vt=t}function g0(e){var t=Me(e,Ha,e);e.memoizedProps=e.pendingProps,t===null?Gd(e):Vt=t}function Ha(e){var t=e.alternate,a=(e.mode&wt)!==pt;switch(a&&So(e),e.tag){case 15:case 0:t=Xg(t,e,e.pendingProps,e.type,void 0,zt);break;case 11:t=Xg(t,e,e.pendingProps,e.type.render,e.ref,zt);break;case 5:su(e);default:Pg(t,e),e=Vt=bg(e,Bu),t=Ud(t,e,Bu)}return a&&Nh(e),t}function Zc(e,t,a,o){Ec(),su(t),ry=null,Tv=0;var f=t.return;try{if(Hg(e,f,t,a,zt)){ta=wv,wd(e,ml(a,e.current)),Vt=null;return}}catch(m){if(f!==null)throw Vt=f,m;ta=wv,wd(e,ml(a,e.current)),Vt=null;return}t.flags&32768?(Yt||o===GS?e=!0:hy||(zt&536870912)!==0?e=!1:(Rf=e=!0,(o===Am||o===Dm||o===Mv||o===zv)&&(o=ci.current,o!==null&&o.tag===13&&(o.flags|=16384))),v0(t,e)):Gd(t)}function Gd(e){var t=e;do{if((t.flags&32768)!==0){v0(t,Rf);return}var a=t.alternate;if(e=t.return,So(t),a=Me(t,Ig,a,t,Bu),(t.mode&wt)!==pt&&md(t),a!==null){Vt=a;return}if(t=t.sibling,t!==null){Vt=t;return}Vt=t=e}while(t!==null);ta===Fs&&(ta=zA)}function v0(e,t){do{var a=S1(e.alternate,e);if(a!==null){a.flags&=32767,Vt=a;return}if((e.mode&wt)!==pt){md(e),a=e.actualDuration;for(var o=e.child;o!==null;)a+=o.actualDuration,o=o.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Vt=e;return}Vt=e=a}while(e!==null);ta=YS,Vt=null}function Rn(e,t,a,o,f,m,v,S,T,D,X,K,L,oe){e.cancelPendingCommit=null;do $d();while(Qa!==zf);if(Lo.flushLegacyContextWarning(),Lo.flushPendingUnsafeLifecycleWarnings(),(Jt&(tl|di))!==cl)throw Error("Should not already be working.");if(Yr(a),D===Nm?hg(L,oe,a,pa):o!==null?wx(L,oe,a,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,pa):Ox(L,oe,a,pa),t!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(m=t.lanes|t.childLanes,m|=a_,gt(e,a,m,v,S,T),e===Mn&&(Vt=Mn=null,zt=0),py=t,jf=e,Go=a,z_=m,U_=f,GA=o,j_=oe,$A=K,$o=JS,ZA=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Qc(Us,function(){return qv=window.event,$o===JS&&($o=M_),Zd(),null})):(e.callbackNode=null,e.callbackPriority=0),Gs=null,_f=Ya(),K!==null&&Mx(oe,_f,K,pa),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=de.T,de.T=null,f=en.p,en.p=Ta,v=Jt,Jt|=di;try{Ux(e,t,a)}finally{Jt=v,en.p=f,de.T=o}}Qa=HA,xl(),Yi(),b0()}}function xl(){if(Qa===HA){Qa=zf;var e=jf,t=py,a=Go,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=de.T,de.T=null;var f=en.p;en.p=Ta;var m=Jt;Jt|=di;try{dy=a,my=e,os(),Hd(t,e),my=dy=null,a=X_;var v=yh(e.containerInfo),S=a.focusedElem,T=a.selectionRange;if(v!==S&&S&&S.ownerDocument&&Wb(S.ownerDocument.documentElement,S)){if(T!==null&&fg(S)){var D=T.start,X=T.end;if(X===void 0&&(X=D),"selectionStart"in S)S.selectionStart=D,S.selectionEnd=Math.min(X,S.value.length);else{var K=S.ownerDocument||document,L=K&&K.defaultView||window;if(L.getSelection){var oe=L.getSelection(),He=S.textContent.length,Xe=Math.min(T.start,He),Un=T.end===void 0?Xe:Math.min(T.end,He);!oe.extend&&Xe>Un&&(v=Un,Un=Xe,Xe=v);var Zt=Pb(S,Xe),k=Pb(S,Un);if(Zt&&k&&(oe.rangeCount!==1||oe.anchorNode!==Zt.node||oe.anchorOffset!==Zt.offset||oe.focusNode!==k.node||oe.focusOffset!==k.offset)){var q=K.createRange();q.setStart(Zt.node,Zt.offset),oe.removeAllRanges(),Xe>Un?(oe.addRange(q),oe.extend(k.node,k.offset)):(q.setEnd(k.node,k.offset),oe.addRange(q))}}}}for(K=[],oe=S;oe=oe.parentNode;)oe.nodeType===1&&K.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<K.length;S++){var Z=K[S];Z.element.scrollLeft=Z.left,Z.element.scrollTop=Z.top}}cE=!!Z_,X_=Z_=null}finally{Jt=m,en.p=f,de.T=o}}e.current=t,Qa=LA}}function Yi(){if(Qa===LA){Qa=zf;var e=ZA;if(e!==null){_f=Ya();var t=Ys,a=_f;!Ln||a<=t||console.timeStamp(e,t,a,Xt,$t,"secondary-light")}e=jf,t=py,a=Go;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=de.T,de.T=null;var f=en.p;en.p=Ta;var m=Jt;Jt|=di;try{dy=a,my=e,os(),np(e,t.alternate,t),my=dy=null}finally{Jt=m,en.p=f,de.T=o}}e=j_,t=$A,Ys=Ya(),e=t===null?e:_f,t=Ys,a=$o===w_,o=pa,Gs!==null?r1(e,t,Gs,!1,o):!Ln||t<=e||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,Xt,$t,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,Xt,$t,a?"error":"secondary-dark")),Qa=qA}}function b0(){if(Qa===YA||Qa===qA){if(Qa===YA){var e=Ys;Ys=Ya();var t=Ys,a=$o===w_;!Ln||t<=e||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",e,t,Xt,$t,a?" error":"secondary-light"),$o!==w_&&($o=kA)}Qa=zf,kp(),e=jf;var o=py;t=Go,a=GA;var f=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;f?Qa=KS:(Qa=zf,py=jf=null,S0(e,e.pendingLanes),Om=0,Bv=null);var m=e.pendingLanes;if(m===0&&(Mf=null),f||dp(e),m=Fn(t),o=o.stateNode,_a&&typeof _a.onCommitFiberRoot=="function")try{var v=(o.current.flags&128)===128;switch(m){case Ta:var S=F0;break;case Wa:S=Hp;break;case ol:S=Us;break;case Mu:S=Lp;break;default:S=Us}_a.onCommitFiberRoot(Vs,o,S,v)}catch(K){Ki||(Ki=!0,console.error("React instrumentation encountered an error: %o",K))}if(Fi&&e.memoizedUpdaters.clear(),d0(),a!==null){v=de.T,S=en.p,en.p=Ta,de.T=null;try{var T=e.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],X=O1(D.stack);Me(D.source,T,D.value,X)}}finally{de.T=v,en.p=S}}(Go&3)!==0&&$d(),Vl(e),m=e.pendingLanes,(t&261930)!==0&&(m&42)!==0?(wS=!0,e===V_?Vv++:(Vv=0,V_=e)):Vv=0,f||Tu(t,Ys),Gi(0)}}function O1(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function S0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,dd(t)))}function $d(){return xl(),Yi(),b0(),Zd()}function Zd(){if(Qa!==KS)return!1;var e=jf,t=z_;z_=0;var a=Fn(Go),o=ol>a?ol:a;a=de.T;var f=en.p;try{en.p=o,de.T=null;var m=U_;U_=null,o=jf;var v=Go;if(Qa=zf,py=jf=null,Go=0,(Jt&(tl|di))!==cl)throw Error("Cannot flush passive effects while already rendering.");Yr(v),B_=!0,FS=!1;var S=0;if(Gs=null,S=La(),$o===kA)pg(Ys,S,LM);else{var T=Ys,D=S,X=$o===M_;!Ln||D<=T||(pa?pa.run(console.timeStamp.bind(console,X?"Waiting for Paint":"Waiting",T,D,Xt,$t,"secondary-light")):console.timeStamp(X?"Waiting for Paint":"Waiting",T,D,Xt,$t,"secondary-light"))}T=Jt,Jt|=di;var K=o.current;os(),rp(K);var L=o.current;K=j_,os(),s0(o,L,v,m,K),dp(o),Jt=T;var oe=La();if(L=S,K=pa,Gs!==null?r1(L,oe,Gs,!0,K):!Ln||oe<=L||(K?K.run(console.timeStamp.bind(console,"Remaining Effects",L,oe,Xt,$t,"secondary-dark")):console.timeStamp("Remaining Effects",L,oe,Xt,$t,"secondary-dark")),Tu(v,oe),Gi(0,!1),FS?o===Bv?Om++:(Om=0,Bv=o):Om=0,FS=B_=!1,_a&&typeof _a.onPostCommitFiberRoot=="function")try{_a.onPostCommitFiberRoot(Vs,o)}catch(Xe){Ki||(Ki=!0,console.error("React instrumentation encountered an error: %o",Xe))}var He=o.current.stateNode;return He.effectDuration=0,He.passiveEffectDuration=0,!0}finally{en.p=f,de.T=a,S0(e,t)}}function _l(e,t,a){t=ml(a,t),f1(t),t=Yh(e.stateNode,t,2),e=Oi(e,t,2),e!==null&&(Qe(e,2),Vl(e))}function At(e,t,a){if(yy=!1,e.tag===3)_l(e,e,a);else{for(;t!==null;){if(t.tag===3){_l(t,e,a);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Mf===null||!Mf.has(o))){e=ml(a,e),f1(e),a=Gh(2),o=Oi(t,a,2),o!==null&&($h(a,o,t,e),Qe(o,2),Vl(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
247
-
248
- Error message:
249
-
250
- %s`,a)}}function cp(e,t,a){var o=e.pingCache;if(o===null){o=e.pingCache=new KM;var f=new Set;o.set(t,f)}else f=o.get(t),f===void 0&&(f=new Set,o.set(t,f));f.has(a)||(R_=!0,f.add(a),o=Ul.bind(null,e,t,a),Fi&&Xc(e,a),t.then(o,o))}function Ul(e,t,a){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,(a&127)!==0?0>Uu&&(gm=Uu=Ya(),dv=CS("Promise Resolved"),Tf=NS):(a&4194048)!==0&&0>lo&&($s=lo=Ya(),hv=CS("Promise Resolved"),c_=NS),m0()&&de.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
251
-
252
- When testing, code that resolves suspended data should be wrapped into act(...):
253
-
254
- act(() => {
255
- /* finish loading suspended data */
256
- });
257
- /* assert on the output */
258
-
259
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Mn===e&&(zt&a)===a&&(ta===Df||ta===qS&&(zt&62914560)===zt&&La()-XS<VA?(Jt&tl)===cl&&qi(e,0):O_|=a,Rm===zt&&(Rm=0)),Vl(e)}function E0(e,t){t===0&&(t=Ue()),e=al(e,t),e!==null&&(Qe(e,t),Vl(e))}function Mo(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),E0(e,a)}function Ns(e,t){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,f=e.memoizedState;f!==null&&(a=f.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),E0(e,a)}function ti(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,f=t,m=f.type===Nl;m=a||m,f.tag!==22?f.flags&67108864?m&&Me(f,fp,o,f):ti(o,f,m):f.memoizedState===null&&(m&&f.flags&8192?Me(f,fp,o,f):f.subtreeFlags&67108864&&Me(f,ti,o,f,m)),t=t.sibling}}function fp(e,t){Fe(!0);try{ap(t),f0(t),u0(e,t.alternate,t,!1),Yd(e,t,0,null,!1,0)}finally{Fe(!1)}}function dp(e){var t=!0;e.current.mode&(ql|Ho)||(t=!1),ti(e,e.current,t)}function Dr(e){if((Jt&tl)===cl){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=we(e)||"ReactComponent",IS!==null){if(IS.has(t))return;IS.add(t)}else IS=new Set([t]);Me(e,function(){console.error("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 tries to update the component. Move this work to useEffect instead.")})}}}function Xc(e,t){Fi&&e.memoizedUpdaters.forEach(function(a){aa(e,a,t)})}function Qc(e,t){var a=de.actQueue;return a!==null?(a.push(t),PM):K0(e,t)}function Xd(e){m0()&&de.actQueue===null&&Me(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
260
-
261
- When testing, code that causes React state updates should be wrapped into act(...):
262
-
263
- act(() => {
264
- /* fire events that update state */
265
- });
266
- /* assert on the output */
267
-
268
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,we(e))})}function Vl(e){e!==gy&&e.next===null&&(gy===null?PS=gy=e:gy=gy.next=e),WS=!0,de.actQueue!==null?H_||(H_=!0,M1()):k_||(k_=!0,M1())}function Gi(e,t){if(!L_&&WS){L_=!0;do for(var a=!1,o=PS;o!==null;){if(e!==0){var f=o.pendingLanes;if(f===0)var m=0;else{var v=o.suspendedLanes,S=o.pingedLanes;m=(1<<31-Pa(42|e)+1)-1,m&=f&~(v&~S),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(a=!0,Qd(o,m))}else m=zt,m=te(o,o===Mn?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==jm),(m&3)===0||le(o,m)||(a=!0,Qd(o,m));o=o.next}while(a);L_=!1}}function w1(){qv=window.event,mp()}function mp(){WS=H_=k_=!1;var e=0;Uf!==0&&C0()&&(e=Uf);for(var t=La(),a=null,o=PS;o!==null;){var f=o.next,m=Jc(o,t);m===0?(o.next=null,a===null?PS=f:a.next=f,f===null&&(gy=a)):(a=o,(e!==0||(m&3)!==0)&&(WS=!0)),o=f}Qa!==zf&&Qa!==KS||Gi(e),Uf!==0&&(Uf=0)}function Jc(e,t){for(var a=e.suspendedLanes,o=e.pingedLanes,f=e.expirationTimes,m=e.pendingLanes&-62914561;0<m;){var v=31-Pa(m),S=1<<v,T=f[v];T===-1?((S&a)===0||(S&o)!==0)&&(f[v]=qe(S,t)):T<=t&&(e.expiredLanes|=S),m&=~S}if(t=Mn,a=zt,a=te(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==jm),o=e.callbackNode,a===0||e===t&&(Sn===Am||Sn===Dm)||e.cancelPendingCommit!==null)return o!==null&&hp(o),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||le(e,a)){if(t=a&-a,t!==e.callbackPriority||de.actQueue!==null&&o!==q_)hp(o);else return t;switch(Fn(a)){case Ta:case Wa:a=Hp;break;case ol:a=Us;break;case Mu:a=Lp;break;default:a=Us}return o=x0.bind(null,e),de.actQueue!==null?(de.actQueue.push(o),a=q_):a=K0(a,o),e.callbackPriority=t,e.callbackNode=a,t}return o!==null&&hp(o),e.callbackPriority=2,e.callbackNode=null,2}function x0(e,t){if(wS=OS=!1,qv=window.event,Qa!==zf&&Qa!==KS)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if($o===JS&&($o=M_),$d()&&e.callbackNode!==a)return null;var o=zt;return o=te(e,e===Mn?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==jm),o===0?null:(A1(e,o,t),Jc(e,La()),e.callbackNode!=null&&e.callbackNode===a?x0.bind(null,e):null)}function Qd(e,t){if($d())return null;OS=wS,wS=!1,A1(e,t,!0)}function hp(e){e!==q_&&e!==null&&Vp(e)}function M1(){de.actQueue!==null&&de.actQueue.push(function(){return mp(),null}),u6(function(){(Jt&(tl|di))!==cl?K0(F0,w1):mp()})}function _0(){if(Uf===0){var e=Sm;e===0&&(e=mf,mf<<=1,(mf&261888)===0&&(mf=256)),Uf=e}return Uf}function Kt(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Gt(e,"action"),nd(""+e))}function gn(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Ht(e,t,a,o,f){if(t==="submit"&&a&&a.stateNode===f){var m=Kt((f[Al]||null).action),v=o.submitter;v&&(t=(t=v[Al]||null)?Kt(t.formAction):v.getAttribute("formAction"),t!==null&&(m=t,v=null));var S=new vS("action","action",null,o,f);e.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Uf!==0){var T=v?gn(f,v):new FormData(f),D={pending:!0,data:T,method:f.method,action:m};Object.freeze(D),Do(a,D,null,T)}}else typeof m=="function"&&(S.preventDefault(),T=v?gn(f,v):new FormData(f),D={pending:!0,data:T,method:f.method,action:m},Object.freeze(D),Do(a,D,m,T))},currentTarget:f}]})}}function Ut(e,t,a){e.currentTarget=a;try{t(e)}catch(o){Wx(o)}e.currentTarget=null}function on(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var o=e[a];e:{var f=void 0,m=o.event;if(o=o.listeners,t)for(var v=o.length-1;0<=v;v--){var S=o[v],T=S.instance,D=S.currentTarget;if(S=S.listener,T!==f&&m.isPropagationStopped())break e;T!==null?Me(T,Ut,m,S,D):Ut(m,S,D),f=T}else for(v=0;v<o.length;v++){if(S=o[v],T=S.instance,D=S.currentTarget,S=S.listener,T!==f&&m.isPropagationStopped())break e;T!==null?Me(T,Ut,m,S,D):Ut(m,S,D),f=T}}}}function ht(e,t){Y_.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[Bs];a===void 0&&(a=t[Bs]=new Set);var o=e+"__bubble";a.has(o)||(pp(t,e,2,!1),a.add(o))}function $i(e,t,a){Y_.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),pp(a,e,o,t)}function Cu(e){if(!e[eE]){e[eE]=!0,mS.forEach(function(a){a!=="selectionchange"&&(Y_.has(a)||$i(a,!1,e),$i(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[eE]||(t[eE]=!0,$i("selectionchange",!1,t))}}function pp(e,t,a,o){switch(Rp(t)){case Ta:var f=k0;break;case Wa:f=Ia;break;default:f=H0}a=f.bind(null,t,a,e),f=void 0,!Gx||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(f=!0),o?f!==void 0?e.addEventListener(t,a,{capture:!0,passive:f}):e.addEventListener(t,a,!0):f!==void 0?e.addEventListener(t,a,{passive:f}):e.addEventListener(t,a,!1)}function ni(e,t,a,o,f){var m=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var v=o.tag;if(v===3||v===4){var S=o.stateNode.containerInfo;if(S===f)break;if(v===4)for(v=o.return;v!==null;){var T=v.tag;if((T===3||T===4)&&v.stateNode.containerInfo===f)return;v=v.return}for(;S!==null;){if(v=Oe(S),v===null)return;if(T=v.tag,T===5||T===6||T===26||T===27){o=m=v;continue e}S=S.parentNode}}o=o.return}dh(function(){var D=m,X=Lr(a),K=[];e:{var L=AN.get(e);if(L!==void 0){var oe=vS,He=e;switch(e){case"keypress":if(ad(a)===0)break e;case"keydown":case"keyup":oe=mM;break;case"focusin":He="focus",oe=Qx;break;case"focusout":He="blur",oe=Qx;break;case"beforeblur":case"afterblur":oe=Qx;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=mN;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=tM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=yM;break;case _N:case TN:case CN:oe=lM;break;case NN:oe=vM;break;case"scroll":case"scrollend":oe=W4;break;case"wheel":oe=SM;break;case"copy":case"cut":case"paste":oe=iM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=pN;break;case"toggle":case"beforetoggle":oe=xM}var Xe=(t&4)!==0,Un=!Xe&&(e==="scroll"||e==="scrollend"),Zt=Xe?L!==null?L+"Capture":null:L;Xe=[];for(var k=D,q;k!==null;){var Z=k;if(q=Z.stateNode,Z=Z.tag,Z!==5&&Z!==26&&Z!==27||q===null||Zt===null||(Z=Ti(k,Zt),Z!=null&&Xe.push(On(k,Z,q))),Un)break;k=k.return}0<Xe.length&&(L=new oe(L,He,null,a,X),K.push({event:L,listeners:Xe}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",L&&a!==tv&&(He=a.relatedTarget||a.fromElement)&&(Oe(He)||He[ko]))break e;if((oe||L)&&(L=X.window===X?X:(L=X.ownerDocument)?L.defaultView||L.parentWindow:window,oe?(He=a.relatedTarget||a.toElement,oe=D,He=He?Oe(He):null,He!==null&&(Un=fe(He),Xe=He.tag,He!==Un||Xe!==5&&Xe!==27&&Xe!==6)&&(He=null)):(oe=null,He=D),oe!==He)){if(Xe=mN,Z="onMouseLeave",Zt="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(Xe=pN,Z="onPointerLeave",Zt="onPointerEnter",k="pointer"),Un=oe==null?L:We(oe),q=He==null?L:We(He),L=new Xe(Z,k+"leave",oe,a,X),L.target=Un,L.relatedTarget=q,Z=null,Oe(X)===D&&(Xe=new Xe(Zt,k+"enter",He,a,X),Xe.target=q,Xe.relatedTarget=Un,Z=Xe),Un=Z,oe&&He)t:{for(Xe=As,Zt=oe,k=He,q=0,Z=Zt;Z;Z=Xe(Z))q++;Z=0;for(var Se=k;Se;Se=Xe(Se))Z++;for(;0<q-Z;)Zt=Xe(Zt),q--;for(;0<Z-q;)k=Xe(k),Z--;for(;q--;){if(Zt===k||k!==null&&Zt===k.alternate){Xe=Zt;break t}Zt=Xe(Zt),k=Xe(k)}Xe=null}else Xe=null;oe!==null&&yp(K,L,oe,Xe,!1),He!==null&&Un!==null&&yp(K,Un,He,Xe,!0)}}e:{if(L=D?We(D):window,oe=L.nodeName&&L.nodeName.toLowerCase(),oe==="select"||oe==="input"&&L.type==="file")var Ge=tu;else if(ug(L))if(EN)Ge=od;else{Ge=sg;var St=Rx}else oe=L.nodeName,!oe||oe.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?D&&_i(D.elementType)&&(Ge=tu):Ge=cg;if(Ge&&(Ge=Ge(e,D))){rd(K,Ge,a,X);break e}St&&St(e,L,D),e==="focusout"&&D&&L.type==="number"&&D.memoizedProps.value!=null&&Wy(L,"number",L.value)}switch(St=D?We(D):window,e){case"focusin":(ug(St)||St.contentEditable==="true")&&(Jp=St,Kx=D,uv=null);break;case"focusout":uv=Kx=Jp=null;break;case"mousedown":Fx=!0;break;case"contextmenu":case"mouseup":case"dragend":Fx=!1,e1(K,a,X);break;case"selectionchange":if(NM)break;case"keydown":case"keyup":e1(K,a,X)}var ut;if(Jx)e:{switch(e){case"compositionstart":var lt="onCompositionStart";break e;case"compositionend":lt="onCompositionEnd";break e;case"compositionupdate":lt="onCompositionUpdate";break e}lt=void 0}else Qp?yc(e,a)&&(lt="onCompositionEnd"):e==="keydown"&&a.keyCode===yN&&(lt="onCompositionStart");lt&&(gN&&a.locale!=="ko"&&(Qp||lt!=="onCompositionStart"?lt==="onCompositionEnd"&&Qp&&(ut=Iu()):(vf=X,$x="value"in vf?vf.value:vf.textContent,Qp=!0)),St=ai(D,lt),0<St.length&&(lt=new hN(lt,e,null,a,X),K.push({event:lt,listeners:St}),ut?lt.data=ut:(ut=vo(a),ut!==null&&(lt.data=ut)))),(ut=TM?og(e,a):mh(e,a))&&(lt=ai(D,"onBeforeInput"),0<lt.length&&(St=new uM("onBeforeInput","beforeinput",null,a,X),K.push({event:St,listeners:lt}),St.data=ut)),Ht(K,e,D,a,X)}on(K,t)})}function On(e,t,a){return{instance:e,listener:t,currentTarget:a}}function ai(e,t){for(var a=t+"Capture",o=[];e!==null;){var f=e,m=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||m===null||(f=Ti(e,a),f!=null&&o.unshift(On(e,f,m)),f=Ti(e,t),f!=null&&o.push(On(e,f,m))),e.tag===3)return o;e=e.return}return[]}function As(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function yp(e,t,a,o,f){for(var m=t._reactName,v=[];a!==null&&a!==o;){var S=a,T=S.alternate,D=S.stateNode;if(S=S.tag,T!==null&&T===o)break;S!==5&&S!==26&&S!==27||D===null||(T=D,f?(D=Ti(a,m),D!=null&&v.unshift(On(a,D,T))):f||(D=Ti(a,m),D!=null&&v.push(On(a,D,T)))),a=a.return}v.length!==0&&e.push({event:t,listeners:v})}function Tl(e,t){Kb(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||fN||(fN=!0,e==="select"&&t.multiple?console.error("`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):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:Ii,possibleRegistrationNames:yf};_i(e)||typeof t.is=="string"||Dx(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("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.")}function Zn(e,t,a,o){t!==a&&(a=li(a),li(t)!==a&&(o[e]=t))}function Jd(e,t,a){t.forEach(function(o){a[zo(o)]=o==="style"?Nu(e):e.getAttribute(o)})}function Xn(e,t){t===!1?console.error("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):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function gp(e,t){return e=e.namespaceURI===xt||e.namespaceURI===Dt?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function li(e){return An(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",zn(e)),wa(e)),(typeof e=="string"?e:""+e).replace(WM,`
269
- `).replace(e6,"")}function T0(e,t){return t=li(t),li(e)===t}function Wt(e,t,a,o,f,m){switch(a){case"children":typeof o=="string"?(td(o,t,!1),t==="body"||t==="textarea"&&o===""||Fu(e,o)):(typeof o=="number"||typeof o=="bigint")&&(td(""+o,t,!1),t!=="body"&&Fu(e,""+o));break;case"className":Pf(e,"class",o);break;case"tabIndex":Pf(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Pf(e,a,o);break;case"style":lg(e,o,m);break;case"data":if(t!=="object"){Pf(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}Gt(o,a),o=nd(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(f.encType==null&&f.method==null||aE||(aE=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),f.target==null||nE||(nE=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||f.type==="submit"||f.type==="image"||tE?t!=="button"||f.type==null||f.type==="submit"||tE?typeof o=="function"&&(f.name==null||FA||(FA=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),f.formEncType==null&&f.formMethod==null||aE||(aE=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),f.formTarget==null||nE||(nE=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(tE=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(tE=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(a==="formAction"?(t!=="input"&&Wt(e,t,"name",f.name,f,null),Wt(e,t,"formEncType",f.formEncType,f,null),Wt(e,t,"formMethod",f.formMethod,f,null),Wt(e,t,"formTarget",f.formTarget,f,null)):(Wt(e,t,"encType",f.encType,f,null),Wt(e,t,"method",f.method,f,null),Wt(e,t,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}Gt(o,a),o=nd(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&Xn(a,o),e.onclick=vr);break;case"onScroll":o!=null&&(typeof o!="function"&&Xn(a,o),ht("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&Xn(a,o),ht("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=o.__html,a!=null){if(f.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}Gt(o,a),a=nd(""+o),e.setAttributeNS(wm,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(Gt(o,a),e.setAttribute(a,""+o)):e.removeAttribute(a);break;case"inert":o!==""||lE[a]||(lE[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(Gt(o,a),e.setAttribute(a,o)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(Gt(o,a),e.setAttribute(a,o)):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):(Gt(o,a),e.setAttribute(a,o));break;case"popover":ht("beforetoggle",e),ht("toggle",e),sc(e,"popover",o);break;case"xlinkActuate":Si(e,wm,"xlink:actuate",o);break;case"xlinkArcrole":Si(e,wm,"xlink:arcrole",o);break;case"xlinkRole":Si(e,wm,"xlink:role",o);break;case"xlinkShow":Si(e,wm,"xlink:show",o);break;case"xlinkTitle":Si(e,wm,"xlink:title",o);break;case"xlinkType":Si(e,wm,"xlink:type",o);break;case"xmlBase":Si(e,G_,"xml:base",o);break;case"xmlLang":Si(e,G_,"xml:lang",o);break;case"xmlSpace":Si(e,G_,"xml:space",o);break;case"is":m!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),sc(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":IA||o==null||typeof o!="object"||(IA=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=Qb(a),sc(e,a,o)):Ii.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&Xn(a,o)}}function Kc(e,t,a,o,f,m){switch(a){case"style":lg(e,o,m);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=o.__html,a!=null){if(f.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof o=="string"?Fu(e,o):(typeof o=="number"||typeof o=="bigint")&&Fu(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&Xn(a,o),ht("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&Xn(a,o),ht("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&Xn(a,o),e.onclick=vr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ii.hasOwnProperty(a))o!=null&&typeof o!="function"&&Xn(a,o);else e:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),t=a.slice(2,f?a.length-7:void 0),m=e[Al]||null,m=m!=null?m[a]:null,typeof m=="function"&&e.removeEventListener(t,m,f),typeof o=="function")){typeof m!="function"&&m!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,o,f);break e}a in e?e[a]=o:o===!0?e.setAttribute(a,""):sc(e,a,o)}}}function kn(e,t,a){switch(Tl(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ht("error",e),ht("load",e);var o=!1,f=!1,m;for(m in a)if(a.hasOwnProperty(m)){var v=a[m];if(v!=null)switch(m){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Wt(e,t,m,v,a,null)}}f&&Wt(e,t,"srcSet",a.srcSet,a,null),o&&Wt(e,t,"src",a.src,a,null);return;case"input":nl("input",a),ht("invalid",e);var S=m=v=f=null,T=null,D=null;for(o in a)if(a.hasOwnProperty(o)){var X=a[o];if(X!=null)switch(o){case"name":f=X;break;case"type":v=X;break;case"checked":T=X;break;case"defaultChecked":D=X;break;case"value":m=X;break;case"defaultValue":S=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Wt(e,t,o,X,a,null)}}dl(e,a),lh(e,m,S,T,D,v,f,!1);return;case"select":nl("select",a),ht("invalid",e),o=v=m=null;for(f in a)if(a.hasOwnProperty(f)&&(S=a[f],S!=null))switch(f){case"value":m=S;break;case"defaultValue":v=S;break;case"multiple":o=S;default:Wt(e,t,f,S,a,null)}rh(e,a),t=m,a=v,e.multiple=!!o,t!=null?Ei(e,!!o,t,!1):a!=null&&Ei(e,!!o,a,!0);return;case"textarea":nl("textarea",a),ht("invalid",e),m=f=o=null;for(v in a)if(a.hasOwnProperty(v)&&(S=a[v],S!=null))switch(v){case"value":o=S;break;case"defaultValue":f=S;break;case"children":m=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Wt(e,t,v,S,a,null)}Xu(e,a),cc(e,o,f,m);return;case"option":Xb(e,a);for(T in a)if(a.hasOwnProperty(T)&&(o=a[T],o!=null))switch(T){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Wt(e,t,T,o,a,null)}return;case"dialog":ht("beforetoggle",e),ht("toggle",e),ht("cancel",e),ht("close",e);break;case"iframe":case"object":ht("load",e);break;case"video":case"audio":for(o=0;o<kv.length;o++)ht(kv[o],e);break;case"image":ht("error",e),ht("load",e);break;case"details":ht("toggle",e);break;case"embed":case"source":case"link":ht("error",e),ht("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in a)if(a.hasOwnProperty(D)&&(o=a[D],o!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Wt(e,t,D,o,a,null)}return;default:if(_i(t)){for(X in a)a.hasOwnProperty(X)&&(o=a[X],o!==void 0&&Kc(e,t,X,o,a,void 0));return}}for(S in a)a.hasOwnProperty(S)&&(o=a[S],o!=null&&Wt(e,t,S,o,a,null))}function xa(e,t,a,o){switch(Tl(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,m=null,v=null,S=null,T=null,D=null,X=null;for(oe in a){var K=a[oe];if(a.hasOwnProperty(oe)&&K!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":T=K;default:o.hasOwnProperty(oe)||Wt(e,t,oe,null,o,K)}}for(var L in o){var oe=o[L];if(K=a[L],o.hasOwnProperty(L)&&(oe!=null||K!=null))switch(L){case"type":m=oe;break;case"name":f=oe;break;case"checked":D=oe;break;case"defaultChecked":X=oe;break;case"value":v=oe;break;case"defaultValue":S=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:oe!==K&&Wt(e,t,L,oe,o,K)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||KA||(console.error("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://react.dev/link/controlled-components"),KA=!0),!t||o||JA||(console.error("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://react.dev/link/controlled-components"),JA=!0),Po(e,v,S,T,D,X,m,f);return;case"select":oe=v=S=L=null;for(m in a)if(T=a[m],a.hasOwnProperty(m)&&T!=null)switch(m){case"value":break;case"multiple":oe=T;default:o.hasOwnProperty(m)||Wt(e,t,m,null,o,T)}for(f in o)if(m=o[f],T=a[f],o.hasOwnProperty(f)&&(m!=null||T!=null))switch(f){case"value":L=m;break;case"defaultValue":S=m;break;case"multiple":v=m;default:m!==T&&Wt(e,t,f,m,o,T)}o=S,t=v,a=oe,L!=null?Ei(e,!!t,L,!1):!!a!=!!t&&(o!=null?Ei(e,!!t,o,!0):Ei(e,!!t,t?[]:"",!1));return;case"textarea":oe=L=null;for(S in a)if(f=a[S],a.hasOwnProperty(S)&&f!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Wt(e,t,S,null,o,f)}for(v in o)if(f=o[v],m=a[v],o.hasOwnProperty(v)&&(f!=null||m!=null))switch(v){case"value":L=f;break;case"defaultValue":oe=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:f!==m&&Wt(e,t,v,f,o,m)}Qu(e,L,oe);return;case"option":for(var He in a)if(L=a[He],a.hasOwnProperty(He)&&L!=null&&!o.hasOwnProperty(He))switch(He){case"selected":e.selected=!1;break;default:Wt(e,t,He,null,o,L)}for(T in o)if(L=o[T],oe=a[T],o.hasOwnProperty(T)&&L!==oe&&(L!=null||oe!=null))switch(T){case"selected":e.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Wt(e,t,T,L,o,oe)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Xe in a)L=a[Xe],a.hasOwnProperty(Xe)&&L!=null&&!o.hasOwnProperty(Xe)&&Wt(e,t,Xe,null,o,L);for(D in o)if(L=o[D],oe=a[D],o.hasOwnProperty(D)&&L!==oe&&(L!=null||oe!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Wt(e,t,D,L,o,oe)}return;default:if(_i(t)){for(var Un in a)L=a[Un],a.hasOwnProperty(Un)&&L!==void 0&&!o.hasOwnProperty(Un)&&Kc(e,t,Un,void 0,o,L);for(X in o)L=o[X],oe=a[X],!o.hasOwnProperty(X)||L===oe||L===void 0&&oe===void 0||Kc(e,t,X,L,o,oe);return}}for(var Zt in a)L=a[Zt],a.hasOwnProperty(Zt)&&L!=null&&!o.hasOwnProperty(Zt)&&Wt(e,t,Zt,null,o,L);for(K in o)L=o[K],oe=a[K],!o.hasOwnProperty(K)||L===oe||L==null&&oe==null||Wt(e,t,K,L,o,oe)}function zo(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Nu(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var o=e[a];t[o]=e.getPropertyValue(o)}return t}function Zi(e,t,a){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,f=o="",m;for(m in t)if(t.hasOwnProperty(m)){var v=t[m];v!=null&&typeof v!="boolean"&&v!==""&&(m.indexOf("--")===0?(va(v,m),o+=f+m+":"+(""+v).trim()):typeof v!="number"||v===0||nt.has(m)?(va(v,m),o+=f+m.replace(me,"-$1").toLowerCase().replace(Ie,"-ms-")+":"+(""+v).trim()):o+=f+m.replace(me,"-$1").toLowerCase().replace(Ie,"-ms-")+":"+v+"px",f=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=li(o),li(t)!==o&&(a.style=Nu(e)))}}function Bl(e,t,a,o,f,m){if(f.delete(a),e=e.getAttribute(a),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(Gt(o,t),e===""+o)return}Zn(t,e,o,m)}function vp(e,t,a,o,f,m){if(f.delete(a),e=e.getAttribute(a),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}Zn(t,e,o,m)}function bp(e,t,a,o,f,m){if(f.delete(a),e=e.getAttribute(a),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(Gt(o,a),e===""+o)return}Zn(t,e,o,m)}function Fc(e,t,a,o,f,m){if(f.delete(a),e=e.getAttribute(a),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(Gt(o,t),e===""+o))return}Zn(t,e,o,m)}function Kd(e,t,a,o,f,m){if(f.delete(a),e=e.getAttribute(a),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(Gt(o,t),a=nd(""+o),e===a)return}Zn(t,e,o,m)}function kl(e,t,a,o){for(var f={},m=new Set,v=e.attributes,S=0;S<v.length;S++)switch(v[S].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:m.add(v[S].name)}if(_i(t)){for(var T in a)if(a.hasOwnProperty(T)){var D=a[T];if(D!=null){if(Ii.hasOwnProperty(T))typeof D!="function"&&Xn(T,D);else if(a.suppressHydrationWarning!==!0)switch(T){case"children":typeof D!="string"&&typeof D!="number"||Zn("children",e.textContent,D,f);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":v=e.innerHTML,D=D?D.__html:void 0,D!=null&&(D=gp(e,D),Zn(T,v,D,f));continue;case"style":m.delete(T),Zi(e,D,f);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":m.delete(T.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",T);continue;case"className":m.delete("class"),v=Io(e,"class",D),Zn("className",v,D,f);continue;default:o.context===Is&&t!=="svg"&&t!=="math"?m.delete(T.toLowerCase()):m.delete(T),v=Io(e,T,D),Zn(T,v,D,f)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(T=a[D],T!=null)){if(Ii.hasOwnProperty(D))typeof T!="function"&&Xn(D,T);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof T!="string"&&typeof T!="number"||Zn("children",e.textContent,T,f);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":v=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=gp(e,T),v!==T&&(f[D]={__html:v}));continue;case"className":Bl(e,D,"class",T,m,f);continue;case"tabIndex":Bl(e,D,"tabindex",T,m,f);continue;case"style":m.delete(D),Zi(e,T,f);continue;case"multiple":m.delete(D),Zn(D,e.multiple,T,f);continue;case"muted":m.delete(D),Zn(D,e.muted,T,f);continue;case"autoFocus":m.delete("autofocus"),Zn(D,e.autofocus,T,f);continue;case"data":if(t!=="object"){m.delete(D),v=e.getAttribute("data"),Zn(D,v,T,f);continue}case"src":case"href":if(!(T!==""||t==="a"&&D==="href"||t==="object"&&D==="data")){console.error(D==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',D,D);continue}Kd(e,D,D,T,m,f);continue;case"action":case"formAction":if(v=e.getAttribute(D),typeof T=="function"){m.delete(D.toLowerCase()),D==="formAction"?(m.delete("name"),m.delete("formenctype"),m.delete("formmethod"),m.delete("formtarget")):(m.delete("enctype"),m.delete("method"),m.delete("target"));continue}else if(v===t6){m.delete(D.toLowerCase()),Zn(D,"function",T,f);continue}Kd(e,D,D.toLowerCase(),T,m,f);continue;case"xlinkHref":Kd(e,D,"xlink:href",T,m,f);continue;case"contentEditable":bp(e,D,"contenteditable",T,m,f);continue;case"spellCheck":bp(e,D,"spellcheck",T,m,f);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":bp(e,D,D,T,m,f);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":vp(e,D,D.toLowerCase(),T,m,f);continue;case"capture":case"download":e:{S=e;var X=v=D,K=f;if(m.delete(X),S=S.getAttribute(X),S===null)switch(typeof T){case"undefined":case"function":case"symbol":break e;default:if(T===!1)break e}else if(T!=null)switch(typeof T){case"function":case"symbol":break;case"boolean":if(T===!0&&S==="")break e;break;default:if(Gt(T,v),S===""+T)break e}Zn(v,S,T,K)}continue;case"cols":case"rows":case"size":case"span":e:{if(S=e,X=v=D,K=f,m.delete(X),S=S.getAttribute(X),S===null)switch(typeof T){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(T)||1>T)break e}else if(T!=null)switch(typeof T){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(T)||1>T)&&(Gt(T,v),S===""+T))break e}Zn(v,S,T,K)}continue;case"rowSpan":Fc(e,D,"rowspan",T,m,f);continue;case"start":Fc(e,D,D,T,m,f);continue;case"xHeight":Bl(e,D,"x-height",T,m,f);continue;case"xlinkActuate":Bl(e,D,"xlink:actuate",T,m,f);continue;case"xlinkArcrole":Bl(e,D,"xlink:arcrole",T,m,f);continue;case"xlinkRole":Bl(e,D,"xlink:role",T,m,f);continue;case"xlinkShow":Bl(e,D,"xlink:show",T,m,f);continue;case"xlinkTitle":Bl(e,D,"xlink:title",T,m,f);continue;case"xlinkType":Bl(e,D,"xlink:type",T,m,f);continue;case"xmlBase":Bl(e,D,"xml:base",T,m,f);continue;case"xmlLang":Bl(e,D,"xml:lang",T,m,f);continue;case"xmlSpace":Bl(e,D,"xml:space",T,m,f);continue;case"inert":T!==""||lE[D]||(lE[D]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",D)),vp(e,D,D,T,m,f);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){S=Qb(D),v=!1,o.context===Is&&t!=="svg"&&t!=="math"?m.delete(S.toLowerCase()):(X=D.toLowerCase(),X=ui.hasOwnProperty(X)&&ui[X]||null,X!==null&&X!==D&&(v=!0,m.delete(X)),m.delete(S));e:if(X=e,K=S,S=T,gr(K))if(X.hasAttribute(K))X=X.getAttribute(K),Gt(S,K),S=X===""+S?S:X;else{switch(typeof S){case"function":case"symbol":break e;case"boolean":if(X=K.toLowerCase().slice(0,5),X!=="data-"&&X!=="aria-")break e}S=S===void 0?void 0:null}else S=void 0;v||Zn(D,S,T,f)}}}return 0<m.size&&a.suppressHydrationWarning!==!0&&Jd(e,m,f),Object.keys(f).length===0?null:f}function z1(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Cl(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function j1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var f=a[o],m=f.transferSize,v=f.initiatorType,S=f.duration;if(m&&S&&Cl(v)){for(v=0,S=f.responseEnd,o+=1;o<a.length;o++){var T=a[o],D=T.startTime;if(D>S)break;var X=T.transferSize,K=T.initiatorType;X&&Cl(K)&&(T=T.responseEnd,v+=X*(T<S?1:(S-D)/(T-D)))}if(--o,t+=8*(m+v)/(f.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Fd(e){return e.nodeType===9?e:e.ownerDocument}function U1(e){switch(e){case Dt:return by;case xt:return iE;default:return Is}}function jo(e,t){if(e===Is)switch(t){case"svg":return by;case"math":return iE;default:return Is}return e===by&&t==="foreignObject"?Is:e}function Ic(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function C0(){var e=window.event;return e&&e.type==="popstate"?e===Q_?!1:(Q_=e,!0):(Q_=null,!1)}function Xi(){var e=window.event;return e&&e!==qv?e.type:null}function Pc(){var e=window.event;return e&&e!==qv?e.timeStamp:-1.1}function V1(e){setTimeout(function(){throw e})}function B1(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function k1(){}function Sp(e,t,a,o){xa(e,t,a,o),e[Al]=o}function Ep(e){Fu(e,"")}function Vx(e,t,a){e.nodeValue=a}function H1(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Al]||null;if(t!==null){var a=Ve(e);a!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,Me(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,Me(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Au(e){return e==="head"}function L1(e,t){e.removeChild(t)}function q1(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Ds(e,t){var a=t,o=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a===Lv||a===rE){if(o===0){e.removeChild(f),Ms(t);return}o--}else if(a===Hv||a===Vf||a===zm||a===vy||a===Mm)o++;else if(a===a6)Vo(e.ownerDocument.documentElement);else if(a===r6){a=e.ownerDocument.head,Vo(a);for(var m=a.firstChild;m;){var v=m.nextSibling,S=m.nodeName;m[pf]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&m.rel.toLowerCase()==="stylesheet"||a.removeChild(m),m=v}}else a===l6&&Vo(e.ownerDocument.body);a=f}while(a);Ms(t)}function Id(e,t){var a=e;e=0;do{var o=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a===Lv){if(e===0)break;e--}else a!==Hv&&a!==Vf&&a!==zm&&a!==vy||e++;a=o}while(a)}function Y1(e){Id(e,!0)}function G1(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function $1(e){e.nodeValue=""}function Z1(e){Id(e,!1)}function X1(e,t){t=t[i6],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Q1(e,t){e.nodeValue=t}function Wc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Wc(a),I(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function J1(e,t,a,o){for(;e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[pf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(m=e.getAttribute("rel"),m==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(m!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(m=e.getAttribute("src"),(m!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&m&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Gt(f.name,"name");var m=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===m)return e}else return e;if(e=rr(e.nextSibling),e===null)break}return null}function K1(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=rr(e.nextSibling),e===null))return null;return e}function un(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=rr(e.nextSibling),e===null))return null;return e}function Pd(e){return e.data===Vf||e.data===zm}function N0(e){return e.data===vy||e.data===Vf&&e.ownerDocument.readyState!==WA}function F1(e,t){var a=e.ownerDocument;if(e.data===zm)e._reactRetry=t;else if(e.data!==Vf||a.readyState!==WA)t();else{var o=function(){t(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function rr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Hv||t===vy||t===Vf||t===zm||t===Mm||t===$_||t===PA)break;if(t===Lv||t===rE)return null}}return e}function I1(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},o=e.attributes,f=0;f<o.length;f++){var m=o[f];a[zo(m.name)]=m.name.toLowerCase()==="style"?Nu(e):m.value}return{type:t,props:a}}return e.nodeType===8?e.data===Mm?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function P1(e,t,a){return a===null||a[n6]!==!0?(e.nodeValue===t?e=null:(t=li(t),e=li(e.nodeValue)===t?null:e.nodeValue),e):null}function ef(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===Lv||a===rE){if(t===0)return rr(e.nextSibling);t--}else a!==Hv&&a!==vy&&a!==Vf&&a!==zm&&a!==Mm||t++}e=e.nextSibling}return null}function Rs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===Hv||a===vy||a===Vf||a===zm||a===Mm){if(t===0)return e;t--}else a!==Lv&&a!==rE||t++}e=e.previousSibling}return null}function A0(e){Ms(e)}function xp(e){Ms(e)}function D0(e){Ms(e)}function Uo(e,t,a,o,f){switch(f&&ed(e,o.ancestorInfo),t=Fd(a),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Qi(e,t,a,o){if(!a[ko]&&Ve(a)){var f=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",f,f,f)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(f=a.attributes;f.length;)a.removeAttributeNode(f[0]);kn(a,e,t),a[Hn]=o,a[Al]=t}function Vo(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);I(e)}function _p(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function R0(e,t,a){var o=Sy;if(o&&typeof t=="string"&&t){var f=pn(t);f='link[rel="'+e+'"][href="'+f+'"]',typeof a=="string"&&(f+='[crossorigin="'+a+'"]'),rD.has(f)||(rD.add(f),e={rel:e,crossOrigin:a,href:t},o.querySelector(f)===null&&(t=o.createElement("link"),kn(t,"link",e),tt(t),o.head.appendChild(t)))}}function O0(e,t,a,o){var f=(f=ir.current)?_p(f):null;if(!f)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Os(a.href),t=dt(f).hoistableStyles,o=t.get(a),o||(o={type:"style",instance:null,count:0,state:null},t.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Os(a.href);var m=dt(f).hoistableStyles,v=m.get(e);if(!v&&(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:Um,preload:null}},m.set(e,v),(m=f.querySelector(em(e)))&&!m._p&&(v.instance=m,v.state.loading=Yv|uo),!so.has(e))){var S={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};so.set(e,S),m||W1(f,e,S,v.state)}if(t&&o===null)throw a=`
270
-
271
- - `+Wd(t)+`
272
- + `+Wd(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return v}if(t&&o!==null)throw a=`
273
-
274
- - `+Wd(t)+`
275
- + `+Wd(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=ws(a),t=dt(f).hoistableScripts,o=t.get(a),o||(o={type:"script",instance:null,count:0,state:null},t.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Wd(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):or.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):or.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):or.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function Os(e){return'href="'+pn(e)+'"'}function em(e){return'link[rel="stylesheet"]['+e+"]"}function Tp(e){return Ot({},e,{"data-precedence":e.precedence,precedence:null})}function W1(e,t,a,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=Yv:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=Yv}),t.addEventListener("error",function(){return o.loading|=aD}),kn(t,"link",a),tt(t),e.head.appendChild(t))}function ws(e){return'[src="'+pn(e)+'"]'}function tm(e){return"script[async]"+e}function Cp(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+pn(a.href)+'"]');if(o)return t.instance=o,tt(o),o;var f=Ot({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),tt(o),kn(o,"style",f),tf(o,a.precedence,e),t.instance=o;case"stylesheet":f=Os(a.href);var m=e.querySelector(em(f));if(m)return t.state.loading|=uo,t.instance=m,tt(m),m;o=Tp(a),(f=so.get(f))&&w0(o,f),m=(e.ownerDocument||e).createElement("link"),tt(m);var v=m;return v._p=new Promise(function(S,T){v.onload=S,v.onerror=T}),kn(m,"link",o),t.state.loading|=uo,tf(m,a.precedence,e),t.instance=m;case"script":return m=ws(a.src),(f=e.querySelector(tm(m)))?(t.instance=f,tt(f),f):(o=a,(f=so.get(m))&&(o=Ot({},a),M0(o,f)),e=e.ownerDocument||e,f=e.createElement("script"),tt(f),kn(f,"link",o),e.head.appendChild(f),t.instance=f);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&uo)===Um&&(o=t.instance,t.state.loading|=uo,tf(o,a.precedence,e));return t.instance}function tf(e,t,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,m=f,v=0;v<o.length;v++){var S=o[v];if(S.dataset.precedence===t)m=S;else if(m!==f)break}m?m.parentNode.insertBefore(e,m.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function w0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function M0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function nf(e,t,a){if(oE===null){var o=new Map,f=oE=new Map;f.set(a,o)}else f=oE,o=f.get(a),o||(o=new Map,f.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),f=0;f<a.length;f++){var m=a[f];if(!(m[pf]||m[Hn]||e==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!==Dt){var v=m.getAttribute(t)||"";v=e+v;var S=o.get(v);S?S.push(m):o.set(v,[m])}}return o}function eS(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function tS(e,t,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===by||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var f=t.onError,m=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),f&&a.push("`onError`"),m!=null&&a.push("`disabled`"),f=z1(a,"and"),f+=a.length===1?" prop":" props",m=a.length===1?"an "+f:"the "+f,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,m,f)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Bt(e){return!(e.type==="stylesheet"&&(e.state.loading&lD)===Um)}function z0(e,t,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&uo)===Um){if(a.instance===null){var f=Os(o.href),m=t.querySelector(em(f));if(m){t=m._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=af.bind(e),t.then(e,e)),a.state.loading|=uo,a.instance=m,tt(m);return}m=t.ownerDocument||t,o=Tp(o),(f=so.get(f))&&w0(o,f),m=m.createElement("link"),tt(m);var v=m;v._p=new Promise(function(S,T){v.onload=S,v.onerror=T}),kn(m,"link",o),a.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&lD)===Um&&(e.count++,a=af.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}function Np(e,t){return e.stylesheets&&e.count===0&&nm(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&nm(e,e.stylesheets),e.unsuspend){var m=e.unsuspend;e.unsuspend=null,m()}},s6+t);0<e.imgBytes&&K_===0&&(K_=125*j1()*f6);var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&nm(e,e.stylesheets),e.unsuspend)){var m=e.unsuspend;e.unsuspend=null,m()}},(e.imgBytes>K_?50:c6)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(f)}}:null}function af(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nm(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function nm(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,uE=new Map,t.forEach(j0,e),uE=null,af.call(e))}function j0(e,t){if(!(t.state.loading&uo)){var a=uE.get(e);if(a)var o=a.get(F_);else{a=new Map,uE.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<f.length;m++){var v=f[m];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(a.set(v.dataset.precedence,v),o=v)}o&&a.set(F_,o)}f=t.instance,v=f.getAttribute("data-precedence"),m=a.get(v)||o,m===o&&a.set(F_,f),a.set(v,f),this.count++,o=af.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),m?m.parentNode.insertBefore(f,m.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),t.state.loading|=uo}}function am(e,t,a,o,f,m,v,S,T){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=jm,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ke(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ke(0),this.hiddenUpdates=ke(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=m,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function lm(e,t,a,o,f,m,v,S,T,D,X,K){return e=new am(e,t,a,v,T,D,X,K,S),t=UM,m===!0&&(t|=ql|Ho),t|=wt,m=R(3,null,null,t),e.current=m,m.stateNode=e,t=Ch(),is(t),e.pooledCache=t,is(t),m.memoizedState={element:o,isDehydrated:a,cache:t},kt(m),e}function nS(e){return e?(e=Ef,e):Ef}function Ap(e,t,a,o,f,m){if(_a&&typeof _a.onScheduleFiberRoot=="function")try{_a.onScheduleFiberRoot(Vs,o,a)}catch(v){Ki||(Ki=!0,console.error("React instrumentation encountered an error: %o",v))}f=nS(f),o.context===null?o.context=f:o.pendingContext=f,Ji&&Ll!==null&&!sD&&(sD=!0,console.error(`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.
276
-
277
- Check the render method of %s.`,we(Ll)||"Unknown")),o=Sa(t),o.payload={element:a},m=m===void 0?null:m,m!==null&&(typeof m!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",m),o.callback=m),a=Oi(e,o,t),a!==null&&(Ai(t,"root.render()",null),yt(a,e,t),Cr(a,e,t))}function aS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function U0(e,t){aS(e,t),(e=e.alternate)&&aS(e,t)}function V0(e){if(e.tag===13||e.tag===31){var t=al(e,67108864);t!==null&&yt(t,e,67108864),U0(e,67108864)}}function B0(e){if(e.tag===13||e.tag===31){var t=rl(e);t=_n(t);var a=al(e,t);a!==null&&yt(a,e,t),U0(e,t)}}function vn(){return Ll}function k0(e,t,a,o){var f=de.T;de.T=null;var m=en.p;try{en.p=Ta,H0(e,t,a,o)}finally{en.p=m,de.T=f}}function Ia(e,t,a,o){var f=de.T;de.T=null;var m=en.p;try{en.p=Wa,H0(e,t,a,o)}finally{en.p=m,de.T=f}}function H0(e,t,a,o){if(cE){var f=Dp(o);if(f===null)ni(e,t,o,fE,a),Op(e,o);else if(lS(f,e,t,a,o))o.stopPropagation();else if(Op(e,o),t&4&&-1<m6.indexOf(e)){for(;f!==null;){var m=Ve(f);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var v=Y(m.pendingLanes);if(v!==0){var S=m;for(S.pendingLanes|=2,S.entangledLanes|=2;v;){var T=1<<31-Pa(v);S.entanglements[1]|=T,v&=~T}Vl(m),(Jt&(tl|di))===cl&&(QS=La()+BA,Gi(0))}}break;case 31:case 13:S=al(m,2),S!==null&&yt(S,m,2),lr(),U0(m,2)}if(m=Dp(o),m===null&&ni(e,t,o,fE,a),m===f)break;f=m}f!==null&&o.stopPropagation()}else ni(e,t,o,null,a)}}function Dp(e){return e=Lr(e),L0(e)}function L0(e){if(fE=null,e=Oe(e),e!==null){var t=fe(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=ge(t),e!==null)return e;e=null}else if(a===31){if(e=De(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return fE=e,null}function Rp(e){switch(e){case"beforetoggle":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"toggle":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 Ta;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Wa;case"message":switch(cm()){case F0:return Ta;case Hp:return Wa;case Us:case cS:return ol;case Lp:return Mu;default:return ol}default:return ol}}function Op(e,t){switch(e){case"focusin":case"focusout":Bf=null;break;case"dragenter":case"dragleave":kf=null;break;case"mouseover":case"mouseout":Hf=null;break;case"pointerover":case"pointerout":$v.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zv.delete(t.pointerId)}}function Du(e,t,a,o,f,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:a,eventSystemFlags:o,nativeEvent:m,targetContainers:[f]},t!==null&&(t=Ve(t),t!==null&&V0(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,f!==null&&t.indexOf(f)===-1&&t.push(f),e)}function lS(e,t,a,o,f){switch(t){case"focusin":return Bf=Du(Bf,e,t,a,o,f),!0;case"dragenter":return kf=Du(kf,e,t,a,o,f),!0;case"mouseover":return Hf=Du(Hf,e,t,a,o,f),!0;case"pointerover":var m=f.pointerId;return $v.set(m,Du($v.get(m)||null,e,t,a,o,f)),!0;case"gotpointercapture":return m=f.pointerId,Zv.set(m,Du(Zv.get(m)||null,e,t,a,o,f)),!0}return!1}function q0(e){var t=Oe(e.target);if(t!==null){var a=fe(t);if(a!==null){if(t=a.tag,t===13){if(t=ge(a),t!==null){e.blockedOn=t,O(e.priority,function(){B0(a)});return}}else if(t===31){if(t=De(a),t!==null){e.blockedOn=t,O(e.priority,function(){B0(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function lf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Dp(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a),f=o;tv!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),tv=f,a.target.dispatchEvent(o),tv===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),tv=null}else return t=Ve(a),t!==null&&V0(t),e.blockedOn=a,!1;t.shift()}return!0}function wp(e,t,a){lf(e)&&a.delete(t)}function Bx(){I_=!1,Bf!==null&&lf(Bf)&&(Bf=null),kf!==null&&lf(kf)&&(kf=null),Hf!==null&&lf(Hf)&&(Hf=null),$v.forEach(wp),Zv.forEach(wp)}function rm(e,t){e.blockedOn===t&&(e.blockedOn=null,I_||(I_=!0,ua.unstable_scheduleCallback(ua.unstable_NormalPriority,Bx)))}function rS(e){dE!==e&&(dE=e,ua.unstable_scheduleCallback(ua.unstable_NormalPriority,function(){dE===e&&(dE=null);for(var t=0;t<e.length;t+=3){var a=e[t],o=e[t+1],f=e[t+2];if(typeof o!="function"){if(L0(o||a)===null)continue;break}var m=Ve(a);m!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:f,method:a.method,action:o},Object.freeze(a),Do(m,a,o,f))}}))}function Ms(e){function t(T){return rm(T,e)}Bf!==null&&rm(Bf,e),kf!==null&&rm(kf,e),Hf!==null&&rm(Hf,e),$v.forEach(t),Zv.forEach(t);for(var a=0;a<Lf.length;a++){var o=Lf[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Lf.length&&(a=Lf[0],a.blockedOn===null);)q0(a),a.blockedOn===null&&Lf.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var f=a[o],m=a[o+1],v=f[Al]||null;if(typeof m=="function")v||rS(a);else if(v){var S=null;if(m&&m.hasAttribute("formAction")){if(f=m,v=m[Al]||null)S=v.formAction;else if(L0(f)!==null)continue}else S=v.action;typeof S=="function"?a[o+1]=S:(a.splice(o,3),o-=3),rS(a)}}}function iS(){function e(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(v){return f=v})},focusReset:"manual",scroll:"manual"})}function t(){f!==null&&(f(),f=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),f!==null&&(f(),f=null)}}}function Y0(e){this._internalRoot=e}function ri(e){this._internalRoot=e}function G0(e){e[ko]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("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."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ua=u2(),im=qf(),kx=d2(),Ot=Object.assign,oS=Symbol.for("react.element"),Rr=Symbol.for("react.transitional.element"),Ru=Symbol.for("react.portal"),rf=Symbol.for("react.fragment"),Nl=Symbol.for("react.strict_mode"),om=Symbol.for("react.profiler"),Mp=Symbol.for("react.consumer"),ii=Symbol.for("react.context"),of=Symbol.for("react.forward_ref"),zs=Symbol.for("react.suspense"),Hl=Symbol.for("react.suspense_list"),um=Symbol.for("react.memo"),il=Symbol.for("react.lazy"),oi=Symbol.for("react.activity"),Hx=Symbol.for("react.memo_cache_sentinel"),uS=Symbol.iterator,uf=Symbol.for("react.client.reference"),ha=Array.isArray,de=im.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,en=kx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lx=Object.freeze({pending:!1,data:null,method:null,action:null}),$0=[],Z0=[],Bo=-1,Ou=$e(null),sf=$e(null),ir=$e(null),wu=$e(null),cf=0,sS,js,ff,X0,sm,zp,jp;se.__reactDisabledLog=!0;var df,Q0,Up=!1,J0=new(typeof WeakMap=="function"?WeakMap:Map),Ll=null,Ji=!1,or=Object.prototype.hasOwnProperty,K0=ua.unstable_scheduleCallback,Vp=ua.unstable_cancelCallback,Bp=ua.unstable_shouldYield,kp=ua.unstable_requestPaint,La=ua.unstable_now,cm=ua.unstable_getCurrentPriorityLevel,F0=ua.unstable_ImmediatePriority,Hp=ua.unstable_UserBlockingPriority,Us=ua.unstable_NormalPriority,cS=ua.unstable_LowPriority,Lp=ua.unstable_IdlePriority,I0=ua.log,fS=ua.unstable_setDisableYieldValue,Vs=null,_a=null,Ki=!1,Fi=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Pa=Math.clz32?Math.clz32:kr,P0=Math.log,qp=Math.LN2,mf=256,fm=262144,hf=4194304,Ta=2,Wa=8,ol=32,Mu=268435456,Or=Math.random().toString(36).slice(2),Hn="__reactFiber$"+Or,Al="__reactProps$"+Or,ko="__reactContainer$"+Or,Bs="__reactEvents$"+Or,qx="__reactListeners$"+Or,dS="__reactHandles$"+Or,dm="__reactResources$"+Or,pf="__reactMarker$"+Or,mS=new Set,Ii={},yf={},hS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gf=RegExp("^[: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]*$"),W0={},Yp={},Gp=/[\n"\\]/g,ev=!1,pS=!1,mm=!1,n=!1,l=!1,i=!1,c=["value","defaultValue"],p=!1,g=/["'&<>\n\t]|^\s|\s$/,x="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".split(" "),w="applet caption html table td th marquee object template foreignObject desc title".split(" "),G=w.concat(["button"]),re="dd dt li option optgroup p rp rt".split(" "),ve={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Ce={},ie={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),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".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),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".split(" "),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"]},me=/([A-Z])/g,Ie=/^ms-/,ft=/^(?:webkit|moz|o)[A-Z]/,bn=/^-ms-/,P=/-(.)/g,J=/;\s*$/,ae={},_e={},ot=!1,Qt=!1,nt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),xt="http://www.w3.org/1998/Math/MathML",Dt="http://www.w3.org/2000/svg",Ft=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ui={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},yS={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},$p={},Q4=RegExp("^(aria)-[: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]*$"),J4=RegExp("^(aria)[A-Z][: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]*$"),fN=!1,ur={},dN=/^on./,K4=/^on[^A-Z]/,F4=RegExp("^(aria)-[: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]*$"),I4=RegExp("^(aria)[A-Z][: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]*$"),P4=/^[\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,tv=null,Zp=null,Xp=null,Yx=!1,zu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gx=!1;if(zu)try{var nv={};Object.defineProperty(nv,"passive",{get:function(){Gx=!0}}),window.addEventListener("test",nv,nv),window.removeEventListener("test",nv,nv)}catch{Gx=!1}var vf=null,$x=null,gS=null,hm={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vS=za(hm),av=Ot({},hm,{view:0,detail:0}),W4=za(av),Zx,Xx,lv,bS=Ot({},av,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ld,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:(e!==lv&&(lv&&e.type==="mousemove"?(Zx=e.screenX-lv.screenX,Xx=e.screenY-lv.screenY):Xx=Zx=0,lv=e),Zx)},movementY:function(e){return"movementY"in e?e.movementY:Xx}}),mN=za(bS),eM=Ot({},bS,{dataTransfer:0}),tM=za(eM),nM=Ot({},av,{relatedTarget:0}),Qx=za(nM),aM=Ot({},hm,{animationName:0,elapsedTime:0,pseudoElement:0}),lM=za(aM),rM=Ot({},hm,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),iM=za(rM),oM=Ot({},hm,{data:0}),hN=za(oM),uM=hN,sM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cM={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"},fM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},dM=Ot({},av,{key:function(e){if(e.key){var t=sM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ad(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?cM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ld,charCode:function(e){return e.type==="keypress"?ad(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ad(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),mM=za(dM),hM=Ot({},bS,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pN=za(hM),pM=Ot({},av,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ld}),yM=za(pM),gM=Ot({},hm,{propertyName:0,elapsedTime:0,pseudoElement:0}),vM=za(gM),bM=Ot({},bS,{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}),SM=za(bM),EM=Ot({},hm,{newState:0,oldState:0}),xM=za(EM),_M=[9,13,27,32],yN=229,Jx=zu&&"CompositionEvent"in window,rv=null;zu&&"documentMode"in document&&(rv=document.documentMode);var TM=zu&&"TextEvent"in window&&!rv,gN=zu&&(!Jx||rv&&8<rv&&11>=rv),vN=32,bN=String.fromCharCode(vN),SN=!1,Qp=!1,CM={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},iv=null,ov=null,EN=!1;zu&&(EN=hh("input")&&(!document.documentMode||9<document.documentMode));var sr=typeof Object.is=="function"?Object.is:ph,NM=zu&&"documentMode"in document&&11>=document.documentMode,Jp=null,Kx=null,uv=null,Fx=!1,Kp={animationend:Pu("Animation","AnimationEnd"),animationiteration:Pu("Animation","AnimationIteration"),animationstart:Pu("Animation","AnimationStart"),transitionrun:Pu("Transition","TransitionRun"),transitionstart:Pu("Transition","TransitionStart"),transitioncancel:Pu("Transition","TransitionCancel"),transitionend:Pu("Transition","TransitionEnd")},Ix={},xN={};zu&&(xN=document.createElement("div").style,"AnimationEvent"in window||(delete Kp.animationend.animation,delete Kp.animationiteration.animation,delete Kp.animationstart.animation),"TransitionEvent"in window||delete Kp.transitionend.transition);var _N=Wu("animationend"),TN=Wu("animationiteration"),CN=Wu("animationstart"),AM=Wu("transitionrun"),DM=Wu("transitionstart"),RM=Wu("transitioncancel"),NN=Wu("transitionend"),AN=new Map,Px="abort auxClick beforeToggle 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(" ");Px.push("scrollEnd");var DN=0;if(typeof performance=="object"&&typeof performance.now=="function")var OM=performance,RN=function(){return OM.now()};else{var wM=Date;RN=function(){return wM.now()}}var Wx=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},MM="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",SS=0,e_=1,t_=2,n_=3,ES="– ",xS="+ ",ON="  ",Ln=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Pi="Components ⚛",$t="Scheduler ⚛",Xt="Blocking",bf=!1,ks={color:"primary",properties:null,tooltipText:"",track:Pi},Sf={start:-0,end:-0,detail:{devtools:ks}},zM=["Changed Props",""],wN="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",jM=["Changed Props",wN],sv=1,Hs=2,Wi=[],Fp=0,a_=0,Ef={};Object.freeze(Ef);var eo=null,Ip=null,pt=0,UM=1,wt=2,ql=8,Ho=16,VM=32,MN=!1;try{var zN=Object.preventExtensions({})}catch{MN=!0}var l_=new WeakMap,Pp=[],Wp=0,_S=null,cv=0,to=[],no=0,pm=null,Ls=1,qs="",Dl=null,qn=null,Yt=!1,ju=!1,si=null,xf=null,ao=!1,r_=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),i_=$e(null),o_=$e(null),jN={},TS=null,ey=null,ty=!1,BM=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},kM=ua.unstable_scheduleCallback,HM=ua.unstable_NormalPriority,qa={$$typeof:ii,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ya=ua.unstable_now,CS=console.createTask?console.createTask:function(){return null},fv=1,NS=2,ul=-0,_f=-0,Ys=-0,Gs=null,cr=-1.1,ym=-0,ea=-0,st=-1.1,mt=-1.1,Qn=null,sa=!1,gm=-0,Uu=-1.1,dv=null,Tf=0,u_=null,s_=null,vm=-1.1,mv=null,ny=-1.1,AS=-1.1,$s=-0,Zs=-1.1,lo=-1.1,c_=0,hv=null,UN=null,VN=null,Cf=-1.1,bm=null,Nf=-1.1,DS=-1.1,BN=-0,kN=-0,RS=0,LM=null,HN=0,pv=-1.1,OS=!1,wS=!1,yv=null,f_=0,Sm=0,ay=null,LN=de.S;de.S=function(e,t){if(UA=La(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Zs&&0>lo){Zs=Ya();var a=Pc(),o=Xi();(a!==Nf||o!==bm)&&(Nf=-1.1),Cf=a,bm=o}Eo(e,t)}LN!==null&&LN(e,t)};var Em=$e(null),Lo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},gv=[],vv=[],bv=[],Sv=[],Ev=[],xv=[],xm=new Set;Lo.recordUnsafeLifecycleWarnings=function(e,t){xm.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&gv.push(e),e.mode&ql&&typeof t.UNSAFE_componentWillMount=="function"&&vv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&bv.push(e),e.mode&ql&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Sv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ev.push(e),e.mode&ql&&typeof t.UNSAFE_componentWillUpdate=="function"&&xv.push(e))},Lo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<gv.length&&(gv.forEach(function(S){e.add(we(S)||"Component"),xm.add(S.type)}),gv=[]);var t=new Set;0<vv.length&&(vv.forEach(function(S){t.add(we(S)||"Component"),xm.add(S.type)}),vv=[]);var a=new Set;0<bv.length&&(bv.forEach(function(S){a.add(we(S)||"Component"),xm.add(S.type)}),bv=[]);var o=new Set;0<Sv.length&&(Sv.forEach(function(S){o.add(we(S)||"Component"),xm.add(S.type)}),Sv=[]);var f=new Set;0<Ev.length&&(Ev.forEach(function(S){f.add(we(S)||"Component"),xm.add(S.type)}),Ev=[]);var m=new Set;if(0<xv.length&&(xv.forEach(function(S){m.add(we(S)||"Component"),xm.add(S.type)}),xv=[]),0<t.size){var v=A(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
278
-
279
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
280
-
281
- Please update the following components: %s`,v)}0<o.size&&(v=A(o),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
282
-
283
- * Move data fetching code or side effects to componentDidUpdate.
284
- * 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://react.dev/link/derived-state
285
-
286
- Please update the following components: %s`,v)),0<m.size&&(v=A(m),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
287
-
288
- * Move data fetching code or side effects to componentDidUpdate.
289
-
290
- Please update the following components: %s`,v)),0<e.size&&(v=A(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
291
-
292
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
293
- * 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.
294
-
295
- Please update the following components: %s`,v)),0<a.size&&(v=A(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
296
-
297
- * Move data fetching code or side effects to componentDidUpdate.
298
- * 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://react.dev/link/derived-state
299
- * 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.
300
-
301
- Please update the following components: %s`,v)),0<f.size&&(v=A(f),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
302
-
303
- * Move data fetching code or side effects to componentDidUpdate.
304
- * 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.
305
-
306
- Please update the following components: %s`,v))};var MS=new Map,qN=new Set;Lo.recordLegacyContextWarning=function(e,t){for(var a=null,o=e;o!==null;)o.mode&ql&&(a=o),o=o.return;a===null?console.error("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."):!qN.has(e.type)&&(o=MS.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],MS.set(a,o)),o.push(e))},Lo.flushLegacyContextWarning=function(){MS.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(f){a.add(we(f)||"Component"),qN.add(f.type)});var o=A(a);Me(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
307
-
308
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
309
-
310
- Please update the following components: %s
311
-
312
- Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Lo.discardPendingWarnings=function(){gv=[],vv=[],bv=[],Sv=[],Ev=[],xv=[],MS=new Map};var YN={react_stack_bottom_frame:function(e,t,a){var o=Ji;Ji=!0;try{return e(t,a)}finally{Ji=o}}},d_=YN.react_stack_bottom_frame.bind(YN),GN={react_stack_bottom_frame:function(e){var t=Ji;Ji=!0;try{return e.render()}finally{Ji=t}}},$N=GN.react_stack_bottom_frame.bind(GN),ZN={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){At(e,e.return,a)}}},m_=ZN.react_stack_bottom_frame.bind(ZN),XN={react_stack_bottom_frame:function(e,t,a,o,f){try{t.componentDidUpdate(a,o,f)}catch(m){At(e,e.return,m)}}},QN=XN.react_stack_bottom_frame.bind(XN),JN={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},qM=JN.react_stack_bottom_frame.bind(JN),KN={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(o){At(e,t,o)}}},FN=KN.react_stack_bottom_frame.bind(KN),IN={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},YM=IN.react_stack_bottom_frame.bind(IN),PN={react_stack_bottom_frame:function(e,t,a){try{a()}catch(o){At(e,t,o)}}},GM=PN.react_stack_bottom_frame.bind(PN),WN={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},$M=WN.react_stack_bottom_frame.bind(WN),ly=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),h_=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),zS=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),jS={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},_m=null,_v=!1,ry=null,Tv=0,Mt=null,p_,eA=p_=!1,tA={},nA={},aA={};U=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var o=we(e),f=o||"null";if(!tA[f]){tA[f]=!0,a=a._owner,e=e._debugOwner;var m="";e&&typeof e.tag=="number"&&(f=we(e))&&(m=`
313
-
314
- Check the render method of \``+f+"`."),m||o&&(m=`
315
-
316
- Check the top-level render call using <`+o+">.");var v="";a!=null&&e!==a&&(o=null,typeof a.tag=="number"?o=we(a):typeof a.name=="string"&&(o=a.name),o&&(v=" It was passed a child from "+o+".")),Me(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',m,v)})}}};var Tm=Ua(!0),lA=Ua(!1),rA=0,iA=1,oA=2,y_=3,Af=!1,uA=!1,g_=null,v_=!1,iy=$e(null),US=$e(0),ci=$e(null),ro=null,oy=1,Cv=2,Ca=$e(0),VS=0,io=1,fr=2,fi=4,dr=8,uy,sA=new Set,cA=new Set,b_=new Set,fA=new Set,Xs=0,bt=null,wn=null,Ga=null,BS=!1,sy=!1,Cm=!1,kS=0,Nv=0,Qs=null,ZM=0,XM=25,ce=null,oo=null,Js=-1,Av=!1,Dv={readContext:Pt,use:Co,useCallback:Pn,useContext:Pn,useEffect:Pn,useImperativeHandle:Pn,useLayoutEffect:Pn,useInsertionEffect:Pn,useMemo:Pn,useReducer:Pn,useRef:Pn,useState:Pn,useDebugValue:Pn,useDeferredValue:Pn,useTransition:Pn,useSyncExternalStore:Pn,useId:Pn,useHostTransitionStatus:Pn,useFormState:Pn,useActionState:Pn,useOptimistic:Pn,useMemoCache:Pn,useCacheRefresh:Pn};Dv.useEffectEvent=Pn;var S_=null,dA=null,E_=null,mA=null,Vu=null,qo=null,HS=null;S_={readContext:function(e){return Pt(e)},use:Co,useCallback:function(e,t){return ce="useCallback",vt(),To(t),Vh(e,t)},useContext:function(e){return ce="useContext",vt(),Pt(e)},useEffect:function(e,t){return ce="useEffect",vt(),To(t),ys(e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",vt(),To(a),ji(e,t,a)},useInsertionEffect:function(e,t){ce="useInsertionEffect",vt(),To(t),gu(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",vt(),To(t),vl(e,t)},useMemo:function(e,t){ce="useMemo",vt(),To(t);var a=de.H;de.H=Vu;try{return bl(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",vt();var o=de.H;de.H=Vu;try{return Dc(e,t,a)}finally{de.H=o}},useRef:function(e){return ce="useRef",vt(),Uh(e)},useState:function(e){ce="useState",vt();var t=de.H;de.H=Vu;try{return mu(e)}finally{de.H=t}},useDebugValue:function(){ce="useDebugValue",vt()},useDeferredValue:function(e,t){return ce="useDeferredValue",vt(),zc(e,t)},useTransition:function(){return ce="useTransition",vt(),vu()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",vt(),Rc(e,t,a)},useId:function(){return ce="useId",vt(),Dd()},useFormState:function(e,t){return ce="useFormState",vt(),gd(),Wl(e,t)},useActionState:function(e,t){return ce="useActionState",vt(),Wl(e,t)},useOptimistic:function(e){return ce="useOptimistic",vt(),ps(e)},useHostTransitionStatus:Ro,useMemoCache:Il,useCacheRefresh:function(){return ce="useCacheRefresh",vt(),Bh()},useEffectEvent:function(e){return ce="useEffectEvent",vt(),Nd(e)}},dA={readContext:function(e){return Pt(e)},use:Co,useCallback:function(e,t){return ce="useCallback",Ae(),Vh(e,t)},useContext:function(e){return ce="useContext",Ae(),Pt(e)},useEffect:function(e,t){return ce="useEffect",Ae(),ys(e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",Ae(),ji(e,t,a)},useInsertionEffect:function(e,t){ce="useInsertionEffect",Ae(),gu(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ae(),vl(e,t)},useMemo:function(e,t){ce="useMemo",Ae();var a=de.H;de.H=Vu;try{return bl(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",Ae();var o=de.H;de.H=Vu;try{return Dc(e,t,a)}finally{de.H=o}},useRef:function(e){return ce="useRef",Ae(),Uh(e)},useState:function(e){ce="useState",Ae();var t=de.H;de.H=Vu;try{return mu(e)}finally{de.H=t}},useDebugValue:function(){ce="useDebugValue",Ae()},useDeferredValue:function(e,t){return ce="useDeferredValue",Ae(),zc(e,t)},useTransition:function(){return ce="useTransition",Ae(),vu()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",Ae(),Rc(e,t,a)},useId:function(){return ce="useId",Ae(),Dd()},useActionState:function(e,t){return ce="useActionState",Ae(),Wl(e,t)},useFormState:function(e,t){return ce="useFormState",Ae(),gd(),Wl(e,t)},useOptimistic:function(e){return ce="useOptimistic",Ae(),ps(e)},useHostTransitionStatus:Ro,useMemoCache:Il,useCacheRefresh:function(){return ce="useCacheRefresh",Ae(),Bh()},useEffectEvent:function(e){return ce="useEffectEvent",Ae(),Nd(e)}},E_={readContext:function(e){return Pt(e)},use:Co,useCallback:function(e,t){return ce="useCallback",Ae(),Ir(e,t)},useContext:function(e){return ce="useContext",Ae(),Pt(e)},useEffect:function(e,t){ce="useEffect",Ae(),Ea(2048,dr,e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",Ae(),Mc(e,t,a)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ae(),Ea(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ae(),Ea(4,fi,e,t)},useMemo:function(e,t){ce="useMemo",Ae();var a=de.H;de.H=qo;try{return Bn(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",Ae();var o=de.H;de.H=qo;try{return ds(e,t,a)}finally{de.H=o}},useRef:function(){return ce="useRef",Ae(),ln().memoizedState},useState:function(){ce="useState",Ae();var e=de.H;de.H=qo;try{return ds(Pl)}finally{de.H=e}},useDebugValue:function(){ce="useDebugValue",Ae()},useDeferredValue:function(e,t){return ce="useDeferredValue",Ae(),Ui(e,t)},useTransition:function(){return ce="useTransition",Ae(),h1()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",Ae(),hs(e,t,a)},useId:function(){return ce="useId",Ae(),ln().memoizedState},useFormState:function(e){return ce="useFormState",Ae(),gd(),pu(e)},useActionState:function(e){return ce="useActionState",Ae(),pu(e)},useOptimistic:function(e,t){return ce="useOptimistic",Ae(),_d(e,t)},useHostTransitionStatus:Ro,useMemoCache:Il,useCacheRefresh:function(){return ce="useCacheRefresh",Ae(),ln().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",Ae(),wc(e)}},mA={readContext:function(e){return Pt(e)},use:Co,useCallback:function(e,t){return ce="useCallback",Ae(),Ir(e,t)},useContext:function(e){return ce="useContext",Ae(),Pt(e)},useEffect:function(e,t){ce="useEffect",Ae(),Ea(2048,dr,e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",Ae(),Mc(e,t,a)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ae(),Ea(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ae(),Ea(4,fi,e,t)},useMemo:function(e,t){ce="useMemo",Ae();var a=de.H;de.H=HS;try{return Bn(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",Ae();var o=de.H;de.H=HS;try{return ms(e,t,a)}finally{de.H=o}},useRef:function(){return ce="useRef",Ae(),ln().memoizedState},useState:function(){ce="useState",Ae();var e=de.H;de.H=HS;try{return ms(Pl)}finally{de.H=e}},useDebugValue:function(){ce="useDebugValue",Ae()},useDeferredValue:function(e,t){return ce="useDeferredValue",Ae(),_t(e,t)},useTransition:function(){return ce="useTransition",Ae(),$n()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",Ae(),hs(e,t,a)},useId:function(){return ce="useId",Ae(),ln().memoizedState},useFormState:function(e){return ce="useFormState",Ae(),gd(),yu(e)},useActionState:function(e){return ce="useActionState",Ae(),yu(e)},useOptimistic:function(e,t){return ce="useOptimistic",Ae(),Td(e,t)},useHostTransitionStatus:Ro,useMemoCache:Il,useCacheRefresh:function(){return ce="useCacheRefresh",Ae(),ln().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",Ae(),wc(e)}},Vu={readContext:function(e){return N(),Pt(e)},use:function(e){return E(),Co(e)},useCallback:function(e,t){return ce="useCallback",E(),vt(),Vh(e,t)},useContext:function(e){return ce="useContext",E(),vt(),Pt(e)},useEffect:function(e,t){return ce="useEffect",E(),vt(),ys(e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",E(),vt(),ji(e,t,a)},useInsertionEffect:function(e,t){ce="useInsertionEffect",E(),vt(),gu(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",E(),vt(),vl(e,t)},useMemo:function(e,t){ce="useMemo",E(),vt();var a=de.H;de.H=Vu;try{return bl(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",E(),vt();var o=de.H;de.H=Vu;try{return Dc(e,t,a)}finally{de.H=o}},useRef:function(e){return ce="useRef",E(),vt(),Uh(e)},useState:function(e){ce="useState",E(),vt();var t=de.H;de.H=Vu;try{return mu(e)}finally{de.H=t}},useDebugValue:function(){ce="useDebugValue",E(),vt()},useDeferredValue:function(e,t){return ce="useDeferredValue",E(),vt(),zc(e,t)},useTransition:function(){return ce="useTransition",E(),vt(),vu()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",E(),vt(),Rc(e,t,a)},useId:function(){return ce="useId",E(),vt(),Dd()},useFormState:function(e,t){return ce="useFormState",E(),vt(),Wl(e,t)},useActionState:function(e,t){return ce="useActionState",E(),vt(),Wl(e,t)},useOptimistic:function(e){return ce="useOptimistic",E(),vt(),ps(e)},useMemoCache:function(e){return E(),Il(e)},useHostTransitionStatus:Ro,useCacheRefresh:function(){return ce="useCacheRefresh",vt(),Bh()},useEffectEvent:function(e){return ce="useEffectEvent",E(),vt(),Nd(e)}},qo={readContext:function(e){return N(),Pt(e)},use:function(e){return E(),Co(e)},useCallback:function(e,t){return ce="useCallback",E(),Ae(),Ir(e,t)},useContext:function(e){return ce="useContext",E(),Ae(),Pt(e)},useEffect:function(e,t){ce="useEffect",E(),Ae(),Ea(2048,dr,e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",E(),Ae(),Mc(e,t,a)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",E(),Ae(),Ea(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",E(),Ae(),Ea(4,fi,e,t)},useMemo:function(e,t){ce="useMemo",E(),Ae();var a=de.H;de.H=qo;try{return Bn(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",E(),Ae();var o=de.H;de.H=qo;try{return ds(e,t,a)}finally{de.H=o}},useRef:function(){return ce="useRef",E(),Ae(),ln().memoizedState},useState:function(){ce="useState",E(),Ae();var e=de.H;de.H=qo;try{return ds(Pl)}finally{de.H=e}},useDebugValue:function(){ce="useDebugValue",E(),Ae()},useDeferredValue:function(e,t){return ce="useDeferredValue",E(),Ae(),Ui(e,t)},useTransition:function(){return ce="useTransition",E(),Ae(),h1()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",E(),Ae(),hs(e,t,a)},useId:function(){return ce="useId",E(),Ae(),ln().memoizedState},useFormState:function(e){return ce="useFormState",E(),Ae(),pu(e)},useActionState:function(e){return ce="useActionState",E(),Ae(),pu(e)},useOptimistic:function(e,t){return ce="useOptimistic",E(),Ae(),_d(e,t)},useMemoCache:function(e){return E(),Il(e)},useHostTransitionStatus:Ro,useCacheRefresh:function(){return ce="useCacheRefresh",Ae(),ln().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",E(),Ae(),wc(e)}},HS={readContext:function(e){return N(),Pt(e)},use:function(e){return E(),Co(e)},useCallback:function(e,t){return ce="useCallback",E(),Ae(),Ir(e,t)},useContext:function(e){return ce="useContext",E(),Ae(),Pt(e)},useEffect:function(e,t){ce="useEffect",E(),Ae(),Ea(2048,dr,e,t)},useImperativeHandle:function(e,t,a){return ce="useImperativeHandle",E(),Ae(),Mc(e,t,a)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",E(),Ae(),Ea(4,fr,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",E(),Ae(),Ea(4,fi,e,t)},useMemo:function(e,t){ce="useMemo",E(),Ae();var a=de.H;de.H=qo;try{return Bn(e,t)}finally{de.H=a}},useReducer:function(e,t,a){ce="useReducer",E(),Ae();var o=de.H;de.H=qo;try{return ms(e,t,a)}finally{de.H=o}},useRef:function(){return ce="useRef",E(),Ae(),ln().memoizedState},useState:function(){ce="useState",E(),Ae();var e=de.H;de.H=qo;try{return ms(Pl)}finally{de.H=e}},useDebugValue:function(){ce="useDebugValue",E(),Ae()},useDeferredValue:function(e,t){return ce="useDeferredValue",E(),Ae(),_t(e,t)},useTransition:function(){return ce="useTransition",E(),Ae(),$n()},useSyncExternalStore:function(e,t,a){return ce="useSyncExternalStore",E(),Ae(),hs(e,t,a)},useId:function(){return ce="useId",E(),Ae(),ln().memoizedState},useFormState:function(e){return ce="useFormState",E(),Ae(),yu(e)},useActionState:function(e){return ce="useActionState",E(),Ae(),yu(e)},useOptimistic:function(e,t){return ce="useOptimistic",E(),Ae(),Td(e,t)},useMemoCache:function(e){return E(),Il(e)},useHostTransitionStatus:Ro,useCacheRefresh:function(){return ce="useCacheRefresh",Ae(),ln().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",E(),Ae(),wc(e)}};var hA={},pA=new Set,yA=new Set,gA=new Set,vA=new Set,bA=new Set,SA=new Set,EA=new Set,xA=new Set,_A=new Set,TA=new Set;Object.freeze(hA);var x_={enqueueSetState:function(e,t,a){e=e._reactInternals;var o=rl(e),f=Sa(o);f.payload=t,a!=null&&(Ss(a),f.callback=a),t=Oi(e,f,o),t!==null&&(Ai(o,"this.setState()",e),yt(t,e,o),Cr(t,e,o))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var o=rl(e),f=Sa(o);f.tag=iA,f.payload=t,a!=null&&(Ss(a),f.callback=a),t=Oi(e,f,o),t!==null&&(Ai(o,"this.replaceState()",e),yt(t,e,o),Cr(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=rl(e),o=Sa(a);o.tag=oA,t!=null&&(Ss(t),o.callback=t),t=Oi(e,o,a),t!==null&&(Ai(a,"this.forceUpdate()",e),yt(t,e,a),Cr(t,e,a))}},cy=null,__=null,T_=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),$a=!1,CA={},NA={},AA={},DA={},fy=!1,RA={},LS={},C_={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},OA=!1,wA=null;wA=new Set;var Ks=!1,Za=!1,N_=!1,MA=typeof WeakSet=="function"?WeakSet:Set,sl=null,dy=null,my=null,Xa=null,wr=!1,Yo=null,el=!1,Rv=8192,QM={getCacheForType:function(e){var t=Pt(qa),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Pt(qa).controller.signal},getOwner:function(){return Ll}};if(typeof Symbol=="function"&&Symbol.for){var Ov=Symbol.for;Ov("selector.component"),Ov("selector.has_pseudo_class"),Ov("selector.role"),Ov("selector.test_id"),Ov("selector.text")}var JM=[],KM=typeof WeakMap=="function"?WeakMap:Map,cl=0,tl=2,di=4,Fs=0,wv=1,Nm=2,qS=3,Df=4,YS=6,zA=5,Jt=cl,Mn=null,Vt=null,zt=0,Mr=0,GS=1,Am=2,Mv=3,jA=4,A_=5,zv=6,$S=7,D_=8,Dm=9,Sn=Mr,mi=null,Rf=!1,hy=!1,R_=!1,Bu=0,ta=Fs,Of=0,wf=0,O_=0,zr=0,Rm=0,jv=null,mr=null,ZS=!1,XS=0,UA=0,VA=300,QS=1/0,BA=500,Uv=null,pa=null,Mf=null,JS=0,w_=1,M_=2,kA=3,zf=0,HA=1,LA=2,qA=3,YA=4,KS=5,Qa=0,jf=null,py=null,Go=0,z_=0,j_=-0,U_=null,GA=null,$A=null,$o=JS,ZA=null,FM=50,Vv=0,V_=null,B_=!1,FS=!1,IM=50,Om=0,Bv=null,yy=!1,IS=null,XA=!1,QA=new Set,PM={},PS=null,gy=null,k_=!1,H_=!1,WS=!1,L_=!1,Uf=0,q_={};(function(){for(var e=0;e<Px.length;e++){var t=Px[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),qr(a,"on"+t)}qr(_N,"onAnimationEnd"),qr(TN,"onAnimationIteration"),qr(CN,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(AM,"onTransitionRun"),qr(DM,"onTransitionStart"),qr(RM,"onTransitionCancel"),qr(NN,"onTransitionEnd")})(),Et("onMouseEnter",["mouseout","mouseover"]),Et("onMouseLeave",["mouseout","mouseover"]),Et("onPointerEnter",["pointerout","pointerover"]),Et("onPointerLeave",["pointerout","pointerover"]),jt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),jt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),jt("onBeforeInput",["compositionend","keypress","textInput","paste"]),jt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),jt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),jt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kv="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(" "),Y_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(kv)),eE="_reactListening"+Math.random().toString(36).slice(2),JA=!1,KA=!1,tE=!1,FA=!1,nE=!1,aE=!1,IA=!1,lE={},WM=/\r\n?/g,e6=/\u0000|\uFFFD/g,wm="http://www.w3.org/1999/xlink",G_="http://www.w3.org/XML/1998/namespace",t6="javascript:throw new Error('React form unexpectedly submitted.')",n6="suppressHydrationWarning",Mm="&",rE="/&",Hv="$",Lv="/$",Vf="$?",zm="$~",vy="$!",a6="html",l6="body",r6="head",$_="F!",PA="F",WA="loading",i6="style",Is=0,by=1,iE=2,Z_=null,X_=null,eD={dialog:!0,webview:!0},Q_=null,qv=void 0,tD=typeof setTimeout=="function"?setTimeout:void 0,o6=typeof clearTimeout=="function"?clearTimeout:void 0,jm=-1,nD=typeof Promise=="function"?Promise:void 0,u6=typeof queueMicrotask=="function"?queueMicrotask:typeof nD<"u"?function(e){return nD.resolve(null).then(e).catch(V1)}:tD,J_=null,Um=0,Yv=1,aD=2,lD=3,uo=4,so=new Map,rD=new Set,Ps=en.d;en.d={f:function(){var e=Ps.f(),t=lr();return e||t},r:function(e){var t=Ve(e);t!==null&&t.tag===5&&t.type==="form"?jc(t):Ps.r(e)},D:function(e){Ps.D(e),R0("dns-prefetch",e,null)},C:function(e,t){Ps.C(e,t),R0("preconnect",e,t)},L:function(e,t,a){Ps.L(e,t,a);var o=Sy;if(o&&e&&t){var f='link[rel="preload"][as="'+pn(t)+'"]';t==="image"&&a&&a.imageSrcSet?(f+='[imagesrcset="'+pn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(f+='[imagesizes="'+pn(a.imageSizes)+'"]')):f+='[href="'+pn(e)+'"]';var m=f;switch(t){case"style":m=Os(e);break;case"script":m=ws(e)}so.has(m)||(e=Ot({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),so.set(m,e),o.querySelector(f)!==null||t==="style"&&o.querySelector(em(m))||t==="script"&&o.querySelector(tm(m))||(t=o.createElement("link"),kn(t,"link",e),tt(t),o.head.appendChild(t)))}},m:function(e,t){Ps.m(e,t);var a=Sy;if(a&&e){var o=t&&typeof t.as=="string"?t.as:"script",f='link[rel="modulepreload"][as="'+pn(o)+'"][href="'+pn(e)+'"]',m=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=ws(e)}if(!so.has(m)&&(e=Ot({rel:"modulepreload",href:e},t),so.set(m,e),a.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(tm(m)))return}o=a.createElement("link"),kn(o,"link",e),tt(o),a.head.appendChild(o)}}},X:function(e,t){Ps.X(e,t);var a=Sy;if(a&&e){var o=dt(a).hoistableScripts,f=ws(e),m=o.get(f);m||(m=a.querySelector(tm(f)),m||(e=Ot({src:e,async:!0},t),(t=so.get(f))&&M0(e,t),m=a.createElement("script"),tt(m),kn(m,"link",e),a.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(f,m))}},S:function(e,t,a){Ps.S(e,t,a);var o=Sy;if(o&&e){var f=dt(o).hoistableStyles,m=Os(e);t=t||"default";var v=f.get(m);if(!v){var S={loading:Um,preload:null};if(v=o.querySelector(em(m)))S.loading=Yv|uo;else{e=Ot({rel:"stylesheet",href:e,"data-precedence":t},a),(a=so.get(m))&&w0(e,a);var T=v=o.createElement("link");tt(T),kn(T,"link",e),T._p=new Promise(function(D,X){T.onload=D,T.onerror=X}),T.addEventListener("load",function(){S.loading|=Yv}),T.addEventListener("error",function(){S.loading|=aD}),S.loading|=uo,tf(v,t,o)}v={type:"stylesheet",instance:v,count:1,state:S},f.set(m,v)}}},M:function(e,t){Ps.M(e,t);var a=Sy;if(a&&e){var o=dt(a).hoistableScripts,f=ws(e),m=o.get(f);m||(m=a.querySelector(tm(f)),m||(e=Ot({src:e,async:!0,type:"module"},t),(t=so.get(f))&&M0(e,t),m=a.createElement("script"),tt(m),kn(m,"link",e),a.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(f,m))}}};var Sy=typeof document>"u"?null:document,oE=null,s6=6e4,c6=800,f6=500,K_=0,F_=null,uE=null,Vm=Lx,Gv={$$typeof:ii,Provider:null,Consumer:null,_currentValue:Vm,_currentValue2:Vm,_threadCount:0},iD="%c%s%c",oD="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",uD="",sE=" ",d6=Function.prototype.bind,sD=!1,cD=null,fD=null,dD=null,mD=null,hD=null,pD=null,yD=null,gD=null,vD=null,bD=null;cD=function(e,t,a,o){t=r(e,t),t!==null&&(a=u(t.memoizedState,a,0,o),t.memoizedState=a,t.baseState=a,e.memoizedProps=Ot({},e.memoizedProps),a=al(e,2),a!==null&&yt(a,e,2))},fD=function(e,t,a){t=r(e,t),t!==null&&(a=h(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=Ot({},e.memoizedProps),a=al(e,2),a!==null&&yt(a,e,2))},dD=function(e,t,a,o){t=r(e,t),t!==null&&(a=s(t.memoizedState,a,o),t.memoizedState=a,t.baseState=a,e.memoizedProps=Ot({},e.memoizedProps),a=al(e,2),a!==null&&yt(a,e,2))},mD=function(e,t,a){e.pendingProps=u(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=al(e,2),t!==null&&yt(t,e,2)},hD=function(e,t){e.pendingProps=h(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=al(e,2),t!==null&&yt(t,e,2)},pD=function(e,t,a){e.pendingProps=s(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=al(e,2),t!==null&&yt(t,e,2)},yD=function(e){var t=al(e,2);t!==null&&yt(t,e,2)},gD=function(e){var t=Ue(),a=al(e,t);a!==null&&yt(a,e,t)},vD=function(e){b=e},bD=function(e){y=e};var cE=!0,fE=null,I_=!1,Bf=null,kf=null,Hf=null,$v=new Map,Zv=new Map,Lf=[],m6="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".split(" "),dE=null;if(ri.prototype.render=Y0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):F(a[1])?console.error("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 a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var o=t.current,f=rl(o);Ap(o,f,a,t,null,null)},ri.prototype.unmount=Y0.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Jt&(tl|di))!==cl&&console.error("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."),Ap(e.current,2,null,e,null,null),lr(),t[ko]=null}},ri.prototype.unstable_scheduleHydration=function(e){if(e){var t=bi();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Lf.length&&t!==0&&t<Lf[a].priority;a++);Lf.splice(a,0,e),a===0&&q0(e)}},(function(){var e=im.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
317
- - react: `+(e+`
318
- - react-dom: 19.2.4
319
- Learn more: https://react.dev/warnings/version-mismatch`))})(),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"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),en.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=$(t),e=e!==null?xe(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:de,reconcilerVersion:"19.2.4"};return e.overrideHookState=cD,e.overrideHookStateDeletePath=fD,e.overrideHookStateRenamePath=dD,e.overrideProps=mD,e.overridePropsDeletePath=hD,e.overridePropsRenamePath=pD,e.scheduleUpdate=yD,e.scheduleRetry=gD,e.setErrorHandler=vD,e.setSuspenseHandler=bD,e.scheduleRefresh=Q,e.scheduleRoot=z,e.setRefreshHandler=j,e.getCurrentFiber=vn,Zu(e)})()&&zu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var SD=window.location.protocol;/^(https?|file):$/.test(SD)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(SD==="file:"?`
320
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}_y.createRoot=function(e,t){if(!F(e))throw Error("Target container is not a DOM element.");G0(e);var a=!1,o="",f=Lh,m=qh,v=Bg;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Rr&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
321
-
322
- let root = createRoot(domContainer);
323
- root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(f=t.onUncaughtError),t.onCaughtError!==void 0&&(m=t.onCaughtError),t.onRecoverableError!==void 0&&(v=t.onRecoverableError)),t=lm(e,1,!1,null,null,a,o,null,f,m,v,iS),e[ko]=t.current,Cu(e),new Y0(t)},_y.hydrateRoot=function(e,t,a){if(!F(e))throw Error("Target container is not a DOM element.");G0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,f="",m=Lh,v=qh,S=Bg,T=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onUncaughtError!==void 0&&(m=a.onUncaughtError),a.onCaughtError!==void 0&&(v=a.onCaughtError),a.onRecoverableError!==void 0&&(S=a.onRecoverableError),a.formState!==void 0&&(T=a.formState)),t=lm(e,1,!0,t,a??null,o,f,T,m,v,S,iS),t.context=nS(null),a=t.current,o=rl(a),o=_n(o),f=Sa(o),f.callback=null,Oi(a,f,o),Ai(o,"hydrateRoot()",null),a=o,t.current.lanes=a,Qe(t,a),Vl(t),e[ko]=t.current,Cu(e),new ri(t)},_y.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),_y}var p2;function MD(){if(p2)return Fv.exports;p2=1;function r(){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(r)}catch(u){console.error(u)}}}return process.env.NODE_ENV==="production"?(r(),Fv.exports=OD()):Fv.exports=wD(),Fv.exports}var zD=MD(),tn;(function(r){r.assertEqual=h=>{};function u(h){}r.assertIs=u;function s(h){throw new Error}r.assertNever=s,r.arrayToEnum=h=>{const y={};for(const b of h)y[b]=b;return y},r.getValidEnumValues=h=>{const y=r.objectKeys(h).filter(E=>typeof h[h[E]]!="number"),b={};for(const E of y)b[E]=h[E];return r.objectValues(b)},r.objectValues=h=>r.objectKeys(h).map(function(y){return h[y]}),r.objectKeys=typeof Object.keys=="function"?h=>Object.keys(h):h=>{const y=[];for(const b in h)Object.prototype.hasOwnProperty.call(h,b)&&y.push(b);return y},r.find=(h,y)=>{for(const b of h)if(y(b))return b},r.isInteger=typeof Number.isInteger=="function"?h=>Number.isInteger(h):h=>typeof h=="number"&&Number.isFinite(h)&&Math.floor(h)===h;function d(h,y=" | "){return h.map(b=>typeof b=="string"?`'${b}'`:b).join(y)}r.joinValues=d,r.jsonStringifyReplacer=(h,y)=>typeof y=="bigint"?y.toString():y})(tn||(tn={}));var y2;(function(r){r.mergeShapes=(u,s)=>({...u,...s})})(y2||(y2={}));const at=tn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),tc=r=>{switch(typeof r){case"undefined":return at.undefined;case"string":return at.string;case"number":return Number.isNaN(r)?at.nan:at.number;case"boolean":return at.boolean;case"function":return at.function;case"bigint":return at.bigint;case"symbol":return at.symbol;case"object":return Array.isArray(r)?at.array:r===null?at.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?at.promise:typeof Map<"u"&&r instanceof Map?at.map:typeof Set<"u"&&r instanceof Set?at.set:typeof Date<"u"&&r instanceof Date?at.date:at.object;default:return at.unknown}},Be=tn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Lu extends Error{get errors(){return this.issues}constructor(u){super(),this.issues=[],this.addIssue=d=>{this.issues=[...this.issues,d]},this.addIssues=(d=[])=>{this.issues=[...this.issues,...d]};const s=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,s):this.__proto__=s,this.name="ZodError",this.issues=u}format(u){const s=u||function(y){return y.message},d={_errors:[]},h=y=>{for(const b of y.issues)if(b.code==="invalid_union")b.unionErrors.map(h);else if(b.code==="invalid_return_type")h(b.returnTypeError);else if(b.code==="invalid_arguments")h(b.argumentsError);else if(b.path.length===0)d._errors.push(s(b));else{let E=d,N=0;for(;N<b.path.length;){const C=b.path[N];N===b.path.length-1?(E[C]=E[C]||{_errors:[]},E[C]._errors.push(s(b))):E[C]=E[C]||{_errors:[]},E=E[C],N++}}};return h(this),d}static assert(u){if(!(u instanceof Lu))throw new Error(`Not a ZodError: ${u}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,tn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(u=s=>s.message){const s={},d=[];for(const h of this.issues)if(h.path.length>0){const y=h.path[0];s[y]=s[y]||[],s[y].push(u(h))}else d.push(u(h));return{formErrors:d,fieldErrors:s}}get formErrors(){return this.flatten()}}Lu.create=r=>new Lu(r);const pE=(r,u)=>{let s;switch(r.code){case Be.invalid_type:r.received===at.undefined?s="Required":s=`Expected ${r.expected}, received ${r.received}`;break;case Be.invalid_literal:s=`Invalid literal value, expected ${JSON.stringify(r.expected,tn.jsonStringifyReplacer)}`;break;case Be.unrecognized_keys:s=`Unrecognized key(s) in object: ${tn.joinValues(r.keys,", ")}`;break;case Be.invalid_union:s="Invalid input";break;case Be.invalid_union_discriminator:s=`Invalid discriminator value. Expected ${tn.joinValues(r.options)}`;break;case Be.invalid_enum_value:s=`Invalid enum value. Expected ${tn.joinValues(r.options)}, received '${r.received}'`;break;case Be.invalid_arguments:s="Invalid function arguments";break;case Be.invalid_return_type:s="Invalid function return type";break;case Be.invalid_date:s="Invalid date";break;case Be.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(s=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(s=`${s} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?s=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?s=`Invalid input: must end with "${r.validation.endsWith}"`:tn.assertNever(r.validation):r.validation!=="regex"?s=`Invalid ${r.validation}`:s="Invalid";break;case Be.too_small:r.type==="array"?s=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?s=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?s=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="bigint"?s=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?s=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:s="Invalid input";break;case Be.too_big:r.type==="array"?s=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?s=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?s=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?s=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?s=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:s="Invalid input";break;case Be.custom:s="Invalid input";break;case Be.invalid_intersection_types:s="Intersection results could not be merged";break;case Be.not_multiple_of:s=`Number must be a multiple of ${r.multipleOf}`;break;case Be.not_finite:s="Number must be finite";break;default:s=u.defaultError,tn.assertNever(r)}return{message:s}};let jD=pE;function UD(){return jD}const VD=r=>{const{data:u,path:s,errorMaps:d,issueData:h}=r,y=[...s,...h.path||[]],b={...h,path:y};if(h.message!==void 0)return{...h,path:y,message:h.message};let E="";const N=d.filter(C=>!!C).slice().reverse();for(const C of N)E=C(b,{data:u,defaultError:E}).message;return{...h,path:y,message:E}};function Ke(r,u){const s=UD(),d=VD({issueData:u,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,s,s===pE?void 0:pE].filter(h=>!!h)});r.common.issues.push(d)}class jr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(u,s){const d=[];for(const h of s){if(h.status==="aborted")return Ct;h.status==="dirty"&&u.dirty(),d.push(h.value)}return{status:u.value,value:d}}static async mergeObjectAsync(u,s){const d=[];for(const h of s){const y=await h.key,b=await h.value;d.push({key:y,value:b})}return jr.mergeObjectSync(u,d)}static mergeObjectSync(u,s){const d={};for(const h of s){const{key:y,value:b}=h;if(y.status==="aborted"||b.status==="aborted")return Ct;y.status==="dirty"&&u.dirty(),b.status==="dirty"&&u.dirty(),y.value!=="__proto__"&&(typeof b.value<"u"||h.alwaysSet)&&(d[y.value]=b.value)}return{status:u.value,value:d}}}const Ct=Object.freeze({status:"aborted"}),Ty=r=>({status:"dirty",value:r}),hi=r=>({status:"valid",value:r}),g2=r=>r.status==="aborted",v2=r=>r.status==="dirty",Bm=r=>r.status==="valid",Wv=r=>typeof Promise<"u"&&r instanceof Promise;var rt;(function(r){r.errToObj=u=>typeof u=="string"?{message:u}:u||{},r.toString=u=>typeof u=="string"?u:u==null?void 0:u.message})(rt||(rt={}));class nc{constructor(u,s,d,h){this._cachedPath=[],this.parent=u,this.data=s,this._path=d,this._key=h}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const b2=(r,u)=>{if(Bm(u))return{success:!0,data:u.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const s=new Lu(r.common.issues);return this._error=s,this._error}}};function Lt(r){if(!r)return{};const{errorMap:u,invalid_type_error:s,required_error:d,description:h}=r;if(u&&(s||d))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return u?{errorMap:u,description:h}:{errorMap:(b,E)=>{const{message:N}=r;return b.code==="invalid_enum_value"?{message:N??E.defaultError}:typeof E.data>"u"?{message:N??d??E.defaultError}:b.code!=="invalid_type"?{message:E.defaultError}:{message:N??s??E.defaultError}},description:h}}class It{get description(){return this._def.description}_getType(u){return tc(u.data)}_getOrReturnCtx(u,s){return s||{common:u.parent.common,data:u.data,parsedType:tc(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}_processInputParams(u){return{status:new jr,ctx:{common:u.parent.common,data:u.data,parsedType:tc(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}}_parseSync(u){const s=this._parse(u);if(Wv(s))throw new Error("Synchronous parse encountered promise.");return s}_parseAsync(u){const s=this._parse(u);return Promise.resolve(s)}parse(u,s){const d=this.safeParse(u,s);if(d.success)return d.data;throw d.error}safeParse(u,s){const d={common:{issues:[],async:(s==null?void 0:s.async)??!1,contextualErrorMap:s==null?void 0:s.errorMap},path:(s==null?void 0:s.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tc(u)},h=this._parseSync({data:u,path:d.path,parent:d});return b2(d,h)}"~validate"(u){var d,h;const s={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tc(u)};if(!this["~standard"].async)try{const y=this._parseSync({data:u,path:[],parent:s});return Bm(y)?{value:y.value}:{issues:s.common.issues}}catch(y){(h=(d=y==null?void 0:y.message)==null?void 0:d.toLowerCase())!=null&&h.includes("encountered")&&(this["~standard"].async=!0),s.common={issues:[],async:!0}}return this._parseAsync({data:u,path:[],parent:s}).then(y=>Bm(y)?{value:y.value}:{issues:s.common.issues})}async parseAsync(u,s){const d=await this.safeParseAsync(u,s);if(d.success)return d.data;throw d.error}async safeParseAsync(u,s){const d={common:{issues:[],contextualErrorMap:s==null?void 0:s.errorMap,async:!0},path:(s==null?void 0:s.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tc(u)},h=this._parse({data:u,path:d.path,parent:d}),y=await(Wv(h)?h:Promise.resolve(h));return b2(d,y)}refine(u,s){const d=h=>typeof s=="string"||typeof s>"u"?{message:s}:typeof s=="function"?s(h):s;return this._refinement((h,y)=>{const b=u(h),E=()=>y.addIssue({code:Be.custom,...d(h)});return typeof Promise<"u"&&b instanceof Promise?b.then(N=>N?!0:(E(),!1)):b?!0:(E(),!1)})}refinement(u,s){return this._refinement((d,h)=>u(d)?!0:(h.addIssue(typeof s=="function"?s(d,h):s),!1))}_refinement(u){return new Lm({schema:this,typeName:Nt.ZodEffects,effect:{type:"refinement",refinement:u}})}superRefine(u){return this._refinement(u)}constructor(u){this.spa=this.safeParseAsync,this._def=u,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:s=>this["~validate"](s)}}optional(){return rc.create(this,this._def)}nullable(){return qm.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Zo.create(this)}promise(){return ab.create(this,this._def)}or(u){return tb.create([this,u],this._def)}and(u){return nb.create(this,u,this._def)}transform(u){return new Lm({...Lt(this._def),schema:this,typeName:Nt.ZodEffects,effect:{type:"transform",transform:u}})}default(u){const s=typeof u=="function"?u:()=>u;return new vE({...Lt(this._def),innerType:this,defaultValue:s,typeName:Nt.ZodDefault})}brand(){return new rR({typeName:Nt.ZodBranded,type:this,...Lt(this._def)})}catch(u){const s=typeof u=="function"?u:()=>u;return new bE({...Lt(this._def),innerType:this,catchValue:s,typeName:Nt.ZodCatch})}describe(u){const s=this.constructor;return new s({...this._def,description:u})}pipe(u){return SE.create(this,u)}readonly(){return EE.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const BD=/^c[^\s-]{8,}$/i,kD=/^[0-9a-z]+$/,HD=/^[0-9A-HJKMNP-TV-Z]{26}$/i,LD=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,qD=/^[a-z0-9_-]{21}$/i,YD=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,GD=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,$D=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,ZD="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let yE;const XD=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,QD=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,JD=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,KD=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,FD=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ID=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,S2="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",PD=new RegExp(`^${S2}$`);function E2(r){let u="[0-5]\\d";r.precision?u=`${u}\\.\\d{${r.precision}}`:r.precision==null&&(u=`${u}(\\.\\d+)?`);const s=r.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${u})${s}`}function WD(r){return new RegExp(`^${E2(r)}$`)}function eR(r){let u=`${S2}T${E2(r)}`;const s=[];return s.push(r.local?"Z?":"Z"),r.offset&&s.push("([+-]\\d{2}:?\\d{2})"),u=`${u}(${s.join("|")})`,new RegExp(`^${u}$`)}function tR(r,u){return!!((u==="v4"||!u)&&XD.test(r)||(u==="v6"||!u)&&JD.test(r))}function nR(r,u){if(!YD.test(r))return!1;try{const[s]=r.split(".");if(!s)return!1;const d=s.replace(/-/g,"+").replace(/_/g,"/").padEnd(s.length+(4-s.length%4)%4,"="),h=JSON.parse(atob(d));return!(typeof h!="object"||h===null||"typ"in h&&(h==null?void 0:h.typ)!=="JWT"||!h.alg||u&&h.alg!==u)}catch{return!1}}function aR(r,u){return!!((u==="v4"||!u)&&QD.test(r)||(u==="v6"||!u)&&KD.test(r))}class ac extends It{_parse(u){if(this._def.coerce&&(u.data=String(u.data)),this._getType(u)!==at.string){const y=this._getOrReturnCtx(u);return Ke(y,{code:Be.invalid_type,expected:at.string,received:y.parsedType}),Ct}const d=new jr;let h;for(const y of this._def.checks)if(y.kind==="min")u.data.length<y.value&&(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.too_small,minimum:y.value,type:"string",inclusive:!0,exact:!1,message:y.message}),d.dirty());else if(y.kind==="max")u.data.length>y.value&&(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.too_big,maximum:y.value,type:"string",inclusive:!0,exact:!1,message:y.message}),d.dirty());else if(y.kind==="length"){const b=u.data.length>y.value,E=u.data.length<y.value;(b||E)&&(h=this._getOrReturnCtx(u,h),b?Ke(h,{code:Be.too_big,maximum:y.value,type:"string",inclusive:!0,exact:!0,message:y.message}):E&&Ke(h,{code:Be.too_small,minimum:y.value,type:"string",inclusive:!0,exact:!0,message:y.message}),d.dirty())}else if(y.kind==="email")$D.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"email",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="emoji")yE||(yE=new RegExp(ZD,"u")),yE.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"emoji",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="uuid")LD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"uuid",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="nanoid")qD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"nanoid",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="cuid")BD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"cuid",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="cuid2")kD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"cuid2",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="ulid")HD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"ulid",code:Be.invalid_string,message:y.message}),d.dirty());else if(y.kind==="url")try{new URL(u.data)}catch{h=this._getOrReturnCtx(u,h),Ke(h,{validation:"url",code:Be.invalid_string,message:y.message}),d.dirty()}else y.kind==="regex"?(y.regex.lastIndex=0,y.regex.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"regex",code:Be.invalid_string,message:y.message}),d.dirty())):y.kind==="trim"?u.data=u.data.trim():y.kind==="includes"?u.data.includes(y.value,y.position)||(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.invalid_string,validation:{includes:y.value,position:y.position},message:y.message}),d.dirty()):y.kind==="toLowerCase"?u.data=u.data.toLowerCase():y.kind==="toUpperCase"?u.data=u.data.toUpperCase():y.kind==="startsWith"?u.data.startsWith(y.value)||(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.invalid_string,validation:{startsWith:y.value},message:y.message}),d.dirty()):y.kind==="endsWith"?u.data.endsWith(y.value)||(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.invalid_string,validation:{endsWith:y.value},message:y.message}),d.dirty()):y.kind==="datetime"?eR(y).test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.invalid_string,validation:"datetime",message:y.message}),d.dirty()):y.kind==="date"?PD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.invalid_string,validation:"date",message:y.message}),d.dirty()):y.kind==="time"?WD(y).test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.invalid_string,validation:"time",message:y.message}),d.dirty()):y.kind==="duration"?GD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"duration",code:Be.invalid_string,message:y.message}),d.dirty()):y.kind==="ip"?tR(u.data,y.version)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"ip",code:Be.invalid_string,message:y.message}),d.dirty()):y.kind==="jwt"?nR(u.data,y.alg)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"jwt",code:Be.invalid_string,message:y.message}),d.dirty()):y.kind==="cidr"?aR(u.data,y.version)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"cidr",code:Be.invalid_string,message:y.message}),d.dirty()):y.kind==="base64"?FD.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"base64",code:Be.invalid_string,message:y.message}),d.dirty()):y.kind==="base64url"?ID.test(u.data)||(h=this._getOrReturnCtx(u,h),Ke(h,{validation:"base64url",code:Be.invalid_string,message:y.message}),d.dirty()):tn.assertNever(y);return{status:d.value,value:u.data}}_regex(u,s,d){return this.refinement(h=>u.test(h),{validation:s,code:Be.invalid_string,...rt.errToObj(d)})}_addCheck(u){return new ac({...this._def,checks:[...this._def.checks,u]})}email(u){return this._addCheck({kind:"email",...rt.errToObj(u)})}url(u){return this._addCheck({kind:"url",...rt.errToObj(u)})}emoji(u){return this._addCheck({kind:"emoji",...rt.errToObj(u)})}uuid(u){return this._addCheck({kind:"uuid",...rt.errToObj(u)})}nanoid(u){return this._addCheck({kind:"nanoid",...rt.errToObj(u)})}cuid(u){return this._addCheck({kind:"cuid",...rt.errToObj(u)})}cuid2(u){return this._addCheck({kind:"cuid2",...rt.errToObj(u)})}ulid(u){return this._addCheck({kind:"ulid",...rt.errToObj(u)})}base64(u){return this._addCheck({kind:"base64",...rt.errToObj(u)})}base64url(u){return this._addCheck({kind:"base64url",...rt.errToObj(u)})}jwt(u){return this._addCheck({kind:"jwt",...rt.errToObj(u)})}ip(u){return this._addCheck({kind:"ip",...rt.errToObj(u)})}cidr(u){return this._addCheck({kind:"cidr",...rt.errToObj(u)})}datetime(u){return typeof u=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:u}):this._addCheck({kind:"datetime",precision:typeof(u==null?void 0:u.precision)>"u"?null:u==null?void 0:u.precision,offset:(u==null?void 0:u.offset)??!1,local:(u==null?void 0:u.local)??!1,...rt.errToObj(u==null?void 0:u.message)})}date(u){return this._addCheck({kind:"date",message:u})}time(u){return typeof u=="string"?this._addCheck({kind:"time",precision:null,message:u}):this._addCheck({kind:"time",precision:typeof(u==null?void 0:u.precision)>"u"?null:u==null?void 0:u.precision,...rt.errToObj(u==null?void 0:u.message)})}duration(u){return this._addCheck({kind:"duration",...rt.errToObj(u)})}regex(u,s){return this._addCheck({kind:"regex",regex:u,...rt.errToObj(s)})}includes(u,s){return this._addCheck({kind:"includes",value:u,position:s==null?void 0:s.position,...rt.errToObj(s==null?void 0:s.message)})}startsWith(u,s){return this._addCheck({kind:"startsWith",value:u,...rt.errToObj(s)})}endsWith(u,s){return this._addCheck({kind:"endsWith",value:u,...rt.errToObj(s)})}min(u,s){return this._addCheck({kind:"min",value:u,...rt.errToObj(s)})}max(u,s){return this._addCheck({kind:"max",value:u,...rt.errToObj(s)})}length(u,s){return this._addCheck({kind:"length",value:u,...rt.errToObj(s)})}nonempty(u){return this.min(1,rt.errToObj(u))}trim(){return new ac({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ac({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ac({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(u=>u.kind==="datetime")}get isDate(){return!!this._def.checks.find(u=>u.kind==="date")}get isTime(){return!!this._def.checks.find(u=>u.kind==="time")}get isDuration(){return!!this._def.checks.find(u=>u.kind==="duration")}get isEmail(){return!!this._def.checks.find(u=>u.kind==="email")}get isURL(){return!!this._def.checks.find(u=>u.kind==="url")}get isEmoji(){return!!this._def.checks.find(u=>u.kind==="emoji")}get isUUID(){return!!this._def.checks.find(u=>u.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(u=>u.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(u=>u.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(u=>u.kind==="cuid2")}get isULID(){return!!this._def.checks.find(u=>u.kind==="ulid")}get isIP(){return!!this._def.checks.find(u=>u.kind==="ip")}get isCIDR(){return!!this._def.checks.find(u=>u.kind==="cidr")}get isBase64(){return!!this._def.checks.find(u=>u.kind==="base64")}get isBase64url(){return!!this._def.checks.find(u=>u.kind==="base64url")}get minLength(){let u=null;for(const s of this._def.checks)s.kind==="min"&&(u===null||s.value>u)&&(u=s.value);return u}get maxLength(){let u=null;for(const s of this._def.checks)s.kind==="max"&&(u===null||s.value<u)&&(u=s.value);return u}}ac.create=r=>new ac({checks:[],typeName:Nt.ZodString,coerce:(r==null?void 0:r.coerce)??!1,...Lt(r)});function lR(r,u){const s=(r.toString().split(".")[1]||"").length,d=(u.toString().split(".")[1]||"").length,h=s>d?s:d,y=Number.parseInt(r.toFixed(h).replace(".","")),b=Number.parseInt(u.toFixed(h).replace(".",""));return y%b/10**h}class Cy extends It{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(u){if(this._def.coerce&&(u.data=Number(u.data)),this._getType(u)!==at.number){const y=this._getOrReturnCtx(u);return Ke(y,{code:Be.invalid_type,expected:at.number,received:y.parsedType}),Ct}let d;const h=new jr;for(const y of this._def.checks)y.kind==="int"?tn.isInteger(u.data)||(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.invalid_type,expected:"integer",received:"float",message:y.message}),h.dirty()):y.kind==="min"?(y.inclusive?u.data<y.value:u.data<=y.value)&&(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.too_small,minimum:y.value,type:"number",inclusive:y.inclusive,exact:!1,message:y.message}),h.dirty()):y.kind==="max"?(y.inclusive?u.data>y.value:u.data>=y.value)&&(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.too_big,maximum:y.value,type:"number",inclusive:y.inclusive,exact:!1,message:y.message}),h.dirty()):y.kind==="multipleOf"?lR(u.data,y.value)!==0&&(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.not_multiple_of,multipleOf:y.value,message:y.message}),h.dirty()):y.kind==="finite"?Number.isFinite(u.data)||(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.not_finite,message:y.message}),h.dirty()):tn.assertNever(y);return{status:h.value,value:u.data}}gte(u,s){return this.setLimit("min",u,!0,rt.toString(s))}gt(u,s){return this.setLimit("min",u,!1,rt.toString(s))}lte(u,s){return this.setLimit("max",u,!0,rt.toString(s))}lt(u,s){return this.setLimit("max",u,!1,rt.toString(s))}setLimit(u,s,d,h){return new Cy({...this._def,checks:[...this._def.checks,{kind:u,value:s,inclusive:d,message:rt.toString(h)}]})}_addCheck(u){return new Cy({...this._def,checks:[...this._def.checks,u]})}int(u){return this._addCheck({kind:"int",message:rt.toString(u)})}positive(u){return this._addCheck({kind:"min",value:0,inclusive:!1,message:rt.toString(u)})}negative(u){return this._addCheck({kind:"max",value:0,inclusive:!1,message:rt.toString(u)})}nonpositive(u){return this._addCheck({kind:"max",value:0,inclusive:!0,message:rt.toString(u)})}nonnegative(u){return this._addCheck({kind:"min",value:0,inclusive:!0,message:rt.toString(u)})}multipleOf(u,s){return this._addCheck({kind:"multipleOf",value:u,message:rt.toString(s)})}finite(u){return this._addCheck({kind:"finite",message:rt.toString(u)})}safe(u){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:rt.toString(u)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:rt.toString(u)})}get minValue(){let u=null;for(const s of this._def.checks)s.kind==="min"&&(u===null||s.value>u)&&(u=s.value);return u}get maxValue(){let u=null;for(const s of this._def.checks)s.kind==="max"&&(u===null||s.value<u)&&(u=s.value);return u}get isInt(){return!!this._def.checks.find(u=>u.kind==="int"||u.kind==="multipleOf"&&tn.isInteger(u.value))}get isFinite(){let u=null,s=null;for(const d of this._def.checks){if(d.kind==="finite"||d.kind==="int"||d.kind==="multipleOf")return!0;d.kind==="min"?(s===null||d.value>s)&&(s=d.value):d.kind==="max"&&(u===null||d.value<u)&&(u=d.value)}return Number.isFinite(s)&&Number.isFinite(u)}}Cy.create=r=>new Cy({checks:[],typeName:Nt.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Lt(r)});class Ny extends It{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(u){if(this._def.coerce)try{u.data=BigInt(u.data)}catch{return this._getInvalidInput(u)}if(this._getType(u)!==at.bigint)return this._getInvalidInput(u);let d;const h=new jr;for(const y of this._def.checks)y.kind==="min"?(y.inclusive?u.data<y.value:u.data<=y.value)&&(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.too_small,type:"bigint",minimum:y.value,inclusive:y.inclusive,message:y.message}),h.dirty()):y.kind==="max"?(y.inclusive?u.data>y.value:u.data>=y.value)&&(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.too_big,type:"bigint",maximum:y.value,inclusive:y.inclusive,message:y.message}),h.dirty()):y.kind==="multipleOf"?u.data%y.value!==BigInt(0)&&(d=this._getOrReturnCtx(u,d),Ke(d,{code:Be.not_multiple_of,multipleOf:y.value,message:y.message}),h.dirty()):tn.assertNever(y);return{status:h.value,value:u.data}}_getInvalidInput(u){const s=this._getOrReturnCtx(u);return Ke(s,{code:Be.invalid_type,expected:at.bigint,received:s.parsedType}),Ct}gte(u,s){return this.setLimit("min",u,!0,rt.toString(s))}gt(u,s){return this.setLimit("min",u,!1,rt.toString(s))}lte(u,s){return this.setLimit("max",u,!0,rt.toString(s))}lt(u,s){return this.setLimit("max",u,!1,rt.toString(s))}setLimit(u,s,d,h){return new Ny({...this._def,checks:[...this._def.checks,{kind:u,value:s,inclusive:d,message:rt.toString(h)}]})}_addCheck(u){return new Ny({...this._def,checks:[...this._def.checks,u]})}positive(u){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:rt.toString(u)})}negative(u){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:rt.toString(u)})}nonpositive(u){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:rt.toString(u)})}nonnegative(u){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:rt.toString(u)})}multipleOf(u,s){return this._addCheck({kind:"multipleOf",value:u,message:rt.toString(s)})}get minValue(){let u=null;for(const s of this._def.checks)s.kind==="min"&&(u===null||s.value>u)&&(u=s.value);return u}get maxValue(){let u=null;for(const s of this._def.checks)s.kind==="max"&&(u===null||s.value<u)&&(u=s.value);return u}}Ny.create=r=>new Ny({checks:[],typeName:Nt.ZodBigInt,coerce:(r==null?void 0:r.coerce)??!1,...Lt(r)});class x2 extends It{_parse(u){if(this._def.coerce&&(u.data=!!u.data),this._getType(u)!==at.boolean){const d=this._getOrReturnCtx(u);return Ke(d,{code:Be.invalid_type,expected:at.boolean,received:d.parsedType}),Ct}return hi(u.data)}}x2.create=r=>new x2({typeName:Nt.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Lt(r)});class eb extends It{_parse(u){if(this._def.coerce&&(u.data=new Date(u.data)),this._getType(u)!==at.date){const y=this._getOrReturnCtx(u);return Ke(y,{code:Be.invalid_type,expected:at.date,received:y.parsedType}),Ct}if(Number.isNaN(u.data.getTime())){const y=this._getOrReturnCtx(u);return Ke(y,{code:Be.invalid_date}),Ct}const d=new jr;let h;for(const y of this._def.checks)y.kind==="min"?u.data.getTime()<y.value&&(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.too_small,message:y.message,inclusive:!0,exact:!1,minimum:y.value,type:"date"}),d.dirty()):y.kind==="max"?u.data.getTime()>y.value&&(h=this._getOrReturnCtx(u,h),Ke(h,{code:Be.too_big,message:y.message,inclusive:!0,exact:!1,maximum:y.value,type:"date"}),d.dirty()):tn.assertNever(y);return{status:d.value,value:new Date(u.data.getTime())}}_addCheck(u){return new eb({...this._def,checks:[...this._def.checks,u]})}min(u,s){return this._addCheck({kind:"min",value:u.getTime(),message:rt.toString(s)})}max(u,s){return this._addCheck({kind:"max",value:u.getTime(),message:rt.toString(s)})}get minDate(){let u=null;for(const s of this._def.checks)s.kind==="min"&&(u===null||s.value>u)&&(u=s.value);return u!=null?new Date(u):null}get maxDate(){let u=null;for(const s of this._def.checks)s.kind==="max"&&(u===null||s.value<u)&&(u=s.value);return u!=null?new Date(u):null}}eb.create=r=>new eb({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:Nt.ZodDate,...Lt(r)});class _2 extends It{_parse(u){if(this._getType(u)!==at.symbol){const d=this._getOrReturnCtx(u);return Ke(d,{code:Be.invalid_type,expected:at.symbol,received:d.parsedType}),Ct}return hi(u.data)}}_2.create=r=>new _2({typeName:Nt.ZodSymbol,...Lt(r)});class T2 extends It{_parse(u){if(this._getType(u)!==at.undefined){const d=this._getOrReturnCtx(u);return Ke(d,{code:Be.invalid_type,expected:at.undefined,received:d.parsedType}),Ct}return hi(u.data)}}T2.create=r=>new T2({typeName:Nt.ZodUndefined,...Lt(r)});class C2 extends It{_parse(u){if(this._getType(u)!==at.null){const d=this._getOrReturnCtx(u);return Ke(d,{code:Be.invalid_type,expected:at.null,received:d.parsedType}),Ct}return hi(u.data)}}C2.create=r=>new C2({typeName:Nt.ZodNull,...Lt(r)});class N2 extends It{constructor(){super(...arguments),this._any=!0}_parse(u){return hi(u.data)}}N2.create=r=>new N2({typeName:Nt.ZodAny,...Lt(r)});class A2 extends It{constructor(){super(...arguments),this._unknown=!0}_parse(u){return hi(u.data)}}A2.create=r=>new A2({typeName:Nt.ZodUnknown,...Lt(r)});class lc extends It{_parse(u){const s=this._getOrReturnCtx(u);return Ke(s,{code:Be.invalid_type,expected:at.never,received:s.parsedType}),Ct}}lc.create=r=>new lc({typeName:Nt.ZodNever,...Lt(r)});class D2 extends It{_parse(u){if(this._getType(u)!==at.undefined){const d=this._getOrReturnCtx(u);return Ke(d,{code:Be.invalid_type,expected:at.void,received:d.parsedType}),Ct}return hi(u.data)}}D2.create=r=>new D2({typeName:Nt.ZodVoid,...Lt(r)});class Zo extends It{_parse(u){const{ctx:s,status:d}=this._processInputParams(u),h=this._def;if(s.parsedType!==at.array)return Ke(s,{code:Be.invalid_type,expected:at.array,received:s.parsedType}),Ct;if(h.exactLength!==null){const b=s.data.length>h.exactLength.value,E=s.data.length<h.exactLength.value;(b||E)&&(Ke(s,{code:b?Be.too_big:Be.too_small,minimum:E?h.exactLength.value:void 0,maximum:b?h.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:h.exactLength.message}),d.dirty())}if(h.minLength!==null&&s.data.length<h.minLength.value&&(Ke(s,{code:Be.too_small,minimum:h.minLength.value,type:"array",inclusive:!0,exact:!1,message:h.minLength.message}),d.dirty()),h.maxLength!==null&&s.data.length>h.maxLength.value&&(Ke(s,{code:Be.too_big,maximum:h.maxLength.value,type:"array",inclusive:!0,exact:!1,message:h.maxLength.message}),d.dirty()),s.common.async)return Promise.all([...s.data].map((b,E)=>h.type._parseAsync(new nc(s,b,s.path,E)))).then(b=>jr.mergeArray(d,b));const y=[...s.data].map((b,E)=>h.type._parseSync(new nc(s,b,s.path,E)));return jr.mergeArray(d,y)}get element(){return this._def.type}min(u,s){return new Zo({...this._def,minLength:{value:u,message:rt.toString(s)}})}max(u,s){return new Zo({...this._def,maxLength:{value:u,message:rt.toString(s)}})}length(u,s){return new Zo({...this._def,exactLength:{value:u,message:rt.toString(s)}})}nonempty(u){return this.min(1,u)}}Zo.create=(r,u)=>new Zo({type:r,minLength:null,maxLength:null,exactLength:null,typeName:Nt.ZodArray,...Lt(u)});function km(r){if(r instanceof Aa){const u={};for(const s in r.shape){const d=r.shape[s];u[s]=rc.create(km(d))}return new Aa({...r._def,shape:()=>u})}else return r instanceof Zo?new Zo({...r._def,type:km(r.element)}):r instanceof rc?rc.create(km(r.unwrap())):r instanceof qm?qm.create(km(r.unwrap())):r instanceof Yf?Yf.create(r.items.map(u=>km(u))):r}class Aa extends It{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const u=this._def.shape(),s=tn.objectKeys(u);return this._cached={shape:u,keys:s},this._cached}_parse(u){if(this._getType(u)!==at.object){const C=this._getOrReturnCtx(u);return Ke(C,{code:Be.invalid_type,expected:at.object,received:C.parsedType}),Ct}const{status:d,ctx:h}=this._processInputParams(u),{shape:y,keys:b}=this._getCached(),E=[];if(!(this._def.catchall instanceof lc&&this._def.unknownKeys==="strip"))for(const C in h.data)b.includes(C)||E.push(C);const N=[];for(const C of b){const U=y[C],A=h.data[C];N.push({key:{status:"valid",value:C},value:U._parse(new nc(h,A,h.path,C)),alwaysSet:C in h.data})}if(this._def.catchall instanceof lc){const C=this._def.unknownKeys;if(C==="passthrough")for(const U of E)N.push({key:{status:"valid",value:U},value:{status:"valid",value:h.data[U]}});else if(C==="strict")E.length>0&&(Ke(h,{code:Be.unrecognized_keys,keys:E}),d.dirty());else if(C!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const C=this._def.catchall;for(const U of E){const A=h.data[U];N.push({key:{status:"valid",value:U},value:C._parse(new nc(h,A,h.path,U)),alwaysSet:U in h.data})}}return h.common.async?Promise.resolve().then(async()=>{const C=[];for(const U of N){const A=await U.key,R=await U.value;C.push({key:A,value:R,alwaysSet:U.alwaysSet})}return C}).then(C=>jr.mergeObjectSync(d,C)):jr.mergeObjectSync(d,N)}get shape(){return this._def.shape()}strict(u){return rt.errToObj,new Aa({...this._def,unknownKeys:"strict",...u!==void 0?{errorMap:(s,d)=>{var y,b;const h=((b=(y=this._def).errorMap)==null?void 0:b.call(y,s,d).message)??d.defaultError;return s.code==="unrecognized_keys"?{message:rt.errToObj(u).message??h}:{message:h}}}:{}})}strip(){return new Aa({...this._def,unknownKeys:"strip"})}passthrough(){return new Aa({...this._def,unknownKeys:"passthrough"})}extend(u){return new Aa({...this._def,shape:()=>({...this._def.shape(),...u})})}merge(u){return new Aa({unknownKeys:u._def.unknownKeys,catchall:u._def.catchall,shape:()=>({...this._def.shape(),...u._def.shape()}),typeName:Nt.ZodObject})}setKey(u,s){return this.augment({[u]:s})}catchall(u){return new Aa({...this._def,catchall:u})}pick(u){const s={};for(const d of tn.objectKeys(u))u[d]&&this.shape[d]&&(s[d]=this.shape[d]);return new Aa({...this._def,shape:()=>s})}omit(u){const s={};for(const d of tn.objectKeys(this.shape))u[d]||(s[d]=this.shape[d]);return new Aa({...this._def,shape:()=>s})}deepPartial(){return km(this)}partial(u){const s={};for(const d of tn.objectKeys(this.shape)){const h=this.shape[d];u&&!u[d]?s[d]=h:s[d]=h.optional()}return new Aa({...this._def,shape:()=>s})}required(u){const s={};for(const d of tn.objectKeys(this.shape))if(u&&!u[d])s[d]=this.shape[d];else{let y=this.shape[d];for(;y instanceof rc;)y=y._def.innerType;s[d]=y}return new Aa({...this._def,shape:()=>s})}keyof(){return M2(tn.objectKeys(this.shape))}}Aa.create=(r,u)=>new Aa({shape:()=>r,unknownKeys:"strip",catchall:lc.create(),typeName:Nt.ZodObject,...Lt(u)}),Aa.strictCreate=(r,u)=>new Aa({shape:()=>r,unknownKeys:"strict",catchall:lc.create(),typeName:Nt.ZodObject,...Lt(u)}),Aa.lazycreate=(r,u)=>new Aa({shape:r,unknownKeys:"strip",catchall:lc.create(),typeName:Nt.ZodObject,...Lt(u)});class tb extends It{_parse(u){const{ctx:s}=this._processInputParams(u),d=this._def.options;function h(y){for(const E of y)if(E.result.status==="valid")return E.result;for(const E of y)if(E.result.status==="dirty")return s.common.issues.push(...E.ctx.common.issues),E.result;const b=y.map(E=>new Lu(E.ctx.common.issues));return Ke(s,{code:Be.invalid_union,unionErrors:b}),Ct}if(s.common.async)return Promise.all(d.map(async y=>{const b={...s,common:{...s.common,issues:[]},parent:null};return{result:await y._parseAsync({data:s.data,path:s.path,parent:b}),ctx:b}})).then(h);{let y;const b=[];for(const N of d){const C={...s,common:{...s.common,issues:[]},parent:null},U=N._parseSync({data:s.data,path:s.path,parent:C});if(U.status==="valid")return U;U.status==="dirty"&&!y&&(y={result:U,ctx:C}),C.common.issues.length&&b.push(C.common.issues)}if(y)return s.common.issues.push(...y.ctx.common.issues),y.result;const E=b.map(N=>new Lu(N));return Ke(s,{code:Be.invalid_union,unionErrors:E}),Ct}}get options(){return this._def.options}}tb.create=(r,u)=>new tb({options:r,typeName:Nt.ZodUnion,...Lt(u)});function gE(r,u){const s=tc(r),d=tc(u);if(r===u)return{valid:!0,data:r};if(s===at.object&&d===at.object){const h=tn.objectKeys(u),y=tn.objectKeys(r).filter(E=>h.indexOf(E)!==-1),b={...r,...u};for(const E of y){const N=gE(r[E],u[E]);if(!N.valid)return{valid:!1};b[E]=N.data}return{valid:!0,data:b}}else if(s===at.array&&d===at.array){if(r.length!==u.length)return{valid:!1};const h=[];for(let y=0;y<r.length;y++){const b=r[y],E=u[y],N=gE(b,E);if(!N.valid)return{valid:!1};h.push(N.data)}return{valid:!0,data:h}}else return s===at.date&&d===at.date&&+r==+u?{valid:!0,data:r}:{valid:!1}}class nb extends It{_parse(u){const{status:s,ctx:d}=this._processInputParams(u),h=(y,b)=>{if(g2(y)||g2(b))return Ct;const E=gE(y.value,b.value);return E.valid?((v2(y)||v2(b))&&s.dirty(),{status:s.value,value:E.data}):(Ke(d,{code:Be.invalid_intersection_types}),Ct)};return d.common.async?Promise.all([this._def.left._parseAsync({data:d.data,path:d.path,parent:d}),this._def.right._parseAsync({data:d.data,path:d.path,parent:d})]).then(([y,b])=>h(y,b)):h(this._def.left._parseSync({data:d.data,path:d.path,parent:d}),this._def.right._parseSync({data:d.data,path:d.path,parent:d}))}}nb.create=(r,u,s)=>new nb({left:r,right:u,typeName:Nt.ZodIntersection,...Lt(s)});class Yf extends It{_parse(u){const{status:s,ctx:d}=this._processInputParams(u);if(d.parsedType!==at.array)return Ke(d,{code:Be.invalid_type,expected:at.array,received:d.parsedType}),Ct;if(d.data.length<this._def.items.length)return Ke(d,{code:Be.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ct;!this._def.rest&&d.data.length>this._def.items.length&&(Ke(d,{code:Be.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),s.dirty());const y=[...d.data].map((b,E)=>{const N=this._def.items[E]||this._def.rest;return N?N._parse(new nc(d,b,d.path,E)):null}).filter(b=>!!b);return d.common.async?Promise.all(y).then(b=>jr.mergeArray(s,b)):jr.mergeArray(s,y)}get items(){return this._def.items}rest(u){return new Yf({...this._def,rest:u})}}Yf.create=(r,u)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Yf({items:r,typeName:Nt.ZodTuple,rest:null,...Lt(u)})};class R2 extends It{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(u){const{status:s,ctx:d}=this._processInputParams(u);if(d.parsedType!==at.map)return Ke(d,{code:Be.invalid_type,expected:at.map,received:d.parsedType}),Ct;const h=this._def.keyType,y=this._def.valueType,b=[...d.data.entries()].map(([E,N],C)=>({key:h._parse(new nc(d,E,d.path,[C,"key"])),value:y._parse(new nc(d,N,d.path,[C,"value"]))}));if(d.common.async){const E=new Map;return Promise.resolve().then(async()=>{for(const N of b){const C=await N.key,U=await N.value;if(C.status==="aborted"||U.status==="aborted")return Ct;(C.status==="dirty"||U.status==="dirty")&&s.dirty(),E.set(C.value,U.value)}return{status:s.value,value:E}})}else{const E=new Map;for(const N of b){const C=N.key,U=N.value;if(C.status==="aborted"||U.status==="aborted")return Ct;(C.status==="dirty"||U.status==="dirty")&&s.dirty(),E.set(C.value,U.value)}return{status:s.value,value:E}}}}R2.create=(r,u,s)=>new R2({valueType:u,keyType:r,typeName:Nt.ZodMap,...Lt(s)});class Ay extends It{_parse(u){const{status:s,ctx:d}=this._processInputParams(u);if(d.parsedType!==at.set)return Ke(d,{code:Be.invalid_type,expected:at.set,received:d.parsedType}),Ct;const h=this._def;h.minSize!==null&&d.data.size<h.minSize.value&&(Ke(d,{code:Be.too_small,minimum:h.minSize.value,type:"set",inclusive:!0,exact:!1,message:h.minSize.message}),s.dirty()),h.maxSize!==null&&d.data.size>h.maxSize.value&&(Ke(d,{code:Be.too_big,maximum:h.maxSize.value,type:"set",inclusive:!0,exact:!1,message:h.maxSize.message}),s.dirty());const y=this._def.valueType;function b(N){const C=new Set;for(const U of N){if(U.status==="aborted")return Ct;U.status==="dirty"&&s.dirty(),C.add(U.value)}return{status:s.value,value:C}}const E=[...d.data.values()].map((N,C)=>y._parse(new nc(d,N,d.path,C)));return d.common.async?Promise.all(E).then(N=>b(N)):b(E)}min(u,s){return new Ay({...this._def,minSize:{value:u,message:rt.toString(s)}})}max(u,s){return new Ay({...this._def,maxSize:{value:u,message:rt.toString(s)}})}size(u,s){return this.min(u,s).max(u,s)}nonempty(u){return this.min(1,u)}}Ay.create=(r,u)=>new Ay({valueType:r,minSize:null,maxSize:null,typeName:Nt.ZodSet,...Lt(u)});class O2 extends It{get schema(){return this._def.getter()}_parse(u){const{ctx:s}=this._processInputParams(u);return this._def.getter()._parse({data:s.data,path:s.path,parent:s})}}O2.create=(r,u)=>new O2({getter:r,typeName:Nt.ZodLazy,...Lt(u)});class w2 extends It{_parse(u){if(u.data!==this._def.value){const s=this._getOrReturnCtx(u);return Ke(s,{received:s.data,code:Be.invalid_literal,expected:this._def.value}),Ct}return{status:"valid",value:u.data}}get value(){return this._def.value}}w2.create=(r,u)=>new w2({value:r,typeName:Nt.ZodLiteral,...Lt(u)});function M2(r,u){return new Hm({values:r,typeName:Nt.ZodEnum,...Lt(u)})}class Hm extends It{_parse(u){if(typeof u.data!="string"){const s=this._getOrReturnCtx(u),d=this._def.values;return Ke(s,{expected:tn.joinValues(d),received:s.parsedType,code:Be.invalid_type}),Ct}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(u.data)){const s=this._getOrReturnCtx(u),d=this._def.values;return Ke(s,{received:s.data,code:Be.invalid_enum_value,options:d}),Ct}return hi(u.data)}get options(){return this._def.values}get enum(){const u={};for(const s of this._def.values)u[s]=s;return u}get Values(){const u={};for(const s of this._def.values)u[s]=s;return u}get Enum(){const u={};for(const s of this._def.values)u[s]=s;return u}extract(u,s=this._def){return Hm.create(u,{...this._def,...s})}exclude(u,s=this._def){return Hm.create(this.options.filter(d=>!u.includes(d)),{...this._def,...s})}}Hm.create=M2;class z2 extends It{_parse(u){const s=tn.getValidEnumValues(this._def.values),d=this._getOrReturnCtx(u);if(d.parsedType!==at.string&&d.parsedType!==at.number){const h=tn.objectValues(s);return Ke(d,{expected:tn.joinValues(h),received:d.parsedType,code:Be.invalid_type}),Ct}if(this._cache||(this._cache=new Set(tn.getValidEnumValues(this._def.values))),!this._cache.has(u.data)){const h=tn.objectValues(s);return Ke(d,{received:d.data,code:Be.invalid_enum_value,options:h}),Ct}return hi(u.data)}get enum(){return this._def.values}}z2.create=(r,u)=>new z2({values:r,typeName:Nt.ZodNativeEnum,...Lt(u)});class ab extends It{unwrap(){return this._def.type}_parse(u){const{ctx:s}=this._processInputParams(u);if(s.parsedType!==at.promise&&s.common.async===!1)return Ke(s,{code:Be.invalid_type,expected:at.promise,received:s.parsedType}),Ct;const d=s.parsedType===at.promise?s.data:Promise.resolve(s.data);return hi(d.then(h=>this._def.type.parseAsync(h,{path:s.path,errorMap:s.common.contextualErrorMap})))}}ab.create=(r,u)=>new ab({type:r,typeName:Nt.ZodPromise,...Lt(u)});class Lm extends It{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Nt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(u){const{status:s,ctx:d}=this._processInputParams(u),h=this._def.effect||null,y={addIssue:b=>{Ke(d,b),b.fatal?s.abort():s.dirty()},get path(){return d.path}};if(y.addIssue=y.addIssue.bind(y),h.type==="preprocess"){const b=h.transform(d.data,y);if(d.common.async)return Promise.resolve(b).then(async E=>{if(s.value==="aborted")return Ct;const N=await this._def.schema._parseAsync({data:E,path:d.path,parent:d});return N.status==="aborted"?Ct:N.status==="dirty"||s.value==="dirty"?Ty(N.value):N});{if(s.value==="aborted")return Ct;const E=this._def.schema._parseSync({data:b,path:d.path,parent:d});return E.status==="aborted"?Ct:E.status==="dirty"||s.value==="dirty"?Ty(E.value):E}}if(h.type==="refinement"){const b=E=>{const N=h.refinement(E,y);if(d.common.async)return Promise.resolve(N);if(N instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return E};if(d.common.async===!1){const E=this._def.schema._parseSync({data:d.data,path:d.path,parent:d});return E.status==="aborted"?Ct:(E.status==="dirty"&&s.dirty(),b(E.value),{status:s.value,value:E.value})}else return this._def.schema._parseAsync({data:d.data,path:d.path,parent:d}).then(E=>E.status==="aborted"?Ct:(E.status==="dirty"&&s.dirty(),b(E.value).then(()=>({status:s.value,value:E.value}))))}if(h.type==="transform")if(d.common.async===!1){const b=this._def.schema._parseSync({data:d.data,path:d.path,parent:d});if(!Bm(b))return Ct;const E=h.transform(b.value,y);if(E instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:s.value,value:E}}else return this._def.schema._parseAsync({data:d.data,path:d.path,parent:d}).then(b=>Bm(b)?Promise.resolve(h.transform(b.value,y)).then(E=>({status:s.value,value:E})):Ct);tn.assertNever(h)}}Lm.create=(r,u,s)=>new Lm({schema:r,typeName:Nt.ZodEffects,effect:u,...Lt(s)}),Lm.createWithPreprocess=(r,u,s)=>new Lm({schema:u,effect:{type:"preprocess",transform:r},typeName:Nt.ZodEffects,...Lt(s)});class rc extends It{_parse(u){return this._getType(u)===at.undefined?hi(void 0):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}rc.create=(r,u)=>new rc({innerType:r,typeName:Nt.ZodOptional,...Lt(u)});class qm extends It{_parse(u){return this._getType(u)===at.null?hi(null):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}qm.create=(r,u)=>new qm({innerType:r,typeName:Nt.ZodNullable,...Lt(u)});class vE extends It{_parse(u){const{ctx:s}=this._processInputParams(u);let d=s.data;return s.parsedType===at.undefined&&(d=this._def.defaultValue()),this._def.innerType._parse({data:d,path:s.path,parent:s})}removeDefault(){return this._def.innerType}}vE.create=(r,u)=>new vE({innerType:r,typeName:Nt.ZodDefault,defaultValue:typeof u.default=="function"?u.default:()=>u.default,...Lt(u)});class bE extends It{_parse(u){const{ctx:s}=this._processInputParams(u),d={...s,common:{...s.common,issues:[]}},h=this._def.innerType._parse({data:d.data,path:d.path,parent:{...d}});return Wv(h)?h.then(y=>({status:"valid",value:y.status==="valid"?y.value:this._def.catchValue({get error(){return new Lu(d.common.issues)},input:d.data})})):{status:"valid",value:h.status==="valid"?h.value:this._def.catchValue({get error(){return new Lu(d.common.issues)},input:d.data})}}removeCatch(){return this._def.innerType}}bE.create=(r,u)=>new bE({innerType:r,typeName:Nt.ZodCatch,catchValue:typeof u.catch=="function"?u.catch:()=>u.catch,...Lt(u)});class j2 extends It{_parse(u){if(this._getType(u)!==at.nan){const d=this._getOrReturnCtx(u);return Ke(d,{code:Be.invalid_type,expected:at.nan,received:d.parsedType}),Ct}return{status:"valid",value:u.data}}}j2.create=r=>new j2({typeName:Nt.ZodNaN,...Lt(r)});class rR extends It{_parse(u){const{ctx:s}=this._processInputParams(u),d=s.data;return this._def.type._parse({data:d,path:s.path,parent:s})}unwrap(){return this._def.type}}class SE extends It{_parse(u){const{status:s,ctx:d}=this._processInputParams(u);if(d.common.async)return(async()=>{const y=await this._def.in._parseAsync({data:d.data,path:d.path,parent:d});return y.status==="aborted"?Ct:y.status==="dirty"?(s.dirty(),Ty(y.value)):this._def.out._parseAsync({data:y.value,path:d.path,parent:d})})();{const h=this._def.in._parseSync({data:d.data,path:d.path,parent:d});return h.status==="aborted"?Ct:h.status==="dirty"?(s.dirty(),{status:"dirty",value:h.value}):this._def.out._parseSync({data:h.value,path:d.path,parent:d})}}static create(u,s){return new SE({in:u,out:s,typeName:Nt.ZodPipeline})}}class EE extends It{_parse(u){const s=this._def.innerType._parse(u),d=h=>(Bm(h)&&(h.value=Object.freeze(h.value)),h);return Wv(s)?s.then(h=>d(h)):d(s)}unwrap(){return this._def.innerType}}EE.create=(r,u)=>new EE({innerType:r,typeName:Nt.ZodReadonly,...Lt(u)});var Nt;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(Nt||(Nt={}));const U2=ac.create;lc.create,Zo.create;const iR=Aa.create;tb.create,nb.create,Yf.create,Hm.create,ab.create,rc.create,qm.create;const oR=iR({securityNumber:U2({required_error:"CPF é obrigatório."}).refine(r=>r.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(r=>{const u=r.replace(/\D/g,"");return!!Number(u)},"CPF deve conter apenas números."),coupon:U2({required_error:"Cupom / ID do Cartão obrigatório."}).optional()});var xE={exports:{}};/*!
43
+ `+dl+e+ml}var In=!1;function Pn(e,t){if(!e||In)return"";In=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(V){var z=V}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(V){z=V}e.call(Y.prototype)}}else{try{throw Error()}catch(V){z=V}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(V){if(V&&z&&typeof V.stack=="string")return[V.stack,z.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=i.DetermineComponentFrameRoot(),m=c[0],g=c[1];if(m&&g){var _=m.split(`
44
+ `),M=g.split(`
45
+ `);for(u=i=0;i<_.length&&!_[i].includes("DetermineComponentFrameRoot");)i++;for(;u<M.length&&!M[u].includes("DetermineComponentFrameRoot");)u++;if(i===_.length||u===M.length)for(i=_.length-1,u=M.length-1;1<=i&&0<=u&&_[i]!==M[u];)u--;for(;1<=i&&0<=u;i--,u--)if(_[i]!==M[u]){if(i!==1||u!==1)do if(i--,u--,0>u||_[i]!==M[u]){var L=`
46
+ `+_[i].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=i&&0<=u);break}}}finally{In=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?nr(a):""}function Ac(e,t){switch(e.tag){case 26:case 27:case 5:return nr(e.type);case 16:return nr("Lazy");case 13:return e.child!==t&&t!==null?nr("Suspense Fallback"):nr("Suspense");case 19:return nr("SuspenseList");case 0:case 15:return Pn(e.type,!1);case 11:return Pn(e.type.render,!1);case 1:return Pn(e.type,!0);case 31:return nr("Activity");default:return""}}function $s(e){try{var t="",a=null;do t+=Ac(e,a),a=e,e=e.return;while(e);return t}catch(i){return`
47
+ Error generating stack: `+i.message+`
48
+ `+i.stack}}var Fs=Object.prototype.hasOwnProperty,Wn=n.unstable_scheduleCallback,E=n.unstable_cancelCallback,O=n.unstable_shouldYield,j=n.unstable_requestPaint,W=n.unstable_now,ee=n.unstable_getCurrentPriorityLevel,ae=n.unstable_ImmediatePriority,me=n.unstable_UserBlockingPriority,ve=n.unstable_NormalPriority,Ye=n.unstable_LowPriority,Yt=n.unstable_IdlePriority,Na=n.log,$t=n.unstable_setDisableYieldValue,mn=null,jt=null;function Sa(e){if(typeof Na=="function"&&$t(e),jt&&typeof jt.setStrictMode=="function")try{jt.setStrictMode(mn,e)}catch{}}var Xt=Math.clz32?Math.clz32:Xs,Qs=Math.log,Tc=Math.LN2;function Xs(e){return e>>>=0,e===0?32:31-(Qs(e)/Tc|0)|0}var Ks=256,Js=262144,Is=4194304;function hn(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ps(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var u=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var g=i&134217727;return g!==0?(i=g&~c,i!==0?u=hn(i):(m&=g,m!==0?u=hn(m):a||(a=g&~e,a!==0&&(u=hn(a))))):(g=i&~c,g!==0?u=hn(g):m!==0?u=hn(m):a||(a=i&~e,a!==0&&(u=hn(a)))),u===0?0:t!==0&&t!==u&&(t&c)===0&&(c=u&-u,a=t&-t,c>=a||c===32&&(a&4194048)!==0)?t:u}function hl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function H_(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Mp(){var e=Is;return Is<<=1,(Is&62914560)===0&&(Is=4194304),e}function Oc(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function pl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function G_(e,t,a,i,u,c){var m=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var g=e.entanglements,_=e.expirationTimes,M=e.hiddenUpdates;for(a=m&~a;0<a;){var L=31-Xt(a),Y=1<<L;g[L]=0,_[L]=-1;var z=M[L];if(z!==null)for(M[L]=null,L=0;L<z.length;L++){var V=z[L];V!==null&&(V.lane&=-536870913)}a&=~Y}i!==0&&zp(e,i,0),c!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function zp(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Xt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function kp(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-Xt(a),u=1<<i;u&t|e[i]&t&&(e[i]|=t),a&=~u}}function jp(e,t){var a=t&-t;return a=(a&42)!==0?1:Rc(a),(a&(e.suspendedLanes|t))!==0?0:a}function Rc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Mc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Vp(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Nb(e.type))}function Bp(e,t){var a=J.p;try{return J.p=e,t()}finally{J.p=a}}var Rr=Math.random().toString(36).slice(2),Vt="__reactFiber$"+Rr,Wt="__reactProps$"+Rr,ei="__reactContainer$"+Rr,zc="__reactEvents$"+Rr,Z_="__reactListeners$"+Rr,Y_="__reactHandles$"+Rr,Up="__reactResources$"+Rr,gl="__reactMarker$"+Rr;function kc(e){delete e[Vt],delete e[Wt],delete e[zc],delete e[Z_],delete e[Y_]}function ti(e){var t=e[Vt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ei]||a[Vt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=ib(e);e!==null;){if(a=e[Vt])return a;e=ib(e)}return t}e=a,a=e.parentNode}return null}function ai(e){if(e=e[Vt]||e[ei]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function yl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function ri(e){var t=e[Up];return t||(t=e[Up]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Rt(e){e[gl]=!0}var Lp=new Set,qp={};function pn(e,t){ni(e,t),ni(e+"Capture",t)}function ni(e,t){for(qp[e]=t,e=0;e<t.length;e++)Lp.add(t[e])}var $_=RegExp("^[: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]*$"),Hp={},Gp={};function F_(e){return Fs.call(Gp,e)?!0:Fs.call(Hp,e)?!1:$_.test(e)?Gp[e]=!0:(Hp[e]=!0,!1)}function Ws(e,t,a){if(F_(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function eo(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function ir(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+i)}}function _a(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Q_(e,t,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var u=i.get,c=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(m){a=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(m){a=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function jc(e){if(!e._valueTracker){var t=Zp(e)?"checked":"value";e._valueTracker=Q_(e,t,""+e[t])}}function Yp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=Zp(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function to(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 X_=/[\n"\\]/g;function Ca(e){return e.replace(X_,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Vc(e,t,a,i,u,c,m,g){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+_a(t)):e.value!==""+_a(t)&&(e.value=""+_a(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?Bc(e,m,_a(t)):a!=null?Bc(e,m,_a(a)):i!=null&&e.removeAttribute("value"),u==null&&c!=null&&(e.defaultChecked=!!c),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+_a(g):e.removeAttribute("name")}function $p(e,t,a,i,u,c,m,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){jc(e);return}a=a!=null?""+_a(a):"",t=t!=null?""+_a(t):a,g||t===e.value||(e.value=t),e.defaultValue=t}i=i??u,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=g?e.checked:!!i,e.defaultChecked=!!i,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),jc(e)}function Bc(e,t,a){t==="number"&&to(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function ii(e,t,a,i){if(e=e.options,t){t={};for(var u=0;u<a.length;u++)t["$"+a[u]]=!0;for(a=0;a<e.length;a++)u=t.hasOwnProperty("$"+e[a].value),e[a].selected!==u&&(e[a].selected=u),u&&i&&(e[a].defaultSelected=!0)}else{for(a=""+_a(a),t=null,u=0;u<e.length;u++){if(e[u].value===a){e[u].selected=!0,i&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Fp(e,t,a){if(t!=null&&(t=""+_a(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+_a(a):""}function Qp(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error(o(92));if(Z(i)){if(1<i.length)throw Error(o(93));i=i[0]}a=i}a==null&&(a=""),t=a}a=_a(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),jc(e)}function li(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var K_=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Xp(e,t,a){var i=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||K_.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Kp(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var u in t)i=t[u],t.hasOwnProperty(u)&&a[u]!==i&&Xp(e,u,i)}else for(var c in t)t.hasOwnProperty(c)&&Xp(e,c,t[c])}function Uc(e){if(e.indexOf("-")===-1)return!1;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 J_=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),I_=/^[\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;function ao(e){return I_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function lr(){}var Lc=null;function qc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var si=null,oi=null;function Jp(e){var t=ai(e);if(t&&(e=t.stateNode)){var a=e[Wt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Vc(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ca(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var u=i[Wt]||null;if(!u)throw Error(o(90));Vc(i,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&Yp(i)}break e;case"textarea":Fp(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ii(e,!!a.multiple,t,!1)}}}var Hc=!1;function Ip(e,t,a){if(Hc)return e(t,a);Hc=!0;try{var i=e(t);return i}finally{if(Hc=!1,(si!==null||oi!==null)&&(Yo(),si&&(t=si,e=oi,oi=si=null,Jp(t),e)))for(t=0;t<e.length;t++)Jp(e[t])}}function bl(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Wt]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var sr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gc=!1;if(sr)try{var vl={};Object.defineProperty(vl,"passive",{get:function(){Gc=!0}}),window.addEventListener("test",vl,vl),window.removeEventListener("test",vl,vl)}catch{Gc=!1}var Mr=null,Zc=null,ro=null;function Pp(){if(ro)return ro;var e,t=Zc,a=t.length,i,u="value"in Mr?Mr.value:Mr.textContent,c=u.length;for(e=0;e<a&&t[e]===u[e];e++);var m=a-e;for(i=1;i<=m&&t[a-i]===u[c-i];i++);return ro=u.slice(e,1<i?1-i:void 0)}function no(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function io(){return!0}function Wp(){return!1}function ea(e){function t(a,i,u,c,m){this._reactName=a,this._targetInst=u,this.type=i,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(a=e[g],this[g]=a?a(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?io:Wp,this.isPropagationStopped=Wp,this}return C(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=io)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=io)},persist:function(){},isPersistent:io}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lo=ea(gn),xl=C({},gn,{view:0,detail:0}),P_=ea(xl),Yc,$c,Nl,so=C({},xl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qc,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:(e!==Nl&&(Nl&&e.type==="mousemove"?(Yc=e.screenX-Nl.screenX,$c=e.screenY-Nl.screenY):$c=Yc=0,Nl=e),Yc)},movementY:function(e){return"movementY"in e?e.movementY:$c}}),eg=ea(so),W_=C({},so,{dataTransfer:0}),eC=ea(W_),tC=C({},xl,{relatedTarget:0}),Fc=ea(tC),aC=C({},gn,{animationName:0,elapsedTime:0,pseudoElement:0}),rC=ea(aC),nC=C({},gn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),iC=ea(nC),lC=C({},gn,{data:0}),tg=ea(lC),sC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oC={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"},uC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uC[e])?!!t[e]:!1}function Qc(){return cC}var fC=C({},xl,{key:function(e){if(e.key){var t=sC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=no(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?oC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qc,charCode:function(e){return e.type==="keypress"?no(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?no(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),dC=ea(fC),mC=C({},so,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ag=ea(mC),hC=C({},xl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qc}),pC=ea(hC),gC=C({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0}),yC=ea(gC),bC=C({},so,{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}),vC=ea(bC),xC=C({},gn,{newState:0,oldState:0}),NC=ea(xC),SC=[9,13,27,32],Xc=sr&&"CompositionEvent"in window,Sl=null;sr&&"documentMode"in document&&(Sl=document.documentMode);var _C=sr&&"TextEvent"in window&&!Sl,rg=sr&&(!Xc||Sl&&8<Sl&&11>=Sl),ng=" ",ig=!1;function lg(e,t){switch(e){case"keyup":return SC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ui=!1;function CC(e,t){switch(e){case"compositionend":return sg(t);case"keypress":return t.which!==32?null:(ig=!0,ng);case"textInput":return e=t.data,e===ng&&ig?null:e;default:return null}}function EC(e,t){if(ui)return e==="compositionend"||!Xc&&lg(e,t)?(e=Pp(),ro=Zc=Mr=null,ui=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rg&&t.locale!=="ko"?null:t.data;default:return null}}var wC={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 og(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!wC[e.type]:t==="textarea"}function ug(e,t,a,i){si?oi?oi.push(i):oi=[i]:si=i,t=Io(t,"onChange"),0<t.length&&(a=new lo("onChange","change",null,a,i),e.push({event:a,listeners:t}))}var _l=null,Cl=null;function DC(e){$y(e,0)}function oo(e){var t=yl(e);if(Yp(t))return e}function cg(e,t){if(e==="change")return t}var fg=!1;if(sr){var Kc;if(sr){var Jc="oninput"in document;if(!Jc){var dg=document.createElement("div");dg.setAttribute("oninput","return;"),Jc=typeof dg.oninput=="function"}Kc=Jc}else Kc=!1;fg=Kc&&(!document.documentMode||9<document.documentMode)}function mg(){_l&&(_l.detachEvent("onpropertychange",hg),Cl=_l=null)}function hg(e){if(e.propertyName==="value"&&oo(Cl)){var t=[];ug(t,Cl,e,qc(e)),Ip(DC,t)}}function AC(e,t,a){e==="focusin"?(mg(),_l=t,Cl=a,_l.attachEvent("onpropertychange",hg)):e==="focusout"&&mg()}function TC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return oo(Cl)}function OC(e,t){if(e==="click")return oo(t)}function RC(e,t){if(e==="input"||e==="change")return oo(t)}function MC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ca=typeof Object.is=="function"?Object.is:MC;function El(e,t){if(ca(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(i=0;i<a.length;i++){var u=a[i];if(!Fs.call(t,u)||!ca(e[u],t[u]))return!1}return!0}function pg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gg(e,t){var a=pg(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=pg(a)}}function yg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=to(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=to(e.document)}return t}function Ic(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")}var zC=sr&&"documentMode"in document&&11>=document.documentMode,ci=null,Pc=null,wl=null,Wc=!1;function vg(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Wc||ci==null||ci!==to(i)||(i=ci,"selectionStart"in i&&Ic(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),wl&&El(wl,i)||(wl=i,i=Io(Pc,"onSelect"),0<i.length&&(t=new lo("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=ci)))}function yn(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var fi={animationend:yn("Animation","AnimationEnd"),animationiteration:yn("Animation","AnimationIteration"),animationstart:yn("Animation","AnimationStart"),transitionrun:yn("Transition","TransitionRun"),transitionstart:yn("Transition","TransitionStart"),transitioncancel:yn("Transition","TransitionCancel"),transitionend:yn("Transition","TransitionEnd")},ef={},xg={};sr&&(xg=document.createElement("div").style,"AnimationEvent"in window||(delete fi.animationend.animation,delete fi.animationiteration.animation,delete fi.animationstart.animation),"TransitionEvent"in window||delete fi.transitionend.transition);function bn(e){if(ef[e])return ef[e];if(!fi[e])return e;var t=fi[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in xg)return ef[e]=t[a];return e}var Ng=bn("animationend"),Sg=bn("animationiteration"),_g=bn("animationstart"),kC=bn("transitionrun"),jC=bn("transitionstart"),VC=bn("transitioncancel"),Cg=bn("transitionend"),Eg=new Map,tf="abort auxClick beforeToggle 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(" ");tf.push("scrollEnd");function Ba(e,t){Eg.set(e,t),pn(t,[e])}var uo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof r=="object"&&typeof r.emit=="function"){r.emit("uncaughtException",e);return}console.error(e)},Ea=[],di=0,af=0;function co(){for(var e=di,t=af=di=0;t<e;){var a=Ea[t];Ea[t++]=null;var i=Ea[t];Ea[t++]=null;var u=Ea[t];Ea[t++]=null;var c=Ea[t];if(Ea[t++]=null,i!==null&&u!==null){var m=i.pending;m===null?u.next=u:(u.next=m.next,m.next=u),i.pending=u}c!==0&&wg(a,u,c)}}function fo(e,t,a,i){Ea[di++]=e,Ea[di++]=t,Ea[di++]=a,Ea[di++]=i,af|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function rf(e,t,a,i){return fo(e,t,a,i),mo(e)}function vn(e,t){return fo(e,null,null,t),mo(e)}function wg(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var u=!1,c=e.return;c!==null;)c.childLanes|=a,i=c.alternate,i!==null&&(i.childLanes|=a),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(u=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,u&&t!==null&&(u=31-Xt(a),e=c.hiddenUpdates,i=e[u],i===null?e[u]=[t]:i.push(t),t.lane=a|536870912),c):null}function mo(e){if(50<Xl)throw Xl=0,md=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var mi={};function BC(e,t,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fa(e,t,a,i){return new BC(e,t,a,i)}function nf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function or(e,t){var a=e.alternate;return a===null?(a=fa(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Dg(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ho(e,t,a,i,u,c){var m=0;if(i=e,typeof e=="function")nf(e)&&(m=1);else if(typeof e=="string")m=G5(e,a,ce.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ue:return e=fa(31,a,t,u),e.elementType=Ue,e.lanes=c,e;case q:return xn(a.children,u,c,t);case te:m=8,u|=24;break;case Q:return e=fa(12,a,t,u|2),e.elementType=Q,e.lanes=c,e;case K:return e=fa(13,a,t,u),e.elementType=K,e.lanes=c,e;case ne:return e=fa(19,a,t,u),e.elementType=ne,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case I:m=10;break e;case le:m=9;break e;case B:m=11;break e;case de:m=14;break e;case we:m=16,i=null;break e}m=29,a=Error(o(130,e===null?"null":typeof e,"")),i=null}return t=fa(m,a,t,u),t.elementType=e,t.type=i,t.lanes=c,t}function xn(e,t,a,i){return e=fa(7,e,i,t),e.lanes=a,e}function lf(e,t,a){return e=fa(6,e,null,t),e.lanes=a,e}function Ag(e){var t=fa(18,null,null,0);return t.stateNode=e,t}function sf(e,t,a){return t=fa(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Tg=new WeakMap;function wa(e,t){if(typeof e=="object"&&e!==null){var a=Tg.get(e);return a!==void 0?a:(t={value:e,source:t,stack:$s(t)},Tg.set(e,t),t)}return{value:e,source:t,stack:$s(t)}}var hi=[],pi=0,po=null,Dl=0,Da=[],Aa=0,zr=null,Fa=1,Qa="";function ur(e,t){hi[pi++]=Dl,hi[pi++]=po,po=e,Dl=t}function Og(e,t,a){Da[Aa++]=Fa,Da[Aa++]=Qa,Da[Aa++]=zr,zr=e;var i=Fa;e=Qa;var u=32-Xt(i)-1;i&=~(1<<u),a+=1;var c=32-Xt(t)+u;if(30<c){var m=u-u%5;c=(i&(1<<m)-1).toString(32),i>>=m,u-=m,Fa=1<<32-Xt(t)+u|a<<u|i,Qa=c+e}else Fa=1<<c|a<<u|i,Qa=e}function of(e){e.return!==null&&(ur(e,1),Og(e,1,0))}function uf(e){for(;e===po;)po=hi[--pi],hi[pi]=null,Dl=hi[--pi],hi[pi]=null;for(;e===zr;)zr=Da[--Aa],Da[Aa]=null,Qa=Da[--Aa],Da[Aa]=null,Fa=Da[--Aa],Da[Aa]=null}function Rg(e,t){Da[Aa++]=Fa,Da[Aa++]=Qa,Da[Aa++]=zr,Fa=t.id,Qa=t.overflow,zr=e}var Bt=null,it=null,je=!1,kr=null,Ta=!1,cf=Error(o(519));function jr(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Al(wa(t,e)),cf}function Mg(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Vt]=e,t[Wt]=i,a){case"dialog":Me("cancel",t),Me("close",t);break;case"iframe":case"object":case"embed":Me("load",t);break;case"video":case"audio":for(a=0;a<Jl.length;a++)Me(Jl[a],t);break;case"source":Me("error",t);break;case"img":case"image":case"link":Me("error",t),Me("load",t);break;case"details":Me("toggle",t);break;case"input":Me("invalid",t),$p(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Me("invalid",t);break;case"textarea":Me("invalid",t),Qp(t,i.value,i.defaultValue,i.children)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Ky(t.textContent,a)?(i.popover!=null&&(Me("beforetoggle",t),Me("toggle",t)),i.onScroll!=null&&Me("scroll",t),i.onScrollEnd!=null&&Me("scrollend",t),i.onClick!=null&&(t.onclick=lr),t=!0):t=!1,t||jr(e,!0)}function zg(e){for(Bt=e.return;Bt;)switch(Bt.tag){case 5:case 31:case 13:Ta=!1;return;case 27:case 3:Ta=!0;return;default:Bt=Bt.return}}function gi(e){if(e!==Bt)return!1;if(!je)return zg(e),je=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Ad(e.type,e.memoizedProps)),a=!a),a&&it&&jr(e),zg(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));it=nb(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));it=nb(e)}else t===27?(t=it,Kr(e.type)?(e=zd,zd=null,it=e):it=t):it=Bt?Ra(e.stateNode.nextSibling):null;return!0}function Nn(){it=Bt=null,je=!1}function ff(){var e=kr;return e!==null&&(na===null?na=e:na.push.apply(na,e),kr=null),e}function Al(e){kr===null?kr=[e]:kr.push(e)}var df=A(null),Sn=null,cr=null;function Vr(e,t,a){re(df,t._currentValue),t._currentValue=a}function fr(e){e._currentValue=df.current,$(df)}function mf(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}}function hf(e,t,a,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var c=u.dependencies;if(c!==null){var m=u.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=u;for(var _=0;_<t.length;_++)if(g.context===t[_]){c.lanes|=a,g=c.alternate,g!==null&&(g.lanes|=a),mf(c.return,a,e),i||(m=null);break e}c=g.next}}else if(u.tag===18){if(m=u.return,m===null)throw Error(o(341));m.lanes|=a,c=m.alternate,c!==null&&(c.lanes|=a),mf(m,a,e),m=null}else m=u.child;if(m!==null)m.return=u;else for(m=u;m!==null;){if(m===e){m=null;break}if(u=m.sibling,u!==null){u.return=m.return,m=u;break}m=m.return}u=m}}function yi(e,t,a,i){e=null;for(var u=t,c=!1;u!==null;){if(!c){if((u.flags&524288)!==0)c=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var m=u.alternate;if(m===null)throw Error(o(387));if(m=m.memoizedProps,m!==null){var g=u.type;ca(u.pendingProps.value,m.value)||(e!==null?e.push(g):e=[g])}}else if(u===Le.current){if(m=u.alternate,m===null)throw Error(o(387));m.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(ts):e=[ts])}u=u.return}e!==null&&hf(t,e,a,i),t.flags|=262144}function go(e){for(e=e.firstContext;e!==null;){if(!ca(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _n(e){Sn=e,cr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ut(e){return kg(Sn,e)}function yo(e,t){return Sn===null&&_n(e),kg(e,t)}function kg(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},cr===null){if(e===null)throw Error(o(308));cr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else cr=cr.next=t;return a}var UC=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},LC=n.unstable_scheduleCallback,qC=n.unstable_NormalPriority,Ct={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pf(){return{controller:new UC,data:new Map,refCount:0}}function Tl(e){e.refCount--,e.refCount===0&&LC(qC,function(){e.controller.abort()})}var Ol=null,gf=0,bi=0,xi=null;function HC(e,t){if(Ol===null){var a=Ol=[];gf=0,bi=vd(),xi={status:"pending",value:void 0,then:function(i){a.push(i)}}}return gf++,t.then(jg,jg),t}function jg(){if(--gf===0&&Ol!==null){xi!==null&&(xi.status="fulfilled");var e=Ol;Ol=null,bi=0,xi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function GC(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(u){a.push(u)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var u=0;u<a.length;u++)(0,a[u])(t)},function(u){for(i.status="rejected",i.reason=u,u=0;u<a.length;u++)(0,a[u])(void 0)}),i}var Vg=H.S;H.S=function(e,t){vy=W(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&HC(e,t),Vg!==null&&Vg(e,t)};var Cn=A(null);function yf(){var e=Cn.current;return e!==null?e:rt.pooledCache}function bo(e,t){t===null?re(Cn,Cn.current):re(Cn,t.pool)}function Bg(){var e=yf();return e===null?null:{parent:Ct._currentValue,pool:e}}var Ni=Error(o(460)),bf=Error(o(474)),vo=Error(o(542)),xo={then:function(){}};function Ug(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Lg(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(lr,lr),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Hg(e),e;default:if(typeof t.status=="string")t.then(lr,lr);else{if(e=rt,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=i}},function(i){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Hg(e),e}throw wn=t,Ni}}function En(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(wn=a,Ni):a}}var wn=null;function qg(){if(wn===null)throw Error(o(459));var e=wn;return wn=null,e}function Hg(e){if(e===Ni||e===vo)throw Error(o(483))}var Si=null,Rl=0;function No(e){var t=Rl;return Rl+=1,Si===null&&(Si=[]),Lg(Si,e,t)}function Ml(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function So(e,t){throw t.$$typeof===S?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Gg(e){function t(T,D){if(e){var R=T.deletions;R===null?(T.deletions=[D],T.flags|=16):R.push(D)}}function a(T,D){if(!e)return null;for(;D!==null;)t(T,D),D=D.sibling;return null}function i(T){for(var D=new Map;T!==null;)T.key!==null?D.set(T.key,T):D.set(T.index,T),T=T.sibling;return D}function u(T,D){return T=or(T,D),T.index=0,T.sibling=null,T}function c(T,D,R){return T.index=R,e?(R=T.alternate,R!==null?(R=R.index,R<D?(T.flags|=67108866,D):R):(T.flags|=67108866,D)):(T.flags|=1048576,D)}function m(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function g(T,D,R,G){return D===null||D.tag!==6?(D=lf(R,T.mode,G),D.return=T,D):(D=u(D,R),D.return=T,D)}function _(T,D,R,G){var ye=R.type;return ye===q?L(T,D,R.props.children,G,R.key):D!==null&&(D.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===we&&En(ye)===D.type)?(D=u(D,R.props),Ml(D,R),D.return=T,D):(D=ho(R.type,R.key,R.props,null,T.mode,G),Ml(D,R),D.return=T,D)}function M(T,D,R,G){return D===null||D.tag!==4||D.stateNode.containerInfo!==R.containerInfo||D.stateNode.implementation!==R.implementation?(D=sf(R,T.mode,G),D.return=T,D):(D=u(D,R.children||[]),D.return=T,D)}function L(T,D,R,G,ye){return D===null||D.tag!==7?(D=xn(R,T.mode,G,ye),D.return=T,D):(D=u(D,R),D.return=T,D)}function Y(T,D,R){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=lf(""+D,T.mode,R),D.return=T,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case k:return R=ho(D.type,D.key,D.props,null,T.mode,R),Ml(R,D),R.return=T,R;case w:return D=sf(D,T.mode,R),D.return=T,D;case we:return D=En(D),Y(T,D,R)}if(Z(D)||F(D))return D=xn(D,T.mode,R,null),D.return=T,D;if(typeof D.then=="function")return Y(T,No(D),R);if(D.$$typeof===I)return Y(T,yo(T,D),R);So(T,D)}return null}function z(T,D,R,G){var ye=D!==null?D.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return ye!==null?null:g(T,D,""+R,G);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case k:return R.key===ye?_(T,D,R,G):null;case w:return R.key===ye?M(T,D,R,G):null;case we:return R=En(R),z(T,D,R,G)}if(Z(R)||F(R))return ye!==null?null:L(T,D,R,G,null);if(typeof R.then=="function")return z(T,D,No(R),G);if(R.$$typeof===I)return z(T,D,yo(T,R),G);So(T,R)}return null}function V(T,D,R,G,ye){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return T=T.get(R)||null,g(D,T,""+G,ye);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case k:return T=T.get(G.key===null?R:G.key)||null,_(D,T,G,ye);case w:return T=T.get(G.key===null?R:G.key)||null,M(D,T,G,ye);case we:return G=En(G),V(T,D,R,G,ye)}if(Z(G)||F(G))return T=T.get(R)||null,L(D,T,G,ye,null);if(typeof G.then=="function")return V(T,D,R,No(G),ye);if(G.$$typeof===I)return V(T,D,R,yo(D,G),ye);So(D,G)}return null}function ue(T,D,R,G){for(var ye=null,qe=null,he=D,Ee=D=0,ke=null;he!==null&&Ee<R.length;Ee++){he.index>Ee?(ke=he,he=null):ke=he.sibling;var He=z(T,he,R[Ee],G);if(He===null){he===null&&(he=ke);break}e&&he&&He.alternate===null&&t(T,he),D=c(He,D,Ee),qe===null?ye=He:qe.sibling=He,qe=He,he=ke}if(Ee===R.length)return a(T,he),je&&ur(T,Ee),ye;if(he===null){for(;Ee<R.length;Ee++)he=Y(T,R[Ee],G),he!==null&&(D=c(he,D,Ee),qe===null?ye=he:qe.sibling=he,qe=he);return je&&ur(T,Ee),ye}for(he=i(he);Ee<R.length;Ee++)ke=V(he,T,Ee,R[Ee],G),ke!==null&&(e&&ke.alternate!==null&&he.delete(ke.key===null?Ee:ke.key),D=c(ke,D,Ee),qe===null?ye=ke:qe.sibling=ke,qe=ke);return e&&he.forEach(function(en){return t(T,en)}),je&&ur(T,Ee),ye}function be(T,D,R,G){if(R==null)throw Error(o(151));for(var ye=null,qe=null,he=D,Ee=D=0,ke=null,He=R.next();he!==null&&!He.done;Ee++,He=R.next()){he.index>Ee?(ke=he,he=null):ke=he.sibling;var en=z(T,he,He.value,G);if(en===null){he===null&&(he=ke);break}e&&he&&en.alternate===null&&t(T,he),D=c(en,D,Ee),qe===null?ye=en:qe.sibling=en,qe=en,he=ke}if(He.done)return a(T,he),je&&ur(T,Ee),ye;if(he===null){for(;!He.done;Ee++,He=R.next())He=Y(T,He.value,G),He!==null&&(D=c(He,D,Ee),qe===null?ye=He:qe.sibling=He,qe=He);return je&&ur(T,Ee),ye}for(he=i(he);!He.done;Ee++,He=R.next())He=V(he,T,Ee,He.value,G),He!==null&&(e&&He.alternate!==null&&he.delete(He.key===null?Ee:He.key),D=c(He,D,Ee),qe===null?ye=He:qe.sibling=He,qe=He);return e&&he.forEach(function(W5){return t(T,W5)}),je&&ur(T,Ee),ye}function at(T,D,R,G){if(typeof R=="object"&&R!==null&&R.type===q&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case k:e:{for(var ye=R.key;D!==null;){if(D.key===ye){if(ye=R.type,ye===q){if(D.tag===7){a(T,D.sibling),G=u(D,R.props.children),G.return=T,T=G;break e}}else if(D.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===we&&En(ye)===D.type){a(T,D.sibling),G=u(D,R.props),Ml(G,R),G.return=T,T=G;break e}a(T,D);break}else t(T,D);D=D.sibling}R.type===q?(G=xn(R.props.children,T.mode,G,R.key),G.return=T,T=G):(G=ho(R.type,R.key,R.props,null,T.mode,G),Ml(G,R),G.return=T,T=G)}return m(T);case w:e:{for(ye=R.key;D!==null;){if(D.key===ye)if(D.tag===4&&D.stateNode.containerInfo===R.containerInfo&&D.stateNode.implementation===R.implementation){a(T,D.sibling),G=u(D,R.children||[]),G.return=T,T=G;break e}else{a(T,D);break}else t(T,D);D=D.sibling}G=sf(R,T.mode,G),G.return=T,T=G}return m(T);case we:return R=En(R),at(T,D,R,G)}if(Z(R))return ue(T,D,R,G);if(F(R)){if(ye=F(R),typeof ye!="function")throw Error(o(150));return R=ye.call(R),be(T,D,R,G)}if(typeof R.then=="function")return at(T,D,No(R),G);if(R.$$typeof===I)return at(T,D,yo(T,R),G);So(T,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,D!==null&&D.tag===6?(a(T,D.sibling),G=u(D,R),G.return=T,T=G):(a(T,D),G=lf(R,T.mode,G),G.return=T,T=G),m(T)):a(T,D)}return function(T,D,R,G){try{Rl=0;var ye=at(T,D,R,G);return Si=null,ye}catch(he){if(he===Ni||he===vo)throw he;var qe=fa(29,he,null,T.mode);return qe.lanes=G,qe.return=T,qe}finally{}}}var Dn=Gg(!0),Zg=Gg(!1),Br=!1;function vf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ur(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Lr(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,($e&2)!==0){var u=i.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),i.pending=t,t=mo(e),wg(e,null,a),t}return fo(e,i,t,a),mo(e)}function zl(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,kp(e,a)}}function Nf(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var u=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var m={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?u=c=m:c=c.next=m,a=a.next}while(a!==null);c===null?u=c=t:c=c.next=t}else u=c=t;a={baseState:i.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Sf=!1;function kl(){if(Sf){var e=xi;if(e!==null)throw e}}function jl(e,t,a,i){Sf=!1;var u=e.updateQueue;Br=!1;var c=u.firstBaseUpdate,m=u.lastBaseUpdate,g=u.shared.pending;if(g!==null){u.shared.pending=null;var _=g,M=_.next;_.next=null,m===null?c=M:m.next=M,m=_;var L=e.alternate;L!==null&&(L=L.updateQueue,g=L.lastBaseUpdate,g!==m&&(g===null?L.firstBaseUpdate=M:g.next=M,L.lastBaseUpdate=_))}if(c!==null){var Y=u.baseState;m=0,L=M=_=null,g=c;do{var z=g.lane&-536870913,V=z!==g.lane;if(V?(ze&z)===z:(i&z)===z){z!==0&&z===bi&&(Sf=!0),L!==null&&(L=L.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var ue=e,be=g;z=t;var at=a;switch(be.tag){case 1:if(ue=be.payload,typeof ue=="function"){Y=ue.call(at,Y,z);break e}Y=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=be.payload,z=typeof ue=="function"?ue.call(at,Y,z):ue,z==null)break e;Y=C({},Y,z);break e;case 2:Br=!0}}z=g.callback,z!==null&&(e.flags|=64,V&&(e.flags|=8192),V=u.callbacks,V===null?u.callbacks=[z]:V.push(z))}else V={lane:z,tag:g.tag,payload:g.payload,callback:g.callback,next:null},L===null?(M=L=V,_=Y):L=L.next=V,m|=z;if(g=g.next,g===null){if(g=u.shared.pending,g===null)break;V=g,g=V.next,V.next=null,u.lastBaseUpdate=V,u.shared.pending=null}}while(!0);L===null&&(_=Y),u.baseState=_,u.firstBaseUpdate=M,u.lastBaseUpdate=L,c===null&&(u.shared.lanes=0),Yr|=m,e.lanes=m,e.memoizedState=Y}}function Yg(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function $g(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Yg(a[e],t)}var _i=A(null),_o=A(0);function Fg(e,t){e=xr,re(_o,e),re(_i,t),xr=e|t.baseLanes}function _f(){re(_o,xr),re(_i,_i.current)}function Cf(){xr=_o.current,$(_i),$(_o)}var da=A(null),Oa=null;function qr(e){var t=e.alternate;re(bt,bt.current&1),re(da,e),Oa===null&&(t===null||_i.current!==null||t.memoizedState!==null)&&(Oa=e)}function Ef(e){re(bt,bt.current),re(da,e),Oa===null&&(Oa=e)}function Qg(e){e.tag===22?(re(bt,bt.current),re(da,e),Oa===null&&(Oa=e)):Hr()}function Hr(){re(bt,bt.current),re(da,da.current)}function ma(e){$(da),Oa===e&&(Oa=null),$(bt)}var bt=A(0);function Co(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Rd(a)||Md(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;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 dr=0,Ce=null,et=null,Et=null,Eo=!1,Ci=!1,An=!1,wo=0,Vl=0,Ei=null,ZC=0;function ht(){throw Error(o(321))}function wf(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!ca(e[a],t[a]))return!1;return!0}function Df(e,t,a,i,u,c){return dr=c,Ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e===null||e.memoizedState===null?O0:Gf,An=!1,c=a(i,u),An=!1,Ci&&(c=Kg(t,a,i,u)),Xg(e),c}function Xg(e){H.H=Ll;var t=et!==null&&et.next!==null;if(dr=0,Et=et=Ce=null,Eo=!1,Vl=0,Ei=null,t)throw Error(o(300));e===null||wt||(e=e.dependencies,e!==null&&go(e)&&(wt=!0))}function Kg(e,t,a,i){Ce=e;var u=0;do{if(Ci&&(Ei=null),Vl=0,Ci=!1,25<=u)throw Error(o(301));if(u+=1,Et=et=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}H.H=R0,c=t(a,i)}while(Ci);return c}function YC(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?Bl(t):t,e=e.useState()[0],(et!==null?et.memoizedState:null)!==e&&(Ce.flags|=1024),t}function Af(){var e=wo!==0;return wo=0,e}function Tf(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Of(e){if(Eo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Eo=!1}dr=0,Et=et=Ce=null,Ci=!1,Vl=wo=0,Ei=null}function Kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Et===null?Ce.memoizedState=Et=e:Et=Et.next=e,Et}function vt(){if(et===null){var e=Ce.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=Et===null?Ce.memoizedState:Et.next;if(t!==null)Et=t,et=e;else{if(e===null)throw Ce.alternate===null?Error(o(467)):Error(o(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},Et===null?Ce.memoizedState=Et=e:Et=Et.next=e}return Et}function Do(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bl(e){var t=Vl;return Vl+=1,Ei===null&&(Ei=[]),e=Lg(Ei,e,t),t=Ce,(Et===null?t.memoizedState:Et.next)===null&&(t=t.alternate,H.H=t===null||t.memoizedState===null?O0:Gf),e}function Ao(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bl(e);if(e.$$typeof===I)return Ut(e)}throw Error(o(438,String(e)))}function Rf(e){var t=null,a=Ce.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=Ce.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Do(),Ce.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=_e;return t.index++,a}function mr(e,t){return typeof t=="function"?t(e):t}function To(e){var t=vt();return Mf(t,et,e)}function Mf(e,t,a){var i=e.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=a;var u=e.baseQueue,c=i.pending;if(c!==null){if(u!==null){var m=u.next;u.next=c.next,c.next=m}t.baseQueue=u=c,i.pending=null}if(c=e.baseState,u===null)e.memoizedState=c;else{t=u.next;var g=m=null,_=null,M=t,L=!1;do{var Y=M.lane&-536870913;if(Y!==M.lane?(ze&Y)===Y:(dr&Y)===Y){var z=M.revertLane;if(z===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),Y===bi&&(L=!0);else if((dr&z)===z){M=M.next,z===bi&&(L=!0);continue}else Y={lane:0,revertLane:M.revertLane,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},_===null?(g=_=Y,m=c):_=_.next=Y,Ce.lanes|=z,Yr|=z;Y=M.action,An&&a(c,Y),c=M.hasEagerState?M.eagerState:a(c,Y)}else z={lane:Y,revertLane:M.revertLane,gesture:M.gesture,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},_===null?(g=_=z,m=c):_=_.next=z,Ce.lanes|=Y,Yr|=Y;M=M.next}while(M!==null&&M!==t);if(_===null?m=c:_.next=g,!ca(c,e.memoizedState)&&(wt=!0,L&&(a=xi,a!==null)))throw a;e.memoizedState=c,e.baseState=m,e.baseQueue=_,i.lastRenderedState=c}return u===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function zf(e){var t=vt(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var i=a.dispatch,u=a.pending,c=t.memoizedState;if(u!==null){a.pending=null;var m=u=u.next;do c=e(c,m.action),m=m.next;while(m!==u);ca(c,t.memoizedState)||(wt=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),a.lastRenderedState=c}return[c,i]}function Jg(e,t,a){var i=Ce,u=vt(),c=je;if(c){if(a===void 0)throw Error(o(407));a=a()}else a=t();var m=!ca((et||u).memoizedState,a);if(m&&(u.memoizedState=a,wt=!0),u=u.queue,Vf(Wg.bind(null,i,u,e),[e]),u.getSnapshot!==t||m||Et!==null&&Et.memoizedState.tag&1){if(i.flags|=2048,wi(9,{destroy:void 0},Pg.bind(null,i,u,a,t),null),rt===null)throw Error(o(349));c||(dr&127)!==0||Ig(i,t,a)}return a}function Ig(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ce.updateQueue,t===null?(t=Do(),Ce.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Pg(e,t,a,i){t.value=a,t.getSnapshot=i,e0(t)&&t0(e)}function Wg(e,t,a){return a(function(){e0(t)&&t0(e)})}function e0(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!ca(e,a)}catch{return!0}}function t0(e){var t=vn(e,2);t!==null&&ia(t,e,2)}function kf(e){var t=Kt();if(typeof e=="function"){var a=e;if(e=a(),An){Sa(!0);try{a()}finally{Sa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mr,lastRenderedState:e},t}function a0(e,t,a,i){return e.baseState=a,Mf(e,et,typeof i=="function"?i:mr)}function $C(e,t,a,i,u){if(Mo(e))throw Error(o(485));if(e=t.action,e!==null){var c={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};H.T!==null?a(!0):c.isTransition=!1,i(c),a=t.pending,a===null?(c.next=t.pending=c,r0(t,c)):(c.next=a.next,t.pending=a.next=c)}}function r0(e,t){var a=t.action,i=t.payload,u=e.state;if(t.isTransition){var c=H.T,m={};H.T=m;try{var g=a(u,i),_=H.S;_!==null&&_(m,g),n0(e,t,g)}catch(M){jf(e,t,M)}finally{c!==null&&m.types!==null&&(c.types=m.types),H.T=c}}else try{c=a(u,i),n0(e,t,c)}catch(M){jf(e,t,M)}}function n0(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(i){i0(e,t,i)},function(i){return jf(e,t,i)}):i0(e,t,a)}function i0(e,t,a){t.status="fulfilled",t.value=a,l0(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,r0(e,a)))}function jf(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,l0(t),t=t.next;while(t!==i)}e.action=null}function l0(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function s0(e,t){return t}function o0(e,t){if(je){var a=rt.formState;if(a!==null){e:{var i=Ce;if(je){if(it){t:{for(var u=it,c=Ta;u.nodeType!==8;){if(!c){u=null;break t}if(u=Ra(u.nextSibling),u===null){u=null;break t}}c=u.data,u=c==="F!"||c==="F"?u:null}if(u){it=Ra(u.nextSibling),i=u.data==="F!";break e}}jr(i)}i=!1}i&&(t=a[0])}}return a=Kt(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s0,lastRenderedState:t},a.queue=i,a=D0.bind(null,Ce,i),i.dispatch=a,i=kf(!1),c=Hf.bind(null,Ce,!1,i.queue),i=Kt(),u={state:t,dispatch:null,action:e,pending:null},i.queue=u,a=$C.bind(null,Ce,u,c,a),u.dispatch=a,i.memoizedState=e,[t,a,!1]}function u0(e){var t=vt();return c0(t,et,e)}function c0(e,t,a){if(t=Mf(e,t,s0)[0],e=To(mr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Bl(t)}catch(m){throw m===Ni?vo:m}else i=t;t=vt();var u=t.queue,c=u.dispatch;return a!==t.memoizedState&&(Ce.flags|=2048,wi(9,{destroy:void 0},FC.bind(null,u,a),null)),[i,c,e]}function FC(e,t){e.action=t}function f0(e){var t=vt(),a=et;if(a!==null)return c0(t,a,e);vt(),t=t.memoizedState,a=vt();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function wi(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=Ce.updateQueue,t===null&&(t=Do(),Ce.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function d0(){return vt().memoizedState}function Oo(e,t,a,i){var u=Kt();Ce.flags|=e,u.memoizedState=wi(1|t,{destroy:void 0},a,i===void 0?null:i)}function Ro(e,t,a,i){var u=vt();i=i===void 0?null:i;var c=u.memoizedState.inst;et!==null&&i!==null&&wf(i,et.memoizedState.deps)?u.memoizedState=wi(t,c,a,i):(Ce.flags|=e,u.memoizedState=wi(1|t,c,a,i))}function m0(e,t){Oo(8390656,8,e,t)}function Vf(e,t){Ro(2048,8,e,t)}function QC(e){Ce.flags|=4;var t=Ce.updateQueue;if(t===null)t=Do(),Ce.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function h0(e){var t=vt().memoizedState;return QC({ref:t,nextImpl:e}),function(){if(($e&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function p0(e,t){return Ro(4,2,e,t)}function g0(e,t){return Ro(4,4,e,t)}function y0(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function b0(e,t,a){a=a!=null?a.concat([e]):null,Ro(4,4,y0.bind(null,t,e),a)}function Bf(){}function v0(e,t){var a=vt();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&wf(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function x0(e,t){var a=vt();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&wf(t,i[1]))return i[0];if(i=e(),An){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[i,t],i}function Uf(e,t,a){return a===void 0||(dr&1073741824)!==0&&(ze&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Ny(),Ce.lanes|=e,Yr|=e,a)}function N0(e,t,a,i){return ca(a,t)?a:_i.current!==null?(e=Uf(e,a,i),ca(e,t)||(wt=!0),e):(dr&42)===0||(dr&1073741824)!==0&&(ze&261930)===0?(wt=!0,e.memoizedState=a):(e=Ny(),Ce.lanes|=e,Yr|=e,t)}function S0(e,t,a,i,u){var c=J.p;J.p=c!==0&&8>c?c:8;var m=H.T,g={};H.T=g,Hf(e,!1,t,a);try{var _=u(),M=H.S;if(M!==null&&M(g,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var L=GC(_,i);Ul(e,t,L,ga(e))}else Ul(e,t,i,ga(e))}catch(Y){Ul(e,t,{then:function(){},status:"rejected",reason:Y},ga())}finally{J.p=c,m!==null&&g.types!==null&&(m.types=g.types),H.T=m}}function XC(){}function Lf(e,t,a,i){if(e.tag!==5)throw Error(o(476));var u=_0(e).queue;S0(e,u,t,De,a===null?XC:function(){return C0(e),a(i)})}function _0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:De,baseState:De,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mr,lastRenderedState:De},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mr,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function C0(e){var t=_0(e);t.next===null&&(t=e.alternate.memoizedState),Ul(e,t.next.queue,{},ga())}function qf(){return Ut(ts)}function E0(){return vt().memoizedState}function w0(){return vt().memoizedState}function KC(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=ga();e=Ur(a);var i=Lr(t,e,a);i!==null&&(ia(i,t,a),zl(i,t,a)),t={cache:pf()},e.payload=t;return}t=t.return}}function JC(e,t,a){var i=ga();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Mo(e)?A0(t,a):(a=rf(e,t,a,i),a!==null&&(ia(a,e,i),T0(a,t,i)))}function D0(e,t,a){var i=ga();Ul(e,t,a,i)}function Ul(e,t,a,i){var u={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Mo(e))A0(t,u);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var m=t.lastRenderedState,g=c(m,a);if(u.hasEagerState=!0,u.eagerState=g,ca(g,m))return fo(e,t,u,0),rt===null&&co(),!1}catch{}finally{}if(a=rf(e,t,u,i),a!==null)return ia(a,e,i),T0(a,t,i),!0}return!1}function Hf(e,t,a,i){if(i={lane:2,revertLane:vd(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Mo(e)){if(t)throw Error(o(479))}else t=rf(e,a,i,2),t!==null&&ia(t,e,2)}function Mo(e){var t=e.alternate;return e===Ce||t!==null&&t===Ce}function A0(e,t){Ci=Eo=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function T0(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,kp(e,a)}}var Ll={readContext:Ut,use:Ao,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useInsertionEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useSyncExternalStore:ht,useId:ht,useHostTransitionStatus:ht,useFormState:ht,useActionState:ht,useOptimistic:ht,useMemoCache:ht,useCacheRefresh:ht};Ll.useEffectEvent=ht;var O0={readContext:Ut,use:Ao,useCallback:function(e,t){return Kt().memoizedState=[e,t===void 0?null:t],e},useContext:Ut,useEffect:m0,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Oo(4194308,4,y0.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Oo(4194308,4,e,t)},useInsertionEffect:function(e,t){Oo(4,2,e,t)},useMemo:function(e,t){var a=Kt();t=t===void 0?null:t;var i=e();if(An){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[i,t],i},useReducer:function(e,t,a){var i=Kt();if(a!==void 0){var u=a(t);if(An){Sa(!0);try{a(t)}finally{Sa(!1)}}}else u=t;return i.memoizedState=i.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},i.queue=e,e=e.dispatch=JC.bind(null,Ce,e),[i.memoizedState,e]},useRef:function(e){var t=Kt();return e={current:e},t.memoizedState=e},useState:function(e){e=kf(e);var t=e.queue,a=D0.bind(null,Ce,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Bf,useDeferredValue:function(e,t){var a=Kt();return Uf(a,e,t)},useTransition:function(){var e=kf(!1);return e=S0.bind(null,Ce,e.queue,!0,!1),Kt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var i=Ce,u=Kt();if(je){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),rt===null)throw Error(o(349));(ze&127)!==0||Ig(i,t,a)}u.memoizedState=a;var c={value:a,getSnapshot:t};return u.queue=c,m0(Wg.bind(null,i,c,e),[e]),i.flags|=2048,wi(9,{destroy:void 0},Pg.bind(null,i,c,a,t),null),a},useId:function(){var e=Kt(),t=rt.identifierPrefix;if(je){var a=Qa,i=Fa;a=(i&~(1<<32-Xt(i)-1)).toString(32)+a,t="_"+t+"R_"+a,a=wo++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=ZC++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:qf,useFormState:o0,useActionState:o0,useOptimistic:function(e){var t=Kt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Hf.bind(null,Ce,!0,a),a.dispatch=t,[e,t]},useMemoCache:Rf,useCacheRefresh:function(){return Kt().memoizedState=KC.bind(null,Ce)},useEffectEvent:function(e){var t=Kt(),a={impl:e};return t.memoizedState=a,function(){if(($e&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},Gf={readContext:Ut,use:Ao,useCallback:v0,useContext:Ut,useEffect:Vf,useImperativeHandle:b0,useInsertionEffect:p0,useLayoutEffect:g0,useMemo:x0,useReducer:To,useRef:d0,useState:function(){return To(mr)},useDebugValue:Bf,useDeferredValue:function(e,t){var a=vt();return N0(a,et.memoizedState,e,t)},useTransition:function(){var e=To(mr)[0],t=vt().memoizedState;return[typeof e=="boolean"?e:Bl(e),t]},useSyncExternalStore:Jg,useId:E0,useHostTransitionStatus:qf,useFormState:u0,useActionState:u0,useOptimistic:function(e,t){var a=vt();return a0(a,et,e,t)},useMemoCache:Rf,useCacheRefresh:w0};Gf.useEffectEvent=h0;var R0={readContext:Ut,use:Ao,useCallback:v0,useContext:Ut,useEffect:Vf,useImperativeHandle:b0,useInsertionEffect:p0,useLayoutEffect:g0,useMemo:x0,useReducer:zf,useRef:d0,useState:function(){return zf(mr)},useDebugValue:Bf,useDeferredValue:function(e,t){var a=vt();return et===null?Uf(a,e,t):N0(a,et.memoizedState,e,t)},useTransition:function(){var e=zf(mr)[0],t=vt().memoizedState;return[typeof e=="boolean"?e:Bl(e),t]},useSyncExternalStore:Jg,useId:E0,useHostTransitionStatus:qf,useFormState:f0,useActionState:f0,useOptimistic:function(e,t){var a=vt();return et!==null?a0(a,et,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Rf,useCacheRefresh:w0};R0.useEffectEvent=h0;function Zf(e,t,a,i){t=e.memoizedState,a=a(i,t),a=a==null?t:C({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Yf={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=ga(),u=Ur(i);u.payload=t,a!=null&&(u.callback=a),t=Lr(e,u,i),t!==null&&(ia(t,e,i),zl(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=ga(),u=Ur(i);u.tag=1,u.payload=t,a!=null&&(u.callback=a),t=Lr(e,u,i),t!==null&&(ia(t,e,i),zl(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ga(),i=Ur(a);i.tag=2,t!=null&&(i.callback=t),t=Lr(e,i,a),t!==null&&(ia(t,e,a),zl(t,e,a))}};function M0(e,t,a,i,u,c,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,c,m):t.prototype&&t.prototype.isPureReactComponent?!El(a,i)||!El(u,c):!0}function z0(e,t,a,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==e&&Yf.enqueueReplaceState(t,t.state,null)}function Tn(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=C({},a));for(var u in e)a[u]===void 0&&(a[u]=e[u])}return a}function k0(e){uo(e)}function j0(e){console.error(e)}function V0(e){uo(e)}function zo(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function B0(e,t,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function $f(e,t,a){return a=Ur(a),a.tag=3,a.payload={element:null},a.callback=function(){zo(e,t)},a}function U0(e){return e=Ur(e),e.tag=3,e}function L0(e,t,a,i){var u=a.type.getDerivedStateFromError;if(typeof u=="function"){var c=i.value;e.payload=function(){return u(c)},e.callback=function(){B0(t,a,i)}}var m=a.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){B0(t,a,i),typeof u!="function"&&($r===null?$r=new Set([this]):$r.add(this));var g=i.stack;this.componentDidCatch(i.value,{componentStack:g!==null?g:""})})}function IC(e,t,a,i,u){if(a.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&yi(t,a,u,!0),a=da.current,a!==null){switch(a.tag){case 31:case 13:return Oa===null?$o():a.alternate===null&&pt===0&&(pt=3),a.flags&=-257,a.flags|=65536,a.lanes=u,i===xo?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),gd(e,i,u)),!1;case 22:return a.flags|=65536,i===xo?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),gd(e,i,u)),!1}throw Error(o(435,a.tag))}return gd(e,i,u),$o(),!1}if(je)return t=da.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,i!==cf&&(e=Error(o(422),{cause:i}),Al(wa(e,a)))):(i!==cf&&(t=Error(o(423),{cause:i}),Al(wa(t,a))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,i=wa(i,a),u=$f(e.stateNode,i,u),Nf(e,u),pt!==4&&(pt=2)),!1;var c=Error(o(520),{cause:i});if(c=wa(c,a),Ql===null?Ql=[c]:Ql.push(c),pt!==4&&(pt=2),t===null)return!0;i=wa(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=u&-u,a.lanes|=e,e=$f(a.stateNode,i,e),Nf(a,e),!1;case 1:if(t=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&($r===null||!$r.has(c))))return a.flags|=65536,u&=-u,a.lanes|=u,u=U0(u),L0(u,e,a,i),Nf(a,u),!1}a=a.return}while(a!==null);return!1}var Ff=Error(o(461)),wt=!1;function Lt(e,t,a,i){t.child=e===null?Zg(t,null,a,i):Dn(t,e.child,a,i)}function q0(e,t,a,i,u){a=a.render;var c=t.ref;if("ref"in i){var m={};for(var g in i)g!=="ref"&&(m[g]=i[g])}else m=i;return _n(t),i=Df(e,t,a,m,c,u),g=Af(),e!==null&&!wt?(Tf(e,t,u),hr(e,t,u)):(je&&g&&of(t),t.flags|=1,Lt(e,t,i,u),t.child)}function H0(e,t,a,i,u){if(e===null){var c=a.type;return typeof c=="function"&&!nf(c)&&c.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=c,G0(e,t,c,i,u)):(e=ho(a.type,null,i,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!ed(e,u)){var m=c.memoizedProps;if(a=a.compare,a=a!==null?a:El,a(m,i)&&e.ref===t.ref)return hr(e,t,u)}return t.flags|=1,e=or(c,i),e.ref=t.ref,e.return=t,t.child=e}function G0(e,t,a,i,u){if(e!==null){var c=e.memoizedProps;if(El(c,i)&&e.ref===t.ref)if(wt=!1,t.pendingProps=i=c,ed(e,u))(e.flags&131072)!==0&&(wt=!0);else return t.lanes=e.lanes,hr(e,t,u)}return Qf(e,t,a,i,u)}function Z0(e,t,a,i){var u=i.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,e!==null){for(i=t.child=e.child,u=0;i!==null;)u=u|i.lanes|i.childLanes,i=i.sibling;i=u&~c}else i=0,t.child=null;return Y0(e,t,c,a,i)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&bo(t,c!==null?c.cachePool:null),c!==null?Fg(t,c):_f(),Qg(t);else return i=t.lanes=536870912,Y0(e,t,c!==null?c.baseLanes|a:a,a,i)}else c!==null?(bo(t,c.cachePool),Fg(t,c),Hr(),t.memoizedState=null):(e!==null&&bo(t,null),_f(),Hr());return Lt(e,t,u,a),t.child}function ql(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Y0(e,t,a,i,u){var c=yf();return c=c===null?null:{parent:Ct._currentValue,pool:c},t.memoizedState={baseLanes:a,cachePool:c},e!==null&&bo(t,null),_f(),Qg(t),e!==null&&yi(e,t,i,!0),t.childLanes=u,null}function ko(e,t){return t=Vo({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function $0(e,t,a){return Dn(t,e.child,null,a),e=ko(t,t.pendingProps),e.flags|=2,ma(t),t.memoizedState=null,e}function PC(e,t,a){var i=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(je){if(i.mode==="hidden")return e=ko(t,i),t.lanes=536870912,ql(null,e);if(Ef(t),(e=it)?(e=rb(e,Ta),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:zr!==null?{id:Fa,overflow:Qa}:null,retryLane:536870912,hydrationErrors:null},a=Ag(e),a.return=t,t.child=a,Bt=t,it=null)):e=null,e===null)throw jr(t);return t.lanes=536870912,null}return ko(t,i)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(Ef(t),u)if(t.flags&256)t.flags&=-257,t=$0(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(wt||yi(e,t,a,!1),u=(a&e.childLanes)!==0,wt||u){if(i=rt,i!==null&&(m=jp(i,a),m!==0&&m!==c.retryLane))throw c.retryLane=m,vn(e,m),ia(i,e,m),Ff;$o(),t=$0(e,t,a)}else e=c.treeContext,it=Ra(m.nextSibling),Bt=t,je=!0,kr=null,Ta=!1,e!==null&&Rg(t,e),t=ko(t,i),t.flags|=4096;return t}return e=or(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function jo(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Qf(e,t,a,i,u){return _n(t),a=Df(e,t,a,i,void 0,u),i=Af(),e!==null&&!wt?(Tf(e,t,u),hr(e,t,u)):(je&&i&&of(t),t.flags|=1,Lt(e,t,a,u),t.child)}function F0(e,t,a,i,u,c){return _n(t),t.updateQueue=null,a=Kg(t,i,a,u),Xg(e),i=Af(),e!==null&&!wt?(Tf(e,t,c),hr(e,t,c)):(je&&i&&of(t),t.flags|=1,Lt(e,t,a,c),t.child)}function Q0(e,t,a,i,u){if(_n(t),t.stateNode===null){var c=mi,m=a.contextType;typeof m=="object"&&m!==null&&(c=Ut(m)),c=new a(i,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Yf,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=i,c.state=t.memoizedState,c.refs={},vf(t),m=a.contextType,c.context=typeof m=="object"&&m!==null?Ut(m):mi,c.state=t.memoizedState,m=a.getDerivedStateFromProps,typeof m=="function"&&(Zf(t,a,m,i),c.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&Yf.enqueueReplaceState(c,c.state,null),jl(t,i,c,u),kl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){c=t.stateNode;var g=t.memoizedProps,_=Tn(a,g);c.props=_;var M=c.context,L=a.contextType;m=mi,typeof L=="object"&&L!==null&&(m=Ut(L));var Y=a.getDerivedStateFromProps;L=typeof Y=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=t.pendingProps!==g,L||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||M!==m)&&z0(t,c,i,m),Br=!1;var z=t.memoizedState;c.state=z,jl(t,i,c,u),kl(),M=t.memoizedState,g||z!==M||Br?(typeof Y=="function"&&(Zf(t,a,Y,i),M=t.memoizedState),(_=Br||M0(t,a,_,i,z,M,m))?(L||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=M),c.props=i,c.state=M,c.context=m,i=_):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{c=t.stateNode,xf(e,t),m=t.memoizedProps,L=Tn(a,m),c.props=L,Y=t.pendingProps,z=c.context,M=a.contextType,_=mi,typeof M=="object"&&M!==null&&(_=Ut(M)),g=a.getDerivedStateFromProps,(M=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==Y||z!==_)&&z0(t,c,i,_),Br=!1,z=t.memoizedState,c.state=z,jl(t,i,c,u),kl();var V=t.memoizedState;m!==Y||z!==V||Br||e!==null&&e.dependencies!==null&&go(e.dependencies)?(typeof g=="function"&&(Zf(t,a,g,i),V=t.memoizedState),(L=Br||M0(t,a,L,i,z,V,_)||e!==null&&e.dependencies!==null&&go(e.dependencies))?(M||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,V,_),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,V,_)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=V),c.props=i,c.state=V,c.context=_,i=L):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),i=!1)}return c=i,jo(e,t),i=(t.flags&128)!==0,c||i?(c=t.stateNode,a=i&&typeof a.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&i?(t.child=Dn(t,e.child,null,u),t.child=Dn(t,null,a,u)):Lt(e,t,a,u),t.memoizedState=c.state,e=t.child):e=hr(e,t,u),e}function X0(e,t,a,i){return Nn(),t.flags|=256,Lt(e,t,a,i),t.child}var Xf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Kf(e){return{baseLanes:e,cachePool:Bg()}}function Jf(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=pa),e}function K0(e,t,a){var i=t.pendingProps,u=!1,c=(t.flags&128)!==0,m;if((m=c)||(m=e!==null&&e.memoizedState===null?!1:(bt.current&2)!==0),m&&(u=!0,t.flags&=-129),m=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(u?qr(t):Hr(),(e=it)?(e=rb(e,Ta),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:zr!==null?{id:Fa,overflow:Qa}:null,retryLane:536870912,hydrationErrors:null},a=Ag(e),a.return=t,t.child=a,Bt=t,it=null)):e=null,e===null)throw jr(t);return Md(e)?t.lanes=32:t.lanes=536870912,null}var g=i.children;return i=i.fallback,u?(Hr(),u=t.mode,g=Vo({mode:"hidden",children:g},u),i=xn(i,u,a,null),g.return=t,i.return=t,g.sibling=i,t.child=g,i=t.child,i.memoizedState=Kf(a),i.childLanes=Jf(e,m,a),t.memoizedState=Xf,ql(null,i)):(qr(t),If(t,g))}var _=e.memoizedState;if(_!==null&&(g=_.dehydrated,g!==null)){if(c)t.flags&256?(qr(t),t.flags&=-257,t=Pf(e,t,a)):t.memoizedState!==null?(Hr(),t.child=e.child,t.flags|=128,t=null):(Hr(),g=i.fallback,u=t.mode,i=Vo({mode:"visible",children:i.children},u),g=xn(g,u,a,null),g.flags|=2,i.return=t,g.return=t,i.sibling=g,t.child=i,Dn(t,e.child,null,a),i=t.child,i.memoizedState=Kf(a),i.childLanes=Jf(e,m,a),t.memoizedState=Xf,t=ql(null,i));else if(qr(t),Md(g)){if(m=g.nextSibling&&g.nextSibling.dataset,m)var M=m.dgst;m=M,i=Error(o(419)),i.stack="",i.digest=m,Al({value:i,source:null,stack:null}),t=Pf(e,t,a)}else if(wt||yi(e,t,a,!1),m=(a&e.childLanes)!==0,wt||m){if(m=rt,m!==null&&(i=jp(m,a),i!==0&&i!==_.retryLane))throw _.retryLane=i,vn(e,i),ia(m,e,i),Ff;Rd(g)||$o(),t=Pf(e,t,a)}else Rd(g)?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,it=Ra(g.nextSibling),Bt=t,je=!0,kr=null,Ta=!1,e!==null&&Rg(t,e),t=If(t,i.children),t.flags|=4096);return t}return u?(Hr(),g=i.fallback,u=t.mode,_=e.child,M=_.sibling,i=or(_,{mode:"hidden",children:i.children}),i.subtreeFlags=_.subtreeFlags&65011712,M!==null?g=or(M,g):(g=xn(g,u,a,null),g.flags|=2),g.return=t,i.return=t,i.sibling=g,t.child=i,ql(null,i),i=t.child,g=e.child.memoizedState,g===null?g=Kf(a):(u=g.cachePool,u!==null?(_=Ct._currentValue,u=u.parent!==_?{parent:_,pool:_}:u):u=Bg(),g={baseLanes:g.baseLanes|a,cachePool:u}),i.memoizedState=g,i.childLanes=Jf(e,m,a),t.memoizedState=Xf,ql(e.child,i)):(qr(t),a=e.child,e=a.sibling,a=or(a,{mode:"visible",children:i.children}),a.return=t,a.sibling=null,e!==null&&(m=t.deletions,m===null?(t.deletions=[e],t.flags|=16):m.push(e)),t.child=a,t.memoizedState=null,a)}function If(e,t){return t=Vo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Vo(e,t){return e=fa(22,e,null,t),e.lanes=0,e}function Pf(e,t,a){return Dn(t,e.child,null,a),e=If(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function J0(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),mf(e.return,t,a)}function Wf(e,t,a,i,u,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:u,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=i,m.tail=a,m.tailMode=u,m.treeForkCount=c)}function I0(e,t,a){var i=t.pendingProps,u=i.revealOrder,c=i.tail;i=i.children;var m=bt.current,g=(m&2)!==0;if(g?(m=m&1|2,t.flags|=128):m&=1,re(bt,m),Lt(e,t,i,a),i=je?Dl:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&J0(e,a,t);else if(e.tag===19)J0(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(u){case"forwards":for(a=t.child,u=null;a!==null;)e=a.alternate,e!==null&&Co(e)===null&&(u=a),a=a.sibling;a=u,a===null?(u=t.child,t.child=null):(u=a.sibling,a.sibling=null),Wf(t,!1,u,a,c,i);break;case"backwards":case"unstable_legacy-backwards":for(a=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Co(e)===null){t.child=u;break}e=u.sibling,u.sibling=a,a=u,u=e}Wf(t,!0,a,null,c,i);break;case"together":Wf(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function hr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Yr|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(yi(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,a=or(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=or(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ed(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&go(e)))}function WC(e,t,a){switch(t.tag){case 3:Tt(t,t.stateNode.containerInfo),Vr(t,Ct,e.memoizedState.cache),Nn();break;case 27:case 5:rr(t);break;case 4:Tt(t,t.stateNode.containerInfo);break;case 10:Vr(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ef(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(qr(t),t.flags|=128,null):(a&t.child.childLanes)!==0?K0(e,t,a):(qr(t),e=hr(e,t,a),e!==null?e.sibling:null);qr(t);break;case 19:var u=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(yi(e,t,a,!1),i=(a&t.childLanes)!==0),u){if(i)return I0(e,t,a);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),re(bt,bt.current),i)break;return null;case 22:return t.lanes=0,Z0(e,t,a,t.pendingProps);case 24:Vr(t,Ct,e.memoizedState.cache)}return hr(e,t,a)}function P0(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)wt=!0;else{if(!ed(e,a)&&(t.flags&128)===0)return wt=!1,WC(e,t,a);wt=(e.flags&131072)!==0}else wt=!1,je&&(t.flags&1048576)!==0&&Og(t,Dl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=En(t.elementType),t.type=e,typeof e=="function")nf(e)?(i=Tn(e,i),t.tag=1,t=Q0(null,t,e,i,a)):(t.tag=0,t=Qf(null,t,e,i,a));else{if(e!=null){var u=e.$$typeof;if(u===B){t.tag=11,t=q0(null,t,e,i,a);break e}else if(u===de){t.tag=14,t=H0(null,t,e,i,a);break e}}throw t=se(e)||e,Error(o(306,t,""))}}return t;case 0:return Qf(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,u=Tn(i,t.pendingProps),Q0(e,t,i,u,a);case 3:e:{if(Tt(t,t.stateNode.containerInfo),e===null)throw Error(o(387));i=t.pendingProps;var c=t.memoizedState;u=c.element,xf(e,t),jl(t,i,null,a);var m=t.memoizedState;if(i=m.cache,Vr(t,Ct,i),i!==c.cache&&hf(t,[Ct],a,!0),kl(),i=m.element,c.isDehydrated)if(c={element:i,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=X0(e,t,i,a);break e}else if(i!==u){u=wa(Error(o(424)),t),Al(u),t=X0(e,t,i,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(it=Ra(e.firstChild),Bt=t,je=!0,kr=null,Ta=!0,a=Zg(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Nn(),i===u){t=hr(e,t,a);break e}Lt(e,t,i,a)}t=t.child}return t;case 26:return jo(e,t),e===null?(a=ub(t.type,null,t.pendingProps,null))?t.memoizedState=a:je||(a=t.type,e=t.pendingProps,i=Po(Ae.current).createElement(a),i[Vt]=t,i[Wt]=e,qt(i,a,e),Rt(i),t.stateNode=i):t.memoizedState=ub(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return rr(t),e===null&&je&&(i=t.stateNode=lb(t.type,t.pendingProps,Ae.current),Bt=t,Ta=!0,u=it,Kr(t.type)?(zd=u,it=Ra(i.firstChild)):it=u),Lt(e,t,t.pendingProps.children,a),jo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((u=i=it)&&(i=T5(i,t.type,t.pendingProps,Ta),i!==null?(t.stateNode=i,Bt=t,it=Ra(i.firstChild),Ta=!1,u=!0):u=!1),u||jr(t)),rr(t),u=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,i=c.children,Ad(u,c)?i=null:m!==null&&Ad(u,m)&&(t.flags|=32),t.memoizedState!==null&&(u=Df(e,t,YC,null,null,a),ts._currentValue=u),jo(e,t),Lt(e,t,i,a),t.child;case 6:return e===null&&je&&((e=a=it)&&(a=O5(a,t.pendingProps,Ta),a!==null?(t.stateNode=a,Bt=t,it=null,e=!0):e=!1),e||jr(t)),null;case 13:return K0(e,t,a);case 4:return Tt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Dn(t,null,i,a):Lt(e,t,i,a),t.child;case 11:return q0(e,t,t.type,t.pendingProps,a);case 7:return Lt(e,t,t.pendingProps,a),t.child;case 8:return Lt(e,t,t.pendingProps.children,a),t.child;case 12:return Lt(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.pendingProps,Vr(t,t.type,i.value),Lt(e,t,i.children,a),t.child;case 9:return u=t.type._context,i=t.pendingProps.children,_n(t),u=Ut(u),i=i(u),t.flags|=1,Lt(e,t,i,a),t.child;case 14:return H0(e,t,t.type,t.pendingProps,a);case 15:return G0(e,t,t.type,t.pendingProps,a);case 19:return I0(e,t,a);case 31:return PC(e,t,a);case 22:return Z0(e,t,a,t.pendingProps);case 24:return _n(t),i=Ut(Ct),e===null?(u=yf(),u===null&&(u=rt,c=pf(),u.pooledCache=c,c.refCount++,c!==null&&(u.pooledCacheLanes|=a),u=c),t.memoizedState={parent:i,cache:u},vf(t),Vr(t,Ct,u)):((e.lanes&a)!==0&&(xf(e,t),jl(t,null,null,a),kl()),u=e.memoizedState,c=t.memoizedState,u.parent!==i?(u={parent:i,cache:i},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Vr(t,Ct,i)):(i=c.cache,Vr(t,Ct,i),i!==u.cache&&hf(t,[Ct],a,!0))),Lt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function pr(e){e.flags|=4}function td(e,t,a,i,u){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(Ey())e.flags|=8192;else throw wn=xo,bf}else e.flags&=-16777217}function W0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!hb(t))if(Ey())e.flags|=8192;else throw wn=xo,bf}function Bo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Mp():536870912,e.lanes|=t,Oi|=t)}function Hl(e,t){if(!je)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function lt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)for(var u=e.child;u!==null;)a|=u.lanes|u.childLanes,i|=u.subtreeFlags&65011712,i|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)a|=u.lanes|u.childLanes,i|=u.subtreeFlags,i|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function e5(e,t,a){var i=t.pendingProps;switch(uf(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(t),null;case 1:return lt(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),fr(Ct),ut(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(gi(t)?pr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ff())),lt(t),null;case 26:var u=t.type,c=t.memoizedState;return e===null?(pr(t),c!==null?(lt(t),W0(t,c)):(lt(t),td(t,u,null,i,a))):c?c!==e.memoizedState?(pr(t),lt(t),W0(t,c)):(lt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&pr(t),lt(t),td(t,u,e,i,a)),null;case 27:if(Or(t),a=Ae.current,u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&pr(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return lt(t),null}e=ce.current,gi(t)?Mg(t):(e=lb(u,i,a),t.stateNode=e,pr(t))}return lt(t),null;case 5:if(Or(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&pr(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return lt(t),null}if(c=ce.current,gi(t))Mg(t);else{var m=Po(Ae.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":c=m.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof i.is=="string"?m.createElement("select",{is:i.is}):m.createElement("select"),i.multiple?c.multiple=!0:i.size&&(c.size=i.size);break;default:c=typeof i.is=="string"?m.createElement(u,{is:i.is}):m.createElement(u)}}c[Vt]=t,c[Wt]=i;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=c;e:switch(qt(c,u,i),u){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&pr(t)}}return lt(t),td(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&pr(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=Ae.current,gi(t)){if(e=t.stateNode,a=t.memoizedProps,i=null,u=Bt,u!==null)switch(u.tag){case 27:case 5:i=u.memoizedProps}e[Vt]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Ky(e.nodeValue,a)),e||jr(t,!0)}else e=Po(e).createTextNode(i),e[Vt]=t,t.stateNode=e}return lt(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(i=gi(t),a!==null){if(e===null){if(!i)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Vt]=t}else Nn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;lt(t),e=!1}else a=ff(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(ma(t),t):(ma(t),null);if((t.flags&128)!==0)throw Error(o(558))}return lt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=gi(t),i!==null&&i.dehydrated!==null){if(e===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Vt]=t}else Nn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;lt(t),u=!1}else u=ff(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(ma(t),t):(ma(t),null)}return ma(t),(t.flags&128)!==0?(t.lanes=a,t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,u=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(u=i.alternate.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==u&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Bo(t,t.updateQueue),lt(t),null);case 4:return ut(),e===null&&_d(t.stateNode.containerInfo),lt(t),null;case 10:return fr(t.type),lt(t),null;case 19:if($(bt),i=t.memoizedState,i===null)return lt(t),null;if(u=(t.flags&128)!==0,c=i.rendering,c===null)if(u)Hl(i,!1);else{if(pt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Co(e),c!==null){for(t.flags|=128,Hl(i,!1),e=c.updateQueue,t.updateQueue=e,Bo(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Dg(a,e),a=a.sibling;return re(bt,bt.current&1|2),je&&ur(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&W()>Go&&(t.flags|=128,u=!0,Hl(i,!1),t.lanes=4194304)}else{if(!u)if(e=Co(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,Bo(t,e),Hl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!c.alternate&&!je)return lt(t),null}else 2*W()-i.renderingStartTime>Go&&a!==536870912&&(t.flags|=128,u=!0,Hl(i,!1),t.lanes=4194304);i.isBackwards?(c.sibling=t.child,t.child=c):(e=i.last,e!==null?e.sibling=c:t.child=c,i.last=c)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=W(),e.sibling=null,a=bt.current,re(bt,u?a&1|2:a&1),je&&ur(t,i.treeForkCount),e):(lt(t),null);case 22:case 23:return ma(t),Cf(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(lt(t),t.subtreeFlags&6&&(t.flags|=8192)):lt(t),a=t.updateQueue,a!==null&&Bo(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&$(Cn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),fr(Ct),lt(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function t5(e,t){switch(uf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fr(Ct),ut(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Or(t),null;case 31:if(t.memoizedState!==null){if(ma(t),t.alternate===null)throw Error(o(340));Nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(ma(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(bt),null;case 4:return ut(),null;case 10:return fr(t.type),null;case 22:case 23:return ma(t),Cf(),e!==null&&$(Cn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return fr(Ct),null;case 25:return null;default:return null}}function ey(e,t){switch(uf(t),t.tag){case 3:fr(Ct),ut();break;case 26:case 27:case 5:Or(t);break;case 4:ut();break;case 31:t.memoizedState!==null&&ma(t);break;case 13:ma(t);break;case 19:$(bt);break;case 10:fr(t.type);break;case 22:case 23:ma(t),Cf(),e!==null&&$(Cn);break;case 24:fr(Ct)}}function Gl(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next;a=u;do{if((a.tag&e)===e){i=void 0;var c=a.create,m=a.inst;i=c(),m.destroy=i}a=a.next}while(a!==u)}}catch(g){Ie(t,t.return,g)}}function Gr(e,t,a){try{var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var c=u.next;i=c;do{if((i.tag&e)===e){var m=i.inst,g=m.destroy;if(g!==void 0){m.destroy=void 0,u=t;var _=a,M=g;try{M()}catch(L){Ie(u,_,L)}}}i=i.next}while(i!==c)}}catch(L){Ie(t,t.return,L)}}function ty(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{$g(t,a)}catch(i){Ie(e,e.return,i)}}}function ay(e,t,a){a.props=Tn(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){Ie(e,t,i)}}function Zl(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a=="function"?e.refCleanup=a(i):a.current=i}}catch(u){Ie(e,t,u)}}function Xa(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{i()}catch(u){Ie(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){Ie(e,t,u)}else a.current=null}function ry(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(u){Ie(e,e.return,u)}}function ad(e,t,a){try{var i=e.stateNode;_5(i,e.type,a,t),i[Wt]=t}catch(u){Ie(e,e.return,u)}}function ny(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Kr(e.type)||e.tag===4}function rd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ny(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Kr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function nd(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=lr));else if(i!==4&&(i===27&&Kr(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(nd(e,t,a),e=e.sibling;e!==null;)nd(e,t,a),e=e.sibling}function Uo(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&Kr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Uo(e,t,a),e=e.sibling;e!==null;)Uo(e,t,a),e=e.sibling}function iy(e){var t=e.stateNode,a=e.memoizedProps;try{for(var i=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);qt(t,i,a),t[Vt]=e,t[Wt]=a}catch(c){Ie(e,e.return,c)}}var gr=!1,Dt=!1,id=!1,ly=typeof WeakSet=="function"?WeakSet:Set,Mt=null;function a5(e,t){if(e=e.containerInfo,wd=iu,e=bg(e),Ic(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var u=i.anchorOffset,c=i.focusNode;i=i.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var m=0,g=-1,_=-1,M=0,L=0,Y=e,z=null;t:for(;;){for(var V;Y!==a||u!==0&&Y.nodeType!==3||(g=m+u),Y!==c||i!==0&&Y.nodeType!==3||(_=m+i),Y.nodeType===3&&(m+=Y.nodeValue.length),(V=Y.firstChild)!==null;)z=Y,Y=V;for(;;){if(Y===e)break t;if(z===a&&++M===u&&(g=m),z===c&&++L===i&&(_=m),(V=Y.nextSibling)!==null)break;Y=z,z=Y.parentNode}Y=V}a=g===-1||_===-1?null:{start:g,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Dd={focusedElem:e,selectionRange:a},iu=!1,Mt=t;Mt!==null;)if(t=Mt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Mt=e;else for(;Mt!==null;){switch(t=Mt,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)u=e[a],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,a=t,u=c.memoizedProps,c=c.memoizedState,i=a.stateNode;try{var ue=Tn(a.type,u);e=i.getSnapshotBeforeUpdate(ue,c),i.__reactInternalSnapshotBeforeUpdate=e}catch(be){Ie(a,a.return,be)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Od(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Od(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Mt=e;break}Mt=t.return}}function sy(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:br(e,a),i&4&&Gl(5,a);break;case 1:if(br(e,a),i&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(m){Ie(a,a.return,m)}else{var u=Tn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(m){Ie(a,a.return,m)}}i&64&&ty(a),i&512&&Zl(a,a.return);break;case 3:if(br(e,a),i&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{$g(e,t)}catch(m){Ie(a,a.return,m)}}break;case 27:t===null&&i&4&&iy(a);case 26:case 5:br(e,a),t===null&&i&4&&ry(a),i&512&&Zl(a,a.return);break;case 12:br(e,a);break;case 31:br(e,a),i&4&&cy(e,a);break;case 13:br(e,a),i&4&&fy(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=f5.bind(null,a),R5(e,a))));break;case 22:if(i=a.memoizedState!==null||gr,!i){t=t!==null&&t.memoizedState!==null||Dt,u=gr;var c=Dt;gr=i,(Dt=t)&&!c?vr(e,a,(a.subtreeFlags&8772)!==0):br(e,a),gr=u,Dt=c}break;case 30:break;default:br(e,a)}}function oy(e){var t=e.alternate;t!==null&&(e.alternate=null,oy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&kc(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ct=null,ta=!1;function yr(e,t,a){for(a=a.child;a!==null;)uy(e,t,a),a=a.sibling}function uy(e,t,a){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(mn,a)}catch{}switch(a.tag){case 26:Dt||Xa(a,t),yr(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Dt||Xa(a,t);var i=ct,u=ta;Kr(a.type)&&(ct=a.stateNode,ta=!1),yr(e,t,a),Pl(a.stateNode),ct=i,ta=u;break;case 5:Dt||Xa(a,t);case 6:if(i=ct,u=ta,ct=null,yr(e,t,a),ct=i,ta=u,ct!==null)if(ta)try{(ct.nodeType===9?ct.body:ct.nodeName==="HTML"?ct.ownerDocument.body:ct).removeChild(a.stateNode)}catch(c){Ie(a,t,c)}else try{ct.removeChild(a.stateNode)}catch(c){Ie(a,t,c)}break;case 18:ct!==null&&(ta?(e=ct,tb(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ui(e)):tb(ct,a.stateNode));break;case 4:i=ct,u=ta,ct=a.stateNode.containerInfo,ta=!0,yr(e,t,a),ct=i,ta=u;break;case 0:case 11:case 14:case 15:Gr(2,a,t),Dt||Gr(4,a,t),yr(e,t,a);break;case 1:Dt||(Xa(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&ay(a,t,i)),yr(e,t,a);break;case 21:yr(e,t,a);break;case 22:Dt=(i=Dt)||a.memoizedState!==null,yr(e,t,a),Dt=i;break;default:yr(e,t,a)}}function cy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ui(e)}catch(a){Ie(t,t.return,a)}}}function fy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ui(e)}catch(a){Ie(t,t.return,a)}}function r5(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ly),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ly),t;default:throw Error(o(435,e.tag))}}function Lo(e,t){var a=r5(e);t.forEach(function(i){if(!a.has(i)){a.add(i);var u=d5.bind(null,e,i);i.then(u,u)}})}function aa(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var u=a[i],c=e,m=t,g=m;e:for(;g!==null;){switch(g.tag){case 27:if(Kr(g.type)){ct=g.stateNode,ta=!1;break e}break;case 5:ct=g.stateNode,ta=!1;break e;case 3:case 4:ct=g.stateNode.containerInfo,ta=!0;break e}g=g.return}if(ct===null)throw Error(o(160));uy(c,m,u),ct=null,ta=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)dy(t,e),t=t.sibling}var Ua=null;function dy(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:aa(t,e),ra(e),i&4&&(Gr(3,e,e.return),Gl(3,e),Gr(5,e,e.return));break;case 1:aa(t,e),ra(e),i&512&&(Dt||a===null||Xa(a,a.return)),i&64&&gr&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var u=Ua;if(aa(t,e),ra(e),i&512&&(Dt||a===null||Xa(a,a.return)),i&4){var c=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,u=u.ownerDocument||u;t:switch(i){case"title":c=u.getElementsByTagName("title")[0],(!c||c[gl]||c[Vt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=u.createElement(i),u.head.insertBefore(c,u.querySelector("head > title"))),qt(c,i,a),c[Vt]=e,Rt(c),i=c;break e;case"link":var m=db("link","href",u).get(i+(a.href||""));if(m){for(var g=0;g<m.length;g++)if(c=m[g],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){m.splice(g,1);break t}}c=u.createElement(i),qt(c,i,a),u.head.appendChild(c);break;case"meta":if(m=db("meta","content",u).get(i+(a.content||""))){for(g=0;g<m.length;g++)if(c=m[g],c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){m.splice(g,1);break t}}c=u.createElement(i),qt(c,i,a),u.head.appendChild(c);break;default:throw Error(o(468,i))}c[Vt]=e,Rt(c),i=c}e.stateNode=i}else mb(u,e.type,e.stateNode);else e.stateNode=fb(u,i,e.memoizedProps);else c!==i?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,i===null?mb(u,e.type,e.stateNode):fb(u,i,e.memoizedProps)):i===null&&e.stateNode!==null&&ad(e,e.memoizedProps,a.memoizedProps)}break;case 27:aa(t,e),ra(e),i&512&&(Dt||a===null||Xa(a,a.return)),a!==null&&i&4&&ad(e,e.memoizedProps,a.memoizedProps);break;case 5:if(aa(t,e),ra(e),i&512&&(Dt||a===null||Xa(a,a.return)),e.flags&32){u=e.stateNode;try{li(u,"")}catch(ue){Ie(e,e.return,ue)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,ad(e,u,a!==null?a.memoizedProps:u)),i&1024&&(id=!0);break;case 6:if(aa(t,e),ra(e),i&4){if(e.stateNode===null)throw Error(o(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(ue){Ie(e,e.return,ue)}}break;case 3:if(tu=null,u=Ua,Ua=Wo(t.containerInfo),aa(t,e),Ua=u,ra(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Ui(t.containerInfo)}catch(ue){Ie(e,e.return,ue)}id&&(id=!1,my(e));break;case 4:i=Ua,Ua=Wo(e.stateNode.containerInfo),aa(t,e),ra(e),Ua=i;break;case 12:aa(t,e),ra(e);break;case 31:aa(t,e),ra(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Lo(e,i)));break;case 13:aa(t,e),ra(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Ho=W()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Lo(e,i)));break;case 22:u=e.memoizedState!==null;var _=a!==null&&a.memoizedState!==null,M=gr,L=Dt;if(gr=M||u,Dt=L||_,aa(t,e),Dt=L,gr=M,ra(e),i&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(a===null||_||gr||Dt||On(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){_=a=t;try{if(c=_.stateNode,u)m=c.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{g=_.stateNode;var Y=_.memoizedProps.style,z=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;g.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(ue){Ie(_,_.return,ue)}}}else if(t.tag===6){if(a===null){_=t;try{_.stateNode.nodeValue=u?"":_.memoizedProps}catch(ue){Ie(_,_.return,ue)}}}else if(t.tag===18){if(a===null){_=t;try{var V=_.stateNode;u?ab(V,!0):ab(_.stateNode,!1)}catch(ue){Ie(_,_.return,ue)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,Lo(e,a))));break;case 19:aa(t,e),ra(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Lo(e,i)));break;case 30:break;case 21:break;default:aa(t,e),ra(e)}}function ra(e){var t=e.flags;if(t&2){try{for(var a,i=e.return;i!==null;){if(ny(i)){a=i;break}i=i.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var u=a.stateNode,c=rd(e);Uo(e,c,u);break;case 5:var m=a.stateNode;a.flags&32&&(li(m,""),a.flags&=-33);var g=rd(e);Uo(e,g,m);break;case 3:case 4:var _=a.stateNode.containerInfo,M=rd(e);nd(e,M,_);break;default:throw Error(o(161))}}catch(L){Ie(e,e.return,L)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function my(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;my(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function br(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)sy(e,t.alternate,t),t=t.sibling}function On(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gr(4,t,t.return),On(t);break;case 1:Xa(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&ay(t,t.return,a),On(t);break;case 27:Pl(t.stateNode);case 26:case 5:Xa(t,t.return),On(t);break;case 22:t.memoizedState===null&&On(t);break;case 30:On(t);break;default:On(t)}e=e.sibling}}function vr(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,u=e,c=t,m=c.flags;switch(c.tag){case 0:case 11:case 15:vr(u,c,a),Gl(4,c);break;case 1:if(vr(u,c,a),i=c,u=i.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(M){Ie(i,i.return,M)}if(i=c,u=i.updateQueue,u!==null){var g=i.stateNode;try{var _=u.shared.hiddenCallbacks;if(_!==null)for(u.shared.hiddenCallbacks=null,u=0;u<_.length;u++)Yg(_[u],g)}catch(M){Ie(i,i.return,M)}}a&&m&64&&ty(c),Zl(c,c.return);break;case 27:iy(c);case 26:case 5:vr(u,c,a),a&&i===null&&m&4&&ry(c),Zl(c,c.return);break;case 12:vr(u,c,a);break;case 31:vr(u,c,a),a&&m&4&&cy(u,c);break;case 13:vr(u,c,a),a&&m&4&&fy(u,c);break;case 22:c.memoizedState===null&&vr(u,c,a),Zl(c,c.return);break;case 30:break;default:vr(u,c,a)}t=t.sibling}}function ld(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Tl(a))}function sd(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tl(e))}function La(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)hy(e,t,a,i),t=t.sibling}function hy(e,t,a,i){var u=t.flags;switch(t.tag){case 0:case 11:case 15:La(e,t,a,i),u&2048&&Gl(9,t);break;case 1:La(e,t,a,i);break;case 3:La(e,t,a,i),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tl(e)));break;case 12:if(u&2048){La(e,t,a,i),e=t.stateNode;try{var c=t.memoizedProps,m=c.id,g=c.onPostCommit;typeof g=="function"&&g(m,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){Ie(t,t.return,_)}}else La(e,t,a,i);break;case 31:La(e,t,a,i);break;case 13:La(e,t,a,i);break;case 23:break;case 22:c=t.stateNode,m=t.alternate,t.memoizedState!==null?c._visibility&2?La(e,t,a,i):Yl(e,t):c._visibility&2?La(e,t,a,i):(c._visibility|=2,Di(e,t,a,i,(t.subtreeFlags&10256)!==0||!1)),u&2048&&ld(m,t);break;case 24:La(e,t,a,i),u&2048&&sd(t.alternate,t);break;default:La(e,t,a,i)}}function Di(e,t,a,i,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,m=t,g=a,_=i,M=m.flags;switch(m.tag){case 0:case 11:case 15:Di(c,m,g,_,u),Gl(8,m);break;case 23:break;case 22:var L=m.stateNode;m.memoizedState!==null?L._visibility&2?Di(c,m,g,_,u):Yl(c,m):(L._visibility|=2,Di(c,m,g,_,u)),u&&M&2048&&ld(m.alternate,m);break;case 24:Di(c,m,g,_,u),u&&M&2048&&sd(m.alternate,m);break;default:Di(c,m,g,_,u)}t=t.sibling}}function Yl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,u=i.flags;switch(i.tag){case 22:Yl(a,i),u&2048&&ld(i.alternate,i);break;case 24:Yl(a,i),u&2048&&sd(i.alternate,i);break;default:Yl(a,i)}t=t.sibling}}var $l=8192;function Ai(e,t,a){if(e.subtreeFlags&$l)for(e=e.child;e!==null;)py(e,t,a),e=e.sibling}function py(e,t,a){switch(e.tag){case 26:Ai(e,t,a),e.flags&$l&&e.memoizedState!==null&&Z5(a,Ua,e.memoizedState,e.memoizedProps);break;case 5:Ai(e,t,a);break;case 3:case 4:var i=Ua;Ua=Wo(e.stateNode.containerInfo),Ai(e,t,a),Ua=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=$l,$l=16777216,Ai(e,t,a),$l=i):Ai(e,t,a));break;default:Ai(e,t,a)}}function gy(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Fl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Mt=i,by(i,e)}gy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)yy(e),e=e.sibling}function yy(e){switch(e.tag){case 0:case 11:case 15:Fl(e),e.flags&2048&&Gr(9,e,e.return);break;case 3:Fl(e);break;case 12:Fl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,qo(e)):Fl(e);break;default:Fl(e)}}function qo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Mt=i,by(i,e)}gy(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gr(8,t,t.return),qo(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,qo(t));break;default:qo(t)}e=e.sibling}}function by(e,t){for(;Mt!==null;){var a=Mt;switch(a.tag){case 0:case 11:case 15:Gr(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var i=a.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Tl(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Mt=i;else e:for(a=e;Mt!==null;){i=Mt;var u=i.sibling,c=i.return;if(oy(i),i===a){Mt=null;break e}if(u!==null){u.return=c,Mt=u;break e}Mt=c}}}var n5={getCacheForType:function(e){var t=Ut(Ct),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Ut(Ct).controller.signal}},i5=typeof WeakMap=="function"?WeakMap:Map,$e=0,rt=null,Re=null,ze=0,Je=0,ha=null,Zr=!1,Ti=!1,od=!1,xr=0,pt=0,Yr=0,Rn=0,ud=0,pa=0,Oi=0,Ql=null,na=null,cd=!1,Ho=0,vy=0,Go=1/0,Zo=null,$r=null,Ot=0,Fr=null,Ri=null,Nr=0,fd=0,dd=null,xy=null,Xl=0,md=null;function ga(){return($e&2)!==0&&ze!==0?ze&-ze:H.T!==null?vd():Vp()}function Ny(){if(pa===0)if((ze&536870912)===0||je){var e=Js;Js<<=1,(Js&3932160)===0&&(Js=262144),pa=e}else pa=536870912;return e=da.current,e!==null&&(e.flags|=32),pa}function ia(e,t,a){(e===rt&&(Je===2||Je===9)||e.cancelPendingCommit!==null)&&(Mi(e,0),Qr(e,ze,pa,!1)),pl(e,a),(($e&2)===0||e!==rt)&&(e===rt&&(($e&2)===0&&(Rn|=a),pt===4&&Qr(e,ze,pa,!1)),Ka(e))}function Sy(e,t,a){if(($e&6)!==0)throw Error(o(327));var i=!a&&(t&127)===0&&(t&e.expiredLanes)===0||hl(e,t),u=i?o5(e,t):pd(e,t,!0),c=i;do{if(u===0){Ti&&!i&&Qr(e,t,0,!1);break}else{if(a=e.current.alternate,c&&!l5(a)){u=pd(e,t,!1),c=!1;continue}if(u===2){if(c=t,e.errorRecoveryDisabledLanes&c)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){t=m;e:{var g=e;u=Ql;var _=g.current.memoizedState.isDehydrated;if(_&&(Mi(g,m).flags|=256),m=pd(g,m,!1),m!==2){if(od&&!_){g.errorRecoveryDisabledLanes|=c,Rn|=c,u=4;break e}c=na,na=u,c!==null&&(na===null?na=c:na.push.apply(na,c))}u=m}if(c=!1,u!==2)continue}}if(u===1){Mi(e,0),Qr(e,t,0,!0);break}e:{switch(i=e,c=u,c){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Qr(i,t,pa,!Zr);break e;case 2:na=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(u=Ho+300-W(),10<u)){if(Qr(i,t,pa,!Zr),Ps(i,0,!0)!==0)break e;Nr=t,i.timeoutHandle=Wy(_y.bind(null,i,a,na,Zo,cd,t,pa,Rn,Oi,Zr,c,"Throttled",-0,0),u);break e}_y(i,a,na,Zo,cd,t,pa,Rn,Oi,Zr,c,null,-0,0)}}break}while(!0);Ka(e)}function _y(e,t,a,i,u,c,m,g,_,M,L,Y,z,V){if(e.timeoutHandle=-1,Y=t.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:lr},py(t,c,Y);var ue=(c&62914560)===c?Ho-W():(c&4194048)===c?vy-W():0;if(ue=Y5(Y,ue),ue!==null){Nr=c,e.cancelPendingCommit=ue(Ry.bind(null,e,t,c,a,i,u,m,g,_,L,Y,null,z,V)),Qr(e,c,m,!M);return}}Ry(e,t,c,a,i,u,m,g,_)}function l5(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var u=a[i],c=u.getSnapshot;u=u.value;try{if(!ca(c(),u))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;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 Qr(e,t,a,i){t&=~ud,t&=~Rn,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var u=t;0<u;){var c=31-Xt(u),m=1<<c;i[c]=-1,u&=~m}a!==0&&zp(e,a,t)}function Yo(){return($e&6)===0?(Kl(0),!1):!0}function hd(){if(Re!==null){if(Je===0)var e=Re.return;else e=Re,cr=Sn=null,Of(e),Si=null,Rl=0,e=Re;for(;e!==null;)ey(e.alternate,e),e=e.return;Re=null}}function Mi(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,w5(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Nr=0,hd(),rt=e,Re=a=or(e.current,null),ze=t,Je=0,ha=null,Zr=!1,Ti=hl(e,t),od=!1,Oi=pa=ud=Rn=Yr=pt=0,na=Ql=null,cd=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var u=31-Xt(i),c=1<<u;t|=e[u],i&=~c}return xr=t,co(),a}function Cy(e,t){Ce=null,H.H=Ll,t===Ni||t===vo?(t=qg(),Je=3):t===bf?(t=qg(),Je=4):Je=t===Ff?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ha=t,Re===null&&(pt=1,zo(e,wa(t,e.current)))}function Ey(){var e=da.current;return e===null?!0:(ze&4194048)===ze?Oa===null:(ze&62914560)===ze||(ze&536870912)!==0?e===Oa:!1}function wy(){var e=H.H;return H.H=Ll,e===null?Ll:e}function Dy(){var e=H.A;return H.A=n5,e}function $o(){pt=4,Zr||(ze&4194048)!==ze&&da.current!==null||(Ti=!0),(Yr&134217727)===0&&(Rn&134217727)===0||rt===null||Qr(rt,ze,pa,!1)}function pd(e,t,a){var i=$e;$e|=2;var u=wy(),c=Dy();(rt!==e||ze!==t)&&(Zo=null,Mi(e,t)),t=!1;var m=pt;e:do try{if(Je!==0&&Re!==null){var g=Re,_=ha;switch(Je){case 8:hd(),m=6;break e;case 3:case 2:case 9:case 6:da.current===null&&(t=!0);var M=Je;if(Je=0,ha=null,zi(e,g,_,M),a&&Ti){m=0;break e}break;default:M=Je,Je=0,ha=null,zi(e,g,_,M)}}s5(),m=pt;break}catch(L){Cy(e,L)}while(!0);return t&&e.shellSuspendCounter++,cr=Sn=null,$e=i,H.H=u,H.A=c,Re===null&&(rt=null,ze=0,co()),m}function s5(){for(;Re!==null;)Ay(Re)}function o5(e,t){var a=$e;$e|=2;var i=wy(),u=Dy();rt!==e||ze!==t?(Zo=null,Go=W()+500,Mi(e,t)):Ti=hl(e,t);e:do try{if(Je!==0&&Re!==null){t=Re;var c=ha;t:switch(Je){case 1:Je=0,ha=null,zi(e,t,c,1);break;case 2:case 9:if(Ug(c)){Je=0,ha=null,Ty(t);break}t=function(){Je!==2&&Je!==9||rt!==e||(Je=7),Ka(e)},c.then(t,t);break e;case 3:Je=7;break e;case 4:Je=5;break e;case 7:Ug(c)?(Je=0,ha=null,Ty(t)):(Je=0,ha=null,zi(e,t,c,7));break;case 5:var m=null;switch(Re.tag){case 26:m=Re.memoizedState;case 5:case 27:var g=Re;if(m?hb(m):g.stateNode.complete){Je=0,ha=null;var _=g.sibling;if(_!==null)Re=_;else{var M=g.return;M!==null?(Re=M,Fo(M)):Re=null}break t}}Je=0,ha=null,zi(e,t,c,5);break;case 6:Je=0,ha=null,zi(e,t,c,6);break;case 8:hd(),pt=6;break e;default:throw Error(o(462))}}u5();break}catch(L){Cy(e,L)}while(!0);return cr=Sn=null,H.H=i,H.A=u,$e=a,Re!==null?0:(rt=null,ze=0,co(),pt)}function u5(){for(;Re!==null&&!O();)Ay(Re)}function Ay(e){var t=P0(e.alternate,e,xr);e.memoizedProps=e.pendingProps,t===null?Fo(e):Re=t}function Ty(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=F0(a,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=F0(a,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:Of(t);default:ey(a,t),t=Re=Dg(t,xr),t=P0(a,t,xr)}e.memoizedProps=e.pendingProps,t===null?Fo(e):Re=t}function zi(e,t,a,i){cr=Sn=null,Of(t),Si=null,Rl=0;var u=t.return;try{if(IC(e,u,t,a,ze)){pt=1,zo(e,wa(a,e.current)),Re=null;return}}catch(c){if(u!==null)throw Re=u,c;pt=1,zo(e,wa(a,e.current)),Re=null;return}t.flags&32768?(je||i===1?e=!0:Ti||(ze&536870912)!==0?e=!1:(Zr=e=!0,(i===2||i===9||i===3||i===6)&&(i=da.current,i!==null&&i.tag===13&&(i.flags|=16384))),Oy(t,e)):Fo(t)}function Fo(e){var t=e;do{if((t.flags&32768)!==0){Oy(t,Zr);return}e=t.return;var a=e5(t.alternate,t,xr);if(a!==null){Re=a;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);pt===0&&(pt=5)}function Oy(e,t){do{var a=t5(e.alternate,e);if(a!==null){a.flags&=32767,Re=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Re=e;return}Re=e=a}while(e!==null);pt=6,Re=null}function Ry(e,t,a,i,u,c,m,g,_){e.cancelPendingCommit=null;do Qo();while(Ot!==0);if(($e&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(c=t.lanes|t.childLanes,c|=af,G_(e,a,c,m,g,_),e===rt&&(Re=rt=null,ze=0),Ri=t,Fr=e,Nr=a,fd=c,dd=u,xy=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,m5(ve,function(){return Vy(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=H.T,H.T=null,u=J.p,J.p=2,m=$e,$e|=4;try{a5(e,t,a)}finally{$e=m,J.p=u,H.T=i}}Ot=1,My(),zy(),ky()}}function My(){if(Ot===1){Ot=0;var e=Fr,t=Ri,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=H.T,H.T=null;var i=J.p;J.p=2;var u=$e;$e|=4;try{dy(t,e);var c=Dd,m=bg(e.containerInfo),g=c.focusedElem,_=c.selectionRange;if(m!==g&&g&&g.ownerDocument&&yg(g.ownerDocument.documentElement,g)){if(_!==null&&Ic(g)){var M=_.start,L=_.end;if(L===void 0&&(L=M),"selectionStart"in g)g.selectionStart=M,g.selectionEnd=Math.min(L,g.value.length);else{var Y=g.ownerDocument||document,z=Y&&Y.defaultView||window;if(z.getSelection){var V=z.getSelection(),ue=g.textContent.length,be=Math.min(_.start,ue),at=_.end===void 0?be:Math.min(_.end,ue);!V.extend&&be>at&&(m=at,at=be,be=m);var T=gg(g,be),D=gg(g,at);if(T&&D&&(V.rangeCount!==1||V.anchorNode!==T.node||V.anchorOffset!==T.offset||V.focusNode!==D.node||V.focusOffset!==D.offset)){var R=Y.createRange();R.setStart(T.node,T.offset),V.removeAllRanges(),be>at?(V.addRange(R),V.extend(D.node,D.offset)):(R.setEnd(D.node,D.offset),V.addRange(R))}}}}for(Y=[],V=g;V=V.parentNode;)V.nodeType===1&&Y.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<Y.length;g++){var G=Y[g];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}iu=!!wd,Dd=wd=null}finally{$e=u,J.p=i,H.T=a}}e.current=t,Ot=2}}function zy(){if(Ot===2){Ot=0;var e=Fr,t=Ri,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=H.T,H.T=null;var i=J.p;J.p=2;var u=$e;$e|=4;try{sy(e,t.alternate,t)}finally{$e=u,J.p=i,H.T=a}}Ot=3}}function ky(){if(Ot===4||Ot===3){Ot=0,j();var e=Fr,t=Ri,a=Nr,i=xy;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ot=5:(Ot=0,Ri=Fr=null,jy(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&($r=null),Mc(a),t=t.stateNode,jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(mn,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=H.T,u=J.p,J.p=2,H.T=null;try{for(var c=e.onRecoverableError,m=0;m<i.length;m++){var g=i[m];c(g.value,{componentStack:g.stack})}}finally{H.T=t,J.p=u}}(Nr&3)!==0&&Qo(),Ka(e),u=e.pendingLanes,(a&261930)!==0&&(u&42)!==0?e===md?Xl++:(Xl=0,md=e):Xl=0,Kl(0)}}function jy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Tl(t)))}function Qo(){return My(),zy(),ky(),Vy()}function Vy(){if(Ot!==5)return!1;var e=Fr,t=fd;fd=0;var a=Mc(Nr),i=H.T,u=J.p;try{J.p=32>a?32:a,H.T=null,a=dd,dd=null;var c=Fr,m=Nr;if(Ot=0,Ri=Fr=null,Nr=0,($e&6)!==0)throw Error(o(331));var g=$e;if($e|=4,yy(c.current),hy(c,c.current,m,a),$e=g,Kl(0,!1),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(mn,c)}catch{}return!0}finally{J.p=u,H.T=i,jy(e,t)}}function By(e,t,a){t=wa(a,t),t=$f(e.stateNode,t,2),e=Lr(e,t,2),e!==null&&(pl(e,2),Ka(e))}function Ie(e,t,a){if(e.tag===3)By(e,e,a);else for(;t!==null;){if(t.tag===3){By(t,e,a);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&($r===null||!$r.has(i))){e=wa(a,e),a=U0(2),i=Lr(t,a,2),i!==null&&(L0(a,i,t,e),pl(i,2),Ka(i));break}}t=t.return}}function gd(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new i5;var u=new Set;i.set(t,u)}else u=i.get(t),u===void 0&&(u=new Set,i.set(t,u));u.has(a)||(od=!0,u.add(a),e=c5.bind(null,e,t,a),t.then(e,e))}function c5(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,rt===e&&(ze&a)===a&&(pt===4||pt===3&&(ze&62914560)===ze&&300>W()-Ho?($e&2)===0&&Mi(e,0):ud|=a,Oi===ze&&(Oi=0)),Ka(e)}function Uy(e,t){t===0&&(t=Mp()),e=vn(e,t),e!==null&&(pl(e,t),Ka(e))}function f5(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Uy(e,a)}function d5(e,t){var a=0;switch(e.tag){case 31:case 13:var i=e.stateNode,u=e.memoizedState;u!==null&&(a=u.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(t),Uy(e,a)}function m5(e,t){return Wn(e,t)}var Xo=null,ki=null,yd=!1,Ko=!1,bd=!1,Xr=0;function Ka(e){e!==ki&&e.next===null&&(ki===null?Xo=ki=e:ki=ki.next=e),Ko=!0,yd||(yd=!0,p5())}function Kl(e,t){if(!bd&&Ko){bd=!0;do for(var a=!1,i=Xo;i!==null;){if(e!==0){var u=i.pendingLanes;if(u===0)var c=0;else{var m=i.suspendedLanes,g=i.pingedLanes;c=(1<<31-Xt(42|e)+1)-1,c&=u&~(m&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,Gy(i,c))}else c=ze,c=Ps(i,i===rt?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(c&3)===0||hl(i,c)||(a=!0,Gy(i,c));i=i.next}while(a);bd=!1}}function h5(){Ly()}function Ly(){Ko=yd=!1;var e=0;Xr!==0&&E5()&&(e=Xr);for(var t=W(),a=null,i=Xo;i!==null;){var u=i.next,c=qy(i,t);c===0?(i.next=null,a===null?Xo=u:a.next=u,u===null&&(ki=a)):(a=i,(e!==0||(c&3)!==0)&&(Ko=!0)),i=u}Ot!==0&&Ot!==5||Kl(e),Xr!==0&&(Xr=0)}function qy(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,u=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-Xt(c),g=1<<m,_=u[m];_===-1?((g&a)===0||(g&i)!==0)&&(u[m]=H_(g,t)):_<=t&&(e.expiredLanes|=g),c&=~g}if(t=rt,a=ze,a=Ps(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===t&&(Je===2||Je===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&E(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||hl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(i!==null&&E(i),Mc(a)){case 2:case 8:a=me;break;case 32:a=ve;break;case 268435456:a=Yt;break;default:a=ve}return i=Hy.bind(null,e),a=Wn(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&i!==null&&E(i),e.callbackPriority=2,e.callbackNode=null,2}function Hy(e,t){if(Ot!==0&&Ot!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Qo()&&e.callbackNode!==a)return null;var i=ze;return i=Ps(e,e===rt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(Sy(e,i,t),qy(e,W()),e.callbackNode!=null&&e.callbackNode===a?Hy.bind(null,e):null)}function Gy(e,t){if(Qo())return null;Sy(e,t,!0)}function p5(){D5(function(){($e&6)!==0?Wn(ae,h5):Ly()})}function vd(){if(Xr===0){var e=bi;e===0&&(e=Ks,Ks<<=1,(Ks&261888)===0&&(Ks=256)),Xr=e}return Xr}function Zy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ao(""+e)}function Yy(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function g5(e,t,a,i,u){if(t==="submit"&&a&&a.stateNode===u){var c=Zy((u[Wt]||null).action),m=i.submitter;m&&(t=(t=m[Wt]||null)?Zy(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var g=new lo("action","action",null,i,u);e.push({event:g,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Xr!==0){var _=m?Yy(u,m):new FormData(u);Lf(a,{pending:!0,data:_,method:u.method,action:c},null,_)}}else typeof c=="function"&&(g.preventDefault(),_=m?Yy(u,m):new FormData(u),Lf(a,{pending:!0,data:_,method:u.method,action:c},c,_))},currentTarget:u}]})}}for(var xd=0;xd<tf.length;xd++){var Nd=tf[xd],y5=Nd.toLowerCase(),b5=Nd[0].toUpperCase()+Nd.slice(1);Ba(y5,"on"+b5)}Ba(Ng,"onAnimationEnd"),Ba(Sg,"onAnimationIteration"),Ba(_g,"onAnimationStart"),Ba("dblclick","onDoubleClick"),Ba("focusin","onFocus"),Ba("focusout","onBlur"),Ba(kC,"onTransitionRun"),Ba(jC,"onTransitionStart"),Ba(VC,"onTransitionCancel"),Ba(Cg,"onTransitionEnd"),ni("onMouseEnter",["mouseout","mouseover"]),ni("onMouseLeave",["mouseout","mouseover"]),ni("onPointerEnter",["pointerout","pointerover"]),ni("onPointerLeave",["pointerout","pointerover"]),pn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pn("onBeforeInput",["compositionend","keypress","textInput","paste"]),pn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jl="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(" "),v5=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Jl));function $y(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],u=i.event;i=i.listeners;e:{var c=void 0;if(t)for(var m=i.length-1;0<=m;m--){var g=i[m],_=g.instance,M=g.currentTarget;if(g=g.listener,_!==c&&u.isPropagationStopped())break e;c=g,u.currentTarget=M;try{c(u)}catch(L){uo(L)}u.currentTarget=null,c=_}else for(m=0;m<i.length;m++){if(g=i[m],_=g.instance,M=g.currentTarget,g=g.listener,_!==c&&u.isPropagationStopped())break e;c=g,u.currentTarget=M;try{c(u)}catch(L){uo(L)}u.currentTarget=null,c=_}}}}function Me(e,t){var a=t[zc];a===void 0&&(a=t[zc]=new Set);var i=e+"__bubble";a.has(i)||(Fy(t,e,2,!1),a.add(i))}function Sd(e,t,a){var i=0;t&&(i|=4),Fy(a,e,i,t)}var Jo="_reactListening"+Math.random().toString(36).slice(2);function _d(e){if(!e[Jo]){e[Jo]=!0,Lp.forEach(function(a){a!=="selectionchange"&&(v5.has(a)||Sd(a,!1,e),Sd(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Jo]||(t[Jo]=!0,Sd("selectionchange",!1,t))}}function Fy(e,t,a,i){switch(Nb(t)){case 2:var u=Q5;break;case 8:u=X5;break;default:u=Ud}a=u.bind(null,t,a,e),u=void 0,!Gc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),i?u!==void 0?e.addEventListener(t,a,{capture:!0,passive:u}):e.addEventListener(t,a,!0):u!==void 0?e.addEventListener(t,a,{passive:u}):e.addEventListener(t,a,!1)}function Cd(e,t,a,i,u){var c=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var m=i.tag;if(m===3||m===4){var g=i.stateNode.containerInfo;if(g===u)break;if(m===4)for(m=i.return;m!==null;){var _=m.tag;if((_===3||_===4)&&m.stateNode.containerInfo===u)return;m=m.return}for(;g!==null;){if(m=ti(g),m===null)return;if(_=m.tag,_===5||_===6||_===26||_===27){i=c=m;continue e}g=g.parentNode}}i=i.return}Ip(function(){var M=c,L=qc(a),Y=[];e:{var z=Eg.get(e);if(z!==void 0){var V=lo,ue=e;switch(e){case"keypress":if(no(a)===0)break e;case"keydown":case"keyup":V=dC;break;case"focusin":ue="focus",V=Fc;break;case"focusout":ue="blur",V=Fc;break;case"beforeblur":case"afterblur":V=Fc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=eg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=eC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=pC;break;case Ng:case Sg:case _g:V=rC;break;case Cg:V=yC;break;case"scroll":case"scrollend":V=P_;break;case"wheel":V=vC;break;case"copy":case"cut":case"paste":V=iC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=ag;break;case"toggle":case"beforetoggle":V=NC}var be=(t&4)!==0,at=!be&&(e==="scroll"||e==="scrollend"),T=be?z!==null?z+"Capture":null:z;be=[];for(var D=M,R;D!==null;){var G=D;if(R=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||R===null||T===null||(G=bl(D,T),G!=null&&be.push(Il(D,G,R))),at)break;D=D.return}0<be.length&&(z=new V(z,ue,null,a,L),Y.push({event:z,listeners:be}))}}if((t&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",z&&a!==Lc&&(ue=a.relatedTarget||a.fromElement)&&(ti(ue)||ue[ei]))break e;if((V||z)&&(z=L.window===L?L:(z=L.ownerDocument)?z.defaultView||z.parentWindow:window,V?(ue=a.relatedTarget||a.toElement,V=M,ue=ue?ti(ue):null,ue!==null&&(at=d(ue),be=ue.tag,ue!==at||be!==5&&be!==27&&be!==6)&&(ue=null)):(V=null,ue=M),V!==ue)){if(be=eg,G="onMouseLeave",T="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(be=ag,G="onPointerLeave",T="onPointerEnter",D="pointer"),at=V==null?z:yl(V),R=ue==null?z:yl(ue),z=new be(G,D+"leave",V,a,L),z.target=at,z.relatedTarget=R,G=null,ti(L)===M&&(be=new be(T,D+"enter",ue,a,L),be.target=R,be.relatedTarget=at,G=be),at=G,V&&ue)t:{for(be=x5,T=V,D=ue,R=0,G=T;G;G=be(G))R++;G=0;for(var ye=D;ye;ye=be(ye))G++;for(;0<R-G;)T=be(T),R--;for(;0<G-R;)D=be(D),G--;for(;R--;){if(T===D||D!==null&&T===D.alternate){be=T;break t}T=be(T),D=be(D)}be=null}else be=null;V!==null&&Qy(Y,z,V,be,!1),ue!==null&&at!==null&&Qy(Y,at,ue,be,!0)}}e:{if(z=M?yl(M):window,V=z.nodeName&&z.nodeName.toLowerCase(),V==="select"||V==="input"&&z.type==="file")var qe=cg;else if(og(z))if(fg)qe=RC;else{qe=TC;var he=AC}else V=z.nodeName,!V||V.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?M&&Uc(M.elementType)&&(qe=cg):qe=OC;if(qe&&(qe=qe(e,M))){ug(Y,qe,a,L);break e}he&&he(e,z,M),e==="focusout"&&M&&z.type==="number"&&M.memoizedProps.value!=null&&Bc(z,"number",z.value)}switch(he=M?yl(M):window,e){case"focusin":(og(he)||he.contentEditable==="true")&&(ci=he,Pc=M,wl=null);break;case"focusout":wl=Pc=ci=null;break;case"mousedown":Wc=!0;break;case"contextmenu":case"mouseup":case"dragend":Wc=!1,vg(Y,a,L);break;case"selectionchange":if(zC)break;case"keydown":case"keyup":vg(Y,a,L)}var Ee;if(Xc)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else ui?lg(e,a)&&(ke="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ke="onCompositionStart");ke&&(rg&&a.locale!=="ko"&&(ui||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&ui&&(Ee=Pp()):(Mr=L,Zc="value"in Mr?Mr.value:Mr.textContent,ui=!0)),he=Io(M,ke),0<he.length&&(ke=new tg(ke,e,null,a,L),Y.push({event:ke,listeners:he}),Ee?ke.data=Ee:(Ee=sg(a),Ee!==null&&(ke.data=Ee)))),(Ee=_C?CC(e,a):EC(e,a))&&(ke=Io(M,"onBeforeInput"),0<ke.length&&(he=new tg("onBeforeInput","beforeinput",null,a,L),Y.push({event:he,listeners:ke}),he.data=Ee)),g5(Y,e,M,a,L)}$y(Y,t)})}function Il(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Io(e,t){for(var a=t+"Capture",i=[];e!==null;){var u=e,c=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||c===null||(u=bl(e,a),u!=null&&i.unshift(Il(e,u,c)),u=bl(e,t),u!=null&&i.push(Il(e,u,c))),e.tag===3)return i;e=e.return}return[]}function x5(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Qy(e,t,a,i,u){for(var c=t._reactName,m=[];a!==null&&a!==i;){var g=a,_=g.alternate,M=g.stateNode;if(g=g.tag,_!==null&&_===i)break;g!==5&&g!==26&&g!==27||M===null||(_=M,u?(M=bl(a,c),M!=null&&m.unshift(Il(a,M,_))):u||(M=bl(a,c),M!=null&&m.push(Il(a,M,_)))),a=a.return}m.length!==0&&e.push({event:t,listeners:m})}var N5=/\r\n?/g,S5=/\u0000|\uFFFD/g;function Xy(e){return(typeof e=="string"?e:""+e).replace(N5,`
49
+ `).replace(S5,"")}function Ky(e,t){return t=Xy(t),Xy(e)===t}function tt(e,t,a,i,u,c){switch(a){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||li(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&li(e,""+i);break;case"className":eo(e,"class",i);break;case"tabIndex":eo(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":eo(e,a,i);break;case"style":Kp(e,i,c);break;case"data":if(t!=="object"){eo(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=ao(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(t!=="input"&&tt(e,t,"name",u.name,u,null),tt(e,t,"formEncType",u.formEncType,u,null),tt(e,t,"formMethod",u.formMethod,u,null),tt(e,t,"formTarget",u.formTarget,u,null)):(tt(e,t,"encType",u.encType,u,null),tt(e,t,"method",u.method,u,null),tt(e,t,"target",u.target,u,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=ao(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=lr);break;case"onScroll":i!=null&&Me("scroll",e);break;case"onScrollEnd":i!=null&&Me("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(a=i.__html,a!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}a=ao(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":Me("beforetoggle",e),Me("toggle",e),Ws(e,"popover",i);break;case"xlinkActuate":ir(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":ir(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":ir(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":ir(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":ir(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":ir(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":ir(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":ir(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":ir(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Ws(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=J_.get(a)||a,Ws(e,a,i))}}function Ed(e,t,a,i,u,c){switch(a){case"style":Kp(e,i,c);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(a=i.__html,a!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof i=="string"?li(e,i):(typeof i=="number"||typeof i=="bigint")&&li(e,""+i);break;case"onScroll":i!=null&&Me("scroll",e);break;case"onScrollEnd":i!=null&&Me("scrollend",e);break;case"onClick":i!=null&&(e.onclick=lr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qp.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(u=a.endsWith("Capture"),t=a.slice(2,u?a.length-7:void 0),c=e[Wt]||null,c=c!=null?c[a]:null,typeof c=="function"&&e.removeEventListener(t,c,u),typeof i=="function")){typeof c!="function"&&c!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,u);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Ws(e,a,i)}}}function qt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Me("error",e),Me("load",e);var i=!1,u=!1,c;for(c in a)if(a.hasOwnProperty(c)){var m=a[c];if(m!=null)switch(c){case"src":i=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:tt(e,t,c,m,a,null)}}u&&tt(e,t,"srcSet",a.srcSet,a,null),i&&tt(e,t,"src",a.src,a,null);return;case"input":Me("invalid",e);var g=c=m=u=null,_=null,M=null;for(i in a)if(a.hasOwnProperty(i)){var L=a[i];if(L!=null)switch(i){case"name":u=L;break;case"type":m=L;break;case"checked":_=L;break;case"defaultChecked":M=L;break;case"value":c=L;break;case"defaultValue":g=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(o(137,t));break;default:tt(e,t,i,L,a,null)}}$p(e,c,g,_,M,m,u,!1);return;case"select":Me("invalid",e),i=m=c=null;for(u in a)if(a.hasOwnProperty(u)&&(g=a[u],g!=null))switch(u){case"value":c=g;break;case"defaultValue":m=g;break;case"multiple":i=g;default:tt(e,t,u,g,a,null)}t=c,a=m,e.multiple=!!i,t!=null?ii(e,!!i,t,!1):a!=null&&ii(e,!!i,a,!0);return;case"textarea":Me("invalid",e),c=u=i=null;for(m in a)if(a.hasOwnProperty(m)&&(g=a[m],g!=null))switch(m){case"value":i=g;break;case"defaultValue":u=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(o(91));break;default:tt(e,t,m,g,a,null)}Qp(e,i,u,c);return;case"option":for(_ in a)if(a.hasOwnProperty(_)&&(i=a[_],i!=null))switch(_){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:tt(e,t,_,i,a,null)}return;case"dialog":Me("beforetoggle",e),Me("toggle",e),Me("cancel",e),Me("close",e);break;case"iframe":case"object":Me("load",e);break;case"video":case"audio":for(i=0;i<Jl.length;i++)Me(Jl[i],e);break;case"image":Me("error",e),Me("load",e);break;case"details":Me("toggle",e);break;case"embed":case"source":case"link":Me("error",e),Me("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(M in a)if(a.hasOwnProperty(M)&&(i=a[M],i!=null))switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:tt(e,t,M,i,a,null)}return;default:if(Uc(t)){for(L in a)a.hasOwnProperty(L)&&(i=a[L],i!==void 0&&Ed(e,t,L,i,a,void 0));return}}for(g in a)a.hasOwnProperty(g)&&(i=a[g],i!=null&&tt(e,t,g,i,a,null))}function _5(e,t,a,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,c=null,m=null,g=null,_=null,M=null,L=null;for(V in a){var Y=a[V];if(a.hasOwnProperty(V)&&Y!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":_=Y;default:i.hasOwnProperty(V)||tt(e,t,V,null,i,Y)}}for(var z in i){var V=i[z];if(Y=a[z],i.hasOwnProperty(z)&&(V!=null||Y!=null))switch(z){case"type":c=V;break;case"name":u=V;break;case"checked":M=V;break;case"defaultChecked":L=V;break;case"value":m=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,t));break;default:V!==Y&&tt(e,t,z,V,i,Y)}}Vc(e,m,g,_,M,L,c,u);return;case"select":V=m=g=z=null;for(c in a)if(_=a[c],a.hasOwnProperty(c)&&_!=null)switch(c){case"value":break;case"multiple":V=_;default:i.hasOwnProperty(c)||tt(e,t,c,null,i,_)}for(u in i)if(c=i[u],_=a[u],i.hasOwnProperty(u)&&(c!=null||_!=null))switch(u){case"value":z=c;break;case"defaultValue":g=c;break;case"multiple":m=c;default:c!==_&&tt(e,t,u,c,i,_)}t=g,a=m,i=V,z!=null?ii(e,!!a,z,!1):!!i!=!!a&&(t!=null?ii(e,!!a,t,!0):ii(e,!!a,a?[]:"",!1));return;case"textarea":V=z=null;for(g in a)if(u=a[g],a.hasOwnProperty(g)&&u!=null&&!i.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:tt(e,t,g,null,i,u)}for(m in i)if(u=i[m],c=a[m],i.hasOwnProperty(m)&&(u!=null||c!=null))switch(m){case"value":z=u;break;case"defaultValue":V=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==c&&tt(e,t,m,u,i,c)}Fp(e,z,V);return;case"option":for(var ue in a)if(z=a[ue],a.hasOwnProperty(ue)&&z!=null&&!i.hasOwnProperty(ue))switch(ue){case"selected":e.selected=!1;break;default:tt(e,t,ue,null,i,z)}for(_ in i)if(z=i[_],V=a[_],i.hasOwnProperty(_)&&z!==V&&(z!=null||V!=null))switch(_){case"selected":e.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:tt(e,t,_,z,i,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var be in a)z=a[be],a.hasOwnProperty(be)&&z!=null&&!i.hasOwnProperty(be)&&tt(e,t,be,null,i,z);for(M in i)if(z=i[M],V=a[M],i.hasOwnProperty(M)&&z!==V&&(z!=null||V!=null))switch(M){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,t));break;default:tt(e,t,M,z,i,V)}return;default:if(Uc(t)){for(var at in a)z=a[at],a.hasOwnProperty(at)&&z!==void 0&&!i.hasOwnProperty(at)&&Ed(e,t,at,void 0,i,z);for(L in i)z=i[L],V=a[L],!i.hasOwnProperty(L)||z===V||z===void 0&&V===void 0||Ed(e,t,L,z,i,V);return}}for(var T in a)z=a[T],a.hasOwnProperty(T)&&z!=null&&!i.hasOwnProperty(T)&&tt(e,t,T,null,i,z);for(Y in i)z=i[Y],V=a[Y],!i.hasOwnProperty(Y)||z===V||z==null&&V==null||tt(e,t,Y,z,i,V)}function Jy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function C5(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var u=a[i],c=u.transferSize,m=u.initiatorType,g=u.duration;if(c&&g&&Jy(m)){for(m=0,g=u.responseEnd,i+=1;i<a.length;i++){var _=a[i],M=_.startTime;if(M>g)break;var L=_.transferSize,Y=_.initiatorType;L&&Jy(Y)&&(_=_.responseEnd,m+=L*(_<g?1:(g-M)/(_-M)))}if(--i,t+=8*(c+m)/(u.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var wd=null,Dd=null;function Po(e){return e.nodeType===9?e:e.ownerDocument}function Iy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Py(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Ad(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Td=null;function E5(){var e=window.event;return e&&e.type==="popstate"?e===Td?!1:(Td=e,!0):(Td=null,!1)}var Wy=typeof setTimeout=="function"?setTimeout:void 0,w5=typeof clearTimeout=="function"?clearTimeout:void 0,eb=typeof Promise=="function"?Promise:void 0,D5=typeof queueMicrotask=="function"?queueMicrotask:typeof eb<"u"?function(e){return eb.resolve(null).then(e).catch(A5)}:Wy;function A5(e){setTimeout(function(){throw e})}function Kr(e){return e==="head"}function tb(e,t){var a=t,i=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(u),Ui(t);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")Pl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Pl(a);for(var c=a.firstChild;c;){var m=c.nextSibling,g=c.nodeName;c[gl]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=m}}else a==="body"&&Pl(e.ownerDocument.body);a=u}while(a);Ui(t)}function ab(e,t){var a=e;e=0;do{var i=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=i}while(a)}function Od(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Od(a),kc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function T5(e,t,a,i){for(;e.nodeType===1;){var u=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[gl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Ra(e.nextSibling),e===null)break}return null}function O5(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ra(e.nextSibling),e===null))return null;return e}function rb(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ra(e.nextSibling),e===null))return null;return e}function Rd(e){return e.data==="$?"||e.data==="$~"}function Md(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function R5(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Ra(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var zd=null;function nb(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Ra(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function ib(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function lb(e,t,a){switch(t=Po(a),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Pl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);kc(e)}var Ma=new Map,sb=new Set;function Wo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Sr=J.d;J.d={f:M5,r:z5,D:k5,C:j5,L:V5,m:B5,X:L5,S:U5,M:q5};function M5(){var e=Sr.f(),t=Yo();return e||t}function z5(e){var t=ai(e);t!==null&&t.tag===5&&t.type==="form"?C0(t):Sr.r(e)}var ji=typeof document>"u"?null:document;function ob(e,t,a){var i=ji;if(i&&typeof t=="string"&&t){var u=Ca(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),sb.has(u)||(sb.add(u),e={rel:e,crossOrigin:a,href:t},i.querySelector(u)===null&&(t=i.createElement("link"),qt(t,"link",e),Rt(t),i.head.appendChild(t)))}}function k5(e){Sr.D(e),ob("dns-prefetch",e,null)}function j5(e,t){Sr.C(e,t),ob("preconnect",e,t)}function V5(e,t,a){Sr.L(e,t,a);var i=ji;if(i&&e&&t){var u='link[rel="preload"][as="'+Ca(t)+'"]';t==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+Ca(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+Ca(a.imageSizes)+'"]')):u+='[href="'+Ca(e)+'"]';var c=u;switch(t){case"style":c=Vi(e);break;case"script":c=Bi(e)}Ma.has(c)||(e=C({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ma.set(c,e),i.querySelector(u)!==null||t==="style"&&i.querySelector(Wl(c))||t==="script"&&i.querySelector(es(c))||(t=i.createElement("link"),qt(t,"link",e),Rt(t),i.head.appendChild(t)))}}function B5(e,t){Sr.m(e,t);var a=ji;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Ca(i)+'"][href="'+Ca(e)+'"]',c=u;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Bi(e)}if(!Ma.has(c)&&(e=C({rel:"modulepreload",href:e},t),Ma.set(c,e),a.querySelector(u)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(es(c)))return}i=a.createElement("link"),qt(i,"link",e),Rt(i),a.head.appendChild(i)}}}function U5(e,t,a){Sr.S(e,t,a);var i=ji;if(i&&e){var u=ri(i).hoistableStyles,c=Vi(e);t=t||"default";var m=u.get(c);if(!m){var g={loading:0,preload:null};if(m=i.querySelector(Wl(c)))g.loading=5;else{e=C({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ma.get(c))&&kd(e,a);var _=m=i.createElement("link");Rt(_),qt(_,"link",e),_._p=new Promise(function(M,L){_.onload=M,_.onerror=L}),_.addEventListener("load",function(){g.loading|=1}),_.addEventListener("error",function(){g.loading|=2}),g.loading|=4,eu(m,t,i)}m={type:"stylesheet",instance:m,count:1,state:g},u.set(c,m)}}}function L5(e,t){Sr.X(e,t);var a=ji;if(a&&e){var i=ri(a).hoistableScripts,u=Bi(e),c=i.get(u);c||(c=a.querySelector(es(u)),c||(e=C({src:e,async:!0},t),(t=Ma.get(u))&&jd(e,t),c=a.createElement("script"),Rt(c),qt(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(u,c))}}function q5(e,t){Sr.M(e,t);var a=ji;if(a&&e){var i=ri(a).hoistableScripts,u=Bi(e),c=i.get(u);c||(c=a.querySelector(es(u)),c||(e=C({src:e,async:!0,type:"module"},t),(t=Ma.get(u))&&jd(e,t),c=a.createElement("script"),Rt(c),qt(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(u,c))}}function ub(e,t,a,i){var u=(u=Ae.current)?Wo(u):null;if(!u)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Vi(a.href),a=ri(u).hoistableStyles,i=a.get(t),i||(i={type:"style",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Vi(a.href);var c=ri(u).hoistableStyles,m=c.get(e);if(m||(u=u.ownerDocument||u,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,m),(c=u.querySelector(Wl(e)))&&!c._p&&(m.instance=c,m.state.loading=5),Ma.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ma.set(e,a),c||H5(u,e,a,m.state))),t&&i===null)throw Error(o(528,""));return m}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Bi(a),a=ri(u).hoistableScripts,i=a.get(t),i||(i={type:"script",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Vi(e){return'href="'+Ca(e)+'"'}function Wl(e){return'link[rel="stylesheet"]['+e+"]"}function cb(e){return C({},e,{"data-precedence":e.precedence,precedence:null})}function H5(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),qt(t,"link",a),Rt(t),e.head.appendChild(t))}function Bi(e){return'[src="'+Ca(e)+'"]'}function es(e){return"script[async]"+e}function fb(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Ca(a.href)+'"]');if(i)return t.instance=i,Rt(i),i;var u=C({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Rt(i),qt(i,"style",u),eu(i,a.precedence,e),t.instance=i;case"stylesheet":u=Vi(a.href);var c=e.querySelector(Wl(u));if(c)return t.state.loading|=4,t.instance=c,Rt(c),c;i=cb(a),(u=Ma.get(u))&&kd(i,u),c=(e.ownerDocument||e).createElement("link"),Rt(c);var m=c;return m._p=new Promise(function(g,_){m.onload=g,m.onerror=_}),qt(c,"link",i),t.state.loading|=4,eu(c,a.precedence,e),t.instance=c;case"script":return c=Bi(a.src),(u=e.querySelector(es(c)))?(t.instance=u,Rt(u),u):(i=a,(u=Ma.get(c))&&(i=C({},a),jd(i,u)),e=e.ownerDocument||e,u=e.createElement("script"),Rt(u),qt(u,"link",i),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,eu(i,a.precedence,e));return t.instance}function eu(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=i.length?i[i.length-1]:null,c=u,m=0;m<i.length;m++){var g=i[m];if(g.dataset.precedence===t)c=g;else if(c!==u)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function kd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function jd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var tu=null;function db(e,t,a){if(tu===null){var i=new Map,u=tu=new Map;u.set(a,i)}else u=tu,i=u.get(a),i||(i=new Map,u.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),u=0;u<a.length;u++){var c=a[u];if(!(c[gl]||c[Vt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(t)||"";m=e+m;var g=i.get(m);g?g.push(c):i.set(m,[c])}}return i}function mb(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function G5(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function hb(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Z5(e,t,a,i){if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var u=Vi(i.href),c=t.querySelector(Wl(u));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=au.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=c,Rt(c);return}c=t.ownerDocument||t,i=cb(i),(u=Ma.get(u))&&kd(i,u),c=c.createElement("link"),Rt(c);var m=c;m._p=new Promise(function(g,_){m.onload=g,m.onerror=_}),qt(c,"link",i),a.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=au.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Vd=0;function Y5(e,t){return e.stylesheets&&e.count===0&&nu(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&nu(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&Vd===0&&(Vd=62500*C5());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&nu(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Vd?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(u)}}:null}function au(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ru=null;function nu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ru=new Map,t.forEach($5,e),ru=null,au.call(e))}function $5(e,t){if(!(t.state.loading&4)){var a=ru.get(e);if(a)var i=a.get(null);else{a=new Map,ru.set(e,a);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<u.length;c++){var m=u[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(a.set(m.dataset.precedence,m),i=m)}i&&a.set(null,i)}u=t.instance,m=u.getAttribute("data-precedence"),c=a.get(m)||i,c===i&&a.set(null,u),a.set(m,u),this.count++,i=au.bind(this),u.addEventListener("load",i),u.addEventListener("error",i),c?c.parentNode.insertBefore(u,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var ts={$$typeof:I,Provider:null,Consumer:null,_currentValue:De,_currentValue2:De,_threadCount:0};function F5(e,t,a,i,u,c,m,g,_){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Oc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oc(0),this.hiddenUpdates=Oc(null),this.identifierPrefix=i,this.onUncaughtError=u,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function pb(e,t,a,i,u,c,m,g,_,M,L,Y){return e=new F5(e,t,a,m,_,M,L,Y,g),t=1,c===!0&&(t|=24),c=fa(3,null,null,t),e.current=c,c.stateNode=e,t=pf(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:i,isDehydrated:a,cache:t},vf(c),e}function gb(e){return e?(e=mi,e):mi}function yb(e,t,a,i,u,c){u=gb(u),i.context===null?i.context=u:i.pendingContext=u,i=Ur(t),i.payload={element:a},c=c===void 0?null:c,c!==null&&(i.callback=c),a=Lr(e,i,t),a!==null&&(ia(a,e,t),zl(a,e,t))}function bb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Bd(e,t){bb(e,t),(e=e.alternate)&&bb(e,t)}function vb(e){if(e.tag===13||e.tag===31){var t=vn(e,67108864);t!==null&&ia(t,e,67108864),Bd(e,67108864)}}function xb(e){if(e.tag===13||e.tag===31){var t=ga();t=Rc(t);var a=vn(e,t);a!==null&&ia(a,e,t),Bd(e,t)}}var iu=!0;function Q5(e,t,a,i){var u=H.T;H.T=null;var c=J.p;try{J.p=2,Ud(e,t,a,i)}finally{J.p=c,H.T=u}}function X5(e,t,a,i){var u=H.T;H.T=null;var c=J.p;try{J.p=8,Ud(e,t,a,i)}finally{J.p=c,H.T=u}}function Ud(e,t,a,i){if(iu){var u=Ld(i);if(u===null)Cd(e,t,i,lu,a),Sb(e,i);else if(J5(u,e,t,a,i))i.stopPropagation();else if(Sb(e,i),t&4&&-1<K5.indexOf(e)){for(;u!==null;){var c=ai(u);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=hn(c.pendingLanes);if(m!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var _=1<<31-Xt(m);g.entanglements[1]|=_,m&=~_}Ka(c),($e&6)===0&&(Go=W()+500,Kl(0))}}break;case 31:case 13:g=vn(c,2),g!==null&&ia(g,c,2),Yo(),Bd(c,2)}if(c=Ld(i),c===null&&Cd(e,t,i,lu,a),c===u)break;u=c}u!==null&&i.stopPropagation()}else Cd(e,t,i,null,a)}}function Ld(e){return e=qc(e),qd(e)}var lu=null;function qd(e){if(lu=null,e=ti(e),e!==null){var t=d(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=h(t),e!==null)return e;e=null}else if(a===31){if(e=y(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return lu=e,null}function Nb(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ee()){case ae:return 2;case me:return 8;case ve:case Ye:return 32;case Yt:return 268435456;default:return 32}default:return 32}}var Hd=!1,Jr=null,Ir=null,Pr=null,as=new Map,rs=new Map,Wr=[],K5="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".split(" ");function Sb(e,t){switch(e){case"focusin":case"focusout":Jr=null;break;case"dragenter":case"dragleave":Ir=null;break;case"mouseover":case"mouseout":Pr=null;break;case"pointerover":case"pointerout":as.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":rs.delete(t.pointerId)}}function ns(e,t,a,i,u,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:c,targetContainers:[u]},t!==null&&(t=ai(t),t!==null&&vb(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function J5(e,t,a,i,u){switch(t){case"focusin":return Jr=ns(Jr,e,t,a,i,u),!0;case"dragenter":return Ir=ns(Ir,e,t,a,i,u),!0;case"mouseover":return Pr=ns(Pr,e,t,a,i,u),!0;case"pointerover":var c=u.pointerId;return as.set(c,ns(as.get(c)||null,e,t,a,i,u)),!0;case"gotpointercapture":return c=u.pointerId,rs.set(c,ns(rs.get(c)||null,e,t,a,i,u)),!0}return!1}function _b(e){var t=ti(e.target);if(t!==null){var a=d(t);if(a!==null){if(t=a.tag,t===13){if(t=h(a),t!==null){e.blockedOn=t,Bp(e.priority,function(){xb(a)});return}}else if(t===31){if(t=y(a),t!==null){e.blockedOn=t,Bp(e.priority,function(){xb(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function su(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Ld(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);Lc=i,a.target.dispatchEvent(i),Lc=null}else return t=ai(a),t!==null&&vb(t),e.blockedOn=a,!1;t.shift()}return!0}function Cb(e,t,a){su(e)&&a.delete(t)}function I5(){Hd=!1,Jr!==null&&su(Jr)&&(Jr=null),Ir!==null&&su(Ir)&&(Ir=null),Pr!==null&&su(Pr)&&(Pr=null),as.forEach(Cb),rs.forEach(Cb)}function ou(e,t){e.blockedOn===t&&(e.blockedOn=null,Hd||(Hd=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,I5)))}var uu=null;function Eb(e){uu!==e&&(uu=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){uu===e&&(uu=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],u=e[t+2];if(typeof i!="function"){if(qd(i||a)===null)continue;break}var c=ai(a);c!==null&&(e.splice(t,3),t-=3,Lf(c,{pending:!0,data:u,method:a.method,action:i},i,u))}}))}function Ui(e){function t(_){return ou(_,e)}Jr!==null&&ou(Jr,e),Ir!==null&&ou(Ir,e),Pr!==null&&ou(Pr,e),as.forEach(t),rs.forEach(t);for(var a=0;a<Wr.length;a++){var i=Wr[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Wr.length&&(a=Wr[0],a.blockedOn===null);)_b(a),a.blockedOn===null&&Wr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var u=a[i],c=a[i+1],m=u[Wt]||null;if(typeof c=="function")m||Eb(a);else if(m){var g=null;if(c&&c.hasAttribute("formAction")){if(u=c,m=c[Wt]||null)g=m.formAction;else if(qd(u)!==null)continue}else g=m.action;typeof g=="function"?a[i+1]=g:(a.splice(i,3),i-=3),Eb(a)}}}function wb(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return u=m})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function Gd(e){this._internalRoot=e}cu.prototype.render=Gd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,i=ga();yb(a,i,e,t,null,null)},cu.prototype.unmount=Gd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yb(e.current,2,null,e,null,null),Yo(),t[ei]=null}};function cu(e){this._internalRoot=e}cu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vp();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Wr.length&&t!==0&&t<Wr[a].priority;a++);Wr.splice(a,0,e),a===0&&_b(e)}};var Db=l.version;if(Db!=="19.2.4")throw Error(o(527,Db,"19.2.4"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=x(t),e=e!==null?N(e):null,e=e===null?null:e.stateNode,e};var P5={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fu.isDisabled&&fu.supportsFiber)try{mn=fu.inject(P5),jt=fu}catch{}}return Li.createRoot=function(e,t){if(!f(e))throw Error(o(299));var a=!1,i="",u=k0,c=j0,m=V0;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=pb(e,1,!1,null,null,a,i,null,u,c,m,wb),e[ei]=t.current,_d(e),new Gd(t)},Li.hydrateRoot=function(e,t,a){if(!f(e))throw Error(o(299));var i=!1,u="",c=k0,m=j0,g=V0,_=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(m=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.formState!==void 0&&(_=a.formState)),t=pb(e,1,!0,t,a??null,i,u,_,c,m,g,wb),t.context=gb(null),a=t.current,i=ga(),i=Rc(i),u=Ur(i),u.callback=null,Lr(a,u,i),a=i,t.current.lanes=a,pl(t,a),Ka(t),e[ei]=t.current,_d(e),new cu(t)},Li.version="19.2.4",Li}var Wd;function Vb(){if(Wd)return mu.exports;Wd=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(n){console.error(n)}}return r(),mu.exports=jb(),mu.exports}var Bb=Vb(),Be;(function(r){r.assertEqual=o=>{};function n(o){}r.assertIs=n;function l(o){throw new Error}r.assertNever=l,r.arrayToEnum=o=>{const f={};for(const d of o)f[d]=d;return f},r.getValidEnumValues=o=>{const f=r.objectKeys(o).filter(h=>typeof o[o[h]]!="number"),d={};for(const h of f)d[h]=o[h];return r.objectValues(d)},r.objectValues=o=>r.objectKeys(o).map(function(f){return o[f]}),r.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const f=[];for(const d in o)Object.prototype.hasOwnProperty.call(o,d)&&f.push(d);return f},r.find=(o,f)=>{for(const d of o)if(f(d))return d},r.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function s(o,f=" | "){return o.map(d=>typeof d=="string"?`'${d}'`:d).join(f)}r.joinValues=s,r.jsonStringifyReplacer=(o,f)=>typeof f=="bigint"?f.toString():f})(Be||(Be={}));var em;(function(r){r.mergeShapes=(n,l)=>({...n,...l})})(em||(em={}));const fe=Be.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),_r=r=>{switch(typeof r){case"undefined":return fe.undefined;case"string":return fe.string;case"number":return Number.isNaN(r)?fe.nan:fe.number;case"boolean":return fe.boolean;case"function":return fe.function;case"bigint":return fe.bigint;case"symbol":return fe.symbol;case"object":return Array.isArray(r)?fe.array:r===null?fe.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?fe.promise:typeof Map<"u"&&r instanceof Map?fe.map:typeof Set<"u"&&r instanceof Set?fe.set:typeof Date<"u"&&r instanceof Date?fe.date:fe.object;default:return fe.unknown}},P=Be.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Pa extends Error{get errors(){return this.issues}constructor(n){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const l=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,l):this.__proto__=l,this.name="ZodError",this.issues=n}format(n){const l=n||function(f){return f.message},s={_errors:[]},o=f=>{for(const d of f.issues)if(d.code==="invalid_union")d.unionErrors.map(o);else if(d.code==="invalid_return_type")o(d.returnTypeError);else if(d.code==="invalid_arguments")o(d.argumentsError);else if(d.path.length===0)s._errors.push(l(d));else{let h=s,y=0;for(;y<d.path.length;){const p=d.path[y];y===d.path.length-1?(h[p]=h[p]||{_errors:[]},h[p]._errors.push(l(d))):h[p]=h[p]||{_errors:[]},h=h[p],y++}}};return o(this),s}static assert(n){if(!(n instanceof Pa))throw new Error(`Not a ZodError: ${n}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Be.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(n=l=>l.message){const l={},s=[];for(const o of this.issues)if(o.path.length>0){const f=o.path[0];l[f]=l[f]||[],l[f].push(n(o))}else s.push(n(o));return{formErrors:s,fieldErrors:l}}get formErrors(){return this.flatten()}}Pa.create=r=>new Pa(r);const vu=(r,n)=>{let l;switch(r.code){case P.invalid_type:r.received===fe.undefined?l="Required":l=`Expected ${r.expected}, received ${r.received}`;break;case P.invalid_literal:l=`Invalid literal value, expected ${JSON.stringify(r.expected,Be.jsonStringifyReplacer)}`;break;case P.unrecognized_keys:l=`Unrecognized key(s) in object: ${Be.joinValues(r.keys,", ")}`;break;case P.invalid_union:l="Invalid input";break;case P.invalid_union_discriminator:l=`Invalid discriminator value. Expected ${Be.joinValues(r.options)}`;break;case P.invalid_enum_value:l=`Invalid enum value. Expected ${Be.joinValues(r.options)}, received '${r.received}'`;break;case P.invalid_arguments:l="Invalid function arguments";break;case P.invalid_return_type:l="Invalid function return type";break;case P.invalid_date:l="Invalid date";break;case P.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(l=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(l=`${l} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?l=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?l=`Invalid input: must end with "${r.validation.endsWith}"`:Be.assertNever(r.validation):r.validation!=="regex"?l=`Invalid ${r.validation}`:l="Invalid";break;case P.too_small:r.type==="array"?l=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?l=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?l=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="bigint"?l=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?l=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:l="Invalid input";break;case P.too_big:r.type==="array"?l=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?l=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?l=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?l=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?l=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:l="Invalid input";break;case P.custom:l="Invalid input";break;case P.invalid_intersection_types:l="Intersection results could not be merged";break;case P.not_multiple_of:l=`Number must be a multiple of ${r.multipleOf}`;break;case P.not_finite:l="Number must be finite";break;default:l=n.defaultError,Be.assertNever(r)}return{message:l}};let Ub=vu;function Lb(){return Ub}const qb=r=>{const{data:n,path:l,errorMaps:s,issueData:o}=r,f=[...l,...o.path||[]],d={...o,path:f};if(o.message!==void 0)return{...o,path:f,message:o.message};let h="";const y=s.filter(p=>!!p).slice().reverse();for(const p of y)h=p(d,{data:n,defaultError:h}).message;return{...o,path:f,message:h}};function ie(r,n){const l=Lb(),s=qb({issueData:n,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,l,l===vu?void 0:vu].filter(o=>!!o)});r.common.issues.push(s)}class la{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(n,l){const s=[];for(const o of l){if(o.status==="aborted")return Ne;o.status==="dirty"&&n.dirty(),s.push(o.value)}return{status:n.value,value:s}}static async mergeObjectAsync(n,l){const s=[];for(const o of l){const f=await o.key,d=await o.value;s.push({key:f,value:d})}return la.mergeObjectSync(n,s)}static mergeObjectSync(n,l){const s={};for(const o of l){const{key:f,value:d}=o;if(f.status==="aborted"||d.status==="aborted")return Ne;f.status==="dirty"&&n.dirty(),d.status==="dirty"&&n.dirty(),f.value!=="__proto__"&&(typeof d.value<"u"||o.alwaysSet)&&(s[f.value]=d.value)}return{status:n.value,value:s}}}const Ne=Object.freeze({status:"aborted"}),qi=r=>({status:"dirty",value:r}),ya=r=>({status:"valid",value:r}),tm=r=>r.status==="aborted",am=r=>r.status==="dirty",Mn=r=>r.status==="valid",ls=r=>typeof Promise<"u"&&r instanceof Promise;var pe;(function(r){r.errToObj=n=>typeof n=="string"?{message:n}:n||{},r.toString=n=>typeof n=="string"?n:n==null?void 0:n.message})(pe||(pe={}));class Cr{constructor(n,l,s,o){this._cachedPath=[],this.parent=n,this.data=l,this._path=s,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const rm=(r,n)=>{if(Mn(n))return{success:!0,data:n.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const l=new Pa(r.common.issues);return this._error=l,this._error}}};function Oe(r){if(!r)return{};const{errorMap:n,invalid_type_error:l,required_error:s,description:o}=r;if(n&&(l||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return n?{errorMap:n,description:o}:{errorMap:(d,h)=>{const{message:y}=r;return d.code==="invalid_enum_value"?{message:y??h.defaultError}:typeof h.data>"u"?{message:y??s??h.defaultError}:d.code!=="invalid_type"?{message:h.defaultError}:{message:y??l??h.defaultError}},description:o}}class Ve{get description(){return this._def.description}_getType(n){return _r(n.data)}_getOrReturnCtx(n,l){return l||{common:n.parent.common,data:n.data,parsedType:_r(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new la,ctx:{common:n.parent.common,data:n.data,parsedType:_r(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){const l=this._parse(n);if(ls(l))throw new Error("Synchronous parse encountered promise.");return l}_parseAsync(n){const l=this._parse(n);return Promise.resolve(l)}parse(n,l){const s=this.safeParse(n,l);if(s.success)return s.data;throw s.error}safeParse(n,l){const s={common:{issues:[],async:(l==null?void 0:l.async)??!1,contextualErrorMap:l==null?void 0:l.errorMap},path:(l==null?void 0:l.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:_r(n)},o=this._parseSync({data:n,path:s.path,parent:s});return rm(s,o)}"~validate"(n){var s,o;const l={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:_r(n)};if(!this["~standard"].async)try{const f=this._parseSync({data:n,path:[],parent:l});return Mn(f)?{value:f.value}:{issues:l.common.issues}}catch(f){(o=(s=f==null?void 0:f.message)==null?void 0:s.toLowerCase())!=null&&o.includes("encountered")&&(this["~standard"].async=!0),l.common={issues:[],async:!0}}return this._parseAsync({data:n,path:[],parent:l}).then(f=>Mn(f)?{value:f.value}:{issues:l.common.issues})}async parseAsync(n,l){const s=await this.safeParseAsync(n,l);if(s.success)return s.data;throw s.error}async safeParseAsync(n,l){const s={common:{issues:[],contextualErrorMap:l==null?void 0:l.errorMap,async:!0},path:(l==null?void 0:l.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:_r(n)},o=this._parse({data:n,path:s.path,parent:s}),f=await(ls(o)?o:Promise.resolve(o));return rm(s,f)}refine(n,l){const s=o=>typeof l=="string"||typeof l>"u"?{message:l}:typeof l=="function"?l(o):l;return this._refinement((o,f)=>{const d=n(o),h=()=>f.addIssue({code:P.custom,...s(o)});return typeof Promise<"u"&&d instanceof Promise?d.then(y=>y?!0:(h(),!1)):d?!0:(h(),!1)})}refinement(n,l){return this._refinement((s,o)=>n(s)?!0:(o.addIssue(typeof l=="function"?l(s,o):l),!1))}_refinement(n){return new jn({schema:this,typeName:Se.ZodEffects,effect:{type:"refinement",refinement:n}})}superRefine(n){return this._refinement(n)}constructor(n){this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:l=>this["~validate"](l)}}optional(){return Dr.create(this,this._def)}nullable(){return Vn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return qa.create(this)}promise(){return cs.create(this,this._def)}or(n){return os.create([this,n],this._def)}and(n){return us.create(this,n,this._def)}transform(n){return new jn({...Oe(this._def),schema:this,typeName:Se.ZodEffects,effect:{type:"transform",transform:n}})}default(n){const l=typeof n=="function"?n:()=>n;return new Su({...Oe(this._def),innerType:this,defaultValue:l,typeName:Se.ZodDefault})}brand(){return new uv({typeName:Se.ZodBranded,type:this,...Oe(this._def)})}catch(n){const l=typeof n=="function"?n:()=>n;return new _u({...Oe(this._def),innerType:this,catchValue:l,typeName:Se.ZodCatch})}describe(n){const l=this.constructor;return new l({...this._def,description:n})}pipe(n){return Cu.create(this,n)}readonly(){return Eu.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Hb=/^c[^\s-]{8,}$/i,Gb=/^[0-9a-z]+$/,Zb=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Yb=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,$b=/^[a-z0-9_-]{21}$/i,Fb=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Qb=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Xb=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Kb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let xu;const Jb=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ib=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Pb=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Wb=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ev=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,tv=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nm="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",av=new RegExp(`^${nm}$`);function im(r){let n="[0-5]\\d";r.precision?n=`${n}\\.\\d{${r.precision}}`:r.precision==null&&(n=`${n}(\\.\\d+)?`);const l=r.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${n})${l}`}function rv(r){return new RegExp(`^${im(r)}$`)}function nv(r){let n=`${nm}T${im(r)}`;const l=[];return l.push(r.local?"Z?":"Z"),r.offset&&l.push("([+-]\\d{2}:?\\d{2})"),n=`${n}(${l.join("|")})`,new RegExp(`^${n}$`)}function iv(r,n){return!!((n==="v4"||!n)&&Jb.test(r)||(n==="v6"||!n)&&Pb.test(r))}function lv(r,n){if(!Fb.test(r))return!1;try{const[l]=r.split(".");if(!l)return!1;const s=l.replace(/-/g,"+").replace(/_/g,"/").padEnd(l.length+(4-l.length%4)%4,"="),o=JSON.parse(atob(s));return!(typeof o!="object"||o===null||"typ"in o&&(o==null?void 0:o.typ)!=="JWT"||!o.alg||n&&o.alg!==n)}catch{return!1}}function sv(r,n){return!!((n==="v4"||!n)&&Ib.test(r)||(n==="v6"||!n)&&Wb.test(r))}class Er extends Ve{_parse(n){if(this._def.coerce&&(n.data=String(n.data)),this._getType(n)!==fe.string){const f=this._getOrReturnCtx(n);return ie(f,{code:P.invalid_type,expected:fe.string,received:f.parsedType}),Ne}const s=new la;let o;for(const f of this._def.checks)if(f.kind==="min")n.data.length<f.value&&(o=this._getOrReturnCtx(n,o),ie(o,{code:P.too_small,minimum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),s.dirty());else if(f.kind==="max")n.data.length>f.value&&(o=this._getOrReturnCtx(n,o),ie(o,{code:P.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),s.dirty());else if(f.kind==="length"){const d=n.data.length>f.value,h=n.data.length<f.value;(d||h)&&(o=this._getOrReturnCtx(n,o),d?ie(o,{code:P.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!0,message:f.message}):h&&ie(o,{code:P.too_small,minimum:f.value,type:"string",inclusive:!0,exact:!0,message:f.message}),s.dirty())}else if(f.kind==="email")Xb.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"email",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="emoji")xu||(xu=new RegExp(Kb,"u")),xu.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"emoji",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="uuid")Yb.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"uuid",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="nanoid")$b.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"nanoid",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="cuid")Hb.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"cuid",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="cuid2")Gb.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"cuid2",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="ulid")Zb.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"ulid",code:P.invalid_string,message:f.message}),s.dirty());else if(f.kind==="url")try{new URL(n.data)}catch{o=this._getOrReturnCtx(n,o),ie(o,{validation:"url",code:P.invalid_string,message:f.message}),s.dirty()}else f.kind==="regex"?(f.regex.lastIndex=0,f.regex.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"regex",code:P.invalid_string,message:f.message}),s.dirty())):f.kind==="trim"?n.data=n.data.trim():f.kind==="includes"?n.data.includes(f.value,f.position)||(o=this._getOrReturnCtx(n,o),ie(o,{code:P.invalid_string,validation:{includes:f.value,position:f.position},message:f.message}),s.dirty()):f.kind==="toLowerCase"?n.data=n.data.toLowerCase():f.kind==="toUpperCase"?n.data=n.data.toUpperCase():f.kind==="startsWith"?n.data.startsWith(f.value)||(o=this._getOrReturnCtx(n,o),ie(o,{code:P.invalid_string,validation:{startsWith:f.value},message:f.message}),s.dirty()):f.kind==="endsWith"?n.data.endsWith(f.value)||(o=this._getOrReturnCtx(n,o),ie(o,{code:P.invalid_string,validation:{endsWith:f.value},message:f.message}),s.dirty()):f.kind==="datetime"?nv(f).test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{code:P.invalid_string,validation:"datetime",message:f.message}),s.dirty()):f.kind==="date"?av.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{code:P.invalid_string,validation:"date",message:f.message}),s.dirty()):f.kind==="time"?rv(f).test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{code:P.invalid_string,validation:"time",message:f.message}),s.dirty()):f.kind==="duration"?Qb.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"duration",code:P.invalid_string,message:f.message}),s.dirty()):f.kind==="ip"?iv(n.data,f.version)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"ip",code:P.invalid_string,message:f.message}),s.dirty()):f.kind==="jwt"?lv(n.data,f.alg)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"jwt",code:P.invalid_string,message:f.message}),s.dirty()):f.kind==="cidr"?sv(n.data,f.version)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"cidr",code:P.invalid_string,message:f.message}),s.dirty()):f.kind==="base64"?ev.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"base64",code:P.invalid_string,message:f.message}),s.dirty()):f.kind==="base64url"?tv.test(n.data)||(o=this._getOrReturnCtx(n,o),ie(o,{validation:"base64url",code:P.invalid_string,message:f.message}),s.dirty()):Be.assertNever(f);return{status:s.value,value:n.data}}_regex(n,l,s){return this.refinement(o=>n.test(o),{validation:l,code:P.invalid_string,...pe.errToObj(s)})}_addCheck(n){return new Er({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...pe.errToObj(n)})}url(n){return this._addCheck({kind:"url",...pe.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...pe.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...pe.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...pe.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...pe.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...pe.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...pe.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...pe.errToObj(n)})}base64url(n){return this._addCheck({kind:"base64url",...pe.errToObj(n)})}jwt(n){return this._addCheck({kind:"jwt",...pe.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...pe.errToObj(n)})}cidr(n){return this._addCheck({kind:"cidr",...pe.errToObj(n)})}datetime(n){return typeof n=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,offset:(n==null?void 0:n.offset)??!1,local:(n==null?void 0:n.local)??!1,...pe.errToObj(n==null?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return typeof n=="string"?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,...pe.errToObj(n==null?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...pe.errToObj(n)})}regex(n,l){return this._addCheck({kind:"regex",regex:n,...pe.errToObj(l)})}includes(n,l){return this._addCheck({kind:"includes",value:n,position:l==null?void 0:l.position,...pe.errToObj(l==null?void 0:l.message)})}startsWith(n,l){return this._addCheck({kind:"startsWith",value:n,...pe.errToObj(l)})}endsWith(n,l){return this._addCheck({kind:"endsWith",value:n,...pe.errToObj(l)})}min(n,l){return this._addCheck({kind:"min",value:n,...pe.errToObj(l)})}max(n,l){return this._addCheck({kind:"max",value:n,...pe.errToObj(l)})}length(n,l){return this._addCheck({kind:"length",value:n,...pe.errToObj(l)})}nonempty(n){return this.min(1,pe.errToObj(n))}trim(){return new Er({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Er({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Er({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(n=>n.kind==="datetime")}get isDate(){return!!this._def.checks.find(n=>n.kind==="date")}get isTime(){return!!this._def.checks.find(n=>n.kind==="time")}get isDuration(){return!!this._def.checks.find(n=>n.kind==="duration")}get isEmail(){return!!this._def.checks.find(n=>n.kind==="email")}get isURL(){return!!this._def.checks.find(n=>n.kind==="url")}get isEmoji(){return!!this._def.checks.find(n=>n.kind==="emoji")}get isUUID(){return!!this._def.checks.find(n=>n.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(n=>n.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(n=>n.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(n=>n.kind==="cuid2")}get isULID(){return!!this._def.checks.find(n=>n.kind==="ulid")}get isIP(){return!!this._def.checks.find(n=>n.kind==="ip")}get isCIDR(){return!!this._def.checks.find(n=>n.kind==="cidr")}get isBase64(){return!!this._def.checks.find(n=>n.kind==="base64")}get isBase64url(){return!!this._def.checks.find(n=>n.kind==="base64url")}get minLength(){let n=null;for(const l of this._def.checks)l.kind==="min"&&(n===null||l.value>n)&&(n=l.value);return n}get maxLength(){let n=null;for(const l of this._def.checks)l.kind==="max"&&(n===null||l.value<n)&&(n=l.value);return n}}Er.create=r=>new Er({checks:[],typeName:Se.ZodString,coerce:(r==null?void 0:r.coerce)??!1,...Oe(r)});function ov(r,n){const l=(r.toString().split(".")[1]||"").length,s=(n.toString().split(".")[1]||"").length,o=l>s?l:s,f=Number.parseInt(r.toFixed(o).replace(".","")),d=Number.parseInt(n.toFixed(o).replace(".",""));return f%d/10**o}class Hi extends Ve{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(n){if(this._def.coerce&&(n.data=Number(n.data)),this._getType(n)!==fe.number){const f=this._getOrReturnCtx(n);return ie(f,{code:P.invalid_type,expected:fe.number,received:f.parsedType}),Ne}let s;const o=new la;for(const f of this._def.checks)f.kind==="int"?Be.isInteger(n.data)||(s=this._getOrReturnCtx(n,s),ie(s,{code:P.invalid_type,expected:"integer",received:"float",message:f.message}),o.dirty()):f.kind==="min"?(f.inclusive?n.data<f.value:n.data<=f.value)&&(s=this._getOrReturnCtx(n,s),ie(s,{code:P.too_small,minimum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),o.dirty()):f.kind==="max"?(f.inclusive?n.data>f.value:n.data>=f.value)&&(s=this._getOrReturnCtx(n,s),ie(s,{code:P.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),o.dirty()):f.kind==="multipleOf"?ov(n.data,f.value)!==0&&(s=this._getOrReturnCtx(n,s),ie(s,{code:P.not_multiple_of,multipleOf:f.value,message:f.message}),o.dirty()):f.kind==="finite"?Number.isFinite(n.data)||(s=this._getOrReturnCtx(n,s),ie(s,{code:P.not_finite,message:f.message}),o.dirty()):Be.assertNever(f);return{status:o.value,value:n.data}}gte(n,l){return this.setLimit("min",n,!0,pe.toString(l))}gt(n,l){return this.setLimit("min",n,!1,pe.toString(l))}lte(n,l){return this.setLimit("max",n,!0,pe.toString(l))}lt(n,l){return this.setLimit("max",n,!1,pe.toString(l))}setLimit(n,l,s,o){return new Hi({...this._def,checks:[...this._def.checks,{kind:n,value:l,inclusive:s,message:pe.toString(o)}]})}_addCheck(n){return new Hi({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:pe.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:pe.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:pe.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:pe.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:pe.toString(n)})}multipleOf(n,l){return this._addCheck({kind:"multipleOf",value:n,message:pe.toString(l)})}finite(n){return this._addCheck({kind:"finite",message:pe.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:pe.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:pe.toString(n)})}get minValue(){let n=null;for(const l of this._def.checks)l.kind==="min"&&(n===null||l.value>n)&&(n=l.value);return n}get maxValue(){let n=null;for(const l of this._def.checks)l.kind==="max"&&(n===null||l.value<n)&&(n=l.value);return n}get isInt(){return!!this._def.checks.find(n=>n.kind==="int"||n.kind==="multipleOf"&&Be.isInteger(n.value))}get isFinite(){let n=null,l=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(l===null||s.value>l)&&(l=s.value):s.kind==="max"&&(n===null||s.value<n)&&(n=s.value)}return Number.isFinite(l)&&Number.isFinite(n)}}Hi.create=r=>new Hi({checks:[],typeName:Se.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Oe(r)});class Gi extends Ve{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(n){if(this._def.coerce)try{n.data=BigInt(n.data)}catch{return this._getInvalidInput(n)}if(this._getType(n)!==fe.bigint)return this._getInvalidInput(n);let s;const o=new la;for(const f of this._def.checks)f.kind==="min"?(f.inclusive?n.data<f.value:n.data<=f.value)&&(s=this._getOrReturnCtx(n,s),ie(s,{code:P.too_small,type:"bigint",minimum:f.value,inclusive:f.inclusive,message:f.message}),o.dirty()):f.kind==="max"?(f.inclusive?n.data>f.value:n.data>=f.value)&&(s=this._getOrReturnCtx(n,s),ie(s,{code:P.too_big,type:"bigint",maximum:f.value,inclusive:f.inclusive,message:f.message}),o.dirty()):f.kind==="multipleOf"?n.data%f.value!==BigInt(0)&&(s=this._getOrReturnCtx(n,s),ie(s,{code:P.not_multiple_of,multipleOf:f.value,message:f.message}),o.dirty()):Be.assertNever(f);return{status:o.value,value:n.data}}_getInvalidInput(n){const l=this._getOrReturnCtx(n);return ie(l,{code:P.invalid_type,expected:fe.bigint,received:l.parsedType}),Ne}gte(n,l){return this.setLimit("min",n,!0,pe.toString(l))}gt(n,l){return this.setLimit("min",n,!1,pe.toString(l))}lte(n,l){return this.setLimit("max",n,!0,pe.toString(l))}lt(n,l){return this.setLimit("max",n,!1,pe.toString(l))}setLimit(n,l,s,o){return new Gi({...this._def,checks:[...this._def.checks,{kind:n,value:l,inclusive:s,message:pe.toString(o)}]})}_addCheck(n){return new Gi({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:pe.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:pe.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:pe.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:pe.toString(n)})}multipleOf(n,l){return this._addCheck({kind:"multipleOf",value:n,message:pe.toString(l)})}get minValue(){let n=null;for(const l of this._def.checks)l.kind==="min"&&(n===null||l.value>n)&&(n=l.value);return n}get maxValue(){let n=null;for(const l of this._def.checks)l.kind==="max"&&(n===null||l.value<n)&&(n=l.value);return n}}Gi.create=r=>new Gi({checks:[],typeName:Se.ZodBigInt,coerce:(r==null?void 0:r.coerce)??!1,...Oe(r)});class lm extends Ve{_parse(n){if(this._def.coerce&&(n.data=!!n.data),this._getType(n)!==fe.boolean){const s=this._getOrReturnCtx(n);return ie(s,{code:P.invalid_type,expected:fe.boolean,received:s.parsedType}),Ne}return ya(n.data)}}lm.create=r=>new lm({typeName:Se.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Oe(r)});class ss extends Ve{_parse(n){if(this._def.coerce&&(n.data=new Date(n.data)),this._getType(n)!==fe.date){const f=this._getOrReturnCtx(n);return ie(f,{code:P.invalid_type,expected:fe.date,received:f.parsedType}),Ne}if(Number.isNaN(n.data.getTime())){const f=this._getOrReturnCtx(n);return ie(f,{code:P.invalid_date}),Ne}const s=new la;let o;for(const f of this._def.checks)f.kind==="min"?n.data.getTime()<f.value&&(o=this._getOrReturnCtx(n,o),ie(o,{code:P.too_small,message:f.message,inclusive:!0,exact:!1,minimum:f.value,type:"date"}),s.dirty()):f.kind==="max"?n.data.getTime()>f.value&&(o=this._getOrReturnCtx(n,o),ie(o,{code:P.too_big,message:f.message,inclusive:!0,exact:!1,maximum:f.value,type:"date"}),s.dirty()):Be.assertNever(f);return{status:s.value,value:new Date(n.data.getTime())}}_addCheck(n){return new ss({...this._def,checks:[...this._def.checks,n]})}min(n,l){return this._addCheck({kind:"min",value:n.getTime(),message:pe.toString(l)})}max(n,l){return this._addCheck({kind:"max",value:n.getTime(),message:pe.toString(l)})}get minDate(){let n=null;for(const l of this._def.checks)l.kind==="min"&&(n===null||l.value>n)&&(n=l.value);return n!=null?new Date(n):null}get maxDate(){let n=null;for(const l of this._def.checks)l.kind==="max"&&(n===null||l.value<n)&&(n=l.value);return n!=null?new Date(n):null}}ss.create=r=>new ss({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:Se.ZodDate,...Oe(r)});class sm extends Ve{_parse(n){if(this._getType(n)!==fe.symbol){const s=this._getOrReturnCtx(n);return ie(s,{code:P.invalid_type,expected:fe.symbol,received:s.parsedType}),Ne}return ya(n.data)}}sm.create=r=>new sm({typeName:Se.ZodSymbol,...Oe(r)});class om extends Ve{_parse(n){if(this._getType(n)!==fe.undefined){const s=this._getOrReturnCtx(n);return ie(s,{code:P.invalid_type,expected:fe.undefined,received:s.parsedType}),Ne}return ya(n.data)}}om.create=r=>new om({typeName:Se.ZodUndefined,...Oe(r)});class um extends Ve{_parse(n){if(this._getType(n)!==fe.null){const s=this._getOrReturnCtx(n);return ie(s,{code:P.invalid_type,expected:fe.null,received:s.parsedType}),Ne}return ya(n.data)}}um.create=r=>new um({typeName:Se.ZodNull,...Oe(r)});class cm extends Ve{constructor(){super(...arguments),this._any=!0}_parse(n){return ya(n.data)}}cm.create=r=>new cm({typeName:Se.ZodAny,...Oe(r)});class fm extends Ve{constructor(){super(...arguments),this._unknown=!0}_parse(n){return ya(n.data)}}fm.create=r=>new fm({typeName:Se.ZodUnknown,...Oe(r)});class wr extends Ve{_parse(n){const l=this._getOrReturnCtx(n);return ie(l,{code:P.invalid_type,expected:fe.never,received:l.parsedType}),Ne}}wr.create=r=>new wr({typeName:Se.ZodNever,...Oe(r)});class dm extends Ve{_parse(n){if(this._getType(n)!==fe.undefined){const s=this._getOrReturnCtx(n);return ie(s,{code:P.invalid_type,expected:fe.void,received:s.parsedType}),Ne}return ya(n.data)}}dm.create=r=>new dm({typeName:Se.ZodVoid,...Oe(r)});class qa extends Ve{_parse(n){const{ctx:l,status:s}=this._processInputParams(n),o=this._def;if(l.parsedType!==fe.array)return ie(l,{code:P.invalid_type,expected:fe.array,received:l.parsedType}),Ne;if(o.exactLength!==null){const d=l.data.length>o.exactLength.value,h=l.data.length<o.exactLength.value;(d||h)&&(ie(l,{code:d?P.too_big:P.too_small,minimum:h?o.exactLength.value:void 0,maximum:d?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),s.dirty())}if(o.minLength!==null&&l.data.length<o.minLength.value&&(ie(l,{code:P.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),s.dirty()),o.maxLength!==null&&l.data.length>o.maxLength.value&&(ie(l,{code:P.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),s.dirty()),l.common.async)return Promise.all([...l.data].map((d,h)=>o.type._parseAsync(new Cr(l,d,l.path,h)))).then(d=>la.mergeArray(s,d));const f=[...l.data].map((d,h)=>o.type._parseSync(new Cr(l,d,l.path,h)));return la.mergeArray(s,f)}get element(){return this._def.type}min(n,l){return new qa({...this._def,minLength:{value:n,message:pe.toString(l)}})}max(n,l){return new qa({...this._def,maxLength:{value:n,message:pe.toString(l)}})}length(n,l){return new qa({...this._def,exactLength:{value:n,message:pe.toString(l)}})}nonempty(n){return this.min(1,n)}}qa.create=(r,n)=>new qa({type:r,minLength:null,maxLength:null,exactLength:null,typeName:Se.ZodArray,...Oe(n)});function zn(r){if(r instanceof xt){const n={};for(const l in r.shape){const s=r.shape[l];n[l]=Dr.create(zn(s))}return new xt({...r._def,shape:()=>n})}else return r instanceof qa?new qa({...r._def,type:zn(r.element)}):r instanceof Dr?Dr.create(zn(r.unwrap())):r instanceof Vn?Vn.create(zn(r.unwrap())):r instanceof an?an.create(r.items.map(n=>zn(n))):r}class xt extends Ve{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const n=this._def.shape(),l=Be.objectKeys(n);return this._cached={shape:n,keys:l},this._cached}_parse(n){if(this._getType(n)!==fe.object){const p=this._getOrReturnCtx(n);return ie(p,{code:P.invalid_type,expected:fe.object,received:p.parsedType}),Ne}const{status:s,ctx:o}=this._processInputParams(n),{shape:f,keys:d}=this._getCached(),h=[];if(!(this._def.catchall instanceof wr&&this._def.unknownKeys==="strip"))for(const p in o.data)d.includes(p)||h.push(p);const y=[];for(const p of d){const x=f[p],N=o.data[p];y.push({key:{status:"valid",value:p},value:x._parse(new Cr(o,N,o.path,p)),alwaysSet:p in o.data})}if(this._def.catchall instanceof wr){const p=this._def.unknownKeys;if(p==="passthrough")for(const x of h)y.push({key:{status:"valid",value:x},value:{status:"valid",value:o.data[x]}});else if(p==="strict")h.length>0&&(ie(o,{code:P.unrecognized_keys,keys:h}),s.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const x of h){const N=o.data[x];y.push({key:{status:"valid",value:x},value:p._parse(new Cr(o,N,o.path,x)),alwaysSet:x in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const p=[];for(const x of y){const N=await x.key,C=await x.value;p.push({key:N,value:C,alwaysSet:x.alwaysSet})}return p}).then(p=>la.mergeObjectSync(s,p)):la.mergeObjectSync(s,y)}get shape(){return this._def.shape()}strict(n){return pe.errToObj,new xt({...this._def,unknownKeys:"strict",...n!==void 0?{errorMap:(l,s)=>{var f,d;const o=((d=(f=this._def).errorMap)==null?void 0:d.call(f,l,s).message)??s.defaultError;return l.code==="unrecognized_keys"?{message:pe.errToObj(n).message??o}:{message:o}}}:{}})}strip(){return new xt({...this._def,unknownKeys:"strip"})}passthrough(){return new xt({...this._def,unknownKeys:"passthrough"})}extend(n){return new xt({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){return new xt({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:Se.ZodObject})}setKey(n,l){return this.augment({[n]:l})}catchall(n){return new xt({...this._def,catchall:n})}pick(n){const l={};for(const s of Be.objectKeys(n))n[s]&&this.shape[s]&&(l[s]=this.shape[s]);return new xt({...this._def,shape:()=>l})}omit(n){const l={};for(const s of Be.objectKeys(this.shape))n[s]||(l[s]=this.shape[s]);return new xt({...this._def,shape:()=>l})}deepPartial(){return zn(this)}partial(n){const l={};for(const s of Be.objectKeys(this.shape)){const o=this.shape[s];n&&!n[s]?l[s]=o:l[s]=o.optional()}return new xt({...this._def,shape:()=>l})}required(n){const l={};for(const s of Be.objectKeys(this.shape))if(n&&!n[s])l[s]=this.shape[s];else{let f=this.shape[s];for(;f instanceof Dr;)f=f._def.innerType;l[s]=f}return new xt({...this._def,shape:()=>l})}keyof(){return gm(Be.objectKeys(this.shape))}}xt.create=(r,n)=>new xt({shape:()=>r,unknownKeys:"strip",catchall:wr.create(),typeName:Se.ZodObject,...Oe(n)}),xt.strictCreate=(r,n)=>new xt({shape:()=>r,unknownKeys:"strict",catchall:wr.create(),typeName:Se.ZodObject,...Oe(n)}),xt.lazycreate=(r,n)=>new xt({shape:r,unknownKeys:"strip",catchall:wr.create(),typeName:Se.ZodObject,...Oe(n)});class os extends Ve{_parse(n){const{ctx:l}=this._processInputParams(n),s=this._def.options;function o(f){for(const h of f)if(h.result.status==="valid")return h.result;for(const h of f)if(h.result.status==="dirty")return l.common.issues.push(...h.ctx.common.issues),h.result;const d=f.map(h=>new Pa(h.ctx.common.issues));return ie(l,{code:P.invalid_union,unionErrors:d}),Ne}if(l.common.async)return Promise.all(s.map(async f=>{const d={...l,common:{...l.common,issues:[]},parent:null};return{result:await f._parseAsync({data:l.data,path:l.path,parent:d}),ctx:d}})).then(o);{let f;const d=[];for(const y of s){const p={...l,common:{...l.common,issues:[]},parent:null},x=y._parseSync({data:l.data,path:l.path,parent:p});if(x.status==="valid")return x;x.status==="dirty"&&!f&&(f={result:x,ctx:p}),p.common.issues.length&&d.push(p.common.issues)}if(f)return l.common.issues.push(...f.ctx.common.issues),f.result;const h=d.map(y=>new Pa(y));return ie(l,{code:P.invalid_union,unionErrors:h}),Ne}}get options(){return this._def.options}}os.create=(r,n)=>new os({options:r,typeName:Se.ZodUnion,...Oe(n)});function Nu(r,n){const l=_r(r),s=_r(n);if(r===n)return{valid:!0,data:r};if(l===fe.object&&s===fe.object){const o=Be.objectKeys(n),f=Be.objectKeys(r).filter(h=>o.indexOf(h)!==-1),d={...r,...n};for(const h of f){const y=Nu(r[h],n[h]);if(!y.valid)return{valid:!1};d[h]=y.data}return{valid:!0,data:d}}else if(l===fe.array&&s===fe.array){if(r.length!==n.length)return{valid:!1};const o=[];for(let f=0;f<r.length;f++){const d=r[f],h=n[f],y=Nu(d,h);if(!y.valid)return{valid:!1};o.push(y.data)}return{valid:!0,data:o}}else return l===fe.date&&s===fe.date&&+r==+n?{valid:!0,data:r}:{valid:!1}}class us extends Ve{_parse(n){const{status:l,ctx:s}=this._processInputParams(n),o=(f,d)=>{if(tm(f)||tm(d))return Ne;const h=Nu(f.value,d.value);return h.valid?((am(f)||am(d))&&l.dirty(),{status:l.value,value:h.data}):(ie(s,{code:P.invalid_intersection_types}),Ne)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([f,d])=>o(f,d)):o(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}us.create=(r,n,l)=>new us({left:r,right:n,typeName:Se.ZodIntersection,...Oe(l)});class an extends Ve{_parse(n){const{status:l,ctx:s}=this._processInputParams(n);if(s.parsedType!==fe.array)return ie(s,{code:P.invalid_type,expected:fe.array,received:s.parsedType}),Ne;if(s.data.length<this._def.items.length)return ie(s,{code:P.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ne;!this._def.rest&&s.data.length>this._def.items.length&&(ie(s,{code:P.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),l.dirty());const f=[...s.data].map((d,h)=>{const y=this._def.items[h]||this._def.rest;return y?y._parse(new Cr(s,d,s.path,h)):null}).filter(d=>!!d);return s.common.async?Promise.all(f).then(d=>la.mergeArray(l,d)):la.mergeArray(l,f)}get items(){return this._def.items}rest(n){return new an({...this._def,rest:n})}}an.create=(r,n)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new an({items:r,typeName:Se.ZodTuple,rest:null,...Oe(n)})};class mm extends Ve{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){const{status:l,ctx:s}=this._processInputParams(n);if(s.parsedType!==fe.map)return ie(s,{code:P.invalid_type,expected:fe.map,received:s.parsedType}),Ne;const o=this._def.keyType,f=this._def.valueType,d=[...s.data.entries()].map(([h,y],p)=>({key:o._parse(new Cr(s,h,s.path,[p,"key"])),value:f._parse(new Cr(s,y,s.path,[p,"value"]))}));if(s.common.async){const h=new Map;return Promise.resolve().then(async()=>{for(const y of d){const p=await y.key,x=await y.value;if(p.status==="aborted"||x.status==="aborted")return Ne;(p.status==="dirty"||x.status==="dirty")&&l.dirty(),h.set(p.value,x.value)}return{status:l.value,value:h}})}else{const h=new Map;for(const y of d){const p=y.key,x=y.value;if(p.status==="aborted"||x.status==="aborted")return Ne;(p.status==="dirty"||x.status==="dirty")&&l.dirty(),h.set(p.value,x.value)}return{status:l.value,value:h}}}}mm.create=(r,n,l)=>new mm({valueType:n,keyType:r,typeName:Se.ZodMap,...Oe(l)});class Zi extends Ve{_parse(n){const{status:l,ctx:s}=this._processInputParams(n);if(s.parsedType!==fe.set)return ie(s,{code:P.invalid_type,expected:fe.set,received:s.parsedType}),Ne;const o=this._def;o.minSize!==null&&s.data.size<o.minSize.value&&(ie(s,{code:P.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),l.dirty()),o.maxSize!==null&&s.data.size>o.maxSize.value&&(ie(s,{code:P.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),l.dirty());const f=this._def.valueType;function d(y){const p=new Set;for(const x of y){if(x.status==="aborted")return Ne;x.status==="dirty"&&l.dirty(),p.add(x.value)}return{status:l.value,value:p}}const h=[...s.data.values()].map((y,p)=>f._parse(new Cr(s,y,s.path,p)));return s.common.async?Promise.all(h).then(y=>d(y)):d(h)}min(n,l){return new Zi({...this._def,minSize:{value:n,message:pe.toString(l)}})}max(n,l){return new Zi({...this._def,maxSize:{value:n,message:pe.toString(l)}})}size(n,l){return this.min(n,l).max(n,l)}nonempty(n){return this.min(1,n)}}Zi.create=(r,n)=>new Zi({valueType:r,minSize:null,maxSize:null,typeName:Se.ZodSet,...Oe(n)});class hm extends Ve{get schema(){return this._def.getter()}_parse(n){const{ctx:l}=this._processInputParams(n);return this._def.getter()._parse({data:l.data,path:l.path,parent:l})}}hm.create=(r,n)=>new hm({getter:r,typeName:Se.ZodLazy,...Oe(n)});class pm extends Ve{_parse(n){if(n.data!==this._def.value){const l=this._getOrReturnCtx(n);return ie(l,{received:l.data,code:P.invalid_literal,expected:this._def.value}),Ne}return{status:"valid",value:n.data}}get value(){return this._def.value}}pm.create=(r,n)=>new pm({value:r,typeName:Se.ZodLiteral,...Oe(n)});function gm(r,n){return new kn({values:r,typeName:Se.ZodEnum,...Oe(n)})}class kn extends Ve{_parse(n){if(typeof n.data!="string"){const l=this._getOrReturnCtx(n),s=this._def.values;return ie(l,{expected:Be.joinValues(s),received:l.parsedType,code:P.invalid_type}),Ne}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(n.data)){const l=this._getOrReturnCtx(n),s=this._def.values;return ie(l,{received:l.data,code:P.invalid_enum_value,options:s}),Ne}return ya(n.data)}get options(){return this._def.values}get enum(){const n={};for(const l of this._def.values)n[l]=l;return n}get Values(){const n={};for(const l of this._def.values)n[l]=l;return n}get Enum(){const n={};for(const l of this._def.values)n[l]=l;return n}extract(n,l=this._def){return kn.create(n,{...this._def,...l})}exclude(n,l=this._def){return kn.create(this.options.filter(s=>!n.includes(s)),{...this._def,...l})}}kn.create=gm;class ym extends Ve{_parse(n){const l=Be.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(n);if(s.parsedType!==fe.string&&s.parsedType!==fe.number){const o=Be.objectValues(l);return ie(s,{expected:Be.joinValues(o),received:s.parsedType,code:P.invalid_type}),Ne}if(this._cache||(this._cache=new Set(Be.getValidEnumValues(this._def.values))),!this._cache.has(n.data)){const o=Be.objectValues(l);return ie(s,{received:s.data,code:P.invalid_enum_value,options:o}),Ne}return ya(n.data)}get enum(){return this._def.values}}ym.create=(r,n)=>new ym({values:r,typeName:Se.ZodNativeEnum,...Oe(n)});class cs extends Ve{unwrap(){return this._def.type}_parse(n){const{ctx:l}=this._processInputParams(n);if(l.parsedType!==fe.promise&&l.common.async===!1)return ie(l,{code:P.invalid_type,expected:fe.promise,received:l.parsedType}),Ne;const s=l.parsedType===fe.promise?l.data:Promise.resolve(l.data);return ya(s.then(o=>this._def.type.parseAsync(o,{path:l.path,errorMap:l.common.contextualErrorMap})))}}cs.create=(r,n)=>new cs({type:r,typeName:Se.ZodPromise,...Oe(n)});class jn extends Ve{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Se.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){const{status:l,ctx:s}=this._processInputParams(n),o=this._def.effect||null,f={addIssue:d=>{ie(s,d),d.fatal?l.abort():l.dirty()},get path(){return s.path}};if(f.addIssue=f.addIssue.bind(f),o.type==="preprocess"){const d=o.transform(s.data,f);if(s.common.async)return Promise.resolve(d).then(async h=>{if(l.value==="aborted")return Ne;const y=await this._def.schema._parseAsync({data:h,path:s.path,parent:s});return y.status==="aborted"?Ne:y.status==="dirty"||l.value==="dirty"?qi(y.value):y});{if(l.value==="aborted")return Ne;const h=this._def.schema._parseSync({data:d,path:s.path,parent:s});return h.status==="aborted"?Ne:h.status==="dirty"||l.value==="dirty"?qi(h.value):h}}if(o.type==="refinement"){const d=h=>{const y=o.refinement(h,f);if(s.common.async)return Promise.resolve(y);if(y instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return h};if(s.common.async===!1){const h=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return h.status==="aborted"?Ne:(h.status==="dirty"&&l.dirty(),d(h.value),{status:l.value,value:h.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(h=>h.status==="aborted"?Ne:(h.status==="dirty"&&l.dirty(),d(h.value).then(()=>({status:l.value,value:h.value}))))}if(o.type==="transform")if(s.common.async===!1){const d=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!Mn(d))return Ne;const h=o.transform(d.value,f);if(h instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:l.value,value:h}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(d=>Mn(d)?Promise.resolve(o.transform(d.value,f)).then(h=>({status:l.value,value:h})):Ne);Be.assertNever(o)}}jn.create=(r,n,l)=>new jn({schema:r,typeName:Se.ZodEffects,effect:n,...Oe(l)}),jn.createWithPreprocess=(r,n,l)=>new jn({schema:n,effect:{type:"preprocess",transform:r},typeName:Se.ZodEffects,...Oe(l)});class Dr extends Ve{_parse(n){return this._getType(n)===fe.undefined?ya(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Dr.create=(r,n)=>new Dr({innerType:r,typeName:Se.ZodOptional,...Oe(n)});class Vn extends Ve{_parse(n){return this._getType(n)===fe.null?ya(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Vn.create=(r,n)=>new Vn({innerType:r,typeName:Se.ZodNullable,...Oe(n)});class Su extends Ve{_parse(n){const{ctx:l}=this._processInputParams(n);let s=l.data;return l.parsedType===fe.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:l.path,parent:l})}removeDefault(){return this._def.innerType}}Su.create=(r,n)=>new Su({innerType:r,typeName:Se.ZodDefault,defaultValue:typeof n.default=="function"?n.default:()=>n.default,...Oe(n)});class _u extends Ve{_parse(n){const{ctx:l}=this._processInputParams(n),s={...l,common:{...l.common,issues:[]}},o=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return ls(o)?o.then(f=>({status:"valid",value:f.status==="valid"?f.value:this._def.catchValue({get error(){return new Pa(s.common.issues)},input:s.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Pa(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}_u.create=(r,n)=>new _u({innerType:r,typeName:Se.ZodCatch,catchValue:typeof n.catch=="function"?n.catch:()=>n.catch,...Oe(n)});class bm extends Ve{_parse(n){if(this._getType(n)!==fe.nan){const s=this._getOrReturnCtx(n);return ie(s,{code:P.invalid_type,expected:fe.nan,received:s.parsedType}),Ne}return{status:"valid",value:n.data}}}bm.create=r=>new bm({typeName:Se.ZodNaN,...Oe(r)});class uv extends Ve{_parse(n){const{ctx:l}=this._processInputParams(n),s=l.data;return this._def.type._parse({data:s,path:l.path,parent:l})}unwrap(){return this._def.type}}class Cu extends Ve{_parse(n){const{status:l,ctx:s}=this._processInputParams(n);if(s.common.async)return(async()=>{const f=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return f.status==="aborted"?Ne:f.status==="dirty"?(l.dirty(),qi(f.value)):this._def.out._parseAsync({data:f.value,path:s.path,parent:s})})();{const o=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return o.status==="aborted"?Ne:o.status==="dirty"?(l.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:s.path,parent:s})}}static create(n,l){return new Cu({in:n,out:l,typeName:Se.ZodPipeline})}}class Eu extends Ve{_parse(n){const l=this._def.innerType._parse(n),s=o=>(Mn(o)&&(o.value=Object.freeze(o.value)),o);return ls(l)?l.then(o=>s(o)):s(l)}unwrap(){return this._def.innerType}}Eu.create=(r,n)=>new Eu({innerType:r,typeName:Se.ZodReadonly,...Oe(n)});var Se;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(Se||(Se={}));const vm=Er.create;wr.create,qa.create;const cv=xt.create;os.create,us.create,an.create,kn.create,cs.create,Dr.create,Vn.create;const fv=cv({securityNumber:vm({required_error:"CPF é obrigatório."}).refine(r=>r.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(r=>{const n=r.replace(/\D/g,"");return!!Number(n)},"CPF deve conter apenas números."),coupon:vm({required_error:"Cupom / ID do Cartão obrigatório."}).optional()});var wu={exports:{}};/*!
324
50
  Copyright (c) 2018 Jed Watson.
325
51
  Licensed under the MIT License (MIT), see
326
52
  http://jedwatson.github.io/classnames
327
- */var V2;function uR(){return V2||(V2=1,(function(r){(function(){var u={}.hasOwnProperty;function s(){for(var y="",b=0;b<arguments.length;b++){var E=arguments[b];E&&(y=h(y,d(E)))}return y}function d(y){if(typeof y=="string"||typeof y=="number")return y;if(typeof y!="object")return"";if(Array.isArray(y))return s.apply(null,y);if(y.toString!==Object.prototype.toString&&!y.toString.toString().includes("[native code]"))return y.toString();var b="";for(var E in y)u.call(y,E)&&y[E]&&(b=h(b,E));return b}function h(y,b){return b?y?y+" "+b:y+b:y}r.exports?(s.default=s,r.exports=s):window.classNames=s})()})(xE)),xE.exports}var sR=uR();const Jn=ec(sR);function qu(r){return B.jsxDEV("button",{...r,className:Jn("w-3xs cursor-pointer h-10 rounded-lg text-white text-sm font-semibold transition-colors",r.className),style:{...r.style},children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Button/index.tsx",lineNumber:10,columnNumber:5},this)}const B2=r=>{let u;const s=new Set,d=(C,U)=>{const A=typeof C=="function"?C(u):C;if(!Object.is(A,u)){const R=u;u=U??(typeof A!="object"||A===null)?A:Object.assign({},u,A),s.forEach(z=>z(u,R))}},h=()=>u,E={setState:d,getState:h,getInitialState:()=>N,subscribe:C=>(s.add(C),()=>s.delete(C))},N=u=r(d,h,E);return E},_E=(r=>r?B2(r):B2);var it=qf();const Da=ec(it),k2=Hu({__proto__:null,default:Da},[it]),cR=r=>r;function TE(r,u=cR){const s=Da.useSyncExternalStore(r.subscribe,Da.useCallback(()=>u(r.getState()),[r,u]),Da.useCallback(()=>u(r.getInitialState()),[r,u]));return Da.useDebugValue(s),s}const H2=r=>{const u=_E(r),s=d=>TE(u,d);return Object.assign(s,u),s},CE=(r=>r?H2(r):H2),fR={securityNumber:"",requestId:"",cardID:"",state:"isEmpty",availableDiscountSelected:{quantity:0,discount:{unit:0,total:0},totalPrice:0,grossPrice:0},benefitsEnabled:!0,benefitsList:null,targetProduct:null,campaign:"pbm_campaign",isAuthenticatedShopper:!1,customLoginUrl:"/login"},L2=_E(r=>({...fR,setSecurityNumber:u=>r({securityNumber:u}),setRequestId:u=>r({requestId:u}),setState:u=>r({state:u}),setTargetProduct:u=>r({targetProduct:u}),setAvailableDiscountSelected:u=>r({availableDiscountSelected:u}),setUrlAcceptTerms:u=>r({urlAcceptTerms:u}),setUrlRegisterIndustry:u=>r({urlRegisterIndustry:u}),setIsAuthenticatedShopper:u=>r({isAuthenticatedShopper:u}),setCustomLoginUrl:u=>r({customLoginUrl:u}),setCardID:u=>r({cardID:u}),setBenefitsEnabled:u=>r({benefitsEnabled:u}),setBenefitsList:u=>r({benefitsList:u})})),dR=()=>({getState:()=>{const r=L2.getState(),{setSecurityNumber:u,setState:s,setAvailableDiscountSelected:d,setTargetProduct:h,setUrlAcceptTerms:y,setUrlRegisterIndustry:b,setIsAuthenticatedShopper:E,setCustomLoginUrl:N,setCardID:C,setBenefitsEnabled:U,setBenefitsList:A,setRequestId:R,requestId:z,benefitsEnabled:Q,benefitsList:j,...F}=r;if(!r.targetProduct)return{...F,targetProduct:null};const{requestedQuantity:fe,discountMaxNewPatient:ge,allowsAdhesion:De,comboId:pe,discountValueIndustry:$,authorizer:xe,grossPrice:Te,industryCompanyCode:Le,pointing:Pe,productLink:we,requestCoupon:$e,requestHolderId:M,suggestedPrice:ue,suggestedPriceValue:ye,status:ze,returnCode:V,...ne}=r.targetProduct;return{...F,targetProduct:ne}}});function hr(r){return TE(L2,(u=>u))}var Dy=r=>r.type==="checkbox",Gf=r=>r instanceof Date,pr=r=>r==null;const q2=r=>typeof r=="object";var ya=r=>!pr(r)&&!Array.isArray(r)&&q2(r)&&!Gf(r),mR=r=>ya(r)&&r.target?Dy(r.target)?r.target.checked:r.target.value:r,Y2=r=>r.substring(0,r.search(/\.\d+(\.|$)/))||r,hR=(r,u)=>r.has(Y2(u)),pR=r=>{const u=r.constructor&&r.constructor.prototype;return ya(u)&&u.hasOwnProperty("isPrototypeOf")},NE=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ja(r){if(r instanceof Date)return new Date(r);const u=typeof FileList<"u"&&r instanceof FileList;if(NE&&(r instanceof Blob||u))return r;const s=Array.isArray(r);if(!s&&!(ya(r)&&pR(r)))return r;const d=s?[]:Object.create(Object.getPrototypeOf(r));for(const h in r)Object.prototype.hasOwnProperty.call(r,h)&&(d[h]=Ja(r[h]));return d}var lb=r=>/^\w*$/.test(r),na=r=>r===void 0,AE=r=>Array.isArray(r)?r.filter(Boolean):[],DE=r=>AE(r.replace(/["|']|\]/g,"").split(/\.|\[/)),et=(r,u,s)=>{if(!u||!ya(r))return s;const d=(lb(u)?[u]:DE(u)).reduce((h,y)=>pr(h)?h:h[y],r);return na(d)||d===r?na(r[u])?s:r[u]:d},Xo=r=>typeof r=="boolean",co=r=>typeof r=="function",Tn=(r,u,s)=>{let d=-1;const h=lb(u)?[u]:DE(u),y=h.length,b=y-1;for(;++d<y;){const E=h[d];let N=s;if(d!==b){const C=r[E];N=ya(C)||Array.isArray(C)?C:isNaN(+h[d+1])?{}:[]}if(E==="__proto__"||E==="constructor"||E==="prototype")return;r[E]=N,r=r[E]}};const Ym={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},fo={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},mo={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},RE="form",G2="root",yR=Da.createContext(null);yR.displayName="HookFormControlContext";var gR=(r,u,s,d=!0)=>{const h={defaultValues:u._defaultValues};for(const y in r)Object.defineProperty(h,y,{get:()=>{const b=y;return u._proxyFormState[b]!==fo.all&&(u._proxyFormState[b]=!d||fo.all),r[b]}});return h};const vR=typeof window<"u"?Da.useLayoutEffect:Da.useEffect;var Yl=r=>typeof r=="string",bR=(r,u,s,d,h)=>Yl(r)?(d&&u.watch.add(r),et(s,r,h)):Array.isArray(r)?r.map(y=>(d&&u.watch.add(y),et(s,y))):(d&&(u.watchAll=!0),s),OE=r=>pr(r)||!q2(r);function ic(r,u,s=new WeakSet){if(OE(r)||OE(u))return Object.is(r,u);if(Gf(r)&&Gf(u))return Object.is(r.getTime(),u.getTime());const d=Object.keys(r),h=Object.keys(u);if(d.length!==h.length)return!1;if(s.has(r)||s.has(u))return!0;s.add(r),s.add(u);for(const y of d){const b=r[y];if(!h.includes(y))return!1;if(y!=="ref"){const E=u[y];if(Gf(b)&&Gf(E)||ya(b)&&ya(E)||Array.isArray(b)&&Array.isArray(E)?!ic(b,E,s):!Object.is(b,E))return!1}}return!0}const SR=Da.createContext(null);SR.displayName="HookFormContext";var wE=(r,u,s,d,h)=>u?{...s[r],types:{...s[r]&&s[r].types?s[r].types:{},[d]:h||!0}}:{},Ry=r=>Array.isArray(r)?r:[r],$2=()=>{let r=[];return{get observers(){return r},next:h=>{for(const y of r)y.next&&y.next(h)},subscribe:h=>(r.push(h),{unsubscribe:()=>{r=r.filter(y=>y!==h)}}),unsubscribe:()=>{r=[]}}};function Z2(r,u){const s={};for(const d in r)if(r.hasOwnProperty(d)){const h=r[d],y=u[d];if(h&&ya(h)&&y){const b=Z2(h,y);ya(b)&&(s[d]=b)}else r[d]&&(s[d]=y)}return s}var Gl=r=>ya(r)&&!Object.keys(r).length,ME=r=>r.type==="file",rb=r=>{if(!NE)return!1;const u=r?r.ownerDocument:0;return r instanceof(u&&u.defaultView?u.defaultView.HTMLElement:HTMLElement)},X2=r=>r.type==="select-multiple",zE=r=>r.type==="radio",ER=r=>zE(r)||Dy(r),jE=r=>rb(r)&&r.isConnected;function xR(r,u){const s=u.slice(0,-1).length;let d=0;for(;d<s;)r=na(r)?d++:r[u[d++]];return r}function _R(r){for(const u in r)if(r.hasOwnProperty(u)&&!na(r[u]))return!1;return!0}function Ra(r,u){const s=Array.isArray(u)?u:lb(u)?[u]:DE(u),d=s.length===1?r:xR(r,s),h=s.length-1,y=s[h];return d&&delete d[y],h!==0&&(ya(d)&&Gl(d)||Array.isArray(d)&&_R(d))&&Ra(r,s.slice(0,-1)),r}var TR=r=>{for(const u in r)if(co(r[u]))return!0;return!1};function Q2(r){return Array.isArray(r)||ya(r)&&!TR(r)}function UE(r,u={}){for(const s in r){const d=r[s];Q2(d)?(u[s]=Array.isArray(d)?[]:{},UE(d,u[s])):na(d)||(u[s]=!0)}return u}function Gm(r,u,s){s||(s=UE(u));for(const d in r){const h=r[d];if(Q2(h))na(u)||OE(s[d])?s[d]=UE(h,Array.isArray(h)?[]:{}):Gm(h,pr(u)?{}:u[d],s[d]);else{const y=u[d];s[d]=!ic(h,y)}}return s}const J2={value:!1,isValid:!1},K2={value:!0,isValid:!0};var F2=r=>{if(Array.isArray(r)){if(r.length>1){const u=r.filter(s=>s&&s.checked&&!s.disabled).map(s=>s.value);return{value:u,isValid:!!u.length}}return r[0].checked&&!r[0].disabled?r[0].attributes&&!na(r[0].attributes.value)?na(r[0].value)||r[0].value===""?K2:{value:r[0].value,isValid:!0}:K2:J2}return J2},I2=(r,{valueAsNumber:u,valueAsDate:s,setValueAs:d})=>na(r)?r:u?r===""?NaN:r&&+r:s&&Yl(r)?new Date(r):d?d(r):r;const P2={isValid:!1,value:null};var W2=r=>Array.isArray(r)?r.reduce((u,s)=>s&&s.checked&&!s.disabled?{isValid:!0,value:s.value}:u,P2):P2;function eT(r){const u=r.ref;return ME(u)?u.files:zE(u)?W2(r.refs).value:X2(u)?[...u.selectedOptions].map(({value:s})=>s):Dy(u)?F2(r.refs).value:I2(na(u.value)?r.ref.value:u.value,r)}var CR=(r,u,s,d)=>{const h={};for(const y of r){const b=et(u,y);b&&Tn(h,y,b._f)}return{criteriaMode:s,names:[...r],fields:h,shouldUseNativeValidation:d}},ib=r=>r instanceof RegExp,Oy=r=>na(r)?r:ib(r)?r.source:ya(r)?ib(r.value)?r.value.source:r.value:r,tT=r=>({isOnSubmit:!r||r===fo.onSubmit,isOnBlur:r===fo.onBlur,isOnChange:r===fo.onChange,isOnAll:r===fo.all,isOnTouch:r===fo.onTouched});const nT="AsyncFunction";var NR=r=>!!r&&!!r.validate&&!!(co(r.validate)&&r.validate.constructor.name===nT||ya(r.validate)&&Object.values(r.validate).find(u=>u.constructor.name===nT)),AR=r=>r.mount&&(r.required||r.min||r.max||r.maxLength||r.minLength||r.pattern||r.validate),aT=(r,u,s)=>!s&&(u.watchAll||u.watch.has(r)||[...u.watch].some(d=>r.startsWith(d)&&/^\.\w+/.test(r.slice(d.length))));const wy=(r,u,s,d)=>{for(const h of s||Object.keys(r)){const y=et(r,h);if(y){const{_f:b,...E}=y;if(b){if(b.refs&&b.refs[0]&&u(b.refs[0],h)&&!d)return!0;if(b.ref&&u(b.ref,b.name)&&!d)return!0;if(wy(E,u))break}else if(ya(E)&&wy(E,u))break}}};function lT(r,u,s){const d=et(r,s);if(d||lb(s))return{error:d,name:s};const h=s.split(".");for(;h.length;){const y=h.join("."),b=et(u,y),E=et(r,y);if(b&&!Array.isArray(b)&&s!==y)return{name:s};if(E&&E.type)return{name:y,error:E};if(E&&E.root&&E.root.type)return{name:`${y}.root`,error:E.root};h.pop()}return{name:s}}var DR=(r,u,s,d)=>{s(r);const{name:h,...y}=r;return Gl(y)||Object.keys(y).length>=Object.keys(u).length||Object.keys(y).find(b=>u[b]===(!d||fo.all))},RR=(r,u,s)=>!r||!u||r===u||Ry(r).some(d=>d&&(s?d===u:d.startsWith(u)||u.startsWith(d))),OR=(r,u,s,d,h)=>h.isOnAll?!1:!s&&h.isOnTouch?!(u||r):(s?d.isOnBlur:h.isOnBlur)?!r:(s?d.isOnChange:h.isOnChange)?r:!0,wR=(r,u)=>!AE(et(r,u)).length&&Ra(r,u),MR=(r,u,s)=>{const d=Ry(et(r,s));return Tn(d,G2,u[s]),Tn(r,s,d),r};function rT(r,u,s="validate"){if(Yl(r)||Array.isArray(r)&&r.every(Yl)||Xo(r)&&!r)return{type:s,message:Yl(r)?r:"",ref:u}}var $m=r=>ya(r)&&!ib(r)?r:{value:r,message:""},iT=async(r,u,s,d,h,y)=>{const{ref:b,refs:E,required:N,maxLength:C,minLength:U,min:A,max:R,pattern:z,validate:Q,name:j,valueAsNumber:F,mount:fe}=r._f,ge=et(s,j);if(!fe||u.has(j))return{};const De=E?E[0]:b,pe=M=>{h&&De.reportValidity&&(De.setCustomValidity(Xo(M)?"":M||""),De.reportValidity())},$={},xe=zE(b),Te=Dy(b),Le=xe||Te,Pe=(F||ME(b))&&na(b.value)&&na(ge)||rb(b)&&b.value===""||ge===""||Array.isArray(ge)&&!ge.length,we=wE.bind(null,j,d,$),$e=(M,ue,ye,ze=mo.maxLength,V=mo.minLength)=>{const ne=M?ue:ye;$[j]={type:M?ze:V,message:ne,ref:b,...we(M?ze:V,ne)}};if(y?!Array.isArray(ge)||!ge.length:N&&(!Le&&(Pe||pr(ge))||Xo(ge)&&!ge||Te&&!F2(E).isValid||xe&&!W2(E).isValid)){const{value:M,message:ue}=Yl(N)?{value:!!N,message:N}:$m(N);if(M&&($[j]={type:mo.required,message:ue,ref:De,...we(mo.required,ue)},!d))return pe(ue),$}if(!Pe&&(!pr(A)||!pr(R))){let M,ue;const ye=$m(R),ze=$m(A);if(!pr(ge)&&!isNaN(ge)){const V=b.valueAsNumber||ge&&+ge;pr(ye.value)||(M=V>ye.value),pr(ze.value)||(ue=V<ze.value)}else{const V=b.valueAsDate||new Date(ge),ne=se=>new Date(new Date().toDateString()+" "+se),be=b.type=="time",Ye=b.type=="week";Yl(ye.value)&&ge&&(M=be?ne(ge)>ne(ye.value):Ye?ge>ye.value:V>new Date(ye.value)),Yl(ze.value)&&ge&&(ue=be?ne(ge)<ne(ze.value):Ye?ge<ze.value:V<new Date(ze.value))}if((M||ue)&&($e(!!M,ye.message,ze.message,mo.max,mo.min),!d))return pe($[j].message),$}if((C||U)&&!Pe&&(Yl(ge)||y&&Array.isArray(ge))){const M=$m(C),ue=$m(U),ye=!pr(M.value)&&ge.length>+M.value,ze=!pr(ue.value)&&ge.length<+ue.value;if((ye||ze)&&($e(ye,M.message,ue.message),!d))return pe($[j].message),$}if(z&&!Pe&&Yl(ge)){const{value:M,message:ue}=$m(z);if(ib(M)&&!ge.match(M)&&($[j]={type:mo.pattern,message:ue,ref:b,...we(mo.pattern,ue)},!d))return pe(ue),$}if(Q){if(co(Q)){const M=await Q(ge,s),ue=rT(M,De);if(ue&&($[j]={...ue,...we(mo.validate,ue.message)},!d))return pe(ue.message),$}else if(ya(Q)){let M={};for(const ue in Q){if(!Gl(M)&&!d)break;const ye=rT(await Q[ue](ge,s),De,ue);ye&&(M={...ye,...we(ue,ye.message)},pe(ye.message),d&&($[j]=M))}if(!Gl(M)&&($[j]={ref:De,...M},!d))return $}}return pe(!0),$};const zR={mode:fo.onSubmit,reValidateMode:fo.onChange,shouldFocusError:!0};function jR(r={}){let u={...zR,...r},s={submitCount:0,isDirty:!1,isReady:!1,isLoading:co(u.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:u.errors||{},disabled:u.disabled||!1},d={},h=ya(u.defaultValues)||ya(u.values)?Ja(u.defaultValues||u.values)||{}:{},y=u.shouldUnregister?{}:Ja(h),b={action:!1,mount:!1,watch:!1,keepIsValid:!1},E={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},N,C=0;const U={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},A={...U};let R={...A};const z={array:$2(),state:$2()},Q=u.criteriaMode===fo.all,j=Y=>te=>{clearTimeout(C),C=setTimeout(Y,te)},F=async Y=>{if(!b.keepIsValid&&!u.disabled&&(A.isValid||R.isValid||Y)){let te;u.resolver?(te=Gl((await Le()).errors),fe()):te=await $e({fields:d,onlyCheckValid:!0,eventType:Ym.VALID}),te!==s.isValid&&z.state.next({isValid:te})}},fe=(Y,te)=>{!u.disabled&&(A.isValidating||A.validatingFields||R.isValidating||R.validatingFields)&&((Y||Array.from(E.mount)).forEach(le=>{le&&(te?Tn(s.validatingFields,le,te):Ra(s.validatingFields,le))}),z.state.next({validatingFields:s.validatingFields,isValidating:!Gl(s.validatingFields)}))},ge=(Y,te=[],le,qe,Ue=!0,ke=!0)=>{if(qe&&le&&!u.disabled){if(b.action=!0,ke&&Array.isArray(et(d,Y))){const Qe=le(et(d,Y),qe.argA,qe.argB);Ue&&Tn(d,Y,Qe)}if(ke&&Array.isArray(et(s.errors,Y))){const Qe=le(et(s.errors,Y),qe.argA,qe.argB);Ue&&Tn(s.errors,Y,Qe),wR(s.errors,Y)}if((A.touchedFields||R.touchedFields)&&ke&&Array.isArray(et(s.touchedFields,Y))){const Qe=le(et(s.touchedFields,Y),qe.argA,qe.argB);Ue&&Tn(s.touchedFields,Y,Qe)}if(A.dirtyFields||R.dirtyFields){const Qe=Gm(h,y),gt=Y2(Y);Tn(s.dirtyFields,gt,et(Qe,gt))}z.state.next({name:Y,isDirty:ue(Y,te),dirtyFields:s.dirtyFields,errors:s.errors,isValid:s.isValid})}else Tn(y,Y,te)},De=(Y,te)=>{Tn(s.errors,Y,te),z.state.next({errors:s.errors})},pe=Y=>{s.errors=Y,z.state.next({errors:s.errors,isValid:!1})},$=(Y,te,le,qe)=>{const Ue=et(d,Y);if(Ue){const ke=et(y,Y,na(le)?et(h,Y):le);na(ke)||qe&&qe.defaultChecked||te?Tn(y,Y,te?ke:eT(Ue._f)):V(Y,ke),b.mount&&!b.action&&F()}},xe=(Y,te,le,qe,Ue)=>{let ke=!1,Qe=!1;const gt={name:Y};if(!u.disabled){if(!le||qe){(A.isDirty||R.isDirty)&&(Qe=s.isDirty,s.isDirty=gt.isDirty=ue(),ke=Qe!==gt.isDirty);const qt=ic(et(h,Y),te);Qe=!!et(s.dirtyFields,Y),qt?Ra(s.dirtyFields,Y):Tn(s.dirtyFields,Y,!0),gt.dirtyFields=s.dirtyFields,ke=ke||(A.dirtyFields||R.dirtyFields)&&Qe!==!qt}if(le){const qt=et(s.touchedFields,Y);qt||(Tn(s.touchedFields,Y,le),gt.touchedFields=s.touchedFields,ke=ke||(A.touchedFields||R.touchedFields)&&qt!==le)}ke&&Ue&&z.state.next(gt)}return ke?gt:{}},Te=(Y,te,le,qe)=>{const Ue=et(s.errors,Y),ke=(A.isValid||R.isValid)&&Xo(te)&&s.isValid!==te;if(u.delayError&&le?(N=j(()=>De(Y,le)),N(u.delayError)):(clearTimeout(C),N=null,le?Tn(s.errors,Y,le):Ra(s.errors,Y)),(le?!ic(Ue,le):Ue)||!Gl(qe)||ke){const Qe={...qe,...ke&&Xo(te)?{isValid:te}:{},errors:s.errors,name:Y};s={...s,...Qe},z.state.next(Qe)}},Le=async Y=>(fe(Y,!0),await u.resolver(y,u.context,CR(Y||E.mount,d,u.criteriaMode,u.shouldUseNativeValidation))),Pe=async Y=>{const{errors:te}=await Le(Y);if(fe(Y),Y)for(const le of Y){const qe=et(te,le);qe?Tn(s.errors,le,qe):Ra(s.errors,le)}else s.errors=te;return te},we=async({name:Y,eventType:te})=>{if(r.validate){const le=await r.validate({formValues:y,formState:s,name:Y,eventType:te});if(ya(le))for(const qe in le)le[qe]&&Re(`${RE}.${qe}`,{message:Yl(le.message)?le.message:"",type:mo.validate});else Yl(le)||!le?Re(RE,{message:le||"",type:mo.validate}):ee(RE);return le}return!0},$e=async({fields:Y,onlyCheckValid:te,name:le,eventType:qe,context:Ue={valid:!0,runRootValidation:!1}})=>{if(r.validate&&(Ue.runRootValidation=!0,!await we({name:le,eventType:qe})&&(Ue.valid=!1,te)))return Ue.valid;for(const ke in Y){const Qe=Y[ke];if(Qe){const{_f:gt,...qt}=Qe;if(gt){const ba=E.array.has(gt.name),Ma=Qe._f&&NR(Qe._f);Ma&&A.validatingFields&&fe([gt.name],!0);const _n=await iT(Qe,E.disabled,y,Q,u.shouldUseNativeValidation&&!te,ba);if(Ma&&A.validatingFields&&fe([gt.name]),_n[gt.name]&&(Ue.valid=!1,te)||(!te&&(et(_n,gt.name)?ba?MR(s.errors,_n,gt.name):Tn(s.errors,gt.name,_n[gt.name]):Ra(s.errors,gt.name)),r.shouldUseNativeValidation&&_n[gt.name]))break}!Gl(qt)&&await $e({context:Ue,onlyCheckValid:te,fields:qt,name:ke,eventType:qe})}}return Ue.valid},M=()=>{for(const Y of E.unMount){const te=et(d,Y);te&&(te._f.refs?te._f.refs.every(le=>!jE(le)):!jE(te._f.ref))&&Ze(Y)}E.unMount=new Set},ue=(Y,te)=>!u.disabled&&(Y&&te&&Tn(y,Y,te),!ic(H(),h)),ye=(Y,te,le)=>bR(Y,E,{...b.mount?y:na(te)?h:Yl(Y)?{[Y]:te}:te},le,te),ze=Y=>AE(et(b.mount?y:h,Y,u.shouldUnregister?et(h,Y,[]):[])),V=(Y,te,le={})=>{const qe=et(d,Y);let Ue=te;if(qe){const ke=qe._f;ke&&(!ke.disabled&&Tn(y,Y,I2(te,ke)),Ue=rb(ke.ref)&&pr(te)?"":te,X2(ke.ref)?[...ke.ref.options].forEach(Qe=>Qe.selected=Ue.includes(Qe.value)):ke.refs?Dy(ke.ref)?ke.refs.forEach(Qe=>{(!Qe.defaultChecked||!Qe.disabled)&&(Array.isArray(Ue)?Qe.checked=!!Ue.find(gt=>gt===Qe.value):Qe.checked=Ue===Qe.value||!!Ue)}):ke.refs.forEach(Qe=>Qe.checked=Qe.value===Ue):ME(ke.ref)?ke.ref.value="":(ke.ref.value=Ue,ke.ref.type||z.state.next({name:Y,values:Ja(y)})))}(le.shouldDirty||le.shouldTouch)&&xe(Y,Ue,le.shouldTouch,le.shouldDirty,!0),le.shouldValidate&&_(Y)},ne=(Y,te,le)=>{for(const qe in te){if(!te.hasOwnProperty(qe))return;const Ue=te[qe],ke=Y+"."+qe,Qe=et(d,ke);(E.array.has(Y)||ya(Ue)||Qe&&!Qe._f)&&!Gf(Ue)?ne(ke,Ue,le):V(ke,Ue,le)}},be=(Y,te,le={})=>{const qe=et(d,Y),Ue=E.array.has(Y),ke=Ja(te);Tn(y,Y,ke),Ue?(z.array.next({name:Y,values:Ja(y)}),(A.isDirty||A.dirtyFields||R.isDirty||R.dirtyFields)&&le.shouldDirty&&z.state.next({name:Y,dirtyFields:Gm(h,y),isDirty:ue(Y,ke)})):qe&&!qe._f&&!pr(ke)?ne(Y,ke,le):V(Y,ke,le),aT(Y,E)?z.state.next({...s,name:Y,values:Ja(y)}):z.state.next({name:b.mount?Y:void 0,values:Ja(y)})},Ye=async Y=>{b.mount=!0;const te=Y.target;let le=te.name,qe=!0;const Ue=et(d,le),ke=qt=>{qe=Number.isNaN(qt)||Gf(qt)&&isNaN(qt.getTime())||ic(qt,et(y,le,qt))},Qe=tT(u.mode),gt=tT(u.reValidateMode);if(Ue){let qt,ba;const Ma=te.type?eT(Ue._f):mR(Y),_n=Y.type===Ym.BLUR||Y.type===Ym.FOCUS_OUT,aa=!AR(Ue._f)&&!r.validate&&!u.resolver&&!et(s.errors,le)&&!Ue._f.deps||OR(_n,et(s.touchedFields,le),s.isSubmitted,gt,Qe),Ka=aT(le,E,_n);Tn(y,le,Ma),_n?(!te||!te.readOnly)&&(Ue._f.onBlur&&Ue._f.onBlur(Y),N&&N(0)):Ue._f.onChange&&Ue._f.onChange(Y);const Fn=xe(le,Ma,_n),bi=!Gl(Fn)||Ka;if(!_n&&z.state.next({name:le,type:Y.type,values:Ja(y)}),aa)return(A.isValid||R.isValid)&&(u.mode==="onBlur"?_n&&F():_n||F()),bi&&z.state.next({name:le,...Ka?{}:Fn});if(!u.resolver&&r.validate&&await we({name:le,eventType:Y.type}),!_n&&Ka&&z.state.next({...s}),u.resolver){const{errors:O}=await Le([le]);if(fe([le]),ke(Ma),qe){const I=lT(s.errors,d,le),Oe=lT(O,d,I.name||le);qt=Oe.error,le=Oe.name,ba=Gl(O)}}else fe([le],!0),qt=(await iT(Ue,E.disabled,y,Q,u.shouldUseNativeValidation))[le],fe([le]),ke(Ma),qe&&(qt?ba=!1:(A.isValid||R.isValid)&&(ba=await $e({fields:d,onlyCheckValid:!0,name:le,eventType:Y.type})));qe&&(Ue._f.deps&&(!Array.isArray(Ue._f.deps)||Ue._f.deps.length>0)&&_(Ue._f.deps),Te(le,ba,qt,Fn))}},se=(Y,te)=>{if(et(s.errors,te)&&Y.focus)return Y.focus(),1},_=async(Y,te={})=>{let le,qe;const Ue=Ry(Y);if(u.resolver){const ke=await Pe(na(Y)?Y:Ue);le=Gl(ke),qe=Y?!Ue.some(Qe=>et(ke,Qe)):le}else Y?(qe=(await Promise.all(Ue.map(async ke=>{const Qe=et(d,ke);return await $e({fields:Qe&&Qe._f?{[ke]:Qe}:Qe,eventType:Ym.TRIGGER})}))).every(Boolean),!(!qe&&!s.isValid)&&F()):qe=le=await $e({fields:d,name:Y,eventType:Ym.TRIGGER});return z.state.next({...!Yl(Y)||(A.isValid||R.isValid)&&le!==s.isValid?{}:{name:Y},...u.resolver||!Y?{isValid:le}:{},errors:s.errors}),te.shouldFocus&&!qe&&wy(d,se,Y?Ue:E.mount),qe},H=(Y,te)=>{let le={...b.mount?y:h};return te&&(le=Z2(te.dirtyFields?s.dirtyFields:s.touchedFields,le)),na(Y)?le:Yl(Y)?et(le,Y):Y.map(qe=>et(le,qe))},W=(Y,te)=>({invalid:!!et((te||s).errors,Y),isDirty:!!et((te||s).dirtyFields,Y),error:et((te||s).errors,Y),isValidating:!!et(s.validatingFields,Y),isTouched:!!et((te||s).touchedFields,Y)}),ee=Y=>{const te=Y?Ry(Y):void 0;te==null||te.forEach(le=>Ra(s.errors,le)),te?te.forEach(le=>{z.state.next({name:le,errors:s.errors})}):z.state.next({errors:{}})},Re=(Y,te,le)=>{const qe=(et(d,Y,{_f:{}})._f||{}).ref,Ue=et(s.errors,Y)||{},{ref:ke,message:Qe,type:gt,...qt}=Ue;Tn(s.errors,Y,{...qt,...te,ref:qe}),z.state.next({name:Y,errors:s.errors,isValid:!1}),le&&le.shouldFocus&&qe&&qe.focus&&qe.focus()},je=(Y,te)=>co(Y)?z.state.subscribe({next:le=>"values"in le&&Y(ye(void 0,te),le)}):ye(Y,te,!0),Ne=Y=>z.state.subscribe({next:te=>{RR(Y.name,te.name,Y.exact)&&DR(te,Y.formState||A,Zu,Y.reRenderRoot)&&Y.callback({values:{...y},...s,...te,defaultValues:h})}}).unsubscribe,Je=Y=>(b.mount=!0,R={...R,...Y.formState},Ne({...Y,formState:{...U,...Y.formState}})),Ze=(Y,te={})=>{for(const le of Y?Ry(Y):E.mount)E.mount.delete(le),E.array.delete(le),te.keepValue||(Ra(d,le),Ra(y,le)),!te.keepError&&Ra(s.errors,le),!te.keepDirty&&Ra(s.dirtyFields,le),!te.keepTouched&&Ra(s.touchedFields,le),!te.keepIsValidating&&Ra(s.validatingFields,le),!u.shouldUnregister&&!te.keepDefaultValue&&Ra(h,le);z.state.next({values:Ja(y)}),z.state.next({...s,...te.keepDirty?{isDirty:ue()}:{}}),!te.keepIsValid&&F()},ct=({disabled:Y,name:te})=>{if(Xo(Y)&&b.mount||Y||E.disabled.has(te)){const Ue=E.disabled.has(te)!==!!Y;Y?E.disabled.add(te):E.disabled.delete(te),Ue&&b.mount&&!b.action&&F()}},Me=(Y,te={})=>{let le=et(d,Y);const qe=Xo(te.disabled)||Xo(u.disabled);return Tn(d,Y,{...le||{},_f:{...le&&le._f?le._f:{ref:{name:Y}},name:Y,mount:!0,...te}}),E.mount.add(Y),le?ct({disabled:Xo(te.disabled)?te.disabled:u.disabled,name:Y}):$(Y,!0,te.value),{...qe?{disabled:te.disabled||u.disabled}:{},...u.progressive?{required:!!te.required,min:Oy(te.min),max:Oy(te.max),minLength:Oy(te.minLength),maxLength:Oy(te.maxLength),pattern:Oy(te.pattern)}:{},name:Y,onChange:Ye,onBlur:Ye,ref:Ue=>{if(Ue){Me(Y,te),le=et(d,Y);const ke=na(Ue.value)&&Ue.querySelectorAll&&Ue.querySelectorAll("input,select,textarea")[0]||Ue,Qe=ER(ke),gt=le._f.refs||[];if(Qe?gt.find(qt=>qt===ke):ke===le._f.ref)return;Tn(d,Y,{_f:{...le._f,...Qe?{refs:[...gt.filter(jE),ke,...Array.isArray(et(h,Y))?[{}]:[]],ref:{type:ke.type,name:Y}}:{ref:ke}}}),$(Y,!1,void 0,ke)}else le=et(d,Y,{}),le._f&&(le._f.mount=!1),(u.shouldUnregister||te.shouldUnregister)&&!(hR(E.array,Y)&&b.action)&&E.unMount.add(Y)}}},he=()=>u.shouldFocusError&&wy(d,se,E.mount),zn=Y=>{Xo(Y)&&(z.state.next({disabled:Y}),wy(d,(te,le)=>{const qe=et(d,le);qe&&(te.disabled=qe._f.disabled||Y,Array.isArray(qe._f.refs)&&qe._f.refs.forEach(Ue=>{Ue.disabled=qe._f.disabled||Y}))},0,!1))},An=(Y,te)=>async le=>{let qe;le&&(le.preventDefault&&le.preventDefault(),le.persist&&le.persist());let Ue=Ja(y);if(z.state.next({isSubmitting:!0}),u.resolver){const{errors:ke,values:Qe}=await Le();fe(),s.errors=ke,Ue=Ja(Qe)}else await $e({fields:d,eventType:Ym.SUBMIT});if(E.disabled.size)for(const ke of E.disabled)Ra(Ue,ke);if(Ra(s.errors,G2),Gl(s.errors)){z.state.next({errors:{}});try{await Y(Ue,le)}catch(ke){qe=ke}}else te&&await te({...s.errors},le),he(),setTimeout(he);if(z.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Gl(s.errors)&&!qe,submitCount:s.submitCount+1,errors:s.errors}),qe)throw qe},wa=(Y,te={})=>{et(d,Y)&&(na(te.defaultValue)?be(Y,Ja(et(h,Y))):(be(Y,te.defaultValue),Tn(h,Y,Ja(te.defaultValue))),te.keepTouched||Ra(s.touchedFields,Y),te.keepDirty||(Ra(s.dirtyFields,Y),s.isDirty=te.defaultValue?ue(Y,Ja(et(h,Y))):ue()),te.keepError||(Ra(s.errors,Y),A.isValid&&F()),z.state.next({...s}))},Gt=(Y,te={})=>{const le=Y?Ja(Y):h,qe=Ja(le),Ue=Gl(Y),ke=Ue?h:qe;if(te.keepDefaultValues||(h=le),!te.keepValues){if(te.keepDirtyValues){const Qe=new Set([...E.mount,...Object.keys(Gm(h,y))]);for(const gt of Array.from(Qe)){const qt=et(s.dirtyFields,gt),ba=et(y,gt),Ma=et(ke,gt);qt&&!na(ba)?Tn(ke,gt,ba):!qt&&!na(Ma)&&be(gt,Ma)}}else{if(NE&&na(Y))for(const Qe of E.mount){const gt=et(d,Qe);if(gt&&gt._f){const qt=Array.isArray(gt._f.refs)?gt._f.refs[0]:gt._f.ref;if(rb(qt)){const ba=qt.closest("form");if(ba){ba.reset();break}}}}if(te.keepFieldsRef)for(const Qe of E.mount)be(Qe,et(ke,Qe));else d={}}y=u.shouldUnregister?te.keepDefaultValues?Ja(h):{}:Ja(ke),z.array.next({values:{...ke}}),z.state.next({values:{...ke}})}E={mount:te.keepDirtyValues?E.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},b.mount=!A.isValid||!!te.keepIsValid||!!te.keepDirtyValues||!u.shouldUnregister&&!Gl(ke),b.watch=!!u.shouldUnregister,b.keepIsValid=!!te.keepIsValid,b.action=!1,te.keepErrors||(s.errors={}),z.state.next({submitCount:te.keepSubmitCount?s.submitCount:0,isDirty:Ue?!1:te.keepDirty?s.isDirty:!!(te.keepDefaultValues&&!ic(Y,h)),isSubmitted:te.keepIsSubmitted?s.isSubmitted:!1,dirtyFields:Ue?{}:te.keepDirtyValues?te.keepDefaultValues&&y?Gm(h,y):s.dirtyFields:te.keepDefaultValues&&Y?Gm(h,Y):te.keepDirty?s.dirtyFields:{},touchedFields:te.keepTouched?s.touchedFields:{},errors:te.keepErrors?s.errors:{},isSubmitSuccessful:te.keepIsSubmitSuccessful?s.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:h})},va=(Y,te)=>Gt(co(Y)?Y(y):Y,{...u.resetOptions,...te}),po=(Y,te={})=>{const le=et(d,Y),qe=le&&le._f;if(qe){const Ue=qe.refs?qe.refs[0]:qe.ref;Ue.focus&&setTimeout(()=>{Ue.focus(),te.shouldSelect&&co(Ue.select)&&Ue.select()})}},Zu=Y=>{s={...s,...Y}},kr={control:{register:Me,unregister:Ze,getFieldState:W,handleSubmit:An,setError:Re,_subscribe:Ne,_runSchema:Le,_updateIsValidating:fe,_focusError:he,_getWatch:ye,_getDirty:ue,_setValid:F,_setFieldArray:ge,_setDisabledField:ct,_setErrors:pe,_getFieldArray:ze,_reset:Gt,_resetDefaultValues:()=>co(u.defaultValues)&&u.defaultValues().then(Y=>{va(Y,u.resetOptions),z.state.next({isLoading:!1})}),_removeUnmounted:M,_disableForm:zn,_subjects:z,_proxyFormState:A,get _fields(){return d},get _formValues(){return y},get _state(){return b},set _state(Y){b=Y},get _defaultValues(){return h},get _names(){return E},set _names(Y){E=Y},get _formState(){return s},get _options(){return u},set _options(Y){u={...u,...Y}}},subscribe:Je,trigger:_,register:Me,handleSubmit:An,watch:je,setValue:be,getValues:H,reset:va,resetField:wa,clearErrors:ee,unregister:Ze,setError:Re,setFocus:po,getFieldState:W};return{...kr,formControl:kr}}function UR(r={}){const u=Da.useRef(void 0),s=Da.useRef(void 0),[d,h]=Da.useState({isDirty:!1,isValidating:!1,isLoading:co(r.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1,isReady:!1,defaultValues:co(r.defaultValues)?void 0:r.defaultValues});if(!u.current)if(r.formControl)u.current={...r.formControl,formState:d},r.defaultValues&&!co(r.defaultValues)&&r.formControl.reset(r.defaultValues,r.resetOptions);else{const{formControl:b,...E}=jR(r);u.current={...E,formState:d}}const y=u.current.control;return y._options=r,vR(()=>{const b=y._subscribe({formState:y._proxyFormState,callback:()=>h({...y._formState}),reRenderRoot:!0});return h(E=>({...E,isReady:!0})),y._formState.isReady=!0,b},[y]),Da.useEffect(()=>y._disableForm(r.disabled),[y,r.disabled]),Da.useEffect(()=>{r.mode&&(y._options.mode=r.mode),r.reValidateMode&&(y._options.reValidateMode=r.reValidateMode)},[y,r.mode,r.reValidateMode]),Da.useEffect(()=>{r.errors&&(y._setErrors(r.errors),y._focusError())},[y,r.errors]),Da.useEffect(()=>{r.shouldUnregister&&y._subjects.state.next({values:y._getWatch()})},[y,r.shouldUnregister]),Da.useEffect(()=>{if(y._proxyFormState.isDirty){const b=y._getDirty();b!==d.isDirty&&y._subjects.state.next({isDirty:b})}},[y,d.isDirty]),Da.useEffect(()=>{var b;r.values&&!ic(r.values,s.current)?(y._reset(r.values,{keepFieldsRef:!0,...y._options.resetOptions}),!((b=y._options.resetOptions)===null||b===void 0)&&b.keepIsValid||y._setValid(),s.current=r.values,h(E=>({...E}))):y._resetDefaultValues()},[y,r.values]),Da.useEffect(()=>{y._state.mount||(y._setValid(),y._state.mount=!0),y._state.watch&&(y._state.watch=!1,y._subjects.state.next({...y._formState})),y._removeUnmounted()}),u.current.formState=Da.useMemo(()=>gR(d,y),[y,d]),u.current}const oT=(r,u,s)=>{if(r&&"reportValidity"in r){const d=et(s,u);r.setCustomValidity(d&&d.message||""),r.reportValidity()}},VE=(r,u)=>{for(const s in u.fields){const d=u.fields[s];d&&d.ref&&"reportValidity"in d.ref?oT(d.ref,s,r):d&&d.refs&&d.refs.forEach(h=>oT(h,s,r))}},uT=(r,u)=>{u.shouldUseNativeValidation&&VE(r,u);const s={};for(const d in r){const h=et(u.fields,d),y=Object.assign(r[d]||{},{ref:h&&h.ref});if(VR(u.names||Object.keys(r),d)){const b=Object.assign({},et(s,d));Tn(b,"root",y),Tn(s,d,b)}else Tn(s,d,y)}return s},VR=(r,u)=>{const s=sT(u);return r.some(d=>sT(d).match(`^${s}\\.\\d+`))};function sT(r){return r.replace(/\]|\[/g,"")}function cT(r,u,s){function d(E,N){var C;Object.defineProperty(E,"_zod",{value:E._zod??{},enumerable:!1}),(C=E._zod).traits??(C.traits=new Set),E._zod.traits.add(r),u(E,N);for(const U in b.prototype)U in E||Object.defineProperty(E,U,{value:b.prototype[U].bind(E)});E._zod.constr=b,E._zod.def=N}const h=(s==null?void 0:s.Parent)??Object;class y extends h{}Object.defineProperty(y,"name",{value:r});function b(E){var N;const C=s!=null&&s.Parent?new y:this;d(C,E),(N=C._zod).deferred??(N.deferred=[]);for(const U of C._zod.deferred)U();return C}return Object.defineProperty(b,"init",{value:d}),Object.defineProperty(b,Symbol.hasInstance,{value:E=>{var N,C;return s!=null&&s.Parent&&E instanceof s.Parent?!0:(C=(N=E==null?void 0:E._zod)==null?void 0:N.traits)==null?void 0:C.has(r)}}),Object.defineProperty(b,"name",{value:r}),b}class BR extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const kR={};function fT(r){return kR}function HR(r,u){return typeof u=="bigint"?u.toString():u}const dT=Error.captureStackTrace?Error.captureStackTrace:(...r)=>{};function ob(r){return typeof r=="string"?r:r==null?void 0:r.message}function mT(r,u,s){var h,y,b,E,N,C;const d={...r,path:r.path??[]};if(!r.message){const U=ob((b=(y=(h=r.inst)==null?void 0:h._zod.def)==null?void 0:y.error)==null?void 0:b.call(y,r))??ob((E=u==null?void 0:u.error)==null?void 0:E.call(u,r))??ob((N=s.customError)==null?void 0:N.call(s,r))??ob((C=s.localeError)==null?void 0:C.call(s,r))??"Invalid input";d.message=U}return delete d.inst,delete d.continue,u!=null&&u.reportInput||delete d.input,d}const hT=(r,u)=>{r.name="$ZodError",Object.defineProperty(r,"_zod",{value:r._zod,enumerable:!1}),Object.defineProperty(r,"issues",{value:u,enumerable:!1}),Object.defineProperty(r,"message",{get(){return JSON.stringify(u,HR,2)},enumerable:!0}),Object.defineProperty(r,"toString",{value:()=>r.message,enumerable:!1})},LR=cT("$ZodError",hT),pT=cT("$ZodError",hT,{Parent:Error}),qR=(r=>(u,s,d,h)=>{const y=d?Object.assign(d,{async:!1}):{async:!1},b=u._zod.run({value:s,issues:[]},y);if(b instanceof Promise)throw new BR;if(b.issues.length){const E=new((h==null?void 0:h.Err)??r)(b.issues.map(N=>mT(N,y,fT())));throw dT(E,h==null?void 0:h.callee),E}return b.value})(pT),YR=(r=>async(u,s,d,h)=>{const y=d?Object.assign(d,{async:!0}):{async:!0};let b=u._zod.run({value:s,issues:[]},y);if(b instanceof Promise&&(b=await b),b.issues.length){const E=new((h==null?void 0:h.Err)??r)(b.issues.map(N=>mT(N,y,fT())));throw dT(E,h==null?void 0:h.callee),E}return b.value})(pT);function yT(r,u){try{var s=r()}catch(d){return u(d)}return s&&s.then?s.then(void 0,u):s}function GR(r,u){for(var s={};r.length;){var d=r[0],h=d.code,y=d.message,b=d.path.join(".");if(!s[b])if("unionErrors"in d){var E=d.unionErrors[0].errors[0];s[b]={message:E.message,type:E.code}}else s[b]={message:y,type:h};if("unionErrors"in d&&d.unionErrors.forEach(function(U){return U.errors.forEach(function(A){return r.push(A)})}),u){var N=s[b].types,C=N&&N[d.code];s[b]=wE(b,u,s,h,C?[].concat(C,d.message):d.message)}r.shift()}return s}function $R(r,u){for(var s={};r.length;){var d=r[0],h=d.code,y=d.message,b=d.path.join(".");if(!s[b])if(d.code==="invalid_union"&&d.errors.length>0){var E=d.errors[0][0];s[b]={message:E.message,type:E.code}}else s[b]={message:y,type:h};if(d.code==="invalid_union"&&d.errors.forEach(function(U){return U.forEach(function(A){return r.push(A)})}),u){var N=s[b].types,C=N&&N[d.code];s[b]=wE(b,u,s,h,C?[].concat(C,d.message):d.message)}r.shift()}return s}function ZR(r,u,s){if(s===void 0&&(s={}),(function(d){return"_def"in d&&typeof d._def=="object"&&"typeName"in d._def})(r))return function(d,h,y){try{return Promise.resolve(yT(function(){return Promise.resolve(r[s.mode==="sync"?"parse":"parseAsync"](d,u)).then(function(b){return y.shouldUseNativeValidation&&VE({},y),{errors:{},values:s.raw?Object.assign({},d):b}})},function(b){if((function(E){return Array.isArray(E==null?void 0:E.issues)})(b))return{values:{},errors:uT(GR(b.errors,!y.shouldUseNativeValidation&&y.criteriaMode==="all"),y)};throw b}))}catch(b){return Promise.reject(b)}};if((function(d){return"_zod"in d&&typeof d._zod=="object"})(r))return function(d,h,y){try{return Promise.resolve(yT(function(){return Promise.resolve((s.mode==="sync"?qR:YR)(r,d,u)).then(function(b){return y.shouldUseNativeValidation&&VE({},y),{errors:{},values:s.raw?Object.assign({},d):b}})},function(b){if((function(E){return E instanceof LR})(b))return{values:{},errors:uT($R(b.issues,!y.shouldUseNativeValidation&&y.criteriaMode==="all"),y)};throw b}))}catch(b){return Promise.reject(b)}};throw new Error("Invalid input: not a Zod schema")}/**
53
+ */var xm;function dv(){return xm||(xm=1,(function(r){(function(){var n={}.hasOwnProperty;function l(){for(var f="",d=0;d<arguments.length;d++){var h=arguments[d];h&&(f=o(f,s(h)))}return f}function s(f){if(typeof f=="string"||typeof f=="number")return f;if(typeof f!="object")return"";if(Array.isArray(f))return l.apply(null,f);if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]"))return f.toString();var d="";for(var h in f)n.call(f,h)&&f[h]&&(d=o(d,h));return d}function o(f,d){return d?f?f+" "+d:f+d:f}r.exports?(l.default=l,r.exports=l):window.classNames=l})()})(wu)),wu.exports}var mv=dv();const st=tn(mv);function Wa(r){return v.jsxDEV("button",{...r,className:st("w-3xs cursor-pointer h-10 rounded-lg text-white text-sm font-semibold transition-colors",r.className),style:{...r.style},children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Button/index.tsx",lineNumber:10,columnNumber:5},this)}const Nm=r=>{let n;const l=new Set,s=(p,x)=>{const N=typeof p=="function"?p(n):p;if(!Object.is(N,n)){const C=n;n=x??(typeof N!="object"||N===null)?N:Object.assign({},n,N),l.forEach(S=>S(n,C))}},o=()=>n,h={setState:s,getState:o,getInitialState:()=>y,subscribe:p=>(l.add(p),()=>l.delete(p))},y=n=r(s,o,h);return h},Du=(r=>r?Nm(r):Nm);var ge=yu();const Nt=tn(ge),Sm=Ia({__proto__:null,default:Nt},[ge]),hv=r=>r;function Au(r,n=hv){const l=Nt.useSyncExternalStore(r.subscribe,Nt.useCallback(()=>n(r.getState()),[r,n]),Nt.useCallback(()=>n(r.getInitialState()),[r,n]));return Nt.useDebugValue(l),l}const _m=r=>{const n=Du(r),l=s=>Au(n,s);return Object.assign(l,n),l},Tu=(r=>r?_m(r):_m),pv={securityNumber:"",requestId:"",cardID:"",state:"isEmpty",availableDiscountSelected:{quantity:0,discount:{unit:0,total:0},totalPrice:0,grossPrice:0},benefitsEnabled:!0,benefitsList:null,targetProduct:null,campaign:"pbm_campaign",isAuthenticatedShopper:!1,customLoginUrl:"/login"},Cm=Du(r=>({...pv,setSecurityNumber:n=>r({securityNumber:n}),setRequestId:n=>r({requestId:n}),setState:n=>r({state:n}),setTargetProduct:n=>r({targetProduct:n}),setAvailableDiscountSelected:n=>r({availableDiscountSelected:n}),setUrlAcceptTerms:n=>r({urlAcceptTerms:n}),setUrlRegisterIndustry:n=>r({urlRegisterIndustry:n}),setIsAuthenticatedShopper:n=>r({isAuthenticatedShopper:n}),setCustomLoginUrl:n=>r({customLoginUrl:n}),setCardID:n=>r({cardID:n}),setBenefitsEnabled:n=>r({benefitsEnabled:n}),setBenefitsList:n=>r({benefitsList:n})})),gv=()=>({getState:()=>{const r=Cm.getState(),{setSecurityNumber:n,setState:l,setAvailableDiscountSelected:s,setTargetProduct:o,setUrlAcceptTerms:f,setUrlRegisterIndustry:d,setIsAuthenticatedShopper:h,setCustomLoginUrl:y,setCardID:p,setBenefitsEnabled:x,setBenefitsList:N,setRequestId:C,requestId:S,benefitsEnabled:k,benefitsList:w,...q}=r;if(!r.targetProduct)return{...q,targetProduct:null};const{requestedQuantity:te,discountMaxNewPatient:Q,allowsAdhesion:le,comboId:I,discountValueIndustry:B,authorizer:K,grossPrice:ne,industryCompanyCode:de,pointing:we,productLink:Ue,requestCoupon:_e,requestHolderId:b,suggestedPrice:F,suggestedPriceValue:X,status:se,returnCode:Z,...H}=r.targetProduct;return{...q,targetProduct:H}}});function Jt(r){return Au(Cm,(n=>n))}var Yi=r=>r.type==="checkbox",rn=r=>r instanceof Date,It=r=>r==null;const Em=r=>typeof r=="object";var gt=r=>!It(r)&&!Array.isArray(r)&&Em(r)&&!rn(r),yv=r=>gt(r)&&r.target?Yi(r.target)?r.target.checked:r.target.value:r,wm=r=>r.substring(0,r.search(/\.\d+(\.|$)/))||r,bv=(r,n)=>r.has(wm(n)),vv=r=>{const n=r.constructor&&r.constructor.prototype;return gt(n)&&n.hasOwnProperty("isPrototypeOf")},Ou=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function At(r){if(r instanceof Date)return new Date(r);const n=typeof FileList<"u"&&r instanceof FileList;if(Ou&&(r instanceof Blob||n))return r;const l=Array.isArray(r);if(!l&&!(gt(r)&&vv(r)))return r;const s=l?[]:Object.create(Object.getPrototypeOf(r));for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&(s[o]=At(r[o]));return s}var fs=r=>/^\w*$/.test(r),ft=r=>r===void 0,Ru=r=>Array.isArray(r)?r.filter(Boolean):[],Mu=r=>Ru(r.replace(/["|']|\]/g,"").split(/\.|\[/)),oe=(r,n,l)=>{if(!n||!gt(r))return l;const s=(fs(n)?[n]:Mu(n)).reduce((o,f)=>It(o)?o:o[f],r);return ft(s)||s===r?ft(r[n])?l:r[n]:s},Ha=r=>typeof r=="boolean",za=r=>typeof r=="function",Pe=(r,n,l)=>{let s=-1;const o=fs(n)?[n]:Mu(n),f=o.length,d=f-1;for(;++s<f;){const h=o[s];let y=l;if(s!==d){const p=r[h];y=gt(p)||Array.isArray(p)?p:isNaN(+o[s+1])?{}:[]}if(h==="__proto__"||h==="constructor"||h==="prototype")return;r[h]=y,r=r[h]}};const Bn={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},ka={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ja={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},zu="form",Dm="root",xv=Nt.createContext(null);xv.displayName="HookFormControlContext";var Nv=(r,n,l,s=!0)=>{const o={defaultValues:n._defaultValues};for(const f in r)Object.defineProperty(o,f,{get:()=>{const d=f;return n._proxyFormState[d]!==ka.all&&(n._proxyFormState[d]=!s||ka.all),r[d]}});return o};const Sv=typeof window<"u"?Nt.useLayoutEffect:Nt.useEffect;var Ft=r=>typeof r=="string",_v=(r,n,l,s,o)=>Ft(r)?(s&&n.watch.add(r),oe(l,r,o)):Array.isArray(r)?r.map(f=>(s&&n.watch.add(f),oe(l,f))):(s&&(n.watchAll=!0),l),ku=r=>It(r)||!Em(r);function Ar(r,n,l=new WeakSet){if(ku(r)||ku(n))return Object.is(r,n);if(rn(r)&&rn(n))return Object.is(r.getTime(),n.getTime());const s=Object.keys(r),o=Object.keys(n);if(s.length!==o.length)return!1;if(l.has(r)||l.has(n))return!0;l.add(r),l.add(n);for(const f of s){const d=r[f];if(!o.includes(f))return!1;if(f!=="ref"){const h=n[f];if(rn(d)&&rn(h)||gt(d)&&gt(h)||Array.isArray(d)&&Array.isArray(h)?!Ar(d,h,l):!Object.is(d,h))return!1}}return!0}const Cv=Nt.createContext(null);Cv.displayName="HookFormContext";var ju=(r,n,l,s,o)=>n?{...l[r],types:{...l[r]&&l[r].types?l[r].types:{},[s]:o||!0}}:{},$i=r=>Array.isArray(r)?r:[r],Am=()=>{let r=[];return{get observers(){return r},next:o=>{for(const f of r)f.next&&f.next(o)},subscribe:o=>(r.push(o),{unsubscribe:()=>{r=r.filter(f=>f!==o)}}),unsubscribe:()=>{r=[]}}};function Tm(r,n){const l={};for(const s in r)if(r.hasOwnProperty(s)){const o=r[s],f=n[s];if(o&&gt(o)&&f){const d=Tm(o,f);gt(d)&&(l[s]=d)}else r[s]&&(l[s]=f)}return l}var Qt=r=>gt(r)&&!Object.keys(r).length,Vu=r=>r.type==="file",ds=r=>{if(!Ou)return!1;const n=r?r.ownerDocument:0;return r instanceof(n&&n.defaultView?n.defaultView.HTMLElement:HTMLElement)},Om=r=>r.type==="select-multiple",Bu=r=>r.type==="radio",Ev=r=>Bu(r)||Yi(r),Uu=r=>ds(r)&&r.isConnected;function wv(r,n){const l=n.slice(0,-1).length;let s=0;for(;s<l;)r=ft(r)?s++:r[n[s++]];return r}function Dv(r){for(const n in r)if(r.hasOwnProperty(n)&&!ft(r[n]))return!1;return!0}function St(r,n){const l=Array.isArray(n)?n:fs(n)?[n]:Mu(n),s=l.length===1?r:wv(r,l),o=l.length-1,f=l[o];return s&&delete s[f],o!==0&&(gt(s)&&Qt(s)||Array.isArray(s)&&Dv(s))&&St(r,l.slice(0,-1)),r}var Av=r=>{for(const n in r)if(za(r[n]))return!0;return!1};function Rm(r){return Array.isArray(r)||gt(r)&&!Av(r)}function Lu(r,n={}){for(const l in r){const s=r[l];Rm(s)?(n[l]=Array.isArray(s)?[]:{},Lu(s,n[l])):ft(s)||(n[l]=!0)}return n}function Un(r,n,l){l||(l=Lu(n));for(const s in r){const o=r[s];if(Rm(o))ft(n)||ku(l[s])?l[s]=Lu(o,Array.isArray(o)?[]:{}):Un(o,It(n)?{}:n[s],l[s]);else{const f=n[s];l[s]=!Ar(o,f)}}return l}const Mm={value:!1,isValid:!1},zm={value:!0,isValid:!0};var km=r=>{if(Array.isArray(r)){if(r.length>1){const n=r.filter(l=>l&&l.checked&&!l.disabled).map(l=>l.value);return{value:n,isValid:!!n.length}}return r[0].checked&&!r[0].disabled?r[0].attributes&&!ft(r[0].attributes.value)?ft(r[0].value)||r[0].value===""?zm:{value:r[0].value,isValid:!0}:zm:Mm}return Mm},jm=(r,{valueAsNumber:n,valueAsDate:l,setValueAs:s})=>ft(r)?r:n?r===""?NaN:r&&+r:l&&Ft(r)?new Date(r):s?s(r):r;const Vm={isValid:!1,value:null};var Bm=r=>Array.isArray(r)?r.reduce((n,l)=>l&&l.checked&&!l.disabled?{isValid:!0,value:l.value}:n,Vm):Vm;function Um(r){const n=r.ref;return Vu(n)?n.files:Bu(n)?Bm(r.refs).value:Om(n)?[...n.selectedOptions].map(({value:l})=>l):Yi(n)?km(r.refs).value:jm(ft(n.value)?r.ref.value:n.value,r)}var Tv=(r,n,l,s)=>{const o={};for(const f of r){const d=oe(n,f);d&&Pe(o,f,d._f)}return{criteriaMode:l,names:[...r],fields:o,shouldUseNativeValidation:s}},ms=r=>r instanceof RegExp,Fi=r=>ft(r)?r:ms(r)?r.source:gt(r)?ms(r.value)?r.value.source:r.value:r,Lm=r=>({isOnSubmit:!r||r===ka.onSubmit,isOnBlur:r===ka.onBlur,isOnChange:r===ka.onChange,isOnAll:r===ka.all,isOnTouch:r===ka.onTouched});const qm="AsyncFunction";var Ov=r=>!!r&&!!r.validate&&!!(za(r.validate)&&r.validate.constructor.name===qm||gt(r.validate)&&Object.values(r.validate).find(n=>n.constructor.name===qm)),Rv=r=>r.mount&&(r.required||r.min||r.max||r.maxLength||r.minLength||r.pattern||r.validate),Hm=(r,n,l)=>!l&&(n.watchAll||n.watch.has(r)||[...n.watch].some(s=>r.startsWith(s)&&/^\.\w+/.test(r.slice(s.length))));const Qi=(r,n,l,s)=>{for(const o of l||Object.keys(r)){const f=oe(r,o);if(f){const{_f:d,...h}=f;if(d){if(d.refs&&d.refs[0]&&n(d.refs[0],o)&&!s)return!0;if(d.ref&&n(d.ref,d.name)&&!s)return!0;if(Qi(h,n))break}else if(gt(h)&&Qi(h,n))break}}};function Gm(r,n,l){const s=oe(r,l);if(s||fs(l))return{error:s,name:l};const o=l.split(".");for(;o.length;){const f=o.join("."),d=oe(n,f),h=oe(r,f);if(d&&!Array.isArray(d)&&l!==f)return{name:l};if(h&&h.type)return{name:f,error:h};if(h&&h.root&&h.root.type)return{name:`${f}.root`,error:h.root};o.pop()}return{name:l}}var Mv=(r,n,l,s)=>{l(r);const{name:o,...f}=r;return Qt(f)||Object.keys(f).length>=Object.keys(n).length||Object.keys(f).find(d=>n[d]===(!s||ka.all))},zv=(r,n,l)=>!r||!n||r===n||$i(r).some(s=>s&&(l?s===n:s.startsWith(n)||n.startsWith(s))),kv=(r,n,l,s,o)=>o.isOnAll?!1:!l&&o.isOnTouch?!(n||r):(l?s.isOnBlur:o.isOnBlur)?!r:(l?s.isOnChange:o.isOnChange)?r:!0,jv=(r,n)=>!Ru(oe(r,n)).length&&St(r,n),Vv=(r,n,l)=>{const s=$i(oe(r,l));return Pe(s,Dm,n[l]),Pe(r,l,s),r};function Zm(r,n,l="validate"){if(Ft(r)||Array.isArray(r)&&r.every(Ft)||Ha(r)&&!r)return{type:l,message:Ft(r)?r:"",ref:n}}var Ln=r=>gt(r)&&!ms(r)?r:{value:r,message:""},Ym=async(r,n,l,s,o,f)=>{const{ref:d,refs:h,required:y,maxLength:p,minLength:x,min:N,max:C,pattern:S,validate:k,name:w,valueAsNumber:q,mount:te}=r._f,Q=oe(l,w);if(!te||n.has(w))return{};const le=h?h[0]:d,I=b=>{o&&le.reportValidity&&(le.setCustomValidity(Ha(b)?"":b||""),le.reportValidity())},B={},K=Bu(d),ne=Yi(d),de=K||ne,we=(q||Vu(d))&&ft(d.value)&&ft(Q)||ds(d)&&d.value===""||Q===""||Array.isArray(Q)&&!Q.length,Ue=ju.bind(null,w,s,B),_e=(b,F,X,se=ja.maxLength,Z=ja.minLength)=>{const H=b?F:X;B[w]={type:b?se:Z,message:H,ref:d,...Ue(b?se:Z,H)}};if(f?!Array.isArray(Q)||!Q.length:y&&(!de&&(we||It(Q))||Ha(Q)&&!Q||ne&&!km(h).isValid||K&&!Bm(h).isValid)){const{value:b,message:F}=Ft(y)?{value:!!y,message:y}:Ln(y);if(b&&(B[w]={type:ja.required,message:F,ref:le,...Ue(ja.required,F)},!s))return I(F),B}if(!we&&(!It(N)||!It(C))){let b,F;const X=Ln(C),se=Ln(N);if(!It(Q)&&!isNaN(Q)){const Z=d.valueAsNumber||Q&&+Q;It(X.value)||(b=Z>X.value),It(se.value)||(F=Z<se.value)}else{const Z=d.valueAsDate||new Date(Q),H=Qe=>new Date(new Date().toDateString()+" "+Qe),J=d.type=="time",De=d.type=="week";Ft(X.value)&&Q&&(b=J?H(Q)>H(X.value):De?Q>X.value:Z>new Date(X.value)),Ft(se.value)&&Q&&(F=J?H(Q)<H(se.value):De?Q<se.value:Z<new Date(se.value))}if((b||F)&&(_e(!!b,X.message,se.message,ja.max,ja.min),!s))return I(B[w].message),B}if((p||x)&&!we&&(Ft(Q)||f&&Array.isArray(Q))){const b=Ln(p),F=Ln(x),X=!It(b.value)&&Q.length>+b.value,se=!It(F.value)&&Q.length<+F.value;if((X||se)&&(_e(X,b.message,F.message),!s))return I(B[w].message),B}if(S&&!we&&Ft(Q)){const{value:b,message:F}=Ln(S);if(ms(b)&&!Q.match(b)&&(B[w]={type:ja.pattern,message:F,ref:d,...Ue(ja.pattern,F)},!s))return I(F),B}if(k){if(za(k)){const b=await k(Q,l),F=Zm(b,le);if(F&&(B[w]={...F,...Ue(ja.validate,F.message)},!s))return I(F.message),B}else if(gt(k)){let b={};for(const F in k){if(!Qt(b)&&!s)break;const X=Zm(await k[F](Q,l),le,F);X&&(b={...X,...Ue(F,X.message)},I(X.message),s&&(B[w]=b))}if(!Qt(b)&&(B[w]={ref:le,...b},!s))return B}}return I(!0),B};const Bv={mode:ka.onSubmit,reValidateMode:ka.onChange,shouldFocusError:!0};function Uv(r={}){let n={...Bv,...r},l={submitCount:0,isDirty:!1,isReady:!1,isLoading:za(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},s={},o=gt(n.defaultValues)||gt(n.values)?At(n.defaultValues||n.values)||{}:{},f=n.shouldUnregister?{}:At(o),d={action:!1,mount:!1,watch:!1,keepIsValid:!1},h={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},y,p=0;const x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},N={...x};let C={...N};const S={array:Am(),state:Am()},k=n.criteriaMode===ka.all,w=E=>O=>{clearTimeout(p),p=setTimeout(E,O)},q=async E=>{if(!d.keepIsValid&&!n.disabled&&(N.isValid||C.isValid||E)){let O;n.resolver?(O=Qt((await de()).errors),te()):O=await _e({fields:s,onlyCheckValid:!0,eventType:Bn.VALID}),O!==l.isValid&&S.state.next({isValid:O})}},te=(E,O)=>{!n.disabled&&(N.isValidating||N.validatingFields||C.isValidating||C.validatingFields)&&((E||Array.from(h.mount)).forEach(j=>{j&&(O?Pe(l.validatingFields,j,O):St(l.validatingFields,j))}),S.state.next({validatingFields:l.validatingFields,isValidating:!Qt(l.validatingFields)}))},Q=(E,O=[],j,W,ee=!0,ae=!0)=>{if(W&&j&&!n.disabled){if(d.action=!0,ae&&Array.isArray(oe(s,E))){const me=j(oe(s,E),W.argA,W.argB);ee&&Pe(s,E,me)}if(ae&&Array.isArray(oe(l.errors,E))){const me=j(oe(l.errors,E),W.argA,W.argB);ee&&Pe(l.errors,E,me),jv(l.errors,E)}if((N.touchedFields||C.touchedFields)&&ae&&Array.isArray(oe(l.touchedFields,E))){const me=j(oe(l.touchedFields,E),W.argA,W.argB);ee&&Pe(l.touchedFields,E,me)}if(N.dirtyFields||C.dirtyFields){const me=Un(o,f),ve=wm(E);Pe(l.dirtyFields,ve,oe(me,ve))}S.state.next({name:E,isDirty:F(E,O),dirtyFields:l.dirtyFields,errors:l.errors,isValid:l.isValid})}else Pe(f,E,O)},le=(E,O)=>{Pe(l.errors,E,O),S.state.next({errors:l.errors})},I=E=>{l.errors=E,S.state.next({errors:l.errors,isValid:!1})},B=(E,O,j,W)=>{const ee=oe(s,E);if(ee){const ae=oe(f,E,ft(j)?oe(o,E):j);ft(ae)||W&&W.defaultChecked||O?Pe(f,E,O?ae:Um(ee._f)):Z(E,ae),d.mount&&!d.action&&q()}},K=(E,O,j,W,ee)=>{let ae=!1,me=!1;const ve={name:E};if(!n.disabled){if(!j||W){(N.isDirty||C.isDirty)&&(me=l.isDirty,l.isDirty=ve.isDirty=F(),ae=me!==ve.isDirty);const Ye=Ar(oe(o,E),O);me=!!oe(l.dirtyFields,E),Ye?St(l.dirtyFields,E):Pe(l.dirtyFields,E,!0),ve.dirtyFields=l.dirtyFields,ae=ae||(N.dirtyFields||C.dirtyFields)&&me!==!Ye}if(j){const Ye=oe(l.touchedFields,E);Ye||(Pe(l.touchedFields,E,j),ve.touchedFields=l.touchedFields,ae=ae||(N.touchedFields||C.touchedFields)&&Ye!==j)}ae&&ee&&S.state.next(ve)}return ae?ve:{}},ne=(E,O,j,W)=>{const ee=oe(l.errors,E),ae=(N.isValid||C.isValid)&&Ha(O)&&l.isValid!==O;if(n.delayError&&j?(y=w(()=>le(E,j)),y(n.delayError)):(clearTimeout(p),y=null,j?Pe(l.errors,E,j):St(l.errors,E)),(j?!Ar(ee,j):ee)||!Qt(W)||ae){const me={...W,...ae&&Ha(O)?{isValid:O}:{},errors:l.errors,name:E};l={...l,...me},S.state.next(me)}},de=async E=>(te(E,!0),await n.resolver(f,n.context,Tv(E||h.mount,s,n.criteriaMode,n.shouldUseNativeValidation))),we=async E=>{const{errors:O}=await de(E);if(te(E),E)for(const j of E){const W=oe(O,j);W?Pe(l.errors,j,W):St(l.errors,j)}else l.errors=O;return O},Ue=async({name:E,eventType:O})=>{if(r.validate){const j=await r.validate({formValues:f,formState:l,name:E,eventType:O});if(gt(j))for(const W in j)j[W]&&ce(`${zu}.${W}`,{message:Ft(j.message)?j.message:"",type:ja.validate});else Ft(j)||!j?ce(zu,{message:j||"",type:ja.validate}):re(zu);return j}return!0},_e=async({fields:E,onlyCheckValid:O,name:j,eventType:W,context:ee={valid:!0,runRootValidation:!1}})=>{if(r.validate&&(ee.runRootValidation=!0,!await Ue({name:j,eventType:W})&&(ee.valid=!1,O)))return ee.valid;for(const ae in E){const me=E[ae];if(me){const{_f:ve,...Ye}=me;if(ve){const Yt=h.array.has(ve.name),Na=me._f&&Ov(me._f);Na&&N.validatingFields&&te([ve.name],!0);const $t=await Ym(me,h.disabled,f,k,n.shouldUseNativeValidation&&!O,Yt);if(Na&&N.validatingFields&&te([ve.name]),$t[ve.name]&&(ee.valid=!1,O)||(!O&&(oe($t,ve.name)?Yt?Vv(l.errors,$t,ve.name):Pe(l.errors,ve.name,$t[ve.name]):St(l.errors,ve.name)),r.shouldUseNativeValidation&&$t[ve.name]))break}!Qt(Ye)&&await _e({context:ee,onlyCheckValid:O,fields:Ye,name:ae,eventType:W})}}return ee.valid},b=()=>{for(const E of h.unMount){const O=oe(s,E);O&&(O._f.refs?O._f.refs.every(j=>!Uu(j)):!Uu(O._f.ref))&&Tt(E)}h.unMount=new Set},F=(E,O)=>!n.disabled&&(E&&O&&Pe(f,E,O),!Ar(A(),o)),X=(E,O,j)=>_v(E,h,{...d.mount?f:ft(O)?o:Ft(E)?{[E]:O}:O},j,O),se=E=>Ru(oe(d.mount?f:o,E,n.shouldUnregister?oe(o,E,[]):[])),Z=(E,O,j={})=>{const W=oe(s,E);let ee=O;if(W){const ae=W._f;ae&&(!ae.disabled&&Pe(f,E,jm(O,ae)),ee=ds(ae.ref)&&It(O)?"":O,Om(ae.ref)?[...ae.ref.options].forEach(me=>me.selected=ee.includes(me.value)):ae.refs?Yi(ae.ref)?ae.refs.forEach(me=>{(!me.defaultChecked||!me.disabled)&&(Array.isArray(ee)?me.checked=!!ee.find(ve=>ve===me.value):me.checked=ee===me.value||!!ee)}):ae.refs.forEach(me=>me.checked=me.value===ee):Vu(ae.ref)?ae.ref.value="":(ae.ref.value=ee,ae.ref.type||S.state.next({name:E,values:At(f)})))}(j.shouldDirty||j.shouldTouch)&&K(E,ee,j.shouldTouch,j.shouldDirty,!0),j.shouldValidate&&kt(E)},H=(E,O,j)=>{for(const W in O){if(!O.hasOwnProperty(W))return;const ee=O[W],ae=E+"."+W,me=oe(s,ae);(h.array.has(E)||gt(ee)||me&&!me._f)&&!rn(ee)?H(ae,ee,j):Z(ae,ee,j)}},J=(E,O,j={})=>{const W=oe(s,E),ee=h.array.has(E),ae=At(O);Pe(f,E,ae),ee?(S.array.next({name:E,values:At(f)}),(N.isDirty||N.dirtyFields||C.isDirty||C.dirtyFields)&&j.shouldDirty&&S.state.next({name:E,dirtyFields:Un(o,f),isDirty:F(E,ae)})):W&&!W._f&&!It(ae)?H(E,ae,j):Z(E,ae,j),Hm(E,h)?S.state.next({...l,name:E,values:At(f)}):S.state.next({name:d.mount?E:void 0,values:At(f)})},De=async E=>{d.mount=!0;const O=E.target;let j=O.name,W=!0;const ee=oe(s,j),ae=Ye=>{W=Number.isNaN(Ye)||rn(Ye)&&isNaN(Ye.getTime())||Ar(Ye,oe(f,j,Ye))},me=Lm(n.mode),ve=Lm(n.reValidateMode);if(ee){let Ye,Yt;const Na=O.type?Um(ee._f):yv(E),$t=E.type===Bn.BLUR||E.type===Bn.FOCUS_OUT,mn=!Rv(ee._f)&&!r.validate&&!n.resolver&&!oe(l.errors,j)&&!ee._f.deps||kv($t,oe(l.touchedFields,j),l.isSubmitted,ve,me),jt=Hm(j,h,$t);Pe(f,j,Na),$t?(!O||!O.readOnly)&&(ee._f.onBlur&&ee._f.onBlur(E),y&&y(0)):ee._f.onChange&&ee._f.onChange(E);const Sa=K(j,Na,$t),Xt=!Qt(Sa)||jt;if(!$t&&S.state.next({name:j,type:E.type,values:At(f)}),mn)return(N.isValid||C.isValid)&&(n.mode==="onBlur"?$t&&q():$t||q()),Xt&&S.state.next({name:j,...jt?{}:Sa});if(!n.resolver&&r.validate&&await Ue({name:j,eventType:E.type}),!$t&&jt&&S.state.next({...l}),n.resolver){const{errors:Qs}=await de([j]);if(te([j]),ae(Na),W){const Tc=Gm(l.errors,s,j),Xs=Gm(Qs,s,Tc.name||j);Ye=Xs.error,j=Xs.name,Yt=Qt(Qs)}}else te([j],!0),Ye=(await Ym(ee,h.disabled,f,k,n.shouldUseNativeValidation))[j],te([j]),ae(Na),W&&(Ye?Yt=!1:(N.isValid||C.isValid)&&(Yt=await _e({fields:s,onlyCheckValid:!0,name:j,eventType:E.type})));W&&(ee._f.deps&&(!Array.isArray(ee._f.deps)||ee._f.deps.length>0)&&kt(ee._f.deps),ne(j,Yt,Ye,Sa))}},Qe=(E,O)=>{if(oe(l.errors,O)&&E.focus)return E.focus(),1},kt=async(E,O={})=>{let j,W;const ee=$i(E);if(n.resolver){const ae=await we(ft(E)?E:ee);j=Qt(ae),W=E?!ee.some(me=>oe(ae,me)):j}else E?(W=(await Promise.all(ee.map(async ae=>{const me=oe(s,ae);return await _e({fields:me&&me._f?{[ae]:me}:me,eventType:Bn.TRIGGER})}))).every(Boolean),!(!W&&!l.isValid)&&q()):W=j=await _e({fields:s,name:E,eventType:Bn.TRIGGER});return S.state.next({...!Ft(E)||(N.isValid||C.isValid)&&j!==l.isValid?{}:{name:E},...n.resolver||!E?{isValid:j}:{},errors:l.errors}),O.shouldFocus&&!W&&Qi(s,Qe,E?ee:h.mount),W},A=(E,O)=>{let j={...d.mount?f:o};return O&&(j=Tm(O.dirtyFields?l.dirtyFields:l.touchedFields,j)),ft(E)?j:Ft(E)?oe(j,E):E.map(W=>oe(j,W))},$=(E,O)=>({invalid:!!oe((O||l).errors,E),isDirty:!!oe((O||l).dirtyFields,E),error:oe((O||l).errors,E),isValidating:!!oe(l.validatingFields,E),isTouched:!!oe((O||l).touchedFields,E)}),re=E=>{const O=E?$i(E):void 0;O==null||O.forEach(j=>St(l.errors,j)),O?O.forEach(j=>{S.state.next({name:j,errors:l.errors})}):S.state.next({errors:{}})},ce=(E,O,j)=>{const W=(oe(s,E,{_f:{}})._f||{}).ref,ee=oe(l.errors,E)||{},{ref:ae,message:me,type:ve,...Ye}=ee;Pe(l.errors,E,{...Ye,...O,ref:W}),S.state.next({name:E,errors:l.errors,isValid:!1}),j&&j.shouldFocus&&W&&W.focus&&W.focus()},Te=(E,O)=>za(E)?S.state.subscribe({next:j=>"values"in j&&E(X(void 0,O),j)}):X(E,O,!0),Ae=E=>S.state.subscribe({next:O=>{zv(E.name,O.name,E.exact)&&Mv(O,E.formState||N,$s,E.reRenderRoot)&&E.callback({values:{...f},...l,...O,defaultValues:o})}}).unsubscribe,Le=E=>(d.mount=!0,C={...C,...E.formState},Ae({...E,formState:{...x,...E.formState}})),Tt=(E,O={})=>{for(const j of E?$i(E):h.mount)h.mount.delete(j),h.array.delete(j),O.keepValue||(St(s,j),St(f,j)),!O.keepError&&St(l.errors,j),!O.keepDirty&&St(l.dirtyFields,j),!O.keepTouched&&St(l.touchedFields,j),!O.keepIsValidating&&St(l.validatingFields,j),!n.shouldUnregister&&!O.keepDefaultValue&&St(o,j);S.state.next({values:At(f)}),S.state.next({...l,...O.keepDirty?{isDirty:F()}:{}}),!O.keepIsValid&&q()},ut=({disabled:E,name:O})=>{if(Ha(E)&&d.mount||E||h.disabled.has(O)){const ee=h.disabled.has(O)!==!!E;E?h.disabled.add(O):h.disabled.delete(O),ee&&d.mount&&!d.action&&q()}},rr=(E,O={})=>{let j=oe(s,E);const W=Ha(O.disabled)||Ha(n.disabled);return Pe(s,E,{...j||{},_f:{...j&&j._f?j._f:{ref:{name:E}},name:E,mount:!0,...O}}),h.mount.add(E),j?ut({disabled:Ha(O.disabled)?O.disabled:n.disabled,name:E}):B(E,!0,O.value),{...W?{disabled:O.disabled||n.disabled}:{},...n.progressive?{required:!!O.required,min:Fi(O.min),max:Fi(O.max),minLength:Fi(O.minLength),maxLength:Fi(O.maxLength),pattern:Fi(O.pattern)}:{},name:E,onChange:De,onBlur:De,ref:ee=>{if(ee){rr(E,O),j=oe(s,E);const ae=ft(ee.value)&&ee.querySelectorAll&&ee.querySelectorAll("input,select,textarea")[0]||ee,me=Ev(ae),ve=j._f.refs||[];if(me?ve.find(Ye=>Ye===ae):ae===j._f.ref)return;Pe(s,E,{_f:{...j._f,...me?{refs:[...ve.filter(Uu),ae,...Array.isArray(oe(o,E))?[{}]:[]],ref:{type:ae.type,name:E}}:{ref:ae}}}),B(E,!1,void 0,ae)}else j=oe(s,E,{}),j._f&&(j._f.mount=!1),(n.shouldUnregister||O.shouldUnregister)&&!(bv(h.array,E)&&d.action)&&h.unMount.add(E)}}},Or=()=>n.shouldFocusError&&Qi(s,Qe,h.mount),dl=E=>{Ha(E)&&(S.state.next({disabled:E}),Qi(s,(O,j)=>{const W=oe(s,j);W&&(O.disabled=W._f.disabled||E,Array.isArray(W._f.refs)&&W._f.refs.forEach(ee=>{ee.disabled=W._f.disabled||E}))},0,!1))},ml=(E,O)=>async j=>{let W;j&&(j.preventDefault&&j.preventDefault(),j.persist&&j.persist());let ee=At(f);if(S.state.next({isSubmitting:!0}),n.resolver){const{errors:ae,values:me}=await de();te(),l.errors=ae,ee=At(me)}else await _e({fields:s,eventType:Bn.SUBMIT});if(h.disabled.size)for(const ae of h.disabled)St(ee,ae);if(St(l.errors,Dm),Qt(l.errors)){S.state.next({errors:{}});try{await E(ee,j)}catch(ae){W=ae}}else O&&await O({...l.errors},j),Or(),setTimeout(Or);if(S.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Qt(l.errors)&&!W,submitCount:l.submitCount+1,errors:l.errors}),W)throw W},nr=(E,O={})=>{oe(s,E)&&(ft(O.defaultValue)?J(E,At(oe(o,E))):(J(E,O.defaultValue),Pe(o,E,At(O.defaultValue))),O.keepTouched||St(l.touchedFields,E),O.keepDirty||(St(l.dirtyFields,E),l.isDirty=O.defaultValue?F(E,At(oe(o,E))):F()),O.keepError||(St(l.errors,E),N.isValid&&q()),S.state.next({...l}))},In=(E,O={})=>{const j=E?At(E):o,W=At(j),ee=Qt(E),ae=ee?o:W;if(O.keepDefaultValues||(o=j),!O.keepValues){if(O.keepDirtyValues){const me=new Set([...h.mount,...Object.keys(Un(o,f))]);for(const ve of Array.from(me)){const Ye=oe(l.dirtyFields,ve),Yt=oe(f,ve),Na=oe(ae,ve);Ye&&!ft(Yt)?Pe(ae,ve,Yt):!Ye&&!ft(Na)&&J(ve,Na)}}else{if(Ou&&ft(E))for(const me of h.mount){const ve=oe(s,me);if(ve&&ve._f){const Ye=Array.isArray(ve._f.refs)?ve._f.refs[0]:ve._f.ref;if(ds(Ye)){const Yt=Ye.closest("form");if(Yt){Yt.reset();break}}}}if(O.keepFieldsRef)for(const me of h.mount)J(me,oe(ae,me));else s={}}f=n.shouldUnregister?O.keepDefaultValues?At(o):{}:At(ae),S.array.next({values:{...ae}}),S.state.next({values:{...ae}})}h={mount:O.keepDirtyValues?h.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},d.mount=!N.isValid||!!O.keepIsValid||!!O.keepDirtyValues||!n.shouldUnregister&&!Qt(ae),d.watch=!!n.shouldUnregister,d.keepIsValid=!!O.keepIsValid,d.action=!1,O.keepErrors||(l.errors={}),S.state.next({submitCount:O.keepSubmitCount?l.submitCount:0,isDirty:ee?!1:O.keepDirty?l.isDirty:!!(O.keepDefaultValues&&!Ar(E,o)),isSubmitted:O.keepIsSubmitted?l.isSubmitted:!1,dirtyFields:ee?{}:O.keepDirtyValues?O.keepDefaultValues&&f?Un(o,f):l.dirtyFields:O.keepDefaultValues&&E?Un(o,E):O.keepDirty?l.dirtyFields:{},touchedFields:O.keepTouched?l.touchedFields:{},errors:O.keepErrors?l.errors:{},isSubmitSuccessful:O.keepIsSubmitSuccessful?l.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},Pn=(E,O)=>In(za(E)?E(f):E,{...n.resetOptions,...O}),Ac=(E,O={})=>{const j=oe(s,E),W=j&&j._f;if(W){const ee=W.refs?W.refs[0]:W.ref;ee.focus&&setTimeout(()=>{ee.focus(),O.shouldSelect&&za(ee.select)&&ee.select()})}},$s=E=>{l={...l,...E}},Wn={control:{register:rr,unregister:Tt,getFieldState:$,handleSubmit:ml,setError:ce,_subscribe:Ae,_runSchema:de,_updateIsValidating:te,_focusError:Or,_getWatch:X,_getDirty:F,_setValid:q,_setFieldArray:Q,_setDisabledField:ut,_setErrors:I,_getFieldArray:se,_reset:In,_resetDefaultValues:()=>za(n.defaultValues)&&n.defaultValues().then(E=>{Pn(E,n.resetOptions),S.state.next({isLoading:!1})}),_removeUnmounted:b,_disableForm:dl,_subjects:S,_proxyFormState:N,get _fields(){return s},get _formValues(){return f},get _state(){return d},set _state(E){d=E},get _defaultValues(){return o},get _names(){return h},set _names(E){h=E},get _formState(){return l},get _options(){return n},set _options(E){n={...n,...E}}},subscribe:Le,trigger:kt,register:rr,handleSubmit:ml,watch:Te,setValue:J,getValues:A,reset:Pn,resetField:nr,clearErrors:re,unregister:Tt,setError:ce,setFocus:Ac,getFieldState:$};return{...Wn,formControl:Wn}}function Lv(r={}){const n=Nt.useRef(void 0),l=Nt.useRef(void 0),[s,o]=Nt.useState({isDirty:!1,isValidating:!1,isLoading:za(r.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1,isReady:!1,defaultValues:za(r.defaultValues)?void 0:r.defaultValues});if(!n.current)if(r.formControl)n.current={...r.formControl,formState:s},r.defaultValues&&!za(r.defaultValues)&&r.formControl.reset(r.defaultValues,r.resetOptions);else{const{formControl:d,...h}=Uv(r);n.current={...h,formState:s}}const f=n.current.control;return f._options=r,Sv(()=>{const d=f._subscribe({formState:f._proxyFormState,callback:()=>o({...f._formState}),reRenderRoot:!0});return o(h=>({...h,isReady:!0})),f._formState.isReady=!0,d},[f]),Nt.useEffect(()=>f._disableForm(r.disabled),[f,r.disabled]),Nt.useEffect(()=>{r.mode&&(f._options.mode=r.mode),r.reValidateMode&&(f._options.reValidateMode=r.reValidateMode)},[f,r.mode,r.reValidateMode]),Nt.useEffect(()=>{r.errors&&(f._setErrors(r.errors),f._focusError())},[f,r.errors]),Nt.useEffect(()=>{r.shouldUnregister&&f._subjects.state.next({values:f._getWatch()})},[f,r.shouldUnregister]),Nt.useEffect(()=>{if(f._proxyFormState.isDirty){const d=f._getDirty();d!==s.isDirty&&f._subjects.state.next({isDirty:d})}},[f,s.isDirty]),Nt.useEffect(()=>{var d;r.values&&!Ar(r.values,l.current)?(f._reset(r.values,{keepFieldsRef:!0,...f._options.resetOptions}),!((d=f._options.resetOptions)===null||d===void 0)&&d.keepIsValid||f._setValid(),l.current=r.values,o(h=>({...h}))):f._resetDefaultValues()},[f,r.values]),Nt.useEffect(()=>{f._state.mount||(f._setValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),n.current.formState=Nt.useMemo(()=>Nv(s,f),[f,s]),n.current}const $m=(r,n,l)=>{if(r&&"reportValidity"in r){const s=oe(l,n);r.setCustomValidity(s&&s.message||""),r.reportValidity()}},qu=(r,n)=>{for(const l in n.fields){const s=n.fields[l];s&&s.ref&&"reportValidity"in s.ref?$m(s.ref,l,r):s&&s.refs&&s.refs.forEach(o=>$m(o,l,r))}},Fm=(r,n)=>{n.shouldUseNativeValidation&&qu(r,n);const l={};for(const s in r){const o=oe(n.fields,s),f=Object.assign(r[s]||{},{ref:o&&o.ref});if(qv(n.names||Object.keys(r),s)){const d=Object.assign({},oe(l,s));Pe(d,"root",f),Pe(l,s,d)}else Pe(l,s,f)}return l},qv=(r,n)=>{const l=Qm(n);return r.some(s=>Qm(s).match(`^${l}\\.\\d+`))};function Qm(r){return r.replace(/\]|\[/g,"")}function Xm(r,n,l){function s(h,y){var p;Object.defineProperty(h,"_zod",{value:h._zod??{},enumerable:!1}),(p=h._zod).traits??(p.traits=new Set),h._zod.traits.add(r),n(h,y);for(const x in d.prototype)x in h||Object.defineProperty(h,x,{value:d.prototype[x].bind(h)});h._zod.constr=d,h._zod.def=y}const o=(l==null?void 0:l.Parent)??Object;class f extends o{}Object.defineProperty(f,"name",{value:r});function d(h){var y;const p=l!=null&&l.Parent?new f:this;s(p,h),(y=p._zod).deferred??(y.deferred=[]);for(const x of p._zod.deferred)x();return p}return Object.defineProperty(d,"init",{value:s}),Object.defineProperty(d,Symbol.hasInstance,{value:h=>{var y,p;return l!=null&&l.Parent&&h instanceof l.Parent?!0:(p=(y=h==null?void 0:h._zod)==null?void 0:y.traits)==null?void 0:p.has(r)}}),Object.defineProperty(d,"name",{value:r}),d}class Hv extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const Gv={};function Km(r){return Gv}function Zv(r,n){return typeof n=="bigint"?n.toString():n}const Jm=Error.captureStackTrace?Error.captureStackTrace:(...r)=>{};function hs(r){return typeof r=="string"?r:r==null?void 0:r.message}function Im(r,n,l){var o,f,d,h,y,p;const s={...r,path:r.path??[]};if(!r.message){const x=hs((d=(f=(o=r.inst)==null?void 0:o._zod.def)==null?void 0:f.error)==null?void 0:d.call(f,r))??hs((h=n==null?void 0:n.error)==null?void 0:h.call(n,r))??hs((y=l.customError)==null?void 0:y.call(l,r))??hs((p=l.localeError)==null?void 0:p.call(l,r))??"Invalid input";s.message=x}return delete s.inst,delete s.continue,n!=null&&n.reportInput||delete s.input,s}const Pm=(r,n)=>{r.name="$ZodError",Object.defineProperty(r,"_zod",{value:r._zod,enumerable:!1}),Object.defineProperty(r,"issues",{value:n,enumerable:!1}),Object.defineProperty(r,"message",{get(){return JSON.stringify(n,Zv,2)},enumerable:!0}),Object.defineProperty(r,"toString",{value:()=>r.message,enumerable:!1})},Yv=Xm("$ZodError",Pm),Wm=Xm("$ZodError",Pm,{Parent:Error}),$v=(r=>(n,l,s,o)=>{const f=s?Object.assign(s,{async:!1}):{async:!1},d=n._zod.run({value:l,issues:[]},f);if(d instanceof Promise)throw new Hv;if(d.issues.length){const h=new((o==null?void 0:o.Err)??r)(d.issues.map(y=>Im(y,f,Km())));throw Jm(h,o==null?void 0:o.callee),h}return d.value})(Wm),Fv=(r=>async(n,l,s,o)=>{const f=s?Object.assign(s,{async:!0}):{async:!0};let d=n._zod.run({value:l,issues:[]},f);if(d instanceof Promise&&(d=await d),d.issues.length){const h=new((o==null?void 0:o.Err)??r)(d.issues.map(y=>Im(y,f,Km())));throw Jm(h,o==null?void 0:o.callee),h}return d.value})(Wm);function eh(r,n){try{var l=r()}catch(s){return n(s)}return l&&l.then?l.then(void 0,n):l}function Qv(r,n){for(var l={};r.length;){var s=r[0],o=s.code,f=s.message,d=s.path.join(".");if(!l[d])if("unionErrors"in s){var h=s.unionErrors[0].errors[0];l[d]={message:h.message,type:h.code}}else l[d]={message:f,type:o};if("unionErrors"in s&&s.unionErrors.forEach(function(x){return x.errors.forEach(function(N){return r.push(N)})}),n){var y=l[d].types,p=y&&y[s.code];l[d]=ju(d,n,l,o,p?[].concat(p,s.message):s.message)}r.shift()}return l}function Xv(r,n){for(var l={};r.length;){var s=r[0],o=s.code,f=s.message,d=s.path.join(".");if(!l[d])if(s.code==="invalid_union"&&s.errors.length>0){var h=s.errors[0][0];l[d]={message:h.message,type:h.code}}else l[d]={message:f,type:o};if(s.code==="invalid_union"&&s.errors.forEach(function(x){return x.forEach(function(N){return r.push(N)})}),n){var y=l[d].types,p=y&&y[s.code];l[d]=ju(d,n,l,o,p?[].concat(p,s.message):s.message)}r.shift()}return l}function Kv(r,n,l){if(l===void 0&&(l={}),(function(s){return"_def"in s&&typeof s._def=="object"&&"typeName"in s._def})(r))return function(s,o,f){try{return Promise.resolve(eh(function(){return Promise.resolve(r[l.mode==="sync"?"parse":"parseAsync"](s,n)).then(function(d){return f.shouldUseNativeValidation&&qu({},f),{errors:{},values:l.raw?Object.assign({},s):d}})},function(d){if((function(h){return Array.isArray(h==null?void 0:h.issues)})(d))return{values:{},errors:Fm(Qv(d.errors,!f.shouldUseNativeValidation&&f.criteriaMode==="all"),f)};throw d}))}catch(d){return Promise.reject(d)}};if((function(s){return"_zod"in s&&typeof s._zod=="object"})(r))return function(s,o,f){try{return Promise.resolve(eh(function(){return Promise.resolve((l.mode==="sync"?$v:Fv)(r,s,n)).then(function(d){return f.shouldUseNativeValidation&&qu({},f),{errors:{},values:l.raw?Object.assign({},s):d}})},function(d){if((function(h){return h instanceof Yv})(d))return{values:{},errors:Fm(Xv(d.issues,!f.shouldUseNativeValidation&&f.criteriaMode==="all"),f)};throw d}))}catch(d){return Promise.reject(d)}};throw new Error("Invalid input: not a Zod schema")}/**
328
54
  * @license lucide-react v0.518.0 - ISC
329
55
  *
330
56
  * This source code is licensed under the ISC license.
331
57
  * See the LICENSE file in the root directory of this source tree.
332
- */const XR=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),QR=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(u,s,d)=>d?d.toUpperCase():s.toLowerCase()),gT=r=>{const u=QR(r);return u.charAt(0).toUpperCase()+u.slice(1)},vT=(...r)=>r.filter((u,s,d)=>!!u&&u.trim()!==""&&d.indexOf(u)===s).join(" ").trim(),JR=r=>{for(const u in r)if(u.startsWith("aria-")||u==="role"||u==="title")return!0};/**
58
+ */const Jv=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Iv=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,l,s)=>s?s.toUpperCase():l.toLowerCase()),th=r=>{const n=Iv(r);return n.charAt(0).toUpperCase()+n.slice(1)},ah=(...r)=>r.filter((n,l,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===l).join(" ").trim(),Pv=r=>{for(const n in r)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};/**
333
59
  * @license lucide-react v0.518.0 - ISC
334
60
  *
335
61
  * This source code is licensed under the ISC license.
336
62
  * See the LICENSE file in the root directory of this source tree.
337
- */var KR={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
63
+ */var Wv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
338
64
  * @license lucide-react v0.518.0 - ISC
339
65
  *
340
66
  * This source code is licensed under the ISC license.
341
67
  * See the LICENSE file in the root directory of this source tree.
342
- */const FR=it.forwardRef(({color:r="currentColor",size:u=24,strokeWidth:s=2,absoluteStrokeWidth:d,className:h="",children:y,iconNode:b,...E},N)=>it.createElement("svg",{ref:N,...KR,width:u,height:u,stroke:r,strokeWidth:d?Number(s)*24/Number(u):s,className:vT("lucide",h),...!y&&!JR(E)&&{"aria-hidden":"true"},...E},[...b.map(([C,U])=>it.createElement(C,U)),...Array.isArray(y)?y:[y]]));/**
68
+ */const e1=ge.forwardRef(({color:r="currentColor",size:n=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:o="",children:f,iconNode:d,...h},y)=>ge.createElement("svg",{ref:y,...Wv,width:n,height:n,stroke:r,strokeWidth:s?Number(l)*24/Number(n):l,className:ah("lucide",o),...!f&&!Pv(h)&&{"aria-hidden":"true"},...h},[...d.map(([p,x])=>ge.createElement(p,x)),...Array.isArray(f)?f:[f]]));/**
343
69
  * @license lucide-react v0.518.0 - ISC
344
70
  *
345
71
  * This source code is licensed under the ISC license.
346
72
  * See the LICENSE file in the root directory of this source tree.
347
- */const bT=(r,u)=>{const s=it.forwardRef(({className:d,...h},y)=>it.createElement(FR,{ref:y,iconNode:u,className:vT(`lucide-${XR(gT(r))}`,`lucide-${r}`,d),...h}));return s.displayName=gT(r),s};/**
73
+ */const rh=(r,n)=>{const l=ge.forwardRef(({className:s,...o},f)=>ge.createElement(e1,{ref:f,iconNode:n,className:ah(`lucide-${Jv(th(r))}`,`lucide-${r}`,s),...o}));return l.displayName=th(r),l};/**
348
74
  * @license lucide-react v0.518.0 - ISC
349
75
  *
350
76
  * This source code is licensed under the ISC license.
351
77
  * See the LICENSE file in the root directory of this source tree.
352
- */const ST=bT("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
78
+ */const nh=rh("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
353
79
  * @license lucide-react v0.518.0 - ISC
354
80
  *
355
81
  * This source code is licensed under the ISC license.
356
82
  * See the LICENSE file in the root directory of this source tree.
357
- */const IR=bT("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),ET={modal:{id:"",open:!1,label:"",url:""}},$f=CE(r=>({...ET,setModal:u=>r({modal:u}),resetModal:()=>r({modal:ET.modal})})),PR=r=>r.replace(/\D/g,"").slice(0,11).replace(/^(\d{2})(\d{5})(\d{0,4})/,"($1) $2-$3").trim(),WR=r=>r.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d{0,3})/,"$1-$2"),eO=r=>r.replace(/\D/g,"").replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"),xT=r=>Number(String(r).replace(",",".")),tO=r=>{const u=String(r);if(u.includes(".")||u.includes(","))return xT(r);const s=u.slice(-2);return+`${u.slice(0,-2)||"0"}.${s}`},nO=r=>{const u=r.slice(-2);return+`${r.slice(0,-2)||"0"}.${u}`};function aO(r){return String(r).replace(/[.,]/g,"")}const pi={phone:r=>PR(r),cep:r=>WR(r),cpf:r=>eO(r),priceToInteger:r=>aO(r),price:r=>xT(r),transformPrice:r=>tO(r),transformPorcent:r=>nO(r)};/*! js-cookie v3.0.5 | MIT */function ub(r){for(var u=1;u<arguments.length;u++){var s=arguments[u];for(var d in s)r[d]=s[d]}return r}var lO={read:function(r){return r[0]==='"'&&(r=r.slice(1,-1)),r.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(r){return encodeURIComponent(r).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function BE(r,u){function s(h,y,b){if(!(typeof document>"u")){b=ub({},u,b),typeof b.expires=="number"&&(b.expires=new Date(Date.now()+b.expires*864e5)),b.expires&&(b.expires=b.expires.toUTCString()),h=encodeURIComponent(h).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var E="";for(var N in b)b[N]&&(E+="; "+N,b[N]!==!0&&(E+="="+b[N].split(";")[0]));return document.cookie=h+"="+r.write(y,h)+E}}function d(h){if(!(typeof document>"u"||arguments.length&&!h)){for(var y=document.cookie?document.cookie.split("; "):[],b={},E=0;E<y.length;E++){var N=y[E].split("="),C=N.slice(1).join("=");try{var U=decodeURIComponent(N[0]);if(b[U]=r.read(C,U),h===U)break}catch{}}return h?b[h]:b}}return Object.create({set:s,get:d,remove:function(h,y){s(h,"",ub({},y,{expires:-1}))},withAttributes:function(h){return BE(this.converter,ub({},this.attributes,h))},withConverter:function(h){return BE(ub({},this.converter,h),this.attributes)}},{attributes:{value:Object.freeze(u)},converter:{value:Object.freeze(r)}})}var Gn=BE(lO,{path:"/"});const kE={BASE_URL:"/",DEV:!0,MODE:"production",PROD:!1,SSR:!1,VITE_API_URL:"https://serverless-pbm.vercel.app",VITE_CLIENT_ID_SANTOREMEDIO:"fff909d6-a77e-4ffc-a4bb-47a1cde99621",VITE_CLIENT_SECRET_SANTOREMEDIO:"ZTK8Q~gqjOkbBmH3vN1AIsKUbwkhUYOkzfvIUb18",VITE_CORREIOS_API_URL:"https://viacep.com.br/ws",VITE_GRANT_TYPE_SANTOREMEDIO:"client_credentials",VITE_SCOPE_SANTOREMEDIO:"https://interplayersdevb2c.onmicrosoft.com/services/varejo-api-pre/.default",VITE_USERNAME_SANTOREMEDIO:"147de435-fac6-4c57-95d8-bb06feb0496b"},Zf=r=>{var u;if(typeof{url:ku&&ku.tagName.toUpperCase()==="SCRIPT"&&ku.src||new URL("vanilla.js",document.baseURI).href}<"u")return kE==null?void 0:kE[r];if(typeof process<"u")return(u=process.env)==null?void 0:u[r]},rO=async({product:r,consumer:u})=>{const s=Gn.get("tenant_id");if(!s)throw new Error(`No configuration found for tenant: ${s}`);if(!u||!u.holderId)throw new Error("Consumer holderId information is required");if(!r)throw new Error("Product information is required");const d={id:r.id,ean:r.ean,requestedQuantity:r.requestedQuantity,listPrice:r.listPrice,netPrice:r.netPrice};try{const y=await(await fetch(`${Zf("VITE_API_URL")}/api/lookup-consumer.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${Gn.get("pbm-token")}`},body:JSON.stringify({tenant_id:s,product:d,table_id:Gn.get("current-table-id"),local_hour:Gn.get("current-local-hour"),consumer:u})})).json();if(!y.success)throw new Error("PBMLOG: Enable Discount Failed!");return y}catch(h){return console.error("Error during enable discount:",h),{success:!1,error:"Authorization failed"}}};function iO({startTransition:r}){const u=hr(),[s,d]=it.useState(!1),{setModal:h}=$f(),{handleSubmit:y,register:b,setValue:E,clearErrors:N,unregister:C,formState:{errors:U}}=UR({resolver:ZR(oR),mode:"onSubmit",defaultValues:{securityNumber:u.securityNumber||"",coupon:""}}),A=async z=>{if(u.targetProduct===null){console.error("PBMLOG: Product is not defined!");return}if(!u.targetProduct.id){console.error("PBMLOG: Product ID is not defined!");return}if(!u.targetProduct.listPrice){console.error("PBMLOG: List Price is not defined!");return}u.setSecurityNumber(z.securityNumber.replace(/\D/g,""));const Q=await rO({product:u.targetProduct,consumer:{holderId:z.securityNumber.replace(/\D/g,"")}});if(!Q.success){h({id:"CustomerNotRegistered",open:!0});return}u.setBenefitsList(Q.product),u.setState("isActivated")},R=async z=>{if(!u.isAuthenticatedShopper){h({id:"ShopperIsNotAuthenticated",open:!0});return}s||E("coupon",void 0,{shouldValidate:!1}),s&&z.coupon!=null&&u.setCardID(z.coupon),r(async()=>{await A(z)})};return B.jsxDEV(B.Fragment,{children:[B.jsxDEV("form",{onSubmit:y(R),className:Jn("w-full h-auto flex items-start justify-center flex-col mb-2 transition-all duration-150"),id:"form_security_number_pbm",children:[B.jsxDEV("label",{htmlFor:"input_security_number_pbm",className:Jn("w-full h-auto flex items-start flex-col justify-center relative py-2 transition-all duration-100",{"mb-4":U.securityNumber&&!s}),id:"label_security_number_pbm",children:[B.jsxDEV("input",{type:"text",className:Jn("w-full h-10 bg-(--pbm-input-background) rounded-lg text-sm font-semibold outline-(--pbm-outline-color) focus:outline focus:bg-(--pbm-input-focus) focus:outline-(--pbm-outline-focus-color) text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":U.securityNumber,"rounded-lg":s}),style:{"--tw-outline-color":U.securityNumber?void 0:"var(--pbm-secondary)"},placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...b("securityNumber",{onChange:z=>{const Q=pi.cpf(z.target.value);E("securityNumber",Q,{shouldValidate:!0})}}),defaultValue:u.securityNumber||"",id:"input_security_number_pbm"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:124,columnNumber:11},this),U.securityNumber&&B.jsxDEV("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:U.securityNumber.message},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:155,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:114,columnNumber:9},this),B.jsxDEV(it.Activity,{mode:s?"visible":"hidden",children:B.jsxDEV("label",{htmlFor:"input_coupon_pbm",className:Jn("w-full h-auto flex items-start flex-col justify-center relative py-2",{"mt-2":U.securityNumber}),id:"label_coupon_pbm",children:[B.jsxDEV("input",{type:"text",className:Jn("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":U.coupon,"rounded-lg":s}),style:{"--tw-outline-color":U.coupon?void 0:"var(--pbm-secondary)"},placeholder:"Cupom / ID do Cartão",...b("coupon",{required:s?"Cupom / ID do Cartão obrigatório.":!1,shouldUnregister:!s,onChange:z=>{E("coupon",z.target.value,{shouldValidate:s})}}),id:"input_coupon_pbm"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:175,columnNumber:13},this),U.coupon&&B.jsxDEV("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:U.coupon.message},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:206,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:165,columnNumber:11},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:164,columnNumber:9},this),B.jsxDEV("button",{type:"submit",className:Jn("w-full h-10 rounded-lg flex items-center justify-center cursor-pointer text-sm text-white font-semibold transition-all duration-150",{"rounded-lg":s}),style:{backgroundColor:"var(--pbm-primary)"},id:"button_submit_security_number_pbm",children:"Comprar com desconto"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:216,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:107,columnNumber:7},this),B.jsxDEV("section",{className:"flex items-start flex-col gap-2",children:[B.jsxDEV(qu,{className:"bg-transparent p-0 pl-2 w-auto h-auto underline cursor-pointer hover:bg-transparent flex items-center justify-start gap-1",style:{color:"var(--pbm-text)"},onMouseOver:z=>z.currentTarget.style.filter="brightness(0.8)",onMouseOut:z=>z.currentTarget.style.filter="none",onClick:()=>{const z=!s;d(z),z||(C("coupon"),N("coupon"))},id:"check_benefits_button",children:[B.jsxDEV("span",{className:"text-start",children:s?"Não possui Cupom / ID do Cartão?":"Possui Cupom / ID do Cartão?"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:250,columnNumber:11},this),B.jsxDEV(ST,{size:16,className:Jn({"rotate-0":!s,"rotate-180":s})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:255,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:232,columnNumber:9},this),B.jsxDEV(qu,{className:"bg-transparent p-0 pl-2 w-auto h-auto underline cursor-pointer hover:bg-transparent flex items-center justify-start gap-1",style:{color:"var(--pbm-text)"},onMouseOver:z=>z.currentTarget.style.filter="brightness(0.8)",onMouseOut:z=>z.currentTarget.style.filter="none",onClick:()=>u.setState("isPreview"),id:"check_benefits_button",children:[B.jsxDEV("span",{children:"Consultar Benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:273,columnNumber:11},this),B.jsxDEV(ST,{size:16},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:274,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:263,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:231,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:106,columnNumber:5},this)}function oO({size:r}){return B.jsxDEV("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Camada 1",viewBox:"0 0 500 500",width:r,height:r,children:B.jsxDEV("path",{d:"M421.44 78.56C375.64 32.77 314.76 7.55 250 7.55S124.36 32.77 78.56 78.56C32.77 124.36 7.55 185.24 7.55 250s25.22 125.64 71.01 171.44c45.8 45.79 106.68 71.01 171.44 71.01s125.64-25.22 171.44-71.01c45.79-45.8 71.01-106.68 71.01-171.44s-25.22-125.64-71.01-171.44zm-49.17 121.7L242.88 334.63c-8.98 9.29-23.57 10.17-33.59 2.02l-79.63-64.7c-10.69-8.67-12.33-24.38-3.66-35.07 8.67-10.69 24.38-12.33 35.07-3.65l61.9 50.39L336.5 165.74c4.4-4.75 10.48-7.59 16.95-7.93a24.88 24.88 0 0118.83 7.26c9.72 9.72 9.71 25.48 0 35.19z",fill:"#229b00"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:13,columnNumber:7},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:6,columnNumber:5},this)}function uO({size:r}){return B.jsxDEV("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Camada 1",viewBox:"0 0 500 500",width:r,height:r,children:[B.jsxDEV("circle",{cx:250,cy:250,r:237.45,fill:"#fff"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:29,columnNumber:7},this),B.jsxDEV("path",{d:"M250 492.45c-64.76 0-125.64-25.22-171.44-71.01C32.77 375.64 7.55 314.76 7.55 250S32.77 124.36 78.56 78.56C124.36 32.77 185.24 7.55 250 7.55s125.64 25.22 171.44 71.01c45.79 45.79 71.01 106.68 71.01 171.44s-25.22 125.64-71.01 171.44c-45.79 45.79-106.68 71.01-171.44 71.01zm0-474.9C121.83 17.55 17.55 121.83 17.55 250S121.83 482.45 250 482.45 482.45 378.17 482.45 250 378.17 17.55 250 17.55z",fill:"#d8d8d8"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:30,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:22,columnNumber:5},this)}function sO({size:r,color:u}){return B.jsxDEV("svg",{viewBox:"-0.003 0 99.979 99.979",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",width:r,height:r,children:[B.jsxDEV("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:47,columnNumber:7},this),B.jsxDEV("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:48,columnNumber:7},this),B.jsxDEV("g",{id:"SVGRepo_iconCarrier",children:[B.jsxDEV("path",{fill:"#ffe700",d:"M92.869 7.105c9.478 9.476 9.478 24.832 0 34.308L41.411 92.869c-9.475 9.474-24.833 9.474-34.307 0-9.476-9.475-9.476-24.832 0-34.308L58.562 7.105c9.475-9.473 24.834-9.473 34.307 0z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:54,columnNumber:9},this),B.jsxDEV("path",{fill:u,d:"M32.548 33.122L7.105 58.563c-9.476 9.476-9.476 24.833 0 34.308 9.474 9.475 24.832 9.475 34.307 0L66.85 67.43 32.548 33.122z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:58,columnNumber:9},this),B.jsxDEV("path",{fill:u,d:"M65.43 68.862L31.134 34.568l1.414-1.414 34.294 34.294z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:62,columnNumber:9},this),B.jsxDEV("path",{fill:u,d:"M38.096 41.51L12.7 66.906a5.894 5.894 0 0 0 0 8.339 5.896 5.896 0 0 0 8.339 0l25.396-25.396-8.339-8.339z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:66,columnNumber:9},this),B.jsxDEV("path",{fill:"#ffe700",d:"M75.244 12.7a5.897 5.897 0 0 0-8.343 0L39.51 40.096l8.339 8.339 27.396-27.396a5.899 5.899 0 0 0-.001-8.339z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:70,columnNumber:9},this),B.jsxDEV("path",{fill:u,d:"M47.862 48.444l-1.414 1.414-8.335-8.336 1.414-1.414z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:74,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:53,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:40,columnNumber:5},this)}function cO({size:r,color:u}){return B.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:r,height:r,children:[B.jsxDEV("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:92,columnNumber:7},this),B.jsxDEV("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:93,columnNumber:7},this),B.jsxDEV("g",{id:"SVGRepo_iconCarrier",children:B.jsxDEV("path",{d:"M7.33199 16.3154C6.94146 15.9248 6.3083 15.9248 5.91777 16.3154C5.52725 16.7059 5.52725 17.339 5.91777 17.7296L10.5834 22.3952C11.3644 23.1762 12.6308 23.1762 13.4118 22.3952L18.0802 17.7267C18.4707 17.3362 18.4707 16.703 18.0802 16.3125C17.6897 15.922 17.0565 15.922 16.666 16.3125L13 19.9786V2.0001C13 1.44781 12.5523 1.0001 12 1.0001C11.4477 1.0001 11 1.44781 11 2.0001V19.9833L7.33199 16.3154Z",fill:u},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:99,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:98,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:85,columnNumber:5},this)}const sb={CheckON:oO,CheckOFF:uO,Pills:sO,ArrowDown:cO};function fO(){var N;const{targetProduct:r,benefitsEnabled:u,setBenefitsEnabled:s}=hr(),d=pi.transformPrice(Number(r==null?void 0:r.listPrice)),h=pi.transformPrice(Number(r==null?void 0:r.discountValue)||0),y=pi.transformPorcent((r==null?void 0:r.discountPercentual)||"0"),b=d*y/100,E=d-h||d-b;return B.jsxDEV("header",{className:"flex items-start justify-start flex-col gap-4 w-full p-0.5 rounded-xl mt-5",id:"header_pbm",children:[B.jsxDEV("label",{className:"flex items-center gap-2 cursor-pointer",htmlFor:"enable_benefits_checkbox",children:[B.jsxDEV("input",{id:"enable_benefits_checkbox",type:"checkbox",name:"option",className:"peer hidden",checked:u,onChange:C=>s(C.target.checked)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:32,columnNumber:9},this),B.jsxDEV("div",{className:"w-5 h-5 border border-(--pbm-primary) rounded-full flex items-center justify-center transition-all duration-300 after:content-[''] after:w-2 after:h-2 after:rounded-full after:bg-(--pbm-primary) after:scale-0 after:transition-transform after:duration-200 peer-checked:after:scale-100"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:42,columnNumber:9},this),B.jsxDEV("p",{className:"font-medium text-(--pbm-primary) select-none text-sm",children:"Desconto de Laboratório"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:43,columnNumber:9},this),B.jsxDEV(sb.Pills,{size:16,color:"var(--pbm-primary)"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:46,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:28,columnNumber:7},this),B.jsxDEV("span",{className:"py-1 rounded-xl shrink-0 text-white text-xl font-bold flex items-center justify-start gap-2 relative","data-testid":"test_id_header_price",id:"header_price",children:B.jsxDEV("section",{className:"flex items-start gap-2 justify-center-safe flex-col",children:[B.jsxDEV("div",{className:"flex items-center-safe justify-start gap-1",children:[B.jsxDEV("span",{className:"line-through text-sm font-light text-zinc-600",children:(N=Number(d))==null?void 0:N.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:56,columnNumber:13},this),B.jsxDEV(sb.ArrowDown,{size:14,color:"var(--pbm-primary)"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:65,columnNumber:13},this),B.jsxDEV("span",{className:"font-semibold text-sm text-(--pbm-primary)",children:[y.toFixed(2),"%"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:67,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:55,columnNumber:11},this),B.jsxDEV("span",{className:"text-lg text-zinc-700 font-bold",children:E==null?void 0:E.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:72,columnNumber:11},this),(r==null?void 0:r.informativeMessage)&&B.jsxDEV("span",{className:"text-xs text-zinc-600 font-medium",children:r==null?void 0:r.informativeMessage},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:82,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:54,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:49,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:24,columnNumber:5},this)}function dO({textColor:r}){return B.jsxDEV("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[B.jsxDEV("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 shrink-0 border-gray-300 rounded-full animate-spin",style:{borderTopColor:"var(--pbm-secondary)"},id:"loading_spin"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Loading/index.tsx",lineNumber:8,columnNumber:7},this),B.jsxDEV("p",{className:"text-sm font-semibold text-start",style:{color:r||"var(--pbm-text)"},id:"loading_label",children:"Um momento... estamos verificando seus dados."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Loading/index.tsx",lineNumber:14,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Loading/index.tsx",lineNumber:7,columnNumber:5},this)}function HE({children:r,variant:u}){const{benefitsEnabled:s}=hr();return B.jsxDEV("main",{className:Jn({"border-3 border-(--pbm-border) overflow-hidden flex flex-col items-center justify-center min-w-(--min-container) max-w-(--max-container) w-full h-auto rounded-xl p-4 bg-white gap-4 relative":u==="main","w-full relative":u==="simple","h-0 overflow-hidden":!s&&u==="simple"}),"data-testid":"test_id_container","data-variant":u,id:"container_pbm",children:r},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Container/index.tsx",lineNumber:15,columnNumber:5},this)}function Zm(r){return B.jsxDEV("h2",{className:Jn("text-start font-semibold text-sm",r.className),style:{color:r.textColor||"var(--pbm-text)",fontSize:r.textSize,textAlign:r.textAlign},"data-testid":"test_id_title",id:"title_pbm",children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Title/index.tsx",lineNumber:13,columnNumber:5},this)}function mO({data:r,onChange:u,checked:s}){const{setAvailableDiscountSelected:d,state:h,isAuthenticatedShopper:y}=hr(),{setModal:b}=$f(),E=r.id+"_"+r.requestedQuantity,N=pi.transformPrice(Number(r==null?void 0:r.grossPrice)||Number(r==null?void 0:r.listPrice)||0),C=pi.transformPrice(Number(r==null?void 0:r.discountValue)||0),U=pi.transformPorcent((r==null?void 0:r.discountPercentual)||"0"),A=C*Number(r.requestedQuantity),R=N*Number(r.requestedQuantity),z=R*U/100,Q=R-A||R-z,j=it.useCallback(()=>{if(s){const fe=ge=>Math.round(ge*100)/100;d({discount:{total:fe(A),unit:fe(C)},quantity:Number(r.requestedQuantity),totalPrice:fe(Q),grossPrice:r.grossPrice})}},[s,r.requestedQuantity,r.grossPrice,d,A,C,Q]);it.useEffect(()=>{j()},[j]);const F=()=>{if(!y&&h==="isActivated"){b({id:"ShopperIsNotAuthenticated",open:!0});return}u()};return B.jsxDEV("label",{htmlFor:E,className:Jn("label_benefits w-full flex items-center justify-start bg-zinc-300/60 border border-zinc-400/50 px-4 py-2 transition-colors rounded-lg gap-1",{"cursor-not-allowed":h==="isPreview","cursor-pointer":h==="isActivated"}),style:{borderColor:s?"var(--pbm-primary)":void 0,backgroundColor:s?"color-mix(in srgb, var(--pbm-primary), transparent 90%)":void 0},id:"label_benefits_"+E,children:[B.jsxDEV("input",{type:"radio",name:"benefits_discount",id:E,className:"hidden",checked:s,onChange:F,disabled:h==="isPreview"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:106,columnNumber:7},this),B.jsxDEV("span",{style:{color:"var(--pbm-primary)"},children:s?B.jsxDEV(sb.CheckON,{size:20},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:117,columnNumber:52},this):B.jsxDEV(sb.CheckOFF,{size:20},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:117,columnNumber:21},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:116,columnNumber:7},this),B.jsxDEV("span",{className:"font-semibold text-sm",style:{color:"var(--pbm-text)"},children:[r.requestedQuantity,"un"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:120,columnNumber:7},this),B.jsxDEV("section",{className:"ml-auto relative gap-2 flex items-center-safe justify-end-safe",children:[B.jsxDEV("span",{className:"text-white -top-4 py-0.5 font-semibold text-xs px-2 w-auto text-nowrap rounded-2xl -right-3",style:{backgroundColor:"var(--pbm-primary)"},children:[A.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})," ","OFF"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:128,columnNumber:9},this),B.jsxDEV("strong",{className:"font-semibold text-sm text-center",style:{color:"var(--pbm-text)"},children:Q.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:140,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:127,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:89,columnNumber:5},this)}const hO="N000";function pO(){var N;const{setState:r,state:u,customLoginUrl:s,isAuthenticatedShopper:d,benefitsList:h}=hr(),[y,b]=it.useState(null),[E]=it.useState(h);return E!=null&&E.length&&((N=E[0])==null?void 0:N.returnCode)!==hO&&u==="isActivated"?B.jsxDEV("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:B.jsxDEV("p",{className:"text-sm font-semibold text-start",style:{color:"var(--pbm-text)"},id:"benefits_error_handle",children:E[0].informativeText},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:31,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:30,columnNumber:7},this):B.jsxDEV("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[B.jsxDEV(Zm,{children:"Descontos disponíveis:"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:47,columnNumber:7},this),B.jsxDEV("form",{className:"flex flex-col items-center justify-start w-full gap-4.5",id:"form_benefits_table_pbm",onSubmit:C=>C.preventDefault(),children:[!E&&B.jsxDEV("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"benefits_empty_pbm",children:"Não foi possível encontrar benefícios para esse produto."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:55,columnNumber:11},this),E&&E.map(C=>{const U=C.id+"_"+C.requestedQuantity;return B.jsxDEV(mO,{data:C,checked:y===U,onChange:()=>b(U)},U,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:68,columnNumber:15},this)})]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:49,columnNumber:7},this),u==="isPreview"&&B.jsxDEV(qu,{onClick:()=>r("isEmpty"),className:"bg-transparent p-0 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"unauthorized_benefits_button",children:["Atenção: Não é possível utilizar os benefícos sem realizar a consulta do CPF e o Login, por favor"," ",B.jsxDEV("span",{className:"underline",children:"insira seu cpf para utilizar os benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:86,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:79,columnNumber:9},this),u==="isActivated"&&B.jsxDEV(B.Fragment,{children:[!d&&B.jsxDEV(qu,{type:"button",onClick:()=>window.location.assign(s||"/login"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"login",children:B.jsxDEV("span",{className:"underline",children:"Por favor, faça o Login para aproveitar os benefícios!"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:101,columnNumber:15},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:95,columnNumber:13},this),B.jsxDEV(qu,{onClick:()=>r("isEmpty"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"change_security_number",children:B.jsxDEV("span",{className:"underline",children:"Deseja editar o cpf digitado?"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:112,columnNumber:13},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:107,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:93,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:43,columnNumber:5},this)}function cb(r){return B.jsxDEV("p",{className:Jn("font-normal text-sm",r.textAlign&&`text-${r.textAlign}`,r.className),style:{color:r.textColor||"var(--pbm-text)",fontSize:r.textSize,textAlign:r.textAlign},"data-testid":"test_id_text",id:"text_pbm",children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Text/index.tsx",lineNumber:13,columnNumber:5},this)}function yO({textColor:r}){const{urlAcceptTerms:u}=hr(),{setModal:s}=$f(),d=()=>{u&&s({open:!0,id:"iframe_pbm",label:"Aceitar os termos",url:u})};return B.jsxDEV("section",{"data-testid":"test_id_invalid",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y py-6",style:{borderColor:"color-mix(in srgb, var(--pbm-text), transparent 80%)"},id:"security_number_invalid_container_pbm",children:[B.jsxDEV(Zm,{className:"w-full",textColor:r,children:"CPF não cadastrado."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:25,columnNumber:7},this),B.jsxDEV(cb,{className:"w-full",textColor:r,children:["Conclua seu cadastro para habilitar o benefício. ",B.jsxDEV("br",{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:29,columnNumber:58},this),"Ao clicar em “Aceitar os termos”, você irá para uma página externa. Aceite os termos e volte para continuar."]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:28,columnNumber:7},this),B.jsxDEV(qu,{onClick:()=>d(),style:{backgroundColor:"var(--pbm-primary)"},children:"Aceitar os termos"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:33,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:19,columnNumber:5},this)}function gO({textColor:r}){const{urlRegisterIndustry:u}=hr(),{setModal:s}=$f(),d=()=>{u&&s({open:!0,id:"iframe_pbm",label:"Ativar CPF",url:u})};return B.jsxDEV("section",{"data-testid":"test_id_registered",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y py-6",style:{borderColor:"color-mix(in srgb, var(--pbm-text), transparent 80%)"},id:"security_number_registered_container_pbm",children:[B.jsxDEV(Zm,{className:"w-full",textColor:r,children:"Ops, seu CPF ainda não está habilitado para este produto."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:25,columnNumber:7},this),B.jsxDEV(cb,{className:"w-full",textColor:r,children:"Para ativar o benefício, clique em “Ativar CPF” e conclua a etapa na página externa. Depois, é só voltar para continuar — vamos aguardar você aqui."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:28,columnNumber:7},this),B.jsxDEV(qu,{onClick:()=>d(),style:{backgroundColor:"var(--pbm-primary)"},children:"Ativar CPF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:31,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:19,columnNumber:5},this)}const _T={ErrorMessage:"Erro ao aplicar o benefício"},TT=CE(r=>({..._T,setErrorMessage:u=>r({ErrorMessage:u}),resetErrorMessage:()=>r({ErrorMessage:_T.ErrorMessage})})),CT=()=>{const{ErrorMessage:r}=TT(),{setState:u}=hr();return B.jsxDEV(HE,{variant:"main",children:[B.jsxDEV(Zm,{children:"Erro ao Aplicar o Benefício"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:15,columnNumber:13},void 0),B.jsxDEV(cb,{textAlign:"center",children:r},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:16,columnNumber:13},void 0),B.jsxDEV(qu,{className:"bg-transparent p-0 pl-2 w-auto h-auto underline cursor-pointer hover:bg-transparent flex items-center justify-start gap-1",style:{color:"var(--pbm-text)"},onMouseOver:s=>s.currentTarget.style.filter="brightness(0.8)",onMouseOut:s=>s.currentTarget.style.filter="none",onClick:()=>u("isEmpty"),id:"check_benefits_button",children:[B.jsxDEV("span",{children:"Tentar novamente"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:25,columnNumber:17},void 0),B.jsxDEV(IR,{size:16},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:26,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:17,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:14,columnNumber:9},void 0)},NT={personalData:{name:"",phone:"",birthday:"",email:""},address:{postalcode:"",number:"",complement:"",street:"",neighborhood:"",city:"",uf:"",stateAddress:""},genderResponsibility:{gender:"",patient:null},doctor:{typeCredential:"CRM",register:"",state:"",doctorName:""},acceptances:{acceptPhone:!1,acceptsSms:!1,acceptsEmail:!1,acceptsMail:!1,acceptsPrivacyTermsLGPD:!1},step:0},Xf=CE(r=>({...NT,setPersonalData:u=>r(s=>({personalData:{...s.personalData,...u}})),setAddress:u=>r(s=>({address:{...s.address,...u}})),setGenderResponsibility:u=>r(s=>({genderResponsibility:{...s.genderResponsibility,...u}})),setDoctor:u=>r(s=>({doctor:{...s.doctor,...u}})),setAcceptances:u=>r(s=>({acceptances:{...s.acceptances,...u}})),setStep:u=>r({step:u}),resetForm:()=>r(NT)})),wl=({label:r,error:u,children:s})=>B.jsxDEV("div",{className:"flex flex-col gap-1",children:[B.jsxDEV("label",{className:"text-xs font-medium text-zinc-500 uppercase tracking-wide",children:r},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:11,columnNumber:5},void 0),s,u&&B.jsxDEV("span",{className:"text-xs text-red-500 mt-0.5",children:u},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:15,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:10,columnNumber:3},void 0),My="w-full rounded-lg border border-gray-200 bg-gray-100 px-3 py-2.5 text-sm text-gray-400 cursor-not-allowed",ho=r=>Jn("w-full rounded-lg border px-3 py-2.5 text-sm text-gray-800 outline-none transition-all","focus:ring-2 focus:ring-blue-500/30 focus:border-blue-500",r?"border-red-400 bg-red-50":"border-gray-200 bg-gray-50 hover:border-gray-300"),zy=({onNext:r,onBack:u,loading:s,nextLabel:d="Continuar",isLast:h=!1})=>B.jsxDEV("div",{className:"flex gap-2 mt-2 pt-4 border-t border-gray-100",children:[u&&B.jsxDEV("button",{type:"button",onClick:u,className:"flex-1 rounded-lg border border-gray-200 py-2.5 text-sm font-medium text-zinc-600 hover:bg-zinc-600/10 transition-all cursor-pointer",children:"Voltar"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:18,columnNumber:7},void 0),B.jsxDEV("button",{type:"button",onClick:r,disabled:s,className:Jn("flex-2 rounded-lg py-2.5 text-sm font-semibold text-white transition-all cursor-pointer",h?"bg-emerald-600 hover:bg-emerald-500":"bg-(--pbm-primary) hover:bg-(--pbm-primary)/60",s&&"opacity-60 cursor-not-allowed"),children:s?B.jsxDEV("span",{className:"flex items-center justify-center gap-2",children:[B.jsxDEV("svg",{className:"h-4 w-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[B.jsxDEV("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:41,columnNumber:13},void 0),B.jsxDEV("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:49,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:40,columnNumber:11},void 0),"Enviando..."]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:39,columnNumber:9},void 0):d},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:26,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:16,columnNumber:3},void 0),fb={PersonalData:0,Address:1,GenderResponsibility:2,Doctor:3,Acceptances:4},vO=({securityNumber:r,onNext:u})=>{const{personalData:s,setPersonalData:d,setStep:h}=Xf(),{setModal:y}=$f(),[b,E]=it.useState({}),[N,C]=it.useState(!1),U=()=>{const R={};return(!s.name.trim()||s.name.trim().split(" ").length<2)&&(R.name="Informe o nome completo."),/^\(\d{2}\) \d{5}-\d{4}$/.test(s.phone)||(R.phone="Telefone inválido."),s.birthday||(R.birthday="Data de nascimento obrigatória."),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s.email)||(R.email="E-mail inválido."),E(R),Object.keys(R).length===0},A=async()=>{if(U()){C(!0);try{h(fb.Address),u()}catch{console.error("An error occurred while setting personal data form.")}finally{C(!1)}}};return B.jsxDEV("div",{className:"flex flex-col gap-4",children:[B.jsxDEV(wl,{label:"CPF",children:[B.jsxDEV("input",{className:My,value:pi.cpf(r),disabled:!0,readOnly:!0},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:58,columnNumber:9},void 0),B.jsxDEV("p",{className:"text-xs text-gray-400 mt-1",children:B.jsxDEV("button",{type:"button",className:"text-(--pbm-primary) hover:text-(--pbm-primary)/60 cursor-pointer underline underline-offset-2 transition-colors",onClick:()=>y({id:"",open:!1}),children:"Deseja alterar o CPF? Clique aqui."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:65,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:64,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:57,columnNumber:7},void 0),B.jsxDEV(wl,{label:"Nome completo",error:b.name,children:B.jsxDEV("input",{className:ho(b.name),placeholder:"Ex: João da Silva",value:s.name,onChange:R=>{d({name:R.target.value}),E(z=>({...z,name:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:76,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:75,columnNumber:7},void 0),B.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[B.jsxDEV(wl,{label:"Telefone",error:b.phone,children:B.jsxDEV("input",{className:ho(b.phone),placeholder:"(11) 99999-8888",value:s.phone,onChange:R=>{d({phone:pi.phone(R.target.value)}),E(z=>({...z,phone:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:89,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:88,columnNumber:9},void 0),B.jsxDEV(wl,{label:"Data de nascimento",error:b.birthday,children:B.jsxDEV("input",{type:"date",className:ho(b.birthday),value:s.birthday,onChange:R=>{d({birthday:R.target.value}),E(z=>({...z,birthday:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:101,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:100,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:87,columnNumber:7},void 0),B.jsxDEV(wl,{label:"E-mail",error:b.email,children:B.jsxDEV("input",{type:"email",className:ho(b.email),placeholder:"joao@email.com",value:s.email,onChange:R=>{d({email:R.target.value}),E(z=>({...z,email:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:114,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:113,columnNumber:7},void 0),B.jsxDEV(zy,{onNext:A,loading:N},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:126,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:56,columnNumber:5},void 0)};async function bO({postal_code:r}){const u=await fetch(`${Zf("VITE_CORREIOS_API_URL")}/${r}/json/`);if(!u.ok)throw new Error("Erro ao consultar CEP");return{...await u.json(),success:!0}}const SO=({onNext:r,onBack:u})=>{const{address:s,setAddress:d,setStep:h}=Xf(),[y,b]=it.useState({}),[E,N]=it.useState(!1),[C,U]=it.useState(!1),A=it.useCallback(async Q=>{const j=Q.replace(/\D/g,"");if(j.length===8){N(!0);try{const F=await bO({postal_code:j});if(!F.success){console.error("Failed to lookup postal code");return}d({street:F.logradouro,neighborhood:F.bairro,uf:F.uf,city:F.localidade,stateAddress:F.estado,postalcode:F.cep,complement:F.complemento||""})}catch{console.error("Failed to fetch address for CEP:",Q)}finally{N(!1)}}},[d]),R=()=>{const Q={};return/^\d{5}-\d{3}$/.test(s.postalcode)||(Q.postalcode="CEP inválido."),s.number.trim()||(Q.number="Número obrigatório."),b(Q),Object.keys(Q).length===0},z=async()=>{if(R()){U(!0);try{h(fb.GenderResponsibility),r()}catch{console.log("An error occurred while submitting address form.")}finally{U(!1)}}};return B.jsxDEV("div",{className:"flex flex-col gap-4",children:[B.jsxDEV(wl,{label:"CEP",error:y.postalcode,children:B.jsxDEV("div",{className:"relative",children:[B.jsxDEV("input",{className:ho(y.postalcode),placeholder:"00000-000",value:s.postalcode,onChange:Q=>{const j=pi.cep(Q.target.value);d({postalcode:j}),b(F=>({...F,postalcode:void 0})),j.replace(/\D/g,"").length===8&&A(j)}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:87,columnNumber:11},void 0),E&&B.jsxDEV("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:B.jsxDEV("svg",{className:"h-4 w-4 animate-spin text-blue-500",viewBox:"0 0 24 24",fill:"none",children:[B.jsxDEV("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:109,columnNumber:17},void 0),B.jsxDEV("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:117,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:104,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:103,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:86,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:85,columnNumber:7},void 0),B.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[B.jsxDEV(wl,{label:"Rua",children:B.jsxDEV("input",{className:My,value:s.street||"",disabled:!0,readOnly:!0,placeholder:"Preenchido pelo CEP"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:130,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:129,columnNumber:9},void 0),B.jsxDEV(wl,{label:"Bairro",children:B.jsxDEV("input",{className:My,value:s.neighborhood||"",disabled:!0,readOnly:!0,placeholder:"Preenchido pelo CEP"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:139,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:138,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:128,columnNumber:7},void 0),B.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[B.jsxDEV(wl,{label:"Cidade",children:B.jsxDEV("input",{className:My,value:s.city||"",disabled:!0,readOnly:!0,placeholder:"Preenchido pelo CEP"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:151,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:150,columnNumber:9},void 0),B.jsxDEV(wl,{label:"Estado",children:B.jsxDEV("input",{className:My,value:s.stateAddress||"",disabled:!0,readOnly:!0,placeholder:"UF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:160,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:159,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:149,columnNumber:7},void 0),B.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[B.jsxDEV(wl,{label:"Número",error:y.number,children:B.jsxDEV("input",{className:ho(y.number),placeholder:"Ex: 100",value:s.number,onChange:Q=>{d({number:Q.target.value}),b(j=>({...j,number:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:172,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:171,columnNumber:9},void 0),B.jsxDEV(wl,{label:"Complemento",children:B.jsxDEV("input",{className:ho(),placeholder:"Apto, bloco...",value:s.complement,onChange:Q=>d({complement:Q.target.value})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:183,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:182,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:170,columnNumber:7},void 0),B.jsxDEV(zy,{onNext:z,onBack:u,loading:C},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:192,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:84,columnNumber:5},void 0)},EO=({onNext:r,onBack:u})=>{const{genderResponsibility:s,setGenderResponsibility:d,setStep:h}=Xf(),[y,b]=it.useState({}),[E,N]=it.useState(!1),C=()=>{const R={};return s.gender||(R.gender="Selecione o gênero."),s.patient===null&&(R.patient="Informe se é o paciente."),b(R),Object.keys(R).length===0},U=async()=>{if(C()){N(!0);try{h(fb.Doctor),r()}catch{console.error("An error occurred while submitting gender responsibility data.")}finally{N(!1)}}},A=[{value:"M",label:"Masculino"},{value:"F",label:"Feminino"},{value:"O",label:"Outro"}];return B.jsxDEV("div",{className:"flex flex-col gap-5",children:[B.jsxDEV("div",{children:[B.jsxDEV("label",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide block mb-2",children:"Gênero"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:56,columnNumber:9},void 0),B.jsxDEV("div",{className:"flex gap-2",children:A.map(R=>B.jsxDEV("button",{type:"button",onClick:()=>{d({gender:R.value}),b(z=>({...z,gender:void 0}))},className:Jn("flex-1 py-2.5 cursor-pointer px-2.5 rounded-lg border text-sm font-medium transition-all",s.gender===R.value?"border-(--pbm-primary) bg-(--pbm-primary) text-white":"border-gray-200 bg-gray-50 text-gray-600 hover:border-(--pbm-primary)"),children:R.label},R.value,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:61,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:59,columnNumber:9},void 0),y.gender&&B.jsxDEV("span",{className:"text-xs text-red-500 mt-1 block",children:y.gender},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:80,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:55,columnNumber:7},void 0),B.jsxDEV("div",{children:[B.jsxDEV("label",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide block mb-2",children:"Você é o paciente?"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:87,columnNumber:9},void 0),B.jsxDEV("div",{className:"flex gap-2",children:[{label:"Sim, sou o paciente",value:!0},{label:"Não, sou responsável",value:!1}].map(R=>B.jsxDEV("button",{type:"button",onClick:()=>{d({patient:R.value}),b(z=>({...z,patient:void 0}))},className:Jn("flex-1 py-2.5 px-2.5 text-nowrap cursor-pointer rounded-lg border text-sm font-medium transition-all",s.patient===R.value?"border-(--pbm-primary) bg-(--pbm-primary) text-white":"border-gray-200 bg-gray-50 text-gray-600 hover:border-(--pbm-primary)"),children:R.label},String(R.value),!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:95,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:90,columnNumber:9},void 0),y.patient&&B.jsxDEV("span",{className:"text-xs text-red-500 mt-1 block",children:y.patient},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:114,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:86,columnNumber:7},void 0),B.jsxDEV(zy,{onNext:U,onBack:u,loading:E},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:120,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:54,columnNumber:5},void 0)},xO=["AC","AL","AP","AM","BA","CE","DF","ES","GO","MA","MT","MS","MG","PA","PB","PR","PE","PI","RJ","RN","RS","RO","RR","SC","SP","SE","TO"],_O=({onNext:r,onBack:u})=>{const{doctor:s,setDoctor:d,setStep:h}=Xf(),[y,b]=it.useState({}),[E,N]=it.useState(!1),C=()=>{const A={};return s.typeCredential||(A.typeCredential="Tipo de credencial obrigatório."),s.register.trim()||(A.register="Número do registro obrigatório."),s.state||(A.state="Estado obrigatório."),s.doctorName.trim()||(A.doctorName="Nome do médico obrigatório."),b(A),Object.keys(A).length===0},U=async()=>{if(C()){N(!0);try{h(fb.Acceptances),r()}catch{console.error("An error occurred while submitting doctor data.")}finally{N(!1)}}};return B.jsxDEV("div",{className:"flex flex-col gap-4",children:[B.jsxDEV("div",{className:"grid grid-cols-3 gap-3",children:[B.jsxDEV(wl,{label:"Tipo credencial",error:y.typeCredential,children:B.jsxDEV("select",{className:ho(y.typeCredential),value:s.typeCredential,onChange:A=>{d({typeCredential:A.target.value}),b(R=>({...R,typeCredential:void 0}))},children:[B.jsxDEV("option",{value:"CRM",children:"CRM"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:63,columnNumber:13},void 0),B.jsxDEV("option",{value:"CRO",children:"CRO"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:64,columnNumber:13},void 0),B.jsxDEV("option",{value:"CRF",children:"CRF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:65,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:52,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:51,columnNumber:9},void 0),B.jsxDEV(wl,{label:"Estado (UF)",error:y.state,children:B.jsxDEV("select",{className:ho(y.state),value:s.state,onChange:A=>{d({state:A.target.value}),b(R=>({...R,state:void 0}))},children:[B.jsxDEV("option",{value:"",children:"UF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:78,columnNumber:13},void 0),xO.map(A=>B.jsxDEV("option",{value:A,children:A},A,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:80,columnNumber:15},void 0))]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:70,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:69,columnNumber:9},void 0),B.jsxDEV(wl,{label:"Nº registro",error:y.register,children:B.jsxDEV("div",{className:"relative",children:B.jsxDEV("input",{className:ho(y.register),placeholder:"Ex: 123456",value:s.register,onChange:A=>{d({register:A.target.value.replace(/\D/g,"")}),b(R=>({...R,register:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:89,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:88,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:87,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:50,columnNumber:7},void 0),B.jsxDEV(wl,{label:"Nome do médico",error:y.doctorName,children:[B.jsxDEV("div",{className:"relative",children:B.jsxDEV("input",{className:ho(y.doctorName),placeholder:"Nome Completo do Profissional",value:s.doctorName,onChange:A=>{d({doctorName:A.target.value}),b(R=>({...R,doctorName:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:106,columnNumber:9},void 0),B.jsxDEV("p",{className:"text-xs text-gray-400 mt-0.5",children:"Preenchido automaticamente ao informar registro + UF."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:120,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:105,columnNumber:7},void 0),B.jsxDEV(zy,{onNext:U,onBack:u,loading:E},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:125,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:49,columnNumber:5},void 0)},jy=({label:r,checked:u,onChange:s,required:d,error:h})=>B.jsxDEV("label",{className:Jn("flex items-start gap-3 cursor-pointer group p-3 rounded-lg border transition-all",u?"border-emerald-200 bg-emerald-50/60":"border-zinc-100 hover:border-zinc-200 bg-zinc-50/40",h?"border-red-300 bg-red-50/40":""),children:[B.jsxDEV("div",{className:Jn("mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded border transition-all",u?"border-(--pbm-primary) bg-(--pbm-primary)":"border-zinc-300 bg-white"),children:u&&B.jsxDEV("svg",{className:"h-2.5 w-2.5 text-white",viewBox:"0 0 10 8",fill:"none",children:B.jsxDEV("path",{d:"M1 4l3 3 5-6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:35,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:34,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:25,columnNumber:5},void 0),B.jsxDEV("span",{className:"text-sm text-zinc-700 leading-snug",children:[r,d&&B.jsxDEV("span",{className:"text-red-400 ml-1",children:"*"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:47,columnNumber:20},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:45,columnNumber:5},void 0),B.jsxDEV("input",{type:"checkbox",className:"sr-only",checked:u,onChange:y=>s(y.target.checked)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:49,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:16,columnNumber:3},void 0),TO=async({product:r,consumer:u,healthProfessional:s})=>{const d=Gn.get("tenant_id");if(!d)throw new Error(`No configuration found for tenant: ${d}`);if(!u)throw new Error("Consumer information is required");if(!s)throw new Error("Health professional information is required");if(!r)throw new Error("Product information is required");try{const y=await(await fetch(`${Zf("VITE_API_URL")}/api/discount.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${Gn.get("pbm-token")}`},body:JSON.stringify({tenant_id:d,product:r,table_id:Gn.get("current-table-id"),local_hour:Gn.get("current-local-hour"),consumer:u,healthProfessional:s})})).json();if(!y.success)throw new Error("PBMLOG: Enable Discount Failed!");return Gn.set("current-central-number",y.product[0].centralNumber.toString(),{secure:!0,sameSite:"Strict",expires:1}),Gn.set("current-term-code",y.product[0].activationFields.acceptLgpd.termCode.value.toString(),{secure:!0,sameSite:"Strict",expires:1}),y}catch(h){return console.error("Error during enable discount:",h),{success:!1,error:"Authorization failed"}}},CO=async({product:r,consumer:u,healthProfessional:s})=>{const d=Gn.get("tenant_id");if(!d)throw new Error(`No configuration found for tenant: ${d}`);if(!u)throw new Error("Consumer information is required");if(!s)throw new Error("Health professional information is required");if(!r)throw new Error("Product information is required");try{const y=await(await fetch(`${Zf("VITE_API_URL")}/api/activate.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${Gn.get("pbm-token")}`},body:JSON.stringify({tenant_id:d,product:r,table_id:Gn.get("current-table-id"),local_hour:Gn.get("current-local-hour"),central_number:Gn.get("current-central-number"),consumer:u,healthProfessional:s,acceptLgpd:{evidenceType:"SITE",evidence:"VSTOSITE",termCode:Gn.get("current-term-code")}})})).json();if(!y.success)throw new Error("PBMLOG: Activate Failed!");return y}catch(h){return console.error("Error during activate:",h),{success:!1,error:"Authorization failed"}}},NO=({onBack:r,onDone:u,securityNumber:s})=>{const{acceptances:d,setAcceptances:h}=Xf(),{targetProduct:y,cardID:b}=hr(),[E,N]=it.useState({}),[C,U]=it.useState(!1),A=Xf.getState(),R=()=>{const j={};return d.acceptsPrivacyTermsLGPD||(j.lgpd="É obrigatório aceitar os termos de privacidade (LGPD)."),N(j),Object.keys(j).length===0},z=async j=>{try{const F=await CO(j);console.log("Activate response:",F)}catch(F){console.error("Error during consumer activation:",F)}},Q=async()=>{if(!R())return;if(U(!0),!y){console.error("No target product found in PBM store."),U(!1);return}const j=A.personalData.phone.replace(/\D/g,""),F=j.slice(0,2),fe=j.slice(2),ge={consumer:{holderId:s,cardId:b||"",name:A.personalData.name,email:A.personalData.email,birthdate:A.personalData.birthday,genre:A.genderResponsibility.gender,postalCode:A.address.postalcode.replace(/\D/g,""),stateCode:A.address.uf||"",cityName:A.address.city||"",cityRegion:A.address.neighborhood||"",addressType:"casa",streetAddress:A.address.street||"",addressNumber:A.address.number||"",addressAdditionalInformation:A.address.complement||"",DDDcellPhone:F,cellphone:fe,acceptInformativeMaterial:d.acceptsMail?"S":"N",acceptMail:d.acceptsMail?"S":"N",acceptEmail:d.acceptsEmail?"S":"N",acceptCalls:d.acceptPhone?"S":"N",acceptSMS:d.acceptsSms?"S":"N",acceptTerm:d.acceptsPrivacyTermsLGPD?"S":"N",acceptWhatsApp:"N"},healthProfessional:{id:A.doctor.register,stateCode:A.doctor.state,type:A.doctor.typeCredential,name:A.doctor.doctorName},product:{id:y.id,ean:y.ean,requestedQuantity:y.requestedQuantity,listPrice:y.listPrice,netPrice:y.netPrice}};try{const De=await TO(ge);De.success?await z(ge):console.error("Failed to enable discount:",De),u()}catch{console.error("An error occurred while submitting acceptances data.")}finally{U(!1)}};return B.jsxDEV("div",{className:"flex flex-col gap-3",children:[B.jsxDEV("p",{className:"text-xs text-gray-500 mb-1",children:"Selecione como deseja receber comunicações:"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:119,columnNumber:7},void 0),B.jsxDEV(jy,{label:"Aceito receber contato por telefone",checked:d.acceptPhone,onChange:j=>h({acceptPhone:j})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:123,columnNumber:7},void 0),B.jsxDEV(jy,{label:"Aceito receber SMS",checked:d.acceptsSms,onChange:j=>h({acceptsSms:j})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:128,columnNumber:7},void 0),B.jsxDEV(jy,{label:"Aceito receber e-mails",checked:d.acceptsEmail,onChange:j=>h({acceptsEmail:j})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:133,columnNumber:7},void 0),B.jsxDEV(jy,{label:"Aceito receber correspondências por correio",checked:d.acceptsMail,onChange:j=>h({acceptsMail:j})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:138,columnNumber:7},void 0),B.jsxDEV("div",{className:"mt-1",children:[B.jsxDEV(jy,{label:"Li e aceito os Termos de Privacidade (LGPD)",checked:d.acceptsPrivacyTermsLGPD,onChange:j=>{h({acceptsPrivacyTermsLGPD:j}),N({})},required:!0,error:E.lgpd},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:145,columnNumber:9},void 0),E.lgpd&&B.jsxDEV("span",{className:"text-xs text-red-500 mt-1 block pl-1",children:E.lgpd},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:156,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:144,columnNumber:7},void 0),B.jsxDEV(zy,{onNext:Q,onBack:r,loading:C,nextLabel:"Concluir cadastro",isLast:!0},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:162,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:118,columnNumber:5},void 0)},AT=["Dados Pessoais","Endereço","Perfil","Médico","Aceites"],AO=({current:r})=>B.jsxDEV("div",{className:"flex items-center w-full justify-center mb-6",children:AT.map((u,s)=>{const d=s<r,h=s===r;return B.jsxDEV("div",{className:"flex items-center w-full min-w-0 justify-center relative",children:[B.jsxDEV("div",{className:"flex flex-col items-center justify-center gap-1 shrink-0 z-10",children:[B.jsxDEV("div",{className:Jn("flex h-7 w-7 items-center justify-center rounded-full text-xs font-semibold transition-all",d?"bg-emerald-600 text-white":h?"bg-(--pbm-primary) text-white ring-4 ring-(--pbm-primary)/15":"bg-zinc-100 text-zinc-400"),children:d?B.jsxDEV("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 12 10",fill:"none",children:B.jsxDEV("path",{d:"M1 5l4 4 6-8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:34,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:33,columnNumber:17},void 0):s+1},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:22,columnNumber:13},void 0),B.jsxDEV("span",{className:Jn("text-[10px] font-medium whitespace-nowrap hidden sm:block",h?"text-(--pbm-primary)":d?"text-emerald-600":"text-zinc-400"),children:u},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:46,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:21,columnNumber:11},void 0),s<AT.length-1&&B.jsxDEV("div",{className:Jn("h-0.5 w-full rounded transition-all absolute top-3.5 left-10","bg-zinc-200")},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:60,columnNumber:13},void 0)]},s,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:17,columnNumber:9},void 0)})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:12,columnNumber:3},void 0),DO=({onClose:r})=>B.jsxDEV("div",{className:"flex flex-col items-center gap-4 py-4 text-center",children:[B.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-green-100",children:B.jsxDEV("svg",{className:"h-8 w-8 text-green-500",viewBox:"0 0 24 24",fill:"none",children:B.jsxDEV("path",{d:"M5 13l4 4L19 7",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:5,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:4,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:3,columnNumber:5},void 0),B.jsxDEV("div",{children:[B.jsxDEV("h3",{className:"text-base font-semibold text-gray-800",children:"Cadastro concluído!"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:15,columnNumber:7},void 0),B.jsxDEV("p",{className:"text-sm text-zinc-500 mt-1",children:"Você já pode aproveitar os benefícios de farmácia."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:18,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:14,columnNumber:5},void 0),B.jsxDEV("button",{onClick:r,className:"cursor-pointer mt-2 rounded-lg bg-(--primary-color) px-6 py-2.5 text-sm font-semibold text-white hover:bg-(--primary-color)/80 transition-all",children:"Fechar"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:22,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:2,columnNumber:3},void 0),RO=({ID:r})=>{const{modal:u,setModal:s}=$f(),{securityNumber:d}=hr(),{resetForm:h,step:y,setStep:b}=Xf(),[E,N]=it.useState(!1),C=()=>{s({id:"",open:!1}),setTimeout(()=>{b(0),N(!1),h()},300)},U=()=>b(y+1),A=()=>b(y-1),R=d.replace(/\D/g,""),z=[B.jsxDEV(vO,{securityNumber:R,onNext:U},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:36,columnNumber:5},void 0),B.jsxDEV(SO,{securityNumber:R,onNext:U,onBack:A},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:37,columnNumber:5},void 0),B.jsxDEV(EO,{securityNumber:R,onNext:U,onBack:A},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:42,columnNumber:5},void 0),B.jsxDEV(_O,{securityNumber:R,onNext:U,onBack:A},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:47,columnNumber:5},void 0),B.jsxDEV(NO,{securityNumber:R,onBack:A,onDone:()=>N(!0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:52,columnNumber:5},void 0)];return B.jsxDEV("main",{className:Jn("fixed inset-0 flex items-center justify-end z-50 flex-col transition-all shadow bg-black/40",{"opacity-100 pointer-events-auto":u.id===r&&u.open,"opacity-0 pointer-events-none":u.id!==r||!u.open}),children:[B.jsxDEV("div",{className:"absolute inset-0",onClick:C},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:69,columnNumber:7},void 0),B.jsxDEV("section",{className:"z-10 bg-white flex flex-col p-6 rounded-2xl w-full max-w-125 min-w-125 mx-4 shadow-xl max-h-[90vh] overflow-y-auto",children:[B.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[B.jsxDEV(Zm,{textSize:"18px",textAlign:"start",children:E?"Tudo pronto!":"Benefício de Farmácia"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:73,columnNumber:11},void 0),B.jsxDEV("button",{onClick:C,className:"flex h-7 w-7 cursor-pointer items-center justify-center rounded-full text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-all",children:B.jsxDEV("svg",{className:"h-4 w-4",viewBox:"0 0 14 14",fill:"none",children:B.jsxDEV("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:81,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:80,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:76,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:72,columnNumber:9},void 0),!E&&B.jsxDEV(AO,{current:y},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:91,columnNumber:19},void 0),E?B.jsxDEV(DO,{onClose:C},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:93,columnNumber:17},void 0):z[y]]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:71,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:60,columnNumber:5},void 0)},OO=r=>r===void 0?"":"?"+Object.keys(r).map(u=>u+"="+r[u]).join("&");function wO(r){const{setState:u}=hr();return B.jsxDEV("a",{...r,target:r.target||"_self",href:typeof r.href=="string"?r.href:r.href.pathname+OO(r.href.param),className:Jn("w-3xs cursor-pointer h-10 rounded-lg text-white text-sm font-semibold transition-colors flex items-center justify-center",r.className),style:{backgroundColor:"var(--pbm-primary)"},onMouseOver:s=>s.currentTarget.style.backgroundColor="var(--pbm-secondary)",onMouseOut:s=>s.currentTarget.style.backgroundColor="var(--pbm-primary)","data-testid":"test_id_link",id:"link_pbm",onClick:()=>u("isEmpty"),children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Link/index.tsx",lineNumber:18,columnNumber:5},this)}const MO=({ID:r})=>{const{customLoginUrl:u}=hr(),{modal:s,setModal:d}=$f();return B.jsxDEV("main",{className:Jn("fixed inset-0 flex items-center justify-center z-50 flex-col transition-all shadow bg-black/40",{"opacity-100 pointer-events-auto":s.id===r&&s.open,"opacity-0 pointer-events-none":s.id!=r||!s.open}),children:[B.jsxDEV("div",{className:"absolute inset-0",onClick:()=>d({id:"",open:!1})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:23,columnNumber:7},void 0),B.jsxDEV("section",{className:"z-10 bg-white gap-2 flex-col items-center-safe justify-center-safe p-8 rounded-xl",children:[B.jsxDEV(Zm,{textColor:"tomato",textSize:"18px",textAlign:"center",className:"mb-2",children:"Opa! Parece que você não está Logado"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:28,columnNumber:9},void 0),B.jsxDEV(cb,{className:"mb-2",textAlign:"center",children:["Para aproveitar os benefícios é necessário realizar o"," ",B.jsxDEV("strong",{children:"Login"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:38,columnNumber:11},void 0)," ou ",B.jsxDEV("strong",{children:"Cadastro"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:38,columnNumber:37},void 0)," no site!"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:36,columnNumber:9},void 0),B.jsxDEV("section",{className:"flex items-center-safe justify-center-safe gap-4",children:[B.jsxDEV(qu,{className:"bg-gray-600 hover:bg-gray-500",onClick:()=>d({id:"",open:!1}),children:"Seguir sem Benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:41,columnNumber:11},void 0),B.jsxDEV(wO,{href:u||"/login",children:"Aproveitar Benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:47,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:40,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:27,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:14,columnNumber:5},void 0)};function DT(r){var u,s,d="";if(typeof r=="string"||typeof r=="number")d+=r;else if(typeof r=="object")if(Array.isArray(r)){var h=r.length;for(u=0;u<h;u++)r[u]&&(s=DT(r[u]))&&(d&&(d+=" "),d+=s)}else for(s in r)r[s]&&(d&&(d+=" "),d+=s);return d}function RT(){for(var r,u,s=0,d="",h=arguments.length;s<h;s++)(r=arguments[s])&&(u=DT(r))&&(d&&(d+=" "),d+=u);return d}var db={exports:{}},mb={exports:{}},fn={};/** @license React v16.13.1
83
+ */const t1=rh("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),ih={modal:{id:"",open:!1,label:"",url:""}},nn=Tu(r=>({...ih,setModal:n=>r({modal:n}),resetModal:()=>r({modal:ih.modal})})),a1=r=>r.replace(/\D/g,"").slice(0,11).replace(/^(\d{2})(\d{5})(\d{0,4})/,"($1) $2-$3").trim(),r1=r=>r.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d{0,3})/,"$1-$2"),n1=r=>r.replace(/\D/g,"").replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"),lh=r=>Number(String(r).replace(",",".")),i1=r=>{const n=String(r);if(n.includes(".")||n.includes(","))return lh(r);const l=n.slice(-2);return+`${n.slice(0,-2)||"0"}.${l}`},l1=r=>{const n=r.slice(-2);return+`${r.slice(0,-2)||"0"}.${n}`};function s1(r){return String(r).replace(/[.,]/g,"")}const ba={phone:r=>a1(r),cep:r=>r1(r),cpf:r=>n1(r),priceToInteger:r=>s1(r),price:r=>lh(r),transformPrice:r=>i1(r),transformPorcent:r=>l1(r)};/*! js-cookie v3.0.5 | MIT */function ps(r){for(var n=1;n<arguments.length;n++){var l=arguments[n];for(var s in l)r[s]=l[s]}return r}var o1={read:function(r){return r[0]==='"'&&(r=r.slice(1,-1)),r.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(r){return encodeURIComponent(r).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Hu(r,n){function l(o,f,d){if(!(typeof document>"u")){d=ps({},n,d),typeof d.expires=="number"&&(d.expires=new Date(Date.now()+d.expires*864e5)),d.expires&&(d.expires=d.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var h="";for(var y in d)d[y]&&(h+="; "+y,d[y]!==!0&&(h+="="+d[y].split(";")[0]));return document.cookie=o+"="+r.write(f,o)+h}}function s(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var f=document.cookie?document.cookie.split("; "):[],d={},h=0;h<f.length;h++){var y=f[h].split("="),p=y.slice(1).join("=");try{var x=decodeURIComponent(y[0]);if(d[x]=r.read(p,x),o===x)break}catch{}}return o?d[o]:d}}return Object.create({set:l,get:s,remove:function(o,f){l(o,"",ps({},f,{expires:-1}))},withAttributes:function(o){return Hu(this.converter,ps({},this.attributes,o))},withConverter:function(o){return Hu(ps({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}var nt=Hu(o1,{path:"/"});const Gu={BASE_URL:"/",DEV:!0,MODE:"production",PROD:!1,SSR:!1,VITE_API_URL:"https://serverless-pbm.vercel.app",VITE_CLIENT_ID_SANTOREMEDIO:"fff909d6-a77e-4ffc-a4bb-47a1cde99621",VITE_CLIENT_SECRET_SANTOREMEDIO:"ZTK8Q~gqjOkbBmH3vN1AIsKUbwkhUYOkzfvIUb18",VITE_CORREIOS_API_URL:"https://viacep.com.br/ws",VITE_GRANT_TYPE_SANTOREMEDIO:"client_credentials",VITE_SCOPE_SANTOREMEDIO:"https://interplayersdevb2c.onmicrosoft.com/services/varejo-api-pre/.default",VITE_USERNAME_SANTOREMEDIO:"147de435-fac6-4c57-95d8-bb06feb0496b"};var u1={},Zu={};const ln=r=>{if(typeof{url:Ja&&Ja.tagName.toUpperCase()==="SCRIPT"&&Ja.src||new URL("vanilla.js",document.baseURI).href}<"u")return Gu==null?void 0:Gu[r];if(typeof u1<"u")return Zu==null?void 0:Zu[r]},c1=async({product:r,consumer:n})=>{const l=nt.get("tenant_id");if(!l)throw new Error(`No configuration found for tenant: ${l}`);if(!n||!n.holderId)throw new Error("Consumer holderId information is required");if(!r)throw new Error("Product information is required");const s={id:r.id,ean:r.ean,requestedQuantity:r.requestedQuantity,listPrice:r.listPrice,netPrice:r.netPrice};try{const f=await(await fetch(`${ln("VITE_API_URL")}/api/lookup-consumer.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${nt.get("pbm-token")}`},body:JSON.stringify({tenant_id:l,product:s,table_id:nt.get("current-table-id"),local_hour:nt.get("current-local-hour"),consumer:n})})).json();if(!f.success)throw new Error("PBMLOG: Enable Discount Failed!");return f}catch(o){return console.error("Error during enable discount:",o),{success:!1,error:"Authorization failed"}}};function f1({startTransition:r}){const n=Jt(),[l,s]=ge.useState(!1),{setModal:o}=nn(),{handleSubmit:f,register:d,setValue:h,clearErrors:y,unregister:p,formState:{errors:x}}=Lv({resolver:Kv(fv),mode:"onSubmit",defaultValues:{securityNumber:n.securityNumber||"",coupon:""}}),N=async S=>{if(n.targetProduct===null){console.error("PBMLOG: Product is not defined!");return}if(!n.targetProduct.id){console.error("PBMLOG: Product ID is not defined!");return}if(!n.targetProduct.listPrice){console.error("PBMLOG: List Price is not defined!");return}n.setSecurityNumber(S.securityNumber.replace(/\D/g,""));const k=await c1({product:n.targetProduct,consumer:{holderId:S.securityNumber.replace(/\D/g,"")}});if(!k.success){o({id:"CustomerNotRegistered",open:!0});return}n.setBenefitsList(k.product),n.setState("isActivated")},C=async S=>{if(!n.isAuthenticatedShopper){o({id:"ShopperIsNotAuthenticated",open:!0});return}l||h("coupon",void 0,{shouldValidate:!1}),l&&S.coupon!=null&&n.setCardID(S.coupon),r(async()=>{await N(S)})};return v.jsxDEV(v.Fragment,{children:[v.jsxDEV("form",{onSubmit:f(C),className:st("w-full h-auto flex items-start justify-center flex-col mb-2 transition-all duration-150"),id:"form_security_number_pbm",children:[v.jsxDEV("label",{htmlFor:"input_security_number_pbm",className:st("w-full h-auto flex items-start flex-col justify-center relative py-2 transition-all duration-100",{"mb-4":x.securityNumber&&!l}),id:"label_security_number_pbm",children:[v.jsxDEV("input",{type:"text",className:st("w-full h-10 bg-(--pbm-input-background) rounded-lg text-sm font-semibold outline-(--pbm-outline-color) focus:outline focus:bg-(--pbm-input-focus) focus:outline-(--pbm-outline-focus-color) text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":x.securityNumber,"rounded-lg":l}),style:{"--tw-outline-color":x.securityNumber?void 0:"var(--pbm-secondary)"},placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...d("securityNumber",{onChange:S=>{const k=ba.cpf(S.target.value);h("securityNumber",k,{shouldValidate:!0})}}),defaultValue:n.securityNumber||"",id:"input_security_number_pbm"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:124,columnNumber:11},this),x.securityNumber&&v.jsxDEV("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:x.securityNumber.message},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:155,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:114,columnNumber:9},this),v.jsxDEV(ge.Activity,{mode:l?"visible":"hidden",children:v.jsxDEV("label",{htmlFor:"input_coupon_pbm",className:st("w-full h-auto flex items-start flex-col justify-center relative py-2",{"mt-2":x.securityNumber}),id:"label_coupon_pbm",children:[v.jsxDEV("input",{type:"text",className:st("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":x.coupon,"rounded-lg":l}),style:{"--tw-outline-color":x.coupon?void 0:"var(--pbm-secondary)"},placeholder:"Cupom / ID do Cartão",...d("coupon",{required:l?"Cupom / ID do Cartão obrigatório.":!1,shouldUnregister:!l,onChange:S=>{h("coupon",S.target.value,{shouldValidate:l})}}),id:"input_coupon_pbm"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:175,columnNumber:13},this),x.coupon&&v.jsxDEV("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:x.coupon.message},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:206,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:165,columnNumber:11},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:164,columnNumber:9},this),v.jsxDEV("button",{type:"submit",className:st("w-full h-10 rounded-lg flex items-center justify-center cursor-pointer text-sm text-white font-semibold transition-all duration-150",{"rounded-lg":l}),style:{backgroundColor:"var(--pbm-primary)"},id:"button_submit_security_number_pbm",children:"Comprar com desconto"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:216,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:107,columnNumber:7},this),v.jsxDEV("section",{className:"flex items-start flex-col gap-2",children:[v.jsxDEV(Wa,{className:"bg-transparent p-0 pl-2 w-auto h-auto underline cursor-pointer hover:bg-transparent flex items-center justify-start gap-1",style:{color:"var(--pbm-text)"},onMouseOver:S=>S.currentTarget.style.filter="brightness(0.8)",onMouseOut:S=>S.currentTarget.style.filter="none",onClick:()=>{const S=!l;s(S),S||(p("coupon"),y("coupon"))},id:"check_benefits_button",children:[v.jsxDEV("span",{className:"text-start",children:l?"Não possui Cupom / ID do Cartão?":"Possui Cupom / ID do Cartão?"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:250,columnNumber:11},this),v.jsxDEV(nh,{size:16,className:st({"rotate-0":!l,"rotate-180":l})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:255,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:232,columnNumber:9},this),v.jsxDEV(Wa,{className:"bg-transparent p-0 pl-2 w-auto h-auto underline cursor-pointer hover:bg-transparent flex items-center justify-start gap-1",style:{color:"var(--pbm-text)"},onMouseOver:S=>S.currentTarget.style.filter="brightness(0.8)",onMouseOut:S=>S.currentTarget.style.filter="none",onClick:()=>n.setState("isPreview"),id:"check_benefits_button",children:[v.jsxDEV("span",{children:"Consultar Benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:273,columnNumber:11},this),v.jsxDEV(nh,{size:16},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:274,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:263,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:231,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Form/index.tsx",lineNumber:106,columnNumber:5},this)}function d1({size:r}){return v.jsxDEV("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Camada 1",viewBox:"0 0 500 500",width:r,height:r,children:v.jsxDEV("path",{d:"M421.44 78.56C375.64 32.77 314.76 7.55 250 7.55S124.36 32.77 78.56 78.56C32.77 124.36 7.55 185.24 7.55 250s25.22 125.64 71.01 171.44c45.8 45.79 106.68 71.01 171.44 71.01s125.64-25.22 171.44-71.01c45.79-45.8 71.01-106.68 71.01-171.44s-25.22-125.64-71.01-171.44zm-49.17 121.7L242.88 334.63c-8.98 9.29-23.57 10.17-33.59 2.02l-79.63-64.7c-10.69-8.67-12.33-24.38-3.66-35.07 8.67-10.69 24.38-12.33 35.07-3.65l61.9 50.39L336.5 165.74c4.4-4.75 10.48-7.59 16.95-7.93a24.88 24.88 0 0118.83 7.26c9.72 9.72 9.71 25.48 0 35.19z",fill:"#229b00"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:13,columnNumber:7},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:6,columnNumber:5},this)}function m1({size:r}){return v.jsxDEV("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Camada 1",viewBox:"0 0 500 500",width:r,height:r,children:[v.jsxDEV("circle",{cx:250,cy:250,r:237.45,fill:"#fff"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:29,columnNumber:7},this),v.jsxDEV("path",{d:"M250 492.45c-64.76 0-125.64-25.22-171.44-71.01C32.77 375.64 7.55 314.76 7.55 250S32.77 124.36 78.56 78.56C124.36 32.77 185.24 7.55 250 7.55s125.64 25.22 171.44 71.01c45.79 45.79 71.01 106.68 71.01 171.44s-25.22 125.64-71.01 171.44c-45.79 45.79-106.68 71.01-171.44 71.01zm0-474.9C121.83 17.55 17.55 121.83 17.55 250S121.83 482.45 250 482.45 482.45 378.17 482.45 250 378.17 17.55 250 17.55z",fill:"#d8d8d8"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:30,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:22,columnNumber:5},this)}function h1({size:r,color:n}){return v.jsxDEV("svg",{viewBox:"-0.003 0 99.979 99.979",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",width:r,height:r,children:[v.jsxDEV("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:47,columnNumber:7},this),v.jsxDEV("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:48,columnNumber:7},this),v.jsxDEV("g",{id:"SVGRepo_iconCarrier",children:[v.jsxDEV("path",{fill:"#ffe700",d:"M92.869 7.105c9.478 9.476 9.478 24.832 0 34.308L41.411 92.869c-9.475 9.474-24.833 9.474-34.307 0-9.476-9.475-9.476-24.832 0-34.308L58.562 7.105c9.475-9.473 24.834-9.473 34.307 0z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:54,columnNumber:9},this),v.jsxDEV("path",{fill:n,d:"M32.548 33.122L7.105 58.563c-9.476 9.476-9.476 24.833 0 34.308 9.474 9.475 24.832 9.475 34.307 0L66.85 67.43 32.548 33.122z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:58,columnNumber:9},this),v.jsxDEV("path",{fill:n,d:"M65.43 68.862L31.134 34.568l1.414-1.414 34.294 34.294z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:62,columnNumber:9},this),v.jsxDEV("path",{fill:n,d:"M38.096 41.51L12.7 66.906a5.894 5.894 0 0 0 0 8.339 5.896 5.896 0 0 0 8.339 0l25.396-25.396-8.339-8.339z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:66,columnNumber:9},this),v.jsxDEV("path",{fill:"#ffe700",d:"M75.244 12.7a5.897 5.897 0 0 0-8.343 0L39.51 40.096l8.339 8.339 27.396-27.396a5.899 5.899 0 0 0-.001-8.339z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:70,columnNumber:9},this),v.jsxDEV("path",{fill:n,d:"M47.862 48.444l-1.414 1.414-8.335-8.336 1.414-1.414z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:74,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:53,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:40,columnNumber:5},this)}function p1({size:r,color:n}){return v.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:r,height:r,children:[v.jsxDEV("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:92,columnNumber:7},this),v.jsxDEV("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:93,columnNumber:7},this),v.jsxDEV("g",{id:"SVGRepo_iconCarrier",children:v.jsxDEV("path",{d:"M7.33199 16.3154C6.94146 15.9248 6.3083 15.9248 5.91777 16.3154C5.52725 16.7059 5.52725 17.339 5.91777 17.7296L10.5834 22.3952C11.3644 23.1762 12.6308 23.1762 13.4118 22.3952L18.0802 17.7267C18.4707 17.3362 18.4707 16.703 18.0802 16.3125C17.6897 15.922 17.0565 15.922 16.666 16.3125L13 19.9786V2.0001C13 1.44781 12.5523 1.0001 12 1.0001C11.4477 1.0001 11 1.44781 11 2.0001V19.9833L7.33199 16.3154Z",fill:n},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:99,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:98,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Icons/index.tsx",lineNumber:85,columnNumber:5},this)}const gs={CheckON:d1,CheckOFF:m1,Pills:h1,ArrowDown:p1};function g1(){var y;const{targetProduct:r,benefitsEnabled:n,setBenefitsEnabled:l}=Jt(),s=ba.transformPrice(Number(r==null?void 0:r.listPrice)),o=ba.transformPrice(Number(r==null?void 0:r.discountValue)||0),f=ba.transformPorcent((r==null?void 0:r.discountPercentual)||"0"),d=s*f/100,h=s-o||s-d;return v.jsxDEV("header",{className:"flex items-start justify-start flex-col gap-4 w-full p-0.5 rounded-xl mt-5",id:"header_pbm",children:[v.jsxDEV("label",{className:"flex items-center gap-2 cursor-pointer",htmlFor:"enable_benefits_checkbox",children:[v.jsxDEV("input",{id:"enable_benefits_checkbox",type:"checkbox",name:"option",className:"peer hidden",checked:n,onChange:p=>l(p.target.checked)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:32,columnNumber:9},this),v.jsxDEV("div",{className:"w-5 h-5 border border-(--pbm-primary) rounded-full flex items-center justify-center transition-all duration-300 after:content-[''] after:w-2 after:h-2 after:rounded-full after:bg-(--pbm-primary) after:scale-0 after:transition-transform after:duration-200 peer-checked:after:scale-100"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:42,columnNumber:9},this),v.jsxDEV("p",{className:"font-medium text-(--pbm-primary) select-none text-sm",children:"Desconto de Laboratório"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:43,columnNumber:9},this),v.jsxDEV(gs.Pills,{size:16,color:"var(--pbm-primary)"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:46,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:28,columnNumber:7},this),v.jsxDEV("span",{className:"py-1 rounded-xl shrink-0 text-white text-xl font-bold flex items-center justify-start gap-2 relative","data-testid":"test_id_header_price",id:"header_price",children:v.jsxDEV("section",{className:"flex items-start gap-2 justify-center-safe flex-col",children:[v.jsxDEV("div",{className:"flex items-center-safe justify-start gap-1",children:[v.jsxDEV("span",{className:"line-through text-sm font-light text-zinc-600",children:(y=Number(s))==null?void 0:y.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:56,columnNumber:13},this),v.jsxDEV(gs.ArrowDown,{size:14,color:"var(--pbm-primary)"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:65,columnNumber:13},this),v.jsxDEV("span",{className:"font-semibold text-sm text-(--pbm-primary)",children:[f.toFixed(2),"%"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:67,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:55,columnNumber:11},this),v.jsxDEV("span",{className:"text-lg text-zinc-700 font-bold",children:h==null?void 0:h.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:72,columnNumber:11},this),(r==null?void 0:r.informativeMessage)&&v.jsxDEV("span",{className:"text-xs text-zinc-600 font-medium",children:r==null?void 0:r.informativeMessage},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:82,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:54,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:49,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Header/index.tsx",lineNumber:24,columnNumber:5},this)}function y1({textColor:r}){return v.jsxDEV("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[v.jsxDEV("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 shrink-0 border-gray-300 rounded-full animate-spin",style:{borderTopColor:"var(--pbm-secondary)"},id:"loading_spin"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Loading/index.tsx",lineNumber:8,columnNumber:7},this),v.jsxDEV("p",{className:"text-sm font-semibold text-start",style:{color:r||"var(--pbm-text)"},id:"loading_label",children:"Um momento... estamos verificando seus dados."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Loading/index.tsx",lineNumber:14,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Loading/index.tsx",lineNumber:7,columnNumber:5},this)}function Yu({children:r,variant:n}){const{benefitsEnabled:l}=Jt();return v.jsxDEV("main",{className:st({"border-3 border-(--pbm-border) overflow-hidden flex flex-col items-center justify-center min-w-(--min-container) max-w-(--max-container) w-full h-auto rounded-xl p-4 bg-white gap-4 relative":n==="main","w-full relative":n==="simple","h-0 overflow-hidden":!l&&n==="simple"}),"data-testid":"test_id_container","data-variant":n,id:"container_pbm",children:r},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Container/index.tsx",lineNumber:15,columnNumber:5},this)}function qn(r){return v.jsxDEV("h2",{className:st("text-start font-semibold text-sm",r.className),style:{color:r.textColor||"var(--pbm-text)",fontSize:r.textSize,textAlign:r.textAlign},"data-testid":"test_id_title",id:"title_pbm",children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Title/index.tsx",lineNumber:13,columnNumber:5},this)}function b1({data:r,onChange:n,checked:l}){const{setAvailableDiscountSelected:s,state:o,isAuthenticatedShopper:f}=Jt(),{setModal:d}=nn(),h=r.id+"_"+r.requestedQuantity,y=ba.transformPrice(Number(r==null?void 0:r.grossPrice)||Number(r==null?void 0:r.listPrice)||0),p=ba.transformPrice(Number(r==null?void 0:r.discountValue)||0),x=ba.transformPorcent((r==null?void 0:r.discountPercentual)||"0"),N=p*Number(r.requestedQuantity),C=y*Number(r.requestedQuantity),S=C*x/100,k=C-N||C-S,w=ge.useCallback(()=>{if(l){const te=Q=>Math.round(Q*100)/100;s({discount:{total:te(N),unit:te(p)},quantity:Number(r.requestedQuantity),totalPrice:te(k),grossPrice:r.grossPrice})}},[l,r.requestedQuantity,r.grossPrice,s,N,p,k]);ge.useEffect(()=>{w()},[w]);const q=()=>{if(!f&&o==="isActivated"){d({id:"ShopperIsNotAuthenticated",open:!0});return}n()};return v.jsxDEV("label",{htmlFor:h,className:st("label_benefits w-full flex items-center justify-start bg-zinc-300/60 border border-zinc-400/50 px-4 py-2 transition-colors rounded-lg gap-1",{"cursor-not-allowed":o==="isPreview","cursor-pointer":o==="isActivated"}),style:{borderColor:l?"var(--pbm-primary)":void 0,backgroundColor:l?"color-mix(in srgb, var(--pbm-primary), transparent 90%)":void 0},id:"label_benefits_"+h,children:[v.jsxDEV("input",{type:"radio",name:"benefits_discount",id:h,className:"hidden",checked:l,onChange:q,disabled:o==="isPreview"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:106,columnNumber:7},this),v.jsxDEV("span",{style:{color:"var(--pbm-primary)"},children:l?v.jsxDEV(gs.CheckON,{size:20},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:117,columnNumber:52},this):v.jsxDEV(gs.CheckOFF,{size:20},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:117,columnNumber:21},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:116,columnNumber:7},this),v.jsxDEV("span",{className:"font-semibold text-sm",style:{color:"var(--pbm-text)"},children:[r.requestedQuantity,"un"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:120,columnNumber:7},this),v.jsxDEV("section",{className:"ml-auto relative gap-2 flex items-center-safe justify-end-safe",children:[v.jsxDEV("span",{className:"text-white -top-4 py-0.5 font-semibold text-xs px-2 w-auto text-nowrap rounded-2xl -right-3",style:{backgroundColor:"var(--pbm-primary)"},children:[N.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})," ","OFF"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:128,columnNumber:9},this),v.jsxDEV("strong",{className:"font-semibold text-sm text-center",style:{color:"var(--pbm-text)"},children:k.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:140,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:127,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:89,columnNumber:5},this)}const v1="N000";function x1(){var y;const{setState:r,state:n,customLoginUrl:l,isAuthenticatedShopper:s,benefitsList:o}=Jt(),[f,d]=ge.useState(null),[h]=ge.useState(o);return h!=null&&h.length&&((y=h[0])==null?void 0:y.returnCode)!==v1&&n==="isActivated"?v.jsxDEV("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:v.jsxDEV("p",{className:"text-sm font-semibold text-start",style:{color:"var(--pbm-text)"},id:"benefits_error_handle",children:h[0].informativeText},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:31,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:30,columnNumber:7},this):v.jsxDEV("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[v.jsxDEV(qn,{children:"Descontos disponíveis:"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:47,columnNumber:7},this),v.jsxDEV("form",{className:"flex flex-col items-center justify-start w-full gap-4.5",id:"form_benefits_table_pbm",onSubmit:p=>p.preventDefault(),children:[!h&&v.jsxDEV("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"benefits_empty_pbm",children:"Não foi possível encontrar benefícios para esse produto."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:55,columnNumber:11},this),h&&h.map(p=>{const x=p.id+"_"+p.requestedQuantity;return v.jsxDEV(b1,{data:p,checked:f===x,onChange:()=>d(x)},x,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:68,columnNumber:15},this)})]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:49,columnNumber:7},this),n==="isPreview"&&v.jsxDEV(Wa,{onClick:()=>r("isEmpty"),className:"bg-transparent p-0 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"unauthorized_benefits_button",children:["Atenção: Não é possível utilizar os benefícos sem realizar a consulta do CPF e o Login, por favor"," ",v.jsxDEV("span",{className:"underline",children:"insira seu cpf para utilizar os benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:86,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:79,columnNumber:9},this),n==="isActivated"&&v.jsxDEV(v.Fragment,{children:[!s&&v.jsxDEV(Wa,{type:"button",onClick:()=>window.location.assign(l||"/login"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"login",children:v.jsxDEV("span",{className:"underline",children:"Por favor, faça o Login para aproveitar os benefícios!"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:101,columnNumber:15},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:95,columnNumber:13},this),v.jsxDEV(Wa,{onClick:()=>r("isEmpty"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"change_security_number",children:v.jsxDEV("span",{className:"underline",children:"Deseja editar o cpf digitado?"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:112,columnNumber:13},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:107,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:93,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:43,columnNumber:5},this)}function ys(r){return v.jsxDEV("p",{className:st("font-normal text-sm",r.textAlign&&`text-${r.textAlign}`,r.className),style:{color:r.textColor||"var(--pbm-text)",fontSize:r.textSize,textAlign:r.textAlign},"data-testid":"test_id_text",id:"text_pbm",children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Text/index.tsx",lineNumber:13,columnNumber:5},this)}function N1({textColor:r}){const{urlAcceptTerms:n}=Jt(),{setModal:l}=nn(),s=()=>{n&&l({open:!0,id:"iframe_pbm",label:"Aceitar os termos",url:n})};return v.jsxDEV("section",{"data-testid":"test_id_invalid",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y py-6",style:{borderColor:"color-mix(in srgb, var(--pbm-text), transparent 80%)"},id:"security_number_invalid_container_pbm",children:[v.jsxDEV(qn,{className:"w-full",textColor:r,children:"CPF não cadastrado."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:25,columnNumber:7},this),v.jsxDEV(ys,{className:"w-full",textColor:r,children:["Conclua seu cadastro para habilitar o benefício. ",v.jsxDEV("br",{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:29,columnNumber:58},this),"Ao clicar em “Aceitar os termos”, você irá para uma página externa. Aceite os termos e volte para continuar."]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:28,columnNumber:7},this),v.jsxDEV(Wa,{onClick:()=>s(),style:{backgroundColor:"var(--pbm-primary)"},children:"Aceitar os termos"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:33,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:19,columnNumber:5},this)}function S1({textColor:r}){const{urlRegisterIndustry:n}=Jt(),{setModal:l}=nn(),s=()=>{n&&l({open:!0,id:"iframe_pbm",label:"Ativar CPF",url:n})};return v.jsxDEV("section",{"data-testid":"test_id_registered",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y py-6",style:{borderColor:"color-mix(in srgb, var(--pbm-text), transparent 80%)"},id:"security_number_registered_container_pbm",children:[v.jsxDEV(qn,{className:"w-full",textColor:r,children:"Ops, seu CPF ainda não está habilitado para este produto."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:25,columnNumber:7},this),v.jsxDEV(ys,{className:"w-full",textColor:r,children:"Para ativar o benefício, clique em “Ativar CPF” e conclua a etapa na página externa. Depois, é só voltar para continuar — vamos aguardar você aqui."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:28,columnNumber:7},this),v.jsxDEV(Wa,{onClick:()=>s(),style:{backgroundColor:"var(--pbm-primary)"},children:"Ativar CPF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:31,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberRegitered/index.tsx",lineNumber:19,columnNumber:5},this)}const sh={ErrorMessage:"Erro ao aplicar o benefício"},oh=Tu(r=>({...sh,setErrorMessage:n=>r({ErrorMessage:n}),resetErrorMessage:()=>r({ErrorMessage:sh.ErrorMessage})})),uh=()=>{const{ErrorMessage:r}=oh(),{setState:n}=Jt();return v.jsxDEV(Yu,{variant:"main",children:[v.jsxDEV(qn,{children:"Erro ao Aplicar o Benefício"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:15,columnNumber:13},void 0),v.jsxDEV(ys,{textAlign:"center",children:r},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:16,columnNumber:13},void 0),v.jsxDEV(Wa,{className:"bg-transparent p-0 pl-2 w-auto h-auto underline cursor-pointer hover:bg-transparent flex items-center justify-start gap-1",style:{color:"var(--pbm-text)"},onMouseOver:l=>l.currentTarget.style.filter="brightness(0.8)",onMouseOut:l=>l.currentTarget.style.filter="none",onClick:()=>n("isEmpty"),id:"check_benefits_button",children:[v.jsxDEV("span",{children:"Tentar novamente"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:25,columnNumber:17},void 0),v.jsxDEV(t1,{size:16},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:26,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:17,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:14,columnNumber:9},void 0)},ch={personalData:{name:"",phone:"",birthday:"",email:""},address:{postalcode:"",number:"",complement:"",street:"",neighborhood:"",city:"",uf:"",stateAddress:""},genderResponsibility:{gender:"",patient:null},doctor:{typeCredential:"CRM",register:"",state:"",doctorName:""},acceptances:{acceptPhone:!1,acceptsSms:!1,acceptsEmail:!1,acceptsMail:!1,acceptsPrivacyTermsLGPD:!1},step:0},sn=Tu(r=>({...ch,setPersonalData:n=>r(l=>({personalData:{...l.personalData,...n}})),setAddress:n=>r(l=>({address:{...l.address,...n}})),setGenderResponsibility:n=>r(l=>({genderResponsibility:{...l.genderResponsibility,...n}})),setDoctor:n=>r(l=>({doctor:{...l.doctor,...n}})),setAcceptances:n=>r(l=>({acceptances:{...l.acceptances,...n}})),setStep:n=>r({step:n}),resetForm:()=>r(ch)})),Gt=({label:r,error:n,children:l})=>v.jsxDEV("div",{className:"flex flex-col gap-1",children:[v.jsxDEV("label",{className:"text-xs font-medium text-zinc-500 uppercase tracking-wide",children:r},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:11,columnNumber:5},void 0),l,n&&v.jsxDEV("span",{className:"text-xs text-red-500 mt-0.5",children:n},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:15,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:10,columnNumber:3},void 0),Xi="w-full rounded-lg border border-gray-200 bg-gray-100 px-3 py-2.5 text-sm text-gray-400 cursor-not-allowed",Va=r=>st("w-full rounded-lg border px-3 py-2.5 text-sm text-gray-800 outline-none transition-all","focus:ring-2 focus:ring-blue-500/30 focus:border-blue-500",r?"border-red-400 bg-red-50":"border-gray-200 bg-gray-50 hover:border-gray-300"),Ki=({onNext:r,onBack:n,loading:l,nextLabel:s="Continuar",isLast:o=!1})=>v.jsxDEV("div",{className:"flex gap-2 mt-2 pt-4 border-t border-gray-100",children:[n&&v.jsxDEV("button",{type:"button",onClick:n,className:"flex-1 rounded-lg border border-gray-200 py-2.5 text-sm font-medium text-zinc-600 hover:bg-zinc-600/10 transition-all cursor-pointer",children:"Voltar"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:18,columnNumber:7},void 0),v.jsxDEV("button",{type:"button",onClick:r,disabled:l,className:st("flex-2 rounded-lg py-2.5 text-sm font-semibold text-white transition-all cursor-pointer",o?"bg-emerald-600 hover:bg-emerald-500":"bg-(--pbm-primary) hover:bg-(--pbm-primary)/60",l&&"opacity-60 cursor-not-allowed"),children:l?v.jsxDEV("span",{className:"flex items-center justify-center gap-2",children:[v.jsxDEV("svg",{className:"h-4 w-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[v.jsxDEV("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:41,columnNumber:13},void 0),v.jsxDEV("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:49,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:40,columnNumber:11},void 0),"Enviando..."]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:39,columnNumber:9},void 0):s},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:26,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepActions.tsx",lineNumber:16,columnNumber:3},void 0),bs={PersonalData:0,Address:1,GenderResponsibility:2,Doctor:3,Acceptances:4},_1=({securityNumber:r,onNext:n})=>{const{personalData:l,setPersonalData:s,setStep:o}=sn(),{setModal:f}=nn(),[d,h]=ge.useState({}),[y,p]=ge.useState(!1),x=()=>{const C={};return(!l.name.trim()||l.name.trim().split(" ").length<2)&&(C.name="Informe o nome completo."),/^\(\d{2}\) \d{5}-\d{4}$/.test(l.phone)||(C.phone="Telefone inválido."),l.birthday||(C.birthday="Data de nascimento obrigatória."),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.email)||(C.email="E-mail inválido."),h(C),Object.keys(C).length===0},N=async()=>{if(x()){p(!0);try{o(bs.Address),n()}catch{console.error("An error occurred while setting personal data form.")}finally{p(!1)}}};return v.jsxDEV("div",{className:"flex flex-col gap-4",children:[v.jsxDEV(Gt,{label:"CPF",children:[v.jsxDEV("input",{className:Xi,value:ba.cpf(r),disabled:!0,readOnly:!0},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:58,columnNumber:9},void 0),v.jsxDEV("p",{className:"text-xs text-gray-400 mt-1",children:v.jsxDEV("button",{type:"button",className:"text-(--pbm-primary) hover:text-(--pbm-primary)/60 cursor-pointer underline underline-offset-2 transition-colors",onClick:()=>f({id:"",open:!1}),children:"Deseja alterar o CPF? Clique aqui."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:65,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:64,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:57,columnNumber:7},void 0),v.jsxDEV(Gt,{label:"Nome completo",error:d.name,children:v.jsxDEV("input",{className:Va(d.name),placeholder:"Ex: João da Silva",value:l.name,onChange:C=>{s({name:C.target.value}),h(S=>({...S,name:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:76,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:75,columnNumber:7},void 0),v.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[v.jsxDEV(Gt,{label:"Telefone",error:d.phone,children:v.jsxDEV("input",{className:Va(d.phone),placeholder:"(11) 99999-8888",value:l.phone,onChange:C=>{s({phone:ba.phone(C.target.value)}),h(S=>({...S,phone:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:89,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:88,columnNumber:9},void 0),v.jsxDEV(Gt,{label:"Data de nascimento",error:d.birthday,children:v.jsxDEV("input",{type:"date",className:Va(d.birthday),value:l.birthday,onChange:C=>{s({birthday:C.target.value}),h(S=>({...S,birthday:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:101,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:100,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:87,columnNumber:7},void 0),v.jsxDEV(Gt,{label:"E-mail",error:d.email,children:v.jsxDEV("input",{type:"email",className:Va(d.email),placeholder:"joao@email.com",value:l.email,onChange:C=>{s({email:C.target.value}),h(S=>({...S,email:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:114,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:113,columnNumber:7},void 0),v.jsxDEV(Ki,{onNext:N,loading:y},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:126,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepPersonalDataForm.tsx",lineNumber:56,columnNumber:5},void 0)};async function C1({postal_code:r}){const n=await fetch(`${ln("VITE_CORREIOS_API_URL")}/${r}/json/`);if(!n.ok)throw new Error("Erro ao consultar CEP");return{...await n.json(),success:!0}}const E1=({onNext:r,onBack:n})=>{const{address:l,setAddress:s,setStep:o}=sn(),[f,d]=ge.useState({}),[h,y]=ge.useState(!1),[p,x]=ge.useState(!1),N=ge.useCallback(async k=>{const w=k.replace(/\D/g,"");if(w.length===8){y(!0);try{const q=await C1({postal_code:w});if(!q.success){console.error("Failed to lookup postal code");return}s({street:q.logradouro,neighborhood:q.bairro,uf:q.uf,city:q.localidade,stateAddress:q.estado,postalcode:q.cep,complement:q.complemento||""})}catch{console.error("Failed to fetch address for CEP:",k)}finally{y(!1)}}},[s]),C=()=>{const k={};return/^\d{5}-\d{3}$/.test(l.postalcode)||(k.postalcode="CEP inválido."),l.number.trim()||(k.number="Número obrigatório."),d(k),Object.keys(k).length===0},S=async()=>{if(C()){x(!0);try{o(bs.GenderResponsibility),r()}catch{console.log("An error occurred while submitting address form.")}finally{x(!1)}}};return v.jsxDEV("div",{className:"flex flex-col gap-4",children:[v.jsxDEV(Gt,{label:"CEP",error:f.postalcode,children:v.jsxDEV("div",{className:"relative",children:[v.jsxDEV("input",{className:Va(f.postalcode),placeholder:"00000-000",value:l.postalcode,onChange:k=>{const w=ba.cep(k.target.value);s({postalcode:w}),d(q=>({...q,postalcode:void 0})),w.replace(/\D/g,"").length===8&&N(w)}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:87,columnNumber:11},void 0),h&&v.jsxDEV("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:v.jsxDEV("svg",{className:"h-4 w-4 animate-spin text-blue-500",viewBox:"0 0 24 24",fill:"none",children:[v.jsxDEV("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:109,columnNumber:17},void 0),v.jsxDEV("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:117,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:104,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:103,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:86,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:85,columnNumber:7},void 0),v.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[v.jsxDEV(Gt,{label:"Rua",children:v.jsxDEV("input",{className:Xi,value:l.street||"",disabled:!0,readOnly:!0,placeholder:"Preenchido pelo CEP"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:130,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:129,columnNumber:9},void 0),v.jsxDEV(Gt,{label:"Bairro",children:v.jsxDEV("input",{className:Xi,value:l.neighborhood||"",disabled:!0,readOnly:!0,placeholder:"Preenchido pelo CEP"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:139,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:138,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:128,columnNumber:7},void 0),v.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[v.jsxDEV(Gt,{label:"Cidade",children:v.jsxDEV("input",{className:Xi,value:l.city||"",disabled:!0,readOnly:!0,placeholder:"Preenchido pelo CEP"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:151,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:150,columnNumber:9},void 0),v.jsxDEV(Gt,{label:"Estado",children:v.jsxDEV("input",{className:Xi,value:l.stateAddress||"",disabled:!0,readOnly:!0,placeholder:"UF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:160,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:159,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:149,columnNumber:7},void 0),v.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[v.jsxDEV(Gt,{label:"Número",error:f.number,children:v.jsxDEV("input",{className:Va(f.number),placeholder:"Ex: 100",value:l.number,onChange:k=>{s({number:k.target.value}),d(w=>({...w,number:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:172,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:171,columnNumber:9},void 0),v.jsxDEV(Gt,{label:"Complemento",children:v.jsxDEV("input",{className:Va(),placeholder:"Apto, bloco...",value:l.complement,onChange:k=>s({complement:k.target.value})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:183,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:182,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:170,columnNumber:7},void 0),v.jsxDEV(Ki,{onNext:S,onBack:n,loading:p},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:192,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:84,columnNumber:5},void 0)},w1=({onNext:r,onBack:n})=>{const{genderResponsibility:l,setGenderResponsibility:s,setStep:o}=sn(),[f,d]=ge.useState({}),[h,y]=ge.useState(!1),p=()=>{const C={};return l.gender||(C.gender="Selecione o gênero."),l.patient===null&&(C.patient="Informe se é o paciente."),d(C),Object.keys(C).length===0},x=async()=>{if(p()){y(!0);try{o(bs.Doctor),r()}catch{console.error("An error occurred while submitting gender responsibility data.")}finally{y(!1)}}},N=[{value:"M",label:"Masculino"},{value:"F",label:"Feminino"},{value:"O",label:"Outro"}];return v.jsxDEV("div",{className:"flex flex-col gap-5",children:[v.jsxDEV("div",{children:[v.jsxDEV("label",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide block mb-2",children:"Gênero"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:56,columnNumber:9},void 0),v.jsxDEV("div",{className:"flex gap-2",children:N.map(C=>v.jsxDEV("button",{type:"button",onClick:()=>{s({gender:C.value}),d(S=>({...S,gender:void 0}))},className:st("flex-1 py-2.5 cursor-pointer px-2.5 rounded-lg border text-sm font-medium transition-all",l.gender===C.value?"border-(--pbm-primary) bg-(--pbm-primary) text-white":"border-gray-200 bg-gray-50 text-gray-600 hover:border-(--pbm-primary)"),children:C.label},C.value,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:61,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:59,columnNumber:9},void 0),f.gender&&v.jsxDEV("span",{className:"text-xs text-red-500 mt-1 block",children:f.gender},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:80,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:55,columnNumber:7},void 0),v.jsxDEV("div",{children:[v.jsxDEV("label",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide block mb-2",children:"Você é o paciente?"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:87,columnNumber:9},void 0),v.jsxDEV("div",{className:"flex gap-2",children:[{label:"Sim, sou o paciente",value:!0},{label:"Não, sou responsável",value:!1}].map(C=>v.jsxDEV("button",{type:"button",onClick:()=>{s({patient:C.value}),d(S=>({...S,patient:void 0}))},className:st("flex-1 py-2.5 px-2.5 text-nowrap cursor-pointer rounded-lg border text-sm font-medium transition-all",l.patient===C.value?"border-(--pbm-primary) bg-(--pbm-primary) text-white":"border-gray-200 bg-gray-50 text-gray-600 hover:border-(--pbm-primary)"),children:C.label},String(C.value),!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:95,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:90,columnNumber:9},void 0),f.patient&&v.jsxDEV("span",{className:"text-xs text-red-500 mt-1 block",children:f.patient},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:114,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:86,columnNumber:7},void 0),v.jsxDEV(Ki,{onNext:x,onBack:n,loading:h},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:120,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepGenderForm.tsx",lineNumber:54,columnNumber:5},void 0)},D1=["AC","AL","AP","AM","BA","CE","DF","ES","GO","MA","MT","MS","MG","PA","PB","PR","PE","PI","RJ","RN","RS","RO","RR","SC","SP","SE","TO"],A1=({onNext:r,onBack:n})=>{const{doctor:l,setDoctor:s,setStep:o}=sn(),[f,d]=ge.useState({}),[h,y]=ge.useState(!1),p=()=>{const N={};return l.typeCredential||(N.typeCredential="Tipo de credencial obrigatório."),l.register.trim()||(N.register="Número do registro obrigatório."),l.state||(N.state="Estado obrigatório."),l.doctorName.trim()||(N.doctorName="Nome do médico obrigatório."),d(N),Object.keys(N).length===0},x=async()=>{if(p()){y(!0);try{o(bs.Acceptances),r()}catch{console.error("An error occurred while submitting doctor data.")}finally{y(!1)}}};return v.jsxDEV("div",{className:"flex flex-col gap-4",children:[v.jsxDEV("div",{className:"grid grid-cols-3 gap-3",children:[v.jsxDEV(Gt,{label:"Tipo credencial",error:f.typeCredential,children:v.jsxDEV("select",{className:Va(f.typeCredential),value:l.typeCredential,onChange:N=>{s({typeCredential:N.target.value}),d(C=>({...C,typeCredential:void 0}))},children:[v.jsxDEV("option",{value:"CRM",children:"CRM"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:63,columnNumber:13},void 0),v.jsxDEV("option",{value:"CRO",children:"CRO"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:64,columnNumber:13},void 0),v.jsxDEV("option",{value:"CRF",children:"CRF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:65,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:52,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:51,columnNumber:9},void 0),v.jsxDEV(Gt,{label:"Estado (UF)",error:f.state,children:v.jsxDEV("select",{className:Va(f.state),value:l.state,onChange:N=>{s({state:N.target.value}),d(C=>({...C,state:void 0}))},children:[v.jsxDEV("option",{value:"",children:"UF"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:78,columnNumber:13},void 0),D1.map(N=>v.jsxDEV("option",{value:N,children:N},N,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:80,columnNumber:15},void 0))]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:70,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:69,columnNumber:9},void 0),v.jsxDEV(Gt,{label:"Nº registro",error:f.register,children:v.jsxDEV("div",{className:"relative",children:v.jsxDEV("input",{className:Va(f.register),placeholder:"Ex: 123456",value:l.register,onChange:N=>{s({register:N.target.value.replace(/\D/g,"")}),d(C=>({...C,register:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:89,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:88,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:87,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:50,columnNumber:7},void 0),v.jsxDEV(Gt,{label:"Nome do médico",error:f.doctorName,children:[v.jsxDEV("div",{className:"relative",children:v.jsxDEV("input",{className:Va(f.doctorName),placeholder:"Nome Completo do Profissional",value:l.doctorName,onChange:N=>{s({doctorName:N.target.value}),d(C=>({...C,doctorName:void 0}))}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:106,columnNumber:9},void 0),v.jsxDEV("p",{className:"text-xs text-gray-400 mt-0.5",children:"Preenchido automaticamente ao informar registro + UF."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:120,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:105,columnNumber:7},void 0),v.jsxDEV(Ki,{onNext:x,onBack:n,loading:h},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:125,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepDoctorForm.tsx",lineNumber:49,columnNumber:5},void 0)},Ji=({label:r,checked:n,onChange:l,required:s,error:o})=>v.jsxDEV("label",{className:st("flex items-start gap-3 cursor-pointer group p-3 rounded-lg border transition-all",n?"border-emerald-200 bg-emerald-50/60":"border-zinc-100 hover:border-zinc-200 bg-zinc-50/40",o?"border-red-300 bg-red-50/40":""),children:[v.jsxDEV("div",{className:st("mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded border transition-all",n?"border-(--pbm-primary) bg-(--pbm-primary)":"border-zinc-300 bg-white"),children:n&&v.jsxDEV("svg",{className:"h-2.5 w-2.5 text-white",viewBox:"0 0 10 8",fill:"none",children:v.jsxDEV("path",{d:"M1 4l3 3 5-6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:35,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:34,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:25,columnNumber:5},void 0),v.jsxDEV("span",{className:"text-sm text-zinc-700 leading-snug",children:[r,s&&v.jsxDEV("span",{className:"text-red-400 ml-1",children:"*"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:47,columnNumber:20},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:45,columnNumber:5},void 0),v.jsxDEV("input",{type:"checkbox",className:"sr-only",checked:n,onChange:f=>l(f.target.checked)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:49,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/CheckRow.tsx",lineNumber:16,columnNumber:3},void 0),T1=async({product:r,consumer:n,healthProfessional:l})=>{const s=nt.get("tenant_id");if(!s)throw new Error(`No configuration found for tenant: ${s}`);if(!n)throw new Error("Consumer information is required");if(!l)throw new Error("Health professional information is required");if(!r)throw new Error("Product information is required");try{const f=await(await fetch(`${ln("VITE_API_URL")}/api/discount.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${nt.get("pbm-token")}`},body:JSON.stringify({tenant_id:s,product:r,table_id:nt.get("current-table-id"),local_hour:nt.get("current-local-hour"),consumer:n,healthProfessional:l})})).json();if(!f.success)throw new Error("PBMLOG: Enable Discount Failed!");return nt.set("current-central-number",f.product[0].centralNumber.toString(),{secure:!0,sameSite:"Strict",expires:1}),nt.set("current-term-code",f.product[0].activationFields.acceptLgpd.termCode.value.toString(),{secure:!0,sameSite:"Strict",expires:1}),f}catch(o){return console.error("Error during enable discount:",o),{success:!1,error:"Authorization failed"}}},O1=async({product:r,consumer:n,healthProfessional:l})=>{const s=nt.get("tenant_id");if(!s)throw new Error(`No configuration found for tenant: ${s}`);if(!n)throw new Error("Consumer information is required");if(!l)throw new Error("Health professional information is required");if(!r)throw new Error("Product information is required");try{const f=await(await fetch(`${ln("VITE_API_URL")}/api/activate.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${nt.get("pbm-token")}`},body:JSON.stringify({tenant_id:s,product:r,table_id:nt.get("current-table-id"),local_hour:nt.get("current-local-hour"),central_number:nt.get("current-central-number"),consumer:n,healthProfessional:l,acceptLgpd:{evidenceType:"SITE",evidence:"VSTOSITE",termCode:nt.get("current-term-code")}})})).json();if(!f.success)throw new Error("PBMLOG: Activate Failed!");return f}catch(o){return console.error("Error during activate:",o),{success:!1,error:"Authorization failed"}}},R1=({onBack:r,onDone:n,securityNumber:l})=>{const{acceptances:s,setAcceptances:o}=sn(),{targetProduct:f,cardID:d}=Jt(),[h,y]=ge.useState({}),[p,x]=ge.useState(!1),N=sn.getState(),C=()=>{const w={};return s.acceptsPrivacyTermsLGPD||(w.lgpd="É obrigatório aceitar os termos de privacidade (LGPD)."),y(w),Object.keys(w).length===0},S=async w=>{try{const q=await O1(w);console.log("Activate response:",q)}catch(q){console.error("Error during consumer activation:",q)}},k=async()=>{if(!C())return;if(x(!0),!f){console.error("No target product found in PBM store."),x(!1);return}const w=N.personalData.phone.replace(/\D/g,""),q=w.slice(0,2),te=w.slice(2),Q={consumer:{holderId:l,cardId:d||"",name:N.personalData.name,email:N.personalData.email,birthdate:N.personalData.birthday,genre:N.genderResponsibility.gender,postalCode:N.address.postalcode.replace(/\D/g,""),stateCode:N.address.uf||"",cityName:N.address.city||"",cityRegion:N.address.neighborhood||"",addressType:"casa",streetAddress:N.address.street||"",addressNumber:N.address.number||"",addressAdditionalInformation:N.address.complement||"",DDDcellPhone:q,cellphone:te,acceptInformativeMaterial:s.acceptsMail?"S":"N",acceptMail:s.acceptsMail?"S":"N",acceptEmail:s.acceptsEmail?"S":"N",acceptCalls:s.acceptPhone?"S":"N",acceptSMS:s.acceptsSms?"S":"N",acceptTerm:s.acceptsPrivacyTermsLGPD?"S":"N",acceptWhatsApp:"N"},healthProfessional:{id:N.doctor.register,stateCode:N.doctor.state,type:N.doctor.typeCredential,name:N.doctor.doctorName},product:{id:f.id,ean:f.ean,requestedQuantity:f.requestedQuantity,listPrice:f.listPrice,netPrice:f.netPrice}};try{const le=await T1(Q);le.success?await S(Q):console.error("Failed to enable discount:",le),n()}catch{console.error("An error occurred while submitting acceptances data.")}finally{x(!1)}};return v.jsxDEV("div",{className:"flex flex-col gap-3",children:[v.jsxDEV("p",{className:"text-xs text-gray-500 mb-1",children:"Selecione como deseja receber comunicações:"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:119,columnNumber:7},void 0),v.jsxDEV(Ji,{label:"Aceito receber contato por telefone",checked:s.acceptPhone,onChange:w=>o({acceptPhone:w})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:123,columnNumber:7},void 0),v.jsxDEV(Ji,{label:"Aceito receber SMS",checked:s.acceptsSms,onChange:w=>o({acceptsSms:w})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:128,columnNumber:7},void 0),v.jsxDEV(Ji,{label:"Aceito receber e-mails",checked:s.acceptsEmail,onChange:w=>o({acceptsEmail:w})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:133,columnNumber:7},void 0),v.jsxDEV(Ji,{label:"Aceito receber correspondências por correio",checked:s.acceptsMail,onChange:w=>o({acceptsMail:w})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:138,columnNumber:7},void 0),v.jsxDEV("div",{className:"mt-1",children:[v.jsxDEV(Ji,{label:"Li e aceito os Termos de Privacidade (LGPD)",checked:s.acceptsPrivacyTermsLGPD,onChange:w=>{o({acceptsPrivacyTermsLGPD:w}),y({})},required:!0,error:h.lgpd},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:145,columnNumber:9},void 0),h.lgpd&&v.jsxDEV("span",{className:"text-xs text-red-500 mt-1 block pl-1",children:h.lgpd},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:156,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:144,columnNumber:7},void 0),v.jsxDEV(Ki,{onNext:k,onBack:r,loading:p,nextLabel:"Concluir cadastro",isLast:!0},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:162,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:118,columnNumber:5},void 0)},fh=["Dados Pessoais","Endereço","Perfil","Médico","Aceites"],M1=({current:r})=>v.jsxDEV("div",{className:"flex items-center w-full justify-center mb-6",children:fh.map((n,l)=>{const s=l<r,o=l===r;return v.jsxDEV("div",{className:"flex items-center w-full min-w-0 justify-center relative",children:[v.jsxDEV("div",{className:"flex flex-col items-center justify-center gap-1 shrink-0 z-10",children:[v.jsxDEV("div",{className:st("flex h-7 w-7 items-center justify-center rounded-full text-xs font-semibold transition-all",s?"bg-emerald-600 text-white":o?"bg-(--pbm-primary) text-white ring-4 ring-(--pbm-primary)/15":"bg-zinc-100 text-zinc-400"),children:s?v.jsxDEV("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 12 10",fill:"none",children:v.jsxDEV("path",{d:"M1 5l4 4 6-8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:34,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:33,columnNumber:17},void 0):l+1},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:22,columnNumber:13},void 0),v.jsxDEV("span",{className:st("text-[10px] font-medium whitespace-nowrap hidden sm:block",o?"text-(--pbm-primary)":s?"text-emerald-600":"text-zinc-400"),children:n},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:46,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:21,columnNumber:11},void 0),l<fh.length-1&&v.jsxDEV("div",{className:st("h-0.5 w-full rounded transition-all absolute top-3.5 left-10","bg-zinc-200")},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:60,columnNumber:13},void 0)]},l,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:17,columnNumber:9},void 0)})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/StepProgress.tsx",lineNumber:12,columnNumber:3},void 0),z1=({onClose:r})=>v.jsxDEV("div",{className:"flex flex-col items-center gap-4 py-4 text-center",children:[v.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-green-100",children:v.jsxDEV("svg",{className:"h-8 w-8 text-green-500",viewBox:"0 0 24 24",fill:"none",children:v.jsxDEV("path",{d:"M5 13l4 4L19 7",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:5,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:4,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:3,columnNumber:5},void 0),v.jsxDEV("div",{children:[v.jsxDEV("h3",{className:"text-base font-semibold text-gray-800",children:"Cadastro concluído!"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:15,columnNumber:7},void 0),v.jsxDEV("p",{className:"text-sm text-zinc-500 mt-1",children:"Você já pode aproveitar os benefícios de farmácia."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:18,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:14,columnNumber:5},void 0),v.jsxDEV("button",{onClick:r,className:"cursor-pointer mt-2 rounded-lg bg-(--primary-color) px-6 py-2.5 text-sm font-semibold text-white hover:bg-(--primary-color)/80 transition-all",children:"Fechar"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:22,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/SuccessScreen.tsx",lineNumber:2,columnNumber:3},void 0),k1=({ID:r})=>{const{modal:n,setModal:l}=nn(),{securityNumber:s}=Jt(),{resetForm:o,step:f,setStep:d}=sn(),[h,y]=ge.useState(!1),p=()=>{l({id:"",open:!1}),setTimeout(()=>{d(0),y(!1),o()},300)},x=()=>d(f+1),N=()=>d(f-1),C=s.replace(/\D/g,""),S=[v.jsxDEV(_1,{securityNumber:C,onNext:x},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:36,columnNumber:5},void 0),v.jsxDEV(E1,{securityNumber:C,onNext:x,onBack:N},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:37,columnNumber:5},void 0),v.jsxDEV(w1,{securityNumber:C,onNext:x,onBack:N},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:42,columnNumber:5},void 0),v.jsxDEV(A1,{securityNumber:C,onNext:x,onBack:N},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:47,columnNumber:5},void 0),v.jsxDEV(R1,{securityNumber:C,onBack:N,onDone:()=>y(!0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:52,columnNumber:5},void 0)];return v.jsxDEV("main",{className:st("fixed inset-0 flex items-center justify-end z-50 flex-col transition-all shadow bg-black/40",{"opacity-100 pointer-events-auto":n.id===r&&n.open,"opacity-0 pointer-events-none":n.id!==r||!n.open}),children:[v.jsxDEV("div",{className:"absolute inset-0",onClick:p},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:69,columnNumber:7},void 0),v.jsxDEV("section",{className:"z-10 bg-white flex flex-col p-6 rounded-2xl w-full max-w-125 min-w-125 mx-4 shadow-xl max-h-[90vh] overflow-y-auto",children:[v.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[v.jsxDEV(qn,{textSize:"18px",textAlign:"start",children:h?"Tudo pronto!":"Benefício de Farmácia"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:73,columnNumber:11},void 0),v.jsxDEV("button",{onClick:p,className:"flex h-7 w-7 cursor-pointer items-center justify-center rounded-full text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-all",children:v.jsxDEV("svg",{className:"h-4 w-4",viewBox:"0 0 14 14",fill:"none",children:v.jsxDEV("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:81,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:80,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:76,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:72,columnNumber:9},void 0),!h&&v.jsxDEV(M1,{current:f},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:91,columnNumber:19},void 0),h?v.jsxDEV(z1,{onClose:p},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:93,columnNumber:17},void 0):S[f]]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:71,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:60,columnNumber:5},void 0)},j1=r=>r===void 0?"":"?"+Object.keys(r).map(n=>n+"="+r[n]).join("&");function V1(r){const{setState:n}=Jt();return v.jsxDEV("a",{...r,target:r.target||"_self",href:typeof r.href=="string"?r.href:r.href.pathname+j1(r.href.param),className:st("w-3xs cursor-pointer h-10 rounded-lg text-white text-sm font-semibold transition-colors flex items-center justify-center",r.className),style:{backgroundColor:"var(--pbm-primary)"},onMouseOver:l=>l.currentTarget.style.backgroundColor="var(--pbm-secondary)",onMouseOut:l=>l.currentTarget.style.backgroundColor="var(--pbm-primary)","data-testid":"test_id_link",id:"link_pbm",onClick:()=>n("isEmpty"),children:r.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Link/index.tsx",lineNumber:18,columnNumber:5},this)}const B1=({ID:r})=>{const{customLoginUrl:n}=Jt(),{modal:l,setModal:s}=nn();return v.jsxDEV("main",{className:st("fixed inset-0 flex items-center justify-center z-50 flex-col transition-all shadow bg-black/40",{"opacity-100 pointer-events-auto":l.id===r&&l.open,"opacity-0 pointer-events-none":l.id!=r||!l.open}),children:[v.jsxDEV("div",{className:"absolute inset-0",onClick:()=>s({id:"",open:!1})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:23,columnNumber:7},void 0),v.jsxDEV("section",{className:"z-10 bg-white gap-2 flex-col items-center-safe justify-center-safe p-8 rounded-xl",children:[v.jsxDEV(qn,{textColor:"tomato",textSize:"18px",textAlign:"center",className:"mb-2",children:"Opa! Parece que você não está Logado"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:28,columnNumber:9},void 0),v.jsxDEV(ys,{className:"mb-2",textAlign:"center",children:["Para aproveitar os benefícios é necessário realizar o"," ",v.jsxDEV("strong",{children:"Login"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:38,columnNumber:11},void 0)," ou ",v.jsxDEV("strong",{children:"Cadastro"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:38,columnNumber:37},void 0)," no site!"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:36,columnNumber:9},void 0),v.jsxDEV("section",{className:"flex items-center-safe justify-center-safe gap-4",children:[v.jsxDEV(Wa,{className:"bg-gray-600 hover:bg-gray-500",onClick:()=>s({id:"",open:!1}),children:"Seguir sem Benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:41,columnNumber:11},void 0),v.jsxDEV(V1,{href:n||"/login",children:"Aproveitar Benefícios"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:47,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:40,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:27,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/ShopperIsNotAuthenticated.tsx",lineNumber:14,columnNumber:5},void 0)};function dh(r){var n,l,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r)){var o=r.length;for(n=0;n<o;n++)r[n]&&(l=dh(r[n]))&&(s&&(s+=" "),s+=l)}else for(l in r)r[l]&&(s&&(s+=" "),s+=l);return s}function mh(){for(var r,n,l=0,s="",o=arguments.length;l<o;l++)(r=arguments[l])&&(n=dh(r))&&(s&&(s+=" "),s+=n);return s}function U1(r,n,l=void 0){const s={};for(const o in r){const f=r[o];let d="",h=!0;for(let y=0;y<f.length;y+=1){const p=f[y];p&&(d+=(h===!0?"":" ")+n(p),h=!1,l&&l[p]&&(d+=" "+l[p]))}s[o]=d}return s}function on(r,...n){const l=new URL(`https://mui.com/production-error/?code=${r}`);return n.forEach(s=>l.searchParams.append("args[]",s)),`Minified MUI error #${r}; visit ${l} for the full message.`}const L1="$$material";function $u(){return $u=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var l=arguments[n];for(var s in l)({}).hasOwnProperty.call(l,s)&&(r[s]=l[s])}return r},$u.apply(null,arguments)}function q1(r){if(r.sheet)return r.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===r)return document.styleSheets[n]}function H1(r){var n=document.createElement("style");return n.setAttribute("data-emotion",r.key),r.nonce!==void 0&&n.setAttribute("nonce",r.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var G1=(function(){function r(l){var s=this;this._insertTag=function(o){var f;s.tags.length===0?s.insertionPoint?f=s.insertionPoint.nextSibling:s.prepend?f=s.container.firstChild:f=s.before:f=s.tags[s.tags.length-1].nextSibling,s.container.insertBefore(o,f),s.tags.push(o)},this.isSpeedy=l.speedy===void 0?!1:l.speedy,this.tags=[],this.ctr=0,this.nonce=l.nonce,this.key=l.key,this.container=l.container,this.prepend=l.prepend,this.insertionPoint=l.insertionPoint,this.before=null}var n=r.prototype;return n.hydrate=function(s){s.forEach(this._insertTag)},n.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(H1(this));var o=this.tags[this.tags.length-1];{var f=s.charCodeAt(0)===64&&s.charCodeAt(1)===105;f&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
84
+ `+s+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!f}if(this.isSpeedy){var d=q1(o);try{d.insertRule(s,d.cssRules.length)}catch(h){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(s)||console.error('There was a problem inserting the following rule: "'+s+'"',h)}}else o.appendChild(document.createTextNode(s));this.ctr++},n.flush=function(){this.tags.forEach(function(s){var o;return(o=s.parentNode)==null?void 0:o.removeChild(s)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},r})(),Zt="-ms-",vs="-moz-",Ge="-webkit-",Fu="comm",Qu="rule",Xu="decl",Z1="@import",hh="@keyframes",Y1="@layer",$1=Math.abs,xs=String.fromCharCode,F1=Object.assign;function Q1(r,n){return zt(r,0)^45?(((n<<2^zt(r,0))<<2^zt(r,1))<<2^zt(r,2))<<2^zt(r,3):0}function ph(r){return r.trim()}function X1(r,n){return(r=n.exec(r))?r[0]:r}function Ze(r,n,l){return r.replace(n,l)}function Ku(r,n){return r.indexOf(n)}function zt(r,n){return r.charCodeAt(n)|0}function Ii(r,n,l){return r.slice(n,l)}function Ga(r){return r.length}function Ju(r){return r.length}function Ns(r,n){return n.push(r),r}function K1(r,n){return r.map(n).join("")}var Ss=1,Hn=1,gh=0,Pt=0,_t=0,Gn="";function _s(r,n,l,s,o,f,d){return{value:r,root:n,parent:l,type:s,props:o,children:f,line:Ss,column:Hn,length:d,return:""}}function Pi(r,n){return F1(_s("",null,null,"",null,null,0),r,{length:-r.length},n)}function J1(){return _t}function I1(){return _t=Pt>0?zt(Gn,--Pt):0,Hn--,_t===10&&(Hn=1,Ss--),_t}function sa(){return _t=Pt<gh?zt(Gn,Pt++):0,Hn++,_t===10&&(Hn=1,Ss++),_t}function Za(){return zt(Gn,Pt)}function Cs(){return Pt}function Wi(r,n){return Ii(Gn,r,n)}function el(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function yh(r){return Ss=Hn=1,gh=Ga(Gn=r),Pt=0,[]}function bh(r){return Gn="",r}function Es(r){return ph(Wi(Pt-1,Iu(r===91?r+2:r===40?r+1:r)))}function P1(r){for(;(_t=Za())&&_t<33;)sa();return el(r)>2||el(_t)>3?"":" "}function W1(r,n){for(;--n&&sa()&&!(_t<48||_t>102||_t>57&&_t<65||_t>70&&_t<97););return Wi(r,Cs()+(n<6&&Za()==32&&sa()==32))}function Iu(r){for(;sa();)switch(_t){case r:return Pt;case 34:case 39:r!==34&&r!==39&&Iu(_t);break;case 40:r===41&&Iu(r);break;case 92:sa();break}return Pt}function ex(r,n){for(;sa()&&r+_t!==57;)if(r+_t===84&&Za()===47)break;return"/*"+Wi(n,Pt-1)+"*"+xs(r===47?r:sa())}function tx(r){for(;!el(Za());)sa();return Wi(r,Pt)}function ax(r){return bh(ws("",null,null,null,[""],r=yh(r),0,[0],r))}function ws(r,n,l,s,o,f,d,h,y){for(var p=0,x=0,N=d,C=0,S=0,k=0,w=1,q=1,te=1,Q=0,le="",I=o,B=f,K=s,ne=le;q;)switch(k=Q,Q=sa()){case 40:if(k!=108&&zt(ne,N-1)==58){Ku(ne+=Ze(Es(Q),"&","&\f"),"&\f")!=-1&&(te=-1);break}case 34:case 39:case 91:ne+=Es(Q);break;case 9:case 10:case 13:case 32:ne+=P1(k);break;case 92:ne+=W1(Cs()-1,7);continue;case 47:switch(Za()){case 42:case 47:Ns(rx(ex(sa(),Cs()),n,l),y);break;default:ne+="/"}break;case 123*w:h[p++]=Ga(ne)*te;case 125*w:case 59:case 0:switch(Q){case 0:case 125:q=0;case 59+x:te==-1&&(ne=Ze(ne,/\f/g,"")),S>0&&Ga(ne)-N&&Ns(S>32?xh(ne+";",s,l,N-1):xh(Ze(ne," ","")+";",s,l,N-2),y);break;case 59:ne+=";";default:if(Ns(K=vh(ne,n,l,p,x,o,h,le,I=[],B=[],N),f),Q===123)if(x===0)ws(ne,n,K,K,I,f,N,h,B);else switch(C===99&&zt(ne,3)===110?100:C){case 100:case 108:case 109:case 115:ws(r,K,K,s&&Ns(vh(r,K,K,0,0,o,h,le,o,I=[],N),B),o,B,N,h,s?I:B);break;default:ws(ne,K,K,K,[""],B,0,h,B)}}p=x=S=0,w=te=1,le=ne="",N=d;break;case 58:N=1+Ga(ne),S=k;default:if(w<1){if(Q==123)--w;else if(Q==125&&w++==0&&I1()==125)continue}switch(ne+=xs(Q),Q*w){case 38:te=x>0?1:(ne+="\f",-1);break;case 44:h[p++]=(Ga(ne)-1)*te,te=1;break;case 64:Za()===45&&(ne+=Es(sa())),C=Za(),x=N=Ga(le=ne+=tx(Cs())),Q++;break;case 45:k===45&&Ga(ne)==2&&(w=0)}}return f}function vh(r,n,l,s,o,f,d,h,y,p,x){for(var N=o-1,C=o===0?f:[""],S=Ju(C),k=0,w=0,q=0;k<s;++k)for(var te=0,Q=Ii(r,N+1,N=$1(w=d[k])),le=r;te<S;++te)(le=ph(w>0?C[te]+" "+Q:Ze(Q,/&\f/g,C[te])))&&(y[q++]=le);return _s(r,n,l,o===0?Qu:h,y,p,x)}function rx(r,n,l){return _s(r,n,l,Fu,xs(J1()),Ii(r,2,-2),0)}function xh(r,n,l,s){return _s(r,n,l,Xu,Ii(r,0,s),Ii(r,s+1,-1),s)}function Zn(r,n){for(var l="",s=Ju(r),o=0;o<s;o++)l+=n(r[o],o,r,n)||"";return l}function nx(r,n,l,s){switch(r.type){case Y1:if(r.children.length)break;case Z1:case Xu:return r.return=r.return||r.value;case Fu:return"";case hh:return r.return=r.value+"{"+Zn(r.children,s)+"}";case Qu:r.value=r.props.join(",")}return Ga(l=Zn(r.children,s))?r.return=r.value+"{"+l+"}":""}function ix(r){var n=Ju(r);return function(l,s,o,f){for(var d="",h=0;h<n;h++)d+=r[h](l,s,o,f)||"";return d}}function Nh(r){var n=Object.create(null);return function(l){return n[l]===void 0&&(n[l]=r(l)),n[l]}}var lx=function(n,l,s){for(var o=0,f=0;o=f,f=Za(),o===38&&f===12&&(l[s]=1),!el(f);)sa();return Wi(n,Pt)},sx=function(n,l){var s=-1,o=44;do switch(el(o)){case 0:o===38&&Za()===12&&(l[s]=1),n[s]+=lx(Pt-1,l,s);break;case 2:n[s]+=Es(o);break;case 4:if(o===44){n[++s]=Za()===58?"&\f":"",l[s]=n[s].length;break}default:n[s]+=xs(o)}while(o=sa());return n},ox=function(n,l){return bh(sx(yh(n),l))},Sh=new WeakMap,ux=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var l=n.value,s=n.parent,o=n.column===s.column&&n.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(n.props.length===1&&l.charCodeAt(0)!==58&&!Sh.get(s))&&!o){Sh.set(n,!0);for(var f=[],d=ox(l,f),h=s.props,y=0,p=0;y<d.length;y++)for(var x=0;x<h.length;x++,p++)n.props[p]=f[y]?d[y].replace(/&\f/g,h[x]):h[x]+" "+d[y]}}},cx=function(n){if(n.type==="decl"){var l=n.value;l.charCodeAt(0)===108&&l.charCodeAt(2)===98&&(n.return="",n.value="")}},fx="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",dx=function(n){return n.type==="comm"&&n.children.indexOf(fx)>-1},mx=function(n){return function(l,s,o){if(!(l.type!=="rule"||n.compat)){var f=l.value.match(/(:first|:nth|:nth-last)-child/g);if(f){for(var d=!!l.parent,h=d?l.parent.children:o,y=h.length-1;y>=0;y--){var p=h[y];if(p.line<l.line)break;if(p.column<l.column){if(dx(p))return;break}}f.forEach(function(x){console.error('The pseudo class "'+x+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+x.split("-child")[0]+'-of-type".')})}}}},_h=function(n){return n.type.charCodeAt(1)===105&&n.type.charCodeAt(0)===64},hx=function(n,l){for(var s=n-1;s>=0;s--)if(!_h(l[s]))return!0;return!1},Ch=function(n){n.type="",n.value="",n.return="",n.children="",n.props=""},px=function(n,l,s){_h(n)&&(n.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ch(n)):hx(l,s)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ch(n)))};function Eh(r,n){switch(Q1(r,n)){case 5103:return Ge+"print-"+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ge+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return Ge+r+vs+r+Zt+r+r;case 6828:case 4268:return Ge+r+Zt+r+r;case 6165:return Ge+r+Zt+"flex-"+r+r;case 5187:return Ge+r+Ze(r,/(\w+).+(:[^]+)/,Ge+"box-$1$2"+Zt+"flex-$1$2")+r;case 5443:return Ge+r+Zt+"flex-item-"+Ze(r,/flex-|-self/,"")+r;case 4675:return Ge+r+Zt+"flex-line-pack"+Ze(r,/align-content|flex-|-self/,"")+r;case 5548:return Ge+r+Zt+Ze(r,"shrink","negative")+r;case 5292:return Ge+r+Zt+Ze(r,"basis","preferred-size")+r;case 6060:return Ge+"box-"+Ze(r,"-grow","")+Ge+r+Zt+Ze(r,"grow","positive")+r;case 4554:return Ge+Ze(r,/([^-])(transform)/g,"$1"+Ge+"$2")+r;case 6187:return Ze(Ze(Ze(r,/(zoom-|grab)/,Ge+"$1"),/(image-set)/,Ge+"$1"),r,"")+r;case 5495:case 3959:return Ze(r,/(image-set\([^]*)/,Ge+"$1$`$1");case 4968:return Ze(Ze(r,/(.+:)(flex-)?(.*)/,Ge+"box-pack:$3"+Zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ge+r+r;case 4095:case 3583:case 4068:case 2532:return Ze(r,/(.+)-inline(.+)/,Ge+"$1$2")+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ga(r)-1-n>6)switch(zt(r,n+1)){case 109:if(zt(r,n+4)!==45)break;case 102:return Ze(r,/(.+:)(.+)-([^]+)/,"$1"+Ge+"$2-$3$1"+vs+(zt(r,n+3)==108?"$3":"$2-$3"))+r;case 115:return~Ku(r,"stretch")?Eh(Ze(r,"stretch","fill-available"),n)+r:r}break;case 4949:if(zt(r,n+1)!==115)break;case 6444:switch(zt(r,Ga(r)-3-(~Ku(r,"!important")&&10))){case 107:return Ze(r,":",":"+Ge)+r;case 101:return Ze(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ge+(zt(r,14)===45?"inline-":"")+"box$3$1"+Ge+"$2$3$1"+Zt+"$2box$3")+r}break;case 5936:switch(zt(r,n+11)){case 114:return Ge+r+Zt+Ze(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return Ge+r+Zt+Ze(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return Ge+r+Zt+Ze(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return Ge+r+Zt+r+r}return r}var gx=function(n,l,s,o){if(n.length>-1&&!n.return)switch(n.type){case Xu:n.return=Eh(n.value,n.length);break;case hh:return Zn([Pi(n,{value:Ze(n.value,"@","@"+Ge)})],o);case Qu:if(n.length)return K1(n.props,function(f){switch(X1(f,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zn([Pi(n,{props:[Ze(f,/:(read-\w+)/,":"+vs+"$1")]})],o);case"::placeholder":return Zn([Pi(n,{props:[Ze(f,/:(plac\w+)/,":"+Ge+"input-$1")]}),Pi(n,{props:[Ze(f,/:(plac\w+)/,":"+vs+"$1")]}),Pi(n,{props:[Ze(f,/:(plac\w+)/,Zt+"input-$1")]})],o)}return""})}},yx=[gx],Pu;{var bx=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Pu=function(n){var l=n.match(bx);if(l)return l[l.length-1]}}var vx=function(n){var l=n.key;if(!l)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
85
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(l==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(w){var q=w.getAttribute("data-emotion");q.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var o=n.stylisPlugins||yx;if(/[^a-z-]/.test(l))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+l+'" was passed');var f={},d,h=[];d=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+l+' "]'),function(w){for(var q=w.getAttribute("data-emotion").split(" "),te=1;te<q.length;te++)f[q[te]]=!0;h.push(w)});var y,p=[ux,cx];p.push(mx({get compat(){return k.compat}}),px);{var x,N=[nx,function(w){w.root||(w.return?x.insert(w.return):w.value&&w.type!==Fu&&x.insert(w.value+"{}"))}],C=ix(p.concat(o,N)),S=function(q){return Zn(ax(q),C)};y=function(q,te,Q,le){if(x=Q,Pu){var I=Pu(te.styles);I&&(x={insert:function(K){Q.insert(K+I)}})}S(q?q+"{"+te.styles+"}":te.styles),le&&(k.inserted[te.name]=!0)}}var k={key:l,sheet:new G1({key:l,container:d,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:f,registered:{},insert:y};return k.sheet.hydrate(h),k},Wu={exports:{}},Fe={};/** @license React v16.13.1
358
86
  * react-is.production.min.js
359
87
  *
360
88
  * Copyright (c) Facebook, Inc. and its affiliates.
361
89
  *
362
90
  * This source code is licensed under the MIT license found in the
363
91
  * LICENSE file in the root directory of this source tree.
364
- */var OT;function zO(){if(OT)return fn;OT=1;var r=typeof Symbol=="function"&&Symbol.for,u=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,d=r?Symbol.for("react.fragment"):60107,h=r?Symbol.for("react.strict_mode"):60108,y=r?Symbol.for("react.profiler"):60114,b=r?Symbol.for("react.provider"):60109,E=r?Symbol.for("react.context"):60110,N=r?Symbol.for("react.async_mode"):60111,C=r?Symbol.for("react.concurrent_mode"):60111,U=r?Symbol.for("react.forward_ref"):60112,A=r?Symbol.for("react.suspense"):60113,R=r?Symbol.for("react.suspense_list"):60120,z=r?Symbol.for("react.memo"):60115,Q=r?Symbol.for("react.lazy"):60116,j=r?Symbol.for("react.block"):60121,F=r?Symbol.for("react.fundamental"):60117,fe=r?Symbol.for("react.responder"):60118,ge=r?Symbol.for("react.scope"):60119;function De($){if(typeof $=="object"&&$!==null){var xe=$.$$typeof;switch(xe){case u:switch($=$.type,$){case N:case C:case d:case y:case h:case A:return $;default:switch($=$&&$.$$typeof,$){case E:case U:case Q:case z:case b:return $;default:return xe}}case s:return xe}}}function pe($){return De($)===C}return fn.AsyncMode=N,fn.ConcurrentMode=C,fn.ContextConsumer=E,fn.ContextProvider=b,fn.Element=u,fn.ForwardRef=U,fn.Fragment=d,fn.Lazy=Q,fn.Memo=z,fn.Portal=s,fn.Profiler=y,fn.StrictMode=h,fn.Suspense=A,fn.isAsyncMode=function($){return pe($)||De($)===N},fn.isConcurrentMode=pe,fn.isContextConsumer=function($){return De($)===E},fn.isContextProvider=function($){return De($)===b},fn.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===u},fn.isForwardRef=function($){return De($)===U},fn.isFragment=function($){return De($)===d},fn.isLazy=function($){return De($)===Q},fn.isMemo=function($){return De($)===z},fn.isPortal=function($){return De($)===s},fn.isProfiler=function($){return De($)===y},fn.isStrictMode=function($){return De($)===h},fn.isSuspense=function($){return De($)===A},fn.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===d||$===C||$===y||$===h||$===A||$===R||typeof $=="object"&&$!==null&&($.$$typeof===Q||$.$$typeof===z||$.$$typeof===b||$.$$typeof===E||$.$$typeof===U||$.$$typeof===F||$.$$typeof===fe||$.$$typeof===ge||$.$$typeof===j)},fn.typeOf=De,fn}var dn={};/** @license React v16.13.1
365
- * react-is.development.js
366
- *
367
- * Copyright (c) Facebook, Inc. and its affiliates.
368
- *
369
- * This source code is licensed under the MIT license found in the
370
- * LICENSE file in the root directory of this source tree.
371
- */var wT;function jO(){return wT||(wT=1,process.env.NODE_ENV!=="production"&&(function(){var r=typeof Symbol=="function"&&Symbol.for,u=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,d=r?Symbol.for("react.fragment"):60107,h=r?Symbol.for("react.strict_mode"):60108,y=r?Symbol.for("react.profiler"):60114,b=r?Symbol.for("react.provider"):60109,E=r?Symbol.for("react.context"):60110,N=r?Symbol.for("react.async_mode"):60111,C=r?Symbol.for("react.concurrent_mode"):60111,U=r?Symbol.for("react.forward_ref"):60112,A=r?Symbol.for("react.suspense"):60113,R=r?Symbol.for("react.suspense_list"):60120,z=r?Symbol.for("react.memo"):60115,Q=r?Symbol.for("react.lazy"):60116,j=r?Symbol.for("react.block"):60121,F=r?Symbol.for("react.fundamental"):60117,fe=r?Symbol.for("react.responder"):60118,ge=r?Symbol.for("react.scope"):60119;function De(he){return typeof he=="string"||typeof he=="function"||he===d||he===C||he===y||he===h||he===A||he===R||typeof he=="object"&&he!==null&&(he.$$typeof===Q||he.$$typeof===z||he.$$typeof===b||he.$$typeof===E||he.$$typeof===U||he.$$typeof===F||he.$$typeof===fe||he.$$typeof===ge||he.$$typeof===j)}function pe(he){if(typeof he=="object"&&he!==null){var zn=he.$$typeof;switch(zn){case u:var An=he.type;switch(An){case N:case C:case d:case y:case h:case A:return An;default:var wa=An&&An.$$typeof;switch(wa){case E:case U:case Q:case z:case b:return wa;default:return zn}}case s:return zn}}}var $=N,xe=C,Te=E,Le=b,Pe=u,we=U,$e=d,M=Q,ue=z,ye=s,ze=y,V=h,ne=A,be=!1;function Ye(he){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),se(he)||pe(he)===N}function se(he){return pe(he)===C}function _(he){return pe(he)===E}function H(he){return pe(he)===b}function W(he){return typeof he=="object"&&he!==null&&he.$$typeof===u}function ee(he){return pe(he)===U}function Re(he){return pe(he)===d}function je(he){return pe(he)===Q}function Ne(he){return pe(he)===z}function Je(he){return pe(he)===s}function Ze(he){return pe(he)===y}function ct(he){return pe(he)===h}function Me(he){return pe(he)===A}dn.AsyncMode=$,dn.ConcurrentMode=xe,dn.ContextConsumer=Te,dn.ContextProvider=Le,dn.Element=Pe,dn.ForwardRef=we,dn.Fragment=$e,dn.Lazy=M,dn.Memo=ue,dn.Portal=ye,dn.Profiler=ze,dn.StrictMode=V,dn.Suspense=ne,dn.isAsyncMode=Ye,dn.isConcurrentMode=se,dn.isContextConsumer=_,dn.isContextProvider=H,dn.isElement=W,dn.isForwardRef=ee,dn.isFragment=Re,dn.isLazy=je,dn.isMemo=Ne,dn.isPortal=Je,dn.isProfiler=Ze,dn.isStrictMode=ct,dn.isSuspense=Me,dn.isValidElementType=De,dn.typeOf=pe})()),dn}var MT;function zT(){return MT||(MT=1,process.env.NODE_ENV==="production"?mb.exports=zO():mb.exports=jO()),mb.exports}/*
372
- object-assign
373
- (c) Sindre Sorhus
374
- @license MIT
375
- */var LE,jT;function UO(){if(jT)return LE;jT=1;var r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function d(y){if(y==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(y)}function h(){try{if(!Object.assign)return!1;var y=new String("abc");if(y[5]="de",Object.getOwnPropertyNames(y)[0]==="5")return!1;for(var b={},E=0;E<10;E++)b["_"+String.fromCharCode(E)]=E;var N=Object.getOwnPropertyNames(b).map(function(U){return b[U]});if(N.join("")!=="0123456789")return!1;var C={};return"abcdefghijklmnopqrst".split("").forEach(function(U){C[U]=U}),Object.keys(Object.assign({},C)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return LE=h()?Object.assign:function(y,b){for(var E,N=d(y),C,U=1;U<arguments.length;U++){E=Object(arguments[U]);for(var A in E)u.call(E,A)&&(N[A]=E[A]);if(r){C=r(E);for(var R=0;R<C.length;R++)s.call(E,C[R])&&(N[C[R]]=E[C[R]])}}return N},LE}var qE,UT;function YE(){if(UT)return qE;UT=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qE=r,qE}var GE,VT;function BT(){return VT||(VT=1,GE=Function.call.bind(Object.prototype.hasOwnProperty)),GE}var $E,kT;function VO(){if(kT)return $E;kT=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var u=YE(),s={},d=BT();r=function(y){var b="Warning: "+y;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}}}function h(y,b,E,N,C){if(process.env.NODE_ENV!=="production"){for(var U in y)if(d(y,U)){var A;try{if(typeof y[U]!="function"){var R=Error((N||"React class")+": "+E+" type `"+U+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[U]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}A=y[U](b,U,N,E,null,u)}catch(Q){A=Q}if(A&&!(A instanceof Error)&&r((N||"React class")+": type specification of "+E+" `"+U+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof A+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),A instanceof Error&&!(A.message in s)){s[A.message]=!0;var z=C?C():"";r("Failed "+E+" type: "+A.message+(z??""))}}}}return h.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(s={})},$E=h,$E}var ZE,HT;function BO(){if(HT)return ZE;HT=1;var r=zT(),u=UO(),s=YE(),d=BT(),h=VO(),y=function(){};process.env.NODE_ENV!=="production"&&(y=function(E){var N="Warning: "+E;typeof console<"u"&&console.error(N);try{throw new Error(N)}catch{}});function b(){return null}return ZE=function(E,N){var C=typeof Symbol=="function"&&Symbol.iterator,U="@@iterator";function A(se){var _=se&&(C&&se[C]||se[U]);if(typeof _=="function")return _}var R="<<anonymous>>",z={array:fe("array"),bigint:fe("bigint"),bool:fe("boolean"),func:fe("function"),number:fe("number"),object:fe("object"),string:fe("string"),symbol:fe("symbol"),any:ge(),arrayOf:De,element:pe(),elementType:$(),instanceOf:xe,node:we(),objectOf:Le,oneOf:Te,oneOfType:Pe,shape:M,exact:ue};function Q(se,_){return se===_?se!==0||1/se===1/_:se!==se&&_!==_}function j(se,_){this.message=se,this.data=_&&typeof _=="object"?_:{},this.stack=""}j.prototype=Error.prototype;function F(se){if(process.env.NODE_ENV!=="production")var _={},H=0;function W(Re,je,Ne,Je,Ze,ct,Me){if(Je=Je||R,ct=ct||Ne,Me!==s){if(N){var he=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw he.name="Invariant Violation",he}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var zn=Je+":"+Ne;!_[zn]&&H<3&&(y("You are manually calling a React.PropTypes validation function for the `"+ct+"` prop on `"+Je+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[zn]=!0,H++)}}return je[Ne]==null?Re?je[Ne]===null?new j("The "+Ze+" `"+ct+"` is marked as required "+("in `"+Je+"`, but its value is `null`.")):new j("The "+Ze+" `"+ct+"` is marked as required in "+("`"+Je+"`, but its value is `undefined`.")):null:se(je,Ne,Je,Ze,ct)}var ee=W.bind(null,!1);return ee.isRequired=W.bind(null,!0),ee}function fe(se){function _(H,W,ee,Re,je,Ne){var Je=H[W],Ze=V(Je);if(Ze!==se){var ct=ne(Je);return new j("Invalid "+Re+" `"+je+"` of type "+("`"+ct+"` supplied to `"+ee+"`, expected ")+("`"+se+"`."),{expectedType:se})}return null}return F(_)}function ge(){return F(b)}function De(se){function _(H,W,ee,Re,je){if(typeof se!="function")return new j("Property `"+je+"` of component `"+ee+"` has invalid PropType notation inside arrayOf.");var Ne=H[W];if(!Array.isArray(Ne)){var Je=V(Ne);return new j("Invalid "+Re+" `"+je+"` of type "+("`"+Je+"` supplied to `"+ee+"`, expected an array."))}for(var Ze=0;Ze<Ne.length;Ze++){var ct=se(Ne,Ze,ee,Re,je+"["+Ze+"]",s);if(ct instanceof Error)return ct}return null}return F(_)}function pe(){function se(_,H,W,ee,Re){var je=_[H];if(!E(je)){var Ne=V(je);return new j("Invalid "+ee+" `"+Re+"` of type "+("`"+Ne+"` supplied to `"+W+"`, expected a single ReactElement."))}return null}return F(se)}function $(){function se(_,H,W,ee,Re){var je=_[H];if(!r.isValidElementType(je)){var Ne=V(je);return new j("Invalid "+ee+" `"+Re+"` of type "+("`"+Ne+"` supplied to `"+W+"`, expected a single ReactElement type."))}return null}return F(se)}function xe(se){function _(H,W,ee,Re,je){if(!(H[W]instanceof se)){var Ne=se.name||R,Je=Ye(H[W]);return new j("Invalid "+Re+" `"+je+"` of type "+("`"+Je+"` supplied to `"+ee+"`, expected ")+("instance of `"+Ne+"`."))}return null}return F(_)}function Te(se){if(!Array.isArray(se))return process.env.NODE_ENV!=="production"&&(arguments.length>1?y("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):y("Invalid argument supplied to oneOf, expected an array.")),b;function _(H,W,ee,Re,je){for(var Ne=H[W],Je=0;Je<se.length;Je++)if(Q(Ne,se[Je]))return null;var Ze=JSON.stringify(se,function(Me,he){var zn=ne(he);return zn==="symbol"?String(he):he});return new j("Invalid "+Re+" `"+je+"` of value `"+String(Ne)+"` "+("supplied to `"+ee+"`, expected one of "+Ze+"."))}return F(_)}function Le(se){function _(H,W,ee,Re,je){if(typeof se!="function")return new j("Property `"+je+"` of component `"+ee+"` has invalid PropType notation inside objectOf.");var Ne=H[W],Je=V(Ne);if(Je!=="object")return new j("Invalid "+Re+" `"+je+"` of type "+("`"+Je+"` supplied to `"+ee+"`, expected an object."));for(var Ze in Ne)if(d(Ne,Ze)){var ct=se(Ne,Ze,ee,Re,je+"."+Ze,s);if(ct instanceof Error)return ct}return null}return F(_)}function Pe(se){if(!Array.isArray(se))return process.env.NODE_ENV!=="production"&&y("Invalid argument supplied to oneOfType, expected an instance of array."),b;for(var _=0;_<se.length;_++){var H=se[_];if(typeof H!="function")return y("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(H)+" at index "+_+"."),b}function W(ee,Re,je,Ne,Je){for(var Ze=[],ct=0;ct<se.length;ct++){var Me=se[ct],he=Me(ee,Re,je,Ne,Je,s);if(he==null)return null;he.data&&d(he.data,"expectedType")&&Ze.push(he.data.expectedType)}var zn=Ze.length>0?", expected one of type ["+Ze.join(", ")+"]":"";return new j("Invalid "+Ne+" `"+Je+"` supplied to "+("`"+je+"`"+zn+"."))}return F(W)}function we(){function se(_,H,W,ee,Re){return ye(_[H])?null:new j("Invalid "+ee+" `"+Re+"` supplied to "+("`"+W+"`, expected a ReactNode."))}return F(se)}function $e(se,_,H,W,ee){return new j((se||"React class")+": "+_+" type `"+H+"."+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ee+"`.")}function M(se){function _(H,W,ee,Re,je){var Ne=H[W],Je=V(Ne);if(Je!=="object")return new j("Invalid "+Re+" `"+je+"` of type `"+Je+"` "+("supplied to `"+ee+"`, expected `object`."));for(var Ze in se){var ct=se[Ze];if(typeof ct!="function")return $e(ee,Re,je,Ze,ne(ct));var Me=ct(Ne,Ze,ee,Re,je+"."+Ze,s);if(Me)return Me}return null}return F(_)}function ue(se){function _(H,W,ee,Re,je){var Ne=H[W],Je=V(Ne);if(Je!=="object")return new j("Invalid "+Re+" `"+je+"` of type `"+Je+"` "+("supplied to `"+ee+"`, expected `object`."));var Ze=u({},H[W],se);for(var ct in Ze){var Me=se[ct];if(d(se,ct)&&typeof Me!="function")return $e(ee,Re,je,ct,ne(Me));if(!Me)return new j("Invalid "+Re+" `"+je+"` key `"+ct+"` supplied to `"+ee+"`.\nBad object: "+JSON.stringify(H[W],null," ")+`
376
- Valid keys: `+JSON.stringify(Object.keys(se),null," "));var he=Me(Ne,ct,ee,Re,je+"."+ct,s);if(he)return he}return null}return F(_)}function ye(se){switch(typeof se){case"number":case"string":case"undefined":return!0;case"boolean":return!se;case"object":if(Array.isArray(se))return se.every(ye);if(se===null||E(se))return!0;var _=A(se);if(_){var H=_.call(se),W;if(_!==se.entries){for(;!(W=H.next()).done;)if(!ye(W.value))return!1}else for(;!(W=H.next()).done;){var ee=W.value;if(ee&&!ye(ee[1]))return!1}}else return!1;return!0;default:return!1}}function ze(se,_){return se==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function V(se){var _=typeof se;return Array.isArray(se)?"array":se instanceof RegExp?"object":ze(_,se)?"symbol":_}function ne(se){if(typeof se>"u"||se===null)return""+se;var _=V(se);if(_==="object"){if(se instanceof Date)return"date";if(se instanceof RegExp)return"regexp"}return _}function be(se){var _=ne(se);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function Ye(se){return!se.constructor||!se.constructor.name?R:se.constructor.name}return z.checkPropTypes=h,z.resetWarningCache=h.resetWarningCache,z.PropTypes=z,z},ZE}var XE,LT;function kO(){if(LT)return XE;LT=1;var r=YE();function u(){}function s(){}return s.resetWarningCache=u,XE=function(){function d(b,E,N,C,U,A){if(A!==r){var R=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw R.name="Invariant Violation",R}}d.isRequired=d;function h(){return d}var y={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:h,element:d,elementType:d,instanceOf:h,node:d,objectOf:h,oneOf:h,oneOfType:h,shape:h,exact:h,checkPropTypes:s,resetWarningCache:u};return y.PropTypes=y,y},XE}var qT;function HO(){if(qT)return db.exports;if(qT=1,process.env.NODE_ENV!=="production"){var r=zT(),u=!0;db.exports=BO()(r.isElement,u)}else db.exports=kO()();return db.exports}var LO=HO();const nn=ec(LO);function qO(r,u,s=void 0){const d={};for(const h in r){const y=r[h];let b="",E=!0;for(let N=0;N<y.length;N+=1){const C=y[N];C&&(b+=(E===!0?"":" ")+u(C),E=!1,s&&s[C]&&(b+=" "+s[C]))}d[h]=b}return d}function Qf(r,...u){const s=new URL(`https://mui.com/production-error/?code=${r}`);return u.forEach(d=>s.searchParams.append("args[]",d)),`Minified MUI error #${r}; visit ${s} for the full message.`}const YO="$$material";function QE(){return QE=Object.assign?Object.assign.bind():function(r){for(var u=1;u<arguments.length;u++){var s=arguments[u];for(var d in s)({}).hasOwnProperty.call(s,d)&&(r[d]=s[d])}return r},QE.apply(null,arguments)}function GO(r){if(r.sheet)return r.sheet;for(var u=0;u<document.styleSheets.length;u++)if(document.styleSheets[u].ownerNode===r)return document.styleSheets[u]}function $O(r){var u=document.createElement("style");return u.setAttribute("data-emotion",r.key),r.nonce!==void 0&&u.setAttribute("nonce",r.nonce),u.appendChild(document.createTextNode("")),u.setAttribute("data-s",""),u}var ZO=(function(){function r(s){var d=this;this._insertTag=function(h){var y;d.tags.length===0?d.insertionPoint?y=d.insertionPoint.nextSibling:d.prepend?y=d.container.firstChild:y=d.before:y=d.tags[d.tags.length-1].nextSibling,d.container.insertBefore(h,y),d.tags.push(h)},this.isSpeedy=s.speedy===void 0?!1:s.speedy,this.tags=[],this.ctr=0,this.nonce=s.nonce,this.key=s.key,this.container=s.container,this.prepend=s.prepend,this.insertionPoint=s.insertionPoint,this.before=null}var u=r.prototype;return u.hydrate=function(d){d.forEach(this._insertTag)},u.insert=function(d){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag($O(this));var h=this.tags[this.tags.length-1];{var y=d.charCodeAt(0)===64&&d.charCodeAt(1)===105;y&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
377
- `+d+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!y}if(this.isSpeedy){var b=GO(h);try{b.insertRule(d,b.cssRules.length)}catch(E){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(d)||console.error('There was a problem inserting the following rule: "'+d+'"',E)}}else h.appendChild(document.createTextNode(d));this.ctr++},u.flush=function(){this.tags.forEach(function(d){var h;return(h=d.parentNode)==null?void 0:h.removeChild(d)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},r})(),Ml="-ms-",hb="-moz-",sn="-webkit-",JE="comm",KE="rule",FE="decl",XO="@import",YT="@keyframes",QO="@layer",JO=Math.abs,pb=String.fromCharCode,KO=Object.assign;function FO(r,u){return fl(r,0)^45?(((u<<2^fl(r,0))<<2^fl(r,1))<<2^fl(r,2))<<2^fl(r,3):0}function GT(r){return r.trim()}function IO(r,u){return(r=u.exec(r))?r[0]:r}function cn(r,u,s){return r.replace(u,s)}function IE(r,u){return r.indexOf(u)}function fl(r,u){return r.charCodeAt(u)|0}function Uy(r,u,s){return r.slice(u,s)}function Qo(r){return r.length}function PE(r){return r.length}function yb(r,u){return u.push(r),r}function PO(r,u){return r.map(u).join("")}var gb=1,Xm=1,$T=0,yr=0,Oa=0,Qm="";function vb(r,u,s,d,h,y,b){return{value:r,root:u,parent:s,type:d,props:h,children:y,line:gb,column:Xm,length:b,return:""}}function Vy(r,u){return KO(vb("",null,null,"",null,null,0),r,{length:-r.length},u)}function WO(){return Oa}function ew(){return Oa=yr>0?fl(Qm,--yr):0,Xm--,Oa===10&&(Xm=1,gb--),Oa}function Ur(){return Oa=yr<$T?fl(Qm,yr++):0,Xm++,Oa===10&&(Xm=1,gb++),Oa}function Jo(){return fl(Qm,yr)}function bb(){return yr}function By(r,u){return Uy(Qm,r,u)}function ky(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ZT(r){return gb=Xm=1,$T=Qo(Qm=r),yr=0,[]}function XT(r){return Qm="",r}function Sb(r){return GT(By(yr-1,WE(r===91?r+2:r===40?r+1:r)))}function tw(r){for(;(Oa=Jo())&&Oa<33;)Ur();return ky(r)>2||ky(Oa)>3?"":" "}function nw(r,u){for(;--u&&Ur()&&!(Oa<48||Oa>102||Oa>57&&Oa<65||Oa>70&&Oa<97););return By(r,bb()+(u<6&&Jo()==32&&Ur()==32))}function WE(r){for(;Ur();)switch(Oa){case r:return yr;case 34:case 39:r!==34&&r!==39&&WE(Oa);break;case 40:r===41&&WE(r);break;case 92:Ur();break}return yr}function aw(r,u){for(;Ur()&&r+Oa!==57;)if(r+Oa===84&&Jo()===47)break;return"/*"+By(u,yr-1)+"*"+pb(r===47?r:Ur())}function lw(r){for(;!ky(Jo());)Ur();return By(r,yr)}function rw(r){return XT(Eb("",null,null,null,[""],r=ZT(r),0,[0],r))}function Eb(r,u,s,d,h,y,b,E,N){for(var C=0,U=0,A=b,R=0,z=0,Q=0,j=1,F=1,fe=1,ge=0,De="",pe=h,$=y,xe=d,Te=De;F;)switch(Q=ge,ge=Ur()){case 40:if(Q!=108&&fl(Te,A-1)==58){IE(Te+=cn(Sb(ge),"&","&\f"),"&\f")!=-1&&(fe=-1);break}case 34:case 39:case 91:Te+=Sb(ge);break;case 9:case 10:case 13:case 32:Te+=tw(Q);break;case 92:Te+=nw(bb()-1,7);continue;case 47:switch(Jo()){case 42:case 47:yb(iw(aw(Ur(),bb()),u,s),N);break;default:Te+="/"}break;case 123*j:E[C++]=Qo(Te)*fe;case 125*j:case 59:case 0:switch(ge){case 0:case 125:F=0;case 59+U:fe==-1&&(Te=cn(Te,/\f/g,"")),z>0&&Qo(Te)-A&&yb(z>32?JT(Te+";",d,s,A-1):JT(cn(Te," ","")+";",d,s,A-2),N);break;case 59:Te+=";";default:if(yb(xe=QT(Te,u,s,C,U,h,E,De,pe=[],$=[],A),y),ge===123)if(U===0)Eb(Te,u,xe,xe,pe,y,A,E,$);else switch(R===99&&fl(Te,3)===110?100:R){case 100:case 108:case 109:case 115:Eb(r,xe,xe,d&&yb(QT(r,xe,xe,0,0,h,E,De,h,pe=[],A),$),h,$,A,E,d?pe:$);break;default:Eb(Te,xe,xe,xe,[""],$,0,E,$)}}C=U=z=0,j=fe=1,De=Te="",A=b;break;case 58:A=1+Qo(Te),z=Q;default:if(j<1){if(ge==123)--j;else if(ge==125&&j++==0&&ew()==125)continue}switch(Te+=pb(ge),ge*j){case 38:fe=U>0?1:(Te+="\f",-1);break;case 44:E[C++]=(Qo(Te)-1)*fe,fe=1;break;case 64:Jo()===45&&(Te+=Sb(Ur())),R=Jo(),U=A=Qo(De=Te+=lw(bb())),ge++;break;case 45:Q===45&&Qo(Te)==2&&(j=0)}}return y}function QT(r,u,s,d,h,y,b,E,N,C,U){for(var A=h-1,R=h===0?y:[""],z=PE(R),Q=0,j=0,F=0;Q<d;++Q)for(var fe=0,ge=Uy(r,A+1,A=JO(j=b[Q])),De=r;fe<z;++fe)(De=GT(j>0?R[fe]+" "+ge:cn(ge,/&\f/g,R[fe])))&&(N[F++]=De);return vb(r,u,s,h===0?KE:E,N,C,U)}function iw(r,u,s){return vb(r,u,s,JE,pb(WO()),Uy(r,2,-2),0)}function JT(r,u,s,d){return vb(r,u,s,FE,Uy(r,0,d),Uy(r,d+1,-1),d)}function Jm(r,u){for(var s="",d=PE(r),h=0;h<d;h++)s+=u(r[h],h,r,u)||"";return s}function ow(r,u,s,d){switch(r.type){case QO:if(r.children.length)break;case XO:case FE:return r.return=r.return||r.value;case JE:return"";case YT:return r.return=r.value+"{"+Jm(r.children,d)+"}";case KE:r.value=r.props.join(",")}return Qo(s=Jm(r.children,d))?r.return=r.value+"{"+s+"}":""}function uw(r){var u=PE(r);return function(s,d,h,y){for(var b="",E=0;E<u;E++)b+=r[E](s,d,h,y)||"";return b}}function KT(r){var u=Object.create(null);return function(s){return u[s]===void 0&&(u[s]=r(s)),u[s]}}var sw=function(u,s,d){for(var h=0,y=0;h=y,y=Jo(),h===38&&y===12&&(s[d]=1),!ky(y);)Ur();return By(u,yr)},cw=function(u,s){var d=-1,h=44;do switch(ky(h)){case 0:h===38&&Jo()===12&&(s[d]=1),u[d]+=sw(yr-1,s,d);break;case 2:u[d]+=Sb(h);break;case 4:if(h===44){u[++d]=Jo()===58?"&\f":"",s[d]=u[d].length;break}default:u[d]+=pb(h)}while(h=Ur());return u},fw=function(u,s){return XT(cw(ZT(u),s))},FT=new WeakMap,dw=function(u){if(!(u.type!=="rule"||!u.parent||u.length<1)){for(var s=u.value,d=u.parent,h=u.column===d.column&&u.line===d.line;d.type!=="rule";)if(d=d.parent,!d)return;if(!(u.props.length===1&&s.charCodeAt(0)!==58&&!FT.get(d))&&!h){FT.set(u,!0);for(var y=[],b=fw(s,y),E=d.props,N=0,C=0;N<b.length;N++)for(var U=0;U<E.length;U++,C++)u.props[C]=y[N]?b[N].replace(/&\f/g,E[U]):E[U]+" "+b[N]}}},mw=function(u){if(u.type==="decl"){var s=u.value;s.charCodeAt(0)===108&&s.charCodeAt(2)===98&&(u.return="",u.value="")}},hw="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",pw=function(u){return u.type==="comm"&&u.children.indexOf(hw)>-1},yw=function(u){return function(s,d,h){if(!(s.type!=="rule"||u.compat)){var y=s.value.match(/(:first|:nth|:nth-last)-child/g);if(y){for(var b=!!s.parent,E=b?s.parent.children:h,N=E.length-1;N>=0;N--){var C=E[N];if(C.line<s.line)break;if(C.column<s.column){if(pw(C))return;break}}y.forEach(function(U){console.error('The pseudo class "'+U+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+U.split("-child")[0]+'-of-type".')})}}}},IT=function(u){return u.type.charCodeAt(1)===105&&u.type.charCodeAt(0)===64},gw=function(u,s){for(var d=u-1;d>=0;d--)if(!IT(s[d]))return!0;return!1},PT=function(u){u.type="",u.value="",u.return="",u.children="",u.props=""},vw=function(u,s,d){IT(u)&&(u.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),PT(u)):gw(s,d)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),PT(u)))};function WT(r,u){switch(FO(r,u)){case 5103:return sn+"print-"+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return sn+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return sn+r+hb+r+Ml+r+r;case 6828:case 4268:return sn+r+Ml+r+r;case 6165:return sn+r+Ml+"flex-"+r+r;case 5187:return sn+r+cn(r,/(\w+).+(:[^]+)/,sn+"box-$1$2"+Ml+"flex-$1$2")+r;case 5443:return sn+r+Ml+"flex-item-"+cn(r,/flex-|-self/,"")+r;case 4675:return sn+r+Ml+"flex-line-pack"+cn(r,/align-content|flex-|-self/,"")+r;case 5548:return sn+r+Ml+cn(r,"shrink","negative")+r;case 5292:return sn+r+Ml+cn(r,"basis","preferred-size")+r;case 6060:return sn+"box-"+cn(r,"-grow","")+sn+r+Ml+cn(r,"grow","positive")+r;case 4554:return sn+cn(r,/([^-])(transform)/g,"$1"+sn+"$2")+r;case 6187:return cn(cn(cn(r,/(zoom-|grab)/,sn+"$1"),/(image-set)/,sn+"$1"),r,"")+r;case 5495:case 3959:return cn(r,/(image-set\([^]*)/,sn+"$1$`$1");case 4968:return cn(cn(r,/(.+:)(flex-)?(.*)/,sn+"box-pack:$3"+Ml+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+sn+r+r;case 4095:case 3583:case 4068:case 2532:return cn(r,/(.+)-inline(.+)/,sn+"$1$2")+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qo(r)-1-u>6)switch(fl(r,u+1)){case 109:if(fl(r,u+4)!==45)break;case 102:return cn(r,/(.+:)(.+)-([^]+)/,"$1"+sn+"$2-$3$1"+hb+(fl(r,u+3)==108?"$3":"$2-$3"))+r;case 115:return~IE(r,"stretch")?WT(cn(r,"stretch","fill-available"),u)+r:r}break;case 4949:if(fl(r,u+1)!==115)break;case 6444:switch(fl(r,Qo(r)-3-(~IE(r,"!important")&&10))){case 107:return cn(r,":",":"+sn)+r;case 101:return cn(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+sn+(fl(r,14)===45?"inline-":"")+"box$3$1"+sn+"$2$3$1"+Ml+"$2box$3")+r}break;case 5936:switch(fl(r,u+11)){case 114:return sn+r+Ml+cn(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return sn+r+Ml+cn(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return sn+r+Ml+cn(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return sn+r+Ml+r+r}return r}var bw=function(u,s,d,h){if(u.length>-1&&!u.return)switch(u.type){case FE:u.return=WT(u.value,u.length);break;case YT:return Jm([Vy(u,{value:cn(u.value,"@","@"+sn)})],h);case KE:if(u.length)return PO(u.props,function(y){switch(IO(y,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jm([Vy(u,{props:[cn(y,/:(read-\w+)/,":"+hb+"$1")]})],h);case"::placeholder":return Jm([Vy(u,{props:[cn(y,/:(plac\w+)/,":"+sn+"input-$1")]}),Vy(u,{props:[cn(y,/:(plac\w+)/,":"+hb+"$1")]}),Vy(u,{props:[cn(y,/:(plac\w+)/,Ml+"input-$1")]})],h)}return""})}},Sw=[bw],ex;{var Ew=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;ex=function(u){var s=u.match(Ew);if(s)return s[s.length-1]}}var xw=function(u){var s=u.key;if(!s)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
378
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(s==="css"){var d=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(d,function(j){var F=j.getAttribute("data-emotion");F.indexOf(" ")!==-1&&(document.head.appendChild(j),j.setAttribute("data-s",""))})}var h=u.stylisPlugins||Sw;if(/[^a-z-]/.test(s))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+s+'" was passed');var y={},b,E=[];b=u.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+s+' "]'),function(j){for(var F=j.getAttribute("data-emotion").split(" "),fe=1;fe<F.length;fe++)y[F[fe]]=!0;E.push(j)});var N,C=[dw,mw];C.push(yw({get compat(){return Q.compat}}),vw);{var U,A=[ow,function(j){j.root||(j.return?U.insert(j.return):j.value&&j.type!==JE&&U.insert(j.value+"{}"))}],R=uw(C.concat(h,A)),z=function(F){return Jm(rw(F),R)};N=function(F,fe,ge,De){if(U=ge,ex){var pe=ex(fe.styles);pe&&(U={insert:function(xe){ge.insert(xe+pe)}})}z(F?F+"{"+fe.styles+"}":fe.styles),De&&(Q.inserted[fe.name]=!0)}}var Q={key:s,sheet:new ZO({key:s,container:b,nonce:u.nonce,speedy:u.speedy,prepend:u.prepend,insertionPoint:u.insertionPoint}),nonce:u.nonce,inserted:y,registered:{},insert:N};return Q.sheet.hydrate(E),Q},xb={exports:{}},mn={};/** @license React v16.13.1
379
- * react-is.production.min.js
380
- *
381
- * Copyright (c) Facebook, Inc. and its affiliates.
382
- *
383
- * This source code is licensed under the MIT license found in the
384
- * LICENSE file in the root directory of this source tree.
385
- */var eC;function _w(){if(eC)return mn;eC=1;var r=typeof Symbol=="function"&&Symbol.for,u=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,d=r?Symbol.for("react.fragment"):60107,h=r?Symbol.for("react.strict_mode"):60108,y=r?Symbol.for("react.profiler"):60114,b=r?Symbol.for("react.provider"):60109,E=r?Symbol.for("react.context"):60110,N=r?Symbol.for("react.async_mode"):60111,C=r?Symbol.for("react.concurrent_mode"):60111,U=r?Symbol.for("react.forward_ref"):60112,A=r?Symbol.for("react.suspense"):60113,R=r?Symbol.for("react.suspense_list"):60120,z=r?Symbol.for("react.memo"):60115,Q=r?Symbol.for("react.lazy"):60116,j=r?Symbol.for("react.block"):60121,F=r?Symbol.for("react.fundamental"):60117,fe=r?Symbol.for("react.responder"):60118,ge=r?Symbol.for("react.scope"):60119;function De($){if(typeof $=="object"&&$!==null){var xe=$.$$typeof;switch(xe){case u:switch($=$.type,$){case N:case C:case d:case y:case h:case A:return $;default:switch($=$&&$.$$typeof,$){case E:case U:case Q:case z:case b:return $;default:return xe}}case s:return xe}}}function pe($){return De($)===C}return mn.AsyncMode=N,mn.ConcurrentMode=C,mn.ContextConsumer=E,mn.ContextProvider=b,mn.Element=u,mn.ForwardRef=U,mn.Fragment=d,mn.Lazy=Q,mn.Memo=z,mn.Portal=s,mn.Profiler=y,mn.StrictMode=h,mn.Suspense=A,mn.isAsyncMode=function($){return pe($)||De($)===N},mn.isConcurrentMode=pe,mn.isContextConsumer=function($){return De($)===E},mn.isContextProvider=function($){return De($)===b},mn.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===u},mn.isForwardRef=function($){return De($)===U},mn.isFragment=function($){return De($)===d},mn.isLazy=function($){return De($)===Q},mn.isMemo=function($){return De($)===z},mn.isPortal=function($){return De($)===s},mn.isProfiler=function($){return De($)===y},mn.isStrictMode=function($){return De($)===h},mn.isSuspense=function($){return De($)===A},mn.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===d||$===C||$===y||$===h||$===A||$===R||typeof $=="object"&&$!==null&&($.$$typeof===Q||$.$$typeof===z||$.$$typeof===b||$.$$typeof===E||$.$$typeof===U||$.$$typeof===F||$.$$typeof===fe||$.$$typeof===ge||$.$$typeof===j)},mn.typeOf=De,mn}var hn={};/** @license React v16.13.1
386
- * react-is.development.js
387
- *
388
- * Copyright (c) Facebook, Inc. and its affiliates.
389
- *
390
- * This source code is licensed under the MIT license found in the
391
- * LICENSE file in the root directory of this source tree.
392
- */var tC;function Tw(){return tC||(tC=1,process.env.NODE_ENV!=="production"&&(function(){var r=typeof Symbol=="function"&&Symbol.for,u=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,d=r?Symbol.for("react.fragment"):60107,h=r?Symbol.for("react.strict_mode"):60108,y=r?Symbol.for("react.profiler"):60114,b=r?Symbol.for("react.provider"):60109,E=r?Symbol.for("react.context"):60110,N=r?Symbol.for("react.async_mode"):60111,C=r?Symbol.for("react.concurrent_mode"):60111,U=r?Symbol.for("react.forward_ref"):60112,A=r?Symbol.for("react.suspense"):60113,R=r?Symbol.for("react.suspense_list"):60120,z=r?Symbol.for("react.memo"):60115,Q=r?Symbol.for("react.lazy"):60116,j=r?Symbol.for("react.block"):60121,F=r?Symbol.for("react.fundamental"):60117,fe=r?Symbol.for("react.responder"):60118,ge=r?Symbol.for("react.scope"):60119;function De(he){return typeof he=="string"||typeof he=="function"||he===d||he===C||he===y||he===h||he===A||he===R||typeof he=="object"&&he!==null&&(he.$$typeof===Q||he.$$typeof===z||he.$$typeof===b||he.$$typeof===E||he.$$typeof===U||he.$$typeof===F||he.$$typeof===fe||he.$$typeof===ge||he.$$typeof===j)}function pe(he){if(typeof he=="object"&&he!==null){var zn=he.$$typeof;switch(zn){case u:var An=he.type;switch(An){case N:case C:case d:case y:case h:case A:return An;default:var wa=An&&An.$$typeof;switch(wa){case E:case U:case Q:case z:case b:return wa;default:return zn}}case s:return zn}}}var $=N,xe=C,Te=E,Le=b,Pe=u,we=U,$e=d,M=Q,ue=z,ye=s,ze=y,V=h,ne=A,be=!1;function Ye(he){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),se(he)||pe(he)===N}function se(he){return pe(he)===C}function _(he){return pe(he)===E}function H(he){return pe(he)===b}function W(he){return typeof he=="object"&&he!==null&&he.$$typeof===u}function ee(he){return pe(he)===U}function Re(he){return pe(he)===d}function je(he){return pe(he)===Q}function Ne(he){return pe(he)===z}function Je(he){return pe(he)===s}function Ze(he){return pe(he)===y}function ct(he){return pe(he)===h}function Me(he){return pe(he)===A}hn.AsyncMode=$,hn.ConcurrentMode=xe,hn.ContextConsumer=Te,hn.ContextProvider=Le,hn.Element=Pe,hn.ForwardRef=we,hn.Fragment=$e,hn.Lazy=M,hn.Memo=ue,hn.Portal=ye,hn.Profiler=ze,hn.StrictMode=V,hn.Suspense=ne,hn.isAsyncMode=Ye,hn.isConcurrentMode=se,hn.isContextConsumer=_,hn.isContextProvider=H,hn.isElement=W,hn.isForwardRef=ee,hn.isFragment=Re,hn.isLazy=je,hn.isMemo=Ne,hn.isPortal=Je,hn.isProfiler=Ze,hn.isStrictMode=ct,hn.isSuspense=Me,hn.isValidElementType=De,hn.typeOf=pe})()),hn}var nC;function Cw(){return nC||(nC=1,process.env.NODE_ENV==="production"?xb.exports=_w():xb.exports=Tw()),xb.exports}var tx,aC;function Nw(){if(aC)return tx;aC=1;var r=Cw(),u={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},d={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},h={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},y={};y[r.ForwardRef]=d,y[r.Memo]=h;function b(Q){return r.isMemo(Q)?h:y[Q.$$typeof]||u}var E=Object.defineProperty,N=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,U=Object.getOwnPropertyDescriptor,A=Object.getPrototypeOf,R=Object.prototype;function z(Q,j,F){if(typeof j!="string"){if(R){var fe=A(j);fe&&fe!==R&&z(Q,fe,F)}var ge=N(j);C&&(ge=ge.concat(C(j)));for(var De=b(Q),pe=b(j),$=0;$<ge.length;++$){var xe=ge[$];if(!s[xe]&&!(F&&F[xe])&&!(pe&&pe[xe])&&!(De&&De[xe])){var Te=U(j,xe);try{E(Q,xe,Te)}catch{}}}}return Q}return tx=z,tx}Nw();var Aw=!0;function nx(r,u,s){var d="";return s.split(" ").forEach(function(h){r[h]!==void 0?u.push(r[h]+";"):h&&(d+=h+" ")}),d}var _b=function(u,s,d){var h=u.key+"-"+s.name;(d===!1||Aw===!1)&&u.registered[h]===void 0&&(u.registered[h]=s.styles)},Tb=function(u,s,d){_b(u,s,d);var h=u.key+"-"+s.name;if(u.inserted[s.name]===void 0){var y=s;do u.insert(s===y?"."+h:"",y,u.sheet,!0),y=y.next;while(y!==void 0)}};function Dw(r){for(var u=0,s,d=0,h=r.length;h>=4;++d,h-=4)s=r.charCodeAt(d)&255|(r.charCodeAt(++d)&255)<<8|(r.charCodeAt(++d)&255)<<16|(r.charCodeAt(++d)&255)<<24,s=(s&65535)*1540483477+((s>>>16)*59797<<16),s^=s>>>24,u=(s&65535)*1540483477+((s>>>16)*59797<<16)^(u&65535)*1540483477+((u>>>16)*59797<<16);switch(h){case 3:u^=(r.charCodeAt(d+2)&255)<<16;case 2:u^=(r.charCodeAt(d+1)&255)<<8;case 1:u^=r.charCodeAt(d)&255,u=(u&65535)*1540483477+((u>>>16)*59797<<16)}return u^=u>>>13,u=(u&65535)*1540483477+((u>>>16)*59797<<16),((u^u>>>15)>>>0).toString(36)}var Rw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ow=!0,lC=`You have illegal escape sequence in your template literal, most likely inside content's property value.
92
+ */var wh;function xx(){if(wh)return Fe;wh=1;var r=typeof Symbol=="function"&&Symbol.for,n=r?Symbol.for("react.element"):60103,l=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,d=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,y=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,x=r?Symbol.for("react.forward_ref"):60112,N=r?Symbol.for("react.suspense"):60113,C=r?Symbol.for("react.suspense_list"):60120,S=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,w=r?Symbol.for("react.block"):60121,q=r?Symbol.for("react.fundamental"):60117,te=r?Symbol.for("react.responder"):60118,Q=r?Symbol.for("react.scope"):60119;function le(B){if(typeof B=="object"&&B!==null){var K=B.$$typeof;switch(K){case n:switch(B=B.type,B){case y:case p:case s:case f:case o:case N:return B;default:switch(B=B&&B.$$typeof,B){case h:case x:case k:case S:case d:return B;default:return K}}case l:return K}}}function I(B){return le(B)===p}return Fe.AsyncMode=y,Fe.ConcurrentMode=p,Fe.ContextConsumer=h,Fe.ContextProvider=d,Fe.Element=n,Fe.ForwardRef=x,Fe.Fragment=s,Fe.Lazy=k,Fe.Memo=S,Fe.Portal=l,Fe.Profiler=f,Fe.StrictMode=o,Fe.Suspense=N,Fe.isAsyncMode=function(B){return I(B)||le(B)===y},Fe.isConcurrentMode=I,Fe.isContextConsumer=function(B){return le(B)===h},Fe.isContextProvider=function(B){return le(B)===d},Fe.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===n},Fe.isForwardRef=function(B){return le(B)===x},Fe.isFragment=function(B){return le(B)===s},Fe.isLazy=function(B){return le(B)===k},Fe.isMemo=function(B){return le(B)===S},Fe.isPortal=function(B){return le(B)===l},Fe.isProfiler=function(B){return le(B)===f},Fe.isStrictMode=function(B){return le(B)===o},Fe.isSuspense=function(B){return le(B)===N},Fe.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===s||B===p||B===f||B===o||B===N||B===C||typeof B=="object"&&B!==null&&(B.$$typeof===k||B.$$typeof===S||B.$$typeof===d||B.$$typeof===h||B.$$typeof===x||B.$$typeof===q||B.$$typeof===te||B.$$typeof===Q||B.$$typeof===w)},Fe.typeOf=le,Fe}var Dh;function Nx(){return Dh||(Dh=1,Wu.exports=xx()),Wu.exports}var ec,Ah;function Sx(){if(Ah)return ec;Ah=1;var r=Nx(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};f[r.ForwardRef]=s,f[r.Memo]=o;function d(k){return r.isMemo(k)?o:f[k.$$typeof]||n}var h=Object.defineProperty,y=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,x=Object.getOwnPropertyDescriptor,N=Object.getPrototypeOf,C=Object.prototype;function S(k,w,q){if(typeof w!="string"){if(C){var te=N(w);te&&te!==C&&S(k,te,q)}var Q=y(w);p&&(Q=Q.concat(p(w)));for(var le=d(k),I=d(w),B=0;B<Q.length;++B){var K=Q[B];if(!l[K]&&!(q&&q[K])&&!(I&&I[K])&&!(le&&le[K])){var ne=x(w,K);try{h(k,K,ne)}catch{}}}}return k}return ec=S,ec}Sx();var _x=!0;function tc(r,n,l){var s="";return l.split(" ").forEach(function(o){r[o]!==void 0?n.push(r[o]+";"):o&&(s+=o+" ")}),s}var Ds=function(n,l,s){var o=n.key+"-"+l.name;(s===!1||_x===!1)&&n.registered[o]===void 0&&(n.registered[o]=l.styles)},As=function(n,l,s){Ds(n,l,s);var o=n.key+"-"+l.name;if(n.inserted[l.name]===void 0){var f=l;do n.insert(l===f?"."+o:"",f,n.sheet,!0),f=f.next;while(f!==void 0)}};function Cx(r){for(var n=0,l,s=0,o=r.length;o>=4;++s,o-=4)l=r.charCodeAt(s)&255|(r.charCodeAt(++s)&255)<<8|(r.charCodeAt(++s)&255)<<16|(r.charCodeAt(++s)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,n=(l&65535)*1540483477+((l>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(r.charCodeAt(s+2)&255)<<16;case 2:n^=(r.charCodeAt(s+1)&255)<<8;case 1:n^=r.charCodeAt(s)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var Ex={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wx=!0,Th=`You have illegal escape sequence in your template literal, most likely inside content's property value.
393
93
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
394
94
  You can read more about this here:
395
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,ww="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Mw=/[A-Z]|^ms/g,rC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ax=function(u){return u.charCodeAt(1)===45},iC=function(u){return u!=null&&typeof u!="boolean"},lx=KT(function(r){return ax(r)?r:r.replace(Mw,"-$&").toLowerCase()}),Cb=function(u,s){switch(u){case"animation":case"animationName":if(typeof s=="string")return s.replace(rC,function(d,h,y){return Ko={name:h,styles:y,next:Ko},h})}return Rw[u]!==1&&!ax(u)&&typeof s=="number"&&s!==0?s+"px":s};{var zw=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,jw=["normal","none","initial","inherit","unset"],Uw=Cb,Vw=/^-ms-/,Bw=/-(.)/g,oC={};Cb=function(u,s){if(u==="content"&&(typeof s!="string"||jw.indexOf(s)===-1&&!zw.test(s)&&(s.charAt(0)!==s.charAt(s.length-1)||s.charAt(0)!=='"'&&s.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+s+"\"'`");var d=Uw(u,s);return d!==""&&!ax(u)&&u.indexOf("-")!==-1&&oC[u]===void 0&&(oC[u]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+u.replace(Vw,"ms-").replace(Bw,function(h,y){return y.toUpperCase()})+"?")),d}}var uC="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Hy(r,u,s){if(s==null)return"";var d=s;if(d.__emotion_styles!==void 0){if(String(d)==="NO_COMPONENT_SELECTOR")throw new Error(uC);return d}switch(typeof s){case"boolean":return"";case"object":{var h=s;if(h.anim===1)return Ko={name:h.name,styles:h.styles,next:Ko},h.name;var y=s;if(y.styles!==void 0){var b=y.next;if(b!==void 0)for(;b!==void 0;)Ko={name:b.name,styles:b.styles,next:Ko},b=b.next;var E=y.styles+";";return E}return kw(r,u,s)}case"function":{if(r!==void 0){var N=Ko,C=s(r);return Ko=N,Hy(r,u,C)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":{var U=[],A=s.replace(rC,function(Q,j,F){var fe="animation"+U.length;return U.push("const "+fe+" = keyframes`"+F.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+fe+"}"});U.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(U,["`"+A+"`"]).join(`
95
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Dx="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Ax=/[A-Z]|^ms/g,Oh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ac=function(n){return n.charCodeAt(1)===45},Rh=function(n){return n!=null&&typeof n!="boolean"},rc=Nh(function(r){return ac(r)?r:r.replace(Ax,"-$&").toLowerCase()}),Ts=function(n,l){switch(n){case"animation":case"animationName":if(typeof l=="string")return l.replace(Oh,function(s,o,f){return Ya={name:o,styles:f,next:Ya},o})}return Ex[n]!==1&&!ac(n)&&typeof l=="number"&&l!==0?l+"px":l};{var Tx=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Ox=["normal","none","initial","inherit","unset"],Rx=Ts,Mx=/^-ms-/,zx=/-(.)/g,Mh={};Ts=function(n,l){if(n==="content"&&(typeof l!="string"||Ox.indexOf(l)===-1&&!Tx.test(l)&&(l.charAt(0)!==l.charAt(l.length-1)||l.charAt(0)!=='"'&&l.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+l+"\"'`");var s=Rx(n,l);return s!==""&&!ac(n)&&n.indexOf("-")!==-1&&Mh[n]===void 0&&(Mh[n]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+n.replace(Mx,"ms-").replace(zx,function(o,f){return f.toUpperCase()})+"?")),s}}var zh="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function tl(r,n,l){if(l==null)return"";var s=l;if(s.__emotion_styles!==void 0){if(String(s)==="NO_COMPONENT_SELECTOR")throw new Error(zh);return s}switch(typeof l){case"boolean":return"";case"object":{var o=l;if(o.anim===1)return Ya={name:o.name,styles:o.styles,next:Ya},o.name;var f=l;if(f.styles!==void 0){var d=f.next;if(d!==void 0)for(;d!==void 0;)Ya={name:d.name,styles:d.styles,next:Ya},d=d.next;var h=f.styles+";";return h}return kx(r,n,l)}case"function":{if(r!==void 0){var y=Ya,p=l(r);return Ya=y,tl(r,n,p)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":{var x=[],N=l.replace(Oh,function(k,w,q){var te="animation"+x.length;return x.push("const "+te+" = keyframes`"+q.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+te+"}"});x.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(x,["`"+N+"`"]).join(`
396
96
  `)+`
397
97
 
398
98
  You should wrap it with \`css\` like this:
399
99
 
400
- css\``+A+"`")}break}var R=s;if(u==null)return R;var z=u[R];return z!==void 0?z:R}function kw(r,u,s){var d="";if(Array.isArray(s))for(var h=0;h<s.length;h++)d+=Hy(r,u,s[h])+";";else for(var y in s){var b=s[y];if(typeof b!="object"){var E=b;u!=null&&u[E]!==void 0?d+=y+"{"+u[E]+"}":iC(E)&&(d+=lx(y)+":"+Cb(y,E)+";")}else{if(y==="NO_COMPONENT_SELECTOR"&&Ow)throw new Error(uC);if(Array.isArray(b)&&typeof b[0]=="string"&&(u==null||u[b[0]]===void 0))for(var N=0;N<b.length;N++)iC(b[N])&&(d+=lx(y)+":"+Cb(y,b[N])+";");else{var C=Hy(r,u,b);switch(y){case"animation":case"animationName":{d+=lx(y)+":"+C+";";break}default:y==="undefined"&&console.error(ww),d+=y+"{"+C+"}"}}}}return d}var sC=/label:\s*([^\s;{]+)\s*(;|$)/g,Ko;function Jf(r,u,s){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var d=!0,h="";Ko=void 0;var y=r[0];if(y==null||y.raw===void 0)d=!1,h+=Hy(s,u,y);else{var b=y;b[0]===void 0&&console.error(lC),h+=b[0]}for(var E=1;E<r.length;E++)if(h+=Hy(s,u,r[E]),d){var N=y;N[E]===void 0&&console.error(lC),h+=N[E]}sC.lastIndex=0;for(var C="",U;(U=sC.exec(h))!==null;)C+="-"+U[1];var A=Dw(h)+C;{var R={name:A,styles:h,next:Ko,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};return R}}var Hw=function(u){return u()},cC=k2.useInsertionEffect?k2.useInsertionEffect:!1,rx=cC||Hw,fC=cC||it.useLayoutEffect,ix=it.createContext(typeof HTMLElement<"u"?xw({key:"css"}):null);ix.displayName="EmotionCacheContext",ix.Provider;var Nb=function(u){return it.forwardRef(function(s,d){var h=it.useContext(ix);return u(s,h,d)})},Ly=it.createContext({});Ly.displayName="EmotionThemeContext";var ox={}.hasOwnProperty,dC=function(u){var s=u.split(".");return s[s.length-1]},Lw=function(u){var s=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(u);if(s||(s=/^([A-Za-z0-9$.]+)@/.exec(u),s))return dC(s[1])},qw=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Yw=function(u){return u.replace(/\$/g,"-")},Gw=function(u){if(u)for(var s=u.split(`
401
- `),d=0;d<s.length;d++){var h=Lw(s[d]);if(h){if(qw.has(h))break;if(/^[A-Z]/.test(h))return Yw(h)}}},ux="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",sx="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",$w=function(u,s){if(typeof s.css=="string"&&s.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+s.css+"`");var d={};for(var h in s)ox.call(s,h)&&(d[h]=s[h]);if(d[ux]=u,typeof globalThis<"u"&&globalThis.EMOTION_RUNTIME_AUTO_LABEL&&s.css&&(typeof s.css!="object"||!("name"in s.css)||typeof s.css.name!="string"||s.css.name.indexOf("-")===-1)){var y=Gw(new Error().stack);y&&(d[sx]=y)}return d},Zw=function(u){var s=u.cache,d=u.serialized,h=u.isStringTag;return _b(s,d,h),rx(function(){return Tb(s,d,h)}),null},mC=Nb(function(r,u,s){var d=r.css;typeof d=="string"&&u.registered[d]!==void 0&&(d=u.registered[d]);var h=r[ux],y=[d],b="";typeof r.className=="string"?b=nx(u.registered,y,r.className):r.className!=null&&(b=r.className+" ");var E=Jf(y,void 0,it.useContext(Ly));if(E.name.indexOf("-")===-1){var N=r[sx];N&&(E=Jf([E,"label:"+N+";"]))}b+=u.key+"-"+E.name;var C={};for(var U in r)ox.call(r,U)&&U!=="css"&&U!==ux&&U!==sx&&(C[U]=r[U]);return C.className=b,s&&(C.ref=s),it.createElement(it.Fragment,null,it.createElement(Zw,{cache:u,serialized:E,isStringTag:typeof h=="string"}),it.createElement(h,C))});mC.displayName="EmotionCssPropInternal";var Xw=mC,hC=!0,Qw={version:"11.14.0"},pC=function(u,s){var d=arguments;if(s==null||!ox.call(s,"css"))return it.createElement.apply(void 0,d);var h=d.length,y=new Array(h);y[0]=Xw,y[1]=$w(u,s);for(var b=2;b<h;b++)y[b]=d[b];return it.createElement.apply(null,y)};(function(r){var u;u||(u=r.JSX||(r.JSX={}))})(pC||(pC={}));var yC=!1,Jw=Nb(function(r,u){!yC&&("className"in r&&r.className||"css"in r&&r.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),yC=!0);var s=r.styles,d=Jf([s],void 0,it.useContext(Ly)),h=it.useRef();return fC(function(){var y=u.key+"-global",b=new u.sheet.constructor({key:y,nonce:u.sheet.nonce,container:u.sheet.container,speedy:u.sheet.isSpeedy}),E=!1,N=document.querySelector('style[data-emotion="'+y+" "+d.name+'"]');return u.sheet.tags.length&&(b.before=u.sheet.tags[0]),N!==null&&(E=!0,N.setAttribute("data-emotion",y),b.hydrate([N])),h.current=[b,E],function(){b.flush()}},[u]),fC(function(){var y=h.current,b=y[0],E=y[1];if(E){y[1]=!1;return}if(d.next!==void 0&&Tb(u,d.next,!0),b.tags.length){var N=b.tags[b.tags.length-1].nextElementSibling;b.before=N,b.flush()}u.insert("",d,b,!1)},[u,d.name]),null});Jw.displayName="EmotionGlobal";function cx(){for(var r=arguments.length,u=new Array(r),s=0;s<r;s++)u[s]=arguments[s];return Jf(u)}function gC(){var r=cx.apply(void 0,arguments),u="animation-"+r.name;return{name:u,styles:"@keyframes "+u+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Kw=function r(u){for(var s=u.length,d=0,h="";d<s;d++){var y=u[d];if(y!=null){var b=void 0;switch(typeof y){case"boolean":break;case"object":{if(Array.isArray(y))b=r(y);else{y.styles!==void 0&&y.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),b="";for(var E in y)y[E]&&E&&(b&&(b+=" "),b+=E)}break}default:b=y}b&&(h&&(h+=" "),h+=b)}}return h};function Fw(r,u,s){var d=[],h=nx(r,d,s);return d.length<2?s:h+u(d)}var Iw=function(u){var s=u.cache,d=u.serializedArr;return rx(function(){for(var h=0;h<d.length;h++)Tb(s,d[h],!1)}),null},Pw=Nb(function(r,u){var s=!1,d=[],h=function(){if(s&&hC)throw new Error("css can only be used during render");for(var C=arguments.length,U=new Array(C),A=0;A<C;A++)U[A]=arguments[A];var R=Jf(U,u.registered);return d.push(R),_b(u,R,!1),u.key+"-"+R.name},y=function(){if(s&&hC)throw new Error("cx can only be used during render");for(var C=arguments.length,U=new Array(C),A=0;A<C;A++)U[A]=arguments[A];return Fw(u.registered,h,Kw(U))},b={css:h,cx:y,theme:it.useContext(Ly)},E=r.children(b);return s=!0,it.createElement(it.Fragment,null,it.createElement(Iw,{cache:u,serializedArr:d}),E)});Pw.displayName="EmotionClassNames";{var vC=typeof document<"u",Ww=typeof jest<"u"||typeof vi<"u";if(vC&&!Ww){var bC=typeof globalThis<"u"?globalThis:vC?window:global,SC="__EMOTION_REACT_"+Qw.version.split(".")[0]+"__";bC[SC]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),bC[SC]=!0}}var e5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,t5=KT(function(r){return e5.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),n5=!0,a5=t5,l5=function(u){return u!=="theme"},EC=function(u){return typeof u=="string"&&u.charCodeAt(0)>96?a5:l5},xC=function(u,s,d){var h;if(s){var y=s.shouldForwardProp;h=u.__emotion_forwardProp&&y?function(b){return u.__emotion_forwardProp(b)&&y(b)}:y}return typeof h!="function"&&d&&(h=u.__emotion_forwardProp),h},_C=`You have illegal escape sequence in your template literal, most likely inside content's property value.
100
+ css\``+N+"`")}break}var C=l;if(n==null)return C;var S=n[C];return S!==void 0?S:C}function kx(r,n,l){var s="";if(Array.isArray(l))for(var o=0;o<l.length;o++)s+=tl(r,n,l[o])+";";else for(var f in l){var d=l[f];if(typeof d!="object"){var h=d;n!=null&&n[h]!==void 0?s+=f+"{"+n[h]+"}":Rh(h)&&(s+=rc(f)+":"+Ts(f,h)+";")}else{if(f==="NO_COMPONENT_SELECTOR"&&wx)throw new Error(zh);if(Array.isArray(d)&&typeof d[0]=="string"&&(n==null||n[d[0]]===void 0))for(var y=0;y<d.length;y++)Rh(d[y])&&(s+=rc(f)+":"+Ts(f,d[y])+";");else{var p=tl(r,n,d);switch(f){case"animation":case"animationName":{s+=rc(f)+":"+p+";";break}default:f==="undefined"&&console.error(Dx),s+=f+"{"+p+"}"}}}}return s}var kh=/label:\s*([^\s;{]+)\s*(;|$)/g,Ya;function un(r,n,l){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var s=!0,o="";Ya=void 0;var f=r[0];if(f==null||f.raw===void 0)s=!1,o+=tl(l,n,f);else{var d=f;d[0]===void 0&&console.error(Th),o+=d[0]}for(var h=1;h<r.length;h++)if(o+=tl(l,n,r[h]),s){var y=f;y[h]===void 0&&console.error(Th),o+=y[h]}kh.lastIndex=0;for(var p="",x;(x=kh.exec(o))!==null;)p+="-"+x[1];var N=Cx(o)+p;{var C={name:N,styles:o,next:Ya,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};return C}}var jx=function(n){return n()},jh=Sm.useInsertionEffect?Sm.useInsertionEffect:!1,nc=jh||jx,Vh=jh||ge.useLayoutEffect,ic=ge.createContext(typeof HTMLElement<"u"?vx({key:"css"}):null);ic.displayName="EmotionCacheContext",ic.Provider;var Os=function(n){return ge.forwardRef(function(l,s){var o=ge.useContext(ic);return n(l,o,s)})},al=ge.createContext({});al.displayName="EmotionThemeContext";var lc={}.hasOwnProperty,Bh=function(n){var l=n.split(".");return l[l.length-1]},Vx=function(n){var l=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(n);if(l||(l=/^([A-Za-z0-9$.]+)@/.exec(n),l))return Bh(l[1])},Bx=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Ux=function(n){return n.replace(/\$/g,"-")},Lx=function(n){if(n)for(var l=n.split(`
101
+ `),s=0;s<l.length;s++){var o=Vx(l[s]);if(o){if(Bx.has(o))break;if(/^[A-Z]/.test(o))return Ux(o)}}},sc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",oc="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",qx=function(n,l){if(typeof l.css=="string"&&l.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+l.css+"`");var s={};for(var o in l)lc.call(l,o)&&(s[o]=l[o]);if(s[sc]=n,typeof globalThis<"u"&&globalThis.EMOTION_RUNTIME_AUTO_LABEL&&l.css&&(typeof l.css!="object"||!("name"in l.css)||typeof l.css.name!="string"||l.css.name.indexOf("-")===-1)){var f=Lx(new Error().stack);f&&(s[oc]=f)}return s},Hx=function(n){var l=n.cache,s=n.serialized,o=n.isStringTag;return Ds(l,s,o),nc(function(){return As(l,s,o)}),null},Uh=Os(function(r,n,l){var s=r.css;typeof s=="string"&&n.registered[s]!==void 0&&(s=n.registered[s]);var o=r[sc],f=[s],d="";typeof r.className=="string"?d=tc(n.registered,f,r.className):r.className!=null&&(d=r.className+" ");var h=un(f,void 0,ge.useContext(al));if(h.name.indexOf("-")===-1){var y=r[oc];y&&(h=un([h,"label:"+y+";"]))}d+=n.key+"-"+h.name;var p={};for(var x in r)lc.call(r,x)&&x!=="css"&&x!==sc&&x!==oc&&(p[x]=r[x]);return p.className=d,l&&(p.ref=l),ge.createElement(ge.Fragment,null,ge.createElement(Hx,{cache:n,serialized:h,isStringTag:typeof o=="string"}),ge.createElement(o,p))});Uh.displayName="EmotionCssPropInternal";var Gx=Uh,Lh=!0,Zx={version:"11.14.0"},qh=function(n,l){var s=arguments;if(l==null||!lc.call(l,"css"))return ge.createElement.apply(void 0,s);var o=s.length,f=new Array(o);f[0]=Gx,f[1]=qx(n,l);for(var d=2;d<o;d++)f[d]=s[d];return ge.createElement.apply(null,f)};(function(r){var n;n||(n=r.JSX||(r.JSX={}))})(qh||(qh={}));var Hh=!1,Yx=Os(function(r,n){!Hh&&("className"in r&&r.className||"css"in r&&r.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Hh=!0);var l=r.styles,s=un([l],void 0,ge.useContext(al)),o=ge.useRef();return Vh(function(){var f=n.key+"-global",d=new n.sheet.constructor({key:f,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),h=!1,y=document.querySelector('style[data-emotion="'+f+" "+s.name+'"]');return n.sheet.tags.length&&(d.before=n.sheet.tags[0]),y!==null&&(h=!0,y.setAttribute("data-emotion",f),d.hydrate([y])),o.current=[d,h],function(){d.flush()}},[n]),Vh(function(){var f=o.current,d=f[0],h=f[1];if(h){f[1]=!1;return}if(s.next!==void 0&&As(n,s.next,!0),d.tags.length){var y=d.tags[d.tags.length-1].nextElementSibling;d.before=y,d.flush()}n.insert("",s,d,!1)},[n,s.name]),null});Yx.displayName="EmotionGlobal";function uc(){for(var r=arguments.length,n=new Array(r),l=0;l<r;l++)n[l]=arguments[l];return un(n)}function Gh(){var r=uc.apply(void 0,arguments),n="animation-"+r.name;return{name:n,styles:"@keyframes "+n+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var $x=function r(n){for(var l=n.length,s=0,o="";s<l;s++){var f=n[s];if(f!=null){var d=void 0;switch(typeof f){case"boolean":break;case"object":{if(Array.isArray(f))d=r(f);else{f.styles!==void 0&&f.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),d="";for(var h in f)f[h]&&h&&(d&&(d+=" "),d+=h)}break}default:d=f}d&&(o&&(o+=" "),o+=d)}}return o};function Fx(r,n,l){var s=[],o=tc(r,s,l);return s.length<2?l:o+n(s)}var Qx=function(n){var l=n.cache,s=n.serializedArr;return nc(function(){for(var o=0;o<s.length;o++)As(l,s[o],!1)}),null},Xx=Os(function(r,n){var l=!1,s=[],o=function(){if(l&&Lh)throw new Error("css can only be used during render");for(var p=arguments.length,x=new Array(p),N=0;N<p;N++)x[N]=arguments[N];var C=un(x,n.registered);return s.push(C),Ds(n,C,!1),n.key+"-"+C.name},f=function(){if(l&&Lh)throw new Error("cx can only be used during render");for(var p=arguments.length,x=new Array(p),N=0;N<p;N++)x[N]=arguments[N];return Fx(n.registered,o,$x(x))},d={css:o,cx:f,theme:ge.useContext(al)},h=r.children(d);return l=!0,ge.createElement(ge.Fragment,null,ge.createElement(Qx,{cache:n,serializedArr:s}),h)});Xx.displayName="EmotionClassNames";{var Zh=typeof document<"u",Kx=typeof jest<"u"||typeof vi<"u";if(Zh&&!Kx){var Yh=typeof globalThis<"u"?globalThis:Zh?window:global,$h="__EMOTION_REACT_"+Zx.version.split(".")[0]+"__";Yh[$h]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Yh[$h]=!0}}var Jx=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ix=Nh(function(r){return Jx.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),Px=!0,Wx=Ix,eN=function(n){return n!=="theme"},Fh=function(n){return typeof n=="string"&&n.charCodeAt(0)>96?Wx:eN},Qh=function(n,l,s){var o;if(l){var f=l.shouldForwardProp;o=n.__emotion_forwardProp&&f?function(d){return n.__emotion_forwardProp(d)&&f(d)}:f}return typeof o!="function"&&s&&(o=n.__emotion_forwardProp),o},Xh=`You have illegal escape sequence in your template literal, most likely inside content's property value.
402
102
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
403
103
  You can read more about this here:
404
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,r5=function(u){var s=u.cache,d=u.serialized,h=u.isStringTag;return _b(s,d,h),rx(function(){return Tb(s,d,h)}),null},i5=function r(u,s){if(u===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
405
- You may have forgotten to import it.`);var d=u.__emotion_real===u,h=d&&u.__emotion_base||u,y,b;s!==void 0&&(y=s.label,b=s.target);var E=xC(u,s,d),N=E||EC(h),C=!N("as");return function(){var U=arguments,A=d&&u.__emotion_styles!==void 0?u.__emotion_styles.slice(0):[];if(y!==void 0&&A.push("label:"+y+";"),U[0]==null||U[0].raw===void 0)A.push.apply(A,U);else{var R=U[0];R[0]===void 0&&console.error(_C),A.push(R[0]);for(var z=U.length,Q=1;Q<z;Q++)R[Q]===void 0&&console.error(_C),A.push(U[Q],R[Q])}var j=Nb(function(F,fe,ge){var De=C&&F.as||h,pe="",$=[],xe=F;if(F.theme==null){xe={};for(var Te in F)xe[Te]=F[Te];xe.theme=it.useContext(Ly)}typeof F.className=="string"?pe=nx(fe.registered,$,F.className):F.className!=null&&(pe=F.className+" ");var Le=Jf(A.concat($),fe.registered,xe);pe+=fe.key+"-"+Le.name,b!==void 0&&(pe+=" "+b);var Pe=C&&E===void 0?EC(De):N,we={};for(var $e in F)C&&$e==="as"||Pe($e)&&(we[$e]=F[$e]);return we.className=pe,ge&&(we.ref=ge),it.createElement(it.Fragment,null,it.createElement(r5,{cache:fe,serialized:Le,isStringTag:typeof De=="string"}),it.createElement(De,we))});return j.displayName=y!==void 0?y:"Styled("+(typeof h=="string"?h:h.displayName||h.name||"Component")+")",j.defaultProps=u.defaultProps,j.__emotion_real=j,j.__emotion_base=h,j.__emotion_styles=A,j.__emotion_forwardProp=E,Object.defineProperty(j,"toString",{value:function(){return b===void 0&&n5?"NO_COMPONENT_SELECTOR":"."+b}}),j.withComponent=function(F,fe){var ge=r(F,QE({},s,fe,{shouldForwardProp:xC(j,fe,!0)}));return ge.apply(void 0,A)},j}},o5=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],fx=i5.bind(null);o5.forEach(function(r){fx[r]=fx(r)});var Ab={exports:{}},qy={};/**
104
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,tN=function(n){var l=n.cache,s=n.serialized,o=n.isStringTag;return Ds(l,s,o),nc(function(){return As(l,s,o)}),null},aN=function r(n,l){if(n===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
105
+ You may have forgotten to import it.`);var s=n.__emotion_real===n,o=s&&n.__emotion_base||n,f,d;l!==void 0&&(f=l.label,d=l.target);var h=Qh(n,l,s),y=h||Fh(o),p=!y("as");return function(){var x=arguments,N=s&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(f!==void 0&&N.push("label:"+f+";"),x[0]==null||x[0].raw===void 0)N.push.apply(N,x);else{var C=x[0];C[0]===void 0&&console.error(Xh),N.push(C[0]);for(var S=x.length,k=1;k<S;k++)C[k]===void 0&&console.error(Xh),N.push(x[k],C[k])}var w=Os(function(q,te,Q){var le=p&&q.as||o,I="",B=[],K=q;if(q.theme==null){K={};for(var ne in q)K[ne]=q[ne];K.theme=ge.useContext(al)}typeof q.className=="string"?I=tc(te.registered,B,q.className):q.className!=null&&(I=q.className+" ");var de=un(N.concat(B),te.registered,K);I+=te.key+"-"+de.name,d!==void 0&&(I+=" "+d);var we=p&&h===void 0?Fh(le):y,Ue={};for(var _e in q)p&&_e==="as"||we(_e)&&(Ue[_e]=q[_e]);return Ue.className=I,Q&&(Ue.ref=Q),ge.createElement(ge.Fragment,null,ge.createElement(tN,{cache:te,serialized:de,isStringTag:typeof le=="string"}),ge.createElement(le,Ue))});return w.displayName=f!==void 0?f:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",w.defaultProps=n.defaultProps,w.__emotion_real=w,w.__emotion_base=o,w.__emotion_styles=N,w.__emotion_forwardProp=h,Object.defineProperty(w,"toString",{value:function(){return d===void 0&&Px?"NO_COMPONENT_SELECTOR":"."+d}}),w.withComponent=function(q,te){var Q=r(q,$u({},l,te,{shouldForwardProp:Qh(w,te,!0)}));return Q.apply(void 0,N)},w}},rN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],cc=aN.bind(null);rN.forEach(function(r){cc[r]=cc(r)});var fc={exports:{}},rl={};/**
406
106
  * @license React
407
107
  * react-jsx-runtime.production.js
408
108
  *
@@ -410,27 +110,7 @@ You may have forgotten to import it.`);var d=u.__emotion_real===u,h=d&&u.__emoti
410
110
  *
411
111
  * This source code is licensed under the MIT license found in the
412
112
  * LICENSE file in the root directory of this source tree.
413
- */var TC;function u5(){if(TC)return qy;TC=1;var r=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function s(d,h,y){var b=null;if(y!==void 0&&(b=""+y),h.key!==void 0&&(b=""+h.key),"key"in h){y={};for(var E in h)E!=="key"&&(y[E]=h[E])}else y=h;return h=y.ref,{$$typeof:r,type:d,key:b,ref:h!==void 0?h:null,props:y}}return qy.Fragment=u,qy.jsx=s,qy.jsxs=s,qy}var Yy={};/**
414
- * @license React
415
- * react-jsx-runtime.development.js
416
- *
417
- * Copyright (c) Meta Platforms, Inc. and affiliates.
418
- *
419
- * This source code is licensed under the MIT license found in the
420
- * LICENSE file in the root directory of this source tree.
421
- */var CC;function s5(){return CC||(CC=1,process.env.NODE_ENV!=="production"&&(function(){function r(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===$e?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case F:return"Fragment";case ge:return"Profiler";case fe:return"StrictMode";case xe:return"Suspense";case Te:return"SuspenseList";case we:return"Activity"}if(typeof _=="object")switch(typeof _.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),_.$$typeof){case j:return"Portal";case pe:return _.displayName||"Context";case De:return(_._context.displayName||"Context")+".Consumer";case $:var H=_.render;return _=_.displayName,_||(_=H.displayName||H.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Le:return H=_.displayName||null,H!==null?H:r(_.type)||"Memo";case Pe:H=_._payload,_=_._init;try{return r(_(H))}catch{}}return null}function u(_){return""+_}function s(_){try{u(_);var H=!1}catch{H=!0}if(H){H=console;var W=H.error,ee=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return W.call(H,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ee),u(_)}}function d(_){if(_===F)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===Pe)return"<...>";try{var H=r(_);return H?"<"+H+">":"<...>"}catch{return"<...>"}}function h(){var _=M.A;return _===null?null:_.getOwner()}function y(){return Error("react-stack-top-frame")}function b(_){if(ue.call(_,"key")){var H=Object.getOwnPropertyDescriptor(_,"key").get;if(H&&H.isReactWarning)return!1}return _.key!==void 0}function E(_,H){function W(){V||(V=!0,console.error("%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://react.dev/link/special-props)",H))}W.isReactWarning=!0,Object.defineProperty(_,"key",{get:W,configurable:!0})}function N(){var _=r(this.type);return ne[_]||(ne[_]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),_=this.props.ref,_!==void 0?_:null}function C(_,H,W,ee,Re,je){var Ne=W.ref;return _={$$typeof:Q,type:_,key:H,props:W,_owner:ee},(Ne!==void 0?Ne:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:N}):Object.defineProperty(_,"ref",{enumerable:!1,value:null}),_._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(_,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(_,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Re}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:je}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function U(_,H,W,ee,Re,je){var Ne=H.children;if(Ne!==void 0)if(ee)if(ye(Ne)){for(ee=0;ee<Ne.length;ee++)A(Ne[ee]);Object.freeze&&Object.freeze(Ne)}else console.error("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 A(Ne);if(ue.call(H,"key")){Ne=r(_);var Je=Object.keys(H).filter(function(ct){return ct!=="key"});ee=0<Je.length?"{key: someKey, "+Je.join(": ..., ")+": ...}":"{key: someKey}",se[Ne+ee]||(Je=0<Je.length?"{"+Je.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
422
- let props = %s;
423
- <%s {...props} />
424
- React keys must be passed directly to JSX without using spread:
425
- let props = %s;
426
- <%s key={someKey} {...props} />`,ee,Ne,Je,Ne),se[Ne+ee]=!0)}if(Ne=null,W!==void 0&&(s(W),Ne=""+W),b(H)&&(s(H.key),Ne=""+H.key),"key"in H){W={};for(var Ze in H)Ze!=="key"&&(W[Ze]=H[Ze])}else W=H;return Ne&&E(W,typeof _=="function"?_.displayName||_.name||"Unknown":_),C(_,Ne,W,h(),Re,je)}function A(_){R(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===Pe&&(_._payload.status==="fulfilled"?R(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function R(_){return typeof _=="object"&&_!==null&&_.$$typeof===Q}var z=qf(),Q=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),De=Symbol.for("react.consumer"),pe=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),xe=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),Pe=Symbol.for("react.lazy"),we=Symbol.for("react.activity"),$e=Symbol.for("react.client.reference"),M=z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue=Object.prototype.hasOwnProperty,ye=Array.isArray,ze=console.createTask?console.createTask:function(){return null};z={react_stack_bottom_frame:function(_){return _()}};var V,ne={},be=z.react_stack_bottom_frame.bind(z,y)(),Ye=ze(d(y)),se={};Yy.Fragment=F,Yy.jsx=function(_,H,W){var ee=1e4>M.recentlyCreatedOwnerStacks++;return U(_,H,W,!1,ee?Error("react-stack-top-frame"):be,ee?ze(d(_)):Ye)},Yy.jsxs=function(_,H,W){var ee=1e4>M.recentlyCreatedOwnerStacks++;return U(_,H,W,!0,ee?Error("react-stack-top-frame"):be,ee?ze(d(_)):Ye)}})()),Yy}var NC;function c5(){return NC||(NC=1,process.env.NODE_ENV==="production"?Ab.exports=u5():Ab.exports=s5()),Ab.exports}var f5=c5();/**
427
- * @mui/styled-engine v7.3.9
428
- *
429
- * @license MIT
430
- * This source code is licensed under the MIT license found in the
431
- * LICENSE file in the root directory of this source tree.
432
- */function d5(r,u){const s=fx(r,u);return process.env.NODE_ENV!=="production"?(...d)=>{const h=typeof r=="string"?`"${r}"`:"component";return d.length===0?console.error([`MUI: Seems like you called \`styled(${h})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
433
- `)):d.some(y=>y===void 0)&&console.error(`MUI: the styled(${h})(...args) API requires all its args to be defined.`),s(...d)}:s}function m5(r,u){Array.isArray(r.__emotion_styles)&&(r.__emotion_styles=u(r.__emotion_styles))}const AC=[];function Kf(r){return AC[0]=r,Jf(AC)}var Db={exports:{}},Cn={};/**
113
+ */var Kh;function nN(){if(Kh)return rl;Kh=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function l(s,o,f){var d=null;if(f!==void 0&&(d=""+f),o.key!==void 0&&(d=""+o.key),"key"in o){f={};for(var h in o)h!=="key"&&(f[h]=o[h])}else f=o;return o=f.ref,{$$typeof:r,type:s,key:d,ref:o!==void 0?o:null,props:f}}return rl.Fragment=n,rl.jsx=l,rl.jsxs=l,rl}var Jh;function iN(){return Jh||(Jh=1,fc.exports=nN()),fc.exports}var lN=iN();function sN(r,n){return cc(r,n)}function oN(r,n){Array.isArray(r.__emotion_styles)&&(r.__emotion_styles=n(r.__emotion_styles))}const Ih=[];function cn(r){return Ih[0]=r,un(Ih)}var dc={exports:{}},We={};/**
434
114
  * @license React
435
115
  * react-is.production.js
436
116
  *
@@ -438,46 +118,14 @@ React keys must be passed directly to JSX without using spread:
438
118
  *
439
119
  * This source code is licensed under the MIT license found in the
440
120
  * LICENSE file in the root directory of this source tree.
441
- */var DC;function h5(){if(DC)return Cn;DC=1;var r=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),b=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),R=Symbol.for("react.view_transition"),z=Symbol.for("react.client.reference");function Q(j){if(typeof j=="object"&&j!==null){var F=j.$$typeof;switch(F){case r:switch(j=j.type,j){case s:case h:case d:case N:case C:case R:return j;default:switch(j=j&&j.$$typeof,j){case b:case E:case A:case U:return j;case y:return j;default:return F}}case u:return F}}}return Cn.ContextConsumer=y,Cn.ContextProvider=b,Cn.Element=r,Cn.ForwardRef=E,Cn.Fragment=s,Cn.Lazy=A,Cn.Memo=U,Cn.Portal=u,Cn.Profiler=h,Cn.StrictMode=d,Cn.Suspense=N,Cn.SuspenseList=C,Cn.isContextConsumer=function(j){return Q(j)===y},Cn.isContextProvider=function(j){return Q(j)===b},Cn.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===r},Cn.isForwardRef=function(j){return Q(j)===E},Cn.isFragment=function(j){return Q(j)===s},Cn.isLazy=function(j){return Q(j)===A},Cn.isMemo=function(j){return Q(j)===U},Cn.isPortal=function(j){return Q(j)===u},Cn.isProfiler=function(j){return Q(j)===h},Cn.isStrictMode=function(j){return Q(j)===d},Cn.isSuspense=function(j){return Q(j)===N},Cn.isSuspenseList=function(j){return Q(j)===C},Cn.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===s||j===h||j===d||j===N||j===C||typeof j=="object"&&j!==null&&(j.$$typeof===A||j.$$typeof===U||j.$$typeof===b||j.$$typeof===y||j.$$typeof===E||j.$$typeof===z||j.getModuleId!==void 0)},Cn.typeOf=Q,Cn}var Nn={};/**
442
- * @license React
443
- * react-is.development.js
444
- *
445
- * Copyright (c) Meta Platforms, Inc. and affiliates.
446
- *
447
- * This source code is licensed under the MIT license found in the
448
- * LICENSE file in the root directory of this source tree.
449
- */var RC;function p5(){return RC||(RC=1,process.env.NODE_ENV!=="production"&&(function(){function r(j){if(typeof j=="object"&&j!==null){var F=j.$$typeof;switch(F){case u:switch(j=j.type,j){case d:case y:case h:case C:case U:case z:return j;default:switch(j=j&&j.$$typeof,j){case E:case N:case R:case A:return j;case b:return j;default:return F}}case s:return F}}}var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),E=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),z=Symbol.for("react.view_transition"),Q=Symbol.for("react.client.reference");Nn.ContextConsumer=b,Nn.ContextProvider=E,Nn.Element=u,Nn.ForwardRef=N,Nn.Fragment=d,Nn.Lazy=R,Nn.Memo=A,Nn.Portal=s,Nn.Profiler=y,Nn.StrictMode=h,Nn.Suspense=C,Nn.SuspenseList=U,Nn.isContextConsumer=function(j){return r(j)===b},Nn.isContextProvider=function(j){return r(j)===E},Nn.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===u},Nn.isForwardRef=function(j){return r(j)===N},Nn.isFragment=function(j){return r(j)===d},Nn.isLazy=function(j){return r(j)===R},Nn.isMemo=function(j){return r(j)===A},Nn.isPortal=function(j){return r(j)===s},Nn.isProfiler=function(j){return r(j)===y},Nn.isStrictMode=function(j){return r(j)===h},Nn.isSuspense=function(j){return r(j)===C},Nn.isSuspenseList=function(j){return r(j)===U},Nn.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===d||j===y||j===h||j===C||j===U||typeof j=="object"&&j!==null&&(j.$$typeof===R||j.$$typeof===A||j.$$typeof===E||j.$$typeof===b||j.$$typeof===N||j.$$typeof===Q||j.getModuleId!==void 0)},Nn.typeOf=r})()),Nn}var OC;function y5(){return OC||(OC=1,process.env.NODE_ENV==="production"?Db.exports=h5():Db.exports=p5()),Db.exports}var Rb=y5();function Yu(r){if(typeof r!="object"||r===null)return!1;const u=Object.getPrototypeOf(r);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)}function wC(r){if(it.isValidElement(r)||Rb.isValidElementType(r)||!Yu(r))return r;const u={};return Object.keys(r).forEach(s=>{u[s]=wC(r[s])}),u}function Vr(r,u,s={clone:!0}){const d=s.clone?{...r}:r;return Yu(r)&&Yu(u)&&Object.keys(u).forEach(h=>{it.isValidElement(u[h])||Rb.isValidElementType(u[h])?d[h]=u[h]:Yu(u[h])&&Object.prototype.hasOwnProperty.call(r,h)&&Yu(r[h])?d[h]=Vr(r[h],u[h],s):s.clone?d[h]=Yu(u[h])?wC(u[h]):u[h]:d[h]=u[h]}),d}const g5=r=>{const u=Object.keys(r).map(s=>({key:s,val:r[s]}))||[];return u.sort((s,d)=>s.val-d.val),u.reduce((s,d)=>({...s,[d.key]:d.val}),{})};function v5(r){const{values:u={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:s="px",step:d=5,...h}=r,y=g5(u),b=Object.keys(y);function E(R){return`@media (min-width:${typeof u[R]=="number"?u[R]:R}${s})`}function N(R){return`@media (max-width:${(typeof u[R]=="number"?u[R]:R)-d/100}${s})`}function C(R,z){const Q=b.indexOf(z);return`@media (min-width:${typeof u[R]=="number"?u[R]:R}${s}) and (max-width:${(Q!==-1&&typeof u[b[Q]]=="number"?u[b[Q]]:z)-d/100}${s})`}function U(R){return b.indexOf(R)+1<b.length?C(R,b[b.indexOf(R)+1]):E(R)}function A(R){const z=b.indexOf(R);return z===0?E(b[1]):z===b.length-1?N(b[z]):C(R,b[b.indexOf(R)+1]).replace("@media","@media not all and")}return{keys:b,values:y,up:E,down:N,between:C,only:U,not:A,unit:s,...h}}function MC(r,u){if(!r.containerQueries)return u;const s=Object.keys(u).filter(d=>d.startsWith("@container")).sort((d,h)=>{var b,E;const y=/min-width:\s*([0-9.]+)/;return+(((b=d.match(y))==null?void 0:b[1])||0)-+(((E=h.match(y))==null?void 0:E[1])||0)});return s.length?s.reduce((d,h)=>{const y=u[h];return delete d[h],d[h]=y,d},{...u}):u}function b5(r,u){return u==="@"||u.startsWith("@")&&(r.some(s=>u.startsWith(`@${s}`))||!!u.match(/^@\d/))}function S5(r,u){const s=u.match(/^@([^/]+)?\/?(.+)?$/);if(!s){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${u})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
450
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,d,h]=s,y=Number.isNaN(+d)?d||0:+d;return r.containerQueries(h).up(y)}function E5(r){const u=(y,b)=>y.replace("@media",b?`@container ${b}`:"@container");function s(y,b){y.up=(...E)=>u(r.breakpoints.up(...E),b),y.down=(...E)=>u(r.breakpoints.down(...E),b),y.between=(...E)=>u(r.breakpoints.between(...E),b),y.only=(...E)=>u(r.breakpoints.only(...E),b),y.not=(...E)=>{const N=u(r.breakpoints.not(...E),b);return N.includes("not all and")?N.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):N}}const d={},h=y=>(s(d,y),d);return s(h),{...r,containerQueries:h}}const x5={borderRadius:4},oc=process.env.NODE_ENV!=="production"?nn.oneOfType([nn.number,nn.string,nn.object,nn.array]):{};function Gy(r,u){return u?Vr(r,u,{clone:!1}):r}const Ob={xs:0,sm:600,md:900,lg:1200,xl:1536},zC={keys:["xs","sm","md","lg","xl"],up:r=>`@media (min-width:${Ob[r]}px)`},_5={containerQueries:r=>({up:u=>{let s=typeof u=="number"?u:Ob[u]||u;return typeof s=="number"&&(s=`${s}px`),r?`@container ${r} (min-width:${s})`:`@container (min-width:${s})`}})};function Gu(r,u,s){const d=r.theme||{};if(Array.isArray(u)){const y=d.breakpoints||zC;return u.reduce((b,E,N)=>(b[y.up(y.keys[N])]=s(u[N]),b),{})}if(typeof u=="object"){const y=d.breakpoints||zC;return Object.keys(u).reduce((b,E)=>{if(b5(y.keys,E)){const N=S5(d.containerQueries?d:_5,E);N&&(b[N]=s(u[E],E))}else if(Object.keys(y.values||Ob).includes(E)){const N=y.up(E);b[N]=s(u[E],E)}else{const N=E;b[N]=u[N]}return b},{})}return s(u)}function T5(r={}){var s;return((s=r.keys)==null?void 0:s.reduce((d,h)=>{const y=r.up(h);return d[y]={},d},{}))||{}}function jC(r,u){return r.reduce((s,d)=>{const h=s[d];return(!h||Object.keys(h).length===0)&&delete s[d],s},u)}function dx(r){if(typeof r!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Qf(7));return r.charAt(0).toUpperCase()+r.slice(1)}function wb(r,u,s=!0){if(!u||typeof u!="string")return null;if(r&&r.vars&&s){const d=`vars.${u}`.split(".").reduce((h,y)=>h&&h[y]?h[y]:null,r);if(d!=null)return d}return u.split(".").reduce((d,h)=>d&&d[h]!=null?d[h]:null,r)}function Mb(r,u,s,d=s){let h;return typeof r=="function"?h=r(s):Array.isArray(r)?h=r[s]||d:h=wb(r,s)||d,u&&(h=u(h,d,r)),h}function ga(r){const{prop:u,cssProperty:s=r.prop,themeKey:d,transform:h}=r,y=b=>{if(b[u]==null)return null;const E=b[u],N=b.theme,C=wb(N,d)||{};return Gu(b,E,A=>{let R=Mb(C,h,A);return A===R&&typeof A=="string"&&(R=Mb(C,h,`${u}${A==="default"?"":dx(A)}`,A)),s===!1?R:{[s]:R}})};return y.propTypes=process.env.NODE_ENV!=="production"?{[u]:oc}:{},y.filterProps=[u],y}function C5(r){const u={};return s=>(u[s]===void 0&&(u[s]=r(s)),u[s])}const N5={m:"margin",p:"padding"},A5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},UC={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},D5=C5(r=>{if(r.length>2)if(UC[r])r=UC[r];else return[r];const[u,s]=r.split(""),d=N5[u],h=A5[s]||"";return Array.isArray(h)?h.map(y=>d+y):[d+h]}),zb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],R5=[...zb,...jb];function $y(r,u,s,d){const h=wb(r,u,!0)??s;return typeof h=="number"||typeof h=="string"?y=>typeof y=="string"?y:(process.env.NODE_ENV!=="production"&&typeof y!="number"&&console.error(`MUI: Expected ${d} argument to be a number or a string, got ${y}.`),typeof h=="string"?h.startsWith("var(")&&y===0?0:h.startsWith("var(")&&y===1?h:`calc(${y} * ${h})`:h*y):Array.isArray(h)?y=>{if(typeof y=="string")return y;const b=Math.abs(y);process.env.NODE_ENV!=="production"&&(Number.isInteger(b)?b>h.length-1&&console.error([`MUI: The value provided (${b}) overflows.`,`The supported values are: ${JSON.stringify(h)}.`,`${b} > ${h.length-1}, you need to add the missing values.`].join(`
451
- `)):console.error([`MUI: The \`theme.${u}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${u}\` as a number.`].join(`
452
- `)));const E=h[b];return y>=0?E:typeof E=="number"?-E:typeof E=="string"&&E.startsWith("var(")?`calc(-1 * ${E})`:`-${E}`}:typeof h=="function"?h:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${u}\` value (${h}) is invalid.`,"It should be a number, an array or a function."].join(`
453
- `)),()=>{})}function mx(r){return $y(r,"spacing",8,"spacing")}function Zy(r,u){return typeof u=="string"||u==null?u:r(u)}function O5(r,u){return s=>r.reduce((d,h)=>(d[h]=Zy(u,s),d),{})}function w5(r,u,s,d){if(!u.includes(s))return null;const h=D5(s),y=O5(h,d),b=r[s];return Gu(r,b,y)}function VC(r,u){const s=mx(r.theme);return Object.keys(r).map(d=>w5(r,u,d,s)).reduce(Gy,{})}function ca(r){return VC(r,zb)}ca.propTypes=process.env.NODE_ENV!=="production"?zb.reduce((r,u)=>(r[u]=oc,r),{}):{},ca.filterProps=zb;function fa(r){return VC(r,jb)}fa.propTypes=process.env.NODE_ENV!=="production"?jb.reduce((r,u)=>(r[u]=oc,r),{}):{},fa.filterProps=jb,process.env.NODE_ENV!=="production"&&R5.reduce((r,u)=>(r[u]=oc,r),{});function BC(r=8,u=mx({spacing:r})){if(r.mui)return r;const s=(...d)=>(process.env.NODE_ENV!=="production"&&(d.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${d.length}`)),(d.length===0?[1]:d).map(y=>{const b=u(y);return typeof b=="number"?`${b}px`:b}).join(" "));return s.mui=!0,s}function Ub(...r){const u=r.reduce((d,h)=>(h.filterProps.forEach(y=>{d[y]=h}),d),{}),s=d=>Object.keys(d).reduce((h,y)=>u[y]?Gy(h,u[y](d)):h,{});return s.propTypes=process.env.NODE_ENV!=="production"?r.reduce((d,h)=>Object.assign(d,h.propTypes),{}):{},s.filterProps=r.reduce((d,h)=>d.concat(h.filterProps),[]),s}function yi(r){return typeof r!="number"?r:`${r}px solid`}function gi(r,u){return ga({prop:r,themeKey:"borders",transform:u})}const M5=gi("border",yi),z5=gi("borderTop",yi),j5=gi("borderRight",yi),U5=gi("borderBottom",yi),V5=gi("borderLeft",yi),B5=gi("borderColor"),k5=gi("borderTopColor"),H5=gi("borderRightColor"),L5=gi("borderBottomColor"),q5=gi("borderLeftColor"),Y5=gi("outline",yi),G5=gi("outlineColor"),Vb=r=>{if(r.borderRadius!==void 0&&r.borderRadius!==null){const u=$y(r.theme,"shape.borderRadius",4,"borderRadius"),s=d=>({borderRadius:Zy(u,d)});return Gu(r,r.borderRadius,s)}return null};Vb.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:oc}:{},Vb.filterProps=["borderRadius"],Ub(M5,z5,j5,U5,V5,B5,k5,H5,L5,q5,Vb,Y5,G5);const Bb=r=>{if(r.gap!==void 0&&r.gap!==null){const u=$y(r.theme,"spacing",8,"gap"),s=d=>({gap:Zy(u,d)});return Gu(r,r.gap,s)}return null};Bb.propTypes=process.env.NODE_ENV!=="production"?{gap:oc}:{},Bb.filterProps=["gap"];const kb=r=>{if(r.columnGap!==void 0&&r.columnGap!==null){const u=$y(r.theme,"spacing",8,"columnGap"),s=d=>({columnGap:Zy(u,d)});return Gu(r,r.columnGap,s)}return null};kb.propTypes=process.env.NODE_ENV!=="production"?{columnGap:oc}:{},kb.filterProps=["columnGap"];const Hb=r=>{if(r.rowGap!==void 0&&r.rowGap!==null){const u=$y(r.theme,"spacing",8,"rowGap"),s=d=>({rowGap:Zy(u,d)});return Gu(r,r.rowGap,s)}return null};Hb.propTypes=process.env.NODE_ENV!=="production"?{rowGap:oc}:{},Hb.filterProps=["rowGap"];const $5=ga({prop:"gridColumn"}),Z5=ga({prop:"gridRow"}),X5=ga({prop:"gridAutoFlow"}),Q5=ga({prop:"gridAutoColumns"}),J5=ga({prop:"gridAutoRows"}),K5=ga({prop:"gridTemplateColumns"}),F5=ga({prop:"gridTemplateRows"}),I5=ga({prop:"gridTemplateAreas"}),P5=ga({prop:"gridArea"});Ub(Bb,kb,Hb,$5,Z5,X5,Q5,J5,K5,F5,I5,P5);function Km(r,u){return u==="grey"?u:r}const W5=ga({prop:"color",themeKey:"palette",transform:Km}),e3=ga({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Km}),t3=ga({prop:"backgroundColor",themeKey:"palette",transform:Km});Ub(W5,e3,t3);function Br(r){return r<=1&&r!==0?`${r*100}%`:r}const n3=ga({prop:"width",transform:Br}),hx=r=>{if(r.maxWidth!==void 0&&r.maxWidth!==null){const u=s=>{var h,y,b,E,N;const d=((b=(y=(h=r.theme)==null?void 0:h.breakpoints)==null?void 0:y.values)==null?void 0:b[s])||Ob[s];return d?((N=(E=r.theme)==null?void 0:E.breakpoints)==null?void 0:N.unit)!=="px"?{maxWidth:`${d}${r.theme.breakpoints.unit}`}:{maxWidth:d}:{maxWidth:Br(s)}};return Gu(r,r.maxWidth,u)}return null};hx.filterProps=["maxWidth"];const a3=ga({prop:"minWidth",transform:Br}),l3=ga({prop:"height",transform:Br}),r3=ga({prop:"maxHeight",transform:Br}),i3=ga({prop:"minHeight",transform:Br});ga({prop:"size",cssProperty:"width",transform:Br}),ga({prop:"size",cssProperty:"height",transform:Br});const o3=ga({prop:"boxSizing"});Ub(n3,hx,a3,l3,r3,i3,o3);const Lb={border:{themeKey:"borders",transform:yi},borderTop:{themeKey:"borders",transform:yi},borderRight:{themeKey:"borders",transform:yi},borderBottom:{themeKey:"borders",transform:yi},borderLeft:{themeKey:"borders",transform:yi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:yi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vb},color:{themeKey:"palette",transform:Km},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Km},backgroundColor:{themeKey:"palette",transform:Km},p:{style:fa},pt:{style:fa},pr:{style:fa},pb:{style:fa},pl:{style:fa},px:{style:fa},py:{style:fa},padding:{style:fa},paddingTop:{style:fa},paddingRight:{style:fa},paddingBottom:{style:fa},paddingLeft:{style:fa},paddingX:{style:fa},paddingY:{style:fa},paddingInline:{style:fa},paddingInlineStart:{style:fa},paddingInlineEnd:{style:fa},paddingBlock:{style:fa},paddingBlockStart:{style:fa},paddingBlockEnd:{style:fa},m:{style:ca},mt:{style:ca},mr:{style:ca},mb:{style:ca},ml:{style:ca},mx:{style:ca},my:{style:ca},margin:{style:ca},marginTop:{style:ca},marginRight:{style:ca},marginBottom:{style:ca},marginLeft:{style:ca},marginX:{style:ca},marginY:{style:ca},marginInline:{style:ca},marginInlineStart:{style:ca},marginInlineEnd:{style:ca},marginBlock:{style:ca},marginBlockStart:{style:ca},marginBlockEnd:{style:ca},displayPrint:{cssProperty:!1,transform:r=>({"@media print":{display:r}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Bb},rowGap:{style:Hb},columnGap:{style:kb},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Br},maxWidth:{style:hx},minWidth:{transform:Br},height:{transform:Br},maxHeight:{transform:Br},minHeight:{transform:Br},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function u3(...r){const u=r.reduce((d,h)=>d.concat(Object.keys(h)),[]),s=new Set(u);return r.every(d=>s.size===Object.keys(d).length)}function s3(r,u){return typeof r=="function"?r(u):r}function c3(){function r(s,d,h,y){const b={[s]:d,theme:h},E=y[s];if(!E)return{[s]:d};const{cssProperty:N=s,themeKey:C,transform:U,style:A}=E;if(d==null)return null;if(C==="typography"&&d==="inherit")return{[s]:d};const R=wb(h,C)||{};return A?A(b):Gu(b,d,Q=>{let j=Mb(R,U,Q);return Q===j&&typeof Q=="string"&&(j=Mb(R,U,`${s}${Q==="default"?"":dx(Q)}`,Q)),N===!1?j:{[N]:j}})}function u(s){const{sx:d,theme:h={},nested:y}=s||{};if(!d)return null;const b=h.unstable_sxConfig??Lb;function E(N){let C=N;if(typeof N=="function")C=N(h);else if(typeof N!="object")return N;if(!C)return null;const U=T5(h.breakpoints),A=Object.keys(U);let R=U;return Object.keys(C).forEach(z=>{const Q=s3(C[z],h);if(Q!=null)if(typeof Q=="object")if(b[z])R=Gy(R,r(z,Q,h,b));else{const j=Gu({theme:h},Q,F=>({[z]:F}));u3(j,Q)?R[z]=u({sx:Q,theme:h,nested:!0}):R=Gy(R,j)}else R=Gy(R,r(z,Q,h,b))}),!y&&h.modularCssLayers?{"@layer sx":MC(h,jC(A,R))}:MC(h,jC(A,R))}return Array.isArray(d)?d.map(E):E(d)}return u}const Fm=c3();Fm.filterProps=["sx"];function f3(r,u){var d;const s=this;if(s.vars){if(!((d=s.colorSchemes)!=null&&d[r])||typeof s.getColorSchemeSelector!="function")return{};let h=s.getColorSchemeSelector(r);return h==="&"?u:((h.includes("data-")||h.includes("."))&&(h=`*:where(${h.replace(/\s*&$/,"")}) &`),{[h]:u})}return s.palette.mode===r?u:{}}function kC(r={},...u){const{breakpoints:s={},palette:d={},spacing:h,shape:y={},...b}=r,E=v5(s),N=BC(h);let C=Vr({breakpoints:E,direction:"ltr",components:{},palette:{mode:"light",...d},spacing:N,shape:{...x5,...y}},b);return C=E5(C),C.applyStyles=f3,C=u.reduce((U,A)=>Vr(U,A),C),C.unstable_sxConfig={...Lb,...b==null?void 0:b.unstable_sxConfig},C.unstable_sx=function(A){return Fm({sx:A,theme:this})},C}const HC=r=>r,d3=(()=>{let r=HC;return{configure(u){r=u},generate(u){return r(u)},reset(){r=HC}}})(),m3={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function px(r,u,s="Mui"){const d=m3[u];return d?`${s}-${d}`:`${d3.generate(r)}-${u}`}function h3(r,u,s="Mui"){const d={};return u.forEach(h=>{d[h]=px(r,h,s)}),d}function LC(r,u=""){return r.displayName||r.name||u}function qC(r,u,s){const d=LC(u);return r.displayName||(d!==""?`${s}(${d})`:s)}function p3(r){if(r!=null){if(typeof r=="string")return r;if(typeof r=="function")return LC(r,"Component");if(typeof r=="object")switch(r.$$typeof){case Rb.ForwardRef:return qC(r,r.render,"ForwardRef");case Rb.Memo:return qC(r,r.type,"memo");default:return}}}function YC(r){const{variants:u,...s}=r,d={variants:u,style:Kf(s),isProcessed:!0};return d.style===s||u&&u.forEach(h=>{typeof h.style!="function"&&(h.style=Kf(h.style))}),d}const y3=kC();function yx(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}function Ff(r,u){return u&&r&&typeof r=="object"&&r.styles&&!r.styles.startsWith("@layer")&&(r.styles=`@layer ${u}{${String(r.styles)}}`),r}function g3(r){return r?(u,s)=>s[r]:null}function v3(r,u,s){r.theme=x3(r.theme)?s:r.theme[u]||r.theme}function qb(r,u,s){const d=typeof u=="function"?u(r):u;if(Array.isArray(d))return d.flatMap(h=>qb(r,h,s));if(Array.isArray(d==null?void 0:d.variants)){let h;if(d.isProcessed)h=s?Ff(d.style,s):d.style;else{const{variants:y,...b}=d;h=s?Ff(Kf(b),s):b}return GC(r,d.variants,[h],s)}return d!=null&&d.isProcessed?s?Ff(Kf(d.style),s):d.style:s?Ff(Kf(d),s):d}function GC(r,u,s=[],d=void 0){var y;let h;e:for(let b=0;b<u.length;b+=1){const E=u[b];if(typeof E.props=="function"){if(h??(h={...r,...r.ownerState,ownerState:r.ownerState}),!E.props(h))continue}else for(const N in E.props)if(r[N]!==E.props[N]&&((y=r.ownerState)==null?void 0:y[N])!==E.props[N])continue e;typeof E.style=="function"?(h??(h={...r,...r.ownerState,ownerState:r.ownerState}),s.push(d?Ff(Kf(E.style(h)),d):E.style(h))):s.push(d?Ff(Kf(E.style),d):E.style)}return s}function b3(r={}){const{themeId:u,defaultTheme:s=y3,rootShouldForwardProp:d=yx,slotShouldForwardProp:h=yx}=r;function y(E){v3(E,u,s)}return(E,N={})=>{m5(E,xe=>xe.filter(Te=>Te!==Fm));const{name:C,slot:U,skipVariantsResolver:A,skipSx:R,overridesResolver:z=g3($C(U)),...Q}=N,j=C&&C.startsWith("Mui")||U?"components":"custom",F=A!==void 0?A:U&&U!=="Root"&&U!=="root"||!1,fe=R||!1;let ge=yx;U==="Root"||U==="root"?ge=d:U?ge=h:_3(E)&&(ge=void 0);const De=d5(E,{shouldForwardProp:ge,label:E3(C,U),...Q}),pe=xe=>{if(xe.__emotion_real===xe)return xe;if(typeof xe=="function")return function(Le){return qb(Le,xe,Le.theme.modularCssLayers?j:void 0)};if(Yu(xe)){const Te=YC(xe);return function(Pe){return Te.variants?qb(Pe,Te,Pe.theme.modularCssLayers?j:void 0):Pe.theme.modularCssLayers?Ff(Te.style,j):Te.style}}return xe},$=(...xe)=>{const Te=[],Le=xe.map(pe),Pe=[];if(Te.push(y),C&&z&&Pe.push(function(ue){var ne,be;const ze=(be=(ne=ue.theme.components)==null?void 0:ne[C])==null?void 0:be.styleOverrides;if(!ze)return null;const V={};for(const Ye in ze)V[Ye]=qb(ue,ze[Ye],ue.theme.modularCssLayers?"theme":void 0);return z(ue,V)}),C&&!F&&Pe.push(function(ue){var V,ne;const ye=ue.theme,ze=(ne=(V=ye==null?void 0:ye.components)==null?void 0:V[C])==null?void 0:ne.variants;return ze?GC(ue,ze,[],ue.theme.modularCssLayers?"theme":void 0):null}),fe||Pe.push(Fm),Array.isArray(Le[0])){const M=Le.shift(),ue=new Array(Te.length).fill(""),ye=new Array(Pe.length).fill("");let ze;ze=[...ue,...M,...ye],ze.raw=[...ue,...M.raw,...ye],Te.unshift(ze)}const we=[...Te,...Le,...Pe],$e=De(...we);return E.muiName&&($e.muiName=E.muiName),process.env.NODE_ENV!=="production"&&($e.displayName=S3(C,U,E)),$e};return De.withConfig&&($.withConfig=De.withConfig),$}}function S3(r,u,s){return r?`${r}${dx(u||"")}`:`Styled(${p3(s)})`}function E3(r,u){let s;return process.env.NODE_ENV!=="production"&&r&&(s=`${r}-${$C(u||"Root")}`),s}function x3(r){for(const u in r)return!1;return!0}function _3(r){return typeof r=="string"&&r.charCodeAt(0)>96}function $C(r){return r&&r.charAt(0).toLowerCase()+r.slice(1)}function gx(r,u,s=!1){const d={...u};for(const h in r)if(Object.prototype.hasOwnProperty.call(r,h)){const y=h;if(y==="components"||y==="slots")d[y]={...r[y],...d[y]};else if(y==="componentsProps"||y==="slotProps"){const b=r[y],E=u[y];if(!E)d[y]=b||{};else if(!b)d[y]=E;else{d[y]={...E};for(const N in b)if(Object.prototype.hasOwnProperty.call(b,N)){const C=N;d[y][C]=gx(b[C],E[C],s)}}}else y==="className"&&s&&u.className?d.className=RT(r==null?void 0:r.className,u==null?void 0:u.className):y==="style"&&s&&u.style?d.style={...r==null?void 0:r.style,...u==null?void 0:u.style}:d[y]===void 0&&(d[y]=r[y])}return d}function T3(r,u=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(u,Math.min(r,s))}function vx(r,u=0,s=1){return process.env.NODE_ENV!=="production"&&(r<u||r>s)&&console.error(`MUI: The value provided ${r} is out of range [${u}, ${s}].`),T3(r,u,s)}function C3(r){r=r.slice(1);const u=new RegExp(`.{1,${r.length>=6?2:1}}`,"g");let s=r.match(u);return s&&s[0].length===1&&(s=s.map(d=>d+d)),process.env.NODE_ENV!=="production"&&r.length!==r.trim().length&&console.error(`MUI: The color: "${r}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),s?`rgb${s.length===4?"a":""}(${s.map((d,h)=>h<3?parseInt(d,16):Math.round(parseInt(d,16)/255*1e3)/1e3).join(", ")})`:""}function uc(r){if(r.type)return r;if(r.charAt(0)==="#")return uc(C3(r));const u=r.indexOf("("),s=r.substring(0,u);if(!["rgb","rgba","hsl","hsla","color"].includes(s))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${r}\` color.
454
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Qf(9,r));let d=r.substring(u+1,r.length-1),h;if(s==="color"){if(d=d.split(" "),h=d.shift(),d.length===4&&d[3].charAt(0)==="/"&&(d[3]=d[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(h))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${h}\` color space.
455
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Qf(10,h))}else d=d.split(",");return d=d.map(y=>parseFloat(y)),{type:s,values:d,colorSpace:h}}const N3=r=>{const u=uc(r);return u.values.slice(0,3).map((s,d)=>u.type.includes("hsl")&&d!==0?`${s}%`:s).join(" ")},Xy=(r,u)=>{try{return N3(r)}catch{return u&&process.env.NODE_ENV!=="production"&&console.warn(u),r}};function Yb(r){const{type:u,colorSpace:s}=r;let{values:d}=r;return u.includes("rgb")?d=d.map((h,y)=>y<3?parseInt(h,10):h):u.includes("hsl")&&(d[1]=`${d[1]}%`,d[2]=`${d[2]}%`),u.includes("color")?d=`${s} ${d.join(" ")}`:d=`${d.join(", ")}`,`${u}(${d})`}function ZC(r){r=uc(r);const{values:u}=r,s=u[0],d=u[1]/100,h=u[2]/100,y=d*Math.min(h,1-h),b=(C,U=(C+s/30)%12)=>h-y*Math.max(Math.min(U-3,9-U,1),-1);let E="rgb";const N=[Math.round(b(0)*255),Math.round(b(8)*255),Math.round(b(4)*255)];return r.type==="hsla"&&(E+="a",N.push(u[3])),Yb({type:E,values:N})}function bx(r){r=uc(r);let u=r.type==="hsl"||r.type==="hsla"?uc(ZC(r)).values:r.values;return u=u.map(s=>(r.type!=="color"&&(s/=255),s<=.03928?s/12.92:((s+.055)/1.055)**2.4)),Number((.2126*u[0]+.7152*u[1]+.0722*u[2]).toFixed(3))}function XC(r,u){const s=bx(r),d=bx(u);return(Math.max(s,d)+.05)/(Math.min(s,d)+.05)}function QC(r,u){return r=uc(r),u=vx(u),(r.type==="rgb"||r.type==="hsl")&&(r.type+="a"),r.type==="color"?r.values[3]=`/${u}`:r.values[3]=u,Yb(r)}function If(r,u,s){try{return QC(r,u)}catch{return s&&process.env.NODE_ENV!=="production"&&console.warn(s),r}}function Gb(r,u){if(r=uc(r),u=vx(u),r.type.includes("hsl"))r.values[2]*=1-u;else if(r.type.includes("rgb")||r.type.includes("color"))for(let s=0;s<3;s+=1)r.values[s]*=1-u;return Yb(r)}function En(r,u,s){try{return Gb(r,u)}catch{return s&&process.env.NODE_ENV!=="production"&&console.warn(s),r}}function $b(r,u){if(r=uc(r),u=vx(u),r.type.includes("hsl"))r.values[2]+=(100-r.values[2])*u;else if(r.type.includes("rgb"))for(let s=0;s<3;s+=1)r.values[s]+=(255-r.values[s])*u;else if(r.type.includes("color"))for(let s=0;s<3;s+=1)r.values[s]+=(1-r.values[s])*u;return Yb(r)}function xn(r,u,s){try{return $b(r,u)}catch{return s&&process.env.NODE_ENV!=="production"&&console.warn(s),r}}function A3(r,u=.15){return bx(r)>.5?Gb(r,u):$b(r,u)}function Zb(r,u,s){try{return A3(r,u)}catch{return r}}const D3=it.createContext(void 0);process.env.NODE_ENV!=="production"&&(nn.node,nn.object);function R3(r){const{theme:u,name:s,props:d}=r;if(!u||!u.components||!u.components[s])return d;const h=u.components[s];return h.defaultProps?gx(h.defaultProps,d,u.components.mergeClassNameAndStyle):!h.styleOverrides&&!h.variants?gx(h,d,u.components.mergeClassNameAndStyle):d}function O3({props:r,name:u}){const s=it.useContext(D3);return R3({props:r,name:u,theme:{components:s}})}const JC={theme:void 0};function w3(r){let u,s;return function(h){let y=u;return(y===void 0||h.theme!==s)&&(JC.theme=h.theme,y=YC(r(JC)),u=y,s=h.theme),y}}function M3(r=""){function u(...d){if(!d.length)return"";const h=d[0];return typeof h=="string"&&!h.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${r?`${r}-`:""}${h}${u(...d.slice(1))})`:`, ${h}`}return(d,...h)=>`var(--${r?`${r}-`:""}${d}${u(...h)})`}const KC=(r,u,s,d=[])=>{let h=r;u.forEach((y,b)=>{b===u.length-1?Array.isArray(h)?h[Number(y)]=s:h&&typeof h=="object"&&(h[y]=s):h&&typeof h=="object"&&(h[y]||(h[y]=d.includes(y)?[]:{}),h=h[y])})},z3=(r,u,s)=>{function d(h,y=[],b=[]){Object.entries(h).forEach(([E,N])=>{(!s||s&&!s([...y,E]))&&N!=null&&(typeof N=="object"&&Object.keys(N).length>0?d(N,[...y,E],Array.isArray(N)?[...b,E]:b):u([...y,E],N,b))})}d(r)},j3=(r,u)=>typeof u=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(d=>r.includes(d))||r[r.length-1].toLowerCase().includes("opacity")?u:`${u}px`:u;function Sx(r,u){const{prefix:s,shouldSkipGeneratingVar:d}=u||{},h={},y={},b={};return z3(r,(E,N,C)=>{if((typeof N=="string"||typeof N=="number")&&(!d||!d(E,N))){const U=`--${s?`${s}-`:""}${E.join("-")}`,A=j3(E,N);Object.assign(h,{[U]:A}),KC(y,E,`var(${U})`,C),KC(b,E,`var(${U}, ${A})`,C)}},E=>E[0]==="vars"),{css:h,vars:y,varsWithDefaults:b}}function U3(r,u={}){const{getSelector:s=fe,disableCssColorScheme:d,colorSchemeSelector:h,enableContrastVars:y}=u,{colorSchemes:b={},components:E,defaultColorScheme:N="light",...C}=r,{vars:U,css:A,varsWithDefaults:R}=Sx(C,u);let z=R;const Q={},{[N]:j,...F}=b;if(Object.entries(F||{}).forEach(([pe,$])=>{const{vars:xe,css:Te,varsWithDefaults:Le}=Sx($,u);z=Vr(z,Le),Q[pe]={css:Te,vars:xe}}),j){const{css:pe,vars:$,varsWithDefaults:xe}=Sx(j,u);z=Vr(z,xe),Q[N]={css:pe,vars:$}}function fe(pe,$){var Te,Le;let xe=h;if(h==="class"&&(xe=".%s"),h==="data"&&(xe="[data-%s]"),h!=null&&h.startsWith("data-")&&!h.includes("%s")&&(xe=`[${h}="%s"]`),pe){if(xe==="media")return r.defaultColorScheme===pe?":root":{[`@media (prefers-color-scheme: ${((Le=(Te=b[pe])==null?void 0:Te.palette)==null?void 0:Le.mode)||pe})`]:{":root":$}};if(xe)return r.defaultColorScheme===pe?`:root, ${xe.replace("%s",String(pe))}`:xe.replace("%s",String(pe))}return":root"}return{vars:z,generateThemeVars:()=>{let pe={...U};return Object.entries(Q).forEach(([,{vars:$}])=>{pe=Vr(pe,$)}),pe},generateStyleSheets:()=>{var Pe,we;const pe=[],$=r.defaultColorScheme||"light";function xe($e,M){Object.keys(M).length&&pe.push(typeof $e=="string"?{[$e]:{...M}}:$e)}xe(s(void 0,{...A}),A);const{[$]:Te,...Le}=Q;if(Te){const{css:$e}=Te,M=(we=(Pe=b[$])==null?void 0:Pe.palette)==null?void 0:we.mode,ue=!d&&M?{colorScheme:M,...$e}:{...$e};xe(s($,{...ue}),ue)}return Object.entries(Le).forEach(([$e,{css:M}])=>{var ze,V;const ue=(V=(ze=b[$e])==null?void 0:ze.palette)==null?void 0:V.mode,ye=!d&&ue?{colorScheme:ue,...M}:{...M};xe(s($e,{...ye}),ye)}),y&&pe.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),pe}}}function V3(r){return function(s){return r==="media"?(process.env.NODE_ENV!=="production"&&s!=="light"&&s!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${s}'.`),`@media (prefers-color-scheme: ${s})`):r?r.startsWith("data-")&&!r.includes("%s")?`[${r}="${s}"] &`:r==="class"?`.${s} &`:r==="data"?`[data-${s}] &`:`${r.replace("%s",s)} &`:"&"}}const Qy={black:"#000",white:"#fff"},B3={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Im={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Pm={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Jy={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Wm={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},eh={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},th={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function FC(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qy.white,default:Qy.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const IC=FC();function PC(){return{text:{primary:Qy.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qy.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Ex=PC();function WC(r,u,s,d){const h=d.light||d,y=d.dark||d*1.5;r[u]||(r.hasOwnProperty(s)?r[u]=r[s]:u==="light"?r.light=$b(r.main,h):u==="dark"&&(r.dark=Gb(r.main,y)))}function eN(r,u,s,d,h){const y=h.light||h,b=h.dark||h*1.5;u[s]||(u.hasOwnProperty(d)?u[s]=u[d]:s==="light"?u.light=`color-mix(in ${r}, ${u.main}, #fff ${(y*100).toFixed(0)}%)`:s==="dark"&&(u.dark=`color-mix(in ${r}, ${u.main}, #000 ${(b*100).toFixed(0)}%)`))}function k3(r="light"){return r==="dark"?{main:Wm[200],light:Wm[50],dark:Wm[400]}:{main:Wm[700],light:Wm[400],dark:Wm[800]}}function H3(r="light"){return r==="dark"?{main:Im[200],light:Im[50],dark:Im[400]}:{main:Im[500],light:Im[300],dark:Im[700]}}function L3(r="light"){return r==="dark"?{main:Pm[500],light:Pm[300],dark:Pm[700]}:{main:Pm[700],light:Pm[400],dark:Pm[800]}}function q3(r="light"){return r==="dark"?{main:eh[400],light:eh[300],dark:eh[700]}:{main:eh[700],light:eh[500],dark:eh[900]}}function Y3(r="light"){return r==="dark"?{main:th[400],light:th[300],dark:th[700]}:{main:th[800],light:th[500],dark:th[900]}}function G3(r="light"){return r==="dark"?{main:Jy[400],light:Jy[300],dark:Jy[700]}:{main:"#ed6c02",light:Jy[500],dark:Jy[900]}}function $3(r){return`oklch(from ${r} var(--__l) 0 h / var(--__a))`}function xx(r){const{mode:u="light",contrastThreshold:s=3,tonalOffset:d=.2,colorSpace:h,...y}=r,b=r.primary||k3(u),E=r.secondary||H3(u),N=r.error||L3(u),C=r.info||q3(u),U=r.success||Y3(u),A=r.warning||G3(u);function R(F){if(h)return $3(F);const fe=XC(F,Ex.text.primary)>=s?Ex.text.primary:IC.text.primary;if(process.env.NODE_ENV!=="production"){const ge=XC(F,fe);ge<3&&console.error([`MUI: The contrast ratio of ${ge}:1 for ${fe} on ${F}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
456
- `))}return fe}const z=({color:F,name:fe,mainShade:ge=500,lightShade:De=300,darkShade:pe=700})=>{if(F={...F},!F.main&&F[ge]&&(F.main=F[ge]),!F.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${fe?` (${fe})`:""} provided to augmentColor(color) is invalid.
457
- The color object needs to have a \`main\` property or a \`${ge}\` property.`:Qf(11,fe?` (${fe})`:"",ge));if(typeof F.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${fe?` (${fe})`:""} provided to augmentColor(color) is invalid.
458
- \`color.main\` should be a string, but \`${JSON.stringify(F.main)}\` was provided instead.
459
-
460
- Did you intend to use one of the following approaches?
461
-
462
- import { green } from "@mui/material/colors";
463
-
464
- const theme1 = createTheme({ palette: {
465
- primary: green,
466
- } });
467
-
468
- const theme2 = createTheme({ palette: {
469
- primary: { main: green[500] },
470
- } });`:Qf(12,fe?` (${fe})`:"",JSON.stringify(F.main)));return h?(eN(h,F,"light",De,d),eN(h,F,"dark",pe,d)):(WC(F,"light",De,d),WC(F,"dark",pe,d)),F.contrastText||(F.contrastText=R(F.main)),F};let Q;return u==="light"?Q=FC():u==="dark"&&(Q=PC()),process.env.NODE_ENV!=="production"&&(Q||console.error(`MUI: The palette mode \`${u}\` is not supported.`)),Vr({common:{...Qy},mode:u,primary:z({color:b,name:"primary"}),secondary:z({color:E,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:z({color:N,name:"error"}),warning:z({color:A,name:"warning"}),info:z({color:C,name:"info"}),success:z({color:U,name:"success"}),grey:B3,contrastThreshold:s,getContrastText:R,augmentColor:z,tonalOffset:d,...Q},y)}function Z3(r){const u={};return Object.entries(r).forEach(d=>{const[h,y]=d;typeof y=="object"&&(u[h]=`${y.fontStyle?`${y.fontStyle} `:""}${y.fontVariant?`${y.fontVariant} `:""}${y.fontWeight?`${y.fontWeight} `:""}${y.fontStretch?`${y.fontStretch} `:""}${y.fontSize||""}${y.lineHeight?`/${y.lineHeight} `:""}${y.fontFamily||""}`)}),u}function X3(r,u){return{toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...u}}function Q3(r){return Math.round(r*1e5)/1e5}const tN={textTransform:"uppercase"},nN='"Roboto", "Helvetica", "Arial", sans-serif';function J3(r,u){const{fontFamily:s=nN,fontSize:d=14,fontWeightLight:h=300,fontWeightRegular:y=400,fontWeightMedium:b=500,fontWeightBold:E=700,htmlFontSize:N=16,allVariants:C,pxToRem:U,...A}=typeof u=="function"?u(r):u;process.env.NODE_ENV!=="production"&&(typeof d!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof N!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const R=d/14,z=U||(F=>`${F/N*R}rem`),Q=(F,fe,ge,De,pe)=>({fontFamily:s,fontWeight:F,fontSize:z(fe),lineHeight:ge,...s===nN?{letterSpacing:`${Q3(De/fe)}em`}:{},...pe,...C}),j={h1:Q(h,96,1.167,-1.5),h2:Q(h,60,1.2,-.5),h3:Q(y,48,1.167,0),h4:Q(y,34,1.235,.25),h5:Q(y,24,1.334,0),h6:Q(b,20,1.6,.15),subtitle1:Q(y,16,1.75,.15),subtitle2:Q(b,14,1.57,.1),body1:Q(y,16,1.5,.15),body2:Q(y,14,1.43,.15),button:Q(b,14,1.75,.4,tN),caption:Q(y,12,1.66,.4),overline:Q(y,12,2.66,1,tN),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vr({htmlFontSize:N,pxToRem:z,fontFamily:s,fontSize:d,fontWeightLight:h,fontWeightRegular:y,fontWeightMedium:b,fontWeightBold:E,...j},A,{clone:!1})}const K3=.2,F3=.14,I3=.12;function Kn(...r){return[`${r[0]}px ${r[1]}px ${r[2]}px ${r[3]}px rgba(0,0,0,${K3})`,`${r[4]}px ${r[5]}px ${r[6]}px ${r[7]}px rgba(0,0,0,${F3})`,`${r[8]}px ${r[9]}px ${r[10]}px ${r[11]}px rgba(0,0,0,${I3})`].join(",")}const P3=["none",Kn(0,2,1,-1,0,1,1,0,0,1,3,0),Kn(0,3,1,-2,0,2,2,0,0,1,5,0),Kn(0,3,3,-2,0,3,4,0,0,1,8,0),Kn(0,2,4,-1,0,4,5,0,0,1,10,0),Kn(0,3,5,-1,0,5,8,0,0,1,14,0),Kn(0,3,5,-1,0,6,10,0,0,1,18,0),Kn(0,4,5,-2,0,7,10,1,0,2,16,1),Kn(0,5,5,-3,0,8,10,1,0,3,14,2),Kn(0,5,6,-3,0,9,12,1,0,3,16,2),Kn(0,6,6,-3,0,10,14,1,0,4,18,3),Kn(0,6,7,-4,0,11,15,1,0,4,20,3),Kn(0,7,8,-4,0,12,17,2,0,5,22,4),Kn(0,7,8,-4,0,13,19,2,0,5,24,4),Kn(0,7,9,-4,0,14,21,2,0,5,26,4),Kn(0,8,9,-5,0,15,22,2,0,6,28,5),Kn(0,8,10,-5,0,16,24,2,0,6,30,5),Kn(0,8,11,-5,0,17,26,2,0,6,32,5),Kn(0,9,11,-5,0,18,28,2,0,7,34,6),Kn(0,9,12,-6,0,19,29,2,0,7,36,6),Kn(0,10,13,-6,0,20,31,3,0,8,38,7),Kn(0,10,13,-6,0,21,33,3,0,8,40,7),Kn(0,10,14,-6,0,22,35,3,0,8,42,7),Kn(0,11,14,-7,0,23,36,3,0,9,44,8),Kn(0,11,15,-7,0,24,38,3,0,9,46,8)],W3={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},e4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function aN(r){return`${Math.round(r)}ms`}function t4(r){if(!r)return 0;const u=r/36;return Math.min(Math.round((4+15*u**.25+u/5)*10),3e3)}function n4(r){const u={...W3,...r.easing},s={...e4,...r.duration};return{getAutoHeightDuration:t4,create:(h=["all"],y={})=>{const{duration:b=s.standard,easing:E=u.easeInOut,delay:N=0,...C}=y;if(process.env.NODE_ENV!=="production"){const U=R=>typeof R=="string",A=R=>!Number.isNaN(parseFloat(R));!U(h)&&!Array.isArray(h)&&console.error('MUI: Argument "props" must be a string or Array.'),!A(b)&&!U(b)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${b}.`),U(E)||console.error('MUI: Argument "easing" must be a string.'),!A(N)&&!U(N)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof y!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
471
- `)),Object.keys(C).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(C).join(",")}].`)}return(Array.isArray(h)?h:[h]).map(U=>`${U} ${typeof b=="string"?b:aN(b)} ${E} ${typeof N=="string"?N:aN(N)}`).join(",")},...r,easing:u,duration:s}}const a4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function l4(r){return Yu(r)||typeof r>"u"||typeof r=="string"||typeof r=="boolean"||typeof r=="number"||Array.isArray(r)}function lN(r={}){const u={...r};function s(d){const h=Object.entries(d);for(let y=0;y<h.length;y++){const[b,E]=h[y];!l4(E)||b.startsWith("unstable_")?delete d[b]:Yu(E)&&(d[b]={...E},s(d[b]))}}return s(u),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
121
+ */var Ph;function uN(){if(Ph)return We;Ph=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),C=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function k(w){if(typeof w=="object"&&w!==null){var q=w.$$typeof;switch(q){case r:switch(w=w.type,w){case l:case o:case s:case y:case p:case C:return w;default:switch(w=w&&w.$$typeof,w){case d:case h:case N:case x:return w;case f:return w;default:return q}}case n:return q}}}return We.ContextConsumer=f,We.ContextProvider=d,We.Element=r,We.ForwardRef=h,We.Fragment=l,We.Lazy=N,We.Memo=x,We.Portal=n,We.Profiler=o,We.StrictMode=s,We.Suspense=y,We.SuspenseList=p,We.isContextConsumer=function(w){return k(w)===f},We.isContextProvider=function(w){return k(w)===d},We.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===r},We.isForwardRef=function(w){return k(w)===h},We.isFragment=function(w){return k(w)===l},We.isLazy=function(w){return k(w)===N},We.isMemo=function(w){return k(w)===x},We.isPortal=function(w){return k(w)===n},We.isProfiler=function(w){return k(w)===o},We.isStrictMode=function(w){return k(w)===s},We.isSuspense=function(w){return k(w)===y},We.isSuspenseList=function(w){return k(w)===p},We.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===l||w===o||w===s||w===y||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===N||w.$$typeof===x||w.$$typeof===d||w.$$typeof===f||w.$$typeof===h||w.$$typeof===S||w.getModuleId!==void 0)},We.typeOf=k,We}var Wh;function cN(){return Wh||(Wh=1,dc.exports=uN()),dc.exports}var ep=cN();function er(r){if(typeof r!="object"||r===null)return!1;const n=Object.getPrototypeOf(r);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)}function tp(r){if(ge.isValidElement(r)||ep.isValidElementType(r)||!er(r))return r;const n={};return Object.keys(r).forEach(l=>{n[l]=tp(r[l])}),n}function oa(r,n,l={clone:!0}){const s=l.clone?{...r}:r;return er(r)&&er(n)&&Object.keys(n).forEach(o=>{ge.isValidElement(n[o])||ep.isValidElementType(n[o])?s[o]=n[o]:er(n[o])&&Object.prototype.hasOwnProperty.call(r,o)&&er(r[o])?s[o]=oa(r[o],n[o],l):l.clone?s[o]=er(n[o])?tp(n[o]):n[o]:s[o]=n[o]}),s}const fN=r=>{const n=Object.keys(r).map(l=>({key:l,val:r[l]}))||[];return n.sort((l,s)=>l.val-s.val),n.reduce((l,s)=>({...l,[s.key]:s.val}),{})};function dN(r){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:l="px",step:s=5,...o}=r,f=fN(n),d=Object.keys(f);function h(C){return`@media (min-width:${typeof n[C]=="number"?n[C]:C}${l})`}function y(C){return`@media (max-width:${(typeof n[C]=="number"?n[C]:C)-s/100}${l})`}function p(C,S){const k=d.indexOf(S);return`@media (min-width:${typeof n[C]=="number"?n[C]:C}${l}) and (max-width:${(k!==-1&&typeof n[d[k]]=="number"?n[d[k]]:S)-s/100}${l})`}function x(C){return d.indexOf(C)+1<d.length?p(C,d[d.indexOf(C)+1]):h(C)}function N(C){const S=d.indexOf(C);return S===0?h(d[1]):S===d.length-1?y(d[S]):p(C,d[d.indexOf(C)+1]).replace("@media","@media not all and")}return{keys:d,values:f,up:h,down:y,between:p,only:x,not:N,unit:l,...o}}function ap(r,n){if(!r.containerQueries)return n;const l=Object.keys(n).filter(s=>s.startsWith("@container")).sort((s,o)=>{var d,h;const f=/min-width:\s*([0-9.]+)/;return+(((d=s.match(f))==null?void 0:d[1])||0)-+(((h=o.match(f))==null?void 0:h[1])||0)});return l.length?l.reduce((s,o)=>{const f=n[o];return delete s[o],s[o]=f,s},{...n}):n}function mN(r,n){return n==="@"||n.startsWith("@")&&(r.some(l=>n.startsWith(`@${l}`))||!!n.match(/^@\d/))}function hN(r,n){const l=n.match(/^@([^/]+)?\/?(.+)?$/);if(!l)return null;const[,s,o]=l,f=Number.isNaN(+s)?s||0:+s;return r.containerQueries(o).up(f)}function pN(r){const n=(f,d)=>f.replace("@media",d?`@container ${d}`:"@container");function l(f,d){f.up=(...h)=>n(r.breakpoints.up(...h),d),f.down=(...h)=>n(r.breakpoints.down(...h),d),f.between=(...h)=>n(r.breakpoints.between(...h),d),f.only=(...h)=>n(r.breakpoints.only(...h),d),f.not=(...h)=>{const y=n(r.breakpoints.not(...h),d);return y.includes("not all and")?y.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):y}}const s={},o=f=>(l(s,f),s);return l(o),{...r,containerQueries:o}}const gN={borderRadius:4};function nl(r,n){return n?oa(r,n,{clone:!1}):r}const Rs={xs:0,sm:600,md:900,lg:1200,xl:1536},rp={keys:["xs","sm","md","lg","xl"],up:r=>`@media (min-width:${Rs[r]}px)`},yN={containerQueries:r=>({up:n=>{let l=typeof n=="number"?n:Rs[n]||n;return typeof l=="number"&&(l=`${l}px`),r?`@container ${r} (min-width:${l})`:`@container (min-width:${l})`}})};function tr(r,n,l){const s=r.theme||{};if(Array.isArray(n)){const f=s.breakpoints||rp;return n.reduce((d,h,y)=>(d[f.up(f.keys[y])]=l(n[y]),d),{})}if(typeof n=="object"){const f=s.breakpoints||rp;return Object.keys(n).reduce((d,h)=>{if(mN(f.keys,h)){const y=hN(s.containerQueries?s:yN,h);y&&(d[y]=l(n[h],h))}else if(Object.keys(f.values||Rs).includes(h)){const y=f.up(h);d[y]=l(n[h],h)}else{const y=h;d[y]=n[y]}return d},{})}return l(n)}function bN(r={}){var l;return((l=r.keys)==null?void 0:l.reduce((s,o)=>{const f=r.up(o);return s[f]={},s},{}))||{}}function np(r,n){return r.reduce((l,s)=>{const o=l[s];return(!o||Object.keys(o).length===0)&&delete l[s],l},n)}function ip(r){if(typeof r!="string")throw new Error(on(7));return r.charAt(0).toUpperCase()+r.slice(1)}function Ms(r,n,l=!0){if(!n||typeof n!="string")return null;if(r&&r.vars&&l){const s=`vars.${n}`.split(".").reduce((o,f)=>o&&o[f]?o[f]:null,r);if(s!=null)return s}return n.split(".").reduce((s,o)=>s&&s[o]!=null?s[o]:null,r)}function zs(r,n,l,s=l){let o;return typeof r=="function"?o=r(l):Array.isArray(r)?o=r[l]||s:o=Ms(r,l)||s,n&&(o=n(o,s,r)),o}function yt(r){const{prop:n,cssProperty:l=r.prop,themeKey:s,transform:o}=r,f=d=>{if(d[n]==null)return null;const h=d[n],y=d.theme,p=Ms(y,s)||{};return tr(d,h,N=>{let C=zs(p,o,N);return N===C&&typeof N=="string"&&(C=zs(p,o,`${n}${N==="default"?"":ip(N)}`,N)),l===!1?C:{[l]:C}})};return f.propTypes={},f.filterProps=[n],f}function vN(r){const n={};return l=>(n[l]===void 0&&(n[l]=r(l)),n[l])}const xN={m:"margin",p:"padding"},NN={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},lp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},SN=vN(r=>{if(r.length>2)if(lp[r])r=lp[r];else return[r];const[n,l]=r.split(""),s=xN[n],o=NN[l]||"";return Array.isArray(o)?o.map(f=>s+f):[s+o]}),mc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],hc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mc,...hc];function il(r,n,l,s){const o=Ms(r,n,!0)??l;return typeof o=="number"||typeof o=="string"?f=>typeof f=="string"?f:typeof o=="string"?o.startsWith("var(")&&f===0?0:o.startsWith("var(")&&f===1?o:`calc(${f} * ${o})`:o*f:Array.isArray(o)?f=>{if(typeof f=="string")return f;const d=Math.abs(f),h=o[d];return f>=0?h:typeof h=="number"?-h:typeof h=="string"&&h.startsWith("var(")?`calc(-1 * ${h})`:`-${h}`}:typeof o=="function"?o:()=>{}}function pc(r){return il(r,"spacing",8)}function ll(r,n){return typeof n=="string"||n==null?n:r(n)}function _N(r,n){return l=>r.reduce((s,o)=>(s[o]=ll(n,l),s),{})}function CN(r,n,l,s){if(!n.includes(l))return null;const o=SN(l),f=_N(o,s),d=r[l];return tr(r,d,f)}function sp(r,n){const l=pc(r.theme);return Object.keys(r).map(s=>CN(r,n,s,l)).reduce(nl,{})}function dt(r){return sp(r,mc)}dt.propTypes={},dt.filterProps=mc;function mt(r){return sp(r,hc)}mt.propTypes={},mt.filterProps=hc;function op(r=8,n=pc({spacing:r})){if(r.mui)return r;const l=(...s)=>(s.length===0?[1]:s).map(f=>{const d=n(f);return typeof d=="number"?`${d}px`:d}).join(" ");return l.mui=!0,l}function ks(...r){const n=r.reduce((s,o)=>(o.filterProps.forEach(f=>{s[f]=o}),s),{}),l=s=>Object.keys(s).reduce((o,f)=>n[f]?nl(o,n[f](s)):o,{});return l.propTypes={},l.filterProps=r.reduce((s,o)=>s.concat(o.filterProps),[]),l}function va(r){return typeof r!="number"?r:`${r}px solid`}function xa(r,n){return yt({prop:r,themeKey:"borders",transform:n})}const EN=xa("border",va),wN=xa("borderTop",va),DN=xa("borderRight",va),AN=xa("borderBottom",va),TN=xa("borderLeft",va),ON=xa("borderColor"),RN=xa("borderTopColor"),MN=xa("borderRightColor"),zN=xa("borderBottomColor"),kN=xa("borderLeftColor"),jN=xa("outline",va),VN=xa("outlineColor"),js=r=>{if(r.borderRadius!==void 0&&r.borderRadius!==null){const n=il(r.theme,"shape.borderRadius",4),l=s=>({borderRadius:ll(n,s)});return tr(r,r.borderRadius,l)}return null};js.propTypes={},js.filterProps=["borderRadius"],ks(EN,wN,DN,AN,TN,ON,RN,MN,zN,kN,js,jN,VN);const Vs=r=>{if(r.gap!==void 0&&r.gap!==null){const n=il(r.theme,"spacing",8),l=s=>({gap:ll(n,s)});return tr(r,r.gap,l)}return null};Vs.propTypes={},Vs.filterProps=["gap"];const Bs=r=>{if(r.columnGap!==void 0&&r.columnGap!==null){const n=il(r.theme,"spacing",8),l=s=>({columnGap:ll(n,s)});return tr(r,r.columnGap,l)}return null};Bs.propTypes={},Bs.filterProps=["columnGap"];const Us=r=>{if(r.rowGap!==void 0&&r.rowGap!==null){const n=il(r.theme,"spacing",8),l=s=>({rowGap:ll(n,s)});return tr(r,r.rowGap,l)}return null};Us.propTypes={},Us.filterProps=["rowGap"];const BN=yt({prop:"gridColumn"}),UN=yt({prop:"gridRow"}),LN=yt({prop:"gridAutoFlow"}),qN=yt({prop:"gridAutoColumns"}),HN=yt({prop:"gridAutoRows"}),GN=yt({prop:"gridTemplateColumns"}),ZN=yt({prop:"gridTemplateRows"}),YN=yt({prop:"gridTemplateAreas"}),$N=yt({prop:"gridArea"});ks(Vs,Bs,Us,BN,UN,LN,qN,HN,GN,ZN,YN,$N);function Yn(r,n){return n==="grey"?n:r}const FN=yt({prop:"color",themeKey:"palette",transform:Yn}),QN=yt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Yn}),XN=yt({prop:"backgroundColor",themeKey:"palette",transform:Yn});ks(FN,QN,XN);function ua(r){return r<=1&&r!==0?`${r*100}%`:r}const KN=yt({prop:"width",transform:ua}),gc=r=>{if(r.maxWidth!==void 0&&r.maxWidth!==null){const n=l=>{var o,f,d,h,y;const s=((d=(f=(o=r.theme)==null?void 0:o.breakpoints)==null?void 0:f.values)==null?void 0:d[l])||Rs[l];return s?((y=(h=r.theme)==null?void 0:h.breakpoints)==null?void 0:y.unit)!=="px"?{maxWidth:`${s}${r.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:ua(l)}};return tr(r,r.maxWidth,n)}return null};gc.filterProps=["maxWidth"];const JN=yt({prop:"minWidth",transform:ua}),IN=yt({prop:"height",transform:ua}),PN=yt({prop:"maxHeight",transform:ua}),WN=yt({prop:"minHeight",transform:ua});yt({prop:"size",cssProperty:"width",transform:ua}),yt({prop:"size",cssProperty:"height",transform:ua});const eS=yt({prop:"boxSizing"});ks(KN,gc,JN,IN,PN,WN,eS);const Ls={border:{themeKey:"borders",transform:va},borderTop:{themeKey:"borders",transform:va},borderRight:{themeKey:"borders",transform:va},borderBottom:{themeKey:"borders",transform:va},borderLeft:{themeKey:"borders",transform:va},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:va},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:js},color:{themeKey:"palette",transform:Yn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Yn},backgroundColor:{themeKey:"palette",transform:Yn},p:{style:mt},pt:{style:mt},pr:{style:mt},pb:{style:mt},pl:{style:mt},px:{style:mt},py:{style:mt},padding:{style:mt},paddingTop:{style:mt},paddingRight:{style:mt},paddingBottom:{style:mt},paddingLeft:{style:mt},paddingX:{style:mt},paddingY:{style:mt},paddingInline:{style:mt},paddingInlineStart:{style:mt},paddingInlineEnd:{style:mt},paddingBlock:{style:mt},paddingBlockStart:{style:mt},paddingBlockEnd:{style:mt},m:{style:dt},mt:{style:dt},mr:{style:dt},mb:{style:dt},ml:{style:dt},mx:{style:dt},my:{style:dt},margin:{style:dt},marginTop:{style:dt},marginRight:{style:dt},marginBottom:{style:dt},marginLeft:{style:dt},marginX:{style:dt},marginY:{style:dt},marginInline:{style:dt},marginInlineStart:{style:dt},marginInlineEnd:{style:dt},marginBlock:{style:dt},marginBlockStart:{style:dt},marginBlockEnd:{style:dt},displayPrint:{cssProperty:!1,transform:r=>({"@media print":{display:r}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Vs},rowGap:{style:Us},columnGap:{style:Bs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ua},maxWidth:{style:gc},minWidth:{transform:ua},height:{transform:ua},maxHeight:{transform:ua},minHeight:{transform:ua},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function tS(...r){const n=r.reduce((s,o)=>s.concat(Object.keys(o)),[]),l=new Set(n);return r.every(s=>l.size===Object.keys(s).length)}function aS(r,n){return typeof r=="function"?r(n):r}function rS(){function r(l,s,o,f){const d={[l]:s,theme:o},h=f[l];if(!h)return{[l]:s};const{cssProperty:y=l,themeKey:p,transform:x,style:N}=h;if(s==null)return null;if(p==="typography"&&s==="inherit")return{[l]:s};const C=Ms(o,p)||{};return N?N(d):tr(d,s,k=>{let w=zs(C,x,k);return k===w&&typeof k=="string"&&(w=zs(C,x,`${l}${k==="default"?"":ip(k)}`,k)),y===!1?w:{[y]:w}})}function n(l){const{sx:s,theme:o={},nested:f}=l||{};if(!s)return null;const d=o.unstable_sxConfig??Ls;function h(y){let p=y;if(typeof y=="function")p=y(o);else if(typeof y!="object")return y;if(!p)return null;const x=bN(o.breakpoints),N=Object.keys(x);let C=x;return Object.keys(p).forEach(S=>{const k=aS(p[S],o);if(k!=null)if(typeof k=="object")if(d[S])C=nl(C,r(S,k,o,d));else{const w=tr({theme:o},k,q=>({[S]:q}));tS(w,k)?C[S]=n({sx:k,theme:o,nested:!0}):C=nl(C,w)}else C=nl(C,r(S,k,o,d))}),!f&&o.modularCssLayers?{"@layer sx":ap(o,np(N,C))}:ap(o,np(N,C))}return Array.isArray(s)?s.map(h):h(s)}return n}const $n=rS();$n.filterProps=["sx"];function nS(r,n){var s;const l=this;if(l.vars){if(!((s=l.colorSchemes)!=null&&s[r])||typeof l.getColorSchemeSelector!="function")return{};let o=l.getColorSchemeSelector(r);return o==="&"?n:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:n})}return l.palette.mode===r?n:{}}function up(r={},...n){const{breakpoints:l={},palette:s={},spacing:o,shape:f={},...d}=r,h=dN(l),y=op(o);let p=oa({breakpoints:h,direction:"ltr",components:{},palette:{mode:"light",...s},spacing:y,shape:{...gN,...f}},d);return p=pN(p),p.applyStyles=nS,p=n.reduce((x,N)=>oa(x,N),p),p.unstable_sxConfig={...Ls,...d==null?void 0:d.unstable_sxConfig},p.unstable_sx=function(N){return $n({sx:N,theme:this})},p}const cp=r=>r,iS=(()=>{let r=cp;return{configure(n){r=n},generate(n){return r(n)},reset(){r=cp}}})(),lS={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function fp(r,n,l="Mui"){const s=lS[n];return s?`${l}-${s}`:`${iS.generate(r)}-${n}`}function sS(r,n,l="Mui"){const s={};return n.forEach(o=>{s[o]=fp(r,o,l)}),s}function dp(r){const{variants:n,...l}=r,s={variants:n,style:cn(l),isProcessed:!0};return s.style===l||n&&n.forEach(o=>{typeof o.style!="function"&&(o.style=cn(o.style))}),s}const oS=up();function yc(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}function fn(r,n){return n&&r&&typeof r=="object"&&r.styles&&!r.styles.startsWith("@layer")&&(r.styles=`@layer ${n}{${String(r.styles)}}`),r}function uS(r){return r?(n,l)=>l[r]:null}function cS(r,n,l){r.theme=mS(r.theme)?l:r.theme[n]||r.theme}function qs(r,n,l){const s=typeof n=="function"?n(r):n;if(Array.isArray(s))return s.flatMap(o=>qs(r,o,l));if(Array.isArray(s==null?void 0:s.variants)){let o;if(s.isProcessed)o=l?fn(s.style,l):s.style;else{const{variants:f,...d}=s;o=l?fn(cn(d),l):d}return mp(r,s.variants,[o],l)}return s!=null&&s.isProcessed?l?fn(cn(s.style),l):s.style:l?fn(cn(s),l):s}function mp(r,n,l=[],s=void 0){var f;let o;e:for(let d=0;d<n.length;d+=1){const h=n[d];if(typeof h.props=="function"){if(o??(o={...r,...r.ownerState,ownerState:r.ownerState}),!h.props(o))continue}else for(const y in h.props)if(r[y]!==h.props[y]&&((f=r.ownerState)==null?void 0:f[y])!==h.props[y])continue e;typeof h.style=="function"?(o??(o={...r,...r.ownerState,ownerState:r.ownerState}),l.push(s?fn(cn(h.style(o)),s):h.style(o))):l.push(s?fn(cn(h.style),s):h.style)}return l}function fS(r={}){const{themeId:n,defaultTheme:l=oS,rootShouldForwardProp:s=yc,slotShouldForwardProp:o=yc}=r;function f(h){cS(h,n,l)}return(h,y={})=>{oN(h,K=>K.filter(ne=>ne!==$n));const{name:p,slot:x,skipVariantsResolver:N,skipSx:C,overridesResolver:S=uS(pS(x)),...k}=y,w=p&&p.startsWith("Mui")||x?"components":"custom",q=N!==void 0?N:x&&x!=="Root"&&x!=="root"||!1,te=C||!1;let Q=yc;x==="Root"||x==="root"?Q=s:x?Q=o:hS(h)&&(Q=void 0);const le=sN(h,{shouldForwardProp:Q,label:dS(),...k}),I=K=>{if(K.__emotion_real===K)return K;if(typeof K=="function")return function(de){return qs(de,K,de.theme.modularCssLayers?w:void 0)};if(er(K)){const ne=dp(K);return function(we){return ne.variants?qs(we,ne,we.theme.modularCssLayers?w:void 0):we.theme.modularCssLayers?fn(ne.style,w):ne.style}}return K},B=(...K)=>{const ne=[],de=K.map(I),we=[];if(ne.push(f),p&&S&&we.push(function(F){var H,J;const se=(J=(H=F.theme.components)==null?void 0:H[p])==null?void 0:J.styleOverrides;if(!se)return null;const Z={};for(const De in se)Z[De]=qs(F,se[De],F.theme.modularCssLayers?"theme":void 0);return S(F,Z)}),p&&!q&&we.push(function(F){var Z,H;const X=F.theme,se=(H=(Z=X==null?void 0:X.components)==null?void 0:Z[p])==null?void 0:H.variants;return se?mp(F,se,[],F.theme.modularCssLayers?"theme":void 0):null}),te||we.push($n),Array.isArray(de[0])){const b=de.shift(),F=new Array(ne.length).fill(""),X=new Array(we.length).fill("");let se;se=[...F,...b,...X],se.raw=[...F,...b.raw,...X],ne.unshift(se)}const Ue=[...ne,...de,...we],_e=le(...Ue);return h.muiName&&(_e.muiName=h.muiName),_e};return le.withConfig&&(B.withConfig=le.withConfig),B}}function dS(r,n){return void 0}function mS(r){for(const n in r)return!1;return!0}function hS(r){return typeof r=="string"&&r.charCodeAt(0)>96}function pS(r){return r&&r.charAt(0).toLowerCase()+r.slice(1)}function bc(r,n,l=!1){const s={...n};for(const o in r)if(Object.prototype.hasOwnProperty.call(r,o)){const f=o;if(f==="components"||f==="slots")s[f]={...r[f],...s[f]};else if(f==="componentsProps"||f==="slotProps"){const d=r[f],h=n[f];if(!h)s[f]=d||{};else if(!d)s[f]=h;else{s[f]={...h};for(const y in d)if(Object.prototype.hasOwnProperty.call(d,y)){const p=y;s[f][p]=bc(d[p],h[p],l)}}}else f==="className"&&l&&n.className?s.className=mh(r==null?void 0:r.className,n==null?void 0:n.className):f==="style"&&l&&n.style?s.style={...r==null?void 0:r.style,...n==null?void 0:n.style}:s[f]===void 0&&(s[f]=r[f])}return s}function gS(r,n=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(r,l))}function vc(r,n=0,l=1){return gS(r,n,l)}function yS(r){r=r.slice(1);const n=new RegExp(`.{1,${r.length>=6?2:1}}`,"g");let l=r.match(n);return l&&l[0].length===1&&(l=l.map(s=>s+s)),l?`rgb${l.length===4?"a":""}(${l.map((s,o)=>o<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function Tr(r){if(r.type)return r;if(r.charAt(0)==="#")return Tr(yS(r));const n=r.indexOf("("),l=r.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(l))throw new Error(on(9,r));let s=r.substring(n+1,r.length-1),o;if(l==="color"){if(s=s.split(" "),o=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(on(10,o))}else s=s.split(",");return s=s.map(f=>parseFloat(f)),{type:l,values:s,colorSpace:o}}const bS=r=>{const n=Tr(r);return n.values.slice(0,3).map((l,s)=>n.type.includes("hsl")&&s!==0?`${l}%`:l).join(" ")},sl=(r,n)=>{try{return bS(r)}catch{return r}};function Hs(r){const{type:n,colorSpace:l}=r;let{values:s}=r;return n.includes("rgb")?s=s.map((o,f)=>f<3?parseInt(o,10):o):n.includes("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),n.includes("color")?s=`${l} ${s.join(" ")}`:s=`${s.join(", ")}`,`${n}(${s})`}function hp(r){r=Tr(r);const{values:n}=r,l=n[0],s=n[1]/100,o=n[2]/100,f=s*Math.min(o,1-o),d=(p,x=(p+l/30)%12)=>o-f*Math.max(Math.min(x-3,9-x,1),-1);let h="rgb";const y=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return r.type==="hsla"&&(h+="a",y.push(n[3])),Hs({type:h,values:y})}function xc(r){r=Tr(r);let n=r.type==="hsl"||r.type==="hsla"?Tr(hp(r)).values:r.values;return n=n.map(l=>(r.type!=="color"&&(l/=255),l<=.03928?l/12.92:((l+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function vS(r,n){const l=xc(r),s=xc(n);return(Math.max(l,s)+.05)/(Math.min(l,s)+.05)}function pp(r,n){return r=Tr(r),n=vc(n),(r.type==="rgb"||r.type==="hsl")&&(r.type+="a"),r.type==="color"?r.values[3]=`/${n}`:r.values[3]=n,Hs(r)}function dn(r,n,l){try{return pp(r,n)}catch{return r}}function Gs(r,n){if(r=Tr(r),n=vc(n),r.type.includes("hsl"))r.values[2]*=1-n;else if(r.type.includes("rgb")||r.type.includes("color"))for(let l=0;l<3;l+=1)r.values[l]*=1-n;return Hs(r)}function Xe(r,n,l){try{return Gs(r,n)}catch{return r}}function Zs(r,n){if(r=Tr(r),n=vc(n),r.type.includes("hsl"))r.values[2]+=(100-r.values[2])*n;else if(r.type.includes("rgb"))for(let l=0;l<3;l+=1)r.values[l]+=(255-r.values[l])*n;else if(r.type.includes("color"))for(let l=0;l<3;l+=1)r.values[l]+=(1-r.values[l])*n;return Hs(r)}function Ke(r,n,l){try{return Zs(r,n)}catch{return r}}function xS(r,n=.15){return xc(r)>.5?Gs(r,n):Zs(r,n)}function Ys(r,n,l){try{return xS(r,n)}catch{return r}}const NS=ge.createContext(void 0);function SS(r){const{theme:n,name:l,props:s}=r;if(!n||!n.components||!n.components[l])return s;const o=n.components[l];return o.defaultProps?bc(o.defaultProps,s,n.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?bc(o,s,n.components.mergeClassNameAndStyle):s}function _S({props:r,name:n}){const l=ge.useContext(NS);return SS({props:r,name:n,theme:{components:l}})}const gp={theme:void 0};function CS(r){let n,l;return function(o){let f=n;return(f===void 0||o.theme!==l)&&(gp.theme=o.theme,f=dp(r(gp)),n=f,l=o.theme),f}}function ES(r=""){function n(...s){if(!s.length)return"";const o=s[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${r?`${r}-`:""}${o}${n(...s.slice(1))})`:`, ${o}`}return(s,...o)=>`var(--${r?`${r}-`:""}${s}${n(...o)})`}const yp=(r,n,l,s=[])=>{let o=r;n.forEach((f,d)=>{d===n.length-1?Array.isArray(o)?o[Number(f)]=l:o&&typeof o=="object"&&(o[f]=l):o&&typeof o=="object"&&(o[f]||(o[f]=s.includes(f)?[]:{}),o=o[f])})},wS=(r,n,l)=>{function s(o,f=[],d=[]){Object.entries(o).forEach(([h,y])=>{(!l||l&&!l([...f,h]))&&y!=null&&(typeof y=="object"&&Object.keys(y).length>0?s(y,[...f,h],Array.isArray(y)?[...d,h]:d):n([...f,h],y,d))})}s(r)},DS=(r,n)=>typeof n=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(s=>r.includes(s))||r[r.length-1].toLowerCase().includes("opacity")?n:`${n}px`:n;function Nc(r,n){const{prefix:l,shouldSkipGeneratingVar:s}=n||{},o={},f={},d={};return wS(r,(h,y,p)=>{if((typeof y=="string"||typeof y=="number")&&(!s||!s(h,y))){const x=`--${l?`${l}-`:""}${h.join("-")}`,N=DS(h,y);Object.assign(o,{[x]:N}),yp(f,h,`var(${x})`,p),yp(d,h,`var(${x}, ${N})`,p)}},h=>h[0]==="vars"),{css:o,vars:f,varsWithDefaults:d}}function AS(r,n={}){const{getSelector:l=te,disableCssColorScheme:s,colorSchemeSelector:o,enableContrastVars:f}=n,{colorSchemes:d={},components:h,defaultColorScheme:y="light",...p}=r,{vars:x,css:N,varsWithDefaults:C}=Nc(p,n);let S=C;const k={},{[y]:w,...q}=d;if(Object.entries(q||{}).forEach(([I,B])=>{const{vars:K,css:ne,varsWithDefaults:de}=Nc(B,n);S=oa(S,de),k[I]={css:ne,vars:K}}),w){const{css:I,vars:B,varsWithDefaults:K}=Nc(w,n);S=oa(S,K),k[y]={css:I,vars:B}}function te(I,B){var ne,de;let K=o;if(o==="class"&&(K=".%s"),o==="data"&&(K="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(K=`[${o}="%s"]`),I){if(K==="media")return r.defaultColorScheme===I?":root":{[`@media (prefers-color-scheme: ${((de=(ne=d[I])==null?void 0:ne.palette)==null?void 0:de.mode)||I})`]:{":root":B}};if(K)return r.defaultColorScheme===I?`:root, ${K.replace("%s",String(I))}`:K.replace("%s",String(I))}return":root"}return{vars:S,generateThemeVars:()=>{let I={...x};return Object.entries(k).forEach(([,{vars:B}])=>{I=oa(I,B)}),I},generateStyleSheets:()=>{var we,Ue;const I=[],B=r.defaultColorScheme||"light";function K(_e,b){Object.keys(b).length&&I.push(typeof _e=="string"?{[_e]:{...b}}:_e)}K(l(void 0,{...N}),N);const{[B]:ne,...de}=k;if(ne){const{css:_e}=ne,b=(Ue=(we=d[B])==null?void 0:we.palette)==null?void 0:Ue.mode,F=!s&&b?{colorScheme:b,..._e}:{..._e};K(l(B,{...F}),F)}return Object.entries(de).forEach(([_e,{css:b}])=>{var se,Z;const F=(Z=(se=d[_e])==null?void 0:se.palette)==null?void 0:Z.mode,X=!s&&F?{colorScheme:F,...b}:{...b};K(l(_e,{...X}),X)}),f&&I.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),I}}}function TS(r){return function(l){return r==="media"?`@media (prefers-color-scheme: ${l})`:r?r.startsWith("data-")&&!r.includes("%s")?`[${r}="${l}"] &`:r==="class"?`.${l} &`:r==="data"?`[data-${l}] &`:`${r.replace("%s",l)} &`:"&"}}const ol={black:"#000",white:"#fff"},OS={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Fn={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Qn={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},ul={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Xn={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Kn={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Jn={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function bp(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ol.white,default:ol.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const vp=bp();function xp(){return{text:{primary:ol.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ol.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Sc=xp();function Np(r,n,l,s){const o=s.light||s,f=s.dark||s*1.5;r[n]||(r.hasOwnProperty(l)?r[n]=r[l]:n==="light"?r.light=Zs(r.main,o):n==="dark"&&(r.dark=Gs(r.main,f)))}function Sp(r,n,l,s,o){const f=o.light||o,d=o.dark||o*1.5;n[l]||(n.hasOwnProperty(s)?n[l]=n[s]:l==="light"?n.light=`color-mix(in ${r}, ${n.main}, #fff ${(f*100).toFixed(0)}%)`:l==="dark"&&(n.dark=`color-mix(in ${r}, ${n.main}, #000 ${(d*100).toFixed(0)}%)`))}function RS(r="light"){return r==="dark"?{main:Xn[200],light:Xn[50],dark:Xn[400]}:{main:Xn[700],light:Xn[400],dark:Xn[800]}}function MS(r="light"){return r==="dark"?{main:Fn[200],light:Fn[50],dark:Fn[400]}:{main:Fn[500],light:Fn[300],dark:Fn[700]}}function zS(r="light"){return r==="dark"?{main:Qn[500],light:Qn[300],dark:Qn[700]}:{main:Qn[700],light:Qn[400],dark:Qn[800]}}function kS(r="light"){return r==="dark"?{main:Kn[400],light:Kn[300],dark:Kn[700]}:{main:Kn[700],light:Kn[500],dark:Kn[900]}}function jS(r="light"){return r==="dark"?{main:Jn[400],light:Jn[300],dark:Jn[700]}:{main:Jn[800],light:Jn[500],dark:Jn[900]}}function VS(r="light"){return r==="dark"?{main:ul[400],light:ul[300],dark:ul[700]}:{main:"#ed6c02",light:ul[500],dark:ul[900]}}function BS(r){return`oklch(from ${r} var(--__l) 0 h / var(--__a))`}function _c(r){const{mode:n="light",contrastThreshold:l=3,tonalOffset:s=.2,colorSpace:o,...f}=r,d=r.primary||RS(n),h=r.secondary||MS(n),y=r.error||zS(n),p=r.info||kS(n),x=r.success||jS(n),N=r.warning||VS(n);function C(q){return o?BS(q):vS(q,Sc.text.primary)>=l?Sc.text.primary:vp.text.primary}const S=({color:q,name:te,mainShade:Q=500,lightShade:le=300,darkShade:I=700})=>{if(q={...q},!q.main&&q[Q]&&(q.main=q[Q]),!q.hasOwnProperty("main"))throw new Error(on(11,te?` (${te})`:"",Q));if(typeof q.main!="string")throw new Error(on(12,te?` (${te})`:"",JSON.stringify(q.main)));return o?(Sp(o,q,"light",le,s),Sp(o,q,"dark",I,s)):(Np(q,"light",le,s),Np(q,"dark",I,s)),q.contrastText||(q.contrastText=C(q.main)),q};let k;return n==="light"?k=bp():n==="dark"&&(k=xp()),oa({common:{...ol},mode:n,primary:S({color:d,name:"primary"}),secondary:S({color:h,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:S({color:y,name:"error"}),warning:S({color:N,name:"warning"}),info:S({color:p,name:"info"}),success:S({color:x,name:"success"}),grey:OS,contrastThreshold:l,getContrastText:C,augmentColor:S,tonalOffset:s,...k},f)}function US(r){const n={};return Object.entries(r).forEach(s=>{const[o,f]=s;typeof f=="object"&&(n[o]=`${f.fontStyle?`${f.fontStyle} `:""}${f.fontVariant?`${f.fontVariant} `:""}${f.fontWeight?`${f.fontWeight} `:""}${f.fontStretch?`${f.fontStretch} `:""}${f.fontSize||""}${f.lineHeight?`/${f.lineHeight} `:""}${f.fontFamily||""}`)}),n}function LS(r,n){return{toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...n}}function qS(r){return Math.round(r*1e5)/1e5}const _p={textTransform:"uppercase"},Cp='"Roboto", "Helvetica", "Arial", sans-serif';function HS(r,n){const{fontFamily:l=Cp,fontSize:s=14,fontWeightLight:o=300,fontWeightRegular:f=400,fontWeightMedium:d=500,fontWeightBold:h=700,htmlFontSize:y=16,allVariants:p,pxToRem:x,...N}=typeof n=="function"?n(r):n,C=s/14,S=x||(q=>`${q/y*C}rem`),k=(q,te,Q,le,I)=>({fontFamily:l,fontWeight:q,fontSize:S(te),lineHeight:Q,...l===Cp?{letterSpacing:`${qS(le/te)}em`}:{},...I,...p}),w={h1:k(o,96,1.167,-1.5),h2:k(o,60,1.2,-.5),h3:k(f,48,1.167,0),h4:k(f,34,1.235,.25),h5:k(f,24,1.334,0),h6:k(d,20,1.6,.15),subtitle1:k(f,16,1.75,.15),subtitle2:k(d,14,1.57,.1),body1:k(f,16,1.5,.15),body2:k(f,14,1.43,.15),button:k(d,14,1.75,.4,_p),caption:k(f,12,1.66,.4),overline:k(f,12,2.66,1,_p),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oa({htmlFontSize:y,pxToRem:S,fontFamily:l,fontSize:s,fontWeightLight:o,fontWeightRegular:f,fontWeightMedium:d,fontWeightBold:h,...w},N,{clone:!1})}const GS=.2,ZS=.14,YS=.12;function ot(...r){return[`${r[0]}px ${r[1]}px ${r[2]}px ${r[3]}px rgba(0,0,0,${GS})`,`${r[4]}px ${r[5]}px ${r[6]}px ${r[7]}px rgba(0,0,0,${ZS})`,`${r[8]}px ${r[9]}px ${r[10]}px ${r[11]}px rgba(0,0,0,${YS})`].join(",")}const $S=["none",ot(0,2,1,-1,0,1,1,0,0,1,3,0),ot(0,3,1,-2,0,2,2,0,0,1,5,0),ot(0,3,3,-2,0,3,4,0,0,1,8,0),ot(0,2,4,-1,0,4,5,0,0,1,10,0),ot(0,3,5,-1,0,5,8,0,0,1,14,0),ot(0,3,5,-1,0,6,10,0,0,1,18,0),ot(0,4,5,-2,0,7,10,1,0,2,16,1),ot(0,5,5,-3,0,8,10,1,0,3,14,2),ot(0,5,6,-3,0,9,12,1,0,3,16,2),ot(0,6,6,-3,0,10,14,1,0,4,18,3),ot(0,6,7,-4,0,11,15,1,0,4,20,3),ot(0,7,8,-4,0,12,17,2,0,5,22,4),ot(0,7,8,-4,0,13,19,2,0,5,24,4),ot(0,7,9,-4,0,14,21,2,0,5,26,4),ot(0,8,9,-5,0,15,22,2,0,6,28,5),ot(0,8,10,-5,0,16,24,2,0,6,30,5),ot(0,8,11,-5,0,17,26,2,0,6,32,5),ot(0,9,11,-5,0,18,28,2,0,7,34,6),ot(0,9,12,-6,0,19,29,2,0,7,36,6),ot(0,10,13,-6,0,20,31,3,0,8,38,7),ot(0,10,13,-6,0,21,33,3,0,8,40,7),ot(0,10,14,-6,0,22,35,3,0,8,42,7),ot(0,11,14,-7,0,23,36,3,0,9,44,8),ot(0,11,15,-7,0,24,38,3,0,9,46,8)],FS={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},QS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ep(r){return`${Math.round(r)}ms`}function XS(r){if(!r)return 0;const n=r/36;return Math.min(Math.round((4+15*n**.25+n/5)*10),3e3)}function KS(r){const n={...FS,...r.easing},l={...QS,...r.duration};return{getAutoHeightDuration:XS,create:(o=["all"],f={})=>{const{duration:d=l.standard,easing:h=n.easeInOut,delay:y=0,...p}=f;return(Array.isArray(o)?o:[o]).map(x=>`${x} ${typeof d=="string"?d:Ep(d)} ${h} ${typeof y=="string"?y:Ep(y)}`).join(",")},...r,easing:n,duration:l}}const JS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function IS(r){return er(r)||typeof r>"u"||typeof r=="string"||typeof r=="boolean"||typeof r=="number"||Array.isArray(r)}function wp(r={}){const n={...r};function l(s){const o=Object.entries(s);for(let f=0;f<o.length;f++){const[d,h]=o[f];!IS(h)||d.startsWith("unstable_")?delete s[d]:er(h)&&(s[d]={...h},l(s[d]))}}return l(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
472
122
 
473
- const theme = ${JSON.stringify(u,null,2)};
123
+ const theme = ${JSON.stringify(n,null,2)};
474
124
 
475
125
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
476
126
  theme.transitions = createTransitions(theme.transitions || {});
477
127
 
478
- export default theme;`}function rN(r){return typeof r=="number"?`${(r*100).toFixed(0)}%`:`calc((${r}) * 100%)`}const r4=r=>{if(!Number.isNaN(+r))return+r;const u=r.match(/\d*\.?\d+/g);if(!u)return 0;let s=0;for(let d=0;d<u.length;d+=1)s+=+u[d];return s};function i4(r){Object.assign(r,{alpha(u,s){const d=this||r;return d.colorSpace?`oklch(from ${u} l c h / ${typeof s=="string"?`calc(${s})`:s})`:d.vars?`rgba(${u.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof s=="string"?`calc(${s})`:s})`:QC(u,r4(s))},lighten(u,s){const d=this||r;return d.colorSpace?`color-mix(in ${d.colorSpace}, ${u}, #fff ${rN(s)})`:$b(u,s)},darken(u,s){const d=this||r;return d.colorSpace?`color-mix(in ${d.colorSpace}, ${u}, #000 ${rN(s)})`:Gb(u,s)}})}function _x(r={},...u){const{breakpoints:s,mixins:d={},spacing:h,palette:y={},transitions:b={},typography:E={},shape:N,colorSpace:C,...U}=r;if(r.vars&&r.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Qf(20));const A=xx({...y,colorSpace:C}),R=kC(r);let z=Vr(R,{mixins:X3(R.breakpoints,d),palette:A,shadows:P3.slice(),typography:J3(A,E),transitions:n4(b),zIndex:{...a4}});if(z=Vr(z,U),z=u.reduce((Q,j)=>Vr(Q,j),z),process.env.NODE_ENV!=="production"){const Q=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],j=(F,fe)=>{let ge;for(ge in F){const De=F[ge];if(Q.includes(ge)&&Object.keys(De).length>0){if(process.env.NODE_ENV!=="production"){const pe=px("",ge);console.error([`MUI: The \`${fe}\` component increases the CSS specificity of the \`${ge}\` internal state.`,"You can not override it like this: ",JSON.stringify(F,null,2),"",`Instead, you need to use the '&.${pe}' syntax:`,JSON.stringify({root:{[`&.${pe}`]:De}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
479
- `))}F[ge]={}}}};Object.keys(z.components).forEach(F=>{const fe=z.components[F].styleOverrides;fe&&F.startsWith("Mui")&&j(fe,F)})}return z.unstable_sxConfig={...Lb,...U==null?void 0:U.unstable_sxConfig},z.unstable_sx=function(j){return Fm({sx:j,theme:this})},z.toRuntimeSource=lN,i4(z),z}function o4(r){let u;return r<1?u=5.11916*r**2:u=4.5*Math.log(r+1)+2,Math.round(u*10)/1e3}const u4=[...Array(25)].map((r,u)=>{if(u===0)return"none";const s=o4(u);return`linear-gradient(rgba(255 255 255 / ${s}), rgba(255 255 255 / ${s}))`});function iN(r){return{inputPlaceholder:r==="dark"?.5:.42,inputUnderline:r==="dark"?.7:.42,switchTrackDisabled:r==="dark"?.2:.12,switchTrack:r==="dark"?.3:.38}}function oN(r){return r==="dark"?u4:[]}function s4(r){const{palette:u={mode:"light"},opacity:s,overlays:d,colorSpace:h,...y}=r,b=xx({...u,colorSpace:h});return{palette:b,opacity:{...iN(b.mode),...s},overlays:d||oN(b.mode),...y}}function c4(r){var u;return!!r[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!r[0].match(/sxConfig$/)||r[0]==="palette"&&!!((u=r[1])!=null&&u.match(/(mode|contrastThreshold|tonalOffset)/))}const f4=r=>[...[...Array(25)].map((u,s)=>`--${r?`${r}-`:""}overlays-${s}`),`--${r?`${r}-`:""}palette-AppBar-darkBg`,`--${r?`${r}-`:""}palette-AppBar-darkColor`],d4=r=>(u,s)=>{const d=r.rootSelector||":root",h=r.colorSchemeSelector;let y=h;if(h==="class"&&(y=".%s"),h==="data"&&(y="[data-%s]"),h!=null&&h.startsWith("data-")&&!h.includes("%s")&&(y=`[${h}="%s"]`),r.defaultColorScheme===u){if(u==="dark"){const b={};return f4(r.cssVarPrefix).forEach(E=>{b[E]=s[E],delete s[E]}),y==="media"?{[d]:s,"@media (prefers-color-scheme: dark)":{[d]:b}}:y?{[y.replace("%s",u)]:b,[`${d}, ${y.replace("%s",u)}`]:s}:{[d]:{...s,...b}}}if(y&&y!=="media")return`${d}, ${y.replace("%s",String(u))}`}else if(u){if(y==="media")return{[`@media (prefers-color-scheme: ${String(u)})`]:{[d]:s}};if(y)return y.replace("%s",String(u))}return d};function m4(r,u){u.forEach(s=>{r[s]||(r[s]={})})}function Ee(r,u,s){!r[u]&&s&&(r[u]=s)}function Ky(r){return typeof r!="string"||!r.startsWith("hsl")?r:ZC(r)}function $u(r,u){`${u}Channel`in r||(r[`${u}Channel`]=Xy(Ky(r[u]),`MUI: Can't create \`palette.${u}Channel\` because \`palette.${u}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
480
- To suppress this warning, you need to explicitly provide the \`palette.${u}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function h4(r){return typeof r=="number"?`${r}px`:typeof r=="string"||typeof r=="function"||Array.isArray(r)?r:"8px"}const Fo=r=>{try{return r()}catch{}},p4=(r="mui")=>M3(r);function Tx(r,u,s,d,h){if(!s)return;s=s===!0?{}:s;const y=h==="dark"?"dark":"light";if(!d){u[h]=s4({...s,palette:{mode:y,...s==null?void 0:s.palette},colorSpace:r});return}const{palette:b,...E}=_x({...d,palette:{mode:y,...s==null?void 0:s.palette},colorSpace:r});return u[h]={...s,palette:b,opacity:{...iN(y),...s==null?void 0:s.opacity},overlays:(s==null?void 0:s.overlays)||oN(y)},E}function y4(r={},...u){const{colorSchemes:s={light:!0},defaultColorScheme:d,disableCssColorScheme:h=!1,cssVarPrefix:y="mui",nativeColor:b=!1,shouldSkipGeneratingVar:E=c4,colorSchemeSelector:N=s.light&&s.dark?"media":void 0,rootSelector:C=":root",...U}=r,A=Object.keys(s)[0],R=d||(s.light&&A!=="light"?"light":A),z=p4(y),{[R]:Q,light:j,dark:F,...fe}=s,ge={...fe};let De=Q;if((R==="dark"&&!("dark"in s)||R==="light"&&!("light"in s))&&(De=!0),!De)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${R}\` option is either missing or invalid.`:Qf(21,R));let pe;b&&(pe="oklch");const $=Tx(pe,ge,De,U,R);j&&!ge.light&&Tx(pe,ge,j,void 0,"light"),F&&!ge.dark&&Tx(pe,ge,F,void 0,"dark");let xe={defaultColorScheme:R,...$,cssVarPrefix:y,colorSchemeSelector:N,rootSelector:C,getCssVar:z,colorSchemes:ge,font:{...Z3($.typography),...$.font},spacing:h4(U.spacing)};Object.keys(xe.colorSchemes).forEach($e=>{const M=xe.colorSchemes[$e].palette,ue=ze=>{const V=ze.split("-"),ne=V[1],be=V[2];return z(ze,M[ne][be])};M.mode==="light"&&(Ee(M.common,"background","#fff"),Ee(M.common,"onBackground","#000")),M.mode==="dark"&&(Ee(M.common,"background","#000"),Ee(M.common,"onBackground","#fff"));function ye(ze,V,ne){if(pe){let be;return ze===If&&(be=`transparent ${((1-ne)*100).toFixed(0)}%`),ze===En&&(be=`#000 ${(ne*100).toFixed(0)}%`),ze===xn&&(be=`#fff ${(ne*100).toFixed(0)}%`),`color-mix(in ${pe}, ${V}, ${be})`}return ze(V,ne)}if(m4(M,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),M.mode==="light"){Ee(M.Alert,"errorColor",ye(En,b?z("palette-error-light"):M.error.light,.6)),Ee(M.Alert,"infoColor",ye(En,b?z("palette-info-light"):M.info.light,.6)),Ee(M.Alert,"successColor",ye(En,b?z("palette-success-light"):M.success.light,.6)),Ee(M.Alert,"warningColor",ye(En,b?z("palette-warning-light"):M.warning.light,.6)),Ee(M.Alert,"errorFilledBg",ue("palette-error-main")),Ee(M.Alert,"infoFilledBg",ue("palette-info-main")),Ee(M.Alert,"successFilledBg",ue("palette-success-main")),Ee(M.Alert,"warningFilledBg",ue("palette-warning-main")),Ee(M.Alert,"errorFilledColor",Fo(()=>M.getContrastText(M.error.main))),Ee(M.Alert,"infoFilledColor",Fo(()=>M.getContrastText(M.info.main))),Ee(M.Alert,"successFilledColor",Fo(()=>M.getContrastText(M.success.main))),Ee(M.Alert,"warningFilledColor",Fo(()=>M.getContrastText(M.warning.main))),Ee(M.Alert,"errorStandardBg",ye(xn,b?z("palette-error-light"):M.error.light,.9)),Ee(M.Alert,"infoStandardBg",ye(xn,b?z("palette-info-light"):M.info.light,.9)),Ee(M.Alert,"successStandardBg",ye(xn,b?z("palette-success-light"):M.success.light,.9)),Ee(M.Alert,"warningStandardBg",ye(xn,b?z("palette-warning-light"):M.warning.light,.9)),Ee(M.Alert,"errorIconColor",ue("palette-error-main")),Ee(M.Alert,"infoIconColor",ue("palette-info-main")),Ee(M.Alert,"successIconColor",ue("palette-success-main")),Ee(M.Alert,"warningIconColor",ue("palette-warning-main")),Ee(M.AppBar,"defaultBg",ue("palette-grey-100")),Ee(M.Avatar,"defaultBg",ue("palette-grey-400")),Ee(M.Button,"inheritContainedBg",ue("palette-grey-300")),Ee(M.Button,"inheritContainedHoverBg",ue("palette-grey-A100")),Ee(M.Chip,"defaultBorder",ue("palette-grey-400")),Ee(M.Chip,"defaultAvatarColor",ue("palette-grey-700")),Ee(M.Chip,"defaultIconColor",ue("palette-grey-700")),Ee(M.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ee(M.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ee(M.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ee(M.LinearProgress,"primaryBg",ye(xn,b?z("palette-primary-main"):M.primary.main,.62)),Ee(M.LinearProgress,"secondaryBg",ye(xn,b?z("palette-secondary-main"):M.secondary.main,.62)),Ee(M.LinearProgress,"errorBg",ye(xn,b?z("palette-error-main"):M.error.main,.62)),Ee(M.LinearProgress,"infoBg",ye(xn,b?z("palette-info-main"):M.info.main,.62)),Ee(M.LinearProgress,"successBg",ye(xn,b?z("palette-success-main"):M.success.main,.62)),Ee(M.LinearProgress,"warningBg",ye(xn,b?z("palette-warning-light"):M.warning.main,.62)),Ee(M.Skeleton,"bg",pe?ye(If,b?z("palette-text-primary"):M.text.primary,.11):`rgba(${ue("palette-text-primaryChannel")} / 0.11)`),Ee(M.Slider,"primaryTrack",ye(xn,b?z("palette-primary-main"):M.primary.main,.62)),Ee(M.Slider,"secondaryTrack",ye(xn,b?z("palette-secondary-main"):M.secondary.main,.62)),Ee(M.Slider,"errorTrack",ye(xn,b?z("palette-error-main"):M.error.main,.62)),Ee(M.Slider,"infoTrack",ye(xn,b?z("palette-info-main"):M.info.main,.62)),Ee(M.Slider,"successTrack",ye(xn,b?z("palette-success-main"):M.success.main,.62)),Ee(M.Slider,"warningTrack",ye(xn,b?z("palette-warning-main"):M.warning.main,.62));const ze=pe?ye(En,b?z("palette-background-default"):M.background.default,.6825):Zb(M.background.default,.8);Ee(M.SnackbarContent,"bg",ze),Ee(M.SnackbarContent,"color",Fo(()=>pe?Ex.text.primary:M.getContrastText(ze))),Ee(M.SpeedDialAction,"fabHoverBg",Zb(M.background.paper,.15)),Ee(M.StepConnector,"border",ue("palette-grey-400")),Ee(M.StepContent,"border",ue("palette-grey-400")),Ee(M.Switch,"defaultColor",ue("palette-common-white")),Ee(M.Switch,"defaultDisabledColor",ue("palette-grey-100")),Ee(M.Switch,"primaryDisabledColor",ye(xn,b?z("palette-primary-main"):M.primary.main,.62)),Ee(M.Switch,"secondaryDisabledColor",ye(xn,b?z("palette-secondary-main"):M.secondary.main,.62)),Ee(M.Switch,"errorDisabledColor",ye(xn,b?z("palette-error-main"):M.error.main,.62)),Ee(M.Switch,"infoDisabledColor",ye(xn,b?z("palette-info-main"):M.info.main,.62)),Ee(M.Switch,"successDisabledColor",ye(xn,b?z("palette-success-main"):M.success.main,.62)),Ee(M.Switch,"warningDisabledColor",ye(xn,b?z("palette-warning-main"):M.warning.main,.62)),Ee(M.TableCell,"border",ye(xn,If(b?z("palette-divider"):M.divider,1),.88)),Ee(M.Tooltip,"bg",ye(If,b?z("palette-grey-700"):M.grey[700],.92))}if(M.mode==="dark"){Ee(M.Alert,"errorColor",ye(xn,b?z("palette-error-light"):M.error.light,.6)),Ee(M.Alert,"infoColor",ye(xn,b?z("palette-info-light"):M.info.light,.6)),Ee(M.Alert,"successColor",ye(xn,b?z("palette-success-light"):M.success.light,.6)),Ee(M.Alert,"warningColor",ye(xn,b?z("palette-warning-light"):M.warning.light,.6)),Ee(M.Alert,"errorFilledBg",ue("palette-error-dark")),Ee(M.Alert,"infoFilledBg",ue("palette-info-dark")),Ee(M.Alert,"successFilledBg",ue("palette-success-dark")),Ee(M.Alert,"warningFilledBg",ue("palette-warning-dark")),Ee(M.Alert,"errorFilledColor",Fo(()=>M.getContrastText(M.error.dark))),Ee(M.Alert,"infoFilledColor",Fo(()=>M.getContrastText(M.info.dark))),Ee(M.Alert,"successFilledColor",Fo(()=>M.getContrastText(M.success.dark))),Ee(M.Alert,"warningFilledColor",Fo(()=>M.getContrastText(M.warning.dark))),Ee(M.Alert,"errorStandardBg",ye(En,b?z("palette-error-light"):M.error.light,.9)),Ee(M.Alert,"infoStandardBg",ye(En,b?z("palette-info-light"):M.info.light,.9)),Ee(M.Alert,"successStandardBg",ye(En,b?z("palette-success-light"):M.success.light,.9)),Ee(M.Alert,"warningStandardBg",ye(En,b?z("palette-warning-light"):M.warning.light,.9)),Ee(M.Alert,"errorIconColor",ue("palette-error-main")),Ee(M.Alert,"infoIconColor",ue("palette-info-main")),Ee(M.Alert,"successIconColor",ue("palette-success-main")),Ee(M.Alert,"warningIconColor",ue("palette-warning-main")),Ee(M.AppBar,"defaultBg",ue("palette-grey-900")),Ee(M.AppBar,"darkBg",ue("palette-background-paper")),Ee(M.AppBar,"darkColor",ue("palette-text-primary")),Ee(M.Avatar,"defaultBg",ue("palette-grey-600")),Ee(M.Button,"inheritContainedBg",ue("palette-grey-800")),Ee(M.Button,"inheritContainedHoverBg",ue("palette-grey-700")),Ee(M.Chip,"defaultBorder",ue("palette-grey-700")),Ee(M.Chip,"defaultAvatarColor",ue("palette-grey-300")),Ee(M.Chip,"defaultIconColor",ue("palette-grey-300")),Ee(M.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ee(M.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ee(M.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ee(M.LinearProgress,"primaryBg",ye(En,b?z("palette-primary-main"):M.primary.main,.5)),Ee(M.LinearProgress,"secondaryBg",ye(En,b?z("palette-secondary-main"):M.secondary.main,.5)),Ee(M.LinearProgress,"errorBg",ye(En,b?z("palette-error-main"):M.error.main,.5)),Ee(M.LinearProgress,"infoBg",ye(En,b?z("palette-info-main"):M.info.main,.5)),Ee(M.LinearProgress,"successBg",ye(En,b?z("palette-success-main"):M.success.main,.5)),Ee(M.LinearProgress,"warningBg",ye(En,b?z("palette-warning-main"):M.warning.main,.5)),Ee(M.Skeleton,"bg",pe?ye(If,b?z("palette-text-primary"):M.text.primary,.13):`rgba(${ue("palette-text-primaryChannel")} / 0.13)`),Ee(M.Slider,"primaryTrack",ye(En,b?z("palette-primary-main"):M.primary.main,.5)),Ee(M.Slider,"secondaryTrack",ye(En,b?z("palette-secondary-main"):M.secondary.main,.5)),Ee(M.Slider,"errorTrack",ye(En,b?z("palette-error-main"):M.error.main,.5)),Ee(M.Slider,"infoTrack",ye(En,b?z("palette-info-main"):M.info.main,.5)),Ee(M.Slider,"successTrack",ye(En,b?z("palette-success-main"):M.success.main,.5)),Ee(M.Slider,"warningTrack",ye(En,b?z("palette-warning-light"):M.warning.main,.5));const ze=pe?ye(xn,b?z("palette-background-default"):M.background.default,.985):Zb(M.background.default,.98);Ee(M.SnackbarContent,"bg",ze),Ee(M.SnackbarContent,"color",Fo(()=>pe?IC.text.primary:M.getContrastText(ze))),Ee(M.SpeedDialAction,"fabHoverBg",Zb(M.background.paper,.15)),Ee(M.StepConnector,"border",ue("palette-grey-600")),Ee(M.StepContent,"border",ue("palette-grey-600")),Ee(M.Switch,"defaultColor",ue("palette-grey-300")),Ee(M.Switch,"defaultDisabledColor",ue("palette-grey-600")),Ee(M.Switch,"primaryDisabledColor",ye(En,b?z("palette-primary-main"):M.primary.main,.55)),Ee(M.Switch,"secondaryDisabledColor",ye(En,b?z("palette-secondary-main"):M.secondary.main,.55)),Ee(M.Switch,"errorDisabledColor",ye(En,b?z("palette-error-main"):M.error.main,.55)),Ee(M.Switch,"infoDisabledColor",ye(En,b?z("palette-info-main"):M.info.main,.55)),Ee(M.Switch,"successDisabledColor",ye(En,b?z("palette-success-main"):M.success.main,.55)),Ee(M.Switch,"warningDisabledColor",ye(En,b?z("palette-warning-light"):M.warning.main,.55)),Ee(M.TableCell,"border",ye(En,If(b?z("palette-divider"):M.divider,1),.68)),Ee(M.Tooltip,"bg",ye(If,b?z("palette-grey-700"):M.grey[700],.92))}$u(M.background,"default"),$u(M.background,"paper"),$u(M.common,"background"),$u(M.common,"onBackground"),$u(M,"divider"),Object.keys(M).forEach(ze=>{const V=M[ze];ze!=="tonalOffset"&&V&&typeof V=="object"&&(V.main&&Ee(M[ze],"mainChannel",Xy(Ky(V.main))),V.light&&Ee(M[ze],"lightChannel",Xy(Ky(V.light))),V.dark&&Ee(M[ze],"darkChannel",Xy(Ky(V.dark))),V.contrastText&&Ee(M[ze],"contrastTextChannel",Xy(Ky(V.contrastText))),ze==="text"&&($u(M[ze],"primary"),$u(M[ze],"secondary")),ze==="action"&&(V.active&&$u(M[ze],"active"),V.selected&&$u(M[ze],"selected")))})}),xe=u.reduce(($e,M)=>Vr($e,M),xe);const Te={prefix:y,disableCssColorScheme:h,shouldSkipGeneratingVar:E,getSelector:d4(xe),enableContrastVars:b},{vars:Le,generateThemeVars:Pe,generateStyleSheets:we}=U3(xe,Te);return xe.vars=Le,Object.entries(xe.colorSchemes[xe.defaultColorScheme]).forEach(([$e,M])=>{xe[$e]=M}),xe.generateThemeVars=Pe,xe.generateStyleSheets=we,xe.generateSpacing=function(){return BC(U.spacing,mx(this))},xe.getColorSchemeSelector=V3(N),xe.spacing=xe.generateSpacing(),xe.shouldSkipGeneratingVar=E,xe.unstable_sxConfig={...Lb,...U==null?void 0:U.unstable_sxConfig},xe.unstable_sx=function(M){return Fm({sx:M,theme:this})},xe.toRuntimeSource=lN,xe}function uN(r,u,s){r.colorSchemes&&s&&(r.colorSchemes[u]={...s!==!0&&s,palette:xx({...s===!0?{}:s.palette,mode:u})})}function g4(r={},...u){const{palette:s,cssVariables:d=!1,colorSchemes:h=s?void 0:{light:!0},defaultColorScheme:y=s==null?void 0:s.mode,...b}=r,E=y||"light",N=h==null?void 0:h[E],C={...h,...s?{[E]:{...typeof N!="boolean"&&N,palette:s}}:void 0};if(d===!1){if(!("colorSchemes"in r))return _x(r,...u);let U=s;"palette"in r||C[E]&&(C[E]!==!0?U=C[E].palette:E==="dark"&&(U={mode:"dark"}));const A=_x({...r,palette:U},...u);return A.defaultColorScheme=E,A.colorSchemes=C,A.palette.mode==="light"&&(A.colorSchemes.light={...C.light!==!0&&C.light,palette:A.palette},uN(A,"dark",C.dark)),A.palette.mode==="dark"&&(A.colorSchemes.dark={...C.dark!==!0&&C.dark,palette:A.palette},uN(A,"light",C.light)),A}return!s&&!("light"in C)&&E==="light"&&(C.light=!0),y4({...b,colorSchemes:C,defaultColorScheme:E,...typeof d!="boolean"&&d},...u)}function v4(r){return String(r).match(/[\d.\-+]*\s*(.*)/)[1]||""}function b4(r){return parseFloat(r)}const S4=g4();function E4(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}const x4=b3({themeId:YO,defaultTheme:S4,rootShouldForwardProp:r=>E4(r)&&r!=="classes"}),_4=w3;process.env.NODE_ENV!=="production"&&(nn.node,nn.object.isRequired);function T4(r){return O3(r)}function C4(r){return px("MuiSkeleton",r)}h3("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const N4=r=>{const{classes:u,variant:s,animation:d,hasChildren:h,width:y,height:b}=r;return qO({root:["root",s,d,h&&"withChildren",h&&!y&&"fitContent",h&&!b&&"heightAuto"]},C4,u)},Cx=gC`
128
+ export default theme;`}function Dp(r){return typeof r=="number"?`${(r*100).toFixed(0)}%`:`calc((${r}) * 100%)`}const PS=r=>{if(!Number.isNaN(+r))return+r;const n=r.match(/\d*\.?\d+/g);if(!n)return 0;let l=0;for(let s=0;s<n.length;s+=1)l+=+n[s];return l};function WS(r){Object.assign(r,{alpha(n,l){const s=this||r;return s.colorSpace?`oklch(from ${n} l c h / ${typeof l=="string"?`calc(${l})`:l})`:s.vars?`rgba(${n.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof l=="string"?`calc(${l})`:l})`:pp(n,PS(l))},lighten(n,l){const s=this||r;return s.colorSpace?`color-mix(in ${s.colorSpace}, ${n}, #fff ${Dp(l)})`:Zs(n,l)},darken(n,l){const s=this||r;return s.colorSpace?`color-mix(in ${s.colorSpace}, ${n}, #000 ${Dp(l)})`:Gs(n,l)}})}function Cc(r={},...n){const{breakpoints:l,mixins:s={},spacing:o,palette:f={},transitions:d={},typography:h={},shape:y,colorSpace:p,...x}=r;if(r.vars&&r.generateThemeVars===void 0)throw new Error(on(20));const N=_c({...f,colorSpace:p}),C=up(r);let S=oa(C,{mixins:LS(C.breakpoints,s),palette:N,shadows:$S.slice(),typography:HS(N,h),transitions:KS(d),zIndex:{...JS}});return S=oa(S,x),S=n.reduce((k,w)=>oa(k,w),S),S.unstable_sxConfig={...Ls,...x==null?void 0:x.unstable_sxConfig},S.unstable_sx=function(w){return $n({sx:w,theme:this})},S.toRuntimeSource=wp,WS(S),S}function e_(r){let n;return r<1?n=5.11916*r**2:n=4.5*Math.log(r+1)+2,Math.round(n*10)/1e3}const t_=[...Array(25)].map((r,n)=>{if(n===0)return"none";const l=e_(n);return`linear-gradient(rgba(255 255 255 / ${l}), rgba(255 255 255 / ${l}))`});function Ap(r){return{inputPlaceholder:r==="dark"?.5:.42,inputUnderline:r==="dark"?.7:.42,switchTrackDisabled:r==="dark"?.2:.12,switchTrack:r==="dark"?.3:.38}}function Tp(r){return r==="dark"?t_:[]}function a_(r){const{palette:n={mode:"light"},opacity:l,overlays:s,colorSpace:o,...f}=r,d=_c({...n,colorSpace:o});return{palette:d,opacity:{...Ap(d.mode),...l},overlays:s||Tp(d.mode),...f}}function r_(r){var n;return!!r[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!r[0].match(/sxConfig$/)||r[0]==="palette"&&!!((n=r[1])!=null&&n.match(/(mode|contrastThreshold|tonalOffset)/))}const n_=r=>[...[...Array(25)].map((n,l)=>`--${r?`${r}-`:""}overlays-${l}`),`--${r?`${r}-`:""}palette-AppBar-darkBg`,`--${r?`${r}-`:""}palette-AppBar-darkColor`],i_=r=>(n,l)=>{const s=r.rootSelector||":root",o=r.colorSchemeSelector;let f=o;if(o==="class"&&(f=".%s"),o==="data"&&(f="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(f=`[${o}="%s"]`),r.defaultColorScheme===n){if(n==="dark"){const d={};return n_(r.cssVarPrefix).forEach(h=>{d[h]=l[h],delete l[h]}),f==="media"?{[s]:l,"@media (prefers-color-scheme: dark)":{[s]:d}}:f?{[f.replace("%s",n)]:d,[`${s}, ${f.replace("%s",n)}`]:l}:{[s]:{...l,...d}}}if(f&&f!=="media")return`${s}, ${f.replace("%s",String(n))}`}else if(n){if(f==="media")return{[`@media (prefers-color-scheme: ${String(n)})`]:{[s]:l}};if(f)return f.replace("%s",String(n))}return s};function l_(r,n){n.forEach(l=>{r[l]||(r[l]={})})}function U(r,n,l){!r[n]&&l&&(r[n]=l)}function cl(r){return typeof r!="string"||!r.startsWith("hsl")?r:hp(r)}function ar(r,n){`${n}Channel`in r||(r[`${n}Channel`]=sl(cl(r[n])))}function s_(r){return typeof r=="number"?`${r}px`:typeof r=="string"||typeof r=="function"||Array.isArray(r)?r:"8px"}const $a=r=>{try{return r()}catch{}},o_=(r="mui")=>ES(r);function Ec(r,n,l,s,o){if(!l)return;l=l===!0?{}:l;const f=o==="dark"?"dark":"light";if(!s){n[o]=a_({...l,palette:{mode:f,...l==null?void 0:l.palette},colorSpace:r});return}const{palette:d,...h}=Cc({...s,palette:{mode:f,...l==null?void 0:l.palette},colorSpace:r});return n[o]={...l,palette:d,opacity:{...Ap(f),...l==null?void 0:l.opacity},overlays:(l==null?void 0:l.overlays)||Tp(f)},h}function u_(r={},...n){const{colorSchemes:l={light:!0},defaultColorScheme:s,disableCssColorScheme:o=!1,cssVarPrefix:f="mui",nativeColor:d=!1,shouldSkipGeneratingVar:h=r_,colorSchemeSelector:y=l.light&&l.dark?"media":void 0,rootSelector:p=":root",...x}=r,N=Object.keys(l)[0],C=s||(l.light&&N!=="light"?"light":N),S=o_(f),{[C]:k,light:w,dark:q,...te}=l,Q={...te};let le=k;if((C==="dark"&&!("dark"in l)||C==="light"&&!("light"in l))&&(le=!0),!le)throw new Error(on(21,C));let I;d&&(I="oklch");const B=Ec(I,Q,le,x,C);w&&!Q.light&&Ec(I,Q,w,void 0,"light"),q&&!Q.dark&&Ec(I,Q,q,void 0,"dark");let K={defaultColorScheme:C,...B,cssVarPrefix:f,colorSchemeSelector:y,rootSelector:p,getCssVar:S,colorSchemes:Q,font:{...US(B.typography),...B.font},spacing:s_(x.spacing)};Object.keys(K.colorSchemes).forEach(_e=>{const b=K.colorSchemes[_e].palette,F=se=>{const Z=se.split("-"),H=Z[1],J=Z[2];return S(se,b[H][J])};b.mode==="light"&&(U(b.common,"background","#fff"),U(b.common,"onBackground","#000")),b.mode==="dark"&&(U(b.common,"background","#000"),U(b.common,"onBackground","#fff"));function X(se,Z,H){if(I){let J;return se===dn&&(J=`transparent ${((1-H)*100).toFixed(0)}%`),se===Xe&&(J=`#000 ${(H*100).toFixed(0)}%`),se===Ke&&(J=`#fff ${(H*100).toFixed(0)}%`),`color-mix(in ${I}, ${Z}, ${J})`}return se(Z,H)}if(l_(b,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),b.mode==="light"){U(b.Alert,"errorColor",X(Xe,d?S("palette-error-light"):b.error.light,.6)),U(b.Alert,"infoColor",X(Xe,d?S("palette-info-light"):b.info.light,.6)),U(b.Alert,"successColor",X(Xe,d?S("palette-success-light"):b.success.light,.6)),U(b.Alert,"warningColor",X(Xe,d?S("palette-warning-light"):b.warning.light,.6)),U(b.Alert,"errorFilledBg",F("palette-error-main")),U(b.Alert,"infoFilledBg",F("palette-info-main")),U(b.Alert,"successFilledBg",F("palette-success-main")),U(b.Alert,"warningFilledBg",F("palette-warning-main")),U(b.Alert,"errorFilledColor",$a(()=>b.getContrastText(b.error.main))),U(b.Alert,"infoFilledColor",$a(()=>b.getContrastText(b.info.main))),U(b.Alert,"successFilledColor",$a(()=>b.getContrastText(b.success.main))),U(b.Alert,"warningFilledColor",$a(()=>b.getContrastText(b.warning.main))),U(b.Alert,"errorStandardBg",X(Ke,d?S("palette-error-light"):b.error.light,.9)),U(b.Alert,"infoStandardBg",X(Ke,d?S("palette-info-light"):b.info.light,.9)),U(b.Alert,"successStandardBg",X(Ke,d?S("palette-success-light"):b.success.light,.9)),U(b.Alert,"warningStandardBg",X(Ke,d?S("palette-warning-light"):b.warning.light,.9)),U(b.Alert,"errorIconColor",F("palette-error-main")),U(b.Alert,"infoIconColor",F("palette-info-main")),U(b.Alert,"successIconColor",F("palette-success-main")),U(b.Alert,"warningIconColor",F("palette-warning-main")),U(b.AppBar,"defaultBg",F("palette-grey-100")),U(b.Avatar,"defaultBg",F("palette-grey-400")),U(b.Button,"inheritContainedBg",F("palette-grey-300")),U(b.Button,"inheritContainedHoverBg",F("palette-grey-A100")),U(b.Chip,"defaultBorder",F("palette-grey-400")),U(b.Chip,"defaultAvatarColor",F("palette-grey-700")),U(b.Chip,"defaultIconColor",F("palette-grey-700")),U(b.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),U(b.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),U(b.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),U(b.LinearProgress,"primaryBg",X(Ke,d?S("palette-primary-main"):b.primary.main,.62)),U(b.LinearProgress,"secondaryBg",X(Ke,d?S("palette-secondary-main"):b.secondary.main,.62)),U(b.LinearProgress,"errorBg",X(Ke,d?S("palette-error-main"):b.error.main,.62)),U(b.LinearProgress,"infoBg",X(Ke,d?S("palette-info-main"):b.info.main,.62)),U(b.LinearProgress,"successBg",X(Ke,d?S("palette-success-main"):b.success.main,.62)),U(b.LinearProgress,"warningBg",X(Ke,d?S("palette-warning-light"):b.warning.main,.62)),U(b.Skeleton,"bg",I?X(dn,d?S("palette-text-primary"):b.text.primary,.11):`rgba(${F("palette-text-primaryChannel")} / 0.11)`),U(b.Slider,"primaryTrack",X(Ke,d?S("palette-primary-main"):b.primary.main,.62)),U(b.Slider,"secondaryTrack",X(Ke,d?S("palette-secondary-main"):b.secondary.main,.62)),U(b.Slider,"errorTrack",X(Ke,d?S("palette-error-main"):b.error.main,.62)),U(b.Slider,"infoTrack",X(Ke,d?S("palette-info-main"):b.info.main,.62)),U(b.Slider,"successTrack",X(Ke,d?S("palette-success-main"):b.success.main,.62)),U(b.Slider,"warningTrack",X(Ke,d?S("palette-warning-main"):b.warning.main,.62));const se=I?X(Xe,d?S("palette-background-default"):b.background.default,.6825):Ys(b.background.default,.8);U(b.SnackbarContent,"bg",se),U(b.SnackbarContent,"color",$a(()=>I?Sc.text.primary:b.getContrastText(se))),U(b.SpeedDialAction,"fabHoverBg",Ys(b.background.paper,.15)),U(b.StepConnector,"border",F("palette-grey-400")),U(b.StepContent,"border",F("palette-grey-400")),U(b.Switch,"defaultColor",F("palette-common-white")),U(b.Switch,"defaultDisabledColor",F("palette-grey-100")),U(b.Switch,"primaryDisabledColor",X(Ke,d?S("palette-primary-main"):b.primary.main,.62)),U(b.Switch,"secondaryDisabledColor",X(Ke,d?S("palette-secondary-main"):b.secondary.main,.62)),U(b.Switch,"errorDisabledColor",X(Ke,d?S("palette-error-main"):b.error.main,.62)),U(b.Switch,"infoDisabledColor",X(Ke,d?S("palette-info-main"):b.info.main,.62)),U(b.Switch,"successDisabledColor",X(Ke,d?S("palette-success-main"):b.success.main,.62)),U(b.Switch,"warningDisabledColor",X(Ke,d?S("palette-warning-main"):b.warning.main,.62)),U(b.TableCell,"border",X(Ke,dn(d?S("palette-divider"):b.divider,1),.88)),U(b.Tooltip,"bg",X(dn,d?S("palette-grey-700"):b.grey[700],.92))}if(b.mode==="dark"){U(b.Alert,"errorColor",X(Ke,d?S("palette-error-light"):b.error.light,.6)),U(b.Alert,"infoColor",X(Ke,d?S("palette-info-light"):b.info.light,.6)),U(b.Alert,"successColor",X(Ke,d?S("palette-success-light"):b.success.light,.6)),U(b.Alert,"warningColor",X(Ke,d?S("palette-warning-light"):b.warning.light,.6)),U(b.Alert,"errorFilledBg",F("palette-error-dark")),U(b.Alert,"infoFilledBg",F("palette-info-dark")),U(b.Alert,"successFilledBg",F("palette-success-dark")),U(b.Alert,"warningFilledBg",F("palette-warning-dark")),U(b.Alert,"errorFilledColor",$a(()=>b.getContrastText(b.error.dark))),U(b.Alert,"infoFilledColor",$a(()=>b.getContrastText(b.info.dark))),U(b.Alert,"successFilledColor",$a(()=>b.getContrastText(b.success.dark))),U(b.Alert,"warningFilledColor",$a(()=>b.getContrastText(b.warning.dark))),U(b.Alert,"errorStandardBg",X(Xe,d?S("palette-error-light"):b.error.light,.9)),U(b.Alert,"infoStandardBg",X(Xe,d?S("palette-info-light"):b.info.light,.9)),U(b.Alert,"successStandardBg",X(Xe,d?S("palette-success-light"):b.success.light,.9)),U(b.Alert,"warningStandardBg",X(Xe,d?S("palette-warning-light"):b.warning.light,.9)),U(b.Alert,"errorIconColor",F("palette-error-main")),U(b.Alert,"infoIconColor",F("palette-info-main")),U(b.Alert,"successIconColor",F("palette-success-main")),U(b.Alert,"warningIconColor",F("palette-warning-main")),U(b.AppBar,"defaultBg",F("palette-grey-900")),U(b.AppBar,"darkBg",F("palette-background-paper")),U(b.AppBar,"darkColor",F("palette-text-primary")),U(b.Avatar,"defaultBg",F("palette-grey-600")),U(b.Button,"inheritContainedBg",F("palette-grey-800")),U(b.Button,"inheritContainedHoverBg",F("palette-grey-700")),U(b.Chip,"defaultBorder",F("palette-grey-700")),U(b.Chip,"defaultAvatarColor",F("palette-grey-300")),U(b.Chip,"defaultIconColor",F("palette-grey-300")),U(b.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),U(b.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),U(b.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),U(b.LinearProgress,"primaryBg",X(Xe,d?S("palette-primary-main"):b.primary.main,.5)),U(b.LinearProgress,"secondaryBg",X(Xe,d?S("palette-secondary-main"):b.secondary.main,.5)),U(b.LinearProgress,"errorBg",X(Xe,d?S("palette-error-main"):b.error.main,.5)),U(b.LinearProgress,"infoBg",X(Xe,d?S("palette-info-main"):b.info.main,.5)),U(b.LinearProgress,"successBg",X(Xe,d?S("palette-success-main"):b.success.main,.5)),U(b.LinearProgress,"warningBg",X(Xe,d?S("palette-warning-main"):b.warning.main,.5)),U(b.Skeleton,"bg",I?X(dn,d?S("palette-text-primary"):b.text.primary,.13):`rgba(${F("palette-text-primaryChannel")} / 0.13)`),U(b.Slider,"primaryTrack",X(Xe,d?S("palette-primary-main"):b.primary.main,.5)),U(b.Slider,"secondaryTrack",X(Xe,d?S("palette-secondary-main"):b.secondary.main,.5)),U(b.Slider,"errorTrack",X(Xe,d?S("palette-error-main"):b.error.main,.5)),U(b.Slider,"infoTrack",X(Xe,d?S("palette-info-main"):b.info.main,.5)),U(b.Slider,"successTrack",X(Xe,d?S("palette-success-main"):b.success.main,.5)),U(b.Slider,"warningTrack",X(Xe,d?S("palette-warning-light"):b.warning.main,.5));const se=I?X(Ke,d?S("palette-background-default"):b.background.default,.985):Ys(b.background.default,.98);U(b.SnackbarContent,"bg",se),U(b.SnackbarContent,"color",$a(()=>I?vp.text.primary:b.getContrastText(se))),U(b.SpeedDialAction,"fabHoverBg",Ys(b.background.paper,.15)),U(b.StepConnector,"border",F("palette-grey-600")),U(b.StepContent,"border",F("palette-grey-600")),U(b.Switch,"defaultColor",F("palette-grey-300")),U(b.Switch,"defaultDisabledColor",F("palette-grey-600")),U(b.Switch,"primaryDisabledColor",X(Xe,d?S("palette-primary-main"):b.primary.main,.55)),U(b.Switch,"secondaryDisabledColor",X(Xe,d?S("palette-secondary-main"):b.secondary.main,.55)),U(b.Switch,"errorDisabledColor",X(Xe,d?S("palette-error-main"):b.error.main,.55)),U(b.Switch,"infoDisabledColor",X(Xe,d?S("palette-info-main"):b.info.main,.55)),U(b.Switch,"successDisabledColor",X(Xe,d?S("palette-success-main"):b.success.main,.55)),U(b.Switch,"warningDisabledColor",X(Xe,d?S("palette-warning-light"):b.warning.main,.55)),U(b.TableCell,"border",X(Xe,dn(d?S("palette-divider"):b.divider,1),.68)),U(b.Tooltip,"bg",X(dn,d?S("palette-grey-700"):b.grey[700],.92))}ar(b.background,"default"),ar(b.background,"paper"),ar(b.common,"background"),ar(b.common,"onBackground"),ar(b,"divider"),Object.keys(b).forEach(se=>{const Z=b[se];se!=="tonalOffset"&&Z&&typeof Z=="object"&&(Z.main&&U(b[se],"mainChannel",sl(cl(Z.main))),Z.light&&U(b[se],"lightChannel",sl(cl(Z.light))),Z.dark&&U(b[se],"darkChannel",sl(cl(Z.dark))),Z.contrastText&&U(b[se],"contrastTextChannel",sl(cl(Z.contrastText))),se==="text"&&(ar(b[se],"primary"),ar(b[se],"secondary")),se==="action"&&(Z.active&&ar(b[se],"active"),Z.selected&&ar(b[se],"selected")))})}),K=n.reduce((_e,b)=>oa(_e,b),K);const ne={prefix:f,disableCssColorScheme:o,shouldSkipGeneratingVar:h,getSelector:i_(K),enableContrastVars:d},{vars:de,generateThemeVars:we,generateStyleSheets:Ue}=AS(K,ne);return K.vars=de,Object.entries(K.colorSchemes[K.defaultColorScheme]).forEach(([_e,b])=>{K[_e]=b}),K.generateThemeVars=we,K.generateStyleSheets=Ue,K.generateSpacing=function(){return op(x.spacing,pc(this))},K.getColorSchemeSelector=TS(y),K.spacing=K.generateSpacing(),K.shouldSkipGeneratingVar=h,K.unstable_sxConfig={...Ls,...x==null?void 0:x.unstable_sxConfig},K.unstable_sx=function(b){return $n({sx:b,theme:this})},K.toRuntimeSource=wp,K}function Op(r,n,l){r.colorSchemes&&l&&(r.colorSchemes[n]={...l!==!0&&l,palette:_c({...l===!0?{}:l.palette,mode:n})})}function c_(r={},...n){const{palette:l,cssVariables:s=!1,colorSchemes:o=l?void 0:{light:!0},defaultColorScheme:f=l==null?void 0:l.mode,...d}=r,h=f||"light",y=o==null?void 0:o[h],p={...o,...l?{[h]:{...typeof y!="boolean"&&y,palette:l}}:void 0};if(s===!1){if(!("colorSchemes"in r))return Cc(r,...n);let x=l;"palette"in r||p[h]&&(p[h]!==!0?x=p[h].palette:h==="dark"&&(x={mode:"dark"}));const N=Cc({...r,palette:x},...n);return N.defaultColorScheme=h,N.colorSchemes=p,N.palette.mode==="light"&&(N.colorSchemes.light={...p.light!==!0&&p.light,palette:N.palette},Op(N,"dark",p.dark)),N.palette.mode==="dark"&&(N.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:N.palette},Op(N,"light",p.light)),N}return!l&&!("light"in p)&&h==="light"&&(p.light=!0),u_({...d,colorSchemes:p,defaultColorScheme:h,...typeof s!="boolean"&&s},...n)}function f_(r){return String(r).match(/[\d.\-+]*\s*(.*)/)[1]||""}function d_(r){return parseFloat(r)}const m_=c_();function h_(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}const p_=fS({themeId:L1,defaultTheme:m_,rootShouldForwardProp:r=>h_(r)&&r!=="classes"}),g_=CS;function y_(r){return _S(r)}function b_(r){return fp("MuiSkeleton",r)}sS("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const v_=r=>{const{classes:n,variant:l,animation:s,hasChildren:o,width:f,height:d}=r;return U1({root:["root",l,s,o&&"withChildren",o&&!f&&"fitContent",o&&!d&&"heightAuto"]},b_,n)},wc=Gh`
481
129
  0% {
482
130
  opacity: 1;
483
131
  }
@@ -489,7 +137,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${u}Chann
489
137
  100% {
490
138
  opacity: 1;
491
139
  }
492
- `,Nx=gC`
140
+ `,Dc=Gh`
493
141
  0% {
494
142
  transform: translateX(-100%);
495
143
  }
@@ -502,15 +150,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${u}Chann
502
150
  100% {
503
151
  transform: translateX(100%);
504
152
  }
505
- `,A4=typeof Cx!="string"?cx`
506
- animation: ${Cx} 2s ease-in-out 0.5s infinite;
507
- `:null,D4=typeof Nx!="string"?cx`
153
+ `,x_=typeof wc!="string"?uc`
154
+ animation: ${wc} 2s ease-in-out 0.5s infinite;
155
+ `:null,N_=typeof Dc!="string"?uc`
508
156
  &::after {
509
- animation: ${Nx} 2s linear 0.5s infinite;
157
+ animation: ${Dc} 2s linear 0.5s infinite;
510
158
  }
511
- `:null,R4=x4("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(r,u)=>{const{ownerState:s}=r;return[u.root,u[s.variant],s.animation!==!1&&u[s.animation],s.hasChildren&&u.withChildren,s.hasChildren&&!s.width&&u.fitContent,s.hasChildren&&!s.height&&u.heightAuto]}})(_4(({theme:r})=>{const u=v4(r.shape.borderRadius)||"px",s=b4(r.shape.borderRadius);return{display:"block",backgroundColor:r.vars?r.vars.palette.Skeleton.bg:r.alpha(r.palette.text.primary,r.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${s}${u}/${Math.round(s/.6*10)/10}${u}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(r.vars||r).shape.borderRadius}},{props:({ownerState:d})=>d.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:d})=>d.hasChildren&&!d.width,style:{maxWidth:"fit-content"}},{props:({ownerState:d})=>d.hasChildren&&!d.height,style:{height:"auto"}},{props:{animation:"pulse"},style:A4||{animation:`${Cx} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
159
+ `:null,S_=p_("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(r,n)=>{const{ownerState:l}=r;return[n.root,n[l.variant],l.animation!==!1&&n[l.animation],l.hasChildren&&n.withChildren,l.hasChildren&&!l.width&&n.fitContent,l.hasChildren&&!l.height&&n.heightAuto]}})(g_(({theme:r})=>{const n=f_(r.shape.borderRadius)||"px",l=d_(r.shape.borderRadius);return{display:"block",backgroundColor:r.vars?r.vars.palette.Skeleton.bg:r.alpha(r.palette.text.primary,r.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${l}${n}/${Math.round(l/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(r.vars||r).shape.borderRadius}},{props:({ownerState:s})=>s.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:s})=>s.hasChildren&&!s.width,style:{maxWidth:"fit-content"}},{props:({ownerState:s})=>s.hasChildren&&!s.height,style:{height:"auto"}},{props:{animation:"pulse"},style:x_||{animation:`${wc} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
512
160
  90deg,
513
161
  transparent,
514
162
  ${(r.vars||r).palette.action.hover},
515
163
  transparent
516
- )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:D4||{"&::after":{animation:`${Nx} 2s linear 0.5s infinite`}}}]}})),sN=it.forwardRef(function(u,s){const d=T4({props:u,name:"MuiSkeleton"}),{animation:h="pulse",className:y,component:b="span",height:E,style:N,variant:C="text",width:U,...A}=d,R={...d,animation:h,component:b,variant:C,hasChildren:!!A.children},z=N4(R);return f5.jsx(R4,{as:b,ref:s,className:RT(z.root,y),ownerState:R,...A,style:{width:U,height:E,...N}})});process.env.NODE_ENV!=="production"&&(sN.propTypes={animation:nn.oneOf(["pulse","wave",!1]),children:nn.node,classes:nn.object,className:nn.string,component:nn.elementType,height:nn.oneOfType([nn.number,nn.string]),style:nn.object,sx:nn.oneOfType([nn.arrayOf(nn.oneOfType([nn.func,nn.object,nn.bool])),nn.func,nn.object]),variant:nn.oneOfType([nn.oneOf(["circular","rectangular","rounded","text"]),nn.string]),width:nn.oneOfType([nn.number,nn.string])});const O4=async({tenant_id:r})=>{if(!r)throw new Error(`No configuration found for tenant: ${r}`);try{const s=await(await fetch(`${Zf("VITE_API_URL")}/api/token.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({tenant_id:r})})).json();if(!s.success)throw new Error("PBMLOG: Authorization failed!");return Gn.set("pbm-token",s.access_token,{secure:!0,sameSite:"Strict",expires:s.expires_in/86400}),Gn.set("tenant_id",r,{secure:!0,sameSite:"Strict",expires:7}),s}catch(u){return console.error("Error during authorization:",u),{success:!1,error:"Authorization failed"}}},w4={primaryColor:"#44c2c0",secondaryColor:"#339c9b",backgroundColor:"#ffffff",textColor:"#52525b",borderColor:"#44c2c0",inputOutlineColor:"transparent",inputOutlineFocusColor:"#323232",inputBackgroundColor:"#EDEDED",inputFocusBackgroundColor:"#EDEDED"},M4=_E(r=>({...w4,setTheme:u=>r(s=>({...s,...u}))}));function cN(r){return TE(M4,(u=>u))}const z4=2,j4=30,U4=()=>{const r=new Date,u=new Date(r);return u.setHours(z4,j4,0,0),u.getTime()<=r.getTime()&&u.setDate(u.getDate()+1),u.getTime()},Fy=new Map;function V4(r){return`load-products-table:${r}`}function B4(r){const u=Fy.get(r);if(u&&Date.now()<u.expiresAt)return u.data;try{const s=localStorage.getItem(r);if(!s)return null;const d=JSON.parse(s);return Date.now()>=d.expiresAt?(localStorage.removeItem(r),null):(Fy.set(r,d),d.data)}catch{return null}}function k4(r,u){const s={data:u,expiresAt:U4(),success:!0};Fy.set(r,s),localStorage.setItem(r,JSON.stringify(s))}const H4=async({tenant_id:r})=>{if(!r)throw new Error(`No configuration found for tenant: ${r}`);const u=V4(r),s=B4(u);if(s)return{data:s,expiresAt:Fy.get(u).expiresAt,success:!0};const h=await(await fetch(`${Zf("VITE_API_URL")}/api/load-tables.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${Gn.get("pbm-token")}`},body:JSON.stringify({tenant_id:r})})).json();if(h.informativeText!=="Processamento aprovado")throw new Error("PBMLOG: Load Products Table Failed!");Gn.set("current-table-id",h.control.tableId,{secure:!0,sameSite:"Strict",expires:1}),Gn.set("current-central-number",h.control.centralNumber.toString(),{secure:!0,sameSite:"Strict",expires:1}),Gn.set("current-local-hour",h.local_hour,{secure:!0,sameSite:"Strict",expires:1});const y=L4(h.control.tableImage);return k4(u,y),{data:y,expiresAt:Fy.get(u).expiresAt,success:!0}};function L4(r){const u=r.map(b=>b.state),s=r.flatMap(b=>b.cities.map(E=>E.city)),d=r.flatMap(b=>b.cities.flatMap(E=>E.federalCodes.map(N=>N.federalCode))),h=r.flatMap(b=>b.cities.flatMap(E=>E.federalCodes.flatMap(N=>N.programNames.map(C=>C.programName)))),y=r.flatMap(b=>b.cities.flatMap(E=>E.federalCodes.flatMap(N=>N.programNames.flatMap(C=>C.products.map(U=>U.ean)))));return{states:u,cities:s,federalCodes:d,programNames:h,products:y}}const q4=async({tenant_id:r,product:u})=>{if(!r)throw new Error(`No configuration found for tenant: ${r}`);if(!u)throw new Error("Product information is required");try{const d=await(await fetch(`${Zf("VITE_API_URL")}/api/product.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${Gn.get("pbm-token")}`},body:JSON.stringify({tenant_id:r,product:u,table_id:Gn.get("current-table-id"),local_hour:Gn.get("current-local-hour")})})).json();if(!d.success)throw new Error("PBMLOG: Get Product Failed!");return d}catch(s){return console.error("Error during get product:",s),{success:!1,error:"Get Product Failed"}}},Y4=r=>{const{setTargetProduct:u,setBenefitsList:s,setIsAuthenticatedShopper:d,setCustomLoginUrl:h}=hr(),{setTheme:y}=cN(),[b,E]=it.useState(!1),[N,C]=it.useState(!1),[U,A]=it.useState(!0),R=async()=>{try{const j=await O4({tenant_id:r.tenant_id});return j.success||console.error("PBMLOG: Authorization failed!"),j.success}catch(j){return console.error("Error fetching authorization:",j),!1}},z=async()=>{if(!r.target_product)return console.error("PBMLOG: Target product is not defined."),A(!1),!1;try{const j=await H4({tenant_id:r.tenant_id});return j.success?j.data.products.includes(r.target_product.ean.toString())?(A(!0),!0):!1:(console.error("PBMLOG: Product validation failed!"),!1)}catch(j){console.error("Error fetching product validation:",j),A(!1)}return!1},Q=async()=>{try{if(!r.target_product)return console.error("PBMLOG: Target product is not defined."),A(!1),!1;const j=await q4({tenant_id:r.tenant_id,product:r.target_product});return j.success?!j.product||j.product.length===0?(console.error("PBMLOG: Product not found in discount check!"),A(!1),!1):(u({...j.product[0],requestedQuantity:"1",listPrice:pi.priceToInteger(r.target_product.listPrice),netPrice:pi.priceToInteger(r.target_product.netPrice)}),s(j.product.map(F=>({...F,listPrice:r.target_product.listPrice,netPrice:r.target_product.netPrice}))),d(r.is_authenticated_shopper),h(r.custom_login_url),A(!0),!0):(console.error("PBMLOG: Product discount check failed!"),A(!1),!1)}catch(j){return console.error(j),A(!1),!1}};return it.useEffect(()=>{let j=!0;return(async()=>{if(r.theme&&y(r.theme),!await R()||!j)return;const ge=await Promise.all([z(),Q()].filter(Boolean)).then(De=>De.every(Boolean));C(ge),!(!ge||!j)&&j&&E(!0)})(),()=>{j=!1}},[r.tenant_id]),{IsReady:b,IsValid:N,EanProductExist:U}};function G4(r){const{state:u}=hr(),{IsReady:s,EanProductExist:d,IsValid:h}=Y4(r),{setErrorMessage:y}=TT(),b=cN(),[E,N]=it.useTransition();if(h)return s?d?B.jsxDEV("div",{id:"pbm-library-root",style:{"--pbm-primary":b.primaryColor,"--pbm-secondary":b.secondaryColor,"--pbm-bg":b.backgroundColor,"--pbm-text":b.textColor,"--pbm-border":b.borderColor,"--pbm-outline-color":b.inputOutlineColor,"--pbm-outline-focus-color":b.inputOutlineFocusColor,"--pbm-input-focus-background":b.inputFocusBackgroundColor,"--pbm-input-background":b.inputBackgroundColor},children:[B.jsxDEV(HE,{variant:"main",children:[B.jsxDEV(fO,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:74,columnNumber:9},this),B.jsxDEV(HE,{variant:"simple",children:E?B.jsxDEV(dO,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:78,columnNumber:13},this):B.jsxDEV(B.Fragment,{children:[u==="isEmpty"&&B.jsxDEV(iO,{startTransition:N},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:82,columnNumber:17},this),u==="isInvalid"&&B.jsxDEV(yO,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:84,columnNumber:41},this),u==="isRegistered"&&B.jsxDEV(gO,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:85,columnNumber:44},this),(u==="isActivated"||u==="isPreview")&&B.jsxDEV(pO,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:87,columnNumber:17},this),u==="isError"&&B.jsxDEV(CT,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:89,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:80,columnNumber:13},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:76,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:73,columnNumber:7},this),B.jsxDEV(MO,{ID:"ShopperIsNotAuthenticated"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:95,columnNumber:7},this),B.jsxDEV(RO,{ID:"CustomerNotRegistered"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:96,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:57,columnNumber:5},this):(y("O produto não foi encontrado no sistema. Por favor, tente novamente mais tarde ou contate o suporte."),B.jsxDEV("div",{id:"pbm-library-root",children:B.jsxDEV(CT,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:51,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:50,columnNumber:7},this)):B.jsxDEV(sN,{variant:"rectangular",style:{borderRadius:"12px"},width:460,height:358},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:35,columnNumber:7},this)}const $4=`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50: oklch(97.1% .013 17.38);--color-red-300: oklch(80.8% .114 19.571);--color-red-400: oklch(70.4% .191 22.216);--color-red-500: oklch(63.7% .237 25.331);--color-red-600: oklch(57.7% .245 27.325);--color-green-100: oklch(96.2% .044 156.743);--color-green-400: oklch(79.2% .209 151.711);--color-green-500: oklch(72.3% .219 149.579);--color-emerald-50: oklch(97.9% .021 166.113);--color-emerald-200: oklch(90.5% .093 164.15);--color-emerald-500: oklch(69.6% .17 162.48);--color-emerald-600: oklch(59.6% .145 163.225);--color-emerald-700: oklch(50.8% .118 165.612);--color-blue-400: oklch(70.7% .165 254.624);--color-blue-500: oklch(62.3% .214 259.815);--color-gray-50: oklch(98.5% .002 247.839);--color-gray-100: oklch(96.7% .003 264.542);--color-gray-200: oklch(92.8% .006 264.531);--color-gray-300: oklch(87.2% .01 258.338);--color-gray-400: oklch(70.7% .022 261.325);--color-gray-500: oklch(55.1% .027 264.364);--color-gray-600: oklch(44.6% .03 256.802);--color-gray-800: oklch(27.8% .033 256.848);--color-zinc-50: oklch(98.5% 0 0);--color-zinc-100: oklch(96.7% .001 286.375);--color-zinc-200: oklch(92% .004 286.32);--color-zinc-300: oklch(87.1% .006 286.286);--color-zinc-400: oklch(70.5% .015 286.067);--color-zinc-500: oklch(55.2% .016 285.938);--color-zinc-600: oklch(44.2% .017 285.786);--color-zinc-700: oklch(37% .013 285.805);--color-zinc-800: oklch(27.4% .006 286.033);--color-zinc-900: oklch(21% .006 285.885);--color-black: #000;--color-white: #fff;--spacing: .25rem;--container-3xs: 16rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--text-xl: 1.25rem;--text-xl--line-height: calc(1.75 / 1.25);--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--tracking-wide: .025em;--leading-snug: 1.375;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--animate-spin: spin 1s linear infinite;--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-4{top:calc(var(--spacing) * -4)}.top-1\\/2{top:50%}.top-3\\.5{top:calc(var(--spacing) * 3.5)}.-right-3{right:calc(var(--spacing) * -3)}.right-3{right:calc(var(--spacing) * 3)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.left-2{left:calc(var(--spacing) * 2)}.left-10{left:calc(var(--spacing) * 10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-0{height:calc(var(--spacing) * 0)}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-auto{height:auto}.max-h-\\[90vh\\]{max-height:90vh}.w-1\\/5{width:20%}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-3xs{width:var(--container-3xs)}.w-4{width:calc(var(--spacing) * 4)}.w-4\\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-16{width:calc(var(--spacing) * 16)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\(--max-container\\){max-width:var(--max-container)}.max-w-125{max-width:calc(var(--spacing) * 125)}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.min-w-\\(--min-container\\){min-width:var(--min-container)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-20{min-width:calc(var(--spacing) * 20)}.min-w-125{min-width:calc(var(--spacing) * 125)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.flex-1{flex:1}.flex-2{flex:2}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-0{rotate:0deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-end-safe{justify-content:safe flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:calc(infinity * 1px)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-\\(--pbm-border\\){border-color:var(--pbm-border)}.border-\\(--pbm-primary\\){border-color:var(--pbm-primary)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-emerald-700{border-color:var(--color-emerald-700)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-red-300{border-color:var(--color-red-300)}.border-red-400{border-color:var(--color-red-400)}.border-zinc-100{border-color:var(--color-zinc-100)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:color-mix(in srgb,oklch(70.5% .015 286.067) 50%,transparent)}@supports (color: color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400) 50%,transparent)}}.bg-\\(--pbm-input-background\\){background-color:var(--pbm-input-background)}.bg-\\(--pbm-primary\\){background-color:var(--pbm-primary)}.bg-\\(--primary-color\\){background-color:var(--primary-color)}.bg-black\\/40{background-color:color-mix(in srgb,#000 40%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-50\\/60{background-color:color-mix(in srgb,oklch(97.9% .021 166.113) 60%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-emerald-50\\/60{background-color:color-mix(in oklab,var(--color-emerald-50) 60%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\\/40{background-color:color-mix(in srgb,oklch(97.1% .013 17.38) 40%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-red-50\\/40{background-color:color-mix(in oklab,var(--color-red-50) 40%,transparent)}}.bg-transparent{background-color:transparent}.bg-white{background-color:var(--color-white)}.bg-zinc-50\\/40{background-color:color-mix(in srgb,oklch(98.5% 0 0) 40%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-zinc-50\\/40{background-color:color-mix(in oklab,var(--color-zinc-50) 40%,transparent)}}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-300\\/60{background-color:color-mix(in srgb,oklch(87.1% .006 286.286) 60%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300) 60%,transparent)}}.p-0{padding:calc(var(--spacing) * 0)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading, var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading, var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading, var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.leading-snug{--tw-leading: var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight: var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-light{--tw-font-weight: var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking: var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-nowrap{text-wrap:nowrap}.whitespace-nowrap{white-space:nowrap}.text-\\(--pbm-primary\\){color:var(--pbm-primary)}.text-blue-500{color:var(--color-blue-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-800{color:var(--color-gray-800)}.text-green-500{color:var(--color-green-500)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-700{color:var(--color-zinc-700)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.uppercase{text-transform:uppercase}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0%}.opacity-25{opacity:25%}.opacity-60{opacity:60%}.opacity-75{opacity:75%}.opacity-100{opacity:100%}.shadow{--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-4{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-\\(--pbm-primary\\)\\/15{--tw-ring-color: var(--pbm-primary)}@supports (color: color-mix(in lab,red,red)){.ring-\\(--pbm-primary\\)\\/15{--tw-ring-color: color-mix(in oklab, var(--pbm-primary) 15%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-\\(--pbm-outline-color\\){outline-color:var(--pbm-outline-color)}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.duration-100{--tw-duration: .1s;transition-duration:.1s}.duration-150{--tw-duration: .15s;transition-duration:.15s}.duration-300{--tw-duration: .3s;transition-duration:.3s}.outline-none{--tw-outline-style: none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}.after\\:h-2:after{content:var(--tw-content);height:calc(var(--spacing) * 2)}.after\\:w-2:after{content:var(--tw-content);width:calc(var(--spacing) * 2)}.after\\:scale-0:after{content:var(--tw-content);--tw-scale-x: 0%;--tw-scale-y: 0%;--tw-scale-z: 0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.after\\:rounded-full:after{content:var(--tw-content);border-radius:calc(infinity * 1px)}.after\\:bg-\\(--pbm-primary\\):after{content:var(--tw-content);background-color:var(--pbm-primary)}.after\\:transition-transform:after{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.after\\:duration-200:after{content:var(--tw-content);--tw-duration: .2s;transition-duration:.2s}.after\\:content-\\[\\'\\'\\]:after{--tw-content: "";content:var(--tw-content)}.peer-checked\\:after\\:scale-100:is(:where(.peer):checked~*):after{content:var(--tw-content);--tw-scale-x: 100%;--tw-scale-y: 100%;--tw-scale-z: 100%;scale:var(--tw-scale-x) var(--tw-scale-y)}@media(hover:hover){.hover\\:border-\\(--pbm-primary\\):hover{border-color:var(--pbm-primary)}}@media(hover:hover){.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}}@media(hover:hover){.hover\\:border-zinc-200:hover{border-color:var(--color-zinc-200)}}@media(hover:hover){.hover\\:bg-\\(--pbm-primary\\)\\/60:hover{background-color:var(--pbm-primary)}@supports (color: color-mix(in lab,red,red)){.hover\\:bg-\\(--pbm-primary\\)\\/60:hover{background-color:color-mix(in oklab,var(--pbm-primary) 60%,transparent)}}}@media(hover:hover){.hover\\:bg-\\(--primary-color\\)\\/80:hover{background-color:var(--primary-color)}@supports (color: color-mix(in lab,red,red)){.hover\\:bg-\\(--primary-color\\)\\/80:hover{background-color:color-mix(in oklab,var(--primary-color) 80%,transparent)}}}@media(hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}}@media(hover:hover){.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}}@media(hover:hover){.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}}@media(hover:hover){.hover\\:bg-gray-500:hover{background-color:var(--color-gray-500)}}@media(hover:hover){.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}}@media(hover:hover){.hover\\:bg-transparent:hover{background-color:transparent}}@media(hover:hover){.hover\\:bg-zinc-600\\/10:hover{background-color:color-mix(in srgb,oklch(44.2% .017 285.786) 10%,transparent)}@supports (color: color-mix(in lab,red,red)){.hover\\:bg-zinc-600\\/10:hover{background-color:color-mix(in oklab,var(--color-zinc-600) 10%,transparent)}}}@media(hover:hover){.hover\\:text-\\(--pbm-primary\\)\\/60:hover{color:var(--pbm-primary)}@supports (color: color-mix(in lab,red,red)){.hover\\:text-\\(--pbm-primary\\)\\/60:hover{color:color-mix(in oklab,var(--pbm-primary) 60%,transparent)}}}@media(hover:hover){.hover\\:text-gray-600:hover{color:var(--color-gray-600)}}@media(hover:hover){.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}}@media(hover:hover){.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\\:bg-\\(--pbm-input-focus\\):focus{background-color:var(--pbm-input-focus)}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:ring-2:focus{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-500\\/30:focus{--tw-ring-color: color-mix(in srgb, oklch(62.3% .214 259.815) 30%, transparent)}@supports (color: color-mix(in lab,red,red)){.focus\\:ring-blue-500\\/30:focus{--tw-ring-color: color-mix(in oklab, var(--color-blue-500) 30%, transparent)}}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\(--pbm-outline-focus-color\\):focus{outline-color:var(--pbm-outline-focus-color)}@media(min-width:40rem){.sm\\:block{display:block}}}:root{--max-container: 556px;--min-container: 350px}@property --tw-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-tracking{syntax: "*"; inherits: false;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-duration{syntax: "*"; inherits: false;}@property --tw-content{syntax: "*"; initial-value: ""; inherits: false;}@property --tw-scale-x{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-scale-y{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-scale-z{syntax: "*"; inherits: false; initial-value: 1;}@keyframes spin{to{transform:rotate(360deg)}}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-border-style: solid;--tw-leading: initial;--tw-font-weight: initial;--tw-tracking: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-outline-style: solid;--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-duration: initial;--tw-content: "";--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1}}}`,Z4={id:"100282",ean:"7891142982513",requestedQuantity:"1",listPrice:"56579",netPrice:"56579"};window.pbm=dR();class X4 extends HTMLElement{constructor(){super();P_(this,"root",null);P_(this,"props",{tenant_id:"",target_product:Z4,is_authenticated_shopper:!1,custom_login_url:"/login"});this.attachShadow({mode:"open"})}static get observedAttributes(){return["original_product_price","tenant_id","target_product","is_authenticated_shopper","custom_login_url","theme"]}updatePropsFromAttributes(){const s=this.getAttribute("tenant_id"),d=this.getAttribute("target_product"),h=this.getAttribute("is_authenticated_shopper"),y=this.getAttribute("custom_login_url"),b=this.getAttribute("theme");if(h!==null&&(this.props.is_authenticated_shopper=h==="true"),y!==null&&(this.props.custom_login_url=y===""?"/login":y),s!==null&&(this.props.tenant_id=s),d!==null&&(this.props.target_product=JSON.parse(d)),b!==null)try{this.props.theme=JSON.parse(b)}catch(E){console.error("PBMLOG: Error parsing theme attribute -",E)}}connectedCallback(){this.updatePropsFromAttributes(),this.mount()}attributeChangedCallback(s,d,h){if(s==="tenant_id"&&(this.props.tenant_id=h),s==="target_product"&&(this.props.target_product=JSON.parse(h)),s==="is_authenticated_shopper"&&(this.props.is_authenticated_shopper=h==="true"),s==="custom_login_url"&&(this.props.custom_login_url=h===""?"/login":h),s==="theme")try{this.props.theme=h?JSON.parse(h):void 0}catch(y){console.error("PBMLOG: Error parsing theme attribute -",y)}this.mount()}mount(){if(!this.isConnected)return;let s=this.shadowRoot;if(!(!s&&(this.attachShadow({mode:"open"}),s=this.shadowRoot,!s))){if(!s.querySelector("#pbm-shadow-root")){const d=document.createElement("div");d.id="pbm-shadow-root";const h=document.createElement("style");h.textContent=$4,s.appendChild(h),s.appendChild(d),this.root=zD.createRoot(d)}this.root&&this.root.render(B.jsxDEV(G4,{...this.props},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/web/PBM-webcomponent.tsx",lineNumber:138,columnNumber:24},this))}}}customElements.define("pbm-component",X4)})();
164
+ )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:N_||{"&::after":{animation:`${Dc} 2s linear 0.5s infinite`}}}]}})),__=ge.forwardRef(function(n,l){const s=y_({props:n,name:"MuiSkeleton"}),{animation:o="pulse",className:f,component:d="span",height:h,style:y,variant:p="text",width:x,...N}=s,C={...s,animation:o,component:d,variant:p,hasChildren:!!N.children},S=v_(C);return lN.jsx(S_,{as:d,ref:l,className:mh(S.root,f),ownerState:C,...N,style:{width:x,height:h,...y}})}),C_=async({tenant_id:r})=>{if(!r)throw new Error(`No configuration found for tenant: ${r}`);try{const l=await(await fetch(`${ln("VITE_API_URL")}/api/token.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({tenant_id:r})})).json();if(!l.success)throw new Error("PBMLOG: Authorization failed!");return nt.set("pbm-token",l.access_token,{secure:!0,sameSite:"Strict",expires:l.expires_in/86400}),nt.set("tenant_id",r,{secure:!0,sameSite:"Strict",expires:7}),l}catch(n){return console.error("Error during authorization:",n),{success:!1,error:"Authorization failed"}}},E_={primaryColor:"#44c2c0",secondaryColor:"#339c9b",backgroundColor:"#ffffff",textColor:"#52525b",borderColor:"#44c2c0",inputOutlineColor:"transparent",inputOutlineFocusColor:"#323232",inputBackgroundColor:"#EDEDED",inputFocusBackgroundColor:"#EDEDED"},w_=Du(r=>({...E_,setTheme:n=>r(l=>({...l,...n}))}));function Rp(r){return Au(w_,(n=>n))}const D_=2,A_=30,T_=()=>{const r=new Date,n=new Date(r);return n.setHours(D_,A_,0,0),n.getTime()<=r.getTime()&&n.setDate(n.getDate()+1),n.getTime()},fl=new Map;function O_(r){return`load-products-table:${r}`}function R_(r){const n=fl.get(r);if(n&&Date.now()<n.expiresAt)return n.data;try{const l=localStorage.getItem(r);if(!l)return null;const s=JSON.parse(l);return Date.now()>=s.expiresAt?(localStorage.removeItem(r),null):(fl.set(r,s),s.data)}catch{return null}}function M_(r,n){const l={data:n,expiresAt:T_(),success:!0};fl.set(r,l),localStorage.setItem(r,JSON.stringify(l))}const z_=async({tenant_id:r})=>{if(!r)throw new Error(`No configuration found for tenant: ${r}`);const n=O_(r),l=R_(n);if(l)return{data:l,expiresAt:fl.get(n).expiresAt,success:!0};const o=await(await fetch(`${ln("VITE_API_URL")}/api/load-tables.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${nt.get("pbm-token")}`},body:JSON.stringify({tenant_id:r})})).json();if(o.informativeText!=="Processamento aprovado")throw new Error("PBMLOG: Load Products Table Failed!");nt.set("current-table-id",o.control.tableId,{secure:!0,sameSite:"Strict",expires:1}),nt.set("current-central-number",o.control.centralNumber.toString(),{secure:!0,sameSite:"Strict",expires:1}),nt.set("current-local-hour",o.local_hour,{secure:!0,sameSite:"Strict",expires:1});const f=k_(o.control.tableImage);return M_(n,f),{data:f,expiresAt:fl.get(n).expiresAt,success:!0}};function k_(r){const n=r.map(d=>d.state),l=r.flatMap(d=>d.cities.map(h=>h.city)),s=r.flatMap(d=>d.cities.flatMap(h=>h.federalCodes.map(y=>y.federalCode))),o=r.flatMap(d=>d.cities.flatMap(h=>h.federalCodes.flatMap(y=>y.programNames.map(p=>p.programName)))),f=r.flatMap(d=>d.cities.flatMap(h=>h.federalCodes.flatMap(y=>y.programNames.flatMap(p=>p.products.map(x=>x.ean)))));return{states:n,cities:l,federalCodes:s,programNames:o,products:f}}const j_=async({tenant_id:r,product:n})=>{if(!r)throw new Error(`No configuration found for tenant: ${r}`);if(!n)throw new Error("Product information is required");try{const s=await(await fetch(`${ln("VITE_API_URL")}/api/product.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${nt.get("pbm-token")}`},body:JSON.stringify({tenant_id:r,product:n,table_id:nt.get("current-table-id"),local_hour:nt.get("current-local-hour")})})).json();if(!s.success)throw new Error("PBMLOG: Get Product Failed!");return s}catch(l){return console.error("Error during get product:",l),{success:!1,error:"Get Product Failed"}}},V_=r=>{const{setTargetProduct:n,setBenefitsList:l,setIsAuthenticatedShopper:s,setCustomLoginUrl:o}=Jt(),{setTheme:f}=Rp(),[d,h]=ge.useState(!1),[y,p]=ge.useState(!1),[x,N]=ge.useState(!0),C=async()=>{try{const w=await C_({tenant_id:r.tenant_id});return w.success||console.error("PBMLOG: Authorization failed!"),w.success}catch(w){return console.error("Error fetching authorization:",w),!1}},S=async()=>{if(!r.target_product)return console.error("PBMLOG: Target product is not defined."),N(!1),!1;try{const w=await z_({tenant_id:r.tenant_id});return w.success?w.data.products.includes(r.target_product.ean.toString())?(N(!0),!0):!1:(console.error("PBMLOG: Product validation failed!"),!1)}catch(w){console.error("Error fetching product validation:",w),N(!1)}return!1},k=async()=>{try{if(!r.target_product)return console.error("PBMLOG: Target product is not defined."),N(!1),!1;const w=await j_({tenant_id:r.tenant_id,product:r.target_product});return w.success?!w.product||w.product.length===0?(console.error("PBMLOG: Product not found in discount check!"),N(!1),!1):(n({...w.product[0],requestedQuantity:"1",listPrice:ba.priceToInteger(r.target_product.listPrice),netPrice:ba.priceToInteger(r.target_product.netPrice)}),l(w.product.map(q=>({...q,listPrice:r.target_product.listPrice,netPrice:r.target_product.netPrice}))),s(r.is_authenticated_shopper),o(r.custom_login_url),N(!0),!0):(console.error("PBMLOG: Product discount check failed!"),N(!1),!1)}catch(w){return console.error(w),N(!1),!1}};return ge.useEffect(()=>{let w=!0;return(async()=>{if(r.theme&&f(r.theme),!await C()||!w)return;const Q=await Promise.all([S(),k()].filter(Boolean)).then(le=>le.every(Boolean));p(Q),!(!Q||!w)&&w&&h(!0)})(),()=>{w=!1}},[r.tenant_id]),{IsReady:d,IsValid:y,EanProductExist:x}};function B_(r){const{state:n}=Jt(),{IsReady:l,EanProductExist:s,IsValid:o}=V_(r),{setErrorMessage:f}=oh(),d=Rp(),[h,y]=ge.useTransition();if(o)return l?s?v.jsxDEV("div",{id:"pbm-library-root",style:{"--pbm-primary":d.primaryColor,"--pbm-secondary":d.secondaryColor,"--pbm-bg":d.backgroundColor,"--pbm-text":d.textColor,"--pbm-border":d.borderColor,"--pbm-outline-color":d.inputOutlineColor,"--pbm-outline-focus-color":d.inputOutlineFocusColor,"--pbm-input-focus-background":d.inputFocusBackgroundColor,"--pbm-input-background":d.inputBackgroundColor},children:[v.jsxDEV(Yu,{variant:"main",children:[v.jsxDEV(g1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:74,columnNumber:9},this),v.jsxDEV(Yu,{variant:"simple",children:h?v.jsxDEV(y1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:78,columnNumber:13},this):v.jsxDEV(v.Fragment,{children:[n==="isEmpty"&&v.jsxDEV(f1,{startTransition:y},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:82,columnNumber:17},this),n==="isInvalid"&&v.jsxDEV(N1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:84,columnNumber:41},this),n==="isRegistered"&&v.jsxDEV(S1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:85,columnNumber:44},this),(n==="isActivated"||n==="isPreview")&&v.jsxDEV(x1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:87,columnNumber:17},this),n==="isError"&&v.jsxDEV(uh,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:89,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:80,columnNumber:13},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:76,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:73,columnNumber:7},this),v.jsxDEV(B1,{ID:"ShopperIsNotAuthenticated"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:95,columnNumber:7},this),v.jsxDEV(k1,{ID:"CustomerNotRegistered"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:96,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:57,columnNumber:5},this):(f("O produto não foi encontrado no sistema. Por favor, tente novamente mais tarde ou contate o suporte."),v.jsxDEV("div",{id:"pbm-library-root",children:v.jsxDEV(uh,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:51,columnNumber:9},this)},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:50,columnNumber:7},this)):v.jsxDEV(__,{variant:"rectangular",style:{borderRadius:"12px"},width:460,height:358},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:35,columnNumber:7},this)}const U_=`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50: oklch(97.1% .013 17.38);--color-red-300: oklch(80.8% .114 19.571);--color-red-400: oklch(70.4% .191 22.216);--color-red-500: oklch(63.7% .237 25.331);--color-red-600: oklch(57.7% .245 27.325);--color-green-100: oklch(96.2% .044 156.743);--color-green-400: oklch(79.2% .209 151.711);--color-green-500: oklch(72.3% .219 149.579);--color-emerald-50: oklch(97.9% .021 166.113);--color-emerald-200: oklch(90.5% .093 164.15);--color-emerald-500: oklch(69.6% .17 162.48);--color-emerald-600: oklch(59.6% .145 163.225);--color-emerald-700: oklch(50.8% .118 165.612);--color-blue-400: oklch(70.7% .165 254.624);--color-blue-500: oklch(62.3% .214 259.815);--color-gray-50: oklch(98.5% .002 247.839);--color-gray-100: oklch(96.7% .003 264.542);--color-gray-200: oklch(92.8% .006 264.531);--color-gray-300: oklch(87.2% .01 258.338);--color-gray-400: oklch(70.7% .022 261.325);--color-gray-500: oklch(55.1% .027 264.364);--color-gray-600: oklch(44.6% .03 256.802);--color-gray-800: oklch(27.8% .033 256.848);--color-zinc-50: oklch(98.5% 0 0);--color-zinc-100: oklch(96.7% .001 286.375);--color-zinc-200: oklch(92% .004 286.32);--color-zinc-300: oklch(87.1% .006 286.286);--color-zinc-400: oklch(70.5% .015 286.067);--color-zinc-500: oklch(55.2% .016 285.938);--color-zinc-600: oklch(44.2% .017 285.786);--color-zinc-700: oklch(37% .013 285.805);--color-zinc-800: oklch(27.4% .006 286.033);--color-zinc-900: oklch(21% .006 285.885);--color-black: #000;--color-white: #fff;--spacing: .25rem;--container-3xs: 16rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--text-xl: 1.25rem;--text-xl--line-height: calc(1.75 / 1.25);--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--tracking-wide: .025em;--leading-snug: 1.375;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--animate-spin: spin 1s linear infinite;--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-4{top:calc(var(--spacing) * -4)}.top-1\\/2{top:50%}.top-3\\.5{top:calc(var(--spacing) * 3.5)}.-right-3{right:calc(var(--spacing) * -3)}.right-3{right:calc(var(--spacing) * 3)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.left-2{left:calc(var(--spacing) * 2)}.left-10{left:calc(var(--spacing) * 10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-0{height:calc(var(--spacing) * 0)}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-auto{height:auto}.max-h-\\[90vh\\]{max-height:90vh}.w-1\\/5{width:20%}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-3xs{width:var(--container-3xs)}.w-4{width:calc(var(--spacing) * 4)}.w-4\\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-16{width:calc(var(--spacing) * 16)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\(--max-container\\){max-width:var(--max-container)}.max-w-125{max-width:calc(var(--spacing) * 125)}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.min-w-\\(--min-container\\){min-width:var(--min-container)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-20{min-width:calc(var(--spacing) * 20)}.min-w-125{min-width:calc(var(--spacing) * 125)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.flex-1{flex:1}.flex-2{flex:2}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-0{rotate:0deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-end-safe{justify-content:safe flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:calc(infinity * 1px)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-\\(--pbm-border\\){border-color:var(--pbm-border)}.border-\\(--pbm-primary\\){border-color:var(--pbm-primary)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-emerald-700{border-color:var(--color-emerald-700)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-red-300{border-color:var(--color-red-300)}.border-red-400{border-color:var(--color-red-400)}.border-zinc-100{border-color:var(--color-zinc-100)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:color-mix(in srgb,oklch(70.5% .015 286.067) 50%,transparent)}@supports (color: color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400) 50%,transparent)}}.bg-\\(--pbm-input-background\\){background-color:var(--pbm-input-background)}.bg-\\(--pbm-primary\\){background-color:var(--pbm-primary)}.bg-\\(--primary-color\\){background-color:var(--primary-color)}.bg-black\\/40{background-color:color-mix(in srgb,#000 40%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-50\\/60{background-color:color-mix(in srgb,oklch(97.9% .021 166.113) 60%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-emerald-50\\/60{background-color:color-mix(in oklab,var(--color-emerald-50) 60%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\\/40{background-color:color-mix(in srgb,oklch(97.1% .013 17.38) 40%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-red-50\\/40{background-color:color-mix(in oklab,var(--color-red-50) 40%,transparent)}}.bg-transparent{background-color:transparent}.bg-white{background-color:var(--color-white)}.bg-zinc-50\\/40{background-color:color-mix(in srgb,oklch(98.5% 0 0) 40%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-zinc-50\\/40{background-color:color-mix(in oklab,var(--color-zinc-50) 40%,transparent)}}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-300\\/60{background-color:color-mix(in srgb,oklch(87.1% .006 286.286) 60%,transparent)}@supports (color: color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300) 60%,transparent)}}.p-0{padding:calc(var(--spacing) * 0)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading, var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading, var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading, var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.leading-snug{--tw-leading: var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight: var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-light{--tw-font-weight: var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking: var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-nowrap{text-wrap:nowrap}.whitespace-nowrap{white-space:nowrap}.text-\\(--pbm-primary\\){color:var(--pbm-primary)}.text-blue-500{color:var(--color-blue-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-800{color:var(--color-gray-800)}.text-green-500{color:var(--color-green-500)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-700{color:var(--color-zinc-700)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.uppercase{text-transform:uppercase}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0%}.opacity-25{opacity:25%}.opacity-60{opacity:60%}.opacity-75{opacity:75%}.opacity-100{opacity:100%}.shadow{--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-4{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-\\(--pbm-primary\\)\\/15{--tw-ring-color: var(--pbm-primary)}@supports (color: color-mix(in lab,red,red)){.ring-\\(--pbm-primary\\)\\/15{--tw-ring-color: color-mix(in oklab, var(--pbm-primary) 15%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-\\(--pbm-outline-color\\){outline-color:var(--pbm-outline-color)}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.duration-100{--tw-duration: .1s;transition-duration:.1s}.duration-150{--tw-duration: .15s;transition-duration:.15s}.duration-300{--tw-duration: .3s;transition-duration:.3s}.outline-none{--tw-outline-style: none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}.after\\:h-2:after{content:var(--tw-content);height:calc(var(--spacing) * 2)}.after\\:w-2:after{content:var(--tw-content);width:calc(var(--spacing) * 2)}.after\\:scale-0:after{content:var(--tw-content);--tw-scale-x: 0%;--tw-scale-y: 0%;--tw-scale-z: 0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.after\\:rounded-full:after{content:var(--tw-content);border-radius:calc(infinity * 1px)}.after\\:bg-\\(--pbm-primary\\):after{content:var(--tw-content);background-color:var(--pbm-primary)}.after\\:transition-transform:after{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.after\\:duration-200:after{content:var(--tw-content);--tw-duration: .2s;transition-duration:.2s}.after\\:content-\\[\\'\\'\\]:after{--tw-content: "";content:var(--tw-content)}.peer-checked\\:after\\:scale-100:is(:where(.peer):checked~*):after{content:var(--tw-content);--tw-scale-x: 100%;--tw-scale-y: 100%;--tw-scale-z: 100%;scale:var(--tw-scale-x) var(--tw-scale-y)}@media(hover:hover){.hover\\:border-\\(--pbm-primary\\):hover{border-color:var(--pbm-primary)}}@media(hover:hover){.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}}@media(hover:hover){.hover\\:border-zinc-200:hover{border-color:var(--color-zinc-200)}}@media(hover:hover){.hover\\:bg-\\(--pbm-primary\\)\\/60:hover{background-color:var(--pbm-primary)}@supports (color: color-mix(in lab,red,red)){.hover\\:bg-\\(--pbm-primary\\)\\/60:hover{background-color:color-mix(in oklab,var(--pbm-primary) 60%,transparent)}}}@media(hover:hover){.hover\\:bg-\\(--primary-color\\)\\/80:hover{background-color:var(--primary-color)}@supports (color: color-mix(in lab,red,red)){.hover\\:bg-\\(--primary-color\\)\\/80:hover{background-color:color-mix(in oklab,var(--primary-color) 80%,transparent)}}}@media(hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}}@media(hover:hover){.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}}@media(hover:hover){.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}}@media(hover:hover){.hover\\:bg-gray-500:hover{background-color:var(--color-gray-500)}}@media(hover:hover){.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}}@media(hover:hover){.hover\\:bg-transparent:hover{background-color:transparent}}@media(hover:hover){.hover\\:bg-zinc-600\\/10:hover{background-color:color-mix(in srgb,oklch(44.2% .017 285.786) 10%,transparent)}@supports (color: color-mix(in lab,red,red)){.hover\\:bg-zinc-600\\/10:hover{background-color:color-mix(in oklab,var(--color-zinc-600) 10%,transparent)}}}@media(hover:hover){.hover\\:text-\\(--pbm-primary\\)\\/60:hover{color:var(--pbm-primary)}@supports (color: color-mix(in lab,red,red)){.hover\\:text-\\(--pbm-primary\\)\\/60:hover{color:color-mix(in oklab,var(--pbm-primary) 60%,transparent)}}}@media(hover:hover){.hover\\:text-gray-600:hover{color:var(--color-gray-600)}}@media(hover:hover){.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}}@media(hover:hover){.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\\:bg-\\(--pbm-input-focus\\):focus{background-color:var(--pbm-input-focus)}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:ring-2:focus{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-500\\/30:focus{--tw-ring-color: color-mix(in srgb, oklch(62.3% .214 259.815) 30%, transparent)}@supports (color: color-mix(in lab,red,red)){.focus\\:ring-blue-500\\/30:focus{--tw-ring-color: color-mix(in oklab, var(--color-blue-500) 30%, transparent)}}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\(--pbm-outline-focus-color\\):focus{outline-color:var(--pbm-outline-focus-color)}@media(min-width:40rem){.sm\\:block{display:block}}}:root{--max-container: 556px;--min-container: 350px}@property --tw-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-tracking{syntax: "*"; inherits: false;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-duration{syntax: "*"; inherits: false;}@property --tw-content{syntax: "*"; initial-value: ""; inherits: false;}@property --tw-scale-x{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-scale-y{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-scale-z{syntax: "*"; inherits: false; initial-value: 1;}@keyframes spin{to{transform:rotate(360deg)}}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-border-style: solid;--tw-leading: initial;--tw-font-weight: initial;--tw-tracking: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-outline-style: solid;--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-duration: initial;--tw-content: "";--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1}}}`,L_={id:"100282",ean:"7891142982513",requestedQuantity:"1",listPrice:"56579",netPrice:"56579"};window.pbm=gv();class q_ extends HTMLElement{constructor(){super();Zd(this,"root",null);Zd(this,"props",{tenant_id:"",target_product:L_,is_authenticated_shopper:!1,custom_login_url:"/login"});this.attachShadow({mode:"open"})}static get observedAttributes(){return["original_product_price","tenant_id","target_product","is_authenticated_shopper","custom_login_url","theme"]}updatePropsFromAttributes(){const l=this.getAttribute("tenant_id"),s=this.getAttribute("target_product"),o=this.getAttribute("is_authenticated_shopper"),f=this.getAttribute("custom_login_url"),d=this.getAttribute("theme");if(o!==null&&(this.props.is_authenticated_shopper=o==="true"),f!==null&&(this.props.custom_login_url=f===""?"/login":f),l!==null&&(this.props.tenant_id=l),s!==null&&(this.props.target_product=JSON.parse(s)),d!==null)try{this.props.theme=JSON.parse(d)}catch(h){console.error("PBMLOG: Error parsing theme attribute -",h)}}connectedCallback(){this.updatePropsFromAttributes(),this.mount()}attributeChangedCallback(l,s,o){if(l==="tenant_id"&&(this.props.tenant_id=o),l==="target_product"&&(this.props.target_product=JSON.parse(o)),l==="is_authenticated_shopper"&&(this.props.is_authenticated_shopper=o==="true"),l==="custom_login_url"&&(this.props.custom_login_url=o===""?"/login":o),l==="theme")try{this.props.theme=o?JSON.parse(o):void 0}catch(f){console.error("PBMLOG: Error parsing theme attribute -",f)}this.mount()}mount(){if(!this.isConnected)return;let l=this.shadowRoot;if(!(!l&&(this.attachShadow({mode:"open"}),l=this.shadowRoot,!l))){if(!l.querySelector("#pbm-shadow-root")){const s=document.createElement("div");s.id="pbm-shadow-root";const o=document.createElement("style");o.textContent=U_,l.appendChild(o),l.appendChild(s),this.root=Bb.createRoot(s)}this.root&&this.root.render(v.jsxDEV(B_,{...this.props},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/web/PBM-webcomponent.tsx",lineNumber:138,columnNumber:24},this))}}}customElements.define("pbm-component",q_)})();