@agrada_digital/pbm 0.0.129 → 0.0.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vanilla.js +393 -41
- package/package.json +2 -1
package/dist/vanilla.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
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={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-dev-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,48 @@ var IC=Object.defineProperty;var PC=(Ja,Ia,tr)=>Ia in Ja?IC(Ja,Ia,{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
|
|
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={};/**
|
|
10
51
|
* @license React
|
|
11
52
|
* scheduler.production.js
|
|
12
53
|
*
|
|
@@ -14,15 +55,15 @@ var IC=Object.defineProperty;var PC=(Ja,Ia,tr)=>Ia in Ja?IC(Ja,Ia,{enumerable:!0
|
|
|
14
55
|
*
|
|
15
56
|
* This source code is licensed under the MIT license found in the
|
|
16
57
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
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={};/**
|
|
18
59
|
* @license React
|
|
19
|
-
*
|
|
60
|
+
* scheduler.development.js
|
|
20
61
|
*
|
|
21
62
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
63
|
*
|
|
23
64
|
* This source code is licensed under the MIT license found in the
|
|
24
65
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var
|
|
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={};/**
|
|
26
67
|
* @license React
|
|
27
68
|
* react-dom.production.js
|
|
28
69
|
*
|
|
@@ -30,7 +71,19 @@ var IC=Object.defineProperty;var PC=(Ja,Ia,tr)=>Ia in Ja?IC(Ja,Ia,{enumerable:!0
|
|
|
30
71
|
*
|
|
31
72
|
* This source code is licensed under the MIT license found in the
|
|
32
73
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var
|
|
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}/**
|
|
34
87
|
* @license React
|
|
35
88
|
* react-dom-client.production.js
|
|
36
89
|
*
|
|
@@ -38,71 +91,318 @@ var IC=Object.defineProperty;var PC=(Ja,Ia,tr)=>Ia in Ja?IC(Ja,Ia,{enumerable:!0
|
|
|
38
91
|
*
|
|
39
92
|
* This source code is licensed under the MIT license found in the
|
|
40
93
|
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var
|
|
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(`
|
|
42
114
|
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+
|
|
44
|
-
`),
|
|
45
|
-
`);for(
|
|
46
|
-
`+
|
|
47
|
-
|
|
48
|
-
`+i.stack}}var dl=Object.prototype.hasOwnProperty,Qs=n.unstable_scheduleCallback,Pr=n.unstable_cancelCallback,C=n.unstable_shouldYield,R=n.unstable_requestPaint,k=n.unstable_now,re=n.unstable_getCurrentPriorityLevel,W=n.unstable_ImmediatePriority,te=n.unstable_UserBlockingPriority,fe=n.unstable_NormalPriority,Ce=n.unstable_LowPriority,He=n.unstable_IdlePriority,Ft=n.log,xa=n.unstable_setDisableYieldValue,Ct=null,Qt=null;function Sa(e){if(typeof Ft=="function"&&xa(e),Qt&&typeof Qt.setStrictMode=="function")try{Qt.setStrictMode(Ct,e)}catch{}}var jt=Math.clz32?Math.clz32:Dc,wc=Math.log,Xs=Math.LN2;function Dc(e){return e>>>=0,e===0?32:31-(wc(e)/Xs|0)|0}var mr=256,Ks=262144,Js=4194304;function hr(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 Is(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var o=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var g=i&134217727;return g!==0?(i=g&~c,i!==0?o=hr(i):(m&=g,m!==0?o=hr(m):a||(a=g&~e,a!==0&&(o=hr(a))))):(g=i&~c,g!==0?o=hr(g):m!==0?o=hr(m):a||(a=i&~e,a!==0&&(o=hr(a)))),o===0?0:t!==0&&t!==o&&(t&c)===0&&(c=o&-o,a=t&-t,c>=a||c===32&&(a&4194048)!==0)?t:o}function ml(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function U_(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 Op(){var e=Js;return Js<<=1,(Js&62914560)===0&&(Js=4194304),e}function Ac(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function hl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function L_(e,t,a,i,o,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,z=e.hiddenUpdates;for(a=m&~a;0<a;){var H=31-jt(a),Z=1<<H;g[H]=0,_[H]=-1;var j=z[H];if(j!==null)for(z[H]=null,H=0;H<j.length;H++){var B=j[H];B!==null&&(B.lane&=-536870913)}a&=~Z}i!==0&&Rp(e,i,0),c!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function Rp(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-jt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function Mp(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-jt(a),o=1<<i;o&t|e[i]&t&&(e[i]|=t),a&=~o}}function zp(e,t){var a=t&-t;return a=(a&42)!==0?1:Tc(a),(a&(e.suspendedLanes|t))!==0?0:a}function Tc(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 Oc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function kp(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:vb(e.type))}function jp(e,t){var a=X.p;try{return X.p=e,t()}finally{X.p=a}}var Rn=Math.random().toString(36).slice(2),Vt="__reactFiber$"+Rn,Pt="__reactProps$"+Rn,Wr="__reactContainer$"+Rn,Rc="__reactEvents$"+Rn,H_="__reactListeners$"+Rn,q_="__reactHandles$"+Rn,Vp="__reactResources$"+Rn,pl="__reactMarker$"+Rn;function Mc(e){delete e[Vt],delete e[Pt],delete e[Rc],delete e[H_],delete e[q_]}function ei(e){var t=e[Vt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Wr]||a[Vt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=nb(e);e!==null;){if(a=e[Vt])return a;e=nb(e)}return t}e=a,a=e.parentNode}return null}function ti(e){if(e=e[Vt]||e[Wr]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function gl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function ai(e){var t=e[Vp];return t||(t=e[Vp]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Rt(e){e[pl]=!0}var Bp=new Set,Up={};function pr(e,t){ni(e,t),ni(e+"Capture",t)}function ni(e,t){for(Up[e]=t,e=0;e<t.length;e++)Bp.add(t[e])}var G_=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]*$"),Lp={},Hp={};function Z_(e){return dl.call(Hp,e)?!0:dl.call(Lp,e)?!1:G_.test(e)?Hp[e]=!0:(Lp[e]=!0,!1)}function Ps(e,t,a){if(Z_(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 Ws(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 nn(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 Na(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Y_(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 o=i.get,c=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.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 zc(e){if(!e._valueTracker){var t=qp(e)?"checked":"value";e._valueTracker=Y_(e,t,""+e[t])}}function Gp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=qp(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function eo(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 $_=/[\n"\\]/g;function _a(e){return e.replace($_,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function kc(e,t,a,i,o,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=""+Na(t)):e.value!==""+Na(t)&&(e.value=""+Na(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?jc(e,m,Na(t)):a!=null?jc(e,m,Na(a)):i!=null&&e.removeAttribute("value"),o==null&&c!=null&&(e.defaultChecked=!!c),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+Na(g):e.removeAttribute("name")}function Zp(e,t,a,i,o,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)){zc(e);return}a=a!=null?""+Na(a):"",t=t!=null?""+Na(t):a,g||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,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),zc(e)}function jc(e,t,a){t==="number"&&eo(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function ri(e,t,a,i){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&i&&(e[a].defaultSelected=!0)}else{for(a=""+Na(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Yp(e,t,a){if(t!=null&&(t=""+Na(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Na(a):""}function $p(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error(s(92));if(le(i)){if(1<i.length)throw Error(s(93));i=i[0]}a=i}a==null&&(a=""),t=a}a=Na(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),zc(e)}function ii(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var F_=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 Fp(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||F_.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Qp(e,t,a){if(t!=null&&typeof t!="object")throw Error(s(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 o in t)i=t[o],t.hasOwnProperty(o)&&a[o]!==i&&Fp(e,o,i)}else for(var c in t)t.hasOwnProperty(c)&&Fp(e,c,t[c])}function Vc(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 Q_=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"]]),X_=/^[\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 to(e){return X_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function rn(){}var Bc=null;function Uc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var li=null,si=null;function Xp(e){var t=ti(e);if(t&&(e=t.stateNode)){var a=e[Pt]||null;e:switch(e=t.stateNode,t.type){case"input":if(kc(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="'+_a(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var o=i[Pt]||null;if(!o)throw Error(s(90));kc(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&Gp(i)}break e;case"textarea":Yp(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ri(e,!!a.multiple,t,!1)}}}var Lc=!1;function Kp(e,t,a){if(Lc)return e(t,a);Lc=!0;try{var i=e(t);return i}finally{if(Lc=!1,(li!==null||si!==null)&&(Zo(),li&&(t=li,e=si,si=li=null,Xp(t),e)))for(t=0;t<e.length;t++)Xp(e[t])}}function yl(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Pt]||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(s(231,t,typeof a));return a}var ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hc=!1;if(ln)try{var bl={};Object.defineProperty(bl,"passive",{get:function(){Hc=!0}}),window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{Hc=!1}var Mn=null,qc=null,ao=null;function Jp(){if(ao)return ao;var e,t=qc,a=t.length,i,o="value"in Mn?Mn.value:Mn.textContent,c=o.length;for(e=0;e<a&&t[e]===o[e];e++);var m=a-e;for(i=1;i<=m&&t[a-i]===o[c-i];i++);return ao=o.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 ro(){return!0}function Ip(){return!1}function Wt(e){function t(a,i,o,c,m){this._reactName=a,this._targetInst=o,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)?ro:Ip,this.isPropagationStopped=Ip,this}return v(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=ro)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ro)},persist:function(){},isPersistent:ro}),t}var gr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},io=Wt(gr),vl=v({},gr,{view:0,detail:0}),K_=Wt(vl),Gc,Zc,xl,lo=v({},vl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$c,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!==xl&&(xl&&e.type==="mousemove"?(Gc=e.screenX-xl.screenX,Zc=e.screenY-xl.screenY):Zc=Gc=0,xl=e),Gc)},movementY:function(e){return"movementY"in e?e.movementY:Zc}}),Pp=Wt(lo),J_=v({},lo,{dataTransfer:0}),I_=Wt(J_),P_=v({},vl,{relatedTarget:0}),Yc=Wt(P_),W_=v({},gr,{animationName:0,elapsedTime:0,pseudoElement:0}),e2=Wt(W_),t2=v({},gr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),a2=Wt(t2),n2=v({},gr,{data:0}),Wp=Wt(n2),r2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i2={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"},l2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function s2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=l2[e])?!!t[e]:!1}function $c(){return s2}var o2=v({},vl,{key:function(e){if(e.key){var t=r2[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"?i2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$c,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}}),u2=Wt(o2),c2=v({},lo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),eg=Wt(c2),f2=v({},vl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$c}),d2=Wt(f2),m2=v({},gr,{propertyName:0,elapsedTime:0,pseudoElement:0}),h2=Wt(m2),p2=v({},lo,{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}),g2=Wt(p2),y2=v({},gr,{newState:0,oldState:0}),b2=Wt(y2),v2=[9,13,27,32],Fc=ln&&"CompositionEvent"in window,Sl=null;ln&&"documentMode"in document&&(Sl=document.documentMode);var x2=ln&&"TextEvent"in window&&!Sl,tg=ln&&(!Fc||Sl&&8<Sl&&11>=Sl),ag=" ",ng=!1;function rg(e,t){switch(e){case"keyup":return v2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ig(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oi=!1;function S2(e,t){switch(e){case"compositionend":return ig(t);case"keypress":return t.which!==32?null:(ng=!0,ag);case"textInput":return e=t.data,e===ag&&ng?null:e;default:return null}}function N2(e,t){if(oi)return e==="compositionend"||!Fc&&rg(e,t)?(e=Jp(),ao=qc=Mn=null,oi=!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 tg&&t.locale!=="ko"?null:t.data;default:return null}}var _2={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 lg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_2[e.type]:t==="textarea"}function sg(e,t,a,i){li?si?si.push(i):si=[i]:li=i,t=Jo(t,"onChange"),0<t.length&&(a=new io("onChange","change",null,a,i),e.push({event:a,listeners:t}))}var Nl=null,_l=null;function C2(e){Zy(e,0)}function so(e){var t=gl(e);if(Gp(t))return e}function og(e,t){if(e==="change")return t}var ug=!1;if(ln){var Qc;if(ln){var Xc="oninput"in document;if(!Xc){var cg=document.createElement("div");cg.setAttribute("oninput","return;"),Xc=typeof cg.oninput=="function"}Qc=Xc}else Qc=!1;ug=Qc&&(!document.documentMode||9<document.documentMode)}function fg(){Nl&&(Nl.detachEvent("onpropertychange",dg),_l=Nl=null)}function dg(e){if(e.propertyName==="value"&&so(_l)){var t=[];sg(t,_l,e,Uc(e)),Kp(C2,t)}}function E2(e,t,a){e==="focusin"?(fg(),Nl=t,_l=a,Nl.attachEvent("onpropertychange",dg)):e==="focusout"&&fg()}function w2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return so(_l)}function D2(e,t){if(e==="click")return so(t)}function A2(e,t){if(e==="input"||e==="change")return so(t)}function T2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ua=typeof Object.is=="function"?Object.is:T2;function Cl(e,t){if(ua(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 o=a[i];if(!dl.call(t,o)||!ua(e[o],t[o]))return!1}return!0}function mg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hg(e,t){var a=mg(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=mg(a)}}function pg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=eo(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=eo(e.document)}return t}function Kc(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 O2=ln&&"documentMode"in document&&11>=document.documentMode,ui=null,Jc=null,El=null,Ic=!1;function yg(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ic||ui==null||ui!==eo(i)||(i=ui,"selectionStart"in i&&Kc(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}),El&&Cl(El,i)||(El=i,i=Jo(Jc,"onSelect"),0<i.length&&(t=new io("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=ui)))}function yr(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ci={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionrun:yr("Transition","TransitionRun"),transitionstart:yr("Transition","TransitionStart"),transitioncancel:yr("Transition","TransitionCancel"),transitionend:yr("Transition","TransitionEnd")},Pc={},bg={};ln&&(bg=document.createElement("div").style,"AnimationEvent"in window||(delete ci.animationend.animation,delete ci.animationiteration.animation,delete ci.animationstart.animation),"TransitionEvent"in window||delete ci.transitionend.transition);function br(e){if(Pc[e])return Pc[e];if(!ci[e])return e;var t=ci[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in bg)return Pc[e]=t[a];return e}var vg=br("animationend"),xg=br("animationiteration"),Sg=br("animationstart"),R2=br("transitionrun"),M2=br("transitionstart"),z2=br("transitioncancel"),Ng=br("transitionend"),_g=new Map,Wc="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(" ");Wc.push("scrollEnd");function Va(e,t){_g.set(e,t),pr(t,[e])}var oo=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)},Ca=[],fi=0,ef=0;function uo(){for(var e=fi,t=ef=fi=0;t<e;){var a=Ca[t];Ca[t++]=null;var i=Ca[t];Ca[t++]=null;var o=Ca[t];Ca[t++]=null;var c=Ca[t];if(Ca[t++]=null,i!==null&&o!==null){var m=i.pending;m===null?o.next=o:(o.next=m.next,m.next=o),i.pending=o}c!==0&&Cg(a,o,c)}}function co(e,t,a,i){Ca[fi++]=e,Ca[fi++]=t,Ca[fi++]=a,Ca[fi++]=i,ef|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function tf(e,t,a,i){return co(e,t,a,i),fo(e)}function vr(e,t){return co(e,null,null,t),fo(e)}function Cg(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var o=!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||(o=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,o&&t!==null&&(o=31-jt(a),e=c.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=a|536870912),c):null}function fo(e){if(50<Ql)throw Ql=0,fd=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var di={};function k2(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 ca(e,t,a,i){return new k2(e,t,a,i)}function af(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sn(e,t){var a=e.alternate;return a===null?(a=ca(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 Eg(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 mo(e,t,a,i,o,c){var m=0;if(i=e,typeof e=="function")af(e)&&(m=1);else if(typeof e=="string")m=LC(e,a,ue.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Me:return e=ca(31,a,t,o),e.elementType=Me,e.lanes=c,e;case E:return xr(a.children,o,c,t);case q:m=8,o|=24;break;case P:return e=ca(12,a,t,o|2),e.elementType=P,e.lanes=c,e;case U:return e=ca(13,a,t,o),e.elementType=U,e.lanes=c,e;case Q:return e=ca(19,a,t,o),e.elementType=Q,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ae:m=10;break e;case K:m=9;break e;case ee:m=11;break e;case J:m=14;break e;case _e:m=16,i=null;break e}m=29,a=Error(s(130,e===null?"null":typeof e,"")),i=null}return t=ca(m,a,t,o),t.elementType=e,t.type=i,t.lanes=c,t}function xr(e,t,a,i){return e=ca(7,e,i,t),e.lanes=a,e}function nf(e,t,a){return e=ca(6,e,null,t),e.lanes=a,e}function wg(e){var t=ca(18,null,null,0);return t.stateNode=e,t}function rf(e,t,a){return t=ca(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Dg=new WeakMap;function Ea(e,t){if(typeof e=="object"&&e!==null){var a=Dg.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Fs(t)},Dg.set(e,t),t)}return{value:e,source:t,stack:Fs(t)}}var mi=[],hi=0,ho=null,wl=0,wa=[],Da=0,zn=null,Fa=1,Qa="";function on(e,t){mi[hi++]=wl,mi[hi++]=ho,ho=e,wl=t}function Ag(e,t,a){wa[Da++]=Fa,wa[Da++]=Qa,wa[Da++]=zn,zn=e;var i=Fa;e=Qa;var o=32-jt(i)-1;i&=~(1<<o),a+=1;var c=32-jt(t)+o;if(30<c){var m=o-o%5;c=(i&(1<<m)-1).toString(32),i>>=m,o-=m,Fa=1<<32-jt(t)+o|a<<o|i,Qa=c+e}else Fa=1<<c|a<<o|i,Qa=e}function lf(e){e.return!==null&&(on(e,1),Ag(e,1,0))}function sf(e){for(;e===ho;)ho=mi[--hi],mi[hi]=null,wl=mi[--hi],mi[hi]=null;for(;e===zn;)zn=wa[--Da],wa[Da]=null,Qa=wa[--Da],wa[Da]=null,Fa=wa[--Da],wa[Da]=null}function Tg(e,t){wa[Da++]=Fa,wa[Da++]=Qa,wa[Da++]=zn,Fa=t.id,Qa=t.overflow,zn=e}var Bt=null,lt=null,je=!1,kn=null,Aa=!1,of=Error(s(519));function jn(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Dl(Ea(t,e)),of}function Og(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Vt]=e,t[Pt]=i,a){case"dialog":Re("cancel",t),Re("close",t);break;case"iframe":case"object":case"embed":Re("load",t);break;case"video":case"audio":for(a=0;a<Kl.length;a++)Re(Kl[a],t);break;case"source":Re("error",t);break;case"img":case"image":case"link":Re("error",t),Re("load",t);break;case"details":Re("toggle",t);break;case"input":Re("invalid",t),Zp(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Re("invalid",t);break;case"textarea":Re("invalid",t),$p(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||Qy(t.textContent,a)?(i.popover!=null&&(Re("beforetoggle",t),Re("toggle",t)),i.onScroll!=null&&Re("scroll",t),i.onScrollEnd!=null&&Re("scrollend",t),i.onClick!=null&&(t.onclick=rn),t=!0):t=!1,t||jn(e,!0)}function Rg(e){for(Bt=e.return;Bt;)switch(Bt.tag){case 5:case 31:case 13:Aa=!1;return;case 27:case 3:Aa=!0;return;default:Bt=Bt.return}}function pi(e){if(e!==Bt)return!1;if(!je)return Rg(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")||wd(e.type,e.memoizedProps)),a=!a),a&<&&jn(e),Rg(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));lt=ab(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));lt=ab(e)}else t===27?(t=lt,Kn(e.type)?(e=Rd,Rd=null,lt=e):lt=t):lt=Bt?Oa(e.stateNode.nextSibling):null;return!0}function Sr(){lt=Bt=null,je=!1}function uf(){var e=kn;return e!==null&&(na===null?na=e:na.push.apply(na,e),kn=null),e}function Dl(e){kn===null?kn=[e]:kn.push(e)}var cf=A(null),Nr=null,un=null;function Vn(e,t,a){ne(cf,t._currentValue),t._currentValue=a}function cn(e){e._currentValue=cf.current,Y(cf)}function ff(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 df(e,t,a,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var c=o.dependencies;if(c!==null){var m=o.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=o;for(var _=0;_<t.length;_++)if(g.context===t[_]){c.lanes|=a,g=c.alternate,g!==null&&(g.lanes|=a),ff(c.return,a,e),i||(m=null);break e}c=g.next}}else if(o.tag===18){if(m=o.return,m===null)throw Error(s(341));m.lanes|=a,c=m.alternate,c!==null&&(c.lanes|=a),ff(m,a,e),m=null}else m=o.child;if(m!==null)m.return=o;else for(m=o;m!==null;){if(m===e){m=null;break}if(o=m.sibling,o!==null){o.return=m.return,m=o;break}m=m.return}o=m}}function gi(e,t,a,i){e=null;for(var o=t,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var m=o.alternate;if(m===null)throw Error(s(387));if(m=m.memoizedProps,m!==null){var g=o.type;ua(o.pendingProps.value,m.value)||(e!==null?e.push(g):e=[g])}}else if(o===Be.current){if(m=o.alternate,m===null)throw Error(s(387));m.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(es):e=[es])}o=o.return}e!==null&&df(t,e,a,i),t.flags|=262144}function po(e){for(e=e.firstContext;e!==null;){if(!ua(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _r(e){Nr=e,un=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ut(e){return Mg(Nr,e)}function go(e,t){return Nr===null&&_r(e),Mg(e,t)}function Mg(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},un===null){if(e===null)throw Error(s(308));un=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else un=un.next=t;return a}var j2=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()})}},V2=n.unstable_scheduleCallback,B2=n.unstable_NormalPriority,Et={$$typeof:ae,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new j2,data:new Map,refCount:0}}function Al(e){e.refCount--,e.refCount===0&&V2(B2,function(){e.controller.abort()})}var Tl=null,hf=0,yi=0,bi=null;function U2(e,t){if(Tl===null){var a=Tl=[];hf=0,yi=yd(),bi={status:"pending",value:void 0,then:function(i){a.push(i)}}}return hf++,t.then(zg,zg),t}function zg(){if(--hf===0&&Tl!==null){bi!==null&&(bi.status="fulfilled");var e=Tl;Tl=null,yi=0,bi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function L2(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}var kg=O.S;O.S=function(e,t){yy=k(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&U2(e,t),kg!==null&&kg(e,t)};var Cr=A(null);function pf(){var e=Cr.current;return e!==null?e:nt.pooledCache}function yo(e,t){t===null?ne(Cr,Cr.current):ne(Cr,t.pool)}function jg(){var e=pf();return e===null?null:{parent:Et._currentValue,pool:e}}var xi=Error(s(460)),gf=Error(s(474)),bo=Error(s(542)),vo={then:function(){}};function Vg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Bg(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(rn,rn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Lg(e),e;default:if(typeof t.status=="string")t.then(rn,rn);else{if(e=nt,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=i}},function(i){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Lg(e),e}throw wr=t,xi}}function Er(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(wr=a,xi):a}}var wr=null;function Ug(){if(wr===null)throw Error(s(459));var e=wr;return wr=null,e}function Lg(e){if(e===xi||e===bo)throw Error(s(483))}var Si=null,Ol=0;function xo(e){var t=Ol;return Ol+=1,Si===null&&(Si=[]),Bg(Si,e,t)}function Rl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function So(e,t){throw t.$$typeof===D?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Hg(e){function t(T,w){if(e){var M=T.deletions;M===null?(T.deletions=[w],T.flags|=16):M.push(w)}}function a(T,w){if(!e)return null;for(;w!==null;)t(T,w),w=w.sibling;return null}function i(T){for(var w=new Map;T!==null;)T.key!==null?w.set(T.key,T):w.set(T.index,T),T=T.sibling;return w}function o(T,w){return T=sn(T,w),T.index=0,T.sibling=null,T}function c(T,w,M){return T.index=M,e?(M=T.alternate,M!==null?(M=M.index,M<w?(T.flags|=67108866,w):M):(T.flags|=67108866,w)):(T.flags|=1048576,w)}function m(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function g(T,w,M,G){return w===null||w.tag!==6?(w=nf(M,T.mode,G),w.return=T,w):(w=o(w,M),w.return=T,w)}function _(T,w,M,G){var ge=M.type;return ge===E?H(T,w,M.props.children,G,M.key):w!==null&&(w.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===_e&&Er(ge)===w.type)?(w=o(w,M.props),Rl(w,M),w.return=T,w):(w=mo(M.type,M.key,M.props,null,T.mode,G),Rl(w,M),w.return=T,w)}function z(T,w,M,G){return w===null||w.tag!==4||w.stateNode.containerInfo!==M.containerInfo||w.stateNode.implementation!==M.implementation?(w=rf(M,T.mode,G),w.return=T,w):(w=o(w,M.children||[]),w.return=T,w)}function H(T,w,M,G,ge){return w===null||w.tag!==7?(w=xr(M,T.mode,G,ge),w.return=T,w):(w=o(w,M),w.return=T,w)}function Z(T,w,M){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=nf(""+w,T.mode,M),w.return=T,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case N:return M=mo(w.type,w.key,w.props,null,T.mode,M),Rl(M,w),M.return=T,M;case V:return w=rf(w,T.mode,M),w.return=T,w;case _e:return w=Er(w),Z(T,w,M)}if(le(w)||b(w))return w=xr(w,T.mode,M,null),w.return=T,w;if(typeof w.then=="function")return Z(T,xo(w),M);if(w.$$typeof===ae)return Z(T,go(T,w),M);So(T,w)}return null}function j(T,w,M,G){var ge=w!==null?w.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ge!==null?null:g(T,w,""+M,G);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case N:return M.key===ge?_(T,w,M,G):null;case V:return M.key===ge?z(T,w,M,G):null;case _e:return M=Er(M),j(T,w,M,G)}if(le(M)||b(M))return ge!==null?null:H(T,w,M,G,null);if(typeof M.then=="function")return j(T,w,xo(M),G);if(M.$$typeof===ae)return j(T,w,go(T,M),G);So(T,M)}return null}function B(T,w,M,G,ge){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return T=T.get(M)||null,g(w,T,""+G,ge);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case N:return T=T.get(G.key===null?M:G.key)||null,_(w,T,G,ge);case V:return T=T.get(G.key===null?M:G.key)||null,z(w,T,G,ge);case _e:return G=Er(G),B(T,w,M,G,ge)}if(le(G)||b(G))return T=T.get(M)||null,H(w,T,G,ge,null);if(typeof G.then=="function")return B(T,w,M,xo(G),ge);if(G.$$typeof===ae)return B(T,w,M,go(w,G),ge);So(w,G)}return null}function ce(T,w,M,G){for(var ge=null,qe=null,me=w,we=w=0,ke=null;me!==null&&we<M.length;we++){me.index>we?(ke=me,me=null):ke=me.sibling;var Ge=j(T,me,M[we],G);if(Ge===null){me===null&&(me=ke);break}e&&me&&Ge.alternate===null&&t(T,me),w=c(Ge,w,we),qe===null?ge=Ge:qe.sibling=Ge,qe=Ge,me=ke}if(we===M.length)return a(T,me),je&&on(T,we),ge;if(me===null){for(;we<M.length;we++)me=Z(T,M[we],G),me!==null&&(w=c(me,w,we),qe===null?ge=me:qe.sibling=me,qe=me);return je&&on(T,we),ge}for(me=i(me);we<M.length;we++)ke=B(me,T,we,M[we],G),ke!==null&&(e&&ke.alternate!==null&&me.delete(ke.key===null?we:ke.key),w=c(ke,w,we),qe===null?ge=ke:qe.sibling=ke,qe=ke);return e&&me.forEach(function(er){return t(T,er)}),je&&on(T,we),ge}function ye(T,w,M,G){if(M==null)throw Error(s(151));for(var ge=null,qe=null,me=w,we=w=0,ke=null,Ge=M.next();me!==null&&!Ge.done;we++,Ge=M.next()){me.index>we?(ke=me,me=null):ke=me.sibling;var er=j(T,me,Ge.value,G);if(er===null){me===null&&(me=ke);break}e&&me&&er.alternate===null&&t(T,me),w=c(er,w,we),qe===null?ge=er:qe.sibling=er,qe=er,me=ke}if(Ge.done)return a(T,me),je&&on(T,we),ge;if(me===null){for(;!Ge.done;we++,Ge=M.next())Ge=Z(T,Ge.value,G),Ge!==null&&(w=c(Ge,w,we),qe===null?ge=Ge:qe.sibling=Ge,qe=Ge);return je&&on(T,we),ge}for(me=i(me);!Ge.done;we++,Ge=M.next())Ge=B(me,T,we,Ge.value,G),Ge!==null&&(e&&Ge.alternate!==null&&me.delete(Ge.key===null?we:Ge.key),w=c(Ge,w,we),qe===null?ge=Ge:qe.sibling=Ge,qe=Ge);return e&&me.forEach(function(JC){return t(T,JC)}),je&&on(T,we),ge}function at(T,w,M,G){if(typeof M=="object"&&M!==null&&M.type===E&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case N:e:{for(var ge=M.key;w!==null;){if(w.key===ge){if(ge=M.type,ge===E){if(w.tag===7){a(T,w.sibling),G=o(w,M.props.children),G.return=T,T=G;break e}}else if(w.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===_e&&Er(ge)===w.type){a(T,w.sibling),G=o(w,M.props),Rl(G,M),G.return=T,T=G;break e}a(T,w);break}else t(T,w);w=w.sibling}M.type===E?(G=xr(M.props.children,T.mode,G,M.key),G.return=T,T=G):(G=mo(M.type,M.key,M.props,null,T.mode,G),Rl(G,M),G.return=T,T=G)}return m(T);case V:e:{for(ge=M.key;w!==null;){if(w.key===ge)if(w.tag===4&&w.stateNode.containerInfo===M.containerInfo&&w.stateNode.implementation===M.implementation){a(T,w.sibling),G=o(w,M.children||[]),G.return=T,T=G;break e}else{a(T,w);break}else t(T,w);w=w.sibling}G=rf(M,T.mode,G),G.return=T,T=G}return m(T);case _e:return M=Er(M),at(T,w,M,G)}if(le(M))return ce(T,w,M,G);if(b(M)){if(ge=b(M),typeof ge!="function")throw Error(s(150));return M=ge.call(M),ye(T,w,M,G)}if(typeof M.then=="function")return at(T,w,xo(M),G);if(M.$$typeof===ae)return at(T,w,go(T,M),G);So(T,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,w!==null&&w.tag===6?(a(T,w.sibling),G=o(w,M),G.return=T,T=G):(a(T,w),G=nf(M,T.mode,G),G.return=T,T=G),m(T)):a(T,w)}return function(T,w,M,G){try{Ol=0;var ge=at(T,w,M,G);return Si=null,ge}catch(me){if(me===xi||me===bo)throw me;var qe=ca(29,me,null,T.mode);return qe.lanes=G,qe.return=T,qe}finally{}}}var Dr=Hg(!0),qg=Hg(!1),Bn=!1;function yf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function bf(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 Un(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,($e&2)!==0){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=fo(e),Cg(e,null,a),t}return co(e,i,t,a),fo(e)}function Ml(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,Mp(e,a)}}function vf(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=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?o=c=m:c=c.next=m,a=a.next}while(a!==null);c===null?o=c=t:c=c.next=t}else o=c=t;a={baseState:i.baseState,firstBaseUpdate:o,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 xf=!1;function zl(){if(xf){var e=bi;if(e!==null)throw e}}function kl(e,t,a,i){xf=!1;var o=e.updateQueue;Bn=!1;var c=o.firstBaseUpdate,m=o.lastBaseUpdate,g=o.shared.pending;if(g!==null){o.shared.pending=null;var _=g,z=_.next;_.next=null,m===null?c=z:m.next=z,m=_;var H=e.alternate;H!==null&&(H=H.updateQueue,g=H.lastBaseUpdate,g!==m&&(g===null?H.firstBaseUpdate=z:g.next=z,H.lastBaseUpdate=_))}if(c!==null){var Z=o.baseState;m=0,H=z=_=null,g=c;do{var j=g.lane&-536870913,B=j!==g.lane;if(B?(ze&j)===j:(i&j)===j){j!==0&&j===yi&&(xf=!0),H!==null&&(H=H.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var ce=e,ye=g;j=t;var at=a;switch(ye.tag){case 1:if(ce=ye.payload,typeof ce=="function"){Z=ce.call(at,Z,j);break e}Z=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=ye.payload,j=typeof ce=="function"?ce.call(at,Z,j):ce,j==null)break e;Z=v({},Z,j);break e;case 2:Bn=!0}}j=g.callback,j!==null&&(e.flags|=64,B&&(e.flags|=8192),B=o.callbacks,B===null?o.callbacks=[j]:B.push(j))}else B={lane:j,tag:g.tag,payload:g.payload,callback:g.callback,next:null},H===null?(z=H=B,_=Z):H=H.next=B,m|=j;if(g=g.next,g===null){if(g=o.shared.pending,g===null)break;B=g,g=B.next,B.next=null,o.lastBaseUpdate=B,o.shared.pending=null}}while(!0);H===null&&(_=Z),o.baseState=_,o.firstBaseUpdate=z,o.lastBaseUpdate=H,c===null&&(o.shared.lanes=0),Yn|=m,e.lanes=m,e.memoizedState=Z}}function Gg(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function Zg(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Gg(a[e],t)}var Ni=A(null),No=A(0);function Yg(e,t){e=vn,ne(No,e),ne(Ni,t),vn=e|t.baseLanes}function Sf(){ne(No,vn),ne(Ni,Ni.current)}function Nf(){vn=No.current,Y(Ni),Y(No)}var fa=A(null),Ta=null;function Hn(e){var t=e.alternate;ne(bt,bt.current&1),ne(fa,e),Ta===null&&(t===null||Ni.current!==null||t.memoizedState!==null)&&(Ta=e)}function _f(e){ne(bt,bt.current),ne(fa,e),Ta===null&&(Ta=e)}function $g(e){e.tag===22?(ne(bt,bt.current),ne(fa,e),Ta===null&&(Ta=e)):qn()}function qn(){ne(bt,bt.current),ne(fa,fa.current)}function da(e){Y(fa),Ta===e&&(Ta=null),Y(bt)}var bt=A(0);function _o(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Td(a)||Od(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 fn=0,Ee=null,et=null,wt=null,Co=!1,_i=!1,Ar=!1,Eo=0,jl=0,Ci=null,H2=0;function ht(){throw Error(s(321))}function Cf(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!ua(e[a],t[a]))return!1;return!0}function Ef(e,t,a,i,o,c){return fn=c,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?A0:Hf,Ar=!1,c=a(i,o),Ar=!1,_i&&(c=Qg(t,a,i,o)),Fg(e),c}function Fg(e){O.H=Ul;var t=et!==null&&et.next!==null;if(fn=0,wt=et=Ee=null,Co=!1,jl=0,Ci=null,t)throw Error(s(300));e===null||Dt||(e=e.dependencies,e!==null&&po(e)&&(Dt=!0))}function Qg(e,t,a,i){Ee=e;var o=0;do{if(_i&&(Ci=null),jl=0,_i=!1,25<=o)throw Error(s(301));if(o+=1,wt=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)}O.H=T0,c=t(a,i)}while(_i);return c}function q2(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?Vl(t):t,e=e.useState()[0],(et!==null?et.memoizedState:null)!==e&&(Ee.flags|=1024),t}function wf(){var e=Eo!==0;return Eo=0,e}function Df(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Af(e){if(Co){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Co=!1}fn=0,wt=et=Ee=null,_i=!1,jl=Eo=0,Ci=null}function Xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?Ee.memoizedState=wt=e:wt=wt.next=e,wt}function vt(){if(et===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=wt===null?Ee.memoizedState:wt.next;if(t!==null)wt=t,et=e;else{if(e===null)throw Ee.alternate===null?Error(s(467)):Error(s(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},wt===null?Ee.memoizedState=wt=e:wt=wt.next=e}return wt}function wo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Vl(e){var t=jl;return jl+=1,Ci===null&&(Ci=[]),e=Bg(Ci,e,t),t=Ee,(wt===null?t.memoizedState:wt.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?A0:Hf),e}function Do(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Vl(e);if(e.$$typeof===ae)return Ut(e)}throw Error(s(438,String(e)))}function Tf(e){var t=null,a=Ee.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=Ee.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=wo(),Ee.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]=We;return t.index++,a}function dn(e,t){return typeof t=="function"?t(e):t}function Ao(e){var t=vt();return Of(t,et,e)}function Of(e,t,a){var i=e.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=a;var o=e.baseQueue,c=i.pending;if(c!==null){if(o!==null){var m=o.next;o.next=c.next,c.next=m}t.baseQueue=o=c,i.pending=null}if(c=e.baseState,o===null)e.memoizedState=c;else{t=o.next;var g=m=null,_=null,z=t,H=!1;do{var Z=z.lane&-536870913;if(Z!==z.lane?(ze&Z)===Z:(fn&Z)===Z){var j=z.revertLane;if(j===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),Z===yi&&(H=!0);else if((fn&j)===j){z=z.next,j===yi&&(H=!0);continue}else Z={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},_===null?(g=_=Z,m=c):_=_.next=Z,Ee.lanes|=j,Yn|=j;Z=z.action,Ar&&a(c,Z),c=z.hasEagerState?z.eagerState:a(c,Z)}else j={lane:Z,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},_===null?(g=_=j,m=c):_=_.next=j,Ee.lanes|=Z,Yn|=Z;z=z.next}while(z!==null&&z!==t);if(_===null?m=c:_.next=g,!ua(c,e.memoizedState)&&(Dt=!0,H&&(a=bi,a!==null)))throw a;e.memoizedState=c,e.baseState=m,e.baseQueue=_,i.lastRenderedState=c}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Rf(e){var t=vt(),a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=e;var i=a.dispatch,o=a.pending,c=t.memoizedState;if(o!==null){a.pending=null;var m=o=o.next;do c=e(c,m.action),m=m.next;while(m!==o);ua(c,t.memoizedState)||(Dt=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),a.lastRenderedState=c}return[c,i]}function Xg(e,t,a){var i=Ee,o=vt(),c=je;if(c){if(a===void 0)throw Error(s(407));a=a()}else a=t();var m=!ua((et||o).memoizedState,a);if(m&&(o.memoizedState=a,Dt=!0),o=o.queue,kf(Ig.bind(null,i,o,e),[e]),o.getSnapshot!==t||m||wt!==null&&wt.memoizedState.tag&1){if(i.flags|=2048,Ei(9,{destroy:void 0},Jg.bind(null,i,o,a,t),null),nt===null)throw Error(s(349));c||(fn&127)!==0||Kg(i,t,a)}return a}function Kg(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ee.updateQueue,t===null?(t=wo(),Ee.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Jg(e,t,a,i){t.value=a,t.getSnapshot=i,Pg(t)&&Wg(e)}function Ig(e,t,a){return a(function(){Pg(t)&&Wg(e)})}function Pg(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!ua(e,a)}catch{return!0}}function Wg(e){var t=vr(e,2);t!==null&&ra(t,e,2)}function Mf(e){var t=Xt();if(typeof e=="function"){var a=e;if(e=a(),Ar){Sa(!0);try{a()}finally{Sa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dn,lastRenderedState:e},t}function e0(e,t,a,i){return e.baseState=a,Of(e,et,typeof i=="function"?i:dn)}function G2(e,t,a,i,o){if(Ro(e))throw Error(s(485));if(e=t.action,e!==null){var c={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};O.T!==null?a(!0):c.isTransition=!1,i(c),a=t.pending,a===null?(c.next=t.pending=c,t0(t,c)):(c.next=a.next,t.pending=a.next=c)}}function t0(e,t){var a=t.action,i=t.payload,o=e.state;if(t.isTransition){var c=O.T,m={};O.T=m;try{var g=a(o,i),_=O.S;_!==null&&_(m,g),a0(e,t,g)}catch(z){zf(e,t,z)}finally{c!==null&&m.types!==null&&(c.types=m.types),O.T=c}}else try{c=a(o,i),a0(e,t,c)}catch(z){zf(e,t,z)}}function a0(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(i){n0(e,t,i)},function(i){return zf(e,t,i)}):n0(e,t,a)}function n0(e,t,a){t.status="fulfilled",t.value=a,r0(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,t0(e,a)))}function zf(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,r0(t),t=t.next;while(t!==i)}e.action=null}function r0(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function i0(e,t){return t}function l0(e,t){if(je){var a=nt.formState;if(a!==null){e:{var i=Ee;if(je){if(lt){t:{for(var o=lt,c=Aa;o.nodeType!==8;){if(!c){o=null;break t}if(o=Oa(o.nextSibling),o===null){o=null;break t}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){lt=Oa(o.nextSibling),i=o.data==="F!";break e}}jn(i)}i=!1}i&&(t=a[0])}}return a=Xt(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i0,lastRenderedState:t},a.queue=i,a=E0.bind(null,Ee,i),i.dispatch=a,i=Mf(!1),c=Lf.bind(null,Ee,!1,i.queue),i=Xt(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,a=G2.bind(null,Ee,o,c,a),o.dispatch=a,i.memoizedState=e,[t,a,!1]}function s0(e){var t=vt();return o0(t,et,e)}function o0(e,t,a){if(t=Of(e,t,i0)[0],e=Ao(dn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Vl(t)}catch(m){throw m===xi?bo:m}else i=t;t=vt();var o=t.queue,c=o.dispatch;return a!==t.memoizedState&&(Ee.flags|=2048,Ei(9,{destroy:void 0},Z2.bind(null,o,a),null)),[i,c,e]}function Z2(e,t){e.action=t}function u0(e){var t=vt(),a=et;if(a!==null)return o0(t,a,e);vt(),t=t.memoizedState,a=vt();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function Ei(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=Ee.updateQueue,t===null&&(t=wo(),Ee.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 c0(){return vt().memoizedState}function To(e,t,a,i){var o=Xt();Ee.flags|=e,o.memoizedState=Ei(1|t,{destroy:void 0},a,i===void 0?null:i)}function Oo(e,t,a,i){var o=vt();i=i===void 0?null:i;var c=o.memoizedState.inst;et!==null&&i!==null&&Cf(i,et.memoizedState.deps)?o.memoizedState=Ei(t,c,a,i):(Ee.flags|=e,o.memoizedState=Ei(1|t,c,a,i))}function f0(e,t){To(8390656,8,e,t)}function kf(e,t){Oo(2048,8,e,t)}function Y2(e){Ee.flags|=4;var t=Ee.updateQueue;if(t===null)t=wo(),Ee.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function d0(e){var t=vt().memoizedState;return Y2({ref:t,nextImpl:e}),function(){if(($e&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function m0(e,t){return Oo(4,2,e,t)}function h0(e,t){return Oo(4,4,e,t)}function p0(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 g0(e,t,a){a=a!=null?a.concat([e]):null,Oo(4,4,p0.bind(null,t,e),a)}function jf(){}function y0(e,t){var a=vt();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&Cf(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function b0(e,t){var a=vt();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&Cf(t,i[1]))return i[0];if(i=e(),Ar){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[i,t],i}function Vf(e,t,a){return a===void 0||(fn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=vy(),Ee.lanes|=e,Yn|=e,a)}function v0(e,t,a,i){return ua(a,t)?a:Ni.current!==null?(e=Vf(e,a,i),ua(e,t)||(Dt=!0),e):(fn&42)===0||(fn&1073741824)!==0&&(ze&261930)===0?(Dt=!0,e.memoizedState=a):(e=vy(),Ee.lanes|=e,Yn|=e,t)}function x0(e,t,a,i,o){var c=X.p;X.p=c!==0&&8>c?c:8;var m=O.T,g={};O.T=g,Lf(e,!1,t,a);try{var _=o(),z=O.S;if(z!==null&&z(g,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var H=L2(_,i);Bl(e,t,H,pa(e))}else Bl(e,t,i,pa(e))}catch(Z){Bl(e,t,{then:function(){},status:"rejected",reason:Z},pa())}finally{X.p=c,m!==null&&g.types!==null&&(m.types=g.types),O.T=m}}function $2(){}function Bf(e,t,a,i){if(e.tag!==5)throw Error(s(476));var o=S0(e).queue;x0(e,o,t,se,a===null?$2:function(){return N0(e),a(i)})}function S0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dn,lastRenderedState:se},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function N0(e){var t=S0(e);t.next===null&&(t=e.alternate.memoizedState),Bl(e,t.next.queue,{},pa())}function Uf(){return Ut(es)}function _0(){return vt().memoizedState}function C0(){return vt().memoizedState}function F2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=pa();e=Un(a);var i=Ln(t,e,a);i!==null&&(ra(i,t,a),Ml(i,t,a)),t={cache:mf()},e.payload=t;return}t=t.return}}function Q2(e,t,a){var i=pa();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ro(e)?w0(t,a):(a=tf(e,t,a,i),a!==null&&(ra(a,e,i),D0(a,t,i)))}function E0(e,t,a){var i=pa();Bl(e,t,a,i)}function Bl(e,t,a,i){var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ro(e))w0(t,o);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(o.hasEagerState=!0,o.eagerState=g,ua(g,m))return co(e,t,o,0),nt===null&&uo(),!1}catch{}finally{}if(a=tf(e,t,o,i),a!==null)return ra(a,e,i),D0(a,t,i),!0}return!1}function Lf(e,t,a,i){if(i={lane:2,revertLane:yd(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Ro(e)){if(t)throw Error(s(479))}else t=tf(e,a,i,2),t!==null&&ra(t,e,2)}function Ro(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function w0(e,t){_i=Co=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function D0(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Mp(e,a)}}var Ul={readContext:Ut,use:Do,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};Ul.useEffectEvent=ht;var A0={readContext:Ut,use:Do,useCallback:function(e,t){return Xt().memoizedState=[e,t===void 0?null:t],e},useContext:Ut,useEffect:f0,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,To(4194308,4,p0.bind(null,t,e),a)},useLayoutEffect:function(e,t){return To(4194308,4,e,t)},useInsertionEffect:function(e,t){To(4,2,e,t)},useMemo:function(e,t){var a=Xt();t=t===void 0?null:t;var i=e();if(Ar){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[i,t],i},useReducer:function(e,t,a){var i=Xt();if(a!==void 0){var o=a(t);if(Ar){Sa(!0);try{a(t)}finally{Sa(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=Q2.bind(null,Ee,e),[i.memoizedState,e]},useRef:function(e){var t=Xt();return e={current:e},t.memoizedState=e},useState:function(e){e=Mf(e);var t=e.queue,a=E0.bind(null,Ee,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:jf,useDeferredValue:function(e,t){var a=Xt();return Vf(a,e,t)},useTransition:function(){var e=Mf(!1);return e=x0.bind(null,Ee,e.queue,!0,!1),Xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var i=Ee,o=Xt();if(je){if(a===void 0)throw Error(s(407));a=a()}else{if(a=t(),nt===null)throw Error(s(349));(ze&127)!==0||Kg(i,t,a)}o.memoizedState=a;var c={value:a,getSnapshot:t};return o.queue=c,f0(Ig.bind(null,i,c,e),[e]),i.flags|=2048,Ei(9,{destroy:void 0},Jg.bind(null,i,c,a,t),null),a},useId:function(){var e=Xt(),t=nt.identifierPrefix;if(je){var a=Qa,i=Fa;a=(i&~(1<<32-jt(i)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Eo++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=H2++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Uf,useFormState:l0,useActionState:l0,useOptimistic:function(e){var t=Xt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Lf.bind(null,Ee,!0,a),a.dispatch=t,[e,t]},useMemoCache:Tf,useCacheRefresh:function(){return Xt().memoizedState=F2.bind(null,Ee)},useEffectEvent:function(e){var t=Xt(),a={impl:e};return t.memoizedState=a,function(){if(($e&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}},Hf={readContext:Ut,use:Do,useCallback:y0,useContext:Ut,useEffect:kf,useImperativeHandle:g0,useInsertionEffect:m0,useLayoutEffect:h0,useMemo:b0,useReducer:Ao,useRef:c0,useState:function(){return Ao(dn)},useDebugValue:jf,useDeferredValue:function(e,t){var a=vt();return v0(a,et.memoizedState,e,t)},useTransition:function(){var e=Ao(dn)[0],t=vt().memoizedState;return[typeof e=="boolean"?e:Vl(e),t]},useSyncExternalStore:Xg,useId:_0,useHostTransitionStatus:Uf,useFormState:s0,useActionState:s0,useOptimistic:function(e,t){var a=vt();return e0(a,et,e,t)},useMemoCache:Tf,useCacheRefresh:C0};Hf.useEffectEvent=d0;var T0={readContext:Ut,use:Do,useCallback:y0,useContext:Ut,useEffect:kf,useImperativeHandle:g0,useInsertionEffect:m0,useLayoutEffect:h0,useMemo:b0,useReducer:Rf,useRef:c0,useState:function(){return Rf(dn)},useDebugValue:jf,useDeferredValue:function(e,t){var a=vt();return et===null?Vf(a,e,t):v0(a,et.memoizedState,e,t)},useTransition:function(){var e=Rf(dn)[0],t=vt().memoizedState;return[typeof e=="boolean"?e:Vl(e),t]},useSyncExternalStore:Xg,useId:_0,useHostTransitionStatus:Uf,useFormState:u0,useActionState:u0,useOptimistic:function(e,t){var a=vt();return et!==null?e0(a,et,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Tf,useCacheRefresh:C0};T0.useEffectEvent=d0;function qf(e,t,a,i){t=e.memoizedState,a=a(i,t),a=a==null?t:v({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Gf={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=pa(),o=Un(i);o.payload=t,a!=null&&(o.callback=a),t=Ln(e,o,i),t!==null&&(ra(t,e,i),Ml(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=pa(),o=Un(i);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=Ln(e,o,i),t!==null&&(ra(t,e,i),Ml(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=pa(),i=Un(a);i.tag=2,t!=null&&(i.callback=t),t=Ln(e,i,a),t!==null&&(ra(t,e,a),Ml(t,e,a))}};function O0(e,t,a,i,o,c,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,c,m):t.prototype&&t.prototype.isPureReactComponent?!Cl(a,i)||!Cl(o,c):!0}function R0(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&&Gf.enqueueReplaceState(t,t.state,null)}function Tr(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=v({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function M0(e){oo(e)}function z0(e){console.error(e)}function k0(e){oo(e)}function Mo(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function j0(e,t,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Zf(e,t,a){return a=Un(a),a.tag=3,a.payload={element:null},a.callback=function(){Mo(e,t)},a}function V0(e){return e=Un(e),e.tag=3,e}function B0(e,t,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var c=i.value;e.payload=function(){return o(c)},e.callback=function(){j0(t,a,i)}}var m=a.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){j0(t,a,i),typeof o!="function"&&($n===null?$n=new Set([this]):$n.add(this));var g=i.stack;this.componentDidCatch(i.value,{componentStack:g!==null?g:""})})}function X2(e,t,a,i,o){if(a.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&gi(t,a,o,!0),a=fa.current,a!==null){switch(a.tag){case 31:case 13:return Ta===null?Yo():a.alternate===null&&pt===0&&(pt=3),a.flags&=-257,a.flags|=65536,a.lanes=o,i===vo?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),hd(e,i,o)),!1;case 22:return a.flags|=65536,i===vo?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)),hd(e,i,o)),!1}throw Error(s(435,a.tag))}return hd(e,i,o),Yo(),!1}if(je)return t=fa.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==of&&(e=Error(s(422),{cause:i}),Dl(Ea(e,a)))):(i!==of&&(t=Error(s(423),{cause:i}),Dl(Ea(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Ea(i,a),o=Zf(e.stateNode,i,o),vf(e,o),pt!==4&&(pt=2)),!1;var c=Error(s(520),{cause:i});if(c=Ea(c,a),Fl===null?Fl=[c]:Fl.push(c),pt!==4&&(pt=2),t===null)return!0;i=Ea(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Zf(a.stateNode,i,e),vf(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"&&($n===null||!$n.has(c))))return a.flags|=65536,o&=-o,a.lanes|=o,o=V0(o),B0(o,e,a,i),vf(a,o),!1}a=a.return}while(a!==null);return!1}var Yf=Error(s(461)),Dt=!1;function Lt(e,t,a,i){t.child=e===null?qg(t,null,a,i):Dr(t,e.child,a,i)}function U0(e,t,a,i,o){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 _r(t),i=Ef(e,t,a,m,c,o),g=wf(),e!==null&&!Dt?(Df(e,t,o),mn(e,t,o)):(je&&g&&lf(t),t.flags|=1,Lt(e,t,i,o),t.child)}function L0(e,t,a,i,o){if(e===null){var c=a.type;return typeof c=="function"&&!af(c)&&c.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=c,H0(e,t,c,i,o)):(e=mo(a.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Pf(e,o)){var m=c.memoizedProps;if(a=a.compare,a=a!==null?a:Cl,a(m,i)&&e.ref===t.ref)return mn(e,t,o)}return t.flags|=1,e=sn(c,i),e.ref=t.ref,e.return=t,t.child=e}function H0(e,t,a,i,o){if(e!==null){var c=e.memoizedProps;if(Cl(c,i)&&e.ref===t.ref)if(Dt=!1,t.pendingProps=i=c,Pf(e,o))(e.flags&131072)!==0&&(Dt=!0);else return t.lanes=e.lanes,mn(e,t,o)}return $f(e,t,a,i,o)}function q0(e,t,a,i){var o=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,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~c}else i=0,t.child=null;return G0(e,t,c,a,i)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&yo(t,c!==null?c.cachePool:null),c!==null?Yg(t,c):Sf(),$g(t);else return i=t.lanes=536870912,G0(e,t,c!==null?c.baseLanes|a:a,a,i)}else c!==null?(yo(t,c.cachePool),Yg(t,c),qn(),t.memoizedState=null):(e!==null&&yo(t,null),Sf(),qn());return Lt(e,t,o,a),t.child}function Ll(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function G0(e,t,a,i,o){var c=pf();return c=c===null?null:{parent:Et._currentValue,pool:c},t.memoizedState={baseLanes:a,cachePool:c},e!==null&&yo(t,null),Sf(),$g(t),e!==null&&gi(e,t,i,!0),t.childLanes=o,null}function zo(e,t){return t=jo({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Z0(e,t,a){return Dr(t,e.child,null,a),e=zo(t,t.pendingProps),e.flags|=2,da(t),t.memoizedState=null,e}function K2(e,t,a){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(je){if(i.mode==="hidden")return e=zo(t,i),t.lanes=536870912,Ll(null,e);if(_f(t),(e=lt)?(e=tb(e,Aa),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:zn!==null?{id:Fa,overflow:Qa}:null,retryLane:536870912,hydrationErrors:null},a=wg(e),a.return=t,t.child=a,Bt=t,lt=null)):e=null,e===null)throw jn(t);return t.lanes=536870912,null}return zo(t,i)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(_f(t),o)if(t.flags&256)t.flags&=-257,t=Z0(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(Dt||gi(e,t,a,!1),o=(a&e.childLanes)!==0,Dt||o){if(i=nt,i!==null&&(m=zp(i,a),m!==0&&m!==c.retryLane))throw c.retryLane=m,vr(e,m),ra(i,e,m),Yf;Yo(),t=Z0(e,t,a)}else e=c.treeContext,lt=Oa(m.nextSibling),Bt=t,je=!0,kn=null,Aa=!1,e!==null&&Tg(t,e),t=zo(t,i),t.flags|=4096;return t}return e=sn(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ko(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(s(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function $f(e,t,a,i,o){return _r(t),a=Ef(e,t,a,i,void 0,o),i=wf(),e!==null&&!Dt?(Df(e,t,o),mn(e,t,o)):(je&&i&&lf(t),t.flags|=1,Lt(e,t,a,o),t.child)}function Y0(e,t,a,i,o,c){return _r(t),t.updateQueue=null,a=Qg(t,i,a,o),Fg(e),i=wf(),e!==null&&!Dt?(Df(e,t,c),mn(e,t,c)):(je&&i&&lf(t),t.flags|=1,Lt(e,t,a,c),t.child)}function $0(e,t,a,i,o){if(_r(t),t.stateNode===null){var c=di,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=Gf,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=i,c.state=t.memoizedState,c.refs={},yf(t),m=a.contextType,c.context=typeof m=="object"&&m!==null?Ut(m):di,c.state=t.memoizedState,m=a.getDerivedStateFromProps,typeof m=="function"&&(qf(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&&Gf.enqueueReplaceState(c,c.state,null),kl(t,i,c,o),zl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){c=t.stateNode;var g=t.memoizedProps,_=Tr(a,g);c.props=_;var z=c.context,H=a.contextType;m=di,typeof H=="object"&&H!==null&&(m=Ut(H));var Z=a.getDerivedStateFromProps;H=typeof Z=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=t.pendingProps!==g,H||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||z!==m)&&R0(t,c,i,m),Bn=!1;var j=t.memoizedState;c.state=j,kl(t,i,c,o),zl(),z=t.memoizedState,g||j!==z||Bn?(typeof Z=="function"&&(qf(t,a,Z,i),z=t.memoizedState),(_=Bn||O0(t,a,_,i,j,z,m))?(H||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=z),c.props=i,c.state=z,c.context=m,i=_):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{c=t.stateNode,bf(e,t),m=t.memoizedProps,H=Tr(a,m),c.props=H,Z=t.pendingProps,j=c.context,z=a.contextType,_=di,typeof z=="object"&&z!==null&&(_=Ut(z)),g=a.getDerivedStateFromProps,(z=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==Z||j!==_)&&R0(t,c,i,_),Bn=!1,j=t.memoizedState,c.state=j,kl(t,i,c,o),zl();var B=t.memoizedState;m!==Z||j!==B||Bn||e!==null&&e.dependencies!==null&&po(e.dependencies)?(typeof g=="function"&&(qf(t,a,g,i),B=t.memoizedState),(H=Bn||O0(t,a,H,i,j,B,_)||e!==null&&e.dependencies!==null&&po(e.dependencies))?(z||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,B,_),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,B,_)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=B),c.props=i,c.state=B,c.context=_,i=H):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),i=!1)}return c=i,ko(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=Dr(t,e.child,null,o),t.child=Dr(t,null,a,o)):Lt(e,t,a,o),t.memoizedState=c.state,e=t.child):e=mn(e,t,o),e}function F0(e,t,a,i){return Sr(),t.flags|=256,Lt(e,t,a,i),t.child}var Ff={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qf(e){return{baseLanes:e,cachePool:jg()}}function Xf(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=ha),e}function Q0(e,t,a){var i=t.pendingProps,o=!1,c=(t.flags&128)!==0,m;if((m=c)||(m=e!==null&&e.memoizedState===null?!1:(bt.current&2)!==0),m&&(o=!0,t.flags&=-129),m=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(o?Hn(t):qn(),(e=lt)?(e=tb(e,Aa),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:zn!==null?{id:Fa,overflow:Qa}:null,retryLane:536870912,hydrationErrors:null},a=wg(e),a.return=t,t.child=a,Bt=t,lt=null)):e=null,e===null)throw jn(t);return Od(e)?t.lanes=32:t.lanes=536870912,null}var g=i.children;return i=i.fallback,o?(qn(),o=t.mode,g=jo({mode:"hidden",children:g},o),i=xr(i,o,a,null),g.return=t,i.return=t,g.sibling=i,t.child=g,i=t.child,i.memoizedState=Qf(a),i.childLanes=Xf(e,m,a),t.memoizedState=Ff,Ll(null,i)):(Hn(t),Kf(t,g))}var _=e.memoizedState;if(_!==null&&(g=_.dehydrated,g!==null)){if(c)t.flags&256?(Hn(t),t.flags&=-257,t=Jf(e,t,a)):t.memoizedState!==null?(qn(),t.child=e.child,t.flags|=128,t=null):(qn(),g=i.fallback,o=t.mode,i=jo({mode:"visible",children:i.children},o),g=xr(g,o,a,null),g.flags|=2,i.return=t,g.return=t,i.sibling=g,t.child=i,Dr(t,e.child,null,a),i=t.child,i.memoizedState=Qf(a),i.childLanes=Xf(e,m,a),t.memoizedState=Ff,t=Ll(null,i));else if(Hn(t),Od(g)){if(m=g.nextSibling&&g.nextSibling.dataset,m)var z=m.dgst;m=z,i=Error(s(419)),i.stack="",i.digest=m,Dl({value:i,source:null,stack:null}),t=Jf(e,t,a)}else if(Dt||gi(e,t,a,!1),m=(a&e.childLanes)!==0,Dt||m){if(m=nt,m!==null&&(i=zp(m,a),i!==0&&i!==_.retryLane))throw _.retryLane=i,vr(e,i),ra(m,e,i),Yf;Td(g)||Yo(),t=Jf(e,t,a)}else Td(g)?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,lt=Oa(g.nextSibling),Bt=t,je=!0,kn=null,Aa=!1,e!==null&&Tg(t,e),t=Kf(t,i.children),t.flags|=4096);return t}return o?(qn(),g=i.fallback,o=t.mode,_=e.child,z=_.sibling,i=sn(_,{mode:"hidden",children:i.children}),i.subtreeFlags=_.subtreeFlags&65011712,z!==null?g=sn(z,g):(g=xr(g,o,a,null),g.flags|=2),g.return=t,i.return=t,i.sibling=g,t.child=i,Ll(null,i),i=t.child,g=e.child.memoizedState,g===null?g=Qf(a):(o=g.cachePool,o!==null?(_=Et._currentValue,o=o.parent!==_?{parent:_,pool:_}:o):o=jg(),g={baseLanes:g.baseLanes|a,cachePool:o}),i.memoizedState=g,i.childLanes=Xf(e,m,a),t.memoizedState=Ff,Ll(e.child,i)):(Hn(t),a=e.child,e=a.sibling,a=sn(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 Kf(e,t){return t=jo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function jo(e,t){return e=ca(22,e,null,t),e.lanes=0,e}function Jf(e,t,a){return Dr(t,e.child,null,a),e=Kf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function X0(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),ff(e.return,t,a)}function If(e,t,a,i,o,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=i,m.tail=a,m.tailMode=o,m.treeForkCount=c)}function K0(e,t,a){var i=t.pendingProps,o=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,ne(bt,m),Lt(e,t,i,a),i=je?wl:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&X0(e,a,t);else if(e.tag===19)X0(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(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&_o(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),If(t,!1,o,a,c,i);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&_o(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}If(t,!0,a,null,c,i);break;case"together":If(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function mn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Yn|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(gi(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,a=sn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=sn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Pf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&po(e)))}function J2(e,t,a){switch(t.tag){case 3:kt(t,t.stateNode.containerInfo),Vn(t,Et,e.memoizedState.cache),Sr();break;case 27:case 5:Tn(t);break;case 4:kt(t,t.stateNode.containerInfo);break;case 10:Vn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,_f(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(Hn(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Q0(e,t,a):(Hn(t),e=mn(e,t,a),e!==null?e.sibling:null);Hn(t);break;case 19:var o=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(gi(e,t,a,!1),i=(a&t.childLanes)!==0),o){if(i)return K0(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ne(bt,bt.current),i)break;return null;case 22:return t.lanes=0,q0(e,t,a,t.pendingProps);case 24:Vn(t,Et,e.memoizedState.cache)}return mn(e,t,a)}function J0(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Dt=!0;else{if(!Pf(e,a)&&(t.flags&128)===0)return Dt=!1,J2(e,t,a);Dt=(e.flags&131072)!==0}else Dt=!1,je&&(t.flags&1048576)!==0&&Ag(t,wl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Er(t.elementType),t.type=e,typeof e=="function")af(e)?(i=Tr(e,i),t.tag=1,t=$0(null,t,e,i,a)):(t.tag=0,t=$f(null,t,e,i,a));else{if(e!=null){var o=e.$$typeof;if(o===ee){t.tag=11,t=U0(null,t,e,i,a);break e}else if(o===J){t.tag=14,t=L0(null,t,e,i,a);break e}}throw t=F(e)||e,Error(s(306,t,""))}}return t;case 0:return $f(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,o=Tr(i,t.pendingProps),$0(e,t,i,o,a);case 3:e:{if(kt(t,t.stateNode.containerInfo),e===null)throw Error(s(387));i=t.pendingProps;var c=t.memoizedState;o=c.element,bf(e,t),kl(t,i,null,a);var m=t.memoizedState;if(i=m.cache,Vn(t,Et,i),i!==c.cache&&df(t,[Et],a,!0),zl(),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=F0(e,t,i,a);break e}else if(i!==o){o=Ea(Error(s(424)),t),Dl(o),t=F0(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(lt=Oa(e.firstChild),Bt=t,je=!0,kn=null,Aa=!0,a=qg(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Sr(),i===o){t=mn(e,t,a);break e}Lt(e,t,i,a)}t=t.child}return t;case 26:return ko(e,t),e===null?(a=sb(t.type,null,t.pendingProps,null))?t.memoizedState=a:je||(a=t.type,e=t.pendingProps,i=Io(De.current).createElement(a),i[Vt]=t,i[Pt]=e,Ht(i,a,e),Rt(i),t.stateNode=i):t.memoizedState=sb(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Tn(t),e===null&&je&&(i=t.stateNode=rb(t.type,t.pendingProps,De.current),Bt=t,Aa=!0,o=lt,Kn(t.type)?(Rd=o,lt=Oa(i.firstChild)):lt=o),Lt(e,t,t.pendingProps.children,a),ko(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((o=i=lt)&&(i=wC(i,t.type,t.pendingProps,Aa),i!==null?(t.stateNode=i,Bt=t,lt=Oa(i.firstChild),Aa=!1,o=!0):o=!1),o||jn(t)),Tn(t),o=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,i=c.children,wd(o,c)?i=null:m!==null&&wd(o,m)&&(t.flags|=32),t.memoizedState!==null&&(o=Ef(e,t,q2,null,null,a),es._currentValue=o),ko(e,t),Lt(e,t,i,a),t.child;case 6:return e===null&&je&&((e=a=lt)&&(a=DC(a,t.pendingProps,Aa),a!==null?(t.stateNode=a,Bt=t,lt=null,e=!0):e=!1),e||jn(t)),null;case 13:return Q0(e,t,a);case 4:return kt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Dr(t,null,i,a):Lt(e,t,i,a),t.child;case 11:return U0(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,Vn(t,t.type,i.value),Lt(e,t,i.children,a),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,_r(t),o=Ut(o),i=i(o),t.flags|=1,Lt(e,t,i,a),t.child;case 14:return L0(e,t,t.type,t.pendingProps,a);case 15:return H0(e,t,t.type,t.pendingProps,a);case 19:return K0(e,t,a);case 31:return K2(e,t,a);case 22:return q0(e,t,a,t.pendingProps);case 24:return _r(t),i=Ut(Et),e===null?(o=pf(),o===null&&(o=nt,c=mf(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=a),o=c),t.memoizedState={parent:i,cache:o},yf(t),Vn(t,Et,o)):((e.lanes&a)!==0&&(bf(e,t),kl(t,null,null,a),zl()),o=e.memoizedState,c=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Vn(t,Et,i)):(i=c.cache,Vn(t,Et,i),i!==o.cache&&df(t,[Et],a,!0))),Lt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function hn(e){e.flags|=4}function Wf(e,t,a,i,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(_y())e.flags|=8192;else throw wr=vo,gf}else e.flags&=-16777217}function I0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!db(t))if(_y())e.flags|=8192;else throw wr=vo,gf}function Vo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Op():536870912,e.lanes|=t,Ti|=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 st(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function I2(e,t,a){var i=t.pendingProps;switch(sf(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return st(t),null;case 1:return st(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),cn(Et),it(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(pi(t)?hn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,uf())),st(t),null;case 26:var o=t.type,c=t.memoizedState;return e===null?(hn(t),c!==null?(st(t),I0(t,c)):(st(t),Wf(t,o,null,i,a))):c?c!==e.memoizedState?(hn(t),st(t),I0(t,c)):(st(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&hn(t),st(t),Wf(t,o,e,i,a)),null;case 27:if(On(t),a=De.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&hn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return st(t),null}e=ue.current,pi(t)?Og(t):(e=rb(o,i,a),t.stateNode=e,hn(t))}return st(t),null;case 5:if(On(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&hn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return st(t),null}if(c=ue.current,pi(t))Og(t);else{var m=Io(De.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",o);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(o,{is:i.is}):m.createElement(o)}}c[Vt]=t,c[Pt]=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(Ht(c,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&hn(t)}}return st(t),Wf(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&hn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(e=De.current,pi(t)){if(e=t.stateNode,a=t.memoizedProps,i=null,o=Bt,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}e[Vt]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Qy(e.nodeValue,a)),e||jn(t,!0)}else e=Io(e).createTextNode(i),e[Vt]=t,t.stateNode=e}return st(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(i=pi(t),a!==null){if(e===null){if(!i)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[Vt]=t}else Sr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;st(t),e=!1}else a=uf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(da(t),t):(da(t),null);if((t.flags&128)!==0)throw Error(s(558))}return st(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=pi(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error(s(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(s(317));o[Vt]=t}else Sr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;st(t),o=!1}else o=uf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(da(t),t):(da(t),null)}return da(t),(t.flags&128)!==0?(t.lanes=a,t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==o&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Vo(t,t.updateQueue),st(t),null);case 4:return it(),e===null&&Sd(t.stateNode.containerInfo),st(t),null;case 10:return cn(t.type),st(t),null;case 19:if(Y(bt),i=t.memoizedState,i===null)return st(t),null;if(o=(t.flags&128)!==0,c=i.rendering,c===null)if(o)Hl(i,!1);else{if(pt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=_o(e),c!==null){for(t.flags|=128,Hl(i,!1),e=c.updateQueue,t.updateQueue=e,Vo(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Eg(a,e),a=a.sibling;return ne(bt,bt.current&1|2),je&&on(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&k()>qo&&(t.flags|=128,o=!0,Hl(i,!1),t.lanes=4194304)}else{if(!o)if(e=_o(c),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Vo(t,e),Hl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!c.alternate&&!je)return st(t),null}else 2*k()-i.renderingStartTime>qo&&a!==536870912&&(t.flags|=128,o=!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=k(),e.sibling=null,a=bt.current,ne(bt,o?a&1|2:a&1),je&&on(t,i.treeForkCount),e):(st(t),null);case 22:case 23:return da(t),Nf(),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&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),a=t.updateQueue,a!==null&&Vo(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&&Y(Cr),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),cn(Et),st(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function P2(e,t){switch(sf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(Et),it(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return On(t),null;case 31:if(t.memoizedState!==null){if(da(t),t.alternate===null)throw Error(s(340));Sr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(da(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Sr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Y(bt),null;case 4:return it(),null;case 10:return cn(t.type),null;case 22:case 23:return da(t),Nf(),e!==null&&Y(Cr),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return cn(Et),null;case 25:return null;default:return null}}function P0(e,t){switch(sf(t),t.tag){case 3:cn(Et),it();break;case 26:case 27:case 5:On(t);break;case 4:it();break;case 31:t.memoizedState!==null&&da(t);break;case 13:da(t);break;case 19:Y(bt);break;case 10:cn(t.type);break;case 22:case 23:da(t),Nf(),e!==null&&Y(Cr);break;case 24:cn(Et)}}function ql(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;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!==o)}}catch(g){Je(t,t.return,g)}}function Gn(e,t,a){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var c=o.next;i=c;do{if((i.tag&e)===e){var m=i.inst,g=m.destroy;if(g!==void 0){m.destroy=void 0,o=t;var _=a,z=g;try{z()}catch(H){Je(o,_,H)}}}i=i.next}while(i!==c)}}catch(H){Je(t,t.return,H)}}function W0(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Zg(t,a)}catch(i){Je(e,e.return,i)}}}function ey(e,t,a){a.props=Tr(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){Je(e,t,i)}}function Gl(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(o){Je(e,t,o)}}function Xa(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{i()}catch(o){Je(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){Je(e,t,o)}else a.current=null}function ty(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(o){Je(e,e.return,o)}}function ed(e,t,a){try{var i=e.stateNode;xC(i,e.type,a,t),i[Pt]=t}catch(o){Je(e,e.return,o)}}function ay(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Kn(e.type)||e.tag===4}function td(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ay(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&&Kn(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 ad(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=rn));else if(i!==4&&(i===27&&Kn(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ad(e,t,a),e=e.sibling;e!==null;)ad(e,t,a),e=e.sibling}function Bo(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&&Kn(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Bo(e,t,a),e=e.sibling;e!==null;)Bo(e,t,a),e=e.sibling}function ny(e){var t=e.stateNode,a=e.memoizedProps;try{for(var i=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Ht(t,i,a),t[Vt]=e,t[Pt]=a}catch(c){Je(e,e.return,c)}}var pn=!1,At=!1,nd=!1,ry=typeof WeakSet=="function"?WeakSet:Set,Mt=null;function W2(e,t){if(e=e.containerInfo,Cd=ru,e=gg(e),Kc(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 o=i.anchorOffset,c=i.focusNode;i=i.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var m=0,g=-1,_=-1,z=0,H=0,Z=e,j=null;t:for(;;){for(var B;Z!==a||o!==0&&Z.nodeType!==3||(g=m+o),Z!==c||i!==0&&Z.nodeType!==3||(_=m+i),Z.nodeType===3&&(m+=Z.nodeValue.length),(B=Z.firstChild)!==null;)j=Z,Z=B;for(;;){if(Z===e)break t;if(j===a&&++z===o&&(g=m),j===c&&++H===i&&(_=m),(B=Z.nextSibling)!==null)break;Z=j,j=Z.parentNode}Z=B}a=g===-1||_===-1?null:{start:g,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ed={focusedElem:e,selectionRange:a},ru=!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++)o=e[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,a=t,o=c.memoizedProps,c=c.memoizedState,i=a.stateNode;try{var ce=Tr(a.type,o);e=i.getSnapshotBeforeUpdate(ce,c),i.__reactInternalSnapshotBeforeUpdate=e}catch(ye){Je(a,a.return,ye)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Ad(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ad(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(s(163))}if(e=t.sibling,e!==null){e.return=t.return,Mt=e;break}Mt=t.return}}function iy(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:yn(e,a),i&4&&ql(5,a);break;case 1:if(yn(e,a),i&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(m){Je(a,a.return,m)}else{var o=Tr(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(m){Je(a,a.return,m)}}i&64&&W0(a),i&512&&Gl(a,a.return);break;case 3:if(yn(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{Zg(e,t)}catch(m){Je(a,a.return,m)}}break;case 27:t===null&&i&4&&ny(a);case 26:case 5:yn(e,a),t===null&&i&4&&ty(a),i&512&&Gl(a,a.return);break;case 12:yn(e,a);break;case 31:yn(e,a),i&4&&oy(e,a);break;case 13:yn(e,a),i&4&&uy(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=oC.bind(null,a),AC(e,a))));break;case 22:if(i=a.memoizedState!==null||pn,!i){t=t!==null&&t.memoizedState!==null||At,o=pn;var c=At;pn=i,(At=t)&&!c?bn(e,a,(a.subtreeFlags&8772)!==0):yn(e,a),pn=o,At=c}break;case 30:break;default:yn(e,a)}}function ly(e){var t=e.alternate;t!==null&&(e.alternate=null,ly(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Mc(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,ea=!1;function gn(e,t,a){for(a=a.child;a!==null;)sy(e,t,a),a=a.sibling}function sy(e,t,a){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(Ct,a)}catch{}switch(a.tag){case 26:At||Xa(a,t),gn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:At||Xa(a,t);var i=ct,o=ea;Kn(a.type)&&(ct=a.stateNode,ea=!1),gn(e,t,a),Il(a.stateNode),ct=i,ea=o;break;case 5:At||Xa(a,t);case 6:if(i=ct,o=ea,ct=null,gn(e,t,a),ct=i,ea=o,ct!==null)if(ea)try{(ct.nodeType===9?ct.body:ct.nodeName==="HTML"?ct.ownerDocument.body:ct).removeChild(a.stateNode)}catch(c){Je(a,t,c)}else try{ct.removeChild(a.stateNode)}catch(c){Je(a,t,c)}break;case 18:ct!==null&&(ea?(e=ct,Wy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Bi(e)):Wy(ct,a.stateNode));break;case 4:i=ct,o=ea,ct=a.stateNode.containerInfo,ea=!0,gn(e,t,a),ct=i,ea=o;break;case 0:case 11:case 14:case 15:Gn(2,a,t),At||Gn(4,a,t),gn(e,t,a);break;case 1:At||(Xa(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&ey(a,t,i)),gn(e,t,a);break;case 21:gn(e,t,a);break;case 22:At=(i=At)||a.memoizedState!==null,gn(e,t,a),At=i;break;default:gn(e,t,a)}}function oy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bi(e)}catch(a){Je(t,t.return,a)}}}function uy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bi(e)}catch(a){Je(t,t.return,a)}}function eC(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ry),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ry),t;default:throw Error(s(435,e.tag))}}function Uo(e,t){var a=eC(e);t.forEach(function(i){if(!a.has(i)){a.add(i);var o=uC.bind(null,e,i);i.then(o,o)}})}function ta(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=a[i],c=e,m=t,g=m;e:for(;g!==null;){switch(g.tag){case 27:if(Kn(g.type)){ct=g.stateNode,ea=!1;break e}break;case 5:ct=g.stateNode,ea=!1;break e;case 3:case 4:ct=g.stateNode.containerInfo,ea=!0;break e}g=g.return}if(ct===null)throw Error(s(160));sy(c,m,o),ct=null,ea=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)cy(t,e),t=t.sibling}var Ba=null;function cy(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ta(t,e),aa(e),i&4&&(Gn(3,e,e.return),ql(3,e),Gn(5,e,e.return));break;case 1:ta(t,e),aa(e),i&512&&(At||a===null||Xa(a,a.return)),i&64&&pn&&(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 o=Ba;if(ta(t,e),aa(e),i&512&&(At||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,o=o.ownerDocument||o;t:switch(i){case"title":c=o.getElementsByTagName("title")[0],(!c||c[pl]||c[Vt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(i),o.head.insertBefore(c,o.querySelector("head > title"))),Ht(c,i,a),c[Vt]=e,Rt(c),i=c;break e;case"link":var m=cb("link","href",o).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=o.createElement(i),Ht(c,i,a),o.head.appendChild(c);break;case"meta":if(m=cb("meta","content",o).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=o.createElement(i),Ht(c,i,a),o.head.appendChild(c);break;default:throw Error(s(468,i))}c[Vt]=e,Rt(c),i=c}e.stateNode=i}else fb(o,e.type,e.stateNode);else e.stateNode=ub(o,i,e.memoizedProps);else c!==i?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,i===null?fb(o,e.type,e.stateNode):ub(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&ed(e,e.memoizedProps,a.memoizedProps)}break;case 27:ta(t,e),aa(e),i&512&&(At||a===null||Xa(a,a.return)),a!==null&&i&4&&ed(e,e.memoizedProps,a.memoizedProps);break;case 5:if(ta(t,e),aa(e),i&512&&(At||a===null||Xa(a,a.return)),e.flags&32){o=e.stateNode;try{ii(o,"")}catch(ce){Je(e,e.return,ce)}}i&4&&e.stateNode!=null&&(o=e.memoizedProps,ed(e,o,a!==null?a.memoizedProps:o)),i&1024&&(nd=!0);break;case 6:if(ta(t,e),aa(e),i&4){if(e.stateNode===null)throw Error(s(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(ce){Je(e,e.return,ce)}}break;case 3:if(eu=null,o=Ba,Ba=Po(t.containerInfo),ta(t,e),Ba=o,aa(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Bi(t.containerInfo)}catch(ce){Je(e,e.return,ce)}nd&&(nd=!1,fy(e));break;case 4:i=Ba,Ba=Po(e.stateNode.containerInfo),ta(t,e),aa(e),Ba=i;break;case 12:ta(t,e),aa(e);break;case 31:ta(t,e),aa(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Uo(e,i)));break;case 13:ta(t,e),aa(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Ho=k()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Uo(e,i)));break;case 22:o=e.memoizedState!==null;var _=a!==null&&a.memoizedState!==null,z=pn,H=At;if(pn=z||o,At=H||_,ta(t,e),At=H,pn=z,aa(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(a===null||_||pn||At||Or(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){_=a=t;try{if(c=_.stateNode,o)m=c.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{g=_.stateNode;var Z=_.memoizedProps.style,j=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;g.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(ce){Je(_,_.return,ce)}}}else if(t.tag===6){if(a===null){_=t;try{_.stateNode.nodeValue=o?"":_.memoizedProps}catch(ce){Je(_,_.return,ce)}}}else if(t.tag===18){if(a===null){_=t;try{var B=_.stateNode;o?eb(B,!0):eb(_.stateNode,!1)}catch(ce){Je(_,_.return,ce)}}}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,Uo(e,a))));break;case 19:ta(t,e),aa(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Uo(e,i)));break;case 30:break;case 21:break;default:ta(t,e),aa(e)}}function aa(e){var t=e.flags;if(t&2){try{for(var a,i=e.return;i!==null;){if(ay(i)){a=i;break}i=i.return}if(a==null)throw Error(s(160));switch(a.tag){case 27:var o=a.stateNode,c=td(e);Bo(e,c,o);break;case 5:var m=a.stateNode;a.flags&32&&(ii(m,""),a.flags&=-33);var g=td(e);Bo(e,g,m);break;case 3:case 4:var _=a.stateNode.containerInfo,z=td(e);ad(e,z,_);break;default:throw Error(s(161))}}catch(H){Je(e,e.return,H)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;fy(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)iy(e,t.alternate,t),t=t.sibling}function Or(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gn(4,t,t.return),Or(t);break;case 1:Xa(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&ey(t,t.return,a),Or(t);break;case 27:Il(t.stateNode);case 26:case 5:Xa(t,t.return),Or(t);break;case 22:t.memoizedState===null&&Or(t);break;case 30:Or(t);break;default:Or(t)}e=e.sibling}}function bn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,o=e,c=t,m=c.flags;switch(c.tag){case 0:case 11:case 15:bn(o,c,a),ql(4,c);break;case 1:if(bn(o,c,a),i=c,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(z){Je(i,i.return,z)}if(i=c,o=i.updateQueue,o!==null){var g=i.stateNode;try{var _=o.shared.hiddenCallbacks;if(_!==null)for(o.shared.hiddenCallbacks=null,o=0;o<_.length;o++)Gg(_[o],g)}catch(z){Je(i,i.return,z)}}a&&m&64&&W0(c),Gl(c,c.return);break;case 27:ny(c);case 26:case 5:bn(o,c,a),a&&i===null&&m&4&&ty(c),Gl(c,c.return);break;case 12:bn(o,c,a);break;case 31:bn(o,c,a),a&&m&4&&oy(o,c);break;case 13:bn(o,c,a),a&&m&4&&uy(o,c);break;case 22:c.memoizedState===null&&bn(o,c,a),Gl(c,c.return);break;case 30:break;default:bn(o,c,a)}t=t.sibling}}function rd(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&&Al(a))}function id(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Al(e))}function Ua(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)dy(e,t,a,i),t=t.sibling}function dy(e,t,a,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Ua(e,t,a,i),o&2048&&ql(9,t);break;case 1:Ua(e,t,a,i);break;case 3:Ua(e,t,a,i),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Al(e)));break;case 12:if(o&2048){Ua(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(_){Je(t,t.return,_)}}else Ua(e,t,a,i);break;case 31:Ua(e,t,a,i);break;case 13:Ua(e,t,a,i);break;case 23:break;case 22:c=t.stateNode,m=t.alternate,t.memoizedState!==null?c._visibility&2?Ua(e,t,a,i):Zl(e,t):c._visibility&2?Ua(e,t,a,i):(c._visibility|=2,wi(e,t,a,i,(t.subtreeFlags&10256)!==0||!1)),o&2048&&rd(m,t);break;case 24:Ua(e,t,a,i),o&2048&&id(t.alternate,t);break;default:Ua(e,t,a,i)}}function wi(e,t,a,i,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,m=t,g=a,_=i,z=m.flags;switch(m.tag){case 0:case 11:case 15:wi(c,m,g,_,o),ql(8,m);break;case 23:break;case 22:var H=m.stateNode;m.memoizedState!==null?H._visibility&2?wi(c,m,g,_,o):Zl(c,m):(H._visibility|=2,wi(c,m,g,_,o)),o&&z&2048&&rd(m.alternate,m);break;case 24:wi(c,m,g,_,o),o&&z&2048&&id(m.alternate,m);break;default:wi(c,m,g,_,o)}t=t.sibling}}function Zl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,o=i.flags;switch(i.tag){case 22:Zl(a,i),o&2048&&rd(i.alternate,i);break;case 24:Zl(a,i),o&2048&&id(i.alternate,i);break;default:Zl(a,i)}t=t.sibling}}var Yl=8192;function Di(e,t,a){if(e.subtreeFlags&Yl)for(e=e.child;e!==null;)my(e,t,a),e=e.sibling}function my(e,t,a){switch(e.tag){case 26:Di(e,t,a),e.flags&Yl&&e.memoizedState!==null&&HC(a,Ba,e.memoizedState,e.memoizedProps);break;case 5:Di(e,t,a);break;case 3:case 4:var i=Ba;Ba=Po(e.stateNode.containerInfo),Di(e,t,a),Ba=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Yl,Yl=16777216,Di(e,t,a),Yl=i):Di(e,t,a));break;default:Di(e,t,a)}}function hy(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 $l(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,gy(i,e)}hy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)py(e),e=e.sibling}function py(e){switch(e.tag){case 0:case 11:case 15:$l(e),e.flags&2048&&Gn(9,e,e.return);break;case 3:$l(e);break;case 12:$l(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Lo(e)):$l(e);break;default:$l(e)}}function Lo(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,gy(i,e)}hy(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gn(8,t,t.return),Lo(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Lo(t));break;default:Lo(t)}e=e.sibling}}function gy(e,t){for(;Mt!==null;){var a=Mt;switch(a.tag){case 0:case 11:case 15:Gn(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:Al(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Mt=i;else e:for(a=e;Mt!==null;){i=Mt;var o=i.sibling,c=i.return;if(ly(i),i===a){Mt=null;break e}if(o!==null){o.return=c,Mt=o;break e}Mt=c}}}var tC={getCacheForType:function(e){var t=Ut(Et),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Ut(Et).controller.signal}},aC=typeof WeakMap=="function"?WeakMap:Map,$e=0,nt=null,Oe=null,ze=0,Ke=0,ma=null,Zn=!1,Ai=!1,ld=!1,vn=0,pt=0,Yn=0,Rr=0,sd=0,ha=0,Ti=0,Fl=null,na=null,od=!1,Ho=0,yy=0,qo=1/0,Go=null,$n=null,Ot=0,Fn=null,Oi=null,xn=0,ud=0,cd=null,by=null,Ql=0,fd=null;function pa(){return($e&2)!==0&&ze!==0?ze&-ze:O.T!==null?yd():kp()}function vy(){if(ha===0)if((ze&536870912)===0||je){var e=Ks;Ks<<=1,(Ks&3932160)===0&&(Ks=262144),ha=e}else ha=536870912;return e=fa.current,e!==null&&(e.flags|=32),ha}function ra(e,t,a){(e===nt&&(Ke===2||Ke===9)||e.cancelPendingCommit!==null)&&(Ri(e,0),Qn(e,ze,ha,!1)),hl(e,a),(($e&2)===0||e!==nt)&&(e===nt&&(($e&2)===0&&(Rr|=a),pt===4&&Qn(e,ze,ha,!1)),Ka(e))}function xy(e,t,a){if(($e&6)!==0)throw Error(s(327));var i=!a&&(t&127)===0&&(t&e.expiredLanes)===0||ml(e,t),o=i?iC(e,t):md(e,t,!0),c=i;do{if(o===0){Ai&&!i&&Qn(e,t,0,!1);break}else{if(a=e.current.alternate,c&&!nC(a)){o=md(e,t,!1),c=!1;continue}if(o===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;o=Fl;var _=g.current.memoizedState.isDehydrated;if(_&&(Ri(g,m).flags|=256),m=md(g,m,!1),m!==2){if(ld&&!_){g.errorRecoveryDisabledLanes|=c,Rr|=c,o=4;break e}c=na,na=o,c!==null&&(na===null?na=c:na.push.apply(na,c))}o=m}if(c=!1,o!==2)continue}}if(o===1){Ri(e,0),Qn(e,t,0,!0);break}e:{switch(i=e,c=o,c){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:Qn(i,t,ha,!Zn);break e;case 2:na=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=Ho+300-k(),10<o)){if(Qn(i,t,ha,!Zn),Is(i,0,!0)!==0)break e;xn=t,i.timeoutHandle=Iy(Sy.bind(null,i,a,na,Go,od,t,ha,Rr,Ti,Zn,c,"Throttled",-0,0),o);break e}Sy(i,a,na,Go,od,t,ha,Rr,Ti,Zn,c,null,-0,0)}}break}while(!0);Ka(e)}function Sy(e,t,a,i,o,c,m,g,_,z,H,Z,j,B){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rn},my(t,c,Z);var ce=(c&62914560)===c?Ho-k():(c&4194048)===c?yy-k():0;if(ce=qC(Z,ce),ce!==null){xn=c,e.cancelPendingCommit=ce(Ty.bind(null,e,t,c,a,i,o,m,g,_,H,Z,null,j,B)),Qn(e,c,m,!z);return}}Ty(e,t,c,a,i,o,m,g,_)}function nC(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 o=a[i],c=o.getSnapshot;o=o.value;try{if(!ua(c(),o))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 Qn(e,t,a,i){t&=~sd,t&=~Rr,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var c=31-jt(o),m=1<<c;i[c]=-1,o&=~m}a!==0&&Rp(e,a,t)}function Zo(){return($e&6)===0?(Xl(0),!1):!0}function dd(){if(Oe!==null){if(Ke===0)var e=Oe.return;else e=Oe,un=Nr=null,Af(e),Si=null,Ol=0,e=Oe;for(;e!==null;)P0(e.alternate,e),e=e.return;Oe=null}}function Ri(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,_C(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),xn=0,dd(),nt=e,Oe=a=sn(e.current,null),ze=t,Ke=0,ma=null,Zn=!1,Ai=ml(e,t),ld=!1,Ti=ha=sd=Rr=Yn=pt=0,na=Fl=null,od=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-jt(i),c=1<<o;t|=e[o],i&=~c}return vn=t,uo(),a}function Ny(e,t){Ee=null,O.H=Ul,t===xi||t===bo?(t=Ug(),Ke=3):t===gf?(t=Ug(),Ke=4):Ke=t===Yf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ma=t,Oe===null&&(pt=1,Mo(e,Ea(t,e.current)))}function _y(){var e=fa.current;return e===null?!0:(ze&4194048)===ze?Ta===null:(ze&62914560)===ze||(ze&536870912)!==0?e===Ta:!1}function Cy(){var e=O.H;return O.H=Ul,e===null?Ul:e}function Ey(){var e=O.A;return O.A=tC,e}function Yo(){pt=4,Zn||(ze&4194048)!==ze&&fa.current!==null||(Ai=!0),(Yn&134217727)===0&&(Rr&134217727)===0||nt===null||Qn(nt,ze,ha,!1)}function md(e,t,a){var i=$e;$e|=2;var o=Cy(),c=Ey();(nt!==e||ze!==t)&&(Go=null,Ri(e,t)),t=!1;var m=pt;e:do try{if(Ke!==0&&Oe!==null){var g=Oe,_=ma;switch(Ke){case 8:dd(),m=6;break e;case 3:case 2:case 9:case 6:fa.current===null&&(t=!0);var z=Ke;if(Ke=0,ma=null,Mi(e,g,_,z),a&&Ai){m=0;break e}break;default:z=Ke,Ke=0,ma=null,Mi(e,g,_,z)}}rC(),m=pt;break}catch(H){Ny(e,H)}while(!0);return t&&e.shellSuspendCounter++,un=Nr=null,$e=i,O.H=o,O.A=c,Oe===null&&(nt=null,ze=0,uo()),m}function rC(){for(;Oe!==null;)wy(Oe)}function iC(e,t){var a=$e;$e|=2;var i=Cy(),o=Ey();nt!==e||ze!==t?(Go=null,qo=k()+500,Ri(e,t)):Ai=ml(e,t);e:do try{if(Ke!==0&&Oe!==null){t=Oe;var c=ma;t:switch(Ke){case 1:Ke=0,ma=null,Mi(e,t,c,1);break;case 2:case 9:if(Vg(c)){Ke=0,ma=null,Dy(t);break}t=function(){Ke!==2&&Ke!==9||nt!==e||(Ke=7),Ka(e)},c.then(t,t);break e;case 3:Ke=7;break e;case 4:Ke=5;break e;case 7:Vg(c)?(Ke=0,ma=null,Dy(t)):(Ke=0,ma=null,Mi(e,t,c,7));break;case 5:var m=null;switch(Oe.tag){case 26:m=Oe.memoizedState;case 5:case 27:var g=Oe;if(m?db(m):g.stateNode.complete){Ke=0,ma=null;var _=g.sibling;if(_!==null)Oe=_;else{var z=g.return;z!==null?(Oe=z,$o(z)):Oe=null}break t}}Ke=0,ma=null,Mi(e,t,c,5);break;case 6:Ke=0,ma=null,Mi(e,t,c,6);break;case 8:dd(),pt=6;break e;default:throw Error(s(462))}}lC();break}catch(H){Ny(e,H)}while(!0);return un=Nr=null,O.H=i,O.A=o,$e=a,Oe!==null?0:(nt=null,ze=0,uo(),pt)}function lC(){for(;Oe!==null&&!C();)wy(Oe)}function wy(e){var t=J0(e.alternate,e,vn);e.memoizedProps=e.pendingProps,t===null?$o(e):Oe=t}function Dy(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Y0(a,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=Y0(a,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:Af(t);default:P0(a,t),t=Oe=Eg(t,vn),t=J0(a,t,vn)}e.memoizedProps=e.pendingProps,t===null?$o(e):Oe=t}function Mi(e,t,a,i){un=Nr=null,Af(t),Si=null,Ol=0;var o=t.return;try{if(X2(e,o,t,a,ze)){pt=1,Mo(e,Ea(a,e.current)),Oe=null;return}}catch(c){if(o!==null)throw Oe=o,c;pt=1,Mo(e,Ea(a,e.current)),Oe=null;return}t.flags&32768?(je||i===1?e=!0:Ai||(ze&536870912)!==0?e=!1:(Zn=e=!0,(i===2||i===9||i===3||i===6)&&(i=fa.current,i!==null&&i.tag===13&&(i.flags|=16384))),Ay(t,e)):$o(t)}function $o(e){var t=e;do{if((t.flags&32768)!==0){Ay(t,Zn);return}e=t.return;var a=I2(t.alternate,t,vn);if(a!==null){Oe=a;return}if(t=t.sibling,t!==null){Oe=t;return}Oe=t=e}while(t!==null);pt===0&&(pt=5)}function Ay(e,t){do{var a=P2(e.alternate,e);if(a!==null){a.flags&=32767,Oe=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Oe=e;return}Oe=e=a}while(e!==null);pt=6,Oe=null}function Ty(e,t,a,i,o,c,m,g,_){e.cancelPendingCommit=null;do Fo();while(Ot!==0);if(($e&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(c=t.lanes|t.childLanes,c|=ef,L_(e,a,c,m,g,_),e===nt&&(Oe=nt=null,ze=0),Oi=t,Fn=e,xn=a,ud=c,cd=o,by=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,cC(fe,function(){return ky(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=O.T,O.T=null,o=X.p,X.p=2,m=$e,$e|=4;try{W2(e,t,a)}finally{$e=m,X.p=o,O.T=i}}Ot=1,Oy(),Ry(),My()}}function Oy(){if(Ot===1){Ot=0;var e=Fn,t=Oi,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var i=X.p;X.p=2;var o=$e;$e|=4;try{cy(t,e);var c=Ed,m=gg(e.containerInfo),g=c.focusedElem,_=c.selectionRange;if(m!==g&&g&&g.ownerDocument&&pg(g.ownerDocument.documentElement,g)){if(_!==null&&Kc(g)){var z=_.start,H=_.end;if(H===void 0&&(H=z),"selectionStart"in g)g.selectionStart=z,g.selectionEnd=Math.min(H,g.value.length);else{var Z=g.ownerDocument||document,j=Z&&Z.defaultView||window;if(j.getSelection){var B=j.getSelection(),ce=g.textContent.length,ye=Math.min(_.start,ce),at=_.end===void 0?ye:Math.min(_.end,ce);!B.extend&&ye>at&&(m=at,at=ye,ye=m);var T=hg(g,ye),w=hg(g,at);if(T&&w&&(B.rangeCount!==1||B.anchorNode!==T.node||B.anchorOffset!==T.offset||B.focusNode!==w.node||B.focusOffset!==w.offset)){var M=Z.createRange();M.setStart(T.node,T.offset),B.removeAllRanges(),ye>at?(B.addRange(M),B.extend(w.node,w.offset)):(M.setEnd(w.node,w.offset),B.addRange(M))}}}}for(Z=[],B=g;B=B.parentNode;)B.nodeType===1&&Z.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<Z.length;g++){var G=Z[g];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}ru=!!Cd,Ed=Cd=null}finally{$e=o,X.p=i,O.T=a}}e.current=t,Ot=2}}function Ry(){if(Ot===2){Ot=0;var e=Fn,t=Oi,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var i=X.p;X.p=2;var o=$e;$e|=4;try{iy(e,t.alternate,t)}finally{$e=o,X.p=i,O.T=a}}Ot=3}}function My(){if(Ot===4||Ot===3){Ot=0,R();var e=Fn,t=Oi,a=xn,i=by;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ot=5:(Ot=0,Oi=Fn=null,zy(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&($n=null),Oc(a),t=t.stateNode,Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot(Ct,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=O.T,o=X.p,X.p=2,O.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{O.T=t,X.p=o}}(xn&3)!==0&&Fo(),Ka(e),o=e.pendingLanes,(a&261930)!==0&&(o&42)!==0?e===fd?Ql++:(Ql=0,fd=e):Ql=0,Xl(0)}}function zy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Al(t)))}function Fo(){return Oy(),Ry(),My(),ky()}function ky(){if(Ot!==5)return!1;var e=Fn,t=ud;ud=0;var a=Oc(xn),i=O.T,o=X.p;try{X.p=32>a?32:a,O.T=null,a=cd,cd=null;var c=Fn,m=xn;if(Ot=0,Oi=Fn=null,xn=0,($e&6)!==0)throw Error(s(331));var g=$e;if($e|=4,py(c.current),dy(c,c.current,m,a),$e=g,Xl(0,!1),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot(Ct,c)}catch{}return!0}finally{X.p=o,O.T=i,zy(e,t)}}function jy(e,t,a){t=Ea(a,t),t=Zf(e.stateNode,t,2),e=Ln(e,t,2),e!==null&&(hl(e,2),Ka(e))}function Je(e,t,a){if(e.tag===3)jy(e,e,a);else for(;t!==null;){if(t.tag===3){jy(t,e,a);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&($n===null||!$n.has(i))){e=Ea(a,e),a=V0(2),i=Ln(t,a,2),i!==null&&(B0(a,i,t,e),hl(i,2),Ka(i));break}}t=t.return}}function hd(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new aC;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(a)||(ld=!0,o.add(a),e=sC.bind(null,e,t,a),t.then(e,e))}function sC(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,nt===e&&(ze&a)===a&&(pt===4||pt===3&&(ze&62914560)===ze&&300>k()-Ho?($e&2)===0&&Ri(e,0):sd|=a,Ti===ze&&(Ti=0)),Ka(e)}function Vy(e,t){t===0&&(t=Op()),e=vr(e,t),e!==null&&(hl(e,t),Ka(e))}function oC(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Vy(e,a)}function uC(e,t){var a=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(s(314))}i!==null&&i.delete(t),Vy(e,a)}function cC(e,t){return Qs(e,t)}var Qo=null,zi=null,pd=!1,Xo=!1,gd=!1,Xn=0;function Ka(e){e!==zi&&e.next===null&&(zi===null?Qo=zi=e:zi=zi.next=e),Xo=!0,pd||(pd=!0,dC())}function Xl(e,t){if(!gd&&Xo){gd=!0;do for(var a=!1,i=Qo;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var c=0;else{var m=i.suspendedLanes,g=i.pingedLanes;c=(1<<31-jt(42|e)+1)-1,c&=o&~(m&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,Hy(i,c))}else c=ze,c=Is(i,i===nt?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(c&3)===0||ml(i,c)||(a=!0,Hy(i,c));i=i.next}while(a);gd=!1}}function fC(){By()}function By(){Xo=pd=!1;var e=0;Xn!==0&&NC()&&(e=Xn);for(var t=k(),a=null,i=Qo;i!==null;){var o=i.next,c=Uy(i,t);c===0?(i.next=null,a===null?Qo=o:a.next=o,o===null&&(zi=a)):(a=i,(e!==0||(c&3)!==0)&&(Xo=!0)),i=o}Ot!==0&&Ot!==5||Xl(e),Xn!==0&&(Xn=0)}function Uy(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-jt(c),g=1<<m,_=o[m];_===-1?((g&a)===0||(g&i)!==0)&&(o[m]=U_(g,t)):_<=t&&(e.expiredLanes|=g),c&=~g}if(t=nt,a=ze,a=Is(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===t&&(Ke===2||Ke===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Pr(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||ml(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(i!==null&&Pr(i),Oc(a)){case 2:case 8:a=te;break;case 32:a=fe;break;case 268435456:a=He;break;default:a=fe}return i=Ly.bind(null,e),a=Qs(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&i!==null&&Pr(i),e.callbackPriority=2,e.callbackNode=null,2}function Ly(e,t){if(Ot!==0&&Ot!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Fo()&&e.callbackNode!==a)return null;var i=ze;return i=Is(e,e===nt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(xy(e,i,t),Uy(e,k()),e.callbackNode!=null&&e.callbackNode===a?Ly.bind(null,e):null)}function Hy(e,t){if(Fo())return null;xy(e,t,!0)}function dC(){CC(function(){($e&6)!==0?Qs(W,fC):By()})}function yd(){if(Xn===0){var e=yi;e===0&&(e=mr,mr<<=1,(mr&261888)===0&&(mr=256)),Xn=e}return Xn}function qy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:to(""+e)}function Gy(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 mC(e,t,a,i,o){if(t==="submit"&&a&&a.stateNode===o){var c=qy((o[Pt]||null).action),m=i.submitter;m&&(t=(t=m[Pt]||null)?qy(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var g=new io("action","action",null,i,o);e.push({event:g,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Xn!==0){var _=m?Gy(o,m):new FormData(o);Bf(a,{pending:!0,data:_,method:o.method,action:c},null,_)}}else typeof c=="function"&&(g.preventDefault(),_=m?Gy(o,m):new FormData(o),Bf(a,{pending:!0,data:_,method:o.method,action:c},c,_))},currentTarget:o}]})}}for(var bd=0;bd<Wc.length;bd++){var vd=Wc[bd],hC=vd.toLowerCase(),pC=vd[0].toUpperCase()+vd.slice(1);Va(hC,"on"+pC)}Va(vg,"onAnimationEnd"),Va(xg,"onAnimationIteration"),Va(Sg,"onAnimationStart"),Va("dblclick","onDoubleClick"),Va("focusin","onFocus"),Va("focusout","onBlur"),Va(R2,"onTransitionRun"),Va(M2,"onTransitionStart"),Va(z2,"onTransitionCancel"),Va(Ng,"onTransitionEnd"),ni("onMouseEnter",["mouseout","mouseover"]),ni("onMouseLeave",["mouseout","mouseover"]),ni("onPointerEnter",["pointerout","pointerover"]),ni("onPointerLeave",["pointerout","pointerover"]),pr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pr("onBeforeInput",["compositionend","keypress","textInput","paste"]),pr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kl="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(" "),gC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kl));function Zy(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],o=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,z=g.currentTarget;if(g=g.listener,_!==c&&o.isPropagationStopped())break e;c=g,o.currentTarget=z;try{c(o)}catch(H){oo(H)}o.currentTarget=null,c=_}else for(m=0;m<i.length;m++){if(g=i[m],_=g.instance,z=g.currentTarget,g=g.listener,_!==c&&o.isPropagationStopped())break e;c=g,o.currentTarget=z;try{c(o)}catch(H){oo(H)}o.currentTarget=null,c=_}}}}function Re(e,t){var a=t[Rc];a===void 0&&(a=t[Rc]=new Set);var i=e+"__bubble";a.has(i)||(Yy(t,e,2,!1),a.add(i))}function xd(e,t,a){var i=0;t&&(i|=4),Yy(a,e,i,t)}var Ko="_reactListening"+Math.random().toString(36).slice(2);function Sd(e){if(!e[Ko]){e[Ko]=!0,Bp.forEach(function(a){a!=="selectionchange"&&(gC.has(a)||xd(a,!1,e),xd(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ko]||(t[Ko]=!0,xd("selectionchange",!1,t))}}function Yy(e,t,a,i){switch(vb(t)){case 2:var o=YC;break;case 8:o=$C;break;default:o=Vd}a=o.bind(null,t,a,e),o=void 0,!Hc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Nd(e,t,a,i,o){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===o)break;if(m===4)for(m=i.return;m!==null;){var _=m.tag;if((_===3||_===4)&&m.stateNode.containerInfo===o)return;m=m.return}for(;g!==null;){if(m=ei(g),m===null)return;if(_=m.tag,_===5||_===6||_===26||_===27){i=c=m;continue e}g=g.parentNode}}i=i.return}Kp(function(){var z=c,H=Uc(a),Z=[];e:{var j=_g.get(e);if(j!==void 0){var B=io,ce=e;switch(e){case"keypress":if(no(a)===0)break e;case"keydown":case"keyup":B=u2;break;case"focusin":ce="focus",B=Yc;break;case"focusout":ce="blur",B=Yc;break;case"beforeblur":case"afterblur":B=Yc;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":B=Pp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=I_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=d2;break;case vg:case xg:case Sg:B=e2;break;case Ng:B=h2;break;case"scroll":case"scrollend":B=K_;break;case"wheel":B=g2;break;case"copy":case"cut":case"paste":B=a2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=eg;break;case"toggle":case"beforetoggle":B=b2}var ye=(t&4)!==0,at=!ye&&(e==="scroll"||e==="scrollend"),T=ye?j!==null?j+"Capture":null:j;ye=[];for(var w=z,M;w!==null;){var G=w;if(M=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||M===null||T===null||(G=yl(w,T),G!=null&&ye.push(Jl(w,G,M))),at)break;w=w.return}0<ye.length&&(j=new B(j,ce,null,a,H),Z.push({event:j,listeners:ye}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",j&&a!==Bc&&(ce=a.relatedTarget||a.fromElement)&&(ei(ce)||ce[Wr]))break e;if((B||j)&&(j=H.window===H?H:(j=H.ownerDocument)?j.defaultView||j.parentWindow:window,B?(ce=a.relatedTarget||a.toElement,B=z,ce=ce?ei(ce):null,ce!==null&&(at=f(ce),ye=ce.tag,ce!==at||ye!==5&&ye!==27&&ye!==6)&&(ce=null)):(B=null,ce=z),B!==ce)){if(ye=Pp,G="onMouseLeave",T="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(ye=eg,G="onPointerLeave",T="onPointerEnter",w="pointer"),at=B==null?j:gl(B),M=ce==null?j:gl(ce),j=new ye(G,w+"leave",B,a,H),j.target=at,j.relatedTarget=M,G=null,ei(H)===z&&(ye=new ye(T,w+"enter",ce,a,H),ye.target=M,ye.relatedTarget=at,G=ye),at=G,B&&ce)t:{for(ye=yC,T=B,w=ce,M=0,G=T;G;G=ye(G))M++;G=0;for(var ge=w;ge;ge=ye(ge))G++;for(;0<M-G;)T=ye(T),M--;for(;0<G-M;)w=ye(w),G--;for(;M--;){if(T===w||w!==null&&T===w.alternate){ye=T;break t}T=ye(T),w=ye(w)}ye=null}else ye=null;B!==null&&$y(Z,j,B,ye,!1),ce!==null&&at!==null&&$y(Z,at,ce,ye,!0)}}e:{if(j=z?gl(z):window,B=j.nodeName&&j.nodeName.toLowerCase(),B==="select"||B==="input"&&j.type==="file")var qe=og;else if(lg(j))if(ug)qe=A2;else{qe=w2;var me=E2}else B=j.nodeName,!B||B.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?z&&Vc(z.elementType)&&(qe=og):qe=D2;if(qe&&(qe=qe(e,z))){sg(Z,qe,a,H);break e}me&&me(e,j,z),e==="focusout"&&z&&j.type==="number"&&z.memoizedProps.value!=null&&jc(j,"number",j.value)}switch(me=z?gl(z):window,e){case"focusin":(lg(me)||me.contentEditable==="true")&&(ui=me,Jc=z,El=null);break;case"focusout":El=Jc=ui=null;break;case"mousedown":Ic=!0;break;case"contextmenu":case"mouseup":case"dragend":Ic=!1,yg(Z,a,H);break;case"selectionchange":if(O2)break;case"keydown":case"keyup":yg(Z,a,H)}var we;if(Fc)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 oi?rg(e,a)&&(ke="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ke="onCompositionStart");ke&&(tg&&a.locale!=="ko"&&(oi||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&oi&&(we=Jp()):(Mn=H,qc="value"in Mn?Mn.value:Mn.textContent,oi=!0)),me=Jo(z,ke),0<me.length&&(ke=new Wp(ke,e,null,a,H),Z.push({event:ke,listeners:me}),we?ke.data=we:(we=ig(a),we!==null&&(ke.data=we)))),(we=x2?S2(e,a):N2(e,a))&&(ke=Jo(z,"onBeforeInput"),0<ke.length&&(me=new Wp("onBeforeInput","beforeinput",null,a,H),Z.push({event:me,listeners:ke}),me.data=we)),mC(Z,e,z,a,H)}Zy(Z,t)})}function Jl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Jo(e,t){for(var a=t+"Capture",i=[];e!==null;){var o=e,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=yl(e,a),o!=null&&i.unshift(Jl(e,o,c)),o=yl(e,t),o!=null&&i.push(Jl(e,o,c))),e.tag===3)return i;e=e.return}return[]}function yC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function $y(e,t,a,i,o){for(var c=t._reactName,m=[];a!==null&&a!==i;){var g=a,_=g.alternate,z=g.stateNode;if(g=g.tag,_!==null&&_===i)break;g!==5&&g!==26&&g!==27||z===null||(_=z,o?(z=yl(a,c),z!=null&&m.unshift(Jl(a,z,_))):o||(z=yl(a,c),z!=null&&m.push(Jl(a,z,_)))),a=a.return}m.length!==0&&e.push({event:t,listeners:m})}var bC=/\r\n?/g,vC=/\u0000|\uFFFD/g;function Fy(e){return(typeof e=="string"?e:""+e).replace(bC,`
|
|
49
|
-
`).replace(vC,"")}function Qy(e,t){return t=Fy(t),Fy(e)===t}function tt(e,t,a,i,o,c){switch(a){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||ii(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&ii(e,""+i);break;case"className":Ws(e,"class",i);break;case"tabIndex":Ws(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ws(e,a,i);break;case"style":Qp(e,i,c);break;case"data":if(t!=="object"){Ws(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=to(""+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",o.name,o,null),tt(e,t,"formEncType",o.formEncType,o,null),tt(e,t,"formMethod",o.formMethod,o,null),tt(e,t,"formTarget",o.formTarget,o,null)):(tt(e,t,"encType",o.encType,o,null),tt(e,t,"method",o.method,o,null),tt(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=to(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=rn);break;case"onScroll":i!=null&&Re("scroll",e);break;case"onScrollEnd":i!=null&&Re("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(a=i.__html,a!=null){if(o.children!=null)throw Error(s(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=to(""+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":Re("beforetoggle",e),Re("toggle",e),Ps(e,"popover",i);break;case"xlinkActuate":nn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":nn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":nn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":nn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":nn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":nn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":nn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":nn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":nn(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Ps(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=Q_.get(a)||a,Ps(e,a,i))}}function _d(e,t,a,i,o,c){switch(a){case"style":Qp(e,i,c);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(a=i.__html,a!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=a}}break;case"children":typeof i=="string"?ii(e,i):(typeof i=="number"||typeof i=="bigint")&&ii(e,""+i);break;case"onScroll":i!=null&&Re("scroll",e);break;case"onScrollEnd":i!=null&&Re("scrollend",e);break;case"onClick":i!=null&&(e.onclick=rn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Up.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),c=e[Pt]||null,c=c!=null?c[a]:null,typeof c=="function"&&e.removeEventListener(t,c,o),typeof i=="function")){typeof c!="function"&&c!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,o);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Ps(e,a,i)}}}function Ht(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Re("error",e),Re("load",e);var i=!1,o=!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":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:tt(e,t,c,m,a,null)}}o&&tt(e,t,"srcSet",a.srcSet,a,null),i&&tt(e,t,"src",a.src,a,null);return;case"input":Re("invalid",e);var g=c=m=o=null,_=null,z=null;for(i in a)if(a.hasOwnProperty(i)){var H=a[i];if(H!=null)switch(i){case"name":o=H;break;case"type":m=H;break;case"checked":_=H;break;case"defaultChecked":z=H;break;case"value":c=H;break;case"defaultValue":g=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(s(137,t));break;default:tt(e,t,i,H,a,null)}}Zp(e,c,g,_,z,m,o,!1);return;case"select":Re("invalid",e),i=m=c=null;for(o in a)if(a.hasOwnProperty(o)&&(g=a[o],g!=null))switch(o){case"value":c=g;break;case"defaultValue":m=g;break;case"multiple":i=g;default:tt(e,t,o,g,a,null)}t=c,a=m,e.multiple=!!i,t!=null?ri(e,!!i,t,!1):a!=null&&ri(e,!!i,a,!0);return;case"textarea":Re("invalid",e),c=o=i=null;for(m in a)if(a.hasOwnProperty(m)&&(g=a[m],g!=null))switch(m){case"value":i=g;break;case"defaultValue":o=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(s(91));break;default:tt(e,t,m,g,a,null)}$p(e,i,o,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":Re("beforetoggle",e),Re("toggle",e),Re("cancel",e),Re("close",e);break;case"iframe":case"object":Re("load",e);break;case"video":case"audio":for(i=0;i<Kl.length;i++)Re(Kl[i],e);break;case"image":Re("error",e),Re("load",e);break;case"details":Re("toggle",e);break;case"embed":case"source":case"link":Re("error",e),Re("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(z in a)if(a.hasOwnProperty(z)&&(i=a[z],i!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:tt(e,t,z,i,a,null)}return;default:if(Vc(t)){for(H in a)a.hasOwnProperty(H)&&(i=a[H],i!==void 0&&_d(e,t,H,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 xC(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 o=null,c=null,m=null,g=null,_=null,z=null,H=null;for(B in a){var Z=a[B];if(a.hasOwnProperty(B)&&Z!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":_=Z;default:i.hasOwnProperty(B)||tt(e,t,B,null,i,Z)}}for(var j in i){var B=i[j];if(Z=a[j],i.hasOwnProperty(j)&&(B!=null||Z!=null))switch(j){case"type":c=B;break;case"name":o=B;break;case"checked":z=B;break;case"defaultChecked":H=B;break;case"value":m=B;break;case"defaultValue":g=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(s(137,t));break;default:B!==Z&&tt(e,t,j,B,i,Z)}}kc(e,m,g,_,z,H,c,o);return;case"select":B=m=g=j=null;for(c in a)if(_=a[c],a.hasOwnProperty(c)&&_!=null)switch(c){case"value":break;case"multiple":B=_;default:i.hasOwnProperty(c)||tt(e,t,c,null,i,_)}for(o in i)if(c=i[o],_=a[o],i.hasOwnProperty(o)&&(c!=null||_!=null))switch(o){case"value":j=c;break;case"defaultValue":g=c;break;case"multiple":m=c;default:c!==_&&tt(e,t,o,c,i,_)}t=g,a=m,i=B,j!=null?ri(e,!!a,j,!1):!!i!=!!a&&(t!=null?ri(e,!!a,t,!0):ri(e,!!a,a?[]:"",!1));return;case"textarea":B=j=null;for(g in a)if(o=a[g],a.hasOwnProperty(g)&&o!=null&&!i.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:tt(e,t,g,null,i,o)}for(m in i)if(o=i[m],c=a[m],i.hasOwnProperty(m)&&(o!=null||c!=null))switch(m){case"value":j=o;break;case"defaultValue":B=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==c&&tt(e,t,m,o,i,c)}Yp(e,j,B);return;case"option":for(var ce in a)if(j=a[ce],a.hasOwnProperty(ce)&&j!=null&&!i.hasOwnProperty(ce))switch(ce){case"selected":e.selected=!1;break;default:tt(e,t,ce,null,i,j)}for(_ in i)if(j=i[_],B=a[_],i.hasOwnProperty(_)&&j!==B&&(j!=null||B!=null))switch(_){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:tt(e,t,_,j,i,B)}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 ye in a)j=a[ye],a.hasOwnProperty(ye)&&j!=null&&!i.hasOwnProperty(ye)&&tt(e,t,ye,null,i,j);for(z in i)if(j=i[z],B=a[z],i.hasOwnProperty(z)&&j!==B&&(j!=null||B!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(s(137,t));break;default:tt(e,t,z,j,i,B)}return;default:if(Vc(t)){for(var at in a)j=a[at],a.hasOwnProperty(at)&&j!==void 0&&!i.hasOwnProperty(at)&&_d(e,t,at,void 0,i,j);for(H in i)j=i[H],B=a[H],!i.hasOwnProperty(H)||j===B||j===void 0&&B===void 0||_d(e,t,H,j,i,B);return}}for(var T in a)j=a[T],a.hasOwnProperty(T)&&j!=null&&!i.hasOwnProperty(T)&&tt(e,t,T,null,i,j);for(Z in i)j=i[Z],B=a[Z],!i.hasOwnProperty(Z)||j===B||j==null&&B==null||tt(e,t,Z,j,i,B)}function Xy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function SC(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var o=a[i],c=o.transferSize,m=o.initiatorType,g=o.duration;if(c&&g&&Xy(m)){for(m=0,g=o.responseEnd,i+=1;i<a.length;i++){var _=a[i],z=_.startTime;if(z>g)break;var H=_.transferSize,Z=_.initiatorType;H&&Xy(Z)&&(_=_.responseEnd,m+=H*(_<g?1:(g-z)/(_-z)))}if(--i,t+=8*(c+m)/(o.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 Cd=null,Ed=null;function Io(e){return e.nodeType===9?e:e.ownerDocument}function Ky(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 Jy(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 wd(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 Dd=null;function NC(){var e=window.event;return e&&e.type==="popstate"?e===Dd?!1:(Dd=e,!0):(Dd=null,!1)}var Iy=typeof setTimeout=="function"?setTimeout:void 0,_C=typeof clearTimeout=="function"?clearTimeout:void 0,Py=typeof Promise=="function"?Promise:void 0,CC=typeof queueMicrotask=="function"?queueMicrotask:typeof Py<"u"?function(e){return Py.resolve(null).then(e).catch(EC)}:Iy;function EC(e){setTimeout(function(){throw e})}function Kn(e){return e==="head"}function Wy(e,t){var a=t,i=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(o),Bi(t);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")Il(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Il(a);for(var c=a.firstChild;c;){var m=c.nextSibling,g=c.nodeName;c[pl]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=m}}else a==="body"&&Il(e.ownerDocument.body);a=o}while(a);Bi(t)}function eb(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 Ad(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":Ad(a),Mc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function wC(e,t,a,i){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[pl])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!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Oa(e.nextSibling),e===null)break}return null}function DC(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Oa(e.nextSibling),e===null))return null;return e}function tb(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Oa(e.nextSibling),e===null))return null;return e}function Td(e){return e.data==="$?"||e.data==="$~"}function Od(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function AC(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 Oa(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 Rd=null;function ab(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Oa(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function nb(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 rb(e,t,a){switch(t=Io(a),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function Il(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Mc(e)}var Ra=new Map,ib=new Set;function Po(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Sn=X.d;X.d={f:TC,r:OC,D:RC,C:MC,L:zC,m:kC,X:VC,S:jC,M:BC};function TC(){var e=Sn.f(),t=Zo();return e||t}function OC(e){var t=ti(e);t!==null&&t.tag===5&&t.type==="form"?N0(t):Sn.r(e)}var ki=typeof document>"u"?null:document;function lb(e,t,a){var i=ki;if(i&&typeof t=="string"&&t){var o=_a(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),ib.has(o)||(ib.add(o),e={rel:e,crossOrigin:a,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),Ht(t,"link",e),Rt(t),i.head.appendChild(t)))}}function RC(e){Sn.D(e),lb("dns-prefetch",e,null)}function MC(e,t){Sn.C(e,t),lb("preconnect",e,t)}function zC(e,t,a){Sn.L(e,t,a);var i=ki;if(i&&e&&t){var o='link[rel="preload"][as="'+_a(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+_a(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+_a(a.imageSizes)+'"]')):o+='[href="'+_a(e)+'"]';var c=o;switch(t){case"style":c=ji(e);break;case"script":c=Vi(e)}Ra.has(c)||(e=v({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ra.set(c,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(Pl(c))||t==="script"&&i.querySelector(Wl(c))||(t=i.createElement("link"),Ht(t,"link",e),Rt(t),i.head.appendChild(t)))}}function kC(e,t){Sn.m(e,t);var a=ki;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+_a(i)+'"][href="'+_a(e)+'"]',c=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Vi(e)}if(!Ra.has(c)&&(e=v({rel:"modulepreload",href:e},t),Ra.set(c,e),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Wl(c)))return}i=a.createElement("link"),Ht(i,"link",e),Rt(i),a.head.appendChild(i)}}}function jC(e,t,a){Sn.S(e,t,a);var i=ki;if(i&&e){var o=ai(i).hoistableStyles,c=ji(e);t=t||"default";var m=o.get(c);if(!m){var g={loading:0,preload:null};if(m=i.querySelector(Pl(c)))g.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ra.get(c))&&Md(e,a);var _=m=i.createElement("link");Rt(_),Ht(_,"link",e),_._p=new Promise(function(z,H){_.onload=z,_.onerror=H}),_.addEventListener("load",function(){g.loading|=1}),_.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Wo(m,t,i)}m={type:"stylesheet",instance:m,count:1,state:g},o.set(c,m)}}}function VC(e,t){Sn.X(e,t);var a=ki;if(a&&e){var i=ai(a).hoistableScripts,o=Vi(e),c=i.get(o);c||(c=a.querySelector(Wl(o)),c||(e=v({src:e,async:!0},t),(t=Ra.get(o))&&zd(e,t),c=a.createElement("script"),Rt(c),Ht(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(o,c))}}function BC(e,t){Sn.M(e,t);var a=ki;if(a&&e){var i=ai(a).hoistableScripts,o=Vi(e),c=i.get(o);c||(c=a.querySelector(Wl(o)),c||(e=v({src:e,async:!0,type:"module"},t),(t=Ra.get(o))&&zd(e,t),c=a.createElement("script"),Rt(c),Ht(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(o,c))}}function sb(e,t,a,i){var o=(o=De.current)?Po(o):null;if(!o)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=ji(a.href),a=ai(o).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=ji(a.href);var c=ai(o).hoistableStyles,m=c.get(e);if(m||(o=o.ownerDocument||o,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,m),(c=o.querySelector(Pl(e)))&&!c._p&&(m.instance=c,m.state.loading=5),Ra.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},Ra.set(e,a),c||UC(o,e,a,m.state))),t&&i===null)throw Error(s(528,""));return m}if(t&&i!==null)throw Error(s(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Vi(a),a=ai(o).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(s(444,e))}}function ji(e){return'href="'+_a(e)+'"'}function Pl(e){return'link[rel="stylesheet"]['+e+"]"}function ob(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function UC(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}),Ht(t,"link",a),Rt(t),e.head.appendChild(t))}function Vi(e){return'[src="'+_a(e)+'"]'}function Wl(e){return"script[async]"+e}function ub(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+_a(a.href)+'"]');if(i)return t.instance=i,Rt(i),i;var o=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Rt(i),Ht(i,"style",o),Wo(i,a.precedence,e),t.instance=i;case"stylesheet":o=ji(a.href);var c=e.querySelector(Pl(o));if(c)return t.state.loading|=4,t.instance=c,Rt(c),c;i=ob(a),(o=Ra.get(o))&&Md(i,o),c=(e.ownerDocument||e).createElement("link"),Rt(c);var m=c;return m._p=new Promise(function(g,_){m.onload=g,m.onerror=_}),Ht(c,"link",i),t.state.loading|=4,Wo(c,a.precedence,e),t.instance=c;case"script":return c=Vi(a.src),(o=e.querySelector(Wl(c)))?(t.instance=o,Rt(o),o):(i=a,(o=Ra.get(c))&&(i=v({},a),zd(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),Rt(o),Ht(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Wo(i,a.precedence,e));return t.instance}function Wo(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,c=o,m=0;m<i.length;m++){var g=i[m];if(g.dataset.precedence===t)c=g;else if(c!==o)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Md(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function zd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var eu=null;function cb(e,t,a){if(eu===null){var i=new Map,o=eu=new Map;o.set(a,i)}else o=eu,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var c=a[o];if(!(c[pl]||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 fb(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function LC(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 db(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function HC(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 o=ji(i.href),c=t.querySelector(Pl(o));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=tu.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=c,Rt(c);return}c=t.ownerDocument||t,i=ob(i),(o=Ra.get(o))&&Md(i,o),c=c.createElement("link"),Rt(c);var m=c;m._p=new Promise(function(g,_){m.onload=g,m.onerror=_}),Ht(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=tu.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var kd=0;function qC(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&&kd===0&&(kd=62500*SC());var o=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>kd?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function tu(){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 au=null;function nu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,au=new Map,t.forEach(GC,e),au=null,tu.call(e))}function GC(e,t){if(!(t.state.loading&4)){var a=au.get(e);if(a)var i=a.get(null);else{a=new Map,au.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var m=o[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(a.set(m.dataset.precedence,m),i=m)}i&&a.set(null,i)}o=t.instance,m=o.getAttribute("data-precedence"),c=a.get(m)||i,c===i&&a.set(null,o),a.set(m,o),this.count++,i=tu.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),c?c.parentNode.insertBefore(o,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var es={$$typeof:ae,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function ZC(e,t,a,i,o,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=Ac(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ac(0),this.hiddenUpdates=Ac(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function mb(e,t,a,i,o,c,m,g,_,z,H,Z){return e=new ZC(e,t,a,m,_,z,H,Z,g),t=1,c===!0&&(t|=24),c=ca(3,null,null,t),e.current=c,c.stateNode=e,t=mf(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:i,isDehydrated:a,cache:t},yf(c),e}function hb(e){return e?(e=di,e):di}function pb(e,t,a,i,o,c){o=hb(o),i.context===null?i.context=o:i.pendingContext=o,i=Un(t),i.payload={element:a},c=c===void 0?null:c,c!==null&&(i.callback=c),a=Ln(e,i,t),a!==null&&(ra(a,e,t),Ml(a,e,t))}function gb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function jd(e,t){gb(e,t),(e=e.alternate)&&gb(e,t)}function yb(e){if(e.tag===13||e.tag===31){var t=vr(e,67108864);t!==null&&ra(t,e,67108864),jd(e,67108864)}}function bb(e){if(e.tag===13||e.tag===31){var t=pa();t=Tc(t);var a=vr(e,t);a!==null&&ra(a,e,t),jd(e,t)}}var ru=!0;function YC(e,t,a,i){var o=O.T;O.T=null;var c=X.p;try{X.p=2,Vd(e,t,a,i)}finally{X.p=c,O.T=o}}function $C(e,t,a,i){var o=O.T;O.T=null;var c=X.p;try{X.p=8,Vd(e,t,a,i)}finally{X.p=c,O.T=o}}function Vd(e,t,a,i){if(ru){var o=Bd(i);if(o===null)Nd(e,t,i,iu,a),xb(e,i);else if(QC(o,e,t,a,i))i.stopPropagation();else if(xb(e,i),t&4&&-1<FC.indexOf(e)){for(;o!==null;){var c=ti(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=hr(c.pendingLanes);if(m!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var _=1<<31-jt(m);g.entanglements[1]|=_,m&=~_}Ka(c),($e&6)===0&&(qo=k()+500,Xl(0))}}break;case 31:case 13:g=vr(c,2),g!==null&&ra(g,c,2),Zo(),jd(c,2)}if(c=Bd(i),c===null&&Nd(e,t,i,iu,a),c===o)break;o=c}o!==null&&i.stopPropagation()}else Nd(e,t,i,null,a)}}function Bd(e){return e=Uc(e),Ud(e)}var iu=null;function Ud(e){if(iu=null,e=ei(e),e!==null){var t=f(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=d(t),e!==null)return e;e=null}else if(a===31){if(e=h(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 iu=e,null}function vb(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(re()){case W:return 2;case te:return 8;case fe:case Ce:return 32;case He:return 268435456;default:return 32}default:return 32}}var Ld=!1,Jn=null,In=null,Pn=null,ts=new Map,as=new Map,Wn=[],FC="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 xb(e,t){switch(e){case"focusin":case"focusout":Jn=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":Pn=null;break;case"pointerover":case"pointerout":ts.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":as.delete(t.pointerId)}}function ns(e,t,a,i,o,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:c,targetContainers:[o]},t!==null&&(t=ti(t),t!==null&&yb(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function QC(e,t,a,i,o){switch(t){case"focusin":return Jn=ns(Jn,e,t,a,i,o),!0;case"dragenter":return In=ns(In,e,t,a,i,o),!0;case"mouseover":return Pn=ns(Pn,e,t,a,i,o),!0;case"pointerover":var c=o.pointerId;return ts.set(c,ns(ts.get(c)||null,e,t,a,i,o)),!0;case"gotpointercapture":return c=o.pointerId,as.set(c,ns(as.get(c)||null,e,t,a,i,o)),!0}return!1}function Sb(e){var t=ei(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=d(a),t!==null){e.blockedOn=t,jp(e.priority,function(){bb(a)});return}}else if(t===31){if(t=h(a),t!==null){e.blockedOn=t,jp(e.priority,function(){bb(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 lu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Bd(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);Bc=i,a.target.dispatchEvent(i),Bc=null}else return t=ti(a),t!==null&&yb(t),e.blockedOn=a,!1;t.shift()}return!0}function Nb(e,t,a){lu(e)&&a.delete(t)}function XC(){Ld=!1,Jn!==null&&lu(Jn)&&(Jn=null),In!==null&&lu(In)&&(In=null),Pn!==null&&lu(Pn)&&(Pn=null),ts.forEach(Nb),as.forEach(Nb)}function su(e,t){e.blockedOn===t&&(e.blockedOn=null,Ld||(Ld=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,XC)))}var ou=null;function _b(e){ou!==e&&(ou=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){ou===e&&(ou=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Ud(i||a)===null)continue;break}var c=ti(a);c!==null&&(e.splice(t,3),t-=3,Bf(c,{pending:!0,data:o,method:a.method,action:i},i,o))}}))}function Bi(e){function t(_){return su(_,e)}Jn!==null&&su(Jn,e),In!==null&&su(In,e),Pn!==null&&su(Pn,e),ts.forEach(t),as.forEach(t);for(var a=0;a<Wn.length;a++){var i=Wn[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Wn.length&&(a=Wn[0],a.blockedOn===null);)Sb(a),a.blockedOn===null&&Wn.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],c=a[i+1],m=o[Pt]||null;if(typeof c=="function")m||_b(a);else if(m){var g=null;if(c&&c.hasAttribute("formAction")){if(o=c,m=c[Pt]||null)g=m.formAction;else if(Ud(o)!==null)continue}else g=m.action;typeof g=="function"?a[i+1]=g:(a.splice(i,3),i-=3),_b(a)}}}function Cb(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return o=m})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=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,o=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),o!==null&&(o(),o=null)}}}function Hd(e){this._internalRoot=e}uu.prototype.render=Hd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var a=t.current,i=pa();pb(a,i,e,t,null,null)},uu.prototype.unmount=Hd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;pb(e.current,2,null,e,null,null),Zo(),t[Wr]=null}};function uu(e){this._internalRoot=e}uu.prototype.unstable_scheduleHydration=function(e){if(e){var t=kp();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Wn.length&&t!==0&&t<Wn[a].priority;a++);Wn.splice(a,0,e),a===0&&Sb(e)}};var Eb=r.version;if(Eb!=="19.2.4")throw Error(s(527,Eb,"19.2.4"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=p(t),e=e!==null?S(e):null,e=e===null?null:e.stateNode,e};var KC={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cu.isDisabled&&cu.supportsFiber)try{Ct=cu.inject(KC),Qt=cu}catch{}}return Ui.createRoot=function(e,t){if(!u(e))throw Error(s(299));var a=!1,i="",o=M0,c=z0,m=k0;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=mb(e,1,!1,null,null,a,i,null,o,c,m,Cb),e[Wr]=t.current,Sd(e),new Hd(t)},Ui.hydrateRoot=function(e,t,a){if(!u(e))throw Error(s(299));var i=!1,o="",c=M0,m=z0,g=k0,_=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=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=mb(e,1,!0,t,a??null,i,o,_,c,m,g,Cb),t.context=hb(null),a=t.current,i=pa(),i=Tc(i),o=Un(i),o.callback=null,Ln(a,o,i),a=i,t.current.lanes=a,hl(t,a),Ka(t),e[Wr]=t.current,Sd(e),new uu(t)},Ui.version="19.2.4",Ui}var Id;function kb(){if(Id)return du.exports;Id=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),du.exports=zb(),du.exports}var jb=kb(),Ue;(function(n){n.assertEqual=u=>{};function r(u){}n.assertIs=r;function l(u){throw new Error}n.assertNever=l,n.arrayToEnum=u=>{const f={};for(const d of u)f[d]=d;return f},n.getValidEnumValues=u=>{const f=n.objectKeys(u).filter(h=>typeof u[u[h]]!="number"),d={};for(const h of f)d[h]=u[h];return n.objectValues(d)},n.objectValues=u=>n.objectKeys(u).map(function(f){return u[f]}),n.objectKeys=typeof Object.keys=="function"?u=>Object.keys(u):u=>{const f=[];for(const d in u)Object.prototype.hasOwnProperty.call(u,d)&&f.push(d);return f},n.find=(u,f)=>{for(const d of u)if(f(d))return d},n.isInteger=typeof Number.isInteger=="function"?u=>Number.isInteger(u):u=>typeof u=="number"&&Number.isFinite(u)&&Math.floor(u)===u;function s(u,f=" | "){return u.map(d=>typeof d=="string"?`'${d}'`:d).join(f)}n.joinValues=s,n.jsonStringifyReplacer=(u,f)=>typeof f=="bigint"?f.toString():f})(Ue||(Ue={}));var Pd;(function(n){n.mergeShapes=(r,l)=>({...r,...l})})(Pd||(Pd={}));const de=Ue.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Nn=n=>{switch(typeof n){case"undefined":return de.undefined;case"string":return de.string;case"number":return Number.isNaN(n)?de.nan:de.number;case"boolean":return de.boolean;case"function":return de.function;case"bigint":return de.bigint;case"symbol":return de.symbol;case"object":return Array.isArray(n)?de.array:n===null?de.null:n.then&&typeof n.then=="function"&&n.catch&&typeof n.catch=="function"?de.promise:typeof Map<"u"&&n instanceof Map?de.map:typeof Set<"u"&&n instanceof Set?de.set:typeof Date<"u"&&n instanceof Date?de.date:de.object;default:return de.unknown}},I=Ue.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(r){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=r}format(r){const l=r||function(f){return f.message},s={_errors:[]},u=f=>{for(const d of f.issues)if(d.code==="invalid_union")d.unionErrors.map(u);else if(d.code==="invalid_return_type")u(d.returnTypeError);else if(d.code==="invalid_arguments")u(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 u(this),s}static assert(r){if(!(r instanceof Pa))throw new Error(`Not a ZodError: ${r}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ue.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(r=l=>l.message){const l={},s=[];for(const u of this.issues)if(u.path.length>0){const f=u.path[0];l[f]=l[f]||[],l[f].push(r(u))}else s.push(r(u));return{formErrors:s,fieldErrors:l}}get formErrors(){return this.flatten()}}Pa.create=n=>new Pa(n);const bu=(n,r)=>{let l;switch(n.code){case I.invalid_type:n.received===de.undefined?l="Required":l=`Expected ${n.expected}, received ${n.received}`;break;case I.invalid_literal:l=`Invalid literal value, expected ${JSON.stringify(n.expected,Ue.jsonStringifyReplacer)}`;break;case I.unrecognized_keys:l=`Unrecognized key(s) in object: ${Ue.joinValues(n.keys,", ")}`;break;case I.invalid_union:l="Invalid input";break;case I.invalid_union_discriminator:l=`Invalid discriminator value. Expected ${Ue.joinValues(n.options)}`;break;case I.invalid_enum_value:l=`Invalid enum value. Expected ${Ue.joinValues(n.options)}, received '${n.received}'`;break;case I.invalid_arguments:l="Invalid function arguments";break;case I.invalid_return_type:l="Invalid function return type";break;case I.invalid_date:l="Invalid date";break;case I.invalid_string:typeof n.validation=="object"?"includes"in n.validation?(l=`Invalid input: must include "${n.validation.includes}"`,typeof n.validation.position=="number"&&(l=`${l} at one or more positions greater than or equal to ${n.validation.position}`)):"startsWith"in n.validation?l=`Invalid input: must start with "${n.validation.startsWith}"`:"endsWith"in n.validation?l=`Invalid input: must end with "${n.validation.endsWith}"`:Ue.assertNever(n.validation):n.validation!=="regex"?l=`Invalid ${n.validation}`:l="Invalid";break;case I.too_small:n.type==="array"?l=`Array must contain ${n.exact?"exactly":n.inclusive?"at least":"more than"} ${n.minimum} element(s)`:n.type==="string"?l=`String must contain ${n.exact?"exactly":n.inclusive?"at least":"over"} ${n.minimum} character(s)`:n.type==="number"?l=`Number must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${n.minimum}`:n.type==="bigint"?l=`Number must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${n.minimum}`:n.type==="date"?l=`Date must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(n.minimum))}`:l="Invalid input";break;case I.too_big:n.type==="array"?l=`Array must contain ${n.exact?"exactly":n.inclusive?"at most":"less than"} ${n.maximum} element(s)`:n.type==="string"?l=`String must contain ${n.exact?"exactly":n.inclusive?"at most":"under"} ${n.maximum} character(s)`:n.type==="number"?l=`Number must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:n.type==="bigint"?l=`BigInt must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:n.type==="date"?l=`Date must be ${n.exact?"exactly":n.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(n.maximum))}`:l="Invalid input";break;case I.custom:l="Invalid input";break;case I.invalid_intersection_types:l="Intersection results could not be merged";break;case I.not_multiple_of:l=`Number must be a multiple of ${n.multipleOf}`;break;case I.not_finite:l="Number must be finite";break;default:l=r.defaultError,Ue.assertNever(n)}return{message:l}};let Vb=bu;function Bb(){return Vb}const Ub=n=>{const{data:r,path:l,errorMaps:s,issueData:u}=n,f=[...l,...u.path||[]],d={...u,path:f};if(u.message!==void 0)return{...u,path:f,message:u.message};let h="";const y=s.filter(p=>!!p).slice().reverse();for(const p of y)h=p(d,{data:r,defaultError:h}).message;return{...u,path:f,message:h}};function ie(n,r){const l=Bb(),s=Ub({issueData:r,data:n.data,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,l,l===bu?void 0:bu].filter(u=>!!u)});n.common.issues.push(s)}class ia{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(r,l){const s=[];for(const u of l){if(u.status==="aborted")return Se;u.status==="dirty"&&r.dirty(),s.push(u.value)}return{status:r.value,value:s}}static async mergeObjectAsync(r,l){const s=[];for(const u of l){const f=await u.key,d=await u.value;s.push({key:f,value:d})}return ia.mergeObjectSync(r,s)}static mergeObjectSync(r,l){const s={};for(const u of l){const{key:f,value:d}=u;if(f.status==="aborted"||d.status==="aborted")return Se;f.status==="dirty"&&r.dirty(),d.status==="dirty"&&r.dirty(),f.value!=="__proto__"&&(typeof d.value<"u"||u.alwaysSet)&&(s[f.value]=d.value)}return{status:r.value,value:s}}}const Se=Object.freeze({status:"aborted"}),Li=n=>({status:"dirty",value:n}),ga=n=>({status:"valid",value:n}),Wd=n=>n.status==="aborted",em=n=>n.status==="dirty",Mr=n=>n.status==="valid",is=n=>typeof Promise<"u"&&n instanceof Promise;var he;(function(n){n.errToObj=r=>typeof r=="string"?{message:r}:r||{},n.toString=r=>typeof r=="string"?r:r==null?void 0:r.message})(he||(he={}));class _n{constructor(r,l,s,u){this._cachedPath=[],this.parent=r,this.data=l,this._path=s,this._key=u}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 tm=(n,r)=>{if(Mr(r))return{success:!0,data:r.value};if(!n.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(n.common.issues);return this._error=l,this._error}}};function Ae(n){if(!n)return{};const{errorMap:r,invalid_type_error:l,required_error:s,description:u}=n;if(r&&(l||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return r?{errorMap:r,description:u}:{errorMap:(d,h)=>{const{message:y}=n;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:u}}class Ve{get description(){return this._def.description}_getType(r){return Nn(r.data)}_getOrReturnCtx(r,l){return l||{common:r.parent.common,data:r.data,parsedType:Nn(r.data),schemaErrorMap:this._def.errorMap,path:r.path,parent:r.parent}}_processInputParams(r){return{status:new ia,ctx:{common:r.parent.common,data:r.data,parsedType:Nn(r.data),schemaErrorMap:this._def.errorMap,path:r.path,parent:r.parent}}}_parseSync(r){const l=this._parse(r);if(is(l))throw new Error("Synchronous parse encountered promise.");return l}_parseAsync(r){const l=this._parse(r);return Promise.resolve(l)}parse(r,l){const s=this.safeParse(r,l);if(s.success)return s.data;throw s.error}safeParse(r,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:r,parsedType:Nn(r)},u=this._parseSync({data:r,path:s.path,parent:s});return tm(s,u)}"~validate"(r){var s,u;const l={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:r,parsedType:Nn(r)};if(!this["~standard"].async)try{const f=this._parseSync({data:r,path:[],parent:l});return Mr(f)?{value:f.value}:{issues:l.common.issues}}catch(f){(u=(s=f==null?void 0:f.message)==null?void 0:s.toLowerCase())!=null&&u.includes("encountered")&&(this["~standard"].async=!0),l.common={issues:[],async:!0}}return this._parseAsync({data:r,path:[],parent:l}).then(f=>Mr(f)?{value:f.value}:{issues:l.common.issues})}async parseAsync(r,l){const s=await this.safeParseAsync(r,l);if(s.success)return s.data;throw s.error}async safeParseAsync(r,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:r,parsedType:Nn(r)},u=this._parse({data:r,path:s.path,parent:s}),f=await(is(u)?u:Promise.resolve(u));return tm(s,f)}refine(r,l){const s=u=>typeof l=="string"||typeof l>"u"?{message:l}:typeof l=="function"?l(u):l;return this._refinement((u,f)=>{const d=r(u),h=()=>f.addIssue({code:I.custom,...s(u)});return typeof Promise<"u"&&d instanceof Promise?d.then(y=>y?!0:(h(),!1)):d?!0:(h(),!1)})}refinement(r,l){return this._refinement((s,u)=>r(s)?!0:(u.addIssue(typeof l=="function"?l(s,u):l),!1))}_refinement(r){return new jr({schema:this,typeName:Ne.ZodEffects,effect:{type:"refinement",refinement:r}})}superRefine(r){return this._refinement(r)}constructor(r){this.spa=this.safeParseAsync,this._def=r,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 wn.create(this,this._def)}nullable(){return Vr.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return La.create(this)}promise(){return us.create(this,this._def)}or(r){return ss.create([this,r],this._def)}and(r){return os.create(this,r,this._def)}transform(r){return new jr({...Ae(this._def),schema:this,typeName:Ne.ZodEffects,effect:{type:"transform",transform:r}})}default(r){const l=typeof r=="function"?r:()=>r;return new Su({...Ae(this._def),innerType:this,defaultValue:l,typeName:Ne.ZodDefault})}brand(){return new sv({typeName:Ne.ZodBranded,type:this,...Ae(this._def)})}catch(r){const l=typeof r=="function"?r:()=>r;return new Nu({...Ae(this._def),innerType:this,catchValue:l,typeName:Ne.ZodCatch})}describe(r){const l=this.constructor;return new l({...this._def,description:r})}pipe(r){return _u.create(this,r)}readonly(){return Cu.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Lb=/^c[^\s-]{8,}$/i,Hb=/^[0-9a-z]+$/,qb=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Gb=/^[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,Zb=/^[a-z0-9_-]{21}$/i,Yb=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,$b=/^[-+]?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)?)??$/,Fb=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Qb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let vu;const Xb=/^(?:(?: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])$/,Kb=/^(?:(?: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])$/,Jb=/^(([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]))$/,Ib=/^(([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])$/,Pb=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Wb=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,am="((\\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])))",ev=new RegExp(`^${am}$`);function nm(n){let r="[0-5]\\d";n.precision?r=`${r}\\.\\d{${n.precision}}`:n.precision==null&&(r=`${r}(\\.\\d+)?`);const l=n.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${r})${l}`}function tv(n){return new RegExp(`^${nm(n)}$`)}function av(n){let r=`${am}T${nm(n)}`;const l=[];return l.push(n.local?"Z?":"Z"),n.offset&&l.push("([+-]\\d{2}:?\\d{2})"),r=`${r}(${l.join("|")})`,new RegExp(`^${r}$`)}function nv(n,r){return!!((r==="v4"||!r)&&Xb.test(n)||(r==="v6"||!r)&&Jb.test(n))}function rv(n,r){if(!Yb.test(n))return!1;try{const[l]=n.split(".");if(!l)return!1;const s=l.replace(/-/g,"+").replace(/_/g,"/").padEnd(l.length+(4-l.length%4)%4,"="),u=JSON.parse(atob(s));return!(typeof u!="object"||u===null||"typ"in u&&(u==null?void 0:u.typ)!=="JWT"||!u.alg||r&&u.alg!==r)}catch{return!1}}function iv(n,r){return!!((r==="v4"||!r)&&Kb.test(n)||(r==="v6"||!r)&&Ib.test(n))}class Cn extends Ve{_parse(r){if(this._def.coerce&&(r.data=String(r.data)),this._getType(r)!==de.string){const f=this._getOrReturnCtx(r);return ie(f,{code:I.invalid_type,expected:de.string,received:f.parsedType}),Se}const s=new ia;let u;for(const f of this._def.checks)if(f.kind==="min")r.data.length<f.value&&(u=this._getOrReturnCtx(r,u),ie(u,{code:I.too_small,minimum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),s.dirty());else if(f.kind==="max")r.data.length>f.value&&(u=this._getOrReturnCtx(r,u),ie(u,{code:I.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),s.dirty());else if(f.kind==="length"){const d=r.data.length>f.value,h=r.data.length<f.value;(d||h)&&(u=this._getOrReturnCtx(r,u),d?ie(u,{code:I.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!0,message:f.message}):h&&ie(u,{code:I.too_small,minimum:f.value,type:"string",inclusive:!0,exact:!0,message:f.message}),s.dirty())}else if(f.kind==="email")Fb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"email",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="emoji")vu||(vu=new RegExp(Qb,"u")),vu.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"emoji",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="uuid")Gb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"uuid",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="nanoid")Zb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"nanoid",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="cuid")Lb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"cuid",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="cuid2")Hb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"cuid2",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="ulid")qb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"ulid",code:I.invalid_string,message:f.message}),s.dirty());else if(f.kind==="url")try{new URL(r.data)}catch{u=this._getOrReturnCtx(r,u),ie(u,{validation:"url",code:I.invalid_string,message:f.message}),s.dirty()}else f.kind==="regex"?(f.regex.lastIndex=0,f.regex.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"regex",code:I.invalid_string,message:f.message}),s.dirty())):f.kind==="trim"?r.data=r.data.trim():f.kind==="includes"?r.data.includes(f.value,f.position)||(u=this._getOrReturnCtx(r,u),ie(u,{code:I.invalid_string,validation:{includes:f.value,position:f.position},message:f.message}),s.dirty()):f.kind==="toLowerCase"?r.data=r.data.toLowerCase():f.kind==="toUpperCase"?r.data=r.data.toUpperCase():f.kind==="startsWith"?r.data.startsWith(f.value)||(u=this._getOrReturnCtx(r,u),ie(u,{code:I.invalid_string,validation:{startsWith:f.value},message:f.message}),s.dirty()):f.kind==="endsWith"?r.data.endsWith(f.value)||(u=this._getOrReturnCtx(r,u),ie(u,{code:I.invalid_string,validation:{endsWith:f.value},message:f.message}),s.dirty()):f.kind==="datetime"?av(f).test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{code:I.invalid_string,validation:"datetime",message:f.message}),s.dirty()):f.kind==="date"?ev.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{code:I.invalid_string,validation:"date",message:f.message}),s.dirty()):f.kind==="time"?tv(f).test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{code:I.invalid_string,validation:"time",message:f.message}),s.dirty()):f.kind==="duration"?$b.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"duration",code:I.invalid_string,message:f.message}),s.dirty()):f.kind==="ip"?nv(r.data,f.version)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"ip",code:I.invalid_string,message:f.message}),s.dirty()):f.kind==="jwt"?rv(r.data,f.alg)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"jwt",code:I.invalid_string,message:f.message}),s.dirty()):f.kind==="cidr"?iv(r.data,f.version)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"cidr",code:I.invalid_string,message:f.message}),s.dirty()):f.kind==="base64"?Pb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"base64",code:I.invalid_string,message:f.message}),s.dirty()):f.kind==="base64url"?Wb.test(r.data)||(u=this._getOrReturnCtx(r,u),ie(u,{validation:"base64url",code:I.invalid_string,message:f.message}),s.dirty()):Ue.assertNever(f);return{status:s.value,value:r.data}}_regex(r,l,s){return this.refinement(u=>r.test(u),{validation:l,code:I.invalid_string,...he.errToObj(s)})}_addCheck(r){return new Cn({...this._def,checks:[...this._def.checks,r]})}email(r){return this._addCheck({kind:"email",...he.errToObj(r)})}url(r){return this._addCheck({kind:"url",...he.errToObj(r)})}emoji(r){return this._addCheck({kind:"emoji",...he.errToObj(r)})}uuid(r){return this._addCheck({kind:"uuid",...he.errToObj(r)})}nanoid(r){return this._addCheck({kind:"nanoid",...he.errToObj(r)})}cuid(r){return this._addCheck({kind:"cuid",...he.errToObj(r)})}cuid2(r){return this._addCheck({kind:"cuid2",...he.errToObj(r)})}ulid(r){return this._addCheck({kind:"ulid",...he.errToObj(r)})}base64(r){return this._addCheck({kind:"base64",...he.errToObj(r)})}base64url(r){return this._addCheck({kind:"base64url",...he.errToObj(r)})}jwt(r){return this._addCheck({kind:"jwt",...he.errToObj(r)})}ip(r){return this._addCheck({kind:"ip",...he.errToObj(r)})}cidr(r){return this._addCheck({kind:"cidr",...he.errToObj(r)})}datetime(r){return typeof r=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:r}):this._addCheck({kind:"datetime",precision:typeof(r==null?void 0:r.precision)>"u"?null:r==null?void 0:r.precision,offset:(r==null?void 0:r.offset)??!1,local:(r==null?void 0:r.local)??!1,...he.errToObj(r==null?void 0:r.message)})}date(r){return this._addCheck({kind:"date",message:r})}time(r){return typeof r=="string"?this._addCheck({kind:"time",precision:null,message:r}):this._addCheck({kind:"time",precision:typeof(r==null?void 0:r.precision)>"u"?null:r==null?void 0:r.precision,...he.errToObj(r==null?void 0:r.message)})}duration(r){return this._addCheck({kind:"duration",...he.errToObj(r)})}regex(r,l){return this._addCheck({kind:"regex",regex:r,...he.errToObj(l)})}includes(r,l){return this._addCheck({kind:"includes",value:r,position:l==null?void 0:l.position,...he.errToObj(l==null?void 0:l.message)})}startsWith(r,l){return this._addCheck({kind:"startsWith",value:r,...he.errToObj(l)})}endsWith(r,l){return this._addCheck({kind:"endsWith",value:r,...he.errToObj(l)})}min(r,l){return this._addCheck({kind:"min",value:r,...he.errToObj(l)})}max(r,l){return this._addCheck({kind:"max",value:r,...he.errToObj(l)})}length(r,l){return this._addCheck({kind:"length",value:r,...he.errToObj(l)})}nonempty(r){return this.min(1,he.errToObj(r))}trim(){return new Cn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Cn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Cn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(r=>r.kind==="datetime")}get isDate(){return!!this._def.checks.find(r=>r.kind==="date")}get isTime(){return!!this._def.checks.find(r=>r.kind==="time")}get isDuration(){return!!this._def.checks.find(r=>r.kind==="duration")}get isEmail(){return!!this._def.checks.find(r=>r.kind==="email")}get isURL(){return!!this._def.checks.find(r=>r.kind==="url")}get isEmoji(){return!!this._def.checks.find(r=>r.kind==="emoji")}get isUUID(){return!!this._def.checks.find(r=>r.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(r=>r.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(r=>r.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(r=>r.kind==="cuid2")}get isULID(){return!!this._def.checks.find(r=>r.kind==="ulid")}get isIP(){return!!this._def.checks.find(r=>r.kind==="ip")}get isCIDR(){return!!this._def.checks.find(r=>r.kind==="cidr")}get isBase64(){return!!this._def.checks.find(r=>r.kind==="base64")}get isBase64url(){return!!this._def.checks.find(r=>r.kind==="base64url")}get minLength(){let r=null;for(const l of this._def.checks)l.kind==="min"&&(r===null||l.value>r)&&(r=l.value);return r}get maxLength(){let r=null;for(const l of this._def.checks)l.kind==="max"&&(r===null||l.value<r)&&(r=l.value);return r}}Cn.create=n=>new Cn({checks:[],typeName:Ne.ZodString,coerce:(n==null?void 0:n.coerce)??!1,...Ae(n)});function lv(n,r){const l=(n.toString().split(".")[1]||"").length,s=(r.toString().split(".")[1]||"").length,u=l>s?l:s,f=Number.parseInt(n.toFixed(u).replace(".","")),d=Number.parseInt(r.toFixed(u).replace(".",""));return f%d/10**u}class Hi extends Ve{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(r){if(this._def.coerce&&(r.data=Number(r.data)),this._getType(r)!==de.number){const f=this._getOrReturnCtx(r);return ie(f,{code:I.invalid_type,expected:de.number,received:f.parsedType}),Se}let s;const u=new ia;for(const f of this._def.checks)f.kind==="int"?Ue.isInteger(r.data)||(s=this._getOrReturnCtx(r,s),ie(s,{code:I.invalid_type,expected:"integer",received:"float",message:f.message}),u.dirty()):f.kind==="min"?(f.inclusive?r.data<f.value:r.data<=f.value)&&(s=this._getOrReturnCtx(r,s),ie(s,{code:I.too_small,minimum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),u.dirty()):f.kind==="max"?(f.inclusive?r.data>f.value:r.data>=f.value)&&(s=this._getOrReturnCtx(r,s),ie(s,{code:I.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),u.dirty()):f.kind==="multipleOf"?lv(r.data,f.value)!==0&&(s=this._getOrReturnCtx(r,s),ie(s,{code:I.not_multiple_of,multipleOf:f.value,message:f.message}),u.dirty()):f.kind==="finite"?Number.isFinite(r.data)||(s=this._getOrReturnCtx(r,s),ie(s,{code:I.not_finite,message:f.message}),u.dirty()):Ue.assertNever(f);return{status:u.value,value:r.data}}gte(r,l){return this.setLimit("min",r,!0,he.toString(l))}gt(r,l){return this.setLimit("min",r,!1,he.toString(l))}lte(r,l){return this.setLimit("max",r,!0,he.toString(l))}lt(r,l){return this.setLimit("max",r,!1,he.toString(l))}setLimit(r,l,s,u){return new Hi({...this._def,checks:[...this._def.checks,{kind:r,value:l,inclusive:s,message:he.toString(u)}]})}_addCheck(r){return new Hi({...this._def,checks:[...this._def.checks,r]})}int(r){return this._addCheck({kind:"int",message:he.toString(r)})}positive(r){return this._addCheck({kind:"min",value:0,inclusive:!1,message:he.toString(r)})}negative(r){return this._addCheck({kind:"max",value:0,inclusive:!1,message:he.toString(r)})}nonpositive(r){return this._addCheck({kind:"max",value:0,inclusive:!0,message:he.toString(r)})}nonnegative(r){return this._addCheck({kind:"min",value:0,inclusive:!0,message:he.toString(r)})}multipleOf(r,l){return this._addCheck({kind:"multipleOf",value:r,message:he.toString(l)})}finite(r){return this._addCheck({kind:"finite",message:he.toString(r)})}safe(r){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:he.toString(r)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:he.toString(r)})}get minValue(){let r=null;for(const l of this._def.checks)l.kind==="min"&&(r===null||l.value>r)&&(r=l.value);return r}get maxValue(){let r=null;for(const l of this._def.checks)l.kind==="max"&&(r===null||l.value<r)&&(r=l.value);return r}get isInt(){return!!this._def.checks.find(r=>r.kind==="int"||r.kind==="multipleOf"&&Ue.isInteger(r.value))}get isFinite(){let r=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"&&(r===null||s.value<r)&&(r=s.value)}return Number.isFinite(l)&&Number.isFinite(r)}}Hi.create=n=>new Hi({checks:[],typeName:Ne.ZodNumber,coerce:(n==null?void 0:n.coerce)||!1,...Ae(n)});class qi extends Ve{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(r){if(this._def.coerce)try{r.data=BigInt(r.data)}catch{return this._getInvalidInput(r)}if(this._getType(r)!==de.bigint)return this._getInvalidInput(r);let s;const u=new ia;for(const f of this._def.checks)f.kind==="min"?(f.inclusive?r.data<f.value:r.data<=f.value)&&(s=this._getOrReturnCtx(r,s),ie(s,{code:I.too_small,type:"bigint",minimum:f.value,inclusive:f.inclusive,message:f.message}),u.dirty()):f.kind==="max"?(f.inclusive?r.data>f.value:r.data>=f.value)&&(s=this._getOrReturnCtx(r,s),ie(s,{code:I.too_big,type:"bigint",maximum:f.value,inclusive:f.inclusive,message:f.message}),u.dirty()):f.kind==="multipleOf"?r.data%f.value!==BigInt(0)&&(s=this._getOrReturnCtx(r,s),ie(s,{code:I.not_multiple_of,multipleOf:f.value,message:f.message}),u.dirty()):Ue.assertNever(f);return{status:u.value,value:r.data}}_getInvalidInput(r){const l=this._getOrReturnCtx(r);return ie(l,{code:I.invalid_type,expected:de.bigint,received:l.parsedType}),Se}gte(r,l){return this.setLimit("min",r,!0,he.toString(l))}gt(r,l){return this.setLimit("min",r,!1,he.toString(l))}lte(r,l){return this.setLimit("max",r,!0,he.toString(l))}lt(r,l){return this.setLimit("max",r,!1,he.toString(l))}setLimit(r,l,s,u){return new qi({...this._def,checks:[...this._def.checks,{kind:r,value:l,inclusive:s,message:he.toString(u)}]})}_addCheck(r){return new qi({...this._def,checks:[...this._def.checks,r]})}positive(r){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:he.toString(r)})}negative(r){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:he.toString(r)})}nonpositive(r){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:he.toString(r)})}nonnegative(r){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:he.toString(r)})}multipleOf(r,l){return this._addCheck({kind:"multipleOf",value:r,message:he.toString(l)})}get minValue(){let r=null;for(const l of this._def.checks)l.kind==="min"&&(r===null||l.value>r)&&(r=l.value);return r}get maxValue(){let r=null;for(const l of this._def.checks)l.kind==="max"&&(r===null||l.value<r)&&(r=l.value);return r}}qi.create=n=>new qi({checks:[],typeName:Ne.ZodBigInt,coerce:(n==null?void 0:n.coerce)??!1,...Ae(n)});class rm extends Ve{_parse(r){if(this._def.coerce&&(r.data=!!r.data),this._getType(r)!==de.boolean){const s=this._getOrReturnCtx(r);return ie(s,{code:I.invalid_type,expected:de.boolean,received:s.parsedType}),Se}return ga(r.data)}}rm.create=n=>new rm({typeName:Ne.ZodBoolean,coerce:(n==null?void 0:n.coerce)||!1,...Ae(n)});class ls extends Ve{_parse(r){if(this._def.coerce&&(r.data=new Date(r.data)),this._getType(r)!==de.date){const f=this._getOrReturnCtx(r);return ie(f,{code:I.invalid_type,expected:de.date,received:f.parsedType}),Se}if(Number.isNaN(r.data.getTime())){const f=this._getOrReturnCtx(r);return ie(f,{code:I.invalid_date}),Se}const s=new ia;let u;for(const f of this._def.checks)f.kind==="min"?r.data.getTime()<f.value&&(u=this._getOrReturnCtx(r,u),ie(u,{code:I.too_small,message:f.message,inclusive:!0,exact:!1,minimum:f.value,type:"date"}),s.dirty()):f.kind==="max"?r.data.getTime()>f.value&&(u=this._getOrReturnCtx(r,u),ie(u,{code:I.too_big,message:f.message,inclusive:!0,exact:!1,maximum:f.value,type:"date"}),s.dirty()):Ue.assertNever(f);return{status:s.value,value:new Date(r.data.getTime())}}_addCheck(r){return new ls({...this._def,checks:[...this._def.checks,r]})}min(r,l){return this._addCheck({kind:"min",value:r.getTime(),message:he.toString(l)})}max(r,l){return this._addCheck({kind:"max",value:r.getTime(),message:he.toString(l)})}get minDate(){let r=null;for(const l of this._def.checks)l.kind==="min"&&(r===null||l.value>r)&&(r=l.value);return r!=null?new Date(r):null}get maxDate(){let r=null;for(const l of this._def.checks)l.kind==="max"&&(r===null||l.value<r)&&(r=l.value);return r!=null?new Date(r):null}}ls.create=n=>new ls({checks:[],coerce:(n==null?void 0:n.coerce)||!1,typeName:Ne.ZodDate,...Ae(n)});class im extends Ve{_parse(r){if(this._getType(r)!==de.symbol){const s=this._getOrReturnCtx(r);return ie(s,{code:I.invalid_type,expected:de.symbol,received:s.parsedType}),Se}return ga(r.data)}}im.create=n=>new im({typeName:Ne.ZodSymbol,...Ae(n)});class lm extends Ve{_parse(r){if(this._getType(r)!==de.undefined){const s=this._getOrReturnCtx(r);return ie(s,{code:I.invalid_type,expected:de.undefined,received:s.parsedType}),Se}return ga(r.data)}}lm.create=n=>new lm({typeName:Ne.ZodUndefined,...Ae(n)});class sm extends Ve{_parse(r){if(this._getType(r)!==de.null){const s=this._getOrReturnCtx(r);return ie(s,{code:I.invalid_type,expected:de.null,received:s.parsedType}),Se}return ga(r.data)}}sm.create=n=>new sm({typeName:Ne.ZodNull,...Ae(n)});class om extends Ve{constructor(){super(...arguments),this._any=!0}_parse(r){return ga(r.data)}}om.create=n=>new om({typeName:Ne.ZodAny,...Ae(n)});class um extends Ve{constructor(){super(...arguments),this._unknown=!0}_parse(r){return ga(r.data)}}um.create=n=>new um({typeName:Ne.ZodUnknown,...Ae(n)});class En extends Ve{_parse(r){const l=this._getOrReturnCtx(r);return ie(l,{code:I.invalid_type,expected:de.never,received:l.parsedType}),Se}}En.create=n=>new En({typeName:Ne.ZodNever,...Ae(n)});class cm extends Ve{_parse(r){if(this._getType(r)!==de.undefined){const s=this._getOrReturnCtx(r);return ie(s,{code:I.invalid_type,expected:de.void,received:s.parsedType}),Se}return ga(r.data)}}cm.create=n=>new cm({typeName:Ne.ZodVoid,...Ae(n)});class La extends Ve{_parse(r){const{ctx:l,status:s}=this._processInputParams(r),u=this._def;if(l.parsedType!==de.array)return ie(l,{code:I.invalid_type,expected:de.array,received:l.parsedType}),Se;if(u.exactLength!==null){const d=l.data.length>u.exactLength.value,h=l.data.length<u.exactLength.value;(d||h)&&(ie(l,{code:d?I.too_big:I.too_small,minimum:h?u.exactLength.value:void 0,maximum:d?u.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:u.exactLength.message}),s.dirty())}if(u.minLength!==null&&l.data.length<u.minLength.value&&(ie(l,{code:I.too_small,minimum:u.minLength.value,type:"array",inclusive:!0,exact:!1,message:u.minLength.message}),s.dirty()),u.maxLength!==null&&l.data.length>u.maxLength.value&&(ie(l,{code:I.too_big,maximum:u.maxLength.value,type:"array",inclusive:!0,exact:!1,message:u.maxLength.message}),s.dirty()),l.common.async)return Promise.all([...l.data].map((d,h)=>u.type._parseAsync(new _n(l,d,l.path,h)))).then(d=>ia.mergeArray(s,d));const f=[...l.data].map((d,h)=>u.type._parseSync(new _n(l,d,l.path,h)));return ia.mergeArray(s,f)}get element(){return this._def.type}min(r,l){return new La({...this._def,minLength:{value:r,message:he.toString(l)}})}max(r,l){return new La({...this._def,maxLength:{value:r,message:he.toString(l)}})}length(r,l){return new La({...this._def,exactLength:{value:r,message:he.toString(l)}})}nonempty(r){return this.min(1,r)}}La.create=(n,r)=>new La({type:n,minLength:null,maxLength:null,exactLength:null,typeName:Ne.ZodArray,...Ae(r)});function zr(n){if(n instanceof xt){const r={};for(const l in n.shape){const s=n.shape[l];r[l]=wn.create(zr(s))}return new xt({...n._def,shape:()=>r})}else return n instanceof La?new La({...n._def,type:zr(n.element)}):n instanceof wn?wn.create(zr(n.unwrap())):n instanceof Vr?Vr.create(zr(n.unwrap())):n instanceof ar?ar.create(n.items.map(r=>zr(r))):n}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 r=this._def.shape(),l=Ue.objectKeys(r);return this._cached={shape:r,keys:l},this._cached}_parse(r){if(this._getType(r)!==de.object){const p=this._getOrReturnCtx(r);return ie(p,{code:I.invalid_type,expected:de.object,received:p.parsedType}),Se}const{status:s,ctx:u}=this._processInputParams(r),{shape:f,keys:d}=this._getCached(),h=[];if(!(this._def.catchall instanceof En&&this._def.unknownKeys==="strip"))for(const p in u.data)d.includes(p)||h.push(p);const y=[];for(const p of d){const S=f[p],v=u.data[p];y.push({key:{status:"valid",value:p},value:S._parse(new _n(u,v,u.path,p)),alwaysSet:p in u.data})}if(this._def.catchall instanceof En){const p=this._def.unknownKeys;if(p==="passthrough")for(const S of h)y.push({key:{status:"valid",value:S},value:{status:"valid",value:u.data[S]}});else if(p==="strict")h.length>0&&(ie(u,{code:I.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 S of h){const v=u.data[S];y.push({key:{status:"valid",value:S},value:p._parse(new _n(u,v,u.path,S)),alwaysSet:S in u.data})}}return u.common.async?Promise.resolve().then(async()=>{const p=[];for(const S of y){const v=await S.key,D=await S.value;p.push({key:v,value:D,alwaysSet:S.alwaysSet})}return p}).then(p=>ia.mergeObjectSync(s,p)):ia.mergeObjectSync(s,y)}get shape(){return this._def.shape()}strict(r){return he.errToObj,new xt({...this._def,unknownKeys:"strict",...r!==void 0?{errorMap:(l,s)=>{var f,d;const u=((d=(f=this._def).errorMap)==null?void 0:d.call(f,l,s).message)??s.defaultError;return l.code==="unrecognized_keys"?{message:he.errToObj(r).message??u}:{message:u}}}:{}})}strip(){return new xt({...this._def,unknownKeys:"strip"})}passthrough(){return new xt({...this._def,unknownKeys:"passthrough"})}extend(r){return new xt({...this._def,shape:()=>({...this._def.shape(),...r})})}merge(r){return new xt({unknownKeys:r._def.unknownKeys,catchall:r._def.catchall,shape:()=>({...this._def.shape(),...r._def.shape()}),typeName:Ne.ZodObject})}setKey(r,l){return this.augment({[r]:l})}catchall(r){return new xt({...this._def,catchall:r})}pick(r){const l={};for(const s of Ue.objectKeys(r))r[s]&&this.shape[s]&&(l[s]=this.shape[s]);return new xt({...this._def,shape:()=>l})}omit(r){const l={};for(const s of Ue.objectKeys(this.shape))r[s]||(l[s]=this.shape[s]);return new xt({...this._def,shape:()=>l})}deepPartial(){return zr(this)}partial(r){const l={};for(const s of Ue.objectKeys(this.shape)){const u=this.shape[s];r&&!r[s]?l[s]=u:l[s]=u.optional()}return new xt({...this._def,shape:()=>l})}required(r){const l={};for(const s of Ue.objectKeys(this.shape))if(r&&!r[s])l[s]=this.shape[s];else{let f=this.shape[s];for(;f instanceof wn;)f=f._def.innerType;l[s]=f}return new xt({...this._def,shape:()=>l})}keyof(){return hm(Ue.objectKeys(this.shape))}}xt.create=(n,r)=>new xt({shape:()=>n,unknownKeys:"strip",catchall:En.create(),typeName:Ne.ZodObject,...Ae(r)}),xt.strictCreate=(n,r)=>new xt({shape:()=>n,unknownKeys:"strict",catchall:En.create(),typeName:Ne.ZodObject,...Ae(r)}),xt.lazycreate=(n,r)=>new xt({shape:n,unknownKeys:"strip",catchall:En.create(),typeName:Ne.ZodObject,...Ae(r)});class ss extends Ve{_parse(r){const{ctx:l}=this._processInputParams(r),s=this._def.options;function u(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:I.invalid_union,unionErrors:d}),Se}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(u);{let f;const d=[];for(const y of s){const p={...l,common:{...l.common,issues:[]},parent:null},S=y._parseSync({data:l.data,path:l.path,parent:p});if(S.status==="valid")return S;S.status==="dirty"&&!f&&(f={result:S,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:I.invalid_union,unionErrors:h}),Se}}get options(){return this._def.options}}ss.create=(n,r)=>new ss({options:n,typeName:Ne.ZodUnion,...Ae(r)});function xu(n,r){const l=Nn(n),s=Nn(r);if(n===r)return{valid:!0,data:n};if(l===de.object&&s===de.object){const u=Ue.objectKeys(r),f=Ue.objectKeys(n).filter(h=>u.indexOf(h)!==-1),d={...n,...r};for(const h of f){const y=xu(n[h],r[h]);if(!y.valid)return{valid:!1};d[h]=y.data}return{valid:!0,data:d}}else if(l===de.array&&s===de.array){if(n.length!==r.length)return{valid:!1};const u=[];for(let f=0;f<n.length;f++){const d=n[f],h=r[f],y=xu(d,h);if(!y.valid)return{valid:!1};u.push(y.data)}return{valid:!0,data:u}}else return l===de.date&&s===de.date&&+n==+r?{valid:!0,data:n}:{valid:!1}}class os extends Ve{_parse(r){const{status:l,ctx:s}=this._processInputParams(r),u=(f,d)=>{if(Wd(f)||Wd(d))return Se;const h=xu(f.value,d.value);return h.valid?((em(f)||em(d))&&l.dirty(),{status:l.value,value:h.data}):(ie(s,{code:I.invalid_intersection_types}),Se)};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])=>u(f,d)):u(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}os.create=(n,r,l)=>new os({left:n,right:r,typeName:Ne.ZodIntersection,...Ae(l)});class ar extends Ve{_parse(r){const{status:l,ctx:s}=this._processInputParams(r);if(s.parsedType!==de.array)return ie(s,{code:I.invalid_type,expected:de.array,received:s.parsedType}),Se;if(s.data.length<this._def.items.length)return ie(s,{code:I.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Se;!this._def.rest&&s.data.length>this._def.items.length&&(ie(s,{code:I.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 _n(s,d,s.path,h)):null}).filter(d=>!!d);return s.common.async?Promise.all(f).then(d=>ia.mergeArray(l,d)):ia.mergeArray(l,f)}get items(){return this._def.items}rest(r){return new ar({...this._def,rest:r})}}ar.create=(n,r)=>{if(!Array.isArray(n))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ar({items:n,typeName:Ne.ZodTuple,rest:null,...Ae(r)})};class fm extends Ve{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(r){const{status:l,ctx:s}=this._processInputParams(r);if(s.parsedType!==de.map)return ie(s,{code:I.invalid_type,expected:de.map,received:s.parsedType}),Se;const u=this._def.keyType,f=this._def.valueType,d=[...s.data.entries()].map(([h,y],p)=>({key:u._parse(new _n(s,h,s.path,[p,"key"])),value:f._parse(new _n(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,S=await y.value;if(p.status==="aborted"||S.status==="aborted")return Se;(p.status==="dirty"||S.status==="dirty")&&l.dirty(),h.set(p.value,S.value)}return{status:l.value,value:h}})}else{const h=new Map;for(const y of d){const p=y.key,S=y.value;if(p.status==="aborted"||S.status==="aborted")return Se;(p.status==="dirty"||S.status==="dirty")&&l.dirty(),h.set(p.value,S.value)}return{status:l.value,value:h}}}}fm.create=(n,r,l)=>new fm({valueType:r,keyType:n,typeName:Ne.ZodMap,...Ae(l)});class Gi extends Ve{_parse(r){const{status:l,ctx:s}=this._processInputParams(r);if(s.parsedType!==de.set)return ie(s,{code:I.invalid_type,expected:de.set,received:s.parsedType}),Se;const u=this._def;u.minSize!==null&&s.data.size<u.minSize.value&&(ie(s,{code:I.too_small,minimum:u.minSize.value,type:"set",inclusive:!0,exact:!1,message:u.minSize.message}),l.dirty()),u.maxSize!==null&&s.data.size>u.maxSize.value&&(ie(s,{code:I.too_big,maximum:u.maxSize.value,type:"set",inclusive:!0,exact:!1,message:u.maxSize.message}),l.dirty());const f=this._def.valueType;function d(y){const p=new Set;for(const S of y){if(S.status==="aborted")return Se;S.status==="dirty"&&l.dirty(),p.add(S.value)}return{status:l.value,value:p}}const h=[...s.data.values()].map((y,p)=>f._parse(new _n(s,y,s.path,p)));return s.common.async?Promise.all(h).then(y=>d(y)):d(h)}min(r,l){return new Gi({...this._def,minSize:{value:r,message:he.toString(l)}})}max(r,l){return new Gi({...this._def,maxSize:{value:r,message:he.toString(l)}})}size(r,l){return this.min(r,l).max(r,l)}nonempty(r){return this.min(1,r)}}Gi.create=(n,r)=>new Gi({valueType:n,minSize:null,maxSize:null,typeName:Ne.ZodSet,...Ae(r)});class dm extends Ve{get schema(){return this._def.getter()}_parse(r){const{ctx:l}=this._processInputParams(r);return this._def.getter()._parse({data:l.data,path:l.path,parent:l})}}dm.create=(n,r)=>new dm({getter:n,typeName:Ne.ZodLazy,...Ae(r)});class mm extends Ve{_parse(r){if(r.data!==this._def.value){const l=this._getOrReturnCtx(r);return ie(l,{received:l.data,code:I.invalid_literal,expected:this._def.value}),Se}return{status:"valid",value:r.data}}get value(){return this._def.value}}mm.create=(n,r)=>new mm({value:n,typeName:Ne.ZodLiteral,...Ae(r)});function hm(n,r){return new kr({values:n,typeName:Ne.ZodEnum,...Ae(r)})}class kr extends Ve{_parse(r){if(typeof r.data!="string"){const l=this._getOrReturnCtx(r),s=this._def.values;return ie(l,{expected:Ue.joinValues(s),received:l.parsedType,code:I.invalid_type}),Se}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(r.data)){const l=this._getOrReturnCtx(r),s=this._def.values;return ie(l,{received:l.data,code:I.invalid_enum_value,options:s}),Se}return ga(r.data)}get options(){return this._def.values}get enum(){const r={};for(const l of this._def.values)r[l]=l;return r}get Values(){const r={};for(const l of this._def.values)r[l]=l;return r}get Enum(){const r={};for(const l of this._def.values)r[l]=l;return r}extract(r,l=this._def){return kr.create(r,{...this._def,...l})}exclude(r,l=this._def){return kr.create(this.options.filter(s=>!r.includes(s)),{...this._def,...l})}}kr.create=hm;class pm extends Ve{_parse(r){const l=Ue.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(r);if(s.parsedType!==de.string&&s.parsedType!==de.number){const u=Ue.objectValues(l);return ie(s,{expected:Ue.joinValues(u),received:s.parsedType,code:I.invalid_type}),Se}if(this._cache||(this._cache=new Set(Ue.getValidEnumValues(this._def.values))),!this._cache.has(r.data)){const u=Ue.objectValues(l);return ie(s,{received:s.data,code:I.invalid_enum_value,options:u}),Se}return ga(r.data)}get enum(){return this._def.values}}pm.create=(n,r)=>new pm({values:n,typeName:Ne.ZodNativeEnum,...Ae(r)});class us extends Ve{unwrap(){return this._def.type}_parse(r){const{ctx:l}=this._processInputParams(r);if(l.parsedType!==de.promise&&l.common.async===!1)return ie(l,{code:I.invalid_type,expected:de.promise,received:l.parsedType}),Se;const s=l.parsedType===de.promise?l.data:Promise.resolve(l.data);return ga(s.then(u=>this._def.type.parseAsync(u,{path:l.path,errorMap:l.common.contextualErrorMap})))}}us.create=(n,r)=>new us({type:n,typeName:Ne.ZodPromise,...Ae(r)});class jr extends Ve{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ne.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(r){const{status:l,ctx:s}=this._processInputParams(r),u=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),u.type==="preprocess"){const d=u.transform(s.data,f);if(s.common.async)return Promise.resolve(d).then(async h=>{if(l.value==="aborted")return Se;const y=await this._def.schema._parseAsync({data:h,path:s.path,parent:s});return y.status==="aborted"?Se:y.status==="dirty"||l.value==="dirty"?Li(y.value):y});{if(l.value==="aborted")return Se;const h=this._def.schema._parseSync({data:d,path:s.path,parent:s});return h.status==="aborted"?Se:h.status==="dirty"||l.value==="dirty"?Li(h.value):h}}if(u.type==="refinement"){const d=h=>{const y=u.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"?Se:(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"?Se:(h.status==="dirty"&&l.dirty(),d(h.value).then(()=>({status:l.value,value:h.value}))))}if(u.type==="transform")if(s.common.async===!1){const d=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!Mr(d))return Se;const h=u.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=>Mr(d)?Promise.resolve(u.transform(d.value,f)).then(h=>({status:l.value,value:h})):Se);Ue.assertNever(u)}}jr.create=(n,r,l)=>new jr({schema:n,typeName:Ne.ZodEffects,effect:r,...Ae(l)}),jr.createWithPreprocess=(n,r,l)=>new jr({schema:r,effect:{type:"preprocess",transform:n},typeName:Ne.ZodEffects,...Ae(l)});class wn extends Ve{_parse(r){return this._getType(r)===de.undefined?ga(void 0):this._def.innerType._parse(r)}unwrap(){return this._def.innerType}}wn.create=(n,r)=>new wn({innerType:n,typeName:Ne.ZodOptional,...Ae(r)});class Vr extends Ve{_parse(r){return this._getType(r)===de.null?ga(null):this._def.innerType._parse(r)}unwrap(){return this._def.innerType}}Vr.create=(n,r)=>new Vr({innerType:n,typeName:Ne.ZodNullable,...Ae(r)});class Su extends Ve{_parse(r){const{ctx:l}=this._processInputParams(r);let s=l.data;return l.parsedType===de.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:l.path,parent:l})}removeDefault(){return this._def.innerType}}Su.create=(n,r)=>new Su({innerType:n,typeName:Ne.ZodDefault,defaultValue:typeof r.default=="function"?r.default:()=>r.default,...Ae(r)});class Nu extends Ve{_parse(r){const{ctx:l}=this._processInputParams(r),s={...l,common:{...l.common,issues:[]}},u=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return is(u)?u.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:u.status==="valid"?u.value:this._def.catchValue({get error(){return new Pa(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}Nu.create=(n,r)=>new Nu({innerType:n,typeName:Ne.ZodCatch,catchValue:typeof r.catch=="function"?r.catch:()=>r.catch,...Ae(r)});class gm extends Ve{_parse(r){if(this._getType(r)!==de.nan){const s=this._getOrReturnCtx(r);return ie(s,{code:I.invalid_type,expected:de.nan,received:s.parsedType}),Se}return{status:"valid",value:r.data}}}gm.create=n=>new gm({typeName:Ne.ZodNaN,...Ae(n)});class sv extends Ve{_parse(r){const{ctx:l}=this._processInputParams(r),s=l.data;return this._def.type._parse({data:s,path:l.path,parent:l})}unwrap(){return this._def.type}}class _u extends Ve{_parse(r){const{status:l,ctx:s}=this._processInputParams(r);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"?Se:f.status==="dirty"?(l.dirty(),Li(f.value)):this._def.out._parseAsync({data:f.value,path:s.path,parent:s})})();{const u=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return u.status==="aborted"?Se:u.status==="dirty"?(l.dirty(),{status:"dirty",value:u.value}):this._def.out._parseSync({data:u.value,path:s.path,parent:s})}}static create(r,l){return new _u({in:r,out:l,typeName:Ne.ZodPipeline})}}class Cu extends Ve{_parse(r){const l=this._def.innerType._parse(r),s=u=>(Mr(u)&&(u.value=Object.freeze(u.value)),u);return is(l)?l.then(u=>s(u)):s(l)}unwrap(){return this._def.innerType}}Cu.create=(n,r)=>new Cu({innerType:n,typeName:Ne.ZodReadonly,...Ae(r)});var Ne;(function(n){n.ZodString="ZodString",n.ZodNumber="ZodNumber",n.ZodNaN="ZodNaN",n.ZodBigInt="ZodBigInt",n.ZodBoolean="ZodBoolean",n.ZodDate="ZodDate",n.ZodSymbol="ZodSymbol",n.ZodUndefined="ZodUndefined",n.ZodNull="ZodNull",n.ZodAny="ZodAny",n.ZodUnknown="ZodUnknown",n.ZodNever="ZodNever",n.ZodVoid="ZodVoid",n.ZodArray="ZodArray",n.ZodObject="ZodObject",n.ZodUnion="ZodUnion",n.ZodDiscriminatedUnion="ZodDiscriminatedUnion",n.ZodIntersection="ZodIntersection",n.ZodTuple="ZodTuple",n.ZodRecord="ZodRecord",n.ZodMap="ZodMap",n.ZodSet="ZodSet",n.ZodFunction="ZodFunction",n.ZodLazy="ZodLazy",n.ZodLiteral="ZodLiteral",n.ZodEnum="ZodEnum",n.ZodEffects="ZodEffects",n.ZodNativeEnum="ZodNativeEnum",n.ZodOptional="ZodOptional",n.ZodNullable="ZodNullable",n.ZodDefault="ZodDefault",n.ZodCatch="ZodCatch",n.ZodPromise="ZodPromise",n.ZodBranded="ZodBranded",n.ZodPipeline="ZodPipeline",n.ZodReadonly="ZodReadonly"})(Ne||(Ne={}));const ym=Cn.create;En.create,La.create;const ov=xt.create;ss.create,os.create,ar.create,kr.create,us.create,wn.create,Vr.create;const uv=ov({securityNumber:ym({required_error:"CPF é obrigatório."}).refine(n=>n.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(n=>{const r=n.replace(/\D/g,"");return!!Number(r)},"CPF deve conter apenas números."),coupon:ym({required_error:"Cupom / ID do Cartão obrigatório."}).optional()});var Eu={exports:{}};/*!
|
|
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&<&&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&<.delete(Yn.key===null?Rt:Yn.key),q=m(Yn,q,Rt),ut===null?St=Yn:ut.sibling=Yn,ut=Yn);return e&<.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:{}};/*!
|
|
50
324
|
Copyright (c) 2018 Jed Watson.
|
|
51
325
|
Licensed under the MIT License (MIT), see
|
|
52
326
|
http://jedwatson.github.io/classnames
|
|
53
|
-
*/var bm;function cv(){return bm||(bm=1,(function(n){(function(){var r={}.hasOwnProperty;function l(){for(var f="",d=0;d<arguments.length;d++){var h=arguments[d];h&&(f=u(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)r.call(f,h)&&f[h]&&(d=u(d,h));return d}function u(f,d){return d?f?f+" "+d:f+d:f}n.exports?(l.default=l,n.exports=l):window.classNames=l})()})(Eu)),Eu.exports}var fv=cv();const ot=tr(fv);function Wa(n){return x.jsxDEV("button",{...n,className:ot("w-3xs cursor-pointer h-10 rounded-lg text-white text-sm font-semibold transition-colors",n.className),style:{...n.style},children:n.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Button/index.tsx",lineNumber:10,columnNumber:5},this)}const vm=n=>{let r;const l=new Set,s=(p,S)=>{const v=typeof p=="function"?p(r):p;if(!Object.is(v,r)){const D=r;r=S??(typeof v!="object"||v===null)?v:Object.assign({},r,v),l.forEach(N=>N(r,D))}},u=()=>r,h={setState:s,getState:u,getInitialState:()=>y,subscribe:p=>(l.add(p),()=>l.delete(p))},y=r=n(s,u,h);return h},wu=(n=>n?vm(n):vm);var pe=gu();const St=tr(pe),xm=Ia({__proto__:null,default:St},[pe]),dv=n=>n;function Du(n,r=dv){const l=St.useSyncExternalStore(n.subscribe,St.useCallback(()=>r(n.getState()),[n,r]),St.useCallback(()=>r(n.getInitialState()),[n,r]));return St.useDebugValue(l),l}const Sm=n=>{const r=wu(n),l=s=>Du(r,s);return Object.assign(l,r),l},Au=(n=>n?Sm(n):Sm),mv={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"},Nm=wu(n=>({...mv,setSecurityNumber:r=>n({securityNumber:r}),setRequestId:r=>n({requestId:r}),setState:r=>n({state:r}),setTargetProduct:r=>n({targetProduct:r}),setAvailableDiscountSelected:r=>n({availableDiscountSelected:r}),setUrlAcceptTerms:r=>n({urlAcceptTerms:r}),setUrlRegisterIndustry:r=>n({urlRegisterIndustry:r}),setIsAuthenticatedShopper:r=>n({isAuthenticatedShopper:r}),setCustomLoginUrl:r=>n({customLoginUrl:r}),setCardID:r=>n({cardID:r}),setBenefitsEnabled:r=>n({benefitsEnabled:r}),setBenefitsList:r=>n({benefitsList:r})})),hv=()=>({getState:()=>{const n=Nm.getState(),{setSecurityNumber:r,setState:l,setAvailableDiscountSelected:s,setTargetProduct:u,setUrlAcceptTerms:f,setUrlRegisterIndustry:d,setIsAuthenticatedShopper:h,setCustomLoginUrl:y,setCardID:p,setBenefitsEnabled:S,setBenefitsList:v,setRequestId:D,requestId:N,benefitsEnabled:V,benefitsList:E,...q}=n;if(!n.targetProduct)return{...q,targetProduct:null};const{requestedQuantity:P,discountMaxNewPatient:K,allowsAdhesion:ae,comboId:ee,discountValueIndustry:U,authorizer:Q,grossPrice:J,industryCompanyCode:_e,pointing:Me,productLink:We,requestCoupon:be,requestHolderId:b,suggestedPrice:$,suggestedPriceValue:F,status:le,returnCode:O,...X}=n.targetProduct;return{...q,targetProduct:X}}});function Kt(n){return Du(Nm,(r=>r))}var Zi=n=>n.type==="checkbox",nr=n=>n instanceof Date,Jt=n=>n==null;const _m=n=>typeof n=="object";var gt=n=>!Jt(n)&&!Array.isArray(n)&&_m(n)&&!nr(n),pv=n=>gt(n)&&n.target?Zi(n.target)?n.target.checked:n.target.value:n,Cm=n=>n.substring(0,n.search(/\.\d+(\.|$)/))||n,gv=(n,r)=>n.has(Cm(r)),yv=n=>{const r=n.constructor&&n.constructor.prototype;return gt(r)&&r.hasOwnProperty("isPrototypeOf")},Tu=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Tt(n){if(n instanceof Date)return new Date(n);const r=typeof FileList<"u"&&n instanceof FileList;if(Tu&&(n instanceof Blob||r))return n;const l=Array.isArray(n);if(!l&&!(gt(n)&&yv(n)))return n;const s=l?[]:Object.create(Object.getPrototypeOf(n));for(const u in n)Object.prototype.hasOwnProperty.call(n,u)&&(s[u]=Tt(n[u]));return s}var cs=n=>/^\w*$/.test(n),ft=n=>n===void 0,Ou=n=>Array.isArray(n)?n.filter(Boolean):[],Ru=n=>Ou(n.replace(/["|']|\]/g,"").split(/\.|\[/)),oe=(n,r,l)=>{if(!r||!gt(n))return l;const s=(cs(r)?[r]:Ru(r)).reduce((u,f)=>Jt(u)?u:u[f],n);return ft(s)||s===n?ft(n[r])?l:n[r]:s},Ha=n=>typeof n=="boolean",Ma=n=>typeof n=="function",Ie=(n,r,l)=>{let s=-1;const u=cs(r)?[r]:Ru(r),f=u.length,d=f-1;for(;++s<f;){const h=u[s];let y=l;if(s!==d){const p=n[h];y=gt(p)||Array.isArray(p)?p:isNaN(+u[s+1])?{}:[]}if(h==="__proto__"||h==="constructor"||h==="prototype")return;n[h]=y,n=n[h]}};const Br={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},za={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ka={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Mu="form",Em="root",bv=St.createContext(null);bv.displayName="HookFormControlContext";var vv=(n,r,l,s=!0)=>{const u={defaultValues:r._defaultValues};for(const f in n)Object.defineProperty(u,f,{get:()=>{const d=f;return r._proxyFormState[d]!==za.all&&(r._proxyFormState[d]=!s||za.all),n[d]}});return u};const xv=typeof window<"u"?St.useLayoutEffect:St.useEffect;var Yt=n=>typeof n=="string",Sv=(n,r,l,s,u)=>Yt(n)?(s&&r.watch.add(n),oe(l,n,u)):Array.isArray(n)?n.map(f=>(s&&r.watch.add(f),oe(l,f))):(s&&(r.watchAll=!0),l),zu=n=>Jt(n)||!_m(n);function Dn(n,r,l=new WeakSet){if(zu(n)||zu(r))return Object.is(n,r);if(nr(n)&&nr(r))return Object.is(n.getTime(),r.getTime());const s=Object.keys(n),u=Object.keys(r);if(s.length!==u.length)return!1;if(l.has(n)||l.has(r))return!0;l.add(n),l.add(r);for(const f of s){const d=n[f];if(!u.includes(f))return!1;if(f!=="ref"){const h=r[f];if(nr(d)&&nr(h)||gt(d)&>(h)||Array.isArray(d)&&Array.isArray(h)?!Dn(d,h,l):!Object.is(d,h))return!1}}return!0}const Nv=St.createContext(null);Nv.displayName="HookFormContext";var ku=(n,r,l,s,u)=>r?{...l[n],types:{...l[n]&&l[n].types?l[n].types:{},[s]:u||!0}}:{},Yi=n=>Array.isArray(n)?n:[n],wm=()=>{let n=[];return{get observers(){return n},next:u=>{for(const f of n)f.next&&f.next(u)},subscribe:u=>(n.push(u),{unsubscribe:()=>{n=n.filter(f=>f!==u)}}),unsubscribe:()=>{n=[]}}};function Dm(n,r){const l={};for(const s in n)if(n.hasOwnProperty(s)){const u=n[s],f=r[s];if(u&>(u)&&f){const d=Dm(u,f);gt(d)&&(l[s]=d)}else n[s]&&(l[s]=f)}return l}var $t=n=>gt(n)&&!Object.keys(n).length,ju=n=>n.type==="file",fs=n=>{if(!Tu)return!1;const r=n?n.ownerDocument:0;return n instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},Am=n=>n.type==="select-multiple",Vu=n=>n.type==="radio",_v=n=>Vu(n)||Zi(n),Bu=n=>fs(n)&&n.isConnected;function Cv(n,r){const l=r.slice(0,-1).length;let s=0;for(;s<l;)n=ft(n)?s++:n[r[s++]];return n}function Ev(n){for(const r in n)if(n.hasOwnProperty(r)&&!ft(n[r]))return!1;return!0}function Nt(n,r){const l=Array.isArray(r)?r:cs(r)?[r]:Ru(r),s=l.length===1?n:Cv(n,l),u=l.length-1,f=l[u];return s&&delete s[f],u!==0&&(gt(s)&&$t(s)||Array.isArray(s)&&Ev(s))&&Nt(n,l.slice(0,-1)),n}var wv=n=>{for(const r in n)if(Ma(n[r]))return!0;return!1};function Tm(n){return Array.isArray(n)||gt(n)&&!wv(n)}function Uu(n,r={}){for(const l in n){const s=n[l];Tm(s)?(r[l]=Array.isArray(s)?[]:{},Uu(s,r[l])):ft(s)||(r[l]=!0)}return r}function Ur(n,r,l){l||(l=Uu(r));for(const s in n){const u=n[s];if(Tm(u))ft(r)||zu(l[s])?l[s]=Uu(u,Array.isArray(u)?[]:{}):Ur(u,Jt(r)?{}:r[s],l[s]);else{const f=r[s];l[s]=!Dn(u,f)}}return l}const Om={value:!1,isValid:!1},Rm={value:!0,isValid:!0};var Mm=n=>{if(Array.isArray(n)){if(n.length>1){const r=n.filter(l=>l&&l.checked&&!l.disabled).map(l=>l.value);return{value:r,isValid:!!r.length}}return n[0].checked&&!n[0].disabled?n[0].attributes&&!ft(n[0].attributes.value)?ft(n[0].value)||n[0].value===""?Rm:{value:n[0].value,isValid:!0}:Rm:Om}return Om},zm=(n,{valueAsNumber:r,valueAsDate:l,setValueAs:s})=>ft(n)?n:r?n===""?NaN:n&&+n:l&&Yt(n)?new Date(n):s?s(n):n;const km={isValid:!1,value:null};var jm=n=>Array.isArray(n)?n.reduce((r,l)=>l&&l.checked&&!l.disabled?{isValid:!0,value:l.value}:r,km):km;function Vm(n){const r=n.ref;return ju(r)?r.files:Vu(r)?jm(n.refs).value:Am(r)?[...r.selectedOptions].map(({value:l})=>l):Zi(r)?Mm(n.refs).value:zm(ft(r.value)?n.ref.value:r.value,n)}var Dv=(n,r,l,s)=>{const u={};for(const f of n){const d=oe(r,f);d&&Ie(u,f,d._f)}return{criteriaMode:l,names:[...n],fields:u,shouldUseNativeValidation:s}},ds=n=>n instanceof RegExp,$i=n=>ft(n)?n:ds(n)?n.source:gt(n)?ds(n.value)?n.value.source:n.value:n,Bm=n=>({isOnSubmit:!n||n===za.onSubmit,isOnBlur:n===za.onBlur,isOnChange:n===za.onChange,isOnAll:n===za.all,isOnTouch:n===za.onTouched});const Um="AsyncFunction";var Av=n=>!!n&&!!n.validate&&!!(Ma(n.validate)&&n.validate.constructor.name===Um||gt(n.validate)&&Object.values(n.validate).find(r=>r.constructor.name===Um)),Tv=n=>n.mount&&(n.required||n.min||n.max||n.maxLength||n.minLength||n.pattern||n.validate),Lm=(n,r,l)=>!l&&(r.watchAll||r.watch.has(n)||[...r.watch].some(s=>n.startsWith(s)&&/^\.\w+/.test(n.slice(s.length))));const Fi=(n,r,l,s)=>{for(const u of l||Object.keys(n)){const f=oe(n,u);if(f){const{_f:d,...h}=f;if(d){if(d.refs&&d.refs[0]&&r(d.refs[0],u)&&!s)return!0;if(d.ref&&r(d.ref,d.name)&&!s)return!0;if(Fi(h,r))break}else if(gt(h)&&Fi(h,r))break}}};function Hm(n,r,l){const s=oe(n,l);if(s||cs(l))return{error:s,name:l};const u=l.split(".");for(;u.length;){const f=u.join("."),d=oe(r,f),h=oe(n,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};u.pop()}return{name:l}}var Ov=(n,r,l,s)=>{l(n);const{name:u,...f}=n;return $t(f)||Object.keys(f).length>=Object.keys(r).length||Object.keys(f).find(d=>r[d]===(!s||za.all))},Rv=(n,r,l)=>!n||!r||n===r||Yi(n).some(s=>s&&(l?s===r:s.startsWith(r)||r.startsWith(s))),Mv=(n,r,l,s,u)=>u.isOnAll?!1:!l&&u.isOnTouch?!(r||n):(l?s.isOnBlur:u.isOnBlur)?!n:(l?s.isOnChange:u.isOnChange)?n:!0,zv=(n,r)=>!Ou(oe(n,r)).length&&Nt(n,r),kv=(n,r,l)=>{const s=Yi(oe(n,l));return Ie(s,Em,r[l]),Ie(n,l,s),n};function qm(n,r,l="validate"){if(Yt(n)||Array.isArray(n)&&n.every(Yt)||Ha(n)&&!n)return{type:l,message:Yt(n)?n:"",ref:r}}var Lr=n=>gt(n)&&!ds(n)?n:{value:n,message:""},Gm=async(n,r,l,s,u,f)=>{const{ref:d,refs:h,required:y,maxLength:p,minLength:S,min:v,max:D,pattern:N,validate:V,name:E,valueAsNumber:q,mount:P}=n._f,K=oe(l,E);if(!P||r.has(E))return{};const ae=h?h[0]:d,ee=b=>{u&&ae.reportValidity&&(ae.setCustomValidity(Ha(b)?"":b||""),ae.reportValidity())},U={},Q=Vu(d),J=Zi(d),_e=Q||J,Me=(q||ju(d))&&ft(d.value)&&ft(K)||fs(d)&&d.value===""||K===""||Array.isArray(K)&&!K.length,We=ku.bind(null,E,s,U),be=(b,$,F,le=ka.maxLength,O=ka.minLength)=>{const X=b?$:F;U[E]={type:b?le:O,message:X,ref:d,...We(b?le:O,X)}};if(f?!Array.isArray(K)||!K.length:y&&(!_e&&(Me||Jt(K))||Ha(K)&&!K||J&&!Mm(h).isValid||Q&&!jm(h).isValid)){const{value:b,message:$}=Yt(y)?{value:!!y,message:y}:Lr(y);if(b&&(U[E]={type:ka.required,message:$,ref:ae,...We(ka.required,$)},!s))return ee($),U}if(!Me&&(!Jt(v)||!Jt(D))){let b,$;const F=Lr(D),le=Lr(v);if(!Jt(K)&&!isNaN(K)){const O=d.valueAsNumber||K&&+K;Jt(F.value)||(b=O>F.value),Jt(le.value)||($=O<le.value)}else{const O=d.valueAsDate||new Date(K),X=Le=>new Date(new Date().toDateString()+" "+Le),se=d.type=="time",Te=d.type=="week";Yt(F.value)&&K&&(b=se?X(K)>X(F.value):Te?K>F.value:O>new Date(F.value)),Yt(le.value)&&K&&($=se?X(K)<X(le.value):Te?K<le.value:O<new Date(le.value))}if((b||$)&&(be(!!b,F.message,le.message,ka.max,ka.min),!s))return ee(U[E].message),U}if((p||S)&&!Me&&(Yt(K)||f&&Array.isArray(K))){const b=Lr(p),$=Lr(S),F=!Jt(b.value)&&K.length>+b.value,le=!Jt($.value)&&K.length<+$.value;if((F||le)&&(be(F,b.message,$.message),!s))return ee(U[E].message),U}if(N&&!Me&&Yt(K)){const{value:b,message:$}=Lr(N);if(ds(b)&&!K.match(b)&&(U[E]={type:ka.pattern,message:$,ref:d,...We(ka.pattern,$)},!s))return ee($),U}if(V){if(Ma(V)){const b=await V(K,l),$=qm(b,ae);if($&&(U[E]={...$,...We(ka.validate,$.message)},!s))return ee($.message),U}else if(gt(V)){let b={};for(const $ in V){if(!$t(b)&&!s)break;const F=qm(await V[$](K,l),ae,$);F&&(b={...F,...We($,F.message)},ee(F.message),s&&(U[E]=b))}if(!$t(b)&&(U[E]={ref:ae,...b},!s))return U}}return ee(!0),U};const jv={mode:za.onSubmit,reValidateMode:za.onChange,shouldFocusError:!0};function Vv(n={}){let r={...jv,...n},l={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ma(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},s={},u=gt(r.defaultValues)||gt(r.values)?Tt(r.defaultValues||r.values)||{}:{},f=r.shouldUnregister?{}:Tt(u),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 S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},v={...S};let D={...v};const N={array:wm(),state:wm()},V=r.criteriaMode===za.all,E=C=>R=>{clearTimeout(p),p=setTimeout(C,R)},q=async C=>{if(!d.keepIsValid&&!r.disabled&&(v.isValid||D.isValid||C)){let R;r.resolver?(R=$t((await _e()).errors),P()):R=await be({fields:s,onlyCheckValid:!0,eventType:Br.VALID}),R!==l.isValid&&N.state.next({isValid:R})}},P=(C,R)=>{!r.disabled&&(v.isValidating||v.validatingFields||D.isValidating||D.validatingFields)&&((C||Array.from(h.mount)).forEach(k=>{k&&(R?Ie(l.validatingFields,k,R):Nt(l.validatingFields,k))}),N.state.next({validatingFields:l.validatingFields,isValidating:!$t(l.validatingFields)}))},K=(C,R=[],k,re,W=!0,te=!0)=>{if(re&&k&&!r.disabled){if(d.action=!0,te&&Array.isArray(oe(s,C))){const fe=k(oe(s,C),re.argA,re.argB);W&&Ie(s,C,fe)}if(te&&Array.isArray(oe(l.errors,C))){const fe=k(oe(l.errors,C),re.argA,re.argB);W&&Ie(l.errors,C,fe),zv(l.errors,C)}if((v.touchedFields||D.touchedFields)&&te&&Array.isArray(oe(l.touchedFields,C))){const fe=k(oe(l.touchedFields,C),re.argA,re.argB);W&&Ie(l.touchedFields,C,fe)}if(v.dirtyFields||D.dirtyFields){const fe=Ur(u,f),Ce=Cm(C);Ie(l.dirtyFields,Ce,oe(fe,Ce))}N.state.next({name:C,isDirty:$(C,R),dirtyFields:l.dirtyFields,errors:l.errors,isValid:l.isValid})}else Ie(f,C,R)},ae=(C,R)=>{Ie(l.errors,C,R),N.state.next({errors:l.errors})},ee=C=>{l.errors=C,N.state.next({errors:l.errors,isValid:!1})},U=(C,R,k,re)=>{const W=oe(s,C);if(W){const te=oe(f,C,ft(k)?oe(u,C):k);ft(te)||re&&re.defaultChecked||R?Ie(f,C,R?te:Vm(W._f)):O(C,te),d.mount&&!d.action&&q()}},Q=(C,R,k,re,W)=>{let te=!1,fe=!1;const Ce={name:C};if(!r.disabled){if(!k||re){(v.isDirty||D.isDirty)&&(fe=l.isDirty,l.isDirty=Ce.isDirty=$(),te=fe!==Ce.isDirty);const He=Dn(oe(u,C),R);fe=!!oe(l.dirtyFields,C),He?Nt(l.dirtyFields,C):Ie(l.dirtyFields,C,!0),Ce.dirtyFields=l.dirtyFields,te=te||(v.dirtyFields||D.dirtyFields)&&fe!==!He}if(k){const He=oe(l.touchedFields,C);He||(Ie(l.touchedFields,C,k),Ce.touchedFields=l.touchedFields,te=te||(v.touchedFields||D.touchedFields)&&He!==k)}te&&W&&N.state.next(Ce)}return te?Ce:{}},J=(C,R,k,re)=>{const W=oe(l.errors,C),te=(v.isValid||D.isValid)&&Ha(R)&&l.isValid!==R;if(r.delayError&&k?(y=E(()=>ae(C,k)),y(r.delayError)):(clearTimeout(p),y=null,k?Ie(l.errors,C,k):Nt(l.errors,C)),(k?!Dn(W,k):W)||!$t(re)||te){const fe={...re,...te&&Ha(R)?{isValid:R}:{},errors:l.errors,name:C};l={...l,...fe},N.state.next(fe)}},_e=async C=>(P(C,!0),await r.resolver(f,r.context,Dv(C||h.mount,s,r.criteriaMode,r.shouldUseNativeValidation))),Me=async C=>{const{errors:R}=await _e(C);if(P(C),C)for(const k of C){const re=oe(R,k);re?Ie(l.errors,k,re):Nt(l.errors,k)}else l.errors=R;return R},We=async({name:C,eventType:R})=>{if(n.validate){const k=await n.validate({formValues:f,formState:l,name:C,eventType:R});if(gt(k))for(const re in k)k[re]&&ve(`${Mu}.${re}`,{message:Yt(k.message)?k.message:"",type:ka.validate});else Yt(k)||!k?ve(Mu,{message:k||"",type:ka.validate}):ue(Mu);return k}return!0},be=async({fields:C,onlyCheckValid:R,name:k,eventType:re,context:W={valid:!0,runRootValidation:!1}})=>{if(n.validate&&(W.runRootValidation=!0,!await We({name:k,eventType:re})&&(W.valid=!1,R)))return W.valid;for(const te in C){const fe=C[te];if(fe){const{_f:Ce,...He}=fe;if(Ce){const Ft=h.array.has(Ce.name),xa=fe._f&&Av(fe._f);xa&&v.validatingFields&&P([Ce.name],!0);const Ct=await Gm(fe,h.disabled,f,V,r.shouldUseNativeValidation&&!R,Ft);if(xa&&v.validatingFields&&P([Ce.name]),Ct[Ce.name]&&(W.valid=!1,R)||(!R&&(oe(Ct,Ce.name)?Ft?kv(l.errors,Ct,Ce.name):Ie(l.errors,Ce.name,Ct[Ce.name]):Nt(l.errors,Ce.name)),n.shouldUseNativeValidation&&Ct[Ce.name]))break}!$t(He)&&await be({context:W,onlyCheckValid:R,fields:He,name:te,eventType:re})}}return W.valid},b=()=>{for(const C of h.unMount){const R=oe(s,C);R&&(R._f.refs?R._f.refs.every(k=>!Bu(k)):!Bu(R._f.ref))&&it(C)}h.unMount=new Set},$=(C,R)=>!r.disabled&&(C&&R&&Ie(f,C,R),!Dn(Y(),u)),F=(C,R,k)=>Sv(C,h,{...d.mount?f:ft(R)?u:Yt(C)?{[C]:R}:R},k,R),le=C=>Ou(oe(d.mount?f:u,C,r.shouldUnregister?oe(u,C,[]):[])),O=(C,R,k={})=>{const re=oe(s,C);let W=R;if(re){const te=re._f;te&&(!te.disabled&&Ie(f,C,zm(R,te)),W=fs(te.ref)&&Jt(R)?"":R,Am(te.ref)?[...te.ref.options].forEach(fe=>fe.selected=W.includes(fe.value)):te.refs?Zi(te.ref)?te.refs.forEach(fe=>{(!fe.defaultChecked||!fe.disabled)&&(Array.isArray(W)?fe.checked=!!W.find(Ce=>Ce===fe.value):fe.checked=W===fe.value||!!W)}):te.refs.forEach(fe=>fe.checked=fe.value===W):ju(te.ref)?te.ref.value="":(te.ref.value=W,te.ref.type||N.state.next({name:C,values:Tt(f)})))}(k.shouldDirty||k.shouldTouch)&&Q(C,W,k.shouldTouch,k.shouldDirty,!0),k.shouldValidate&&A(C)},X=(C,R,k)=>{for(const re in R){if(!R.hasOwnProperty(re))return;const W=R[re],te=C+"."+re,fe=oe(s,te);(h.array.has(C)||gt(W)||fe&&!fe._f)&&!nr(W)?X(te,W,k):O(te,W,k)}},se=(C,R,k={})=>{const re=oe(s,C),W=h.array.has(C),te=Tt(R);Ie(f,C,te),W?(N.array.next({name:C,values:Tt(f)}),(v.isDirty||v.dirtyFields||D.isDirty||D.dirtyFields)&&k.shouldDirty&&N.state.next({name:C,dirtyFields:Ur(u,f),isDirty:$(C,te)})):re&&!re._f&&!Jt(te)?X(C,te,k):O(C,te,k),Lm(C,h)?N.state.next({...l,name:C,values:Tt(f)}):N.state.next({name:d.mount?C:void 0,values:Tt(f)})},Te=async C=>{d.mount=!0;const R=C.target;let k=R.name,re=!0;const W=oe(s,k),te=He=>{re=Number.isNaN(He)||nr(He)&&isNaN(He.getTime())||Dn(He,oe(f,k,He))},fe=Bm(r.mode),Ce=Bm(r.reValidateMode);if(W){let He,Ft;const xa=R.type?Vm(W._f):pv(C),Ct=C.type===Br.BLUR||C.type===Br.FOCUS_OUT,Qt=!Tv(W._f)&&!n.validate&&!r.resolver&&!oe(l.errors,k)&&!W._f.deps||Mv(Ct,oe(l.touchedFields,k),l.isSubmitted,Ce,fe),Sa=Lm(k,h,Ct);Ie(f,k,xa),Ct?(!R||!R.readOnly)&&(W._f.onBlur&&W._f.onBlur(C),y&&y(0)):W._f.onChange&&W._f.onChange(C);const jt=Q(k,xa,Ct),wc=!$t(jt)||Sa;if(!Ct&&N.state.next({name:k,type:C.type,values:Tt(f)}),Qt)return(v.isValid||D.isValid)&&(r.mode==="onBlur"?Ct&&q():Ct||q()),wc&&N.state.next({name:k,...Sa?{}:jt});if(!r.resolver&&n.validate&&await We({name:k,eventType:C.type}),!Ct&&Sa&&N.state.next({...l}),r.resolver){const{errors:Xs}=await _e([k]);if(P([k]),te(xa),re){const Dc=Hm(l.errors,s,k),mr=Hm(Xs,s,Dc.name||k);He=mr.error,k=mr.name,Ft=$t(Xs)}}else P([k],!0),He=(await Gm(W,h.disabled,f,V,r.shouldUseNativeValidation))[k],P([k]),te(xa),re&&(He?Ft=!1:(v.isValid||D.isValid)&&(Ft=await be({fields:s,onlyCheckValid:!0,name:k,eventType:C.type})));re&&(W._f.deps&&(!Array.isArray(W._f.deps)||W._f.deps.length>0)&&A(W._f.deps),J(k,Ft,He,jt))}},Le=(C,R)=>{if(oe(l.errors,R)&&C.focus)return C.focus(),1},A=async(C,R={})=>{let k,re;const W=Yi(C);if(r.resolver){const te=await Me(ft(C)?C:W);k=$t(te),re=C?!W.some(fe=>oe(te,fe)):k}else C?(re=(await Promise.all(W.map(async te=>{const fe=oe(s,te);return await be({fields:fe&&fe._f?{[te]:fe}:fe,eventType:Br.TRIGGER})}))).every(Boolean),!(!re&&!l.isValid)&&q()):re=k=await be({fields:s,name:C,eventType:Br.TRIGGER});return N.state.next({...!Yt(C)||(v.isValid||D.isValid)&&k!==l.isValid?{}:{name:C},...r.resolver||!C?{isValid:k}:{},errors:l.errors}),R.shouldFocus&&!re&&Fi(s,Le,C?W:h.mount),re},Y=(C,R)=>{let k={...d.mount?f:u};return R&&(k=Dm(R.dirtyFields?l.dirtyFields:l.touchedFields,k)),ft(C)?k:Yt(C)?oe(k,C):C.map(re=>oe(k,re))},ne=(C,R)=>({invalid:!!oe((R||l).errors,C),isDirty:!!oe((R||l).dirtyFields,C),error:oe((R||l).errors,C),isValidating:!!oe(l.validatingFields,C),isTouched:!!oe((R||l).touchedFields,C)}),ue=C=>{const R=C?Yi(C):void 0;R==null||R.forEach(k=>Nt(l.errors,k)),R?R.forEach(k=>{N.state.next({name:k,errors:l.errors})}):N.state.next({errors:{}})},ve=(C,R,k)=>{const re=(oe(s,C,{_f:{}})._f||{}).ref,W=oe(l.errors,C)||{},{ref:te,message:fe,type:Ce,...He}=W;Ie(l.errors,C,{...He,...R,ref:re}),N.state.next({name:C,errors:l.errors,isValid:!1}),k&&k.shouldFocus&&re&&re.focus&&re.focus()},De=(C,R)=>Ma(C)?N.state.subscribe({next:k=>"values"in k&&C(F(void 0,R),k)}):F(C,R,!0),Be=C=>N.state.subscribe({next:R=>{Rv(C.name,R.name,C.exact)&&Ov(R,C.formState||v,dl,C.reRenderRoot)&&C.callback({values:{...f},...l,...R,defaultValues:u})}}).unsubscribe,kt=C=>(d.mount=!0,D={...D,...C.formState},Be({...C,formState:{...S,...C.formState}})),it=(C,R={})=>{for(const k of C?Yi(C):h.mount)h.mount.delete(k),h.array.delete(k),R.keepValue||(Nt(s,k),Nt(f,k)),!R.keepError&&Nt(l.errors,k),!R.keepDirty&&Nt(l.dirtyFields,k),!R.keepTouched&&Nt(l.touchedFields,k),!R.keepIsValidating&&Nt(l.validatingFields,k),!r.shouldUnregister&&!R.keepDefaultValue&&Nt(u,k);N.state.next({values:Tt(f)}),N.state.next({...l,...R.keepDirty?{isDirty:$()}:{}}),!R.keepIsValid&&q()},Tn=({disabled:C,name:R})=>{if(Ha(C)&&d.mount||C||h.disabled.has(R)){const W=h.disabled.has(R)!==!!C;C?h.disabled.add(R):h.disabled.delete(R),W&&d.mount&&!d.action&&q()}},On=(C,R={})=>{let k=oe(s,C);const re=Ha(R.disabled)||Ha(r.disabled);return Ie(s,C,{...k||{},_f:{...k&&k._f?k._f:{ref:{name:C}},name:C,mount:!0,...R}}),h.mount.add(C),k?Tn({disabled:Ha(R.disabled)?R.disabled:r.disabled,name:C}):U(C,!0,R.value),{...re?{disabled:R.disabled||r.disabled}:{},...r.progressive?{required:!!R.required,min:$i(R.min),max:$i(R.max),minLength:$i(R.minLength),maxLength:$i(R.maxLength),pattern:$i(R.pattern)}:{},name:C,onChange:Te,onBlur:Te,ref:W=>{if(W){On(C,R),k=oe(s,C);const te=ft(W.value)&&W.querySelectorAll&&W.querySelectorAll("input,select,textarea")[0]||W,fe=_v(te),Ce=k._f.refs||[];if(fe?Ce.find(He=>He===te):te===k._f.ref)return;Ie(s,C,{_f:{...k._f,...fe?{refs:[...Ce.filter(Bu),te,...Array.isArray(oe(u,C))?[{}]:[]],ref:{type:te.type,name:C}}:{ref:te}}}),U(C,!1,void 0,te)}else k=oe(s,C,{}),k._f&&(k._f.mount=!1),(r.shouldUnregister||R.shouldUnregister)&&!(gv(h.array,C)&&d.action)&&h.unMount.add(C)}}},dr=()=>r.shouldFocusError&&Fi(s,Le,h.mount),Ys=C=>{Ha(C)&&(N.state.next({disabled:C}),Fi(s,(R,k)=>{const re=oe(s,k);re&&(R.disabled=re._f.disabled||C,Array.isArray(re._f.refs)&&re._f.refs.forEach(W=>{W.disabled=re._f.disabled||C}))},0,!1))},$a=(C,R)=>async k=>{let re;k&&(k.preventDefault&&k.preventDefault(),k.persist&&k.persist());let W=Tt(f);if(N.state.next({isSubmitting:!0}),r.resolver){const{errors:te,values:fe}=await _e();P(),l.errors=te,W=Tt(fe)}else await be({fields:s,eventType:Br.SUBMIT});if(h.disabled.size)for(const te of h.disabled)Nt(W,te);if(Nt(l.errors,Em),$t(l.errors)){N.state.next({errors:{}});try{await C(W,k)}catch(te){re=te}}else R&&await R({...l.errors},k),dr(),setTimeout(dr);if(N.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:$t(l.errors)&&!re,submitCount:l.submitCount+1,errors:l.errors}),re)throw re},fl=(C,R={})=>{oe(s,C)&&(ft(R.defaultValue)?se(C,Tt(oe(u,C))):(se(C,R.defaultValue),Ie(u,C,Tt(R.defaultValue))),R.keepTouched||Nt(l.touchedFields,C),R.keepDirty||(Nt(l.dirtyFields,C),l.isDirty=R.defaultValue?$(C,Tt(oe(u,C))):$()),R.keepError||(Nt(l.errors,C),v.isValid&&q()),N.state.next({...l}))},Ir=(C,R={})=>{const k=C?Tt(C):u,re=Tt(k),W=$t(C),te=W?u:re;if(R.keepDefaultValues||(u=k),!R.keepValues){if(R.keepDirtyValues){const fe=new Set([...h.mount,...Object.keys(Ur(u,f))]);for(const Ce of Array.from(fe)){const He=oe(l.dirtyFields,Ce),Ft=oe(f,Ce),xa=oe(te,Ce);He&&!ft(Ft)?Ie(te,Ce,Ft):!He&&!ft(xa)&&se(Ce,xa)}}else{if(Tu&&ft(C))for(const fe of h.mount){const Ce=oe(s,fe);if(Ce&&Ce._f){const He=Array.isArray(Ce._f.refs)?Ce._f.refs[0]:Ce._f.ref;if(fs(He)){const Ft=He.closest("form");if(Ft){Ft.reset();break}}}}if(R.keepFieldsRef)for(const fe of h.mount)se(fe,oe(te,fe));else s={}}f=r.shouldUnregister?R.keepDefaultValues?Tt(u):{}:Tt(te),N.array.next({values:{...te}}),N.state.next({values:{...te}})}h={mount:R.keepDirtyValues?h.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},d.mount=!v.isValid||!!R.keepIsValid||!!R.keepDirtyValues||!r.shouldUnregister&&!$t(te),d.watch=!!r.shouldUnregister,d.keepIsValid=!!R.keepIsValid,d.action=!1,R.keepErrors||(l.errors={}),N.state.next({submitCount:R.keepSubmitCount?l.submitCount:0,isDirty:W?!1:R.keepDirty?l.isDirty:!!(R.keepDefaultValues&&!Dn(C,u)),isSubmitted:R.keepIsSubmitted?l.isSubmitted:!1,dirtyFields:W?{}:R.keepDirtyValues?R.keepDefaultValues&&f?Ur(u,f):l.dirtyFields:R.keepDefaultValues&&C?Ur(u,C):R.keepDirty?l.dirtyFields:{},touchedFields:R.keepTouched?l.touchedFields:{},errors:R.keepErrors?l.errors:{},isSubmitSuccessful:R.keepIsSubmitSuccessful?l.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:u})},$s=(C,R)=>Ir(Ma(C)?C(f):C,{...r.resetOptions,...R}),Fs=(C,R={})=>{const k=oe(s,C),re=k&&k._f;if(re){const W=re.refs?re.refs[0]:re.ref;W.focus&&setTimeout(()=>{W.focus(),R.shouldSelect&&Ma(W.select)&&W.select()})}},dl=C=>{l={...l,...C}},Pr={control:{register:On,unregister:it,getFieldState:ne,handleSubmit:$a,setError:ve,_subscribe:Be,_runSchema:_e,_updateIsValidating:P,_focusError:dr,_getWatch:F,_getDirty:$,_setValid:q,_setFieldArray:K,_setDisabledField:Tn,_setErrors:ee,_getFieldArray:le,_reset:Ir,_resetDefaultValues:()=>Ma(r.defaultValues)&&r.defaultValues().then(C=>{$s(C,r.resetOptions),N.state.next({isLoading:!1})}),_removeUnmounted:b,_disableForm:Ys,_subjects:N,_proxyFormState:v,get _fields(){return s},get _formValues(){return f},get _state(){return d},set _state(C){d=C},get _defaultValues(){return u},get _names(){return h},set _names(C){h=C},get _formState(){return l},get _options(){return r},set _options(C){r={...r,...C}}},subscribe:kt,trigger:A,register:On,handleSubmit:$a,watch:De,setValue:se,getValues:Y,reset:$s,resetField:fl,clearErrors:ue,unregister:it,setError:ve,setFocus:Fs,getFieldState:ne};return{...Pr,formControl:Pr}}function Bv(n={}){const r=St.useRef(void 0),l=St.useRef(void 0),[s,u]=St.useState({isDirty:!1,isValidating:!1,isLoading:Ma(n.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1,isReady:!1,defaultValues:Ma(n.defaultValues)?void 0:n.defaultValues});if(!r.current)if(n.formControl)r.current={...n.formControl,formState:s},n.defaultValues&&!Ma(n.defaultValues)&&n.formControl.reset(n.defaultValues,n.resetOptions);else{const{formControl:d,...h}=Vv(n);r.current={...h,formState:s}}const f=r.current.control;return f._options=n,xv(()=>{const d=f._subscribe({formState:f._proxyFormState,callback:()=>u({...f._formState}),reRenderRoot:!0});return u(h=>({...h,isReady:!0})),f._formState.isReady=!0,d},[f]),St.useEffect(()=>f._disableForm(n.disabled),[f,n.disabled]),St.useEffect(()=>{n.mode&&(f._options.mode=n.mode),n.reValidateMode&&(f._options.reValidateMode=n.reValidateMode)},[f,n.mode,n.reValidateMode]),St.useEffect(()=>{n.errors&&(f._setErrors(n.errors),f._focusError())},[f,n.errors]),St.useEffect(()=>{n.shouldUnregister&&f._subjects.state.next({values:f._getWatch()})},[f,n.shouldUnregister]),St.useEffect(()=>{if(f._proxyFormState.isDirty){const d=f._getDirty();d!==s.isDirty&&f._subjects.state.next({isDirty:d})}},[f,s.isDirty]),St.useEffect(()=>{var d;n.values&&!Dn(n.values,l.current)?(f._reset(n.values,{keepFieldsRef:!0,...f._options.resetOptions}),!((d=f._options.resetOptions)===null||d===void 0)&&d.keepIsValid||f._setValid(),l.current=n.values,u(h=>({...h}))):f._resetDefaultValues()},[f,n.values]),St.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()}),r.current.formState=St.useMemo(()=>vv(s,f),[f,s]),r.current}const Zm=(n,r,l)=>{if(n&&"reportValidity"in n){const s=oe(l,r);n.setCustomValidity(s&&s.message||""),n.reportValidity()}},Lu=(n,r)=>{for(const l in r.fields){const s=r.fields[l];s&&s.ref&&"reportValidity"in s.ref?Zm(s.ref,l,n):s&&s.refs&&s.refs.forEach(u=>Zm(u,l,n))}},Ym=(n,r)=>{r.shouldUseNativeValidation&&Lu(n,r);const l={};for(const s in n){const u=oe(r.fields,s),f=Object.assign(n[s]||{},{ref:u&&u.ref});if(Uv(r.names||Object.keys(n),s)){const d=Object.assign({},oe(l,s));Ie(d,"root",f),Ie(l,s,d)}else Ie(l,s,f)}return l},Uv=(n,r)=>{const l=$m(r);return n.some(s=>$m(s).match(`^${l}\\.\\d+`))};function $m(n){return n.replace(/\]|\[/g,"")}function Fm(n,r,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(n),r(h,y);for(const S in d.prototype)S in h||Object.defineProperty(h,S,{value:d.prototype[S].bind(h)});h._zod.constr=d,h._zod.def=y}const u=(l==null?void 0:l.Parent)??Object;class f extends u{}Object.defineProperty(f,"name",{value:n});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 S of p._zod.deferred)S();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(n)}}),Object.defineProperty(d,"name",{value:n}),d}class Lv extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const Hv={};function Qm(n){return Hv}function qv(n,r){return typeof r=="bigint"?r.toString():r}const Xm=Error.captureStackTrace?Error.captureStackTrace:(...n)=>{};function ms(n){return typeof n=="string"?n:n==null?void 0:n.message}function Km(n,r,l){var u,f,d,h,y,p;const s={...n,path:n.path??[]};if(!n.message){const S=ms((d=(f=(u=n.inst)==null?void 0:u._zod.def)==null?void 0:f.error)==null?void 0:d.call(f,n))??ms((h=r==null?void 0:r.error)==null?void 0:h.call(r,n))??ms((y=l.customError)==null?void 0:y.call(l,n))??ms((p=l.localeError)==null?void 0:p.call(l,n))??"Invalid input";s.message=S}return delete s.inst,delete s.continue,r!=null&&r.reportInput||delete s.input,s}const Jm=(n,r)=>{n.name="$ZodError",Object.defineProperty(n,"_zod",{value:n._zod,enumerable:!1}),Object.defineProperty(n,"issues",{value:r,enumerable:!1}),Object.defineProperty(n,"message",{get(){return JSON.stringify(r,qv,2)},enumerable:!0}),Object.defineProperty(n,"toString",{value:()=>n.message,enumerable:!1})},Gv=Fm("$ZodError",Jm),Im=Fm("$ZodError",Jm,{Parent:Error}),Zv=(n=>(r,l,s,u)=>{const f=s?Object.assign(s,{async:!1}):{async:!1},d=r._zod.run({value:l,issues:[]},f);if(d instanceof Promise)throw new Lv;if(d.issues.length){const h=new((u==null?void 0:u.Err)??n)(d.issues.map(y=>Km(y,f,Qm())));throw Xm(h,u==null?void 0:u.callee),h}return d.value})(Im),Yv=(n=>async(r,l,s,u)=>{const f=s?Object.assign(s,{async:!0}):{async:!0};let d=r._zod.run({value:l,issues:[]},f);if(d instanceof Promise&&(d=await d),d.issues.length){const h=new((u==null?void 0:u.Err)??n)(d.issues.map(y=>Km(y,f,Qm())));throw Xm(h,u==null?void 0:u.callee),h}return d.value})(Im);function Pm(n,r){try{var l=n()}catch(s){return r(s)}return l&&l.then?l.then(void 0,r):l}function $v(n,r){for(var l={};n.length;){var s=n[0],u=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:u};if("unionErrors"in s&&s.unionErrors.forEach(function(S){return S.errors.forEach(function(v){return n.push(v)})}),r){var y=l[d].types,p=y&&y[s.code];l[d]=ku(d,r,l,u,p?[].concat(p,s.message):s.message)}n.shift()}return l}function Fv(n,r){for(var l={};n.length;){var s=n[0],u=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:u};if(s.code==="invalid_union"&&s.errors.forEach(function(S){return S.forEach(function(v){return n.push(v)})}),r){var y=l[d].types,p=y&&y[s.code];l[d]=ku(d,r,l,u,p?[].concat(p,s.message):s.message)}n.shift()}return l}function Qv(n,r,l){if(l===void 0&&(l={}),(function(s){return"_def"in s&&typeof s._def=="object"&&"typeName"in s._def})(n))return function(s,u,f){try{return Promise.resolve(Pm(function(){return Promise.resolve(n[l.mode==="sync"?"parse":"parseAsync"](s,r)).then(function(d){return f.shouldUseNativeValidation&&Lu({},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:Ym($v(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"})(n))return function(s,u,f){try{return Promise.resolve(Pm(function(){return Promise.resolve((l.mode==="sync"?Zv:Yv)(n,s,r)).then(function(d){return f.shouldUseNativeValidation&&Lu({},f),{errors:{},values:l.raw?Object.assign({},s):d}})},function(d){if((function(h){return h instanceof Gv})(d))return{values:{},errors:Ym(Fv(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")}/**
|
|
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&>._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")}/**
|
|
54
328
|
* @license lucide-react v0.518.0 - ISC
|
|
55
329
|
*
|
|
56
330
|
* This source code is licensed under the ISC license.
|
|
57
331
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/const
|
|
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};/**
|
|
59
333
|
* @license lucide-react v0.518.0 - ISC
|
|
60
334
|
*
|
|
61
335
|
* This source code is licensed under the ISC license.
|
|
62
336
|
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/var
|
|
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"};/**
|
|
64
338
|
* @license lucide-react v0.518.0 - ISC
|
|
65
339
|
*
|
|
66
340
|
* This source code is licensed under the ISC license.
|
|
67
341
|
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/const
|
|
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]]));/**
|
|
69
343
|
* @license lucide-react v0.518.0 - ISC
|
|
70
344
|
*
|
|
71
345
|
* This source code is licensed under the ISC license.
|
|
72
346
|
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/const
|
|
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};/**
|
|
74
348
|
* @license lucide-react v0.518.0 - ISC
|
|
75
349
|
*
|
|
76
350
|
* This source code is licensed under the ISC license.
|
|
77
351
|
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/const
|
|
352
|
+
*/const ST=bT("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
79
353
|
* @license lucide-react v0.518.0 - ISC
|
|
80
354
|
*
|
|
81
355
|
* This source code is licensed under the ISC license.
|
|
82
356
|
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/const Wv=th("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"}]]),nh={modal:{id:"",open:!1,label:"",url:""}},rr=Au(n=>({...nh,setModal:r=>n({modal:r}),resetModal:()=>n({modal:nh.modal})})),e1=n=>n.replace(/\D/g,"").slice(0,11).replace(/^(\d{2})(\d{5})(\d{0,4})/,"($1) $2-$3").trim(),t1=n=>n.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d{0,3})/,"$1-$2"),a1=n=>n.replace(/\D/g,"").replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"),rh=n=>Number(String(n).replace(",",".")),n1=n=>{const r=String(n);if(r.includes(".")||r.includes(","))return rh(n);const l=r.slice(-2);return+`${r.slice(0,-2)||"0"}.${l}`},r1=n=>{const r=n.slice(-2);return+`${n.slice(0,-2)||"0"}.${r}`};function i1(n){return String(n).replace(/[.,]/g,"")}const ya={phone:n=>e1(n),cep:n=>t1(n),cpf:n=>a1(n),priceToInteger:n=>i1(n),price:n=>rh(n),transformPrice:n=>n1(n),transformPorcent:n=>r1(n)};/*! js-cookie v3.0.5 | MIT */function hs(n){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var s in l)n[s]=l[s]}return n}var l1={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Hu(n,r){function l(u,f,d){if(!(typeof document>"u")){d=hs({},r,d),typeof d.expires=="number"&&(d.expires=new Date(Date.now()+d.expires*864e5)),d.expires&&(d.expires=d.expires.toUTCString()),u=encodeURIComponent(u).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=u+"="+n.write(f,u)+h}}function s(u){if(!(typeof document>"u"||arguments.length&&!u)){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 S=decodeURIComponent(y[0]);if(d[S]=n.read(p,S),u===S)break}catch{}}return u?d[u]:d}}return Object.create({set:l,get:s,remove:function(u,f){l(u,"",hs({},f,{expires:-1}))},withAttributes:function(u){return Hu(this.converter,hs({},this.attributes,u))},withConverter:function(u){return Hu(hs({},this.converter,u),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}var rt=Hu(l1,{path:"/"});const qu={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"},ir=n=>{var r;if(typeof{url:Ja&&Ja.tagName.toUpperCase()==="SCRIPT"&&Ja.src||new URL("vanilla.js",document.baseURI).href}<"u")return qu==null?void 0:qu[n];if(typeof process<"u")return(r=process.env)==null?void 0:r[n]},s1=async({product:n,consumer:r})=>{const l=rt.get("tenant_id");if(!l)throw new Error(`No configuration found for tenant: ${l}`);if(!r||!r.holderId)throw new Error("Consumer holderId information is required");if(!n)throw new Error("Product information is required");const s={id:n.id,ean:n.ean,requestedQuantity:n.requestedQuantity,listPrice:n.listPrice,netPrice:n.netPrice};try{const f=await(await fetch(`${ir("VITE_API_URL")}/api/lookup-consumer.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${rt.get("pbm-token")}`},body:JSON.stringify({tenant_id:l,product:s,table_id:rt.get("current-table-id"),local_hour:rt.get("current-local-hour"),consumer:r})})).json();if(!f.success)throw new Error("PBMLOG: Enable Discount Failed!");return f}catch(u){return console.error("Error during enable discount:",u),{success:!1,error:"Authorization failed"}}};function o1({startTransition:n}){const r=Kt(),[l,s]=pe.useState(!1),{setModal:u}=rr(),{handleSubmit:f,register:d,setValue:h,clearErrors:y,unregister:p,formState:{errors:S}}=Bv({resolver:Qv(uv),mode:"onSubmit",defaultValues:{securityNumber:r.securityNumber||"",coupon:""}}),v=async N=>{if(r.targetProduct===null){console.error("PBMLOG: Product is not defined!");return}if(!r.targetProduct.id){console.error("PBMLOG: Product ID is not defined!");return}if(!r.targetProduct.listPrice){console.error("PBMLOG: List Price is not defined!");return}r.setSecurityNumber(N.securityNumber.replace(/\D/g,""));const V=await s1({product:r.targetProduct,consumer:{holderId:N.securityNumber.replace(/\D/g,"")}});if(!V.success){u({id:"CustomerNotRegistered",open:!0});return}r.setBenefitsList(V.product),r.setState("isActivated")},D=async N=>{if(!r.isAuthenticatedShopper){u({id:"ShopperIsNotAuthenticated",open:!0});return}l||h("coupon",void 0,{shouldValidate:!1}),l&&N.coupon!=null&&r.setCardID(N.coupon),n(async()=>{await v(N)})};return x.jsxDEV(x.Fragment,{children:[x.jsxDEV("form",{onSubmit:f(D),className:ot("w-full h-auto flex items-start justify-center flex-col mb-2 transition-all duration-150"),id:"form_security_number_pbm",children:[x.jsxDEV("label",{htmlFor:"input_security_number_pbm",className:ot("w-full h-auto flex items-start flex-col justify-center relative py-2 transition-all duration-100",{"mb-4":S.securityNumber&&!l}),id:"label_security_number_pbm",children:[x.jsxDEV("input",{type:"text",className:ot("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":S.securityNumber,"rounded-lg":l}),style:{"--tw-outline-color":S.securityNumber?void 0:"var(--pbm-secondary)"},placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...d("securityNumber",{onChange:N=>{const V=ya.cpf(N.target.value);h("securityNumber",V,{shouldValidate:!0})}}),defaultValue:r.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),S.securityNumber&&x.jsxDEV("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:S.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),x.jsxDEV(pe.Activity,{mode:l?"visible":"hidden",children:x.jsxDEV("label",{htmlFor:"input_coupon_pbm",className:ot("w-full h-auto flex items-start flex-col justify-center relative py-2",{"mt-2":S.securityNumber}),id:"label_coupon_pbm",children:[x.jsxDEV("input",{type:"text",className:ot("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":S.coupon,"rounded-lg":l}),style:{"--tw-outline-color":S.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:N=>{h("coupon",N.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),S.coupon&&x.jsxDEV("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:S.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),x.jsxDEV("button",{type:"submit",className:ot("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),x.jsxDEV("section",{className:"flex items-start flex-col gap-2",children:[x.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:N=>N.currentTarget.style.filter="brightness(0.8)",onMouseOut:N=>N.currentTarget.style.filter="none",onClick:()=>{const N=!l;s(N),N||(p("coupon"),y("coupon"))},id:"check_benefits_button",children:[x.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),x.jsxDEV(ah,{size:16,className:ot({"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),x.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:N=>N.currentTarget.style.filter="brightness(0.8)",onMouseOut:N=>N.currentTarget.style.filter="none",onClick:()=>r.setState("isPreview"),id:"check_benefits_button",children:[x.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),x.jsxDEV(ah,{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 u1({size:n}){return x.jsxDEV("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Camada 1",viewBox:"0 0 500 500",width:n,height:n,children:x.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 c1({size:n}){return x.jsxDEV("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Camada 1",viewBox:"0 0 500 500",width:n,height:n,children:[x.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),x.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 f1({size:n,color:r}){return x.jsxDEV("svg",{viewBox:"-0.003 0 99.979 99.979",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",width:n,height:n,children:[x.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),x.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),x.jsxDEV("g",{id:"SVGRepo_iconCarrier",children:[x.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),x.jsxDEV("path",{fill:r,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),x.jsxDEV("path",{fill:r,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),x.jsxDEV("path",{fill:r,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),x.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),x.jsxDEV("path",{fill:r,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 d1({size:n,color:r}){return x.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:n,height:n,children:[x.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),x.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),x.jsxDEV("g",{id:"SVGRepo_iconCarrier",children:x.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:r},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 ps={CheckON:u1,CheckOFF:c1,Pills:f1,ArrowDown:d1};function m1(){var y;const{targetProduct:n,benefitsEnabled:r,setBenefitsEnabled:l}=Kt(),s=ya.transformPrice(Number(n==null?void 0:n.listPrice)),u=ya.transformPrice(Number(n==null?void 0:n.discountValue)||0),f=ya.transformPorcent((n==null?void 0:n.discountPercentual)||"0"),d=s*f/100,h=s-u||s-d;return x.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:[x.jsxDEV("label",{className:"flex items-center gap-2 cursor-pointer",htmlFor:"enable_benefits_checkbox",children:[x.jsxDEV("input",{id:"enable_benefits_checkbox",type:"checkbox",name:"option",className:"peer hidden",checked:r,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),x.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),x.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),x.jsxDEV(ps.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),x.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:x.jsxDEV("section",{className:"flex items-start gap-2 justify-center-safe flex-col",children:[x.jsxDEV("div",{className:"flex items-center-safe justify-start gap-1",children:[x.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),x.jsxDEV(ps.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),x.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),x.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),(n==null?void 0:n.informativeMessage)&&x.jsxDEV("span",{className:"text-xs text-zinc-600 font-medium",children:n==null?void 0:n.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 h1({textColor:n}){return x.jsxDEV("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[x.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),x.jsxDEV("p",{className:"text-sm font-semibold text-start",style:{color:n||"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 Gu({children:n,variant:r}){const{benefitsEnabled:l}=Kt();return x.jsxDEV("main",{className:ot({"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":r==="main","w-full relative":r==="simple","h-0 overflow-hidden":!l&&r==="simple"}),"data-testid":"test_id_container","data-variant":r,id:"container_pbm",children:n},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Container/index.tsx",lineNumber:15,columnNumber:5},this)}function Hr(n){return x.jsxDEV("h2",{className:ot("text-start font-semibold text-sm",n.className),style:{color:n.textColor||"var(--pbm-text)",fontSize:n.textSize,textAlign:n.textAlign},"data-testid":"test_id_title",id:"title_pbm",children:n.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Title/index.tsx",lineNumber:13,columnNumber:5},this)}function p1({data:n,onChange:r,checked:l}){const{setAvailableDiscountSelected:s,state:u,isAuthenticatedShopper:f}=Kt(),{setModal:d}=rr(),h=n.id+"_"+n.requestedQuantity,y=ya.transformPrice(Number(n==null?void 0:n.grossPrice)||Number(n==null?void 0:n.listPrice)||0),p=ya.transformPrice(Number(n==null?void 0:n.discountValue)||0),S=ya.transformPorcent((n==null?void 0:n.discountPercentual)||"0"),v=p*Number(n.requestedQuantity),D=y*Number(n.requestedQuantity),N=D*S/100,V=D-v||D-N,E=pe.useCallback(()=>{if(l){const P=K=>Math.round(K*100)/100;s({discount:{total:P(v),unit:P(p)},quantity:Number(n.requestedQuantity),totalPrice:P(V),grossPrice:n.grossPrice})}},[l,n.requestedQuantity,n.grossPrice,s,v,p,V]);pe.useEffect(()=>{E()},[E]);const q=()=>{if(!f&&u==="isActivated"){d({id:"ShopperIsNotAuthenticated",open:!0});return}r()};return x.jsxDEV("label",{htmlFor:h,className:ot("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":u==="isPreview","cursor-pointer":u==="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:[x.jsxDEV("input",{type:"radio",name:"benefits_discount",id:h,className:"hidden",checked:l,onChange:q,disabled:u==="isPreview"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:106,columnNumber:7},this),x.jsxDEV("span",{style:{color:"var(--pbm-primary)"},children:l?x.jsxDEV(ps.CheckON,{size:20},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:117,columnNumber:52},this):x.jsxDEV(ps.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),x.jsxDEV("span",{className:"font-semibold text-sm",style:{color:"var(--pbm-text)"},children:[n.requestedQuantity,"un"]},void 0,!0,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/Item.tsx",lineNumber:120,columnNumber:7},this),x.jsxDEV("section",{className:"ml-auto relative gap-2 flex items-center-safe justify-end-safe",children:[x.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:[v.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),x.jsxDEV("strong",{className:"font-semibold text-sm text-center",style:{color:"var(--pbm-text)"},children:V.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 g1="N000";function y1(){var y;const{setState:n,state:r,customLoginUrl:l,isAuthenticatedShopper:s,benefitsList:u}=Kt(),[f,d]=pe.useState(null),[h]=pe.useState(u);return h!=null&&h.length&&((y=h[0])==null?void 0:y.returnCode)!==g1&&r==="isActivated"?x.jsxDEV("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:x.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):x.jsxDEV("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[x.jsxDEV(Hr,{children:"Descontos disponíveis:"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/BenefitsTable/index.tsx",lineNumber:47,columnNumber:7},this),x.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&&x.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 S=p.id+"_"+p.requestedQuantity;return x.jsxDEV(p1,{data:p,checked:f===S,onChange:()=>d(S)},S,!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),r==="isPreview"&&x.jsxDEV(Wa,{onClick:()=>n("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"," ",x.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),r==="isActivated"&&x.jsxDEV(x.Fragment,{children:[!s&&x.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:x.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),x.jsxDEV(Wa,{onClick:()=>n("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:x.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 gs(n){return x.jsxDEV("p",{className:ot("font-normal text-sm",n.textAlign&&`text-${n.textAlign}`,n.className),style:{color:n.textColor||"var(--pbm-text)",fontSize:n.textSize,textAlign:n.textAlign},"data-testid":"test_id_text",id:"text_pbm",children:n.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Text/index.tsx",lineNumber:13,columnNumber:5},this)}function b1({textColor:n}){const{urlAcceptTerms:r}=Kt(),{setModal:l}=rr(),s=()=>{r&&l({open:!0,id:"iframe_pbm",label:"Aceitar os termos",url:r})};return x.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:[x.jsxDEV(Hr,{className:"w-full",textColor:n,children:"CPF não cadastrado."},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/SecurityNumberInvalid/index.tsx",lineNumber:25,columnNumber:7},this),x.jsxDEV(gs,{className:"w-full",textColor:n,children:["Conclua seu cadastro para habilitar o benefício. ",x.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),x.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 v1({textColor:n}){const{urlRegisterIndustry:r}=Kt(),{setModal:l}=rr(),s=()=>{r&&l({open:!0,id:"iframe_pbm",label:"Ativar CPF",url:r})};return x.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:[x.jsxDEV(Hr,{className:"w-full",textColor:n,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),x.jsxDEV(gs,{className:"w-full",textColor:n,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),x.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 ih={ErrorMessage:"Erro ao aplicar o benefício"},lh=Au(n=>({...ih,setErrorMessage:r=>n({ErrorMessage:r}),resetErrorMessage:()=>n({ErrorMessage:ih.ErrorMessage})})),sh=()=>{const{ErrorMessage:n}=lh(),{setState:r}=Kt();return x.jsxDEV(Gu,{variant:"main",children:[x.jsxDEV(Hr,{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),x.jsxDEV(gs,{textAlign:"center",children:n},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Errors/ErrorToApplyBenefits.tsx",lineNumber:16,columnNumber:13},void 0),x.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:()=>r("isEmpty"),id:"check_benefits_button",children:[x.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),x.jsxDEV(Wv,{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)},oh={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},lr=Au(n=>({...oh,setPersonalData:r=>n(l=>({personalData:{...l.personalData,...r}})),setAddress:r=>n(l=>({address:{...l.address,...r}})),setGenderResponsibility:r=>n(l=>({genderResponsibility:{...l.genderResponsibility,...r}})),setDoctor:r=>n(l=>({doctor:{...l.doctor,...r}})),setAcceptances:r=>n(l=>({acceptances:{...l.acceptances,...r}})),setStep:r=>n({step:r}),resetForm:()=>n(oh)})),Gt=({label:n,error:r,children:l})=>x.jsxDEV("div",{className:"flex flex-col gap-1",children:[x.jsxDEV("label",{className:"text-xs font-medium text-zinc-500 uppercase tracking-wide",children:n},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/Shared/FieldWrapper.tsx",lineNumber:11,columnNumber:5},void 0),l,r&&x.jsxDEV("span",{className:"text-xs text-red-500 mt-0.5",children:r},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),Qi="w-full rounded-lg border border-gray-200 bg-gray-100 px-3 py-2.5 text-sm text-gray-400 cursor-not-allowed",ja=n=>ot("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",n?"border-red-400 bg-red-50":"border-gray-200 bg-gray-50 hover:border-gray-300"),Xi=({onNext:n,onBack:r,loading:l,nextLabel:s="Continuar",isLast:u=!1})=>x.jsxDEV("div",{className:"flex gap-2 mt-2 pt-4 border-t border-gray-100",children:[r&&x.jsxDEV("button",{type:"button",onClick:r,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),x.jsxDEV("button",{type:"button",onClick:n,disabled:l,className:ot("flex-2 rounded-lg py-2.5 text-sm font-semibold text-white transition-all cursor-pointer",u?"bg-emerald-600 hover:bg-emerald-500":"bg-(--pbm-primary) hover:bg-(--pbm-primary)/60",l&&"opacity-60 cursor-not-allowed"),children:l?x.jsxDEV("span",{className:"flex items-center justify-center gap-2",children:[x.jsxDEV("svg",{className:"h-4 w-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[x.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),x.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),ys={PersonalData:0,Address:1,GenderResponsibility:2,Doctor:3,Acceptances:4},x1=({securityNumber:n,onNext:r})=>{const{personalData:l,setPersonalData:s,setStep:u}=lr(),{setModal:f}=rr(),[d,h]=pe.useState({}),[y,p]=pe.useState(!1),S=()=>{const D={};return(!l.name.trim()||l.name.trim().split(" ").length<2)&&(D.name="Informe o nome completo."),/^\(\d{2}\) \d{5}-\d{4}$/.test(l.phone)||(D.phone="Telefone inválido."),l.birthday||(D.birthday="Data de nascimento obrigatória."),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.email)||(D.email="E-mail inválido."),h(D),Object.keys(D).length===0},v=async()=>{if(S()){p(!0);try{u(ys.Address),r()}catch{console.error("An error occurred while setting personal data form.")}finally{p(!1)}}};return x.jsxDEV("div",{className:"flex flex-col gap-4",children:[x.jsxDEV(Gt,{label:"CPF",children:[x.jsxDEV("input",{className:Qi,value:ya.cpf(n),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),x.jsxDEV("p",{className:"text-xs text-gray-400 mt-1",children:x.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),x.jsxDEV(Gt,{label:"Nome completo",error:d.name,children:x.jsxDEV("input",{className:ja(d.name),placeholder:"Ex: João da Silva",value:l.name,onChange:D=>{s({name:D.target.value}),h(N=>({...N,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),x.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[x.jsxDEV(Gt,{label:"Telefone",error:d.phone,children:x.jsxDEV("input",{className:ja(d.phone),placeholder:"(11) 99999-8888",value:l.phone,onChange:D=>{s({phone:ya.phone(D.target.value)}),h(N=>({...N,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),x.jsxDEV(Gt,{label:"Data de nascimento",error:d.birthday,children:x.jsxDEV("input",{type:"date",className:ja(d.birthday),value:l.birthday,onChange:D=>{s({birthday:D.target.value}),h(N=>({...N,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),x.jsxDEV(Gt,{label:"E-mail",error:d.email,children:x.jsxDEV("input",{type:"email",className:ja(d.email),placeholder:"joao@email.com",value:l.email,onChange:D=>{s({email:D.target.value}),h(N=>({...N,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),x.jsxDEV(Xi,{onNext:v,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 S1({postal_code:n}){const r=await fetch(`${ir("VITE_CORREIOS_API_URL")}/${n}/json/`);if(!r.ok)throw new Error("Erro ao consultar CEP");return{...await r.json(),success:!0}}const N1=({onNext:n,onBack:r})=>{const{address:l,setAddress:s,setStep:u}=lr(),[f,d]=pe.useState({}),[h,y]=pe.useState(!1),[p,S]=pe.useState(!1),v=pe.useCallback(async V=>{const E=V.replace(/\D/g,"");if(E.length===8){y(!0);try{const q=await S1({postal_code:E});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:",V)}finally{y(!1)}}},[s]),D=()=>{const V={};return/^\d{5}-\d{3}$/.test(l.postalcode)||(V.postalcode="CEP inválido."),l.number.trim()||(V.number="Número obrigatório."),d(V),Object.keys(V).length===0},N=async()=>{if(D()){S(!0);try{u(ys.GenderResponsibility),n()}catch{console.log("An error occurred while submitting address form.")}finally{S(!1)}}};return x.jsxDEV("div",{className:"flex flex-col gap-4",children:[x.jsxDEV(Gt,{label:"CEP",error:f.postalcode,children:x.jsxDEV("div",{className:"relative",children:[x.jsxDEV("input",{className:ja(f.postalcode),placeholder:"00000-000",value:l.postalcode,onChange:V=>{const E=ya.cep(V.target.value);s({postalcode:E}),d(q=>({...q,postalcode:void 0})),E.replace(/\D/g,"").length===8&&v(E)}},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAddressForm.tsx",lineNumber:87,columnNumber:11},void 0),h&&x.jsxDEV("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:x.jsxDEV("svg",{className:"h-4 w-4 animate-spin text-blue-500",viewBox:"0 0 24 24",fill:"none",children:[x.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),x.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),x.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[x.jsxDEV(Gt,{label:"Rua",children:x.jsxDEV("input",{className:Qi,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),x.jsxDEV(Gt,{label:"Bairro",children:x.jsxDEV("input",{className:Qi,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),x.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[x.jsxDEV(Gt,{label:"Cidade",children:x.jsxDEV("input",{className:Qi,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),x.jsxDEV(Gt,{label:"Estado",children:x.jsxDEV("input",{className:Qi,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),x.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[x.jsxDEV(Gt,{label:"Número",error:f.number,children:x.jsxDEV("input",{className:ja(f.number),placeholder:"Ex: 100",value:l.number,onChange:V=>{s({number:V.target.value}),d(E=>({...E,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),x.jsxDEV(Gt,{label:"Complemento",children:x.jsxDEV("input",{className:ja(),placeholder:"Apto, bloco...",value:l.complement,onChange:V=>s({complement:V.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),x.jsxDEV(Xi,{onNext:N,onBack:r,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)},_1=({onNext:n,onBack:r})=>{const{genderResponsibility:l,setGenderResponsibility:s,setStep:u}=lr(),[f,d]=pe.useState({}),[h,y]=pe.useState(!1),p=()=>{const D={};return l.gender||(D.gender="Selecione o gênero."),l.patient===null&&(D.patient="Informe se é o paciente."),d(D),Object.keys(D).length===0},S=async()=>{if(p()){y(!0);try{u(ys.Doctor),n()}catch{console.error("An error occurred while submitting gender responsibility data.")}finally{y(!1)}}},v=[{value:"M",label:"Masculino"},{value:"F",label:"Feminino"},{value:"O",label:"Outro"}];return x.jsxDEV("div",{className:"flex flex-col gap-5",children:[x.jsxDEV("div",{children:[x.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),x.jsxDEV("div",{className:"flex gap-2",children:v.map(D=>x.jsxDEV("button",{type:"button",onClick:()=>{s({gender:D.value}),d(N=>({...N,gender:void 0}))},className:ot("flex-1 py-2.5 cursor-pointer px-2.5 rounded-lg border text-sm font-medium transition-all",l.gender===D.value?"border-(--pbm-primary) bg-(--pbm-primary) text-white":"border-gray-200 bg-gray-50 text-gray-600 hover:border-(--pbm-primary)"),children:D.label},D.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&&x.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),x.jsxDEV("div",{children:[x.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),x.jsxDEV("div",{className:"flex gap-2",children:[{label:"Sim, sou o paciente",value:!0},{label:"Não, sou responsável",value:!1}].map(D=>x.jsxDEV("button",{type:"button",onClick:()=>{s({patient:D.value}),d(N=>({...N,patient:void 0}))},className:ot("flex-1 py-2.5 px-2.5 text-nowrap cursor-pointer rounded-lg border text-sm font-medium transition-all",l.patient===D.value?"border-(--pbm-primary) bg-(--pbm-primary) text-white":"border-gray-200 bg-gray-50 text-gray-600 hover:border-(--pbm-primary)"),children:D.label},String(D.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&&x.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),x.jsxDEV(Xi,{onNext:S,onBack:r,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)},C1=["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"],E1=({onNext:n,onBack:r})=>{const{doctor:l,setDoctor:s,setStep:u}=lr(),[f,d]=pe.useState({}),[h,y]=pe.useState(!1),p=()=>{const v={};return l.typeCredential||(v.typeCredential="Tipo de credencial obrigatório."),l.register.trim()||(v.register="Número do registro obrigatório."),l.state||(v.state="Estado obrigatório."),l.doctorName.trim()||(v.doctorName="Nome do médico obrigatório."),d(v),Object.keys(v).length===0},S=async()=>{if(p()){y(!0);try{u(ys.Acceptances),n()}catch{console.error("An error occurred while submitting doctor data.")}finally{y(!1)}}};return x.jsxDEV("div",{className:"flex flex-col gap-4",children:[x.jsxDEV("div",{className:"grid grid-cols-3 gap-3",children:[x.jsxDEV(Gt,{label:"Tipo credencial",error:f.typeCredential,children:x.jsxDEV("select",{className:ja(f.typeCredential),value:l.typeCredential,onChange:v=>{s({typeCredential:v.target.value}),d(D=>({...D,typeCredential:void 0}))},children:[x.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),x.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),x.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),x.jsxDEV(Gt,{label:"Estado (UF)",error:f.state,children:x.jsxDEV("select",{className:ja(f.state),value:l.state,onChange:v=>{s({state:v.target.value}),d(D=>({...D,state:void 0}))},children:[x.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),C1.map(v=>x.jsxDEV("option",{value:v,children:v},v,!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),x.jsxDEV(Gt,{label:"Nº registro",error:f.register,children:x.jsxDEV("div",{className:"relative",children:x.jsxDEV("input",{className:ja(f.register),placeholder:"Ex: 123456",value:l.register,onChange:v=>{s({register:v.target.value.replace(/\D/g,"")}),d(D=>({...D,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),x.jsxDEV(Gt,{label:"Nome do médico",error:f.doctorName,children:[x.jsxDEV("div",{className:"relative",children:x.jsxDEV("input",{className:ja(f.doctorName),placeholder:"Nome Completo do Profissional",value:l.doctorName,onChange:v=>{s({doctorName:v.target.value}),d(D=>({...D,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),x.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),x.jsxDEV(Xi,{onNext:S,onBack:r,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)},Ki=({label:n,checked:r,onChange:l,required:s,error:u})=>x.jsxDEV("label",{className:ot("flex items-start gap-3 cursor-pointer group p-3 rounded-lg border transition-all",r?"border-emerald-200 bg-emerald-50/60":"border-zinc-100 hover:border-zinc-200 bg-zinc-50/40",u?"border-red-300 bg-red-50/40":""),children:[x.jsxDEV("div",{className:ot("mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded border transition-all",r?"border-(--pbm-primary) bg-(--pbm-primary)":"border-zinc-300 bg-white"),children:r&&x.jsxDEV("svg",{className:"h-2.5 w-2.5 text-white",viewBox:"0 0 10 8",fill:"none",children:x.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),x.jsxDEV("span",{className:"text-sm text-zinc-700 leading-snug",children:[n,s&&x.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),x.jsxDEV("input",{type:"checkbox",className:"sr-only",checked:r,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),w1=async({product:n,consumer:r,healthProfessional:l})=>{const s=rt.get("tenant_id");if(!s)throw new Error(`No configuration found for tenant: ${s}`);if(!r)throw new Error("Consumer information is required");if(!l)throw new Error("Health professional information is required");if(!n)throw new Error("Product information is required");try{const f=await(await fetch(`${ir("VITE_API_URL")}/api/discount.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${rt.get("pbm-token")}`},body:JSON.stringify({tenant_id:s,product:n,table_id:rt.get("current-table-id"),local_hour:rt.get("current-local-hour"),consumer:r,healthProfessional:l})})).json();if(!f.success)throw new Error("PBMLOG: Enable Discount Failed!");return rt.set("current-central-number",f.product[0].centralNumber.toString(),{secure:!0,sameSite:"Strict",expires:1}),rt.set("current-term-code",f.product[0].activationFields.acceptLgpd.termCode.value.toString(),{secure:!0,sameSite:"Strict",expires:1}),f}catch(u){return console.error("Error during enable discount:",u),{success:!1,error:"Authorization failed"}}},D1=async({product:n,consumer:r,healthProfessional:l})=>{const s=rt.get("tenant_id");if(!s)throw new Error(`No configuration found for tenant: ${s}`);if(!r)throw new Error("Consumer information is required");if(!l)throw new Error("Health professional information is required");if(!n)throw new Error("Product information is required");try{const f=await(await fetch(`${ir("VITE_API_URL")}/api/activate.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${rt.get("pbm-token")}`},body:JSON.stringify({tenant_id:s,product:n,table_id:rt.get("current-table-id"),local_hour:rt.get("current-local-hour"),central_number:rt.get("current-central-number"),consumer:r,healthProfessional:l,acceptLgpd:{evidenceType:"SITE",evidence:"VSTOSITE",termCode:rt.get("current-term-code")}})})).json();if(!f.success)throw new Error("PBMLOG: Activate Failed!");return f}catch(u){return console.error("Error during activate:",u),{success:!1,error:"Authorization failed"}}},A1=({onBack:n,onDone:r,securityNumber:l})=>{const{acceptances:s,setAcceptances:u}=lr(),{targetProduct:f,cardID:d}=Kt(),[h,y]=pe.useState({}),[p,S]=pe.useState(!1),v=lr.getState(),D=()=>{const E={};return s.acceptsPrivacyTermsLGPD||(E.lgpd="É obrigatório aceitar os termos de privacidade (LGPD)."),y(E),Object.keys(E).length===0},N=async E=>{try{const q=await D1(E);console.log("Activate response:",q)}catch(q){console.error("Error during consumer activation:",q)}},V=async()=>{if(!D())return;if(S(!0),!f){console.error("No target product found in PBM store."),S(!1);return}const E=v.personalData.phone.replace(/\D/g,""),q=E.slice(0,2),P=E.slice(2),K={consumer:{holderId:l,cardId:d||"",name:v.personalData.name,email:v.personalData.email,birthdate:v.personalData.birthday,genre:v.genderResponsibility.gender,postalCode:v.address.postalcode.replace(/\D/g,""),stateCode:v.address.uf||"",cityName:v.address.city||"",cityRegion:v.address.neighborhood||"",addressType:"casa",streetAddress:v.address.street||"",addressNumber:v.address.number||"",addressAdditionalInformation:v.address.complement||"",DDDcellPhone:q,cellphone:P,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:v.doctor.register,stateCode:v.doctor.state,type:v.doctor.typeCredential,name:v.doctor.doctorName},product:{id:f.id,ean:f.ean,requestedQuantity:f.requestedQuantity,listPrice:f.listPrice,netPrice:f.netPrice}};try{const ae=await w1(K);ae.success?await N(K):console.error("Failed to enable discount:",ae),r()}catch{console.error("An error occurred while submitting acceptances data.")}finally{S(!1)}};return x.jsxDEV("div",{className:"flex flex-col gap-3",children:[x.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),x.jsxDEV(Ki,{label:"Aceito receber contato por telefone",checked:s.acceptPhone,onChange:E=>u({acceptPhone:E})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:123,columnNumber:7},void 0),x.jsxDEV(Ki,{label:"Aceito receber SMS",checked:s.acceptsSms,onChange:E=>u({acceptsSms:E})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:128,columnNumber:7},void 0),x.jsxDEV(Ki,{label:"Aceito receber e-mails",checked:s.acceptsEmail,onChange:E=>u({acceptsEmail:E})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:133,columnNumber:7},void 0),x.jsxDEV(Ki,{label:"Aceito receber correspondências por correio",checked:s.acceptsMail,onChange:E=>u({acceptsMail:E})},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/StepAcceptancesForm.tsx",lineNumber:138,columnNumber:7},void 0),x.jsxDEV("div",{className:"mt-1",children:[x.jsxDEV(Ki,{label:"Li e aceito os Termos de Privacidade (LGPD)",checked:s.acceptsPrivacyTermsLGPD,onChange:E=>{u({acceptsPrivacyTermsLGPD:E}),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&&x.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),x.jsxDEV(Xi,{onNext:V,onBack:n,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)},uh=["Dados Pessoais","Endereço","Perfil","Médico","Aceites"],T1=({current:n})=>x.jsxDEV("div",{className:"flex items-center w-full justify-center mb-6",children:uh.map((r,l)=>{const s=l<n,u=l===n;return x.jsxDEV("div",{className:"flex items-center w-full min-w-0 justify-center relative",children:[x.jsxDEV("div",{className:"flex flex-col items-center justify-center gap-1 shrink-0 z-10",children:[x.jsxDEV("div",{className:ot("flex h-7 w-7 items-center justify-center rounded-full text-xs font-semibold transition-all",s?"bg-emerald-600 text-white":u?"bg-(--pbm-primary) text-white ring-4 ring-(--pbm-primary)/15":"bg-zinc-100 text-zinc-400"),children:s?x.jsxDEV("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 12 10",fill:"none",children:x.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),x.jsxDEV("span",{className:ot("text-[10px] font-medium whitespace-nowrap hidden sm:block",u?"text-(--pbm-primary)":s?"text-emerald-600":"text-zinc-400"),children:r},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<uh.length-1&&x.jsxDEV("div",{className:ot("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),O1=({onClose:n})=>x.jsxDEV("div",{className:"flex flex-col items-center gap-4 py-4 text-center",children:[x.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-green-100",children:x.jsxDEV("svg",{className:"h-8 w-8 text-green-500",viewBox:"0 0 24 24",fill:"none",children:x.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),x.jsxDEV("div",{children:[x.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),x.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),x.jsxDEV("button",{onClick:n,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),R1=({ID:n})=>{const{modal:r,setModal:l}=rr(),{securityNumber:s}=Kt(),{resetForm:u,step:f,setStep:d}=lr(),[h,y]=pe.useState(!1),p=()=>{l({id:"",open:!1}),setTimeout(()=>{d(0),y(!1),u()},300)},S=()=>d(f+1),v=()=>d(f-1),D=s.replace(/\D/g,""),N=[x.jsxDEV(x1,{securityNumber:D,onNext:S},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:36,columnNumber:5},void 0),x.jsxDEV(N1,{securityNumber:D,onNext:S,onBack:v},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:37,columnNumber:5},void 0),x.jsxDEV(_1,{securityNumber:D,onNext:S,onBack:v},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:42,columnNumber:5},void 0),x.jsxDEV(E1,{securityNumber:D,onNext:S,onBack:v},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:47,columnNumber:5},void 0),x.jsxDEV(A1,{securityNumber:D,onBack:v,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 x.jsxDEV("main",{className:ot("fixed inset-0 flex items-center justify-end z-50 flex-col transition-all shadow bg-black/40",{"opacity-100 pointer-events-auto":r.id===n&&r.open,"opacity-0 pointer-events-none":r.id!==n||!r.open}),children:[x.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),x.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:[x.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[x.jsxDEV(Hr,{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),x.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:x.jsxDEV("svg",{className:"h-4 w-4",viewBox:"0 0 14 14",fill:"none",children:x.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&&x.jsxDEV(T1,{current:f},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:91,columnNumber:19},void 0),h?x.jsxDEV(O1,{onClose:p},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/Modals/CustomerNotRegistered/index.tsx",lineNumber:93,columnNumber:17},void 0):N[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)},M1=n=>n===void 0?"":"?"+Object.keys(n).map(r=>r+"="+n[r]).join("&");function z1(n){const{setState:r}=Kt();return x.jsxDEV("a",{...n,target:n.target||"_self",href:typeof n.href=="string"?n.href:n.href.pathname+M1(n.href.param),className:ot("w-3xs cursor-pointer h-10 rounded-lg text-white text-sm font-semibold transition-colors flex items-center justify-center",n.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:()=>r("isEmpty"),children:n.children},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/components/UI/Link/index.tsx",lineNumber:18,columnNumber:5},this)}const k1=({ID:n})=>{const{customLoginUrl:r}=Kt(),{modal:l,setModal:s}=rr();return x.jsxDEV("main",{className:ot("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===n&&l.open,"opacity-0 pointer-events-none":l.id!=n||!l.open}),children:[x.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),x.jsxDEV("section",{className:"z-10 bg-white gap-2 flex-col items-center-safe justify-center-safe p-8 rounded-xl",children:[x.jsxDEV(Hr,{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),x.jsxDEV(gs,{className:"mb-2",textAlign:"center",children:["Para aproveitar os benefícios é necessário realizar o"," ",x.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 ",x.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),x.jsxDEV("section",{className:"flex items-center-safe justify-center-safe gap-4",children:[x.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),x.jsxDEV(z1,{href:r||"/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 ch(n){var r,l,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(r=0;r<u;r++)n[r]&&(l=ch(n[r]))&&(s&&(s+=" "),s+=l)}else for(l in n)n[l]&&(s&&(s+=" "),s+=l);return s}function fh(){for(var n,r,l=0,s="",u=arguments.length;l<u;l++)(n=arguments[l])&&(r=ch(n))&&(s&&(s+=" "),s+=r);return s}function j1(n,r,l=void 0){const s={};for(const u in n){const f=n[u];let d="",h=!0;for(let y=0;y<f.length;y+=1){const p=f[y];p&&(d+=(h===!0?"":" ")+r(p),h=!1,l&&l[p]&&(d+=" "+l[p]))}s[u]=d}return s}function sr(n,...r){const l=new URL(`https://mui.com/production-error/?code=${n}`);return r.forEach(s=>l.searchParams.append("args[]",s)),`Minified MUI error #${n}; visit ${l} for the full message.`}const V1="$$material";function Zu(){return Zu=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var s in l)({}).hasOwnProperty.call(l,s)&&(n[s]=l[s])}return n},Zu.apply(null,arguments)}function B1(n){if(n.sheet)return n.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===n)return document.styleSheets[r]}function U1(n){var r=document.createElement("style");return r.setAttribute("data-emotion",n.key),n.nonce!==void 0&&r.setAttribute("nonce",n.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var L1=(function(){function n(l){var s=this;this._insertTag=function(u){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(u,f),s.tags.push(u)},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 r=n.prototype;return r.hydrate=function(s){s.forEach(this._insertTag)},r.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(U1(this));var u=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=B1(u);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 u.appendChild(document.createTextNode(s));this.ctr++},r.flush=function(){this.tags.forEach(function(s){var u;return(u=s.parentNode)==null?void 0:u.removeChild(s)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},n})(),Zt="-ms-",bs="-moz-",Ze="-webkit-",Yu="comm",$u="rule",Fu="decl",H1="@import",dh="@keyframes",q1="@layer",G1=Math.abs,vs=String.fromCharCode,Z1=Object.assign;function Y1(n,r){return zt(n,0)^45?(((r<<2^zt(n,0))<<2^zt(n,1))<<2^zt(n,2))<<2^zt(n,3):0}function mh(n){return n.trim()}function $1(n,r){return(n=r.exec(n))?n[0]:n}function Ye(n,r,l){return n.replace(r,l)}function Qu(n,r){return n.indexOf(r)}function zt(n,r){return n.charCodeAt(r)|0}function Ji(n,r,l){return n.slice(r,l)}function qa(n){return n.length}function Xu(n){return n.length}function xs(n,r){return r.push(n),n}function F1(n,r){return n.map(r).join("")}var Ss=1,qr=1,hh=0,It=0,_t=0,Gr="";function Ns(n,r,l,s,u,f,d){return{value:n,root:r,parent:l,type:s,props:u,children:f,line:Ss,column:qr,length:d,return:""}}function Ii(n,r){return Z1(Ns("",null,null,"",null,null,0),n,{length:-n.length},r)}function Q1(){return _t}function X1(){return _t=It>0?zt(Gr,--It):0,qr--,_t===10&&(qr=1,Ss--),_t}function la(){return _t=It<hh?zt(Gr,It++):0,qr++,_t===10&&(qr=1,Ss++),_t}function Ga(){return zt(Gr,It)}function _s(){return It}function Pi(n,r){return Ji(Gr,n,r)}function Wi(n){switch(n){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 ph(n){return Ss=qr=1,hh=qa(Gr=n),It=0,[]}function gh(n){return Gr="",n}function Cs(n){return mh(Pi(It-1,Ku(n===91?n+2:n===40?n+1:n)))}function K1(n){for(;(_t=Ga())&&_t<33;)la();return Wi(n)>2||Wi(_t)>3?"":" "}function J1(n,r){for(;--r&&la()&&!(_t<48||_t>102||_t>57&&_t<65||_t>70&&_t<97););return Pi(n,_s()+(r<6&&Ga()==32&&la()==32))}function Ku(n){for(;la();)switch(_t){case n:return It;case 34:case 39:n!==34&&n!==39&&Ku(_t);break;case 40:n===41&&Ku(n);break;case 92:la();break}return It}function I1(n,r){for(;la()&&n+_t!==57;)if(n+_t===84&&Ga()===47)break;return"/*"+Pi(r,It-1)+"*"+vs(n===47?n:la())}function P1(n){for(;!Wi(Ga());)la();return Pi(n,It)}function W1(n){return gh(Es("",null,null,null,[""],n=ph(n),0,[0],n))}function Es(n,r,l,s,u,f,d,h,y){for(var p=0,S=0,v=d,D=0,N=0,V=0,E=1,q=1,P=1,K=0,ae="",ee=u,U=f,Q=s,J=ae;q;)switch(V=K,K=la()){case 40:if(V!=108&&zt(J,v-1)==58){Qu(J+=Ye(Cs(K),"&","&\f"),"&\f")!=-1&&(P=-1);break}case 34:case 39:case 91:J+=Cs(K);break;case 9:case 10:case 13:case 32:J+=K1(V);break;case 92:J+=J1(_s()-1,7);continue;case 47:switch(Ga()){case 42:case 47:xs(ex(I1(la(),_s()),r,l),y);break;default:J+="/"}break;case 123*E:h[p++]=qa(J)*P;case 125*E:case 59:case 0:switch(K){case 0:case 125:q=0;case 59+S:P==-1&&(J=Ye(J,/\f/g,"")),N>0&&qa(J)-v&&xs(N>32?bh(J+";",s,l,v-1):bh(Ye(J," ","")+";",s,l,v-2),y);break;case 59:J+=";";default:if(xs(Q=yh(J,r,l,p,S,u,h,ae,ee=[],U=[],v),f),K===123)if(S===0)Es(J,r,Q,Q,ee,f,v,h,U);else switch(D===99&&zt(J,3)===110?100:D){case 100:case 108:case 109:case 115:Es(n,Q,Q,s&&xs(yh(n,Q,Q,0,0,u,h,ae,u,ee=[],v),U),u,U,v,h,s?ee:U);break;default:Es(J,Q,Q,Q,[""],U,0,h,U)}}p=S=N=0,E=P=1,ae=J="",v=d;break;case 58:v=1+qa(J),N=V;default:if(E<1){if(K==123)--E;else if(K==125&&E++==0&&X1()==125)continue}switch(J+=vs(K),K*E){case 38:P=S>0?1:(J+="\f",-1);break;case 44:h[p++]=(qa(J)-1)*P,P=1;break;case 64:Ga()===45&&(J+=Cs(la())),D=Ga(),S=v=qa(ae=J+=P1(_s())),K++;break;case 45:V===45&&qa(J)==2&&(E=0)}}return f}function yh(n,r,l,s,u,f,d,h,y,p,S){for(var v=u-1,D=u===0?f:[""],N=Xu(D),V=0,E=0,q=0;V<s;++V)for(var P=0,K=Ji(n,v+1,v=G1(E=d[V])),ae=n;P<N;++P)(ae=mh(E>0?D[P]+" "+K:Ye(K,/&\f/g,D[P])))&&(y[q++]=ae);return Ns(n,r,l,u===0?$u:h,y,p,S)}function ex(n,r,l){return Ns(n,r,l,Yu,vs(Q1()),Ji(n,2,-2),0)}function bh(n,r,l,s){return Ns(n,r,l,Fu,Ji(n,0,s),Ji(n,s+1,-1),s)}function Zr(n,r){for(var l="",s=Xu(n),u=0;u<s;u++)l+=r(n[u],u,n,r)||"";return l}function tx(n,r,l,s){switch(n.type){case q1:if(n.children.length)break;case H1:case Fu:return n.return=n.return||n.value;case Yu:return"";case dh:return n.return=n.value+"{"+Zr(n.children,s)+"}";case $u:n.value=n.props.join(",")}return qa(l=Zr(n.children,s))?n.return=n.value+"{"+l+"}":""}function ax(n){var r=Xu(n);return function(l,s,u,f){for(var d="",h=0;h<r;h++)d+=n[h](l,s,u,f)||"";return d}}function vh(n){var r=Object.create(null);return function(l){return r[l]===void 0&&(r[l]=n(l)),r[l]}}var nx=function(r,l,s){for(var u=0,f=0;u=f,f=Ga(),u===38&&f===12&&(l[s]=1),!Wi(f);)la();return Pi(r,It)},rx=function(r,l){var s=-1,u=44;do switch(Wi(u)){case 0:u===38&&Ga()===12&&(l[s]=1),r[s]+=nx(It-1,l,s);break;case 2:r[s]+=Cs(u);break;case 4:if(u===44){r[++s]=Ga()===58?"&\f":"",l[s]=r[s].length;break}default:r[s]+=vs(u)}while(u=la());return r},ix=function(r,l){return gh(rx(ph(r),l))},xh=new WeakMap,lx=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var l=r.value,s=r.parent,u=r.column===s.column&&r.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(r.props.length===1&&l.charCodeAt(0)!==58&&!xh.get(s))&&!u){xh.set(r,!0);for(var f=[],d=ix(l,f),h=s.props,y=0,p=0;y<d.length;y++)for(var S=0;S<h.length;S++,p++)r.props[p]=f[y]?d[y].replace(/&\f/g,h[S]):h[S]+" "+d[y]}}},sx=function(r){if(r.type==="decl"){var l=r.value;l.charCodeAt(0)===108&&l.charCodeAt(2)===98&&(r.return="",r.value="")}},ox="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",ux=function(r){return r.type==="comm"&&r.children.indexOf(ox)>-1},cx=function(r){return function(l,s,u){if(!(l.type!=="rule"||r.compat)){var f=l.value.match(/(:first|:nth|:nth-last)-child/g);if(f){for(var d=!!l.parent,h=d?l.parent.children:u,y=h.length-1;y>=0;y--){var p=h[y];if(p.line<l.line)break;if(p.column<l.column){if(ux(p))return;break}}f.forEach(function(S){console.error('The pseudo class "'+S+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+S.split("-child")[0]+'-of-type".')})}}}},Sh=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},fx=function(r,l){for(var s=r-1;s>=0;s--)if(!Sh(l[s]))return!0;return!1},Nh=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},dx=function(r,l,s){Sh(r)&&(r.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."),Nh(r)):fx(l,s)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Nh(r)))};function _h(n,r){switch(Y1(n,r)){case 5103:return Ze+"print-"+n+n;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 Ze+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return Ze+n+bs+n+Zt+n+n;case 6828:case 4268:return Ze+n+Zt+n+n;case 6165:return Ze+n+Zt+"flex-"+n+n;case 5187:return Ze+n+Ye(n,/(\w+).+(:[^]+)/,Ze+"box-$1$2"+Zt+"flex-$1$2")+n;case 5443:return Ze+n+Zt+"flex-item-"+Ye(n,/flex-|-self/,"")+n;case 4675:return Ze+n+Zt+"flex-line-pack"+Ye(n,/align-content|flex-|-self/,"")+n;case 5548:return Ze+n+Zt+Ye(n,"shrink","negative")+n;case 5292:return Ze+n+Zt+Ye(n,"basis","preferred-size")+n;case 6060:return Ze+"box-"+Ye(n,"-grow","")+Ze+n+Zt+Ye(n,"grow","positive")+n;case 4554:return Ze+Ye(n,/([^-])(transform)/g,"$1"+Ze+"$2")+n;case 6187:return Ye(Ye(Ye(n,/(zoom-|grab)/,Ze+"$1"),/(image-set)/,Ze+"$1"),n,"")+n;case 5495:case 3959:return Ye(n,/(image-set\([^]*)/,Ze+"$1$`$1");case 4968:return Ye(Ye(n,/(.+:)(flex-)?(.*)/,Ze+"box-pack:$3"+Zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ze+n+n;case 4095:case 3583:case 4068:case 2532:return Ye(n,/(.+)-inline(.+)/,Ze+"$1$2")+n;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(qa(n)-1-r>6)switch(zt(n,r+1)){case 109:if(zt(n,r+4)!==45)break;case 102:return Ye(n,/(.+:)(.+)-([^]+)/,"$1"+Ze+"$2-$3$1"+bs+(zt(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Qu(n,"stretch")?_h(Ye(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(zt(n,r+1)!==115)break;case 6444:switch(zt(n,qa(n)-3-(~Qu(n,"!important")&&10))){case 107:return Ye(n,":",":"+Ze)+n;case 101:return Ye(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ze+(zt(n,14)===45?"inline-":"")+"box$3$1"+Ze+"$2$3$1"+Zt+"$2box$3")+n}break;case 5936:switch(zt(n,r+11)){case 114:return Ze+n+Zt+Ye(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return Ze+n+Zt+Ye(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return Ze+n+Zt+Ye(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return Ze+n+Zt+n+n}return n}var mx=function(r,l,s,u){if(r.length>-1&&!r.return)switch(r.type){case Fu:r.return=_h(r.value,r.length);break;case dh:return Zr([Ii(r,{value:Ye(r.value,"@","@"+Ze)})],u);case $u:if(r.length)return F1(r.props,function(f){switch($1(f,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zr([Ii(r,{props:[Ye(f,/:(read-\w+)/,":"+bs+"$1")]})],u);case"::placeholder":return Zr([Ii(r,{props:[Ye(f,/:(plac\w+)/,":"+Ze+"input-$1")]}),Ii(r,{props:[Ye(f,/:(plac\w+)/,":"+bs+"$1")]}),Ii(r,{props:[Ye(f,/:(plac\w+)/,Zt+"input-$1")]})],u)}return""})}},hx=[mx],Ju;{var px=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Ju=function(r){var l=r.match(px);if(l)return l[l.length-1]}}var gx=function(r){var l=r.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(E){var q=E.getAttribute("data-emotion");q.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var u=r.stylisPlugins||hx;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=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+l+' "]'),function(E){for(var q=E.getAttribute("data-emotion").split(" "),P=1;P<q.length;P++)f[q[P]]=!0;h.push(E)});var y,p=[lx,sx];p.push(cx({get compat(){return V.compat}}),dx);{var S,v=[tx,function(E){E.root||(E.return?S.insert(E.return):E.value&&E.type!==Yu&&S.insert(E.value+"{}"))}],D=ax(p.concat(u,v)),N=function(q){return Zr(W1(q),D)};y=function(q,P,K,ae){if(S=K,Ju){var ee=Ju(P.styles);ee&&(S={insert:function(Q){K.insert(Q+ee)}})}N(q?q+"{"+P.styles+"}":P.styles),ae&&(V.inserted[P.name]=!0)}}var V={key:l,sheet:new L1({key:l,container:d,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:f,registered:{},insert:y};return V.sheet.hydrate(h),V},Iu={exports:{}},Fe={};/** @license React v16.13.1
|
|
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
|
|
86
358
|
* react-is.production.min.js
|
|
87
359
|
*
|
|
88
360
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
361
|
*
|
|
90
362
|
* This source code is licensed under the MIT license found in the
|
|
91
363
|
* LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/var
|
|
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.
|
|
93
393
|
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';".
|
|
94
394
|
You can read more about this here:
|
|
95
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
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(`
|
|
96
396
|
`)+`
|
|
97
397
|
|
|
98
398
|
You should wrap it with \`css\` like this:
|
|
99
399
|
|
|
100
|
-
css\``+
|
|
101
|
-
`),
|
|
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.
|
|
102
402
|
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';".
|
|
103
403
|
You can read more about this here:
|
|
104
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
105
|
-
You may have forgotten to import it.`);var
|
|
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={};/**
|
|
106
406
|
* @license React
|
|
107
407
|
* react-jsx-runtime.production.js
|
|
108
408
|
*
|
|
@@ -110,7 +410,27 @@ You may have forgotten to import it.`);var s=r.__emotion_real===r,u=s&&r.__emoti
|
|
|
110
410
|
*
|
|
111
411
|
* This source code is licensed under the MIT license found in the
|
|
112
412
|
* LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/var
|
|
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={};/**
|
|
114
434
|
* @license React
|
|
115
435
|
* react-is.production.js
|
|
116
436
|
*
|
|
@@ -118,14 +438,46 @@ You may have forgotten to import it.`);var s=r.__emotion_real===r,u=s&&r.__emoti
|
|
|
118
438
|
*
|
|
119
439
|
* This source code is licensed under the MIT license found in the
|
|
120
440
|
* LICENSE file in the root directory of this source tree.
|
|
121
|
-
*/var Jh;function lS(){if(Jh)return Pe;Jh=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=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"),S=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),D=Symbol.for("react.view_transition"),N=Symbol.for("react.client.reference");function V(E){if(typeof E=="object"&&E!==null){var q=E.$$typeof;switch(q){case n:switch(E=E.type,E){case l:case u:case s:case y:case p:case D:return E;default:switch(E=E&&E.$$typeof,E){case d:case h:case v:case S:return E;case f:return E;default:return q}}case r:return q}}}return Pe.ContextConsumer=f,Pe.ContextProvider=d,Pe.Element=n,Pe.ForwardRef=h,Pe.Fragment=l,Pe.Lazy=v,Pe.Memo=S,Pe.Portal=r,Pe.Profiler=u,Pe.StrictMode=s,Pe.Suspense=y,Pe.SuspenseList=p,Pe.isContextConsumer=function(E){return V(E)===f},Pe.isContextProvider=function(E){return V(E)===d},Pe.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===n},Pe.isForwardRef=function(E){return V(E)===h},Pe.isFragment=function(E){return V(E)===l},Pe.isLazy=function(E){return V(E)===v},Pe.isMemo=function(E){return V(E)===S},Pe.isPortal=function(E){return V(E)===r},Pe.isProfiler=function(E){return V(E)===u},Pe.isStrictMode=function(E){return V(E)===s},Pe.isSuspense=function(E){return V(E)===y},Pe.isSuspenseList=function(E){return V(E)===p},Pe.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===l||E===u||E===s||E===y||E===p||typeof E=="object"&&E!==null&&(E.$$typeof===v||E.$$typeof===S||E.$$typeof===d||E.$$typeof===f||E.$$typeof===h||E.$$typeof===N||E.getModuleId!==void 0)},Pe.typeOf=V,Pe}var Ih;function sS(){return Ih||(Ih=1,cc.exports=lS()),cc.exports}var Ph=sS();function en(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function Wh(n){if(pe.isValidElement(n)||Ph.isValidElementType(n)||!en(n))return n;const r={};return Object.keys(n).forEach(l=>{r[l]=Wh(n[l])}),r}function sa(n,r,l={clone:!0}){const s=l.clone?{...n}:n;return en(n)&&en(r)&&Object.keys(r).forEach(u=>{pe.isValidElement(r[u])||Ph.isValidElementType(r[u])?s[u]=r[u]:en(r[u])&&Object.prototype.hasOwnProperty.call(n,u)&&en(n[u])?s[u]=sa(n[u],r[u],l):l.clone?s[u]=en(r[u])?Wh(r[u]):r[u]:s[u]=r[u]}),s}const oS=n=>{const r=Object.keys(n).map(l=>({key:l,val:n[l]}))||[];return r.sort((l,s)=>l.val-s.val),r.reduce((l,s)=>({...l,[s.key]:s.val}),{})};function uS(n){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:l="px",step:s=5,...u}=n,f=oS(r),d=Object.keys(f);function h(D){return`@media (min-width:${typeof r[D]=="number"?r[D]:D}${l})`}function y(D){return`@media (max-width:${(typeof r[D]=="number"?r[D]:D)-s/100}${l})`}function p(D,N){const V=d.indexOf(N);return`@media (min-width:${typeof r[D]=="number"?r[D]:D}${l}) and (max-width:${(V!==-1&&typeof r[d[V]]=="number"?r[d[V]]:N)-s/100}${l})`}function S(D){return d.indexOf(D)+1<d.length?p(D,d[d.indexOf(D)+1]):h(D)}function v(D){const N=d.indexOf(D);return N===0?h(d[1]):N===d.length-1?y(d[N]):p(D,d[d.indexOf(D)+1]).replace("@media","@media not all and")}return{keys:d,values:f,up:h,down:y,between:p,only:S,not:v,unit:l,...u}}function ep(n,r){if(!n.containerQueries)return r;const l=Object.keys(r).filter(s=>s.startsWith("@container")).sort((s,u)=>{var d,h;const f=/min-width:\s*([0-9.]+)/;return+(((d=s.match(f))==null?void 0:d[1])||0)-+(((h=u.match(f))==null?void 0:h[1])||0)});return l.length?l.reduce((s,u)=>{const f=r[u];return delete s[u],s[u]=f,s},{...r}):r}function cS(n,r){return r==="@"||r.startsWith("@")&&(n.some(l=>r.startsWith(`@${l}`))||!!r.match(/^@\d/))}function fS(n,r){const l=r.match(/^@([^/]+)?\/?(.+)?$/);if(!l)return null;const[,s,u]=l,f=Number.isNaN(+s)?s||0:+s;return n.containerQueries(u).up(f)}function dS(n){const r=(f,d)=>f.replace("@media",d?`@container ${d}`:"@container");function l(f,d){f.up=(...h)=>r(n.breakpoints.up(...h),d),f.down=(...h)=>r(n.breakpoints.down(...h),d),f.between=(...h)=>r(n.breakpoints.between(...h),d),f.only=(...h)=>r(n.breakpoints.only(...h),d),f.not=(...h)=>{const y=r(n.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={},u=f=>(l(s,f),s);return l(u),{...n,containerQueries:u}}const mS={borderRadius:4};function nl(n,r){return r?sa(n,r,{clone:!1}):n}const Os={xs:0,sm:600,md:900,lg:1200,xl:1536},tp={keys:["xs","sm","md","lg","xl"],up:n=>`@media (min-width:${Os[n]}px)`},hS={containerQueries:n=>({up:r=>{let l=typeof r=="number"?r:Os[r]||r;return typeof l=="number"&&(l=`${l}px`),n?`@container ${n} (min-width:${l})`:`@container (min-width:${l})`}})};function tn(n,r,l){const s=n.theme||{};if(Array.isArray(r)){const f=s.breakpoints||tp;return r.reduce((d,h,y)=>(d[f.up(f.keys[y])]=l(r[y]),d),{})}if(typeof r=="object"){const f=s.breakpoints||tp;return Object.keys(r).reduce((d,h)=>{if(cS(f.keys,h)){const y=fS(s.containerQueries?s:hS,h);y&&(d[y]=l(r[h],h))}else if(Object.keys(f.values||Os).includes(h)){const y=f.up(h);d[y]=l(r[h],h)}else{const y=h;d[y]=r[y]}return d},{})}return l(r)}function pS(n={}){var l;return((l=n.keys)==null?void 0:l.reduce((s,u)=>{const f=n.up(u);return s[f]={},s},{}))||{}}function ap(n,r){return n.reduce((l,s)=>{const u=l[s];return(!u||Object.keys(u).length===0)&&delete l[s],l},r)}function np(n){if(typeof n!="string")throw new Error(sr(7));return n.charAt(0).toUpperCase()+n.slice(1)}function Rs(n,r,l=!0){if(!r||typeof r!="string")return null;if(n&&n.vars&&l){const s=`vars.${r}`.split(".").reduce((u,f)=>u&&u[f]?u[f]:null,n);if(s!=null)return s}return r.split(".").reduce((s,u)=>s&&s[u]!=null?s[u]:null,n)}function Ms(n,r,l,s=l){let u;return typeof n=="function"?u=n(l):Array.isArray(n)?u=n[l]||s:u=Rs(n,l)||s,r&&(u=r(u,s,n)),u}function yt(n){const{prop:r,cssProperty:l=n.prop,themeKey:s,transform:u}=n,f=d=>{if(d[r]==null)return null;const h=d[r],y=d.theme,p=Rs(y,s)||{};return tn(d,h,v=>{let D=Ms(p,u,v);return v===D&&typeof v=="string"&&(D=Ms(p,u,`${r}${v==="default"?"":np(v)}`,v)),l===!1?D:{[l]:D}})};return f.propTypes={},f.filterProps=[r],f}function gS(n){const r={};return l=>(r[l]===void 0&&(r[l]=n(l)),r[l])}const yS={m:"margin",p:"padding"},bS={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},rp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vS=gS(n=>{if(n.length>2)if(rp[n])n=rp[n];else return[n];const[r,l]=n.split(""),s=yS[r],u=bS[l]||"";return Array.isArray(u)?u.map(f=>s+f):[s+u]}),fc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],dc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...fc,...dc];function rl(n,r,l,s){const u=Rs(n,r,!0)??l;return typeof u=="number"||typeof u=="string"?f=>typeof f=="string"?f:typeof u=="string"?u.startsWith("var(")&&f===0?0:u.startsWith("var(")&&f===1?u:`calc(${f} * ${u})`:u*f:Array.isArray(u)?f=>{if(typeof f=="string")return f;const d=Math.abs(f),h=u[d];return f>=0?h:typeof h=="number"?-h:typeof h=="string"&&h.startsWith("var(")?`calc(-1 * ${h})`:`-${h}`}:typeof u=="function"?u:()=>{}}function mc(n){return rl(n,"spacing",8)}function il(n,r){return typeof r=="string"||r==null?r:n(r)}function xS(n,r){return l=>n.reduce((s,u)=>(s[u]=il(r,l),s),{})}function SS(n,r,l,s){if(!r.includes(l))return null;const u=vS(l),f=xS(u,s),d=n[l];return tn(n,d,f)}function ip(n,r){const l=mc(n.theme);return Object.keys(n).map(s=>SS(n,r,s,l)).reduce(nl,{})}function dt(n){return ip(n,fc)}dt.propTypes={},dt.filterProps=fc;function mt(n){return ip(n,dc)}mt.propTypes={},mt.filterProps=dc;function lp(n=8,r=mc({spacing:n})){if(n.mui)return n;const l=(...s)=>(s.length===0?[1]:s).map(f=>{const d=r(f);return typeof d=="number"?`${d}px`:d}).join(" ");return l.mui=!0,l}function zs(...n){const r=n.reduce((s,u)=>(u.filterProps.forEach(f=>{s[f]=u}),s),{}),l=s=>Object.keys(s).reduce((u,f)=>r[f]?nl(u,r[f](s)):u,{});return l.propTypes={},l.filterProps=n.reduce((s,u)=>s.concat(u.filterProps),[]),l}function ba(n){return typeof n!="number"?n:`${n}px solid`}function va(n,r){return yt({prop:n,themeKey:"borders",transform:r})}const NS=va("border",ba),_S=va("borderTop",ba),CS=va("borderRight",ba),ES=va("borderBottom",ba),wS=va("borderLeft",ba),DS=va("borderColor"),AS=va("borderTopColor"),TS=va("borderRightColor"),OS=va("borderBottomColor"),RS=va("borderLeftColor"),MS=va("outline",ba),zS=va("outlineColor"),ks=n=>{if(n.borderRadius!==void 0&&n.borderRadius!==null){const r=rl(n.theme,"shape.borderRadius",4),l=s=>({borderRadius:il(r,s)});return tn(n,n.borderRadius,l)}return null};ks.propTypes={},ks.filterProps=["borderRadius"],zs(NS,_S,CS,ES,wS,DS,AS,TS,OS,RS,ks,MS,zS);const js=n=>{if(n.gap!==void 0&&n.gap!==null){const r=rl(n.theme,"spacing",8),l=s=>({gap:il(r,s)});return tn(n,n.gap,l)}return null};js.propTypes={},js.filterProps=["gap"];const Vs=n=>{if(n.columnGap!==void 0&&n.columnGap!==null){const r=rl(n.theme,"spacing",8),l=s=>({columnGap:il(r,s)});return tn(n,n.columnGap,l)}return null};Vs.propTypes={},Vs.filterProps=["columnGap"];const Bs=n=>{if(n.rowGap!==void 0&&n.rowGap!==null){const r=rl(n.theme,"spacing",8),l=s=>({rowGap:il(r,s)});return tn(n,n.rowGap,l)}return null};Bs.propTypes={},Bs.filterProps=["rowGap"];const kS=yt({prop:"gridColumn"}),jS=yt({prop:"gridRow"}),VS=yt({prop:"gridAutoFlow"}),BS=yt({prop:"gridAutoColumns"}),US=yt({prop:"gridAutoRows"}),LS=yt({prop:"gridTemplateColumns"}),HS=yt({prop:"gridTemplateRows"}),qS=yt({prop:"gridTemplateAreas"}),GS=yt({prop:"gridArea"});zs(js,Vs,Bs,kS,jS,VS,BS,US,LS,HS,qS,GS);function Yr(n,r){return r==="grey"?r:n}const ZS=yt({prop:"color",themeKey:"palette",transform:Yr}),YS=yt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Yr}),$S=yt({prop:"backgroundColor",themeKey:"palette",transform:Yr});zs(ZS,YS,$S);function oa(n){return n<=1&&n!==0?`${n*100}%`:n}const FS=yt({prop:"width",transform:oa}),hc=n=>{if(n.maxWidth!==void 0&&n.maxWidth!==null){const r=l=>{var u,f,d,h,y;const s=((d=(f=(u=n.theme)==null?void 0:u.breakpoints)==null?void 0:f.values)==null?void 0:d[l])||Os[l];return s?((y=(h=n.theme)==null?void 0:h.breakpoints)==null?void 0:y.unit)!=="px"?{maxWidth:`${s}${n.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:oa(l)}};return tn(n,n.maxWidth,r)}return null};hc.filterProps=["maxWidth"];const QS=yt({prop:"minWidth",transform:oa}),XS=yt({prop:"height",transform:oa}),KS=yt({prop:"maxHeight",transform:oa}),JS=yt({prop:"minHeight",transform:oa});yt({prop:"size",cssProperty:"width",transform:oa}),yt({prop:"size",cssProperty:"height",transform:oa});const IS=yt({prop:"boxSizing"});zs(FS,hc,QS,XS,KS,JS,IS);const Us={border:{themeKey:"borders",transform:ba},borderTop:{themeKey:"borders",transform:ba},borderRight:{themeKey:"borders",transform:ba},borderBottom:{themeKey:"borders",transform:ba},borderLeft:{themeKey:"borders",transform:ba},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ba},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ks},color:{themeKey:"palette",transform:Yr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Yr},backgroundColor:{themeKey:"palette",transform:Yr},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:n=>({"@media print":{display:n}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:js},rowGap:{style:Bs},columnGap:{style:Vs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:oa},maxWidth:{style:hc},minWidth:{transform:oa},height:{transform:oa},maxHeight:{transform:oa},minHeight:{transform:oa},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 PS(...n){const r=n.reduce((s,u)=>s.concat(Object.keys(u)),[]),l=new Set(r);return n.every(s=>l.size===Object.keys(s).length)}function WS(n,r){return typeof n=="function"?n(r):n}function eN(){function n(l,s,u,f){const d={[l]:s,theme:u},h=f[l];if(!h)return{[l]:s};const{cssProperty:y=l,themeKey:p,transform:S,style:v}=h;if(s==null)return null;if(p==="typography"&&s==="inherit")return{[l]:s};const D=Rs(u,p)||{};return v?v(d):tn(d,s,V=>{let E=Ms(D,S,V);return V===E&&typeof V=="string"&&(E=Ms(D,S,`${l}${V==="default"?"":np(V)}`,V)),y===!1?E:{[y]:E}})}function r(l){const{sx:s,theme:u={},nested:f}=l||{};if(!s)return null;const d=u.unstable_sxConfig??Us;function h(y){let p=y;if(typeof y=="function")p=y(u);else if(typeof y!="object")return y;if(!p)return null;const S=pS(u.breakpoints),v=Object.keys(S);let D=S;return Object.keys(p).forEach(N=>{const V=WS(p[N],u);if(V!=null)if(typeof V=="object")if(d[N])D=nl(D,n(N,V,u,d));else{const E=tn({theme:u},V,q=>({[N]:q}));PS(E,V)?D[N]=r({sx:V,theme:u,nested:!0}):D=nl(D,E)}else D=nl(D,n(N,V,u,d))}),!f&&u.modularCssLayers?{"@layer sx":ep(u,ap(v,D))}:ep(u,ap(v,D))}return Array.isArray(s)?s.map(h):h(s)}return r}const $r=eN();$r.filterProps=["sx"];function tN(n,r){var s;const l=this;if(l.vars){if(!((s=l.colorSchemes)!=null&&s[n])||typeof l.getColorSchemeSelector!="function")return{};let u=l.getColorSchemeSelector(n);return u==="&"?r:((u.includes("data-")||u.includes("."))&&(u=`*:where(${u.replace(/\s*&$/,"")}) &`),{[u]:r})}return l.palette.mode===n?r:{}}function sp(n={},...r){const{breakpoints:l={},palette:s={},spacing:u,shape:f={},...d}=n,h=uS(l),y=lp(u);let p=sa({breakpoints:h,direction:"ltr",components:{},palette:{mode:"light",...s},spacing:y,shape:{...mS,...f}},d);return p=dS(p),p.applyStyles=tN,p=r.reduce((S,v)=>sa(S,v),p),p.unstable_sxConfig={...Us,...d==null?void 0:d.unstable_sxConfig},p.unstable_sx=function(v){return $r({sx:v,theme:this})},p}const op=n=>n,aN=(()=>{let n=op;return{configure(r){n=r},generate(r){return n(r)},reset(){n=op}}})(),nN={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 up(n,r,l="Mui"){const s=nN[r];return s?`${l}-${s}`:`${aN.generate(n)}-${r}`}function rN(n,r,l="Mui"){const s={};return r.forEach(u=>{s[u]=up(n,u,l)}),s}function cp(n){const{variants:r,...l}=n,s={variants:r,style:ur(l),isProcessed:!0};return s.style===l||r&&r.forEach(u=>{typeof u.style!="function"&&(u.style=ur(u.style))}),s}const iN=sp();function pc(n){return n!=="ownerState"&&n!=="theme"&&n!=="sx"&&n!=="as"}function cr(n,r){return r&&n&&typeof n=="object"&&n.styles&&!n.styles.startsWith("@layer")&&(n.styles=`@layer ${r}{${String(n.styles)}}`),n}function lN(n){return n?(r,l)=>l[n]:null}function sN(n,r,l){n.theme=cN(n.theme)?l:n.theme[r]||n.theme}function Ls(n,r,l){const s=typeof r=="function"?r(n):r;if(Array.isArray(s))return s.flatMap(u=>Ls(n,u,l));if(Array.isArray(s==null?void 0:s.variants)){let u;if(s.isProcessed)u=l?cr(s.style,l):s.style;else{const{variants:f,...d}=s;u=l?cr(ur(d),l):d}return fp(n,s.variants,[u],l)}return s!=null&&s.isProcessed?l?cr(ur(s.style),l):s.style:l?cr(ur(s),l):s}function fp(n,r,l=[],s=void 0){var f;let u;e:for(let d=0;d<r.length;d+=1){const h=r[d];if(typeof h.props=="function"){if(u??(u={...n,...n.ownerState,ownerState:n.ownerState}),!h.props(u))continue}else for(const y in h.props)if(n[y]!==h.props[y]&&((f=n.ownerState)==null?void 0:f[y])!==h.props[y])continue e;typeof h.style=="function"?(u??(u={...n,...n.ownerState,ownerState:n.ownerState}),l.push(s?cr(ur(h.style(u)),s):h.style(u))):l.push(s?cr(ur(h.style),s):h.style)}return l}function oN(n={}){const{themeId:r,defaultTheme:l=iN,rootShouldForwardProp:s=pc,slotShouldForwardProp:u=pc}=n;function f(h){sN(h,r,l)}return(h,y={})=>{iS(h,Q=>Q.filter(J=>J!==$r));const{name:p,slot:S,skipVariantsResolver:v,skipSx:D,overridesResolver:N=lN(dN(S)),...V}=y,E=p&&p.startsWith("Mui")||S?"components":"custom",q=v!==void 0?v:S&&S!=="Root"&&S!=="root"||!1,P=D||!1;let K=pc;S==="Root"||S==="root"?K=s:S?K=u:fN(h)&&(K=void 0);const ae=rS(h,{shouldForwardProp:K,label:uN(),...V}),ee=Q=>{if(Q.__emotion_real===Q)return Q;if(typeof Q=="function")return function(_e){return Ls(_e,Q,_e.theme.modularCssLayers?E:void 0)};if(en(Q)){const J=cp(Q);return function(Me){return J.variants?Ls(Me,J,Me.theme.modularCssLayers?E:void 0):Me.theme.modularCssLayers?cr(J.style,E):J.style}}return Q},U=(...Q)=>{const J=[],_e=Q.map(ee),Me=[];if(J.push(f),p&&N&&Me.push(function($){var X,se;const le=(se=(X=$.theme.components)==null?void 0:X[p])==null?void 0:se.styleOverrides;if(!le)return null;const O={};for(const Te in le)O[Te]=Ls($,le[Te],$.theme.modularCssLayers?"theme":void 0);return N($,O)}),p&&!q&&Me.push(function($){var O,X;const F=$.theme,le=(X=(O=F==null?void 0:F.components)==null?void 0:O[p])==null?void 0:X.variants;return le?fp($,le,[],$.theme.modularCssLayers?"theme":void 0):null}),P||Me.push($r),Array.isArray(_e[0])){const b=_e.shift(),$=new Array(J.length).fill(""),F=new Array(Me.length).fill("");let le;le=[...$,...b,...F],le.raw=[...$,...b.raw,...F],J.unshift(le)}const We=[...J,..._e,...Me],be=ae(...We);return h.muiName&&(be.muiName=h.muiName),be};return ae.withConfig&&(U.withConfig=ae.withConfig),U}}function uN(n,r){return void 0}function cN(n){for(const r in n)return!1;return!0}function fN(n){return typeof n=="string"&&n.charCodeAt(0)>96}function dN(n){return n&&n.charAt(0).toLowerCase()+n.slice(1)}function gc(n,r,l=!1){const s={...r};for(const u in n)if(Object.prototype.hasOwnProperty.call(n,u)){const f=u;if(f==="components"||f==="slots")s[f]={...n[f],...s[f]};else if(f==="componentsProps"||f==="slotProps"){const d=n[f],h=r[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]=gc(d[p],h[p],l)}}}else f==="className"&&l&&r.className?s.className=fh(n==null?void 0:n.className,r==null?void 0:r.className):f==="style"&&l&&r.style?s.style={...n==null?void 0:n.style,...r==null?void 0:r.style}:s[f]===void 0&&(s[f]=n[f])}return s}function mN(n,r=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(n,l))}function yc(n,r=0,l=1){return mN(n,r,l)}function hN(n){n=n.slice(1);const r=new RegExp(`.{1,${n.length>=6?2:1}}`,"g");let l=n.match(r);return l&&l[0].length===1&&(l=l.map(s=>s+s)),l?`rgb${l.length===4?"a":""}(${l.map((s,u)=>u<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function An(n){if(n.type)return n;if(n.charAt(0)==="#")return An(hN(n));const r=n.indexOf("("),l=n.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(l))throw new Error(sr(9,n));let s=n.substring(r+1,n.length-1),u;if(l==="color"){if(s=s.split(" "),u=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(u))throw new Error(sr(10,u))}else s=s.split(",");return s=s.map(f=>parseFloat(f)),{type:l,values:s,colorSpace:u}}const pN=n=>{const r=An(n);return r.values.slice(0,3).map((l,s)=>r.type.includes("hsl")&&s!==0?`${l}%`:l).join(" ")},ll=(n,r)=>{try{return pN(n)}catch{return n}};function Hs(n){const{type:r,colorSpace:l}=n;let{values:s}=n;return r.includes("rgb")?s=s.map((u,f)=>f<3?parseInt(u,10):u):r.includes("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),r.includes("color")?s=`${l} ${s.join(" ")}`:s=`${s.join(", ")}`,`${r}(${s})`}function dp(n){n=An(n);const{values:r}=n,l=r[0],s=r[1]/100,u=r[2]/100,f=s*Math.min(u,1-u),d=(p,S=(p+l/30)%12)=>u-f*Math.max(Math.min(S-3,9-S,1),-1);let h="rgb";const y=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return n.type==="hsla"&&(h+="a",y.push(r[3])),Hs({type:h,values:y})}function bc(n){n=An(n);let r=n.type==="hsl"||n.type==="hsla"?An(dp(n)).values:n.values;return r=r.map(l=>(n.type!=="color"&&(l/=255),l<=.03928?l/12.92:((l+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function gN(n,r){const l=bc(n),s=bc(r);return(Math.max(l,s)+.05)/(Math.min(l,s)+.05)}function mp(n,r){return n=An(n),r=yc(r),(n.type==="rgb"||n.type==="hsl")&&(n.type+="a"),n.type==="color"?n.values[3]=`/${r}`:n.values[3]=r,Hs(n)}function fr(n,r,l){try{return mp(n,r)}catch{return n}}function qs(n,r){if(n=An(n),r=yc(r),n.type.includes("hsl"))n.values[2]*=1-r;else if(n.type.includes("rgb")||n.type.includes("color"))for(let l=0;l<3;l+=1)n.values[l]*=1-r;return Hs(n)}function Qe(n,r,l){try{return qs(n,r)}catch{return n}}function Gs(n,r){if(n=An(n),r=yc(r),n.type.includes("hsl"))n.values[2]+=(100-n.values[2])*r;else if(n.type.includes("rgb"))for(let l=0;l<3;l+=1)n.values[l]+=(255-n.values[l])*r;else if(n.type.includes("color"))for(let l=0;l<3;l+=1)n.values[l]+=(1-n.values[l])*r;return Hs(n)}function Xe(n,r,l){try{return Gs(n,r)}catch{return n}}function yN(n,r=.15){return bc(n)>.5?qs(n,r):Gs(n,r)}function Zs(n,r,l){try{return yN(n,r)}catch{return n}}const bN=pe.createContext(void 0);function vN(n){const{theme:r,name:l,props:s}=n;if(!r||!r.components||!r.components[l])return s;const u=r.components[l];return u.defaultProps?gc(u.defaultProps,s,r.components.mergeClassNameAndStyle):!u.styleOverrides&&!u.variants?gc(u,s,r.components.mergeClassNameAndStyle):s}function xN({props:n,name:r}){const l=pe.useContext(bN);return vN({props:n,name:r,theme:{components:l}})}const hp={theme:void 0};function SN(n){let r,l;return function(u){let f=r;return(f===void 0||u.theme!==l)&&(hp.theme=u.theme,f=cp(n(hp)),r=f,l=u.theme),f}}function NN(n=""){function r(...s){if(!s.length)return"";const u=s[0];return typeof u=="string"&&!u.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${n?`${n}-`:""}${u}${r(...s.slice(1))})`:`, ${u}`}return(s,...u)=>`var(--${n?`${n}-`:""}${s}${r(...u)})`}const pp=(n,r,l,s=[])=>{let u=n;r.forEach((f,d)=>{d===r.length-1?Array.isArray(u)?u[Number(f)]=l:u&&typeof u=="object"&&(u[f]=l):u&&typeof u=="object"&&(u[f]||(u[f]=s.includes(f)?[]:{}),u=u[f])})},_N=(n,r,l)=>{function s(u,f=[],d=[]){Object.entries(u).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):r([...f,h],y,d))})}s(n)},CN=(n,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(s=>n.includes(s))||n[n.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function vc(n,r){const{prefix:l,shouldSkipGeneratingVar:s}=r||{},u={},f={},d={};return _N(n,(h,y,p)=>{if((typeof y=="string"||typeof y=="number")&&(!s||!s(h,y))){const S=`--${l?`${l}-`:""}${h.join("-")}`,v=CN(h,y);Object.assign(u,{[S]:v}),pp(f,h,`var(${S})`,p),pp(d,h,`var(${S}, ${v})`,p)}},h=>h[0]==="vars"),{css:u,vars:f,varsWithDefaults:d}}function EN(n,r={}){const{getSelector:l=P,disableCssColorScheme:s,colorSchemeSelector:u,enableContrastVars:f}=r,{colorSchemes:d={},components:h,defaultColorScheme:y="light",...p}=n,{vars:S,css:v,varsWithDefaults:D}=vc(p,r);let N=D;const V={},{[y]:E,...q}=d;if(Object.entries(q||{}).forEach(([ee,U])=>{const{vars:Q,css:J,varsWithDefaults:_e}=vc(U,r);N=sa(N,_e),V[ee]={css:J,vars:Q}}),E){const{css:ee,vars:U,varsWithDefaults:Q}=vc(E,r);N=sa(N,Q),V[y]={css:ee,vars:U}}function P(ee,U){var J,_e;let Q=u;if(u==="class"&&(Q=".%s"),u==="data"&&(Q="[data-%s]"),u!=null&&u.startsWith("data-")&&!u.includes("%s")&&(Q=`[${u}="%s"]`),ee){if(Q==="media")return n.defaultColorScheme===ee?":root":{[`@media (prefers-color-scheme: ${((_e=(J=d[ee])==null?void 0:J.palette)==null?void 0:_e.mode)||ee})`]:{":root":U}};if(Q)return n.defaultColorScheme===ee?`:root, ${Q.replace("%s",String(ee))}`:Q.replace("%s",String(ee))}return":root"}return{vars:N,generateThemeVars:()=>{let ee={...S};return Object.entries(V).forEach(([,{vars:U}])=>{ee=sa(ee,U)}),ee},generateStyleSheets:()=>{var Me,We;const ee=[],U=n.defaultColorScheme||"light";function Q(be,b){Object.keys(b).length&&ee.push(typeof be=="string"?{[be]:{...b}}:be)}Q(l(void 0,{...v}),v);const{[U]:J,..._e}=V;if(J){const{css:be}=J,b=(We=(Me=d[U])==null?void 0:Me.palette)==null?void 0:We.mode,$=!s&&b?{colorScheme:b,...be}:{...be};Q(l(U,{...$}),$)}return Object.entries(_e).forEach(([be,{css:b}])=>{var le,O;const $=(O=(le=d[be])==null?void 0:le.palette)==null?void 0:O.mode,F=!s&&$?{colorScheme:$,...b}:{...b};Q(l(be,{...F}),F)}),f&&ee.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)"}}),ee}}}function wN(n){return function(l){return n==="media"?`@media (prefers-color-scheme: ${l})`:n?n.startsWith("data-")&&!n.includes("%s")?`[${n}="${l}"] &`:n==="class"?`.${l} &`:n==="data"?`[data-${l}] &`:`${n.replace("%s",l)} &`:"&"}}const sl={black:"#000",white:"#fff"},DN={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"},Fr={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Qr={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},ol={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Xr={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Kr={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Jr={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function gp(){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:sl.white,default:sl.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 yp=gp();function bp(){return{text:{primary:sl.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:sl.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 xc=bp();function vp(n,r,l,s){const u=s.light||s,f=s.dark||s*1.5;n[r]||(n.hasOwnProperty(l)?n[r]=n[l]:r==="light"?n.light=Gs(n.main,u):r==="dark"&&(n.dark=qs(n.main,f)))}function xp(n,r,l,s,u){const f=u.light||u,d=u.dark||u*1.5;r[l]||(r.hasOwnProperty(s)?r[l]=r[s]:l==="light"?r.light=`color-mix(in ${n}, ${r.main}, #fff ${(f*100).toFixed(0)}%)`:l==="dark"&&(r.dark=`color-mix(in ${n}, ${r.main}, #000 ${(d*100).toFixed(0)}%)`))}function AN(n="light"){return n==="dark"?{main:Xr[200],light:Xr[50],dark:Xr[400]}:{main:Xr[700],light:Xr[400],dark:Xr[800]}}function TN(n="light"){return n==="dark"?{main:Fr[200],light:Fr[50],dark:Fr[400]}:{main:Fr[500],light:Fr[300],dark:Fr[700]}}function ON(n="light"){return n==="dark"?{main:Qr[500],light:Qr[300],dark:Qr[700]}:{main:Qr[700],light:Qr[400],dark:Qr[800]}}function RN(n="light"){return n==="dark"?{main:Kr[400],light:Kr[300],dark:Kr[700]}:{main:Kr[700],light:Kr[500],dark:Kr[900]}}function MN(n="light"){return n==="dark"?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[800],light:Jr[500],dark:Jr[900]}}function zN(n="light"){return n==="dark"?{main:ol[400],light:ol[300],dark:ol[700]}:{main:"#ed6c02",light:ol[500],dark:ol[900]}}function kN(n){return`oklch(from ${n} var(--__l) 0 h / var(--__a))`}function Sc(n){const{mode:r="light",contrastThreshold:l=3,tonalOffset:s=.2,colorSpace:u,...f}=n,d=n.primary||AN(r),h=n.secondary||TN(r),y=n.error||ON(r),p=n.info||RN(r),S=n.success||MN(r),v=n.warning||zN(r);function D(q){return u?kN(q):gN(q,xc.text.primary)>=l?xc.text.primary:yp.text.primary}const N=({color:q,name:P,mainShade:K=500,lightShade:ae=300,darkShade:ee=700})=>{if(q={...q},!q.main&&q[K]&&(q.main=q[K]),!q.hasOwnProperty("main"))throw new Error(sr(11,P?` (${P})`:"",K));if(typeof q.main!="string")throw new Error(sr(12,P?` (${P})`:"",JSON.stringify(q.main)));return u?(xp(u,q,"light",ae,s),xp(u,q,"dark",ee,s)):(vp(q,"light",ae,s),vp(q,"dark",ee,s)),q.contrastText||(q.contrastText=D(q.main)),q};let V;return r==="light"?V=gp():r==="dark"&&(V=bp()),sa({common:{...sl},mode:r,primary:N({color:d,name:"primary"}),secondary:N({color:h,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:N({color:y,name:"error"}),warning:N({color:v,name:"warning"}),info:N({color:p,name:"info"}),success:N({color:S,name:"success"}),grey:DN,contrastThreshold:l,getContrastText:D,augmentColor:N,tonalOffset:s,...V},f)}function jN(n){const r={};return Object.entries(n).forEach(s=>{const[u,f]=s;typeof f=="object"&&(r[u]=`${f.fontStyle?`${f.fontStyle} `:""}${f.fontVariant?`${f.fontVariant} `:""}${f.fontWeight?`${f.fontWeight} `:""}${f.fontStretch?`${f.fontStretch} `:""}${f.fontSize||""}${f.lineHeight?`/${f.lineHeight} `:""}${f.fontFamily||""}`)}),r}function VN(n,r){return{toolbar:{minHeight:56,[n.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[n.up("sm")]:{minHeight:64}},...r}}function BN(n){return Math.round(n*1e5)/1e5}const Sp={textTransform:"uppercase"},Np='"Roboto", "Helvetica", "Arial", sans-serif';function UN(n,r){const{fontFamily:l=Np,fontSize:s=14,fontWeightLight:u=300,fontWeightRegular:f=400,fontWeightMedium:d=500,fontWeightBold:h=700,htmlFontSize:y=16,allVariants:p,pxToRem:S,...v}=typeof r=="function"?r(n):r,D=s/14,N=S||(q=>`${q/y*D}rem`),V=(q,P,K,ae,ee)=>({fontFamily:l,fontWeight:q,fontSize:N(P),lineHeight:K,...l===Np?{letterSpacing:`${BN(ae/P)}em`}:{},...ee,...p}),E={h1:V(u,96,1.167,-1.5),h2:V(u,60,1.2,-.5),h3:V(f,48,1.167,0),h4:V(f,34,1.235,.25),h5:V(f,24,1.334,0),h6:V(d,20,1.6,.15),subtitle1:V(f,16,1.75,.15),subtitle2:V(d,14,1.57,.1),body1:V(f,16,1.5,.15),body2:V(f,14,1.43,.15),button:V(d,14,1.75,.4,Sp),caption:V(f,12,1.66,.4),overline:V(f,12,2.66,1,Sp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return sa({htmlFontSize:y,pxToRem:N,fontFamily:l,fontSize:s,fontWeightLight:u,fontWeightRegular:f,fontWeightMedium:d,fontWeightBold:h,...E},v,{clone:!1})}const LN=.2,HN=.14,qN=.12;function ut(...n){return[`${n[0]}px ${n[1]}px ${n[2]}px ${n[3]}px rgba(0,0,0,${LN})`,`${n[4]}px ${n[5]}px ${n[6]}px ${n[7]}px rgba(0,0,0,${HN})`,`${n[8]}px ${n[9]}px ${n[10]}px ${n[11]}px rgba(0,0,0,${qN})`].join(",")}const GN=["none",ut(0,2,1,-1,0,1,1,0,0,1,3,0),ut(0,3,1,-2,0,2,2,0,0,1,5,0),ut(0,3,3,-2,0,3,4,0,0,1,8,0),ut(0,2,4,-1,0,4,5,0,0,1,10,0),ut(0,3,5,-1,0,5,8,0,0,1,14,0),ut(0,3,5,-1,0,6,10,0,0,1,18,0),ut(0,4,5,-2,0,7,10,1,0,2,16,1),ut(0,5,5,-3,0,8,10,1,0,3,14,2),ut(0,5,6,-3,0,9,12,1,0,3,16,2),ut(0,6,6,-3,0,10,14,1,0,4,18,3),ut(0,6,7,-4,0,11,15,1,0,4,20,3),ut(0,7,8,-4,0,12,17,2,0,5,22,4),ut(0,7,8,-4,0,13,19,2,0,5,24,4),ut(0,7,9,-4,0,14,21,2,0,5,26,4),ut(0,8,9,-5,0,15,22,2,0,6,28,5),ut(0,8,10,-5,0,16,24,2,0,6,30,5),ut(0,8,11,-5,0,17,26,2,0,6,32,5),ut(0,9,11,-5,0,18,28,2,0,7,34,6),ut(0,9,12,-6,0,19,29,2,0,7,36,6),ut(0,10,13,-6,0,20,31,3,0,8,38,7),ut(0,10,13,-6,0,21,33,3,0,8,40,7),ut(0,10,14,-6,0,22,35,3,0,8,42,7),ut(0,11,14,-7,0,23,36,3,0,9,44,8),ut(0,11,15,-7,0,24,38,3,0,9,46,8)],ZN={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)"},YN={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _p(n){return`${Math.round(n)}ms`}function $N(n){if(!n)return 0;const r=n/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function FN(n){const r={...ZN,...n.easing},l={...YN,...n.duration};return{getAutoHeightDuration:$N,create:(u=["all"],f={})=>{const{duration:d=l.standard,easing:h=r.easeInOut,delay:y=0,...p}=f;return(Array.isArray(u)?u:[u]).map(S=>`${S} ${typeof d=="string"?d:_p(d)} ${h} ${typeof y=="string"?y:_p(y)}`).join(",")},...n,easing:r,duration:l}}const QN={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function XN(n){return en(n)||typeof n>"u"||typeof n=="string"||typeof n=="boolean"||typeof n=="number"||Array.isArray(n)}function Cp(n={}){const r={...n};function l(s){const u=Object.entries(s);for(let f=0;f<u.length;f++){const[d,h]=u[f];!XN(h)||d.startsWith("unstable_")?delete s[d]:en(h)&&(s[d]={...h},l(s[d]))}}return l(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
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';
|
|
122
472
|
|
|
123
|
-
const theme = ${JSON.stringify(
|
|
473
|
+
const theme = ${JSON.stringify(u,null,2)};
|
|
124
474
|
|
|
125
475
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
126
476
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
127
477
|
|
|
128
|
-
export default theme;`}function Ep(n){return typeof n=="number"?`${(n*100).toFixed(0)}%`:`calc((${n}) * 100%)`}const KN=n=>{if(!Number.isNaN(+n))return+n;const r=n.match(/\d*\.?\d+/g);if(!r)return 0;let l=0;for(let s=0;s<r.length;s+=1)l+=+r[s];return l};function JN(n){Object.assign(n,{alpha(r,l){const s=this||n;return s.colorSpace?`oklch(from ${r} l c h / ${typeof l=="string"?`calc(${l})`:l})`:s.vars?`rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof l=="string"?`calc(${l})`:l})`:mp(r,KN(l))},lighten(r,l){const s=this||n;return s.colorSpace?`color-mix(in ${s.colorSpace}, ${r}, #fff ${Ep(l)})`:Gs(r,l)},darken(r,l){const s=this||n;return s.colorSpace?`color-mix(in ${s.colorSpace}, ${r}, #000 ${Ep(l)})`:qs(r,l)}})}function Nc(n={},...r){const{breakpoints:l,mixins:s={},spacing:u,palette:f={},transitions:d={},typography:h={},shape:y,colorSpace:p,...S}=n;if(n.vars&&n.generateThemeVars===void 0)throw new Error(sr(20));const v=Sc({...f,colorSpace:p}),D=sp(n);let N=sa(D,{mixins:VN(D.breakpoints,s),palette:v,shadows:GN.slice(),typography:UN(v,h),transitions:FN(d),zIndex:{...QN}});return N=sa(N,S),N=r.reduce((V,E)=>sa(V,E),N),N.unstable_sxConfig={...Us,...S==null?void 0:S.unstable_sxConfig},N.unstable_sx=function(E){return $r({sx:E,theme:this})},N.toRuntimeSource=Cp,JN(N),N}function IN(n){let r;return n<1?r=5.11916*n**2:r=4.5*Math.log(n+1)+2,Math.round(r*10)/1e3}const PN=[...Array(25)].map((n,r)=>{if(r===0)return"none";const l=IN(r);return`linear-gradient(rgba(255 255 255 / ${l}), rgba(255 255 255 / ${l}))`});function wp(n){return{inputPlaceholder:n==="dark"?.5:.42,inputUnderline:n==="dark"?.7:.42,switchTrackDisabled:n==="dark"?.2:.12,switchTrack:n==="dark"?.3:.38}}function Dp(n){return n==="dark"?PN:[]}function WN(n){const{palette:r={mode:"light"},opacity:l,overlays:s,colorSpace:u,...f}=n,d=Sc({...r,colorSpace:u});return{palette:d,opacity:{...wp(d.mode),...l},overlays:s||Dp(d.mode),...f}}function e_(n){var r;return!!n[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!n[0].match(/sxConfig$/)||n[0]==="palette"&&!!((r=n[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const t_=n=>[...[...Array(25)].map((r,l)=>`--${n?`${n}-`:""}overlays-${l}`),`--${n?`${n}-`:""}palette-AppBar-darkBg`,`--${n?`${n}-`:""}palette-AppBar-darkColor`],a_=n=>(r,l)=>{const s=n.rootSelector||":root",u=n.colorSchemeSelector;let f=u;if(u==="class"&&(f=".%s"),u==="data"&&(f="[data-%s]"),u!=null&&u.startsWith("data-")&&!u.includes("%s")&&(f=`[${u}="%s"]`),n.defaultColorScheme===r){if(r==="dark"){const d={};return t_(n.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",r)]:d,[`${s}, ${f.replace("%s",r)}`]:l}:{[s]:{...l,...d}}}if(f&&f!=="media")return`${s}, ${f.replace("%s",String(r))}`}else if(r){if(f==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[s]:l}};if(f)return f.replace("%s",String(r))}return s};function n_(n,r){r.forEach(l=>{n[l]||(n[l]={})})}function L(n,r,l){!n[r]&&l&&(n[r]=l)}function ul(n){return typeof n!="string"||!n.startsWith("hsl")?n:dp(n)}function an(n,r){`${r}Channel`in n||(n[`${r}Channel`]=ll(ul(n[r])))}function r_(n){return typeof n=="number"?`${n}px`:typeof n=="string"||typeof n=="function"||Array.isArray(n)?n:"8px"}const Ya=n=>{try{return n()}catch{}},i_=(n="mui")=>NN(n);function _c(n,r,l,s,u){if(!l)return;l=l===!0?{}:l;const f=u==="dark"?"dark":"light";if(!s){r[u]=WN({...l,palette:{mode:f,...l==null?void 0:l.palette},colorSpace:n});return}const{palette:d,...h}=Nc({...s,palette:{mode:f,...l==null?void 0:l.palette},colorSpace:n});return r[u]={...l,palette:d,opacity:{...wp(f),...l==null?void 0:l.opacity},overlays:(l==null?void 0:l.overlays)||Dp(f)},h}function l_(n={},...r){const{colorSchemes:l={light:!0},defaultColorScheme:s,disableCssColorScheme:u=!1,cssVarPrefix:f="mui",nativeColor:d=!1,shouldSkipGeneratingVar:h=e_,colorSchemeSelector:y=l.light&&l.dark?"media":void 0,rootSelector:p=":root",...S}=n,v=Object.keys(l)[0],D=s||(l.light&&v!=="light"?"light":v),N=i_(f),{[D]:V,light:E,dark:q,...P}=l,K={...P};let ae=V;if((D==="dark"&&!("dark"in l)||D==="light"&&!("light"in l))&&(ae=!0),!ae)throw new Error(sr(21,D));let ee;d&&(ee="oklch");const U=_c(ee,K,ae,S,D);E&&!K.light&&_c(ee,K,E,void 0,"light"),q&&!K.dark&&_c(ee,K,q,void 0,"dark");let Q={defaultColorScheme:D,...U,cssVarPrefix:f,colorSchemeSelector:y,rootSelector:p,getCssVar:N,colorSchemes:K,font:{...jN(U.typography),...U.font},spacing:r_(S.spacing)};Object.keys(Q.colorSchemes).forEach(be=>{const b=Q.colorSchemes[be].palette,$=le=>{const O=le.split("-"),X=O[1],se=O[2];return N(le,b[X][se])};b.mode==="light"&&(L(b.common,"background","#fff"),L(b.common,"onBackground","#000")),b.mode==="dark"&&(L(b.common,"background","#000"),L(b.common,"onBackground","#fff"));function F(le,O,X){if(ee){let se;return le===fr&&(se=`transparent ${((1-X)*100).toFixed(0)}%`),le===Qe&&(se=`#000 ${(X*100).toFixed(0)}%`),le===Xe&&(se=`#fff ${(X*100).toFixed(0)}%`),`color-mix(in ${ee}, ${O}, ${se})`}return le(O,X)}if(n_(b,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),b.mode==="light"){L(b.Alert,"errorColor",F(Qe,d?N("palette-error-light"):b.error.light,.6)),L(b.Alert,"infoColor",F(Qe,d?N("palette-info-light"):b.info.light,.6)),L(b.Alert,"successColor",F(Qe,d?N("palette-success-light"):b.success.light,.6)),L(b.Alert,"warningColor",F(Qe,d?N("palette-warning-light"):b.warning.light,.6)),L(b.Alert,"errorFilledBg",$("palette-error-main")),L(b.Alert,"infoFilledBg",$("palette-info-main")),L(b.Alert,"successFilledBg",$("palette-success-main")),L(b.Alert,"warningFilledBg",$("palette-warning-main")),L(b.Alert,"errorFilledColor",Ya(()=>b.getContrastText(b.error.main))),L(b.Alert,"infoFilledColor",Ya(()=>b.getContrastText(b.info.main))),L(b.Alert,"successFilledColor",Ya(()=>b.getContrastText(b.success.main))),L(b.Alert,"warningFilledColor",Ya(()=>b.getContrastText(b.warning.main))),L(b.Alert,"errorStandardBg",F(Xe,d?N("palette-error-light"):b.error.light,.9)),L(b.Alert,"infoStandardBg",F(Xe,d?N("palette-info-light"):b.info.light,.9)),L(b.Alert,"successStandardBg",F(Xe,d?N("palette-success-light"):b.success.light,.9)),L(b.Alert,"warningStandardBg",F(Xe,d?N("palette-warning-light"):b.warning.light,.9)),L(b.Alert,"errorIconColor",$("palette-error-main")),L(b.Alert,"infoIconColor",$("palette-info-main")),L(b.Alert,"successIconColor",$("palette-success-main")),L(b.Alert,"warningIconColor",$("palette-warning-main")),L(b.AppBar,"defaultBg",$("palette-grey-100")),L(b.Avatar,"defaultBg",$("palette-grey-400")),L(b.Button,"inheritContainedBg",$("palette-grey-300")),L(b.Button,"inheritContainedHoverBg",$("palette-grey-A100")),L(b.Chip,"defaultBorder",$("palette-grey-400")),L(b.Chip,"defaultAvatarColor",$("palette-grey-700")),L(b.Chip,"defaultIconColor",$("palette-grey-700")),L(b.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),L(b.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),L(b.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),L(b.LinearProgress,"primaryBg",F(Xe,d?N("palette-primary-main"):b.primary.main,.62)),L(b.LinearProgress,"secondaryBg",F(Xe,d?N("palette-secondary-main"):b.secondary.main,.62)),L(b.LinearProgress,"errorBg",F(Xe,d?N("palette-error-main"):b.error.main,.62)),L(b.LinearProgress,"infoBg",F(Xe,d?N("palette-info-main"):b.info.main,.62)),L(b.LinearProgress,"successBg",F(Xe,d?N("palette-success-main"):b.success.main,.62)),L(b.LinearProgress,"warningBg",F(Xe,d?N("palette-warning-light"):b.warning.main,.62)),L(b.Skeleton,"bg",ee?F(fr,d?N("palette-text-primary"):b.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),L(b.Slider,"primaryTrack",F(Xe,d?N("palette-primary-main"):b.primary.main,.62)),L(b.Slider,"secondaryTrack",F(Xe,d?N("palette-secondary-main"):b.secondary.main,.62)),L(b.Slider,"errorTrack",F(Xe,d?N("palette-error-main"):b.error.main,.62)),L(b.Slider,"infoTrack",F(Xe,d?N("palette-info-main"):b.info.main,.62)),L(b.Slider,"successTrack",F(Xe,d?N("palette-success-main"):b.success.main,.62)),L(b.Slider,"warningTrack",F(Xe,d?N("palette-warning-main"):b.warning.main,.62));const le=ee?F(Qe,d?N("palette-background-default"):b.background.default,.6825):Zs(b.background.default,.8);L(b.SnackbarContent,"bg",le),L(b.SnackbarContent,"color",Ya(()=>ee?xc.text.primary:b.getContrastText(le))),L(b.SpeedDialAction,"fabHoverBg",Zs(b.background.paper,.15)),L(b.StepConnector,"border",$("palette-grey-400")),L(b.StepContent,"border",$("palette-grey-400")),L(b.Switch,"defaultColor",$("palette-common-white")),L(b.Switch,"defaultDisabledColor",$("palette-grey-100")),L(b.Switch,"primaryDisabledColor",F(Xe,d?N("palette-primary-main"):b.primary.main,.62)),L(b.Switch,"secondaryDisabledColor",F(Xe,d?N("palette-secondary-main"):b.secondary.main,.62)),L(b.Switch,"errorDisabledColor",F(Xe,d?N("palette-error-main"):b.error.main,.62)),L(b.Switch,"infoDisabledColor",F(Xe,d?N("palette-info-main"):b.info.main,.62)),L(b.Switch,"successDisabledColor",F(Xe,d?N("palette-success-main"):b.success.main,.62)),L(b.Switch,"warningDisabledColor",F(Xe,d?N("palette-warning-main"):b.warning.main,.62)),L(b.TableCell,"border",F(Xe,fr(d?N("palette-divider"):b.divider,1),.88)),L(b.Tooltip,"bg",F(fr,d?N("palette-grey-700"):b.grey[700],.92))}if(b.mode==="dark"){L(b.Alert,"errorColor",F(Xe,d?N("palette-error-light"):b.error.light,.6)),L(b.Alert,"infoColor",F(Xe,d?N("palette-info-light"):b.info.light,.6)),L(b.Alert,"successColor",F(Xe,d?N("palette-success-light"):b.success.light,.6)),L(b.Alert,"warningColor",F(Xe,d?N("palette-warning-light"):b.warning.light,.6)),L(b.Alert,"errorFilledBg",$("palette-error-dark")),L(b.Alert,"infoFilledBg",$("palette-info-dark")),L(b.Alert,"successFilledBg",$("palette-success-dark")),L(b.Alert,"warningFilledBg",$("palette-warning-dark")),L(b.Alert,"errorFilledColor",Ya(()=>b.getContrastText(b.error.dark))),L(b.Alert,"infoFilledColor",Ya(()=>b.getContrastText(b.info.dark))),L(b.Alert,"successFilledColor",Ya(()=>b.getContrastText(b.success.dark))),L(b.Alert,"warningFilledColor",Ya(()=>b.getContrastText(b.warning.dark))),L(b.Alert,"errorStandardBg",F(Qe,d?N("palette-error-light"):b.error.light,.9)),L(b.Alert,"infoStandardBg",F(Qe,d?N("palette-info-light"):b.info.light,.9)),L(b.Alert,"successStandardBg",F(Qe,d?N("palette-success-light"):b.success.light,.9)),L(b.Alert,"warningStandardBg",F(Qe,d?N("palette-warning-light"):b.warning.light,.9)),L(b.Alert,"errorIconColor",$("palette-error-main")),L(b.Alert,"infoIconColor",$("palette-info-main")),L(b.Alert,"successIconColor",$("palette-success-main")),L(b.Alert,"warningIconColor",$("palette-warning-main")),L(b.AppBar,"defaultBg",$("palette-grey-900")),L(b.AppBar,"darkBg",$("palette-background-paper")),L(b.AppBar,"darkColor",$("palette-text-primary")),L(b.Avatar,"defaultBg",$("palette-grey-600")),L(b.Button,"inheritContainedBg",$("palette-grey-800")),L(b.Button,"inheritContainedHoverBg",$("palette-grey-700")),L(b.Chip,"defaultBorder",$("palette-grey-700")),L(b.Chip,"defaultAvatarColor",$("palette-grey-300")),L(b.Chip,"defaultIconColor",$("palette-grey-300")),L(b.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),L(b.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),L(b.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),L(b.LinearProgress,"primaryBg",F(Qe,d?N("palette-primary-main"):b.primary.main,.5)),L(b.LinearProgress,"secondaryBg",F(Qe,d?N("palette-secondary-main"):b.secondary.main,.5)),L(b.LinearProgress,"errorBg",F(Qe,d?N("palette-error-main"):b.error.main,.5)),L(b.LinearProgress,"infoBg",F(Qe,d?N("palette-info-main"):b.info.main,.5)),L(b.LinearProgress,"successBg",F(Qe,d?N("palette-success-main"):b.success.main,.5)),L(b.LinearProgress,"warningBg",F(Qe,d?N("palette-warning-main"):b.warning.main,.5)),L(b.Skeleton,"bg",ee?F(fr,d?N("palette-text-primary"):b.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),L(b.Slider,"primaryTrack",F(Qe,d?N("palette-primary-main"):b.primary.main,.5)),L(b.Slider,"secondaryTrack",F(Qe,d?N("palette-secondary-main"):b.secondary.main,.5)),L(b.Slider,"errorTrack",F(Qe,d?N("palette-error-main"):b.error.main,.5)),L(b.Slider,"infoTrack",F(Qe,d?N("palette-info-main"):b.info.main,.5)),L(b.Slider,"successTrack",F(Qe,d?N("palette-success-main"):b.success.main,.5)),L(b.Slider,"warningTrack",F(Qe,d?N("palette-warning-light"):b.warning.main,.5));const le=ee?F(Xe,d?N("palette-background-default"):b.background.default,.985):Zs(b.background.default,.98);L(b.SnackbarContent,"bg",le),L(b.SnackbarContent,"color",Ya(()=>ee?yp.text.primary:b.getContrastText(le))),L(b.SpeedDialAction,"fabHoverBg",Zs(b.background.paper,.15)),L(b.StepConnector,"border",$("palette-grey-600")),L(b.StepContent,"border",$("palette-grey-600")),L(b.Switch,"defaultColor",$("palette-grey-300")),L(b.Switch,"defaultDisabledColor",$("palette-grey-600")),L(b.Switch,"primaryDisabledColor",F(Qe,d?N("palette-primary-main"):b.primary.main,.55)),L(b.Switch,"secondaryDisabledColor",F(Qe,d?N("palette-secondary-main"):b.secondary.main,.55)),L(b.Switch,"errorDisabledColor",F(Qe,d?N("palette-error-main"):b.error.main,.55)),L(b.Switch,"infoDisabledColor",F(Qe,d?N("palette-info-main"):b.info.main,.55)),L(b.Switch,"successDisabledColor",F(Qe,d?N("palette-success-main"):b.success.main,.55)),L(b.Switch,"warningDisabledColor",F(Qe,d?N("palette-warning-light"):b.warning.main,.55)),L(b.TableCell,"border",F(Qe,fr(d?N("palette-divider"):b.divider,1),.68)),L(b.Tooltip,"bg",F(fr,d?N("palette-grey-700"):b.grey[700],.92))}an(b.background,"default"),an(b.background,"paper"),an(b.common,"background"),an(b.common,"onBackground"),an(b,"divider"),Object.keys(b).forEach(le=>{const O=b[le];le!=="tonalOffset"&&O&&typeof O=="object"&&(O.main&&L(b[le],"mainChannel",ll(ul(O.main))),O.light&&L(b[le],"lightChannel",ll(ul(O.light))),O.dark&&L(b[le],"darkChannel",ll(ul(O.dark))),O.contrastText&&L(b[le],"contrastTextChannel",ll(ul(O.contrastText))),le==="text"&&(an(b[le],"primary"),an(b[le],"secondary")),le==="action"&&(O.active&&an(b[le],"active"),O.selected&&an(b[le],"selected")))})}),Q=r.reduce((be,b)=>sa(be,b),Q);const J={prefix:f,disableCssColorScheme:u,shouldSkipGeneratingVar:h,getSelector:a_(Q),enableContrastVars:d},{vars:_e,generateThemeVars:Me,generateStyleSheets:We}=EN(Q,J);return Q.vars=_e,Object.entries(Q.colorSchemes[Q.defaultColorScheme]).forEach(([be,b])=>{Q[be]=b}),Q.generateThemeVars=Me,Q.generateStyleSheets=We,Q.generateSpacing=function(){return lp(S.spacing,mc(this))},Q.getColorSchemeSelector=wN(y),Q.spacing=Q.generateSpacing(),Q.shouldSkipGeneratingVar=h,Q.unstable_sxConfig={...Us,...S==null?void 0:S.unstable_sxConfig},Q.unstable_sx=function(b){return $r({sx:b,theme:this})},Q.toRuntimeSource=Cp,Q}function Ap(n,r,l){n.colorSchemes&&l&&(n.colorSchemes[r]={...l!==!0&&l,palette:Sc({...l===!0?{}:l.palette,mode:r})})}function s_(n={},...r){const{palette:l,cssVariables:s=!1,colorSchemes:u=l?void 0:{light:!0},defaultColorScheme:f=l==null?void 0:l.mode,...d}=n,h=f||"light",y=u==null?void 0:u[h],p={...u,...l?{[h]:{...typeof y!="boolean"&&y,palette:l}}:void 0};if(s===!1){if(!("colorSchemes"in n))return Nc(n,...r);let S=l;"palette"in n||p[h]&&(p[h]!==!0?S=p[h].palette:h==="dark"&&(S={mode:"dark"}));const v=Nc({...n,palette:S},...r);return v.defaultColorScheme=h,v.colorSchemes=p,v.palette.mode==="light"&&(v.colorSchemes.light={...p.light!==!0&&p.light,palette:v.palette},Ap(v,"dark",p.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:v.palette},Ap(v,"light",p.light)),v}return!l&&!("light"in p)&&h==="light"&&(p.light=!0),l_({...d,colorSchemes:p,defaultColorScheme:h,...typeof s!="boolean"&&s},...r)}function o_(n){return String(n).match(/[\d.\-+]*\s*(.*)/)[1]||""}function u_(n){return parseFloat(n)}const c_=s_();function f_(n){return n!=="ownerState"&&n!=="theme"&&n!=="sx"&&n!=="as"}const d_=oN({themeId:V1,defaultTheme:c_,rootShouldForwardProp:n=>f_(n)&&n!=="classes"}),m_=SN;function h_(n){return xN(n)}function p_(n){return up("MuiSkeleton",n)}rN("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const g_=n=>{const{classes:r,variant:l,animation:s,hasChildren:u,width:f,height:d}=n;return j1({root:["root",l,s,u&&"withChildren",u&&!f&&"fitContent",u&&!d&&"heightAuto"]},p_,r)},Cc=Hh`
|
|
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`
|
|
129
481
|
0% {
|
|
130
482
|
opacity: 1;
|
|
131
483
|
}
|
|
@@ -137,7 +489,7 @@ export default theme;`}function Ep(n){return typeof n=="number"?`${(n*100).toFix
|
|
|
137
489
|
100% {
|
|
138
490
|
opacity: 1;
|
|
139
491
|
}
|
|
140
|
-
`,
|
|
492
|
+
`,Nx=gC`
|
|
141
493
|
0% {
|
|
142
494
|
transform: translateX(-100%);
|
|
143
495
|
}
|
|
@@ -150,15 +502,15 @@ export default theme;`}function Ep(n){return typeof n=="number"?`${(n*100).toFix
|
|
|
150
502
|
100% {
|
|
151
503
|
transform: translateX(100%);
|
|
152
504
|
}
|
|
153
|
-
`,
|
|
154
|
-
animation: ${
|
|
155
|
-
`:null,
|
|
505
|
+
`,A4=typeof Cx!="string"?cx`
|
|
506
|
+
animation: ${Cx} 2s ease-in-out 0.5s infinite;
|
|
507
|
+
`:null,D4=typeof Nx!="string"?cx`
|
|
156
508
|
&::after {
|
|
157
|
-
animation: ${
|
|
509
|
+
animation: ${Nx} 2s linear 0.5s infinite;
|
|
158
510
|
}
|
|
159
|
-
`:null,
|
|
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(
|
|
160
512
|
90deg,
|
|
161
513
|
transparent,
|
|
162
|
-
${(
|
|
514
|
+
${(r.vars||r).palette.action.hover},
|
|
163
515
|
transparent
|
|
164
|
-
)`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:b_||{"&::after":{animation:`${Ec} 2s linear 0.5s infinite`}}}]}})),x_=pe.forwardRef(function(r,l){const s=h_({props:r,name:"MuiSkeleton"}),{animation:u="pulse",className:f,component:d="span",height:h,style:y,variant:p="text",width:S,...v}=s,D={...s,animation:u,component:d,variant:p,hasChildren:!!v.children},N=g_(D);return nS.jsx(v_,{as:d,ref:l,className:fh(N.root,f),ownerState:D,...v,style:{width:S,height:h,...y}})}),S_=async({tenant_id:n})=>{if(!n)throw new Error(`No configuration found for tenant: ${n}`);try{const l=await(await fetch(`${ir("VITE_API_URL")}/api/token.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({tenant_id:n})})).json();if(!l.success)throw new Error("PBMLOG: Authorization failed!");return rt.set("pbm-token",l.access_token,{secure:!0,sameSite:"Strict",expires:l.expires_in/86400}),rt.set("tenant_id",n,{secure:!0,sameSite:"Strict",expires:7}),l}catch(r){return console.error("Error during authorization:",r),{success:!1,error:"Authorization failed"}}},N_={primaryColor:"#44c2c0",secondaryColor:"#339c9b",backgroundColor:"#ffffff",textColor:"#52525b",borderColor:"#44c2c0",inputOutlineColor:"transparent",inputOutlineFocusColor:"#323232",inputBackgroundColor:"#EDEDED",inputFocusBackgroundColor:"#EDEDED"},__=wu(n=>({...N_,setTheme:r=>n(l=>({...l,...r}))}));function Tp(n){return Du(__,(r=>r))}const C_=2,E_=30,w_=()=>{const n=new Date,r=new Date(n);return r.setHours(C_,E_,0,0),r.getTime()<=n.getTime()&&r.setDate(r.getDate()+1),r.getTime()},cl=new Map;function D_(n){return`load-products-table:${n}`}function A_(n){const r=cl.get(n);if(r&&Date.now()<r.expiresAt)return r.data;try{const l=localStorage.getItem(n);if(!l)return null;const s=JSON.parse(l);return Date.now()>=s.expiresAt?(localStorage.removeItem(n),null):(cl.set(n,s),s.data)}catch{return null}}function T_(n,r){const l={data:r,expiresAt:w_(),success:!0};cl.set(n,l),localStorage.setItem(n,JSON.stringify(l))}const O_=async({tenant_id:n})=>{if(!n)throw new Error(`No configuration found for tenant: ${n}`);const r=D_(n),l=A_(r);if(l)return{data:l,expiresAt:cl.get(r).expiresAt,success:!0};const u=await(await fetch(`${ir("VITE_API_URL")}/api/load-tables.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${rt.get("pbm-token")}`},body:JSON.stringify({tenant_id:n})})).json();if(u.informativeText!=="Processamento aprovado")throw new Error("PBMLOG: Load Products Table Failed!");rt.set("current-table-id",u.control.tableId,{secure:!0,sameSite:"Strict",expires:1}),rt.set("current-central-number",u.control.centralNumber.toString(),{secure:!0,sameSite:"Strict",expires:1}),rt.set("current-local-hour",u.local_hour,{secure:!0,sameSite:"Strict",expires:1});const f=R_(u.control.tableImage);return T_(r,f),{data:f,expiresAt:cl.get(r).expiresAt,success:!0}};function R_(n){const r=n.map(d=>d.state),l=n.flatMap(d=>d.cities.map(h=>h.city)),s=n.flatMap(d=>d.cities.flatMap(h=>h.federalCodes.map(y=>y.federalCode))),u=n.flatMap(d=>d.cities.flatMap(h=>h.federalCodes.flatMap(y=>y.programNames.map(p=>p.programName)))),f=n.flatMap(d=>d.cities.flatMap(h=>h.federalCodes.flatMap(y=>y.programNames.flatMap(p=>p.products.map(S=>S.ean)))));return{states:r,cities:l,federalCodes:s,programNames:u,products:f}}const M_=async({tenant_id:n,product:r})=>{if(!n)throw new Error(`No configuration found for tenant: ${n}`);if(!r)throw new Error("Product information is required");try{const s=await(await fetch(`${ir("VITE_API_URL")}/api/product.ts`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${rt.get("pbm-token")}`},body:JSON.stringify({tenant_id:n,product:r,table_id:rt.get("current-table-id"),local_hour:rt.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"}}},z_=n=>{const{setTargetProduct:r,setBenefitsList:l,setIsAuthenticatedShopper:s,setCustomLoginUrl:u}=Kt(),{setTheme:f}=Tp(),[d,h]=pe.useState(!1),[y,p]=pe.useState(!1),[S,v]=pe.useState(!0),D=async()=>{try{const E=await S_({tenant_id:n.tenant_id});return E.success||console.error("PBMLOG: Authorization failed!"),E.success}catch(E){return console.error("Error fetching authorization:",E),!1}},N=async()=>{if(!n.target_product)return console.error("PBMLOG: Target product is not defined."),v(!1),!1;try{const E=await O_({tenant_id:n.tenant_id});return E.success?E.data.products.includes(n.target_product.ean.toString())?(v(!0),!0):!1:(console.error("PBMLOG: Product validation failed!"),!1)}catch(E){console.error("Error fetching product validation:",E),v(!1)}return!1},V=async()=>{try{if(!n.target_product)return console.error("PBMLOG: Target product is not defined."),v(!1),!1;const E=await M_({tenant_id:n.tenant_id,product:n.target_product});return E.success?!E.product||E.product.length===0?(console.error("PBMLOG: Product not found in discount check!"),v(!1),!1):(r({...E.product[0],requestedQuantity:"1",listPrice:ya.priceToInteger(n.target_product.listPrice),netPrice:ya.priceToInteger(n.target_product.netPrice)}),l(E.product.map(q=>({...q,listPrice:n.target_product.listPrice,netPrice:n.target_product.netPrice}))),s(n.is_authenticated_shopper),u(n.custom_login_url),v(!0),!0):(console.error("PBMLOG: Product discount check failed!"),v(!1),!1)}catch(E){return console.error(E),v(!1),!1}};return pe.useEffect(()=>{let E=!0;return(async()=>{if(n.theme&&f(n.theme),!await D()||!E)return;const K=await Promise.all([N(),V()].filter(Boolean)).then(ae=>ae.every(Boolean));p(K),!(!K||!E)&&E&&h(!0)})(),()=>{E=!1}},[n.tenant_id]),{IsReady:d,IsValid:y,EanProductExist:S}};function k_(n){const{state:r}=Kt(),{IsReady:l,EanProductExist:s,IsValid:u}=z_(n),{setErrorMessage:f}=lh(),d=Tp(),[h,y]=pe.useTransition();if(u)return l?s?x.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:[x.jsxDEV(Gu,{variant:"main",children:[x.jsxDEV(m1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:74,columnNumber:9},this),x.jsxDEV(Gu,{variant:"simple",children:h?x.jsxDEV(h1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:78,columnNumber:13},this):x.jsxDEV(x.Fragment,{children:[r==="isEmpty"&&x.jsxDEV(o1,{startTransition:y},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:82,columnNumber:17},this),r==="isInvalid"&&x.jsxDEV(b1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:84,columnNumber:41},this),r==="isRegistered"&&x.jsxDEV(v1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:85,columnNumber:44},this),(r==="isActivated"||r==="isPreview")&&x.jsxDEV(y1,{},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:87,columnNumber:17},this),r==="isError"&&x.jsxDEV(sh,{},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),x.jsxDEV(k1,{ID:"ShopperIsNotAuthenticated"},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/PBM.tsx",lineNumber:95,columnNumber:7},this),x.jsxDEV(R1,{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."),x.jsxDEV("div",{id:"pbm-library-root",children:x.jsxDEV(sh,{},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)):x.jsxDEV(x_,{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 j_=`/*! 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}}}`,V_={id:"100282",ean:"7891142982513",requestedQuantity:"1",listPrice:"56579",netPrice:"56579"};window.pbm=hv();class B_ extends HTMLElement{constructor(){super();qd(this,"root",null);qd(this,"props",{tenant_id:"",target_product:V_,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"),u=this.getAttribute("is_authenticated_shopper"),f=this.getAttribute("custom_login_url"),d=this.getAttribute("theme");if(u!==null&&(this.props.is_authenticated_shopper=u==="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,u){if(l==="tenant_id"&&(this.props.tenant_id=u),l==="target_product"&&(this.props.target_product=JSON.parse(u)),l==="is_authenticated_shopper"&&(this.props.is_authenticated_shopper=u==="true"),l==="custom_login_url"&&(this.props.custom_login_url=u===""?"/login":u),l==="theme")try{this.props.theme=u?JSON.parse(u):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 u=document.createElement("style");u.textContent=j_,l.appendChild(u),l.appendChild(s),this.root=jb.createRoot(s)}this.root&&this.root.render(x.jsxDEV(k_,{...this.props},void 0,!1,{fileName:"C:/Dev/agrada/library-pbm/src/web/PBM-webcomponent.tsx",lineNumber:137,columnNumber:24},this))}}}customElements.define("pbm-component",B_)})();
|
|
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)})();
|