uilint-react 0.2.59 → 0.2.60
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/core/plugin-system/index.d.ts +1 -1
- package/dist/core/plugin-system/index.d.ts.map +1 -1
- package/dist/core/plugin-system/registry.d.ts +8 -1
- package/dist/core/plugin-system/registry.d.ts.map +1 -1
- package/dist/core/plugin-system/types.d.ts +34 -0
- package/dist/core/plugin-system/types.d.ts.map +1 -1
- package/dist/devtools.js +86 -86
- package/dist/devtools.js.map +1 -1
- package/dist/index.js +2452 -2143
- package/dist/index.js.map +1 -1
- package/dist/plugins/vision/index.d.ts.map +1 -1
- package/dist/plugins/vision/slice.d.ts +19 -0
- package/dist/plugins/vision/slice.d.ts.map +1 -1
- package/dist/ui/UILint.d.ts.map +1 -1
- package/dist/ui/components/FloatingIcon.d.ts.map +1 -1
- package/dist/ui/components/RegionSelector.d.ts +18 -0
- package/dist/ui/components/RegionSelector.d.ts.map +1 -0
- package/package.json +3 -3
package/dist/devtools.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";function UR(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var Uy={exports:{}},mm={};var Ox;function jR(){if(Ox)return mm;Ox=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function d(h,y,b){var S=null;if(b!==void 0&&(S=""+b),y.key!==void 0&&(S=""+y.key),"key"in y){b={};for(var x in y)x!=="key"&&(b[x]=y[x])}else b=y;return y=b.ref,{$$typeof:u,type:h,key:S,ref:y!==void 0?y:null,props:b}}return mm.Fragment=r,mm.jsx=d,mm.jsxs=d,mm}var gm={},jy={exports:{}},ie={};var _x;function NR(){if(_x)return ie;_x=1;var u=Symbol.for("react.transitional.element"),r=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"),S=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),z=Symbol.iterator;function B(_){return _===null||typeof _!="object"?null:(_=z&&_[z]||_["@@iterator"],typeof _=="function"?_:null)}var lt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ut=Object.assign,st={};function ft(_,$,gt){this.props=_,this.context=$,this.refs=st,this.updater=gt||lt}ft.prototype.isReactComponent={},ft.prototype.setState=function(_,$){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,_,$,"setState")},ft.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function bt(){}bt.prototype=ft.prototype;function it(_,$,gt){this.props=_,this.context=$,this.refs=st,this.updater=gt||lt}var At=it.prototype=new bt;At.constructor=it,ut(At,ft.prototype),At.isPureReactComponent=!0;var St=Array.isArray;function Lt(){}var Tt={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function vt(_,$,gt){var mt=gt.ref;return{$$typeof:u,type:_,key:$,ref:mt!==void 0?mt:null,props:gt}}function K(_,$){return vt(_.type,$,_.props)}function qt(_){return typeof _=="object"&&_!==null&&_.$$typeof===u}function Et(_){var $={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(gt){return $[gt]})}var kt=/\/+/g;function be(_,$){return typeof _=="object"&&_!==null&&_.key!=null?Et(""+_.key):$.toString(36)}function De(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(Lt,Lt):(_.status="pending",_.then(function($){_.status==="pending"&&(_.status="fulfilled",_.value=$)},function($){_.status==="pending"&&(_.status="rejected",_.reason=$)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function V(_,$,gt,mt,Vt){var ee=typeof _;(ee==="undefined"||ee==="boolean")&&(_=null);var Xt=!1;if(_===null)Xt=!0;else switch(ee){case"bigint":case"string":case"number":Xt=!0;break;case"object":switch(_.$$typeof){case u:case r:Xt=!0;break;case M:return Xt=_._init,V(Xt(_._payload),$,gt,mt,Vt)}}if(Xt)return Vt=Vt(_),Xt=mt===""?"."+be(_,0):mt,St(Vt)?(gt="",Xt!=null&&(gt=Xt.replace(kt,"$&/")+"/"),V(Vt,$,gt,"",function(Wa){return Wa})):Vt!=null&&(qt(Vt)&&(Vt=K(Vt,gt+(Vt.key==null||_&&_.key===Vt.key?"":(""+Vt.key).replace(kt,"$&/")+"/")+Xt)),$.push(Vt)),1;Xt=0;var We=mt===""?".":mt+":";if(St(_))for(var Ce=0;Ce<_.length;Ce++)mt=_[Ce],ee=We+be(mt,Ce),Xt+=V(mt,$,gt,ee,Vt);else if(Ce=B(_),typeof Ce=="function")for(_=Ce.call(_),Ce=0;!(mt=_.next()).done;)mt=mt.value,ee=We+be(mt,Ce++),Xt+=V(mt,$,gt,ee,Vt);else if(ee==="object"){if(typeof _.then=="function")return V(De(_),$,gt,mt,Vt);throw $=String(_),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return Xt}function et(_,$,gt){if(_==null)return _;var mt=[],Vt=0;return V(_,mt,"","",function(ee){return $.call(gt,ee,Vt++)}),mt}function pt(_){if(_._status===-1){var $=_._result;$=$(),$.then(function(gt){(_._status===0||_._status===-1)&&(_._status=1,_._result=gt)},function(gt){(_._status===0||_._status===-1)&&(_._status=2,_._result=gt)}),_._status===-1&&(_._status=0,_._result=$)}if(_._status===1)return _._result.default;throw _._result}var zt=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},Ht={map:et,forEach:function(_,$,gt){et(_,function(){$.apply(this,arguments)},gt)},count:function(_){var $=0;return et(_,function(){$++}),$},toArray:function(_){return et(_,function($){return $})||[]},only:function(_){if(!qt(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return ie.Activity=R,ie.Children=Ht,ie.Component=ft,ie.Fragment=d,ie.Profiler=y,ie.PureComponent=it,ie.StrictMode=h,ie.Suspense=w,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Tt,ie.__COMPILER_RUNTIME={__proto__:null,c:function(_){return Tt.H.useMemoCache(_)}},ie.cache=function(_){return function(){return _.apply(null,arguments)}},ie.cacheSignal=function(){return null},ie.cloneElement=function(_,$,gt){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var mt=ut({},_.props),Vt=_.key;if($!=null)for(ee in $.key!==void 0&&(Vt=""+$.key),$)!Z.call($,ee)||ee==="key"||ee==="__self"||ee==="__source"||ee==="ref"&&$.ref===void 0||(mt[ee]=$[ee]);var ee=arguments.length-2;if(ee===1)mt.children=gt;else if(1<ee){for(var Xt=Array(ee),We=0;We<ee;We++)Xt[We]=arguments[We+2];mt.children=Xt}return vt(_.type,Vt,mt)},ie.createContext=function(_){return _={$$typeof:S,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:b,_context:_},_},ie.createElement=function(_,$,gt){var mt,Vt={},ee=null;if($!=null)for(mt in $.key!==void 0&&(ee=""+$.key),$)Z.call($,mt)&&mt!=="key"&&mt!=="__self"&&mt!=="__source"&&(Vt[mt]=$[mt]);var Xt=arguments.length-2;if(Xt===1)Vt.children=gt;else if(1<Xt){for(var We=Array(Xt),Ce=0;Ce<Xt;Ce++)We[Ce]=arguments[Ce+2];Vt.children=We}if(_&&_.defaultProps)for(mt in Xt=_.defaultProps,Xt)Vt[mt]===void 0&&(Vt[mt]=Xt[mt]);return vt(_,ee,Vt)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(_){return{$$typeof:x,render:_}},ie.isValidElement=qt,ie.lazy=function(_){return{$$typeof:M,_payload:{_status:-1,_result:_},_init:pt}},ie.memo=function(_,$){return{$$typeof:A,type:_,compare:$===void 0?null:$}},ie.startTransition=function(_){var $=Tt.T,gt={};Tt.T=gt;try{var mt=_(),Vt=Tt.S;Vt!==null&&Vt(gt,mt),typeof mt=="object"&&mt!==null&&typeof mt.then=="function"&&mt.then(Lt,zt)}catch(ee){zt(ee)}finally{$!==null&>.types!==null&&($.types=gt.types),Tt.T=$}},ie.unstable_useCacheRefresh=function(){return Tt.H.useCacheRefresh()},ie.use=function(_){return Tt.H.use(_)},ie.useActionState=function(_,$,gt){return Tt.H.useActionState(_,$,gt)},ie.useCallback=function(_,$){return Tt.H.useCallback(_,$)},ie.useContext=function(_){return Tt.H.useContext(_)},ie.useDebugValue=function(){},ie.useDeferredValue=function(_,$){return Tt.H.useDeferredValue(_,$)},ie.useEffect=function(_,$){return Tt.H.useEffect(_,$)},ie.useEffectEvent=function(_){return Tt.H.useEffectEvent(_)},ie.useId=function(){return Tt.H.useId()},ie.useImperativeHandle=function(_,$,gt){return Tt.H.useImperativeHandle(_,$,gt)},ie.useInsertionEffect=function(_,$){return Tt.H.useInsertionEffect(_,$)},ie.useLayoutEffect=function(_,$){return Tt.H.useLayoutEffect(_,$)},ie.useMemo=function(_,$){return Tt.H.useMemo(_,$)},ie.useOptimistic=function(_,$){return Tt.H.useOptimistic(_,$)},ie.useReducer=function(_,$,gt){return Tt.H.useReducer(_,$,gt)},ie.useRef=function(_){return Tt.H.useRef(_)},ie.useState=function(_){return Tt.H.useState(_)},ie.useSyncExternalStore=function(_,$,gt){return Tt.H.useSyncExternalStore(_,$,gt)},ie.useTransition=function(){return Tt.H.useTransition()},ie.version="19.2.3",ie}var ym={exports:{}};ym.exports;var Ux;function HR(){return Ux||(Ux=1,(function(u,r){process.env.NODE_ENV!=="production"&&(function(){function d(C,X){Object.defineProperty(b.prototype,C,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",X[0],X[1])}})}function h(C){return C===null||typeof C!="object"?null:(C=Fo&&C[Fo]||C["@@iterator"],typeof C=="function"?C:null)}function y(C,X){C=(C=C.constructor)&&(C.displayName||C.name)||"ReactClass";var yt=C+"."+X;Wo[yt]||(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.",X,C),Wo[yt]=!0)}function b(C,X,yt){this.props=C,this.context=X,this.refs=ze,this.updater=yt||Pa}function S(){}function x(C,X,yt){this.props=C,this.context=X,this.refs=ze,this.updater=yt||Pa}function w(){}function A(C){return""+C}function M(C){try{A(C);var X=!1}catch{X=!0}if(X){X=console;var yt=X.error,xt=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return yt.call(X,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xt),A(C)}}function R(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===Kc?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case _:return"Fragment";case gt:return"Profiler";case $:return"StrictMode";case Xt:return"Suspense";case We:return"SuspenseList";case Dt:return"Activity"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case Ht:return"Portal";case Vt:return C.displayName||"Context";case mt:return(C._context.displayName||"Context")+".Consumer";case ee:var X=C.render;return C=C.displayName,C||(C=X.displayName||X.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case Ce:return X=C.displayName||null,X!==null?X:R(C.type)||"Memo";case Wa:X=C._payload,C=C._init;try{return R(C(X))}catch{}}return null}function z(C){if(C===_)return"<>";if(typeof C=="object"&&C!==null&&C.$$typeof===Wa)return"<...>";try{var X=R(C);return X?"<"+X+">":"<...>"}catch{return"<...>"}}function B(){var C=_t.A;return C===null?null:C.getOwner()}function lt(){return Error("react-stack-top-frame")}function ut(C){if(Po.call(C,"key")){var X=Object.getOwnPropertyDescriptor(C,"key").get;if(X&&X.isReactWarning)return!1}return C.key!==void 0}function st(C,X){function yt(){Xu||(Xu=!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)",X))}yt.isReactWarning=!0,Object.defineProperty(C,"key",{get:yt,configurable:!0})}function ft(){var C=R(this.type);return Jd[C]||(Jd[C]=!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.")),C=this.props.ref,C!==void 0?C:null}function bt(C,X,yt,xt,Ut,Kt){var jt=yt.ref;return C={$$typeof:zt,type:C,key:X,props:yt,_owner:xt},(jt!==void 0?jt:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:ft}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ut}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Kt}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function it(C,X){return X=bt(C.type,X,C.props,C._owner,C._debugStack,C._debugTask),C._store&&(X._store.validated=C._store.validated),X}function At(C){St(C)?C._store&&(C._store.validated=1):typeof C=="object"&&C!==null&&C.$$typeof===Wa&&(C._payload.status==="fulfilled"?St(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function St(C){return typeof C=="object"&&C!==null&&C.$$typeof===zt}function Lt(C){var X={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(yt){return X[yt]})}function Tt(C,X){return typeof C=="object"&&C!==null&&C.key!=null?(M(C.key),Lt(""+C.key)):X.toString(36)}function Z(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(w,w):(C.status="pending",C.then(function(X){C.status==="pending"&&(C.status="fulfilled",C.value=X)},function(X){C.status==="pending"&&(C.status="rejected",C.reason=X)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function vt(C,X,yt,xt,Ut){var Kt=typeof C;(Kt==="undefined"||Kt==="boolean")&&(C=null);var jt=!1;if(C===null)jt=!0;else switch(Kt){case"bigint":case"string":case"number":jt=!0;break;case"object":switch(C.$$typeof){case zt:case Ht:jt=!0;break;case Wa:return jt=C._init,vt(jt(C._payload),X,yt,xt,Ut)}}if(jt){jt=C,Ut=Ut(jt);var he=xt===""?"."+Tt(jt,0):xt;return Gu(Ut)?(yt="",he!=null&&(yt=he.replace($d,"$&/")+"/"),vt(Ut,X,yt,"",function(ca){return ca})):Ut!=null&&(St(Ut)&&(Ut.key!=null&&(jt&&jt.key===Ut.key||M(Ut.key)),yt=it(Ut,yt+(Ut.key==null||jt&&jt.key===Ut.key?"":(""+Ut.key).replace($d,"$&/")+"/")+he),xt!==""&&jt!=null&&St(jt)&&jt.key==null&&jt._store&&!jt._store.validated&&(yt._store.validated=2),Ut=yt),X.push(Ut)),1}if(jt=0,he=xt===""?".":xt+":",Gu(C))for(var ne=0;ne<C.length;ne++)xt=C[ne],Kt=he+Tt(xt,ne),jt+=vt(xt,X,yt,Kt,Ut);else if(ne=h(C),typeof ne=="function")for(ne===C.entries&&(Gl||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gl=!0),C=ne.call(C),ne=0;!(xt=C.next()).done;)xt=xt.value,Kt=he+Tt(xt,ne++),jt+=vt(xt,X,yt,Kt,Ut);else if(Kt==="object"){if(typeof C.then=="function")return vt(Z(C),X,yt,xt,Ut);throw X=String(C),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return jt}function K(C,X,yt){if(C==null)return C;var xt=[],Ut=0;return vt(C,xt,"","",function(Kt){return X.call(yt,Kt,Ut++)}),xt}function qt(C){if(C._status===-1){var X=C._ioInfo;X!=null&&(X.start=X.end=performance.now()),X=C._result;var yt=X();if(yt.then(function(Ut){if(C._status===0||C._status===-1){C._status=1,C._result=Ut;var Kt=C._ioInfo;Kt!=null&&(Kt.end=performance.now()),yt.status===void 0&&(yt.status="fulfilled",yt.value=Ut)}},function(Ut){if(C._status===0||C._status===-1){C._status=2,C._result=Ut;var Kt=C._ioInfo;Kt!=null&&(Kt.end=performance.now()),yt.status===void 0&&(yt.status="rejected",yt.reason=Ut)}}),X=C._ioInfo,X!=null){X.value=yt;var xt=yt.displayName;typeof xt=="string"&&(X.name=xt)}C._status===-1&&(C._status=0,C._result=yt)}if(C._status===1)return X=C._result,X===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
(function(){"use strict";function HR(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var Hy={exports:{}},ym={};var Ux;function BR(){if(Ux)return ym;Ux=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function d(h,y,b){var S=null;if(b!==void 0&&(S=""+b),y.key!==void 0&&(S=""+y.key),"key"in y){b={};for(var x in y)x!=="key"&&(b[x]=y[x])}else b=y;return y=b.ref,{$$typeof:u,type:h,key:S,ref:y!==void 0?y:null,props:b}}return ym.Fragment=r,ym.jsx=d,ym.jsxs=d,ym}var vm={},By={exports:{}},ie={};var jx;function kR(){if(jx)return ie;jx=1;var u=Symbol.for("react.transitional.element"),r=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"),S=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),M=Symbol.iterator;function B(_){return _===null||typeof _!="object"?null:(_=M&&_[M]||_["@@iterator"],typeof _=="function"?_:null)}var nt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},it=Object.assign,rt={};function st(_,F,yt){this.props=_,this.context=F,this.refs=rt,this.updater=yt||nt}st.prototype.isReactComponent={},st.prototype.setState=function(_,F){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,_,F,"setState")},st.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function dt(){}dt.prototype=st.prototype;function ft(_,F,yt){this.props=_,this.context=F,this.refs=rt,this.updater=yt||nt}var Dt=ft.prototype=new dt;Dt.constructor=ft,it(Dt,st.prototype),Dt.isPureReactComponent=!0;var St=Array.isArray;function kt(){}var wt={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function bt(_,F,yt){var gt=yt.ref;return{$$typeof:u,type:_,key:F,ref:gt!==void 0?gt:null,props:yt}}function K(_,F){return bt(_.type,F,_.props)}function Tt(_){return typeof _=="object"&&_!==null&&_.$$typeof===u}function xt(_){var F={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(yt){return F[yt]})}var Nt=/\/+/g;function ye(_,F){return typeof _=="object"&&_!==null&&_.key!=null?xt(""+_.key):F.toString(36)}function De(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(kt,kt):(_.status="pending",_.then(function(F){_.status==="pending"&&(_.status="fulfilled",_.value=F)},function(F){_.status==="pending"&&(_.status="rejected",_.reason=F)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function V(_,F,yt,gt,Yt){var ee=typeof _;(ee==="undefined"||ee==="boolean")&&(_=null);var Xt=!1;if(_===null)Xt=!0;else switch(ee){case"bigint":case"string":case"number":Xt=!0;break;case"object":switch(_.$$typeof){case u:case r:Xt=!0;break;case z:return Xt=_._init,V(Xt(_._payload),F,yt,gt,Yt)}}if(Xt)return Yt=Yt(_),Xt=gt===""?"."+ye(_,0):gt,St(Yt)?(yt="",Xt!=null&&(yt=Xt.replace(Nt,"$&/")+"/"),V(Yt,F,yt,"",function(Wa){return Wa})):Yt!=null&&(Tt(Yt)&&(Yt=K(Yt,yt+(Yt.key==null||_&&_.key===Yt.key?"":(""+Yt.key).replace(Nt,"$&/")+"/")+Xt)),F.push(Yt)),1;Xt=0;var We=gt===""?".":gt+":";if(St(_))for(var Ce=0;Ce<_.length;Ce++)gt=_[Ce],ee=We+ye(gt,Ce),Xt+=V(gt,F,yt,ee,Yt);else if(Ce=B(_),typeof Ce=="function")for(_=Ce.call(_),Ce=0;!(gt=_.next()).done;)gt=gt.value,ee=We+ye(gt,Ce++),Xt+=V(gt,F,yt,ee,Yt);else if(ee==="object"){if(typeof _.then=="function")return V(De(_),F,yt,gt,Yt);throw F=String(_),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return Xt}function et(_,F,yt){if(_==null)return _;var gt=[],Yt=0;return V(_,gt,"","",function(ee){return F.call(yt,ee,Yt++)}),gt}function mt(_){if(_._status===-1){var F=_._result;F=F(),F.then(function(yt){(_._status===0||_._status===-1)&&(_._status=1,_._result=yt)},function(yt){(_._status===0||_._status===-1)&&(_._status=2,_._result=yt)}),_._status===-1&&(_._status=0,_._result=F)}if(_._status===1)return _._result.default;throw _._result}var Mt=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},Lt={map:et,forEach:function(_,F,yt){et(_,function(){F.apply(this,arguments)},yt)},count:function(_){var F=0;return et(_,function(){F++}),F},toArray:function(_){return et(_,function(F){return F})||[]},only:function(_){if(!Tt(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return ie.Activity=R,ie.Children=Lt,ie.Component=st,ie.Fragment=d,ie.Profiler=y,ie.PureComponent=ft,ie.StrictMode=h,ie.Suspense=w,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=wt,ie.__COMPILER_RUNTIME={__proto__:null,c:function(_){return wt.H.useMemoCache(_)}},ie.cache=function(_){return function(){return _.apply(null,arguments)}},ie.cacheSignal=function(){return null},ie.cloneElement=function(_,F,yt){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var gt=it({},_.props),Yt=_.key;if(F!=null)for(ee in F.key!==void 0&&(Yt=""+F.key),F)!Z.call(F,ee)||ee==="key"||ee==="__self"||ee==="__source"||ee==="ref"&&F.ref===void 0||(gt[ee]=F[ee]);var ee=arguments.length-2;if(ee===1)gt.children=yt;else if(1<ee){for(var Xt=Array(ee),We=0;We<ee;We++)Xt[We]=arguments[We+2];gt.children=Xt}return bt(_.type,Yt,gt)},ie.createContext=function(_){return _={$$typeof:S,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:b,_context:_},_},ie.createElement=function(_,F,yt){var gt,Yt={},ee=null;if(F!=null)for(gt in F.key!==void 0&&(ee=""+F.key),F)Z.call(F,gt)&>!=="key"&>!=="__self"&>!=="__source"&&(Yt[gt]=F[gt]);var Xt=arguments.length-2;if(Xt===1)Yt.children=yt;else if(1<Xt){for(var We=Array(Xt),Ce=0;Ce<Xt;Ce++)We[Ce]=arguments[Ce+2];Yt.children=We}if(_&&_.defaultProps)for(gt in Xt=_.defaultProps,Xt)Yt[gt]===void 0&&(Yt[gt]=Xt[gt]);return bt(_,ee,Yt)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(_){return{$$typeof:x,render:_}},ie.isValidElement=Tt,ie.lazy=function(_){return{$$typeof:z,_payload:{_status:-1,_result:_},_init:mt}},ie.memo=function(_,F){return{$$typeof:A,type:_,compare:F===void 0?null:F}},ie.startTransition=function(_){var F=wt.T,yt={};wt.T=yt;try{var gt=_(),Yt=wt.S;Yt!==null&&Yt(yt,gt),typeof gt=="object"&>!==null&&typeof gt.then=="function"&>.then(kt,Mt)}catch(ee){Mt(ee)}finally{F!==null&&yt.types!==null&&(F.types=yt.types),wt.T=F}},ie.unstable_useCacheRefresh=function(){return wt.H.useCacheRefresh()},ie.use=function(_){return wt.H.use(_)},ie.useActionState=function(_,F,yt){return wt.H.useActionState(_,F,yt)},ie.useCallback=function(_,F){return wt.H.useCallback(_,F)},ie.useContext=function(_){return wt.H.useContext(_)},ie.useDebugValue=function(){},ie.useDeferredValue=function(_,F){return wt.H.useDeferredValue(_,F)},ie.useEffect=function(_,F){return wt.H.useEffect(_,F)},ie.useEffectEvent=function(_){return wt.H.useEffectEvent(_)},ie.useId=function(){return wt.H.useId()},ie.useImperativeHandle=function(_,F,yt){return wt.H.useImperativeHandle(_,F,yt)},ie.useInsertionEffect=function(_,F){return wt.H.useInsertionEffect(_,F)},ie.useLayoutEffect=function(_,F){return wt.H.useLayoutEffect(_,F)},ie.useMemo=function(_,F){return wt.H.useMemo(_,F)},ie.useOptimistic=function(_,F){return wt.H.useOptimistic(_,F)},ie.useReducer=function(_,F,yt){return wt.H.useReducer(_,F,yt)},ie.useRef=function(_){return wt.H.useRef(_)},ie.useState=function(_){return wt.H.useState(_)},ie.useSyncExternalStore=function(_,F,yt){return wt.H.useSyncExternalStore(_,F,yt)},ie.useTransition=function(){return wt.H.useTransition()},ie.version="19.2.3",ie}var bm={exports:{}};bm.exports;var Nx;function LR(){return Nx||(Nx=1,(function(u,r){process.env.NODE_ENV!=="production"&&(function(){function d(C,X){Object.defineProperty(b.prototype,C,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",X[0],X[1])}})}function h(C){return C===null||typeof C!="object"?null:(C=Wo&&C[Wo]||C["@@iterator"],typeof C=="function"?C:null)}function y(C,X){C=(C=C.constructor)&&(C.displayName||C.name)||"ReactClass";var vt=C+"."+X;Po[vt]||(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.",X,C),Po[vt]=!0)}function b(C,X,vt){this.props=C,this.context=X,this.refs=ze,this.updater=vt||Pa}function S(){}function x(C,X,vt){this.props=C,this.context=X,this.refs=ze,this.updater=vt||Pa}function w(){}function A(C){return""+C}function z(C){try{A(C);var X=!1}catch{X=!0}if(X){X=console;var vt=X.error,Et=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return vt.call(X,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Et),A(C)}}function R(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===Jc?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case _:return"Fragment";case yt:return"Profiler";case F:return"StrictMode";case Xt:return"Suspense";case We:return"SuspenseList";case Ct:return"Activity"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case Lt:return"Portal";case Yt:return C.displayName||"Context";case gt:return(C._context.displayName||"Context")+".Consumer";case ee:var X=C.render;return C=C.displayName,C||(C=X.displayName||X.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case Ce:return X=C.displayName||null,X!==null?X:R(C.type)||"Memo";case Wa:X=C._payload,C=C._init;try{return R(C(X))}catch{}}return null}function M(C){if(C===_)return"<>";if(typeof C=="object"&&C!==null&&C.$$typeof===Wa)return"<...>";try{var X=R(C);return X?"<"+X+">":"<...>"}catch{return"<...>"}}function B(){var C=Ut.A;return C===null?null:C.getOwner()}function nt(){return Error("react-stack-top-frame")}function it(C){if(Io.call(C,"key")){var X=Object.getOwnPropertyDescriptor(C,"key").get;if(X&&X.isReactWarning)return!1}return C.key!==void 0}function rt(C,X){function vt(){Qu||(Qu=!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)",X))}vt.isReactWarning=!0,Object.defineProperty(C,"key",{get:vt,configurable:!0})}function st(){var C=R(this.type);return Fd[C]||(Fd[C]=!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.")),C=this.props.ref,C!==void 0?C:null}function dt(C,X,vt,Et,jt,Kt){var Ht=vt.ref;return C={$$typeof:Mt,type:C,key:X,props:vt,_owner:Et},(Ht!==void 0?Ht:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:st}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:jt}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Kt}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function ft(C,X){return X=dt(C.type,X,C.props,C._owner,C._debugStack,C._debugTask),C._store&&(X._store.validated=C._store.validated),X}function Dt(C){St(C)?C._store&&(C._store.validated=1):typeof C=="object"&&C!==null&&C.$$typeof===Wa&&(C._payload.status==="fulfilled"?St(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function St(C){return typeof C=="object"&&C!==null&&C.$$typeof===Mt}function kt(C){var X={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(vt){return X[vt]})}function wt(C,X){return typeof C=="object"&&C!==null&&C.key!=null?(z(C.key),kt(""+C.key)):X.toString(36)}function Z(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(w,w):(C.status="pending",C.then(function(X){C.status==="pending"&&(C.status="fulfilled",C.value=X)},function(X){C.status==="pending"&&(C.status="rejected",C.reason=X)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function bt(C,X,vt,Et,jt){var Kt=typeof C;(Kt==="undefined"||Kt==="boolean")&&(C=null);var Ht=!1;if(C===null)Ht=!0;else switch(Kt){case"bigint":case"string":case"number":Ht=!0;break;case"object":switch(C.$$typeof){case Mt:case Lt:Ht=!0;break;case Wa:return Ht=C._init,bt(Ht(C._payload),X,vt,Et,jt)}}if(Ht){Ht=C,jt=jt(Ht);var he=Et===""?"."+wt(Ht,0):Et;return Xu(jt)?(vt="",he!=null&&(vt=he.replace(Wd,"$&/")+"/"),bt(jt,X,vt,"",function(ca){return ca})):jt!=null&&(St(jt)&&(jt.key!=null&&(Ht&&Ht.key===jt.key||z(jt.key)),vt=ft(jt,vt+(jt.key==null||Ht&&Ht.key===jt.key?"":(""+jt.key).replace(Wd,"$&/")+"/")+he),Et!==""&&Ht!=null&&St(Ht)&&Ht.key==null&&Ht._store&&!Ht._store.validated&&(vt._store.validated=2),jt=vt),X.push(jt)),1}if(Ht=0,he=Et===""?".":Et+":",Xu(C))for(var ne=0;ne<C.length;ne++)Et=C[ne],Kt=he+wt(Et,ne),Ht+=bt(Et,X,vt,Kt,jt);else if(ne=h(C),typeof ne=="function")for(ne===C.entries&&(Gl||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gl=!0),C=ne.call(C),ne=0;!(Et=C.next()).done;)Et=Et.value,Kt=he+wt(Et,ne++),Ht+=bt(Et,X,vt,Kt,jt);else if(Kt==="object"){if(typeof C.then=="function")return bt(Z(C),X,vt,Et,jt);throw X=String(C),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Ht}function K(C,X,vt){if(C==null)return C;var Et=[],jt=0;return bt(C,Et,"","",function(Kt){return X.call(vt,Kt,jt++)}),Et}function Tt(C){if(C._status===-1){var X=C._ioInfo;X!=null&&(X.start=X.end=performance.now()),X=C._result;var vt=X();if(vt.then(function(jt){if(C._status===0||C._status===-1){C._status=1,C._result=jt;var Kt=C._ioInfo;Kt!=null&&(Kt.end=performance.now()),vt.status===void 0&&(vt.status="fulfilled",vt.value=jt)}},function(jt){if(C._status===0||C._status===-1){C._status=2,C._result=jt;var Kt=C._ioInfo;Kt!=null&&(Kt.end=performance.now()),vt.status===void 0&&(vt.status="rejected",vt.reason=jt)}}),X=C._ioInfo,X!=null){X.value=vt;var Et=vt.displayName;typeof Et=="string"&&(X.name=Et)}C._status===-1&&(C._status=0,C._result=vt)}if(C._status===1)return X=C._result,X===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
2
|
|
|
3
3
|
Your code should look like:
|
|
4
4
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -6,84 +6,84 @@ Your code should look like:
|
|
|
6
6
|
Did you accidentally put curly braces around the import?`,X),"default"in X||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
7
|
|
|
8
8
|
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,X),X.default;throw C._result}function
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,X),X.default;throw C._result}function xt(){var C=Ut.H;return C===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:
|
|
10
10
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
11
|
2. You might be breaking the Rules of Hooks
|
|
12
12
|
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),C}function kt(){_t.asyncTransitions--}function be(C){if(Qu===null)try{var X=("require"+Math.random()).slice(0,7);Qu=(u&&u[X]).call(u,"timers").setImmediate}catch{Qu=function(xt){Jc===!1&&(Jc=!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 Ut=new MessageChannel;Ut.port1.onmessage=xt,Ut.port2.postMessage(void 0)}}return Qu(C)}function De(C){return 1<C.length&&typeof AggregateError=="function"?new AggregateError(C):C[0]}function V(C,X){X!==Al-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. "),Al=X}function et(C,X,yt){var xt=_t.actQueue;if(xt!==null)if(xt.length!==0)try{pt(xt),be(function(){return et(C,X,yt)});return}catch(Ut){_t.thrownErrors.push(Ut)}else _t.actQueue=null;0<_t.thrownErrors.length?(xt=De(_t.thrownErrors),_t.thrownErrors.length=0,yt(xt)):X(C)}function pt(C){if(!Ia){Ia=!0;var X=0;try{for(;X<C.length;X++){var yt=C[X];do{_t.didUsePromise=!1;var xt=yt(!1);if(xt!==null){if(_t.didUsePromise){C[X]=yt,C.splice(0,X);return}yt=xt}else break}while(!0)}C.length=0}catch(Ut){C.splice(0,X+1),_t.thrownErrors.push(Ut)}finally{Ia=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var zt=Symbol.for("react.transitional.element"),Ht=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),gt=Symbol.for("react.profiler"),mt=Symbol.for("react.consumer"),Vt=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),Xt=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),Wa=Symbol.for("react.lazy"),Dt=Symbol.for("react.activity"),Fo=Symbol.iterator,Wo={},Pa={isMounted:function(){return!1},enqueueForceUpdate:function(C){y(C,"forceUpdate")},enqueueReplaceState:function(C){y(C,"replaceState")},enqueueSetState:function(C){y(C,"setState")}},Ti=Object.assign,ze={};Object.freeze(ze),b.prototype.isReactComponent={},b.prototype.setState=function(C,X){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,X,"setState")},b.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};var sa={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(Io in sa)sa.hasOwnProperty(Io)&&d(Io,sa[Io]);S.prototype=b.prototype,sa=x.prototype=new S,sa.constructor=x,Ti(sa,b.prototype),sa.isPureReactComponent=!0;var Gu=Array.isArray,Kc=Symbol.for("react.client.reference"),_t={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Po=Object.prototype.hasOwnProperty,wi=console.createTask?console.createTask:function(){return null};sa={react_stack_bottom_frame:function(C){return C()}};var Xu,Rn,Jd={},os=sa.react_stack_bottom_frame.bind(sa,lt)(),us=wi(z(lt)),Gl=!1,$d=/\/+/g,rs=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},Jc=!1,Qu=null,Al=0,On=!1,Ia=!1,Vn=typeof queueMicrotask=="function"?function(C){queueMicrotask(function(){return queueMicrotask(C)})}:be;sa=Object.freeze({__proto__:null,c:function(C){return Et().useMemoCache(C)}});var Io={map:K,forEach:function(C,X,yt){K(C,function(){X.apply(this,arguments)},yt)},count:function(C){var X=0;return K(C,function(){X++}),X},toArray:function(C){return K(C,function(X){return X})||[]},only:function(C){if(!St(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};r.Activity=Dt,r.Children=Io,r.Component=b,r.Fragment=_,r.Profiler=gt,r.PureComponent=x,r.StrictMode=$,r.Suspense=Xt,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_t,r.__COMPILER_RUNTIME=sa,r.act=function(C){var X=_t.actQueue,yt=Al;Al++;var xt=_t.actQueue=X!==null?X:[],Ut=!1;try{var Kt=C()}catch(ne){_t.thrownErrors.push(ne)}if(0<_t.thrownErrors.length)throw V(X,yt),C=De(_t.thrownErrors),_t.thrownErrors.length=0,C;if(Kt!==null&&typeof Kt=="object"&&typeof Kt.then=="function"){var jt=Kt;return Vn(function(){Ut||On||(On=!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(ne,ca){Ut=!0,jt.then(function(Rl){if(V(X,yt),yt===0){try{pt(xt),be(function(){return et(Rl,ne,ca)})}catch(ss){_t.thrownErrors.push(ss)}if(0<_t.thrownErrors.length){var tu=De(_t.thrownErrors);_t.thrownErrors.length=0,ca(tu)}}else ne(Rl)},function(Rl){V(X,yt),0<_t.thrownErrors.length&&(Rl=De(_t.thrownErrors),_t.thrownErrors.length=0),ca(Rl)})}}}var he=Kt;if(V(X,yt),yt===0&&(pt(xt),xt.length!==0&&Vn(function(){Ut||On||(On=!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(() => ...)"))}),_t.actQueue=null),0<_t.thrownErrors.length)throw C=De(_t.thrownErrors),_t.thrownErrors.length=0,C;return{then:function(ne,ca){Ut=!0,yt===0?(_t.actQueue=xt,be(function(){return et(he,ne,ca)})):ne(he)}}},r.cache=function(C){return function(){return C.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var C=_t.getCurrentStack;return C===null?null:C()},r.cloneElement=function(C,X,yt){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var xt=Ti({},C.props),Ut=C.key,Kt=C._owner;if(X!=null){var jt;t:{if(Po.call(X,"ref")&&(jt=Object.getOwnPropertyDescriptor(X,"ref").get)&&jt.isReactWarning){jt=!1;break t}jt=X.ref!==void 0}jt&&(Kt=B()),ut(X)&&(M(X.key),Ut=""+X.key);for(he in X)!Po.call(X,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&X.ref===void 0||(xt[he]=X[he])}var he=arguments.length-2;if(he===1)xt.children=yt;else if(1<he){jt=Array(he);for(var ne=0;ne<he;ne++)jt[ne]=arguments[ne+2];xt.children=jt}for(xt=bt(C.type,Ut,xt,Kt,C._debugStack,C._debugTask),Ut=2;Ut<arguments.length;Ut++)At(arguments[Ut]);return xt},r.createContext=function(C){return C={$$typeof:Vt,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:mt,_context:C},C._currentRenderer=null,C._currentRenderer2=null,C},r.createElement=function(C,X,yt){for(var xt=2;xt<arguments.length;xt++)At(arguments[xt]);xt={};var Ut=null;if(X!=null)for(ne in Rn||!("__self"in X)||"key"in X||(Rn=!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")),ut(X)&&(M(X.key),Ut=""+X.key),X)Po.call(X,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(xt[ne]=X[ne]);var Kt=arguments.length-2;if(Kt===1)xt.children=yt;else if(1<Kt){for(var jt=Array(Kt),he=0;he<Kt;he++)jt[he]=arguments[he+2];Object.freeze&&Object.freeze(jt),xt.children=jt}if(C&&C.defaultProps)for(ne in Kt=C.defaultProps,Kt)xt[ne]===void 0&&(xt[ne]=Kt[ne]);Ut&&st(xt,typeof C=="function"?C.displayName||C.name||"Unknown":C);var ne=1e4>_t.recentlyCreatedOwnerStacks++;return bt(C,Ut,xt,B(),ne?Error("react-stack-top-frame"):os,ne?wi(z(C)):us)},r.createRef=function(){var C={current:null};return Object.seal(C),C},r.forwardRef=function(C){C!=null&&C.$$typeof===Ce?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof C!="function"?console.error("forwardRef requires a render function but was given %s.",C===null?"null":typeof C):C.length!==0&&C.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",C.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),C!=null&&C.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var X={$$typeof:ee,render:C},yt;return Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return yt},set:function(xt){yt=xt,C.name||C.displayName||(Object.defineProperty(C,"name",{value:xt}),C.displayName=xt)}}),X},r.isValidElement=St,r.lazy=function(C){C={_status:-1,_result:C};var X={$$typeof:Wa,_payload:C,_init:qt},yt={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return C._ioInfo=yt,X._debugInfo=[{awaited:yt}],X},r.memo=function(C,X){C==null&&console.error("memo: The first argument must be a component. Instead received: %s",C===null?"null":typeof C),X={$$typeof:Ce,type:C,compare:X===void 0?null:X};var yt;return Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return yt},set:function(xt){yt=xt,C.name||C.displayName||(Object.defineProperty(C,"name",{value:xt}),C.displayName=xt)}}),X},r.startTransition=function(C){var X=_t.T,yt={};yt._updatedFibers=new Set,_t.T=yt;try{var xt=C(),Ut=_t.S;Ut!==null&&Ut(yt,xt),typeof xt=="object"&&xt!==null&&typeof xt.then=="function"&&(_t.asyncTransitions++,xt.then(kt,kt),xt.then(w,rs))}catch(Kt){rs(Kt)}finally{X===null&&yt._updatedFibers&&(C=yt._updatedFibers.size,yt._updatedFibers.clear(),10<C&&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.")),X!==null&&yt.types!==null&&(X.types!==null&&X.types!==yt.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."),X.types=yt.types),_t.T=X}},r.unstable_useCacheRefresh=function(){return Et().useCacheRefresh()},r.use=function(C){return Et().use(C)},r.useActionState=function(C,X,yt){return Et().useActionState(C,X,yt)},r.useCallback=function(C,X){return Et().useCallback(C,X)},r.useContext=function(C){var X=Et();return C.$$typeof===mt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X.useContext(C)},r.useDebugValue=function(C,X){return Et().useDebugValue(C,X)},r.useDeferredValue=function(C,X){return Et().useDeferredValue(C,X)},r.useEffect=function(C,X){return C==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Et().useEffect(C,X)},r.useEffectEvent=function(C){return Et().useEffectEvent(C)},r.useId=function(){return Et().useId()},r.useImperativeHandle=function(C,X,yt){return Et().useImperativeHandle(C,X,yt)},r.useInsertionEffect=function(C,X){return C==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Et().useInsertionEffect(C,X)},r.useLayoutEffect=function(C,X){return C==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Et().useLayoutEffect(C,X)},r.useMemo=function(C,X){return Et().useMemo(C,X)},r.useOptimistic=function(C,X){return Et().useOptimistic(C,X)},r.useReducer=function(C,X,yt){return Et().useReducer(C,X,yt)},r.useRef=function(C){return Et().useRef(C)},r.useState=function(C){return Et().useState(C)},r.useSyncExternalStore=function(C,X,yt){return Et().useSyncExternalStore(C,X,yt)},r.useTransition=function(){return Et().useTransition()},r.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(ym,ym.exports)),ym.exports}var jx;function Nd(){return jx||(jx=1,process.env.NODE_ENV==="production"?jy.exports=NR():jy.exports=HR()),jy.exports}var Nx;function BR(){return Nx||(Nx=1,process.env.NODE_ENV!=="production"&&(function(){function u(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===qt?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case st:return"Fragment";case bt:return"Profiler";case ft:return"StrictMode";case Lt:return"Suspense";case Tt:return"SuspenseList";case K: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 ut:return"Portal";case At:return _.displayName||"Context";case it:return(_._context.displayName||"Context")+".Consumer";case St:var $=_.render;return _=_.displayName,_||(_=$.displayName||$.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Z:return $=_.displayName||null,$!==null?$:u(_.type)||"Memo";case vt:$=_._payload,_=_._init;try{return u(_($))}catch{}}return null}function r(_){return""+_}function d(_){try{r(_);var $=!1}catch{$=!0}if($){$=console;var gt=$.error,mt=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return gt.call($,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",mt),r(_)}}function h(_){if(_===st)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===vt)return"<...>";try{var $=u(_);return $?"<"+$+">":"<...>"}catch{return"<...>"}}function y(){var _=Et.A;return _===null?null:_.getOwner()}function b(){return Error("react-stack-top-frame")}function S(_){if(kt.call(_,"key")){var $=Object.getOwnPropertyDescriptor(_,"key").get;if($&&$.isReactWarning)return!1}return _.key!==void 0}function x(_,$){function gt(){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)",$))}gt.isReactWarning=!0,Object.defineProperty(_,"key",{get:gt,configurable:!0})}function w(){var _=u(this.type);return et[_]||(et[_]=!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 A(_,$,gt,mt,Vt,ee){var Xt=gt.ref;return _={$$typeof:lt,type:_,key:$,props:gt,_owner:mt},(Xt!==void 0?Xt:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:w}):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:Vt}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ee}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function M(_,$,gt,mt,Vt,ee){var Xt=$.children;if(Xt!==void 0)if(mt)if(be(Xt)){for(mt=0;mt<Xt.length;mt++)R(Xt[mt]);Object.freeze&&Object.freeze(Xt)}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 R(Xt);if(kt.call($,"key")){Xt=u(_);var We=Object.keys($).filter(function(Wa){return Wa!=="key"});mt=0<We.length?"{key: someKey, "+We.join(": ..., ")+": ...}":"{key: someKey}",Ht[Xt+mt]||(We=0<We.length?"{"+We.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),C}function Nt(){Ut.asyncTransitions--}function ye(C){if(Zu===null)try{var X=("require"+Math.random()).slice(0,7);Zu=(u&&u[X]).call(u,"timers").setImmediate}catch{Zu=function(Et){$c===!1&&($c=!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 jt=new MessageChannel;jt.port1.onmessage=Et,jt.port2.postMessage(void 0)}}return Zu(C)}function De(C){return 1<C.length&&typeof AggregateError=="function"?new AggregateError(C):C[0]}function V(C,X){X!==Al-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. "),Al=X}function et(C,X,vt){var Et=Ut.actQueue;if(Et!==null)if(Et.length!==0)try{mt(Et),ye(function(){return et(C,X,vt)});return}catch(jt){Ut.thrownErrors.push(jt)}else Ut.actQueue=null;0<Ut.thrownErrors.length?(Et=De(Ut.thrownErrors),Ut.thrownErrors.length=0,vt(Et)):X(C)}function mt(C){if(!Ia){Ia=!0;var X=0;try{for(;X<C.length;X++){var vt=C[X];do{Ut.didUsePromise=!1;var Et=vt(!1);if(Et!==null){if(Ut.didUsePromise){C[X]=vt,C.splice(0,X);return}vt=Et}else break}while(!0)}C.length=0}catch(jt){C.splice(0,X+1),Ut.thrownErrors.push(jt)}finally{Ia=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Mt=Symbol.for("react.transitional.element"),Lt=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),yt=Symbol.for("react.profiler"),gt=Symbol.for("react.consumer"),Yt=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),Xt=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),Wa=Symbol.for("react.lazy"),Ct=Symbol.for("react.activity"),Wo=Symbol.iterator,Po={},Pa={isMounted:function(){return!1},enqueueForceUpdate:function(C){y(C,"forceUpdate")},enqueueReplaceState:function(C){y(C,"replaceState")},enqueueSetState:function(C){y(C,"setState")}},Ti=Object.assign,ze={};Object.freeze(ze),b.prototype.isReactComponent={},b.prototype.setState=function(C,X){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,X,"setState")},b.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};var sa={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(tu in sa)sa.hasOwnProperty(tu)&&d(tu,sa[tu]);S.prototype=b.prototype,sa=x.prototype=new S,sa.constructor=x,Ti(sa,b.prototype),sa.isPureReactComponent=!0;var Xu=Array.isArray,Jc=Symbol.for("react.client.reference"),Ut={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Io=Object.prototype.hasOwnProperty,wi=console.createTask?console.createTask:function(){return null};sa={react_stack_bottom_frame:function(C){return C()}};var Qu,Rn,Fd={},rs=sa.react_stack_bottom_frame.bind(sa,nt)(),ss=wi(M(nt)),Gl=!1,Wd=/\/+/g,cs=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},$c=!1,Zu=null,Al=0,On=!1,Ia=!1,Vn=typeof queueMicrotask=="function"?function(C){queueMicrotask(function(){return queueMicrotask(C)})}:ye;sa=Object.freeze({__proto__:null,c:function(C){return xt().useMemoCache(C)}});var tu={map:K,forEach:function(C,X,vt){K(C,function(){X.apply(this,arguments)},vt)},count:function(C){var X=0;return K(C,function(){X++}),X},toArray:function(C){return K(C,function(X){return X})||[]},only:function(C){if(!St(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};r.Activity=Ct,r.Children=tu,r.Component=b,r.Fragment=_,r.Profiler=yt,r.PureComponent=x,r.StrictMode=F,r.Suspense=Xt,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ut,r.__COMPILER_RUNTIME=sa,r.act=function(C){var X=Ut.actQueue,vt=Al;Al++;var Et=Ut.actQueue=X!==null?X:[],jt=!1;try{var Kt=C()}catch(ne){Ut.thrownErrors.push(ne)}if(0<Ut.thrownErrors.length)throw V(X,vt),C=De(Ut.thrownErrors),Ut.thrownErrors.length=0,C;if(Kt!==null&&typeof Kt=="object"&&typeof Kt.then=="function"){var Ht=Kt;return Vn(function(){jt||On||(On=!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(ne,ca){jt=!0,Ht.then(function(Rl){if(V(X,vt),vt===0){try{mt(Et),ye(function(){return et(Rl,ne,ca)})}catch(fs){Ut.thrownErrors.push(fs)}if(0<Ut.thrownErrors.length){var eu=De(Ut.thrownErrors);Ut.thrownErrors.length=0,ca(eu)}}else ne(Rl)},function(Rl){V(X,vt),0<Ut.thrownErrors.length&&(Rl=De(Ut.thrownErrors),Ut.thrownErrors.length=0),ca(Rl)})}}}var he=Kt;if(V(X,vt),vt===0&&(mt(Et),Et.length!==0&&Vn(function(){jt||On||(On=!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(() => ...)"))}),Ut.actQueue=null),0<Ut.thrownErrors.length)throw C=De(Ut.thrownErrors),Ut.thrownErrors.length=0,C;return{then:function(ne,ca){jt=!0,vt===0?(Ut.actQueue=Et,ye(function(){return et(he,ne,ca)})):ne(he)}}},r.cache=function(C){return function(){return C.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var C=Ut.getCurrentStack;return C===null?null:C()},r.cloneElement=function(C,X,vt){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var Et=Ti({},C.props),jt=C.key,Kt=C._owner;if(X!=null){var Ht;t:{if(Io.call(X,"ref")&&(Ht=Object.getOwnPropertyDescriptor(X,"ref").get)&&Ht.isReactWarning){Ht=!1;break t}Ht=X.ref!==void 0}Ht&&(Kt=B()),it(X)&&(z(X.key),jt=""+X.key);for(he in X)!Io.call(X,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&X.ref===void 0||(Et[he]=X[he])}var he=arguments.length-2;if(he===1)Et.children=vt;else if(1<he){Ht=Array(he);for(var ne=0;ne<he;ne++)Ht[ne]=arguments[ne+2];Et.children=Ht}for(Et=dt(C.type,jt,Et,Kt,C._debugStack,C._debugTask),jt=2;jt<arguments.length;jt++)Dt(arguments[jt]);return Et},r.createContext=function(C){return C={$$typeof:Yt,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:gt,_context:C},C._currentRenderer=null,C._currentRenderer2=null,C},r.createElement=function(C,X,vt){for(var Et=2;Et<arguments.length;Et++)Dt(arguments[Et]);Et={};var jt=null;if(X!=null)for(ne in Rn||!("__self"in X)||"key"in X||(Rn=!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")),it(X)&&(z(X.key),jt=""+X.key),X)Io.call(X,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(Et[ne]=X[ne]);var Kt=arguments.length-2;if(Kt===1)Et.children=vt;else if(1<Kt){for(var Ht=Array(Kt),he=0;he<Kt;he++)Ht[he]=arguments[he+2];Object.freeze&&Object.freeze(Ht),Et.children=Ht}if(C&&C.defaultProps)for(ne in Kt=C.defaultProps,Kt)Et[ne]===void 0&&(Et[ne]=Kt[ne]);jt&&rt(Et,typeof C=="function"?C.displayName||C.name||"Unknown":C);var ne=1e4>Ut.recentlyCreatedOwnerStacks++;return dt(C,jt,Et,B(),ne?Error("react-stack-top-frame"):rs,ne?wi(M(C)):ss)},r.createRef=function(){var C={current:null};return Object.seal(C),C},r.forwardRef=function(C){C!=null&&C.$$typeof===Ce?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof C!="function"?console.error("forwardRef requires a render function but was given %s.",C===null?"null":typeof C):C.length!==0&&C.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",C.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),C!=null&&C.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var X={$$typeof:ee,render:C},vt;return Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return vt},set:function(Et){vt=Et,C.name||C.displayName||(Object.defineProperty(C,"name",{value:Et}),C.displayName=Et)}}),X},r.isValidElement=St,r.lazy=function(C){C={_status:-1,_result:C};var X={$$typeof:Wa,_payload:C,_init:Tt},vt={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return C._ioInfo=vt,X._debugInfo=[{awaited:vt}],X},r.memo=function(C,X){C==null&&console.error("memo: The first argument must be a component. Instead received: %s",C===null?"null":typeof C),X={$$typeof:Ce,type:C,compare:X===void 0?null:X};var vt;return Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return vt},set:function(Et){vt=Et,C.name||C.displayName||(Object.defineProperty(C,"name",{value:Et}),C.displayName=Et)}}),X},r.startTransition=function(C){var X=Ut.T,vt={};vt._updatedFibers=new Set,Ut.T=vt;try{var Et=C(),jt=Ut.S;jt!==null&&jt(vt,Et),typeof Et=="object"&&Et!==null&&typeof Et.then=="function"&&(Ut.asyncTransitions++,Et.then(Nt,Nt),Et.then(w,cs))}catch(Kt){cs(Kt)}finally{X===null&&vt._updatedFibers&&(C=vt._updatedFibers.size,vt._updatedFibers.clear(),10<C&&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.")),X!==null&&vt.types!==null&&(X.types!==null&&X.types!==vt.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."),X.types=vt.types),Ut.T=X}},r.unstable_useCacheRefresh=function(){return xt().useCacheRefresh()},r.use=function(C){return xt().use(C)},r.useActionState=function(C,X,vt){return xt().useActionState(C,X,vt)},r.useCallback=function(C,X){return xt().useCallback(C,X)},r.useContext=function(C){var X=xt();return C.$$typeof===gt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X.useContext(C)},r.useDebugValue=function(C,X){return xt().useDebugValue(C,X)},r.useDeferredValue=function(C,X){return xt().useDeferredValue(C,X)},r.useEffect=function(C,X){return C==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),xt().useEffect(C,X)},r.useEffectEvent=function(C){return xt().useEffectEvent(C)},r.useId=function(){return xt().useId()},r.useImperativeHandle=function(C,X,vt){return xt().useImperativeHandle(C,X,vt)},r.useInsertionEffect=function(C,X){return C==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),xt().useInsertionEffect(C,X)},r.useLayoutEffect=function(C,X){return C==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),xt().useLayoutEffect(C,X)},r.useMemo=function(C,X){return xt().useMemo(C,X)},r.useOptimistic=function(C,X){return xt().useOptimistic(C,X)},r.useReducer=function(C,X,vt){return xt().useReducer(C,X,vt)},r.useRef=function(C){return xt().useRef(C)},r.useState=function(C){return xt().useState(C)},r.useSyncExternalStore=function(C,X,vt){return xt().useSyncExternalStore(C,X,vt)},r.useTransition=function(){return xt().useTransition()},r.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(bm,bm.exports)),bm.exports}var Hx;function Hd(){return Hx||(Hx=1,process.env.NODE_ENV==="production"?By.exports=kR():By.exports=LR()),By.exports}var Bx;function VR(){return Bx||(Bx=1,process.env.NODE_ENV!=="production"&&(function(){function u(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===Tt?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case rt:return"Fragment";case dt:return"Profiler";case st:return"StrictMode";case kt:return"Suspense";case wt:return"SuspenseList";case K: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 it:return"Portal";case Dt:return _.displayName||"Context";case ft:return(_._context.displayName||"Context")+".Consumer";case St:var F=_.render;return _=_.displayName,_||(_=F.displayName||F.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Z:return F=_.displayName||null,F!==null?F:u(_.type)||"Memo";case bt:F=_._payload,_=_._init;try{return u(_(F))}catch{}}return null}function r(_){return""+_}function d(_){try{r(_);var F=!1}catch{F=!0}if(F){F=console;var yt=F.error,gt=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return yt.call(F,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",gt),r(_)}}function h(_){if(_===rt)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===bt)return"<...>";try{var F=u(_);return F?"<"+F+">":"<...>"}catch{return"<...>"}}function y(){var _=xt.A;return _===null?null:_.getOwner()}function b(){return Error("react-stack-top-frame")}function S(_){if(Nt.call(_,"key")){var F=Object.getOwnPropertyDescriptor(_,"key").get;if(F&&F.isReactWarning)return!1}return _.key!==void 0}function x(_,F){function yt(){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)",F))}yt.isReactWarning=!0,Object.defineProperty(_,"key",{get:yt,configurable:!0})}function w(){var _=u(this.type);return et[_]||(et[_]=!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 A(_,F,yt,gt,Yt,ee){var Xt=yt.ref;return _={$$typeof:nt,type:_,key:F,props:yt,_owner:gt},(Xt!==void 0?Xt:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:w}):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:Yt}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ee}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function z(_,F,yt,gt,Yt,ee){var Xt=F.children;if(Xt!==void 0)if(gt)if(ye(Xt)){for(gt=0;gt<Xt.length;gt++)R(Xt[gt]);Object.freeze&&Object.freeze(Xt)}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 R(Xt);if(Nt.call(F,"key")){Xt=u(_);var We=Object.keys(F).filter(function(Wa){return Wa!=="key"});gt=0<We.length?"{key: someKey, "+We.join(": ..., ")+": ...}":"{key: someKey}",Lt[Xt+gt]||(We=0<We.length?"{"+We.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
14
|
let props = %s;
|
|
15
15
|
<%s {...props} />
|
|
16
16
|
React keys must be passed directly to JSX without using spread:
|
|
17
17
|
let props = %s;
|
|
18
|
-
<%s key={someKey} {...props} />`,mt,Xt,We,Xt),Ht[Xt+mt]=!0)}if(Xt=null,gt!==void 0&&(d(gt),Xt=""+gt),S($)&&(d($.key),Xt=""+$.key),"key"in $){gt={};for(var Ce in $)Ce!=="key"&&(gt[Ce]=$[Ce])}else gt=$;return Xt&&x(gt,typeof _=="function"?_.displayName||_.name||"Unknown":_),A(_,Xt,gt,y(),Vt,ee)}function R(_){z(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===vt&&(_._payload.status==="fulfilled"?z(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function z(_){return typeof _=="object"&&_!==null&&_.$$typeof===lt}var B=Nd(),lt=Symbol.for("react.transitional.element"),ut=Symbol.for("react.portal"),st=Symbol.for("react.fragment"),ft=Symbol.for("react.strict_mode"),bt=Symbol.for("react.profiler"),it=Symbol.for("react.consumer"),At=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),Lt=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),qt=Symbol.for("react.client.reference"),Et=B.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,kt=Object.prototype.hasOwnProperty,be=Array.isArray,De=console.createTask?console.createTask:function(){return null};B={react_stack_bottom_frame:function(_){return _()}};var V,et={},pt=B.react_stack_bottom_frame.bind(B,b)(),zt=De(h(b)),Ht={};gm.Fragment=st,gm.jsx=function(_,$,gt){var mt=1e4>Et.recentlyCreatedOwnerStacks++;return M(_,$,gt,!1,mt?Error("react-stack-top-frame"):pt,mt?De(h(_)):zt)},gm.jsxs=function(_,$,gt){var mt=1e4>Et.recentlyCreatedOwnerStacks++;return M(_,$,gt,!0,mt?Error("react-stack-top-frame"):pt,mt?De(h(_)):zt)}})()),gm}var Hx;function LR(){return Hx||(Hx=1,process.env.NODE_ENV==="production"?Uy.exports=jR():Uy.exports=BR()),Uy.exports}var G=LR(),Ny={exports:{}},vm={},Hy={exports:{}},O1={};var Bx;function kR(){return Bx||(Bx=1,(function(u){function r(V,et){var pt=V.length;V.push(et);t:for(;0<pt;){var zt=pt-1>>>1,Ht=V[zt];if(0<y(Ht,et))V[zt]=et,V[pt]=Ht,pt=zt;else break t}}function d(V){return V.length===0?null:V[0]}function h(V){if(V.length===0)return null;var et=V[0],pt=V.pop();if(pt!==et){V[0]=pt;t:for(var zt=0,Ht=V.length,_=Ht>>>1;zt<_;){var $=2*(zt+1)-1,gt=V[$],mt=$+1,Vt=V[mt];if(0>y(gt,pt))mt<Ht&&0>y(Vt,gt)?(V[zt]=Vt,V[mt]=pt,zt=mt):(V[zt]=gt,V[$]=pt,zt=$);else if(mt<Ht&&0>y(Vt,pt))V[zt]=Vt,V[mt]=pt,zt=mt;else break t}}return et}function y(V,et){var pt=V.sortIndex-et.sortIndex;return pt!==0?pt:V.id-et.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;u.unstable_now=function(){return b.now()}}else{var S=Date,x=S.now();u.unstable_now=function(){return S.now()-x}}var w=[],A=[],M=1,R=null,z=3,B=!1,lt=!1,ut=!1,st=!1,ft=typeof setTimeout=="function"?setTimeout:null,bt=typeof clearTimeout=="function"?clearTimeout:null,it=typeof setImmediate<"u"?setImmediate:null;function At(V){for(var et=d(A);et!==null;){if(et.callback===null)h(A);else if(et.startTime<=V)h(A),et.sortIndex=et.expirationTime,r(w,et);else break;et=d(A)}}function St(V){if(ut=!1,At(V),!lt)if(d(w)!==null)lt=!0,Lt||(Lt=!0,Et());else{var et=d(A);et!==null&&De(St,et.startTime-V)}}var Lt=!1,Tt=-1,Z=5,vt=-1;function K(){return st?!0:!(u.unstable_now()-vt<Z)}function qt(){if(st=!1,Lt){var V=u.unstable_now();vt=V;var et=!0;try{t:{lt=!1,ut&&(ut=!1,bt(Tt),Tt=-1),B=!0;var pt=z;try{e:{for(At(V),R=d(w);R!==null&&!(R.expirationTime>V&&K());){var zt=R.callback;if(typeof zt=="function"){R.callback=null,z=R.priorityLevel;var Ht=zt(R.expirationTime<=V);if(V=u.unstable_now(),typeof Ht=="function"){R.callback=Ht,At(V),et=!0;break e}R===d(w)&&h(w),At(V)}else h(w);R=d(w)}if(R!==null)et=!0;else{var _=d(A);_!==null&&De(St,_.startTime-V),et=!1}}break t}finally{R=null,z=pt,B=!1}et=void 0}}finally{et?Et():Lt=!1}}}var Et;if(typeof it=="function")Et=function(){it(qt)};else if(typeof MessageChannel<"u"){var kt=new MessageChannel,be=kt.port2;kt.port1.onmessage=qt,Et=function(){be.postMessage(null)}}else Et=function(){ft(qt,0)};function De(V,et){Tt=ft(function(){V(u.unstable_now())},et)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(V){V.callback=null},u.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"):Z=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return z},u.unstable_next=function(V){switch(z){case 1:case 2:case 3:var et=3;break;default:et=z}var pt=z;z=et;try{return V()}finally{z=pt}},u.unstable_requestPaint=function(){st=!0},u.unstable_runWithPriority=function(V,et){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var pt=z;z=V;try{return et()}finally{z=pt}},u.unstable_scheduleCallback=function(V,et,pt){var zt=u.unstable_now();switch(typeof pt=="object"&&pt!==null?(pt=pt.delay,pt=typeof pt=="number"&&0<pt?zt+pt:zt):pt=zt,V){case 1:var Ht=-1;break;case 2:Ht=250;break;case 5:Ht=1073741823;break;case 4:Ht=1e4;break;default:Ht=5e3}return Ht=pt+Ht,V={id:M++,callback:et,priorityLevel:V,startTime:pt,expirationTime:Ht,sortIndex:-1},pt>zt?(V.sortIndex=pt,r(A,V),d(w)===null&&V===d(A)&&(ut?(bt(Tt),Tt=-1):ut=!0,De(St,pt-zt))):(V.sortIndex=Ht,r(w,V),lt||B||(lt=!0,Lt||(Lt=!0,Et()))),V},u.unstable_shouldYield=K,u.unstable_wrapCallback=function(V){var et=z;return function(){var pt=z;z=et;try{return V.apply(this,arguments)}finally{z=pt}}}})(O1)),O1}var _1={};var Lx;function VR(){return Lx||(Lx=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function r(){if(St=!1,vt){var V=u.unstable_now();Et=V;var et=!0;try{t:{it=!1,At&&(At=!1,Tt(K),K=-1),bt=!0;var pt=ft;try{e:{for(S(V),st=h(B);st!==null&&!(st.expirationTime>V&&w());){var zt=st.callback;if(typeof zt=="function"){st.callback=null,ft=st.priorityLevel;var Ht=zt(st.expirationTime<=V);if(V=u.unstable_now(),typeof Ht=="function"){st.callback=Ht,S(V),et=!0;break e}st===h(B)&&y(B),S(V)}else y(B);st=h(B)}if(st!==null)et=!0;else{var _=h(lt);_!==null&&A(x,_.startTime-V),et=!1}}break t}finally{st=null,ft=pt,bt=!1}et=void 0}}finally{et?kt():vt=!1}}}function d(V,et){var pt=V.length;V.push(et);t:for(;0<pt;){var zt=pt-1>>>1,Ht=V[zt];if(0<b(Ht,et))V[zt]=et,V[pt]=Ht,pt=zt;else break t}}function h(V){return V.length===0?null:V[0]}function y(V){if(V.length===0)return null;var et=V[0],pt=V.pop();if(pt!==et){V[0]=pt;t:for(var zt=0,Ht=V.length,_=Ht>>>1;zt<_;){var $=2*(zt+1)-1,gt=V[$],mt=$+1,Vt=V[mt];if(0>b(gt,pt))mt<Ht&&0>b(Vt,gt)?(V[zt]=Vt,V[mt]=pt,zt=mt):(V[zt]=gt,V[$]=pt,zt=$);else if(mt<Ht&&0>b(Vt,pt))V[zt]=Vt,V[mt]=pt,zt=mt;else break t}}return et}function b(V,et){var pt=V.sortIndex-et.sortIndex;return pt!==0?pt:V.id-et.id}function S(V){for(var et=h(lt);et!==null;){if(et.callback===null)y(lt);else if(et.startTime<=V)y(lt),et.sortIndex=et.expirationTime,d(B,et);else break;et=h(lt)}}function x(V){if(At=!1,S(V),!it)if(h(B)!==null)it=!0,vt||(vt=!0,kt());else{var et=h(lt);et!==null&&A(x,et.startTime-V)}}function w(){return St?!0:!(u.unstable_now()-Et<qt)}function A(V,et){K=Lt(function(){V(u.unstable_now())},et)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;u.unstable_now=function(){return M.now()}}else{var R=Date,z=R.now();u.unstable_now=function(){return R.now()-z}}var B=[],lt=[],ut=1,st=null,ft=3,bt=!1,it=!1,At=!1,St=!1,Lt=typeof setTimeout=="function"?setTimeout:null,Tt=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null,vt=!1,K=-1,qt=5,Et=-1;if(typeof Z=="function")var kt=function(){Z(r)};else if(typeof MessageChannel<"u"){var be=new MessageChannel,De=be.port2;be.port1.onmessage=r,kt=function(){De.postMessage(null)}}else kt=function(){Lt(r,0)};u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(V){V.callback=null},u.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"):qt=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return ft},u.unstable_next=function(V){switch(ft){case 1:case 2:case 3:var et=3;break;default:et=ft}var pt=ft;ft=et;try{return V()}finally{ft=pt}},u.unstable_requestPaint=function(){St=!0},u.unstable_runWithPriority=function(V,et){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var pt=ft;ft=V;try{return et()}finally{ft=pt}},u.unstable_scheduleCallback=function(V,et,pt){var zt=u.unstable_now();switch(typeof pt=="object"&&pt!==null?(pt=pt.delay,pt=typeof pt=="number"&&0<pt?zt+pt:zt):pt=zt,V){case 1:var Ht=-1;break;case 2:Ht=250;break;case 5:Ht=1073741823;break;case 4:Ht=1e4;break;default:Ht=5e3}return Ht=pt+Ht,V={id:ut++,callback:et,priorityLevel:V,startTime:pt,expirationTime:Ht,sortIndex:-1},pt>zt?(V.sortIndex=pt,d(lt,V),h(B)===null&&V===h(lt)&&(At?(Tt(K),K=-1):At=!0,A(x,pt-zt))):(V.sortIndex=Ht,d(B,V),it||bt||(it=!0,vt||(vt=!0,kt()))),V},u.unstable_shouldYield=w,u.unstable_wrapCallback=function(V){var et=ft;return function(){var pt=ft;ft=et;try{return V.apply(this,arguments)}finally{ft=pt}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(_1)),_1}var kx;function Vx(){return kx||(kx=1,process.env.NODE_ENV==="production"?Hy.exports=kR():Hy.exports=VR()),Hy.exports}var By={exports:{}},Ba={};var Yx;function YR(){if(Yx)return Ba;Yx=1;var u=Nd();function r(w){var A="https://react.dev/errors/"+w;if(1<arguments.length){A+="?args[]="+encodeURIComponent(arguments[1]);for(var M=2;M<arguments.length;M++)A+="&args[]="+encodeURIComponent(arguments[M])}return"Minified React error #"+w+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var h={d:{f:d,r:function(){throw Error(r(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},y=Symbol.for("react.portal");function b(w,A,M){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:y,key:R==null?null:""+R,children:w,containerInfo:A,implementation:M}}var S=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(w,A){if(w==="font")return"";if(typeof A=="string")return A==="use-credentials"?A:""}return Ba.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,Ba.createPortal=function(w,A){var M=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!A||A.nodeType!==1&&A.nodeType!==9&&A.nodeType!==11)throw Error(r(299));return b(w,A,null,M)},Ba.flushSync=function(w){var A=S.T,M=h.p;try{if(S.T=null,h.p=2,w)return w()}finally{S.T=A,h.p=M,h.d.f()}},Ba.preconnect=function(w,A){typeof w=="string"&&(A?(A=A.crossOrigin,A=typeof A=="string"?A==="use-credentials"?A:"":void 0):A=null,h.d.C(w,A))},Ba.prefetchDNS=function(w){typeof w=="string"&&h.d.D(w)},Ba.preinit=function(w,A){if(typeof w=="string"&&A&&typeof A.as=="string"){var M=A.as,R=x(M,A.crossOrigin),z=typeof A.integrity=="string"?A.integrity:void 0,B=typeof A.fetchPriority=="string"?A.fetchPriority:void 0;M==="style"?h.d.S(w,typeof A.precedence=="string"?A.precedence:void 0,{crossOrigin:R,integrity:z,fetchPriority:B}):M==="script"&&h.d.X(w,{crossOrigin:R,integrity:z,fetchPriority:B,nonce:typeof A.nonce=="string"?A.nonce:void 0})}},Ba.preinitModule=function(w,A){if(typeof w=="string")if(typeof A=="object"&&A!==null){if(A.as==null||A.as==="script"){var M=x(A.as,A.crossOrigin);h.d.M(w,{crossOrigin:M,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0})}}else A==null&&h.d.M(w)},Ba.preload=function(w,A){if(typeof w=="string"&&typeof A=="object"&&A!==null&&typeof A.as=="string"){var M=A.as,R=x(M,A.crossOrigin);h.d.L(w,M,{crossOrigin:R,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0,type:typeof A.type=="string"?A.type:void 0,fetchPriority:typeof A.fetchPriority=="string"?A.fetchPriority:void 0,referrerPolicy:typeof A.referrerPolicy=="string"?A.referrerPolicy:void 0,imageSrcSet:typeof A.imageSrcSet=="string"?A.imageSrcSet:void 0,imageSizes:typeof A.imageSizes=="string"?A.imageSizes:void 0,media:typeof A.media=="string"?A.media:void 0})}},Ba.preloadModule=function(w,A){if(typeof w=="string")if(A){var M=x(A.as,A.crossOrigin);h.d.m(w,{as:typeof A.as=="string"&&A.as!=="script"?A.as:void 0,crossOrigin:M,integrity:typeof A.integrity=="string"?A.integrity:void 0})}else h.d.m(w)},Ba.requestFormReset=function(w){h.d.r(w)},Ba.unstable_batchedUpdates=function(w,A){return w(A)},Ba.useFormState=function(w,A,M){return S.H.useFormState(w,A,M)},Ba.useFormStatus=function(){return S.H.useHostTransitionStatus()},Ba.version="19.2.3",Ba}var La={};var qx;function qR(){return qx||(qx=1,process.env.NODE_ENV!=="production"&&(function(){function u(){}function r(R){return""+R}function d(R,z,B){var lt=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(lt);var ut=!1}catch{ut=!0}return ut&&(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&<[Symbol.toStringTag]||lt.constructor.name||"Object"),r(lt)),{$$typeof:A,key:lt==null?null:""+lt,children:R,containerInfo:z,implementation:B}}function h(R,z){if(R==="font")return"";if(typeof z=="string")return z==="use-credentials"?z:""}function y(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function b(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R=="string"?JSON.stringify(R):typeof R=="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function S(){var R=M.H;return R===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:
|
|
18
|
+
<%s key={someKey} {...props} />`,gt,Xt,We,Xt),Lt[Xt+gt]=!0)}if(Xt=null,yt!==void 0&&(d(yt),Xt=""+yt),S(F)&&(d(F.key),Xt=""+F.key),"key"in F){yt={};for(var Ce in F)Ce!=="key"&&(yt[Ce]=F[Ce])}else yt=F;return Xt&&x(yt,typeof _=="function"?_.displayName||_.name||"Unknown":_),A(_,Xt,yt,y(),Yt,ee)}function R(_){M(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===bt&&(_._payload.status==="fulfilled"?M(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function M(_){return typeof _=="object"&&_!==null&&_.$$typeof===nt}var B=Hd(),nt=Symbol.for("react.transitional.element"),it=Symbol.for("react.portal"),rt=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),ft=Symbol.for("react.consumer"),Dt=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),kt=Symbol.for("react.suspense"),wt=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),bt=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),Tt=Symbol.for("react.client.reference"),xt=B.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nt=Object.prototype.hasOwnProperty,ye=Array.isArray,De=console.createTask?console.createTask:function(){return null};B={react_stack_bottom_frame:function(_){return _()}};var V,et={},mt=B.react_stack_bottom_frame.bind(B,b)(),Mt=De(h(b)),Lt={};vm.Fragment=rt,vm.jsx=function(_,F,yt){var gt=1e4>xt.recentlyCreatedOwnerStacks++;return z(_,F,yt,!1,gt?Error("react-stack-top-frame"):mt,gt?De(h(_)):Mt)},vm.jsxs=function(_,F,yt){var gt=1e4>xt.recentlyCreatedOwnerStacks++;return z(_,F,yt,!0,gt?Error("react-stack-top-frame"):mt,gt?De(h(_)):Mt)}})()),vm}var kx;function YR(){return kx||(kx=1,process.env.NODE_ENV==="production"?Hy.exports=BR():Hy.exports=VR()),Hy.exports}var G=YR(),ky={exports:{}},Sm={},Ly={exports:{}},_1={};var Lx;function qR(){return Lx||(Lx=1,(function(u){function r(V,et){var mt=V.length;V.push(et);t:for(;0<mt;){var Mt=mt-1>>>1,Lt=V[Mt];if(0<y(Lt,et))V[Mt]=et,V[mt]=Lt,mt=Mt;else break t}}function d(V){return V.length===0?null:V[0]}function h(V){if(V.length===0)return null;var et=V[0],mt=V.pop();if(mt!==et){V[0]=mt;t:for(var Mt=0,Lt=V.length,_=Lt>>>1;Mt<_;){var F=2*(Mt+1)-1,yt=V[F],gt=F+1,Yt=V[gt];if(0>y(yt,mt))gt<Lt&&0>y(Yt,yt)?(V[Mt]=Yt,V[gt]=mt,Mt=gt):(V[Mt]=yt,V[F]=mt,Mt=F);else if(gt<Lt&&0>y(Yt,mt))V[Mt]=Yt,V[gt]=mt,Mt=gt;else break t}}return et}function y(V,et){var mt=V.sortIndex-et.sortIndex;return mt!==0?mt:V.id-et.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;u.unstable_now=function(){return b.now()}}else{var S=Date,x=S.now();u.unstable_now=function(){return S.now()-x}}var w=[],A=[],z=1,R=null,M=3,B=!1,nt=!1,it=!1,rt=!1,st=typeof setTimeout=="function"?setTimeout:null,dt=typeof clearTimeout=="function"?clearTimeout:null,ft=typeof setImmediate<"u"?setImmediate:null;function Dt(V){for(var et=d(A);et!==null;){if(et.callback===null)h(A);else if(et.startTime<=V)h(A),et.sortIndex=et.expirationTime,r(w,et);else break;et=d(A)}}function St(V){if(it=!1,Dt(V),!nt)if(d(w)!==null)nt=!0,kt||(kt=!0,xt());else{var et=d(A);et!==null&&De(St,et.startTime-V)}}var kt=!1,wt=-1,Z=5,bt=-1;function K(){return rt?!0:!(u.unstable_now()-bt<Z)}function Tt(){if(rt=!1,kt){var V=u.unstable_now();bt=V;var et=!0;try{t:{nt=!1,it&&(it=!1,dt(wt),wt=-1),B=!0;var mt=M;try{e:{for(Dt(V),R=d(w);R!==null&&!(R.expirationTime>V&&K());){var Mt=R.callback;if(typeof Mt=="function"){R.callback=null,M=R.priorityLevel;var Lt=Mt(R.expirationTime<=V);if(V=u.unstable_now(),typeof Lt=="function"){R.callback=Lt,Dt(V),et=!0;break e}R===d(w)&&h(w),Dt(V)}else h(w);R=d(w)}if(R!==null)et=!0;else{var _=d(A);_!==null&&De(St,_.startTime-V),et=!1}}break t}finally{R=null,M=mt,B=!1}et=void 0}}finally{et?xt():kt=!1}}}var xt;if(typeof ft=="function")xt=function(){ft(Tt)};else if(typeof MessageChannel<"u"){var Nt=new MessageChannel,ye=Nt.port2;Nt.port1.onmessage=Tt,xt=function(){ye.postMessage(null)}}else xt=function(){st(Tt,0)};function De(V,et){wt=st(function(){V(u.unstable_now())},et)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(V){V.callback=null},u.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"):Z=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return M},u.unstable_next=function(V){switch(M){case 1:case 2:case 3:var et=3;break;default:et=M}var mt=M;M=et;try{return V()}finally{M=mt}},u.unstable_requestPaint=function(){rt=!0},u.unstable_runWithPriority=function(V,et){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var mt=M;M=V;try{return et()}finally{M=mt}},u.unstable_scheduleCallback=function(V,et,mt){var Mt=u.unstable_now();switch(typeof mt=="object"&&mt!==null?(mt=mt.delay,mt=typeof mt=="number"&&0<mt?Mt+mt:Mt):mt=Mt,V){case 1:var Lt=-1;break;case 2:Lt=250;break;case 5:Lt=1073741823;break;case 4:Lt=1e4;break;default:Lt=5e3}return Lt=mt+Lt,V={id:z++,callback:et,priorityLevel:V,startTime:mt,expirationTime:Lt,sortIndex:-1},mt>Mt?(V.sortIndex=mt,r(A,V),d(w)===null&&V===d(A)&&(it?(dt(wt),wt=-1):it=!0,De(St,mt-Mt))):(V.sortIndex=Lt,r(w,V),nt||B||(nt=!0,kt||(kt=!0,xt()))),V},u.unstable_shouldYield=K,u.unstable_wrapCallback=function(V){var et=M;return function(){var mt=M;M=et;try{return V.apply(this,arguments)}finally{M=mt}}}})(_1)),_1}var U1={};var Vx;function GR(){return Vx||(Vx=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function r(){if(St=!1,bt){var V=u.unstable_now();xt=V;var et=!0;try{t:{ft=!1,Dt&&(Dt=!1,wt(K),K=-1),dt=!0;var mt=st;try{e:{for(S(V),rt=h(B);rt!==null&&!(rt.expirationTime>V&&w());){var Mt=rt.callback;if(typeof Mt=="function"){rt.callback=null,st=rt.priorityLevel;var Lt=Mt(rt.expirationTime<=V);if(V=u.unstable_now(),typeof Lt=="function"){rt.callback=Lt,S(V),et=!0;break e}rt===h(B)&&y(B),S(V)}else y(B);rt=h(B)}if(rt!==null)et=!0;else{var _=h(nt);_!==null&&A(x,_.startTime-V),et=!1}}break t}finally{rt=null,st=mt,dt=!1}et=void 0}}finally{et?Nt():bt=!1}}}function d(V,et){var mt=V.length;V.push(et);t:for(;0<mt;){var Mt=mt-1>>>1,Lt=V[Mt];if(0<b(Lt,et))V[Mt]=et,V[mt]=Lt,mt=Mt;else break t}}function h(V){return V.length===0?null:V[0]}function y(V){if(V.length===0)return null;var et=V[0],mt=V.pop();if(mt!==et){V[0]=mt;t:for(var Mt=0,Lt=V.length,_=Lt>>>1;Mt<_;){var F=2*(Mt+1)-1,yt=V[F],gt=F+1,Yt=V[gt];if(0>b(yt,mt))gt<Lt&&0>b(Yt,yt)?(V[Mt]=Yt,V[gt]=mt,Mt=gt):(V[Mt]=yt,V[F]=mt,Mt=F);else if(gt<Lt&&0>b(Yt,mt))V[Mt]=Yt,V[gt]=mt,Mt=gt;else break t}}return et}function b(V,et){var mt=V.sortIndex-et.sortIndex;return mt!==0?mt:V.id-et.id}function S(V){for(var et=h(nt);et!==null;){if(et.callback===null)y(nt);else if(et.startTime<=V)y(nt),et.sortIndex=et.expirationTime,d(B,et);else break;et=h(nt)}}function x(V){if(Dt=!1,S(V),!ft)if(h(B)!==null)ft=!0,bt||(bt=!0,Nt());else{var et=h(nt);et!==null&&A(x,et.startTime-V)}}function w(){return St?!0:!(u.unstable_now()-xt<Tt)}function A(V,et){K=kt(function(){V(u.unstable_now())},et)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var z=performance;u.unstable_now=function(){return z.now()}}else{var R=Date,M=R.now();u.unstable_now=function(){return R.now()-M}}var B=[],nt=[],it=1,rt=null,st=3,dt=!1,ft=!1,Dt=!1,St=!1,kt=typeof setTimeout=="function"?setTimeout:null,wt=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null,bt=!1,K=-1,Tt=5,xt=-1;if(typeof Z=="function")var Nt=function(){Z(r)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,De=ye.port2;ye.port1.onmessage=r,Nt=function(){De.postMessage(null)}}else Nt=function(){kt(r,0)};u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(V){V.callback=null},u.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"):Tt=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return st},u.unstable_next=function(V){switch(st){case 1:case 2:case 3:var et=3;break;default:et=st}var mt=st;st=et;try{return V()}finally{st=mt}},u.unstable_requestPaint=function(){St=!0},u.unstable_runWithPriority=function(V,et){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var mt=st;st=V;try{return et()}finally{st=mt}},u.unstable_scheduleCallback=function(V,et,mt){var Mt=u.unstable_now();switch(typeof mt=="object"&&mt!==null?(mt=mt.delay,mt=typeof mt=="number"&&0<mt?Mt+mt:Mt):mt=Mt,V){case 1:var Lt=-1;break;case 2:Lt=250;break;case 5:Lt=1073741823;break;case 4:Lt=1e4;break;default:Lt=5e3}return Lt=mt+Lt,V={id:it++,callback:et,priorityLevel:V,startTime:mt,expirationTime:Lt,sortIndex:-1},mt>Mt?(V.sortIndex=mt,d(nt,V),h(B)===null&&V===h(nt)&&(Dt?(wt(K),K=-1):Dt=!0,A(x,mt-Mt))):(V.sortIndex=Lt,d(B,V),ft||dt||(ft=!0,bt||(bt=!0,Nt()))),V},u.unstable_shouldYield=w,u.unstable_wrapCallback=function(V){var et=st;return function(){var mt=st;st=et;try{return V.apply(this,arguments)}finally{st=mt}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(U1)),U1}var Yx;function qx(){return Yx||(Yx=1,process.env.NODE_ENV==="production"?Ly.exports=qR():Ly.exports=GR()),Ly.exports}var Vy={exports:{}},Ba={};var Gx;function XR(){if(Gx)return Ba;Gx=1;var u=Hd();function r(w){var A="https://react.dev/errors/"+w;if(1<arguments.length){A+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)A+="&args[]="+encodeURIComponent(arguments[z])}return"Minified React error #"+w+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var h={d:{f:d,r:function(){throw Error(r(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},y=Symbol.for("react.portal");function b(w,A,z){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:y,key:R==null?null:""+R,children:w,containerInfo:A,implementation:z}}var S=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(w,A){if(w==="font")return"";if(typeof A=="string")return A==="use-credentials"?A:""}return Ba.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,Ba.createPortal=function(w,A){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!A||A.nodeType!==1&&A.nodeType!==9&&A.nodeType!==11)throw Error(r(299));return b(w,A,null,z)},Ba.flushSync=function(w){var A=S.T,z=h.p;try{if(S.T=null,h.p=2,w)return w()}finally{S.T=A,h.p=z,h.d.f()}},Ba.preconnect=function(w,A){typeof w=="string"&&(A?(A=A.crossOrigin,A=typeof A=="string"?A==="use-credentials"?A:"":void 0):A=null,h.d.C(w,A))},Ba.prefetchDNS=function(w){typeof w=="string"&&h.d.D(w)},Ba.preinit=function(w,A){if(typeof w=="string"&&A&&typeof A.as=="string"){var z=A.as,R=x(z,A.crossOrigin),M=typeof A.integrity=="string"?A.integrity:void 0,B=typeof A.fetchPriority=="string"?A.fetchPriority:void 0;z==="style"?h.d.S(w,typeof A.precedence=="string"?A.precedence:void 0,{crossOrigin:R,integrity:M,fetchPriority:B}):z==="script"&&h.d.X(w,{crossOrigin:R,integrity:M,fetchPriority:B,nonce:typeof A.nonce=="string"?A.nonce:void 0})}},Ba.preinitModule=function(w,A){if(typeof w=="string")if(typeof A=="object"&&A!==null){if(A.as==null||A.as==="script"){var z=x(A.as,A.crossOrigin);h.d.M(w,{crossOrigin:z,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0})}}else A==null&&h.d.M(w)},Ba.preload=function(w,A){if(typeof w=="string"&&typeof A=="object"&&A!==null&&typeof A.as=="string"){var z=A.as,R=x(z,A.crossOrigin);h.d.L(w,z,{crossOrigin:R,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0,type:typeof A.type=="string"?A.type:void 0,fetchPriority:typeof A.fetchPriority=="string"?A.fetchPriority:void 0,referrerPolicy:typeof A.referrerPolicy=="string"?A.referrerPolicy:void 0,imageSrcSet:typeof A.imageSrcSet=="string"?A.imageSrcSet:void 0,imageSizes:typeof A.imageSizes=="string"?A.imageSizes:void 0,media:typeof A.media=="string"?A.media:void 0})}},Ba.preloadModule=function(w,A){if(typeof w=="string")if(A){var z=x(A.as,A.crossOrigin);h.d.m(w,{as:typeof A.as=="string"&&A.as!=="script"?A.as:void 0,crossOrigin:z,integrity:typeof A.integrity=="string"?A.integrity:void 0})}else h.d.m(w)},Ba.requestFormReset=function(w){h.d.r(w)},Ba.unstable_batchedUpdates=function(w,A){return w(A)},Ba.useFormState=function(w,A,z){return S.H.useFormState(w,A,z)},Ba.useFormStatus=function(){return S.H.useHostTransitionStatus()},Ba.version="19.2.3",Ba}var ka={};var Xx;function QR(){return Xx||(Xx=1,process.env.NODE_ENV!=="production"&&(function(){function u(){}function r(R){return""+R}function d(R,M,B){var nt=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(nt);var it=!1}catch{it=!0}return it&&(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&&nt[Symbol.toStringTag]||nt.constructor.name||"Object"),r(nt)),{$$typeof:A,key:nt==null?null:""+nt,children:R,containerInfo:M,implementation:B}}function h(R,M){if(R==="font")return"";if(typeof M=="string")return M==="use-credentials"?M:""}function y(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function b(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R=="string"?JSON.stringify(R):typeof R=="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function S(){var R=z.H;return R===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:
|
|
19
19
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
20
|
2. You might be breaking the Rules of Hooks
|
|
21
21
|
3. You might have more than one copy of React in the same app
|
|
22
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var x=Nd(),w={d:{f:u,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},A=Symbol.for("react.portal"),M=x.__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"),La.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,La.createPortal=function(R,z){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return d(R,z,null,B)},La.flushSync=function(R){var z=M.T,B=w.p;try{if(M.T=null,w.p=2,R)return R()}finally{M.T=z,w.p=B,w.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.")}},La.preconnect=function(R,z){typeof R=="string"&&R?z!=null&&typeof z!="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.",b(z)):z!=null&&typeof z.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.",y(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(R)),typeof R=="string"&&(z?(z=z.crossOrigin,z=typeof z=="string"?z==="use-credentials"?z:"":void 0):z=null,w.d.C(R,z))},La.prefetchDNS=function(R){if(typeof R!="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(R));else if(1<arguments.length){var z=arguments[1];typeof z=="object"&&z.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`.",b(z)):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`.",b(z))}typeof R=="string"&&w.d.D(R)},La.preinit=function(R,z){if(typeof R=="string"&&R?z==null||typeof z!="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.",b(z)):z.as!=="style"&&z.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".',b(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(R)),typeof R=="string"&&z&&typeof z.as=="string"){var B=z.as,lt=h(B,z.crossOrigin),ut=typeof z.integrity=="string"?z.integrity:void 0,st=typeof z.fetchPriority=="string"?z.fetchPriority:void 0;B==="style"?w.d.S(R,typeof z.precedence=="string"?z.precedence:void 0,{crossOrigin:lt,integrity:ut,fetchPriority:st}):B==="script"&&w.d.X(R,{crossOrigin:lt,integrity:ut,fetchPriority:st,nonce:typeof z.nonce=="string"?z.nonce:void 0})}},La.preinitModule=function(R,z){var B="";typeof R=="string"&&R||(B+=" The `href` argument encountered was "+y(R)+"."),z!==void 0&&typeof z!="object"?B+=" The `options` argument encountered was "+y(z)+".":z&&"as"in z&&z.as!=="script"&&(B+=" The `as` option encountered was "+b(z.as)+"."),B?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",B):(B=z&&typeof z.as=="string"?z.as:"script",B)==="script"||(B=b(B),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)',B,R)),typeof R=="string"&&(typeof z=="object"&&z!==null?(z.as==null||z.as==="script")&&(B=h(z.as,z.crossOrigin),w.d.M(R,{crossOrigin:B,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0})):z==null&&w.d.M(R))},La.preload=function(R,z){var B="";if(typeof R=="string"&&R||(B+=" The `href` argument encountered was "+y(R)+"."),z==null||typeof z!="object"?B+=" The `options` argument encountered was "+y(z)+".":typeof z.as=="string"&&z.as||(B+=" The `as` option encountered was "+y(z.as)+"."),B&&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',B),typeof R=="string"&&typeof z=="object"&&z!==null&&typeof z.as=="string"){B=z.as;var lt=h(B,z.crossOrigin);w.d.L(R,B,{crossOrigin:lt,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0,type:typeof z.type=="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority=="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy=="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet=="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes=="string"?z.imageSizes:void 0,media:typeof z.media=="string"?z.media:void 0})}},La.preloadModule=function(R,z){var B="";typeof R=="string"&&R||(B+=" The `href` argument encountered was "+y(R)+"."),z!==void 0&&typeof z!="object"?B+=" The `options` argument encountered was "+y(z)+".":z&&"as"in z&&typeof z.as!="string"&&(B+=" The `as` option encountered was "+y(z.as)+"."),B&&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',B),typeof R=="string"&&(z?(B=h(z.as,z.crossOrigin),w.d.m(R,{as:typeof z.as=="string"&&z.as!=="script"?z.as:void 0,crossOrigin:B,integrity:typeof z.integrity=="string"?z.integrity:void 0})):w.d.m(R))},La.requestFormReset=function(R){w.d.r(R)},La.unstable_batchedUpdates=function(R,z){return R(z)},La.useFormState=function(R,z,B){return S().useFormState(R,z,B)},La.useFormStatus=function(){return S().useHostTransitionStatus()},La.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),La}var Gx;function U1(){if(Gx)return By.exports;Gx=1;function u(){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(u)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(u(),By.exports=YR()):By.exports=qR(),By.exports}var Xx;function GR(){if(Xx)return vm;Xx=1;var u=Vx(),r=Nd(),d=U1();function h(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 y(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function b(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 S(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 x(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 w(n){if(b(n)!==n)throw Error(h(188))}function A(n){var l=n.alternate;if(!l){if(l=b(n),l===null)throw Error(h(188));return l!==n?null:n}for(var i=n,s=l;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(s=p.return,s!==null){i=s;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return w(p),n;if(m===s)return w(p),l;m=m.sibling}throw Error(h(188))}if(i.return!==s.return)i=p,s=m;else{for(var T=!1,O=p.child;O;){if(O===i){T=!0,i=p,s=m;break}if(O===s){T=!0,s=p,i=m;break}O=O.sibling}if(!T){for(O=m.child;O;){if(O===i){T=!0,i=m,s=p;break}if(O===s){T=!0,s=m,i=p;break}O=O.sibling}if(!T)throw Error(h(189))}}if(i.alternate!==s)throw Error(h(190))}if(i.tag!==3)throw Error(h(188));return i.stateNode.current===i?n:l}function M(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=M(n),l!==null)return l;n=n.sibling}return null}var R=Object.assign,z=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),lt=Symbol.for("react.portal"),ut=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),ft=Symbol.for("react.profiler"),bt=Symbol.for("react.consumer"),it=Symbol.for("react.context"),At=Symbol.for("react.forward_ref"),St=Symbol.for("react.suspense"),Lt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),vt=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),qt=Symbol.iterator;function Et(n){return n===null||typeof n!="object"?null:(n=qt&&n[qt]||n["@@iterator"],typeof n=="function"?n:null)}var kt=Symbol.for("react.client.reference");function be(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===kt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ut:return"Fragment";case ft:return"Profiler";case st:return"StrictMode";case St:return"Suspense";case Lt:return"SuspenseList";case vt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case lt:return"Portal";case it:return n.displayName||"Context";case bt:return(n._context.displayName||"Context")+".Consumer";case At:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Tt:return l=n.displayName||null,l!==null?l:be(n.type)||"Memo";case Z:l=n._payload,n=n._init;try{return be(n(l))}catch{}}return null}var De=Array.isArray,V=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pt={pending:!1,data:null,method:null,action:null},zt=[],Ht=-1;function _(n){return{current:n}}function $(n){0>Ht||(n.current=zt[Ht],zt[Ht]=null,Ht--)}function gt(n,l){Ht++,zt[Ht]=n.current,n.current=l}var mt=_(null),Vt=_(null),ee=_(null),Xt=_(null);function We(n,l){switch(gt(ee,l),gt(Vt,n),gt(mt,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?Tb(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=Tb(l),n=C0(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}$(mt),gt(mt,n)}function Ce(){$(mt),$(Vt),$(ee)}function Wa(n){n.memoizedState!==null&>(Xt,n);var l=mt.current,i=C0(l,n.type);l!==i&&(gt(Vt,n),gt(mt,i))}function Dt(n){Vt.current===n&&($(mt),$(Vt)),Xt.current===n&&($(Xt),rd._currentValue=pt)}var Fo,Wo;function Pa(n){if(Fo===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);Fo=l&&l[1]||"",Wo=-1<i.stack.indexOf(`
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var x=Hd(),w={d:{f:u,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},A=Symbol.for("react.portal"),z=x.__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"),ka.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,ka.createPortal=function(R,M){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error("Target container is not a DOM element.");return d(R,M,null,B)},ka.flushSync=function(R){var M=z.T,B=w.p;try{if(z.T=null,w.p=2,R)return R()}finally{z.T=M,w.p=B,w.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.")}},ka.preconnect=function(R,M){typeof R=="string"&&R?M!=null&&typeof M!="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.",b(M)):M!=null&&typeof M.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.",y(M.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(R)),typeof R=="string"&&(M?(M=M.crossOrigin,M=typeof M=="string"?M==="use-credentials"?M:"":void 0):M=null,w.d.C(R,M))},ka.prefetchDNS=function(R){if(typeof R!="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(R));else if(1<arguments.length){var M=arguments[1];typeof M=="object"&&M.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`.",b(M)):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`.",b(M))}typeof R=="string"&&w.d.D(R)},ka.preinit=function(R,M){if(typeof R=="string"&&R?M==null||typeof M!="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.",b(M)):M.as!=="style"&&M.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".',b(M.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(R)),typeof R=="string"&&M&&typeof M.as=="string"){var B=M.as,nt=h(B,M.crossOrigin),it=typeof M.integrity=="string"?M.integrity:void 0,rt=typeof M.fetchPriority=="string"?M.fetchPriority:void 0;B==="style"?w.d.S(R,typeof M.precedence=="string"?M.precedence:void 0,{crossOrigin:nt,integrity:it,fetchPriority:rt}):B==="script"&&w.d.X(R,{crossOrigin:nt,integrity:it,fetchPriority:rt,nonce:typeof M.nonce=="string"?M.nonce:void 0})}},ka.preinitModule=function(R,M){var B="";typeof R=="string"&&R||(B+=" The `href` argument encountered was "+y(R)+"."),M!==void 0&&typeof M!="object"?B+=" The `options` argument encountered was "+y(M)+".":M&&"as"in M&&M.as!=="script"&&(B+=" The `as` option encountered was "+b(M.as)+"."),B?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",B):(B=M&&typeof M.as=="string"?M.as:"script",B)==="script"||(B=b(B),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)',B,R)),typeof R=="string"&&(typeof M=="object"&&M!==null?(M.as==null||M.as==="script")&&(B=h(M.as,M.crossOrigin),w.d.M(R,{crossOrigin:B,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0})):M==null&&w.d.M(R))},ka.preload=function(R,M){var B="";if(typeof R=="string"&&R||(B+=" The `href` argument encountered was "+y(R)+"."),M==null||typeof M!="object"?B+=" The `options` argument encountered was "+y(M)+".":typeof M.as=="string"&&M.as||(B+=" The `as` option encountered was "+y(M.as)+"."),B&&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',B),typeof R=="string"&&typeof M=="object"&&M!==null&&typeof M.as=="string"){B=M.as;var nt=h(B,M.crossOrigin);w.d.L(R,B,{crossOrigin:nt,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0,type:typeof M.type=="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority=="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy=="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet=="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes=="string"?M.imageSizes:void 0,media:typeof M.media=="string"?M.media:void 0})}},ka.preloadModule=function(R,M){var B="";typeof R=="string"&&R||(B+=" The `href` argument encountered was "+y(R)+"."),M!==void 0&&typeof M!="object"?B+=" The `options` argument encountered was "+y(M)+".":M&&"as"in M&&typeof M.as!="string"&&(B+=" The `as` option encountered was "+y(M.as)+"."),B&&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',B),typeof R=="string"&&(M?(B=h(M.as,M.crossOrigin),w.d.m(R,{as:typeof M.as=="string"&&M.as!=="script"?M.as:void 0,crossOrigin:B,integrity:typeof M.integrity=="string"?M.integrity:void 0})):w.d.m(R))},ka.requestFormReset=function(R){w.d.r(R)},ka.unstable_batchedUpdates=function(R,M){return R(M)},ka.useFormState=function(R,M,B){return S().useFormState(R,M,B)},ka.useFormStatus=function(){return S().useHostTransitionStatus()},ka.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ka}var Qx;function j1(){if(Qx)return Vy.exports;Qx=1;function u(){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(u)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(u(),Vy.exports=XR()):Vy.exports=QR(),Vy.exports}var Zx;function ZR(){if(Zx)return Sm;Zx=1;var u=qx(),r=Hd(),d=j1();function h(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 y(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function b(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 S(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 x(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 w(n){if(b(n)!==n)throw Error(h(188))}function A(n){var l=n.alternate;if(!l){if(l=b(n),l===null)throw Error(h(188));return l!==n?null:n}for(var i=n,s=l;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(s=p.return,s!==null){i=s;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return w(p),n;if(m===s)return w(p),l;m=m.sibling}throw Error(h(188))}if(i.return!==s.return)i=p,s=m;else{for(var T=!1,O=p.child;O;){if(O===i){T=!0,i=p,s=m;break}if(O===s){T=!0,s=p,i=m;break}O=O.sibling}if(!T){for(O=m.child;O;){if(O===i){T=!0,i=m,s=p;break}if(O===s){T=!0,s=m,i=p;break}O=O.sibling}if(!T)throw Error(h(189))}}if(i.alternate!==s)throw Error(h(190))}if(i.tag!==3)throw Error(h(188));return i.stateNode.current===i?n:l}function z(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=z(n),l!==null)return l;n=n.sibling}return null}var R=Object.assign,M=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),nt=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),rt=Symbol.for("react.strict_mode"),st=Symbol.for("react.profiler"),dt=Symbol.for("react.consumer"),ft=Symbol.for("react.context"),Dt=Symbol.for("react.forward_ref"),St=Symbol.for("react.suspense"),kt=Symbol.for("react.suspense_list"),wt=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),bt=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),Tt=Symbol.iterator;function xt(n){return n===null||typeof n!="object"?null:(n=Tt&&n[Tt]||n["@@iterator"],typeof n=="function"?n:null)}var Nt=Symbol.for("react.client.reference");function ye(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Nt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case it:return"Fragment";case st:return"Profiler";case rt:return"StrictMode";case St:return"Suspense";case kt:return"SuspenseList";case bt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case nt:return"Portal";case ft:return n.displayName||"Context";case dt:return(n._context.displayName||"Context")+".Consumer";case Dt:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case wt:return l=n.displayName||null,l!==null?l:ye(n.type)||"Memo";case Z:l=n._payload,n=n._init;try{return ye(n(l))}catch{}}return null}var De=Array.isArray,V=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,mt={pending:!1,data:null,method:null,action:null},Mt=[],Lt=-1;function _(n){return{current:n}}function F(n){0>Lt||(n.current=Mt[Lt],Mt[Lt]=null,Lt--)}function yt(n,l){Lt++,Mt[Lt]=n.current,n.current=l}var gt=_(null),Yt=_(null),ee=_(null),Xt=_(null);function We(n,l){switch(yt(ee,l),yt(Yt,n),yt(gt,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?wb(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=wb(l),n=O0(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}F(gt),yt(gt,n)}function Ce(){F(gt),F(Yt),F(ee)}function Wa(n){n.memoizedState!==null&&yt(Xt,n);var l=gt.current,i=O0(l,n.type);l!==i&&(yt(Yt,n),yt(gt,i))}function Ct(n){Yt.current===n&&(F(gt),F(Yt)),Xt.current===n&&(F(Xt),sd._currentValue=mt)}var Wo,Po;function Pa(n){if(Wo===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);Wo=l&&l[1]||"",Po=-1<i.stack.indexOf(`
|
|
23
23
|
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
24
|
-
`+
|
|
25
|
-
`),
|
|
26
|
-
`);for(p=s=0;s<H.length&&!H[s].includes("DetermineComponentFrameRoot");)s++;for(;p<
|
|
27
|
-
`+H[s].replace(" at new "," at ");return n.displayName&&ot.includes("<anonymous>")&&(ot=ot.replace("<anonymous>",n.displayName)),ot}while(1<=s&&0<=p);break}}}finally{Ti=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Pa(i):""}function sa(n,l){switch(n.tag){case 26:case 27:case 5:return Pa(n.type);case 16:return Pa("Lazy");case 13:return n.child!==l&&l!==null?Pa("Suspense Fallback"):Pa("Suspense");case 19:return Pa("SuspenseList");case 0:case 15:return ze(n.type,!1);case 11:return ze(n.type.render,!1);case 1:return ze(n.type,!0);case 31:return Pa("Activity");default:return""}}function
|
|
24
|
+
`+Wo+n+Po}var Ti=!1;function ze(n,l){if(!n||Ti)return"";Ti=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(l){var ht=function(){throw Error()};if(Object.defineProperty(ht.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ht,[])}catch(lt){var P=lt}Reflect.construct(n,[],ht)}else{try{ht.call()}catch(lt){P=lt}n.call(ht.prototype)}}else{try{throw Error()}catch(lt){P=lt}(ht=n())&&typeof ht.catch=="function"&&ht.catch(function(){})}}catch(lt){if(lt&&P&&typeof lt.stack=="string")return[lt.stack,P.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=s.DetermineComponentFrameRoot(),T=m[0],O=m[1];if(T&&O){var H=T.split(`
|
|
25
|
+
`),W=O.split(`
|
|
26
|
+
`);for(p=s=0;s<H.length&&!H[s].includes("DetermineComponentFrameRoot");)s++;for(;p<W.length&&!W[p].includes("DetermineComponentFrameRoot");)p++;if(s===H.length||p===W.length)for(s=H.length-1,p=W.length-1;1<=s&&0<=p&&H[s]!==W[p];)p--;for(;1<=s&&0<=p;s--,p--)if(H[s]!==W[p]){if(s!==1||p!==1)do if(s--,p--,0>p||H[s]!==W[p]){var ot=`
|
|
27
|
+
`+H[s].replace(" at new "," at ");return n.displayName&&ot.includes("<anonymous>")&&(ot=ot.replace("<anonymous>",n.displayName)),ot}while(1<=s&&0<=p);break}}}finally{Ti=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Pa(i):""}function sa(n,l){switch(n.tag){case 26:case 27:case 5:return Pa(n.type);case 16:return Pa("Lazy");case 13:return n.child!==l&&l!==null?Pa("Suspense Fallback"):Pa("Suspense");case 19:return Pa("SuspenseList");case 0:case 15:return ze(n.type,!1);case 11:return ze(n.type.render,!1);case 1:return ze(n.type,!0);case 31:return Pa("Activity");default:return""}}function Xu(n){try{var l="",i=null;do l+=sa(n,i),i=n,n=n.return;while(n);return l}catch(s){return`
|
|
28
28
|
Error generating stack: `+s.message+`
|
|
29
|
-
`+s.stack}}var Kc=Object.prototype.hasOwnProperty,_t=u.unstable_scheduleCallback,Po=u.unstable_cancelCallback,wi=u.unstable_shouldYield,Xu=u.unstable_requestPaint,Rn=u.unstable_now,Jd=u.unstable_getCurrentPriorityLevel,os=u.unstable_ImmediatePriority,us=u.unstable_UserBlockingPriority,Gl=u.unstable_NormalPriority,$d=u.unstable_LowPriority,rs=u.unstable_IdlePriority,Jc=u.log,Qu=u.unstable_setDisableYieldValue,Al=null,On=null;function Ia(n){if(typeof Jc=="function"&&Qu(n),On&&typeof On.setStrictMode=="function")try{On.setStrictMode(Al,n)}catch{}}var Vn=Math.clz32?Math.clz32:X,Io=Math.log,C=Math.LN2;function X(n){return n>>>=0,n===0?32:31-(Io(n)/C|0)|0}var yt=256,xt=262144,Ut=4194304;function Kt(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 jt(n,l,i){var s=n.pendingLanes;if(s===0)return 0;var p=0,m=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var O=s&134217727;return O!==0?(s=O&~m,s!==0?p=Kt(s):(T&=O,T!==0?p=Kt(T):i||(i=O&~n,i!==0&&(p=Kt(i))))):(O=s&~m,O!==0?p=Kt(O):T!==0?p=Kt(T):i||(i=s&~n,i!==0&&(p=Kt(i)))),p===0?0:l!==0&&l!==p&&(l&m)===0&&(m=p&-p,i=l&-l,m>=i||m===32&&(i&4194048)!==0)?l:p}function he(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function ne(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 ca(){var n=Ut;return Ut<<=1,(Ut&62914560)===0&&(Ut=4194304),n}function Rl(n){for(var l=[],i=0;31>i;i++)l.push(n);return l}function tu(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function ss(n,l,i,s,p,m){var T=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 O=n.entanglements,H=n.expirationTimes,F=n.hiddenUpdates;for(i=T&~i;0<i;){var ot=31-Vn(i),dt=1<<ot;O[ot]=0,H[ot]=-1;var W=F[ot];if(W!==null)for(F[ot]=null,ot=0;ot<W.length;ot++){var at=W[ot];at!==null&&(at.lane&=-536870913)}i&=~dt}s!==0&&$c(n,s,0),m!==0&&p===0&&n.tag!==0&&(n.suspendedLanes|=m&~(T&~l))}function $c(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var s=31-Vn(l);n.entangledLanes|=l,n.entanglements[s]=n.entanglements[s]|1073741824|i&261930}function Ei(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var s=31-Vn(i),p=1<<s;p&l|n[s]&l&&(n[s]|=l),i&=~p}}function tl(n,l){var i=l&-l;return i=(i&42)!==0?1:Fd(i),(i&(n.suspendedLanes|l))!==0?0:i}function Fd(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 Lm(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Wd(){var n=et.p;return n!==0?n:(n=window.event,n===void 0?32:sd(n.type))}function km(n,l){var i=et.p;try{return et.p=n,l()}finally{et.p=i}}var Xl=Math.random().toString(36).slice(2),Ve="__reactFiber$"+Xl,Sa="__reactProps$"+Xl,eu="__reactContainer$"+Xl,Pd="__reactEvents$"+Xl,Vm="__reactListeners$"+Xl,cv="__reactHandles$"+Xl,Ym="__reactResources$"+Xl,Ai="__reactMarker$"+Xl;function Id(n){delete n[Ve],delete n[Sa],delete n[Pd],delete n[Vm],delete n[cv]}function Zu(n){var l=n[Ve];if(l)return l;for(var i=n.parentNode;i;){if(l=i[eu]||i[Ve]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(n=fi(n);n!==null;){if(i=n[Ve])return i;n=fi(n)}return l}n=i,i=n.parentNode}return null}function Ku(n){if(n=n[Ve]||n[eu]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function cs(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(h(33))}function Ju(n){var l=n[Ym];return l||(l=n[Ym]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ne(n){n[Ai]=!0}var $u=new Set,nu={};function au(n,l){Ri(n,l),Ri(n+"Capture",l)}function Ri(n,l){for(nu[n]=l,n=0;n<l.length;n++)$u.add(l[n])}var th=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]*$"),eh={},fs={};function ds(n){return Kc.call(fs,n)?!0:Kc.call(eh,n)?!1:th.test(n)?fs[n]=!0:(eh[n]=!0,!1)}function hs(n,l,i){if(ds(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var s=l.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function nh(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,s){if(s===null)n.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+s)}}function el(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ah(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function qm(n,l,i){var s=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var p=s.get,m=s.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return p.call(this)},set:function(T){i=""+T,m.call(this,T)}}),Object.defineProperty(n,l,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(T){i=""+T},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function lh(n){if(!n._valueTracker){var l=ah(n)?"checked":"value";n._valueTracker=qm(n,l,""+n[l])}}function Gm(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),s="";return n&&(s=ah(n)?n.checked?"true":"false":n.value),n=s,n!==i?(l.setValue(n),!0):!1}function Fc(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 o2=/[\n"\\]/g;function nl(n){return n.replace(o2,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Wc(n,l,i,s,p,m,T,O){n.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?n.type=T:n.removeAttribute("type"),l!=null?T==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+el(l)):n.value!==""+el(l)&&(n.value=""+el(l)):T!=="submit"&&T!=="reset"||n.removeAttribute("value"),l!=null?Fu(n,T,el(l)):i!=null?Fu(n,T,el(i)):s!=null&&n.removeAttribute("value"),p==null&&m!=null&&(n.defaultChecked=!!m),p!=null&&(n.checked=p&&typeof p!="function"&&typeof p!="symbol"),O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"?n.name=""+el(O):n.removeAttribute("name")}function Pc(n,l,i,s,p,m,T,O){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(n.type=m),l!=null||i!=null){if(!(m!=="submit"&&m!=="reset"||l!=null)){lh(n);return}i=i!=null?""+el(i):"",l=l!=null?""+el(l):i,O||l===n.value||(n.value=l),n.defaultValue=l}s=s??p,s=typeof s!="function"&&typeof s!="symbol"&&!!s,n.checked=O?n.checked:!!s,n.defaultChecked=!!s,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(n.name=T),lh(n)}function Fu(n,l,i){l==="number"&&Fc(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function ps(n,l,i,s){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&&s&&(n[i].defaultSelected=!0)}else{for(i=""+el(i),l=null,p=0;p<n.length;p++){if(n[p].value===i){n[p].selected=!0,s&&(n[p].defaultSelected=!0);return}l!==null||n[p].disabled||(l=n[p])}l!==null&&(l.selected=!0)}}function Xm(n,l,i){if(l!=null&&(l=""+el(l),l!==n.value&&(n.value=l),i==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=i!=null?""+el(i):""}function Qm(n,l,i,s){if(l==null){if(s!=null){if(i!=null)throw Error(h(92));if(De(s)){if(1<s.length)throw Error(h(93));s=s[0]}i=s}i==null&&(i=""),l=i}i=el(l),n.defaultValue=i,s=n.textContent,s===i&&s!==""&&s!==null&&(n.value=s),lh(n)}function Di(n,l){if(l){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=l;return}}n.textContent=l}var fv=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 dv(n,l,i){var s=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":s?n.setProperty(l,i):typeof i!="number"||i===0||fv.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function hv(n,l,i){if(l!=null&&typeof l!="object")throw Error(h(62));if(n=n.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||l!=null&&l.hasOwnProperty(s)||(s.indexOf("--")===0?n.setProperty(s,""):s==="float"?n.cssFloat="":n[s]="");for(var p in l)s=l[p],l.hasOwnProperty(p)&&i[p]!==s&&dv(n,p,s)}else for(var m in l)l.hasOwnProperty(m)&&dv(n,m,l[m])}function Zm(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 u2=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"]]),Ic=/^[\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 Dl(n){return Ic.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Ql(){}var ih=null;function oh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ci=null,Wu=null;function tf(n){var l=Ku(n);if(l&&(n=l.stateNode)){var i=n[Sa]||null;t:switch(n=l.stateNode,l.type){case"input":if(Wc(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="'+nl(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var s=i[l];if(s!==n&&s.form===n.form){var p=s[Sa]||null;if(!p)throw Error(h(90));Wc(s,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)s=i[l],s.form===n.form&&Gm(s)}break t;case"textarea":Xm(n,i.value,i.defaultValue);break t;case"select":l=i.value,l!=null&&ps(n,!!i.multiple,l,!1)}}}var ms=!1;function Km(n,l,i){if(ms)return n(l,i);ms=!0;try{var s=n(l);return s}finally{if(ms=!1,(Ci!==null||Wu!==null)&&(Ws(),Ci&&(l=Ci,n=Wu,Wu=Ci=null,tf(l),n)))for(l=0;l<n.length;l++)tf(n[l])}}function Yn(n,l){var i=n.stateNode;if(i===null)return null;var s=i[Sa]||null;if(s===null)return null;i=s[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(n=n.type,s=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!s;break t;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(h(231,l,typeof i));return i}var vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ef=!1;if(vo)try{var gs={};Object.defineProperty(gs,"passive",{get:function(){ef=!0}}),window.addEventListener("test",gs,gs),window.removeEventListener("test",gs,gs)}catch{ef=!1}var bo=null,Jm=null,uh=null;function $m(){if(uh)return uh;var n,l=Jm,i=l.length,s,p="value"in bo?bo.value:bo.textContent,m=p.length;for(n=0;n<i&&l[n]===p[n];n++);var T=i-n;for(s=1;s<=T&&l[i-s]===p[m-s];s++);return uh=p.slice(n,1<s?1-s:void 0)}function rh(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 nf(){return!0}function pv(){return!1}function aa(n){function l(i,s,p,m,T){this._reactName=i,this._targetInst=p,this.type=s,this.nativeEvent=m,this.target=T,this.currentTarget=null;for(var O in n)n.hasOwnProperty(O)&&(i=n[O],this[O]=i?i(m):m[O]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?nf:pv,this.isPropagationStopped=pv,this}return R(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=nf)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=nf)},persist:function(){},isPersistent:nf}),l}var lu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},af=aa(lu),ys=R({},lu,{view:0,detail:0}),r2=aa(ys),Fm,Wm,lf,sh=R({},ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cl,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!==lf&&(lf&&n.type==="mousemove"?(Fm=n.screenX-lf.screenX,Wm=n.screenY-lf.screenY):Wm=Fm=0,lf=n),Fm)},movementY:function(n){return"movementY"in n?n.movementY:Wm}}),vs=aa(sh),mv=R({},sh,{dataTransfer:0}),gv=aa(mv),yv=R({},ys,{relatedTarget:0}),ch=aa(yv),Pm=R({},lu,{animationName:0,elapsedTime:0,pseudoElement:0}),vv=aa(Pm),Pu=R({},lu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Iu=aa(Pu),Zl=R({},lu,{data:0}),bv=aa(Zl),Im={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zi={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"},Sv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Kl(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=Sv[n])?!!l[n]:!1}function Cl(){return Kl}var fh=R({},ys,{key:function(n){if(n.key){var l=Im[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=rh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?zi[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cl,charCode:function(n){return n.type==="keypress"?rh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?rh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),dh=aa(fh),tg=R({},sh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jl=aa(tg),s2=R({},ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cl}),xv=aa(s2),Tv=R({},lu,{propertyName:0,elapsedTime:0,pseudoElement:0}),c2=aa(Tv),eg=R({},sh,{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}),f2=aa(eg),wv=R({},lu,{newState:0,oldState:0}),ng=aa(wv),hh=[9,13,27,32],bs=vo&&"CompositionEvent"in window,tr=null;vo&&"documentMode"in document&&(tr=document.documentMode);var fa=vo&&"TextEvent"in window&&!tr,ag=vo&&(!bs||tr&&8<tr&&11>=tr),of=" ",iu=!1;function ph(n,l){switch(n){case"keyup":return hh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var er=!1;function Ev(n,l){switch(n){case"compositionend":return lg(l);case"keypress":return l.which!==32?null:(iu=!0,of);case"textInput":return n=l.data,n===of&&iu?null:n;default:return null}}function d2(n,l){if(er)return n==="compositionend"||!bs&&ph(n,l)?(n=$m(),uh=Jm=bo=null,er=!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 ag&&l.locale!=="ko"?null:l.data;default:return null}}var ig={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 Mi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!ig[n.type]:l==="textarea"}function og(n,l,i,s){Ci?Wu?Wu.push(s):Wu=[s]:Ci=s,l=nd(l,"onChange"),0<l.length&&(i=new af("onChange","change",null,i,s),n.push({event:i,listeners:l}))}var nr=null,ou=null;function ar(n){bb(n,0)}function Ss(n){var l=cs(n);if(Gm(l))return n}function ug(n,l){if(n==="change")return l}var mh=!1;if(vo){var xa;if(vo){var $l="oninput"in document;if(!$l){var rg=document.createElement("div");rg.setAttribute("oninput","return;"),$l=typeof rg.oninput=="function"}xa=$l}else xa=!1;mh=xa&&(!document.documentMode||9<document.documentMode)}function gh(){nr&&(nr.detachEvent("onpropertychange",yh),ou=nr=null)}function yh(n){if(n.propertyName==="value"&&Ss(ou)){var l=[];og(l,ou,n,oh(n)),Km(ar,l)}}function Av(n,l,i){n==="focusin"?(gh(),nr=l,ou=i,nr.attachEvent("onpropertychange",yh)):n==="focusout"&&gh()}function Rv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ss(ou)}function uu(n,l){if(n==="click")return Ss(l)}function lr(n,l){if(n==="input"||n==="change")return Ss(l)}function Dv(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var da=typeof Object.is=="function"?Object.is:Dv;function zl(n,l){if(da(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var i=Object.keys(n),s=Object.keys(l);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var p=i[s];if(!Kc.call(l,p)||!da(n[p],l[p]))return!1}return!0}function sg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function cg(n,l){var i=sg(n);n=0;for(var s;i;){if(i.nodeType===3){if(s=n+i.textContent.length,n<=l&&s>=l)return{node:i,offset:l-n};n=s}t:{for(;i;){if(i.nextSibling){i=i.nextSibling;break t}i=i.parentNode}i=void 0}i=sg(i)}}function ir(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?ir(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=Fc(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=Fc(n.document)}return l}function uf(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 rf=vo&&"documentMode"in document&&11>=document.documentMode,su=null,xs=null,Ml=null,Fl=!1;function vh(n,l,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Fl||su==null||su!==Fc(s)||(s=su,"selectionStart"in s&&uf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Ml&&zl(Ml,s)||(Ml=s,s=nd(xs,"onSelect"),0<s.length&&(l=new af("onSelect","select",null,l,i),n.push({event:l,listeners:s}),l.target=su)))}function So(n,l){var i={};return i[n.toLowerCase()]=l.toLowerCase(),i["Webkit"+n]="webkit"+l,i["Moz"+n]="moz"+l,i}var Wl={animationend:So("Animation","AnimationEnd"),animationiteration:So("Animation","AnimationIteration"),animationstart:So("Animation","AnimationStart"),transitionrun:So("Transition","TransitionRun"),transitionstart:So("Transition","TransitionStart"),transitioncancel:So("Transition","TransitionCancel"),transitionend:So("Transition","TransitionEnd")},Ts={},cu={};vo&&(cu=document.createElement("div").style,"AnimationEvent"in window||(delete Wl.animationend.animation,delete Wl.animationiteration.animation,delete Wl.animationstart.animation),"TransitionEvent"in window||delete Wl.transitionend.transition);function _e(n){if(Ts[n])return Ts[n];if(!Wl[n])return n;var l=Wl[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in cu)return Ts[n]=l[i];return n}var sf=_e("animationend"),fg=_e("animationiteration"),bh=_e("animationstart"),or=_e("transitionrun"),cf=_e("transitionstart"),Oi=_e("transitioncancel"),Cv=_e("transitionend"),_i=new Map,ws="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(" ");ws.push("scrollEnd");function Ta(n,l){_i.set(n,l),au(l,[n])}var ur=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)},tn=[],qn=0,Ol=0;function al(){for(var n=qn,l=Ol=qn=0;l<n;){var i=tn[l];tn[l++]=null;var s=tn[l];tn[l++]=null;var p=tn[l];tn[l++]=null;var m=tn[l];if(tn[l++]=null,s!==null&&p!==null){var T=s.pending;T===null?p.next=p:(p.next=T.next,T.next=p),s.pending=p}m!==0&&Sh(i,p,m)}}function ll(n,l,i,s){tn[qn++]=n,tn[qn++]=l,tn[qn++]=i,tn[qn++]=s,Ol|=s,n.lanes|=s,n=n.alternate,n!==null&&(n.lanes|=s)}function _l(n,l,i,s){return ll(n,l,i,s),ff(n)}function xo(n,l){return ll(n,null,null,l),ff(n)}function Sh(n,l,i){n.lanes|=i;var s=n.alternate;s!==null&&(s.lanes|=i);for(var p=!1,m=n.return;m!==null;)m.childLanes|=i,s=m.alternate,s!==null&&(s.childLanes|=i),m.tag===22&&(n=m.stateNode,n===null||n._visibility&1||(p=!0)),n=m,m=m.return;return n.tag===3?(m=n.stateNode,p&&l!==null&&(p=31-Vn(i),n=m.hiddenUpdates,s=n[p],s===null?n[p]=[l]:s.push(l),l.lane=i|536870912),m):null}function ff(n){if(50<Fs)throw Fs=0,Kf=null,Error(h(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var wa={};function zv(n,l,i,s){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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(n,l,i,s){return new zv(n,l,i,s)}function rr(n){return n=n.prototype,!(!n||!n.isReactComponent)}function To(n,l){var i=n.alternate;return i===null?(i=hn(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 dg(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 xh(n,l,i,s,p,m){var T=0;if(s=n,typeof n=="function")rr(n)&&(T=1);else if(typeof n=="string")T=N0(n,i,mt.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case vt:return n=hn(31,i,l,p),n.elementType=vt,n.lanes=m,n;case ut:return wo(i.children,p,m,l);case st:T=8,p|=24;break;case ft:return n=hn(12,i,l,p|2),n.elementType=ft,n.lanes=m,n;case St:return n=hn(13,i,l,p),n.elementType=St,n.lanes=m,n;case Lt:return n=hn(19,i,l,p),n.elementType=Lt,n.lanes=m,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case it:T=10;break t;case bt:T=9;break t;case At:T=11;break t;case Tt:T=14;break t;case Z:T=16,s=null;break t}T=29,i=Error(h(130,n===null?"null":typeof n,"")),s=null}return l=hn(T,i,l,p),l.elementType=n,l.type=s,l.lanes=m,l}function wo(n,l,i,s){return n=hn(7,n,s,l),n.lanes=i,n}function Es(n,l,i){return n=hn(6,n,null,l),n.lanes=i,n}function hg(n){var l=hn(18,null,null,0);return l.stateNode=n,l}function Th(n,l,i){return l=hn(4,n.children!==null?n.children:[],n.key,l),l.lanes=i,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var pg=new WeakMap;function il(n,l){if(typeof n=="object"&&n!==null){var i=pg.get(n);return i!==void 0?i:(l={value:n,source:l,stack:Gu(l)},pg.set(n,l),l)}return{value:n,source:l,stack:Gu(l)}}var ol=[],sr=0,df=null,Sn=0,Va=[],Ea=0,Pl=null,Ya=1,Il="";function Ul(n,l){ol[sr++]=Sn,ol[sr++]=df,df=n,Sn=l}function mg(n,l,i){Va[Ea++]=Ya,Va[Ea++]=Il,Va[Ea++]=Pl,Pl=n;var s=Ya;n=Il;var p=32-Vn(s)-1;s&=~(1<<p),i+=1;var m=32-Vn(l)+p;if(30<m){var T=p-p%5;m=(s&(1<<T)-1).toString(32),s>>=T,p-=T,Ya=1<<32-Vn(l)+p|i<<p|s,Il=m+n}else Ya=1<<m|i<<p|s,Il=n}function As(n){n.return!==null&&(Ul(n,1),mg(n,1,0))}function wh(n){for(;n===df;)df=ol[--sr],ol[sr]=null,Sn=ol[--sr],ol[sr]=null;for(;n===Pl;)Pl=Va[--Ea],Va[Ea]=null,Il=Va[--Ea],Va[Ea]=null,Ya=Va[--Ea],Va[Ea]=null}function hf(n,l){Va[Ea++]=Ya,Va[Ea++]=Il,Va[Ea++]=Pl,Ya=l.id,Il=l.overflow,Pl=n}var Gn=null,Ze=null,ye=!1,Ui=null,_n=!1,ji=Error(h(519));function jl(n){var l=Error(h(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ds(il(l,n)),ji}function pf(n){var l=n.stateNode,i=n.type,s=n.memoizedProps;switch(l[Ve]=n,l[Sa]=s,i){case"dialog":ge("cancel",l),ge("close",l);break;case"iframe":case"object":case"embed":ge("load",l);break;case"video":case"audio":for(i=0;i<nc.length;i++)ge(nc[i],l);break;case"source":ge("error",l);break;case"img":case"image":case"link":ge("error",l),ge("load",l);break;case"details":ge("toggle",l);break;case"input":ge("invalid",l),Pc(l,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ge("invalid",l);break;case"textarea":ge("invalid",l),Qm(l,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||s.suppressHydrationWarning===!0||E0(l.textContent,i)?(s.popover!=null&&(ge("beforetoggle",l),ge("toggle",l)),s.onScroll!=null&&ge("scroll",l),s.onScrollEnd!=null&&ge("scrollend",l),s.onClick!=null&&(l.onclick=Ql),l=!0):l=!1,l||jl(n,!0)}function Rs(n){for(Gn=n.return;Gn;)switch(Gn.tag){case 5:case 31:case 13:_n=!1;return;case 27:case 3:_n=!0;return;default:Gn=Gn.return}}function Ni(n){if(n!==Gn)return!1;if(!ye)return Rs(n),ye=!0,!1;var l=n.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||lc(n.type,n.memoizedProps)),i=!i),i&&Ze&&jl(n),Rs(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Rp(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Rp(n)}else l===27?(l=Ze,ci(n.type)?(n=id,id=null,Ze=n):Ze=l):Ze=Gn?ja(n.stateNode.nextSibling):null;return!0}function fu(){Ze=Gn=null,ye=!1}function gg(){var n=Ui;return n!==null&&(fn===null?fn=n:fn.push.apply(fn,n),Ui=null),n}function Ds(n){Ui===null?Ui=[n]:Ui.push(n)}var Eh=_(null),Eo=null,ti=null;function Aa(n,l,i){gt(Eh,l._currentValue),l._currentValue=i}function ei(n){n._currentValue=Eh.current,$(Eh)}function Ah(n,l,i){for(;n!==null;){var s=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,s!==null&&(s.childLanes|=l)):s!==null&&(s.childLanes&l)!==l&&(s.childLanes|=l),n===i)break;n=n.return}}function Hi(n,l,i,s){var p=n.child;for(p!==null&&(p.return=n);p!==null;){var m=p.dependencies;if(m!==null){var T=p.child;m=m.firstContext;t:for(;m!==null;){var O=m;m=p;for(var H=0;H<l.length;H++)if(O.context===l[H]){m.lanes|=i,O=m.alternate,O!==null&&(O.lanes|=i),Ah(m.return,i,n),s||(T=null);break t}m=O.next}}else if(p.tag===18){if(T=p.return,T===null)throw Error(h(341));T.lanes|=i,m=T.alternate,m!==null&&(m.lanes|=i),Ah(T,i,n),T=null}else T=p.child;if(T!==null)T.return=p;else for(T=p;T!==null;){if(T===n){T=null;break}if(p=T.sibling,p!==null){p.return=T.return,T=p;break}T=T.return}p=T}}function Xn(n,l,i,s){n=null;for(var p=l,m=!1;p!==null;){if(!m){if((p.flags&524288)!==0)m=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var T=p.alternate;if(T===null)throw Error(h(387));if(T=T.memoizedProps,T!==null){var O=p.type;da(p.pendingProps.value,T.value)||(n!==null?n.push(O):n=[O])}}else if(p===Xt.current){if(T=p.alternate,T===null)throw Error(h(387));T.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(n!==null?n.push(rd):n=[rd])}p=p.return}n!==null&&Hi(l,n,i,s),l.flags|=262144}function cr(n){for(n=n.firstContext;n!==null;){if(!da(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Pt(n){Eo=n,ti=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ht(n){return mf(Eo,n)}function Ao(n,l){return Eo===null&&Pt(n),mf(n,l)}function mf(n,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},ti===null){if(n===null)throw Error(h(308));ti=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else ti=ti.next=l;return i}var pn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(i,s){n.push(s)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},yg=u.unstable_scheduleCallback,vg=u.unstable_NormalPriority,xn={$$typeof:it,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gf(){return{controller:new pn,data:new Map,refCount:0}}function yf(n){n.refCount--,n.refCount===0&&yg(vg,function(){n.controller.abort()})}var fr=null,vf=0,du=0,Dn=null;function He(n,l){if(fr===null){var i=fr=[];vf=0,du=vp(),Dn={status:"pending",value:void 0,then:function(s){i.push(s)}}}return vf++,l.then(bf,bf),l}function bf(){if(--vf===0&&fr!==null){Dn!==null&&(Dn.status="fulfilled");var n=fr;fr=null,du=0,Dn=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function Sf(n,l){var i=[],s={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return n.then(function(){s.status="fulfilled",s.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(s.status="rejected",s.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),s}var Ro=V.S;V.S=function(n,l){f0=Rn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&He(n,l),Ro!==null&&Ro(n,l)};var ul=_(null);function rl(){var n=ul.current;return n!==null?n:qe.pooledCache}function Cs(n,l){l===null?gt(ul,ul.current):gt(ul,l.pool)}function dr(){var n=rl();return n===null?null:{parent:xn._currentValue,pool:n}}var hu=Error(h(460)),hr=Error(h(474)),zs=Error(h(542)),pr={then:function(){}};function bg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Sg(n,l,i){switch(i=n[i],i===void 0?n.push(l):i!==l&&(l.then(Ql,Ql),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Rh(n),n;default:if(typeof l.status=="string")l.then(Ql,Ql);else{if(n=qe,n!==null&&100<n.shellSuspendCounter)throw Error(h(482));n=l,n.status="pending",n.then(function(s){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=s}},function(s){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=s}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Rh(n),n}throw mu=l,hu}}function pu(n){try{var l=n._init;return l(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(mu=i,hu):i}}var mu=null;function xg(){if(mu===null)throw Error(h(459));var n=mu;return mu=null,n}function Rh(n){if(n===hu||n===zs)throw Error(h(483))}var gu=null,mr=0;function xf(n){var l=mr;return mr+=1,gu===null&&(gu=[]),Sg(gu,n,l)}function Ms(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Tf(n,l){throw l.$$typeof===z?Error(h(525)):(n=Object.prototype.toString.call(l),Error(h(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Mv(n){function l(Q,Y){if(n){var J=Q.deletions;J===null?(Q.deletions=[Y],Q.flags|=16):J.push(Y)}}function i(Q,Y){if(!n)return null;for(;Y!==null;)l(Q,Y),Y=Y.sibling;return null}function s(Q){for(var Y=new Map;Q!==null;)Q.key!==null?Y.set(Q.key,Q):Y.set(Q.index,Q),Q=Q.sibling;return Y}function p(Q,Y){return Q=To(Q,Y),Q.index=0,Q.sibling=null,Q}function m(Q,Y,J){return Q.index=J,n?(J=Q.alternate,J!==null?(J=J.index,J<Y?(Q.flags|=67108866,Y):J):(Q.flags|=67108866,Y)):(Q.flags|=1048576,Y)}function T(Q){return n&&Q.alternate===null&&(Q.flags|=67108866),Q}function O(Q,Y,J,ct){return Y===null||Y.tag!==6?(Y=Es(J,Q.mode,ct),Y.return=Q,Y):(Y=p(Y,J),Y.return=Q,Y)}function H(Q,Y,J,ct){var Yt=J.type;return Yt===ut?ot(Q,Y,J.props.children,ct,J.key):Y!==null&&(Y.elementType===Yt||typeof Yt=="object"&&Yt!==null&&Yt.$$typeof===Z&&pu(Yt)===Y.type)?(Y=p(Y,J.props),Ms(Y,J),Y.return=Q,Y):(Y=xh(J.type,J.key,J.props,null,Q.mode,ct),Ms(Y,J),Y.return=Q,Y)}function F(Q,Y,J,ct){return Y===null||Y.tag!==4||Y.stateNode.containerInfo!==J.containerInfo||Y.stateNode.implementation!==J.implementation?(Y=Th(J,Q.mode,ct),Y.return=Q,Y):(Y=p(Y,J.children||[]),Y.return=Q,Y)}function ot(Q,Y,J,ct,Yt){return Y===null||Y.tag!==7?(Y=wo(J,Q.mode,ct,Yt),Y.return=Q,Y):(Y=p(Y,J),Y.return=Q,Y)}function dt(Q,Y,J){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Y=Es(""+Y,Q.mode,J),Y.return=Q,Y;if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case B:return J=xh(Y.type,Y.key,Y.props,null,Q.mode,J),Ms(J,Y),J.return=Q,J;case lt:return Y=Th(Y,Q.mode,J),Y.return=Q,Y;case Z:return Y=pu(Y),dt(Q,Y,J)}if(De(Y)||Et(Y))return Y=wo(Y,Q.mode,J,null),Y.return=Q,Y;if(typeof Y.then=="function")return dt(Q,xf(Y),J);if(Y.$$typeof===it)return dt(Q,Ao(Q,Y),J);Tf(Q,Y)}return null}function W(Q,Y,J,ct){var Yt=Y!==null?Y.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return Yt!==null?null:O(Q,Y,""+J,ct);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case B:return J.key===Yt?H(Q,Y,J,ct):null;case lt:return J.key===Yt?F(Q,Y,J,ct):null;case Z:return J=pu(J),W(Q,Y,J,ct)}if(De(J)||Et(J))return Yt!==null?null:ot(Q,Y,J,ct,null);if(typeof J.then=="function")return W(Q,Y,xf(J),ct);if(J.$$typeof===it)return W(Q,Y,Ao(Q,J),ct);Tf(Q,J)}return null}function at(Q,Y,J,ct,Yt){if(typeof ct=="string"&&ct!==""||typeof ct=="number"||typeof ct=="bigint")return Q=Q.get(J)||null,O(Y,Q,""+ct,Yt);if(typeof ct=="object"&&ct!==null){switch(ct.$$typeof){case B:return Q=Q.get(ct.key===null?J:ct.key)||null,H(Y,Q,ct,Yt);case lt:return Q=Q.get(ct.key===null?J:ct.key)||null,F(Y,Q,ct,Yt);case Z:return ct=pu(ct),at(Q,Y,J,ct,Yt)}if(De(ct)||Et(ct))return Q=Q.get(J)||null,ot(Y,Q,ct,Yt,null);if(typeof ct.then=="function")return at(Q,Y,J,xf(ct),Yt);if(ct.$$typeof===it)return at(Q,Y,J,Ao(Y,ct),Yt);Tf(Y,ct)}return null}function Mt(Q,Y,J,ct){for(var Yt=null,Ae=null,Nt=Y,ae=Y=0,ue=null;Nt!==null&&ae<J.length;ae++){Nt.index>ae?(ue=Nt,Nt=null):ue=Nt.sibling;var Oe=W(Q,Nt,J[ae],ct);if(Oe===null){Nt===null&&(Nt=ue);break}n&&Nt&&Oe.alternate===null&&l(Q,Nt),Y=m(Oe,Y,ae),Ae===null?Yt=Oe:Ae.sibling=Oe,Ae=Oe,Nt=ue}if(ae===J.length)return i(Q,Nt),ye&&Ul(Q,ae),Yt;if(Nt===null){for(;ae<J.length;ae++)Nt=dt(Q,J[ae],ct),Nt!==null&&(Y=m(Nt,Y,ae),Ae===null?Yt=Nt:Ae.sibling=Nt,Ae=Nt);return ye&&Ul(Q,ae),Yt}for(Nt=s(Nt);ae<J.length;ae++)ue=at(Nt,Q,ae,J[ae],ct),ue!==null&&(n&&ue.alternate!==null&&Nt.delete(ue.key===null?ae:ue.key),Y=m(ue,Y,ae),Ae===null?Yt=ue:Ae.sibling=ue,Ae=ue);return n&&Nt.forEach(function(hi){return l(Q,hi)}),ye&&Ul(Q,ae),Yt}function Zt(Q,Y,J,ct){if(J==null)throw Error(h(151));for(var Yt=null,Ae=null,Nt=Y,ae=Y=0,ue=null,Oe=J.next();Nt!==null&&!Oe.done;ae++,Oe=J.next()){Nt.index>ae?(ue=Nt,Nt=null):ue=Nt.sibling;var hi=W(Q,Nt,Oe.value,ct);if(hi===null){Nt===null&&(Nt=ue);break}n&&Nt&&hi.alternate===null&&l(Q,Nt),Y=m(hi,Y,ae),Ae===null?Yt=hi:Ae.sibling=hi,Ae=hi,Nt=ue}if(Oe.done)return i(Q,Nt),ye&&Ul(Q,ae),Yt;if(Nt===null){for(;!Oe.done;ae++,Oe=J.next())Oe=dt(Q,Oe.value,ct),Oe!==null&&(Y=m(Oe,Y,ae),Ae===null?Yt=Oe:Ae.sibling=Oe,Ae=Oe);return ye&&Ul(Q,ae),Yt}for(Nt=s(Nt);!Oe.done;ae++,Oe=J.next())Oe=at(Nt,Q,ae,Oe.value,ct),Oe!==null&&(n&&Oe.alternate!==null&&Nt.delete(Oe.key===null?ae:Oe.key),Y=m(Oe,Y,ae),Ae===null?Yt=Oe:Ae.sibling=Oe,Ae=Oe);return n&&Nt.forEach(function(jb){return l(Q,jb)}),ye&&Ul(Q,ae),Yt}function Xe(Q,Y,J,ct){if(typeof J=="object"&&J!==null&&J.type===ut&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case B:t:{for(var Yt=J.key;Y!==null;){if(Y.key===Yt){if(Yt=J.type,Yt===ut){if(Y.tag===7){i(Q,Y.sibling),ct=p(Y,J.props.children),ct.return=Q,Q=ct;break t}}else if(Y.elementType===Yt||typeof Yt=="object"&&Yt!==null&&Yt.$$typeof===Z&&pu(Yt)===Y.type){i(Q,Y.sibling),ct=p(Y,J.props),Ms(ct,J),ct.return=Q,Q=ct;break t}i(Q,Y);break}else l(Q,Y);Y=Y.sibling}J.type===ut?(ct=wo(J.props.children,Q.mode,ct,J.key),ct.return=Q,Q=ct):(ct=xh(J.type,J.key,J.props,null,Q.mode,ct),Ms(ct,J),ct.return=Q,Q=ct)}return T(Q);case lt:t:{for(Yt=J.key;Y!==null;){if(Y.key===Yt)if(Y.tag===4&&Y.stateNode.containerInfo===J.containerInfo&&Y.stateNode.implementation===J.implementation){i(Q,Y.sibling),ct=p(Y,J.children||[]),ct.return=Q,Q=ct;break t}else{i(Q,Y);break}else l(Q,Y);Y=Y.sibling}ct=Th(J,Q.mode,ct),ct.return=Q,Q=ct}return T(Q);case Z:return J=pu(J),Xe(Q,Y,J,ct)}if(De(J))return Mt(Q,Y,J,ct);if(Et(J)){if(Yt=Et(J),typeof Yt!="function")throw Error(h(150));return J=Yt.call(J),Zt(Q,Y,J,ct)}if(typeof J.then=="function")return Xe(Q,Y,xf(J),ct);if(J.$$typeof===it)return Xe(Q,Y,Ao(Q,J),ct);Tf(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,Y!==null&&Y.tag===6?(i(Q,Y.sibling),ct=p(Y,J),ct.return=Q,Q=ct):(i(Q,Y),ct=Es(J,Q.mode,ct),ct.return=Q,Q=ct),T(Q)):i(Q,Y)}return function(Q,Y,J,ct){try{mr=0;var Yt=Xe(Q,Y,J,ct);return gu=null,Yt}catch(Nt){if(Nt===hu||Nt===zs)throw Nt;var Ae=hn(29,Nt,null,Q.mode);return Ae.lanes=ct,Ae.return=Q,Ae}}}var yu=Mv(!0),Tg=Mv(!1),Do=!1;function wf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dh(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 Co(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function sl(n,l,i){var s=n.updateQueue;if(s===null)return null;if(s=s.shared,(Me&2)!==0){var p=s.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),s.pending=l,l=ff(n),Sh(n,null,i),l}return ll(n,s,l,i),ff(n)}function vu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,Ei(n,i)}}function Ch(n,l){var i=n.updateQueue,s=n.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var T={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?p=m=T:m=m.next=T,i=i.next}while(i!==null);m===null?p=m=l:m=m.next=l}else p=m=l;i={baseState:s.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:s.shared,callbacks:s.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var wg=!1;function bu(){if(wg){var n=Dn;if(n!==null)throw n}}function Bi(n,l,i,s){wg=!1;var p=n.updateQueue;Do=!1;var m=p.firstBaseUpdate,T=p.lastBaseUpdate,O=p.shared.pending;if(O!==null){p.shared.pending=null;var H=O,F=H.next;H.next=null,T===null?m=F:T.next=F,T=H;var ot=n.alternate;ot!==null&&(ot=ot.updateQueue,O=ot.lastBaseUpdate,O!==T&&(O===null?ot.firstBaseUpdate=F:O.next=F,ot.lastBaseUpdate=H))}if(m!==null){var dt=p.baseState;T=0,ot=F=H=null,O=m;do{var W=O.lane&-536870913,at=W!==O.lane;if(at?(pe&W)===W:(s&W)===W){W!==0&&W===du&&(wg=!0),ot!==null&&(ot=ot.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});t:{var Mt=n,Zt=O;W=l;var Xe=i;switch(Zt.tag){case 1:if(Mt=Zt.payload,typeof Mt=="function"){dt=Mt.call(Xe,dt,W);break t}dt=Mt;break t;case 3:Mt.flags=Mt.flags&-65537|128;case 0:if(Mt=Zt.payload,W=typeof Mt=="function"?Mt.call(Xe,dt,W):Mt,W==null)break t;dt=R({},dt,W);break t;case 2:Do=!0}}W=O.callback,W!==null&&(n.flags|=64,at&&(n.flags|=8192),at=p.callbacks,at===null?p.callbacks=[W]:at.push(W))}else at={lane:W,tag:O.tag,payload:O.payload,callback:O.callback,next:null},ot===null?(F=ot=at,H=dt):ot=ot.next=at,T|=W;if(O=O.next,O===null){if(O=p.shared.pending,O===null)break;at=O,O=at.next,at.next=null,p.lastBaseUpdate=at,p.shared.pending=null}}while(!0);ot===null&&(H=dt),p.baseState=H,p.firstBaseUpdate=F,p.lastBaseUpdate=ot,m===null&&(p.shared.lanes=0),ri|=T,n.lanes=T,n.memoizedState=dt}}function zh(n,l){if(typeof n!="function")throw Error(h(191,n));n.call(l)}function Su(n,l){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)zh(i[n],l)}var Un=_(null),gr=_(0);function Ov(n,l){n=ui,gt(gr,n),gt(Un,l),ui=n|l.baseLanes}function Ef(){gt(gr,ui),gt(Un,Un.current)}function Os(){ui=gr.current,$(Un),$(gr)}var Ra=_(null),cl=null;function Li(n){var l=n.alternate;gt(en,en.current&1),gt(Ra,n),cl===null&&(l===null||Un.current!==null||l.memoizedState!==null)&&(cl=n)}function _s(n){gt(en,en.current),gt(Ra,n),cl===null&&(cl=n)}function Mh(n){n.tag===22?(gt(en,en.current),gt(Ra,n),cl===null&&(cl=n)):ni()}function ni(){gt(en,en.current),gt(Ra,Ra.current)}function Da(n){$(Ra),cl===n&&(cl=null),$(en)}var en=_(0);function Us(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Ll(i)||_u(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 ki=0,le=null,Be=null,Tn=null,yr=!1,vr=!1,zo=!1,Af=0,js=0,xu=null,_v=0;function sn(){throw Error(h(321))}function Mo(n,l){if(l===null)return!1;for(var i=0;i<l.length&&i<n.length;i++)if(!da(n[i],l[i]))return!1;return!0}function Rf(n,l,i,s,p,m){return ki=m,le=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,V.H=n===null||n.memoizedState===null?Vv:Kh,zo=!1,m=i(s,p),zo=!1,vr&&(m=Uv(l,i,s,p)),Oh(n),m}function Oh(n){V.H=Nf;var l=Be!==null&&Be.next!==null;if(ki=0,Tn=Be=le=null,yr=!1,js=0,xu=null,l)throw Error(h(300));n===null||wn||(n=n.dependencies,n!==null&&cr(n)&&(wn=!0))}function Uv(n,l,i,s){le=n;var p=0;do{if(vr&&(xu=null),js=0,vr=!1,25<=p)throw Error(h(301));if(p+=1,Tn=Be=null,n.updateQueue!=null){var m=n.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}V.H=Yv,m=l(i,s)}while(vr);return m}function h2(){var n=V.H,l=n.useState()[0];return l=typeof l.then=="function"?Sr(l):l,n=n.useState()[0],(Be!==null?Be.memoizedState:null)!==n&&(le.flags|=1024),l}function _h(){var n=Af!==0;return Af=0,n}function br(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Df(n){if(yr){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}yr=!1}ki=0,Tn=Be=le=null,vr=!1,js=Af=0,xu=null}function Qn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tn===null?le.memoizedState=Tn=n:Tn=Tn.next=n,Tn}function mn(){if(Be===null){var n=le.alternate;n=n!==null?n.memoizedState:null}else n=Be.next;var l=Tn===null?le.memoizedState:Tn.next;if(l!==null)Tn=l,Be=n;else{if(n===null)throw le.alternate===null?Error(h(467)):Error(h(310));Be=n,n={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},Tn===null?le.memoizedState=Tn=n:Tn=Tn.next=n}return Tn}function Cf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Sr(n){var l=js;return js+=1,xu===null&&(xu=[]),n=Sg(xu,n,l),l=le,(Tn===null?l.memoizedState:Tn.next)===null&&(l=l.alternate,V.H=l===null||l.memoizedState===null?Vv:Kh),n}function Ns(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Sr(n);if(n.$$typeof===it)return ht(n)}throw Error(h(438,String(n)))}function Uh(n){var l=null,i=le.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var s=le.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(l={data:s.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Cf(),le.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),s=0;s<n;s++)i[s]=K;return l.index++,i}function Vi(n,l){return typeof l=="function"?l(n):l}function Yi(n){var l=mn();return jh(l,Be,n)}function jh(n,l,i){var s=n.queue;if(s===null)throw Error(h(311));s.lastRenderedReducer=i;var p=n.baseQueue,m=s.pending;if(m!==null){if(p!==null){var T=p.next;p.next=m.next,m.next=T}l.baseQueue=p=m,s.pending=null}if(m=n.baseState,p===null)n.memoizedState=m;else{l=p.next;var O=T=null,H=null,F=l,ot=!1;do{var dt=F.lane&-536870913;if(dt!==F.lane?(pe&dt)===dt:(ki&dt)===dt){var W=F.revertLane;if(W===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),dt===du&&(ot=!0);else if((ki&W)===W){F=F.next,W===du&&(ot=!0);continue}else dt={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},H===null?(O=H=dt,T=m):H=H.next=dt,le.lanes|=W,ri|=W;dt=F.action,zo&&i(m,dt),m=F.hasEagerState?F.eagerState:i(m,dt)}else W={lane:dt,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},H===null?(O=H=W,T=m):H=H.next=W,le.lanes|=dt,ri|=dt;F=F.next}while(F!==null&&F!==l);if(H===null?T=m:H.next=O,!da(m,n.memoizedState)&&(wn=!0,ot&&(i=Dn,i!==null)))throw i;n.memoizedState=m,n.baseState=T,n.baseQueue=H,s.lastRenderedState=m}return p===null&&(s.lanes=0),[n.memoizedState,s.dispatch]}function Nh(n){var l=mn(),i=l.queue;if(i===null)throw Error(h(311));i.lastRenderedReducer=n;var s=i.dispatch,p=i.pending,m=l.memoizedState;if(p!==null){i.pending=null;var T=p=p.next;do m=n(m,T.action),T=T.next;while(T!==p);da(m,l.memoizedState)||(wn=!0),l.memoizedState=m,l.baseQueue===null&&(l.baseState=m),i.lastRenderedState=m}return[m,s]}function Eg(n,l,i){var s=le,p=mn(),m=ye;if(m){if(i===void 0)throw Error(h(407));i=i()}else i=l();var T=!da((Be||p).memoizedState,i);if(T&&(p.memoizedState=i,wn=!0),p=p.queue,Vh(Hh.bind(null,s,p,n),[n]),p.getSnapshot!==l||T||Tn!==null&&Tn.memoizedState.tag&1){if(s.flags|=2048,Tr(9,{destroy:void 0},Ag.bind(null,s,p,i,l),null),qe===null)throw Error(h(349));m||(ki&127)!==0||zf(s,l,i)}return i}function zf(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=le.updateQueue,l===null?(l=Cf(),le.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function Ag(n,l,i,s){l.value=i,l.getSnapshot=s,Bh(l)&&Lh(n)}function Hh(n,l,i){return i(function(){Bh(l)&&Lh(n)})}function Bh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!da(n,i)}catch{return!0}}function Lh(n){var l=xo(n,2);l!==null&&Ua(l,n,2)}function Rg(n){var l=Qn();if(typeof n=="function"){var i=n;if(n=i(),zo){Ia(!0);try{i()}finally{Ia(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:n},l}function Zn(n,l,i,s){return n.baseState=i,jh(n,Be,typeof s=="function"?s:Vi)}function jv(n,l,i,s,p){if(jf(n))throw Error(h(485));if(n=l.action,n!==null){var m={payload:p,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(T){m.listeners.push(T)}};V.T!==null?i(!0):m.isTransition=!1,s(m),i=l.pending,i===null?(m.next=l.pending=m,Dg(l,m)):(m.next=i.next,l.pending=i.next=m)}}function Dg(n,l){var i=l.action,s=l.payload,p=n.state;if(l.isTransition){var m=V.T,T={};V.T=T;try{var O=i(p,s),H=V.S;H!==null&&H(T,O),Cg(n,l,O)}catch(F){xr(n,l,F)}finally{m!==null&&T.types!==null&&(m.types=T.types),V.T=m}}else try{m=i(p,s),Cg(n,l,m)}catch(F){xr(n,l,F)}}function Cg(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){zg(n,l,s)},function(s){return xr(n,l,s)}):zg(n,l,i)}function zg(n,l,i){l.status="fulfilled",l.value=i,Mg(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,Dg(n,i)))}function xr(n,l,i){var s=n.pending;if(n.pending=null,s!==null){s=s.next;do l.status="rejected",l.reason=i,Mg(l),l=l.next;while(l!==s)}n.action=null}function Mg(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function Mf(n,l){return l}function Og(n,l){if(ye){var i=qe.formState;if(i!==null){t:{var s=le;if(ye){if(Ze){e:{for(var p=Ze,m=_n;p.nodeType!==8;){if(!m){p=null;break e}if(p=ja(p.nextSibling),p===null){p=null;break e}}m=p.data,p=m==="F!"||m==="F"?p:null}if(p){Ze=ja(p.nextSibling),s=p.data==="F!";break t}}jl(s)}s=!1}s&&(l=i[0])}}return i=Qn(),i.memoizedState=i.baseState=l,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mf,lastRenderedState:l},i.queue=s,i=Qh.bind(null,le,s),s.dispatch=i,s=Rg(!1),m=Tu.bind(null,le,!1,s.queue),s=Qn(),p={state:l,dispatch:null,action:n,pending:null},s.queue=p,i=jv.bind(null,le,p,m,i),p.dispatch=i,s.memoizedState=n,[l,i,!1]}function Nv(n){var l=mn();return Of(l,Be,n)}function Of(n,l,i){if(l=jh(n,l,Mf)[0],n=Yi(Vi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var s=Sr(l)}catch(T){throw T===hu?zs:T}else s=l;l=mn();var p=l.queue,m=p.dispatch;return i!==l.memoizedState&&(le.flags|=2048,Tr(9,{destroy:void 0},_g.bind(null,p,i),null)),[s,m,n]}function _g(n,l){n.action=l}function Ug(n){var l=mn(),i=Be;if(i!==null)return Of(l,i,n);mn(),l=l.memoizedState,i=mn();var s=i.queue.dispatch;return i.memoizedState=n,[l,s,!1]}function Tr(n,l,i,s){return n={tag:n,create:i,deps:s,inst:l,next:null},l=le.updateQueue,l===null&&(l=Cf(),le.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(s=i.next,i.next=n,n.next=s,l.lastEffect=n),n}function jg(){return mn().memoizedState}function Hs(n,l,i,s){var p=Qn();le.flags|=n,p.memoizedState=Tr(1|l,{destroy:void 0},i,s===void 0?null:s)}function Bs(n,l,i,s){var p=mn();s=s===void 0?null:s;var m=p.memoizedState.inst;Be!==null&&s!==null&&Mo(s,Be.memoizedState.deps)?p.memoizedState=Tr(l,m,i,s):(le.flags|=n,p.memoizedState=Tr(1|l,m,i,s))}function kh(n,l){Hs(8390656,8,n,l)}function Vh(n,l){Bs(2048,8,n,l)}function Ng(n){le.flags|=4;var l=le.updateQueue;if(l===null)l=Cf(),le.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function _f(n){var l=mn().memoizedState;return Ng({ref:l,nextImpl:n}),function(){if((Me&2)!==0)throw Error(h(440));return l.impl.apply(void 0,arguments)}}function Yh(n,l){return Bs(4,2,n,l)}function Hg(n,l){return Bs(4,4,n,l)}function qh(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 Bg(n,l,i){i=i!=null?i.concat([n]):null,Bs(4,4,qh.bind(null,l,n),i)}function ai(){}function Gh(n,l){var i=mn();l=l===void 0?null:l;var s=i.memoizedState;return l!==null&&Mo(l,s[1])?s[0]:(i.memoizedState=[n,l],n)}function Hv(n,l){var i=mn();l=l===void 0?null:l;var s=i.memoizedState;if(l!==null&&Mo(l,s[1]))return s[0];if(s=n(),zo){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[s,l],s}function Uf(n,l,i){return i===void 0||(ki&1073741824)!==0&&(pe&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=Wv(),le.lanes|=n,ri|=n,i)}function qi(n,l,i,s){return da(i,l)?i:Un.current!==null?(n=Uf(n,i,s),da(n,l)||(wn=!0),n):(ki&42)===0||(ki&1073741824)!==0&&(pe&261930)===0?(wn=!0,n.memoizedState=i):(n=Wv(),le.lanes|=n,ri|=n,l)}function Xh(n,l,i,s,p){var m=et.p;et.p=m!==0&&8>m?m:8;var T=V.T,O={};V.T=O,Tu(n,!1,l,i);try{var H=p(),F=V.S;if(F!==null&&F(O,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ot=Sf(H,s);Oo(n,l,ot,Qa(n))}else Oo(n,l,s,Qa(n))}catch(dt){Oo(n,l,{then:function(){},status:"rejected",reason:dt},Qa())}finally{et.p=m,T!==null&&O.types!==null&&(T.types=O.types),V.T=T}}function Bv(){}function Ls(n,l,i,s){if(n.tag!==5)throw Error(h(476));var p=ks(n).queue;Xh(n,p,l,pt,i===null?Bv:function(){return Ye(n),i(s)})}function ks(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:pt,baseState:pt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:pt},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 Ye(n){var l=ks(n);l.next===null&&(l=n.alternate.memoizedState),Oo(n,l.next.queue,{},Qa())}function Lg(){return ht(rd)}function Lv(){return mn().memoizedState}function kg(){return mn().memoizedState}function Gi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var i=Qa();n=Co(i);var s=sl(l,n,i);s!==null&&(Ua(s,l,i),vu(s,l,i)),l={cache:gf()},n.payload=l;return}l=l.return}}function kv(n,l,i){var s=Qa();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},jf(n)?Zh(l,i):(i=_l(n,l,i,s),i!==null&&(Ua(i,n,s),Vg(i,l,s)))}function Qh(n,l,i){var s=Qa();Oo(n,l,i,s)}function Oo(n,l,i,s){var p={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(jf(n))Zh(l,p);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=l.lastRenderedReducer,m!==null))try{var T=l.lastRenderedState,O=m(T,i);if(p.hasEagerState=!0,p.eagerState=O,da(O,T))return ll(n,l,p,0),qe===null&&al(),!1}catch{}if(i=_l(n,l,p,s),i!==null)return Ua(i,n,s),Vg(i,l,s),!0}return!1}function Tu(n,l,i,s){if(s={lane:2,revertLane:vp(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},jf(n)){if(l)throw Error(h(479))}else l=_l(n,i,s,2),l!==null&&Ua(l,n,2)}function jf(n){var l=n.alternate;return n===le||l!==null&&l===le}function Zh(n,l){vr=yr=!0;var i=n.pending;i===null?l.next=l:(l.next=i.next,i.next=l),n.pending=l}function Vg(n,l,i){if((i&4194048)!==0){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,Ei(n,i)}}var Nf={readContext:ht,use:Ns,useCallback:sn,useContext:sn,useEffect:sn,useImperativeHandle:sn,useLayoutEffect:sn,useInsertionEffect:sn,useMemo:sn,useReducer:sn,useRef:sn,useState:sn,useDebugValue:sn,useDeferredValue:sn,useTransition:sn,useSyncExternalStore:sn,useId:sn,useHostTransitionStatus:sn,useFormState:sn,useActionState:sn,useOptimistic:sn,useMemoCache:sn,useCacheRefresh:sn};Nf.useEffectEvent=sn;var Vv={readContext:ht,use:Ns,useCallback:function(n,l){return Qn().memoizedState=[n,l===void 0?null:l],n},useContext:ht,useEffect:kh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,Hs(4194308,4,qh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return Hs(4194308,4,n,l)},useInsertionEffect:function(n,l){Hs(4,2,n,l)},useMemo:function(n,l){var i=Qn();l=l===void 0?null:l;var s=n();if(zo){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[s,l],s},useReducer:function(n,l,i){var s=Qn();if(i!==void 0){var p=i(l);if(zo){Ia(!0);try{i(l)}finally{Ia(!1)}}}else p=l;return s.memoizedState=s.baseState=p,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:p},s.queue=n,n=n.dispatch=kv.bind(null,le,n),[s.memoizedState,n]},useRef:function(n){var l=Qn();return n={current:n},l.memoizedState=n},useState:function(n){n=Rg(n);var l=n.queue,i=Qh.bind(null,le,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:ai,useDeferredValue:function(n,l){var i=Qn();return Uf(i,n,l)},useTransition:function(){var n=Rg(!1);return n=Xh.bind(null,le,n.queue,!0,!1),Qn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var s=le,p=Qn();if(ye){if(i===void 0)throw Error(h(407));i=i()}else{if(i=l(),qe===null)throw Error(h(349));(pe&127)!==0||zf(s,l,i)}p.memoizedState=i;var m={value:i,getSnapshot:l};return p.queue=m,kh(Hh.bind(null,s,m,n),[n]),s.flags|=2048,Tr(9,{destroy:void 0},Ag.bind(null,s,m,i,l),null),i},useId:function(){var n=Qn(),l=qe.identifierPrefix;if(ye){var i=Il,s=Ya;i=(s&~(1<<32-Vn(s)-1)).toString(32)+i,l="_"+l+"R_"+i,i=Af++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=_v++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Lg,useFormState:Og,useActionState:Og,useOptimistic:function(n){var l=Qn();l.memoizedState=l.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=Tu.bind(null,le,!0,i),i.dispatch=l,[n,l]},useMemoCache:Uh,useCacheRefresh:function(){return Qn().memoizedState=Gi.bind(null,le)},useEffectEvent:function(n){var l=Qn(),i={impl:n};return l.memoizedState=i,function(){if((Me&2)!==0)throw Error(h(440));return i.impl.apply(void 0,arguments)}}},Kh={readContext:ht,use:Ns,useCallback:Gh,useContext:ht,useEffect:Vh,useImperativeHandle:Bg,useInsertionEffect:Yh,useLayoutEffect:Hg,useMemo:Hv,useReducer:Yi,useRef:jg,useState:function(){return Yi(Vi)},useDebugValue:ai,useDeferredValue:function(n,l){var i=mn();return qi(i,Be.memoizedState,n,l)},useTransition:function(){var n=Yi(Vi)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:Sr(n),l]},useSyncExternalStore:Eg,useId:Lv,useHostTransitionStatus:Lg,useFormState:Nv,useActionState:Nv,useOptimistic:function(n,l){var i=mn();return Zn(i,Be,n,l)},useMemoCache:Uh,useCacheRefresh:kg};Kh.useEffectEvent=_f;var Yv={readContext:ht,use:Ns,useCallback:Gh,useContext:ht,useEffect:Vh,useImperativeHandle:Bg,useInsertionEffect:Yh,useLayoutEffect:Hg,useMemo:Hv,useReducer:Nh,useRef:jg,useState:function(){return Nh(Vi)},useDebugValue:ai,useDeferredValue:function(n,l){var i=mn();return Be===null?Uf(i,n,l):qi(i,Be.memoizedState,n,l)},useTransition:function(){var n=Nh(Vi)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:Sr(n),l]},useSyncExternalStore:Eg,useId:Lv,useHostTransitionStatus:Lg,useFormState:Ug,useActionState:Ug,useOptimistic:function(n,l){var i=mn();return Be!==null?Zn(i,Be,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:Uh,useCacheRefresh:kg};Yv.useEffectEvent=_f;function wr(n,l,i,s){l=n.memoizedState,i=i(s,l),i=i==null?l:R({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Nl={enqueueSetState:function(n,l,i){n=n._reactInternals;var s=Qa(),p=Co(s);p.payload=l,i!=null&&(p.callback=i),l=sl(n,p,s),l!==null&&(Ua(l,n,s),vu(l,n,s))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var s=Qa(),p=Co(s);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=sl(n,p,s),l!==null&&(Ua(l,n,s),vu(l,n,s))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=Qa(),s=Co(i);s.tag=2,l!=null&&(s.callback=l),l=sl(n,s,i),l!==null&&(Ua(l,n,i),vu(l,n,i))}};function Yg(n,l,i,s,p,m,T){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(s,m,T):l.prototype&&l.prototype.isPureReactComponent?!zl(i,s)||!zl(p,m):!0}function qv(n,l,i,s){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,s),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,s),l.state!==n&&Nl.enqueueReplaceState(l,l.state,null)}function wu(n,l){var i=l;if("ref"in l){i={};for(var s in l)s!=="ref"&&(i[s]=l[s])}if(n=n.defaultProps){i===l&&(i=R({},i));for(var p in n)i[p]===void 0&&(i[p]=n[p])}return i}function Jh(n){ur(n)}function qg(n){console.error(n)}function $h(n){ur(n)}function Vs(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(s){setTimeout(function(){throw s})}}function Hf(n,l,i){try{var s=n.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function Gg(n,l,i){return i=Co(i),i.tag=3,i.payload={element:null},i.callback=function(){Vs(n,l)},i}function Xg(n){return n=Co(n),n.tag=3,n}function Qg(n,l,i,s){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var m=s.value;n.payload=function(){return p(m)},n.callback=function(){Hf(l,i,s)}}var T=i.stateNode;T!==null&&typeof T.componentDidCatch=="function"&&(n.callback=function(){Hf(l,i,s),typeof p!="function"&&(nn===null?nn=new Set([this]):nn.add(this));var O=s.stack;this.componentDidCatch(s.value,{componentStack:O!==null?O:""})})}function p2(n,l,i,s,p){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(l=i.alternate,l!==null&&Xn(l,i,p,!0),i=Ra.current,i!==null){switch(i.tag){case 31:case 13:return cl===null?pp():i.alternate===null&&Je===0&&(Je=3),i.flags&=-257,i.flags|=65536,i.lanes=p,s===pr?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([s]):l.add(s),Ff(n,s,p)),!1;case 22:return i.flags|=65536,s===pr?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([s]):i.add(s)),Ff(n,s,p)),!1}throw Error(h(435,i.tag))}return Ff(n,s,p),pp(),!1}if(ye)return l=Ra.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,s!==ji&&(n=Error(h(422),{cause:s}),Ds(il(n,i)))):(s!==ji&&(l=Error(h(423),{cause:s}),Ds(il(l,i))),n=n.current.alternate,n.flags|=65536,p&=-p,n.lanes|=p,s=il(s,i),p=Gg(n.stateNode,s,p),Ch(n,p),Je!==4&&(Je=2)),!1;var m=Error(h(520),{cause:s});if(m=il(m,i),Zf===null?Zf=[m]:Zf.push(m),Je!==4&&(Je=2),l===null)return!0;s=il(s,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=p&-p,i.lanes|=n,n=Gg(i.stateNode,s,n),Ch(i,n),!1;case 1:if(l=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(nn===null||!nn.has(m))))return i.flags|=65536,p&=-p,i.lanes|=p,p=Xg(p),Qg(p,n,i,s),Ch(i,p),!1}i=i.return}while(i!==null);return!1}var Fh=Error(h(461)),wn=!1;function Pe(n,l,i,s){l.child=n===null?Tg(l,null,i,s):yu(l,n.child,i,s)}function Zg(n,l,i,s,p){i=i.render;var m=l.ref;if("ref"in s){var T={};for(var O in s)O!=="ref"&&(T[O]=s[O])}else T=s;return Pt(l),s=Rf(n,l,i,T,m,p),O=_h(),n!==null&&!wn?(br(n,l,p),hl(n,l,p)):(ye&&O&&As(l),l.flags|=1,Pe(n,l,s,p),l.child)}function Kg(n,l,i,s,p){if(n===null){var m=i.type;return typeof m=="function"&&!rr(m)&&m.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=m,Jg(n,l,m,s,p)):(n=xh(i.type,null,s,l,l.mode,p),n.ref=l.ref,n.return=l,l.child=n)}if(m=n.child,!Ih(n,p)){var T=m.memoizedProps;if(i=i.compare,i=i!==null?i:zl,i(T,s)&&n.ref===l.ref)return hl(n,l,p)}return l.flags|=1,n=To(m,s),n.ref=l.ref,n.return=l,l.child=n}function Jg(n,l,i,s,p){if(n!==null){var m=n.memoizedProps;if(zl(m,s)&&n.ref===l.ref)if(wn=!1,l.pendingProps=s=m,Ih(n,p))(n.flags&131072)!==0&&(wn=!0);else return l.lanes=n.lanes,hl(n,l,p)}return Wh(n,l,i,s,p)}function Gv(n,l,i,s){var p=s.children,m=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((l.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,n!==null){for(s=l.child=n.child,p=0;s!==null;)p=p|s.lanes|s.childLanes,s=s.sibling;s=p&~m}else s=0,l.child=null;return Ca(n,l,m,i,s)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Cs(l,m!==null?m.cachePool:null),m!==null?Ov(l,m):Ef(),Mh(l);else return s=l.lanes=536870912,Ca(n,l,m!==null?m.baseLanes|i:i,i,s)}else m!==null?(Cs(l,m.cachePool),Ov(l,m),ni(),l.memoizedState=null):(n!==null&&Cs(l,null),Ef(),ni());return Pe(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 Ca(n,l,i,s,p){var m=rl();return m=m===null?null:{parent:xn._currentValue,pool:m},l.memoizedState={baseLanes:i,cachePool:m},n!==null&&Cs(l,null),Ef(),Mh(l),n!==null&&Xn(n,l,s,!0),l.childLanes=p,null}function Bf(n,l){return l=Vf({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function za(n,l,i){return yu(l,n.child,null,i),n=Bf(l,l.pendingProps),n.flags|=2,Da(l),l.memoizedState=null,n}function Xv(n,l,i){var s=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(ye){if(s.mode==="hidden")return n=Bf(l,s),l.lanes=536870912,Eu(null,n);if(_s(l),(n=Ze)?(n=Ab(n,_n),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Pl!==null?{id:Ya,overflow:Il}:null,retryLane:536870912,hydrationErrors:null},i=hg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw jl(l);return l.lanes=536870912,null}return Bf(l,s)}var m=n.memoizedState;if(m!==null){var T=m.dehydrated;if(_s(l),p)if(l.flags&256)l.flags&=-257,l=za(n,l,i);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(h(558));else if(wn||Xn(n,l,i,!1),p=(i&n.childLanes)!==0,wn||p){if(s=qe,s!==null&&(T=tl(s,i),T!==0&&T!==m.retryLane))throw m.retryLane=T,xo(n,T),Ua(s,n,T),Fh;pp(),l=za(n,l,i)}else n=m.treeContext,Ze=ja(T.nextSibling),Gn=l,ye=!0,Ui=null,_n=!1,n!==null&&hf(l,n),l=Bf(l,s),l.flags|=4096;return l}return n=To(n.child,{mode:s.mode,children:s.children}),n.ref=l.ref,l.child=n,n.return=l,n}function fl(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(h(284));(n===null||n.ref!==i)&&(l.flags|=4194816)}}function Wh(n,l,i,s,p){return Pt(l),i=Rf(n,l,i,s,void 0,p),s=_h(),n!==null&&!wn?(br(n,l,p),hl(n,l,p)):(ye&&s&&As(l),l.flags|=1,Pe(n,l,i,p),l.child)}function Au(n,l,i,s,p,m){return Pt(l),l.updateQueue=null,i=Uv(l,s,i,p),Oh(n),s=_h(),n!==null&&!wn?(br(n,l,m),hl(n,l,m)):(ye&&s&&As(l),l.flags|=1,Pe(n,l,i,m),l.child)}function $g(n,l,i,s,p){if(Pt(l),l.stateNode===null){var m=wa,T=i.contextType;typeof T=="object"&&T!==null&&(m=ht(T)),m=new i(s,m),l.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=Nl,l.stateNode=m,m._reactInternals=l,m=l.stateNode,m.props=s,m.state=l.memoizedState,m.refs={},wf(l),T=i.contextType,m.context=typeof T=="object"&&T!==null?ht(T):wa,m.state=l.memoizedState,T=i.getDerivedStateFromProps,typeof T=="function"&&(wr(l,i,T,s),m.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(T=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),T!==m.state&&Nl.enqueueReplaceState(m,m.state,null),Bi(l,s,m,p),bu(),m.state=l.memoizedState),typeof m.componentDidMount=="function"&&(l.flags|=4194308),s=!0}else if(n===null){m=l.stateNode;var O=l.memoizedProps,H=wu(i,O);m.props=H;var F=m.context,ot=i.contextType;T=wa,typeof ot=="object"&&ot!==null&&(T=ht(ot));var dt=i.getDerivedStateFromProps;ot=typeof dt=="function"||typeof m.getSnapshotBeforeUpdate=="function",O=l.pendingProps!==O,ot||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(O||F!==T)&&qv(l,m,s,T),Do=!1;var W=l.memoizedState;m.state=W,Bi(l,s,m,p),bu(),F=l.memoizedState,O||W!==F||Do?(typeof dt=="function"&&(wr(l,i,dt,s),F=l.memoizedState),(H=Do||Yg(l,i,H,s,W,F,T))?(ot||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"&&(l.flags|=4194308)):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=s,l.memoizedState=F),m.props=s,m.state=F,m.context=T,s=H):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),s=!1)}else{m=l.stateNode,Dh(n,l),T=l.memoizedProps,ot=wu(i,T),m.props=ot,dt=l.pendingProps,W=m.context,F=i.contextType,H=wa,typeof F=="object"&&F!==null&&(H=ht(F)),O=i.getDerivedStateFromProps,(F=typeof O=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(T!==dt||W!==H)&&qv(l,m,s,H),Do=!1,W=l.memoizedState,m.state=W,Bi(l,s,m,p),bu();var at=l.memoizedState;T!==dt||W!==at||Do||n!==null&&n.dependencies!==null&&cr(n.dependencies)?(typeof O=="function"&&(wr(l,i,O,s),at=l.memoizedState),(ot=Do||Yg(l,i,ot,s,W,at,H)||n!==null&&n.dependencies!==null&&cr(n.dependencies))?(F||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(s,at,H),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(s,at,H)),typeof m.componentDidUpdate=="function"&&(l.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof m.componentDidUpdate!="function"||T===n.memoizedProps&&W===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&W===n.memoizedState||(l.flags|=1024),l.memoizedProps=s,l.memoizedState=at),m.props=s,m.state=at,m.context=H,s=ot):(typeof m.componentDidUpdate!="function"||T===n.memoizedProps&&W===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&W===n.memoizedState||(l.flags|=1024),s=!1)}return m=s,fl(n,l),s=(l.flags&128)!==0,m||s?(m=l.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:m.render(),l.flags|=1,n!==null&&s?(l.child=yu(l,n.child,null,p),l.child=yu(l,null,i,p)):Pe(n,l,i,p),l.memoizedState=m.state,n=l.child):n=hl(n,l,p),n}function li(n,l,i,s){return fu(),l.flags|=256,Pe(n,l,i,s),l.child}var Lf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kf(n){return{baseLanes:n,cachePool:dr()}}function dl(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=_a),n}function Fg(n,l,i){var s=l.pendingProps,p=!1,m=(l.flags&128)!==0,T;if((T=m)||(T=n!==null&&n.memoizedState===null?!1:(en.current&2)!==0),T&&(p=!0,l.flags&=-129),T=(l.flags&32)!==0,l.flags&=-33,n===null){if(ye){if(p?Li(l):ni(),(n=Ze)?(n=Ab(n,_n),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Pl!==null?{id:Ya,overflow:Il}:null,retryLane:536870912,hydrationErrors:null},i=hg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw jl(l);return _u(n)?l.lanes=32:l.lanes=536870912,null}var O=s.children;return s=s.fallback,p?(ni(),p=l.mode,O=Vf({mode:"hidden",children:O},p),s=wo(s,p,i,null),O.return=l,s.return=l,O.sibling=s,l.child=O,s=l.child,s.memoizedState=kf(i),s.childLanes=dl(n,T,i),l.memoizedState=Lf,Eu(null,s)):(Li(l),Ru(l,O))}var H=n.memoizedState;if(H!==null&&(O=H.dehydrated,O!==null)){if(m)l.flags&256?(Li(l),l.flags&=-257,l=Er(n,l,i)):l.memoizedState!==null?(ni(),l.child=n.child,l.flags|=128,l=null):(ni(),O=s.fallback,p=l.mode,s=Vf({mode:"visible",children:s.children},p),O=wo(O,p,i,null),O.flags|=2,s.return=l,O.return=l,s.sibling=O,l.child=s,yu(l,n.child,null,i),s=l.child,s.memoizedState=kf(i),s.childLanes=dl(n,T,i),l.memoizedState=Lf,l=Eu(null,s));else if(Li(l),_u(O)){if(T=O.nextSibling&&O.nextSibling.dataset,T)var F=T.dgst;T=F,s=Error(h(419)),s.stack="",s.digest=T,Ds({value:s,source:null,stack:null}),l=Er(n,l,i)}else if(wn||Xn(n,l,i,!1),T=(i&n.childLanes)!==0,wn||T){if(T=qe,T!==null&&(s=tl(T,i),s!==0&&s!==H.retryLane))throw H.retryLane=s,xo(n,s),Ua(T,n,s),Fh;Ll(O)||pp(),l=Er(n,l,i)}else Ll(O)?(l.flags|=192,l.child=n.child,l=null):(n=H.treeContext,Ze=ja(O.nextSibling),Gn=l,ye=!0,Ui=null,_n=!1,n!==null&&hf(l,n),l=Ru(l,s.children),l.flags|=4096);return l}return p?(ni(),O=s.fallback,p=l.mode,H=n.child,F=H.sibling,s=To(H,{mode:"hidden",children:s.children}),s.subtreeFlags=H.subtreeFlags&65011712,F!==null?O=To(F,O):(O=wo(O,p,i,null),O.flags|=2),O.return=l,s.return=l,s.sibling=O,l.child=s,Eu(null,s),s=l.child,O=n.child.memoizedState,O===null?O=kf(i):(p=O.cachePool,p!==null?(H=xn._currentValue,p=p.parent!==H?{parent:H,pool:H}:p):p=dr(),O={baseLanes:O.baseLanes|i,cachePool:p}),s.memoizedState=O,s.childLanes=dl(n,T,i),l.memoizedState=Lf,Eu(n.child,s)):(Li(l),i=n.child,n=i.sibling,i=To(i,{mode:"visible",children:s.children}),i.return=l,i.sibling=null,n!==null&&(T=l.deletions,T===null?(l.deletions=[n],l.flags|=16):T.push(n)),l.child=i,l.memoizedState=null,i)}function Ru(n,l){return l=Vf({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Vf(n,l){return n=hn(22,n,null,l),n.lanes=0,n}function Er(n,l,i){return yu(l,n.child,null,i),n=Ru(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function Ar(n,l,i){n.lanes|=l;var s=n.alternate;s!==null&&(s.lanes|=l),Ah(n.return,l,i)}function Ph(n,l,i,s,p,m){var T=n.memoizedState;T===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:p,treeForkCount:m}:(T.isBackwards=l,T.rendering=null,T.renderingStartTime=0,T.last=s,T.tail=i,T.tailMode=p,T.treeForkCount=m)}function Wg(n,l,i){var s=l.pendingProps,p=s.revealOrder,m=s.tail;s=s.children;var T=en.current,O=(T&2)!==0;if(O?(T=T&1|2,l.flags|=128):T&=1,gt(en,T),Pe(n,l,s,i),s=ye?Sn:0,!O&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ar(n,i,l);else if(n.tag===19)Ar(n,i,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;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&&Us(n)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),Ph(l,!1,p,i,m,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(n=p.alternate,n!==null&&Us(n)===null){l.child=p;break}n=p.sibling,p.sibling=i,i=p,p=n}Ph(l,!0,i,null,m,s);break;case"together":Ph(l,!1,null,null,void 0,s);break;default:l.memoizedState=null}return l.child}function hl(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),ri|=l.lanes,(i&l.childLanes)===0)if(n!==null){if(Xn(n,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(h(153));if(l.child!==null){for(n=l.child,i=To(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=To(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function Ih(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&cr(n)))}function tp(n,l,i){switch(l.tag){case 3:We(l,l.stateNode.containerInfo),Aa(l,xn,n.memoizedState.cache),fu();break;case 27:case 5:Wa(l);break;case 4:We(l,l.stateNode.containerInfo);break;case 10:Aa(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,_s(l),null;break;case 13:var s=l.memoizedState;if(s!==null)return s.dehydrated!==null?(Li(l),l.flags|=128,null):(i&l.child.childLanes)!==0?Fg(n,l,i):(Li(l),n=hl(n,l,i),n!==null?n.sibling:null);Li(l);break;case 19:var p=(n.flags&128)!==0;if(s=(i&l.childLanes)!==0,s||(Xn(n,l,i,!1),s=(i&l.childLanes)!==0),p){if(s)return Wg(n,l,i);l.flags|=128}if(p=l.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),gt(en,en.current),s)break;return null;case 22:return l.lanes=0,Gv(n,l,i,l.pendingProps);case 24:Aa(l,xn,n.memoizedState.cache)}return hl(n,l,i)}function Pg(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)wn=!0;else{if(!Ih(n,i)&&(l.flags&128)===0)return wn=!1,tp(n,l,i);wn=(n.flags&131072)!==0}else wn=!1,ye&&(l.flags&1048576)!==0&&mg(l,Sn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var s=l.pendingProps;if(n=pu(l.elementType),l.type=n,typeof n=="function")rr(n)?(s=wu(n,s),l.tag=1,l=$g(null,l,n,s,i)):(l.tag=0,l=Wh(null,l,n,s,i));else{if(n!=null){var p=n.$$typeof;if(p===At){l.tag=11,l=Zg(null,l,n,s,i);break t}else if(p===Tt){l.tag=14,l=Kg(null,l,n,s,i);break t}}throw l=be(n)||n,Error(h(306,l,""))}}return l;case 0:return Wh(n,l,l.type,l.pendingProps,i);case 1:return s=l.type,p=wu(s,l.pendingProps),$g(n,l,s,p,i);case 3:t:{if(We(l,l.stateNode.containerInfo),n===null)throw Error(h(387));s=l.pendingProps;var m=l.memoizedState;p=m.element,Dh(n,l),Bi(l,s,null,i);var T=l.memoizedState;if(s=T.cache,Aa(l,xn,s),s!==m.cache&&Hi(l,[xn],i,!0),bu(),s=T.element,m.isDehydrated)if(m={element:s,isDehydrated:!1,cache:T.cache},l.updateQueue.baseState=m,l.memoizedState=m,l.flags&256){l=li(n,l,s,i);break t}else if(s!==p){p=il(Error(h(424)),l),Ds(p),l=li(n,l,s,i);break t}else for(n=l.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Ze=ja(n.firstChild),Gn=l,ye=!0,Ui=null,_n=!0,i=Tg(l,null,s,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(fu(),s===p){l=hl(n,l,i);break t}Pe(n,l,s,i)}l=l.child}return l;case 26:return fl(n,l),n===null?(i=rc(l.type,null,l.pendingProps,null))?l.memoizedState=i:ye||(i=l.type,n=l.pendingProps,s=Ou(ee.current).createElement(i),s[Ve]=l,s[Sa]=n,la(s,i,n),Ne(s),l.stateNode=s):l.memoizedState=rc(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return Wa(l),n===null&&ye&&(s=l.stateNode=oc(l.type,l.pendingProps,ee.current),Gn=l,_n=!0,p=Ze,ci(l.type)?(id=p,Ze=ja(s.firstChild)):Ze=p),Pe(n,l,l.pendingProps.children,i),fl(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&ye&&((p=s=Ze)&&(s=y2(s,l.type,l.pendingProps,_n),s!==null?(l.stateNode=s,Gn=l,Ze=ja(s.firstChild),_n=!1,p=!0):p=!1),p||jl(l)),Wa(l),p=l.type,m=l.pendingProps,T=n!==null?n.memoizedProps:null,s=m.children,lc(p,m)?s=null:T!==null&&lc(p,T)&&(l.flags|=32),l.memoizedState!==null&&(p=Rf(n,l,h2,null,null,i),rd._currentValue=p),fl(n,l),Pe(n,l,s,i),l.child;case 6:return n===null&&ye&&((n=i=Ze)&&(i=se(i,l.pendingProps,_n),i!==null?(l.stateNode=i,Gn=l,Ze=null,n=!0):n=!1),n||jl(l)),null;case 13:return Fg(n,l,i);case 4:return We(l,l.stateNode.containerInfo),s=l.pendingProps,n===null?l.child=yu(l,null,s,i):Pe(n,l,s,i),l.child;case 11:return Zg(n,l,l.type,l.pendingProps,i);case 7:return Pe(n,l,l.pendingProps,i),l.child;case 8:return Pe(n,l,l.pendingProps.children,i),l.child;case 12:return Pe(n,l,l.pendingProps.children,i),l.child;case 10:return s=l.pendingProps,Aa(l,l.type,s.value),Pe(n,l,s.children,i),l.child;case 9:return p=l.type._context,s=l.pendingProps.children,Pt(l),p=ht(p),s=s(p),l.flags|=1,Pe(n,l,s,i),l.child;case 14:return Kg(n,l,l.type,l.pendingProps,i);case 15:return Jg(n,l,l.type,l.pendingProps,i);case 19:return Wg(n,l,i);case 31:return Xv(n,l,i);case 22:return Gv(n,l,i,l.pendingProps);case 24:return Pt(l),s=ht(xn),n===null?(p=rl(),p===null&&(p=qe,m=gf(),p.pooledCache=m,m.refCount++,m!==null&&(p.pooledCacheLanes|=i),p=m),l.memoizedState={parent:s,cache:p},wf(l),Aa(l,xn,p)):((n.lanes&i)!==0&&(Dh(n,l),Bi(l,null,null,i),bu()),p=n.memoizedState,m=l.memoizedState,p.parent!==s?(p={parent:s,cache:s},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),Aa(l,xn,s)):(s=m.cache,Aa(l,xn,s),s!==p.cache&&Hi(l,[xn],i,!0))),Pe(n,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(h(156,l.tag))}function Xi(n){n.flags|=4}function Ig(n,l,i,s,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(tb())n.flags|=8192;else throw mu=pr,hr}else n.flags&=-16777217}function t0(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ka(l))if(tb())n.flags|=8192;else throw mu=pr,hr}function ha(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?ca():536870912,n.lanes|=l,cn|=l)}function Ys(n,l){if(!ye)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 s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:s.sibling=null}}function Wt(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,s=0;if(l)for(var p=n.child;p!==null;)i|=p.lanes|p.childLanes,s|=p.subtreeFlags&65011712,s|=p.flags&65011712,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)i|=p.lanes|p.childLanes,s|=p.subtreeFlags,s|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=s,n.childLanes=i,l}function Qv(n,l,i){var s=l.pendingProps;switch(wh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wt(l),null;case 1:return Wt(l),null;case 3:return i=l.stateNode,s=null,n!==null&&(s=n.memoizedState.cache),l.memoizedState.cache!==s&&(l.flags|=2048),ei(xn),Ce(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Ni(l)?Xi(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,gg())),Wt(l),null;case 26:var p=l.type,m=l.memoizedState;return n===null?(Xi(l),m!==null?(Wt(l),t0(l,m)):(Wt(l),Ig(l,p,null,s,i))):m?m!==n.memoizedState?(Xi(l),Wt(l),t0(l,m)):(Wt(l),l.flags&=-16777217):(n=n.memoizedProps,n!==s&&Xi(l),Wt(l),Ig(l,p,n,s,i)),null;case 27:if(Dt(l),i=ee.current,p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Xi(l);else{if(!s){if(l.stateNode===null)throw Error(h(166));return Wt(l),null}n=mt.current,Ni(l)?pf(l):(n=oc(p,s,i),l.stateNode=n,Xi(l))}return Wt(l),null;case 5:if(Dt(l),p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Xi(l);else{if(!s){if(l.stateNode===null)throw Error(h(166));return Wt(l),null}if(m=mt.current,Ni(l))pf(l);else{var T=Ou(ee.current);switch(m){case 1:m=T.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:m=T.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":m=T.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":m=T.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":m=T.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof s.is=="string"?T.createElement("select",{is:s.is}):T.createElement("select"),s.multiple?m.multiple=!0:s.size&&(m.size=s.size);break;default:m=typeof s.is=="string"?T.createElement(p,{is:s.is}):T.createElement(p)}}m[Ve]=l,m[Sa]=s;t:for(T=l.child;T!==null;){if(T.tag===5||T.tag===6)m.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===l)break t;for(;T.sibling===null;){if(T.return===null||T.return===l)break t;T=T.return}T.sibling.return=T.return,T=T.sibling}l.stateNode=m;t:switch(la(m,p,s),p){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&Xi(l)}}return Wt(l),Ig(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==s&&Xi(l);else{if(typeof s!="string"&&l.stateNode===null)throw Error(h(166));if(n=ee.current,Ni(l)){if(n=l.stateNode,i=l.memoizedProps,s=null,p=Gn,p!==null)switch(p.tag){case 27:case 5:s=p.memoizedProps}n[Ve]=l,n=!!(n.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||E0(n.nodeValue,i)),n||jl(l,!0)}else n=Ou(n).createTextNode(s),n[Ve]=l,l.stateNode=n}return Wt(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(s=Ni(l),i!==null){if(n===null){if(!s)throw Error(h(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(557));n[Ve]=l}else fu(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),n=!1}else i=gg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return l.flags&256?(Da(l),l):(Da(l),null);if((l.flags&128)!==0)throw Error(h(558))}return Wt(l),null;case 13:if(s=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(p=Ni(l),s!==null&&s.dehydrated!==null){if(n===null){if(!p)throw Error(h(318));if(p=l.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(h(317));p[Ve]=l}else fu(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),p=!1}else p=gg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=p),p=!0;if(!p)return l.flags&256?(Da(l),l):(Da(l),null)}return Da(l),(l.flags&128)!==0?(l.lanes=i,l):(i=s!==null,n=n!==null&&n.memoizedState!==null,i&&(s=l.child,p=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(p=s.alternate.memoizedState.cachePool.pool),m=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),m!==p&&(s.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),ha(l,l.updateQueue),Wt(l),null);case 4:return Ce(),n===null&&ac(l.stateNode.containerInfo),Wt(l),null;case 10:return ei(l.type),Wt(l),null;case 19:if($(en),s=l.memoizedState,s===null)return Wt(l),null;if(p=(l.flags&128)!==0,m=s.rendering,m===null)if(p)Ys(s,!1);else{if(Je!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(m=Us(n),m!==null){for(l.flags|=128,Ys(s,!1),n=m.updateQueue,l.updateQueue=n,ha(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)dg(i,n),i=i.sibling;return gt(en,en.current&1|2),ye&&Ul(l,s.treeForkCount),l.child}n=n.sibling}s.tail!==null&&Rn()>Ue&&(l.flags|=128,p=!0,Ys(s,!1),l.lanes=4194304)}else{if(!p)if(n=Us(m),n!==null){if(l.flags|=128,p=!0,n=n.updateQueue,l.updateQueue=n,ha(l,n),Ys(s,!0),s.tail===null&&s.tailMode==="hidden"&&!m.alternate&&!ye)return Wt(l),null}else 2*Rn()-s.renderingStartTime>Ue&&i!==536870912&&(l.flags|=128,p=!0,Ys(s,!1),l.lanes=4194304);s.isBackwards?(m.sibling=l.child,l.child=m):(n=s.last,n!==null?n.sibling=m:l.child=m,s.last=m)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=Rn(),n.sibling=null,i=en.current,gt(en,p?i&1|2:i&1),ye&&Ul(l,s.treeForkCount),n):(Wt(l),null);case 22:case 23:return Da(l),Os(),s=l.memoizedState!==null,n!==null?n.memoizedState!==null!==s&&(l.flags|=8192):s&&(l.flags|=8192),s?(i&536870912)!==0&&(l.flags&128)===0&&(Wt(l),l.subtreeFlags&6&&(l.flags|=8192)):Wt(l),i=l.updateQueue,i!==null&&ha(l,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==i&&(l.flags|=2048),n!==null&&$(ul),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),ei(xn),Wt(l),null;case 25:return null;case 30:return null}throw Error(h(156,l.tag))}function Zv(n,l){switch(wh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return ei(xn),Ce(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Dt(l),null;case 31:if(l.memoizedState!==null){if(Da(l),l.alternate===null)throw Error(h(340));fu()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(Da(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(h(340));fu()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return $(en),null;case 4:return Ce(),null;case 10:return ei(l.type),null;case 22:case 23:return Da(l),Os(),n!==null&&$(ul),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return ei(xn),null;case 25:return null;default:return null}}function Kv(n,l){switch(wh(l),l.tag){case 3:ei(xn),Ce();break;case 26:case 27:case 5:Dt(l);break;case 4:Ce();break;case 31:l.memoizedState!==null&&Da(l);break;case 13:Da(l);break;case 19:$(en);break;case 10:ei(l.type);break;case 22:case 23:Da(l),Os(),n!==null&&$(ul);break;case 24:ei(xn)}}function Hl(n,l){try{var i=l.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var p=s.next;i=p;do{if((i.tag&n)===n){s=void 0;var m=i.create,T=i.inst;s=m(),T.destroy=s}i=i.next}while(i!==p)}}catch(O){ke(l,l.return,O)}}function pl(n,l,i){try{var s=l.updateQueue,p=s!==null?s.lastEffect:null;if(p!==null){var m=p.next;s=m;do{if((s.tag&n)===n){var T=s.inst,O=T.destroy;if(O!==void 0){T.destroy=void 0,p=l;var H=i,F=O;try{F()}catch(ot){ke(p,H,ot)}}}s=s.next}while(s!==m)}}catch(ot){ke(l,l.return,ot)}}function ep(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{Su(l,i)}catch(s){ke(n,n.return,s)}}}function Du(n,l,i){i.props=wu(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(s){ke(n,l,s)}}function Qi(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}typeof i=="function"?n.refCleanup=i(s):i.current=s}}catch(p){ke(n,l,p)}}function ii(n,l){var i=n.ref,s=n.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(p){ke(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){ke(n,l,p)}else i.current=null}function e0(n){var l=n.type,i=n.memoizedProps,s=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break t;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(p){ke(n,n.return,p)}}function np(n,l,i){try{var s=n.stateNode;R0(s,n.type,i,l),s[Sa]=l}catch(p){ke(n,n.return,p)}}function n0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ci(n.type)||n.tag===4}function qs(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||n0(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&&ci(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Gs(n,l,i){var s=n.tag;if(s===5||s===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=Ql));else if(s!==4&&(s===27&&ci(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(Gs(n,l,i),n=n.sibling;n!==null;)Gs(n,l,i),n=n.sibling}function Xs(n,l,i){var s=n.tag;if(s===5||s===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(s!==4&&(s===27&&ci(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Xs(n,l,i),n=n.sibling;n!==null;)Xs(n,l,i),n=n.sibling}function a0(n){var l=n.stateNode,i=n.memoizedProps;try{for(var s=n.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);la(l,s,i),l[Ve]=n,l[Sa]=i}catch(m){ke(n,n.return,m)}}var _o=!1,Cn=!1,ap=!1,l0=typeof WeakSet=="function"?WeakSet:Set,Kn=null;function Qs(n,l){if(n=n.containerInfo,wp=Nn,n=ru(n),uf(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else t:{i=(i=n.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var p=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break t}var T=0,O=-1,H=-1,F=0,ot=0,dt=n,W=null;e:for(;;){for(var at;dt!==i||p!==0&&dt.nodeType!==3||(O=T+p),dt!==m||s!==0&&dt.nodeType!==3||(H=T+s),dt.nodeType===3&&(T+=dt.nodeValue.length),(at=dt.firstChild)!==null;)W=dt,dt=at;for(;;){if(dt===n)break e;if(W===i&&++F===p&&(O=T),W===m&&++ot===s&&(H=T),(at=dt.nextSibling)!==null)break;dt=W,W=dt.parentNode}dt=at}i=O===-1||H===-1?null:{start:O,end:H}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ep={focusedElem:n,selectionRange:i},Nn=!1,Kn=l;Kn!==null;)if(l=Kn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Kn=n;else for(;Kn!==null;){switch(l=Kn,m=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&&m!==null){n=void 0,i=l,p=m.memoizedProps,m=m.memoizedState,s=i.stateNode;try{var Mt=wu(i.type,p);n=s.getSnapshotBeforeUpdate(Mt,m),s.__reactInternalSnapshotBeforeUpdate=n}catch(Zt){ke(i,i.return,Zt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)ld(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":ld(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(h(163))}if(n=l.sibling,n!==null){n.return=l.return,Kn=n;break}Kn=l.return}}function Yf(n,l,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Uo(n,i),s&4&&Hl(5,i);break;case 1:if(Uo(n,i),s&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(T){ke(i,i.return,T)}else{var p=wu(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(p,l,n.__reactInternalSnapshotBeforeUpdate)}catch(T){ke(i,i.return,T)}}s&64&&ep(i),s&512&&Qi(i,i.return);break;case 3:if(Uo(n,i),s&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{Su(n,l)}catch(T){ke(i,i.return,T)}}break;case 27:l===null&&s&4&&a0(i);case 26:case 5:Uo(n,i),l===null&&s&4&&e0(i),s&512&&Qi(i,i.return);break;case 12:Uo(n,i);break;case 31:Uo(n,i),s&4&&Jv(n,i);break;case 13:Uo(n,i),s&4&&u0(n,i),s&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=ml.bind(null,i),ic(n,i))));break;case 22:if(s=i.memoizedState!==null||_o,!s){l=l!==null&&l.memoizedState!==null||Cn,p=_o;var m=Cn;_o=s,(Cn=l)&&!m?oi(n,i,(i.subtreeFlags&8772)!==0):Uo(n,i),_o=p,Cn=m}break;case 30:break;default:Uo(n,i)}}function i0(n){var l=n.alternate;l!==null&&(n.alternate=null,i0(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&Id(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 Ke=null,Ma=!1;function Zi(n,l,i){for(i=i.child;i!==null;)o0(n,l,i),i=i.sibling}function o0(n,l,i){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(Al,i)}catch{}switch(i.tag){case 26:Cn||ii(i,l),Zi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Cn||ii(i,l);var s=Ke,p=Ma;ci(i.type)&&(Ke=i.stateNode,Ma=!1),Zi(n,l,i),Ur(i.stateNode),Ke=s,Ma=p;break;case 5:Cn||ii(i,l);case 6:if(s=Ke,p=Ma,Ke=null,Zi(n,l,i),Ke=s,Ma=p,Ke!==null)if(Ma)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(i.stateNode)}catch(m){ke(i,l,m)}else try{Ke.removeChild(i.stateNode)}catch(m){ke(i,l,m)}break;case 18:Ke!==null&&(Ma?(n=Ke,M0(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),gc(n)):M0(Ke,i.stateNode));break;case 4:s=Ke,p=Ma,Ke=i.stateNode.containerInfo,Ma=!0,Zi(n,l,i),Ke=s,Ma=p;break;case 0:case 11:case 14:case 15:pl(2,i,l),Cn||pl(4,i,l),Zi(n,l,i);break;case 1:Cn||(ii(i,l),s=i.stateNode,typeof s.componentWillUnmount=="function"&&Du(i,l,s)),Zi(n,l,i);break;case 21:Zi(n,l,i);break;case 22:Cn=(s=Cn)||i.memoizedState!==null,Zi(n,l,i),Cn=s;break;default:Zi(n,l,i)}}function Jv(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{gc(n)}catch(i){ke(l,l.return,i)}}}function u0(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{gc(n)}catch(i){ke(l,l.return,i)}}function qf(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new l0),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new l0),l;default:throw Error(h(435,n.tag))}}function Gf(n,l){var i=qf(n);l.forEach(function(s){if(!i.has(s)){i.add(s);var p=mb.bind(null,n,s);s.then(p,p)}})}function Oa(n,l){var i=l.deletions;if(i!==null)for(var s=0;s<i.length;s++){var p=i[s],m=n,T=l,O=T;t:for(;O!==null;){switch(O.tag){case 27:if(ci(O.type)){Ke=O.stateNode,Ma=!1;break t}break;case 5:Ke=O.stateNode,Ma=!1;break t;case 3:case 4:Ke=O.stateNode.containerInfo,Ma=!0;break t}O=O.return}if(Ke===null)throw Error(h(160));o0(m,T,p),Ke=null,Ma=!1,m=p.alternate,m!==null&&(m.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)lp(l,n),l=l.sibling}var oe=null;function lp(n,l){var i=n.alternate,s=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Oa(l,n),qa(n),s&4&&(pl(3,n,n.return),Hl(3,n),pl(5,n,n.return));break;case 1:Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),s&64&&_o&&(n=n.updateQueue,n!==null&&(s=n.callbacks,s!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var p=oe;if(Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),s&4){var m=i!==null?i.memoizedState:null;if(s=n.memoizedState,i===null)if(s===null)if(n.stateNode===null){t:{s=n.type,i=n.memoizedProps,p=p.ownerDocument||p;e:switch(s){case"title":m=p.getElementsByTagName("title")[0],(!m||m[Ai]||m[Ve]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=p.createElement(s),p.head.insertBefore(m,p.querySelector("head > title"))),la(m,s,i),m[Ve]=n,Ne(m),s=m;break t;case"link":var T=j0("link","href",p).get(s+(i.href||""));if(T){for(var O=0;O<T.length;O++)if(m=T[O],m.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&m.getAttribute("rel")===(i.rel==null?null:i.rel)&&m.getAttribute("title")===(i.title==null?null:i.title)&&m.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){T.splice(O,1);break e}}m=p.createElement(s),la(m,s,i),p.head.appendChild(m);break;case"meta":if(T=j0("meta","content",p).get(s+(i.content||""))){for(O=0;O<T.length;O++)if(m=T[O],m.getAttribute("content")===(i.content==null?null:""+i.content)&&m.getAttribute("name")===(i.name==null?null:i.name)&&m.getAttribute("property")===(i.property==null?null:i.property)&&m.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&m.getAttribute("charset")===(i.charSet==null?null:i.charSet)){T.splice(O,1);break e}}m=p.createElement(s),la(m,s,i),p.head.appendChild(m);break;default:throw Error(h(468,s))}m[Ve]=n,Ne(m),s=m}n.stateNode=s}else zp(p,n.type,n.stateNode);else n.stateNode=U0(p,s,n.memoizedProps);else m!==s?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,s===null?zp(p,n.type,n.stateNode):U0(p,s,n.memoizedProps)):s===null&&n.stateNode!==null&&np(n,n.memoizedProps,i.memoizedProps)}break;case 27:Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),i!==null&&s&4&&np(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),n.flags&32){p=n.stateNode;try{Di(p,"")}catch(Mt){ke(n,n.return,Mt)}}s&4&&n.stateNode!=null&&(p=n.memoizedProps,np(n,p,i!==null?i.memoizedProps:p)),s&1024&&(ap=!0);break;case 6:if(Oa(l,n),qa(n),s&4){if(n.stateNode===null)throw Error(h(162));s=n.memoizedProps,i=n.stateNode;try{i.nodeValue=s}catch(Mt){ke(n,n.return,Mt)}}break;case 3:if(fc=null,p=oe,oe=pa(l.containerInfo),Oa(l,n),oe=p,qa(n),s&4&&i!==null&&i.memoizedState.isDehydrated)try{gc(l.containerInfo)}catch(Mt){ke(n,n.return,Mt)}ap&&(ap=!1,r0(n));break;case 4:s=oe,oe=pa(n.stateNode.containerInfo),Oa(l,n),qa(n),oe=s;break;case 12:Oa(l,n),qa(n);break;case 31:Oa(l,n),qa(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Gf(n,s)));break;case 13:Oa(l,n),qa(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(si=Rn()),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Gf(n,s)));break;case 22:p=n.memoizedState!==null;var H=i!==null&&i.memoizedState!==null,F=_o,ot=Cn;if(_o=F||p,Cn=ot||H,Oa(l,n),Cn=ot,_o=F,qa(n),s&8192)t:for(l=n.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||H||_o||Cn||Rr(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){H=i=l;try{if(m=H.stateNode,p)T=m.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{O=H.stateNode;var dt=H.memoizedProps.style,W=dt!=null&&dt.hasOwnProperty("display")?dt.display:null;O.style.display=W==null||typeof W=="boolean"?"":(""+W).trim()}}catch(Mt){ke(H,H.return,Mt)}}}else if(l.tag===6){if(i===null){H=l;try{H.stateNode.nodeValue=p?"":H.memoizedProps}catch(Mt){ke(H,H.return,Mt)}}}else if(l.tag===18){if(i===null){H=l;try{var at=H.stateNode;p?En(at,!0):En(H.stateNode,!1)}catch(Mt){ke(H,H.return,Mt)}}}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 t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}s&4&&(s=n.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Gf(n,i))));break;case 19:Oa(l,n),qa(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Gf(n,s)));break;case 30:break;case 21:break;default:Oa(l,n),qa(n)}}function qa(n){var l=n.flags;if(l&2){try{for(var i,s=n.return;s!==null;){if(n0(s)){i=s;break}s=s.return}if(i==null)throw Error(h(160));switch(i.tag){case 27:var p=i.stateNode,m=qs(n);Xs(n,m,p);break;case 5:var T=i.stateNode;i.flags&32&&(Di(T,""),i.flags&=-33);var O=qs(n);Xs(n,O,T);break;case 3:case 4:var H=i.stateNode.containerInfo,F=qs(n);Gs(n,F,H);break;default:throw Error(h(161))}}catch(ot){ke(n,n.return,ot)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function r0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;r0(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function Uo(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Yf(n,l.alternate,l),l=l.sibling}function Rr(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:pl(4,l,l.return),Rr(l);break;case 1:ii(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Du(l,l.return,i),Rr(l);break;case 27:Ur(l.stateNode);case 26:case 5:ii(l,l.return),Rr(l);break;case 22:l.memoizedState===null&&Rr(l);break;case 30:Rr(l);break;default:Rr(l)}n=n.sibling}}function oi(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var s=l.alternate,p=n,m=l,T=m.flags;switch(m.tag){case 0:case 11:case 15:oi(p,m,i),Hl(4,m);break;case 1:if(oi(p,m,i),s=m,p=s.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(F){ke(s,s.return,F)}if(s=m,p=s.updateQueue,p!==null){var O=s.stateNode;try{var H=p.shared.hiddenCallbacks;if(H!==null)for(p.shared.hiddenCallbacks=null,p=0;p<H.length;p++)zh(H[p],O)}catch(F){ke(s,s.return,F)}}i&&T&64&&ep(m),Qi(m,m.return);break;case 27:a0(m);case 26:case 5:oi(p,m,i),i&&s===null&&T&4&&e0(m),Qi(m,m.return);break;case 12:oi(p,m,i);break;case 31:oi(p,m,i),i&&T&4&&Jv(p,m);break;case 13:oi(p,m,i),i&&T&4&&u0(p,m);break;case 22:m.memoizedState===null&&oi(p,m,i),Qi(m,m.return);break;case 30:break;default:oi(p,m,i)}l=l.sibling}}function ip(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&&yf(i))}function op(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&yf(n))}function Bl(n,l,i,s){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Zs(n,l,i,s),l=l.sibling}function Zs(n,l,i,s){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Bl(n,l,i,s),p&2048&&Hl(9,l);break;case 1:Bl(n,l,i,s);break;case 3:Bl(n,l,i,s),p&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&yf(n)));break;case 12:if(p&2048){Bl(n,l,i,s),n=l.stateNode;try{var m=l.memoizedProps,T=m.id,O=m.onPostCommit;typeof O=="function"&&O(T,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(H){ke(l,l.return,H)}}else Bl(n,l,i,s);break;case 31:Bl(n,l,i,s);break;case 13:Bl(n,l,i,s);break;case 23:break;case 22:m=l.stateNode,T=l.alternate,l.memoizedState!==null?m._visibility&2?Bl(n,l,i,s):Xf(n,l):m._visibility&2?Bl(n,l,i,s):(m._visibility|=2,Ks(n,l,i,s,(l.subtreeFlags&10256)!==0||!1)),p&2048&&ip(T,l);break;case 24:Bl(n,l,i,s),p&2048&&op(l.alternate,l);break;default:Bl(n,l,i,s)}}function Ks(n,l,i,s,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var m=n,T=l,O=i,H=s,F=T.flags;switch(T.tag){case 0:case 11:case 15:Ks(m,T,O,H,p),Hl(8,T);break;case 23:break;case 22:var ot=T.stateNode;T.memoizedState!==null?ot._visibility&2?Ks(m,T,O,H,p):Xf(m,T):(ot._visibility|=2,Ks(m,T,O,H,p)),p&&F&2048&&ip(T.alternate,T);break;case 24:Ks(m,T,O,H,p),p&&F&2048&&op(T.alternate,T);break;default:Ks(m,T,O,H,p)}l=l.sibling}}function Xf(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,s=l,p=s.flags;switch(s.tag){case 22:Xf(i,s),p&2048&&ip(s.alternate,s);break;case 24:Xf(i,s),p&2048&&op(s.alternate,s);break;default:Xf(i,s)}l=l.sibling}}var Ga=8192;function Ki(n,l,i){if(n.subtreeFlags&Ga)for(n=n.child;n!==null;)$v(n,l,i),n=n.sibling}function $v(n,l,i){switch(n.tag){case 26:Ki(n,l,i),n.flags&Ga&&n.memoizedState!==null&&Pi(i,oe,n.memoizedState,n.memoizedProps);break;case 5:Ki(n,l,i);break;case 3:case 4:var s=oe;oe=pa(n.stateNode.containerInfo),Ki(n,l,i),oe=s;break;case 22:n.memoizedState===null&&(s=n.alternate,s!==null&&s.memoizedState!==null?(s=Ga,Ga=16777216,Ki(n,l,i),Ga=s):Ki(n,l,i));break;default:Ki(n,l,i)}}function up(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 Js(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Kn=s,rp(s,n)}up(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)s0(n),n=n.sibling}function s0(n){switch(n.tag){case 0:case 11:case 15:Js(n),n.flags&2048&&pl(9,n,n.return);break;case 3:Js(n);break;case 12:Js(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Qf(n)):Js(n);break;default:Js(n)}}function Qf(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Kn=s,rp(s,n)}up(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:pl(8,l,l.return),Qf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Qf(l));break;default:Qf(l)}n=n.sibling}}function rp(n,l){for(;Kn!==null;){var i=Kn;switch(i.tag){case 0:case 11:case 15:pl(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:yf(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Kn=s;else t:for(i=n;Kn!==null;){s=Kn;var p=s.sibling,m=s.return;if(i0(s),s===i){Kn=null;break t}if(p!==null){p.return=m,Kn=p;break t}Kn=m}}}var Fv={getCacheForType:function(n){var l=ht(xn),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return ht(xn).controller.signal}},c0=typeof WeakMap=="function"?WeakMap:Map,Me=0,qe=null,ve=null,pe=0,Le=0,$t=null,Ji=!1,Cu=!1,sp=!1,ui=0,Je=0,ri=0,Dr=0,cp=0,_a=0,cn=0,Zf=null,fn=null,fp=!1,si=0,f0=0,Ue=1/0,$s=null,nn=null,jn=0,jo=null,zu=null,$i=0,Xa=0,dp=null,hp=null,Fs=0,Kf=null;function Qa(){return(Me&2)!==0&&pe!==0?pe&-pe:V.T!==null?vp():Wd()}function Wv(){if(_a===0)if((pe&536870912)===0||ye){var n=xt;xt<<=1,(xt&3932160)===0&&(xt=262144),_a=n}else _a=536870912;return n=Ra.current,n!==null&&(n.flags|=32),_a}function Ua(n,l,i){(n===qe&&(Le===2||Le===9)||n.cancelPendingCommit!==null)&&(Fi(n,0),No(n,pe,_a,!1)),tu(n,i),((Me&2)===0||n!==qe)&&(n===qe&&((Me&2)===0&&(Dr|=i),Je===4&&No(n,pe,_a,!1)),Wi(n))}function Pv(n,l,i){if((Me&6)!==0)throw Error(h(327));var s=!i&&(l&127)===0&&(l&n.expiredLanes)===0||he(n,l),p=s?ab(n,l):mp(n,l,!0),m=s;do{if(p===0){Cu&&!s&&No(n,l,0,!1);break}else{if(i=n.current.alternate,m&&!Iv(i)){p=mp(n,l,!1),m=!1;continue}if(p===2){if(m=l,n.errorRecoveryDisabledLanes&m)var T=0;else T=n.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){l=T;t:{var O=n;p=Zf;var H=O.current.memoizedState.isDehydrated;if(H&&(Fi(O,T).flags|=256),T=mp(O,T,!1),T!==2){if(sp&&!H){O.errorRecoveryDisabledLanes|=m,Dr|=m,p=4;break t}m=fn,fn=p,m!==null&&(fn===null?fn=m:fn.push.apply(fn,m))}p=T}if(m=!1,p!==2)continue}}if(p===1){Fi(n,0),No(n,l,0,!0);break}t:{switch(s=n,m=p,m){case 0:case 1:throw Error(h(345));case 4:if((l&4194048)!==l)break;case 6:No(s,l,_a,!Ji);break t;case 2:fn=null;break;case 3:case 5:break;default:throw Error(h(329))}if((l&62914560)===l&&(p=si+300-Rn(),10<p)){if(No(s,l,_a,!Ji),jt(s,0,!0)!==0)break t;$i=l,s.timeoutHandle=ad(Jf.bind(null,s,i,fn,$s,fp,l,_a,Dr,cn,Ji,m,"Throttled",-0,0),p);break t}Jf(s,i,fn,$s,fp,l,_a,Dr,cn,Ji,m,null,-0,0)}}break}while(!0);Wi(n)}function Jf(n,l,i,s,p,m,T,O,H,F,ot,dt,W,at){if(n.timeoutHandle=-1,dt=l.subtreeFlags,dt&8192||(dt&16785408)===16785408){dt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ql},$v(l,m,dt);var Mt=(m&62914560)===m?si-Rn():(m&4194048)===m?f0-Rn():0;if(Mt=H0(dt,Mt),Mt!==null){$i=m,n.cancelPendingCommit=Mt(ub.bind(null,n,l,m,i,s,p,T,O,H,ot,dt,null,W,at)),No(n,m,T,!F);return}}ub(n,l,m,i,s,p,T,O,H)}function Iv(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 s=0;s<i.length;s++){var p=i[s],m=p.getSnapshot;p=p.value;try{if(!da(m(),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 No(n,l,i,s){l&=~cp,l&=~Dr,n.suspendedLanes|=l,n.pingedLanes&=~l,s&&(n.warmLanes|=l),s=n.expirationTimes;for(var p=l;0<p;){var m=31-Vn(p),T=1<<m;s[m]=-1,p&=~T}i!==0&&$c(n,i,l)}function Ws(){return(Me&6)===0?(Bo(0),!1):!0}function d0(){if(ve!==null){if(Le===0)var n=ve.return;else n=ve,ti=Eo=null,Df(n),gu=null,mr=0,n=ve;for(;n!==null;)Kv(n.alternate,n),n=n.return;ve=null}}function Fi(n,l){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,wb(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),$i=0,d0(),qe=n,ve=i=To(n.current,null),pe=l,Le=0,$t=null,Ji=!1,Cu=he(n,l),sp=!1,cn=_a=cp=Dr=ri=Je=0,fn=Zf=null,fp=!1,(l&8)!==0&&(l|=l&32);var s=n.entangledLanes;if(s!==0)for(n=n.entanglements,s&=l;0<s;){var p=31-Vn(s),m=1<<p;l|=n[p],s&=~m}return ui=l,al(),i}function Ps(n,l){le=null,V.H=Nf,l===hu||l===zs?(l=xg(),Le=3):l===hr?(l=xg(),Le=4):Le=l===Fh?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,$t=l,ve===null&&(Je=1,Vs(n,il(l,n.current)))}function tb(){var n=Ra.current;return n===null?!0:(pe&4194048)===pe?cl===null:(pe&62914560)===pe||(pe&536870912)!==0?n===cl:!1}function eb(){var n=V.H;return V.H=Nf,n===null?Nf:n}function nb(){var n=V.A;return V.A=Fv,n}function pp(){Je=4,Ji||(pe&4194048)!==pe&&Ra.current!==null||(Cu=!0),(ri&134217727)===0&&(Dr&134217727)===0||qe===null||No(qe,pe,_a,!1)}function mp(n,l,i){var s=Me;Me|=2;var p=eb(),m=nb();(qe!==n||pe!==l)&&($s=null,Fi(n,l)),l=!1;var T=Je;t:do try{if(Le!==0&&ve!==null){var O=ve,H=$t;switch(Le){case 8:d0(),T=6;break t;case 3:case 2:case 9:case 6:Ra.current===null&&(l=!0);var F=Le;if(Le=0,$t=null,Cr(n,O,H,F),i&&Cu){T=0;break t}break;default:F=Le,Le=0,$t=null,Cr(n,O,H,F)}}m2(),T=Je;break}catch(ot){Ps(n,ot)}while(!0);return l&&n.shellSuspendCounter++,ti=Eo=null,Me=s,V.H=p,V.A=m,ve===null&&(qe=null,pe=0,al()),T}function m2(){for(;ve!==null;)lb(ve)}function ab(n,l){var i=Me;Me|=2;var s=eb(),p=nb();qe!==n||pe!==l?($s=null,Ue=Rn()+500,Fi(n,l)):Cu=he(n,l);t:do try{if(Le!==0&&ve!==null){l=ve;var m=$t;e:switch(Le){case 1:Le=0,$t=null,Cr(n,l,m,1);break;case 2:case 9:if(bg(m)){Le=0,$t=null,ib(l);break}l=function(){Le!==2&&Le!==9||qe!==n||(Le=7),Wi(n)},m.then(l,l);break t;case 3:Le=7;break t;case 4:Le=5;break t;case 7:bg(m)?(Le=0,$t=null,ib(l)):(Le=0,$t=null,Cr(n,l,m,7));break;case 5:var T=null;switch(ve.tag){case 26:T=ve.memoizedState;case 5:case 27:var O=ve;if(T?Ka(T):O.stateNode.complete){Le=0,$t=null;var H=O.sibling;if(H!==null)ve=H;else{var F=O.return;F!==null?(ve=F,$f(F)):ve=null}break e}}Le=0,$t=null,Cr(n,l,m,5);break;case 6:Le=0,$t=null,Cr(n,l,m,6);break;case 8:d0(),Je=6;break t;default:throw Error(h(462))}}Mu();break}catch(ot){Ps(n,ot)}while(!0);return ti=Eo=null,V.H=s,V.A=p,Me=i,ve!==null?0:(qe=null,pe=0,al(),Je)}function Mu(){for(;ve!==null&&!wi();)lb(ve)}function lb(n){var l=Pg(n.alternate,n,ui);n.memoizedProps=n.pendingProps,l===null?$f(n):ve=l}function ib(n){var l=n,i=l.alternate;switch(l.tag){case 15:case 0:l=Au(i,l,l.pendingProps,l.type,void 0,pe);break;case 11:l=Au(i,l,l.pendingProps,l.type.render,l.ref,pe);break;case 5:Df(l);default:Kv(i,l),l=ve=dg(l,ui),l=Pg(i,l,ui)}n.memoizedProps=n.pendingProps,l===null?$f(n):ve=l}function Cr(n,l,i,s){ti=Eo=null,Df(l),gu=null,mr=0;var p=l.return;try{if(p2(n,p,l,i,pe)){Je=1,Vs(n,il(i,n.current)),ve=null;return}}catch(m){if(p!==null)throw ve=p,m;Je=1,Vs(n,il(i,n.current)),ve=null;return}l.flags&32768?(ye||s===1?n=!0:Cu||(pe&536870912)!==0?n=!1:(Ji=n=!0,(s===2||s===9||s===3||s===6)&&(s=Ra.current,s!==null&&s.tag===13&&(s.flags|=16384))),ob(l,n)):$f(l)}function $f(n){var l=n;do{if((l.flags&32768)!==0){ob(l,Ji);return}n=l.return;var i=Qv(l.alternate,l,ui);if(i!==null){ve=i;return}if(l=l.sibling,l!==null){ve=l;return}ve=l=n}while(l!==null);Je===0&&(Je=5)}function ob(n,l){do{var i=Zv(n.alternate,n);if(i!==null){i.flags&=32767,ve=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(n=n.sibling,n!==null)){ve=n;return}ve=n=i}while(n!==null);Je=6,ve=null}function ub(n,l,i,s,p,m,T,O,H){n.cancelPendingCommit=null;do Is();while(jn!==0);if((Me&6)!==0)throw Error(h(327));if(l!==null){if(l===n.current)throw Error(h(177));if(m=l.lanes|l.childLanes,m|=Ol,ss(n,i,m,T,O,H),n===qe&&(ve=qe=null,pe=0),zu=l,jo=n,$i=i,Xa=m,dp=p,hp=s,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,gb(Gl,function(){return db(),null})):(n.callbackNode=null,n.callbackPriority=0),s=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||s){s=V.T,V.T=null,p=et.p,et.p=2,T=Me,Me|=4;try{Qs(n,l,i)}finally{Me=T,et.p=p,V.T=s}}jn=1,rb(),sb(),cb()}}function rb(){if(jn===1){jn=0;var n=jo,l=zu,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=V.T,V.T=null;var s=et.p;et.p=2;var p=Me;Me|=4;try{lp(l,n);var m=Ep,T=ru(n.containerInfo),O=m.focusedElem,H=m.selectionRange;if(T!==O&&O&&O.ownerDocument&&ir(O.ownerDocument.documentElement,O)){if(H!==null&&uf(O)){var F=H.start,ot=H.end;if(ot===void 0&&(ot=F),"selectionStart"in O)O.selectionStart=F,O.selectionEnd=Math.min(ot,O.value.length);else{var dt=O.ownerDocument||document,W=dt&&dt.defaultView||window;if(W.getSelection){var at=W.getSelection(),Mt=O.textContent.length,Zt=Math.min(H.start,Mt),Xe=H.end===void 0?Zt:Math.min(H.end,Mt);!at.extend&&Zt>Xe&&(T=Xe,Xe=Zt,Zt=T);var Q=cg(O,Zt),Y=cg(O,Xe);if(Q&&Y&&(at.rangeCount!==1||at.anchorNode!==Q.node||at.anchorOffset!==Q.offset||at.focusNode!==Y.node||at.focusOffset!==Y.offset)){var J=dt.createRange();J.setStart(Q.node,Q.offset),at.removeAllRanges(),Zt>Xe?(at.addRange(J),at.extend(Y.node,Y.offset)):(J.setEnd(Y.node,Y.offset),at.addRange(J))}}}}for(dt=[],at=O;at=at.parentNode;)at.nodeType===1&&dt.push({element:at,left:at.scrollLeft,top:at.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<dt.length;O++){var ct=dt[O];ct.element.scrollLeft=ct.left,ct.element.scrollTop=ct.top}}Nn=!!wp,Ep=wp=null}finally{Me=p,et.p=s,V.T=i}}n.current=l,jn=2}}function sb(){if(jn===2){jn=0;var n=jo,l=zu,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=V.T,V.T=null;var s=et.p;et.p=2;var p=Me;Me|=4;try{Yf(n,l.alternate,l)}finally{Me=p,et.p=s,V.T=i}}jn=3}}function cb(){if(jn===4||jn===3){jn=0,Xu();var n=jo,l=zu,i=$i,s=hp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?jn=5:(jn=0,zu=jo=null,fb(n,n.pendingLanes));var p=n.pendingLanes;if(p===0&&(nn=null),Lm(i),l=l.stateNode,On&&typeof On.onCommitFiberRoot=="function")try{On.onCommitFiberRoot(Al,l,void 0,(l.current.flags&128)===128)}catch{}if(s!==null){l=V.T,p=et.p,et.p=2,V.T=null;try{for(var m=n.onRecoverableError,T=0;T<s.length;T++){var O=s[T];m(O.value,{componentStack:O.stack})}}finally{V.T=l,et.p=p}}($i&3)!==0&&Is(),Wi(n),p=n.pendingLanes,(i&261930)!==0&&(p&42)!==0?n===Kf?Fs++:(Fs=0,Kf=n):Fs=0,Bo(0)}}function fb(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,yf(l)))}function Is(){return rb(),sb(),cb(),db()}function db(){if(jn!==5)return!1;var n=jo,l=Xa;Xa=0;var i=Lm($i),s=V.T,p=et.p;try{et.p=32>i?32:i,V.T=null,i=dp,dp=null;var m=jo,T=$i;if(jn=0,zu=jo=null,$i=0,(Me&6)!==0)throw Error(h(331));var O=Me;if(Me|=4,s0(m.current),Zs(m,m.current,T,i),Me=O,Bo(0,!1),On&&typeof On.onPostCommitFiberRoot=="function")try{On.onPostCommitFiberRoot(Al,m)}catch{}return!0}finally{et.p=p,V.T=s,fb(n,l)}}function hb(n,l,i){l=il(i,l),l=Gg(n.stateNode,l,2),n=sl(n,l,2),n!==null&&(tu(n,2),Wi(n))}function ke(n,l,i){if(n.tag===3)hb(n,n,i);else for(;l!==null;){if(l.tag===3){hb(l,n,i);break}else if(l.tag===1){var s=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(nn===null||!nn.has(s))){n=il(i,n),i=Xg(2),s=sl(l,i,2),s!==null&&(Qg(i,s,l,n),tu(s,2),Wi(s));break}}l=l.return}}function Ff(n,l,i){var s=n.pingCache;if(s===null){s=n.pingCache=new c0;var p=new Set;s.set(l,p)}else p=s.get(l),p===void 0&&(p=new Set,s.set(l,p));p.has(i)||(sp=!0,p.add(i),n=h0.bind(null,n,l,i),l.then(n,n))}function h0(n,l,i){var s=n.pingCache;s!==null&&s.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,qe===n&&(pe&i)===i&&(Je===4||Je===3&&(pe&62914560)===pe&&300>Rn()-si?(Me&2)===0&&Fi(n,0):cp|=i,cn===pe&&(cn=0)),Wi(n)}function pb(n,l){l===0&&(l=ca()),n=xo(n,l),n!==null&&(tu(n,l),Wi(n))}function ml(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),pb(n,i)}function mb(n,l){var i=0;switch(n.tag){case 31:case 13:var s=n.stateNode,p=n.memoizedState;p!==null&&(i=p.retryLane);break;case 19:s=n.stateNode;break;case 22:s=n.stateNode._retryCache;break;default:throw Error(h(314))}s!==null&&s.delete(l),pb(n,i)}function gb(n,l){return _t(n,l)}var tc=null,zr=null,p0=!1,gp=!1,m0=!1,Ho=0;function Wi(n){n!==zr&&n.next===null&&(zr===null?tc=zr=n:zr=zr.next=n),gp=!0,p0||(p0=!0,Pf())}function Bo(n,l){if(!m0&&gp){m0=!0;do for(var i=!1,s=tc;s!==null;){if(n!==0){var p=s.pendingLanes;if(p===0)var m=0;else{var T=s.suspendedLanes,O=s.pingedLanes;m=(1<<31-Vn(42|n)+1)-1,m&=p&~(T&~O),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,Mr(s,m))}else m=pe,m=jt(s,s===qe?m:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(m&3)===0||he(s,m)||(i=!0,Mr(s,m));s=s.next}while(i);m0=!1}}function yp(){g0()}function g0(){gp=p0=!1;var n=0;Ho!==0&&g2()&&(n=Ho);for(var l=Rn(),i=null,s=tc;s!==null;){var p=s.next,m=y0(s,l);m===0?(s.next=null,i===null?tc=p:i.next=p,p===null&&(zr=i)):(i=s,(n!==0||(m&3)!==0)&&(gp=!0)),s=p}jn!==0&&jn!==5||Bo(n),Ho!==0&&(Ho=0)}function y0(n,l){for(var i=n.suspendedLanes,s=n.pingedLanes,p=n.expirationTimes,m=n.pendingLanes&-62914561;0<m;){var T=31-Vn(m),O=1<<T,H=p[T];H===-1?((O&i)===0||(O&s)!==0)&&(p[T]=ne(O,l)):H<=l&&(n.expiredLanes|=O),m&=~O}if(l=qe,i=pe,i=jt(n,n===l?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s=n.callbackNode,i===0||n===l&&(Le===2||Le===9)||n.cancelPendingCommit!==null)return s!==null&&s!==null&&Po(s),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||he(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(s!==null&&Po(s),Lm(i)){case 2:case 8:i=us;break;case 32:i=Gl;break;case 268435456:i=rs;break;default:i=Gl}return s=Wf.bind(null,n),i=_t(i,s),n.callbackPriority=l,n.callbackNode=i,l}return s!==null&&s!==null&&Po(s),n.callbackPriority=2,n.callbackNode=null,2}function Wf(n,l){if(jn!==0&&jn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Is()&&n.callbackNode!==i)return null;var s=pe;return s=jt(n,n===qe?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s===0?null:(Pv(n,s,l),y0(n,Rn()),n.callbackNode!=null&&n.callbackNode===i?Wf.bind(null,n):null)}function Mr(n,l){if(Is())return null;Pv(n,l,!0)}function Pf(){Eb(function(){(Me&6)!==0?_t(os,yp):g0()})}function vp(){if(Ho===0){var n=du;n===0&&(n=yt,yt<<=1,(yt&261888)===0&&(yt=256)),Ho=n}return Ho}function yb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Dl(""+n)}function Or(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 If(n,l,i,s,p){if(l==="submit"&&i&&i.stateNode===p){var m=yb((p[Sa]||null).action),T=s.submitter;T&&(l=(l=T[Sa]||null)?yb(l.formAction):T.getAttribute("formAction"),l!==null&&(m=l,T=null));var O=new af("action","action",null,s,p);n.push({event:O,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ho!==0){var H=T?Or(p,T):new FormData(p);Ls(i,{pending:!0,data:H,method:p.method,action:m},null,H)}}else typeof m=="function"&&(O.preventDefault(),H=T?Or(p,T):new FormData(p),Ls(i,{pending:!0,data:H,method:p.method,action:m},m,H))},currentTarget:p}]})}}for(var bp=0;bp<ws.length;bp++){var ec=ws[bp],v0=ec.toLowerCase(),b0=ec[0].toUpperCase()+ec.slice(1);Ta(v0,"on"+b0)}Ta(sf,"onAnimationEnd"),Ta(fg,"onAnimationIteration"),Ta(bh,"onAnimationStart"),Ta("dblclick","onDoubleClick"),Ta("focusin","onFocus"),Ta("focusout","onBlur"),Ta(or,"onTransitionRun"),Ta(cf,"onTransitionStart"),Ta(Oi,"onTransitionCancel"),Ta(Cv,"onTransitionEnd"),Ri("onMouseEnter",["mouseout","mouseover"]),Ri("onMouseLeave",["mouseout","mouseover"]),Ri("onPointerEnter",["pointerout","pointerover"]),Ri("onPointerLeave",["pointerout","pointerover"]),au("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),au("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),au("onBeforeInput",["compositionend","keypress","textInput","paste"]),au("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),au("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),au("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nc="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(" "),vb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(nc));function bb(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var s=n[i],p=s.event;s=s.listeners;t:{var m=void 0;if(l)for(var T=s.length-1;0<=T;T--){var O=s[T],H=O.instance,F=O.currentTarget;if(O=O.listener,H!==m&&p.isPropagationStopped())break t;m=O,p.currentTarget=F;try{m(p)}catch(ot){ur(ot)}p.currentTarget=null,m=H}else for(T=0;T<s.length;T++){if(O=s[T],H=O.instance,F=O.currentTarget,O=O.listener,H!==m&&p.isPropagationStopped())break t;m=O,p.currentTarget=F;try{m(p)}catch(ot){ur(ot)}p.currentTarget=null,m=H}}}}function ge(n,l){var i=l[Pd];i===void 0&&(i=l[Pd]=new Set);var s=n+"__bubble";i.has(s)||(td(l,n,2,!1),i.add(s))}function S0(n,l,i){var s=0;l&&(s|=4),td(i,n,s,l)}var Sp="_reactListening"+Math.random().toString(36).slice(2);function ac(n){if(!n[Sp]){n[Sp]=!0,$u.forEach(function(i){i!=="selectionchange"&&(vb.has(i)||S0(i,!1,n),S0(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[Sp]||(l[Sp]=!0,S0("selectionchange",!1,l))}}function td(n,l,i,s){switch(sd(l)){case 2:var p=Ii;break;case 8:p=to;break;default:p=ia}i=p.bind(null,l,i,n),p=void 0,!ef||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),s?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 x0(n,l,i,s,p){var m=s;if((l&1)===0&&(l&2)===0&&s!==null)t:for(;;){if(s===null)return;var T=s.tag;if(T===3||T===4){var O=s.stateNode.containerInfo;if(O===p)break;if(T===4)for(T=s.return;T!==null;){var H=T.tag;if((H===3||H===4)&&T.stateNode.containerInfo===p)return;T=T.return}for(;O!==null;){if(T=Zu(O),T===null)return;if(H=T.tag,H===5||H===6||H===26||H===27){s=m=T;continue t}O=O.parentNode}}s=s.return}Km(function(){var F=m,ot=oh(i),dt=[];t:{var W=_i.get(n);if(W!==void 0){var at=af,Mt=n;switch(n){case"keypress":if(rh(i)===0)break t;case"keydown":case"keyup":at=dh;break;case"focusin":Mt="focus",at=ch;break;case"focusout":Mt="blur",at=ch;break;case"beforeblur":case"afterblur":at=ch;break;case"click":if(i.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":at=vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":at=gv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":at=xv;break;case sf:case fg:case bh:at=vv;break;case Cv:at=c2;break;case"scroll":case"scrollend":at=r2;break;case"wheel":at=f2;break;case"copy":case"cut":case"paste":at=Iu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":at=Jl;break;case"toggle":case"beforetoggle":at=ng}var Zt=(l&4)!==0,Xe=!Zt&&(n==="scroll"||n==="scrollend"),Q=Zt?W!==null?W+"Capture":null:W;Zt=[];for(var Y=F,J;Y!==null;){var ct=Y;if(J=ct.stateNode,ct=ct.tag,ct!==5&&ct!==26&&ct!==27||J===null||Q===null||(ct=Yn(Y,Q),ct!=null&&Zt.push(ed(Y,ct,J))),Xe)break;Y=Y.return}0<Zt.length&&(W=new at(W,Mt,null,i,ot),dt.push({event:W,listeners:Zt}))}}if((l&7)===0){t:{if(W=n==="mouseover"||n==="pointerover",at=n==="mouseout"||n==="pointerout",W&&i!==ih&&(Mt=i.relatedTarget||i.fromElement)&&(Zu(Mt)||Mt[eu]))break t;if((at||W)&&(W=ot.window===ot?ot:(W=ot.ownerDocument)?W.defaultView||W.parentWindow:window,at?(Mt=i.relatedTarget||i.toElement,at=F,Mt=Mt?Zu(Mt):null,Mt!==null&&(Xe=b(Mt),Zt=Mt.tag,Mt!==Xe||Zt!==5&&Zt!==27&&Zt!==6)&&(Mt=null)):(at=null,Mt=F),at!==Mt)){if(Zt=vs,ct="onMouseLeave",Q="onMouseEnter",Y="mouse",(n==="pointerout"||n==="pointerover")&&(Zt=Jl,ct="onPointerLeave",Q="onPointerEnter",Y="pointer"),Xe=at==null?W:cs(at),J=Mt==null?W:cs(Mt),W=new Zt(ct,Y+"leave",at,i,ot),W.target=Xe,W.relatedTarget=J,ct=null,Zu(ot)===F&&(Zt=new Zt(Q,Y+"enter",Mt,i,ot),Zt.target=J,Zt.relatedTarget=Xe,ct=Zt),Xe=ct,at&&Mt)e:{for(Zt=Sb,Q=at,Y=Mt,J=0,ct=Q;ct;ct=Zt(ct))J++;ct=0;for(var Yt=Y;Yt;Yt=Zt(Yt))ct++;for(;0<J-ct;)Q=Zt(Q),J--;for(;0<ct-J;)Y=Zt(Y),ct--;for(;J--;){if(Q===Y||Y!==null&&Q===Y.alternate){Zt=Q;break e}Q=Zt(Q),Y=Zt(Y)}Zt=null}else Zt=null;at!==null&&xp(dt,W,at,Zt,!1),Mt!==null&&Xe!==null&&xp(dt,Xe,Mt,Zt,!0)}}t:{if(W=F?cs(F):window,at=W.nodeName&&W.nodeName.toLowerCase(),at==="select"||at==="input"&&W.type==="file")var Ae=ug;else if(Mi(W))if(mh)Ae=lr;else{Ae=Rv;var Nt=Av}else at=W.nodeName,!at||at.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?F&&Zm(F.elementType)&&(Ae=ug):Ae=uu;if(Ae&&(Ae=Ae(n,F))){og(dt,Ae,i,ot);break t}Nt&&Nt(n,W,F),n==="focusout"&&F&&W.type==="number"&&F.memoizedProps.value!=null&&Fu(W,"number",W.value)}switch(Nt=F?cs(F):window,n){case"focusin":(Mi(Nt)||Nt.contentEditable==="true")&&(su=Nt,xs=F,Ml=null);break;case"focusout":Ml=xs=su=null;break;case"mousedown":Fl=!0;break;case"contextmenu":case"mouseup":case"dragend":Fl=!1,vh(dt,i,ot);break;case"selectionchange":if(rf)break;case"keydown":case"keyup":vh(dt,i,ot)}var ae;if(bs)t:{switch(n){case"compositionstart":var ue="onCompositionStart";break t;case"compositionend":ue="onCompositionEnd";break t;case"compositionupdate":ue="onCompositionUpdate";break t}ue=void 0}else er?ph(n,i)&&(ue="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(ue="onCompositionStart");ue&&(ag&&i.locale!=="ko"&&(er||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&er&&(ae=$m()):(bo=ot,Jm="value"in bo?bo.value:bo.textContent,er=!0)),Nt=nd(F,ue),0<Nt.length&&(ue=new bv(ue,n,null,i,ot),dt.push({event:ue,listeners:Nt}),ae?ue.data=ae:(ae=lg(i),ae!==null&&(ue.data=ae)))),(ae=fa?Ev(n,i):d2(n,i))&&(ue=nd(F,"onBeforeInput"),0<ue.length&&(Nt=new bv("onBeforeInput","beforeinput",null,i,ot),dt.push({event:Nt,listeners:ue}),Nt.data=ae)),If(dt,n,F,i,ot)}bb(dt,l)})}function ed(n,l,i){return{instance:n,listener:l,currentTarget:i}}function nd(n,l){for(var i=l+"Capture",s=[];n!==null;){var p=n,m=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||m===null||(p=Yn(n,i),p!=null&&s.unshift(ed(n,p,m)),p=Yn(n,l),p!=null&&s.push(ed(n,p,m))),n.tag===3)return s;n=n.return}return[]}function Sb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function xp(n,l,i,s,p){for(var m=l._reactName,T=[];i!==null&&i!==s;){var O=i,H=O.alternate,F=O.stateNode;if(O=O.tag,H!==null&&H===s)break;O!==5&&O!==26&&O!==27||F===null||(H=F,p?(F=Yn(i,m),F!=null&&T.unshift(ed(i,F,H))):p||(F=Yn(i,m),F!=null&&T.push(ed(i,F,H)))),i=i.return}T.length!==0&&n.push({event:l,listeners:T})}var xb=/\r\n?/g,T0=/\u0000|\uFFFD/g;function w0(n){return(typeof n=="string"?n:""+n).replace(xb,`
|
|
30
|
-
`).replace(T0,"")}function E0(n,l){return l=w0(l),w0(n)===l}function Ge(n,l,i,s,p,m){switch(i){case"children":typeof s=="string"?l==="body"||l==="textarea"&&s===""||Di(n,s):(typeof s=="number"||typeof s=="bigint")&&l!=="body"&&Di(n,""+s);break;case"className":nh(n,"class",s);break;case"tabIndex":nh(n,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":nh(n,i,s);break;case"style":hv(n,s,m);break;case"data":if(l!=="object"){nh(n,"data",s);break}case"src":case"href":if(s===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=Dl(""+s),n.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="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 m=="function"&&(i==="formAction"?(l!=="input"&&Ge(n,l,"name",p.name,p,null),Ge(n,l,"formEncType",p.formEncType,p,null),Ge(n,l,"formMethod",p.formMethod,p,null),Ge(n,l,"formTarget",p.formTarget,p,null)):(Ge(n,l,"encType",p.encType,p,null),Ge(n,l,"method",p.method,p,null),Ge(n,l,"target",p.target,p,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=Dl(""+s),n.setAttribute(i,s);break;case"onClick":s!=null&&(n.onclick=Ql);break;case"onScroll":s!=null&&ge("scroll",n);break;case"onScrollEnd":s!=null&&ge("scrollend",n);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(h(61));if(i=s.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"multiple":n.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":n.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){n.removeAttribute("xlink:href");break}i=Dl(""+s),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":s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""+s):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":s&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":s===!0?n.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,s):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?n.setAttribute(i,s):n.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?n.removeAttribute(i):n.setAttribute(i,s);break;case"popover":ge("beforetoggle",n),ge("toggle",n),hs(n,"popover",s);break;case"xlinkActuate":yo(n,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":yo(n,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":yo(n,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":yo(n,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":yo(n,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":yo(n,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":yo(n,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":yo(n,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":yo(n,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":hs(n,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=u2.get(i)||i,hs(n,i,s))}}function A0(n,l,i,s,p,m){switch(i){case"style":hv(n,s,m);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(h(61));if(i=s.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"children":typeof s=="string"?Di(n,s):(typeof s=="number"||typeof s=="bigint")&&Di(n,""+s);break;case"onScroll":s!=null&&ge("scroll",n);break;case"onScrollEnd":s!=null&&ge("scrollend",n);break;case"onClick":s!=null&&(n.onclick=Ql);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!nu.hasOwnProperty(i))t:{if(i[0]==="o"&&i[1]==="n"&&(p=i.endsWith("Capture"),l=i.slice(2,p?i.length-7:void 0),m=n[Sa]||null,m=m!=null?m[i]:null,typeof m=="function"&&n.removeEventListener(l,m,p),typeof s=="function")){typeof m!="function"&&m!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,s,p);break t}i in n?n[i]=s:s===!0?n.setAttribute(i,""):hs(n,i,s)}}}function la(n,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ge("error",n),ge("load",n);var s=!1,p=!1,m;for(m in i)if(i.hasOwnProperty(m)){var T=i[m];if(T!=null)switch(m){case"src":s=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Ge(n,l,m,T,i,null)}}p&&Ge(n,l,"srcSet",i.srcSet,i,null),s&&Ge(n,l,"src",i.src,i,null);return;case"input":ge("invalid",n);var O=m=T=p=null,H=null,F=null;for(s in i)if(i.hasOwnProperty(s)){var ot=i[s];if(ot!=null)switch(s){case"name":p=ot;break;case"type":T=ot;break;case"checked":H=ot;break;case"defaultChecked":F=ot;break;case"value":m=ot;break;case"defaultValue":O=ot;break;case"children":case"dangerouslySetInnerHTML":if(ot!=null)throw Error(h(137,l));break;default:Ge(n,l,s,ot,i,null)}}Pc(n,m,O,H,F,T,p,!1);return;case"select":ge("invalid",n),s=T=m=null;for(p in i)if(i.hasOwnProperty(p)&&(O=i[p],O!=null))switch(p){case"value":m=O;break;case"defaultValue":T=O;break;case"multiple":s=O;default:Ge(n,l,p,O,i,null)}l=m,i=T,n.multiple=!!s,l!=null?ps(n,!!s,l,!1):i!=null&&ps(n,!!s,i,!0);return;case"textarea":ge("invalid",n),m=p=s=null;for(T in i)if(i.hasOwnProperty(T)&&(O=i[T],O!=null))switch(T){case"value":s=O;break;case"defaultValue":p=O;break;case"children":m=O;break;case"dangerouslySetInnerHTML":if(O!=null)throw Error(h(91));break;default:Ge(n,l,T,O,i,null)}Qm(n,s,p,m);return;case"option":for(H in i)i.hasOwnProperty(H)&&(s=i[H],s!=null)&&(H==="selected"?n.selected=s&&typeof s!="function"&&typeof s!="symbol":Ge(n,l,H,s,i,null));return;case"dialog":ge("beforetoggle",n),ge("toggle",n),ge("cancel",n),ge("close",n);break;case"iframe":case"object":ge("load",n);break;case"video":case"audio":for(s=0;s<nc.length;s++)ge(nc[s],n);break;case"image":ge("error",n),ge("load",n);break;case"details":ge("toggle",n);break;case"embed":case"source":case"link":ge("error",n),ge("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(F in i)if(i.hasOwnProperty(F)&&(s=i[F],s!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Ge(n,l,F,s,i,null)}return;default:if(Zm(l)){for(ot in i)i.hasOwnProperty(ot)&&(s=i[ot],s!==void 0&&A0(n,l,ot,s,i,void 0));return}}for(O in i)i.hasOwnProperty(O)&&(s=i[O],s!=null&&Ge(n,l,O,s,i,null))}function R0(n,l,i,s){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,m=null,T=null,O=null,H=null,F=null,ot=null;for(at in i){var dt=i[at];if(i.hasOwnProperty(at)&&dt!=null)switch(at){case"checked":break;case"value":break;case"defaultValue":H=dt;default:s.hasOwnProperty(at)||Ge(n,l,at,null,s,dt)}}for(var W in s){var at=s[W];if(dt=i[W],s.hasOwnProperty(W)&&(at!=null||dt!=null))switch(W){case"type":m=at;break;case"name":p=at;break;case"checked":F=at;break;case"defaultChecked":ot=at;break;case"value":T=at;break;case"defaultValue":O=at;break;case"children":case"dangerouslySetInnerHTML":if(at!=null)throw Error(h(137,l));break;default:at!==dt&&Ge(n,l,W,at,s,dt)}}Wc(n,T,O,H,F,ot,m,p);return;case"select":at=T=O=W=null;for(m in i)if(H=i[m],i.hasOwnProperty(m)&&H!=null)switch(m){case"value":break;case"multiple":at=H;default:s.hasOwnProperty(m)||Ge(n,l,m,null,s,H)}for(p in s)if(m=s[p],H=i[p],s.hasOwnProperty(p)&&(m!=null||H!=null))switch(p){case"value":W=m;break;case"defaultValue":O=m;break;case"multiple":T=m;default:m!==H&&Ge(n,l,p,m,s,H)}l=O,i=T,s=at,W!=null?ps(n,!!i,W,!1):!!s!=!!i&&(l!=null?ps(n,!!i,l,!0):ps(n,!!i,i?[]:"",!1));return;case"textarea":at=W=null;for(O in i)if(p=i[O],i.hasOwnProperty(O)&&p!=null&&!s.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:Ge(n,l,O,null,s,p)}for(T in s)if(p=s[T],m=i[T],s.hasOwnProperty(T)&&(p!=null||m!=null))switch(T){case"value":W=p;break;case"defaultValue":at=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(h(91));break;default:p!==m&&Ge(n,l,T,p,s,m)}Xm(n,W,at);return;case"option":for(var Mt in i)W=i[Mt],i.hasOwnProperty(Mt)&&W!=null&&!s.hasOwnProperty(Mt)&&(Mt==="selected"?n.selected=!1:Ge(n,l,Mt,null,s,W));for(H in s)W=s[H],at=i[H],s.hasOwnProperty(H)&&W!==at&&(W!=null||at!=null)&&(H==="selected"?n.selected=W&&typeof W!="function"&&typeof W!="symbol":Ge(n,l,H,W,s,at));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 Zt in i)W=i[Zt],i.hasOwnProperty(Zt)&&W!=null&&!s.hasOwnProperty(Zt)&&Ge(n,l,Zt,null,s,W);for(F in s)if(W=s[F],at=i[F],s.hasOwnProperty(F)&&W!==at&&(W!=null||at!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(h(137,l));break;default:Ge(n,l,F,W,s,at)}return;default:if(Zm(l)){for(var Xe in i)W=i[Xe],i.hasOwnProperty(Xe)&&W!==void 0&&!s.hasOwnProperty(Xe)&&A0(n,l,Xe,void 0,s,W);for(ot in s)W=s[ot],at=i[ot],!s.hasOwnProperty(ot)||W===at||W===void 0&&at===void 0||A0(n,l,ot,W,s,at);return}}for(var Q in i)W=i[Q],i.hasOwnProperty(Q)&&W!=null&&!s.hasOwnProperty(Q)&&Ge(n,l,Q,null,s,W);for(dt in s)W=s[dt],at=i[dt],!s.hasOwnProperty(dt)||W===at||W==null&&at==null||Ge(n,l,dt,W,s,at)}function Tp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function D0(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var p=i[s],m=p.transferSize,T=p.initiatorType,O=p.duration;if(m&&O&&Tp(T)){for(T=0,O=p.responseEnd,s+=1;s<i.length;s++){var H=i[s],F=H.startTime;if(F>O)break;var ot=H.transferSize,dt=H.initiatorType;ot&&Tp(dt)&&(H=H.responseEnd,T+=ot*(H<O?1:(O-F)/(H-F)))}if(--s,l+=8*(m+T)/(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 wp=null,Ep=null;function Ou(n){return n.nodeType===9?n:n.ownerDocument}function Tb(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 C0(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 lc(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 Ap=null;function g2(){var n=window.event;return n&&n.type==="popstate"?n===Ap?!1:(Ap=n,!0):(Ap=null,!1)}var ad=typeof setTimeout=="function"?setTimeout:void 0,wb=typeof clearTimeout=="function"?clearTimeout:void 0,_r=typeof Promise=="function"?Promise:void 0,Eb=typeof queueMicrotask=="function"?queueMicrotask:typeof _r<"u"?function(n){return _r.resolve(null).then(n).catch(z0)}:ad;function z0(n){setTimeout(function(){throw n})}function ci(n){return n==="head"}function M0(n,l){var i=l,s=0;do{var p=i.nextSibling;if(n.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(s===0){n.removeChild(p),gc(l);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Ur(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,Ur(i);for(var m=i.firstChild;m;){var T=m.nextSibling,O=m.nodeName;m[Ai]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=T}}else i==="body"&&Ur(n.ownerDocument.body);i=p}while(i);gc(l)}function En(n,l){var i=n;n=0;do{var s=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||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=s}while(i)}function ld(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":ld(i),Id(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function y2(n,l,i,s){for(;n.nodeType===1;){var p=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!s&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(s){if(!n[Ai])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(m=n.getAttribute("rel"),m==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(m!==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(m=n.getAttribute("src"),(m!==(p.src==null?null:p.src)||n.getAttribute("type")!==(p.type==null?null:p.type)||n.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&m&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var m=p.name==null?null:""+p.name;if(p.type==="hidden"&&n.getAttribute("name")===m)return n}else return n;if(n=ja(n.nextSibling),n===null)break}return null}function se(n,l,i){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=ja(n.nextSibling),n===null))return null;return n}function Ab(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=ja(n.nextSibling),n===null))return null;return n}function Ll(n){return n.data==="$?"||n.data==="$~"}function _u(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function ic(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var s=function(){l(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),n._reactRetry=s}}function ja(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 id=null;function Rp(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(l===0)return ja(n.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}n=n.nextSibling}return null}function fi(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 oc(n,l,i){switch(l=Ou(i),n){case"html":if(n=l.documentElement,!n)throw Error(h(452));return n;case"head":if(n=l.head,!n)throw Error(h(453));return n;case"body":if(n=l.body,!n)throw Error(h(454));return n;default:throw Error(h(451))}}function Ur(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Id(n)}var Za=new Map,od=new Set;function pa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var di=et.d;et.d={f:v2,r:Rb,D:nt,C:je,L:b2,m:O0,X:Lo,S:_0,M:Uu};function v2(){var n=di.f(),l=Ws();return n||l}function Rb(n){var l=Ku(n);l!==null&&l.tag===5&&l.type==="form"?Ye(l):di.r(n)}var uc=typeof document>"u"?null:document;function zn(n,l,i){var s=uc;if(s&&typeof l=="string"&&l){var p=nl(l);p='link[rel="'+n+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),od.has(p)||(od.add(p),n={rel:n,crossOrigin:i,href:l},s.querySelector(p)===null&&(l=s.createElement("link"),la(l,"link",n),Ne(l),s.head.appendChild(l)))}}function nt(n){di.D(n),zn("dns-prefetch",n,null)}function je(n,l){di.C(n,l),zn("preconnect",n,l)}function b2(n,l,i){di.L(n,l,i);var s=uc;if(s&&n&&l){var p='link[rel="preload"][as="'+nl(l)+'"]';l==="image"&&i&&i.imageSrcSet?(p+='[imagesrcset="'+nl(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(p+='[imagesizes="'+nl(i.imageSizes)+'"]')):p+='[href="'+nl(n)+'"]';var m=p;switch(l){case"style":m=gl(n);break;case"script":m=jr(n)}Za.has(m)||(n=R({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Za.set(m,n),s.querySelector(p)!==null||l==="style"&&s.querySelector(ju(m))||l==="script"&&s.querySelector(cc(m))||(l=s.createElement("link"),la(l,"link",n),Ne(l),s.head.appendChild(l)))}}function O0(n,l){di.m(n,l);var i=uc;if(i&&n){var s=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+nl(s)+'"][href="'+nl(n)+'"]',m=p;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=jr(n)}if(!Za.has(m)&&(n=R({rel:"modulepreload",href:n},l),Za.set(m,n),i.querySelector(p)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(cc(m)))return}s=i.createElement("link"),la(s,"link",n),Ne(s),i.head.appendChild(s)}}}function _0(n,l,i){di.S(n,l,i);var s=uc;if(s&&n){var p=Ju(s).hoistableStyles,m=gl(n);l=l||"default";var T=p.get(m);if(!T){var O={loading:0,preload:null};if(T=s.querySelector(ju(m)))O.loading=5;else{n=R({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Za.get(m))&&Dp(n,i);var H=T=s.createElement("link");Ne(H),la(H,"link",n),H._p=new Promise(function(F,ot){H.onload=F,H.onerror=ot}),H.addEventListener("load",function(){O.loading|=1}),H.addEventListener("error",function(){O.loading|=2}),O.loading|=4,ud(T,l,s)}T={type:"stylesheet",instance:T,count:1,state:O},p.set(m,T)}}}function Lo(n,l){di.X(n,l);var i=uc;if(i&&n){var s=Ju(i).hoistableScripts,p=jr(n),m=s.get(p);m||(m=i.querySelector(cc(p)),m||(n=R({src:n,async:!0},l),(l=Za.get(p))&&Cp(n,l),m=i.createElement("script"),Ne(m),la(m,"link",n),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},s.set(p,m))}}function Uu(n,l){di.M(n,l);var i=uc;if(i&&n){var s=Ju(i).hoistableScripts,p=jr(n),m=s.get(p);m||(m=i.querySelector(cc(p)),m||(n=R({src:n,async:!0,type:"module"},l),(l=Za.get(p))&&Cp(n,l),m=i.createElement("script"),Ne(m),la(m,"link",n),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},s.set(p,m))}}function rc(n,l,i,s){var p=(p=ee.current)?pa(p):null;if(!p)throw Error(h(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=gl(i.href),i=Ju(p).hoistableStyles,s=i.get(l),s||(s={type:"style",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=gl(i.href);var m=Ju(p).hoistableStyles,T=m.get(n);if(T||(p=p.ownerDocument||p,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(n,T),(m=p.querySelector(ju(n)))&&!m._p&&(T.instance=m,T.state.loading=5),Za.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},Za.set(n,i),m||Db(p,n,i,T.state))),l&&s===null)throw Error(h(528,""));return T}if(l&&s!==null)throw Error(h(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=jr(i),i=Ju(p).hoistableScripts,s=i.get(l),s||(s={type:"script",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(h(444,n))}}function gl(n){return'href="'+nl(n)+'"'}function ju(n){return'link[rel="stylesheet"]['+n+"]"}function sc(n){return R({},n,{"data-precedence":n.precedence,precedence:null})}function Db(n,l,i,s){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?s.loading=1:(l=n.createElement("link"),s.preload=l,l.addEventListener("load",function(){return s.loading|=1}),l.addEventListener("error",function(){return s.loading|=2}),la(l,"link",i),Ne(l),n.head.appendChild(l))}function jr(n){return'[src="'+nl(n)+'"]'}function cc(n){return"script[async]"+n}function U0(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var s=n.querySelector('style[data-href~="'+nl(i.href)+'"]');if(s)return l.instance=s,Ne(s),s;var p=R({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(n.ownerDocument||n).createElement("style"),Ne(s),la(s,"style",p),ud(s,i.precedence,n),l.instance=s;case"stylesheet":p=gl(i.href);var m=n.querySelector(ju(p));if(m)return l.state.loading|=4,l.instance=m,Ne(m),m;s=sc(i),(p=Za.get(p))&&Dp(s,p),m=(n.ownerDocument||n).createElement("link"),Ne(m);var T=m;return T._p=new Promise(function(O,H){T.onload=O,T.onerror=H}),la(m,"link",s),l.state.loading|=4,ud(m,i.precedence,n),l.instance=m;case"script":return m=jr(i.src),(p=n.querySelector(cc(m)))?(l.instance=p,Ne(p),p):(s=i,(p=Za.get(m))&&(s=R({},i),Cp(s,p)),n=n.ownerDocument||n,p=n.createElement("script"),Ne(p),la(p,"link",s),n.head.appendChild(p),l.instance=p);case"void":return null;default:throw Error(h(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(s=l.instance,l.state.loading|=4,ud(s,i.precedence,n));return l.instance}function ud(n,l,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=s.length?s[s.length-1]:null,m=p,T=0;T<s.length;T++){var O=s[T];if(O.dataset.precedence===l)m=O;else if(m!==p)break}m?m.parentNode.insertBefore(n,m.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(n,l.firstChild))}function Dp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function Cp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var fc=null;function j0(n,l,i){if(fc===null){var s=new Map,p=fc=new Map;p.set(i,s)}else p=fc,s=p.get(i),s||(s=new Map,p.set(i,s));if(s.has(n))return s;for(s.set(n,null),i=i.getElementsByTagName(n),p=0;p<i.length;p++){var m=i[p];if(!(m[Ai]||m[Ve]||n==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var T=m.getAttribute(l)||"";T=n+T;var O=s.get(T);O?O.push(m):s.set(T,[m])}}return s}function zp(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function N0(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;return l.rel==="stylesheet"?(n=l.disabled,typeof l.precedence=="string"&&n==null):!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 Ka(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Pi(n,l,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=gl(s.href),m=l.querySelector(ju(p));if(m){l=m._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=Mp.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=m,Ne(m);return}m=l.ownerDocument||l,s=sc(s),(p=Za.get(p))&&Dp(s,p),m=m.createElement("link"),Ne(m);var T=m;T._p=new Promise(function(O,H){T.onload=O,T.onerror=H}),la(m,"link",s),i.instance=m}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=Mp.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var yl=0;function H0(n,l){return n.stylesheets&&n.count===0&&_p(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var s=setTimeout(function(){if(n.stylesheets&&_p(n,n.stylesheets),n.unsuspend){var m=n.unsuspend;n.unsuspend=null,m()}},6e4+l);0<n.imgBytes&&yl===0&&(yl=62500*D0());var p=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&_p(n,n.stylesheets),n.unsuspend)){var m=n.unsuspend;n.unsuspend=null,m()}},(n.imgBytes>yl?50:800)+l);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(s),clearTimeout(p)}}:null}function Mp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_p(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Op=null;function _p(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Op=new Map,l.forEach(Jn,n),Op=null,Mp.call(n))}function Jn(n,l){if(!(l.state.loading&4)){var i=Op.get(n);if(i)var s=i.get(null);else{i=new Map,Op.set(n,i);for(var p=n.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<p.length;m++){var T=p[m];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(i.set(T.dataset.precedence,T),s=T)}s&&i.set(null,s)}p=l.instance,T=p.getAttribute("data-precedence"),m=i.get(T)||s,m===s&&i.set(null,p),i.set(T,p),this.count++,s=Mp.bind(this),p.addEventListener("load",s),p.addEventListener("error",s),m?m.parentNode.insertBefore(p,m.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(p,n.firstChild)),l.state.loading|=4}}var rd={$$typeof:it,Provider:null,Consumer:null,_currentValue:pt,_currentValue2:pt,_threadCount:0};function B0(n,l,i,s,p,m,T,O,H){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=Rl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rl(0),this.hiddenUpdates=Rl(null),this.identifierPrefix=s,this.onUncaughtError=p,this.onCaughtError=m,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map}function Up(n,l,i,s,p,m,T,O,H,F,ot,dt){return n=new B0(n,l,i,T,H,F,ot,dt,O),l=1,m===!0&&(l|=24),m=hn(3,null,null,l),n.current=m,m.stateNode=n,l=gf(),l.refCount++,n.pooledCache=l,l.refCount++,m.memoizedState={element:s,isDehydrated:i,cache:l},wf(m),n}function Nr(n){return n?(n=wa,n):wa}function Cb(n,l,i,s,p,m){p=Nr(p),s.context===null?s.context=p:s.pendingContext=p,s=Co(l),s.payload={element:i},m=m===void 0?null:m,m!==null&&(s.callback=m),i=sl(n,s,l),i!==null&&(Ua(i,n,l),vu(i,n,l))}function jp(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function L0(n,l){jp(n,l),(n=n.alternate)&&jp(n,l)}function zb(n){if(n.tag===13||n.tag===31){var l=xo(n,67108864);l!==null&&Ua(l,n,67108864),L0(n,67108864)}}function Hr(n){if(n.tag===13||n.tag===31){var l=Qa();l=Fd(l);var i=xo(n,l);i!==null&&Ua(i,n,l),L0(n,l)}}var Nn=!0;function Ii(n,l,i,s){var p=V.T;V.T=null;var m=et.p;try{et.p=2,ia(n,l,i,s)}finally{et.p=m,V.T=p}}function to(n,l,i,s){var p=V.T;V.T=null;var m=et.p;try{et.p=8,ia(n,l,i,s)}finally{et.p=m,V.T=p}}function ia(n,l,i,s){if(Nn){var p=k0(s);if(p===null)x0(n,l,s,Np,i),ko(n,s);else if(S2(p,n,l,i,s))s.stopPropagation();else if(ko(n,s),l&4&&-1<Na.indexOf(n)){for(;p!==null;){var m=Ku(p);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var T=Kt(m.pendingLanes);if(T!==0){var O=m;for(O.pendingLanes|=2,O.entangledLanes|=2;T;){var H=1<<31-Vn(T);O.entanglements[1]|=H,T&=~H}Wi(m),(Me&6)===0&&(Ue=Rn()+500,Bo(0))}}break;case 31:case 13:O=xo(m,2),O!==null&&Ua(O,m,2),Ws(),L0(m,2)}if(m=k0(s),m===null&&x0(n,l,s,Np,i),m===p)break;p=m}p!==null&&s.stopPropagation()}else x0(n,l,s,null,i)}}function k0(n){return n=oh(n),dc(n)}var Np=null;function dc(n){if(Np=null,n=Zu(n),n!==null){var l=b(n);if(l===null)n=null;else{var i=l.tag;if(i===13){if(n=S(l),n!==null)return n;n=null}else if(i===31){if(n=x(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 Np=n,null}function sd(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(Jd()){case os:return 2;case us:return 8;case Gl:case $d:return 32;case rs:return 268435456;default:return 32}default:return 32}}var hc=!1,Hn=null,oa=null,ma=null,Nu=new Map,kl=new Map,an=[],Na="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":Hn=null;break;case"dragenter":case"dragleave":oa=null;break;case"mouseover":case"mouseout":ma=null;break;case"pointerover":case"pointerout":Nu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":kl.delete(l.pointerId)}}function Br(n,l,i,s,p,m){return n===null||n.nativeEvent!==m?(n={blockedOn:l,domEventName:i,eventSystemFlags:s,nativeEvent:m,targetContainers:[p]},l!==null&&(l=Ku(l),l!==null&&zb(l)),n):(n.eventSystemFlags|=s,l=n.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),n)}function S2(n,l,i,s,p){switch(l){case"focusin":return Hn=Br(Hn,n,l,i,s,p),!0;case"dragenter":return oa=Br(oa,n,l,i,s,p),!0;case"mouseover":return ma=Br(ma,n,l,i,s,p),!0;case"pointerover":var m=p.pointerId;return Nu.set(m,Br(Nu.get(m)||null,n,l,i,s,p)),!0;case"gotpointercapture":return m=p.pointerId,kl.set(m,Br(kl.get(m)||null,n,l,i,s,p)),!0}return!1}function Mb(n){var l=Zu(n.target);if(l!==null){var i=b(l);if(i!==null){if(l=i.tag,l===13){if(l=S(i),l!==null){n.blockedOn=l,km(n.priority,function(){Hr(i)});return}}else if(l===31){if(l=x(i),l!==null){n.blockedOn=l,km(n.priority,function(){Hr(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 cd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=k0(n.nativeEvent);if(i===null){i=n.nativeEvent;var s=new i.constructor(i.type,i);ih=s,i.target.dispatchEvent(s),ih=null}else return l=Ku(i),l!==null&&zb(l),n.blockedOn=i,!1;l.shift()}return!0}function pc(n,l,i){cd(n)&&i.delete(l)}function Ob(){hc=!1,Hn!==null&&cd(Hn)&&(Hn=null),oa!==null&&cd(oa)&&(oa=null),ma!==null&&cd(ma)&&(ma=null),Nu.forEach(pc),kl.forEach(pc)}function eo(n,l){n.blockedOn===l&&(n.blockedOn=null,hc||(hc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Ob)))}var mc=null;function _b(n){mc!==n&&(mc=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){mc===n&&(mc=null);for(var l=0;l<n.length;l+=3){var i=n[l],s=n[l+1],p=n[l+2];if(typeof s!="function"){if(dc(s||i)===null)continue;break}var m=Ku(i);m!==null&&(n.splice(l,3),l-=3,Ls(m,{pending:!0,data:p,method:i.method,action:s},s,p))}}))}function gc(n){function l(H){return eo(H,n)}Hn!==null&&eo(Hn,n),oa!==null&&eo(oa,n),ma!==null&&eo(ma,n),Nu.forEach(l),kl.forEach(l);for(var i=0;i<an.length;i++){var s=an[i];s.blockedOn===n&&(s.blockedOn=null)}for(;0<an.length&&(i=an[0],i.blockedOn===null);)Mb(i),i.blockedOn===null&&an.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var p=i[s],m=i[s+1],T=p[Sa]||null;if(typeof m=="function")T||_b(i);else if(T){var O=null;if(m&&m.hasAttribute("formAction")){if(p=m,T=m[Sa]||null)O=T.formAction;else if(dc(p)!==null)continue}else O=T.action;typeof O=="function"?i[s+1]=O:(i.splice(s,3),s-=3),_b(i)}}}function V0(){function n(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(T){return p=T})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),s||setTimeout(i,20)}function i(){if(!s&&!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 s=!1,p=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function Hp(n){this._internalRoot=n}Bp.prototype.render=Hp.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(h(409));var i=l.current,s=Qa();Cb(i,s,n,l,null,null)},Bp.prototype.unmount=Hp.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Cb(n.current,2,null,n,null,null),Ws(),l[eu]=null}};function Bp(n){this._internalRoot=n}Bp.prototype.unstable_scheduleHydration=function(n){if(n){var l=Wd();n={blockedOn:null,target:n,priority:l};for(var i=0;i<an.length&&l!==0&&l<an[i].priority;i++);an.splice(i,0,n),i===0&&Mb(n)}};var Y0=r.version;if(Y0!=="19.2.3")throw Error(h(527,Y0,"19.2.3"));et.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(h(188)):(n=Object.keys(n).join(","),Error(h(268,n)));return n=A(l),n=n!==null?M(n):null,n=n===null?null:n.stateNode,n};var Ub={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fd.isDisabled&&fd.supportsFiber)try{Al=fd.inject(Ub),On=fd}catch{}}return vm.createRoot=function(n,l){if(!y(n))throw Error(h(299));var i=!1,s="",p=Jh,m=qg,T=$h;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(m=l.onCaughtError),l.onRecoverableError!==void 0&&(T=l.onRecoverableError)),l=Up(n,1,!1,null,null,i,s,null,p,m,T,V0),n[eu]=l.current,ac(n),new Hp(l)},vm.hydrateRoot=function(n,l,i){if(!y(n))throw Error(h(299));var s=!1,p="",m=Jh,T=qg,O=$h,H=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(T=i.onCaughtError),i.onRecoverableError!==void 0&&(O=i.onRecoverableError),i.formState!==void 0&&(H=i.formState)),l=Up(n,1,!0,l,i??null,s,p,H,m,T,O,V0),l.context=Nr(null),i=l.current,s=Qa(),s=Fd(s),p=Co(s),p.callback=null,sl(i,p,s),i=s,l.current.lanes=i,tu(l,i),Wi(l),n[eu]=l.current,ac(n),new Bp(l)},vm.version="19.2.3",vm}var bm={};var Qx;function XR(){return Qx||(Qx=1,process.env.NODE_ENV!=="production"&&(function(){function u(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function r(t,e,a,o){if(a>=e.length)return o;var c=e[a],f=zn(t)?t.slice():se({},t);return f[c]=r(t[c],e,a+1,o),f}function d(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<a.length-1;o++)if(e[o]!==a[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return h(t,e,a,0)}}function h(t,e,a,o){var c=e[o],f=zn(t)?t.slice():se({},t);return o+1===e.length?(f[a[o]]=f[c],zn(f)?f.splice(c,1):delete f[c]):f[c]=h(t[c],e,a,o+1),f}function y(t,e,a){var o=e[a],c=zn(t)?t.slice():se({},t);return a+1===e.length?(zn(c)?c.splice(o,1):delete c[o],c):(c[o]=y(t[o],e,a+1),c)}function b(){return!1}function S(){return null}function x(){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 w(){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 A(){}function M(){}function R(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function z(t,e,a,o){return new d2(t,e,a,o)}function B(t,e){t.context===Sc&&(xp(t.current,2,e,t,null,null),pl())}function lt(t,e){if(lo!==null){var a=e.staleFamilies;e=e.updatedFamilies,qf(),Ev(t.current,e,a),pl()}}function ut(t){lo=t}function st(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function ft(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function bt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function it(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function At(t){if(ft(t)!==t)throw Error("Unable to find node on an unmounted component.")}function St(t){var e=t.alternate;if(!e){if(e=ft(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,o=e;;){var c=a.return;if(c===null)break;var f=c.alternate;if(f===null){if(o=c.return,o!==null){a=o;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===a)return At(c),t;if(f===o)return At(c),e;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=c,o=f;else{for(var g=!1,v=c.child;v;){if(v===a){g=!0,a=c,o=f;break}if(v===o){g=!0,o=c,a=f;break}v=v.sibling}if(!g){for(v=f.child;v;){if(v===a){g=!0,a=f,o=c;break}if(v===o){g=!0,o=f,a=c;break}v=v.sibling}if(!g)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?t:e}function Lt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Lt(t),e!==null)return e;t=t.sibling}return null}function Tt(t){return t===null||typeof t!="object"?null:(t=Rb&&t[Rb]||t["@@iterator"],typeof t=="function"?t:null)}function Z(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===uc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ic:return"Fragment";case id:return"Profiler";case ja:return"StrictMode";case Ur:return"Suspense";case Za:return"SuspenseList";case di:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case _u:return"Portal";case fi:return t.displayName||"Context";case Rp:return(t._context.displayName||"Context")+".Consumer";case oc:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case od:return e=t.displayName||null,e!==null?e:Z(t.type)||"Memo";case pa:e=t._payload,t=t._init;try{return Z(t(e))}catch{}}return null}function vt(t){return typeof t.tag=="number"?K(t):typeof t.name=="string"?t.name:null}function K(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Z(e);case 8:return e===ja?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return K(t.return)}return null}function qt(t){return{current:t}}function Et(t,e){0>Lo?console.error("Unexpected pop."):(e!==_0[Lo]&&console.error("Unexpected Fiber popped."),t.current=O0[Lo],O0[Lo]=null,_0[Lo]=null,Lo--)}function kt(t,e,a){Lo++,O0[Lo]=t.current,_0[Lo]=a,t.current=e}function be(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function De(t,e){kt(gl,e,t),kt(rc,t,t),kt(Uu,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?Iv(e):Wr;break;default:if(a=e.tagName,e=e.namespaceURI)e=Iv(e),e=No(e,a);else switch(a){case"svg":e=hm;break;case"math":e=E1;break;default:e=Wr}}a=a.toLowerCase(),a=Gm(null,a),a={context:e,ancestorInfo:a},Et(Uu,t),kt(Uu,a,t)}function V(t){Et(Uu,t),Et(rc,t),Et(gl,t)}function et(){return be(Uu.current)}function pt(t){t.memoizedState!==null&&kt(ju,t,t);var e=be(Uu.current),a=t.type,o=No(e.context,a);a=Gm(e.ancestorInfo,a),o={context:o,ancestorInfo:a},e!==o&&(kt(rc,t,t),kt(Uu,o,t))}function zt(t){rc.current===t&&(Et(Uu,t),Et(rc,t)),ju.current===t&&(Et(ju,t),My._currentValue=jd)}function Ht(){}function _(){if(sc===0){Db=console.log,jr=console.info,cc=console.warn,U0=console.error,ud=console.group,Dp=console.groupCollapsed,Cp=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Ht,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}sc++}function $(){if(sc--,sc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},t,{value:Db}),info:se({},t,{value:jr}),warn:se({},t,{value:cc}),error:se({},t,{value:U0}),group:se({},t,{value:ud}),groupCollapsed:se({},t,{value:Dp}),groupEnd:se({},t,{value:Cp})})}0>sc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function gt(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
|
|
29
|
+
`+s.stack}}var Jc=Object.prototype.hasOwnProperty,Ut=u.unstable_scheduleCallback,Io=u.unstable_cancelCallback,wi=u.unstable_shouldYield,Qu=u.unstable_requestPaint,Rn=u.unstable_now,Fd=u.unstable_getCurrentPriorityLevel,rs=u.unstable_ImmediatePriority,ss=u.unstable_UserBlockingPriority,Gl=u.unstable_NormalPriority,Wd=u.unstable_LowPriority,cs=u.unstable_IdlePriority,$c=u.log,Zu=u.unstable_setDisableYieldValue,Al=null,On=null;function Ia(n){if(typeof $c=="function"&&Zu(n),On&&typeof On.setStrictMode=="function")try{On.setStrictMode(Al,n)}catch{}}var Vn=Math.clz32?Math.clz32:X,tu=Math.log,C=Math.LN2;function X(n){return n>>>=0,n===0?32:31-(tu(n)/C|0)|0}var vt=256,Et=262144,jt=4194304;function Kt(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 Ht(n,l,i){var s=n.pendingLanes;if(s===0)return 0;var p=0,m=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var O=s&134217727;return O!==0?(s=O&~m,s!==0?p=Kt(s):(T&=O,T!==0?p=Kt(T):i||(i=O&~n,i!==0&&(p=Kt(i))))):(O=s&~m,O!==0?p=Kt(O):T!==0?p=Kt(T):i||(i=s&~n,i!==0&&(p=Kt(i)))),p===0?0:l!==0&&l!==p&&(l&m)===0&&(m=p&-p,i=l&-l,m>=i||m===32&&(i&4194048)!==0)?l:p}function he(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function ne(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 ca(){var n=jt;return jt<<=1,(jt&62914560)===0&&(jt=4194304),n}function Rl(n){for(var l=[],i=0;31>i;i++)l.push(n);return l}function eu(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function fs(n,l,i,s,p,m){var T=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 O=n.entanglements,H=n.expirationTimes,W=n.hiddenUpdates;for(i=T&~i;0<i;){var ot=31-Vn(i),ht=1<<ot;O[ot]=0,H[ot]=-1;var P=W[ot];if(P!==null)for(W[ot]=null,ot=0;ot<P.length;ot++){var lt=P[ot];lt!==null&&(lt.lane&=-536870913)}i&=~ht}s!==0&&Fc(n,s,0),m!==0&&p===0&&n.tag!==0&&(n.suspendedLanes|=m&~(T&~l))}function Fc(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var s=31-Vn(l);n.entangledLanes|=l,n.entanglements[s]=n.entanglements[s]|1073741824|i&261930}function Ei(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var s=31-Vn(i),p=1<<s;p&l|n[s]&l&&(n[s]|=l),i&=~p}}function tl(n,l){var i=l&-l;return i=(i&42)!==0?1:Pd(i),(i&(n.suspendedLanes|l))!==0?0:i}function Pd(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 Ym(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Id(){var n=et.p;return n!==0?n:(n=window.event,n===void 0?32:cd(n.type))}function qm(n,l){var i=et.p;try{return et.p=n,l()}finally{et.p=i}}var Xl=Math.random().toString(36).slice(2),Ve="__reactFiber$"+Xl,Sa="__reactProps$"+Xl,nu="__reactContainer$"+Xl,th="__reactEvents$"+Xl,Gm="__reactListeners$"+Xl,fv="__reactHandles$"+Xl,Xm="__reactResources$"+Xl,Ai="__reactMarker$"+Xl;function eh(n){delete n[Ve],delete n[Sa],delete n[th],delete n[Gm],delete n[fv]}function Ku(n){var l=n[Ve];if(l)return l;for(var i=n.parentNode;i;){if(l=i[nu]||i[Ve]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(n=fi(n);n!==null;){if(i=n[Ve])return i;n=fi(n)}return l}n=i,i=n.parentNode}return null}function Ju(n){if(n=n[Ve]||n[nu]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function ds(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(h(33))}function $u(n){var l=n[Xm];return l||(l=n[Xm]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ne(n){n[Ai]=!0}var Fu=new Set,au={};function lu(n,l){Ri(n,l),Ri(n+"Capture",l)}function Ri(n,l){for(au[n]=l,n=0;n<l.length;n++)Fu.add(l[n])}var nh=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]*$"),ah={},hs={};function ps(n){return Jc.call(hs,n)?!0:Jc.call(ah,n)?!1:nh.test(n)?hs[n]=!0:(ah[n]=!0,!1)}function ms(n,l,i){if(ps(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var s=l.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function lh(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 vo(n,l,i,s){if(s===null)n.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+s)}}function el(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ih(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Qm(n,l,i){var s=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var p=s.get,m=s.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return p.call(this)},set:function(T){i=""+T,m.call(this,T)}}),Object.defineProperty(n,l,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(T){i=""+T},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function oh(n){if(!n._valueTracker){var l=ih(n)?"checked":"value";n._valueTracker=Qm(n,l,""+n[l])}}function Zm(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),s="";return n&&(s=ih(n)?n.checked?"true":"false":n.value),n=s,n!==i?(l.setValue(n),!0):!1}function Wc(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 r2=/[\n"\\]/g;function nl(n){return n.replace(r2,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Pc(n,l,i,s,p,m,T,O){n.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?n.type=T:n.removeAttribute("type"),l!=null?T==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+el(l)):n.value!==""+el(l)&&(n.value=""+el(l)):T!=="submit"&&T!=="reset"||n.removeAttribute("value"),l!=null?Wu(n,T,el(l)):i!=null?Wu(n,T,el(i)):s!=null&&n.removeAttribute("value"),p==null&&m!=null&&(n.defaultChecked=!!m),p!=null&&(n.checked=p&&typeof p!="function"&&typeof p!="symbol"),O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"?n.name=""+el(O):n.removeAttribute("name")}function Ic(n,l,i,s,p,m,T,O){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(n.type=m),l!=null||i!=null){if(!(m!=="submit"&&m!=="reset"||l!=null)){oh(n);return}i=i!=null?""+el(i):"",l=l!=null?""+el(l):i,O||l===n.value||(n.value=l),n.defaultValue=l}s=s??p,s=typeof s!="function"&&typeof s!="symbol"&&!!s,n.checked=O?n.checked:!!s,n.defaultChecked=!!s,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(n.name=T),oh(n)}function Wu(n,l,i){l==="number"&&Wc(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function gs(n,l,i,s){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&&s&&(n[i].defaultSelected=!0)}else{for(i=""+el(i),l=null,p=0;p<n.length;p++){if(n[p].value===i){n[p].selected=!0,s&&(n[p].defaultSelected=!0);return}l!==null||n[p].disabled||(l=n[p])}l!==null&&(l.selected=!0)}}function Km(n,l,i){if(l!=null&&(l=""+el(l),l!==n.value&&(n.value=l),i==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=i!=null?""+el(i):""}function Jm(n,l,i,s){if(l==null){if(s!=null){if(i!=null)throw Error(h(92));if(De(s)){if(1<s.length)throw Error(h(93));s=s[0]}i=s}i==null&&(i=""),l=i}i=el(l),n.defaultValue=i,s=n.textContent,s===i&&s!==""&&s!==null&&(n.value=s),oh(n)}function Di(n,l){if(l){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=l;return}}n.textContent=l}var dv=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 hv(n,l,i){var s=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":s?n.setProperty(l,i):typeof i!="number"||i===0||dv.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function pv(n,l,i){if(l!=null&&typeof l!="object")throw Error(h(62));if(n=n.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||l!=null&&l.hasOwnProperty(s)||(s.indexOf("--")===0?n.setProperty(s,""):s==="float"?n.cssFloat="":n[s]="");for(var p in l)s=l[p],l.hasOwnProperty(p)&&i[p]!==s&&hv(n,p,s)}else for(var m in l)l.hasOwnProperty(m)&&hv(n,m,l[m])}function $m(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 s2=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"]]),tf=/^[\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 Dl(n){return tf.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Ql(){}var uh=null;function rh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ci=null,Pu=null;function ef(n){var l=Ju(n);if(l&&(n=l.stateNode)){var i=n[Sa]||null;t:switch(n=l.stateNode,l.type){case"input":if(Pc(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="'+nl(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var s=i[l];if(s!==n&&s.form===n.form){var p=s[Sa]||null;if(!p)throw Error(h(90));Pc(s,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)s=i[l],s.form===n.form&&Zm(s)}break t;case"textarea":Km(n,i.value,i.defaultValue);break t;case"select":l=i.value,l!=null&&gs(n,!!i.multiple,l,!1)}}}var ys=!1;function Fm(n,l,i){if(ys)return n(l,i);ys=!0;try{var s=n(l);return s}finally{if(ys=!1,(Ci!==null||Pu!==null)&&(Is(),Ci&&(l=Ci,n=Pu,Pu=Ci=null,ef(l),n)))for(l=0;l<n.length;l++)ef(n[l])}}function Yn(n,l){var i=n.stateNode;if(i===null)return null;var s=i[Sa]||null;if(s===null)return null;i=s[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(n=n.type,s=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!s;break t;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(h(231,l,typeof i));return i}var bo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nf=!1;if(bo)try{var vs={};Object.defineProperty(vs,"passive",{get:function(){nf=!0}}),window.addEventListener("test",vs,vs),window.removeEventListener("test",vs,vs)}catch{nf=!1}var So=null,Wm=null,sh=null;function Pm(){if(sh)return sh;var n,l=Wm,i=l.length,s,p="value"in So?So.value:So.textContent,m=p.length;for(n=0;n<i&&l[n]===p[n];n++);var T=i-n;for(s=1;s<=T&&l[i-s]===p[m-s];s++);return sh=p.slice(n,1<s?1-s:void 0)}function ch(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 af(){return!0}function mv(){return!1}function aa(n){function l(i,s,p,m,T){this._reactName=i,this._targetInst=p,this.type=s,this.nativeEvent=m,this.target=T,this.currentTarget=null;for(var O in n)n.hasOwnProperty(O)&&(i=n[O],this[O]=i?i(m):m[O]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?af:mv,this.isPropagationStopped=mv,this}return R(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=af)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=af)},persist:function(){},isPersistent:af}),l}var iu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lf=aa(iu),bs=R({},iu,{view:0,detail:0}),c2=aa(bs),Im,tg,of,fh=R({},bs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cl,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!==of&&(of&&n.type==="mousemove"?(Im=n.screenX-of.screenX,tg=n.screenY-of.screenY):tg=Im=0,of=n),Im)},movementY:function(n){return"movementY"in n?n.movementY:tg}}),Ss=aa(fh),gv=R({},fh,{dataTransfer:0}),yv=aa(gv),vv=R({},bs,{relatedTarget:0}),dh=aa(vv),eg=R({},iu,{animationName:0,elapsedTime:0,pseudoElement:0}),bv=aa(eg),Iu=R({},iu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),tr=aa(Iu),Zl=R({},iu,{data:0}),Sv=aa(Zl),ng={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zi={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"},xv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Kl(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=xv[n])?!!l[n]:!1}function Cl(){return Kl}var hh=R({},bs,{key:function(n){if(n.key){var l=ng[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=ch(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?zi[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cl,charCode:function(n){return n.type==="keypress"?ch(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ch(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),ph=aa(hh),ag=R({},fh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jl=aa(ag),f2=R({},bs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cl}),Tv=aa(f2),wv=R({},iu,{propertyName:0,elapsedTime:0,pseudoElement:0}),d2=aa(wv),lg=R({},fh,{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}),h2=aa(lg),Ev=R({},iu,{newState:0,oldState:0}),ig=aa(Ev),mh=[9,13,27,32],xs=bo&&"CompositionEvent"in window,er=null;bo&&"documentMode"in document&&(er=document.documentMode);var fa=bo&&"TextEvent"in window&&!er,og=bo&&(!xs||er&&8<er&&11>=er),uf=" ",ou=!1;function gh(n,l){switch(n){case"keyup":return mh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ug(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var nr=!1;function Av(n,l){switch(n){case"compositionend":return ug(l);case"keypress":return l.which!==32?null:(ou=!0,uf);case"textInput":return n=l.data,n===uf&&ou?null:n;default:return null}}function p2(n,l){if(nr)return n==="compositionend"||!xs&&gh(n,l)?(n=Pm(),sh=Wm=So=null,nr=!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 og&&l.locale!=="ko"?null:l.data;default:return null}}var rg={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 Mi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!rg[n.type]:l==="textarea"}function sg(n,l,i,s){Ci?Pu?Pu.push(s):Pu=[s]:Ci=s,l=ad(l,"onChange"),0<l.length&&(i=new lf("onChange","change",null,i,s),n.push({event:i,listeners:l}))}var ar=null,uu=null;function lr(n){Sb(n,0)}function Ts(n){var l=ds(n);if(Zm(l))return n}function cg(n,l){if(n==="change")return l}var yh=!1;if(bo){var xa;if(bo){var $l="oninput"in document;if(!$l){var fg=document.createElement("div");fg.setAttribute("oninput","return;"),$l=typeof fg.oninput=="function"}xa=$l}else xa=!1;yh=xa&&(!document.documentMode||9<document.documentMode)}function vh(){ar&&(ar.detachEvent("onpropertychange",bh),uu=ar=null)}function bh(n){if(n.propertyName==="value"&&Ts(uu)){var l=[];sg(l,uu,n,rh(n)),Fm(lr,l)}}function Rv(n,l,i){n==="focusin"?(vh(),ar=l,uu=i,ar.attachEvent("onpropertychange",bh)):n==="focusout"&&vh()}function Dv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ts(uu)}function ru(n,l){if(n==="click")return Ts(l)}function ir(n,l){if(n==="input"||n==="change")return Ts(l)}function Cv(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var da=typeof Object.is=="function"?Object.is:Cv;function zl(n,l){if(da(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var i=Object.keys(n),s=Object.keys(l);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var p=i[s];if(!Jc.call(l,p)||!da(n[p],l[p]))return!1}return!0}function dg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function hg(n,l){var i=dg(n);n=0;for(var s;i;){if(i.nodeType===3){if(s=n+i.textContent.length,n<=l&&s>=l)return{node:i,offset:l-n};n=s}t:{for(;i;){if(i.nextSibling){i=i.nextSibling;break t}i=i.parentNode}i=void 0}i=dg(i)}}function or(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?or(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function su(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=Wc(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=Wc(n.document)}return l}function rf(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 sf=bo&&"documentMode"in document&&11>=document.documentMode,cu=null,ws=null,Ml=null,Fl=!1;function Sh(n,l,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Fl||cu==null||cu!==Wc(s)||(s=cu,"selectionStart"in s&&rf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Ml&&zl(Ml,s)||(Ml=s,s=ad(ws,"onSelect"),0<s.length&&(l=new lf("onSelect","select",null,l,i),n.push({event:l,listeners:s}),l.target=cu)))}function xo(n,l){var i={};return i[n.toLowerCase()]=l.toLowerCase(),i["Webkit"+n]="webkit"+l,i["Moz"+n]="moz"+l,i}var Wl={animationend:xo("Animation","AnimationEnd"),animationiteration:xo("Animation","AnimationIteration"),animationstart:xo("Animation","AnimationStart"),transitionrun:xo("Transition","TransitionRun"),transitionstart:xo("Transition","TransitionStart"),transitioncancel:xo("Transition","TransitionCancel"),transitionend:xo("Transition","TransitionEnd")},Es={},fu={};bo&&(fu=document.createElement("div").style,"AnimationEvent"in window||(delete Wl.animationend.animation,delete Wl.animationiteration.animation,delete Wl.animationstart.animation),"TransitionEvent"in window||delete Wl.transitionend.transition);function _e(n){if(Es[n])return Es[n];if(!Wl[n])return n;var l=Wl[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in fu)return Es[n]=l[i];return n}var cf=_e("animationend"),pg=_e("animationiteration"),xh=_e("animationstart"),ur=_e("transitionrun"),ff=_e("transitionstart"),Oi=_e("transitioncancel"),zv=_e("transitionend"),_i=new Map,As="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(" ");As.push("scrollEnd");function Ta(n,l){_i.set(n,l),lu(l,[n])}var rr=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)},tn=[],qn=0,Ol=0;function al(){for(var n=qn,l=Ol=qn=0;l<n;){var i=tn[l];tn[l++]=null;var s=tn[l];tn[l++]=null;var p=tn[l];tn[l++]=null;var m=tn[l];if(tn[l++]=null,s!==null&&p!==null){var T=s.pending;T===null?p.next=p:(p.next=T.next,T.next=p),s.pending=p}m!==0&&Th(i,p,m)}}function ll(n,l,i,s){tn[qn++]=n,tn[qn++]=l,tn[qn++]=i,tn[qn++]=s,Ol|=s,n.lanes|=s,n=n.alternate,n!==null&&(n.lanes|=s)}function _l(n,l,i,s){return ll(n,l,i,s),df(n)}function To(n,l){return ll(n,null,null,l),df(n)}function Th(n,l,i){n.lanes|=i;var s=n.alternate;s!==null&&(s.lanes|=i);for(var p=!1,m=n.return;m!==null;)m.childLanes|=i,s=m.alternate,s!==null&&(s.childLanes|=i),m.tag===22&&(n=m.stateNode,n===null||n._visibility&1||(p=!0)),n=m,m=m.return;return n.tag===3?(m=n.stateNode,p&&l!==null&&(p=31-Vn(i),n=m.hiddenUpdates,s=n[p],s===null?n[p]=[l]:s.push(l),l.lane=i|536870912),m):null}function df(n){if(50<Ps)throw Ps=0,Jf=null,Error(h(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var wa={};function Mv(n,l,i,s){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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(n,l,i,s){return new Mv(n,l,i,s)}function sr(n){return n=n.prototype,!(!n||!n.isReactComponent)}function wo(n,l){var i=n.alternate;return i===null?(i=hn(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 mg(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 wh(n,l,i,s,p,m){var T=0;if(s=n,typeof n=="function")sr(n)&&(T=1);else if(typeof n=="string")T=k0(n,i,gt.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case bt:return n=hn(31,i,l,p),n.elementType=bt,n.lanes=m,n;case it:return Eo(i.children,p,m,l);case rt:T=8,p|=24;break;case st:return n=hn(12,i,l,p|2),n.elementType=st,n.lanes=m,n;case St:return n=hn(13,i,l,p),n.elementType=St,n.lanes=m,n;case kt:return n=hn(19,i,l,p),n.elementType=kt,n.lanes=m,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ft:T=10;break t;case dt:T=9;break t;case Dt:T=11;break t;case wt:T=14;break t;case Z:T=16,s=null;break t}T=29,i=Error(h(130,n===null?"null":typeof n,"")),s=null}return l=hn(T,i,l,p),l.elementType=n,l.type=s,l.lanes=m,l}function Eo(n,l,i,s){return n=hn(7,n,s,l),n.lanes=i,n}function Rs(n,l,i){return n=hn(6,n,null,l),n.lanes=i,n}function gg(n){var l=hn(18,null,null,0);return l.stateNode=n,l}function Eh(n,l,i){return l=hn(4,n.children!==null?n.children:[],n.key,l),l.lanes=i,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var yg=new WeakMap;function il(n,l){if(typeof n=="object"&&n!==null){var i=yg.get(n);return i!==void 0?i:(l={value:n,source:l,stack:Xu(l)},yg.set(n,l),l)}return{value:n,source:l,stack:Xu(l)}}var ol=[],cr=0,hf=null,Sn=0,Va=[],Ea=0,Pl=null,Ya=1,Il="";function Ul(n,l){ol[cr++]=Sn,ol[cr++]=hf,hf=n,Sn=l}function vg(n,l,i){Va[Ea++]=Ya,Va[Ea++]=Il,Va[Ea++]=Pl,Pl=n;var s=Ya;n=Il;var p=32-Vn(s)-1;s&=~(1<<p),i+=1;var m=32-Vn(l)+p;if(30<m){var T=p-p%5;m=(s&(1<<T)-1).toString(32),s>>=T,p-=T,Ya=1<<32-Vn(l)+p|i<<p|s,Il=m+n}else Ya=1<<m|i<<p|s,Il=n}function Ds(n){n.return!==null&&(Ul(n,1),vg(n,1,0))}function Ah(n){for(;n===hf;)hf=ol[--cr],ol[cr]=null,Sn=ol[--cr],ol[cr]=null;for(;n===Pl;)Pl=Va[--Ea],Va[Ea]=null,Il=Va[--Ea],Va[Ea]=null,Ya=Va[--Ea],Va[Ea]=null}function pf(n,l){Va[Ea++]=Ya,Va[Ea++]=Il,Va[Ea++]=Pl,Ya=l.id,Il=l.overflow,Pl=n}var Gn=null,Ze=null,be=!1,Ui=null,_n=!1,ji=Error(h(519));function jl(n){var l=Error(h(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw zs(il(l,n)),ji}function mf(n){var l=n.stateNode,i=n.type,s=n.memoizedProps;switch(l[Ve]=n,l[Sa]=s,i){case"dialog":ve("cancel",l),ve("close",l);break;case"iframe":case"object":case"embed":ve("load",l);break;case"video":case"audio":for(i=0;i<lc.length;i++)ve(lc[i],l);break;case"source":ve("error",l);break;case"img":case"image":case"link":ve("error",l),ve("load",l);break;case"details":ve("toggle",l);break;case"input":ve("invalid",l),Ic(l,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ve("invalid",l);break;case"textarea":ve("invalid",l),Jm(l,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||s.suppressHydrationWarning===!0||D0(l.textContent,i)?(s.popover!=null&&(ve("beforetoggle",l),ve("toggle",l)),s.onScroll!=null&&ve("scroll",l),s.onScrollEnd!=null&&ve("scrollend",l),s.onClick!=null&&(l.onclick=Ql),l=!0):l=!1,l||jl(n,!0)}function Cs(n){for(Gn=n.return;Gn;)switch(Gn.tag){case 5:case 31:case 13:_n=!1;return;case 27:case 3:_n=!0;return;default:Gn=Gn.return}}function Ni(n){if(n!==Gn)return!1;if(!be)return Cs(n),be=!0,!1;var l=n.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||oc(n.type,n.memoizedProps)),i=!i),i&&Ze&&jl(n),Cs(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Cp(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Cp(n)}else l===27?(l=Ze,ci(n.type)?(n=od,od=null,Ze=n):Ze=l):Ze=Gn?ja(n.stateNode.nextSibling):null;return!0}function du(){Ze=Gn=null,be=!1}function bg(){var n=Ui;return n!==null&&(fn===null?fn=n:fn.push.apply(fn,n),Ui=null),n}function zs(n){Ui===null?Ui=[n]:Ui.push(n)}var Rh=_(null),Ao=null,ti=null;function Aa(n,l,i){yt(Rh,l._currentValue),l._currentValue=i}function ei(n){n._currentValue=Rh.current,F(Rh)}function Dh(n,l,i){for(;n!==null;){var s=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,s!==null&&(s.childLanes|=l)):s!==null&&(s.childLanes&l)!==l&&(s.childLanes|=l),n===i)break;n=n.return}}function Hi(n,l,i,s){var p=n.child;for(p!==null&&(p.return=n);p!==null;){var m=p.dependencies;if(m!==null){var T=p.child;m=m.firstContext;t:for(;m!==null;){var O=m;m=p;for(var H=0;H<l.length;H++)if(O.context===l[H]){m.lanes|=i,O=m.alternate,O!==null&&(O.lanes|=i),Dh(m.return,i,n),s||(T=null);break t}m=O.next}}else if(p.tag===18){if(T=p.return,T===null)throw Error(h(341));T.lanes|=i,m=T.alternate,m!==null&&(m.lanes|=i),Dh(T,i,n),T=null}else T=p.child;if(T!==null)T.return=p;else for(T=p;T!==null;){if(T===n){T=null;break}if(p=T.sibling,p!==null){p.return=T.return,T=p;break}T=T.return}p=T}}function Xn(n,l,i,s){n=null;for(var p=l,m=!1;p!==null;){if(!m){if((p.flags&524288)!==0)m=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var T=p.alternate;if(T===null)throw Error(h(387));if(T=T.memoizedProps,T!==null){var O=p.type;da(p.pendingProps.value,T.value)||(n!==null?n.push(O):n=[O])}}else if(p===Xt.current){if(T=p.alternate,T===null)throw Error(h(387));T.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(n!==null?n.push(sd):n=[sd])}p=p.return}n!==null&&Hi(l,n,i,s),l.flags|=262144}function fr(n){for(n=n.firstContext;n!==null;){if(!da(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Pt(n){Ao=n,ti=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function pt(n){return gf(Ao,n)}function Ro(n,l){return Ao===null&&Pt(n),gf(n,l)}function gf(n,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},ti===null){if(n===null)throw Error(h(308));ti=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else ti=ti.next=l;return i}var pn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(i,s){n.push(s)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},Sg=u.unstable_scheduleCallback,xg=u.unstable_NormalPriority,xn={$$typeof:ft,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function yf(){return{controller:new pn,data:new Map,refCount:0}}function vf(n){n.refCount--,n.refCount===0&&Sg(xg,function(){n.controller.abort()})}var dr=null,bf=0,hu=0,Dn=null;function He(n,l){if(dr===null){var i=dr=[];bf=0,hu=Sp(),Dn={status:"pending",value:void 0,then:function(s){i.push(s)}}}return bf++,l.then(Sf,Sf),l}function Sf(){if(--bf===0&&dr!==null){Dn!==null&&(Dn.status="fulfilled");var n=dr;dr=null,hu=0,Dn=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function xf(n,l){var i=[],s={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return n.then(function(){s.status="fulfilled",s.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(s.status="rejected",s.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),s}var Do=V.S;V.S=function(n,l){p0=Rn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&He(n,l),Do!==null&&Do(n,l)};var ul=_(null);function rl(){var n=ul.current;return n!==null?n:qe.pooledCache}function Ms(n,l){l===null?yt(ul,ul.current):yt(ul,l.pool)}function hr(){var n=rl();return n===null?null:{parent:xn._currentValue,pool:n}}var pu=Error(h(460)),pr=Error(h(474)),Os=Error(h(542)),mr={then:function(){}};function Tg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function wg(n,l,i){switch(i=n[i],i===void 0?n.push(l):i!==l&&(l.then(Ql,Ql),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ch(n),n;default:if(typeof l.status=="string")l.then(Ql,Ql);else{if(n=qe,n!==null&&100<n.shellSuspendCounter)throw Error(h(482));n=l,n.status="pending",n.then(function(s){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=s}},function(s){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=s}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ch(n),n}throw gu=l,pu}}function mu(n){try{var l=n._init;return l(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(gu=i,pu):i}}var gu=null;function Eg(){if(gu===null)throw Error(h(459));var n=gu;return gu=null,n}function Ch(n){if(n===pu||n===Os)throw Error(h(483))}var yu=null,gr=0;function Tf(n){var l=gr;return gr+=1,yu===null&&(yu=[]),wg(yu,n,l)}function _s(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function wf(n,l){throw l.$$typeof===M?Error(h(525)):(n=Object.prototype.toString.call(l),Error(h(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Ov(n){function l(Q,Y){if(n){var J=Q.deletions;J===null?(Q.deletions=[Y],Q.flags|=16):J.push(Y)}}function i(Q,Y){if(!n)return null;for(;Y!==null;)l(Q,Y),Y=Y.sibling;return null}function s(Q){for(var Y=new Map;Q!==null;)Q.key!==null?Y.set(Q.key,Q):Y.set(Q.index,Q),Q=Q.sibling;return Y}function p(Q,Y){return Q=wo(Q,Y),Q.index=0,Q.sibling=null,Q}function m(Q,Y,J){return Q.index=J,n?(J=Q.alternate,J!==null?(J=J.index,J<Y?(Q.flags|=67108866,Y):J):(Q.flags|=67108866,Y)):(Q.flags|=1048576,Y)}function T(Q){return n&&Q.alternate===null&&(Q.flags|=67108866),Q}function O(Q,Y,J,ct){return Y===null||Y.tag!==6?(Y=Rs(J,Q.mode,ct),Y.return=Q,Y):(Y=p(Y,J),Y.return=Q,Y)}function H(Q,Y,J,ct){var qt=J.type;return qt===it?ot(Q,Y,J.props.children,ct,J.key):Y!==null&&(Y.elementType===qt||typeof qt=="object"&&qt!==null&&qt.$$typeof===Z&&mu(qt)===Y.type)?(Y=p(Y,J.props),_s(Y,J),Y.return=Q,Y):(Y=wh(J.type,J.key,J.props,null,Q.mode,ct),_s(Y,J),Y.return=Q,Y)}function W(Q,Y,J,ct){return Y===null||Y.tag!==4||Y.stateNode.containerInfo!==J.containerInfo||Y.stateNode.implementation!==J.implementation?(Y=Eh(J,Q.mode,ct),Y.return=Q,Y):(Y=p(Y,J.children||[]),Y.return=Q,Y)}function ot(Q,Y,J,ct,qt){return Y===null||Y.tag!==7?(Y=Eo(J,Q.mode,ct,qt),Y.return=Q,Y):(Y=p(Y,J),Y.return=Q,Y)}function ht(Q,Y,J){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Y=Rs(""+Y,Q.mode,J),Y.return=Q,Y;if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case B:return J=wh(Y.type,Y.key,Y.props,null,Q.mode,J),_s(J,Y),J.return=Q,J;case nt:return Y=Eh(Y,Q.mode,J),Y.return=Q,Y;case Z:return Y=mu(Y),ht(Q,Y,J)}if(De(Y)||xt(Y))return Y=Eo(Y,Q.mode,J,null),Y.return=Q,Y;if(typeof Y.then=="function")return ht(Q,Tf(Y),J);if(Y.$$typeof===ft)return ht(Q,Ro(Q,Y),J);wf(Q,Y)}return null}function P(Q,Y,J,ct){var qt=Y!==null?Y.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return qt!==null?null:O(Q,Y,""+J,ct);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case B:return J.key===qt?H(Q,Y,J,ct):null;case nt:return J.key===qt?W(Q,Y,J,ct):null;case Z:return J=mu(J),P(Q,Y,J,ct)}if(De(J)||xt(J))return qt!==null?null:ot(Q,Y,J,ct,null);if(typeof J.then=="function")return P(Q,Y,Tf(J),ct);if(J.$$typeof===ft)return P(Q,Y,Ro(Q,J),ct);wf(Q,J)}return null}function lt(Q,Y,J,ct,qt){if(typeof ct=="string"&&ct!==""||typeof ct=="number"||typeof ct=="bigint")return Q=Q.get(J)||null,O(Y,Q,""+ct,qt);if(typeof ct=="object"&&ct!==null){switch(ct.$$typeof){case B:return Q=Q.get(ct.key===null?J:ct.key)||null,H(Y,Q,ct,qt);case nt:return Q=Q.get(ct.key===null?J:ct.key)||null,W(Y,Q,ct,qt);case Z:return ct=mu(ct),lt(Q,Y,J,ct,qt)}if(De(ct)||xt(ct))return Q=Q.get(J)||null,ot(Y,Q,ct,qt,null);if(typeof ct.then=="function")return lt(Q,Y,J,Tf(ct),qt);if(ct.$$typeof===ft)return lt(Q,Y,J,Ro(Y,ct),qt);wf(Y,ct)}return null}function Ot(Q,Y,J,ct){for(var qt=null,Ae=null,Bt=Y,ae=Y=0,ue=null;Bt!==null&&ae<J.length;ae++){Bt.index>ae?(ue=Bt,Bt=null):ue=Bt.sibling;var Oe=P(Q,Bt,J[ae],ct);if(Oe===null){Bt===null&&(Bt=ue);break}n&&Bt&&Oe.alternate===null&&l(Q,Bt),Y=m(Oe,Y,ae),Ae===null?qt=Oe:Ae.sibling=Oe,Ae=Oe,Bt=ue}if(ae===J.length)return i(Q,Bt),be&&Ul(Q,ae),qt;if(Bt===null){for(;ae<J.length;ae++)Bt=ht(Q,J[ae],ct),Bt!==null&&(Y=m(Bt,Y,ae),Ae===null?qt=Bt:Ae.sibling=Bt,Ae=Bt);return be&&Ul(Q,ae),qt}for(Bt=s(Bt);ae<J.length;ae++)ue=lt(Bt,Q,ae,J[ae],ct),ue!==null&&(n&&ue.alternate!==null&&Bt.delete(ue.key===null?ae:ue.key),Y=m(ue,Y,ae),Ae===null?qt=ue:Ae.sibling=ue,Ae=ue);return n&&Bt.forEach(function(hi){return l(Q,hi)}),be&&Ul(Q,ae),qt}function Zt(Q,Y,J,ct){if(J==null)throw Error(h(151));for(var qt=null,Ae=null,Bt=Y,ae=Y=0,ue=null,Oe=J.next();Bt!==null&&!Oe.done;ae++,Oe=J.next()){Bt.index>ae?(ue=Bt,Bt=null):ue=Bt.sibling;var hi=P(Q,Bt,Oe.value,ct);if(hi===null){Bt===null&&(Bt=ue);break}n&&Bt&&hi.alternate===null&&l(Q,Bt),Y=m(hi,Y,ae),Ae===null?qt=hi:Ae.sibling=hi,Ae=hi,Bt=ue}if(Oe.done)return i(Q,Bt),be&&Ul(Q,ae),qt;if(Bt===null){for(;!Oe.done;ae++,Oe=J.next())Oe=ht(Q,Oe.value,ct),Oe!==null&&(Y=m(Oe,Y,ae),Ae===null?qt=Oe:Ae.sibling=Oe,Ae=Oe);return be&&Ul(Q,ae),qt}for(Bt=s(Bt);!Oe.done;ae++,Oe=J.next())Oe=lt(Bt,Q,ae,Oe.value,ct),Oe!==null&&(n&&Oe.alternate!==null&&Bt.delete(Oe.key===null?ae:Oe.key),Y=m(Oe,Y,ae),Ae===null?qt=Oe:Ae.sibling=Oe,Ae=Oe);return n&&Bt.forEach(function(Nb){return l(Q,Nb)}),be&&Ul(Q,ae),qt}function Xe(Q,Y,J,ct){if(typeof J=="object"&&J!==null&&J.type===it&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case B:t:{for(var qt=J.key;Y!==null;){if(Y.key===qt){if(qt=J.type,qt===it){if(Y.tag===7){i(Q,Y.sibling),ct=p(Y,J.props.children),ct.return=Q,Q=ct;break t}}else if(Y.elementType===qt||typeof qt=="object"&&qt!==null&&qt.$$typeof===Z&&mu(qt)===Y.type){i(Q,Y.sibling),ct=p(Y,J.props),_s(ct,J),ct.return=Q,Q=ct;break t}i(Q,Y);break}else l(Q,Y);Y=Y.sibling}J.type===it?(ct=Eo(J.props.children,Q.mode,ct,J.key),ct.return=Q,Q=ct):(ct=wh(J.type,J.key,J.props,null,Q.mode,ct),_s(ct,J),ct.return=Q,Q=ct)}return T(Q);case nt:t:{for(qt=J.key;Y!==null;){if(Y.key===qt)if(Y.tag===4&&Y.stateNode.containerInfo===J.containerInfo&&Y.stateNode.implementation===J.implementation){i(Q,Y.sibling),ct=p(Y,J.children||[]),ct.return=Q,Q=ct;break t}else{i(Q,Y);break}else l(Q,Y);Y=Y.sibling}ct=Eh(J,Q.mode,ct),ct.return=Q,Q=ct}return T(Q);case Z:return J=mu(J),Xe(Q,Y,J,ct)}if(De(J))return Ot(Q,Y,J,ct);if(xt(J)){if(qt=xt(J),typeof qt!="function")throw Error(h(150));return J=qt.call(J),Zt(Q,Y,J,ct)}if(typeof J.then=="function")return Xe(Q,Y,Tf(J),ct);if(J.$$typeof===ft)return Xe(Q,Y,Ro(Q,J),ct);wf(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,Y!==null&&Y.tag===6?(i(Q,Y.sibling),ct=p(Y,J),ct.return=Q,Q=ct):(i(Q,Y),ct=Rs(J,Q.mode,ct),ct.return=Q,Q=ct),T(Q)):i(Q,Y)}return function(Q,Y,J,ct){try{gr=0;var qt=Xe(Q,Y,J,ct);return yu=null,qt}catch(Bt){if(Bt===pu||Bt===Os)throw Bt;var Ae=hn(29,Bt,null,Q.mode);return Ae.lanes=ct,Ae.return=Q,Ae}}}var vu=Ov(!0),Ag=Ov(!1),Co=!1;function Ef(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 zo(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function sl(n,l,i){var s=n.updateQueue;if(s===null)return null;if(s=s.shared,(Me&2)!==0){var p=s.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),s.pending=l,l=df(n),Th(n,null,i),l}return ll(n,s,l,i),df(n)}function bu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,Ei(n,i)}}function Mh(n,l){var i=n.updateQueue,s=n.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var T={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?p=m=T:m=m.next=T,i=i.next}while(i!==null);m===null?p=m=l:m=m.next=l}else p=m=l;i={baseState:s.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:s.shared,callbacks:s.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var Rg=!1;function Su(){if(Rg){var n=Dn;if(n!==null)throw n}}function Bi(n,l,i,s){Rg=!1;var p=n.updateQueue;Co=!1;var m=p.firstBaseUpdate,T=p.lastBaseUpdate,O=p.shared.pending;if(O!==null){p.shared.pending=null;var H=O,W=H.next;H.next=null,T===null?m=W:T.next=W,T=H;var ot=n.alternate;ot!==null&&(ot=ot.updateQueue,O=ot.lastBaseUpdate,O!==T&&(O===null?ot.firstBaseUpdate=W:O.next=W,ot.lastBaseUpdate=H))}if(m!==null){var ht=p.baseState;T=0,ot=W=H=null,O=m;do{var P=O.lane&-536870913,lt=P!==O.lane;if(lt?(pe&P)===P:(s&P)===P){P!==0&&P===hu&&(Rg=!0),ot!==null&&(ot=ot.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});t:{var Ot=n,Zt=O;P=l;var Xe=i;switch(Zt.tag){case 1:if(Ot=Zt.payload,typeof Ot=="function"){ht=Ot.call(Xe,ht,P);break t}ht=Ot;break t;case 3:Ot.flags=Ot.flags&-65537|128;case 0:if(Ot=Zt.payload,P=typeof Ot=="function"?Ot.call(Xe,ht,P):Ot,P==null)break t;ht=R({},ht,P);break t;case 2:Co=!0}}P=O.callback,P!==null&&(n.flags|=64,lt&&(n.flags|=8192),lt=p.callbacks,lt===null?p.callbacks=[P]:lt.push(P))}else lt={lane:P,tag:O.tag,payload:O.payload,callback:O.callback,next:null},ot===null?(W=ot=lt,H=ht):ot=ot.next=lt,T|=P;if(O=O.next,O===null){if(O=p.shared.pending,O===null)break;lt=O,O=lt.next,lt.next=null,p.lastBaseUpdate=lt,p.shared.pending=null}}while(!0);ot===null&&(H=ht),p.baseState=H,p.firstBaseUpdate=W,p.lastBaseUpdate=ot,m===null&&(p.shared.lanes=0),ri|=T,n.lanes=T,n.memoizedState=ht}}function Oh(n,l){if(typeof n!="function")throw Error(h(191,n));n.call(l)}function xu(n,l){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)Oh(i[n],l)}var Un=_(null),yr=_(0);function _v(n,l){n=ui,yt(yr,n),yt(Un,l),ui=n|l.baseLanes}function Af(){yt(yr,ui),yt(Un,Un.current)}function Us(){ui=yr.current,F(Un),F(yr)}var Ra=_(null),cl=null;function ki(n){var l=n.alternate;yt(en,en.current&1),yt(Ra,n),cl===null&&(l===null||Un.current!==null||l.memoizedState!==null)&&(cl=n)}function js(n){yt(en,en.current),yt(Ra,n),cl===null&&(cl=n)}function _h(n){n.tag===22?(yt(en,en.current),yt(Ra,n),cl===null&&(cl=n)):ni()}function ni(){yt(en,en.current),yt(Ra,Ra.current)}function Da(n){F(Ra),cl===n&&(cl=null),F(en)}var en=_(0);function Ns(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||kl(i)||Uu(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 Li=0,le=null,Be=null,Tn=null,vr=!1,br=!1,Mo=!1,Rf=0,Hs=0,Tu=null,Uv=0;function sn(){throw Error(h(321))}function Oo(n,l){if(l===null)return!1;for(var i=0;i<l.length&&i<n.length;i++)if(!da(n[i],l[i]))return!1;return!0}function Df(n,l,i,s,p,m){return Li=m,le=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,V.H=n===null||n.memoizedState===null?Yv:$h,Mo=!1,m=i(s,p),Mo=!1,br&&(m=jv(l,i,s,p)),Uh(n),m}function Uh(n){V.H=Hf;var l=Be!==null&&Be.next!==null;if(Li=0,Tn=Be=le=null,vr=!1,Hs=0,Tu=null,l)throw Error(h(300));n===null||wn||(n=n.dependencies,n!==null&&fr(n)&&(wn=!0))}function jv(n,l,i,s){le=n;var p=0;do{if(br&&(Tu=null),Hs=0,br=!1,25<=p)throw Error(h(301));if(p+=1,Tn=Be=null,n.updateQueue!=null){var m=n.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}V.H=qv,m=l(i,s)}while(br);return m}function m2(){var n=V.H,l=n.useState()[0];return l=typeof l.then=="function"?xr(l):l,n=n.useState()[0],(Be!==null?Be.memoizedState:null)!==n&&(le.flags|=1024),l}function jh(){var n=Rf!==0;return Rf=0,n}function Sr(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Cf(n){if(vr){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}vr=!1}Li=0,Tn=Be=le=null,br=!1,Hs=Rf=0,Tu=null}function Qn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tn===null?le.memoizedState=Tn=n:Tn=Tn.next=n,Tn}function mn(){if(Be===null){var n=le.alternate;n=n!==null?n.memoizedState:null}else n=Be.next;var l=Tn===null?le.memoizedState:Tn.next;if(l!==null)Tn=l,Be=n;else{if(n===null)throw le.alternate===null?Error(h(467)):Error(h(310));Be=n,n={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},Tn===null?le.memoizedState=Tn=n:Tn=Tn.next=n}return Tn}function zf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xr(n){var l=Hs;return Hs+=1,Tu===null&&(Tu=[]),n=wg(Tu,n,l),l=le,(Tn===null?l.memoizedState:Tn.next)===null&&(l=l.alternate,V.H=l===null||l.memoizedState===null?Yv:$h),n}function Bs(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return xr(n);if(n.$$typeof===ft)return pt(n)}throw Error(h(438,String(n)))}function Nh(n){var l=null,i=le.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var s=le.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(l={data:s.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=zf(),le.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),s=0;s<n;s++)i[s]=K;return l.index++,i}function Vi(n,l){return typeof l=="function"?l(n):l}function Yi(n){var l=mn();return Hh(l,Be,n)}function Hh(n,l,i){var s=n.queue;if(s===null)throw Error(h(311));s.lastRenderedReducer=i;var p=n.baseQueue,m=s.pending;if(m!==null){if(p!==null){var T=p.next;p.next=m.next,m.next=T}l.baseQueue=p=m,s.pending=null}if(m=n.baseState,p===null)n.memoizedState=m;else{l=p.next;var O=T=null,H=null,W=l,ot=!1;do{var ht=W.lane&-536870913;if(ht!==W.lane?(pe&ht)===ht:(Li&ht)===ht){var P=W.revertLane;if(P===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),ht===hu&&(ot=!0);else if((Li&P)===P){W=W.next,P===hu&&(ot=!0);continue}else ht={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},H===null?(O=H=ht,T=m):H=H.next=ht,le.lanes|=P,ri|=P;ht=W.action,Mo&&i(m,ht),m=W.hasEagerState?W.eagerState:i(m,ht)}else P={lane:ht,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},H===null?(O=H=P,T=m):H=H.next=P,le.lanes|=ht,ri|=ht;W=W.next}while(W!==null&&W!==l);if(H===null?T=m:H.next=O,!da(m,n.memoizedState)&&(wn=!0,ot&&(i=Dn,i!==null)))throw i;n.memoizedState=m,n.baseState=T,n.baseQueue=H,s.lastRenderedState=m}return p===null&&(s.lanes=0),[n.memoizedState,s.dispatch]}function Bh(n){var l=mn(),i=l.queue;if(i===null)throw Error(h(311));i.lastRenderedReducer=n;var s=i.dispatch,p=i.pending,m=l.memoizedState;if(p!==null){i.pending=null;var T=p=p.next;do m=n(m,T.action),T=T.next;while(T!==p);da(m,l.memoizedState)||(wn=!0),l.memoizedState=m,l.baseQueue===null&&(l.baseState=m),i.lastRenderedState=m}return[m,s]}function Dg(n,l,i){var s=le,p=mn(),m=be;if(m){if(i===void 0)throw Error(h(407));i=i()}else i=l();var T=!da((Be||p).memoizedState,i);if(T&&(p.memoizedState=i,wn=!0),p=p.queue,qh(kh.bind(null,s,p,n),[n]),p.getSnapshot!==l||T||Tn!==null&&Tn.memoizedState.tag&1){if(s.flags|=2048,wr(9,{destroy:void 0},Cg.bind(null,s,p,i,l),null),qe===null)throw Error(h(349));m||(Li&127)!==0||Mf(s,l,i)}return i}function Mf(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=le.updateQueue,l===null?(l=zf(),le.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function Cg(n,l,i,s){l.value=i,l.getSnapshot=s,Lh(l)&&Vh(n)}function kh(n,l,i){return i(function(){Lh(l)&&Vh(n)})}function Lh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!da(n,i)}catch{return!0}}function Vh(n){var l=To(n,2);l!==null&&Ua(l,n,2)}function zg(n){var l=Qn();if(typeof n=="function"){var i=n;if(n=i(),Mo){Ia(!0);try{i()}finally{Ia(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:n},l}function Zn(n,l,i,s){return n.baseState=i,Hh(n,Be,typeof s=="function"?s:Vi)}function Nv(n,l,i,s,p){if(Nf(n))throw Error(h(485));if(n=l.action,n!==null){var m={payload:p,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(T){m.listeners.push(T)}};V.T!==null?i(!0):m.isTransition=!1,s(m),i=l.pending,i===null?(m.next=l.pending=m,Mg(l,m)):(m.next=i.next,l.pending=i.next=m)}}function Mg(n,l){var i=l.action,s=l.payload,p=n.state;if(l.isTransition){var m=V.T,T={};V.T=T;try{var O=i(p,s),H=V.S;H!==null&&H(T,O),Og(n,l,O)}catch(W){Tr(n,l,W)}finally{m!==null&&T.types!==null&&(m.types=T.types),V.T=m}}else try{m=i(p,s),Og(n,l,m)}catch(W){Tr(n,l,W)}}function Og(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){_g(n,l,s)},function(s){return Tr(n,l,s)}):_g(n,l,i)}function _g(n,l,i){l.status="fulfilled",l.value=i,Ug(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,Mg(n,i)))}function Tr(n,l,i){var s=n.pending;if(n.pending=null,s!==null){s=s.next;do l.status="rejected",l.reason=i,Ug(l),l=l.next;while(l!==s)}n.action=null}function Ug(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function Of(n,l){return l}function jg(n,l){if(be){var i=qe.formState;if(i!==null){t:{var s=le;if(be){if(Ze){e:{for(var p=Ze,m=_n;p.nodeType!==8;){if(!m){p=null;break e}if(p=ja(p.nextSibling),p===null){p=null;break e}}m=p.data,p=m==="F!"||m==="F"?p:null}if(p){Ze=ja(p.nextSibling),s=p.data==="F!";break t}}jl(s)}s=!1}s&&(l=i[0])}}return i=Qn(),i.memoizedState=i.baseState=l,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Of,lastRenderedState:l},i.queue=s,i=Kh.bind(null,le,s),s.dispatch=i,s=zg(!1),m=wu.bind(null,le,!1,s.queue),s=Qn(),p={state:l,dispatch:null,action:n,pending:null},s.queue=p,i=Nv.bind(null,le,p,m,i),p.dispatch=i,s.memoizedState=n,[l,i,!1]}function Hv(n){var l=mn();return _f(l,Be,n)}function _f(n,l,i){if(l=Hh(n,l,Of)[0],n=Yi(Vi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var s=xr(l)}catch(T){throw T===pu?Os:T}else s=l;l=mn();var p=l.queue,m=p.dispatch;return i!==l.memoizedState&&(le.flags|=2048,wr(9,{destroy:void 0},Ng.bind(null,p,i),null)),[s,m,n]}function Ng(n,l){n.action=l}function Hg(n){var l=mn(),i=Be;if(i!==null)return _f(l,i,n);mn(),l=l.memoizedState,i=mn();var s=i.queue.dispatch;return i.memoizedState=n,[l,s,!1]}function wr(n,l,i,s){return n={tag:n,create:i,deps:s,inst:l,next:null},l=le.updateQueue,l===null&&(l=zf(),le.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(s=i.next,i.next=n,n.next=s,l.lastEffect=n),n}function Bg(){return mn().memoizedState}function ks(n,l,i,s){var p=Qn();le.flags|=n,p.memoizedState=wr(1|l,{destroy:void 0},i,s===void 0?null:s)}function Ls(n,l,i,s){var p=mn();s=s===void 0?null:s;var m=p.memoizedState.inst;Be!==null&&s!==null&&Oo(s,Be.memoizedState.deps)?p.memoizedState=wr(l,m,i,s):(le.flags|=n,p.memoizedState=wr(1|l,m,i,s))}function Yh(n,l){ks(8390656,8,n,l)}function qh(n,l){Ls(2048,8,n,l)}function kg(n){le.flags|=4;var l=le.updateQueue;if(l===null)l=zf(),le.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function Uf(n){var l=mn().memoizedState;return kg({ref:l,nextImpl:n}),function(){if((Me&2)!==0)throw Error(h(440));return l.impl.apply(void 0,arguments)}}function Gh(n,l){return Ls(4,2,n,l)}function Lg(n,l){return Ls(4,4,n,l)}function Xh(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 Vg(n,l,i){i=i!=null?i.concat([n]):null,Ls(4,4,Xh.bind(null,l,n),i)}function ai(){}function Qh(n,l){var i=mn();l=l===void 0?null:l;var s=i.memoizedState;return l!==null&&Oo(l,s[1])?s[0]:(i.memoizedState=[n,l],n)}function Bv(n,l){var i=mn();l=l===void 0?null:l;var s=i.memoizedState;if(l!==null&&Oo(l,s[1]))return s[0];if(s=n(),Mo){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[s,l],s}function jf(n,l,i){return i===void 0||(Li&1073741824)!==0&&(pe&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=Pv(),le.lanes|=n,ri|=n,i)}function qi(n,l,i,s){return da(i,l)?i:Un.current!==null?(n=jf(n,i,s),da(n,l)||(wn=!0),n):(Li&42)===0||(Li&1073741824)!==0&&(pe&261930)===0?(wn=!0,n.memoizedState=i):(n=Pv(),le.lanes|=n,ri|=n,l)}function Zh(n,l,i,s,p){var m=et.p;et.p=m!==0&&8>m?m:8;var T=V.T,O={};V.T=O,wu(n,!1,l,i);try{var H=p(),W=V.S;if(W!==null&&W(O,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ot=xf(H,s);_o(n,l,ot,Qa(n))}else _o(n,l,s,Qa(n))}catch(ht){_o(n,l,{then:function(){},status:"rejected",reason:ht},Qa())}finally{et.p=m,T!==null&&O.types!==null&&(T.types=O.types),V.T=T}}function kv(){}function Vs(n,l,i,s){if(n.tag!==5)throw Error(h(476));var p=Ys(n).queue;Zh(n,p,l,mt,i===null?kv:function(){return Ye(n),i(s)})}function Ys(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:mt,baseState:mt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:mt},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 Ye(n){var l=Ys(n);l.next===null&&(l=n.alternate.memoizedState),_o(n,l.next.queue,{},Qa())}function Yg(){return pt(sd)}function Lv(){return mn().memoizedState}function qg(){return mn().memoizedState}function Gi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var i=Qa();n=zo(i);var s=sl(l,n,i);s!==null&&(Ua(s,l,i),bu(s,l,i)),l={cache:yf()},n.payload=l;return}l=l.return}}function Vv(n,l,i){var s=Qa();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Nf(n)?Jh(l,i):(i=_l(n,l,i,s),i!==null&&(Ua(i,n,s),Gg(i,l,s)))}function Kh(n,l,i){var s=Qa();_o(n,l,i,s)}function _o(n,l,i,s){var p={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Nf(n))Jh(l,p);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=l.lastRenderedReducer,m!==null))try{var T=l.lastRenderedState,O=m(T,i);if(p.hasEagerState=!0,p.eagerState=O,da(O,T))return ll(n,l,p,0),qe===null&&al(),!1}catch{}if(i=_l(n,l,p,s),i!==null)return Ua(i,n,s),Gg(i,l,s),!0}return!1}function wu(n,l,i,s){if(s={lane:2,revertLane:Sp(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Nf(n)){if(l)throw Error(h(479))}else l=_l(n,i,s,2),l!==null&&Ua(l,n,2)}function Nf(n){var l=n.alternate;return n===le||l!==null&&l===le}function Jh(n,l){br=vr=!0;var i=n.pending;i===null?l.next=l:(l.next=i.next,i.next=l),n.pending=l}function Gg(n,l,i){if((i&4194048)!==0){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,Ei(n,i)}}var Hf={readContext:pt,use:Bs,useCallback:sn,useContext:sn,useEffect:sn,useImperativeHandle:sn,useLayoutEffect:sn,useInsertionEffect:sn,useMemo:sn,useReducer:sn,useRef:sn,useState:sn,useDebugValue:sn,useDeferredValue:sn,useTransition:sn,useSyncExternalStore:sn,useId:sn,useHostTransitionStatus:sn,useFormState:sn,useActionState:sn,useOptimistic:sn,useMemoCache:sn,useCacheRefresh:sn};Hf.useEffectEvent=sn;var Yv={readContext:pt,use:Bs,useCallback:function(n,l){return Qn().memoizedState=[n,l===void 0?null:l],n},useContext:pt,useEffect:Yh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,ks(4194308,4,Xh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return ks(4194308,4,n,l)},useInsertionEffect:function(n,l){ks(4,2,n,l)},useMemo:function(n,l){var i=Qn();l=l===void 0?null:l;var s=n();if(Mo){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[s,l],s},useReducer:function(n,l,i){var s=Qn();if(i!==void 0){var p=i(l);if(Mo){Ia(!0);try{i(l)}finally{Ia(!1)}}}else p=l;return s.memoizedState=s.baseState=p,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:p},s.queue=n,n=n.dispatch=Vv.bind(null,le,n),[s.memoizedState,n]},useRef:function(n){var l=Qn();return n={current:n},l.memoizedState=n},useState:function(n){n=zg(n);var l=n.queue,i=Kh.bind(null,le,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:ai,useDeferredValue:function(n,l){var i=Qn();return jf(i,n,l)},useTransition:function(){var n=zg(!1);return n=Zh.bind(null,le,n.queue,!0,!1),Qn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var s=le,p=Qn();if(be){if(i===void 0)throw Error(h(407));i=i()}else{if(i=l(),qe===null)throw Error(h(349));(pe&127)!==0||Mf(s,l,i)}p.memoizedState=i;var m={value:i,getSnapshot:l};return p.queue=m,Yh(kh.bind(null,s,m,n),[n]),s.flags|=2048,wr(9,{destroy:void 0},Cg.bind(null,s,m,i,l),null),i},useId:function(){var n=Qn(),l=qe.identifierPrefix;if(be){var i=Il,s=Ya;i=(s&~(1<<32-Vn(s)-1)).toString(32)+i,l="_"+l+"R_"+i,i=Rf++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=Uv++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Yg,useFormState:jg,useActionState:jg,useOptimistic:function(n){var l=Qn();l.memoizedState=l.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=wu.bind(null,le,!0,i),i.dispatch=l,[n,l]},useMemoCache:Nh,useCacheRefresh:function(){return Qn().memoizedState=Gi.bind(null,le)},useEffectEvent:function(n){var l=Qn(),i={impl:n};return l.memoizedState=i,function(){if((Me&2)!==0)throw Error(h(440));return i.impl.apply(void 0,arguments)}}},$h={readContext:pt,use:Bs,useCallback:Qh,useContext:pt,useEffect:qh,useImperativeHandle:Vg,useInsertionEffect:Gh,useLayoutEffect:Lg,useMemo:Bv,useReducer:Yi,useRef:Bg,useState:function(){return Yi(Vi)},useDebugValue:ai,useDeferredValue:function(n,l){var i=mn();return qi(i,Be.memoizedState,n,l)},useTransition:function(){var n=Yi(Vi)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:xr(n),l]},useSyncExternalStore:Dg,useId:Lv,useHostTransitionStatus:Yg,useFormState:Hv,useActionState:Hv,useOptimistic:function(n,l){var i=mn();return Zn(i,Be,n,l)},useMemoCache:Nh,useCacheRefresh:qg};$h.useEffectEvent=Uf;var qv={readContext:pt,use:Bs,useCallback:Qh,useContext:pt,useEffect:qh,useImperativeHandle:Vg,useInsertionEffect:Gh,useLayoutEffect:Lg,useMemo:Bv,useReducer:Bh,useRef:Bg,useState:function(){return Bh(Vi)},useDebugValue:ai,useDeferredValue:function(n,l){var i=mn();return Be===null?jf(i,n,l):qi(i,Be.memoizedState,n,l)},useTransition:function(){var n=Bh(Vi)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:xr(n),l]},useSyncExternalStore:Dg,useId:Lv,useHostTransitionStatus:Yg,useFormState:Hg,useActionState:Hg,useOptimistic:function(n,l){var i=mn();return Be!==null?Zn(i,Be,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:Nh,useCacheRefresh:qg};qv.useEffectEvent=Uf;function Er(n,l,i,s){l=n.memoizedState,i=i(s,l),i=i==null?l:R({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Nl={enqueueSetState:function(n,l,i){n=n._reactInternals;var s=Qa(),p=zo(s);p.payload=l,i!=null&&(p.callback=i),l=sl(n,p,s),l!==null&&(Ua(l,n,s),bu(l,n,s))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var s=Qa(),p=zo(s);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=sl(n,p,s),l!==null&&(Ua(l,n,s),bu(l,n,s))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=Qa(),s=zo(i);s.tag=2,l!=null&&(s.callback=l),l=sl(n,s,i),l!==null&&(Ua(l,n,i),bu(l,n,i))}};function Xg(n,l,i,s,p,m,T){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(s,m,T):l.prototype&&l.prototype.isPureReactComponent?!zl(i,s)||!zl(p,m):!0}function Gv(n,l,i,s){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,s),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,s),l.state!==n&&Nl.enqueueReplaceState(l,l.state,null)}function Eu(n,l){var i=l;if("ref"in l){i={};for(var s in l)s!=="ref"&&(i[s]=l[s])}if(n=n.defaultProps){i===l&&(i=R({},i));for(var p in n)i[p]===void 0&&(i[p]=n[p])}return i}function Fh(n){rr(n)}function Qg(n){console.error(n)}function Wh(n){rr(n)}function qs(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(s){setTimeout(function(){throw s})}}function Bf(n,l,i){try{var s=n.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function Zg(n,l,i){return i=zo(i),i.tag=3,i.payload={element:null},i.callback=function(){qs(n,l)},i}function Kg(n){return n=zo(n),n.tag=3,n}function Jg(n,l,i,s){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var m=s.value;n.payload=function(){return p(m)},n.callback=function(){Bf(l,i,s)}}var T=i.stateNode;T!==null&&typeof T.componentDidCatch=="function"&&(n.callback=function(){Bf(l,i,s),typeof p!="function"&&(nn===null?nn=new Set([this]):nn.add(this));var O=s.stack;this.componentDidCatch(s.value,{componentStack:O!==null?O:""})})}function g2(n,l,i,s,p){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(l=i.alternate,l!==null&&Xn(l,i,p,!0),i=Ra.current,i!==null){switch(i.tag){case 31:case 13:return cl===null?gp():i.alternate===null&&Je===0&&(Je=3),i.flags&=-257,i.flags|=65536,i.lanes=p,s===mr?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([s]):l.add(s),Wf(n,s,p)),!1;case 22:return i.flags|=65536,s===mr?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([s]):i.add(s)),Wf(n,s,p)),!1}throw Error(h(435,i.tag))}return Wf(n,s,p),gp(),!1}if(be)return l=Ra.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,s!==ji&&(n=Error(h(422),{cause:s}),zs(il(n,i)))):(s!==ji&&(l=Error(h(423),{cause:s}),zs(il(l,i))),n=n.current.alternate,n.flags|=65536,p&=-p,n.lanes|=p,s=il(s,i),p=Zg(n.stateNode,s,p),Mh(n,p),Je!==4&&(Je=2)),!1;var m=Error(h(520),{cause:s});if(m=il(m,i),Kf===null?Kf=[m]:Kf.push(m),Je!==4&&(Je=2),l===null)return!0;s=il(s,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=p&-p,i.lanes|=n,n=Zg(i.stateNode,s,n),Mh(i,n),!1;case 1:if(l=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(nn===null||!nn.has(m))))return i.flags|=65536,p&=-p,i.lanes|=p,p=Kg(p),Jg(p,n,i,s),Mh(i,p),!1}i=i.return}while(i!==null);return!1}var Ph=Error(h(461)),wn=!1;function Pe(n,l,i,s){l.child=n===null?Ag(l,null,i,s):vu(l,n.child,i,s)}function $g(n,l,i,s,p){i=i.render;var m=l.ref;if("ref"in s){var T={};for(var O in s)O!=="ref"&&(T[O]=s[O])}else T=s;return Pt(l),s=Df(n,l,i,T,m,p),O=jh(),n!==null&&!wn?(Sr(n,l,p),hl(n,l,p)):(be&&O&&Ds(l),l.flags|=1,Pe(n,l,s,p),l.child)}function Fg(n,l,i,s,p){if(n===null){var m=i.type;return typeof m=="function"&&!sr(m)&&m.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=m,Wg(n,l,m,s,p)):(n=wh(i.type,null,s,l,l.mode,p),n.ref=l.ref,n.return=l,l.child=n)}if(m=n.child,!ep(n,p)){var T=m.memoizedProps;if(i=i.compare,i=i!==null?i:zl,i(T,s)&&n.ref===l.ref)return hl(n,l,p)}return l.flags|=1,n=wo(m,s),n.ref=l.ref,n.return=l,l.child=n}function Wg(n,l,i,s,p){if(n!==null){var m=n.memoizedProps;if(zl(m,s)&&n.ref===l.ref)if(wn=!1,l.pendingProps=s=m,ep(n,p))(n.flags&131072)!==0&&(wn=!0);else return l.lanes=n.lanes,hl(n,l,p)}return Ih(n,l,i,s,p)}function Xv(n,l,i,s){var p=s.children,m=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((l.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,n!==null){for(s=l.child=n.child,p=0;s!==null;)p=p|s.lanes|s.childLanes,s=s.sibling;s=p&~m}else s=0,l.child=null;return Ca(n,l,m,i,s)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ms(l,m!==null?m.cachePool:null),m!==null?_v(l,m):Af(),_h(l);else return s=l.lanes=536870912,Ca(n,l,m!==null?m.baseLanes|i:i,i,s)}else m!==null?(Ms(l,m.cachePool),_v(l,m),ni(),l.memoizedState=null):(n!==null&&Ms(l,null),Af(),ni());return Pe(n,l,p,i),l.child}function Au(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Ca(n,l,i,s,p){var m=rl();return m=m===null?null:{parent:xn._currentValue,pool:m},l.memoizedState={baseLanes:i,cachePool:m},n!==null&&Ms(l,null),Af(),_h(l),n!==null&&Xn(n,l,s,!0),l.childLanes=p,null}function kf(n,l){return l=Yf({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function za(n,l,i){return vu(l,n.child,null,i),n=kf(l,l.pendingProps),n.flags|=2,Da(l),l.memoizedState=null,n}function Qv(n,l,i){var s=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(be){if(s.mode==="hidden")return n=kf(l,s),l.lanes=536870912,Au(null,n);if(js(l),(n=Ze)?(n=Rb(n,_n),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Pl!==null?{id:Ya,overflow:Il}:null,retryLane:536870912,hydrationErrors:null},i=gg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw jl(l);return l.lanes=536870912,null}return kf(l,s)}var m=n.memoizedState;if(m!==null){var T=m.dehydrated;if(js(l),p)if(l.flags&256)l.flags&=-257,l=za(n,l,i);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(h(558));else if(wn||Xn(n,l,i,!1),p=(i&n.childLanes)!==0,wn||p){if(s=qe,s!==null&&(T=tl(s,i),T!==0&&T!==m.retryLane))throw m.retryLane=T,To(n,T),Ua(s,n,T),Ph;gp(),l=za(n,l,i)}else n=m.treeContext,Ze=ja(T.nextSibling),Gn=l,be=!0,Ui=null,_n=!1,n!==null&&pf(l,n),l=kf(l,s),l.flags|=4096;return l}return n=wo(n.child,{mode:s.mode,children:s.children}),n.ref=l.ref,l.child=n,n.return=l,n}function fl(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(h(284));(n===null||n.ref!==i)&&(l.flags|=4194816)}}function Ih(n,l,i,s,p){return Pt(l),i=Df(n,l,i,s,void 0,p),s=jh(),n!==null&&!wn?(Sr(n,l,p),hl(n,l,p)):(be&&s&&Ds(l),l.flags|=1,Pe(n,l,i,p),l.child)}function Ru(n,l,i,s,p,m){return Pt(l),l.updateQueue=null,i=jv(l,s,i,p),Uh(n),s=jh(),n!==null&&!wn?(Sr(n,l,m),hl(n,l,m)):(be&&s&&Ds(l),l.flags|=1,Pe(n,l,i,m),l.child)}function Pg(n,l,i,s,p){if(Pt(l),l.stateNode===null){var m=wa,T=i.contextType;typeof T=="object"&&T!==null&&(m=pt(T)),m=new i(s,m),l.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=Nl,l.stateNode=m,m._reactInternals=l,m=l.stateNode,m.props=s,m.state=l.memoizedState,m.refs={},Ef(l),T=i.contextType,m.context=typeof T=="object"&&T!==null?pt(T):wa,m.state=l.memoizedState,T=i.getDerivedStateFromProps,typeof T=="function"&&(Er(l,i,T,s),m.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(T=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),T!==m.state&&Nl.enqueueReplaceState(m,m.state,null),Bi(l,s,m,p),Su(),m.state=l.memoizedState),typeof m.componentDidMount=="function"&&(l.flags|=4194308),s=!0}else if(n===null){m=l.stateNode;var O=l.memoizedProps,H=Eu(i,O);m.props=H;var W=m.context,ot=i.contextType;T=wa,typeof ot=="object"&&ot!==null&&(T=pt(ot));var ht=i.getDerivedStateFromProps;ot=typeof ht=="function"||typeof m.getSnapshotBeforeUpdate=="function",O=l.pendingProps!==O,ot||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(O||W!==T)&&Gv(l,m,s,T),Co=!1;var P=l.memoizedState;m.state=P,Bi(l,s,m,p),Su(),W=l.memoizedState,O||P!==W||Co?(typeof ht=="function"&&(Er(l,i,ht,s),W=l.memoizedState),(H=Co||Xg(l,i,H,s,P,W,T))?(ot||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"&&(l.flags|=4194308)):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=s,l.memoizedState=W),m.props=s,m.state=W,m.context=T,s=H):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),s=!1)}else{m=l.stateNode,zh(n,l),T=l.memoizedProps,ot=Eu(i,T),m.props=ot,ht=l.pendingProps,P=m.context,W=i.contextType,H=wa,typeof W=="object"&&W!==null&&(H=pt(W)),O=i.getDerivedStateFromProps,(W=typeof O=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(T!==ht||P!==H)&&Gv(l,m,s,H),Co=!1,P=l.memoizedState,m.state=P,Bi(l,s,m,p),Su();var lt=l.memoizedState;T!==ht||P!==lt||Co||n!==null&&n.dependencies!==null&&fr(n.dependencies)?(typeof O=="function"&&(Er(l,i,O,s),lt=l.memoizedState),(ot=Co||Xg(l,i,ot,s,P,lt,H)||n!==null&&n.dependencies!==null&&fr(n.dependencies))?(W||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(s,lt,H),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(s,lt,H)),typeof m.componentDidUpdate=="function"&&(l.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof m.componentDidUpdate!="function"||T===n.memoizedProps&&P===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&P===n.memoizedState||(l.flags|=1024),l.memoizedProps=s,l.memoizedState=lt),m.props=s,m.state=lt,m.context=H,s=ot):(typeof m.componentDidUpdate!="function"||T===n.memoizedProps&&P===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&P===n.memoizedState||(l.flags|=1024),s=!1)}return m=s,fl(n,l),s=(l.flags&128)!==0,m||s?(m=l.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:m.render(),l.flags|=1,n!==null&&s?(l.child=vu(l,n.child,null,p),l.child=vu(l,null,i,p)):Pe(n,l,i,p),l.memoizedState=m.state,n=l.child):n=hl(n,l,p),n}function li(n,l,i,s){return du(),l.flags|=256,Pe(n,l,i,s),l.child}var Lf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vf(n){return{baseLanes:n,cachePool:hr()}}function dl(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=_a),n}function Ig(n,l,i){var s=l.pendingProps,p=!1,m=(l.flags&128)!==0,T;if((T=m)||(T=n!==null&&n.memoizedState===null?!1:(en.current&2)!==0),T&&(p=!0,l.flags&=-129),T=(l.flags&32)!==0,l.flags&=-33,n===null){if(be){if(p?ki(l):ni(),(n=Ze)?(n=Rb(n,_n),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Pl!==null?{id:Ya,overflow:Il}:null,retryLane:536870912,hydrationErrors:null},i=gg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw jl(l);return Uu(n)?l.lanes=32:l.lanes=536870912,null}var O=s.children;return s=s.fallback,p?(ni(),p=l.mode,O=Yf({mode:"hidden",children:O},p),s=Eo(s,p,i,null),O.return=l,s.return=l,O.sibling=s,l.child=O,s=l.child,s.memoizedState=Vf(i),s.childLanes=dl(n,T,i),l.memoizedState=Lf,Au(null,s)):(ki(l),Du(l,O))}var H=n.memoizedState;if(H!==null&&(O=H.dehydrated,O!==null)){if(m)l.flags&256?(ki(l),l.flags&=-257,l=Ar(n,l,i)):l.memoizedState!==null?(ni(),l.child=n.child,l.flags|=128,l=null):(ni(),O=s.fallback,p=l.mode,s=Yf({mode:"visible",children:s.children},p),O=Eo(O,p,i,null),O.flags|=2,s.return=l,O.return=l,s.sibling=O,l.child=s,vu(l,n.child,null,i),s=l.child,s.memoizedState=Vf(i),s.childLanes=dl(n,T,i),l.memoizedState=Lf,l=Au(null,s));else if(ki(l),Uu(O)){if(T=O.nextSibling&&O.nextSibling.dataset,T)var W=T.dgst;T=W,s=Error(h(419)),s.stack="",s.digest=T,zs({value:s,source:null,stack:null}),l=Ar(n,l,i)}else if(wn||Xn(n,l,i,!1),T=(i&n.childLanes)!==0,wn||T){if(T=qe,T!==null&&(s=tl(T,i),s!==0&&s!==H.retryLane))throw H.retryLane=s,To(n,s),Ua(T,n,s),Ph;kl(O)||gp(),l=Ar(n,l,i)}else kl(O)?(l.flags|=192,l.child=n.child,l=null):(n=H.treeContext,Ze=ja(O.nextSibling),Gn=l,be=!0,Ui=null,_n=!1,n!==null&&pf(l,n),l=Du(l,s.children),l.flags|=4096);return l}return p?(ni(),O=s.fallback,p=l.mode,H=n.child,W=H.sibling,s=wo(H,{mode:"hidden",children:s.children}),s.subtreeFlags=H.subtreeFlags&65011712,W!==null?O=wo(W,O):(O=Eo(O,p,i,null),O.flags|=2),O.return=l,s.return=l,s.sibling=O,l.child=s,Au(null,s),s=l.child,O=n.child.memoizedState,O===null?O=Vf(i):(p=O.cachePool,p!==null?(H=xn._currentValue,p=p.parent!==H?{parent:H,pool:H}:p):p=hr(),O={baseLanes:O.baseLanes|i,cachePool:p}),s.memoizedState=O,s.childLanes=dl(n,T,i),l.memoizedState=Lf,Au(n.child,s)):(ki(l),i=n.child,n=i.sibling,i=wo(i,{mode:"visible",children:s.children}),i.return=l,i.sibling=null,n!==null&&(T=l.deletions,T===null?(l.deletions=[n],l.flags|=16):T.push(n)),l.child=i,l.memoizedState=null,i)}function Du(n,l){return l=Yf({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Yf(n,l){return n=hn(22,n,null,l),n.lanes=0,n}function Ar(n,l,i){return vu(l,n.child,null,i),n=Du(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function Rr(n,l,i){n.lanes|=l;var s=n.alternate;s!==null&&(s.lanes|=l),Dh(n.return,l,i)}function tp(n,l,i,s,p,m){var T=n.memoizedState;T===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:p,treeForkCount:m}:(T.isBackwards=l,T.rendering=null,T.renderingStartTime=0,T.last=s,T.tail=i,T.tailMode=p,T.treeForkCount=m)}function t0(n,l,i){var s=l.pendingProps,p=s.revealOrder,m=s.tail;s=s.children;var T=en.current,O=(T&2)!==0;if(O?(T=T&1|2,l.flags|=128):T&=1,yt(en,T),Pe(n,l,s,i),s=be?Sn:0,!O&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Rr(n,i,l);else if(n.tag===19)Rr(n,i,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;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&&Ns(n)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),tp(l,!1,p,i,m,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(n=p.alternate,n!==null&&Ns(n)===null){l.child=p;break}n=p.sibling,p.sibling=i,i=p,p=n}tp(l,!0,i,null,m,s);break;case"together":tp(l,!1,null,null,void 0,s);break;default:l.memoizedState=null}return l.child}function hl(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),ri|=l.lanes,(i&l.childLanes)===0)if(n!==null){if(Xn(n,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(h(153));if(l.child!==null){for(n=l.child,i=wo(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=wo(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function ep(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&fr(n)))}function np(n,l,i){switch(l.tag){case 3:We(l,l.stateNode.containerInfo),Aa(l,xn,n.memoizedState.cache),du();break;case 27:case 5:Wa(l);break;case 4:We(l,l.stateNode.containerInfo);break;case 10:Aa(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,js(l),null;break;case 13:var s=l.memoizedState;if(s!==null)return s.dehydrated!==null?(ki(l),l.flags|=128,null):(i&l.child.childLanes)!==0?Ig(n,l,i):(ki(l),n=hl(n,l,i),n!==null?n.sibling:null);ki(l);break;case 19:var p=(n.flags&128)!==0;if(s=(i&l.childLanes)!==0,s||(Xn(n,l,i,!1),s=(i&l.childLanes)!==0),p){if(s)return t0(n,l,i);l.flags|=128}if(p=l.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),yt(en,en.current),s)break;return null;case 22:return l.lanes=0,Xv(n,l,i,l.pendingProps);case 24:Aa(l,xn,n.memoizedState.cache)}return hl(n,l,i)}function e0(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)wn=!0;else{if(!ep(n,i)&&(l.flags&128)===0)return wn=!1,np(n,l,i);wn=(n.flags&131072)!==0}else wn=!1,be&&(l.flags&1048576)!==0&&vg(l,Sn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var s=l.pendingProps;if(n=mu(l.elementType),l.type=n,typeof n=="function")sr(n)?(s=Eu(n,s),l.tag=1,l=Pg(null,l,n,s,i)):(l.tag=0,l=Ih(null,l,n,s,i));else{if(n!=null){var p=n.$$typeof;if(p===Dt){l.tag=11,l=$g(null,l,n,s,i);break t}else if(p===wt){l.tag=14,l=Fg(null,l,n,s,i);break t}}throw l=ye(n)||n,Error(h(306,l,""))}}return l;case 0:return Ih(n,l,l.type,l.pendingProps,i);case 1:return s=l.type,p=Eu(s,l.pendingProps),Pg(n,l,s,p,i);case 3:t:{if(We(l,l.stateNode.containerInfo),n===null)throw Error(h(387));s=l.pendingProps;var m=l.memoizedState;p=m.element,zh(n,l),Bi(l,s,null,i);var T=l.memoizedState;if(s=T.cache,Aa(l,xn,s),s!==m.cache&&Hi(l,[xn],i,!0),Su(),s=T.element,m.isDehydrated)if(m={element:s,isDehydrated:!1,cache:T.cache},l.updateQueue.baseState=m,l.memoizedState=m,l.flags&256){l=li(n,l,s,i);break t}else if(s!==p){p=il(Error(h(424)),l),zs(p),l=li(n,l,s,i);break t}else for(n=l.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Ze=ja(n.firstChild),Gn=l,be=!0,Ui=null,_n=!0,i=Ag(l,null,s,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(du(),s===p){l=hl(n,l,i);break t}Pe(n,l,s,i)}l=l.child}return l;case 26:return fl(n,l),n===null?(i=cc(l.type,null,l.pendingProps,null))?l.memoizedState=i:be||(i=l.type,n=l.pendingProps,s=_u(ee.current).createElement(i),s[Ve]=l,s[Sa]=n,la(s,i,n),Ne(s),l.stateNode=s):l.memoizedState=cc(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return Wa(l),n===null&&be&&(s=l.stateNode=rc(l.type,l.pendingProps,ee.current),Gn=l,_n=!0,p=Ze,ci(l.type)?(od=p,Ze=ja(s.firstChild)):Ze=p),Pe(n,l,l.pendingProps.children,i),fl(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&be&&((p=s=Ze)&&(s=b2(s,l.type,l.pendingProps,_n),s!==null?(l.stateNode=s,Gn=l,Ze=ja(s.firstChild),_n=!1,p=!0):p=!1),p||jl(l)),Wa(l),p=l.type,m=l.pendingProps,T=n!==null?n.memoizedProps:null,s=m.children,oc(p,m)?s=null:T!==null&&oc(p,T)&&(l.flags|=32),l.memoizedState!==null&&(p=Df(n,l,m2,null,null,i),sd._currentValue=p),fl(n,l),Pe(n,l,s,i),l.child;case 6:return n===null&&be&&((n=i=Ze)&&(i=se(i,l.pendingProps,_n),i!==null?(l.stateNode=i,Gn=l,Ze=null,n=!0):n=!1),n||jl(l)),null;case 13:return Ig(n,l,i);case 4:return We(l,l.stateNode.containerInfo),s=l.pendingProps,n===null?l.child=vu(l,null,s,i):Pe(n,l,s,i),l.child;case 11:return $g(n,l,l.type,l.pendingProps,i);case 7:return Pe(n,l,l.pendingProps,i),l.child;case 8:return Pe(n,l,l.pendingProps.children,i),l.child;case 12:return Pe(n,l,l.pendingProps.children,i),l.child;case 10:return s=l.pendingProps,Aa(l,l.type,s.value),Pe(n,l,s.children,i),l.child;case 9:return p=l.type._context,s=l.pendingProps.children,Pt(l),p=pt(p),s=s(p),l.flags|=1,Pe(n,l,s,i),l.child;case 14:return Fg(n,l,l.type,l.pendingProps,i);case 15:return Wg(n,l,l.type,l.pendingProps,i);case 19:return t0(n,l,i);case 31:return Qv(n,l,i);case 22:return Xv(n,l,i,l.pendingProps);case 24:return Pt(l),s=pt(xn),n===null?(p=rl(),p===null&&(p=qe,m=yf(),p.pooledCache=m,m.refCount++,m!==null&&(p.pooledCacheLanes|=i),p=m),l.memoizedState={parent:s,cache:p},Ef(l),Aa(l,xn,p)):((n.lanes&i)!==0&&(zh(n,l),Bi(l,null,null,i),Su()),p=n.memoizedState,m=l.memoizedState,p.parent!==s?(p={parent:s,cache:s},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),Aa(l,xn,s)):(s=m.cache,Aa(l,xn,s),s!==p.cache&&Hi(l,[xn],i,!0))),Pe(n,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(h(156,l.tag))}function Xi(n){n.flags|=4}function n0(n,l,i,s,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(eb())n.flags|=8192;else throw gu=mr,pr}else n.flags&=-16777217}function a0(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ka(l))if(eb())n.flags|=8192;else throw gu=mr,pr}function ha(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?ca():536870912,n.lanes|=l,cn|=l)}function Gs(n,l){if(!be)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 s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:s.sibling=null}}function Wt(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,s=0;if(l)for(var p=n.child;p!==null;)i|=p.lanes|p.childLanes,s|=p.subtreeFlags&65011712,s|=p.flags&65011712,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)i|=p.lanes|p.childLanes,s|=p.subtreeFlags,s|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=s,n.childLanes=i,l}function Zv(n,l,i){var s=l.pendingProps;switch(Ah(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wt(l),null;case 1:return Wt(l),null;case 3:return i=l.stateNode,s=null,n!==null&&(s=n.memoizedState.cache),l.memoizedState.cache!==s&&(l.flags|=2048),ei(xn),Ce(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Ni(l)?Xi(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,bg())),Wt(l),null;case 26:var p=l.type,m=l.memoizedState;return n===null?(Xi(l),m!==null?(Wt(l),a0(l,m)):(Wt(l),n0(l,p,null,s,i))):m?m!==n.memoizedState?(Xi(l),Wt(l),a0(l,m)):(Wt(l),l.flags&=-16777217):(n=n.memoizedProps,n!==s&&Xi(l),Wt(l),n0(l,p,n,s,i)),null;case 27:if(Ct(l),i=ee.current,p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Xi(l);else{if(!s){if(l.stateNode===null)throw Error(h(166));return Wt(l),null}n=gt.current,Ni(l)?mf(l):(n=rc(p,s,i),l.stateNode=n,Xi(l))}return Wt(l),null;case 5:if(Ct(l),p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Xi(l);else{if(!s){if(l.stateNode===null)throw Error(h(166));return Wt(l),null}if(m=gt.current,Ni(l))mf(l);else{var T=_u(ee.current);switch(m){case 1:m=T.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:m=T.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":m=T.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":m=T.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":m=T.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof s.is=="string"?T.createElement("select",{is:s.is}):T.createElement("select"),s.multiple?m.multiple=!0:s.size&&(m.size=s.size);break;default:m=typeof s.is=="string"?T.createElement(p,{is:s.is}):T.createElement(p)}}m[Ve]=l,m[Sa]=s;t:for(T=l.child;T!==null;){if(T.tag===5||T.tag===6)m.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===l)break t;for(;T.sibling===null;){if(T.return===null||T.return===l)break t;T=T.return}T.sibling.return=T.return,T=T.sibling}l.stateNode=m;t:switch(la(m,p,s),p){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&Xi(l)}}return Wt(l),n0(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==s&&Xi(l);else{if(typeof s!="string"&&l.stateNode===null)throw Error(h(166));if(n=ee.current,Ni(l)){if(n=l.stateNode,i=l.memoizedProps,s=null,p=Gn,p!==null)switch(p.tag){case 27:case 5:s=p.memoizedProps}n[Ve]=l,n=!!(n.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||D0(n.nodeValue,i)),n||jl(l,!0)}else n=_u(n).createTextNode(s),n[Ve]=l,l.stateNode=n}return Wt(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(s=Ni(l),i!==null){if(n===null){if(!s)throw Error(h(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(557));n[Ve]=l}else du(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),n=!1}else i=bg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return l.flags&256?(Da(l),l):(Da(l),null);if((l.flags&128)!==0)throw Error(h(558))}return Wt(l),null;case 13:if(s=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(p=Ni(l),s!==null&&s.dehydrated!==null){if(n===null){if(!p)throw Error(h(318));if(p=l.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(h(317));p[Ve]=l}else du(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),p=!1}else p=bg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=p),p=!0;if(!p)return l.flags&256?(Da(l),l):(Da(l),null)}return Da(l),(l.flags&128)!==0?(l.lanes=i,l):(i=s!==null,n=n!==null&&n.memoizedState!==null,i&&(s=l.child,p=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(p=s.alternate.memoizedState.cachePool.pool),m=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),m!==p&&(s.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),ha(l,l.updateQueue),Wt(l),null);case 4:return Ce(),n===null&&ic(l.stateNode.containerInfo),Wt(l),null;case 10:return ei(l.type),Wt(l),null;case 19:if(F(en),s=l.memoizedState,s===null)return Wt(l),null;if(p=(l.flags&128)!==0,m=s.rendering,m===null)if(p)Gs(s,!1);else{if(Je!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(m=Ns(n),m!==null){for(l.flags|=128,Gs(s,!1),n=m.updateQueue,l.updateQueue=n,ha(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)mg(i,n),i=i.sibling;return yt(en,en.current&1|2),be&&Ul(l,s.treeForkCount),l.child}n=n.sibling}s.tail!==null&&Rn()>Ue&&(l.flags|=128,p=!0,Gs(s,!1),l.lanes=4194304)}else{if(!p)if(n=Ns(m),n!==null){if(l.flags|=128,p=!0,n=n.updateQueue,l.updateQueue=n,ha(l,n),Gs(s,!0),s.tail===null&&s.tailMode==="hidden"&&!m.alternate&&!be)return Wt(l),null}else 2*Rn()-s.renderingStartTime>Ue&&i!==536870912&&(l.flags|=128,p=!0,Gs(s,!1),l.lanes=4194304);s.isBackwards?(m.sibling=l.child,l.child=m):(n=s.last,n!==null?n.sibling=m:l.child=m,s.last=m)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=Rn(),n.sibling=null,i=en.current,yt(en,p?i&1|2:i&1),be&&Ul(l,s.treeForkCount),n):(Wt(l),null);case 22:case 23:return Da(l),Us(),s=l.memoizedState!==null,n!==null?n.memoizedState!==null!==s&&(l.flags|=8192):s&&(l.flags|=8192),s?(i&536870912)!==0&&(l.flags&128)===0&&(Wt(l),l.subtreeFlags&6&&(l.flags|=8192)):Wt(l),i=l.updateQueue,i!==null&&ha(l,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==i&&(l.flags|=2048),n!==null&&F(ul),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),ei(xn),Wt(l),null;case 25:return null;case 30:return null}throw Error(h(156,l.tag))}function Kv(n,l){switch(Ah(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return ei(xn),Ce(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Ct(l),null;case 31:if(l.memoizedState!==null){if(Da(l),l.alternate===null)throw Error(h(340));du()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(Da(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(h(340));du()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return F(en),null;case 4:return Ce(),null;case 10:return ei(l.type),null;case 22:case 23:return Da(l),Us(),n!==null&&F(ul),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return ei(xn),null;case 25:return null;default:return null}}function Jv(n,l){switch(Ah(l),l.tag){case 3:ei(xn),Ce();break;case 26:case 27:case 5:Ct(l);break;case 4:Ce();break;case 31:l.memoizedState!==null&&Da(l);break;case 13:Da(l);break;case 19:F(en);break;case 10:ei(l.type);break;case 22:case 23:Da(l),Us(),n!==null&&F(ul);break;case 24:ei(xn)}}function Hl(n,l){try{var i=l.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var p=s.next;i=p;do{if((i.tag&n)===n){s=void 0;var m=i.create,T=i.inst;s=m(),T.destroy=s}i=i.next}while(i!==p)}}catch(O){Le(l,l.return,O)}}function pl(n,l,i){try{var s=l.updateQueue,p=s!==null?s.lastEffect:null;if(p!==null){var m=p.next;s=m;do{if((s.tag&n)===n){var T=s.inst,O=T.destroy;if(O!==void 0){T.destroy=void 0,p=l;var H=i,W=O;try{W()}catch(ot){Le(p,H,ot)}}}s=s.next}while(s!==m)}}catch(ot){Le(l,l.return,ot)}}function ap(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{xu(l,i)}catch(s){Le(n,n.return,s)}}}function Cu(n,l,i){i.props=Eu(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(s){Le(n,l,s)}}function Qi(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}typeof i=="function"?n.refCleanup=i(s):i.current=s}}catch(p){Le(n,l,p)}}function ii(n,l){var i=n.ref,s=n.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(p){Le(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){Le(n,l,p)}else i.current=null}function l0(n){var l=n.type,i=n.memoizedProps,s=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break t;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(p){Le(n,n.return,p)}}function lp(n,l,i){try{var s=n.stateNode;z0(s,n.type,i,l),s[Sa]=l}catch(p){Le(n,n.return,p)}}function i0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ci(n.type)||n.tag===4}function Xs(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||i0(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&&ci(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Qs(n,l,i){var s=n.tag;if(s===5||s===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=Ql));else if(s!==4&&(s===27&&ci(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(Qs(n,l,i),n=n.sibling;n!==null;)Qs(n,l,i),n=n.sibling}function Zs(n,l,i){var s=n.tag;if(s===5||s===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(s!==4&&(s===27&&ci(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Zs(n,l,i),n=n.sibling;n!==null;)Zs(n,l,i),n=n.sibling}function o0(n){var l=n.stateNode,i=n.memoizedProps;try{for(var s=n.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);la(l,s,i),l[Ve]=n,l[Sa]=i}catch(m){Le(n,n.return,m)}}var Uo=!1,Cn=!1,ip=!1,u0=typeof WeakSet=="function"?WeakSet:Set,Kn=null;function Ks(n,l){if(n=n.containerInfo,Ap=Nn,n=su(n),rf(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else t:{i=(i=n.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var p=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break t}var T=0,O=-1,H=-1,W=0,ot=0,ht=n,P=null;e:for(;;){for(var lt;ht!==i||p!==0&&ht.nodeType!==3||(O=T+p),ht!==m||s!==0&&ht.nodeType!==3||(H=T+s),ht.nodeType===3&&(T+=ht.nodeValue.length),(lt=ht.firstChild)!==null;)P=ht,ht=lt;for(;;){if(ht===n)break e;if(P===i&&++W===p&&(O=T),P===m&&++ot===s&&(H=T),(lt=ht.nextSibling)!==null)break;ht=P,P=ht.parentNode}ht=lt}i=O===-1||H===-1?null:{start:O,end:H}}else i=null}i=i||{start:0,end:0}}else i=null;for(Rp={focusedElem:n,selectionRange:i},Nn=!1,Kn=l;Kn!==null;)if(l=Kn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Kn=n;else for(;Kn!==null;){switch(l=Kn,m=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&&m!==null){n=void 0,i=l,p=m.memoizedProps,m=m.memoizedState,s=i.stateNode;try{var Ot=Eu(i.type,p);n=s.getSnapshotBeforeUpdate(Ot,m),s.__reactInternalSnapshotBeforeUpdate=n}catch(Zt){Le(i,i.return,Zt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)id(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":id(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(h(163))}if(n=l.sibling,n!==null){n.return=l.return,Kn=n;break}Kn=l.return}}function qf(n,l,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:jo(n,i),s&4&&Hl(5,i);break;case 1:if(jo(n,i),s&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(T){Le(i,i.return,T)}else{var p=Eu(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(p,l,n.__reactInternalSnapshotBeforeUpdate)}catch(T){Le(i,i.return,T)}}s&64&&ap(i),s&512&&Qi(i,i.return);break;case 3:if(jo(n,i),s&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{xu(n,l)}catch(T){Le(i,i.return,T)}}break;case 27:l===null&&s&4&&o0(i);case 26:case 5:jo(n,i),l===null&&s&4&&l0(i),s&512&&Qi(i,i.return);break;case 12:jo(n,i);break;case 31:jo(n,i),s&4&&$v(n,i);break;case 13:jo(n,i),s&4&&c0(n,i),s&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=ml.bind(null,i),uc(n,i))));break;case 22:if(s=i.memoizedState!==null||Uo,!s){l=l!==null&&l.memoizedState!==null||Cn,p=Uo;var m=Cn;Uo=s,(Cn=l)&&!m?oi(n,i,(i.subtreeFlags&8772)!==0):jo(n,i),Uo=p,Cn=m}break;case 30:break;default:jo(n,i)}}function r0(n){var l=n.alternate;l!==null&&(n.alternate=null,r0(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&eh(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 Ke=null,Ma=!1;function Zi(n,l,i){for(i=i.child;i!==null;)s0(n,l,i),i=i.sibling}function s0(n,l,i){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(Al,i)}catch{}switch(i.tag){case 26:Cn||ii(i,l),Zi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Cn||ii(i,l);var s=Ke,p=Ma;ci(i.type)&&(Ke=i.stateNode,Ma=!1),Zi(n,l,i),jr(i.stateNode),Ke=s,Ma=p;break;case 5:Cn||ii(i,l);case 6:if(s=Ke,p=Ma,Ke=null,Zi(n,l,i),Ke=s,Ma=p,Ke!==null)if(Ma)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(i.stateNode)}catch(m){Le(i,l,m)}else try{Ke.removeChild(i.stateNode)}catch(m){Le(i,l,m)}break;case 18:Ke!==null&&(Ma?(n=Ke,U0(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),vc(n)):U0(Ke,i.stateNode));break;case 4:s=Ke,p=Ma,Ke=i.stateNode.containerInfo,Ma=!0,Zi(n,l,i),Ke=s,Ma=p;break;case 0:case 11:case 14:case 15:pl(2,i,l),Cn||pl(4,i,l),Zi(n,l,i);break;case 1:Cn||(ii(i,l),s=i.stateNode,typeof s.componentWillUnmount=="function"&&Cu(i,l,s)),Zi(n,l,i);break;case 21:Zi(n,l,i);break;case 22:Cn=(s=Cn)||i.memoizedState!==null,Zi(n,l,i),Cn=s;break;default:Zi(n,l,i)}}function $v(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{vc(n)}catch(i){Le(l,l.return,i)}}}function c0(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{vc(n)}catch(i){Le(l,l.return,i)}}function Gf(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new u0),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new u0),l;default:throw Error(h(435,n.tag))}}function Xf(n,l){var i=Gf(n);l.forEach(function(s){if(!i.has(s)){i.add(s);var p=gb.bind(null,n,s);s.then(p,p)}})}function Oa(n,l){var i=l.deletions;if(i!==null)for(var s=0;s<i.length;s++){var p=i[s],m=n,T=l,O=T;t:for(;O!==null;){switch(O.tag){case 27:if(ci(O.type)){Ke=O.stateNode,Ma=!1;break t}break;case 5:Ke=O.stateNode,Ma=!1;break t;case 3:case 4:Ke=O.stateNode.containerInfo,Ma=!0;break t}O=O.return}if(Ke===null)throw Error(h(160));s0(m,T,p),Ke=null,Ma=!1,m=p.alternate,m!==null&&(m.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)op(l,n),l=l.sibling}var oe=null;function op(n,l){var i=n.alternate,s=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Oa(l,n),qa(n),s&4&&(pl(3,n,n.return),Hl(3,n),pl(5,n,n.return));break;case 1:Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),s&64&&Uo&&(n=n.updateQueue,n!==null&&(s=n.callbacks,s!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var p=oe;if(Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),s&4){var m=i!==null?i.memoizedState:null;if(s=n.memoizedState,i===null)if(s===null)if(n.stateNode===null){t:{s=n.type,i=n.memoizedProps,p=p.ownerDocument||p;e:switch(s){case"title":m=p.getElementsByTagName("title")[0],(!m||m[Ai]||m[Ve]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=p.createElement(s),p.head.insertBefore(m,p.querySelector("head > title"))),la(m,s,i),m[Ve]=n,Ne(m),s=m;break t;case"link":var T=B0("link","href",p).get(s+(i.href||""));if(T){for(var O=0;O<T.length;O++)if(m=T[O],m.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&m.getAttribute("rel")===(i.rel==null?null:i.rel)&&m.getAttribute("title")===(i.title==null?null:i.title)&&m.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){T.splice(O,1);break e}}m=p.createElement(s),la(m,s,i),p.head.appendChild(m);break;case"meta":if(T=B0("meta","content",p).get(s+(i.content||""))){for(O=0;O<T.length;O++)if(m=T[O],m.getAttribute("content")===(i.content==null?null:""+i.content)&&m.getAttribute("name")===(i.name==null?null:i.name)&&m.getAttribute("property")===(i.property==null?null:i.property)&&m.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&m.getAttribute("charset")===(i.charSet==null?null:i.charSet)){T.splice(O,1);break e}}m=p.createElement(s),la(m,s,i),p.head.appendChild(m);break;default:throw Error(h(468,s))}m[Ve]=n,Ne(m),s=m}n.stateNode=s}else Op(p,n.type,n.stateNode);else n.stateNode=H0(p,s,n.memoizedProps);else m!==s?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,s===null?Op(p,n.type,n.stateNode):H0(p,s,n.memoizedProps)):s===null&&n.stateNode!==null&&lp(n,n.memoizedProps,i.memoizedProps)}break;case 27:Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),i!==null&&s&4&&lp(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Oa(l,n),qa(n),s&512&&(Cn||i===null||ii(i,i.return)),n.flags&32){p=n.stateNode;try{Di(p,"")}catch(Ot){Le(n,n.return,Ot)}}s&4&&n.stateNode!=null&&(p=n.memoizedProps,lp(n,p,i!==null?i.memoizedProps:p)),s&1024&&(ip=!0);break;case 6:if(Oa(l,n),qa(n),s&4){if(n.stateNode===null)throw Error(h(162));s=n.memoizedProps,i=n.stateNode;try{i.nodeValue=s}catch(Ot){Le(n,n.return,Ot)}}break;case 3:if(hc=null,p=oe,oe=pa(l.containerInfo),Oa(l,n),oe=p,qa(n),s&4&&i!==null&&i.memoizedState.isDehydrated)try{vc(l.containerInfo)}catch(Ot){Le(n,n.return,Ot)}ip&&(ip=!1,f0(n));break;case 4:s=oe,oe=pa(n.stateNode.containerInfo),Oa(l,n),qa(n),oe=s;break;case 12:Oa(l,n),qa(n);break;case 31:Oa(l,n),qa(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Xf(n,s)));break;case 13:Oa(l,n),qa(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(si=Rn()),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Xf(n,s)));break;case 22:p=n.memoizedState!==null;var H=i!==null&&i.memoizedState!==null,W=Uo,ot=Cn;if(Uo=W||p,Cn=ot||H,Oa(l,n),Cn=ot,Uo=W,qa(n),s&8192)t:for(l=n.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||H||Uo||Cn||Dr(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){H=i=l;try{if(m=H.stateNode,p)T=m.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{O=H.stateNode;var ht=H.memoizedProps.style,P=ht!=null&&ht.hasOwnProperty("display")?ht.display:null;O.style.display=P==null||typeof P=="boolean"?"":(""+P).trim()}}catch(Ot){Le(H,H.return,Ot)}}}else if(l.tag===6){if(i===null){H=l;try{H.stateNode.nodeValue=p?"":H.memoizedProps}catch(Ot){Le(H,H.return,Ot)}}}else if(l.tag===18){if(i===null){H=l;try{var lt=H.stateNode;p?En(lt,!0):En(H.stateNode,!1)}catch(Ot){Le(H,H.return,Ot)}}}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 t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}s&4&&(s=n.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Xf(n,i))));break;case 19:Oa(l,n),qa(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Xf(n,s)));break;case 30:break;case 21:break;default:Oa(l,n),qa(n)}}function qa(n){var l=n.flags;if(l&2){try{for(var i,s=n.return;s!==null;){if(i0(s)){i=s;break}s=s.return}if(i==null)throw Error(h(160));switch(i.tag){case 27:var p=i.stateNode,m=Xs(n);Zs(n,m,p);break;case 5:var T=i.stateNode;i.flags&32&&(Di(T,""),i.flags&=-33);var O=Xs(n);Zs(n,O,T);break;case 3:case 4:var H=i.stateNode.containerInfo,W=Xs(n);Qs(n,W,H);break;default:throw Error(h(161))}}catch(ot){Le(n,n.return,ot)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function f0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;f0(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function jo(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)qf(n,l.alternate,l),l=l.sibling}function Dr(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:pl(4,l,l.return),Dr(l);break;case 1:ii(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Cu(l,l.return,i),Dr(l);break;case 27:jr(l.stateNode);case 26:case 5:ii(l,l.return),Dr(l);break;case 22:l.memoizedState===null&&Dr(l);break;case 30:Dr(l);break;default:Dr(l)}n=n.sibling}}function oi(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var s=l.alternate,p=n,m=l,T=m.flags;switch(m.tag){case 0:case 11:case 15:oi(p,m,i),Hl(4,m);break;case 1:if(oi(p,m,i),s=m,p=s.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(W){Le(s,s.return,W)}if(s=m,p=s.updateQueue,p!==null){var O=s.stateNode;try{var H=p.shared.hiddenCallbacks;if(H!==null)for(p.shared.hiddenCallbacks=null,p=0;p<H.length;p++)Oh(H[p],O)}catch(W){Le(s,s.return,W)}}i&&T&64&&ap(m),Qi(m,m.return);break;case 27:o0(m);case 26:case 5:oi(p,m,i),i&&s===null&&T&4&&l0(m),Qi(m,m.return);break;case 12:oi(p,m,i);break;case 31:oi(p,m,i),i&&T&4&&$v(p,m);break;case 13:oi(p,m,i),i&&T&4&&c0(p,m);break;case 22:m.memoizedState===null&&oi(p,m,i),Qi(m,m.return);break;case 30:break;default:oi(p,m,i)}l=l.sibling}}function up(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&&vf(i))}function rp(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&vf(n))}function Bl(n,l,i,s){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Js(n,l,i,s),l=l.sibling}function Js(n,l,i,s){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Bl(n,l,i,s),p&2048&&Hl(9,l);break;case 1:Bl(n,l,i,s);break;case 3:Bl(n,l,i,s),p&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&vf(n)));break;case 12:if(p&2048){Bl(n,l,i,s),n=l.stateNode;try{var m=l.memoizedProps,T=m.id,O=m.onPostCommit;typeof O=="function"&&O(T,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(H){Le(l,l.return,H)}}else Bl(n,l,i,s);break;case 31:Bl(n,l,i,s);break;case 13:Bl(n,l,i,s);break;case 23:break;case 22:m=l.stateNode,T=l.alternate,l.memoizedState!==null?m._visibility&2?Bl(n,l,i,s):Qf(n,l):m._visibility&2?Bl(n,l,i,s):(m._visibility|=2,$s(n,l,i,s,(l.subtreeFlags&10256)!==0||!1)),p&2048&&up(T,l);break;case 24:Bl(n,l,i,s),p&2048&&rp(l.alternate,l);break;default:Bl(n,l,i,s)}}function $s(n,l,i,s,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var m=n,T=l,O=i,H=s,W=T.flags;switch(T.tag){case 0:case 11:case 15:$s(m,T,O,H,p),Hl(8,T);break;case 23:break;case 22:var ot=T.stateNode;T.memoizedState!==null?ot._visibility&2?$s(m,T,O,H,p):Qf(m,T):(ot._visibility|=2,$s(m,T,O,H,p)),p&&W&2048&&up(T.alternate,T);break;case 24:$s(m,T,O,H,p),p&&W&2048&&rp(T.alternate,T);break;default:$s(m,T,O,H,p)}l=l.sibling}}function Qf(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,s=l,p=s.flags;switch(s.tag){case 22:Qf(i,s),p&2048&&up(s.alternate,s);break;case 24:Qf(i,s),p&2048&&rp(s.alternate,s);break;default:Qf(i,s)}l=l.sibling}}var Ga=8192;function Ki(n,l,i){if(n.subtreeFlags&Ga)for(n=n.child;n!==null;)Fv(n,l,i),n=n.sibling}function Fv(n,l,i){switch(n.tag){case 26:Ki(n,l,i),n.flags&Ga&&n.memoizedState!==null&&Pi(i,oe,n.memoizedState,n.memoizedProps);break;case 5:Ki(n,l,i);break;case 3:case 4:var s=oe;oe=pa(n.stateNode.containerInfo),Ki(n,l,i),oe=s;break;case 22:n.memoizedState===null&&(s=n.alternate,s!==null&&s.memoizedState!==null?(s=Ga,Ga=16777216,Ki(n,l,i),Ga=s):Ki(n,l,i));break;default:Ki(n,l,i)}}function sp(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 Fs(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Kn=s,cp(s,n)}sp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)d0(n),n=n.sibling}function d0(n){switch(n.tag){case 0:case 11:case 15:Fs(n),n.flags&2048&&pl(9,n,n.return);break;case 3:Fs(n);break;case 12:Fs(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Zf(n)):Fs(n);break;default:Fs(n)}}function Zf(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Kn=s,cp(s,n)}sp(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:pl(8,l,l.return),Zf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Zf(l));break;default:Zf(l)}n=n.sibling}}function cp(n,l){for(;Kn!==null;){var i=Kn;switch(i.tag){case 0:case 11:case 15:pl(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:vf(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Kn=s;else t:for(i=n;Kn!==null;){s=Kn;var p=s.sibling,m=s.return;if(r0(s),s===i){Kn=null;break t}if(p!==null){p.return=m,Kn=p;break t}Kn=m}}}var Wv={getCacheForType:function(n){var l=pt(xn),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return pt(xn).controller.signal}},h0=typeof WeakMap=="function"?WeakMap:Map,Me=0,qe=null,Se=null,pe=0,ke=0,$t=null,Ji=!1,zu=!1,fp=!1,ui=0,Je=0,ri=0,Cr=0,dp=0,_a=0,cn=0,Kf=null,fn=null,hp=!1,si=0,p0=0,Ue=1/0,Ws=null,nn=null,jn=0,No=null,Mu=null,$i=0,Xa=0,pp=null,mp=null,Ps=0,Jf=null;function Qa(){return(Me&2)!==0&&pe!==0?pe&-pe:V.T!==null?Sp():Id()}function Pv(){if(_a===0)if((pe&536870912)===0||be){var n=Et;Et<<=1,(Et&3932160)===0&&(Et=262144),_a=n}else _a=536870912;return n=Ra.current,n!==null&&(n.flags|=32),_a}function Ua(n,l,i){(n===qe&&(ke===2||ke===9)||n.cancelPendingCommit!==null)&&(Fi(n,0),Ho(n,pe,_a,!1)),eu(n,i),((Me&2)===0||n!==qe)&&(n===qe&&((Me&2)===0&&(Cr|=i),Je===4&&Ho(n,pe,_a,!1)),Wi(n))}function Iv(n,l,i){if((Me&6)!==0)throw Error(h(327));var s=!i&&(l&127)===0&&(l&n.expiredLanes)===0||he(n,l),p=s?lb(n,l):yp(n,l,!0),m=s;do{if(p===0){zu&&!s&&Ho(n,l,0,!1);break}else{if(i=n.current.alternate,m&&!tb(i)){p=yp(n,l,!1),m=!1;continue}if(p===2){if(m=l,n.errorRecoveryDisabledLanes&m)var T=0;else T=n.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){l=T;t:{var O=n;p=Kf;var H=O.current.memoizedState.isDehydrated;if(H&&(Fi(O,T).flags|=256),T=yp(O,T,!1),T!==2){if(fp&&!H){O.errorRecoveryDisabledLanes|=m,Cr|=m,p=4;break t}m=fn,fn=p,m!==null&&(fn===null?fn=m:fn.push.apply(fn,m))}p=T}if(m=!1,p!==2)continue}}if(p===1){Fi(n,0),Ho(n,l,0,!0);break}t:{switch(s=n,m=p,m){case 0:case 1:throw Error(h(345));case 4:if((l&4194048)!==l)break;case 6:Ho(s,l,_a,!Ji);break t;case 2:fn=null;break;case 3:case 5:break;default:throw Error(h(329))}if((l&62914560)===l&&(p=si+300-Rn(),10<p)){if(Ho(s,l,_a,!Ji),Ht(s,0,!0)!==0)break t;$i=l,s.timeoutHandle=ld($f.bind(null,s,i,fn,Ws,hp,l,_a,Cr,cn,Ji,m,"Throttled",-0,0),p);break t}$f(s,i,fn,Ws,hp,l,_a,Cr,cn,Ji,m,null,-0,0)}}break}while(!0);Wi(n)}function $f(n,l,i,s,p,m,T,O,H,W,ot,ht,P,lt){if(n.timeoutHandle=-1,ht=l.subtreeFlags,ht&8192||(ht&16785408)===16785408){ht={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ql},Fv(l,m,ht);var Ot=(m&62914560)===m?si-Rn():(m&4194048)===m?p0-Rn():0;if(Ot=L0(ht,Ot),Ot!==null){$i=m,n.cancelPendingCommit=Ot(rb.bind(null,n,l,m,i,s,p,T,O,H,ot,ht,null,P,lt)),Ho(n,m,T,!W);return}}rb(n,l,m,i,s,p,T,O,H)}function tb(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 s=0;s<i.length;s++){var p=i[s],m=p.getSnapshot;p=p.value;try{if(!da(m(),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 Ho(n,l,i,s){l&=~dp,l&=~Cr,n.suspendedLanes|=l,n.pingedLanes&=~l,s&&(n.warmLanes|=l),s=n.expirationTimes;for(var p=l;0<p;){var m=31-Vn(p),T=1<<m;s[m]=-1,p&=~T}i!==0&&Fc(n,i,l)}function Is(){return(Me&6)===0?(ko(0),!1):!0}function m0(){if(Se!==null){if(ke===0)var n=Se.return;else n=Se,ti=Ao=null,Cf(n),yu=null,gr=0,n=Se;for(;n!==null;)Jv(n.alternate,n),n=n.return;Se=null}}function Fi(n,l){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,Eb(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),$i=0,m0(),qe=n,Se=i=wo(n.current,null),pe=l,ke=0,$t=null,Ji=!1,zu=he(n,l),fp=!1,cn=_a=dp=Cr=ri=Je=0,fn=Kf=null,hp=!1,(l&8)!==0&&(l|=l&32);var s=n.entangledLanes;if(s!==0)for(n=n.entanglements,s&=l;0<s;){var p=31-Vn(s),m=1<<p;l|=n[p],s&=~m}return ui=l,al(),i}function tc(n,l){le=null,V.H=Hf,l===pu||l===Os?(l=Eg(),ke=3):l===pr?(l=Eg(),ke=4):ke=l===Ph?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,$t=l,Se===null&&(Je=1,qs(n,il(l,n.current)))}function eb(){var n=Ra.current;return n===null?!0:(pe&4194048)===pe?cl===null:(pe&62914560)===pe||(pe&536870912)!==0?n===cl:!1}function nb(){var n=V.H;return V.H=Hf,n===null?Hf:n}function ab(){var n=V.A;return V.A=Wv,n}function gp(){Je=4,Ji||(pe&4194048)!==pe&&Ra.current!==null||(zu=!0),(ri&134217727)===0&&(Cr&134217727)===0||qe===null||Ho(qe,pe,_a,!1)}function yp(n,l,i){var s=Me;Me|=2;var p=nb(),m=ab();(qe!==n||pe!==l)&&(Ws=null,Fi(n,l)),l=!1;var T=Je;t:do try{if(ke!==0&&Se!==null){var O=Se,H=$t;switch(ke){case 8:m0(),T=6;break t;case 3:case 2:case 9:case 6:Ra.current===null&&(l=!0);var W=ke;if(ke=0,$t=null,zr(n,O,H,W),i&&zu){T=0;break t}break;default:W=ke,ke=0,$t=null,zr(n,O,H,W)}}y2(),T=Je;break}catch(ot){tc(n,ot)}while(!0);return l&&n.shellSuspendCounter++,ti=Ao=null,Me=s,V.H=p,V.A=m,Se===null&&(qe=null,pe=0,al()),T}function y2(){for(;Se!==null;)ib(Se)}function lb(n,l){var i=Me;Me|=2;var s=nb(),p=ab();qe!==n||pe!==l?(Ws=null,Ue=Rn()+500,Fi(n,l)):zu=he(n,l);t:do try{if(ke!==0&&Se!==null){l=Se;var m=$t;e:switch(ke){case 1:ke=0,$t=null,zr(n,l,m,1);break;case 2:case 9:if(Tg(m)){ke=0,$t=null,ob(l);break}l=function(){ke!==2&&ke!==9||qe!==n||(ke=7),Wi(n)},m.then(l,l);break t;case 3:ke=7;break t;case 4:ke=5;break t;case 7:Tg(m)?(ke=0,$t=null,ob(l)):(ke=0,$t=null,zr(n,l,m,7));break;case 5:var T=null;switch(Se.tag){case 26:T=Se.memoizedState;case 5:case 27:var O=Se;if(T?Ka(T):O.stateNode.complete){ke=0,$t=null;var H=O.sibling;if(H!==null)Se=H;else{var W=O.return;W!==null?(Se=W,Ff(W)):Se=null}break e}}ke=0,$t=null,zr(n,l,m,5);break;case 6:ke=0,$t=null,zr(n,l,m,6);break;case 8:m0(),Je=6;break t;default:throw Error(h(462))}}Ou();break}catch(ot){tc(n,ot)}while(!0);return ti=Ao=null,V.H=s,V.A=p,Me=i,Se!==null?0:(qe=null,pe=0,al(),Je)}function Ou(){for(;Se!==null&&!wi();)ib(Se)}function ib(n){var l=e0(n.alternate,n,ui);n.memoizedProps=n.pendingProps,l===null?Ff(n):Se=l}function ob(n){var l=n,i=l.alternate;switch(l.tag){case 15:case 0:l=Ru(i,l,l.pendingProps,l.type,void 0,pe);break;case 11:l=Ru(i,l,l.pendingProps,l.type.render,l.ref,pe);break;case 5:Cf(l);default:Jv(i,l),l=Se=mg(l,ui),l=e0(i,l,ui)}n.memoizedProps=n.pendingProps,l===null?Ff(n):Se=l}function zr(n,l,i,s){ti=Ao=null,Cf(l),yu=null,gr=0;var p=l.return;try{if(g2(n,p,l,i,pe)){Je=1,qs(n,il(i,n.current)),Se=null;return}}catch(m){if(p!==null)throw Se=p,m;Je=1,qs(n,il(i,n.current)),Se=null;return}l.flags&32768?(be||s===1?n=!0:zu||(pe&536870912)!==0?n=!1:(Ji=n=!0,(s===2||s===9||s===3||s===6)&&(s=Ra.current,s!==null&&s.tag===13&&(s.flags|=16384))),ub(l,n)):Ff(l)}function Ff(n){var l=n;do{if((l.flags&32768)!==0){ub(l,Ji);return}n=l.return;var i=Zv(l.alternate,l,ui);if(i!==null){Se=i;return}if(l=l.sibling,l!==null){Se=l;return}Se=l=n}while(l!==null);Je===0&&(Je=5)}function ub(n,l){do{var i=Kv(n.alternate,n);if(i!==null){i.flags&=32767,Se=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(n=n.sibling,n!==null)){Se=n;return}Se=n=i}while(n!==null);Je=6,Se=null}function rb(n,l,i,s,p,m,T,O,H){n.cancelPendingCommit=null;do ec();while(jn!==0);if((Me&6)!==0)throw Error(h(327));if(l!==null){if(l===n.current)throw Error(h(177));if(m=l.lanes|l.childLanes,m|=Ol,fs(n,i,m,T,O,H),n===qe&&(Se=qe=null,pe=0),Mu=l,No=n,$i=i,Xa=m,pp=p,mp=s,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,yb(Gl,function(){return hb(),null})):(n.callbackNode=null,n.callbackPriority=0),s=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||s){s=V.T,V.T=null,p=et.p,et.p=2,T=Me,Me|=4;try{Ks(n,l,i)}finally{Me=T,et.p=p,V.T=s}}jn=1,sb(),cb(),fb()}}function sb(){if(jn===1){jn=0;var n=No,l=Mu,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=V.T,V.T=null;var s=et.p;et.p=2;var p=Me;Me|=4;try{op(l,n);var m=Rp,T=su(n.containerInfo),O=m.focusedElem,H=m.selectionRange;if(T!==O&&O&&O.ownerDocument&&or(O.ownerDocument.documentElement,O)){if(H!==null&&rf(O)){var W=H.start,ot=H.end;if(ot===void 0&&(ot=W),"selectionStart"in O)O.selectionStart=W,O.selectionEnd=Math.min(ot,O.value.length);else{var ht=O.ownerDocument||document,P=ht&&ht.defaultView||window;if(P.getSelection){var lt=P.getSelection(),Ot=O.textContent.length,Zt=Math.min(H.start,Ot),Xe=H.end===void 0?Zt:Math.min(H.end,Ot);!lt.extend&&Zt>Xe&&(T=Xe,Xe=Zt,Zt=T);var Q=hg(O,Zt),Y=hg(O,Xe);if(Q&&Y&&(lt.rangeCount!==1||lt.anchorNode!==Q.node||lt.anchorOffset!==Q.offset||lt.focusNode!==Y.node||lt.focusOffset!==Y.offset)){var J=ht.createRange();J.setStart(Q.node,Q.offset),lt.removeAllRanges(),Zt>Xe?(lt.addRange(J),lt.extend(Y.node,Y.offset)):(J.setEnd(Y.node,Y.offset),lt.addRange(J))}}}}for(ht=[],lt=O;lt=lt.parentNode;)lt.nodeType===1&&ht.push({element:lt,left:lt.scrollLeft,top:lt.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<ht.length;O++){var ct=ht[O];ct.element.scrollLeft=ct.left,ct.element.scrollTop=ct.top}}Nn=!!Ap,Rp=Ap=null}finally{Me=p,et.p=s,V.T=i}}n.current=l,jn=2}}function cb(){if(jn===2){jn=0;var n=No,l=Mu,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=V.T,V.T=null;var s=et.p;et.p=2;var p=Me;Me|=4;try{qf(n,l.alternate,l)}finally{Me=p,et.p=s,V.T=i}}jn=3}}function fb(){if(jn===4||jn===3){jn=0,Qu();var n=No,l=Mu,i=$i,s=mp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?jn=5:(jn=0,Mu=No=null,db(n,n.pendingLanes));var p=n.pendingLanes;if(p===0&&(nn=null),Ym(i),l=l.stateNode,On&&typeof On.onCommitFiberRoot=="function")try{On.onCommitFiberRoot(Al,l,void 0,(l.current.flags&128)===128)}catch{}if(s!==null){l=V.T,p=et.p,et.p=2,V.T=null;try{for(var m=n.onRecoverableError,T=0;T<s.length;T++){var O=s[T];m(O.value,{componentStack:O.stack})}}finally{V.T=l,et.p=p}}($i&3)!==0&&ec(),Wi(n),p=n.pendingLanes,(i&261930)!==0&&(p&42)!==0?n===Jf?Ps++:(Ps=0,Jf=n):Ps=0,ko(0)}}function db(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,vf(l)))}function ec(){return sb(),cb(),fb(),hb()}function hb(){if(jn!==5)return!1;var n=No,l=Xa;Xa=0;var i=Ym($i),s=V.T,p=et.p;try{et.p=32>i?32:i,V.T=null,i=pp,pp=null;var m=No,T=$i;if(jn=0,Mu=No=null,$i=0,(Me&6)!==0)throw Error(h(331));var O=Me;if(Me|=4,d0(m.current),Js(m,m.current,T,i),Me=O,ko(0,!1),On&&typeof On.onPostCommitFiberRoot=="function")try{On.onPostCommitFiberRoot(Al,m)}catch{}return!0}finally{et.p=p,V.T=s,db(n,l)}}function pb(n,l,i){l=il(i,l),l=Zg(n.stateNode,l,2),n=sl(n,l,2),n!==null&&(eu(n,2),Wi(n))}function Le(n,l,i){if(n.tag===3)pb(n,n,i);else for(;l!==null;){if(l.tag===3){pb(l,n,i);break}else if(l.tag===1){var s=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(nn===null||!nn.has(s))){n=il(i,n),i=Kg(2),s=sl(l,i,2),s!==null&&(Jg(i,s,l,n),eu(s,2),Wi(s));break}}l=l.return}}function Wf(n,l,i){var s=n.pingCache;if(s===null){s=n.pingCache=new h0;var p=new Set;s.set(l,p)}else p=s.get(l),p===void 0&&(p=new Set,s.set(l,p));p.has(i)||(fp=!0,p.add(i),n=g0.bind(null,n,l,i),l.then(n,n))}function g0(n,l,i){var s=n.pingCache;s!==null&&s.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,qe===n&&(pe&i)===i&&(Je===4||Je===3&&(pe&62914560)===pe&&300>Rn()-si?(Me&2)===0&&Fi(n,0):dp|=i,cn===pe&&(cn=0)),Wi(n)}function mb(n,l){l===0&&(l=ca()),n=To(n,l),n!==null&&(eu(n,l),Wi(n))}function ml(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),mb(n,i)}function gb(n,l){var i=0;switch(n.tag){case 31:case 13:var s=n.stateNode,p=n.memoizedState;p!==null&&(i=p.retryLane);break;case 19:s=n.stateNode;break;case 22:s=n.stateNode._retryCache;break;default:throw Error(h(314))}s!==null&&s.delete(l),mb(n,i)}function yb(n,l){return Ut(n,l)}var nc=null,Mr=null,y0=!1,vp=!1,v0=!1,Bo=0;function Wi(n){n!==Mr&&n.next===null&&(Mr===null?nc=Mr=n:Mr=Mr.next=n),vp=!0,y0||(y0=!0,If())}function ko(n,l){if(!v0&&vp){v0=!0;do for(var i=!1,s=nc;s!==null;){if(n!==0){var p=s.pendingLanes;if(p===0)var m=0;else{var T=s.suspendedLanes,O=s.pingedLanes;m=(1<<31-Vn(42|n)+1)-1,m&=p&~(T&~O),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,Or(s,m))}else m=pe,m=Ht(s,s===qe?m:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(m&3)===0||he(s,m)||(i=!0,Or(s,m));s=s.next}while(i);v0=!1}}function bp(){b0()}function b0(){vp=y0=!1;var n=0;Bo!==0&&v2()&&(n=Bo);for(var l=Rn(),i=null,s=nc;s!==null;){var p=s.next,m=S0(s,l);m===0?(s.next=null,i===null?nc=p:i.next=p,p===null&&(Mr=i)):(i=s,(n!==0||(m&3)!==0)&&(vp=!0)),s=p}jn!==0&&jn!==5||ko(n),Bo!==0&&(Bo=0)}function S0(n,l){for(var i=n.suspendedLanes,s=n.pingedLanes,p=n.expirationTimes,m=n.pendingLanes&-62914561;0<m;){var T=31-Vn(m),O=1<<T,H=p[T];H===-1?((O&i)===0||(O&s)!==0)&&(p[T]=ne(O,l)):H<=l&&(n.expiredLanes|=O),m&=~O}if(l=qe,i=pe,i=Ht(n,n===l?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s=n.callbackNode,i===0||n===l&&(ke===2||ke===9)||n.cancelPendingCommit!==null)return s!==null&&s!==null&&Io(s),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||he(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(s!==null&&Io(s),Ym(i)){case 2:case 8:i=ss;break;case 32:i=Gl;break;case 268435456:i=cs;break;default:i=Gl}return s=Pf.bind(null,n),i=Ut(i,s),n.callbackPriority=l,n.callbackNode=i,l}return s!==null&&s!==null&&Io(s),n.callbackPriority=2,n.callbackNode=null,2}function Pf(n,l){if(jn!==0&&jn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(ec()&&n.callbackNode!==i)return null;var s=pe;return s=Ht(n,n===qe?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s===0?null:(Iv(n,s,l),S0(n,Rn()),n.callbackNode!=null&&n.callbackNode===i?Pf.bind(null,n):null)}function Or(n,l){if(ec())return null;Iv(n,l,!0)}function If(){Ab(function(){(Me&6)!==0?Ut(rs,bp):b0()})}function Sp(){if(Bo===0){var n=hu;n===0&&(n=vt,vt<<=1,(vt&261888)===0&&(vt=256)),Bo=n}return Bo}function vb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Dl(""+n)}function _r(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 td(n,l,i,s,p){if(l==="submit"&&i&&i.stateNode===p){var m=vb((p[Sa]||null).action),T=s.submitter;T&&(l=(l=T[Sa]||null)?vb(l.formAction):T.getAttribute("formAction"),l!==null&&(m=l,T=null));var O=new lf("action","action",null,s,p);n.push({event:O,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Bo!==0){var H=T?_r(p,T):new FormData(p);Vs(i,{pending:!0,data:H,method:p.method,action:m},null,H)}}else typeof m=="function"&&(O.preventDefault(),H=T?_r(p,T):new FormData(p),Vs(i,{pending:!0,data:H,method:p.method,action:m},m,H))},currentTarget:p}]})}}for(var xp=0;xp<As.length;xp++){var ac=As[xp],x0=ac.toLowerCase(),T0=ac[0].toUpperCase()+ac.slice(1);Ta(x0,"on"+T0)}Ta(cf,"onAnimationEnd"),Ta(pg,"onAnimationIteration"),Ta(xh,"onAnimationStart"),Ta("dblclick","onDoubleClick"),Ta("focusin","onFocus"),Ta("focusout","onBlur"),Ta(ur,"onTransitionRun"),Ta(ff,"onTransitionStart"),Ta(Oi,"onTransitionCancel"),Ta(zv,"onTransitionEnd"),Ri("onMouseEnter",["mouseout","mouseover"]),Ri("onMouseLeave",["mouseout","mouseover"]),Ri("onPointerEnter",["pointerout","pointerover"]),Ri("onPointerLeave",["pointerout","pointerover"]),lu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),lu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),lu("onBeforeInput",["compositionend","keypress","textInput","paste"]),lu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),lu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),lu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lc="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(" "),bb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lc));function Sb(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var s=n[i],p=s.event;s=s.listeners;t:{var m=void 0;if(l)for(var T=s.length-1;0<=T;T--){var O=s[T],H=O.instance,W=O.currentTarget;if(O=O.listener,H!==m&&p.isPropagationStopped())break t;m=O,p.currentTarget=W;try{m(p)}catch(ot){rr(ot)}p.currentTarget=null,m=H}else for(T=0;T<s.length;T++){if(O=s[T],H=O.instance,W=O.currentTarget,O=O.listener,H!==m&&p.isPropagationStopped())break t;m=O,p.currentTarget=W;try{m(p)}catch(ot){rr(ot)}p.currentTarget=null,m=H}}}}function ve(n,l){var i=l[th];i===void 0&&(i=l[th]=new Set);var s=n+"__bubble";i.has(s)||(ed(l,n,2,!1),i.add(s))}function w0(n,l,i){var s=0;l&&(s|=4),ed(i,n,s,l)}var Tp="_reactListening"+Math.random().toString(36).slice(2);function ic(n){if(!n[Tp]){n[Tp]=!0,Fu.forEach(function(i){i!=="selectionchange"&&(bb.has(i)||w0(i,!1,n),w0(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[Tp]||(l[Tp]=!0,w0("selectionchange",!1,l))}}function ed(n,l,i,s){switch(cd(l)){case 2:var p=Ii;break;case 8:p=to;break;default:p=ia}i=p.bind(null,l,i,n),p=void 0,!nf||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),s?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 E0(n,l,i,s,p){var m=s;if((l&1)===0&&(l&2)===0&&s!==null)t:for(;;){if(s===null)return;var T=s.tag;if(T===3||T===4){var O=s.stateNode.containerInfo;if(O===p)break;if(T===4)for(T=s.return;T!==null;){var H=T.tag;if((H===3||H===4)&&T.stateNode.containerInfo===p)return;T=T.return}for(;O!==null;){if(T=Ku(O),T===null)return;if(H=T.tag,H===5||H===6||H===26||H===27){s=m=T;continue t}O=O.parentNode}}s=s.return}Fm(function(){var W=m,ot=rh(i),ht=[];t:{var P=_i.get(n);if(P!==void 0){var lt=lf,Ot=n;switch(n){case"keypress":if(ch(i)===0)break t;case"keydown":case"keyup":lt=ph;break;case"focusin":Ot="focus",lt=dh;break;case"focusout":Ot="blur",lt=dh;break;case"beforeblur":case"afterblur":lt=dh;break;case"click":if(i.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":lt=Ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":lt=yv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":lt=Tv;break;case cf:case pg:case xh:lt=bv;break;case zv:lt=d2;break;case"scroll":case"scrollend":lt=c2;break;case"wheel":lt=h2;break;case"copy":case"cut":case"paste":lt=tr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":lt=Jl;break;case"toggle":case"beforetoggle":lt=ig}var Zt=(l&4)!==0,Xe=!Zt&&(n==="scroll"||n==="scrollend"),Q=Zt?P!==null?P+"Capture":null:P;Zt=[];for(var Y=W,J;Y!==null;){var ct=Y;if(J=ct.stateNode,ct=ct.tag,ct!==5&&ct!==26&&ct!==27||J===null||Q===null||(ct=Yn(Y,Q),ct!=null&&Zt.push(nd(Y,ct,J))),Xe)break;Y=Y.return}0<Zt.length&&(P=new lt(P,Ot,null,i,ot),ht.push({event:P,listeners:Zt}))}}if((l&7)===0){t:{if(P=n==="mouseover"||n==="pointerover",lt=n==="mouseout"||n==="pointerout",P&&i!==uh&&(Ot=i.relatedTarget||i.fromElement)&&(Ku(Ot)||Ot[nu]))break t;if((lt||P)&&(P=ot.window===ot?ot:(P=ot.ownerDocument)?P.defaultView||P.parentWindow:window,lt?(Ot=i.relatedTarget||i.toElement,lt=W,Ot=Ot?Ku(Ot):null,Ot!==null&&(Xe=b(Ot),Zt=Ot.tag,Ot!==Xe||Zt!==5&&Zt!==27&&Zt!==6)&&(Ot=null)):(lt=null,Ot=W),lt!==Ot)){if(Zt=Ss,ct="onMouseLeave",Q="onMouseEnter",Y="mouse",(n==="pointerout"||n==="pointerover")&&(Zt=Jl,ct="onPointerLeave",Q="onPointerEnter",Y="pointer"),Xe=lt==null?P:ds(lt),J=Ot==null?P:ds(Ot),P=new Zt(ct,Y+"leave",lt,i,ot),P.target=Xe,P.relatedTarget=J,ct=null,Ku(ot)===W&&(Zt=new Zt(Q,Y+"enter",Ot,i,ot),Zt.target=J,Zt.relatedTarget=Xe,ct=Zt),Xe=ct,lt&&Ot)e:{for(Zt=xb,Q=lt,Y=Ot,J=0,ct=Q;ct;ct=Zt(ct))J++;ct=0;for(var qt=Y;qt;qt=Zt(qt))ct++;for(;0<J-ct;)Q=Zt(Q),J--;for(;0<ct-J;)Y=Zt(Y),ct--;for(;J--;){if(Q===Y||Y!==null&&Q===Y.alternate){Zt=Q;break e}Q=Zt(Q),Y=Zt(Y)}Zt=null}else Zt=null;lt!==null&&wp(ht,P,lt,Zt,!1),Ot!==null&&Xe!==null&&wp(ht,Xe,Ot,Zt,!0)}}t:{if(P=W?ds(W):window,lt=P.nodeName&&P.nodeName.toLowerCase(),lt==="select"||lt==="input"&&P.type==="file")var Ae=cg;else if(Mi(P))if(yh)Ae=ir;else{Ae=Dv;var Bt=Rv}else lt=P.nodeName,!lt||lt.toLowerCase()!=="input"||P.type!=="checkbox"&&P.type!=="radio"?W&&$m(W.elementType)&&(Ae=cg):Ae=ru;if(Ae&&(Ae=Ae(n,W))){sg(ht,Ae,i,ot);break t}Bt&&Bt(n,P,W),n==="focusout"&&W&&P.type==="number"&&W.memoizedProps.value!=null&&Wu(P,"number",P.value)}switch(Bt=W?ds(W):window,n){case"focusin":(Mi(Bt)||Bt.contentEditable==="true")&&(cu=Bt,ws=W,Ml=null);break;case"focusout":Ml=ws=cu=null;break;case"mousedown":Fl=!0;break;case"contextmenu":case"mouseup":case"dragend":Fl=!1,Sh(ht,i,ot);break;case"selectionchange":if(sf)break;case"keydown":case"keyup":Sh(ht,i,ot)}var ae;if(xs)t:{switch(n){case"compositionstart":var ue="onCompositionStart";break t;case"compositionend":ue="onCompositionEnd";break t;case"compositionupdate":ue="onCompositionUpdate";break t}ue=void 0}else nr?gh(n,i)&&(ue="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(ue="onCompositionStart");ue&&(og&&i.locale!=="ko"&&(nr||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&nr&&(ae=Pm()):(So=ot,Wm="value"in So?So.value:So.textContent,nr=!0)),Bt=ad(W,ue),0<Bt.length&&(ue=new Sv(ue,n,null,i,ot),ht.push({event:ue,listeners:Bt}),ae?ue.data=ae:(ae=ug(i),ae!==null&&(ue.data=ae)))),(ae=fa?Av(n,i):p2(n,i))&&(ue=ad(W,"onBeforeInput"),0<ue.length&&(Bt=new Sv("onBeforeInput","beforeinput",null,i,ot),ht.push({event:Bt,listeners:ue}),Bt.data=ae)),td(ht,n,W,i,ot)}Sb(ht,l)})}function nd(n,l,i){return{instance:n,listener:l,currentTarget:i}}function ad(n,l){for(var i=l+"Capture",s=[];n!==null;){var p=n,m=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||m===null||(p=Yn(n,i),p!=null&&s.unshift(nd(n,p,m)),p=Yn(n,l),p!=null&&s.push(nd(n,p,m))),n.tag===3)return s;n=n.return}return[]}function xb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function wp(n,l,i,s,p){for(var m=l._reactName,T=[];i!==null&&i!==s;){var O=i,H=O.alternate,W=O.stateNode;if(O=O.tag,H!==null&&H===s)break;O!==5&&O!==26&&O!==27||W===null||(H=W,p?(W=Yn(i,m),W!=null&&T.unshift(nd(i,W,H))):p||(W=Yn(i,m),W!=null&&T.push(nd(i,W,H)))),i=i.return}T.length!==0&&n.push({event:l,listeners:T})}var Tb=/\r\n?/g,A0=/\u0000|\uFFFD/g;function R0(n){return(typeof n=="string"?n:""+n).replace(Tb,`
|
|
30
|
+
`).replace(A0,"")}function D0(n,l){return l=R0(l),R0(n)===l}function Ge(n,l,i,s,p,m){switch(i){case"children":typeof s=="string"?l==="body"||l==="textarea"&&s===""||Di(n,s):(typeof s=="number"||typeof s=="bigint")&&l!=="body"&&Di(n,""+s);break;case"className":lh(n,"class",s);break;case"tabIndex":lh(n,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":lh(n,i,s);break;case"style":pv(n,s,m);break;case"data":if(l!=="object"){lh(n,"data",s);break}case"src":case"href":if(s===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=Dl(""+s),n.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="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 m=="function"&&(i==="formAction"?(l!=="input"&&Ge(n,l,"name",p.name,p,null),Ge(n,l,"formEncType",p.formEncType,p,null),Ge(n,l,"formMethod",p.formMethod,p,null),Ge(n,l,"formTarget",p.formTarget,p,null)):(Ge(n,l,"encType",p.encType,p,null),Ge(n,l,"method",p.method,p,null),Ge(n,l,"target",p.target,p,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=Dl(""+s),n.setAttribute(i,s);break;case"onClick":s!=null&&(n.onclick=Ql);break;case"onScroll":s!=null&&ve("scroll",n);break;case"onScrollEnd":s!=null&&ve("scrollend",n);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(h(61));if(i=s.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"multiple":n.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":n.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){n.removeAttribute("xlink:href");break}i=Dl(""+s),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":s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""+s):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":s&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":s===!0?n.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,s):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?n.setAttribute(i,s):n.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?n.removeAttribute(i):n.setAttribute(i,s);break;case"popover":ve("beforetoggle",n),ve("toggle",n),ms(n,"popover",s);break;case"xlinkActuate":vo(n,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":vo(n,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":vo(n,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":vo(n,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":vo(n,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":vo(n,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":vo(n,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":vo(n,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":vo(n,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":ms(n,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=s2.get(i)||i,ms(n,i,s))}}function C0(n,l,i,s,p,m){switch(i){case"style":pv(n,s,m);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(h(61));if(i=s.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"children":typeof s=="string"?Di(n,s):(typeof s=="number"||typeof s=="bigint")&&Di(n,""+s);break;case"onScroll":s!=null&&ve("scroll",n);break;case"onScrollEnd":s!=null&&ve("scrollend",n);break;case"onClick":s!=null&&(n.onclick=Ql);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!au.hasOwnProperty(i))t:{if(i[0]==="o"&&i[1]==="n"&&(p=i.endsWith("Capture"),l=i.slice(2,p?i.length-7:void 0),m=n[Sa]||null,m=m!=null?m[i]:null,typeof m=="function"&&n.removeEventListener(l,m,p),typeof s=="function")){typeof m!="function"&&m!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,s,p);break t}i in n?n[i]=s:s===!0?n.setAttribute(i,""):ms(n,i,s)}}}function la(n,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ve("error",n),ve("load",n);var s=!1,p=!1,m;for(m in i)if(i.hasOwnProperty(m)){var T=i[m];if(T!=null)switch(m){case"src":s=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Ge(n,l,m,T,i,null)}}p&&Ge(n,l,"srcSet",i.srcSet,i,null),s&&Ge(n,l,"src",i.src,i,null);return;case"input":ve("invalid",n);var O=m=T=p=null,H=null,W=null;for(s in i)if(i.hasOwnProperty(s)){var ot=i[s];if(ot!=null)switch(s){case"name":p=ot;break;case"type":T=ot;break;case"checked":H=ot;break;case"defaultChecked":W=ot;break;case"value":m=ot;break;case"defaultValue":O=ot;break;case"children":case"dangerouslySetInnerHTML":if(ot!=null)throw Error(h(137,l));break;default:Ge(n,l,s,ot,i,null)}}Ic(n,m,O,H,W,T,p,!1);return;case"select":ve("invalid",n),s=T=m=null;for(p in i)if(i.hasOwnProperty(p)&&(O=i[p],O!=null))switch(p){case"value":m=O;break;case"defaultValue":T=O;break;case"multiple":s=O;default:Ge(n,l,p,O,i,null)}l=m,i=T,n.multiple=!!s,l!=null?gs(n,!!s,l,!1):i!=null&&gs(n,!!s,i,!0);return;case"textarea":ve("invalid",n),m=p=s=null;for(T in i)if(i.hasOwnProperty(T)&&(O=i[T],O!=null))switch(T){case"value":s=O;break;case"defaultValue":p=O;break;case"children":m=O;break;case"dangerouslySetInnerHTML":if(O!=null)throw Error(h(91));break;default:Ge(n,l,T,O,i,null)}Jm(n,s,p,m);return;case"option":for(H in i)i.hasOwnProperty(H)&&(s=i[H],s!=null)&&(H==="selected"?n.selected=s&&typeof s!="function"&&typeof s!="symbol":Ge(n,l,H,s,i,null));return;case"dialog":ve("beforetoggle",n),ve("toggle",n),ve("cancel",n),ve("close",n);break;case"iframe":case"object":ve("load",n);break;case"video":case"audio":for(s=0;s<lc.length;s++)ve(lc[s],n);break;case"image":ve("error",n),ve("load",n);break;case"details":ve("toggle",n);break;case"embed":case"source":case"link":ve("error",n),ve("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(W in i)if(i.hasOwnProperty(W)&&(s=i[W],s!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Ge(n,l,W,s,i,null)}return;default:if($m(l)){for(ot in i)i.hasOwnProperty(ot)&&(s=i[ot],s!==void 0&&C0(n,l,ot,s,i,void 0));return}}for(O in i)i.hasOwnProperty(O)&&(s=i[O],s!=null&&Ge(n,l,O,s,i,null))}function z0(n,l,i,s){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,m=null,T=null,O=null,H=null,W=null,ot=null;for(lt in i){var ht=i[lt];if(i.hasOwnProperty(lt)&&ht!=null)switch(lt){case"checked":break;case"value":break;case"defaultValue":H=ht;default:s.hasOwnProperty(lt)||Ge(n,l,lt,null,s,ht)}}for(var P in s){var lt=s[P];if(ht=i[P],s.hasOwnProperty(P)&&(lt!=null||ht!=null))switch(P){case"type":m=lt;break;case"name":p=lt;break;case"checked":W=lt;break;case"defaultChecked":ot=lt;break;case"value":T=lt;break;case"defaultValue":O=lt;break;case"children":case"dangerouslySetInnerHTML":if(lt!=null)throw Error(h(137,l));break;default:lt!==ht&&Ge(n,l,P,lt,s,ht)}}Pc(n,T,O,H,W,ot,m,p);return;case"select":lt=T=O=P=null;for(m in i)if(H=i[m],i.hasOwnProperty(m)&&H!=null)switch(m){case"value":break;case"multiple":lt=H;default:s.hasOwnProperty(m)||Ge(n,l,m,null,s,H)}for(p in s)if(m=s[p],H=i[p],s.hasOwnProperty(p)&&(m!=null||H!=null))switch(p){case"value":P=m;break;case"defaultValue":O=m;break;case"multiple":T=m;default:m!==H&&Ge(n,l,p,m,s,H)}l=O,i=T,s=lt,P!=null?gs(n,!!i,P,!1):!!s!=!!i&&(l!=null?gs(n,!!i,l,!0):gs(n,!!i,i?[]:"",!1));return;case"textarea":lt=P=null;for(O in i)if(p=i[O],i.hasOwnProperty(O)&&p!=null&&!s.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:Ge(n,l,O,null,s,p)}for(T in s)if(p=s[T],m=i[T],s.hasOwnProperty(T)&&(p!=null||m!=null))switch(T){case"value":P=p;break;case"defaultValue":lt=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(h(91));break;default:p!==m&&Ge(n,l,T,p,s,m)}Km(n,P,lt);return;case"option":for(var Ot in i)P=i[Ot],i.hasOwnProperty(Ot)&&P!=null&&!s.hasOwnProperty(Ot)&&(Ot==="selected"?n.selected=!1:Ge(n,l,Ot,null,s,P));for(H in s)P=s[H],lt=i[H],s.hasOwnProperty(H)&&P!==lt&&(P!=null||lt!=null)&&(H==="selected"?n.selected=P&&typeof P!="function"&&typeof P!="symbol":Ge(n,l,H,P,s,lt));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 Zt in i)P=i[Zt],i.hasOwnProperty(Zt)&&P!=null&&!s.hasOwnProperty(Zt)&&Ge(n,l,Zt,null,s,P);for(W in s)if(P=s[W],lt=i[W],s.hasOwnProperty(W)&&P!==lt&&(P!=null||lt!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(h(137,l));break;default:Ge(n,l,W,P,s,lt)}return;default:if($m(l)){for(var Xe in i)P=i[Xe],i.hasOwnProperty(Xe)&&P!==void 0&&!s.hasOwnProperty(Xe)&&C0(n,l,Xe,void 0,s,P);for(ot in s)P=s[ot],lt=i[ot],!s.hasOwnProperty(ot)||P===lt||P===void 0&<===void 0||C0(n,l,ot,P,s,lt);return}}for(var Q in i)P=i[Q],i.hasOwnProperty(Q)&&P!=null&&!s.hasOwnProperty(Q)&&Ge(n,l,Q,null,s,P);for(ht in s)P=s[ht],lt=i[ht],!s.hasOwnProperty(ht)||P===lt||P==null&<==null||Ge(n,l,ht,P,s,lt)}function Ep(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function M0(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var p=i[s],m=p.transferSize,T=p.initiatorType,O=p.duration;if(m&&O&&Ep(T)){for(T=0,O=p.responseEnd,s+=1;s<i.length;s++){var H=i[s],W=H.startTime;if(W>O)break;var ot=H.transferSize,ht=H.initiatorType;ot&&Ep(ht)&&(H=H.responseEnd,T+=ot*(H<O?1:(O-W)/(H-W)))}if(--s,l+=8*(m+T)/(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 Ap=null,Rp=null;function _u(n){return n.nodeType===9?n:n.ownerDocument}function wb(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 O0(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 oc(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 Dp=null;function v2(){var n=window.event;return n&&n.type==="popstate"?n===Dp?!1:(Dp=n,!0):(Dp=null,!1)}var ld=typeof setTimeout=="function"?setTimeout:void 0,Eb=typeof clearTimeout=="function"?clearTimeout:void 0,Ur=typeof Promise=="function"?Promise:void 0,Ab=typeof queueMicrotask=="function"?queueMicrotask:typeof Ur<"u"?function(n){return Ur.resolve(null).then(n).catch(_0)}:ld;function _0(n){setTimeout(function(){throw n})}function ci(n){return n==="head"}function U0(n,l){var i=l,s=0;do{var p=i.nextSibling;if(n.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(s===0){n.removeChild(p),vc(l);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")jr(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,jr(i);for(var m=i.firstChild;m;){var T=m.nextSibling,O=m.nodeName;m[Ai]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=T}}else i==="body"&&jr(n.ownerDocument.body);i=p}while(i);vc(l)}function En(n,l){var i=n;n=0;do{var s=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||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=s}while(i)}function id(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":id(i),eh(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function b2(n,l,i,s){for(;n.nodeType===1;){var p=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!s&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(s){if(!n[Ai])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(m=n.getAttribute("rel"),m==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(m!==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(m=n.getAttribute("src"),(m!==(p.src==null?null:p.src)||n.getAttribute("type")!==(p.type==null?null:p.type)||n.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&m&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var m=p.name==null?null:""+p.name;if(p.type==="hidden"&&n.getAttribute("name")===m)return n}else return n;if(n=ja(n.nextSibling),n===null)break}return null}function se(n,l,i){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=ja(n.nextSibling),n===null))return null;return n}function Rb(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=ja(n.nextSibling),n===null))return null;return n}function kl(n){return n.data==="$?"||n.data==="$~"}function Uu(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function uc(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var s=function(){l(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),n._reactRetry=s}}function ja(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 od=null;function Cp(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(l===0)return ja(n.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}n=n.nextSibling}return null}function fi(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 rc(n,l,i){switch(l=_u(i),n){case"html":if(n=l.documentElement,!n)throw Error(h(452));return n;case"head":if(n=l.head,!n)throw Error(h(453));return n;case"body":if(n=l.body,!n)throw Error(h(454));return n;default:throw Error(h(451))}}function jr(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);eh(n)}var Za=new Map,ud=new Set;function pa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var di=et.d;et.d={f:S2,r:Db,D:at,C:je,L:x2,m:j0,X:Lo,S:N0,M:ju};function S2(){var n=di.f(),l=Is();return n||l}function Db(n){var l=Ju(n);l!==null&&l.tag===5&&l.type==="form"?Ye(l):di.r(n)}var sc=typeof document>"u"?null:document;function zn(n,l,i){var s=sc;if(s&&typeof l=="string"&&l){var p=nl(l);p='link[rel="'+n+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),ud.has(p)||(ud.add(p),n={rel:n,crossOrigin:i,href:l},s.querySelector(p)===null&&(l=s.createElement("link"),la(l,"link",n),Ne(l),s.head.appendChild(l)))}}function at(n){di.D(n),zn("dns-prefetch",n,null)}function je(n,l){di.C(n,l),zn("preconnect",n,l)}function x2(n,l,i){di.L(n,l,i);var s=sc;if(s&&n&&l){var p='link[rel="preload"][as="'+nl(l)+'"]';l==="image"&&i&&i.imageSrcSet?(p+='[imagesrcset="'+nl(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(p+='[imagesizes="'+nl(i.imageSizes)+'"]')):p+='[href="'+nl(n)+'"]';var m=p;switch(l){case"style":m=gl(n);break;case"script":m=Nr(n)}Za.has(m)||(n=R({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Za.set(m,n),s.querySelector(p)!==null||l==="style"&&s.querySelector(Nu(m))||l==="script"&&s.querySelector(dc(m))||(l=s.createElement("link"),la(l,"link",n),Ne(l),s.head.appendChild(l)))}}function j0(n,l){di.m(n,l);var i=sc;if(i&&n){var s=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+nl(s)+'"][href="'+nl(n)+'"]',m=p;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=Nr(n)}if(!Za.has(m)&&(n=R({rel:"modulepreload",href:n},l),Za.set(m,n),i.querySelector(p)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(dc(m)))return}s=i.createElement("link"),la(s,"link",n),Ne(s),i.head.appendChild(s)}}}function N0(n,l,i){di.S(n,l,i);var s=sc;if(s&&n){var p=$u(s).hoistableStyles,m=gl(n);l=l||"default";var T=p.get(m);if(!T){var O={loading:0,preload:null};if(T=s.querySelector(Nu(m)))O.loading=5;else{n=R({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Za.get(m))&&zp(n,i);var H=T=s.createElement("link");Ne(H),la(H,"link",n),H._p=new Promise(function(W,ot){H.onload=W,H.onerror=ot}),H.addEventListener("load",function(){O.loading|=1}),H.addEventListener("error",function(){O.loading|=2}),O.loading|=4,rd(T,l,s)}T={type:"stylesheet",instance:T,count:1,state:O},p.set(m,T)}}}function Lo(n,l){di.X(n,l);var i=sc;if(i&&n){var s=$u(i).hoistableScripts,p=Nr(n),m=s.get(p);m||(m=i.querySelector(dc(p)),m||(n=R({src:n,async:!0},l),(l=Za.get(p))&&Mp(n,l),m=i.createElement("script"),Ne(m),la(m,"link",n),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},s.set(p,m))}}function ju(n,l){di.M(n,l);var i=sc;if(i&&n){var s=$u(i).hoistableScripts,p=Nr(n),m=s.get(p);m||(m=i.querySelector(dc(p)),m||(n=R({src:n,async:!0,type:"module"},l),(l=Za.get(p))&&Mp(n,l),m=i.createElement("script"),Ne(m),la(m,"link",n),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},s.set(p,m))}}function cc(n,l,i,s){var p=(p=ee.current)?pa(p):null;if(!p)throw Error(h(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=gl(i.href),i=$u(p).hoistableStyles,s=i.get(l),s||(s={type:"style",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=gl(i.href);var m=$u(p).hoistableStyles,T=m.get(n);if(T||(p=p.ownerDocument||p,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(n,T),(m=p.querySelector(Nu(n)))&&!m._p&&(T.instance=m,T.state.loading=5),Za.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},Za.set(n,i),m||Cb(p,n,i,T.state))),l&&s===null)throw Error(h(528,""));return T}if(l&&s!==null)throw Error(h(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Nr(i),i=$u(p).hoistableScripts,s=i.get(l),s||(s={type:"script",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(h(444,n))}}function gl(n){return'href="'+nl(n)+'"'}function Nu(n){return'link[rel="stylesheet"]['+n+"]"}function fc(n){return R({},n,{"data-precedence":n.precedence,precedence:null})}function Cb(n,l,i,s){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?s.loading=1:(l=n.createElement("link"),s.preload=l,l.addEventListener("load",function(){return s.loading|=1}),l.addEventListener("error",function(){return s.loading|=2}),la(l,"link",i),Ne(l),n.head.appendChild(l))}function Nr(n){return'[src="'+nl(n)+'"]'}function dc(n){return"script[async]"+n}function H0(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var s=n.querySelector('style[data-href~="'+nl(i.href)+'"]');if(s)return l.instance=s,Ne(s),s;var p=R({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(n.ownerDocument||n).createElement("style"),Ne(s),la(s,"style",p),rd(s,i.precedence,n),l.instance=s;case"stylesheet":p=gl(i.href);var m=n.querySelector(Nu(p));if(m)return l.state.loading|=4,l.instance=m,Ne(m),m;s=fc(i),(p=Za.get(p))&&zp(s,p),m=(n.ownerDocument||n).createElement("link"),Ne(m);var T=m;return T._p=new Promise(function(O,H){T.onload=O,T.onerror=H}),la(m,"link",s),l.state.loading|=4,rd(m,i.precedence,n),l.instance=m;case"script":return m=Nr(i.src),(p=n.querySelector(dc(m)))?(l.instance=p,Ne(p),p):(s=i,(p=Za.get(m))&&(s=R({},i),Mp(s,p)),n=n.ownerDocument||n,p=n.createElement("script"),Ne(p),la(p,"link",s),n.head.appendChild(p),l.instance=p);case"void":return null;default:throw Error(h(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(s=l.instance,l.state.loading|=4,rd(s,i.precedence,n));return l.instance}function rd(n,l,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=s.length?s[s.length-1]:null,m=p,T=0;T<s.length;T++){var O=s[T];if(O.dataset.precedence===l)m=O;else if(m!==p)break}m?m.parentNode.insertBefore(n,m.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 Mp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var hc=null;function B0(n,l,i){if(hc===null){var s=new Map,p=hc=new Map;p.set(i,s)}else p=hc,s=p.get(i),s||(s=new Map,p.set(i,s));if(s.has(n))return s;for(s.set(n,null),i=i.getElementsByTagName(n),p=0;p<i.length;p++){var m=i[p];if(!(m[Ai]||m[Ve]||n==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var T=m.getAttribute(l)||"";T=n+T;var O=s.get(T);O?O.push(m):s.set(T,[m])}}return s}function Op(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function k0(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;return l.rel==="stylesheet"?(n=l.disabled,typeof l.precedence=="string"&&n==null):!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 Ka(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Pi(n,l,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=gl(s.href),m=l.querySelector(Nu(p));if(m){l=m._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=_p.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=m,Ne(m);return}m=l.ownerDocument||l,s=fc(s),(p=Za.get(p))&&zp(s,p),m=m.createElement("link"),Ne(m);var T=m;T._p=new Promise(function(O,H){T.onload=O,T.onerror=H}),la(m,"link",s),i.instance=m}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=_p.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var yl=0;function L0(n,l){return n.stylesheets&&n.count===0&&jp(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var s=setTimeout(function(){if(n.stylesheets&&jp(n,n.stylesheets),n.unsuspend){var m=n.unsuspend;n.unsuspend=null,m()}},6e4+l);0<n.imgBytes&&yl===0&&(yl=62500*M0());var p=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&jp(n,n.stylesheets),n.unsuspend)){var m=n.unsuspend;n.unsuspend=null,m()}},(n.imgBytes>yl?50:800)+l);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(s),clearTimeout(p)}}:null}function _p(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)jp(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Up=null;function jp(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Up=new Map,l.forEach(Jn,n),Up=null,_p.call(n))}function Jn(n,l){if(!(l.state.loading&4)){var i=Up.get(n);if(i)var s=i.get(null);else{i=new Map,Up.set(n,i);for(var p=n.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<p.length;m++){var T=p[m];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(i.set(T.dataset.precedence,T),s=T)}s&&i.set(null,s)}p=l.instance,T=p.getAttribute("data-precedence"),m=i.get(T)||s,m===s&&i.set(null,p),i.set(T,p),this.count++,s=_p.bind(this),p.addEventListener("load",s),p.addEventListener("error",s),m?m.parentNode.insertBefore(p,m.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(p,n.firstChild)),l.state.loading|=4}}var sd={$$typeof:ft,Provider:null,Consumer:null,_currentValue:mt,_currentValue2:mt,_threadCount:0};function V0(n,l,i,s,p,m,T,O,H){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=Rl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rl(0),this.hiddenUpdates=Rl(null),this.identifierPrefix=s,this.onUncaughtError=p,this.onCaughtError=m,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map}function Np(n,l,i,s,p,m,T,O,H,W,ot,ht){return n=new V0(n,l,i,T,H,W,ot,ht,O),l=1,m===!0&&(l|=24),m=hn(3,null,null,l),n.current=m,m.stateNode=n,l=yf(),l.refCount++,n.pooledCache=l,l.refCount++,m.memoizedState={element:s,isDehydrated:i,cache:l},Ef(m),n}function Hr(n){return n?(n=wa,n):wa}function zb(n,l,i,s,p,m){p=Hr(p),s.context===null?s.context=p:s.pendingContext=p,s=zo(l),s.payload={element:i},m=m===void 0?null:m,m!==null&&(s.callback=m),i=sl(n,s,l),i!==null&&(Ua(i,n,l),bu(i,n,l))}function Hp(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function Y0(n,l){Hp(n,l),(n=n.alternate)&&Hp(n,l)}function Mb(n){if(n.tag===13||n.tag===31){var l=To(n,67108864);l!==null&&Ua(l,n,67108864),Y0(n,67108864)}}function Br(n){if(n.tag===13||n.tag===31){var l=Qa();l=Pd(l);var i=To(n,l);i!==null&&Ua(i,n,l),Y0(n,l)}}var Nn=!0;function Ii(n,l,i,s){var p=V.T;V.T=null;var m=et.p;try{et.p=2,ia(n,l,i,s)}finally{et.p=m,V.T=p}}function to(n,l,i,s){var p=V.T;V.T=null;var m=et.p;try{et.p=8,ia(n,l,i,s)}finally{et.p=m,V.T=p}}function ia(n,l,i,s){if(Nn){var p=q0(s);if(p===null)E0(n,l,s,Bp,i),Vo(n,s);else if(T2(p,n,l,i,s))s.stopPropagation();else if(Vo(n,s),l&4&&-1<Na.indexOf(n)){for(;p!==null;){var m=Ju(p);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var T=Kt(m.pendingLanes);if(T!==0){var O=m;for(O.pendingLanes|=2,O.entangledLanes|=2;T;){var H=1<<31-Vn(T);O.entanglements[1]|=H,T&=~H}Wi(m),(Me&6)===0&&(Ue=Rn()+500,ko(0))}}break;case 31:case 13:O=To(m,2),O!==null&&Ua(O,m,2),Is(),Y0(m,2)}if(m=q0(s),m===null&&E0(n,l,s,Bp,i),m===p)break;p=m}p!==null&&s.stopPropagation()}else E0(n,l,s,null,i)}}function q0(n){return n=rh(n),pc(n)}var Bp=null;function pc(n){if(Bp=null,n=Ku(n),n!==null){var l=b(n);if(l===null)n=null;else{var i=l.tag;if(i===13){if(n=S(l),n!==null)return n;n=null}else if(i===31){if(n=x(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 Bp=n,null}function cd(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(Fd()){case rs:return 2;case ss:return 8;case Gl:case Wd:return 32;case cs:return 268435456;default:return 32}default:return 32}}var mc=!1,Hn=null,oa=null,ma=null,Hu=new Map,Ll=new Map,an=[],Na="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 Vo(n,l){switch(n){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":oa=null;break;case"mouseover":case"mouseout":ma=null;break;case"pointerover":case"pointerout":Hu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ll.delete(l.pointerId)}}function kr(n,l,i,s,p,m){return n===null||n.nativeEvent!==m?(n={blockedOn:l,domEventName:i,eventSystemFlags:s,nativeEvent:m,targetContainers:[p]},l!==null&&(l=Ju(l),l!==null&&Mb(l)),n):(n.eventSystemFlags|=s,l=n.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),n)}function T2(n,l,i,s,p){switch(l){case"focusin":return Hn=kr(Hn,n,l,i,s,p),!0;case"dragenter":return oa=kr(oa,n,l,i,s,p),!0;case"mouseover":return ma=kr(ma,n,l,i,s,p),!0;case"pointerover":var m=p.pointerId;return Hu.set(m,kr(Hu.get(m)||null,n,l,i,s,p)),!0;case"gotpointercapture":return m=p.pointerId,Ll.set(m,kr(Ll.get(m)||null,n,l,i,s,p)),!0}return!1}function Ob(n){var l=Ku(n.target);if(l!==null){var i=b(l);if(i!==null){if(l=i.tag,l===13){if(l=S(i),l!==null){n.blockedOn=l,qm(n.priority,function(){Br(i)});return}}else if(l===31){if(l=x(i),l!==null){n.blockedOn=l,qm(n.priority,function(){Br(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 fd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=q0(n.nativeEvent);if(i===null){i=n.nativeEvent;var s=new i.constructor(i.type,i);uh=s,i.target.dispatchEvent(s),uh=null}else return l=Ju(i),l!==null&&Mb(l),n.blockedOn=i,!1;l.shift()}return!0}function gc(n,l,i){fd(n)&&i.delete(l)}function _b(){mc=!1,Hn!==null&&fd(Hn)&&(Hn=null),oa!==null&&fd(oa)&&(oa=null),ma!==null&&fd(ma)&&(ma=null),Hu.forEach(gc),Ll.forEach(gc)}function eo(n,l){n.blockedOn===l&&(n.blockedOn=null,mc||(mc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,_b)))}var yc=null;function Ub(n){yc!==n&&(yc=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){yc===n&&(yc=null);for(var l=0;l<n.length;l+=3){var i=n[l],s=n[l+1],p=n[l+2];if(typeof s!="function"){if(pc(s||i)===null)continue;break}var m=Ju(i);m!==null&&(n.splice(l,3),l-=3,Vs(m,{pending:!0,data:p,method:i.method,action:s},s,p))}}))}function vc(n){function l(H){return eo(H,n)}Hn!==null&&eo(Hn,n),oa!==null&&eo(oa,n),ma!==null&&eo(ma,n),Hu.forEach(l),Ll.forEach(l);for(var i=0;i<an.length;i++){var s=an[i];s.blockedOn===n&&(s.blockedOn=null)}for(;0<an.length&&(i=an[0],i.blockedOn===null);)Ob(i),i.blockedOn===null&&an.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var p=i[s],m=i[s+1],T=p[Sa]||null;if(typeof m=="function")T||Ub(i);else if(T){var O=null;if(m&&m.hasAttribute("formAction")){if(p=m,T=m[Sa]||null)O=T.formAction;else if(pc(p)!==null)continue}else O=T.action;typeof O=="function"?i[s+1]=O:(i.splice(s,3),s-=3),Ub(i)}}}function G0(){function n(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(T){return p=T})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),s||setTimeout(i,20)}function i(){if(!s&&!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 s=!1,p=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function kp(n){this._internalRoot=n}Lp.prototype.render=kp.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(h(409));var i=l.current,s=Qa();zb(i,s,n,l,null,null)},Lp.prototype.unmount=kp.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;zb(n.current,2,null,n,null,null),Is(),l[nu]=null}};function Lp(n){this._internalRoot=n}Lp.prototype.unstable_scheduleHydration=function(n){if(n){var l=Id();n={blockedOn:null,target:n,priority:l};for(var i=0;i<an.length&&l!==0&&l<an[i].priority;i++);an.splice(i,0,n),i===0&&Ob(n)}};var X0=r.version;if(X0!=="19.2.3")throw Error(h(527,X0,"19.2.3"));et.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(h(188)):(n=Object.keys(n).join(","),Error(h(268,n)));return n=A(l),n=n!==null?z(n):null,n=n===null?null:n.stateNode,n};var jb={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var dd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dd.isDisabled&&dd.supportsFiber)try{Al=dd.inject(jb),On=dd}catch{}}return Sm.createRoot=function(n,l){if(!y(n))throw Error(h(299));var i=!1,s="",p=Fh,m=Qg,T=Wh;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(m=l.onCaughtError),l.onRecoverableError!==void 0&&(T=l.onRecoverableError)),l=Np(n,1,!1,null,null,i,s,null,p,m,T,G0),n[nu]=l.current,ic(n),new kp(l)},Sm.hydrateRoot=function(n,l,i){if(!y(n))throw Error(h(299));var s=!1,p="",m=Fh,T=Qg,O=Wh,H=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(T=i.onCaughtError),i.onRecoverableError!==void 0&&(O=i.onRecoverableError),i.formState!==void 0&&(H=i.formState)),l=Np(n,1,!0,l,i??null,s,p,H,m,T,O,G0),l.context=Hr(null),i=l.current,s=Qa(),s=Pd(s),p=zo(s),p.callback=null,sl(i,p,s),i=s,l.current.lanes=i,eu(l,i),Wi(l),n[nu]=l.current,ic(n),new Lp(l)},Sm.version="19.2.3",Sm}var xm={};var Kx;function KR(){return Kx||(Kx=1,process.env.NODE_ENV!=="production"&&(function(){function u(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function r(t,e,a,o){if(a>=e.length)return o;var c=e[a],f=zn(t)?t.slice():se({},t);return f[c]=r(t[c],e,a+1,o),f}function d(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<a.length-1;o++)if(e[o]!==a[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return h(t,e,a,0)}}function h(t,e,a,o){var c=e[o],f=zn(t)?t.slice():se({},t);return o+1===e.length?(f[a[o]]=f[c],zn(f)?f.splice(c,1):delete f[c]):f[c]=h(t[c],e,a,o+1),f}function y(t,e,a){var o=e[a],c=zn(t)?t.slice():se({},t);return a+1===e.length?(zn(c)?c.splice(o,1):delete c[o],c):(c[o]=y(t[o],e,a+1),c)}function b(){return!1}function S(){return null}function x(){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 w(){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 A(){}function z(){}function R(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function M(t,e,a,o){return new p2(t,e,a,o)}function B(t,e){t.context===Tc&&(wp(t.current,2,e,t,null,null),pl())}function nt(t,e){if(lo!==null){var a=e.staleFamilies;e=e.updatedFamilies,Gf(),Av(t.current,e,a),pl()}}function it(t){lo=t}function rt(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function st(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function dt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function ft(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Dt(t){if(st(t)!==t)throw Error("Unable to find node on an unmounted component.")}function St(t){var e=t.alternate;if(!e){if(e=st(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,o=e;;){var c=a.return;if(c===null)break;var f=c.alternate;if(f===null){if(o=c.return,o!==null){a=o;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===a)return Dt(c),t;if(f===o)return Dt(c),e;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=c,o=f;else{for(var g=!1,v=c.child;v;){if(v===a){g=!0,a=c,o=f;break}if(v===o){g=!0,o=c,a=f;break}v=v.sibling}if(!g){for(v=f.child;v;){if(v===a){g=!0,a=f,o=c;break}if(v===o){g=!0,o=f,a=c;break}v=v.sibling}if(!g)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?t:e}function kt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=kt(t),e!==null)return e;t=t.sibling}return null}function wt(t){return t===null||typeof t!="object"?null:(t=Db&&t[Db]||t["@@iterator"],typeof t=="function"?t:null)}function Z(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===sc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case uc:return"Fragment";case od:return"Profiler";case ja:return"StrictMode";case jr:return"Suspense";case Za:return"SuspenseList";case di:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case Uu:return"Portal";case fi:return t.displayName||"Context";case Cp:return(t._context.displayName||"Context")+".Consumer";case rc:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ud:return e=t.displayName||null,e!==null?e:Z(t.type)||"Memo";case pa:e=t._payload,t=t._init;try{return Z(t(e))}catch{}}return null}function bt(t){return typeof t.tag=="number"?K(t):typeof t.name=="string"?t.name:null}function K(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Z(e);case 8:return e===ja?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return K(t.return)}return null}function Tt(t){return{current:t}}function xt(t,e){0>Lo?console.error("Unexpected pop."):(e!==N0[Lo]&&console.error("Unexpected Fiber popped."),t.current=j0[Lo],j0[Lo]=null,N0[Lo]=null,Lo--)}function Nt(t,e,a){Lo++,j0[Lo]=t.current,N0[Lo]=a,t.current=e}function ye(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function De(t,e){Nt(gl,e,t),Nt(cc,t,t),Nt(ju,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?tb(e):Pr;break;default:if(a=e.tagName,e=e.namespaceURI)e=tb(e),e=Ho(e,a);else switch(a){case"svg":e=mm;break;case"math":e=A1;break;default:e=Pr}}a=a.toLowerCase(),a=Zm(null,a),a={context:e,ancestorInfo:a},xt(ju,t),Nt(ju,a,t)}function V(t){xt(ju,t),xt(cc,t),xt(gl,t)}function et(){return ye(ju.current)}function mt(t){t.memoizedState!==null&&Nt(Nu,t,t);var e=ye(ju.current),a=t.type,o=Ho(e.context,a);a=Zm(e.ancestorInfo,a),o={context:o,ancestorInfo:a},e!==o&&(Nt(cc,t,t),Nt(ju,o,t))}function Mt(t){cc.current===t&&(xt(ju,t),xt(cc,t)),Nu.current===t&&(xt(Nu,t),Uy._currentValue=Nd)}function Lt(){}function _(){if(fc===0){Cb=console.log,Nr=console.info,dc=console.warn,H0=console.error,rd=console.group,zp=console.groupCollapsed,Mp=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Lt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}fc++}function F(){if(fc--,fc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},t,{value:Cb}),info:se({},t,{value:Nr}),warn:se({},t,{value:dc}),error:se({},t,{value:H0}),group:se({},t,{value:rd}),groupCollapsed:se({},t,{value:zp}),groupEnd:se({},t,{value:Mp})})}0>fc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function yt(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
|
|
31
31
|
`)&&(t=t.slice(29)),e=t.indexOf(`
|
|
32
32
|
`),e!==-1&&(t=t.slice(e+1)),e=t.indexOf("react_stack_bottom_frame"),e!==-1&&(e=t.lastIndexOf(`
|
|
33
|
-
`,e)),e!==-1)t=t.slice(0,e);else return"";return t}function
|
|
33
|
+
`,e)),e!==-1)t=t.slice(0,e);else return"";return t}function gt(t){if(hc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);hc=e&&e[1]||"",B0=-1<a.stack.indexOf(`
|
|
34
34
|
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
35
|
-
`+
|
|
36
|
-
`),
|
|
37
|
-
`);for(g=f=0;f<D.length&&!D[f].includes("DetermineComponentFrameRoot");)f++;for(;g<
|
|
38
|
-
`+D[f].replace(" at new "," at ");return t.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",t.displayName)),typeof t=="function"&&
|
|
39
|
-
`),j=q===-1?
|
|
40
|
-
`+j;break t}}
|
|
41
|
-
Error generating stack: `+
|
|
42
|
-
`+
|
|
35
|
+
`+hc+t+B0}function Yt(t,e){if(!t||Op)return"";var a=k0.get(t);if(a!==void 0)return a;Op=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=at.H,at.H=null,_();try{var c={DetermineComponentFrameRoot:function(){try{if(e){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(At){var I=At}Reflect.construct(t,[],j)}else{try{j.call()}catch(At){I=At}t.call(j.prototype)}}else{try{throw Error()}catch(At){I=At}(j=t())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(At){if(At&&I&&typeof At.stack=="string")return[At.stack,I.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),v=g[0],E=g[1];if(v&&E){var D=v.split(`
|
|
36
|
+
`),L=E.split(`
|
|
37
|
+
`);for(g=f=0;f<D.length&&!D[f].includes("DetermineComponentFrameRoot");)f++;for(;g<L.length&&!L[g].includes("DetermineComponentFrameRoot");)g++;if(f===D.length||g===L.length)for(f=D.length-1,g=L.length-1;1<=f&&0<=g&&D[f]!==L[g];)g--;for(;1<=f&&0<=g;f--,g--)if(D[f]!==L[g]){if(f!==1||g!==1)do if(f--,g--,0>g||D[f]!==L[g]){var q=`
|
|
38
|
+
`+D[f].replace(" at new "," at ");return t.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",t.displayName)),typeof t=="function"&&k0.set(t,q),q}while(1<=f&&0<=g);break}}}finally{Op=!1,at.H=o,F(),Error.prepareStackTrace=a}return D=(D=t?t.displayName||t.name:"")?gt(D):"",typeof t=="function"&&k0.set(t,D),D}function ee(t,e){switch(t.tag){case 26:case 27:case 5:return gt(t.type);case 16:return gt("Lazy");case 13:return t.child!==e&&e!==null?gt("Suspense Fallback"):gt("Suspense");case 19:return gt("SuspenseList");case 0:case 15:return Yt(t.type,!1);case 11:return Yt(t.type.render,!1);case 1:return Yt(t.type,!0);case 31:return gt("Activity");default:return""}}function Xt(t){try{var e="",a=null;do{e+=ee(t,a);var o=t._debugInfo;if(o)for(var c=o.length-1;0<=c;c--){var f=o[c];if(typeof f.name=="string"){var g=e;t:{var v=f.name,E=f.env,D=f.debugLocation;if(D!=null){var L=yt(D),q=L.lastIndexOf(`
|
|
39
|
+
`),j=q===-1?L:L.slice(q+1);if(j.indexOf(v)!==-1){var I=`
|
|
40
|
+
`+j;break t}}I=gt(v+(E?" ["+E+"]":""))}e=g+I}}a=t,t=t.return}while(t);return e}catch(At){return`
|
|
41
|
+
Error generating stack: `+At.message+`
|
|
42
|
+
`+At.stack}}function We(t){return(t=t?t.displayName||t.name:"")?gt(t):""}function Ce(){if(Ka===null)return null;var t=Ka._debugOwner;return t!=null?bt(t):null}function Wa(){if(Ka===null)return"";var t=Ka;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=gt(t.type);break;case 13:e+=gt("Suspense");break;case 19:e+=gt("SuspenseList");break;case 31:e+=gt("Activity");break;case 30:case 0:case 15:case 1:t._debugOwner||e!==""||(e+=We(t.type));break;case 11:t._debugOwner||e!==""||(e+=We(t.type.render))}for(;t;)if(typeof t.tag=="number"){var a=t;t=a._debugOwner;var o=a._debugStack;if(t&&o){var c=yt(o);c!==""&&(e+=`
|
|
43
43
|
`+c)}}else if(t.debugStack!=null){var f=t.debugStack;(t=t.owner)&&f&&(e+=`
|
|
44
|
-
`+
|
|
44
|
+
`+yt(f))}else break;var g=e}catch(v){g=`
|
|
45
45
|
Error generating stack: `+v.message+`
|
|
46
|
-
`+v.stack}return g}function Dt(t,e,a,o,c,f,g){var v=Ka;Fo(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,o,c,f,g)):e(a,o,c,f,g)}finally{Fo(v)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Fo(t){nt.getCurrentStack=t===null?null:Wa,Pi=!1,Ka=t}function Wo(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function Pa(t){try{return Ti(t),!1}catch{return!0}}function Ti(t){return""+t}function ze(t,e){if(Pa(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,Wo(t)),Ti(t)}function sa(t,e){if(Pa(t))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.",e,Wo(t)),Ti(t)}function Gu(t){if(Pa(t))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.",Wo(t)),Ti(t)}function Kc(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.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{Hr=e.inject(t),Nn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function _t(t){if(typeof L0=="function"&&zb(t),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(Hr,t)}catch(e){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",e))}}function Po(t){return t>>>=0,t===0?32:31-(k0(t)/Np|0)|0}function wi(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&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."),t}}function Xu(t,e,a){var o=t.pendingLanes;if(o===0)return 0;var c=0,f=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var v=o&134217727;return v!==0?(o=v&~f,o!==0?c=wi(o):(g&=v,g!==0?c=wi(g):a||(a=v&~t,a!==0&&(c=wi(a))))):(v=o&~f,v!==0?c=wi(v):g!==0?c=wi(g):a||(a=o&~t,a!==0&&(c=wi(a)))),c===0?0:e!==0&&e!==c&&(e&f)===0&&(f=c&-c,a=e&-e,f>=a||f===32&&(a&4194048)!==0)?e:c}function Rn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Jd(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 os(){var t=hc;return hc<<=1,(hc&62914560)===0&&(hc=4194304),t}function us(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Gl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function $d(t,e,a,o,c,f){var g=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var v=t.entanglements,E=t.expirationTimes,D=t.hiddenUpdates;for(a=g&~a;0<a;){var k=31-ia(a),q=1<<k;v[k]=0,E[k]=-1;var j=D[k];if(j!==null)for(D[k]=null,k=0;k<j.length;k++){var P=j[k];P!==null&&(P.lane&=-536870913)}a&=~q}o!==0&&rs(t,o,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(g&~e))}function rs(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var o=31-ia(e);t.entangledLanes|=e,t.entanglements[o]=t.entanglements[o]|1073741824|a&261930}function Jc(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var o=31-ia(a),c=1<<o;c&e|t[o]&e&&(t[o]|=e),a&=~c}}function Qu(t,e){var a=e&-e;return a=(a&42)!==0?1:Al(a),(a&(t.suspendedLanes|e))!==0?0:a}function Al(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function On(t,e,a){if(to)for(t=t.pendingUpdatersLaneMap;0<a;){var o=31-ia(a),c=1<<o;t[o].add(e),a&=~c}}function Ia(t,e){if(to)for(var a=t.pendingUpdatersLaneMap,o=t.memoizedUpdaters;0<e;){var c=31-ia(e);t=1<<c,c=a[c],0<c.size&&(c.forEach(function(f){var g=f.alternate;g!==null&&o.has(g)||o.add(f)}),c.clear()),e&=~t}}function Vn(t){return t&=-t,Hn<t?oa<t?(t&134217727)!==0?ma:Nu:oa:Hn}function Io(){var t=je.p;return t!==0?t:(t=window.event,t===void 0?ma:wp(t.type))}function C(t,e){var a=je.p;try{return je.p=t,e()}finally{je.p=a}}function X(t){delete t[an],delete t[Na],delete t[Br],delete t[S2],delete t[Mb]}function yt(t){var e=t[an];if(e)return e;for(var a=t.parentNode;a;){if(e=a[ko]||a[an]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=zr(t);t!==null;){if(a=t[an])return a;t=zr(t)}return e}t=a,a=t.parentNode}return null}function xt(t){if(t=t[an]||t[ko]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Ut(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Kt(t){var e=t[cd];return e||(e=t[cd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function jt(t){t[pc]=!0}function he(t,e){ne(t,e),ne(t+"Capture",e)}function ne(t,e){eo[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),eo[t]=e;var a=t.toLowerCase();for(mc[a]=t,t==="onDoubleClick"&&(mc.ondblclick=t),t=0;t<e.length;t++)Ob.add(e[t])}function ca(t,e){_b[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="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`."),e.onChange||e.readOnly||e.disabled||e.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 Rl(t){return yl.call(Hp,t)?!0:yl.call(V0,t)?!1:gc.test(t)?Hp[t]=!0:(V0[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function tu(t,e,a){if(Rl(e)){if(!t.hasAttribute(e)){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 t=t.getAttribute(e),t===""&&a===!0?!0:(ze(a,e),t===""+a?a:t)}}function ss(t,e,a){if(Rl(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var o=e.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(e);return}}ze(a,e),t.setAttribute(e,""+a)}}function $c(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}ze(a,e),t.setAttribute(e,""+a)}}function Ei(t,e,a,o){if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}ze(o,a),t.setAttributeNS(e,a,""+o)}}function tl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return Gu(t),t;default:return""}}function Fd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Lm(t,e,a){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return c.call(this)},set:function(g){Gu(g),a=""+g,f.call(this,g)}}),Object.defineProperty(t,e,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(g){Gu(g),a=""+g},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Wd(t){if(!t._valueTracker){var e=Fd(t)?"checked":"value";t._valueTracker=Lm(t,e,""+t[e])}}function km(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),o="";return t&&(o=Fd(t)?t.checked?"true":"false":t.value),t=o,t!==a?(e.setValue(t),!0):!1}function Xl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ve(t){return t.replace(Bp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Sa(t,e){e.checked===void 0||e.defaultChecked===void 0||Ub||(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",Ce()||"A component",e.type),Ub=!0),e.value===void 0||e.defaultValue===void 0||Y0||(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",Ce()||"A component",e.type),Y0=!0)}function eu(t,e,a,o,c,f,g,v){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(ze(g,"type"),t.type=g):t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+tl(e)):t.value!==""+tl(e)&&(t.value=""+tl(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?Vm(t,g,tl(e)):a!=null?Vm(t,g,tl(a)):o!=null&&t.removeAttribute("value"),c==null&&f!=null&&(t.defaultChecked=!!f),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?(ze(v,"name"),t.name=""+tl(v)):t.removeAttribute("name")}function Pd(t,e,a,o,c,f,g,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(ze(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){Wd(t);return}a=a!=null?""+tl(a):"",e=e!=null?""+tl(e):a,v||e===t.value||(t.value=e),t.defaultValue=e}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=v?t.checked:!!o,t.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(ze(g,"name"),t.name=g),Wd(t)}function Vm(t,e,a){e==="number"&&Xl(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function cv(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?ld.Children.forEach(e.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>."))}):e.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||fd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),fd=!0)}function Ym(){var t=Ce();return t?`
|
|
46
|
+
`+v.stack}return g}function Ct(t,e,a,o,c,f,g){var v=Ka;Wo(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,o,c,f,g)):e(a,o,c,f,g)}finally{Wo(v)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Wo(t){at.getCurrentStack=t===null?null:Wa,Pi=!1,Ka=t}function Po(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function Pa(t){try{return Ti(t),!1}catch{return!0}}function Ti(t){return""+t}function ze(t,e){if(Pa(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,Po(t)),Ti(t)}function sa(t,e){if(Pa(t))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.",e,Po(t)),Ti(t)}function Xu(t){if(Pa(t))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.",Po(t)),Ti(t)}function Jc(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.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{Br=e.inject(t),Nn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function Ut(t){if(typeof Y0=="function"&&Mb(t),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(Br,t)}catch(e){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",e))}}function Io(t){return t>>>=0,t===0?32:31-(q0(t)/Bp|0)|0}function wi(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&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."),t}}function Qu(t,e,a){var o=t.pendingLanes;if(o===0)return 0;var c=0,f=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var v=o&134217727;return v!==0?(o=v&~f,o!==0?c=wi(o):(g&=v,g!==0?c=wi(g):a||(a=v&~t,a!==0&&(c=wi(a))))):(v=o&~f,v!==0?c=wi(v):g!==0?c=wi(g):a||(a=o&~t,a!==0&&(c=wi(a)))),c===0?0:e!==0&&e!==c&&(e&f)===0&&(f=c&-c,a=e&-e,f>=a||f===32&&(a&4194048)!==0)?e:c}function Rn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Fd(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 rs(){var t=mc;return mc<<=1,(mc&62914560)===0&&(mc=4194304),t}function ss(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Gl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Wd(t,e,a,o,c,f){var g=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var v=t.entanglements,E=t.expirationTimes,D=t.hiddenUpdates;for(a=g&~a;0<a;){var L=31-ia(a),q=1<<L;v[L]=0,E[L]=-1;var j=D[L];if(j!==null)for(D[L]=null,L=0;L<j.length;L++){var I=j[L];I!==null&&(I.lane&=-536870913)}a&=~q}o!==0&&cs(t,o,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(g&~e))}function cs(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var o=31-ia(e);t.entangledLanes|=e,t.entanglements[o]=t.entanglements[o]|1073741824|a&261930}function $c(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var o=31-ia(a),c=1<<o;c&e|t[o]&e&&(t[o]|=e),a&=~c}}function Zu(t,e){var a=e&-e;return a=(a&42)!==0?1:Al(a),(a&(t.suspendedLanes|e))!==0?0:a}function Al(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function On(t,e,a){if(to)for(t=t.pendingUpdatersLaneMap;0<a;){var o=31-ia(a),c=1<<o;t[o].add(e),a&=~c}}function Ia(t,e){if(to)for(var a=t.pendingUpdatersLaneMap,o=t.memoizedUpdaters;0<e;){var c=31-ia(e);t=1<<c,c=a[c],0<c.size&&(c.forEach(function(f){var g=f.alternate;g!==null&&o.has(g)||o.add(f)}),c.clear()),e&=~t}}function Vn(t){return t&=-t,Hn<t?oa<t?(t&134217727)!==0?ma:Hu:oa:Hn}function tu(){var t=je.p;return t!==0?t:(t=window.event,t===void 0?ma:Ap(t.type))}function C(t,e){var a=je.p;try{return je.p=t,e()}finally{je.p=a}}function X(t){delete t[an],delete t[Na],delete t[kr],delete t[T2],delete t[Ob]}function vt(t){var e=t[an];if(e)return e;for(var a=t.parentNode;a;){if(e=a[Vo]||a[an]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Mr(t);t!==null;){if(a=t[an])return a;t=Mr(t)}return e}t=a,a=t.parentNode}return null}function Et(t){if(t=t[an]||t[Vo]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function jt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Kt(t){var e=t[fd];return e||(e=t[fd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ht(t){t[gc]=!0}function he(t,e){ne(t,e),ne(t+"Capture",e)}function ne(t,e){eo[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),eo[t]=e;var a=t.toLowerCase();for(yc[a]=t,t==="onDoubleClick"&&(yc.ondblclick=t),t=0;t<e.length;t++)_b.add(e[t])}function ca(t,e){Ub[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="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`."),e.onChange||e.readOnly||e.disabled||e.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 Rl(t){return yl.call(kp,t)?!0:yl.call(G0,t)?!1:vc.test(t)?kp[t]=!0:(G0[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function eu(t,e,a){if(Rl(e)){if(!t.hasAttribute(e)){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 t=t.getAttribute(e),t===""&&a===!0?!0:(ze(a,e),t===""+a?a:t)}}function fs(t,e,a){if(Rl(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var o=e.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(e);return}}ze(a,e),t.setAttribute(e,""+a)}}function Fc(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}ze(a,e),t.setAttribute(e,""+a)}}function Ei(t,e,a,o){if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}ze(o,a),t.setAttributeNS(e,a,""+o)}}function tl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return Xu(t),t;default:return""}}function Pd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ym(t,e,a){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return c.call(this)},set:function(g){Xu(g),a=""+g,f.call(this,g)}}),Object.defineProperty(t,e,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(g){Xu(g),a=""+g},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Id(t){if(!t._valueTracker){var e=Pd(t)?"checked":"value";t._valueTracker=Ym(t,e,""+t[e])}}function qm(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),o="";return t&&(o=Pd(t)?t.checked?"true":"false":t.value),t=o,t!==a?(e.setValue(t),!0):!1}function Xl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ve(t){return t.replace(Lp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Sa(t,e){e.checked===void 0||e.defaultChecked===void 0||jb||(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",Ce()||"A component",e.type),jb=!0),e.value===void 0||e.defaultValue===void 0||X0||(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",Ce()||"A component",e.type),X0=!0)}function nu(t,e,a,o,c,f,g,v){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(ze(g,"type"),t.type=g):t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+tl(e)):t.value!==""+tl(e)&&(t.value=""+tl(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?Gm(t,g,tl(e)):a!=null?Gm(t,g,tl(a)):o!=null&&t.removeAttribute("value"),c==null&&f!=null&&(t.defaultChecked=!!f),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?(ze(v,"name"),t.name=""+tl(v)):t.removeAttribute("name")}function th(t,e,a,o,c,f,g,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(ze(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){Id(t);return}a=a!=null?""+tl(a):"",e=e!=null?""+tl(e):a,v||e===t.value||(t.value=e),t.defaultValue=e}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=v?t.checked:!!o,t.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(ze(g,"name"),t.name=g),Id(t)}function Gm(t,e,a){e==="number"&&Xl(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function fv(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?id.Children.forEach(e.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>."))}):e.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||dd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dd=!0)}function Xm(){var t=Ce();return t?`
|
|
47
47
|
|
|
48
|
-
Check the render method of \``+t+"`.":""}function Ai(t,e,a,o){if(t=t.options,e){e={};for(var c=0;c<a.length;c++)e["$"+a[c]]=!0;for(a=0;a<t.length;a++)c=e.hasOwnProperty("$"+t[a].value),t[a].selected!==c&&(t[a].selected=c),c&&o&&(t[a].defaultSelected=!0)}else{for(a=""+tl(a),e=null,c=0;c<t.length;c++){if(t[c].value===a){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}e!==null||t[c].disabled||(e=t[c])}e!==null&&(e.selected=!0)}}function
|
|
49
|
-
`;if(typeof e=="string"){for(var c=0;c<e.length&&c<t.length&&e.charCodeAt(c)===t.charCodeAt(c);c++);return c>o-8&&10<c&&(t="..."+t.slice(c-8),e="..."+e.slice(c-8))
|
|
50
|
-
`+
|
|
48
|
+
Check the render method of \``+t+"`.":""}function Ai(t,e,a,o){if(t=t.options,e){e={};for(var c=0;c<a.length;c++)e["$"+a[c]]=!0;for(a=0;a<t.length;a++)c=e.hasOwnProperty("$"+t[a].value),t[a].selected!==c&&(t[a].selected=c),c&&o&&(t[a].defaultSelected=!0)}else{for(a=""+tl(a),e=null,c=0;c<t.length;c++){if(t[c].value===a){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}e!==null||t[c].disabled||(e=t[c])}e!==null&&(e.selected=!0)}}function eh(t,e){for(t=0;t<s.length;t++){var a=s[t];if(e[a]!=null){var o=zn(e[a]);e.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Xm()):!e.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Xm())}}e.value===void 0||e.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 Ku(t,e){e.value===void 0||e.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",Ce()||"A component"),p=!0),e.children!=null&&e.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Ju(t,e,a){if(e!=null&&(e=""+tl(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+tl(a):""}function ds(t,e,a,o){if(e==null){if(o!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(zn(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}a=o}a==null&&(a=""),e=a}a=tl(e),t.defaultValue=a,o=t.textContent,o===a&&o!==""&&o!==null&&(t.value=o),Id(t)}function $u(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?$u(t.children[0],e):t}function Ne(t){return" "+" ".repeat(t)}function Fu(t){return"+ "+" ".repeat(t)}function au(t){return"- "+" ".repeat(t)}function lu(t){switch(t.tag){case 26:case 27:case 5:return t.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return t=t.type,t.displayName||t.name||null;case 11:return t=t.type.render,t.displayName||t.name||null;case 1:return t=t.type,t.displayName||t.name||null;default:return null}}function Ri(t,e){return m.test(t)?(t=JSON.stringify(t),t.length>e-2?8>e?'{"..."}':"{"+t.slice(0,e-7)+'..."}':"{"+t+"}"):t.length>e?5>e?'{"..."}':t.slice(0,e-3)+"...":t}function nh(t,e,a){var o=120-2*a;if(e===null)return Fu(a)+Ri(t,o)+`
|
|
49
|
+
`;if(typeof e=="string"){for(var c=0;c<e.length&&c<t.length&&e.charCodeAt(c)===t.charCodeAt(c);c++);return c>o-8&&10<c&&(t="..."+t.slice(c-8),e="..."+e.slice(c-8)),Fu(a)+Ri(t,o)+`
|
|
50
|
+
`+au(a)+Ri(e,o)+`
|
|
51
51
|
`}return Ne(a)+Ri(t,o)+`
|
|
52
|
-
`}function
|
|
52
|
+
`}function ah(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function hs(t,e){switch(typeof t){case"string":return t=JSON.stringify(t),t.length>e?5>e?'"..."':t.slice(0,e-4)+'..."':t;case"object":if(t===null)return"null";if(zn(t))return"[...]";if(t.$$typeof===kl)return(e=Z(t.type))?"<"+e+">":"<...>";var a=ah(t);if(a==="Object"){a="",e-=2;for(var o in t)if(t.hasOwnProperty(o)){var c=JSON.stringify(o);if(c!=='"'+o+'"'&&(o=c),e-=o.length-2,c=hs(t[o],15>e?e:15),e-=c.length,0>e){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+o+":"+c}return"{"+a+"}"}return a;case"function":return(e=t.displayName||t.name)?"function "+e:"function";default:return String(t)}}function ps(t,e){return typeof t!="string"||m.test(t)?"{"+hs(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function ms(t,e,a){var o=120-a.length-t.length,c=[],f;for(f in e)if(e.hasOwnProperty(f)&&f!=="children"){var g=ps(e[f],120-a.length-f.length-1);o-=f.length+g.length+2,c.push(f+"="+g)}return c.length===0?a+"<"+t+`>
|
|
53
53
|
`:0<o?a+"<"+t+" "+c.join(" ")+`>
|
|
54
54
|
`:a+"<"+t+`
|
|
55
55
|
`+a+" "+c.join(`
|
|
56
56
|
`+a+" ")+`
|
|
57
57
|
`+a+`>
|
|
58
|
-
`}function
|
|
59
|
-
`,o+=
|
|
60
|
-
`):o
|
|
61
|
-
`}for(var E in c)c.hasOwnProperty(E)&&(t=
|
|
62
|
-
`);return o}function
|
|
63
|
-
`+
|
|
64
|
-
`:(c
|
|
65
|
-
`,c+=
|
|
66
|
-
`)}else c+=Ne(o+1)+g+"="+
|
|
67
|
-
`}f.forEach(function(q){if(q!=="children"){var j=120-2*(o+1)-q.length-1;c+=
|
|
58
|
+
`}function lh(t,e,a){var o="",c=se({},e),f;for(f in t)if(t.hasOwnProperty(f)){delete c[f];var g=120-2*a-f.length-2,v=hs(t[f],g);e.hasOwnProperty(f)?(g=hs(e[f],g),o+=Fu(a)+f+": "+v+`
|
|
59
|
+
`,o+=au(a)+f+": "+g+`
|
|
60
|
+
`):o+=Fu(a)+f+": "+v+`
|
|
61
|
+
`}for(var E in c)c.hasOwnProperty(E)&&(t=hs(c[E],120-2*a-E.length-2),o+=au(a)+E+": "+t+`
|
|
62
|
+
`);return o}function vo(t,e,a,o){var c="",f=new Map;for(D in a)a.hasOwnProperty(D)&&f.set(D.toLowerCase(),D);if(f.size===1&&f.has("children"))c+=ms(t,e,Ne(o));else{for(var g in e)if(e.hasOwnProperty(g)&&g!=="children"){var v=120-2*(o+1)-g.length-1,E=f.get(g.toLowerCase());if(E!==void 0){f.delete(g.toLowerCase());var D=e[g];E=a[E];var L=ps(D,v);v=ps(E,v),typeof D=="object"&&D!==null&&typeof E=="object"&&E!==null&&ah(D)==="Object"&&ah(E)==="Object"&&(2<Object.keys(D).length||2<Object.keys(E).length||-1<L.indexOf("...")||-1<v.indexOf("..."))?c+=Ne(o+1)+g+`={{
|
|
63
|
+
`+lh(D,E,o+2)+Ne(o+1)+`}}
|
|
64
|
+
`:(c+=Fu(o+1)+g+"="+L+`
|
|
65
|
+
`,c+=au(o+1)+g+"="+v+`
|
|
66
|
+
`)}else c+=Ne(o+1)+g+"="+ps(e[g],v)+`
|
|
67
|
+
`}f.forEach(function(q){if(q!=="children"){var j=120-2*(o+1)-q.length-1;c+=au(o+1)+q+"="+ps(a[q],j)+`
|
|
68
68
|
`}}),c=c===""?Ne(o)+"<"+t+`>
|
|
69
69
|
`:Ne(o)+"<"+t+`
|
|
70
70
|
`+c+Ne(o)+`>
|
|
71
|
-
`}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(f="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(f=""+e),c+=
|
|
72
|
-
`}function
|
|
73
|
-
`+
|
|
74
|
-
`,e++)}if(o="",c=t.fiber.pendingProps,t.fiber.tag===6)o=
|
|
75
|
-
`,e++}else t.serverProps===null?(o=
|
|
76
|
-
`),c=t.serverTail,t.serverProps===null&&e--,t=0;t<c.length;t++)f=c[t],D=typeof f=="string"?D+(
|
|
77
|
-
`):D+
|
|
78
|
-
|
|
79
|
-
`+
|
|
71
|
+
`}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(f="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(f=""+e),c+=nh(f,""+t,o+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(c=t==null?c+nh(""+e,null,o+1):c+nh(""+e,void 0,o+1)),c}function el(t,e){var a=lu(t);if(a===null){for(a="",t=t.child;t;)a+=el(t,e),t=t.sibling;return a}return Ne(e)+"<"+a+`>
|
|
72
|
+
`}function ih(t,e){var a=$u(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return Ne(e)+`...
|
|
73
|
+
`+ih(a,e+1);a="";var o=t.fiber._debugInfo;if(o)for(var c=0;c<o.length;c++){var f=o[c].name;typeof f=="string"&&(a+=Ne(e)+"<"+f+`>
|
|
74
|
+
`,e++)}if(o="",c=t.fiber.pendingProps,t.fiber.tag===6)o=nh(c,t.serverProps,e),e++;else if(f=lu(t.fiber),f!==null)if(t.serverProps===void 0){o=e;var g=120-2*o-f.length-2,v="";for(D in c)if(c.hasOwnProperty(D)&&D!=="children"){var E=ps(c[D],15);if(g-=D.length+E.length+2,0>g){v+=" ...";break}v+=" "+D+"="+E}o=Ne(o)+"<"+f+v+`>
|
|
75
|
+
`,e++}else t.serverProps===null?(o=ms(f,c,Fu(e)),e++):typeof t.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=vo(f,c,t.serverProps,e),e++);var D="";for(c=t.fiber.child,f=0;c&&f<t.children.length;)g=t.children[f],g.fiber===c?(D+=ih(g,e),f++):D+=el(c,e),c=c.sibling;for(c&&0<t.children.length&&(D+=Ne(e)+`...
|
|
76
|
+
`),c=t.serverTail,t.serverProps===null&&e--,t=0;t<c.length;t++)f=c[t],D=typeof f=="string"?D+(au(e)+Ri(f,120-2*e)+`
|
|
77
|
+
`):D+ms(f.type,f.props,au(e));return a+o+D}function Qm(t){try{return`
|
|
78
|
+
|
|
79
|
+
`+ih(t,0)}catch{return""}}function oh(t,e,a){for(var o=e,c=null,f=0;o;)o===t&&(f=0),c={fiber:o,children:c!==null?[c]:[],serverProps:o===e?a:o===t?null:void 0,serverTail:[],distanceFromLeaf:f},f++,o=o.return;return c!==null?Qm(c).replaceAll(/^[+-]/gm,">"):""}function Zm(t,e){var a=se({},t||ot),o={tag:e};return O.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),H.indexOf(e)!==-1&&(a.pTagInButtonScope=null),T.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,e==="form"&&(a.formTag=o),e==="a"&&(a.aTagInScope=o),e==="button"&&(a.buttonTagInScope=o),e==="nobr"&&(a.nobrTagInScope=o),e==="p"&&(a.pTagInButtonScope=o),e==="li"&&(a.listItemTagAutoclosing=o),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=o),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=o),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Wc(t,e,a){switch(e){case"select":return t==="hr"||t==="option"||t==="optgroup"||t==="script"||t==="template"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":if(a)break;return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":if(!a)return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e!=="h1"&&e!=="h2"&&e!=="h3"&&e!=="h4"&&e!=="h5"&&e!=="h6";case"rp":case"rt":return W.indexOf(e)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return e==null;case"head":return a||e===null;case"html":return a&&e==="#document"||e===null;case"body":return a&&(e==="#document"||e==="html")||e===null}return!0}function r2(t,e){switch(t){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 e.pTagInButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"button":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.nobrTagInScope}return null}function nl(t,e){for(;t;){switch(t.tag){case 5:case 26:case 27:if(t.type===e)return t}t=t.return}return null}function Pc(t,e){e=e||ot;var a=e.current;if(e=(a=Wc(t,a&&a.tag,e.implicitRootScope)?null:a)?null:r2(t,e),e=a||e,!e)return!0;var o=e.tag;if(e=String(!!a)+"|"+t+"|"+o,ht[e])return!1;ht[e]=!0;var c=(e=Ka)?nl(e.return,o):null,f=e!==null&&c!==null?oh(c,e,null):"",g="<"+t+">";return a?(a="",o==="table"&&t==="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
|
|
80
80
|
This will cause a hydration error.%s`,g,o,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
81
|
-
This will cause a hydration error.%s`,g,o,f),e&&(t=e.return,c===null||t===null||c===t&&t._debugOwner===e._debugOwner||
|
|
82
|
-
See this log for the ancestor stack trace.`,o,g)})),!1}function
|
|
81
|
+
This will cause a hydration error.%s`,g,o,f),e&&(t=e.return,c===null||t===null||c===t&&t._debugOwner===e._debugOwner||Ct(c,function(){console.error(`<%s> cannot contain a nested %s.
|
|
82
|
+
See this log for the ancestor stack trace.`,o,g)})),!1}function Ic(t,e,a){if(a||Wc("#text",e,!1))return!0;if(a="#text|"+e,ht[a])return!1;ht[a]=!0;var o=(a=Ka)?nl(a,e):null;return a=a!==null&&o!==null?oh(o,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
83
83
|
This will cause a hydration error.%s`,e,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.
|
|
84
|
-
This will cause a hydration error.%s`,e,a),!1}function Fu(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function ps(t){return t.replace(Q,function(e,a){return a.toUpperCase()})}function Xm(t,e,a){var o=e.indexOf("--")===0;o||(-1<e.indexOf("-")?J.hasOwnProperty(e)&&J[e]||(J[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,ps(e.replace(Xe,"ms-")))):Zt.test(e)?J.hasOwnProperty(e)&&J[e]||(J[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!Y.test(a)||ct.hasOwnProperty(a)&&ct[a]||(ct[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(Y,""))),typeof a=="number"&&(isNaN(a)?Yt||(Yt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||Ae||(Ae=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?o?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":o?t.setProperty(e,a):typeof a!="number"||a===0||Nt.has(e)?e==="float"?t.cssFloat=a:(sa(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function Qm(t,e,a){if(e!=null&&typeof e!="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(e&&Object.freeze(e),t=t.style,a!=null){if(e){var o={};if(a){for(var c in a)if(a.hasOwnProperty(c)&&!e.hasOwnProperty(c))for(var f=W[c]||[c],g=0;g<f.length;g++)o[f[g]]=c}for(var v in e)if(e.hasOwnProperty(v)&&(!a||a[v]!==e[v]))for(c=W[v]||[v],f=0;f<c.length;f++)o[c[f]]=v;v={};for(var E in e)for(c=W[E]||[E],f=0;f<c.length;f++)v[c[f]]=E;E={};for(var D in o)if(c=o[D],(f=v[D])&&c!==f&&(g=c+","+f,!E[g])){E[g]=!0,g=console;var k=e[c];g.error.call(g,"%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.",k==null||typeof k=="boolean"||k===""?"Removing":"Updating",c,f)}}for(var q in a)!a.hasOwnProperty(q)||e!=null&&e.hasOwnProperty(q)||(q.indexOf("--")===0?t.setProperty(q,""):q==="float"?t.cssFloat="":t[q]="");for(var j in e)D=e[j],e.hasOwnProperty(j)&&a[j]!==D&&Xm(t,j,D)}else for(o in e)e.hasOwnProperty(o)&&Xm(t,o,e[o])}function Di(t){if(t.indexOf("-")===-1)return!1;switch(t){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 fv(t){return Oe.get(t)||t}function dv(t,e){if(yl.call(Lp,e)&&Lp[e])return!0;if(PO.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=jb.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Lp[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Lp[e]=!0}if(WO.test(e)){if(t=e.toLowerCase(),t=jb.hasOwnProperty(t)?t:null,t==null)return Lp[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Lp[e]=!0)}return!0}function hv(t,e){var a=[],o;for(o in e)dv(t,o)||a.push(o);e=a.map(function(c){return"`"+c+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function Zm(t,e,a,o){if(yl.call(vl,e)&&vl[e])return!0;var c=e.toLowerCase();if(c==="onfocusin"||c==="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."),vl[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(o!=null){if(t=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(e))return!0;if(o=t.hasOwnProperty(c)?t[c]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,o),vl[e]=!0;if(EA.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),vl[e]=!0}else if(EA.test(e))return IO.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),vl[e]=!0;if(t_.test(e)||e_.test(e))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),vl[e]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),vl[e]=!0;if(c==="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),vl[e]=!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.",e),vl[e]=!0;if(hi.hasOwnProperty(c)){if(c=hi[c],c!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,c),vl[e]=!0}else if(e!==c)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.",e,c),vl[e]=!0;switch(e){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(e){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 c=e.toLowerCase().slice(0,5),c==="data-"||c==="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,e,e,a,e):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,e,e,a,e,e,e),vl[e]=!0)}case"function":case"symbol":return vl[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){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,e,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".',e,a),vl[e]=!0}}return!0}function u2(t,e,a){var o=[],c;for(c in e)Zm(t,c,e[c],a)||o.push(c);e=o.map(function(f){return"`"+f+"`"}).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 ",e,t):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 ",e,t)}function Ic(t){return n_.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Dl(){}function Ql(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function ih(t){var e=xt(t);if(e&&(t=e.stateNode)){var a=t[Na]||null;t:switch(t=e.stateNode,e.type){case"input":if(eu(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(ze(e,"name"),a=a.querySelectorAll('input[name="'+Ve(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var o=a[e];if(o!==t&&o.form===t.form){var c=o[Na]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");eu(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(e=0;e<a.length;e++)o=a[e],o.form===t.form&&km(o)}break t;case"textarea":Ku(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Ai(t,!!a.multiple,e,!1)}}}function oh(t,e,a){if(x2)return t(e,a);x2=!0;try{var o=t(e);return o}finally{if(x2=!1,(kp!==null||Vp!==null)&&(pl(),kp&&(e=kp,t=Vp,Vp=kp=null,ih(e),t)))for(e=0;e<t.length;e++)ih(t[e])}}function Ci(t,e){var a=t.stateNode;if(a===null)return null;var o=a[Na]||null;if(o===null)return null;a=o[e];t:switch(e){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)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Wu(){if(Nb)return Nb;var t,e=w2,a=e.length,o,c="value"in yc?yc.value:yc.textContent,f=c.length;for(t=0;t<a&&e[t]===c[t];t++);var g=a-t;for(o=1;o<=g&&e[a-o]===c[f-o];o++);return Nb=c.slice(t,1<o?1-o:void 0)}function tf(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ms(){return!0}function Km(){return!1}function Yn(t){function e(a,o,c,f,g){this._reactName=a,this._targetInst=c,this.type=o,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(a=t[v],this[v]=a?a(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?ms:Km,this.isPropagationStopped=Km,this}return se(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=ms)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ms)},persist:function(){},isPersistent:ms}),e}function vo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=m_[t])?!!e[t]:!1}function ef(){return vo}function gs(t,e){switch(t){case"keyup":return D_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==CA;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bo(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function Jm(t,e){switch(t){case"compositionend":return bo(e);case"keypress":return e.which!==MA?null:(_A=!0,OA);case"textInput":return t=e.data,t===OA&&_A?null:t;default:return null}}function uh(t,e){if(Yp)return t==="compositionend"||!D2&&gs(t,e)?(t=Wu(),Nb=w2=yc=null,Yp=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return zA&&e.locale!=="ko"?null:e.data;default:return null}}function $m(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!z_[t.type]:e==="textarea"}function rh(t){if(!Hu)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function nf(t,e,a,o){kp?Vp?Vp.push(o):Vp=[o]:kp=o,e=ri(e,"onChange"),0<e.length&&(a=new Hb("onChange","change",null,a,o),t.push({event:a,listeners:e}))}function pv(t){Le(t,0)}function aa(t){var e=Ut(t);if(km(e))return t}function lu(t,e){if(t==="change")return e}function af(){K0&&(K0.detachEvent("onpropertychange",ys),J0=K0=null)}function ys(t){if(t.propertyName==="value"&&aa(J0)){var e=[];nf(e,J0,t,Ql(t)),oh(pv,e)}}function r2(t,e,a){t==="focusin"?(af(),K0=e,J0=a,K0.attachEvent("onpropertychange",ys)):t==="focusout"&&af()}function Fm(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return aa(J0)}function Wm(t,e){if(t==="click")return aa(e)}function lf(t,e){if(t==="input"||t==="change")return aa(e)}function sh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function vs(t,e){if(bl(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),o=Object.keys(e);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var c=a[o];if(!yl.call(e,c)||!bl(t[c],e[c]))return!1}return!0}function mv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gv(t,e){var a=mv(t);t=0;for(var o;a;){if(a.nodeType===3){if(o=t+a.textContent.length,t<=e&&o>=e)return{node:a,offset:e-t};t=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=mv(a)}}function yv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?yv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ch(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Xl(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Xl(t.document)}return e}function Pm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function vv(t,e,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;z2||qp==null||qp!==Xl(o)||(o=qp,"selectionStart"in o&&Pm(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}),$0&&vs($0,o)||($0=o,o=ri(C2,"onSelect"),0<o.length&&(e=new Hb("onSelect","select",null,e,a),t.push({event:e,listeners:o}),e.target=qp)))}function Pu(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function Iu(t){if(M2[t])return M2[t];if(!Gp[t])return t;var e=Gp[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in jA)return M2[t]=e[a];return t}function Zl(t,e){kA.set(t,e),he(e,[t])}function bv(t){for(var e=Lb,a=0;a<t.length;a++){var o=t[a];if(typeof o=="object"&&o!==null)if(zn(o)&&o.length===2&&typeof o[0]=="string"){if(e!==Lb&&e!==N2)return U2;e=N2}else return U2;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||e!==Lb&&e!==j2)return U2;e=j2}}return e}function Im(t,e,a,o){for(var c in t)yl.call(t,c)&&c[0]!=="_"&&zi(c,t[c],e,a,o)}function zi(t,e,a,o,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Ll){var f=Z(e.type)||"…",g=e.key;e=e.props;var v=Object.keys(e),E=v.length;if(g==null&&E===0){e="<"+f+" />";break}if(3>o||E===1&&v[0]==="children"&&g==null){e="<"+f+" … />";break}a.push([c+" ".repeat(o)+t,"<"+f]),g!==null&&zi("key",g,a,o+1,c),t=!1;for(var D in e)D==="children"?e.children!=null&&(!zn(e.children)||0<e.children.length)&&(t=!0):yl.call(e,D)&&D[0]!=="_"&&zi(D,e[D],a,o+1,c);a.push(["",t?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(e),f=f.slice(8,f.length-1),f==="Array"){if(D=bv(e),D===j2||D===Lb){e=JSON.stringify(e);break}else if(D===N2){for(a.push([c+" ".repeat(o)+t,""]),t=0;t<e.length;t++)f=e[t],zi(f[0],f[1],a,o+1,c);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,zi(t,e.value,a,o,c),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(f=a.length,zi(t,e.reason,a,o,c),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push([" ".repeat(o)+t,"Promise"]);return}f==="Object"&&(D=Object.getPrototypeOf(e))&&typeof D.constructor=="function"&&(f=D.constructor.name),a.push([c+" ".repeat(o)+t,f==="Object"?3>o?"":"…":f]),3>o&&Im(e,a,o+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===H_?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([c+" ".repeat(o)+t,e])}function Sv(t,e,a,o){var c=!0;for(g in t)g in e||(a.push([kb+" ".repeat(o)+g,"…"]),c=!1);for(var f in e)if(f in t){var g=t[f],v=e[f];if(g!==v){if(o===0&&f==="children")c=" ".repeat(o)+f,a.push([kb+c,"…"],[Vb+c,"…"]);else{if(!(3<=o)){if(typeof g=="object"&&typeof v=="object"&&g!==null&&v!==null&&g.$$typeof===v.$$typeof)if(v.$$typeof===Ll){if(g.type===v.type&&g.key===v.key){g=Z(v.type)||"…",c=" ".repeat(o)+f,g="<"+g+" … />",a.push([kb+c,g],[Vb+c,g]),c=!1;continue}}else{var E=Object.prototype.toString.call(g),D=Object.prototype.toString.call(v);if(E===D&&(D==="[object Object]"||D==="[object Array]")){E=[qA+" ".repeat(o)+f,D==="[object Array]"?"Array":""],a.push(E),D=a.length,Sv(g,v,a,o+1)?D===a.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):c=!1;continue}}else if(typeof g=="function"&&typeof v=="function"&&g.name===v.name&&g.length===v.length&&(E=Function.prototype.toString.call(g),D=Function.prototype.toString.call(v),E===D)){g=v.name===""?"() => {}":v.name+"() {}",a.push([qA+" ".repeat(o)+f,g+" Referentially unequal function closure. Consider memoization."]);continue}}zi(f,g,a,o,kb),zi(f,v,a,o,Vb)}c=!1}}else a.push([Vb+" ".repeat(o)+f,"…"]),c=!1;return c}function Kl(t){Ee=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Cl(t,e,a,o){ln&&(bc.start=e,bc.end=a,Lr.color="warning",Lr.tooltipText=o,Lr.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,o,bc)):performance.measure(o,bc))}function fh(t,e,a){Cl(t,e,a,"Reconnect")}function dh(t,e,a,o,c){var f=K(t);if(f!==null&&ln){var g=t.alternate,v=t.actualDuration;if(g===null||g.child!==t.child)for(var E=t.child;E!==null;E=E.sibling)v-=E.actualDuration;o=.5>v?o?"tertiary-light":"primary-light":10>v?o?"tertiary":"primary":100>v?o?"tertiary-dark":"primary-dark":"error";var D=t.memoizedProps;v=t._debugTask,D!==null&&g!==null&&g.memoizedProps!==D?(E=[B_],D=Sv(g.memoizedProps,D,E,0),1<E.length&&(D&&!vc&&(g.lanes&c)===0&&100<t.actualDuration?(vc=!0,E[0]=L_,Lr.color="warning",Lr.tooltipText=GA):(Lr.color=o,Lr.tooltipText=f),Lr.properties=E,bc.start=e,bc.end=a,v!=null?v.run(performance.measure.bind(performance,""+f,bc)):performance.measure(""+f,bc))):v!=null?v.run(console.timeStamp.bind(console,f,e,a,no,void 0,o)):console.timeStamp(f,e,a,no,void 0,o)}}function tg(t,e,a,o){if(ln){var c=K(t);if(c!==null){for(var f=null,g=[],v=0;v<o.length;v++){var E=o[v];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,g.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}t.key!==null&&zi("key",t.key,g,0,""),t.memoizedProps!==null&&Im(t.memoizedProps,g,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:no,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:g}}},f?f.run(performance.measure.bind(performance,""+c,t)):performance.measure(""+c,t)}}}function Jl(t,e,a,o,c){if(c!==null){if(ln){var f=K(t);if(f!==null){o=[];for(var g=0;g<c.length;g++){var v=c[g].value;o.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}t.key!==null&&zi("key",t.key,o,0,""),t.memoizedProps!==null&&Im(t.memoizedProps,o,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:no,tooltipText:"A lifecycle or effect errored",properties:o}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,""+f,e)):performance.measure(""+f,e)}}}else f=K(t),f!==null&&ln&&(c=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,f,e,a,no,void 0,c)):console.timeStamp(f,e,a,no,void 0,c))}function s2(t,e,a,o){if(ln&&!(e<=t)){var c=(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,t,e,Ee,Te,c)):console.timeStamp(a,t,e,Ee,Te,c)}}function xv(t,e,a,o){!ln||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",t,e,Ee,Te,a)):console.timeStamp("Prewarm",t,e,Ee,Te,a))}function Tv(t,e,a,o){!ln||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",t,e,Ee,Te,a)):console.timeStamp("Suspended",t,e,Ee,Te,a))}function c2(t,e,a,o,c,f){if(ln&&!(e<=t)){a=[];for(var g=0;g<o.length;g++){var v=o[g].value;a.push(["Recoverable Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:Ee,trackGroup:Te,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function eg(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,"Errored",t,e,Ee,Te,"error")):console.timeStamp("Errored",t,e,Ee,Te,"error"))}function f2(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a,t,e,Ee,Te,"secondary-light")):console.timeStamp(a,t,e,Ee,Te,"secondary-light"))}function wv(t,e,a,o,c){if(ln&&!(e<=t)){for(var f=[],g=0;g<a.length;g++){var v=a[g].value;f.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}t={start:t,end:e,detail:{devtools:{color:"error",track:Ee,trackGroup:Te,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},c?c.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function ng(t,e,a){!ln||e<=t||console.timeStamp("Animating",t,e,Ee,Te,"secondary-dark")}function hh(){for(var t=Xp,e=H2=Xp=0;e<t;){var a=ao[e];ao[e++]=null;var o=ao[e];ao[e++]=null;var c=ao[e];ao[e++]=null;var f=ao[e];if(ao[e++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}f!==0&&ag(a,c,f)}}function bs(t,e,a,o){ao[Xp++]=t,ao[Xp++]=e,ao[Xp++]=a,ao[Xp++]=o,H2|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function tr(t,e,a,o){return bs(t,e,a,o),of(t)}function fa(t,e){return bs(t,null,null,e),of(t)}function ag(t,e,a){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a);for(var c=!1,f=t.return;f!==null;)f.childLanes|=a,o=f.alternate,o!==null&&(o.childLanes|=a),f.tag===22&&(t=f.stateNode,t===null||t._visibility&F0||(c=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,c&&e!==null&&(c=31-ia(a),t=f.hiddenUpdates,o=t[c],o===null?t[c]=[e]:o.push(e),e.lane=a|536870912),f):null}function of(t){if(wy>t4)throw Cd=wy=0,Ey=mx=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.");Cd>e4&&(Cd=0,Ey=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.")),t.alternate===null&&(t.flags&4098)!==0&&Bl(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Bl(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function iu(t){if(lo===null)return t;var e=lo(t);return e===void 0?t:e.current}function ph(t){if(lo===null)return t;var e=lo(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=iu(t.render),t.render!==e)?(e={$$typeof:oc,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function lg(t,e){if(lo===null)return!1;var a=t.elementType;e=e.type;var o=!1,c=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(o=!0);break;case 0:(typeof e=="function"||c===pa)&&(o=!0);break;case 11:(c===oc||c===pa)&&(o=!0);break;case 14:case 15:(c===od||c===pa)&&(o=!0);break;default:return!1}return!!(o&&(t=lo(a),t!==void 0&&t===lo(e)))}function er(t){lo!==null&&typeof WeakSet=="function"&&(Qp===null&&(Qp=new WeakSet),Qp.add(t))}function Ev(t,e,a){do{var o=t,c=o.alternate,f=o.child,g=o.sibling,v=o.tag;o=o.type;var E=null;switch(v){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if(lo===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,E!==null&&(E=lo(E),E!==void 0&&(a.has(E)?o=!0:e.has(E)&&(v===1?o=!0:D=!0))),Qp!==null&&(Qp.has(t)||c!==null&&Qp.has(c))&&(o=!0),o&&(t._debugNeedsRemount=!0),(o||D)&&(c=fa(t,2),c!==null&&Wt(c,t,2)),f===null||o||Ev(f,e,a),g===null)break;t=g}while(!0)}function d2(t,e,a,o){this.tag=t,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=e,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,XA||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ig(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mi(t,e){var a=t.alternate;switch(a===null?(a=z(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=iu(t.type);break;case 1:a.type=iu(t.type);break;case 11:a.type=ph(t.type)}return a}function og(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function nr(t,e,a,o,c,f){var g=0,v=t;if(typeof t=="function")ig(t)&&(g=1),v=iu(v);else if(typeof t=="string")g=et(),g=bb(t,a,g)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case di:return e=z(31,a,e,c),e.elementType=di,e.lanes=f,e;case ic:return ar(a.children,c,f,e);case ja:g=8,c|=Ja,c|=Vo;break;case id:return t=a,o=c,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=z(12,t,e,o|ce),e.elementType=id,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Ur:return e=z(13,a,e,c),e.elementType=Ur,e.lanes=f,e;case Za:return e=z(19,a,e,c),e.elementType=Za,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case fi:g=10;break t;case Rp:g=9;break t;case oc:g=11,v=ph(v);break t;case od:g=14;break t;case pa:g=16,v=null;break t}v="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null?a="null":zn(t)?a="array":t!==void 0&&t.$$typeof===Ll?(a="<"+(Z(t.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(g=o?vt(o):null)&&(v+=`
|
|
84
|
+
This will cause a hydration error.%s`,e,a),!1}function Wu(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function gs(t){return t.replace(Q,function(e,a){return a.toUpperCase()})}function Km(t,e,a){var o=e.indexOf("--")===0;o||(-1<e.indexOf("-")?J.hasOwnProperty(e)&&J[e]||(J[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,gs(e.replace(Xe,"ms-")))):Zt.test(e)?J.hasOwnProperty(e)&&J[e]||(J[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!Y.test(a)||ct.hasOwnProperty(a)&&ct[a]||(ct[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(Y,""))),typeof a=="number"&&(isNaN(a)?qt||(qt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||Ae||(Ae=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?o?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":o?t.setProperty(e,a):typeof a!="number"||a===0||Bt.has(e)?e==="float"?t.cssFloat=a:(sa(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function Jm(t,e,a){if(e!=null&&typeof e!="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(e&&Object.freeze(e),t=t.style,a!=null){if(e){var o={};if(a){for(var c in a)if(a.hasOwnProperty(c)&&!e.hasOwnProperty(c))for(var f=P[c]||[c],g=0;g<f.length;g++)o[f[g]]=c}for(var v in e)if(e.hasOwnProperty(v)&&(!a||a[v]!==e[v]))for(c=P[v]||[v],f=0;f<c.length;f++)o[c[f]]=v;v={};for(var E in e)for(c=P[E]||[E],f=0;f<c.length;f++)v[c[f]]=E;E={};for(var D in o)if(c=o[D],(f=v[D])&&c!==f&&(g=c+","+f,!E[g])){E[g]=!0,g=console;var L=e[c];g.error.call(g,"%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.",L==null||typeof L=="boolean"||L===""?"Removing":"Updating",c,f)}}for(var q in a)!a.hasOwnProperty(q)||e!=null&&e.hasOwnProperty(q)||(q.indexOf("--")===0?t.setProperty(q,""):q==="float"?t.cssFloat="":t[q]="");for(var j in e)D=e[j],e.hasOwnProperty(j)&&a[j]!==D&&Km(t,j,D)}else for(o in e)e.hasOwnProperty(o)&&Km(t,o,e[o])}function Di(t){if(t.indexOf("-")===-1)return!1;switch(t){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 dv(t){return Oe.get(t)||t}function hv(t,e){if(yl.call(Vp,e)&&Vp[e])return!0;if(a_.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=Nb.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Vp[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Vp[e]=!0}if(n_.test(e)){if(t=e.toLowerCase(),t=Nb.hasOwnProperty(t)?t:null,t==null)return Vp[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Vp[e]=!0)}return!0}function pv(t,e){var a=[],o;for(o in e)hv(t,o)||a.push(o);e=a.map(function(c){return"`"+c+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function $m(t,e,a,o){if(yl.call(vl,e)&&vl[e])return!0;var c=e.toLowerCase();if(c==="onfocusin"||c==="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."),vl[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(o!=null){if(t=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(e))return!0;if(o=t.hasOwnProperty(c)?t[c]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,o),vl[e]=!0;if(DA.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),vl[e]=!0}else if(DA.test(e))return l_.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),vl[e]=!0;if(i_.test(e)||o_.test(e))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),vl[e]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),vl[e]=!0;if(c==="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),vl[e]=!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.",e),vl[e]=!0;if(hi.hasOwnProperty(c)){if(c=hi[c],c!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,c),vl[e]=!0}else if(e!==c)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.",e,c),vl[e]=!0;switch(e){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(e){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 c=e.toLowerCase().slice(0,5),c==="data-"||c==="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,e,e,a,e):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,e,e,a,e,e,e),vl[e]=!0)}case"function":case"symbol":return vl[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){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,e,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".',e,a),vl[e]=!0}}return!0}function s2(t,e,a){var o=[],c;for(c in e)$m(t,c,e[c],a)||o.push(c);e=o.map(function(f){return"`"+f+"`"}).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 ",e,t):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 ",e,t)}function tf(t){return u_.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Dl(){}function Ql(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function uh(t){var e=Et(t);if(e&&(t=e.stateNode)){var a=t[Na]||null;t:switch(t=e.stateNode,e.type){case"input":if(nu(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(ze(e,"name"),a=a.querySelectorAll('input[name="'+Ve(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var o=a[e];if(o!==t&&o.form===t.form){var c=o[Na]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");nu(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(e=0;e<a.length;e++)o=a[e],o.form===t.form&&qm(o)}break t;case"textarea":Ju(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Ai(t,!!a.multiple,e,!1)}}}function rh(t,e,a){if(w2)return t(e,a);w2=!0;try{var o=t(e);return o}finally{if(w2=!1,(Yp!==null||qp!==null)&&(pl(),Yp&&(e=Yp,t=qp,qp=Yp=null,uh(e),t)))for(e=0;e<t.length;e++)uh(t[e])}}function Ci(t,e){var a=t.stateNode;if(a===null)return null;var o=a[Na]||null;if(o===null)return null;a=o[e];t:switch(e){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)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Pu(){if(Hb)return Hb;var t,e=A2,a=e.length,o,c="value"in bc?bc.value:bc.textContent,f=c.length;for(t=0;t<a&&e[t]===c[t];t++);var g=a-t;for(o=1;o<=g&&e[a-o]===c[f-o];o++);return Hb=c.slice(t,1<o?1-o:void 0)}function ef(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ys(){return!0}function Fm(){return!1}function Yn(t){function e(a,o,c,f,g){this._reactName=a,this._targetInst=c,this.type=o,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(a=t[v],this[v]=a?a(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?ys:Fm,this.isPropagationStopped=Fm,this}return se(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=ys)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ys)},persist:function(){},isPersistent:ys}),e}function bo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=S_[t])?!!e[t]:!1}function nf(){return bo}function vs(t,e){switch(t){case"keyup":return __.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==OA;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function So(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function Wm(t,e){switch(t){case"compositionend":return So(e);case"keypress":return e.which!==UA?null:(NA=!0,jA);case"textInput":return t=e.data,t===jA&&NA?null:t;default:return null}}function sh(t,e){if(Gp)return t==="compositionend"||!z2&&vs(t,e)?(t=Pu(),Hb=A2=bc=null,Gp=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return _A&&e.locale!=="ko"?null:e.data;default:return null}}function Pm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!j_[t.type]:e==="textarea"}function ch(t){if(!Bu)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function af(t,e,a,o){Yp?qp?qp.push(o):qp=[o]:Yp=o,e=ri(e,"onChange"),0<e.length&&(a=new Bb("onChange","change",null,a,o),t.push({event:a,listeners:e}))}function mv(t){ke(t,0)}function aa(t){var e=jt(t);if(qm(e))return t}function iu(t,e){if(t==="change")return e}function lf(){F0&&(F0.detachEvent("onpropertychange",bs),W0=F0=null)}function bs(t){if(t.propertyName==="value"&&aa(W0)){var e=[];af(e,W0,t,Ql(t)),rh(mv,e)}}function c2(t,e,a){t==="focusin"?(lf(),F0=e,W0=a,F0.attachEvent("onpropertychange",bs)):t==="focusout"&&lf()}function Im(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return aa(W0)}function tg(t,e){if(t==="click")return aa(e)}function of(t,e){if(t==="input"||t==="change")return aa(e)}function fh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function Ss(t,e){if(bl(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),o=Object.keys(e);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var c=a[o];if(!yl.call(e,c)||!bl(t[c],e[c]))return!1}return!0}function gv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function yv(t,e){var a=gv(t);t=0;for(var o;a;){if(a.nodeType===3){if(o=t+a.textContent.length,t<=e&&o>=e)return{node:a,offset:e-t};t=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=gv(a)}}function vv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?vv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function dh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Xl(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Xl(t.document)}return e}function eg(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function bv(t,e,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;O2||Xp==null||Xp!==Xl(o)||(o=Xp,"selectionStart"in o&&eg(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}),P0&&Ss(P0,o)||(P0=o,o=ri(M2,"onSelect"),0<o.length&&(e=new Bb("onSelect","select",null,e,a),t.push({event:e,listeners:o}),e.target=Xp)))}function Iu(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function tr(t){if(_2[t])return _2[t];if(!Qp[t])return t;var e=Qp[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in BA)return _2[t]=e[a];return t}function Zl(t,e){qA.set(t,e),he(e,[t])}function Sv(t){for(var e=Lb,a=0;a<t.length;a++){var o=t[a];if(typeof o=="object"&&o!==null)if(zn(o)&&o.length===2&&typeof o[0]=="string"){if(e!==Lb&&e!==B2)return N2;e=B2}else return N2;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||e!==Lb&&e!==H2)return N2;e=H2}}return e}function ng(t,e,a,o){for(var c in t)yl.call(t,c)&&c[0]!=="_"&&zi(c,t[c],e,a,o)}function zi(t,e,a,o,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===kl){var f=Z(e.type)||"…",g=e.key;e=e.props;var v=Object.keys(e),E=v.length;if(g==null&&E===0){e="<"+f+" />";break}if(3>o||E===1&&v[0]==="children"&&g==null){e="<"+f+" … />";break}a.push([c+" ".repeat(o)+t,"<"+f]),g!==null&&zi("key",g,a,o+1,c),t=!1;for(var D in e)D==="children"?e.children!=null&&(!zn(e.children)||0<e.children.length)&&(t=!0):yl.call(e,D)&&D[0]!=="_"&&zi(D,e[D],a,o+1,c);a.push(["",t?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(e),f=f.slice(8,f.length-1),f==="Array"){if(D=Sv(e),D===H2||D===Lb){e=JSON.stringify(e);break}else if(D===B2){for(a.push([c+" ".repeat(o)+t,""]),t=0;t<e.length;t++)f=e[t],zi(f[0],f[1],a,o+1,c);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,zi(t,e.value,a,o,c),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(f=a.length,zi(t,e.reason,a,o,c),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push([" ".repeat(o)+t,"Promise"]);return}f==="Object"&&(D=Object.getPrototypeOf(e))&&typeof D.constructor=="function"&&(f=D.constructor.name),a.push([c+" ".repeat(o)+t,f==="Object"?3>o?"":"…":f]),3>o&&ng(e,a,o+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===Y_?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([c+" ".repeat(o)+t,e])}function xv(t,e,a,o){var c=!0;for(g in t)g in e||(a.push([Vb+" ".repeat(o)+g,"…"]),c=!1);for(var f in e)if(f in t){var g=t[f],v=e[f];if(g!==v){if(o===0&&f==="children")c=" ".repeat(o)+f,a.push([Vb+c,"…"],[Yb+c,"…"]);else{if(!(3<=o)){if(typeof g=="object"&&typeof v=="object"&&g!==null&&v!==null&&g.$$typeof===v.$$typeof)if(v.$$typeof===kl){if(g.type===v.type&&g.key===v.key){g=Z(v.type)||"…",c=" ".repeat(o)+f,g="<"+g+" … />",a.push([Vb+c,g],[Yb+c,g]),c=!1;continue}}else{var E=Object.prototype.toString.call(g),D=Object.prototype.toString.call(v);if(E===D&&(D==="[object Object]"||D==="[object Array]")){E=[QA+" ".repeat(o)+f,D==="[object Array]"?"Array":""],a.push(E),D=a.length,xv(g,v,a,o+1)?D===a.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):c=!1;continue}}else if(typeof g=="function"&&typeof v=="function"&&g.name===v.name&&g.length===v.length&&(E=Function.prototype.toString.call(g),D=Function.prototype.toString.call(v),E===D)){g=v.name===""?"() => {}":v.name+"() {}",a.push([QA+" ".repeat(o)+f,g+" Referentially unequal function closure. Consider memoization."]);continue}}zi(f,g,a,o,Vb),zi(f,v,a,o,Yb)}c=!1}}else a.push([Yb+" ".repeat(o)+f,"…"]),c=!1;return c}function Kl(t){Ee=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Cl(t,e,a,o){ln&&(xc.start=e,xc.end=a,Lr.color="warning",Lr.tooltipText=o,Lr.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,o,xc)):performance.measure(o,xc))}function hh(t,e,a){Cl(t,e,a,"Reconnect")}function ph(t,e,a,o,c){var f=K(t);if(f!==null&&ln){var g=t.alternate,v=t.actualDuration;if(g===null||g.child!==t.child)for(var E=t.child;E!==null;E=E.sibling)v-=E.actualDuration;o=.5>v?o?"tertiary-light":"primary-light":10>v?o?"tertiary":"primary":100>v?o?"tertiary-dark":"primary-dark":"error";var D=t.memoizedProps;v=t._debugTask,D!==null&&g!==null&&g.memoizedProps!==D?(E=[q_],D=xv(g.memoizedProps,D,E,0),1<E.length&&(D&&!Sc&&(g.lanes&c)===0&&100<t.actualDuration?(Sc=!0,E[0]=G_,Lr.color="warning",Lr.tooltipText=ZA):(Lr.color=o,Lr.tooltipText=f),Lr.properties=E,xc.start=e,xc.end=a,v!=null?v.run(performance.measure.bind(performance,""+f,xc)):performance.measure(""+f,xc))):v!=null?v.run(console.timeStamp.bind(console,f,e,a,no,void 0,o)):console.timeStamp(f,e,a,no,void 0,o)}}function ag(t,e,a,o){if(ln){var c=K(t);if(c!==null){for(var f=null,g=[],v=0;v<o.length;v++){var E=o[v];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,g.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}t.key!==null&&zi("key",t.key,g,0,""),t.memoizedProps!==null&&ng(t.memoizedProps,g,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:no,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:g}}},f?f.run(performance.measure.bind(performance,""+c,t)):performance.measure(""+c,t)}}}function Jl(t,e,a,o,c){if(c!==null){if(ln){var f=K(t);if(f!==null){o=[];for(var g=0;g<c.length;g++){var v=c[g].value;o.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}t.key!==null&&zi("key",t.key,o,0,""),t.memoizedProps!==null&&ng(t.memoizedProps,o,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:no,tooltipText:"A lifecycle or effect errored",properties:o}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,""+f,e)):performance.measure(""+f,e)}}}else f=K(t),f!==null&&ln&&(c=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,f,e,a,no,void 0,c)):console.timeStamp(f,e,a,no,void 0,c))}function f2(t,e,a,o){if(ln&&!(e<=t)){var c=(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,t,e,Ee,Te,c)):console.timeStamp(a,t,e,Ee,Te,c)}}function Tv(t,e,a,o){!ln||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",t,e,Ee,Te,a)):console.timeStamp("Prewarm",t,e,Ee,Te,a))}function wv(t,e,a,o){!ln||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",t,e,Ee,Te,a)):console.timeStamp("Suspended",t,e,Ee,Te,a))}function d2(t,e,a,o,c,f){if(ln&&!(e<=t)){a=[];for(var g=0;g<o.length;g++){var v=o[g].value;a.push(["Recoverable Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:Ee,trackGroup:Te,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function lg(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,"Errored",t,e,Ee,Te,"error")):console.timeStamp("Errored",t,e,Ee,Te,"error"))}function h2(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a,t,e,Ee,Te,"secondary-light")):console.timeStamp(a,t,e,Ee,Te,"secondary-light"))}function Ev(t,e,a,o,c){if(ln&&!(e<=t)){for(var f=[],g=0;g<a.length;g++){var v=a[g].value;f.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}t={start:t,end:e,detail:{devtools:{color:"error",track:Ee,trackGroup:Te,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},c?c.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function ig(t,e,a){!ln||e<=t||console.timeStamp("Animating",t,e,Ee,Te,"secondary-dark")}function mh(){for(var t=Zp,e=k2=Zp=0;e<t;){var a=ao[e];ao[e++]=null;var o=ao[e];ao[e++]=null;var c=ao[e];ao[e++]=null;var f=ao[e];if(ao[e++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}f!==0&&og(a,c,f)}}function xs(t,e,a,o){ao[Zp++]=t,ao[Zp++]=e,ao[Zp++]=a,ao[Zp++]=o,k2|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function er(t,e,a,o){return xs(t,e,a,o),uf(t)}function fa(t,e){return xs(t,null,null,e),uf(t)}function og(t,e,a){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a);for(var c=!1,f=t.return;f!==null;)f.childLanes|=a,o=f.alternate,o!==null&&(o.childLanes|=a),f.tag===22&&(t=f.stateNode,t===null||t._visibility&I0||(c=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,c&&e!==null&&(c=31-ia(a),t=f.hiddenUpdates,o=t[c],o===null?t[c]=[e]:o.push(e),e.lane=a|536870912),f):null}function uf(t){if(Ry>i4)throw zd=Ry=0,Dy=yx=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.");zd>o4&&(zd=0,Dy=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.")),t.alternate===null&&(t.flags&4098)!==0&&Bl(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Bl(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function ou(t){if(lo===null)return t;var e=lo(t);return e===void 0?t:e.current}function gh(t){if(lo===null)return t;var e=lo(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=ou(t.render),t.render!==e)?(e={$$typeof:rc,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function ug(t,e){if(lo===null)return!1;var a=t.elementType;e=e.type;var o=!1,c=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(o=!0);break;case 0:(typeof e=="function"||c===pa)&&(o=!0);break;case 11:(c===rc||c===pa)&&(o=!0);break;case 14:case 15:(c===ud||c===pa)&&(o=!0);break;default:return!1}return!!(o&&(t=lo(a),t!==void 0&&t===lo(e)))}function nr(t){lo!==null&&typeof WeakSet=="function"&&(Kp===null&&(Kp=new WeakSet),Kp.add(t))}function Av(t,e,a){do{var o=t,c=o.alternate,f=o.child,g=o.sibling,v=o.tag;o=o.type;var E=null;switch(v){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if(lo===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,E!==null&&(E=lo(E),E!==void 0&&(a.has(E)?o=!0:e.has(E)&&(v===1?o=!0:D=!0))),Kp!==null&&(Kp.has(t)||c!==null&&Kp.has(c))&&(o=!0),o&&(t._debugNeedsRemount=!0),(o||D)&&(c=fa(t,2),c!==null&&Wt(c,t,2)),f===null||o||Av(f,e,a),g===null)break;t=g}while(!0)}function p2(t,e,a,o){this.tag=t,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=e,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,KA||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function rg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mi(t,e){var a=t.alternate;switch(a===null?(a=M(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=ou(t.type);break;case 1:a.type=ou(t.type);break;case 11:a.type=gh(t.type)}return a}function sg(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function ar(t,e,a,o,c,f){var g=0,v=t;if(typeof t=="function")rg(t)&&(g=1),v=ou(v);else if(typeof t=="string")g=et(),g=Sb(t,a,g)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case di:return e=M(31,a,e,c),e.elementType=di,e.lanes=f,e;case uc:return lr(a.children,c,f,e);case ja:g=8,c|=Ja,c|=Yo;break;case od:return t=a,o=c,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=M(12,t,e,o|ce),e.elementType=od,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case jr:return e=M(13,a,e,c),e.elementType=jr,e.lanes=f,e;case Za:return e=M(19,a,e,c),e.elementType=Za,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case fi:g=10;break t;case Cp:g=9;break t;case rc:g=11,v=gh(v);break t;case ud:g=14;break t;case pa:g=16,v=null;break t}v="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null?a="null":zn(t)?a="array":t!==void 0&&t.$$typeof===kl?(a="<"+(Z(t.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(g=o?bt(o):null)&&(v+=`
|
|
85
85
|
|
|
86
|
-
Check the render method of \``+g+"`."),g=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+v)),v=null}return e=
|
|
86
|
+
Check the render method of \``+g+"`."),g=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+v)),v=null}return e=M(g,a,e,c),e.elementType=t,e.type=v,e.lanes=f,e._debugOwner=o,e}function uu(t,e,a){return e=ar(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function lr(t,e,a,o){return t=M(7,t,o,e),t.lanes=a,t}function Ts(t,e,a){return t=M(6,t,null,e),t.lanes=a,t}function cg(t){var e=M(18,null,null,Ft);return e.stateNode=t,e}function yh(t,e,a){return e=M(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function xa(t,e){if(typeof t=="object"&&t!==null){var a=L2.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Xt(e)},L2.set(t,e),e)}return{value:t,source:e,stack:Xt(e)}}function $l(t,e){ru(),Jp[$p++]=ty,Jp[$p++]=qb,qb=t,ty=e}function fg(t,e,a){ru(),io[oo++]=Yr,io[oo++]=qr,io[oo++]=pd,pd=t;var o=Yr;t=qr;var c=32-ia(o)-1;o&=~(1<<c),a+=1;var f=32-ia(e)+c;if(30<f){var g=c-c%5;f=(o&(1<<g)-1).toString(32),o>>=g,c-=g,Yr=1<<32-ia(e)+c|a<<c|o,qr=f+t}else Yr=1<<f|a<<c|o,qr=t}function vh(t){ru(),t.return!==null&&($l(t,1),fg(t,1,0))}function bh(t){for(;t===qb;)qb=Jp[--$p],Jp[$p]=null,ty=Jp[--$p],Jp[$p]=null;for(;t===pd;)pd=io[--oo],io[oo]=null,qr=io[--oo],io[oo]=null,Yr=io[--oo],io[oo]=null}function Rv(){return ru(),pd!==null?{id:Yr,overflow:qr}:null}function Dv(t,e){ru(),io[oo++]=Yr,io[oo++]=qr,io[oo++]=pd,Yr=e.id,qr=e.overflow,pd=t}function ru(){xe||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ir(t,e){if(t.return===null){if(pi===null)pi={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e};else{if(pi.fiber!==t)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");pi.distanceFromLeaf>e&&(pi.distanceFromLeaf=e)}return pi}var a=ir(t.return,e+1).children;return 0<a.length&&a[a.length-1].fiber===t?(a=a[a.length-1],a.distanceFromLeaf>e&&(a.distanceFromLeaf=e),a):(e={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e},a.push(e),e)}function Cv(){xe&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function da(t,e){ku||(t=ir(t,0),t.serverProps=null,e!==null&&(e=gb(e),t.serverTail.push(e)))}function zl(t){var e=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",o=pi;throw o!==null&&(pi=null,a=Qm(o)),sf(xa(Error("Hydration failed because the server rendered "+(e?"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:
|
|
87
87
|
|
|
88
88
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
89
89
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -93,7 +93,7 @@ Check the render method of \``+g+"`."),g=29,a=Error("Element type is invalid: ex
|
|
|
93
93
|
|
|
94
94
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
95
95
|
|
|
96
|
-
https://react.dev/link/hydration-mismatch`+a),t)),
|
|
96
|
+
https://react.dev/link/hydration-mismatch`+a),t)),V2}function dg(t){var e=t.stateNode,a=t.type,o=t.memoizedProps;switch(e[an]=t,e[Na]=o,_a(a,o),a){case"dialog":$t("cancel",e),$t("close",e);break;case"iframe":case"object":case"embed":$t("load",e);break;case"video":case"audio":for(a=0;a<Cy.length;a++)$t(Cy[a],e);break;case"source":$t("error",e);break;case"img":case"image":case"link":$t("error",e),$t("load",e);break;case"details":$t("toggle",e);break;case"input":ca("input",o),$t("invalid",e),Sa(e,o),th(e,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":fv(e,o);break;case"select":ca("select",o),$t("invalid",e),eh(e,o);break;case"textarea":ca("textarea",o),$t("invalid",e),Ku(e,o),ds(e,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||o.suppressHydrationWarning===!0||p0(e.textContent,a)?(o.popover!=null&&($t("beforetoggle",e),$t("toggle",e)),o.onScroll!=null&&$t("scroll",e),o.onScrollEnd!=null&&$t("scrollend",e),o.onClick!=null&&(e.onclick=Dl),e=!0):e=!1,e||zl(t,!0)}function hg(t){for(Ha=t.return;Ha;)switch(Ha.tag){case 5:case 31:case 13:uo=!1;return;case 27:case 3:uo=!0;return;default:Ha=Ha.return}}function or(t){if(t!==Ha)return!1;if(!xe)return hg(t),xe=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Is(t.type,t.memoizedProps)),a=!a),a&&on){for(a=on;a;){var o=ir(t,0),c=gb(a);o.serverTail.push(c),a=c.type==="Suspense"?nc(a):ml(a.nextSibling)}zl(t)}if(hg(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");on=nc(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");on=nc(t)}else e===27?(e=on,Ou(t.type)?(t=zx,zx=null,on=t):on=e):on=Ha?ml(t.stateNode.nextSibling):null;return!0}function su(){on=Ha=null,ku=xe=!1}function rf(){var t=wc;return t!==null&&(wl===null?wl=t:wl.push.apply(wl,t),wc=null),t}function sf(t){wc===null?wc=[t]:wc.push(t)}function cu(){var t=pi;if(t!==null){pi=null;for(var e=Qm(t);0<t.children.length;)t=t.children[0];Ct(t.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:
|
|
97
97
|
|
|
98
98
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
99
99
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -103,45 +103,45 @@ https://react.dev/link/hydration-mismatch`+a),t)),L2}function sg(t){var e=t.stat
|
|
|
103
103
|
|
|
104
104
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
105
105
|
|
|
106
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function
|
|
106
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function ws(){Fp=Gb=null,Wp=!1}function Ml(t,e,a){Nt(Y2,e._currentValue,t),e._currentValue=a,Nt(q2,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==$A&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=$A}function Fl(t,e){t._currentValue=Y2.current;var a=q2.current;xt(q2,e),t._currentRenderer=a,xt(Y2,e)}function Sh(t,e,a){for(;t!==null;){var o=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,o!==null&&(o.childLanes|=e)):o!==null&&(o.childLanes&e)!==e&&(o.childLanes|=e),t===a)break;t=t.return}t!==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 xo(t,e,a,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var f=c.dependencies;if(f!==null){var g=c.child;f=f.firstContext;t:for(;f!==null;){var v=f;f=c;for(var E=0;E<e.length;E++)if(v.context===e[E]){f.lanes|=a,v=f.alternate,v!==null&&(v.lanes|=a),Sh(f.return,a,t),o||(g=null);break t}f=v.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");g.lanes|=a,f=g.alternate,f!==null&&(f.lanes|=a),Sh(g,a,t),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===t){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Wl(t,e,a,o){t=null;for(var c=e,f=!1;c!==null;){if(!f){if((c.flags&524288)!==0)f=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error("Should have a current fiber. This is a bug in React.");if(g=g.memoizedProps,g!==null){var v=c.type;bl(c.pendingProps.value,g.value)||(t!==null?t.push(v):t=[v])}}else if(c===Nu.current){if(g=c.alternate,g===null)throw Error("Should have a current fiber. This is a bug in React.");g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(Uy):t=[Uy])}c=c.return}t!==null&&xo(e,t,a,o),e.flags|=262144}function Es(t){for(t=t.firstContext;t!==null;){if(!bl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function fu(t){Gb=t,Fp=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function _e(t){return Wp&&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()."),pg(Gb,t)}function cf(t,e){return Gb===null&&fu(t),pg(t,e)}function pg(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Fp===null){if(t===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().");Fp=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else Fp=Fp.next=e;return a}function xh(){return{controller:new Z_,data:new Map,refCount:0}}function ur(t){t.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),t.refCount++}function ff(t){t.refCount--,0>t.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),t.refCount===0&&K_(J_,function(){t.controller.abort()})}function Oi(t,e,a){(t&127)!==0?0>Lu&&(Lu=Fn(),ny=Xb(e),G2=e,a!=null&&(X2=K(a)),(Re&(ra|yi))!==va&&(An=!0,Ac=ey),t=tc(),e=Fi(),t!==Pp||e!==ay?Pp=-1.1:e!==null&&(Ac=ey),yd=t,ay=e):(t&4194048)!==0&&0>ro&&(ro=Fn(),ly=Xb(e),FA=e,a!=null&&(WA=K(a)),0>Zr)&&(t=tc(),e=Fi(),(t!==Dc||e!==vd)&&(Dc=-1.1),Rc=t,vd=e)}function zv(t){if(0>Lu){Lu=Fn(),ny=t._debugTask!=null?t._debugTask:null,(Re&(ra|yi))!==va&&(Ac=ey);var e=tc(),a=Fi();e!==Pp||a!==ay?Pp=-1.1:a!==null&&(Ac=ey),yd=e,ay=a}0>ro&&(ro=Fn(),ly=t._debugTask!=null?t._debugTask:null,0>Zr)&&(t=tc(),e=Fi(),(t!==Dc||e!==vd)&&(Dc=-1.1),Rc=t,vd=e)}function _i(){var t=md;return md=0,t}function As(t){var e=md;return md=t,e}function Ta(t){var e=md;return md+=t,e}function rr(){Jt=Qt=-1.1}function tn(){var t=Qt;return Qt=-1.1,t}function qn(t){0<=t&&(Qt=t)}function Ol(){var t=gn;return gn=-0,t}function al(t){0<=t&&(gn=t)}function ll(){var t=dn;return dn=null,t}function _l(){var t=An;return An=!1,t}function To(t){Sl=Fn(),0>t.actualStartTime&&(t.actualStartTime=Sl)}function Th(t){if(0<=Sl){var e=Fn()-Sl;t.actualDuration+=e,t.selfBaseDuration=e,Sl=-1}}function df(t){if(0<=Sl){var e=Fn()-Sl;t.actualDuration+=e,Sl=-1}}function wa(){if(0<=Sl){var t=Fn(),e=t-Sl;Sl=-1,md+=e,gn+=e,Jt=t}}function Mv(t){dn===null&&(dn=[]),dn.push(t),Xr===null&&(Xr=[]),Xr.push(t)}function hn(){Sl=Fn(),0>Qt&&(Qt=Sl)}function sr(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function wo(t,e){if(oy===null){var a=oy=[];Z2=0,bd=h0(),Ip={status:"pending",value:void 0,then:function(o){a.push(o)}}}return Z2++,e.then(mg,mg),e}function mg(){if(--Z2===0&&(-1<ro||(Zr=-1.1),oy!==null)){Ip!==null&&(Ip.status="fulfilled");var t=oy;oy=null,bd=0,Ip=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function wh(t,e){var a=[],o={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return t.then(function(){o.status="fulfilled",o.value=e;for(var c=0;c<a.length;c++)(0,a[c])(e)},function(c){for(o.status="rejected",o.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),o}function Eo(){var t=Sd.current;return t!==null?t:Fe.pooledCache}function Rs(t,e){e===null?Nt(Sd,Sd.current,t):Nt(Sd,e.pool,t)}function gg(){var t=Eo();return t===null?null:{parent:$n._currentValue,pool:t}}function Eh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function yg(t){return t=t.status,t==="fulfilled"||t==="rejected"}function il(t,e,a){at.actQueue!==null&&(at.didUsePromise=!0);var o=t.thenables;if(a=o[a],a===void 0?o.push(e):a!==e&&(t.didWarnAboutUncachedPromise||(t.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.")),e.then(Dl,Dl),e=a),e._debugInfo===void 0){t=performance.now(),o=e.displayName;var c={name:typeof o=="string"?o:"Promise",start:t,end:t,value:e};e._debugInfo=[{awaited:c}],e.status!=="fulfilled"&&e.status!=="rejected"&&(t=function(){c.end=performance.now()},e.then(t,t))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,hf(t),t;default:if(typeof e.status=="string")e.then(Dl,Dl);else{if(t=Fe,t!==null&&100<t.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.");t=e,t.status="pending",t.then(function(f){if(e.status==="pending"){var g=e;g.status="fulfilled",g.value=f}},function(f){if(e.status==="pending"){var g=e;g.status="rejected",g.reason=f}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,hf(t),t}throw Td=e,hy=!0,tm}}function ol(t){try{return I_(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Td=e,hy=!0,tm):e}}function cr(){if(Td===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=Td;return Td=null,hy=!1,t}function hf(t){if(t===tm||t===Pb)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 Sn(t){var e=fe;return t!=null&&(fe=e===null?t:e.concat(t)),e}function Va(){var t=fe;if(t!=null){for(var e=t.length-1;0<=e;e--)if(t[e].name!=null){var a=t[e].debugTask;if(a!=null)return a}}return null}function Ea(t,e,a){for(var o=Object.keys(t.props),c=0;c<o.length;c++){var f=o[c];if(f!=="children"&&f!=="key"){e===null&&(e=uu(t,a.mode,0),e._debugInfo=fe,e.return=a),Ct(e,function(g){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",g)},f);break}}}function Pl(t){var e=py;return py+=1,em===null&&(em=Eh()),il(em,t,e)}function Ya(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Il(t,e){throw e.$$typeof===Rb?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
107
107
|
- Multiple copies of the "react" package is used.
|
|
108
108
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
109
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead."))}function Ul(t,e){var a=Va();a!==null?a.run(Il.bind(null,t,e)):Il(t,e)}function
|
|
109
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead."))}function Ul(t,e){var a=Va();a!==null?a.run(Il.bind(null,t,e)):Il(t,e)}function vg(t,e){var a=K(t)||"Component";y5[a]||(y5[a]=!0,e=e.displayName||e.name||"Component",t.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.
|
|
110
110
|
root.render(%s)`,e,e,e):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.
|
|
111
|
-
<%s>{%s}</%s>`,e,e,a,e,a))}function
|
|
111
|
+
<%s>{%s}</%s>`,e,e,a,e,a))}function Ds(t,e){var a=Va();a!==null?a.run(vg.bind(null,t,e)):vg(t,e)}function Ah(t,e){var a=K(t)||"Component";v5[a]||(v5[a]=!0,e=String(e),t.tag===3?console.error(`Symbols are not valid as a React child.
|
|
112
112
|
root.render(%s)`,e):console.error(`Symbols are not valid as a React child.
|
|
113
|
-
<%s>%s</%s>`,a,e,a))}function hf(t,e){var a=Va();a!==null?a.run(wh.bind(null,t,e)):wh(t,e)}function Gn(t){function e(U,N){if(t){var L=U.deletions;L===null?(U.deletions=[N],U.flags|=16):L.push(N)}}function a(U,N){if(!t)return null;for(;N!==null;)e(U,N),N=N.sibling;return null}function o(U){for(var N=new Map;U!==null;)U.key!==null?N.set(U.key,U):N.set(U.index,U),U=U.sibling;return N}function c(U,N){return U=Mi(U,N),U.index=0,U.sibling=null,U}function f(U,N,L){return U.index=L,t?(L=U.alternate,L!==null?(L=L.index,L<N?(U.flags|=67108866,N):L):(U.flags|=67108866,N)):(U.flags|=1048576,N)}function g(U){return t&&U.alternate===null&&(U.flags|=67108866),U}function v(U,N,L,rt){return N===null||N.tag!==6?(N=Ss(L,U.mode,rt),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,L),N.return=U,N._debugInfo=fe,N)}function E(U,N,L,rt){var Rt=L.type;return Rt===ic?(N=k(U,N,L.props.children,rt,L.key),Ea(L,N,U),N):N!==null&&(N.elementType===Rt||lg(N,L)||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===pa&&ol(Rt)===N.type)?(N=c(N,L.props),Ya(N,L),N.return=U,N._debugOwner=L._owner,N._debugInfo=fe,N):(N=ou(L,U.mode,rt),Ya(N,L),N.return=U,N._debugInfo=fe,N)}function D(U,N,L,rt){return N===null||N.tag!==4||N.stateNode.containerInfo!==L.containerInfo||N.stateNode.implementation!==L.implementation?(N=mh(L,U.mode,rt),N.return=U,N._debugInfo=fe,N):(N=c(N,L.children||[]),N.return=U,N._debugInfo=fe,N)}function k(U,N,L,rt,Rt){return N===null||N.tag!==7?(N=ar(L,U.mode,rt,Rt),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,L),N.return=U,N._debugInfo=fe,N)}function q(U,N,L){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=Ss(""+N,U.mode,L),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Ll:return L=ou(N,U.mode,L),Ya(L,N),L.return=U,U=Sn(N._debugInfo),L._debugInfo=fe,fe=U,L;case _u:return N=mh(N,U.mode,L),N.return=U,N._debugInfo=fe,N;case pa:var rt=Sn(N._debugInfo);return N=ol(N),U=q(U,N,L),fe=rt,U}if(zn(N)||Tt(N))return L=ar(N,U.mode,L,null),L.return=U,L._debugOwner=U,L._debugTask=U._debugTask,U=Sn(N._debugInfo),L._debugInfo=fe,fe=U,L;if(typeof N.then=="function")return rt=Sn(N._debugInfo),U=q(U,Pl(N),L),fe=rt,U;if(N.$$typeof===fi)return q(U,sf(U,N),L);Ul(U,N)}return typeof N=="function"&&As(U,N),typeof N=="symbol"&&hf(U,N),null}function j(U,N,L,rt){var Rt=N!==null?N.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return Rt!==null?null:v(U,N,""+L,rt);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Ll:return L.key===Rt?(Rt=Sn(L._debugInfo),U=E(U,N,L,rt),fe=Rt,U):null;case _u:return L.key===Rt?D(U,N,L,rt):null;case pa:return Rt=Sn(L._debugInfo),L=ol(L),U=j(U,N,L,rt),fe=Rt,U}if(zn(L)||Tt(L))return Rt!==null?null:(Rt=Sn(L._debugInfo),U=k(U,N,L,rt,null),fe=Rt,U);if(typeof L.then=="function")return Rt=Sn(L._debugInfo),U=j(U,N,Pl(L),rt),fe=Rt,U;if(L.$$typeof===fi)return j(U,N,sf(U,L),rt);Ul(U,L)}return typeof L=="function"&&As(U,L),typeof L=="symbol"&&hf(U,L),null}function P(U,N,L,rt,Rt){if(typeof rt=="string"&&rt!==""||typeof rt=="number"||typeof rt=="bigint")return U=U.get(L)||null,v(N,U,""+rt,Rt);if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case Ll:return L=U.get(rt.key===null?L:rt.key)||null,U=Sn(rt._debugInfo),N=E(N,L,rt,Rt),fe=U,N;case _u:return U=U.get(rt.key===null?L:rt.key)||null,D(N,U,rt,Rt);case pa:var te=Sn(rt._debugInfo);return rt=ol(rt),N=P(U,N,L,rt,Rt),fe=te,N}if(zn(rt)||Tt(rt))return L=U.get(L)||null,U=Sn(rt._debugInfo),N=k(N,L,rt,Rt,null),fe=U,N;if(typeof rt.then=="function")return te=Sn(rt._debugInfo),N=P(U,N,L,Pl(rt),Rt),fe=te,N;if(rt.$$typeof===fi)return P(U,N,L,sf(N,rt),Rt);Ul(N,rt)}return typeof rt=="function"&&As(N,rt),typeof rt=="symbol"&&hf(N,rt),null}function wt(U,N,L,rt){if(typeof L!="object"||L===null)return rt;switch(L.$$typeof){case Ll:case _u:M(U,N,L);var Rt=L.key;if(typeof Rt!="string")break;if(rt===null){rt=new Set,rt.add(Rt);break}if(!rt.has(Rt)){rt.add(Rt);break}Dt(N,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.",Rt)});break;case pa:L=ol(L),wt(U,N,L,rt)}return rt}function Ct(U,N,L,rt){for(var Rt=null,te=null,Gt=null,Bt=N,re=N=0,un=null;Bt!==null&&re<L.length;re++){Bt.index>re?(un=Bt,Bt=null):un=Bt.sibling;var Ln=j(U,Bt,L[re],rt);if(Ln===null){Bt===null&&(Bt=un);break}Rt=wt(U,Ln,L[re],Rt),t&&Bt&&Ln.alternate===null&&e(U,Bt),N=f(Ln,N,re),Gt===null?te=Ln:Gt.sibling=Ln,Gt=Ln,Bt=un}if(re===L.length)return a(U,Bt),Se&&$l(U,re),te;if(Bt===null){for(;re<L.length;re++)Bt=q(U,L[re],rt),Bt!==null&&(Rt=wt(U,Bt,L[re],Rt),N=f(Bt,N,re),Gt===null?te=Bt:Gt.sibling=Bt,Gt=Bt);return Se&&$l(U,re),te}for(Bt=o(Bt);re<L.length;re++)un=P(Bt,U,re,L[re],rt),un!==null&&(Rt=wt(U,un,L[re],Rt),t&&un.alternate!==null&&Bt.delete(un.key===null?re:un.key),N=f(un,N,re),Gt===null?te=un:Gt.sibling=un,Gt=un);return t&&Bt.forEach(function(Ir){return e(U,Ir)}),Se&&$l(U,re),te}function Ie(U,N,L,rt){if(L==null)throw Error("An iterable object provided no iterator.");for(var Rt=null,te=null,Gt=N,Bt=N=0,re=null,un=null,Ln=L.next();Gt!==null&&!Ln.done;Bt++,Ln=L.next()){Gt.index>Bt?(re=Gt,Gt=null):re=Gt.sibling;var Ir=j(U,Gt,Ln.value,rt);if(Ir===null){Gt===null&&(Gt=re);break}un=wt(U,Ir,Ln.value,un),t&&Gt&&Ir.alternate===null&&e(U,Gt),N=f(Ir,N,Bt),te===null?Rt=Ir:te.sibling=Ir,te=Ir,Gt=re}if(Ln.done)return a(U,Gt),Se&&$l(U,Bt),Rt;if(Gt===null){for(;!Ln.done;Bt++,Ln=L.next())Gt=q(U,Ln.value,rt),Gt!==null&&(un=wt(U,Gt,Ln.value,un),N=f(Gt,N,Bt),te===null?Rt=Gt:te.sibling=Gt,te=Gt);return Se&&$l(U,Bt),Rt}for(Gt=o(Gt);!Ln.done;Bt++,Ln=L.next())re=P(Gt,U,Bt,Ln.value,rt),re!==null&&(un=wt(U,re,Ln.value,un),t&&re.alternate!==null&&Gt.delete(re.key===null?Bt:re.key),N=f(re,N,Bt),te===null?Rt=re:te.sibling=re,te=re);return t&&Gt.forEach(function(v4){return e(U,v4)}),Se&&$l(U,Bt),Rt}function we(U,N,L,rt){if(typeof L=="object"&&L!==null&&L.type===ic&&L.key===null&&(Ea(L,null,U),L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case Ll:var Rt=Sn(L._debugInfo);t:{for(var te=L.key;N!==null;){if(N.key===te){if(te=L.type,te===ic){if(N.tag===7){a(U,N.sibling),rt=c(N,L.props.children),rt.return=U,rt._debugOwner=L._owner,rt._debugInfo=fe,Ea(L,rt,U),U=rt;break t}}else if(N.elementType===te||lg(N,L)||typeof te=="object"&&te!==null&&te.$$typeof===pa&&ol(te)===N.type){a(U,N.sibling),rt=c(N,L.props),Ya(rt,L),rt.return=U,rt._debugOwner=L._owner,rt._debugInfo=fe,U=rt;break t}a(U,N);break}else e(U,N);N=N.sibling}L.type===ic?(rt=ar(L.props.children,U.mode,rt,L.key),rt.return=U,rt._debugOwner=U,rt._debugTask=U._debugTask,rt._debugInfo=fe,Ea(L,rt,U),U=rt):(rt=ou(L,U.mode,rt),Ya(rt,L),rt.return=U,rt._debugInfo=fe,U=rt)}return U=g(U),fe=Rt,U;case _u:t:{for(Rt=L,L=Rt.key;N!==null;){if(N.key===L)if(N.tag===4&&N.stateNode.containerInfo===Rt.containerInfo&&N.stateNode.implementation===Rt.implementation){a(U,N.sibling),rt=c(N,Rt.children||[]),rt.return=U,U=rt;break t}else{a(U,N);break}else e(U,N);N=N.sibling}rt=mh(Rt,U.mode,rt),rt.return=U,U=rt}return g(U);case pa:return Rt=Sn(L._debugInfo),L=ol(L),U=we(U,N,L,rt),fe=Rt,U}if(zn(L))return Rt=Sn(L._debugInfo),U=Ct(U,N,L,rt),fe=Rt,U;if(Tt(L)){if(Rt=Sn(L._debugInfo),te=Tt(L),typeof te!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Gt=te.call(L);return Gt===L?(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Gt)!=="[object Generator]")&&(d5||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."),d5=!0):L.entries!==te||J2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),J2=!0),U=Ie(U,N,Gt,rt),fe=Rt,U}if(typeof L.then=="function")return Rt=Sn(L._debugInfo),U=we(U,N,Pl(L),rt),fe=Rt,U;if(L.$$typeof===fi)return we(U,N,sf(U,L),rt);Ul(U,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(Rt=""+L,N!==null&&N.tag===6?(a(U,N.sibling),rt=c(N,Rt),rt.return=U,U=rt):(a(U,N),rt=Ss(Rt,U.mode,rt),rt.return=U,rt._debugOwner=U,rt._debugTask=U._debugTask,rt._debugInfo=fe,U=rt),g(U)):(typeof L=="function"&&As(U,L),typeof L=="symbol"&&hf(U,L),a(U,N))}return function(U,N,L,rt){var Rt=fe;fe=null;try{fy=0;var te=we(U,N,L,rt);return Ip=null,te}catch(un){if(un===Pp||un===Wb)throw un;var Gt=z(29,un,null,U.mode);Gt.lanes=rt,Gt.return=U;var Bt=Gt._debugInfo=fe;if(Gt._debugOwner=U._debugOwner,Gt._debugTask=U._debugTask,Bt!=null){for(var re=Bt.length-1;0<=re;re--)if(typeof Bt[re].stack=="string"){Gt._debugOwner=Bt[re],Gt._debugTask=Bt[re].debugTask;break}}return Gt}finally{fe=Rt}}}function Ze(t,e){var a=zn(t);return t=!a&&typeof Tt(t)=="function",a||t?(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,e,a),!1):!0}function ye(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ui(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function _n(t){return{lane:t,tag:y5,payload:null,callback:null,next:null}}function ji(t,e,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,F2===o&&!S5){var c=K(t);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.
|
|
113
|
+
<%s>%s</%s>`,a,e,a))}function pf(t,e){var a=Va();a!==null?a.run(Ah.bind(null,t,e)):Ah(t,e)}function Gn(t){function e(U,N){if(t){var k=U.deletions;k===null?(U.deletions=[N],U.flags|=16):k.push(N)}}function a(U,N){if(!t)return null;for(;N!==null;)e(U,N),N=N.sibling;return null}function o(U){for(var N=new Map;U!==null;)U.key!==null?N.set(U.key,U):N.set(U.index,U),U=U.sibling;return N}function c(U,N){return U=Mi(U,N),U.index=0,U.sibling=null,U}function f(U,N,k){return U.index=k,t?(k=U.alternate,k!==null?(k=k.index,k<N?(U.flags|=67108866,N):k):(U.flags|=67108866,N)):(U.flags|=1048576,N)}function g(U){return t&&U.alternate===null&&(U.flags|=67108866),U}function v(U,N,k,ut){return N===null||N.tag!==6?(N=Ts(k,U.mode,ut),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,k),N.return=U,N._debugInfo=fe,N)}function E(U,N,k,ut){var Rt=k.type;return Rt===uc?(N=L(U,N,k.props.children,ut,k.key),Ea(k,N,U),N):N!==null&&(N.elementType===Rt||ug(N,k)||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===pa&&ol(Rt)===N.type)?(N=c(N,k.props),Ya(N,k),N.return=U,N._debugOwner=k._owner,N._debugInfo=fe,N):(N=uu(k,U.mode,ut),Ya(N,k),N.return=U,N._debugInfo=fe,N)}function D(U,N,k,ut){return N===null||N.tag!==4||N.stateNode.containerInfo!==k.containerInfo||N.stateNode.implementation!==k.implementation?(N=yh(k,U.mode,ut),N.return=U,N._debugInfo=fe,N):(N=c(N,k.children||[]),N.return=U,N._debugInfo=fe,N)}function L(U,N,k,ut,Rt){return N===null||N.tag!==7?(N=lr(k,U.mode,ut,Rt),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,k),N.return=U,N._debugInfo=fe,N)}function q(U,N,k){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=Ts(""+N,U.mode,k),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case kl:return k=uu(N,U.mode,k),Ya(k,N),k.return=U,U=Sn(N._debugInfo),k._debugInfo=fe,fe=U,k;case Uu:return N=yh(N,U.mode,k),N.return=U,N._debugInfo=fe,N;case pa:var ut=Sn(N._debugInfo);return N=ol(N),U=q(U,N,k),fe=ut,U}if(zn(N)||wt(N))return k=lr(N,U.mode,k,null),k.return=U,k._debugOwner=U,k._debugTask=U._debugTask,U=Sn(N._debugInfo),k._debugInfo=fe,fe=U,k;if(typeof N.then=="function")return ut=Sn(N._debugInfo),U=q(U,Pl(N),k),fe=ut,U;if(N.$$typeof===fi)return q(U,cf(U,N),k);Ul(U,N)}return typeof N=="function"&&Ds(U,N),typeof N=="symbol"&&pf(U,N),null}function j(U,N,k,ut){var Rt=N!==null?N.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return Rt!==null?null:v(U,N,""+k,ut);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case kl:return k.key===Rt?(Rt=Sn(k._debugInfo),U=E(U,N,k,ut),fe=Rt,U):null;case Uu:return k.key===Rt?D(U,N,k,ut):null;case pa:return Rt=Sn(k._debugInfo),k=ol(k),U=j(U,N,k,ut),fe=Rt,U}if(zn(k)||wt(k))return Rt!==null?null:(Rt=Sn(k._debugInfo),U=L(U,N,k,ut,null),fe=Rt,U);if(typeof k.then=="function")return Rt=Sn(k._debugInfo),U=j(U,N,Pl(k),ut),fe=Rt,U;if(k.$$typeof===fi)return j(U,N,cf(U,k),ut);Ul(U,k)}return typeof k=="function"&&Ds(U,k),typeof k=="symbol"&&pf(U,k),null}function I(U,N,k,ut,Rt){if(typeof ut=="string"&&ut!==""||typeof ut=="number"||typeof ut=="bigint")return U=U.get(k)||null,v(N,U,""+ut,Rt);if(typeof ut=="object"&&ut!==null){switch(ut.$$typeof){case kl:return k=U.get(ut.key===null?k:ut.key)||null,U=Sn(ut._debugInfo),N=E(N,k,ut,Rt),fe=U,N;case Uu:return U=U.get(ut.key===null?k:ut.key)||null,D(N,U,ut,Rt);case pa:var te=Sn(ut._debugInfo);return ut=ol(ut),N=I(U,N,k,ut,Rt),fe=te,N}if(zn(ut)||wt(ut))return k=U.get(k)||null,U=Sn(ut._debugInfo),N=L(N,k,ut,Rt,null),fe=U,N;if(typeof ut.then=="function")return te=Sn(ut._debugInfo),N=I(U,N,k,Pl(ut),Rt),fe=te,N;if(ut.$$typeof===fi)return I(U,N,k,cf(N,ut),Rt);Ul(N,ut)}return typeof ut=="function"&&Ds(N,ut),typeof ut=="symbol"&&pf(N,ut),null}function At(U,N,k,ut){if(typeof k!="object"||k===null)return ut;switch(k.$$typeof){case kl:case Uu:z(U,N,k);var Rt=k.key;if(typeof Rt!="string")break;if(ut===null){ut=new Set,ut.add(Rt);break}if(!ut.has(Rt)){ut.add(Rt);break}Ct(N,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.",Rt)});break;case pa:k=ol(k),At(U,N,k,ut)}return ut}function zt(U,N,k,ut){for(var Rt=null,te=null,Gt=null,Vt=N,re=N=0,un=null;Vt!==null&&re<k.length;re++){Vt.index>re?(un=Vt,Vt=null):un=Vt.sibling;var kn=j(U,Vt,k[re],ut);if(kn===null){Vt===null&&(Vt=un);break}Rt=At(U,kn,k[re],Rt),t&&Vt&&kn.alternate===null&&e(U,Vt),N=f(kn,N,re),Gt===null?te=kn:Gt.sibling=kn,Gt=kn,Vt=un}if(re===k.length)return a(U,Vt),xe&&$l(U,re),te;if(Vt===null){for(;re<k.length;re++)Vt=q(U,k[re],ut),Vt!==null&&(Rt=At(U,Vt,k[re],Rt),N=f(Vt,N,re),Gt===null?te=Vt:Gt.sibling=Vt,Gt=Vt);return xe&&$l(U,re),te}for(Vt=o(Vt);re<k.length;re++)un=I(Vt,U,re,k[re],ut),un!==null&&(Rt=At(U,un,k[re],Rt),t&&un.alternate!==null&&Vt.delete(un.key===null?re:un.key),N=f(un,N,re),Gt===null?te=un:Gt.sibling=un,Gt=un);return t&&Vt.forEach(function(ts){return e(U,ts)}),xe&&$l(U,re),te}function Ie(U,N,k,ut){if(k==null)throw Error("An iterable object provided no iterator.");for(var Rt=null,te=null,Gt=N,Vt=N=0,re=null,un=null,kn=k.next();Gt!==null&&!kn.done;Vt++,kn=k.next()){Gt.index>Vt?(re=Gt,Gt=null):re=Gt.sibling;var ts=j(U,Gt,kn.value,ut);if(ts===null){Gt===null&&(Gt=re);break}un=At(U,ts,kn.value,un),t&&Gt&&ts.alternate===null&&e(U,Gt),N=f(ts,N,Vt),te===null?Rt=ts:te.sibling=ts,te=ts,Gt=re}if(kn.done)return a(U,Gt),xe&&$l(U,Vt),Rt;if(Gt===null){for(;!kn.done;Vt++,kn=k.next())Gt=q(U,kn.value,ut),Gt!==null&&(un=At(U,Gt,kn.value,un),N=f(Gt,N,Vt),te===null?Rt=Gt:te.sibling=Gt,te=Gt);return xe&&$l(U,Vt),Rt}for(Gt=o(Gt);!kn.done;Vt++,kn=k.next())re=I(Gt,U,Vt,kn.value,ut),re!==null&&(un=At(U,re,kn.value,un),t&&re.alternate!==null&&Gt.delete(re.key===null?Vt:re.key),N=f(re,N,Vt),te===null?Rt=re:te.sibling=re,te=re);return t&&Gt.forEach(function(w4){return e(U,w4)}),xe&&$l(U,Vt),Rt}function we(U,N,k,ut){if(typeof k=="object"&&k!==null&&k.type===uc&&k.key===null&&(Ea(k,null,U),k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case kl:var Rt=Sn(k._debugInfo);t:{for(var te=k.key;N!==null;){if(N.key===te){if(te=k.type,te===uc){if(N.tag===7){a(U,N.sibling),ut=c(N,k.props.children),ut.return=U,ut._debugOwner=k._owner,ut._debugInfo=fe,Ea(k,ut,U),U=ut;break t}}else if(N.elementType===te||ug(N,k)||typeof te=="object"&&te!==null&&te.$$typeof===pa&&ol(te)===N.type){a(U,N.sibling),ut=c(N,k.props),Ya(ut,k),ut.return=U,ut._debugOwner=k._owner,ut._debugInfo=fe,U=ut;break t}a(U,N);break}else e(U,N);N=N.sibling}k.type===uc?(ut=lr(k.props.children,U.mode,ut,k.key),ut.return=U,ut._debugOwner=U,ut._debugTask=U._debugTask,ut._debugInfo=fe,Ea(k,ut,U),U=ut):(ut=uu(k,U.mode,ut),Ya(ut,k),ut.return=U,ut._debugInfo=fe,U=ut)}return U=g(U),fe=Rt,U;case Uu:t:{for(Rt=k,k=Rt.key;N!==null;){if(N.key===k)if(N.tag===4&&N.stateNode.containerInfo===Rt.containerInfo&&N.stateNode.implementation===Rt.implementation){a(U,N.sibling),ut=c(N,Rt.children||[]),ut.return=U,U=ut;break t}else{a(U,N);break}else e(U,N);N=N.sibling}ut=yh(Rt,U.mode,ut),ut.return=U,U=ut}return g(U);case pa:return Rt=Sn(k._debugInfo),k=ol(k),U=we(U,N,k,ut),fe=Rt,U}if(zn(k))return Rt=Sn(k._debugInfo),U=zt(U,N,k,ut),fe=Rt,U;if(wt(k)){if(Rt=Sn(k._debugInfo),te=wt(k),typeof te!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Gt=te.call(k);return Gt===k?(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Gt)!=="[object Generator]")&&(m5||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."),m5=!0):k.entries!==te||F2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),F2=!0),U=Ie(U,N,Gt,ut),fe=Rt,U}if(typeof k.then=="function")return Rt=Sn(k._debugInfo),U=we(U,N,Pl(k),ut),fe=Rt,U;if(k.$$typeof===fi)return we(U,N,cf(U,k),ut);Ul(U,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(Rt=""+k,N!==null&&N.tag===6?(a(U,N.sibling),ut=c(N,Rt),ut.return=U,U=ut):(a(U,N),ut=Ts(Rt,U.mode,ut),ut.return=U,ut._debugOwner=U,ut._debugTask=U._debugTask,ut._debugInfo=fe,U=ut),g(U)):(typeof k=="function"&&Ds(U,k),typeof k=="symbol"&&pf(U,k),a(U,N))}return function(U,N,k,ut){var Rt=fe;fe=null;try{py=0;var te=we(U,N,k,ut);return em=null,te}catch(un){if(un===tm||un===Pb)throw un;var Gt=M(29,un,null,U.mode);Gt.lanes=ut,Gt.return=U;var Vt=Gt._debugInfo=fe;if(Gt._debugOwner=U._debugOwner,Gt._debugTask=U._debugTask,Vt!=null){for(var re=Vt.length-1;0<=re;re--)if(typeof Vt[re].stack=="string"){Gt._debugOwner=Vt[re],Gt._debugTask=Vt[re].debugTask;break}}return Gt}finally{fe=Rt}}}function Ze(t,e){var a=zn(t);return t=!a&&typeof wt(t)=="function",a||t?(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,e,a),!1):!0}function be(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ui(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function _n(t){return{lane:t,tag:S5,payload:null,callback:null,next:null}}function ji(t,e,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,P2===o&&!w5){var c=K(t);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.
|
|
114
114
|
|
|
115
|
-
Please update the following component: %s`,c),
|
|
115
|
+
Please update the following component: %s`,c),w5=!0}return(Re&ra)!==va?(c=o.pending,c===null?e.next=e:(e.next=c.next,c.next=e),o.pending=e,e=uf(t),og(t,null,a),e):(xs(t,o,e,a),uf(t))}function jl(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,$c(t,a)}}function mf(t,e){var a=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var c=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var g={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?c=f=g:f=f.next=g,a=a.next}while(a!==null);f===null?c=f=e:f=f.next=e}else c=f=e;a={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Cs(){if(I2){var t=Ip;if(t!==null)throw t}}function Ni(t,e,a,o){I2=!1;var c=t.updateQueue;Cc=!1,P2=c.shared;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,v=c.shared.pending;if(v!==null){c.shared.pending=null;var E=v,D=E.next;E.next=null,g===null?f=D:g.next=D,g=E;var L=t.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==g&&(v===null?L.firstBaseUpdate=D:v.next=D,L.lastBaseUpdate=E))}if(f!==null){var q=c.baseState;g=0,L=D=E=null,v=f;do{var j=v.lane&-536870913,I=j!==v.lane;if(I?(de&j)===j:(o&j)===j){j!==0&&j===bd&&(I2=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{j=t;var At=v,zt=e,Ie=a;switch(At.tag){case x5:if(At=At.payload,typeof At=="function"){Wp=!0;var we=At.call(Ie,q,zt);if(j.mode&Ja){Ut(!0);try{At.call(Ie,q,zt)}finally{Ut(!1)}}Wp=!1,q=we;break t}q=At;break t;case W2:j.flags=j.flags&-65537|128;case S5:if(we=At.payload,typeof we=="function"){if(Wp=!0,At=we.call(Ie,q,zt),j.mode&Ja){Ut(!0);try{we.call(Ie,q,zt)}finally{Ut(!1)}}Wp=!1}else At=we;if(At==null)break t;q=se({},q,At);break t;case T5:Cc=!0}}j=v.callback,j!==null&&(t.flags|=64,I&&(t.flags|=8192),I=c.callbacks,I===null?c.callbacks=[j]:I.push(j))}else I={lane:j,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(D=L=I,E=q):L=L.next=I,g|=j;if(v=v.next,v===null){if(v=c.shared.pending,v===null)break;I=v,v=I.next,I.next=null,c.lastBaseUpdate=I,c.shared.pending=null}}while(!0);L===null&&(E=q),c.baseState=E,c.firstBaseUpdate=D,c.lastBaseUpdate=L,f===null&&(c.shared.lanes=0),Oc|=g,t.lanes=g,t.memoizedState=q}P2=null}function du(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function bg(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)du(a[t],e)}function zs(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)du(a[t],e)}function Rh(t,e){var a=Yu;Nt(t1,a,t),Nt(nm,e,t),Yu=a|e.baseLanes}function Ao(t){Nt(t1,Yu,t),Nt(nm,nm.current,t)}function ti(t){Yu=t1.current,xt(nm,t),xt(t1,t)}function Aa(t){var e=t.alternate;Nt(Bn,Bn.current&am,t),Nt(mi,t,t),so===null&&(e===null||nm.current!==null||e.memoizedState!==null)&&(so=t)}function ei(t){Nt(Bn,Bn.current,t),Nt(mi,t,t),so===null&&(so=t)}function Dh(t){t.tag===22?(Nt(Bn,Bn.current,t),Nt(mi,t,t),so===null&&(so=t)):Hi(t)}function Hi(t){Nt(Bn,Bn.current,t),Nt(mi,mi.current,t)}function Xn(t){xt(mi,t),so===t&&(so=null),xt(Bn,t)}function fr(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Wf(a)||g0(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Pt(){var t=tt;fo===null?fo=[t]:fo.push(t)}function pt(){var t=tt;if(fo!==null&&($r++,fo[$r]!==t)){var e=K(It);if(!E5.has(e)&&(E5.add(e),fo!==null)){for(var a="",o=0;o<=$r;o++){var c=fo[o],f=o===$r?t:c;for(c=o+1+". "+c;30>c.length;)c+=" ";c+=f+`
|
|
116
116
|
`,a+=c}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
|
|
117
117
|
|
|
118
118
|
Previous render Next render
|
|
119
119
|
------------------------------------------------------
|
|
120
120
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
121
|
-
`,e,a)}}}function
|
|
121
|
+
`,e,a)}}}function Ro(t){t==null||zn(t)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",tt,typeof t)}function gf(){var t=K(It);R5.has(t)||(R5.add(t),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",t))}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:
|
|
122
122
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
123
123
|
2. You might be breaking the Rules of Hooks
|
|
124
124
|
3. You might have more than one copy of React in the same app
|
|
125
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
125
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Sg(t,e){if(yy)return!1;if(e===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.",tt),!1;t.length!==e.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
126
126
|
|
|
127
127
|
Previous: %s
|
|
128
|
-
Incoming: %s`,I,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!bl(t[a],e[a]))return!1;return!0}function vg(t,e,a,o,c,f){Zr=f,It=e,fo=t!==null?t._debugHookTypes:null,Jr=-1,py=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=K(It),P2.has(f)||(P2.add(f),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.",f===null?"An unknown Component":"<"+f+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,nt.H=t!==null&&t.memoizedState!==null?tx:fo!==null?E5:I2,wd=f=(e.mode&Ja)!==Ft;var g=Q2(a,o,c);if(wd=!1,am&&(g=gf(e,a,o,c)),f){_t(!0);try{g=gf(e,a,o,c)}finally{_t(!1)}}return xn(t,e),g}function xn(t,e){e._debugHookTypes=fo,e.dependencies===null?Kr!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:Kr}):e.dependencies._debugThenableState=Kr,nt.H=my;var a=$e!==null&&$e.next!==null;if(Zr=0,fo=I=Wn=$e=It=null,Jr=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),e1=!1,hy=0,Kr=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||Pn||(t=t.dependencies,t!==null&&Ts(t)&&(Pn=!0)),cy?(cy=!1,t=!0):t=!1,t&&(e=K(e)||"Unknown",T5.has(e)||P2.has(e)||(T5.add(e),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 gf(t,e,a,o){It=t;var c=0;do{if(am&&(Kr=null),hy=0,am=!1,c>=F_)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,py=!1,Wn=$e=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}Jr=-1,nt.H=A5,f=Q2(e,a,o)}while(am);return f}function yf(){var t=nt.H,e=t.useState()[0];return e=typeof e.then=="function"?Sf(e):e,t=t.useState()[0],($e!==null?$e.memoizedState:null)!==t&&(It.flags|=1024),e}function fr(){var t=n1!==0;return n1=0,t}function vf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&Vo)!==Ft?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function du(t){if(e1){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}e1=!1}Zr=0,fo=Wn=$e=It=null,Jr=-1,I=null,am=!1,hy=n1=0,Kr=null}function Dn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wn===null?It.memoizedState=Wn=t:Wn=Wn.next=t,Wn}function He(){if($e===null){var t=It.alternate;t=t!==null?t.memoizedState:null}else t=$e.next;var e=Wn===null?It.memoizedState:Wn.next;if(e!==null)Wn=e,$e=t;else{if(t===null)throw It.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.");$e=t,t={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},Wn===null?It.memoizedState=Wn=t:Wn=Wn.next=t}return Wn}function bf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Sf(t){var e=hy;return hy+=1,Kr===null&&(Kr=Th()),t=il(Kr,t,e),e=It,(Wn===null?e.memoizedState:Wn.next)===null&&(e=e.alternate,nt.H=e!==null&&e.memoizedState!==null?tx:I2),t}function Ro(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Sf(t);if(t.$$typeof===fi)return _e(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function ul(t){var e=null,a=It.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var o=It.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(e={data:o.data.map(function(c){return c.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=bf(),It.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||py)for(a=e.data[e.index]=Array(t),o=0;o<t;o++)a[o]=v2;else a.length!==t&&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,t);return e.index++,a}function rl(t,e){return typeof e=="function"?e(t):e}function Cs(t,e,a){var o=Dn();if(a!==void 0){var c=a(e);if(wd){_t(!0);try{a(e)}finally{_t(!1)}}}else c=e;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=h2.bind(null,It,t),[o.memoizedState,t]}function dr(t){var e=He();return hu(e,$e,t)}function hu(t,e,a){var o=t.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 c=t.baseQueue,f=o.pending;if(f!==null){if(c!==null){var g=c.next;c.next=f.next,f.next=g}e.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=c=f,o.pending=null}if(f=t.baseState,c===null)t.memoizedState=f;else{e=c.next;var v=g=null,E=null,D=e,k=!1;do{var q=D.lane&-536870913;if(q!==D.lane?(de&q)===q:(Zr&q)===q){var j=D.revertLane;if(j===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),q===vd&&(k=!0);else if((Zr&j)===j){D=D.next,j===vd&&(k=!0);continue}else q={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(v=E=q,g=f):E=E.next=q,It.lanes|=j,zc|=j;q=D.action,wd&&a(f,q),f=D.hasEagerState?D.eagerState:a(f,q)}else j={lane:q,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(v=E=j,g=f):E=E.next=j,It.lanes|=q,zc|=q;D=D.next}while(D!==null&&D!==e);if(E===null?g=f:E.next=v,!bl(f,t.memoizedState)&&(Pn=!0,k&&(a=Wp,a!==null)))throw a;t.memoizedState=f,t.baseState=g,t.baseQueue=E,o.lastRenderedState=f}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function hr(t){var e=He(),a=e.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=t;var o=a.dispatch,c=a.pending,f=e.memoizedState;if(c!==null){a.pending=null;var g=c=c.next;do f=t(f,g.action),g=g.next;while(g!==c);bl(f,e.memoizedState)||(Pn=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),a.lastRenderedState=f}return[f,o]}function zs(t,e,a){var o=It,c=Dn();if(Se){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();nm||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),nm=!0)}else{if(f=e(),nm||(a=e(),bl(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),nm=!0)),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(de&127)!==0||bg(o,e,f)}return c.memoizedState=f,a={value:f,getSnapshot:e},c.queue=a,gr(pu.bind(null,o,a,t),[t]),o.flags|=2048,Bi(co|Tl,{destroy:void 0},Sg.bind(null,o,a,f,e),null),f}function pr(t,e,a){var o=It,c=He(),f=Se;if(f){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=e(),!nm){var g=e();bl(a,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),nm=!0)}(g=!bl(($e||c).memoizedState,a))&&(c.memoizedState=a,Pn=!0),c=c.queue;var v=pu.bind(null,o,c,t);if(Un(2048,Tl,v,[t]),c.getSnapshot!==e||g||Wn!==null&&Wn.memoizedState.tag&co){if(o.flags|=2048,Bi(co|Tl,{destroy:void 0},Sg.bind(null,o,c,a,e),null),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Zr&127)!==0||bg(o,e,a)}return a}function bg(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=It.updateQueue,e===null?(e=bf(),It.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Sg(t,e,a,o){e.value=a,e.getSnapshot=o,mu(e)&&xg(t)}function pu(t,e,a){return a(function(){mu(e)&&(Oi(2,"updateSyncExternalStore()",t),xg(t))})}function mu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!bl(t,a)}catch{return!0}}function xg(t){var e=fa(t,2);e!==null&&Wt(e,t,2)}function Rh(t){var e=Dn();if(typeof t=="function"){var a=t;if(t=a(),wd){_t(!0);try{a()}finally{_t(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:t},e}function gu(t){t=Rh(t);var e=t.queue,a=_h.bind(null,It,e);return e.dispatch=a,[t.memoizedState,a]}function mr(t){var e=Dn();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Df.bind(null,It,!0,a),a.dispatch=e,[t,e]}function xf(t,e){var a=He();return Ms(a,$e,t,e)}function Ms(t,e,a,o){return t.baseState=a,hu(t,$e,typeof o=="function"?o:rl)}function Tf(t,e){var a=He();return $e!==null?Ms(a,$e,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Mv(t,e,a,o,c){if(Qn(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var f={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){f.listeners.push(g)}};nt.T!==null?a(!0):f.isTransition=!1,o(f),a=e.pending,a===null?(f.next=e.pending=f,yu(e,f)):(f.next=a.next,e.pending=a.next=f)}}function yu(t,e){var a=e.action,o=e.payload,c=t.state;if(e.isTransition){var f=nt.T,g={};g._updatedFibers=new Set,nt.T=g;try{var v=a(c,o),E=nt.S;E!==null&&E(g,v),Tg(t,e,v)}catch(D){wf(t,e,D)}finally{f!==null&&g.types!==null&&(f.types!==null&&f.types!==g.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."),f.types=g.types),nt.T=f,f===null&&g._updatedFibers&&(t=g._updatedFibers.size,g._updatedFibers.clear(),10<t&&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{g=a(c,o),Tg(t,e,g)}catch(D){wf(t,e,D)}}function Tg(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(nt.asyncTransitions++,a.then(yr,yr),a.then(function(o){Do(t,e,o)},function(o){return wf(t,e,o)}),e.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.")):Do(t,e,a)}function Do(t,e,a){e.status="fulfilled",e.value=a,Dh(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,yu(t,a)))}function wf(t,e,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do e.status="rejected",e.reason=a,Dh(e),e=e.next;while(e!==o)}t.action=null}function Dh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Co(t,e){return e}function sl(t,e){if(Se){var a=Fe.formState;if(a!==null){t:{var o=It;if(Se){if(on){e:{for(var c=on,f=uo;c.nodeType!==8;){if(!f){c=null;break e}if(c=ml(c.nextSibling),c===null){c=null;break e}}f=c.data,c=f===wx||f===cR?c:null}if(c){on=ml(c.nextSibling),o=c.data===wx;break t}}zl(o)}o=!1}o&&(e=a[0])}}return a=Dn(),a.memoizedState=a.baseState=e,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},a.queue=o,a=_h.bind(null,It,o),o.dispatch=a,o=Rh(!1),f=Df.bind(null,It,!1,o.queue),o=Dn(),c={state:e,dispatch:null,action:t,pending:null},o.queue=c,a=Mv.bind(null,It,c,f,a),c.dispatch=a,o.memoizedState=t,[e,a,!1]}function vu(t){var e=He();return Ch(e,$e,t)}function Ch(t,e,a){if(e=hu(t,e,Co)[0],t=dr(rl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var o=Sf(e)}catch(g){throw g===Pp?Wb:g}else o=e;e=He();var c=e.queue,f=c.dispatch;return a!==e.memoizedState&&(It.flags|=2048,Bi(co|Tl,{destroy:void 0},wg.bind(null,c,a),null)),[o,f,t]}function wg(t,e){t.action=e}function bu(t){var e=He(),a=$e;if(a!==null)return Ch(e,a,t);He(),e=e.memoizedState,a=He();var o=a.queue.dispatch;return a.memoizedState=t,[e,o,!1]}function Bi(t,e,a,o){return t={tag:t,create:a,deps:o,inst:e,next:null},e=It.updateQueue,e===null&&(e=bf(),It.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(o=a.next,a.next=t,t.next=o,e.lastEffect=t),t}function zh(t){var e=Dn();return t={current:t},e.memoizedState=t}function Su(t,e,a,o){var c=Dn();It.flags|=t,c.memoizedState=Bi(co|e,{destroy:void 0},a,o===void 0?null:o)}function Un(t,e,a,o){var c=He();o=o===void 0?null:o;var f=c.memoizedState.inst;$e!==null&&o!==null&&yg(o,$e.memoizedState.deps)?c.memoizedState=Bi(e,f,a,o):(It.flags|=t,c.memoizedState=Bi(co|e,f,a,o))}function gr(t,e){(It.mode&Vo)!==Ft?Su(276826112,Tl,t,e):Su(8390656,Tl,t,e)}function Ov(t){It.flags|=4;var e=It.updateQueue;if(e===null)e=bf(),It.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Ef(t){var e=Dn(),a={impl:t};return e.memoizedState=a,function(){if((Re&ra)!==va)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Os(t){var e=He().memoizedState;return Ov({ref:e,nextImpl:t}),function(){if((Re&ra)!==va)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function Ra(t,e){var a=4194308;return(It.mode&Vo)!==Ft&&(a|=134217728),Su(a,gi,t,e)}function cl(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.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(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function Li(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var o=4194308;(It.mode&Vo)!==Ft&&(o|=134217728),Su(o,gi,cl.bind(null,e,t),a)}function _s(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,Un(4,gi,cl.bind(null,e,t),a)}function Mh(t,e){return Dn().memoizedState=[t,e===void 0?null:e],t}function ni(t,e){var a=He();e=e===void 0?null:e;var o=a.memoizedState;return e!==null&&yg(e,o[1])?o[0]:(a.memoizedState=[t,e],t)}function Da(t,e){var a=Dn();e=e===void 0?null:e;var o=t();if(wd){_t(!0);try{t()}finally{_t(!1)}}return a.memoizedState=[o,e],o}function en(t,e){var a=He();e=e===void 0?null:e;var o=a.memoizedState;if(e!==null&&yg(e,o[1]))return o[0];if(o=t(),wd){_t(!0);try{t()}finally{_t(!1)}}return a.memoizedState=[o,e],o}function Us(t,e){var a=Dn();return Be(a,t,e)}function ki(t,e){var a=He();return Tn(a,$e.memoizedState,t,e)}function le(t,e){var a=He();return $e===null?Be(a,t,e):Tn(a,$e.memoizedState,t,e)}function Be(t,e,a){return a===void 0||(Zr&1073741824)!==0&&(de&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Ys(),It.lanes|=t,zc|=t,a)}function Tn(t,e,a,o){return bl(a,e)?a:tm.current!==null?(t=Be(t,a,o),bl(t,e)||(Pn=!0),t):(Zr&42)===0||(Zr&1073741824)!==0&&(de&261930)===0?(Pn=!0,t.memoizedState=a):(t=Ys(),It.lanes|=t,zc|=t,e)}function yr(){nt.asyncTransitions--}function vr(t,e,a,o,c){var f=je.p;je.p=f!==0&&f<oa?f:oa;var g=nt.T,v={};v._updatedFibers=new Set,nt.T=v,Df(t,!1,e,a);try{var E=c(),D=nt.S;if(D!==null&&D(v,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){nt.asyncTransitions++,E.then(yr,yr);var k=xh(E,o);br(t,e,k,ha(t))}else br(t,e,o,ha(t))}catch(q){br(t,e,{then:function(){},status:"rejected",reason:q},ha(t))}finally{je.p=f,g!==null&&v.types!==null&&(g.types!==null&&g.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."),g.types=v.types),nt.T=g,g===null&&v._updatedFibers&&(t=v._updatedFibers.size,v._updatedFibers.clear(),10<t&&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 zo(t,e,a,o){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Af(t).queue;Cv(t),vr(t,c,e,jd,a===null?A:function(){return js(t),a(o)})}function Af(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:jd,baseState:jd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:jd},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function js(t){nt.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=Af(t);e.next===null&&(e=t.alternate.memoizedState),br(t,e.next.queue,{},ha(t))}function xu(){var t=Rh(!1);return t=vr.bind(null,It,t.queue,!0,!1),Dn().memoizedState=t,[!1,t]}function _v(){var t=dr(rl)[0],e=He().memoizedState;return[typeof t=="boolean"?t:Sf(t),e]}function sn(){var t=hr(rl)[0],e=He().memoizedState;return[typeof t=="boolean"?t:Sf(t),e]}function Mo(){return _e(My)}function Rf(){var t=Dn(),e=Fe.identifierPrefix;if(Se){var a=Yr,o=Vr;a=(o&~(1<<32-ia(o)-1)).toString(32)+a,e="_"+e+"R_"+a,a=n1++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=$_++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Oh(){return Dn().memoizedState=Uv.bind(null,It)}function Uv(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var o=ha(a),c=_n(o),f=ji(a,c,o);f!==null&&(Oi(o,"refresh()",t),Wt(f,a,o),jl(f,a,o)),t=bh(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function h2(t,e,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=ha(t);var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Qn(t)?mn(e,c):(c=tr(t,e,c,o),c!==null&&(Oi(o,"dispatch()",t),Wt(c,t,o),Cf(c,e,o)))}function _h(t,e,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=ha(t),br(t,e,a,o)&&Oi(o,"setState()",t)}function br(t,e,a,o){var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Qn(t))mn(e,c);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null)){var g=nt.H;nt.H=qo;try{var v=e.lastRenderedState,E=f(v,a);if(c.hasEagerState=!0,c.eagerState=E,bl(E,v))return bs(t,e,c,0),Fe===null&&hh(),!1}catch{}finally{nt.H=g}}if(a=tr(t,e,c,o),a!==null)return Wt(a,t,o),Cf(a,e,o),!0}return!1}function Df(t,e,a,o){if(nt.T===null&&vd===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:c0(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Qn(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=tr(t,a,o,2),e!==null&&(Oi(2,"setOptimistic()",t),Wt(e,t,2))}function Qn(t){var e=t.alternate;return t===It||e!==null&&e===It}function mn(t,e){am=e1=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Cf(t,e,a){if((a&4194048)!==0){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,Jc(t,a)}}function Sr(t){if(t!==null&&typeof t!="function"){var e=String(t);H5.has(e)||(H5.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function Ns(t,e,a,o){var c=t.memoizedState,f=a(o,c);if(t.mode&Ja){_t(!0);try{f=a(o,c)}finally{_t(!1)}}f===void 0&&(e=Z(e)||"Component",_5.has(e)||(_5.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=f==null?c:se({},c,f),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function Uh(t,e,a,o,c,f,g){var v=t.stateNode;if(typeof v.shouldComponentUpdate=="function"){if(a=v.shouldComponentUpdate(o,f,g),t.mode&Ja){_t(!0);try{a=v.shouldComponentUpdate(o,f,g)}finally{_t(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Z(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!vs(a,o)||!vs(c,f):!0}function Vi(t,e,a,o){var c=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,o),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,o),e.state!==c&&(t=K(t)||"Component",D5.has(t)||(D5.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),ex.enqueueReplaceState(e,e.state,null))}function Yi(t,e){var a=e;if("ref"in e){a={};for(var o in e)o!=="ref"&&(a[o]=e[o])}if(t=t.defaultProps){a===e&&(a=se({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function jh(t){_2(t),console.warn(`%s
|
|
128
|
+
Incoming: %s`,tt,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!bl(t[a],e[a]))return!1;return!0}function xg(t,e,a,o,c,f){Kr=f,It=e,fo=t!==null?t._debugHookTypes:null,$r=-1,yy=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=K(It),tx.has(f)||(tx.add(f),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.",f===null?"An unknown Component":"<"+f+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,at.H=t!==null&&t.memoizedState!==null?nx:fo!==null?D5:ex,Ed=f=(e.mode&Ja)!==Ft;var g=K2(a,o,c);if(Ed=!1,im&&(g=yf(e,a,o,c)),f){Ut(!0);try{g=yf(e,a,o,c)}finally{Ut(!1)}}return xn(t,e),g}function xn(t,e){e._debugHookTypes=fo,e.dependencies===null?Jr!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:Jr}):e.dependencies._debugThenableState=Jr,at.H=vy;var a=$e!==null&&$e.next!==null;if(Kr=0,fo=tt=Wn=$e=It=null,$r=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),n1=!1,gy=0,Jr=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||Pn||(t=t.dependencies,t!==null&&Es(t)&&(Pn=!0)),hy?(hy=!1,t=!0):t=!1,t&&(e=K(e)||"Unknown",A5.has(e)||tx.has(e)||(A5.add(e),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 yf(t,e,a,o){It=t;var c=0;do{if(im&&(Jr=null),gy=0,im=!1,c>=e4)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,yy=!1,Wn=$e=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}$r=-1,at.H=C5,f=K2(e,a,o)}while(im);return f}function vf(){var t=at.H,e=t.useState()[0];return e=typeof e.then=="function"?xf(e):e,t=t.useState()[0],($e!==null?$e.memoizedState:null)!==t&&(It.flags|=1024),e}function dr(){var t=a1!==0;return a1=0,t}function bf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&Yo)!==Ft?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function hu(t){if(n1){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}n1=!1}Kr=0,fo=Wn=$e=It=null,$r=-1,tt=null,im=!1,gy=a1=0,Jr=null}function Dn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wn===null?It.memoizedState=Wn=t:Wn=Wn.next=t,Wn}function He(){if($e===null){var t=It.alternate;t=t!==null?t.memoizedState:null}else t=$e.next;var e=Wn===null?It.memoizedState:Wn.next;if(e!==null)Wn=e,$e=t;else{if(t===null)throw It.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.");$e=t,t={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},Wn===null?It.memoizedState=Wn=t:Wn=Wn.next=t}return Wn}function Sf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xf(t){var e=gy;return gy+=1,Jr===null&&(Jr=Eh()),t=il(Jr,t,e),e=It,(Wn===null?e.memoizedState:Wn.next)===null&&(e=e.alternate,at.H=e!==null&&e.memoizedState!==null?nx:ex),t}function Do(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return xf(t);if(t.$$typeof===fi)return _e(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function ul(t){var e=null,a=It.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var o=It.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(e={data:o.data.map(function(c){return c.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Sf(),It.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||yy)for(a=e.data[e.index]=Array(t),o=0;o<t;o++)a[o]=S2;else a.length!==t&&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,t);return e.index++,a}function rl(t,e){return typeof e=="function"?e(t):e}function Ms(t,e,a){var o=Dn();if(a!==void 0){var c=a(e);if(Ed){Ut(!0);try{a(e)}finally{Ut(!1)}}}else c=e;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=m2.bind(null,It,t),[o.memoizedState,t]}function hr(t){var e=He();return pu(e,$e,t)}function pu(t,e,a){var o=t.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 c=t.baseQueue,f=o.pending;if(f!==null){if(c!==null){var g=c.next;c.next=f.next,f.next=g}e.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=c=f,o.pending=null}if(f=t.baseState,c===null)t.memoizedState=f;else{e=c.next;var v=g=null,E=null,D=e,L=!1;do{var q=D.lane&-536870913;if(q!==D.lane?(de&q)===q:(Kr&q)===q){var j=D.revertLane;if(j===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),q===bd&&(L=!0);else if((Kr&j)===j){D=D.next,j===bd&&(L=!0);continue}else q={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(v=E=q,g=f):E=E.next=q,It.lanes|=j,Oc|=j;q=D.action,Ed&&a(f,q),f=D.hasEagerState?D.eagerState:a(f,q)}else j={lane:q,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(v=E=j,g=f):E=E.next=j,It.lanes|=q,Oc|=q;D=D.next}while(D!==null&&D!==e);if(E===null?g=f:E.next=v,!bl(f,t.memoizedState)&&(Pn=!0,L&&(a=Ip,a!==null)))throw a;t.memoizedState=f,t.baseState=g,t.baseQueue=E,o.lastRenderedState=f}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function pr(t){var e=He(),a=e.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=t;var o=a.dispatch,c=a.pending,f=e.memoizedState;if(c!==null){a.pending=null;var g=c=c.next;do f=t(f,g.action),g=g.next;while(g!==c);bl(f,e.memoizedState)||(Pn=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),a.lastRenderedState=f}return[f,o]}function Os(t,e,a){var o=It,c=Dn();if(xe){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();lm||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),lm=!0)}else{if(f=e(),lm||(a=e(),bl(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),lm=!0)),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(de&127)!==0||Tg(o,e,f)}return c.memoizedState=f,a={value:f,getSnapshot:e},c.queue=a,yr(mu.bind(null,o,a,t),[t]),o.flags|=2048,Bi(co|Tl,{destroy:void 0},wg.bind(null,o,a,f,e),null),f}function mr(t,e,a){var o=It,c=He(),f=xe;if(f){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=e(),!lm){var g=e();bl(a,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),lm=!0)}(g=!bl(($e||c).memoizedState,a))&&(c.memoizedState=a,Pn=!0),c=c.queue;var v=mu.bind(null,o,c,t);if(Un(2048,Tl,v,[t]),c.getSnapshot!==e||g||Wn!==null&&Wn.memoizedState.tag&co){if(o.flags|=2048,Bi(co|Tl,{destroy:void 0},wg.bind(null,o,c,a,e),null),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Kr&127)!==0||Tg(o,e,a)}return a}function Tg(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=It.updateQueue,e===null?(e=Sf(),It.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function wg(t,e,a,o){e.value=a,e.getSnapshot=o,gu(e)&&Eg(t)}function mu(t,e,a){return a(function(){gu(e)&&(Oi(2,"updateSyncExternalStore()",t),Eg(t))})}function gu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!bl(t,a)}catch{return!0}}function Eg(t){var e=fa(t,2);e!==null&&Wt(e,t,2)}function Ch(t){var e=Dn();if(typeof t=="function"){var a=t;if(t=a(),Ed){Ut(!0);try{a()}finally{Ut(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:t},e}function yu(t){t=Ch(t);var e=t.queue,a=jh.bind(null,It,e);return e.dispatch=a,[t.memoizedState,a]}function gr(t){var e=Dn();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Cf.bind(null,It,!0,a),a.dispatch=e,[t,e]}function Tf(t,e){var a=He();return _s(a,$e,t,e)}function _s(t,e,a,o){return t.baseState=a,pu(t,$e,typeof o=="function"?o:rl)}function wf(t,e){var a=He();return $e!==null?_s(a,$e,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Ov(t,e,a,o,c){if(Qn(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var f={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){f.listeners.push(g)}};at.T!==null?a(!0):f.isTransition=!1,o(f),a=e.pending,a===null?(f.next=e.pending=f,vu(e,f)):(f.next=a.next,e.pending=a.next=f)}}function vu(t,e){var a=e.action,o=e.payload,c=t.state;if(e.isTransition){var f=at.T,g={};g._updatedFibers=new Set,at.T=g;try{var v=a(c,o),E=at.S;E!==null&&E(g,v),Ag(t,e,v)}catch(D){Ef(t,e,D)}finally{f!==null&&g.types!==null&&(f.types!==null&&f.types!==g.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."),f.types=g.types),at.T=f,f===null&&g._updatedFibers&&(t=g._updatedFibers.size,g._updatedFibers.clear(),10<t&&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{g=a(c,o),Ag(t,e,g)}catch(D){Ef(t,e,D)}}function Ag(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(at.asyncTransitions++,a.then(vr,vr),a.then(function(o){Co(t,e,o)},function(o){return Ef(t,e,o)}),e.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.")):Co(t,e,a)}function Co(t,e,a){e.status="fulfilled",e.value=a,zh(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,vu(t,a)))}function Ef(t,e,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do e.status="rejected",e.reason=a,zh(e),e=e.next;while(e!==o)}t.action=null}function zh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function zo(t,e){return e}function sl(t,e){if(xe){var a=Fe.formState;if(a!==null){t:{var o=It;if(xe){if(on){e:{for(var c=on,f=uo;c.nodeType!==8;){if(!f){c=null;break e}if(c=ml(c.nextSibling),c===null){c=null;break e}}f=c.data,c=f===Ax||f===hR?c:null}if(c){on=ml(c.nextSibling),o=c.data===Ax;break t}}zl(o)}o=!1}o&&(e=a[0])}}return a=Dn(),a.memoizedState=a.baseState=e,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},a.queue=o,a=jh.bind(null,It,o),o.dispatch=a,o=Ch(!1),f=Cf.bind(null,It,!1,o.queue),o=Dn(),c={state:e,dispatch:null,action:t,pending:null},o.queue=c,a=Ov.bind(null,It,c,f,a),c.dispatch=a,o.memoizedState=t,[e,a,!1]}function bu(t){var e=He();return Mh(e,$e,t)}function Mh(t,e,a){if(e=pu(t,e,zo)[0],t=hr(rl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var o=xf(e)}catch(g){throw g===tm?Pb:g}else o=e;e=He();var c=e.queue,f=c.dispatch;return a!==e.memoizedState&&(It.flags|=2048,Bi(co|Tl,{destroy:void 0},Rg.bind(null,c,a),null)),[o,f,t]}function Rg(t,e){t.action=e}function Su(t){var e=He(),a=$e;if(a!==null)return Mh(e,a,t);He(),e=e.memoizedState,a=He();var o=a.queue.dispatch;return a.memoizedState=t,[e,o,!1]}function Bi(t,e,a,o){return t={tag:t,create:a,deps:o,inst:e,next:null},e=It.updateQueue,e===null&&(e=Sf(),It.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(o=a.next,a.next=t,t.next=o,e.lastEffect=t),t}function Oh(t){var e=Dn();return t={current:t},e.memoizedState=t}function xu(t,e,a,o){var c=Dn();It.flags|=t,c.memoizedState=Bi(co|e,{destroy:void 0},a,o===void 0?null:o)}function Un(t,e,a,o){var c=He();o=o===void 0?null:o;var f=c.memoizedState.inst;$e!==null&&o!==null&&Sg(o,$e.memoizedState.deps)?c.memoizedState=Bi(e,f,a,o):(It.flags|=t,c.memoizedState=Bi(co|e,f,a,o))}function yr(t,e){(It.mode&Yo)!==Ft?xu(276826112,Tl,t,e):xu(8390656,Tl,t,e)}function _v(t){It.flags|=4;var e=It.updateQueue;if(e===null)e=Sf(),It.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Af(t){var e=Dn(),a={impl:t};return e.memoizedState=a,function(){if((Re&ra)!==va)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Us(t){var e=He().memoizedState;return _v({ref:e,nextImpl:t}),function(){if((Re&ra)!==va)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function Ra(t,e){var a=4194308;return(It.mode&Yo)!==Ft&&(a|=134217728),xu(a,gi,t,e)}function cl(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.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(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function ki(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var o=4194308;(It.mode&Yo)!==Ft&&(o|=134217728),xu(o,gi,cl.bind(null,e,t),a)}function js(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,Un(4,gi,cl.bind(null,e,t),a)}function _h(t,e){return Dn().memoizedState=[t,e===void 0?null:e],t}function ni(t,e){var a=He();e=e===void 0?null:e;var o=a.memoizedState;return e!==null&&Sg(e,o[1])?o[0]:(a.memoizedState=[t,e],t)}function Da(t,e){var a=Dn();e=e===void 0?null:e;var o=t();if(Ed){Ut(!0);try{t()}finally{Ut(!1)}}return a.memoizedState=[o,e],o}function en(t,e){var a=He();e=e===void 0?null:e;var o=a.memoizedState;if(e!==null&&Sg(e,o[1]))return o[0];if(o=t(),Ed){Ut(!0);try{t()}finally{Ut(!1)}}return a.memoizedState=[o,e],o}function Ns(t,e){var a=Dn();return Be(a,t,e)}function Li(t,e){var a=He();return Tn(a,$e.memoizedState,t,e)}function le(t,e){var a=He();return $e===null?Be(a,t,e):Tn(a,$e.memoizedState,t,e)}function Be(t,e,a){return a===void 0||(Kr&1073741824)!==0&&(de&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Gs(),It.lanes|=t,Oc|=t,a)}function Tn(t,e,a,o){return bl(a,e)?a:nm.current!==null?(t=Be(t,a,o),bl(t,e)||(Pn=!0),t):(Kr&42)===0||(Kr&1073741824)!==0&&(de&261930)===0?(Pn=!0,t.memoizedState=a):(t=Gs(),It.lanes|=t,Oc|=t,e)}function vr(){at.asyncTransitions--}function br(t,e,a,o,c){var f=je.p;je.p=f!==0&&f<oa?f:oa;var g=at.T,v={};v._updatedFibers=new Set,at.T=v,Cf(t,!1,e,a);try{var E=c(),D=at.S;if(D!==null&&D(v,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){at.asyncTransitions++,E.then(vr,vr);var L=wh(E,o);Sr(t,e,L,ha(t))}else Sr(t,e,o,ha(t))}catch(q){Sr(t,e,{then:function(){},status:"rejected",reason:q},ha(t))}finally{je.p=f,g!==null&&v.types!==null&&(g.types!==null&&g.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."),g.types=v.types),at.T=g,g===null&&v._updatedFibers&&(t=v._updatedFibers.size,v._updatedFibers.clear(),10<t&&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 Mo(t,e,a,o){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Rf(t).queue;zv(t),br(t,c,e,Nd,a===null?A:function(){return Hs(t),a(o)})}function Rf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Nd,baseState:Nd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:Nd},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Hs(t){at.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=Rf(t);e.next===null&&(e=t.alternate.memoizedState),Sr(t,e.next.queue,{},ha(t))}function Tu(){var t=Ch(!1);return t=br.bind(null,It,t.queue,!0,!1),Dn().memoizedState=t,[!1,t]}function Uv(){var t=hr(rl)[0],e=He().memoizedState;return[typeof t=="boolean"?t:xf(t),e]}function sn(){var t=pr(rl)[0],e=He().memoizedState;return[typeof t=="boolean"?t:xf(t),e]}function Oo(){return _e(Uy)}function Df(){var t=Dn(),e=Fe.identifierPrefix;if(xe){var a=qr,o=Yr;a=(o&~(1<<32-ia(o)-1)).toString(32)+a,e="_"+e+"R_"+a,a=a1++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=t4++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Uh(){return Dn().memoizedState=jv.bind(null,It)}function jv(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var o=ha(a),c=_n(o),f=ji(a,c,o);f!==null&&(Oi(o,"refresh()",t),Wt(f,a,o),jl(f,a,o)),t=xh(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function m2(t,e,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=ha(t);var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Qn(t)?mn(e,c):(c=er(t,e,c,o),c!==null&&(Oi(o,"dispatch()",t),Wt(c,t,o),zf(c,e,o)))}function jh(t,e,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=ha(t),Sr(t,e,a,o)&&Oi(o,"setState()",t)}function Sr(t,e,a,o){var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Qn(t))mn(e,c);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null)){var g=at.H;at.H=Go;try{var v=e.lastRenderedState,E=f(v,a);if(c.hasEagerState=!0,c.eagerState=E,bl(E,v))return xs(t,e,c,0),Fe===null&&mh(),!1}catch{}finally{at.H=g}}if(a=er(t,e,c,o),a!==null)return Wt(a,t,o),zf(a,e,o),!0}return!1}function Cf(t,e,a,o){if(at.T===null&&bd===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:h0(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Qn(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=er(t,a,o,2),e!==null&&(Oi(2,"setOptimistic()",t),Wt(e,t,2))}function Qn(t){var e=t.alternate;return t===It||e!==null&&e===It}function mn(t,e){im=n1=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function zf(t,e,a){if((a&4194048)!==0){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,$c(t,a)}}function xr(t){if(t!==null&&typeof t!="function"){var e=String(t);L5.has(e)||(L5.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function Bs(t,e,a,o){var c=t.memoizedState,f=a(o,c);if(t.mode&Ja){Ut(!0);try{f=a(o,c)}finally{Ut(!1)}}f===void 0&&(e=Z(e)||"Component",N5.has(e)||(N5.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=f==null?c:se({},c,f),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function Nh(t,e,a,o,c,f,g){var v=t.stateNode;if(typeof v.shouldComponentUpdate=="function"){if(a=v.shouldComponentUpdate(o,f,g),t.mode&Ja){Ut(!0);try{a=v.shouldComponentUpdate(o,f,g)}finally{Ut(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Z(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!Ss(a,o)||!Ss(c,f):!0}function Vi(t,e,a,o){var c=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,o),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,o),e.state!==c&&(t=K(t)||"Component",M5.has(t)||(M5.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),ax.enqueueReplaceState(e,e.state,null))}function Yi(t,e){var a=e;if("ref"in e){a={};for(var o in e)o!=="ref"&&(a[o]=e[o])}if(t=t.defaultProps){a===e&&(a=se({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function Hh(t){j2(t),console.warn(`%s
|
|
129
129
|
|
|
130
130
|
%s
|
|
131
|
-
`,
|
|
132
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function
|
|
131
|
+
`,om?"An error occurred in the <"+om+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
132
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Bh(t){var e=om?"The above error occurred in the <"+om+"> 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, "+((lx||"Anonymous")+".");if(typeof t=="object"&&t!==null&&typeof t.environmentName=="string"){var o=t.environmentName;t=[`%o
|
|
133
133
|
|
|
134
134
|
%s
|
|
135
135
|
|
|
136
136
|
%s
|
|
137
|
-
`,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,
|
|
137
|
+
`,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,xR+" "+t[0],TR,C1+o+C1,wR):t.splice(0,0,xR,TR,C1+o+C1,wR),t.unshift(console),o=x4.apply(console.error,t),o()}else console.error(`%o
|
|
138
138
|
|
|
139
139
|
%s
|
|
140
140
|
|
|
141
141
|
%s
|
|
142
|
-
`,t,e,a)}function
|
|
142
|
+
`,t,e,a)}function Dg(t){j2(t)}function Mf(t,e){try{om=e.source?K(e.source):null,lx=null;var a=e.value;if(at.actQueue!==null)at.thrownErrors.push(a);else{var o=t.onUncaughtError;o(a,{componentStack:e.stack})}}catch(c){setTimeout(function(){throw c})}}function Cg(t,e,a){try{om=a.source?K(a.source):null,lx=K(e);var o=t.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function kh(t,e,a){return a=_n(a),a.tag=W2,a.payload={element:null},a.callback=function(){Ct(e.source,Mf,t,e)},a}function Lh(t){return t=_n(t),t.tag=W2,t}function Vh(t,e,a,o){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var f=o.value;t.payload=function(){return c(f)},t.callback=function(){nr(a),Ct(o.source,Cg,e,a,o)}}var g=a.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){nr(a),Ct(o.source,Cg,e,a,o),typeof c!="function"&&(Uc===null?Uc=new Set([this]):Uc.add(this)),F_(this,o),typeof c=="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.",K(a)||"Unknown")})}function zg(t,e,a,o,c){if(a.flags|=32768,to&&Js(t,c),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(e=a.alternate,e!==null&&Wl(e,a,c,!0),xe&&(ku=!0),a=mi.current,a!==null){switch(a.tag){case 31:case 13:return so===null?Qs():a.alternate===null&&yn===Wr&&(yn=o1),a.flags&=-257,a.flags|=65536,a.lanes=c,o===Ib?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([o]):e.add(o),op(t,o,c)),!1;case 22:return a.flags|=65536,o===Ib?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([o]):a.add(o)),op(t,o,c)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return op(t,o,c),Qs(),!1}if(xe)return ku=!0,e=mi.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=c,o!==V2&&sf(xa(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!==V2&&sf(xa(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),a)),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=xa(o,a),c=kh(t.stateNode,o,c),mf(t,c),yn!==zc&&(yn=Ad)),!1;var f=xa(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(Ey===null?Ey=[f]:Ey.push(f),yn!==zc&&(yn=Ad),e===null)return!0;o=xa(o,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=c&-c,a.lanes|=t,t=kh(a.stateNode,o,t),mf(a,t),!1;case 1:if(e=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Uc===null||!Uc.has(f))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Lh(c),Vh(c,t,a,o),mf(a,c),!1}a=a.return}while(a!==null);return!1}function Zn(t,e,a,o){e.child=t===null?b5(e,null,a,o):wd(e,t.child,a,o)}function Nv(t,e,a,o,c){a=a.render;var f=e.ref;if("ref"in o){var g={};for(var v in o)v!=="ref"&&(g[v]=o[v])}else g=o;return fu(e),o=xg(t,e,a,g,f,c),v=dr(),t!==null&&!Pn?(bf(t,e,c),ai(t,e,c)):(xe&&v&&vh(e),e.flags|=1,Zn(t,e,o,c),e.child)}function Mg(t,e,a,o,c){if(t===null){var f=a.type;return typeof f=="function"&&!rg(f)&&f.defaultProps===void 0&&a.compare===null?(a=ou(f),e.tag=15,e.type=a,ks(e,f),Og(t,e,a,o,c)):(t=ar(a.type,null,o,e,e.mode,c),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!Qh(t,c)){var g=f.memoizedProps;if(a=a.compare,a=a!==null?a:Ss,a(g,o)&&t.ref===e.ref)return ai(t,e,c)}return e.flags|=1,t=Mi(f,o),t.ref=e.ref,t.return=e,e.child=t}function Og(t,e,a,o,c){if(t!==null){var f=t.memoizedProps;if(Ss(f,o)&&t.ref===e.ref&&e.type===t.type)if(Pn=!1,e.pendingProps=o=f,Qh(t,c))(t.flags&131072)!==0&&(Pn=!0);else return e.lanes=t.lanes,ai(t,e,c)}return Ng(t,e,a,o,c)}function _g(t,e,a,o){var c=o.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:I0,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|a:a,t!==null){for(o=e.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~f}else o=0,e.child=null;return Ug(t,e,f,a,o)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Rs(e,f!==null?f.cachePool:null),f!==null?Rh(e,f):Ao(e),Dh(e);else return o=e.lanes=536870912,Ug(t,e,f!==null?f.baseLanes|a:a,a,o)}else f!==null?(Rs(e,f.cachePool),Rh(e,f),Hi(e),e.memoizedState=null):(t!==null&&Rs(e,null),Ao(e),Hi(e));return Zn(t,e,c,a),e.child}function Tr(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:I0,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ug(t,e,a,o,c){var f=Eo();return f=f===null?null:{parent:$n._currentValue,pool:f},e.memoizedState={baseLanes:a,cachePool:f},t!==null&&Rs(e,null),Ao(e),Dh(e),t!==null&&Wl(t,e,o,!0),e.childLanes=c,null}function Of(t,e){var a=e.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
143
143
|
- <Activity %s>
|
|
144
|
-
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=
|
|
144
|
+
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=Uf({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function jg(t,e,a){return wd(e,t.child,null,a),t=Of(e,e.pendingProps),t.flags|=2,Xn(e),e.memoizedState=null,t}function Hv(t,e,a){var o=e.pendingProps,c=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(xe){if(o.mode==="hidden")return t=Of(e,o),e.lanes=536870912,Tr(null,t);if(ei(e),(t=on)?(a=Le(t,uo),a=a!==null&&a.data===Od?a:null,a!==null&&(o={dehydrated:a,treeContext:Rv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=cg(a),o.return=e,e.child=o,Ha=e,on=null)):a=null,a===null)throw da(e,t),zl(e);return e.lanes=536870912,null}return Of(e,o)}var f=t.memoizedState;if(f!==null){var g=f.dehydrated;if(ei(e),c)if(e.flags&256)e.flags&=-257,e=jg(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Cv(),(a&536870912)!==0&&Xs(e),Pn||Wl(t,e,a,!1),c=(a&t.childLanes)!==0,Pn||c){if(o=Fe,o!==null&&(g=Zu(o,a),g!==0&&g!==f.retryLane))throw f.retryLane=g,fa(t,g),Wt(o,t,g),ix;Qs(),e=jg(t,e,a)}else t=f.treeContext,on=ml(g.nextSibling),Ha=e,xe=!0,wc=null,ku=!1,pi=null,uo=!1,t!==null&&Dv(e,t),e=Of(e,o),e.flags|=4096;return e}return f=t.child,o={mode:o.mode,children:o.children},(a&536870912)!==0&&(a&t.lanes)!==0&&Xs(e),t=Mi(f,o),t.ref=e.ref,e.child=t,t.return=e,t}function _f(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.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.");(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Ng(t,e,a,o,c){if(a.prototype&&typeof a.prototype.render=="function"){var f=Z(a)||"Unknown";V5[f]||(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.",f,f),V5[f]=!0)}return e.mode&Ja&&qo.recordLegacyContextWarning(e,null),t===null&&(ks(e,e.type),a.contextTypes&&(f=Z(a)||"Unknown",q5[f]||(q5[f]=!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)",f)))),fu(e),a=xg(t,e,a,o,void 0,c),o=dr(),t!==null&&!Pn?(bf(t,e,c),ai(t,e,c)):(xe&&o&&vh(e),e.flags|=1,Zn(t,e,a,c),e.child)}function Hg(t,e,a,o,c,f){return fu(e),$r=-1,yy=t!==null&&t.type!==e.type,e.updateQueue=null,a=yf(e,o,a,c),xn(t,e),o=dr(),t!==null&&!Pn?(bf(t,e,f),ai(t,e,f)):(xe&&o&&vh(e),e.flags|=1,Zn(t,e,a,f),e.child)}function wr(t,e,a,o,c){switch(S(e)){case!1:var f=e.stateNode,g=new e.type(e.memoizedProps,f.context).state;f.updater.enqueueSetState(f,g,null);break;case!0:e.flags|=128,e.flags|=65536,f=Error("Simulated error coming from DevTools");var v=c&-c;if(e.lanes|=v,g=Fe,g===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");v=Lh(v),Vh(v,g,e,xa(f,e)),mf(e,v)}if(fu(e),e.stateNode===null){if(g=Tc,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==fi)&&!k5.has(a)&&(k5.add(a),v=f===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 f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===Cp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Z(a)||"Component",v)),typeof f=="object"&&f!==null&&(g=_e(f)),f=new a(o,g),e.mode&Ja){Ut(!0);try{f=new a(o,g)}finally{Ut(!1)}}if(g=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=ax,e.stateNode=f,f._reactInternals=e,f._reactInternalInstance=z5,typeof a.getDerivedStateFromProps=="function"&&g===null&&(g=Z(a)||"Component",O5.has(g)||(O5.add(g),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.",g,f.state===null?"null":"undefined",g))),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var E=v=g=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?g="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(g="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?v="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(v="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),g!==null||v!==null||E!==null){f=Z(a)||"Component";var D=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";U5.has(f)||(U5.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
145
145
|
|
|
146
146
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
147
147
|
|
|
@@ -149,8 +149,8 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
149
149
|
https://react.dev/link/unsafe-component-lifecycles`,f,D,g!==null?`
|
|
150
150
|
`+g:"",v!==null?`
|
|
151
151
|
`+v:"",E!==null?`
|
|
152
|
-
`+E:""))}}f=e.stateNode,g=Z(a)||"Component",f.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?",g):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",g)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.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?",g),f.getDefaultProps&&!f.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.",g),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",g),a.childContextTypes&&!
|
|
153
|
-
%s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=Z(e)||"Unknown",V5[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),V5[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=Z(e)||"Unknown",L5[e]||(console.error("%s: Function components do not support contextType.",e),L5[e]=!0))}function Bs(t){return{baseLanes:t,cachePool:hg()}}function kh(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=ql),t}function Vh(t,e,a){var o,c=e.pendingProps;b(e)&&(e.flags|=128);var f=!1,g=(e.flags&128)!==0;if((o=g)||(o=t!==null&&t.memoizedState===null?!1:(Bn.current&dy)!==0),o&&(f=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(Se){if(f?Aa(e):Hi(e),(t=on)?(a=ke(t,uo),a=a!==null&&a.data!==Md?a:null,a!==null&&(o={dehydrated:a,treeContext:Av(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=ug(a),o.return=e,e.child=o,Ha=e,on=null)):a=null,a===null)throw da(e,t),zl(e);return h0(a)?e.lanes=32:e.lanes=536870912,null}var v=c.children;if(c=c.fallback,f){Hi(e);var E=e.mode;return v=_f({mode:"hidden",children:v},E),c=ar(c,E,a,null),v.return=e,c.return=e,v.sibling=c,e.child=v,c=e.child,c.memoizedState=Bs(a),c.childLanes=kh(t,o,a),e.memoizedState=lx,xr(null,c)}return Aa(e),Ng(e,v)}var D=t.memoizedState;if(D!==null){var k=D.dehydrated;if(k!==null){if(g)e.flags&256?(Aa(e),e.flags&=-257,e=Yh(t,e,a)):e.memoizedState!==null?(Hi(e),e.child=t.child,e.flags|=128,e=null):(Hi(e),v=c.fallback,E=e.mode,c=_f({mode:"visible",children:c.children},E),v=ar(v,E,a,null),v.flags|=2,c.return=e,v.return=e,c.sibling=v,e.child=c,Td(e,t.child,null,a),c=e.child,c.memoizedState=Bs(a),c.childLanes=kh(t,o,a),e.memoizedState=lx,e=xr(null,c));else if(Aa(e),Dv(),(a&536870912)!==0&&qs(e),h0(k)){if(o=k.nextSibling&&k.nextSibling.dataset,o){v=o.dgst;var q=o.msg;E=o.stck;var j=o.cstck}f=q,o=v,c=E,k=j,v=f,E=k,v=Error(v||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),v.stack=c||"",v.digest=o,o=E===void 0?null:E,c={value:v,source:null,stack:o},typeof o=="string"&&B2.set(v,c),rf(c),e=Yh(t,e,a)}else if(Pn||Wl(t,e,a,!1),o=(a&t.childLanes)!==0,Pn||o){if(o=Fe,o!==null&&(c=Qu(o,a),c!==0&&c!==D.retryLane))throw D.retryLane=c,fa(t,c),Wt(o,t,c),ax;Ff(k)||Gs(),e=Yh(t,e,a)}else Ff(k)?(e.flags|=192,e.child=t.child,e=null):(t=D.treeContext,on=ml(k.nextSibling),Ha=e,Se=!0,xc=null,Bu=!1,pi=null,uo=!1,t!==null&&Rv(e,t),e=Ng(e,c.children),e.flags|=4096);return e}}return f?(Hi(e),v=c.fallback,E=e.mode,j=t.child,k=j.sibling,c=Mi(j,{mode:"hidden",children:c.children}),c.subtreeFlags=j.subtreeFlags&65011712,k!==null?v=Mi(k,v):(v=ar(v,E,a,null),v.flags|=2),v.return=e,c.return=e,c.sibling=v,e.child=c,xr(null,c),c=e.child,v=t.child.memoizedState,v===null?v=Bs(a):(E=v.cachePool,E!==null?(j=$n._currentValue,E=E.parent!==j?{parent:j,pool:j}:E):E=hg(),v={baseLanes:v.baseLanes|a,cachePool:E}),c.memoizedState=v,c.childLanes=kh(t,o,a),e.memoizedState=lx,xr(t.child,c)):(D!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&qs(e),Aa(e),a=t.child,t=a.sibling,a=Mi(a,{mode:"visible",children:c.children}),a.return=e,a.sibling=null,t!==null&&(o=e.deletions,o===null?(e.deletions=[t],e.flags|=16):o.push(t)),e.child=a,e.memoizedState=null,a)}function Ng(t,e){return e=_f({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function _f(t,e){return t=z(22,t,null,e),t.lanes=0,t}function Yh(t,e,a){return Td(e,t.child,null,a),t=Ng(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Hg(t,e,a){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),vh(t.return,e,a)}function qh(t,e,a,o,c,f){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:c,treeForkCount:f}:(g.isBackwards=e,g.rendering=null,g.renderingStartTime=0,g.last=o,g.tail=a,g.tailMode=c,g.treeForkCount=f)}function Bg(t,e,a){var o=e.pendingProps,c=o.revealOrder,f=o.tail,g=o.children,v=Bn.current;if((o=(v&dy)!==0)?(v=v&em|dy,e.flags|=128):v&=em,kt(Bn,v,e),v=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!Y5[v])if(Y5[v]=!0,c==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(c==="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 c=="string")switch(c.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.',c,c.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.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c);v=f??"null",l1[v]||(f==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(l1[v]=!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".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(l1[v]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):c!=="forwards"&&c!=="backwards"&&c!=="unstable_legacy-backwards"&&(l1[v]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));t:if((c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&g!==void 0&&g!==null&&g!==!1)if(zn(g)){for(v=0;v<g.length;v++)if(!Ze(g[v],v))break t}else if(v=Tt(g),typeof v=="function"){if(v=v.call(g))for(var E=v.next(),D=0;!E.done;E=v.next()){if(!Ze(E.value,D))break t;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?',c);if(Zn(t,e,g,a),Se?(uu(),g=W0):g=0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Hg(t,a,e);else if(t.tag===19)Hg(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(a=e.child,c=null;a!==null;)t=a.alternate,t!==null&&cr(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),qh(e,!1,c,a,f,g);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=e.child,e.child=null;c!==null;){if(t=c.alternate,t!==null&&cr(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}qh(e,!0,a,null,f,g);break;case"together":qh(e,!1,null,null,void 0,g);break;default:e.memoizedState=null}return e.child}function ai(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Sl=-1,zc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Wl(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=Mi(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=Mi(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Gh(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ts(t)))}function Hv(t,e,a){switch(e.tag){case 3:De(e,e.stateNode.containerInfo),Ml(e,$n,t.memoizedState.cache),ru();break;case 27:case 5:pt(e);break;case 4:De(e,e.stateNode.containerInfo);break;case 10:Ml(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var o=e.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,ei(e),null;break;case 13:if(o=e.memoizedState,o!==null)return o.dehydrated!==null?(Aa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Vh(t,e,a):(Aa(e),t=ai(t,e,a),t!==null?t.sibling:null);Aa(e);break;case 19:var c=(t.flags&128)!==0;if(o=(a&e.childLanes)!==0,o||(Wl(t,e,a,!1),o=(a&e.childLanes)!==0),c){if(o)return Bg(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),kt(Bn,Bn.current,e),o)break;return null;case 22:return e.lanes=0,zg(t,e,a,e.pendingProps);case 24:Ml(e,$n,t.memoizedState.cache)}return ai(t,e,a)}function Uf(t,e,a){if(e._debugNeedsRemount&&t!==null){a=nr(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var o=e.return;if(o===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===o.child)o.child=a;else{var c=o.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==e;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=a}return e=o.deletions,e===null?(o.deletions=[t],o.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)Pn=!0;else{if(!Gh(t,a)&&(e.flags&128)===0)return Pn=!1,Hv(t,e,a);Pn=(t.flags&131072)!==0}else Pn=!1,(o=Se)&&(uu(),o=(e.flags&1048576)!==0),o&&(o=e.index,uu(),rg(e,W0,o));switch(e.lanes=0,e.tag){case 16:t:if(o=e.pendingProps,t=ol(e.elementType),e.type=t,typeof t=="function")ig(t)?(o=Yi(t,o),e.tag=1,e.type=t=iu(t),e=Tr(null,e,t,o,a)):(e.tag=0,Hs(e,t),e.type=t=iu(t),e=_g(null,e,t,o,a));else{if(t!=null){if(c=t.$$typeof,c===oc){e.tag=11,e.type=t=ph(t),e=jv(null,e,t,o,a);break t}else if(c===od){e.tag=14,e=Dg(null,e,t,o,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===pa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=Z(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return _g(t,e,e.type,e.pendingProps,a);case 1:return o=e.type,c=Yi(o,e.pendingProps),Tr(t,e,o,c,a);case 3:t:{if(De(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");o=e.pendingProps;var f=e.memoizedState;c=f.element,Ui(t,e),Ni(e,o,null,a);var g=e.memoizedState;if(o=g.cache,Ml(e,$n,o),o!==f.cache&&So(e,[$n],a,!0),Rs(),o=g.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:g.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=jg(t,e,o,a);break t}else if(o!==c){c=xa(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),rf(c),e=jg(t,e,o,a);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,on=ml(t.firstChild),Ha=e,Se=!0,xc=null,Bu=!1,pi=null,uo=!0,a=g5(e,null,o,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(ru(),o===c){e=ai(t,e,a);break t}Zn(t,e,o,a)}e=e.child}return e;case 26:return Of(t,e),t===null?(a=y0(e.type,null,e.pendingProps,null))?e.memoizedState=a:Se||(a=e.type,t=e.pendingProps,o=be(gl.current),o=Jf(o).createElement(a),o[an]=e,o[Na]=t,nn(o,a,t),jt(o),e.stateNode=o):e.memoizedState=y0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return pt(e),t===null&&Se&&(o=be(gl.current),c=et(),o=e.stateNode=Ho(e.type,e.pendingProps,o,c,!1),Bu||(c=Qa(o,e.type,e.pendingProps,c),c!==null&&(lr(e,0).serverProps=c)),Ha=e,uo=!0,c=on,Mu(e.type)?(Dx=c,on=ml(o.firstChild)):on=c),Zn(t,e,e.pendingProps.children,a),Of(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Se&&(f=et(),o=Wc(e.type,f.ancestorInfo),c=on,(g=!c)||(g=db(c,e.type,e.pendingProps,uo),g!==null?(e.stateNode=g,Bu||(f=Qa(g,e.type,e.pendingProps,f),f!==null&&(lr(e,0).serverProps=f)),Ha=e,on=ml(g.firstChild),uo=!1,f=!0):f=!1,g=!f),g&&(o&&da(e,c),zl(e))),pt(e),c=e.type,f=e.pendingProps,g=t!==null?t.memoizedProps:null,o=f.children,Ws(c,f)?o=null:g!==null&&Ws(c,g)&&(e.flags|=32),e.memoizedState!==null&&(c=vg(t,e,yf,null,null,a),My._currentValue=c),Of(t,e),Zn(t,e,o,a),e.child;case 6:return t===null&&Se&&(a=e.pendingProps,t=et(),o=t.ancestorInfo.current,a=o!=null?Pc(a,o.tag,t.ancestorInfo.implicitRootScope):!0,t=on,(o=!t)||(o=hb(t,e.pendingProps,uo),o!==null?(e.stateNode=o,Ha=e,on=null,o=!0):o=!1,o=!o),o&&(a&&da(e,t),zl(e))),null;case 13:return Vh(t,e,a);case 4:return De(e,e.stateNode.containerInfo),o=e.pendingProps,t===null?e.child=Td(e,null,o,a):Zn(t,e,o,a),e.child;case 11:return jv(t,e,e.type,e.pendingProps,a);case 7:return Zn(t,e,e.pendingProps,a),e.child;case 8:return Zn(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,o=e.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Zn(t,e,e.pendingProps.children,a),e.child;case 10:return o=e.type,c=e.pendingProps,f=c.value,"value"in c||q5||(q5=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ml(e,o,f),Zn(t,e,c.children,a),e.child;case 9:return c=e.type._context,o=e.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."),cu(e),c=_e(c),o=Q2(o,c,void 0),e.flags|=1,Zn(t,e,o,a),e.child;case 14:return Dg(t,e,e.type,e.pendingProps,a);case 15:return Cg(t,e,e.type,e.pendingProps,a);case 19:return Bg(t,e,a);case 31:return Nv(t,e,a);case 22:return zg(t,e,a,e.pendingProps);case 24:return cu(e),o=_e($n),t===null?(c=wo(),c===null&&(c=Fe,f=bh(),c.pooledCache=f,or(f),f!==null&&(c.pooledCacheLanes|=a),c=f),e.memoizedState={parent:o,cache:c},ye(e),Ml(e,$n,c)):((t.lanes&a)!==0&&(Ui(t,e),Ni(e,null,null,a),Rs()),c=t.memoizedState,f=e.memoizedState,c.parent!==o?(c={parent:o,cache:o},e.memoizedState=c,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=c),Ml(e,$n,o)):(o=f.cache,Ml(e,$n,o),o!==c.cache&&So(e,[$n],a,!0))),Zn(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function qi(t){t.flags|=4}function Xh(t,e,a,o,c){if((e=(t.mode&V_)!==Ft)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(e0())t.flags|=8192;else throw xd=Pb,K2}else t.flags&=-16777217}function Bv(t,e){if(e.type!=="stylesheet"||(e.state.loading&ho)!==Ud)t.flags&=-16777217;else if(t.flags|=16777216,!ge(e))if(e0())t.flags|=8192;else throw xd=Pb,K2}function Ls(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?os():536870912,t.lanes|=e,Dd|=e)}function ks(t,e){if(!Se)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Ye(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(e)if((t.mode&ce)!==Ft){for(var c=t.selfBaseDuration,f=t.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,c+=f.treeBaseDuration,f=f.sibling;t.treeBaseDuration=c}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else if((t.mode&ce)!==Ft){c=t.actualDuration,f=t.selfBaseDuration;for(var g=t.child;g!==null;)a|=g.lanes|g.childLanes,o|=g.subtreeFlags,o|=g.flags,c+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;t.actualDuration=c,t.treeBaseDuration=f}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=a,e}function Lg(t,e,a){var o=e.pendingProps;switch(yh(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(e),null;case 1:return Ye(e),null;case 3:return a=e.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),e.memoizedState.cache!==o&&(e.flags|=2048),Fl($n,e),V(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(ir(e)?(su(),qi(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,uf())),Ye(e),null;case 26:var c=e.type,f=e.memoizedState;return t===null?(qi(e),f!==null?(Ye(e),Bv(e,f)):(Ye(e),Xh(e,c,null,o,a))):f?f!==t.memoizedState?(qi(e),Ye(e),Bv(e,f)):(Ye(e),e.flags&=-16777217):(t=t.memoizedProps,t!==o&&qi(e),Ye(e),Xh(e,c,t,o,a)),null;case 27:if(zt(e),a=be(gl.current),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&qi(e);else{if(!o){if(e.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 Ye(e),null}t=et(),ir(e)?sg(e):(t=Ho(c,o,a,t,!0),e.stateNode=t,qi(e))}return Ye(e),null;case 5:if(zt(e),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&qi(e);else{if(!o){if(e.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 Ye(e),null}var g=et();if(ir(e))sg(e);else{switch(f=be(gl.current),Wc(c,g.ancestorInfo),g=g.context,f=Jf(f),g){case hm:f=f.createElementNS(ue,c);break;case E1:f=f.createElementNS(ae,c);break;default:switch(c){case"svg":f=f.createElementNS(ue,c);break;case"math":f=f.createElementNS(ae,c);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(c,{is:o.is}):f.createElement(c),c.indexOf("-")===-1&&(c!==c.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||yl.call(dR,c)||(dR[c]=!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.",c)))}}f[an]=e,f[Na]=o;t:for(g=e.child;g!==null;){if(g.tag===5||g.tag===6)f.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break t;for(;g.sibling===null;){if(g.return===null||g.return===e)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}e.stateNode=f;t:switch(nn(f,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&qi(e)}}return Ye(e),Xh(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==o&&qi(e);else{if(typeof o!="string"&&e.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(t=be(gl.current),a=et(),ir(e)){if(t=e.stateNode,a=e.memoizedProps,c=!Bu,o=null,f=Ha,f!==null)switch(f.tag){case 3:c&&(c=gb(t,a,o),c!==null&&(lr(e,0).serverProps=c));break;case 27:case 5:o=f.memoizedProps,c&&(c=gb(t,a,o),c!==null&&(lr(e,0).serverProps=c))}t[an]=e,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||f0(t.nodeValue,a)),t||zl(e,!0)}else c=a.ancestorInfo.current,c!=null&&Pc(o,c.tag,a.ancestorInfo.implicitRootScope),t=Jf(t).createTextNode(o),t[an]=e,e.stateNode=t}return Ye(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(o=ir(e),a!==null){if(t===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[an]=e,Ye(e),(e.mode&ce)!==Ft&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else su(),ru(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Ye(e),(e.mode&ce)!==Ft&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=uf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Xn(e),e):(Xn(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Ye(e),null;case 13:if(o=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=o,f=ir(e),c!==null&&c.dehydrated!==null){if(t===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=e.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[an]=e,Ye(e),(e.mode&ce)!==Ft&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration))}else su(),ru(),(e.flags&128)===0&&(c=e.memoizedState=null),e.flags|=4,Ye(e),(e.mode&ce)!==Ft&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=uf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return e.flags&256?(Xn(e),e):(Xn(e),null)}return Xn(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&ce)!==Ft&&rr(e),e):(a=o!==null,t=t!==null&&t.memoizedState!==null,a&&(o=e.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==c&&(o.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),Ls(e,e.updateQueue),Ye(e),(e.mode&ce)!==Ft&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return V(e),t===null&&Cu(e.stateNode.containerInfo),Ye(e),null;case 10:return Fl(e.type,e),Ye(e),null;case 19:if(Et(Bn,e),o=e.memoizedState,o===null)return Ye(e),null;if(c=(e.flags&128)!==0,f=o.rendering,f===null)if(c)ks(o,!1);else{if(yn!==Fr||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=cr(t),f!==null){for(e.flags|=128,ks(o,!1),t=f.updateQueue,e.updateQueue=t,Ls(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)og(a,t),a=a.sibling;return kt(Bn,Bn.current&em|dy,e),Se&&$l(e,o.treeForkCount),e.child}t=t.sibling}o.tail!==null&&Jn()>f1&&(e.flags|=128,c=!0,ks(o,!1),e.lanes=4194304)}else{if(!c)if(t=cr(f),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,Ls(e,t),ks(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!Se)return Ye(e),null}else 2*Jn()-o.renderingStartTime>f1&&a!==536870912&&(e.flags|=128,c=!0,ks(o,!1),e.lanes=4194304);o.isBackwards?(f.sibling=e.child,e.child=f):(t=o.last,t!==null?t.sibling=f:e.child=f,o.last=f)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Jn(),t.sibling=null,a=Bn.current,a=c?a&em|dy:a&em,kt(Bn,a,e),Se&&$l(e,o.treeForkCount),t):(Ye(e),null);case 22:case 23:return Xn(e),ti(e),o=e.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(e.flags|=8192):o&&(e.flags|=8192),o?(a&536870912)!==0&&(e.flags&128)===0&&(Ye(e),e.subtreeFlags&6&&(e.flags|=8192)):Ye(e),a=e.updateQueue,a!==null&&Ls(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),o=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),o!==a&&(e.flags|=2048),t!==null&&Et(bd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Fl($n,e),Ye(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Lv(t,e){switch(yh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&rr(e),e):null;case 3:return Fl($n,e),V(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return zt(e),null;case 31:if(e.memoizedState!==null){if(Xn(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ru()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&rr(e),e):null;case 13:if(Xn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ru()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&rr(e),e):null;case 19:return Et(Bn,e),null;case 4:return V(e),null;case 10:return Fl(e.type,e),null;case 22:case 23:return Xn(e),ti(e),t!==null&&Et(bd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&rr(e),e):null;case 24:return Fl($n,e),null;case 25:return null;default:return null}}function kg(t,e){switch(yh(e),e.tag){case 3:Fl($n,e),V(e);break;case 26:case 27:case 5:zt(e);break;case 4:V(e);break;case 31:e.memoizedState!==null&&Xn(e);break;case 13:Xn(e);break;case 19:Et(Bn,e);break;case 10:Fl(e.type,e);break;case 22:case 23:Xn(e),ti(e),t!==null&&Et(bd,e);break;case 24:Fl($n,e)}}function Gi(t){return(t.mode&ce)!==Ft}function kv(t,e){Gi(t)?(hn(),Oo(e,t),wa()):Oo(e,t)}function Qh(t,e,a){Gi(t)?(hn(),Tu(a,t,e),wa()):Tu(a,t,e)}function Oo(t,e){try{var a=e.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&t)===t&&(o=void 0,(t&xl)!==t1&&(cm=!0),o=Dt(e,Z_,a),(t&xl)!==t1&&(cm=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(a.tag&gi)!==0?"useLayoutEffect":(a.tag&xl)!==0?"useInsertionEffect":"useEffect";var g=void 0;g=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
152
|
+
`+E:""))}}f=e.stateNode,g=Z(a)||"Component",f.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?",g):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",g)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.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?",g),f.getDefaultProps&&!f.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.",g),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",g),a.childContextTypes&&!B5.has(a)&&(B5.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)",g)),a.contextTypes&&!H5.has(a)&&(H5.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)",g)),typeof f.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.",g),a.prototype&&a.prototype.isPureReactComponent&&typeof f.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.",Z(a)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",g),typeof f.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().",g),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",g),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",g),v=f.props!==o,f.props!==void 0&&v&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",g),f.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.",g,g),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||_5.has(a)||(_5.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Z(a))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",g),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",g),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.",g),(v=f.state)&&(typeof v!="object"||zn(v))&&console.error("%s.state: must be set to an object or null",g),typeof f.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",g),f=e.stateNode,f.props=o,f.state=e.memoizedState,f.refs={},be(e),g=a.contextType,f.context=typeof g=="object"&&g!==null?_e(g):Tc,f.state===o&&(g=Z(a)||"Component",j5.has(g)||(j5.add(g),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.",g))),e.mode&Ja&&qo.recordLegacyContextWarning(e,f),qo.recordUnsafeLifecycleWarnings(e,f),f.state=e.memoizedState,g=a.getDerivedStateFromProps,typeof g=="function"&&(Bs(e,a,g,o),f.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(g=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),g!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",K(e)||"Component"),ax.enqueueReplaceState(f,f.state,null)),Ni(e,o,f,c),Cs(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Yo)!==Ft&&(e.flags|=134217728),f=!0}else if(t===null){f=e.stateNode;var L=e.memoizedProps;v=Yi(a,L),f.props=v;var q=f.context;E=a.contextType,g=Tc,typeof E=="object"&&E!==null&&(g=_e(E)),D=a.getDerivedStateFromProps,E=typeof D=="function"||typeof f.getSnapshotBeforeUpdate=="function",L=e.pendingProps!==L,E||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(L||q!==g)&&Vi(e,f,o,g),Cc=!1;var j=e.memoizedState;f.state=j,Ni(e,o,f,c),Cs(),q=e.memoizedState,L||j!==q||Cc?(typeof D=="function"&&(Bs(e,a,D,o),q=e.memoizedState),(v=Cc||Nh(e,a,v,o,j,q,g))?(E||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Yo)!==Ft&&(e.flags|=134217728)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Yo)!==Ft&&(e.flags|=134217728),e.memoizedProps=o,e.memoizedState=q),f.props=o,f.state=q,f.context=g,f=v):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Yo)!==Ft&&(e.flags|=134217728),f=!1)}else{f=e.stateNode,Ui(t,e),g=e.memoizedProps,E=Yi(a,g),f.props=E,D=e.pendingProps,j=f.context,q=a.contextType,v=Tc,typeof q=="object"&&q!==null&&(v=_e(q)),L=a.getDerivedStateFromProps,(q=typeof L=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(g!==D||j!==v)&&Vi(e,f,o,v),Cc=!1,j=e.memoizedState,f.state=j,Ni(e,o,f,c),Cs();var I=e.memoizedState;g!==D||j!==I||Cc||t!==null&&t.dependencies!==null&&Es(t.dependencies)?(typeof L=="function"&&(Bs(e,a,L,o),I=e.memoizedState),(E=Cc||Nh(e,a,E,o,j,I,v)||t!==null&&t.dependencies!==null&&Es(t.dependencies))?(q||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,I,v),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,I,v)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||g===t.memoizedProps&&j===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&j===t.memoizedState||(e.flags|=1024),e.memoizedProps=o,e.memoizedState=I),f.props=o,f.state=I,f.context=v,f=E):(typeof f.componentDidUpdate!="function"||g===t.memoizedProps&&j===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&j===t.memoizedState||(e.flags|=1024),f=!1)}if(v=f,_f(t,e),g=(e.flags&128)!==0,v||g){if(v=e.stateNode,Wo(e),g&&typeof a.getDerivedStateFromError!="function")a=null,Sl=-1;else if(a=i5(v),e.mode&Ja){Ut(!0);try{i5(v)}finally{Ut(!1)}}e.flags|=1,t!==null&&g?(e.child=wd(e,t.child,null,c),e.child=wd(e,null,a,c)):Zn(t,e,a,c),e.memoizedState=v.state,t=e.child}else t=ai(t,e,c);return c=e.stateNode,f&&c.props!==o&&(um||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",K(e)||"a component"),um=!0),t}function Bg(t,e,a,o){return su(),e.flags|=256,Zn(t,e,a,o),e.child}function ks(t,e){e&&e.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
153
|
+
%s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=Z(e)||"Unknown",G5[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),G5[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=Z(e)||"Unknown",Y5[e]||(console.error("%s: Function components do not support contextType.",e),Y5[e]=!0))}function Ls(t){return{baseLanes:t,cachePool:gg()}}function Yh(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=ql),t}function qh(t,e,a){var o,c=e.pendingProps;b(e)&&(e.flags|=128);var f=!1,g=(e.flags&128)!==0;if((o=g)||(o=t!==null&&t.memoizedState===null?!1:(Bn.current&my)!==0),o&&(f=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(xe){if(f?Aa(e):Hi(e),(t=on)?(a=Le(t,uo),a=a!==null&&a.data!==Od?a:null,a!==null&&(o={dehydrated:a,treeContext:Rv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=cg(a),o.return=e,e.child=o,Ha=e,on=null)):a=null,a===null)throw da(e,t),zl(e);return g0(a)?e.lanes=32:e.lanes=536870912,null}var v=c.children;if(c=c.fallback,f){Hi(e);var E=e.mode;return v=Uf({mode:"hidden",children:v},E),c=lr(c,E,a,null),v.return=e,c.return=e,v.sibling=c,e.child=v,c=e.child,c.memoizedState=Ls(a),c.childLanes=Yh(t,o,a),e.memoizedState=ox,Tr(null,c)}return Aa(e),kg(e,v)}var D=t.memoizedState;if(D!==null){var L=D.dehydrated;if(L!==null){if(g)e.flags&256?(Aa(e),e.flags&=-257,e=Gh(t,e,a)):e.memoizedState!==null?(Hi(e),e.child=t.child,e.flags|=128,e=null):(Hi(e),v=c.fallback,E=e.mode,c=Uf({mode:"visible",children:c.children},E),v=lr(v,E,a,null),v.flags|=2,c.return=e,v.return=e,c.sibling=v,e.child=c,wd(e,t.child,null,a),c=e.child,c.memoizedState=Ls(a),c.childLanes=Yh(t,o,a),e.memoizedState=ox,e=Tr(null,c));else if(Aa(e),Cv(),(a&536870912)!==0&&Xs(e),g0(L)){if(o=L.nextSibling&&L.nextSibling.dataset,o){v=o.dgst;var q=o.msg;E=o.stck;var j=o.cstck}f=q,o=v,c=E,L=j,v=f,E=L,v=Error(v||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),v.stack=c||"",v.digest=o,o=E===void 0?null:E,c={value:v,source:null,stack:o},typeof o=="string"&&L2.set(v,c),sf(c),e=Gh(t,e,a)}else if(Pn||Wl(t,e,a,!1),o=(a&t.childLanes)!==0,Pn||o){if(o=Fe,o!==null&&(c=Zu(o,a),c!==0&&c!==D.retryLane))throw D.retryLane=c,fa(t,c),Wt(o,t,c),ix;Wf(L)||Qs(),e=Gh(t,e,a)}else Wf(L)?(e.flags|=192,e.child=t.child,e=null):(t=D.treeContext,on=ml(L.nextSibling),Ha=e,xe=!0,wc=null,ku=!1,pi=null,uo=!1,t!==null&&Dv(e,t),e=kg(e,c.children),e.flags|=4096);return e}}return f?(Hi(e),v=c.fallback,E=e.mode,j=t.child,L=j.sibling,c=Mi(j,{mode:"hidden",children:c.children}),c.subtreeFlags=j.subtreeFlags&65011712,L!==null?v=Mi(L,v):(v=lr(v,E,a,null),v.flags|=2),v.return=e,c.return=e,c.sibling=v,e.child=c,Tr(null,c),c=e.child,v=t.child.memoizedState,v===null?v=Ls(a):(E=v.cachePool,E!==null?(j=$n._currentValue,E=E.parent!==j?{parent:j,pool:j}:E):E=gg(),v={baseLanes:v.baseLanes|a,cachePool:E}),c.memoizedState=v,c.childLanes=Yh(t,o,a),e.memoizedState=ox,Tr(t.child,c)):(D!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&Xs(e),Aa(e),a=t.child,t=a.sibling,a=Mi(a,{mode:"visible",children:c.children}),a.return=e,a.sibling=null,t!==null&&(o=e.deletions,o===null?(e.deletions=[t],e.flags|=16):o.push(t)),e.child=a,e.memoizedState=null,a)}function kg(t,e){return e=Uf({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Uf(t,e){return t=M(22,t,null,e),t.lanes=0,t}function Gh(t,e,a){return wd(e,t.child,null,a),t=kg(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Lg(t,e,a){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),Sh(t.return,e,a)}function Xh(t,e,a,o,c,f){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:c,treeForkCount:f}:(g.isBackwards=e,g.rendering=null,g.renderingStartTime=0,g.last=o,g.tail=a,g.tailMode=c,g.treeForkCount=f)}function Vg(t,e,a){var o=e.pendingProps,c=o.revealOrder,f=o.tail,g=o.children,v=Bn.current;if((o=(v&my)!==0)?(v=v&am|my,e.flags|=128):v&=am,Nt(Bn,v,e),v=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!X5[v])if(X5[v]=!0,c==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(c==="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 c=="string")switch(c.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.',c,c.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.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c);v=f??"null",i1[v]||(f==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(i1[v]=!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".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(i1[v]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):c!=="forwards"&&c!=="backwards"&&c!=="unstable_legacy-backwards"&&(i1[v]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));t:if((c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&g!==void 0&&g!==null&&g!==!1)if(zn(g)){for(v=0;v<g.length;v++)if(!Ze(g[v],v))break t}else if(v=wt(g),typeof v=="function"){if(v=v.call(g))for(var E=v.next(),D=0;!E.done;E=v.next()){if(!Ze(E.value,D))break t;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?',c);if(Zn(t,e,g,a),xe?(ru(),g=ty):g=0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Lg(t,a,e);else if(t.tag===19)Lg(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(a=e.child,c=null;a!==null;)t=a.alternate,t!==null&&fr(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),Xh(e,!1,c,a,f,g);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=e.child,e.child=null;c!==null;){if(t=c.alternate,t!==null&&fr(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}Xh(e,!0,a,null,f,g);break;case"together":Xh(e,!1,null,null,void 0,g);break;default:e.memoizedState=null}return e.child}function ai(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Sl=-1,Oc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Wl(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=Mi(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=Mi(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Qh(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Es(t)))}function Bv(t,e,a){switch(e.tag){case 3:De(e,e.stateNode.containerInfo),Ml(e,$n,t.memoizedState.cache),su();break;case 27:case 5:mt(e);break;case 4:De(e,e.stateNode.containerInfo);break;case 10:Ml(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var o=e.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,ei(e),null;break;case 13:if(o=e.memoizedState,o!==null)return o.dehydrated!==null?(Aa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?qh(t,e,a):(Aa(e),t=ai(t,e,a),t!==null?t.sibling:null);Aa(e);break;case 19:var c=(t.flags&128)!==0;if(o=(a&e.childLanes)!==0,o||(Wl(t,e,a,!1),o=(a&e.childLanes)!==0),c){if(o)return Vg(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Nt(Bn,Bn.current,e),o)break;return null;case 22:return e.lanes=0,_g(t,e,a,e.pendingProps);case 24:Ml(e,$n,t.memoizedState.cache)}return ai(t,e,a)}function jf(t,e,a){if(e._debugNeedsRemount&&t!==null){a=ar(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var o=e.return;if(o===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===o.child)o.child=a;else{var c=o.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==e;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=a}return e=o.deletions,e===null?(o.deletions=[t],o.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)Pn=!0;else{if(!Qh(t,a)&&(e.flags&128)===0)return Pn=!1,Bv(t,e,a);Pn=(t.flags&131072)!==0}else Pn=!1,(o=xe)&&(ru(),o=(e.flags&1048576)!==0),o&&(o=e.index,ru(),fg(e,ty,o));switch(e.lanes=0,e.tag){case 16:t:if(o=e.pendingProps,t=ol(e.elementType),e.type=t,typeof t=="function")rg(t)?(o=Yi(t,o),e.tag=1,e.type=t=ou(t),e=wr(null,e,t,o,a)):(e.tag=0,ks(e,t),e.type=t=ou(t),e=Ng(null,e,t,o,a));else{if(t!=null){if(c=t.$$typeof,c===rc){e.tag=11,e.type=t=gh(t),e=Nv(null,e,t,o,a);break t}else if(c===ud){e.tag=14,e=Mg(null,e,t,o,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===pa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=Z(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return Ng(t,e,e.type,e.pendingProps,a);case 1:return o=e.type,c=Yi(o,e.pendingProps),wr(t,e,o,c,a);case 3:t:{if(De(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");o=e.pendingProps;var f=e.memoizedState;c=f.element,Ui(t,e),Ni(e,o,null,a);var g=e.memoizedState;if(o=g.cache,Ml(e,$n,o),o!==f.cache&&xo(e,[$n],a,!0),Cs(),o=g.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:g.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=Bg(t,e,o,a);break t}else if(o!==c){c=xa(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),sf(c),e=Bg(t,e,o,a);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,on=ml(t.firstChild),Ha=e,xe=!0,wc=null,ku=!1,pi=null,uo=!0,a=b5(e,null,o,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(su(),o===c){e=ai(t,e,a);break t}Zn(t,e,o,a)}e=e.child}return e;case 26:return _f(t,e),t===null?(a=S0(e.type,null,e.pendingProps,null))?e.memoizedState=a:xe||(a=e.type,t=e.pendingProps,o=ye(gl.current),o=$f(o).createElement(a),o[an]=e,o[Na]=t,nn(o,a,t),Ht(o),e.stateNode=o):e.memoizedState=S0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return mt(e),t===null&&xe&&(o=ye(gl.current),c=et(),o=e.stateNode=Bo(e.type,e.pendingProps,o,c,!1),ku||(c=Qa(o,e.type,e.pendingProps,c),c!==null&&(ir(e,0).serverProps=c)),Ha=e,uo=!0,c=on,Ou(e.type)?(zx=c,on=ml(o.firstChild)):on=c),Zn(t,e,e.pendingProps.children,a),_f(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&xe&&(f=et(),o=Pc(e.type,f.ancestorInfo),c=on,(g=!c)||(g=hb(c,e.type,e.pendingProps,uo),g!==null?(e.stateNode=g,ku||(f=Qa(g,e.type,e.pendingProps,f),f!==null&&(ir(e,0).serverProps=f)),Ha=e,on=ml(g.firstChild),uo=!1,f=!0):f=!1,g=!f),g&&(o&&da(e,c),zl(e))),mt(e),c=e.type,f=e.pendingProps,g=t!==null?t.memoizedProps:null,o=f.children,Is(c,f)?o=null:g!==null&&Is(c,g)&&(e.flags|=32),e.memoizedState!==null&&(c=xg(t,e,vf,null,null,a),Uy._currentValue=c),_f(t,e),Zn(t,e,o,a),e.child;case 6:return t===null&&xe&&(a=e.pendingProps,t=et(),o=t.ancestorInfo.current,a=o!=null?Ic(a,o.tag,t.ancestorInfo.implicitRootScope):!0,t=on,(o=!t)||(o=pb(t,e.pendingProps,uo),o!==null?(e.stateNode=o,Ha=e,on=null,o=!0):o=!1,o=!o),o&&(a&&da(e,t),zl(e))),null;case 13:return qh(t,e,a);case 4:return De(e,e.stateNode.containerInfo),o=e.pendingProps,t===null?e.child=wd(e,null,o,a):Zn(t,e,o,a),e.child;case 11:return Nv(t,e,e.type,e.pendingProps,a);case 7:return Zn(t,e,e.pendingProps,a),e.child;case 8:return Zn(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,o=e.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Zn(t,e,e.pendingProps.children,a),e.child;case 10:return o=e.type,c=e.pendingProps,f=c.value,"value"in c||Q5||(Q5=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ml(e,o,f),Zn(t,e,c.children,a),e.child;case 9:return c=e.type._context,o=e.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."),fu(e),c=_e(c),o=K2(o,c,void 0),e.flags|=1,Zn(t,e,o,a),e.child;case 14:return Mg(t,e,e.type,e.pendingProps,a);case 15:return Og(t,e,e.type,e.pendingProps,a);case 19:return Vg(t,e,a);case 31:return Hv(t,e,a);case 22:return _g(t,e,a,e.pendingProps);case 24:return fu(e),o=_e($n),t===null?(c=Eo(),c===null&&(c=Fe,f=xh(),c.pooledCache=f,ur(f),f!==null&&(c.pooledCacheLanes|=a),c=f),e.memoizedState={parent:o,cache:c},be(e),Ml(e,$n,c)):((t.lanes&a)!==0&&(Ui(t,e),Ni(e,null,null,a),Cs()),c=t.memoizedState,f=e.memoizedState,c.parent!==o?(c={parent:o,cache:o},e.memoizedState=c,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=c),Ml(e,$n,o)):(o=f.cache,Ml(e,$n,o),o!==c.cache&&xo(e,[$n],a,!0))),Zn(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function qi(t){t.flags|=4}function Zh(t,e,a,o,c){if((e=(t.mode&Q_)!==Ft)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(l0())t.flags|=8192;else throw Td=Ib,$2}else t.flags&=-16777217}function kv(t,e){if(e.type!=="stylesheet"||(e.state.loading&ho)!==jd)t.flags&=-16777217;else if(t.flags|=16777216,!ve(e))if(l0())t.flags|=8192;else throw Td=Ib,$2}function Vs(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?rs():536870912,t.lanes|=e,Cd|=e)}function Ys(t,e){if(!xe)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Ye(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(e)if((t.mode&ce)!==Ft){for(var c=t.selfBaseDuration,f=t.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,c+=f.treeBaseDuration,f=f.sibling;t.treeBaseDuration=c}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else if((t.mode&ce)!==Ft){c=t.actualDuration,f=t.selfBaseDuration;for(var g=t.child;g!==null;)a|=g.lanes|g.childLanes,o|=g.subtreeFlags,o|=g.flags,c+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;t.actualDuration=c,t.treeBaseDuration=f}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=a,e}function Yg(t,e,a){var o=e.pendingProps;switch(bh(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(e),null;case 1:return Ye(e),null;case 3:return a=e.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),e.memoizedState.cache!==o&&(e.flags|=2048),Fl($n,e),V(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(or(e)?(cu(),qi(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,rf())),Ye(e),null;case 26:var c=e.type,f=e.memoizedState;return t===null?(qi(e),f!==null?(Ye(e),kv(e,f)):(Ye(e),Zh(e,c,null,o,a))):f?f!==t.memoizedState?(qi(e),Ye(e),kv(e,f)):(Ye(e),e.flags&=-16777217):(t=t.memoizedProps,t!==o&&qi(e),Ye(e),Zh(e,c,t,o,a)),null;case 27:if(Mt(e),a=ye(gl.current),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&qi(e);else{if(!o){if(e.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 Ye(e),null}t=et(),or(e)?dg(e):(t=Bo(c,o,a,t,!0),e.stateNode=t,qi(e))}return Ye(e),null;case 5:if(Mt(e),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&qi(e);else{if(!o){if(e.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 Ye(e),null}var g=et();if(or(e))dg(e);else{switch(f=ye(gl.current),Pc(c,g.ancestorInfo),g=g.context,f=$f(f),g){case mm:f=f.createElementNS(ue,c);break;case A1:f=f.createElementNS(ae,c);break;default:switch(c){case"svg":f=f.createElementNS(ue,c);break;case"math":f=f.createElementNS(ae,c);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(c,{is:o.is}):f.createElement(c),c.indexOf("-")===-1&&(c!==c.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||yl.call(mR,c)||(mR[c]=!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.",c)))}}f[an]=e,f[Na]=o;t:for(g=e.child;g!==null;){if(g.tag===5||g.tag===6)f.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break t;for(;g.sibling===null;){if(g.return===null||g.return===e)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}e.stateNode=f;t:switch(nn(f,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&qi(e)}}return Ye(e),Zh(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==o&&qi(e);else{if(typeof o!="string"&&e.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(t=ye(gl.current),a=et(),or(e)){if(t=e.stateNode,a=e.memoizedProps,c=!ku,o=null,f=Ha,f!==null)switch(f.tag){case 3:c&&(c=yb(t,a,o),c!==null&&(ir(e,0).serverProps=c));break;case 27:case 5:o=f.memoizedProps,c&&(c=yb(t,a,o),c!==null&&(ir(e,0).serverProps=c))}t[an]=e,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||p0(t.nodeValue,a)),t||zl(e,!0)}else c=a.ancestorInfo.current,c!=null&&Ic(o,c.tag,a.ancestorInfo.implicitRootScope),t=$f(t).createTextNode(o),t[an]=e,e.stateNode=t}return Ye(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(o=or(e),a!==null){if(t===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[an]=e,Ye(e),(e.mode&ce)!==Ft&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else cu(),su(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Ye(e),(e.mode&ce)!==Ft&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=rf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Xn(e),e):(Xn(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Ye(e),null;case 13:if(o=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=o,f=or(e),c!==null&&c.dehydrated!==null){if(t===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=e.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[an]=e,Ye(e),(e.mode&ce)!==Ft&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration))}else cu(),su(),(e.flags&128)===0&&(c=e.memoizedState=null),e.flags|=4,Ye(e),(e.mode&ce)!==Ft&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=rf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return e.flags&256?(Xn(e),e):(Xn(e),null)}return Xn(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&ce)!==Ft&&sr(e),e):(a=o!==null,t=t!==null&&t.memoizedState!==null,a&&(o=e.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==c&&(o.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),Vs(e,e.updateQueue),Ye(e),(e.mode&ce)!==Ft&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return V(e),t===null&&zu(e.stateNode.containerInfo),Ye(e),null;case 10:return Fl(e.type,e),Ye(e),null;case 19:if(xt(Bn,e),o=e.memoizedState,o===null)return Ye(e),null;if(c=(e.flags&128)!==0,f=o.rendering,f===null)if(c)Ys(o,!1);else{if(yn!==Wr||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=fr(t),f!==null){for(e.flags|=128,Ys(o,!1),t=f.updateQueue,e.updateQueue=t,Vs(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)sg(a,t),a=a.sibling;return Nt(Bn,Bn.current&am|my,e),xe&&$l(e,o.treeForkCount),e.child}t=t.sibling}o.tail!==null&&Jn()>d1&&(e.flags|=128,c=!0,Ys(o,!1),e.lanes=4194304)}else{if(!c)if(t=fr(f),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,Vs(e,t),Ys(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!xe)return Ye(e),null}else 2*Jn()-o.renderingStartTime>d1&&a!==536870912&&(e.flags|=128,c=!0,Ys(o,!1),e.lanes=4194304);o.isBackwards?(f.sibling=e.child,e.child=f):(t=o.last,t!==null?t.sibling=f:e.child=f,o.last=f)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Jn(),t.sibling=null,a=Bn.current,a=c?a&am|my:a&am,Nt(Bn,a,e),xe&&$l(e,o.treeForkCount),t):(Ye(e),null);case 22:case 23:return Xn(e),ti(e),o=e.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(e.flags|=8192):o&&(e.flags|=8192),o?(a&536870912)!==0&&(e.flags&128)===0&&(Ye(e),e.subtreeFlags&6&&(e.flags|=8192)):Ye(e),a=e.updateQueue,a!==null&&Vs(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),o=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),o!==a&&(e.flags|=2048),t!==null&&xt(Sd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Fl($n,e),Ye(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Lv(t,e){switch(bh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&sr(e),e):null;case 3:return Fl($n,e),V(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Mt(e),null;case 31:if(e.memoizedState!==null){if(Xn(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");su()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&sr(e),e):null;case 13:if(Xn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");su()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&sr(e),e):null;case 19:return xt(Bn,e),null;case 4:return V(e),null;case 10:return Fl(e.type,e),null;case 22:case 23:return Xn(e),ti(e),t!==null&&xt(Sd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&sr(e),e):null;case 24:return Fl($n,e),null;case 25:return null;default:return null}}function qg(t,e){switch(bh(e),e.tag){case 3:Fl($n,e),V(e);break;case 26:case 27:case 5:Mt(e);break;case 4:V(e);break;case 31:e.memoizedState!==null&&Xn(e);break;case 13:Xn(e);break;case 19:xt(Bn,e);break;case 10:Fl(e.type,e);break;case 22:case 23:Xn(e),ti(e),t!==null&&xt(Sd,e);break;case 24:Fl($n,e)}}function Gi(t){return(t.mode&ce)!==Ft}function Vv(t,e){Gi(t)?(hn(),_o(e,t),wa()):_o(e,t)}function Kh(t,e,a){Gi(t)?(hn(),wu(a,t,e),wa()):wu(a,t,e)}function _o(t,e){try{var a=e.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&t)===t&&(o=void 0,(t&xl)!==e1&&(dm=!0),o=Ct(e,W_,a),(t&xl)!==e1&&(dm=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(a.tag&gi)!==0?"useLayoutEffect":(a.tag&xl)!==0?"useInsertionEffect":"useEffect";var g=void 0;g=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
154
154
|
|
|
155
155
|
It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
156
156
|
|
|
@@ -163,11 +163,11 @@ It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, w
|
|
|
163
163
|
fetchData();
|
|
164
164
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
165
165
|
|
|
166
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,Dt(e,function(v,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,E)},f,g)}a=a.next}while(a!==c)}}catch(v){oe(e,e.return,v)}}function Tu(t,e,a){try{var o=e.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var f=c.next;o=f;do{if((o.tag&t)===t){var g=o.inst,v=g.destroy;v!==void 0&&(g.destroy=void 0,(t&xl)!==t1&&(cm=!0),c=e,Dt(c,K_,c,a,v),(t&xl)!==t1&&(cm=!1))}o=o.next}while(o!==f)}}catch(E){oe(e,e.return,E)}}function jf(t,e){Gi(t)?(hn(),Oo(e,t),wa()):Oo(e,t)}function Zh(t,e,a){Gi(t)?(hn(),Tu(a,t,e),wa()):Tu(a,t,e)}function Vg(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||im||(a.props!==t.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.",K(t)||"instance"),a.state!==t.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.",K(t)||"instance"));try{Dt(t,Ds,e,a)}catch(o){oe(t,t.return,o)}}}function Nf(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function Vv(t,e){var a=e.memoizedProps,o=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||im||(e.props!==t.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.",K(t)||"instance"),e.state!==t.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.",K(t)||"instance"));try{var c=Yi(t.type,a),f=Dt(t,Nf,e,c,o);a=G5,f!==void 0||a.has(t.type)||(a.add(t.type),Dt(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",K(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(g){oe(t,t.return,g)}}function Kh(t,e,a){a.props=Yi(t.type,t.memoizedProps),a.state=t.memoizedState,Gi(t)?(hn(),Dt(t,r5,t,e,a),wa()):Dt(t,r5,t,e,a)}function Yv(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(Gi(t))try{hn(),t.refCleanup=e(a)}finally{wa()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",K(t)),e.current=a}}function wr(t,e){try{Dt(t,Yv,t)}catch(a){oe(t,e,a)}}function Nl(t,e){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{if(Gi(t))try{hn(),Dt(t,o)}finally{wa(t)}else Dt(t,o)}catch(c){oe(t,e,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(Gi(t))try{hn(),Dt(t,a,null)}finally{wa(t)}else Dt(t,a,null)}catch(c){oe(t,e,c)}else a.current=null}function Yg(t,e,a,o){var c=t.memoizedProps,f=c.id,g=c.onCommit;c=c.onRender,e=e===null?"mount":"update",Jb&&(e="nested-update"),typeof c=="function"&&c(f,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof g=="function"&&g(f,e,o,a)}function qv(t,e,a,o){var c=t.memoizedProps;t=c.id,c=c.onPostCommit,e=e===null?"mount":"update",Jb&&(e="nested-update"),typeof c=="function"&&c(t,e,o,a)}function wu(t){var e=t.type,a=t.memoizedProps,o=t.stateNode;try{Dt(t,eb,o,e,a,t)}catch(c){oe(t,t.return,c)}}function Jh(t,e,a){try{Dt(t,pp,t.stateNode,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function qg(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Mu(t.type)||t.tag===4}function $h(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||qg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Mu(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Vs(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?(ab(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(ab(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=Dl));else if(o!==4&&(o===27&&Mu(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Vs(t,e,a),t=t.sibling;t!==null;)Vs(t,e,a),t=t.sibling}function Hf(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(o!==4&&(o===27&&Mu(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Hf(t,e,a),t=t.sibling;t!==null;)Hf(t,e,a),t=t.sibling}function Gg(t){for(var e,a=t.return;a!==null;){if(qg(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=$h(t),Hf(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(mp(a),e.flags&=-33),e=$h(t),Hf(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=$h(t),Vs(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Xg(t){var e=t.stateNode,a=t.memoizedProps;try{Dt(t,Wi,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Qg(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function p2(t,e){if(t=t.containerInfo,Ex=C1,t=ch(t),Pm(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var c=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break t}var g=0,v=-1,E=-1,D=0,k=0,q=t,j=null;e:for(;;){for(var P;q!==a||c!==0&&q.nodeType!==3||(v=g+c),q!==f||o!==0&&q.nodeType!==3||(E=g+o),q.nodeType===3&&(g+=q.nodeValue.length),(P=q.firstChild)!==null;)j=q,q=P;for(;;){if(q===t)break e;if(j===a&&++D===c&&(v=g),j===f&&++k===o&&(E=g),(P=q.nextSibling)!==null)break;q=j,j=q.parentNode}q=P}a=v===-1||E===-1?null:{start:v,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ax={focusedElem:t,selectionRange:a},C1=!1,ya=e;ya!==null;)if(e=ya,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ya=t;else for(;ya!==null;){switch(t=e=ya,a=t.alternate,c=t.flags,t.tag){case 0:if((c&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)c=t[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:(c&1024)!==0&&a!==null&&Vv(t,a);break;case 3:if((c&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)Is(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Is(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&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(t=e.sibling,t!==null){t.return=e.return,ya=t;break}ya=e.return}}function Fh(t,e,a){var o=tn(),c=Ol(),f=ll(),g=_l(),v=a.flags;switch(a.tag){case 0:case 11:case 15:fl(t,a),v&4&&kv(a,gi|co);break;case 1:if(fl(t,a),v&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||im||(t.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.",K(a)||"instance"),t.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.",K(a)||"instance")),Gi(a)?(hn(),Dt(a,Z2,a,t),wa()):Dt(a,Z2,a,t);else{var E=Yi(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||im||(t.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.",K(a)||"instance"),t.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.",K(a)||"instance")),Gi(a)?(hn(),Dt(a,i5,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate),wa()):Dt(a,i5,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate)}v&64&&Vg(a),v&512&&wr(a,a.return);break;case 3:if(e=_i(),fl(t,a),v&64&&(v=a.updateQueue,v!==null)){if(E=null,a.child!==null)switch(a.child.tag){case 27:case 5:E=a.child.stateNode;break;case 1:E=a.child.stateNode}try{Dt(a,Ds,v,E)}catch(k){oe(a,a.return,k)}}t.effectDuration+=ws(e);break;case 27:e===null&&v&4&&Xg(a);case 26:case 5:if(fl(t,a),e===null){if(v&4)wu(a);else if(v&64){t=a.type,e=a.memoizedProps,E=a.stateNode;try{Dt(a,nb,E,t,e,a)}catch(k){oe(a,a.return,k)}}}v&512&&wr(a,a.return);break;case 12:if(v&4){v=_i(),fl(t,a),t=a.stateNode,t.effectDuration+=Ta(v);try{Dt(a,Yg,a,e,Tc,t.effectDuration)}catch(k){oe(a,a.return,k)}}else fl(t,a);break;case 31:fl(t,a),v&4&&Kg(t,a);break;case 13:fl(t,a),v&4&&Jg(t,a),v&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(v=Uo.bind(null,a),pb(t,v))));break;case 22:if(v=a.memoizedState!==null||$r,!v){e=e!==null&&e.memoizedState!==null||In,E=$r;var D=In;$r=v,(In=e)&&!D?(li(t,a,(a.subtreeFlags&8772)!==0),(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&fh(a,Qt,Jt)):fl(t,a),$r=E,In=D}break;case 30:break;default:fl(t,a)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&((An||.05<gn)&&Jl(a,Qt,Jt,gn,dn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Jt-Qt&&(Qg(a.return.alternate,a.return)||Cl(a,Qt,Jt,"Mount"))),qn(o),al(c),dn=f,An=g}function wn(t){var e=t.alternate;e!==null&&(t.alternate=null,wn(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&X(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Pe(t,e,a){for(a=a.child;a!==null;)Zg(t,e,a),a=a.sibling}function Zg(t,e,a){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Hr,a)}catch(D){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",D))}var o=tn(),c=Ol(),f=ll(),g=_l();switch(a.tag){case 26:In||Nl(a,e),Pe(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:In||Nl(a,e);var v=ta,E=Vl;Mu(a.type)&&(ta=a.stateNode,Vl=!1),Pe(t,e,a),Dt(a,Bo,a.stateNode),ta=v,Vl=E;break;case 5:In||Nl(a,e);case 6:if(v=ta,E=Vl,ta=null,Pe(t,e,a),ta=v,Vl=E,ta!==null)if(Vl)try{Dt(a,ib,ta,a.stateNode)}catch(D){oe(a,e,D)}else try{Dt(a,lb,ta,a.stateNode)}catch(D){oe(a,e,D)}break;case 18:ta!==null&&(Vl?(t=ta,Cr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),_r(t)):Cr(ta,a.stateNode));break;case 4:v=ta,E=Vl,ta=a.stateNode.containerInfo,Vl=!0,Pe(t,e,a),ta=v,Vl=E;break;case 0:case 11:case 14:case 15:Tu(xl,a,e),In||Qh(a,e,gi),Pe(t,e,a);break;case 1:In||(Nl(a,e),v=a.stateNode,typeof v.componentWillUnmount=="function"&&Kh(a,e,v)),Pe(t,e,a);break;case 21:Pe(t,e,a);break;case 22:In=(v=In)||a.memoizedState!==null,Pe(t,e,a),In=v;break;default:Pe(t,e,a)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(a,Qt,Jt,gn,dn),qn(o),al(c),dn=f,An=g}function Kg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Dt(e,gp,t)}catch(a){oe(e,e.return,a)}}}function Jg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Dt(e,m0,t)}catch(a){oe(e,e.return,a)}}function Gv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new X5),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new X5),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function Eu(t,e){var a=Gv(t);e.forEach(function(o){if(!a.has(o)){if(a.add(o),to)if(om!==null&&um!==null)Zs(um,om);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Rr.bind(null,t,o);o.then(c,c)}})}function Ca(t,e){var a=e.deletions;if(a!==null)for(var o=0;o<a.length;o++){var c=t,f=e,g=a[o],v=tn(),E=f;t:for(;E!==null;){switch(E.tag){case 27:if(Mu(E.type)){ta=E.stateNode,Vl=!1;break t}break;case 5:ta=E.stateNode,Vl=!1;break t;case 3:case 4:ta=E.stateNode.containerInfo,Vl=!0;break t}E=E.return}if(ta===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Zg(c,f,g),ta=null,Vl=!1,(g.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(g,Qt,Jt,"Unmount"),qn(v),c=g,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Bf(e,t),e=e.sibling}function Bf(t,e){var a=tn(),o=Ol(),c=ll(),f=_l(),g=t.alternate,v=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ca(e,t),za(t),v&4&&(Tu(xl|co,t,t.return),Oo(xl|co,t),Qh(t,t.return,gi|co));break;case 1:if(Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),v&64&&$r&&(v=t.updateQueue,v!==null&&(g=v.callbacks,g!==null))){var E=v.shared.hiddenCallbacks;v.shared.hiddenCallbacks=E===null?g:E.concat(g)}break;case 26:if(E=Go,Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),v&4){var D=g!==null?g.memoizedState:null;if(v=t.memoizedState,g===null)if(v===null)if(t.stateNode===null){t:{v=t.type,g=t.memoizedProps,E=E.ownerDocument||E;e:switch(v){case"title":D=E.getElementsByTagName("title")[0],(!D||D[pc]||D[an]||D.namespaceURI===ue||D.hasAttribute("itemprop"))&&(D=E.createElement(v),E.head.insertBefore(D,E.querySelector("head > title"))),nn(D,v,g),D[an]=t,jt(D),v=D;break t;case"link":var k=nc("link","href",E).get(v+(g.href||""));if(k){for(var q=0;q<k.length;q++)if(D=k[q],D.getAttribute("href")===(g.href==null||g.href===""?null:g.href)&&D.getAttribute("rel")===(g.rel==null?null:g.rel)&&D.getAttribute("title")===(g.title==null?null:g.title)&&D.getAttribute("crossorigin")===(g.crossOrigin==null?null:g.crossOrigin)){k.splice(q,1);break e}}D=E.createElement(v),nn(D,v,g),E.head.appendChild(D);break;case"meta":if(k=nc("meta","content",E).get(v+(g.content||""))){for(q=0;q<k.length;q++)if(D=k[q],ze(g.content,"content"),D.getAttribute("content")===(g.content==null?null:""+g.content)&&D.getAttribute("name")===(g.name==null?null:g.name)&&D.getAttribute("property")===(g.property==null?null:g.property)&&D.getAttribute("http-equiv")===(g.httpEquiv==null?null:g.httpEquiv)&&D.getAttribute("charset")===(g.charSet==null?null:g.charSet)){k.splice(q,1);break e}}D=E.createElement(v),nn(D,v,g),E.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+v+'". This is a bug in React.')}D[an]=t,jt(D),v=D}t.stateNode=v}else vb(E,t.type,t.stateNode);else t.stateNode=bp(E,v,t.memoizedProps);else D!==v?(D===null?g.stateNode!==null&&(g=g.stateNode,g.parentNode.removeChild(g)):D.count--,v===null?vb(E,t.type,t.stateNode):bp(E,v,t.memoizedProps)):v===null&&t.stateNode!==null&&Jh(t,t.memoizedProps,g.memoizedProps)}break;case 27:Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),g!==null&&v&4&&Jh(t,t.memoizedProps,g.memoizedProps);break;case 5:if(Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),t.flags&32){E=t.stateNode;try{Dt(t,mp,E)}catch(Ct){oe(t,t.return,Ct)}}v&4&&t.stateNode!=null&&(E=t.memoizedProps,Jh(t,E,g!==null?g.memoizedProps:E)),v&1024&&(ix=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ca(e,t),za(t),v&4){if(t.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.");v=t.memoizedProps,g=g!==null?g.memoizedProps:v,E=t.stateNode;try{Dt(t,m2,E,g,v)}catch(Ct){oe(t,t.return,Ct)}}break;case 3:if(E=_i(),A1=null,D=Go,Go=yp(e.containerInfo),Ca(e,t),Go=D,za(t),v&4&&g!==null&&g.memoizedState.isDehydrated)try{Dt(t,p0,e.containerInfo)}catch(Ct){oe(t,t.return,Ct)}ix&&(ix=!1,Xv(t)),e.effectDuration+=ws(E);break;case 4:v=Go,Go=yp(t.stateNode.containerInfo),Ca(e,t),za(t),Go=v;break;case 12:v=_i(),Ca(e,t),za(t),t.stateNode.effectDuration+=Ta(v);break;case 31:Ca(e,t),za(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,Eu(t,v)));break;case 13:Ca(e,t),za(t),t.child.flags&8192&&t.memoizedState!==null!=(g!==null&&g.memoizedState!==null)&&(c1=Jn()),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,Eu(t,v)));break;case 22:E=t.memoizedState!==null;var j=g!==null&&g.memoizedState!==null,P=$r,wt=In;if($r=P||E,In=wt||j,Ca(e,t),In=wt,$r=P,j&&!E&&!P&&!wt&&(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&fh(t,Qt,Jt),za(t),v&8192)t:for(e=t.stateNode,e._visibility=E?e._visibility&~F0:e._visibility|F0,!E||g===null||j||$r||In||(Au(t),(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(t,Qt,Jt,"Disconnect")),g=null,e=t;;){if(e.tag===5||e.tag===26){if(g===null){j=g=e;try{D=j.stateNode,E?Dt(j,ub,D):Dt(j,cb,j.stateNode,j.memoizedProps)}catch(Ct){oe(j,j.return,Ct)}}}else if(e.tag===6){if(g===null){j=e;try{k=j.stateNode,E?Dt(j,rb,k):Dt(j,fb,k,j.memoizedProps)}catch(Ct){oe(j,j.return,Ct)}}}else if(e.tag===18){if(g===null){j=e;try{q=j.stateNode,E?Dt(j,ob,q):Dt(j,sb,j.stateNode)}catch(Ct){oe(j,j.return,Ct)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;g===e&&(g=null),e=e.return}g===e&&(g=null),e.sibling.return=e.return,e=e.sibling}v&4&&(v=t.updateQueue,v!==null&&(g=v.retryQueue,g!==null&&(v.retryQueue=null,Eu(t,g))));break;case 19:Ca(e,t),za(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,Eu(t,v)));break;case 30:break;case 21:break;default:Ca(e,t),za(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&((An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<Jt-Qt&&(Qg(t.return.alternate,t.return)||Cl(t,Qt,Jt,"Mount"))),qn(a),al(o),dn=c,An=f}function za(t){var e=t.flags;if(e&2){try{Dt(t,Gg,t)}catch(a){oe(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Xv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Xv(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function fl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Fh(t,e.alternate,e),e=e.sibling}function Wh(t){var e=tn(),a=Ol(),o=ll(),c=_l();switch(t.tag){case 0:case 11:case 14:case 15:Qh(t,t.return,gi),Au(t);break;case 1:Nl(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Kh(t,t.return,f),Au(t);break;case 27:Dt(t,Bo,t.stateNode);case 26:case 5:Nl(t,t.return),Au(t);break;case 22:t.memoizedState===null&&Au(t);break;case 30:Au(t);break;default:Au(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),qn(e),al(a),dn=o,An=c}function Au(t){for(t=t.child;t!==null;)Wh(t),t=t.sibling}function $g(t,e,a,o){var c=tn(),f=Ol(),g=ll(),v=_l(),E=a.flags;switch(a.tag){case 0:case 11:case 15:li(t,a,o),kv(a,gi);break;case 1:if(li(t,a,o),e=a.stateNode,typeof e.componentDidMount=="function"&&Dt(a,Z2,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{Dt(a,gg,e,t)}catch(D){oe(a,a.return,D)}}o&&E&64&&Vg(a),wr(a,a.return);break;case 27:Xg(a);case 26:case 5:li(t,a,o),o&&e===null&&E&4&&wu(a),wr(a,a.return);break;case 12:if(o&&E&4){E=_i(),li(t,a,o),o=a.stateNode,o.effectDuration+=Ta(E);try{Dt(a,Yg,a,e,Tc,o.effectDuration)}catch(D){oe(a,a.return,D)}}else li(t,a,o);break;case 31:li(t,a,o),o&&E&4&&Kg(t,a);break;case 13:li(t,a,o),o&&E&4&&Jg(t,a);break;case 22:a.memoizedState===null&&li(t,a,o),wr(a,a.return);break;case 30:break;default:li(t,a,o)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(a,Qt,Jt,gn,dn),qn(c),al(f),dn=g,An=v}function li(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)$g(t,e.alternate,e,a),e=e.sibling}function Lf(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&or(t),a!=null&&cf(a))}function kf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(or(e),t!=null&&cf(t))}function dl(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var f=e.sibling;Fg(t,e,a,o,f!==null?f.actualStartTime:c),e=f}}function Fg(t,e,a,o,c){var f=tn(),g=Ol(),v=ll(),E=_l(),D=vc,k=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&ce)!==Ft&&0<e.actualStartTime&&(e.flags&1)!==0&&dh(e,e.actualStartTime,c,ua,a),dl(t,e,a,o,c),k&2048&&jf(e,Tl|co);break;case 1:(e.mode&ce)!==Ft&&0<e.actualStartTime&&((e.flags&128)!==0?tg(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&dh(e,e.actualStartTime,c,ua,a)),dl(t,e,a,o,c);break;case 3:var q=_i(),j=ua;ua=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,dl(t,e,a,o,c),ua=j,k&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),o=e.memoizedState.cache,o!==a&&(or(o),a!=null&&cf(a))),t.passiveEffectDuration+=ws(q);break;case 12:if(k&2048){k=_i(),dl(t,e,a,o,c),t=e.stateNode,t.passiveEffectDuration+=Ta(k);try{Dt(e,qv,e,e.alternate,Tc,t.passiveEffectDuration)}catch(P){oe(e,e.return,P)}}else dl(t,e,a,o,c);break;case 31:k=ua,q=e.alternate!==null?e.alternate.memoizedState:null,j=e.memoizedState,q!==null&&j===null?(j=e.deletions,j!==null&&0<j.length&&j[0].tag===18?(ua=!1,q=q.hydrationErrors,q!==null&&tg(e,e.actualStartTime,c,q)):ua=!0):ua=!1,dl(t,e,a,o,c),ua=k;break;case 13:k=ua,q=e.alternate!==null?e.alternate.memoizedState:null,j=e.memoizedState,q===null||q.dehydrated===null||j!==null&&j.dehydrated!==null?ua=!1:(j=e.deletions,j!==null&&0<j.length&&j[0].tag===18?(ua=!1,q=q.hydrationErrors,q!==null&&tg(e,e.actualStartTime,c,q)):ua=!0),dl(t,e,a,o,c),ua=k;break;case 23:break;case 22:j=e.stateNode,q=e.alternate,e.memoizedState!==null?j._visibility&kr?dl(t,e,a,o,c):Er(t,e,a,o,c):j._visibility&kr?dl(t,e,a,o,c):(j._visibility|=kr,Ru(t,e,a,o,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),c),(e.mode&ce)===Ft||ua||(t=e.actualStartTime,0<=t&&.05<c-t&&fh(e,t,c),0<=Qt&&0<=Jt&&.05<Jt-Qt&&fh(e,Qt,Jt))),k&2048&&Lf(q,e);break;case 24:dl(t,e,a,o,c),k&2048&&kf(e.alternate,e);break;default:dl(t,e,a,o,c)}(e.mode&ce)!==Ft&&((t=!ua&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<c-a&&Cl(e,a,c,"Mount")),0<=Qt&&0<=Jt&&((An||.05<gn)&&Jl(e,Qt,Jt,gn,dn),t&&.05<Jt-Qt&&Cl(e,Qt,Jt,"Mount"))),qn(f),al(g),dn=v,An=E,vc=D}function Ru(t,e,a,o,c,f){for(c=c&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var g=e.sibling;Vf(t,e,a,o,c,g!==null?g.actualStartTime:f),e=g}}function Vf(t,e,a,o,c,f){var g=tn(),v=Ol(),E=ll(),D=_l(),k=vc;c&&(e.mode&ce)!==Ft&&0<e.actualStartTime&&(e.flags&1)!==0&&dh(e,e.actualStartTime,f,ua,a);var q=e.flags;switch(e.tag){case 0:case 11:case 15:Ru(t,e,a,o,c,f),jf(e,Tl);break;case 23:break;case 22:var j=e.stateNode;e.memoizedState!==null?j._visibility&kr?Ru(t,e,a,o,c,f):Er(t,e,a,o,f):(j._visibility|=kr,Ru(t,e,a,o,c,f)),c&&q&2048&&Lf(e.alternate,e);break;case 24:Ru(t,e,a,o,c,f),c&&q&2048&&kf(e.alternate,e);break;default:Ru(t,e,a,o,c,f)}(e.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(e,Qt,Jt,gn,dn),qn(g),al(v),dn=E,An=D,vc=k}function Er(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var f=e.child;f!==null;){e=f.sibling;var g=t,v=a,E=o,D=e!==null?e.actualStartTime:c,k=vc;(f.mode&ce)!==Ft&&0<f.actualStartTime&&(f.flags&1)!==0&&dh(f,f.actualStartTime,D,ua,v);var q=f.flags;switch(f.tag){case 22:Er(g,f,v,E,D),q&2048&&Lf(f.alternate,f);break;case 24:Er(g,f,v,E,D),q&2048&&kf(f.alternate,f);break;default:Er(g,f,v,E,D)}vc=k,f=e}}function Ar(t,e,a){if(t.subtreeFlags&gy)for(t=t.child;t!==null;)Ph(t,e,a),t=t.sibling}function Ph(t,e,a){switch(t.tag){case 26:Ar(t,e,a),t.flags&gy&&t.memoizedState!==null&&S0(a,Go,t.memoizedState,t.memoizedProps);break;case 5:Ar(t,e,a);break;case 3:case 4:var o=Go;Go=yp(t.stateNode.containerInfo),Ar(t,e,a),Go=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=gy,gy=16777216,Ar(t,e,a),gy=o):Ar(t,e,a));break;default:Ar(t,e,a)}}function Wg(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function hl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=tn();ya=o,Xi(o,t),(o.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(o,Qt,Jt,"Unmount"),qn(c)}Wg(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ih(t),t=t.sibling}function Ih(t){var e=tn(),a=Ol(),o=ll(),c=_l();switch(t.tag){case 0:case 11:case 15:hl(t),t.flags&2048&&Zh(t,t.return,Tl|co);break;case 3:var f=_i();hl(t),t.stateNode.passiveEffectDuration+=ws(f);break;case 12:f=_i(),hl(t),t.stateNode.passiveEffectDuration+=Ta(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&kr&&(t.return===null||t.return.tag!==13)?(f._visibility&=~kr,tp(t),(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(t,Qt,Jt,"Disconnect")):hl(t);break;default:hl(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),qn(e),al(a),An=c,dn=o}function tp(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=tn();ya=o,Xi(o,t),(o.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(o,Qt,Jt,"Unmount"),qn(c)}Wg(t)}for(t=t.child;t!==null;)Pg(t),t=t.sibling}function Pg(t){var e=tn(),a=Ol(),o=ll(),c=_l();switch(t.tag){case 0:case 11:case 15:Zh(t,t.return,Tl),tp(t);break;case 22:var f=t.stateNode;f._visibility&kr&&(f._visibility&=~kr,tp(t));break;default:tp(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),qn(e),al(a),An=c,dn=o}function Xi(t,e){for(;ya!==null;){var a=ya,o=a,c=e,f=tn(),g=Ol(),v=ll(),E=_l();switch(o.tag){case 0:case 11:case 15:Zh(o,c,Tl);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool,c!=null&&or(c));break;case 24:cf(o.memoizedState.cache)}if((o.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(o,Qt,Jt,gn,dn),qn(f),al(g),An=E,dn=v,o=a.child,o!==null)o.return=a,ya=o;else t:for(a=t;ya!==null;){if(o=ya,f=o.sibling,g=o.return,wn(o),o===a){ya=null;break t}if(f!==null){f.return=g,ya=f;break t}ya=g}}}function Ig(){P_.forEach(function(t){return t()})}function t0(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||nt.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function ha(t){if((Re&ra)!==va&&de!==0)return de&-de;var e=nt.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),c0()):Io()}function Ys(){if(ql===0)if((de&536870912)===0||Se){var t=sd;sd<<=1,(sd&3932160)===0&&(sd=262144),ql=t}else ql=536870912;return t=mi.current,t!==null&&(t.flags|=32),ql}function Wt(t,e,a){if(cm&&console.error("useInsertionEffect must not schedule updates."),gx&&(p1=!0),(t===Fe&&(Qe===Ad||Qe===Rd)||t.cancelPendingCommit!==null)&&(Qi(t,0),Hl(t,de,ql,!1)),Gl(t,a),(Re&ra)!==va&&t===Fe){if(Pi)switch(e.tag){case 0:case 11:case 15:t=me&&K(me)||"Unknown",iR.has(t)||(iR.add(t),e=K(e)||"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",e,t,t));break;case 1:lR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),lR=!0)}}else to&&On(t,e,a),Xf(e),t===Fe&&((Re&ra)===va&&(Mc|=a),yn===Dc&&Hl(t,de,ql,!1)),Ga(t)}function Qv(t,e,a){if((Re&(ra|yi))!==va)throw Error("Should not already be working.");if(de!==0&&me!==null){var o=me,c=Jn();switch(WA){case by:case Ad:var f=ny;ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,c,no,void 0,"primary-light")):console.timeStamp("Suspended",f,c,no,void 0,"primary-light"));break;case Rd:f=ny,ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,c,no,void 0,"primary-light")):console.timeStamp("Action",f,c,no,void 0,"primary-light"));break;default:ln&&(o=c-ny,3>o||console.timeStamp("Blocked",ny,c,no,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||Rn(t,e))?_o(t,e):Xs(t,e,!0);var g=a;do{if(f===Fr){rm&&!a&&Hl(t,e,0,!1),e=Qe,ny=Fn(),WA=e;break}else{if(o=Jn(),c=t.current.alternate,g&&!Kv(c)){Kl(e),c=ga,f=o,!ln||f<=c||(Mn?Mn.run(console.timeStamp.bind(console,"Teared Render",c,f,Ee,Te,"error")):console.timeStamp("Teared Render",c,f,Ee,Te,"error")),Du(e,o),f=Xs(t,e,!1),g=!1;continue}if(f===Ed){if(g=e,t.errorRecoveryDisabledLanes&g)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){Kl(e),eg(ga,o,e,Mn),Du(e,o),e=v;t:{o=t,f=g,g=xy;var E=o.current.memoizedState.isDehydrated;if(E&&(Qi(o,v).flags|=256),v=Xs(o,v,!1),v!==Ed){if(rx&&!E){o.errorRecoveryDisabledLanes|=f,Mc|=f,f=Dc;break t}o=wl,wl=g,o!==null&&(wl===null?wl=o:wl.push.apply(wl,o))}f=v}if(g=!1,f!==Ed)continue;o=Jn()}}if(f===vy){Kl(e),eg(ga,o,e,Mn),Du(e,o),Qi(t,0),Hl(t,e,0,!0);break}t:{switch(a=t,f){case Fr:case vy:throw Error("Root did not complete. This is a bug in React.");case Dc:if((e&4194048)!==e)break;case o1:Kl(e),xv(ga,o,e,Mn),Du(e,o),c=e,(c&127)!==0?Qb=o:(c&4194048)!==0&&(Zb=o),Hl(a,e,ql,!Cc);break t;case Ed:wl=null;break;case i1:case Q5:break;default:throw Error("Unknown root exit status.")}if(nt.actQueue!==null)Ke(a,c,e,wl,Ty,s1,ql,Mc,Dd,f,null,null,ga,o);else{if((e&62914560)===e&&(g=c1+J5-Jn(),10<g)){if(Hl(a,e,ql,!Cc),Xu(a,0,!0)!==0)break t;Xo=e,a.timeoutHandle=hR(Zv.bind(null,a,c,wl,Ty,s1,e,ql,Mc,Dd,Cc,f,"Throttled",ga,o),g);break t}Zv(a,c,wl,Ty,s1,e,ql,Mc,Dd,Cc,f,null,ga,o)}}}break}while(!0);Ga(t)}function Zv(t,e,a,o,c,f,g,v,E,D,k,q,j,P){t.timeoutHandle=_d;var wt=e.subtreeFlags,Ct=null;if((wt&8192||(wt&16785408)===16785408)&&(Ct={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Dl},Ph(e,f,Ct),wt=(f&62914560)===f?c1-Jn():(f&4194048)===f?K5-Jn():0,wt=Sp(Ct,wt),wt!==null)){Xo=f,t.cancelPendingCommit=wt(Ke.bind(null,t,e,f,a,o,c,g,v,E,k,Ct,Ct.waitingForViewTransition?"Waiting for the previous Animation":0<Ct.count?0<Ct.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ct.imgCount===1?"Suspended on an Image":0<Ct.imgCount?"Suspended on Images":null,j,P)),Hl(t,f,g,!D);return}Ke(t,e,f,a,o,c,g,v,E,k,Ct,q,j,P)}function Kv(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var c=a[o],f=c.getSnapshot;c=c.value;try{if(!bl(f(),c))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Hl(t,e,a,o){e&=~sx,e&=~Mc,t.suspendedLanes|=e,t.pingedLanes&=~e,o&&(t.warmLanes|=e),o=t.expirationTimes;for(var c=e;0<c;){var f=31-ia(c),g=1<<f;o[f]=-1,c&=~g}a!==0&&rs(t,a,e)}function pl(){return(Re&(ra|yi))===va?(Ki(0),!1):!0}function ep(){if(me!==null){if(Qe===Yl)var t=me.return;else t=me,xs(),du(t),Ip=null,fy=0,t=me;for(;t!==null;)kg(t.alternate,t),t=t.return;me=null}}function Du(t,e){(t&127)!==0&&(md=e),(t&4194048)!==0&&(Xr=e),(t&62914560)!==0&&($A=e),(t&2080374784)!==0&&(FA=e)}function Qi(t,e){ln&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Te,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Te,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Te,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Te,"primary-light"));var a=ga;if(ga=Fn(),de!==0&&0<a){if(Kl(de),yn===i1||yn===Dc)xv(a,ga,e,Mn);else{var o=ga,c=Mn;if(ln&&!(o<=a)){var f=(e&738197653)===e?"tertiary-dark":"primary-dark",g=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";c?c.run(console.timeStamp.bind(console,g,a,o,Ee,Te,f)):console.timeStamp(g,a,o,Ee,Te,f)}}Du(de,ga)}if(a=Mn,Mn=null,(e&127)!==0){Mn=I0,c=0<=Lu&&Lu<md?md:Lu,o=0<=gd&&gd<md?md:gd,f=0<=o?o:0<=c?c:ga,0<=Qb?(Kl(2),Tv(Qb,f,e,a)):Kb&127,a=c;var v=o,E=ty,D=0<Fp,k=wc===P0,q=wc===Xb;if(c=ga,o=I0,f=Y2,g=q2,ln){if(Ee="Blocking",0<a?a>c&&(a=c):a=c,0<v?v>a&&(v=a):v=a,E!==null&&a>v){var j=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+E,v,a,Ee,Te,j)):console.timeStamp(D?"Consecutive":"Event: "+E,v,a,Ee,Te,j)}c>a&&(v=k?"error":(e&738197653)===e?"tertiary-light":"primary-light",k=q?"Promise Resolved":k?"Cascading Update":5<c-a?"Update Blocked":"Update",q=[],g!=null&&q.push(["Component name",g]),f!=null&&q.push(["Method name",f]),a={start:a,end:c,detail:{devtools:{properties:q,track:Ee,trackGroup:Te,color:v}}},o?o.run(performance.measure.bind(performance,k,a)):performance.measure(k,a))}Lu=-1.1,wc=0,q2=Y2=null,Qb=-1.1,Fp=gd,gd=-1.1,md=Fn()}if((e&4194048)!==0&&(Mn=ey,c=0<=Qr&&Qr<Xr?Xr:Qr,a=0<=ro&&ro<Xr?Xr:ro,o=0<=Ec&&Ec<Xr?Xr:Ec,f=0<=o?o:0<=a?a:ga,0<=Zb?(Kl(256),Tv(Zb,f,e,Mn)):Kb&4194048,q=o,v=yd,E=0<Ac,D=G2===Xb,f=ga,o=ey,g=KA,k=JA,ln&&(Ee="Transition",0<a?a>f&&(a=f):a=f,0<c?c>a&&(c=a):c=a,0<q?q>c&&(q=c):q=c,c>q&&v!==null&&(j=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+v,q,c,Ee,Te,j)):console.timeStamp(E?"Consecutive":"Event: "+v,q,c,Ee,Te,j)),a>c&&(o?o.run(console.timeStamp.bind(console,"Action",c,a,Ee,Te,"primary-dark")):console.timeStamp("Action",c,a,Ee,Te,"primary-dark")),f>a&&(c=D?"Promise Resolved":5<f-a?"Update Blocked":"Update",q=[],k!=null&&q.push(["Component name",k]),g!=null&&q.push(["Method name",g]),a={start:a,end:f,detail:{devtools:{properties:q,track:Ee,trackGroup:Te,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),ro=Qr=-1.1,G2=0,Zb=-1.1,Ac=Ec,Ec=-1.1,Xr=Fn()),(e&62914560)!==0&&(Kb&62914560)!==0&&(Kl(4194304),ng($A,ga)),(e&2080374784)!==0&&(Kb&2080374784)!==0&&(Kl(268435456),ng(FA,ga)),a=t.timeoutHandle,a!==_d&&(t.timeoutHandle=_d,f4(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Xo=0,ep(),Fe=t,me=a=Mi(t.current,null),de=e,Qe=Yl,vi=null,Cc=!1,rm=Rn(t,e),rx=!1,yn=Fr,Dd=ql=sx=Mc=zc=0,wl=xy=null,s1=!1,(e&8)!==0&&(e|=e&32),o=t.entangledLanes,o!==0)for(t=t.entanglements,o&=e;0<o;)c=31-ia(o),f=1<<c,e|=t[c],o&=~f;return Vu=e,hh(),t=YA(),1e3<t-VA&&(nt.recentlyCreatedOwnerStacks=0,VA=t),Yo.discardPendingWarnings(),a}function ii(t,e){It=null,nt.H=my,nt.getCurrentStack=null,Pi=!1,Ka=null,e===Pp||e===Wb?(e=sr(),Qe=by):e===K2?(e=sr(),Qe=Z5):Qe=e===ax?ux:e!==null&&typeof e=="object"&&typeof e.then=="function"?Sy:u1,vi=e;var a=me;a===null?(yn=vy,zf(t,xa(e,t.current))):a.mode&ce&&Sh(a)}function e0(){var t=mi.current;return t===null?!0:(de&4194048)===de?so===null:(de&62914560)===de||(de&536870912)!==0?t===so:!1}function np(){var t=nt.H;return nt.H=my,t===null?my:t}function n0(){var t=nt.A;return nt.A=W_,t}function qs(t){Mn===null&&(Mn=t._debugTask==null?null:t._debugTask)}function Gs(){yn=Dc,Cc||(de&4194048)!==de&&mi.current!==null||(rm=!0),(zc&134217727)===0&&(Mc&134217727)===0||Fe===null||Hl(Fe,de,ql,!1)}function Xs(t,e,a){var o=Re;Re|=ra;var c=np(),f=n0();if(Fe!==t||de!==e){if(to){var g=t.memoizedUpdaters;0<g.size&&(Zs(t,de),g.clear()),Ia(t,e)}Ty=null,Qi(t,e)}e=!1,g=yn;t:do try{if(Qe!==Yl&&me!==null){var v=me,E=vi;switch(Qe){case ux:ep(),g=o1;break t;case by:case Ad:case Rd:case Sy:mi.current===null&&(e=!0);var D=Qe;if(Qe=Yl,vi=null,Qs(t,v,E,D),a&&rm){g=Fr;break t}break;default:D=Qe,Qe=Yl,vi=null,Qs(t,v,E,D)}}a0(),g=yn;break}catch(k){ii(t,k)}while(!0);return e&&t.shellSuspendCounter++,xs(),Re=o,nt.H=c,nt.A=f,me===null&&(Fe=null,de=0,hh()),g}function a0(){for(;me!==null;)ap(me)}function _o(t,e){var a=Re;Re|=ra;var o=np(),c=n0();if(Fe!==t||de!==e){if(to){var f=t.memoizedUpdaters;0<f.size&&(Zs(t,de),f.clear()),Ia(t,e)}Ty=null,f1=Jn()+$5,Qi(t,e)}else rm=Rn(t,e);t:do try{if(Qe!==Yl&&me!==null)e:switch(e=me,f=vi,Qe){case u1:Qe=Yl,vi=null,Qs(t,e,f,u1);break;case Ad:case Rd:if(pg(f)){Qe=Yl,vi=null,l0(e);break}e=function(){Qe!==Ad&&Qe!==Rd||Fe!==t||(Qe=r1),Ga(t)},f.then(e,e);break t;case by:Qe=r1;break t;case Z5:Qe=ox;break t;case r1:pg(f)?(Qe=Yl,vi=null,l0(e)):(Qe=Yl,vi=null,Qs(t,e,f,r1));break;case ox:var g=null;switch(me.tag){case 26:g=me.memoizedState;case 5:case 27:var v=me;if(g?ge(g):v.stateNode.complete){Qe=Yl,vi=null;var E=v.sibling;if(E!==null)me=E;else{var D=v.return;D!==null?(me=D,Yf(D)):me=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Qe=Yl,vi=null,Qs(t,e,f,ox);break;case Sy:Qe=Yl,vi=null,Qs(t,e,f,Sy);break;case ux:ep(),yn=o1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}nt.actQueue!==null?a0():Cn();break}catch(k){ii(t,k)}while(!0);return xs(),nt.H=o,nt.A=c,Re=a,me!==null?Fr:(Fe=null,de=0,hh(),yn)}function Cn(){for(;me!==null&&!Op();)ap(me)}function ap(t){var e=t.alternate;(t.mode&ce)!==Ft?(xo(t),e=Dt(t,Uf,e,t,Vu),Sh(t)):e=Dt(t,Uf,e,t,Vu),t.memoizedProps=t.pendingProps,e===null?Yf(t):me=e}function l0(t){var e=Dt(t,Kn,t);t.memoizedProps=t.pendingProps,e===null?Yf(t):me=e}function Kn(t){var e=t.alternate,a=(t.mode&ce)!==Ft;switch(a&&xo(t),t.tag){case 15:case 0:e=Ug(e,t,t.pendingProps,t.type,void 0,de);break;case 11:e=Ug(e,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:du(t);default:kg(e,t),t=me=og(t,Vu),e=Uf(e,t,Vu)}return a&&Sh(t),e}function Qs(t,e,a,o){xs(),du(e),Ip=null,fy=0;var c=e.return;try{if(Rg(t,c,e,a,de)){yn=vy,zf(t,xa(a,t.current)),me=null;return}}catch(f){if(c!==null)throw me=c,f;yn=vy,zf(t,xa(a,t.current)),me=null;return}e.flags&32768?(Se||o===u1?t=!0:rm||(de&536870912)!==0?t=!1:(Cc=t=!0,(o===Ad||o===Rd||o===by||o===Sy)&&(o=mi.current,o!==null&&o.tag===13&&(o.flags|=16384))),i0(e,t)):Yf(e)}function Yf(t){var e=t;do{if((e.flags&32768)!==0){i0(e,Cc);return}var a=e.alternate;if(t=e.return,xo(e),a=Dt(e,Lg,a,e,Vu),(e.mode&ce)!==Ft&&ff(e),a!==null){me=a;return}if(e=e.sibling,e!==null){me=e;return}me=e=t}while(e!==null);yn===Fr&&(yn=Q5)}function i0(t,e){do{var a=Lv(t.alternate,t);if(a!==null){a.flags&=32767,me=a;return}if((t.mode&ce)!==Ft){ff(t),a=t.actualDuration;for(var o=t.child;o!==null;)a+=o.actualDuration,o=o.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){me=t;return}me=t=a}while(t!==null);yn=o1,me=null}function Ke(t,e,a,o,c,f,g,v,E,D,k,q,j,P){t.cancelPendingCommit=null;do qf();while(ea!==_c);if(Yo.flushLegacyContextWarning(),Yo.flushPendingUnsafeLifecycleWarnings(),(Re&(ra|yi))!==va)throw Error("Should not already be working.");if(Kl(a),D===Ed?eg(j,P,a,Mn):o!==null?c2(j,P,a,o,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,Mn):s2(j,P,a,Mn),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.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(f=e.lanes|e.childLanes,f|=H2,$d(t,a,f,g,v,E),t===Fe&&(me=Fe=null,de=0),sm=e,Uc=t,Xo=a,dx=f,px=c,eR=o,hx=P,nR=q,Qo=d1,aR=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Ks(Nr,function(){return Cy=window.event,Qo===d1&&(Qo=fx),Gf(),null})):(t.callbackNode=null,t.callbackPriority=0),Gr=null,Tc=Fn(),q!==null&&f2(P,Tc,q,Mn),o=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||o){o=nt.T,nt.T=null,c=je.p,je.p=Hn,g=Re,Re|=yi;try{p2(t,e,a)}finally{Re=g,je.p=c,nt.T=o}}ea=W5,Ma(),Zi(),o0()}}function Ma(){if(ea===W5){ea=_c;var t=Uc,e=sm,a=Xo,o=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||o){o=nt.T,nt.T=null;var c=je.p;je.p=Hn;var f=Re;Re|=yi;try{om=a,um=t,ur(),Bf(e,t),um=om=null,a=Ax;var g=ch(t.containerInfo),v=a.focusedElem,E=a.selectionRange;if(g!==v&&v&&v.ownerDocument&&yv(v.ownerDocument.documentElement,v)){if(E!==null&&Pm(v)){var D=E.start,k=E.end;if(k===void 0&&(k=D),"selectionStart"in v)v.selectionStart=D,v.selectionEnd=Math.min(k,v.value.length);else{var q=v.ownerDocument||document,j=q&&q.defaultView||window;if(j.getSelection){var P=j.getSelection(),wt=v.textContent.length,Ct=Math.min(E.start,wt),Ie=E.end===void 0?Ct:Math.min(E.end,wt);!P.extend&&Ct>Ie&&(g=Ie,Ie=Ct,Ct=g);var we=gv(v,Ct),U=gv(v,Ie);if(we&&U&&(P.rangeCount!==1||P.anchorNode!==we.node||P.anchorOffset!==we.offset||P.focusNode!==U.node||P.focusOffset!==U.offset)){var N=q.createRange();N.setStart(we.node,we.offset),P.removeAllRanges(),Ct>Ie?(P.addRange(N),P.extend(U.node,U.offset)):(N.setEnd(U.node,U.offset),P.addRange(N))}}}}for(q=[],P=v;P=P.parentNode;)P.nodeType===1&&q.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<q.length;v++){var L=q[v];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}C1=!!Ex,Ax=Ex=null}finally{Re=f,je.p=c,nt.T=o}}t.current=e,ea=P5}}function Zi(){if(ea===P5){ea=_c;var t=aR;if(t!==null){Tc=Fn();var e=qr,a=Tc;!ln||a<=e||console.timeStamp(t,e,a,Ee,Te,"secondary-light")}t=Uc,e=sm,a=Xo;var o=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||o){o=nt.T,nt.T=null;var c=je.p;je.p=Hn;var f=Re;Re|=yi;try{om=a,um=t,ur(),Fh(t,e.alternate,e),um=om=null}finally{Re=f,je.p=c,nt.T=o}}t=hx,e=nR,qr=Fn(),t=e===null?t:Tc,e=qr,a=Qo===cx,o=Mn,Gr!==null?wv(t,e,Gr,!1,o):!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,Ee,Te,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,Ee,Te,a?"error":"secondary-dark")),ea=I5}}function o0(){if(ea===tR||ea===I5){if(ea===tR){var t=qr;qr=Fn();var e=qr,a=Qo===cx;!ln||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,Ee,Te,a?" error":"secondary-light"),Qo!==cx&&(Qo=F5)}ea=_c,_p(),t=Uc;var o=sm;e=Xo,a=eR;var c=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;c?ea=h1:(ea=_c,sm=Uc=null,u0(t,t.pendingLanes),Cd=0,Ey=null);var f=t.pendingLanes;if(f===0&&(Oc=null),c||op(t),f=Vn(e),o=o.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{var g=(o.current.flags&128)===128;switch(f){case Hn:var v=B0;break;case oa:v=Up;break;case ma:v=Nr;break;case Nu:v=jp;break;default:v=Nr}Nn.onCommitFiberRoot(Hr,o,v,g)}catch(q){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",q))}if(to&&t.memoizedUpdaters.clear(),Ig(),a!==null){g=nt.T,v=je.p,je.p=Hn,nt.T=null;try{var E=t.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],k=Jv(D.stack);Dt(D.source,E,D.value,k)}}finally{nt.T=g,je.p=v}}(Xo&3)!==0&&qf(),Ga(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?($b=!0,t===mx?wy++:(wy=0,mx=t)):wy=0,c||Du(e,qr),Ki(0)}}function Jv(t){return t={componentStack:t},Object.defineProperty(t,"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.')}}),t}function u0(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,cf(e)))}function qf(){return Ma(),Zi(),o0(),Gf()}function Gf(){if(ea!==h1)return!1;var t=Uc,e=dx;dx=0;var a=Vn(Xo),o=ma>a?ma:a;a=nt.T;var c=je.p;try{je.p=o,nt.T=null;var f=px;px=null,o=Uc;var g=Xo;if(ea=_c,sm=Uc=null,Xo=0,(Re&(ra|yi))!==va)throw Error("Cannot flush passive effects while already rendering.");Kl(g),gx=!0,p1=!1;var v=0;if(Gr=null,v=Jn(),Qo===F5)ng(qr,v,X_);else{var E=qr,D=v,k=Qo===fx;!ln||D<=E||(Mn?Mn.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",E,D,Ee,Te,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",E,D,Ee,Te,"secondary-light"))}E=Re,Re|=yi;var q=o.current;ur(),Ih(q);var j=o.current;q=hx,ur(),Fg(o,j,g,f,q),op(o),Re=E;var P=Jn();if(j=v,q=Mn,Gr!==null?wv(j,P,Gr,!0,q):!ln||P<=j||(q?q.run(console.timeStamp.bind(console,"Remaining Effects",j,P,Ee,Te,"secondary-dark")):console.timeStamp("Remaining Effects",j,P,Ee,Te,"secondary-dark")),Du(g,P),Ki(0,!1),p1?o===Ey?Cd++:(Cd=0,Ey=o):Cd=0,p1=gx=!1,Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Hr,o)}catch(Ct){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",Ct))}var wt=o.current.stateNode;return wt.effectDuration=0,wt.passiveEffectDuration=0,!0}finally{je.p=c,nt.T=a,u0(t,e)}}function Oa(t,e,a){e=xa(a,e),zv(e),e=Hh(t.stateNode,e,2),t=ji(t,e,2),t!==null&&(Gl(t,2),Ga(t))}function oe(t,e,a){if(cm=!1,t.tag===3)Oa(t,t,a);else{for(;e!==null;){if(e.tag===3){Oa(e,t,a);return}if(e.tag===1){var o=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Oc===null||!Oc.has(o))){t=xa(a,t),zv(t),a=Bh(2),o=ji(e,a,2),o!==null&&(Lh(a,o,e,t),Gl(o,2),Ga(o));return}}e=e.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.
|
|
166
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,Ct(e,function(v,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,E)},f,g)}a=a.next}while(a!==c)}}catch(v){oe(e,e.return,v)}}function wu(t,e,a){try{var o=e.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var f=c.next;o=f;do{if((o.tag&t)===t){var g=o.inst,v=g.destroy;v!==void 0&&(g.destroy=void 0,(t&xl)!==e1&&(dm=!0),c=e,Ct(c,P_,c,a,v),(t&xl)!==e1&&(dm=!1))}o=o.next}while(o!==f)}}catch(E){oe(e,e.return,E)}}function Nf(t,e){Gi(t)?(hn(),_o(e,t),wa()):_o(e,t)}function Jh(t,e,a){Gi(t)?(hn(),wu(a,t,e),wa()):wu(a,t,e)}function Gg(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||um||(a.props!==t.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.",K(t)||"instance"),a.state!==t.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.",K(t)||"instance"));try{Ct(t,zs,e,a)}catch(o){oe(t,t.return,o)}}}function Hf(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function Yv(t,e){var a=e.memoizedProps,o=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||um||(e.props!==t.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.",K(t)||"instance"),e.state!==t.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.",K(t)||"instance"));try{var c=Yi(t.type,a),f=Ct(t,Hf,e,c,o);a=Z5,f!==void 0||a.has(t.type)||(a.add(t.type),Ct(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",K(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(g){oe(t,t.return,g)}}function $h(t,e,a){a.props=Yi(t.type,t.memoizedProps),a.state=t.memoizedState,Gi(t)?(hn(),Ct(t,f5,t,e,a),wa()):Ct(t,f5,t,e,a)}function qv(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(Gi(t))try{hn(),t.refCleanup=e(a)}finally{wa()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",K(t)),e.current=a}}function Er(t,e){try{Ct(t,qv,t)}catch(a){oe(t,e,a)}}function Nl(t,e){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{if(Gi(t))try{hn(),Ct(t,o)}finally{wa(t)}else Ct(t,o)}catch(c){oe(t,e,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(Gi(t))try{hn(),Ct(t,a,null)}finally{wa(t)}else Ct(t,a,null)}catch(c){oe(t,e,c)}else a.current=null}function Xg(t,e,a,o){var c=t.memoizedProps,f=c.id,g=c.onCommit;c=c.onRender,e=e===null?"mount":"update",$b&&(e="nested-update"),typeof c=="function"&&c(f,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof g=="function"&&g(f,e,o,a)}function Gv(t,e,a,o){var c=t.memoizedProps;t=c.id,c=c.onPostCommit,e=e===null?"mount":"update",$b&&(e="nested-update"),typeof c=="function"&&c(t,e,o,a)}function Eu(t){var e=t.type,a=t.memoizedProps,o=t.stateNode;try{Ct(t,nb,o,e,a,t)}catch(c){oe(t,t.return,c)}}function Fh(t,e,a){try{Ct(t,gp,t.stateNode,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Qg(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ou(t.type)||t.tag===4}function Wh(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Qg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ou(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function qs(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?(lb(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(lb(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=Dl));else if(o!==4&&(o===27&&Ou(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(qs(t,e,a),t=t.sibling;t!==null;)qs(t,e,a),t=t.sibling}function Bf(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(o!==4&&(o===27&&Ou(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Bf(t,e,a),t=t.sibling;t!==null;)Bf(t,e,a),t=t.sibling}function Zg(t){for(var e,a=t.return;a!==null;){if(Qg(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=Wh(t),Bf(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(yp(a),e.flags&=-33),e=Wh(t),Bf(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=Wh(t),qs(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Kg(t){var e=t.stateNode,a=t.memoizedProps;try{Ct(t,Wi,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Jg(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function g2(t,e){if(t=t.containerInfo,Rx=z1,t=dh(t),eg(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var c=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break t}var g=0,v=-1,E=-1,D=0,L=0,q=t,j=null;e:for(;;){for(var I;q!==a||c!==0&&q.nodeType!==3||(v=g+c),q!==f||o!==0&&q.nodeType!==3||(E=g+o),q.nodeType===3&&(g+=q.nodeValue.length),(I=q.firstChild)!==null;)j=q,q=I;for(;;){if(q===t)break e;if(j===a&&++D===c&&(v=g),j===f&&++L===o&&(E=g),(I=q.nextSibling)!==null)break;q=j,j=q.parentNode}q=I}a=v===-1||E===-1?null:{start:v,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(Dx={focusedElem:t,selectionRange:a},z1=!1,ya=e;ya!==null;)if(e=ya,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ya=t;else for(;ya!==null;){switch(t=e=ya,a=t.alternate,c=t.flags,t.tag){case 0:if((c&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)c=t[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:(c&1024)!==0&&a!==null&&Yv(t,a);break;case 3:if((c&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)ec(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":ec(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&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(t=e.sibling,t!==null){t.return=e.return,ya=t;break}ya=e.return}}function Ph(t,e,a){var o=tn(),c=Ol(),f=ll(),g=_l(),v=a.flags;switch(a.tag){case 0:case 11:case 15:fl(t,a),v&4&&Vv(a,gi|co);break;case 1:if(fl(t,a),v&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||um||(t.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.",K(a)||"instance"),t.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.",K(a)||"instance")),Gi(a)?(hn(),Ct(a,J2,a,t),wa()):Ct(a,J2,a,t);else{var E=Yi(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||um||(t.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.",K(a)||"instance"),t.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.",K(a)||"instance")),Gi(a)?(hn(),Ct(a,r5,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate),wa()):Ct(a,r5,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate)}v&64&&Gg(a),v&512&&Er(a,a.return);break;case 3:if(e=_i(),fl(t,a),v&64&&(v=a.updateQueue,v!==null)){if(E=null,a.child!==null)switch(a.child.tag){case 27:case 5:E=a.child.stateNode;break;case 1:E=a.child.stateNode}try{Ct(a,zs,v,E)}catch(L){oe(a,a.return,L)}}t.effectDuration+=As(e);break;case 27:e===null&&v&4&&Kg(a);case 26:case 5:if(fl(t,a),e===null){if(v&4)Eu(a);else if(v&64){t=a.type,e=a.memoizedProps,E=a.stateNode;try{Ct(a,ab,E,t,e,a)}catch(L){oe(a,a.return,L)}}}v&512&&Er(a,a.return);break;case 12:if(v&4){v=_i(),fl(t,a),t=a.stateNode,t.effectDuration+=Ta(v);try{Ct(a,Xg,a,e,Ec,t.effectDuration)}catch(L){oe(a,a.return,L)}}else fl(t,a);break;case 31:fl(t,a),v&4&&Fg(t,a);break;case 13:fl(t,a),v&4&&Wg(t,a),v&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(v=jo.bind(null,a),mb(t,v))));break;case 22:if(v=a.memoizedState!==null||Fr,!v){e=e!==null&&e.memoizedState!==null||In,E=Fr;var D=In;Fr=v,(In=e)&&!D?(li(t,a,(a.subtreeFlags&8772)!==0),(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&hh(a,Qt,Jt)):fl(t,a),Fr=E,In=D}break;case 30:break;default:fl(t,a)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&((An||.05<gn)&&Jl(a,Qt,Jt,gn,dn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Jt-Qt&&(Jg(a.return.alternate,a.return)||Cl(a,Qt,Jt,"Mount"))),qn(o),al(c),dn=f,An=g}function wn(t){var e=t.alternate;e!==null&&(t.alternate=null,wn(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&X(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Pe(t,e,a){for(a=a.child;a!==null;)$g(t,e,a),a=a.sibling}function $g(t,e,a){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Br,a)}catch(D){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",D))}var o=tn(),c=Ol(),f=ll(),g=_l();switch(a.tag){case 26:In||Nl(a,e),Pe(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:In||Nl(a,e);var v=ta,E=Vl;Ou(a.type)&&(ta=a.stateNode,Vl=!1),Pe(t,e,a),Ct(a,ko,a.stateNode),ta=v,Vl=E;break;case 5:In||Nl(a,e);case 6:if(v=ta,E=Vl,ta=null,Pe(t,e,a),ta=v,Vl=E,ta!==null)if(Vl)try{Ct(a,ob,ta,a.stateNode)}catch(D){oe(a,e,D)}else try{Ct(a,ib,ta,a.stateNode)}catch(D){oe(a,e,D)}break;case 18:ta!==null&&(Vl?(t=ta,zr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Ur(t)):zr(ta,a.stateNode));break;case 4:v=ta,E=Vl,ta=a.stateNode.containerInfo,Vl=!0,Pe(t,e,a),ta=v,Vl=E;break;case 0:case 11:case 14:case 15:wu(xl,a,e),In||Kh(a,e,gi),Pe(t,e,a);break;case 1:In||(Nl(a,e),v=a.stateNode,typeof v.componentWillUnmount=="function"&&$h(a,e,v)),Pe(t,e,a);break;case 21:Pe(t,e,a);break;case 22:In=(v=In)||a.memoizedState!==null,Pe(t,e,a),In=v;break;default:Pe(t,e,a)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(a,Qt,Jt,gn,dn),qn(o),al(c),dn=f,An=g}function Fg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ct(e,vp,t)}catch(a){oe(e,e.return,a)}}}function Wg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ct(e,v0,t)}catch(a){oe(e,e.return,a)}}function Xv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new K5),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new K5),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function Au(t,e){var a=Xv(t);e.forEach(function(o){if(!a.has(o)){if(a.add(o),to)if(rm!==null&&sm!==null)Js(sm,rm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Dr.bind(null,t,o);o.then(c,c)}})}function Ca(t,e){var a=e.deletions;if(a!==null)for(var o=0;o<a.length;o++){var c=t,f=e,g=a[o],v=tn(),E=f;t:for(;E!==null;){switch(E.tag){case 27:if(Ou(E.type)){ta=E.stateNode,Vl=!1;break t}break;case 5:ta=E.stateNode,Vl=!1;break t;case 3:case 4:ta=E.stateNode.containerInfo,Vl=!0;break t}E=E.return}if(ta===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");$g(c,f,g),ta=null,Vl=!1,(g.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(g,Qt,Jt,"Unmount"),qn(v),c=g,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)kf(e,t),e=e.sibling}function kf(t,e){var a=tn(),o=Ol(),c=ll(),f=_l(),g=t.alternate,v=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ca(e,t),za(t),v&4&&(wu(xl|co,t,t.return),_o(xl|co,t),Kh(t,t.return,gi|co));break;case 1:if(Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),v&64&&Fr&&(v=t.updateQueue,v!==null&&(g=v.callbacks,g!==null))){var E=v.shared.hiddenCallbacks;v.shared.hiddenCallbacks=E===null?g:E.concat(g)}break;case 26:if(E=Xo,Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),v&4){var D=g!==null?g.memoizedState:null;if(v=t.memoizedState,g===null)if(v===null)if(t.stateNode===null){t:{v=t.type,g=t.memoizedProps,E=E.ownerDocument||E;e:switch(v){case"title":D=E.getElementsByTagName("title")[0],(!D||D[gc]||D[an]||D.namespaceURI===ue||D.hasAttribute("itemprop"))&&(D=E.createElement(v),E.head.insertBefore(D,E.querySelector("head > title"))),nn(D,v,g),D[an]=t,Ht(D),v=D;break t;case"link":var L=lc("link","href",E).get(v+(g.href||""));if(L){for(var q=0;q<L.length;q++)if(D=L[q],D.getAttribute("href")===(g.href==null||g.href===""?null:g.href)&&D.getAttribute("rel")===(g.rel==null?null:g.rel)&&D.getAttribute("title")===(g.title==null?null:g.title)&&D.getAttribute("crossorigin")===(g.crossOrigin==null?null:g.crossOrigin)){L.splice(q,1);break e}}D=E.createElement(v),nn(D,v,g),E.head.appendChild(D);break;case"meta":if(L=lc("meta","content",E).get(v+(g.content||""))){for(q=0;q<L.length;q++)if(D=L[q],ze(g.content,"content"),D.getAttribute("content")===(g.content==null?null:""+g.content)&&D.getAttribute("name")===(g.name==null?null:g.name)&&D.getAttribute("property")===(g.property==null?null:g.property)&&D.getAttribute("http-equiv")===(g.httpEquiv==null?null:g.httpEquiv)&&D.getAttribute("charset")===(g.charSet==null?null:g.charSet)){L.splice(q,1);break e}}D=E.createElement(v),nn(D,v,g),E.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+v+'". This is a bug in React.')}D[an]=t,Ht(D),v=D}t.stateNode=v}else bb(E,t.type,t.stateNode);else t.stateNode=xp(E,v,t.memoizedProps);else D!==v?(D===null?g.stateNode!==null&&(g=g.stateNode,g.parentNode.removeChild(g)):D.count--,v===null?bb(E,t.type,t.stateNode):xp(E,v,t.memoizedProps)):v===null&&t.stateNode!==null&&Fh(t,t.memoizedProps,g.memoizedProps)}break;case 27:Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),g!==null&&v&4&&Fh(t,t.memoizedProps,g.memoizedProps);break;case 5:if(Ca(e,t),za(t),v&512&&(In||g===null||Nl(g,g.return)),t.flags&32){E=t.stateNode;try{Ct(t,yp,E)}catch(zt){oe(t,t.return,zt)}}v&4&&t.stateNode!=null&&(E=t.memoizedProps,Fh(t,E,g!==null?g.memoizedProps:E)),v&1024&&(ux=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ca(e,t),za(t),v&4){if(t.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.");v=t.memoizedProps,g=g!==null?g.memoizedProps:v,E=t.stateNode;try{Ct(t,y2,E,g,v)}catch(zt){oe(t,t.return,zt)}}break;case 3:if(E=_i(),R1=null,D=Xo,Xo=bp(e.containerInfo),Ca(e,t),Xo=D,za(t),v&4&&g!==null&&g.memoizedState.isDehydrated)try{Ct(t,y0,e.containerInfo)}catch(zt){oe(t,t.return,zt)}ux&&(ux=!1,Qv(t)),e.effectDuration+=As(E);break;case 4:v=Xo,Xo=bp(t.stateNode.containerInfo),Ca(e,t),za(t),Xo=v;break;case 12:v=_i(),Ca(e,t),za(t),t.stateNode.effectDuration+=Ta(v);break;case 31:Ca(e,t),za(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,Au(t,v)));break;case 13:Ca(e,t),za(t),t.child.flags&8192&&t.memoizedState!==null!=(g!==null&&g.memoizedState!==null)&&(f1=Jn()),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,Au(t,v)));break;case 22:E=t.memoizedState!==null;var j=g!==null&&g.memoizedState!==null,I=Fr,At=In;if(Fr=I||E,In=At||j,Ca(e,t),In=At,Fr=I,j&&!E&&!I&&!At&&(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&hh(t,Qt,Jt),za(t),v&8192)t:for(e=t.stateNode,e._visibility=E?e._visibility&~I0:e._visibility|I0,!E||g===null||j||Fr||In||(Ru(t),(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(t,Qt,Jt,"Disconnect")),g=null,e=t;;){if(e.tag===5||e.tag===26){if(g===null){j=g=e;try{D=j.stateNode,E?Ct(j,rb,D):Ct(j,fb,j.stateNode,j.memoizedProps)}catch(zt){oe(j,j.return,zt)}}}else if(e.tag===6){if(g===null){j=e;try{L=j.stateNode,E?Ct(j,sb,L):Ct(j,db,L,j.memoizedProps)}catch(zt){oe(j,j.return,zt)}}}else if(e.tag===18){if(g===null){j=e;try{q=j.stateNode,E?Ct(j,ub,q):Ct(j,cb,j.stateNode)}catch(zt){oe(j,j.return,zt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;g===e&&(g=null),e=e.return}g===e&&(g=null),e.sibling.return=e.return,e=e.sibling}v&4&&(v=t.updateQueue,v!==null&&(g=v.retryQueue,g!==null&&(v.retryQueue=null,Au(t,g))));break;case 19:Ca(e,t),za(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,Au(t,v)));break;case 30:break;case 21:break;default:Ca(e,t),za(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&((An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<Jt-Qt&&(Jg(t.return.alternate,t.return)||Cl(t,Qt,Jt,"Mount"))),qn(a),al(o),dn=c,An=f}function za(t){var e=t.flags;if(e&2){try{Ct(t,Zg,t)}catch(a){oe(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Qv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Qv(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function fl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Ph(t,e.alternate,e),e=e.sibling}function Ih(t){var e=tn(),a=Ol(),o=ll(),c=_l();switch(t.tag){case 0:case 11:case 14:case 15:Kh(t,t.return,gi),Ru(t);break;case 1:Nl(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&$h(t,t.return,f),Ru(t);break;case 27:Ct(t,ko,t.stateNode);case 26:case 5:Nl(t,t.return),Ru(t);break;case 22:t.memoizedState===null&&Ru(t);break;case 30:Ru(t);break;default:Ru(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),qn(e),al(a),dn=o,An=c}function Ru(t){for(t=t.child;t!==null;)Ih(t),t=t.sibling}function Pg(t,e,a,o){var c=tn(),f=Ol(),g=ll(),v=_l(),E=a.flags;switch(a.tag){case 0:case 11:case 15:li(t,a,o),Vv(a,gi);break;case 1:if(li(t,a,o),e=a.stateNode,typeof e.componentDidMount=="function"&&Ct(a,J2,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{Ct(a,bg,e,t)}catch(D){oe(a,a.return,D)}}o&&E&64&&Gg(a),Er(a,a.return);break;case 27:Kg(a);case 26:case 5:li(t,a,o),o&&e===null&&E&4&&Eu(a),Er(a,a.return);break;case 12:if(o&&E&4){E=_i(),li(t,a,o),o=a.stateNode,o.effectDuration+=Ta(E);try{Ct(a,Xg,a,e,Ec,o.effectDuration)}catch(D){oe(a,a.return,D)}}else li(t,a,o);break;case 31:li(t,a,o),o&&E&4&&Fg(t,a);break;case 13:li(t,a,o),o&&E&4&&Wg(t,a);break;case 22:a.memoizedState===null&&li(t,a,o),Er(a,a.return);break;case 30:break;default:li(t,a,o)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(a,Qt,Jt,gn,dn),qn(c),al(f),dn=g,An=v}function li(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)Pg(t,e.alternate,e,a),e=e.sibling}function Lf(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&ur(t),a!=null&&ff(a))}function Vf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(ur(e),t!=null&&ff(t))}function dl(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var f=e.sibling;Ig(t,e,a,o,f!==null?f.actualStartTime:c),e=f}}function Ig(t,e,a,o,c){var f=tn(),g=Ol(),v=ll(),E=_l(),D=Sc,L=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&ce)!==Ft&&0<e.actualStartTime&&(e.flags&1)!==0&&ph(e,e.actualStartTime,c,ua,a),dl(t,e,a,o,c),L&2048&&Nf(e,Tl|co);break;case 1:(e.mode&ce)!==Ft&&0<e.actualStartTime&&((e.flags&128)!==0?ag(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&ph(e,e.actualStartTime,c,ua,a)),dl(t,e,a,o,c);break;case 3:var q=_i(),j=ua;ua=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,dl(t,e,a,o,c),ua=j,L&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),o=e.memoizedState.cache,o!==a&&(ur(o),a!=null&&ff(a))),t.passiveEffectDuration+=As(q);break;case 12:if(L&2048){L=_i(),dl(t,e,a,o,c),t=e.stateNode,t.passiveEffectDuration+=Ta(L);try{Ct(e,Gv,e,e.alternate,Ec,t.passiveEffectDuration)}catch(I){oe(e,e.return,I)}}else dl(t,e,a,o,c);break;case 31:L=ua,q=e.alternate!==null?e.alternate.memoizedState:null,j=e.memoizedState,q!==null&&j===null?(j=e.deletions,j!==null&&0<j.length&&j[0].tag===18?(ua=!1,q=q.hydrationErrors,q!==null&&ag(e,e.actualStartTime,c,q)):ua=!0):ua=!1,dl(t,e,a,o,c),ua=L;break;case 13:L=ua,q=e.alternate!==null?e.alternate.memoizedState:null,j=e.memoizedState,q===null||q.dehydrated===null||j!==null&&j.dehydrated!==null?ua=!1:(j=e.deletions,j!==null&&0<j.length&&j[0].tag===18?(ua=!1,q=q.hydrationErrors,q!==null&&ag(e,e.actualStartTime,c,q)):ua=!0),dl(t,e,a,o,c),ua=L;break;case 23:break;case 22:j=e.stateNode,q=e.alternate,e.memoizedState!==null?j._visibility&Vr?dl(t,e,a,o,c):Ar(t,e,a,o,c):j._visibility&Vr?dl(t,e,a,o,c):(j._visibility|=Vr,Du(t,e,a,o,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),c),(e.mode&ce)===Ft||ua||(t=e.actualStartTime,0<=t&&.05<c-t&&hh(e,t,c),0<=Qt&&0<=Jt&&.05<Jt-Qt&&hh(e,Qt,Jt))),L&2048&&Lf(q,e);break;case 24:dl(t,e,a,o,c),L&2048&&Vf(e.alternate,e);break;default:dl(t,e,a,o,c)}(e.mode&ce)!==Ft&&((t=!ua&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<c-a&&Cl(e,a,c,"Mount")),0<=Qt&&0<=Jt&&((An||.05<gn)&&Jl(e,Qt,Jt,gn,dn),t&&.05<Jt-Qt&&Cl(e,Qt,Jt,"Mount"))),qn(f),al(g),dn=v,An=E,Sc=D}function Du(t,e,a,o,c,f){for(c=c&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var g=e.sibling;Yf(t,e,a,o,c,g!==null?g.actualStartTime:f),e=g}}function Yf(t,e,a,o,c,f){var g=tn(),v=Ol(),E=ll(),D=_l(),L=Sc;c&&(e.mode&ce)!==Ft&&0<e.actualStartTime&&(e.flags&1)!==0&&ph(e,e.actualStartTime,f,ua,a);var q=e.flags;switch(e.tag){case 0:case 11:case 15:Du(t,e,a,o,c,f),Nf(e,Tl);break;case 23:break;case 22:var j=e.stateNode;e.memoizedState!==null?j._visibility&Vr?Du(t,e,a,o,c,f):Ar(t,e,a,o,f):(j._visibility|=Vr,Du(t,e,a,o,c,f)),c&&q&2048&&Lf(e.alternate,e);break;case 24:Du(t,e,a,o,c,f),c&&q&2048&&Vf(e.alternate,e);break;default:Du(t,e,a,o,c,f)}(e.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(e,Qt,Jt,gn,dn),qn(g),al(v),dn=E,An=D,Sc=L}function Ar(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var f=e.child;f!==null;){e=f.sibling;var g=t,v=a,E=o,D=e!==null?e.actualStartTime:c,L=Sc;(f.mode&ce)!==Ft&&0<f.actualStartTime&&(f.flags&1)!==0&&ph(f,f.actualStartTime,D,ua,v);var q=f.flags;switch(f.tag){case 22:Ar(g,f,v,E,D),q&2048&&Lf(f.alternate,f);break;case 24:Ar(g,f,v,E,D),q&2048&&Vf(f.alternate,f);break;default:Ar(g,f,v,E,D)}Sc=L,f=e}}function Rr(t,e,a){if(t.subtreeFlags&by)for(t=t.child;t!==null;)tp(t,e,a),t=t.sibling}function tp(t,e,a){switch(t.tag){case 26:Rr(t,e,a),t.flags&by&&t.memoizedState!==null&&w0(a,Xo,t.memoizedState,t.memoizedProps);break;case 5:Rr(t,e,a);break;case 3:case 4:var o=Xo;Xo=bp(t.stateNode.containerInfo),Rr(t,e,a),Xo=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=by,by=16777216,Rr(t,e,a),by=o):Rr(t,e,a));break;default:Rr(t,e,a)}}function t0(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function hl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=tn();ya=o,Xi(o,t),(o.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(o,Qt,Jt,"Unmount"),qn(c)}t0(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ep(t),t=t.sibling}function ep(t){var e=tn(),a=Ol(),o=ll(),c=_l();switch(t.tag){case 0:case 11:case 15:hl(t),t.flags&2048&&Jh(t,t.return,Tl|co);break;case 3:var f=_i();hl(t),t.stateNode.passiveEffectDuration+=As(f);break;case 12:f=_i(),hl(t),t.stateNode.passiveEffectDuration+=Ta(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&Vr&&(t.return===null||t.return.tag!==13)?(f._visibility&=~Vr,np(t),(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(t,Qt,Jt,"Disconnect")):hl(t);break;default:hl(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),qn(e),al(a),An=c,dn=o}function np(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=tn();ya=o,Xi(o,t),(o.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&.05<Jt-Qt&&Cl(o,Qt,Jt,"Unmount"),qn(c)}t0(t)}for(t=t.child;t!==null;)e0(t),t=t.sibling}function e0(t){var e=tn(),a=Ol(),o=ll(),c=_l();switch(t.tag){case 0:case 11:case 15:Jh(t,t.return,Tl),np(t);break;case 22:var f=t.stateNode;f._visibility&Vr&&(f._visibility&=~Vr,np(t));break;default:np(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(t,Qt,Jt,gn,dn),qn(e),al(a),An=c,dn=o}function Xi(t,e){for(;ya!==null;){var a=ya,o=a,c=e,f=tn(),g=Ol(),v=ll(),E=_l();switch(o.tag){case 0:case 11:case 15:Jh(o,c,Tl);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool,c!=null&&ur(c));break;case 24:ff(o.memoizedState.cache)}if((o.mode&ce)!==Ft&&0<=Qt&&0<=Jt&&(An||.05<gn)&&Jl(o,Qt,Jt,gn,dn),qn(f),al(g),An=E,dn=v,o=a.child,o!==null)o.return=a,ya=o;else t:for(a=t;ya!==null;){if(o=ya,f=o.sibling,g=o.return,wn(o),o===a){ya=null;break t}if(f!==null){f.return=g,ya=f;break t}ya=g}}}function n0(){a4.forEach(function(t){return t()})}function a0(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||at.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function ha(t){if((Re&ra)!==va&&de!==0)return de&-de;var e=at.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),h0()):tu()}function Gs(){if(ql===0)if((de&536870912)===0||xe){var t=cd;cd<<=1,(cd&3932160)===0&&(cd=262144),ql=t}else ql=536870912;return t=mi.current,t!==null&&(t.flags|=32),ql}function Wt(t,e,a){if(dm&&console.error("useInsertionEffect must not schedule updates."),vx&&(m1=!0),(t===Fe&&(Qe===Rd||Qe===Dd)||t.cancelPendingCommit!==null)&&(Qi(t,0),Hl(t,de,ql,!1)),Gl(t,a),(Re&ra)!==va&&t===Fe){if(Pi)switch(e.tag){case 0:case 11:case 15:t=me&&K(me)||"Unknown",rR.has(t)||(rR.add(t),e=K(e)||"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",e,t,t));break;case 1:uR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),uR=!0)}}else to&&On(t,e,a),Qf(e),t===Fe&&((Re&ra)===va&&(_c|=a),yn===zc&&Hl(t,de,ql,!1)),Ga(t)}function Zv(t,e,a){if((Re&(ra|yi))!==va)throw Error("Should not already be working.");if(de!==0&&me!==null){var o=me,c=Jn();switch(t5){case Ty:case Rd:var f=iy;ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,c,no,void 0,"primary-light")):console.timeStamp("Suspended",f,c,no,void 0,"primary-light"));break;case Dd:f=iy,ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,c,no,void 0,"primary-light")):console.timeStamp("Action",f,c,no,void 0,"primary-light"));break;default:ln&&(o=c-iy,3>o||console.timeStamp("Blocked",iy,c,no,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||Rn(t,e))?Uo(t,e):Zs(t,e,!0);var g=a;do{if(f===Wr){cm&&!a&&Hl(t,e,0,!1),e=Qe,iy=Fn(),t5=e;break}else{if(o=Jn(),c=t.current.alternate,g&&!Jv(c)){Kl(e),c=ga,f=o,!ln||f<=c||(Mn?Mn.run(console.timeStamp.bind(console,"Teared Render",c,f,Ee,Te,"error")):console.timeStamp("Teared Render",c,f,Ee,Te,"error")),Cu(e,o),f=Zs(t,e,!1),g=!1;continue}if(f===Ad){if(g=e,t.errorRecoveryDisabledLanes&g)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){Kl(e),lg(ga,o,e,Mn),Cu(e,o),e=v;t:{o=t,f=g,g=Ey;var E=o.current.memoizedState.isDehydrated;if(E&&(Qi(o,v).flags|=256),v=Zs(o,v,!1),v!==Ad){if(cx&&!E){o.errorRecoveryDisabledLanes|=f,_c|=f,f=zc;break t}o=wl,wl=g,o!==null&&(wl===null?wl=o:wl.push.apply(wl,o))}f=v}if(g=!1,f!==Ad)continue;o=Jn()}}if(f===xy){Kl(e),lg(ga,o,e,Mn),Cu(e,o),Qi(t,0),Hl(t,e,0,!0);break}t:{switch(a=t,f){case Wr:case xy:throw Error("Root did not complete. This is a bug in React.");case zc:if((e&4194048)!==e)break;case u1:Kl(e),Tv(ga,o,e,Mn),Cu(e,o),c=e,(c&127)!==0?Zb=o:(c&4194048)!==0&&(Kb=o),Hl(a,e,ql,!Mc);break t;case Ad:wl=null;break;case o1:case J5:break;default:throw Error("Unknown root exit status.")}if(at.actQueue!==null)Ke(a,c,e,wl,Ay,c1,ql,_c,Cd,f,null,null,ga,o);else{if((e&62914560)===e&&(g=f1+W5-Jn(),10<g)){if(Hl(a,e,ql,!Mc),Qu(a,0,!0)!==0)break t;Qo=e,a.timeoutHandle=gR(Kv.bind(null,a,c,wl,Ay,c1,e,ql,_c,Cd,Mc,f,"Throttled",ga,o),g);break t}Kv(a,c,wl,Ay,c1,e,ql,_c,Cd,Mc,f,null,ga,o)}}}break}while(!0);Ga(t)}function Kv(t,e,a,o,c,f,g,v,E,D,L,q,j,I){t.timeoutHandle=Ud;var At=e.subtreeFlags,zt=null;if((At&8192||(At&16785408)===16785408)&&(zt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Dl},tp(e,f,zt),At=(f&62914560)===f?f1-Jn():(f&4194048)===f?F5-Jn():0,At=Tp(zt,At),At!==null)){Qo=f,t.cancelPendingCommit=At(Ke.bind(null,t,e,f,a,o,c,g,v,E,L,zt,zt.waitingForViewTransition?"Waiting for the previous Animation":0<zt.count?0<zt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":zt.imgCount===1?"Suspended on an Image":0<zt.imgCount?"Suspended on Images":null,j,I)),Hl(t,f,g,!D);return}Ke(t,e,f,a,o,c,g,v,E,L,zt,q,j,I)}function Jv(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var c=a[o],f=c.getSnapshot;c=c.value;try{if(!bl(f(),c))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Hl(t,e,a,o){e&=~fx,e&=~_c,t.suspendedLanes|=e,t.pingedLanes&=~e,o&&(t.warmLanes|=e),o=t.expirationTimes;for(var c=e;0<c;){var f=31-ia(c),g=1<<f;o[f]=-1,c&=~g}a!==0&&cs(t,a,e)}function pl(){return(Re&(ra|yi))===va?(Ki(0),!1):!0}function ap(){if(me!==null){if(Qe===Yl)var t=me.return;else t=me,ws(),hu(t),em=null,py=0,t=me;for(;t!==null;)qg(t.alternate,t),t=t.return;me=null}}function Cu(t,e){(t&127)!==0&&(gd=e),(t&4194048)!==0&&(Qr=e),(t&62914560)!==0&&(PA=e),(t&2080374784)!==0&&(IA=e)}function Qi(t,e){ln&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Te,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Te,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Te,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Te,"primary-light"));var a=ga;if(ga=Fn(),de!==0&&0<a){if(Kl(de),yn===o1||yn===zc)Tv(a,ga,e,Mn);else{var o=ga,c=Mn;if(ln&&!(o<=a)){var f=(e&738197653)===e?"tertiary-dark":"primary-dark",g=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";c?c.run(console.timeStamp.bind(console,g,a,o,Ee,Te,f)):console.timeStamp(g,a,o,Ee,Te,f)}}Cu(de,ga)}if(a=Mn,Mn=null,(e&127)!==0){Mn=ny,c=0<=Lu&&Lu<gd?gd:Lu,o=0<=yd&&yd<gd?gd:yd,f=0<=o?o:0<=c?c:ga,0<=Zb?(Kl(2),wv(Zb,f,e,a)):Jb&127,a=c;var v=o,E=ay,D=0<Pp,L=Ac===ey,q=Ac===Qb;if(c=ga,o=ny,f=G2,g=X2,ln){if(Ee="Blocking",0<a?a>c&&(a=c):a=c,0<v?v>a&&(v=a):v=a,E!==null&&a>v){var j=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+E,v,a,Ee,Te,j)):console.timeStamp(D?"Consecutive":"Event: "+E,v,a,Ee,Te,j)}c>a&&(v=L?"error":(e&738197653)===e?"tertiary-light":"primary-light",L=q?"Promise Resolved":L?"Cascading Update":5<c-a?"Update Blocked":"Update",q=[],g!=null&&q.push(["Component name",g]),f!=null&&q.push(["Method name",f]),a={start:a,end:c,detail:{devtools:{properties:q,track:Ee,trackGroup:Te,color:v}}},o?o.run(performance.measure.bind(performance,L,a)):performance.measure(L,a))}Lu=-1.1,Ac=0,X2=G2=null,Zb=-1.1,Pp=yd,yd=-1.1,gd=Fn()}if((e&4194048)!==0&&(Mn=ly,c=0<=Zr&&Zr<Qr?Qr:Zr,a=0<=ro&&ro<Qr?Qr:ro,o=0<=Rc&&Rc<Qr?Qr:Rc,f=0<=o?o:0<=a?a:ga,0<=Kb?(Kl(256),wv(Kb,f,e,Mn)):Jb&4194048,q=o,v=vd,E=0<Dc,D=Q2===Qb,f=ga,o=ly,g=FA,L=WA,ln&&(Ee="Transition",0<a?a>f&&(a=f):a=f,0<c?c>a&&(c=a):c=a,0<q?q>c&&(q=c):q=c,c>q&&v!==null&&(j=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+v,q,c,Ee,Te,j)):console.timeStamp(E?"Consecutive":"Event: "+v,q,c,Ee,Te,j)),a>c&&(o?o.run(console.timeStamp.bind(console,"Action",c,a,Ee,Te,"primary-dark")):console.timeStamp("Action",c,a,Ee,Te,"primary-dark")),f>a&&(c=D?"Promise Resolved":5<f-a?"Update Blocked":"Update",q=[],L!=null&&q.push(["Component name",L]),g!=null&&q.push(["Method name",g]),a={start:a,end:f,detail:{devtools:{properties:q,track:Ee,trackGroup:Te,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),ro=Zr=-1.1,Q2=0,Kb=-1.1,Dc=Rc,Rc=-1.1,Qr=Fn()),(e&62914560)!==0&&(Jb&62914560)!==0&&(Kl(4194304),ig(PA,ga)),(e&2080374784)!==0&&(Jb&2080374784)!==0&&(Kl(268435456),ig(IA,ga)),a=t.timeoutHandle,a!==Ud&&(t.timeoutHandle=Ud,g4(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Qo=0,ap(),Fe=t,me=a=Mi(t.current,null),de=e,Qe=Yl,vi=null,Mc=!1,cm=Rn(t,e),cx=!1,yn=Wr,Cd=ql=fx=_c=Oc=0,wl=Ey=null,c1=!1,(e&8)!==0&&(e|=e&32),o=t.entangledLanes,o!==0)for(t=t.entanglements,o&=e;0<o;)c=31-ia(o),f=1<<c,e|=t[c],o&=~f;return Yu=e,mh(),t=XA(),1e3<t-GA&&(at.recentlyCreatedOwnerStacks=0,GA=t),qo.discardPendingWarnings(),a}function ii(t,e){It=null,at.H=vy,at.getCurrentStack=null,Pi=!1,Ka=null,e===tm||e===Pb?(e=cr(),Qe=Ty):e===$2?(e=cr(),Qe=$5):Qe=e===ix?sx:e!==null&&typeof e=="object"&&typeof e.then=="function"?wy:r1,vi=e;var a=me;a===null?(yn=xy,Mf(t,xa(e,t.current))):a.mode&ce&&Th(a)}function l0(){var t=mi.current;return t===null?!0:(de&4194048)===de?so===null:(de&62914560)===de||(de&536870912)!==0?t===so:!1}function lp(){var t=at.H;return at.H=vy,t===null?vy:t}function i0(){var t=at.A;return at.A=n4,t}function Xs(t){Mn===null&&(Mn=t._debugTask==null?null:t._debugTask)}function Qs(){yn=zc,Mc||(de&4194048)!==de&&mi.current!==null||(cm=!0),(Oc&134217727)===0&&(_c&134217727)===0||Fe===null||Hl(Fe,de,ql,!1)}function Zs(t,e,a){var o=Re;Re|=ra;var c=lp(),f=i0();if(Fe!==t||de!==e){if(to){var g=t.memoizedUpdaters;0<g.size&&(Js(t,de),g.clear()),Ia(t,e)}Ay=null,Qi(t,e)}e=!1,g=yn;t:do try{if(Qe!==Yl&&me!==null){var v=me,E=vi;switch(Qe){case sx:ap(),g=u1;break t;case Ty:case Rd:case Dd:case wy:mi.current===null&&(e=!0);var D=Qe;if(Qe=Yl,vi=null,Ks(t,v,E,D),a&&cm){g=Wr;break t}break;default:D=Qe,Qe=Yl,vi=null,Ks(t,v,E,D)}}o0(),g=yn;break}catch(L){ii(t,L)}while(!0);return e&&t.shellSuspendCounter++,ws(),Re=o,at.H=c,at.A=f,me===null&&(Fe=null,de=0,mh()),g}function o0(){for(;me!==null;)ip(me)}function Uo(t,e){var a=Re;Re|=ra;var o=lp(),c=i0();if(Fe!==t||de!==e){if(to){var f=t.memoizedUpdaters;0<f.size&&(Js(t,de),f.clear()),Ia(t,e)}Ay=null,d1=Jn()+P5,Qi(t,e)}else cm=Rn(t,e);t:do try{if(Qe!==Yl&&me!==null)e:switch(e=me,f=vi,Qe){case r1:Qe=Yl,vi=null,Ks(t,e,f,r1);break;case Rd:case Dd:if(yg(f)){Qe=Yl,vi=null,u0(e);break}e=function(){Qe!==Rd&&Qe!==Dd||Fe!==t||(Qe=s1),Ga(t)},f.then(e,e);break t;case Ty:Qe=s1;break t;case $5:Qe=rx;break t;case s1:yg(f)?(Qe=Yl,vi=null,u0(e)):(Qe=Yl,vi=null,Ks(t,e,f,s1));break;case rx:var g=null;switch(me.tag){case 26:g=me.memoizedState;case 5:case 27:var v=me;if(g?ve(g):v.stateNode.complete){Qe=Yl,vi=null;var E=v.sibling;if(E!==null)me=E;else{var D=v.return;D!==null?(me=D,qf(D)):me=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Qe=Yl,vi=null,Ks(t,e,f,rx);break;case wy:Qe=Yl,vi=null,Ks(t,e,f,wy);break;case sx:ap(),yn=u1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}at.actQueue!==null?o0():Cn();break}catch(L){ii(t,L)}while(!0);return ws(),at.H=o,at.A=c,Re=a,me!==null?Wr:(Fe=null,de=0,mh(),yn)}function Cn(){for(;me!==null&&!Up();)ip(me)}function ip(t){var e=t.alternate;(t.mode&ce)!==Ft?(To(t),e=Ct(t,jf,e,t,Yu),Th(t)):e=Ct(t,jf,e,t,Yu),t.memoizedProps=t.pendingProps,e===null?qf(t):me=e}function u0(t){var e=Ct(t,Kn,t);t.memoizedProps=t.pendingProps,e===null?qf(t):me=e}function Kn(t){var e=t.alternate,a=(t.mode&ce)!==Ft;switch(a&&To(t),t.tag){case 15:case 0:e=Hg(e,t,t.pendingProps,t.type,void 0,de);break;case 11:e=Hg(e,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:hu(t);default:qg(e,t),t=me=sg(t,Yu),e=jf(e,t,Yu)}return a&&Th(t),e}function Ks(t,e,a,o){ws(),hu(e),em=null,py=0;var c=e.return;try{if(zg(t,c,e,a,de)){yn=xy,Mf(t,xa(a,t.current)),me=null;return}}catch(f){if(c!==null)throw me=c,f;yn=xy,Mf(t,xa(a,t.current)),me=null;return}e.flags&32768?(xe||o===r1?t=!0:cm||(de&536870912)!==0?t=!1:(Mc=t=!0,(o===Rd||o===Dd||o===Ty||o===wy)&&(o=mi.current,o!==null&&o.tag===13&&(o.flags|=16384))),r0(e,t)):qf(e)}function qf(t){var e=t;do{if((e.flags&32768)!==0){r0(e,Mc);return}var a=e.alternate;if(t=e.return,To(e),a=Ct(e,Yg,a,e,Yu),(e.mode&ce)!==Ft&&df(e),a!==null){me=a;return}if(e=e.sibling,e!==null){me=e;return}me=e=t}while(e!==null);yn===Wr&&(yn=J5)}function r0(t,e){do{var a=Lv(t.alternate,t);if(a!==null){a.flags&=32767,me=a;return}if((t.mode&ce)!==Ft){df(t),a=t.actualDuration;for(var o=t.child;o!==null;)a+=o.actualDuration,o=o.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){me=t;return}me=t=a}while(t!==null);yn=u1,me=null}function Ke(t,e,a,o,c,f,g,v,E,D,L,q,j,I){t.cancelPendingCommit=null;do Gf();while(ea!==jc);if(qo.flushLegacyContextWarning(),qo.flushPendingUnsafeLifecycleWarnings(),(Re&(ra|yi))!==va)throw Error("Should not already be working.");if(Kl(a),D===Ad?lg(j,I,a,Mn):o!==null?d2(j,I,a,o,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,Mn):f2(j,I,a,Mn),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.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(f=e.lanes|e.childLanes,f|=k2,Wd(t,a,f,g,v,E),t===Fe&&(me=Fe=null,de=0),fm=e,Nc=t,Qo=a,px=f,gx=c,lR=o,mx=I,iR=q,Zo=h1,oR=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,$s(Hr,function(){return Oy=window.event,Zo===h1&&(Zo=hx),Xf(),null})):(t.callbackNode=null,t.callbackPriority=0),Xr=null,Ec=Fn(),q!==null&&h2(I,Ec,q,Mn),o=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||o){o=at.T,at.T=null,c=je.p,je.p=Hn,g=Re,Re|=yi;try{g2(t,e,a)}finally{Re=g,je.p=c,at.T=o}}ea=tR,Ma(),Zi(),s0()}}function Ma(){if(ea===tR){ea=jc;var t=Nc,e=fm,a=Qo,o=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||o){o=at.T,at.T=null;var c=je.p;je.p=Hn;var f=Re;Re|=yi;try{rm=a,sm=t,rr(),kf(e,t),sm=rm=null,a=Dx;var g=dh(t.containerInfo),v=a.focusedElem,E=a.selectionRange;if(g!==v&&v&&v.ownerDocument&&vv(v.ownerDocument.documentElement,v)){if(E!==null&&eg(v)){var D=E.start,L=E.end;if(L===void 0&&(L=D),"selectionStart"in v)v.selectionStart=D,v.selectionEnd=Math.min(L,v.value.length);else{var q=v.ownerDocument||document,j=q&&q.defaultView||window;if(j.getSelection){var I=j.getSelection(),At=v.textContent.length,zt=Math.min(E.start,At),Ie=E.end===void 0?zt:Math.min(E.end,At);!I.extend&&zt>Ie&&(g=Ie,Ie=zt,zt=g);var we=yv(v,zt),U=yv(v,Ie);if(we&&U&&(I.rangeCount!==1||I.anchorNode!==we.node||I.anchorOffset!==we.offset||I.focusNode!==U.node||I.focusOffset!==U.offset)){var N=q.createRange();N.setStart(we.node,we.offset),I.removeAllRanges(),zt>Ie?(I.addRange(N),I.extend(U.node,U.offset)):(N.setEnd(U.node,U.offset),I.addRange(N))}}}}for(q=[],I=v;I=I.parentNode;)I.nodeType===1&&q.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<q.length;v++){var k=q[v];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}z1=!!Rx,Dx=Rx=null}finally{Re=f,je.p=c,at.T=o}}t.current=e,ea=eR}}function Zi(){if(ea===eR){ea=jc;var t=oR;if(t!==null){Ec=Fn();var e=Gr,a=Ec;!ln||a<=e||console.timeStamp(t,e,a,Ee,Te,"secondary-light")}t=Nc,e=fm,a=Qo;var o=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||o){o=at.T,at.T=null;var c=je.p;je.p=Hn;var f=Re;Re|=yi;try{rm=a,sm=t,rr(),Ph(t,e.alternate,e),sm=rm=null}finally{Re=f,je.p=c,at.T=o}}t=mx,e=iR,Gr=Fn(),t=e===null?t:Ec,e=Gr,a=Zo===dx,o=Mn,Xr!==null?Ev(t,e,Xr,!1,o):!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,Ee,Te,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,Ee,Te,a?"error":"secondary-dark")),ea=nR}}function s0(){if(ea===aR||ea===nR){if(ea===aR){var t=Gr;Gr=Fn();var e=Gr,a=Zo===dx;!ln||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,Ee,Te,a?" error":"secondary-light"),Zo!==dx&&(Zo=I5)}ea=jc,jp(),t=Nc;var o=fm;e=Qo,a=lR;var c=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;c?ea=p1:(ea=jc,fm=Nc=null,c0(t,t.pendingLanes),zd=0,Dy=null);var f=t.pendingLanes;if(f===0&&(Uc=null),c||rp(t),f=Vn(e),o=o.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{var g=(o.current.flags&128)===128;switch(f){case Hn:var v=V0;break;case oa:v=Np;break;case ma:v=Hr;break;case Hu:v=Hp;break;default:v=Hr}Nn.onCommitFiberRoot(Br,o,v,g)}catch(q){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",q))}if(to&&t.memoizedUpdaters.clear(),n0(),a!==null){g=at.T,v=je.p,je.p=Hn,at.T=null;try{var E=t.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],L=$v(D.stack);Ct(D.source,E,D.value,L)}}finally{at.T=g,je.p=v}}(Qo&3)!==0&&Gf(),Ga(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(Fb=!0,t===yx?Ry++:(Ry=0,yx=t)):Ry=0,c||Cu(e,Gr),Ki(0)}}function $v(t){return t={componentStack:t},Object.defineProperty(t,"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.')}}),t}function c0(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ff(e)))}function Gf(){return Ma(),Zi(),s0(),Xf()}function Xf(){if(ea!==p1)return!1;var t=Nc,e=px;px=0;var a=Vn(Qo),o=ma>a?ma:a;a=at.T;var c=je.p;try{je.p=o,at.T=null;var f=gx;gx=null,o=Nc;var g=Qo;if(ea=jc,fm=Nc=null,Qo=0,(Re&(ra|yi))!==va)throw Error("Cannot flush passive effects while already rendering.");Kl(g),vx=!0,m1=!1;var v=0;if(Xr=null,v=Jn(),Zo===I5)ig(Gr,v,$_);else{var E=Gr,D=v,L=Zo===hx;!ln||D<=E||(Mn?Mn.run(console.timeStamp.bind(console,L?"Waiting for Paint":"Waiting",E,D,Ee,Te,"secondary-light")):console.timeStamp(L?"Waiting for Paint":"Waiting",E,D,Ee,Te,"secondary-light"))}E=Re,Re|=yi;var q=o.current;rr(),ep(q);var j=o.current;q=mx,rr(),Ig(o,j,g,f,q),rp(o),Re=E;var I=Jn();if(j=v,q=Mn,Xr!==null?Ev(j,I,Xr,!0,q):!ln||I<=j||(q?q.run(console.timeStamp.bind(console,"Remaining Effects",j,I,Ee,Te,"secondary-dark")):console.timeStamp("Remaining Effects",j,I,Ee,Te,"secondary-dark")),Cu(g,I),Ki(0,!1),m1?o===Dy?zd++:(zd=0,Dy=o):zd=0,m1=vx=!1,Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Br,o)}catch(zt){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",zt))}var At=o.current.stateNode;return At.effectDuration=0,At.passiveEffectDuration=0,!0}finally{je.p=c,at.T=a,c0(t,e)}}function Oa(t,e,a){e=xa(a,e),Mv(e),e=kh(t.stateNode,e,2),t=ji(t,e,2),t!==null&&(Gl(t,2),Ga(t))}function oe(t,e,a){if(dm=!1,t.tag===3)Oa(t,t,a);else{for(;e!==null;){if(e.tag===3){Oa(e,t,a);return}if(e.tag===1){var o=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Uc===null||!Uc.has(o))){t=xa(a,t),Mv(t),a=Lh(2),o=ji(e,a,2),o!==null&&(Vh(a,o,e,t),Gl(o,2),Ga(o));return}}e=e.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.
|
|
167
167
|
|
|
168
168
|
Error message:
|
|
169
169
|
|
|
170
|
-
%s`,a)}}function
|
|
170
|
+
%s`,a)}}function op(t,e,a){var o=t.pingCache;if(o===null){o=t.pingCache=new l4;var c=new Set;o.set(e,c)}else c=o.get(e),c===void 0&&(c=new Set,o.set(e,c));c.has(a)||(cx=!0,c.add(a),o=qa.bind(null,t,e,a),to&&Js(t,a),e.then(o,o))}function qa(t,e,a){var o=t.pingCache;o!==null&&o.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,(a&127)!==0?0>Lu&&(gd=Lu=Fn(),ny=Xb("Promise Resolved"),Ac=Qb):(a&4194048)!==0&&0>ro&&(Qr=ro=Fn(),ly=Xb("Promise Resolved"),Q2=Qb),a0()&&at.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
171
171
|
|
|
172
172
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
173
173
|
|
|
@@ -176,7 +176,7 @@ act(() => {
|
|
|
176
176
|
});
|
|
177
177
|
/* assert on the output */
|
|
178
178
|
|
|
179
|
-
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`),Fe===t&&(de&a)===a&&(yn===
|
|
179
|
+
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`),Fe===t&&(de&a)===a&&(yn===zc||yn===o1&&(de&62914560)===de&&Jn()-f1<W5?(Re&ra)===va&&Qi(t,0):fx|=a,Cd===de&&(Cd=0)),Ga(t)}function f0(t,e){e===0&&(e=rs()),t=fa(t,e),t!==null&&(Gl(t,e),Ga(t))}function jo(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),f0(t,a)}function Dr(t,e){var a=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(a=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(e),f0(t,a)}function oi(t,e,a){if((e.subtreeFlags&67117056)!==0)for(e=e.child;e!==null;){var o=t,c=e,f=c.type===ja;f=a||f,c.tag!==22?c.flags&67108864?f&&Ct(c,up,o,c):oi(o,c,f):c.memoizedState===null&&(f&&c.flags&8192?Ct(c,up,o,c):c.subtreeFlags&67108864&&Ct(c,oi,o,c,f)),e=e.sibling}}function up(t,e){Ut(!0);try{Ih(e),e0(e),Pg(t,e.alternate,e,!1),Yf(t,e,0,null,!1,0)}finally{Ut(!1)}}function rp(t){var e=!0;t.current.mode&(Ja|Yo)||(e=!1),oi(t,t.current,e)}function Bl(t){if((Re&ra)===va){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=K(t)||"ReactComponent",g1!==null){if(g1.has(e))return;g1.add(e)}else g1=new Set([e]);Ct(t,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 Js(t,e){to&&t.memoizedUpdaters.forEach(function(a){On(t,a,e)})}function $s(t,e){var a=at.actQueue;return a!==null?(a.push(e),u4):L0(t,e)}function Qf(t){a0()&&at.actQueue===null&&Ct(t,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
180
180
|
|
|
181
181
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
182
182
|
|
|
@@ -185,16 +185,16 @@ act(() => {
|
|
|
185
185
|
});
|
|
186
186
|
/* assert on the output */
|
|
187
187
|
|
|
188
|
-
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`,K(t))})}function Ga(t){t!==fm&&t.next===null&&(fm===null?g1=fm=t:fm=fm.next=t),y1=!0,nt.actQueue!==null?vx||(vx=!0,Fv()):yx||(yx=!0,Fv())}function Ki(t,e){if(!bx&&y1){bx=!0;do for(var a=!1,o=g1;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var f=0;else{var g=o.suspendedLanes,v=o.pingedLanes;f=(1<<31-ia(42|t)+1)-1,f&=c&~(g&~v),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,Qf(o,f))}else f=de,f=Xu(o,o===Fe?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==_d),(f&3)===0||Rn(o,f)||(a=!0,Qf(o,f));o=o.next}while(a);bx=!1}}function $v(){Cy=window.event,up()}function up(){y1=vx=yx=!1;var t=0;jc!==0&&d0()&&(t=jc);for(var e=Jn(),a=null,o=g1;o!==null;){var c=o.next,f=Js(o,e);f===0?(o.next=null,a===null?g1=c:a.next=c,c===null&&(fm=a)):(a=o,(t!==0||(f&3)!==0)&&(y1=!0)),o=c}ea!==_c&&ea!==h1||Ki(t),jc!==0&&(jc=0)}function Js(t,e){for(var a=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var g=31-ia(f),v=1<<g,E=c[g];E===-1?((v&a)===0||(v&o)!==0)&&(c[g]=Jd(v,e)):E<=e&&(t.expiredLanes|=v),f&=~v}if(e=Fe,a=de,a=Xu(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==_d),o=t.callbackNode,a===0||t===e&&(Qe===Ad||Qe===Rd)||t.cancelPendingCommit!==null)return o!==null&&rp(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Rn(t,a)){if(e=a&-a,e!==t.callbackPriority||nt.actQueue!==null&&o!==Sx)rp(o);else return e;switch(Vn(a)){case Hn:case oa:a=Up;break;case ma:a=Nr;break;case Nu:a=jp;break;default:a=Nr}return o=s0.bind(null,t),nt.actQueue!==null?(nt.actQueue.push(o),a=Sx):a=H0(a,o),t.callbackPriority=e,t.callbackNode=a,e}return o!==null&&rp(o),t.callbackPriority=2,t.callbackNode=null,2}function s0(t,e){if($b=Jb=!1,Cy=window.event,ea!==_c&&ea!==h1)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Qo===d1&&(Qo=fx),qf()&&t.callbackNode!==a)return null;var o=de;return o=Xu(t,t===Fe?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==_d),o===0?null:(Qv(t,o,e),Js(t,Jn()),t.callbackNode!=null&&t.callbackNode===a?s0.bind(null,t):null)}function Qf(t,e){if(qf())return null;Jb=$b,$b=!1,Qv(t,e,!0)}function rp(t){t!==Sx&&t!==null&&Mp(t)}function Fv(){nt.actQueue!==null&&nt.actQueue.push(function(){return up(),null}),d4(function(){(Re&(ra|yi))!==va?H0(B0,$v):up()})}function c0(){if(jc===0){var t=vd;t===0&&(t=dc,dc<<=1,(dc&261888)===0&&(dc=256)),jc=t}return jc}function Me(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(ze(t,"action"),Ic(""+t))}function qe(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function ve(t,e,a,o,c){if(e==="submit"&&a&&a.stateNode===c){var f=Me((c[Na]||null).action),g=o.submitter;g&&(e=(e=g[Na]||null)?Me(e.formAction):g.getAttribute("formAction"),e!==null&&(f=e,g=null));var v=new Hb("action","action",null,o,c);t.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(jc!==0){var E=g?qe(c,g):new FormData(c),D={pending:!0,data:E,method:c.method,action:f};Object.freeze(D),zo(a,D,null,E)}}else typeof f=="function"&&(v.preventDefault(),E=g?qe(c,g):new FormData(c),D={pending:!0,data:E,method:c.method,action:f},Object.freeze(D),zo(a,D,f,E))},currentTarget:c}]})}}function pe(t,e,a){t.currentTarget=a;try{e(t)}catch(o){_2(o)}t.currentTarget=null}function Le(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var o=t[a];t:{var c=void 0,f=o.event;if(o=o.listeners,e)for(var g=o.length-1;0<=g;g--){var v=o[g],E=v.instance,D=v.currentTarget;if(v=v.listener,E!==c&&f.isPropagationStopped())break t;E!==null?Dt(E,pe,f,v,D):pe(f,v,D),c=E}else for(g=0;g<o.length;g++){if(v=o[g],E=v.instance,D=v.currentTarget,v=v.listener,E!==c&&f.isPropagationStopped())break t;E!==null?Dt(E,pe,f,v,D):pe(f,v,D),c=E}}}}function $t(t,e){xx.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[Br];a===void 0&&(a=e[Br]=new Set);var o=t+"__bubble";a.has(o)||(sp(e,t,2,!1),a.add(o))}function Ji(t,e,a){xx.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var o=0;e&&(o|=4),sp(a,t,o,e)}function Cu(t){if(!t[v1]){t[v1]=!0,Ob.forEach(function(a){a!=="selectionchange"&&(xx.has(a)||Ji(a,!1,t),Ji(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[v1]||(e[v1]=!0,Ji("selectionchange",!1,e))}}function sp(t,e,a,o){switch(wp(e)){case Hn:var c=A0;break;case oa:c=la;break;default:c=R0}a=c.bind(null,e,a,t),c=void 0,!T2||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(e,a,{capture:!0,passive:c}):t.addEventListener(e,a,!0):c!==void 0?t.addEventListener(e,a,{passive:c}):t.addEventListener(e,a,!1)}function ui(t,e,a,o,c){var f=o;if((e&1)===0&&(e&2)===0&&o!==null)t:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var v=o.stateNode.containerInfo;if(v===c)break;if(g===4)for(g=o.return;g!==null;){var E=g.tag;if((E===3||E===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;v!==null;){if(g=yt(v),g===null)return;if(E=g.tag,E===5||E===6||E===26||E===27){o=f=g;continue t}v=v.parentNode}}o=o.return}oh(function(){var D=f,k=Ql(a),q=[];t:{var j=kA.get(t);if(j!==void 0){var P=Hb,wt=t;switch(t){case"keypress":if(tf(a)===0)break t;case"keydown":case"keyup":P=y_;break;case"focusin":wt="focus",P=R2;break;case"focusout":wt="blur",P=R2;break;case"beforeblur":case"afterblur":P=R2;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":P=AA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":P=i_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":P=S_;break;case NA:case HA:case BA:P=r_;break;case LA:P=T_;break;case"scroll":case"scrollend":P=a_;break;case"wheel":P=E_;break;case"copy":case"cut":case"paste":P=c_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":P=DA;break;case"toggle":case"beforetoggle":P=R_}var Ct=(e&4)!==0,Ie=!Ct&&(t==="scroll"||t==="scrollend"),we=Ct?j!==null?j+"Capture":null:j;Ct=[];for(var U=D,N;U!==null;){var L=U;if(N=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||N===null||we===null||(L=Ci(U,we),L!=null&&Ct.push(Je(U,L,N))),Ie)break;U=U.return}0<Ct.length&&(j=new P(j,wt,null,a,k),q.push({event:j,listeners:Ct}))}}if((e&7)===0){t:{if(j=t==="mouseover"||t==="pointerover",P=t==="mouseout"||t==="pointerout",j&&a!==q0&&(wt=a.relatedTarget||a.fromElement)&&(yt(wt)||wt[ko]))break t;if((P||j)&&(j=k.window===k?k:(j=k.ownerDocument)?j.defaultView||j.parentWindow:window,P?(wt=a.relatedTarget||a.toElement,P=D,wt=wt?yt(wt):null,wt!==null&&(Ie=ft(wt),Ct=wt.tag,wt!==Ie||Ct!==5&&Ct!==27&&Ct!==6)&&(wt=null)):(P=null,wt=D),P!==wt)){if(Ct=AA,L="onMouseLeave",we="onMouseEnter",U="mouse",(t==="pointerout"||t==="pointerover")&&(Ct=DA,L="onPointerLeave",we="onPointerEnter",U="pointer"),Ie=P==null?j:Ut(P),N=wt==null?j:Ut(wt),j=new Ct(L,U+"leave",P,a,k),j.target=Ie,j.relatedTarget=N,L=null,yt(k)===D&&(Ct=new Ct(we,U+"enter",wt,a,k),Ct.target=N,Ct.relatedTarget=Ie,L=Ct),Ie=L,P&&wt)e:{for(Ct=Dr,we=P,U=wt,N=0,L=we;L;L=Ct(L))N++;L=0;for(var rt=U;rt;rt=Ct(rt))L++;for(;0<N-L;)we=Ct(we),N--;for(;0<L-N;)U=Ct(U),L--;for(;N--;){if(we===U||U!==null&&we===U.alternate){Ct=we;break e}we=Ct(we),U=Ct(U)}Ct=null}else Ct=null;P!==null&&cp(q,j,P,Ct,!1),wt!==null&&Ie!==null&&cp(q,Ie,wt,Ct,!0)}}t:{if(j=D?Ut(D):window,P=j.nodeName&&j.nodeName.toLowerCase(),P==="select"||P==="input"&&j.type==="file")var Rt=lu;else if($m(j))if(UA)Rt=lf;else{Rt=Fm;var te=r2}else P=j.nodeName,!P||P.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?D&&Di(D.elementType)&&(Rt=lu):Rt=Wm;if(Rt&&(Rt=Rt(t,D))){nf(q,Rt,a,k);break t}te&&te(t,j,D),t==="focusout"&&D&&j.type==="number"&&D.memoizedProps.value!=null&&Vm(j,"number",j.value)}switch(te=D?Ut(D):window,t){case"focusin":($m(te)||te.contentEditable==="true")&&(qp=te,C2=D,$0=null);break;case"focusout":$0=C2=qp=null;break;case"mousedown":z2=!0;break;case"contextmenu":case"mouseup":case"dragend":z2=!1,vv(q,a,k);break;case"selectionchange":if(M_)break;case"keydown":case"keyup":vv(q,a,k)}var Gt;if(D2)t:{switch(t){case"compositionstart":var Bt="onCompositionStart";break t;case"compositionend":Bt="onCompositionEnd";break t;case"compositionupdate":Bt="onCompositionUpdate";break t}Bt=void 0}else Yp?gs(t,a)&&(Bt="onCompositionEnd"):t==="keydown"&&a.keyCode===CA&&(Bt="onCompositionStart");Bt&&(zA&&a.locale!=="ko"&&(Yp||Bt!=="onCompositionStart"?Bt==="onCompositionEnd"&&Yp&&(Gt=Wu()):(yc=k,w2="value"in yc?yc.value:yc.textContent,Yp=!0)),te=ri(D,Bt),0<te.length&&(Bt=new RA(Bt,t,null,a,k),q.push({event:Bt,listeners:te}),Gt?Bt.data=Gt:(Gt=bo(a),Gt!==null&&(Bt.data=Gt)))),(Gt=C_?Jm(t,a):uh(t,a))&&(Bt=ri(D,"onBeforeInput"),0<Bt.length&&(te=new d_("onBeforeInput","beforeinput",null,a,k),q.push({event:te,listeners:Bt}),te.data=Gt)),ve(q,t,D,a,k)}Le(q,e)})}function Je(t,e,a){return{instance:t,listener:e,currentTarget:a}}function ri(t,e){for(var a=e+"Capture",o=[];t!==null;){var c=t,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=Ci(t,a),c!=null&&o.unshift(Je(t,c,f)),c=Ci(t,e),c!=null&&o.push(Je(t,c,f))),t.tag===3)return o;t=t.return}return[]}function Dr(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function cp(t,e,a,o,c){for(var f=e._reactName,g=[];a!==null&&a!==o;){var v=a,E=v.alternate,D=v.stateNode;if(v=v.tag,E!==null&&E===o)break;v!==5&&v!==26&&v!==27||D===null||(E=D,c?(D=Ci(a,f),D!=null&&g.unshift(Je(a,D,E))):c||(D=Ci(a,f),D!=null&&g.push(Je(a,D,E)))),a=a.return}g.length!==0&&t.push({event:e,listeners:g})}function _a(t,e){hv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||wA||(wA=!0,t==="select"&&e.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.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:eo,possibleRegistrationNames:mc};Di(t)||typeof e.is=="string"||u2(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.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 cn(t,e,a,o){e!==a&&(a=si(a),si(e)!==a&&(o[t]=e))}function Zf(t,e,a){e.forEach(function(o){a[jo(o)]=o==="style"?zu(t):t.getAttribute(o)})}function fn(t,e){e===!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.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function fp(t,e){return t=t.namespaceURI===ae||t.namespaceURI===ue?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function si(t){return Pa(t)&&(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.",Wo(t)),Ti(t)),(typeof t=="string"?t:""+t).replace(a4,`
|
|
189
|
-
`).replace(l4,"")}function f0(t,e){return e=si(e),si(t)===e}function Ue(t,e,a,o,c,f){switch(a){case"children":typeof o=="string"?(Pc(o,e,!1),e==="body"||e==="textarea"&&o===""||Fu(t,o)):(typeof o=="number"||typeof o=="bigint")&&(Pc(""+o,e,!1),e!=="body"&&Fu(t,""+o));break;case"className":$c(t,"class",o);break;case"tabIndex":$c(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":$c(t,a,o);break;case"style":Qm(t,o,f);break;case"data":if(e!=="object"){$c(t,"data",o);break}case"src":case"href":if(o===""&&(e!=="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),t.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}ze(o,a),o=Ic(""+o),t.setAttribute(a,o);break;case"action":case"formAction":if(o!=null&&(e==="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"&&(c.encType==null&&c.method==null||x1||(x1=!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.")),c.target==null||S1||(S1=!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."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||c.type==="submit"||c.type==="image"||b1?e!=="button"||c.type==null||c.type==="submit"||b1?typeof o=="function"&&(c.name==null||rR||(rR=!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.')),c.formEncType==null&&c.formMethod==null||x1||(x1=!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.")),c.formTarget==null||S1||(S1=!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."))):(b1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(b1=!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"){t.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 f=="function"&&(a==="formAction"?(e!=="input"&&Ue(t,e,"name",c.name,c,null),Ue(t,e,"formEncType",c.formEncType,c,null),Ue(t,e,"formMethod",c.formMethod,c,null),Ue(t,e,"formTarget",c.formTarget,c,null)):(Ue(t,e,"encType",c.encType,c,null),Ue(t,e,"method",c.method,c,null),Ue(t,e,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}ze(o,a),o=Ic(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Dl);break;case"onScroll":o!=null&&(typeof o!="function"&&fn(a,o),$t("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&fn(a,o),$t("scrollend",t));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(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}ze(o,a),a=Ic(""+o),t.setAttributeNS(zd,"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"?(ze(o,a),t.setAttribute(a,""+o)):t.removeAttribute(a);break;case"inert":o!==""||T1[a]||(T1[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"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":o===!0?t.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(ze(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(ze(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(a):(ze(o,a),t.setAttribute(a,o));break;case"popover":$t("beforetoggle",t),$t("toggle",t),ss(t,"popover",o);break;case"xlinkActuate":Ei(t,zd,"xlink:actuate",o);break;case"xlinkArcrole":Ei(t,zd,"xlink:arcrole",o);break;case"xlinkRole":Ei(t,zd,"xlink:role",o);break;case"xlinkShow":Ei(t,zd,"xlink:show",o);break;case"xlinkTitle":Ei(t,zd,"xlink:title",o);break;case"xlinkType":Ei(t,zd,"xlink:type",o);break;case"xmlBase":Ei(t,Tx,"xml:base",o);break;case"xmlLang":Ei(t,Tx,"xml:lang",o);break;case"xmlSpace":Ei(t,Tx,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ss(t,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":sR||o==null||typeof o!="object"||(sR=!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=fv(a),ss(t,a,o)):eo.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&fn(a,o)}}function $s(t,e,a,o,c,f){switch(a){case"style":Qm(t,o,f);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(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"children":typeof o=="string"?Fu(t,o):(typeof o=="number"||typeof o=="bigint")&&Fu(t,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&fn(a,o),$t("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&fn(a,o),$t("scrollend",t));break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Dl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(eo.hasOwnProperty(a))o!=null&&typeof o!="function"&&fn(a,o);else t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),e=a.slice(2,c?a.length-7:void 0),f=t[Na]||null,f=f!=null?f[a]:null,typeof f=="function"&&t.removeEventListener(e,f,c),typeof o=="function")){typeof f!="function"&&f!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,o,c);break t}a in t?t[a]=o:o===!0?t.setAttribute(a,""):ss(t,a,o)}}}function nn(t,e,a){switch(_a(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$t("error",t),$t("load",t);var o=!1,c=!1,f;for(f in a)if(a.hasOwnProperty(f)){var g=a[f];if(g!=null)switch(f){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ue(t,e,f,g,a,null)}}c&&Ue(t,e,"srcSet",a.srcSet,a,null),o&&Ue(t,e,"src",a.src,a,null);return;case"input":ca("input",a),$t("invalid",t);var v=f=g=c=null,E=null,D=null;for(o in a)if(a.hasOwnProperty(o)){var k=a[o];if(k!=null)switch(o){case"name":c=k;break;case"type":g=k;break;case"checked":E=k;break;case"defaultChecked":D=k;break;case"value":f=k;break;case"defaultValue":v=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ue(t,e,o,k,a,null)}}Sa(t,a),Pd(t,f,v,E,D,g,c,!1);return;case"select":ca("select",a),$t("invalid",t),o=g=f=null;for(c in a)if(a.hasOwnProperty(c)&&(v=a[c],v!=null))switch(c){case"value":f=v;break;case"defaultValue":g=v;break;case"multiple":o=v;default:Ue(t,e,c,v,a,null)}Id(t,a),e=f,a=g,t.multiple=!!o,e!=null?Ai(t,!!o,e,!1):a!=null&&Ai(t,!!o,a,!0);return;case"textarea":ca("textarea",a),$t("invalid",t),f=c=o=null;for(g in a)if(a.hasOwnProperty(g)&&(v=a[g],v!=null))switch(g){case"value":o=v;break;case"defaultValue":c=v;break;case"children":f=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ue(t,e,g,v,a,null)}Zu(t,a),cs(t,o,c,f);return;case"option":cv(t,a);for(E in a)a.hasOwnProperty(E)&&(o=a[E],o!=null)&&(E==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Ue(t,e,E,o,a,null));return;case"dialog":$t("beforetoggle",t),$t("toggle",t),$t("cancel",t),$t("close",t);break;case"iframe":case"object":$t("load",t);break;case"video":case"audio":for(o=0;o<Ay.length;o++)$t(Ay[o],t);break;case"image":$t("error",t),$t("load",t);break;case"details":$t("toggle",t);break;case"embed":case"source":case"link":$t("error",t),$t("load",t);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(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ue(t,e,D,o,a,null)}return;default:if(Di(e)){for(k in a)a.hasOwnProperty(k)&&(o=a[k],o!==void 0&&$s(t,e,k,o,a,void 0));return}}for(v in a)a.hasOwnProperty(v)&&(o=a[v],o!=null&&Ue(t,e,v,o,a,null))}function jn(t,e,a,o){switch(_a(e,o),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,g=null,v=null,E=null,D=null,k=null;for(P in a){var q=a[P];if(a.hasOwnProperty(P)&&q!=null)switch(P){case"checked":break;case"value":break;case"defaultValue":E=q;default:o.hasOwnProperty(P)||Ue(t,e,P,null,o,q)}}for(var j in o){var P=o[j];if(q=a[j],o.hasOwnProperty(j)&&(P!=null||q!=null))switch(j){case"type":f=P;break;case"name":c=P;break;case"checked":D=P;break;case"defaultChecked":k=P;break;case"value":g=P;break;case"defaultValue":v=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:P!==q&&Ue(t,e,j,P,o,q)}}e=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,e||!o||uR||(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"),uR=!0),!e||o||oR||(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"),oR=!0),eu(t,g,v,E,D,k,f,c);return;case"select":P=g=v=j=null;for(f in a)if(E=a[f],a.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":P=E;default:o.hasOwnProperty(f)||Ue(t,e,f,null,o,E)}for(c in o)if(f=o[c],E=a[c],o.hasOwnProperty(c)&&(f!=null||E!=null))switch(c){case"value":j=f;break;case"defaultValue":v=f;break;case"multiple":g=f;default:f!==E&&Ue(t,e,c,f,o,E)}o=v,e=g,a=P,j!=null?Ai(t,!!e,j,!1):!!a!=!!e&&(o!=null?Ai(t,!!e,o,!0):Ai(t,!!e,e?[]:"",!1));return;case"textarea":P=j=null;for(v in a)if(c=a[v],a.hasOwnProperty(v)&&c!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ue(t,e,v,null,o,c)}for(g in o)if(c=o[g],f=a[g],o.hasOwnProperty(g)&&(c!=null||f!=null))switch(g){case"value":j=c;break;case"defaultValue":P=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==f&&Ue(t,e,g,c,o,f)}Ku(t,j,P);return;case"option":for(var wt in a)j=a[wt],a.hasOwnProperty(wt)&&j!=null&&!o.hasOwnProperty(wt)&&(wt==="selected"?t.selected=!1:Ue(t,e,wt,null,o,j));for(E in o)j=o[E],P=a[E],o.hasOwnProperty(E)&&j!==P&&(j!=null||P!=null)&&(E==="selected"?t.selected=j&&typeof j!="function"&&typeof j!="symbol":Ue(t,e,E,j,o,P));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 Ct in a)j=a[Ct],a.hasOwnProperty(Ct)&&j!=null&&!o.hasOwnProperty(Ct)&&Ue(t,e,Ct,null,o,j);for(D in o)if(j=o[D],P=a[D],o.hasOwnProperty(D)&&j!==P&&(j!=null||P!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ue(t,e,D,j,o,P)}return;default:if(Di(e)){for(var Ie in a)j=a[Ie],a.hasOwnProperty(Ie)&&j!==void 0&&!o.hasOwnProperty(Ie)&&$s(t,e,Ie,void 0,o,j);for(k in o)j=o[k],P=a[k],!o.hasOwnProperty(k)||j===P||j===void 0&&P===void 0||$s(t,e,k,j,o,P);return}}for(var we in a)j=a[we],a.hasOwnProperty(we)&&j!=null&&!o.hasOwnProperty(we)&&Ue(t,e,we,null,o,j);for(q in o)j=o[q],P=a[q],!o.hasOwnProperty(q)||j===P||j==null&&P==null||Ue(t,e,q,j,o,P)}function jo(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function zu(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var o=t[a];e[o]=t.getPropertyValue(o)}return e}function $i(t,e,a){if(e!=null&&typeof e!="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,c=o="",f;for(f in e)if(e.hasOwnProperty(f)){var g=e[f];g!=null&&typeof g!="boolean"&&g!==""&&(f.indexOf("--")===0?(sa(g,f),o+=c+f+":"+(""+g).trim()):typeof g!="number"||g===0||Nt.has(f)?(sa(g,f),o+=c+f.replace(at,"-$1").toLowerCase().replace(Mt,"-ms-")+":"+(""+g).trim()):o+=c+f.replace(at,"-$1").toLowerCase().replace(Mt,"-ms-")+":"+g+"px",c=";")}o=o||null,e=t.getAttribute("style"),e!==o&&(o=si(o),si(e)!==o&&(a.style=zu(t)))}}function Xa(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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(ze(o,e),t===""+o)return}cn(e,t,o,f)}function dp(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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}cn(e,t,o,f)}function hp(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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(ze(o,a),t===""+o)return}cn(e,t,o,f)}function Fs(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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)&&(ze(o,e),t===""+o))return}cn(e,t,o,f)}function Kf(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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(ze(o,e),a=Ic(""+o),t===a)return}cn(e,t,o,f)}function Qa(t,e,a,o){for(var c={},f=new Set,g=t.attributes,v=0;v<g.length;v++)switch(g[v].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(g[v].name)}if(Di(e)){for(var E in a)if(a.hasOwnProperty(E)){var D=a[E];if(D!=null){if(eo.hasOwnProperty(E))typeof D!="function"&&fn(E,D);else if(a.suppressHydrationWarning!==!0)switch(E){case"children":typeof D!="string"&&typeof D!="number"||cn("children",t.textContent,D,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":g=t.innerHTML,D=D?D.__html:void 0,D!=null&&(D=fp(t,D),cn(E,g,D,c));continue;case"style":f.delete(E),$i(t,D,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),g=tu(t,"class",D),cn("className",g,D,c);continue;default:o.context===Wr&&e!=="svg"&&e!=="math"?f.delete(E.toLowerCase()):f.delete(E),g=tu(t,E,D),cn(E,g,D,c)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(E=a[D],E!=null)){if(eo.hasOwnProperty(D))typeof E!="function"&&fn(D,E);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof E!="string"&&typeof E!="number"||cn("children",t.textContent,E,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":g=t.innerHTML,E=E?E.__html:void 0,E!=null&&(E=fp(t,E),g!==E&&(c[D]={__html:g}));continue;case"className":Xa(t,D,"class",E,f,c);continue;case"tabIndex":Xa(t,D,"tabindex",E,f,c);continue;case"style":f.delete(D),$i(t,E,c);continue;case"multiple":f.delete(D),cn(D,t.multiple,E,c);continue;case"muted":f.delete(D),cn(D,t.muted,E,c);continue;case"autoFocus":f.delete("autofocus"),cn(D,t.autofocus,E,c);continue;case"data":if(e!=="object"){f.delete(D),g=t.getAttribute("data"),cn(D,g,E,c);continue}case"src":case"href":if(!(E!==""||e==="a"&&D==="href"||e==="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}Kf(t,D,D,E,f,c);continue;case"action":case"formAction":if(g=t.getAttribute(D),typeof E=="function"){f.delete(D.toLowerCase()),D==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(g===i4){f.delete(D.toLowerCase()),cn(D,"function",E,c);continue}Kf(t,D,D.toLowerCase(),E,f,c);continue;case"xlinkHref":Kf(t,D,"xlink:href",E,f,c);continue;case"contentEditable":hp(t,D,"contenteditable",E,f,c);continue;case"spellCheck":hp(t,D,"spellcheck",E,f,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":hp(t,D,D,E,f,c);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":dp(t,D,D.toLowerCase(),E,f,c);continue;case"capture":case"download":t:{v=t;var k=g=D,q=c;if(f.delete(k),v=v.getAttribute(k),v===null)switch(typeof E){case"undefined":case"function":case"symbol":break t;default:if(E===!1)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&v==="")break t;break;default:if(ze(E,g),v===""+E)break t}cn(g,v,E,q)}continue;case"cols":case"rows":case"size":case"span":t:{if(v=t,k=g=D,q=c,f.delete(k),v=v.getAttribute(k),v===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(E)||1>E)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ze(E,g),v===""+E))break t}cn(g,v,E,q)}continue;case"rowSpan":Fs(t,D,"rowspan",E,f,c);continue;case"start":Fs(t,D,D,E,f,c);continue;case"xHeight":Xa(t,D,"x-height",E,f,c);continue;case"xlinkActuate":Xa(t,D,"xlink:actuate",E,f,c);continue;case"xlinkArcrole":Xa(t,D,"xlink:arcrole",E,f,c);continue;case"xlinkRole":Xa(t,D,"xlink:role",E,f,c);continue;case"xlinkShow":Xa(t,D,"xlink:show",E,f,c);continue;case"xlinkTitle":Xa(t,D,"xlink:title",E,f,c);continue;case"xlinkType":Xa(t,D,"xlink:type",E,f,c);continue;case"xmlBase":Xa(t,D,"xml:base",E,f,c);continue;case"xmlLang":Xa(t,D,"xml:lang",E,f,c);continue;case"xmlSpace":Xa(t,D,"xml:space",E,f,c);continue;case"inert":E!==""||T1[D]||(T1[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)),dp(t,D,D,E,f,c);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){v=fv(D),g=!1,o.context===Wr&&e!=="svg"&&e!=="math"?f.delete(v.toLowerCase()):(k=D.toLowerCase(),k=hi.hasOwnProperty(k)&&hi[k]||null,k!==null&&k!==D&&(g=!0,f.delete(k)),f.delete(v));t:if(k=t,q=v,v=E,Rl(q))if(k.hasAttribute(q))k=k.getAttribute(q),ze(v,q),v=k===""+v?v:k;else{switch(typeof v){case"function":case"symbol":break t;case"boolean":if(k=q.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break t}v=v===void 0?void 0:null}else v=void 0;g||cn(D,v,E,c)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&Zf(t,f,c),Object.keys(c).length===0?null:c}function Wv(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function Ua(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Pv(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var c=a[o],f=c.transferSize,g=c.initiatorType,v=c.duration;if(f&&v&&Ua(g)){for(g=0,v=c.responseEnd,o+=1;o<a.length;o++){var E=a[o],D=E.startTime;if(D>v)break;var k=E.transferSize,q=E.initiatorType;k&&Ua(q)&&(E=E.responseEnd,g+=k*(E<v?1:(v-D)/(E-D)))}if(--o,e+=8*(f+g)/(c.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function Jf(t){return t.nodeType===9?t:t.ownerDocument}function Iv(t){switch(t){case ue:return hm;case ae:return E1;default:return Wr}}function No(t,e){if(t===Wr)switch(e){case"svg":return hm;case"math":return E1;default:return Wr}return t===hm&&e==="foreignObject"?Wr:t}function Ws(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function d0(){var t=window.event;return t&&t.type==="popstate"?t===Rx?!1:(Rx=t,!0):(Rx=null,!1)}function Fi(){var t=window.event;return t&&t!==Cy?t.type:null}function Ps(){var t=window.event;return t&&t!==Cy?t.timeStamp:-1.1}function tb(t){setTimeout(function(){throw t})}function eb(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function nb(){}function pp(t,e,a,o){jn(t,e,a,o),t[Na]=o}function mp(t){Fu(t,"")}function m2(t,e,a){t.nodeValue=a}function ab(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[Na]||null;if(e!==null){var a=xt(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,Dt(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.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,Dt(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 Mu(t){return t==="head"}function lb(t,e){t.removeChild(e)}function ib(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Cr(t,e){var a=e,o=0;do{var c=a.nextSibling;if(t.removeChild(a),c&&c.nodeType===8)if(a=c.data,a===Dy||a===w1){if(o===0){t.removeChild(c),_r(e);return}o--}else if(a===Ry||a===Nc||a===Od||a===dm||a===Md)o++;else if(a===u4)Bo(t.ownerDocument.documentElement);else if(a===s4){a=t.ownerDocument.head,Bo(a);for(var f=a.firstChild;f;){var g=f.nextSibling,v=f.nodeName;f[pc]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=g}}else a===r4&&Bo(t.ownerDocument.body);a=c}while(a);_r(e)}function $f(t,e){var a=t;t=0;do{var o=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a===Dy){if(t===0)break;t--}else a!==Ry&&a!==Nc&&a!==Od&&a!==dm||t++;a=o}while(a)}function ob(t){$f(t,!0)}function ub(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function rb(t){t.nodeValue=""}function sb(t){$f(t,!1)}function cb(t,e){e=e[c4],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function fb(t,e){t.nodeValue=e}function Is(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Is(a),X(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function db(t,e,a,o){for(;t.nodeType===1;){var c=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[pc])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){ze(c.name,"name");var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=ml(t.nextSibling),t===null)break}return null}function hb(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=ml(t.nextSibling),t===null))return null;return t}function ke(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=ml(t.nextSibling),t===null))return null;return t}function Ff(t){return t.data===Nc||t.data===Od}function h0(t){return t.data===dm||t.data===Nc&&t.ownerDocument.readyState!==fR}function pb(t,e){var a=t.ownerDocument;if(t.data===Od)t._reactRetry=e;else if(t.data!==Nc||a.readyState!==fR)e();else{var o=function(){e(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function ml(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===Ry||e===dm||e===Nc||e===Od||e===Md||e===wx||e===cR)break;if(e===Dy||e===w1)return null}}return t}function mb(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},o=t.attributes,c=0;c<o.length;c++){var f=o[c];a[jo(f.name)]=f.name.toLowerCase()==="style"?zu(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===Md?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function gb(t,e,a){return a===null||a[o4]!==!0?(t.nodeValue===e?t=null:(e=si(e),t=si(t.nodeValue)===e?null:t.nodeValue),t):null}function tc(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===Dy||a===w1){if(e===0)return ml(t.nextSibling);e--}else a!==Ry&&a!==dm&&a!==Nc&&a!==Od&&a!==Md||e++}t=t.nextSibling}return null}function zr(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===Ry||a===dm||a===Nc||a===Od||a===Md){if(e===0)return t;e--}else a!==Dy&&a!==w1||e++}t=t.previousSibling}return null}function p0(t){_r(t)}function gp(t){_r(t)}function m0(t){_r(t)}function Ho(t,e,a,o,c){switch(c&&Wc(t,o.ancestorInfo),e=Jf(a),t){case"html":if(t=e.documentElement,!t)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 t;case"head":if(t=e.head,!t)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 t;case"body":if(t=e.body,!t)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 t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Wi(t,e,a,o){if(!a[ko]&&xt(a)){var c=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.",c,c,c)}switch(t){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(c=a.attributes;c.length;)a.removeAttributeNode(c[0]);nn(a,t,e),a[an]=o,a[Na]=e}function Bo(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);X(t)}function yp(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function g0(t,e,a){var o=pm;if(o&&typeof e=="string"&&e){var c=Ve(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),yR.has(c)||(yR.add(c),t={rel:t,crossOrigin:a,href:e},o.querySelector(c)===null&&(e=o.createElement("link"),nn(e,"link",t),jt(e),o.head.appendChild(e)))}}function y0(t,e,a,o){var c=(c=gl.current)?yp(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Mr(a.href),e=Kt(c).hoistableStyles,o=e.get(a),o||(o={type:"style",instance:null,count:0,state:null},e.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"){t=Mr(a.href);var f=Kt(c).hoistableStyles,g=f.get(t);if(!g&&(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:Ud,preload:null}},f.set(t,g),(f=c.querySelector(Pf(t)))&&!f._p&&(g.instance=f,g.state.loading=zy|ho),!po.has(t))){var v={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};po.set(t,v),f||yb(c,t,v,g.state)}if(e&&o===null)throw a=`
|
|
188
|
+
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`,K(t))})}function Ga(t){t!==hm&&t.next===null&&(hm===null?y1=hm=t:hm=hm.next=t),v1=!0,at.actQueue!==null?Sx||(Sx=!0,Wv()):bx||(bx=!0,Wv())}function Ki(t,e){if(!xx&&v1){xx=!0;do for(var a=!1,o=y1;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var f=0;else{var g=o.suspendedLanes,v=o.pingedLanes;f=(1<<31-ia(42|t)+1)-1,f&=c&~(g&~v),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,Zf(o,f))}else f=de,f=Qu(o,o===Fe?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Ud),(f&3)===0||Rn(o,f)||(a=!0,Zf(o,f));o=o.next}while(a);xx=!1}}function Fv(){Oy=window.event,sp()}function sp(){v1=Sx=bx=!1;var t=0;Hc!==0&&m0()&&(t=Hc);for(var e=Jn(),a=null,o=y1;o!==null;){var c=o.next,f=Fs(o,e);f===0?(o.next=null,a===null?y1=c:a.next=c,c===null&&(hm=a)):(a=o,(t!==0||(f&3)!==0)&&(v1=!0)),o=c}ea!==jc&&ea!==p1||Ki(t),Hc!==0&&(Hc=0)}function Fs(t,e){for(var a=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var g=31-ia(f),v=1<<g,E=c[g];E===-1?((v&a)===0||(v&o)!==0)&&(c[g]=Fd(v,e)):E<=e&&(t.expiredLanes|=v),f&=~v}if(e=Fe,a=de,a=Qu(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Ud),o=t.callbackNode,a===0||t===e&&(Qe===Rd||Qe===Dd)||t.cancelPendingCommit!==null)return o!==null&&cp(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Rn(t,a)){if(e=a&-a,e!==t.callbackPriority||at.actQueue!==null&&o!==Tx)cp(o);else return e;switch(Vn(a)){case Hn:case oa:a=Np;break;case ma:a=Hr;break;case Hu:a=Hp;break;default:a=Hr}return o=d0.bind(null,t),at.actQueue!==null?(at.actQueue.push(o),a=Tx):a=L0(a,o),t.callbackPriority=e,t.callbackNode=a,e}return o!==null&&cp(o),t.callbackPriority=2,t.callbackNode=null,2}function d0(t,e){if(Fb=$b=!1,Oy=window.event,ea!==jc&&ea!==p1)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Zo===h1&&(Zo=hx),Gf()&&t.callbackNode!==a)return null;var o=de;return o=Qu(t,t===Fe?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Ud),o===0?null:(Zv(t,o,e),Fs(t,Jn()),t.callbackNode!=null&&t.callbackNode===a?d0.bind(null,t):null)}function Zf(t,e){if(Gf())return null;$b=Fb,Fb=!1,Zv(t,e,!0)}function cp(t){t!==Tx&&t!==null&&_p(t)}function Wv(){at.actQueue!==null&&at.actQueue.push(function(){return sp(),null}),y4(function(){(Re&(ra|yi))!==va?L0(V0,Fv):sp()})}function h0(){if(Hc===0){var t=bd;t===0&&(t=pc,pc<<=1,(pc&261888)===0&&(pc=256)),Hc=t}return Hc}function Me(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(ze(t,"action"),tf(""+t))}function qe(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function Se(t,e,a,o,c){if(e==="submit"&&a&&a.stateNode===c){var f=Me((c[Na]||null).action),g=o.submitter;g&&(e=(e=g[Na]||null)?Me(e.formAction):g.getAttribute("formAction"),e!==null&&(f=e,g=null));var v=new Bb("action","action",null,o,c);t.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Hc!==0){var E=g?qe(c,g):new FormData(c),D={pending:!0,data:E,method:c.method,action:f};Object.freeze(D),Mo(a,D,null,E)}}else typeof f=="function"&&(v.preventDefault(),E=g?qe(c,g):new FormData(c),D={pending:!0,data:E,method:c.method,action:f},Object.freeze(D),Mo(a,D,f,E))},currentTarget:c}]})}}function pe(t,e,a){t.currentTarget=a;try{e(t)}catch(o){j2(o)}t.currentTarget=null}function ke(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var o=t[a];t:{var c=void 0,f=o.event;if(o=o.listeners,e)for(var g=o.length-1;0<=g;g--){var v=o[g],E=v.instance,D=v.currentTarget;if(v=v.listener,E!==c&&f.isPropagationStopped())break t;E!==null?Ct(E,pe,f,v,D):pe(f,v,D),c=E}else for(g=0;g<o.length;g++){if(v=o[g],E=v.instance,D=v.currentTarget,v=v.listener,E!==c&&f.isPropagationStopped())break t;E!==null?Ct(E,pe,f,v,D):pe(f,v,D),c=E}}}}function $t(t,e){wx.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[kr];a===void 0&&(a=e[kr]=new Set);var o=t+"__bubble";a.has(o)||(fp(e,t,2,!1),a.add(o))}function Ji(t,e,a){wx.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var o=0;e&&(o|=4),fp(a,t,o,e)}function zu(t){if(!t[b1]){t[b1]=!0,_b.forEach(function(a){a!=="selectionchange"&&(wx.has(a)||Ji(a,!1,t),Ji(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[b1]||(e[b1]=!0,Ji("selectionchange",!1,e))}}function fp(t,e,a,o){switch(Ap(e)){case Hn:var c=C0;break;case oa:c=la;break;default:c=z0}a=c.bind(null,e,a,t),c=void 0,!E2||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(e,a,{capture:!0,passive:c}):t.addEventListener(e,a,!0):c!==void 0?t.addEventListener(e,a,{passive:c}):t.addEventListener(e,a,!1)}function ui(t,e,a,o,c){var f=o;if((e&1)===0&&(e&2)===0&&o!==null)t:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var v=o.stateNode.containerInfo;if(v===c)break;if(g===4)for(g=o.return;g!==null;){var E=g.tag;if((E===3||E===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;v!==null;){if(g=vt(v),g===null)return;if(E=g.tag,E===5||E===6||E===26||E===27){o=f=g;continue t}v=v.parentNode}}o=o.return}rh(function(){var D=f,L=Ql(a),q=[];t:{var j=qA.get(t);if(j!==void 0){var I=Bb,At=t;switch(t){case"keypress":if(ef(a)===0)break t;case"keydown":case"keyup":I=T_;break;case"focusin":At="focus",I=C2;break;case"focusout":At="blur",I=C2;break;case"beforeblur":case"afterblur":I=C2;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=CA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=c_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=A_;break;case kA:case LA:case VA:I=h_;break;case YA:I=D_;break;case"scroll":case"scrollend":I=r_;break;case"wheel":I=z_;break;case"copy":case"cut":case"paste":I=m_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=MA;break;case"toggle":case"beforetoggle":I=O_}var zt=(e&4)!==0,Ie=!zt&&(t==="scroll"||t==="scrollend"),we=zt?j!==null?j+"Capture":null:j;zt=[];for(var U=D,N;U!==null;){var k=U;if(N=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||N===null||we===null||(k=Ci(U,we),k!=null&&zt.push(Je(U,k,N))),Ie)break;U=U.return}0<zt.length&&(j=new I(j,At,null,a,L),q.push({event:j,listeners:zt}))}}if((e&7)===0){t:{if(j=t==="mouseover"||t==="pointerover",I=t==="mouseout"||t==="pointerout",j&&a!==Q0&&(At=a.relatedTarget||a.fromElement)&&(vt(At)||At[Vo]))break t;if((I||j)&&(j=L.window===L?L:(j=L.ownerDocument)?j.defaultView||j.parentWindow:window,I?(At=a.relatedTarget||a.toElement,I=D,At=At?vt(At):null,At!==null&&(Ie=st(At),zt=At.tag,At!==Ie||zt!==5&&zt!==27&&zt!==6)&&(At=null)):(I=null,At=D),I!==At)){if(zt=CA,k="onMouseLeave",we="onMouseEnter",U="mouse",(t==="pointerout"||t==="pointerover")&&(zt=MA,k="onPointerLeave",we="onPointerEnter",U="pointer"),Ie=I==null?j:jt(I),N=At==null?j:jt(At),j=new zt(k,U+"leave",I,a,L),j.target=Ie,j.relatedTarget=N,k=null,vt(L)===D&&(zt=new zt(we,U+"enter",At,a,L),zt.target=N,zt.relatedTarget=Ie,k=zt),Ie=k,I&&At)e:{for(zt=Cr,we=I,U=At,N=0,k=we;k;k=zt(k))N++;k=0;for(var ut=U;ut;ut=zt(ut))k++;for(;0<N-k;)we=zt(we),N--;for(;0<k-N;)U=zt(U),k--;for(;N--;){if(we===U||U!==null&&we===U.alternate){zt=we;break e}we=zt(we),U=zt(U)}zt=null}else zt=null;I!==null&&dp(q,j,I,zt,!1),At!==null&&Ie!==null&&dp(q,Ie,At,zt,!0)}}t:{if(j=D?jt(D):window,I=j.nodeName&&j.nodeName.toLowerCase(),I==="select"||I==="input"&&j.type==="file")var Rt=iu;else if(Pm(j))if(HA)Rt=of;else{Rt=Im;var te=c2}else I=j.nodeName,!I||I.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?D&&Di(D.elementType)&&(Rt=iu):Rt=tg;if(Rt&&(Rt=Rt(t,D))){af(q,Rt,a,L);break t}te&&te(t,j,D),t==="focusout"&&D&&j.type==="number"&&D.memoizedProps.value!=null&&Gm(j,"number",j.value)}switch(te=D?jt(D):window,t){case"focusin":(Pm(te)||te.contentEditable==="true")&&(Xp=te,M2=D,P0=null);break;case"focusout":P0=M2=Xp=null;break;case"mousedown":O2=!0;break;case"contextmenu":case"mouseup":case"dragend":O2=!1,bv(q,a,L);break;case"selectionchange":if(N_)break;case"keydown":case"keyup":bv(q,a,L)}var Gt;if(z2)t:{switch(t){case"compositionstart":var Vt="onCompositionStart";break t;case"compositionend":Vt="onCompositionEnd";break t;case"compositionupdate":Vt="onCompositionUpdate";break t}Vt=void 0}else Gp?vs(t,a)&&(Vt="onCompositionEnd"):t==="keydown"&&a.keyCode===OA&&(Vt="onCompositionStart");Vt&&(_A&&a.locale!=="ko"&&(Gp||Vt!=="onCompositionStart"?Vt==="onCompositionEnd"&&Gp&&(Gt=Pu()):(bc=L,A2="value"in bc?bc.value:bc.textContent,Gp=!0)),te=ri(D,Vt),0<te.length&&(Vt=new zA(Vt,t,null,a,L),q.push({event:Vt,listeners:te}),Gt?Vt.data=Gt:(Gt=So(a),Gt!==null&&(Vt.data=Gt)))),(Gt=U_?Wm(t,a):sh(t,a))&&(Vt=ri(D,"onBeforeInput"),0<Vt.length&&(te=new y_("onBeforeInput","beforeinput",null,a,L),q.push({event:te,listeners:Vt}),te.data=Gt)),Se(q,t,D,a,L)}ke(q,e)})}function Je(t,e,a){return{instance:t,listener:e,currentTarget:a}}function ri(t,e){for(var a=e+"Capture",o=[];t!==null;){var c=t,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=Ci(t,a),c!=null&&o.unshift(Je(t,c,f)),c=Ci(t,e),c!=null&&o.push(Je(t,c,f))),t.tag===3)return o;t=t.return}return[]}function Cr(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function dp(t,e,a,o,c){for(var f=e._reactName,g=[];a!==null&&a!==o;){var v=a,E=v.alternate,D=v.stateNode;if(v=v.tag,E!==null&&E===o)break;v!==5&&v!==26&&v!==27||D===null||(E=D,c?(D=Ci(a,f),D!=null&&g.unshift(Je(a,D,E))):c||(D=Ci(a,f),D!=null&&g.push(Je(a,D,E)))),a=a.return}g.length!==0&&t.push({event:e,listeners:g})}function _a(t,e){pv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||RA||(RA=!0,t==="select"&&e.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.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:eo,possibleRegistrationNames:yc};Di(t)||typeof e.is=="string"||s2(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.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 cn(t,e,a,o){e!==a&&(a=si(a),si(e)!==a&&(o[t]=e))}function Kf(t,e,a){e.forEach(function(o){a[No(o)]=o==="style"?Mu(t):t.getAttribute(o)})}function fn(t,e){e===!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.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function hp(t,e){return t=t.namespaceURI===ae||t.namespaceURI===ue?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function si(t){return Pa(t)&&(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.",Po(t)),Ti(t)),(typeof t=="string"?t:""+t).replace(r4,`
|
|
189
|
+
`).replace(s4,"")}function p0(t,e){return e=si(e),si(t)===e}function Ue(t,e,a,o,c,f){switch(a){case"children":typeof o=="string"?(Ic(o,e,!1),e==="body"||e==="textarea"&&o===""||Wu(t,o)):(typeof o=="number"||typeof o=="bigint")&&(Ic(""+o,e,!1),e!=="body"&&Wu(t,""+o));break;case"className":Fc(t,"class",o);break;case"tabIndex":Fc(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Fc(t,a,o);break;case"style":Jm(t,o,f);break;case"data":if(e!=="object"){Fc(t,"data",o);break}case"src":case"href":if(o===""&&(e!=="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),t.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}ze(o,a),o=tf(""+o),t.setAttribute(a,o);break;case"action":case"formAction":if(o!=null&&(e==="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"&&(c.encType==null&&c.method==null||T1||(T1=!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.")),c.target==null||x1||(x1=!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."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||c.type==="submit"||c.type==="image"||S1?e!=="button"||c.type==null||c.type==="submit"||S1?typeof o=="function"&&(c.name==null||fR||(fR=!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.')),c.formEncType==null&&c.formMethod==null||T1||(T1=!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.")),c.formTarget==null||x1||(x1=!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."))):(S1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(S1=!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"){t.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 f=="function"&&(a==="formAction"?(e!=="input"&&Ue(t,e,"name",c.name,c,null),Ue(t,e,"formEncType",c.formEncType,c,null),Ue(t,e,"formMethod",c.formMethod,c,null),Ue(t,e,"formTarget",c.formTarget,c,null)):(Ue(t,e,"encType",c.encType,c,null),Ue(t,e,"method",c.method,c,null),Ue(t,e,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}ze(o,a),o=tf(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Dl);break;case"onScroll":o!=null&&(typeof o!="function"&&fn(a,o),$t("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&fn(a,o),$t("scrollend",t));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(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}ze(o,a),a=tf(""+o),t.setAttributeNS(Md,"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"?(ze(o,a),t.setAttribute(a,""+o)):t.removeAttribute(a);break;case"inert":o!==""||w1[a]||(w1[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"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":o===!0?t.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(ze(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(ze(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(a):(ze(o,a),t.setAttribute(a,o));break;case"popover":$t("beforetoggle",t),$t("toggle",t),fs(t,"popover",o);break;case"xlinkActuate":Ei(t,Md,"xlink:actuate",o);break;case"xlinkArcrole":Ei(t,Md,"xlink:arcrole",o);break;case"xlinkRole":Ei(t,Md,"xlink:role",o);break;case"xlinkShow":Ei(t,Md,"xlink:show",o);break;case"xlinkTitle":Ei(t,Md,"xlink:title",o);break;case"xlinkType":Ei(t,Md,"xlink:type",o);break;case"xmlBase":Ei(t,Ex,"xml:base",o);break;case"xmlLang":Ei(t,Ex,"xml:lang",o);break;case"xmlSpace":Ei(t,Ex,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),fs(t,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":dR||o==null||typeof o!="object"||(dR=!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=dv(a),fs(t,a,o)):eo.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&fn(a,o)}}function Ws(t,e,a,o,c,f){switch(a){case"style":Jm(t,o,f);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(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"children":typeof o=="string"?Wu(t,o):(typeof o=="number"||typeof o=="bigint")&&Wu(t,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&fn(a,o),$t("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&fn(a,o),$t("scrollend",t));break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Dl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(eo.hasOwnProperty(a))o!=null&&typeof o!="function"&&fn(a,o);else t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),e=a.slice(2,c?a.length-7:void 0),f=t[Na]||null,f=f!=null?f[a]:null,typeof f=="function"&&t.removeEventListener(e,f,c),typeof o=="function")){typeof f!="function"&&f!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,o,c);break t}a in t?t[a]=o:o===!0?t.setAttribute(a,""):fs(t,a,o)}}}function nn(t,e,a){switch(_a(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$t("error",t),$t("load",t);var o=!1,c=!1,f;for(f in a)if(a.hasOwnProperty(f)){var g=a[f];if(g!=null)switch(f){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ue(t,e,f,g,a,null)}}c&&Ue(t,e,"srcSet",a.srcSet,a,null),o&&Ue(t,e,"src",a.src,a,null);return;case"input":ca("input",a),$t("invalid",t);var v=f=g=c=null,E=null,D=null;for(o in a)if(a.hasOwnProperty(o)){var L=a[o];if(L!=null)switch(o){case"name":c=L;break;case"type":g=L;break;case"checked":E=L;break;case"defaultChecked":D=L;break;case"value":f=L;break;case"defaultValue":v=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ue(t,e,o,L,a,null)}}Sa(t,a),th(t,f,v,E,D,g,c,!1);return;case"select":ca("select",a),$t("invalid",t),o=g=f=null;for(c in a)if(a.hasOwnProperty(c)&&(v=a[c],v!=null))switch(c){case"value":f=v;break;case"defaultValue":g=v;break;case"multiple":o=v;default:Ue(t,e,c,v,a,null)}eh(t,a),e=f,a=g,t.multiple=!!o,e!=null?Ai(t,!!o,e,!1):a!=null&&Ai(t,!!o,a,!0);return;case"textarea":ca("textarea",a),$t("invalid",t),f=c=o=null;for(g in a)if(a.hasOwnProperty(g)&&(v=a[g],v!=null))switch(g){case"value":o=v;break;case"defaultValue":c=v;break;case"children":f=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ue(t,e,g,v,a,null)}Ku(t,a),ds(t,o,c,f);return;case"option":fv(t,a);for(E in a)a.hasOwnProperty(E)&&(o=a[E],o!=null)&&(E==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Ue(t,e,E,o,a,null));return;case"dialog":$t("beforetoggle",t),$t("toggle",t),$t("cancel",t),$t("close",t);break;case"iframe":case"object":$t("load",t);break;case"video":case"audio":for(o=0;o<Cy.length;o++)$t(Cy[o],t);break;case"image":$t("error",t),$t("load",t);break;case"details":$t("toggle",t);break;case"embed":case"source":case"link":$t("error",t),$t("load",t);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(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ue(t,e,D,o,a,null)}return;default:if(Di(e)){for(L in a)a.hasOwnProperty(L)&&(o=a[L],o!==void 0&&Ws(t,e,L,o,a,void 0));return}}for(v in a)a.hasOwnProperty(v)&&(o=a[v],o!=null&&Ue(t,e,v,o,a,null))}function jn(t,e,a,o){switch(_a(e,o),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,g=null,v=null,E=null,D=null,L=null;for(I in a){var q=a[I];if(a.hasOwnProperty(I)&&q!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":E=q;default:o.hasOwnProperty(I)||Ue(t,e,I,null,o,q)}}for(var j in o){var I=o[j];if(q=a[j],o.hasOwnProperty(j)&&(I!=null||q!=null))switch(j){case"type":f=I;break;case"name":c=I;break;case"checked":D=I;break;case"defaultChecked":L=I;break;case"value":g=I;break;case"defaultValue":v=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:I!==q&&Ue(t,e,j,I,o,q)}}e=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,e||!o||cR||(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"),cR=!0),!e||o||sR||(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"),sR=!0),nu(t,g,v,E,D,L,f,c);return;case"select":I=g=v=j=null;for(f in a)if(E=a[f],a.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":I=E;default:o.hasOwnProperty(f)||Ue(t,e,f,null,o,E)}for(c in o)if(f=o[c],E=a[c],o.hasOwnProperty(c)&&(f!=null||E!=null))switch(c){case"value":j=f;break;case"defaultValue":v=f;break;case"multiple":g=f;default:f!==E&&Ue(t,e,c,f,o,E)}o=v,e=g,a=I,j!=null?Ai(t,!!e,j,!1):!!a!=!!e&&(o!=null?Ai(t,!!e,o,!0):Ai(t,!!e,e?[]:"",!1));return;case"textarea":I=j=null;for(v in a)if(c=a[v],a.hasOwnProperty(v)&&c!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ue(t,e,v,null,o,c)}for(g in o)if(c=o[g],f=a[g],o.hasOwnProperty(g)&&(c!=null||f!=null))switch(g){case"value":j=c;break;case"defaultValue":I=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==f&&Ue(t,e,g,c,o,f)}Ju(t,j,I);return;case"option":for(var At in a)j=a[At],a.hasOwnProperty(At)&&j!=null&&!o.hasOwnProperty(At)&&(At==="selected"?t.selected=!1:Ue(t,e,At,null,o,j));for(E in o)j=o[E],I=a[E],o.hasOwnProperty(E)&&j!==I&&(j!=null||I!=null)&&(E==="selected"?t.selected=j&&typeof j!="function"&&typeof j!="symbol":Ue(t,e,E,j,o,I));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 zt in a)j=a[zt],a.hasOwnProperty(zt)&&j!=null&&!o.hasOwnProperty(zt)&&Ue(t,e,zt,null,o,j);for(D in o)if(j=o[D],I=a[D],o.hasOwnProperty(D)&&j!==I&&(j!=null||I!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ue(t,e,D,j,o,I)}return;default:if(Di(e)){for(var Ie in a)j=a[Ie],a.hasOwnProperty(Ie)&&j!==void 0&&!o.hasOwnProperty(Ie)&&Ws(t,e,Ie,void 0,o,j);for(L in o)j=o[L],I=a[L],!o.hasOwnProperty(L)||j===I||j===void 0&&I===void 0||Ws(t,e,L,j,o,I);return}}for(var we in a)j=a[we],a.hasOwnProperty(we)&&j!=null&&!o.hasOwnProperty(we)&&Ue(t,e,we,null,o,j);for(q in o)j=o[q],I=a[q],!o.hasOwnProperty(q)||j===I||j==null&&I==null||Ue(t,e,q,j,o,I)}function No(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function Mu(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var o=t[a];e[o]=t.getPropertyValue(o)}return e}function $i(t,e,a){if(e!=null&&typeof e!="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,c=o="",f;for(f in e)if(e.hasOwnProperty(f)){var g=e[f];g!=null&&typeof g!="boolean"&&g!==""&&(f.indexOf("--")===0?(sa(g,f),o+=c+f+":"+(""+g).trim()):typeof g!="number"||g===0||Bt.has(f)?(sa(g,f),o+=c+f.replace(lt,"-$1").toLowerCase().replace(Ot,"-ms-")+":"+(""+g).trim()):o+=c+f.replace(lt,"-$1").toLowerCase().replace(Ot,"-ms-")+":"+g+"px",c=";")}o=o||null,e=t.getAttribute("style"),e!==o&&(o=si(o),si(e)!==o&&(a.style=Mu(t)))}}function Xa(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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(ze(o,e),t===""+o)return}cn(e,t,o,f)}function pp(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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}cn(e,t,o,f)}function mp(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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(ze(o,a),t===""+o)return}cn(e,t,o,f)}function Ps(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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)&&(ze(o,e),t===""+o))return}cn(e,t,o,f)}function Jf(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===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(ze(o,e),a=tf(""+o),t===a)return}cn(e,t,o,f)}function Qa(t,e,a,o){for(var c={},f=new Set,g=t.attributes,v=0;v<g.length;v++)switch(g[v].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(g[v].name)}if(Di(e)){for(var E in a)if(a.hasOwnProperty(E)){var D=a[E];if(D!=null){if(eo.hasOwnProperty(E))typeof D!="function"&&fn(E,D);else if(a.suppressHydrationWarning!==!0)switch(E){case"children":typeof D!="string"&&typeof D!="number"||cn("children",t.textContent,D,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":g=t.innerHTML,D=D?D.__html:void 0,D!=null&&(D=hp(t,D),cn(E,g,D,c));continue;case"style":f.delete(E),$i(t,D,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),g=eu(t,"class",D),cn("className",g,D,c);continue;default:o.context===Pr&&e!=="svg"&&e!=="math"?f.delete(E.toLowerCase()):f.delete(E),g=eu(t,E,D),cn(E,g,D,c)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(E=a[D],E!=null)){if(eo.hasOwnProperty(D))typeof E!="function"&&fn(D,E);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof E!="string"&&typeof E!="number"||cn("children",t.textContent,E,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":g=t.innerHTML,E=E?E.__html:void 0,E!=null&&(E=hp(t,E),g!==E&&(c[D]={__html:g}));continue;case"className":Xa(t,D,"class",E,f,c);continue;case"tabIndex":Xa(t,D,"tabindex",E,f,c);continue;case"style":f.delete(D),$i(t,E,c);continue;case"multiple":f.delete(D),cn(D,t.multiple,E,c);continue;case"muted":f.delete(D),cn(D,t.muted,E,c);continue;case"autoFocus":f.delete("autofocus"),cn(D,t.autofocus,E,c);continue;case"data":if(e!=="object"){f.delete(D),g=t.getAttribute("data"),cn(D,g,E,c);continue}case"src":case"href":if(!(E!==""||e==="a"&&D==="href"||e==="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}Jf(t,D,D,E,f,c);continue;case"action":case"formAction":if(g=t.getAttribute(D),typeof E=="function"){f.delete(D.toLowerCase()),D==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(g===c4){f.delete(D.toLowerCase()),cn(D,"function",E,c);continue}Jf(t,D,D.toLowerCase(),E,f,c);continue;case"xlinkHref":Jf(t,D,"xlink:href",E,f,c);continue;case"contentEditable":mp(t,D,"contenteditable",E,f,c);continue;case"spellCheck":mp(t,D,"spellcheck",E,f,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":mp(t,D,D,E,f,c);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":pp(t,D,D.toLowerCase(),E,f,c);continue;case"capture":case"download":t:{v=t;var L=g=D,q=c;if(f.delete(L),v=v.getAttribute(L),v===null)switch(typeof E){case"undefined":case"function":case"symbol":break t;default:if(E===!1)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&v==="")break t;break;default:if(ze(E,g),v===""+E)break t}cn(g,v,E,q)}continue;case"cols":case"rows":case"size":case"span":t:{if(v=t,L=g=D,q=c,f.delete(L),v=v.getAttribute(L),v===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(E)||1>E)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ze(E,g),v===""+E))break t}cn(g,v,E,q)}continue;case"rowSpan":Ps(t,D,"rowspan",E,f,c);continue;case"start":Ps(t,D,D,E,f,c);continue;case"xHeight":Xa(t,D,"x-height",E,f,c);continue;case"xlinkActuate":Xa(t,D,"xlink:actuate",E,f,c);continue;case"xlinkArcrole":Xa(t,D,"xlink:arcrole",E,f,c);continue;case"xlinkRole":Xa(t,D,"xlink:role",E,f,c);continue;case"xlinkShow":Xa(t,D,"xlink:show",E,f,c);continue;case"xlinkTitle":Xa(t,D,"xlink:title",E,f,c);continue;case"xlinkType":Xa(t,D,"xlink:type",E,f,c);continue;case"xmlBase":Xa(t,D,"xml:base",E,f,c);continue;case"xmlLang":Xa(t,D,"xml:lang",E,f,c);continue;case"xmlSpace":Xa(t,D,"xml:space",E,f,c);continue;case"inert":E!==""||w1[D]||(w1[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)),pp(t,D,D,E,f,c);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){v=dv(D),g=!1,o.context===Pr&&e!=="svg"&&e!=="math"?f.delete(v.toLowerCase()):(L=D.toLowerCase(),L=hi.hasOwnProperty(L)&&hi[L]||null,L!==null&&L!==D&&(g=!0,f.delete(L)),f.delete(v));t:if(L=t,q=v,v=E,Rl(q))if(L.hasAttribute(q))L=L.getAttribute(q),ze(v,q),v=L===""+v?v:L;else{switch(typeof v){case"function":case"symbol":break t;case"boolean":if(L=q.toLowerCase().slice(0,5),L!=="data-"&&L!=="aria-")break t}v=v===void 0?void 0:null}else v=void 0;g||cn(D,v,E,c)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&Kf(t,f,c),Object.keys(c).length===0?null:c}function Pv(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function Ua(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Iv(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var c=a[o],f=c.transferSize,g=c.initiatorType,v=c.duration;if(f&&v&&Ua(g)){for(g=0,v=c.responseEnd,o+=1;o<a.length;o++){var E=a[o],D=E.startTime;if(D>v)break;var L=E.transferSize,q=E.initiatorType;L&&Ua(q)&&(E=E.responseEnd,g+=L*(E<v?1:(v-D)/(E-D)))}if(--o,e+=8*(f+g)/(c.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function $f(t){return t.nodeType===9?t:t.ownerDocument}function tb(t){switch(t){case ue:return mm;case ae:return A1;default:return Pr}}function Ho(t,e){if(t===Pr)switch(e){case"svg":return mm;case"math":return A1;default:return Pr}return t===mm&&e==="foreignObject"?Pr:t}function Is(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function m0(){var t=window.event;return t&&t.type==="popstate"?t===Cx?!1:(Cx=t,!0):(Cx=null,!1)}function Fi(){var t=window.event;return t&&t!==Oy?t.type:null}function tc(){var t=window.event;return t&&t!==Oy?t.timeStamp:-1.1}function eb(t){setTimeout(function(){throw t})}function nb(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function ab(){}function gp(t,e,a,o){jn(t,e,a,o),t[Na]=o}function yp(t){Wu(t,"")}function y2(t,e,a){t.nodeValue=a}function lb(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[Na]||null;if(e!==null){var a=Et(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,Ct(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.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,Ct(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 Ou(t){return t==="head"}function ib(t,e){t.removeChild(e)}function ob(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function zr(t,e){var a=e,o=0;do{var c=a.nextSibling;if(t.removeChild(a),c&&c.nodeType===8)if(a=c.data,a===My||a===E1){if(o===0){t.removeChild(c),Ur(e);return}o--}else if(a===zy||a===Bc||a===_d||a===pm||a===Od)o++;else if(a===d4)ko(t.ownerDocument.documentElement);else if(a===p4){a=t.ownerDocument.head,ko(a);for(var f=a.firstChild;f;){var g=f.nextSibling,v=f.nodeName;f[gc]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=g}}else a===h4&&ko(t.ownerDocument.body);a=c}while(a);Ur(e)}function Ff(t,e){var a=t;t=0;do{var o=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a===My){if(t===0)break;t--}else a!==zy&&a!==Bc&&a!==_d&&a!==pm||t++;a=o}while(a)}function ub(t){Ff(t,!0)}function rb(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function sb(t){t.nodeValue=""}function cb(t){Ff(t,!1)}function fb(t,e){e=e[m4],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function db(t,e){t.nodeValue=e}function ec(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":ec(a),X(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function hb(t,e,a,o){for(;t.nodeType===1;){var c=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[gc])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){ze(c.name,"name");var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=ml(t.nextSibling),t===null)break}return null}function pb(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=ml(t.nextSibling),t===null))return null;return t}function Le(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=ml(t.nextSibling),t===null))return null;return t}function Wf(t){return t.data===Bc||t.data===_d}function g0(t){return t.data===pm||t.data===Bc&&t.ownerDocument.readyState!==pR}function mb(t,e){var a=t.ownerDocument;if(t.data===_d)t._reactRetry=e;else if(t.data!==Bc||a.readyState!==pR)e();else{var o=function(){e(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function ml(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===zy||e===pm||e===Bc||e===_d||e===Od||e===Ax||e===hR)break;if(e===My||e===E1)return null}}return t}function gb(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},o=t.attributes,c=0;c<o.length;c++){var f=o[c];a[No(f.name)]=f.name.toLowerCase()==="style"?Mu(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===Od?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function yb(t,e,a){return a===null||a[f4]!==!0?(t.nodeValue===e?t=null:(e=si(e),t=si(t.nodeValue)===e?null:t.nodeValue),t):null}function nc(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===My||a===E1){if(e===0)return ml(t.nextSibling);e--}else a!==zy&&a!==pm&&a!==Bc&&a!==_d&&a!==Od||e++}t=t.nextSibling}return null}function Mr(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===zy||a===pm||a===Bc||a===_d||a===Od){if(e===0)return t;e--}else a!==My&&a!==E1||e++}t=t.previousSibling}return null}function y0(t){Ur(t)}function vp(t){Ur(t)}function v0(t){Ur(t)}function Bo(t,e,a,o,c){switch(c&&Pc(t,o.ancestorInfo),e=$f(a),t){case"html":if(t=e.documentElement,!t)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 t;case"head":if(t=e.head,!t)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 t;case"body":if(t=e.body,!t)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 t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Wi(t,e,a,o){if(!a[Vo]&&Et(a)){var c=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.",c,c,c)}switch(t){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(c=a.attributes;c.length;)a.removeAttributeNode(c[0]);nn(a,t,e),a[an]=o,a[Na]=e}function ko(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);X(t)}function bp(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function b0(t,e,a){var o=gm;if(o&&typeof e=="string"&&e){var c=Ve(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),SR.has(c)||(SR.add(c),t={rel:t,crossOrigin:a,href:e},o.querySelector(c)===null&&(e=o.createElement("link"),nn(e,"link",t),Ht(e),o.head.appendChild(e)))}}function S0(t,e,a,o){var c=(c=gl.current)?bp(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Or(a.href),e=Kt(c).hoistableStyles,o=e.get(a),o||(o={type:"style",instance:null,count:0,state:null},e.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"){t=Or(a.href);var f=Kt(c).hoistableStyles,g=f.get(t);if(!g&&(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:jd,preload:null}},f.set(t,g),(f=c.querySelector(If(t)))&&!f._p&&(g.instance=f,g.state.loading=_y|ho),!po.has(t))){var v={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};po.set(t,v),f||vb(c,t,v,g.state)}if(e&&o===null)throw a=`
|
|
190
190
|
|
|
191
|
-
- `+
|
|
192
|
-
+ `+
|
|
191
|
+
- `+Pf(e)+`
|
|
192
|
+
+ `+Pf(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 g}if(e&&o!==null)throw a=`
|
|
193
193
|
|
|
194
|
-
- `+
|
|
195
|
-
+ `+Wf(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 e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=Or(a),e=Kt(c).hoistableScripts,o=e.get(a),o||(o={type:"script",instance:null,count:0,state:null},e.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function Wf(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):yl.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):yl.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):yl.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function Mr(t){return'href="'+Ve(t)+'"'}function Pf(t){return'link[rel="stylesheet"]['+t+"]"}function vp(t){return se({},t,{"data-precedence":t.precedence,precedence:null})}function yb(t,e,a,o){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?o.loading=zy:(e=t.createElement("link"),o.preload=e,e.addEventListener("load",function(){return o.loading|=zy}),e.addEventListener("error",function(){return o.loading|=mR}),nn(e,"link",a),jt(e),t.head.appendChild(e))}function Or(t){return'[src="'+Ve(t)+'"]'}function If(t){return"script[async]"+t}function bp(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var o=t.querySelector('style[data-href~="'+Ve(a.href)+'"]');if(o)return e.instance=o,jt(o),o;var c=se({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),jt(o),nn(o,"style",c),ec(o,a.precedence,t),e.instance=o;case"stylesheet":c=Mr(a.href);var f=t.querySelector(Pf(c));if(f)return e.state.loading|=ho,e.instance=f,jt(f),f;o=vp(a),(c=po.get(c))&&v0(o,c),f=(t.ownerDocument||t).createElement("link"),jt(f);var g=f;return g._p=new Promise(function(v,E){g.onload=v,g.onerror=E}),nn(f,"link",o),e.state.loading|=ho,ec(f,a.precedence,t),e.instance=f;case"script":return f=Or(a.src),(c=t.querySelector(If(f)))?(e.instance=c,jt(c),c):(o=a,(c=po.get(f))&&(o=se({},a),b0(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),jt(c),nn(c,"link",o),t.head.appendChild(c),e.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&ho)===Ud&&(o=e.instance,e.state.loading|=ho,ec(o,a.precedence,t));return e.instance}function ec(t,e,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,f=c,g=0;g<o.length;g++){var v=o[g];if(v.dataset.precedence===e)f=v;else if(f!==c)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function v0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function b0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function nc(t,e,a){if(A1===null){var o=new Map,c=A1=new Map;c.set(a,o)}else c=A1,o=c.get(a),o||(o=new Map,c.set(a,o));if(o.has(t))return o;for(o.set(t,null),a=a.getElementsByTagName(t),c=0;c<a.length;c++){var f=a[c];if(!(f[pc]||f[an]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==ue){var g=f.getAttribute(e)||"";g=t+g;var v=o.get(g);v?v.push(f):o.set(g,[f])}}return o}function vb(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function bb(t,e,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===hm||e.itemProp!=null)return!o||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="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.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.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 e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var c=e.onError,f=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),c&&a.push("`onError`"),f!=null&&a.push("`disabled`"),c=Wv(a,"and"),c+=a.length===1?" prop":" props",f=a.length===1?"an "+c:"the "+c,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.',t,f,c)}o&&(typeof e.rel!="string"||typeof e.href!="string"||e.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"):(e.onError||e.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}return e.rel==="stylesheet"?(t=e.precedence,e=e.disabled,typeof t!="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 t=="string"&&e==null):!0;case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){o&&(t?e.onLoad||e.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.",t)}return!1}function ge(t){return!(t.type==="stylesheet"&&(t.state.loading&gR)===Ud)}function S0(t,e,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&ho)===Ud){if(a.instance===null){var c=Mr(o.href),f=e.querySelector(Pf(c));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=ac.bind(t),e.then(t,t)),a.state.loading|=ho,a.instance=f,jt(f);return}f=e.ownerDocument||e,o=vp(o),(c=po.get(c))&&v0(o,c),f=f.createElement("link"),jt(f);var g=f;g._p=new Promise(function(v,E){g.onload=v,g.onerror=E}),nn(f,"link",o),a.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&gR)===Ud&&(t.count++,a=ac.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function Sp(t,e){return t.stylesheets&&t.count===0&&td(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&td(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},h4+e);0<t.imgBytes&&Cx===0&&(Cx=125*Pv()*m4);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&td(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>Cx?50:p4)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function ac(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)td(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function td(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,R1=new Map,e.forEach(x0,t),R1=null,ac.call(t))}function x0(t,e){if(!(e.state.loading&ho)){var a=R1.get(t);if(a)var o=a.get(zx);else{a=new Map,R1.set(t,a);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var g=c[f];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(a.set(g.dataset.precedence,g),o=g)}o&&a.set(zx,o)}c=e.instance,g=c.getAttribute("data-precedence"),f=a.get(g)||o,f===o&&a.set(zx,c),a.set(g,c),this.count++,o=ac.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),f?f.parentNode.insertBefore(c,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),e.state.loading|=ho}}function ed(t,e,a,o,c,f,g,v,E){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=_d,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=us(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=us(0),this.hiddenUpdates=us(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function nd(t,e,a,o,c,f,g,v,E,D,k,q){return t=new ed(t,e,a,g,E,D,k,q,v),e=k_,f===!0&&(e|=Ja|Vo),e|=ce,f=z(3,null,null,e),t.current=f,f.stateNode=t,e=bh(),or(e),t.pooledCache=e,or(e),f.memoizedState={element:o,isDehydrated:a,cache:e},ye(f),t}function Sb(t){return t?(t=Sc,t):Sc}function xp(t,e,a,o,c,f){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(Hr,o,a)}catch(g){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",g))}c=Sb(c),o.context===null?o.context=c:o.pendingContext=c,Pi&&Ka!==null&&!xR&&(xR=!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.
|
|
194
|
+
- `+Pf(e)+`
|
|
195
|
+
+ `+Pf(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 e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=_r(a),e=Kt(c).hoistableScripts,o=e.get(a),o||(o={type:"script",instance:null,count:0,state:null},e.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function Pf(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):yl.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):yl.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):yl.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function Or(t){return'href="'+Ve(t)+'"'}function If(t){return'link[rel="stylesheet"]['+t+"]"}function Sp(t){return se({},t,{"data-precedence":t.precedence,precedence:null})}function vb(t,e,a,o){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?o.loading=_y:(e=t.createElement("link"),o.preload=e,e.addEventListener("load",function(){return o.loading|=_y}),e.addEventListener("error",function(){return o.loading|=vR}),nn(e,"link",a),Ht(e),t.head.appendChild(e))}function _r(t){return'[src="'+Ve(t)+'"]'}function td(t){return"script[async]"+t}function xp(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var o=t.querySelector('style[data-href~="'+Ve(a.href)+'"]');if(o)return e.instance=o,Ht(o),o;var c=se({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),Ht(o),nn(o,"style",c),ac(o,a.precedence,t),e.instance=o;case"stylesheet":c=Or(a.href);var f=t.querySelector(If(c));if(f)return e.state.loading|=ho,e.instance=f,Ht(f),f;o=Sp(a),(c=po.get(c))&&x0(o,c),f=(t.ownerDocument||t).createElement("link"),Ht(f);var g=f;return g._p=new Promise(function(v,E){g.onload=v,g.onerror=E}),nn(f,"link",o),e.state.loading|=ho,ac(f,a.precedence,t),e.instance=f;case"script":return f=_r(a.src),(c=t.querySelector(td(f)))?(e.instance=c,Ht(c),c):(o=a,(c=po.get(f))&&(o=se({},a),T0(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),Ht(c),nn(c,"link",o),t.head.appendChild(c),e.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&ho)===jd&&(o=e.instance,e.state.loading|=ho,ac(o,a.precedence,t));return e.instance}function ac(t,e,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,f=c,g=0;g<o.length;g++){var v=o[g];if(v.dataset.precedence===e)f=v;else if(f!==c)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function x0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function T0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function lc(t,e,a){if(R1===null){var o=new Map,c=R1=new Map;c.set(a,o)}else c=R1,o=c.get(a),o||(o=new Map,c.set(a,o));if(o.has(t))return o;for(o.set(t,null),a=a.getElementsByTagName(t),c=0;c<a.length;c++){var f=a[c];if(!(f[gc]||f[an]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==ue){var g=f.getAttribute(e)||"";g=t+g;var v=o.get(g);v?v.push(f):o.set(g,[f])}}return o}function bb(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Sb(t,e,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===mm||e.itemProp!=null)return!o||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="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.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.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 e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var c=e.onError,f=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),c&&a.push("`onError`"),f!=null&&a.push("`disabled`"),c=Pv(a,"and"),c+=a.length===1?" prop":" props",f=a.length===1?"an "+c:"the "+c,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.',t,f,c)}o&&(typeof e.rel!="string"||typeof e.href!="string"||e.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"):(e.onError||e.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}return e.rel==="stylesheet"?(t=e.precedence,e=e.disabled,typeof t!="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 t=="string"&&e==null):!0;case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){o&&(t?e.onLoad||e.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.",t)}return!1}function ve(t){return!(t.type==="stylesheet"&&(t.state.loading&bR)===jd)}function w0(t,e,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&ho)===jd){if(a.instance===null){var c=Or(o.href),f=e.querySelector(If(c));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=ic.bind(t),e.then(t,t)),a.state.loading|=ho,a.instance=f,Ht(f);return}f=e.ownerDocument||e,o=Sp(o),(c=po.get(c))&&x0(o,c),f=f.createElement("link"),Ht(f);var g=f;g._p=new Promise(function(v,E){g.onload=v,g.onerror=E}),nn(f,"link",o),a.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&bR)===jd&&(t.count++,a=ic.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function Tp(t,e){return t.stylesheets&&t.count===0&&ed(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&ed(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},v4+e);0<t.imgBytes&&Mx===0&&(Mx=125*Iv()*S4);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ed(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>Mx?50:b4)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function ic(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ed(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function ed(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,D1=new Map,e.forEach(E0,t),D1=null,ic.call(t))}function E0(t,e){if(!(e.state.loading&ho)){var a=D1.get(t);if(a)var o=a.get(Ox);else{a=new Map,D1.set(t,a);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var g=c[f];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(a.set(g.dataset.precedence,g),o=g)}o&&a.set(Ox,o)}c=e.instance,g=c.getAttribute("data-precedence"),f=a.get(g)||o,f===o&&a.set(Ox,c),a.set(g,c),this.count++,o=ic.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),f?f.parentNode.insertBefore(c,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),e.state.loading|=ho}}function nd(t,e,a,o,c,f,g,v,E){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Ud,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ss(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ss(0),this.hiddenUpdates=ss(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function ad(t,e,a,o,c,f,g,v,E,D,L,q){return t=new nd(t,e,a,g,E,D,L,q,v),e=X_,f===!0&&(e|=Ja|Yo),e|=ce,f=M(3,null,null,e),t.current=f,f.stateNode=t,e=xh(),ur(e),t.pooledCache=e,ur(e),f.memoizedState={element:o,isDehydrated:a,cache:e},be(f),t}function xb(t){return t?(t=Tc,t):Tc}function wp(t,e,a,o,c,f){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(Br,o,a)}catch(g){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",g))}c=xb(c),o.context===null?o.context=c:o.pendingContext=c,Pi&&Ka!==null&&!ER&&(ER=!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.
|
|
196
196
|
|
|
197
|
-
Check the render method of %s.`,K(Ka)||"Unknown")),o=_n(e),o.payload={element:a},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),o.callback=f),a=ji(t,o,e),a!==null&&(Oi(e,"root.render()",null),Wt(a,t,e),jl(a,t,e))}function xb(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function T0(t,e){xb(t,e),(t=t.alternate)&&xb(t,e)}function w0(t){if(t.tag===13||t.tag===31){var e=fa(t,67108864);e!==null&&Wt(e,t,67108864),T0(t,67108864)}}function E0(t){if(t.tag===13||t.tag===31){var e=ha(t);e=Al(e);var a=fa(t,e);a!==null&&Wt(a,t,e),T0(t,e)}}function Ge(){return Ka}function A0(t,e,a,o){var c=nt.T;nt.T=null;var f=je.p;try{je.p=Hn,R0(t,e,a,o)}finally{je.p=f,nt.T=c}}function la(t,e,a,o){var c=nt.T;nt.T=null;var f=je.p;try{je.p=oa,R0(t,e,a,o)}finally{je.p=f,nt.T=c}}function R0(t,e,a,o){if(C1){var c=Tp(o);if(c===null)ui(t,e,o,z1,a),Ep(t,o);else if(Tb(c,t,e,a,o))o.stopPropagation();else if(Ep(t,o),e&4&&-1<y4.indexOf(t)){for(;c!==null;){var f=xt(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var g=wi(f.pendingLanes);if(g!==0){var v=f;for(v.pendingLanes|=2,v.entangledLanes|=2;g;){var E=1<<31-ia(g);v.entanglements[1]|=E,g&=~E}Ga(f),(Re&(ra|yi))===va&&(f1=Jn()+$5,Ki(0))}}break;case 31:case 13:v=fa(f,2),v!==null&&Wt(v,f,2),pl(),T0(f,2)}if(f=Tp(o),f===null&&ui(t,e,o,z1,a),f===c)break;c=f}c!==null&&o.stopPropagation()}else ui(t,e,o,null,a)}}function Tp(t){return t=Ql(t),D0(t)}function D0(t){if(z1=null,t=yt(t),t!==null){var e=ft(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=bt(e),t!==null)return t;t=null}else if(a===31){if(t=it(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return z1=t,null}function wp(t){switch(t){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 Hn;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 oa;case"message":switch(rd()){case B0:return Hn;case Up:return oa;case Nr:case Cb:return ma;case jp:return Nu;default:return ma}default:return ma}}function Ep(t,e){switch(t){case"focusin":case"focusout":Hc=null;break;case"dragenter":case"dragleave":Bc=null;break;case"mouseover":case"mouseout":Lc=null;break;case"pointerover":case"pointerout":Oy.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":_y.delete(e.pointerId)}}function Ou(t,e,a,o,c,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:a,eventSystemFlags:o,nativeEvent:f,targetContainers:[c]},e!==null&&(e=xt(e),e!==null&&w0(e)),t):(t.eventSystemFlags|=o,e=t.targetContainers,c!==null&&e.indexOf(c)===-1&&e.push(c),t)}function Tb(t,e,a,o,c){switch(e){case"focusin":return Hc=Ou(Hc,t,e,a,o,c),!0;case"dragenter":return Bc=Ou(Bc,t,e,a,o,c),!0;case"mouseover":return Lc=Ou(Lc,t,e,a,o,c),!0;case"pointerover":var f=c.pointerId;return Oy.set(f,Ou(Oy.get(f)||null,t,e,a,o,c)),!0;case"gotpointercapture":return f=c.pointerId,_y.set(f,Ou(_y.get(f)||null,t,e,a,o,c)),!0}return!1}function C0(t){var e=yt(t.target);if(e!==null){var a=ft(e);if(a!==null){if(e=a.tag,e===13){if(e=bt(a),e!==null){t.blockedOn=e,C(t.priority,function(){E0(a)});return}}else if(e===31){if(e=it(a),e!==null){t.blockedOn=e,C(t.priority,function(){E0(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function lc(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Tp(t.nativeEvent);if(a===null){a=t.nativeEvent;var o=new a.constructor(a.type,a),c=o;q0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),q0=c,a.target.dispatchEvent(o),q0===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."),q0=null}else return e=xt(a),e!==null&&w0(e),t.blockedOn=a,!1;e.shift()}return!0}function Ap(t,e,a){lc(t)&&a.delete(e)}function g2(){Mx=!1,Hc!==null&&lc(Hc)&&(Hc=null),Bc!==null&&lc(Bc)&&(Bc=null),Lc!==null&&lc(Lc)&&(Lc=null),Oy.forEach(Ap),_y.forEach(Ap)}function ad(t,e){t.blockedOn===e&&(t.blockedOn=null,Mx||(Mx=!0,En.unstable_scheduleCallback(En.unstable_NormalPriority,g2)))}function wb(t){M1!==t&&(M1=t,En.unstable_scheduleCallback(En.unstable_NormalPriority,function(){M1===t&&(M1=null);for(var e=0;e<t.length;e+=3){var a=t[e],o=t[e+1],c=t[e+2];if(typeof o!="function"){if(D0(o||a)===null)continue;break}var f=xt(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:c,method:a.method,action:o},Object.freeze(a),zo(f,a,o,c))}}))}function _r(t){function e(E){return ad(E,t)}Hc!==null&&ad(Hc,t),Bc!==null&&ad(Bc,t),Lc!==null&&ad(Lc,t),Oy.forEach(e),_y.forEach(e);for(var a=0;a<kc.length;a++){var o=kc[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<kc.length&&(a=kc[0],a.blockedOn===null);)C0(a),a.blockedOn===null&&kc.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var c=a[o],f=a[o+1],g=c[Na]||null;if(typeof f=="function")g||wb(a);else if(g){var v=null;if(f&&f.hasAttribute("formAction")){if(c=f,g=f[Na]||null)v=g.formAction;else if(D0(c)!==null)continue}else v=g.action;typeof v=="function"?a[o+1]=v:(a.splice(o,3),o-=3),wb(a)}}}function Eb(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function e(){c!==null&&(c(),c=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),c!==null&&(c(),c=null)}}}function z0(t){this._internalRoot=t}function ci(t){this._internalRoot=t}function M0(t){t[ko]&&(t._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 En=Vx(),ld=Nd(),y2=U1(),se=Object.assign,Ab=Symbol.for("react.element"),Ll=Symbol.for("react.transitional.element"),_u=Symbol.for("react.portal"),ic=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),id=Symbol.for("react.profiler"),Rp=Symbol.for("react.consumer"),fi=Symbol.for("react.context"),oc=Symbol.for("react.forward_ref"),Ur=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),od=Symbol.for("react.memo"),pa=Symbol.for("react.lazy"),di=Symbol.for("react.activity"),v2=Symbol.for("react.memo_cache_sentinel"),Rb=Symbol.iterator,uc=Symbol.for("react.client.reference"),zn=Array.isArray,nt=ld.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,je=y2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b2=Object.freeze({pending:!1,data:null,method:null,action:null}),O0=[],_0=[],Lo=-1,Uu=qt(null),rc=qt(null),gl=qt(null),ju=qt(null),sc=0,Db,jr,cc,U0,ud,Dp,Cp;Ht.__reactDisabledLog=!0;var fc,j0,zp=!1,N0=new(typeof WeakMap=="function"?WeakMap:Map),Ka=null,Pi=!1,yl=Object.prototype.hasOwnProperty,H0=En.unstable_scheduleCallback,Mp=En.unstable_cancelCallback,Op=En.unstable_shouldYield,_p=En.unstable_requestPaint,Jn=En.unstable_now,rd=En.unstable_getCurrentPriorityLevel,B0=En.unstable_ImmediatePriority,Up=En.unstable_UserBlockingPriority,Nr=En.unstable_NormalPriority,Cb=En.unstable_LowPriority,jp=En.unstable_IdlePriority,L0=En.log,zb=En.unstable_setDisableYieldValue,Hr=null,Nn=null,Ii=!1,to=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ia=Math.clz32?Math.clz32:Po,k0=Math.log,Np=Math.LN2,dc=256,sd=262144,hc=4194304,Hn=2,oa=8,ma=32,Nu=268435456,kl=Math.random().toString(36).slice(2),an="__reactFiber$"+kl,Na="__reactProps$"+kl,ko="__reactContainer$"+kl,Br="__reactEvents$"+kl,S2="__reactListeners$"+kl,Mb="__reactHandles$"+kl,cd="__reactResources$"+kl,pc="__reactMarker$"+kl,Ob=new Set,eo={},mc={},_b={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gc=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]*$"),V0={},Hp={},Bp=/[\n"\\]/g,Y0=!1,Ub=!1,fd=!1,n=!1,l=!1,i=!1,s=["value","defaultValue"],p=!1,m=/["'&<>\n\t]|^\s|\s$/,T="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(" "),O="applet caption html table td th marquee object template foreignObject desc title".split(" "),H=O.concat(["button"]),F="dd dt li option optgroup p rp rt".split(" "),ot={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},dt={},W={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"]},at=/([A-Z])/g,Mt=/^ms-/,Zt=/^(?:webkit|moz|o)[A-Z]/,Xe=/^-ms-/,Q=/-(.)/g,Y=/;\s*$/,J={},ct={},Yt=!1,Ae=!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(" ")),ae="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",Oe=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"]]),hi={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"},jb={"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},Lp={},WO=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]*$"),PO=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]*$"),wA=!1,vl={},EA=/^on./,IO=/^on[^A-Z]/,t_=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]*$"),e_=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]*$"),n_=/^[\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,q0=null,kp=null,Vp=null,x2=!1,Hu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),T2=!1;if(Hu)try{var G0={};Object.defineProperty(G0,"passive",{get:function(){T2=!0}}),window.addEventListener("test",G0,G0),window.removeEventListener("test",G0,G0)}catch{T2=!1}var yc=null,w2=null,Nb=null,dd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hb=Yn(dd),X0=se({},dd,{view:0,detail:0}),a_=Yn(X0),E2,A2,Q0,Bb=se({},X0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ef,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Q0&&(Q0&&t.type==="mousemove"?(E2=t.screenX-Q0.screenX,A2=t.screenY-Q0.screenY):A2=E2=0,Q0=t),E2)},movementY:function(t){return"movementY"in t?t.movementY:A2}}),AA=Yn(Bb),l_=se({},Bb,{dataTransfer:0}),i_=Yn(l_),o_=se({},X0,{relatedTarget:0}),R2=Yn(o_),u_=se({},dd,{animationName:0,elapsedTime:0,pseudoElement:0}),r_=Yn(u_),s_=se({},dd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),c_=Yn(s_),f_=se({},dd,{data:0}),RA=Yn(f_),d_=RA,h_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p_={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"},m_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},g_=se({},X0,{key:function(t){if(t.key){var e=h_[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=tf(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?p_[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ef,charCode:function(t){return t.type==="keypress"?tf(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?tf(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),y_=Yn(g_),v_=se({},Bb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),DA=Yn(v_),b_=se({},X0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ef}),S_=Yn(b_),x_=se({},dd,{propertyName:0,elapsedTime:0,pseudoElement:0}),T_=Yn(x_),w_=se({},Bb,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),E_=Yn(w_),A_=se({},dd,{newState:0,oldState:0}),R_=Yn(A_),D_=[9,13,27,32],CA=229,D2=Hu&&"CompositionEvent"in window,Z0=null;Hu&&"documentMode"in document&&(Z0=document.documentMode);var C_=Hu&&"TextEvent"in window&&!Z0,zA=Hu&&(!D2||Z0&&8<Z0&&11>=Z0),MA=32,OA=String.fromCharCode(MA),_A=!1,Yp=!1,z_={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},K0=null,J0=null,UA=!1;Hu&&(UA=rh("input")&&(!document.documentMode||9<document.documentMode));var bl=typeof Object.is=="function"?Object.is:sh,M_=Hu&&"documentMode"in document&&11>=document.documentMode,qp=null,C2=null,$0=null,z2=!1,Gp={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")},M2={},jA={};Hu&&(jA=document.createElement("div").style,"AnimationEvent"in window||(delete Gp.animationend.animation,delete Gp.animationiteration.animation,delete Gp.animationstart.animation),"TransitionEvent"in window||delete Gp.transitionend.transition);var NA=Iu("animationend"),HA=Iu("animationiteration"),BA=Iu("animationstart"),O_=Iu("transitionrun"),__=Iu("transitionstart"),U_=Iu("transitioncancel"),LA=Iu("transitionend"),kA=new Map,O2="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(" ");O2.push("scrollEnd");var VA=0;if(typeof performance=="object"&&typeof performance.now=="function")var j_=performance,YA=function(){return j_.now()};else{var N_=Date;YA=function(){return N_.now()}}var _2=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},H_="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.",Lb=0,U2=1,j2=2,N2=3,kb="– ",Vb="+ ",qA=" ",ln=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",no="Components ⚛",Te="Scheduler ⚛",Ee="Blocking",vc=!1,Lr={color:"primary",properties:null,tooltipText:"",track:no},bc={start:-0,end:-0,detail:{devtools:Lr}},B_=["Changed Props",""],GA="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",L_=["Changed Props",GA],F0=1,kr=2,ao=[],Xp=0,H2=0,Sc={};Object.freeze(Sc);var lo=null,Qp=null,Ft=0,k_=1,ce=2,Ja=8,Vo=16,V_=32,XA=!1;try{var QA=Object.preventExtensions({})}catch{XA=!0}var B2=new WeakMap,Zp=[],Kp=0,Yb=null,W0=0,io=[],oo=0,hd=null,Vr=1,Yr="",Ha=null,on=null,Se=!1,Bu=!1,pi=null,xc=null,uo=!1,L2=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."),k2=qt(null),V2=qt(null),ZA={},qb=null,Jp=null,$p=!1,Y_=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,o){t.push(o)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},q_=En.unstable_scheduleCallback,G_=En.unstable_NormalPriority,$n={$$typeof:fi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Fn=En.unstable_now,Gb=console.createTask?console.createTask:function(){return null},P0=1,Xb=2,ga=-0,Tc=-0,qr=-0,Gr=null,Sl=-1.1,pd=-0,gn=-0,Qt=-1.1,Jt=-1.1,dn=null,An=!1,md=-0,Lu=-1.1,I0=null,wc=0,Y2=null,q2=null,gd=-1.1,ty=null,Fp=-1.1,Qb=-1.1,Xr=-0,Qr=-1.1,ro=-1.1,G2=0,ey=null,KA=null,JA=null,Ec=-1.1,yd=null,Ac=-1.1,Zb=-1.1,$A=-0,FA=-0,Kb=0,X_=null,WA=0,ny=-1.1,Jb=!1,$b=!1,ay=null,X2=0,vd=0,Wp=null,PA=nt.S;nt.S=function(t,e){if(K5=Jn(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>Qr&&0>ro){Qr=Fn();var a=Ps(),o=Fi();(a!==Ac||o!==yd)&&(Ac=-1.1),Ec=a,yd=o}To(t,e)}PA!==null&&PA(t,e)};var bd=qt(null),Yo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},ly=[],iy=[],oy=[],uy=[],ry=[],sy=[],Sd=new Set;Yo.recordUnsafeLifecycleWarnings=function(t,e){Sd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&ly.push(t),t.mode&Ja&&typeof e.UNSAFE_componentWillMount=="function"&&iy.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&oy.push(t),t.mode&Ja&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&uy.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&ry.push(t),t.mode&Ja&&typeof e.UNSAFE_componentWillUpdate=="function"&&sy.push(t))},Yo.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<ly.length&&(ly.forEach(function(v){t.add(K(v)||"Component"),Sd.add(v.type)}),ly=[]);var e=new Set;0<iy.length&&(iy.forEach(function(v){e.add(K(v)||"Component"),Sd.add(v.type)}),iy=[]);var a=new Set;0<oy.length&&(oy.forEach(function(v){a.add(K(v)||"Component"),Sd.add(v.type)}),oy=[]);var o=new Set;0<uy.length&&(uy.forEach(function(v){o.add(K(v)||"Component"),Sd.add(v.type)}),uy=[]);var c=new Set;0<ry.length&&(ry.forEach(function(v){c.add(K(v)||"Component"),Sd.add(v.type)}),ry=[]);var f=new Set;if(0<sy.length&&(sy.forEach(function(v){f.add(K(v)||"Component"),Sd.add(v.type)}),sy=[]),0<e.size){var g=R(e);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.
|
|
197
|
+
Check the render method of %s.`,K(Ka)||"Unknown")),o=_n(e),o.payload={element:a},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),o.callback=f),a=ji(t,o,e),a!==null&&(Oi(e,"root.render()",null),Wt(a,t,e),jl(a,t,e))}function Tb(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function A0(t,e){Tb(t,e),(t=t.alternate)&&Tb(t,e)}function R0(t){if(t.tag===13||t.tag===31){var e=fa(t,67108864);e!==null&&Wt(e,t,67108864),A0(t,67108864)}}function D0(t){if(t.tag===13||t.tag===31){var e=ha(t);e=Al(e);var a=fa(t,e);a!==null&&Wt(a,t,e),A0(t,e)}}function Ge(){return Ka}function C0(t,e,a,o){var c=at.T;at.T=null;var f=je.p;try{je.p=Hn,z0(t,e,a,o)}finally{je.p=f,at.T=c}}function la(t,e,a,o){var c=at.T;at.T=null;var f=je.p;try{je.p=oa,z0(t,e,a,o)}finally{je.p=f,at.T=c}}function z0(t,e,a,o){if(z1){var c=Ep(o);if(c===null)ui(t,e,o,M1,a),Rp(t,o);else if(wb(c,t,e,a,o))o.stopPropagation();else if(Rp(t,o),e&4&&-1<T4.indexOf(t)){for(;c!==null;){var f=Et(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var g=wi(f.pendingLanes);if(g!==0){var v=f;for(v.pendingLanes|=2,v.entangledLanes|=2;g;){var E=1<<31-ia(g);v.entanglements[1]|=E,g&=~E}Ga(f),(Re&(ra|yi))===va&&(d1=Jn()+P5,Ki(0))}}break;case 31:case 13:v=fa(f,2),v!==null&&Wt(v,f,2),pl(),A0(f,2)}if(f=Ep(o),f===null&&ui(t,e,o,M1,a),f===c)break;c=f}c!==null&&o.stopPropagation()}else ui(t,e,o,null,a)}}function Ep(t){return t=Ql(t),M0(t)}function M0(t){if(M1=null,t=vt(t),t!==null){var e=st(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=dt(e),t!==null)return t;t=null}else if(a===31){if(t=ft(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return M1=t,null}function Ap(t){switch(t){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 Hn;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 oa;case"message":switch(sd()){case V0:return Hn;case Np:return oa;case Hr:case zb:return ma;case Hp:return Hu;default:return ma}default:return ma}}function Rp(t,e){switch(t){case"focusin":case"focusout":kc=null;break;case"dragenter":case"dragleave":Lc=null;break;case"mouseover":case"mouseout":Vc=null;break;case"pointerover":case"pointerout":jy.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ny.delete(e.pointerId)}}function _u(t,e,a,o,c,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:a,eventSystemFlags:o,nativeEvent:f,targetContainers:[c]},e!==null&&(e=Et(e),e!==null&&R0(e)),t):(t.eventSystemFlags|=o,e=t.targetContainers,c!==null&&e.indexOf(c)===-1&&e.push(c),t)}function wb(t,e,a,o,c){switch(e){case"focusin":return kc=_u(kc,t,e,a,o,c),!0;case"dragenter":return Lc=_u(Lc,t,e,a,o,c),!0;case"mouseover":return Vc=_u(Vc,t,e,a,o,c),!0;case"pointerover":var f=c.pointerId;return jy.set(f,_u(jy.get(f)||null,t,e,a,o,c)),!0;case"gotpointercapture":return f=c.pointerId,Ny.set(f,_u(Ny.get(f)||null,t,e,a,o,c)),!0}return!1}function O0(t){var e=vt(t.target);if(e!==null){var a=st(e);if(a!==null){if(e=a.tag,e===13){if(e=dt(a),e!==null){t.blockedOn=e,C(t.priority,function(){D0(a)});return}}else if(e===31){if(e=ft(a),e!==null){t.blockedOn=e,C(t.priority,function(){D0(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function oc(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Ep(t.nativeEvent);if(a===null){a=t.nativeEvent;var o=new a.constructor(a.type,a),c=o;Q0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Q0=c,a.target.dispatchEvent(o),Q0===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."),Q0=null}else return e=Et(a),e!==null&&R0(e),t.blockedOn=a,!1;e.shift()}return!0}function Dp(t,e,a){oc(t)&&a.delete(e)}function v2(){_x=!1,kc!==null&&oc(kc)&&(kc=null),Lc!==null&&oc(Lc)&&(Lc=null),Vc!==null&&oc(Vc)&&(Vc=null),jy.forEach(Dp),Ny.forEach(Dp)}function ld(t,e){t.blockedOn===e&&(t.blockedOn=null,_x||(_x=!0,En.unstable_scheduleCallback(En.unstable_NormalPriority,v2)))}function Eb(t){O1!==t&&(O1=t,En.unstable_scheduleCallback(En.unstable_NormalPriority,function(){O1===t&&(O1=null);for(var e=0;e<t.length;e+=3){var a=t[e],o=t[e+1],c=t[e+2];if(typeof o!="function"){if(M0(o||a)===null)continue;break}var f=Et(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:c,method:a.method,action:o},Object.freeze(a),Mo(f,a,o,c))}}))}function Ur(t){function e(E){return ld(E,t)}kc!==null&&ld(kc,t),Lc!==null&&ld(Lc,t),Vc!==null&&ld(Vc,t),jy.forEach(e),Ny.forEach(e);for(var a=0;a<Yc.length;a++){var o=Yc[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Yc.length&&(a=Yc[0],a.blockedOn===null);)O0(a),a.blockedOn===null&&Yc.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var c=a[o],f=a[o+1],g=c[Na]||null;if(typeof f=="function")g||Eb(a);else if(g){var v=null;if(f&&f.hasAttribute("formAction")){if(c=f,g=f[Na]||null)v=g.formAction;else if(M0(c)!==null)continue}else v=g.action;typeof v=="function"?a[o+1]=v:(a.splice(o,3),o-=3),Eb(a)}}}function Ab(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function e(){c!==null&&(c(),c=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),c!==null&&(c(),c=null)}}}function _0(t){this._internalRoot=t}function ci(t){this._internalRoot=t}function U0(t){t[Vo]&&(t._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 En=qx(),id=Hd(),b2=j1(),se=Object.assign,Rb=Symbol.for("react.element"),kl=Symbol.for("react.transitional.element"),Uu=Symbol.for("react.portal"),uc=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),od=Symbol.for("react.profiler"),Cp=Symbol.for("react.consumer"),fi=Symbol.for("react.context"),rc=Symbol.for("react.forward_ref"),jr=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),ud=Symbol.for("react.memo"),pa=Symbol.for("react.lazy"),di=Symbol.for("react.activity"),S2=Symbol.for("react.memo_cache_sentinel"),Db=Symbol.iterator,sc=Symbol.for("react.client.reference"),zn=Array.isArray,at=id.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,je=b2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,x2=Object.freeze({pending:!1,data:null,method:null,action:null}),j0=[],N0=[],Lo=-1,ju=Tt(null),cc=Tt(null),gl=Tt(null),Nu=Tt(null),fc=0,Cb,Nr,dc,H0,rd,zp,Mp;Lt.__reactDisabledLog=!0;var hc,B0,Op=!1,k0=new(typeof WeakMap=="function"?WeakMap:Map),Ka=null,Pi=!1,yl=Object.prototype.hasOwnProperty,L0=En.unstable_scheduleCallback,_p=En.unstable_cancelCallback,Up=En.unstable_shouldYield,jp=En.unstable_requestPaint,Jn=En.unstable_now,sd=En.unstable_getCurrentPriorityLevel,V0=En.unstable_ImmediatePriority,Np=En.unstable_UserBlockingPriority,Hr=En.unstable_NormalPriority,zb=En.unstable_LowPriority,Hp=En.unstable_IdlePriority,Y0=En.log,Mb=En.unstable_setDisableYieldValue,Br=null,Nn=null,Ii=!1,to=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ia=Math.clz32?Math.clz32:Io,q0=Math.log,Bp=Math.LN2,pc=256,cd=262144,mc=4194304,Hn=2,oa=8,ma=32,Hu=268435456,Ll=Math.random().toString(36).slice(2),an="__reactFiber$"+Ll,Na="__reactProps$"+Ll,Vo="__reactContainer$"+Ll,kr="__reactEvents$"+Ll,T2="__reactListeners$"+Ll,Ob="__reactHandles$"+Ll,fd="__reactResources$"+Ll,gc="__reactMarker$"+Ll,_b=new Set,eo={},yc={},Ub={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},vc=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]*$"),G0={},kp={},Lp=/[\n"\\]/g,X0=!1,jb=!1,dd=!1,n=!1,l=!1,i=!1,s=["value","defaultValue"],p=!1,m=/["'&<>\n\t]|^\s|\s$/,T="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(" "),O="applet caption html table td th marquee object template foreignObject desc title".split(" "),H=O.concat(["button"]),W="dd dt li option optgroup p rp rt".split(" "),ot={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ht={},P={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"]},lt=/([A-Z])/g,Ot=/^ms-/,Zt=/^(?:webkit|moz|o)[A-Z]/,Xe=/^-ms-/,Q=/-(.)/g,Y=/;\s*$/,J={},ct={},qt=!1,Ae=!1,Bt=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(" ")),ae="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",Oe=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"]]),hi={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"},Nb={"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},Vp={},n_=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]*$"),a_=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]*$"),RA=!1,vl={},DA=/^on./,l_=/^on[^A-Z]/,i_=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]*$"),o_=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]*$"),u_=/^[\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,Q0=null,Yp=null,qp=null,w2=!1,Bu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),E2=!1;if(Bu)try{var Z0={};Object.defineProperty(Z0,"passive",{get:function(){E2=!0}}),window.addEventListener("test",Z0,Z0),window.removeEventListener("test",Z0,Z0)}catch{E2=!1}var bc=null,A2=null,Hb=null,hd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bb=Yn(hd),K0=se({},hd,{view:0,detail:0}),r_=Yn(K0),R2,D2,J0,kb=se({},K0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==J0&&(J0&&t.type==="mousemove"?(R2=t.screenX-J0.screenX,D2=t.screenY-J0.screenY):D2=R2=0,J0=t),R2)},movementY:function(t){return"movementY"in t?t.movementY:D2}}),CA=Yn(kb),s_=se({},kb,{dataTransfer:0}),c_=Yn(s_),f_=se({},K0,{relatedTarget:0}),C2=Yn(f_),d_=se({},hd,{animationName:0,elapsedTime:0,pseudoElement:0}),h_=Yn(d_),p_=se({},hd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),m_=Yn(p_),g_=se({},hd,{data:0}),zA=Yn(g_),y_=zA,v_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},b_={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"},S_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},x_=se({},K0,{key:function(t){if(t.key){var e=v_[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ef(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?b_[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nf,charCode:function(t){return t.type==="keypress"?ef(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ef(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),T_=Yn(x_),w_=se({},kb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),MA=Yn(w_),E_=se({},K0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nf}),A_=Yn(E_),R_=se({},hd,{propertyName:0,elapsedTime:0,pseudoElement:0}),D_=Yn(R_),C_=se({},kb,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),z_=Yn(C_),M_=se({},hd,{newState:0,oldState:0}),O_=Yn(M_),__=[9,13,27,32],OA=229,z2=Bu&&"CompositionEvent"in window,$0=null;Bu&&"documentMode"in document&&($0=document.documentMode);var U_=Bu&&"TextEvent"in window&&!$0,_A=Bu&&(!z2||$0&&8<$0&&11>=$0),UA=32,jA=String.fromCharCode(UA),NA=!1,Gp=!1,j_={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},F0=null,W0=null,HA=!1;Bu&&(HA=ch("input")&&(!document.documentMode||9<document.documentMode));var bl=typeof Object.is=="function"?Object.is:fh,N_=Bu&&"documentMode"in document&&11>=document.documentMode,Xp=null,M2=null,P0=null,O2=!1,Qp={animationend:Iu("Animation","AnimationEnd"),animationiteration:Iu("Animation","AnimationIteration"),animationstart:Iu("Animation","AnimationStart"),transitionrun:Iu("Transition","TransitionRun"),transitionstart:Iu("Transition","TransitionStart"),transitioncancel:Iu("Transition","TransitionCancel"),transitionend:Iu("Transition","TransitionEnd")},_2={},BA={};Bu&&(BA=document.createElement("div").style,"AnimationEvent"in window||(delete Qp.animationend.animation,delete Qp.animationiteration.animation,delete Qp.animationstart.animation),"TransitionEvent"in window||delete Qp.transitionend.transition);var kA=tr("animationend"),LA=tr("animationiteration"),VA=tr("animationstart"),H_=tr("transitionrun"),B_=tr("transitionstart"),k_=tr("transitioncancel"),YA=tr("transitionend"),qA=new Map,U2="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(" ");U2.push("scrollEnd");var GA=0;if(typeof performance=="object"&&typeof performance.now=="function")var L_=performance,XA=function(){return L_.now()};else{var V_=Date;XA=function(){return V_.now()}}var j2=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Y_="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.",Lb=0,N2=1,H2=2,B2=3,Vb="– ",Yb="+ ",QA=" ",ln=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",no="Components ⚛",Te="Scheduler ⚛",Ee="Blocking",Sc=!1,Lr={color:"primary",properties:null,tooltipText:"",track:no},xc={start:-0,end:-0,detail:{devtools:Lr}},q_=["Changed Props",""],ZA="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",G_=["Changed Props",ZA],I0=1,Vr=2,ao=[],Zp=0,k2=0,Tc={};Object.freeze(Tc);var lo=null,Kp=null,Ft=0,X_=1,ce=2,Ja=8,Yo=16,Q_=32,KA=!1;try{var JA=Object.preventExtensions({})}catch{KA=!0}var L2=new WeakMap,Jp=[],$p=0,qb=null,ty=0,io=[],oo=0,pd=null,Yr=1,qr="",Ha=null,on=null,xe=!1,ku=!1,pi=null,wc=null,uo=!1,V2=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."),Y2=Tt(null),q2=Tt(null),$A={},Gb=null,Fp=null,Wp=!1,Z_=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,o){t.push(o)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},K_=En.unstable_scheduleCallback,J_=En.unstable_NormalPriority,$n={$$typeof:fi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Fn=En.unstable_now,Xb=console.createTask?console.createTask:function(){return null},ey=1,Qb=2,ga=-0,Ec=-0,Gr=-0,Xr=null,Sl=-1.1,md=-0,gn=-0,Qt=-1.1,Jt=-1.1,dn=null,An=!1,gd=-0,Lu=-1.1,ny=null,Ac=0,G2=null,X2=null,yd=-1.1,ay=null,Pp=-1.1,Zb=-1.1,Qr=-0,Zr=-1.1,ro=-1.1,Q2=0,ly=null,FA=null,WA=null,Rc=-1.1,vd=null,Dc=-1.1,Kb=-1.1,PA=-0,IA=-0,Jb=0,$_=null,t5=0,iy=-1.1,$b=!1,Fb=!1,oy=null,Z2=0,bd=0,Ip=null,e5=at.S;at.S=function(t,e){if(F5=Jn(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>Zr&&0>ro){Zr=Fn();var a=tc(),o=Fi();(a!==Dc||o!==vd)&&(Dc=-1.1),Rc=a,vd=o}wo(t,e)}e5!==null&&e5(t,e)};var Sd=Tt(null),qo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},uy=[],ry=[],sy=[],cy=[],fy=[],dy=[],xd=new Set;qo.recordUnsafeLifecycleWarnings=function(t,e){xd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&uy.push(t),t.mode&Ja&&typeof e.UNSAFE_componentWillMount=="function"&&ry.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&sy.push(t),t.mode&Ja&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&cy.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&fy.push(t),t.mode&Ja&&typeof e.UNSAFE_componentWillUpdate=="function"&&dy.push(t))},qo.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<uy.length&&(uy.forEach(function(v){t.add(K(v)||"Component"),xd.add(v.type)}),uy=[]);var e=new Set;0<ry.length&&(ry.forEach(function(v){e.add(K(v)||"Component"),xd.add(v.type)}),ry=[]);var a=new Set;0<sy.length&&(sy.forEach(function(v){a.add(K(v)||"Component"),xd.add(v.type)}),sy=[]);var o=new Set;0<cy.length&&(cy.forEach(function(v){o.add(K(v)||"Component"),xd.add(v.type)}),cy=[]);var c=new Set;0<fy.length&&(fy.forEach(function(v){c.add(K(v)||"Component"),xd.add(v.type)}),fy=[]);var f=new Set;if(0<dy.length&&(dy.forEach(function(v){f.add(K(v)||"Component"),xd.add(v.type)}),dy=[]),0<e.size){var g=R(e);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.
|
|
198
198
|
|
|
199
199
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
200
|
|
|
@@ -223,31 +223,31 @@ Please update the following components: %s`,g)),0<c.size&&(g=R(c),console.warn(`
|
|
|
223
223
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
224
224
|
* 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.
|
|
225
225
|
|
|
226
|
-
Please update the following components: %s`,g))};var
|
|
226
|
+
Please update the following components: %s`,g))};var Wb=new Map,n5=new Set;qo.recordLegacyContextWarning=function(t,e){for(var a=null,o=t;o!==null;)o.mode&Ja&&(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."):!n5.has(t.type)&&(o=Wb.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(o===void 0&&(o=[],Wb.set(a,o)),o.push(t))},qo.flushLegacyContextWarning=function(){Wb.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(c){a.add(K(c)||"Component"),n5.add(c.type)});var o=R(a);Ct(e,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
227
227
|
|
|
228
228
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
229
229
|
|
|
230
230
|
Please update the following components: %s
|
|
231
231
|
|
|
232
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},
|
|
232
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},qo.discardPendingWarnings=function(){uy=[],ry=[],sy=[],cy=[],fy=[],dy=[],Wb=new Map};var a5={react_stack_bottom_frame:function(t,e,a){var o=Pi;Pi=!0;try{return t(e,a)}finally{Pi=o}}},K2=a5.react_stack_bottom_frame.bind(a5),l5={react_stack_bottom_frame:function(t){var e=Pi;Pi=!0;try{return t.render()}finally{Pi=e}}},i5=l5.react_stack_bottom_frame.bind(l5),o5={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){oe(t,t.return,a)}}},J2=o5.react_stack_bottom_frame.bind(o5),u5={react_stack_bottom_frame:function(t,e,a,o,c){try{e.componentDidUpdate(a,o,c)}catch(f){oe(t,t.return,f)}}},r5=u5.react_stack_bottom_frame.bind(u5),s5={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},F_=s5.react_stack_bottom_frame.bind(s5),c5={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(o){oe(t,e,o)}}},f5=c5.react_stack_bottom_frame.bind(c5),d5={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},W_=d5.react_stack_bottom_frame.bind(d5),h5={react_stack_bottom_frame:function(t,e,a){try{a()}catch(o){oe(t,e,o)}}},P_=h5.react_stack_bottom_frame.bind(h5),p5={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},I_=p5.react_stack_bottom_frame.bind(p5),tm=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`."),$2=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."),Pb=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."),Ib={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.')}},Td=null,hy=!1,em=null,py=0,fe=null,F2,m5=F2=!1,g5={},y5={},v5={};z=function(t,e,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=K(t),c=o||"null";if(!g5[c]){g5[c]=!0,a=a._owner,t=t._debugOwner;var f="";t&&typeof t.tag=="number"&&(c=K(t))&&(f=`
|
|
233
233
|
|
|
234
234
|
Check the render method of \``+c+"`."),f||o&&(f=`
|
|
235
235
|
|
|
236
|
-
Check the top-level render call using <`+o+">.");var g="";a!=null&&t!==a&&(o=null,typeof a.tag=="number"?o=K(a):typeof a.name=="string"&&(o=a.name),o&&(g=" It was passed a child from "+o+".")),Dt(e,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.',f,g)})}}};var Td=Gn(!0),g5=Gn(!1),y5=0,v5=1,b5=2,$2=3,Rc=!1,S5=!1,F2=null,W2=!1,tm=qt(null),Ib=qt(0),mi=qt(null),so=null,em=1,dy=2,Bn=qt(0),t1=0,co=1,xl=2,gi=4,Tl=8,nm,x5=new Set,T5=new Set,P2=new Set,w5=new Set,Zr=0,It=null,$e=null,Wn=null,e1=!1,am=!1,wd=!1,n1=0,hy=0,Kr=null,$_=0,F_=25,I=null,fo=null,Jr=-1,py=!1,my={readContext:_e,use:Ro,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};my.useEffectEvent=pn;var I2=null,E5=null,tx=null,A5=null,ku=null,qo=null,a1=null;I2={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",Pt(),Ao(e),Mh(t,e)},useContext:function(t){return I="useContext",Pt(),_e(t)},useEffect:function(t,e){return I="useEffect",Pt(),Ao(e),gr(t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",Pt(),Ao(a),Li(t,e,a)},useInsertionEffect:function(t,e){I="useInsertionEffect",Pt(),Ao(e),Su(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",Pt(),Ao(e),Ra(t,e)},useMemo:function(t,e){I="useMemo",Pt(),Ao(e);var a=nt.H;nt.H=ku;try{return Da(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",Pt();var o=nt.H;nt.H=ku;try{return Cs(t,e,a)}finally{nt.H=o}},useRef:function(t){return I="useRef",Pt(),zh(t)},useState:function(t){I="useState",Pt();var e=nt.H;nt.H=ku;try{return gu(t)}finally{nt.H=e}},useDebugValue:function(){I="useDebugValue",Pt()},useDeferredValue:function(t,e){return I="useDeferredValue",Pt(),Us(t,e)},useTransition:function(){return I="useTransition",Pt(),xu()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",Pt(),zs(t,e,a)},useId:function(){return I="useId",Pt(),Rf()},useFormState:function(t,e){return I="useFormState",Pt(),mf(),sl(t,e)},useActionState:function(t,e){return I="useActionState",Pt(),sl(t,e)},useOptimistic:function(t){return I="useOptimistic",Pt(),mr(t)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",Pt(),Oh()},useEffectEvent:function(t){return I="useEffectEvent",Pt(),Ef(t)}},E5={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",ht(),Mh(t,e)},useContext:function(t){return I="useContext",ht(),_e(t)},useEffect:function(t,e){return I="useEffect",ht(),gr(t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",ht(),Li(t,e,a)},useInsertionEffect:function(t,e){I="useInsertionEffect",ht(),Su(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",ht(),Ra(t,e)},useMemo:function(t,e){I="useMemo",ht();var a=nt.H;nt.H=ku;try{return Da(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",ht();var o=nt.H;nt.H=ku;try{return Cs(t,e,a)}finally{nt.H=o}},useRef:function(t){return I="useRef",ht(),zh(t)},useState:function(t){I="useState",ht();var e=nt.H;nt.H=ku;try{return gu(t)}finally{nt.H=e}},useDebugValue:function(){I="useDebugValue",ht()},useDeferredValue:function(t,e){return I="useDeferredValue",ht(),Us(t,e)},useTransition:function(){return I="useTransition",ht(),xu()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",ht(),zs(t,e,a)},useId:function(){return I="useId",ht(),Rf()},useActionState:function(t,e){return I="useActionState",ht(),sl(t,e)},useFormState:function(t,e){return I="useFormState",ht(),mf(),sl(t,e)},useOptimistic:function(t){return I="useOptimistic",ht(),mr(t)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",ht(),Oh()},useEffectEvent:function(t){return I="useEffectEvent",ht(),Ef(t)}},tx={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",ht(),ni(t,e)},useContext:function(t){return I="useContext",ht(),_e(t)},useEffect:function(t,e){I="useEffect",ht(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",ht(),_s(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",ht(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",ht(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",ht();var a=nt.H;nt.H=qo;try{return en(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",ht();var o=nt.H;nt.H=qo;try{return dr(t,e,a)}finally{nt.H=o}},useRef:function(){return I="useRef",ht(),He().memoizedState},useState:function(){I="useState",ht();var t=nt.H;nt.H=qo;try{return dr(rl)}finally{nt.H=t}},useDebugValue:function(){I="useDebugValue",ht()},useDeferredValue:function(t,e){return I="useDeferredValue",ht(),ki(t,e)},useTransition:function(){return I="useTransition",ht(),_v()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",ht(),pr(t,e,a)},useId:function(){return I="useId",ht(),He().memoizedState},useFormState:function(t){return I="useFormState",ht(),mf(),vu(t)},useActionState:function(t){return I="useActionState",ht(),vu(t)},useOptimistic:function(t,e){return I="useOptimistic",ht(),xf(t,e)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",ht(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",ht(),Os(t)}},A5={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",ht(),ni(t,e)},useContext:function(t){return I="useContext",ht(),_e(t)},useEffect:function(t,e){I="useEffect",ht(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",ht(),_s(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",ht(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",ht(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",ht();var a=nt.H;nt.H=a1;try{return en(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",ht();var o=nt.H;nt.H=a1;try{return hr(t,e,a)}finally{nt.H=o}},useRef:function(){return I="useRef",ht(),He().memoizedState},useState:function(){I="useState",ht();var t=nt.H;nt.H=a1;try{return hr(rl)}finally{nt.H=t}},useDebugValue:function(){I="useDebugValue",ht()},useDeferredValue:function(t,e){return I="useDeferredValue",ht(),le(t,e)},useTransition:function(){return I="useTransition",ht(),sn()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",ht(),pr(t,e,a)},useId:function(){return I="useId",ht(),He().memoizedState},useFormState:function(t){return I="useFormState",ht(),mf(),bu(t)},useActionState:function(t){return I="useActionState",ht(),bu(t)},useOptimistic:function(t,e){return I="useOptimistic",ht(),Tf(t,e)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",ht(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",ht(),Os(t)}},ku={readContext:function(t){return w(),_e(t)},use:function(t){return x(),Ro(t)},useCallback:function(t,e){return I="useCallback",x(),Pt(),Mh(t,e)},useContext:function(t){return I="useContext",x(),Pt(),_e(t)},useEffect:function(t,e){return I="useEffect",x(),Pt(),gr(t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",x(),Pt(),Li(t,e,a)},useInsertionEffect:function(t,e){I="useInsertionEffect",x(),Pt(),Su(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",x(),Pt(),Ra(t,e)},useMemo:function(t,e){I="useMemo",x(),Pt();var a=nt.H;nt.H=ku;try{return Da(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",x(),Pt();var o=nt.H;nt.H=ku;try{return Cs(t,e,a)}finally{nt.H=o}},useRef:function(t){return I="useRef",x(),Pt(),zh(t)},useState:function(t){I="useState",x(),Pt();var e=nt.H;nt.H=ku;try{return gu(t)}finally{nt.H=e}},useDebugValue:function(){I="useDebugValue",x(),Pt()},useDeferredValue:function(t,e){return I="useDeferredValue",x(),Pt(),Us(t,e)},useTransition:function(){return I="useTransition",x(),Pt(),xu()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",x(),Pt(),zs(t,e,a)},useId:function(){return I="useId",x(),Pt(),Rf()},useFormState:function(t,e){return I="useFormState",x(),Pt(),sl(t,e)},useActionState:function(t,e){return I="useActionState",x(),Pt(),sl(t,e)},useOptimistic:function(t){return I="useOptimistic",x(),Pt(),mr(t)},useMemoCache:function(t){return x(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return I="useCacheRefresh",Pt(),Oh()},useEffectEvent:function(t){return I="useEffectEvent",x(),Pt(),Ef(t)}},qo={readContext:function(t){return w(),_e(t)},use:function(t){return x(),Ro(t)},useCallback:function(t,e){return I="useCallback",x(),ht(),ni(t,e)},useContext:function(t){return I="useContext",x(),ht(),_e(t)},useEffect:function(t,e){I="useEffect",x(),ht(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",x(),ht(),_s(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",x(),ht(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",x(),ht(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",x(),ht();var a=nt.H;nt.H=qo;try{return en(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",x(),ht();var o=nt.H;nt.H=qo;try{return dr(t,e,a)}finally{nt.H=o}},useRef:function(){return I="useRef",x(),ht(),He().memoizedState},useState:function(){I="useState",x(),ht();var t=nt.H;nt.H=qo;try{return dr(rl)}finally{nt.H=t}},useDebugValue:function(){I="useDebugValue",x(),ht()},useDeferredValue:function(t,e){return I="useDeferredValue",x(),ht(),ki(t,e)},useTransition:function(){return I="useTransition",x(),ht(),_v()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",x(),ht(),pr(t,e,a)},useId:function(){return I="useId",x(),ht(),He().memoizedState},useFormState:function(t){return I="useFormState",x(),ht(),vu(t)},useActionState:function(t){return I="useActionState",x(),ht(),vu(t)},useOptimistic:function(t,e){return I="useOptimistic",x(),ht(),xf(t,e)},useMemoCache:function(t){return x(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return I="useCacheRefresh",ht(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",x(),ht(),Os(t)}},a1={readContext:function(t){return w(),_e(t)},use:function(t){return x(),Ro(t)},useCallback:function(t,e){return I="useCallback",x(),ht(),ni(t,e)},useContext:function(t){return I="useContext",x(),ht(),_e(t)},useEffect:function(t,e){I="useEffect",x(),ht(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",x(),ht(),_s(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",x(),ht(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",x(),ht(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",x(),ht();var a=nt.H;nt.H=qo;try{return en(t,e)}finally{nt.H=a}},useReducer:function(t,e,a){I="useReducer",x(),ht();var o=nt.H;nt.H=qo;try{return hr(t,e,a)}finally{nt.H=o}},useRef:function(){return I="useRef",x(),ht(),He().memoizedState},useState:function(){I="useState",x(),ht();var t=nt.H;nt.H=qo;try{return hr(rl)}finally{nt.H=t}},useDebugValue:function(){I="useDebugValue",x(),ht()},useDeferredValue:function(t,e){return I="useDeferredValue",x(),ht(),le(t,e)},useTransition:function(){return I="useTransition",x(),ht(),sn()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",x(),ht(),pr(t,e,a)},useId:function(){return I="useId",x(),ht(),He().memoizedState},useFormState:function(t){return I="useFormState",x(),ht(),bu(t)},useActionState:function(t){return I="useActionState",x(),ht(),bu(t)},useOptimistic:function(t,e){return I="useOptimistic",x(),ht(),Tf(t,e)},useMemoCache:function(t){return x(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return I="useCacheRefresh",ht(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",x(),ht(),Os(t)}};var R5={},D5=new Set,C5=new Set,z5=new Set,M5=new Set,O5=new Set,_5=new Set,U5=new Set,j5=new Set,N5=new Set,H5=new Set;Object.freeze(R5);var ex={enqueueSetState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.payload=e,a!=null&&(Sr(a),c.callback=a),e=ji(t,c,o),e!==null&&(Oi(o,"this.setState()",t),Wt(e,t,o),jl(e,t,o))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.tag=v5,c.payload=e,a!=null&&(Sr(a),c.callback=a),e=ji(t,c,o),e!==null&&(Oi(o,"this.replaceState()",t),Wt(e,t,o),jl(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ha(t),o=_n(a);o.tag=b5,e!=null&&(Sr(e),o.callback=e),e=ji(t,o,a),e!==null&&(Oi(a,"this.forceUpdate()",t),Wt(e,t,a),jl(e,t,a))}},lm=null,nx=null,ax=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."),Pn=!1,B5={},L5={},k5={},V5={},im=!1,Y5={},l1={},lx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},q5=!1,G5=null;G5=new Set;var $r=!1,In=!1,ix=!1,X5=typeof WeakSet=="function"?WeakSet:Set,ya=null,om=null,um=null,ta=null,Vl=!1,Go=null,ua=!1,gy=8192,W_={getCacheForType:function(t){var e=_e($n),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return _e($n).controller.signal},getOwner:function(){return Ka}};if(typeof Symbol=="function"&&Symbol.for){var yy=Symbol.for;yy("selector.component"),yy("selector.has_pseudo_class"),yy("selector.role"),yy("selector.test_id"),yy("selector.text")}var P_=[],I_=typeof WeakMap=="function"?WeakMap:Map,va=0,ra=2,yi=4,Fr=0,vy=1,Ed=2,i1=3,Dc=4,o1=6,Q5=5,Re=va,Fe=null,me=null,de=0,Yl=0,u1=1,Ad=2,by=3,Z5=4,ox=5,Sy=6,r1=7,ux=8,Rd=9,Qe=Yl,vi=null,Cc=!1,rm=!1,rx=!1,Vu=0,yn=Fr,zc=0,Mc=0,sx=0,ql=0,Dd=0,xy=null,wl=null,s1=!1,c1=0,K5=0,J5=300,f1=1/0,$5=500,Ty=null,Mn=null,Oc=null,d1=0,cx=1,fx=2,F5=3,_c=0,W5=1,P5=2,I5=3,tR=4,h1=5,ea=0,Uc=null,sm=null,Xo=0,dx=0,hx=-0,px=null,eR=null,nR=null,Qo=d1,aR=null,t4=50,wy=0,mx=null,gx=!1,p1=!1,e4=50,Cd=0,Ey=null,cm=!1,m1=null,lR=!1,iR=new Set,n4={},g1=null,fm=null,yx=!1,vx=!1,y1=!1,bx=!1,jc=0,Sx={};(function(){for(var t=0;t<O2.length;t++){var e=O2[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),Zl(a,"on"+e)}Zl(NA,"onAnimationEnd"),Zl(HA,"onAnimationIteration"),Zl(BA,"onAnimationStart"),Zl("dblclick","onDoubleClick"),Zl("focusin","onFocus"),Zl("focusout","onBlur"),Zl(O_,"onTransitionRun"),Zl(__,"onTransitionStart"),Zl(U_,"onTransitionCancel"),Zl(LA,"onTransitionEnd")})(),ne("onMouseEnter",["mouseout","mouseover"]),ne("onMouseLeave",["mouseout","mouseover"]),ne("onPointerEnter",["pointerout","pointerover"]),ne("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ay="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(" "),xx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ay)),v1="_reactListening"+Math.random().toString(36).slice(2),oR=!1,uR=!1,b1=!1,rR=!1,S1=!1,x1=!1,sR=!1,T1={},a4=/\r\n?/g,l4=/\u0000|\uFFFD/g,zd="http://www.w3.org/1999/xlink",Tx="http://www.w3.org/XML/1998/namespace",i4="javascript:throw new Error('React form unexpectedly submitted.')",o4="suppressHydrationWarning",Md="&",w1="/&",Ry="$",Dy="/$",Nc="$?",Od="$~",dm="$!",u4="html",r4="body",s4="head",wx="F!",cR="F",fR="loading",c4="style",Wr=0,hm=1,E1=2,Ex=null,Ax=null,dR={dialog:!0,webview:!0},Rx=null,Cy=void 0,hR=typeof setTimeout=="function"?setTimeout:void 0,f4=typeof clearTimeout=="function"?clearTimeout:void 0,_d=-1,pR=typeof Promise=="function"?Promise:void 0,d4=typeof queueMicrotask=="function"?queueMicrotask:typeof pR<"u"?function(t){return pR.resolve(null).then(t).catch(tb)}:hR,Dx=null,Ud=0,zy=1,mR=2,gR=3,ho=4,po=new Map,yR=new Set,Pr=je.d;je.d={f:function(){var t=Pr.f(),e=pl();return t||e},r:function(t){var e=xt(t);e!==null&&e.tag===5&&e.type==="form"?js(e):Pr.r(t)},D:function(t){Pr.D(t),g0("dns-prefetch",t,null)},C:function(t,e){Pr.C(t,e),g0("preconnect",t,e)},L:function(t,e,a){Pr.L(t,e,a);var o=pm;if(o&&t&&e){var c='link[rel="preload"][as="'+Ve(e)+'"]';e==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+Ve(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+Ve(a.imageSizes)+'"]')):c+='[href="'+Ve(t)+'"]';var f=c;switch(e){case"style":f=Mr(t);break;case"script":f=Or(t)}po.has(f)||(t=se({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),po.set(f,t),o.querySelector(c)!==null||e==="style"&&o.querySelector(Pf(f))||e==="script"&&o.querySelector(If(f))||(e=o.createElement("link"),nn(e,"link",t),jt(e),o.head.appendChild(e)))}},m:function(t,e){Pr.m(t,e);var a=pm;if(a&&t){var o=e&&typeof e.as=="string"?e.as:"script",c='link[rel="modulepreload"][as="'+Ve(o)+'"][href="'+Ve(t)+'"]',f=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Or(t)}if(!po.has(f)&&(t=se({rel:"modulepreload",href:t},e),po.set(f,t),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(If(f)))return}o=a.createElement("link"),nn(o,"link",t),jt(o),a.head.appendChild(o)}}},X:function(t,e){Pr.X(t,e);var a=pm;if(a&&t){var o=Kt(a).hoistableScripts,c=Or(t),f=o.get(c);f||(f=a.querySelector(If(c)),f||(t=se({src:t,async:!0},e),(e=po.get(c))&&b0(t,e),f=a.createElement("script"),jt(f),nn(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}},S:function(t,e,a){Pr.S(t,e,a);var o=pm;if(o&&t){var c=Kt(o).hoistableStyles,f=Mr(t);e=e||"default";var g=c.get(f);if(!g){var v={loading:Ud,preload:null};if(g=o.querySelector(Pf(f)))v.loading=zy|ho;else{t=se({rel:"stylesheet",href:t,"data-precedence":e},a),(a=po.get(f))&&v0(t,a);var E=g=o.createElement("link");jt(E),nn(E,"link",t),E._p=new Promise(function(D,k){E.onload=D,E.onerror=k}),E.addEventListener("load",function(){v.loading|=zy}),E.addEventListener("error",function(){v.loading|=mR}),v.loading|=ho,ec(g,e,o)}g={type:"stylesheet",instance:g,count:1,state:v},c.set(f,g)}}},M:function(t,e){Pr.M(t,e);var a=pm;if(a&&t){var o=Kt(a).hoistableScripts,c=Or(t),f=o.get(c);f||(f=a.querySelector(If(c)),f||(t=se({src:t,async:!0,type:"module"},e),(e=po.get(c))&&b0(t,e),f=a.createElement("script"),jt(f),nn(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}}};var pm=typeof document>"u"?null:document,A1=null,h4=6e4,p4=800,m4=500,Cx=0,zx=null,R1=null,jd=b2,My={$$typeof:fi,Provider:null,Consumer:null,_currentValue:jd,_currentValue2:jd,_threadCount:0},vR="%c%s%c",bR="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",SR="",D1=" ",g4=Function.prototype.bind,xR=!1,TR=null,wR=null,ER=null,AR=null,RR=null,DR=null,CR=null,zR=null,MR=null,OR=null;TR=function(t,e,a,o){e=u(t,e),e!==null&&(a=r(e.memoizedState,a,0,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},wR=function(t,e,a){e=u(t,e),e!==null&&(a=y(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},ER=function(t,e,a,o){e=u(t,e),e!==null&&(a=d(e.memoizedState,a,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},AR=function(t,e,a){t.pendingProps=r(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},RR=function(t,e){t.pendingProps=y(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},DR=function(t,e,a){t.pendingProps=d(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},CR=function(t){var e=fa(t,2);e!==null&&Wt(e,t,2)},zR=function(t){var e=os(),a=fa(t,e);a!==null&&Wt(a,t,e)},MR=function(t){S=t},OR=function(t){b=t};var C1=!0,z1=null,Mx=!1,Hc=null,Bc=null,Lc=null,Oy=new Map,_y=new Map,kc=[],y4="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(" "),M1=null;if(ci.prototype.render=z0.prototype.render=function(t){var e=this._internalRoot;if(e===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()."):st(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=t;var o=e.current,c=ha(o);xp(o,c,a,e,null,null)},ci.prototype.unmount=z0.prototype.unmount=function(){var t=arguments;if(typeof t[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()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(Re&(ra|yi))!==va&&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."),xp(t.current,2,null,t,null,null),pl(),e[ko]=null}},ci.prototype.unstable_scheduleHydration=function(t){if(t){var e=Io();t={blockedOn:null,target:t,priority:e};for(var a=0;a<kc.length&&e!==0&&e<kc[a].priority;a++);kc.splice(a,0,t),a===0&&C0(t)}},(function(){var t=ld.version;if(t!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
236
|
+
Check the top-level render call using <`+o+">.");var g="";a!=null&&t!==a&&(o=null,typeof a.tag=="number"?o=K(a):typeof a.name=="string"&&(o=a.name),o&&(g=" It was passed a child from "+o+".")),Ct(e,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.',f,g)})}}};var wd=Gn(!0),b5=Gn(!1),S5=0,x5=1,T5=2,W2=3,Cc=!1,w5=!1,P2=null,I2=!1,nm=Tt(null),t1=Tt(0),mi=Tt(null),so=null,am=1,my=2,Bn=Tt(0),e1=0,co=1,xl=2,gi=4,Tl=8,lm,E5=new Set,A5=new Set,tx=new Set,R5=new Set,Kr=0,It=null,$e=null,Wn=null,n1=!1,im=!1,Ed=!1,a1=0,gy=0,Jr=null,t4=0,e4=25,tt=null,fo=null,$r=-1,yy=!1,vy={readContext:_e,use:Do,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};vy.useEffectEvent=pn;var ex=null,D5=null,nx=null,C5=null,Vu=null,Go=null,l1=null;ex={readContext:function(t){return _e(t)},use:Do,useCallback:function(t,e){return tt="useCallback",Pt(),Ro(e),_h(t,e)},useContext:function(t){return tt="useContext",Pt(),_e(t)},useEffect:function(t,e){return tt="useEffect",Pt(),Ro(e),yr(t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",Pt(),Ro(a),ki(t,e,a)},useInsertionEffect:function(t,e){tt="useInsertionEffect",Pt(),Ro(e),xu(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",Pt(),Ro(e),Ra(t,e)},useMemo:function(t,e){tt="useMemo",Pt(),Ro(e);var a=at.H;at.H=Vu;try{return Da(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",Pt();var o=at.H;at.H=Vu;try{return Ms(t,e,a)}finally{at.H=o}},useRef:function(t){return tt="useRef",Pt(),Oh(t)},useState:function(t){tt="useState",Pt();var e=at.H;at.H=Vu;try{return yu(t)}finally{at.H=e}},useDebugValue:function(){tt="useDebugValue",Pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",Pt(),Ns(t,e)},useTransition:function(){return tt="useTransition",Pt(),Tu()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",Pt(),Os(t,e,a)},useId:function(){return tt="useId",Pt(),Df()},useFormState:function(t,e){return tt="useFormState",Pt(),gf(),sl(t,e)},useActionState:function(t,e){return tt="useActionState",Pt(),sl(t,e)},useOptimistic:function(t){return tt="useOptimistic",Pt(),gr(t)},useHostTransitionStatus:Oo,useMemoCache:ul,useCacheRefresh:function(){return tt="useCacheRefresh",Pt(),Uh()},useEffectEvent:function(t){return tt="useEffectEvent",Pt(),Af(t)}},D5={readContext:function(t){return _e(t)},use:Do,useCallback:function(t,e){return tt="useCallback",pt(),_h(t,e)},useContext:function(t){return tt="useContext",pt(),_e(t)},useEffect:function(t,e){return tt="useEffect",pt(),yr(t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",pt(),ki(t,e,a)},useInsertionEffect:function(t,e){tt="useInsertionEffect",pt(),xu(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",pt(),Ra(t,e)},useMemo:function(t,e){tt="useMemo",pt();var a=at.H;at.H=Vu;try{return Da(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",pt();var o=at.H;at.H=Vu;try{return Ms(t,e,a)}finally{at.H=o}},useRef:function(t){return tt="useRef",pt(),Oh(t)},useState:function(t){tt="useState",pt();var e=at.H;at.H=Vu;try{return yu(t)}finally{at.H=e}},useDebugValue:function(){tt="useDebugValue",pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",pt(),Ns(t,e)},useTransition:function(){return tt="useTransition",pt(),Tu()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",pt(),Os(t,e,a)},useId:function(){return tt="useId",pt(),Df()},useActionState:function(t,e){return tt="useActionState",pt(),sl(t,e)},useFormState:function(t,e){return tt="useFormState",pt(),gf(),sl(t,e)},useOptimistic:function(t){return tt="useOptimistic",pt(),gr(t)},useHostTransitionStatus:Oo,useMemoCache:ul,useCacheRefresh:function(){return tt="useCacheRefresh",pt(),Uh()},useEffectEvent:function(t){return tt="useEffectEvent",pt(),Af(t)}},nx={readContext:function(t){return _e(t)},use:Do,useCallback:function(t,e){return tt="useCallback",pt(),ni(t,e)},useContext:function(t){return tt="useContext",pt(),_e(t)},useEffect:function(t,e){tt="useEffect",pt(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",pt(),js(t,e,a)},useInsertionEffect:function(t,e){return tt="useInsertionEffect",pt(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",pt(),Un(4,gi,t,e)},useMemo:function(t,e){tt="useMemo",pt();var a=at.H;at.H=Go;try{return en(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",pt();var o=at.H;at.H=Go;try{return hr(t,e,a)}finally{at.H=o}},useRef:function(){return tt="useRef",pt(),He().memoizedState},useState:function(){tt="useState",pt();var t=at.H;at.H=Go;try{return hr(rl)}finally{at.H=t}},useDebugValue:function(){tt="useDebugValue",pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",pt(),Li(t,e)},useTransition:function(){return tt="useTransition",pt(),Uv()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",pt(),mr(t,e,a)},useId:function(){return tt="useId",pt(),He().memoizedState},useFormState:function(t){return tt="useFormState",pt(),gf(),bu(t)},useActionState:function(t){return tt="useActionState",pt(),bu(t)},useOptimistic:function(t,e){return tt="useOptimistic",pt(),Tf(t,e)},useHostTransitionStatus:Oo,useMemoCache:ul,useCacheRefresh:function(){return tt="useCacheRefresh",pt(),He().memoizedState},useEffectEvent:function(t){return tt="useEffectEvent",pt(),Us(t)}},C5={readContext:function(t){return _e(t)},use:Do,useCallback:function(t,e){return tt="useCallback",pt(),ni(t,e)},useContext:function(t){return tt="useContext",pt(),_e(t)},useEffect:function(t,e){tt="useEffect",pt(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",pt(),js(t,e,a)},useInsertionEffect:function(t,e){return tt="useInsertionEffect",pt(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",pt(),Un(4,gi,t,e)},useMemo:function(t,e){tt="useMemo",pt();var a=at.H;at.H=l1;try{return en(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",pt();var o=at.H;at.H=l1;try{return pr(t,e,a)}finally{at.H=o}},useRef:function(){return tt="useRef",pt(),He().memoizedState},useState:function(){tt="useState",pt();var t=at.H;at.H=l1;try{return pr(rl)}finally{at.H=t}},useDebugValue:function(){tt="useDebugValue",pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",pt(),le(t,e)},useTransition:function(){return tt="useTransition",pt(),sn()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",pt(),mr(t,e,a)},useId:function(){return tt="useId",pt(),He().memoizedState},useFormState:function(t){return tt="useFormState",pt(),gf(),Su(t)},useActionState:function(t){return tt="useActionState",pt(),Su(t)},useOptimistic:function(t,e){return tt="useOptimistic",pt(),wf(t,e)},useHostTransitionStatus:Oo,useMemoCache:ul,useCacheRefresh:function(){return tt="useCacheRefresh",pt(),He().memoizedState},useEffectEvent:function(t){return tt="useEffectEvent",pt(),Us(t)}},Vu={readContext:function(t){return w(),_e(t)},use:function(t){return x(),Do(t)},useCallback:function(t,e){return tt="useCallback",x(),Pt(),_h(t,e)},useContext:function(t){return tt="useContext",x(),Pt(),_e(t)},useEffect:function(t,e){return tt="useEffect",x(),Pt(),yr(t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",x(),Pt(),ki(t,e,a)},useInsertionEffect:function(t,e){tt="useInsertionEffect",x(),Pt(),xu(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",x(),Pt(),Ra(t,e)},useMemo:function(t,e){tt="useMemo",x(),Pt();var a=at.H;at.H=Vu;try{return Da(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",x(),Pt();var o=at.H;at.H=Vu;try{return Ms(t,e,a)}finally{at.H=o}},useRef:function(t){return tt="useRef",x(),Pt(),Oh(t)},useState:function(t){tt="useState",x(),Pt();var e=at.H;at.H=Vu;try{return yu(t)}finally{at.H=e}},useDebugValue:function(){tt="useDebugValue",x(),Pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",x(),Pt(),Ns(t,e)},useTransition:function(){return tt="useTransition",x(),Pt(),Tu()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",x(),Pt(),Os(t,e,a)},useId:function(){return tt="useId",x(),Pt(),Df()},useFormState:function(t,e){return tt="useFormState",x(),Pt(),sl(t,e)},useActionState:function(t,e){return tt="useActionState",x(),Pt(),sl(t,e)},useOptimistic:function(t){return tt="useOptimistic",x(),Pt(),gr(t)},useMemoCache:function(t){return x(),ul(t)},useHostTransitionStatus:Oo,useCacheRefresh:function(){return tt="useCacheRefresh",Pt(),Uh()},useEffectEvent:function(t){return tt="useEffectEvent",x(),Pt(),Af(t)}},Go={readContext:function(t){return w(),_e(t)},use:function(t){return x(),Do(t)},useCallback:function(t,e){return tt="useCallback",x(),pt(),ni(t,e)},useContext:function(t){return tt="useContext",x(),pt(),_e(t)},useEffect:function(t,e){tt="useEffect",x(),pt(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",x(),pt(),js(t,e,a)},useInsertionEffect:function(t,e){return tt="useInsertionEffect",x(),pt(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",x(),pt(),Un(4,gi,t,e)},useMemo:function(t,e){tt="useMemo",x(),pt();var a=at.H;at.H=Go;try{return en(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",x(),pt();var o=at.H;at.H=Go;try{return hr(t,e,a)}finally{at.H=o}},useRef:function(){return tt="useRef",x(),pt(),He().memoizedState},useState:function(){tt="useState",x(),pt();var t=at.H;at.H=Go;try{return hr(rl)}finally{at.H=t}},useDebugValue:function(){tt="useDebugValue",x(),pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",x(),pt(),Li(t,e)},useTransition:function(){return tt="useTransition",x(),pt(),Uv()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",x(),pt(),mr(t,e,a)},useId:function(){return tt="useId",x(),pt(),He().memoizedState},useFormState:function(t){return tt="useFormState",x(),pt(),bu(t)},useActionState:function(t){return tt="useActionState",x(),pt(),bu(t)},useOptimistic:function(t,e){return tt="useOptimistic",x(),pt(),Tf(t,e)},useMemoCache:function(t){return x(),ul(t)},useHostTransitionStatus:Oo,useCacheRefresh:function(){return tt="useCacheRefresh",pt(),He().memoizedState},useEffectEvent:function(t){return tt="useEffectEvent",x(),pt(),Us(t)}},l1={readContext:function(t){return w(),_e(t)},use:function(t){return x(),Do(t)},useCallback:function(t,e){return tt="useCallback",x(),pt(),ni(t,e)},useContext:function(t){return tt="useContext",x(),pt(),_e(t)},useEffect:function(t,e){tt="useEffect",x(),pt(),Un(2048,Tl,t,e)},useImperativeHandle:function(t,e,a){return tt="useImperativeHandle",x(),pt(),js(t,e,a)},useInsertionEffect:function(t,e){return tt="useInsertionEffect",x(),pt(),Un(4,xl,t,e)},useLayoutEffect:function(t,e){return tt="useLayoutEffect",x(),pt(),Un(4,gi,t,e)},useMemo:function(t,e){tt="useMemo",x(),pt();var a=at.H;at.H=Go;try{return en(t,e)}finally{at.H=a}},useReducer:function(t,e,a){tt="useReducer",x(),pt();var o=at.H;at.H=Go;try{return pr(t,e,a)}finally{at.H=o}},useRef:function(){return tt="useRef",x(),pt(),He().memoizedState},useState:function(){tt="useState",x(),pt();var t=at.H;at.H=Go;try{return pr(rl)}finally{at.H=t}},useDebugValue:function(){tt="useDebugValue",x(),pt()},useDeferredValue:function(t,e){return tt="useDeferredValue",x(),pt(),le(t,e)},useTransition:function(){return tt="useTransition",x(),pt(),sn()},useSyncExternalStore:function(t,e,a){return tt="useSyncExternalStore",x(),pt(),mr(t,e,a)},useId:function(){return tt="useId",x(),pt(),He().memoizedState},useFormState:function(t){return tt="useFormState",x(),pt(),Su(t)},useActionState:function(t){return tt="useActionState",x(),pt(),Su(t)},useOptimistic:function(t,e){return tt="useOptimistic",x(),pt(),wf(t,e)},useMemoCache:function(t){return x(),ul(t)},useHostTransitionStatus:Oo,useCacheRefresh:function(){return tt="useCacheRefresh",pt(),He().memoizedState},useEffectEvent:function(t){return tt="useEffectEvent",x(),pt(),Us(t)}};var z5={},M5=new Set,O5=new Set,_5=new Set,U5=new Set,j5=new Set,N5=new Set,H5=new Set,B5=new Set,k5=new Set,L5=new Set;Object.freeze(z5);var ax={enqueueSetState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.payload=e,a!=null&&(xr(a),c.callback=a),e=ji(t,c,o),e!==null&&(Oi(o,"this.setState()",t),Wt(e,t,o),jl(e,t,o))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.tag=x5,c.payload=e,a!=null&&(xr(a),c.callback=a),e=ji(t,c,o),e!==null&&(Oi(o,"this.replaceState()",t),Wt(e,t,o),jl(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ha(t),o=_n(a);o.tag=T5,e!=null&&(xr(e),o.callback=e),e=ji(t,o,a),e!==null&&(Oi(a,"this.forceUpdate()",t),Wt(e,t,a),jl(e,t,a))}},om=null,lx=null,ix=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."),Pn=!1,V5={},Y5={},q5={},G5={},um=!1,X5={},i1={},ox={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Q5=!1,Z5=null;Z5=new Set;var Fr=!1,In=!1,ux=!1,K5=typeof WeakSet=="function"?WeakSet:Set,ya=null,rm=null,sm=null,ta=null,Vl=!1,Xo=null,ua=!1,by=8192,n4={getCacheForType:function(t){var e=_e($n),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return _e($n).controller.signal},getOwner:function(){return Ka}};if(typeof Symbol=="function"&&Symbol.for){var Sy=Symbol.for;Sy("selector.component"),Sy("selector.has_pseudo_class"),Sy("selector.role"),Sy("selector.test_id"),Sy("selector.text")}var a4=[],l4=typeof WeakMap=="function"?WeakMap:Map,va=0,ra=2,yi=4,Wr=0,xy=1,Ad=2,o1=3,zc=4,u1=6,J5=5,Re=va,Fe=null,me=null,de=0,Yl=0,r1=1,Rd=2,Ty=3,$5=4,rx=5,wy=6,s1=7,sx=8,Dd=9,Qe=Yl,vi=null,Mc=!1,cm=!1,cx=!1,Yu=0,yn=Wr,Oc=0,_c=0,fx=0,ql=0,Cd=0,Ey=null,wl=null,c1=!1,f1=0,F5=0,W5=300,d1=1/0,P5=500,Ay=null,Mn=null,Uc=null,h1=0,dx=1,hx=2,I5=3,jc=0,tR=1,eR=2,nR=3,aR=4,p1=5,ea=0,Nc=null,fm=null,Qo=0,px=0,mx=-0,gx=null,lR=null,iR=null,Zo=h1,oR=null,i4=50,Ry=0,yx=null,vx=!1,m1=!1,o4=50,zd=0,Dy=null,dm=!1,g1=null,uR=!1,rR=new Set,u4={},y1=null,hm=null,bx=!1,Sx=!1,v1=!1,xx=!1,Hc=0,Tx={};(function(){for(var t=0;t<U2.length;t++){var e=U2[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),Zl(a,"on"+e)}Zl(kA,"onAnimationEnd"),Zl(LA,"onAnimationIteration"),Zl(VA,"onAnimationStart"),Zl("dblclick","onDoubleClick"),Zl("focusin","onFocus"),Zl("focusout","onBlur"),Zl(H_,"onTransitionRun"),Zl(B_,"onTransitionStart"),Zl(k_,"onTransitionCancel"),Zl(YA,"onTransitionEnd")})(),ne("onMouseEnter",["mouseout","mouseover"]),ne("onMouseLeave",["mouseout","mouseover"]),ne("onPointerEnter",["pointerout","pointerover"]),ne("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cy="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(" "),wx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Cy)),b1="_reactListening"+Math.random().toString(36).slice(2),sR=!1,cR=!1,S1=!1,fR=!1,x1=!1,T1=!1,dR=!1,w1={},r4=/\r\n?/g,s4=/\u0000|\uFFFD/g,Md="http://www.w3.org/1999/xlink",Ex="http://www.w3.org/XML/1998/namespace",c4="javascript:throw new Error('React form unexpectedly submitted.')",f4="suppressHydrationWarning",Od="&",E1="/&",zy="$",My="/$",Bc="$?",_d="$~",pm="$!",d4="html",h4="body",p4="head",Ax="F!",hR="F",pR="loading",m4="style",Pr=0,mm=1,A1=2,Rx=null,Dx=null,mR={dialog:!0,webview:!0},Cx=null,Oy=void 0,gR=typeof setTimeout=="function"?setTimeout:void 0,g4=typeof clearTimeout=="function"?clearTimeout:void 0,Ud=-1,yR=typeof Promise=="function"?Promise:void 0,y4=typeof queueMicrotask=="function"?queueMicrotask:typeof yR<"u"?function(t){return yR.resolve(null).then(t).catch(eb)}:gR,zx=null,jd=0,_y=1,vR=2,bR=3,ho=4,po=new Map,SR=new Set,Ir=je.d;je.d={f:function(){var t=Ir.f(),e=pl();return t||e},r:function(t){var e=Et(t);e!==null&&e.tag===5&&e.type==="form"?Hs(e):Ir.r(t)},D:function(t){Ir.D(t),b0("dns-prefetch",t,null)},C:function(t,e){Ir.C(t,e),b0("preconnect",t,e)},L:function(t,e,a){Ir.L(t,e,a);var o=gm;if(o&&t&&e){var c='link[rel="preload"][as="'+Ve(e)+'"]';e==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+Ve(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+Ve(a.imageSizes)+'"]')):c+='[href="'+Ve(t)+'"]';var f=c;switch(e){case"style":f=Or(t);break;case"script":f=_r(t)}po.has(f)||(t=se({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),po.set(f,t),o.querySelector(c)!==null||e==="style"&&o.querySelector(If(f))||e==="script"&&o.querySelector(td(f))||(e=o.createElement("link"),nn(e,"link",t),Ht(e),o.head.appendChild(e)))}},m:function(t,e){Ir.m(t,e);var a=gm;if(a&&t){var o=e&&typeof e.as=="string"?e.as:"script",c='link[rel="modulepreload"][as="'+Ve(o)+'"][href="'+Ve(t)+'"]',f=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=_r(t)}if(!po.has(f)&&(t=se({rel:"modulepreload",href:t},e),po.set(f,t),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(td(f)))return}o=a.createElement("link"),nn(o,"link",t),Ht(o),a.head.appendChild(o)}}},X:function(t,e){Ir.X(t,e);var a=gm;if(a&&t){var o=Kt(a).hoistableScripts,c=_r(t),f=o.get(c);f||(f=a.querySelector(td(c)),f||(t=se({src:t,async:!0},e),(e=po.get(c))&&T0(t,e),f=a.createElement("script"),Ht(f),nn(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}},S:function(t,e,a){Ir.S(t,e,a);var o=gm;if(o&&t){var c=Kt(o).hoistableStyles,f=Or(t);e=e||"default";var g=c.get(f);if(!g){var v={loading:jd,preload:null};if(g=o.querySelector(If(f)))v.loading=_y|ho;else{t=se({rel:"stylesheet",href:t,"data-precedence":e},a),(a=po.get(f))&&x0(t,a);var E=g=o.createElement("link");Ht(E),nn(E,"link",t),E._p=new Promise(function(D,L){E.onload=D,E.onerror=L}),E.addEventListener("load",function(){v.loading|=_y}),E.addEventListener("error",function(){v.loading|=vR}),v.loading|=ho,ac(g,e,o)}g={type:"stylesheet",instance:g,count:1,state:v},c.set(f,g)}}},M:function(t,e){Ir.M(t,e);var a=gm;if(a&&t){var o=Kt(a).hoistableScripts,c=_r(t),f=o.get(c);f||(f=a.querySelector(td(c)),f||(t=se({src:t,async:!0,type:"module"},e),(e=po.get(c))&&T0(t,e),f=a.createElement("script"),Ht(f),nn(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}}};var gm=typeof document>"u"?null:document,R1=null,v4=6e4,b4=800,S4=500,Mx=0,Ox=null,D1=null,Nd=x2,Uy={$$typeof:fi,Provider:null,Consumer:null,_currentValue:Nd,_currentValue2:Nd,_threadCount:0},xR="%c%s%c",TR="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",wR="",C1=" ",x4=Function.prototype.bind,ER=!1,AR=null,RR=null,DR=null,CR=null,zR=null,MR=null,OR=null,_R=null,UR=null,jR=null;AR=function(t,e,a,o){e=u(t,e),e!==null&&(a=r(e.memoizedState,a,0,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},RR=function(t,e,a){e=u(t,e),e!==null&&(a=y(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},DR=function(t,e,a,o){e=u(t,e),e!==null&&(a=d(e.memoizedState,a,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},CR=function(t,e,a){t.pendingProps=r(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},zR=function(t,e){t.pendingProps=y(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},MR=function(t,e,a){t.pendingProps=d(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},OR=function(t){var e=fa(t,2);e!==null&&Wt(e,t,2)},_R=function(t){var e=rs(),a=fa(t,e);a!==null&&Wt(a,t,e)},UR=function(t){S=t},jR=function(t){b=t};var z1=!0,M1=null,_x=!1,kc=null,Lc=null,Vc=null,jy=new Map,Ny=new Map,Yc=[],T4="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(" "),O1=null;if(ci.prototype.render=_0.prototype.render=function(t){var e=this._internalRoot;if(e===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()."):rt(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=t;var o=e.current,c=ha(o);wp(o,c,a,e,null,null)},ci.prototype.unmount=_0.prototype.unmount=function(){var t=arguments;if(typeof t[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()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(Re&(ra|yi))!==va&&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."),wp(t.current,2,null,t,null,null),pl(),e[Vo]=null}},ci.prototype.unstable_scheduleHydration=function(t){if(t){var e=tu();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Yc.length&&e!==0&&e<Yc[a].priority;a++);Yc.splice(a,0,t),a===0&&O0(t)}},(function(){var t=id.version;if(t!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
237
237
|
- react: `+(t+`
|
|
238
238
|
- react-dom: 19.2.3
|
|
239
|
-
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"),je.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=St(e),t=t!==null?
|
|
240
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}
|
|
239
|
+
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"),je.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=St(e),t=t!==null?kt(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:at,reconcilerVersion:"19.2.3"};return t.overrideHookState=AR,t.overrideHookStateDeletePath=RR,t.overrideHookStateRenamePath=DR,t.overrideProps=CR,t.overridePropsDeletePath=zR,t.overridePropsRenamePath=MR,t.scheduleUpdate=OR,t.scheduleRetry=_R,t.setErrorHandler=UR,t.setSuspenseHandler=jR,t.scheduleRefresh=nt,t.scheduleRoot=B,t.setRefreshHandler=it,t.getCurrentFiber=Ge,Jc(t)})()&&Bu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var NR=window.location.protocol;/^(https?|file):$/.test(NR)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(NR==="file:"?`
|
|
240
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}xm.createRoot=function(t,e){if(!rt(t))throw Error("Target container is not a DOM element.");U0(t);var a=!1,o="",c=Hh,f=Bh,g=Dg;return e!=null&&(e.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof e=="object"&&e!==null&&e.$$typeof===kl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
241
241
|
|
|
242
242
|
let root = createRoot(domContainer);
|
|
243
|
-
root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(o=e.identifierPrefix),e.onUncaughtError!==void 0&&(c=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(g=e.onRecoverableError)),e=nd(t,1,!1,null,null,a,o,null,c,f,g,Eb),t[ko]=e.current,Cu(t),new z0(e)},bm.hydrateRoot=function(t,e,a){if(!st(t))throw Error("Target container is not a DOM element.");M0(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,c="",f=jh,g=Nh,v=Eg,E=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError),a.formState!==void 0&&(E=a.formState)),e=nd(t,1,!0,e,a??null,o,c,E,f,g,v,Eb),e.context=Sb(null),a=e.current,o=ha(a),o=Al(o),c=_n(o),c.callback=null,ji(a,c,o),Oi(o,"hydrateRoot()",null),a=o,e.current.lanes=a,Gl(e,a),Ga(e),t[ko]=e.current,Cu(t),new ci(e)},bm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),bm}var Zx;function QR(){if(Zx)return Ny.exports;Zx=1;function u(){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(u)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(u(),Ny.exports=GR()):Ny.exports=XR(),Ny.exports}var ZR=QR(),tt=Nd();const Hd=UR(tt);var Ly=U1();const Zo={floatingIconPosition:"uilint:floatingIconPosition",inspectorDocked:"uilint:inspectorDocked",inspectorWidth:"uilint:inspectorWidth",inspectorFloatingPosition:"uilint:inspectorFloatingPosition",inspectorFloatingSize:"uilint:inspectorFloatingSize"};function Kx(){return typeof window<"u"&&typeof localStorage<"u"}function Sm(u,r){if(!Kx())return r;try{const d=localStorage.getItem(u);return d===null?r:JSON.parse(d)}catch(d){return console.warn(`[UILint] Failed to load ${u} from localStorage:`,d),r}}function xm(u,r){if(Kx())try{localStorage.setItem(u,JSON.stringify(r))}catch(d){console.warn(`[UILint] Failed to save ${u} to localStorage:`,d)}}const Jx={open:!1,query:"",selectedIndex:0,filters:[]},KR=400;function JR(){return{open:!1,panelId:null,data:null,docked:Sm(Zo.inspectorDocked,!0),width:Sm(Zo.inspectorWidth,KR),floatingPosition:Sm(Zo.inspectorFloatingPosition,null),floatingSize:Sm(Zo.inspectorFloatingSize,null)}}const $R=u=>(r,d)=>({floatingIconPosition:Sm(Zo.floatingIconPosition,null),setFloatingIconPosition:h=>{xm(Zo.floatingIconPosition,h),r({floatingIconPosition:h})},altKeyHeld:!1,setAltKeyHeld:h=>{r({altKeyHeld:h})},selectedElementId:null,hoveredElementId:null,setSelectedElementId:h=>{r({selectedElementId:h})},setHoveredElementId:h=>{r({hoveredElementId:h})},commandPalette:{...Jx},openCommandPalette:()=>{r({commandPalette:{...d().commandPalette,open:!0,query:"",selectedIndex:0}})},closeCommandPalette:()=>{r({commandPalette:{...Jx,open:!1}})},setCommandPaletteQuery:h=>{r({commandPalette:{...d().commandPalette,query:h,selectedIndex:0}})},setCommandPaletteSelectedIndex:h=>{r({commandPalette:{...d().commandPalette,selectedIndex:h}})},addFilter:h=>{const y=d().commandPalette;r({commandPalette:{...y,filters:[...y.filters,h],selectedIndex:0}})},removeFilter:h=>{const y=d().commandPalette;r({commandPalette:{...y,filters:y.filters.filter((b,S)=>S!==h),selectedIndex:0}})},clearFilters:()=>{r({commandPalette:{...d().commandPalette,filters:[],selectedIndex:0}})},inspector:JR(),openInspector:(h,y)=>{r({inspector:{...d().inspector,open:!0,panelId:h,data:y??null}})},closeInspector:()=>{r({inspector:{...d().inspector,open:!1,panelId:null,data:null}})},toggleInspectorDocked:()=>{const h=d().inspector,y=!h.docked;xm(Zo.inspectorDocked,y),r({inspector:{...h,docked:y}})},setInspectorWidth:h=>{xm(Zo.inspectorWidth,h),r({inspector:{...d().inspector,width:h}})},setInspectorFloatingPosition:h=>{xm(Zo.inspectorFloatingPosition,h),r({inspector:{...d().inspector,floatingPosition:h}})},setInspectorFloatingSize:h=>{xm(Zo.inspectorFloatingSize,h),r({inspector:{...d().inspector,floatingSize:h}})},wsConnected:u.websocket.isConnected,wsUrl:u.websocket.url}),$x=u=>{let r;const d=new Set,h=(A,M)=>{const R=typeof A=="function"?A(r):A;if(!Object.is(R,r)){const z=r;r=M??(typeof R!="object"||R===null)?R:Object.assign({},r,R),d.forEach(B=>B(r,z))}},y=()=>r,x={setState:h,getState:y,getInitialState:()=>w,subscribe:A=>(d.add(A),()=>d.delete(A))},w=r=u(h,y,x);return x},FR=(u=>u?$x(u):$x),WR=u=>u;function PR(u,r=WR){const d=Hd.useSyncExternalStore(u.subscribe,Hd.useCallback(()=>r(u.getState()),[u,r]),Hd.useCallback(()=>r(u.getInitialState()),[u,r]));return Hd.useDebugValue(d),d}const Fx=u=>{const r=FR(u),d=h=>PR(r,h);return Object.assign(d,r),d},IR=(u=>u?Fx(u):Fx);function Wx(u){const r=new Map;for(const S of u)r.set(S.id,S);const d=[],h=new Set,y=new Set;function b(S){const x=S.id;if(h.has(x))return;if(y.has(x))throw new Error(`[PluginRegistry] Circular dependency detected involving plugin: ${x}`);y.add(x);const w=S.dependencies||[];for(const A of w){const M=r.get(A);M&&b(M)}y.delete(x),h.add(x),d.push(S)}for(const S of u)b(S);return d}class tD{plugins=new Map;services=null;register(r){if(console.log(`[PluginRegistry] Registering plugin: ${r.id}`),this.plugins.has(r.id)){console.warn(`[PluginRegistry] Plugin "${r.id}" is already registered. Skipping duplicate registration.`);return}const d=r.dependencies||[],h=[];for(const y of d)this.plugins.has(y)||h.push(y);h.length>0&&console.warn(`[PluginRegistry] Plugin "${r.id}" has unregistered dependencies: ${h.join(", ")}. These plugins should be registered first for proper initialization order.`),this.plugins.set(r.id,{plugin:r,initialized:!1}),console.log(`[PluginRegistry] Plugin "${r.id}" registered successfully`)}async initializeAll(r){console.log("[PluginRegistry] Initializing all plugins..."),this.services=r;const d=Array.from(this.plugins.values()).map(y=>y.plugin),h=Wx(d);console.log(`[PluginRegistry] Initialization order: ${h.map(y=>y.id).join(" -> ")}`);for(const y of h){const b=this.plugins.get(y.id);if(b){if(b.initialized){console.log(`[PluginRegistry] Plugin "${y.id}" already initialized, skipping`);continue}try{console.log(`[PluginRegistry] Initializing plugin: ${y.id}`),y.initialize&&await y.initialize(r),b.initialized=!0,console.log(`[PluginRegistry] Plugin "${y.id}" initialized successfully`)}catch(S){console.error(`[PluginRegistry] Failed to initialize plugin "${y.id}":`,S)}}}console.log("[PluginRegistry] All plugins initialized")}getPlugins(){return Array.from(this.plugins.values()).map(r=>r.plugin)}getPlugin(r){return this.plugins.get(r)?.plugin}getAllCommands(){const r=[];for(const{plugin:d}of this.plugins.values())d.commands&&r.push(...d.commands);return r}getAllAnalyzers(){const r=[];for(const{plugin:d}of this.plugins.values())d.analyzers&&r.push(...d.analyzers);return r}getAllInspectorPanels(){const r=[];for(const{plugin:d}of this.plugins.values())d.inspectorPanels&&r.push(...d.inspectorPanels);return r.sort((d,h)=>(h.priority??0)-(d.priority??0))}getAllRules(){if(!this.services)return console.warn("[PluginRegistry] Cannot get rules: services not initialized"),[];const r=[];for(const{plugin:d,initialized:h}of this.plugins.values())if(h&&d.getRules)try{const y=d.getRules(this.services);r.push(...y)}catch(y){console.error(`[PluginRegistry] Error getting rules from plugin "${d.id}":`,y)}return r}setRuleSeverity(r,d){if(!this.services){console.warn("[PluginRegistry] Cannot set rule severity: services not initialized");return}for(const{plugin:h,initialized:y}of this.plugins.values())if(y){if(h.handlesRules&&h.handlesRules({id:r})&&h.setRuleSeverity){h.setRuleSeverity(r,d,this.services);return}if(r.startsWith(`${h.id}/`)&&h.setRuleSeverity){h.setRuleSeverity(r,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to handle rule: ${r}`)}getRuleConfig(r){if(!this.services){console.warn("[PluginRegistry] Cannot get rule config: services not initialized");return}for(const{plugin:d,initialized:h}of this.plugins.values())if(h){if(d.handlesRules?.({id:r})&&d.getRuleConfig)return d.getRuleConfig(r,this.services);if(r.startsWith(`${d.id}/`)&&d.getRuleConfig)return d.getRuleConfig(r,this.services)}}setRuleConfig(r,d){if(!this.services){console.warn("[PluginRegistry] Cannot set rule config: services not initialized");return}for(const{plugin:h,initialized:y}of this.plugins.values())if(y){if(h.handlesRules?.({id:r})&&h.setRuleConfig){h.setRuleConfig(r,d,this.services);return}if(r.startsWith(`${h.id}/`)&&h.setRuleConfig){h.setRuleConfig(r,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to configure rule: ${r}`)}getPluginForRule(r,d){for(const{plugin:b}of this.plugins.values())if(b.ruleContributions&&b.ruleContributions.find(x=>x.ruleId===r))return b;for(const{plugin:b}of this.plugins.values())if(r.startsWith(`${b.id}/`)||d.category&&b.ruleCategories&&b.ruleCategories.includes(d.category))return b;const h=this.plugins.get("core")?.plugin;if(h)return h;const y=this.plugins.values().next().value;return y?y.plugin:{id:"default",name:"Default",version:"1.0.0"}}getRuleContribution(r){for(const{plugin:d}of this.plugins.values())if(d.ruleContributions){const h=d.ruleContributions.find(y=>y.ruleId===r);if(h)return h}}disposeAll(){console.log("[PluginRegistry] Disposing all plugins...");const r=Array.from(this.plugins.values()).map(h=>h.plugin),d=Wx(r).reverse();for(const h of d){const y=this.plugins.get(h.id);if(!(!y||!y.initialized))try{console.log(`[PluginRegistry] Disposing plugin: ${h.id}`),h.dispose&&this.services&&h.dispose(this.services),y.initialized=!1,console.log(`[PluginRegistry] Plugin "${h.id}" disposed successfully`)}catch(b){console.error(`[PluginRegistry] Failed to dispose plugin "${h.id}":`,b)}}this.services=null,console.log("[PluginRegistry] All plugins disposed")}isRegistered(r){return this.plugins.has(r)}isInitialized(r){return this.plugins.get(r)?.initialized??!1}getServices(){return this.services}clear(){console.log("[PluginRegistry] Clearing all plugins"),this.disposeAll(),this.plugins.clear()}}function eD(){return new tD}const Vc=eD();let Yc=null,Tm=null;const nD=()=>({isConnected:!1,url:"ws://localhost:9234",connect:()=>{console.warn("[ComposedStore] WebSocket connect called but not implemented")},disconnect:()=>{console.warn("[ComposedStore] WebSocket disconnect called but not implemented")},send:()=>{console.warn("[ComposedStore] WebSocket send called but not implemented")},on:()=>(console.warn("[ComposedStore] WebSocket on called but not implemented"),()=>{}),onConnectionChange:()=>(console.warn("[ComposedStore] WebSocket onConnectionChange called but not implemented"),()=>{})}),aD=()=>({start:()=>{console.warn("[ComposedStore] DOMObserver start called but not implemented")},stop:()=>{console.warn("[ComposedStore] DOMObserver stop called but not implemented")},onElementsAdded:()=>(console.warn("[ComposedStore] DOMObserver onElementsAdded called but not implemented"),()=>{}),onElementsRemoved:()=>(console.warn("[ComposedStore] DOMObserver onElementsRemoved called but not implemented"),()=>{})});function lD(u={}){const r=u.websocket??nD(),d=u.domObserver??aD();let h;const y=IR()((b,S)=>(h={websocket:{get isConnected(){return r.isConnected},get url(){return r.url},connect:r.connect.bind(r),disconnect:r.disconnect.bind(r),send:r.send.bind(r),on:r.on.bind(r),onConnectionChange:r.onConnectionChange.bind(r)},domObserver:{start:d.start.bind(d),stop:d.stop.bind(d),onElementsAdded:d.onElementsAdded.bind(d),onElementsRemoved:d.onElementsRemoved.bind(d)},getState:()=>S(),setState:A=>{b(A)},openInspector:(A,M)=>{const R=S();M.ruleId?R.openInspector("rule",{ruleId:M.ruleId}):M.elementId?R.openInspector("element",{elementId:M.elementId}):b({inspector:{...R.inspector,open:!0,panelId:A,data:M}})},closeCommandPalette:()=>{S().closeCommandPalette()}},{...$R(h)(b,S,{setState:b,getState:S,getInitialState:()=>S(),subscribe:()=>()=>{}}),plugins:{},registerPluginSlice:(A,M)=>{console.log(`[ComposedStore] Registering plugin slice: ${String(A)}`),b(R=>({plugins:{...R.plugins,[A]:M}}))},unregisterPluginSlice:A=>{console.log(`[ComposedStore] Unregistering plugin slice: ${String(A)}`),b(M=>{const{[A]:R,...z}=M.plugins;return{plugins:z}})},getPluginSlice:A=>S().plugins[A],setPluginSlice:(A,M)=>{b(R=>{const z=R.plugins[A];return z?{plugins:{...R.plugins,[A]:{...z,...M}}}:(console.warn(`[ComposedStore] Cannot update unregistered plugin slice: ${String(A)}`),R)})}}));return r.onConnectionChange(b=>{y.setState({wsConnected:b,wsUrl:r.url})}),{store:y,services:h}}function Px(u){if(Yc)return Yc;const r=lD(u);return Yc=r.store,Tm=r.services,Yc}function xe(u){return Yc||Px(),u?Yc(u):Yc()}function Ix(u,r,d){return{...r,getState:()=>d.getState().plugins[u]||{},setState:h=>{d.setState(y=>{const b=y.plugins[u]||{};return{plugins:{...y.plugins,[u]:{...b,...h}}}})}}}async function iD(u){const r=Px(u);if(!Tm)throw new Error("[ComposedStore] Plugin services not initialized");const h=(u?.registry??Vc).getPlugins();for(const y of h)if(y.createSlice&&y.id)try{const b=Ix(y.id,Tm,r),S=y.createSlice(b);y.id in{}?r.getState().registerPluginSlice(y.id,S):(console.log(`[ComposedStore] Registering unknown plugin slice: ${y.id}`),r.setState(x=>({plugins:{...x.plugins,[y.id]:S}})))}catch(b){console.error(`[ComposedStore] Failed to create slice for plugin ${y.id}:`,b)}for(const y of h)if(y.initialize&&y.id)try{const b=Ix(y.id,Tm,r);y.initialize(b)}catch(b){console.error(`[ComposedStore] Failed to initialize plugin ${y.id}:`,b)}console.log(`[ComposedStore] Initialized ${h.length} plugins with slices`)}function tT(){return Tm}const oD=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uD=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,d,h)=>h?h.toUpperCase():d.toLowerCase()),eT=u=>{const r=uD(u);return r.charAt(0).toUpperCase()+r.slice(1)},nT=(...u)=>u.filter((r,d,h)=>!!r&&r.trim()!==""&&h.indexOf(r)===d).join(" ").trim(),rD=u=>{for(const r in u)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};var sD={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"};const cD=tt.forwardRef(({color:u="currentColor",size:r=24,strokeWidth:d=2,absoluteStrokeWidth:h,className:y="",children:b,iconNode:S,...x},w)=>tt.createElement("svg",{ref:w,...sD,width:r,height:r,stroke:u,strokeWidth:h?Number(d)*24/Number(r):d,className:nT("lucide",y),...!b&&!rD(x)&&{"aria-hidden":"true"},...x},[...S.map(([A,M])=>tt.createElement(A,M)),...Array.isArray(b)?b:[b]]));const El=(u,r)=>{const d=tt.forwardRef(({className:h,...y},b)=>tt.createElement(cD,{ref:b,iconNode:r,className:nT(`lucide-${oD(eT(u))}`,`lucide-${u}`,h),...y}));return d.displayName=eT(u),d};const fD=El("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const dD=El("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const j1=El("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);const aT=El("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);const N1=El("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const lT=El("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);const hD=El("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);const pD=El("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const mD=El("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);const gD=El("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const iT=El("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const yD=El("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);const H1=El("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const oT=El("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),uT=180,ky=36;function vD(){return typeof window>"u"?{x:0,y:16}:{x:window.innerWidth/2-uT/2,y:16}}function bD(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}function SD(){const u=xe(it=>it.openCommandPalette),r=xe(it=>it.wsConnected),d=xe(it=>it.floatingIconPosition),h=xe(it=>it.setFloatingIconPosition),y=xe(it=>{const At=it.plugins?.eslint?.issues;if(!At)return 0;let St=0;return At.forEach(Lt=>{St+=Lt.length}),St}),[b,S]=tt.useState(!1),[x,w]=tt.useState(!1),[A,M]=tt.useState({x:0,y:0}),R=tt.useRef(null),z=d??vD(),B=bD()?"⌥":"Alt+",lt=tt.useCallback(it=>{if(it.button!==0)return;const At=R.current?.getBoundingClientRect();At&&(M({x:it.clientX-At.left,y:it.clientY-At.top}),S(!0),it.preventDefault(),it.stopPropagation())},[]),ut=tt.useCallback(it=>{if(!b)return;const At=Math.max(0,Math.min(window.innerWidth-uT,it.clientX-A.x)),St=Math.max(0,Math.min(window.innerHeight-ky,it.clientY-A.y));h({x:At,y:St})},[b,A,h]),st=tt.useCallback(()=>{S(!1)},[]);tt.useEffect(()=>{if(b)return window.addEventListener("mousemove",ut),window.addEventListener("mouseup",st),()=>{window.removeEventListener("mousemove",ut),window.removeEventListener("mouseup",st)}},[b,ut,st]);const ft=tt.useCallback(()=>{b||u()},[b,u]),bt=document.getElementById("uilint-portal")||document.body;return Ly.createPortal(G.jsxs("div",{ref:R,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),style:{position:"fixed",left:z.x,top:z.y,height:ky,display:"flex",alignItems:"center",gap:0,zIndex:99999,pointerEvents:"auto"},children:[G.jsx("div",{onMouseDown:lt,style:{width:20,height:ky,display:"flex",alignItems:"center",justifyContent:"center",cursor:b?"grabbing":"grab",borderRadius:"10px 0 0 10px",background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderTop:"1px solid rgba(255, 255, 255, 0.8)",borderLeft:"1px solid rgba(255, 255, 255, 0.8)",borderBottom:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:b?"0 8px 32px rgba(0, 0, 0, 0.2)":"0 4px 16px rgba(0, 0, 0, 0.1)",transition:b?"none":"box-shadow 0.2s"},children:G.jsxs("svg",{width:"6",height:"14",viewBox:"0 0 6 14",fill:"none",style:{opacity:x?.6:.35},children:[G.jsx("circle",{cx:"1.5",cy:"2",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"4.5",cy:"2",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"1.5",cy:"7",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"4.5",cy:"7",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"1.5",cy:"12",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"4.5",cy:"12",r:"1.5",fill:"currentColor"})]})}),G.jsxs("button",{onClick:ft,style:{height:ky,padding:"0 14px 0 10px",border:"none",borderRadius:"0 10px 10px 0",background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderTop:"1px solid rgba(255, 255, 255, 0.8)",borderRight:"1px solid rgba(255, 255, 255, 0.5)",borderBottom:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:b?"0 8px 32px rgba(0, 0, 0, 0.2)":"0 4px 16px rgba(0, 0, 0, 0.1)",cursor:"pointer",display:"flex",alignItems:"center",gap:8,transition:b?"none":"box-shadow 0.2s, background 0.2s",color:"#1a1a1a",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,fontWeight:400},onMouseOver:it=>{b||(it.currentTarget.style.background="rgba(255, 255, 255, 0.85)")},onMouseOut:it=>{it.currentTarget.style.background="rgba(255, 255, 255, 0.7)"},children:[G.jsx(iT,{size:15,style:{opacity:.5}}),G.jsx("span",{style:{opacity:.7},children:"Search"}),y>0&&G.jsx("span",{style:{fontSize:11,fontWeight:500,color:"#ef4444",opacity:.9},children:y>99?"99+":y}),G.jsxs("span",{style:{marginLeft:"auto",fontSize:12,fontWeight:500,opacity:.4,letterSpacing:"-0.02em"},children:[B,"K"]})]}),!r&&G.jsx("span",{style:{position:"absolute",top:-3,right:-3,width:8,height:8,borderRadius:"50%",background:"#f59e0b",border:"2px solid white",boxShadow:"0 1px 3px rgba(0,0,0,0.2)"}})]}),bt)}function xD(u){const[r,d]=tt.useState(new Map),h=tt.useRef(null),y=tt.useRef(null),b=tt.useRef(null),S=tt.useCallback(()=>{if(!u){d(new Map);return}const w=u instanceof Set?u:new Set(u.keys());if(w.size===0){d(new Map);return}const A=new Map;document.querySelectorAll("[data-loc]").forEach(R=>{const z=R.getAttribute("data-loc");if(z&&w.has(z)){const B=R.getBoundingClientRect();B.width>0&&B.height>0&&A.set(z,{dataLoc:z,rect:B,element:R})}}),d(A)},[u]),x=tt.useCallback(()=>{b.current||(b.current=requestAnimationFrame(()=>{S(),b.current=null}))},[S]);return tt.useEffect(()=>(S(),window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x,{passive:!0}),h.current=new MutationObserver(x),h.current.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-loc"]}),y.current=new MutationObserver(w=>{for(const A of w)if(A.type==="attributes"&&A.attributeName==="style"){x();break}}),y.current.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",x),h.current?.disconnect(),y.current?.disconnect(),b.current&&cancelAnimationFrame(b.current)}),[S,x]),r}function TD(u){const r=u.split(":"),d=parseInt(r.pop()||"0",10),h=parseInt(r.pop()||"0",10);return{filePath:r.join(":"),line:h,column:d}}function wD(u,r,d,h){return`${u}:${r}:${d}:${h}`}function ED(u){return u===2?"error":"warning"}function B1(u){switch(u){case"error":return"#ef4444";case"warning":return"#f59e0b";case"info":return"#3b82f6"}}function AD(u,r="eslint"){if(!u.message||!u.line)return null;const d=u.dataLoc||"",{filePath:h}=d?TD(d):{filePath:""},y=u.ruleId||"unknown",b=u.severity?ED(u.severity):"warning";return{id:wD(r,y,d,u.line),message:u.message,severity:b,dataLoc:d,ruleId:y,pluginId:r,filePath:h,line:u.line,column:u.column}}function RD({rect:u,issues:r,isHovered:d,showDetails:h,onClick:y}){const b=tt.useMemo(()=>r.some(w=>w.severity==="error")?"error":r.some(w=>w.severity==="warning")?"warning":"info",[r]),S=B1(b),x=r.length;return G.jsxs("div",{onClick:y,style:{position:"fixed",left:u.left-2,top:u.top-2,width:u.width+4,height:u.height+4,border:`2px solid ${S}`,borderRadius:4,pointerEvents:"auto",cursor:"pointer",opacity:d?1:.6,transition:"opacity 0.15s",zIndex:99990},children:[G.jsx("span",{style:{position:"absolute",top:-10,right:-10,minWidth:18,height:18,borderRadius:9,background:S,color:"white",fontSize:10,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px"},children:x}),h&&d&&G.jsxs("div",{style:{position:"absolute",top:"100%",left:0,marginTop:8,padding:"8px 12px",background:"#1f2937",color:"white",borderRadius:6,fontSize:12,maxWidth:300,whiteSpace:"pre-wrap",boxShadow:"0 4px 12px rgba(0,0,0,0.2)",zIndex:99991},children:[G.jsxs("strong",{children:[x," issue",x!==1?"s":""]}),G.jsxs("div",{style:{marginTop:4,opacity:.8},children:[r.slice(0,3).map((w,A)=>G.jsxs("div",{style:{marginTop:A>0?4:0},children:["• ",w.message.slice(0,60),w.message.length>60?"...":""]},A)),r.length>3&&G.jsxs("div",{style:{marginTop:4,opacity:.6},children:["+",r.length-3," more..."]})]})]})]})}function DD(){const u=xe(w=>w.altKeyHeld),r=xe(w=>w.openInspector),d=xe(w=>w.hoveredElementId),h=xe(w=>w.setHoveredElementId),y=xe(w=>w.plugins?.eslint?.issues),b=xD(y),S=w=>{r("element",{dataLoc:w})};if(!y||y.size===0)return null;const x=document.getElementById("uilint-portal")||document.body;return Ly.createPortal(G.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:99990},onMouseMove:w=>{const M=w.target.getAttribute?.("data-loc");h(M||null)},children:Array.from(b.entries()).map(([w,{rect:A}])=>{const M=y.get(w)||[];return M.length===0?null:G.jsx(RD,{dataLoc:w,rect:A,issues:M,isHovered:d===w,showDetails:u,onClick:()=>S(w)},w)})}),x)}const L1=tt.createContext({});function k1(u){const r=tt.useRef(null);return r.current===null&&(r.current=u()),r.current}const rT=typeof window<"u",sT=rT?tt.useLayoutEffect:tt.useEffect,Vy=tt.createContext(null);function V1(u,r){u.indexOf(r)===-1&&u.push(r)}function Y1(u,r){const d=u.indexOf(r);d>-1&&u.splice(d,1)}const Ko=(u,r,d)=>d>r?r:d<u?u:d;function q1(u,r){return r?`${u}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:u}let Bd=()=>{},Yu=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(Bd=(u,r,d)=>{!u&&typeof console<"u"&&console.warn(q1(r,d))},Yu=(u,r,d)=>{if(!u)throw new Error(q1(r,d))});const qu={},cT=u=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(u);function fT(u){return typeof u=="object"&&u!==null}const dT=u=>/^0[^.\s]+$/u.test(u);function G1(u){let r;return()=>(r===void 0&&(r=u()),r)}const bi=u=>u,CD=(u,r)=>d=>r(u(d)),wm=(...u)=>u.reduce(CD),Em=(u,r,d)=>{const h=r-u;return h===0?1:(d-u)/h};class X1{constructor(){this.subscriptions=[]}add(r){return V1(this.subscriptions,r),()=>Y1(this.subscriptions,r)}notify(r,d,h){const y=this.subscriptions.length;if(y)if(y===1)this.subscriptions[0](r,d,h);else for(let b=0;b<y;b++){const S=this.subscriptions[b];S&&S(r,d,h)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Jo=u=>u*1e3,Si=u=>u/1e3;function hT(u,r){return r?u*(1e3/r):0}const pT=new Set;function Q1(u,r,d){u||pT.has(r)||(console.warn(q1(r,d)),pT.add(r))}const mT=(u,r,d)=>(((1-3*d+3*r)*u+(3*d-6*r))*u+3*r)*u,zD=1e-7,MD=12;function OD(u,r,d,h,y){let b,S,x=0;do S=r+(d-r)/2,b=mT(S,h,y)-u,b>0?d=S:r=S;while(Math.abs(b)>zD&&++x<MD);return S}function Am(u,r,d,h){if(u===r&&d===h)return bi;const y=b=>OD(b,0,1,u,d);return b=>b===0||b===1?b:mT(y(b),r,h)}const gT=u=>r=>r<=.5?u(2*r)/2:(2-u(2*(1-r)))/2,yT=u=>r=>1-u(1-r),vT=Am(.33,1.53,.69,.99),Z1=yT(vT),bT=gT(Z1),ST=u=>(u*=2)<1?.5*Z1(u):.5*(2-Math.pow(2,-10*(u-1))),K1=u=>1-Math.sin(Math.acos(u)),xT=yT(K1),TT=gT(K1),_D=Am(.42,0,1,1),UD=Am(0,0,.58,1),wT=Am(.42,0,.58,1),jD=u=>Array.isArray(u)&&typeof u[0]!="number",ET=u=>Array.isArray(u)&&typeof u[0]=="number",AT={linear:bi,easeIn:_D,easeInOut:wT,easeOut:UD,circIn:K1,circInOut:TT,circOut:xT,backIn:Z1,backInOut:bT,backOut:vT,anticipate:ST},ND=u=>typeof u=="string",RT=u=>{if(ET(u)){Yu(u.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,d,h,y]=u;return Am(r,d,h,y)}else if(ND(u))return Yu(AT[u]!==void 0,`Invalid easing type '${u}'`,"invalid-easing-type"),AT[u];return u},Yy=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function HD(u,r){let d=new Set,h=new Set,y=!1,b=!1;const S=new WeakSet;let x={delta:0,timestamp:0,isProcessing:!1};function w(M){S.has(M)&&(A.schedule(M),u()),M(x)}const A={schedule:(M,R=!1,z=!1)=>{const lt=z&&y?d:h;return R&&S.add(M),lt.has(M)||lt.add(M),M},cancel:M=>{h.delete(M),S.delete(M)},process:M=>{if(x=M,y){b=!0;return}y=!0,[d,h]=[h,d],d.forEach(w),d.clear(),y=!1,b&&(b=!1,A.process(M))}};return A}const BD=40;function DT(u,r){let d=!1,h=!0;const y={delta:0,timestamp:0,isProcessing:!1},b=()=>d=!0,S=Yy.reduce((it,At)=>(it[At]=HD(b),it),{}),{setup:x,read:w,resolveKeyframes:A,preUpdate:M,update:R,preRender:z,render:B,postRender:lt}=S,ut=()=>{const it=qu.useManualTiming?y.timestamp:performance.now();d=!1,qu.useManualTiming||(y.delta=h?1e3/60:Math.max(Math.min(it-y.timestamp,BD),1)),y.timestamp=it,y.isProcessing=!0,x.process(y),w.process(y),A.process(y),M.process(y),R.process(y),z.process(y),B.process(y),lt.process(y),y.isProcessing=!1,d&&r&&(h=!1,u(ut))},st=()=>{d=!0,h=!0,y.isProcessing||u(ut)};return{schedule:Yy.reduce((it,At)=>{const St=S[At];return it[At]=(Lt,Tt=!1,Z=!1)=>(d||st(),St.schedule(Lt,Tt,Z)),it},{}),cancel:it=>{for(let At=0;At<Yy.length;At++)S[Yy[At]].cancel(it)},state:y,steps:S}}const{schedule:rn,cancel:ts,state:ba,steps:J1}=DT(typeof requestAnimationFrame<"u"?requestAnimationFrame:bi,!0);let qy;function LD(){qy=void 0}const $a={now:()=>(qy===void 0&&$a.set(ba.isProcessing||qu.useManualTiming?ba.timestamp:performance.now()),qy),set:u=>{qy=u,queueMicrotask(LD)}},CT=u=>r=>typeof r=="string"&&r.startsWith(u),zT=CT("--"),kD=CT("var(--"),$1=u=>kD(u)?VD.test(u.split("/*")[0].trim()):!1,VD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function MT(u){return typeof u!="string"?!1:u.split("/*")[0].includes("var(--")}const Ld={test:u=>typeof u=="number",parse:parseFloat,transform:u=>u},Rm={...Ld,transform:u=>Ko(0,1,u)},Gy={...Ld,default:1},Dm=u=>Math.round(u*1e5)/1e5,F1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function YD(u){return u==null}const qD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,W1=(u,r)=>d=>!!(typeof d=="string"&&qD.test(d)&&d.startsWith(u)||r&&!YD(d)&&Object.prototype.hasOwnProperty.call(d,r)),OT=(u,r,d)=>h=>{if(typeof h!="string")return h;const[y,b,S,x]=h.match(F1);return{[u]:parseFloat(y),[r]:parseFloat(b),[d]:parseFloat(S),alpha:x!==void 0?parseFloat(x):1}},GD=u=>Ko(0,255,u),P1={...Ld,transform:u=>Math.round(GD(u))},qc={test:W1("rgb","red"),parse:OT("red","green","blue"),transform:({red:u,green:r,blue:d,alpha:h=1})=>"rgba("+P1.transform(u)+", "+P1.transform(r)+", "+P1.transform(d)+", "+Dm(Rm.transform(h))+")"};function XD(u){let r="",d="",h="",y="";return u.length>5?(r=u.substring(1,3),d=u.substring(3,5),h=u.substring(5,7),y=u.substring(7,9)):(r=u.substring(1,2),d=u.substring(2,3),h=u.substring(3,4),y=u.substring(4,5),r+=r,d+=d,h+=h,y+=y),{red:parseInt(r,16),green:parseInt(d,16),blue:parseInt(h,16),alpha:y?parseInt(y,16)/255:1}}const I1={test:W1("#"),parse:XD,transform:qc.transform},Cm=u=>({test:r=>typeof r=="string"&&r.endsWith(u)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${u}`}),es=Cm("deg"),$o=Cm("%"),Ot=Cm("px"),QD=Cm("vh"),ZD=Cm("vw"),_T={...$o,parse:u=>$o.parse(u)/100,transform:u=>$o.transform(u*100)},kd={test:W1("hsl","hue"),parse:OT("hue","saturation","lightness"),transform:({hue:u,saturation:r,lightness:d,alpha:h=1})=>"hsla("+Math.round(u)+", "+$o.transform(Dm(r))+", "+$o.transform(Dm(d))+", "+Dm(Rm.transform(h))+")"},kn={test:u=>qc.test(u)||I1.test(u)||kd.test(u),parse:u=>qc.test(u)?qc.parse(u):kd.test(u)?kd.parse(u):I1.parse(u),transform:u=>typeof u=="string"?u:u.hasOwnProperty("red")?qc.transform(u):kd.transform(u),getAnimatableNone:u=>{const r=kn.parse(u);return r.alpha=0,kn.transform(r)}},KD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function JD(u){return isNaN(u)&&typeof u=="string"&&(u.match(F1)?.length||0)+(u.match(KD)?.length||0)>0}const UT="number",jT="color",$D="var",FD="var(",NT="${}",WD=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function zm(u){const r=u.toString(),d=[],h={color:[],number:[],var:[]},y=[];let b=0;const x=r.replace(WD,w=>(kn.test(w)?(h.color.push(b),y.push(jT),d.push(kn.parse(w))):w.startsWith(FD)?(h.var.push(b),y.push($D),d.push(w)):(h.number.push(b),y.push(UT),d.push(parseFloat(w))),++b,NT)).split(NT);return{values:d,split:x,indexes:h,types:y}}function HT(u){return zm(u).values}function BT(u){const{split:r,types:d}=zm(u),h=r.length;return y=>{let b="";for(let S=0;S<h;S++)if(b+=r[S],y[S]!==void 0){const x=d[S];x===UT?b+=Dm(y[S]):x===jT?b+=kn.transform(y[S]):b+=y[S]}return b}}const PD=u=>typeof u=="number"?0:kn.test(u)?kn.getAnimatableNone(u):u;function ID(u){const r=HT(u);return BT(u)(r.map(PD))}const ns={test:JD,parse:HT,createTransformer:BT,getAnimatableNone:ID};function tS(u,r,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?u+(r-u)*6*d:d<1/2?r:d<2/3?u+(r-u)*(2/3-d)*6:u}function tC({hue:u,saturation:r,lightness:d,alpha:h}){u/=360,r/=100,d/=100;let y=0,b=0,S=0;if(!r)y=b=S=d;else{const x=d<.5?d*(1+r):d+r-d*r,w=2*d-x;y=tS(w,x,u+1/3),b=tS(w,x,u),S=tS(w,x,u-1/3)}return{red:Math.round(y*255),green:Math.round(b*255),blue:Math.round(S*255),alpha:h}}function Xy(u,r){return d=>d>0?r:u}const vn=(u,r,d)=>u+(r-u)*d,eS=(u,r,d)=>{const h=u*u,y=d*(r*r-h)+h;return y<0?0:Math.sqrt(y)},eC=[I1,qc,kd],nC=u=>eC.find(r=>r.test(u));function LT(u){const r=nC(u);if(Bd(!!r,`'${u}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let d=r.parse(u);return r===kd&&(d=tC(d)),d}const kT=(u,r)=>{const d=LT(u),h=LT(r);if(!d||!h)return Xy(u,r);const y={...d};return b=>(y.red=eS(d.red,h.red,b),y.green=eS(d.green,h.green,b),y.blue=eS(d.blue,h.blue,b),y.alpha=vn(d.alpha,h.alpha,b),qc.transform(y))},nS=new Set(["none","hidden"]);function aC(u,r){return nS.has(u)?d=>d<=0?u:r:d=>d>=1?r:u}function lC(u,r){return d=>vn(u,r,d)}function aS(u){return typeof u=="number"?lC:typeof u=="string"?$1(u)?Xy:kn.test(u)?kT:uC:Array.isArray(u)?VT:typeof u=="object"?kn.test(u)?kT:iC:Xy}function VT(u,r){const d=[...u],h=d.length,y=u.map((b,S)=>aS(b)(b,r[S]));return b=>{for(let S=0;S<h;S++)d[S]=y[S](b);return d}}function iC(u,r){const d={...u,...r},h={};for(const y in d)u[y]!==void 0&&r[y]!==void 0&&(h[y]=aS(u[y])(u[y],r[y]));return y=>{for(const b in h)d[b]=h[b](y);return d}}function oC(u,r){const d=[],h={color:0,var:0,number:0};for(let y=0;y<r.values.length;y++){const b=r.types[y],S=u.indexes[b][h[b]],x=u.values[S]??0;d[y]=x,h[b]++}return d}const uC=(u,r)=>{const d=ns.createTransformer(r),h=zm(u),y=zm(r);return h.indexes.var.length===y.indexes.var.length&&h.indexes.color.length===y.indexes.color.length&&h.indexes.number.length>=y.indexes.number.length?nS.has(u)&&!y.values.length||nS.has(r)&&!h.values.length?aC(u,r):wm(VT(oC(h,y),y.values),d):(Bd(!0,`Complex values '${u}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Xy(u,r))};function YT(u,r,d){return typeof u=="number"&&typeof r=="number"&&typeof d=="number"?vn(u,r,d):aS(u)(u,r)}const rC=u=>{const r=({timestamp:d})=>u(d);return{start:(d=!0)=>rn.update(r,d),stop:()=>ts(r),now:()=>ba.isProcessing?ba.timestamp:$a.now()}},qT=(u,r,d=10)=>{let h="";const y=Math.max(Math.round(r/d),2);for(let b=0;b<y;b++)h+=Math.round(u(b/(y-1))*1e4)/1e4+", ";return`linear(${h.substring(0,h.length-2)})`},Qy=2e4;function lS(u){let r=0;const d=50;let h=u.next(r);for(;!h.done&&r<Qy;)r+=d,h=u.next(r);return r>=Qy?1/0:r}function sC(u,r=100,d){const h=d({...u,keyframes:[0,r]}),y=Math.min(lS(h),Qy);return{type:"keyframes",ease:b=>h.next(y*b).value/r,duration:Si(y)}}const cC=5;function GT(u,r,d){const h=Math.max(r-cC,0);return hT(d-u(h),r-h)}const bn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},iS=.001;function fC({duration:u=bn.duration,bounce:r=bn.bounce,velocity:d=bn.velocity,mass:h=bn.mass}){let y,b;Bd(u<=Jo(bn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let S=1-r;S=Ko(bn.minDamping,bn.maxDamping,S),u=Ko(bn.minDuration,bn.maxDuration,Si(u)),S<1?(y=A=>{const M=A*S,R=M*u,z=M-d,B=oS(A,S),lt=Math.exp(-R);return iS-z/B*lt},b=A=>{const R=A*S*u,z=R*d+d,B=Math.pow(S,2)*Math.pow(A,2)*u,lt=Math.exp(-R),ut=oS(Math.pow(A,2),S);return(-y(A)+iS>0?-1:1)*((z-B)*lt)/ut}):(y=A=>{const M=Math.exp(-A*u),R=(A-d)*u+1;return-iS+M*R},b=A=>{const M=Math.exp(-A*u),R=(d-A)*(u*u);return M*R});const x=5/u,w=hC(y,b,x);if(u=Jo(u),isNaN(w))return{stiffness:bn.stiffness,damping:bn.damping,duration:u};{const A=Math.pow(w,2)*h;return{stiffness:A,damping:S*2*Math.sqrt(h*A),duration:u}}}const dC=12;function hC(u,r,d){let h=d;for(let y=1;y<dC;y++)h=h-u(h)/r(h);return h}function oS(u,r){return u*Math.sqrt(1-r*r)}const pC=["duration","bounce"],mC=["stiffness","damping","mass"];function XT(u,r){return r.some(d=>u[d]!==void 0)}function gC(u){let r={velocity:bn.velocity,stiffness:bn.stiffness,damping:bn.damping,mass:bn.mass,isResolvedFromDuration:!1,...u};if(!XT(u,mC)&&XT(u,pC))if(u.visualDuration){const d=u.visualDuration,h=2*Math.PI/(d*1.2),y=h*h,b=2*Ko(.05,1,1-(u.bounce||0))*Math.sqrt(y);r={...r,mass:bn.mass,stiffness:y,damping:b}}else{const d=fC(u);r={...r,...d,mass:bn.mass},r.isResolvedFromDuration=!0}return r}function Zy(u=bn.visualDuration,r=bn.bounce){const d=typeof u!="object"?{visualDuration:u,keyframes:[0,1],bounce:r}:u;let{restSpeed:h,restDelta:y}=d;const b=d.keyframes[0],S=d.keyframes[d.keyframes.length-1],x={done:!1,value:b},{stiffness:w,damping:A,mass:M,duration:R,velocity:z,isResolvedFromDuration:B}=gC({...d,velocity:-Si(d.velocity||0)}),lt=z||0,ut=A/(2*Math.sqrt(w*M)),st=S-b,ft=Si(Math.sqrt(w/M)),bt=Math.abs(st)<5;h||(h=bt?bn.restSpeed.granular:bn.restSpeed.default),y||(y=bt?bn.restDelta.granular:bn.restDelta.default);let it;if(ut<1){const St=oS(ft,ut);it=Lt=>{const Tt=Math.exp(-ut*ft*Lt);return S-Tt*((lt+ut*ft*st)/St*Math.sin(St*Lt)+st*Math.cos(St*Lt))}}else if(ut===1)it=St=>S-Math.exp(-ft*St)*(st+(lt+ft*st)*St);else{const St=ft*Math.sqrt(ut*ut-1);it=Lt=>{const Tt=Math.exp(-ut*ft*Lt),Z=Math.min(St*Lt,300);return S-Tt*((lt+ut*ft*st)*Math.sinh(Z)+St*st*Math.cosh(Z))/St}}const At={calculatedDuration:B&&R||null,next:St=>{const Lt=it(St);if(B)x.done=St>=R;else{let Tt=St===0?lt:0;ut<1&&(Tt=St===0?Jo(lt):GT(it,St,Lt));const Z=Math.abs(Tt)<=h,vt=Math.abs(S-Lt)<=y;x.done=Z&&vt}return x.value=x.done?S:Lt,x},toString:()=>{const St=Math.min(lS(At),Qy),Lt=qT(Tt=>At.next(St*Tt).value,St,30);return St+"ms "+Lt},toTransition:()=>{}};return At}Zy.applyToOptions=u=>{const r=sC(u,100,Zy);return u.ease=r.ease,u.duration=Jo(r.duration),u.type="keyframes",u};function uS({keyframes:u,velocity:r=0,power:d=.8,timeConstant:h=325,bounceDamping:y=10,bounceStiffness:b=500,modifyTarget:S,min:x,max:w,restDelta:A=.5,restSpeed:M}){const R=u[0],z={done:!1,value:R},B=Z=>x!==void 0&&Z<x||w!==void 0&&Z>w,lt=Z=>x===void 0?w:w===void 0||Math.abs(x-Z)<Math.abs(w-Z)?x:w;let ut=d*r;const st=R+ut,ft=S===void 0?st:S(st);ft!==st&&(ut=ft-R);const bt=Z=>-ut*Math.exp(-Z/h),it=Z=>ft+bt(Z),At=Z=>{const vt=bt(Z),K=it(Z);z.done=Math.abs(vt)<=A,z.value=z.done?ft:K};let St,Lt;const Tt=Z=>{B(z.value)&&(St=Z,Lt=Zy({keyframes:[z.value,lt(z.value)],velocity:GT(it,Z,z.value),damping:y,stiffness:b,restDelta:A,restSpeed:M}))};return Tt(0),{calculatedDuration:null,next:Z=>{let vt=!1;return!Lt&&St===void 0&&(vt=!0,At(Z),Tt(Z)),St!==void 0&&Z>=St?Lt.next(Z-St):(!vt&&At(Z),z)}}}function yC(u,r,d){const h=[],y=d||qu.mix||YT,b=u.length-1;for(let S=0;S<b;S++){let x=y(u[S],u[S+1]);if(r){const w=Array.isArray(r)?r[S]||bi:r;x=wm(w,x)}h.push(x)}return h}function vC(u,r,{clamp:d=!0,ease:h,mixer:y}={}){const b=u.length;if(Yu(b===r.length,"Both input and output ranges must be the same length","range-length"),b===1)return()=>r[0];if(b===2&&r[0]===r[1])return()=>r[1];const S=u[0]===u[1];u[0]>u[b-1]&&(u=[...u].reverse(),r=[...r].reverse());const x=yC(r,h,y),w=x.length,A=M=>{if(S&&M<u[0])return r[0];let R=0;if(w>1)for(;R<u.length-2&&!(M<u[R+1]);R++);const z=Em(u[R],u[R+1],M);return x[R](z)};return d?M=>A(Ko(u[0],u[b-1],M)):A}function bC(u,r){const d=u[u.length-1];for(let h=1;h<=r;h++){const y=Em(0,r,h);u.push(vn(d,1,y))}}function SC(u){const r=[0];return bC(r,u.length-1),r}function xC(u,r){return u.map(d=>d*r)}function TC(u,r){return u.map(()=>r||wT).splice(0,u.length-1)}function Vd({duration:u=300,keyframes:r,times:d,ease:h="easeInOut"}){const y=jD(h)?h.map(RT):RT(h),b={done:!1,value:r[0]},S=xC(d&&d.length===r.length?d:SC(r),u),x=vC(S,r,{ease:Array.isArray(y)?y:TC(r,y)});return{calculatedDuration:u,next:w=>(b.value=x(w),b.done=w>=u,b)}}const wC=u=>u!==null;function rS(u,{repeat:r,repeatType:d="loop"},h,y=1){const b=u.filter(wC),x=y<0||r&&d!=="loop"&&r%2===1?0:b.length-1;return!x||h===void 0?b[x]:h}const EC={decay:uS,inertia:uS,tween:Vd,keyframes:Vd,spring:Zy};function QT(u){typeof u.type=="string"&&(u.type=EC[u.type])}class sS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,d){return this.finished.then(r,d)}}const AC=u=>u/100;class cS extends sS{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:d}=this.options;d&&d.updatedAt!==$a.now()&&this.tick($a.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;QT(r);const{type:d=Vd,repeat:h=0,repeatDelay:y=0,repeatType:b,velocity:S=0}=r;let{keyframes:x}=r;const w=d||Vd;process.env.NODE_ENV!=="production"&&w!==Vd&&Yu(x.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${x}`,"spring-two-frames"),w!==Vd&&typeof x[0]!="number"&&(this.mixKeyframes=wm(AC,YT(x[0],x[1])),x=[0,100]);const A=w({...r,keyframes:x});b==="mirror"&&(this.mirroredGenerator=w({...r,keyframes:[...x].reverse(),velocity:-S})),A.calculatedDuration===null&&(A.calculatedDuration=lS(A));const{calculatedDuration:M}=A;this.calculatedDuration=M,this.resolvedDuration=M+y,this.totalDuration=this.resolvedDuration*(h+1)-y,this.generator=A}updateTime(r){const d=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(r,d=!1){const{generator:h,totalDuration:y,mixKeyframes:b,mirroredGenerator:S,resolvedDuration:x,calculatedDuration:w}=this;if(this.startTime===null)return h.next(0);const{delay:A=0,keyframes:M,repeat:R,repeatType:z,repeatDelay:B,type:lt,onUpdate:ut,finalKeyframe:st}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-y/this.speed,this.startTime)),d?this.currentTime=r:this.updateTime(r);const ft=this.currentTime-A*(this.playbackSpeed>=0?1:-1),bt=this.playbackSpeed>=0?ft<0:ft>y;this.currentTime=Math.max(ft,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let it=this.currentTime,At=h;if(R){const Z=Math.min(this.currentTime,y)/x;let vt=Math.floor(Z),K=Z%1;!K&&Z>=1&&(K=1),K===1&&vt--,vt=Math.min(vt,R+1),vt%2&&(z==="reverse"?(K=1-K,B&&(K-=B/x)):z==="mirror"&&(At=S)),it=Ko(0,1,K)*x}const St=bt?{done:!1,value:M[0]}:At.next(it);b&&(St.value=b(St.value));let{done:Lt}=St;!bt&&w!==null&&(Lt=this.playbackSpeed>=0?this.currentTime>=y:this.currentTime<=0);const Tt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Lt);return Tt&<!==uS&&(St.value=rS(M,this.options,st,this.speed)),ut&&ut(St.value),Tt&&this.finish(),St}then(r,d){return this.finished.then(r,d)}get duration(){return Si(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Si(r)}get time(){return Si(this.currentTime)}set time(r){r=Jo(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime($a.now());const d=this.playbackSpeed!==r;this.playbackSpeed=r,d&&(this.time=Si(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=rC,startTime:d}=this.options;this.driver||(this.driver=r(y=>this.tick(y))),this.options.onPlay?.();const h=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=h):this.holdTime!==null?this.startTime=h-this.holdTime:this.startTime||(this.startTime=d??h),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime($a.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function RC(u){for(let r=1;r<u.length;r++)u[r]??(u[r]=u[r-1])}const Gc=u=>u*180/Math.PI,fS=u=>{const r=Gc(Math.atan2(u[1],u[0]));return dS(r)},DC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:u=>(Math.abs(u[0])+Math.abs(u[3]))/2,rotate:fS,rotateZ:fS,skewX:u=>Gc(Math.atan(u[1])),skewY:u=>Gc(Math.atan(u[2])),skew:u=>(Math.abs(u[1])+Math.abs(u[2]))/2},dS=u=>(u=u%360,u<0&&(u+=360),u),ZT=fS,KT=u=>Math.sqrt(u[0]*u[0]+u[1]*u[1]),JT=u=>Math.sqrt(u[4]*u[4]+u[5]*u[5]),CC={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:KT,scaleY:JT,scale:u=>(KT(u)+JT(u))/2,rotateX:u=>dS(Gc(Math.atan2(u[6],u[5]))),rotateY:u=>dS(Gc(Math.atan2(-u[2],u[0]))),rotateZ:ZT,rotate:ZT,skewX:u=>Gc(Math.atan(u[4])),skewY:u=>Gc(Math.atan(u[1])),skew:u=>(Math.abs(u[1])+Math.abs(u[4]))/2};function hS(u){return u.includes("scale")?1:0}function pS(u,r){if(!u||u==="none")return hS(r);const d=u.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let h,y;if(d)h=CC,y=d;else{const x=u.match(/^matrix\(([-\d.e\s,]+)\)$/u);h=DC,y=x}if(!y)return hS(r);const b=h[r],S=y[1].split(",").map(MC);return typeof b=="function"?b(S):S[b]}const zC=(u,r)=>{const{transform:d="none"}=getComputedStyle(u);return pS(d,r)};function MC(u){return parseFloat(u.trim())}const Yd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qd=new Set(Yd),$T=u=>u===Ld||u===Ot,OC=new Set(["x","y","z"]),_C=Yd.filter(u=>!OC.has(u));function UC(u){const r=[];return _C.forEach(d=>{const h=u.getValue(d);h!==void 0&&(r.push([d,h.get()]),h.set(d.startsWith("scale")?1:0))}),r}const as={width:({x:u},{paddingLeft:r="0",paddingRight:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),height:({y:u},{paddingTop:r="0",paddingBottom:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),top:(u,{top:r})=>parseFloat(r),left:(u,{left:r})=>parseFloat(r),bottom:({y:u},{top:r})=>parseFloat(r)+(u.max-u.min),right:({x:u},{left:r})=>parseFloat(r)+(u.max-u.min),x:(u,{transform:r})=>pS(r,"x"),y:(u,{transform:r})=>pS(r,"y")};as.translateX=as.x,as.translateY=as.y;const Xc=new Set;let mS=!1,gS=!1,yS=!1;function FT(){if(gS){const u=Array.from(Xc).filter(h=>h.needsMeasurement),r=new Set(u.map(h=>h.element)),d=new Map;r.forEach(h=>{const y=UC(h);y.length&&(d.set(h,y),h.render())}),u.forEach(h=>h.measureInitialState()),r.forEach(h=>{h.render();const y=d.get(h);y&&y.forEach(([b,S])=>{h.getValue(b)?.set(S)})}),u.forEach(h=>h.measureEndState()),u.forEach(h=>{h.suspendedScrollY!==void 0&&window.scrollTo(0,h.suspendedScrollY)})}gS=!1,mS=!1,Xc.forEach(u=>u.complete(yS)),Xc.clear()}function WT(){Xc.forEach(u=>{u.readKeyframes(),u.needsMeasurement&&(gS=!0)})}function jC(){yS=!0,WT(),FT(),yS=!1}class vS{constructor(r,d,h,y,b,S=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=d,this.name=h,this.motionValue=y,this.element=b,this.isAsync=S}scheduleResolve(){this.state="scheduled",this.isAsync?(Xc.add(this),mS||(mS=!0,rn.read(WT),rn.resolveKeyframes(FT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:d,element:h,motionValue:y}=this;if(r[0]===null){const b=y?.get(),S=r[r.length-1];if(b!==void 0)r[0]=b;else if(h&&d){const x=h.readValue(d,S);x!=null&&(r[0]=x)}r[0]===void 0&&(r[0]=S),y&&b===void 0&&y.set(r[0])}RC(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Xc.delete(this)}cancel(){this.state==="scheduled"&&(Xc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const NC=u=>u.startsWith("--");function HC(u,r,d){NC(r)?u.style.setProperty(r,d):u.style[r]=d}const BC=G1(()=>window.ScrollTimeline!==void 0),LC={};function kC(u,r){const d=G1(u);return()=>LC[r]??d()}const PT=kC(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Mm=([u,r,d,h])=>`cubic-bezier(${u}, ${r}, ${d}, ${h})`,IT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mm([0,.65,.55,1]),circOut:Mm([.55,0,1,.45]),backIn:Mm([.31,.01,.66,-.59]),backOut:Mm([.33,1.53,.69,.99])};function tw(u,r){if(u)return typeof u=="function"?PT()?qT(u,r):"ease-out":ET(u)?Mm(u):Array.isArray(u)?u.map(d=>tw(d,r)||IT.easeOut):IT[u]}function VC(u,r,d,{delay:h=0,duration:y=300,repeat:b=0,repeatType:S="loop",ease:x="easeOut",times:w}={},A=void 0){const M={[r]:d};w&&(M.offset=w);const R=tw(x,y);Array.isArray(R)&&(M.easing=R);const z={delay:h,duration:y,easing:Array.isArray(R)?"linear":R,fill:"both",iterations:b+1,direction:S==="reverse"?"alternate":"normal"};return A&&(z.pseudoElement=A),u.animate(M,z)}function ew(u){return typeof u=="function"&&"applyToOptions"in u}function YC({type:u,...r}){return ew(u)&&PT()?u.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class qC extends sS{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:d,name:h,keyframes:y,pseudoElement:b,allowFlatten:S=!1,finalKeyframe:x,onComplete:w}=r;this.isPseudoElement=!!b,this.allowFlatten=S,this.options=r,Yu(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const A=YC(r);this.animation=VC(d,h,y,A,b),A.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!b){const M=rS(y,this.options,x,this.speed);this.updateMotionValue?this.updateMotionValue(M):HC(d,h,M),this.animation.cancel()}w?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return Si(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Si(r)}get time(){return Si(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Jo(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&BC()?(this.animation.timeline=r,bi):d(this)}}const nw={anticipate:ST,backInOut:bT,circInOut:TT};function GC(u){return u in nw}function XC(u){typeof u.ease=="string"&&GC(u.ease)&&(u.ease=nw[u.ease])}const bS=10;class QC extends qC{constructor(r){XC(r),QT(r),super(r),r.startTime!==void 0&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:d,onUpdate:h,onComplete:y,element:b,...S}=this.options;if(!d)return;if(r!==void 0){d.set(r);return}const x=new cS({...S,autoplay:!1}),w=Math.max(bS,$a.now()-this.startTime),A=Ko(0,bS,w-bS);d.setWithVelocity(x.sample(Math.max(0,w-A)).value,x.sample(w).value,A),x.stop()}}const aw=(u,r)=>r==="zIndex"?!1:!!(typeof u=="number"||Array.isArray(u)||typeof u=="string"&&(ns.test(u)||u==="0")&&!u.startsWith("url("));function ZC(u){const r=u[0];if(u.length===1)return!0;for(let d=0;d<u.length;d++)if(u[d]!==r)return!0}function KC(u,r,d,h){const y=u[0];if(y===null)return!1;if(r==="display"||r==="visibility")return!0;const b=u[u.length-1],S=aw(y,r),x=aw(b,r);return Bd(S===x,`You are trying to animate ${r} from "${y}" to "${b}". "${S?b:y}" is not an animatable value.`,"value-not-animatable"),!S||!x?!1:ZC(u)||(d==="spring"||ew(d))&&h}function SS(u){u.duration=0,u.type="keyframes"}const JC=new Set(["opacity","clipPath","filter","transform"]),$C=G1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function FC(u){const{motionValue:r,name:d,repeatDelay:h,repeatType:y,damping:b,type:S}=u;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:w,transformTemplate:A}=r.owner.getProps();return $C()&&d&&JC.has(d)&&(d!=="transform"||!A)&&!w&&!h&&y!=="mirror"&&b!==0&&S!=="inertia"}const WC=40;class PC extends sS{constructor({autoplay:r=!0,delay:d=0,type:h="keyframes",repeat:y=0,repeatDelay:b=0,repeatType:S="loop",keyframes:x,name:w,motionValue:A,element:M,...R}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=$a.now();const z={autoplay:r,delay:d,type:h,repeat:y,repeatDelay:b,repeatType:S,name:w,motionValue:A,element:M,...R},B=M?.KeyframeResolver||vS;this.keyframeResolver=new B(x,(lt,ut,st)=>this.onKeyframesResolved(lt,ut,z,!st),w,A,M),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,d,h,y){this.keyframeResolver=void 0;const{name:b,type:S,velocity:x,delay:w,isHandoff:A,onUpdate:M}=h;this.resolvedAt=$a.now(),KC(r,b,S,x)||((qu.instantAnimations||!w)&&M?.(rS(r,h,d)),r[0]=r[r.length-1],SS(h),h.repeat=0);const z={startTime:y?this.resolvedAt?this.resolvedAt-this.createdAt>WC?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...h,keyframes:r},B=!A&&FC(z)?new QC({...z,element:z.motionValue.owner.current}):new cS(z);B.finished.then(()=>this.notifyFinished()).catch(bi),this.pendingTimeline&&(this.stopTimeline=B.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=B}get finished(){return this._animation?this.animation.finished:this._finished}then(r,d){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),jC()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const IC=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function tz(u){const r=IC.exec(u);if(!r)return[,];const[,d,h,y]=r;return[`--${d??h}`,y]}const ez=4;function lw(u,r,d=1){Yu(d<=ez,`Max CSS variable fallback depth detected in property "${u}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[h,y]=tz(u);if(!h)return;const b=window.getComputedStyle(r).getPropertyValue(h);if(b){const S=b.trim();return cT(S)?parseFloat(S):S}return $1(y)?lw(y,r,d+1):y}function xS(u,r){return u?.[r]??u?.default??u}const nz={type:"spring",stiffness:500,damping:25,restSpeed:10},az=u=>({type:"spring",stiffness:550,damping:u===0?2*Math.sqrt(550):30,restSpeed:10}),lz={type:"keyframes",duration:.8},iz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oz=(u,{keyframes:r})=>r.length>2?lz:qd.has(u)?u.startsWith("scale")?az(r[1]):nz:iz;function uz({when:u,delay:r,delayChildren:d,staggerChildren:h,staggerDirection:y,repeat:b,repeatType:S,repeatDelay:x,from:w,elapsed:A,...M}){return!!Object.keys(M).length}const rz=u=>u!==null;function sz(u,{repeat:r,repeatType:d="loop"},h){const y=u.filter(rz),b=r&&d!=="loop"&&r%2===1?0:y.length-1;return y[b]}function iw(u,r,d,h=0,y=1){const b=Array.from(u).sort((A,M)=>A.sortNodePosition(M)).indexOf(r),S=u.size,x=(S-1)*h;return typeof d=="function"?d(b,S):y===1?b*h:x-b*h}const TS=(u,r,d,h={},y,b)=>S=>{const x=xS(h,u)||{},w=x.delay||h.delay||0;let{elapsed:A=0}=h;A=A-Jo(w);const M={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:r.getVelocity(),...x,delay:-A,onUpdate:z=>{r.set(z),x.onUpdate&&x.onUpdate(z)},onComplete:()=>{S(),x.onComplete&&x.onComplete()},name:u,motionValue:r,element:b?void 0:y};uz(x)||Object.assign(M,oz(u,M)),M.duration&&(M.duration=Jo(M.duration)),M.repeatDelay&&(M.repeatDelay=Jo(M.repeatDelay)),M.from!==void 0&&(M.keyframes[0]=M.from);let R=!1;if((M.type===!1||M.duration===0&&!M.repeatDelay)&&(SS(M),M.delay===0&&(R=!0)),(qu.instantAnimations||qu.skipAnimations)&&(R=!0,SS(M),M.delay=0),M.allowFlatten=!x.type&&!x.ease,R&&!b&&r.get()!==void 0){const z=sz(M.keyframes,x);if(z!==void 0){rn.update(()=>{M.onUpdate(z),M.onComplete()});return}}return x.isSync?new cS(M):new PC(M)},ow=new Set(["width","height","top","left","right","bottom",...Yd]),uw=30,cz=u=>!isNaN(parseFloat(u));class fz{constructor(r,d={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=h=>{const y=$a.now();if(this.updatedAt!==y&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(h),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const b of this.dependents)b.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=d.owner}setCurrent(r){this.current=r,this.updatedAt=$a.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=cz(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return process.env.NODE_ENV!=="production"&&Q1(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,d){this.events[r]||(this.events[r]=new X1);const h=this.events[r].add(d);return r==="change"?()=>{h(),rn.read(()=>{this.events.change.getSize()||this.stop()})}:h}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,d){this.passiveEffect=r,this.stopPassiveEffect=d}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,d,h){this.set(d),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-h}jump(r,d=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=$a.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>uw)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,uw);return hT(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(r){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=r(d),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gd(u,r){return new fz(u,r)}function rw(u){const r=[{},{}];return u?.values.forEach((d,h)=>{r[0][h]=d.get(),r[1][h]=d.getVelocity()}),r}function wS(u,r,d,h){if(typeof r=="function"){const[y,b]=rw(h);r=r(d!==void 0?d:u.custom,y,b)}if(typeof r=="string"&&(r=u.variants&&u.variants[r]),typeof r=="function"){const[y,b]=rw(h);r=r(d!==void 0?d:u.custom,y,b)}return r}function Xd(u,r,d){const h=u.getProps();return wS(h,r,d!==void 0?d:h.custom,u)}const ES=u=>Array.isArray(u);function dz(u,r,d){u.hasValue(r)?u.getValue(r).set(d):u.addValue(r,Gd(d))}function hz(u){return ES(u)?u[u.length-1]||0:u}function pz(u,r){const d=Xd(u,r);let{transitionEnd:h={},transition:y={},...b}=d||{};b={...b,...h};for(const S in b){const x=hz(b[S]);dz(u,S,x)}}const ka=u=>!!(u&&u.getVelocity);function mz(u){return!!(ka(u)&&u.add)}function AS(u,r){const d=u.getValue("willChange");if(mz(d))return d.add(r);if(!d&&qu.WillChange){const h=new qu.WillChange("auto");u.addValue("willChange",h),h.add(r)}}function RS(u){return u.replace(/([A-Z])/g,r=>`-${r.toLowerCase()}`)}const sw="data-"+RS("framerAppearId");function cw(u){return u.props[sw]}function gz({protectedKeys:u,needsAnimating:r},d){const h=u.hasOwnProperty(d)&&r[d]!==!0;return r[d]=!1,h}function fw(u,r,{delay:d=0,transitionOverride:h,type:y}={}){let{transition:b=u.getDefaultTransition(),transitionEnd:S,...x}=r;h&&(b=h);const w=[],A=y&&u.animationState&&u.animationState.getState()[y];for(const M in x){const R=u.getValue(M,u.latestValues[M]??null),z=x[M];if(z===void 0||A&&gz(A,M))continue;const B={delay:d,...xS(b||{},M)},lt=R.get();if(lt!==void 0&&!R.isAnimating&&!Array.isArray(z)&&z===lt&&!B.velocity)continue;let ut=!1;if(window.MotionHandoffAnimation){const ft=cw(u);if(ft){const bt=window.MotionHandoffAnimation(ft,M,rn);bt!==null&&(B.startTime=bt,ut=!0)}}AS(u,M),R.start(TS(M,R,z,u.shouldReduceMotion&&ow.has(M)?{type:!1}:B,u,ut));const st=R.animation;st&&w.push(st)}return S&&Promise.all(w).then(()=>{rn.update(()=>{S&&pz(u,S)})}),w}function DS(u,r,d={}){const h=Xd(u,r,d.type==="exit"?u.presenceContext?.custom:void 0);let{transition:y=u.getDefaultTransition()||{}}=h||{};d.transitionOverride&&(y=d.transitionOverride);const b=h?()=>Promise.all(fw(u,h,d)):()=>Promise.resolve(),S=u.variantChildren&&u.variantChildren.size?(w=0)=>{const{delayChildren:A=0,staggerChildren:M,staggerDirection:R}=y;return yz(u,r,w,A,M,R,d)}:()=>Promise.resolve(),{when:x}=y;if(x){const[w,A]=x==="beforeChildren"?[b,S]:[S,b];return w().then(()=>A())}else return Promise.all([b(),S(d.delay)])}function yz(u,r,d=0,h=0,y=0,b=1,S){const x=[];for(const w of u.variantChildren)w.notify("AnimationStart",r),x.push(DS(w,r,{...S,delay:d+(typeof h=="function"?0:h)+iw(u.variantChildren,w,h,y,b)}).then(()=>w.notify("AnimationComplete",r)));return Promise.all(x)}function vz(u,r,d={}){u.notify("AnimationStart",r);let h;if(Array.isArray(r)){const y=r.map(b=>DS(u,b,d));h=Promise.all(y)}else if(typeof r=="string")h=DS(u,r,d);else{const y=typeof r=="function"?Xd(u,r,d.custom):r;h=Promise.all(fw(u,y,d))}return h.then(()=>{u.notify("AnimationComplete",r)})}const bz={test:u=>u==="auto",parse:u=>u},dw=u=>r=>r.test(u),hw=[Ld,Ot,$o,es,ZD,QD,bz],pw=u=>hw.find(dw(u));function Sz(u){return typeof u=="number"?u===0:u!==null?u==="none"||u==="0"||dT(u):!0}const xz=new Set(["brightness","contrast","saturate","opacity"]);function Tz(u){const[r,d]=u.slice(0,-1).split("(");if(r==="drop-shadow")return u;const[h]=d.match(F1)||[];if(!h)return u;const y=d.replace(h,"");let b=xz.has(r)?1:0;return h!==d&&(b*=100),r+"("+b+y+")"}const wz=/\b([a-z-]*)\(.*?\)/gu,CS={...ns,getAnimatableNone:u=>{const r=u.match(wz);return r?r.map(Tz).join(" "):u}},mw={...Ld,transform:Math.round},zS={borderWidth:Ot,borderTopWidth:Ot,borderRightWidth:Ot,borderBottomWidth:Ot,borderLeftWidth:Ot,borderRadius:Ot,radius:Ot,borderTopLeftRadius:Ot,borderTopRightRadius:Ot,borderBottomRightRadius:Ot,borderBottomLeftRadius:Ot,width:Ot,maxWidth:Ot,height:Ot,maxHeight:Ot,top:Ot,right:Ot,bottom:Ot,left:Ot,inset:Ot,insetBlock:Ot,insetBlockStart:Ot,insetBlockEnd:Ot,insetInline:Ot,insetInlineStart:Ot,insetInlineEnd:Ot,padding:Ot,paddingTop:Ot,paddingRight:Ot,paddingBottom:Ot,paddingLeft:Ot,paddingBlock:Ot,paddingBlockStart:Ot,paddingBlockEnd:Ot,paddingInline:Ot,paddingInlineStart:Ot,paddingInlineEnd:Ot,margin:Ot,marginTop:Ot,marginRight:Ot,marginBottom:Ot,marginLeft:Ot,marginBlock:Ot,marginBlockStart:Ot,marginBlockEnd:Ot,marginInline:Ot,marginInlineStart:Ot,marginInlineEnd:Ot,backgroundPositionX:Ot,backgroundPositionY:Ot,...{rotate:es,rotateX:es,rotateY:es,rotateZ:es,scale:Gy,scaleX:Gy,scaleY:Gy,scaleZ:Gy,skew:es,skewX:es,skewY:es,distance:Ot,translateX:Ot,translateY:Ot,translateZ:Ot,x:Ot,y:Ot,z:Ot,perspective:Ot,transformPerspective:Ot,opacity:Rm,originX:_T,originY:_T,originZ:Ot},zIndex:mw,fillOpacity:Rm,strokeOpacity:Rm,numOctaves:mw},Ez={...zS,color:kn,backgroundColor:kn,outlineColor:kn,fill:kn,stroke:kn,borderColor:kn,borderTopColor:kn,borderRightColor:kn,borderBottomColor:kn,borderLeftColor:kn,filter:CS,WebkitFilter:CS},gw=u=>Ez[u];function yw(u,r){let d=gw(u);return d!==CS&&(d=ns),d.getAnimatableNone?d.getAnimatableNone(r):void 0}const Az=new Set(["auto","none","0"]);function Rz(u,r,d){let h=0,y;for(;h<u.length&&!y;){const b=u[h];typeof b=="string"&&!Az.has(b)&&zm(b).values.length&&(y=u[h]),h++}if(y&&d)for(const b of r)u[b]=yw(d,y)}class Dz extends vS{constructor(r,d,h,y,b){super(r,d,h,y,b,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:d,name:h}=this;if(!d||!d.current)return;super.readKeyframes();for(let M=0;M<r.length;M++){let R=r[M];if(typeof R=="string"&&(R=R.trim(),$1(R))){const z=lw(R,d.current);z!==void 0&&(r[M]=z),M===r.length-1&&(this.finalKeyframe=R)}}if(this.resolveNoneKeyframes(),!ow.has(h)||r.length!==2)return;const[y,b]=r,S=pw(y),x=pw(b),w=MT(y),A=MT(b);if(w!==A&&as[h]){this.needsMeasurement=!0;return}if(S!==x)if($T(S)&&$T(x))for(let M=0;M<r.length;M++){const R=r[M];typeof R=="string"&&(r[M]=parseFloat(R))}else as[h]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:d}=this,h=[];for(let y=0;y<r.length;y++)(r[y]===null||Sz(r[y]))&&h.push(y);h.length&&Rz(r,h,d)}measureInitialState(){const{element:r,unresolvedKeyframes:d,name:h}=this;if(!r||!r.current)return;h==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=as[h](r.measureViewportBox(),window.getComputedStyle(r.current)),d[0]=this.measuredOrigin;const y=d[d.length-1];y!==void 0&&r.getValue(h,y).jump(y,!1)}measureEndState(){const{element:r,name:d,unresolvedKeyframes:h}=this;if(!r||!r.current)return;const y=r.getValue(d);y&&y.jump(this.measuredOrigin,!1);const b=h.length-1,S=h[b];h[b]=as[d](r.measureViewportBox(),window.getComputedStyle(r.current)),S!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=S),this.removedTransforms?.length&&this.removedTransforms.forEach(([x,w])=>{r.getValue(x).set(w)}),this.resolveNoneKeyframes()}}function Cz(u,r,d){if(u instanceof EventTarget)return[u];if(typeof u=="string"){let h=document;const y=d?.[u]??h.querySelectorAll(u);return y?Array.from(y):[]}return Array.from(u)}const vw=(u,r)=>r&&typeof u=="number"?r.transform(u):u;function bw(u){return fT(u)&&"offsetHeight"in u}const{schedule:MS}=DT(queueMicrotask,!1),mo={x:!1,y:!1};function Sw(){return mo.x||mo.y}function zz(u){return u==="x"||u==="y"?mo[u]?null:(mo[u]=!0,()=>{mo[u]=!1}):mo.x||mo.y?null:(mo.x=mo.y=!0,()=>{mo.x=mo.y=!1})}function xw(u,r){const d=Cz(u),h=new AbortController,y={passive:!0,...r,signal:h.signal};return[d,y,()=>h.abort()]}function Tw(u){return!(u.pointerType==="touch"||Sw())}function Mz(u,r,d={}){const[h,y,b]=xw(u,d),S=x=>{if(!Tw(x))return;const{target:w}=x,A=r(w,x);if(typeof A!="function"||!w)return;const M=R=>{Tw(R)&&(A(R),w.removeEventListener("pointerleave",M))};w.addEventListener("pointerleave",M,y)};return h.forEach(x=>{x.addEventListener("pointerenter",S,y)}),b}const ww=(u,r)=>r?u===r?!0:ww(u,r.parentElement):!1,OS=u=>u.pointerType==="mouse"?typeof u.button!="number"||u.button<=0:u.isPrimary!==!1,Oz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Ew(u){return Oz.has(u.tagName)||u.isContentEditable===!0}const Ky=new WeakSet;function Aw(u){return r=>{r.key==="Enter"&&u(r)}}function _S(u,r){u.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const _z=(u,r)=>{const d=u.currentTarget;if(!d)return;const h=Aw(()=>{if(Ky.has(d))return;_S(d,"down");const y=Aw(()=>{_S(d,"up")}),b=()=>_S(d,"cancel");d.addEventListener("keyup",y,r),d.addEventListener("blur",b,r)});d.addEventListener("keydown",h,r),d.addEventListener("blur",()=>d.removeEventListener("keydown",h),r)};function Rw(u){return OS(u)&&!Sw()}function Uz(u,r,d={}){const[h,y,b]=xw(u,d),S=x=>{const w=x.currentTarget;if(!Rw(x))return;Ky.add(w);const A=r(w,x),M=(B,lt)=>{window.removeEventListener("pointerup",R),window.removeEventListener("pointercancel",z),Ky.has(w)&&Ky.delete(w),Rw(B)&&typeof A=="function"&&A(B,{success:lt})},R=B=>{M(B,w===window||w===document||d.useGlobalTarget||ww(w,B.target))},z=B=>{M(B,!1)};window.addEventListener("pointerup",R,y),window.addEventListener("pointercancel",z,y)};return h.forEach(x=>{(d.useGlobalTarget?window:x).addEventListener("pointerdown",S,y),bw(x)&&(x.addEventListener("focus",A=>_z(A,y)),!Ew(x)&&!x.hasAttribute("tabindex")&&(x.tabIndex=0))}),b}function Dw(u){return fT(u)&&"ownerSVGElement"in u}function jz(u){return Dw(u)&&u.tagName==="svg"}const Nz=[...hw,kn,ns],Hz=u=>Nz.find(dw(u)),Cw=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qd=()=>({x:Cw(),y:Cw()}),zw=()=>({min:0,max:0}),na=()=>({x:zw(),y:zw()}),US={current:null},Mw={current:!1},Bz=typeof window<"u";function Lz(){if(Mw.current=!0,!!Bz)if(window.matchMedia){const u=window.matchMedia("(prefers-reduced-motion)"),r=()=>US.current=u.matches;u.addEventListener("change",r),r()}else US.current=!1}const kz=new WeakMap;function Jy(u){return u!==null&&typeof u=="object"&&typeof u.start=="function"}function Om(u){return typeof u=="string"||Array.isArray(u)}const jS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],NS=["initial",...jS];function $y(u){return Jy(u.animate)||NS.some(r=>Om(u[r]))}function Ow(u){return!!($y(u)||u.variants)}function Vz(u,r,d){for(const h in r){const y=r[h],b=d[h];if(ka(y))u.addValue(h,y);else if(ka(b))u.addValue(h,Gd(y,{owner:u}));else if(b!==y)if(u.hasValue(h)){const S=u.getValue(h);S.liveStyle===!0?S.jump(y):S.hasAnimated||S.set(y)}else{const S=u.getStaticValue(h);u.addValue(h,Gd(S!==void 0?S:y,{owner:u}))}}for(const h in d)r[h]===void 0&&u.removeValue(h);return r}const _w=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Fy={};function Uw(u){Fy=u}function Yz(){return Fy}class qz{scrapeMotionValuesFromProps(r,d,h){return{}}constructor({parent:r,props:d,presenceContext:h,reducedMotionConfig:y,blockInitialAnimation:b,visualState:S},x={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=vS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const z=$a.now();this.renderScheduledAt<z&&(this.renderScheduledAt=z,rn.render(this.render,!1,!0))};const{latestValues:w,renderState:A}=S;this.latestValues=w,this.baseTarget={...w},this.initialValues=d.initial?{...w}:{},this.renderState=A,this.parent=r,this.props=d,this.presenceContext=h,this.depth=r?r.depth+1:0,this.reducedMotionConfig=y,this.options=x,this.blockInitialAnimation=!!b,this.isControllingVariants=$y(d),this.isVariantNode=Ow(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:M,...R}=this.scrapeMotionValuesFromProps(d,{},this);for(const z in R){const B=R[z];w[z]!==void 0&&ka(B)&&B.set(w[z])}}mount(r){this.current=r,kz.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((d,h)=>this.bindToMotionValue(h,d)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Mw.current||Lz(),this.shouldReduceMotion=US.current),process.env.NODE_ENV!=="production"&&Q1(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ts(this.notifyUpdate),ts(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const d=this.features[r];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,d){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const h=qd.has(r);h&&this.onBindTransform&&this.onBindTransform();const y=d.on("change",S=>{this.latestValues[r]=S,this.props.onUpdate&&rn.preRender(this.notifyUpdate),h&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let b;typeof window<"u"&&window.MotionCheckAppearSync&&(b=window.MotionCheckAppearSync(this,r,d)),this.valueSubscriptions.set(r,()=>{y(),b&&b(),d.owner&&d.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Fy){const d=Fy[r];if(!d)continue;const{isEnabled:h,Feature:y}=d;if(!this.features[r]&&y&&h(this.props)&&(this.features[r]=new y(this)),this.features[r]){const b=this.features[r];b.isMounted?b.update():(b.mount(),b.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):na()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,d){this.latestValues[r]=d}update(r,d){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let h=0;h<_w.length;h++){const y=_w[h];this.propEventSubscriptions[y]&&(this.propEventSubscriptions[y](),delete this.propEventSubscriptions[y]);const b="on"+y,S=r[b];S&&(this.propEventSubscriptions[y]=this.on(y,S))}this.prevMotionValues=Vz(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(r),()=>d.variantChildren.delete(r)}addValue(r,d){const h=this.values.get(r);d!==h&&(h&&this.removeValue(r),this.bindToMotionValue(r,d),this.values.set(r,d),this.latestValues[r]=d.get())}removeValue(r){this.values.delete(r);const d=this.valueSubscriptions.get(r);d&&(d(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,d){if(this.props.values&&this.props.values[r])return this.props.values[r];let h=this.values.get(r);return h===void 0&&d!==void 0&&(h=Gd(d===null?void 0:d,{owner:this}),this.addValue(r,h)),h}readValue(r,d){let h=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return h!=null&&(typeof h=="string"&&(cT(h)||dT(h))?h=parseFloat(h):!Hz(h)&&ns.test(d)&&(h=yw(r,d)),this.setBaseTarget(r,ka(h)?h.get():h)),ka(h)?h.get():h}setBaseTarget(r,d){this.baseTarget[r]=d}getBaseTarget(r){const{initial:d}=this.props;let h;if(typeof d=="string"||typeof d=="object"){const b=wS(this.props,d,this.presenceContext?.custom);b&&(h=b[r])}if(d&&h!==void 0)return h;const y=this.getBaseTargetFromProps(this.props,r);return y!==void 0&&!ka(y)?y:this.initialValues[r]!==void 0&&h===void 0?void 0:this.baseTarget[r]}on(r,d){return this.events[r]||(this.events[r]=new X1),this.events[r].add(d)}notify(r,...d){this.events[r]&&this.events[r].notify(...d)}scheduleRenderMicrotask(){MS.render(this.render)}}class ls{constructor(r){this.isMounted=!1,this.node=r}update(){}}class jw extends qz{constructor(){super(...arguments),this.KeyframeResolver=Dz}sortInstanceNodePosition(r,d){return r.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(r,d){const h=r.style;return h?h[d]:void 0}removeValueFromRenderState(r,{vars:d,style:h}){delete d[r],delete h[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;ka(r)&&(this.childSubscription=r.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function Nw({top:u,left:r,right:d,bottom:h}){return{x:{min:r,max:d},y:{min:u,max:h}}}function Gz({x:u,y:r}){return{top:r.min,right:u.max,bottom:r.max,left:u.min}}function Xz(u,r){if(!r)return u;const d=r({x:u.left,y:u.top}),h=r({x:u.right,y:u.bottom});return{top:d.y,left:d.x,bottom:h.y,right:h.x}}function HS(u){return u===void 0||u===1}function BS({scale:u,scaleX:r,scaleY:d}){return!HS(u)||!HS(r)||!HS(d)}function Qc(u){return BS(u)||Hw(u)||u.z||u.rotate||u.rotateX||u.rotateY||u.skewX||u.skewY}function Hw(u){return Bw(u.x)||Bw(u.y)}function Bw(u){return u&&u!=="0%"}function Wy(u,r,d){const h=u-d,y=r*h;return d+y}function Lw(u,r,d,h,y){return y!==void 0&&(u=Wy(u,y,h)),Wy(u,d,h)+r}function LS(u,r=0,d=1,h,y){u.min=Lw(u.min,r,d,h,y),u.max=Lw(u.max,r,d,h,y)}function kw(u,{x:r,y:d}){LS(u.x,r.translate,r.scale,r.originPoint),LS(u.y,d.translate,d.scale,d.originPoint)}const Vw=.999999999999,Yw=1.0000000000001;function Qz(u,r,d,h=!1){const y=d.length;if(!y)return;r.x=r.y=1;let b,S;for(let x=0;x<y;x++){b=d[x],S=b.projectionDelta;const{visualElement:w}=b.options;w&&w.props.style&&w.props.style.display==="contents"||(h&&b.options.layoutScroll&&b.scroll&&b!==b.root&&Kd(u,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),S&&(r.x*=S.x.scale,r.y*=S.y.scale,kw(u,S)),h&&Qc(b.latestValues)&&Kd(u,b.latestValues))}r.x<Yw&&r.x>Vw&&(r.x=1),r.y<Yw&&r.y>Vw&&(r.y=1)}function Zd(u,r){u.min=u.min+r,u.max=u.max+r}function qw(u,r,d,h,y=.5){const b=vn(u.min,u.max,y);LS(u,r,d,b,h)}function Kd(u,r){qw(u.x,r.x,r.scaleX,r.scale,r.originX),qw(u.y,r.y,r.scaleY,r.scale,r.originY)}function Gw(u,r){return Nw(Xz(u.getBoundingClientRect(),r))}function Zz(u,r,d){const h=Gw(u,d),{scroll:y}=r;return y&&(Zd(h.x,y.offset.x),Zd(h.y,y.offset.y)),h}const Kz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Jz=Yd.length;function $z(u,r,d){let h="",y=!0;for(let b=0;b<Jz;b++){const S=Yd[b],x=u[S];if(x===void 0)continue;let w=!0;if(typeof x=="number"?w=x===(S.startsWith("scale")?1:0):w=parseFloat(x)===0,!w||d){const A=vw(x,zS[S]);if(!w){y=!1;const M=Kz[S]||S;h+=`${M}(${A}) `}d&&(r[S]=A)}}return h=h.trim(),d?h=d(r,y?"":h):y&&(h="none"),h}function kS(u,r,d){const{style:h,vars:y,transformOrigin:b}=u;let S=!1,x=!1;for(const w in r){const A=r[w];if(qd.has(w)){S=!0;continue}else if(zT(w)){y[w]=A;continue}else{const M=vw(A,zS[w]);w.startsWith("origin")?(x=!0,b[w]=M):h[w]=M}}if(r.transform||(S||d?h.transform=$z(r,u.transform,d):h.transform&&(h.transform="none")),x){const{originX:w="50%",originY:A="50%",originZ:M=0}=b;h.transformOrigin=`${w} ${A} ${M}`}}function Xw(u,{style:r,vars:d},h,y){const b=u.style;let S;for(S in r)b[S]=r[S];y?.applyProjectionStyles(b,h);for(S in d)b.setProperty(S,d[S])}function Qw(u,r){return r.max===r.min?0:u/(r.max-r.min)*100}const _m={correct:(u,r)=>{if(!r.target)return u;if(typeof u=="string")if(Ot.test(u))u=parseFloat(u);else return u;const d=Qw(u,r.target.x),h=Qw(u,r.target.y);return`${d}% ${h}%`}},Fz={correct:(u,{treeScale:r,projectionDelta:d})=>{const h=u,y=ns.parse(u);if(y.length>5)return h;const b=ns.createTransformer(u),S=typeof y[0]!="number"?1:0,x=d.x.scale*r.x,w=d.y.scale*r.y;y[0+S]/=x,y[1+S]/=w;const A=vn(x,w,.5);return typeof y[2+S]=="number"&&(y[2+S]/=A),typeof y[3+S]=="number"&&(y[3+S]/=A),b(y)}},VS={borderRadius:{..._m,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_m,borderTopRightRadius:_m,borderBottomLeftRadius:_m,borderBottomRightRadius:_m,boxShadow:Fz};function Zw(u,{layout:r,layoutId:d}){return qd.has(u)||u.startsWith("origin")||(r||d!==void 0)&&(!!VS[u]||u==="opacity")}function YS(u,r,d){const h=u.style,y=r?.style,b={};if(!h)return b;for(const S in h)(ka(h[S])||y&&ka(y[S])||Zw(S,u)||d?.getValue(S)?.liveStyle!==void 0)&&(b[S]=h[S]);return b}function Wz(u){return window.getComputedStyle(u)}class Pz extends jw{constructor(){super(...arguments),this.type="html",this.renderInstance=Xw}readValueFromInstance(r,d){if(qd.has(d))return this.projection?.isProjecting?hS(d):zC(r,d);{const h=Wz(r),y=(zT(d)?h.getPropertyValue(d):h[d])||0;return typeof y=="string"?y.trim():y}}measureInstanceViewportBox(r,{transformPagePoint:d}){return Gw(r,d)}build(r,d,h){kS(r,d,h.transformTemplate)}scrapeMotionValuesFromProps(r,d,h){return YS(r,d,h)}}const Iz={offset:"stroke-dashoffset",array:"stroke-dasharray"},t3={offset:"strokeDashoffset",array:"strokeDasharray"};function e3(u,r,d=1,h=0,y=!0){u.pathLength=1;const b=y?Iz:t3;u[b.offset]=Ot.transform(-h);const S=Ot.transform(r),x=Ot.transform(d);u[b.array]=`${S} ${x}`}const n3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Kw(u,{attrX:r,attrY:d,attrScale:h,pathLength:y,pathSpacing:b=1,pathOffset:S=0,...x},w,A,M){if(kS(u,x,A),w){u.style.viewBox&&(u.attrs.viewBox=u.style.viewBox);return}u.attrs=u.style,u.style={};const{attrs:R,style:z}=u;R.transform&&(z.transform=R.transform,delete R.transform),(z.transform||R.transformOrigin)&&(z.transformOrigin=R.transformOrigin??"50% 50%",delete R.transformOrigin),z.transform&&(z.transformBox=M?.transformBox??"fill-box",delete R.transformBox);for(const B of n3)R[B]!==void 0&&(z[B]=R[B],delete R[B]);r!==void 0&&(R.x=r),d!==void 0&&(R.y=d),h!==void 0&&(R.scale=h),y!==void 0&&e3(R,y,b,S,!1)}const Jw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),$w=u=>typeof u=="string"&&u.toLowerCase()==="svg";function a3(u,r,d,h){Xw(u,r,void 0,h);for(const y in r.attrs)u.setAttribute(Jw.has(y)?y:RS(y),r.attrs[y])}function Fw(u,r,d){const h=YS(u,r,d);for(const y in u)if(ka(u[y])||ka(r[y])){const b=Yd.indexOf(y)!==-1?"attr"+y.charAt(0).toUpperCase()+y.substring(1):y;h[b]=u[y]}return h}class l3 extends jw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=na}getBaseTargetFromProps(r,d){return r[d]}readValueFromInstance(r,d){if(qd.has(d)){const h=gw(d);return h&&h.default||0}return d=Jw.has(d)?d:RS(d),r.getAttribute(d)}scrapeMotionValuesFromProps(r,d,h){return Fw(r,d,h)}build(r,d,h){Kw(r,d,this.isSVGTag,h.transformTemplate,h.style)}renderInstance(r,d,h,y){a3(r,d,h,y)}mount(r){this.isSVGTag=$w(r.tagName),super.mount(r)}}const i3=NS.length;function Ww(u){if(!u)return;if(!u.isControllingVariants){const d=u.parent?Ww(u.parent)||{}:{};return u.props.initial!==void 0&&(d.initial=u.props.initial),d}const r={};for(let d=0;d<i3;d++){const h=NS[d],y=u.props[h];(Om(y)||y===!1)&&(r[h]=y)}return r}function Pw(u,r){if(!Array.isArray(r))return!1;const d=r.length;if(d!==u.length)return!1;for(let h=0;h<d;h++)if(r[h]!==u[h])return!1;return!0}const o3=[...jS].reverse(),u3=jS.length;function r3(u){return r=>Promise.all(r.map(({animation:d,options:h})=>vz(u,d,h)))}function s3(u){let r=r3(u),d=Iw(),h=!0;const y=w=>(A,M)=>{const R=Xd(u,M,w==="exit"?u.presenceContext?.custom:void 0);if(R){const{transition:z,transitionEnd:B,...lt}=R;A={...A,...lt,...B}}return A};function b(w){r=w(u)}function S(w){const{props:A}=u,M=Ww(u.parent)||{},R=[],z=new Set;let B={},lt=1/0;for(let st=0;st<u3;st++){const ft=o3[st],bt=d[ft],it=A[ft]!==void 0?A[ft]:M[ft],At=Om(it),St=ft===w?bt.isActive:null;St===!1&&(lt=st);let Lt=it===M[ft]&&it!==A[ft]&&At;if(Lt&&h&&u.manuallyAnimateOnMount&&(Lt=!1),bt.protectedKeys={...B},!bt.isActive&&St===null||!it&&!bt.prevProp||Jy(it)||typeof it=="boolean")continue;const Tt=c3(bt.prevProp,it);let Z=Tt||ft===w&&bt.isActive&&!Lt&&At||st>lt&&At,vt=!1;const K=Array.isArray(it)?it:[it];let qt=K.reduce(y(ft),{});St===!1&&(qt={});const{prevResolvedValues:Et={}}=bt,kt={...Et,...qt},be=et=>{Z=!0,z.has(et)&&(vt=!0,z.delete(et)),bt.needsAnimating[et]=!0;const pt=u.getValue(et);pt&&(pt.liveStyle=!1)};for(const et in kt){const pt=qt[et],zt=Et[et];if(B.hasOwnProperty(et))continue;let Ht=!1;ES(pt)&&ES(zt)?Ht=!Pw(pt,zt):Ht=pt!==zt,Ht?pt!=null?be(et):z.add(et):pt!==void 0&&z.has(et)?be(et):bt.protectedKeys[et]=!0}bt.prevProp=it,bt.prevResolvedValues=qt,bt.isActive&&(B={...B,...qt}),h&&u.blockInitialAnimation&&(Z=!1);const De=Lt&&Tt;Z&&(!De||vt)&&R.push(...K.map(et=>{const pt={type:ft};if(typeof et=="string"&&h&&!De&&u.manuallyAnimateOnMount&&u.parent){const{parent:zt}=u,Ht=Xd(zt,et);if(zt.enteringChildren&&Ht){const{delayChildren:_}=Ht.transition||{};pt.delay=iw(zt.enteringChildren,u,_)}}return{animation:et,options:pt}}))}if(z.size){const st={};if(typeof A.initial!="boolean"){const ft=Xd(u,Array.isArray(A.initial)?A.initial[0]:A.initial);ft&&ft.transition&&(st.transition=ft.transition)}z.forEach(ft=>{const bt=u.getBaseTarget(ft),it=u.getValue(ft);it&&(it.liveStyle=!0),st[ft]=bt??null}),R.push({animation:st})}let ut=!!R.length;return h&&(A.initial===!1||A.initial===A.animate)&&!u.manuallyAnimateOnMount&&(ut=!1),h=!1,ut?r(R):Promise.resolve()}function x(w,A){if(d[w].isActive===A)return Promise.resolve();u.variantChildren?.forEach(R=>R.animationState?.setActive(w,A)),d[w].isActive=A;const M=S(w);for(const R in d)d[R].protectedKeys={};return M}return{animateChanges:S,setActive:x,setAnimateFunction:b,getState:()=>d,reset:()=>{d=Iw()}}}function c3(u,r){return typeof r=="string"?r!==u:Array.isArray(r)?!Pw(r,u):!1}function Zc(u=!1){return{isActive:u,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Iw(){return{animate:Zc(!0),whileInView:Zc(),whileHover:Zc(),whileTap:Zc(),whileDrag:Zc(),whileFocus:Zc(),exit:Zc()}}const tE=1e-4,f3=1-tE,d3=1+tE,eE=.01,h3=0-eE,p3=0+eE;function Fa(u){return u.max-u.min}function m3(u,r,d){return Math.abs(u-r)<=d}function nE(u,r,d,h=.5){u.origin=h,u.originPoint=vn(r.min,r.max,u.origin),u.scale=Fa(d)/Fa(r),u.translate=vn(d.min,d.max,u.origin)-u.originPoint,(u.scale>=f3&&u.scale<=d3||isNaN(u.scale))&&(u.scale=1),(u.translate>=h3&&u.translate<=p3||isNaN(u.translate))&&(u.translate=0)}function Um(u,r,d,h){nE(u.x,r.x,d.x,h?h.originX:void 0),nE(u.y,r.y,d.y,h?h.originY:void 0)}function aE(u,r,d){u.min=d.min+r.min,u.max=u.min+Fa(r)}function g3(u,r,d){aE(u.x,r.x,d.x),aE(u.y,r.y,d.y)}function lE(u,r,d){u.min=r.min-d.min,u.max=u.min+Fa(r)}function Py(u,r,d){lE(u.x,r.x,d.x),lE(u.y,r.y,d.y)}function iE(u,r,d,h,y){return u-=r,u=Wy(u,1/d,h),y!==void 0&&(u=Wy(u,1/y,h)),u}function y3(u,r=0,d=1,h=.5,y,b=u,S=u){if($o.test(r)&&(r=parseFloat(r),r=vn(S.min,S.max,r/100)-S.min),typeof r!="number")return;let x=vn(b.min,b.max,h);u===b&&(x-=r),u.min=iE(u.min,r,d,x,y),u.max=iE(u.max,r,d,x,y)}function oE(u,r,[d,h,y],b,S){y3(u,r[d],r[h],r[y],r.scale,b,S)}const v3=["x","scaleX","originX"],b3=["y","scaleY","originY"];function uE(u,r,d,h){oE(u.x,r,v3,d?d.x:void 0,h?h.x:void 0),oE(u.y,r,b3,d?d.y:void 0,h?h.y:void 0)}function rE(u,r){u.min=r.min,u.max=r.max}function go(u,r){rE(u.x,r.x),rE(u.y,r.y)}function sE(u,r){u.translate=r.translate,u.scale=r.scale,u.originPoint=r.originPoint,u.origin=r.origin}function cE(u){return u.translate===0&&u.scale===1}function fE(u){return cE(u.x)&&cE(u.y)}function dE(u,r){return u.min===r.min&&u.max===r.max}function S3(u,r){return dE(u.x,r.x)&&dE(u.y,r.y)}function hE(u,r){return Math.round(u.min)===Math.round(r.min)&&Math.round(u.max)===Math.round(r.max)}function pE(u,r){return hE(u.x,r.x)&&hE(u.y,r.y)}function mE(u){return Fa(u.x)/Fa(u.y)}function gE(u,r){return u.translate===r.translate&&u.scale===r.scale&&u.originPoint===r.originPoint}function xi(u){return[u("x"),u("y")]}function x3(u,r,d){let h="";const y=u.x.translate/r.x,b=u.y.translate/r.y,S=d?.z||0;if((y||b||S)&&(h=`translate3d(${y}px, ${b}px, ${S}px) `),(r.x!==1||r.y!==1)&&(h+=`scale(${1/r.x}, ${1/r.y}) `),d){const{transformPerspective:A,rotate:M,rotateX:R,rotateY:z,skewX:B,skewY:lt}=d;A&&(h=`perspective(${A}px) ${h}`),M&&(h+=`rotate(${M}deg) `),R&&(h+=`rotateX(${R}deg) `),z&&(h+=`rotateY(${z}deg) `),B&&(h+=`skewX(${B}deg) `),lt&&(h+=`skewY(${lt}deg) `)}const x=u.x.scale*r.x,w=u.y.scale*r.y;return(x!==1||w!==1)&&(h+=`scale(${x}, ${w})`),h||"none"}const yE=["TopLeft","TopRight","BottomLeft","BottomRight"],T3=yE.length,vE=u=>typeof u=="string"?parseFloat(u):u,bE=u=>typeof u=="number"||Ot.test(u);function w3(u,r,d,h,y,b){y?(u.opacity=vn(0,d.opacity??1,E3(h)),u.opacityExit=vn(r.opacity??1,0,A3(h))):b&&(u.opacity=vn(r.opacity??1,d.opacity??1,h));for(let S=0;S<T3;S++){const x=`border${yE[S]}Radius`;let w=SE(r,x),A=SE(d,x);if(w===void 0&&A===void 0)continue;w||(w=0),A||(A=0),w===0||A===0||bE(w)===bE(A)?(u[x]=Math.max(vn(vE(w),vE(A),h),0),($o.test(A)||$o.test(w))&&(u[x]+="%")):u[x]=A}(r.rotate||d.rotate)&&(u.rotate=vn(r.rotate||0,d.rotate||0,h))}function SE(u,r){return u[r]!==void 0?u[r]:u.borderRadius}const E3=xE(0,.5,xT),A3=xE(.5,.95,bi);function xE(u,r,d){return h=>h<u?0:h>r?1:d(Em(u,r,h))}function R3(u,r){const d=$a.now(),h=({timestamp:y})=>{const b=y-d;b>=r&&(ts(h),u(b-r))};return rn.setup(h,!0),()=>ts(h)}function jm(u,r,d,h={passive:!0}){return u.addEventListener(r,d,h),()=>u.removeEventListener(r,d)}function Iy(u){return ka(u)?u.get():u}function D3(u,r,d){const h=ka(u)?u:Gd(u);return h.start(TS("",h,r,d)),h.animation}const C3=(u,r)=>u.depth-r.depth;class z3{constructor(){this.children=[],this.isDirty=!1}add(r){V1(this.children,r),this.isDirty=!0}remove(r){Y1(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(C3),this.isDirty=!1,this.children.forEach(r)}}class M3{constructor(){this.members=[]}add(r){V1(this.members,r),r.scheduleRender()}remove(r){if(Y1(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(r){const d=this.members.findIndex(y=>r===y);if(d===0)return!1;let h;for(let y=d;y>=0;y--){const b=this.members[y];if(b.isPresent!==!1){h=b;break}}return h?(this.promote(h),!0):!1}promote(r,d){const h=this.lead;if(r!==h&&(this.prevLead=h,this.lead=r,r.show(),h)){h.instance&&h.scheduleRender(),r.scheduleRender(),r.resumeFrom=h,d&&(r.resumeFrom.preserveOpacity=!0),h.snapshot&&(r.snapshot=h.snapshot,r.snapshot.latestValues=h.animationValues||h.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:y}=r.options;y===!1&&h.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:d,resumingFrom:h}=r;d.onExitComplete&&d.onExitComplete(),h&&h.options.onExitComplete&&h.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const tv={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qS=["","X","Y","Z"],O3=1e3;let _3=0;function GS(u,r,d,h){const{latestValues:y}=r;y[u]&&(d[u]=y[u],r.setStaticValue(u,0),h&&(h[u]=0))}function TE(u){if(u.hasCheckedOptimisedAppear=!0,u.root===u)return;const{visualElement:r}=u.options;if(!r)return;const d=cw(r);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:y,layoutId:b}=u.options;window.MotionCancelOptimisedAnimation(d,"transform",rn,!(y||b))}const{parent:h}=u;h&&!h.hasCheckedOptimisedAppear&&TE(h)}function wE({attachResizeListener:u,defaultParent:r,measureScroll:d,checkIsScrollRoot:h,resetTransform:y}){return class{constructor(S={},x=r?.()){this.id=_3++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(N3),this.nodes.forEach(k3),this.nodes.forEach(V3),this.nodes.forEach(H3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=S,this.root=x?x.root||x:this,this.path=x?[...x.path,x]:[],this.parent=x,this.depth=x?x.depth+1:0;for(let w=0;w<this.path.length;w++)this.path[w].shouldResetTransform=!0;this.root===this&&(this.nodes=new z3)}addEventListener(S,x){return this.eventHandlers.has(S)||this.eventHandlers.set(S,new X1),this.eventHandlers.get(S).add(x)}notifyListeners(S,...x){const w=this.eventHandlers.get(S);w&&w.notify(...x)}hasListeners(S){return this.eventHandlers.has(S)}mount(S){if(this.instance)return;this.isSVG=Dw(S)&&!jz(S),this.instance=S;const{layoutId:x,layout:w,visualElement:A}=this.options;if(A&&!A.current&&A.mount(S),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(w||x)&&(this.isLayoutDirty=!0),u){let M,R=0;const z=()=>this.root.updateBlockedByResize=!1;rn.read(()=>{R=window.innerWidth}),u(S,()=>{const B=window.innerWidth;B!==R&&(R=B,this.root.updateBlockedByResize=!0,M&&M(),M=R3(z,250),tv.hasAnimatedSinceResize&&(tv.hasAnimatedSinceResize=!1,this.nodes.forEach(RE)))})}x&&this.root.registerSharedNode(x,this),this.options.animate!==!1&&A&&(x||w)&&this.addEventListener("didUpdate",({delta:M,hasLayoutChanged:R,hasRelativeLayoutChanged:z,layout:B})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const lt=this.options.transition||A.getDefaultTransition()||Q3,{onLayoutAnimationStart:ut,onLayoutAnimationComplete:st}=A.getProps(),ft=!this.targetLayout||!pE(this.targetLayout,B),bt=!R&&z;if(this.options.layoutRoot||this.resumeFrom||bt||R&&(ft||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const it={...xS(lt,"layout"),onPlay:ut,onComplete:st};(A.shouldReduceMotion||this.options.layoutRoot)&&(it.delay=0,it.type=!1),this.startAnimation(it),this.setAnimationOrigin(M,bt)}else R||RE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=B})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const S=this.getStack();S&&S.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ts(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Y3),this.animationId++)}getTransformTemplate(){const{visualElement:S}=this.options;return S&&S.getProps().transformTemplate}willUpdate(S=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&TE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let M=0;M<this.path.length;M++){const R=this.path[M];R.shouldResetTransform=!0,R.updateScroll("snapshot"),R.options.layoutRoot&&R.willUpdate(!1)}const{layoutId:x,layout:w}=this.options;if(x===void 0&&!w)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),S&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(EE);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(AE);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(L3),this.nodes.forEach(U3),this.nodes.forEach(j3)):this.nodes.forEach(AE),this.clearAllSnapshots();const x=$a.now();ba.delta=Ko(0,1e3/60,x-ba.timestamp),ba.timestamp=x,ba.isProcessing=!0,J1.update.process(ba),J1.preRender.process(ba),J1.render.process(ba),ba.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,MS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(B3),this.sharedNodes.forEach(q3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,rn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){rn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Fa(this.snapshot.measuredBox.x)&&!Fa(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let w=0;w<this.path.length;w++)this.path[w].updateScroll();const S=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=na(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:x}=this.options;x&&x.notify("LayoutMeasure",this.layout.layoutBox,S?S.layoutBox:void 0)}updateScroll(S="measure"){let x=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===S&&(x=!1),x&&this.instance){const w=h(this.instance);this.scroll={animationId:this.root.animationId,phase:S,isRoot:w,offset:d(this.instance),wasRoot:this.scroll?this.scroll.isRoot:w}}}resetTransform(){if(!y)return;const S=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,x=this.projectionDelta&&!fE(this.projectionDelta),w=this.getTransformTemplate(),A=w?w(this.latestValues,""):void 0,M=A!==this.prevTransformTemplateValue;S&&this.instance&&(x||Qc(this.latestValues)||M)&&(y(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(S=!0){const x=this.measurePageBox();let w=this.removeElementScroll(x);return S&&(w=this.removeTransform(w)),Z3(w),{animationId:this.root.animationId,measuredBox:x,layoutBox:w,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:S}=this.options;if(!S)return na();const x=S.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(K3))){const{scroll:A}=this.root;A&&(Zd(x.x,A.offset.x),Zd(x.y,A.offset.y))}return x}removeElementScroll(S){const x=na();if(go(x,S),this.scroll?.wasRoot)return x;for(let w=0;w<this.path.length;w++){const A=this.path[w],{scroll:M,options:R}=A;A!==this.root&&M&&R.layoutScroll&&(M.wasRoot&&go(x,S),Zd(x.x,M.offset.x),Zd(x.y,M.offset.y))}return x}applyTransform(S,x=!1){const w=na();go(w,S);for(let A=0;A<this.path.length;A++){const M=this.path[A];!x&&M.options.layoutScroll&&M.scroll&&M!==M.root&&Kd(w,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),Qc(M.latestValues)&&Kd(w,M.latestValues)}return Qc(this.latestValues)&&Kd(w,this.latestValues),w}removeTransform(S){const x=na();go(x,S);for(let w=0;w<this.path.length;w++){const A=this.path[w];if(!A.instance||!Qc(A.latestValues))continue;BS(A.latestValues)&&A.updateSnapshot();const M=na(),R=A.measurePageBox();go(M,R),uE(x,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,M)}return Qc(this.latestValues)&&uE(x,this.latestValues),x}setTargetDelta(S){this.targetDelta=S,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(S){this.options={...this.options,...S,crossfade:S.crossfade!==void 0?S.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ba.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(S=!1){const x=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=x.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=x.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=x.isSharedProjectionDirty);const w=!!this.resumingFrom||this!==x;if(!(S||w&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:M,layoutId:R}=this.options;if(!this.layout||!(M||R))return;this.resolvedRelativeTargetAt=ba.timestamp;const z=this.getClosestProjectingParent();z&&this.linkedParentVersion!==z.layoutVersion&&!z.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(z&&z.layout?this.createRelativeTarget(z,this.layout.layoutBox,z.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=na(),this.targetWithTransforms=na()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),g3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):go(this.target,this.layout.layoutBox),kw(this.target,this.targetDelta)):go(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,z&&!!z.resumingFrom==!!this.resumingFrom&&!z.options.layoutScroll&&z.target&&this.animationProgress!==1?this.createRelativeTarget(z,this.target,z.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||BS(this.parent.latestValues)||Hw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(S,x,w){this.relativeParent=S,this.linkedParentVersion=S.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),Py(this.relativeTargetOrigin,x,w),go(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const S=this.getLead(),x=!!this.resumingFrom||this!==S;let w=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(w=!1),x&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(w=!1),this.resolvedRelativeTargetAt===ba.timestamp&&(w=!1),w)return;const{layout:A,layoutId:M}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||M))return;go(this.layoutCorrected,this.layout.layoutBox);const R=this.treeScale.x,z=this.treeScale.y;Qz(this.layoutCorrected,this.treeScale,this.path,x),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox,S.targetWithTransforms=na());const{target:B}=S;if(!B){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(sE(this.prevProjectionDelta.x,this.projectionDelta.x),sE(this.prevProjectionDelta.y,this.projectionDelta.y)),Um(this.projectionDelta,this.layoutCorrected,B,this.latestValues),(this.treeScale.x!==R||this.treeScale.y!==z||!gE(this.projectionDelta.x,this.prevProjectionDelta.x)||!gE(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",B))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(S=!0){if(this.options.visualElement?.scheduleRender(),S){const x=this.getStack();x&&x.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Qd(),this.projectionDelta=Qd(),this.projectionDeltaWithTransform=Qd()}setAnimationOrigin(S,x=!1){const w=this.snapshot,A=w?w.latestValues:{},M={...this.latestValues},R=Qd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!x;const z=na(),B=w?w.source:void 0,lt=this.layout?this.layout.source:void 0,ut=B!==lt,st=this.getStack(),ft=!st||st.members.length<=1,bt=!!(ut&&!ft&&this.options.crossfade===!0&&!this.path.some(X3));this.animationProgress=0;let it;this.mixTargetDelta=At=>{const St=At/1e3;DE(R.x,S.x,St),DE(R.y,S.y,St),this.setTargetDelta(R),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Py(z,this.layout.layoutBox,this.relativeParent.layout.layoutBox),G3(this.relativeTarget,this.relativeTargetOrigin,z,St),it&&S3(this.relativeTarget,it)&&(this.isProjectionDirty=!1),it||(it=na()),go(it,this.relativeTarget)),ut&&(this.animationValues=M,w3(M,A,this.latestValues,St,bt,ft)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=St},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(S){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ts(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rn.update(()=>{tv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Gd(0)),this.currentAnimation=D3(this.motionValue,[0,1e3],{...S,velocity:0,isSync:!0,onUpdate:x=>{this.mixTargetDelta(x),S.onUpdate&&S.onUpdate(x)},onStop:()=>{},onComplete:()=>{S.onComplete&&S.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const S=this.getStack();S&&S.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(O3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const S=this.getLead();let{targetWithTransforms:x,target:w,layout:A,latestValues:M}=S;if(!(!x||!w||!A)){if(this!==S&&this.layout&&A&&_E(this.options.animationType,this.layout.layoutBox,A.layoutBox)){w=this.target||na();const R=Fa(this.layout.layoutBox.x);w.x.min=S.target.x.min,w.x.max=w.x.min+R;const z=Fa(this.layout.layoutBox.y);w.y.min=S.target.y.min,w.y.max=w.y.min+z}go(x,w),Kd(x,M),Um(this.projectionDeltaWithTransform,this.layoutCorrected,x,M)}}registerSharedNode(S,x){this.sharedNodes.has(S)||this.sharedNodes.set(S,new M3),this.sharedNodes.get(S).add(x);const A=x.options.initialPromotionConfig;x.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(x):void 0})}isLead(){const S=this.getStack();return S?S.lead===this:!0}getLead(){const{layoutId:S}=this.options;return S?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:S}=this.options;return S?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:S}=this.options;if(S)return this.root.sharedNodes.get(S)}promote({needsReset:S,transition:x,preserveFollowOpacity:w}={}){const A=this.getStack();A&&A.promote(this,w),S&&(this.projectionDelta=void 0,this.needsReset=!0),x&&this.setOptions({transition:x})}relegate(){const S=this.getStack();return S?S.relegate(this):!1}resetSkewAndRotation(){const{visualElement:S}=this.options;if(!S)return;let x=!1;const{latestValues:w}=S;if((w.z||w.rotate||w.rotateX||w.rotateY||w.rotateZ||w.skewX||w.skewY)&&(x=!0),!x)return;const A={};w.z&&GS("z",S,A,this.animationValues);for(let M=0;M<qS.length;M++)GS(`rotate${qS[M]}`,S,A,this.animationValues),GS(`skew${qS[M]}`,S,A,this.animationValues);S.render();for(const M in A)S.setStaticValue(M,A[M]),this.animationValues&&(this.animationValues[M]=A[M]);S.scheduleRender()}applyProjectionStyles(S,x){if(!this.instance||this.isSVG)return;if(!this.isVisible){S.visibility="hidden";return}const w=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,S.visibility="",S.opacity="",S.pointerEvents=Iy(x?.pointerEvents)||"",S.transform=w?w(this.latestValues,""):"none";return}const A=this.getLead();if(!this.projectionDelta||!this.layout||!A.target){this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=Iy(x?.pointerEvents)||""),this.hasProjected&&!Qc(this.latestValues)&&(S.transform=w?w({},""):"none",this.hasProjected=!1);return}S.visibility="";const M=A.animationValues||A.latestValues;this.applyTransformsToTarget();let R=x3(this.projectionDeltaWithTransform,this.treeScale,M);w&&(R=w(M,R)),S.transform=R;const{x:z,y:B}=this.projectionDelta;S.transformOrigin=`${z.origin*100}% ${B.origin*100}% 0`,A.animationValues?S.opacity=A===this?M.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:S.opacity=A===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const lt in VS){if(M[lt]===void 0)continue;const{correct:ut,applyTo:st,isCSSVariable:ft}=VS[lt],bt=R==="none"?M[lt]:ut(M[lt],A);if(st){const it=st.length;for(let At=0;At<it;At++)S[st[At]]=bt}else ft?this.options.visualElement.renderState.vars[lt]=bt:S[lt]=bt}this.options.layoutId&&(S.pointerEvents=A===this?Iy(x?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(S=>S.currentAnimation?.stop()),this.root.nodes.forEach(EE),this.root.sharedNodes.clear()}}}function U3(u){u.updateLayout()}function j3(u){const r=u.resumeFrom?.snapshot||u.snapshot;if(u.isLead()&&u.layout&&r&&u.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:h}=u.layout,{animationType:y}=u.options,b=r.source!==u.layout.source;y==="size"?xi(M=>{const R=b?r.measuredBox[M]:r.layoutBox[M],z=Fa(R);R.min=d[M].min,R.max=R.min+z}):_E(y,r.layoutBox,d)&&xi(M=>{const R=b?r.measuredBox[M]:r.layoutBox[M],z=Fa(d[M]);R.max=R.min+z,u.relativeTarget&&!u.currentAnimation&&(u.isProjectionDirty=!0,u.relativeTarget[M].max=u.relativeTarget[M].min+z)});const S=Qd();Um(S,d,r.layoutBox);const x=Qd();b?Um(x,u.applyTransform(h,!0),r.measuredBox):Um(x,d,r.layoutBox);const w=!fE(S);let A=!1;if(!u.resumeFrom){const M=u.getClosestProjectingParent();if(M&&!M.resumeFrom){const{snapshot:R,layout:z}=M;if(R&&z){const B=na();Py(B,r.layoutBox,R.layoutBox);const lt=na();Py(lt,d,z.layoutBox),pE(B,lt)||(A=!0),M.options.layoutRoot&&(u.relativeTarget=lt,u.relativeTargetOrigin=B,u.relativeParent=M)}}}u.notifyListeners("didUpdate",{layout:d,snapshot:r,delta:x,layoutDelta:S,hasLayoutChanged:w,hasRelativeLayoutChanged:A})}else if(u.isLead()){const{onExitComplete:d}=u.options;d&&d()}u.options.transition=void 0}function N3(u){u.parent&&(u.isProjecting()||(u.isProjectionDirty=u.parent.isProjectionDirty),u.isSharedProjectionDirty||(u.isSharedProjectionDirty=!!(u.isProjectionDirty||u.parent.isProjectionDirty||u.parent.isSharedProjectionDirty)),u.isTransformDirty||(u.isTransformDirty=u.parent.isTransformDirty))}function H3(u){u.isProjectionDirty=u.isSharedProjectionDirty=u.isTransformDirty=!1}function B3(u){u.clearSnapshot()}function EE(u){u.clearMeasurements()}function AE(u){u.isLayoutDirty=!1}function L3(u){const{visualElement:r}=u.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),u.resetTransform()}function RE(u){u.finishAnimation(),u.targetDelta=u.relativeTarget=u.target=void 0,u.isProjectionDirty=!0}function k3(u){u.resolveTargetDelta()}function V3(u){u.calcProjection()}function Y3(u){u.resetSkewAndRotation()}function q3(u){u.removeLeadSnapshot()}function DE(u,r,d){u.translate=vn(r.translate,0,d),u.scale=vn(r.scale,1,d),u.origin=r.origin,u.originPoint=r.originPoint}function CE(u,r,d,h){u.min=vn(r.min,d.min,h),u.max=vn(r.max,d.max,h)}function G3(u,r,d,h){CE(u.x,r.x,d.x,h),CE(u.y,r.y,d.y,h)}function X3(u){return u.animationValues&&u.animationValues.opacityExit!==void 0}const Q3={duration:.45,ease:[.4,0,.1,1]},zE=u=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(u),ME=zE("applewebkit/")&&!zE("chrome/")?Math.round:bi;function OE(u){u.min=ME(u.min),u.max=ME(u.max)}function Z3(u){OE(u.x),OE(u.y)}function _E(u,r,d){return u==="position"||u==="preserve-aspect"&&!m3(mE(r),mE(d),.2)}function K3(u){return u!==u.root&&u.scroll?.wasRoot}const J3=wE({attachResizeListener:(u,r)=>jm(u,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),XS={current:void 0},UE=wE({measureScroll:u=>({x:u.scrollLeft,y:u.scrollTop}),defaultParent:()=>{if(!XS.current){const u=new J3({});u.mount(window),u.setOptions({layoutScroll:!0}),XS.current=u}return XS.current},resetTransform:(u,r)=>{u.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:u=>window.getComputedStyle(u).position==="fixed"}),QS=tt.createContext({transformPagePoint:u=>u,isStatic:!1,reducedMotion:"never"});function jE(u,r){if(typeof u=="function")return u(r);u!=null&&(u.current=r)}function $3(...u){return r=>{let d=!1;const h=u.map(y=>{const b=jE(y,r);return!d&&typeof b=="function"&&(d=!0),b});if(d)return()=>{for(let y=0;y<h.length;y++){const b=h[y];typeof b=="function"?b():jE(u[y],null)}}}}function F3(...u){return tt.useCallback($3(...u),u)}class W3 extends tt.Component{getSnapshotBeforeUpdate(r){const d=this.props.childRef.current;if(d&&r.isPresent&&!this.props.isPresent){const h=d.offsetParent,y=bw(h)&&h.offsetWidth||0,b=this.props.sizeRef.current;b.height=d.offsetHeight||0,b.width=d.offsetWidth||0,b.top=d.offsetTop,b.left=d.offsetLeft,b.right=y-b.width-b.left}return null}componentDidUpdate(){}render(){return this.props.children}}function P3({children:u,isPresent:r,anchorX:d,root:h}){const y=tt.useId(),b=tt.useRef(null),S=tt.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:x}=tt.useContext(QS),w=u.props?.ref??u?.ref,A=F3(b,w);return tt.useInsertionEffect(()=>{const{width:M,height:R,top:z,left:B,right:lt}=S.current;if(r||!b.current||!M||!R)return;const ut=d==="left"?`left: ${B}`:`right: ${lt}`;b.current.dataset.motionPopId=y;const st=document.createElement("style");x&&(st.nonce=x);const ft=h??document.head;return ft.appendChild(st),st.sheet&&st.sheet.insertRule(`
|
|
243
|
+
root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(o=e.identifierPrefix),e.onUncaughtError!==void 0&&(c=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(g=e.onRecoverableError)),e=ad(t,1,!1,null,null,a,o,null,c,f,g,Ab),t[Vo]=e.current,zu(t),new _0(e)},xm.hydrateRoot=function(t,e,a){if(!rt(t))throw Error("Target container is not a DOM element.");U0(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,c="",f=Hh,g=Bh,v=Dg,E=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError),a.formState!==void 0&&(E=a.formState)),e=ad(t,1,!0,e,a??null,o,c,E,f,g,v,Ab),e.context=xb(null),a=e.current,o=ha(a),o=Al(o),c=_n(o),c.callback=null,ji(a,c,o),Oi(o,"hydrateRoot()",null),a=o,e.current.lanes=a,Gl(e,a),Ga(e),t[Vo]=e.current,zu(t),new ci(e)},xm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),xm}var Jx;function JR(){if(Jx)return ky.exports;Jx=1;function u(){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(u)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(u(),ky.exports=ZR()):ky.exports=KR(),ky.exports}var $R=JR(),$=Hd();const Bd=HR($);var Tm=j1();const Ko={floatingIconPosition:"uilint:floatingIconPosition",inspectorDocked:"uilint:inspectorDocked",inspectorWidth:"uilint:inspectorWidth",inspectorFloatingPosition:"uilint:inspectorFloatingPosition",inspectorFloatingSize:"uilint:inspectorFloatingSize"};function $x(){return typeof window<"u"&&typeof localStorage<"u"}function wm(u,r){if(!$x())return r;try{const d=localStorage.getItem(u);return d===null?r:JSON.parse(d)}catch(d){return console.warn(`[UILint] Failed to load ${u} from localStorage:`,d),r}}function Em(u,r){if($x())try{localStorage.setItem(u,JSON.stringify(r))}catch(d){console.warn(`[UILint] Failed to save ${u} to localStorage:`,d)}}const Fx={open:!1,query:"",selectedIndex:0,filters:[]},FR=400;function WR(){return{open:!1,panelId:null,data:null,docked:wm(Ko.inspectorDocked,!0),width:wm(Ko.inspectorWidth,FR),floatingPosition:wm(Ko.inspectorFloatingPosition,null),floatingSize:wm(Ko.inspectorFloatingSize,null)}}const PR=u=>(r,d)=>({floatingIconPosition:wm(Ko.floatingIconPosition,null),setFloatingIconPosition:h=>{Em(Ko.floatingIconPosition,h),r({floatingIconPosition:h})},altKeyHeld:!1,setAltKeyHeld:h=>{r({altKeyHeld:h})},selectedElementId:null,hoveredElementId:null,setSelectedElementId:h=>{r({selectedElementId:h})},setHoveredElementId:h=>{r({hoveredElementId:h})},commandPalette:{...Fx},openCommandPalette:()=>{r({commandPalette:{...d().commandPalette,open:!0,query:"",selectedIndex:0}})},closeCommandPalette:()=>{r({commandPalette:{...Fx,open:!1}})},setCommandPaletteQuery:h=>{r({commandPalette:{...d().commandPalette,query:h,selectedIndex:0}})},setCommandPaletteSelectedIndex:h=>{r({commandPalette:{...d().commandPalette,selectedIndex:h}})},addFilter:h=>{const y=d().commandPalette;r({commandPalette:{...y,filters:[...y.filters,h],selectedIndex:0}})},removeFilter:h=>{const y=d().commandPalette;r({commandPalette:{...y,filters:y.filters.filter((b,S)=>S!==h),selectedIndex:0}})},clearFilters:()=>{r({commandPalette:{...d().commandPalette,filters:[],selectedIndex:0}})},inspector:WR(),openInspector:(h,y)=>{r({inspector:{...d().inspector,open:!0,panelId:h,data:y??null}})},closeInspector:()=>{r({inspector:{...d().inspector,open:!1,panelId:null,data:null}})},toggleInspectorDocked:()=>{const h=d().inspector,y=!h.docked;Em(Ko.inspectorDocked,y),r({inspector:{...h,docked:y}})},setInspectorWidth:h=>{Em(Ko.inspectorWidth,h),r({inspector:{...d().inspector,width:h}})},setInspectorFloatingPosition:h=>{Em(Ko.inspectorFloatingPosition,h),r({inspector:{...d().inspector,floatingPosition:h}})},setInspectorFloatingSize:h=>{Em(Ko.inspectorFloatingSize,h),r({inspector:{...d().inspector,floatingSize:h}})},wsConnected:u.websocket.isConnected,wsUrl:u.websocket.url}),Wx=u=>{let r;const d=new Set,h=(A,z)=>{const R=typeof A=="function"?A(r):A;if(!Object.is(R,r)){const M=r;r=z??(typeof R!="object"||R===null)?R:Object.assign({},r,R),d.forEach(B=>B(r,M))}},y=()=>r,x={setState:h,getState:y,getInitialState:()=>w,subscribe:A=>(d.add(A),()=>d.delete(A))},w=r=u(h,y,x);return x},IR=(u=>u?Wx(u):Wx),tD=u=>u;function eD(u,r=tD){const d=Bd.useSyncExternalStore(u.subscribe,Bd.useCallback(()=>r(u.getState()),[u,r]),Bd.useCallback(()=>r(u.getInitialState()),[u,r]));return Bd.useDebugValue(d),d}const Px=u=>{const r=IR(u),d=h=>eD(r,h);return Object.assign(d,r),d},nD=(u=>u?Px(u):Px);function Ix(u){const r=new Map;for(const S of u)r.set(S.id,S);const d=[],h=new Set,y=new Set;function b(S){const x=S.id;if(h.has(x))return;if(y.has(x))throw new Error(`[PluginRegistry] Circular dependency detected involving plugin: ${x}`);y.add(x);const w=S.dependencies||[];for(const A of w){const z=r.get(A);z&&b(z)}y.delete(x),h.add(x),d.push(S)}for(const S of u)b(S);return d}class aD{plugins=new Map;services=null;register(r){if(console.log(`[PluginRegistry] Registering plugin: ${r.id}`),this.plugins.has(r.id)){console.warn(`[PluginRegistry] Plugin "${r.id}" is already registered. Skipping duplicate registration.`);return}const d=r.dependencies||[],h=[];for(const y of d)this.plugins.has(y)||h.push(y);h.length>0&&console.warn(`[PluginRegistry] Plugin "${r.id}" has unregistered dependencies: ${h.join(", ")}. These plugins should be registered first for proper initialization order.`),this.plugins.set(r.id,{plugin:r,initialized:!1}),console.log(`[PluginRegistry] Plugin "${r.id}" registered successfully`)}async initializeAll(r){console.log("[PluginRegistry] Initializing all plugins..."),this.services=r;const d=Array.from(this.plugins.values()).map(y=>y.plugin),h=Ix(d);console.log(`[PluginRegistry] Initialization order: ${h.map(y=>y.id).join(" -> ")}`);for(const y of h){const b=this.plugins.get(y.id);if(b){if(b.initialized){console.log(`[PluginRegistry] Plugin "${y.id}" already initialized, skipping`);continue}try{console.log(`[PluginRegistry] Initializing plugin: ${y.id}`),y.initialize&&await y.initialize(r),b.initialized=!0,console.log(`[PluginRegistry] Plugin "${y.id}" initialized successfully`)}catch(S){console.error(`[PluginRegistry] Failed to initialize plugin "${y.id}":`,S)}}}console.log("[PluginRegistry] All plugins initialized")}getPlugins(){return Array.from(this.plugins.values()).map(r=>r.plugin)}getPlugin(r){return this.plugins.get(r)?.plugin}getAllCommands(){const r=[];for(const{plugin:d}of this.plugins.values())d.commands&&r.push(...d.commands);return r}getAllAnalyzers(){const r=[];for(const{plugin:d}of this.plugins.values())d.analyzers&&r.push(...d.analyzers);return r}getAllInspectorPanels(){const r=[];for(const{plugin:d}of this.plugins.values())d.inspectorPanels&&r.push(...d.inspectorPanels);return r.sort((d,h)=>(h.priority??0)-(d.priority??0))}getAllToolbarActions(){const r=[];for(const{plugin:d}of this.plugins.values())d.toolbarActions&&r.push(...d.toolbarActions);return r.sort((d,h)=>(h.priority??0)-(d.priority??0))}getAllRules(){if(!this.services)return console.warn("[PluginRegistry] Cannot get rules: services not initialized"),[];const r=[];for(const{plugin:d,initialized:h}of this.plugins.values())if(h&&d.getRules)try{const y=d.getRules(this.services);r.push(...y)}catch(y){console.error(`[PluginRegistry] Error getting rules from plugin "${d.id}":`,y)}return r}setRuleSeverity(r,d){if(!this.services){console.warn("[PluginRegistry] Cannot set rule severity: services not initialized");return}for(const{plugin:h,initialized:y}of this.plugins.values())if(y){if(h.handlesRules&&h.handlesRules({id:r})&&h.setRuleSeverity){h.setRuleSeverity(r,d,this.services);return}if(r.startsWith(`${h.id}/`)&&h.setRuleSeverity){h.setRuleSeverity(r,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to handle rule: ${r}`)}getRuleConfig(r){if(!this.services){console.warn("[PluginRegistry] Cannot get rule config: services not initialized");return}for(const{plugin:d,initialized:h}of this.plugins.values())if(h){if(d.handlesRules?.({id:r})&&d.getRuleConfig)return d.getRuleConfig(r,this.services);if(r.startsWith(`${d.id}/`)&&d.getRuleConfig)return d.getRuleConfig(r,this.services)}}setRuleConfig(r,d){if(!this.services){console.warn("[PluginRegistry] Cannot set rule config: services not initialized");return}for(const{plugin:h,initialized:y}of this.plugins.values())if(y){if(h.handlesRules?.({id:r})&&h.setRuleConfig){h.setRuleConfig(r,d,this.services);return}if(r.startsWith(`${h.id}/`)&&h.setRuleConfig){h.setRuleConfig(r,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to configure rule: ${r}`)}getPluginForRule(r,d){for(const{plugin:b}of this.plugins.values())if(b.ruleContributions&&b.ruleContributions.find(x=>x.ruleId===r))return b;for(const{plugin:b}of this.plugins.values())if(r.startsWith(`${b.id}/`)||d.category&&b.ruleCategories&&b.ruleCategories.includes(d.category))return b;const h=this.plugins.get("core")?.plugin;if(h)return h;const y=this.plugins.values().next().value;return y?y.plugin:{id:"default",name:"Default",version:"1.0.0"}}getRuleContribution(r){for(const{plugin:d}of this.plugins.values())if(d.ruleContributions){const h=d.ruleContributions.find(y=>y.ruleId===r);if(h)return h}}disposeAll(){console.log("[PluginRegistry] Disposing all plugins...");const r=Array.from(this.plugins.values()).map(h=>h.plugin),d=Ix(r).reverse();for(const h of d){const y=this.plugins.get(h.id);if(!(!y||!y.initialized))try{console.log(`[PluginRegistry] Disposing plugin: ${h.id}`),h.dispose&&this.services&&h.dispose(this.services),y.initialized=!1,console.log(`[PluginRegistry] Plugin "${h.id}" disposed successfully`)}catch(b){console.error(`[PluginRegistry] Failed to dispose plugin "${h.id}":`,b)}}this.services=null,console.log("[PluginRegistry] All plugins disposed")}isRegistered(r){return this.plugins.has(r)}isInitialized(r){return this.plugins.get(r)?.initialized??!1}getServices(){return this.services}clear(){console.log("[PluginRegistry] Clearing all plugins"),this.disposeAll(),this.plugins.clear()}}function lD(){return new aD}const es=lD();let qc=null,Am=null;const iD=()=>({isConnected:!1,url:"ws://localhost:9234",connect:()=>{console.warn("[ComposedStore] WebSocket connect called but not implemented")},disconnect:()=>{console.warn("[ComposedStore] WebSocket disconnect called but not implemented")},send:()=>{console.warn("[ComposedStore] WebSocket send called but not implemented")},on:()=>(console.warn("[ComposedStore] WebSocket on called but not implemented"),()=>{}),onConnectionChange:()=>(console.warn("[ComposedStore] WebSocket onConnectionChange called but not implemented"),()=>{})}),oD=()=>({start:()=>{console.warn("[ComposedStore] DOMObserver start called but not implemented")},stop:()=>{console.warn("[ComposedStore] DOMObserver stop called but not implemented")},onElementsAdded:()=>(console.warn("[ComposedStore] DOMObserver onElementsAdded called but not implemented"),()=>{}),onElementsRemoved:()=>(console.warn("[ComposedStore] DOMObserver onElementsRemoved called but not implemented"),()=>{})});function uD(u={}){const r=u.websocket??iD(),d=u.domObserver??oD();let h;const y=nD()((b,S)=>(h={websocket:{get isConnected(){return r.isConnected},get url(){return r.url},connect:r.connect.bind(r),disconnect:r.disconnect.bind(r),send:r.send.bind(r),on:r.on.bind(r),onConnectionChange:r.onConnectionChange.bind(r)},domObserver:{start:d.start.bind(d),stop:d.stop.bind(d),onElementsAdded:d.onElementsAdded.bind(d),onElementsRemoved:d.onElementsRemoved.bind(d)},getState:()=>S(),setState:A=>{b(A)},openInspector:(A,z)=>{const R=S();z.ruleId?R.openInspector("rule",{ruleId:z.ruleId}):z.elementId?R.openInspector("element",{elementId:z.elementId}):b({inspector:{...R.inspector,open:!0,panelId:A,data:z}})},closeCommandPalette:()=>{S().closeCommandPalette()}},{...PR(h)(b,S,{setState:b,getState:S,getInitialState:()=>S(),subscribe:()=>()=>{}}),plugins:{},registerPluginSlice:(A,z)=>{console.log(`[ComposedStore] Registering plugin slice: ${String(A)}`),b(R=>({plugins:{...R.plugins,[A]:z}}))},unregisterPluginSlice:A=>{console.log(`[ComposedStore] Unregistering plugin slice: ${String(A)}`),b(z=>{const{[A]:R,...M}=z.plugins;return{plugins:M}})},getPluginSlice:A=>S().plugins[A],setPluginSlice:(A,z)=>{b(R=>{const M=R.plugins[A];return M?{plugins:{...R.plugins,[A]:{...M,...z}}}:(console.warn(`[ComposedStore] Cannot update unregistered plugin slice: ${String(A)}`),R)})}}));return r.onConnectionChange(b=>{y.setState({wsConnected:b,wsUrl:r.url})}),{store:y,services:h}}function tT(u){if(qc)return qc;const r=uD(u);return qc=r.store,Am=r.services,qc}function ge(u){return qc||tT(),u?qc(u):qc()}function eT(u,r,d){return{...r,getState:()=>d.getState().plugins[u]||{},setState:h=>{d.setState(y=>{const b=y.plugins[u]||{};return{plugins:{...y.plugins,[u]:{...b,...h}}}})}}}async function rD(u){const r=tT(u);if(!Am)throw new Error("[ComposedStore] Plugin services not initialized");const h=(u?.registry??es).getPlugins();for(const y of h)if(y.createSlice&&y.id)try{const b=eT(y.id,Am,r),S=y.createSlice(b);y.id in{}?r.getState().registerPluginSlice(y.id,S):(console.log(`[ComposedStore] Registering unknown plugin slice: ${y.id}`),r.setState(x=>({plugins:{...x.plugins,[y.id]:S}})))}catch(b){console.error(`[ComposedStore] Failed to create slice for plugin ${y.id}:`,b)}for(const y of h)if(y.initialize&&y.id)try{const b=eT(y.id,Am,r);y.initialize(b)}catch(b){console.error(`[ComposedStore] Failed to initialize plugin ${y.id}:`,b)}console.log(`[ComposedStore] Initialized ${h.length} plugins with slices`)}function N1(){return Am}const sD=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),cD=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,d,h)=>h?h.toUpperCase():d.toLowerCase()),nT=u=>{const r=cD(u);return r.charAt(0).toUpperCase()+r.slice(1)},aT=(...u)=>u.filter((r,d,h)=>!!r&&r.trim()!==""&&h.indexOf(r)===d).join(" ").trim(),fD=u=>{for(const r in u)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};var dD={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"};const hD=$.forwardRef(({color:u="currentColor",size:r=24,strokeWidth:d=2,absoluteStrokeWidth:h,className:y="",children:b,iconNode:S,...x},w)=>$.createElement("svg",{ref:w,...dD,width:r,height:r,stroke:u,strokeWidth:h?Number(d)*24/Number(r):d,className:aT("lucide",y),...!b&&!fD(x)&&{"aria-hidden":"true"},...x},[...S.map(([A,z])=>$.createElement(A,z)),...Array.isArray(b)?b:[b]]));const El=(u,r)=>{const d=$.forwardRef(({className:h,...y},b)=>$.createElement(hD,{ref:b,iconNode:r,className:aT(`lucide-${sD(nT(u))}`,`lucide-${u}`,h),...y}));return d.displayName=nT(u),d};const pD=El("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const mD=El("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const H1=El("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);const lT=El("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);const B1=El("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const iT=El("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);const gD=El("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);const yD=El("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const vD=El("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);const bD=El("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const oT=El("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const SD=El("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);const k1=El("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const uT=El("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),rT=220,kd=36,sT=18;function xD(){return typeof window>"u"?{x:0,y:16}:{x:window.innerWidth/2-rT/2,y:16}}function TD(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}function wD({action:u,state:r,onExecute:d}){const h=u.isEnabled?u.isEnabled(r):!0,y=$.useCallback(b=>{b.stopPropagation(),h&&d()},[h,d]);return G.jsx("button",{title:u.tooltip,disabled:!h,onClick:y,style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",border:"none",borderRadius:6,background:"transparent",cursor:h?"pointer":"not-allowed",opacity:h?.7:.3,transition:"opacity 0.15s, background 0.15s",color:"#1a1a1a",fontSize:14,padding:0},onMouseOver:b=>{h&&(b.currentTarget.style.opacity="1",b.currentTarget.style.background="rgba(0, 0, 0, 0.05)")},onMouseOut:b=>{b.currentTarget.style.opacity=h?"0.7":"0.3",b.currentTarget.style.background="transparent"},children:u.icon})}function ED(){const u=ge(Tt=>Tt.openCommandPalette),r=ge(Tt=>Tt.commandPalette.open),d=ge(Tt=>Tt.wsConnected),h=ge(Tt=>Tt.floatingIconPosition),y=ge(Tt=>Tt.setFloatingIconPosition),b=ge(),S=ge(Tt=>{const xt=Tt.plugins?.eslint?.issues;if(!xt)return 0;let Nt=0;return xt.forEach(ye=>{Nt+=ye.length}),Nt}),[x,w]=$.useState(!1),[A,z]=$.useState(!1),[R,M]=$.useState({x:0,y:0}),[B,nt]=$.useState(!1),it=$.useRef(null);$.useEffect(()=>{r&&!B&&nt(!0)},[r,B]);const st=es.getAllToolbarActions().filter(Tt=>Tt.isVisible?Tt.isVisible(b):!0),dt=h??xD(),ft=TD()?"⌥":"Alt+",Dt=$.useCallback(Tt=>{if(Tt.button!==0)return;const xt=it.current?.getBoundingClientRect();xt&&(M({x:Tt.clientX-xt.left,y:Tt.clientY-xt.top}),w(!0),Tt.preventDefault(),Tt.stopPropagation())},[]),St=$.useCallback(Tt=>{if(!x)return;const xt=Math.max(0,Math.min(window.innerWidth-rT,Tt.clientX-R.x)),Nt=Math.max(0,Math.min(window.innerHeight-kd-sT,Tt.clientY-R.y));y({x:xt,y:Nt})},[x,R,y]),kt=$.useCallback(()=>{w(!1)},[]);$.useEffect(()=>{if(x)return window.addEventListener("mousemove",St),window.addEventListener("mouseup",kt),()=>{window.removeEventListener("mousemove",St),window.removeEventListener("mouseup",kt)}},[x,St,kt]);const wt=$.useCallback(()=>{x||u()},[x,u]),Z=$.useCallback(Tt=>{const xt=N1();xt&&Tt.onClick(xt)},[]),bt=document.getElementById("uilint-portal")||document.body,K=!B&&!A;return Tm.createPortal(G.jsxs("div",{ref:it,onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),style:{position:"fixed",left:dt.x,top:dt.y,display:"flex",flexDirection:"column",alignItems:"stretch",zIndex:99999,pointerEvents:"auto"},children:[G.jsxs("div",{style:{height:kd,display:"flex",alignItems:"center",gap:0},children:[G.jsx("div",{onMouseDown:Dt,style:{width:20,height:kd,display:"flex",alignItems:"center",justifyContent:"center",cursor:x?"grabbing":"grab",borderRadius:"10px 0 0 10px",background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderTop:"1px solid rgba(255, 255, 255, 0.8)",borderLeft:"1px solid rgba(255, 255, 255, 0.8)",borderBottom:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:x?"0 8px 32px rgba(0, 0, 0, 0.2)":"0 4px 16px rgba(0, 0, 0, 0.1)",transition:x?"none":"box-shadow 0.2s"},children:G.jsxs("svg",{width:"6",height:"14",viewBox:"0 0 6 14",fill:"none",style:{opacity:A?.6:.35},children:[G.jsx("circle",{cx:"1.5",cy:"2",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"4.5",cy:"2",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"1.5",cy:"7",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"4.5",cy:"7",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"1.5",cy:"12",r:"1.5",fill:"currentColor"}),G.jsx("circle",{cx:"4.5",cy:"12",r:"1.5",fill:"currentColor"})]})}),G.jsxs("button",{onClick:wt,"aria-label":"Search",style:{height:kd,padding:"0 10px",border:"none",borderRadius:0,background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderTop:"1px solid rgba(255, 255, 255, 0.8)",borderBottom:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:x?"0 8px 32px rgba(0, 0, 0, 0.2)":"0 4px 16px rgba(0, 0, 0, 0.1)",cursor:"pointer",display:"flex",alignItems:"center",gap:8,transition:x?"none":"box-shadow 0.2s, background 0.2s",color:"#1a1a1a",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,fontWeight:400,flexShrink:0},onMouseOver:Tt=>{x||(Tt.currentTarget.style.background="rgba(255, 255, 255, 0.85)")},onMouseOut:Tt=>{Tt.currentTarget.style.background="rgba(255, 255, 255, 0.7)"},children:[G.jsx(oT,{size:15,style:{opacity:.5}}),G.jsx("span",{style:{opacity:.7},children:"Search"}),S>0&&G.jsx("span",{style:{fontSize:11,fontWeight:500,color:"#ef4444",opacity:.9},children:S>99?"99+":S})]}),st.length>0&&G.jsx("div",{style:{height:kd,display:"flex",alignItems:"center",gap:2,padding:"0 4px",background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderTop:"1px solid rgba(255, 255, 255, 0.8)",borderBottom:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:x?"0 8px 32px rgba(0, 0, 0, 0.2)":"0 4px 16px rgba(0, 0, 0, 0.1)"},children:st.map(Tt=>G.jsx(wD,{action:Tt,state:b,onExecute:()=>Z(Tt)},Tt.id))}),G.jsx("div",{style:{width:8,height:kd,borderRadius:"0 10px 10px 0",background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderTop:"1px solid rgba(255, 255, 255, 0.8)",borderRight:"1px solid rgba(255, 255, 255, 0.5)",borderBottom:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:x?"0 8px 32px rgba(0, 0, 0, 0.2)":"0 4px 16px rgba(0, 0, 0, 0.1)"}}),!d&&G.jsx("span",{style:{position:"absolute",top:-3,right:-3,width:8,height:8,borderRadius:"50%",background:"#f59e0b",border:"2px solid white",boxShadow:"0 1px 3px rgba(0,0,0,0.2)"}})]}),K&&G.jsxs("div",{style:{height:sT,display:"flex",alignItems:"center",justifyContent:"center",paddingLeft:20,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:10,color:"rgba(0, 0, 0, 0.4)",letterSpacing:"-0.01em",transition:"opacity 0.3s"},children:[ft,"K for commands"]})]}),bt)}function AD(u){const[r,d]=$.useState(new Map),h=$.useRef(null),y=$.useRef(null),b=$.useRef(null),S=$.useCallback(()=>{if(!u){d(new Map);return}const w=u instanceof Set?u:new Set(u.keys());if(w.size===0){d(new Map);return}const A=new Map;document.querySelectorAll("[data-loc]").forEach(R=>{const M=R.getAttribute("data-loc");if(M&&w.has(M)){const B=R.getBoundingClientRect();B.width>0&&B.height>0&&A.set(M,{dataLoc:M,rect:B,element:R})}}),d(A)},[u]),x=$.useCallback(()=>{b.current||(b.current=requestAnimationFrame(()=>{S(),b.current=null}))},[S]);return $.useEffect(()=>(S(),window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x,{passive:!0}),h.current=new MutationObserver(x),h.current.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-loc"]}),y.current=new MutationObserver(w=>{for(const A of w)if(A.type==="attributes"&&A.attributeName==="style"){x();break}}),y.current.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",x),h.current?.disconnect(),y.current?.disconnect(),b.current&&cancelAnimationFrame(b.current)}),[S,x]),r}function RD(u){const r=u.split(":"),d=parseInt(r.pop()||"0",10),h=parseInt(r.pop()||"0",10);return{filePath:r.join(":"),line:h,column:d}}function DD(u,r,d,h){return`${u}:${r}:${d}:${h}`}function CD(u){return u===2?"error":"warning"}function L1(u){switch(u){case"error":return"#ef4444";case"warning":return"#f59e0b";case"info":return"#3b82f6"}}function zD(u,r="eslint"){if(!u.message||!u.line)return null;const d=u.dataLoc||"",{filePath:h}=d?RD(d):{filePath:""},y=u.ruleId||"unknown",b=u.severity?CD(u.severity):"warning";return{id:DD(r,y,d,u.line),message:u.message,severity:b,dataLoc:d,ruleId:y,pluginId:r,filePath:h,line:u.line,column:u.column}}function MD({rect:u,issues:r,isHovered:d,showDetails:h,onClick:y}){const b=$.useMemo(()=>r.some(w=>w.severity==="error")?"error":r.some(w=>w.severity==="warning")?"warning":"info",[r]),S=L1(b),x=r.length;return G.jsxs("div",{onClick:y,style:{position:"fixed",left:u.left-2,top:u.top-2,width:u.width+4,height:u.height+4,border:`2px solid ${S}`,borderRadius:4,pointerEvents:"auto",cursor:"pointer",opacity:d?1:.6,transition:"opacity 0.15s",zIndex:99990},children:[G.jsx("span",{style:{position:"absolute",top:-10,right:-10,minWidth:18,height:18,borderRadius:9,background:S,color:"white",fontSize:10,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px"},children:x}),h&&d&&G.jsxs("div",{style:{position:"absolute",top:"100%",left:0,marginTop:8,padding:"8px 12px",background:"#1f2937",color:"white",borderRadius:6,fontSize:12,maxWidth:300,whiteSpace:"pre-wrap",boxShadow:"0 4px 12px rgba(0,0,0,0.2)",zIndex:99991},children:[G.jsxs("strong",{children:[x," issue",x!==1?"s":""]}),G.jsxs("div",{style:{marginTop:4,opacity:.8},children:[r.slice(0,3).map((w,A)=>G.jsxs("div",{style:{marginTop:A>0?4:0},children:["• ",w.message.slice(0,60),w.message.length>60?"...":""]},A)),r.length>3&&G.jsxs("div",{style:{marginTop:4,opacity:.6},children:["+",r.length-3," more..."]})]})]})]})}function OD(){const u=ge(w=>w.altKeyHeld),r=ge(w=>w.openInspector),d=ge(w=>w.hoveredElementId),h=ge(w=>w.setHoveredElementId),y=ge(w=>w.plugins?.eslint?.issues),b=AD(y),S=w=>{r("element",{dataLoc:w})};if(!y||y.size===0)return null;const x=document.getElementById("uilint-portal")||document.body;return Tm.createPortal(G.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:99990},onMouseMove:w=>{const z=w.target.getAttribute?.("data-loc");h(z||null)},children:Array.from(b.entries()).map(([w,{rect:A}])=>{const z=y.get(w)||[];return z.length===0?null:G.jsx(MD,{dataLoc:w,rect:A,issues:z,isHovered:d===w,showDetails:u,onClick:()=>S(w)},w)})}),x)}const V1=$.createContext({});function Y1(u){const r=$.useRef(null);return r.current===null&&(r.current=u()),r.current}const cT=typeof window<"u",fT=cT?$.useLayoutEffect:$.useEffect,Yy=$.createContext(null);function q1(u,r){u.indexOf(r)===-1&&u.push(r)}function G1(u,r){const d=u.indexOf(r);d>-1&&u.splice(d,1)}const Jo=(u,r,d)=>d>r?r:d<u?u:d;function X1(u,r){return r?`${u}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:u}let Ld=()=>{},qu=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(Ld=(u,r,d)=>{!u&&typeof console<"u"&&console.warn(X1(r,d))},qu=(u,r,d)=>{if(!u)throw new Error(X1(r,d))});const Gu={},dT=u=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(u);function hT(u){return typeof u=="object"&&u!==null}const pT=u=>/^0[^.\s]+$/u.test(u);function Q1(u){let r;return()=>(r===void 0&&(r=u()),r)}const bi=u=>u,_D=(u,r)=>d=>r(u(d)),Rm=(...u)=>u.reduce(_D),Dm=(u,r,d)=>{const h=r-u;return h===0?1:(d-u)/h};class Z1{constructor(){this.subscriptions=[]}add(r){return q1(this.subscriptions,r),()=>G1(this.subscriptions,r)}notify(r,d,h){const y=this.subscriptions.length;if(y)if(y===1)this.subscriptions[0](r,d,h);else for(let b=0;b<y;b++){const S=this.subscriptions[b];S&&S(r,d,h)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $o=u=>u*1e3,Si=u=>u/1e3;function mT(u,r){return r?u*(1e3/r):0}const gT=new Set;function K1(u,r,d){u||gT.has(r)||(console.warn(X1(r,d)),gT.add(r))}const yT=(u,r,d)=>(((1-3*d+3*r)*u+(3*d-6*r))*u+3*r)*u,UD=1e-7,jD=12;function ND(u,r,d,h,y){let b,S,x=0;do S=r+(d-r)/2,b=yT(S,h,y)-u,b>0?d=S:r=S;while(Math.abs(b)>UD&&++x<jD);return S}function Cm(u,r,d,h){if(u===r&&d===h)return bi;const y=b=>ND(b,0,1,u,d);return b=>b===0||b===1?b:yT(y(b),r,h)}const vT=u=>r=>r<=.5?u(2*r)/2:(2-u(2*(1-r)))/2,bT=u=>r=>1-u(1-r),ST=Cm(.33,1.53,.69,.99),J1=bT(ST),xT=vT(J1),TT=u=>(u*=2)<1?.5*J1(u):.5*(2-Math.pow(2,-10*(u-1))),$1=u=>1-Math.sin(Math.acos(u)),wT=bT($1),ET=vT($1),HD=Cm(.42,0,1,1),BD=Cm(0,0,.58,1),AT=Cm(.42,0,.58,1),kD=u=>Array.isArray(u)&&typeof u[0]!="number",RT=u=>Array.isArray(u)&&typeof u[0]=="number",DT={linear:bi,easeIn:HD,easeInOut:AT,easeOut:BD,circIn:$1,circInOut:ET,circOut:wT,backIn:J1,backInOut:xT,backOut:ST,anticipate:TT},LD=u=>typeof u=="string",CT=u=>{if(RT(u)){qu(u.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,d,h,y]=u;return Cm(r,d,h,y)}else if(LD(u))return qu(DT[u]!==void 0,`Invalid easing type '${u}'`,"invalid-easing-type"),DT[u];return u},qy=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function VD(u,r){let d=new Set,h=new Set,y=!1,b=!1;const S=new WeakSet;let x={delta:0,timestamp:0,isProcessing:!1};function w(z){S.has(z)&&(A.schedule(z),u()),z(x)}const A={schedule:(z,R=!1,M=!1)=>{const nt=M&&y?d:h;return R&&S.add(z),nt.has(z)||nt.add(z),z},cancel:z=>{h.delete(z),S.delete(z)},process:z=>{if(x=z,y){b=!0;return}y=!0,[d,h]=[h,d],d.forEach(w),d.clear(),y=!1,b&&(b=!1,A.process(z))}};return A}const YD=40;function zT(u,r){let d=!1,h=!0;const y={delta:0,timestamp:0,isProcessing:!1},b=()=>d=!0,S=qy.reduce((ft,Dt)=>(ft[Dt]=VD(b),ft),{}),{setup:x,read:w,resolveKeyframes:A,preUpdate:z,update:R,preRender:M,render:B,postRender:nt}=S,it=()=>{const ft=Gu.useManualTiming?y.timestamp:performance.now();d=!1,Gu.useManualTiming||(y.delta=h?1e3/60:Math.max(Math.min(ft-y.timestamp,YD),1)),y.timestamp=ft,y.isProcessing=!0,x.process(y),w.process(y),A.process(y),z.process(y),R.process(y),M.process(y),B.process(y),nt.process(y),y.isProcessing=!1,d&&r&&(h=!1,u(it))},rt=()=>{d=!0,h=!0,y.isProcessing||u(it)};return{schedule:qy.reduce((ft,Dt)=>{const St=S[Dt];return ft[Dt]=(kt,wt=!1,Z=!1)=>(d||rt(),St.schedule(kt,wt,Z)),ft},{}),cancel:ft=>{for(let Dt=0;Dt<qy.length;Dt++)S[qy[Dt]].cancel(ft)},state:y,steps:S}}const{schedule:rn,cancel:ns,state:ba,steps:F1}=zT(typeof requestAnimationFrame<"u"?requestAnimationFrame:bi,!0);let Gy;function qD(){Gy=void 0}const $a={now:()=>(Gy===void 0&&$a.set(ba.isProcessing||Gu.useManualTiming?ba.timestamp:performance.now()),Gy),set:u=>{Gy=u,queueMicrotask(qD)}},MT=u=>r=>typeof r=="string"&&r.startsWith(u),OT=MT("--"),GD=MT("var(--"),W1=u=>GD(u)?XD.test(u.split("/*")[0].trim()):!1,XD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function _T(u){return typeof u!="string"?!1:u.split("/*")[0].includes("var(--")}const Vd={test:u=>typeof u=="number",parse:parseFloat,transform:u=>u},zm={...Vd,transform:u=>Jo(0,1,u)},Xy={...Vd,default:1},Mm=u=>Math.round(u*1e5)/1e5,P1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function QD(u){return u==null}const ZD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,I1=(u,r)=>d=>!!(typeof d=="string"&&ZD.test(d)&&d.startsWith(u)||r&&!QD(d)&&Object.prototype.hasOwnProperty.call(d,r)),UT=(u,r,d)=>h=>{if(typeof h!="string")return h;const[y,b,S,x]=h.match(P1);return{[u]:parseFloat(y),[r]:parseFloat(b),[d]:parseFloat(S),alpha:x!==void 0?parseFloat(x):1}},KD=u=>Jo(0,255,u),tS={...Vd,transform:u=>Math.round(KD(u))},Gc={test:I1("rgb","red"),parse:UT("red","green","blue"),transform:({red:u,green:r,blue:d,alpha:h=1})=>"rgba("+tS.transform(u)+", "+tS.transform(r)+", "+tS.transform(d)+", "+Mm(zm.transform(h))+")"};function JD(u){let r="",d="",h="",y="";return u.length>5?(r=u.substring(1,3),d=u.substring(3,5),h=u.substring(5,7),y=u.substring(7,9)):(r=u.substring(1,2),d=u.substring(2,3),h=u.substring(3,4),y=u.substring(4,5),r+=r,d+=d,h+=h,y+=y),{red:parseInt(r,16),green:parseInt(d,16),blue:parseInt(h,16),alpha:y?parseInt(y,16)/255:1}}const eS={test:I1("#"),parse:JD,transform:Gc.transform},Om=u=>({test:r=>typeof r=="string"&&r.endsWith(u)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${u}`}),as=Om("deg"),Fo=Om("%"),_t=Om("px"),$D=Om("vh"),FD=Om("vw"),jT={...Fo,parse:u=>Fo.parse(u)/100,transform:u=>Fo.transform(u*100)},Yd={test:I1("hsl","hue"),parse:UT("hue","saturation","lightness"),transform:({hue:u,saturation:r,lightness:d,alpha:h=1})=>"hsla("+Math.round(u)+", "+Fo.transform(Mm(r))+", "+Fo.transform(Mm(d))+", "+Mm(zm.transform(h))+")"},Ln={test:u=>Gc.test(u)||eS.test(u)||Yd.test(u),parse:u=>Gc.test(u)?Gc.parse(u):Yd.test(u)?Yd.parse(u):eS.parse(u),transform:u=>typeof u=="string"?u:u.hasOwnProperty("red")?Gc.transform(u):Yd.transform(u),getAnimatableNone:u=>{const r=Ln.parse(u);return r.alpha=0,Ln.transform(r)}},WD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function PD(u){return isNaN(u)&&typeof u=="string"&&(u.match(P1)?.length||0)+(u.match(WD)?.length||0)>0}const NT="number",HT="color",ID="var",tC="var(",BT="${}",eC=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _m(u){const r=u.toString(),d=[],h={color:[],number:[],var:[]},y=[];let b=0;const x=r.replace(eC,w=>(Ln.test(w)?(h.color.push(b),y.push(HT),d.push(Ln.parse(w))):w.startsWith(tC)?(h.var.push(b),y.push(ID),d.push(w)):(h.number.push(b),y.push(NT),d.push(parseFloat(w))),++b,BT)).split(BT);return{values:d,split:x,indexes:h,types:y}}function kT(u){return _m(u).values}function LT(u){const{split:r,types:d}=_m(u),h=r.length;return y=>{let b="";for(let S=0;S<h;S++)if(b+=r[S],y[S]!==void 0){const x=d[S];x===NT?b+=Mm(y[S]):x===HT?b+=Ln.transform(y[S]):b+=y[S]}return b}}const nC=u=>typeof u=="number"?0:Ln.test(u)?Ln.getAnimatableNone(u):u;function aC(u){const r=kT(u);return LT(u)(r.map(nC))}const ls={test:PD,parse:kT,createTransformer:LT,getAnimatableNone:aC};function nS(u,r,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?u+(r-u)*6*d:d<1/2?r:d<2/3?u+(r-u)*(2/3-d)*6:u}function lC({hue:u,saturation:r,lightness:d,alpha:h}){u/=360,r/=100,d/=100;let y=0,b=0,S=0;if(!r)y=b=S=d;else{const x=d<.5?d*(1+r):d+r-d*r,w=2*d-x;y=nS(w,x,u+1/3),b=nS(w,x,u),S=nS(w,x,u-1/3)}return{red:Math.round(y*255),green:Math.round(b*255),blue:Math.round(S*255),alpha:h}}function Qy(u,r){return d=>d>0?r:u}const vn=(u,r,d)=>u+(r-u)*d,aS=(u,r,d)=>{const h=u*u,y=d*(r*r-h)+h;return y<0?0:Math.sqrt(y)},iC=[eS,Gc,Yd],oC=u=>iC.find(r=>r.test(u));function VT(u){const r=oC(u);if(Ld(!!r,`'${u}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let d=r.parse(u);return r===Yd&&(d=lC(d)),d}const YT=(u,r)=>{const d=VT(u),h=VT(r);if(!d||!h)return Qy(u,r);const y={...d};return b=>(y.red=aS(d.red,h.red,b),y.green=aS(d.green,h.green,b),y.blue=aS(d.blue,h.blue,b),y.alpha=vn(d.alpha,h.alpha,b),Gc.transform(y))},lS=new Set(["none","hidden"]);function uC(u,r){return lS.has(u)?d=>d<=0?u:r:d=>d>=1?r:u}function rC(u,r){return d=>vn(u,r,d)}function iS(u){return typeof u=="number"?rC:typeof u=="string"?W1(u)?Qy:Ln.test(u)?YT:fC:Array.isArray(u)?qT:typeof u=="object"?Ln.test(u)?YT:sC:Qy}function qT(u,r){const d=[...u],h=d.length,y=u.map((b,S)=>iS(b)(b,r[S]));return b=>{for(let S=0;S<h;S++)d[S]=y[S](b);return d}}function sC(u,r){const d={...u,...r},h={};for(const y in d)u[y]!==void 0&&r[y]!==void 0&&(h[y]=iS(u[y])(u[y],r[y]));return y=>{for(const b in h)d[b]=h[b](y);return d}}function cC(u,r){const d=[],h={color:0,var:0,number:0};for(let y=0;y<r.values.length;y++){const b=r.types[y],S=u.indexes[b][h[b]],x=u.values[S]??0;d[y]=x,h[b]++}return d}const fC=(u,r)=>{const d=ls.createTransformer(r),h=_m(u),y=_m(r);return h.indexes.var.length===y.indexes.var.length&&h.indexes.color.length===y.indexes.color.length&&h.indexes.number.length>=y.indexes.number.length?lS.has(u)&&!y.values.length||lS.has(r)&&!h.values.length?uC(u,r):Rm(qT(cC(h,y),y.values),d):(Ld(!0,`Complex values '${u}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Qy(u,r))};function GT(u,r,d){return typeof u=="number"&&typeof r=="number"&&typeof d=="number"?vn(u,r,d):iS(u)(u,r)}const dC=u=>{const r=({timestamp:d})=>u(d);return{start:(d=!0)=>rn.update(r,d),stop:()=>ns(r),now:()=>ba.isProcessing?ba.timestamp:$a.now()}},XT=(u,r,d=10)=>{let h="";const y=Math.max(Math.round(r/d),2);for(let b=0;b<y;b++)h+=Math.round(u(b/(y-1))*1e4)/1e4+", ";return`linear(${h.substring(0,h.length-2)})`},Zy=2e4;function oS(u){let r=0;const d=50;let h=u.next(r);for(;!h.done&&r<Zy;)r+=d,h=u.next(r);return r>=Zy?1/0:r}function hC(u,r=100,d){const h=d({...u,keyframes:[0,r]}),y=Math.min(oS(h),Zy);return{type:"keyframes",ease:b=>h.next(y*b).value/r,duration:Si(y)}}const pC=5;function QT(u,r,d){const h=Math.max(r-pC,0);return mT(d-u(h),r-h)}const bn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},uS=.001;function mC({duration:u=bn.duration,bounce:r=bn.bounce,velocity:d=bn.velocity,mass:h=bn.mass}){let y,b;Ld(u<=$o(bn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let S=1-r;S=Jo(bn.minDamping,bn.maxDamping,S),u=Jo(bn.minDuration,bn.maxDuration,Si(u)),S<1?(y=A=>{const z=A*S,R=z*u,M=z-d,B=rS(A,S),nt=Math.exp(-R);return uS-M/B*nt},b=A=>{const R=A*S*u,M=R*d+d,B=Math.pow(S,2)*Math.pow(A,2)*u,nt=Math.exp(-R),it=rS(Math.pow(A,2),S);return(-y(A)+uS>0?-1:1)*((M-B)*nt)/it}):(y=A=>{const z=Math.exp(-A*u),R=(A-d)*u+1;return-uS+z*R},b=A=>{const z=Math.exp(-A*u),R=(d-A)*(u*u);return z*R});const x=5/u,w=yC(y,b,x);if(u=$o(u),isNaN(w))return{stiffness:bn.stiffness,damping:bn.damping,duration:u};{const A=Math.pow(w,2)*h;return{stiffness:A,damping:S*2*Math.sqrt(h*A),duration:u}}}const gC=12;function yC(u,r,d){let h=d;for(let y=1;y<gC;y++)h=h-u(h)/r(h);return h}function rS(u,r){return u*Math.sqrt(1-r*r)}const vC=["duration","bounce"],bC=["stiffness","damping","mass"];function ZT(u,r){return r.some(d=>u[d]!==void 0)}function SC(u){let r={velocity:bn.velocity,stiffness:bn.stiffness,damping:bn.damping,mass:bn.mass,isResolvedFromDuration:!1,...u};if(!ZT(u,bC)&&ZT(u,vC))if(u.visualDuration){const d=u.visualDuration,h=2*Math.PI/(d*1.2),y=h*h,b=2*Jo(.05,1,1-(u.bounce||0))*Math.sqrt(y);r={...r,mass:bn.mass,stiffness:y,damping:b}}else{const d=mC(u);r={...r,...d,mass:bn.mass},r.isResolvedFromDuration=!0}return r}function Ky(u=bn.visualDuration,r=bn.bounce){const d=typeof u!="object"?{visualDuration:u,keyframes:[0,1],bounce:r}:u;let{restSpeed:h,restDelta:y}=d;const b=d.keyframes[0],S=d.keyframes[d.keyframes.length-1],x={done:!1,value:b},{stiffness:w,damping:A,mass:z,duration:R,velocity:M,isResolvedFromDuration:B}=SC({...d,velocity:-Si(d.velocity||0)}),nt=M||0,it=A/(2*Math.sqrt(w*z)),rt=S-b,st=Si(Math.sqrt(w/z)),dt=Math.abs(rt)<5;h||(h=dt?bn.restSpeed.granular:bn.restSpeed.default),y||(y=dt?bn.restDelta.granular:bn.restDelta.default);let ft;if(it<1){const St=rS(st,it);ft=kt=>{const wt=Math.exp(-it*st*kt);return S-wt*((nt+it*st*rt)/St*Math.sin(St*kt)+rt*Math.cos(St*kt))}}else if(it===1)ft=St=>S-Math.exp(-st*St)*(rt+(nt+st*rt)*St);else{const St=st*Math.sqrt(it*it-1);ft=kt=>{const wt=Math.exp(-it*st*kt),Z=Math.min(St*kt,300);return S-wt*((nt+it*st*rt)*Math.sinh(Z)+St*rt*Math.cosh(Z))/St}}const Dt={calculatedDuration:B&&R||null,next:St=>{const kt=ft(St);if(B)x.done=St>=R;else{let wt=St===0?nt:0;it<1&&(wt=St===0?$o(nt):QT(ft,St,kt));const Z=Math.abs(wt)<=h,bt=Math.abs(S-kt)<=y;x.done=Z&&bt}return x.value=x.done?S:kt,x},toString:()=>{const St=Math.min(oS(Dt),Zy),kt=XT(wt=>Dt.next(St*wt).value,St,30);return St+"ms "+kt},toTransition:()=>{}};return Dt}Ky.applyToOptions=u=>{const r=hC(u,100,Ky);return u.ease=r.ease,u.duration=$o(r.duration),u.type="keyframes",u};function sS({keyframes:u,velocity:r=0,power:d=.8,timeConstant:h=325,bounceDamping:y=10,bounceStiffness:b=500,modifyTarget:S,min:x,max:w,restDelta:A=.5,restSpeed:z}){const R=u[0],M={done:!1,value:R},B=Z=>x!==void 0&&Z<x||w!==void 0&&Z>w,nt=Z=>x===void 0?w:w===void 0||Math.abs(x-Z)<Math.abs(w-Z)?x:w;let it=d*r;const rt=R+it,st=S===void 0?rt:S(rt);st!==rt&&(it=st-R);const dt=Z=>-it*Math.exp(-Z/h),ft=Z=>st+dt(Z),Dt=Z=>{const bt=dt(Z),K=ft(Z);M.done=Math.abs(bt)<=A,M.value=M.done?st:K};let St,kt;const wt=Z=>{B(M.value)&&(St=Z,kt=Ky({keyframes:[M.value,nt(M.value)],velocity:QT(ft,Z,M.value),damping:y,stiffness:b,restDelta:A,restSpeed:z}))};return wt(0),{calculatedDuration:null,next:Z=>{let bt=!1;return!kt&&St===void 0&&(bt=!0,Dt(Z),wt(Z)),St!==void 0&&Z>=St?kt.next(Z-St):(!bt&&Dt(Z),M)}}}function xC(u,r,d){const h=[],y=d||Gu.mix||GT,b=u.length-1;for(let S=0;S<b;S++){let x=y(u[S],u[S+1]);if(r){const w=Array.isArray(r)?r[S]||bi:r;x=Rm(w,x)}h.push(x)}return h}function TC(u,r,{clamp:d=!0,ease:h,mixer:y}={}){const b=u.length;if(qu(b===r.length,"Both input and output ranges must be the same length","range-length"),b===1)return()=>r[0];if(b===2&&r[0]===r[1])return()=>r[1];const S=u[0]===u[1];u[0]>u[b-1]&&(u=[...u].reverse(),r=[...r].reverse());const x=xC(r,h,y),w=x.length,A=z=>{if(S&&z<u[0])return r[0];let R=0;if(w>1)for(;R<u.length-2&&!(z<u[R+1]);R++);const M=Dm(u[R],u[R+1],z);return x[R](M)};return d?z=>A(Jo(u[0],u[b-1],z)):A}function wC(u,r){const d=u[u.length-1];for(let h=1;h<=r;h++){const y=Dm(0,r,h);u.push(vn(d,1,y))}}function EC(u){const r=[0];return wC(r,u.length-1),r}function AC(u,r){return u.map(d=>d*r)}function RC(u,r){return u.map(()=>r||AT).splice(0,u.length-1)}function qd({duration:u=300,keyframes:r,times:d,ease:h="easeInOut"}){const y=kD(h)?h.map(CT):CT(h),b={done:!1,value:r[0]},S=AC(d&&d.length===r.length?d:EC(r),u),x=TC(S,r,{ease:Array.isArray(y)?y:RC(r,y)});return{calculatedDuration:u,next:w=>(b.value=x(w),b.done=w>=u,b)}}const DC=u=>u!==null;function cS(u,{repeat:r,repeatType:d="loop"},h,y=1){const b=u.filter(DC),x=y<0||r&&d!=="loop"&&r%2===1?0:b.length-1;return!x||h===void 0?b[x]:h}const CC={decay:sS,inertia:sS,tween:qd,keyframes:qd,spring:Ky};function KT(u){typeof u.type=="string"&&(u.type=CC[u.type])}class fS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,d){return this.finished.then(r,d)}}const zC=u=>u/100;class dS extends fS{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:d}=this.options;d&&d.updatedAt!==$a.now()&&this.tick($a.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;KT(r);const{type:d=qd,repeat:h=0,repeatDelay:y=0,repeatType:b,velocity:S=0}=r;let{keyframes:x}=r;const w=d||qd;process.env.NODE_ENV!=="production"&&w!==qd&&qu(x.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${x}`,"spring-two-frames"),w!==qd&&typeof x[0]!="number"&&(this.mixKeyframes=Rm(zC,GT(x[0],x[1])),x=[0,100]);const A=w({...r,keyframes:x});b==="mirror"&&(this.mirroredGenerator=w({...r,keyframes:[...x].reverse(),velocity:-S})),A.calculatedDuration===null&&(A.calculatedDuration=oS(A));const{calculatedDuration:z}=A;this.calculatedDuration=z,this.resolvedDuration=z+y,this.totalDuration=this.resolvedDuration*(h+1)-y,this.generator=A}updateTime(r){const d=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(r,d=!1){const{generator:h,totalDuration:y,mixKeyframes:b,mirroredGenerator:S,resolvedDuration:x,calculatedDuration:w}=this;if(this.startTime===null)return h.next(0);const{delay:A=0,keyframes:z,repeat:R,repeatType:M,repeatDelay:B,type:nt,onUpdate:it,finalKeyframe:rt}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-y/this.speed,this.startTime)),d?this.currentTime=r:this.updateTime(r);const st=this.currentTime-A*(this.playbackSpeed>=0?1:-1),dt=this.playbackSpeed>=0?st<0:st>y;this.currentTime=Math.max(st,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let ft=this.currentTime,Dt=h;if(R){const Z=Math.min(this.currentTime,y)/x;let bt=Math.floor(Z),K=Z%1;!K&&Z>=1&&(K=1),K===1&&bt--,bt=Math.min(bt,R+1),bt%2&&(M==="reverse"?(K=1-K,B&&(K-=B/x)):M==="mirror"&&(Dt=S)),ft=Jo(0,1,K)*x}const St=dt?{done:!1,value:z[0]}:Dt.next(ft);b&&(St.value=b(St.value));let{done:kt}=St;!dt&&w!==null&&(kt=this.playbackSpeed>=0?this.currentTime>=y:this.currentTime<=0);const wt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&kt);return wt&&nt!==sS&&(St.value=cS(z,this.options,rt,this.speed)),it&&it(St.value),wt&&this.finish(),St}then(r,d){return this.finished.then(r,d)}get duration(){return Si(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Si(r)}get time(){return Si(this.currentTime)}set time(r){r=$o(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime($a.now());const d=this.playbackSpeed!==r;this.playbackSpeed=r,d&&(this.time=Si(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=dC,startTime:d}=this.options;this.driver||(this.driver=r(y=>this.tick(y))),this.options.onPlay?.();const h=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=h):this.holdTime!==null?this.startTime=h-this.holdTime:this.startTime||(this.startTime=d??h),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime($a.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function MC(u){for(let r=1;r<u.length;r++)u[r]??(u[r]=u[r-1])}const Xc=u=>u*180/Math.PI,hS=u=>{const r=Xc(Math.atan2(u[1],u[0]));return pS(r)},OC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:u=>(Math.abs(u[0])+Math.abs(u[3]))/2,rotate:hS,rotateZ:hS,skewX:u=>Xc(Math.atan(u[1])),skewY:u=>Xc(Math.atan(u[2])),skew:u=>(Math.abs(u[1])+Math.abs(u[2]))/2},pS=u=>(u=u%360,u<0&&(u+=360),u),JT=hS,$T=u=>Math.sqrt(u[0]*u[0]+u[1]*u[1]),FT=u=>Math.sqrt(u[4]*u[4]+u[5]*u[5]),_C={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:$T,scaleY:FT,scale:u=>($T(u)+FT(u))/2,rotateX:u=>pS(Xc(Math.atan2(u[6],u[5]))),rotateY:u=>pS(Xc(Math.atan2(-u[2],u[0]))),rotateZ:JT,rotate:JT,skewX:u=>Xc(Math.atan(u[4])),skewY:u=>Xc(Math.atan(u[1])),skew:u=>(Math.abs(u[1])+Math.abs(u[4]))/2};function mS(u){return u.includes("scale")?1:0}function gS(u,r){if(!u||u==="none")return mS(r);const d=u.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let h,y;if(d)h=_C,y=d;else{const x=u.match(/^matrix\(([-\d.e\s,]+)\)$/u);h=OC,y=x}if(!y)return mS(r);const b=h[r],S=y[1].split(",").map(jC);return typeof b=="function"?b(S):S[b]}const UC=(u,r)=>{const{transform:d="none"}=getComputedStyle(u);return gS(d,r)};function jC(u){return parseFloat(u.trim())}const Gd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xd=new Set(Gd),WT=u=>u===Vd||u===_t,NC=new Set(["x","y","z"]),HC=Gd.filter(u=>!NC.has(u));function BC(u){const r=[];return HC.forEach(d=>{const h=u.getValue(d);h!==void 0&&(r.push([d,h.get()]),h.set(d.startsWith("scale")?1:0))}),r}const is={width:({x:u},{paddingLeft:r="0",paddingRight:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),height:({y:u},{paddingTop:r="0",paddingBottom:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),top:(u,{top:r})=>parseFloat(r),left:(u,{left:r})=>parseFloat(r),bottom:({y:u},{top:r})=>parseFloat(r)+(u.max-u.min),right:({x:u},{left:r})=>parseFloat(r)+(u.max-u.min),x:(u,{transform:r})=>gS(r,"x"),y:(u,{transform:r})=>gS(r,"y")};is.translateX=is.x,is.translateY=is.y;const Qc=new Set;let yS=!1,vS=!1,bS=!1;function PT(){if(vS){const u=Array.from(Qc).filter(h=>h.needsMeasurement),r=new Set(u.map(h=>h.element)),d=new Map;r.forEach(h=>{const y=BC(h);y.length&&(d.set(h,y),h.render())}),u.forEach(h=>h.measureInitialState()),r.forEach(h=>{h.render();const y=d.get(h);y&&y.forEach(([b,S])=>{h.getValue(b)?.set(S)})}),u.forEach(h=>h.measureEndState()),u.forEach(h=>{h.suspendedScrollY!==void 0&&window.scrollTo(0,h.suspendedScrollY)})}vS=!1,yS=!1,Qc.forEach(u=>u.complete(bS)),Qc.clear()}function IT(){Qc.forEach(u=>{u.readKeyframes(),u.needsMeasurement&&(vS=!0)})}function kC(){bS=!0,IT(),PT(),bS=!1}class SS{constructor(r,d,h,y,b,S=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=d,this.name=h,this.motionValue=y,this.element=b,this.isAsync=S}scheduleResolve(){this.state="scheduled",this.isAsync?(Qc.add(this),yS||(yS=!0,rn.read(IT),rn.resolveKeyframes(PT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:d,element:h,motionValue:y}=this;if(r[0]===null){const b=y?.get(),S=r[r.length-1];if(b!==void 0)r[0]=b;else if(h&&d){const x=h.readValue(d,S);x!=null&&(r[0]=x)}r[0]===void 0&&(r[0]=S),y&&b===void 0&&y.set(r[0])}MC(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Qc.delete(this)}cancel(){this.state==="scheduled"&&(Qc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const LC=u=>u.startsWith("--");function VC(u,r,d){LC(r)?u.style.setProperty(r,d):u.style[r]=d}const YC=Q1(()=>window.ScrollTimeline!==void 0),qC={};function GC(u,r){const d=Q1(u);return()=>qC[r]??d()}const tw=GC(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Um=([u,r,d,h])=>`cubic-bezier(${u}, ${r}, ${d}, ${h})`,ew={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Um([0,.65,.55,1]),circOut:Um([.55,0,1,.45]),backIn:Um([.31,.01,.66,-.59]),backOut:Um([.33,1.53,.69,.99])};function nw(u,r){if(u)return typeof u=="function"?tw()?XT(u,r):"ease-out":RT(u)?Um(u):Array.isArray(u)?u.map(d=>nw(d,r)||ew.easeOut):ew[u]}function XC(u,r,d,{delay:h=0,duration:y=300,repeat:b=0,repeatType:S="loop",ease:x="easeOut",times:w}={},A=void 0){const z={[r]:d};w&&(z.offset=w);const R=nw(x,y);Array.isArray(R)&&(z.easing=R);const M={delay:h,duration:y,easing:Array.isArray(R)?"linear":R,fill:"both",iterations:b+1,direction:S==="reverse"?"alternate":"normal"};return A&&(M.pseudoElement=A),u.animate(z,M)}function aw(u){return typeof u=="function"&&"applyToOptions"in u}function QC({type:u,...r}){return aw(u)&&tw()?u.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class ZC extends fS{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:d,name:h,keyframes:y,pseudoElement:b,allowFlatten:S=!1,finalKeyframe:x,onComplete:w}=r;this.isPseudoElement=!!b,this.allowFlatten=S,this.options=r,qu(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const A=QC(r);this.animation=XC(d,h,y,A,b),A.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!b){const z=cS(y,this.options,x,this.speed);this.updateMotionValue?this.updateMotionValue(z):VC(d,h,z),this.animation.cancel()}w?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return Si(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Si(r)}get time(){return Si(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=$o(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&YC()?(this.animation.timeline=r,bi):d(this)}}const lw={anticipate:TT,backInOut:xT,circInOut:ET};function KC(u){return u in lw}function JC(u){typeof u.ease=="string"&&KC(u.ease)&&(u.ease=lw[u.ease])}const xS=10;class $C extends ZC{constructor(r){JC(r),KT(r),super(r),r.startTime!==void 0&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:d,onUpdate:h,onComplete:y,element:b,...S}=this.options;if(!d)return;if(r!==void 0){d.set(r);return}const x=new dS({...S,autoplay:!1}),w=Math.max(xS,$a.now()-this.startTime),A=Jo(0,xS,w-xS);d.setWithVelocity(x.sample(Math.max(0,w-A)).value,x.sample(w).value,A),x.stop()}}const iw=(u,r)=>r==="zIndex"?!1:!!(typeof u=="number"||Array.isArray(u)||typeof u=="string"&&(ls.test(u)||u==="0")&&!u.startsWith("url("));function FC(u){const r=u[0];if(u.length===1)return!0;for(let d=0;d<u.length;d++)if(u[d]!==r)return!0}function WC(u,r,d,h){const y=u[0];if(y===null)return!1;if(r==="display"||r==="visibility")return!0;const b=u[u.length-1],S=iw(y,r),x=iw(b,r);return Ld(S===x,`You are trying to animate ${r} from "${y}" to "${b}". "${S?b:y}" is not an animatable value.`,"value-not-animatable"),!S||!x?!1:FC(u)||(d==="spring"||aw(d))&&h}function TS(u){u.duration=0,u.type="keyframes"}const PC=new Set(["opacity","clipPath","filter","transform"]),IC=Q1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function tz(u){const{motionValue:r,name:d,repeatDelay:h,repeatType:y,damping:b,type:S}=u;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:w,transformTemplate:A}=r.owner.getProps();return IC()&&d&&PC.has(d)&&(d!=="transform"||!A)&&!w&&!h&&y!=="mirror"&&b!==0&&S!=="inertia"}const ez=40;class nz extends fS{constructor({autoplay:r=!0,delay:d=0,type:h="keyframes",repeat:y=0,repeatDelay:b=0,repeatType:S="loop",keyframes:x,name:w,motionValue:A,element:z,...R}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=$a.now();const M={autoplay:r,delay:d,type:h,repeat:y,repeatDelay:b,repeatType:S,name:w,motionValue:A,element:z,...R},B=z?.KeyframeResolver||SS;this.keyframeResolver=new B(x,(nt,it,rt)=>this.onKeyframesResolved(nt,it,M,!rt),w,A,z),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,d,h,y){this.keyframeResolver=void 0;const{name:b,type:S,velocity:x,delay:w,isHandoff:A,onUpdate:z}=h;this.resolvedAt=$a.now(),WC(r,b,S,x)||((Gu.instantAnimations||!w)&&z?.(cS(r,h,d)),r[0]=r[r.length-1],TS(h),h.repeat=0);const M={startTime:y?this.resolvedAt?this.resolvedAt-this.createdAt>ez?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...h,keyframes:r},B=!A&&tz(M)?new $C({...M,element:M.motionValue.owner.current}):new dS(M);B.finished.then(()=>this.notifyFinished()).catch(bi),this.pendingTimeline&&(this.stopTimeline=B.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=B}get finished(){return this._animation?this.animation.finished:this._finished}then(r,d){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),kC()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const az=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lz(u){const r=az.exec(u);if(!r)return[,];const[,d,h,y]=r;return[`--${d??h}`,y]}const iz=4;function ow(u,r,d=1){qu(d<=iz,`Max CSS variable fallback depth detected in property "${u}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[h,y]=lz(u);if(!h)return;const b=window.getComputedStyle(r).getPropertyValue(h);if(b){const S=b.trim();return dT(S)?parseFloat(S):S}return W1(y)?ow(y,r,d+1):y}function wS(u,r){return u?.[r]??u?.default??u}const oz={type:"spring",stiffness:500,damping:25,restSpeed:10},uz=u=>({type:"spring",stiffness:550,damping:u===0?2*Math.sqrt(550):30,restSpeed:10}),rz={type:"keyframes",duration:.8},sz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},cz=(u,{keyframes:r})=>r.length>2?rz:Xd.has(u)?u.startsWith("scale")?uz(r[1]):oz:sz;function fz({when:u,delay:r,delayChildren:d,staggerChildren:h,staggerDirection:y,repeat:b,repeatType:S,repeatDelay:x,from:w,elapsed:A,...z}){return!!Object.keys(z).length}const dz=u=>u!==null;function hz(u,{repeat:r,repeatType:d="loop"},h){const y=u.filter(dz),b=r&&d!=="loop"&&r%2===1?0:y.length-1;return y[b]}function uw(u,r,d,h=0,y=1){const b=Array.from(u).sort((A,z)=>A.sortNodePosition(z)).indexOf(r),S=u.size,x=(S-1)*h;return typeof d=="function"?d(b,S):y===1?b*h:x-b*h}const ES=(u,r,d,h={},y,b)=>S=>{const x=wS(h,u)||{},w=x.delay||h.delay||0;let{elapsed:A=0}=h;A=A-$o(w);const z={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:r.getVelocity(),...x,delay:-A,onUpdate:M=>{r.set(M),x.onUpdate&&x.onUpdate(M)},onComplete:()=>{S(),x.onComplete&&x.onComplete()},name:u,motionValue:r,element:b?void 0:y};fz(x)||Object.assign(z,cz(u,z)),z.duration&&(z.duration=$o(z.duration)),z.repeatDelay&&(z.repeatDelay=$o(z.repeatDelay)),z.from!==void 0&&(z.keyframes[0]=z.from);let R=!1;if((z.type===!1||z.duration===0&&!z.repeatDelay)&&(TS(z),z.delay===0&&(R=!0)),(Gu.instantAnimations||Gu.skipAnimations)&&(R=!0,TS(z),z.delay=0),z.allowFlatten=!x.type&&!x.ease,R&&!b&&r.get()!==void 0){const M=hz(z.keyframes,x);if(M!==void 0){rn.update(()=>{z.onUpdate(M),z.onComplete()});return}}return x.isSync?new dS(z):new nz(z)},rw=new Set(["width","height","top","left","right","bottom",...Gd]),sw=30,pz=u=>!isNaN(parseFloat(u));class mz{constructor(r,d={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=h=>{const y=$a.now();if(this.updatedAt!==y&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(h),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const b of this.dependents)b.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=d.owner}setCurrent(r){this.current=r,this.updatedAt=$a.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=pz(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return process.env.NODE_ENV!=="production"&&K1(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,d){this.events[r]||(this.events[r]=new Z1);const h=this.events[r].add(d);return r==="change"?()=>{h(),rn.read(()=>{this.events.change.getSize()||this.stop()})}:h}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,d){this.passiveEffect=r,this.stopPassiveEffect=d}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,d,h){this.set(d),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-h}jump(r,d=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=$a.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>sw)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,sw);return mT(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(r){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=r(d),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Qd(u,r){return new mz(u,r)}function cw(u){const r=[{},{}];return u?.values.forEach((d,h)=>{r[0][h]=d.get(),r[1][h]=d.getVelocity()}),r}function AS(u,r,d,h){if(typeof r=="function"){const[y,b]=cw(h);r=r(d!==void 0?d:u.custom,y,b)}if(typeof r=="string"&&(r=u.variants&&u.variants[r]),typeof r=="function"){const[y,b]=cw(h);r=r(d!==void 0?d:u.custom,y,b)}return r}function Zd(u,r,d){const h=u.getProps();return AS(h,r,d!==void 0?d:h.custom,u)}const RS=u=>Array.isArray(u);function gz(u,r,d){u.hasValue(r)?u.getValue(r).set(d):u.addValue(r,Qd(d))}function yz(u){return RS(u)?u[u.length-1]||0:u}function vz(u,r){const d=Zd(u,r);let{transitionEnd:h={},transition:y={},...b}=d||{};b={...b,...h};for(const S in b){const x=yz(b[S]);gz(u,S,x)}}const La=u=>!!(u&&u.getVelocity);function bz(u){return!!(La(u)&&u.add)}function DS(u,r){const d=u.getValue("willChange");if(bz(d))return d.add(r);if(!d&&Gu.WillChange){const h=new Gu.WillChange("auto");u.addValue("willChange",h),h.add(r)}}function CS(u){return u.replace(/([A-Z])/g,r=>`-${r.toLowerCase()}`)}const fw="data-"+CS("framerAppearId");function dw(u){return u.props[fw]}function Sz({protectedKeys:u,needsAnimating:r},d){const h=u.hasOwnProperty(d)&&r[d]!==!0;return r[d]=!1,h}function hw(u,r,{delay:d=0,transitionOverride:h,type:y}={}){let{transition:b=u.getDefaultTransition(),transitionEnd:S,...x}=r;h&&(b=h);const w=[],A=y&&u.animationState&&u.animationState.getState()[y];for(const z in x){const R=u.getValue(z,u.latestValues[z]??null),M=x[z];if(M===void 0||A&&Sz(A,z))continue;const B={delay:d,...wS(b||{},z)},nt=R.get();if(nt!==void 0&&!R.isAnimating&&!Array.isArray(M)&&M===nt&&!B.velocity)continue;let it=!1;if(window.MotionHandoffAnimation){const st=dw(u);if(st){const dt=window.MotionHandoffAnimation(st,z,rn);dt!==null&&(B.startTime=dt,it=!0)}}DS(u,z),R.start(ES(z,R,M,u.shouldReduceMotion&&rw.has(z)?{type:!1}:B,u,it));const rt=R.animation;rt&&w.push(rt)}return S&&Promise.all(w).then(()=>{rn.update(()=>{S&&vz(u,S)})}),w}function zS(u,r,d={}){const h=Zd(u,r,d.type==="exit"?u.presenceContext?.custom:void 0);let{transition:y=u.getDefaultTransition()||{}}=h||{};d.transitionOverride&&(y=d.transitionOverride);const b=h?()=>Promise.all(hw(u,h,d)):()=>Promise.resolve(),S=u.variantChildren&&u.variantChildren.size?(w=0)=>{const{delayChildren:A=0,staggerChildren:z,staggerDirection:R}=y;return xz(u,r,w,A,z,R,d)}:()=>Promise.resolve(),{when:x}=y;if(x){const[w,A]=x==="beforeChildren"?[b,S]:[S,b];return w().then(()=>A())}else return Promise.all([b(),S(d.delay)])}function xz(u,r,d=0,h=0,y=0,b=1,S){const x=[];for(const w of u.variantChildren)w.notify("AnimationStart",r),x.push(zS(w,r,{...S,delay:d+(typeof h=="function"?0:h)+uw(u.variantChildren,w,h,y,b)}).then(()=>w.notify("AnimationComplete",r)));return Promise.all(x)}function Tz(u,r,d={}){u.notify("AnimationStart",r);let h;if(Array.isArray(r)){const y=r.map(b=>zS(u,b,d));h=Promise.all(y)}else if(typeof r=="string")h=zS(u,r,d);else{const y=typeof r=="function"?Zd(u,r,d.custom):r;h=Promise.all(hw(u,y,d))}return h.then(()=>{u.notify("AnimationComplete",r)})}const wz={test:u=>u==="auto",parse:u=>u},pw=u=>r=>r.test(u),mw=[Vd,_t,Fo,as,FD,$D,wz],gw=u=>mw.find(pw(u));function Ez(u){return typeof u=="number"?u===0:u!==null?u==="none"||u==="0"||pT(u):!0}const Az=new Set(["brightness","contrast","saturate","opacity"]);function Rz(u){const[r,d]=u.slice(0,-1).split("(");if(r==="drop-shadow")return u;const[h]=d.match(P1)||[];if(!h)return u;const y=d.replace(h,"");let b=Az.has(r)?1:0;return h!==d&&(b*=100),r+"("+b+y+")"}const Dz=/\b([a-z-]*)\(.*?\)/gu,MS={...ls,getAnimatableNone:u=>{const r=u.match(Dz);return r?r.map(Rz).join(" "):u}},yw={...Vd,transform:Math.round},OS={borderWidth:_t,borderTopWidth:_t,borderRightWidth:_t,borderBottomWidth:_t,borderLeftWidth:_t,borderRadius:_t,radius:_t,borderTopLeftRadius:_t,borderTopRightRadius:_t,borderBottomRightRadius:_t,borderBottomLeftRadius:_t,width:_t,maxWidth:_t,height:_t,maxHeight:_t,top:_t,right:_t,bottom:_t,left:_t,inset:_t,insetBlock:_t,insetBlockStart:_t,insetBlockEnd:_t,insetInline:_t,insetInlineStart:_t,insetInlineEnd:_t,padding:_t,paddingTop:_t,paddingRight:_t,paddingBottom:_t,paddingLeft:_t,paddingBlock:_t,paddingBlockStart:_t,paddingBlockEnd:_t,paddingInline:_t,paddingInlineStart:_t,paddingInlineEnd:_t,margin:_t,marginTop:_t,marginRight:_t,marginBottom:_t,marginLeft:_t,marginBlock:_t,marginBlockStart:_t,marginBlockEnd:_t,marginInline:_t,marginInlineStart:_t,marginInlineEnd:_t,backgroundPositionX:_t,backgroundPositionY:_t,...{rotate:as,rotateX:as,rotateY:as,rotateZ:as,scale:Xy,scaleX:Xy,scaleY:Xy,scaleZ:Xy,skew:as,skewX:as,skewY:as,distance:_t,translateX:_t,translateY:_t,translateZ:_t,x:_t,y:_t,z:_t,perspective:_t,transformPerspective:_t,opacity:zm,originX:jT,originY:jT,originZ:_t},zIndex:yw,fillOpacity:zm,strokeOpacity:zm,numOctaves:yw},Cz={...OS,color:Ln,backgroundColor:Ln,outlineColor:Ln,fill:Ln,stroke:Ln,borderColor:Ln,borderTopColor:Ln,borderRightColor:Ln,borderBottomColor:Ln,borderLeftColor:Ln,filter:MS,WebkitFilter:MS},vw=u=>Cz[u];function bw(u,r){let d=vw(u);return d!==MS&&(d=ls),d.getAnimatableNone?d.getAnimatableNone(r):void 0}const zz=new Set(["auto","none","0"]);function Mz(u,r,d){let h=0,y;for(;h<u.length&&!y;){const b=u[h];typeof b=="string"&&!zz.has(b)&&_m(b).values.length&&(y=u[h]),h++}if(y&&d)for(const b of r)u[b]=bw(d,y)}class Oz extends SS{constructor(r,d,h,y,b){super(r,d,h,y,b,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:d,name:h}=this;if(!d||!d.current)return;super.readKeyframes();for(let z=0;z<r.length;z++){let R=r[z];if(typeof R=="string"&&(R=R.trim(),W1(R))){const M=ow(R,d.current);M!==void 0&&(r[z]=M),z===r.length-1&&(this.finalKeyframe=R)}}if(this.resolveNoneKeyframes(),!rw.has(h)||r.length!==2)return;const[y,b]=r,S=gw(y),x=gw(b),w=_T(y),A=_T(b);if(w!==A&&is[h]){this.needsMeasurement=!0;return}if(S!==x)if(WT(S)&&WT(x))for(let z=0;z<r.length;z++){const R=r[z];typeof R=="string"&&(r[z]=parseFloat(R))}else is[h]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:d}=this,h=[];for(let y=0;y<r.length;y++)(r[y]===null||Ez(r[y]))&&h.push(y);h.length&&Mz(r,h,d)}measureInitialState(){const{element:r,unresolvedKeyframes:d,name:h}=this;if(!r||!r.current)return;h==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=is[h](r.measureViewportBox(),window.getComputedStyle(r.current)),d[0]=this.measuredOrigin;const y=d[d.length-1];y!==void 0&&r.getValue(h,y).jump(y,!1)}measureEndState(){const{element:r,name:d,unresolvedKeyframes:h}=this;if(!r||!r.current)return;const y=r.getValue(d);y&&y.jump(this.measuredOrigin,!1);const b=h.length-1,S=h[b];h[b]=is[d](r.measureViewportBox(),window.getComputedStyle(r.current)),S!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=S),this.removedTransforms?.length&&this.removedTransforms.forEach(([x,w])=>{r.getValue(x).set(w)}),this.resolveNoneKeyframes()}}function _z(u,r,d){if(u instanceof EventTarget)return[u];if(typeof u=="string"){let h=document;const y=d?.[u]??h.querySelectorAll(u);return y?Array.from(y):[]}return Array.from(u)}const Sw=(u,r)=>r&&typeof u=="number"?r.transform(u):u;function xw(u){return hT(u)&&"offsetHeight"in u}const{schedule:_S}=zT(queueMicrotask,!1),mo={x:!1,y:!1};function Tw(){return mo.x||mo.y}function Uz(u){return u==="x"||u==="y"?mo[u]?null:(mo[u]=!0,()=>{mo[u]=!1}):mo.x||mo.y?null:(mo.x=mo.y=!0,()=>{mo.x=mo.y=!1})}function ww(u,r){const d=_z(u),h=new AbortController,y={passive:!0,...r,signal:h.signal};return[d,y,()=>h.abort()]}function Ew(u){return!(u.pointerType==="touch"||Tw())}function jz(u,r,d={}){const[h,y,b]=ww(u,d),S=x=>{if(!Ew(x))return;const{target:w}=x,A=r(w,x);if(typeof A!="function"||!w)return;const z=R=>{Ew(R)&&(A(R),w.removeEventListener("pointerleave",z))};w.addEventListener("pointerleave",z,y)};return h.forEach(x=>{x.addEventListener("pointerenter",S,y)}),b}const Aw=(u,r)=>r?u===r?!0:Aw(u,r.parentElement):!1,US=u=>u.pointerType==="mouse"?typeof u.button!="number"||u.button<=0:u.isPrimary!==!1,Nz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Rw(u){return Nz.has(u.tagName)||u.isContentEditable===!0}const Jy=new WeakSet;function Dw(u){return r=>{r.key==="Enter"&&u(r)}}function jS(u,r){u.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const Hz=(u,r)=>{const d=u.currentTarget;if(!d)return;const h=Dw(()=>{if(Jy.has(d))return;jS(d,"down");const y=Dw(()=>{jS(d,"up")}),b=()=>jS(d,"cancel");d.addEventListener("keyup",y,r),d.addEventListener("blur",b,r)});d.addEventListener("keydown",h,r),d.addEventListener("blur",()=>d.removeEventListener("keydown",h),r)};function Cw(u){return US(u)&&!Tw()}function Bz(u,r,d={}){const[h,y,b]=ww(u,d),S=x=>{const w=x.currentTarget;if(!Cw(x))return;Jy.add(w);const A=r(w,x),z=(B,nt)=>{window.removeEventListener("pointerup",R),window.removeEventListener("pointercancel",M),Jy.has(w)&&Jy.delete(w),Cw(B)&&typeof A=="function"&&A(B,{success:nt})},R=B=>{z(B,w===window||w===document||d.useGlobalTarget||Aw(w,B.target))},M=B=>{z(B,!1)};window.addEventListener("pointerup",R,y),window.addEventListener("pointercancel",M,y)};return h.forEach(x=>{(d.useGlobalTarget?window:x).addEventListener("pointerdown",S,y),xw(x)&&(x.addEventListener("focus",A=>Hz(A,y)),!Rw(x)&&!x.hasAttribute("tabindex")&&(x.tabIndex=0))}),b}function zw(u){return hT(u)&&"ownerSVGElement"in u}function kz(u){return zw(u)&&u.tagName==="svg"}const Lz=[...mw,Ln,ls],Vz=u=>Lz.find(pw(u)),Mw=()=>({translate:0,scale:1,origin:0,originPoint:0}),Kd=()=>({x:Mw(),y:Mw()}),Ow=()=>({min:0,max:0}),na=()=>({x:Ow(),y:Ow()}),NS={current:null},_w={current:!1},Yz=typeof window<"u";function qz(){if(_w.current=!0,!!Yz)if(window.matchMedia){const u=window.matchMedia("(prefers-reduced-motion)"),r=()=>NS.current=u.matches;u.addEventListener("change",r),r()}else NS.current=!1}const Gz=new WeakMap;function $y(u){return u!==null&&typeof u=="object"&&typeof u.start=="function"}function jm(u){return typeof u=="string"||Array.isArray(u)}const HS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],BS=["initial",...HS];function Fy(u){return $y(u.animate)||BS.some(r=>jm(u[r]))}function Uw(u){return!!(Fy(u)||u.variants)}function Xz(u,r,d){for(const h in r){const y=r[h],b=d[h];if(La(y))u.addValue(h,y);else if(La(b))u.addValue(h,Qd(y,{owner:u}));else if(b!==y)if(u.hasValue(h)){const S=u.getValue(h);S.liveStyle===!0?S.jump(y):S.hasAnimated||S.set(y)}else{const S=u.getStaticValue(h);u.addValue(h,Qd(S!==void 0?S:y,{owner:u}))}}for(const h in d)r[h]===void 0&&u.removeValue(h);return r}const jw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Wy={};function Nw(u){Wy=u}function Qz(){return Wy}class Zz{scrapeMotionValuesFromProps(r,d,h){return{}}constructor({parent:r,props:d,presenceContext:h,reducedMotionConfig:y,blockInitialAnimation:b,visualState:S},x={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=SS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const M=$a.now();this.renderScheduledAt<M&&(this.renderScheduledAt=M,rn.render(this.render,!1,!0))};const{latestValues:w,renderState:A}=S;this.latestValues=w,this.baseTarget={...w},this.initialValues=d.initial?{...w}:{},this.renderState=A,this.parent=r,this.props=d,this.presenceContext=h,this.depth=r?r.depth+1:0,this.reducedMotionConfig=y,this.options=x,this.blockInitialAnimation=!!b,this.isControllingVariants=Fy(d),this.isVariantNode=Uw(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:z,...R}=this.scrapeMotionValuesFromProps(d,{},this);for(const M in R){const B=R[M];w[M]!==void 0&&La(B)&&B.set(w[M])}}mount(r){this.current=r,Gz.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((d,h)=>this.bindToMotionValue(h,d)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(_w.current||qz(),this.shouldReduceMotion=NS.current),process.env.NODE_ENV!=="production"&&K1(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ns(this.notifyUpdate),ns(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const d=this.features[r];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,d){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const h=Xd.has(r);h&&this.onBindTransform&&this.onBindTransform();const y=d.on("change",S=>{this.latestValues[r]=S,this.props.onUpdate&&rn.preRender(this.notifyUpdate),h&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let b;typeof window<"u"&&window.MotionCheckAppearSync&&(b=window.MotionCheckAppearSync(this,r,d)),this.valueSubscriptions.set(r,()=>{y(),b&&b(),d.owner&&d.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Wy){const d=Wy[r];if(!d)continue;const{isEnabled:h,Feature:y}=d;if(!this.features[r]&&y&&h(this.props)&&(this.features[r]=new y(this)),this.features[r]){const b=this.features[r];b.isMounted?b.update():(b.mount(),b.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):na()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,d){this.latestValues[r]=d}update(r,d){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let h=0;h<jw.length;h++){const y=jw[h];this.propEventSubscriptions[y]&&(this.propEventSubscriptions[y](),delete this.propEventSubscriptions[y]);const b="on"+y,S=r[b];S&&(this.propEventSubscriptions[y]=this.on(y,S))}this.prevMotionValues=Xz(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(r),()=>d.variantChildren.delete(r)}addValue(r,d){const h=this.values.get(r);d!==h&&(h&&this.removeValue(r),this.bindToMotionValue(r,d),this.values.set(r,d),this.latestValues[r]=d.get())}removeValue(r){this.values.delete(r);const d=this.valueSubscriptions.get(r);d&&(d(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,d){if(this.props.values&&this.props.values[r])return this.props.values[r];let h=this.values.get(r);return h===void 0&&d!==void 0&&(h=Qd(d===null?void 0:d,{owner:this}),this.addValue(r,h)),h}readValue(r,d){let h=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return h!=null&&(typeof h=="string"&&(dT(h)||pT(h))?h=parseFloat(h):!Vz(h)&&ls.test(d)&&(h=bw(r,d)),this.setBaseTarget(r,La(h)?h.get():h)),La(h)?h.get():h}setBaseTarget(r,d){this.baseTarget[r]=d}getBaseTarget(r){const{initial:d}=this.props;let h;if(typeof d=="string"||typeof d=="object"){const b=AS(this.props,d,this.presenceContext?.custom);b&&(h=b[r])}if(d&&h!==void 0)return h;const y=this.getBaseTargetFromProps(this.props,r);return y!==void 0&&!La(y)?y:this.initialValues[r]!==void 0&&h===void 0?void 0:this.baseTarget[r]}on(r,d){return this.events[r]||(this.events[r]=new Z1),this.events[r].add(d)}notify(r,...d){this.events[r]&&this.events[r].notify(...d)}scheduleRenderMicrotask(){_S.render(this.render)}}class os{constructor(r){this.isMounted=!1,this.node=r}update(){}}class Hw extends Zz{constructor(){super(...arguments),this.KeyframeResolver=Oz}sortInstanceNodePosition(r,d){return r.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(r,d){const h=r.style;return h?h[d]:void 0}removeValueFromRenderState(r,{vars:d,style:h}){delete d[r],delete h[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;La(r)&&(this.childSubscription=r.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function Bw({top:u,left:r,right:d,bottom:h}){return{x:{min:r,max:d},y:{min:u,max:h}}}function Kz({x:u,y:r}){return{top:r.min,right:u.max,bottom:r.max,left:u.min}}function Jz(u,r){if(!r)return u;const d=r({x:u.left,y:u.top}),h=r({x:u.right,y:u.bottom});return{top:d.y,left:d.x,bottom:h.y,right:h.x}}function kS(u){return u===void 0||u===1}function LS({scale:u,scaleX:r,scaleY:d}){return!kS(u)||!kS(r)||!kS(d)}function Zc(u){return LS(u)||kw(u)||u.z||u.rotate||u.rotateX||u.rotateY||u.skewX||u.skewY}function kw(u){return Lw(u.x)||Lw(u.y)}function Lw(u){return u&&u!=="0%"}function Py(u,r,d){const h=u-d,y=r*h;return d+y}function Vw(u,r,d,h,y){return y!==void 0&&(u=Py(u,y,h)),Py(u,d,h)+r}function VS(u,r=0,d=1,h,y){u.min=Vw(u.min,r,d,h,y),u.max=Vw(u.max,r,d,h,y)}function Yw(u,{x:r,y:d}){VS(u.x,r.translate,r.scale,r.originPoint),VS(u.y,d.translate,d.scale,d.originPoint)}const qw=.999999999999,Gw=1.0000000000001;function $z(u,r,d,h=!1){const y=d.length;if(!y)return;r.x=r.y=1;let b,S;for(let x=0;x<y;x++){b=d[x],S=b.projectionDelta;const{visualElement:w}=b.options;w&&w.props.style&&w.props.style.display==="contents"||(h&&b.options.layoutScroll&&b.scroll&&b!==b.root&&$d(u,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),S&&(r.x*=S.x.scale,r.y*=S.y.scale,Yw(u,S)),h&&Zc(b.latestValues)&&$d(u,b.latestValues))}r.x<Gw&&r.x>qw&&(r.x=1),r.y<Gw&&r.y>qw&&(r.y=1)}function Jd(u,r){u.min=u.min+r,u.max=u.max+r}function Xw(u,r,d,h,y=.5){const b=vn(u.min,u.max,y);VS(u,r,d,b,h)}function $d(u,r){Xw(u.x,r.x,r.scaleX,r.scale,r.originX),Xw(u.y,r.y,r.scaleY,r.scale,r.originY)}function Qw(u,r){return Bw(Jz(u.getBoundingClientRect(),r))}function Fz(u,r,d){const h=Qw(u,d),{scroll:y}=r;return y&&(Jd(h.x,y.offset.x),Jd(h.y,y.offset.y)),h}const Wz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Pz=Gd.length;function Iz(u,r,d){let h="",y=!0;for(let b=0;b<Pz;b++){const S=Gd[b],x=u[S];if(x===void 0)continue;let w=!0;if(typeof x=="number"?w=x===(S.startsWith("scale")?1:0):w=parseFloat(x)===0,!w||d){const A=Sw(x,OS[S]);if(!w){y=!1;const z=Wz[S]||S;h+=`${z}(${A}) `}d&&(r[S]=A)}}return h=h.trim(),d?h=d(r,y?"":h):y&&(h="none"),h}function YS(u,r,d){const{style:h,vars:y,transformOrigin:b}=u;let S=!1,x=!1;for(const w in r){const A=r[w];if(Xd.has(w)){S=!0;continue}else if(OT(w)){y[w]=A;continue}else{const z=Sw(A,OS[w]);w.startsWith("origin")?(x=!0,b[w]=z):h[w]=z}}if(r.transform||(S||d?h.transform=Iz(r,u.transform,d):h.transform&&(h.transform="none")),x){const{originX:w="50%",originY:A="50%",originZ:z=0}=b;h.transformOrigin=`${w} ${A} ${z}`}}function Zw(u,{style:r,vars:d},h,y){const b=u.style;let S;for(S in r)b[S]=r[S];y?.applyProjectionStyles(b,h);for(S in d)b.setProperty(S,d[S])}function Kw(u,r){return r.max===r.min?0:u/(r.max-r.min)*100}const Nm={correct:(u,r)=>{if(!r.target)return u;if(typeof u=="string")if(_t.test(u))u=parseFloat(u);else return u;const d=Kw(u,r.target.x),h=Kw(u,r.target.y);return`${d}% ${h}%`}},tM={correct:(u,{treeScale:r,projectionDelta:d})=>{const h=u,y=ls.parse(u);if(y.length>5)return h;const b=ls.createTransformer(u),S=typeof y[0]!="number"?1:0,x=d.x.scale*r.x,w=d.y.scale*r.y;y[0+S]/=x,y[1+S]/=w;const A=vn(x,w,.5);return typeof y[2+S]=="number"&&(y[2+S]/=A),typeof y[3+S]=="number"&&(y[3+S]/=A),b(y)}},qS={borderRadius:{...Nm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Nm,borderTopRightRadius:Nm,borderBottomLeftRadius:Nm,borderBottomRightRadius:Nm,boxShadow:tM};function Jw(u,{layout:r,layoutId:d}){return Xd.has(u)||u.startsWith("origin")||(r||d!==void 0)&&(!!qS[u]||u==="opacity")}function GS(u,r,d){const h=u.style,y=r?.style,b={};if(!h)return b;for(const S in h)(La(h[S])||y&&La(y[S])||Jw(S,u)||d?.getValue(S)?.liveStyle!==void 0)&&(b[S]=h[S]);return b}function eM(u){return window.getComputedStyle(u)}class nM extends Hw{constructor(){super(...arguments),this.type="html",this.renderInstance=Zw}readValueFromInstance(r,d){if(Xd.has(d))return this.projection?.isProjecting?mS(d):UC(r,d);{const h=eM(r),y=(OT(d)?h.getPropertyValue(d):h[d])||0;return typeof y=="string"?y.trim():y}}measureInstanceViewportBox(r,{transformPagePoint:d}){return Qw(r,d)}build(r,d,h){YS(r,d,h.transformTemplate)}scrapeMotionValuesFromProps(r,d,h){return GS(r,d,h)}}const aM={offset:"stroke-dashoffset",array:"stroke-dasharray"},lM={offset:"strokeDashoffset",array:"strokeDasharray"};function iM(u,r,d=1,h=0,y=!0){u.pathLength=1;const b=y?aM:lM;u[b.offset]=_t.transform(-h);const S=_t.transform(r),x=_t.transform(d);u[b.array]=`${S} ${x}`}const oM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $w(u,{attrX:r,attrY:d,attrScale:h,pathLength:y,pathSpacing:b=1,pathOffset:S=0,...x},w,A,z){if(YS(u,x,A),w){u.style.viewBox&&(u.attrs.viewBox=u.style.viewBox);return}u.attrs=u.style,u.style={};const{attrs:R,style:M}=u;R.transform&&(M.transform=R.transform,delete R.transform),(M.transform||R.transformOrigin)&&(M.transformOrigin=R.transformOrigin??"50% 50%",delete R.transformOrigin),M.transform&&(M.transformBox=z?.transformBox??"fill-box",delete R.transformBox);for(const B of oM)R[B]!==void 0&&(M[B]=R[B],delete R[B]);r!==void 0&&(R.x=r),d!==void 0&&(R.y=d),h!==void 0&&(R.scale=h),y!==void 0&&iM(R,y,b,S,!1)}const Fw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Ww=u=>typeof u=="string"&&u.toLowerCase()==="svg";function uM(u,r,d,h){Zw(u,r,void 0,h);for(const y in r.attrs)u.setAttribute(Fw.has(y)?y:CS(y),r.attrs[y])}function Pw(u,r,d){const h=GS(u,r,d);for(const y in u)if(La(u[y])||La(r[y])){const b=Gd.indexOf(y)!==-1?"attr"+y.charAt(0).toUpperCase()+y.substring(1):y;h[b]=u[y]}return h}class rM extends Hw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=na}getBaseTargetFromProps(r,d){return r[d]}readValueFromInstance(r,d){if(Xd.has(d)){const h=vw(d);return h&&h.default||0}return d=Fw.has(d)?d:CS(d),r.getAttribute(d)}scrapeMotionValuesFromProps(r,d,h){return Pw(r,d,h)}build(r,d,h){$w(r,d,this.isSVGTag,h.transformTemplate,h.style)}renderInstance(r,d,h,y){uM(r,d,h,y)}mount(r){this.isSVGTag=Ww(r.tagName),super.mount(r)}}const sM=BS.length;function Iw(u){if(!u)return;if(!u.isControllingVariants){const d=u.parent?Iw(u.parent)||{}:{};return u.props.initial!==void 0&&(d.initial=u.props.initial),d}const r={};for(let d=0;d<sM;d++){const h=BS[d],y=u.props[h];(jm(y)||y===!1)&&(r[h]=y)}return r}function tE(u,r){if(!Array.isArray(r))return!1;const d=r.length;if(d!==u.length)return!1;for(let h=0;h<d;h++)if(r[h]!==u[h])return!1;return!0}const cM=[...HS].reverse(),fM=HS.length;function dM(u){return r=>Promise.all(r.map(({animation:d,options:h})=>Tz(u,d,h)))}function hM(u){let r=dM(u),d=eE(),h=!0;const y=w=>(A,z)=>{const R=Zd(u,z,w==="exit"?u.presenceContext?.custom:void 0);if(R){const{transition:M,transitionEnd:B,...nt}=R;A={...A,...nt,...B}}return A};function b(w){r=w(u)}function S(w){const{props:A}=u,z=Iw(u.parent)||{},R=[],M=new Set;let B={},nt=1/0;for(let rt=0;rt<fM;rt++){const st=cM[rt],dt=d[st],ft=A[st]!==void 0?A[st]:z[st],Dt=jm(ft),St=st===w?dt.isActive:null;St===!1&&(nt=rt);let kt=ft===z[st]&&ft!==A[st]&&Dt;if(kt&&h&&u.manuallyAnimateOnMount&&(kt=!1),dt.protectedKeys={...B},!dt.isActive&&St===null||!ft&&!dt.prevProp||$y(ft)||typeof ft=="boolean")continue;const wt=pM(dt.prevProp,ft);let Z=wt||st===w&&dt.isActive&&!kt&&Dt||rt>nt&&Dt,bt=!1;const K=Array.isArray(ft)?ft:[ft];let Tt=K.reduce(y(st),{});St===!1&&(Tt={});const{prevResolvedValues:xt={}}=dt,Nt={...xt,...Tt},ye=et=>{Z=!0,M.has(et)&&(bt=!0,M.delete(et)),dt.needsAnimating[et]=!0;const mt=u.getValue(et);mt&&(mt.liveStyle=!1)};for(const et in Nt){const mt=Tt[et],Mt=xt[et];if(B.hasOwnProperty(et))continue;let Lt=!1;RS(mt)&&RS(Mt)?Lt=!tE(mt,Mt):Lt=mt!==Mt,Lt?mt!=null?ye(et):M.add(et):mt!==void 0&&M.has(et)?ye(et):dt.protectedKeys[et]=!0}dt.prevProp=ft,dt.prevResolvedValues=Tt,dt.isActive&&(B={...B,...Tt}),h&&u.blockInitialAnimation&&(Z=!1);const De=kt&&wt;Z&&(!De||bt)&&R.push(...K.map(et=>{const mt={type:st};if(typeof et=="string"&&h&&!De&&u.manuallyAnimateOnMount&&u.parent){const{parent:Mt}=u,Lt=Zd(Mt,et);if(Mt.enteringChildren&&Lt){const{delayChildren:_}=Lt.transition||{};mt.delay=uw(Mt.enteringChildren,u,_)}}return{animation:et,options:mt}}))}if(M.size){const rt={};if(typeof A.initial!="boolean"){const st=Zd(u,Array.isArray(A.initial)?A.initial[0]:A.initial);st&&st.transition&&(rt.transition=st.transition)}M.forEach(st=>{const dt=u.getBaseTarget(st),ft=u.getValue(st);ft&&(ft.liveStyle=!0),rt[st]=dt??null}),R.push({animation:rt})}let it=!!R.length;return h&&(A.initial===!1||A.initial===A.animate)&&!u.manuallyAnimateOnMount&&(it=!1),h=!1,it?r(R):Promise.resolve()}function x(w,A){if(d[w].isActive===A)return Promise.resolve();u.variantChildren?.forEach(R=>R.animationState?.setActive(w,A)),d[w].isActive=A;const z=S(w);for(const R in d)d[R].protectedKeys={};return z}return{animateChanges:S,setActive:x,setAnimateFunction:b,getState:()=>d,reset:()=>{d=eE()}}}function pM(u,r){return typeof r=="string"?r!==u:Array.isArray(r)?!tE(r,u):!1}function Kc(u=!1){return{isActive:u,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eE(){return{animate:Kc(!0),whileInView:Kc(),whileHover:Kc(),whileTap:Kc(),whileDrag:Kc(),whileFocus:Kc(),exit:Kc()}}const nE=1e-4,mM=1-nE,gM=1+nE,aE=.01,yM=0-aE,vM=0+aE;function Fa(u){return u.max-u.min}function bM(u,r,d){return Math.abs(u-r)<=d}function lE(u,r,d,h=.5){u.origin=h,u.originPoint=vn(r.min,r.max,u.origin),u.scale=Fa(d)/Fa(r),u.translate=vn(d.min,d.max,u.origin)-u.originPoint,(u.scale>=mM&&u.scale<=gM||isNaN(u.scale))&&(u.scale=1),(u.translate>=yM&&u.translate<=vM||isNaN(u.translate))&&(u.translate=0)}function Hm(u,r,d,h){lE(u.x,r.x,d.x,h?h.originX:void 0),lE(u.y,r.y,d.y,h?h.originY:void 0)}function iE(u,r,d){u.min=d.min+r.min,u.max=u.min+Fa(r)}function SM(u,r,d){iE(u.x,r.x,d.x),iE(u.y,r.y,d.y)}function oE(u,r,d){u.min=r.min-d.min,u.max=u.min+Fa(r)}function Iy(u,r,d){oE(u.x,r.x,d.x),oE(u.y,r.y,d.y)}function uE(u,r,d,h,y){return u-=r,u=Py(u,1/d,h),y!==void 0&&(u=Py(u,1/y,h)),u}function xM(u,r=0,d=1,h=.5,y,b=u,S=u){if(Fo.test(r)&&(r=parseFloat(r),r=vn(S.min,S.max,r/100)-S.min),typeof r!="number")return;let x=vn(b.min,b.max,h);u===b&&(x-=r),u.min=uE(u.min,r,d,x,y),u.max=uE(u.max,r,d,x,y)}function rE(u,r,[d,h,y],b,S){xM(u,r[d],r[h],r[y],r.scale,b,S)}const TM=["x","scaleX","originX"],wM=["y","scaleY","originY"];function sE(u,r,d,h){rE(u.x,r,TM,d?d.x:void 0,h?h.x:void 0),rE(u.y,r,wM,d?d.y:void 0,h?h.y:void 0)}function cE(u,r){u.min=r.min,u.max=r.max}function go(u,r){cE(u.x,r.x),cE(u.y,r.y)}function fE(u,r){u.translate=r.translate,u.scale=r.scale,u.originPoint=r.originPoint,u.origin=r.origin}function dE(u){return u.translate===0&&u.scale===1}function hE(u){return dE(u.x)&&dE(u.y)}function pE(u,r){return u.min===r.min&&u.max===r.max}function EM(u,r){return pE(u.x,r.x)&&pE(u.y,r.y)}function mE(u,r){return Math.round(u.min)===Math.round(r.min)&&Math.round(u.max)===Math.round(r.max)}function gE(u,r){return mE(u.x,r.x)&&mE(u.y,r.y)}function yE(u){return Fa(u.x)/Fa(u.y)}function vE(u,r){return u.translate===r.translate&&u.scale===r.scale&&u.originPoint===r.originPoint}function xi(u){return[u("x"),u("y")]}function AM(u,r,d){let h="";const y=u.x.translate/r.x,b=u.y.translate/r.y,S=d?.z||0;if((y||b||S)&&(h=`translate3d(${y}px, ${b}px, ${S}px) `),(r.x!==1||r.y!==1)&&(h+=`scale(${1/r.x}, ${1/r.y}) `),d){const{transformPerspective:A,rotate:z,rotateX:R,rotateY:M,skewX:B,skewY:nt}=d;A&&(h=`perspective(${A}px) ${h}`),z&&(h+=`rotate(${z}deg) `),R&&(h+=`rotateX(${R}deg) `),M&&(h+=`rotateY(${M}deg) `),B&&(h+=`skewX(${B}deg) `),nt&&(h+=`skewY(${nt}deg) `)}const x=u.x.scale*r.x,w=u.y.scale*r.y;return(x!==1||w!==1)&&(h+=`scale(${x}, ${w})`),h||"none"}const bE=["TopLeft","TopRight","BottomLeft","BottomRight"],RM=bE.length,SE=u=>typeof u=="string"?parseFloat(u):u,xE=u=>typeof u=="number"||_t.test(u);function DM(u,r,d,h,y,b){y?(u.opacity=vn(0,d.opacity??1,CM(h)),u.opacityExit=vn(r.opacity??1,0,zM(h))):b&&(u.opacity=vn(r.opacity??1,d.opacity??1,h));for(let S=0;S<RM;S++){const x=`border${bE[S]}Radius`;let w=TE(r,x),A=TE(d,x);if(w===void 0&&A===void 0)continue;w||(w=0),A||(A=0),w===0||A===0||xE(w)===xE(A)?(u[x]=Math.max(vn(SE(w),SE(A),h),0),(Fo.test(A)||Fo.test(w))&&(u[x]+="%")):u[x]=A}(r.rotate||d.rotate)&&(u.rotate=vn(r.rotate||0,d.rotate||0,h))}function TE(u,r){return u[r]!==void 0?u[r]:u.borderRadius}const CM=wE(0,.5,wT),zM=wE(.5,.95,bi);function wE(u,r,d){return h=>h<u?0:h>r?1:d(Dm(u,r,h))}function MM(u,r){const d=$a.now(),h=({timestamp:y})=>{const b=y-d;b>=r&&(ns(h),u(b-r))};return rn.setup(h,!0),()=>ns(h)}function Bm(u,r,d,h={passive:!0}){return u.addEventListener(r,d,h),()=>u.removeEventListener(r,d)}function tv(u){return La(u)?u.get():u}function OM(u,r,d){const h=La(u)?u:Qd(u);return h.start(ES("",h,r,d)),h.animation}const _M=(u,r)=>u.depth-r.depth;class UM{constructor(){this.children=[],this.isDirty=!1}add(r){q1(this.children,r),this.isDirty=!0}remove(r){G1(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(_M),this.isDirty=!1,this.children.forEach(r)}}class jM{constructor(){this.members=[]}add(r){q1(this.members,r),r.scheduleRender()}remove(r){if(G1(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(r){const d=this.members.findIndex(y=>r===y);if(d===0)return!1;let h;for(let y=d;y>=0;y--){const b=this.members[y];if(b.isPresent!==!1){h=b;break}}return h?(this.promote(h),!0):!1}promote(r,d){const h=this.lead;if(r!==h&&(this.prevLead=h,this.lead=r,r.show(),h)){h.instance&&h.scheduleRender(),r.scheduleRender(),r.resumeFrom=h,d&&(r.resumeFrom.preserveOpacity=!0),h.snapshot&&(r.snapshot=h.snapshot,r.snapshot.latestValues=h.animationValues||h.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:y}=r.options;y===!1&&h.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:d,resumingFrom:h}=r;d.onExitComplete&&d.onExitComplete(),h&&h.options.onExitComplete&&h.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const ev={hasAnimatedSinceResize:!0,hasEverUpdated:!1},XS=["","X","Y","Z"],NM=1e3;let HM=0;function QS(u,r,d,h){const{latestValues:y}=r;y[u]&&(d[u]=y[u],r.setStaticValue(u,0),h&&(h[u]=0))}function EE(u){if(u.hasCheckedOptimisedAppear=!0,u.root===u)return;const{visualElement:r}=u.options;if(!r)return;const d=dw(r);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:y,layoutId:b}=u.options;window.MotionCancelOptimisedAnimation(d,"transform",rn,!(y||b))}const{parent:h}=u;h&&!h.hasCheckedOptimisedAppear&&EE(h)}function AE({attachResizeListener:u,defaultParent:r,measureScroll:d,checkIsScrollRoot:h,resetTransform:y}){return class{constructor(S={},x=r?.()){this.id=HM++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(LM),this.nodes.forEach(GM),this.nodes.forEach(XM),this.nodes.forEach(VM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=S,this.root=x?x.root||x:this,this.path=x?[...x.path,x]:[],this.parent=x,this.depth=x?x.depth+1:0;for(let w=0;w<this.path.length;w++)this.path[w].shouldResetTransform=!0;this.root===this&&(this.nodes=new UM)}addEventListener(S,x){return this.eventHandlers.has(S)||this.eventHandlers.set(S,new Z1),this.eventHandlers.get(S).add(x)}notifyListeners(S,...x){const w=this.eventHandlers.get(S);w&&w.notify(...x)}hasListeners(S){return this.eventHandlers.has(S)}mount(S){if(this.instance)return;this.isSVG=zw(S)&&!kz(S),this.instance=S;const{layoutId:x,layout:w,visualElement:A}=this.options;if(A&&!A.current&&A.mount(S),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(w||x)&&(this.isLayoutDirty=!0),u){let z,R=0;const M=()=>this.root.updateBlockedByResize=!1;rn.read(()=>{R=window.innerWidth}),u(S,()=>{const B=window.innerWidth;B!==R&&(R=B,this.root.updateBlockedByResize=!0,z&&z(),z=MM(M,250),ev.hasAnimatedSinceResize&&(ev.hasAnimatedSinceResize=!1,this.nodes.forEach(CE)))})}x&&this.root.registerSharedNode(x,this),this.options.animate!==!1&&A&&(x||w)&&this.addEventListener("didUpdate",({delta:z,hasLayoutChanged:R,hasRelativeLayoutChanged:M,layout:B})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const nt=this.options.transition||A.getDefaultTransition()||$M,{onLayoutAnimationStart:it,onLayoutAnimationComplete:rt}=A.getProps(),st=!this.targetLayout||!gE(this.targetLayout,B),dt=!R&&M;if(this.options.layoutRoot||this.resumeFrom||dt||R&&(st||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const ft={...wS(nt,"layout"),onPlay:it,onComplete:rt};(A.shouldReduceMotion||this.options.layoutRoot)&&(ft.delay=0,ft.type=!1),this.startAnimation(ft),this.setAnimationOrigin(z,dt)}else R||CE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=B})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const S=this.getStack();S&&S.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ns(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(QM),this.animationId++)}getTransformTemplate(){const{visualElement:S}=this.options;return S&&S.getProps().transformTemplate}willUpdate(S=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&EE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let z=0;z<this.path.length;z++){const R=this.path[z];R.shouldResetTransform=!0,R.updateScroll("snapshot"),R.options.layoutRoot&&R.willUpdate(!1)}const{layoutId:x,layout:w}=this.options;if(x===void 0&&!w)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),S&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(RE);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(DE);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(qM),this.nodes.forEach(BM),this.nodes.forEach(kM)):this.nodes.forEach(DE),this.clearAllSnapshots();const x=$a.now();ba.delta=Jo(0,1e3/60,x-ba.timestamp),ba.timestamp=x,ba.isProcessing=!0,F1.update.process(ba),F1.preRender.process(ba),F1.render.process(ba),ba.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_S.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(YM),this.sharedNodes.forEach(ZM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,rn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){rn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Fa(this.snapshot.measuredBox.x)&&!Fa(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let w=0;w<this.path.length;w++)this.path[w].updateScroll();const S=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=na(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:x}=this.options;x&&x.notify("LayoutMeasure",this.layout.layoutBox,S?S.layoutBox:void 0)}updateScroll(S="measure"){let x=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===S&&(x=!1),x&&this.instance){const w=h(this.instance);this.scroll={animationId:this.root.animationId,phase:S,isRoot:w,offset:d(this.instance),wasRoot:this.scroll?this.scroll.isRoot:w}}}resetTransform(){if(!y)return;const S=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,x=this.projectionDelta&&!hE(this.projectionDelta),w=this.getTransformTemplate(),A=w?w(this.latestValues,""):void 0,z=A!==this.prevTransformTemplateValue;S&&this.instance&&(x||Zc(this.latestValues)||z)&&(y(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(S=!0){const x=this.measurePageBox();let w=this.removeElementScroll(x);return S&&(w=this.removeTransform(w)),FM(w),{animationId:this.root.animationId,measuredBox:x,layoutBox:w,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:S}=this.options;if(!S)return na();const x=S.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(WM))){const{scroll:A}=this.root;A&&(Jd(x.x,A.offset.x),Jd(x.y,A.offset.y))}return x}removeElementScroll(S){const x=na();if(go(x,S),this.scroll?.wasRoot)return x;for(let w=0;w<this.path.length;w++){const A=this.path[w],{scroll:z,options:R}=A;A!==this.root&&z&&R.layoutScroll&&(z.wasRoot&&go(x,S),Jd(x.x,z.offset.x),Jd(x.y,z.offset.y))}return x}applyTransform(S,x=!1){const w=na();go(w,S);for(let A=0;A<this.path.length;A++){const z=this.path[A];!x&&z.options.layoutScroll&&z.scroll&&z!==z.root&&$d(w,{x:-z.scroll.offset.x,y:-z.scroll.offset.y}),Zc(z.latestValues)&&$d(w,z.latestValues)}return Zc(this.latestValues)&&$d(w,this.latestValues),w}removeTransform(S){const x=na();go(x,S);for(let w=0;w<this.path.length;w++){const A=this.path[w];if(!A.instance||!Zc(A.latestValues))continue;LS(A.latestValues)&&A.updateSnapshot();const z=na(),R=A.measurePageBox();go(z,R),sE(x,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,z)}return Zc(this.latestValues)&&sE(x,this.latestValues),x}setTargetDelta(S){this.targetDelta=S,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(S){this.options={...this.options,...S,crossfade:S.crossfade!==void 0?S.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ba.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(S=!1){const x=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=x.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=x.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=x.isSharedProjectionDirty);const w=!!this.resumingFrom||this!==x;if(!(S||w&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:z,layoutId:R}=this.options;if(!this.layout||!(z||R))return;this.resolvedRelativeTargetAt=ba.timestamp;const M=this.getClosestProjectingParent();M&&this.linkedParentVersion!==M.layoutVersion&&!M.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(M&&M.layout?this.createRelativeTarget(M,this.layout.layoutBox,M.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=na(),this.targetWithTransforms=na()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),SM(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):go(this.target,this.layout.layoutBox),Yw(this.target,this.targetDelta)):go(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,M&&!!M.resumingFrom==!!this.resumingFrom&&!M.options.layoutScroll&&M.target&&this.animationProgress!==1?this.createRelativeTarget(M,this.target,M.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||LS(this.parent.latestValues)||kw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(S,x,w){this.relativeParent=S,this.linkedParentVersion=S.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),Iy(this.relativeTargetOrigin,x,w),go(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const S=this.getLead(),x=!!this.resumingFrom||this!==S;let w=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(w=!1),x&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(w=!1),this.resolvedRelativeTargetAt===ba.timestamp&&(w=!1),w)return;const{layout:A,layoutId:z}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||z))return;go(this.layoutCorrected,this.layout.layoutBox);const R=this.treeScale.x,M=this.treeScale.y;$z(this.layoutCorrected,this.treeScale,this.path,x),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox,S.targetWithTransforms=na());const{target:B}=S;if(!B){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(fE(this.prevProjectionDelta.x,this.projectionDelta.x),fE(this.prevProjectionDelta.y,this.projectionDelta.y)),Hm(this.projectionDelta,this.layoutCorrected,B,this.latestValues),(this.treeScale.x!==R||this.treeScale.y!==M||!vE(this.projectionDelta.x,this.prevProjectionDelta.x)||!vE(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",B))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(S=!0){if(this.options.visualElement?.scheduleRender(),S){const x=this.getStack();x&&x.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Kd(),this.projectionDelta=Kd(),this.projectionDeltaWithTransform=Kd()}setAnimationOrigin(S,x=!1){const w=this.snapshot,A=w?w.latestValues:{},z={...this.latestValues},R=Kd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!x;const M=na(),B=w?w.source:void 0,nt=this.layout?this.layout.source:void 0,it=B!==nt,rt=this.getStack(),st=!rt||rt.members.length<=1,dt=!!(it&&!st&&this.options.crossfade===!0&&!this.path.some(JM));this.animationProgress=0;let ft;this.mixTargetDelta=Dt=>{const St=Dt/1e3;zE(R.x,S.x,St),zE(R.y,S.y,St),this.setTargetDelta(R),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Iy(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox),KM(this.relativeTarget,this.relativeTargetOrigin,M,St),ft&&EM(this.relativeTarget,ft)&&(this.isProjectionDirty=!1),ft||(ft=na()),go(ft,this.relativeTarget)),it&&(this.animationValues=z,DM(z,A,this.latestValues,St,dt,st)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=St},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(S){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ns(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rn.update(()=>{ev.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Qd(0)),this.currentAnimation=OM(this.motionValue,[0,1e3],{...S,velocity:0,isSync:!0,onUpdate:x=>{this.mixTargetDelta(x),S.onUpdate&&S.onUpdate(x)},onStop:()=>{},onComplete:()=>{S.onComplete&&S.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const S=this.getStack();S&&S.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(NM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const S=this.getLead();let{targetWithTransforms:x,target:w,layout:A,latestValues:z}=S;if(!(!x||!w||!A)){if(this!==S&&this.layout&&A&&jE(this.options.animationType,this.layout.layoutBox,A.layoutBox)){w=this.target||na();const R=Fa(this.layout.layoutBox.x);w.x.min=S.target.x.min,w.x.max=w.x.min+R;const M=Fa(this.layout.layoutBox.y);w.y.min=S.target.y.min,w.y.max=w.y.min+M}go(x,w),$d(x,z),Hm(this.projectionDeltaWithTransform,this.layoutCorrected,x,z)}}registerSharedNode(S,x){this.sharedNodes.has(S)||this.sharedNodes.set(S,new jM),this.sharedNodes.get(S).add(x);const A=x.options.initialPromotionConfig;x.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(x):void 0})}isLead(){const S=this.getStack();return S?S.lead===this:!0}getLead(){const{layoutId:S}=this.options;return S?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:S}=this.options;return S?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:S}=this.options;if(S)return this.root.sharedNodes.get(S)}promote({needsReset:S,transition:x,preserveFollowOpacity:w}={}){const A=this.getStack();A&&A.promote(this,w),S&&(this.projectionDelta=void 0,this.needsReset=!0),x&&this.setOptions({transition:x})}relegate(){const S=this.getStack();return S?S.relegate(this):!1}resetSkewAndRotation(){const{visualElement:S}=this.options;if(!S)return;let x=!1;const{latestValues:w}=S;if((w.z||w.rotate||w.rotateX||w.rotateY||w.rotateZ||w.skewX||w.skewY)&&(x=!0),!x)return;const A={};w.z&&QS("z",S,A,this.animationValues);for(let z=0;z<XS.length;z++)QS(`rotate${XS[z]}`,S,A,this.animationValues),QS(`skew${XS[z]}`,S,A,this.animationValues);S.render();for(const z in A)S.setStaticValue(z,A[z]),this.animationValues&&(this.animationValues[z]=A[z]);S.scheduleRender()}applyProjectionStyles(S,x){if(!this.instance||this.isSVG)return;if(!this.isVisible){S.visibility="hidden";return}const w=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,S.visibility="",S.opacity="",S.pointerEvents=tv(x?.pointerEvents)||"",S.transform=w?w(this.latestValues,""):"none";return}const A=this.getLead();if(!this.projectionDelta||!this.layout||!A.target){this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=tv(x?.pointerEvents)||""),this.hasProjected&&!Zc(this.latestValues)&&(S.transform=w?w({},""):"none",this.hasProjected=!1);return}S.visibility="";const z=A.animationValues||A.latestValues;this.applyTransformsToTarget();let R=AM(this.projectionDeltaWithTransform,this.treeScale,z);w&&(R=w(z,R)),S.transform=R;const{x:M,y:B}=this.projectionDelta;S.transformOrigin=`${M.origin*100}% ${B.origin*100}% 0`,A.animationValues?S.opacity=A===this?z.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:z.opacityExit:S.opacity=A===this?z.opacity!==void 0?z.opacity:"":z.opacityExit!==void 0?z.opacityExit:0;for(const nt in qS){if(z[nt]===void 0)continue;const{correct:it,applyTo:rt,isCSSVariable:st}=qS[nt],dt=R==="none"?z[nt]:it(z[nt],A);if(rt){const ft=rt.length;for(let Dt=0;Dt<ft;Dt++)S[rt[Dt]]=dt}else st?this.options.visualElement.renderState.vars[nt]=dt:S[nt]=dt}this.options.layoutId&&(S.pointerEvents=A===this?tv(x?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(S=>S.currentAnimation?.stop()),this.root.nodes.forEach(RE),this.root.sharedNodes.clear()}}}function BM(u){u.updateLayout()}function kM(u){const r=u.resumeFrom?.snapshot||u.snapshot;if(u.isLead()&&u.layout&&r&&u.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:h}=u.layout,{animationType:y}=u.options,b=r.source!==u.layout.source;y==="size"?xi(z=>{const R=b?r.measuredBox[z]:r.layoutBox[z],M=Fa(R);R.min=d[z].min,R.max=R.min+M}):jE(y,r.layoutBox,d)&&xi(z=>{const R=b?r.measuredBox[z]:r.layoutBox[z],M=Fa(d[z]);R.max=R.min+M,u.relativeTarget&&!u.currentAnimation&&(u.isProjectionDirty=!0,u.relativeTarget[z].max=u.relativeTarget[z].min+M)});const S=Kd();Hm(S,d,r.layoutBox);const x=Kd();b?Hm(x,u.applyTransform(h,!0),r.measuredBox):Hm(x,d,r.layoutBox);const w=!hE(S);let A=!1;if(!u.resumeFrom){const z=u.getClosestProjectingParent();if(z&&!z.resumeFrom){const{snapshot:R,layout:M}=z;if(R&&M){const B=na();Iy(B,r.layoutBox,R.layoutBox);const nt=na();Iy(nt,d,M.layoutBox),gE(B,nt)||(A=!0),z.options.layoutRoot&&(u.relativeTarget=nt,u.relativeTargetOrigin=B,u.relativeParent=z)}}}u.notifyListeners("didUpdate",{layout:d,snapshot:r,delta:x,layoutDelta:S,hasLayoutChanged:w,hasRelativeLayoutChanged:A})}else if(u.isLead()){const{onExitComplete:d}=u.options;d&&d()}u.options.transition=void 0}function LM(u){u.parent&&(u.isProjecting()||(u.isProjectionDirty=u.parent.isProjectionDirty),u.isSharedProjectionDirty||(u.isSharedProjectionDirty=!!(u.isProjectionDirty||u.parent.isProjectionDirty||u.parent.isSharedProjectionDirty)),u.isTransformDirty||(u.isTransformDirty=u.parent.isTransformDirty))}function VM(u){u.isProjectionDirty=u.isSharedProjectionDirty=u.isTransformDirty=!1}function YM(u){u.clearSnapshot()}function RE(u){u.clearMeasurements()}function DE(u){u.isLayoutDirty=!1}function qM(u){const{visualElement:r}=u.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),u.resetTransform()}function CE(u){u.finishAnimation(),u.targetDelta=u.relativeTarget=u.target=void 0,u.isProjectionDirty=!0}function GM(u){u.resolveTargetDelta()}function XM(u){u.calcProjection()}function QM(u){u.resetSkewAndRotation()}function ZM(u){u.removeLeadSnapshot()}function zE(u,r,d){u.translate=vn(r.translate,0,d),u.scale=vn(r.scale,1,d),u.origin=r.origin,u.originPoint=r.originPoint}function ME(u,r,d,h){u.min=vn(r.min,d.min,h),u.max=vn(r.max,d.max,h)}function KM(u,r,d,h){ME(u.x,r.x,d.x,h),ME(u.y,r.y,d.y,h)}function JM(u){return u.animationValues&&u.animationValues.opacityExit!==void 0}const $M={duration:.45,ease:[.4,0,.1,1]},OE=u=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(u),_E=OE("applewebkit/")&&!OE("chrome/")?Math.round:bi;function UE(u){u.min=_E(u.min),u.max=_E(u.max)}function FM(u){UE(u.x),UE(u.y)}function jE(u,r,d){return u==="position"||u==="preserve-aspect"&&!bM(yE(r),yE(d),.2)}function WM(u){return u!==u.root&&u.scroll?.wasRoot}const PM=AE({attachResizeListener:(u,r)=>Bm(u,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ZS={current:void 0},NE=AE({measureScroll:u=>({x:u.scrollLeft,y:u.scrollTop}),defaultParent:()=>{if(!ZS.current){const u=new PM({});u.mount(window),u.setOptions({layoutScroll:!0}),ZS.current=u}return ZS.current},resetTransform:(u,r)=>{u.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:u=>window.getComputedStyle(u).position==="fixed"}),KS=$.createContext({transformPagePoint:u=>u,isStatic:!1,reducedMotion:"never"});function HE(u,r){if(typeof u=="function")return u(r);u!=null&&(u.current=r)}function IM(...u){return r=>{let d=!1;const h=u.map(y=>{const b=HE(y,r);return!d&&typeof b=="function"&&(d=!0),b});if(d)return()=>{for(let y=0;y<h.length;y++){const b=h[y];typeof b=="function"?b():HE(u[y],null)}}}}function t3(...u){return $.useCallback(IM(...u),u)}class e3 extends $.Component{getSnapshotBeforeUpdate(r){const d=this.props.childRef.current;if(d&&r.isPresent&&!this.props.isPresent){const h=d.offsetParent,y=xw(h)&&h.offsetWidth||0,b=this.props.sizeRef.current;b.height=d.offsetHeight||0,b.width=d.offsetWidth||0,b.top=d.offsetTop,b.left=d.offsetLeft,b.right=y-b.width-b.left}return null}componentDidUpdate(){}render(){return this.props.children}}function n3({children:u,isPresent:r,anchorX:d,root:h}){const y=$.useId(),b=$.useRef(null),S=$.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:x}=$.useContext(KS),w=u.props?.ref??u?.ref,A=t3(b,w);return $.useInsertionEffect(()=>{const{width:z,height:R,top:M,left:B,right:nt}=S.current;if(r||!b.current||!z||!R)return;const it=d==="left"?`left: ${B}`:`right: ${nt}`;b.current.dataset.motionPopId=y;const rt=document.createElement("style");x&&(rt.nonce=x);const st=h??document.head;return st.appendChild(rt),rt.sheet&&rt.sheet.insertRule(`
|
|
244
244
|
[data-motion-pop-id="${y}"] {
|
|
245
245
|
position: absolute !important;
|
|
246
|
-
width: ${
|
|
246
|
+
width: ${z}px !important;
|
|
247
247
|
height: ${R}px !important;
|
|
248
|
-
${
|
|
249
|
-
top: ${
|
|
248
|
+
${it}px !important;
|
|
249
|
+
top: ${M}px !important;
|
|
250
250
|
}
|
|
251
|
-
`),()=>{ft.contains(st)&&ft.removeChild(st)}},[r]),G.jsx(W3,{isPresent:r,childRef:b,sizeRef:S,children:tt.cloneElement(u,{ref:A})})}const I3=({children:u,initial:r,isPresent:d,onExitComplete:h,custom:y,presenceAffectsLayout:b,mode:S,anchorX:x,root:w})=>{const A=k1(tM),M=tt.useId();let R=!0,z=tt.useMemo(()=>(R=!1,{id:M,initial:r,isPresent:d,custom:y,onExitComplete:B=>{A.set(B,!0);for(const lt of A.values())if(!lt)return;h&&h()},register:B=>(A.set(B,!1),()=>A.delete(B))}),[d,A,h]);return b&&R&&(z={...z}),tt.useMemo(()=>{A.forEach((B,lt)=>A.set(lt,!1))},[d]),tt.useEffect(()=>{!d&&!A.size&&h&&h()},[d]),S==="popLayout"&&(u=G.jsx(P3,{isPresent:d,anchorX:x,root:w,children:u})),G.jsx(Vy.Provider,{value:z,children:u})};function tM(){return new Map}function NE(u=!0){const r=tt.useContext(Vy);if(r===null)return[!0,null];const{isPresent:d,onExitComplete:h,register:y}=r,b=tt.useId();tt.useEffect(()=>{if(u)return y(b)},[u]);const S=tt.useCallback(()=>u&&h&&h(b),[b,h,u]);return!d&&h?[!1,S]:[!0]}const ev=u=>u.key||"";function HE(u){const r=[];return tt.Children.forEach(u,d=>{tt.isValidElement(d)&&r.push(d)}),r}const BE=({children:u,custom:r,initial:d=!0,onExitComplete:h,presenceAffectsLayout:y=!0,mode:b="sync",propagate:S=!1,anchorX:x="left",root:w})=>{const[A,M]=NE(S),R=tt.useMemo(()=>HE(u),[u]),z=S&&!A?[]:R.map(ev),B=tt.useRef(!0),lt=tt.useRef(R),ut=k1(()=>new Map),st=tt.useRef(new Set),[ft,bt]=tt.useState(R),[it,At]=tt.useState(R);sT(()=>{B.current=!1,lt.current=R;for(let Tt=0;Tt<it.length;Tt++){const Z=ev(it[Tt]);z.includes(Z)?(ut.delete(Z),st.current.delete(Z)):ut.get(Z)!==!0&&ut.set(Z,!1)}},[it,z.length,z.join("-")]);const St=[];if(R!==ft){let Tt=[...R];for(let Z=0;Z<it.length;Z++){const vt=it[Z],K=ev(vt);z.includes(K)||(Tt.splice(Z,0,vt),St.push(vt))}return b==="wait"&&St.length&&(Tt=St),At(HE(Tt)),bt(R),null}process.env.NODE_ENV!=="production"&&b==="wait"&&it.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:Lt}=tt.useContext(L1);return G.jsx(G.Fragment,{children:it.map(Tt=>{const Z=ev(Tt),vt=S&&!A?!1:R===it||z.includes(Z),K=()=>{if(st.current.has(Z))return;if(st.current.add(Z),ut.has(Z))ut.set(Z,!0);else return;let qt=!0;ut.forEach(Et=>{Et||(qt=!1)}),qt&&(Lt?.(),At(lt.current),S&&M?.(),h&&h())};return G.jsx(I3,{isPresent:vt,initial:!B.current||d?void 0:!1,custom:r,presenceAffectsLayout:y,mode:b,root:w,onExitComplete:vt?void 0:K,anchorX:x,children:Tt},Z)})})},LE=tt.createContext({strict:!1}),kE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let VE=!1;function eM(){if(VE)return;const u={};for(const r in kE)u[r]={isEnabled:d=>kE[r].some(h=>!!d[h])};Uw(u),VE=!0}function YE(){return eM(),Yz()}function nM(u){const r=YE();for(const d in u)r[d]={...r[d],...u[d]};Uw(r)}const aM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nv(u){return u.startsWith("while")||u.startsWith("drag")&&u!=="draggable"||u.startsWith("layout")||u.startsWith("onTap")||u.startsWith("onPan")||u.startsWith("onLayout")||aM.has(u)}let qE=u=>!nv(u);function lM(u){typeof u=="function"&&(qE=r=>r.startsWith("on")?!nv(r):u(r))}try{lM(require("@emotion/is-prop-valid").default)}catch{}function iM(u,r,d){const h={};for(const y in u)y==="values"&&typeof u.values=="object"||(qE(y)||d===!0&&nv(y)||!r&&!nv(y)||u.draggable&&y.startsWith("onDrag"))&&(h[y]=u[y]);return h}const av=tt.createContext({});function oM(u,r){if($y(u)){const{initial:d,animate:h}=u;return{initial:d===!1||Om(d)?d:void 0,animate:Om(h)?h:void 0}}return u.inherit!==!1?r:{}}function uM(u){const{initial:r,animate:d}=oM(u,tt.useContext(av));return tt.useMemo(()=>({initial:r,animate:d}),[GE(r),GE(d)])}function GE(u){return Array.isArray(u)?u.join(" "):u}const ZS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function XE(u,r,d){for(const h in r)!ka(r[h])&&!Zw(h,d)&&(u[h]=r[h])}function rM({transformTemplate:u},r){return tt.useMemo(()=>{const d=ZS();return kS(d,r,u),Object.assign({},d.vars,d.style)},[r])}function sM(u,r){const d=u.style||{},h={};return XE(h,d,u),Object.assign(h,rM(u,r)),h}function cM(u,r){const d={},h=sM(u,r);return u.drag&&u.dragListener!==!1&&(d.draggable=!1,h.userSelect=h.WebkitUserSelect=h.WebkitTouchCallout="none",h.touchAction=u.drag===!0?"none":`pan-${u.drag==="x"?"y":"x"}`),u.tabIndex===void 0&&(u.onTap||u.onTapStart||u.whileTap)&&(d.tabIndex=0),d.style=h,d}const QE=()=>({...ZS(),attrs:{}});function fM(u,r,d,h){const y=tt.useMemo(()=>{const b=QE();return Kw(b,r,$w(h),u.transformTemplate,u.style),{...b.attrs,style:{...b.style}}},[r]);if(u.style){const b={};XE(b,u.style,u),y.style={...b,...y.style}}return y}const dM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function KS(u){return typeof u!="string"||u.includes("-")?!1:!!(dM.indexOf(u)>-1||/[A-Z]/u.test(u))}function hM(u,r,d,{latestValues:h},y,b=!1,S){const w=(S??KS(u)?fM:cM)(r,h,y,u),A=iM(r,typeof u=="string",b),M=u!==tt.Fragment?{...A,...w,ref:d}:{},{children:R}=r,z=tt.useMemo(()=>ka(R)?R.get():R,[R]);return tt.createElement(u,{...M,children:z})}function pM({scrapeMotionValuesFromProps:u,createRenderState:r},d,h,y){return{latestValues:mM(d,h,y,u),renderState:r()}}function mM(u,r,d,h){const y={},b=h(u,{});for(const z in b)y[z]=Iy(b[z]);let{initial:S,animate:x}=u;const w=$y(u),A=Ow(u);r&&A&&!w&&u.inherit!==!1&&(S===void 0&&(S=r.initial),x===void 0&&(x=r.animate));let M=d?d.initial===!1:!1;M=M||S===!1;const R=M?x:S;if(R&&typeof R!="boolean"&&!Jy(R)){const z=Array.isArray(R)?R:[R];for(let B=0;B<z.length;B++){const lt=wS(u,z[B]);if(lt){const{transitionEnd:ut,transition:st,...ft}=lt;for(const bt in ft){let it=ft[bt];if(Array.isArray(it)){const At=M?it.length-1:0;it=it[At]}it!==null&&(y[bt]=it)}for(const bt in ut)y[bt]=ut[bt]}}}return y}const ZE=u=>(r,d)=>{const h=tt.useContext(av),y=tt.useContext(Vy),b=()=>pM(u,r,h,y);return d?b():k1(b)},gM=ZE({scrapeMotionValuesFromProps:YS,createRenderState:ZS}),yM=ZE({scrapeMotionValuesFromProps:Fw,createRenderState:QE}),vM=Symbol.for("motionComponentSymbol");function bM(u,r,d){const h=tt.useRef(d);tt.useInsertionEffect(()=>{h.current=d});const y=tt.useRef(null);return tt.useCallback(b=>{b&&u.onMount?.(b),r&&(b?r.mount(b):r.unmount());const S=h.current;if(typeof S=="function")if(b){const x=S(b);typeof x=="function"&&(y.current=x)}else y.current?(y.current(),y.current=null):S(b);else S&&(S.current=b)},[r])}const KE=tt.createContext({});function Nm(u){return u&&typeof u=="object"&&Object.prototype.hasOwnProperty.call(u,"current")}function SM(u,r,d,h,y,b){const{visualElement:S}=tt.useContext(av),x=tt.useContext(LE),w=tt.useContext(Vy),A=tt.useContext(QS).reducedMotion,M=tt.useRef(null);h=h||x.renderer,!M.current&&h&&(M.current=h(u,{visualState:r,parent:S,props:d,presenceContext:w,blockInitialAnimation:w?w.initial===!1:!1,reducedMotionConfig:A,isSVG:b}));const R=M.current,z=tt.useContext(KE);R&&!R.projection&&y&&(R.type==="html"||R.type==="svg")&&xM(M.current,d,y,z);const B=tt.useRef(!1);tt.useInsertionEffect(()=>{R&&B.current&&R.update(d,w)});const lt=d[sw],ut=tt.useRef(!!lt&&!window.MotionHandoffIsComplete?.(lt)&&window.MotionHasOptimisedAnimation?.(lt));return sT(()=>{R&&(B.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),ut.current&&R.animationState&&R.animationState.animateChanges())}),tt.useEffect(()=>{R&&(!ut.current&&R.animationState&&R.animationState.animateChanges(),ut.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(lt)}),ut.current=!1),R.enteringChildren=void 0)}),R}function xM(u,r,d,h){const{layoutId:y,layout:b,drag:S,dragConstraints:x,layoutScroll:w,layoutRoot:A,layoutCrossfade:M}=r;u.projection=new d(u.latestValues,r["data-framer-portal-id"]?void 0:JE(u.parent)),u.projection.setOptions({layoutId:y,layout:b,alwaysMeasureLayout:!!S||x&&Nm(x),visualElement:u,animationType:typeof b=="string"?b:"both",initialPromotionConfig:h,crossfade:M,layoutScroll:w,layoutRoot:A})}function JE(u){if(u)return u.options.allowProjection!==!1?u.projection:JE(u.parent)}function JS(u,{forwardMotionProps:r=!1,type:d}={},h,y){h&&nM(h);const b=d?d==="svg":KS(u),S=b?yM:gM;function x(A,M){let R;const z={...tt.useContext(QS),...A,layoutId:TM(A)},{isStatic:B}=z,lt=uM(A),ut=S(A,B);if(!B&&rT){wM(z,h);const st=EM(z);R=st.MeasureLayout,lt.visualElement=SM(u,ut,z,y,st.ProjectionNode,b)}return G.jsxs(av.Provider,{value:lt,children:[R&<.visualElement?G.jsx(R,{visualElement:lt.visualElement,...z}):null,hM(u,A,bM(ut,lt.visualElement,M),ut,B,r,b)]})}x.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const w=tt.forwardRef(x);return w[vM]=u,w}function TM({layoutId:u}){const r=tt.useContext(L1).id;return r&&u!==void 0?r+"-"+u:u}function wM(u,r){const d=tt.useContext(LE).strict;if(process.env.NODE_ENV!=="production"&&r&&d){const h="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";u.ignoreStrict?Bd(!1,h,"lazy-strict-mode"):Yu(!1,h,"lazy-strict-mode")}}function EM(u){const r=YE(),{drag:d,layout:h}=r;if(!d&&!h)return{};const y={...d,...h};return{MeasureLayout:d?.isEnabled(u)||h?.isEnabled(u)?y.MeasureLayout:void 0,ProjectionNode:y.ProjectionNode}}function AM(u,r){if(typeof Proxy>"u")return JS;const d=new Map,h=(b,S)=>JS(b,S,u,r),y=(b,S)=>(process.env.NODE_ENV!=="production"&&Q1(!1,"motion() is deprecated. Use motion.create() instead."),h(b,S));return new Proxy(y,{get:(b,S)=>S==="create"?h:(d.has(S)||d.set(S,JS(S,void 0,u,r)),d.get(S))})}const RM=(u,r)=>r.isSVG??KS(u)?new l3(r):new Pz(r,{allowProjection:u!==tt.Fragment});class DM extends ls{constructor(r){super(r),r.animationState||(r.animationState=s3(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Jy(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:d}=this.node.prevProps||{};r!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let CM=0;class zM extends ls{constructor(){super(...arguments),this.id=CM++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:d}=this.node.presenceContext,{isPresent:h}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===h)return;const y=this.node.animationState.setActive("exit",!r);d&&!r&&y.then(()=>{d(this.id)})}mount(){const{register:r,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const MM={animation:{Feature:DM},exit:{Feature:zM}};function Hm(u){return{point:{x:u.pageX,y:u.pageY}}}const OM=u=>r=>OS(r)&&u(r,Hm(r));function Bm(u,r,d,h){return jm(u,r,OM(d),h)}const $E=({current:u})=>u?u.ownerDocument.defaultView:null,FE=(u,r)=>Math.abs(u-r);function _M(u,r){const d=FE(u.x,r.x),h=FE(u.y,r.y);return Math.sqrt(d**2+h**2)}const WE=new Set(["auto","scroll"]);class PE{constructor(r,d,{transformPagePoint:h,contextWindow:y=window,dragSnapToOrigin:b=!1,distanceThreshold:S=3,element:x}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=B=>{this.handleScroll(B.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=FS(this.lastMoveEventInfo,this.history),lt=this.startEvent!==null,ut=_M(B.offset,{x:0,y:0})>=this.distanceThreshold;if(!lt&&!ut)return;const{point:st}=B,{timestamp:ft}=ba;this.history.push({...st,timestamp:ft});const{onStart:bt,onMove:it}=this.handlers;lt||(bt&&bt(this.lastMoveEvent,B),this.startEvent=this.lastMoveEvent),it&&it(this.lastMoveEvent,B)},this.handlePointerMove=(B,lt)=>{this.lastMoveEvent=B,this.lastMoveEventInfo=$S(lt,this.transformPagePoint),rn.update(this.updatePoint,!0)},this.handlePointerUp=(B,lt)=>{this.end();const{onEnd:ut,onSessionEnd:st,resumeAnimation:ft}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&ft&&ft(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const bt=FS(B.type==="pointercancel"?this.lastMoveEventInfo:$S(lt,this.transformPagePoint),this.history);this.startEvent&&ut&&ut(B,bt),st&&st(B,bt)},!OS(r))return;this.dragSnapToOrigin=b,this.handlers=d,this.transformPagePoint=h,this.distanceThreshold=S,this.contextWindow=y||window;const w=Hm(r),A=$S(w,this.transformPagePoint),{point:M}=A,{timestamp:R}=ba;this.history=[{...M,timestamp:R}];const{onSessionStart:z}=d;z&&z(r,FS(A,this.history)),this.removeListeners=wm(Bm(this.contextWindow,"pointermove",this.handlePointerMove),Bm(this.contextWindow,"pointerup",this.handlePointerUp),Bm(this.contextWindow,"pointercancel",this.handlePointerUp)),x&&this.startScrollTracking(x)}startScrollTracking(r){let d=r.parentElement;for(;d;){const h=getComputedStyle(d);(WE.has(h.overflowX)||WE.has(h.overflowY))&&this.scrollPositions.set(d,{x:d.scrollLeft,y:d.scrollTop}),d=d.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const d=this.scrollPositions.get(r);if(!d)return;const h=r===window,y=h?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},b={x:y.x-d.x,y:y.y-d.y};b.x===0&&b.y===0||(h?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=b.x,this.lastMoveEventInfo.point.y+=b.y):this.history.length>0&&(this.history[0].x-=b.x,this.history[0].y-=b.y),this.scrollPositions.set(r,y),rn.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ts(this.updatePoint)}}function $S(u,r){return r?{point:r(u.point)}:u}function IE(u,r){return{x:u.x-r.x,y:u.y-r.y}}function FS({point:u},r){return{point:u,delta:IE(u,tA(r)),offset:IE(u,UM(r)),velocity:jM(r,.1)}}function UM(u){return u[0]}function tA(u){return u[u.length-1]}function jM(u,r){if(u.length<2)return{x:0,y:0};let d=u.length-1,h=null;const y=tA(u);for(;d>=0&&(h=u[d],!(y.timestamp-h.timestamp>Jo(r)));)d--;if(!h)return{x:0,y:0};const b=Si(y.timestamp-h.timestamp);if(b===0)return{x:0,y:0};const S={x:(y.x-h.x)/b,y:(y.y-h.y)/b};return S.x===1/0&&(S.x=0),S.y===1/0&&(S.y=0),S}function NM(u,{min:r,max:d},h){return r!==void 0&&u<r?u=h?vn(r,u,h.min):Math.max(u,r):d!==void 0&&u>d&&(u=h?vn(d,u,h.max):Math.min(u,d)),u}function eA(u,r,d){return{min:r!==void 0?u.min+r:void 0,max:d!==void 0?u.max+d-(u.max-u.min):void 0}}function HM(u,{top:r,left:d,bottom:h,right:y}){return{x:eA(u.x,d,y),y:eA(u.y,r,h)}}function nA(u,r){let d=r.min-u.min,h=r.max-u.max;return r.max-r.min<u.max-u.min&&([d,h]=[h,d]),{min:d,max:h}}function BM(u,r){return{x:nA(u.x,r.x),y:nA(u.y,r.y)}}function LM(u,r){let d=.5;const h=Fa(u),y=Fa(r);return y>h?d=Em(r.min,r.max-h,u.min):h>y&&(d=Em(u.min,u.max-y,r.min)),Ko(0,1,d)}function kM(u,r){const d={};return r.min!==void 0&&(d.min=r.min-u.min),r.max!==void 0&&(d.max=r.max-u.min),d}const WS=.35;function VM(u=WS){return u===!1?u=0:u===!0&&(u=WS),{x:aA(u,"left","right"),y:aA(u,"top","bottom")}}function aA(u,r,d){return{min:lA(u,r),max:lA(u,d)}}function lA(u,r){return typeof u=="number"?u:u[r]||0}const YM=new WeakMap;class qM{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=na(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:d=!1,distanceThreshold:h}={}){const{presenceContext:y}=this.visualElement;if(y&&y.isPresent===!1)return;const b=R=>{d?(this.stopAnimation(),this.snapToCursor(Hm(R).point)):this.pauseAnimation()},S=(R,z)=>{this.stopAnimation();const{drag:B,dragPropagation:lt,onDragStart:ut}=this.getProps();if(B&&!lt&&(this.openDragLock&&this.openDragLock(),this.openDragLock=zz(B),!this.openDragLock))return;this.latestPointerEvent=R,this.latestPanInfo=z,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xi(ft=>{let bt=this.getAxisMotionValue(ft).get()||0;if($o.test(bt)){const{projection:it}=this.visualElement;if(it&&it.layout){const At=it.layout.layoutBox[ft];At&&(bt=Fa(At)*(parseFloat(bt)/100))}}this.originPoint[ft]=bt}),ut&&rn.postRender(()=>ut(R,z)),AS(this.visualElement,"transform");const{animationState:st}=this.visualElement;st&&st.setActive("whileDrag",!0)},x=(R,z)=>{this.latestPointerEvent=R,this.latestPanInfo=z;const{dragPropagation:B,dragDirectionLock:lt,onDirectionLock:ut,onDrag:st}=this.getProps();if(!B&&!this.openDragLock)return;const{offset:ft}=z;if(lt&&this.currentDirection===null){this.currentDirection=GM(ft),this.currentDirection!==null&&ut&&ut(this.currentDirection);return}this.updateAxis("x",z.point,ft),this.updateAxis("y",z.point,ft),this.visualElement.render(),st&&st(R,z)},w=(R,z)=>{this.latestPointerEvent=R,this.latestPanInfo=z,this.stop(R,z),this.latestPointerEvent=null,this.latestPanInfo=null},A=()=>xi(R=>this.getAnimationState(R)==="paused"&&this.getAxisMotionValue(R).animation?.play()),{dragSnapToOrigin:M}=this.getProps();this.panSession=new PE(r,{onSessionStart:b,onStart:S,onMove:x,onSessionEnd:w,resumeAnimation:A},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:M,distanceThreshold:h,contextWindow:$E(this.visualElement),element:this.visualElement.current})}stop(r,d){const h=r||this.latestPointerEvent,y=d||this.latestPanInfo,b=this.isDragging;if(this.cancel(),!b||!y||!h)return;const{velocity:S}=y;this.startAnimation(S);const{onDragEnd:x}=this.getProps();x&&rn.postRender(()=>x(h,y))}cancel(){this.isDragging=!1;const{projection:r,animationState:d}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:h}=this.getProps();!h&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),d&&d.setActive("whileDrag",!1)}updateAxis(r,d,h){const{drag:y}=this.getProps();if(!h||!lv(r,y,this.currentDirection))return;const b=this.getAxisMotionValue(r);let S=this.originPoint[r]+h[r];this.constraints&&this.constraints[r]&&(S=NM(S,this.constraints[r],this.elastic[r])),b.set(S)}resolveConstraints(){const{dragConstraints:r,dragElastic:d}=this.getProps(),h=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,y=this.constraints;r&&Nm(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&h?this.constraints=HM(h.layoutBox,r):this.constraints=!1,this.elastic=VM(d),y!==this.constraints&&h&&this.constraints&&!this.hasMutatedConstraints&&xi(b=>{this.constraints!==!1&&this.getAxisMotionValue(b)&&(this.constraints[b]=kM(h.layoutBox[b],this.constraints[b]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:d}=this.getProps();if(!r||!Nm(r))return!1;const h=r.current;Yu(h!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:y}=this.visualElement;if(!y||!y.layout)return!1;const b=Zz(h,y.root,this.visualElement.getTransformPagePoint());let S=BM(y.layout.layoutBox,b);if(d){const x=d(Gz(S));this.hasMutatedConstraints=!!x,x&&(S=Nw(x))}return S}startAnimation(r){const{drag:d,dragMomentum:h,dragElastic:y,dragTransition:b,dragSnapToOrigin:S,onDragTransitionEnd:x}=this.getProps(),w=this.constraints||{},A=xi(M=>{if(!lv(M,d,this.currentDirection))return;let R=w&&w[M]||{};S&&(R={min:0,max:0});const z=y?200:1e6,B=y?40:1e7,lt={type:"inertia",velocity:h?r[M]:0,bounceStiffness:z,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...b,...R};return this.startAxisValueAnimation(M,lt)});return Promise.all(A).then(x)}startAxisValueAnimation(r,d){const h=this.getAxisMotionValue(r);return AS(this.visualElement,r),h.start(TS(r,h,0,d,this.visualElement,!1))}stopAnimation(){xi(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){xi(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const d=`_drag${r.toUpperCase()}`,h=this.visualElement.getProps(),y=h[d];return y||this.visualElement.getValue(r,(h.initial?h.initial[r]:void 0)||0)}snapToCursor(r){xi(d=>{const{drag:h}=this.getProps();if(!lv(d,h,this.currentDirection))return;const{projection:y}=this.visualElement,b=this.getAxisMotionValue(d);if(y&&y.layout){const{min:S,max:x}=y.layout.layoutBox[d],w=b.get()||0;b.set(r[d]-vn(S,x,.5)+w)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:d}=this.getProps(),{projection:h}=this.visualElement;if(!Nm(d)||!h||!this.constraints)return;this.stopAnimation();const y={x:0,y:0};xi(S=>{const x=this.getAxisMotionValue(S);if(x&&this.constraints!==!1){const w=x.get();y[S]=LM({min:w,max:w},this.constraints[S])}});const{transformTemplate:b}=this.visualElement.getProps();this.visualElement.current.style.transform=b?b({},""):"none",h.root&&h.root.updateScroll(),h.updateLayout(),this.resolveConstraints(),xi(S=>{if(!lv(S,r,null))return;const x=this.getAxisMotionValue(S),{min:w,max:A}=this.constraints[S];x.set(vn(w,A,y[S]))})}addListeners(){if(!this.visualElement.current)return;YM.set(this.visualElement,this);const r=this.visualElement.current,d=Bm(r,"pointerdown",w=>{const{drag:A,dragListener:M=!0}=this.getProps();A&&M&&!Ew(w.target)&&this.start(w)}),h=()=>{const{dragConstraints:w}=this.getProps();Nm(w)&&w.current&&(this.constraints=this.resolveRefConstraints())},{projection:y}=this.visualElement,b=y.addEventListener("measure",h);y&&!y.layout&&(y.root&&y.root.updateScroll(),y.updateLayout()),rn.read(h);const S=jm(window,"resize",()=>this.scalePositionWithinConstraints()),x=y.addEventListener("didUpdate",(({delta:w,hasLayoutChanged:A})=>{this.isDragging&&A&&(xi(M=>{const R=this.getAxisMotionValue(M);R&&(this.originPoint[M]+=w[M].translate,R.set(R.get()+w[M].translate))}),this.visualElement.render())}));return()=>{S(),d(),b(),x&&x()}}getProps(){const r=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:h=!1,dragPropagation:y=!1,dragConstraints:b=!1,dragElastic:S=WS,dragMomentum:x=!0}=r;return{...r,drag:d,dragDirectionLock:h,dragPropagation:y,dragConstraints:b,dragElastic:S,dragMomentum:x}}}function lv(u,r,d){return(r===!0||r===u)&&(d===null||d===u)}function GM(u,r=10){let d=null;return Math.abs(u.y)>r?d="y":Math.abs(u.x)>r&&(d="x"),d}class XM extends ls{constructor(r){super(r),this.removeGroupControls=bi,this.removeListeners=bi,this.controls=new qM(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bi}update(){const{dragControls:r}=this.node.getProps(),{dragControls:d}=this.node.prevProps||{};r!==d&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const iA=u=>(r,d)=>{u&&rn.postRender(()=>u(r,d))};class QM extends ls{constructor(){super(...arguments),this.removePointerDownListener=bi}onPointerDown(r){this.session=new PE(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$E(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:d,onPan:h,onPanEnd:y}=this.node.getProps();return{onSessionStart:iA(r),onStart:iA(d),onMove:h,onEnd:(b,S)=>{delete this.session,y&&rn.postRender(()=>y(b,S))}}}mount(){this.removePointerDownListener=Bm(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let PS=!1;class ZM extends tt.Component{componentDidMount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:h,layoutId:y}=this.props,{projection:b}=r;b&&(d.group&&d.group.add(b),h&&h.register&&y&&h.register(b),PS&&b.root.didUpdate(),b.addEventListener("animationComplete",()=>{this.safeToRemove()}),b.setOptions({...b.options,onExitComplete:()=>this.safeToRemove()})),tv.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:d,visualElement:h,drag:y,isPresent:b}=this.props,{projection:S}=h;return S&&(S.isPresent=b,PS=!0,y||r.layoutDependency!==d||d===void 0||r.isPresent!==b?S.willUpdate():this.safeToRemove(),r.isPresent!==b&&(b?S.promote():S.relegate()||rn.postRender(()=>{const x=S.getStack();(!x||!x.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),MS.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:h}=this.props,{projection:y}=r;PS=!0,y&&(y.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(y),h&&h.deregister&&h.deregister(y))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function oA(u){const[r,d]=NE(),h=tt.useContext(L1);return G.jsx(ZM,{...u,layoutGroup:h,switchLayoutGroup:tt.useContext(KE),isPresent:r,safeToRemove:d})}const KM={pan:{Feature:QM},drag:{Feature:XM,ProjectionNode:UE,MeasureLayout:oA}};function uA(u,r,d){const{props:h}=u;u.animationState&&h.whileHover&&u.animationState.setActive("whileHover",d==="Start");const y="onHover"+d,b=h[y];b&&rn.postRender(()=>b(r,Hm(r)))}class JM extends ls{mount(){const{current:r}=this.node;r&&(this.unmount=Mz(r,(d,h)=>(uA(this.node,h,"Start"),y=>uA(this.node,y,"End"))))}unmount(){}}class $M extends ls{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=wm(jm(this.node.current,"focus",()=>this.onFocus()),jm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function rA(u,r,d){const{props:h}=u;if(u.current instanceof HTMLButtonElement&&u.current.disabled)return;u.animationState&&h.whileTap&&u.animationState.setActive("whileTap",d==="Start");const y="onTap"+(d==="End"?"":d),b=h[y];b&&rn.postRender(()=>b(r,Hm(r)))}class FM extends ls{mount(){const{current:r}=this.node;r&&(this.unmount=Uz(r,(d,h)=>(rA(this.node,h,"Start"),(y,{success:b})=>rA(this.node,y,b?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const IS=new WeakMap,t2=new WeakMap,WM=u=>{const r=IS.get(u.target);r&&r(u)},PM=u=>{u.forEach(WM)};function IM({root:u,...r}){const d=u||document;t2.has(d)||t2.set(d,{});const h=t2.get(d),y=JSON.stringify(r);return h[y]||(h[y]=new IntersectionObserver(PM,{root:u,...r})),h[y]}function tO(u,r,d){const h=IM(r);return IS.set(u,d),h.observe(u),()=>{IS.delete(u),h.unobserve(u)}}const eO={some:0,all:1};class nO extends ls{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:d,margin:h,amount:y="some",once:b}=r,S={root:d?d.current:void 0,rootMargin:h,threshold:typeof y=="number"?y:eO[y]},x=w=>{const{isIntersecting:A}=w;if(this.isInView===A||(this.isInView=A,b&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:M,onViewportLeave:R}=this.node.getProps(),z=A?M:R;z&&z(w)};return tO(this.node.current,S,x)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:d}=this.node;["amount","margin","root"].some(aO(r,d))&&this.startObserver()}unmount(){}}function aO({viewport:u={}},{viewport:r={}}={}){return d=>u[d]!==r[d]}const lO={...MM,...{inView:{Feature:nO},tap:{Feature:FM},focus:{Feature:$M},hover:{Feature:JM}},...KM,...{layout:{ProjectionNode:UE,MeasureLayout:oA}}},iv=AM(lO,RM);function sA(){const u=xe(S=>S.plugins?.eslint?.issues),r=tt.useMemo(()=>{const S=[];return u?.forEach(x=>S.push(...x)),S},[u]),d=tt.useMemo(()=>{const S=new Map;for(const x of r){const w=S.get(x.filePath)||[];w.push(x),S.set(x.filePath,w)}return S},[r]),h=tt.useCallback(S=>u?.get(S)||[],[u]),y=r.length,b=tt.useMemo(()=>({error:r.filter(S=>S.severity==="error").length,warning:r.filter(S=>S.severity==="warning").length,info:r.filter(S=>S.severity==="info").length}),[r]);return{allIssues:r,byFile:d,byDataLoc:u??new Map,getIssuesForDataLoc:h,totalCount:y,countBySeverity:b}}function iO(){const u=xe(y=>y.openCommandPalette),r=xe(y=>y.closeCommandPalette),d=xe(y=>y.setAltKeyHeld),h=xe(y=>y.commandPalette.open);tt.useEffect(()=>{const y=S=>{if((S.metaKey||S.ctrlKey)&&S.key==="k"){S.preventDefault(),h?r():u();return}if(S.key==="Escape"&&h){S.preventDefault(),r();return}S.key==="Alt"&&d(!0)},b=S=>{S.key==="Alt"&&d(!1)};return window.addEventListener("keydown",y),window.addEventListener("keyup",b),()=>{window.removeEventListener("keydown",y),window.removeEventListener("keyup",b)}},[h,u,r,d])}const cA="ws://localhost:9234",e2=5,oO=1e3;class uO{constructor(r={}){this.options=r,this.createWebSocket=r.createWebSocket??(d=>new WebSocket(d)),this._setTimeout=r.setTimeout??globalThis.setTimeout,this._clearTimeout=r.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=cA;connect(r){if(typeof WebSocket>"u"&&!this.options.createWebSocket){console.warn("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!r||r===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=r??cA,this.intentionalDisconnect=!1;try{this.ws=this.createWebSocket(this.url),this.setupEventHandlers()}catch(d){console.error("[WebSocket] Failed to create WebSocket:",d),this.scheduleReconnect()}}}disconnect(){this.intentionalDisconnect=!0,this.reconnectTimeout&&(this._clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.ws&&(this.ws.close(),this.ws=null),this.isConnected=!1,this.reconnectAttempts=0}send(r){if(!this.ws||!this.isConnected){console.warn("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(r))}catch(d){console.error("[WebSocket] Failed to send message:",d)}}on(r,d){this.handlers.has(r)||this.handlers.set(r,new Set);const h=this.handlers.get(r);return h.add(d),()=>{h.delete(d),h.size===0&&this.handlers.delete(r)}}onConnectionChange(r){return this.connectionHandlers.add(r),r(this.isConnected),()=>{this.connectionHandlers.delete(r)}}setupEventHandlers(){this.ws&&(this.ws.onopen=()=>{console.log(`[WebSocket] Connected to ${this.url}`),this.isConnected=!0,this.reconnectAttempts=0,this.notifyConnectionChange(!0)},this.ws.onclose=r=>{console.log(`[WebSocket] Disconnected from ${this.url} (code: ${r?.code??"unknown"}, reason: ${r?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=r=>{console.error("[WebSocket] Connection error:",r)},this.ws.onmessage=r=>{try{const d=JSON.parse(r.data),h=d.type;console.log(`[WebSocket] Received message: ${h||"unknown"}`,d),h?this.dispatch(h,d):this.dispatch("*",d)}catch(d){console.error("[WebSocket] Failed to parse message:",d)}})}dispatch(r,d){const h=this.handlers.get(r);if(h&&h.forEach(y=>{try{y(d)}catch(b){console.error(`[WebSocket] Handler error for type "${r}":`,b)}}),r!=="*"){const y=this.handlers.get("*");y&&y.forEach(b=>{try{b(d)}catch(S){console.error("[WebSocket] Wildcard handler error:",S)}})}}notifyConnectionChange(r){this.connectionHandlers.forEach(d=>{try{d(r)}catch(h){console.error("[WebSocket] Connection handler error:",h)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this.reconnectAttempts>=e2){console.warn(`[WebSocket] Max reconnection attempts (${e2}) reached`);return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const r=oO*Math.pow(2,this.reconnectAttempts);this.reconnectAttempts++,console.log(`[WebSocket] Reconnecting in ${r}ms (attempt ${this.reconnectAttempts}/${e2})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},r)}}const is=new uO,rO=300*1e3,ov=new Map,n2=new Map;function sO(u){const r=ov.get(u);return r?Date.now()-r.fetchedAt>rO?(ov.delete(u),null):r:null}function cO(u,r,d,h){const y={content:r,lines:r.split(`
|
|
252
|
-
`),totalLines:d,relativePath:h,fetchedAt:Date.now()};return ov.set(u,y),y}function fO(u){ov.delete(u)}function a2(u,r,d=5,h=5){const y=r-1,b=Math.max(0,y-d),S=Math.min(u.lines.length,y+h+1);return{lines:u.lines.slice(b,S),startLine:b+1,highlightLine:r,relativePath:u.relativePath}}function dO(u){return n2.get(u)}function hO(u,r){n2.set(u,r),r.finally(()=>{n2.delete(u)})}function pO({filePath:u,line:r,contextAbove:d=5,contextBelow:h=5,enabled:y=!0}){const[b,S]=tt.useState(null),[x,w]=tt.useState(!1),[A,M]=tt.useState(null),R=xe(lt=>lt.wsConnected),z=tt.useRef(null),B=tt.useCallback(()=>{if(!y||!u||!R)return;const lt=sO(u);if(lt){S(a2(lt,r,d,h)),w(!1),M(null);return}const ut=dO(u);if(ut){w(!0),ut.then(bt=>{bt&&(S(a2(bt,r,d,h)),M(null)),w(!1)});return}w(!0),M(null);const st=`source-${u}-${Date.now()}`;z.current=st;const ft=new Promise(bt=>{const it=is.on("source:result",St=>{if(St.filePath===u){const Lt=cO(St.filePath,St.content,St.totalLines,St.relativePath);it(),At(),bt(Lt)}}),At=is.on("source:error",St=>{St.filePath===u&&(M(St.error),it(),At(),bt(null))});is.send({type:"source:fetch",filePath:u,requestId:st}),setTimeout(()=>{it(),At(),bt(null)},1e4)});hO(u,ft),ft.then(bt=>{bt&&S(a2(bt,r,d,h)),w(!1)})},[u,r,d,h,y,R]);return tt.useEffect(()=>{B()},[B]),tt.useEffect(()=>u?is.on("file:changed",ut=>{(ut.filePath===u||ut.filePath.endsWith(u)||u.endsWith(ut.filePath))&&(fO(u),y&&B())}):void 0,[u,y,B]),{context:b,isLoading:x,error:A,refetch:B}}function mO({value:u,onChange:r,placeholder:d="Search issues, rules, files..."}){const h=tt.useRef(null);return tt.useEffect(()=>{h.current?.focus()},[]),G.jsxs("div",{className:"flex items-center px-4 py-3 border-b border-gray-200 gap-3",children:[G.jsx(iT,{size:20,color:"#9ca3af"}),G.jsx("input",{ref:h,type:"text",value:u,onChange:y=>r(y.target.value),placeholder:d,className:"flex-1 border-none outline-none text-base bg-transparent text-gray-900"}),u&&G.jsx("button",{onClick:()=>r(""),className:"border-none bg-none cursor-pointer p-1 text-gray-400",children:"✕"})]})}function gO({issue:u,isSelected:r,onClick:d}){const h=u.severity==="error"?j1:u.severity==="warning"?H1:N1,y=u.severity==="error"?"#ef4444":u.severity==="warning"?"#f59e0b":"#3b82f6",b=u.filePath.split("/").pop()||u.filePath;return G.jsxs("div",{onClick:d,className:`flex items-start px-4 py-2.5 cursor-pointer gap-3 border-b border-gray-100 ${r?"bg-gray-100":"bg-transparent"}`,children:[G.jsx(h,{size:16,color:y}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("div",{className:"text-sm text-gray-900 overflow-hidden text-ellipsis whitespace-nowrap",children:u.message}),G.jsxs("div",{className:"text-xs text-gray-500 mt-0.5 flex items-center gap-2",children:[G.jsxs("span",{className:"flex items-center gap-1",children:[G.jsx(aT,{size:12}),b,":",u.line]}),G.jsxs("span",{className:"flex items-center gap-1",children:[G.jsx(lT,{size:12}),u.ruleId]})]})]})]})}function yO({value:u,onChange:r,onClick:d}){const h=[{value:"error",label:"E",activeClass:"bg-red-500 text-white"},{value:"warning",label:"W",activeClass:"bg-amber-500 text-white"},{value:"off",label:"Off",activeClass:"bg-gray-500 text-white"}];return G.jsx("div",{className:"flex gap-0.5",onClick:d,children:h.map(y=>G.jsx("button",{onClick:b=>{b.stopPropagation(),r(y.value)},className:`px-1.5 py-0.5 text-[10px] font-medium border-none rounded cursor-pointer ${u===y.value?y.activeClass:"bg-transparent text-gray-400"}`,children:y.label},y.value))})}function vO({rule:u,issueCount:r,isSelected:d,onSeverityChange:h,onClick:y}){const b=tt.useCallback(w=>{h(u.id,w)},[u.id,h]),S=tt.useCallback(w=>{w.stopPropagation()},[]),x=u.severity==="error"?"bg-red-50 text-red-500":u.severity==="warning"?"bg-amber-50 text-amber-500":"bg-gray-100 text-gray-500";return G.jsxs("div",{onClick:y,className:`px-4 py-2.5 cursor-pointer border-b border-gray-100 flex items-center gap-3 ${d?"bg-gray-100":"bg-transparent"}`,children:[G.jsx("div",{className:`w-7 h-7 rounded-md flex items-center justify-center shrink-0 ${x}`,children:G.jsx(lT,{size:14})}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("div",{className:`text-[13px] font-medium mb-0.5 overflow-hidden text-ellipsis whitespace-nowrap ${u.severity==="off"?"text-gray-400":"text-gray-900"}`,children:u.name}),G.jsx("div",{className:"text-[11px] text-gray-500 overflow-hidden text-ellipsis whitespace-nowrap",children:u.id})]}),r>0&&G.jsx("span",{className:"text-[10px] font-semibold bg-red-50 text-red-600 px-1.5 py-0.5 rounded-full min-w-5 text-center",children:r}),G.jsx(yO,{value:u.severity,onChange:b,onClick:S})]})}function bO({fileName:u,directory:r,count:d}){return G.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 bg-surface-elevated border-b border-border",children:[G.jsx(aT,{size:14,className:"text-muted-foreground shrink-0"}),G.jsx("span",{className:"text-xs font-medium text-foreground",children:u}),r&&G.jsx("span",{className:"text-xs text-muted-foreground overflow-hidden text-ellipsis whitespace-nowrap flex-1",children:r}),G.jsx("span",{className:"text-xs font-medium text-muted-foreground bg-hover px-1.5 py-0.5 rounded-full",children:d})]})}function SO({command:u,isSelected:r,onClick:d}){return G.jsxs("div",{onClick:d,style:{padding:"12px 16px",cursor:"pointer",background:r?"#f3f4f6":"transparent",borderBottom:"1px solid #f3f4f6",display:"flex",alignItems:"center",gap:12},children:[G.jsx("div",{style:{width:32,height:32,borderRadius:6,background:"#3b82f6",color:"white",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:u.id.includes("start")?G.jsx(mD,{size:16}):u.id.includes("stop")?G.jsx(yD,{size:16}):u.id.includes("clear")?G.jsx(gD,{size:16}):G.jsx("span",{style:{fontSize:14},children:"⚡"})}),G.jsxs("div",{style:{flex:1,minWidth:0},children:[G.jsx("div",{style:{fontWeight:500,color:"#111827",marginBottom:2},children:u.title}),u.subtitle&&G.jsx("div",{style:{fontSize:12,color:"#6b7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.subtitle})]}),G.jsx("span",{style:{fontSize:10,fontWeight:500,textTransform:"uppercase",background:"#dbeafe",color:"#1d4ed8",padding:"2px 6px",borderRadius:4},children:u.category})]})}function xO(){const u=xe(Z=>Z.commandPalette.open),r=xe(Z=>Z.closeCommandPalette),d=xe(Z=>Z.openInspector),[h,y]=tt.useState(""),[b,S]=tt.useState(0),{allIssues:x}=sA(),w=xe(Z=>Z),A=tt.useMemo(()=>Vc.getAllCommands().filter(vt=>vt.isAvailable?vt.isAvailable(w):!0),[w]),M=tt.useMemo(()=>{if(!h.trim())return A;const Z=h.toLowerCase();return A.filter(vt=>vt.title.toLowerCase().includes(Z)||vt.keywords.some(K=>K.toLowerCase().includes(Z))||vt.category.toLowerCase().includes(Z)||vt.subtitle&&vt.subtitle.toLowerCase().includes(Z))},[A,h]),R=tt.useMemo(()=>{if(!h.trim())return x.slice(0,50);const Z=h.toLowerCase();return x.filter(vt=>vt.message.toLowerCase().includes(Z)||vt.ruleId.toLowerCase().includes(Z)||vt.filePath.toLowerCase().includes(Z)).slice(0,50)},[x,h]),z=tt.useMemo(()=>Vc.getAllRules(),[]),B=tt.useMemo(()=>{if(!h.trim())return z;const Z=h.toLowerCase();return z.filter(vt=>vt.name.toLowerCase().includes(Z)||vt.id.toLowerCase().includes(Z)||vt.description.toLowerCase().includes(Z)||vt.category.toLowerCase().includes(Z))},[z,h]),lt=tt.useMemo(()=>{const Z=new Map;for(const vt of x){const K=Z.get(vt.ruleId)||0;Z.set(vt.ruleId,K+1)}return Z},[x]),ut=tt.useMemo(()=>{const Z=[],vt=new Map;for(const K of R){const qt=vt.get(K.filePath)||[];vt.set(K.filePath,[...qt,K])}for(const[K,qt]of vt){const Et=K.split("/"),kt=Et.pop()||K,be=Et.join("/");Z.push({filePath:K,fileName:kt,directory:be,issues:qt})}return Z},[R]),st=tt.useMemo(()=>{const Z=M.map(K=>({kind:"command",command:K})),vt=R.map(K=>({kind:"issue",issue:K}));return[...Z,...vt]},[M,R]),ft=tt.useCallback(Z=>{Z.key==="ArrowDown"?(Z.preventDefault(),S(vt=>Math.min(vt+1,st.length-1))):Z.key==="ArrowUp"?(Z.preventDefault(),S(vt=>Math.max(vt-1,0))):Z.key==="Enter"&&st[b]&&(Z.preventDefault(),At(st[b]))},[st,b]),bt=tt.useCallback(Z=>{d("issue",{issue:Z}),r()},[d,r]),it=tt.useCallback(async Z=>{const vt=tT();if(!vt){console.error("[CommandPalette] Plugin services not available");return}try{await Z.execute(vt)}catch(K){console.error(`[CommandPalette] Error executing command "${Z.id}":`,K)}},[]),At=tt.useCallback(Z=>{Z.kind==="command"?it(Z.command):bt(Z.issue)},[it,bt]),St=tt.useCallback((Z,vt)=>{Vc.setRuleSeverity(Z,vt)},[]),Lt=tt.useCallback(Z=>{d("eslint-rule",{ruleId:Z.id}),r()},[d,r]);Hd.useEffect(()=>{S(0)},[h]);const Tt=document.getElementById("uilint-portal")||document.body;return Ly.createPortal(G.jsx(BE,{children:u&&G.jsx(iv.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.4)",backdropFilter:"blur(4px)",display:"flex",alignItems:"flex-start",justifyContent:"center",paddingTop:100,zIndex:99998,pointerEvents:"auto"},onClick:Z=>{Z.target===Z.currentTarget&&r()},onKeyDown:ft,children:G.jsxs(iv.div,{initial:{opacity:0,scale:.95,y:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:-5},transition:{duration:.2,ease:[.32,.72,0,1]},style:{width:"100%",maxWidth:640,background:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(24px) saturate(180%)",WebkitBackdropFilter:"blur(24px) saturate(180%)",borderRadius:16,boxShadow:"0 25px 50px -12px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.2) inset",border:"1px solid rgba(255, 255, 255, 0.3)",overflow:"hidden"},children:[G.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",borderBottom:"1px solid rgba(0,0,0,0.08)",background:"rgba(255,255,255,0.5)"},children:[G.jsxs("span",{style:{fontWeight:600,color:"#111827"},children:["UILint",x.length>0&&G.jsxs("span",{style:{fontWeight:400,color:"#6b7280",marginLeft:8},children:[x.length," issue",x.length!==1?"s":""]})]}),G.jsx("button",{onClick:r,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#6b7280"},children:G.jsx(oT,{size:20})})]}),G.jsx(mO,{value:h,onChange:y}),G.jsx("div",{style:{maxHeight:400,overflowY:"auto"},children:st.length===0?G.jsx("div",{style:{padding:24,textAlign:"center",color:"#6b7280"},children:h?"No results match your search":"No commands or issues available"}):G.jsxs(G.Fragment,{children:[M.length>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Commands"}),M.map((Z,vt)=>G.jsx(SO,{command:Z,isSelected:vt===b,onClick:()=>it(Z)},Z.id))]}),ut.length>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Issues"}),ut.map(Z=>{let vt=M.length;for(const K of ut){if(K.filePath===Z.filePath)break;vt+=K.issues.length}return G.jsxs(Hd.Fragment,{children:[G.jsx(bO,{fileName:Z.fileName,directory:Z.directory,count:Z.issues.length}),Z.issues.map((K,qt)=>G.jsx(gO,{issue:K,isSelected:vt+qt===b,onClick:()=>bt(K)},K.id))]},Z.filePath)})]}),B.length>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Rules"}),B.map((Z,vt)=>G.jsx(vO,{rule:Z,issueCount:lt.get(Z.id)??0,isSelected:M.length+R.length+vt===b,onSeverityChange:St,onClick:()=>Lt(Z)},Z.id))]})]})}),G.jsxs("div",{style:{padding:"8px 16px",borderTop:"1px solid rgba(0,0,0,0.08)",fontSize:12,color:"#9ca3af",display:"flex",gap:16,background:"rgba(255,255,255,0.5)"},children:[G.jsx("span",{children:"↑↓ Navigate"}),G.jsx("span",{children:"↵ Select"}),G.jsx("span",{children:"Esc Close"})]})]})})}),Tt)}function TO(u){const r=u.match(/^[\t ]+/);return r?r[0]:""}function wO(u){if(!u.length)return{lines:u,removed:0};const r=u.filter(h=>h.trim().length>0);if(!r.length)return{lines:u,removed:0};let d=1/0;for(const h of r)if(d=Math.min(d,TO(h).length),d===0)break;return!Number.isFinite(d)||d<=0?{lines:u,removed:0}:{removed:d,lines:u.map(h=>h.length>=d?h.slice(d):"")}}function EO({filePath:u,line:r,column:d,contextLines:h=5,defaultExpanded:y=!0}){const[b,S]=tt.useState(y),{context:x,isLoading:w,error:A}=pO({filePath:u,line:r,contextAbove:h,contextBelow:h,enabled:b}),M=x?wO(x.lines):null,R=x?x.startLine+x.lines.length-1:0,z=Math.max(3,String(R).length)*8+16;return G.jsxs("div",{style:{background:"var(--uilint-background)",borderRadius:8,overflow:"hidden",border:"1px solid var(--uilint-border)"},children:[G.jsxs("button",{onClick:()=>S(!b),style:{width:"100%",display:"flex",alignItems:"center",gap:8,padding:"8px 12px",background:"var(--uilint-surface-elevated)",border:"none",borderBottom:b?"1px solid var(--uilint-border)":"none",cursor:"pointer",color:"var(--uilint-text-primary)",fontSize:12,fontFamily:"inherit"},children:[b?G.jsx(fD,{size:14}):G.jsx(dD,{size:14}),G.jsx("span",{style:{fontWeight:500},children:"Source"}),G.jsxs("span",{style:{color:"var(--uilint-text-muted)",marginLeft:"auto",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:["L",r,d?`:${d}`:""]})]}),b&&G.jsxs("div",{style:{padding:0},children:[w&&G.jsx("div",{style:{padding:24,color:"var(--uilint-text-muted)",textAlign:"center",fontSize:12},children:"Loading..."}),A&&G.jsx("div",{style:{padding:24,color:"var(--uilint-error, #ef4444)",textAlign:"center",fontSize:12},children:A}),M&&x&&G.jsx("div",{style:{overflowX:"auto",fontSize:12,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace",lineHeight:1.6},children:M.lines.map((B,lt)=>{const ut=x.startLine+lt,st=ut===r;return G.jsxs("div",{style:{display:"flex",background:st?"rgba(251, 191, 36, 0.12)":"transparent",borderLeft:st?"3px solid #f59e0b":"3px solid transparent"},children:[G.jsx("span",{style:{width:z,minWidth:z,padding:"0 8px",textAlign:"right",color:st?"var(--uilint-text-primary)":"var(--uilint-text-disabled)",background:"var(--uilint-surface-elevated)",userSelect:"none",flexShrink:0,borderRight:"1px solid var(--uilint-border)"},children:ut}),G.jsx("code",{style:{padding:"0 12px",color:st?"var(--uilint-text-primary)":"var(--uilint-text-secondary)",whiteSpace:"pre",flex:1},children:B||" "})]},ut)})})]})]})}function AO(u){const r=u.split("/");return r[r.length-1]||u}function RO({issue:u}){const r=u.severity==="error"?j1:u.severity==="warning"?H1:N1;return G.jsxs("div",{style:{padding:16,display:"flex",flexDirection:"column",gap:16},children:[G.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:10},children:[G.jsx(r,{size:18,color:B1(u.severity),style:{marginTop:2,flexShrink:0}}),G.jsxs("div",{style:{flex:1,minWidth:0},children:[G.jsx("div",{style:{fontSize:14,fontWeight:500,color:"var(--uilint-text-primary)",lineHeight:1.4},children:u.message}),G.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",marginTop:4,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:u.ruleId})]})]}),G.jsx(EO,{filePath:u.filePath,line:u.line,column:u.column,contextLines:5}),G.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"4px 12px",fontSize:11,color:"var(--uilint-text-muted)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:[G.jsxs("span",{title:u.filePath,children:[AO(u.filePath),":",u.line,u.column?`:${u.column}`:""]}),G.jsx("span",{style:{opacity:.5},children:"|"}),G.jsx("span",{children:u.pluginId})]})]})}function DO({dataLoc:u,onSelectIssue:r}){const{getIssuesForDataLoc:d}=sA(),h=d(u);return h.length===0?G.jsx("div",{style:{padding:16,textAlign:"center",color:"var(--uilint-text-muted)"},children:"No issues for this element"}):G.jsxs("div",{style:{padding:16},children:[G.jsxs("div",{style:{fontSize:14,fontWeight:600,color:"var(--uilint-text-primary)",marginBottom:12},children:[h.length," issue",h.length!==1?"s":""," at this location"]}),G.jsx("div",{style:{background:"var(--uilint-surface-elevated)",borderRadius:8,overflow:"hidden"},children:h.map((y,b)=>{const S=y.severity==="error"?j1:y.severity==="warning"?H1:N1;return G.jsxs("div",{onClick:()=>r(y),style:{display:"flex",alignItems:"flex-start",gap:10,padding:12,cursor:"pointer",borderBottom:b<h.length-1?"1px solid var(--uilint-border)":void 0},children:[G.jsx(S,{size:16,color:B1(y.severity)}),G.jsxs("div",{style:{flex:1},children:[G.jsx("div",{style:{fontSize:13,color:"var(--uilint-text-primary)"},children:y.message}),G.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:2},children:y.ruleId})]})]},y.id)})}),G.jsx("div",{style:{marginTop:12,fontSize:11,color:"var(--uilint-text-disabled)",wordBreak:"break-all"},children:u})]})}function fA({direction:u,onResize:r,onResizeEnd:d}){const h=tt.useRef(!1),y=tt.useRef({x:0,y:0}),b=tt.useCallback(w=>{w.preventDefault(),w.stopPropagation(),h.current=!0,y.current={x:w.clientX,y:w.clientY}},[]);tt.useEffect(()=>{const w=M=>{if(!h.current)return;const R=M.clientX-y.current.x,z=M.clientY-y.current.y;y.current={x:M.clientX,y:M.clientY},r(R,z)},A=()=>{h.current&&(h.current=!1,d?.())};return document.addEventListener("mousemove",w),document.addEventListener("mouseup",A),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",A)}},[r,d]);const S={position:"absolute",zIndex:10},x={horizontal:{...S,top:0,left:0,width:4,height:"100%",cursor:"col-resize"},vertical:{...S,bottom:0,left:0,width:"100%",height:4,cursor:"row-resize"},corner:{...S,bottom:0,right:0,width:12,height:12,cursor:"nwse-resize"}};return G.jsx("div",{onMouseDown:b,style:{...x[u],background:"transparent"},onMouseEnter:w=>{w.target.style.background="rgba(59, 130, 246, 0.2)"},onMouseLeave:w=>{h.current||(w.target.style.background="transparent")}})}const dA=320,hA=800,uv=450,pA=500;function CO(){const u=xe(K=>K.inspector.open),r=xe(K=>K.inspector.panelId),d=xe(K=>K.inspector.data),h=xe(K=>K.inspector.docked),y=xe(K=>K.inspector.width),b=xe(K=>K.inspector.floatingPosition),S=xe(K=>K.inspector.floatingSize),x=xe(K=>K.closeInspector),w=xe(K=>K.openInspector),A=xe(K=>K.toggleInspectorDocked),M=xe(K=>K.setInspectorWidth),R=xe(K=>K.setInspectorFloatingPosition),z=xe(K=>K.setInspectorFloatingSize),[B,lt]=tt.useState(!1),ut=tt.useRef(null),st=tt.useMemo(()=>Vc.getAllInspectorPanels(),[]),ft=tt.useCallback(K=>{w("issue",{issue:K})},[w]),{content:bt,title:it}=tt.useMemo(()=>{let K=null,qt="Inspector";const Et=st.find(kt=>kt.id===r);if(Et){const kt=tT(),be=Et.component,De=d??void 0;qt=typeof Et.title=="function"?Et.title({data:De,services:kt}):Et.title,K=kt?G.jsx(be,{data:De,services:kt}):G.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else r==="issue"&&d?.issue?(qt="Issue Details",K=G.jsx(RO,{issue:d.issue})):r==="element"&&d?.dataLoc?(qt="Element Issues",K=G.jsx(DO,{dataLoc:d.dataLoc,onSelectIssue:ft})):K=G.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Select an issue or element to inspect"});return{content:K,title:qt}},[r,d,st,ft]);tt.useEffect(()=>{lt(!0)},[]),tt.useEffect(()=>{if(!B)return;const K=document.documentElement;return u&&h?(K.style.marginRight=`${y}px`,K.style.transition="margin-right 0.2s ease-out"):(K.style.marginRight="",K.style.transition="margin-right 0.2s ease-out"),()=>{K.style.marginRight="",K.style.transition=""}},[B,u,h,y]);const At=tt.useCallback(K=>{const qt=Math.min(hA,Math.max(dA,y-K));M(qt)},[y,M]),St=tt.useCallback((K,qt)=>{const Et=S??{width:uv,height:pA},kt=Math.min(hA,Math.max(dA,Et.width+K)),be=Math.max(300,Et.height+qt);z({width:kt,height:be})},[S,z]),Lt=tt.useCallback(K=>{b&&(K.preventDefault(),ut.current={startX:K.clientX,startY:K.clientY,startPos:b})},[b]);tt.useEffect(()=>{const K=Et=>{if(!ut.current)return;const kt=Et.clientX-ut.current.startX,be=Et.clientY-ut.current.startY;R({x:ut.current.startPos.x+kt,y:ut.current.startPos.y+be})},qt=()=>{ut.current=null};return document.addEventListener("mousemove",K),document.addEventListener("mouseup",qt),()=>{document.removeEventListener("mousemove",K),document.removeEventListener("mouseup",qt)}},[R]),tt.useEffect(()=>{!h&&!b&&B&&R({x:window.innerWidth-uv-20,y:80})},[h,b,R,B]);const Tt=document.getElementById("uilint-portal")||document.body,Z=({isDraggable:K=!1})=>G.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",borderBottom:"1px solid var(--uilint-border)",background:"var(--uilint-surface-elevated)",cursor:K?"move":"default",userSelect:"none"},onMouseDown:K?Lt:void 0,children:[G.jsx("span",{style:{fontWeight:600,color:"var(--uilint-text-primary)"},children:it}),G.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[G.jsx("button",{onClick:A,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"var(--uilint-text-muted)",borderRadius:4},title:h?"Undock to floating window":"Dock to side",children:h?G.jsx(hD,{size:16}):G.jsx(pD,{size:16})}),G.jsx("button",{onClick:x,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"var(--uilint-text-muted)",borderRadius:4},title:"Close",children:G.jsx(oT,{size:16})})]})]}),vt={background:"var(--uilint-glass)",backdropFilter:"blur(24px) saturate(180%)",WebkitBackdropFilter:"blur(24px) saturate(180%)"};return Ly.createPortal(G.jsxs(BE,{children:[u&&h&&G.jsxs(iv.div,{initial:{x:y,opacity:0},animate:{x:0,opacity:1},exit:{x:y,opacity:0},transition:{duration:.15,ease:[.25,.1,.25,1]},style:{position:"fixed",top:0,right:0,bottom:0,width:y,...vt,borderLeft:"1px solid var(--uilint-glass-border)",boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",pointerEvents:"auto"},children:[G.jsx(fA,{direction:"horizontal",onResize:K=>At(K)}),G.jsx(Z,{}),G.jsx("div",{style:{flex:1,overflowY:"auto"},children:bt})]},"docked"),u&&!h&&G.jsxs(iv.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},style:{position:"fixed",left:b?.x??window.innerWidth-uv-20,top:b?.y??80,width:S?.width??uv,height:S?.height??pA,...vt,border:"1px solid var(--uilint-glass-border)",borderRadius:12,boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"},children:[G.jsx(Z,{isDraggable:!0}),G.jsx("div",{style:{flex:1,overflowY:"auto",minHeight:0},children:bt}),G.jsx(fA,{direction:"corner",onResize:St})]},"floating")]}),Tt)}let l2=!1;function zO(){if(typeof document>"u")return;let u=document.getElementById("uilint-portal");return u||(u=document.createElement("div"),u.id="uilint-portal",u.style.cssText="position: fixed; top: 0; left: 0; z-index: 99990; pointer-events: none;",document.body.appendChild(u),l2=!0),u}function MO(){if(!l2)return;const u=document.getElementById("uilint-portal");u&&(u.remove(),l2=!1)}function OO({enabled:u=!0}){return iO(),tt.useEffect(()=>(u&&zO(),()=>{MO()}),[u]),u?G.jsxs(G.Fragment,{children:[G.jsx(SD,{}),G.jsx(DD,{}),G.jsx(xO,{}),G.jsx(CO,{})]}):null}const rv="data-loc",_O=100;function UO(u,r){return`loc:${u}#${r}`}function jO(u){if(!u)return null;let r=u;if(r.startsWith("loc:")){r=r.slice(4);const d=r.lastIndexOf("#");d!==-1&&(r=r.slice(0,d))}return r||null}function NO(u,r){return r&&u.includes("node_modules")}class HO{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(r={}){this.options=r}setHideNodeModules(r){this.hideNodeModules=r,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const r=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),d=this.options.root??(typeof document<"u"?document.body:void 0);r&&d&&(this.observer=new r(this.handleMutations.bind(this)),this.observer.observe(d,{childList:!0,subtree:!0})),this.reconcile()}stop(){this.isRunning=!1,this.observer&&(this.observer.disconnect(),this.observer=null),this.reconcileTimeout&&(clearTimeout(this.reconcileTimeout),this.reconcileTimeout=null),this.knownElements.clear()}onElementsAdded(r){return this.addedHandlers.add(r),()=>{this.addedHandlers.delete(r)}}onElementsRemoved(r){return this.removedHandlers.add(r),()=>{this.removedHandlers.delete(r)}}getElements(){return this.scanElements()}handleMutations(r){let d=!1;for(const h of r){for(const y of h.addedNodes)if(this.hasDataLocElements(y)){d=!0;break}if(d)break;for(const y of h.removedNodes)if(this.hasDataLocElements(y)){d=!0;break}if(d)break}d&&this.debouncedReconcile()}hasDataLocElements(r){return r instanceof Element?!!(r.hasAttribute(rv)||r.querySelector(`[${rv}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},_O)}reconcile(){if(typeof window>"u")return;const r=this.scanElements(),d=new Map(r.map(x=>[x.id,x])),h=new Set(d.keys()),y=new Set(this.knownElements.keys()),b=[];for(const x of r)y.has(x.id)||b.push(x);const S=[];for(const x of y)h.has(x)||S.push(x);this.knownElements.clear();for(const x of r)this.knownElements.set(x.id,x.element);if(b.length>0)for(const x of this.addedHandlers)try{x(b)}catch(w){console.error("[DOMObserverService] Error in added handler:",w)}if(S.length>0)for(const x of this.removedHandlers)try{x(S)}catch(w){console.error("[DOMObserverService] Error in removed handler:",w)}}scanElements(){const r=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!r)return[];const d=[],h=new Map,y=r(`[${rv}]`);for(const b of y){if(this.isInsideUILintUI(b))continue;const S=b.getAttribute(rv),x=jO(S??"");if(!x||NO(x,this.hideNodeModules))continue;const w=(h.get(x)??0)+1;h.set(x,w);const A=UO(x,w);d.push({id:A,dataLoc:x,element:b,tagName:b.tagName.toLowerCase(),rect:b.getBoundingClientRect()})}return d}isInsideUILintUI(r){return r.closest("[data-ui-lint]")!==null}}const sv=new HO,BO=[{id:"eslint:toggle-scan",title:"Toggle ESLint Scan",keywords:["eslint","scan","toggle","enable","disable","start","stop"],category:"eslint",subtitle:"Enable or disable real-time ESLint analysis",icon:void 0,execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.scanStatus==="scanning"?d.stopScanning():d.startScanning(),u.closeCommandPalette()},isAvailable:u=>u.wsConnected===!0},{id:"eslint:start-scan",title:"Start ESLint Scan",keywords:["eslint","scan","start","analyze","lint","check"],category:"eslint",subtitle:"Scan all elements on the current page",execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.scanStatus!=="scanning"&&d.startScanning(),u.closeCommandPalette()},isAvailable:u=>{const r=u;return r.wsConnected===!0&&r.plugins?.eslint?.scanStatus!=="scanning"}},{id:"eslint:stop-scan",title:"Stop ESLint Scan",keywords:["eslint","scan","stop","disable","off"],category:"eslint",subtitle:"Stop scanning and clear results",execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.stopScanning(),u.closeCommandPalette()},isAvailable:u=>u.plugins?.eslint?.scanStatus==="scanning"},{id:"eslint:open-fixes",title:"Fix All Issues",keywords:["eslint","fix","fixes","autofix","repair","issues"],category:"eslint",subtitle:"Open the fixes inspector panel",execute:u=>{u.openInspector("fixes",{}),u.closeCommandPalette()},isAvailable:u=>{const d=u.plugins?.eslint;return d?.scanStatus!=="scanning"||!d?.issues?!1:d.issues.size>0}},{id:"eslint:clear-rescan",title:"Clear & Rescan",keywords:["eslint","cache","clear","refresh","reset","rescan"],category:"eslint",subtitle:"Clear cached results and re-scan all files",execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.clearIssues(),d.startScanning(),u.closeCommandPalette()},isAvailable:u=>u.wsConnected===!0}],LO={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map};function kO(u){return{...LO}}function VO(u,r,d){return{startScanning:()=>{d({scanStatus:"scanning"})},stopScanning:()=>{d({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(h,y)=>{const b=r(),S=new Map(b.issues);y.length>0?S.set(h,y):S.delete(h),d({issues:S})},clearIssues:()=>{d({issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},toggleRule:h=>{const y=r(),b=new Set(y.disabledRules);b.has(h)?b.delete(h):b.add(h),d({disabledRules:b})},setAvailableRules:h=>{d({availableRules:h})},setWorkspaceRoot:h=>{d({workspaceRoot:h})},markScanned:h=>{const y=r(),b=new Set(y.scannedDataLocs);b.add(h),d({scannedDataLocs:b})},markFileRequested:h=>{const y=r(),b=new Set(y.requestedFiles);b.add(h),d({requestedFiles:b})},setScanStatus:h=>{d({scanStatus:h})}}}function YO(u){if(!u)return null;const r=u.lastIndexOf(":");if(r===-1)return null;const d=u.lastIndexOf(":",r-1);if(d===-1)return null;const h=u.substring(0,d);return h||null}function qO(u){const r=new Set;for(const d of u){const h=YO(d);h&&r.add(h)}return r}function GO({value:u,onChange:r,disabled:d}){const h=[{value:"error",label:"E",color:"#ef4444"},{value:"warning",label:"W",color:"#f59e0b"},{value:"off",label:"Off",color:"#6b7280"}];return G.jsx("div",{style:{display:"flex",gap:4},children:h.map(y=>G.jsx("button",{onClick:()=>r(y.value),disabled:d,style:{padding:"4px 8px",fontSize:12,fontWeight:500,border:"none",borderRadius:4,cursor:d?"not-allowed":"pointer",background:u===y.value?y.color:"#f3f4f6",color:u===y.value?"white":"#6b7280",opacity:d?.5:1},children:y.label},y.value))})}function XO({data:u}){const r=u?.ruleId,d=xe(w=>{const A=w.plugins?.eslint;return A?.availableRules?A.availableRules.find(M=>M.id===r):null}),h=xe(w=>{const A=w.plugins?.eslint;return A?.ruleConfigs?A.ruleConfigs.get(r||""):null}),y=xe(w=>{const A=w.plugins?.eslint;return A?.ruleConfigUpdating?A.ruleConfigUpdating.get(r||"")??!1:!1}),b=xe(w=>{const A=w.plugins?.eslint;if(!A?.issues)return 0;let M=0;return A.issues.forEach(R=>{M+=R.filter(z=>z.ruleId===r).length}),M}),S=tt.useCallback(w=>{r&&Vc.setRuleSeverity(r,w)},[r]);if(!r)return G.jsx("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:"No rule selected"});if(!d)return G.jsxs("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:["Rule not found: ",r]});const x=h?.severity?h.severity==="warn"?"warning":h.severity:d.currentSeverity==="warn"?"warning":d.currentSeverity??"off";return G.jsxs("div",{style:{padding:16},children:[G.jsxs("div",{style:{marginBottom:16},children:[G.jsx("div",{style:{fontSize:16,fontWeight:600,color:"#111827",marginBottom:4},children:d.name}),G.jsx("div",{style:{fontSize:12,color:"#6b7280",fontFamily:"monospace"},children:d.id})]}),G.jsx("div",{style:{fontSize:14,color:"#374151",marginBottom:16,lineHeight:1.5},children:d.description}),G.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[G.jsx("span",{style:{fontSize:11,fontWeight:500,textTransform:"uppercase",background:d.category==="semantic"?"#dbeafe":"#f3f4f6",color:d.category==="semantic"?"#1d4ed8":"#6b7280",padding:"2px 6px",borderRadius:4},children:d.category}),b>0&&G.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"#fef2f2",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[b," issue",b!==1?"s":""]})]}),G.jsxs("div",{style:{marginBottom:16},children:[G.jsx("div",{style:{fontSize:12,fontWeight:500,color:"#6b7280",marginBottom:8},children:"Severity"}),G.jsx(GO,{value:x,onChange:S,disabled:y}),y&&G.jsx("div",{style:{fontSize:11,color:"#6b7280",marginTop:4},children:"Updating..."})]}),d.docs&&G.jsx("div",{style:{marginTop:16},children:G.jsx("a",{href:d.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"#3b82f6",textDecoration:"none"},children:"View documentation"})})]})}const mA=["lint:result","lint:progress","file:changed","workspace:info","rules:metadata","rule:config:result","rule:config:changed"],QO={id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization",ruleCategories:["static"],meta:{id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization"},createSlice:u=>{const r=kO();let d=r;const b=VO(u,()=>d,S=>{d={...d,...S},u.setState(S)});return{...r,...b}},commands:BO,inspectorPanels:[{id:"eslint-rule",title:({data:u})=>u?.ruleId?`Rule: ${u.ruleId}`:"Rule Details",component:XO,priority:10}],handlesRules:u=>u.id.startsWith("uilint/")||u.category==="static"?!0:(u.id==="uilint/semantic-vision",!1),getIssues:u=>{const r=u,d=new Map;return r.issues.forEach((h,y)=>{const b=h.map(S=>({id:S.id,message:S.message,severity:S.severity,dataLoc:S.dataLoc,line:S.line,column:S.column,ruleId:S.ruleId}));b.length>0&&d.set(y,b)}),{pluginId:"eslint",issues:d}},getRules:u=>{const r=u.getState();if(!r?.availableRules)return[];const d=r.ruleConfigs??new Map;return r.availableRules.map(h=>{const b=d.get(h.id)?.severity??h.currentSeverity??h.defaultSeverity,S=b==="warn"?"warning":b;return{id:h.id,name:h.name,description:h.description,category:h.category,severity:S,fixable:!1,pluginId:"eslint",docs:h.docs}})},setRuleSeverity:(u,r,d)=>{const h=r==="warning"?"warn":r,y=d.getState(),b=new Map(y.ruleConfigUpdating??new Map);b.set(u,!0),d.setState({ruleConfigUpdating:b}),d.websocket.send({type:"rule:config:set",ruleId:u,severity:h,requestId:`rule-severity-${Date.now()}`}),console.log("[ESLint Plugin] Setting rule severity:",u,"->",h)},getRuleConfig:(u,r)=>(r.getState()?.ruleConfigs??new Map).get(u)?.options??{},setRuleConfig:(u,r,d)=>{const h=d.getState(),y=new Map(h.ruleConfigUpdating??new Map);y.set(u,!0),d.setState({ruleConfigUpdating:y}),d.websocket.send({type:"rule:config:set",ruleId:u,options:r,requestId:`rule-config-${Date.now()}`}),console.log("[ESLint Plugin] Setting rule config:",u,r)},initialize:u=>{console.log("[ESLint Plugin] Initializing...");const r=[];for(const h of mA){const y=u.websocket.on(h,b=>{KO(u,b)});r.push(y)}console.log("[ESLint Plugin] Subscribed to",mA.length,"message types");const d=u.domObserver.onElementsAdded(h=>{ZO(u,h)});return r.push(d),console.log("[ESLint Plugin] Subscribed to DOM observer"),()=>{console.log("[ESLint Plugin] Disposing..."),r.forEach(h=>h())}},dispose:u=>{console.log("[ESLint Plugin] Disposed")}};function ZO(u,r){const d=u.getState();if(console.log("[ESLint Plugin] handleElementsAdded called with",r.length,"elements"),console.log("[ESLint Plugin] State check - scanStatus:",d?.scanStatus,"wsConnected:",u.websocket.isConnected),d.scanStatus!=="scanning"){console.log("[ESLint Plugin] Scanning not active (status:",d.scanStatus,"), skipping lint requests");return}if(!u.websocket.isConnected){console.log("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const h=r.map(x=>x.dataLoc),y=qO(h);if(y.size===0){console.log("[ESLint Plugin] No file paths extracted from",r.length,"elements");return}console.log("[ESLint Plugin] Detected",r.length,"elements from",y.size,"unique files:",Array.from(y).slice(0,3));const b=d.requestedFiles??new Set,S=[];for(const x of y)if(!b.has(x)){S.push(x);const w=`lint-${Date.now()}-${x.replace(/[^a-zA-Z0-9]/g,"-")}`;u.websocket.send({type:"lint:file",filePath:x,requestId:w}),console.log("[ESLint Plugin] Sent lint:file request for",x)}if(S.length>0){const x=new Set(b);for(const w of S)x.add(w);u.setState({requestedFiles:x}),console.log("[ESLint Plugin] Updated requestedFiles with",S.length,"new files")}else console.log("[ESLint Plugin] All files already requested, skipping")}function KO(u,r){switch(r.type){case"lint:result":{const{filePath:d,issues:h}=r;console.log("[ESLint Plugin] Received lint result:",d,h.length,"issues");const y=h.map(w=>AD({...w,dataLoc:w.dataLoc||`${d}:${w.line}:${w.column||0}`})).filter(w=>w!==null),b=new Map;for(const w of y){const A=b.get(w.dataLoc)||[];b.set(w.dataLoc,[...A,w])}const S=u.getState(),x=new Map(S.issues);for(const[w,A]of b)x.set(w,A);u.setState({issues:x});break}case"lint:progress":{const{filePath:d,phase:h}=r;console.log("[ESLint Plugin] Lint progress:",d,h);break}case"file:changed":{const{filePath:d}=r;console.log("[ESLint Plugin] File changed:",d);const h=u.getState(),y=new Map(h.issues);for(const[S]of y)S.startsWith(d+":")&&y.delete(S);const b=new Set(h.requestedFiles??new Set);b.delete(d),u.setState({issues:y,requestedFiles:b});break}case"workspace:info":{const{appRoot:d,workspaceRoot:h,serverCwd:y}=r;console.log("[ESLint Plugin] Workspace info:",{appRoot:d,workspaceRoot:h,serverCwd:y}),u.setState({appRoot:d,workspaceRoot:h,serverCwd:y});break}case"rules:metadata":{const{rules:d}=r;console.log("[ESLint Plugin] Received rules metadata:",d.length,"rules");const h=new Map;for(const y of d)h.set(y.id,{severity:y.currentSeverity??y.defaultSeverity,options:y.currentOptions??(y.defaultOptions&&y.defaultOptions.length>0?y.defaultOptions[0]:void 0)});u.setState({availableRules:d,ruleConfigs:h});break}case"rule:config:result":{const{ruleId:d,severity:h,options:y,success:b,error:S}=r,x=u.getState(),w=new Map(x.ruleConfigUpdating);if(w.delete(d),u.setState({ruleConfigUpdating:w}),b){const A=u.getState(),M=new Map(A.ruleConfigs);M.set(d,{severity:h,options:y}),u.setState({ruleConfigs:M}),console.log("[ESLint Plugin] Rule config updated:",d,"->",h)}else console.error("[ESLint Plugin] Failed to update rule config:",S);break}case"rule:config:changed":{const{ruleId:d,severity:h,options:y}=r,b=u.getState(),S=new Map(b.ruleConfigs);S.set(d,{severity:h,options:y}),u.setState({ruleConfigs:S}),console.log("[ESLint Plugin] Rule config changed (broadcast):",d,"->",h);break}}}let gA=!1;function yA(u){if(typeof document>"u"||gA)return;const r=document.createElement("style");r.setAttribute("data-uilint-devtools-styles","true"),r.textContent=u,document.head.appendChild(r),gA=!0}const vA='@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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight: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-ease:initial;--tw-content:"";--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%}}}@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-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-900:oklch(21% .034 264.665);--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-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--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);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--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{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;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{vertical-align:baseline;font-size:75%;line-height:0;position:relative}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{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}: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{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-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]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.dev-tool-root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.z-90{z-index:90}.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-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-3{margin-top:calc(var(--spacing)*3)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-1{margin-left:calc(var(--spacing)*1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-\\[200px\\]{height:200px}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[44px\\]{min-height:44px}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-5{width:calc(var(--spacing)*5)}.w-7{width:calc(var(--spacing)*7)}.w-10{width:calc(var(--spacing)*10)}.w-40{width:calc(var(--spacing)*40)}.w-\\[364px\\]{width:364px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[calc\\(100\\%-1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-4{min-width:calc(var(--spacing)*4)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-center{transform-origin:50%}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[0\\.8rem\\]{border-radius:.8rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--uilint-radius)}.rounded-md{border-radius:calc(var(--uilint-radius) - 2px)}.rounded-sm{border-radius:calc(var(--uilint-radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-black\\/\\[0\\.08\\]{border-color:#00000014}@supports (color:color-mix(in lab,red,red)){.border-black\\/\\[0\\.08\\]{border-color:color-mix(in oklab,var(--color-black)8%,transparent)}}.border-border{border-color:var(--uilint-border)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-transparent{border-color:#0000}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-950\\/10{border-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){.border-zinc-950\\/10{border-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-blue-300\\/20{background-color:#90c5ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-300\\/20{background-color:color-mix(in oklab,var(--color-blue-300)20%,transparent)}}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-hover{background-color:var(--uilint-hover)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-surface-elevated{background-color:var(--uilint-surface-elevated)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/30{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.bg-white\\/30{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-100\\/50{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.bg-zinc-100\\/50{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-none{background-image:none}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-\\[1px\\],.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.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-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.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-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-px{padding-block:1px}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-1\\.25{padding-right:calc(var(--spacing)*1.25)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.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-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-amber-500{color:var(--color-amber-500)}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-foreground{color:var(--uilint-foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.text-muted-foreground{color:var(--uilint-text-muted)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.text-zinc-50{color:var(--color-zinc-50)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_0_1px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#00000014),0px 2px 2px var(--tw-shadow-color,#0000000a),0px 8px 16px -4px var(--tw-shadow-color,#0000000a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_0px_0px_1px_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\,0px_1px_1px_0px_rgba\\(255\\,252\\,240\\,0\\.5\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.1\\)_inset\\,0px_0px_1px_0px_rgba\\(28\\,27\\,26\\,0\\.5\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0000000d),0px 1px 1px 0px var(--tw-shadow-color,#fffcf080)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff1a)inset,0px 0px 1px 0px var(--tw-shadow-color,#1c1b1a80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);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,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + 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-zinc-200\\/50{--tw-ring-color:#e4e4e780}@supports (color:color-mix(in lab,red,red)){.ring-zinc-200\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-200)50%,transparent)}}.ring-offset-white{--tw-ring-offset-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-lg{--tw-blur:blur(var(--blur-lg));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,)}.blur-md{--tw-blur:blur(var(--blur-md));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,)}.blur-sm{--tw-blur:blur(var(--blur-sm));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,)}.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{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[colors\\]{transition-property:colors;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\]{transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-x-0:before{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.before\\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\\:left-0:before{content:var(--tw-content);left:calc(var(--spacing)*0)}.before\\:h-\\(--top-fade-height\\):before{content:var(--tw-content);height:var(--top-fade-height)}.before\\:w-\\(--left-fade-width\\):before{content:var(--tw-content);width:var(--left-fade-width)}.before\\:bg-gradient-to-b:before{content:var(--tw-content);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:bg-gradient-to-r:before{content:var(--tw-content);--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:from-background:before{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:to-transparent:before{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:opacity-0:before{content:var(--tw-content);opacity:0}.before\\:opacity-100:before{content:var(--tw-content);opacity:1}.before\\:transition-\\[height\\,opacity\\]:before{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:transition-\\[width\\,opacity\\]:before{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-x-0:after{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\\:right-0:after{content:var(--tw-content);right:calc(var(--spacing)*0)}.after\\:bottom-0:after{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.after\\:h-\\(--bottom-fade-height\\):after{content:var(--tw-content);height:var(--bottom-fade-height)}.after\\:w-\\(--right-fade-width\\):after{content:var(--tw-content);width:var(--right-fade-width)}.after\\:bg-gradient-to-l:after{content:var(--tw-content);--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:bg-gradient-to-t:after{content:var(--tw-content);--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:from-background:after{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:to-transparent:after{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-\\[height\\,opacity\\]:after{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:transition-\\[width\\,opacity\\]:after{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:duration-300:after{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}@media(hover:hover){.hover\\:bg-red-500\\/80:hover{background-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/80:hover{background-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.hover\\:bg-red-500\\/90:hover{background-color:#fb2c36e6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/90:hover{background-color:color-mix(in oklab,var(--color-red-500)90%,transparent)}}.hover\\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\\:bg-zinc-100\\/60:hover{background-color:#f4f4f599}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-100)60%,transparent)}}.hover\\:bg-zinc-100\\/80:hover{background-color:#f4f4f5cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-100)80%,transparent)}}.hover\\:bg-zinc-900\\/80:hover{background-color:#18181bcc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-900)80%,transparent)}}.hover\\:bg-zinc-900\\/90:hover{background-color:#18181be6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-900)90%,transparent)}}.hover\\:text-zinc-800:hover{color:var(--color-zinc-800)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}.hover\\:underline:hover{text-decoration-line:underline}}.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-zinc-950:focus{--tw-ring-color:var(--color-zinc-950)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--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-visible\\:ring-zinc-950:focus-visible{--tw-ring-color:var(--color-zinc-950)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-x-98:active{--tw-scale-x:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-y-95:active{--tw-scale-y:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:bg-zinc-100\\/70:active{background-color:#f4f4f5b3}@supports (color:color-mix(in lab,red,red)){.active\\:bg-zinc-100\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-100)70%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:h-5{height:calc(var(--spacing)*5)}.sm\\:min-h-0{min-height:calc(var(--spacing)*0)}.sm\\:w-5{width:calc(var(--spacing)*5)}.sm\\:max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:rounded-lg{border-radius:var(--uilint-radius)}.sm\\:rounded-xl{border-radius:var(--radius-xl)}.sm\\:p-1\\.5{padding:calc(var(--spacing)*1.5)}.sm\\:p-3{padding:calc(var(--spacing)*3)}.sm\\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\\:px-2{padding-inline:calc(var(--spacing)*2)}.sm\\:px-4{padding-inline:calc(var(--spacing)*4)}.sm\\:py-4{padding-block:calc(var(--spacing)*4)}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:48rem){.md\\:max-w-\\[calc\\(100\\%-4rem\\)\\]{max-width:calc(100% - 4rem)}.md\\:rounded-3xl{border-radius:var(--radius-3xl)}.md\\:rounded-\\[2rem\\]{border-radius:2rem}.md\\:p-2{padding:calc(var(--spacing)*2)}.md\\:p-4{padding:calc(var(--spacing)*4)}}@media(prefers-color-scheme:dark){.dark\\:border-zinc-50\\/10{border-color:#fafafa1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-zinc-50\\/10{border-color:color-mix(in oklab,var(--color-zinc-50)10%,transparent)}}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:bg-amber-500\\/25{background-color:#f99c0040}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-amber-500\\/25{background-color:color-mix(in oklab,var(--color-amber-500)25%,transparent)}}.dark\\:bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.dark\\:bg-emerald-500\\/25{background-color:#00bb7f40}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/25{background-color:color-mix(in oklab,var(--color-emerald-500)25%,transparent)}}.dark\\:bg-red-500\\/25{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/25{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.dark\\:bg-red-900{background-color:var(--color-red-900)}.dark\\:bg-zinc-50{background-color:var(--color-zinc-50)}.dark\\:bg-zinc-100{background-color:var(--color-zinc-100)}.dark\\:bg-zinc-700{background-color:var(--color-zinc-700)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:bg-zinc-950{background-color:var(--color-zinc-950)}.dark\\:text-amber-300{color:var(--color-amber-300)}.dark\\:text-blue-400{color:var(--color-blue-400)}.dark\\:text-emerald-300{color:var(--color-emerald-300)}.dark\\:text-red-300{color:var(--color-red-300)}.dark\\:text-zinc-50{color:var(--color-zinc-50)}.dark\\:text-zinc-100{color:var(--color-zinc-100)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}.dark\\:text-zinc-900{color:var(--color-zinc-900)}.dark\\:shadow-\\[0_0_0_1px_rgba\\(255\\,252\\,240\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#fffcf014),0px 2px 2px var(--tw-shadow-color,#0003),0px 8px 16px -4px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#ffffff05)inset,0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0003),0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:ring-zinc-800\\/50{--tw-ring-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:ring-zinc-800\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:ring-offset-zinc-950{--tw-ring-offset-color:var(--color-zinc-950)}@media(hover:hover){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}}@media(hover:hover){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:#82181acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:color-mix(in oklab,var(--color-red-900)80%,transparent)}}.dark\\:hover\\:bg-red-900\\/90:hover{background-color:#82181ae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/90:hover{background-color:color-mix(in oklab,var(--color-red-900)90%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:#fafafacc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-50)80%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:#fafafae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-50)90%,transparent)}}.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.dark\\:hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.dark\\:hover\\:text-zinc-50:hover{color:var(--color-zinc-50)}}.dark\\:focus\\:ring-zinc-300:focus,.dark\\:focus-visible\\:ring-zinc-300:focus-visible{--tw-ring-color:var(--color-zinc-300)}.dark\\:active\\:bg-zinc-800\\/70:active{background-color:#27272ab3}@supports (color:color-mix(in lab,red,red)){.dark\\:active\\:bg-zinc-800\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-800)70%,transparent)}}@media(min-width:40rem){.dark\\:sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=size-\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.\\[\\&\\>div\\]\\:\\!block>div{display:block!important}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-white{color:var(--color-white)}@media(prefers-color-scheme:dark){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:#09090b33}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:color-mix(in oklab,var(--color-zinc-950)20%,transparent)}}[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-zinc-950{color:var(--color-zinc-950)}}}:root{--uilint-background:oklch(98.5% .015 75);--uilint-background-elevated:oklch(97% .02 75);--uilint-foreground:oklch(18% .02 75);--uilint-surface:oklch(98.5% .015 75);--uilint-surface-elevated:oklch(97% .02 75);--uilint-text-primary:oklch(18% .02 75);--uilint-text-secondary:oklch(40% .025 75);--uilint-text-muted:oklch(55% .03 75);--uilint-text-disabled:oklch(70% .02 75);--uilint-hover:oklch(75% .08 75/.15);--uilint-active:oklch(70% .1 75/.2);--uilint-border:oklch(90% .025 75);--uilint-border-focus:oklch(70% .15 75);--uilint-accent:oklch(70% .16 75);--uilint-accent-foreground:oklch(98.5% .015 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.15);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.15);--uilint-shadow:0 4px 20px oklch(30% .05 75/.15);--uilint-backdrop:oklch(98.5% .015 75/.92);--uilint-glass:oklch(99% .01 75/.7);--uilint-glass-border:oklch(100% .02 75/.25);--uilint-scrollbar-track:oklch(92% .02 75);--uilint-scrollbar-thumb:oklch(70% .04 75);--uilint-scrollbar-thumb-hover:oklch(55% .05 75);--uilint-radius:12px;color-scheme:light}.dev-tool-root{color-scheme:light}.dark,.dark .dev-tool-root,.dev-tool-root.dark,.dev-tool-root[data-theme=dark]{--uilint-background:oklch(16% .02 75);--uilint-background-elevated:oklch(22% .025 75);--uilint-foreground:oklch(95% .025 75);--uilint-surface:oklch(16% .02 75);--uilint-surface-elevated:oklch(22% .025 75);--uilint-text-primary:oklch(95% .025 75);--uilint-text-secondary:oklch(82% .03 75);--uilint-text-muted:oklch(65% .035 75);--uilint-text-disabled:oklch(45% .025 75);--uilint-hover:oklch(80% .1 75/.12);--uilint-active:oklch(80% .12 75/.18);--uilint-border:oklch(95% .03 75/.12);--uilint-border-focus:oklch(75% .15 75);--uilint-accent:oklch(75% .15 75);--uilint-accent-foreground:oklch(16% .02 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.2);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.2);--uilint-shadow:0 4px 20px oklch(10% .03 75/.4);--uilint-backdrop:oklch(12% .02 75/.92);--uilint-glass:oklch(18% .02 75/.7);--uilint-glass-border:oklch(100% .02 75/.12);--uilint-scrollbar-track:oklch(22% .02 75);--uilint-scrollbar-thumb:oklch(40% .04 75);--uilint-scrollbar-thumb-hover:oklch(50% .05 75);color-scheme:dark}@media(prefers-color-scheme:dark){:root:not(.light) .dev-tool-root:not(.light):not([data-theme=light]),.dev-tool-root:not(.light):not([data-theme=light]){--uilint-background:oklch(16% .02 75);--uilint-background-elevated:oklch(22% .025 75);--uilint-foreground:oklch(95% .025 75);--uilint-surface:oklch(16% .02 75);--uilint-surface-elevated:oklch(22% .025 75);--uilint-text-primary:oklch(95% .025 75);--uilint-text-secondary:oklch(82% .03 75);--uilint-text-muted:oklch(65% .035 75);--uilint-text-disabled:oklch(45% .025 75);--uilint-hover:oklch(80% .1 75/.12);--uilint-active:oklch(80% .12 75/.18);--uilint-border:oklch(95% .03 75/.12);--uilint-border-focus:oklch(75% .15 75);--uilint-accent:oklch(75% .15 75);--uilint-accent-foreground:oklch(16% .02 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.2);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.2);--uilint-shadow:0 4px 20px oklch(10% .03 75/.4);--uilint-backdrop:oklch(12% .02 75/.92);--uilint-glass:oklch(18% .02 75/.7);--uilint-glass-border:oklch(100% .02 75/.12);--uilint-scrollbar-track:oklch(22% .02 75);--uilint-scrollbar-thumb:oklch(40% .04 75);--uilint-scrollbar-thumb-hover:oklch(50% .05 75);color-scheme:dark}}.light,.light .dev-tool-root,.dev-tool-root.light,.dev-tool-root[data-theme=light]{--uilint-background:oklch(98.5% .015 75);--uilint-background-elevated:oklch(97% .02 75);--uilint-foreground:oklch(18% .02 75);--uilint-surface:oklch(98.5% .015 75);--uilint-surface-elevated:oklch(97% .02 75);--uilint-text-primary:oklch(18% .02 75);--uilint-text-secondary:oklch(40% .025 75);--uilint-text-muted:oklch(55% .03 75);--uilint-text-disabled:oklch(70% .02 75);--uilint-hover:oklch(75% .08 75/.15);--uilint-active:oklch(70% .1 75/.2);--uilint-border:oklch(90% .025 75);--uilint-border-focus:oklch(70% .15 75);--uilint-accent:oklch(70% .16 75);--uilint-accent-foreground:oklch(98.5% .015 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.15);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.15);--uilint-shadow:0 4px 20px oklch(30% .05 75/.15);--uilint-backdrop:oklch(98.5% .015 75/.92);--uilint-glass:oklch(99% .01 75/.7);--uilint-glass-border:oklch(100% .02 75/.25);--uilint-scrollbar-track:oklch(92% .02 75);--uilint-scrollbar-thumb:oklch(70% .04 75);--uilint-scrollbar-thumb-hover:oklch(55% .05 75);color-scheme:light}@keyframes uilint-fade-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes uilint-fade-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes uilint-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes uilint-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes uilint-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uilint-popover-appear{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}[data-ui-lint] *{scrollbar-width:thin;scrollbar-color:var(--uilint-scrollbar-thumb)var(--uilint-scrollbar-track)}[data-ui-lint] ::-webkit-scrollbar{width:8px;height:8px}[data-ui-lint] ::-webkit-scrollbar-track{background:var(--uilint-scrollbar-track);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb{background:var(--uilint-scrollbar-thumb);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb:hover{background:var(--uilint-scrollbar-thumb-hover)}@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}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{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:0}@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-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}';let i2=!1;const bA="uilint-devtool-root";function SA(){return typeof window<"u"}function JO({enabled:u=!0}){const[r,d]=tt.useState(!1),[h,y]=tt.useState(i2),b=tt.useRef(null),S=tt.useRef(!1);return tt.useEffect(()=>{d(!0)},[]),tt.useEffect(()=>{if(!SA()||!u)return;yA(vA);const x=document.querySelector(`.${bA}`);if(x){b.current=x,S.current=!1;return}const w=document.createElement("div");return w.className=bA,w.setAttribute("data-ui-lint-root","true"),document.body.appendChild(w),b.current=w,S.current=!0,()=>{S.current&&b.current?.remove(),b.current=null,S.current=!1}},[u]),tt.useEffect(()=>{if(!SA()||!u||!r)return;let x=null;async function w(){i2||(Vc.register(QO),await iD({websocket:is,domObserver:sv}),i2=!0,console.log("[DevTool] Plugins initialized")),y(!0),is.connect(),x=is.onConnectionChange(A=>{A?(console.log("[DevTool] WebSocket connected, starting DOM observer"),sv.start()):(console.log("[DevTool] WebSocket disconnected, stopping DOM observer"),sv.stop())})}return w(),()=>{x?.(),is.disconnect(),sv.stop()}},[u,r]),!u||!r||!h?null:G.jsx(OO,{enabled:u})}function xA(u,r){u.setAttribute("data-position",r)}function $O(){if(typeof document>"u")return"light";const u=document.documentElement,r=document.body;if(u.classList.contains("dark")||r.classList.contains("dark"))return"dark";if(u.classList.contains("light")||r.classList.contains("light"))return"light";const d=u.getAttribute("data-theme"),h=r.getAttribute("data-theme");if(d==="dark"||h==="dark")return"dark";if(d==="light"||h==="light")return"light";const y=u.getAttribute("data-mode"),b=r.getAttribute("data-mode");return y==="dark"||b==="dark"?"dark":y==="light"||b==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function TA(u,r){u.classList.remove("light","dark"),u.removeAttribute("data-theme"),r!=="system"&&(u.classList.add(r),u.setAttribute("data-theme",r))}function FO(){if(typeof window>"u"||customElements.get("uilint-devtools"))return;class u extends HTMLElement{static get observedAttributes(){return["enabled","position","theme"]}rootEl=null;reactRoot=null;themeObserver=null;mediaQueryListener=null;connectedCallback(){yA(vA);const d=document.createElement("div");d.className="dev-tool-root",d.setAttribute("data-ui-lint-root","true"),document.body.appendChild(d),this.rootEl=d,xA(d,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=ZR.createRoot(d),this.render()}disconnectedCallback(){this.reactRoot?.unmount(),this.reactRoot=null,this.rootEl?.remove(),this.rootEl=null,this.themeObserver?.disconnect(),this.themeObserver=null,this.mediaQueryListener&&(window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.mediaQueryListener),this.mediaQueryListener=null)}attributeChangedCallback(){this.rootEl&&(xA(this.rootEl,this.getPosition()),this.syncTheme(),this.render())}getEnabled(){const d=this.getAttribute("enabled");return d==null?!0:d!=="false"}getPosition(){const d=this.getAttribute("position");switch(d){case"bottom-right":case"top-left":case"top-right":case"bottom-left":case"top-center":case"bottom-center":return d;default:return"top-center"}}getTheme(){const d=this.getAttribute("theme");switch(d){case"light":case"dark":return d;default:return"system"}}syncTheme(){if(!this.rootEl)return;const d=this.getTheme();if(d==="system"){const h=$O();TA(this.rootEl,h)}else TA(this.rootEl,d)}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.getTheme()==="system"&&this.syncTheme()});const d={attributes:!0,attributeFilter:["class","data-theme","data-mode"]};this.themeObserver.observe(document.documentElement,d),this.themeObserver.observe(document.body,d);const h=window.matchMedia("(prefers-color-scheme: dark)");this.mediaQueryListener=()=>{this.getTheme()==="system"&&this.syncTheme()},h.addEventListener("change",this.mediaQueryListener)}render(){this.reactRoot&&this.reactRoot.render(G.jsx(JO,{enabled:this.getEnabled()}))}}customElements.define("uilint-devtools",u)}FO()})();
|
|
251
|
+
`),()=>{st.contains(rt)&&st.removeChild(rt)}},[r]),G.jsx(e3,{isPresent:r,childRef:b,sizeRef:S,children:$.cloneElement(u,{ref:A})})}const a3=({children:u,initial:r,isPresent:d,onExitComplete:h,custom:y,presenceAffectsLayout:b,mode:S,anchorX:x,root:w})=>{const A=Y1(l3),z=$.useId();let R=!0,M=$.useMemo(()=>(R=!1,{id:z,initial:r,isPresent:d,custom:y,onExitComplete:B=>{A.set(B,!0);for(const nt of A.values())if(!nt)return;h&&h()},register:B=>(A.set(B,!1),()=>A.delete(B))}),[d,A,h]);return b&&R&&(M={...M}),$.useMemo(()=>{A.forEach((B,nt)=>A.set(nt,!1))},[d]),$.useEffect(()=>{!d&&!A.size&&h&&h()},[d]),S==="popLayout"&&(u=G.jsx(n3,{isPresent:d,anchorX:x,root:w,children:u})),G.jsx(Yy.Provider,{value:M,children:u})};function l3(){return new Map}function BE(u=!0){const r=$.useContext(Yy);if(r===null)return[!0,null];const{isPresent:d,onExitComplete:h,register:y}=r,b=$.useId();$.useEffect(()=>{if(u)return y(b)},[u]);const S=$.useCallback(()=>u&&h&&h(b),[b,h,u]);return!d&&h?[!1,S]:[!0]}const nv=u=>u.key||"";function kE(u){const r=[];return $.Children.forEach(u,d=>{$.isValidElement(d)&&r.push(d)}),r}const LE=({children:u,custom:r,initial:d=!0,onExitComplete:h,presenceAffectsLayout:y=!0,mode:b="sync",propagate:S=!1,anchorX:x="left",root:w})=>{const[A,z]=BE(S),R=$.useMemo(()=>kE(u),[u]),M=S&&!A?[]:R.map(nv),B=$.useRef(!0),nt=$.useRef(R),it=Y1(()=>new Map),rt=$.useRef(new Set),[st,dt]=$.useState(R),[ft,Dt]=$.useState(R);fT(()=>{B.current=!1,nt.current=R;for(let wt=0;wt<ft.length;wt++){const Z=nv(ft[wt]);M.includes(Z)?(it.delete(Z),rt.current.delete(Z)):it.get(Z)!==!0&&it.set(Z,!1)}},[ft,M.length,M.join("-")]);const St=[];if(R!==st){let wt=[...R];for(let Z=0;Z<ft.length;Z++){const bt=ft[Z],K=nv(bt);M.includes(K)||(wt.splice(Z,0,bt),St.push(bt))}return b==="wait"&&St.length&&(wt=St),Dt(kE(wt)),dt(R),null}process.env.NODE_ENV!=="production"&&b==="wait"&&ft.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:kt}=$.useContext(V1);return G.jsx(G.Fragment,{children:ft.map(wt=>{const Z=nv(wt),bt=S&&!A?!1:R===ft||M.includes(Z),K=()=>{if(rt.current.has(Z))return;if(rt.current.add(Z),it.has(Z))it.set(Z,!0);else return;let Tt=!0;it.forEach(xt=>{xt||(Tt=!1)}),Tt&&(kt?.(),Dt(nt.current),S&&z?.(),h&&h())};return G.jsx(a3,{isPresent:bt,initial:!B.current||d?void 0:!1,custom:r,presenceAffectsLayout:y,mode:b,root:w,onExitComplete:bt?void 0:K,anchorX:x,children:wt},Z)})})},VE=$.createContext({strict:!1}),YE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let qE=!1;function i3(){if(qE)return;const u={};for(const r in YE)u[r]={isEnabled:d=>YE[r].some(h=>!!d[h])};Nw(u),qE=!0}function GE(){return i3(),Qz()}function o3(u){const r=GE();for(const d in u)r[d]={...r[d],...u[d]};Nw(r)}const u3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function av(u){return u.startsWith("while")||u.startsWith("drag")&&u!=="draggable"||u.startsWith("layout")||u.startsWith("onTap")||u.startsWith("onPan")||u.startsWith("onLayout")||u3.has(u)}let XE=u=>!av(u);function r3(u){typeof u=="function"&&(XE=r=>r.startsWith("on")?!av(r):u(r))}try{r3(require("@emotion/is-prop-valid").default)}catch{}function s3(u,r,d){const h={};for(const y in u)y==="values"&&typeof u.values=="object"||(XE(y)||d===!0&&av(y)||!r&&!av(y)||u.draggable&&y.startsWith("onDrag"))&&(h[y]=u[y]);return h}const lv=$.createContext({});function c3(u,r){if(Fy(u)){const{initial:d,animate:h}=u;return{initial:d===!1||jm(d)?d:void 0,animate:jm(h)?h:void 0}}return u.inherit!==!1?r:{}}function f3(u){const{initial:r,animate:d}=c3(u,$.useContext(lv));return $.useMemo(()=>({initial:r,animate:d}),[QE(r),QE(d)])}function QE(u){return Array.isArray(u)?u.join(" "):u}const JS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ZE(u,r,d){for(const h in r)!La(r[h])&&!Jw(h,d)&&(u[h]=r[h])}function d3({transformTemplate:u},r){return $.useMemo(()=>{const d=JS();return YS(d,r,u),Object.assign({},d.vars,d.style)},[r])}function h3(u,r){const d=u.style||{},h={};return ZE(h,d,u),Object.assign(h,d3(u,r)),h}function p3(u,r){const d={},h=h3(u,r);return u.drag&&u.dragListener!==!1&&(d.draggable=!1,h.userSelect=h.WebkitUserSelect=h.WebkitTouchCallout="none",h.touchAction=u.drag===!0?"none":`pan-${u.drag==="x"?"y":"x"}`),u.tabIndex===void 0&&(u.onTap||u.onTapStart||u.whileTap)&&(d.tabIndex=0),d.style=h,d}const KE=()=>({...JS(),attrs:{}});function m3(u,r,d,h){const y=$.useMemo(()=>{const b=KE();return $w(b,r,Ww(h),u.transformTemplate,u.style),{...b.attrs,style:{...b.style}}},[r]);if(u.style){const b={};ZE(b,u.style,u),y.style={...b,...y.style}}return y}const g3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function $S(u){return typeof u!="string"||u.includes("-")?!1:!!(g3.indexOf(u)>-1||/[A-Z]/u.test(u))}function y3(u,r,d,{latestValues:h},y,b=!1,S){const w=(S??$S(u)?m3:p3)(r,h,y,u),A=s3(r,typeof u=="string",b),z=u!==$.Fragment?{...A,...w,ref:d}:{},{children:R}=r,M=$.useMemo(()=>La(R)?R.get():R,[R]);return $.createElement(u,{...z,children:M})}function v3({scrapeMotionValuesFromProps:u,createRenderState:r},d,h,y){return{latestValues:b3(d,h,y,u),renderState:r()}}function b3(u,r,d,h){const y={},b=h(u,{});for(const M in b)y[M]=tv(b[M]);let{initial:S,animate:x}=u;const w=Fy(u),A=Uw(u);r&&A&&!w&&u.inherit!==!1&&(S===void 0&&(S=r.initial),x===void 0&&(x=r.animate));let z=d?d.initial===!1:!1;z=z||S===!1;const R=z?x:S;if(R&&typeof R!="boolean"&&!$y(R)){const M=Array.isArray(R)?R:[R];for(let B=0;B<M.length;B++){const nt=AS(u,M[B]);if(nt){const{transitionEnd:it,transition:rt,...st}=nt;for(const dt in st){let ft=st[dt];if(Array.isArray(ft)){const Dt=z?ft.length-1:0;ft=ft[Dt]}ft!==null&&(y[dt]=ft)}for(const dt in it)y[dt]=it[dt]}}}return y}const JE=u=>(r,d)=>{const h=$.useContext(lv),y=$.useContext(Yy),b=()=>v3(u,r,h,y);return d?b():Y1(b)},S3=JE({scrapeMotionValuesFromProps:GS,createRenderState:JS}),x3=JE({scrapeMotionValuesFromProps:Pw,createRenderState:KE}),T3=Symbol.for("motionComponentSymbol");function w3(u,r,d){const h=$.useRef(d);$.useInsertionEffect(()=>{h.current=d});const y=$.useRef(null);return $.useCallback(b=>{b&&u.onMount?.(b),r&&(b?r.mount(b):r.unmount());const S=h.current;if(typeof S=="function")if(b){const x=S(b);typeof x=="function"&&(y.current=x)}else y.current?(y.current(),y.current=null):S(b);else S&&(S.current=b)},[r])}const $E=$.createContext({});function km(u){return u&&typeof u=="object"&&Object.prototype.hasOwnProperty.call(u,"current")}function E3(u,r,d,h,y,b){const{visualElement:S}=$.useContext(lv),x=$.useContext(VE),w=$.useContext(Yy),A=$.useContext(KS).reducedMotion,z=$.useRef(null);h=h||x.renderer,!z.current&&h&&(z.current=h(u,{visualState:r,parent:S,props:d,presenceContext:w,blockInitialAnimation:w?w.initial===!1:!1,reducedMotionConfig:A,isSVG:b}));const R=z.current,M=$.useContext($E);R&&!R.projection&&y&&(R.type==="html"||R.type==="svg")&&A3(z.current,d,y,M);const B=$.useRef(!1);$.useInsertionEffect(()=>{R&&B.current&&R.update(d,w)});const nt=d[fw],it=$.useRef(!!nt&&!window.MotionHandoffIsComplete?.(nt)&&window.MotionHasOptimisedAnimation?.(nt));return fT(()=>{R&&(B.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),it.current&&R.animationState&&R.animationState.animateChanges())}),$.useEffect(()=>{R&&(!it.current&&R.animationState&&R.animationState.animateChanges(),it.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(nt)}),it.current=!1),R.enteringChildren=void 0)}),R}function A3(u,r,d,h){const{layoutId:y,layout:b,drag:S,dragConstraints:x,layoutScroll:w,layoutRoot:A,layoutCrossfade:z}=r;u.projection=new d(u.latestValues,r["data-framer-portal-id"]?void 0:FE(u.parent)),u.projection.setOptions({layoutId:y,layout:b,alwaysMeasureLayout:!!S||x&&km(x),visualElement:u,animationType:typeof b=="string"?b:"both",initialPromotionConfig:h,crossfade:z,layoutScroll:w,layoutRoot:A})}function FE(u){if(u)return u.options.allowProjection!==!1?u.projection:FE(u.parent)}function FS(u,{forwardMotionProps:r=!1,type:d}={},h,y){h&&o3(h);const b=d?d==="svg":$S(u),S=b?x3:S3;function x(A,z){let R;const M={...$.useContext(KS),...A,layoutId:R3(A)},{isStatic:B}=M,nt=f3(A),it=S(A,B);if(!B&&cT){D3(M,h);const rt=C3(M);R=rt.MeasureLayout,nt.visualElement=E3(u,it,M,y,rt.ProjectionNode,b)}return G.jsxs(lv.Provider,{value:nt,children:[R&&nt.visualElement?G.jsx(R,{visualElement:nt.visualElement,...M}):null,y3(u,A,w3(it,nt.visualElement,z),it,B,r,b)]})}x.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const w=$.forwardRef(x);return w[T3]=u,w}function R3({layoutId:u}){const r=$.useContext(V1).id;return r&&u!==void 0?r+"-"+u:u}function D3(u,r){const d=$.useContext(VE).strict;if(process.env.NODE_ENV!=="production"&&r&&d){const h="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";u.ignoreStrict?Ld(!1,h,"lazy-strict-mode"):qu(!1,h,"lazy-strict-mode")}}function C3(u){const r=GE(),{drag:d,layout:h}=r;if(!d&&!h)return{};const y={...d,...h};return{MeasureLayout:d?.isEnabled(u)||h?.isEnabled(u)?y.MeasureLayout:void 0,ProjectionNode:y.ProjectionNode}}function z3(u,r){if(typeof Proxy>"u")return FS;const d=new Map,h=(b,S)=>FS(b,S,u,r),y=(b,S)=>(process.env.NODE_ENV!=="production"&&K1(!1,"motion() is deprecated. Use motion.create() instead."),h(b,S));return new Proxy(y,{get:(b,S)=>S==="create"?h:(d.has(S)||d.set(S,FS(S,void 0,u,r)),d.get(S))})}const M3=(u,r)=>r.isSVG??$S(u)?new rM(r):new nM(r,{allowProjection:u!==$.Fragment});class O3 extends os{constructor(r){super(r),r.animationState||(r.animationState=hM(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();$y(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:d}=this.node.prevProps||{};r!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let _3=0;class U3 extends os{constructor(){super(...arguments),this.id=_3++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:d}=this.node.presenceContext,{isPresent:h}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===h)return;const y=this.node.animationState.setActive("exit",!r);d&&!r&&y.then(()=>{d(this.id)})}mount(){const{register:r,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const j3={animation:{Feature:O3},exit:{Feature:U3}};function Lm(u){return{point:{x:u.pageX,y:u.pageY}}}const N3=u=>r=>US(r)&&u(r,Lm(r));function Vm(u,r,d,h){return Bm(u,r,N3(d),h)}const WE=({current:u})=>u?u.ownerDocument.defaultView:null,PE=(u,r)=>Math.abs(u-r);function H3(u,r){const d=PE(u.x,r.x),h=PE(u.y,r.y);return Math.sqrt(d**2+h**2)}const IE=new Set(["auto","scroll"]);class tA{constructor(r,d,{transformPagePoint:h,contextWindow:y=window,dragSnapToOrigin:b=!1,distanceThreshold:S=3,element:x}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=B=>{this.handleScroll(B.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=PS(this.lastMoveEventInfo,this.history),nt=this.startEvent!==null,it=H3(B.offset,{x:0,y:0})>=this.distanceThreshold;if(!nt&&!it)return;const{point:rt}=B,{timestamp:st}=ba;this.history.push({...rt,timestamp:st});const{onStart:dt,onMove:ft}=this.handlers;nt||(dt&&dt(this.lastMoveEvent,B),this.startEvent=this.lastMoveEvent),ft&&ft(this.lastMoveEvent,B)},this.handlePointerMove=(B,nt)=>{this.lastMoveEvent=B,this.lastMoveEventInfo=WS(nt,this.transformPagePoint),rn.update(this.updatePoint,!0)},this.handlePointerUp=(B,nt)=>{this.end();const{onEnd:it,onSessionEnd:rt,resumeAnimation:st}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&st&&st(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const dt=PS(B.type==="pointercancel"?this.lastMoveEventInfo:WS(nt,this.transformPagePoint),this.history);this.startEvent&&it&&it(B,dt),rt&&rt(B,dt)},!US(r))return;this.dragSnapToOrigin=b,this.handlers=d,this.transformPagePoint=h,this.distanceThreshold=S,this.contextWindow=y||window;const w=Lm(r),A=WS(w,this.transformPagePoint),{point:z}=A,{timestamp:R}=ba;this.history=[{...z,timestamp:R}];const{onSessionStart:M}=d;M&&M(r,PS(A,this.history)),this.removeListeners=Rm(Vm(this.contextWindow,"pointermove",this.handlePointerMove),Vm(this.contextWindow,"pointerup",this.handlePointerUp),Vm(this.contextWindow,"pointercancel",this.handlePointerUp)),x&&this.startScrollTracking(x)}startScrollTracking(r){let d=r.parentElement;for(;d;){const h=getComputedStyle(d);(IE.has(h.overflowX)||IE.has(h.overflowY))&&this.scrollPositions.set(d,{x:d.scrollLeft,y:d.scrollTop}),d=d.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const d=this.scrollPositions.get(r);if(!d)return;const h=r===window,y=h?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},b={x:y.x-d.x,y:y.y-d.y};b.x===0&&b.y===0||(h?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=b.x,this.lastMoveEventInfo.point.y+=b.y):this.history.length>0&&(this.history[0].x-=b.x,this.history[0].y-=b.y),this.scrollPositions.set(r,y),rn.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ns(this.updatePoint)}}function WS(u,r){return r?{point:r(u.point)}:u}function eA(u,r){return{x:u.x-r.x,y:u.y-r.y}}function PS({point:u},r){return{point:u,delta:eA(u,nA(r)),offset:eA(u,B3(r)),velocity:k3(r,.1)}}function B3(u){return u[0]}function nA(u){return u[u.length-1]}function k3(u,r){if(u.length<2)return{x:0,y:0};let d=u.length-1,h=null;const y=nA(u);for(;d>=0&&(h=u[d],!(y.timestamp-h.timestamp>$o(r)));)d--;if(!h)return{x:0,y:0};const b=Si(y.timestamp-h.timestamp);if(b===0)return{x:0,y:0};const S={x:(y.x-h.x)/b,y:(y.y-h.y)/b};return S.x===1/0&&(S.x=0),S.y===1/0&&(S.y=0),S}function L3(u,{min:r,max:d},h){return r!==void 0&&u<r?u=h?vn(r,u,h.min):Math.max(u,r):d!==void 0&&u>d&&(u=h?vn(d,u,h.max):Math.min(u,d)),u}function aA(u,r,d){return{min:r!==void 0?u.min+r:void 0,max:d!==void 0?u.max+d-(u.max-u.min):void 0}}function V3(u,{top:r,left:d,bottom:h,right:y}){return{x:aA(u.x,d,y),y:aA(u.y,r,h)}}function lA(u,r){let d=r.min-u.min,h=r.max-u.max;return r.max-r.min<u.max-u.min&&([d,h]=[h,d]),{min:d,max:h}}function Y3(u,r){return{x:lA(u.x,r.x),y:lA(u.y,r.y)}}function q3(u,r){let d=.5;const h=Fa(u),y=Fa(r);return y>h?d=Dm(r.min,r.max-h,u.min):h>y&&(d=Dm(u.min,u.max-y,r.min)),Jo(0,1,d)}function G3(u,r){const d={};return r.min!==void 0&&(d.min=r.min-u.min),r.max!==void 0&&(d.max=r.max-u.min),d}const IS=.35;function X3(u=IS){return u===!1?u=0:u===!0&&(u=IS),{x:iA(u,"left","right"),y:iA(u,"top","bottom")}}function iA(u,r,d){return{min:oA(u,r),max:oA(u,d)}}function oA(u,r){return typeof u=="number"?u:u[r]||0}const Q3=new WeakMap;class Z3{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=na(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:d=!1,distanceThreshold:h}={}){const{presenceContext:y}=this.visualElement;if(y&&y.isPresent===!1)return;const b=R=>{d?(this.stopAnimation(),this.snapToCursor(Lm(R).point)):this.pauseAnimation()},S=(R,M)=>{this.stopAnimation();const{drag:B,dragPropagation:nt,onDragStart:it}=this.getProps();if(B&&!nt&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Uz(B),!this.openDragLock))return;this.latestPointerEvent=R,this.latestPanInfo=M,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xi(st=>{let dt=this.getAxisMotionValue(st).get()||0;if(Fo.test(dt)){const{projection:ft}=this.visualElement;if(ft&&ft.layout){const Dt=ft.layout.layoutBox[st];Dt&&(dt=Fa(Dt)*(parseFloat(dt)/100))}}this.originPoint[st]=dt}),it&&rn.postRender(()=>it(R,M)),DS(this.visualElement,"transform");const{animationState:rt}=this.visualElement;rt&&rt.setActive("whileDrag",!0)},x=(R,M)=>{this.latestPointerEvent=R,this.latestPanInfo=M;const{dragPropagation:B,dragDirectionLock:nt,onDirectionLock:it,onDrag:rt}=this.getProps();if(!B&&!this.openDragLock)return;const{offset:st}=M;if(nt&&this.currentDirection===null){this.currentDirection=K3(st),this.currentDirection!==null&&it&&it(this.currentDirection);return}this.updateAxis("x",M.point,st),this.updateAxis("y",M.point,st),this.visualElement.render(),rt&&rt(R,M)},w=(R,M)=>{this.latestPointerEvent=R,this.latestPanInfo=M,this.stop(R,M),this.latestPointerEvent=null,this.latestPanInfo=null},A=()=>xi(R=>this.getAnimationState(R)==="paused"&&this.getAxisMotionValue(R).animation?.play()),{dragSnapToOrigin:z}=this.getProps();this.panSession=new tA(r,{onSessionStart:b,onStart:S,onMove:x,onSessionEnd:w,resumeAnimation:A},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:z,distanceThreshold:h,contextWindow:WE(this.visualElement),element:this.visualElement.current})}stop(r,d){const h=r||this.latestPointerEvent,y=d||this.latestPanInfo,b=this.isDragging;if(this.cancel(),!b||!y||!h)return;const{velocity:S}=y;this.startAnimation(S);const{onDragEnd:x}=this.getProps();x&&rn.postRender(()=>x(h,y))}cancel(){this.isDragging=!1;const{projection:r,animationState:d}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:h}=this.getProps();!h&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),d&&d.setActive("whileDrag",!1)}updateAxis(r,d,h){const{drag:y}=this.getProps();if(!h||!iv(r,y,this.currentDirection))return;const b=this.getAxisMotionValue(r);let S=this.originPoint[r]+h[r];this.constraints&&this.constraints[r]&&(S=L3(S,this.constraints[r],this.elastic[r])),b.set(S)}resolveConstraints(){const{dragConstraints:r,dragElastic:d}=this.getProps(),h=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,y=this.constraints;r&&km(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&h?this.constraints=V3(h.layoutBox,r):this.constraints=!1,this.elastic=X3(d),y!==this.constraints&&h&&this.constraints&&!this.hasMutatedConstraints&&xi(b=>{this.constraints!==!1&&this.getAxisMotionValue(b)&&(this.constraints[b]=G3(h.layoutBox[b],this.constraints[b]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:d}=this.getProps();if(!r||!km(r))return!1;const h=r.current;qu(h!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:y}=this.visualElement;if(!y||!y.layout)return!1;const b=Fz(h,y.root,this.visualElement.getTransformPagePoint());let S=Y3(y.layout.layoutBox,b);if(d){const x=d(Kz(S));this.hasMutatedConstraints=!!x,x&&(S=Bw(x))}return S}startAnimation(r){const{drag:d,dragMomentum:h,dragElastic:y,dragTransition:b,dragSnapToOrigin:S,onDragTransitionEnd:x}=this.getProps(),w=this.constraints||{},A=xi(z=>{if(!iv(z,d,this.currentDirection))return;let R=w&&w[z]||{};S&&(R={min:0,max:0});const M=y?200:1e6,B=y?40:1e7,nt={type:"inertia",velocity:h?r[z]:0,bounceStiffness:M,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...b,...R};return this.startAxisValueAnimation(z,nt)});return Promise.all(A).then(x)}startAxisValueAnimation(r,d){const h=this.getAxisMotionValue(r);return DS(this.visualElement,r),h.start(ES(r,h,0,d,this.visualElement,!1))}stopAnimation(){xi(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){xi(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const d=`_drag${r.toUpperCase()}`,h=this.visualElement.getProps(),y=h[d];return y||this.visualElement.getValue(r,(h.initial?h.initial[r]:void 0)||0)}snapToCursor(r){xi(d=>{const{drag:h}=this.getProps();if(!iv(d,h,this.currentDirection))return;const{projection:y}=this.visualElement,b=this.getAxisMotionValue(d);if(y&&y.layout){const{min:S,max:x}=y.layout.layoutBox[d],w=b.get()||0;b.set(r[d]-vn(S,x,.5)+w)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:d}=this.getProps(),{projection:h}=this.visualElement;if(!km(d)||!h||!this.constraints)return;this.stopAnimation();const y={x:0,y:0};xi(S=>{const x=this.getAxisMotionValue(S);if(x&&this.constraints!==!1){const w=x.get();y[S]=q3({min:w,max:w},this.constraints[S])}});const{transformTemplate:b}=this.visualElement.getProps();this.visualElement.current.style.transform=b?b({},""):"none",h.root&&h.root.updateScroll(),h.updateLayout(),this.resolveConstraints(),xi(S=>{if(!iv(S,r,null))return;const x=this.getAxisMotionValue(S),{min:w,max:A}=this.constraints[S];x.set(vn(w,A,y[S]))})}addListeners(){if(!this.visualElement.current)return;Q3.set(this.visualElement,this);const r=this.visualElement.current,d=Vm(r,"pointerdown",w=>{const{drag:A,dragListener:z=!0}=this.getProps();A&&z&&!Rw(w.target)&&this.start(w)}),h=()=>{const{dragConstraints:w}=this.getProps();km(w)&&w.current&&(this.constraints=this.resolveRefConstraints())},{projection:y}=this.visualElement,b=y.addEventListener("measure",h);y&&!y.layout&&(y.root&&y.root.updateScroll(),y.updateLayout()),rn.read(h);const S=Bm(window,"resize",()=>this.scalePositionWithinConstraints()),x=y.addEventListener("didUpdate",(({delta:w,hasLayoutChanged:A})=>{this.isDragging&&A&&(xi(z=>{const R=this.getAxisMotionValue(z);R&&(this.originPoint[z]+=w[z].translate,R.set(R.get()+w[z].translate))}),this.visualElement.render())}));return()=>{S(),d(),b(),x&&x()}}getProps(){const r=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:h=!1,dragPropagation:y=!1,dragConstraints:b=!1,dragElastic:S=IS,dragMomentum:x=!0}=r;return{...r,drag:d,dragDirectionLock:h,dragPropagation:y,dragConstraints:b,dragElastic:S,dragMomentum:x}}}function iv(u,r,d){return(r===!0||r===u)&&(d===null||d===u)}function K3(u,r=10){let d=null;return Math.abs(u.y)>r?d="y":Math.abs(u.x)>r&&(d="x"),d}class J3 extends os{constructor(r){super(r),this.removeGroupControls=bi,this.removeListeners=bi,this.controls=new Z3(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bi}update(){const{dragControls:r}=this.node.getProps(),{dragControls:d}=this.node.prevProps||{};r!==d&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const uA=u=>(r,d)=>{u&&rn.postRender(()=>u(r,d))};class $3 extends os{constructor(){super(...arguments),this.removePointerDownListener=bi}onPointerDown(r){this.session=new tA(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:WE(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:d,onPan:h,onPanEnd:y}=this.node.getProps();return{onSessionStart:uA(r),onStart:uA(d),onMove:h,onEnd:(b,S)=>{delete this.session,y&&rn.postRender(()=>y(b,S))}}}mount(){this.removePointerDownListener=Vm(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let t2=!1;class F3 extends $.Component{componentDidMount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:h,layoutId:y}=this.props,{projection:b}=r;b&&(d.group&&d.group.add(b),h&&h.register&&y&&h.register(b),t2&&b.root.didUpdate(),b.addEventListener("animationComplete",()=>{this.safeToRemove()}),b.setOptions({...b.options,onExitComplete:()=>this.safeToRemove()})),ev.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:d,visualElement:h,drag:y,isPresent:b}=this.props,{projection:S}=h;return S&&(S.isPresent=b,t2=!0,y||r.layoutDependency!==d||d===void 0||r.isPresent!==b?S.willUpdate():this.safeToRemove(),r.isPresent!==b&&(b?S.promote():S.relegate()||rn.postRender(()=>{const x=S.getStack();(!x||!x.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),_S.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:h}=this.props,{projection:y}=r;t2=!0,y&&(y.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(y),h&&h.deregister&&h.deregister(y))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function rA(u){const[r,d]=BE(),h=$.useContext(V1);return G.jsx(F3,{...u,layoutGroup:h,switchLayoutGroup:$.useContext($E),isPresent:r,safeToRemove:d})}const W3={pan:{Feature:$3},drag:{Feature:J3,ProjectionNode:NE,MeasureLayout:rA}};function sA(u,r,d){const{props:h}=u;u.animationState&&h.whileHover&&u.animationState.setActive("whileHover",d==="Start");const y="onHover"+d,b=h[y];b&&rn.postRender(()=>b(r,Lm(r)))}class P3 extends os{mount(){const{current:r}=this.node;r&&(this.unmount=jz(r,(d,h)=>(sA(this.node,h,"Start"),y=>sA(this.node,y,"End"))))}unmount(){}}class I3 extends os{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rm(Bm(this.node.current,"focus",()=>this.onFocus()),Bm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function cA(u,r,d){const{props:h}=u;if(u.current instanceof HTMLButtonElement&&u.current.disabled)return;u.animationState&&h.whileTap&&u.animationState.setActive("whileTap",d==="Start");const y="onTap"+(d==="End"?"":d),b=h[y];b&&rn.postRender(()=>b(r,Lm(r)))}class tO extends os{mount(){const{current:r}=this.node;r&&(this.unmount=Bz(r,(d,h)=>(cA(this.node,h,"Start"),(y,{success:b})=>cA(this.node,y,b?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const e2=new WeakMap,n2=new WeakMap,eO=u=>{const r=e2.get(u.target);r&&r(u)},nO=u=>{u.forEach(eO)};function aO({root:u,...r}){const d=u||document;n2.has(d)||n2.set(d,{});const h=n2.get(d),y=JSON.stringify(r);return h[y]||(h[y]=new IntersectionObserver(nO,{root:u,...r})),h[y]}function lO(u,r,d){const h=aO(r);return e2.set(u,d),h.observe(u),()=>{e2.delete(u),h.unobserve(u)}}const iO={some:0,all:1};class oO extends os{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:d,margin:h,amount:y="some",once:b}=r,S={root:d?d.current:void 0,rootMargin:h,threshold:typeof y=="number"?y:iO[y]},x=w=>{const{isIntersecting:A}=w;if(this.isInView===A||(this.isInView=A,b&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:z,onViewportLeave:R}=this.node.getProps(),M=A?z:R;M&&M(w)};return lO(this.node.current,S,x)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:d}=this.node;["amount","margin","root"].some(uO(r,d))&&this.startObserver()}unmount(){}}function uO({viewport:u={}},{viewport:r={}}={}){return d=>u[d]!==r[d]}const rO={...j3,...{inView:{Feature:oO},tap:{Feature:tO},focus:{Feature:I3},hover:{Feature:P3}},...W3,...{layout:{ProjectionNode:NE,MeasureLayout:rA}}},ov=z3(rO,M3);function fA(){const u=ge(S=>S.plugins?.eslint?.issues),r=$.useMemo(()=>{const S=[];return u?.forEach(x=>S.push(...x)),S},[u]),d=$.useMemo(()=>{const S=new Map;for(const x of r){const w=S.get(x.filePath)||[];w.push(x),S.set(x.filePath,w)}return S},[r]),h=$.useCallback(S=>u?.get(S)||[],[u]),y=r.length,b=$.useMemo(()=>({error:r.filter(S=>S.severity==="error").length,warning:r.filter(S=>S.severity==="warning").length,info:r.filter(S=>S.severity==="info").length}),[r]);return{allIssues:r,byFile:d,byDataLoc:u??new Map,getIssuesForDataLoc:h,totalCount:y,countBySeverity:b}}function sO(){const u=ge(y=>y.openCommandPalette),r=ge(y=>y.closeCommandPalette),d=ge(y=>y.setAltKeyHeld),h=ge(y=>y.commandPalette.open);$.useEffect(()=>{const y=S=>{if((S.metaKey||S.ctrlKey)&&S.key==="k"){S.preventDefault(),h?r():u();return}if(S.key==="Escape"&&h){S.preventDefault(),r();return}S.key==="Alt"&&d(!0)},b=S=>{S.key==="Alt"&&d(!1)};return window.addEventListener("keydown",y),window.addEventListener("keyup",b),()=>{window.removeEventListener("keydown",y),window.removeEventListener("keyup",b)}},[h,u,r,d])}const dA="ws://localhost:9234",a2=5,cO=1e3;class fO{constructor(r={}){this.options=r,this.createWebSocket=r.createWebSocket??(d=>new WebSocket(d)),this._setTimeout=r.setTimeout??globalThis.setTimeout,this._clearTimeout=r.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=dA;connect(r){if(typeof WebSocket>"u"&&!this.options.createWebSocket){console.warn("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!r||r===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=r??dA,this.intentionalDisconnect=!1;try{this.ws=this.createWebSocket(this.url),this.setupEventHandlers()}catch(d){console.error("[WebSocket] Failed to create WebSocket:",d),this.scheduleReconnect()}}}disconnect(){this.intentionalDisconnect=!0,this.reconnectTimeout&&(this._clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.ws&&(this.ws.close(),this.ws=null),this.isConnected=!1,this.reconnectAttempts=0}send(r){if(!this.ws||!this.isConnected){console.warn("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(r))}catch(d){console.error("[WebSocket] Failed to send message:",d)}}on(r,d){this.handlers.has(r)||this.handlers.set(r,new Set);const h=this.handlers.get(r);return h.add(d),()=>{h.delete(d),h.size===0&&this.handlers.delete(r)}}onConnectionChange(r){return this.connectionHandlers.add(r),r(this.isConnected),()=>{this.connectionHandlers.delete(r)}}setupEventHandlers(){this.ws&&(this.ws.onopen=()=>{console.log(`[WebSocket] Connected to ${this.url}`),this.isConnected=!0,this.reconnectAttempts=0,this.notifyConnectionChange(!0)},this.ws.onclose=r=>{console.log(`[WebSocket] Disconnected from ${this.url} (code: ${r?.code??"unknown"}, reason: ${r?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=r=>{console.error("[WebSocket] Connection error:",r)},this.ws.onmessage=r=>{try{const d=JSON.parse(r.data),h=d.type;console.log(`[WebSocket] Received message: ${h||"unknown"}`,d),h?this.dispatch(h,d):this.dispatch("*",d)}catch(d){console.error("[WebSocket] Failed to parse message:",d)}})}dispatch(r,d){const h=this.handlers.get(r);if(h&&h.forEach(y=>{try{y(d)}catch(b){console.error(`[WebSocket] Handler error for type "${r}":`,b)}}),r!=="*"){const y=this.handlers.get("*");y&&y.forEach(b=>{try{b(d)}catch(S){console.error("[WebSocket] Wildcard handler error:",S)}})}}notifyConnectionChange(r){this.connectionHandlers.forEach(d=>{try{d(r)}catch(h){console.error("[WebSocket] Connection handler error:",h)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this.reconnectAttempts>=a2){console.warn(`[WebSocket] Max reconnection attempts (${a2}) reached`);return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const r=cO*Math.pow(2,this.reconnectAttempts);this.reconnectAttempts++,console.log(`[WebSocket] Reconnecting in ${r}ms (attempt ${this.reconnectAttempts}/${a2})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},r)}}const us=new fO,dO=300*1e3,uv=new Map,l2=new Map;function hO(u){const r=uv.get(u);return r?Date.now()-r.fetchedAt>dO?(uv.delete(u),null):r:null}function pO(u,r,d,h){const y={content:r,lines:r.split(`
|
|
252
|
+
`),totalLines:d,relativePath:h,fetchedAt:Date.now()};return uv.set(u,y),y}function mO(u){uv.delete(u)}function i2(u,r,d=5,h=5){const y=r-1,b=Math.max(0,y-d),S=Math.min(u.lines.length,y+h+1);return{lines:u.lines.slice(b,S),startLine:b+1,highlightLine:r,relativePath:u.relativePath}}function gO(u){return l2.get(u)}function yO(u,r){l2.set(u,r),r.finally(()=>{l2.delete(u)})}function vO({filePath:u,line:r,contextAbove:d=5,contextBelow:h=5,enabled:y=!0}){const[b,S]=$.useState(null),[x,w]=$.useState(!1),[A,z]=$.useState(null),R=ge(nt=>nt.wsConnected),M=$.useRef(null),B=$.useCallback(()=>{if(!y||!u||!R)return;const nt=hO(u);if(nt){S(i2(nt,r,d,h)),w(!1),z(null);return}const it=gO(u);if(it){w(!0),it.then(dt=>{dt&&(S(i2(dt,r,d,h)),z(null)),w(!1)});return}w(!0),z(null);const rt=`source-${u}-${Date.now()}`;M.current=rt;const st=new Promise(dt=>{const ft=us.on("source:result",St=>{if(St.filePath===u){const kt=pO(St.filePath,St.content,St.totalLines,St.relativePath);ft(),Dt(),dt(kt)}}),Dt=us.on("source:error",St=>{St.filePath===u&&(z(St.error),ft(),Dt(),dt(null))});us.send({type:"source:fetch",filePath:u,requestId:rt}),setTimeout(()=>{ft(),Dt(),dt(null)},1e4)});yO(u,st),st.then(dt=>{dt&&S(i2(dt,r,d,h)),w(!1)})},[u,r,d,h,y,R]);return $.useEffect(()=>{B()},[B]),$.useEffect(()=>u?us.on("file:changed",it=>{(it.filePath===u||it.filePath.endsWith(u)||u.endsWith(it.filePath))&&(mO(u),y&&B())}):void 0,[u,y,B]),{context:b,isLoading:x,error:A,refetch:B}}function bO({value:u,onChange:r,placeholder:d="Search issues, rules, files..."}){const h=$.useRef(null);return $.useEffect(()=>{h.current?.focus()},[]),G.jsxs("div",{className:"flex items-center px-4 py-3 border-b border-gray-200 gap-3",children:[G.jsx(oT,{size:20,color:"#9ca3af"}),G.jsx("input",{ref:h,type:"text",value:u,onChange:y=>r(y.target.value),placeholder:d,className:"flex-1 border-none outline-none text-base bg-transparent text-gray-900"}),u&&G.jsx("button",{onClick:()=>r(""),className:"border-none bg-none cursor-pointer p-1 text-gray-400",children:"✕"})]})}function SO({issue:u,isSelected:r,onClick:d}){const h=u.severity==="error"?H1:u.severity==="warning"?k1:B1,y=u.severity==="error"?"#ef4444":u.severity==="warning"?"#f59e0b":"#3b82f6",b=u.filePath.split("/").pop()||u.filePath;return G.jsxs("div",{onClick:d,className:`flex items-start px-4 py-2.5 cursor-pointer gap-3 border-b border-gray-100 ${r?"bg-gray-100":"bg-transparent"}`,children:[G.jsx(h,{size:16,color:y}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("div",{className:"text-sm text-gray-900 overflow-hidden text-ellipsis whitespace-nowrap",children:u.message}),G.jsxs("div",{className:"text-xs text-gray-500 mt-0.5 flex items-center gap-2",children:[G.jsxs("span",{className:"flex items-center gap-1",children:[G.jsx(lT,{size:12}),b,":",u.line]}),G.jsxs("span",{className:"flex items-center gap-1",children:[G.jsx(iT,{size:12}),u.ruleId]})]})]})]})}function xO({value:u,onChange:r,onClick:d}){const h=[{value:"error",label:"E",activeClass:"bg-red-500 text-white"},{value:"warning",label:"W",activeClass:"bg-amber-500 text-white"},{value:"off",label:"Off",activeClass:"bg-gray-500 text-white"}];return G.jsx("div",{className:"flex gap-0.5",onClick:d,children:h.map(y=>G.jsx("button",{onClick:b=>{b.stopPropagation(),r(y.value)},className:`px-1.5 py-0.5 text-[10px] font-medium border-none rounded cursor-pointer ${u===y.value?y.activeClass:"bg-transparent text-gray-400"}`,children:y.label},y.value))})}function TO({rule:u,issueCount:r,isSelected:d,onSeverityChange:h,onClick:y}){const b=$.useCallback(w=>{h(u.id,w)},[u.id,h]),S=$.useCallback(w=>{w.stopPropagation()},[]),x=u.severity==="error"?"bg-red-50 text-red-500":u.severity==="warning"?"bg-amber-50 text-amber-500":"bg-gray-100 text-gray-500";return G.jsxs("div",{onClick:y,className:`px-4 py-2.5 cursor-pointer border-b border-gray-100 flex items-center gap-3 ${d?"bg-gray-100":"bg-transparent"}`,children:[G.jsx("div",{className:`w-7 h-7 rounded-md flex items-center justify-center shrink-0 ${x}`,children:G.jsx(iT,{size:14})}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("div",{className:`text-[13px] font-medium mb-0.5 overflow-hidden text-ellipsis whitespace-nowrap ${u.severity==="off"?"text-gray-400":"text-gray-900"}`,children:u.name}),G.jsx("div",{className:"text-[11px] text-gray-500 overflow-hidden text-ellipsis whitespace-nowrap",children:u.id})]}),r>0&&G.jsx("span",{className:"text-[10px] font-semibold bg-red-50 text-red-600 px-1.5 py-0.5 rounded-full min-w-5 text-center",children:r}),G.jsx(xO,{value:u.severity,onChange:b,onClick:S})]})}function wO({fileName:u,directory:r,count:d}){return G.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 bg-surface-elevated border-b border-border",children:[G.jsx(lT,{size:14,className:"text-muted-foreground shrink-0"}),G.jsx("span",{className:"text-xs font-medium text-foreground",children:u}),r&&G.jsx("span",{className:"text-xs text-muted-foreground overflow-hidden text-ellipsis whitespace-nowrap flex-1",children:r}),G.jsx("span",{className:"text-xs font-medium text-muted-foreground bg-hover px-1.5 py-0.5 rounded-full",children:d})]})}function EO({command:u,isSelected:r,onClick:d}){return G.jsxs("div",{onClick:d,style:{padding:"12px 16px",cursor:"pointer",background:r?"#f3f4f6":"transparent",borderBottom:"1px solid #f3f4f6",display:"flex",alignItems:"center",gap:12},children:[G.jsx("div",{style:{width:32,height:32,borderRadius:6,background:"#3b82f6",color:"white",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:u.id.includes("start")?G.jsx(vD,{size:16}):u.id.includes("stop")?G.jsx(SD,{size:16}):u.id.includes("clear")?G.jsx(bD,{size:16}):G.jsx("span",{style:{fontSize:14},children:"⚡"})}),G.jsxs("div",{style:{flex:1,minWidth:0},children:[G.jsx("div",{style:{fontWeight:500,color:"#111827",marginBottom:2},children:u.title}),u.subtitle&&G.jsx("div",{style:{fontSize:12,color:"#6b7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.subtitle})]}),G.jsx("span",{style:{fontSize:10,fontWeight:500,textTransform:"uppercase",background:"#dbeafe",color:"#1d4ed8",padding:"2px 6px",borderRadius:4},children:u.category})]})}function AO(){const u=ge(Z=>Z.commandPalette.open),r=ge(Z=>Z.closeCommandPalette),d=ge(Z=>Z.openInspector),[h,y]=$.useState(""),[b,S]=$.useState(0),{allIssues:x}=fA(),w=ge(Z=>Z),A=$.useMemo(()=>es.getAllCommands().filter(bt=>bt.isAvailable?bt.isAvailable(w):!0),[w]),z=$.useMemo(()=>{if(!h.trim())return A;const Z=h.toLowerCase();return A.filter(bt=>bt.title.toLowerCase().includes(Z)||bt.keywords.some(K=>K.toLowerCase().includes(Z))||bt.category.toLowerCase().includes(Z)||bt.subtitle&&bt.subtitle.toLowerCase().includes(Z))},[A,h]),R=$.useMemo(()=>{if(!h.trim())return x.slice(0,50);const Z=h.toLowerCase();return x.filter(bt=>bt.message.toLowerCase().includes(Z)||bt.ruleId.toLowerCase().includes(Z)||bt.filePath.toLowerCase().includes(Z)).slice(0,50)},[x,h]),M=$.useMemo(()=>es.getAllRules(),[]),B=$.useMemo(()=>{if(!h.trim())return M;const Z=h.toLowerCase();return M.filter(bt=>bt.name.toLowerCase().includes(Z)||bt.id.toLowerCase().includes(Z)||bt.description.toLowerCase().includes(Z)||bt.category.toLowerCase().includes(Z))},[M,h]),nt=$.useMemo(()=>{const Z=new Map;for(const bt of x){const K=Z.get(bt.ruleId)||0;Z.set(bt.ruleId,K+1)}return Z},[x]),it=$.useMemo(()=>{const Z=[],bt=new Map;for(const K of R){const Tt=bt.get(K.filePath)||[];bt.set(K.filePath,[...Tt,K])}for(const[K,Tt]of bt){const xt=K.split("/"),Nt=xt.pop()||K,ye=xt.join("/");Z.push({filePath:K,fileName:Nt,directory:ye,issues:Tt})}return Z},[R]),rt=$.useMemo(()=>{const Z=z.map(K=>({kind:"command",command:K})),bt=R.map(K=>({kind:"issue",issue:K}));return[...Z,...bt]},[z,R]),st=$.useCallback(Z=>{Z.key==="ArrowDown"?(Z.preventDefault(),S(bt=>Math.min(bt+1,rt.length-1))):Z.key==="ArrowUp"?(Z.preventDefault(),S(bt=>Math.max(bt-1,0))):Z.key==="Enter"&&rt[b]&&(Z.preventDefault(),Dt(rt[b]))},[rt,b]),dt=$.useCallback(Z=>{d("issue",{issue:Z}),r()},[d,r]),ft=$.useCallback(async Z=>{const bt=N1();if(!bt){console.error("[CommandPalette] Plugin services not available");return}try{await Z.execute(bt)}catch(K){console.error(`[CommandPalette] Error executing command "${Z.id}":`,K)}},[]),Dt=$.useCallback(Z=>{Z.kind==="command"?ft(Z.command):dt(Z.issue)},[ft,dt]),St=$.useCallback((Z,bt)=>{es.setRuleSeverity(Z,bt)},[]),kt=$.useCallback(Z=>{d("eslint-rule",{ruleId:Z.id}),r()},[d,r]);Bd.useEffect(()=>{S(0)},[h]);const wt=document.getElementById("uilint-portal")||document.body;return Tm.createPortal(G.jsx(LE,{children:u&&G.jsx(ov.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.4)",backdropFilter:"blur(4px)",display:"flex",alignItems:"flex-start",justifyContent:"center",paddingTop:100,zIndex:99998,pointerEvents:"auto"},onClick:Z=>{Z.target===Z.currentTarget&&r()},onKeyDown:st,children:G.jsxs(ov.div,{initial:{opacity:0,scale:.95,y:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:-5},transition:{duration:.2,ease:[.32,.72,0,1]},style:{width:"100%",maxWidth:640,background:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(24px) saturate(180%)",WebkitBackdropFilter:"blur(24px) saturate(180%)",borderRadius:16,boxShadow:"0 25px 50px -12px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.2) inset",border:"1px solid rgba(255, 255, 255, 0.3)",overflow:"hidden"},children:[G.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",borderBottom:"1px solid rgba(0,0,0,0.08)",background:"rgba(255,255,255,0.5)"},children:[G.jsxs("span",{style:{fontWeight:600,color:"#111827"},children:["UILint",x.length>0&&G.jsxs("span",{style:{fontWeight:400,color:"#6b7280",marginLeft:8},children:[x.length," issue",x.length!==1?"s":""]})]}),G.jsx("button",{onClick:r,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#6b7280"},children:G.jsx(uT,{size:20})})]}),G.jsx(bO,{value:h,onChange:y}),G.jsx("div",{style:{maxHeight:400,overflowY:"auto"},children:rt.length===0?G.jsx("div",{style:{padding:24,textAlign:"center",color:"#6b7280"},children:h?"No results match your search":"No commands or issues available"}):G.jsxs(G.Fragment,{children:[z.length>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Commands"}),z.map((Z,bt)=>G.jsx(EO,{command:Z,isSelected:bt===b,onClick:()=>ft(Z)},Z.id))]}),it.length>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Issues"}),it.map(Z=>{let bt=z.length;for(const K of it){if(K.filePath===Z.filePath)break;bt+=K.issues.length}return G.jsxs(Bd.Fragment,{children:[G.jsx(wO,{fileName:Z.fileName,directory:Z.directory,count:Z.issues.length}),Z.issues.map((K,Tt)=>G.jsx(SO,{issue:K,isSelected:bt+Tt===b,onClick:()=>dt(K)},K.id))]},Z.filePath)})]}),B.length>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Rules"}),B.map((Z,bt)=>G.jsx(TO,{rule:Z,issueCount:nt.get(Z.id)??0,isSelected:z.length+R.length+bt===b,onSeverityChange:St,onClick:()=>kt(Z)},Z.id))]})]})}),G.jsxs("div",{style:{padding:"8px 16px",borderTop:"1px solid rgba(0,0,0,0.08)",fontSize:12,color:"#9ca3af",display:"flex",gap:16,background:"rgba(255,255,255,0.5)"},children:[G.jsx("span",{children:"↑↓ Navigate"}),G.jsx("span",{children:"↵ Select"}),G.jsx("span",{children:"Esc Close"})]})]})})}),wt)}function RO(u){const r=u.match(/^[\t ]+/);return r?r[0]:""}function DO(u){if(!u.length)return{lines:u,removed:0};const r=u.filter(h=>h.trim().length>0);if(!r.length)return{lines:u,removed:0};let d=1/0;for(const h of r)if(d=Math.min(d,RO(h).length),d===0)break;return!Number.isFinite(d)||d<=0?{lines:u,removed:0}:{removed:d,lines:u.map(h=>h.length>=d?h.slice(d):"")}}function CO({filePath:u,line:r,column:d,contextLines:h=5,defaultExpanded:y=!0}){const[b,S]=$.useState(y),{context:x,isLoading:w,error:A}=vO({filePath:u,line:r,contextAbove:h,contextBelow:h,enabled:b}),z=x?DO(x.lines):null,R=x?x.startLine+x.lines.length-1:0,M=Math.max(3,String(R).length)*8+16;return G.jsxs("div",{style:{background:"var(--uilint-background)",borderRadius:8,overflow:"hidden",border:"1px solid var(--uilint-border)"},children:[G.jsxs("button",{onClick:()=>S(!b),style:{width:"100%",display:"flex",alignItems:"center",gap:8,padding:"8px 12px",background:"var(--uilint-surface-elevated)",border:"none",borderBottom:b?"1px solid var(--uilint-border)":"none",cursor:"pointer",color:"var(--uilint-text-primary)",fontSize:12,fontFamily:"inherit"},children:[b?G.jsx(pD,{size:14}):G.jsx(mD,{size:14}),G.jsx("span",{style:{fontWeight:500},children:"Source"}),G.jsxs("span",{style:{color:"var(--uilint-text-muted)",marginLeft:"auto",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:["L",r,d?`:${d}`:""]})]}),b&&G.jsxs("div",{style:{padding:0},children:[w&&G.jsx("div",{style:{padding:24,color:"var(--uilint-text-muted)",textAlign:"center",fontSize:12},children:"Loading..."}),A&&G.jsx("div",{style:{padding:24,color:"var(--uilint-error, #ef4444)",textAlign:"center",fontSize:12},children:A}),z&&x&&G.jsx("div",{style:{overflowX:"auto",fontSize:12,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace",lineHeight:1.6},children:z.lines.map((B,nt)=>{const it=x.startLine+nt,rt=it===r;return G.jsxs("div",{style:{display:"flex",background:rt?"rgba(251, 191, 36, 0.12)":"transparent",borderLeft:rt?"3px solid #f59e0b":"3px solid transparent"},children:[G.jsx("span",{style:{width:M,minWidth:M,padding:"0 8px",textAlign:"right",color:rt?"var(--uilint-text-primary)":"var(--uilint-text-disabled)",background:"var(--uilint-surface-elevated)",userSelect:"none",flexShrink:0,borderRight:"1px solid var(--uilint-border)"},children:it}),G.jsx("code",{style:{padding:"0 12px",color:rt?"var(--uilint-text-primary)":"var(--uilint-text-secondary)",whiteSpace:"pre",flex:1},children:B||" "})]},it)})})]})]})}function zO(u){const r=u.split("/");return r[r.length-1]||u}function MO({issue:u}){const r=u.severity==="error"?H1:u.severity==="warning"?k1:B1;return G.jsxs("div",{style:{padding:16,display:"flex",flexDirection:"column",gap:16},children:[G.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:10},children:[G.jsx(r,{size:18,color:L1(u.severity),style:{marginTop:2,flexShrink:0}}),G.jsxs("div",{style:{flex:1,minWidth:0},children:[G.jsx("div",{style:{fontSize:14,fontWeight:500,color:"var(--uilint-text-primary)",lineHeight:1.4},children:u.message}),G.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",marginTop:4,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:u.ruleId})]})]}),G.jsx(CO,{filePath:u.filePath,line:u.line,column:u.column,contextLines:5}),G.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"4px 12px",fontSize:11,color:"var(--uilint-text-muted)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:[G.jsxs("span",{title:u.filePath,children:[zO(u.filePath),":",u.line,u.column?`:${u.column}`:""]}),G.jsx("span",{style:{opacity:.5},children:"|"}),G.jsx("span",{children:u.pluginId})]})]})}function OO({dataLoc:u,onSelectIssue:r}){const{getIssuesForDataLoc:d}=fA(),h=d(u);return h.length===0?G.jsx("div",{style:{padding:16,textAlign:"center",color:"var(--uilint-text-muted)"},children:"No issues for this element"}):G.jsxs("div",{style:{padding:16},children:[G.jsxs("div",{style:{fontSize:14,fontWeight:600,color:"var(--uilint-text-primary)",marginBottom:12},children:[h.length," issue",h.length!==1?"s":""," at this location"]}),G.jsx("div",{style:{background:"var(--uilint-surface-elevated)",borderRadius:8,overflow:"hidden"},children:h.map((y,b)=>{const S=y.severity==="error"?H1:y.severity==="warning"?k1:B1;return G.jsxs("div",{onClick:()=>r(y),style:{display:"flex",alignItems:"flex-start",gap:10,padding:12,cursor:"pointer",borderBottom:b<h.length-1?"1px solid var(--uilint-border)":void 0},children:[G.jsx(S,{size:16,color:L1(y.severity)}),G.jsxs("div",{style:{flex:1},children:[G.jsx("div",{style:{fontSize:13,color:"var(--uilint-text-primary)"},children:y.message}),G.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:2},children:y.ruleId})]})]},y.id)})}),G.jsx("div",{style:{marginTop:12,fontSize:11,color:"var(--uilint-text-disabled)",wordBreak:"break-all"},children:u})]})}function hA({direction:u,onResize:r,onResizeEnd:d}){const h=$.useRef(!1),y=$.useRef({x:0,y:0}),b=$.useCallback(w=>{w.preventDefault(),w.stopPropagation(),h.current=!0,y.current={x:w.clientX,y:w.clientY}},[]);$.useEffect(()=>{const w=z=>{if(!h.current)return;const R=z.clientX-y.current.x,M=z.clientY-y.current.y;y.current={x:z.clientX,y:z.clientY},r(R,M)},A=()=>{h.current&&(h.current=!1,d?.())};return document.addEventListener("mousemove",w),document.addEventListener("mouseup",A),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",A)}},[r,d]);const S={position:"absolute",zIndex:10},x={horizontal:{...S,top:0,left:0,width:4,height:"100%",cursor:"col-resize"},vertical:{...S,bottom:0,left:0,width:"100%",height:4,cursor:"row-resize"},corner:{...S,bottom:0,right:0,width:12,height:12,cursor:"nwse-resize"}};return G.jsx("div",{onMouseDown:b,style:{...x[u],background:"transparent"},onMouseEnter:w=>{w.target.style.background="rgba(59, 130, 246, 0.2)"},onMouseLeave:w=>{h.current||(w.target.style.background="transparent")}})}const pA=320,mA=800,rv=450,gA=500;function _O(){const u=ge(K=>K.inspector.open),r=ge(K=>K.inspector.panelId),d=ge(K=>K.inspector.data),h=ge(K=>K.inspector.docked),y=ge(K=>K.inspector.width),b=ge(K=>K.inspector.floatingPosition),S=ge(K=>K.inspector.floatingSize),x=ge(K=>K.closeInspector),w=ge(K=>K.openInspector),A=ge(K=>K.toggleInspectorDocked),z=ge(K=>K.setInspectorWidth),R=ge(K=>K.setInspectorFloatingPosition),M=ge(K=>K.setInspectorFloatingSize),[B,nt]=$.useState(!1),it=$.useRef(null),rt=$.useMemo(()=>es.getAllInspectorPanels(),[]),st=$.useCallback(K=>{w("issue",{issue:K})},[w]),{content:dt,title:ft}=$.useMemo(()=>{let K=null,Tt="Inspector";const xt=rt.find(Nt=>Nt.id===r);if(xt){const Nt=N1(),ye=xt.component,De=d??void 0;Tt=typeof xt.title=="function"?xt.title({data:De,services:Nt}):xt.title,K=Nt?G.jsx(ye,{data:De,services:Nt}):G.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else r==="issue"&&d?.issue?(Tt="Issue Details",K=G.jsx(MO,{issue:d.issue})):r==="element"&&d?.dataLoc?(Tt="Element Issues",K=G.jsx(OO,{dataLoc:d.dataLoc,onSelectIssue:st})):K=G.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Select an issue or element to inspect"});return{content:K,title:Tt}},[r,d,rt,st]);$.useEffect(()=>{nt(!0)},[]),$.useEffect(()=>{if(!B)return;const K=document.documentElement;return u&&h?(K.style.marginRight=`${y}px`,K.style.transition="margin-right 0.2s ease-out"):(K.style.marginRight="",K.style.transition="margin-right 0.2s ease-out"),()=>{K.style.marginRight="",K.style.transition=""}},[B,u,h,y]);const Dt=$.useCallback(K=>{const Tt=Math.min(mA,Math.max(pA,y-K));z(Tt)},[y,z]),St=$.useCallback((K,Tt)=>{const xt=S??{width:rv,height:gA},Nt=Math.min(mA,Math.max(pA,xt.width+K)),ye=Math.max(300,xt.height+Tt);M({width:Nt,height:ye})},[S,M]),kt=$.useCallback(K=>{b&&(K.preventDefault(),it.current={startX:K.clientX,startY:K.clientY,startPos:b})},[b]);$.useEffect(()=>{const K=xt=>{if(!it.current)return;const Nt=xt.clientX-it.current.startX,ye=xt.clientY-it.current.startY;R({x:it.current.startPos.x+Nt,y:it.current.startPos.y+ye})},Tt=()=>{it.current=null};return document.addEventListener("mousemove",K),document.addEventListener("mouseup",Tt),()=>{document.removeEventListener("mousemove",K),document.removeEventListener("mouseup",Tt)}},[R]),$.useEffect(()=>{!h&&!b&&B&&R({x:window.innerWidth-rv-20,y:80})},[h,b,R,B]);const wt=document.getElementById("uilint-portal")||document.body,Z=({isDraggable:K=!1})=>G.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",borderBottom:"1px solid var(--uilint-border)",background:"var(--uilint-surface-elevated)",cursor:K?"move":"default",userSelect:"none"},onMouseDown:K?kt:void 0,children:[G.jsx("span",{style:{fontWeight:600,color:"var(--uilint-text-primary)"},children:ft}),G.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[G.jsx("button",{onClick:A,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"var(--uilint-text-muted)",borderRadius:4},title:h?"Undock to floating window":"Dock to side",children:h?G.jsx(gD,{size:16}):G.jsx(yD,{size:16})}),G.jsx("button",{onClick:x,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"var(--uilint-text-muted)",borderRadius:4},title:"Close",children:G.jsx(uT,{size:16})})]})]}),bt={background:"var(--uilint-glass)",backdropFilter:"blur(24px) saturate(180%)",WebkitBackdropFilter:"blur(24px) saturate(180%)"};return Tm.createPortal(G.jsxs(LE,{children:[u&&h&&G.jsxs(ov.div,{initial:{x:y,opacity:0},animate:{x:0,opacity:1},exit:{x:y,opacity:0},transition:{duration:.15,ease:[.25,.1,.25,1]},style:{position:"fixed",top:0,right:0,bottom:0,width:y,...bt,borderLeft:"1px solid var(--uilint-glass-border)",boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",pointerEvents:"auto"},children:[G.jsx(hA,{direction:"horizontal",onResize:K=>Dt(K)}),G.jsx(Z,{}),G.jsx("div",{style:{flex:1,overflowY:"auto"},children:dt})]},"docked"),u&&!h&&G.jsxs(ov.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},style:{position:"fixed",left:b?.x??window.innerWidth-rv-20,top:b?.y??80,width:S?.width??rv,height:S?.height??gA,...bt,border:"1px solid var(--uilint-glass-border)",borderRadius:12,boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"},children:[G.jsx(Z,{isDraggable:!0}),G.jsx("div",{style:{flex:1,overflowY:"auto",minHeight:0},children:dt}),G.jsx(hA,{direction:"corner",onResize:St})]},"floating")]}),wt)}const yA=10,yo={overlayBg:"rgba(0, 0, 0, 0.5)",selectionBorder:"var(--uilint-accent, #f59e0b)",selectionBg:"transparent",textBg:"var(--uilint-backdrop, rgba(0, 0, 0, 0.8))",textColor:"var(--uilint-text-primary, #ffffff)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontMono:'"SF Mono", Monaco, "Cascadia Code", monospace'};function UO({active:u,onRegionSelected:r,onCancel:d}){const[h,y]=$.useState(!1),[b,S]=$.useState(null),[x,w]=$.useState(null),[A,z]=$.useState(!1);$.useEffect(()=>{z(!0)},[]);const R=$.useCallback(()=>{if(!b||!x)return null;const dt=Math.min(b.x,x.x),ft=Math.min(b.y,x.y),Dt=Math.abs(x.x-b.x),St=Math.abs(x.y-b.y);return{x:dt,y:ft,width:Dt,height:St}},[b,x]),M=$.useCallback(dt=>{dt.button===0&&(y(!0),S({x:dt.clientX,y:dt.clientY}),w({x:dt.clientX,y:dt.clientY}))},[]),B=$.useCallback(dt=>{!h||!b||w({x:dt.clientX,y:dt.clientY})},[h,b]),nt=$.useCallback(()=>{if(!h||!b)return;const dt=R();dt&&dt.width>yA&&dt.height>yA?r(dt):d(),y(!1),S(null),w(null)},[h,b,R,r,d]);if($.useEffect(()=>{if(!u)return;const dt=ft=>{ft.key==="Escape"&&(ft.preventDefault(),ft.stopPropagation(),d())};return document.addEventListener("keydown",dt,!0),()=>{document.removeEventListener("keydown",dt,!0)}},[u,d]),$.useEffect(()=>{if(!u)return;const dt=ft=>{ft.preventDefault()};return document.body.style.overflow="hidden",document.addEventListener("wheel",dt,{passive:!1}),document.addEventListener("touchmove",dt,{passive:!1}),()=>{document.body.style.overflow="",document.removeEventListener("wheel",dt),document.removeEventListener("touchmove",dt)}},[u]),!u||!A)return null;const it=R(),rt=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(!rt)return null;const st=G.jsxs("div",{"data-testid":"region-selector-overlay","data-ui-lint":!0,onMouseDown:M,onMouseMove:B,onMouseUp:nt,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,cursor:"crosshair",backgroundColor:yo.overlayBg,fontFamily:yo.fontFamily},children:[G.jsxs("div",{style:{position:"absolute",top:"20px",left:"50%",transform:"translateX(-50%)",padding:"12px 20px",borderRadius:"12px",backgroundColor:yo.textBg,color:yo.textColor,fontSize:"14px",fontWeight:500,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",pointerEvents:"none",userSelect:"none"},children:["Click and drag to select a region"," ",G.jsx("kbd",{style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",fontSize:"11px",fontFamily:yo.fontMono,marginLeft:"4px"},children:"Esc"})," ","to cancel"]}),it&&it.width>0&&it.height>0&&G.jsxs(G.Fragment,{children:[G.jsx("div",{"data-testid":"selection-rectangle",style:{position:"absolute",left:`${it.x}px`,top:`${it.y}px`,width:`${it.width}px`,height:`${it.height}px`,border:`2px solid ${yo.selectionBorder}`,backgroundColor:yo.selectionBg,pointerEvents:"none",boxShadow:`0 0 0 9999px ${yo.overlayBg}`}}),G.jsxs("div",{"data-testid":"dimensions-label",style:{position:"absolute",left:`${it.x}px`,top:`${it.y-32}px`,padding:"6px 10px",borderRadius:"6px",backgroundColor:yo.textBg,color:yo.textColor,fontSize:"12px",fontFamily:yo.fontMono,fontWeight:500,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",pointerEvents:"none",userSelect:"none",whiteSpace:"nowrap"},children:[Math.round(it.width)," x ",Math.round(it.height)]})]})]});return Tm.createPortal(st,rt)}let o2=!1;function jO(){if(typeof document>"u")return;let u=document.getElementById("uilint-portal");return u||(u=document.createElement("div"),u.id="uilint-portal",u.style.cssText="position: fixed; top: 0; left: 0; z-index: 99990; pointer-events: none;",document.body.appendChild(u),o2=!0),u}function NO(){if(!o2)return;const u=document.getElementById("uilint-portal");u&&(u.remove(),o2=!1)}function HO({enabled:u=!0}){sO();const r=ge(w=>w.plugins?.vision),d=r?.regionSelectionActive??!1,h=r?.setSelectedRegion,y=r?.setRegionSelectionActive,b=r?.triggerVisionAnalysis,S=$.useCallback(w=>{h&&y&&b&&(h(w),y(!1),b())},[h,y,b]),x=$.useCallback(()=>{y&&y(!1)},[y]);return $.useEffect(()=>(u&&jO(),()=>{NO()}),[u]),u?G.jsxs(G.Fragment,{children:[G.jsx(ED,{}),G.jsx(OD,{}),G.jsx(AO,{}),G.jsx(_O,{}),G.jsx(UO,{active:d,onRegionSelected:S,onCancel:x})]}):null}const sv="data-loc",BO=100;function kO(u,r){return`loc:${u}#${r}`}function LO(u){if(!u)return null;let r=u;if(r.startsWith("loc:")){r=r.slice(4);const d=r.lastIndexOf("#");d!==-1&&(r=r.slice(0,d))}return r||null}function VO(u,r){return r&&u.includes("node_modules")}class YO{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(r={}){this.options=r}setHideNodeModules(r){this.hideNodeModules=r,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const r=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),d=this.options.root??(typeof document<"u"?document.body:void 0);r&&d&&(this.observer=new r(this.handleMutations.bind(this)),this.observer.observe(d,{childList:!0,subtree:!0})),this.reconcile()}stop(){this.isRunning=!1,this.observer&&(this.observer.disconnect(),this.observer=null),this.reconcileTimeout&&(clearTimeout(this.reconcileTimeout),this.reconcileTimeout=null),this.knownElements.clear()}onElementsAdded(r){return this.addedHandlers.add(r),()=>{this.addedHandlers.delete(r)}}onElementsRemoved(r){return this.removedHandlers.add(r),()=>{this.removedHandlers.delete(r)}}getElements(){return this.scanElements()}handleMutations(r){let d=!1;for(const h of r){for(const y of h.addedNodes)if(this.hasDataLocElements(y)){d=!0;break}if(d)break;for(const y of h.removedNodes)if(this.hasDataLocElements(y)){d=!0;break}if(d)break}d&&this.debouncedReconcile()}hasDataLocElements(r){return r instanceof Element?!!(r.hasAttribute(sv)||r.querySelector(`[${sv}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},BO)}reconcile(){if(typeof window>"u")return;const r=this.scanElements(),d=new Map(r.map(x=>[x.id,x])),h=new Set(d.keys()),y=new Set(this.knownElements.keys()),b=[];for(const x of r)y.has(x.id)||b.push(x);const S=[];for(const x of y)h.has(x)||S.push(x);this.knownElements.clear();for(const x of r)this.knownElements.set(x.id,x.element);if(b.length>0)for(const x of this.addedHandlers)try{x(b)}catch(w){console.error("[DOMObserverService] Error in added handler:",w)}if(S.length>0)for(const x of this.removedHandlers)try{x(S)}catch(w){console.error("[DOMObserverService] Error in removed handler:",w)}}scanElements(){const r=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!r)return[];const d=[],h=new Map,y=r(`[${sv}]`);for(const b of y){if(this.isInsideUILintUI(b))continue;const S=b.getAttribute(sv),x=LO(S??"");if(!x||VO(x,this.hideNodeModules))continue;const w=(h.get(x)??0)+1;h.set(x,w);const A=kO(x,w);d.push({id:A,dataLoc:x,element:b,tagName:b.tagName.toLowerCase(),rect:b.getBoundingClientRect()})}return d}isInsideUILintUI(r){return r.closest("[data-ui-lint]")!==null}}const cv=new YO,qO=[{id:"eslint:toggle-scan",title:"Toggle ESLint Scan",keywords:["eslint","scan","toggle","enable","disable","start","stop"],category:"eslint",subtitle:"Enable or disable real-time ESLint analysis",icon:void 0,execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.scanStatus==="scanning"?d.stopScanning():d.startScanning(),u.closeCommandPalette()},isAvailable:u=>u.wsConnected===!0},{id:"eslint:start-scan",title:"Start ESLint Scan",keywords:["eslint","scan","start","analyze","lint","check"],category:"eslint",subtitle:"Scan all elements on the current page",execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.scanStatus!=="scanning"&&d.startScanning(),u.closeCommandPalette()},isAvailable:u=>{const r=u;return r.wsConnected===!0&&r.plugins?.eslint?.scanStatus!=="scanning"}},{id:"eslint:stop-scan",title:"Stop ESLint Scan",keywords:["eslint","scan","stop","disable","off"],category:"eslint",subtitle:"Stop scanning and clear results",execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.stopScanning(),u.closeCommandPalette()},isAvailable:u=>u.plugins?.eslint?.scanStatus==="scanning"},{id:"eslint:open-fixes",title:"Fix All Issues",keywords:["eslint","fix","fixes","autofix","repair","issues"],category:"eslint",subtitle:"Open the fixes inspector panel",execute:u=>{u.openInspector("fixes",{}),u.closeCommandPalette()},isAvailable:u=>{const d=u.plugins?.eslint;return d?.scanStatus!=="scanning"||!d?.issues?!1:d.issues.size>0}},{id:"eslint:clear-rescan",title:"Clear & Rescan",keywords:["eslint","cache","clear","refresh","reset","rescan"],category:"eslint",subtitle:"Clear cached results and re-scan all files",execute:u=>{const d=u.getState().plugins.eslint;if(!d){console.warn("[ESLint Command] ESLint plugin slice not found");return}d.clearIssues(),d.startScanning(),u.closeCommandPalette()},isAvailable:u=>u.wsConnected===!0}],GO={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map};function XO(u){return{...GO}}function QO(u,r,d){return{startScanning:()=>{d({scanStatus:"scanning"})},stopScanning:()=>{d({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(h,y)=>{const b=r(),S=new Map(b.issues);y.length>0?S.set(h,y):S.delete(h),d({issues:S})},clearIssues:()=>{d({issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},toggleRule:h=>{const y=r(),b=new Set(y.disabledRules);b.has(h)?b.delete(h):b.add(h),d({disabledRules:b})},setAvailableRules:h=>{d({availableRules:h})},setWorkspaceRoot:h=>{d({workspaceRoot:h})},markScanned:h=>{const y=r(),b=new Set(y.scannedDataLocs);b.add(h),d({scannedDataLocs:b})},markFileRequested:h=>{const y=r(),b=new Set(y.requestedFiles);b.add(h),d({requestedFiles:b})},setScanStatus:h=>{d({scanStatus:h})}}}function ZO(u){if(!u)return null;const r=u.lastIndexOf(":");if(r===-1)return null;const d=u.lastIndexOf(":",r-1);if(d===-1)return null;const h=u.substring(0,d);return h||null}function KO(u){const r=new Set;for(const d of u){const h=ZO(d);h&&r.add(h)}return r}function JO({value:u,onChange:r,disabled:d}){const h=[{value:"error",label:"E",color:"#ef4444"},{value:"warning",label:"W",color:"#f59e0b"},{value:"off",label:"Off",color:"#6b7280"}];return G.jsx("div",{style:{display:"flex",gap:4},children:h.map(y=>G.jsx("button",{onClick:()=>r(y.value),disabled:d,style:{padding:"4px 8px",fontSize:12,fontWeight:500,border:"none",borderRadius:4,cursor:d?"not-allowed":"pointer",background:u===y.value?y.color:"#f3f4f6",color:u===y.value?"white":"#6b7280",opacity:d?.5:1},children:y.label},y.value))})}function $O({data:u}){const r=u?.ruleId,d=ge(w=>{const A=w.plugins?.eslint;return A?.availableRules?A.availableRules.find(z=>z.id===r):null}),h=ge(w=>{const A=w.plugins?.eslint;return A?.ruleConfigs?A.ruleConfigs.get(r||""):null}),y=ge(w=>{const A=w.plugins?.eslint;return A?.ruleConfigUpdating?A.ruleConfigUpdating.get(r||"")??!1:!1}),b=ge(w=>{const A=w.plugins?.eslint;if(!A?.issues)return 0;let z=0;return A.issues.forEach(R=>{z+=R.filter(M=>M.ruleId===r).length}),z}),S=$.useCallback(w=>{r&&es.setRuleSeverity(r,w)},[r]);if(!r)return G.jsx("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:"No rule selected"});if(!d)return G.jsxs("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:["Rule not found: ",r]});const x=h?.severity?h.severity==="warn"?"warning":h.severity:d.currentSeverity==="warn"?"warning":d.currentSeverity??"off";return G.jsxs("div",{style:{padding:16},children:[G.jsxs("div",{style:{marginBottom:16},children:[G.jsx("div",{style:{fontSize:16,fontWeight:600,color:"#111827",marginBottom:4},children:d.name}),G.jsx("div",{style:{fontSize:12,color:"#6b7280",fontFamily:"monospace"},children:d.id})]}),G.jsx("div",{style:{fontSize:14,color:"#374151",marginBottom:16,lineHeight:1.5},children:d.description}),G.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[G.jsx("span",{style:{fontSize:11,fontWeight:500,textTransform:"uppercase",background:d.category==="semantic"?"#dbeafe":"#f3f4f6",color:d.category==="semantic"?"#1d4ed8":"#6b7280",padding:"2px 6px",borderRadius:4},children:d.category}),b>0&&G.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"#fef2f2",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[b," issue",b!==1?"s":""]})]}),G.jsxs("div",{style:{marginBottom:16},children:[G.jsx("div",{style:{fontSize:12,fontWeight:500,color:"#6b7280",marginBottom:8},children:"Severity"}),G.jsx(JO,{value:x,onChange:S,disabled:y}),y&&G.jsx("div",{style:{fontSize:11,color:"#6b7280",marginTop:4},children:"Updating..."})]}),d.docs&&G.jsx("div",{style:{marginTop:16},children:G.jsx("a",{href:d.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"#3b82f6",textDecoration:"none"},children:"View documentation"})})]})}const vA=["lint:result","lint:progress","file:changed","workspace:info","rules:metadata","rule:config:result","rule:config:changed"],FO={id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization",ruleCategories:["static"],meta:{id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization"},createSlice:u=>{const r=XO();let d=r;const b=QO(u,()=>d,S=>{d={...d,...S},u.setState(S)});return{...r,...b}},commands:qO,inspectorPanels:[{id:"eslint-rule",title:({data:u})=>u?.ruleId?`Rule: ${u.ruleId}`:"Rule Details",component:$O,priority:10}],handlesRules:u=>u.id.startsWith("uilint/")||u.category==="static"?!0:(u.id==="uilint/semantic-vision",!1),getIssues:u=>{const r=u,d=new Map;return r.issues.forEach((h,y)=>{const b=h.map(S=>({id:S.id,message:S.message,severity:S.severity,dataLoc:S.dataLoc,line:S.line,column:S.column,ruleId:S.ruleId}));b.length>0&&d.set(y,b)}),{pluginId:"eslint",issues:d}},getRules:u=>{const r=u.getState();if(!r?.availableRules)return[];const d=r.ruleConfigs??new Map;return r.availableRules.map(h=>{const b=d.get(h.id)?.severity??h.currentSeverity??h.defaultSeverity,S=b==="warn"?"warning":b;return{id:h.id,name:h.name,description:h.description,category:h.category,severity:S,fixable:!1,pluginId:"eslint",docs:h.docs}})},setRuleSeverity:(u,r,d)=>{const h=r==="warning"?"warn":r,y=d.getState(),b=new Map(y.ruleConfigUpdating??new Map);b.set(u,!0),d.setState({ruleConfigUpdating:b}),d.websocket.send({type:"rule:config:set",ruleId:u,severity:h,requestId:`rule-severity-${Date.now()}`}),console.log("[ESLint Plugin] Setting rule severity:",u,"->",h)},getRuleConfig:(u,r)=>(r.getState()?.ruleConfigs??new Map).get(u)?.options??{},setRuleConfig:(u,r,d)=>{const h=d.getState(),y=new Map(h.ruleConfigUpdating??new Map);y.set(u,!0),d.setState({ruleConfigUpdating:y}),d.websocket.send({type:"rule:config:set",ruleId:u,options:r,requestId:`rule-config-${Date.now()}`}),console.log("[ESLint Plugin] Setting rule config:",u,r)},initialize:u=>{console.log("[ESLint Plugin] Initializing...");const r=[];for(const h of vA){const y=u.websocket.on(h,b=>{PO(u,b)});r.push(y)}console.log("[ESLint Plugin] Subscribed to",vA.length,"message types");const d=u.domObserver.onElementsAdded(h=>{WO(u,h)});return r.push(d),console.log("[ESLint Plugin] Subscribed to DOM observer"),()=>{console.log("[ESLint Plugin] Disposing..."),r.forEach(h=>h())}},dispose:u=>{console.log("[ESLint Plugin] Disposed")}};function WO(u,r){const d=u.getState();if(console.log("[ESLint Plugin] handleElementsAdded called with",r.length,"elements"),console.log("[ESLint Plugin] State check - scanStatus:",d?.scanStatus,"wsConnected:",u.websocket.isConnected),d.scanStatus!=="scanning"){console.log("[ESLint Plugin] Scanning not active (status:",d.scanStatus,"), skipping lint requests");return}if(!u.websocket.isConnected){console.log("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const h=r.map(x=>x.dataLoc),y=KO(h);if(y.size===0){console.log("[ESLint Plugin] No file paths extracted from",r.length,"elements");return}console.log("[ESLint Plugin] Detected",r.length,"elements from",y.size,"unique files:",Array.from(y).slice(0,3));const b=d.requestedFiles??new Set,S=[];for(const x of y)if(!b.has(x)){S.push(x);const w=`lint-${Date.now()}-${x.replace(/[^a-zA-Z0-9]/g,"-")}`;u.websocket.send({type:"lint:file",filePath:x,requestId:w}),console.log("[ESLint Plugin] Sent lint:file request for",x)}if(S.length>0){const x=new Set(b);for(const w of S)x.add(w);u.setState({requestedFiles:x}),console.log("[ESLint Plugin] Updated requestedFiles with",S.length,"new files")}else console.log("[ESLint Plugin] All files already requested, skipping")}function PO(u,r){switch(r.type){case"lint:result":{const{filePath:d,issues:h}=r;console.log("[ESLint Plugin] Received lint result:",d,h.length,"issues");const y=h.map(w=>zD({...w,dataLoc:w.dataLoc||`${d}:${w.line}:${w.column||0}`})).filter(w=>w!==null),b=new Map;for(const w of y){const A=b.get(w.dataLoc)||[];b.set(w.dataLoc,[...A,w])}const S=u.getState(),x=new Map(S.issues);for(const[w,A]of b)x.set(w,A);u.setState({issues:x});break}case"lint:progress":{const{filePath:d,phase:h}=r;console.log("[ESLint Plugin] Lint progress:",d,h);break}case"file:changed":{const{filePath:d}=r;console.log("[ESLint Plugin] File changed:",d);const h=u.getState(),y=new Map(h.issues);for(const[S]of y)S.startsWith(d+":")&&y.delete(S);const b=new Set(h.requestedFiles??new Set);b.delete(d),u.setState({issues:y,requestedFiles:b});break}case"workspace:info":{const{appRoot:d,workspaceRoot:h,serverCwd:y}=r;console.log("[ESLint Plugin] Workspace info:",{appRoot:d,workspaceRoot:h,serverCwd:y}),u.setState({appRoot:d,workspaceRoot:h,serverCwd:y});break}case"rules:metadata":{const{rules:d}=r;console.log("[ESLint Plugin] Received rules metadata:",d.length,"rules");const h=new Map;for(const y of d)h.set(y.id,{severity:y.currentSeverity??y.defaultSeverity,options:y.currentOptions??(y.defaultOptions&&y.defaultOptions.length>0?y.defaultOptions[0]:void 0)});u.setState({availableRules:d,ruleConfigs:h});break}case"rule:config:result":{const{ruleId:d,severity:h,options:y,success:b,error:S}=r,x=u.getState(),w=new Map(x.ruleConfigUpdating);if(w.delete(d),u.setState({ruleConfigUpdating:w}),b){const A=u.getState(),z=new Map(A.ruleConfigs);z.set(d,{severity:h,options:y}),u.setState({ruleConfigs:z}),console.log("[ESLint Plugin] Rule config updated:",d,"->",h)}else console.error("[ESLint Plugin] Failed to update rule config:",S);break}case"rule:config:changed":{const{ruleId:d,severity:h,options:y}=r,b=u.getState(),S=new Map(b.ruleConfigs);S.set(d,{severity:h,options:y}),u.setState({ruleConfigs:S}),console.log("[ESLint Plugin] Rule config changed (broadcast):",d,"->",h);break}}}let bA=!1;function SA(u){if(typeof document>"u"||bA)return;const r=document.createElement("style");r.setAttribute("data-uilint-devtools-styles","true"),r.textContent=u,document.head.appendChild(r),bA=!0}const xA='@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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight: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-ease:initial;--tw-content:"";--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%}}}@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-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-900:oklch(21% .034 264.665);--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-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--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);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--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{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;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{vertical-align:baseline;font-size:75%;line-height:0;position:relative}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{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}: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{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-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]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.dev-tool-root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.z-90{z-index:90}.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-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-3{margin-top:calc(var(--spacing)*3)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-1{margin-left:calc(var(--spacing)*1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-\\[200px\\]{height:200px}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[44px\\]{min-height:44px}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-5{width:calc(var(--spacing)*5)}.w-7{width:calc(var(--spacing)*7)}.w-10{width:calc(var(--spacing)*10)}.w-40{width:calc(var(--spacing)*40)}.w-\\[364px\\]{width:364px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[calc\\(100\\%-1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-4{min-width:calc(var(--spacing)*4)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-center{transform-origin:50%}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[0\\.8rem\\]{border-radius:.8rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--uilint-radius)}.rounded-md{border-radius:calc(var(--uilint-radius) - 2px)}.rounded-sm{border-radius:calc(var(--uilint-radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-black\\/\\[0\\.08\\]{border-color:#00000014}@supports (color:color-mix(in lab,red,red)){.border-black\\/\\[0\\.08\\]{border-color:color-mix(in oklab,var(--color-black)8%,transparent)}}.border-border{border-color:var(--uilint-border)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-transparent{border-color:#0000}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-950\\/10{border-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){.border-zinc-950\\/10{border-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-blue-300\\/20{background-color:#90c5ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-300\\/20{background-color:color-mix(in oklab,var(--color-blue-300)20%,transparent)}}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-hover{background-color:var(--uilint-hover)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-surface-elevated{background-color:var(--uilint-surface-elevated)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/30{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.bg-white\\/30{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-100\\/50{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.bg-zinc-100\\/50{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-none{background-image:none}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-\\[1px\\],.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.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-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.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-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-px{padding-block:1px}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-1\\.25{padding-right:calc(var(--spacing)*1.25)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.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-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-amber-500{color:var(--color-amber-500)}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-foreground{color:var(--uilint-foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.text-muted-foreground{color:var(--uilint-text-muted)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.text-zinc-50{color:var(--color-zinc-50)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_0_1px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#00000014),0px 2px 2px var(--tw-shadow-color,#0000000a),0px 8px 16px -4px var(--tw-shadow-color,#0000000a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_0px_0px_1px_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\,0px_1px_1px_0px_rgba\\(255\\,252\\,240\\,0\\.5\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.1\\)_inset\\,0px_0px_1px_0px_rgba\\(28\\,27\\,26\\,0\\.5\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0000000d),0px 1px 1px 0px var(--tw-shadow-color,#fffcf080)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff1a)inset,0px 0px 1px 0px var(--tw-shadow-color,#1c1b1a80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);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,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + 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-zinc-200\\/50{--tw-ring-color:#e4e4e780}@supports (color:color-mix(in lab,red,red)){.ring-zinc-200\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-200)50%,transparent)}}.ring-offset-white{--tw-ring-offset-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-lg{--tw-blur:blur(var(--blur-lg));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,)}.blur-md{--tw-blur:blur(var(--blur-md));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,)}.blur-sm{--tw-blur:blur(var(--blur-sm));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,)}.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{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[colors\\]{transition-property:colors;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\]{transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-x-0:before{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.before\\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\\:left-0:before{content:var(--tw-content);left:calc(var(--spacing)*0)}.before\\:h-\\(--top-fade-height\\):before{content:var(--tw-content);height:var(--top-fade-height)}.before\\:w-\\(--left-fade-width\\):before{content:var(--tw-content);width:var(--left-fade-width)}.before\\:bg-gradient-to-b:before{content:var(--tw-content);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:bg-gradient-to-r:before{content:var(--tw-content);--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:from-background:before{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:to-transparent:before{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:opacity-0:before{content:var(--tw-content);opacity:0}.before\\:opacity-100:before{content:var(--tw-content);opacity:1}.before\\:transition-\\[height\\,opacity\\]:before{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:transition-\\[width\\,opacity\\]:before{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-x-0:after{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\\:right-0:after{content:var(--tw-content);right:calc(var(--spacing)*0)}.after\\:bottom-0:after{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.after\\:h-\\(--bottom-fade-height\\):after{content:var(--tw-content);height:var(--bottom-fade-height)}.after\\:w-\\(--right-fade-width\\):after{content:var(--tw-content);width:var(--right-fade-width)}.after\\:bg-gradient-to-l:after{content:var(--tw-content);--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:bg-gradient-to-t:after{content:var(--tw-content);--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:from-background:after{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:to-transparent:after{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-\\[height\\,opacity\\]:after{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:transition-\\[width\\,opacity\\]:after{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:duration-300:after{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}@media(hover:hover){.hover\\:bg-red-500\\/80:hover{background-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/80:hover{background-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.hover\\:bg-red-500\\/90:hover{background-color:#fb2c36e6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/90:hover{background-color:color-mix(in oklab,var(--color-red-500)90%,transparent)}}.hover\\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\\:bg-zinc-100\\/60:hover{background-color:#f4f4f599}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-100)60%,transparent)}}.hover\\:bg-zinc-100\\/80:hover{background-color:#f4f4f5cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-100)80%,transparent)}}.hover\\:bg-zinc-900\\/80:hover{background-color:#18181bcc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-900)80%,transparent)}}.hover\\:bg-zinc-900\\/90:hover{background-color:#18181be6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-900)90%,transparent)}}.hover\\:text-zinc-800:hover{color:var(--color-zinc-800)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}.hover\\:underline:hover{text-decoration-line:underline}}.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-zinc-950:focus{--tw-ring-color:var(--color-zinc-950)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--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-visible\\:ring-zinc-950:focus-visible{--tw-ring-color:var(--color-zinc-950)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-x-98:active{--tw-scale-x:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-y-95:active{--tw-scale-y:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:bg-zinc-100\\/70:active{background-color:#f4f4f5b3}@supports (color:color-mix(in lab,red,red)){.active\\:bg-zinc-100\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-100)70%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:h-5{height:calc(var(--spacing)*5)}.sm\\:min-h-0{min-height:calc(var(--spacing)*0)}.sm\\:w-5{width:calc(var(--spacing)*5)}.sm\\:max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:rounded-lg{border-radius:var(--uilint-radius)}.sm\\:rounded-xl{border-radius:var(--radius-xl)}.sm\\:p-1\\.5{padding:calc(var(--spacing)*1.5)}.sm\\:p-3{padding:calc(var(--spacing)*3)}.sm\\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\\:px-2{padding-inline:calc(var(--spacing)*2)}.sm\\:px-4{padding-inline:calc(var(--spacing)*4)}.sm\\:py-4{padding-block:calc(var(--spacing)*4)}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:48rem){.md\\:max-w-\\[calc\\(100\\%-4rem\\)\\]{max-width:calc(100% - 4rem)}.md\\:rounded-3xl{border-radius:var(--radius-3xl)}.md\\:rounded-\\[2rem\\]{border-radius:2rem}.md\\:p-2{padding:calc(var(--spacing)*2)}.md\\:p-4{padding:calc(var(--spacing)*4)}}@media(prefers-color-scheme:dark){.dark\\:border-zinc-50\\/10{border-color:#fafafa1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-zinc-50\\/10{border-color:color-mix(in oklab,var(--color-zinc-50)10%,transparent)}}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:bg-amber-500\\/25{background-color:#f99c0040}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-amber-500\\/25{background-color:color-mix(in oklab,var(--color-amber-500)25%,transparent)}}.dark\\:bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.dark\\:bg-emerald-500\\/25{background-color:#00bb7f40}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/25{background-color:color-mix(in oklab,var(--color-emerald-500)25%,transparent)}}.dark\\:bg-red-500\\/25{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/25{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.dark\\:bg-red-900{background-color:var(--color-red-900)}.dark\\:bg-zinc-50{background-color:var(--color-zinc-50)}.dark\\:bg-zinc-100{background-color:var(--color-zinc-100)}.dark\\:bg-zinc-700{background-color:var(--color-zinc-700)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:bg-zinc-950{background-color:var(--color-zinc-950)}.dark\\:text-amber-300{color:var(--color-amber-300)}.dark\\:text-blue-400{color:var(--color-blue-400)}.dark\\:text-emerald-300{color:var(--color-emerald-300)}.dark\\:text-red-300{color:var(--color-red-300)}.dark\\:text-zinc-50{color:var(--color-zinc-50)}.dark\\:text-zinc-100{color:var(--color-zinc-100)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}.dark\\:text-zinc-900{color:var(--color-zinc-900)}.dark\\:shadow-\\[0_0_0_1px_rgba\\(255\\,252\\,240\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#fffcf014),0px 2px 2px var(--tw-shadow-color,#0003),0px 8px 16px -4px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#ffffff05)inset,0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0003),0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:ring-zinc-800\\/50{--tw-ring-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:ring-zinc-800\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:ring-offset-zinc-950{--tw-ring-offset-color:var(--color-zinc-950)}@media(hover:hover){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}}@media(hover:hover){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:#82181acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:color-mix(in oklab,var(--color-red-900)80%,transparent)}}.dark\\:hover\\:bg-red-900\\/90:hover{background-color:#82181ae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/90:hover{background-color:color-mix(in oklab,var(--color-red-900)90%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:#fafafacc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-50)80%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:#fafafae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-50)90%,transparent)}}.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.dark\\:hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.dark\\:hover\\:text-zinc-50:hover{color:var(--color-zinc-50)}}.dark\\:focus\\:ring-zinc-300:focus,.dark\\:focus-visible\\:ring-zinc-300:focus-visible{--tw-ring-color:var(--color-zinc-300)}.dark\\:active\\:bg-zinc-800\\/70:active{background-color:#27272ab3}@supports (color:color-mix(in lab,red,red)){.dark\\:active\\:bg-zinc-800\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-800)70%,transparent)}}@media(min-width:40rem){.dark\\:sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=size-\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.\\[\\&\\>div\\]\\:\\!block>div{display:block!important}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-white{color:var(--color-white)}@media(prefers-color-scheme:dark){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:#09090b33}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:color-mix(in oklab,var(--color-zinc-950)20%,transparent)}}[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-zinc-950{color:var(--color-zinc-950)}}}:root{--uilint-background:oklch(98.5% .015 75);--uilint-background-elevated:oklch(97% .02 75);--uilint-foreground:oklch(18% .02 75);--uilint-surface:oklch(98.5% .015 75);--uilint-surface-elevated:oklch(97% .02 75);--uilint-text-primary:oklch(18% .02 75);--uilint-text-secondary:oklch(40% .025 75);--uilint-text-muted:oklch(55% .03 75);--uilint-text-disabled:oklch(70% .02 75);--uilint-hover:oklch(75% .08 75/.15);--uilint-active:oklch(70% .1 75/.2);--uilint-border:oklch(90% .025 75);--uilint-border-focus:oklch(70% .15 75);--uilint-accent:oklch(70% .16 75);--uilint-accent-foreground:oklch(98.5% .015 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.15);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.15);--uilint-shadow:0 4px 20px oklch(30% .05 75/.15);--uilint-backdrop:oklch(98.5% .015 75/.92);--uilint-glass:oklch(99% .01 75/.7);--uilint-glass-border:oklch(100% .02 75/.25);--uilint-scrollbar-track:oklch(92% .02 75);--uilint-scrollbar-thumb:oklch(70% .04 75);--uilint-scrollbar-thumb-hover:oklch(55% .05 75);--uilint-radius:12px;color-scheme:light}.dev-tool-root{color-scheme:light}.dark,.dark .dev-tool-root,.dev-tool-root.dark,.dev-tool-root[data-theme=dark]{--uilint-background:oklch(16% .02 75);--uilint-background-elevated:oklch(22% .025 75);--uilint-foreground:oklch(95% .025 75);--uilint-surface:oklch(16% .02 75);--uilint-surface-elevated:oklch(22% .025 75);--uilint-text-primary:oklch(95% .025 75);--uilint-text-secondary:oklch(82% .03 75);--uilint-text-muted:oklch(65% .035 75);--uilint-text-disabled:oklch(45% .025 75);--uilint-hover:oklch(80% .1 75/.12);--uilint-active:oklch(80% .12 75/.18);--uilint-border:oklch(95% .03 75/.12);--uilint-border-focus:oklch(75% .15 75);--uilint-accent:oklch(75% .15 75);--uilint-accent-foreground:oklch(16% .02 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.2);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.2);--uilint-shadow:0 4px 20px oklch(10% .03 75/.4);--uilint-backdrop:oklch(12% .02 75/.92);--uilint-glass:oklch(18% .02 75/.7);--uilint-glass-border:oklch(100% .02 75/.12);--uilint-scrollbar-track:oklch(22% .02 75);--uilint-scrollbar-thumb:oklch(40% .04 75);--uilint-scrollbar-thumb-hover:oklch(50% .05 75);color-scheme:dark}@media(prefers-color-scheme:dark){:root:not(.light) .dev-tool-root:not(.light):not([data-theme=light]),.dev-tool-root:not(.light):not([data-theme=light]){--uilint-background:oklch(16% .02 75);--uilint-background-elevated:oklch(22% .025 75);--uilint-foreground:oklch(95% .025 75);--uilint-surface:oklch(16% .02 75);--uilint-surface-elevated:oklch(22% .025 75);--uilint-text-primary:oklch(95% .025 75);--uilint-text-secondary:oklch(82% .03 75);--uilint-text-muted:oklch(65% .035 75);--uilint-text-disabled:oklch(45% .025 75);--uilint-hover:oklch(80% .1 75/.12);--uilint-active:oklch(80% .12 75/.18);--uilint-border:oklch(95% .03 75/.12);--uilint-border-focus:oklch(75% .15 75);--uilint-accent:oklch(75% .15 75);--uilint-accent-foreground:oklch(16% .02 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.2);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.2);--uilint-shadow:0 4px 20px oklch(10% .03 75/.4);--uilint-backdrop:oklch(12% .02 75/.92);--uilint-glass:oklch(18% .02 75/.7);--uilint-glass-border:oklch(100% .02 75/.12);--uilint-scrollbar-track:oklch(22% .02 75);--uilint-scrollbar-thumb:oklch(40% .04 75);--uilint-scrollbar-thumb-hover:oklch(50% .05 75);color-scheme:dark}}.light,.light .dev-tool-root,.dev-tool-root.light,.dev-tool-root[data-theme=light]{--uilint-background:oklch(98.5% .015 75);--uilint-background-elevated:oklch(97% .02 75);--uilint-foreground:oklch(18% .02 75);--uilint-surface:oklch(98.5% .015 75);--uilint-surface-elevated:oklch(97% .02 75);--uilint-text-primary:oklch(18% .02 75);--uilint-text-secondary:oklch(40% .025 75);--uilint-text-muted:oklch(55% .03 75);--uilint-text-disabled:oklch(70% .02 75);--uilint-hover:oklch(75% .08 75/.15);--uilint-active:oklch(70% .1 75/.2);--uilint-border:oklch(90% .025 75);--uilint-border-focus:oklch(70% .15 75);--uilint-accent:oklch(70% .16 75);--uilint-accent-foreground:oklch(98.5% .015 75);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.15);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.15);--uilint-shadow:0 4px 20px oklch(30% .05 75/.15);--uilint-backdrop:oklch(98.5% .015 75/.92);--uilint-glass:oklch(99% .01 75/.7);--uilint-glass-border:oklch(100% .02 75/.25);--uilint-scrollbar-track:oklch(92% .02 75);--uilint-scrollbar-thumb:oklch(70% .04 75);--uilint-scrollbar-thumb-hover:oklch(55% .05 75);color-scheme:light}@keyframes uilint-fade-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes uilint-fade-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes uilint-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes uilint-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes uilint-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uilint-popover-appear{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}[data-ui-lint] *{scrollbar-width:thin;scrollbar-color:var(--uilint-scrollbar-thumb)var(--uilint-scrollbar-track)}[data-ui-lint] ::-webkit-scrollbar{width:8px;height:8px}[data-ui-lint] ::-webkit-scrollbar-track{background:var(--uilint-scrollbar-track);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb{background:var(--uilint-scrollbar-thumb);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb:hover{background:var(--uilint-scrollbar-thumb-hover)}@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}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{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:0}@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-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}';let u2=!1;const TA="uilint-devtool-root";function wA(){return typeof window<"u"}function IO({enabled:u=!0}){const[r,d]=$.useState(!1),[h,y]=$.useState(u2),b=$.useRef(null),S=$.useRef(!1);return $.useEffect(()=>{d(!0)},[]),$.useEffect(()=>{if(!wA()||!u)return;SA(xA);const x=document.querySelector(`.${TA}`);if(x){b.current=x,S.current=!1;return}const w=document.createElement("div");return w.className=TA,w.setAttribute("data-ui-lint-root","true"),document.body.appendChild(w),b.current=w,S.current=!0,()=>{S.current&&b.current?.remove(),b.current=null,S.current=!1}},[u]),$.useEffect(()=>{if(!wA()||!u||!r)return;let x=null;async function w(){u2||(es.register(FO),await rD({websocket:us,domObserver:cv}),u2=!0,console.log("[DevTool] Plugins initialized")),y(!0),us.connect(),x=us.onConnectionChange(A=>{A?(console.log("[DevTool] WebSocket connected, starting DOM observer"),cv.start()):(console.log("[DevTool] WebSocket disconnected, stopping DOM observer"),cv.stop())})}return w(),()=>{x?.(),us.disconnect(),cv.stop()}},[u,r]),!u||!r||!h?null:G.jsx(HO,{enabled:u})}function EA(u,r){u.setAttribute("data-position",r)}function t_(){if(typeof document>"u")return"light";const u=document.documentElement,r=document.body;if(u.classList.contains("dark")||r.classList.contains("dark"))return"dark";if(u.classList.contains("light")||r.classList.contains("light"))return"light";const d=u.getAttribute("data-theme"),h=r.getAttribute("data-theme");if(d==="dark"||h==="dark")return"dark";if(d==="light"||h==="light")return"light";const y=u.getAttribute("data-mode"),b=r.getAttribute("data-mode");return y==="dark"||b==="dark"?"dark":y==="light"||b==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function AA(u,r){u.classList.remove("light","dark"),u.removeAttribute("data-theme"),r!=="system"&&(u.classList.add(r),u.setAttribute("data-theme",r))}function e_(){if(typeof window>"u"||customElements.get("uilint-devtools"))return;class u extends HTMLElement{static get observedAttributes(){return["enabled","position","theme"]}rootEl=null;reactRoot=null;themeObserver=null;mediaQueryListener=null;connectedCallback(){SA(xA);const d=document.createElement("div");d.className="dev-tool-root",d.setAttribute("data-ui-lint-root","true"),document.body.appendChild(d),this.rootEl=d,EA(d,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=$R.createRoot(d),this.render()}disconnectedCallback(){this.reactRoot?.unmount(),this.reactRoot=null,this.rootEl?.remove(),this.rootEl=null,this.themeObserver?.disconnect(),this.themeObserver=null,this.mediaQueryListener&&(window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.mediaQueryListener),this.mediaQueryListener=null)}attributeChangedCallback(){this.rootEl&&(EA(this.rootEl,this.getPosition()),this.syncTheme(),this.render())}getEnabled(){const d=this.getAttribute("enabled");return d==null?!0:d!=="false"}getPosition(){const d=this.getAttribute("position");switch(d){case"bottom-right":case"top-left":case"top-right":case"bottom-left":case"top-center":case"bottom-center":return d;default:return"top-center"}}getTheme(){const d=this.getAttribute("theme");switch(d){case"light":case"dark":return d;default:return"system"}}syncTheme(){if(!this.rootEl)return;const d=this.getTheme();if(d==="system"){const h=t_();AA(this.rootEl,h)}else AA(this.rootEl,d)}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.getTheme()==="system"&&this.syncTheme()});const d={attributes:!0,attributeFilter:["class","data-theme","data-mode"]};this.themeObserver.observe(document.documentElement,d),this.themeObserver.observe(document.body,d);const h=window.matchMedia("(prefers-color-scheme: dark)");this.mediaQueryListener=()=>{this.getTheme()==="system"&&this.syncTheme()},h.addEventListener("change",this.mediaQueryListener)}render(){this.reactRoot&&this.reactRoot.render(G.jsx(IO,{enabled:this.getEnabled()}))}}customElements.define("uilint-devtools",u)}e_()})();
|
|
253
253
|
//# sourceMappingURL=devtools.js.map
|