uilint-react 0.2.53 → 0.2.55
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/DevTool.d.ts.map +1 -1
- package/dist/core/store/composed-store.d.ts.map +1 -1
- package/dist/devtools.js +75 -75
- package/dist/devtools.js.map +1 -1
- package/dist/index.js +2320 -2147
- package/dist/index.js.map +1 -1
- package/dist/plugins/eslint/index.d.ts +52 -1
- package/dist/plugins/eslint/index.d.ts.map +1 -1
- package/dist/plugins/semantic/index.d.ts.map +1 -1
- package/dist/plugins/semantic/slice.d.ts +1 -1
- package/dist/plugins/semantic/slice.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/FileHeader.d.ts.map +1 -1
- package/dist/ui/components/Inspector/InspectorSidebar.d.ts.map +1 -1
- package/dist/ui/components/Inspector/IssueDetail.d.ts.map +1 -1
- package/dist/ui/components/Inspector/ResizeHandle.d.ts +11 -0
- package/dist/ui/components/Inspector/ResizeHandle.d.ts.map +1 -0
- package/dist/ui/hooks/useElementRects.d.ts +6 -0
- package/dist/ui/hooks/useElementRects.d.ts.map +1 -1
- package/dist/ui/icons.d.ts +1 -1
- package/dist/ui/icons.d.ts.map +1 -1
- package/package.json +4 -3
package/dist/devtools.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";function wD(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var _y={exports:{}},pm={};var zT;function xD(){if(zT)return pm;zT=1;var u=Symbol.for("react.transitional.element"),s=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 T in y)T!=="key"&&(b[T]=y[T])}else b=y;return y=b.ref,{$$typeof:u,type:h,key:S,ref:y!==void 0?y:null,props:b}}return pm.Fragment=s,pm.jsx=d,pm.jsxs=d,pm}var mm={},Uy={exports:{}},ie={};var MT;function AD(){if(MT)return ie;MT=1;var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),S=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),C=Symbol.iterator;function q(_){return _===null||typeof _!="object"?null:(_=C&&_[C]||_["@@iterator"],typeof _=="function"?_:null)}var nt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ft=Object.assign,at={};function ot(_,K,gt){this.props=_,this.context=K,this.refs=at,this.updater=gt||nt}ot.prototype.isReactComponent={},ot.prototype.setState=function(_,K){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,_,K,"setState")},ot.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function St(){}St.prototype=ot.prototype;function pt(_,K,gt){this.props=_,this.context=K,this.refs=at,this.updater=gt||nt}var Ut=pt.prototype=new St;Ut.constructor=pt,ft(Ut,ot.prototype),Ut.isPureReactComponent=!0;var xt=Array.isArray;function Gt(){}var Tt={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function vt(_,K,gt){var mt=gt.ref;return{$$typeof:u,type:_,key:K,ref:mt!==void 0?mt:null,props:gt}}function ht(_,K){return vt(_.type,K,_.props)}function ae(_){return typeof _=="object"&&_!==null&&_.$$typeof===u}function Dt(_){var K={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(gt){return K[gt]})}var Jt=/\/+/g;function _e(_,K){return typeof _=="object"&&_!==null&&_.key!=null?Dt(""+_.key):K.toString(36)}function Le(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(Gt,Gt):(_.status="pending",_.then(function(K){_.status==="pending"&&(_.status="fulfilled",_.value=K)},function(K){_.status==="pending"&&(_.status="rejected",_.reason=K)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function V(_,K,gt,mt,Lt){var te=typeof _;(te==="undefined"||te==="boolean")&&(_=null);var Yt=!1;if(_===null)Yt=!0;else switch(te){case"bigint":case"string":case"number":Yt=!0;break;case"object":switch(_.$$typeof){case u:case s:Yt=!0;break;case M:return Yt=_._init,V(Yt(_._payload),K,gt,mt,Lt)}}if(Yt)return Lt=Lt(_),Yt=mt===""?"."+_e(_,0):mt,xt(Lt)?(gt="",Yt!=null&&(gt=Yt.replace(Jt,"$&/")+"/"),V(Lt,K,gt,"",function(Wa){return Wa})):Lt!=null&&(ae(Lt)&&(Lt=ht(Lt,gt+(Lt.key==null||_&&_.key===Lt.key?"":(""+Lt.key).replace(Jt,"$&/")+"/")+Yt)),K.push(Lt)),1;Yt=0;var We=mt===""?".":mt+":";if(xt(_))for(var Ae=0;Ae<_.length;Ae++)mt=_[Ae],te=We+_e(mt,Ae),Yt+=V(mt,K,gt,te,Lt);else if(Ae=q(_),typeof Ae=="function")for(_=Ae.call(_),Ae=0;!(mt=_.next()).done;)mt=mt.value,te=We+_e(mt,Ae++),Yt+=V(mt,K,gt,te,Lt);else if(te==="object"){if(typeof _.then=="function")return V(Le(_),K,gt,mt,Lt);throw K=String(_),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return Yt}function I(_,K,gt){if(_==null)return _;var mt=[],Lt=0;return V(_,mt,"","",function(te){return K.call(gt,te,Lt++)}),mt}function dt(_){if(_._status===-1){var K=_._result;K=K(),K.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=K)}if(_._status===1)return _._result.default;throw _._result}var Ct=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},Ht={map:I,forEach:function(_,K,gt){I(_,function(){K.apply(this,arguments)},gt)},count:function(_){var K=0;return I(_,function(){K++}),K},toArray:function(_){return I(_,function(K){return K})||[]},only:function(_){if(!ae(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return ie.Activity=R,ie.Children=Ht,ie.Component=ot,ie.Fragment=d,ie.Profiler=y,ie.PureComponent=pt,ie.StrictMode=h,ie.Suspense=x,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(_,K,gt){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var mt=ft({},_.props),Lt=_.key;if(K!=null)for(te in K.key!==void 0&&(Lt=""+K.key),K)!Q.call(K,te)||te==="key"||te==="__self"||te==="__source"||te==="ref"&&K.ref===void 0||(mt[te]=K[te]);var te=arguments.length-2;if(te===1)mt.children=gt;else if(1<te){for(var Yt=Array(te),We=0;We<te;We++)Yt[We]=arguments[We+2];mt.children=Yt}return vt(_.type,Lt,mt)},ie.createContext=function(_){return _={$$typeof:S,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:b,_context:_},_},ie.createElement=function(_,K,gt){var mt,Lt={},te=null;if(K!=null)for(mt in K.key!==void 0&&(te=""+K.key),K)Q.call(K,mt)&&mt!=="key"&&mt!=="__self"&&mt!=="__source"&&(Lt[mt]=K[mt]);var Yt=arguments.length-2;if(Yt===1)Lt.children=gt;else if(1<Yt){for(var We=Array(Yt),Ae=0;Ae<Yt;Ae++)We[Ae]=arguments[Ae+2];Lt.children=We}if(_&&_.defaultProps)for(mt in Yt=_.defaultProps,Yt)Lt[mt]===void 0&&(Lt[mt]=Yt[mt]);return vt(_,te,Lt)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(_){return{$$typeof:T,render:_}},ie.isValidElement=ae,ie.lazy=function(_){return{$$typeof:M,_payload:{_status:-1,_result:_},_init:dt}},ie.memo=function(_,K){return{$$typeof:A,type:_,compare:K===void 0?null:K}},ie.startTransition=function(_){var K=Tt.T,gt={};Tt.T=gt;try{var mt=_(),Lt=Tt.S;Lt!==null&&Lt(gt,mt),typeof mt=="object"&&mt!==null&&typeof mt.then=="function"&&mt.then(Gt,Ct)}catch(te){Ct(te)}finally{K!==null&>.types!==null&&(K.types=gt.types),Tt.T=K}},ie.unstable_useCacheRefresh=function(){return Tt.H.useCacheRefresh()},ie.use=function(_){return Tt.H.use(_)},ie.useActionState=function(_,K,gt){return Tt.H.useActionState(_,K,gt)},ie.useCallback=function(_,K){return Tt.H.useCallback(_,K)},ie.useContext=function(_){return Tt.H.useContext(_)},ie.useDebugValue=function(){},ie.useDeferredValue=function(_,K){return Tt.H.useDeferredValue(_,K)},ie.useEffect=function(_,K){return Tt.H.useEffect(_,K)},ie.useEffectEvent=function(_){return Tt.H.useEffectEvent(_)},ie.useId=function(){return Tt.H.useId()},ie.useImperativeHandle=function(_,K,gt){return Tt.H.useImperativeHandle(_,K,gt)},ie.useInsertionEffect=function(_,K){return Tt.H.useInsertionEffect(_,K)},ie.useLayoutEffect=function(_,K){return Tt.H.useLayoutEffect(_,K)},ie.useMemo=function(_,K){return Tt.H.useMemo(_,K)},ie.useOptimistic=function(_,K){return Tt.H.useOptimistic(_,K)},ie.useReducer=function(_,K,gt){return Tt.H.useReducer(_,K,gt)},ie.useRef=function(_){return Tt.H.useRef(_)},ie.useState=function(_){return Tt.H.useState(_)},ie.useSyncExternalStore=function(_,K,gt){return Tt.H.useSyncExternalStore(_,K,gt)},ie.useTransition=function(){return Tt.H.useTransition()},ie.version="19.2.3",ie}var gm={exports:{}};gm.exports;var OT;function RD(){return OT||(OT=1,(function(u,s){process.env.NODE_ENV!=="production"&&(function(){function d(z,G){Object.defineProperty(b.prototype,z,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",G[0],G[1])}})}function h(z){return z===null||typeof z!="object"?null:(z=Fo&&z[Fo]||z["@@iterator"],typeof z=="function"?z:null)}function y(z,G){z=(z=z.constructor)&&(z.displayName||z.name)||"ReactClass";var yt=z+"."+G;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.",G,z),Wo[yt]=!0)}function b(z,G,yt){this.props=z,this.context=G,this.refs=Re,this.updater=yt||Pa}function S(){}function T(z,G,yt){this.props=z,this.context=G,this.refs=Re,this.updater=yt||Pa}function x(){}function A(z){return""+z}function M(z){try{A(z);var G=!1}catch{G=!0}if(G){G=console;var yt=G.error,bt=typeof Symbol=="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return yt.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",bt),A(z)}}function R(z){if(z==null)return null;if(typeof z=="function")return z.$$typeof===Zc?null:z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case _:return"Fragment";case gt:return"Profiler";case K:return"StrictMode";case Yt:return"Suspense";case We:return"SuspenseList";case At:return"Activity"}if(typeof z=="object")switch(typeof z.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case Ht:return"Portal";case Lt:return z.displayName||"Context";case mt:return(z._context.displayName||"Context")+".Consumer";case te:var G=z.render;return z=z.displayName,z||(z=G.displayName||G.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case Ae:return G=z.displayName||null,G!==null?G:R(z.type)||"Memo";case Wa:G=z._payload,z=z._init;try{return R(z(G))}catch{}}return null}function C(z){if(z===_)return"<>";if(typeof z=="object"&&z!==null&&z.$$typeof===Wa)return"<...>";try{var G=R(z);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function q(){var z=Ot.A;return z===null?null:z.getOwner()}function nt(){return Error("react-stack-top-frame")}function ft(z){if(Po.call(z,"key")){var G=Object.getOwnPropertyDescriptor(z,"key").get;if(G&&G.isReactWarning)return!1}return z.key!==void 0}function at(z,G){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)",G))}yt.isReactWarning=!0,Object.defineProperty(z,"key",{get:yt,configurable:!0})}function ot(){var z=R(this.type);return Jd[z]||(Jd[z]=!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.")),z=this.props.ref,z!==void 0?z:null}function St(z,G,yt,bt,_t,Qt){var jt=yt.ref;return z={$$typeof:Ct,type:z,key:G,props:yt,_owner:bt},(jt!==void 0?jt:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:ot}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_t}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Qt}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function pt(z,G){return G=St(z.type,G,z.props,z._owner,z._debugStack,z._debugTask),z._store&&(G._store.validated=z._store.validated),G}function Ut(z){xt(z)?z._store&&(z._store.validated=1):typeof z=="object"&&z!==null&&z.$$typeof===Wa&&(z._payload.status==="fulfilled"?xt(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function xt(z){return typeof z=="object"&&z!==null&&z.$$typeof===Ct}function Gt(z){var G={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(yt){return G[yt]})}function Tt(z,G){return typeof z=="object"&&z!==null&&z.key!=null?(M(z.key),Gt(""+z.key)):G.toString(36)}function Q(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(x,x):(z.status="pending",z.then(function(G){z.status==="pending"&&(z.status="fulfilled",z.value=G)},function(G){z.status==="pending"&&(z.status="rejected",z.reason=G)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function vt(z,G,yt,bt,_t){var Qt=typeof z;(Qt==="undefined"||Qt==="boolean")&&(z=null);var jt=!1;if(z===null)jt=!0;else switch(Qt){case"bigint":case"string":case"number":jt=!0;break;case"object":switch(z.$$typeof){case Ct:case Ht:jt=!0;break;case Wa:return jt=z._init,vt(jt(z._payload),G,yt,bt,_t)}}if(jt){jt=z,_t=_t(jt);var he=bt===""?"."+Tt(jt,0):bt;return Gu(_t)?(yt="",he!=null&&(yt=he.replace(Kd,"$&/")+"/"),vt(_t,G,yt,"",function(ca){return ca})):_t!=null&&(xt(_t)&&(_t.key!=null&&(jt&&jt.key===_t.key||M(_t.key)),yt=pt(_t,yt+(_t.key==null||jt&&jt.key===_t.key?"":(""+_t.key).replace(Kd,"$&/")+"/")+he),bt!==""&&jt!=null&&xt(jt)&&jt.key==null&&jt._store&&!jt._store.validated&&(yt._store.validated=2),_t=yt),G.push(_t)),1}if(jt=0,he=bt===""?".":bt+":",Gu(z))for(var ee=0;ee<z.length;ee++)bt=z[ee],Qt=he+Tt(bt,ee),jt+=vt(bt,G,yt,Qt,_t);else if(ee=h(z),typeof ee=="function")for(ee===z.entries&&(ql||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ql=!0),z=ee.call(z),ee=0;!(bt=z.next()).done;)bt=bt.value,Qt=he+Tt(bt,ee++),jt+=vt(bt,G,yt,Qt,_t);else if(Qt==="object"){if(typeof z.then=="function")return vt(Q(z),G,yt,bt,_t);throw G=String(z),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return jt}function ht(z,G,yt){if(z==null)return z;var bt=[],_t=0;return vt(z,bt,"","",function(Qt){return G.call(yt,Qt,_t++)}),bt}function ae(z){if(z._status===-1){var G=z._ioInfo;G!=null&&(G.start=G.end=performance.now()),G=z._result;var yt=G();if(yt.then(function(_t){if(z._status===0||z._status===-1){z._status=1,z._result=_t;var Qt=z._ioInfo;Qt!=null&&(Qt.end=performance.now()),yt.status===void 0&&(yt.status="fulfilled",yt.value=_t)}},function(_t){if(z._status===0||z._status===-1){z._status=2,z._result=_t;var Qt=z._ioInfo;Qt!=null&&(Qt.end=performance.now()),yt.status===void 0&&(yt.status="rejected",yt.reason=_t)}}),G=z._ioInfo,G!=null){G.value=yt;var bt=yt.displayName;typeof bt=="string"&&(G.name=bt)}z._status===-1&&(z._status=0,z._result=yt)}if(z._status===1)return G=z._result,G===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
(function(){"use strict";function zD(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var _0={exports:{}},pm={};var MT;function CD(){if(MT)return pm;MT=1;var u=Symbol.for("react.transitional.element"),s=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 T in y)T!=="key"&&(b[T]=y[T])}else b=y;return y=b.ref,{$$typeof:u,type:h,key:S,ref:y!==void 0?y:null,props:b}}return pm.Fragment=s,pm.jsx=d,pm.jsxs=d,pm}var mm={},U0={exports:{}},ie={};var OT;function MD(){if(OT)return ie;OT=1;var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),S=Symbol.for("react.context"),T=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"),C=Symbol.iterator;function V(_){return _===null||typeof _!="object"?null:(_=C&&_[C]||_["@@iterator"],typeof _=="function"?_:null)}var lt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dt=Object.assign,it={};function st(_,$,gt){this.props=_,this.context=$,this.refs=it,this.updater=gt||lt}st.prototype.isReactComponent={},st.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")},st.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function bt(){}bt.prototype=st.prototype;function pt(_,$,gt){this.props=_,this.context=$,this.refs=it,this.updater=gt||lt}var Ot=pt.prototype=new bt;Ot.constructor=pt,dt(Ot,st.prototype),Ot.isPureReactComponent=!0;var xt=Array.isArray;function Yt(){}var Tt={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function vt(_,$,gt){var mt=gt.ref;return{$$typeof:u,type:_,key:$,ref:mt!==void 0?mt:null,props:gt}}function J(_,$){return vt(_.type,$,_.props)}function qt(_){return typeof _=="object"&&_!==null&&_.$$typeof===u}function wt(_){var $={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(gt){return $[gt]})}var Lt=/\/+/g;function be(_,$){return typeof _=="object"&&_!==null&&_.key!=null?wt(""+_.key):$.toString(36)}function De(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(Yt,Yt):(_.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 k(_,$,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 s:Xt=!0;break;case M:return Xt=_._init,k(Xt(_._payload),$,gt,mt,Vt)}}if(Xt)return Vt=Vt(_),Xt=mt===""?"."+be(_,0):mt,xt(Vt)?(gt="",Xt!=null&&(gt=Xt.replace(Lt,"$&/")+"/"),k(Vt,$,gt,"",function(Wa){return Wa})):Vt!=null&&(qt(Vt)&&(Vt=J(Vt,gt+(Vt.key==null||_&&_.key===Vt.key?"":(""+Vt.key).replace(Lt,"$&/")+"/")+Xt)),$.push(Vt)),1;Xt=0;var We=mt===""?".":mt+":";if(xt(_))for(var ze=0;ze<_.length;ze++)mt=_[ze],ee=We+be(mt,ze),Xt+=k(mt,$,gt,ee,Vt);else if(ze=V(_),typeof ze=="function")for(_=ze.call(_),ze=0;!(mt=_.next()).done;)mt=mt.value,ee=We+be(mt,ze++),Xt+=k(mt,$,gt,ee,Vt);else if(ee==="object"){if(typeof _.then=="function")return k(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 tt(_,$,gt){if(_==null)return _;var mt=[],Vt=0;return k(_,mt,"","",function(ee){return $.call(gt,ee,Vt++)}),mt}function ht(_){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:tt,forEach:function(_,$,gt){tt(_,function(){$.apply(this,arguments)},gt)},count:function(_){var $=0;return tt(_,function(){$++}),$},toArray:function(_){return tt(_,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=st,ie.Fragment=d,ie.Profiler=y,ie.PureComponent=pt,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=dt({},_.props),Vt=_.key;if($!=null)for(ee in $.key!==void 0&&(Vt=""+$.key),$)!Q.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),$)Q.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),ze=0;ze<Xt;ze++)We[ze]=arguments[ze+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:T,render:_}},ie.isValidElement=qt,ie.lazy=function(_){return{$$typeof:M,_payload:{_status:-1,_result:_},_init:ht}},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(Yt,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 gm={exports:{}};gm.exports;var _T;function OD(){return _T||(_T=1,(function(u,s){process.env.NODE_ENV!=="production"&&(function(){function d(z,G){Object.defineProperty(b.prototype,z,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",G[0],G[1])}})}function h(z){return z===null||typeof z!="object"?null:(z=Fo&&z[Fo]||z["@@iterator"],typeof z=="function"?z:null)}function y(z,G){z=(z=z.constructor)&&(z.displayName||z.name)||"ReactClass";var yt=z+"."+G;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.",G,z),Wo[yt]=!0)}function b(z,G,yt){this.props=z,this.context=G,this.refs=Ce,this.updater=yt||Pa}function S(){}function T(z,G,yt){this.props=z,this.context=G,this.refs=Ce,this.updater=yt||Pa}function w(){}function A(z){return""+z}function M(z){try{A(z);var G=!1}catch{G=!0}if(G){G=console;var yt=G.error,St=typeof Symbol=="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return yt.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",St),A(z)}}function R(z){if(z==null)return null;if(typeof z=="function")return z.$$typeof===Zc?null:z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case _:return"Fragment";case gt:return"Profiler";case $:return"StrictMode";case Xt:return"Suspense";case We:return"SuspenseList";case Rt:return"Activity"}if(typeof z=="object")switch(typeof z.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case Ht:return"Portal";case Vt:return z.displayName||"Context";case mt:return(z._context.displayName||"Context")+".Consumer";case ee:var G=z.render;return z=z.displayName,z||(z=G.displayName||G.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case ze:return G=z.displayName||null,G!==null?G:R(z.type)||"Memo";case Wa:G=z._payload,z=z._init;try{return R(z(G))}catch{}}return null}function C(z){if(z===_)return"<>";if(typeof z=="object"&&z!==null&&z.$$typeof===Wa)return"<...>";try{var G=R(z);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function V(){var z=_t.A;return z===null?null:z.getOwner()}function lt(){return Error("react-stack-top-frame")}function dt(z){if(Po.call(z,"key")){var G=Object.getOwnPropertyDescriptor(z,"key").get;if(G&&G.isReactWarning)return!1}return z.key!==void 0}function it(z,G){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)",G))}yt.isReactWarning=!0,Object.defineProperty(z,"key",{get:yt,configurable:!0})}function st(){var z=R(this.type);return Jd[z]||(Jd[z]=!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.")),z=this.props.ref,z!==void 0?z:null}function bt(z,G,yt,St,Ut,Jt){var jt=yt.ref;return z={$$typeof:zt,type:z,key:G,props:yt,_owner:St},(jt!==void 0?jt:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:st}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ut}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Jt}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function pt(z,G){return G=bt(z.type,G,z.props,z._owner,z._debugStack,z._debugTask),z._store&&(G._store.validated=z._store.validated),G}function Ot(z){xt(z)?z._store&&(z._store.validated=1):typeof z=="object"&&z!==null&&z.$$typeof===Wa&&(z._payload.status==="fulfilled"?xt(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function xt(z){return typeof z=="object"&&z!==null&&z.$$typeof===zt}function Yt(z){var G={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(yt){return G[yt]})}function Tt(z,G){return typeof z=="object"&&z!==null&&z.key!=null?(M(z.key),Yt(""+z.key)):G.toString(36)}function Q(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(w,w):(z.status="pending",z.then(function(G){z.status==="pending"&&(z.status="fulfilled",z.value=G)},function(G){z.status==="pending"&&(z.status="rejected",z.reason=G)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function vt(z,G,yt,St,Ut){var Jt=typeof z;(Jt==="undefined"||Jt==="boolean")&&(z=null);var jt=!1;if(z===null)jt=!0;else switch(Jt){case"bigint":case"string":case"number":jt=!0;break;case"object":switch(z.$$typeof){case zt:case Ht:jt=!0;break;case Wa:return jt=z._init,vt(jt(z._payload),G,yt,St,Ut)}}if(jt){jt=z,Ut=Ut(jt);var he=St===""?"."+Tt(jt,0):St;return Gu(Ut)?(yt="",he!=null&&(yt=he.replace(Kd,"$&/")+"/"),vt(Ut,G,yt,"",function(ca){return ca})):Ut!=null&&(xt(Ut)&&(Ut.key!=null&&(jt&&jt.key===Ut.key||M(Ut.key)),yt=pt(Ut,yt+(Ut.key==null||jt&&jt.key===Ut.key?"":(""+Ut.key).replace(Kd,"$&/")+"/")+he),St!==""&&jt!=null&&xt(jt)&&jt.key==null&&jt._store&&!jt._store.validated&&(yt._store.validated=2),Ut=yt),G.push(Ut)),1}if(jt=0,he=St===""?".":St+":",Gu(z))for(var ne=0;ne<z.length;ne++)St=z[ne],Jt=he+Tt(St,ne),jt+=vt(St,G,yt,Jt,Ut);else if(ne=h(z),typeof ne=="function")for(ne===z.entries&&(Gl||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gl=!0),z=ne.call(z),ne=0;!(St=z.next()).done;)St=St.value,Jt=he+Tt(St,ne++),jt+=vt(St,G,yt,Jt,Ut);else if(Jt==="object"){if(typeof z.then=="function")return vt(Q(z),G,yt,St,Ut);throw G=String(z),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return jt}function J(z,G,yt){if(z==null)return z;var St=[],Ut=0;return vt(z,St,"","",function(Jt){return G.call(yt,Jt,Ut++)}),St}function qt(z){if(z._status===-1){var G=z._ioInfo;G!=null&&(G.start=G.end=performance.now()),G=z._result;var yt=G();if(yt.then(function(Ut){if(z._status===0||z._status===-1){z._status=1,z._result=Ut;var Jt=z._ioInfo;Jt!=null&&(Jt.end=performance.now()),yt.status===void 0&&(yt.status="fulfilled",yt.value=Ut)}},function(Ut){if(z._status===0||z._status===-1){z._status=2,z._result=Ut;var Jt=z._ioInfo;Jt!=null&&(Jt.end=performance.now()),yt.status===void 0&&(yt.status="rejected",yt.reason=Ut)}}),G=z._ioInfo,G!=null){G.value=yt;var St=yt.displayName;typeof St=="string"&&(G.name=St)}z._status===-1&&(z._status=0,z._result=yt)}if(z._status===1)return G=z._result,G===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,50 +6,50 @@ Your code should look like:
|
|
|
6
6
|
Did you accidentally put curly braces around the import?`,G),"default"in G||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'))`,G),G.default;throw z._result}function
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,G),G.default;throw z._result}function wt(){var z=_t.H;return z===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.`),z}function Jt(){Ot.asyncTransitions--}function _e(z){if(Qu===null)try{var G=("require"+Math.random()).slice(0,7);Qu=(u&&u[G]).call(u,"timers").setImmediate}catch{Qu=function(bt){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 _t=new MessageChannel;_t.port1.onmessage=bt,_t.port2.postMessage(void 0)}}return Qu(z)}function Le(z){return 1<z.length&&typeof AggregateError=="function"?new AggregateError(z):z[0]}function V(z,G){G!==xl-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. "),xl=G}function I(z,G,yt){var bt=Ot.actQueue;if(bt!==null)if(bt.length!==0)try{dt(bt),_e(function(){return I(z,G,yt)});return}catch(_t){Ot.thrownErrors.push(_t)}else Ot.actQueue=null;0<Ot.thrownErrors.length?(bt=Le(Ot.thrownErrors),Ot.thrownErrors.length=0,yt(bt)):G(z)}function dt(z){if(!Ia){Ia=!0;var G=0;try{for(;G<z.length;G++){var yt=z[G];do{Ot.didUsePromise=!1;var bt=yt(!1);if(bt!==null){if(Ot.didUsePromise){z[G]=yt,z.splice(0,G);return}yt=bt}else break}while(!0)}z.length=0}catch(_t){z.splice(0,G+1),Ot.thrownErrors.push(_t)}finally{Ia=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ct=Symbol.for("react.transitional.element"),Ht=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),gt=Symbol.for("react.profiler"),mt=Symbol.for("react.consumer"),Lt=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),Yt=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),Wa=Symbol.for("react.lazy"),At=Symbol.for("react.activity"),Fo=Symbol.iterator,Wo={},Pa={isMounted:function(){return!1},enqueueForceUpdate:function(z){y(z,"forceUpdate")},enqueueReplaceState:function(z){y(z,"replaceState")},enqueueSetState:function(z){y(z,"setState")}},Ti=Object.assign,Re={};Object.freeze(Re),b.prototype.isReactComponent={},b.prototype.setState=function(z,G){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,G,"setState")},b.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};var ra={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 ra)ra.hasOwnProperty(Io)&&d(Io,ra[Io]);S.prototype=b.prototype,ra=T.prototype=new S,ra.constructor=T,Ti(ra,b.prototype),ra.isPureReactComponent=!0;var Gu=Array.isArray,Zc=Symbol.for("react.client.reference"),Ot={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,Ei=console.createTask?console.createTask:function(){return null};ra={react_stack_bottom_frame:function(z){return z()}};var Xu,Rn,Jd={},ir=ra.react_stack_bottom_frame.bind(ra,nt)(),or=Ei(C(nt)),ql=!1,Kd=/\/+/g,ur=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},Jc=!1,Qu=null,xl=0,On=!1,Ia=!1,kn=typeof queueMicrotask=="function"?function(z){queueMicrotask(function(){return queueMicrotask(z)})}:_e;ra=Object.freeze({__proto__:null,c:function(z){return Dt().useMemoCache(z)}});var Io={map:ht,forEach:function(z,G,yt){ht(z,function(){G.apply(this,arguments)},yt)},count:function(z){var G=0;return ht(z,function(){G++}),G},toArray:function(z){return ht(z,function(G){return G})||[]},only:function(z){if(!xt(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};s.Activity=At,s.Children=Io,s.Component=b,s.Fragment=_,s.Profiler=gt,s.PureComponent=T,s.StrictMode=K,s.Suspense=Yt,s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ot,s.__COMPILER_RUNTIME=ra,s.act=function(z){var G=Ot.actQueue,yt=xl;xl++;var bt=Ot.actQueue=G!==null?G:[],_t=!1;try{var Qt=z()}catch(ee){Ot.thrownErrors.push(ee)}if(0<Ot.thrownErrors.length)throw V(G,yt),z=Le(Ot.thrownErrors),Ot.thrownErrors.length=0,z;if(Qt!==null&&typeof Qt=="object"&&typeof Qt.then=="function"){var jt=Qt;return kn(function(){_t||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(ee,ca){_t=!0,jt.then(function(Al){if(V(G,yt),yt===0){try{dt(bt),_e(function(){return I(Al,ee,ca)})}catch(sr){Ot.thrownErrors.push(sr)}if(0<Ot.thrownErrors.length){var tu=Le(Ot.thrownErrors);Ot.thrownErrors.length=0,ca(tu)}}else ee(Al)},function(Al){V(G,yt),0<Ot.thrownErrors.length&&(Al=Le(Ot.thrownErrors),Ot.thrownErrors.length=0),ca(Al)})}}}var he=Qt;if(V(G,yt),yt===0&&(dt(bt),bt.length!==0&&kn(function(){_t||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(() => ...)"))}),Ot.actQueue=null),0<Ot.thrownErrors.length)throw z=Le(Ot.thrownErrors),Ot.thrownErrors.length=0,z;return{then:function(ee,ca){_t=!0,yt===0?(Ot.actQueue=bt,_e(function(){return I(he,ee,ca)})):ee(he)}}},s.cache=function(z){return function(){return z.apply(null,arguments)}},s.cacheSignal=function(){return null},s.captureOwnerStack=function(){var z=Ot.getCurrentStack;return z===null?null:z()},s.cloneElement=function(z,G,yt){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var bt=Ti({},z.props),_t=z.key,Qt=z._owner;if(G!=null){var jt;t:{if(Po.call(G,"ref")&&(jt=Object.getOwnPropertyDescriptor(G,"ref").get)&&jt.isReactWarning){jt=!1;break t}jt=G.ref!==void 0}jt&&(Qt=q()),ft(G)&&(M(G.key),_t=""+G.key);for(he in G)!Po.call(G,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&G.ref===void 0||(bt[he]=G[he])}var he=arguments.length-2;if(he===1)bt.children=yt;else if(1<he){jt=Array(he);for(var ee=0;ee<he;ee++)jt[ee]=arguments[ee+2];bt.children=jt}for(bt=St(z.type,_t,bt,Qt,z._debugStack,z._debugTask),_t=2;_t<arguments.length;_t++)Ut(arguments[_t]);return bt},s.createContext=function(z){return z={$$typeof:Lt,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:mt,_context:z},z._currentRenderer=null,z._currentRenderer2=null,z},s.createElement=function(z,G,yt){for(var bt=2;bt<arguments.length;bt++)Ut(arguments[bt]);bt={};var _t=null;if(G!=null)for(ee in Rn||!("__self"in G)||"key"in G||(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")),ft(G)&&(M(G.key),_t=""+G.key),G)Po.call(G,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(bt[ee]=G[ee]);var Qt=arguments.length-2;if(Qt===1)bt.children=yt;else if(1<Qt){for(var jt=Array(Qt),he=0;he<Qt;he++)jt[he]=arguments[he+2];Object.freeze&&Object.freeze(jt),bt.children=jt}if(z&&z.defaultProps)for(ee in Qt=z.defaultProps,Qt)bt[ee]===void 0&&(bt[ee]=Qt[ee]);_t&&at(bt,typeof z=="function"?z.displayName||z.name||"Unknown":z);var ee=1e4>Ot.recentlyCreatedOwnerStacks++;return St(z,_t,bt,q(),ee?Error("react-stack-top-frame"):ir,ee?Ei(C(z)):or)},s.createRef=function(){var z={current:null};return Object.seal(z),z},s.forwardRef=function(z){z!=null&&z.$$typeof===Ae?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof z!="function"?console.error("forwardRef requires a render function but was given %s.",z===null?"null":typeof z):z.length!==0&&z.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",z.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),z!=null&&z.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var G={$$typeof:te,render:z},yt;return Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return yt},set:function(bt){yt=bt,z.name||z.displayName||(Object.defineProperty(z,"name",{value:bt}),z.displayName=bt)}}),G},s.isValidElement=xt,s.lazy=function(z){z={_status:-1,_result:z};var G={$$typeof:Wa,_payload:z,_init:ae},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 z._ioInfo=yt,G._debugInfo=[{awaited:yt}],G},s.memo=function(z,G){z==null&&console.error("memo: The first argument must be a component. Instead received: %s",z===null?"null":typeof z),G={$$typeof:Ae,type:z,compare:G===void 0?null:G};var yt;return Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return yt},set:function(bt){yt=bt,z.name||z.displayName||(Object.defineProperty(z,"name",{value:bt}),z.displayName=bt)}}),G},s.startTransition=function(z){var G=Ot.T,yt={};yt._updatedFibers=new Set,Ot.T=yt;try{var bt=z(),_t=Ot.S;_t!==null&&_t(yt,bt),typeof bt=="object"&&bt!==null&&typeof bt.then=="function"&&(Ot.asyncTransitions++,bt.then(Jt,Jt),bt.then(x,ur))}catch(Qt){ur(Qt)}finally{G===null&&yt._updatedFibers&&(z=yt._updatedFibers.size,yt._updatedFibers.clear(),10<z&&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.")),G!==null&&yt.types!==null&&(G.types!==null&&G.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."),G.types=yt.types),Ot.T=G}},s.unstable_useCacheRefresh=function(){return Dt().useCacheRefresh()},s.use=function(z){return Dt().use(z)},s.useActionState=function(z,G,yt){return Dt().useActionState(z,G,yt)},s.useCallback=function(z,G){return Dt().useCallback(z,G)},s.useContext=function(z){var G=Dt();return z.$$typeof===mt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),G.useContext(z)},s.useDebugValue=function(z,G){return Dt().useDebugValue(z,G)},s.useDeferredValue=function(z,G){return Dt().useDeferredValue(z,G)},s.useEffect=function(z,G){return z==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Dt().useEffect(z,G)},s.useEffectEvent=function(z){return Dt().useEffectEvent(z)},s.useId=function(){return Dt().useId()},s.useImperativeHandle=function(z,G,yt){return Dt().useImperativeHandle(z,G,yt)},s.useInsertionEffect=function(z,G){return z==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Dt().useInsertionEffect(z,G)},s.useLayoutEffect=function(z,G){return z==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Dt().useLayoutEffect(z,G)},s.useMemo=function(z,G){return Dt().useMemo(z,G)},s.useOptimistic=function(z,G){return Dt().useOptimistic(z,G)},s.useReducer=function(z,G,yt){return Dt().useReducer(z,G,yt)},s.useRef=function(z){return Dt().useRef(z)},s.useState=function(z){return Dt().useState(z)},s.useSyncExternalStore=function(z,G,yt){return Dt().useSyncExternalStore(z,G,yt)},s.useTransition=function(){return Dt().useTransition()},s.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(gm,gm.exports)),gm.exports}var _T;function jd(){return _T||(_T=1,process.env.NODE_ENV==="production"?Uy.exports=AD():Uy.exports=RD()),Uy.exports}var UT;function DD(){return UT||(UT=1,process.env.NODE_ENV!=="production"&&(function(){function u(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===ae?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case at:return"Fragment";case St:return"Profiler";case ot:return"StrictMode";case Gt:return"Suspense";case Tt:return"SuspenseList";case ht: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 ft:return"Portal";case Ut:return _.displayName||"Context";case pt:return(_._context.displayName||"Context")+".Consumer";case xt:var K=_.render;return _=_.displayName,_||(_=K.displayName||K.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Q:return K=_.displayName||null,K!==null?K:u(_.type)||"Memo";case vt:K=_._payload,_=_._init;try{return u(_(K))}catch{}}return null}function s(_){return""+_}function d(_){try{s(_);var K=!1}catch{K=!0}if(K){K=console;var gt=K.error,mt=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return gt.call(K,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",mt),s(_)}}function h(_){if(_===at)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===vt)return"<...>";try{var K=u(_);return K?"<"+K+">":"<...>"}catch{return"<...>"}}function y(){var _=Dt.A;return _===null?null:_.getOwner()}function b(){return Error("react-stack-top-frame")}function S(_){if(Jt.call(_,"key")){var K=Object.getOwnPropertyDescriptor(_,"key").get;if(K&&K.isReactWarning)return!1}return _.key!==void 0}function T(_,K){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)",K))}gt.isReactWarning=!0,Object.defineProperty(_,"key",{get:gt,configurable:!0})}function x(){var _=u(this.type);return I[_]||(I[_]=!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(_,K,gt,mt,Lt,te){var Yt=gt.ref;return _={$$typeof:nt,type:_,key:K,props:gt,_owner:mt},(Yt!==void 0?Yt:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:x}):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:Lt}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function M(_,K,gt,mt,Lt,te){var Yt=K.children;if(Yt!==void 0)if(mt)if(_e(Yt)){for(mt=0;mt<Yt.length;mt++)R(Yt[mt]);Object.freeze&&Object.freeze(Yt)}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(Yt);if(Jt.call(K,"key")){Yt=u(_);var We=Object.keys(K).filter(function(Wa){return Wa!=="key"});mt=0<We.length?"{key: someKey, "+We.join(": ..., ")+": ...}":"{key: someKey}",Ht[Yt+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.`),z}function Lt(){_t.asyncTransitions--}function be(z){if(Qu===null)try{var G=("require"+Math.random()).slice(0,7);Qu=(u&&u[G]).call(u,"timers").setImmediate}catch{Qu=function(St){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=St,Ut.port2.postMessage(void 0)}}return Qu(z)}function De(z){return 1<z.length&&typeof AggregateError=="function"?new AggregateError(z):z[0]}function k(z,G){G!==xl-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. "),xl=G}function tt(z,G,yt){var St=_t.actQueue;if(St!==null)if(St.length!==0)try{ht(St),be(function(){return tt(z,G,yt)});return}catch(Ut){_t.thrownErrors.push(Ut)}else _t.actQueue=null;0<_t.thrownErrors.length?(St=De(_t.thrownErrors),_t.thrownErrors.length=0,yt(St)):G(z)}function ht(z){if(!Ia){Ia=!0;var G=0;try{for(;G<z.length;G++){var yt=z[G];do{_t.didUsePromise=!1;var St=yt(!1);if(St!==null){if(_t.didUsePromise){z[G]=yt,z.splice(0,G);return}yt=St}else break}while(!0)}z.length=0}catch(Ut){z.splice(0,G+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"),ze=Symbol.for("react.memo"),Wa=Symbol.for("react.lazy"),Rt=Symbol.for("react.activity"),Fo=Symbol.iterator,Wo={},Pa={isMounted:function(){return!1},enqueueForceUpdate:function(z){y(z,"forceUpdate")},enqueueReplaceState:function(z){y(z,"replaceState")},enqueueSetState:function(z){y(z,"setState")}},Ei=Object.assign,Ce={};Object.freeze(Ce),b.prototype.isReactComponent={},b.prototype.setState=function(z,G){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,G,"setState")},b.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};var ra={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 ra)ra.hasOwnProperty(Io)&&d(Io,ra[Io]);S.prototype=b.prototype,ra=T.prototype=new S,ra.constructor=T,Ei(ra,b.prototype),ra.isPureReactComponent=!0;var Gu=Array.isArray,Zc=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};ra={react_stack_bottom_frame:function(z){return z()}};var Xu,Rn,Jd={},ir=ra.react_stack_bottom_frame.bind(ra,lt)(),or=wi(C(lt)),Gl=!1,Kd=/\/+/g,ur=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},Jc=!1,Qu=null,xl=0,On=!1,Ia=!1,kn=typeof queueMicrotask=="function"?function(z){queueMicrotask(function(){return queueMicrotask(z)})}:be;ra=Object.freeze({__proto__:null,c:function(z){return wt().useMemoCache(z)}});var Io={map:J,forEach:function(z,G,yt){J(z,function(){G.apply(this,arguments)},yt)},count:function(z){var G=0;return J(z,function(){G++}),G},toArray:function(z){return J(z,function(G){return G})||[]},only:function(z){if(!xt(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};s.Activity=Rt,s.Children=Io,s.Component=b,s.Fragment=_,s.Profiler=gt,s.PureComponent=T,s.StrictMode=$,s.Suspense=Xt,s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_t,s.__COMPILER_RUNTIME=ra,s.act=function(z){var G=_t.actQueue,yt=xl;xl++;var St=_t.actQueue=G!==null?G:[],Ut=!1;try{var Jt=z()}catch(ne){_t.thrownErrors.push(ne)}if(0<_t.thrownErrors.length)throw k(G,yt),z=De(_t.thrownErrors),_t.thrownErrors.length=0,z;if(Jt!==null&&typeof Jt=="object"&&typeof Jt.then=="function"){var jt=Jt;return kn(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(Al){if(k(G,yt),yt===0){try{ht(St),be(function(){return tt(Al,ne,ca)})}catch(sr){_t.thrownErrors.push(sr)}if(0<_t.thrownErrors.length){var tu=De(_t.thrownErrors);_t.thrownErrors.length=0,ca(tu)}}else ne(Al)},function(Al){k(G,yt),0<_t.thrownErrors.length&&(Al=De(_t.thrownErrors),_t.thrownErrors.length=0),ca(Al)})}}}var he=Jt;if(k(G,yt),yt===0&&(ht(St),St.length!==0&&kn(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 z=De(_t.thrownErrors),_t.thrownErrors.length=0,z;return{then:function(ne,ca){Ut=!0,yt===0?(_t.actQueue=St,be(function(){return tt(he,ne,ca)})):ne(he)}}},s.cache=function(z){return function(){return z.apply(null,arguments)}},s.cacheSignal=function(){return null},s.captureOwnerStack=function(){var z=_t.getCurrentStack;return z===null?null:z()},s.cloneElement=function(z,G,yt){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var St=Ei({},z.props),Ut=z.key,Jt=z._owner;if(G!=null){var jt;t:{if(Po.call(G,"ref")&&(jt=Object.getOwnPropertyDescriptor(G,"ref").get)&&jt.isReactWarning){jt=!1;break t}jt=G.ref!==void 0}jt&&(Jt=V()),dt(G)&&(M(G.key),Ut=""+G.key);for(he in G)!Po.call(G,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&G.ref===void 0||(St[he]=G[he])}var he=arguments.length-2;if(he===1)St.children=yt;else if(1<he){jt=Array(he);for(var ne=0;ne<he;ne++)jt[ne]=arguments[ne+2];St.children=jt}for(St=bt(z.type,Ut,St,Jt,z._debugStack,z._debugTask),Ut=2;Ut<arguments.length;Ut++)Ot(arguments[Ut]);return St},s.createContext=function(z){return z={$$typeof:Vt,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:mt,_context:z},z._currentRenderer=null,z._currentRenderer2=null,z},s.createElement=function(z,G,yt){for(var St=2;St<arguments.length;St++)Ot(arguments[St]);St={};var Ut=null;if(G!=null)for(ne in Rn||!("__self"in G)||"key"in G||(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")),dt(G)&&(M(G.key),Ut=""+G.key),G)Po.call(G,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(St[ne]=G[ne]);var Jt=arguments.length-2;if(Jt===1)St.children=yt;else if(1<Jt){for(var jt=Array(Jt),he=0;he<Jt;he++)jt[he]=arguments[he+2];Object.freeze&&Object.freeze(jt),St.children=jt}if(z&&z.defaultProps)for(ne in Jt=z.defaultProps,Jt)St[ne]===void 0&&(St[ne]=Jt[ne]);Ut&&it(St,typeof z=="function"?z.displayName||z.name||"Unknown":z);var ne=1e4>_t.recentlyCreatedOwnerStacks++;return bt(z,Ut,St,V(),ne?Error("react-stack-top-frame"):ir,ne?wi(C(z)):or)},s.createRef=function(){var z={current:null};return Object.seal(z),z},s.forwardRef=function(z){z!=null&&z.$$typeof===ze?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof z!="function"?console.error("forwardRef requires a render function but was given %s.",z===null?"null":typeof z):z.length!==0&&z.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",z.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),z!=null&&z.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var G={$$typeof:ee,render:z},yt;return Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return yt},set:function(St){yt=St,z.name||z.displayName||(Object.defineProperty(z,"name",{value:St}),z.displayName=St)}}),G},s.isValidElement=xt,s.lazy=function(z){z={_status:-1,_result:z};var G={$$typeof:Wa,_payload:z,_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 z._ioInfo=yt,G._debugInfo=[{awaited:yt}],G},s.memo=function(z,G){z==null&&console.error("memo: The first argument must be a component. Instead received: %s",z===null?"null":typeof z),G={$$typeof:ze,type:z,compare:G===void 0?null:G};var yt;return Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return yt},set:function(St){yt=St,z.name||z.displayName||(Object.defineProperty(z,"name",{value:St}),z.displayName=St)}}),G},s.startTransition=function(z){var G=_t.T,yt={};yt._updatedFibers=new Set,_t.T=yt;try{var St=z(),Ut=_t.S;Ut!==null&&Ut(yt,St),typeof St=="object"&&St!==null&&typeof St.then=="function"&&(_t.asyncTransitions++,St.then(Lt,Lt),St.then(w,ur))}catch(Jt){ur(Jt)}finally{G===null&&yt._updatedFibers&&(z=yt._updatedFibers.size,yt._updatedFibers.clear(),10<z&&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.")),G!==null&&yt.types!==null&&(G.types!==null&&G.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."),G.types=yt.types),_t.T=G}},s.unstable_useCacheRefresh=function(){return wt().useCacheRefresh()},s.use=function(z){return wt().use(z)},s.useActionState=function(z,G,yt){return wt().useActionState(z,G,yt)},s.useCallback=function(z,G){return wt().useCallback(z,G)},s.useContext=function(z){var G=wt();return z.$$typeof===mt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),G.useContext(z)},s.useDebugValue=function(z,G){return wt().useDebugValue(z,G)},s.useDeferredValue=function(z,G){return wt().useDeferredValue(z,G)},s.useEffect=function(z,G){return z==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),wt().useEffect(z,G)},s.useEffectEvent=function(z){return wt().useEffectEvent(z)},s.useId=function(){return wt().useId()},s.useImperativeHandle=function(z,G,yt){return wt().useImperativeHandle(z,G,yt)},s.useInsertionEffect=function(z,G){return z==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),wt().useInsertionEffect(z,G)},s.useLayoutEffect=function(z,G){return z==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),wt().useLayoutEffect(z,G)},s.useMemo=function(z,G){return wt().useMemo(z,G)},s.useOptimistic=function(z,G){return wt().useOptimistic(z,G)},s.useReducer=function(z,G,yt){return wt().useReducer(z,G,yt)},s.useRef=function(z){return wt().useRef(z)},s.useState=function(z){return wt().useState(z)},s.useSyncExternalStore=function(z,G,yt){return wt().useSyncExternalStore(z,G,yt)},s.useTransition=function(){return wt().useTransition()},s.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(gm,gm.exports)),gm.exports}var UT;function jd(){return UT||(UT=1,process.env.NODE_ENV==="production"?U0.exports=MD():U0.exports=OD()),U0.exports}var jT;function _D(){return jT||(jT=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 it:return"Fragment";case bt:return"Profiler";case st:return"StrictMode";case Yt:return"Suspense";case Tt:return"SuspenseList";case J: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 dt:return"Portal";case Ot:return _.displayName||"Context";case pt:return(_._context.displayName||"Context")+".Consumer";case xt:var $=_.render;return _=_.displayName,_||(_=$.displayName||$.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Q:return $=_.displayName||null,$!==null?$:u(_.type)||"Memo";case vt:$=_._payload,_=_._init;try{return u(_($))}catch{}}return null}function s(_){return""+_}function d(_){try{s(_);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),s(_)}}function h(_){if(_===it)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===vt)return"<...>";try{var $=u(_);return $?"<"+$+">":"<...>"}catch{return"<...>"}}function y(){var _=wt.A;return _===null?null:_.getOwner()}function b(){return Error("react-stack-top-frame")}function S(_){if(Lt.call(_,"key")){var $=Object.getOwnPropertyDescriptor(_,"key").get;if($&&$.isReactWarning)return!1}return _.key!==void 0}function T(_,$){function gt(){k||(k=!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 tt[_]||(tt[_]=!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(Lt.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:
|
|
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,Yt,We,Yt),Ht[Yt+mt]=!0)}if(Yt=null,gt!==void 0&&(d(gt),Yt=""+gt),S(K)&&(d(K.key),Yt=""+K.key),"key"in K){gt={};for(var Ae in K)Ae!=="key"&&(gt[Ae]=K[Ae])}else gt=K;return Yt&&T(gt,typeof _=="function"?_.displayName||_.name||"Unknown":_),A(_,Yt,gt,y(),Lt,te)}function R(_){C(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===vt&&(_._payload.status==="fulfilled"?C(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function C(_){return typeof _=="object"&&_!==null&&_.$$typeof===nt}var q=jd(),nt=Symbol.for("react.transitional.element"),ft=Symbol.for("react.portal"),at=Symbol.for("react.fragment"),ot=Symbol.for("react.strict_mode"),St=Symbol.for("react.profiler"),pt=Symbol.for("react.consumer"),Ut=Symbol.for("react.context"),xt=Symbol.for("react.forward_ref"),Gt=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),ht=Symbol.for("react.activity"),ae=Symbol.for("react.client.reference"),Dt=q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Jt=Object.prototype.hasOwnProperty,_e=Array.isArray,Le=console.createTask?console.createTask:function(){return null};q={react_stack_bottom_frame:function(_){return _()}};var V,I={},dt=q.react_stack_bottom_frame.bind(q,b)(),Ct=Le(h(b)),Ht={};mm.Fragment=at,mm.jsx=function(_,K,gt){var mt=1e4>Dt.recentlyCreatedOwnerStacks++;return M(_,K,gt,!1,mt?Error("react-stack-top-frame"):dt,mt?Le(h(_)):Ct)},mm.jsxs=function(_,K,gt){var mt=1e4>Dt.recentlyCreatedOwnerStacks++;return M(_,K,gt,!0,mt?Error("react-stack-top-frame"):dt,mt?Le(h(_)):Ct)}})()),mm}var jT;function CD(){return jT||(jT=1,process.env.NODE_ENV==="production"?_y.exports=xD():_y.exports=DD()),_y.exports}var J=CD(),jy={exports:{}},ym={},Ny={exports:{}},C1={};var NT;function zD(){return NT||(NT=1,(function(u){function s(V,I){var dt=V.length;V.push(I);t:for(;0<dt;){var Ct=dt-1>>>1,Ht=V[Ct];if(0<y(Ht,I))V[Ct]=I,V[dt]=Ht,dt=Ct;else break t}}function d(V){return V.length===0?null:V[0]}function h(V){if(V.length===0)return null;var I=V[0],dt=V.pop();if(dt!==I){V[0]=dt;t:for(var Ct=0,Ht=V.length,_=Ht>>>1;Ct<_;){var K=2*(Ct+1)-1,gt=V[K],mt=K+1,Lt=V[mt];if(0>y(gt,dt))mt<Ht&&0>y(Lt,gt)?(V[Ct]=Lt,V[mt]=dt,Ct=mt):(V[Ct]=gt,V[K]=dt,Ct=K);else if(mt<Ht&&0>y(Lt,dt))V[Ct]=Lt,V[mt]=dt,Ct=mt;else break t}}return I}function y(V,I){var dt=V.sortIndex-I.sortIndex;return dt!==0?dt:V.id-I.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,T=S.now();u.unstable_now=function(){return S.now()-T}}var x=[],A=[],M=1,R=null,C=3,q=!1,nt=!1,ft=!1,at=!1,ot=typeof setTimeout=="function"?setTimeout:null,St=typeof clearTimeout=="function"?clearTimeout:null,pt=typeof setImmediate<"u"?setImmediate:null;function Ut(V){for(var I=d(A);I!==null;){if(I.callback===null)h(A);else if(I.startTime<=V)h(A),I.sortIndex=I.expirationTime,s(x,I);else break;I=d(A)}}function xt(V){if(ft=!1,Ut(V),!nt)if(d(x)!==null)nt=!0,Gt||(Gt=!0,Dt());else{var I=d(A);I!==null&&Le(xt,I.startTime-V)}}var Gt=!1,Tt=-1,Q=5,vt=-1;function ht(){return at?!0:!(u.unstable_now()-vt<Q)}function ae(){if(at=!1,Gt){var V=u.unstable_now();vt=V;var I=!0;try{t:{nt=!1,ft&&(ft=!1,St(Tt),Tt=-1),q=!0;var dt=C;try{e:{for(Ut(V),R=d(x);R!==null&&!(R.expirationTime>V&&ht());){var Ct=R.callback;if(typeof Ct=="function"){R.callback=null,C=R.priorityLevel;var Ht=Ct(R.expirationTime<=V);if(V=u.unstable_now(),typeof Ht=="function"){R.callback=Ht,Ut(V),I=!0;break e}R===d(x)&&h(x),Ut(V)}else h(x);R=d(x)}if(R!==null)I=!0;else{var _=d(A);_!==null&&Le(xt,_.startTime-V),I=!1}}break t}finally{R=null,C=dt,q=!1}I=void 0}}finally{I?Dt():Gt=!1}}}var Dt;if(typeof pt=="function")Dt=function(){pt(ae)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,_e=Jt.port2;Jt.port1.onmessage=ae,Dt=function(){_e.postMessage(null)}}else Dt=function(){ot(ae,0)};function Le(V,I){Tt=ot(function(){V(u.unstable_now())},I)}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"):Q=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return C},u.unstable_next=function(V){switch(C){case 1:case 2:case 3:var I=3;break;default:I=C}var dt=C;C=I;try{return V()}finally{C=dt}},u.unstable_requestPaint=function(){at=!0},u.unstable_runWithPriority=function(V,I){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var dt=C;C=V;try{return I()}finally{C=dt}},u.unstable_scheduleCallback=function(V,I,dt){var Ct=u.unstable_now();switch(typeof dt=="object"&&dt!==null?(dt=dt.delay,dt=typeof dt=="number"&&0<dt?Ct+dt:Ct):dt=Ct,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=dt+Ht,V={id:M++,callback:I,priorityLevel:V,startTime:dt,expirationTime:Ht,sortIndex:-1},dt>Ct?(V.sortIndex=dt,s(A,V),d(x)===null&&V===d(A)&&(ft?(St(Tt),Tt=-1):ft=!0,Le(xt,dt-Ct))):(V.sortIndex=Ht,s(x,V),nt||q||(nt=!0,Gt||(Gt=!0,Dt()))),V},u.unstable_shouldYield=ht,u.unstable_wrapCallback=function(V){var I=C;return function(){var dt=C;C=I;try{return V.apply(this,arguments)}finally{C=dt}}}})(C1)),C1}var z1={};var HT;function MD(){return HT||(HT=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function s(){if(xt=!1,vt){var V=u.unstable_now();Dt=V;var I=!0;try{t:{pt=!1,Ut&&(Ut=!1,Tt(ht),ht=-1),St=!0;var dt=ot;try{e:{for(S(V),at=h(q);at!==null&&!(at.expirationTime>V&&x());){var Ct=at.callback;if(typeof Ct=="function"){at.callback=null,ot=at.priorityLevel;var Ht=Ct(at.expirationTime<=V);if(V=u.unstable_now(),typeof Ht=="function"){at.callback=Ht,S(V),I=!0;break e}at===h(q)&&y(q),S(V)}else y(q);at=h(q)}if(at!==null)I=!0;else{var _=h(nt);_!==null&&A(T,_.startTime-V),I=!1}}break t}finally{at=null,ot=dt,St=!1}I=void 0}}finally{I?Jt():vt=!1}}}function d(V,I){var dt=V.length;V.push(I);t:for(;0<dt;){var Ct=dt-1>>>1,Ht=V[Ct];if(0<b(Ht,I))V[Ct]=I,V[dt]=Ht,dt=Ct;else break t}}function h(V){return V.length===0?null:V[0]}function y(V){if(V.length===0)return null;var I=V[0],dt=V.pop();if(dt!==I){V[0]=dt;t:for(var Ct=0,Ht=V.length,_=Ht>>>1;Ct<_;){var K=2*(Ct+1)-1,gt=V[K],mt=K+1,Lt=V[mt];if(0>b(gt,dt))mt<Ht&&0>b(Lt,gt)?(V[Ct]=Lt,V[mt]=dt,Ct=mt):(V[Ct]=gt,V[K]=dt,Ct=K);else if(mt<Ht&&0>b(Lt,dt))V[Ct]=Lt,V[mt]=dt,Ct=mt;else break t}}return I}function b(V,I){var dt=V.sortIndex-I.sortIndex;return dt!==0?dt:V.id-I.id}function S(V){for(var I=h(nt);I!==null;){if(I.callback===null)y(nt);else if(I.startTime<=V)y(nt),I.sortIndex=I.expirationTime,d(q,I);else break;I=h(nt)}}function T(V){if(Ut=!1,S(V),!pt)if(h(q)!==null)pt=!0,vt||(vt=!0,Jt());else{var I=h(nt);I!==null&&A(T,I.startTime-V)}}function x(){return xt?!0:!(u.unstable_now()-Dt<ae)}function A(V,I){ht=Gt(function(){V(u.unstable_now())},I)}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,C=R.now();u.unstable_now=function(){return R.now()-C}}var q=[],nt=[],ft=1,at=null,ot=3,St=!1,pt=!1,Ut=!1,xt=!1,Gt=typeof setTimeout=="function"?setTimeout:null,Tt=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null,vt=!1,ht=-1,ae=5,Dt=-1;if(typeof Q=="function")var Jt=function(){Q(s)};else if(typeof MessageChannel<"u"){var _e=new MessageChannel,Le=_e.port2;_e.port1.onmessage=s,Jt=function(){Le.postMessage(null)}}else Jt=function(){Gt(s,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"):ae=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return ot},u.unstable_next=function(V){switch(ot){case 1:case 2:case 3:var I=3;break;default:I=ot}var dt=ot;ot=I;try{return V()}finally{ot=dt}},u.unstable_requestPaint=function(){xt=!0},u.unstable_runWithPriority=function(V,I){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var dt=ot;ot=V;try{return I()}finally{ot=dt}},u.unstable_scheduleCallback=function(V,I,dt){var Ct=u.unstable_now();switch(typeof dt=="object"&&dt!==null?(dt=dt.delay,dt=typeof dt=="number"&&0<dt?Ct+dt:Ct):dt=Ct,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=dt+Ht,V={id:ft++,callback:I,priorityLevel:V,startTime:dt,expirationTime:Ht,sortIndex:-1},dt>Ct?(V.sortIndex=dt,d(nt,V),h(q)===null&&V===h(nt)&&(Ut?(Tt(ht),ht=-1):Ut=!0,A(T,dt-Ct))):(V.sortIndex=Ht,d(q,V),pt||St||(pt=!0,vt||(vt=!0,Jt()))),V},u.unstable_shouldYield=x,u.unstable_wrapCallback=function(V){var I=ot;return function(){var dt=ot;ot=I;try{return V.apply(this,arguments)}finally{ot=dt}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(z1)),z1}var BT;function LT(){return BT||(BT=1,process.env.NODE_ENV==="production"?Ny.exports=zD():Ny.exports=MD()),Ny.exports}var Hy={exports:{}},Ba={};var VT;function OD(){if(VT)return Ba;VT=1;var u=jd();function s(x){var A="https://react.dev/errors/"+x;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 #"+x+"; 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(s(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(x,A,M){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:y,key:R==null?null:""+R,children:x,containerInfo:A,implementation:M}}var S=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function T(x,A){if(x==="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(x,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(s(299));return b(x,A,null,M)},Ba.flushSync=function(x){var A=S.T,M=h.p;try{if(S.T=null,h.p=2,x)return x()}finally{S.T=A,h.p=M,h.d.f()}},Ba.preconnect=function(x,A){typeof x=="string"&&(A?(A=A.crossOrigin,A=typeof A=="string"?A==="use-credentials"?A:"":void 0):A=null,h.d.C(x,A))},Ba.prefetchDNS=function(x){typeof x=="string"&&h.d.D(x)},Ba.preinit=function(x,A){if(typeof x=="string"&&A&&typeof A.as=="string"){var M=A.as,R=T(M,A.crossOrigin),C=typeof A.integrity=="string"?A.integrity:void 0,q=typeof A.fetchPriority=="string"?A.fetchPriority:void 0;M==="style"?h.d.S(x,typeof A.precedence=="string"?A.precedence:void 0,{crossOrigin:R,integrity:C,fetchPriority:q}):M==="script"&&h.d.X(x,{crossOrigin:R,integrity:C,fetchPriority:q,nonce:typeof A.nonce=="string"?A.nonce:void 0})}},Ba.preinitModule=function(x,A){if(typeof x=="string")if(typeof A=="object"&&A!==null){if(A.as==null||A.as==="script"){var M=T(A.as,A.crossOrigin);h.d.M(x,{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(x)},Ba.preload=function(x,A){if(typeof x=="string"&&typeof A=="object"&&A!==null&&typeof A.as=="string"){var M=A.as,R=T(M,A.crossOrigin);h.d.L(x,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(x,A){if(typeof x=="string")if(A){var M=T(A.as,A.crossOrigin);h.d.m(x,{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(x)},Ba.requestFormReset=function(x){h.d.r(x)},Ba.unstable_batchedUpdates=function(x,A){return x(A)},Ba.useFormState=function(x,A,M){return S.H.useFormState(x,A,M)},Ba.useFormStatus=function(){return S.H.useHostTransitionStatus()},Ba.version="19.2.3",Ba}var La={};var kT;function _D(){return kT||(kT=1,process.env.NODE_ENV!=="production"&&(function(){function u(){}function s(R){return""+R}function d(R,C,q){var nt=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{s(nt);var ft=!1}catch{ft=!0}return ft&&(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"),s(nt)),{$$typeof:A,key:nt==null?null:""+nt,children:R,containerInfo:C,implementation:q}}function h(R,C){if(R==="font")return"";if(typeof C=="string")return C==="use-credentials"?C:""}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} />`,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 ze in $)ze!=="key"&&(gt[ze]=$[ze])}else gt=$;return Xt&&T(gt,typeof _=="function"?_.displayName||_.name||"Unknown":_),A(_,Xt,gt,y(),Vt,ee)}function R(_){C(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===vt&&(_._payload.status==="fulfilled"?C(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function C(_){return typeof _=="object"&&_!==null&&_.$$typeof===lt}var V=jd(),lt=Symbol.for("react.transitional.element"),dt=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),bt=Symbol.for("react.profiler"),pt=Symbol.for("react.consumer"),Ot=Symbol.for("react.context"),xt=Symbol.for("react.forward_ref"),Yt=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),qt=Symbol.for("react.client.reference"),wt=V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lt=Object.prototype.hasOwnProperty,be=Array.isArray,De=console.createTask?console.createTask:function(){return null};V={react_stack_bottom_frame:function(_){return _()}};var k,tt={},ht=V.react_stack_bottom_frame.bind(V,b)(),zt=De(h(b)),Ht={};mm.Fragment=it,mm.jsx=function(_,$,gt){var mt=1e4>wt.recentlyCreatedOwnerStacks++;return M(_,$,gt,!1,mt?Error("react-stack-top-frame"):ht,mt?De(h(_)):zt)},mm.jsxs=function(_,$,gt){var mt=1e4>wt.recentlyCreatedOwnerStacks++;return M(_,$,gt,!0,mt?Error("react-stack-top-frame"):ht,mt?De(h(_)):zt)}})()),mm}var NT;function UD(){return NT||(NT=1,process.env.NODE_ENV==="production"?_0.exports=CD():_0.exports=_D()),_0.exports}var Z=UD(),j0={exports:{}},ym={},N0={exports:{}},M1={};var HT;function jD(){return HT||(HT=1,(function(u){function s(k,tt){var ht=k.length;k.push(tt);t:for(;0<ht;){var zt=ht-1>>>1,Ht=k[zt];if(0<y(Ht,tt))k[zt]=tt,k[ht]=Ht,ht=zt;else break t}}function d(k){return k.length===0?null:k[0]}function h(k){if(k.length===0)return null;var tt=k[0],ht=k.pop();if(ht!==tt){k[0]=ht;t:for(var zt=0,Ht=k.length,_=Ht>>>1;zt<_;){var $=2*(zt+1)-1,gt=k[$],mt=$+1,Vt=k[mt];if(0>y(gt,ht))mt<Ht&&0>y(Vt,gt)?(k[zt]=Vt,k[mt]=ht,zt=mt):(k[zt]=gt,k[$]=ht,zt=$);else if(mt<Ht&&0>y(Vt,ht))k[zt]=Vt,k[mt]=ht,zt=mt;else break t}}return tt}function y(k,tt){var ht=k.sortIndex-tt.sortIndex;return ht!==0?ht:k.id-tt.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,T=S.now();u.unstable_now=function(){return S.now()-T}}var w=[],A=[],M=1,R=null,C=3,V=!1,lt=!1,dt=!1,it=!1,st=typeof setTimeout=="function"?setTimeout:null,bt=typeof clearTimeout=="function"?clearTimeout:null,pt=typeof setImmediate<"u"?setImmediate:null;function Ot(k){for(var tt=d(A);tt!==null;){if(tt.callback===null)h(A);else if(tt.startTime<=k)h(A),tt.sortIndex=tt.expirationTime,s(w,tt);else break;tt=d(A)}}function xt(k){if(dt=!1,Ot(k),!lt)if(d(w)!==null)lt=!0,Yt||(Yt=!0,wt());else{var tt=d(A);tt!==null&&De(xt,tt.startTime-k)}}var Yt=!1,Tt=-1,Q=5,vt=-1;function J(){return it?!0:!(u.unstable_now()-vt<Q)}function qt(){if(it=!1,Yt){var k=u.unstable_now();vt=k;var tt=!0;try{t:{lt=!1,dt&&(dt=!1,bt(Tt),Tt=-1),V=!0;var ht=C;try{e:{for(Ot(k),R=d(w);R!==null&&!(R.expirationTime>k&&J());){var zt=R.callback;if(typeof zt=="function"){R.callback=null,C=R.priorityLevel;var Ht=zt(R.expirationTime<=k);if(k=u.unstable_now(),typeof Ht=="function"){R.callback=Ht,Ot(k),tt=!0;break e}R===d(w)&&h(w),Ot(k)}else h(w);R=d(w)}if(R!==null)tt=!0;else{var _=d(A);_!==null&&De(xt,_.startTime-k),tt=!1}}break t}finally{R=null,C=ht,V=!1}tt=void 0}}finally{tt?wt():Yt=!1}}}var wt;if(typeof pt=="function")wt=function(){pt(qt)};else if(typeof MessageChannel<"u"){var Lt=new MessageChannel,be=Lt.port2;Lt.port1.onmessage=qt,wt=function(){be.postMessage(null)}}else wt=function(){st(qt,0)};function De(k,tt){Tt=st(function(){k(u.unstable_now())},tt)}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(k){k.callback=null},u.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<k?Math.floor(1e3/k):5},u.unstable_getCurrentPriorityLevel=function(){return C},u.unstable_next=function(k){switch(C){case 1:case 2:case 3:var tt=3;break;default:tt=C}var ht=C;C=tt;try{return k()}finally{C=ht}},u.unstable_requestPaint=function(){it=!0},u.unstable_runWithPriority=function(k,tt){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var ht=C;C=k;try{return tt()}finally{C=ht}},u.unstable_scheduleCallback=function(k,tt,ht){var zt=u.unstable_now();switch(typeof ht=="object"&&ht!==null?(ht=ht.delay,ht=typeof ht=="number"&&0<ht?zt+ht:zt):ht=zt,k){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=ht+Ht,k={id:M++,callback:tt,priorityLevel:k,startTime:ht,expirationTime:Ht,sortIndex:-1},ht>zt?(k.sortIndex=ht,s(A,k),d(w)===null&&k===d(A)&&(dt?(bt(Tt),Tt=-1):dt=!0,De(xt,ht-zt))):(k.sortIndex=Ht,s(w,k),lt||V||(lt=!0,Yt||(Yt=!0,wt()))),k},u.unstable_shouldYield=J,u.unstable_wrapCallback=function(k){var tt=C;return function(){var ht=C;C=tt;try{return k.apply(this,arguments)}finally{C=ht}}}})(M1)),M1}var O1={};var BT;function ND(){return BT||(BT=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function s(){if(xt=!1,vt){var k=u.unstable_now();wt=k;var tt=!0;try{t:{pt=!1,Ot&&(Ot=!1,Tt(J),J=-1),bt=!0;var ht=st;try{e:{for(S(k),it=h(V);it!==null&&!(it.expirationTime>k&&w());){var zt=it.callback;if(typeof zt=="function"){it.callback=null,st=it.priorityLevel;var Ht=zt(it.expirationTime<=k);if(k=u.unstable_now(),typeof Ht=="function"){it.callback=Ht,S(k),tt=!0;break e}it===h(V)&&y(V),S(k)}else y(V);it=h(V)}if(it!==null)tt=!0;else{var _=h(lt);_!==null&&A(T,_.startTime-k),tt=!1}}break t}finally{it=null,st=ht,bt=!1}tt=void 0}}finally{tt?Lt():vt=!1}}}function d(k,tt){var ht=k.length;k.push(tt);t:for(;0<ht;){var zt=ht-1>>>1,Ht=k[zt];if(0<b(Ht,tt))k[zt]=tt,k[ht]=Ht,ht=zt;else break t}}function h(k){return k.length===0?null:k[0]}function y(k){if(k.length===0)return null;var tt=k[0],ht=k.pop();if(ht!==tt){k[0]=ht;t:for(var zt=0,Ht=k.length,_=Ht>>>1;zt<_;){var $=2*(zt+1)-1,gt=k[$],mt=$+1,Vt=k[mt];if(0>b(gt,ht))mt<Ht&&0>b(Vt,gt)?(k[zt]=Vt,k[mt]=ht,zt=mt):(k[zt]=gt,k[$]=ht,zt=$);else if(mt<Ht&&0>b(Vt,ht))k[zt]=Vt,k[mt]=ht,zt=mt;else break t}}return tt}function b(k,tt){var ht=k.sortIndex-tt.sortIndex;return ht!==0?ht:k.id-tt.id}function S(k){for(var tt=h(lt);tt!==null;){if(tt.callback===null)y(lt);else if(tt.startTime<=k)y(lt),tt.sortIndex=tt.expirationTime,d(V,tt);else break;tt=h(lt)}}function T(k){if(Ot=!1,S(k),!pt)if(h(V)!==null)pt=!0,vt||(vt=!0,Lt());else{var tt=h(lt);tt!==null&&A(T,tt.startTime-k)}}function w(){return xt?!0:!(u.unstable_now()-wt<qt)}function A(k,tt){J=Yt(function(){k(u.unstable_now())},tt)}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,C=R.now();u.unstable_now=function(){return R.now()-C}}var V=[],lt=[],dt=1,it=null,st=3,bt=!1,pt=!1,Ot=!1,xt=!1,Yt=typeof setTimeout=="function"?setTimeout:null,Tt=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null,vt=!1,J=-1,qt=5,wt=-1;if(typeof Q=="function")var Lt=function(){Q(s)};else if(typeof MessageChannel<"u"){var be=new MessageChannel,De=be.port2;be.port1.onmessage=s,Lt=function(){De.postMessage(null)}}else Lt=function(){Yt(s,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(k){k.callback=null},u.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):qt=0<k?Math.floor(1e3/k):5},u.unstable_getCurrentPriorityLevel=function(){return st},u.unstable_next=function(k){switch(st){case 1:case 2:case 3:var tt=3;break;default:tt=st}var ht=st;st=tt;try{return k()}finally{st=ht}},u.unstable_requestPaint=function(){xt=!0},u.unstable_runWithPriority=function(k,tt){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var ht=st;st=k;try{return tt()}finally{st=ht}},u.unstable_scheduleCallback=function(k,tt,ht){var zt=u.unstable_now();switch(typeof ht=="object"&&ht!==null?(ht=ht.delay,ht=typeof ht=="number"&&0<ht?zt+ht:zt):ht=zt,k){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=ht+Ht,k={id:dt++,callback:tt,priorityLevel:k,startTime:ht,expirationTime:Ht,sortIndex:-1},ht>zt?(k.sortIndex=ht,d(lt,k),h(V)===null&&k===h(lt)&&(Ot?(Tt(J),J=-1):Ot=!0,A(T,ht-zt))):(k.sortIndex=Ht,d(V,k),pt||bt||(pt=!0,vt||(vt=!0,Lt()))),k},u.unstable_shouldYield=w,u.unstable_wrapCallback=function(k){var tt=st;return function(){var ht=st;st=tt;try{return k.apply(this,arguments)}finally{st=ht}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(O1)),O1}var LT;function VT(){return LT||(LT=1,process.env.NODE_ENV==="production"?N0.exports=jD():N0.exports=ND()),N0.exports}var H0={exports:{}},Ba={};var kT;function HD(){if(kT)return Ba;kT=1;var u=jd();function s(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(s(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 T(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(s(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=T(M,A.crossOrigin),C=typeof A.integrity=="string"?A.integrity:void 0,V=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:C,fetchPriority:V}):M==="script"&&h.d.X(w,{crossOrigin:R,integrity:C,fetchPriority:V,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=T(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=T(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=T(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 YT;function BD(){return YT||(YT=1,process.env.NODE_ENV!=="production"&&(function(){function u(){}function s(R){return""+R}function d(R,C,V){var lt=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{s(lt);var dt=!1}catch{dt=!0}return dt&&(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"),s(lt)),{$$typeof:A,key:lt==null?null:""+lt,children:R,containerInfo:C,implementation:V}}function h(R,C){if(R==="font")return"";if(typeof C=="string")return C==="use-credentials"?C:""}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:
|
|
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 T=jd(),x={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=T.__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=x,La.createPortal=function(R,C){var q=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error("Target container is not a DOM element.");return d(R,C,null,q)},La.flushSync=function(R){var C=M.T,q=x.p;try{if(M.T=null,x.p=2,R)return R()}finally{M.T=C,x.p=q,x.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,C){typeof R=="string"&&R?C!=null&&typeof C!="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(C)):C!=null&&typeof C.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(C.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"&&(C?(C=C.crossOrigin,C=typeof C=="string"?C==="use-credentials"?C:"":void 0):C=null,x.d.C(R,C))},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 C=arguments[1];typeof C=="object"&&C.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(C)):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(C))}typeof R=="string"&&x.d.D(R)},La.preinit=function(R,C){if(typeof R=="string"&&R?C==null||typeof C!="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(C)):C.as!=="style"&&C.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(C.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"&&C&&typeof C.as=="string"){var q=C.as,nt=h(q,C.crossOrigin),ft=typeof C.integrity=="string"?C.integrity:void 0,at=typeof C.fetchPriority=="string"?C.fetchPriority:void 0;q==="style"?x.d.S(R,typeof C.precedence=="string"?C.precedence:void 0,{crossOrigin:nt,integrity:ft,fetchPriority:at}):q==="script"&&x.d.X(R,{crossOrigin:nt,integrity:ft,fetchPriority:at,nonce:typeof C.nonce=="string"?C.nonce:void 0})}},La.preinitModule=function(R,C){var q="";typeof R=="string"&&R||(q+=" The `href` argument encountered was "+y(R)+"."),C!==void 0&&typeof C!="object"?q+=" The `options` argument encountered was "+y(C)+".":C&&"as"in C&&C.as!=="script"&&(q+=" The `as` option encountered was "+b(C.as)+"."),q?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",q):(q=C&&typeof C.as=="string"?C.as:"script",q)==="script"||(q=b(q),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)',q,R)),typeof R=="string"&&(typeof C=="object"&&C!==null?(C.as==null||C.as==="script")&&(q=h(C.as,C.crossOrigin),x.d.M(R,{crossOrigin:q,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0})):C==null&&x.d.M(R))},La.preload=function(R,C){var q="";if(typeof R=="string"&&R||(q+=" The `href` argument encountered was "+y(R)+"."),C==null||typeof C!="object"?q+=" The `options` argument encountered was "+y(C)+".":typeof C.as=="string"&&C.as||(q+=" The `as` option encountered was "+y(C.as)+"."),q&&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',q),typeof R=="string"&&typeof C=="object"&&C!==null&&typeof C.as=="string"){q=C.as;var nt=h(q,C.crossOrigin);x.d.L(R,q,{crossOrigin:nt,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0,type:typeof C.type=="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority=="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy=="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet=="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes=="string"?C.imageSizes:void 0,media:typeof C.media=="string"?C.media:void 0})}},La.preloadModule=function(R,C){var q="";typeof R=="string"&&R||(q+=" The `href` argument encountered was "+y(R)+"."),C!==void 0&&typeof C!="object"?q+=" The `options` argument encountered was "+y(C)+".":C&&"as"in C&&typeof C.as!="string"&&(q+=" The `as` option encountered was "+y(C.as)+"."),q&&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',q),typeof R=="string"&&(C?(q=h(C.as,C.crossOrigin),x.d.m(R,{as:typeof C.as=="string"&&C.as!=="script"?C.as:void 0,crossOrigin:q,integrity:typeof C.integrity=="string"?C.integrity:void 0})):x.d.m(R))},La.requestFormReset=function(R){x.d.r(R)},La.unstable_batchedUpdates=function(R,C){return R(C)},La.useFormState=function(R,C,q){return S().useFormState(R,C,q)},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 YT;function M1(){if(YT)return Hy.exports;YT=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(s){console.error(s)}}}return process.env.NODE_ENV==="production"?(u(),Hy.exports=OD()):Hy.exports=_D(),Hy.exports}var qT;function UD(){if(qT)return ym;qT=1;var u=LT(),s=jd(),d=M1();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 T(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 x(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,r=l;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(r=p.return,r!==null){i=r;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return x(p),n;if(m===r)return x(p),l;m=m.sibling}throw Error(h(188))}if(i.return!==r.return)i=p,r=m;else{for(var E=!1,O=p.child;O;){if(O===i){E=!0,i=p,r=m;break}if(O===r){E=!0,r=p,i=m;break}O=O.sibling}if(!E){for(O=m.child;O;){if(O===i){E=!0,i=m,r=p;break}if(O===r){E=!0,r=m,i=p;break}O=O.sibling}if(!E)throw Error(h(189))}}if(i.alternate!==r)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,C=Symbol.for("react.element"),q=Symbol.for("react.transitional.element"),nt=Symbol.for("react.portal"),ft=Symbol.for("react.fragment"),at=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),St=Symbol.for("react.consumer"),pt=Symbol.for("react.context"),Ut=Symbol.for("react.forward_ref"),xt=Symbol.for("react.suspense"),Gt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),vt=Symbol.for("react.activity"),ht=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function Dt(n){return n===null||typeof n!="object"?null:(n=ae&&n[ae]||n["@@iterator"],typeof n=="function"?n:null)}var Jt=Symbol.for("react.client.reference");function _e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Jt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ft:return"Fragment";case ot:return"Profiler";case at:return"StrictMode";case xt:return"Suspense";case Gt:return"SuspenseList";case vt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case nt:return"Portal";case pt:return n.displayName||"Context";case St:return(n._context.displayName||"Context")+".Consumer";case Ut: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:_e(n.type)||"Memo";case Q:l=n._payload,n=n._init;try{return _e(n(l))}catch{}}return null}var Le=Array.isArray,V=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,dt={pending:!1,data:null,method:null,action:null},Ct=[],Ht=-1;function _(n){return{current:n}}function K(n){0>Ht||(n.current=Ct[Ht],Ct[Ht]=null,Ht--)}function gt(n,l){Ht++,Ct[Ht]=n.current,n.current=l}var mt=_(null),Lt=_(null),te=_(null),Yt=_(null);function We(n,l){switch(gt(te,l),gt(Lt,n),gt(mt,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?bb(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=bb(l),n=D0(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}K(mt),gt(mt,n)}function Ae(){K(mt),K(Lt),K(te)}function Wa(n){n.memoizedState!==null&>(Yt,n);var l=mt.current,i=D0(l,n.type);l!==i&&(gt(Lt,n),gt(mt,i))}function At(n){Lt.current===n&&(K(mt),K(Lt)),Yt.current===n&&(K(Yt),ud._currentValue=dt)}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 T=jd(),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=T.__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,C){var V=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error("Target container is not a DOM element.");return d(R,C,null,V)},La.flushSync=function(R){var C=M.T,V=w.p;try{if(M.T=null,w.p=2,R)return R()}finally{M.T=C,w.p=V,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,C){typeof R=="string"&&R?C!=null&&typeof C!="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(C)):C!=null&&typeof C.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(C.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"&&(C?(C=C.crossOrigin,C=typeof C=="string"?C==="use-credentials"?C:"":void 0):C=null,w.d.C(R,C))},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 C=arguments[1];typeof C=="object"&&C.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(C)):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(C))}typeof R=="string"&&w.d.D(R)},La.preinit=function(R,C){if(typeof R=="string"&&R?C==null||typeof C!="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(C)):C.as!=="style"&&C.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(C.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"&&C&&typeof C.as=="string"){var V=C.as,lt=h(V,C.crossOrigin),dt=typeof C.integrity=="string"?C.integrity:void 0,it=typeof C.fetchPriority=="string"?C.fetchPriority:void 0;V==="style"?w.d.S(R,typeof C.precedence=="string"?C.precedence:void 0,{crossOrigin:lt,integrity:dt,fetchPriority:it}):V==="script"&&w.d.X(R,{crossOrigin:lt,integrity:dt,fetchPriority:it,nonce:typeof C.nonce=="string"?C.nonce:void 0})}},La.preinitModule=function(R,C){var V="";typeof R=="string"&&R||(V+=" The `href` argument encountered was "+y(R)+"."),C!==void 0&&typeof C!="object"?V+=" The `options` argument encountered was "+y(C)+".":C&&"as"in C&&C.as!=="script"&&(V+=" The `as` option encountered was "+b(C.as)+"."),V?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",V):(V=C&&typeof C.as=="string"?C.as:"script",V)==="script"||(V=b(V),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)',V,R)),typeof R=="string"&&(typeof C=="object"&&C!==null?(C.as==null||C.as==="script")&&(V=h(C.as,C.crossOrigin),w.d.M(R,{crossOrigin:V,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0})):C==null&&w.d.M(R))},La.preload=function(R,C){var V="";if(typeof R=="string"&&R||(V+=" The `href` argument encountered was "+y(R)+"."),C==null||typeof C!="object"?V+=" The `options` argument encountered was "+y(C)+".":typeof C.as=="string"&&C.as||(V+=" The `as` option encountered was "+y(C.as)+"."),V&&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',V),typeof R=="string"&&typeof C=="object"&&C!==null&&typeof C.as=="string"){V=C.as;var lt=h(V,C.crossOrigin);w.d.L(R,V,{crossOrigin:lt,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0,type:typeof C.type=="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority=="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy=="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet=="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes=="string"?C.imageSizes:void 0,media:typeof C.media=="string"?C.media:void 0})}},La.preloadModule=function(R,C){var V="";typeof R=="string"&&R||(V+=" The `href` argument encountered was "+y(R)+"."),C!==void 0&&typeof C!="object"?V+=" The `options` argument encountered was "+y(C)+".":C&&"as"in C&&typeof C.as!="string"&&(V+=" The `as` option encountered was "+y(C.as)+"."),V&&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',V),typeof R=="string"&&(C?(V=h(C.as,C.crossOrigin),w.d.m(R,{as:typeof C.as=="string"&&C.as!=="script"?C.as:void 0,crossOrigin:V,integrity:typeof C.integrity=="string"?C.integrity:void 0})):w.d.m(R))},La.requestFormReset=function(R){w.d.r(R)},La.unstable_batchedUpdates=function(R,C){return R(C)},La.useFormState=function(R,C,V){return S().useFormState(R,C,V)},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 qT;function _1(){if(qT)return H0.exports;qT=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(s){console.error(s)}}}return process.env.NODE_ENV==="production"?(u(),H0.exports=HD()):H0.exports=BD(),H0.exports}var GT;function LD(){if(GT)return ym;GT=1;var u=VT(),s=jd(),d=_1();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 T(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,r=l;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(r=p.return,r!==null){i=r;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return w(p),n;if(m===r)return w(p),l;m=m.sibling}throw Error(h(188))}if(i.return!==r.return)i=p,r=m;else{for(var E=!1,O=p.child;O;){if(O===i){E=!0,i=p,r=m;break}if(O===r){E=!0,r=p,i=m;break}O=O.sibling}if(!E){for(O=m.child;O;){if(O===i){E=!0,i=m,r=p;break}if(O===r){E=!0,r=m,i=p;break}O=O.sibling}if(!E)throw Error(h(189))}}if(i.alternate!==r)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,C=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),lt=Symbol.for("react.portal"),dt=Symbol.for("react.fragment"),it=Symbol.for("react.strict_mode"),st=Symbol.for("react.profiler"),bt=Symbol.for("react.consumer"),pt=Symbol.for("react.context"),Ot=Symbol.for("react.forward_ref"),xt=Symbol.for("react.suspense"),Yt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),vt=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),qt=Symbol.iterator;function wt(n){return n===null||typeof n!="object"?null:(n=qt&&n[qt]||n["@@iterator"],typeof n=="function"?n:null)}var Lt=Symbol.for("react.client.reference");function be(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Lt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case dt:return"Fragment";case st:return"Profiler";case it:return"StrictMode";case xt:return"Suspense";case Yt:return"SuspenseList";case vt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case lt:return"Portal";case pt:return n.displayName||"Context";case bt:return(n._context.displayName||"Context")+".Consumer";case Ot: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 Q:l=n._payload,n=n._init;try{return be(n(l))}catch{}}return null}var De=Array.isArray,k=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tt=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ht={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=Dy(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}$(mt),gt(mt,n)}function ze(){$(mt),$(Vt),$(ee)}function Wa(n){n.memoizedState!==null&>(Xt,n);var l=mt.current,i=Dy(l,n.type);l!==i&&(gt(Vt,n),gt(mt,i))}function Rt(n){Vt.current===n&&($(mt),$(Vt)),Xt.current===n&&($(Xt),ud._currentValue=ht)}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(`
|
|
23
23
|
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
24
|
-
`+Fo+n+Wo}var
|
|
25
|
-
`)
|
|
26
|
-
`);for(p=r=0;r<H.length&&!H[r].includes("DetermineComponentFrameRoot");)r++;for(;p
|
|
27
|
-
`+H[r].replace(" at new "," at ");return n.displayName&&
|
|
24
|
+
`+Fo+n+Wo}var Ei=!1;function Ce(n,l){if(!n||Ei)return"";Ei=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(l){var ct=function(){throw Error()};if(Object.defineProperty(ct.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ct,[])}catch(nt){var W=nt}Reflect.construct(n,[],ct)}else{try{ct.call()}catch(nt){W=nt}n.call(ct.prototype)}}else{try{throw Error()}catch(nt){W=nt}(ct=n())&&typeof ct.catch=="function"&&ct.catch(function(){})}}catch(nt){if(nt&&W&&typeof nt.stack=="string")return[nt.stack,W.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=r.DetermineComponentFrameRoot(),E=m[0],O=m[1];if(E&&O){var H=E.split(`
|
|
25
|
+
`),F=O.split(`
|
|
26
|
+
`);for(p=r=0;r<H.length&&!H[r].includes("DetermineComponentFrameRoot");)r++;for(;p<F.length&&!F[p].includes("DetermineComponentFrameRoot");)p++;if(r===H.length||p===F.length)for(r=H.length-1,p=F.length-1;1<=r&&0<=p&&H[r]!==F[p];)p--;for(;1<=r&&0<=p;r--,p--)if(H[r]!==F[p]){if(r!==1||p!==1)do if(r--,p--,0>p||H[r]!==F[p]){var ot=`
|
|
27
|
+
`+H[r].replace(" at new "," at ");return n.displayName&&ot.includes("<anonymous>")&&(ot=ot.replace("<anonymous>",n.displayName)),ot}while(1<=r&&0<=p);break}}}finally{Ei=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Pa(i):""}function ra(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 Ce(n.type,!1);case 11:return Ce(n.type.render,!1);case 1:return Ce(n.type,!0);case 31:return Pa("Activity");default:return""}}function Gu(n){try{var l="",i=null;do l+=ra(n,i),i=n,n=n.return;while(n);return l}catch(r){return`
|
|
28
28
|
Error generating stack: `+r.message+`
|
|
29
|
-
`+r.stack}}var Zc=Object.prototype.hasOwnProperty,Ot=u.unstable_scheduleCallback,Po=u.unstable_cancelCallback,Ei=u.unstable_shouldYield,Xu=u.unstable_requestPaint,Rn=u.unstable_now,Jd=u.unstable_getCurrentPriorityLevel,ir=u.unstable_ImmediatePriority,or=u.unstable_UserBlockingPriority,ql=u.unstable_NormalPriority,Kd=u.unstable_LowPriority,ur=u.unstable_IdlePriority,Jc=u.log,Qu=u.unstable_setDisableYieldValue,xl=null,On=null;function Ia(n){if(typeof Jc=="function"&&Qu(n),On&&typeof On.setStrictMode=="function")try{On.setStrictMode(xl,n)}catch{}}var kn=Math.clz32?Math.clz32:G,Io=Math.log,z=Math.LN2;function G(n){return n>>>=0,n===0?32:31-(Io(n)/z|0)|0}var yt=256,bt=262144,_t=4194304;function Qt(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 r=n.pendingLanes;if(r===0)return 0;var p=0,m=n.suspendedLanes,E=n.pingedLanes;n=n.warmLanes;var O=r&134217727;return O!==0?(r=O&~m,r!==0?p=Qt(r):(E&=O,E!==0?p=Qt(E):i||(i=O&~n,i!==0&&(p=Qt(i))))):(O=r&~m,O!==0?p=Qt(O):E!==0?p=Qt(E):i||(i=r&~n,i!==0&&(p=Qt(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 ee(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=_t;return _t<<=1,(_t&62914560)===0&&(_t=4194304),n}function Al(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 sr(n,l,i,r,p,m){var E=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,$=n.hiddenUpdates;for(i=E&~i;0<i;){var lt=31-kn(i),rt=1<<lt;O[lt]=0,H[lt]=-1;var F=$[lt];if(F!==null)for($[lt]=null,lt=0;lt<F.length;lt++){var et=F[lt];et!==null&&(et.lane&=-536870913)}i&=~rt}r!==0&&Kc(n,r,0),m!==0&&p===0&&n.tag!==0&&(n.suspendedLanes|=m&~(E&~l))}function Kc(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var r=31-kn(l);n.entangledLanes|=l,n.entanglements[r]=n.entanglements[r]|1073741824|i&261930}function wi(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var r=31-kn(i),p=1<<r;p&l|n[r]&l&&(n[r]|=l),i&=~p}}function tl(n,l){var i=l&-l;return i=(i&42)!==0?1:$d(i),(i&(n.suspendedLanes|l))!==0?0:i}function $d(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 Bm(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Fd(){var n=I.p;return n!==0?n:(n=window.event,n===void 0?32:sd(n.type))}function Lm(n,l){var i=I.p;try{return I.p=n,l()}finally{I.p=i}}var Gl=Math.random().toString(36).slice(2),Ve="__reactFiber$"+Gl,Sa="__reactProps$"+Gl,eu="__reactContainer$"+Gl,Wd="__reactEvents$"+Gl,Vm="__reactListeners$"+Gl,uv="__reactHandles$"+Gl,km="__reactResources$"+Gl,xi="__reactMarker$"+Gl;function Pd(n){delete n[Ve],delete n[Sa],delete n[Wd],delete n[Vm],delete n[uv]}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=ci(n);n!==null;){if(i=n[Ve])return i;n=ci(n)}return l}n=i,i=n.parentNode}return null}function Ju(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 rr(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(h(33))}function Ku(n){var l=n[km];return l||(l=n[km]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ue(n){n[xi]=!0}var $u=new Set,nu={};function au(n,l){Ai(n,l),Ai(n+"Capture",l)}function Ai(n,l){for(nu[n]=l,n=0;n<l.length;n++)$u.add(l[n])}var Id=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]*$"),th={},cr={};function fr(n){return Zc.call(cr,n)?!0:Zc.call(th,n)?!1:Id.test(n)?cr[n]=!0:(th[n]=!0,!1)}function dr(n,l,i){if(fr(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var r=l.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function eh(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,r){if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+r)}}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 nh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Ym(n,l,i){var r=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var p=r.get,m=r.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return p.call(this)},set:function(E){i=""+E,m.call(this,E)}}),Object.defineProperty(n,l,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(E){i=""+E},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function ah(n){if(!n._valueTracker){var l=nh(n)?"checked":"value";n._valueTracker=Ym(n,l,""+n[l])}}function qm(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),r="";return n&&(r=nh(n)?n.checked?"true":"false":n.value),n=r,n!==i?(l.setValue(n),!0):!1}function $c(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 l2=/[\n"\\]/g;function nl(n){return n.replace(l2,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Fc(n,l,i,r,p,m,E,O){n.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?n.type=E:n.removeAttribute("type"),l!=null?E==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+el(l)):n.value!==""+el(l)&&(n.value=""+el(l)):E!=="submit"&&E!=="reset"||n.removeAttribute("value"),l!=null?Fu(n,E,el(l)):i!=null?Fu(n,E,el(i)):r!=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 Wc(n,l,i,r,p,m,E,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)){ah(n);return}i=i!=null?""+el(i):"",l=l!=null?""+el(l):i,O||l===n.value||(n.value=l),n.defaultValue=l}r=r??p,r=typeof r!="function"&&typeof r!="symbol"&&!!r,n.checked=O?n.checked:!!r,n.defaultChecked=!!r,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(n.name=E),ah(n)}function Fu(n,l,i){l==="number"&&$c(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function hr(n,l,i,r){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&&r&&(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,r&&(n[p].defaultSelected=!0);return}l!==null||n[p].disabled||(l=n[p])}l!==null&&(l.selected=!0)}}function Gm(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 Xm(n,l,i,r){if(l==null){if(r!=null){if(i!=null)throw Error(h(92));if(Le(r)){if(1<r.length)throw Error(h(93));r=r[0]}i=r}i==null&&(i=""),l=i}i=el(l),n.defaultValue=i,r=n.textContent,r===i&&r!==""&&r!==null&&(n.value=r),ah(n)}function Ri(n,l){if(l){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=l;return}}n.textContent=l}var sv=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 rv(n,l,i){var r=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":r?n.setProperty(l,i):typeof i!="number"||i===0||sv.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function cv(n,l,i){if(l!=null&&typeof l!="object")throw Error(h(62));if(n=n.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||l!=null&&l.hasOwnProperty(r)||(r.indexOf("--")===0?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="");for(var p in l)r=l[p],l.hasOwnProperty(p)&&i[p]!==r&&rv(n,p,r)}else for(var m in l)l.hasOwnProperty(m)&&rv(n,m,l[m])}function Qm(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 i2=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"]]),Pc=/^[\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 Rl(n){return Pc.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Xl(){}var lh=null;function ih(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Di=null,Wu=null;function Ic(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(Fc(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 r=i[l];if(r!==n&&r.form===n.form){var p=r[Sa]||null;if(!p)throw Error(h(90));Fc(r,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)r=i[l],r.form===n.form&&qm(r)}break t;case"textarea":Gm(n,i.value,i.defaultValue);break t;case"select":l=i.value,l!=null&&hr(n,!!i.multiple,l,!1)}}}var pr=!1;function Zm(n,l,i){if(pr)return n(l,i);pr=!0;try{var r=n(l);return r}finally{if(pr=!1,(Di!==null||Wu!==null)&&(Fr(),Di&&(l=Di,n=Wu,Wu=Di=null,Ic(l),n)))for(l=0;l<n.length;l++)Ic(n[l])}}function Yn(n,l){var i=n.stateNode;if(i===null)return null;var r=i[Sa]||null;if(r===null)return null;i=r[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":(r=!r.disabled)||(n=n.type,r=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!r;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"),tf=!1;if(vo)try{var mr={};Object.defineProperty(mr,"passive",{get:function(){tf=!0}}),window.addEventListener("test",mr,mr),window.removeEventListener("test",mr,mr)}catch{tf=!1}var bo=null,Jm=null,oh=null;function Km(){if(oh)return oh;var n,l=Jm,i=l.length,r,p="value"in bo?bo.value:bo.textContent,m=p.length;for(n=0;n<i&&l[n]===p[n];n++);var E=i-n;for(r=1;r<=E&&l[i-r]===p[m-r];r++);return oh=p.slice(n,1<r?1-r:void 0)}function uh(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 ef(){return!0}function fv(){return!1}function aa(n){function l(i,r,p,m,E){this._reactName=i,this._targetInst=p,this.type=r,this.nativeEvent=m,this.target=E,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)?ef:fv,this.isPropagationStopped=fv,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=ef)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=ef)},persist:function(){},isPersistent:ef}),l}var lu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nf=aa(lu),gr=R({},lu,{view:0,detail:0}),o2=aa(gr),$m,Fm,af,sh=R({},gr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dl,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!==af&&(af&&n.type==="mousemove"?($m=n.screenX-af.screenX,Fm=n.screenY-af.screenY):Fm=$m=0,af=n),$m)},movementY:function(n){return"movementY"in n?n.movementY:Fm}}),yr=aa(sh),dv=R({},sh,{dataTransfer:0}),hv=aa(dv),pv=R({},gr,{relatedTarget:0}),rh=aa(pv),Wm=R({},lu,{animationName:0,elapsedTime:0,pseudoElement:0}),mv=aa(Wm),Pu=R({},lu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Iu=aa(Pu),Ql=R({},lu,{data:0}),gv=aa(Ql),Pm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ci={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},yv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zl(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=yv[n])?!!l[n]:!1}function Dl(){return Zl}var ch=R({},gr,{key:function(n){if(n.key){var l=Pm[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=uh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ci[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dl,charCode:function(n){return n.type==="keypress"?uh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?uh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),fh=aa(ch),Im=R({},sh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jl=aa(Im),u2=R({},gr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dl}),vv=aa(u2),bv=R({},lu,{propertyName:0,elapsedTime:0,pseudoElement:0}),s2=aa(bv),tg=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}),r2=aa(tg),Sv=R({},lu,{newState:0,oldState:0}),eg=aa(Sv),dh=[9,13,27,32],vr=vo&&"CompositionEvent"in window,ts=null;vo&&"documentMode"in document&&(ts=document.documentMode);var fa=vo&&"TextEvent"in window&&!ts,ng=vo&&(!vr||ts&&8<ts&&11>=ts),lf=" ",iu=!1;function hh(n,l){switch(n){case"keyup":return dh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ag(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var es=!1;function Tv(n,l){switch(n){case"compositionend":return ag(l);case"keypress":return l.which!==32?null:(iu=!0,lf);case"textInput":return n=l.data,n===lf&&iu?null:n;default:return null}}function c2(n,l){if(es)return n==="compositionend"||!vr&&hh(n,l)?(n=Km(),oh=Jm=bo=null,es=!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 ng&&l.locale!=="ko"?null:l.data;default:return null}}var lg={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 zi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!lg[n.type]:l==="textarea"}function ig(n,l,i,r){Di?Wu?Wu.push(r):Wu=[r]:Di=r,l=ed(l,"onChange"),0<l.length&&(i=new nf("onChange","change",null,i,r),n.push({event:i,listeners:l}))}var ns=null,ou=null;function as(n){gb(n,0)}function br(n){var l=rr(n);if(qm(l))return n}function og(n,l){if(n==="change")return l}var ph=!1;if(vo){var Ta;if(vo){var Kl="oninput"in document;if(!Kl){var ug=document.createElement("div");ug.setAttribute("oninput","return;"),Kl=typeof ug.oninput=="function"}Ta=Kl}else Ta=!1;ph=Ta&&(!document.documentMode||9<document.documentMode)}function mh(){ns&&(ns.detachEvent("onpropertychange",gh),ou=ns=null)}function gh(n){if(n.propertyName==="value"&&br(ou)){var l=[];ig(l,ou,n,ih(n)),Zm(as,l)}}function Ev(n,l,i){n==="focusin"?(mh(),ns=l,ou=i,ns.attachEvent("onpropertychange",gh)):n==="focusout"&&mh()}function wv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return br(ou)}function uu(n,l){if(n==="click")return br(l)}function ls(n,l){if(n==="input"||n==="change")return br(l)}function xv(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var da=typeof Object.is=="function"?Object.is:xv;function Cl(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),r=Object.keys(l);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var p=i[r];if(!Zc.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 rg(n,l){var i=sg(n);n=0;for(var r;i;){if(i.nodeType===3){if(r=n+i.textContent.length,n<=l&&r>=l)return{node:i,offset:l-n};n=r}t:{for(;i;){if(i.nextSibling){i=i.nextSibling;break t}i=i.parentNode}i=void 0}i=sg(i)}}function is(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?is(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=$c(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=$c(n.document)}return l}function of(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 uf=vo&&"documentMode"in document&&11>=document.documentMode,ru=null,Sr=null,zl=null,$l=!1;function yh(n,l,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;$l||ru==null||ru!==$c(r)||(r=ru,"selectionStart"in r&&of(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),zl&&Cl(zl,r)||(zl=r,r=ed(Sr,"onSelect"),0<r.length&&(l=new nf("onSelect","select",null,l,i),n.push({event:l,listeners:r}),l.target=ru)))}function So(n,l){var i={};return i[n.toLowerCase()]=l.toLowerCase(),i["Webkit"+n]="webkit"+l,i["Moz"+n]="moz"+l,i}var Fl={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")},Tr={},cu={};vo&&(cu=document.createElement("div").style,"AnimationEvent"in window||(delete Fl.animationend.animation,delete Fl.animationiteration.animation,delete Fl.animationstart.animation),"TransitionEvent"in window||delete Fl.transitionend.transition);function ze(n){if(Tr[n])return Tr[n];if(!Fl[n])return n;var l=Fl[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in cu)return Tr[n]=l[i];return n}var sf=ze("animationend"),cg=ze("animationiteration"),vh=ze("animationstart"),os=ze("transitionrun"),rf=ze("transitionstart"),Mi=ze("transitioncancel"),Av=ze("transitionend"),Oi=new Map,Er="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(" ");Er.push("scrollEnd");function Ea(n,l){Oi.set(n,l),au(l,[n])}var us=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,Ml=0;function al(){for(var n=qn,l=Ml=qn=0;l<n;){var i=tn[l];tn[l++]=null;var r=tn[l];tn[l++]=null;var p=tn[l];tn[l++]=null;var m=tn[l];if(tn[l++]=null,r!==null&&p!==null){var E=r.pending;E===null?p.next=p:(p.next=E.next,E.next=p),r.pending=p}m!==0&&bh(i,p,m)}}function ll(n,l,i,r){tn[qn++]=n,tn[qn++]=l,tn[qn++]=i,tn[qn++]=r,Ml|=r,n.lanes|=r,n=n.alternate,n!==null&&(n.lanes|=r)}function Ol(n,l,i,r){return ll(n,l,i,r),cf(n)}function To(n,l){return ll(n,null,null,l),cf(n)}function bh(n,l,i){n.lanes|=i;var r=n.alternate;r!==null&&(r.lanes|=i);for(var p=!1,m=n.return;m!==null;)m.childLanes|=i,r=m.alternate,r!==null&&(r.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-kn(i),n=m.hiddenUpdates,r=n[p],r===null?n[p]=[l]:r.push(l),l.lane=i|536870912),m):null}function cf(n){if(50<$r)throw $r=0,Zf=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 Rv(n,l,i,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(n,l,i,r){return new Rv(n,l,i,r)}function ss(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Eo(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 fg(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 Sh(n,l,i,r,p,m){var E=0;if(r=n,typeof n=="function")ss(n)&&(E=1);else if(typeof n=="string")E=j0(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 ft:return wo(i.children,p,m,l);case at:E=8,p|=24;break;case ot:return n=hn(12,i,l,p|2),n.elementType=ot,n.lanes=m,n;case xt:return n=hn(13,i,l,p),n.elementType=xt,n.lanes=m,n;case Gt:return n=hn(19,i,l,p),n.elementType=Gt,n.lanes=m,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case pt:E=10;break t;case St:E=9;break t;case Ut:E=11;break t;case Tt:E=14;break t;case Q:E=16,r=null;break t}E=29,i=Error(h(130,n===null?"null":typeof n,"")),r=null}return l=hn(E,i,l,p),l.elementType=n,l.type=r,l.lanes=m,l}function wo(n,l,i,r){return n=hn(7,n,r,l),n.lanes=i,n}function wr(n,l,i){return n=hn(6,n,null,l),n.lanes=i,n}function dg(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 hg=new WeakMap;function il(n,l){if(typeof n=="object"&&n!==null){var i=hg.get(n);return i!==void 0?i:(l={value:n,source:l,stack:Gu(l)},hg.set(n,l),l)}return{value:n,source:l,stack:Gu(l)}}var ol=[],rs=0,ff=null,Sn=0,ka=[],xa=0,Wl=null,Ya=1,Pl="";function _l(n,l){ol[rs++]=Sn,ol[rs++]=ff,ff=n,Sn=l}function pg(n,l,i){ka[xa++]=Ya,ka[xa++]=Pl,ka[xa++]=Wl,Wl=n;var r=Ya;n=Pl;var p=32-kn(r)-1;r&=~(1<<p),i+=1;var m=32-kn(l)+p;if(30<m){var E=p-p%5;m=(r&(1<<E)-1).toString(32),r>>=E,p-=E,Ya=1<<32-kn(l)+p|i<<p|r,Pl=m+n}else Ya=1<<m|i<<p|r,Pl=n}function xr(n){n.return!==null&&(_l(n,1),pg(n,1,0))}function Eh(n){for(;n===ff;)ff=ol[--rs],ol[rs]=null,Sn=ol[--rs],ol[rs]=null;for(;n===Wl;)Wl=ka[--xa],ka[xa]=null,Pl=ka[--xa],ka[xa]=null,Ya=ka[--xa],ka[xa]=null}function df(n,l){ka[xa++]=Ya,ka[xa++]=Pl,ka[xa++]=Wl,Ya=l.id,Pl=l.overflow,Wl=n}var Gn=null,Ze=null,ye=!1,_i=null,_n=!1,Ui=Error(h(519));function Ul(n){var l=Error(h(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Rr(il(l,n)),Ui}function hf(n){var l=n.stateNode,i=n.type,r=n.memoizedProps;switch(l[Ve]=n,l[Sa]=r,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<ec.length;i++)ge(ec[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),Wc(l,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":ge("invalid",l);break;case"textarea":ge("invalid",l),Xm(l,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||r.suppressHydrationWarning===!0||w0(l.textContent,i)?(r.popover!=null&&(ge("beforetoggle",l),ge("toggle",l)),r.onScroll!=null&&ge("scroll",l),r.onScrollEnd!=null&&ge("scrollend",l),r.onClick!=null&&(l.onclick=Xl),l=!0):l=!1,l||Ul(n,!0)}function Ar(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 ji(n){if(n!==Gn)return!1;if(!ye)return Ar(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")||ac(n.type,n.memoizedProps)),i=!i),i&&Ze&&Ul(n),Ar(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Ap(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Ap(n)}else l===27?(l=Ze,ri(n.type)?(n=ld,ld=null,Ze=n):Ze=l):Ze=Gn?ja(n.stateNode.nextSibling):null;return!0}function fu(){Ze=Gn=null,ye=!1}function mg(){var n=_i;return n!==null&&(fn===null?fn=n:fn.push.apply(fn,n),_i=null),n}function Rr(n){_i===null?_i=[n]:_i.push(n)}var wh=_(null),xo=null,Il=null;function Aa(n,l,i){gt(wh,l._currentValue),l._currentValue=i}function ti(n){n._currentValue=wh.current,K(wh)}function xh(n,l,i){for(;n!==null;){var r=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,r!==null&&(r.childLanes|=l)):r!==null&&(r.childLanes&l)!==l&&(r.childLanes|=l),n===i)break;n=n.return}}function Ni(n,l,i,r){var p=n.child;for(p!==null&&(p.return=n);p!==null;){var m=p.dependencies;if(m!==null){var E=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),xh(m.return,i,n),r||(E=null);break t}m=O.next}}else if(p.tag===18){if(E=p.return,E===null)throw Error(h(341));E.lanes|=i,m=E.alternate,m!==null&&(m.lanes|=i),xh(E,i,n),E=null}else E=p.child;if(E!==null)E.return=p;else for(E=p;E!==null;){if(E===n){E=null;break}if(p=E.sibling,p!==null){p.return=E.return,E=p;break}E=E.return}p=E}}function Xn(n,l,i,r){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 E=p.alternate;if(E===null)throw Error(h(387));if(E=E.memoizedProps,E!==null){var O=p.type;da(p.pendingProps.value,E.value)||(n!==null?n.push(O):n=[O])}}else if(p===Yt.current){if(E=p.alternate,E===null)throw Error(h(387));E.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(n!==null?n.push(ud):n=[ud])}p=p.return}n!==null&&Ni(l,n,i,r),l.flags|=262144}function cs(n){for(n=n.firstContext;n!==null;){if(!da(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Wt(n){xo=n,Il=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ct(n){return pf(xo,n)}function Ao(n,l){return xo===null&&Wt(n),pf(n,l)}function pf(n,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},Il===null){if(n===null)throw Error(h(308));Il=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else Il=Il.next=l;return i}var pn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(i,r){n.push(r)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},gg=u.unstable_scheduleCallback,yg=u.unstable_NormalPriority,Tn={$$typeof:pt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new pn,data:new Map,refCount:0}}function gf(n){n.refCount--,n.refCount===0&&gg(yg,function(){n.controller.abort()})}var fs=null,yf=0,du=0,Dn=null;function je(n,l){if(fs===null){var i=fs=[];yf=0,du=yp(),Dn={status:"pending",value:void 0,then:function(r){i.push(r)}}}return yf++,l.then(vf,vf),l}function vf(){if(--yf===0&&fs!==null){Dn!==null&&(Dn.status="fulfilled");var n=fs;fs=null,du=0,Dn=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function bf(n,l){var i=[],r={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return n.then(function(){r.status="fulfilled",r.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(r.status="rejected",r.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),r}var Ro=V.S;V.S=function(n,l){c0=Rn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&je(n,l),Ro!==null&&Ro(n,l)};var ul=_(null);function sl(){var n=ul.current;return n!==null?n:Ye.pooledCache}function Dr(n,l){l===null?gt(ul,ul.current):gt(ul,l.pool)}function ds(){var n=sl();return n===null?null:{parent:Tn._currentValue,pool:n}}var hu=Error(h(460)),hs=Error(h(474)),Cr=Error(h(542)),ps={then:function(){}};function vg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function bg(n,l,i){switch(i=n[i],i===void 0?n.push(l):i!==l&&(l.then(Xl,Xl),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ah(n),n;default:if(typeof l.status=="string")l.then(Xl,Xl);else{if(n=Ye,n!==null&&100<n.shellSuspendCounter)throw Error(h(482));n=l,n.status="pending",n.then(function(r){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=r}},function(r){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=r}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ah(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 Sg(){if(mu===null)throw Error(h(459));var n=mu;return mu=null,n}function Ah(n){if(n===hu||n===Cr)throw Error(h(483))}var gu=null,ms=0;function Sf(n){var l=ms;return ms+=1,gu===null&&(gu=[]),bg(gu,n,l)}function zr(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Tf(n,l){throw l.$$typeof===C?Error(h(525)):(n=Object.prototype.toString.call(l),Error(h(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Dv(n){function l(X,k){if(n){var Z=X.deletions;Z===null?(X.deletions=[k],X.flags|=16):Z.push(k)}}function i(X,k){if(!n)return null;for(;k!==null;)l(X,k),k=k.sibling;return null}function r(X){for(var k=new Map;X!==null;)X.key!==null?k.set(X.key,X):k.set(X.index,X),X=X.sibling;return k}function p(X,k){return X=Eo(X,k),X.index=0,X.sibling=null,X}function m(X,k,Z){return X.index=Z,n?(Z=X.alternate,Z!==null?(Z=Z.index,Z<k?(X.flags|=67108866,k):Z):(X.flags|=67108866,k)):(X.flags|=1048576,k)}function E(X){return n&&X.alternate===null&&(X.flags|=67108866),X}function O(X,k,Z,ut){return k===null||k.tag!==6?(k=wr(Z,X.mode,ut),k.return=X,k):(k=p(k,Z),k.return=X,k)}function H(X,k,Z,ut){var Vt=Z.type;return Vt===ft?lt(X,k,Z.props.children,ut,Z.key):k!==null&&(k.elementType===Vt||typeof Vt=="object"&&Vt!==null&&Vt.$$typeof===Q&&pu(Vt)===k.type)?(k=p(k,Z.props),zr(k,Z),k.return=X,k):(k=Sh(Z.type,Z.key,Z.props,null,X.mode,ut),zr(k,Z),k.return=X,k)}function $(X,k,Z,ut){return k===null||k.tag!==4||k.stateNode.containerInfo!==Z.containerInfo||k.stateNode.implementation!==Z.implementation?(k=Th(Z,X.mode,ut),k.return=X,k):(k=p(k,Z.children||[]),k.return=X,k)}function lt(X,k,Z,ut,Vt){return k===null||k.tag!==7?(k=wo(Z,X.mode,ut,Vt),k.return=X,k):(k=p(k,Z),k.return=X,k)}function rt(X,k,Z){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=wr(""+k,X.mode,Z),k.return=X,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case q:return Z=Sh(k.type,k.key,k.props,null,X.mode,Z),zr(Z,k),Z.return=X,Z;case nt:return k=Th(k,X.mode,Z),k.return=X,k;case Q:return k=pu(k),rt(X,k,Z)}if(Le(k)||Dt(k))return k=wo(k,X.mode,Z,null),k.return=X,k;if(typeof k.then=="function")return rt(X,Sf(k),Z);if(k.$$typeof===pt)return rt(X,Ao(X,k),Z);Tf(X,k)}return null}function F(X,k,Z,ut){var Vt=k!==null?k.key:null;if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Vt!==null?null:O(X,k,""+Z,ut);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case q:return Z.key===Vt?H(X,k,Z,ut):null;case nt:return Z.key===Vt?$(X,k,Z,ut):null;case Q:return Z=pu(Z),F(X,k,Z,ut)}if(Le(Z)||Dt(Z))return Vt!==null?null:lt(X,k,Z,ut,null);if(typeof Z.then=="function")return F(X,k,Sf(Z),ut);if(Z.$$typeof===pt)return F(X,k,Ao(X,Z),ut);Tf(X,Z)}return null}function et(X,k,Z,ut,Vt){if(typeof ut=="string"&&ut!==""||typeof ut=="number"||typeof ut=="bigint")return X=X.get(Z)||null,O(k,X,""+ut,Vt);if(typeof ut=="object"&&ut!==null){switch(ut.$$typeof){case q:return X=X.get(ut.key===null?Z:ut.key)||null,H(k,X,ut,Vt);case nt:return X=X.get(ut.key===null?Z:ut.key)||null,$(k,X,ut,Vt);case Q:return ut=pu(ut),et(X,k,Z,ut,Vt)}if(Le(ut)||Dt(ut))return X=X.get(Z)||null,lt(k,X,ut,Vt,null);if(typeof ut.then=="function")return et(X,k,Z,Sf(ut),Vt);if(ut.$$typeof===pt)return et(X,k,Z,Ao(k,ut),Vt);Tf(k,ut)}return null}function zt(X,k,Z,ut){for(var Vt=null,we=null,Nt=k,ne=k=0,ue=null;Nt!==null&&ne<Z.length;ne++){Nt.index>ne?(ue=Nt,Nt=null):ue=Nt.sibling;var Ce=F(X,Nt,Z[ne],ut);if(Ce===null){Nt===null&&(Nt=ue);break}n&&Nt&&Ce.alternate===null&&l(X,Nt),k=m(Ce,k,ne),we===null?Vt=Ce:we.sibling=Ce,we=Ce,Nt=ue}if(ne===Z.length)return i(X,Nt),ye&&_l(X,ne),Vt;if(Nt===null){for(;ne<Z.length;ne++)Nt=rt(X,Z[ne],ut),Nt!==null&&(k=m(Nt,k,ne),we===null?Vt=Nt:we.sibling=Nt,we=Nt);return ye&&_l(X,ne),Vt}for(Nt=r(Nt);ne<Z.length;ne++)ue=et(Nt,X,ne,Z[ne],ut),ue!==null&&(n&&ue.alternate!==null&&Nt.delete(ue.key===null?ne:ue.key),k=m(ue,k,ne),we===null?Vt=ue:we.sibling=ue,we=ue);return n&&Nt.forEach(function(di){return l(X,di)}),ye&&_l(X,ne),Vt}function Xt(X,k,Z,ut){if(Z==null)throw Error(h(151));for(var Vt=null,we=null,Nt=k,ne=k=0,ue=null,Ce=Z.next();Nt!==null&&!Ce.done;ne++,Ce=Z.next()){Nt.index>ne?(ue=Nt,Nt=null):ue=Nt.sibling;var di=F(X,Nt,Ce.value,ut);if(di===null){Nt===null&&(Nt=ue);break}n&&Nt&&di.alternate===null&&l(X,Nt),k=m(di,k,ne),we===null?Vt=di:we.sibling=di,we=di,Nt=ue}if(Ce.done)return i(X,Nt),ye&&_l(X,ne),Vt;if(Nt===null){for(;!Ce.done;ne++,Ce=Z.next())Ce=rt(X,Ce.value,ut),Ce!==null&&(k=m(Ce,k,ne),we===null?Vt=Ce:we.sibling=Ce,we=Ce);return ye&&_l(X,ne),Vt}for(Nt=r(Nt);!Ce.done;ne++,Ce=Z.next())Ce=et(Nt,X,ne,Ce.value,ut),Ce!==null&&(n&&Ce.alternate!==null&&Nt.delete(Ce.key===null?ne:Ce.key),k=m(Ce,k,ne),we===null?Vt=Ce:we.sibling=Ce,we=Ce);return n&&Nt.forEach(function(Ob){return l(X,Ob)}),ye&&_l(X,ne),Vt}function Ge(X,k,Z,ut){if(typeof Z=="object"&&Z!==null&&Z.type===ft&&Z.key===null&&(Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case q:t:{for(var Vt=Z.key;k!==null;){if(k.key===Vt){if(Vt=Z.type,Vt===ft){if(k.tag===7){i(X,k.sibling),ut=p(k,Z.props.children),ut.return=X,X=ut;break t}}else if(k.elementType===Vt||typeof Vt=="object"&&Vt!==null&&Vt.$$typeof===Q&&pu(Vt)===k.type){i(X,k.sibling),ut=p(k,Z.props),zr(ut,Z),ut.return=X,X=ut;break t}i(X,k);break}else l(X,k);k=k.sibling}Z.type===ft?(ut=wo(Z.props.children,X.mode,ut,Z.key),ut.return=X,X=ut):(ut=Sh(Z.type,Z.key,Z.props,null,X.mode,ut),zr(ut,Z),ut.return=X,X=ut)}return E(X);case nt:t:{for(Vt=Z.key;k!==null;){if(k.key===Vt)if(k.tag===4&&k.stateNode.containerInfo===Z.containerInfo&&k.stateNode.implementation===Z.implementation){i(X,k.sibling),ut=p(k,Z.children||[]),ut.return=X,X=ut;break t}else{i(X,k);break}else l(X,k);k=k.sibling}ut=Th(Z,X.mode,ut),ut.return=X,X=ut}return E(X);case Q:return Z=pu(Z),Ge(X,k,Z,ut)}if(Le(Z))return zt(X,k,Z,ut);if(Dt(Z)){if(Vt=Dt(Z),typeof Vt!="function")throw Error(h(150));return Z=Vt.call(Z),Xt(X,k,Z,ut)}if(typeof Z.then=="function")return Ge(X,k,Sf(Z),ut);if(Z.$$typeof===pt)return Ge(X,k,Ao(X,Z),ut);Tf(X,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint"?(Z=""+Z,k!==null&&k.tag===6?(i(X,k.sibling),ut=p(k,Z),ut.return=X,X=ut):(i(X,k),ut=wr(Z,X.mode,ut),ut.return=X,X=ut),E(X)):i(X,k)}return function(X,k,Z,ut){try{ms=0;var Vt=Ge(X,k,Z,ut);return gu=null,Vt}catch(Nt){if(Nt===hu||Nt===Cr)throw Nt;var we=hn(29,Nt,null,X.mode);return we.lanes=ut,we.return=X,we}}}var yu=Dv(!0),Tg=Dv(!1),Do=!1;function Ef(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rh(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 rl(n,l,i){var r=n.updateQueue;if(r===null)return null;if(r=r.shared,(De&2)!==0){var p=r.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),r.pending=l,l=cf(n),bh(n,null,i),l}return ll(n,r,l,i),cf(n)}function vu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var r=l.lanes;r&=n.pendingLanes,i|=r,l.lanes=i,wi(n,i)}}function Dh(n,l){var i=n.updateQueue,r=n.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var E={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?p=m=E:m=m.next=E,i=i.next}while(i!==null);m===null?p=m=l:m=m.next=l}else p=m=l;i={baseState:r.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:r.shared,callbacks:r.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var Eg=!1;function bu(){if(Eg){var n=Dn;if(n!==null)throw n}}function Hi(n,l,i,r){Eg=!1;var p=n.updateQueue;Do=!1;var m=p.firstBaseUpdate,E=p.lastBaseUpdate,O=p.shared.pending;if(O!==null){p.shared.pending=null;var H=O,$=H.next;H.next=null,E===null?m=$:E.next=$,E=H;var lt=n.alternate;lt!==null&&(lt=lt.updateQueue,O=lt.lastBaseUpdate,O!==E&&(O===null?lt.firstBaseUpdate=$:O.next=$,lt.lastBaseUpdate=H))}if(m!==null){var rt=p.baseState;E=0,lt=$=H=null,O=m;do{var F=O.lane&-536870913,et=F!==O.lane;if(et?(pe&F)===F:(r&F)===F){F!==0&&F===du&&(Eg=!0),lt!==null&&(lt=lt.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});t:{var zt=n,Xt=O;F=l;var Ge=i;switch(Xt.tag){case 1:if(zt=Xt.payload,typeof zt=="function"){rt=zt.call(Ge,rt,F);break t}rt=zt;break t;case 3:zt.flags=zt.flags&-65537|128;case 0:if(zt=Xt.payload,F=typeof zt=="function"?zt.call(Ge,rt,F):zt,F==null)break t;rt=R({},rt,F);break t;case 2:Do=!0}}F=O.callback,F!==null&&(n.flags|=64,et&&(n.flags|=8192),et=p.callbacks,et===null?p.callbacks=[F]:et.push(F))}else et={lane:F,tag:O.tag,payload:O.payload,callback:O.callback,next:null},lt===null?($=lt=et,H=rt):lt=lt.next=et,E|=F;if(O=O.next,O===null){if(O=p.shared.pending,O===null)break;et=O,O=et.next,et.next=null,p.lastBaseUpdate=et,p.shared.pending=null}}while(!0);lt===null&&(H=rt),p.baseState=H,p.firstBaseUpdate=$,p.lastBaseUpdate=lt,m===null&&(p.shared.lanes=0),ui|=E,n.lanes=E,n.memoizedState=rt}}function Ch(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++)Ch(i[n],l)}var Un=_(null),gs=_(0);function Cv(n,l){n=oi,gt(gs,n),gt(Un,l),oi=n|l.baseLanes}function wf(){gt(gs,oi),gt(Un,Un.current)}function Mr(){oi=gs.current,K(Un),K(gs)}var Ra=_(null),cl=null;function Bi(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 Or(n){gt(en,en.current),gt(Ra,n),cl===null&&(cl=n)}function zh(n){n.tag===22?(gt(en,en.current),gt(Ra,n),cl===null&&(cl=n)):ei()}function ei(){gt(en,en.current),gt(Ra,Ra.current)}function Da(n){K(Ra),cl===n&&(cl=null),K(en)}var en=_(0);function _r(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Bl(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 Li=0,le=null,Ne=null,En=null,ys=!1,vs=!1,zo=!1,xf=0,Ur=0,Tu=null,zv=0;function rn(){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 Af(n,l,i,r,p,m){return Li=m,le=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,V.H=n===null||n.memoizedState===null?Bv:Zh,zo=!1,m=i(r,p),zo=!1,vs&&(m=Mv(l,i,r,p)),Mh(n),m}function Mh(n){V.H=jf;var l=Ne!==null&&Ne.next!==null;if(Li=0,En=Ne=le=null,ys=!1,Ur=0,Tu=null,l)throw Error(h(300));n===null||wn||(n=n.dependencies,n!==null&&cs(n)&&(wn=!0))}function Mv(n,l,i,r){le=n;var p=0;do{if(vs&&(Tu=null),Ur=0,vs=!1,25<=p)throw Error(h(301));if(p+=1,En=Ne=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=Lv,m=l(i,r)}while(vs);return m}function f2(){var n=V.H,l=n.useState()[0];return l=typeof l.then=="function"?Ss(l):l,n=n.useState()[0],(Ne!==null?Ne.memoizedState:null)!==n&&(le.flags|=1024),l}function Oh(){var n=xf!==0;return xf=0,n}function bs(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Rf(n){if(ys){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}ys=!1}Li=0,En=Ne=le=null,vs=!1,Ur=xf=0,Tu=null}function Qn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return En===null?le.memoizedState=En=n:En=En.next=n,En}function mn(){if(Ne===null){var n=le.alternate;n=n!==null?n.memoizedState:null}else n=Ne.next;var l=En===null?le.memoizedState:En.next;if(l!==null)En=l,Ne=n;else{if(n===null)throw le.alternate===null?Error(h(467)):Error(h(310));Ne=n,n={memoizedState:Ne.memoizedState,baseState:Ne.baseState,baseQueue:Ne.baseQueue,queue:Ne.queue,next:null},En===null?le.memoizedState=En=n:En=En.next=n}return En}function Df(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ss(n){var l=Ur;return Ur+=1,Tu===null&&(Tu=[]),n=bg(Tu,n,l),l=le,(En===null?l.memoizedState:En.next)===null&&(l=l.alternate,V.H=l===null||l.memoizedState===null?Bv:Zh),n}function jr(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Ss(n);if(n.$$typeof===pt)return ct(n)}throw Error(h(438,String(n)))}function _h(n){var l=null,i=le.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var r=le.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(l={data:r.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Df(),le.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),r=0;r<n;r++)i[r]=ht;return l.index++,i}function Vi(n,l){return typeof l=="function"?l(n):l}function ki(n){var l=mn();return Uh(l,Ne,n)}function Uh(n,l,i){var r=n.queue;if(r===null)throw Error(h(311));r.lastRenderedReducer=i;var p=n.baseQueue,m=r.pending;if(m!==null){if(p!==null){var E=p.next;p.next=m.next,m.next=E}l.baseQueue=p=m,r.pending=null}if(m=n.baseState,p===null)n.memoizedState=m;else{l=p.next;var O=E=null,H=null,$=l,lt=!1;do{var rt=$.lane&-536870913;if(rt!==$.lane?(pe&rt)===rt:(Li&rt)===rt){var F=$.revertLane;if(F===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),rt===du&&(lt=!0);else if((Li&F)===F){$=$.next,F===du&&(lt=!0);continue}else rt={lane:0,revertLane:$.revertLane,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},H===null?(O=H=rt,E=m):H=H.next=rt,le.lanes|=F,ui|=F;rt=$.action,zo&&i(m,rt),m=$.hasEagerState?$.eagerState:i(m,rt)}else F={lane:rt,revertLane:$.revertLane,gesture:$.gesture,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},H===null?(O=H=F,E=m):H=H.next=F,le.lanes|=rt,ui|=rt;$=$.next}while($!==null&&$!==l);if(H===null?E=m:H.next=O,!da(m,n.memoizedState)&&(wn=!0,lt&&(i=Dn,i!==null)))throw i;n.memoizedState=m,n.baseState=E,n.baseQueue=H,r.lastRenderedState=m}return p===null&&(r.lanes=0),[n.memoizedState,r.dispatch]}function jh(n){var l=mn(),i=l.queue;if(i===null)throw Error(h(311));i.lastRenderedReducer=n;var r=i.dispatch,p=i.pending,m=l.memoizedState;if(p!==null){i.pending=null;var E=p=p.next;do m=n(m,E.action),E=E.next;while(E!==p);da(m,l.memoizedState)||(wn=!0),l.memoizedState=m,l.baseQueue===null&&(l.baseState=m),i.lastRenderedState=m}return[m,r]}function wg(n,l,i){var r=le,p=mn(),m=ye;if(m){if(i===void 0)throw Error(h(407));i=i()}else i=l();var E=!da((Ne||p).memoizedState,i);if(E&&(p.memoizedState=i,wn=!0),p=p.queue,Vh(Nh.bind(null,r,p,n),[n]),p.getSnapshot!==l||E||En!==null&&En.memoizedState.tag&1){if(r.flags|=2048,Es(9,{destroy:void 0},xg.bind(null,r,p,i,l),null),Ye===null)throw Error(h(349));m||(Li&127)!==0||Cf(r,l,i)}return i}function Cf(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=le.updateQueue,l===null?(l=Df(),le.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function xg(n,l,i,r){l.value=i,l.getSnapshot=r,Hh(l)&&Bh(n)}function Nh(n,l,i){return i(function(){Hh(l)&&Bh(n)})}function Hh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!da(n,i)}catch{return!0}}function Bh(n){var l=To(n,2);l!==null&&Ua(l,n,2)}function Ag(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,r){return n.baseState=i,Uh(n,Ne,typeof r=="function"?r:Vi)}function Ov(n,l,i,r,p){if(Uf(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(E){m.listeners.push(E)}};V.T!==null?i(!0):m.isTransition=!1,r(m),i=l.pending,i===null?(m.next=l.pending=m,Rg(l,m)):(m.next=i.next,l.pending=i.next=m)}}function Rg(n,l){var i=l.action,r=l.payload,p=n.state;if(l.isTransition){var m=V.T,E={};V.T=E;try{var O=i(p,r),H=V.S;H!==null&&H(E,O),Dg(n,l,O)}catch($){Ts(n,l,$)}finally{m!==null&&E.types!==null&&(m.types=E.types),V.T=m}}else try{m=i(p,r),Dg(n,l,m)}catch($){Ts(n,l,$)}}function Dg(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){Cg(n,l,r)},function(r){return Ts(n,l,r)}):Cg(n,l,i)}function Cg(n,l,i){l.status="fulfilled",l.value=i,zg(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,Rg(n,i)))}function Ts(n,l,i){var r=n.pending;if(n.pending=null,r!==null){r=r.next;do l.status="rejected",l.reason=i,zg(l),l=l.next;while(l!==r)}n.action=null}function zg(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function zf(n,l){return l}function Mg(n,l){if(ye){var i=Ye.formState;if(i!==null){t:{var r=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),r=p.data==="F!";break t}}Ul(r)}r=!1}r&&(l=i[0])}}return i=Qn(),i.memoizedState=i.baseState=l,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zf,lastRenderedState:l},i.queue=r,i=Xh.bind(null,le,r),r.dispatch=i,r=Ag(!1),m=Eu.bind(null,le,!1,r.queue),r=Qn(),p={state:l,dispatch:null,action:n,pending:null},r.queue=p,i=Ov.bind(null,le,p,m,i),p.dispatch=i,r.memoizedState=n,[l,i,!1]}function _v(n){var l=mn();return Mf(l,Ne,n)}function Mf(n,l,i){if(l=Uh(n,l,zf)[0],n=ki(Vi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var r=Ss(l)}catch(E){throw E===hu?Cr:E}else r=l;l=mn();var p=l.queue,m=p.dispatch;return i!==l.memoizedState&&(le.flags|=2048,Es(9,{destroy:void 0},Og.bind(null,p,i),null)),[r,m,n]}function Og(n,l){n.action=l}function _g(n){var l=mn(),i=Ne;if(i!==null)return Mf(l,i,n);mn(),l=l.memoizedState,i=mn();var r=i.queue.dispatch;return i.memoizedState=n,[l,r,!1]}function Es(n,l,i,r){return n={tag:n,create:i,deps:r,inst:l,next:null},l=le.updateQueue,l===null&&(l=Df(),le.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(r=i.next,i.next=n,n.next=r,l.lastEffect=n),n}function Ug(){return mn().memoizedState}function Nr(n,l,i,r){var p=Qn();le.flags|=n,p.memoizedState=Es(1|l,{destroy:void 0},i,r===void 0?null:r)}function Hr(n,l,i,r){var p=mn();r=r===void 0?null:r;var m=p.memoizedState.inst;Ne!==null&&r!==null&&Mo(r,Ne.memoizedState.deps)?p.memoizedState=Es(l,m,i,r):(le.flags|=n,p.memoizedState=Es(1|l,m,i,r))}function Lh(n,l){Nr(8390656,8,n,l)}function Vh(n,l){Hr(2048,8,n,l)}function jg(n){le.flags|=4;var l=le.updateQueue;if(l===null)l=Df(),le.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function Of(n){var l=mn().memoizedState;return jg({ref:l,nextImpl:n}),function(){if((De&2)!==0)throw Error(h(440));return l.impl.apply(void 0,arguments)}}function kh(n,l){return Hr(4,2,n,l)}function Ng(n,l){return Hr(4,4,n,l)}function Yh(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 Hg(n,l,i){i=i!=null?i.concat([n]):null,Hr(4,4,Yh.bind(null,l,n),i)}function ni(){}function qh(n,l){var i=mn();l=l===void 0?null:l;var r=i.memoizedState;return l!==null&&Mo(l,r[1])?r[0]:(i.memoizedState=[n,l],n)}function Uv(n,l){var i=mn();l=l===void 0?null:l;var r=i.memoizedState;if(l!==null&&Mo(l,r[1]))return r[0];if(r=n(),zo){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[r,l],r}function _f(n,l,i){return i===void 0||(Li&1073741824)!==0&&(pe&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=Kv(),le.lanes|=n,ui|=n,i)}function Yi(n,l,i,r){return da(i,l)?i:Un.current!==null?(n=_f(n,i,r),da(n,l)||(wn=!0),n):(Li&42)===0||(Li&1073741824)!==0&&(pe&261930)===0?(wn=!0,n.memoizedState=i):(n=Kv(),le.lanes|=n,ui|=n,l)}function Gh(n,l,i,r,p){var m=I.p;I.p=m!==0&&8>m?m:8;var E=V.T,O={};V.T=O,Eu(n,!1,l,i);try{var H=p(),$=V.S;if($!==null&&$(O,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var lt=bf(H,r);Oo(n,l,lt,Qa(n))}else Oo(n,l,r,Qa(n))}catch(rt){Oo(n,l,{then:function(){},status:"rejected",reason:rt},Qa())}finally{I.p=m,E!==null&&O.types!==null&&(E.types=O.types),V.T=E}}function jv(){}function Br(n,l,i,r){if(n.tag!==5)throw Error(h(476));var p=Lr(n).queue;Gh(n,p,l,dt,i===null?jv:function(){return ke(n),i(r)})}function Lr(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:dt,baseState:dt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:dt},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 ke(n){var l=Lr(n);l.next===null&&(l=n.alternate.memoizedState),Oo(n,l.next.queue,{},Qa())}function Bg(){return ct(ud)}function Nv(){return mn().memoizedState}function Lg(){return mn().memoizedState}function qi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var i=Qa();n=Co(i);var r=rl(l,n,i);r!==null&&(Ua(r,l,i),vu(r,l,i)),l={cache:mf()},n.payload=l;return}l=l.return}}function Hv(n,l,i){var r=Qa();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Uf(n)?Qh(l,i):(i=Ol(n,l,i,r),i!==null&&(Ua(i,n,r),Vg(i,l,r)))}function Xh(n,l,i){var r=Qa();Oo(n,l,i,r)}function Oo(n,l,i,r){var p={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Uf(n))Qh(l,p);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=l.lastRenderedReducer,m!==null))try{var E=l.lastRenderedState,O=m(E,i);if(p.hasEagerState=!0,p.eagerState=O,da(O,E))return ll(n,l,p,0),Ye===null&&al(),!1}catch{}if(i=Ol(n,l,p,r),i!==null)return Ua(i,n,r),Vg(i,l,r),!0}return!1}function Eu(n,l,i,r){if(r={lane:2,revertLane:yp(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Uf(n)){if(l)throw Error(h(479))}else l=Ol(n,i,r,2),l!==null&&Ua(l,n,2)}function Uf(n){var l=n.alternate;return n===le||l!==null&&l===le}function Qh(n,l){vs=ys=!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 r=l.lanes;r&=n.pendingLanes,i|=r,l.lanes=i,wi(n,i)}}var jf={readContext:ct,use:jr,useCallback:rn,useContext:rn,useEffect:rn,useImperativeHandle:rn,useLayoutEffect:rn,useInsertionEffect:rn,useMemo:rn,useReducer:rn,useRef:rn,useState:rn,useDebugValue:rn,useDeferredValue:rn,useTransition:rn,useSyncExternalStore:rn,useId:rn,useHostTransitionStatus:rn,useFormState:rn,useActionState:rn,useOptimistic:rn,useMemoCache:rn,useCacheRefresh:rn};jf.useEffectEvent=rn;var Bv={readContext:ct,use:jr,useCallback:function(n,l){return Qn().memoizedState=[n,l===void 0?null:l],n},useContext:ct,useEffect:Lh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,Nr(4194308,4,Yh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return Nr(4194308,4,n,l)},useInsertionEffect:function(n,l){Nr(4,2,n,l)},useMemo:function(n,l){var i=Qn();l=l===void 0?null:l;var r=n();if(zo){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[r,l],r},useReducer:function(n,l,i){var r=Qn();if(i!==void 0){var p=i(l);if(zo){Ia(!0);try{i(l)}finally{Ia(!1)}}}else p=l;return r.memoizedState=r.baseState=p,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:p},r.queue=n,n=n.dispatch=Hv.bind(null,le,n),[r.memoizedState,n]},useRef:function(n){var l=Qn();return n={current:n},l.memoizedState=n},useState:function(n){n=Ag(n);var l=n.queue,i=Xh.bind(null,le,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:ni,useDeferredValue:function(n,l){var i=Qn();return _f(i,n,l)},useTransition:function(){var n=Ag(!1);return n=Gh.bind(null,le,n.queue,!0,!1),Qn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var r=le,p=Qn();if(ye){if(i===void 0)throw Error(h(407));i=i()}else{if(i=l(),Ye===null)throw Error(h(349));(pe&127)!==0||Cf(r,l,i)}p.memoizedState=i;var m={value:i,getSnapshot:l};return p.queue=m,Lh(Nh.bind(null,r,m,n),[n]),r.flags|=2048,Es(9,{destroy:void 0},xg.bind(null,r,m,i,l),null),i},useId:function(){var n=Qn(),l=Ye.identifierPrefix;if(ye){var i=Pl,r=Ya;i=(r&~(1<<32-kn(r)-1)).toString(32)+i,l="_"+l+"R_"+i,i=xf++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=zv++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Bg,useFormState:Mg,useActionState:Mg,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=Eu.bind(null,le,!0,i),i.dispatch=l,[n,l]},useMemoCache:_h,useCacheRefresh:function(){return Qn().memoizedState=qi.bind(null,le)},useEffectEvent:function(n){var l=Qn(),i={impl:n};return l.memoizedState=i,function(){if((De&2)!==0)throw Error(h(440));return i.impl.apply(void 0,arguments)}}},Zh={readContext:ct,use:jr,useCallback:qh,useContext:ct,useEffect:Vh,useImperativeHandle:Hg,useInsertionEffect:kh,useLayoutEffect:Ng,useMemo:Uv,useReducer:ki,useRef:Ug,useState:function(){return ki(Vi)},useDebugValue:ni,useDeferredValue:function(n,l){var i=mn();return Yi(i,Ne.memoizedState,n,l)},useTransition:function(){var n=ki(Vi)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:Ss(n),l]},useSyncExternalStore:wg,useId:Nv,useHostTransitionStatus:Bg,useFormState:_v,useActionState:_v,useOptimistic:function(n,l){var i=mn();return Zn(i,Ne,n,l)},useMemoCache:_h,useCacheRefresh:Lg};Zh.useEffectEvent=Of;var Lv={readContext:ct,use:jr,useCallback:qh,useContext:ct,useEffect:Vh,useImperativeHandle:Hg,useInsertionEffect:kh,useLayoutEffect:Ng,useMemo:Uv,useReducer:jh,useRef:Ug,useState:function(){return jh(Vi)},useDebugValue:ni,useDeferredValue:function(n,l){var i=mn();return Ne===null?_f(i,n,l):Yi(i,Ne.memoizedState,n,l)},useTransition:function(){var n=jh(Vi)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:Ss(n),l]},useSyncExternalStore:wg,useId:Nv,useHostTransitionStatus:Bg,useFormState:_g,useActionState:_g,useOptimistic:function(n,l){var i=mn();return Ne!==null?Zn(i,Ne,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:_h,useCacheRefresh:Lg};Lv.useEffectEvent=Of;function ws(n,l,i,r){l=n.memoizedState,i=i(r,l),i=i==null?l:R({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var jl={enqueueSetState:function(n,l,i){n=n._reactInternals;var r=Qa(),p=Co(r);p.payload=l,i!=null&&(p.callback=i),l=rl(n,p,r),l!==null&&(Ua(l,n,r),vu(l,n,r))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var r=Qa(),p=Co(r);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=rl(n,p,r),l!==null&&(Ua(l,n,r),vu(l,n,r))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=Qa(),r=Co(i);r.tag=2,l!=null&&(r.callback=l),l=rl(n,r,i),l!==null&&(Ua(l,n,i),vu(l,n,i))}};function kg(n,l,i,r,p,m,E){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(r,m,E):l.prototype&&l.prototype.isPureReactComponent?!Cl(i,r)||!Cl(p,m):!0}function Vv(n,l,i,r){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,r),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,r),l.state!==n&&jl.enqueueReplaceState(l,l.state,null)}function wu(n,l){var i=l;if("ref"in l){i={};for(var r in l)r!=="ref"&&(i[r]=l[r])}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){us(n)}function Yg(n){console.error(n)}function Kh(n){us(n)}function Vr(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(r){setTimeout(function(){throw r})}}function Nf(n,l,i){try{var r=n.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function qg(n,l,i){return i=Co(i),i.tag=3,i.payload={element:null},i.callback=function(){Vr(n,l)},i}function Gg(n){return n=Co(n),n.tag=3,n}function Xg(n,l,i,r){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var m=r.value;n.payload=function(){return p(m)},n.callback=function(){Nf(l,i,r)}}var E=i.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(n.callback=function(){Nf(l,i,r),typeof p!="function"&&(nn===null?nn=new Set([this]):nn.add(this));var O=r.stack;this.componentDidCatch(r.value,{componentStack:O!==null?O:""})})}function d2(n,l,i,r,p){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.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?hp():i.alternate===null&&Ke===0&&(Ke=3),i.flags&=-257,i.flags|=65536,i.lanes=p,r===ps?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([r]):l.add(r),$f(n,r,p)),!1;case 22:return i.flags|=65536,r===ps?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([r]):i.add(r)),$f(n,r,p)),!1}throw Error(h(435,i.tag))}return $f(n,r,p),hp(),!1}if(ye)return l=Ra.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,r!==Ui&&(n=Error(h(422),{cause:r}),Rr(il(n,i)))):(r!==Ui&&(l=Error(h(423),{cause:r}),Rr(il(l,i))),n=n.current.alternate,n.flags|=65536,p&=-p,n.lanes|=p,r=il(r,i),p=qg(n.stateNode,r,p),Dh(n,p),Ke!==4&&(Ke=2)),!1;var m=Error(h(520),{cause:r});if(m=il(m,i),Qf===null?Qf=[m]:Qf.push(m),Ke!==4&&(Ke=2),l===null)return!0;r=il(r,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=p&-p,i.lanes|=n,n=qg(i.stateNode,r,n),Dh(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=Gg(p),Xg(p,n,i,r),Dh(i,p),!1}i=i.return}while(i!==null);return!1}var $h=Error(h(461)),wn=!1;function Pe(n,l,i,r){l.child=n===null?Tg(l,null,i,r):yu(l,n.child,i,r)}function Qg(n,l,i,r,p){i=i.render;var m=l.ref;if("ref"in r){var E={};for(var O in r)O!=="ref"&&(E[O]=r[O])}else E=r;return Wt(l),r=Af(n,l,i,E,m,p),O=Oh(),n!==null&&!wn?(bs(n,l,p),hl(n,l,p)):(ye&&O&&xr(l),l.flags|=1,Pe(n,l,r,p),l.child)}function Zg(n,l,i,r,p){if(n===null){var m=i.type;return typeof m=="function"&&!ss(m)&&m.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=m,Jg(n,l,m,r,p)):(n=Sh(i.type,null,r,l,l.mode,p),n.ref=l.ref,n.return=l,l.child=n)}if(m=n.child,!Ph(n,p)){var E=m.memoizedProps;if(i=i.compare,i=i!==null?i:Cl,i(E,r)&&n.ref===l.ref)return hl(n,l,p)}return l.flags|=1,n=Eo(m,r),n.ref=l.ref,n.return=l,l.child=n}function Jg(n,l,i,r,p){if(n!==null){var m=n.memoizedProps;if(Cl(m,r)&&n.ref===l.ref)if(wn=!1,l.pendingProps=r=m,Ph(n,p))(n.flags&131072)!==0&&(wn=!0);else return l.lanes=n.lanes,hl(n,l,p)}return Fh(n,l,i,r,p)}function kv(n,l,i,r){var p=r.children,m=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((l.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,n!==null){for(r=l.child=n.child,p=0;r!==null;)p=p|r.lanes|r.childLanes,r=r.sibling;r=p&~m}else r=0,l.child=null;return Ca(n,l,m,i,r)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Dr(l,m!==null?m.cachePool:null),m!==null?Cv(l,m):wf(),zh(l);else return r=l.lanes=536870912,Ca(n,l,m!==null?m.baseLanes|i:i,i,r)}else m!==null?(Dr(l,m.cachePool),Cv(l,m),ei(),l.memoizedState=null):(n!==null&&Dr(l,null),wf(),ei());return Pe(n,l,p,i),l.child}function xu(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,r,p){var m=sl();return m=m===null?null:{parent:Tn._currentValue,pool:m},l.memoizedState={baseLanes:i,cachePool:m},n!==null&&Dr(l,null),wf(),zh(l),n!==null&&Xn(n,l,r,!0),l.childLanes=p,null}function Hf(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=Hf(l,l.pendingProps),n.flags|=2,Da(l),l.memoizedState=null,n}function Yv(n,l,i){var r=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(ye){if(r.mode==="hidden")return n=Hf(l,r),l.lanes=536870912,xu(null,n);if(Or(l),(n=Ze)?(n=Eb(n,_n),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Wl!==null?{id:Ya,overflow:Pl}:null,retryLane:536870912,hydrationErrors:null},i=dg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw Ul(l);return l.lanes=536870912,null}return Hf(l,r)}var m=n.memoizedState;if(m!==null){var E=m.dehydrated;if(Or(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(r=Ye,r!==null&&(E=tl(r,i),E!==0&&E!==m.retryLane))throw m.retryLane=E,To(n,E),Ua(r,n,E),$h;hp(),l=za(n,l,i)}else n=m.treeContext,Ze=ja(E.nextSibling),Gn=l,ye=!0,_i=null,_n=!1,n!==null&&df(l,n),l=Hf(l,r),l.flags|=4096;return l}return n=Eo(n.child,{mode:r.mode,children:r.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 Fh(n,l,i,r,p){return Wt(l),i=Af(n,l,i,r,void 0,p),r=Oh(),n!==null&&!wn?(bs(n,l,p),hl(n,l,p)):(ye&&r&&xr(l),l.flags|=1,Pe(n,l,i,p),l.child)}function Au(n,l,i,r,p,m){return Wt(l),l.updateQueue=null,i=Mv(l,r,i,p),Mh(n),r=Oh(),n!==null&&!wn?(bs(n,l,m),hl(n,l,m)):(ye&&r&&xr(l),l.flags|=1,Pe(n,l,i,m),l.child)}function Kg(n,l,i,r,p){if(Wt(l),l.stateNode===null){var m=wa,E=i.contextType;typeof E=="object"&&E!==null&&(m=ct(E)),m=new i(r,m),l.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=jl,l.stateNode=m,m._reactInternals=l,m=l.stateNode,m.props=r,m.state=l.memoizedState,m.refs={},Ef(l),E=i.contextType,m.context=typeof E=="object"&&E!==null?ct(E):wa,m.state=l.memoizedState,E=i.getDerivedStateFromProps,typeof E=="function"&&(ws(l,i,E,r),m.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(E=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),E!==m.state&&jl.enqueueReplaceState(m,m.state,null),Hi(l,r,m,p),bu(),m.state=l.memoizedState),typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!0}else if(n===null){m=l.stateNode;var O=l.memoizedProps,H=wu(i,O);m.props=H;var $=m.context,lt=i.contextType;E=wa,typeof lt=="object"&<!==null&&(E=ct(lt));var rt=i.getDerivedStateFromProps;lt=typeof rt=="function"||typeof m.getSnapshotBeforeUpdate=="function",O=l.pendingProps!==O,lt||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(O||$!==E)&&Vv(l,m,r,E),Do=!1;var F=l.memoizedState;m.state=F,Hi(l,r,m,p),bu(),$=l.memoizedState,O||F!==$||Do?(typeof rt=="function"&&(ws(l,i,rt,r),$=l.memoizedState),(H=Do||kg(l,i,H,r,F,$,E))?(lt||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=r,l.memoizedState=$),m.props=r,m.state=$,m.context=E,r=H):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!1)}else{m=l.stateNode,Rh(n,l),E=l.memoizedProps,lt=wu(i,E),m.props=lt,rt=l.pendingProps,F=m.context,$=i.contextType,H=wa,typeof $=="object"&&$!==null&&(H=ct($)),O=i.getDerivedStateFromProps,($=typeof O=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(E!==rt||F!==H)&&Vv(l,m,r,H),Do=!1,F=l.memoizedState,m.state=F,Hi(l,r,m,p),bu();var et=l.memoizedState;E!==rt||F!==et||Do||n!==null&&n.dependencies!==null&&cs(n.dependencies)?(typeof O=="function"&&(ws(l,i,O,r),et=l.memoizedState),(lt=Do||kg(l,i,lt,r,F,et,H)||n!==null&&n.dependencies!==null&&cs(n.dependencies))?($||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(r,et,H),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(r,et,H)),typeof m.componentDidUpdate=="function"&&(l.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof m.componentDidUpdate!="function"||E===n.memoizedProps&&F===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||E===n.memoizedProps&&F===n.memoizedState||(l.flags|=1024),l.memoizedProps=r,l.memoizedState=et),m.props=r,m.state=et,m.context=H,r=lt):(typeof m.componentDidUpdate!="function"||E===n.memoizedProps&&F===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||E===n.memoizedProps&&F===n.memoizedState||(l.flags|=1024),r=!1)}return m=r,fl(n,l),r=(l.flags&128)!==0,m||r?(m=l.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:m.render(),l.flags|=1,n!==null&&r?(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 ai(n,l,i,r){return fu(),l.flags|=256,Pe(n,l,i,r),l.child}var Bf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Lf(n){return{baseLanes:n,cachePool:ds()}}function dl(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=_a),n}function $g(n,l,i){var r=l.pendingProps,p=!1,m=(l.flags&128)!==0,E;if((E=m)||(E=n!==null&&n.memoizedState===null?!1:(en.current&2)!==0),E&&(p=!0,l.flags&=-129),E=(l.flags&32)!==0,l.flags&=-33,n===null){if(ye){if(p?Bi(l):ei(),(n=Ze)?(n=Eb(n,_n),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Wl!==null?{id:Ya,overflow:Pl}:null,retryLane:536870912,hydrationErrors:null},i=dg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw Ul(l);return _u(n)?l.lanes=32:l.lanes=536870912,null}var O=r.children;return r=r.fallback,p?(ei(),p=l.mode,O=Vf({mode:"hidden",children:O},p),r=wo(r,p,i,null),O.return=l,r.return=l,O.sibling=r,l.child=O,r=l.child,r.memoizedState=Lf(i),r.childLanes=dl(n,E,i),l.memoizedState=Bf,xu(null,r)):(Bi(l),Ru(l,O))}var H=n.memoizedState;if(H!==null&&(O=H.dehydrated,O!==null)){if(m)l.flags&256?(Bi(l),l.flags&=-257,l=xs(n,l,i)):l.memoizedState!==null?(ei(),l.child=n.child,l.flags|=128,l=null):(ei(),O=r.fallback,p=l.mode,r=Vf({mode:"visible",children:r.children},p),O=wo(O,p,i,null),O.flags|=2,r.return=l,O.return=l,r.sibling=O,l.child=r,yu(l,n.child,null,i),r=l.child,r.memoizedState=Lf(i),r.childLanes=dl(n,E,i),l.memoizedState=Bf,l=xu(null,r));else if(Bi(l),_u(O)){if(E=O.nextSibling&&O.nextSibling.dataset,E)var $=E.dgst;E=$,r=Error(h(419)),r.stack="",r.digest=E,Rr({value:r,source:null,stack:null}),l=xs(n,l,i)}else if(wn||Xn(n,l,i,!1),E=(i&n.childLanes)!==0,wn||E){if(E=Ye,E!==null&&(r=tl(E,i),r!==0&&r!==H.retryLane))throw H.retryLane=r,To(n,r),Ua(E,n,r),$h;Bl(O)||hp(),l=xs(n,l,i)}else Bl(O)?(l.flags|=192,l.child=n.child,l=null):(n=H.treeContext,Ze=ja(O.nextSibling),Gn=l,ye=!0,_i=null,_n=!1,n!==null&&df(l,n),l=Ru(l,r.children),l.flags|=4096);return l}return p?(ei(),O=r.fallback,p=l.mode,H=n.child,$=H.sibling,r=Eo(H,{mode:"hidden",children:r.children}),r.subtreeFlags=H.subtreeFlags&65011712,$!==null?O=Eo($,O):(O=wo(O,p,i,null),O.flags|=2),O.return=l,r.return=l,r.sibling=O,l.child=r,xu(null,r),r=l.child,O=n.child.memoizedState,O===null?O=Lf(i):(p=O.cachePool,p!==null?(H=Tn._currentValue,p=p.parent!==H?{parent:H,pool:H}:p):p=ds(),O={baseLanes:O.baseLanes|i,cachePool:p}),r.memoizedState=O,r.childLanes=dl(n,E,i),l.memoizedState=Bf,xu(n.child,r)):(Bi(l),i=n.child,n=i.sibling,i=Eo(i,{mode:"visible",children:r.children}),i.return=l,i.sibling=null,n!==null&&(E=l.deletions,E===null?(l.deletions=[n],l.flags|=16):E.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 xs(n,l,i){return yu(l,n.child,null,i),n=Ru(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function As(n,l,i){n.lanes|=l;var r=n.alternate;r!==null&&(r.lanes|=l),xh(n.return,l,i)}function Wh(n,l,i,r,p,m){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:p,treeForkCount:m}:(E.isBackwards=l,E.rendering=null,E.renderingStartTime=0,E.last=r,E.tail=i,E.tailMode=p,E.treeForkCount=m)}function Fg(n,l,i){var r=l.pendingProps,p=r.revealOrder,m=r.tail;r=r.children;var E=en.current,O=(E&2)!==0;if(O?(E=E&1|2,l.flags|=128):E&=1,gt(en,E),Pe(n,l,r,i),r=ye?Sn:0,!O&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&As(n,i,l);else if(n.tag===19)As(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&&_r(n)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),Wh(l,!1,p,i,m,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(n=p.alternate,n!==null&&_r(n)===null){l.child=p;break}n=p.sibling,p.sibling=i,i=p,p=n}Wh(l,!0,i,null,m,r);break;case"together":Wh(l,!1,null,null,void 0,r);break;default:l.memoizedState=null}return l.child}function hl(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),ui|=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=Eo(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=Eo(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function Ph(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&cs(n)))}function Ih(n,l,i){switch(l.tag){case 3:We(l,l.stateNode.containerInfo),Aa(l,Tn,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,Or(l),null;break;case 13:var r=l.memoizedState;if(r!==null)return r.dehydrated!==null?(Bi(l),l.flags|=128,null):(i&l.child.childLanes)!==0?$g(n,l,i):(Bi(l),n=hl(n,l,i),n!==null?n.sibling:null);Bi(l);break;case 19:var p=(n.flags&128)!==0;if(r=(i&l.childLanes)!==0,r||(Xn(n,l,i,!1),r=(i&l.childLanes)!==0),p){if(r)return Fg(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),r)break;return null;case 22:return l.lanes=0,kv(n,l,i,l.pendingProps);case 24:Aa(l,Tn,n.memoizedState.cache)}return hl(n,l,i)}function Wg(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)wn=!0;else{if(!Ph(n,i)&&(l.flags&128)===0)return wn=!1,Ih(n,l,i);wn=(n.flags&131072)!==0}else wn=!1,ye&&(l.flags&1048576)!==0&&pg(l,Sn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var r=l.pendingProps;if(n=pu(l.elementType),l.type=n,typeof n=="function")ss(n)?(r=wu(n,r),l.tag=1,l=Kg(null,l,n,r,i)):(l.tag=0,l=Fh(null,l,n,r,i));else{if(n!=null){var p=n.$$typeof;if(p===Ut){l.tag=11,l=Qg(null,l,n,r,i);break t}else if(p===Tt){l.tag=14,l=Zg(null,l,n,r,i);break t}}throw l=_e(n)||n,Error(h(306,l,""))}}return l;case 0:return Fh(n,l,l.type,l.pendingProps,i);case 1:return r=l.type,p=wu(r,l.pendingProps),Kg(n,l,r,p,i);case 3:t:{if(We(l,l.stateNode.containerInfo),n===null)throw Error(h(387));r=l.pendingProps;var m=l.memoizedState;p=m.element,Rh(n,l),Hi(l,r,null,i);var E=l.memoizedState;if(r=E.cache,Aa(l,Tn,r),r!==m.cache&&Ni(l,[Tn],i,!0),bu(),r=E.element,m.isDehydrated)if(m={element:r,isDehydrated:!1,cache:E.cache},l.updateQueue.baseState=m,l.memoizedState=m,l.flags&256){l=ai(n,l,r,i);break t}else if(r!==p){p=il(Error(h(424)),l),Rr(p),l=ai(n,l,r,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,_i=null,_n=!0,i=Tg(l,null,r,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(fu(),r===p){l=hl(n,l,i);break t}Pe(n,l,r,i)}l=l.child}return l;case 26:return fl(n,l),n===null?(i=uc(l.type,null,l.pendingProps,null))?l.memoizedState=i:ye||(i=l.type,n=l.pendingProps,r=Ou(te.current).createElement(i),r[Ve]=l,r[Sa]=n,la(r,i,n),Ue(r),l.stateNode=r):l.memoizedState=uc(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return Wa(l),n===null&&ye&&(r=l.stateNode=ic(l.type,l.pendingProps,te.current),Gn=l,_n=!0,p=Ze,ri(l.type)?(ld=p,Ze=ja(r.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=r=Ze)&&(r=m2(r,l.type,l.pendingProps,_n),r!==null?(l.stateNode=r,Gn=l,Ze=ja(r.firstChild),_n=!1,p=!0):p=!1),p||Ul(l)),Wa(l),p=l.type,m=l.pendingProps,E=n!==null?n.memoizedProps:null,r=m.children,ac(p,m)?r=null:E!==null&&ac(p,E)&&(l.flags|=32),l.memoizedState!==null&&(p=Af(n,l,f2,null,null,i),ud._currentValue=p),fl(n,l),Pe(n,l,r,i),l.child;case 6:return n===null&&ye&&((n=i=Ze)&&(i=re(i,l.pendingProps,_n),i!==null?(l.stateNode=i,Gn=l,Ze=null,n=!0):n=!1),n||Ul(l)),null;case 13:return $g(n,l,i);case 4:return We(l,l.stateNode.containerInfo),r=l.pendingProps,n===null?l.child=yu(l,null,r,i):Pe(n,l,r,i),l.child;case 11:return Qg(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 r=l.pendingProps,Aa(l,l.type,r.value),Pe(n,l,r.children,i),l.child;case 9:return p=l.type._context,r=l.pendingProps.children,Wt(l),p=ct(p),r=r(p),l.flags|=1,Pe(n,l,r,i),l.child;case 14:return Zg(n,l,l.type,l.pendingProps,i);case 15:return Jg(n,l,l.type,l.pendingProps,i);case 19:return Fg(n,l,i);case 31:return Yv(n,l,i);case 22:return kv(n,l,i,l.pendingProps);case 24:return Wt(l),r=ct(Tn),n===null?(p=sl(),p===null&&(p=Ye,m=mf(),p.pooledCache=m,m.refCount++,m!==null&&(p.pooledCacheLanes|=i),p=m),l.memoizedState={parent:r,cache:p},Ef(l),Aa(l,Tn,p)):((n.lanes&i)!==0&&(Rh(n,l),Hi(l,null,null,i),bu()),p=n.memoizedState,m=l.memoizedState,p.parent!==r?(p={parent:r,cache:r},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),Aa(l,Tn,r)):(r=m.cache,Aa(l,Tn,r),r!==p.cache&&Ni(l,[Tn],i,!0))),Pe(n,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(h(156,l.tag))}function Gi(n){n.flags|=4}function Pg(n,l,i,r,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(Wv())n.flags|=8192;else throw mu=ps,hs}else n.flags&=-16777217}function Ig(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ja(l))if(Wv())n.flags|=8192;else throw mu=ps,hs}function ha(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?ca():536870912,n.lanes|=l,cn|=l)}function kr(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 r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:r.sibling=null}}function Ft(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,r=0;if(l)for(var p=n.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags&65011712,r|=p.flags&65011712,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags,r|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=r,n.childLanes=i,l}function qv(n,l,i){var r=l.pendingProps;switch(Eh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ft(l),null;case 1:return Ft(l),null;case 3:return i=l.stateNode,r=null,n!==null&&(r=n.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),ti(Tn),Ae(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(ji(l)?Gi(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,mg())),Ft(l),null;case 26:var p=l.type,m=l.memoizedState;return n===null?(Gi(l),m!==null?(Ft(l),Ig(l,m)):(Ft(l),Pg(l,p,null,r,i))):m?m!==n.memoizedState?(Gi(l),Ft(l),Ig(l,m)):(Ft(l),l.flags&=-16777217):(n=n.memoizedProps,n!==r&&Gi(l),Ft(l),Pg(l,p,n,r,i)),null;case 27:if(At(l),i=te.current,p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==r&&Gi(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Ft(l),null}n=mt.current,ji(l)?hf(l):(n=ic(p,r,i),l.stateNode=n,Gi(l))}return Ft(l),null;case 5:if(At(l),p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==r&&Gi(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Ft(l),null}if(m=mt.current,ji(l))hf(l);else{var E=Ou(te.current);switch(m){case 1:m=E.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:m=E.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":m=E.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":m=E.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":m=E.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof r.is=="string"?E.createElement("select",{is:r.is}):E.createElement("select"),r.multiple?m.multiple=!0:r.size&&(m.size=r.size);break;default:m=typeof r.is=="string"?E.createElement(p,{is:r.is}):E.createElement(p)}}m[Ve]=l,m[Sa]=r;t:for(E=l.child;E!==null;){if(E.tag===5||E.tag===6)m.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===l)break t;for(;E.sibling===null;){if(E.return===null||E.return===l)break t;E=E.return}E.sibling.return=E.return,E=E.sibling}l.stateNode=m;t:switch(la(m,p,r),p){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}r&&Gi(l)}}return Ft(l),Pg(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==r&&Gi(l);else{if(typeof r!="string"&&l.stateNode===null)throw Error(h(166));if(n=te.current,ji(l)){if(n=l.stateNode,i=l.memoizedProps,r=null,p=Gn,p!==null)switch(p.tag){case 27:case 5:r=p.memoizedProps}n[Ve]=l,n=!!(n.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||w0(n.nodeValue,i)),n||Ul(l,!0)}else n=Ou(n).createTextNode(r),n[Ve]=l,l.stateNode=n}return Ft(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(r=ji(l),i!==null){if(n===null){if(!r)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;Ft(l),n=!1}else i=mg(),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 Ft(l),null;case 13:if(r=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(p=ji(l),r!==null&&r.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;Ft(l),p=!1}else p=mg(),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=r!==null,n=n!==null&&n.memoizedState!==null,i&&(r=l.child,p=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(p=r.alternate.memoizedState.cachePool.pool),m=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(m=r.memoizedState.cachePool.pool),m!==p&&(r.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),ha(l,l.updateQueue),Ft(l),null);case 4:return Ae(),n===null&&nc(l.stateNode.containerInfo),Ft(l),null;case 10:return ti(l.type),Ft(l),null;case 19:if(K(en),r=l.memoizedState,r===null)return Ft(l),null;if(p=(l.flags&128)!==0,m=r.rendering,m===null)if(p)kr(r,!1);else{if(Ke!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(m=_r(n),m!==null){for(l.flags|=128,kr(r,!1),n=m.updateQueue,l.updateQueue=n,ha(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)fg(i,n),i=i.sibling;return gt(en,en.current&1|2),ye&&_l(l,r.treeForkCount),l.child}n=n.sibling}r.tail!==null&&Rn()>Me&&(l.flags|=128,p=!0,kr(r,!1),l.lanes=4194304)}else{if(!p)if(n=_r(m),n!==null){if(l.flags|=128,p=!0,n=n.updateQueue,l.updateQueue=n,ha(l,n),kr(r,!0),r.tail===null&&r.tailMode==="hidden"&&!m.alternate&&!ye)return Ft(l),null}else 2*Rn()-r.renderingStartTime>Me&&i!==536870912&&(l.flags|=128,p=!0,kr(r,!1),l.lanes=4194304);r.isBackwards?(m.sibling=l.child,l.child=m):(n=r.last,n!==null?n.sibling=m:l.child=m,r.last=m)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.renderingStartTime=Rn(),n.sibling=null,i=en.current,gt(en,p?i&1|2:i&1),ye&&_l(l,r.treeForkCount),n):(Ft(l),null);case 22:case 23:return Da(l),Mr(),r=l.memoizedState!==null,n!==null?n.memoizedState!==null!==r&&(l.flags|=8192):r&&(l.flags|=8192),r?(i&536870912)!==0&&(l.flags&128)===0&&(Ft(l),l.subtreeFlags&6&&(l.flags|=8192)):Ft(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),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==i&&(l.flags|=2048),n!==null&&K(ul),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),ti(Tn),Ft(l),null;case 25:return null;case 30:return null}throw Error(h(156,l.tag))}function Gv(n,l){switch(Eh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return ti(Tn),Ae(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return At(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 K(en),null;case 4:return Ae(),null;case 10:return ti(l.type),null;case 22:case 23:return Da(l),Mr(),n!==null&&K(ul),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return ti(Tn),null;case 25:return null;default:return null}}function Xv(n,l){switch(Eh(l),l.tag){case 3:ti(Tn),Ae();break;case 26:case 27:case 5:At(l);break;case 4:Ae();break;case 31:l.memoizedState!==null&&Da(l);break;case 13:Da(l);break;case 19:K(en);break;case 10:ti(l.type);break;case 22:case 23:Da(l),Mr(),n!==null&&K(ul);break;case 24:ti(Tn)}}function Nl(n,l){try{var i=l.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var p=r.next;i=p;do{if((i.tag&n)===n){r=void 0;var m=i.create,E=i.inst;r=m(),E.destroy=r}i=i.next}while(i!==p)}}catch(O){Be(l,l.return,O)}}function pl(n,l,i){try{var r=l.updateQueue,p=r!==null?r.lastEffect:null;if(p!==null){var m=p.next;r=m;do{if((r.tag&n)===n){var E=r.inst,O=E.destroy;if(O!==void 0){E.destroy=void 0,p=l;var H=i,$=O;try{$()}catch(lt){Be(p,H,lt)}}}r=r.next}while(r!==m)}}catch(lt){Be(l,l.return,lt)}}function tp(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{Su(l,i)}catch(r){Be(n,n.return,r)}}}function Du(n,l,i){i.props=wu(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(r){Be(n,l,r)}}function Xi(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var r=n.stateNode;break;case 30:r=n.stateNode;break;default:r=n.stateNode}typeof i=="function"?n.refCleanup=i(r):i.current=r}}catch(p){Be(n,l,p)}}function li(n,l){var i=n.ref,r=n.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(p){Be(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){Be(n,l,p)}else i.current=null}function t0(n){var l=n.type,i=n.memoizedProps,r=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break t;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(p){Be(n,n.return,p)}}function ep(n,l,i){try{var r=n.stateNode;A0(r,n.type,i,l),r[Sa]=l}catch(p){Be(n,n.return,p)}}function e0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ri(n.type)||n.tag===4}function Yr(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||e0(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ri(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function qr(n,l,i){var r=n.tag;if(r===5||r===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=Xl));else if(r!==4&&(r===27&&ri(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(qr(n,l,i),n=n.sibling;n!==null;)qr(n,l,i),n=n.sibling}function Gr(n,l,i){var r=n.tag;if(r===5||r===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(r!==4&&(r===27&&ri(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Gr(n,l,i),n=n.sibling;n!==null;)Gr(n,l,i),n=n.sibling}function n0(n){var l=n.stateNode,i=n.memoizedProps;try{for(var r=n.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);la(l,r,i),l[Ve]=n,l[Sa]=i}catch(m){Be(n,n.return,m)}}var _o=!1,Cn=!1,np=!1,a0=typeof WeakSet=="function"?WeakSet:Set,Jn=null;function Xr(n,l){if(n=n.containerInfo,Ep=Nn,n=su(n),of(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else t:{i=(i=n.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var p=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break t}var E=0,O=-1,H=-1,$=0,lt=0,rt=n,F=null;e:for(;;){for(var et;rt!==i||p!==0&&rt.nodeType!==3||(O=E+p),rt!==m||r!==0&&rt.nodeType!==3||(H=E+r),rt.nodeType===3&&(E+=rt.nodeValue.length),(et=rt.firstChild)!==null;)F=rt,rt=et;for(;;){if(rt===n)break e;if(F===i&&++$===p&&(O=E),F===m&&++lt===r&&(H=E),(et=rt.nextSibling)!==null)break;rt=F,F=rt.parentNode}rt=et}i=O===-1||H===-1?null:{start:O,end:H}}else i=null}i=i||{start:0,end:0}}else i=null;for(wp={focusedElem:n,selectionRange:i},Nn=!1,Jn=l;Jn!==null;)if(l=Jn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Jn=n;else for(;Jn!==null;){switch(l=Jn,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,r=i.stateNode;try{var zt=wu(i.type,p);n=r.getSnapshotBeforeUpdate(zt,m),r.__reactInternalSnapshotBeforeUpdate=n}catch(Xt){Be(i,i.return,Xt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)ad(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":ad(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,Jn=n;break}Jn=l.return}}function kf(n,l,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:Uo(n,i),r&4&&Nl(5,i);break;case 1:if(Uo(n,i),r&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(E){Be(i,i.return,E)}else{var p=wu(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(p,l,n.__reactInternalSnapshotBeforeUpdate)}catch(E){Be(i,i.return,E)}}r&64&&tp(i),r&512&&Xi(i,i.return);break;case 3:if(Uo(n,i),r&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(E){Be(i,i.return,E)}}break;case 27:l===null&&r&4&&n0(i);case 26:case 5:Uo(n,i),l===null&&r&4&&t0(i),r&512&&Xi(i,i.return);break;case 12:Uo(n,i);break;case 31:Uo(n,i),r&4&&Qv(n,i);break;case 13:Uo(n,i),r&4&&o0(n,i),r&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=ml.bind(null,i),lc(n,i))));break;case 22:if(r=i.memoizedState!==null||_o,!r){l=l!==null&&l.memoizedState!==null||Cn,p=_o;var m=Cn;_o=r,(Cn=l)&&!m?ii(n,i,(i.subtreeFlags&8772)!==0):Uo(n,i),_o=p,Cn=m}break;case 30:break;default:Uo(n,i)}}function l0(n){var l=n.alternate;l!==null&&(n.alternate=null,l0(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&Pd(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 Je=null,Ma=!1;function Qi(n,l,i){for(i=i.child;i!==null;)i0(n,l,i),i=i.sibling}function i0(n,l,i){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(xl,i)}catch{}switch(i.tag){case 26:Cn||li(i,l),Qi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Cn||li(i,l);var r=Je,p=Ma;ri(i.type)&&(Je=i.stateNode,Ma=!1),Qi(n,l,i),Us(i.stateNode),Je=r,Ma=p;break;case 5:Cn||li(i,l);case 6:if(r=Je,p=Ma,Je=null,Qi(n,l,i),Je=r,Ma=p,Je!==null)if(Ma)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(i.stateNode)}catch(m){Be(i,l,m)}else try{Je.removeChild(i.stateNode)}catch(m){Be(i,l,m)}break;case 18:Je!==null&&(Ma?(n=Je,z0(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),mc(n)):z0(Je,i.stateNode));break;case 4:r=Je,p=Ma,Je=i.stateNode.containerInfo,Ma=!0,Qi(n,l,i),Je=r,Ma=p;break;case 0:case 11:case 14:case 15:pl(2,i,l),Cn||pl(4,i,l),Qi(n,l,i);break;case 1:Cn||(li(i,l),r=i.stateNode,typeof r.componentWillUnmount=="function"&&Du(i,l,r)),Qi(n,l,i);break;case 21:Qi(n,l,i);break;case 22:Cn=(r=Cn)||i.memoizedState!==null,Qi(n,l,i),Cn=r;break;default:Qi(n,l,i)}}function Qv(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{mc(n)}catch(i){Be(l,l.return,i)}}}function o0(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{mc(n)}catch(i){Be(l,l.return,i)}}function Yf(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new a0),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new a0),l;default:throw Error(h(435,n.tag))}}function qf(n,l){var i=Yf(n);l.forEach(function(r){if(!i.has(r)){i.add(r);var p=db.bind(null,n,r);r.then(p,p)}})}function Oa(n,l){var i=l.deletions;if(i!==null)for(var r=0;r<i.length;r++){var p=i[r],m=n,E=l,O=E;t:for(;O!==null;){switch(O.tag){case 27:if(ri(O.type)){Je=O.stateNode,Ma=!1;break t}break;case 5:Je=O.stateNode,Ma=!1;break t;case 3:case 4:Je=O.stateNode.containerInfo,Ma=!0;break t}O=O.return}if(Je===null)throw Error(h(160));i0(m,E,p),Je=null,Ma=!1,m=p.alternate,m!==null&&(m.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)ap(l,n),l=l.sibling}var oe=null;function ap(n,l){var i=n.alternate,r=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Oa(l,n),qa(n),r&4&&(pl(3,n,n.return),Nl(3,n),pl(5,n,n.return));break;case 1:Oa(l,n),qa(n),r&512&&(Cn||i===null||li(i,i.return)),r&64&&_o&&(n=n.updateQueue,n!==null&&(r=n.callbacks,r!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var p=oe;if(Oa(l,n),qa(n),r&512&&(Cn||i===null||li(i,i.return)),r&4){var m=i!==null?i.memoizedState:null;if(r=n.memoizedState,i===null)if(r===null)if(n.stateNode===null){t:{r=n.type,i=n.memoizedProps,p=p.ownerDocument||p;e:switch(r){case"title":m=p.getElementsByTagName("title")[0],(!m||m[xi]||m[Ve]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=p.createElement(r),p.head.insertBefore(m,p.querySelector("head > title"))),la(m,r,i),m[Ve]=n,Ue(m),r=m;break t;case"link":var E=U0("link","href",p).get(r+(i.href||""));if(E){for(var O=0;O<E.length;O++)if(m=E[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)){E.splice(O,1);break e}}m=p.createElement(r),la(m,r,i),p.head.appendChild(m);break;case"meta":if(E=U0("meta","content",p).get(r+(i.content||""))){for(O=0;O<E.length;O++)if(m=E[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)){E.splice(O,1);break e}}m=p.createElement(r),la(m,r,i),p.head.appendChild(m);break;default:throw Error(h(468,r))}m[Ve]=n,Ue(m),r=m}n.stateNode=r}else Cp(p,n.type,n.stateNode);else n.stateNode=_0(p,r,n.memoizedProps);else m!==r?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,r===null?Cp(p,n.type,n.stateNode):_0(p,r,n.memoizedProps)):r===null&&n.stateNode!==null&&ep(n,n.memoizedProps,i.memoizedProps)}break;case 27:Oa(l,n),qa(n),r&512&&(Cn||i===null||li(i,i.return)),i!==null&&r&4&&ep(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Oa(l,n),qa(n),r&512&&(Cn||i===null||li(i,i.return)),n.flags&32){p=n.stateNode;try{Ri(p,"")}catch(zt){Be(n,n.return,zt)}}r&4&&n.stateNode!=null&&(p=n.memoizedProps,ep(n,p,i!==null?i.memoizedProps:p)),r&1024&&(np=!0);break;case 6:if(Oa(l,n),qa(n),r&4){if(n.stateNode===null)throw Error(h(162));r=n.memoizedProps,i=n.stateNode;try{i.nodeValue=r}catch(zt){Be(n,n.return,zt)}}break;case 3:if(cc=null,p=oe,oe=pa(l.containerInfo),Oa(l,n),oe=p,qa(n),r&4&&i!==null&&i.memoizedState.isDehydrated)try{mc(l.containerInfo)}catch(zt){Be(n,n.return,zt)}np&&(np=!1,u0(n));break;case 4:r=oe,oe=pa(n.stateNode.containerInfo),Oa(l,n),qa(n),oe=r;break;case 12:Oa(l,n),qa(n);break;case 31:Oa(l,n),qa(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,qf(n,r)));break;case 13:Oa(l,n),qa(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(si=Rn()),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,qf(n,r)));break;case 22:p=n.memoizedState!==null;var H=i!==null&&i.memoizedState!==null,$=_o,lt=Cn;if(_o=$||p,Cn=lt||H,Oa(l,n),Cn=lt,_o=$,qa(n),r&8192)t:for(l=n.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||H||_o||Cn||Rs(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){H=i=l;try{if(m=H.stateNode,p)E=m.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{O=H.stateNode;var rt=H.memoizedProps.style,F=rt!=null&&rt.hasOwnProperty("display")?rt.display:null;O.style.display=F==null||typeof F=="boolean"?"":(""+F).trim()}}catch(zt){Be(H,H.return,zt)}}}else if(l.tag===6){if(i===null){H=l;try{H.stateNode.nodeValue=p?"":H.memoizedProps}catch(zt){Be(H,H.return,zt)}}}else if(l.tag===18){if(i===null){H=l;try{var et=H.stateNode;p?xn(et,!0):xn(H.stateNode,!1)}catch(zt){Be(H,H.return,zt)}}}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}r&4&&(r=n.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,qf(n,i))));break;case 19:Oa(l,n),qa(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,qf(n,r)));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,r=n.return;r!==null;){if(e0(r)){i=r;break}r=r.return}if(i==null)throw Error(h(160));switch(i.tag){case 27:var p=i.stateNode,m=Yr(n);Gr(n,m,p);break;case 5:var E=i.stateNode;i.flags&32&&(Ri(E,""),i.flags&=-33);var O=Yr(n);Gr(n,O,E);break;case 3:case 4:var H=i.stateNode.containerInfo,$=Yr(n);qr(n,$,H);break;default:throw Error(h(161))}}catch(lt){Be(n,n.return,lt)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function u0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;u0(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;)kf(n,l.alternate,l),l=l.sibling}function Rs(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),Rs(l);break;case 1:li(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Du(l,l.return,i),Rs(l);break;case 27:Us(l.stateNode);case 26:case 5:li(l,l.return),Rs(l);break;case 22:l.memoizedState===null&&Rs(l);break;case 30:Rs(l);break;default:Rs(l)}n=n.sibling}}function ii(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var r=l.alternate,p=n,m=l,E=m.flags;switch(m.tag){case 0:case 11:case 15:ii(p,m,i),Nl(4,m);break;case 1:if(ii(p,m,i),r=m,p=r.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch($){Be(r,r.return,$)}if(r=m,p=r.updateQueue,p!==null){var O=r.stateNode;try{var H=p.shared.hiddenCallbacks;if(H!==null)for(p.shared.hiddenCallbacks=null,p=0;p<H.length;p++)Ch(H[p],O)}catch($){Be(r,r.return,$)}}i&&E&64&&tp(m),Xi(m,m.return);break;case 27:n0(m);case 26:case 5:ii(p,m,i),i&&r===null&&E&4&&t0(m),Xi(m,m.return);break;case 12:ii(p,m,i);break;case 31:ii(p,m,i),i&&E&4&&Qv(p,m);break;case 13:ii(p,m,i),i&&E&4&&o0(p,m);break;case 22:m.memoizedState===null&&ii(p,m,i),Xi(m,m.return);break;case 30:break;default:ii(p,m,i)}l=l.sibling}}function lp(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&&gf(i))}function ip(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&gf(n))}function Hl(n,l,i,r){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Qr(n,l,i,r),l=l.sibling}function Qr(n,l,i,r){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Hl(n,l,i,r),p&2048&&Nl(9,l);break;case 1:Hl(n,l,i,r);break;case 3:Hl(n,l,i,r),p&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&gf(n)));break;case 12:if(p&2048){Hl(n,l,i,r),n=l.stateNode;try{var m=l.memoizedProps,E=m.id,O=m.onPostCommit;typeof O=="function"&&O(E,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(H){Be(l,l.return,H)}}else Hl(n,l,i,r);break;case 31:Hl(n,l,i,r);break;case 13:Hl(n,l,i,r);break;case 23:break;case 22:m=l.stateNode,E=l.alternate,l.memoizedState!==null?m._visibility&2?Hl(n,l,i,r):Gf(n,l):m._visibility&2?Hl(n,l,i,r):(m._visibility|=2,Zr(n,l,i,r,(l.subtreeFlags&10256)!==0||!1)),p&2048&&lp(E,l);break;case 24:Hl(n,l,i,r),p&2048&&ip(l.alternate,l);break;default:Hl(n,l,i,r)}}function Zr(n,l,i,r,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var m=n,E=l,O=i,H=r,$=E.flags;switch(E.tag){case 0:case 11:case 15:Zr(m,E,O,H,p),Nl(8,E);break;case 23:break;case 22:var lt=E.stateNode;E.memoizedState!==null?lt._visibility&2?Zr(m,E,O,H,p):Gf(m,E):(lt._visibility|=2,Zr(m,E,O,H,p)),p&&$&2048&&lp(E.alternate,E);break;case 24:Zr(m,E,O,H,p),p&&$&2048&&ip(E.alternate,E);break;default:Zr(m,E,O,H,p)}l=l.sibling}}function Gf(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,r=l,p=r.flags;switch(r.tag){case 22:Gf(i,r),p&2048&&lp(r.alternate,r);break;case 24:Gf(i,r),p&2048&&ip(r.alternate,r);break;default:Gf(i,r)}l=l.sibling}}var Ga=8192;function Zi(n,l,i){if(n.subtreeFlags&Ga)for(n=n.child;n!==null;)Zv(n,l,i),n=n.sibling}function Zv(n,l,i){switch(n.tag){case 26:Zi(n,l,i),n.flags&Ga&&n.memoizedState!==null&&Wi(i,oe,n.memoizedState,n.memoizedProps);break;case 5:Zi(n,l,i);break;case 3:case 4:var r=oe;oe=pa(n.stateNode.containerInfo),Zi(n,l,i),oe=r;break;case 22:n.memoizedState===null&&(r=n.alternate,r!==null&&r.memoizedState!==null?(r=Ga,Ga=16777216,Zi(n,l,i),Ga=r):Zi(n,l,i));break;default:Zi(n,l,i)}}function op(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 Jr(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];Jn=r,up(r,n)}op(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:Jr(n),n.flags&2048&&pl(9,n,n.return);break;case 3:Jr(n);break;case 12:Jr(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Xf(n)):Jr(n);break;default:Jr(n)}}function Xf(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];Jn=r,up(r,n)}op(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:pl(8,l,l.return),Xf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Xf(l));break;default:Xf(l)}n=n.sibling}}function up(n,l){for(;Jn!==null;){var i=Jn;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 r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:gf(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,Jn=r;else t:for(i=n;Jn!==null;){r=Jn;var p=r.sibling,m=r.return;if(l0(r),r===i){Jn=null;break t}if(p!==null){p.return=m,Jn=p;break t}Jn=m}}}var Jv={getCacheForType:function(n){var l=ct(Tn),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return ct(Tn).controller.signal}},r0=typeof WeakMap=="function"?WeakMap:Map,De=0,Ye=null,ve=null,pe=0,He=0,Kt=null,Ji=!1,Cu=!1,sp=!1,oi=0,Ke=0,ui=0,Ds=0,rp=0,_a=0,cn=0,Qf=null,fn=null,cp=!1,si=0,c0=0,Me=1/0,Kr=null,nn=null,jn=0,jo=null,zu=null,Ki=0,Xa=0,fp=null,dp=null,$r=0,Zf=null;function Qa(){return(De&2)!==0&&pe!==0?pe&-pe:V.T!==null?yp():Fd()}function Kv(){if(_a===0)if((pe&536870912)===0||ye){var n=bt;bt<<=1,(bt&3932160)===0&&(bt=262144),_a=n}else _a=536870912;return n=Ra.current,n!==null&&(n.flags|=32),_a}function Ua(n,l,i){(n===Ye&&(He===2||He===9)||n.cancelPendingCommit!==null)&&($i(n,0),No(n,pe,_a,!1)),tu(n,i),((De&2)===0||n!==Ye)&&(n===Ye&&((De&2)===0&&(Ds|=i),Ke===4&&No(n,pe,_a,!1)),Fi(n))}function $v(n,l,i){if((De&6)!==0)throw Error(h(327));var r=!i&&(l&127)===0&&(l&n.expiredLanes)===0||he(n,l),p=r?tb(n,l):pp(n,l,!0),m=r;do{if(p===0){Cu&&!r&&No(n,l,0,!1);break}else{if(i=n.current.alternate,m&&!Fv(i)){p=pp(n,l,!1),m=!1;continue}if(p===2){if(m=l,n.errorRecoveryDisabledLanes&m)var E=0;else E=n.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){l=E;t:{var O=n;p=Qf;var H=O.current.memoizedState.isDehydrated;if(H&&($i(O,E).flags|=256),E=pp(O,E,!1),E!==2){if(sp&&!H){O.errorRecoveryDisabledLanes|=m,Ds|=m,p=4;break t}m=fn,fn=p,m!==null&&(fn===null?fn=m:fn.push.apply(fn,m))}p=E}if(m=!1,p!==2)continue}}if(p===1){$i(n,0),No(n,l,0,!0);break}t:{switch(r=n,m=p,m){case 0:case 1:throw Error(h(345));case 4:if((l&4194048)!==l)break;case 6:No(r,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(r,l,_a,!Ji),jt(r,0,!0)!==0)break t;Ki=l,r.timeoutHandle=nd(Jf.bind(null,r,i,fn,Kr,cp,l,_a,Ds,cn,Ji,m,"Throttled",-0,0),p);break t}Jf(r,i,fn,Kr,cp,l,_a,Ds,cn,Ji,m,null,-0,0)}}break}while(!0);Fi(n)}function Jf(n,l,i,r,p,m,E,O,H,$,lt,rt,F,et){if(n.timeoutHandle=-1,rt=l.subtreeFlags,rt&8192||(rt&16785408)===16785408){rt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Xl},Zv(l,m,rt);var zt=(m&62914560)===m?si-Rn():(m&4194048)===m?c0-Rn():0;if(zt=N0(rt,zt),zt!==null){Ki=m,n.cancelPendingCommit=zt(lb.bind(null,n,l,m,i,r,p,E,O,H,lt,rt,null,F,et)),No(n,m,E,!$);return}}lb(n,l,m,i,r,p,E,O,H)}function Fv(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 r=0;r<i.length;r++){var p=i[r],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,r){l&=~rp,l&=~Ds,n.suspendedLanes|=l,n.pingedLanes&=~l,r&&(n.warmLanes|=l),r=n.expirationTimes;for(var p=l;0<p;){var m=31-kn(p),E=1<<m;r[m]=-1,p&=~E}i!==0&&Kc(n,i,l)}function Fr(){return(De&6)===0?(Bo(0),!1):!0}function f0(){if(ve!==null){if(He===0)var n=ve.return;else n=ve,Il=xo=null,Rf(n),gu=null,ms=0,n=ve;for(;n!==null;)Xv(n.alternate,n),n=n.return;ve=null}}function $i(n,l){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,Sb(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),Ki=0,f0(),Ye=n,ve=i=Eo(n.current,null),pe=l,He=0,Kt=null,Ji=!1,Cu=he(n,l),sp=!1,cn=_a=rp=Ds=ui=Ke=0,fn=Qf=null,cp=!1,(l&8)!==0&&(l|=l&32);var r=n.entangledLanes;if(r!==0)for(n=n.entanglements,r&=l;0<r;){var p=31-kn(r),m=1<<p;l|=n[p],r&=~m}return oi=l,al(),i}function Wr(n,l){le=null,V.H=jf,l===hu||l===Cr?(l=Sg(),He=3):l===hs?(l=Sg(),He=4):He=l===$h?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Kt=l,ve===null&&(Ke=1,Vr(n,il(l,n.current)))}function Wv(){var n=Ra.current;return n===null?!0:(pe&4194048)===pe?cl===null:(pe&62914560)===pe||(pe&536870912)!==0?n===cl:!1}function Pv(){var n=V.H;return V.H=jf,n===null?jf:n}function Iv(){var n=V.A;return V.A=Jv,n}function hp(){Ke=4,Ji||(pe&4194048)!==pe&&Ra.current!==null||(Cu=!0),(ui&134217727)===0&&(Ds&134217727)===0||Ye===null||No(Ye,pe,_a,!1)}function pp(n,l,i){var r=De;De|=2;var p=Pv(),m=Iv();(Ye!==n||pe!==l)&&(Kr=null,$i(n,l)),l=!1;var E=Ke;t:do try{if(He!==0&&ve!==null){var O=ve,H=Kt;switch(He){case 8:f0(),E=6;break t;case 3:case 2:case 9:case 6:Ra.current===null&&(l=!0);var $=He;if(He=0,Kt=null,Cs(n,O,H,$),i&&Cu){E=0;break t}break;default:$=He,He=0,Kt=null,Cs(n,O,H,$)}}h2(),E=Ke;break}catch(lt){Wr(n,lt)}while(!0);return l&&n.shellSuspendCounter++,Il=xo=null,De=r,V.H=p,V.A=m,ve===null&&(Ye=null,pe=0,al()),E}function h2(){for(;ve!==null;)eb(ve)}function tb(n,l){var i=De;De|=2;var r=Pv(),p=Iv();Ye!==n||pe!==l?(Kr=null,Me=Rn()+500,$i(n,l)):Cu=he(n,l);t:do try{if(He!==0&&ve!==null){l=ve;var m=Kt;e:switch(He){case 1:He=0,Kt=null,Cs(n,l,m,1);break;case 2:case 9:if(vg(m)){He=0,Kt=null,nb(l);break}l=function(){He!==2&&He!==9||Ye!==n||(He=7),Fi(n)},m.then(l,l);break t;case 3:He=7;break t;case 4:He=5;break t;case 7:vg(m)?(He=0,Kt=null,nb(l)):(He=0,Kt=null,Cs(n,l,m,7));break;case 5:var E=null;switch(ve.tag){case 26:E=ve.memoizedState;case 5:case 27:var O=ve;if(E?Ja(E):O.stateNode.complete){He=0,Kt=null;var H=O.sibling;if(H!==null)ve=H;else{var $=O.return;$!==null?(ve=$,Kf($)):ve=null}break e}}He=0,Kt=null,Cs(n,l,m,5);break;case 6:He=0,Kt=null,Cs(n,l,m,6);break;case 8:f0(),Ke=6;break t;default:throw Error(h(462))}}Mu();break}catch(lt){Wr(n,lt)}while(!0);return Il=xo=null,V.H=r,V.A=p,De=i,ve!==null?0:(Ye=null,pe=0,al(),Ke)}function Mu(){for(;ve!==null&&!Ei();)eb(ve)}function eb(n){var l=Wg(n.alternate,n,oi);n.memoizedProps=n.pendingProps,l===null?Kf(n):ve=l}function nb(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:Rf(l);default:Xv(i,l),l=ve=fg(l,oi),l=Wg(i,l,oi)}n.memoizedProps=n.pendingProps,l===null?Kf(n):ve=l}function Cs(n,l,i,r){Il=xo=null,Rf(l),gu=null,ms=0;var p=l.return;try{if(d2(n,p,l,i,pe)){Ke=1,Vr(n,il(i,n.current)),ve=null;return}}catch(m){if(p!==null)throw ve=p,m;Ke=1,Vr(n,il(i,n.current)),ve=null;return}l.flags&32768?(ye||r===1?n=!0:Cu||(pe&536870912)!==0?n=!1:(Ji=n=!0,(r===2||r===9||r===3||r===6)&&(r=Ra.current,r!==null&&r.tag===13&&(r.flags|=16384))),ab(l,n)):Kf(l)}function Kf(n){var l=n;do{if((l.flags&32768)!==0){ab(l,Ji);return}n=l.return;var i=qv(l.alternate,l,oi);if(i!==null){ve=i;return}if(l=l.sibling,l!==null){ve=l;return}ve=l=n}while(l!==null);Ke===0&&(Ke=5)}function ab(n,l){do{var i=Gv(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);Ke=6,ve=null}function lb(n,l,i,r,p,m,E,O,H){n.cancelPendingCommit=null;do Pr();while(jn!==0);if((De&6)!==0)throw Error(h(327));if(l!==null){if(l===n.current)throw Error(h(177));if(m=l.lanes|l.childLanes,m|=Ml,sr(n,i,m,E,O,H),n===Ye&&(ve=Ye=null,pe=0),zu=l,jo=n,Ki=i,Xa=m,fp=p,dp=r,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,hb(ql,function(){return rb(),null})):(n.callbackNode=null,n.callbackPriority=0),r=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||r){r=V.T,V.T=null,p=I.p,I.p=2,E=De,De|=4;try{Xr(n,l,i)}finally{De=E,I.p=p,V.T=r}}jn=1,ib(),ob(),ub()}}function ib(){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 r=I.p;I.p=2;var p=De;De|=4;try{ap(l,n);var m=wp,E=su(n.containerInfo),O=m.focusedElem,H=m.selectionRange;if(E!==O&&O&&O.ownerDocument&&is(O.ownerDocument.documentElement,O)){if(H!==null&&of(O)){var $=H.start,lt=H.end;if(lt===void 0&&(lt=$),"selectionStart"in O)O.selectionStart=$,O.selectionEnd=Math.min(lt,O.value.length);else{var rt=O.ownerDocument||document,F=rt&&rt.defaultView||window;if(F.getSelection){var et=F.getSelection(),zt=O.textContent.length,Xt=Math.min(H.start,zt),Ge=H.end===void 0?Xt:Math.min(H.end,zt);!et.extend&&Xt>Ge&&(E=Ge,Ge=Xt,Xt=E);var X=rg(O,Xt),k=rg(O,Ge);if(X&&k&&(et.rangeCount!==1||et.anchorNode!==X.node||et.anchorOffset!==X.offset||et.focusNode!==k.node||et.focusOffset!==k.offset)){var Z=rt.createRange();Z.setStart(X.node,X.offset),et.removeAllRanges(),Xt>Ge?(et.addRange(Z),et.extend(k.node,k.offset)):(Z.setEnd(k.node,k.offset),et.addRange(Z))}}}}for(rt=[],et=O;et=et.parentNode;)et.nodeType===1&&rt.push({element:et,left:et.scrollLeft,top:et.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<rt.length;O++){var ut=rt[O];ut.element.scrollLeft=ut.left,ut.element.scrollTop=ut.top}}Nn=!!Ep,wp=Ep=null}finally{De=p,I.p=r,V.T=i}}n.current=l,jn=2}}function ob(){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 r=I.p;I.p=2;var p=De;De|=4;try{kf(n,l.alternate,l)}finally{De=p,I.p=r,V.T=i}}jn=3}}function ub(){if(jn===4||jn===3){jn=0,Xu();var n=jo,l=zu,i=Ki,r=dp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?jn=5:(jn=0,zu=jo=null,sb(n,n.pendingLanes));var p=n.pendingLanes;if(p===0&&(nn=null),Bm(i),l=l.stateNode,On&&typeof On.onCommitFiberRoot=="function")try{On.onCommitFiberRoot(xl,l,void 0,(l.current.flags&128)===128)}catch{}if(r!==null){l=V.T,p=I.p,I.p=2,V.T=null;try{for(var m=n.onRecoverableError,E=0;E<r.length;E++){var O=r[E];m(O.value,{componentStack:O.stack})}}finally{V.T=l,I.p=p}}(Ki&3)!==0&&Pr(),Fi(n),p=n.pendingLanes,(i&261930)!==0&&(p&42)!==0?n===Zf?$r++:($r=0,Zf=n):$r=0,Bo(0)}}function sb(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,gf(l)))}function Pr(){return ib(),ob(),ub(),rb()}function rb(){if(jn!==5)return!1;var n=jo,l=Xa;Xa=0;var i=Bm(Ki),r=V.T,p=I.p;try{I.p=32>i?32:i,V.T=null,i=fp,fp=null;var m=jo,E=Ki;if(jn=0,zu=jo=null,Ki=0,(De&6)!==0)throw Error(h(331));var O=De;if(De|=4,s0(m.current),Qr(m,m.current,E,i),De=O,Bo(0,!1),On&&typeof On.onPostCommitFiberRoot=="function")try{On.onPostCommitFiberRoot(xl,m)}catch{}return!0}finally{I.p=p,V.T=r,sb(n,l)}}function cb(n,l,i){l=il(i,l),l=qg(n.stateNode,l,2),n=rl(n,l,2),n!==null&&(tu(n,2),Fi(n))}function Be(n,l,i){if(n.tag===3)cb(n,n,i);else for(;l!==null;){if(l.tag===3){cb(l,n,i);break}else if(l.tag===1){var r=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(nn===null||!nn.has(r))){n=il(i,n),i=Gg(2),r=rl(l,i,2),r!==null&&(Xg(i,r,l,n),tu(r,2),Fi(r));break}}l=l.return}}function $f(n,l,i){var r=n.pingCache;if(r===null){r=n.pingCache=new r0;var p=new Set;r.set(l,p)}else p=r.get(l),p===void 0&&(p=new Set,r.set(l,p));p.has(i)||(sp=!0,p.add(i),n=d0.bind(null,n,l,i),l.then(n,n))}function d0(n,l,i){var r=n.pingCache;r!==null&&r.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,Ye===n&&(pe&i)===i&&(Ke===4||Ke===3&&(pe&62914560)===pe&&300>Rn()-si?(De&2)===0&&$i(n,0):rp|=i,cn===pe&&(cn=0)),Fi(n)}function fb(n,l){l===0&&(l=ca()),n=To(n,l),n!==null&&(tu(n,l),Fi(n))}function ml(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),fb(n,i)}function db(n,l){var i=0;switch(n.tag){case 31:case 13:var r=n.stateNode,p=n.memoizedState;p!==null&&(i=p.retryLane);break;case 19:r=n.stateNode;break;case 22:r=n.stateNode._retryCache;break;default:throw Error(h(314))}r!==null&&r.delete(l),fb(n,i)}function hb(n,l){return Ot(n,l)}var Ir=null,zs=null,h0=!1,mp=!1,p0=!1,Ho=0;function Fi(n){n!==zs&&n.next===null&&(zs===null?Ir=zs=n:zs=zs.next=n),mp=!0,h0||(h0=!0,Wf())}function Bo(n,l){if(!p0&&mp){p0=!0;do for(var i=!1,r=Ir;r!==null;){if(n!==0){var p=r.pendingLanes;if(p===0)var m=0;else{var E=r.suspendedLanes,O=r.pingedLanes;m=(1<<31-kn(42|n)+1)-1,m&=p&~(E&~O),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,Ms(r,m))}else m=pe,m=jt(r,r===Ye?m:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(m&3)===0||he(r,m)||(i=!0,Ms(r,m));r=r.next}while(i);p0=!1}}function gp(){m0()}function m0(){mp=h0=!1;var n=0;Ho!==0&&p2()&&(n=Ho);for(var l=Rn(),i=null,r=Ir;r!==null;){var p=r.next,m=g0(r,l);m===0?(r.next=null,i===null?Ir=p:i.next=p,p===null&&(zs=i)):(i=r,(n!==0||(m&3)!==0)&&(mp=!0)),r=p}jn!==0&&jn!==5||Bo(n),Ho!==0&&(Ho=0)}function g0(n,l){for(var i=n.suspendedLanes,r=n.pingedLanes,p=n.expirationTimes,m=n.pendingLanes&-62914561;0<m;){var E=31-kn(m),O=1<<E,H=p[E];H===-1?((O&i)===0||(O&r)!==0)&&(p[E]=ee(O,l)):H<=l&&(n.expiredLanes|=O),m&=~O}if(l=Ye,i=pe,i=jt(n,n===l?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r=n.callbackNode,i===0||n===l&&(He===2||He===9)||n.cancelPendingCommit!==null)return r!==null&&r!==null&&Po(r),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||he(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(r!==null&&Po(r),Bm(i)){case 2:case 8:i=or;break;case 32:i=ql;break;case 268435456:i=ur;break;default:i=ql}return r=Ff.bind(null,n),i=Ot(i,r),n.callbackPriority=l,n.callbackNode=i,l}return r!==null&&r!==null&&Po(r),n.callbackPriority=2,n.callbackNode=null,2}function Ff(n,l){if(jn!==0&&jn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Pr()&&n.callbackNode!==i)return null;var r=pe;return r=jt(n,n===Ye?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r===0?null:($v(n,r,l),g0(n,Rn()),n.callbackNode!=null&&n.callbackNode===i?Ff.bind(null,n):null)}function Ms(n,l){if(Pr())return null;$v(n,l,!0)}function Wf(){Tb(function(){(De&6)!==0?Ot(ir,gp):m0()})}function yp(){if(Ho===0){var n=du;n===0&&(n=yt,yt<<=1,(yt&261888)===0&&(yt=256)),Ho=n}return Ho}function pb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Rl(""+n)}function Os(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 Pf(n,l,i,r,p){if(l==="submit"&&i&&i.stateNode===p){var m=pb((p[Sa]||null).action),E=r.submitter;E&&(l=(l=E[Sa]||null)?pb(l.formAction):E.getAttribute("formAction"),l!==null&&(m=l,E=null));var O=new nf("action","action",null,r,p);n.push({event:O,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ho!==0){var H=E?Os(p,E):new FormData(p);Br(i,{pending:!0,data:H,method:p.method,action:m},null,H)}}else typeof m=="function"&&(O.preventDefault(),H=E?Os(p,E):new FormData(p),Br(i,{pending:!0,data:H,method:p.method,action:m},m,H))},currentTarget:p}]})}}for(var vp=0;vp<Er.length;vp++){var tc=Er[vp],y0=tc.toLowerCase(),v0=tc[0].toUpperCase()+tc.slice(1);Ea(y0,"on"+v0)}Ea(sf,"onAnimationEnd"),Ea(cg,"onAnimationIteration"),Ea(vh,"onAnimationStart"),Ea("dblclick","onDoubleClick"),Ea("focusin","onFocus"),Ea("focusout","onBlur"),Ea(os,"onTransitionRun"),Ea(rf,"onTransitionStart"),Ea(Mi,"onTransitionCancel"),Ea(Av,"onTransitionEnd"),Ai("onMouseEnter",["mouseout","mouseover"]),Ai("onMouseLeave",["mouseout","mouseover"]),Ai("onPointerEnter",["pointerout","pointerover"]),Ai("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 ec="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(" "),mb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ec));function gb(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var r=n[i],p=r.event;r=r.listeners;t:{var m=void 0;if(l)for(var E=r.length-1;0<=E;E--){var O=r[E],H=O.instance,$=O.currentTarget;if(O=O.listener,H!==m&&p.isPropagationStopped())break t;m=O,p.currentTarget=$;try{m(p)}catch(lt){us(lt)}p.currentTarget=null,m=H}else for(E=0;E<r.length;E++){if(O=r[E],H=O.instance,$=O.currentTarget,O=O.listener,H!==m&&p.isPropagationStopped())break t;m=O,p.currentTarget=$;try{m(p)}catch(lt){us(lt)}p.currentTarget=null,m=H}}}}function ge(n,l){var i=l[Wd];i===void 0&&(i=l[Wd]=new Set);var r=n+"__bubble";i.has(r)||(If(l,n,2,!1),i.add(r))}function b0(n,l,i){var r=0;l&&(r|=4),If(i,n,r,l)}var bp="_reactListening"+Math.random().toString(36).slice(2);function nc(n){if(!n[bp]){n[bp]=!0,$u.forEach(function(i){i!=="selectionchange"&&(mb.has(i)||b0(i,!1,n),b0(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[bp]||(l[bp]=!0,b0("selectionchange",!1,l))}}function If(n,l,i,r){switch(sd(l)){case 2:var p=Pi;break;case 8:p=Ii;break;default:p=ia}i=p.bind(null,l,i,n),p=void 0,!tf||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),r?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 S0(n,l,i,r,p){var m=r;if((l&1)===0&&(l&2)===0&&r!==null)t:for(;;){if(r===null)return;var E=r.tag;if(E===3||E===4){var O=r.stateNode.containerInfo;if(O===p)break;if(E===4)for(E=r.return;E!==null;){var H=E.tag;if((H===3||H===4)&&E.stateNode.containerInfo===p)return;E=E.return}for(;O!==null;){if(E=Zu(O),E===null)return;if(H=E.tag,H===5||H===6||H===26||H===27){r=m=E;continue t}O=O.parentNode}}r=r.return}Zm(function(){var $=m,lt=ih(i),rt=[];t:{var F=Oi.get(n);if(F!==void 0){var et=nf,zt=n;switch(n){case"keypress":if(uh(i)===0)break t;case"keydown":case"keyup":et=fh;break;case"focusin":zt="focus",et=rh;break;case"focusout":zt="blur",et=rh;break;case"beforeblur":case"afterblur":et=rh;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":et=yr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":et=hv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":et=vv;break;case sf:case cg:case vh:et=mv;break;case Av:et=s2;break;case"scroll":case"scrollend":et=o2;break;case"wheel":et=r2;break;case"copy":case"cut":case"paste":et=Iu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":et=Jl;break;case"toggle":case"beforetoggle":et=eg}var Xt=(l&4)!==0,Ge=!Xt&&(n==="scroll"||n==="scrollend"),X=Xt?F!==null?F+"Capture":null:F;Xt=[];for(var k=$,Z;k!==null;){var ut=k;if(Z=ut.stateNode,ut=ut.tag,ut!==5&&ut!==26&&ut!==27||Z===null||X===null||(ut=Yn(k,X),ut!=null&&Xt.push(td(k,ut,Z))),Ge)break;k=k.return}0<Xt.length&&(F=new et(F,zt,null,i,lt),rt.push({event:F,listeners:Xt}))}}if((l&7)===0){t:{if(F=n==="mouseover"||n==="pointerover",et=n==="mouseout"||n==="pointerout",F&&i!==lh&&(zt=i.relatedTarget||i.fromElement)&&(Zu(zt)||zt[eu]))break t;if((et||F)&&(F=lt.window===lt?lt:(F=lt.ownerDocument)?F.defaultView||F.parentWindow:window,et?(zt=i.relatedTarget||i.toElement,et=$,zt=zt?Zu(zt):null,zt!==null&&(Ge=b(zt),Xt=zt.tag,zt!==Ge||Xt!==5&&Xt!==27&&Xt!==6)&&(zt=null)):(et=null,zt=$),et!==zt)){if(Xt=yr,ut="onMouseLeave",X="onMouseEnter",k="mouse",(n==="pointerout"||n==="pointerover")&&(Xt=Jl,ut="onPointerLeave",X="onPointerEnter",k="pointer"),Ge=et==null?F:rr(et),Z=zt==null?F:rr(zt),F=new Xt(ut,k+"leave",et,i,lt),F.target=Ge,F.relatedTarget=Z,ut=null,Zu(lt)===$&&(Xt=new Xt(X,k+"enter",zt,i,lt),Xt.target=Z,Xt.relatedTarget=Ge,ut=Xt),Ge=ut,et&&zt)e:{for(Xt=yb,X=et,k=zt,Z=0,ut=X;ut;ut=Xt(ut))Z++;ut=0;for(var Vt=k;Vt;Vt=Xt(Vt))ut++;for(;0<Z-ut;)X=Xt(X),Z--;for(;0<ut-Z;)k=Xt(k),ut--;for(;Z--;){if(X===k||k!==null&&X===k.alternate){Xt=X;break e}X=Xt(X),k=Xt(k)}Xt=null}else Xt=null;et!==null&&Sp(rt,F,et,Xt,!1),zt!==null&&Ge!==null&&Sp(rt,Ge,zt,Xt,!0)}}t:{if(F=$?rr($):window,et=F.nodeName&&F.nodeName.toLowerCase(),et==="select"||et==="input"&&F.type==="file")var we=og;else if(zi(F))if(ph)we=ls;else{we=wv;var Nt=Ev}else et=F.nodeName,!et||et.toLowerCase()!=="input"||F.type!=="checkbox"&&F.type!=="radio"?$&&Qm($.elementType)&&(we=og):we=uu;if(we&&(we=we(n,$))){ig(rt,we,i,lt);break t}Nt&&Nt(n,F,$),n==="focusout"&&$&&F.type==="number"&&$.memoizedProps.value!=null&&Fu(F,"number",F.value)}switch(Nt=$?rr($):window,n){case"focusin":(zi(Nt)||Nt.contentEditable==="true")&&(ru=Nt,Sr=$,zl=null);break;case"focusout":zl=Sr=ru=null;break;case"mousedown":$l=!0;break;case"contextmenu":case"mouseup":case"dragend":$l=!1,yh(rt,i,lt);break;case"selectionchange":if(uf)break;case"keydown":case"keyup":yh(rt,i,lt)}var ne;if(vr)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 es?hh(n,i)&&(ue="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(ue="onCompositionStart");ue&&(ng&&i.locale!=="ko"&&(es||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&es&&(ne=Km()):(bo=lt,Jm="value"in bo?bo.value:bo.textContent,es=!0)),Nt=ed($,ue),0<Nt.length&&(ue=new gv(ue,n,null,i,lt),rt.push({event:ue,listeners:Nt}),ne?ue.data=ne:(ne=ag(i),ne!==null&&(ue.data=ne)))),(ne=fa?Tv(n,i):c2(n,i))&&(ue=ed($,"onBeforeInput"),0<ue.length&&(Nt=new gv("onBeforeInput","beforeinput",null,i,lt),rt.push({event:Nt,listeners:ue}),Nt.data=ne)),Pf(rt,n,$,i,lt)}gb(rt,l)})}function td(n,l,i){return{instance:n,listener:l,currentTarget:i}}function ed(n,l){for(var i=l+"Capture",r=[];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&&r.unshift(td(n,p,m)),p=Yn(n,l),p!=null&&r.push(td(n,p,m))),n.tag===3)return r;n=n.return}return[]}function yb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Sp(n,l,i,r,p){for(var m=l._reactName,E=[];i!==null&&i!==r;){var O=i,H=O.alternate,$=O.stateNode;if(O=O.tag,H!==null&&H===r)break;O!==5&&O!==26&&O!==27||$===null||(H=$,p?($=Yn(i,m),$!=null&&E.unshift(td(i,$,H))):p||($=Yn(i,m),$!=null&&E.push(td(i,$,H)))),i=i.return}E.length!==0&&n.push({event:l,listeners:E})}var vb=/\r\n?/g,T0=/\u0000|\uFFFD/g;function E0(n){return(typeof n=="string"?n:""+n).replace(vb,`
|
|
30
|
-
`).replace(T0,"")}function w0(n,l){return l=E0(l),E0(n)===l}function qe(n,l,i,r,p,m){switch(i){case"children":typeof r=="string"?l==="body"||l==="textarea"&&r===""||Ri(n,r):(typeof r=="number"||typeof r=="bigint")&&l!=="body"&&Ri(n,""+r);break;case"className":eh(n,"class",r);break;case"tabIndex":eh(n,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":eh(n,i,r);break;case"style":cv(n,r,m);break;case"data":if(l!=="object"){eh(n,"data",r);break}case"src":case"href":if(r===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(i);break}r=Rl(""+r),n.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="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"&&qe(n,l,"name",p.name,p,null),qe(n,l,"formEncType",p.formEncType,p,null),qe(n,l,"formMethod",p.formMethod,p,null),qe(n,l,"formTarget",p.formTarget,p,null)):(qe(n,l,"encType",p.encType,p,null),qe(n,l,"method",p.method,p,null),qe(n,l,"target",p.target,p,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(i);break}r=Rl(""+r),n.setAttribute(i,r);break;case"onClick":r!=null&&(n.onclick=Xl);break;case"onScroll":r!=null&&ge("scroll",n);break;case"onScrollEnd":r!=null&&ge("scrollend",n);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"multiple":n.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":n.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){n.removeAttribute("xlink:href");break}i=Rl(""+r),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":r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,""+r):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":r&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":r===!0?n.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,r):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?n.setAttribute(i,r):n.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?n.removeAttribute(i):n.setAttribute(i,r);break;case"popover":ge("beforetoggle",n),ge("toggle",n),dr(n,"popover",r);break;case"xlinkActuate":yo(n,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":yo(n,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":yo(n,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":yo(n,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":yo(n,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":yo(n,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":yo(n,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":yo(n,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":yo(n,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":dr(n,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=i2.get(i)||i,dr(n,i,r))}}function x0(n,l,i,r,p,m){switch(i){case"style":cv(n,r,m);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"children":typeof r=="string"?Ri(n,r):(typeof r=="number"||typeof r=="bigint")&&Ri(n,""+r);break;case"onScroll":r!=null&&ge("scroll",n);break;case"onScrollEnd":r!=null&&ge("scrollend",n);break;case"onClick":r!=null&&(n.onclick=Xl);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 r=="function")){typeof m!="function"&&m!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,r,p);break t}i in n?n[i]=r:r===!0?n.setAttribute(i,""):dr(n,i,r)}}}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 r=!1,p=!1,m;for(m in i)if(i.hasOwnProperty(m)){var E=i[m];if(E!=null)switch(m){case"src":r=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:qe(n,l,m,E,i,null)}}p&&qe(n,l,"srcSet",i.srcSet,i,null),r&&qe(n,l,"src",i.src,i,null);return;case"input":ge("invalid",n);var O=m=E=p=null,H=null,$=null;for(r in i)if(i.hasOwnProperty(r)){var lt=i[r];if(lt!=null)switch(r){case"name":p=lt;break;case"type":E=lt;break;case"checked":H=lt;break;case"defaultChecked":$=lt;break;case"value":m=lt;break;case"defaultValue":O=lt;break;case"children":case"dangerouslySetInnerHTML":if(lt!=null)throw Error(h(137,l));break;default:qe(n,l,r,lt,i,null)}}Wc(n,m,O,H,$,E,p,!1);return;case"select":ge("invalid",n),r=E=m=null;for(p in i)if(i.hasOwnProperty(p)&&(O=i[p],O!=null))switch(p){case"value":m=O;break;case"defaultValue":E=O;break;case"multiple":r=O;default:qe(n,l,p,O,i,null)}l=m,i=E,n.multiple=!!r,l!=null?hr(n,!!r,l,!1):i!=null&&hr(n,!!r,i,!0);return;case"textarea":ge("invalid",n),m=p=r=null;for(E in i)if(i.hasOwnProperty(E)&&(O=i[E],O!=null))switch(E){case"value":r=O;break;case"defaultValue":p=O;break;case"children":m=O;break;case"dangerouslySetInnerHTML":if(O!=null)throw Error(h(91));break;default:qe(n,l,E,O,i,null)}Xm(n,r,p,m);return;case"option":for(H in i)i.hasOwnProperty(H)&&(r=i[H],r!=null)&&(H==="selected"?n.selected=r&&typeof r!="function"&&typeof r!="symbol":qe(n,l,H,r,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(r=0;r<ec.length;r++)ge(ec[r],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($ in i)if(i.hasOwnProperty($)&&(r=i[$],r!=null))switch($){case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:qe(n,l,$,r,i,null)}return;default:if(Qm(l)){for(lt in i)i.hasOwnProperty(lt)&&(r=i[lt],r!==void 0&&x0(n,l,lt,r,i,void 0));return}}for(O in i)i.hasOwnProperty(O)&&(r=i[O],r!=null&&qe(n,l,O,r,i,null))}function A0(n,l,i,r){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,E=null,O=null,H=null,$=null,lt=null;for(et in i){var rt=i[et];if(i.hasOwnProperty(et)&&rt!=null)switch(et){case"checked":break;case"value":break;case"defaultValue":H=rt;default:r.hasOwnProperty(et)||qe(n,l,et,null,r,rt)}}for(var F in r){var et=r[F];if(rt=i[F],r.hasOwnProperty(F)&&(et!=null||rt!=null))switch(F){case"type":m=et;break;case"name":p=et;break;case"checked":$=et;break;case"defaultChecked":lt=et;break;case"value":E=et;break;case"defaultValue":O=et;break;case"children":case"dangerouslySetInnerHTML":if(et!=null)throw Error(h(137,l));break;default:et!==rt&&qe(n,l,F,et,r,rt)}}Fc(n,E,O,H,$,lt,m,p);return;case"select":et=E=O=F=null;for(m in i)if(H=i[m],i.hasOwnProperty(m)&&H!=null)switch(m){case"value":break;case"multiple":et=H;default:r.hasOwnProperty(m)||qe(n,l,m,null,r,H)}for(p in r)if(m=r[p],H=i[p],r.hasOwnProperty(p)&&(m!=null||H!=null))switch(p){case"value":F=m;break;case"defaultValue":O=m;break;case"multiple":E=m;default:m!==H&&qe(n,l,p,m,r,H)}l=O,i=E,r=et,F!=null?hr(n,!!i,F,!1):!!r!=!!i&&(l!=null?hr(n,!!i,l,!0):hr(n,!!i,i?[]:"",!1));return;case"textarea":et=F=null;for(O in i)if(p=i[O],i.hasOwnProperty(O)&&p!=null&&!r.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:qe(n,l,O,null,r,p)}for(E in r)if(p=r[E],m=i[E],r.hasOwnProperty(E)&&(p!=null||m!=null))switch(E){case"value":F=p;break;case"defaultValue":et=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(h(91));break;default:p!==m&&qe(n,l,E,p,r,m)}Gm(n,F,et);return;case"option":for(var zt in i)F=i[zt],i.hasOwnProperty(zt)&&F!=null&&!r.hasOwnProperty(zt)&&(zt==="selected"?n.selected=!1:qe(n,l,zt,null,r,F));for(H in r)F=r[H],et=i[H],r.hasOwnProperty(H)&&F!==et&&(F!=null||et!=null)&&(H==="selected"?n.selected=F&&typeof F!="function"&&typeof F!="symbol":qe(n,l,H,F,r,et));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 Xt in i)F=i[Xt],i.hasOwnProperty(Xt)&&F!=null&&!r.hasOwnProperty(Xt)&&qe(n,l,Xt,null,r,F);for($ in r)if(F=r[$],et=i[$],r.hasOwnProperty($)&&F!==et&&(F!=null||et!=null))switch($){case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(h(137,l));break;default:qe(n,l,$,F,r,et)}return;default:if(Qm(l)){for(var Ge in i)F=i[Ge],i.hasOwnProperty(Ge)&&F!==void 0&&!r.hasOwnProperty(Ge)&&x0(n,l,Ge,void 0,r,F);for(lt in r)F=r[lt],et=i[lt],!r.hasOwnProperty(lt)||F===et||F===void 0&&et===void 0||x0(n,l,lt,F,r,et);return}}for(var X in i)F=i[X],i.hasOwnProperty(X)&&F!=null&&!r.hasOwnProperty(X)&&qe(n,l,X,null,r,F);for(rt in r)F=r[rt],et=i[rt],!r.hasOwnProperty(rt)||F===et||F==null&&et==null||qe(n,l,rt,F,r,et)}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 R0(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var p=i[r],m=p.transferSize,E=p.initiatorType,O=p.duration;if(m&&O&&Tp(E)){for(E=0,O=p.responseEnd,r+=1;r<i.length;r++){var H=i[r],$=H.startTime;if($>O)break;var lt=H.transferSize,rt=H.initiatorType;lt&&Tp(rt)&&(H=H.responseEnd,E+=lt*(H<O?1:(O-$)/(H-$)))}if(--r,l+=8*(m+E)/(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 Ep=null,wp=null;function Ou(n){return n.nodeType===9?n:n.ownerDocument}function bb(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 D0(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 ac(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 xp=null;function p2(){var n=window.event;return n&&n.type==="popstate"?n===xp?!1:(xp=n,!0):(xp=null,!1)}var nd=typeof setTimeout=="function"?setTimeout:void 0,Sb=typeof clearTimeout=="function"?clearTimeout:void 0,_s=typeof Promise=="function"?Promise:void 0,Tb=typeof queueMicrotask=="function"?queueMicrotask:typeof _s<"u"?function(n){return _s.resolve(null).then(n).catch(C0)}:nd;function C0(n){setTimeout(function(){throw n})}function ri(n){return n==="head"}function z0(n,l){var i=l,r=0;do{var p=i.nextSibling;if(n.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(r===0){n.removeChild(p),mc(l);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")Us(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,Us(i);for(var m=i.firstChild;m;){var E=m.nextSibling,O=m.nodeName;m[xi]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=E}}else i==="body"&&Us(n.ownerDocument.body);i=p}while(i);mc(l)}function xn(n,l){var i=n;n=0;do{var r=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||""),r&&r.nodeType===8)if(i=r.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=r}while(i)}function ad(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":ad(i),Pd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function m2(n,l,i,r){for(;n.nodeType===1;){var p=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!r&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(r){if(!n[xi])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 re(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 Eb(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 Bl(n){return n.data==="$?"||n.data==="$~"}function _u(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function lc(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var r=function(){l(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),n._reactRetry=r}}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 ld=null;function Ap(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 ci(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 ic(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 Us(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Pd(n)}var Za=new Map,id=new Set;function pa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var fi=I.d;I.d={f:g2,r:wb,D:tt,C:Oe,L:y2,m:M0,X:Lo,S:O0,M:Uu};function g2(){var n=fi.f(),l=Fr();return n||l}function wb(n){var l=Ju(n);l!==null&&l.tag===5&&l.type==="form"?ke(l):fi.r(n)}var oc=typeof document>"u"?null:document;function zn(n,l,i){var r=oc;if(r&&typeof l=="string"&&l){var p=nl(l);p='link[rel="'+n+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),id.has(p)||(id.add(p),n={rel:n,crossOrigin:i,href:l},r.querySelector(p)===null&&(l=r.createElement("link"),la(l,"link",n),Ue(l),r.head.appendChild(l)))}}function tt(n){fi.D(n),zn("dns-prefetch",n,null)}function Oe(n,l){fi.C(n,l),zn("preconnect",n,l)}function y2(n,l,i){fi.L(n,l,i);var r=oc;if(r&&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=js(n)}Za.has(m)||(n=R({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Za.set(m,n),r.querySelector(p)!==null||l==="style"&&r.querySelector(ju(m))||l==="script"&&r.querySelector(rc(m))||(l=r.createElement("link"),la(l,"link",n),Ue(l),r.head.appendChild(l)))}}function M0(n,l){fi.m(n,l);var i=oc;if(i&&n){var r=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+nl(r)+'"][href="'+nl(n)+'"]',m=p;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=js(n)}if(!Za.has(m)&&(n=R({rel:"modulepreload",href:n},l),Za.set(m,n),i.querySelector(p)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(rc(m)))return}r=i.createElement("link"),la(r,"link",n),Ue(r),i.head.appendChild(r)}}}function O0(n,l,i){fi.S(n,l,i);var r=oc;if(r&&n){var p=Ku(r).hoistableStyles,m=gl(n);l=l||"default";var E=p.get(m);if(!E){var O={loading:0,preload:null};if(E=r.querySelector(ju(m)))O.loading=5;else{n=R({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Za.get(m))&&Rp(n,i);var H=E=r.createElement("link");Ue(H),la(H,"link",n),H._p=new Promise(function($,lt){H.onload=$,H.onerror=lt}),H.addEventListener("load",function(){O.loading|=1}),H.addEventListener("error",function(){O.loading|=2}),O.loading|=4,od(E,l,r)}E={type:"stylesheet",instance:E,count:1,state:O},p.set(m,E)}}}function Lo(n,l){fi.X(n,l);var i=oc;if(i&&n){var r=Ku(i).hoistableScripts,p=js(n),m=r.get(p);m||(m=i.querySelector(rc(p)),m||(n=R({src:n,async:!0},l),(l=Za.get(p))&&Dp(n,l),m=i.createElement("script"),Ue(m),la(m,"link",n),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(p,m))}}function Uu(n,l){fi.M(n,l);var i=oc;if(i&&n){var r=Ku(i).hoistableScripts,p=js(n),m=r.get(p);m||(m=i.querySelector(rc(p)),m||(n=R({src:n,async:!0,type:"module"},l),(l=Za.get(p))&&Dp(n,l),m=i.createElement("script"),Ue(m),la(m,"link",n),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(p,m))}}function uc(n,l,i,r){var p=(p=te.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=Ku(p).hoistableStyles,r=i.get(l),r||(r={type:"style",instance:null,count:0,state:null},i.set(l,r)),r):{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=Ku(p).hoistableStyles,E=m.get(n);if(E||(p=p.ownerDocument||p,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(n,E),(m=p.querySelector(ju(n)))&&!m._p&&(E.instance=m,E.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||xb(p,n,i,E.state))),l&&r===null)throw Error(h(528,""));return E}if(l&&r!==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=js(i),i=Ku(p).hoistableScripts,r=i.get(l),r||(r={type:"script",instance:null,count:0,state:null},i.set(l,r)),r):{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 xb(n,l,i,r){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?r.loading=1:(l=n.createElement("link"),r.preload=l,l.addEventListener("load",function(){return r.loading|=1}),l.addEventListener("error",function(){return r.loading|=2}),la(l,"link",i),Ue(l),n.head.appendChild(l))}function js(n){return'[src="'+nl(n)+'"]'}function rc(n){return"script[async]"+n}function _0(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var r=n.querySelector('style[data-href~="'+nl(i.href)+'"]');if(r)return l.instance=r,Ue(r),r;var p=R({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(n.ownerDocument||n).createElement("style"),Ue(r),la(r,"style",p),od(r,i.precedence,n),l.instance=r;case"stylesheet":p=gl(i.href);var m=n.querySelector(ju(p));if(m)return l.state.loading|=4,l.instance=m,Ue(m),m;r=sc(i),(p=Za.get(p))&&Rp(r,p),m=(n.ownerDocument||n).createElement("link"),Ue(m);var E=m;return E._p=new Promise(function(O,H){E.onload=O,E.onerror=H}),la(m,"link",r),l.state.loading|=4,od(m,i.precedence,n),l.instance=m;case"script":return m=js(i.src),(p=n.querySelector(rc(m)))?(l.instance=p,Ue(p),p):(r=i,(p=Za.get(m))&&(r=R({},i),Dp(r,p)),n=n.ownerDocument||n,p=n.createElement("script"),Ue(p),la(p,"link",r),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&&(r=l.instance,l.state.loading|=4,od(r,i.precedence,n));return l.instance}function od(n,l,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=r.length?r[r.length-1]:null,m=p,E=0;E<r.length;E++){var O=r[E];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 Rp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function Dp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var cc=null;function U0(n,l,i){if(cc===null){var r=new Map,p=cc=new Map;p.set(i,r)}else p=cc,r=p.get(i),r||(r=new Map,p.set(i,r));if(r.has(n))return r;for(r.set(n,null),i=i.getElementsByTagName(n),p=0;p<i.length;p++){var m=i[p];if(!(m[xi]||m[Ve]||n==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var E=m.getAttribute(l)||"";E=n+E;var O=r.get(E);O?O.push(m):r.set(E,[m])}}return r}function Cp(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function j0(n,l,i){if(i===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;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 Ja(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Wi(n,l,i,r){if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=gl(r.href),m=l.querySelector(ju(p));if(m){l=m._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=zp.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=m,Ue(m);return}m=l.ownerDocument||l,r=sc(r),(p=Za.get(p))&&Rp(r,p),m=m.createElement("link"),Ue(m);var E=m;E._p=new Promise(function(O,H){E.onload=O,E.onerror=H}),la(m,"link",r),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=zp.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var yl=0;function N0(n,l){return n.stylesheets&&n.count===0&&Op(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var r=setTimeout(function(){if(n.stylesheets&&Op(n,n.stylesheets),n.unsuspend){var m=n.unsuspend;n.unsuspend=null,m()}},6e4+l);0<n.imgBytes&&yl===0&&(yl=62500*R0());var p=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Op(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(r),clearTimeout(p)}}:null}function zp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Op(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Mp=null;function Op(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Mp=new Map,l.forEach(Kn,n),Mp=null,zp.call(n))}function Kn(n,l){if(!(l.state.loading&4)){var i=Mp.get(n);if(i)var r=i.get(null);else{i=new Map,Mp.set(n,i);for(var p=n.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<p.length;m++){var E=p[m];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(i.set(E.dataset.precedence,E),r=E)}r&&i.set(null,r)}p=l.instance,E=p.getAttribute("data-precedence"),m=i.get(E)||r,m===r&&i.set(null,p),i.set(E,p),this.count++,r=zp.bind(this),p.addEventListener("load",r),p.addEventListener("error",r),m?m.parentNode.insertBefore(p,m.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(p,n.firstChild)),l.state.loading|=4}}var ud={$$typeof:pt,Provider:null,Consumer:null,_currentValue:dt,_currentValue2:dt,_threadCount:0};function H0(n,l,i,r,p,m,E,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=Al(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Al(0),this.hiddenUpdates=Al(null),this.identifierPrefix=r,this.onUncaughtError=p,this.onCaughtError=m,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map}function _p(n,l,i,r,p,m,E,O,H,$,lt,rt){return n=new H0(n,l,i,E,H,$,lt,rt,O),l=1,m===!0&&(l|=24),m=hn(3,null,null,l),n.current=m,m.stateNode=n,l=mf(),l.refCount++,n.pooledCache=l,l.refCount++,m.memoizedState={element:r,isDehydrated:i,cache:l},Ef(m),n}function Ns(n){return n?(n=wa,n):wa}function Ab(n,l,i,r,p,m){p=Ns(p),r.context===null?r.context=p:r.pendingContext=p,r=Co(l),r.payload={element:i},m=m===void 0?null:m,m!==null&&(r.callback=m),i=rl(n,r,l),i!==null&&(Ua(i,n,l),vu(i,n,l))}function Up(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function B0(n,l){Up(n,l),(n=n.alternate)&&Up(n,l)}function Rb(n){if(n.tag===13||n.tag===31){var l=To(n,67108864);l!==null&&Ua(l,n,67108864),B0(n,67108864)}}function Hs(n){if(n.tag===13||n.tag===31){var l=Qa();l=$d(l);var i=To(n,l);i!==null&&Ua(i,n,l),B0(n,l)}}var Nn=!0;function Pi(n,l,i,r){var p=V.T;V.T=null;var m=I.p;try{I.p=2,ia(n,l,i,r)}finally{I.p=m,V.T=p}}function Ii(n,l,i,r){var p=V.T;V.T=null;var m=I.p;try{I.p=8,ia(n,l,i,r)}finally{I.p=m,V.T=p}}function ia(n,l,i,r){if(Nn){var p=L0(r);if(p===null)S0(n,l,r,jp,i),Vo(n,r);else if(v2(p,n,l,i,r))r.stopPropagation();else if(Vo(n,r),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 E=Qt(m.pendingLanes);if(E!==0){var O=m;for(O.pendingLanes|=2,O.entangledLanes|=2;E;){var H=1<<31-kn(E);O.entanglements[1]|=H,E&=~H}Fi(m),(De&6)===0&&(Me=Rn()+500,Bo(0))}}break;case 31:case 13:O=To(m,2),O!==null&&Ua(O,m,2),Fr(),B0(m,2)}if(m=L0(r),m===null&&S0(n,l,r,jp,i),m===p)break;p=m}p!==null&&r.stopPropagation()}else S0(n,l,r,null,i)}}function L0(n){return n=ih(n),fc(n)}var jp=null;function fc(n){if(jp=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=T(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 jp=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 ir:return 2;case or:return 8;case ql:case Kd:return 32;case ur:return 268435456;default:return 32}default:return 32}}var dc=!1,Hn=null,oa=null,ma=null,Nu=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":Nu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ll.delete(l.pointerId)}}function Bs(n,l,i,r,p,m){return n===null||n.nativeEvent!==m?(n={blockedOn:l,domEventName:i,eventSystemFlags:r,nativeEvent:m,targetContainers:[p]},l!==null&&(l=Ju(l),l!==null&&Rb(l)),n):(n.eventSystemFlags|=r,l=n.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),n)}function v2(n,l,i,r,p){switch(l){case"focusin":return Hn=Bs(Hn,n,l,i,r,p),!0;case"dragenter":return oa=Bs(oa,n,l,i,r,p),!0;case"mouseover":return ma=Bs(ma,n,l,i,r,p),!0;case"pointerover":var m=p.pointerId;return Nu.set(m,Bs(Nu.get(m)||null,n,l,i,r,p)),!0;case"gotpointercapture":return m=p.pointerId,Ll.set(m,Bs(Ll.get(m)||null,n,l,i,r,p)),!0}return!1}function Db(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,Lm(n.priority,function(){Hs(i)});return}}else if(l===31){if(l=T(i),l!==null){n.blockedOn=l,Lm(n.priority,function(){Hs(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 rd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=L0(n.nativeEvent);if(i===null){i=n.nativeEvent;var r=new i.constructor(i.type,i);lh=r,i.target.dispatchEvent(r),lh=null}else return l=Ju(i),l!==null&&Rb(l),n.blockedOn=i,!1;l.shift()}return!0}function hc(n,l,i){rd(n)&&i.delete(l)}function Cb(){dc=!1,Hn!==null&&rd(Hn)&&(Hn=null),oa!==null&&rd(oa)&&(oa=null),ma!==null&&rd(ma)&&(ma=null),Nu.forEach(hc),Ll.forEach(hc)}function to(n,l){n.blockedOn===l&&(n.blockedOn=null,dc||(dc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Cb)))}var pc=null;function zb(n){pc!==n&&(pc=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){pc===n&&(pc=null);for(var l=0;l<n.length;l+=3){var i=n[l],r=n[l+1],p=n[l+2];if(typeof r!="function"){if(fc(r||i)===null)continue;break}var m=Ju(i);m!==null&&(n.splice(l,3),l-=3,Br(m,{pending:!0,data:p,method:i.method,action:r},r,p))}}))}function mc(n){function l(H){return to(H,n)}Hn!==null&&to(Hn,n),oa!==null&&to(oa,n),ma!==null&&to(ma,n),Nu.forEach(l),Ll.forEach(l);for(var i=0;i<an.length;i++){var r=an[i];r.blockedOn===n&&(r.blockedOn=null)}for(;0<an.length&&(i=an[0],i.blockedOn===null);)Db(i),i.blockedOn===null&&an.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var p=i[r],m=i[r+1],E=p[Sa]||null;if(typeof m=="function")E||zb(i);else if(E){var O=null;if(m&&m.hasAttribute("formAction")){if(p=m,E=m[Sa]||null)O=E.formAction;else if(fc(p)!==null)continue}else O=E.action;typeof O=="function"?i[r+1]=O:(i.splice(r,3),r-=3),zb(i)}}}function V0(){function n(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(E){return p=E})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),r||setTimeout(i,20)}function i(){if(!r&&!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 r=!1,p=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function Np(n){this._internalRoot=n}Hp.prototype.render=Np.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(h(409));var i=l.current,r=Qa();Ab(i,r,n,l,null,null)},Hp.prototype.unmount=Np.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Ab(n.current,2,null,n,null,null),Fr(),l[eu]=null}};function Hp(n){this._internalRoot=n}Hp.prototype.unstable_scheduleHydration=function(n){if(n){var l=Fd();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&&Db(n)}};var k0=s.version;if(k0!=="19.2.3")throw Error(h(527,k0,"19.2.3"));I.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 Mb={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cd.isDisabled&&cd.supportsFiber)try{xl=cd.inject(Mb),On=cd}catch{}}return ym.createRoot=function(n,l){if(!y(n))throw Error(h(299));var i=!1,r="",p=Jh,m=Yg,E=Kh;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(r=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(m=l.onCaughtError),l.onRecoverableError!==void 0&&(E=l.onRecoverableError)),l=_p(n,1,!1,null,null,i,r,null,p,m,E,V0),n[eu]=l.current,nc(n),new Np(l)},ym.hydrateRoot=function(n,l,i){if(!y(n))throw Error(h(299));var r=!1,p="",m=Jh,E=Yg,O=Kh,H=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(E=i.onCaughtError),i.onRecoverableError!==void 0&&(O=i.onRecoverableError),i.formState!==void 0&&(H=i.formState)),l=_p(n,1,!0,l,i??null,r,p,H,m,E,O,V0),l.context=Ns(null),i=l.current,r=Qa(),r=$d(r),p=Co(r),p.callback=null,rl(i,p,r),i=r,l.current.lanes=i,tu(l,i),Fi(l),n[eu]=l.current,nc(n),new Hp(l)},ym.version="19.2.3",ym}var vm={};var GT;function jD(){return GT||(GT=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 s(t,e,a,o){if(a>=e.length)return o;var c=e[a],f=zn(t)?t.slice():re({},t);return f[c]=s(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():re({},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():re({},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 T(){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 x(){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 C(t,e,a,o){return new c2(t,e,a,o)}function q(t,e){t.context===bc&&(Sp(t.current,2,e,t,null,null),pl())}function nt(t,e){if(ao!==null){var a=e.staleFamilies;e=e.updatedFamilies,Yf(),Tv(t.current,e,a),pl()}}function ft(t){ao=t}function at(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function ot(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 St(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 pt(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 Ut(t){if(ot(t)!==t)throw Error("Unable to find node on an unmounted component.")}function xt(t){var e=t.alternate;if(!e){if(e=ot(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 Ut(c),t;if(f===o)return Ut(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 Gt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Gt(t),e!==null)return e;t=t.sibling}return null}function Tt(t){return t===null||typeof t!="object"?null:(t=wb&&t[wb]||t["@@iterator"],typeof t=="function"?t:null)}function Q(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===oc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case lc:return"Fragment";case ld:return"Profiler";case ja:return"StrictMode";case Us:return"Suspense";case Za:return"SuspenseList";case fi: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 ci:return t.displayName||"Context";case Ap:return(t._context.displayName||"Context")+".Consumer";case ic:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case id:return e=t.displayName||null,e!==null?e:Q(t.type)||"Memo";case pa:e=t._payload,t=t._init;try{return Q(t(e))}catch{}}return null}function vt(t){return typeof t.tag=="number"?ht(t):typeof t.name=="string"?t.name:null}function ht(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 Q(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 ht(t.return)}return null}function ae(t){return{current:t}}function Dt(t,e){0>Lo?console.error("Unexpected pop."):(e!==O0[Lo]&&console.error("Unexpected Fiber popped."),t.current=M0[Lo],M0[Lo]=null,O0[Lo]=null,Lo--)}function Jt(t,e,a){Lo++,M0[Lo]=t.current,O0[Lo]=a,t.current=e}function _e(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 Le(t,e){Jt(gl,e,t),Jt(uc,t,t),Jt(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)?Fv(e):Ws;break;default:if(a=e.tagName,e=e.namespaceURI)e=Fv(e),e=No(e,a);else switch(a){case"svg":e=dm;break;case"math":e=T1;break;default:e=Ws}}a=a.toLowerCase(),a=qm(null,a),a={context:e,ancestorInfo:a},Dt(Uu,t),Jt(Uu,a,t)}function V(t){Dt(Uu,t),Dt(uc,t),Dt(gl,t)}function I(){return _e(Uu.current)}function dt(t){t.memoizedState!==null&&Jt(ju,t,t);var e=_e(Uu.current),a=t.type,o=No(e.context,a);a=qm(e.ancestorInfo,a),o={context:o,ancestorInfo:a},e!==o&&(Jt(uc,t,t),Jt(Uu,o,t))}function Ct(t){uc.current===t&&(Dt(Uu,t),Dt(uc,t)),ju.current===t&&(Dt(ju,t),zy._currentValue=Ud)}function Ht(){}function _(){if(sc===0){xb=console.log,js=console.info,rc=console.warn,_0=console.error,od=console.group,Rp=console.groupCollapsed,Dp=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 K(){if(sc--,sc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},t,{value:xb}),info:re({},t,{value:js}),warn:re({},t,{value:rc}),error:re({},t,{value:_0}),group:re({},t,{value:od}),groupCollapsed:re({},t,{value:Rp}),groupEnd:re({},t,{value:Dp})})}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
|
+
`+r.stack}}var Zc=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,ir=u.unstable_ImmediatePriority,or=u.unstable_UserBlockingPriority,Gl=u.unstable_NormalPriority,Kd=u.unstable_LowPriority,ur=u.unstable_IdlePriority,Jc=u.log,Qu=u.unstable_setDisableYieldValue,xl=null,On=null;function Ia(n){if(typeof Jc=="function"&&Qu(n),On&&typeof On.setStrictMode=="function")try{On.setStrictMode(xl,n)}catch{}}var kn=Math.clz32?Math.clz32:G,Io=Math.log,z=Math.LN2;function G(n){return n>>>=0,n===0?32:31-(Io(n)/z|0)|0}var yt=256,St=262144,Ut=4194304;function Jt(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 r=n.pendingLanes;if(r===0)return 0;var p=0,m=n.suspendedLanes,E=n.pingedLanes;n=n.warmLanes;var O=r&134217727;return O!==0?(r=O&~m,r!==0?p=Jt(r):(E&=O,E!==0?p=Jt(E):i||(i=O&~n,i!==0&&(p=Jt(i))))):(O=r&~m,O!==0?p=Jt(O):E!==0?p=Jt(E):i||(i=r&~n,i!==0&&(p=Jt(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 Al(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 sr(n,l,i,r,p,m){var E=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=E&~i;0<i;){var ot=31-kn(i),ct=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 nt=W[ot];nt!==null&&(nt.lane&=-536870913)}i&=~ct}r!==0&&Kc(n,r,0),m!==0&&p===0&&n.tag!==0&&(n.suspendedLanes|=m&~(E&~l))}function Kc(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var r=31-kn(l);n.entangledLanes|=l,n.entanglements[r]=n.entanglements[r]|1073741824|i&261930}function xi(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var r=31-kn(i),p=1<<r;p&l|n[r]&l&&(n[r]|=l),i&=~p}}function tl(n,l){var i=l&-l;return i=(i&42)!==0?1:$d(i),(i&(n.suspendedLanes|l))!==0?0:i}function $d(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 Bm(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Fd(){var n=tt.p;return n!==0?n:(n=window.event,n===void 0?32:sd(n.type))}function Lm(n,l){var i=tt.p;try{return tt.p=n,l()}finally{tt.p=i}}var Xl=Math.random().toString(36).slice(2),ke="__reactFiber$"+Xl,Sa="__reactProps$"+Xl,eu="__reactContainer$"+Xl,Wd="__reactEvents$"+Xl,Vm="__reactListeners$"+Xl,rv="__reactHandles$"+Xl,km="__reactResources$"+Xl,Ai="__reactMarker$"+Xl;function Pd(n){delete n[ke],delete n[Sa],delete n[Wd],delete n[Vm],delete n[rv]}function Zu(n){var l=n[ke];if(l)return l;for(var i=n.parentNode;i;){if(l=i[eu]||i[ke]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(n=fi(n);n!==null;){if(i=n[ke])return i;n=fi(n)}return l}n=i,i=n.parentNode}return null}function Ju(n){if(n=n[ke]||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 rr(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(h(33))}function Ku(n){var l=n[km];return l||(l=n[km]={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 Id=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]*$"),th={},cr={};function fr(n){return Zc.call(cr,n)?!0:Zc.call(th,n)?!1:Id.test(n)?cr[n]=!0:(th[n]=!0,!1)}function dr(n,l,i){if(fr(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var r=l.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function eh(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,r){if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+r)}}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 nh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Ym(n,l,i){var r=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var p=r.get,m=r.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return p.call(this)},set:function(E){i=""+E,m.call(this,E)}}),Object.defineProperty(n,l,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(E){i=""+E},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function ah(n){if(!n._valueTracker){var l=nh(n)?"checked":"value";n._valueTracker=Ym(n,l,""+n[l])}}function qm(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),r="";return n&&(r=nh(n)?n.checked?"true":"false":n.value),n=r,n!==i?(l.setValue(n),!0):!1}function $c(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 i2=/[\n"\\]/g;function nl(n){return n.replace(i2,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Fc(n,l,i,r,p,m,E,O){n.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?n.type=E:n.removeAttribute("type"),l!=null?E==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+el(l)):n.value!==""+el(l)&&(n.value=""+el(l)):E!=="submit"&&E!=="reset"||n.removeAttribute("value"),l!=null?Fu(n,E,el(l)):i!=null?Fu(n,E,el(i)):r!=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 Wc(n,l,i,r,p,m,E,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)){ah(n);return}i=i!=null?""+el(i):"",l=l!=null?""+el(l):i,O||l===n.value||(n.value=l),n.defaultValue=l}r=r??p,r=typeof r!="function"&&typeof r!="symbol"&&!!r,n.checked=O?n.checked:!!r,n.defaultChecked=!!r,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(n.name=E),ah(n)}function Fu(n,l,i){l==="number"&&$c(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function hr(n,l,i,r){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&&r&&(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,r&&(n[p].defaultSelected=!0);return}l!==null||n[p].disabled||(l=n[p])}l!==null&&(l.selected=!0)}}function Gm(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 Xm(n,l,i,r){if(l==null){if(r!=null){if(i!=null)throw Error(h(92));if(De(r)){if(1<r.length)throw Error(h(93));r=r[0]}i=r}i==null&&(i=""),l=i}i=el(l),n.defaultValue=i,r=n.textContent,r===i&&r!==""&&r!==null&&(n.value=r),ah(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 cv=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 fv(n,l,i){var r=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":r?n.setProperty(l,i):typeof i!="number"||i===0||cv.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function dv(n,l,i){if(l!=null&&typeof l!="object")throw Error(h(62));if(n=n.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||l!=null&&l.hasOwnProperty(r)||(r.indexOf("--")===0?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="");for(var p in l)r=l[p],l.hasOwnProperty(p)&&i[p]!==r&&fv(n,p,r)}else for(var m in l)l.hasOwnProperty(m)&&fv(n,m,l[m])}function Qm(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 o2=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"]]),Pc=/^[\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 Rl(n){return Pc.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Ql(){}var lh=null;function ih(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var zi=null,Wu=null;function Ic(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(Fc(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 r=i[l];if(r!==n&&r.form===n.form){var p=r[Sa]||null;if(!p)throw Error(h(90));Fc(r,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)r=i[l],r.form===n.form&&qm(r)}break t;case"textarea":Gm(n,i.value,i.defaultValue);break t;case"select":l=i.value,l!=null&&hr(n,!!i.multiple,l,!1)}}}var pr=!1;function Zm(n,l,i){if(pr)return n(l,i);pr=!0;try{var r=n(l);return r}finally{if(pr=!1,(zi!==null||Wu!==null)&&(Fr(),zi&&(l=zi,n=Wu,Wu=zi=null,Ic(l),n)))for(l=0;l<n.length;l++)Ic(n[l])}}function Yn(n,l){var i=n.stateNode;if(i===null)return null;var r=i[Sa]||null;if(r===null)return null;i=r[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":(r=!r.disabled)||(n=n.type,r=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!r;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"),tf=!1;if(vo)try{var mr={};Object.defineProperty(mr,"passive",{get:function(){tf=!0}}),window.addEventListener("test",mr,mr),window.removeEventListener("test",mr,mr)}catch{tf=!1}var bo=null,Jm=null,oh=null;function Km(){if(oh)return oh;var n,l=Jm,i=l.length,r,p="value"in bo?bo.value:bo.textContent,m=p.length;for(n=0;n<i&&l[n]===p[n];n++);var E=i-n;for(r=1;r<=E&&l[i-r]===p[m-r];r++);return oh=p.slice(n,1<r?1-r:void 0)}function uh(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 ef(){return!0}function hv(){return!1}function aa(n){function l(i,r,p,m,E){this._reactName=i,this._targetInst=p,this.type=r,this.nativeEvent=m,this.target=E,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)?ef:hv,this.isPropagationStopped=hv,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=ef)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=ef)},persist:function(){},isPersistent:ef}),l}var lu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nf=aa(lu),gr=R({},lu,{view:0,detail:0}),u2=aa(gr),$m,Fm,af,sh=R({},gr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dl,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!==af&&(af&&n.type==="mousemove"?($m=n.screenX-af.screenX,Fm=n.screenY-af.screenY):Fm=$m=0,af=n),$m)},movementY:function(n){return"movementY"in n?n.movementY:Fm}}),yr=aa(sh),pv=R({},sh,{dataTransfer:0}),mv=aa(pv),gv=R({},gr,{relatedTarget:0}),rh=aa(gv),Wm=R({},lu,{animationName:0,elapsedTime:0,pseudoElement:0}),yv=aa(Wm),Pu=R({},lu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Iu=aa(Pu),Zl=R({},lu,{data:0}),vv=aa(Zl),Pm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ci={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},bv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jl(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=bv[n])?!!l[n]:!1}function Dl(){return Jl}var ch=R({},gr,{key:function(n){if(n.key){var l=Pm[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=uh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ci[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dl,charCode:function(n){return n.type==="keypress"?uh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?uh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),fh=aa(ch),Im=R({},sh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kl=aa(Im),s2=R({},gr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dl}),Sv=aa(s2),Tv=R({},lu,{propertyName:0,elapsedTime:0,pseudoElement:0}),r2=aa(Tv),tg=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}),c2=aa(tg),Ev=R({},lu,{newState:0,oldState:0}),eg=aa(Ev),dh=[9,13,27,32],vr=vo&&"CompositionEvent"in window,ts=null;vo&&"documentMode"in document&&(ts=document.documentMode);var fa=vo&&"TextEvent"in window&&!ts,ng=vo&&(!vr||ts&&8<ts&&11>=ts),lf=" ",iu=!1;function hh(n,l){switch(n){case"keyup":return dh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ag(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var es=!1;function wv(n,l){switch(n){case"compositionend":return ag(l);case"keypress":return l.which!==32?null:(iu=!0,lf);case"textInput":return n=l.data,n===lf&&iu?null:n;default:return null}}function f2(n,l){if(es)return n==="compositionend"||!vr&&hh(n,l)?(n=Km(),oh=Jm=bo=null,es=!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 ng&&l.locale!=="ko"?null:l.data;default:return null}}var lg={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"?!!lg[n.type]:l==="textarea"}function ig(n,l,i,r){zi?Wu?Wu.push(r):Wu=[r]:zi=r,l=ed(l,"onChange"),0<l.length&&(i=new nf("onChange","change",null,i,r),n.push({event:i,listeners:l}))}var ns=null,ou=null;function as(n){vb(n,0)}function br(n){var l=rr(n);if(qm(l))return n}function og(n,l){if(n==="change")return l}var ph=!1;if(vo){var Ta;if(vo){var $l="oninput"in document;if(!$l){var ug=document.createElement("div");ug.setAttribute("oninput","return;"),$l=typeof ug.oninput=="function"}Ta=$l}else Ta=!1;ph=Ta&&(!document.documentMode||9<document.documentMode)}function mh(){ns&&(ns.detachEvent("onpropertychange",gh),ou=ns=null)}function gh(n){if(n.propertyName==="value"&&br(ou)){var l=[];ig(l,ou,n,ih(n)),Zm(as,l)}}function xv(n,l,i){n==="focusin"?(mh(),ns=l,ou=i,ns.attachEvent("onpropertychange",gh)):n==="focusout"&&mh()}function Av(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return br(ou)}function uu(n,l){if(n==="click")return br(l)}function ls(n,l){if(n==="input"||n==="change")return br(l)}function Rv(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var da=typeof Object.is=="function"?Object.is:Rv;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),r=Object.keys(l);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var p=i[r];if(!Zc.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 rg(n,l){var i=sg(n);n=0;for(var r;i;){if(i.nodeType===3){if(r=n+i.textContent.length,n<=l&&r>=l)return{node:i,offset:l-n};n=r}t:{for(;i;){if(i.nextSibling){i=i.nextSibling;break t}i=i.parentNode}i=void 0}i=sg(i)}}function is(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?is(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=$c(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=$c(n.document)}return l}function of(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 uf=vo&&"documentMode"in document&&11>=document.documentMode,ru=null,Sr=null,Cl=null,Fl=!1;function yh(n,l,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Fl||ru==null||ru!==$c(r)||(r=ru,"selectionStart"in r&&of(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Cl&&zl(Cl,r)||(Cl=r,r=ed(Sr,"onSelect"),0<r.length&&(l=new nf("onSelect","select",null,l,i),n.push({event:l,listeners:r}),l.target=ru)))}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")},Tr={},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(Tr[n])return Tr[n];if(!Wl[n])return n;var l=Wl[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in cu)return Tr[n]=l[i];return n}var sf=_e("animationend"),cg=_e("animationiteration"),vh=_e("animationstart"),os=_e("transitionrun"),rf=_e("transitionstart"),Oi=_e("transitioncancel"),Dv=_e("transitionend"),_i=new Map,Er="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(" ");Er.push("scrollEnd");function Ea(n,l){_i.set(n,l),au(l,[n])}var us=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,Ml=0;function al(){for(var n=qn,l=Ml=qn=0;l<n;){var i=tn[l];tn[l++]=null;var r=tn[l];tn[l++]=null;var p=tn[l];tn[l++]=null;var m=tn[l];if(tn[l++]=null,r!==null&&p!==null){var E=r.pending;E===null?p.next=p:(p.next=E.next,E.next=p),r.pending=p}m!==0&&bh(i,p,m)}}function ll(n,l,i,r){tn[qn++]=n,tn[qn++]=l,tn[qn++]=i,tn[qn++]=r,Ml|=r,n.lanes|=r,n=n.alternate,n!==null&&(n.lanes|=r)}function Ol(n,l,i,r){return ll(n,l,i,r),cf(n)}function To(n,l){return ll(n,null,null,l),cf(n)}function bh(n,l,i){n.lanes|=i;var r=n.alternate;r!==null&&(r.lanes|=i);for(var p=!1,m=n.return;m!==null;)m.childLanes|=i,r=m.alternate,r!==null&&(r.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-kn(i),n=m.hiddenUpdates,r=n[p],r===null?n[p]=[l]:r.push(l),l.lane=i|536870912),m):null}function cf(n){if(50<$r)throw $r=0,Zf=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,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(n,l,i,r){return new zv(n,l,i,r)}function ss(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Eo(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 fg(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 Sh(n,l,i,r,p,m){var E=0;if(r=n,typeof n=="function")ss(n)&&(E=1);else if(typeof n=="string")E=jy(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 dt:return wo(i.children,p,m,l);case it:E=8,p|=24;break;case st:return n=hn(12,i,l,p|2),n.elementType=st,n.lanes=m,n;case xt:return n=hn(13,i,l,p),n.elementType=xt,n.lanes=m,n;case Yt:return n=hn(19,i,l,p),n.elementType=Yt,n.lanes=m,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case pt:E=10;break t;case bt:E=9;break t;case Ot:E=11;break t;case Tt:E=14;break t;case Q:E=16,r=null;break t}E=29,i=Error(h(130,n===null?"null":typeof n,"")),r=null}return l=hn(E,i,l,p),l.elementType=n,l.type=r,l.lanes=m,l}function wo(n,l,i,r){return n=hn(7,n,r,l),n.lanes=i,n}function wr(n,l,i){return n=hn(6,n,null,l),n.lanes=i,n}function dg(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 hg=new WeakMap;function il(n,l){if(typeof n=="object"&&n!==null){var i=hg.get(n);return i!==void 0?i:(l={value:n,source:l,stack:Gu(l)},hg.set(n,l),l)}return{value:n,source:l,stack:Gu(l)}}var ol=[],rs=0,ff=null,Sn=0,ka=[],xa=0,Pl=null,Ya=1,Il="";function _l(n,l){ol[rs++]=Sn,ol[rs++]=ff,ff=n,Sn=l}function pg(n,l,i){ka[xa++]=Ya,ka[xa++]=Il,ka[xa++]=Pl,Pl=n;var r=Ya;n=Il;var p=32-kn(r)-1;r&=~(1<<p),i+=1;var m=32-kn(l)+p;if(30<m){var E=p-p%5;m=(r&(1<<E)-1).toString(32),r>>=E,p-=E,Ya=1<<32-kn(l)+p|i<<p|r,Il=m+n}else Ya=1<<m|i<<p|r,Il=n}function xr(n){n.return!==null&&(_l(n,1),pg(n,1,0))}function Eh(n){for(;n===ff;)ff=ol[--rs],ol[rs]=null,Sn=ol[--rs],ol[rs]=null;for(;n===Pl;)Pl=ka[--xa],ka[xa]=null,Il=ka[--xa],ka[xa]=null,Ya=ka[--xa],ka[xa]=null}function df(n,l){ka[xa++]=Ya,ka[xa++]=Il,ka[xa++]=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 Ul(n){var l=Error(h(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Rr(il(l,n)),ji}function hf(n){var l=n.stateNode,i=n.type,r=n.memoizedProps;switch(l[ke]=n,l[Sa]=r,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<ec.length;i++)ge(ec[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),Wc(l,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":ge("invalid",l);break;case"textarea":ge("invalid",l),Xm(l,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||r.suppressHydrationWarning===!0||wy(l.textContent,i)?(r.popover!=null&&(ge("beforetoggle",l),ge("toggle",l)),r.onScroll!=null&&ge("scroll",l),r.onScrollEnd!=null&&ge("scrollend",l),r.onClick!=null&&(l.onclick=Ql),l=!0):l=!1,l||Ul(n,!0)}function Ar(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 Ar(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")||ac(n.type,n.memoizedProps)),i=!i),i&&Ze&&Ul(n),Ar(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Ap(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(317));Ze=Ap(n)}else l===27?(l=Ze,ci(n.type)?(n=ld,ld=null,Ze=n):Ze=l):Ze=Gn?ja(n.stateNode.nextSibling):null;return!0}function fu(){Ze=Gn=null,ye=!1}function mg(){var n=Ui;return n!==null&&(fn===null?fn=n:fn.push.apply(fn,n),Ui=null),n}function Rr(n){Ui===null?Ui=[n]:Ui.push(n)}var wh=_(null),xo=null,ti=null;function Aa(n,l,i){gt(wh,l._currentValue),l._currentValue=i}function ei(n){n._currentValue=wh.current,$(wh)}function xh(n,l,i){for(;n!==null;){var r=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,r!==null&&(r.childLanes|=l)):r!==null&&(r.childLanes&l)!==l&&(r.childLanes|=l),n===i)break;n=n.return}}function Hi(n,l,i,r){var p=n.child;for(p!==null&&(p.return=n);p!==null;){var m=p.dependencies;if(m!==null){var E=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),xh(m.return,i,n),r||(E=null);break t}m=O.next}}else if(p.tag===18){if(E=p.return,E===null)throw Error(h(341));E.lanes|=i,m=E.alternate,m!==null&&(m.lanes|=i),xh(E,i,n),E=null}else E=p.child;if(E!==null)E.return=p;else for(E=p;E!==null;){if(E===n){E=null;break}if(p=E.sibling,p!==null){p.return=E.return,E=p;break}E=E.return}p=E}}function Xn(n,l,i,r){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 E=p.alternate;if(E===null)throw Error(h(387));if(E=E.memoizedProps,E!==null){var O=p.type;da(p.pendingProps.value,E.value)||(n!==null?n.push(O):n=[O])}}else if(p===Xt.current){if(E=p.alternate,E===null)throw Error(h(387));E.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(n!==null?n.push(ud):n=[ud])}p=p.return}n!==null&&Hi(l,n,i,r),l.flags|=262144}function cs(n){for(n=n.firstContext;n!==null;){if(!da(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Pt(n){xo=n,ti=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ft(n){return pf(xo,n)}function Ao(n,l){return xo===null&&Pt(n),pf(n,l)}function pf(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,r){n.push(r)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},gg=u.unstable_scheduleCallback,yg=u.unstable_NormalPriority,Tn={$$typeof:pt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new pn,data:new Map,refCount:0}}function gf(n){n.refCount--,n.refCount===0&&gg(yg,function(){n.controller.abort()})}var fs=null,yf=0,du=0,Dn=null;function He(n,l){if(fs===null){var i=fs=[];yf=0,du=yp(),Dn={status:"pending",value:void 0,then:function(r){i.push(r)}}}return yf++,l.then(vf,vf),l}function vf(){if(--yf===0&&fs!==null){Dn!==null&&(Dn.status="fulfilled");var n=fs;fs=null,du=0,Dn=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function bf(n,l){var i=[],r={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return n.then(function(){r.status="fulfilled",r.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(r.status="rejected",r.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),r}var Ro=k.S;k.S=function(n,l){cy=Rn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&He(n,l),Ro!==null&&Ro(n,l)};var ul=_(null);function sl(){var n=ul.current;return n!==null?n:qe.pooledCache}function Dr(n,l){l===null?gt(ul,ul.current):gt(ul,l.pool)}function ds(){var n=sl();return n===null?null:{parent:Tn._currentValue,pool:n}}var hu=Error(h(460)),hs=Error(h(474)),zr=Error(h(542)),ps={then:function(){}};function vg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function bg(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,Ah(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(r){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=r}},function(r){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=r}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ah(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 Sg(){if(mu===null)throw Error(h(459));var n=mu;return mu=null,n}function Ah(n){if(n===hu||n===zr)throw Error(h(483))}var gu=null,ms=0;function Sf(n){var l=ms;return ms+=1,gu===null&&(gu=[]),bg(gu,n,l)}function Cr(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Tf(n,l){throw l.$$typeof===C?Error(h(525)):(n=Object.prototype.toString.call(l),Error(h(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Cv(n){function l(X,Y){if(n){var K=X.deletions;K===null?(X.deletions=[Y],X.flags|=16):K.push(Y)}}function i(X,Y){if(!n)return null;for(;Y!==null;)l(X,Y),Y=Y.sibling;return null}function r(X){for(var Y=new Map;X!==null;)X.key!==null?Y.set(X.key,X):Y.set(X.index,X),X=X.sibling;return Y}function p(X,Y){return X=Eo(X,Y),X.index=0,X.sibling=null,X}function m(X,Y,K){return X.index=K,n?(K=X.alternate,K!==null?(K=K.index,K<Y?(X.flags|=67108866,Y):K):(X.flags|=67108866,Y)):(X.flags|=1048576,Y)}function E(X){return n&&X.alternate===null&&(X.flags|=67108866),X}function O(X,Y,K,rt){return Y===null||Y.tag!==6?(Y=wr(K,X.mode,rt),Y.return=X,Y):(Y=p(Y,K),Y.return=X,Y)}function H(X,Y,K,rt){var kt=K.type;return kt===dt?ot(X,Y,K.props.children,rt,K.key):Y!==null&&(Y.elementType===kt||typeof kt=="object"&&kt!==null&&kt.$$typeof===Q&&pu(kt)===Y.type)?(Y=p(Y,K.props),Cr(Y,K),Y.return=X,Y):(Y=Sh(K.type,K.key,K.props,null,X.mode,rt),Cr(Y,K),Y.return=X,Y)}function F(X,Y,K,rt){return Y===null||Y.tag!==4||Y.stateNode.containerInfo!==K.containerInfo||Y.stateNode.implementation!==K.implementation?(Y=Th(K,X.mode,rt),Y.return=X,Y):(Y=p(Y,K.children||[]),Y.return=X,Y)}function ot(X,Y,K,rt,kt){return Y===null||Y.tag!==7?(Y=wo(K,X.mode,rt,kt),Y.return=X,Y):(Y=p(Y,K),Y.return=X,Y)}function ct(X,Y,K){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Y=wr(""+Y,X.mode,K),Y.return=X,Y;if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case V:return K=Sh(Y.type,Y.key,Y.props,null,X.mode,K),Cr(K,Y),K.return=X,K;case lt:return Y=Th(Y,X.mode,K),Y.return=X,Y;case Q:return Y=pu(Y),ct(X,Y,K)}if(De(Y)||wt(Y))return Y=wo(Y,X.mode,K,null),Y.return=X,Y;if(typeof Y.then=="function")return ct(X,Sf(Y),K);if(Y.$$typeof===pt)return ct(X,Ao(X,Y),K);Tf(X,Y)}return null}function W(X,Y,K,rt){var kt=Y!==null?Y.key:null;if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return kt!==null?null:O(X,Y,""+K,rt);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case V:return K.key===kt?H(X,Y,K,rt):null;case lt:return K.key===kt?F(X,Y,K,rt):null;case Q:return K=pu(K),W(X,Y,K,rt)}if(De(K)||wt(K))return kt!==null?null:ot(X,Y,K,rt,null);if(typeof K.then=="function")return W(X,Y,Sf(K),rt);if(K.$$typeof===pt)return W(X,Y,Ao(X,K),rt);Tf(X,K)}return null}function nt(X,Y,K,rt,kt){if(typeof rt=="string"&&rt!==""||typeof rt=="number"||typeof rt=="bigint")return X=X.get(K)||null,O(Y,X,""+rt,kt);if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case V:return X=X.get(rt.key===null?K:rt.key)||null,H(Y,X,rt,kt);case lt:return X=X.get(rt.key===null?K:rt.key)||null,F(Y,X,rt,kt);case Q:return rt=pu(rt),nt(X,Y,K,rt,kt)}if(De(rt)||wt(rt))return X=X.get(K)||null,ot(Y,X,rt,kt,null);if(typeof rt.then=="function")return nt(X,Y,K,Sf(rt),kt);if(rt.$$typeof===pt)return nt(X,Y,K,Ao(Y,rt),kt);Tf(Y,rt)}return null}function Ct(X,Y,K,rt){for(var kt=null,Ae=null,Nt=Y,ae=Y=0,ue=null;Nt!==null&&ae<K.length;ae++){Nt.index>ae?(ue=Nt,Nt=null):ue=Nt.sibling;var Oe=W(X,Nt,K[ae],rt);if(Oe===null){Nt===null&&(Nt=ue);break}n&&Nt&&Oe.alternate===null&&l(X,Nt),Y=m(Oe,Y,ae),Ae===null?kt=Oe:Ae.sibling=Oe,Ae=Oe,Nt=ue}if(ae===K.length)return i(X,Nt),ye&&_l(X,ae),kt;if(Nt===null){for(;ae<K.length;ae++)Nt=ct(X,K[ae],rt),Nt!==null&&(Y=m(Nt,Y,ae),Ae===null?kt=Nt:Ae.sibling=Nt,Ae=Nt);return ye&&_l(X,ae),kt}for(Nt=r(Nt);ae<K.length;ae++)ue=nt(Nt,X,ae,K[ae],rt),ue!==null&&(n&&ue.alternate!==null&&Nt.delete(ue.key===null?ae:ue.key),Y=m(ue,Y,ae),Ae===null?kt=ue:Ae.sibling=ue,Ae=ue);return n&&Nt.forEach(function(hi){return l(X,hi)}),ye&&_l(X,ae),kt}function Zt(X,Y,K,rt){if(K==null)throw Error(h(151));for(var kt=null,Ae=null,Nt=Y,ae=Y=0,ue=null,Oe=K.next();Nt!==null&&!Oe.done;ae++,Oe=K.next()){Nt.index>ae?(ue=Nt,Nt=null):ue=Nt.sibling;var hi=W(X,Nt,Oe.value,rt);if(hi===null){Nt===null&&(Nt=ue);break}n&&Nt&&hi.alternate===null&&l(X,Nt),Y=m(hi,Y,ae),Ae===null?kt=hi:Ae.sibling=hi,Ae=hi,Nt=ue}if(Oe.done)return i(X,Nt),ye&&_l(X,ae),kt;if(Nt===null){for(;!Oe.done;ae++,Oe=K.next())Oe=ct(X,Oe.value,rt),Oe!==null&&(Y=m(Oe,Y,ae),Ae===null?kt=Oe:Ae.sibling=Oe,Ae=Oe);return ye&&_l(X,ae),kt}for(Nt=r(Nt);!Oe.done;ae++,Oe=K.next())Oe=nt(Nt,X,ae,Oe.value,rt),Oe!==null&&(n&&Oe.alternate!==null&&Nt.delete(Oe.key===null?ae:Oe.key),Y=m(Oe,Y,ae),Ae===null?kt=Oe:Ae.sibling=Oe,Ae=Oe);return n&&Nt.forEach(function(Ub){return l(X,Ub)}),ye&&_l(X,ae),kt}function Xe(X,Y,K,rt){if(typeof K=="object"&&K!==null&&K.type===dt&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case V:t:{for(var kt=K.key;Y!==null;){if(Y.key===kt){if(kt=K.type,kt===dt){if(Y.tag===7){i(X,Y.sibling),rt=p(Y,K.props.children),rt.return=X,X=rt;break t}}else if(Y.elementType===kt||typeof kt=="object"&&kt!==null&&kt.$$typeof===Q&&pu(kt)===Y.type){i(X,Y.sibling),rt=p(Y,K.props),Cr(rt,K),rt.return=X,X=rt;break t}i(X,Y);break}else l(X,Y);Y=Y.sibling}K.type===dt?(rt=wo(K.props.children,X.mode,rt,K.key),rt.return=X,X=rt):(rt=Sh(K.type,K.key,K.props,null,X.mode,rt),Cr(rt,K),rt.return=X,X=rt)}return E(X);case lt:t:{for(kt=K.key;Y!==null;){if(Y.key===kt)if(Y.tag===4&&Y.stateNode.containerInfo===K.containerInfo&&Y.stateNode.implementation===K.implementation){i(X,Y.sibling),rt=p(Y,K.children||[]),rt.return=X,X=rt;break t}else{i(X,Y);break}else l(X,Y);Y=Y.sibling}rt=Th(K,X.mode,rt),rt.return=X,X=rt}return E(X);case Q:return K=pu(K),Xe(X,Y,K,rt)}if(De(K))return Ct(X,Y,K,rt);if(wt(K)){if(kt=wt(K),typeof kt!="function")throw Error(h(150));return K=kt.call(K),Zt(X,Y,K,rt)}if(typeof K.then=="function")return Xe(X,Y,Sf(K),rt);if(K.$$typeof===pt)return Xe(X,Y,Ao(X,K),rt);Tf(X,K)}return typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint"?(K=""+K,Y!==null&&Y.tag===6?(i(X,Y.sibling),rt=p(Y,K),rt.return=X,X=rt):(i(X,Y),rt=wr(K,X.mode,rt),rt.return=X,X=rt),E(X)):i(X,Y)}return function(X,Y,K,rt){try{ms=0;var kt=Xe(X,Y,K,rt);return gu=null,kt}catch(Nt){if(Nt===hu||Nt===zr)throw Nt;var Ae=hn(29,Nt,null,X.mode);return Ae.lanes=rt,Ae.return=X,Ae}}}var yu=Cv(!0),Tg=Cv(!1),Do=!1;function Ef(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rh(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 rl(n,l,i){var r=n.updateQueue;if(r===null)return null;if(r=r.shared,(Me&2)!==0){var p=r.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),r.pending=l,l=cf(n),bh(n,null,i),l}return ll(n,r,l,i),cf(n)}function vu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var r=l.lanes;r&=n.pendingLanes,i|=r,l.lanes=i,xi(n,i)}}function Dh(n,l){var i=n.updateQueue,r=n.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var E={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?p=m=E:m=m.next=E,i=i.next}while(i!==null);m===null?p=m=l:m=m.next=l}else p=m=l;i={baseState:r.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:r.shared,callbacks:r.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var Eg=!1;function bu(){if(Eg){var n=Dn;if(n!==null)throw n}}function Bi(n,l,i,r){Eg=!1;var p=n.updateQueue;Do=!1;var m=p.firstBaseUpdate,E=p.lastBaseUpdate,O=p.shared.pending;if(O!==null){p.shared.pending=null;var H=O,F=H.next;H.next=null,E===null?m=F:E.next=F,E=H;var ot=n.alternate;ot!==null&&(ot=ot.updateQueue,O=ot.lastBaseUpdate,O!==E&&(O===null?ot.firstBaseUpdate=F:O.next=F,ot.lastBaseUpdate=H))}if(m!==null){var ct=p.baseState;E=0,ot=F=H=null,O=m;do{var W=O.lane&-536870913,nt=W!==O.lane;if(nt?(pe&W)===W:(r&W)===W){W!==0&&W===du&&(Eg=!0),ot!==null&&(ot=ot.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});t:{var Ct=n,Zt=O;W=l;var Xe=i;switch(Zt.tag){case 1:if(Ct=Zt.payload,typeof Ct=="function"){ct=Ct.call(Xe,ct,W);break t}ct=Ct;break t;case 3:Ct.flags=Ct.flags&-65537|128;case 0:if(Ct=Zt.payload,W=typeof Ct=="function"?Ct.call(Xe,ct,W):Ct,W==null)break t;ct=R({},ct,W);break t;case 2:Do=!0}}W=O.callback,W!==null&&(n.flags|=64,nt&&(n.flags|=8192),nt=p.callbacks,nt===null?p.callbacks=[W]:nt.push(W))}else nt={lane:W,tag:O.tag,payload:O.payload,callback:O.callback,next:null},ot===null?(F=ot=nt,H=ct):ot=ot.next=nt,E|=W;if(O=O.next,O===null){if(O=p.shared.pending,O===null)break;nt=O,O=nt.next,nt.next=null,p.lastBaseUpdate=nt,p.shared.pending=null}}while(!0);ot===null&&(H=ct),p.baseState=H,p.firstBaseUpdate=F,p.lastBaseUpdate=ot,m===null&&(p.shared.lanes=0),si|=E,n.lanes=E,n.memoizedState=ct}}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),gs=_(0);function Mv(n,l){n=ui,gt(gs,n),gt(Un,l),ui=n|l.baseLanes}function wf(){gt(gs,ui),gt(Un,Un.current)}function Mr(){ui=gs.current,$(Un),$(gs)}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 Or(n){gt(en,en.current),gt(Ra,n),cl===null&&(cl=n)}function Ch(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 _r(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Bl(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 Vi=0,le=null,Be=null,En=null,ys=!1,vs=!1,Co=!1,xf=0,Ur=0,Tu=null,Ov=0;function rn(){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 Af(n,l,i,r,p,m){return Vi=m,le=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,k.H=n===null||n.memoizedState===null?Vv:Zh,Co=!1,m=i(r,p),Co=!1,vs&&(m=_v(l,i,r,p)),Mh(n),m}function Mh(n){k.H=jf;var l=Be!==null&&Be.next!==null;if(Vi=0,En=Be=le=null,ys=!1,Ur=0,Tu=null,l)throw Error(h(300));n===null||wn||(n=n.dependencies,n!==null&&cs(n)&&(wn=!0))}function _v(n,l,i,r){le=n;var p=0;do{if(vs&&(Tu=null),Ur=0,vs=!1,25<=p)throw Error(h(301));if(p+=1,En=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)}k.H=kv,m=l(i,r)}while(vs);return m}function d2(){var n=k.H,l=n.useState()[0];return l=typeof l.then=="function"?Ss(l):l,n=n.useState()[0],(Be!==null?Be.memoizedState:null)!==n&&(le.flags|=1024),l}function Oh(){var n=xf!==0;return xf=0,n}function bs(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Rf(n){if(ys){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}ys=!1}Vi=0,En=Be=le=null,vs=!1,Ur=xf=0,Tu=null}function Qn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return En===null?le.memoizedState=En=n:En=En.next=n,En}function mn(){if(Be===null){var n=le.alternate;n=n!==null?n.memoizedState:null}else n=Be.next;var l=En===null?le.memoizedState:En.next;if(l!==null)En=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},En===null?le.memoizedState=En=n:En=En.next=n}return En}function Df(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ss(n){var l=Ur;return Ur+=1,Tu===null&&(Tu=[]),n=bg(Tu,n,l),l=le,(En===null?l.memoizedState:En.next)===null&&(l=l.alternate,k.H=l===null||l.memoizedState===null?Vv:Zh),n}function jr(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Ss(n);if(n.$$typeof===pt)return ft(n)}throw Error(h(438,String(n)))}function _h(n){var l=null,i=le.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var r=le.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(l={data:r.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Df(),le.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),r=0;r<n;r++)i[r]=J;return l.index++,i}function ki(n,l){return typeof l=="function"?l(n):l}function Yi(n){var l=mn();return Uh(l,Be,n)}function Uh(n,l,i){var r=n.queue;if(r===null)throw Error(h(311));r.lastRenderedReducer=i;var p=n.baseQueue,m=r.pending;if(m!==null){if(p!==null){var E=p.next;p.next=m.next,m.next=E}l.baseQueue=p=m,r.pending=null}if(m=n.baseState,p===null)n.memoizedState=m;else{l=p.next;var O=E=null,H=null,F=l,ot=!1;do{var ct=F.lane&-536870913;if(ct!==F.lane?(pe&ct)===ct:(Vi&ct)===ct){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}),ct===du&&(ot=!0);else if((Vi&W)===W){F=F.next,W===du&&(ot=!0);continue}else ct={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},H===null?(O=H=ct,E=m):H=H.next=ct,le.lanes|=W,si|=W;ct=F.action,Co&&i(m,ct),m=F.hasEagerState?F.eagerState:i(m,ct)}else W={lane:ct,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},H===null?(O=H=W,E=m):H=H.next=W,le.lanes|=ct,si|=ct;F=F.next}while(F!==null&&F!==l);if(H===null?E=m:H.next=O,!da(m,n.memoizedState)&&(wn=!0,ot&&(i=Dn,i!==null)))throw i;n.memoizedState=m,n.baseState=E,n.baseQueue=H,r.lastRenderedState=m}return p===null&&(r.lanes=0),[n.memoizedState,r.dispatch]}function jh(n){var l=mn(),i=l.queue;if(i===null)throw Error(h(311));i.lastRenderedReducer=n;var r=i.dispatch,p=i.pending,m=l.memoizedState;if(p!==null){i.pending=null;var E=p=p.next;do m=n(m,E.action),E=E.next;while(E!==p);da(m,l.memoizedState)||(wn=!0),l.memoizedState=m,l.baseQueue===null&&(l.baseState=m),i.lastRenderedState=m}return[m,r]}function wg(n,l,i){var r=le,p=mn(),m=ye;if(m){if(i===void 0)throw Error(h(407));i=i()}else i=l();var E=!da((Be||p).memoizedState,i);if(E&&(p.memoizedState=i,wn=!0),p=p.queue,Vh(Nh.bind(null,r,p,n),[n]),p.getSnapshot!==l||E||En!==null&&En.memoizedState.tag&1){if(r.flags|=2048,Es(9,{destroy:void 0},xg.bind(null,r,p,i,l),null),qe===null)throw Error(h(349));m||(Vi&127)!==0||zf(r,l,i)}return i}function zf(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=le.updateQueue,l===null?(l=Df(),le.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function xg(n,l,i,r){l.value=i,l.getSnapshot=r,Hh(l)&&Bh(n)}function Nh(n,l,i){return i(function(){Hh(l)&&Bh(n)})}function Hh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!da(n,i)}catch{return!0}}function Bh(n){var l=To(n,2);l!==null&&Ua(l,n,2)}function Ag(n){var l=Qn();if(typeof n=="function"){var i=n;if(n=i(),Co){Ia(!0);try{i()}finally{Ia(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:n},l}function Zn(n,l,i,r){return n.baseState=i,Uh(n,Be,typeof r=="function"?r:ki)}function Uv(n,l,i,r,p){if(Uf(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(E){m.listeners.push(E)}};k.T!==null?i(!0):m.isTransition=!1,r(m),i=l.pending,i===null?(m.next=l.pending=m,Rg(l,m)):(m.next=i.next,l.pending=i.next=m)}}function Rg(n,l){var i=l.action,r=l.payload,p=n.state;if(l.isTransition){var m=k.T,E={};k.T=E;try{var O=i(p,r),H=k.S;H!==null&&H(E,O),Dg(n,l,O)}catch(F){Ts(n,l,F)}finally{m!==null&&E.types!==null&&(m.types=E.types),k.T=m}}else try{m=i(p,r),Dg(n,l,m)}catch(F){Ts(n,l,F)}}function Dg(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){zg(n,l,r)},function(r){return Ts(n,l,r)}):zg(n,l,i)}function zg(n,l,i){l.status="fulfilled",l.value=i,Cg(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,Rg(n,i)))}function Ts(n,l,i){var r=n.pending;if(n.pending=null,r!==null){r=r.next;do l.status="rejected",l.reason=i,Cg(l),l=l.next;while(l!==r)}n.action=null}function Cg(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function Cf(n,l){return l}function Mg(n,l){if(ye){var i=qe.formState;if(i!==null){t:{var r=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),r=p.data==="F!";break t}}Ul(r)}r=!1}r&&(l=i[0])}}return i=Qn(),i.memoizedState=i.baseState=l,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cf,lastRenderedState:l},i.queue=r,i=Xh.bind(null,le,r),r.dispatch=i,r=Ag(!1),m=Eu.bind(null,le,!1,r.queue),r=Qn(),p={state:l,dispatch:null,action:n,pending:null},r.queue=p,i=Uv.bind(null,le,p,m,i),p.dispatch=i,r.memoizedState=n,[l,i,!1]}function jv(n){var l=mn();return Mf(l,Be,n)}function Mf(n,l,i){if(l=Uh(n,l,Cf)[0],n=Yi(ki)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var r=Ss(l)}catch(E){throw E===hu?zr:E}else r=l;l=mn();var p=l.queue,m=p.dispatch;return i!==l.memoizedState&&(le.flags|=2048,Es(9,{destroy:void 0},Og.bind(null,p,i),null)),[r,m,n]}function Og(n,l){n.action=l}function _g(n){var l=mn(),i=Be;if(i!==null)return Mf(l,i,n);mn(),l=l.memoizedState,i=mn();var r=i.queue.dispatch;return i.memoizedState=n,[l,r,!1]}function Es(n,l,i,r){return n={tag:n,create:i,deps:r,inst:l,next:null},l=le.updateQueue,l===null&&(l=Df(),le.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(r=i.next,i.next=n,n.next=r,l.lastEffect=n),n}function Ug(){return mn().memoizedState}function Nr(n,l,i,r){var p=Qn();le.flags|=n,p.memoizedState=Es(1|l,{destroy:void 0},i,r===void 0?null:r)}function Hr(n,l,i,r){var p=mn();r=r===void 0?null:r;var m=p.memoizedState.inst;Be!==null&&r!==null&&Mo(r,Be.memoizedState.deps)?p.memoizedState=Es(l,m,i,r):(le.flags|=n,p.memoizedState=Es(1|l,m,i,r))}function Lh(n,l){Nr(8390656,8,n,l)}function Vh(n,l){Hr(2048,8,n,l)}function jg(n){le.flags|=4;var l=le.updateQueue;if(l===null)l=Df(),le.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function Of(n){var l=mn().memoizedState;return jg({ref:l,nextImpl:n}),function(){if((Me&2)!==0)throw Error(h(440));return l.impl.apply(void 0,arguments)}}function kh(n,l){return Hr(4,2,n,l)}function Ng(n,l){return Hr(4,4,n,l)}function Yh(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 Hg(n,l,i){i=i!=null?i.concat([n]):null,Hr(4,4,Yh.bind(null,l,n),i)}function ai(){}function qh(n,l){var i=mn();l=l===void 0?null:l;var r=i.memoizedState;return l!==null&&Mo(l,r[1])?r[0]:(i.memoizedState=[n,l],n)}function Nv(n,l){var i=mn();l=l===void 0?null:l;var r=i.memoizedState;if(l!==null&&Mo(l,r[1]))return r[0];if(r=n(),Co){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[r,l],r}function _f(n,l,i){return i===void 0||(Vi&1073741824)!==0&&(pe&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=Fv(),le.lanes|=n,si|=n,i)}function qi(n,l,i,r){return da(i,l)?i:Un.current!==null?(n=_f(n,i,r),da(n,l)||(wn=!0),n):(Vi&42)===0||(Vi&1073741824)!==0&&(pe&261930)===0?(wn=!0,n.memoizedState=i):(n=Fv(),le.lanes|=n,si|=n,l)}function Gh(n,l,i,r,p){var m=tt.p;tt.p=m!==0&&8>m?m:8;var E=k.T,O={};k.T=O,Eu(n,!1,l,i);try{var H=p(),F=k.S;if(F!==null&&F(O,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ot=bf(H,r);Oo(n,l,ot,Qa(n))}else Oo(n,l,r,Qa(n))}catch(ct){Oo(n,l,{then:function(){},status:"rejected",reason:ct},Qa())}finally{tt.p=m,E!==null&&O.types!==null&&(E.types=O.types),k.T=E}}function Hv(){}function Br(n,l,i,r){if(n.tag!==5)throw Error(h(476));var p=Lr(n).queue;Gh(n,p,l,ht,i===null?Hv:function(){return Ye(n),i(r)})}function Lr(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:ht,baseState:ht,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:ht},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:i},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function Ye(n){var l=Lr(n);l.next===null&&(l=n.alternate.memoizedState),Oo(n,l.next.queue,{},Qa())}function Bg(){return ft(ud)}function Bv(){return mn().memoizedState}function Lg(){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 r=rl(l,n,i);r!==null&&(Ua(r,l,i),vu(r,l,i)),l={cache:mf()},n.payload=l;return}l=l.return}}function Lv(n,l,i){var r=Qa();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Uf(n)?Qh(l,i):(i=Ol(n,l,i,r),i!==null&&(Ua(i,n,r),Vg(i,l,r)))}function Xh(n,l,i){var r=Qa();Oo(n,l,i,r)}function Oo(n,l,i,r){var p={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Uf(n))Qh(l,p);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=l.lastRenderedReducer,m!==null))try{var E=l.lastRenderedState,O=m(E,i);if(p.hasEagerState=!0,p.eagerState=O,da(O,E))return ll(n,l,p,0),qe===null&&al(),!1}catch{}if(i=Ol(n,l,p,r),i!==null)return Ua(i,n,r),Vg(i,l,r),!0}return!1}function Eu(n,l,i,r){if(r={lane:2,revertLane:yp(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Uf(n)){if(l)throw Error(h(479))}else l=Ol(n,i,r,2),l!==null&&Ua(l,n,2)}function Uf(n){var l=n.alternate;return n===le||l!==null&&l===le}function Qh(n,l){vs=ys=!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 r=l.lanes;r&=n.pendingLanes,i|=r,l.lanes=i,xi(n,i)}}var jf={readContext:ft,use:jr,useCallback:rn,useContext:rn,useEffect:rn,useImperativeHandle:rn,useLayoutEffect:rn,useInsertionEffect:rn,useMemo:rn,useReducer:rn,useRef:rn,useState:rn,useDebugValue:rn,useDeferredValue:rn,useTransition:rn,useSyncExternalStore:rn,useId:rn,useHostTransitionStatus:rn,useFormState:rn,useActionState:rn,useOptimistic:rn,useMemoCache:rn,useCacheRefresh:rn};jf.useEffectEvent=rn;var Vv={readContext:ft,use:jr,useCallback:function(n,l){return Qn().memoizedState=[n,l===void 0?null:l],n},useContext:ft,useEffect:Lh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,Nr(4194308,4,Yh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return Nr(4194308,4,n,l)},useInsertionEffect:function(n,l){Nr(4,2,n,l)},useMemo:function(n,l){var i=Qn();l=l===void 0?null:l;var r=n();if(Co){Ia(!0);try{n()}finally{Ia(!1)}}return i.memoizedState=[r,l],r},useReducer:function(n,l,i){var r=Qn();if(i!==void 0){var p=i(l);if(Co){Ia(!0);try{i(l)}finally{Ia(!1)}}}else p=l;return r.memoizedState=r.baseState=p,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:p},r.queue=n,n=n.dispatch=Lv.bind(null,le,n),[r.memoizedState,n]},useRef:function(n){var l=Qn();return n={current:n},l.memoizedState=n},useState:function(n){n=Ag(n);var l=n.queue,i=Xh.bind(null,le,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:ai,useDeferredValue:function(n,l){var i=Qn();return _f(i,n,l)},useTransition:function(){var n=Ag(!1);return n=Gh.bind(null,le,n.queue,!0,!1),Qn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var r=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(r,l,i)}p.memoizedState=i;var m={value:i,getSnapshot:l};return p.queue=m,Lh(Nh.bind(null,r,m,n),[n]),r.flags|=2048,Es(9,{destroy:void 0},xg.bind(null,r,m,i,l),null),i},useId:function(){var n=Qn(),l=qe.identifierPrefix;if(ye){var i=Il,r=Ya;i=(r&~(1<<32-kn(r)-1)).toString(32)+i,l="_"+l+"R_"+i,i=xf++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=Ov++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Bg,useFormState:Mg,useActionState:Mg,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=Eu.bind(null,le,!0,i),i.dispatch=l,[n,l]},useMemoCache:_h,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)}}},Zh={readContext:ft,use:jr,useCallback:qh,useContext:ft,useEffect:Vh,useImperativeHandle:Hg,useInsertionEffect:kh,useLayoutEffect:Ng,useMemo:Nv,useReducer:Yi,useRef:Ug,useState:function(){return Yi(ki)},useDebugValue:ai,useDeferredValue:function(n,l){var i=mn();return qi(i,Be.memoizedState,n,l)},useTransition:function(){var n=Yi(ki)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:Ss(n),l]},useSyncExternalStore:wg,useId:Bv,useHostTransitionStatus:Bg,useFormState:jv,useActionState:jv,useOptimistic:function(n,l){var i=mn();return Zn(i,Be,n,l)},useMemoCache:_h,useCacheRefresh:Lg};Zh.useEffectEvent=Of;var kv={readContext:ft,use:jr,useCallback:qh,useContext:ft,useEffect:Vh,useImperativeHandle:Hg,useInsertionEffect:kh,useLayoutEffect:Ng,useMemo:Nv,useReducer:jh,useRef:Ug,useState:function(){return jh(ki)},useDebugValue:ai,useDeferredValue:function(n,l){var i=mn();return Be===null?_f(i,n,l):qi(i,Be.memoizedState,n,l)},useTransition:function(){var n=jh(ki)[0],l=mn().memoizedState;return[typeof n=="boolean"?n:Ss(n),l]},useSyncExternalStore:wg,useId:Bv,useHostTransitionStatus:Bg,useFormState:_g,useActionState:_g,useOptimistic:function(n,l){var i=mn();return Be!==null?Zn(i,Be,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:_h,useCacheRefresh:Lg};kv.useEffectEvent=Of;function ws(n,l,i,r){l=n.memoizedState,i=i(r,l),i=i==null?l:R({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var jl={enqueueSetState:function(n,l,i){n=n._reactInternals;var r=Qa(),p=zo(r);p.payload=l,i!=null&&(p.callback=i),l=rl(n,p,r),l!==null&&(Ua(l,n,r),vu(l,n,r))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var r=Qa(),p=zo(r);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=rl(n,p,r),l!==null&&(Ua(l,n,r),vu(l,n,r))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=Qa(),r=zo(i);r.tag=2,l!=null&&(r.callback=l),l=rl(n,r,i),l!==null&&(Ua(l,n,i),vu(l,n,i))}};function kg(n,l,i,r,p,m,E){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(r,m,E):l.prototype&&l.prototype.isPureReactComponent?!zl(i,r)||!zl(p,m):!0}function Yv(n,l,i,r){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,r),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,r),l.state!==n&&jl.enqueueReplaceState(l,l.state,null)}function wu(n,l){var i=l;if("ref"in l){i={};for(var r in l)r!=="ref"&&(i[r]=l[r])}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){us(n)}function Yg(n){console.error(n)}function Kh(n){us(n)}function Vr(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(r){setTimeout(function(){throw r})}}function Nf(n,l,i){try{var r=n.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function qg(n,l,i){return i=zo(i),i.tag=3,i.payload={element:null},i.callback=function(){Vr(n,l)},i}function Gg(n){return n=zo(n),n.tag=3,n}function Xg(n,l,i,r){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var m=r.value;n.payload=function(){return p(m)},n.callback=function(){Nf(l,i,r)}}var E=i.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(n.callback=function(){Nf(l,i,r),typeof p!="function"&&(nn===null?nn=new Set([this]):nn.add(this));var O=r.stack;this.componentDidCatch(r.value,{componentStack:O!==null?O:""})})}function h2(n,l,i,r,p){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.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?hp():i.alternate===null&&Ke===0&&(Ke=3),i.flags&=-257,i.flags|=65536,i.lanes=p,r===ps?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([r]):l.add(r),$f(n,r,p)),!1;case 22:return i.flags|=65536,r===ps?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([r]):i.add(r)),$f(n,r,p)),!1}throw Error(h(435,i.tag))}return $f(n,r,p),hp(),!1}if(ye)return l=Ra.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,r!==ji&&(n=Error(h(422),{cause:r}),Rr(il(n,i)))):(r!==ji&&(l=Error(h(423),{cause:r}),Rr(il(l,i))),n=n.current.alternate,n.flags|=65536,p&=-p,n.lanes|=p,r=il(r,i),p=qg(n.stateNode,r,p),Dh(n,p),Ke!==4&&(Ke=2)),!1;var m=Error(h(520),{cause:r});if(m=il(m,i),Qf===null?Qf=[m]:Qf.push(m),Ke!==4&&(Ke=2),l===null)return!0;r=il(r,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=p&-p,i.lanes|=n,n=qg(i.stateNode,r,n),Dh(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=Gg(p),Xg(p,n,i,r),Dh(i,p),!1}i=i.return}while(i!==null);return!1}var $h=Error(h(461)),wn=!1;function Pe(n,l,i,r){l.child=n===null?Tg(l,null,i,r):yu(l,n.child,i,r)}function Qg(n,l,i,r,p){i=i.render;var m=l.ref;if("ref"in r){var E={};for(var O in r)O!=="ref"&&(E[O]=r[O])}else E=r;return Pt(l),r=Af(n,l,i,E,m,p),O=Oh(),n!==null&&!wn?(bs(n,l,p),hl(n,l,p)):(ye&&O&&xr(l),l.flags|=1,Pe(n,l,r,p),l.child)}function Zg(n,l,i,r,p){if(n===null){var m=i.type;return typeof m=="function"&&!ss(m)&&m.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=m,Jg(n,l,m,r,p)):(n=Sh(i.type,null,r,l,l.mode,p),n.ref=l.ref,n.return=l,l.child=n)}if(m=n.child,!Ph(n,p)){var E=m.memoizedProps;if(i=i.compare,i=i!==null?i:zl,i(E,r)&&n.ref===l.ref)return hl(n,l,p)}return l.flags|=1,n=Eo(m,r),n.ref=l.ref,n.return=l,l.child=n}function Jg(n,l,i,r,p){if(n!==null){var m=n.memoizedProps;if(zl(m,r)&&n.ref===l.ref)if(wn=!1,l.pendingProps=r=m,Ph(n,p))(n.flags&131072)!==0&&(wn=!0);else return l.lanes=n.lanes,hl(n,l,p)}return Fh(n,l,i,r,p)}function qv(n,l,i,r){var p=r.children,m=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((l.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,n!==null){for(r=l.child=n.child,p=0;r!==null;)p=p|r.lanes|r.childLanes,r=r.sibling;r=p&~m}else r=0,l.child=null;return za(n,l,m,i,r)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Dr(l,m!==null?m.cachePool:null),m!==null?Mv(l,m):wf(),Ch(l);else return r=l.lanes=536870912,za(n,l,m!==null?m.baseLanes|i:i,i,r)}else m!==null?(Dr(l,m.cachePool),Mv(l,m),ni(),l.memoizedState=null):(n!==null&&Dr(l,null),wf(),ni());return Pe(n,l,p,i),l.child}function xu(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function za(n,l,i,r,p){var m=sl();return m=m===null?null:{parent:Tn._currentValue,pool:m},l.memoizedState={baseLanes:i,cachePool:m},n!==null&&Dr(l,null),wf(),Ch(l),n!==null&&Xn(n,l,r,!0),l.childLanes=p,null}function Hf(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 Ca(n,l,i){return yu(l,n.child,null,i),n=Hf(l,l.pendingProps),n.flags|=2,Da(l),l.memoizedState=null,n}function Gv(n,l,i){var r=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(ye){if(r.mode==="hidden")return n=Hf(l,r),l.lanes=536870912,xu(null,n);if(Or(l),(n=Ze)?(n=xb(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=dg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw Ul(l);return l.lanes=536870912,null}return Hf(l,r)}var m=n.memoizedState;if(m!==null){var E=m.dehydrated;if(Or(l),p)if(l.flags&256)l.flags&=-257,l=Ca(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(r=qe,r!==null&&(E=tl(r,i),E!==0&&E!==m.retryLane))throw m.retryLane=E,To(n,E),Ua(r,n,E),$h;hp(),l=Ca(n,l,i)}else n=m.treeContext,Ze=ja(E.nextSibling),Gn=l,ye=!0,Ui=null,_n=!1,n!==null&&df(l,n),l=Hf(l,r),l.flags|=4096;return l}return n=Eo(n.child,{mode:r.mode,children:r.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 Fh(n,l,i,r,p){return Pt(l),i=Af(n,l,i,r,void 0,p),r=Oh(),n!==null&&!wn?(bs(n,l,p),hl(n,l,p)):(ye&&r&&xr(l),l.flags|=1,Pe(n,l,i,p),l.child)}function Au(n,l,i,r,p,m){return Pt(l),l.updateQueue=null,i=_v(l,r,i,p),Mh(n),r=Oh(),n!==null&&!wn?(bs(n,l,m),hl(n,l,m)):(ye&&r&&xr(l),l.flags|=1,Pe(n,l,i,m),l.child)}function Kg(n,l,i,r,p){if(Pt(l),l.stateNode===null){var m=wa,E=i.contextType;typeof E=="object"&&E!==null&&(m=ft(E)),m=new i(r,m),l.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=jl,l.stateNode=m,m._reactInternals=l,m=l.stateNode,m.props=r,m.state=l.memoizedState,m.refs={},Ef(l),E=i.contextType,m.context=typeof E=="object"&&E!==null?ft(E):wa,m.state=l.memoizedState,E=i.getDerivedStateFromProps,typeof E=="function"&&(ws(l,i,E,r),m.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(E=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),E!==m.state&&jl.enqueueReplaceState(m,m.state,null),Bi(l,r,m,p),bu(),m.state=l.memoizedState),typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!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;E=wa,typeof ot=="object"&&ot!==null&&(E=ft(ot));var ct=i.getDerivedStateFromProps;ot=typeof ct=="function"||typeof m.getSnapshotBeforeUpdate=="function",O=l.pendingProps!==O,ot||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(O||F!==E)&&Yv(l,m,r,E),Do=!1;var W=l.memoizedState;m.state=W,Bi(l,r,m,p),bu(),F=l.memoizedState,O||W!==F||Do?(typeof ct=="function"&&(ws(l,i,ct,r),F=l.memoizedState),(H=Do||kg(l,i,H,r,W,F,E))?(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=r,l.memoizedState=F),m.props=r,m.state=F,m.context=E,r=H):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!1)}else{m=l.stateNode,Rh(n,l),E=l.memoizedProps,ot=wu(i,E),m.props=ot,ct=l.pendingProps,W=m.context,F=i.contextType,H=wa,typeof F=="object"&&F!==null&&(H=ft(F)),O=i.getDerivedStateFromProps,(F=typeof O=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(E!==ct||W!==H)&&Yv(l,m,r,H),Do=!1,W=l.memoizedState,m.state=W,Bi(l,r,m,p),bu();var nt=l.memoizedState;E!==ct||W!==nt||Do||n!==null&&n.dependencies!==null&&cs(n.dependencies)?(typeof O=="function"&&(ws(l,i,O,r),nt=l.memoizedState),(ot=Do||kg(l,i,ot,r,W,nt,H)||n!==null&&n.dependencies!==null&&cs(n.dependencies))?(F||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(r,nt,H),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(r,nt,H)),typeof m.componentDidUpdate=="function"&&(l.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof m.componentDidUpdate!="function"||E===n.memoizedProps&&W===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||E===n.memoizedProps&&W===n.memoizedState||(l.flags|=1024),l.memoizedProps=r,l.memoizedState=nt),m.props=r,m.state=nt,m.context=H,r=ot):(typeof m.componentDidUpdate!="function"||E===n.memoizedProps&&W===n.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||E===n.memoizedProps&&W===n.memoizedState||(l.flags|=1024),r=!1)}return m=r,fl(n,l),r=(l.flags&128)!==0,m||r?(m=l.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:m.render(),l.flags|=1,n!==null&&r?(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,r){return fu(),l.flags|=256,Pe(n,l,i,r),l.child}var Bf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Lf(n){return{baseLanes:n,cachePool:ds()}}function dl(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=_a),n}function $g(n,l,i){var r=l.pendingProps,p=!1,m=(l.flags&128)!==0,E;if((E=m)||(E=n!==null&&n.memoizedState===null?!1:(en.current&2)!==0),E&&(p=!0,l.flags&=-129),E=(l.flags&32)!==0,l.flags&=-33,n===null){if(ye){if(p?Li(l):ni(),(n=Ze)?(n=xb(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=dg(n),i.return=l,l.child=i,Gn=l,Ze=null)):n=null,n===null)throw Ul(l);return _u(n)?l.lanes=32:l.lanes=536870912,null}var O=r.children;return r=r.fallback,p?(ni(),p=l.mode,O=Vf({mode:"hidden",children:O},p),r=wo(r,p,i,null),O.return=l,r.return=l,O.sibling=r,l.child=O,r=l.child,r.memoizedState=Lf(i),r.childLanes=dl(n,E,i),l.memoizedState=Bf,xu(null,r)):(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=xs(n,l,i)):l.memoizedState!==null?(ni(),l.child=n.child,l.flags|=128,l=null):(ni(),O=r.fallback,p=l.mode,r=Vf({mode:"visible",children:r.children},p),O=wo(O,p,i,null),O.flags|=2,r.return=l,O.return=l,r.sibling=O,l.child=r,yu(l,n.child,null,i),r=l.child,r.memoizedState=Lf(i),r.childLanes=dl(n,E,i),l.memoizedState=Bf,l=xu(null,r));else if(Li(l),_u(O)){if(E=O.nextSibling&&O.nextSibling.dataset,E)var F=E.dgst;E=F,r=Error(h(419)),r.stack="",r.digest=E,Rr({value:r,source:null,stack:null}),l=xs(n,l,i)}else if(wn||Xn(n,l,i,!1),E=(i&n.childLanes)!==0,wn||E){if(E=qe,E!==null&&(r=tl(E,i),r!==0&&r!==H.retryLane))throw H.retryLane=r,To(n,r),Ua(E,n,r),$h;Bl(O)||hp(),l=xs(n,l,i)}else Bl(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&&df(l,n),l=Ru(l,r.children),l.flags|=4096);return l}return p?(ni(),O=r.fallback,p=l.mode,H=n.child,F=H.sibling,r=Eo(H,{mode:"hidden",children:r.children}),r.subtreeFlags=H.subtreeFlags&65011712,F!==null?O=Eo(F,O):(O=wo(O,p,i,null),O.flags|=2),O.return=l,r.return=l,r.sibling=O,l.child=r,xu(null,r),r=l.child,O=n.child.memoizedState,O===null?O=Lf(i):(p=O.cachePool,p!==null?(H=Tn._currentValue,p=p.parent!==H?{parent:H,pool:H}:p):p=ds(),O={baseLanes:O.baseLanes|i,cachePool:p}),r.memoizedState=O,r.childLanes=dl(n,E,i),l.memoizedState=Bf,xu(n.child,r)):(Li(l),i=n.child,n=i.sibling,i=Eo(i,{mode:"visible",children:r.children}),i.return=l,i.sibling=null,n!==null&&(E=l.deletions,E===null?(l.deletions=[n],l.flags|=16):E.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 xs(n,l,i){return yu(l,n.child,null,i),n=Ru(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function As(n,l,i){n.lanes|=l;var r=n.alternate;r!==null&&(r.lanes|=l),xh(n.return,l,i)}function Wh(n,l,i,r,p,m){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:p,treeForkCount:m}:(E.isBackwards=l,E.rendering=null,E.renderingStartTime=0,E.last=r,E.tail=i,E.tailMode=p,E.treeForkCount=m)}function Fg(n,l,i){var r=l.pendingProps,p=r.revealOrder,m=r.tail;r=r.children;var E=en.current,O=(E&2)!==0;if(O?(E=E&1|2,l.flags|=128):E&=1,gt(en,E),Pe(n,l,r,i),r=ye?Sn:0,!O&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&As(n,i,l);else if(n.tag===19)As(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&&_r(n)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),Wh(l,!1,p,i,m,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(n=p.alternate,n!==null&&_r(n)===null){l.child=p;break}n=p.sibling,p.sibling=i,i=p,p=n}Wh(l,!0,i,null,m,r);break;case"together":Wh(l,!1,null,null,void 0,r);break;default:l.memoizedState=null}return l.child}function hl(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),si|=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=Eo(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=Eo(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function Ph(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&cs(n)))}function Ih(n,l,i){switch(l.tag){case 3:We(l,l.stateNode.containerInfo),Aa(l,Tn,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,Or(l),null;break;case 13:var r=l.memoizedState;if(r!==null)return r.dehydrated!==null?(Li(l),l.flags|=128,null):(i&l.child.childLanes)!==0?$g(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(r=(i&l.childLanes)!==0,r||(Xn(n,l,i,!1),r=(i&l.childLanes)!==0),p){if(r)return Fg(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),r)break;return null;case 22:return l.lanes=0,qv(n,l,i,l.pendingProps);case 24:Aa(l,Tn,n.memoizedState.cache)}return hl(n,l,i)}function Wg(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)wn=!0;else{if(!Ph(n,i)&&(l.flags&128)===0)return wn=!1,Ih(n,l,i);wn=(n.flags&131072)!==0}else wn=!1,ye&&(l.flags&1048576)!==0&&pg(l,Sn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var r=l.pendingProps;if(n=pu(l.elementType),l.type=n,typeof n=="function")ss(n)?(r=wu(n,r),l.tag=1,l=Kg(null,l,n,r,i)):(l.tag=0,l=Fh(null,l,n,r,i));else{if(n!=null){var p=n.$$typeof;if(p===Ot){l.tag=11,l=Qg(null,l,n,r,i);break t}else if(p===Tt){l.tag=14,l=Zg(null,l,n,r,i);break t}}throw l=be(n)||n,Error(h(306,l,""))}}return l;case 0:return Fh(n,l,l.type,l.pendingProps,i);case 1:return r=l.type,p=wu(r,l.pendingProps),Kg(n,l,r,p,i);case 3:t:{if(We(l,l.stateNode.containerInfo),n===null)throw Error(h(387));r=l.pendingProps;var m=l.memoizedState;p=m.element,Rh(n,l),Bi(l,r,null,i);var E=l.memoizedState;if(r=E.cache,Aa(l,Tn,r),r!==m.cache&&Hi(l,[Tn],i,!0),bu(),r=E.element,m.isDehydrated)if(m={element:r,isDehydrated:!1,cache:E.cache},l.updateQueue.baseState=m,l.memoizedState=m,l.flags&256){l=li(n,l,r,i);break t}else if(r!==p){p=il(Error(h(424)),l),Rr(p),l=li(n,l,r,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,r,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(fu(),r===p){l=hl(n,l,i);break t}Pe(n,l,r,i)}l=l.child}return l;case 26:return fl(n,l),n===null?(i=uc(l.type,null,l.pendingProps,null))?l.memoizedState=i:ye||(i=l.type,n=l.pendingProps,r=Ou(ee.current).createElement(i),r[ke]=l,r[Sa]=n,la(r,i,n),Ne(r),l.stateNode=r):l.memoizedState=uc(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return Wa(l),n===null&&ye&&(r=l.stateNode=ic(l.type,l.pendingProps,ee.current),Gn=l,_n=!0,p=Ze,ci(l.type)?(ld=p,Ze=ja(r.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=r=Ze)&&(r=g2(r,l.type,l.pendingProps,_n),r!==null?(l.stateNode=r,Gn=l,Ze=ja(r.firstChild),_n=!1,p=!0):p=!1),p||Ul(l)),Wa(l),p=l.type,m=l.pendingProps,E=n!==null?n.memoizedProps:null,r=m.children,ac(p,m)?r=null:E!==null&&ac(p,E)&&(l.flags|=32),l.memoizedState!==null&&(p=Af(n,l,d2,null,null,i),ud._currentValue=p),fl(n,l),Pe(n,l,r,i),l.child;case 6:return n===null&&ye&&((n=i=Ze)&&(i=re(i,l.pendingProps,_n),i!==null?(l.stateNode=i,Gn=l,Ze=null,n=!0):n=!1),n||Ul(l)),null;case 13:return $g(n,l,i);case 4:return We(l,l.stateNode.containerInfo),r=l.pendingProps,n===null?l.child=yu(l,null,r,i):Pe(n,l,r,i),l.child;case 11:return Qg(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 r=l.pendingProps,Aa(l,l.type,r.value),Pe(n,l,r.children,i),l.child;case 9:return p=l.type._context,r=l.pendingProps.children,Pt(l),p=ft(p),r=r(p),l.flags|=1,Pe(n,l,r,i),l.child;case 14:return Zg(n,l,l.type,l.pendingProps,i);case 15:return Jg(n,l,l.type,l.pendingProps,i);case 19:return Fg(n,l,i);case 31:return Gv(n,l,i);case 22:return qv(n,l,i,l.pendingProps);case 24:return Pt(l),r=ft(Tn),n===null?(p=sl(),p===null&&(p=qe,m=mf(),p.pooledCache=m,m.refCount++,m!==null&&(p.pooledCacheLanes|=i),p=m),l.memoizedState={parent:r,cache:p},Ef(l),Aa(l,Tn,p)):((n.lanes&i)!==0&&(Rh(n,l),Bi(l,null,null,i),bu()),p=n.memoizedState,m=l.memoizedState,p.parent!==r?(p={parent:r,cache:r},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),Aa(l,Tn,r)):(r=m.cache,Aa(l,Tn,r),r!==p.cache&&Hi(l,[Tn],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 Pg(n,l,i,r,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(Iv())n.flags|=8192;else throw mu=ps,hs}else n.flags&=-16777217}function Ig(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ja(l))if(Iv())n.flags|=8192;else throw mu=ps,hs}function ha(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?ca():536870912,n.lanes|=l,cn|=l)}function kr(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 r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:r.sibling=null}}function Wt(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,r=0;if(l)for(var p=n.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags&65011712,r|=p.flags&65011712,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags,r|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=r,n.childLanes=i,l}function Xv(n,l,i){var r=l.pendingProps;switch(Eh(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,r=null,n!==null&&(r=n.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),ei(Tn),ze(),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,mg())),Wt(l),null;case 26:var p=l.type,m=l.memoizedState;return n===null?(Xi(l),m!==null?(Wt(l),Ig(l,m)):(Wt(l),Pg(l,p,null,r,i))):m?m!==n.memoizedState?(Xi(l),Wt(l),Ig(l,m)):(Wt(l),l.flags&=-16777217):(n=n.memoizedProps,n!==r&&Xi(l),Wt(l),Pg(l,p,n,r,i)),null;case 27:if(Rt(l),i=ee.current,p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==r&&Xi(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Wt(l),null}n=mt.current,Ni(l)?hf(l):(n=ic(p,r,i),l.stateNode=n,Xi(l))}return Wt(l),null;case 5:if(Rt(l),p=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==r&&Xi(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Wt(l),null}if(m=mt.current,Ni(l))hf(l);else{var E=Ou(ee.current);switch(m){case 1:m=E.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:m=E.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":m=E.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":m=E.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":m=E.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof r.is=="string"?E.createElement("select",{is:r.is}):E.createElement("select"),r.multiple?m.multiple=!0:r.size&&(m.size=r.size);break;default:m=typeof r.is=="string"?E.createElement(p,{is:r.is}):E.createElement(p)}}m[ke]=l,m[Sa]=r;t:for(E=l.child;E!==null;){if(E.tag===5||E.tag===6)m.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===l)break t;for(;E.sibling===null;){if(E.return===null||E.return===l)break t;E=E.return}E.sibling.return=E.return,E=E.sibling}l.stateNode=m;t:switch(la(m,p,r),p){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}r&&Xi(l)}}return Wt(l),Pg(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==r&&Xi(l);else{if(typeof r!="string"&&l.stateNode===null)throw Error(h(166));if(n=ee.current,Ni(l)){if(n=l.stateNode,i=l.memoizedProps,r=null,p=Gn,p!==null)switch(p.tag){case 27:case 5:r=p.memoizedProps}n[ke]=l,n=!!(n.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||wy(n.nodeValue,i)),n||Ul(l,!0)}else n=Ou(n).createTextNode(r),n[ke]=l,l.stateNode=n}return Wt(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(r=Ni(l),i!==null){if(n===null){if(!r)throw Error(h(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(h(557));n[ke]=l}else fu(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),n=!1}else i=mg(),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(r=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(p=Ni(l),r!==null&&r.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[ke]=l}else fu(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),p=!1}else p=mg(),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=r!==null,n=n!==null&&n.memoizedState!==null,i&&(r=l.child,p=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(p=r.alternate.memoizedState.cachePool.pool),m=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(m=r.memoizedState.cachePool.pool),m!==p&&(r.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),ha(l,l.updateQueue),Wt(l),null);case 4:return ze(),n===null&&nc(l.stateNode.containerInfo),Wt(l),null;case 10:return ei(l.type),Wt(l),null;case 19:if($(en),r=l.memoizedState,r===null)return Wt(l),null;if(p=(l.flags&128)!==0,m=r.rendering,m===null)if(p)kr(r,!1);else{if(Ke!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(m=_r(n),m!==null){for(l.flags|=128,kr(r,!1),n=m.updateQueue,l.updateQueue=n,ha(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)fg(i,n),i=i.sibling;return gt(en,en.current&1|2),ye&&_l(l,r.treeForkCount),l.child}n=n.sibling}r.tail!==null&&Rn()>Ue&&(l.flags|=128,p=!0,kr(r,!1),l.lanes=4194304)}else{if(!p)if(n=_r(m),n!==null){if(l.flags|=128,p=!0,n=n.updateQueue,l.updateQueue=n,ha(l,n),kr(r,!0),r.tail===null&&r.tailMode==="hidden"&&!m.alternate&&!ye)return Wt(l),null}else 2*Rn()-r.renderingStartTime>Ue&&i!==536870912&&(l.flags|=128,p=!0,kr(r,!1),l.lanes=4194304);r.isBackwards?(m.sibling=l.child,l.child=m):(n=r.last,n!==null?n.sibling=m:l.child=m,r.last=m)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.renderingStartTime=Rn(),n.sibling=null,i=en.current,gt(en,p?i&1|2:i&1),ye&&_l(l,r.treeForkCount),n):(Wt(l),null);case 22:case 23:return Da(l),Mr(),r=l.memoizedState!==null,n!==null?n.memoizedState!==null!==r&&(l.flags|=8192):r&&(l.flags|=8192),r?(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),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==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(Tn),Wt(l),null;case 25:return null;case 30:return null}throw Error(h(156,l.tag))}function Qv(n,l){switch(Eh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return ei(Tn),ze(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Rt(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 ze(),null;case 10:return ei(l.type),null;case 22:case 23:return Da(l),Mr(),n!==null&&$(ul),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return ei(Tn),null;case 25:return null;default:return null}}function Zv(n,l){switch(Eh(l),l.tag){case 3:ei(Tn),ze();break;case 26:case 27:case 5:Rt(l);break;case 4:ze();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),Mr(),n!==null&&$(ul);break;case 24:ei(Tn)}}function Nl(n,l){try{var i=l.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var p=r.next;i=p;do{if((i.tag&n)===n){r=void 0;var m=i.create,E=i.inst;r=m(),E.destroy=r}i=i.next}while(i!==p)}}catch(O){Ve(l,l.return,O)}}function pl(n,l,i){try{var r=l.updateQueue,p=r!==null?r.lastEffect:null;if(p!==null){var m=p.next;r=m;do{if((r.tag&n)===n){var E=r.inst,O=E.destroy;if(O!==void 0){E.destroy=void 0,p=l;var H=i,F=O;try{F()}catch(ot){Ve(p,H,ot)}}}r=r.next}while(r!==m)}}catch(ot){Ve(l,l.return,ot)}}function tp(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{Su(l,i)}catch(r){Ve(n,n.return,r)}}}function Du(n,l,i){i.props=wu(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(r){Ve(n,l,r)}}function Qi(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var r=n.stateNode;break;case 30:r=n.stateNode;break;default:r=n.stateNode}typeof i=="function"?n.refCleanup=i(r):i.current=r}}catch(p){Ve(n,l,p)}}function ii(n,l){var i=n.ref,r=n.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(p){Ve(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){Ve(n,l,p)}else i.current=null}function ty(n){var l=n.type,i=n.memoizedProps,r=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break t;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(p){Ve(n,n.return,p)}}function ep(n,l,i){try{var r=n.stateNode;Ay(r,n.type,i,l),r[Sa]=l}catch(p){Ve(n,n.return,p)}}function ey(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ci(n.type)||n.tag===4}function Yr(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||ey(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 qr(n,l,i){var r=n.tag;if(r===5||r===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(r!==4&&(r===27&&ci(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(qr(n,l,i),n=n.sibling;n!==null;)qr(n,l,i),n=n.sibling}function Gr(n,l,i){var r=n.tag;if(r===5||r===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(r!==4&&(r===27&&ci(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Gr(n,l,i),n=n.sibling;n!==null;)Gr(n,l,i),n=n.sibling}function ny(n){var l=n.stateNode,i=n.memoizedProps;try{for(var r=n.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);la(l,r,i),l[ke]=n,l[Sa]=i}catch(m){Ve(n,n.return,m)}}var _o=!1,zn=!1,np=!1,ay=typeof WeakSet=="function"?WeakSet:Set,Jn=null;function Xr(n,l){if(n=n.containerInfo,Ep=Nn,n=su(n),of(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else t:{i=(i=n.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var p=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break t}var E=0,O=-1,H=-1,F=0,ot=0,ct=n,W=null;e:for(;;){for(var nt;ct!==i||p!==0&&ct.nodeType!==3||(O=E+p),ct!==m||r!==0&&ct.nodeType!==3||(H=E+r),ct.nodeType===3&&(E+=ct.nodeValue.length),(nt=ct.firstChild)!==null;)W=ct,ct=nt;for(;;){if(ct===n)break e;if(W===i&&++F===p&&(O=E),W===m&&++ot===r&&(H=E),(nt=ct.nextSibling)!==null)break;ct=W,W=ct.parentNode}ct=nt}i=O===-1||H===-1?null:{start:O,end:H}}else i=null}i=i||{start:0,end:0}}else i=null;for(wp={focusedElem:n,selectionRange:i},Nn=!1,Jn=l;Jn!==null;)if(l=Jn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Jn=n;else for(;Jn!==null;){switch(l=Jn,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,r=i.stateNode;try{var Ct=wu(i.type,p);n=r.getSnapshotBeforeUpdate(Ct,m),r.__reactInternalSnapshotBeforeUpdate=n}catch(Zt){Ve(i,i.return,Zt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)ad(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":ad(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,Jn=n;break}Jn=l.return}}function kf(n,l,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:Uo(n,i),r&4&&Nl(5,i);break;case 1:if(Uo(n,i),r&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(E){Ve(i,i.return,E)}else{var p=wu(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(p,l,n.__reactInternalSnapshotBeforeUpdate)}catch(E){Ve(i,i.return,E)}}r&64&&tp(i),r&512&&Qi(i,i.return);break;case 3:if(Uo(n,i),r&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(E){Ve(i,i.return,E)}}break;case 27:l===null&&r&4&&ny(i);case 26:case 5:Uo(n,i),l===null&&r&4&&ty(i),r&512&&Qi(i,i.return);break;case 12:Uo(n,i);break;case 31:Uo(n,i),r&4&&Jv(n,i);break;case 13:Uo(n,i),r&4&&oy(n,i),r&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=ml.bind(null,i),lc(n,i))));break;case 22:if(r=i.memoizedState!==null||_o,!r){l=l!==null&&l.memoizedState!==null||zn,p=_o;var m=zn;_o=r,(zn=l)&&!m?oi(n,i,(i.subtreeFlags&8772)!==0):Uo(n,i),_o=p,zn=m}break;case 30:break;default:Uo(n,i)}}function ly(n){var l=n.alternate;l!==null&&(n.alternate=null,ly(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&Pd(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 Je=null,Ma=!1;function Zi(n,l,i){for(i=i.child;i!==null;)iy(n,l,i),i=i.sibling}function iy(n,l,i){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(xl,i)}catch{}switch(i.tag){case 26:zn||ii(i,l),Zi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:zn||ii(i,l);var r=Je,p=Ma;ci(i.type)&&(Je=i.stateNode,Ma=!1),Zi(n,l,i),Us(i.stateNode),Je=r,Ma=p;break;case 5:zn||ii(i,l);case 6:if(r=Je,p=Ma,Je=null,Zi(n,l,i),Je=r,Ma=p,Je!==null)if(Ma)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(i.stateNode)}catch(m){Ve(i,l,m)}else try{Je.removeChild(i.stateNode)}catch(m){Ve(i,l,m)}break;case 18:Je!==null&&(Ma?(n=Je,Cy(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),mc(n)):Cy(Je,i.stateNode));break;case 4:r=Je,p=Ma,Je=i.stateNode.containerInfo,Ma=!0,Zi(n,l,i),Je=r,Ma=p;break;case 0:case 11:case 14:case 15:pl(2,i,l),zn||pl(4,i,l),Zi(n,l,i);break;case 1:zn||(ii(i,l),r=i.stateNode,typeof r.componentWillUnmount=="function"&&Du(i,l,r)),Zi(n,l,i);break;case 21:Zi(n,l,i);break;case 22:zn=(r=zn)||i.memoizedState!==null,Zi(n,l,i),zn=r;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{mc(n)}catch(i){Ve(l,l.return,i)}}}function oy(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{mc(n)}catch(i){Ve(l,l.return,i)}}function Yf(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new ay),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new ay),l;default:throw Error(h(435,n.tag))}}function qf(n,l){var i=Yf(n);l.forEach(function(r){if(!i.has(r)){i.add(r);var p=pb.bind(null,n,r);r.then(p,p)}})}function Oa(n,l){var i=l.deletions;if(i!==null)for(var r=0;r<i.length;r++){var p=i[r],m=n,E=l,O=E;t:for(;O!==null;){switch(O.tag){case 27:if(ci(O.type)){Je=O.stateNode,Ma=!1;break t}break;case 5:Je=O.stateNode,Ma=!1;break t;case 3:case 4:Je=O.stateNode.containerInfo,Ma=!0;break t}O=O.return}if(Je===null)throw Error(h(160));iy(m,E,p),Je=null,Ma=!1,m=p.alternate,m!==null&&(m.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)ap(l,n),l=l.sibling}var oe=null;function ap(n,l){var i=n.alternate,r=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Oa(l,n),qa(n),r&4&&(pl(3,n,n.return),Nl(3,n),pl(5,n,n.return));break;case 1:Oa(l,n),qa(n),r&512&&(zn||i===null||ii(i,i.return)),r&64&&_o&&(n=n.updateQueue,n!==null&&(r=n.callbacks,r!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var p=oe;if(Oa(l,n),qa(n),r&512&&(zn||i===null||ii(i,i.return)),r&4){var m=i!==null?i.memoizedState:null;if(r=n.memoizedState,i===null)if(r===null)if(n.stateNode===null){t:{r=n.type,i=n.memoizedProps,p=p.ownerDocument||p;e:switch(r){case"title":m=p.getElementsByTagName("title")[0],(!m||m[Ai]||m[ke]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=p.createElement(r),p.head.insertBefore(m,p.querySelector("head > title"))),la(m,r,i),m[ke]=n,Ne(m),r=m;break t;case"link":var E=Uy("link","href",p).get(r+(i.href||""));if(E){for(var O=0;O<E.length;O++)if(m=E[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)){E.splice(O,1);break e}}m=p.createElement(r),la(m,r,i),p.head.appendChild(m);break;case"meta":if(E=Uy("meta","content",p).get(r+(i.content||""))){for(O=0;O<E.length;O++)if(m=E[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)){E.splice(O,1);break e}}m=p.createElement(r),la(m,r,i),p.head.appendChild(m);break;default:throw Error(h(468,r))}m[ke]=n,Ne(m),r=m}n.stateNode=r}else zp(p,n.type,n.stateNode);else n.stateNode=_y(p,r,n.memoizedProps);else m!==r?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,r===null?zp(p,n.type,n.stateNode):_y(p,r,n.memoizedProps)):r===null&&n.stateNode!==null&&ep(n,n.memoizedProps,i.memoizedProps)}break;case 27:Oa(l,n),qa(n),r&512&&(zn||i===null||ii(i,i.return)),i!==null&&r&4&&ep(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Oa(l,n),qa(n),r&512&&(zn||i===null||ii(i,i.return)),n.flags&32){p=n.stateNode;try{Di(p,"")}catch(Ct){Ve(n,n.return,Ct)}}r&4&&n.stateNode!=null&&(p=n.memoizedProps,ep(n,p,i!==null?i.memoizedProps:p)),r&1024&&(np=!0);break;case 6:if(Oa(l,n),qa(n),r&4){if(n.stateNode===null)throw Error(h(162));r=n.memoizedProps,i=n.stateNode;try{i.nodeValue=r}catch(Ct){Ve(n,n.return,Ct)}}break;case 3:if(cc=null,p=oe,oe=pa(l.containerInfo),Oa(l,n),oe=p,qa(n),r&4&&i!==null&&i.memoizedState.isDehydrated)try{mc(l.containerInfo)}catch(Ct){Ve(n,n.return,Ct)}np&&(np=!1,uy(n));break;case 4:r=oe,oe=pa(n.stateNode.containerInfo),Oa(l,n),qa(n),oe=r;break;case 12:Oa(l,n),qa(n);break;case 31:Oa(l,n),qa(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,qf(n,r)));break;case 13:Oa(l,n),qa(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(ri=Rn()),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,qf(n,r)));break;case 22:p=n.memoizedState!==null;var H=i!==null&&i.memoizedState!==null,F=_o,ot=zn;if(_o=F||p,zn=ot||H,Oa(l,n),zn=ot,_o=F,qa(n),r&8192)t:for(l=n.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||H||_o||zn||Rs(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){H=i=l;try{if(m=H.stateNode,p)E=m.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{O=H.stateNode;var ct=H.memoizedProps.style,W=ct!=null&&ct.hasOwnProperty("display")?ct.display:null;O.style.display=W==null||typeof W=="boolean"?"":(""+W).trim()}}catch(Ct){Ve(H,H.return,Ct)}}}else if(l.tag===6){if(i===null){H=l;try{H.stateNode.nodeValue=p?"":H.memoizedProps}catch(Ct){Ve(H,H.return,Ct)}}}else if(l.tag===18){if(i===null){H=l;try{var nt=H.stateNode;p?xn(nt,!0):xn(H.stateNode,!1)}catch(Ct){Ve(H,H.return,Ct)}}}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}r&4&&(r=n.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,qf(n,i))));break;case 19:Oa(l,n),qa(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,qf(n,r)));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,r=n.return;r!==null;){if(ey(r)){i=r;break}r=r.return}if(i==null)throw Error(h(160));switch(i.tag){case 27:var p=i.stateNode,m=Yr(n);Gr(n,m,p);break;case 5:var E=i.stateNode;i.flags&32&&(Di(E,""),i.flags&=-33);var O=Yr(n);Gr(n,O,E);break;case 3:case 4:var H=i.stateNode.containerInfo,F=Yr(n);qr(n,F,H);break;default:throw Error(h(161))}}catch(ot){Ve(n,n.return,ot)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function uy(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;uy(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;)kf(n,l.alternate,l),l=l.sibling}function Rs(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),Rs(l);break;case 1:ii(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Du(l,l.return,i),Rs(l);break;case 27:Us(l.stateNode);case 26:case 5:ii(l,l.return),Rs(l);break;case 22:l.memoizedState===null&&Rs(l);break;case 30:Rs(l);break;default:Rs(l)}n=n.sibling}}function oi(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var r=l.alternate,p=n,m=l,E=m.flags;switch(m.tag){case 0:case 11:case 15:oi(p,m,i),Nl(4,m);break;case 1:if(oi(p,m,i),r=m,p=r.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(F){Ve(r,r.return,F)}if(r=m,p=r.updateQueue,p!==null){var O=r.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){Ve(r,r.return,F)}}i&&E&64&&tp(m),Qi(m,m.return);break;case 27:ny(m);case 26:case 5:oi(p,m,i),i&&r===null&&E&4&&ty(m),Qi(m,m.return);break;case 12:oi(p,m,i);break;case 31:oi(p,m,i),i&&E&4&&Jv(p,m);break;case 13:oi(p,m,i),i&&E&4&&oy(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 lp(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&&gf(i))}function ip(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&gf(n))}function Hl(n,l,i,r){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Qr(n,l,i,r),l=l.sibling}function Qr(n,l,i,r){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Hl(n,l,i,r),p&2048&&Nl(9,l);break;case 1:Hl(n,l,i,r);break;case 3:Hl(n,l,i,r),p&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&gf(n)));break;case 12:if(p&2048){Hl(n,l,i,r),n=l.stateNode;try{var m=l.memoizedProps,E=m.id,O=m.onPostCommit;typeof O=="function"&&O(E,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(H){Ve(l,l.return,H)}}else Hl(n,l,i,r);break;case 31:Hl(n,l,i,r);break;case 13:Hl(n,l,i,r);break;case 23:break;case 22:m=l.stateNode,E=l.alternate,l.memoizedState!==null?m._visibility&2?Hl(n,l,i,r):Gf(n,l):m._visibility&2?Hl(n,l,i,r):(m._visibility|=2,Zr(n,l,i,r,(l.subtreeFlags&10256)!==0||!1)),p&2048&&lp(E,l);break;case 24:Hl(n,l,i,r),p&2048&&ip(l.alternate,l);break;default:Hl(n,l,i,r)}}function Zr(n,l,i,r,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var m=n,E=l,O=i,H=r,F=E.flags;switch(E.tag){case 0:case 11:case 15:Zr(m,E,O,H,p),Nl(8,E);break;case 23:break;case 22:var ot=E.stateNode;E.memoizedState!==null?ot._visibility&2?Zr(m,E,O,H,p):Gf(m,E):(ot._visibility|=2,Zr(m,E,O,H,p)),p&&F&2048&&lp(E.alternate,E);break;case 24:Zr(m,E,O,H,p),p&&F&2048&&ip(E.alternate,E);break;default:Zr(m,E,O,H,p)}l=l.sibling}}function Gf(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,r=l,p=r.flags;switch(r.tag){case 22:Gf(i,r),p&2048&&lp(r.alternate,r);break;case 24:Gf(i,r),p&2048&&ip(r.alternate,r);break;default:Gf(i,r)}l=l.sibling}}var Ga=8192;function Ji(n,l,i){if(n.subtreeFlags&Ga)for(n=n.child;n!==null;)Kv(n,l,i),n=n.sibling}function Kv(n,l,i){switch(n.tag){case 26:Ji(n,l,i),n.flags&Ga&&n.memoizedState!==null&&Pi(i,oe,n.memoizedState,n.memoizedProps);break;case 5:Ji(n,l,i);break;case 3:case 4:var r=oe;oe=pa(n.stateNode.containerInfo),Ji(n,l,i),oe=r;break;case 22:n.memoizedState===null&&(r=n.alternate,r!==null&&r.memoizedState!==null?(r=Ga,Ga=16777216,Ji(n,l,i),Ga=r):Ji(n,l,i));break;default:Ji(n,l,i)}}function op(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 Jr(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];Jn=r,up(r,n)}op(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)sy(n),n=n.sibling}function sy(n){switch(n.tag){case 0:case 11:case 15:Jr(n),n.flags&2048&&pl(9,n,n.return);break;case 3:Jr(n);break;case 12:Jr(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Xf(n)):Jr(n);break;default:Jr(n)}}function Xf(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];Jn=r,up(r,n)}op(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:pl(8,l,l.return),Xf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Xf(l));break;default:Xf(l)}n=n.sibling}}function up(n,l){for(;Jn!==null;){var i=Jn;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 r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:gf(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,Jn=r;else t:for(i=n;Jn!==null;){r=Jn;var p=r.sibling,m=r.return;if(ly(r),r===i){Jn=null;break t}if(p!==null){p.return=m,Jn=p;break t}Jn=m}}}var $v={getCacheForType:function(n){var l=ft(Tn),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return ft(Tn).controller.signal}},ry=typeof WeakMap=="function"?WeakMap:Map,Me=0,qe=null,ve=null,pe=0,Le=0,$t=null,Ki=!1,zu=!1,sp=!1,ui=0,Ke=0,si=0,Ds=0,rp=0,_a=0,cn=0,Qf=null,fn=null,cp=!1,ri=0,cy=0,Ue=1/0,Kr=null,nn=null,jn=0,jo=null,Cu=null,$i=0,Xa=0,fp=null,dp=null,$r=0,Zf=null;function Qa(){return(Me&2)!==0&&pe!==0?pe&-pe:k.T!==null?yp():Fd()}function Fv(){if(_a===0)if((pe&536870912)===0||ye){var n=St;St<<=1,(St&3932160)===0&&(St=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&&(Ds|=i),Ke===4&&No(n,pe,_a,!1)),Wi(n))}function Wv(n,l,i){if((Me&6)!==0)throw Error(h(327));var r=!i&&(l&127)===0&&(l&n.expiredLanes)===0||he(n,l),p=r?nb(n,l):pp(n,l,!0),m=r;do{if(p===0){zu&&!r&&No(n,l,0,!1);break}else{if(i=n.current.alternate,m&&!Pv(i)){p=pp(n,l,!1),m=!1;continue}if(p===2){if(m=l,n.errorRecoveryDisabledLanes&m)var E=0;else E=n.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){l=E;t:{var O=n;p=Qf;var H=O.current.memoizedState.isDehydrated;if(H&&(Fi(O,E).flags|=256),E=pp(O,E,!1),E!==2){if(sp&&!H){O.errorRecoveryDisabledLanes|=m,Ds|=m,p=4;break t}m=fn,fn=p,m!==null&&(fn===null?fn=m:fn.push.apply(fn,m))}p=E}if(m=!1,p!==2)continue}}if(p===1){Fi(n,0),No(n,l,0,!0);break}t:{switch(r=n,m=p,m){case 0:case 1:throw Error(h(345));case 4:if((l&4194048)!==l)break;case 6:No(r,l,_a,!Ki);break t;case 2:fn=null;break;case 3:case 5:break;default:throw Error(h(329))}if((l&62914560)===l&&(p=ri+300-Rn(),10<p)){if(No(r,l,_a,!Ki),jt(r,0,!0)!==0)break t;$i=l,r.timeoutHandle=nd(Jf.bind(null,r,i,fn,Kr,cp,l,_a,Ds,cn,Ki,m,"Throttled",-0,0),p);break t}Jf(r,i,fn,Kr,cp,l,_a,Ds,cn,Ki,m,null,-0,0)}}break}while(!0);Wi(n)}function Jf(n,l,i,r,p,m,E,O,H,F,ot,ct,W,nt){if(n.timeoutHandle=-1,ct=l.subtreeFlags,ct&8192||(ct&16785408)===16785408){ct={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ql},Kv(l,m,ct);var Ct=(m&62914560)===m?ri-Rn():(m&4194048)===m?cy-Rn():0;if(Ct=Ny(ct,Ct),Ct!==null){$i=m,n.cancelPendingCommit=Ct(ob.bind(null,n,l,m,i,r,p,E,O,H,ot,ct,null,W,nt)),No(n,m,E,!F);return}}ob(n,l,m,i,r,p,E,O,H)}function Pv(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 r=0;r<i.length;r++){var p=i[r],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,r){l&=~rp,l&=~Ds,n.suspendedLanes|=l,n.pingedLanes&=~l,r&&(n.warmLanes|=l),r=n.expirationTimes;for(var p=l;0<p;){var m=31-kn(p),E=1<<m;r[m]=-1,p&=~E}i!==0&&Kc(n,i,l)}function Fr(){return(Me&6)===0?(Bo(0),!1):!0}function fy(){if(ve!==null){if(Le===0)var n=ve.return;else n=ve,ti=xo=null,Rf(n),gu=null,ms=0,n=ve;for(;n!==null;)Zv(n.alternate,n),n=n.return;ve=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,fy(),qe=n,ve=i=Eo(n.current,null),pe=l,Le=0,$t=null,Ki=!1,zu=he(n,l),sp=!1,cn=_a=rp=Ds=si=Ke=0,fn=Qf=null,cp=!1,(l&8)!==0&&(l|=l&32);var r=n.entangledLanes;if(r!==0)for(n=n.entanglements,r&=l;0<r;){var p=31-kn(r),m=1<<p;l|=n[p],r&=~m}return ui=l,al(),i}function Wr(n,l){le=null,k.H=jf,l===hu||l===zr?(l=Sg(),Le=3):l===hs?(l=Sg(),Le=4):Le=l===$h?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,$t=l,ve===null&&(Ke=1,Vr(n,il(l,n.current)))}function Iv(){var n=Ra.current;return n===null?!0:(pe&4194048)===pe?cl===null:(pe&62914560)===pe||(pe&536870912)!==0?n===cl:!1}function tb(){var n=k.H;return k.H=jf,n===null?jf:n}function eb(){var n=k.A;return k.A=$v,n}function hp(){Ke=4,Ki||(pe&4194048)!==pe&&Ra.current!==null||(zu=!0),(si&134217727)===0&&(Ds&134217727)===0||qe===null||No(qe,pe,_a,!1)}function pp(n,l,i){var r=Me;Me|=2;var p=tb(),m=eb();(qe!==n||pe!==l)&&(Kr=null,Fi(n,l)),l=!1;var E=Ke;t:do try{if(Le!==0&&ve!==null){var O=ve,H=$t;switch(Le){case 8:fy(),E=6;break t;case 3:case 2:case 9:case 6:Ra.current===null&&(l=!0);var F=Le;if(Le=0,$t=null,zs(n,O,H,F),i&&zu){E=0;break t}break;default:F=Le,Le=0,$t=null,zs(n,O,H,F)}}p2(),E=Ke;break}catch(ot){Wr(n,ot)}while(!0);return l&&n.shellSuspendCounter++,ti=xo=null,Me=r,k.H=p,k.A=m,ve===null&&(qe=null,pe=0,al()),E}function p2(){for(;ve!==null;)ab(ve)}function nb(n,l){var i=Me;Me|=2;var r=tb(),p=eb();qe!==n||pe!==l?(Kr=null,Ue=Rn()+500,Fi(n,l)):zu=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,zs(n,l,m,1);break;case 2:case 9:if(vg(m)){Le=0,$t=null,lb(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:vg(m)?(Le=0,$t=null,lb(l)):(Le=0,$t=null,zs(n,l,m,7));break;case 5:var E=null;switch(ve.tag){case 26:E=ve.memoizedState;case 5:case 27:var O=ve;if(E?Ja(E):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,Kf(F)):ve=null}break e}}Le=0,$t=null,zs(n,l,m,5);break;case 6:Le=0,$t=null,zs(n,l,m,6);break;case 8:fy(),Ke=6;break t;default:throw Error(h(462))}}Mu();break}catch(ot){Wr(n,ot)}while(!0);return ti=xo=null,k.H=r,k.A=p,Me=i,ve!==null?0:(qe=null,pe=0,al(),Ke)}function Mu(){for(;ve!==null&&!wi();)ab(ve)}function ab(n){var l=Wg(n.alternate,n,ui);n.memoizedProps=n.pendingProps,l===null?Kf(n):ve=l}function lb(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:Rf(l);default:Zv(i,l),l=ve=fg(l,ui),l=Wg(i,l,ui)}n.memoizedProps=n.pendingProps,l===null?Kf(n):ve=l}function zs(n,l,i,r){ti=xo=null,Rf(l),gu=null,ms=0;var p=l.return;try{if(h2(n,p,l,i,pe)){Ke=1,Vr(n,il(i,n.current)),ve=null;return}}catch(m){if(p!==null)throw ve=p,m;Ke=1,Vr(n,il(i,n.current)),ve=null;return}l.flags&32768?(ye||r===1?n=!0:zu||(pe&536870912)!==0?n=!1:(Ki=n=!0,(r===2||r===9||r===3||r===6)&&(r=Ra.current,r!==null&&r.tag===13&&(r.flags|=16384))),ib(l,n)):Kf(l)}function Kf(n){var l=n;do{if((l.flags&32768)!==0){ib(l,Ki);return}n=l.return;var i=Xv(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);Ke===0&&(Ke=5)}function ib(n,l){do{var i=Qv(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);Ke=6,ve=null}function ob(n,l,i,r,p,m,E,O,H){n.cancelPendingCommit=null;do Pr();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|=Ml,sr(n,i,m,E,O,H),n===qe&&(ve=qe=null,pe=0),Cu=l,jo=n,$i=i,Xa=m,fp=p,dp=r,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,mb(Gl,function(){return fb(),null})):(n.callbackNode=null,n.callbackPriority=0),r=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||r){r=k.T,k.T=null,p=tt.p,tt.p=2,E=Me,Me|=4;try{Xr(n,l,i)}finally{Me=E,tt.p=p,k.T=r}}jn=1,ub(),sb(),rb()}}function ub(){if(jn===1){jn=0;var n=jo,l=Cu,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=k.T,k.T=null;var r=tt.p;tt.p=2;var p=Me;Me|=4;try{ap(l,n);var m=wp,E=su(n.containerInfo),O=m.focusedElem,H=m.selectionRange;if(E!==O&&O&&O.ownerDocument&&is(O.ownerDocument.documentElement,O)){if(H!==null&&of(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 ct=O.ownerDocument||document,W=ct&&ct.defaultView||window;if(W.getSelection){var nt=W.getSelection(),Ct=O.textContent.length,Zt=Math.min(H.start,Ct),Xe=H.end===void 0?Zt:Math.min(H.end,Ct);!nt.extend&&Zt>Xe&&(E=Xe,Xe=Zt,Zt=E);var X=rg(O,Zt),Y=rg(O,Xe);if(X&&Y&&(nt.rangeCount!==1||nt.anchorNode!==X.node||nt.anchorOffset!==X.offset||nt.focusNode!==Y.node||nt.focusOffset!==Y.offset)){var K=ct.createRange();K.setStart(X.node,X.offset),nt.removeAllRanges(),Zt>Xe?(nt.addRange(K),nt.extend(Y.node,Y.offset)):(K.setEnd(Y.node,Y.offset),nt.addRange(K))}}}}for(ct=[],nt=O;nt=nt.parentNode;)nt.nodeType===1&&ct.push({element:nt,left:nt.scrollLeft,top:nt.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<ct.length;O++){var rt=ct[O];rt.element.scrollLeft=rt.left,rt.element.scrollTop=rt.top}}Nn=!!Ep,wp=Ep=null}finally{Me=p,tt.p=r,k.T=i}}n.current=l,jn=2}}function sb(){if(jn===2){jn=0;var n=jo,l=Cu,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=k.T,k.T=null;var r=tt.p;tt.p=2;var p=Me;Me|=4;try{kf(n,l.alternate,l)}finally{Me=p,tt.p=r,k.T=i}}jn=3}}function rb(){if(jn===4||jn===3){jn=0,Xu();var n=jo,l=Cu,i=$i,r=dp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?jn=5:(jn=0,Cu=jo=null,cb(n,n.pendingLanes));var p=n.pendingLanes;if(p===0&&(nn=null),Bm(i),l=l.stateNode,On&&typeof On.onCommitFiberRoot=="function")try{On.onCommitFiberRoot(xl,l,void 0,(l.current.flags&128)===128)}catch{}if(r!==null){l=k.T,p=tt.p,tt.p=2,k.T=null;try{for(var m=n.onRecoverableError,E=0;E<r.length;E++){var O=r[E];m(O.value,{componentStack:O.stack})}}finally{k.T=l,tt.p=p}}($i&3)!==0&&Pr(),Wi(n),p=n.pendingLanes,(i&261930)!==0&&(p&42)!==0?n===Zf?$r++:($r=0,Zf=n):$r=0,Bo(0)}}function cb(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,gf(l)))}function Pr(){return ub(),sb(),rb(),fb()}function fb(){if(jn!==5)return!1;var n=jo,l=Xa;Xa=0;var i=Bm($i),r=k.T,p=tt.p;try{tt.p=32>i?32:i,k.T=null,i=fp,fp=null;var m=jo,E=$i;if(jn=0,Cu=jo=null,$i=0,(Me&6)!==0)throw Error(h(331));var O=Me;if(Me|=4,sy(m.current),Qr(m,m.current,E,i),Me=O,Bo(0,!1),On&&typeof On.onPostCommitFiberRoot=="function")try{On.onPostCommitFiberRoot(xl,m)}catch{}return!0}finally{tt.p=p,k.T=r,cb(n,l)}}function db(n,l,i){l=il(i,l),l=qg(n.stateNode,l,2),n=rl(n,l,2),n!==null&&(tu(n,2),Wi(n))}function Ve(n,l,i){if(n.tag===3)db(n,n,i);else for(;l!==null;){if(l.tag===3){db(l,n,i);break}else if(l.tag===1){var r=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(nn===null||!nn.has(r))){n=il(i,n),i=Gg(2),r=rl(l,i,2),r!==null&&(Xg(i,r,l,n),tu(r,2),Wi(r));break}}l=l.return}}function $f(n,l,i){var r=n.pingCache;if(r===null){r=n.pingCache=new ry;var p=new Set;r.set(l,p)}else p=r.get(l),p===void 0&&(p=new Set,r.set(l,p));p.has(i)||(sp=!0,p.add(i),n=dy.bind(null,n,l,i),l.then(n,n))}function dy(n,l,i){var r=n.pingCache;r!==null&&r.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,qe===n&&(pe&i)===i&&(Ke===4||Ke===3&&(pe&62914560)===pe&&300>Rn()-ri?(Me&2)===0&&Fi(n,0):rp|=i,cn===pe&&(cn=0)),Wi(n)}function hb(n,l){l===0&&(l=ca()),n=To(n,l),n!==null&&(tu(n,l),Wi(n))}function ml(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),hb(n,i)}function pb(n,l){var i=0;switch(n.tag){case 31:case 13:var r=n.stateNode,p=n.memoizedState;p!==null&&(i=p.retryLane);break;case 19:r=n.stateNode;break;case 22:r=n.stateNode._retryCache;break;default:throw Error(h(314))}r!==null&&r.delete(l),hb(n,i)}function mb(n,l){return _t(n,l)}var Ir=null,Cs=null,hy=!1,mp=!1,py=!1,Ho=0;function Wi(n){n!==Cs&&n.next===null&&(Cs===null?Ir=Cs=n:Cs=Cs.next=n),mp=!0,hy||(hy=!0,Wf())}function Bo(n,l){if(!py&&mp){py=!0;do for(var i=!1,r=Ir;r!==null;){if(n!==0){var p=r.pendingLanes;if(p===0)var m=0;else{var E=r.suspendedLanes,O=r.pingedLanes;m=(1<<31-kn(42|n)+1)-1,m&=p&~(E&~O),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,Ms(r,m))}else m=pe,m=jt(r,r===qe?m:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(m&3)===0||he(r,m)||(i=!0,Ms(r,m));r=r.next}while(i);py=!1}}function gp(){my()}function my(){mp=hy=!1;var n=0;Ho!==0&&m2()&&(n=Ho);for(var l=Rn(),i=null,r=Ir;r!==null;){var p=r.next,m=gy(r,l);m===0?(r.next=null,i===null?Ir=p:i.next=p,p===null&&(Cs=i)):(i=r,(n!==0||(m&3)!==0)&&(mp=!0)),r=p}jn!==0&&jn!==5||Bo(n),Ho!==0&&(Ho=0)}function gy(n,l){for(var i=n.suspendedLanes,r=n.pingedLanes,p=n.expirationTimes,m=n.pendingLanes&-62914561;0<m;){var E=31-kn(m),O=1<<E,H=p[E];H===-1?((O&i)===0||(O&r)!==0)&&(p[E]=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),r=n.callbackNode,i===0||n===l&&(Le===2||Le===9)||n.cancelPendingCommit!==null)return r!==null&&r!==null&&Po(r),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||he(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(r!==null&&Po(r),Bm(i)){case 2:case 8:i=or;break;case 32:i=Gl;break;case 268435456:i=ur;break;default:i=Gl}return r=Ff.bind(null,n),i=_t(i,r),n.callbackPriority=l,n.callbackNode=i,l}return r!==null&&r!==null&&Po(r),n.callbackPriority=2,n.callbackNode=null,2}function Ff(n,l){if(jn!==0&&jn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Pr()&&n.callbackNode!==i)return null;var r=pe;return r=jt(n,n===qe?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r===0?null:(Wv(n,r,l),gy(n,Rn()),n.callbackNode!=null&&n.callbackNode===i?Ff.bind(null,n):null)}function Ms(n,l){if(Pr())return null;Wv(n,l,!0)}function Wf(){wb(function(){(Me&6)!==0?_t(ir,gp):my()})}function yp(){if(Ho===0){var n=du;n===0&&(n=yt,yt<<=1,(yt&261888)===0&&(yt=256)),Ho=n}return Ho}function gb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Rl(""+n)}function Os(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 Pf(n,l,i,r,p){if(l==="submit"&&i&&i.stateNode===p){var m=gb((p[Sa]||null).action),E=r.submitter;E&&(l=(l=E[Sa]||null)?gb(l.formAction):E.getAttribute("formAction"),l!==null&&(m=l,E=null));var O=new nf("action","action",null,r,p);n.push({event:O,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ho!==0){var H=E?Os(p,E):new FormData(p);Br(i,{pending:!0,data:H,method:p.method,action:m},null,H)}}else typeof m=="function"&&(O.preventDefault(),H=E?Os(p,E):new FormData(p),Br(i,{pending:!0,data:H,method:p.method,action:m},m,H))},currentTarget:p}]})}}for(var vp=0;vp<Er.length;vp++){var tc=Er[vp],yy=tc.toLowerCase(),vy=tc[0].toUpperCase()+tc.slice(1);Ea(yy,"on"+vy)}Ea(sf,"onAnimationEnd"),Ea(cg,"onAnimationIteration"),Ea(vh,"onAnimationStart"),Ea("dblclick","onDoubleClick"),Ea("focusin","onFocus"),Ea("focusout","onBlur"),Ea(os,"onTransitionRun"),Ea(rf,"onTransitionStart"),Ea(Oi,"onTransitionCancel"),Ea(Dv,"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 ec="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(" "),yb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ec));function vb(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var r=n[i],p=r.event;r=r.listeners;t:{var m=void 0;if(l)for(var E=r.length-1;0<=E;E--){var O=r[E],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){us(ot)}p.currentTarget=null,m=H}else for(E=0;E<r.length;E++){if(O=r[E],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){us(ot)}p.currentTarget=null,m=H}}}}function ge(n,l){var i=l[Wd];i===void 0&&(i=l[Wd]=new Set);var r=n+"__bubble";i.has(r)||(If(l,n,2,!1),i.add(r))}function by(n,l,i){var r=0;l&&(r|=4),If(i,n,r,l)}var bp="_reactListening"+Math.random().toString(36).slice(2);function nc(n){if(!n[bp]){n[bp]=!0,$u.forEach(function(i){i!=="selectionchange"&&(yb.has(i)||by(i,!1,n),by(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[bp]||(l[bp]=!0,by("selectionchange",!1,l))}}function If(n,l,i,r){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,!tf||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),r?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 Sy(n,l,i,r,p){var m=r;if((l&1)===0&&(l&2)===0&&r!==null)t:for(;;){if(r===null)return;var E=r.tag;if(E===3||E===4){var O=r.stateNode.containerInfo;if(O===p)break;if(E===4)for(E=r.return;E!==null;){var H=E.tag;if((H===3||H===4)&&E.stateNode.containerInfo===p)return;E=E.return}for(;O!==null;){if(E=Zu(O),E===null)return;if(H=E.tag,H===5||H===6||H===26||H===27){r=m=E;continue t}O=O.parentNode}}r=r.return}Zm(function(){var F=m,ot=ih(i),ct=[];t:{var W=_i.get(n);if(W!==void 0){var nt=nf,Ct=n;switch(n){case"keypress":if(uh(i)===0)break t;case"keydown":case"keyup":nt=fh;break;case"focusin":Ct="focus",nt=rh;break;case"focusout":Ct="blur",nt=rh;break;case"beforeblur":case"afterblur":nt=rh;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":nt=yr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":nt=mv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":nt=Sv;break;case sf:case cg:case vh:nt=yv;break;case Dv:nt=r2;break;case"scroll":case"scrollend":nt=u2;break;case"wheel":nt=c2;break;case"copy":case"cut":case"paste":nt=Iu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":nt=Kl;break;case"toggle":case"beforetoggle":nt=eg}var Zt=(l&4)!==0,Xe=!Zt&&(n==="scroll"||n==="scrollend"),X=Zt?W!==null?W+"Capture":null:W;Zt=[];for(var Y=F,K;Y!==null;){var rt=Y;if(K=rt.stateNode,rt=rt.tag,rt!==5&&rt!==26&&rt!==27||K===null||X===null||(rt=Yn(Y,X),rt!=null&&Zt.push(td(Y,rt,K))),Xe)break;Y=Y.return}0<Zt.length&&(W=new nt(W,Ct,null,i,ot),ct.push({event:W,listeners:Zt}))}}if((l&7)===0){t:{if(W=n==="mouseover"||n==="pointerover",nt=n==="mouseout"||n==="pointerout",W&&i!==lh&&(Ct=i.relatedTarget||i.fromElement)&&(Zu(Ct)||Ct[eu]))break t;if((nt||W)&&(W=ot.window===ot?ot:(W=ot.ownerDocument)?W.defaultView||W.parentWindow:window,nt?(Ct=i.relatedTarget||i.toElement,nt=F,Ct=Ct?Zu(Ct):null,Ct!==null&&(Xe=b(Ct),Zt=Ct.tag,Ct!==Xe||Zt!==5&&Zt!==27&&Zt!==6)&&(Ct=null)):(nt=null,Ct=F),nt!==Ct)){if(Zt=yr,rt="onMouseLeave",X="onMouseEnter",Y="mouse",(n==="pointerout"||n==="pointerover")&&(Zt=Kl,rt="onPointerLeave",X="onPointerEnter",Y="pointer"),Xe=nt==null?W:rr(nt),K=Ct==null?W:rr(Ct),W=new Zt(rt,Y+"leave",nt,i,ot),W.target=Xe,W.relatedTarget=K,rt=null,Zu(ot)===F&&(Zt=new Zt(X,Y+"enter",Ct,i,ot),Zt.target=K,Zt.relatedTarget=Xe,rt=Zt),Xe=rt,nt&&Ct)e:{for(Zt=bb,X=nt,Y=Ct,K=0,rt=X;rt;rt=Zt(rt))K++;rt=0;for(var kt=Y;kt;kt=Zt(kt))rt++;for(;0<K-rt;)X=Zt(X),K--;for(;0<rt-K;)Y=Zt(Y),rt--;for(;K--;){if(X===Y||Y!==null&&X===Y.alternate){Zt=X;break e}X=Zt(X),Y=Zt(Y)}Zt=null}else Zt=null;nt!==null&&Sp(ct,W,nt,Zt,!1),Ct!==null&&Xe!==null&&Sp(ct,Xe,Ct,Zt,!0)}}t:{if(W=F?rr(F):window,nt=W.nodeName&&W.nodeName.toLowerCase(),nt==="select"||nt==="input"&&W.type==="file")var Ae=og;else if(Mi(W))if(ph)Ae=ls;else{Ae=Av;var Nt=xv}else nt=W.nodeName,!nt||nt.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?F&&Qm(F.elementType)&&(Ae=og):Ae=uu;if(Ae&&(Ae=Ae(n,F))){ig(ct,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?rr(F):window,n){case"focusin":(Mi(Nt)||Nt.contentEditable==="true")&&(ru=Nt,Sr=F,Cl=null);break;case"focusout":Cl=Sr=ru=null;break;case"mousedown":Fl=!0;break;case"contextmenu":case"mouseup":case"dragend":Fl=!1,yh(ct,i,ot);break;case"selectionchange":if(uf)break;case"keydown":case"keyup":yh(ct,i,ot)}var ae;if(vr)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 es?hh(n,i)&&(ue="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(ue="onCompositionStart");ue&&(ng&&i.locale!=="ko"&&(es||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&es&&(ae=Km()):(bo=ot,Jm="value"in bo?bo.value:bo.textContent,es=!0)),Nt=ed(F,ue),0<Nt.length&&(ue=new vv(ue,n,null,i,ot),ct.push({event:ue,listeners:Nt}),ae?ue.data=ae:(ae=ag(i),ae!==null&&(ue.data=ae)))),(ae=fa?wv(n,i):f2(n,i))&&(ue=ed(F,"onBeforeInput"),0<ue.length&&(Nt=new vv("onBeforeInput","beforeinput",null,i,ot),ct.push({event:Nt,listeners:ue}),Nt.data=ae)),Pf(ct,n,F,i,ot)}vb(ct,l)})}function td(n,l,i){return{instance:n,listener:l,currentTarget:i}}function ed(n,l){for(var i=l+"Capture",r=[];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&&r.unshift(td(n,p,m)),p=Yn(n,l),p!=null&&r.push(td(n,p,m))),n.tag===3)return r;n=n.return}return[]}function bb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Sp(n,l,i,r,p){for(var m=l._reactName,E=[];i!==null&&i!==r;){var O=i,H=O.alternate,F=O.stateNode;if(O=O.tag,H!==null&&H===r)break;O!==5&&O!==26&&O!==27||F===null||(H=F,p?(F=Yn(i,m),F!=null&&E.unshift(td(i,F,H))):p||(F=Yn(i,m),F!=null&&E.push(td(i,F,H)))),i=i.return}E.length!==0&&n.push({event:l,listeners:E})}var Sb=/\r\n?/g,Ty=/\u0000|\uFFFD/g;function Ey(n){return(typeof n=="string"?n:""+n).replace(Sb,`
|
|
30
|
+
`).replace(Ty,"")}function wy(n,l){return l=Ey(l),Ey(n)===l}function Ge(n,l,i,r,p,m){switch(i){case"children":typeof r=="string"?l==="body"||l==="textarea"&&r===""||Di(n,r):(typeof r=="number"||typeof r=="bigint")&&l!=="body"&&Di(n,""+r);break;case"className":eh(n,"class",r);break;case"tabIndex":eh(n,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":eh(n,i,r);break;case"style":dv(n,r,m);break;case"data":if(l!=="object"){eh(n,"data",r);break}case"src":case"href":if(r===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(i);break}r=Rl(""+r),n.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="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(r==null||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(i);break}r=Rl(""+r),n.setAttribute(i,r);break;case"onClick":r!=null&&(n.onclick=Ql);break;case"onScroll":r!=null&&ge("scroll",n);break;case"onScrollEnd":r!=null&&ge("scrollend",n);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"multiple":n.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":n.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){n.removeAttribute("xlink:href");break}i=Rl(""+r),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":r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,""+r):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":r&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":r===!0?n.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,r):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?n.setAttribute(i,r):n.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?n.removeAttribute(i):n.setAttribute(i,r);break;case"popover":ge("beforetoggle",n),ge("toggle",n),dr(n,"popover",r);break;case"xlinkActuate":yo(n,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":yo(n,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":yo(n,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":yo(n,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":yo(n,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":yo(n,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":yo(n,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":yo(n,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":yo(n,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":dr(n,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=o2.get(i)||i,dr(n,i,r))}}function xy(n,l,i,r,p,m){switch(i){case"style":dv(n,r,m);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));n.innerHTML=i}}break;case"children":typeof r=="string"?Di(n,r):(typeof r=="number"||typeof r=="bigint")&&Di(n,""+r);break;case"onScroll":r!=null&&ge("scroll",n);break;case"onScrollEnd":r!=null&&ge("scrollend",n);break;case"onClick":r!=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 r=="function")){typeof m!="function"&&m!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,r,p);break t}i in n?n[i]=r:r===!0?n.setAttribute(i,""):dr(n,i,r)}}}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 r=!1,p=!1,m;for(m in i)if(i.hasOwnProperty(m)){var E=i[m];if(E!=null)switch(m){case"src":r=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Ge(n,l,m,E,i,null)}}p&&Ge(n,l,"srcSet",i.srcSet,i,null),r&&Ge(n,l,"src",i.src,i,null);return;case"input":ge("invalid",n);var O=m=E=p=null,H=null,F=null;for(r in i)if(i.hasOwnProperty(r)){var ot=i[r];if(ot!=null)switch(r){case"name":p=ot;break;case"type":E=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,r,ot,i,null)}}Wc(n,m,O,H,F,E,p,!1);return;case"select":ge("invalid",n),r=E=m=null;for(p in i)if(i.hasOwnProperty(p)&&(O=i[p],O!=null))switch(p){case"value":m=O;break;case"defaultValue":E=O;break;case"multiple":r=O;default:Ge(n,l,p,O,i,null)}l=m,i=E,n.multiple=!!r,l!=null?hr(n,!!r,l,!1):i!=null&&hr(n,!!r,i,!0);return;case"textarea":ge("invalid",n),m=p=r=null;for(E in i)if(i.hasOwnProperty(E)&&(O=i[E],O!=null))switch(E){case"value":r=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,E,O,i,null)}Xm(n,r,p,m);return;case"option":for(H in i)i.hasOwnProperty(H)&&(r=i[H],r!=null)&&(H==="selected"?n.selected=r&&typeof r!="function"&&typeof r!="symbol":Ge(n,l,H,r,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(r=0;r<ec.length;r++)ge(ec[r],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)&&(r=i[F],r!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Ge(n,l,F,r,i,null)}return;default:if(Qm(l)){for(ot in i)i.hasOwnProperty(ot)&&(r=i[ot],r!==void 0&&xy(n,l,ot,r,i,void 0));return}}for(O in i)i.hasOwnProperty(O)&&(r=i[O],r!=null&&Ge(n,l,O,r,i,null))}function Ay(n,l,i,r){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,E=null,O=null,H=null,F=null,ot=null;for(nt in i){var ct=i[nt];if(i.hasOwnProperty(nt)&&ct!=null)switch(nt){case"checked":break;case"value":break;case"defaultValue":H=ct;default:r.hasOwnProperty(nt)||Ge(n,l,nt,null,r,ct)}}for(var W in r){var nt=r[W];if(ct=i[W],r.hasOwnProperty(W)&&(nt!=null||ct!=null))switch(W){case"type":m=nt;break;case"name":p=nt;break;case"checked":F=nt;break;case"defaultChecked":ot=nt;break;case"value":E=nt;break;case"defaultValue":O=nt;break;case"children":case"dangerouslySetInnerHTML":if(nt!=null)throw Error(h(137,l));break;default:nt!==ct&&Ge(n,l,W,nt,r,ct)}}Fc(n,E,O,H,F,ot,m,p);return;case"select":nt=E=O=W=null;for(m in i)if(H=i[m],i.hasOwnProperty(m)&&H!=null)switch(m){case"value":break;case"multiple":nt=H;default:r.hasOwnProperty(m)||Ge(n,l,m,null,r,H)}for(p in r)if(m=r[p],H=i[p],r.hasOwnProperty(p)&&(m!=null||H!=null))switch(p){case"value":W=m;break;case"defaultValue":O=m;break;case"multiple":E=m;default:m!==H&&Ge(n,l,p,m,r,H)}l=O,i=E,r=nt,W!=null?hr(n,!!i,W,!1):!!r!=!!i&&(l!=null?hr(n,!!i,l,!0):hr(n,!!i,i?[]:"",!1));return;case"textarea":nt=W=null;for(O in i)if(p=i[O],i.hasOwnProperty(O)&&p!=null&&!r.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:Ge(n,l,O,null,r,p)}for(E in r)if(p=r[E],m=i[E],r.hasOwnProperty(E)&&(p!=null||m!=null))switch(E){case"value":W=p;break;case"defaultValue":nt=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(h(91));break;default:p!==m&&Ge(n,l,E,p,r,m)}Gm(n,W,nt);return;case"option":for(var Ct in i)W=i[Ct],i.hasOwnProperty(Ct)&&W!=null&&!r.hasOwnProperty(Ct)&&(Ct==="selected"?n.selected=!1:Ge(n,l,Ct,null,r,W));for(H in r)W=r[H],nt=i[H],r.hasOwnProperty(H)&&W!==nt&&(W!=null||nt!=null)&&(H==="selected"?n.selected=W&&typeof W!="function"&&typeof W!="symbol":Ge(n,l,H,W,r,nt));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&&!r.hasOwnProperty(Zt)&&Ge(n,l,Zt,null,r,W);for(F in r)if(W=r[F],nt=i[F],r.hasOwnProperty(F)&&W!==nt&&(W!=null||nt!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(h(137,l));break;default:Ge(n,l,F,W,r,nt)}return;default:if(Qm(l)){for(var Xe in i)W=i[Xe],i.hasOwnProperty(Xe)&&W!==void 0&&!r.hasOwnProperty(Xe)&&xy(n,l,Xe,void 0,r,W);for(ot in r)W=r[ot],nt=i[ot],!r.hasOwnProperty(ot)||W===nt||W===void 0&&nt===void 0||xy(n,l,ot,W,r,nt);return}}for(var X in i)W=i[X],i.hasOwnProperty(X)&&W!=null&&!r.hasOwnProperty(X)&&Ge(n,l,X,null,r,W);for(ct in r)W=r[ct],nt=i[ct],!r.hasOwnProperty(ct)||W===nt||W==null&&nt==null||Ge(n,l,ct,W,r,nt)}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 Ry(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var p=i[r],m=p.transferSize,E=p.initiatorType,O=p.duration;if(m&&O&&Tp(E)){for(E=0,O=p.responseEnd,r+=1;r<i.length;r++){var H=i[r],F=H.startTime;if(F>O)break;var ot=H.transferSize,ct=H.initiatorType;ot&&Tp(ct)&&(H=H.responseEnd,E+=ot*(H<O?1:(O-F)/(H-F)))}if(--r,l+=8*(m+E)/(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 Ep=null,wp=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 Dy(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 ac(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 xp=null;function m2(){var n=window.event;return n&&n.type==="popstate"?n===xp?!1:(xp=n,!0):(xp=null,!1)}var nd=typeof setTimeout=="function"?setTimeout:void 0,Eb=typeof clearTimeout=="function"?clearTimeout:void 0,_s=typeof Promise=="function"?Promise:void 0,wb=typeof queueMicrotask=="function"?queueMicrotask:typeof _s<"u"?function(n){return _s.resolve(null).then(n).catch(zy)}:nd;function zy(n){setTimeout(function(){throw n})}function ci(n){return n==="head"}function Cy(n,l){var i=l,r=0;do{var p=i.nextSibling;if(n.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(r===0){n.removeChild(p),mc(l);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")Us(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,Us(i);for(var m=i.firstChild;m;){var E=m.nextSibling,O=m.nodeName;m[Ai]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=E}}else i==="body"&&Us(n.ownerDocument.body);i=p}while(i);mc(l)}function xn(n,l){var i=n;n=0;do{var r=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||""),r&&r.nodeType===8)if(i=r.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=r}while(i)}function ad(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":ad(i),Pd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function g2(n,l,i,r){for(;n.nodeType===1;){var p=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!r&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(r){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 re(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 xb(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 Bl(n){return n.data==="$?"||n.data==="$~"}function _u(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function lc(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var r=function(){l(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),n._reactRetry=r}}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 ld=null;function Ap(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 ic(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 Us(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Pd(n)}var Za=new Map,id=new Set;function pa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var di=tt.d;tt.d={f:y2,r:Ab,D:et,C:je,L:v2,m:My,X:Lo,S:Oy,M:Uu};function y2(){var n=di.f(),l=Fr();return n||l}function Ab(n){var l=Ju(n);l!==null&&l.tag===5&&l.type==="form"?Ye(l):di.r(n)}var oc=typeof document>"u"?null:document;function Cn(n,l,i){var r=oc;if(r&&typeof l=="string"&&l){var p=nl(l);p='link[rel="'+n+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),id.has(p)||(id.add(p),n={rel:n,crossOrigin:i,href:l},r.querySelector(p)===null&&(l=r.createElement("link"),la(l,"link",n),Ne(l),r.head.appendChild(l)))}}function et(n){di.D(n),Cn("dns-prefetch",n,null)}function je(n,l){di.C(n,l),Cn("preconnect",n,l)}function v2(n,l,i){di.L(n,l,i);var r=oc;if(r&&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=js(n)}Za.has(m)||(n=R({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Za.set(m,n),r.querySelector(p)!==null||l==="style"&&r.querySelector(ju(m))||l==="script"&&r.querySelector(rc(m))||(l=r.createElement("link"),la(l,"link",n),Ne(l),r.head.appendChild(l)))}}function My(n,l){di.m(n,l);var i=oc;if(i&&n){var r=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+nl(r)+'"][href="'+nl(n)+'"]',m=p;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=js(n)}if(!Za.has(m)&&(n=R({rel:"modulepreload",href:n},l),Za.set(m,n),i.querySelector(p)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(rc(m)))return}r=i.createElement("link"),la(r,"link",n),Ne(r),i.head.appendChild(r)}}}function Oy(n,l,i){di.S(n,l,i);var r=oc;if(r&&n){var p=Ku(r).hoistableStyles,m=gl(n);l=l||"default";var E=p.get(m);if(!E){var O={loading:0,preload:null};if(E=r.querySelector(ju(m)))O.loading=5;else{n=R({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Za.get(m))&&Rp(n,i);var H=E=r.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,od(E,l,r)}E={type:"stylesheet",instance:E,count:1,state:O},p.set(m,E)}}}function Lo(n,l){di.X(n,l);var i=oc;if(i&&n){var r=Ku(i).hoistableScripts,p=js(n),m=r.get(p);m||(m=i.querySelector(rc(p)),m||(n=R({src:n,async:!0},l),(l=Za.get(p))&&Dp(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},r.set(p,m))}}function Uu(n,l){di.M(n,l);var i=oc;if(i&&n){var r=Ku(i).hoistableScripts,p=js(n),m=r.get(p);m||(m=i.querySelector(rc(p)),m||(n=R({src:n,async:!0,type:"module"},l),(l=Za.get(p))&&Dp(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},r.set(p,m))}}function uc(n,l,i,r){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=Ku(p).hoistableStyles,r=i.get(l),r||(r={type:"style",instance:null,count:0,state:null},i.set(l,r)),r):{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=Ku(p).hoistableStyles,E=m.get(n);if(E||(p=p.ownerDocument||p,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(n,E),(m=p.querySelector(ju(n)))&&!m._p&&(E.instance=m,E.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||Rb(p,n,i,E.state))),l&&r===null)throw Error(h(528,""));return E}if(l&&r!==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=js(i),i=Ku(p).hoistableScripts,r=i.get(l),r||(r={type:"script",instance:null,count:0,state:null},i.set(l,r)),r):{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 Rb(n,l,i,r){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?r.loading=1:(l=n.createElement("link"),r.preload=l,l.addEventListener("load",function(){return r.loading|=1}),l.addEventListener("error",function(){return r.loading|=2}),la(l,"link",i),Ne(l),n.head.appendChild(l))}function js(n){return'[src="'+nl(n)+'"]'}function rc(n){return"script[async]"+n}function _y(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var r=n.querySelector('style[data-href~="'+nl(i.href)+'"]');if(r)return l.instance=r,Ne(r),r;var p=R({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(n.ownerDocument||n).createElement("style"),Ne(r),la(r,"style",p),od(r,i.precedence,n),l.instance=r;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;r=sc(i),(p=Za.get(p))&&Rp(r,p),m=(n.ownerDocument||n).createElement("link"),Ne(m);var E=m;return E._p=new Promise(function(O,H){E.onload=O,E.onerror=H}),la(m,"link",r),l.state.loading|=4,od(m,i.precedence,n),l.instance=m;case"script":return m=js(i.src),(p=n.querySelector(rc(m)))?(l.instance=p,Ne(p),p):(r=i,(p=Za.get(m))&&(r=R({},i),Dp(r,p)),n=n.ownerDocument||n,p=n.createElement("script"),Ne(p),la(p,"link",r),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&&(r=l.instance,l.state.loading|=4,od(r,i.precedence,n));return l.instance}function od(n,l,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=r.length?r[r.length-1]:null,m=p,E=0;E<r.length;E++){var O=r[E];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 Rp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function Dp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var cc=null;function Uy(n,l,i){if(cc===null){var r=new Map,p=cc=new Map;p.set(i,r)}else p=cc,r=p.get(i),r||(r=new Map,p.set(i,r));if(r.has(n))return r;for(r.set(n,null),i=i.getElementsByTagName(n),p=0;p<i.length;p++){var m=i[p];if(!(m[Ai]||m[ke]||n==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var E=m.getAttribute(l)||"";E=n+E;var O=r.get(E);O?O.push(m):r.set(E,[m])}}return r}function zp(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function jy(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 Ja(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Pi(n,l,i,r){if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=gl(r.href),m=l.querySelector(ju(p));if(m){l=m._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=Cp.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=m,Ne(m);return}m=l.ownerDocument||l,r=sc(r),(p=Za.get(p))&&Rp(r,p),m=m.createElement("link"),Ne(m);var E=m;E._p=new Promise(function(O,H){E.onload=O,E.onerror=H}),la(m,"link",r),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=Cp.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var yl=0;function Ny(n,l){return n.stylesheets&&n.count===0&&Op(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var r=setTimeout(function(){if(n.stylesheets&&Op(n,n.stylesheets),n.unsuspend){var m=n.unsuspend;n.unsuspend=null,m()}},6e4+l);0<n.imgBytes&&yl===0&&(yl=62500*Ry());var p=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Op(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(r),clearTimeout(p)}}:null}function Cp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Op(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Mp=null;function Op(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Mp=new Map,l.forEach(Kn,n),Mp=null,Cp.call(n))}function Kn(n,l){if(!(l.state.loading&4)){var i=Mp.get(n);if(i)var r=i.get(null);else{i=new Map,Mp.set(n,i);for(var p=n.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<p.length;m++){var E=p[m];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(i.set(E.dataset.precedence,E),r=E)}r&&i.set(null,r)}p=l.instance,E=p.getAttribute("data-precedence"),m=i.get(E)||r,m===r&&i.set(null,p),i.set(E,p),this.count++,r=Cp.bind(this),p.addEventListener("load",r),p.addEventListener("error",r),m?m.parentNode.insertBefore(p,m.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(p,n.firstChild)),l.state.loading|=4}}var ud={$$typeof:pt,Provider:null,Consumer:null,_currentValue:ht,_currentValue2:ht,_threadCount:0};function Hy(n,l,i,r,p,m,E,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=Al(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Al(0),this.hiddenUpdates=Al(null),this.identifierPrefix=r,this.onUncaughtError=p,this.onCaughtError=m,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map}function _p(n,l,i,r,p,m,E,O,H,F,ot,ct){return n=new Hy(n,l,i,E,H,F,ot,ct,O),l=1,m===!0&&(l|=24),m=hn(3,null,null,l),n.current=m,m.stateNode=n,l=mf(),l.refCount++,n.pooledCache=l,l.refCount++,m.memoizedState={element:r,isDehydrated:i,cache:l},Ef(m),n}function Ns(n){return n?(n=wa,n):wa}function Db(n,l,i,r,p,m){p=Ns(p),r.context===null?r.context=p:r.pendingContext=p,r=zo(l),r.payload={element:i},m=m===void 0?null:m,m!==null&&(r.callback=m),i=rl(n,r,l),i!==null&&(Ua(i,n,l),vu(i,n,l))}function Up(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function By(n,l){Up(n,l),(n=n.alternate)&&Up(n,l)}function zb(n){if(n.tag===13||n.tag===31){var l=To(n,67108864);l!==null&&Ua(l,n,67108864),By(n,67108864)}}function Hs(n){if(n.tag===13||n.tag===31){var l=Qa();l=$d(l);var i=To(n,l);i!==null&&Ua(i,n,l),By(n,l)}}var Nn=!0;function Ii(n,l,i,r){var p=k.T;k.T=null;var m=tt.p;try{tt.p=2,ia(n,l,i,r)}finally{tt.p=m,k.T=p}}function to(n,l,i,r){var p=k.T;k.T=null;var m=tt.p;try{tt.p=8,ia(n,l,i,r)}finally{tt.p=m,k.T=p}}function ia(n,l,i,r){if(Nn){var p=Ly(r);if(p===null)Sy(n,l,r,jp,i),Vo(n,r);else if(b2(p,n,l,i,r))r.stopPropagation();else if(Vo(n,r),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 E=Jt(m.pendingLanes);if(E!==0){var O=m;for(O.pendingLanes|=2,O.entangledLanes|=2;E;){var H=1<<31-kn(E);O.entanglements[1]|=H,E&=~H}Wi(m),(Me&6)===0&&(Ue=Rn()+500,Bo(0))}}break;case 31:case 13:O=To(m,2),O!==null&&Ua(O,m,2),Fr(),By(m,2)}if(m=Ly(r),m===null&&Sy(n,l,r,jp,i),m===p)break;p=m}p!==null&&r.stopPropagation()}else Sy(n,l,r,null,i)}}function Ly(n){return n=ih(n),fc(n)}var jp=null;function fc(n){if(jp=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=T(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 jp=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 ir:return 2;case or:return 8;case Gl:case Kd:return 32;case ur:return 268435456;default:return 32}default:return 32}}var dc=!1,Hn=null,oa=null,ma=null,Nu=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":Nu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ll.delete(l.pointerId)}}function Bs(n,l,i,r,p,m){return n===null||n.nativeEvent!==m?(n={blockedOn:l,domEventName:i,eventSystemFlags:r,nativeEvent:m,targetContainers:[p]},l!==null&&(l=Ju(l),l!==null&&zb(l)),n):(n.eventSystemFlags|=r,l=n.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),n)}function b2(n,l,i,r,p){switch(l){case"focusin":return Hn=Bs(Hn,n,l,i,r,p),!0;case"dragenter":return oa=Bs(oa,n,l,i,r,p),!0;case"mouseover":return ma=Bs(ma,n,l,i,r,p),!0;case"pointerover":var m=p.pointerId;return Nu.set(m,Bs(Nu.get(m)||null,n,l,i,r,p)),!0;case"gotpointercapture":return m=p.pointerId,Ll.set(m,Bs(Ll.get(m)||null,n,l,i,r,p)),!0}return!1}function Cb(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,Lm(n.priority,function(){Hs(i)});return}}else if(l===31){if(l=T(i),l!==null){n.blockedOn=l,Lm(n.priority,function(){Hs(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 rd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=Ly(n.nativeEvent);if(i===null){i=n.nativeEvent;var r=new i.constructor(i.type,i);lh=r,i.target.dispatchEvent(r),lh=null}else return l=Ju(i),l!==null&&zb(l),n.blockedOn=i,!1;l.shift()}return!0}function hc(n,l,i){rd(n)&&i.delete(l)}function Mb(){dc=!1,Hn!==null&&rd(Hn)&&(Hn=null),oa!==null&&rd(oa)&&(oa=null),ma!==null&&rd(ma)&&(ma=null),Nu.forEach(hc),Ll.forEach(hc)}function eo(n,l){n.blockedOn===l&&(n.blockedOn=null,dc||(dc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Mb)))}var pc=null;function Ob(n){pc!==n&&(pc=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){pc===n&&(pc=null);for(var l=0;l<n.length;l+=3){var i=n[l],r=n[l+1],p=n[l+2];if(typeof r!="function"){if(fc(r||i)===null)continue;break}var m=Ju(i);m!==null&&(n.splice(l,3),l-=3,Br(m,{pending:!0,data:p,method:i.method,action:r},r,p))}}))}function mc(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),Ll.forEach(l);for(var i=0;i<an.length;i++){var r=an[i];r.blockedOn===n&&(r.blockedOn=null)}for(;0<an.length&&(i=an[0],i.blockedOn===null);)Cb(i),i.blockedOn===null&&an.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var p=i[r],m=i[r+1],E=p[Sa]||null;if(typeof m=="function")E||Ob(i);else if(E){var O=null;if(m&&m.hasAttribute("formAction")){if(p=m,E=m[Sa]||null)O=E.formAction;else if(fc(p)!==null)continue}else O=E.action;typeof O=="function"?i[r+1]=O:(i.splice(r,3),r-=3),Ob(i)}}}function Vy(){function n(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(E){return p=E})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),r||setTimeout(i,20)}function i(){if(!r&&!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 r=!1,p=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function Np(n){this._internalRoot=n}Hp.prototype.render=Np.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(h(409));var i=l.current,r=Qa();Db(i,r,n,l,null,null)},Hp.prototype.unmount=Np.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Db(n.current,2,null,n,null,null),Fr(),l[eu]=null}};function Hp(n){this._internalRoot=n}Hp.prototype.unstable_scheduleHydration=function(n){if(n){var l=Fd();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&&Cb(n)}};var ky=s.version;if(ky!=="19.2.3")throw Error(h(527,ky,"19.2.3"));tt.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 _b={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cd.isDisabled&&cd.supportsFiber)try{xl=cd.inject(_b),On=cd}catch{}}return ym.createRoot=function(n,l){if(!y(n))throw Error(h(299));var i=!1,r="",p=Jh,m=Yg,E=Kh;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(r=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(m=l.onCaughtError),l.onRecoverableError!==void 0&&(E=l.onRecoverableError)),l=_p(n,1,!1,null,null,i,r,null,p,m,E,Vy),n[eu]=l.current,nc(n),new Np(l)},ym.hydrateRoot=function(n,l,i){if(!y(n))throw Error(h(299));var r=!1,p="",m=Jh,E=Yg,O=Kh,H=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(E=i.onCaughtError),i.onRecoverableError!==void 0&&(O=i.onRecoverableError),i.formState!==void 0&&(H=i.formState)),l=_p(n,1,!0,l,i??null,r,p,H,m,E,O,Vy),l.context=Ns(null),i=l.current,r=Qa(),r=$d(r),p=zo(r),p.callback=null,rl(i,p,r),i=r,l.current.lanes=i,tu(l,i),Wi(l),n[eu]=l.current,nc(n),new Hp(l)},ym.version="19.2.3",ym}var vm={};var XT;function VD(){return XT||(XT=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 s(t,e,a,o){if(a>=e.length)return o;var c=e[a],f=Cn(t)?t.slice():re({},t);return f[c]=s(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=Cn(t)?t.slice():re({},t);return o+1===e.length?(f[a[o]]=f[c],Cn(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=Cn(t)?t.slice():re({},t);return a+1===e.length?(Cn(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 T(){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 C(t,e,a,o){return new f2(t,e,a,o)}function V(t,e){t.context===bc&&(Sp(t.current,2,e,t,null,null),pl())}function lt(t,e){if(lo!==null){var a=e.staleFamilies;e=e.updatedFamilies,Yf(),wv(t.current,e,a),pl()}}function dt(t){lo=t}function it(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 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 pt(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 Ot(t){if(st(t)!==t)throw Error("Unable to find node on an unmounted component.")}function xt(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 Ot(c),t;if(f===o)return Ot(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 Yt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Yt(t),e!==null)return e;t=t.sibling}return null}function Tt(t){return t===null||typeof t!="object"?null:(t=Ab&&t[Ab]||t["@@iterator"],typeof t=="function"?t:null)}function Q(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===oc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case lc:return"Fragment";case ld:return"Profiler";case ja:return"StrictMode";case Us: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 Ap:return(t._context.displayName||"Context")+".Consumer";case ic:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case id:return e=t.displayName||null,e!==null?e:Q(t.type)||"Memo";case pa:e=t._payload,t=t._init;try{return Q(t(e))}catch{}}return null}function vt(t){return typeof t.tag=="number"?J(t):typeof t.name=="string"?t.name:null}function J(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 Q(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 J(t.return)}return null}function qt(t){return{current:t}}function wt(t,e){0>Lo?console.error("Unexpected pop."):(e!==Oy[Lo]&&console.error("Unexpected Fiber popped."),t.current=My[Lo],My[Lo]=null,Oy[Lo]=null,Lo--)}function Lt(t,e,a){Lo++,My[Lo]=t.current,Oy[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){Lt(gl,e,t),Lt(uc,t,t),Lt(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)?Pv(e):Ws;break;default:if(a=e.tagName,e=e.namespaceURI)e=Pv(e),e=No(e,a);else switch(a){case"svg":e=dm;break;case"math":e=w1;break;default:e=Ws}}a=a.toLowerCase(),a=qm(null,a),a={context:e,ancestorInfo:a},wt(Uu,t),Lt(Uu,a,t)}function k(t){wt(Uu,t),wt(uc,t),wt(gl,t)}function tt(){return be(Uu.current)}function ht(t){t.memoizedState!==null&&Lt(ju,t,t);var e=be(Uu.current),a=t.type,o=No(e.context,a);a=qm(e.ancestorInfo,a),o={context:o,ancestorInfo:a},e!==o&&(Lt(uc,t,t),Lt(Uu,o,t))}function zt(t){uc.current===t&&(wt(Uu,t),wt(uc,t)),ju.current===t&&(wt(ju,t),C0._currentValue=Ud)}function Ht(){}function _(){if(sc===0){Rb=console.log,js=console.info,rc=console.warn,_y=console.error,od=console.group,Rp=console.groupCollapsed,Dp=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:re({},t,{value:Rb}),info:re({},t,{value:js}),warn:re({},t,{value:rc}),error:re({},t,{value:_y}),group:re({},t,{value:od}),groupCollapsed:re({},t,{value:Rp}),groupEnd:re({},t,{value:Dp})})}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
|
|
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 mt(t){if(cc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);cc=e&&e[1]||"",
|
|
33
|
+
`,e)),e!==-1)t=t.slice(0,e);else return"";return t}function mt(t){if(cc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);cc=e&&e[1]||"",Uy=-1<a.stack.indexOf(`
|
|
34
34
|
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
35
|
-
`+cc+t+
|
|
36
|
-
`),L=
|
|
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
|
|
38
|
-
`+D[f].replace(" at new "," at ");return t.displayName&&
|
|
39
|
-
`),j=
|
|
40
|
-
`+j;break t}}
|
|
35
|
+
`+cc+t+Uy}function Vt(t,e){if(!t||zp)return"";var a=jy.get(t);if(a!==void 0)return a;zp=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=et.H,et.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(Et){var P=Et}Reflect.construct(t,[],j)}else{try{j.call()}catch(Et){P=Et}t.call(j.prototype)}}else{try{throw Error()}catch(Et){P=Et}(j=t())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(Et){if(Et&&P&&typeof Et.stack=="string")return[Et.stack,P.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],x=g[1];if(v&&x){var D=v.split(`
|
|
36
|
+
`),L=x.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"&&jy.set(t,q),q}while(1<=f&&0<=g);break}}}finally{zp=!1,et.H=o,$(),Error.prepareStackTrace=a}return D=(D=t?t.displayName||t.name:"")?mt(D):"",typeof t=="function"&&jy.set(t,D),D}function ee(t,e){switch(t.tag){case 26:case 27:case 5:return mt(t.type);case 16:return mt("Lazy");case 13:return t.child!==e&&e!==null?mt("Suspense Fallback"):mt("Suspense");case 19:return mt("SuspenseList");case 0:case 15:return Vt(t.type,!1);case 11:return Vt(t.type.render,!1);case 1:return Vt(t.type,!0);case 31:return mt("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,x=f.env,D=f.debugLocation;if(D!=null){var L=gt(D),q=L.lastIndexOf(`
|
|
39
|
+
`),j=q===-1?L:L.slice(q+1);if(j.indexOf(v)!==-1){var P=`
|
|
40
|
+
`+j;break t}}P=mt(v+(x?" ["+x+"]":""))}e=g+P}}a=t,t=t.return}while(t);return e}catch(Et){return`
|
|
41
41
|
Error generating stack: `+Et.message+`
|
|
42
|
-
`+Et.stack}}function We(t){return(t=t?t.displayName||t.name:"")?mt(t):""}function
|
|
42
|
+
`+Et.stack}}function We(t){return(t=t?t.displayName||t.name:"")?mt(t):""}function ze(){if(Ja===null)return null;var t=Ja._debugOwner;return t!=null?vt(t):null}function Wa(){if(Ja===null)return"";var t=Ja;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=mt(t.type);break;case 13:e+=mt("Suspense");break;case 19:e+=mt("SuspenseList");break;case 31:e+=mt("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=gt(o);c!==""&&(e+=`
|
|
43
43
|
`+c)}}else if(t.debugStack!=null){var f=t.debugStack;(t=t.owner)&&f&&(e+=`
|
|
44
44
|
`+gt(f))}else break;var g=e}catch(v){g=`
|
|
45
45
|
Error generating stack: `+v.message+`
|
|
46
|
-
`+v.stack}return g}function At(t,e,a,o,c,f,g){var v=Ja;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){tt.getCurrentStack=t===null?null:Wa,Wi=!1,Ja=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 Re(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 ra(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 Zc(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{Hs=e.inject(t),Nn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function Ot(t){if(typeof B0=="function"&&Rb(t),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(Hs,t)}catch(e){Pi||(Pi=!0,console.error("React instrumentation encountered an error: %o",e))}}function Po(t){return t>>>=0,t===0?32:31-(L0(t)/jp|0)|0}function Ei(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=Ei(o):(g&=v,g!==0?c=Ei(g):a||(a=v&~t,a!==0&&(c=Ei(a))))):(v=o&~f,v!==0?c=Ei(v):g!==0?c=Ei(g):a||(a=o&~t,a!==0&&(c=Ei(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 ir(){var t=dc;return dc<<=1,(dc&62914560)===0&&(dc=4194304),t}function or(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function ql(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Kd(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,w=t.expirationTimes,D=t.hiddenUpdates;for(a=g&~a;0<a;){var L=31-ia(a),Y=1<<L;v[L]=0,w[L]=-1;var j=D[L];if(j!==null)for(D[L]=null,L=0;L<j.length;L++){var W=j[L];W!==null&&(W.lane&=-536870913)}a&=~Y}o!==0&&ur(t,o,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(g&~e))}function ur(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:xl(a),(a&(t.suspendedLanes|e))!==0?0:a}function xl(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(Ii)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(Ii)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 kn(t){return t&=-t,Hn<t?oa<t?(t&134217727)!==0?ma:Nu:oa:Hn}function Io(){var t=Oe.p;return t!==0?t:(t=window.event,t===void 0?ma:Ep(t.type))}function z(t,e){var a=Oe.p;try{return Oe.p=t,e()}finally{Oe.p=a}}function G(t){delete t[an],delete t[Na],delete t[Bs],delete t[v2],delete t[Db]}function yt(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=zs(t);t!==null;){if(a=t[an])return a;t=zs(t)}return e}t=a,a=t.parentNode}return null}function bt(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 _t(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Qt(t){var e=t[rd];return e||(e=t[rd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function jt(t){t[hc]=!0}function he(t,e){ee(t,e),ee(t+"Capture",e)}function ee(t,e){to[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),to[t]=e;var a=t.toLowerCase();for(pc[a]=t,t==="onDoubleClick"&&(pc.ondblclick=t),t=0;t<e.length;t++)Cb.add(e[t])}function ca(t,e){zb[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 Al(t){return yl.call(Np,t)?!0:yl.call(V0,t)?!1:mc.test(t)?Np[t]=!0:(V0[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function tu(t,e,a){if(Al(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:(Re(a,e),t===""+a?a:t)}}function sr(t,e,a){if(Al(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}}Re(a,e),t.setAttribute(e,""+a)}}function Kc(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}Re(a,e),t.setAttribute(e,""+a)}}function wi(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}Re(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 $d(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Bm(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 Fd(t){if(!t._valueTracker){var e=$d(t)?"checked":"value";t._valueTracker=Bm(t,e,""+t[e])}}function Lm(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),o="";return t&&(o=$d(t)?t.checked?"true":"false":t.value),t=o,t!==a?(e.setValue(t),!0):!1}function Gl(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(Hp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Sa(t,e){e.checked===void 0||e.defaultChecked===void 0||Mb||(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",Ae()||"A component",e.type),Mb=!0),e.value===void 0||e.defaultValue===void 0||k0||(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",Ae()||"A component",e.type),k0=!0)}function eu(t,e,a,o,c,f,g,v){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(Re(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"?(Re(v,"name"),t.name=""+tl(v)):t.removeAttribute("name")}function Wd(t,e,a,o,c,f,g,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(Re(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){Fd(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"&&(Re(g,"name"),t.name=g),Fd(t)}function Vm(t,e,a){e==="number"&&Gl(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function uv(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?ad.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||cd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),cd=!0)}function km(){var t=Ae();return t?`
|
|
46
|
+
`+v.stack}return g}function Rt(t,e,a,o,c,f,g){var v=Ja;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){et.getCurrentStack=t===null?null:Wa,Pi=!1,Ja=t}function Wo(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function Pa(t){try{return Ei(t),!1}catch{return!0}}function Ei(t){return""+t}function Ce(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)),Ei(t)}function ra(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)),Ei(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)),Ei(t)}function Zc(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{Hs=e.inject(t),Nn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function _t(t){if(typeof By=="function"&&zb(t),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(Hs,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-(Ly(t)/jp|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 ir(){var t=dc;return dc<<=1,(dc&62914560)===0&&(dc=4194304),t}function or(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 Kd(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,x=t.expirationTimes,D=t.hiddenUpdates;for(a=g&~a;0<a;){var L=31-ia(a),q=1<<L;v[L]=0,x[L]=-1;var j=D[L];if(j!==null)for(D[L]=null,L=0;L<j.length;L++){var P=j[L];P!==null&&(P.lane&=-536870913)}a&=~q}o!==0&&ur(t,o,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(g&~e))}function ur(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:xl(a),(a&(t.suspendedLanes|e))!==0?0:a}function xl(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 kn(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:Ep(t.type))}function z(t,e){var a=je.p;try{return je.p=t,e()}finally{je.p=a}}function G(t){delete t[an],delete t[Na],delete t[Bs],delete t[b2],delete t[Cb]}function yt(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=Cs(t);t!==null;){if(a=t[an])return a;t=Cs(t)}return e}t=a,a=t.parentNode}return null}function St(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 Ut(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Jt(t){var e=t[rd];return e||(e=t[rd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function jt(t){t[hc]=!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(pc[a]=t,t==="onDoubleClick"&&(pc.ondblclick=t),t=0;t<e.length;t++)Mb.add(e[t])}function ca(t,e){Ob[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 Al(t){return yl.call(Np,t)?!0:yl.call(Vy,t)?!1:mc.test(t)?Np[t]=!0:(Vy[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function tu(t,e,a){if(Al(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:(Ce(a,e),t===""+a?a:t)}}function sr(t,e,a){if(Al(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}}Ce(a,e),t.setAttribute(e,""+a)}}function Kc(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}Ce(a,e),t.setAttribute(e,""+a)}}function xi(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}Ce(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 $d(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Bm(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 Fd(t){if(!t._valueTracker){var e=$d(t)?"checked":"value";t._valueTracker=Bm(t,e,""+t[e])}}function Lm(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),o="";return t&&(o=$d(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 ke(t){return t.replace(Hp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Sa(t,e){e.checked===void 0||e.defaultChecked===void 0||_b||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ze()||"A component",e.type),_b=!0),e.value===void 0||e.defaultValue===void 0||ky||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ze()||"A component",e.type),ky=!0)}function eu(t,e,a,o,c,f,g,v){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(Ce(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"?(Ce(v,"name"),t.name=""+tl(v)):t.removeAttribute("name")}function Wd(t,e,a,o,c,f,g,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(Ce(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){Fd(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"&&(Ce(g,"name"),t.name=g),Fd(t)}function Vm(t,e,a){e==="number"&&Xl(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function rv(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?ad.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||cd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),cd=!0)}function km(){var t=ze();return t?`
|
|
47
47
|
|
|
48
|
-
Check the render method of \``+t+"`.":""}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)),$u(a)+
|
|
50
|
-
`+nu(a)+
|
|
51
|
-
`}return
|
|
52
|
-
`}function th(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function cr(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(
|
|
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 Pd(t,e){for(t=0;t<r.length;t++){var a=r[t];if(e[a]!=null){var o=Cn(e[a]);e.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,km()):!e.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,km())}}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 Zu(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",ze()||"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 rr(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(Cn(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),Fd(t)}function Ku(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?Ku(t.children[0],e):t}function Ne(t){return" "+" ".repeat(t)}function $u(t){return"+ "+" ".repeat(t)}function nu(t){return"- "+" ".repeat(t)}function au(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 Id(t,e,a){var o=120-2*a;if(e===null)return $u(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)),$u(a)+Ri(t,o)+`
|
|
50
|
+
`+nu(a)+Ri(e,o)+`
|
|
51
|
+
`}return Ne(a)+Ri(t,o)+`
|
|
52
|
+
`}function th(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function cr(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(Cn(t))return"[...]";if(t.$$typeof===Bl)return(e=Q(t.type))?"<"+e+">":"<...>";var a=th(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=cr(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 fr(t,e){return typeof t!="string"||m.test(t)?"{"+cr(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function dr(t,e,a){var o=120-a.length-t.length,c=[],f;for(f in e)if(e.hasOwnProperty(f)&&f!=="children"){var g=fr(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(`
|
|
@@ -58,32 +58,32 @@ Check the render method of \``+t+"`.":""}function xi(t,e,a,o){if(t=t.options,e){
|
|
|
58
58
|
`}function eh(t,e,a){var o="",c=re({},e),f;for(f in t)if(t.hasOwnProperty(f)){delete c[f];var g=120-2*a-f.length-2,v=cr(t[f],g);e.hasOwnProperty(f)?(g=cr(e[f],g),o+=$u(a)+f+": "+v+`
|
|
59
59
|
`,o+=nu(a)+f+": "+g+`
|
|
60
60
|
`):o+=$u(a)+f+": "+v+`
|
|
61
|
-
`}for(var
|
|
62
|
-
`);return o}function yo(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+=dr(t,e,
|
|
63
|
-
`+eh(D,
|
|
61
|
+
`}for(var x in c)c.hasOwnProperty(x)&&(t=cr(c[x],120-2*a-x.length-2),o+=nu(a)+x+": "+t+`
|
|
62
|
+
`);return o}function yo(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+=dr(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,x=f.get(g.toLowerCase());if(x!==void 0){f.delete(g.toLowerCase());var D=e[g];x=a[x];var L=fr(D,v);v=fr(x,v),typeof D=="object"&&D!==null&&typeof x=="object"&&x!==null&&th(D)==="Object"&&th(x)==="Object"&&(2<Object.keys(D).length||2<Object.keys(x).length||-1<L.indexOf("...")||-1<v.indexOf("..."))?c+=Ne(o+1)+g+`={{
|
|
63
|
+
`+eh(D,x,o+2)+Ne(o+1)+`}}
|
|
64
64
|
`:(c+=$u(o+1)+g+"="+L+`
|
|
65
65
|
`,c+=nu(o+1)+g+"="+v+`
|
|
66
|
-
`)}else c+=
|
|
67
|
-
`}f.forEach(function(
|
|
68
|
-
`}}),c=c===""?
|
|
69
|
-
`:
|
|
70
|
-
`+c+
|
|
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+=Id(f,""+t,o+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(c=t==null?c+Id(""+e,null,o+1):c+Id(""+e,void 0,o+1)),c}function el(t,e){var a=au(t);if(a===null){for(a="",t=t.child;t;)a+=el(t,e),t=t.sibling;return a}return
|
|
72
|
-
`}function nh(t,e){var a=Ku(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return
|
|
73
|
-
`+nh(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+=
|
|
74
|
-
`,e++)}if(o="",c=t.fiber.pendingProps,t.fiber.tag===6)o=Id(c,t.serverProps,e),e++;else if(f=au(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
|
|
75
|
-
`,e++}else t.serverProps===null?(o=dr(f,c,$u(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=yo(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+=nh(g,e),f++):D+=el(c,e),c=c.sibling;for(c&&0<t.children.length&&(D+=
|
|
76
|
-
`),c=t.serverTail,t.serverProps===null&&e--,t=0;t<c.length;t++)f=c[t],D=typeof f=="string"?D+(nu(e)+
|
|
66
|
+
`)}else c+=Ne(o+1)+g+"="+fr(e[g],v)+`
|
|
67
|
+
`}f.forEach(function(q){if(q!=="children"){var j=120-2*(o+1)-q.length-1;c+=nu(o+1)+q+"="+fr(a[q],j)+`
|
|
68
|
+
`}}),c=c===""?Ne(o)+"<"+t+`>
|
|
69
|
+
`:Ne(o)+"<"+t+`
|
|
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+=Id(f,""+t,o+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(c=t==null?c+Id(""+e,null,o+1):c+Id(""+e,void 0,o+1)),c}function el(t,e){var a=au(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 nh(t,e){var a=Ku(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return Ne(e)+`...
|
|
73
|
+
`+nh(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=Id(c,t.serverProps,e),e++;else if(f=au(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 x=fr(c[D],15);if(g-=D.length+x.length+2,0>g){v+=" ...";break}v+=" "+D+"="+x}o=Ne(o)+"<"+f+v+`>
|
|
75
|
+
`,e++}else t.serverProps===null?(o=dr(f,c,$u(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=yo(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+=nh(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+(nu(e)+Ri(f,120-2*e)+`
|
|
77
77
|
`):D+dr(f.type,f.props,nu(e));return a+o+D}function Ym(t){try{return`
|
|
78
78
|
|
|
79
|
-
`+nh(t,0)}catch{return""}}function ah(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?Ym(c).replaceAll(/^[+-]/gm,">"):""}function qm(t,e){var a=re({},t||
|
|
79
|
+
`+nh(t,0)}catch{return""}}function ah(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?Ym(c).replaceAll(/^[+-]/gm,">"):""}function qm(t,e){var a=re({},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),E.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 $c(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 F.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 i2(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 Fc(t,e){e=e||ot;var a=e.current;if(e=(a=$c(t,a&&a.tag,e.implicitRootScope)?null:a)?null:i2(t,e),e=a||e,!e)return!0;var o=e.tag;if(e=String(!!a)+"|"+t+"|"+o,ct[e])return!1;ct[e]=!0;var c=(e=Ja)?nl(e.return,o):null,f=e!==null&&c!==null?ah(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 Wc(t,e,a){if(a||$c("#text",e,!1))return!0;if(a="#text|"+e,
|
|
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||Rt(c,function(){console.error(`<%s> cannot contain a nested %s.
|
|
82
|
+
See this log for the ancestor stack trace.`,o,g)})),!1}function Wc(t,e,a){if(a||$c("#text",e,!1))return!0;if(a="#text|"+e,ct[a])return!1;ct[a]=!0;var o=(a=Ja)?nl(a,e):null;return a=a!==null&&o!==null?ah(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 hr(t){return t.replace(X,function(e,a){return a.toUpperCase()})}function Gm(t,e,a){var o=e.indexOf("--")===0;o||(-1<e.indexOf("-")?Z.hasOwnProperty(e)&&Z[e]||(Z[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,hr(e.replace(Ge,"ms-")))):Xt.test(e)?Z.hasOwnProperty(e)&&Z[e]||(Z[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!k.test(a)||ut.hasOwnProperty(a)&&ut[a]||(ut[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(k,""))),typeof a=="number"&&(isNaN(a)?Vt||(Vt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||we||(we=!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:(ra(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function Xm(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=F[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=F[v]||[v],f=0;f<c.length;f++)o[c[f]]=v;v={};for(var w in e)for(c=F[w]||[w],f=0;f<c.length;f++)v[c[f]]=w;w={};for(var D in o)if(c=o[D],(f=v[D])&&c!==f&&(g=c+","+f,!w[g])){w[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 Y in a)!a.hasOwnProperty(Y)||e!=null&&e.hasOwnProperty(Y)||(Y.indexOf("--")===0?t.setProperty(Y,""):Y==="float"?t.cssFloat="":t[Y]="");for(var j in e)D=e[j],e.hasOwnProperty(j)&&a[j]!==D&&Gm(t,j,D)}else for(o in e)e.hasOwnProperty(o)&&Gm(t,o,e[o])}function Ri(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 sv(t){return Ce.get(t)||t}function rv(t,e){if(yl.call(Bp,e)&&Bp[e])return!0;if(CO.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=Ob.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Bp[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Bp[e]=!0}if(DO.test(e)){if(t=e.toLowerCase(),t=Ob.hasOwnProperty(t)?t:null,t==null)return Bp[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Bp[e]=!0)}return!0}function cv(t,e){var a=[],o;for(o in e)rv(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 Qm(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(pA.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),vl[e]=!0}else if(pA.test(e))return zO.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),vl[e]=!0;if(MO.test(e)||OO.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(di.hasOwnProperty(c)){if(c=di[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 i2(t,e,a){var o=[],c;for(c in e)Qm(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 Pc(t){return _O.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Rl(){}function Xl(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function lh(t){var e=bt(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(Re(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&&Lm(o)}break t;case"textarea":Ju(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&xi(t,!!a.multiple,e,!1)}}}function ih(t,e,a){if(b2)return t(e,a);b2=!0;try{var o=t(e);return o}finally{if(b2=!1,(Lp!==null||Vp!==null)&&(pl(),Lp&&(e=Lp,t=Vp,Vp=Lp=null,lh(e),t)))for(e=0;e<t.length;e++)lh(t[e])}}function Di(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(_b)return _b;var t,e=T2,a=e.length,o,c="value"in gc?gc.value:gc.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 _b=c.slice(t,1<o?1-o:void 0)}function Ic(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 pr(){return!0}function Zm(){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)?pr:Zm,this.isPropagationStopped=Zm,this}return re(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=pr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=pr)},persist:function(){},isPersistent:pr}),e}function vo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=QO[t])?!!e[t]:!1}function tf(){return vo}function mr(t,e){switch(t){case"keyup":return a_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==vA;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!==SA?null:(EA=!0,TA);case"textInput":return t=e.data,t===TA&&EA?null:t;default:return null}}function oh(t,e){if(kp)return t==="compositionend"||!A2&&mr(t,e)?(t=Wu(),_b=T2=gc=null,kp=!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 bA&&e.locale!=="ko"?null:e.data;default:return null}}function Km(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!i_[t.type]:e==="textarea"}function uh(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 ef(t,e,a,o){Lp?Vp?Vp.push(o):Vp=[o]:Lp=o,e=ui(e,"onChange"),0<e.length&&(a=new Ub("onChange","change",null,a,o),t.push({event:a,listeners:e}))}function fv(t){He(t,0)}function aa(t){var e=_t(t);if(Lm(e))return t}function lu(t,e){if(t==="change")return e}function nf(){Z0&&(Z0.detachEvent("onpropertychange",gr),J0=Z0=null)}function gr(t){if(t.propertyName==="value"&&aa(J0)){var e=[];ef(e,J0,t,Xl(t)),ih(fv,e)}}function o2(t,e,a){t==="focusin"?(nf(),Z0=e,J0=a,Z0.attachEvent("onpropertychange",gr)):t==="focusout"&&nf()}function $m(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return aa(J0)}function Fm(t,e){if(t==="click")return aa(e)}function af(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 yr(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 dv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hv(t,e){var a=dv(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=dv(a)}}function pv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?pv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function rh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Gl(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=Gl(t.document)}return e}function Wm(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 mv(t,e,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;D2||Yp==null||Yp!==Gl(o)||(o=Yp,"selectionStart"in o&&Wm(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}),K0&&yr(K0,o)||(K0=o,o=ui(R2,"onSelect"),0<o.length&&(e=new Ub("onSelect","select",null,e,a),t.push({event:e,listeners:o}),e.target=Yp)))}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(C2[t])return C2[t];if(!qp[t])return t;var e=qp[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in xA)return C2[t]=e[a];return t}function Ql(t,e){zA.set(t,e),he(e,[t])}function gv(t){for(var e=Nb,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!==Nb&&e!==U2)return O2;e=U2}else return O2;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||e!==Nb&&e!==_2)return O2;e=_2}}return e}function Pm(t,e,a,o){for(var c in t)yl.call(t,c)&&c[0]!=="_"&&Ci(c,t[c],e,a,o)}function Ci(t,e,a,o,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Bl){var f=Q(e.type)||"…",g=e.key;e=e.props;var v=Object.keys(e),w=v.length;if(g==null&&w===0){e="<"+f+" />";break}if(3>o||w===1&&v[0]==="children"&&g==null){e="<"+f+" … />";break}a.push([c+" ".repeat(o)+t,"<"+f]),g!==null&&Ci("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]!=="_"&&Ci(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=gv(e),D===_2||D===Nb){e=JSON.stringify(e);break}else if(D===U2){for(a.push([c+" ".repeat(o)+t,""]),t=0;t<e.length;t++)f=e[t],Ci(f[0],f[1],a,o+1,c);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,Ci(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,Ci(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&&Pm(e,a,o+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===d_?"…":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 yv(t,e,a,o){var c=!0;for(g in t)g in e||(a.push([Hb+" ".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([Hb+c,"…"],[Bb+c,"…"]);else{if(!(3<=o)){if(typeof g=="object"&&typeof v=="object"&&g!==null&&v!==null&&g.$$typeof===v.$$typeof)if(v.$$typeof===Bl){if(g.type===v.type&&g.key===v.key){g=Q(v.type)||"…",c=" ".repeat(o)+f,g="<"+g+" … />",a.push([Hb+c,g],[Bb+c,g]),c=!1;continue}}else{var w=Object.prototype.toString.call(g),D=Object.prototype.toString.call(v);if(w===D&&(D==="[object Object]"||D==="[object Array]")){w=[_A+" ".repeat(o)+f,D==="[object Array]"?"Array":""],a.push(w),D=a.length,yv(g,v,a,o+1)?D===a.length&&(w[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&&(w=Function.prototype.toString.call(g),D=Function.prototype.toString.call(v),w===D)){g=v.name===""?"() => {}":v.name+"() {}",a.push([_A+" ".repeat(o)+f,g+" Referentially unequal function closure. Consider memoization."]);continue}}Ci(f,g,a,o,Hb),Ci(f,v,a,o,Bb)}c=!1}}else a.push([Bb+" ".repeat(o)+f,"…"]),c=!1;return c}function Zl(t){Ee=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Dl(t,e,a,o){ln&&(vc.start=e,vc.end=a,Ls.color="warning",Ls.tooltipText=o,Ls.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,o,vc)):performance.measure(o,vc))}function ch(t,e,a){Dl(t,e,a,"Reconnect")}function fh(t,e,a,o,c){var f=ht(t);if(f!==null&&ln){var g=t.alternate,v=t.actualDuration;if(g===null||g.child!==t.child)for(var w=t.child;w!==null;w=w.sibling)v-=w.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?(w=[h_],D=yv(g.memoizedProps,D,w,0),1<w.length&&(D&&!yc&&(g.lanes&c)===0&&100<t.actualDuration?(yc=!0,w[0]=p_,Ls.color="warning",Ls.tooltipText=UA):(Ls.color=o,Ls.tooltipText=f),Ls.properties=w,vc.start=e,vc.end=a,v!=null?v.run(performance.measure.bind(performance,""+f,vc)):performance.measure(""+f,vc))):v!=null?v.run(console.timeStamp.bind(console,f,e,a,eo,void 0,o)):console.timeStamp(f,e,a,eo,void 0,o)}}function Im(t,e,a,o){if(ln){var c=ht(t);if(c!==null){for(var f=null,g=[],v=0;v<o.length;v++){var w=o[v];f==null&&w.source!==null&&(f=w.source._debugTask),w=w.value,g.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}t.key!==null&&Ci("key",t.key,g,0,""),t.memoizedProps!==null&&Pm(t.memoizedProps,g,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:eo,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=ht(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&&Ci("key",t.key,o,0,""),t.memoizedProps!==null&&Pm(t.memoizedProps,o,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:eo,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=ht(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,eo,void 0,c)):console.timeStamp(f,e,a,eo,void 0,c))}function u2(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,Se,c)):console.timeStamp(a,t,e,Ee,Se,c)}}function vv(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,Se,a)):console.timeStamp("Prewarm",t,e,Ee,Se,a))}function bv(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,Se,a)):console.timeStamp("Suspended",t,e,Ee,Se,a))}function s2(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:Se,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function tg(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,"Errored",t,e,Ee,Se,"error")):console.timeStamp("Errored",t,e,Ee,Se,"error"))}function r2(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a,t,e,Ee,Se,"secondary-light")):console.timeStamp(a,t,e,Ee,Se,"secondary-light"))}function Sv(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:Se,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},c?c.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function eg(t,e,a){!ln||e<=t||console.timeStamp("Animating",t,e,Ee,Se,"secondary-dark")}function dh(){for(var t=Gp,e=j2=Gp=0;e<t;){var a=no[e];no[e++]=null;var o=no[e];no[e++]=null;var c=no[e];no[e++]=null;var f=no[e];if(no[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&&ng(a,c,f)}}function vr(t,e,a,o){no[Gp++]=t,no[Gp++]=e,no[Gp++]=a,no[Gp++]=o,j2|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function ts(t,e,a,o){return vr(t,e,a,o),lf(t)}function fa(t,e){return vr(t,null,null,e),lf(t)}function ng(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&$0||(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 lf(t){if(Ey>M_)throw Dd=Ey=0,wy=hT=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.");Dd>O_&&(Dd=0,wy=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&&Hl(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Hl(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function iu(t){if(ao===null)return t;var e=ao(t);return e===void 0?t:e.current}function hh(t){if(ao===null)return t;var e=ao(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=iu(t.render),t.render!==e)?(e={$$typeof:ic,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function ag(t,e){if(ao===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===ic||c===pa)&&(o=!0);break;case 14:case 15:(c===id||c===pa)&&(o=!0);break;default:return!1}return!!(o&&(t=ao(a),t!==void 0&&t===ao(e)))}function es(t){ao!==null&&typeof WeakSet=="function"&&(Xp===null&&(Xp=new WeakSet),Xp.add(t))}function Tv(t,e,a){do{var o=t,c=o.alternate,f=o.child,g=o.sibling,v=o.tag;o=o.type;var w=null;switch(v){case 0:case 15:case 1:w=o;break;case 11:w=o.render}if(ao===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,w!==null&&(w=ao(w),w!==void 0&&(a.has(w)?o=!0:e.has(w)&&(v===1?o=!0:D=!0))),Xp!==null&&(Xp.has(t)||c!==null&&Xp.has(c))&&(o=!0),o&&(t._debugNeedsRemount=!0),(o||D)&&(c=fa(t,2),c!==null&&Ft(c,t,2)),f===null||o||Tv(f,e,a),g===null)break;t=g}while(!0)}function c2(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,jA||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function lg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function zi(t,e){var a=t.alternate;switch(a===null?(a=C(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=hh(t.type)}return a}function ig(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 ns(t,e,a,o,c,f){var g=0,v=t;if(typeof t=="function")lg(t)&&(g=1),v=iu(v);else if(typeof t=="string")g=I(),g=gb(t,a,g)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case fi:return e=C(31,a,e,c),e.elementType=fi,e.lanes=f,e;case lc:return as(a.children,c,f,e);case ja:g=8,c|=Ka,c|=ko;break;case ld: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=C(12,t,e,o|ce),e.elementType=ld,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Us:return e=C(13,a,e,c),e.elementType=Us,e.lanes=f,e;case Za:return e=C(19,a,e,c),e.elementType=Za,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ci:g=10;break t;case Ap:g=9;break t;case ic:g=11,v=hh(v);break t;case id: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===Bl?(a="<"+(Q(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 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 hr(t){return t.replace(X,function(e,a){return a.toUpperCase()})}function Gm(t,e,a){var o=e.indexOf("--")===0;o||(-1<e.indexOf("-")?K.hasOwnProperty(e)&&K[e]||(K[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,hr(e.replace(Xe,"ms-")))):Zt.test(e)?K.hasOwnProperty(e)&&K[e]||(K[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)||rt.hasOwnProperty(a)&&rt[a]||(rt[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)?kt||(kt=!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:(ra(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function Xm(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 x in e)for(c=W[x]||[x],f=0;f<c.length;f++)v[c[f]]=x;x={};for(var D in o)if(c=o[D],(f=v[D])&&c!==f&&(g=c+","+f,!x[g])){x[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&&Gm(t,j,D)}else for(o in e)e.hasOwnProperty(o)&&Gm(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 cv(t){return Oe.get(t)||t}function fv(t,e){if(yl.call(Bp,e)&&Bp[e])return!0;if(NO.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=Ub.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Bp[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Bp[e]=!0}if(jO.test(e)){if(t=e.toLowerCase(),t=Ub.hasOwnProperty(t)?t:null,t==null)return Bp[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Bp[e]=!0)}return!0}function dv(t,e){var a=[],o;for(o in e)fv(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 Qm(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(bA.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),vl[e]=!0}else if(bA.test(e))return HO.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),vl[e]=!0;if(BO.test(e)||LO.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 o2(t,e,a){var o=[],c;for(c in e)Qm(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 Pc(t){return VO.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Rl(){}function Ql(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function lh(t){var e=St(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(Ce(e,"name"),a=a.querySelectorAll('input[name="'+ke(""+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&&Lm(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 ih(t,e,a){if(S2)return t(e,a);S2=!0;try{var o=t(e);return o}finally{if(S2=!1,(Lp!==null||Vp!==null)&&(pl(),Lp&&(e=Lp,t=Vp,Vp=Lp=null,lh(e),t)))for(e=0;e<t.length;e++)lh(t[e])}}function zi(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(jb)return jb;var t,e=E2,a=e.length,o,c="value"in gc?gc.value:gc.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 jb=c.slice(t,1<o?1-o:void 0)}function Ic(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 pr(){return!0}function Zm(){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)?pr:Zm,this.isPropagationStopped=Zm,this}return re(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=pr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=pr)},persist:function(){},isPersistent:pr}),e}function vo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=PO[t])?!!e[t]:!1}function tf(){return vo}function mr(t,e){switch(t){case"keyup":return c_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==wA;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!==AA?null:(DA=!0,RA);case"textInput":return t=e.data,t===RA&&DA?null:t;default:return null}}function oh(t,e){if(kp)return t==="compositionend"||!R2&&mr(t,e)?(t=Wu(),jb=E2=gc=null,kp=!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 xA&&e.locale!=="ko"?null:e.data;default:return null}}function Km(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!d_[t.type]:e==="textarea"}function uh(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 ef(t,e,a,o){Lp?Vp?Vp.push(o):Vp=[o]:Lp=o,e=si(e,"onChange"),0<e.length&&(a=new Nb("onChange","change",null,a,o),t.push({event:a,listeners:e}))}function hv(t){Le(t,0)}function aa(t){var e=Ut(t);if(Lm(e))return t}function lu(t,e){if(t==="change")return e}function nf(){Zy&&(Zy.detachEvent("onpropertychange",gr),Jy=Zy=null)}function gr(t){if(t.propertyName==="value"&&aa(Jy)){var e=[];ef(e,Jy,t,Ql(t)),ih(hv,e)}}function u2(t,e,a){t==="focusin"?(nf(),Zy=e,Jy=a,Zy.attachEvent("onpropertychange",gr)):t==="focusout"&&nf()}function $m(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return aa(Jy)}function Fm(t,e){if(t==="click")return aa(e)}function af(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 yr(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 pv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function mv(t,e){var a=pv(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=pv(a)}}function gv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?gv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function rh(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 Wm(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 yv(t,e,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;z2||Yp==null||Yp!==Xl(o)||(o=Yp,"selectionStart"in o&&Wm(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}),Ky&&yr(Ky,o)||(Ky=o,o=si(D2,"onSelect"),0<o.length&&(e=new Nb("onSelect","select",null,e,a),t.push({event:e,listeners:o}),e.target=Yp)))}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(C2[t])return C2[t];if(!qp[t])return t;var e=qp[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in CA)return C2[t]=e[a];return t}function Zl(t,e){jA.set(t,e),he(e,[t])}function vv(t){for(var e=Bb,a=0;a<t.length;a++){var o=t[a];if(typeof o=="object"&&o!==null)if(Cn(o)&&o.length===2&&typeof o[0]=="string"){if(e!==Bb&&e!==j2)return _2;e=j2}else return _2;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||e!==Bb&&e!==U2)return _2;e=U2}}return e}function Pm(t,e,a,o){for(var c in t)yl.call(t,c)&&c[0]!=="_"&&Ci(c,t[c],e,a,o)}function Ci(t,e,a,o,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Bl){var f=Q(e.type)||"…",g=e.key;e=e.props;var v=Object.keys(e),x=v.length;if(g==null&&x===0){e="<"+f+" />";break}if(3>o||x===1&&v[0]==="children"&&g==null){e="<"+f+" … />";break}a.push([c+" ".repeat(o)+t,"<"+f]),g!==null&&Ci("key",g,a,o+1,c),t=!1;for(var D in e)D==="children"?e.children!=null&&(!Cn(e.children)||0<e.children.length)&&(t=!0):yl.call(e,D)&&D[0]!=="_"&&Ci(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=vv(e),D===U2||D===Bb){e=JSON.stringify(e);break}else if(D===j2){for(a.push([c+" ".repeat(o)+t,""]),t=0;t<e.length;t++)f=e[t],Ci(f[0],f[1],a,o+1,c);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,Ci(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,Ci(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&&Pm(e,a,o+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===b_?"…":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 bv(t,e,a,o){var c=!0;for(g in t)g in e||(a.push([Lb+" ".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([Lb+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===Bl){if(g.type===v.type&&g.key===v.key){g=Q(v.type)||"…",c=" ".repeat(o)+f,g="<"+g+" … />",a.push([Lb+c,g],[Vb+c,g]),c=!1;continue}}else{var x=Object.prototype.toString.call(g),D=Object.prototype.toString.call(v);if(x===D&&(D==="[object Object]"||D==="[object Array]")){x=[BA+" ".repeat(o)+f,D==="[object Array]"?"Array":""],a.push(x),D=a.length,bv(g,v,a,o+1)?D===a.length&&(x[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&&(x=Function.prototype.toString.call(g),D=Function.prototype.toString.call(v),x===D)){g=v.name===""?"() => {}":v.name+"() {}",a.push([BA+" ".repeat(o)+f,g+" Referentially unequal function closure. Consider memoization."]);continue}}Ci(f,g,a,o,Lb),Ci(f,v,a,o,Vb)}c=!1}}else a.push([Vb+" ".repeat(o)+f,"…"]),c=!1;return c}function Jl(t){xe=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Dl(t,e,a,o){ln&&(vc.start=e,vc.end=a,Ls.color="warning",Ls.tooltipText=o,Ls.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,o,vc)):performance.measure(o,vc))}function ch(t,e,a){Dl(t,e,a,"Reconnect")}function fh(t,e,a,o,c){var f=J(t);if(f!==null&&ln){var g=t.alternate,v=t.actualDuration;if(g===null||g.child!==t.child)for(var x=t.child;x!==null;x=x.sibling)v-=x.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?(x=[S_],D=bv(g.memoizedProps,D,x,0),1<x.length&&(D&&!yc&&(g.lanes&c)===0&&100<t.actualDuration?(yc=!0,x[0]=T_,Ls.color="warning",Ls.tooltipText=LA):(Ls.color=o,Ls.tooltipText=f),Ls.properties=x,vc.start=e,vc.end=a,v!=null?v.run(performance.measure.bind(performance,""+f,vc)):performance.measure(""+f,vc))):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 Im(t,e,a,o){if(ln){var c=J(t);if(c!==null){for(var f=null,g=[],v=0;v<o.length;v++){var x=o[v];f==null&&x.source!==null&&(f=x.source._debugTask),x=x.value,g.push(["Error",typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x)])}t.key!==null&&Ci("key",t.key,g,0,""),t.memoizedProps!==null&&Pm(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 Kl(t,e,a,o,c){if(c!==null){if(ln){var f=J(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&&Ci("key",t.key,o,0,""),t.memoizedProps!==null&&Pm(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=J(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,xe,Te,c)):console.timeStamp(a,t,e,xe,Te,c)}}function Sv(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,xe,Te,a)):console.timeStamp("Prewarm",t,e,xe,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,xe,Te,a)):console.timeStamp("Suspended",t,e,xe,Te,a))}function r2(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:xe,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 tg(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,"Errored",t,e,xe,Te,"error")):console.timeStamp("Errored",t,e,xe,Te,"error"))}function c2(t,e,a,o){!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a,t,e,xe,Te,"secondary-light")):console.timeStamp(a,t,e,xe,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:xe,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 eg(t,e,a){!ln||e<=t||console.timeStamp("Animating",t,e,xe,Te,"secondary-dark")}function dh(){for(var t=Gp,e=N2=Gp=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&&ng(a,c,f)}}function vr(t,e,a,o){ao[Gp++]=t,ao[Gp++]=e,ao[Gp++]=a,ao[Gp++]=o,N2|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function ts(t,e,a,o){return vr(t,e,a,o),lf(t)}function fa(t,e){return vr(t,null,null,e),lf(t)}function ng(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&$y||(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 lf(t){if(E0>B_)throw Dd=E0=0,w0=pT=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.");Dd>L_&&(Dd=0,w0=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&&Hl(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Hl(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 hh(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:ic,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function ag(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===ic||c===pa)&&(o=!0);break;case 14:case 15:(c===id||c===pa)&&(o=!0);break;default:return!1}return!!(o&&(t=lo(a),t!==void 0&&t===lo(e)))}function es(t){lo!==null&&typeof WeakSet=="function"&&(Xp===null&&(Xp=new WeakSet),Xp.add(t))}function wv(t,e,a){do{var o=t,c=o.alternate,f=o.child,g=o.sibling,v=o.tag;o=o.type;var x=null;switch(v){case 0:case 15:case 1:x=o;break;case 11:x=o.render}if(lo===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,x!==null&&(x=lo(x),x!==void 0&&(a.has(x)?o=!0:e.has(x)&&(v===1?o=!0:D=!0))),Xp!==null&&(Xp.has(t)||c!==null&&Xp.has(c))&&(o=!0),o&&(t._debugNeedsRemount=!0),(o||D)&&(c=fa(t,2),c!==null&&Wt(c,t,2)),f===null||o||wv(f,e,a),g===null)break;t=g}while(!0)}function f2(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,VA||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function lg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mi(t,e){var a=t.alternate;switch(a===null?(a=C(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=hh(t.type)}return a}function ig(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 ns(t,e,a,o,c,f){var g=0,v=t;if(typeof t=="function")lg(t)&&(g=1),v=iu(v);else if(typeof t=="string")g=tt(),g=vb(t,a,g)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case di:return e=C(31,a,e,c),e.elementType=di,e.lanes=f,e;case lc:return as(a.children,c,f,e);case ja:g=8,c|=Ka,c|=ko;break;case ld: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=C(12,t,e,o|ce),e.elementType=ld,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Us:return e=C(13,a,e,c),e.elementType=Us,e.lanes=f,e;case Za:return e=C(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 Ap:g=9;break t;case ic:g=11,v=hh(v);break t;case id: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":Cn(t)?a="array":t!==void 0&&t.$$typeof===Bl?(a="<"+(Q(t.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(g=o?vt(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=C(g,a,e,c),e.elementType=t,e.type=v,e.lanes=f,e._debugOwner=o,e}function ou(t,e,a){return e=ns(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function as(t,e,a,o){return t=C(7,t,o,e),t.lanes=a,t}function br(t,e,a){return t=C(6,t,null,e),t.lanes=a,t}function og(t){var e=C(18,null,null
|
|
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=C(g,a,e,c),e.elementType=t,e.type=v,e.lanes=f,e._debugOwner=o,e}function ou(t,e,a){return e=ns(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function as(t,e,a,o){return t=C(7,t,o,e),t.lanes=a,t}function br(t,e,a){return t=C(6,t,null,e),t.lanes=a,t}function og(t){var e=C(18,null,null,Ft);return e.stateNode=t,e}function ph(t,e,a){return e=C(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Ta(t,e){if(typeof t=="object"&&t!==null){var a=H2.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Xt(e)},H2.set(t,e),e)}return{value:t,source:e,stack:Xt(e)}}function $l(t,e){uu(),Qp[Zp++]=Fy,Qp[Zp++]=kb,kb=t,Fy=e}function ug(t,e,a){uu(),io[oo++]=ks,io[oo++]=Ys,io[oo++]=dd,dd=t;var o=ks;t=Ys;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,ks=1<<32-ia(e)+c|a<<c|o,Ys=f+t}else ks=1<<f|a<<c|o,Ys=t}function mh(t){uu(),t.return!==null&&($l(t,1),ug(t,1,0))}function gh(t){for(;t===kb;)kb=Qp[--Zp],Qp[Zp]=null,Fy=Qp[--Zp],Qp[Zp]=null;for(;t===dd;)dd=io[--oo],io[oo]=null,Ys=io[--oo],io[oo]=null,ks=io[--oo],io[oo]=null}function xv(){return uu(),dd!==null?{id:ks,overflow:Ys}:null}function Av(t,e){uu(),io[oo++]=ks,io[oo++]=Ys,io[oo++]=dd,ks=e.id,Ys=e.overflow,dd=t}function uu(){Se||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ls(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=ls(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 Rv(){Se&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function da(t,e){Bu||(t=ls(t,0),t.serverProps=null,e!==null&&(e=pb(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=Ym(o)),uf(Ta(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)),B2}function sg(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<x0.length;a++)$t(x0[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),Wd(e,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":rv(e,o);break;case"select":ca("select",o),$t("invalid",e),Pd(e,o);break;case"textarea":ca("textarea",o),$t("invalid",e),Zu(e,o),rr(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||cy(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=Rl),e=!0):e=!1,e||zl(t,!0)}function rg(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 is(t){if(t!==Ha)return!1;if(!Se)return rg(t),Se=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Fr(t.type,t.memoizedProps)),a=!a),a&&on){for(a=on;a;){var o=ls(t,0),c=pb(a);o.serverTail.push(c),a=c.type==="Suspense"?Ir(a):ml(a.nextSibling)}zl(t)}if(rg(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=Ir(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=Ir(t)}else e===27?(e=on,Mu(t.type)?(t=RT,RT=null,on=t):on=e):on=Ha?ml(t.stateNode.nextSibling):null;return!0}function su(){on=Ha=null,Bu=Se=!1}function of(){var t=Sc;return t!==null&&(wl===null?wl=t:wl.push.apply(wl,t),Sc=null),t}function uf(t){Sc===null?Sc=[t]:Sc.push(t)}function ru(){var t=pi;if(t!==null){pi=null;for(var e=Ym(t);0<t.children.length;)t=t.children[0];Rt(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,54 +103,54 @@ https://react.dev/link/hydration-mismatch`+a),t)),H2}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 Sr(){Jp=
|
|
106
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function Sr(){Jp=Yb=null,Kp=!1}function Cl(t,e,a){Lt(L2,e._currentValue,t),e._currentValue=a,Lt(V2,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==YA&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=YA}function Fl(t,e){t._currentValue=L2.current;var a=V2.current;wt(V2,e),t._currentRenderer=a,wt(L2,e)}function yh(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 So(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 x=0;x<e.length;x++)if(v.context===e[x]){f.lanes|=a,v=f.alternate,v!==null&&(v.lanes|=a),yh(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),yh(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===ju.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(C0):t=[C0])}c=c.return}t!==null&&So(e,t,a,o),e.flags|=262144}function Tr(t){for(t=t.firstContext;t!==null;){if(!bl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function cu(t){Yb=t,Jp=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function _e(t){return Kp&&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()."),cg(Yb,t)}function sf(t,e){return Yb===null&&cu(t),cg(t,e)}function cg(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Jp===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().");Jp=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else Jp=Jp.next=e;return a}function vh(){return{controller:new x_,data:new Map,refCount:0}}function os(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 rf(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&&A_(R_,function(){t.controller.abort()})}function Oi(t,e,a){(t&127)!==0?0>Lu&&(Lu=Fn(),Py=qb(e),k2=e,a!=null&&(Y2=J(a)),(Re&(sa|yi))!==va&&(An=!0,Ec=Wy),t=Wr(),e=Fi(),t!==$p||e!==Iy?$p=-1.1:e!==null&&(Ec=Wy),md=t,Iy=e):(t&4194048)!==0&&0>so&&(so=Fn(),t0=qb(e),qA=e,a!=null&&(GA=J(a)),0>Qs)&&(t=Wr(),e=Fi(),(t!==xc||e!==gd)&&(xc=-1.1),wc=t,gd=e)}function Dv(t){if(0>Lu){Lu=Fn(),Py=t._debugTask!=null?t._debugTask:null,(Re&(sa|yi))!==va&&(Ec=Wy);var e=Wr(),a=Fi();e!==$p||a!==Iy?$p=-1.1:a!==null&&(Ec=Wy),md=e,Iy=a}0>so&&(so=Fn(),t0=t._debugTask!=null?t._debugTask:null,0>Qs)&&(t=Wr(),e=Fi(),(t!==xc||e!==gd)&&(xc=-1.1),wc=t,gd=e)}function _i(){var t=hd;return hd=0,t}function Er(t){var e=hd;return hd=t,e}function Ea(t){var e=hd;return hd+=t,e}function us(){Kt=Qt=-1.1}function tn(){var t=Qt;return Qt=-1.1,t}function qn(t){0<=t&&(Qt=t)}function Ml(){var t=gn;return gn=-0,t}function al(t){0<=t&&(gn=t)}function ll(){var t=dn;return dn=null,t}function Ol(){var t=An;return An=!1,t}function To(t){Sl=Fn(),0>t.actualStartTime&&(t.actualStartTime=Sl)}function bh(t){if(0<=Sl){var e=Fn()-Sl;t.actualDuration+=e,t.selfBaseDuration=e,Sl=-1}}function cf(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,hd+=e,gn+=e,Kt=t}}function zv(t){dn===null&&(dn=[]),dn.push(t),Gs===null&&(Gs=[]),Gs.push(t)}function hn(){Sl=Fn(),0>Qt&&(Qt=Sl)}function ss(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function Eo(t,e){if(n0===null){var a=n0=[];G2=0,yd=ry(),Fp={status:"pending",value:void 0,then:function(o){a.push(o)}}}return G2++,e.then(fg,fg),e}function fg(){if(--G2===0&&(-1<so||(Qs=-1.1),n0!==null)){Fp!==null&&(Fp.status="fulfilled");var t=n0;n0=null,yd=0,Fp=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Sh(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 wo(){var t=vd.current;return t!==null?t:Fe.pooledCache}function wr(t,e){e===null?Lt(vd,vd.current,t):Lt(vd,e.pool,t)}function dg(){var t=wo();return t===null?null:{parent:$n._currentValue,pool:t}}function Th(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function hg(t){return t=t.status,t==="fulfilled"||t==="rejected"}function il(t,e,a){et.actQueue!==null&&(et.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(Rl,Rl),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,ff(t),t;default:if(typeof e.status=="string")e.then(Rl,Rl);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,ff(t),t}throw Sd=e,r0=!0,Wp}}function ol(t){try{return O_(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Sd=e,r0=!0,Wp):e}}function rs(){if(Sd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=Sd;return Sd=null,r0=!1,t}function ff(t){if(t===Wp||t===Fb)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 ka(){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 xa(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=ou(t,a.mode,0),e._debugInfo=fe,e.return=a),Rt(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=c0;return c0+=1,Pp===null&&(Pp=Th()),il(Pp,t,e)}function Ya(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Il(t,e){throw e.$$typeof===xb?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 _l(t,e){var a=ka();a!==null?a.run(
|
|
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 _l(t,e){var a=ka();a!==null?a.run(Il.bind(null,t,e)):Il(t,e)}function pg(t,e){var a=J(t)||"Component";rR[a]||(rR[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 xr(t,e){var a=ka();a!==null?a.run(pg.bind(null,t,e)):pg(t,e)}function Eh(t,e){var a=
|
|
111
|
+
<%s>{%s}</%s>`,e,e,a,e,a))}function xr(t,e){var a=ka();a!==null?a.run(pg.bind(null,t,e)):pg(t,e)}function Eh(t,e){var a=J(t)||"Component";cR[a]||(cR[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 df(t,e){var a=ka();a!==null?a.run(Eh.bind(null,t,e)):Eh(t,e)}function Gn(t){function e(U,N){if(t){var B=U.deletions;B===null?(U.deletions=[N],U.flags|=16):B.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=zi(U,N),U.index=0,U.sibling=null,U}function f(U,N,B){return U.index=B,t?(B=U.alternate,B!==null?(B=B.index,B<N?(U.flags|=67108866,N):B):(U.flags|=67108866,N)):(U.flags|=1048576,N)}function g(U){return t&&U.alternate===null&&(U.flags|=67108866),U}function v(U,N,B,it){return N===null||N.tag!==6?(N=br(B,U.mode,it),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,B),N.return=U,N._debugInfo=fe,N)}function w(U,N,B,it){var wt=B.type;return wt===lc?(N=L(U,N,B.props.children,it,B.key),xa(B,N,U),N):N!==null&&(N.elementType===wt||ag(N,B)||typeof wt=="object"&&wt!==null&&wt.$$typeof===pa&&ol(wt)===N.type)?(N=c(N,B.props),Ya(N,B),N.return=U,N._debugOwner=B._owner,N._debugInfo=fe,N):(N=ou(B,U.mode,it),Ya(N,B),N.return=U,N._debugInfo=fe,N)}function D(U,N,B,it){return N===null||N.tag!==4||N.stateNode.containerInfo!==B.containerInfo||N.stateNode.implementation!==B.implementation?(N=ph(B,U.mode,it),N.return=U,N._debugInfo=fe,N):(N=c(N,B.children||[]),N.return=U,N._debugInfo=fe,N)}function L(U,N,B,it,wt){return N===null||N.tag!==7?(N=as(B,U.mode,it,wt),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,B),N.return=U,N._debugInfo=fe,N)}function Y(U,N,B){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=br(""+N,U.mode,B),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Bl:return B=ou(N,U.mode,B),Ya(B,N),B.return=U,U=Sn(N._debugInfo),B._debugInfo=fe,fe=U,B;case _u:return N=ph(N,U.mode,B),N.return=U,N._debugInfo=fe,N;case pa:var it=Sn(N._debugInfo);return N=ol(N),U=Y(U,N,B),fe=it,U}if(zn(N)||Tt(N))return B=as(N,U.mode,B,null),B.return=U,B._debugOwner=U,B._debugTask=U._debugTask,U=Sn(N._debugInfo),B._debugInfo=fe,fe=U,B;if(typeof N.then=="function")return it=Sn(N._debugInfo),U=Y(U,Wl(N),B),fe=it,U;if(N.$$typeof===ci)return Y(U,sf(U,N),B);_l(U,N)}return typeof N=="function"&&xr(U,N),typeof N=="symbol"&&df(U,N),null}function j(U,N,B,it){var wt=N!==null?N.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return wt!==null?null:v(U,N,""+B,it);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Bl:return B.key===wt?(wt=Sn(B._debugInfo),U=w(U,N,B,it),fe=wt,U):null;case _u:return B.key===wt?D(U,N,B,it):null;case pa:return wt=Sn(B._debugInfo),B=ol(B),U=j(U,N,B,it),fe=wt,U}if(zn(B)||Tt(B))return wt!==null?null:(wt=Sn(B._debugInfo),U=L(U,N,B,it,null),fe=wt,U);if(typeof B.then=="function")return wt=Sn(B._debugInfo),U=j(U,N,Wl(B),it),fe=wt,U;if(B.$$typeof===ci)return j(U,N,sf(U,B),it);_l(U,B)}return typeof B=="function"&&xr(U,B),typeof B=="symbol"&&df(U,B),null}function W(U,N,B,it,wt){if(typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint")return U=U.get(B)||null,v(N,U,""+it,wt);if(typeof it=="object"&&it!==null){switch(it.$$typeof){case Bl:return B=U.get(it.key===null?B:it.key)||null,U=Sn(it._debugInfo),N=w(N,B,it,wt),fe=U,N;case _u:return U=U.get(it.key===null?B:it.key)||null,D(N,U,it,wt);case pa:var It=Sn(it._debugInfo);return it=ol(it),N=W(U,N,B,it,wt),fe=It,N}if(zn(it)||Tt(it))return B=U.get(B)||null,U=Sn(it._debugInfo),N=L(N,B,it,wt,null),fe=U,N;if(typeof it.then=="function")return It=Sn(it._debugInfo),N=W(U,N,B,Wl(it),wt),fe=It,N;if(it.$$typeof===ci)return W(U,N,B,sf(N,it),wt);_l(N,it)}return typeof it=="function"&&xr(N,it),typeof it=="symbol"&&df(N,it),null}function Et(U,N,B,it){if(typeof B!="object"||B===null)return it;switch(B.$$typeof){case Bl:case _u:M(U,N,B);var wt=B.key;if(typeof wt!="string")break;if(it===null){it=new Set,it.add(wt);break}if(!it.has(wt)){it.add(wt);break}At(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.",wt)});break;case pa:B=ol(B),Et(U,N,B,it)}return it}function Rt(U,N,B,it){for(var wt=null,It=null,kt=null,Bt=N,se=N=0,un=null;Bt!==null&&se<B.length;se++){Bt.index>se?(un=Bt,Bt=null):un=Bt.sibling;var Ln=j(U,Bt,B[se],it);if(Ln===null){Bt===null&&(Bt=un);break}wt=Et(U,Ln,B[se],wt),t&&Bt&&Ln.alternate===null&&e(U,Bt),N=f(Ln,N,se),kt===null?It=Ln:kt.sibling=Ln,kt=Ln,Bt=un}if(se===B.length)return a(U,Bt),be&&Kl(U,se),It;if(Bt===null){for(;se<B.length;se++)Bt=Y(U,B[se],it),Bt!==null&&(wt=Et(U,Bt,B[se],wt),N=f(Bt,N,se),kt===null?It=Bt:kt.sibling=Bt,kt=Bt);return be&&Kl(U,se),It}for(Bt=o(Bt);se<B.length;se++)un=W(Bt,U,se,B[se],it),un!==null&&(wt=Et(U,un,B[se],wt),t&&un.alternate!==null&&Bt.delete(un.key===null?se:un.key),N=f(un,N,se),kt===null?It=un:kt.sibling=un,kt=un);return t&&Bt.forEach(function(Is){return e(U,Is)}),be&&Kl(U,se),It}function Ie(U,N,B,it){if(B==null)throw Error("An iterable object provided no iterator.");for(var wt=null,It=null,kt=N,Bt=N=0,se=null,un=null,Ln=B.next();kt!==null&&!Ln.done;Bt++,Ln=B.next()){kt.index>Bt?(se=kt,kt=null):se=kt.sibling;var Is=j(U,kt,Ln.value,it);if(Is===null){kt===null&&(kt=se);break}un=Et(U,Is,Ln.value,un),t&&kt&&Is.alternate===null&&e(U,kt),N=f(Is,N,Bt),It===null?wt=Is:It.sibling=Is,It=Is,kt=se}if(Ln.done)return a(U,kt),be&&Kl(U,Bt),wt;if(kt===null){for(;!Ln.done;Bt++,Ln=B.next())kt=Y(U,Ln.value,it),kt!==null&&(un=Et(U,kt,Ln.value,un),N=f(kt,N,Bt),It===null?wt=kt:It.sibling=kt,It=kt);return be&&Kl(U,Bt),wt}for(kt=o(kt);!Ln.done;Bt++,Ln=B.next())se=W(kt,U,Bt,Ln.value,it),se!==null&&(un=Et(U,se,Ln.value,un),t&&se.alternate!==null&&kt.delete(se.key===null?Bt:se.key),N=f(se,N,Bt),It===null?wt=se:It.sibling=se,It=se);return t&&kt.forEach(function(K_){return e(U,K_)}),be&&Kl(U,Bt),wt}function Te(U,N,B,it){if(typeof B=="object"&&B!==null&&B.type===lc&&B.key===null&&(xa(B,null,U),B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case Bl:var wt=Sn(B._debugInfo);t:{for(var It=B.key;N!==null;){if(N.key===It){if(It=B.type,It===lc){if(N.tag===7){a(U,N.sibling),it=c(N,B.props.children),it.return=U,it._debugOwner=B._owner,it._debugInfo=fe,xa(B,it,U),U=it;break t}}else if(N.elementType===It||ag(N,B)||typeof It=="object"&&It!==null&&It.$$typeof===pa&&ol(It)===N.type){a(U,N.sibling),it=c(N,B.props),Ya(it,B),it.return=U,it._debugOwner=B._owner,it._debugInfo=fe,U=it;break t}a(U,N);break}else e(U,N);N=N.sibling}B.type===lc?(it=as(B.props.children,U.mode,it,B.key),it.return=U,it._debugOwner=U,it._debugTask=U._debugTask,it._debugInfo=fe,xa(B,it,U),U=it):(it=ou(B,U.mode,it),Ya(it,B),it.return=U,it._debugInfo=fe,U=it)}return U=g(U),fe=wt,U;case _u:t:{for(wt=B,B=wt.key;N!==null;){if(N.key===B)if(N.tag===4&&N.stateNode.containerInfo===wt.containerInfo&&N.stateNode.implementation===wt.implementation){a(U,N.sibling),it=c(N,wt.children||[]),it.return=U,U=it;break t}else{a(U,N);break}else e(U,N);N=N.sibling}it=ph(wt,U.mode,it),it.return=U,U=it}return g(U);case pa:return wt=Sn(B._debugInfo),B=ol(B),U=Te(U,N,B,it),fe=wt,U}if(zn(B))return wt=Sn(B._debugInfo),U=Rt(U,N,B,it),fe=wt,U;if(Tt(B)){if(wt=Sn(B._debugInfo),It=Tt(B),typeof It!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var kt=It.call(B);return kt===B?(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(kt)!=="[object Generator]")&&(nR||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."),nR=!0):B.entries!==It||Z2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Z2=!0),U=Ie(U,N,kt,it),fe=wt,U}if(typeof B.then=="function")return wt=Sn(B._debugInfo),U=Te(U,N,Wl(B),it),fe=wt,U;if(B.$$typeof===ci)return Te(U,N,sf(U,B),it);_l(U,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(wt=""+B,N!==null&&N.tag===6?(a(U,N.sibling),it=c(N,wt),it.return=U,U=it):(a(U,N),it=br(wt,U.mode,it),it.return=U,it._debugOwner=U,it._debugTask=U._debugTask,it._debugInfo=fe,U=it),g(U)):(typeof B=="function"&&xr(U,B),typeof B=="symbol"&&df(U,B),a(U,N))}return function(U,N,B,it){var wt=fe;fe=null;try{cy=0;var It=Te(U,N,B,it);return Pp=null,It}catch(un){if(un===Wp||un===Kb)throw un;var kt=C(29,un,null,U.mode);kt.lanes=it,kt.return=U;var Bt=kt._debugInfo=fe;if(kt._debugOwner=U._debugOwner,kt._debugTask=U._debugTask,Bt!=null){for(var se=Bt.length-1;0<=se;se--)if(typeof Bt[se].stack=="string"){kt._debugOwner=Bt[se],kt._debugTask=Bt[se].debugTask;break}}return kt}finally{fe=wt}}}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 _i(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:uR,payload:null,callback:null,next:null}}function Ui(t,e,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,K2===o&&!cR){var c=ht(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 df(t,e){var a=ka();a!==null?a.run(Eh.bind(null,t,e)):Eh(t,e)}function Gn(t){function e(U,N){if(t){var B=U.deletions;B===null?(U.deletions=[N],U.flags|=16):B.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,B){return U.index=B,t?(B=U.alternate,B!==null?(B=B.index,B<N?(U.flags|=67108866,N):B):(U.flags|=67108866,N)):(U.flags|=1048576,N)}function g(U){return t&&U.alternate===null&&(U.flags|=67108866),U}function v(U,N,B,ut){return N===null||N.tag!==6?(N=br(B,U.mode,ut),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,B),N.return=U,N._debugInfo=fe,N)}function x(U,N,B,ut){var At=B.type;return At===lc?(N=L(U,N,B.props.children,ut,B.key),xa(B,N,U),N):N!==null&&(N.elementType===At||ag(N,B)||typeof At=="object"&&At!==null&&At.$$typeof===pa&&ol(At)===N.type)?(N=c(N,B.props),Ya(N,B),N.return=U,N._debugOwner=B._owner,N._debugInfo=fe,N):(N=ou(B,U.mode,ut),Ya(N,B),N.return=U,N._debugInfo=fe,N)}function D(U,N,B,ut){return N===null||N.tag!==4||N.stateNode.containerInfo!==B.containerInfo||N.stateNode.implementation!==B.implementation?(N=ph(B,U.mode,ut),N.return=U,N._debugInfo=fe,N):(N=c(N,B.children||[]),N.return=U,N._debugInfo=fe,N)}function L(U,N,B,ut,At){return N===null||N.tag!==7?(N=as(B,U.mode,ut,At),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N):(N=c(N,B),N.return=U,N._debugInfo=fe,N)}function q(U,N,B){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=br(""+N,U.mode,B),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=fe,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Bl:return B=ou(N,U.mode,B),Ya(B,N),B.return=U,U=Sn(N._debugInfo),B._debugInfo=fe,fe=U,B;case _u:return N=ph(N,U.mode,B),N.return=U,N._debugInfo=fe,N;case pa:var ut=Sn(N._debugInfo);return N=ol(N),U=q(U,N,B),fe=ut,U}if(Cn(N)||Tt(N))return B=as(N,U.mode,B,null),B.return=U,B._debugOwner=U,B._debugTask=U._debugTask,U=Sn(N._debugInfo),B._debugInfo=fe,fe=U,B;if(typeof N.then=="function")return ut=Sn(N._debugInfo),U=q(U,Pl(N),B),fe=ut,U;if(N.$$typeof===fi)return q(U,sf(U,N),B);_l(U,N)}return typeof N=="function"&&xr(U,N),typeof N=="symbol"&&df(U,N),null}function j(U,N,B,ut){var At=N!==null?N.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return At!==null?null:v(U,N,""+B,ut);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Bl:return B.key===At?(At=Sn(B._debugInfo),U=x(U,N,B,ut),fe=At,U):null;case _u:return B.key===At?D(U,N,B,ut):null;case pa:return At=Sn(B._debugInfo),B=ol(B),U=j(U,N,B,ut),fe=At,U}if(Cn(B)||Tt(B))return At!==null?null:(At=Sn(B._debugInfo),U=L(U,N,B,ut,null),fe=At,U);if(typeof B.then=="function")return At=Sn(B._debugInfo),U=j(U,N,Pl(B),ut),fe=At,U;if(B.$$typeof===fi)return j(U,N,sf(U,B),ut);_l(U,B)}return typeof B=="function"&&xr(U,B),typeof B=="symbol"&&df(U,B),null}function P(U,N,B,ut,At){if(typeof ut=="string"&&ut!==""||typeof ut=="number"||typeof ut=="bigint")return U=U.get(B)||null,v(N,U,""+ut,At);if(typeof ut=="object"&&ut!==null){switch(ut.$$typeof){case Bl:return B=U.get(ut.key===null?B:ut.key)||null,U=Sn(ut._debugInfo),N=x(N,B,ut,At),fe=U,N;case _u:return U=U.get(ut.key===null?B:ut.key)||null,D(N,U,ut,At);case pa:var te=Sn(ut._debugInfo);return ut=ol(ut),N=P(U,N,B,ut,At),fe=te,N}if(Cn(ut)||Tt(ut))return B=U.get(B)||null,U=Sn(ut._debugInfo),N=L(N,B,ut,At,null),fe=U,N;if(typeof ut.then=="function")return te=Sn(ut._debugInfo),N=P(U,N,B,Pl(ut),At),fe=te,N;if(ut.$$typeof===fi)return P(U,N,B,sf(N,ut),At);_l(N,ut)}return typeof ut=="function"&&xr(N,ut),typeof ut=="symbol"&&df(N,ut),null}function Et(U,N,B,ut){if(typeof B!="object"||B===null)return ut;switch(B.$$typeof){case Bl:case _u:M(U,N,B);var At=B.key;if(typeof At!="string")break;if(ut===null){ut=new Set,ut.add(At);break}if(!ut.has(At)){ut.add(At);break}Rt(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.",At)});break;case pa:B=ol(B),Et(U,N,B,ut)}return ut}function Dt(U,N,B,ut){for(var At=null,te=null,Gt=null,Bt=N,se=N=0,un=null;Bt!==null&&se<B.length;se++){Bt.index>se?(un=Bt,Bt=null):un=Bt.sibling;var Ln=j(U,Bt,B[se],ut);if(Ln===null){Bt===null&&(Bt=un);break}At=Et(U,Ln,B[se],At),t&&Bt&&Ln.alternate===null&&e(U,Bt),N=f(Ln,N,se),Gt===null?te=Ln:Gt.sibling=Ln,Gt=Ln,Bt=un}if(se===B.length)return a(U,Bt),Se&&$l(U,se),te;if(Bt===null){for(;se<B.length;se++)Bt=q(U,B[se],ut),Bt!==null&&(At=Et(U,Bt,B[se],At),N=f(Bt,N,se),Gt===null?te=Bt:Gt.sibling=Bt,Gt=Bt);return Se&&$l(U,se),te}for(Bt=o(Bt);se<B.length;se++)un=P(Bt,U,se,B[se],ut),un!==null&&(At=Et(U,un,B[se],At),t&&un.alternate!==null&&Bt.delete(un.key===null?se:un.key),N=f(un,N,se),Gt===null?te=un:Gt.sibling=un,Gt=un);return t&&Bt.forEach(function(Is){return e(U,Is)}),Se&&$l(U,se),te}function Ie(U,N,B,ut){if(B==null)throw Error("An iterable object provided no iterator.");for(var At=null,te=null,Gt=N,Bt=N=0,se=null,un=null,Ln=B.next();Gt!==null&&!Ln.done;Bt++,Ln=B.next()){Gt.index>Bt?(se=Gt,Gt=null):se=Gt.sibling;var Is=j(U,Gt,Ln.value,ut);if(Is===null){Gt===null&&(Gt=se);break}un=Et(U,Is,Ln.value,un),t&&Gt&&Is.alternate===null&&e(U,Gt),N=f(Is,N,Bt),te===null?At=Is:te.sibling=Is,te=Is,Gt=se}if(Ln.done)return a(U,Gt),Se&&$l(U,Bt),At;if(Gt===null){for(;!Ln.done;Bt++,Ln=B.next())Gt=q(U,Ln.value,ut),Gt!==null&&(un=Et(U,Gt,Ln.value,un),N=f(Gt,N,Bt),te===null?At=Gt:te.sibling=Gt,te=Gt);return Se&&$l(U,Bt),At}for(Gt=o(Gt);!Ln.done;Bt++,Ln=B.next())se=P(Gt,U,Bt,Ln.value,ut),se!==null&&(un=Et(U,se,Ln.value,un),t&&se.alternate!==null&&Gt.delete(se.key===null?Bt:se.key),N=f(se,N,Bt),te===null?At=se:te.sibling=se,te=se);return t&&Gt.forEach(function(e4){return e(U,e4)}),Se&&$l(U,Bt),At}function Ee(U,N,B,ut){if(typeof B=="object"&&B!==null&&B.type===lc&&B.key===null&&(xa(B,null,U),B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case Bl:var At=Sn(B._debugInfo);t:{for(var te=B.key;N!==null;){if(N.key===te){if(te=B.type,te===lc){if(N.tag===7){a(U,N.sibling),ut=c(N,B.props.children),ut.return=U,ut._debugOwner=B._owner,ut._debugInfo=fe,xa(B,ut,U),U=ut;break t}}else if(N.elementType===te||ag(N,B)||typeof te=="object"&&te!==null&&te.$$typeof===pa&&ol(te)===N.type){a(U,N.sibling),ut=c(N,B.props),Ya(ut,B),ut.return=U,ut._debugOwner=B._owner,ut._debugInfo=fe,U=ut;break t}a(U,N);break}else e(U,N);N=N.sibling}B.type===lc?(ut=as(B.props.children,U.mode,ut,B.key),ut.return=U,ut._debugOwner=U,ut._debugTask=U._debugTask,ut._debugInfo=fe,xa(B,ut,U),U=ut):(ut=ou(B,U.mode,ut),Ya(ut,B),ut.return=U,ut._debugInfo=fe,U=ut)}return U=g(U),fe=At,U;case _u:t:{for(At=B,B=At.key;N!==null;){if(N.key===B)if(N.tag===4&&N.stateNode.containerInfo===At.containerInfo&&N.stateNode.implementation===At.implementation){a(U,N.sibling),ut=c(N,At.children||[]),ut.return=U,U=ut;break t}else{a(U,N);break}else e(U,N);N=N.sibling}ut=ph(At,U.mode,ut),ut.return=U,U=ut}return g(U);case pa:return At=Sn(B._debugInfo),B=ol(B),U=Ee(U,N,B,ut),fe=At,U}if(Cn(B))return At=Sn(B._debugInfo),U=Dt(U,N,B,ut),fe=At,U;if(Tt(B)){if(At=Sn(B._debugInfo),te=Tt(B),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(B);return Gt===B?(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Gt)!=="[object Generator]")&&(uR||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."),uR=!0):B.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,ut),fe=At,U}if(typeof B.then=="function")return At=Sn(B._debugInfo),U=Ee(U,N,Pl(B),ut),fe=At,U;if(B.$$typeof===fi)return Ee(U,N,sf(U,B),ut);_l(U,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(At=""+B,N!==null&&N.tag===6?(a(U,N.sibling),ut=c(N,At),ut.return=U,U=ut):(a(U,N),ut=br(At,U.mode,ut),ut.return=U,ut._debugOwner=U,ut._debugTask=U._debugTask,ut._debugInfo=fe,U=ut),g(U)):(typeof B=="function"&&xr(U,B),typeof B=="symbol"&&df(U,B),a(U,N))}return function(U,N,B,ut){var At=fe;fe=null;try{c0=0;var te=Ee(U,N,B,ut);return Pp=null,te}catch(un){if(un===Wp||un===Fb)throw un;var Gt=C(29,un,null,U.mode);Gt.lanes=ut,Gt.return=U;var Bt=Gt._debugInfo=fe;if(Gt._debugOwner=U._debugOwner,Gt._debugTask=U._debugTask,Bt!=null){for(var se=Bt.length-1;0<=se;se--)if(typeof Bt[se].stack=="string"){Gt._debugOwner=Bt[se],Gt._debugTask=Bt[se].debugTask;break}}return Gt}finally{fe=At}}}function Ze(t,e){var a=Cn(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:dR,payload:null,callback:null,next:null}}function ji(t,e,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,$2===o&&!mR){var c=J(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),mR=!0}return(Re&sa)!==va?(c=o.pending,c===null?e.next=e:(e.next=c.next,c.next=e),o.pending=e,e=lf(t),ng(t,null,a),e):(vr(t,o,e,a),lf(t))}function Ul(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,Jc(t,a)}}function hf(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 Ar(){if(F2){var t=Fp;if(t!==null)throw t}}function Ni(t,e,a,o){F2=!1;var c=t.updateQueue;Ac=!1,$2=c.shared;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,v=c.shared.pending;if(v!==null){c.shared.pending=null;var x=v,D=x.next;x.next=null,g===null?f=D:g.next=D,g=x;var L=t.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==g&&(v===null?L.firstBaseUpdate=D:v.next=D,L.lastBaseUpdate=x))}if(f!==null){var q=c.baseState;g=0,L=D=x=null,v=f;do{var j=v.lane&-536870913,P=j!==v.lane;if(P?(de&j)===j:(o&j)===j){j!==0&&j===yd&&(F2=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{j=t;var Et=v,Dt=e,Ie=a;switch(Et.tag){case hR:if(Et=Et.payload,typeof Et=="function"){Kp=!0;var Ee=Et.call(Ie,q,Dt);if(j.mode&Ka){_t(!0);try{Et.call(Ie,q,Dt)}finally{_t(!1)}}Kp=!1,q=Ee;break t}q=Et;break t;case K2:j.flags=j.flags&-65537|128;case dR:if(Ee=Et.payload,typeof Ee=="function"){if(Kp=!0,Et=Ee.call(Ie,q,Dt),j.mode&Ka){_t(!0);try{Ee.call(Ie,q,Dt)}finally{_t(!1)}}Kp=!1}else Et=Ee;if(Et==null)break t;q=re({},q,Et);break t;case pR:Ac=!0}}j=v.callback,j!==null&&(t.flags|=64,P&&(t.flags|=8192),P=c.callbacks,P===null?c.callbacks=[j]:P.push(j))}else P={lane:j,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(D=L=P,x=q):L=L.next=P,g|=j;if(v=v.next,v===null){if(v=c.shared.pending,v===null)break;P=v,v=P.next,P.next=null,c.lastBaseUpdate=P,c.shared.pending=null}}while(!0);L===null&&(x=q),c.baseState=x,c.firstBaseUpdate=D,c.lastBaseUpdate=L,f===null&&(c.shared.lanes=0),zc|=g,t.lanes=g,t.memoizedState=q}$2=null}function fu(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function mg(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)fu(a[t],e)}function Rr(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)fu(a[t],e)}function wh(t,e){var a=ku;Lt(Pb,a,t),Lt(Ip,e,t),ku=a|e.baseLanes}function xo(t){Lt(Pb,ku,t),Lt(Ip,Ip.current,t)}function ti(t){ku=Pb.current,wt(Ip,t),wt(Pb,t)}function Aa(t){var e=t.alternate;Lt(Bn,Bn.current&tm,t),Lt(mi,t,t),ro===null&&(e===null||Ip.current!==null||e.memoizedState!==null)&&(ro=t)}function ei(t){Lt(Bn,Bn.current,t),Lt(mi,t,t),ro===null&&(ro=t)}function xh(t){t.tag===22?(Lt(Bn,Bn.current,t),Lt(mi,t,t),ro===null&&(ro=t)):Hi(t)}function Hi(t){Lt(Bn,Bn.current,t),Lt(mi,mi.current,t)}function Xn(t){wt(mi,t),ro===t&&(ro=null),wt(Bn,t)}function cs(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||$f(a)||dy(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=I;fo===null?fo=[t]:fo.push(t)}function ft(){var t=I;if(fo!==null&&(Ks++,fo[Ks]!==t)){var e=J(It);if(!gR.has(e)&&(gR.add(e),fo!==null)){for(var a="",o=0;o<=Ks;o++){var c=fo[o],f=o===Ks?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 Ao(t){t==null||
|
|
121
|
+
`,e,a)}}}function Ao(t){t==null||Cn(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.",I,typeof t)}function pf(){var t=J(It);vR.has(t)||(vR.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 gg(t,e){if(
|
|
125
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function gg(t,e){if(h0)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.",I),!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`,P,"["+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 yg(t,e,a,o,c,f){Zs=f,Pt=e,co=t!==null?t._debugHookTypes:null,Ks=-1,hy=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=ht(Pt),F2.has(f)||(F2.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,tt.H=t!==null&&t.memoizedState!==null?P2:co!==null?pR:W2,Ed=f=(e.mode&Ka)!==$t;var g=G2(a,o,c);if(Ed=!1,nm&&(g=mf(e,a,o,c)),f){Ot(!0);try{g=mf(e,a,o,c)}finally{Ot(!1)}}return Tn(t,e),g}function Tn(t,e){e._debugHookTypes=co,e.dependencies===null?Js!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:Js}):e.dependencies._debugThenableState=Js,tt.H=py;var a=$e!==null&&$e.next!==null;if(Zs=0,co=P=Wn=$e=Pt=null,Ks=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Pb=!1,dy=0,Js=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&&Tr(t)&&(Pn=!0)),ry?(ry=!1,t=!0):t=!1,t&&(e=ht(e)||"Unknown",dR.has(e)||F2.has(e)||(dR.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 mf(t,e,a,o){Pt=t;var c=0;do{if(nm&&(Js=null),dy=0,nm=!1,c>=R_)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,hy=!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)}Ks=-1,tt.H=mR,f=G2(e,a,o)}while(nm);return f}function gf(){var t=tt.H,e=t.useState()[0];return e=typeof e.then=="function"?bf(e):e,t=t.useState()[0],($e!==null?$e.memoizedState:null)!==t&&(Pt.flags|=1024),e}function fs(){var t=Ib!==0;return Ib=0,t}function yf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&ko)!==$t?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function du(t){if(Pb){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Pb=!1}Zs=0,co=Wn=$e=Pt=null,Ks=-1,P=null,nm=!1,dy=Ib=0,Js=null}function Dn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wn===null?Pt.memoizedState=Wn=t:Wn=Wn.next=t,Wn}function je(){if($e===null){var t=Pt.alternate;t=t!==null?t.memoizedState:null}else t=$e.next;var e=Wn===null?Pt.memoizedState:Wn.next;if(e!==null)Wn=e,$e=t;else{if(t===null)throw Pt.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?Pt.memoizedState=Wn=t:Wn=Wn.next=t}return Wn}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function bf(t){var e=dy;return dy+=1,Js===null&&(Js=Th()),t=il(Js,t,e),e=Pt,(Wn===null?e.memoizedState:Wn.next)===null&&(e=e.alternate,tt.H=e!==null&&e.memoizedState!==null?P2:W2),t}function Ro(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return bf(t);if(t.$$typeof===ci)return ze(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function ul(t){var e=null,a=Pt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var o=Pt.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=vf(),Pt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||hy)for(a=e.data[e.index]=Array(t),o=0;o<t;o++)a[o]=g2;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 sl(t,e){return typeof e=="function"?e(t):e}function Dr(t,e,a){var o=Dn();if(a!==void 0){var c=a(e);if(Ed){Ot(!0);try{a(e)}finally{Ot(!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=f2.bind(null,Pt,t),[o.memoizedState,t]}function ds(t){var e=je();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,w=null,D=e,L=!1;do{var Y=D.lane&-536870913;if(Y!==D.lane?(de&Y)===Y:(Zs&Y)===Y){var j=D.revertLane;if(j===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),Y===yd&&(L=!0);else if((Zs&j)===j){D=D.next,j===yd&&(L=!0);continue}else Y={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},w===null?(v=w=Y,g=f):w=w.next=Y,Pt.lanes|=j,Cc|=j;Y=D.action,Ed&&a(f,Y),f=D.hasEagerState?D.eagerState:a(f,Y)}else j={lane:Y,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},w===null?(v=w=j,g=f):w=w.next=j,Pt.lanes|=Y,Cc|=Y;D=D.next}while(D!==null&&D!==e);if(w===null?g=f:w.next=v,!bl(f,t.memoizedState)&&(Pn=!0,L&&(a=Fp,a!==null)))throw a;t.memoizedState=f,t.baseState=g,t.baseQueue=w,o.lastRenderedState=f}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function hs(t){var e=je(),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 Cr(t,e,a){var o=Pt,c=Dn();if(be){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();em||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),em=!0)}else{if(f=e(),em||(a=e(),bl(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),em=!0)),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(de&127)!==0||vg(o,e,f)}return c.memoizedState=f,a={value:f,getSnapshot:e},c.queue=a,gs(pu.bind(null,o,a,t),[t]),o.flags|=2048,Hi(ro|El,{destroy:void 0},bg.bind(null,o,a,f,e),null),f}function ps(t,e,a){var o=Pt,c=je(),f=be;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(),!em){var g=e();bl(a,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),em=!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,El,v,[t]),c.getSnapshot!==e||g||Wn!==null&&Wn.memoizedState.tag&ro){if(o.flags|=2048,Hi(ro|El,{destroy:void 0},bg.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||(Zs&127)!==0||vg(o,e,a)}return a}function vg(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=Pt.updateQueue,e===null?(e=vf(),Pt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function bg(t,e,a,o){e.value=a,e.getSnapshot=o,mu(e)&&Sg(t)}function pu(t,e,a){return a(function(){mu(e)&&(Mi(2,"updateSyncExternalStore()",t),Sg(t))})}function mu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!bl(t,a)}catch{return!0}}function Sg(t){var e=fa(t,2);e!==null&&Ft(e,t,2)}function Ah(t){var e=Dn();if(typeof t=="function"){var a=t;if(t=a(),Ed){Ot(!0);try{a()}finally{Ot(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:t},e}function gu(t){t=Ah(t);var e=t.queue,a=Oh.bind(null,Pt,e);return e.dispatch=a,[t.memoizedState,a]}function ms(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=Rf.bind(null,Pt,!0,a),a.dispatch=e,[t,e]}function Sf(t,e){var a=je();return zr(a,$e,t,e)}function zr(t,e,a,o){return t.baseState=a,hu(t,$e,typeof o=="function"?o:sl)}function Tf(t,e){var a=je();return $e!==null?zr(a,$e,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Dv(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)}};tt.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=tt.T,g={};g._updatedFibers=new Set,tt.T=g;try{var v=a(c,o),w=tt.S;w!==null&&w(g,v),Tg(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),tt.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){Ef(t,e,D)}}function Tg(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(tt.asyncTransitions++,a.then(ys,ys),a.then(function(o){Do(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.")):Do(t,e,a)}function Do(t,e,a){e.status="fulfilled",e.value=a,Rh(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 Ef(t,e,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do e.status="rejected",e.reason=a,Rh(e),e=e.next;while(e!==o)}t.action=null}function Rh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Co(t,e){return e}function rl(t,e){if(be){var a=Fe.formState;if(a!==null){t:{var o=Pt;if(be){if(on){e:{for(var c=on,f=oo;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===TT||f===tD?c:null}if(c){on=ml(c.nextSibling),o=c.data===TT;break t}}Cl(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=Oh.bind(null,Pt,o),o.dispatch=a,o=Ah(!1),f=Rf.bind(null,Pt,!1,o.queue),o=Dn(),c={state:e,dispatch:null,action:t,pending:null},o.queue=c,a=Dv.bind(null,Pt,c,f,a),c.dispatch=a,o.memoizedState=t,[e,a,!1]}function vu(t){var e=je();return Dh(e,$e,t)}function Dh(t,e,a){if(e=hu(t,e,Co)[0],t=ds(sl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var o=bf(e)}catch(g){throw g===Wp?Kb:g}else o=e;e=je();var c=e.queue,f=c.dispatch;return a!==e.memoizedState&&(Pt.flags|=2048,Hi(ro|El,{destroy:void 0},Eg.bind(null,c,a),null)),[o,f,t]}function Eg(t,e){t.action=e}function bu(t){var e=je(),a=$e;if(a!==null)return Dh(e,a,t);je(),e=e.memoizedState,a=je();var o=a.queue.dispatch;return a.memoizedState=t,[e,o,!1]}function Hi(t,e,a,o){return t={tag:t,create:a,deps:o,inst:e,next:null},e=Pt.updateQueue,e===null&&(e=vf(),Pt.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 Ch(t){var e=Dn();return t={current:t},e.memoizedState=t}function Su(t,e,a,o){var c=Dn();Pt.flags|=t,c.memoizedState=Hi(ro|e,{destroy:void 0},a,o===void 0?null:o)}function Un(t,e,a,o){var c=je();o=o===void 0?null:o;var f=c.memoizedState.inst;$e!==null&&o!==null&&gg(o,$e.memoizedState.deps)?c.memoizedState=Hi(e,f,a,o):(Pt.flags|=t,c.memoizedState=Hi(ro|e,f,a,o))}function gs(t,e){(Pt.mode&ko)!==$t?Su(276826112,El,t,e):Su(8390656,El,t,e)}function Cv(t){Pt.flags|=4;var e=Pt.updateQueue;if(e===null)e=vf(),Pt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function wf(t){var e=Dn(),a={impl:t};return e.memoizedState=a,function(){if((xe&sa)!==va)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Mr(t){var e=je().memoizedState;return Cv({ref:e,nextImpl:t}),function(){if((xe&sa)!==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(Pt.mode&ko)!==$t&&(a|=134217728),Su(a,mi,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 Bi(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;(Pt.mode&ko)!==$t&&(o|=134217728),Su(o,mi,cl.bind(null,e,t),a)}function Or(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,mi,cl.bind(null,e,t),a)}function zh(t,e){return Dn().memoizedState=[t,e===void 0?null:e],t}function ei(t,e){var a=je();e=e===void 0?null:e;var o=a.memoizedState;return e!==null&&gg(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){Ot(!0);try{t()}finally{Ot(!1)}}return a.memoizedState=[o,e],o}function en(t,e){var a=je();e=e===void 0?null:e;var o=a.memoizedState;if(e!==null&&gg(e,o[1]))return o[0];if(o=t(),Ed){Ot(!0);try{t()}finally{Ot(!1)}}return a.memoizedState=[o,e],o}function _r(t,e){var a=Dn();return Ne(a,t,e)}function Li(t,e){var a=je();return En(a,$e.memoizedState,t,e)}function le(t,e){var a=je();return $e===null?Ne(a,t,e):En(a,$e.memoizedState,t,e)}function Ne(t,e,a){return a===void 0||(Zs&1073741824)!==0&&(de&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=kr(),Pt.lanes|=t,Cc|=t,a)}function En(t,e,a,o){return bl(a,e)?a:Ip.current!==null?(t=Ne(t,a,o),bl(t,e)||(Pn=!0),t):(Zs&42)===0||(Zs&1073741824)!==0&&(de&261930)===0?(Pn=!0,t.memoizedState=a):(t=kr(),Pt.lanes|=t,Cc|=t,e)}function ys(){tt.asyncTransitions--}function vs(t,e,a,o,c){var f=Oe.p;Oe.p=f!==0&&f<oa?f:oa;var g=tt.T,v={};v._updatedFibers=new Set,tt.T=v,Rf(t,!1,e,a);try{var w=c(),D=tt.S;if(D!==null&&D(v,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){tt.asyncTransitions++,w.then(ys,ys);var L=Sh(w,o);bs(t,e,L,ha(t))}else bs(t,e,o,ha(t))}catch(Y){bs(t,e,{then:function(){},status:"rejected",reason:Y},ha(t))}finally{Oe.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),tt.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=xf(t).queue;Av(t),vs(t,c,e,Ud,a===null?A:function(){return Ur(t),a(o)})}function xf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Ud,baseState:Ud,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:Ud},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Ur(t){tt.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=xf(t);e.next===null&&(e=t.alternate.memoizedState),bs(t,e.next.queue,{},ha(t))}function Tu(){var t=Ah(!1);return t=vs.bind(null,Pt,t.queue,!0,!1),Dn().memoizedState=t,[!1,t]}function zv(){var t=ds(sl)[0],e=je().memoizedState;return[typeof t=="boolean"?t:bf(t),e]}function rn(){var t=hs(sl)[0],e=je().memoizedState;return[typeof t=="boolean"?t:bf(t),e]}function Mo(){return ze(zy)}function Af(){var t=Dn(),e=Fe.identifierPrefix;if(be){var a=Ys,o=ks;a=(o&~(1<<32-ia(o)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Ib++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=A_++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Mh(){return Dn().memoizedState=Mv.bind(null,Pt)}function Mv(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var o=ha(a),c=_n(o),f=Ui(a,c,o);f!==null&&(Mi(o,"refresh()",t),Ft(f,a,o),Ul(f,a,o)),t=vh(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function f2(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=ts(t,e,c,o),c!==null&&(Mi(o,"dispatch()",t),Ft(c,t,o),Df(c,e,o)))}function Oh(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),bs(t,e,a,o)&&Mi(o,"setState()",t)}function bs(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=tt.H;tt.H=qo;try{var v=e.lastRenderedState,w=f(v,a);if(c.hasEagerState=!0,c.eagerState=w,bl(w,v))return vr(t,e,c,0),Fe===null&&dh(),!1}catch{}finally{tt.H=g}}if(a=ts(t,e,c,o),a!==null)return Ft(a,t,o),Df(a,e,o),!0}return!1}function Rf(t,e,a,o){if(tt.T===null&&yd===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:r0(),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=ts(t,a,o,2),e!==null&&(Mi(2,"setOptimistic()",t),Ft(e,t,2))}function Qn(t){var e=t.alternate;return t===Pt||e!==null&&e===Pt}function mn(t,e){nm=Pb=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Df(t,e,a){if((a&4194048)!==0){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,Jc(t,a)}}function Ss(t){if(t!==null&&typeof t!="function"){var e=String(t);RR.has(e)||(RR.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function jr(t,e,a,o){var c=t.memoizedState,f=a(o,c);if(t.mode&Ka){Ot(!0);try{f=a(o,c)}finally{Ot(!1)}}f===void 0&&(e=Q(e)||"Component",ER.has(e)||(ER.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=f==null?c:re({},c,f),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function _h(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&Ka){Ot(!0);try{a=v.shouldComponentUpdate(o,f,g)}finally{Ot(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Q(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!yr(a,o)||!yr(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=ht(t)||"Component",yR.has(t)||(yR.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),I2.enqueueReplaceState(e,e.state,null))}function ki(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=re({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function Uh(t){M2(t),console.warn(`%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 yg(t,e,a,o,c,f){Zs=f,It=e,fo=t!==null?t._debugHookTypes:null,Ks=-1,h0=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=J(It),W2.has(f)||(W2.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,et.H=t!==null&&t.memoizedState!==null?I2:fo!==null?bR:P2,Ed=f=(e.mode&Ka)!==Ft;var g=X2(a,o,c);if(Ed=!1,nm&&(g=mf(e,a,o,c)),f){_t(!0);try{g=mf(e,a,o,c)}finally{_t(!1)}}return Tn(t,e),g}function Tn(t,e){e._debugHookTypes=fo,e.dependencies===null?Js!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:Js}):e.dependencies._debugThenableState=Js,et.H=p0;var a=$e!==null&&$e.next!==null;if(Zs=0,fo=I=Wn=$e=It=null,Ks=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),t1=!1,d0=0,Js=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&&Tr(t)&&(Pn=!0)),r0?(r0=!1,t=!0):t=!1,t&&(e=J(e)||"Unknown",yR.has(e)||W2.has(e)||(yR.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 mf(t,e,a,o){It=t;var c=0;do{if(nm&&(Js=null),d0=0,nm=!1,c>=U_)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,h0=!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)}Ks=-1,et.H=SR,f=X2(e,a,o)}while(nm);return f}function gf(){var t=et.H,e=t.useState()[0];return e=typeof e.then=="function"?bf(e):e,t=t.useState()[0],($e!==null?$e.memoizedState:null)!==t&&(It.flags|=1024),e}function fs(){var t=e1!==0;return e1=0,t}function yf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&ko)!==Ft?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function du(t){if(t1){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}t1=!1}Zs=0,fo=Wn=$e=It=null,Ks=-1,I=null,nm=!1,d0=e1=0,Js=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 vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function bf(t){var e=d0;return d0+=1,Js===null&&(Js=Th()),t=il(Js,t,e),e=It,(Wn===null?e.memoizedState:Wn.next)===null&&(e=e.alternate,et.H=e!==null&&e.memoizedState!==null?I2:P2),t}function Ro(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return bf(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=vf(),It.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||h0)for(a=e.data[e.index]=Array(t),o=0;o<t;o++)a[o]=y2;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 sl(t,e){return typeof e=="function"?e(t):e}function Dr(t,e,a){var o=Dn();if(a!==void 0){var c=a(e);if(Ed){_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=d2.bind(null,It,t),[o.memoizedState,t]}function ds(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,x=null,D=e,L=!1;do{var q=D.lane&-536870913;if(q!==D.lane?(de&q)===q:(Zs&q)===q){var j=D.revertLane;if(j===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),q===yd&&(L=!0);else if((Zs&j)===j){D=D.next,j===yd&&(L=!0);continue}else q={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},x===null?(v=x=q,g=f):x=x.next=q,It.lanes|=j,zc|=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},x===null?(v=x=j,g=f):x=x.next=j,It.lanes|=q,zc|=q;D=D.next}while(D!==null&&D!==e);if(x===null?g=f:x.next=v,!bl(f,t.memoizedState)&&(Pn=!0,L&&(a=Fp,a!==null)))throw a;t.memoizedState=f,t.baseState=g,t.baseQueue=x,o.lastRenderedState=f}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function hs(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 zr(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();em||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),em=!0)}else{if(f=e(),em||(a=e(),bl(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),em=!0)),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(de&127)!==0||vg(o,e,f)}return c.memoizedState=f,a={value:f,getSnapshot:e},c.queue=a,gs(pu.bind(null,o,a,t),[t]),o.flags|=2048,Bi(co|El,{destroy:void 0},bg.bind(null,o,a,f,e),null),f}function ps(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(),!em){var g=e();bl(a,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),em=!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,El,v,[t]),c.getSnapshot!==e||g||Wn!==null&&Wn.memoizedState.tag&co){if(o.flags|=2048,Bi(co|El,{destroy:void 0},bg.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||(Zs&127)!==0||vg(o,e,a)}return a}function vg(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=It.updateQueue,e===null?(e=vf(),It.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function bg(t,e,a,o){e.value=a,e.getSnapshot=o,mu(e)&&Sg(t)}function pu(t,e,a){return a(function(){mu(e)&&(Oi(2,"updateSyncExternalStore()",t),Sg(t))})}function mu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!bl(t,a)}catch{return!0}}function Sg(t){var e=fa(t,2);e!==null&&Wt(e,t,2)}function Ah(t){var e=Dn();if(typeof t=="function"){var a=t;if(t=a(),Ed){_t(!0);try{a()}finally{_t(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:t},e}function gu(t){t=Ah(t);var e=t.queue,a=Oh.bind(null,It,e);return e.dispatch=a,[t.memoizedState,a]}function ms(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=Rf.bind(null,It,!0,a),a.dispatch=e,[t,e]}function Sf(t,e){var a=He();return Cr(a,$e,t,e)}function Cr(t,e,a,o){return t.baseState=a,hu(t,$e,typeof o=="function"?o:sl)}function Tf(t,e){var a=He();return $e!==null?Cr(a,$e,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Cv(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)}};et.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=et.T,g={};g._updatedFibers=new Set,et.T=g;try{var v=a(c,o),x=et.S;x!==null&&x(g,v),Tg(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),et.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){Ef(t,e,D)}}function Tg(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(et.asyncTransitions++,a.then(ys,ys),a.then(function(o){Do(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.")):Do(t,e,a)}function Do(t,e,a){e.status="fulfilled",e.value=a,Rh(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 Ef(t,e,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do e.status="rejected",e.reason=a,Rh(e),e=e.next;while(e!==o)}t.action=null}function Rh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function zo(t,e){return e}function rl(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===ET||f===iD?c:null}if(c){on=ml(c.nextSibling),o=c.data===ET;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=Oh.bind(null,It,o),o.dispatch=a,o=Ah(!1),f=Rf.bind(null,It,!1,o.queue),o=Dn(),c={state:e,dispatch:null,action:t,pending:null},o.queue=c,a=Cv.bind(null,It,c,f,a),c.dispatch=a,o.memoizedState=t,[e,a,!1]}function vu(t){var e=He();return Dh(e,$e,t)}function Dh(t,e,a){if(e=hu(t,e,zo)[0],t=ds(sl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var o=bf(e)}catch(g){throw g===Wp?Fb:g}else o=e;e=He();var c=e.queue,f=c.dispatch;return a!==e.memoizedState&&(It.flags|=2048,Bi(co|El,{destroy:void 0},Eg.bind(null,c,a),null)),[o,f,t]}function Eg(t,e){t.action=e}function bu(t){var e=He(),a=$e;if(a!==null)return Dh(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=vf(),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&&gg(o,$e.memoizedState.deps)?c.memoizedState=Bi(e,f,a,o):(It.flags|=t,c.memoizedState=Bi(co|e,f,a,o))}function gs(t,e){(It.mode&ko)!==Ft?Su(276826112,El,t,e):Su(8390656,El,t,e)}function Mv(t){It.flags|=4;var e=It.updateQueue;if(e===null)e=vf(),It.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function wf(t){var e=Dn(),a={impl:t};return e.memoizedState=a,function(){if((Re&sa)!==va)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Mr(t){var e=He().memoizedState;return Mv({ref:e,nextImpl:t}),function(){if((Re&sa)!==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&ko)!==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&ko)!==Ft&&(o|=134217728),Su(o,gi,cl.bind(null,e,t),a)}function Or(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 Ch(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&&gg(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){_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&&gg(e,o[1]))return o[0];if(o=t(),Ed){_t(!0);try{t()}finally{_t(!1)}}return a.memoizedState=[o,e],o}function _r(t,e){var a=Dn();return Be(a,t,e)}function Vi(t,e){var a=He();return En(a,$e.memoizedState,t,e)}function le(t,e){var a=He();return $e===null?Be(a,t,e):En(a,$e.memoizedState,t,e)}function Be(t,e,a){return a===void 0||(Zs&1073741824)!==0&&(de&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=kr(),It.lanes|=t,zc|=t,a)}function En(t,e,a,o){return bl(a,e)?a:Ip.current!==null?(t=Be(t,a,o),bl(t,e)||(Pn=!0),t):(Zs&42)===0||(Zs&1073741824)!==0&&(de&261930)===0?(Pn=!0,t.memoizedState=a):(t=kr(),It.lanes|=t,zc|=t,e)}function ys(){et.asyncTransitions--}function vs(t,e,a,o,c){var f=je.p;je.p=f!==0&&f<oa?f:oa;var g=et.T,v={};v._updatedFibers=new Set,et.T=v,Rf(t,!1,e,a);try{var x=c(),D=et.S;if(D!==null&&D(v,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){et.asyncTransitions++,x.then(ys,ys);var L=Sh(x,o);bs(t,e,L,ha(t))}else bs(t,e,o,ha(t))}catch(q){bs(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),et.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 Co(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=xf(t).queue;Dv(t),vs(t,c,e,Ud,a===null?A:function(){return Ur(t),a(o)})}function xf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Ud,baseState:Ud,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:Ud},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Ur(t){et.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=xf(t);e.next===null&&(e=t.alternate.memoizedState),bs(t,e.next.queue,{},ha(t))}function Tu(){var t=Ah(!1);return t=vs.bind(null,It,t.queue,!0,!1),Dn().memoizedState=t,[!1,t]}function Ov(){var t=ds(sl)[0],e=He().memoizedState;return[typeof t=="boolean"?t:bf(t),e]}function rn(){var t=hs(sl)[0],e=He().memoizedState;return[typeof t=="boolean"?t:bf(t),e]}function Mo(){return _e(C0)}function Af(){var t=Dn(),e=Fe.identifierPrefix;if(Se){var a=Ys,o=ks;a=(o&~(1<<32-ia(o)-1)).toString(32)+a,e="_"+e+"R_"+a,a=e1++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=__++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Mh(){return Dn().memoizedState=_v.bind(null,It)}function _v(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),Ul(f,a,o)),t=vh(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function d2(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=ts(t,e,c,o),c!==null&&(Oi(o,"dispatch()",t),Wt(c,t,o),Df(c,e,o)))}function Oh(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),bs(t,e,a,o)&&Oi(o,"setState()",t)}function bs(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=et.H;et.H=qo;try{var v=e.lastRenderedState,x=f(v,a);if(c.hasEagerState=!0,c.eagerState=x,bl(x,v))return vr(t,e,c,0),Fe===null&&dh(),!1}catch{}finally{et.H=g}}if(a=ts(t,e,c,o),a!==null)return Wt(a,t,o),Df(a,e,o),!0}return!1}function Rf(t,e,a,o){if(et.T===null&&yd===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:ry(),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=ts(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){nm=t1=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Df(t,e,a){if((a&4194048)!==0){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,Jc(t,a)}}function Ss(t){if(t!==null&&typeof t!="function"){var e=String(t);OR.has(e)||(OR.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function jr(t,e,a,o){var c=t.memoizedState,f=a(o,c);if(t.mode&Ka){_t(!0);try{f=a(o,c)}finally{_t(!1)}}f===void 0&&(e=Q(e)||"Component",DR.has(e)||(DR.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=f==null?c:re({},c,f),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function _h(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&Ka){_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.",Q(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!yr(a,o)||!yr(c,f):!0}function ki(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=J(t)||"Component",ER.has(t)||(ER.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),tT.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=re({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function Uh(t){O2(t),console.warn(`%s
|
|
129
129
|
|
|
130
130
|
%s
|
|
131
131
|
`,am?"An error occurred in the <"+am+"> 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 jh(t){var e=am?"The above error occurred in the <"+am+"> 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, "+((
|
|
132
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function jh(t){var e=am?"The above error occurred in the <"+am+"> 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, "+((eT||"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,hD+" "+t[0],pD,R1+o+R1,mD):t.splice(0,0,hD,pD,R1+o+R1,mD),t.unshift(console),o=I_.apply(console.error,t),o()}else console.error(`%o
|
|
138
138
|
|
|
139
139
|
%s
|
|
140
140
|
|
|
141
141
|
%s
|
|
142
|
-
`,t,e,a)}function wg(t){
|
|
142
|
+
`,t,e,a)}function wg(t){O2(t)}function zf(t,e){try{am=e.source?J(e.source):null,eT=null;var a=e.value;if(et.actQueue!==null)et.thrownErrors.push(a);else{var o=t.onUncaughtError;o(a,{componentStack:e.stack})}}catch(c){setTimeout(function(){throw c})}}function xg(t,e,a){try{am=a.source?J(a.source):null,eT=J(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 Nh(t,e,a){return a=_n(a),a.tag=K2,a.payload={element:null},a.callback=function(){Rt(e.source,zf,t,e)},a}function Hh(t){return t=_n(t),t.tag=K2,t}function Bh(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(){es(a),Rt(o.source,xg,e,a,o)}}var g=a.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){es(a),Rt(o.source,xg,e,a,o),typeof c!="function"&&(Mc===null?Mc=new Set([this]):Mc.add(this)),z_(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.",J(a)||"Unknown")})}function Ag(t,e,a,o,c){if(a.flags|=32768,to&&Qr(t,c),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(e=a.alternate,e!==null&&Wl(e,a,c,!0),Se&&(Bu=!0),a=mi.current,a!==null){switch(a.tag){case 31:case 13:return ro===null?qr():a.alternate===null&&yn===Fs&&(yn=l1),a.flags&=-257,a.flags|=65536,a.lanes=c,o===Wb?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([o]):e.add(o),ap(t,o,c)),!1;case 22:return a.flags|=65536,o===Wb?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)),ap(t,o,c)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return ap(t,o,c),qr(),!1}if(Se)return Bu=!0,e=mi.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=c,o!==B2&&uf(Ta(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!==B2&&uf(Ta(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=Ta(o,a),c=Nh(t.stateNode,o,c),hf(t,c),yn!==Rc&&(yn=wd)),!1;var f=Ta(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(S0===null?S0=[f]:S0.push(f),yn!==Rc&&(yn=wd),e===null)return!0;o=Ta(o,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=c&-c,a.lanes|=t,t=Nh(a.stateNode,o,t),hf(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"&&(Mc===null||!Mc.has(f))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Hh(c),Bh(c,t,a,o),hf(a,c),!1}a=a.return}while(a!==null);return!1}function Zn(t,e,a,o){e.child=t===null?fR(e,null,a,o):Td(e,t.child,a,o)}function Uv(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 cu(e),o=yg(t,e,a,g,f,c),v=fs(),t!==null&&!Pn?(yf(t,e,c),ai(t,e,c)):(Se&&v&&mh(e),e.flags|=1,Zn(t,e,o,c),e.child)}function Rg(t,e,a,o,c){if(t===null){var f=a.type;return typeof f=="function"&&!lg(f)&&f.defaultProps===void 0&&a.compare===null?(a=iu(f),e.tag=15,e.type=a,Nr(e,f),Dg(t,e,a,o,c)):(t=ns(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:yr,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 Dg(t,e,a,o,c){if(t!==null){var f=t.memoizedProps;if(yr(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 Og(t,e,a,o,c)}function zg(t,e,a,o){var c=o.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:$y,_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 Cg(t,e,f,a,o)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&wr(e,f!==null?f.cachePool:null),f!==null?wh(e,f):xo(e),xh(e);else return o=e.lanes=536870912,Cg(t,e,f!==null?f.baseLanes|a:a,a,o)}else f!==null?(wr(e,f.cachePool),wh(e,f),Hi(e),e.memoizedState=null):(t!==null&&wr(e,null),xo(e),Hi(e));return Zn(t,e,c,a),e.child}function Ts(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:$y,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Cg(t,e,a,o,c){var f=wo();return f=f===null?null:{parent:$n._currentValue,pool:f},e.memoizedState={baseLanes:a,cachePool:f},t!==null&&wr(e,null),xo(e),xh(e),t!==null&&Wl(t,e,o,!0),e.childLanes=c,null}function Cf(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=Of({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Mg(t,e,a){return Td(e,t.child,null,a),t=
|
|
144
|
+
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=Of({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Mg(t,e,a){return Td(e,t.child,null,a),t=Cf(e,e.pendingProps),t.flags|=2,Xn(e),e.memoizedState=null,t}function jv(t,e,a){var o=e.pendingProps,c=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Se){if(o.mode==="hidden")return t=Cf(e,o),e.lanes=536870912,Ts(null,t);if(ei(e),(t=on)?(a=Ve(t,uo),a=a!==null&&a.data===Cd?a:null,a!==null&&(o={dehydrated:a,treeContext:xv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=og(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 Cf(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=Mg(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(Rv(),(a&536870912)!==0&&Yr(e),Pn||Wl(t,e,a,!1),c=(a&t.childLanes)!==0,Pn||c){if(o=Fe,o!==null&&(g=Qu(o,a),g!==0&&g!==f.retryLane))throw f.retryLane=g,fa(t,g),Wt(o,t,g),nT;qr(),e=Mg(t,e,a)}else t=f.treeContext,on=ml(g.nextSibling),Ha=e,Se=!0,Sc=null,Bu=!1,pi=null,uo=!1,t!==null&&Av(e,t),e=Cf(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&&Yr(e),t=Mi(f,o),t.ref=e.ref,e.child=t,t.return=e,t}function Mf(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 Og(t,e,a,o,c){if(a.prototype&&typeof a.prototype.render=="function"){var f=Q(a)||"Unknown";_R[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),_R[f]=!0)}return e.mode&Ka&&Yo.recordLegacyContextWarning(e,null),t===null&&(Nr(e,e.type),a.contextTypes&&(f=Q(a)||"Unknown",jR[f]||(jR[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)))),cu(e),a=yg(t,e,a,o,void 0,c),o=fs(),t!==null&&!Pn?(yf(t,e,c),ai(t,e,c)):(Se&&o&&mh(e),e.flags|=1,Zn(t,e,a,c),e.child)}function _g(t,e,a,o,c,f){return cu(e),Ks=-1,h0=t!==null&&t.type!==e.type,e.updateQueue=null,a=mf(e,o,a,c),Tn(t,e),o=fs(),t!==null&&!Pn?(yf(t,e,f),ai(t,e,f)):(Se&&o&&mh(e),e.flags|=1,Zn(t,e,a,f),e.child)}function Es(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=Hh(v),Bh(v,g,e,Ta(f,e)),hf(e,v)}if(cu(e),e.stateNode===null){if(g=bc,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==fi)&&!MR.has(a)&&(MR.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===Ap?" 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",Q(a)||"Component",v)),typeof f=="object"&&f!==null&&(g=_e(f)),f=new a(o,g),e.mode&Ka){_t(!0);try{f=new a(o,g)}finally{_t(!1)}}if(g=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=tT,e.stateNode=f,f._reactInternals=e,f._reactInternalInstance=TR,typeof a.getDerivedStateFromProps=="function"&&g===null&&(g=Q(a)||"Component",wR.has(g)||(wR.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 x=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?x="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(x="UNSAFE_componentWillUpdate"),g!==null||v!==null||x!==null){f=Q(a)||"Component";var D=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";AR.has(f)||(AR.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
|
|
|
148
148
|
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
|
-
`+v:"",
|
|
152
|
-
`+
|
|
153
|
-
%s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=Q(e)||"Unknown",MR[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),MR[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=Q(e)||"Unknown",CR[e]||(console.error("%s: Function components do not support contextType.",e),CR[e]=!0))}function Hr(t){return{baseLanes:t,cachePool:dg()}}function Lh(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Yl),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&fy)!==0),o&&(f=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(be){if(f?Aa(e):Ni(e),(t=on)?(a=Be(t,oo),a=a!==null&&a.data!==zd?a:null,a!==null&&(o={dehydrated:a,treeContext:Ev(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=og(a),o.return=e,e.child=o,Ha=e,on=null)):a=null,a===null)throw da(e,t),Cl(e);return d0(a)?e.lanes=32:e.lanes=536870912,null}var v=c.children;if(c=c.fallback,f){Ni(e);var w=e.mode;return v=Of({mode:"hidden",children:v},w),c=as(c,w,a,null),v.return=e,c.return=e,v.sibling=c,e.child=v,c=e.child,c.memoizedState=Hr(a),c.childLanes=Lh(t,o,a),e.memoizedState=nT,Ts(null,c)}return Aa(e),jg(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=kh(t,e,a)):e.memoizedState!==null?(Ni(e),e.child=t.child,e.flags|=128,e=null):(Ni(e),v=c.fallback,w=e.mode,c=Of({mode:"visible",children:c.children},w),v=as(v,w,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=Hr(a),c.childLanes=Lh(t,o,a),e.memoizedState=nT,e=Ts(null,c));else if(Aa(e),xv(),(a&536870912)!==0&&Yr(e),d0(L)){if(o=L.nextSibling&&L.nextSibling.dataset,o){v=o.dgst;var Y=o.msg;w=o.stck;var j=o.cstck}f=Y,o=v,c=w,L=j,v=f,w=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=w===void 0?null:w,c={value:v,source:null,stack:o},typeof o=="string"&&N2.set(v,c),uf(c),e=kh(t,e,a)}else if(Pn||Fl(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),Ft(o,t,c),eT;$f(L)||qr(),e=kh(t,e,a)}else $f(L)?(e.flags|=192,e.child=t.child,e=null):(t=D.treeContext,on=ml(L.nextSibling),Ha=e,be=!0,Sc=null,Bu=!1,hi=null,oo=!1,t!==null&&wv(e,t),e=jg(e,c.children),e.flags|=4096);return e}}return f?(Ni(e),v=c.fallback,w=e.mode,j=t.child,L=j.sibling,c=zi(j,{mode:"hidden",children:c.children}),c.subtreeFlags=j.subtreeFlags&65011712,L!==null?v=zi(L,v):(v=as(v,w,a,null),v.flags|=2),v.return=e,c.return=e,c.sibling=v,e.child=c,Ts(null,c),c=e.child,v=t.child.memoizedState,v===null?v=Hr(a):(w=v.cachePool,w!==null?(j=$n._currentValue,w=w.parent!==j?{parent:j,pool:j}:w):w=dg(),v={baseLanes:v.baseLanes|a,cachePool:w}),c.memoizedState=v,c.childLanes=Lh(t,o,a),e.memoizedState=nT,Ts(t.child,c)):(D!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&Yr(e),Aa(e),a=t.child,t=a.sibling,a=zi(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 jg(t,e){return e=Of({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Of(t,e){return t=C(22,t,null,e),t.lanes=0,t}function kh(t,e,a){return Td(e,t.child,null,a),t=jg(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Ng(t,e,a){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),yh(t.return,e,a)}function Yh(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 Hg(t,e,a){var o=e.pendingProps,c=o.revealOrder,f=o.tail,g=o.children,v=Bn.current;if((o=(v&fy)!==0)?(v=v&tm|fy,e.flags|=128):v&=tm,Jt(Bn,v,e),v=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!OR[v])if(OR[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",e1[v]||(f==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(e1[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"?(e1[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"&&(e1[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 w=v.next(),D=0;!w.done;w=v.next()){if(!Ze(w.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),be?(uu(),g=F0):g=0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ng(t,a,e);else if(t.tag===19)Ng(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&&cs(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),Yh(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&&cs(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}Yh(e,!0,a,null,f,g);break;case"together":Yh(e,!1,null,null,void 0,g);break;default:e.memoizedState=null}return e.child}function ni(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Sl=-1,Cc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Fl(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=zi(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=zi(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&&Tr(t)))}function Uv(t,e,a){switch(e.tag){case 3:Le(e,e.stateNode.containerInfo),zl(e,$n,t.memoizedState.cache),su();break;case 27:case 5:dt(e);break;case 4:Le(e,e.stateNode.containerInfo);break;case 10:zl(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,ti(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=ni(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||(Fl(t,e,a,!1),o=(a&e.childLanes)!==0),c){if(o)return Hg(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Jt(Bn,Bn.current,e),o)break;return null;case 22:return e.lanes=0,Cg(t,e,a,e.pendingProps);case 24:zl(e,$n,t.memoizedState.cache)}return ni(t,e,a)}function _f(t,e,a){if(e._debugNeedsRemount&&t!==null){a=ns(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,Uv(t,e,a);Pn=(t.flags&131072)!==0}else Pn=!1,(o=be)&&(uu(),o=(e.flags&1048576)!==0),o&&(o=e.index,uu(),ug(e,F0,o));switch(e.lanes=0,e.tag){case 16:t:if(o=e.pendingProps,t=ol(e.elementType),e.type=t,typeof t=="function")lg(t)?(o=ki(t,o),e.tag=1,e.type=t=iu(t),e=Es(null,e,t,o,a)):(e.tag=0,Nr(e,t),e.type=t=iu(t),e=Og(null,e,t,o,a));else{if(t!=null){if(c=t.$$typeof,c===ic){e.tag=11,e.type=t=hh(t),e=Ov(null,e,t,o,a);break t}else if(c===id){e.tag=14,e=Rg(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=Q(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 Og(t,e,e.type,e.pendingProps,a);case 1:return o=e.type,c=ki(o,e.pendingProps),Es(t,e,o,c,a);case 3:t:{if(Le(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,_i(t,e),ji(e,o,null,a);var g=e.memoizedState;if(o=g.cache,zl(e,$n,o),o!==f.cache&&So(e,[$n],a,!0),Ar(),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=Ug(t,e,o,a);break t}else if(o!==c){c=Ta(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),uf(c),e=Ug(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,be=!0,Sc=null,Bu=!1,hi=null,oo=!0,a=oR(e,null,o,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(su(),o===c){e=ni(t,e,a);break t}Zn(t,e,o,a)}e=e.child}return e;case 26:return Mf(t,e),t===null?(a=g0(e.type,null,e.pendingProps,null))?e.memoizedState=a:be||(a=e.type,t=e.pendingProps,o=_e(gl.current),o=Jf(o).createElement(a),o[an]=e,o[Na]=t,nn(o,a,t),jt(o),e.stateNode=o):e.memoizedState=g0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return dt(e),t===null&&be&&(o=_e(gl.current),c=I(),o=e.stateNode=Ho(e.type,e.pendingProps,o,c,!1),Bu||(c=Qa(o,e.type,e.pendingProps,c),c!==null&&(ls(e,0).serverProps=c)),Ha=e,oo=!0,c=on,Mu(e.type)?(AT=c,on=ml(o.firstChild)):on=c),Zn(t,e,e.pendingProps.children,a),Mf(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&be&&(f=I(),o=Fc(e.type,f.ancestorInfo),c=on,(g=!c)||(g=rb(c,e.type,e.pendingProps,oo),g!==null?(e.stateNode=g,Bu||(f=Qa(g,e.type,e.pendingProps,f),f!==null&&(ls(e,0).serverProps=f)),Ha=e,on=ml(g.firstChild),oo=!1,f=!0):f=!1,g=!f),g&&(o&&da(e,c),Cl(e))),dt(e),c=e.type,f=e.pendingProps,g=t!==null?t.memoizedProps:null,o=f.children,Fr(c,f)?o=null:g!==null&&Fr(c,g)&&(e.flags|=32),e.memoizedState!==null&&(c=yg(t,e,gf,null,null,a),zy._currentValue=c),Mf(t,e),Zn(t,e,o,a),e.child;case 6:return t===null&&be&&(a=e.pendingProps,t=I(),o=t.ancestorInfo.current,a=o!=null?Wc(a,o.tag,t.ancestorInfo.implicitRootScope):!0,t=on,(o=!t)||(o=cb(t,e.pendingProps,oo),o!==null?(e.stateNode=o,Ha=e,on=null,o=!0):o=!1,o=!o),o&&(a&&da(e,t),Cl(e))),null;case 13:return Vh(t,e,a);case 4:return Le(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 Ov(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||_R||(_R=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),zl(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=ze(c),o=G2(o,c,void 0),e.flags|=1,Zn(t,e,o,a),e.child;case 14:return Rg(t,e,e.type,e.pendingProps,a);case 15:return Dg(t,e,e.type,e.pendingProps,a);case 19:return Hg(t,e,a);case 31:return _v(t,e,a);case 22:return Cg(t,e,a,e.pendingProps);case 24:return cu(e),o=ze($n),t===null?(c=wo(),c===null&&(c=Fe,f=vh(),c.pooledCache=f,os(f),f!==null&&(c.pooledCacheLanes|=a),c=f),e.memoizedState={parent:o,cache:c},ye(e),zl(e,$n,c)):((t.lanes&a)!==0&&(_i(t,e),ji(e,null,null,a),Ar()),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),zl(e,$n,o)):(o=f.cache,zl(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 Yi(t){t.flags|=4}function Gh(t,e,a,o,c){if((e=(t.mode&g_)!==$t)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(t0())t.flags|=8192;else throw Sd=$b,Q2}else t.flags&=-16777217}function jv(t,e){if(e.type!=="stylesheet"||(e.state.loading&fo)!==_d)t.flags&=-16777217;else if(t.flags|=16777216,!ge(e))if(t0())t.flags|=8192;else throw Sd=$b,Q2}function Br(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ir():536870912,t.lanes|=e,Rd|=e)}function Lr(t,e){if(!be)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 ke(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(e)if((t.mode&ce)!==$t){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)!==$t){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 Bg(t,e,a){var o=e.pendingProps;switch(gh(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(e),null;case 1:return ke(e),null;case 3:return a=e.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),e.memoizedState.cache!==o&&(e.flags|=2048),$l($n,e),V(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(is(e)?(ru(),Yi(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,of())),ke(e),null;case 26:var c=e.type,f=e.memoizedState;return t===null?(Yi(e),f!==null?(ke(e),jv(e,f)):(ke(e),Gh(e,c,null,o,a))):f?f!==t.memoizedState?(Yi(e),ke(e),jv(e,f)):(ke(e),e.flags&=-16777217):(t=t.memoizedProps,t!==o&&Yi(e),ke(e),Gh(e,c,t,o,a)),null;case 27:if(Ct(e),a=_e(gl.current),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&Yi(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 ke(e),null}t=I(),is(e)?sg(e):(t=Ho(c,o,a,t,!0),e.stateNode=t,Yi(e))}return ke(e),null;case 5:if(Ct(e),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&Yi(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 ke(e),null}var g=I();if(is(e))sg(e);else{switch(f=_e(gl.current),Fc(c,g.ancestorInfo),g=g.context,f=Jf(f),g){case dm:f=f.createElementNS(ue,c);break;case T1:f=f.createElementNS(ne,c);break;default:switch(c){case"svg":f=f.createElementNS(ue,c);break;case"math":f=f.createElementNS(ne,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(nD,c)||(nD[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&&Yi(e)}}return ke(e),Gh(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==o&&Yi(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=_e(gl.current),a=I(),is(e)){if(t=e.stateNode,a=e.memoizedProps,c=!Bu,o=null,f=Ha,f!==null)switch(f.tag){case 3:c&&(c=hb(t,a,o),c!==null&&(ls(e,0).serverProps=c));break;case 27:case 5:o=f.memoizedProps,c&&(c=hb(t,a,o),c!==null&&(ls(e,0).serverProps=c))}t[an]=e,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||c0(t.nodeValue,a)),t||Cl(e,!0)}else c=a.ancestorInfo.current,c!=null&&Wc(o,c.tag,a.ancestorInfo.implicitRootScope),t=Jf(t).createTextNode(o),t[an]=e,e.stateNode=t}return ke(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(o=is(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,ke(e),(e.mode&ce)!==$t&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else ru(),su(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,ke(e),(e.mode&ce)!==$t&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=of(),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 ke(e),null;case 13:if(o=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=o,f=is(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,ke(e),(e.mode&ce)!==$t&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration))}else ru(),su(),(e.flags&128)===0&&(c=e.memoizedState=null),e.flags|=4,ke(e),(e.mode&ce)!==$t&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=of(),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)!==$t&&ss(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),Br(e,e.updateQueue),ke(e),(e.mode&ce)!==$t&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return V(e),t===null&&Cu(e.stateNode.containerInfo),ke(e),null;case 10:return $l(e.type,e),ke(e),null;case 19:if(Dt(Bn,e),o=e.memoizedState,o===null)return ke(e),null;if(c=(e.flags&128)!==0,f=o.rendering,f===null)if(c)Lr(o,!1);else{if(yn!==Fs||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=cs(t),f!==null){for(e.flags|=128,Lr(o,!1),t=f.updateQueue,e.updateQueue=t,Br(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)ig(a,t),a=a.sibling;return Jt(Bn,Bn.current&tm|fy,e),be&&Kl(e,o.treeForkCount),e.child}t=t.sibling}o.tail!==null&&Kn()>s1&&(e.flags|=128,c=!0,Lr(o,!1),e.lanes=4194304)}else{if(!c)if(t=cs(f),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,Br(e,t),Lr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!be)return ke(e),null}else 2*Kn()-o.renderingStartTime>s1&&a!==536870912&&(e.flags|=128,c=!0,Lr(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=Kn(),t.sibling=null,a=Bn.current,a=c?a&tm|fy:a&tm,Jt(Bn,a,e),be&&Kl(e,o.treeForkCount),t):(ke(e),null);case 22:case 23:return Xn(e),Il(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&&(ke(e),e.subtreeFlags&6&&(e.flags|=8192)):ke(e),a=e.updateQueue,a!==null&&Br(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&&Dt(vd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),$l($n,e),ke(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 Nv(t,e){switch(gh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==$t&&ss(e),e):null;case 3:return $l($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 Ct(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)!==$t&&ss(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)!==$t&&ss(e),e):null;case 19:return Dt(Bn,e),null;case 4:return V(e),null;case 10:return $l(e.type,e),null;case 22:case 23:return Xn(e),Il(e),t!==null&&Dt(vd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==$t&&ss(e),e):null;case 24:return $l($n,e),null;case 25:return null;default:return null}}function Lg(t,e){switch(gh(e),e.tag){case 3:$l($n,e),V(e);break;case 26:case 27:case 5:Ct(e);break;case 4:V(e);break;case 31:e.memoizedState!==null&&Xn(e);break;case 13:Xn(e);break;case 19:Dt(Bn,e);break;case 10:$l(e.type,e);break;case 22:case 23:Xn(e),Il(e),t!==null&&Dt(vd,e);break;case 24:$l($n,e)}}function qi(t){return(t.mode&ce)!==$t}function Hv(t,e){qi(t)?(hn(),Oo(e,t),wa()):Oo(e,t)}function Xh(t,e,a){qi(t)?(hn(),Eu(a,t,e),wa()):Eu(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&Tl)!==Wb&&(rm=!0),o=At(e,E_,a),(t&Tl)!==Wb&&(rm=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(a.tag&mi)!==0?"useLayoutEffect":(a.tag&Tl)!==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"?`
|
|
151
|
+
`+v:"",x!==null?`
|
|
152
|
+
`+x:""))}}f=e.stateNode,g=Q(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&&!CR.has(a)&&(CR.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&&!zR.has(a)&&(zR.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.",Q(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"||xR.has(a)||(xR.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Q(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"||Cn(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={},ye(e),g=a.contextType,f.context=typeof g=="object"&&g!==null?_e(g):bc,f.state===o&&(g=Q(a)||"Component",RR.has(g)||(RR.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&Ka&&Yo.recordLegacyContextWarning(e,f),Yo.recordUnsafeLifecycleWarnings(e,f),f.state=e.memoizedState,g=a.getDerivedStateFromProps,typeof g=="function"&&(jr(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.",J(e)||"Component"),tT.enqueueReplaceState(f,f.state,null)),Ni(e,o,f,c),Ar(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ko)!==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;x=a.contextType,g=bc,typeof x=="object"&&x!==null&&(g=_e(x)),D=a.getDerivedStateFromProps,x=typeof D=="function"||typeof f.getSnapshotBeforeUpdate=="function",L=e.pendingProps!==L,x||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(L||q!==g)&&ki(e,f,o,g),Ac=!1;var j=e.memoizedState;f.state=j,Ni(e,o,f,c),Ar(),q=e.memoizedState,L||j!==q||Ac?(typeof D=="function"&&(jr(e,a,D,o),q=e.memoizedState),(v=Ac||_h(e,a,v,o,j,q,g))?(x||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&ko)!==Ft&&(e.flags|=134217728)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ko)!==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&ko)!==Ft&&(e.flags|=134217728),f=!1)}else{f=e.stateNode,Ui(t,e),g=e.memoizedProps,x=Yi(a,g),f.props=x,D=e.pendingProps,j=f.context,q=a.contextType,v=bc,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)&&ki(e,f,o,v),Ac=!1,j=e.memoizedState,f.state=j,Ni(e,o,f,c),Ar();var P=e.memoizedState;g!==D||j!==P||Ac||t!==null&&t.dependencies!==null&&Tr(t.dependencies)?(typeof L=="function"&&(jr(e,a,L,o),P=e.memoizedState),(x=Ac||_h(e,a,x,o,j,P,v)||t!==null&&t.dependencies!==null&&Tr(t.dependencies))?(q||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,P,v),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,P,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=P),f.props=o,f.state=P,f.context=v,f=x):(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,Mf(t,e),g=(e.flags&128)!==0,v||g){if(v=e.stateNode,Fo(e),g&&typeof a.getDerivedStateFromError!="function")a=null,Sl=-1;else if(a=WA(v),e.mode&Ka){_t(!0);try{WA(v)}finally{_t(!1)}}e.flags|=1,t!==null&&g?(e.child=Td(e,t.child,null,c),e.child=Td(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&&(lm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",J(e)||"a component"),lm=!0),t}function Ug(t,e,a,o){return su(),e.flags|=256,Zn(t,e,a,o),e.child}function Nr(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=Q(e)||"Unknown",NR[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),NR[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=Q(e)||"Unknown",UR[e]||(console.error("%s: Function components do not support contextType.",e),UR[e]=!0))}function Hr(t){return{baseLanes:t,cachePool:dg()}}function Lh(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Yl),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&f0)!==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=Ve(t,uo),a=a!==null&&a.data!==Cd?a:null,a!==null&&(o={dehydrated:a,treeContext:xv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=og(a),o.return=e,e.child=o,Ha=e,on=null)):a=null,a===null)throw da(e,t),zl(e);return dy(a)?e.lanes=32:e.lanes=536870912,null}var v=c.children;if(c=c.fallback,f){Hi(e);var x=e.mode;return v=Of({mode:"hidden",children:v},x),c=as(c,x,a,null),v.return=e,c.return=e,v.sibling=c,e.child=v,c=e.child,c.memoizedState=Hr(a),c.childLanes=Lh(t,o,a),e.memoizedState=aT,Ts(null,c)}return Aa(e),jg(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=kh(t,e,a)):e.memoizedState!==null?(Hi(e),e.child=t.child,e.flags|=128,e=null):(Hi(e),v=c.fallback,x=e.mode,c=Of({mode:"visible",children:c.children},x),v=as(v,x,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=Hr(a),c.childLanes=Lh(t,o,a),e.memoizedState=aT,e=Ts(null,c));else if(Aa(e),Rv(),(a&536870912)!==0&&Yr(e),dy(L)){if(o=L.nextSibling&&L.nextSibling.dataset,o){v=o.dgst;var q=o.msg;x=o.stck;var j=o.cstck}f=q,o=v,c=x,L=j,v=f,x=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=x===void 0?null:x,c={value:v,source:null,stack:o},typeof o=="string"&&H2.set(v,c),uf(c),e=kh(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),nT;$f(L)||qr(),e=kh(t,e,a)}else $f(L)?(e.flags|=192,e.child=t.child,e=null):(t=D.treeContext,on=ml(L.nextSibling),Ha=e,Se=!0,Sc=null,Bu=!1,pi=null,uo=!1,t!==null&&Av(e,t),e=jg(e,c.children),e.flags|=4096);return e}}return f?(Hi(e),v=c.fallback,x=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=as(v,x,a,null),v.flags|=2),v.return=e,c.return=e,c.sibling=v,e.child=c,Ts(null,c),c=e.child,v=t.child.memoizedState,v===null?v=Hr(a):(x=v.cachePool,x!==null?(j=$n._currentValue,x=x.parent!==j?{parent:j,pool:j}:x):x=dg(),v={baseLanes:v.baseLanes|a,cachePool:x}),c.memoizedState=v,c.childLanes=Lh(t,o,a),e.memoizedState=aT,Ts(t.child,c)):(D!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&Yr(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 jg(t,e){return e=Of({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Of(t,e){return t=C(22,t,null,e),t.lanes=0,t}function kh(t,e,a){return Td(e,t.child,null,a),t=jg(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Ng(t,e,a){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),yh(t.return,e,a)}function Yh(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 Hg(t,e,a){var o=e.pendingProps,c=o.revealOrder,f=o.tail,g=o.children,v=Bn.current;if((o=(v&f0)!==0)?(v=v&tm|f0,e.flags|=128):v&=tm,Lt(Bn,v,e),v=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!HR[v])if(HR[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",a1[v]||(f==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(a1[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"?(a1[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"&&(a1[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(Cn(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 x=v.next(),D=0;!x.done;x=v.next()){if(!Ze(x.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=Fy):g=0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ng(t,a,e);else if(t.tag===19)Ng(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&&cs(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),Yh(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&&cs(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}Yh(e,!0,a,null,f,g);break;case"together":Yh(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 qh(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Tr(t)))}function Nv(t,e,a){switch(e.tag){case 3:De(e,e.stateNode.containerInfo),Cl(e,$n,t.memoizedState.cache),su();break;case 27:case 5:ht(e);break;case 4:De(e,e.stateNode.containerInfo);break;case 10:Cl(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 Hg(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Lt(Bn,Bn.current,e),o)break;return null;case 22:return e.lanes=0,zg(t,e,a,e.pendingProps);case 24:Cl(e,$n,t.memoizedState.cache)}return ai(t,e,a)}function _f(t,e,a){if(e._debugNeedsRemount&&t!==null){a=ns(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,Nv(t,e,a);Pn=(t.flags&131072)!==0}else Pn=!1,(o=Se)&&(uu(),o=(e.flags&1048576)!==0),o&&(o=e.index,uu(),ug(e,Fy,o));switch(e.lanes=0,e.tag){case 16:t:if(o=e.pendingProps,t=ol(e.elementType),e.type=t,typeof t=="function")lg(t)?(o=Yi(t,o),e.tag=1,e.type=t=iu(t),e=Es(null,e,t,o,a)):(e.tag=0,Nr(e,t),e.type=t=iu(t),e=Og(null,e,t,o,a));else{if(t!=null){if(c=t.$$typeof,c===ic){e.tag=11,e.type=t=hh(t),e=Uv(null,e,t,o,a);break t}else if(c===id){e.tag=14,e=Rg(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=Q(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 Og(t,e,e.type,e.pendingProps,a);case 1:return o=e.type,c=Yi(o,e.pendingProps),Es(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,Cl(e,$n,o),o!==f.cache&&So(e,[$n],a,!0),Ar(),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=Ug(t,e,o,a);break t}else if(o!==c){c=Ta(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),uf(c),e=Ug(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,Sc=null,Bu=!1,pi=null,uo=!0,a=fR(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 Mf(t,e),t===null?(a=gy(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=gy(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ht(e),t===null&&Se&&(o=be(gl.current),c=tt(),o=e.stateNode=Ho(e.type,e.pendingProps,o,c,!1),Bu||(c=Qa(o,e.type,e.pendingProps,c),c!==null&&(ls(e,0).serverProps=c)),Ha=e,uo=!0,c=on,Mu(e.type)?(RT=c,on=ml(o.firstChild)):on=c),Zn(t,e,e.pendingProps.children,a),Mf(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Se&&(f=tt(),o=Fc(e.type,f.ancestorInfo),c=on,(g=!c)||(g=fb(c,e.type,e.pendingProps,uo),g!==null?(e.stateNode=g,Bu||(f=Qa(g,e.type,e.pendingProps,f),f!==null&&(ls(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))),ht(e),c=e.type,f=e.pendingProps,g=t!==null?t.memoizedProps:null,o=f.children,Fr(c,f)?o=null:g!==null&&Fr(c,g)&&(e.flags|=32),e.memoizedState!==null&&(c=yg(t,e,gf,null,null,a),C0._currentValue=c),Mf(t,e),Zn(t,e,o,a),e.child;case 6:return t===null&&Se&&(a=e.pendingProps,t=tt(),o=t.ancestorInfo.current,a=o!=null?Wc(a,o.tag,t.ancestorInfo.implicitRootScope):!0,t=on,(o=!t)||(o=db(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 Uv(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||BR||(BR=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Cl(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=X2(o,c,void 0),e.flags|=1,Zn(t,e,o,a),e.child;case 14:return Rg(t,e,e.type,e.pendingProps,a);case 15:return Dg(t,e,e.type,e.pendingProps,a);case 19:return Hg(t,e,a);case 31:return jv(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=vh(),c.pooledCache=f,os(f),f!==null&&(c.pooledCacheLanes|=a),c=f),e.memoizedState={parent:o,cache:c},ye(e),Cl(e,$n,c)):((t.lanes&a)!==0&&(Ui(t,e),Ni(e,null,null,a),Ar()),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),Cl(e,$n,o)):(o=f.cache,Cl(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 Gh(t,e,a,o,c){if((e=(t.mode&w_)!==Ft)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(ty())t.flags|=8192;else throw Sd=Wb,Z2}else t.flags&=-16777217}function Hv(t,e){if(e.type!=="stylesheet"||(e.state.loading&ho)!==_d)t.flags&=-16777217;else if(t.flags|=16777216,!ge(e))if(ty())t.flags|=8192;else throw Sd=Wb,Z2}function Br(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ir():536870912,t.lanes|=e,Rd|=e)}function Lr(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 Bg(t,e,a){var o=e.pendingProps;switch(gh(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),k(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(is(e)?(ru(),qi(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,of())),Ye(e),null;case 26:var c=e.type,f=e.memoizedState;return t===null?(qi(e),f!==null?(Ye(e),Hv(e,f)):(Ye(e),Gh(e,c,null,o,a))):f?f!==t.memoizedState?(qi(e),Ye(e),Hv(e,f)):(Ye(e),e.flags&=-16777217):(t=t.memoizedProps,t!==o&&qi(e),Ye(e),Gh(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=tt(),is(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=tt();if(is(e))sg(e);else{switch(f=be(gl.current),Fc(c,g.ancestorInfo),g=g.context,f=Jf(f),g){case dm:f=f.createElementNS(ue,c);break;case w1: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(uD,c)||(uD[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),Gh(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=tt(),is(e)){if(t=e.stateNode,a=e.memoizedProps,c=!Bu,o=null,f=Ha,f!==null)switch(f.tag){case 3:c&&(c=mb(t,a,o),c!==null&&(ls(e,0).serverProps=c));break;case 27:case 5:o=f.memoizedProps,c&&(c=mb(t,a,o),c!==null&&(ls(e,0).serverProps=c))}t[an]=e,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||cy(t.nodeValue,a)),t||zl(e,!0)}else c=a.ancestorInfo.current,c!=null&&Wc(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=is(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 ru(),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=of(),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=is(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 ru(),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=of(),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&&ss(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),Br(e,e.updateQueue),Ye(e),(e.mode&ce)!==Ft&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return k(e),t===null&&zu(e.stateNode.containerInfo),Ye(e),null;case 10:return Fl(e.type,e),Ye(e),null;case 19:if(wt(Bn,e),o=e.memoizedState,o===null)return Ye(e),null;if(c=(e.flags&128)!==0,f=o.rendering,f===null)if(c)Lr(o,!1);else{if(yn!==Fs||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=cs(t),f!==null){for(e.flags|=128,Lr(o,!1),t=f.updateQueue,e.updateQueue=t,Br(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)ig(a,t),a=a.sibling;return Lt(Bn,Bn.current&tm|f0,e),Se&&$l(e,o.treeForkCount),e.child}t=t.sibling}o.tail!==null&&Kn()>c1&&(e.flags|=128,c=!0,Lr(o,!1),e.lanes=4194304)}else{if(!c)if(t=cs(f),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,Br(e,t),Lr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!Se)return Ye(e),null}else 2*Kn()-o.renderingStartTime>c1&&a!==536870912&&(e.flags|=128,c=!0,Lr(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=Kn(),t.sibling=null,a=Bn.current,a=c?a&tm|f0:a&tm,Lt(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&&Br(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&&wt(vd,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 Bv(t,e){switch(gh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&ss(e),e):null;case 3:return Fl($n,e),k(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.");su()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&ss(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&&ss(e),e):null;case 19:return wt(Bn,e),null;case 4:return k(e),null;case 10:return Fl(e.type,e),null;case 22:case 23:return Xn(e),ti(e),t!==null&&wt(vd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ce)!==Ft&&ss(e),e):null;case 24:return Fl($n,e),null;case 25:return null;default:return null}}function Lg(t,e){switch(gh(e),e.tag){case 3:Fl($n,e),k(e);break;case 26:case 27:case 5:zt(e);break;case 4:k(e);break;case 31:e.memoizedState!==null&&Xn(e);break;case 13:Xn(e);break;case 19:wt(Bn,e);break;case 10:Fl(e.type,e);break;case 22:case 23:Xn(e),ti(e),t!==null&&wt(vd,e);break;case 24:Fl($n,e)}}function Gi(t){return(t.mode&ce)!==Ft}function Lv(t,e){Gi(t)?(hn(),Oo(e,t),wa()):Oo(e,t)}function Xh(t,e,a){Gi(t)?(hn(),Eu(a,t,e),wa()):Eu(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&Tl)!==Ib&&(rm=!0),o=Rt(e,C_,a),(t&Tl)!==Ib&&(rm=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(a.tag&gi)!==0?"useLayoutEffect":(a.tag&Tl)!==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,At(e,function(v,w){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,w)},f,g)}a=a.next}while(a!==c)}}catch(v){oe(e,e.return,v)}}function Eu(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&Tl)!==Wb&&(rm=!0),c=e,At(c,w_,c,a,v),(t&Tl)!==Wb&&(rm=!1))}o=o.next}while(o!==f)}}catch(w){oe(e,e.return,w)}}function Uf(t,e){qi(t)?(hn(),Oo(e,t),wa()):Oo(e,t)}function Qh(t,e,a){qi(t)?(hn(),Eu(a,t,e),wa()):Eu(a,t,e)}function Vg(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||lm||(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.",ht(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.",ht(t)||"instance"));try{At(t,Rr,e,a)}catch(o){oe(t,t.return,o)}}}function jf(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function Bv(t,e){var a=e.memoizedProps,o=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||lm||(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.",ht(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.",ht(t)||"instance"));try{var c=ki(t.type,a),f=At(t,jf,e,c,o);a=UR,f!==void 0||a.has(t.type)||(a.add(t.type),At(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ht(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(g){oe(t,t.return,g)}}function Zh(t,e,a){a.props=ki(t.type,t.memoizedProps),a.state=t.memoizedState,qi(t)?(hn(),At(t,PA,t,e,a),wa()):At(t,PA,t,e,a)}function Lv(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(qi(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().",ht(t)),e.current=a}}function ws(t,e){try{At(t,Lv,t)}catch(a){oe(t,e,a)}}function jl(t,e){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{if(qi(t))try{hn(),At(t,o)}finally{wa(t)}else At(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(qi(t))try{hn(),At(t,a,null)}finally{wa(t)}else At(t,a,null)}catch(c){oe(t,e,c)}else a.current=null}function kg(t,e,a,o){var c=t.memoizedProps,f=c.id,g=c.onCommit;c=c.onRender,e=e===null?"mount":"update",Qb&&(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 Vv(t,e,a,o){var c=t.memoizedProps;t=c.id,c=c.onPostCommit,e=e===null?"mount":"update",Qb&&(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{At(t,Pv,o,e,a,t)}catch(c){oe(t,t.return,c)}}function Jh(t,e,a){try{At(t,hp,t.stateNode,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Yg(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Mu(t.type)||t.tag===4}function Kh(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Yg(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 Vr(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?(tb(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(tb(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=Rl));else if(o!==4&&(o===27&&Mu(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Vr(t,e,a),t=t.sibling;t!==null;)Vr(t,e,a),t=t.sibling}function Nf(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(Nf(t,e,a),t=t.sibling;t!==null;)Nf(t,e,a),t=t.sibling}function qg(t){for(var e,a=t.return;a!==null;){if(Yg(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=Kh(t),Nf(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(pp(a),e.flags&=-33),e=Kh(t),Nf(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=Kh(t),Vr(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 Gg(t){var e=t.stateNode,a=t.memoizedProps;try{At(t,Fi,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Xg(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 d2(t,e){if(t=t.containerInfo,ET=A1,t=rh(t),Wm(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,w=-1,D=0,L=0,Y=t,j=null;e:for(;;){for(var W;Y!==a||c!==0&&Y.nodeType!==3||(v=g+c),Y!==f||o!==0&&Y.nodeType!==3||(w=g+o),Y.nodeType===3&&(g+=Y.nodeValue.length),(W=Y.firstChild)!==null;)j=Y,Y=W;for(;;){if(Y===t)break e;if(j===a&&++D===c&&(v=g),j===f&&++L===o&&(w=g),(W=Y.nextSibling)!==null)break;Y=j,j=Y.parentNode}Y=W}a=v===-1||w===-1?null:{start:v,end:w}}else a=null}a=a||{start:0,end:0}}else a=null;for(wT={focusedElem:t,selectionRange:a},A1=!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&&Bv(t,a);break;case 3:if((c&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)Pr(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Pr(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 $h(t,e,a){var o=tn(),c=Ml(),f=ll(),g=Ol(),v=a.flags;switch(a.tag){case 0:case 11:case 15:fl(t,a),v&4&&Hv(a,mi|ro);break;case 1:if(fl(t,a),v&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||lm||(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.",ht(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.",ht(a)||"instance")),qi(a)?(hn(),At(a,X2,a,t),wa()):At(a,X2,a,t);else{var w=ki(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||lm||(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.",ht(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.",ht(a)||"instance")),qi(a)?(hn(),At(a,$A,a,t,w,e,t.__reactInternalSnapshotBeforeUpdate),wa()):At(a,$A,a,t,w,e,t.__reactInternalSnapshotBeforeUpdate)}v&64&&Vg(a),v&512&&ws(a,a.return);break;case 3:if(e=Oi(),fl(t,a),v&64&&(v=a.updateQueue,v!==null)){if(w=null,a.child!==null)switch(a.child.tag){case 27:case 5:w=a.child.stateNode;break;case 1:w=a.child.stateNode}try{At(a,Rr,v,w)}catch(L){oe(a,a.return,L)}}t.effectDuration+=Er(e);break;case 27:e===null&&v&4&&Gg(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,w=a.stateNode;try{At(a,Iv,w,t,e,a)}catch(L){oe(a,a.return,L)}}}v&512&&ws(a,a.return);break;case 12:if(v&4){v=Oi(),fl(t,a),t=a.stateNode,t.effectDuration+=Ea(v);try{At(a,kg,a,e,Tc,t.effectDuration)}catch(L){oe(a,a.return,L)}}else fl(t,a);break;case 31:fl(t,a),v&4&&Zg(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),fb(t,v))));break;case 22:if(v=a.memoizedState!==null||$s,!v){e=e!==null&&e.memoizedState!==null||In,w=$s;var D=In;$s=v,(In=e)&&!D?(ai(t,a,(a.subtreeFlags&8772)!==0),(a.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&ch(a,qt,Zt)):fl(t,a),$s=w,In=D}break;case 30:break;default:fl(t,a)}(a.mode&ce)!==$t&&0<=qt&&0<=Zt&&((An||.05<gn)&&Jl(a,qt,Zt,gn,dn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Zt-qt&&(Xg(a.return.alternate,a.return)||Dl(a,qt,Zt,"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&&G(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;)Qg(t,e,a),a=a.sibling}function Qg(t,e,a){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Hs,a)}catch(D){Pi||(Pi=!0,console.error("React instrumentation encountered an error: %o",D))}var o=tn(),c=Ml(),f=ll(),g=Ol();switch(a.tag){case 26:In||jl(a,e),Pe(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:In||jl(a,e);var v=ta,w=Vl;Mu(a.type)&&(ta=a.stateNode,Vl=!1),Pe(t,e,a),At(a,Bo,a.stateNode),ta=v,Vl=w;break;case 5:In||jl(a,e);case 6:if(v=ta,w=Vl,ta=null,Pe(t,e,a),ta=v,Vl=w,ta!==null)if(Vl)try{At(a,nb,ta,a.stateNode)}catch(D){oe(a,e,D)}else try{At(a,eb,ta,a.stateNode)}catch(D){oe(a,e,D)}break;case 18:ta!==null&&(Vl?(t=ta,Cs(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),_s(t)):Cs(ta,a.stateNode));break;case 4:v=ta,w=Vl,ta=a.stateNode.containerInfo,Vl=!0,Pe(t,e,a),ta=v,Vl=w;break;case 0:case 11:case 14:case 15:Eu(Tl,a,e),In||Xh(a,e,mi),Pe(t,e,a);break;case 1:In||(jl(a,e),v=a.stateNode,typeof v.componentWillUnmount=="function"&&Zh(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)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(a,qt,Zt,gn,dn),qn(o),al(c),dn=f,An=g}function Zg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{At(e,mp,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{At(e,p0,t)}catch(a){oe(e,e.return,a)}}function kv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new jR),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new jR),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function xu(t,e){var a=kv(t);e.forEach(function(o){if(!a.has(o)){if(a.add(o),Ii)if(im!==null&&om!==null)Qr(om,im);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Rs.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(),w=f;t:for(;w!==null;){switch(w.tag){case 27:if(Mu(w.type)){ta=w.stateNode,Vl=!1;break t}break;case 5:ta=w.stateNode,Vl=!1;break t;case 3:case 4:ta=w.stateNode.containerInfo,Vl=!0;break t}w=w.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.");Qg(c,f,g),ta=null,Vl=!1,(g.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&Dl(g,qt,Zt,"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;)Hf(e,t),e=e.sibling}function Hf(t,e){var a=tn(),o=Ml(),c=ll(),f=Ol(),g=t.alternate,v=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ca(e,t),za(t),v&4&&(Eu(Tl|ro,t,t.return),Oo(Tl|ro,t),Xh(t,t.return,mi|ro));break;case 1:if(Ca(e,t),za(t),v&512&&(In||g===null||jl(g,g.return)),v&64&&$s&&(v=t.updateQueue,v!==null&&(g=v.callbacks,g!==null))){var w=v.shared.hiddenCallbacks;v.shared.hiddenCallbacks=w===null?g:w.concat(g)}break;case 26:if(w=Go,Ca(e,t),za(t),v&512&&(In||g===null||jl(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,w=w.ownerDocument||w;e:switch(v){case"title":D=w.getElementsByTagName("title")[0],(!D||D[hc]||D[an]||D.namespaceURI===ue||D.hasAttribute("itemprop"))&&(D=w.createElement(v),w.head.insertBefore(D,w.querySelector("head > title"))),nn(D,v,g),D[an]=t,jt(D),v=D;break t;case"link":var L=ec("link","href",w).get(v+(g.href||""));if(L){for(var Y=0;Y<L.length;Y++)if(D=L[Y],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(Y,1);break e}}D=w.createElement(v),nn(D,v,g),w.head.appendChild(D);break;case"meta":if(L=ec("meta","content",w).get(v+(g.content||""))){for(Y=0;Y<L.length;Y++)if(D=L[Y],Re(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(Y,1);break e}}D=w.createElement(v),nn(D,v,g),w.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 mb(w,t.type,t.stateNode);else t.stateNode=vp(w,v,t.memoizedProps);else D!==v?(D===null?g.stateNode!==null&&(g=g.stateNode,g.parentNode.removeChild(g)):D.count--,v===null?mb(w,t.type,t.stateNode):vp(w,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||jl(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||jl(g,g.return)),t.flags&32){w=t.stateNode;try{At(t,pp,w)}catch(Rt){oe(t,t.return,Rt)}}v&4&&t.stateNode!=null&&(w=t.memoizedProps,Jh(t,w,g!==null?g.memoizedProps:w)),v&1024&&(aT=!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,w=t.stateNode;try{At(t,h2,w,g,v)}catch(Rt){oe(t,t.return,Rt)}}break;case 3:if(w=Oi(),E1=null,D=Go,Go=gp(e.containerInfo),Ca(e,t),Go=D,za(t),v&4&&g!==null&&g.memoizedState.isDehydrated)try{At(t,h0,e.containerInfo)}catch(Rt){oe(t,t.return,Rt)}aT&&(aT=!1,Yv(t)),e.effectDuration+=Er(w);break;case 4:v=Go,Go=gp(t.stateNode.containerInfo),Ca(e,t),za(t),Go=v;break;case 12:v=Oi(),Ca(e,t),za(t),t.stateNode.effectDuration+=Ea(v);break;case 31:Ca(e,t),za(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,xu(t,v)));break;case 13:Ca(e,t),za(t),t.child.flags&8192&&t.memoizedState!==null!=(g!==null&&g.memoizedState!==null)&&(u1=Kn()),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,xu(t,v)));break;case 22:w=t.memoizedState!==null;var j=g!==null&&g.memoizedState!==null,W=$s,Et=In;if($s=W||w,In=Et||j,Ca(e,t),In=Et,$s=W,j&&!w&&!W&&!Et&&(t.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&ch(t,qt,Zt),za(t),v&8192)t:for(e=t.stateNode,e._visibility=w?e._visibility&~$0:e._visibility|$0,!w||g===null||j||$s||In||(Au(t),(t.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&Dl(t,qt,Zt,"Disconnect")),g=null,e=t;;){if(e.tag===5||e.tag===26){if(g===null){j=g=e;try{D=j.stateNode,w?At(j,lb,D):At(j,ub,j.stateNode,j.memoizedProps)}catch(Rt){oe(j,j.return,Rt)}}}else if(e.tag===6){if(g===null){j=e;try{L=j.stateNode,w?At(j,ib,L):At(j,sb,L,j.memoizedProps)}catch(Rt){oe(j,j.return,Rt)}}}else if(e.tag===18){if(g===null){j=e;try{Y=j.stateNode,w?At(j,ab,Y):At(j,ob,j.stateNode)}catch(Rt){oe(j,j.return,Rt)}}}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,xu(t,g))));break;case 19:Ca(e,t),za(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,xu(t,v)));break;case 30:break;case 21:break;default:Ca(e,t),za(t)}(t.mode&ce)!==$t&&0<=qt&&0<=Zt&&((An||.05<gn)&&Jl(t,qt,Zt,gn,dn),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<Zt-qt&&(Xg(t.return.alternate,t.return)||Dl(t,qt,Zt,"Mount"))),qn(a),al(o),dn=c,An=f}function za(t){var e=t.flags;if(e&2){try{At(t,qg,t)}catch(a){oe(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Yv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Yv(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;)$h(t,e.alternate,e),e=e.sibling}function Fh(t){var e=tn(),a=Ml(),o=ll(),c=Ol();switch(t.tag){case 0:case 11:case 14:case 15:Xh(t,t.return,mi),Au(t);break;case 1:jl(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Zh(t,t.return,f),Au(t);break;case 27:At(t,Bo,t.stateNode);case 26:case 5:jl(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)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(t,qt,Zt,gn,dn),qn(e),al(a),dn=o,An=c}function Au(t){for(t=t.child;t!==null;)Fh(t),t=t.sibling}function Kg(t,e,a,o){var c=tn(),f=Ml(),g=ll(),v=Ol(),w=a.flags;switch(a.tag){case 0:case 11:case 15:ai(t,a,o),Hv(a,mi);break;case 1:if(ai(t,a,o),e=a.stateNode,typeof e.componentDidMount=="function"&&At(a,X2,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{At(a,mg,e,t)}catch(D){oe(a,a.return,D)}}o&&w&64&&Vg(a),ws(a,a.return);break;case 27:Gg(a);case 26:case 5:ai(t,a,o),o&&e===null&&w&4&&wu(a),ws(a,a.return);break;case 12:if(o&&w&4){w=Oi(),ai(t,a,o),o=a.stateNode,o.effectDuration+=Ea(w);try{At(a,kg,a,e,Tc,o.effectDuration)}catch(D){oe(a,a.return,D)}}else ai(t,a,o);break;case 31:ai(t,a,o),o&&w&4&&Zg(t,a);break;case 13:ai(t,a,o),o&&w&4&&Jg(t,a);break;case 22:a.memoizedState===null&&ai(t,a,o),ws(a,a.return);break;case 30:break;default:ai(t,a,o)}(a.mode&ce)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(a,qt,Zt,gn,dn),qn(c),al(f),dn=g,An=v}function ai(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)Kg(t,e.alternate,e,a),e=e.sibling}function Bf(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&&os(t),a!=null&&rf(a))}function Lf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(os(e),t!=null&&rf(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;$g(t,e,a,o,f!==null?f.actualStartTime:c),e=f}}function $g(t,e,a,o,c){var f=tn(),g=Ml(),v=ll(),w=Ol(),D=yc,L=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&ce)!==$t&&0<e.actualStartTime&&(e.flags&1)!==0&&fh(e,e.actualStartTime,c,ua,a),dl(t,e,a,o,c),L&2048&&Uf(e,El|ro);break;case 1:(e.mode&ce)!==$t&&0<e.actualStartTime&&((e.flags&128)!==0?Im(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&fh(e,e.actualStartTime,c,ua,a)),dl(t,e,a,o,c);break;case 3:var Y=Oi(),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&&(os(o),a!=null&&rf(a))),t.passiveEffectDuration+=Er(Y);break;case 12:if(L&2048){L=Oi(),dl(t,e,a,o,c),t=e.stateNode,t.passiveEffectDuration+=Ea(L);try{At(e,Vv,e,e.alternate,Tc,t.passiveEffectDuration)}catch(W){oe(e,e.return,W)}}else dl(t,e,a,o,c);break;case 31:L=ua,Y=e.alternate!==null?e.alternate.memoizedState:null,j=e.memoizedState,Y!==null&&j===null?(j=e.deletions,j!==null&&0<j.length&&j[0].tag===18?(ua=!1,Y=Y.hydrationErrors,Y!==null&&Im(e,e.actualStartTime,c,Y)):ua=!0):ua=!1,dl(t,e,a,o,c),ua=L;break;case 13:L=ua,Y=e.alternate!==null?e.alternate.memoizedState:null,j=e.memoizedState,Y===null||Y.dehydrated===null||j!==null&&j.dehydrated!==null?ua=!1:(j=e.deletions,j!==null&&0<j.length&&j[0].tag===18?(ua=!1,Y=Y.hydrationErrors,Y!==null&&Im(e,e.actualStartTime,c,Y)):ua=!0),dl(t,e,a,o,c),ua=L;break;case 23:break;case 22:j=e.stateNode,Y=e.alternate,e.memoizedState!==null?j._visibility&Vs?dl(t,e,a,o,c):xs(t,e,a,o,c):j._visibility&Vs?dl(t,e,a,o,c):(j._visibility|=Vs,Ru(t,e,a,o,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),c),(e.mode&ce)===$t||ua||(t=e.actualStartTime,0<=t&&.05<c-t&&ch(e,t,c),0<=qt&&0<=Zt&&.05<Zt-qt&&ch(e,qt,Zt))),L&2048&&Bf(Y,e);break;case 24:dl(t,e,a,o,c),L&2048&&Lf(e.alternate,e);break;default:dl(t,e,a,o,c)}(e.mode&ce)!==$t&&((t=!ua&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<c-a&&Dl(e,a,c,"Mount")),0<=qt&&0<=Zt&&((An||.05<gn)&&Jl(e,qt,Zt,gn,dn),t&&.05<Zt-qt&&Dl(e,qt,Zt,"Mount"))),qn(f),al(g),dn=v,An=w,yc=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=Ml(),w=ll(),D=Ol(),L=yc;c&&(e.mode&ce)!==$t&&0<e.actualStartTime&&(e.flags&1)!==0&&fh(e,e.actualStartTime,f,ua,a);var Y=e.flags;switch(e.tag){case 0:case 11:case 15:Ru(t,e,a,o,c,f),Uf(e,El);break;case 23:break;case 22:var j=e.stateNode;e.memoizedState!==null?j._visibility&Vs?Ru(t,e,a,o,c,f):xs(t,e,a,o,f):(j._visibility|=Vs,Ru(t,e,a,o,c,f)),c&&Y&2048&&Bf(e.alternate,e);break;case 24:Ru(t,e,a,o,c,f),c&&Y&2048&&Lf(e.alternate,e);break;default:Ru(t,e,a,o,c,f)}(e.mode&ce)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(e,qt,Zt,gn,dn),qn(g),al(v),dn=w,An=D,yc=L}function xs(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,w=o,D=e!==null?e.actualStartTime:c,L=yc;(f.mode&ce)!==$t&&0<f.actualStartTime&&(f.flags&1)!==0&&fh(f,f.actualStartTime,D,ua,v);var Y=f.flags;switch(f.tag){case 22:xs(g,f,v,w,D),Y&2048&&Bf(f.alternate,f);break;case 24:xs(g,f,v,w,D),Y&2048&&Lf(f.alternate,f);break;default:xs(g,f,v,w,D)}yc=L,f=e}}function As(t,e,a){if(t.subtreeFlags&my)for(t=t.child;t!==null;)Wh(t,e,a),t=t.sibling}function Wh(t,e,a){switch(t.tag){case 26:As(t,e,a),t.flags&my&&t.memoizedState!==null&&b0(a,Go,t.memoizedState,t.memoizedProps);break;case 5:As(t,e,a);break;case 3:case 4:var o=Go;Go=gp(t.stateNode.containerInfo),As(t,e,a),Go=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=my,my=16777216,As(t,e,a),my=o):As(t,e,a));break;default:As(t,e,a)}}function Fg(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,Gi(o,t),(o.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&Dl(o,qt,Zt,"Unmount"),qn(c)}Fg(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ph(t),t=t.sibling}function Ph(t){var e=tn(),a=Ml(),o=ll(),c=Ol();switch(t.tag){case 0:case 11:case 15:hl(t),t.flags&2048&&Qh(t,t.return,El|ro);break;case 3:var f=Oi();hl(t),t.stateNode.passiveEffectDuration+=Er(f);break;case 12:f=Oi(),hl(t),t.stateNode.passiveEffectDuration+=Ea(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&Vs&&(t.return===null||t.return.tag!==13)?(f._visibility&=~Vs,Ih(t),(t.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&Dl(t,qt,Zt,"Disconnect")):hl(t);break;default:hl(t)}(t.mode&ce)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(t,qt,Zt,gn,dn),qn(e),al(a),An=c,dn=o}function Ih(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,Gi(o,t),(o.mode&ce)!==$t&&0<=qt&&0<=Zt&&.05<Zt-qt&&Dl(o,qt,Zt,"Unmount"),qn(c)}Fg(t)}for(t=t.child;t!==null;)Wg(t),t=t.sibling}function Wg(t){var e=tn(),a=Ml(),o=ll(),c=Ol();switch(t.tag){case 0:case 11:case 15:Qh(t,t.return,El),Ih(t);break;case 22:var f=t.stateNode;f._visibility&Vs&&(f._visibility&=~Vs,Ih(t));break;default:Ih(t)}(t.mode&ce)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(t,qt,Zt,gn,dn),qn(e),al(a),An=c,dn=o}function Gi(t,e){for(;ya!==null;){var a=ya,o=a,c=e,f=tn(),g=Ml(),v=ll(),w=Ol();switch(o.tag){case 0:case 11:case 15:Qh(o,c,El);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool,c!=null&&os(c));break;case 24:rf(o.memoizedState.cache)}if((o.mode&ce)!==$t&&0<=qt&&0<=Zt&&(An||.05<gn)&&Jl(o,qt,Zt,gn,dn),qn(f),al(g),An=w,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 Pg(){C_.forEach(function(t){return t()})}function Ig(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||tt.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function ha(t){if((xe&sa)!==va&&de!==0)return de&-de;var e=tt.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),r0()):Io()}function kr(){if(Yl===0)if((de&536870912)===0||be){var t=sd;sd<<=1,(sd&3932160)===0&&(sd=262144),Yl=t}else Yl=536870912;return t=pi.current,t!==null&&(t.flags|=32),Yl}function Ft(t,e,a){if(rm&&console.error("useInsertionEffect must not schedule updates."),pT&&(f1=!0),(t===Fe&&(Xe===xd||Xe===Ad)||t.cancelPendingCommit!==null)&&(Xi(t,0),Nl(t,de,Yl,!1)),ql(t,a),(xe&sa)!==va&&t===Fe){if(Wi)switch(e.tag){case 0:case 11:case 15:t=me&&ht(me)||"Unknown",$R.has(t)||($R.add(t),e=ht(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:KR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),KR=!0)}}else Ii&&On(t,e,a),Gf(e),t===Fe&&((xe&sa)===va&&(zc|=a),yn===Rc&&Nl(t,de,Yl,!1)),Ga(t)}function qv(t,e,a){if((xe&(sa|gi))!==va)throw Error("Should not already be working.");if(de!==0&&me!==null){var o=me,c=Kn();switch(YA){case vy:case xd:var f=ey;ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,c,eo,void 0,"primary-light")):console.timeStamp("Suspended",f,c,eo,void 0,"primary-light"));break;case Ad:f=ey,ln&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,c,eo,void 0,"primary-light")):console.timeStamp("Action",f,c,eo,void 0,"primary-light"));break;default:ln&&(o=c-ey,3>o||console.timeStamp("Blocked",ey,c,eo,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):Gr(t,e,!0);var g=a;do{if(f===Fs){um&&!a&&Nl(t,e,0,!1),e=Xe,ey=Fn(),YA=e;break}else{if(o=Kn(),c=t.current.alternate,g&&!Xv(c)){Zl(e),c=ga,f=o,!ln||f<=c||(Mn?Mn.run(console.timeStamp.bind(console,"Teared Render",c,f,Ee,Se,"error")):console.timeStamp("Teared Render",c,f,Ee,Se,"error")),Du(e,o),f=Gr(t,e,!1),g=!1;continue}if(f===wd){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){Zl(e),tg(ga,o,e,Mn),Du(e,o),e=v;t:{o=t,f=g,g=Sy;var w=o.current.memoizedState.isDehydrated;if(w&&(Xi(o,v).flags|=256),v=Gr(o,v,!1),v!==wd){if(oT&&!w){o.errorRecoveryDisabledLanes|=f,zc|=f,f=Rc;break t}o=wl,wl=g,o!==null&&(wl===null?wl=o:wl.push.apply(wl,o))}f=v}if(g=!1,f!==wd)continue;o=Kn()}}if(f===yy){Zl(e),tg(ga,o,e,Mn),Du(e,o),Xi(t,0),Nl(t,e,0,!0);break}t:{switch(a=t,f){case Fs:case yy:throw Error("Root did not complete. This is a bug in React.");case Rc:if((e&4194048)!==e)break;case a1:Zl(e),vv(ga,o,e,Mn),Du(e,o),c=e,(c&127)!==0?qb=o:(c&4194048)!==0&&(Gb=o),Nl(a,e,Yl,!Dc);break t;case wd:wl=null;break;case n1:case NR:break;default:throw Error("Unknown root exit status.")}if(tt.actQueue!==null)Je(a,c,e,wl,Ty,o1,Yl,zc,Rd,f,null,null,ga,o);else{if((e&62914560)===e&&(g=u1+LR-Kn(),10<g)){if(Nl(a,e,Yl,!Dc),Xu(a,0,!0)!==0)break t;Xo=e,a.timeoutHandle=aD(Gv.bind(null,a,c,wl,Ty,o1,e,Yl,zc,Rd,Dc,f,"Throttled",ga,o),g);break t}Gv(a,c,wl,Ty,o1,e,Yl,zc,Rd,Dc,f,null,ga,o)}}}break}while(!0);Ga(t)}function Gv(t,e,a,o,c,f,g,v,w,D,L,Y,j,W){t.timeoutHandle=Od;var Et=e.subtreeFlags,Rt=null;if((Et&8192||(Et&16785408)===16785408)&&(Rt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rl},Wh(e,f,Rt),Et=(f&62914560)===f?u1-Kn():(f&4194048)===f?BR-Kn():0,Et=bp(Rt,Et),Et!==null)){Xo=f,t.cancelPendingCommit=Et(Je.bind(null,t,e,f,a,o,c,g,v,w,L,Rt,Rt.waitingForViewTransition?"Waiting for the previous Animation":0<Rt.count?0<Rt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Rt.imgCount===1?"Suspended on an Image":0<Rt.imgCount?"Suspended on Images":null,j,W)),Nl(t,f,g,!D);return}Je(t,e,f,a,o,c,g,v,w,L,Rt,Y,j,W)}function Xv(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 Nl(t,e,a,o){e&=~uT,e&=~zc,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&&ur(t,a,e)}function pl(){return(xe&(sa|gi))===va?(Zi(0),!1):!0}function tp(){if(me!==null){if(Xe===kl)var t=me.return;else t=me,Sr(),du(t),Pp=null,cy=0,t=me;for(;t!==null;)Lg(t.alternate,t),t=t.return;me=null}}function Du(t,e){(t&127)!==0&&(pd=e),(t&4194048)!==0&&(Xs=e),(t&62914560)!==0&&(VA=e),(t&2080374784)!==0&&(kA=e)}function Xi(t,e){ln&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Se,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Se,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Se,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Se,"primary-light"));var a=ga;if(ga=Fn(),de!==0&&0<a){if(Zl(de),yn===n1||yn===Rc)vv(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,Se,f)):console.timeStamp(g,a,o,Ee,Se,f)}}Du(de,ga)}if(a=Mn,Mn=null,(e&127)!==0){Mn=P0,c=0<=Lu&&Lu<pd?pd:Lu,o=0<=md&&md<pd?pd:md,f=0<=o?o:0<=c?c:ga,0<=qb?(Zl(2),bv(qb,f,e,a)):Xb&127,a=c;var v=o,w=I0,D=0<$p,L=Ec===W0,Y=Ec===Yb;if(c=ga,o=P0,f=V2,g=k2,ln){if(Ee="Blocking",0<a?a>c&&(a=c):a=c,0<v?v>a&&(v=a):v=a,w!==null&&a>v){var j=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+w,v,a,Ee,Se,j)):console.timeStamp(D?"Consecutive":"Event: "+w,v,a,Ee,Se,j)}c>a&&(v=L?"error":(e&738197653)===e?"tertiary-light":"primary-light",L=Y?"Promise Resolved":L?"Cascading Update":5<c-a?"Update Blocked":"Update",Y=[],g!=null&&Y.push(["Component name",g]),f!=null&&Y.push(["Method name",f]),a={start:a,end:c,detail:{devtools:{properties:Y,track:Ee,trackGroup:Se,color:v}}},o?o.run(performance.measure.bind(performance,L,a)):performance.measure(L,a))}Lu=-1.1,Ec=0,k2=V2=null,qb=-1.1,$p=md,md=-1.1,pd=Fn()}if((e&4194048)!==0&&(Mn=ty,c=0<=Qs&&Qs<Xs?Xs:Qs,a=0<=uo&&uo<Xs?Xs:uo,o=0<=wc&&wc<Xs?Xs:wc,f=0<=o?o:0<=a?a:ga,0<=Gb?(Zl(256),bv(Gb,f,e,Mn)):Xb&4194048,Y=o,v=gd,w=0<xc,D=Y2===Yb,f=ga,o=ty,g=BA,L=LA,ln&&(Ee="Transition",0<a?a>f&&(a=f):a=f,0<c?c>a&&(c=a):c=a,0<Y?Y>c&&(Y=c):Y=c,c>Y&&v!==null&&(j=w?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,w?"Consecutive":"Event: "+v,Y,c,Ee,Se,j)):console.timeStamp(w?"Consecutive":"Event: "+v,Y,c,Ee,Se,j)),a>c&&(o?o.run(console.timeStamp.bind(console,"Action",c,a,Ee,Se,"primary-dark")):console.timeStamp("Action",c,a,Ee,Se,"primary-dark")),f>a&&(c=D?"Promise Resolved":5<f-a?"Update Blocked":"Update",Y=[],L!=null&&Y.push(["Component name",L]),g!=null&&Y.push(["Method name",g]),a={start:a,end:f,detail:{devtools:{properties:Y,track:Ee,trackGroup:Se,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),uo=Qs=-1.1,Y2=0,Gb=-1.1,xc=wc,wc=-1.1,Xs=Fn()),(e&62914560)!==0&&(Xb&62914560)!==0&&(Zl(4194304),eg(VA,ga)),(e&2080374784)!==0&&(Xb&2080374784)!==0&&(Zl(268435456),eg(kA,ga)),a=t.timeoutHandle,a!==Od&&(t.timeoutHandle=Od,Y_(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Xo=0,tp(),Fe=t,me=a=zi(t.current,null),de=e,Xe=kl,yi=null,Dc=!1,um=Rn(t,e),oT=!1,yn=Fs,Rd=Yl=uT=zc=Cc=0,wl=Sy=null,o1=!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 ku=e,dh(),t=OA(),1e3<t-MA&&(tt.recentlyCreatedOwnerStacks=0,MA=t),Yo.discardPendingWarnings(),a}function li(t,e){Pt=null,tt.H=py,tt.getCurrentStack=null,Wi=!1,Ja=null,e===Wp||e===Kb?(e=rs(),Xe=vy):e===Q2?(e=rs(),Xe=HR):Xe=e===eT?iT:e!==null&&typeof e=="object"&&typeof e.then=="function"?by:l1,yi=e;var a=me;a===null?(yn=yy,Cf(t,Ta(e,t.current))):a.mode&ce&&bh(a)}function t0(){var t=pi.current;return t===null?!0:(de&4194048)===de?so===null:(de&62914560)===de||(de&536870912)!==0?t===so:!1}function ep(){var t=tt.H;return tt.H=py,t===null?py:t}function e0(){var t=tt.A;return tt.A=D_,t}function Yr(t){Mn===null&&(Mn=t._debugTask==null?null:t._debugTask)}function qr(){yn=Rc,Dc||(de&4194048)!==de&&pi.current!==null||(um=!0),(Cc&134217727)===0&&(zc&134217727)===0||Fe===null||Nl(Fe,de,Yl,!1)}function Gr(t,e,a){var o=xe;xe|=sa;var c=ep(),f=e0();if(Fe!==t||de!==e){if(Ii){var g=t.memoizedUpdaters;0<g.size&&(Qr(t,de),g.clear()),Ia(t,e)}Ty=null,Xi(t,e)}e=!1,g=yn;t:do try{if(Xe!==kl&&me!==null){var v=me,w=yi;switch(Xe){case iT:tp(),g=a1;break t;case vy:case xd:case Ad:case by:pi.current===null&&(e=!0);var D=Xe;if(Xe=kl,yi=null,Xr(t,v,w,D),a&&um){g=Fs;break t}break;default:D=Xe,Xe=kl,yi=null,Xr(t,v,w,D)}}n0(),g=yn;break}catch(L){li(t,L)}while(!0);return e&&t.shellSuspendCounter++,Sr(),xe=o,tt.H=c,tt.A=f,me===null&&(Fe=null,de=0,dh()),g}function n0(){for(;me!==null;)np(me)}function _o(t,e){var a=xe;xe|=sa;var o=ep(),c=e0();if(Fe!==t||de!==e){if(Ii){var f=t.memoizedUpdaters;0<f.size&&(Qr(t,de),f.clear()),Ia(t,e)}Ty=null,s1=Kn()+VR,Xi(t,e)}else um=Rn(t,e);t:do try{if(Xe!==kl&&me!==null)e:switch(e=me,f=yi,Xe){case l1:Xe=kl,yi=null,Xr(t,e,f,l1);break;case xd:case Ad:if(hg(f)){Xe=kl,yi=null,a0(e);break}e=function(){Xe!==xd&&Xe!==Ad||Fe!==t||(Xe=i1),Ga(t)},f.then(e,e);break t;case vy:Xe=i1;break t;case HR:Xe=lT;break t;case i1:hg(f)?(Xe=kl,yi=null,a0(e)):(Xe=kl,yi=null,Xr(t,e,f,i1));break;case lT: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){Xe=kl,yi=null;var w=v.sibling;if(w!==null)me=w;else{var D=v.return;D!==null?(me=D,kf(D)):me=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Xe=kl,yi=null,Xr(t,e,f,lT);break;case by:Xe=kl,yi=null,Xr(t,e,f,by);break;case iT:tp(),yn=a1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}tt.actQueue!==null?n0():Cn();break}catch(L){li(t,L)}while(!0);return Sr(),tt.H=o,tt.A=c,xe=a,me!==null?Fs:(Fe=null,de=0,dh(),yn)}function Cn(){for(;me!==null&&!Mp();)np(me)}function np(t){var e=t.alternate;(t.mode&ce)!==$t?(To(t),e=At(t,_f,e,t,ku),bh(t)):e=At(t,_f,e,t,ku),t.memoizedProps=t.pendingProps,e===null?kf(t):me=e}function a0(t){var e=At(t,Jn,t);t.memoizedProps=t.pendingProps,e===null?kf(t):me=e}function Jn(t){var e=t.alternate,a=(t.mode&ce)!==$t;switch(a&&To(t),t.tag){case 15:case 0:e=_g(e,t,t.pendingProps,t.type,void 0,de);break;case 11:e=_g(e,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:du(t);default:Lg(e,t),t=me=ig(t,ku),e=_f(e,t,ku)}return a&&bh(t),e}function Xr(t,e,a,o){Sr(),du(e),Pp=null,cy=0;var c=e.return;try{if(Ag(t,c,e,a,de)){yn=yy,Cf(t,Ta(a,t.current)),me=null;return}}catch(f){if(c!==null)throw me=c,f;yn=yy,Cf(t,Ta(a,t.current)),me=null;return}e.flags&32768?(be||o===l1?t=!0:um||(de&536870912)!==0?t=!1:(Dc=t=!0,(o===xd||o===Ad||o===vy||o===by)&&(o=pi.current,o!==null&&o.tag===13&&(o.flags|=16384))),l0(e,t)):kf(e)}function kf(t){var e=t;do{if((e.flags&32768)!==0){l0(e,Dc);return}var a=e.alternate;if(t=e.return,To(e),a=At(e,Bg,a,e,ku),(e.mode&ce)!==$t&&cf(e),a!==null){me=a;return}if(e=e.sibling,e!==null){me=e;return}me=e=t}while(e!==null);yn===Fs&&(yn=NR)}function l0(t,e){do{var a=Nv(t.alternate,t);if(a!==null){a.flags&=32767,me=a;return}if((t.mode&ce)!==$t){cf(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=a1,me=null}function Je(t,e,a,o,c,f,g,v,w,D,L,Y,j,W){t.cancelPendingCommit=null;do Yf();while(ea!==Oc);if(Yo.flushLegacyContextWarning(),Yo.flushPendingUnsafeLifecycleWarnings(),(xe&(sa|gi))!==va)throw Error("Should not already be working.");if(Zl(a),D===wd?tg(j,W,a,Mn):o!==null?s2(j,W,a,o,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,Mn):u2(j,W,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|=j2,Kd(t,a,f,g,v,w),t===Fe&&(me=Fe=null,de=0),sm=e,_c=t,Xo=a,cT=f,dT=c,QR=o,fT=W,ZR=Y,Qo=r1,JR=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Zr(Ns,function(){return Dy=window.event,Qo===r1&&(Qo=rT),qf(),null})):(t.callbackNode=null,t.callbackPriority=0),Gs=null,Tc=Fn(),Y!==null&&r2(W,Tc,Y,Mn),o=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||o){o=tt.T,tt.T=null,c=Oe.p,Oe.p=Hn,g=xe,xe|=gi;try{d2(t,e,a)}finally{xe=g,Oe.p=c,tt.T=o}}ea=YR,Ma(),Qi(),i0()}}function Ma(){if(ea===YR){ea=Oc;var t=_c,e=sm,a=Xo,o=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||o){o=tt.T,tt.T=null;var c=Oe.p;Oe.p=Hn;var f=xe;xe|=gi;try{im=a,om=t,us(),Hf(e,t),om=im=null,a=wT;var g=rh(t.containerInfo),v=a.focusedElem,w=a.selectionRange;if(g!==v&&v&&v.ownerDocument&&pv(v.ownerDocument.documentElement,v)){if(w!==null&&Wm(v)){var D=w.start,L=w.end;if(L===void 0&&(L=D),"selectionStart"in v)v.selectionStart=D,v.selectionEnd=Math.min(L,v.value.length);else{var Y=v.ownerDocument||document,j=Y&&Y.defaultView||window;if(j.getSelection){var W=j.getSelection(),Et=v.textContent.length,Rt=Math.min(w.start,Et),Ie=w.end===void 0?Rt:Math.min(w.end,Et);!W.extend&&Rt>Ie&&(g=Ie,Ie=Rt,Rt=g);var Te=hv(v,Rt),U=hv(v,Ie);if(Te&&U&&(W.rangeCount!==1||W.anchorNode!==Te.node||W.anchorOffset!==Te.offset||W.focusNode!==U.node||W.focusOffset!==U.offset)){var N=Y.createRange();N.setStart(Te.node,Te.offset),W.removeAllRanges(),Rt>Ie?(W.addRange(N),W.extend(U.node,U.offset)):(N.setEnd(U.node,U.offset),W.addRange(N))}}}}for(Y=[],W=v;W=W.parentNode;)W.nodeType===1&&Y.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Y.length;v++){var B=Y[v];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}A1=!!ET,wT=ET=null}finally{xe=f,Oe.p=c,tt.T=o}}t.current=e,ea=qR}}function Qi(){if(ea===qR){ea=Oc;var t=JR;if(t!==null){Tc=Fn();var e=qs,a=Tc;!ln||a<=e||console.timeStamp(t,e,a,Ee,Se,"secondary-light")}t=_c,e=sm,a=Xo;var o=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||o){o=tt.T,tt.T=null;var c=Oe.p;Oe.p=Hn;var f=xe;xe|=gi;try{im=a,om=t,us(),$h(t,e.alternate,e),om=im=null}finally{xe=f,Oe.p=c,tt.T=o}}t=fT,e=ZR,qs=Fn(),t=e===null?t:Tc,e=qs,a=Qo===sT,o=Mn,Gs!==null?Sv(t,e,Gs,!1,o):!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,Ee,Se,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,Ee,Se,a?"error":"secondary-dark")),ea=GR}}function i0(){if(ea===XR||ea===GR){if(ea===XR){var t=qs;qs=Fn();var e=qs,a=Qo===sT;!ln||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,Ee,Se,a?" error":"secondary-light"),Qo!==sT&&(Qo=kR)}ea=Oc,Op(),t=_c;var o=sm;e=Xo,a=QR;var c=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;c?ea=c1:(ea=Oc,sm=_c=null,o0(t,t.pendingLanes),Dd=0,wy=null);var f=t.pendingLanes;if(f===0&&(Mc=null),c||ip(t),f=kn(e),o=o.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{var g=(o.current.flags&128)===128;switch(f){case Hn:var v=H0;break;case oa:v=_p;break;case ma:v=Ns;break;case Nu:v=Up;break;default:v=Ns}Nn.onCommitFiberRoot(Hs,o,v,g)}catch(Y){Pi||(Pi=!0,console.error("React instrumentation encountered an error: %o",Y))}if(Ii&&t.memoizedUpdaters.clear(),Pg(),a!==null){g=tt.T,v=Oe.p,Oe.p=Hn,tt.T=null;try{var w=t.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],L=Qv(D.stack);At(D.source,w,D.value,L)}}finally{tt.T=g,Oe.p=v}}(Xo&3)!==0&&Yf(),Ga(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(Zb=!0,t===hT?Ey++:(Ey=0,hT=t)):Ey=0,c||Du(e,qs),Zi(0)}}function Qv(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 o0(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,rf(e)))}function Yf(){return Ma(),Qi(),i0(),qf()}function qf(){if(ea!==c1)return!1;var t=_c,e=cT;cT=0;var a=kn(Xo),o=ma>a?ma:a;a=tt.T;var c=Oe.p;try{Oe.p=o,tt.T=null;var f=dT;dT=null,o=_c;var g=Xo;if(ea=Oc,sm=_c=null,Xo=0,(xe&(sa|gi))!==va)throw Error("Cannot flush passive effects while already rendering.");Zl(g),pT=!0,f1=!1;var v=0;if(Gs=null,v=Kn(),Qo===kR)eg(qs,v,S_);else{var w=qs,D=v,L=Qo===rT;!ln||D<=w||(Mn?Mn.run(console.timeStamp.bind(console,L?"Waiting for Paint":"Waiting",w,D,Ee,Se,"secondary-light")):console.timeStamp(L?"Waiting for Paint":"Waiting",w,D,Ee,Se,"secondary-light"))}w=xe,xe|=gi;var Y=o.current;us(),Ph(Y);var j=o.current;Y=fT,us(),$g(o,j,g,f,Y),ip(o),xe=w;var W=Kn();if(j=v,Y=Mn,Gs!==null?Sv(j,W,Gs,!0,Y):!ln||W<=j||(Y?Y.run(console.timeStamp.bind(console,"Remaining Effects",j,W,Ee,Se,"secondary-dark")):console.timeStamp("Remaining Effects",j,W,Ee,Se,"secondary-dark")),Du(g,W),Zi(0,!1),f1?o===wy?Dd++:(Dd=0,wy=o):Dd=0,f1=pT=!1,Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Hs,o)}catch(Rt){Pi||(Pi=!0,console.error("React instrumentation encountered an error: %o",Rt))}var Et=o.current.stateNode;return Et.effectDuration=0,Et.passiveEffectDuration=0,!0}finally{Oe.p=c,tt.T=a,o0(t,e)}}function Oa(t,e,a){e=Ta(a,e),Rv(e),e=Nh(t.stateNode,e,2),t=Ui(t,e,2),t!==null&&(ql(t,2),Ga(t))}function oe(t,e,a){if(rm=!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"&&(Mc===null||!Mc.has(o))){t=Ta(a,t),Rv(t),a=Hh(2),o=Ui(e,a,2),o!==null&&(Bh(a,o,e,t),ql(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,Rt(e,function(v,x){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,x)},f,g)}a=a.next}while(a!==c)}}catch(v){oe(e,e.return,v)}}function Eu(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&Tl)!==Ib&&(rm=!0),c=e,Rt(c,M_,c,a,v),(t&Tl)!==Ib&&(rm=!1))}o=o.next}while(o!==f)}}catch(x){oe(e,e.return,x)}}function Uf(t,e){Gi(t)?(hn(),Oo(e,t),wa()):Oo(e,t)}function Qh(t,e,a){Gi(t)?(hn(),Eu(a,t,e),wa()):Eu(a,t,e)}function Vg(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||lm||(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.",J(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.",J(t)||"instance"));try{Rt(t,Rr,e,a)}catch(o){oe(t,t.return,o)}}}function jf(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||lm||(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.",J(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.",J(t)||"instance"));try{var c=Yi(t.type,a),f=Rt(t,jf,e,c,o);a=LR,f!==void 0||a.has(t.type)||(a.add(t.type),Rt(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",J(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(g){oe(t,t.return,g)}}function Zh(t,e,a){a.props=Yi(t.type,t.memoizedProps),a.state=t.memoizedState,Gi(t)?(hn(),Rt(t,aR,t,e,a),wa()):Rt(t,aR,t,e,a)}function kv(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().",J(t)),e.current=a}}function ws(t,e){try{Rt(t,kv,t)}catch(a){oe(t,e,a)}}function jl(t,e){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{if(Gi(t))try{hn(),Rt(t,o)}finally{wa(t)}else Rt(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(),Rt(t,a,null)}finally{wa(t)}else Rt(t,a,null)}catch(c){oe(t,e,c)}else a.current=null}function kg(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 Yv(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{Rt(t,tb,o,e,a,t)}catch(c){oe(t,t.return,c)}}function Jh(t,e,a){try{Rt(t,hp,t.stateNode,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Yg(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Mu(t.type)||t.tag===4}function Kh(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Yg(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 Vr(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?(nb(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(nb(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=Rl));else if(o!==4&&(o===27&&Mu(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Vr(t,e,a),t=t.sibling;t!==null;)Vr(t,e,a),t=t.sibling}function Nf(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(Nf(t,e,a),t=t.sibling;t!==null;)Nf(t,e,a),t=t.sibling}function qg(t){for(var e,a=t.return;a!==null;){if(Yg(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=Kh(t),Nf(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(pp(a),e.flags&=-33),e=Kh(t),Nf(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=Kh(t),Vr(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 Gg(t){var e=t.stateNode,a=t.memoizedProps;try{Rt(t,Wi,t.type,a,e,t)}catch(o){oe(t,t.return,o)}}function Xg(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 h2(t,e){if(t=t.containerInfo,wT=D1,t=rh(t),Wm(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,x=-1,D=0,L=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||(x=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&&++L===o&&(x=g),(P=q.nextSibling)!==null)break;q=j,j=q.parentNode}q=P}a=v===-1||x===-1?null:{start:v,end:x}}else a=null}a=a||{start:0,end:0}}else a=null;for(xT={focusedElem:t,selectionRange:a},D1=!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)Pr(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Pr(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 $h(t,e,a){var o=tn(),c=Ml(),f=ll(),g=Ol(),v=a.flags;switch(a.tag){case 0:case 11:case 15:fl(t,a),v&4&&Lv(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||lm||(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.",J(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.",J(a)||"instance")),Gi(a)?(hn(),Rt(a,Q2,a,t),wa()):Rt(a,Q2,a,t);else{var x=Yi(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||lm||(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.",J(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.",J(a)||"instance")),Gi(a)?(hn(),Rt(a,tR,a,t,x,e,t.__reactInternalSnapshotBeforeUpdate),wa()):Rt(a,tR,a,t,x,e,t.__reactInternalSnapshotBeforeUpdate)}v&64&&Vg(a),v&512&&ws(a,a.return);break;case 3:if(e=_i(),fl(t,a),v&64&&(v=a.updateQueue,v!==null)){if(x=null,a.child!==null)switch(a.child.tag){case 27:case 5:x=a.child.stateNode;break;case 1:x=a.child.stateNode}try{Rt(a,Rr,v,x)}catch(L){oe(a,a.return,L)}}t.effectDuration+=Er(e);break;case 27:e===null&&v&4&&Gg(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,x=a.stateNode;try{Rt(a,eb,x,t,e,a)}catch(L){oe(a,a.return,L)}}}v&512&&ws(a,a.return);break;case 12:if(v&4){v=_i(),fl(t,a),t=a.stateNode,t.effectDuration+=Ea(v);try{Rt(a,kg,a,e,Tc,t.effectDuration)}catch(L){oe(a,a.return,L)}}else fl(t,a);break;case 31:fl(t,a),v&4&&Zg(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),hb(t,v))));break;case 22:if(v=a.memoizedState!==null||$s,!v){e=e!==null&&e.memoizedState!==null||In,x=$s;var D=In;$s=v,(In=e)&&!D?(li(t,a,(a.subtreeFlags&8772)!==0),(a.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&.05<Kt-Qt&&ch(a,Qt,Kt)):fl(t,a),$s=x,In=D}break;case 30:break;default:fl(t,a)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&((An||.05<gn)&&Kl(a,Qt,Kt,gn,dn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Kt-Qt&&(Xg(a.return.alternate,a.return)||Dl(a,Qt,Kt,"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&&G(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;)Qg(t,e,a),a=a.sibling}function Qg(t,e,a){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Hs,a)}catch(D){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",D))}var o=tn(),c=Ml(),f=ll(),g=Ol();switch(a.tag){case 26:In||jl(a,e),Pe(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:In||jl(a,e);var v=ta,x=Vl;Mu(a.type)&&(ta=a.stateNode,Vl=!1),Pe(t,e,a),Rt(a,Bo,a.stateNode),ta=v,Vl=x;break;case 5:In||jl(a,e);case 6:if(v=ta,x=Vl,ta=null,Pe(t,e,a),ta=v,Vl=x,ta!==null)if(Vl)try{Rt(a,lb,ta,a.stateNode)}catch(D){oe(a,e,D)}else try{Rt(a,ab,ta,a.stateNode)}catch(D){oe(a,e,D)}break;case 18:ta!==null&&(Vl?(t=ta,zs(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),_s(t)):zs(ta,a.stateNode));break;case 4:v=ta,x=Vl,ta=a.stateNode.containerInfo,Vl=!0,Pe(t,e,a),ta=v,Vl=x;break;case 0:case 11:case 14:case 15:Eu(Tl,a,e),In||Xh(a,e,gi),Pe(t,e,a);break;case 1:In||(jl(a,e),v=a.stateNode,typeof v.componentWillUnmount=="function"&&Zh(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<=Kt&&(An||.05<gn)&&Kl(a,Qt,Kt,gn,dn),qn(o),al(c),dn=f,An=g}function Zg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Rt(e,mp,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{Rt(e,py,t)}catch(a){oe(e,e.return,a)}}function qv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new VR),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new VR),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function xu(t,e){var a=qv(t);e.forEach(function(o){if(!a.has(o)){if(a.add(o),to)if(im!==null&&om!==null)Qr(om,im);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Rs.bind(null,t,o);o.then(c,c)}})}function za(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(),x=f;t:for(;x!==null;){switch(x.tag){case 27:if(Mu(x.type)){ta=x.stateNode,Vl=!1;break t}break;case 5:ta=x.stateNode,Vl=!1;break t;case 3:case 4:ta=x.stateNode.containerInfo,Vl=!0;break t}x=x.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.");Qg(c,f,g),ta=null,Vl=!1,(g.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&.05<Kt-Qt&&Dl(g,Qt,Kt,"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;)Hf(e,t),e=e.sibling}function Hf(t,e){var a=tn(),o=Ml(),c=ll(),f=Ol(),g=t.alternate,v=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:za(e,t),Ca(t),v&4&&(Eu(Tl|co,t,t.return),Oo(Tl|co,t),Xh(t,t.return,gi|co));break;case 1:if(za(e,t),Ca(t),v&512&&(In||g===null||jl(g,g.return)),v&64&&$s&&(v=t.updateQueue,v!==null&&(g=v.callbacks,g!==null))){var x=v.shared.hiddenCallbacks;v.shared.hiddenCallbacks=x===null?g:x.concat(g)}break;case 26:if(x=Go,za(e,t),Ca(t),v&512&&(In||g===null||jl(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,x=x.ownerDocument||x;e:switch(v){case"title":D=x.getElementsByTagName("title")[0],(!D||D[hc]||D[an]||D.namespaceURI===ue||D.hasAttribute("itemprop"))&&(D=x.createElement(v),x.head.insertBefore(D,x.querySelector("head > title"))),nn(D,v,g),D[an]=t,jt(D),v=D;break t;case"link":var L=ec("link","href",x).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=x.createElement(v),nn(D,v,g),x.head.appendChild(D);break;case"meta":if(L=ec("meta","content",x).get(v+(g.content||""))){for(q=0;q<L.length;q++)if(D=L[q],Ce(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=x.createElement(v),nn(D,v,g),x.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 yb(x,t.type,t.stateNode);else t.stateNode=vp(x,v,t.memoizedProps);else D!==v?(D===null?g.stateNode!==null&&(g=g.stateNode,g.parentNode.removeChild(g)):D.count--,v===null?yb(x,t.type,t.stateNode):vp(x,v,t.memoizedProps)):v===null&&t.stateNode!==null&&Jh(t,t.memoizedProps,g.memoizedProps)}break;case 27:za(e,t),Ca(t),v&512&&(In||g===null||jl(g,g.return)),g!==null&&v&4&&Jh(t,t.memoizedProps,g.memoizedProps);break;case 5:if(za(e,t),Ca(t),v&512&&(In||g===null||jl(g,g.return)),t.flags&32){x=t.stateNode;try{Rt(t,pp,x)}catch(Dt){oe(t,t.return,Dt)}}v&4&&t.stateNode!=null&&(x=t.memoizedProps,Jh(t,x,g!==null?g.memoizedProps:x)),v&1024&&(lT=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(za(e,t),Ca(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,x=t.stateNode;try{Rt(t,p2,x,g,v)}catch(Dt){oe(t,t.return,Dt)}}break;case 3:if(x=_i(),x1=null,D=Go,Go=gp(e.containerInfo),za(e,t),Go=D,Ca(t),v&4&&g!==null&&g.memoizedState.isDehydrated)try{Rt(t,hy,e.containerInfo)}catch(Dt){oe(t,t.return,Dt)}lT&&(lT=!1,Gv(t)),e.effectDuration+=Er(x);break;case 4:v=Go,Go=gp(t.stateNode.containerInfo),za(e,t),Ca(t),Go=v;break;case 12:v=_i(),za(e,t),Ca(t),t.stateNode.effectDuration+=Ea(v);break;case 31:za(e,t),Ca(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,xu(t,v)));break;case 13:za(e,t),Ca(t),t.child.flags&8192&&t.memoizedState!==null!=(g!==null&&g.memoizedState!==null)&&(r1=Kn()),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,xu(t,v)));break;case 22:x=t.memoizedState!==null;var j=g!==null&&g.memoizedState!==null,P=$s,Et=In;if($s=P||x,In=Et||j,za(e,t),In=Et,$s=P,j&&!x&&!P&&!Et&&(t.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&.05<Kt-Qt&&ch(t,Qt,Kt),Ca(t),v&8192)t:for(e=t.stateNode,e._visibility=x?e._visibility&~$y:e._visibility|$y,!x||g===null||j||$s||In||(Au(t),(t.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&.05<Kt-Qt&&Dl(t,Qt,Kt,"Disconnect")),g=null,e=t;;){if(e.tag===5||e.tag===26){if(g===null){j=g=e;try{D=j.stateNode,x?Rt(j,ob,D):Rt(j,rb,j.stateNode,j.memoizedProps)}catch(Dt){oe(j,j.return,Dt)}}}else if(e.tag===6){if(g===null){j=e;try{L=j.stateNode,x?Rt(j,ub,L):Rt(j,cb,L,j.memoizedProps)}catch(Dt){oe(j,j.return,Dt)}}}else if(e.tag===18){if(g===null){j=e;try{q=j.stateNode,x?Rt(j,ib,q):Rt(j,sb,j.stateNode)}catch(Dt){oe(j,j.return,Dt)}}}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,xu(t,g))));break;case 19:za(e,t),Ca(t),v&4&&(v=t.updateQueue,v!==null&&(t.updateQueue=null,xu(t,v)));break;case 30:break;case 21:break;default:za(e,t),Ca(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&((An||.05<gn)&&Kl(t,Qt,Kt,gn,dn),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<Kt-Qt&&(Xg(t.return.alternate,t.return)||Dl(t,Qt,Kt,"Mount"))),qn(a),al(o),dn=c,An=f}function Ca(t){var e=t.flags;if(e&2){try{Rt(t,qg,t)}catch(a){oe(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Gv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Gv(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;)$h(t,e.alternate,e),e=e.sibling}function Fh(t){var e=tn(),a=Ml(),o=ll(),c=Ol();switch(t.tag){case 0:case 11:case 14:case 15:Xh(t,t.return,gi),Au(t);break;case 1:jl(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Zh(t,t.return,f),Au(t);break;case 27:Rt(t,Bo,t.stateNode);case 26:case 5:jl(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<=Kt&&(An||.05<gn)&&Kl(t,Qt,Kt,gn,dn),qn(e),al(a),dn=o,An=c}function Au(t){for(t=t.child;t!==null;)Fh(t),t=t.sibling}function Kg(t,e,a,o){var c=tn(),f=Ml(),g=ll(),v=Ol(),x=a.flags;switch(a.tag){case 0:case 11:case 15:li(t,a,o),Lv(a,gi);break;case 1:if(li(t,a,o),e=a.stateNode,typeof e.componentDidMount=="function"&&Rt(a,Q2,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{Rt(a,mg,e,t)}catch(D){oe(a,a.return,D)}}o&&x&64&&Vg(a),ws(a,a.return);break;case 27:Gg(a);case 26:case 5:li(t,a,o),o&&e===null&&x&4&&wu(a),ws(a,a.return);break;case 12:if(o&&x&4){x=_i(),li(t,a,o),o=a.stateNode,o.effectDuration+=Ea(x);try{Rt(a,kg,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&&x&4&&Zg(t,a);break;case 13:li(t,a,o),o&&x&4&&Jg(t,a);break;case 22:a.memoizedState===null&&li(t,a,o),ws(a,a.return);break;case 30:break;default:li(t,a,o)}(a.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&(An||.05<gn)&&Kl(a,Qt,Kt,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;)Kg(t,e.alternate,e,a),e=e.sibling}function Bf(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&&os(t),a!=null&&rf(a))}function Lf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(os(e),t!=null&&rf(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;$g(t,e,a,o,f!==null?f.actualStartTime:c),e=f}}function $g(t,e,a,o,c){var f=tn(),g=Ml(),v=ll(),x=Ol(),D=yc,L=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&ce)!==Ft&&0<e.actualStartTime&&(e.flags&1)!==0&&fh(e,e.actualStartTime,c,ua,a),dl(t,e,a,o,c),L&2048&&Uf(e,El|co);break;case 1:(e.mode&ce)!==Ft&&0<e.actualStartTime&&((e.flags&128)!==0?Im(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&fh(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&&(os(o),a!=null&&rf(a))),t.passiveEffectDuration+=Er(q);break;case 12:if(L&2048){L=_i(),dl(t,e,a,o,c),t=e.stateNode,t.passiveEffectDuration+=Ea(L);try{Rt(e,Yv,e,e.alternate,Tc,t.passiveEffectDuration)}catch(P){oe(e,e.return,P)}}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&&Im(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&&Im(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&Vs?dl(t,e,a,o,c):xs(t,e,a,o,c):j._visibility&Vs?dl(t,e,a,o,c):(j._visibility|=Vs,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&&ch(e,t,c),0<=Qt&&0<=Kt&&.05<Kt-Qt&&ch(e,Qt,Kt))),L&2048&&Bf(q,e);break;case 24:dl(t,e,a,o,c),L&2048&&Lf(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&&Dl(e,a,c,"Mount")),0<=Qt&&0<=Kt&&((An||.05<gn)&&Kl(e,Qt,Kt,gn,dn),t&&.05<Kt-Qt&&Dl(e,Qt,Kt,"Mount"))),qn(f),al(g),dn=v,An=x,yc=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=Ml(),x=ll(),D=Ol(),L=yc;c&&(e.mode&ce)!==Ft&&0<e.actualStartTime&&(e.flags&1)!==0&&fh(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),Uf(e,El);break;case 23:break;case 22:var j=e.stateNode;e.memoizedState!==null?j._visibility&Vs?Ru(t,e,a,o,c,f):xs(t,e,a,o,f):(j._visibility|=Vs,Ru(t,e,a,o,c,f)),c&&q&2048&&Bf(e.alternate,e);break;case 24:Ru(t,e,a,o,c,f),c&&q&2048&&Lf(e.alternate,e);break;default:Ru(t,e,a,o,c,f)}(e.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&(An||.05<gn)&&Kl(e,Qt,Kt,gn,dn),qn(g),al(v),dn=x,An=D,yc=L}function xs(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,x=o,D=e!==null?e.actualStartTime:c,L=yc;(f.mode&ce)!==Ft&&0<f.actualStartTime&&(f.flags&1)!==0&&fh(f,f.actualStartTime,D,ua,v);var q=f.flags;switch(f.tag){case 22:xs(g,f,v,x,D),q&2048&&Bf(f.alternate,f);break;case 24:xs(g,f,v,x,D),q&2048&&Lf(f.alternate,f);break;default:xs(g,f,v,x,D)}yc=L,f=e}}function As(t,e,a){if(t.subtreeFlags&m0)for(t=t.child;t!==null;)Wh(t,e,a),t=t.sibling}function Wh(t,e,a){switch(t.tag){case 26:As(t,e,a),t.flags&m0&&t.memoizedState!==null&&by(a,Go,t.memoizedState,t.memoizedProps);break;case 5:As(t,e,a);break;case 3:case 4:var o=Go;Go=gp(t.stateNode.containerInfo),As(t,e,a),Go=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=m0,m0=16777216,As(t,e,a),m0=o):As(t,e,a));break;default:As(t,e,a)}}function Fg(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<=Kt&&.05<Kt-Qt&&Dl(o,Qt,Kt,"Unmount"),qn(c)}Fg(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ph(t),t=t.sibling}function Ph(t){var e=tn(),a=Ml(),o=ll(),c=Ol();switch(t.tag){case 0:case 11:case 15:hl(t),t.flags&2048&&Qh(t,t.return,El|co);break;case 3:var f=_i();hl(t),t.stateNode.passiveEffectDuration+=Er(f);break;case 12:f=_i(),hl(t),t.stateNode.passiveEffectDuration+=Ea(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&Vs&&(t.return===null||t.return.tag!==13)?(f._visibility&=~Vs,Ih(t),(t.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&.05<Kt-Qt&&Dl(t,Qt,Kt,"Disconnect")):hl(t);break;default:hl(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&(An||.05<gn)&&Kl(t,Qt,Kt,gn,dn),qn(e),al(a),An=c,dn=o}function Ih(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<=Kt&&.05<Kt-Qt&&Dl(o,Qt,Kt,"Unmount"),qn(c)}Fg(t)}for(t=t.child;t!==null;)Wg(t),t=t.sibling}function Wg(t){var e=tn(),a=Ml(),o=ll(),c=Ol();switch(t.tag){case 0:case 11:case 15:Qh(t,t.return,El),Ih(t);break;case 22:var f=t.stateNode;f._visibility&Vs&&(f._visibility&=~Vs,Ih(t));break;default:Ih(t)}(t.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&(An||.05<gn)&&Kl(t,Qt,Kt,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=Ml(),v=ll(),x=Ol();switch(o.tag){case 0:case 11:case 15:Qh(o,c,El);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool,c!=null&&os(c));break;case 24:rf(o.memoizedState.cache)}if((o.mode&ce)!==Ft&&0<=Qt&&0<=Kt&&(An||.05<gn)&&Kl(o,Qt,Kt,gn,dn),qn(f),al(g),An=x,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 Pg(){N_.forEach(function(t){return t()})}function Ig(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||et.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function ha(t){if((Re&sa)!==va&&de!==0)return de&-de;var e=et.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),ry()):Io()}function kr(){if(Yl===0)if((de&536870912)===0||Se){var t=sd;sd<<=1,(sd&3932160)===0&&(sd=262144),Yl=t}else Yl=536870912;return t=mi.current,t!==null&&(t.flags|=32),Yl}function Wt(t,e,a){if(rm&&console.error("useInsertionEffect must not schedule updates."),mT&&(h1=!0),(t===Fe&&(Qe===xd||Qe===Ad)||t.cancelPendingCommit!==null)&&(Qi(t,0),Nl(t,de,Yl,!1)),Gl(t,a),(Re&sa)!==va&&t===Fe){if(Pi)switch(e.tag){case 0:case 11:case 15:t=me&&J(me)||"Unknown",tD.has(t)||(tD.add(t),e=J(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:IR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),IR=!0)}}else to&&On(t,e,a),Gf(e),t===Fe&&((Re&sa)===va&&(Cc|=a),yn===Rc&&Nl(t,de,Yl,!1)),Ga(t)}function Xv(t,e,a){if((Re&(sa|yi))!==va)throw Error("Should not already be working.");if(de!==0&&me!==null){var o=me,c=Kn();switch(ZA){case v0:case xd:var f=e0;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 Ad:f=e0,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-e0,3>o||console.timeStamp("Blocked",e0,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):Gr(t,e,!0);var g=a;do{if(f===Fs){um&&!a&&Nl(t,e,0,!1),e=Qe,e0=Fn(),ZA=e;break}else{if(o=Kn(),c=t.current.alternate,g&&!Zv(c)){Jl(e),c=ga,f=o,!ln||f<=c||(Mn?Mn.run(console.timeStamp.bind(console,"Teared Render",c,f,xe,Te,"error")):console.timeStamp("Teared Render",c,f,xe,Te,"error")),Du(e,o),f=Gr(t,e,!1),g=!1;continue}if(f===wd){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){Jl(e),tg(ga,o,e,Mn),Du(e,o),e=v;t:{o=t,f=g,g=S0;var x=o.current.memoizedState.isDehydrated;if(x&&(Qi(o,v).flags|=256),v=Gr(o,v,!1),v!==wd){if(uT&&!x){o.errorRecoveryDisabledLanes|=f,Cc|=f,f=Rc;break t}o=wl,wl=g,o!==null&&(wl===null?wl=o:wl.push.apply(wl,o))}f=v}if(g=!1,f!==wd)continue;o=Kn()}}if(f===y0){Jl(e),tg(ga,o,e,Mn),Du(e,o),Qi(t,0),Nl(t,e,0,!0);break}t:{switch(a=t,f){case Fs:case y0:throw Error("Root did not complete. This is a bug in React.");case Rc:if((e&4194048)!==e)break;case i1:Jl(e),Sv(ga,o,e,Mn),Du(e,o),c=e,(c&127)!==0?Xb=o:(c&4194048)!==0&&(Qb=o),Nl(a,e,Yl,!Dc);break t;case wd:wl=null;break;case l1:case kR:break;default:throw Error("Unknown root exit status.")}if(et.actQueue!==null)Je(a,c,e,wl,T0,s1,Yl,Cc,Rd,f,null,null,ga,o);else{if((e&62914560)===e&&(g=r1+GR-Kn(),10<g)){if(Nl(a,e,Yl,!Dc),Xu(a,0,!0)!==0)break t;Xo=e,a.timeoutHandle=sD(Qv.bind(null,a,c,wl,T0,s1,e,Yl,Cc,Rd,Dc,f,"Throttled",ga,o),g);break t}Qv(a,c,wl,T0,s1,e,Yl,Cc,Rd,Dc,f,null,ga,o)}}}break}while(!0);Ga(t)}function Qv(t,e,a,o,c,f,g,v,x,D,L,q,j,P){t.timeoutHandle=Od;var Et=e.subtreeFlags,Dt=null;if((Et&8192||(Et&16785408)===16785408)&&(Dt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rl},Wh(e,f,Dt),Et=(f&62914560)===f?r1-Kn():(f&4194048)===f?qR-Kn():0,Et=bp(Dt,Et),Et!==null)){Xo=f,t.cancelPendingCommit=Et(Je.bind(null,t,e,f,a,o,c,g,v,x,L,Dt,Dt.waitingForViewTransition?"Waiting for the previous Animation":0<Dt.count?0<Dt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Dt.imgCount===1?"Suspended on an Image":0<Dt.imgCount?"Suspended on Images":null,j,P)),Nl(t,f,g,!D);return}Je(t,e,f,a,o,c,g,v,x,L,Dt,q,j,P)}function Zv(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 Nl(t,e,a,o){e&=~sT,e&=~Cc,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&&ur(t,a,e)}function pl(){return(Re&(sa|yi))===va?(Ji(0),!1):!0}function tp(){if(me!==null){if(Qe===kl)var t=me.return;else t=me,Sr(),du(t),Pp=null,c0=0,t=me;for(;t!==null;)Lg(t.alternate,t),t=t.return;me=null}}function Du(t,e){(t&127)!==0&&(pd=e),(t&4194048)!==0&&(Xs=e),(t&62914560)!==0&&(XA=e),(t&2080374784)!==0&&(QA=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(Jl(de),yn===l1||yn===Rc)Sv(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,xe,Te,f)):console.timeStamp(g,a,o,xe,Te,f)}}Du(de,ga)}if(a=Mn,Mn=null,(e&127)!==0){Mn=Py,c=0<=Lu&&Lu<pd?pd:Lu,o=0<=md&&md<pd?pd:md,f=0<=o?o:0<=c?c:ga,0<=Xb?(Jl(2),Tv(Xb,f,e,a)):Zb&127,a=c;var v=o,x=Iy,D=0<$p,L=Ec===Wy,q=Ec===Gb;if(c=ga,o=Py,f=k2,g=Y2,ln){if(xe="Blocking",0<a?a>c&&(a=c):a=c,0<v?v>a&&(v=a):v=a,x!==null&&a>v){var j=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+x,v,a,xe,Te,j)):console.timeStamp(D?"Consecutive":"Event: "+x,v,a,xe,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:xe,trackGroup:Te,color:v}}},o?o.run(performance.measure.bind(performance,L,a)):performance.measure(L,a))}Lu=-1.1,Ec=0,Y2=k2=null,Xb=-1.1,$p=md,md=-1.1,pd=Fn()}if((e&4194048)!==0&&(Mn=t0,c=0<=Qs&&Qs<Xs?Xs:Qs,a=0<=so&&so<Xs?Xs:so,o=0<=wc&&wc<Xs?Xs:wc,f=0<=o?o:0<=a?a:ga,0<=Qb?(Jl(256),Tv(Qb,f,e,Mn)):Zb&4194048,q=o,v=gd,x=0<xc,D=q2===Gb,f=ga,o=t0,g=qA,L=GA,ln&&(xe="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=x?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,x?"Consecutive":"Event: "+v,q,c,xe,Te,j)):console.timeStamp(x?"Consecutive":"Event: "+v,q,c,xe,Te,j)),a>c&&(o?o.run(console.timeStamp.bind(console,"Action",c,a,xe,Te,"primary-dark")):console.timeStamp("Action",c,a,xe,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:xe,trackGroup:Te,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),so=Qs=-1.1,q2=0,Qb=-1.1,xc=wc,wc=-1.1,Xs=Fn()),(e&62914560)!==0&&(Zb&62914560)!==0&&(Jl(4194304),eg(XA,ga)),(e&2080374784)!==0&&(Zb&2080374784)!==0&&(Jl(268435456),eg(QA,ga)),a=t.timeoutHandle,a!==Od&&(t.timeoutHandle=Od,K_(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Xo=0,tp(),Fe=t,me=a=Mi(t.current,null),de=e,Qe=kl,vi=null,Dc=!1,um=Rn(t,e),uT=!1,yn=Fs,Rd=Yl=sT=Cc=zc=0,wl=S0=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 ku=e,dh(),t=HA(),1e3<t-NA&&(et.recentlyCreatedOwnerStacks=0,NA=t),Yo.discardPendingWarnings(),a}function ii(t,e){It=null,et.H=p0,et.getCurrentStack=null,Pi=!1,Ja=null,e===Wp||e===Fb?(e=rs(),Qe=v0):e===Z2?(e=rs(),Qe=YR):Qe=e===nT?oT:e!==null&&typeof e=="object"&&typeof e.then=="function"?b0:o1,vi=e;var a=me;a===null?(yn=y0,zf(t,Ta(e,t.current))):a.mode&ce&&bh(a)}function ty(){var t=mi.current;return t===null?!0:(de&4194048)===de?ro===null:(de&62914560)===de||(de&536870912)!==0?t===ro:!1}function ep(){var t=et.H;return et.H=p0,t===null?p0:t}function ey(){var t=et.A;return et.A=j_,t}function Yr(t){Mn===null&&(Mn=t._debugTask==null?null:t._debugTask)}function qr(){yn=Rc,Dc||(de&4194048)!==de&&mi.current!==null||(um=!0),(zc&134217727)===0&&(Cc&134217727)===0||Fe===null||Nl(Fe,de,Yl,!1)}function Gr(t,e,a){var o=Re;Re|=sa;var c=ep(),f=ey();if(Fe!==t||de!==e){if(to){var g=t.memoizedUpdaters;0<g.size&&(Qr(t,de),g.clear()),Ia(t,e)}T0=null,Qi(t,e)}e=!1,g=yn;t:do try{if(Qe!==kl&&me!==null){var v=me,x=vi;switch(Qe){case oT:tp(),g=i1;break t;case v0:case xd:case Ad:case b0:mi.current===null&&(e=!0);var D=Qe;if(Qe=kl,vi=null,Xr(t,v,x,D),a&&um){g=Fs;break t}break;default:D=Qe,Qe=kl,vi=null,Xr(t,v,x,D)}}ny(),g=yn;break}catch(L){ii(t,L)}while(!0);return e&&t.shellSuspendCounter++,Sr(),Re=o,et.H=c,et.A=f,me===null&&(Fe=null,de=0,dh()),g}function ny(){for(;me!==null;)np(me)}function _o(t,e){var a=Re;Re|=sa;var o=ep(),c=ey();if(Fe!==t||de!==e){if(to){var f=t.memoizedUpdaters;0<f.size&&(Qr(t,de),f.clear()),Ia(t,e)}T0=null,c1=Kn()+XR,Qi(t,e)}else um=Rn(t,e);t:do try{if(Qe!==kl&&me!==null)e:switch(e=me,f=vi,Qe){case o1:Qe=kl,vi=null,Xr(t,e,f,o1);break;case xd:case Ad:if(hg(f)){Qe=kl,vi=null,ay(e);break}e=function(){Qe!==xd&&Qe!==Ad||Fe!==t||(Qe=u1),Ga(t)},f.then(e,e);break t;case v0:Qe=u1;break t;case YR:Qe=iT;break t;case u1:hg(f)?(Qe=kl,vi=null,ay(e)):(Qe=kl,vi=null,Xr(t,e,f,u1));break;case iT: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=kl,vi=null;var x=v.sibling;if(x!==null)me=x;else{var D=v.return;D!==null?(me=D,kf(D)):me=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Qe=kl,vi=null,Xr(t,e,f,iT);break;case b0:Qe=kl,vi=null,Xr(t,e,f,b0);break;case oT:tp(),yn=i1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}et.actQueue!==null?ny():zn();break}catch(L){ii(t,L)}while(!0);return Sr(),et.H=o,et.A=c,Re=a,me!==null?Fs:(Fe=null,de=0,dh(),yn)}function zn(){for(;me!==null&&!Mp();)np(me)}function np(t){var e=t.alternate;(t.mode&ce)!==Ft?(To(t),e=Rt(t,_f,e,t,ku),bh(t)):e=Rt(t,_f,e,t,ku),t.memoizedProps=t.pendingProps,e===null?kf(t):me=e}function ay(t){var e=Rt(t,Jn,t);t.memoizedProps=t.pendingProps,e===null?kf(t):me=e}function Jn(t){var e=t.alternate,a=(t.mode&ce)!==Ft;switch(a&&To(t),t.tag){case 15:case 0:e=_g(e,t,t.pendingProps,t.type,void 0,de);break;case 11:e=_g(e,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:du(t);default:Lg(e,t),t=me=ig(t,ku),e=_f(e,t,ku)}return a&&bh(t),e}function Xr(t,e,a,o){Sr(),du(e),Pp=null,c0=0;var c=e.return;try{if(Ag(t,c,e,a,de)){yn=y0,zf(t,Ta(a,t.current)),me=null;return}}catch(f){if(c!==null)throw me=c,f;yn=y0,zf(t,Ta(a,t.current)),me=null;return}e.flags&32768?(Se||o===o1?t=!0:um||(de&536870912)!==0?t=!1:(Dc=t=!0,(o===xd||o===Ad||o===v0||o===b0)&&(o=mi.current,o!==null&&o.tag===13&&(o.flags|=16384))),ly(e,t)):kf(e)}function kf(t){var e=t;do{if((e.flags&32768)!==0){ly(e,Dc);return}var a=e.alternate;if(t=e.return,To(e),a=Rt(e,Bg,a,e,ku),(e.mode&ce)!==Ft&&cf(e),a!==null){me=a;return}if(e=e.sibling,e!==null){me=e;return}me=e=t}while(e!==null);yn===Fs&&(yn=kR)}function ly(t,e){do{var a=Bv(t.alternate,t);if(a!==null){a.flags&=32767,me=a;return}if((t.mode&ce)!==Ft){cf(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=i1,me=null}function Je(t,e,a,o,c,f,g,v,x,D,L,q,j,P){t.cancelPendingCommit=null;do Yf();while(ea!==Oc);if(Yo.flushLegacyContextWarning(),Yo.flushPendingUnsafeLifecycleWarnings(),(Re&(sa|yi))!==va)throw Error("Should not already be working.");if(Jl(a),D===wd?tg(j,P,a,Mn):o!==null?r2(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|=N2,Kd(t,a,f,g,v,x),t===Fe&&(me=Fe=null,de=0),sm=e,_c=t,Xo=a,fT=f,hT=c,FR=o,dT=P,WR=q,Qo=f1,PR=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Zr(Ns,function(){return D0=window.event,Qo===f1&&(Qo=cT),qf(),null})):(t.callbackNode=null,t.callbackPriority=0),Gs=null,Tc=Fn(),q!==null&&c2(P,Tc,q,Mn),o=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||o){o=et.T,et.T=null,c=je.p,je.p=Hn,g=Re,Re|=yi;try{h2(t,e,a)}finally{Re=g,je.p=c,et.T=o}}ea=ZR,Ma(),Zi(),iy()}}function Ma(){if(ea===ZR){ea=Oc;var t=_c,e=sm,a=Xo,o=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||o){o=et.T,et.T=null;var c=je.p;je.p=Hn;var f=Re;Re|=yi;try{im=a,om=t,us(),Hf(e,t),om=im=null,a=xT;var g=rh(t.containerInfo),v=a.focusedElem,x=a.selectionRange;if(g!==v&&v&&v.ownerDocument&&gv(v.ownerDocument.documentElement,v)){if(x!==null&&Wm(v)){var D=x.start,L=x.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 P=j.getSelection(),Et=v.textContent.length,Dt=Math.min(x.start,Et),Ie=x.end===void 0?Dt:Math.min(x.end,Et);!P.extend&&Dt>Ie&&(g=Ie,Ie=Dt,Dt=g);var Ee=mv(v,Dt),U=mv(v,Ie);if(Ee&&U&&(P.rangeCount!==1||P.anchorNode!==Ee.node||P.anchorOffset!==Ee.offset||P.focusNode!==U.node||P.focusOffset!==U.offset)){var N=q.createRange();N.setStart(Ee.node,Ee.offset),P.removeAllRanges(),Dt>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 B=q[v];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}D1=!!wT,xT=wT=null}finally{Re=f,je.p=c,et.T=o}}t.current=e,ea=JR}}function Zi(){if(ea===JR){ea=Oc;var t=PR;if(t!==null){Tc=Fn();var e=qs,a=Tc;!ln||a<=e||console.timeStamp(t,e,a,xe,Te,"secondary-light")}t=_c,e=sm,a=Xo;var o=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||o){o=et.T,et.T=null;var c=je.p;je.p=Hn;var f=Re;Re|=yi;try{im=a,om=t,us(),$h(t,e.alternate,e),om=im=null}finally{Re=f,je.p=c,et.T=o}}t=dT,e=WR,qs=Fn(),t=e===null?t:Tc,e=qs,a=Qo===rT,o=Mn,Gs!==null?Ev(t,e,Gs,!1,o):!ln||e<=t||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,xe,Te,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,xe,Te,a?"error":"secondary-dark")),ea=KR}}function iy(){if(ea===$R||ea===KR){if(ea===$R){var t=qs;qs=Fn();var e=qs,a=Qo===rT;!ln||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,xe,Te,a?" error":"secondary-light"),Qo!==rT&&(Qo=QR)}ea=Oc,Op(),t=_c;var o=sm;e=Xo,a=FR;var c=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;c?ea=d1:(ea=Oc,sm=_c=null,oy(t,t.pendingLanes),Dd=0,w0=null);var f=t.pendingLanes;if(f===0&&(Mc=null),c||ip(t),f=kn(e),o=o.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{var g=(o.current.flags&128)===128;switch(f){case Hn:var v=Hy;break;case oa:v=_p;break;case ma:v=Ns;break;case Nu:v=Up;break;default:v=Ns}Nn.onCommitFiberRoot(Hs,o,v,g)}catch(q){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",q))}if(to&&t.memoizedUpdaters.clear(),Pg(),a!==null){g=et.T,v=je.p,je.p=Hn,et.T=null;try{var x=t.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],L=Jv(D.stack);Rt(D.source,x,D.value,L)}}finally{et.T=g,je.p=v}}(Xo&3)!==0&&Yf(),Ga(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(Kb=!0,t===pT?E0++:(E0=0,pT=t)):E0=0,c||Du(e,qs),Ji(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 oy(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,rf(e)))}function Yf(){return Ma(),Zi(),iy(),qf()}function qf(){if(ea!==d1)return!1;var t=_c,e=fT;fT=0;var a=kn(Xo),o=ma>a?ma:a;a=et.T;var c=je.p;try{je.p=o,et.T=null;var f=hT;hT=null,o=_c;var g=Xo;if(ea=Oc,sm=_c=null,Xo=0,(Re&(sa|yi))!==va)throw Error("Cannot flush passive effects while already rendering.");Jl(g),mT=!0,h1=!1;var v=0;if(Gs=null,v=Kn(),Qo===QR)eg(qs,v,D_);else{var x=qs,D=v,L=Qo===cT;!ln||D<=x||(Mn?Mn.run(console.timeStamp.bind(console,L?"Waiting for Paint":"Waiting",x,D,xe,Te,"secondary-light")):console.timeStamp(L?"Waiting for Paint":"Waiting",x,D,xe,Te,"secondary-light"))}x=Re,Re|=yi;var q=o.current;us(),Ph(q);var j=o.current;q=dT,us(),$g(o,j,g,f,q),ip(o),Re=x;var P=Kn();if(j=v,q=Mn,Gs!==null?Ev(j,P,Gs,!0,q):!ln||P<=j||(q?q.run(console.timeStamp.bind(console,"Remaining Effects",j,P,xe,Te,"secondary-dark")):console.timeStamp("Remaining Effects",j,P,xe,Te,"secondary-dark")),Du(g,P),Ji(0,!1),h1?o===w0?Dd++:(Dd=0,w0=o):Dd=0,h1=mT=!1,Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Hs,o)}catch(Dt){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",Dt))}var Et=o.current.stateNode;return Et.effectDuration=0,Et.passiveEffectDuration=0,!0}finally{je.p=c,et.T=a,oy(t,e)}}function Oa(t,e,a){e=Ta(a,e),zv(e),e=Nh(t.stateNode,e,2),t=ji(t,e,2),t!==null&&(Gl(t,2),Ga(t))}function oe(t,e,a){if(rm=!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"&&(Mc===null||!Mc.has(o))){t=Ta(a,t),zv(t),a=Hh(2),o=ji(e,a,2),o!==null&&(Bh(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 ap(t,e,a){var o=t.pingCache;if(o===null){o=t.pingCache=new
|
|
170
|
+
%s`,a)}}function ap(t,e,a){var o=t.pingCache;if(o===null){o=t.pingCache=new H_;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)||(uT=!0,c.add(a),o=qa.bind(null,t,e,a),to&&Qr(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&&(pd=Lu=Fn(),Py=qb("Promise Resolved"),Ec=Gb):(a&4194048)!==0&&0>so&&(Xs=so=Fn(),t0=qb("Promise Resolved"),q2=Gb),Ig()&&et.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===Rc||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===Rc||yn===l1&&(de&62914560)===de&&Kn()-r1<GR?(Re&sa)===va&&Qi(t,0):sT|=a,Rd===de&&(Rd=0)),Ga(t)}function uy(t,e){e===0&&(e=ir()),t=fa(t,e),t!==null&&(Gl(t,e),Ga(t))}function Uo(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),uy(t,a)}function Rs(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),uy(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&&Rt(c,lp,o,c):oi(o,c,f):c.memoizedState===null&&(f&&c.flags&8192?Rt(c,lp,o,c):c.subtreeFlags&67108864&&Rt(c,oi,o,c,f)),e=e.sibling}}function lp(t,e){_t(!0);try{Fh(e),Wg(e),Kg(t,e.alternate,e,!1),Vf(t,e,0,null,!1,0)}finally{_t(!1)}}function ip(t){var e=!0;t.current.mode&(Ka|ko)||(e=!1),oi(t,t.current,e)}function Hl(t){if((Re&sa)===va){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=J(t)||"ReactComponent",p1!==null){if(p1.has(e))return;p1.add(e)}else p1=new Set([e]);Rt(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 Qr(t,e){to&&t.memoizedUpdaters.forEach(function(a){On(t,a,e)})}function Zr(t,e){var a=et.actQueue;return a!==null?(a.push(e),V_):Ny(t,e)}function Gf(t){Ig()&&et.actQueue===null&&Rt(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`,ht(t))})}function Ga(t){t!==cm&&t.next===null&&(cm===null?h1=cm=t:cm=cm.next=t),p1=!0,tt.actQueue!==null?gT||(gT=!0,Jv()):mT||(mT=!0,Jv())}function Zi(t,e){if(!yT&&p1){yT=!0;do for(var a=!1,o=h1;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,Xf(o,f))}else f=de,f=Xu(o,o===Fe?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Od),(f&3)===0||Rn(o,f)||(a=!0,Xf(o,f));o=o.next}while(a);yT=!1}}function Zv(){Dy=window.event,op()}function op(){p1=gT=mT=!1;var t=0;Uc!==0&&f0()&&(t=Uc);for(var e=Kn(),a=null,o=h1;o!==null;){var c=o.next,f=Jr(o,e);f===0?(o.next=null,a===null?h1=c:a.next=c,c===null&&(cm=a)):(a=o,(t!==0||(f&3)!==0)&&(p1=!0)),o=c}ea!==Oc&&ea!==c1||Zi(t),Uc!==0&&(Uc=0)}function Jr(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,w=c[g];w===-1?((v&a)===0||(v&o)!==0)&&(c[g]=Jd(v,e)):w<=e&&(t.expiredLanes|=v),f&=~v}if(e=Fe,a=de,a=Xu(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Od),o=t.callbackNode,a===0||t===e&&(Xe===xd||Xe===Ad)||t.cancelPendingCommit!==null)return o!==null&&up(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Rn(t,a)){if(e=a&-a,e!==t.callbackPriority||tt.actQueue!==null&&o!==vT)up(o);else return e;switch(kn(a)){case Hn:case oa:a=_p;break;case ma:a=Ns;break;case Nu:a=Up;break;default:a=Ns}return o=s0.bind(null,t),tt.actQueue!==null?(tt.actQueue.push(o),a=vT):a=N0(a,o),t.callbackPriority=e,t.callbackNode=a,e}return o!==null&&up(o),t.callbackPriority=2,t.callbackNode=null,2}function s0(t,e){if(Zb=Qb=!1,Dy=window.event,ea!==Oc&&ea!==c1)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Qo===r1&&(Qo=rT),Yf()&&t.callbackNode!==a)return null;var o=de;return o=Xu(t,t===Fe?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Od),o===0?null:(qv(t,o,e),Jr(t,Kn()),t.callbackNode!=null&&t.callbackNode===a?s0.bind(null,t):null)}function Xf(t,e){if(Yf())return null;Qb=Zb,Zb=!1,qv(t,e,!0)}function up(t){t!==vT&&t!==null&&zp(t)}function Jv(){tt.actQueue!==null&&tt.actQueue.push(function(){return op(),null}),q_(function(){(xe&(sa|gi))!==va?N0(H0,Zv):op()})}function r0(){if(Uc===0){var t=yd;t===0&&(t=fc,fc<<=1,(fc&261888)===0&&(fc=256)),Uc=t}return Uc}function De(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(Re(t,"action"),Pc(""+t))}function Ye(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=De((c[Na]||null).action),g=o.submitter;g&&(e=(e=g[Na]||null)?De(e.formAction):g.getAttribute("formAction"),e!==null&&(f=e,g=null));var v=new Ub("action","action",null,o,c);t.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Uc!==0){var w=g?Ye(c,g):new FormData(c),D={pending:!0,data:w,method:c.method,action:f};Object.freeze(D),zo(a,D,null,w)}}else typeof f=="function"&&(v.preventDefault(),w=g?Ye(c,g):new FormData(c),D={pending:!0,data:w,method:c.method,action:f},Object.freeze(D),zo(a,D,f,w))},currentTarget:c}]})}}function pe(t,e,a){t.currentTarget=a;try{e(t)}catch(o){M2(o)}t.currentTarget=null}function He(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],w=v.instance,D=v.currentTarget;if(v=v.listener,w!==c&&f.isPropagationStopped())break t;w!==null?At(w,pe,f,v,D):pe(f,v,D),c=w}else for(g=0;g<o.length;g++){if(v=o[g],w=v.instance,D=v.currentTarget,v=v.listener,w!==c&&f.isPropagationStopped())break t;w!==null?At(w,pe,f,v,D):pe(f,v,D),c=w}}}}function Kt(t,e){bT.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[Bs];a===void 0&&(a=e[Bs]=new Set);var o=t+"__bubble";a.has(o)||(sp(e,t,2,!1),a.add(o))}function Ji(t,e,a){bT.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[m1]){t[m1]=!0,Cb.forEach(function(a){a!=="selectionchange"&&(bT.has(a)||Ji(a,!1,t),Ji(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[m1]||(e[m1]=!0,Ji("selectionchange",!1,e))}}function sp(t,e,a,o){switch(Ep(e)){case Hn:var c=x0;break;case oa:c=la;break;default:c=A0}a=c.bind(null,e,a,t),c=void 0,!S2||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 oi(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 w=g.tag;if((w===3||w===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;v!==null;){if(g=yt(v),g===null)return;if(w=g.tag,w===5||w===6||w===26||w===27){o=f=g;continue t}v=v.parentNode}}o=o.return}ih(function(){var D=f,L=Xl(a),Y=[];t:{var j=zA.get(t);if(j!==void 0){var W=Ub,Et=t;switch(t){case"keypress":if(Ic(a)===0)break t;case"keydown":case"keyup":W=JO;break;case"focusin":Et="focus",W=x2;break;case"focusout":Et="blur",W=x2;break;case"beforeblur":case"afterblur":W=x2;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":W=mA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=NO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=FO;break;case AA:case RA:case DA:W=LO;break;case CA:W=PO;break;case"scroll":case"scrollend":W=UO;break;case"wheel":W=t_;break;case"copy":case"cut":case"paste":W=kO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=yA;break;case"toggle":case"beforetoggle":W=n_}var Rt=(e&4)!==0,Ie=!Rt&&(t==="scroll"||t==="scrollend"),Te=Rt?j!==null?j+"Capture":null:j;Rt=[];for(var U=D,N;U!==null;){var B=U;if(N=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||N===null||Te===null||(B=Di(U,Te),B!=null&&Rt.push(Ke(U,B,N))),Ie)break;U=U.return}0<Rt.length&&(j=new W(j,Et,null,a,L),Y.push({event:j,listeners:Rt}))}}if((e&7)===0){t:{if(j=t==="mouseover"||t==="pointerover",W=t==="mouseout"||t==="pointerout",j&&a!==Y0&&(Et=a.relatedTarget||a.fromElement)&&(yt(Et)||Et[Vo]))break t;if((W||j)&&(j=L.window===L?L:(j=L.ownerDocument)?j.defaultView||j.parentWindow:window,W?(Et=a.relatedTarget||a.toElement,W=D,Et=Et?yt(Et):null,Et!==null&&(Ie=ot(Et),Rt=Et.tag,Et!==Ie||Rt!==5&&Rt!==27&&Rt!==6)&&(Et=null)):(W=null,Et=D),W!==Et)){if(Rt=mA,B="onMouseLeave",Te="onMouseEnter",U="mouse",(t==="pointerout"||t==="pointerover")&&(Rt=yA,B="onPointerLeave",Te="onPointerEnter",U="pointer"),Ie=W==null?j:_t(W),N=Et==null?j:_t(Et),j=new Rt(B,U+"leave",W,a,L),j.target=Ie,j.relatedTarget=N,B=null,yt(L)===D&&(Rt=new Rt(Te,U+"enter",Et,a,L),Rt.target=N,Rt.relatedTarget=Ie,B=Rt),Ie=B,W&&Et)e:{for(Rt=Ds,Te=W,U=Et,N=0,B=Te;B;B=Rt(B))N++;B=0;for(var it=U;it;it=Rt(it))B++;for(;0<N-B;)Te=Rt(Te),N--;for(;0<B-N;)U=Rt(U),B--;for(;N--;){if(Te===U||U!==null&&Te===U.alternate){Rt=Te;break e}Te=Rt(Te),U=Rt(U)}Rt=null}else Rt=null;W!==null&&rp(Y,j,W,Rt,!1),Et!==null&&Ie!==null&&rp(Y,Ie,Et,Rt,!0)}}t:{if(j=D?_t(D):window,W=j.nodeName&&j.nodeName.toLowerCase(),W==="select"||W==="input"&&j.type==="file")var wt=lu;else if(Km(j))if(wA)wt=af;else{wt=$m;var It=o2}else W=j.nodeName,!W||W.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?D&&Ri(D.elementType)&&(wt=lu):wt=Fm;if(wt&&(wt=wt(t,D))){ef(Y,wt,a,L);break t}It&&It(t,j,D),t==="focusout"&&D&&j.type==="number"&&D.memoizedProps.value!=null&&Vm(j,"number",j.value)}switch(It=D?_t(D):window,t){case"focusin":(Km(It)||It.contentEditable==="true")&&(Yp=It,R2=D,K0=null);break;case"focusout":K0=R2=Yp=null;break;case"mousedown":D2=!0;break;case"contextmenu":case"mouseup":case"dragend":D2=!1,mv(Y,a,L);break;case"selectionchange":if(o_)break;case"keydown":case"keyup":mv(Y,a,L)}var kt;if(A2)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 kp?mr(t,a)&&(Bt="onCompositionEnd"):t==="keydown"&&a.keyCode===vA&&(Bt="onCompositionStart");Bt&&(bA&&a.locale!=="ko"&&(kp||Bt!=="onCompositionStart"?Bt==="onCompositionEnd"&&kp&&(kt=Wu()):(gc=L,T2="value"in gc?gc.value:gc.textContent,kp=!0)),It=ui(D,Bt),0<It.length&&(Bt=new gA(Bt,t,null,a,L),Y.push({event:Bt,listeners:It}),kt?Bt.data=kt:(kt=bo(a),kt!==null&&(Bt.data=kt)))),(kt=l_?Jm(t,a):oh(t,a))&&(Bt=ui(D,"onBeforeInput"),0<Bt.length&&(It=new qO("onBeforeInput","beforeinput",null,a,L),Y.push({event:It,listeners:Bt}),It.data=kt)),ve(Y,t,D,a,L)}He(Y,e)})}function Ke(t,e,a){return{instance:t,listener:e,currentTarget:a}}function ui(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=Di(t,a),c!=null&&o.unshift(Ke(t,c,f)),c=Di(t,e),c!=null&&o.push(Ke(t,c,f))),t.tag===3)return o;t=t.return}return[]}function Ds(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function rp(t,e,a,o,c){for(var f=e._reactName,g=[];a!==null&&a!==o;){var v=a,w=v.alternate,D=v.stateNode;if(v=v.tag,w!==null&&w===o)break;v!==5&&v!==26&&v!==27||D===null||(w=D,c?(D=Di(a,f),D!=null&&g.unshift(Ke(a,D,w))):c||(D=Di(a,f),D!=null&&g.push(Ke(a,D,w)))),a=a.return}g.length!==0&&t.push({event:e,listeners:g})}function _a(t,e){cv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||hA||(hA=!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:to,possibleRegistrationNames:pc};Ri(t)||typeof e.is=="string"||i2(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 Qf(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 cp(t,e){return t=t.namespaceURI===ne||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(U_,`
|
|
189
|
-
`).replace(j_,"")}function c0(t,e){return e=si(e),si(t)===e}function Me(t,e,a,o,c,f){switch(a){case"children":typeof o=="string"?(Wc(o,e,!1),e==="body"||e==="textarea"&&o===""||Fu(t,o)):(typeof o=="number"||typeof o=="bigint")&&(Wc(""+o,e,!1),e!=="body"&&Fu(t,""+o));break;case"className":Kc(t,"class",o);break;case"tabIndex":Kc(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Kc(t,a,o);break;case"style":Xm(t,o,f);break;case"data":if(e!=="object"){Kc(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}Re(o,a),o=Pc(""+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||v1||(v1=!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||y1||(y1=!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"||g1?e!=="button"||c.type==null||c.type==="submit"||g1?typeof o=="function"&&(c.name==null||PR||(PR=!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||v1||(v1=!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||y1||(y1=!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."))):(g1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(g1=!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"&&Me(t,e,"name",c.name,c,null),Me(t,e,"formEncType",c.formEncType,c,null),Me(t,e,"formMethod",c.formMethod,c,null),Me(t,e,"formTarget",c.formTarget,c,null)):(Me(t,e,"encType",c.encType,c,null),Me(t,e,"method",c.method,c,null),Me(t,e,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}Re(o,a),o=Pc(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Rl);break;case"onScroll":o!=null&&(typeof o!="function"&&fn(a,o),Kt("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&fn(a,o),Kt("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}Re(o,a),a=Pc(""+o),t.setAttributeNS(Cd,"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"?(Re(o,a),t.setAttribute(a,""+o)):t.removeAttribute(a);break;case"inert":o!==""||b1[a]||(b1[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"?(Re(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?(Re(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):(Re(o,a),t.setAttribute(a,o));break;case"popover":Kt("beforetoggle",t),Kt("toggle",t),sr(t,"popover",o);break;case"xlinkActuate":wi(t,Cd,"xlink:actuate",o);break;case"xlinkArcrole":wi(t,Cd,"xlink:arcrole",o);break;case"xlinkRole":wi(t,Cd,"xlink:role",o);break;case"xlinkShow":wi(t,Cd,"xlink:show",o);break;case"xlinkTitle":wi(t,Cd,"xlink:title",o);break;case"xlinkType":wi(t,Cd,"xlink:type",o);break;case"xmlBase":wi(t,ST,"xml:base",o);break;case"xmlLang":wi(t,ST,"xml:lang",o);break;case"xmlSpace":wi(t,ST,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),sr(t,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":IR||o==null||typeof o!="object"||(IR=!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=sv(a),sr(t,a,o)):to.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&fn(a,o)}}function Kr(t,e,a,o,c,f){switch(a){case"style":Xm(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),Kt("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&fn(a,o),Kt("scrollend",t));break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Rl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(to.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,""):sr(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":Kt("error",t),Kt("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:Me(t,e,f,g,a,null)}}c&&Me(t,e,"srcSet",a.srcSet,a,null),o&&Me(t,e,"src",a.src,a,null);return;case"input":ca("input",a),Kt("invalid",t);var v=f=g=c=null,w=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":w=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:Me(t,e,o,L,a,null)}}Sa(t,a),Wd(t,f,v,w,D,g,c,!1);return;case"select":ca("select",a),Kt("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:Me(t,e,c,v,a,null)}Pd(t,a),e=f,a=g,t.multiple=!!o,e!=null?xi(t,!!o,e,!1):a!=null&&xi(t,!!o,a,!0);return;case"textarea":ca("textarea",a),Kt("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:Me(t,e,g,v,a,null)}Zu(t,a),rr(t,o,c,f);return;case"option":uv(t,a);for(w in a)a.hasOwnProperty(w)&&(o=a[w],o!=null)&&(w==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Me(t,e,w,o,a,null));return;case"dialog":Kt("beforetoggle",t),Kt("toggle",t),Kt("cancel",t),Kt("close",t);break;case"iframe":case"object":Kt("load",t);break;case"video":case"audio":for(o=0;o<xy.length;o++)Kt(xy[o],t);break;case"image":Kt("error",t),Kt("load",t);break;case"details":Kt("toggle",t);break;case"embed":case"source":case"link":Kt("error",t),Kt("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:Me(t,e,D,o,a,null)}return;default:if(Ri(e)){for(L in a)a.hasOwnProperty(L)&&(o=a[L],o!==void 0&&Kr(t,e,L,o,a,void 0));return}}for(v in a)a.hasOwnProperty(v)&&(o=a[v],o!=null&&Me(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,w=null,D=null,L=null;for(W in a){var Y=a[W];if(a.hasOwnProperty(W)&&Y!=null)switch(W){case"checked":break;case"value":break;case"defaultValue":w=Y;default:o.hasOwnProperty(W)||Me(t,e,W,null,o,Y)}}for(var j in o){var W=o[j];if(Y=a[j],o.hasOwnProperty(j)&&(W!=null||Y!=null))switch(j){case"type":f=W;break;case"name":c=W;break;case"checked":D=W;break;case"defaultChecked":L=W;break;case"value":g=W;break;case"defaultValue":v=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:W!==Y&&Me(t,e,j,W,o,Y)}}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||WR||(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"),WR=!0),!e||o||FR||(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"),FR=!0),eu(t,g,v,w,D,L,f,c);return;case"select":W=g=v=j=null;for(f in a)if(w=a[f],a.hasOwnProperty(f)&&w!=null)switch(f){case"value":break;case"multiple":W=w;default:o.hasOwnProperty(f)||Me(t,e,f,null,o,w)}for(c in o)if(f=o[c],w=a[c],o.hasOwnProperty(c)&&(f!=null||w!=null))switch(c){case"value":j=f;break;case"defaultValue":v=f;break;case"multiple":g=f;default:f!==w&&Me(t,e,c,f,o,w)}o=v,e=g,a=W,j!=null?xi(t,!!e,j,!1):!!a!=!!e&&(o!=null?xi(t,!!e,o,!0):xi(t,!!e,e?[]:"",!1));return;case"textarea":W=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:Me(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":W=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==f&&Me(t,e,g,c,o,f)}Ju(t,j,W);return;case"option":for(var Et in a)j=a[Et],a.hasOwnProperty(Et)&&j!=null&&!o.hasOwnProperty(Et)&&(Et==="selected"?t.selected=!1:Me(t,e,Et,null,o,j));for(w in o)j=o[w],W=a[w],o.hasOwnProperty(w)&&j!==W&&(j!=null||W!=null)&&(w==="selected"?t.selected=j&&typeof j!="function"&&typeof j!="symbol":Me(t,e,w,j,o,W));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 Rt in a)j=a[Rt],a.hasOwnProperty(Rt)&&j!=null&&!o.hasOwnProperty(Rt)&&Me(t,e,Rt,null,o,j);for(D in o)if(j=o[D],W=a[D],o.hasOwnProperty(D)&&j!==W&&(j!=null||W!=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:Me(t,e,D,j,o,W)}return;default:if(Ri(e)){for(var Ie in a)j=a[Ie],a.hasOwnProperty(Ie)&&j!==void 0&&!o.hasOwnProperty(Ie)&&Kr(t,e,Ie,void 0,o,j);for(L in o)j=o[L],W=a[L],!o.hasOwnProperty(L)||j===W||j===void 0&&W===void 0||Kr(t,e,L,j,o,W);return}}for(var Te in a)j=a[Te],a.hasOwnProperty(Te)&&j!=null&&!o.hasOwnProperty(Te)&&Me(t,e,Te,null,o,j);for(Y in o)j=o[Y],W=a[Y],!o.hasOwnProperty(Y)||j===W||j==null&&W==null||Me(t,e,Y,j,o,W)}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 Ki(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?(ra(g,f),o+=c+f+":"+(""+g).trim()):typeof g!="number"||g===0||Nt.has(f)?(ra(g,f),o+=c+f.replace(et,"-$1").toLowerCase().replace(zt,"-ms-")+":"+(""+g).trim()):o+=c+f.replace(et,"-$1").toLowerCase().replace(zt,"-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(Re(o,e),t===""+o)return}cn(e,t,o,f)}function fp(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 dp(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(Re(o,a),t===""+o)return}cn(e,t,o,f)}function $r(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)&&(Re(o,e),t===""+o))return}cn(e,t,o,f)}function Zf(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(Re(o,e),a=Pc(""+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(Ri(e)){for(var w in a)if(a.hasOwnProperty(w)){var D=a[w];if(D!=null){if(to.hasOwnProperty(w))typeof D!="function"&&fn(w,D);else if(a.suppressHydrationWarning!==!0)switch(w){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=cp(t,D),cn(w,g,D,c));continue;case"style":f.delete(w),Ki(t,D,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(w.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",w);continue;case"className":f.delete("class"),g=tu(t,"class",D),cn("className",g,D,c);continue;default:o.context===Ws&&e!=="svg"&&e!=="math"?f.delete(w.toLowerCase()):f.delete(w),g=tu(t,w,D),cn(w,g,D,c)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(w=a[D],w!=null)){if(to.hasOwnProperty(D))typeof w!="function"&&fn(D,w);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof w!="string"&&typeof w!="number"||cn("children",t.textContent,w,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,w=w?w.__html:void 0,w!=null&&(w=cp(t,w),g!==w&&(c[D]={__html:g}));continue;case"className":Xa(t,D,"class",w,f,c);continue;case"tabIndex":Xa(t,D,"tabindex",w,f,c);continue;case"style":f.delete(D),Ki(t,w,c);continue;case"multiple":f.delete(D),cn(D,t.multiple,w,c);continue;case"muted":f.delete(D),cn(D,t.muted,w,c);continue;case"autoFocus":f.delete("autofocus"),cn(D,t.autofocus,w,c);continue;case"data":if(e!=="object"){f.delete(D),g=t.getAttribute("data"),cn(D,g,w,c);continue}case"src":case"href":if(!(w!==""||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}Zf(t,D,D,w,f,c);continue;case"action":case"formAction":if(g=t.getAttribute(D),typeof w=="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===N_){f.delete(D.toLowerCase()),cn(D,"function",w,c);continue}Zf(t,D,D.toLowerCase(),w,f,c);continue;case"xlinkHref":Zf(t,D,"xlink:href",w,f,c);continue;case"contentEditable":dp(t,D,"contenteditable",w,f,c);continue;case"spellCheck":dp(t,D,"spellcheck",w,f,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":dp(t,D,D,w,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":fp(t,D,D.toLowerCase(),w,f,c);continue;case"capture":case"download":t:{v=t;var L=g=D,Y=c;if(f.delete(L),v=v.getAttribute(L),v===null)switch(typeof w){case"undefined":case"function":case"symbol":break t;default:if(w===!1)break t}else if(w!=null)switch(typeof w){case"function":case"symbol":break;case"boolean":if(w===!0&&v==="")break t;break;default:if(Re(w,g),v===""+w)break t}cn(g,v,w,Y)}continue;case"cols":case"rows":case"size":case"span":t:{if(v=t,L=g=D,Y=c,f.delete(L),v=v.getAttribute(L),v===null)switch(typeof w){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(w)||1>w)break t}else if(w!=null)switch(typeof w){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(w)||1>w)&&(Re(w,g),v===""+w))break t}cn(g,v,w,Y)}continue;case"rowSpan":$r(t,D,"rowspan",w,f,c);continue;case"start":$r(t,D,D,w,f,c);continue;case"xHeight":Xa(t,D,"x-height",w,f,c);continue;case"xlinkActuate":Xa(t,D,"xlink:actuate",w,f,c);continue;case"xlinkArcrole":Xa(t,D,"xlink:arcrole",w,f,c);continue;case"xlinkRole":Xa(t,D,"xlink:role",w,f,c);continue;case"xlinkShow":Xa(t,D,"xlink:show",w,f,c);continue;case"xlinkTitle":Xa(t,D,"xlink:title",w,f,c);continue;case"xlinkType":Xa(t,D,"xlink:type",w,f,c);continue;case"xmlBase":Xa(t,D,"xml:base",w,f,c);continue;case"xmlLang":Xa(t,D,"xml:lang",w,f,c);continue;case"xmlSpace":Xa(t,D,"xml:space",w,f,c);continue;case"inert":w!==""||b1[D]||(b1[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)),fp(t,D,D,w,f,c);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){v=sv(D),g=!1,o.context===Ws&&e!=="svg"&&e!=="math"?f.delete(v.toLowerCase()):(L=D.toLowerCase(),L=di.hasOwnProperty(L)&&di[L]||null,L!==null&&L!==D&&(g=!0,f.delete(L)),f.delete(v));t:if(L=t,Y=v,v=w,Al(Y))if(L.hasAttribute(Y))L=L.getAttribute(Y),Re(v,Y),v=L===""+v?v:L;else{switch(typeof v){case"function":case"symbol":break t;case"boolean":if(L=Y.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,w,c)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&Qf(t,f,c),Object.keys(c).length===0?null:c}function Kv(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 $v(){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 w=a[o],D=w.startTime;if(D>v)break;var L=w.transferSize,Y=w.initiatorType;L&&Ua(Y)&&(w=w.responseEnd,g+=L*(w<v?1:(v-D)/(w-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 Fv(t){switch(t){case ue:return dm;case ne:return T1;default:return Ws}}function No(t,e){if(t===Ws)switch(e){case"svg":return dm;case"math":return T1;default:return Ws}return t===dm&&e==="foreignObject"?Ws:t}function Fr(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 f0(){var t=window.event;return t&&t.type==="popstate"?t===xT?!1:(xT=t,!0):(xT=null,!1)}function $i(){var t=window.event;return t&&t!==Dy?t.type:null}function Wr(){var t=window.event;return t&&t!==Dy?t.timeStamp:-1.1}function Wv(t){setTimeout(function(){throw t})}function Pv(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 Iv(){}function hp(t,e,a,o){jn(t,e,a,o),t[Na]=o}function pp(t){Fu(t,"")}function h2(t,e,a){t.nodeValue=a}function tb(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[Na]||null;if(e!==null){var a=bt(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,At(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,At(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 eb(t,e){t.removeChild(e)}function nb(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Cs(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===Ry||a===S1){if(o===0){t.removeChild(c),_s(e);return}o--}else if(a===Ay||a===jc||a===Md||a===fm||a===zd)o++;else if(a===B_)Bo(t.ownerDocument.documentElement);else if(a===V_){a=t.ownerDocument.head,Bo(a);for(var f=a.firstChild;f;){var g=f.nextSibling,v=f.nodeName;f[hc]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=g}}else a===L_&&Bo(t.ownerDocument.body);a=c}while(a);_s(e)}function Kf(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===Ry){if(t===0)break;t--}else a!==Ay&&a!==jc&&a!==Md&&a!==fm||t++;a=o}while(a)}function ab(t){Kf(t,!0)}function lb(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function ib(t){t.nodeValue=""}function ob(t){Kf(t,!1)}function ub(t,e){e=e[k_],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function sb(t,e){t.nodeValue=e}function Pr(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":Pr(a),G(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function rb(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[hc])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"){Re(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 cb(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 Be(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 $f(t){return t.data===jc||t.data===Md}function d0(t){return t.data===fm||t.data===jc&&t.ownerDocument.readyState!==eD}function fb(t,e){var a=t.ownerDocument;if(t.data===Md)t._reactRetry=e;else if(t.data!==jc||a.readyState!==eD)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===Ay||e===fm||e===jc||e===Md||e===zd||e===TT||e===tD)break;if(e===Ry||e===S1)return null}}return t}function db(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===zd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function hb(t,e,a){return a===null||a[H_]!==!0?(t.nodeValue===e?t=null:(e=si(e),t=si(t.nodeValue)===e?null:t.nodeValue),t):null}function Ir(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===Ry||a===S1){if(e===0)return ml(t.nextSibling);e--}else a!==Ay&&a!==fm&&a!==jc&&a!==Md&&a!==zd||e++}t=t.nextSibling}return null}function zs(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===Ay||a===fm||a===jc||a===Md||a===zd){if(e===0)return t;e--}else a!==Ry&&a!==S1||e++}t=t.previousSibling}return null}function h0(t){_s(t)}function mp(t){_s(t)}function p0(t){_s(t)}function Ho(t,e,a,o,c){switch(c&&Fc(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 Fi(t,e,a,o){if(!a[Vo]&&bt(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]);G(t)}function gp(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function m0(t,e,a){var o=hm;if(o&&typeof e=="string"&&e){var c=Ve(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),uD.has(c)||(uD.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 g0(t,e,a,o){var c=(c=gl.current)?gp(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=Ms(a.href),e=Qt(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=Ms(a.href);var f=Qt(c).hoistableStyles,g=f.get(t);if(!g&&(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:_d,preload:null}},f.set(t,g),(f=c.querySelector(Wf(t)))&&!f._p&&(g.instance=f,g.state.loading=Cy|fo),!ho.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};ho.set(t,v),f||pb(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`,J(t))})}function Ga(t){t!==cm&&t.next===null&&(cm===null?m1=cm=t:cm=cm.next=t),g1=!0,et.actQueue!==null?yT||(yT=!0,$v()):gT||(gT=!0,$v())}function Ji(t,e){if(!vT&&g1){vT=!0;do for(var a=!1,o=m1;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,Xf(o,f))}else f=de,f=Xu(o,o===Fe?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Od),(f&3)===0||Rn(o,f)||(a=!0,Xf(o,f));o=o.next}while(a);vT=!1}}function Kv(){D0=window.event,op()}function op(){g1=yT=gT=!1;var t=0;Uc!==0&&fy()&&(t=Uc);for(var e=Kn(),a=null,o=m1;o!==null;){var c=o.next,f=Jr(o,e);f===0?(o.next=null,a===null?m1=c:a.next=c,c===null&&(cm=a)):(a=o,(t!==0||(f&3)!==0)&&(g1=!0)),o=c}ea!==Oc&&ea!==d1||Ji(t),Uc!==0&&(Uc=0)}function Jr(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,x=c[g];x===-1?((v&a)===0||(v&o)!==0)&&(c[g]=Jd(v,e)):x<=e&&(t.expiredLanes|=v),f&=~v}if(e=Fe,a=de,a=Xu(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Od),o=t.callbackNode,a===0||t===e&&(Qe===xd||Qe===Ad)||t.cancelPendingCommit!==null)return o!==null&&up(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Rn(t,a)){if(e=a&-a,e!==t.callbackPriority||et.actQueue!==null&&o!==bT)up(o);else return e;switch(kn(a)){case Hn:case oa:a=_p;break;case ma:a=Ns;break;case Nu:a=Up;break;default:a=Ns}return o=sy.bind(null,t),et.actQueue!==null?(et.actQueue.push(o),a=bT):a=Ny(a,o),t.callbackPriority=e,t.callbackNode=a,e}return o!==null&&up(o),t.callbackPriority=2,t.callbackNode=null,2}function sy(t,e){if(Kb=Jb=!1,D0=window.event,ea!==Oc&&ea!==d1)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Qo===f1&&(Qo=cT),Yf()&&t.callbackNode!==a)return null;var o=de;return o=Xu(t,t===Fe?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Od),o===0?null:(Xv(t,o,e),Jr(t,Kn()),t.callbackNode!=null&&t.callbackNode===a?sy.bind(null,t):null)}function Xf(t,e){if(Yf())return null;Jb=Kb,Kb=!1,Xv(t,e,!0)}function up(t){t!==bT&&t!==null&&Cp(t)}function $v(){et.actQueue!==null&&et.actQueue.push(function(){return op(),null}),$_(function(){(Re&(sa|yi))!==va?Ny(Hy,Kv):op()})}function ry(){if(Uc===0){var t=yd;t===0&&(t=fc,fc<<=1,(fc&261888)===0&&(fc=256)),Uc=t}return Uc}function Me(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(Ce(t,"action"),Pc(""+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 Nb("action","action",null,o,c);t.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Uc!==0){var x=g?qe(c,g):new FormData(c),D={pending:!0,data:x,method:c.method,action:f};Object.freeze(D),Co(a,D,null,x)}}else typeof f=="function"&&(v.preventDefault(),x=g?qe(c,g):new FormData(c),D={pending:!0,data:x,method:c.method,action:f},Object.freeze(D),Co(a,D,f,x))},currentTarget:c}]})}}function pe(t,e,a){t.currentTarget=a;try{e(t)}catch(o){O2(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],x=v.instance,D=v.currentTarget;if(v=v.listener,x!==c&&f.isPropagationStopped())break t;x!==null?Rt(x,pe,f,v,D):pe(f,v,D),c=x}else for(g=0;g<o.length;g++){if(v=o[g],x=v.instance,D=v.currentTarget,v=v.listener,x!==c&&f.isPropagationStopped())break t;x!==null?Rt(x,pe,f,v,D):pe(f,v,D),c=x}}}}function $t(t,e){ST.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[Bs];a===void 0&&(a=e[Bs]=new Set);var o=t+"__bubble";a.has(o)||(sp(e,t,2,!1),a.add(o))}function Ki(t,e,a){ST.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 zu(t){if(!t[y1]){t[y1]=!0,Mb.forEach(function(a){a!=="selectionchange"&&(ST.has(a)||Ki(a,!1,t),Ki(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[y1]||(e[y1]=!0,Ki("selectionchange",!1,e))}}function sp(t,e,a,o){switch(Ep(e)){case Hn:var c=xy;break;case oa:c=la;break;default:c=Ay}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 x=g.tag;if((x===3||x===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;v!==null;){if(g=yt(v),g===null)return;if(x=g.tag,x===5||x===6||x===26||x===27){o=f=g;continue t}v=v.parentNode}}o=o.return}ih(function(){var D=f,L=Ql(a),q=[];t:{var j=jA.get(t);if(j!==void 0){var P=Nb,Et=t;switch(t){case"keypress":if(Ic(a)===0)break t;case"keydown":case"keyup":P=t_;break;case"focusin":Et="focus",P=A2;break;case"focusout":Et="blur",P=A2;break;case"beforeblur":case"afterblur":P=A2;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=SA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":P=qO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":P=a_;break;case MA:case OA:case _A:P=QO;break;case UA:P=i_;break;case"scroll":case"scrollend":P=kO;break;case"wheel":P=u_;break;case"copy":case"cut":case"paste":P=JO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":P=EA;break;case"toggle":case"beforetoggle":P=r_}var Dt=(e&4)!==0,Ie=!Dt&&(t==="scroll"||t==="scrollend"),Ee=Dt?j!==null?j+"Capture":null:j;Dt=[];for(var U=D,N;U!==null;){var B=U;if(N=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||N===null||Ee===null||(B=zi(U,Ee),B!=null&&Dt.push(Ke(U,B,N))),Ie)break;U=U.return}0<Dt.length&&(j=new P(j,Et,null,a,L),q.push({event:j,listeners:Dt}))}}if((e&7)===0){t:{if(j=t==="mouseover"||t==="pointerover",P=t==="mouseout"||t==="pointerout",j&&a!==Yy&&(Et=a.relatedTarget||a.fromElement)&&(yt(Et)||Et[Vo]))break t;if((P||j)&&(j=L.window===L?L:(j=L.ownerDocument)?j.defaultView||j.parentWindow:window,P?(Et=a.relatedTarget||a.toElement,P=D,Et=Et?yt(Et):null,Et!==null&&(Ie=st(Et),Dt=Et.tag,Et!==Ie||Dt!==5&&Dt!==27&&Dt!==6)&&(Et=null)):(P=null,Et=D),P!==Et)){if(Dt=SA,B="onMouseLeave",Ee="onMouseEnter",U="mouse",(t==="pointerout"||t==="pointerover")&&(Dt=EA,B="onPointerLeave",Ee="onPointerEnter",U="pointer"),Ie=P==null?j:Ut(P),N=Et==null?j:Ut(Et),j=new Dt(B,U+"leave",P,a,L),j.target=Ie,j.relatedTarget=N,B=null,yt(L)===D&&(Dt=new Dt(Ee,U+"enter",Et,a,L),Dt.target=N,Dt.relatedTarget=Ie,B=Dt),Ie=B,P&&Et)e:{for(Dt=Ds,Ee=P,U=Et,N=0,B=Ee;B;B=Dt(B))N++;B=0;for(var ut=U;ut;ut=Dt(ut))B++;for(;0<N-B;)Ee=Dt(Ee),N--;for(;0<B-N;)U=Dt(U),B--;for(;N--;){if(Ee===U||U!==null&&Ee===U.alternate){Dt=Ee;break e}Ee=Dt(Ee),U=Dt(U)}Dt=null}else Dt=null;P!==null&&rp(q,j,P,Dt,!1),Et!==null&&Ie!==null&&rp(q,Ie,Et,Dt,!0)}}t:{if(j=D?Ut(D):window,P=j.nodeName&&j.nodeName.toLowerCase(),P==="select"||P==="input"&&j.type==="file")var At=lu;else if(Km(j))if(zA)At=af;else{At=$m;var te=u2}else P=j.nodeName,!P||P.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?D&&Di(D.elementType)&&(At=lu):At=Fm;if(At&&(At=At(t,D))){ef(q,At,a,L);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":(Km(te)||te.contentEditable==="true")&&(Yp=te,D2=D,Ky=null);break;case"focusout":Ky=D2=Yp=null;break;case"mousedown":z2=!0;break;case"contextmenu":case"mouseup":case"dragend":z2=!1,yv(q,a,L);break;case"selectionchange":if(h_)break;case"keydown":case"keyup":yv(q,a,L)}var Gt;if(R2)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 kp?mr(t,a)&&(Bt="onCompositionEnd"):t==="keydown"&&a.keyCode===wA&&(Bt="onCompositionStart");Bt&&(xA&&a.locale!=="ko"&&(kp||Bt!=="onCompositionStart"?Bt==="onCompositionEnd"&&kp&&(Gt=Wu()):(gc=L,E2="value"in gc?gc.value:gc.textContent,kp=!0)),te=si(D,Bt),0<te.length&&(Bt=new TA(Bt,t,null,a,L),q.push({event:Bt,listeners:te}),Gt?Bt.data=Gt:(Gt=bo(a),Gt!==null&&(Bt.data=Gt)))),(Gt=f_?Jm(t,a):oh(t,a))&&(Bt=si(D,"onBeforeInput"),0<Bt.length&&(te=new $O("onBeforeInput","beforeinput",null,a,L),q.push({event:te,listeners:Bt}),te.data=Gt)),ve(q,t,D,a,L)}Le(q,e)})}function Ke(t,e,a){return{instance:t,listener:e,currentTarget:a}}function si(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=zi(t,a),c!=null&&o.unshift(Ke(t,c,f)),c=zi(t,e),c!=null&&o.push(Ke(t,c,f))),t.tag===3)return o;t=t.return}return[]}function Ds(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function rp(t,e,a,o,c){for(var f=e._reactName,g=[];a!==null&&a!==o;){var v=a,x=v.alternate,D=v.stateNode;if(v=v.tag,x!==null&&x===o)break;v!==5&&v!==26&&v!==27||D===null||(x=D,c?(D=zi(a,f),D!=null&&g.unshift(Ke(a,D,x))):c||(D=zi(a,f),D!=null&&g.push(Ke(a,D,x)))),a=a.return}g.length!==0&&t.push({event:e,listeners:g})}function _a(t,e){dv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||vA||(vA=!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:pc};Di(t)||typeof e.is=="string"||o2(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=ri(a),ri(e)!==a&&(o[t]=e))}function Qf(t,e,a){e.forEach(function(o){a[jo(o)]=o==="style"?Cu(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 cp(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 ri(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)),Ei(t)),(typeof t=="string"?t:""+t).replace(k_,`
|
|
189
|
+
`).replace(Y_,"")}function cy(t,e){return e=ri(e),ri(t)===e}function Ue(t,e,a,o,c,f){switch(a){case"children":typeof o=="string"?(Wc(o,e,!1),e==="body"||e==="textarea"&&o===""||Fu(t,o)):(typeof o=="number"||typeof o=="bigint")&&(Wc(""+o,e,!1),e!=="body"&&Fu(t,""+o));break;case"className":Kc(t,"class",o);break;case"tabIndex":Kc(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Kc(t,a,o);break;case"style":Xm(t,o,f);break;case"data":if(e!=="object"){Kc(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}Ce(o,a),o=Pc(""+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||S1||(S1=!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||b1||(b1=!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"||v1?e!=="button"||c.type==null||c.type==="submit"||v1?typeof o=="function"&&(c.name==null||aD||(aD=!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||S1||(S1=!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||b1||(b1=!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."))):(v1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(v1=!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}Ce(o,a),o=Pc(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&fn(a,o),t.onclick=Rl);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}Ce(o,a),a=Pc(""+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"?(Ce(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"?(Ce(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?(Ce(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):(Ce(o,a),t.setAttribute(a,o));break;case"popover":$t("beforetoggle",t),$t("toggle",t),sr(t,"popover",o);break;case"xlinkActuate":xi(t,zd,"xlink:actuate",o);break;case"xlinkArcrole":xi(t,zd,"xlink:arcrole",o);break;case"xlinkRole":xi(t,zd,"xlink:role",o);break;case"xlinkShow":xi(t,zd,"xlink:show",o);break;case"xlinkTitle":xi(t,zd,"xlink:title",o);break;case"xlinkType":xi(t,zd,"xlink:type",o);break;case"xmlBase":xi(t,TT,"xml:base",o);break;case"xmlLang":xi(t,TT,"xml:lang",o);break;case"xmlSpace":xi(t,TT,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),sr(t,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":lD||o==null||typeof o!="object"||(lD=!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=cv(a),sr(t,a,o)):eo.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&fn(a,o)}}function Kr(t,e,a,o,c,f){switch(a){case"style":Xm(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=Rl);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,""):sr(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,x=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":x=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),Wd(t,f,v,x,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)}Pd(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),rr(t,o,c,f);return;case"option":rv(t,a);for(x in a)a.hasOwnProperty(x)&&(o=a[x],o!=null)&&(x==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Ue(t,e,x,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<x0.length;o++)$t(x0[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&&Kr(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,x=null,D=null,L=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":x=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":L=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||nD||(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"),nD=!0),!e||o||eD||(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"),eD=!0),eu(t,g,v,x,D,L,f,c);return;case"select":P=g=v=j=null;for(f in a)if(x=a[f],a.hasOwnProperty(f)&&x!=null)switch(f){case"value":break;case"multiple":P=x;default:o.hasOwnProperty(f)||Ue(t,e,f,null,o,x)}for(c in o)if(f=o[c],x=a[c],o.hasOwnProperty(c)&&(f!=null||x!=null))switch(c){case"value":j=f;break;case"defaultValue":v=f;break;case"multiple":g=f;default:f!==x&&Ue(t,e,c,f,o,x)}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)}Ju(t,j,P);return;case"option":for(var Et in a)j=a[Et],a.hasOwnProperty(Et)&&j!=null&&!o.hasOwnProperty(Et)&&(Et==="selected"?t.selected=!1:Ue(t,e,Et,null,o,j));for(x in o)j=o[x],P=a[x],o.hasOwnProperty(x)&&j!==P&&(j!=null||P!=null)&&(x==="selected"?t.selected=j&&typeof j!="function"&&typeof j!="symbol":Ue(t,e,x,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 Dt in a)j=a[Dt],a.hasOwnProperty(Dt)&&j!=null&&!o.hasOwnProperty(Dt)&&Ue(t,e,Dt,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)&&Kr(t,e,Ie,void 0,o,j);for(L in o)j=o[L],P=a[L],!o.hasOwnProperty(L)||j===P||j===void 0&&P===void 0||Kr(t,e,L,j,o,P);return}}for(var Ee in a)j=a[Ee],a.hasOwnProperty(Ee)&&j!=null&&!o.hasOwnProperty(Ee)&&Ue(t,e,Ee,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 Cu(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?(ra(g,f),o+=c+f+":"+(""+g).trim()):typeof g!="number"||g===0||Nt.has(f)?(ra(g,f),o+=c+f.replace(nt,"-$1").toLowerCase().replace(Ct,"-ms-")+":"+(""+g).trim()):o+=c+f.replace(nt,"-$1").toLowerCase().replace(Ct,"-ms-")+":"+g+"px",c=";")}o=o||null,e=t.getAttribute("style"),e!==o&&(o=ri(o),ri(e)!==o&&(a.style=Cu(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(Ce(o,e),t===""+o)return}cn(e,t,o,f)}function fp(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 dp(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(Ce(o,a),t===""+o)return}cn(e,t,o,f)}function $r(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)&&(Ce(o,e),t===""+o))return}cn(e,t,o,f)}function Zf(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(Ce(o,e),a=Pc(""+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 x in a)if(a.hasOwnProperty(x)){var D=a[x];if(D!=null){if(eo.hasOwnProperty(x))typeof D!="function"&&fn(x,D);else if(a.suppressHydrationWarning!==!0)switch(x){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=cp(t,D),cn(x,g,D,c));continue;case"style":f.delete(x),$i(t,D,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(x.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",x);continue;case"className":f.delete("class"),g=tu(t,"class",D),cn("className",g,D,c);continue;default:o.context===Ws&&e!=="svg"&&e!=="math"?f.delete(x.toLowerCase()):f.delete(x),g=tu(t,x,D),cn(x,g,D,c)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(x=a[D],x!=null)){if(eo.hasOwnProperty(D))typeof x!="function"&&fn(D,x);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof x!="string"&&typeof x!="number"||cn("children",t.textContent,x,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,x=x?x.__html:void 0,x!=null&&(x=cp(t,x),g!==x&&(c[D]={__html:g}));continue;case"className":Xa(t,D,"class",x,f,c);continue;case"tabIndex":Xa(t,D,"tabindex",x,f,c);continue;case"style":f.delete(D),$i(t,x,c);continue;case"multiple":f.delete(D),cn(D,t.multiple,x,c);continue;case"muted":f.delete(D),cn(D,t.muted,x,c);continue;case"autoFocus":f.delete("autofocus"),cn(D,t.autofocus,x,c);continue;case"data":if(e!=="object"){f.delete(D),g=t.getAttribute("data"),cn(D,g,x,c);continue}case"src":case"href":if(!(x!==""||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}Zf(t,D,D,x,f,c);continue;case"action":case"formAction":if(g=t.getAttribute(D),typeof x=="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===q_){f.delete(D.toLowerCase()),cn(D,"function",x,c);continue}Zf(t,D,D.toLowerCase(),x,f,c);continue;case"xlinkHref":Zf(t,D,"xlink:href",x,f,c);continue;case"contentEditable":dp(t,D,"contenteditable",x,f,c);continue;case"spellCheck":dp(t,D,"spellcheck",x,f,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":dp(t,D,D,x,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":fp(t,D,D.toLowerCase(),x,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 x){case"undefined":case"function":case"symbol":break t;default:if(x===!1)break t}else if(x!=null)switch(typeof x){case"function":case"symbol":break;case"boolean":if(x===!0&&v==="")break t;break;default:if(Ce(x,g),v===""+x)break t}cn(g,v,x,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 x){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(x)||1>x)break t}else if(x!=null)switch(typeof x){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(x)||1>x)&&(Ce(x,g),v===""+x))break t}cn(g,v,x,q)}continue;case"rowSpan":$r(t,D,"rowspan",x,f,c);continue;case"start":$r(t,D,D,x,f,c);continue;case"xHeight":Xa(t,D,"x-height",x,f,c);continue;case"xlinkActuate":Xa(t,D,"xlink:actuate",x,f,c);continue;case"xlinkArcrole":Xa(t,D,"xlink:arcrole",x,f,c);continue;case"xlinkRole":Xa(t,D,"xlink:role",x,f,c);continue;case"xlinkShow":Xa(t,D,"xlink:show",x,f,c);continue;case"xlinkTitle":Xa(t,D,"xlink:title",x,f,c);continue;case"xlinkType":Xa(t,D,"xlink:type",x,f,c);continue;case"xmlBase":Xa(t,D,"xml:base",x,f,c);continue;case"xmlLang":Xa(t,D,"xml:lang",x,f,c);continue;case"xmlSpace":Xa(t,D,"xml:space",x,f,c);continue;case"inert":x!==""||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)),fp(t,D,D,x,f,c);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){v=cv(D),g=!1,o.context===Ws&&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=x,Al(q))if(L.hasAttribute(q))L=L.getAttribute(q),Ce(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,x,c)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&Qf(t,f,c),Object.keys(c).length===0?null:c}function Fv(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 Wv(){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 x=a[o],D=x.startTime;if(D>v)break;var L=x.transferSize,q=x.initiatorType;L&&Ua(q)&&(x=x.responseEnd,g+=L*(x<v?1:(v-D)/(x-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 Pv(t){switch(t){case ue:return dm;case ae:return w1;default:return Ws}}function No(t,e){if(t===Ws)switch(e){case"svg":return dm;case"math":return w1;default:return Ws}return t===dm&&e==="foreignObject"?Ws:t}function Fr(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 fy(){var t=window.event;return t&&t.type==="popstate"?t===AT?!1:(AT=t,!0):(AT=null,!1)}function Fi(){var t=window.event;return t&&t!==D0?t.type:null}function Wr(){var t=window.event;return t&&t!==D0?t.timeStamp:-1.1}function Iv(t){setTimeout(function(){throw t})}function tb(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 eb(){}function hp(t,e,a,o){jn(t,e,a,o),t[Na]=o}function pp(t){Fu(t,"")}function p2(t,e,a){t.nodeValue=a}function nb(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[Na]||null;if(e!==null){var a=St(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,Rt(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,Rt(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 ab(t,e){t.removeChild(e)}function lb(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function zs(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===R0||a===E1){if(o===0){t.removeChild(c),_s(e);return}o--}else if(a===A0||a===jc||a===Md||a===fm||a===Cd)o++;else if(a===X_)Bo(t.ownerDocument.documentElement);else if(a===Z_){a=t.ownerDocument.head,Bo(a);for(var f=a.firstChild;f;){var g=f.nextSibling,v=f.nodeName;f[hc]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=g}}else a===Q_&&Bo(t.ownerDocument.body);a=c}while(a);_s(e)}function Kf(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===R0){if(t===0)break;t--}else a!==A0&&a!==jc&&a!==Md&&a!==fm||t++;a=o}while(a)}function ib(t){Kf(t,!0)}function ob(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function ub(t){t.nodeValue=""}function sb(t){Kf(t,!1)}function rb(t,e){e=e[J_],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function cb(t,e){t.nodeValue=e}function Pr(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":Pr(a),G(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function fb(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[hc])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"){Ce(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 db(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 Ve(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 $f(t){return t.data===jc||t.data===Md}function dy(t){return t.data===fm||t.data===jc&&t.ownerDocument.readyState!==oD}function hb(t,e){var a=t.ownerDocument;if(t.data===Md)t._reactRetry=e;else if(t.data!==jc||a.readyState!==oD)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===A0||e===fm||e===jc||e===Md||e===Cd||e===ET||e===iD)break;if(e===R0||e===E1)return null}}return t}function pb(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"?Cu(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===Cd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function mb(t,e,a){return a===null||a[G_]!==!0?(t.nodeValue===e?t=null:(e=ri(e),t=ri(t.nodeValue)===e?null:t.nodeValue),t):null}function Ir(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===R0||a===E1){if(e===0)return ml(t.nextSibling);e--}else a!==A0&&a!==fm&&a!==jc&&a!==Md&&a!==Cd||e++}t=t.nextSibling}return null}function Cs(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===A0||a===fm||a===jc||a===Md||a===Cd){if(e===0)return t;e--}else a!==R0&&a!==E1||e++}t=t.previousSibling}return null}function hy(t){_s(t)}function mp(t){_s(t)}function py(t){_s(t)}function Ho(t,e,a,o,c){switch(c&&Fc(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[Vo]&&St(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]);G(t)}function gp(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function my(t,e,a){var o=hm;if(o&&typeof e=="string"&&e){var c=ke(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),dD.has(c)||(dD.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 gy(t,e,a,o){var c=(c=gl.current)?gp(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=Ms(a.href),e=Jt(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=Ms(a.href);var f=Jt(c).hoistableStyles,g=f.get(t);if(!g&&(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:_d,preload:null}},f.set(t,g),(f=c.querySelector(Wf(t)))&&!f._p&&(g.instance=f,g.state.loading=z0|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||gb(c,t,v,g.state)}if(e&&o===null)throw a=`
|
|
190
190
|
|
|
191
191
|
- `+Ff(e)+`
|
|
192
192
|
+ `+Ff(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
194
|
- `+Ff(e)+`
|
|
195
|
-
+ `+Ff(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=Os(a),e=Qt(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 Ff(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 Ms(t){return'href="'+Ve(t)+'"'}function Wf(t){return'link[rel="stylesheet"]['+t+"]"}function yp(t){return re({},t,{"data-precedence":t.precedence,precedence:null})}function pb(t,e,a,o){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?o.loading=Cy:(e=t.createElement("link"),o.preload=e,e.addEventListener("load",function(){return o.loading|=Cy}),e.addEventListener("error",function(){return o.loading|=iD}),nn(e,"link",a),jt(e),t.head.appendChild(e))}function Os(t){return'[src="'+Ve(t)+'"]'}function Pf(t){return"script[async]"+t}function vp(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=re({},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),tc(o,a.precedence,t),e.instance=o;case"stylesheet":c=Ms(a.href);var f=t.querySelector(Wf(c));if(f)return e.state.loading|=fo,e.instance=f,jt(f),f;o=yp(a),(c=ho.get(c))&&y0(o,c),f=(t.ownerDocument||t).createElement("link"),jt(f);var g=f;return g._p=new Promise(function(v,w){g.onload=v,g.onerror=w}),nn(f,"link",o),e.state.loading|=fo,tc(f,a.precedence,t),e.instance=f;case"script":return f=Os(a.src),(c=t.querySelector(Pf(f)))?(e.instance=c,jt(c),c):(o=a,(c=ho.get(f))&&(o=re({},a),v0(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&fo)===_d&&(o=e.instance,e.state.loading|=fo,tc(o,a.precedence,t));return e.instance}function tc(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 y0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function v0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function ec(t,e,a){if(E1===null){var o=new Map,c=E1=new Map;c.set(a,o)}else c=E1,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[hc]||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 mb(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function gb(t,e,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===dm||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=Kv(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&oD)===_d)}function b0(t,e,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&fo)===_d){if(a.instance===null){var c=Ms(o.href),f=e.querySelector(Wf(c));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=nc.bind(t),e.then(t,t)),a.state.loading|=fo,a.instance=f,jt(f);return}f=e.ownerDocument||e,o=yp(o),(c=ho.get(c))&&y0(o,c),f=f.createElement("link"),jt(f);var g=f;g._p=new Promise(function(v,w){g.onload=v,g.onerror=w}),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&oD)===_d&&(t.count++,a=nc.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function bp(t,e){return t.stylesheets&&t.count===0&&If(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&If(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},G_+e);0<t.imgBytes&&RT===0&&(RT=125*$v()*Q_);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&If(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>RT?50:X_)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function nc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)If(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function If(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,w1=new Map,e.forEach(S0,t),w1=null,nc.call(t))}function S0(t,e){if(!(e.state.loading&fo)){var a=w1.get(t);if(a)var o=a.get(DT);else{a=new Map,w1.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(DT,o)}c=e.instance,g=c.getAttribute("data-precedence"),f=a.get(g)||o,f===o&&a.set(DT,c),a.set(g,c),this.count++,o=nc.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|=fo}}function td(t,e,a,o,c,f,g,v,w){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Od,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=or(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=or(0),this.hiddenUpdates=or(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,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 ed(t,e,a,o,c,f,g,v,w,D,L,Y){return t=new td(t,e,a,g,w,D,L,Y,v),e=m_,f===!0&&(e|=Ka|ko),e|=ce,f=C(3,null,null,e),t.current=f,f.stateNode=t,e=vh(),os(e),t.pooledCache=e,os(e),f.memoizedState={element:o,isDehydrated:a,cache:e},ye(f),t}function yb(t){return t?(t=bc,t):bc}function Sp(t,e,a,o,c,f){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(Hs,o,a)}catch(g){Pi||(Pi=!0,console.error("React instrumentation encountered an error: %o",g))}c=yb(c),o.context===null?o.context=c:o.pendingContext=c,Wi&&Ja!==null&&!fD&&(fD=!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.
|
|
195
|
+
+ `+Ff(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=Os(a),e=Jt(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 Ff(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 Ms(t){return'href="'+ke(t)+'"'}function Wf(t){return'link[rel="stylesheet"]['+t+"]"}function yp(t){return re({},t,{"data-precedence":t.precedence,precedence:null})}function gb(t,e,a,o){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?o.loading=z0:(e=t.createElement("link"),o.preload=e,e.addEventListener("load",function(){return o.loading|=z0}),e.addEventListener("error",function(){return o.loading|=cD}),nn(e,"link",a),jt(e),t.head.appendChild(e))}function Os(t){return'[src="'+ke(t)+'"]'}function Pf(t){return"script[async]"+t}function vp(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var o=t.querySelector('style[data-href~="'+ke(a.href)+'"]');if(o)return e.instance=o,jt(o),o;var c=re({},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),tc(o,a.precedence,t),e.instance=o;case"stylesheet":c=Ms(a.href);var f=t.querySelector(Wf(c));if(f)return e.state.loading|=ho,e.instance=f,jt(f),f;o=yp(a),(c=po.get(c))&&yy(o,c),f=(t.ownerDocument||t).createElement("link"),jt(f);var g=f;return g._p=new Promise(function(v,x){g.onload=v,g.onerror=x}),nn(f,"link",o),e.state.loading|=ho,tc(f,a.precedence,t),e.instance=f;case"script":return f=Os(a.src),(c=t.querySelector(Pf(f)))?(e.instance=c,jt(c),c):(o=a,(c=po.get(f))&&(o=re({},a),vy(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)===_d&&(o=e.instance,e.state.loading|=ho,tc(o,a.precedence,t));return e.instance}function tc(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 yy(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function vy(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function ec(t,e,a){if(x1===null){var o=new Map,c=x1=new Map;c.set(a,o)}else c=x1,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[hc]||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 yb(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function vb(t,e,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===dm||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=Fv(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&fD)===_d)}function by(t,e,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&ho)===_d){if(a.instance===null){var c=Ms(o.href),f=e.querySelector(Wf(c));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=nc.bind(t),e.then(t,t)),a.state.loading|=ho,a.instance=f,jt(f);return}f=e.ownerDocument||e,o=yp(o),(c=po.get(c))&&yy(o,c),f=f.createElement("link"),jt(f);var g=f;g._p=new Promise(function(v,x){g.onload=v,g.onerror=x}),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&fD)===_d&&(t.count++,a=nc.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function bp(t,e){return t.stylesheets&&t.count===0&&If(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&If(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},F_+e);0<t.imgBytes&&DT===0&&(DT=125*Wv()*P_);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&If(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>DT?50:W_)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function nc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)If(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function If(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,A1=new Map,e.forEach(Sy,t),A1=null,nc.call(t))}function Sy(t,e){if(!(e.state.loading&ho)){var a=A1.get(t);if(a)var o=a.get(zT);else{a=new Map,A1.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(zT,o)}c=e.instance,g=c.getAttribute("data-precedence"),f=a.get(g)||o,f===o&&a.set(zT,c),a.set(g,c),this.count++,o=nc.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 td(t,e,a,o,c,f,g,v,x){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Od,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=or(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=or(0),this.hiddenUpdates=or(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,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 ed(t,e,a,o,c,f,g,v,x,D,L,q){return t=new td(t,e,a,g,x,D,L,q,v),e=E_,f===!0&&(e|=Ka|ko),e|=ce,f=C(3,null,null,e),t.current=f,f.stateNode=t,e=vh(),os(e),t.pooledCache=e,os(e),f.memoizedState={element:o,isDehydrated:a,cache:e},ye(f),t}function bb(t){return t?(t=bc,t):bc}function Sp(t,e,a,o,c,f){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(Hs,o,a)}catch(g){Ii||(Ii=!0,console.error("React instrumentation encountered an error: %o",g))}c=bb(c),o.context===null?o.context=c:o.pendingContext=c,Pi&&Ja!==null&&!gD&&(gD=!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.`,ht(Ja)||"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=Ui(t,o,e),a!==null&&(Mi(e,"root.render()",null),Ft(a,t,e),Ul(a,t,e))}function vb(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){vb(t,e),(t=t.alternate)&&vb(t,e)}function E0(t){if(t.tag===13||t.tag===31){var e=fa(t,67108864);e!==null&&Ft(e,t,67108864),T0(t,67108864)}}function w0(t){if(t.tag===13||t.tag===31){var e=ha(t);e=xl(e);var a=fa(t,e);a!==null&&Ft(a,t,e),T0(t,e)}}function qe(){return Ja}function x0(t,e,a,o){var c=tt.T;tt.T=null;var f=Oe.p;try{Oe.p=Hn,A0(t,e,a,o)}finally{Oe.p=f,tt.T=c}}function la(t,e,a,o){var c=tt.T;tt.T=null;var f=Oe.p;try{Oe.p=oa,A0(t,e,a,o)}finally{Oe.p=f,tt.T=c}}function A0(t,e,a,o){if(A1){var c=Tp(o);if(c===null)oi(t,e,o,R1,a),wp(t,o);else if(bb(c,t,e,a,o))o.stopPropagation();else if(wp(t,o),e&4&&-1<J_.indexOf(t)){for(;c!==null;){var f=bt(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var g=Ei(f.pendingLanes);if(g!==0){var v=f;for(v.pendingLanes|=2,v.entangledLanes|=2;g;){var w=1<<31-ia(g);v.entanglements[1]|=w,g&=~w}Ga(f),(xe&(sa|gi))===va&&(s1=Kn()+VR,Zi(0))}}break;case 31:case 13:v=fa(f,2),v!==null&&Ft(v,f,2),pl(),T0(f,2)}if(f=Tp(o),f===null&&oi(t,e,o,R1,a),f===c)break;c=f}c!==null&&o.stopPropagation()}else oi(t,e,o,null,a)}}function Tp(t){return t=Xl(t),R0(t)}function R0(t){if(R1=null,t=yt(t),t!==null){var e=ot(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=St(e),t!==null)return t;t=null}else if(a===31){if(t=pt(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 R1=t,null}function Ep(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(ud()){case H0:return Hn;case _p:return oa;case Ns:case Ab:return ma;case Up:return Nu;default:return ma}default:return ma}}function wp(t,e){switch(t){case"focusin":case"focusout":Nc=null;break;case"dragenter":case"dragleave":Hc=null;break;case"mouseover":case"mouseout":Bc=null;break;case"pointerover":case"pointerout":My.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Oy.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=bt(e),e!==null&&E0(e)),t):(t.eventSystemFlags|=o,e=t.targetContainers,c!==null&&e.indexOf(c)===-1&&e.push(c),t)}function bb(t,e,a,o,c){switch(e){case"focusin":return Nc=Ou(Nc,t,e,a,o,c),!0;case"dragenter":return Hc=Ou(Hc,t,e,a,o,c),!0;case"mouseover":return Bc=Ou(Bc,t,e,a,o,c),!0;case"pointerover":var f=c.pointerId;return My.set(f,Ou(My.get(f)||null,t,e,a,o,c)),!0;case"gotpointercapture":return f=c.pointerId,Oy.set(f,Ou(Oy.get(f)||null,t,e,a,o,c)),!0}return!1}function D0(t){var e=yt(t.target);if(e!==null){var a=ot(e);if(a!==null){if(e=a.tag,e===13){if(e=St(a),e!==null){t.blockedOn=e,z(t.priority,function(){w0(a)});return}}else if(e===31){if(e=pt(a),e!==null){t.blockedOn=e,z(t.priority,function(){w0(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 ac(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;Y0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Y0=c,a.target.dispatchEvent(o),Y0===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."),Y0=null}else return e=bt(a),e!==null&&E0(e),t.blockedOn=a,!1;e.shift()}return!0}function xp(t,e,a){ac(t)&&a.delete(e)}function p2(){CT=!1,Nc!==null&&ac(Nc)&&(Nc=null),Hc!==null&&ac(Hc)&&(Hc=null),Bc!==null&&ac(Bc)&&(Bc=null),My.forEach(xp),Oy.forEach(xp)}function nd(t,e){t.blockedOn===e&&(t.blockedOn=null,CT||(CT=!0,xn.unstable_scheduleCallback(xn.unstable_NormalPriority,p2)))}function Sb(t){D1!==t&&(D1=t,xn.unstable_scheduleCallback(xn.unstable_NormalPriority,function(){D1===t&&(D1=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(R0(o||a)===null)continue;break}var f=bt(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 _s(t){function e(w){return nd(w,t)}Nc!==null&&nd(Nc,t),Hc!==null&&nd(Hc,t),Bc!==null&&nd(Bc,t),My.forEach(e),Oy.forEach(e);for(var a=0;a<Lc.length;a++){var o=Lc[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Lc.length&&(a=Lc[0],a.blockedOn===null);)D0(a),a.blockedOn===null&&Lc.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||Sb(a);else if(g){var v=null;if(f&&f.hasAttribute("formAction")){if(c=f,g=f[Na]||null)v=g.formAction;else if(R0(c)!==null)continue}else v=g.action;typeof v=="function"?a[o+1]=v:(a.splice(o,3),o-=3),Sb(a)}}}function Tb(){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 C0(t){this._internalRoot=t}function ri(t){this._internalRoot=t}function z0(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 xn=LT(),ad=jd(),m2=M1(),re=Object.assign,Eb=Symbol.for("react.element"),Bl=Symbol.for("react.transitional.element"),_u=Symbol.for("react.portal"),lc=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),ld=Symbol.for("react.profiler"),Ap=Symbol.for("react.consumer"),ci=Symbol.for("react.context"),ic=Symbol.for("react.forward_ref"),Us=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),id=Symbol.for("react.memo"),pa=Symbol.for("react.lazy"),fi=Symbol.for("react.activity"),g2=Symbol.for("react.memo_cache_sentinel"),wb=Symbol.iterator,oc=Symbol.for("react.client.reference"),zn=Array.isArray,tt=ad.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Oe=m2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,y2=Object.freeze({pending:!1,data:null,method:null,action:null}),M0=[],O0=[],Lo=-1,Uu=ae(null),uc=ae(null),gl=ae(null),ju=ae(null),sc=0,xb,js,rc,_0,od,Rp,Dp;Ht.__reactDisabledLog=!0;var cc,U0,Cp=!1,j0=new(typeof WeakMap=="function"?WeakMap:Map),Ja=null,Wi=!1,yl=Object.prototype.hasOwnProperty,N0=xn.unstable_scheduleCallback,zp=xn.unstable_cancelCallback,Mp=xn.unstable_shouldYield,Op=xn.unstable_requestPaint,Kn=xn.unstable_now,ud=xn.unstable_getCurrentPriorityLevel,H0=xn.unstable_ImmediatePriority,_p=xn.unstable_UserBlockingPriority,Ns=xn.unstable_NormalPriority,Ab=xn.unstable_LowPriority,Up=xn.unstable_IdlePriority,B0=xn.log,Rb=xn.unstable_setDisableYieldValue,Hs=null,Nn=null,Pi=!1,Ii=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ia=Math.clz32?Math.clz32:Po,L0=Math.log,jp=Math.LN2,fc=256,sd=262144,dc=4194304,Hn=2,oa=8,ma=32,Nu=268435456,Ll=Math.random().toString(36).slice(2),an="__reactFiber$"+Ll,Na="__reactProps$"+Ll,Vo="__reactContainer$"+Ll,Bs="__reactEvents$"+Ll,v2="__reactListeners$"+Ll,Db="__reactHandles$"+Ll,rd="__reactResources$"+Ll,hc="__reactMarker$"+Ll,Cb=new Set,to={},pc={},zb={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mc=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={},Np={},Hp=/[\n"\\]/g,k0=!1,Mb=!1,cd=!1,n=!1,l=!1,i=!1,r=["value","defaultValue"],p=!1,m=/["'&<>\n\t]|^\s|\s$/,E="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"]),$="dd dt li option optgroup p rp rt".split(" "),lt={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},rt={},F={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"]},et=/([A-Z])/g,zt=/^ms-/,Xt=/^(?:webkit|moz|o)[A-Z]/,Ge=/^-ms-/,X=/-(.)/g,k=/;\s*$/,Z={},ut={},Vt=!1,we=!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(" ")),ne="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",Ce=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"]]),di={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"},Ob={"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},Bp={},DO=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]*$"),CO=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]*$"),hA=!1,vl={},pA=/^on./,zO=/^on[^A-Z]/,MO=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]*$"),OO=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]*$"),_O=/^[\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,Y0=null,Lp=null,Vp=null,b2=!1,Hu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),S2=!1;if(Hu)try{var q0={};Object.defineProperty(q0,"passive",{get:function(){S2=!0}}),window.addEventListener("test",q0,q0),window.removeEventListener("test",q0,q0)}catch{S2=!1}var gc=null,T2=null,_b=null,fd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ub=Yn(fd),G0=re({},fd,{view:0,detail:0}),UO=Yn(G0),E2,w2,X0,jb=re({},G0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,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!==X0&&(X0&&t.type==="mousemove"?(E2=t.screenX-X0.screenX,w2=t.screenY-X0.screenY):w2=E2=0,X0=t),E2)},movementY:function(t){return"movementY"in t?t.movementY:w2}}),mA=Yn(jb),jO=re({},jb,{dataTransfer:0}),NO=Yn(jO),HO=re({},G0,{relatedTarget:0}),x2=Yn(HO),BO=re({},fd,{animationName:0,elapsedTime:0,pseudoElement:0}),LO=Yn(BO),VO=re({},fd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),kO=Yn(VO),YO=re({},fd,{data:0}),gA=Yn(YO),qO=gA,GO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},XO={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"},QO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ZO=re({},G0,{key:function(t){if(t.key){var e=GO[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ic(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?XO[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(t){return t.type==="keypress"?Ic(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ic(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),JO=Yn(ZO),KO=re({},jb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yA=Yn(KO),$O=re({},G0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),FO=Yn($O),WO=re({},fd,{propertyName:0,elapsedTime:0,pseudoElement:0}),PO=Yn(WO),IO=re({},jb,{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}),t_=Yn(IO),e_=re({},fd,{newState:0,oldState:0}),n_=Yn(e_),a_=[9,13,27,32],vA=229,A2=Hu&&"CompositionEvent"in window,Q0=null;Hu&&"documentMode"in document&&(Q0=document.documentMode);var l_=Hu&&"TextEvent"in window&&!Q0,bA=Hu&&(!A2||Q0&&8<Q0&&11>=Q0),SA=32,TA=String.fromCharCode(SA),EA=!1,kp=!1,i_={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},Z0=null,J0=null,wA=!1;Hu&&(wA=uh("input")&&(!document.documentMode||9<document.documentMode));var bl=typeof Object.is=="function"?Object.is:sh,o_=Hu&&"documentMode"in document&&11>=document.documentMode,Yp=null,R2=null,K0=null,D2=!1,qp={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")},C2={},xA={};Hu&&(xA=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 AA=Iu("animationend"),RA=Iu("animationiteration"),DA=Iu("animationstart"),u_=Iu("transitionrun"),s_=Iu("transitionstart"),r_=Iu("transitioncancel"),CA=Iu("transitionend"),zA=new Map,z2="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(" ");z2.push("scrollEnd");var MA=0;if(typeof performance=="object"&&typeof performance.now=="function")var c_=performance,OA=function(){return c_.now()};else{var f_=Date;OA=function(){return f_.now()}}var M2=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)},d_="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.",Nb=0,O2=1,_2=2,U2=3,Hb="– ",Bb="+ ",_A=" ",ln=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",eo="Components ⚛",Se="Scheduler ⚛",Ee="Blocking",yc=!1,Ls={color:"primary",properties:null,tooltipText:"",track:eo},vc={start:-0,end:-0,detail:{devtools:Ls}},h_=["Changed Props",""],UA="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",p_=["Changed Props",UA],$0=1,Vs=2,no=[],Gp=0,j2=0,bc={};Object.freeze(bc);var ao=null,Xp=null,$t=0,m_=1,ce=2,Ka=8,ko=16,g_=32,jA=!1;try{var NA=Object.preventExtensions({})}catch{jA=!0}var N2=new WeakMap,Qp=[],Zp=0,Lb=null,F0=0,lo=[],io=0,dd=null,ks=1,Ys="",Ha=null,on=null,be=!1,Bu=!1,hi=null,Sc=null,oo=!1,H2=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."),B2=ae(null),L2=ae(null),HA={},Vb=null,Jp=null,Kp=!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()})}},v_=xn.unstable_scheduleCallback,b_=xn.unstable_NormalPriority,$n={$$typeof:ci,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Fn=xn.unstable_now,kb=console.createTask?console.createTask:function(){return null},W0=1,Yb=2,ga=-0,Tc=-0,qs=-0,Gs=null,Sl=-1.1,hd=-0,gn=-0,qt=-1.1,Zt=-1.1,dn=null,An=!1,pd=-0,Lu=-1.1,P0=null,Ec=0,V2=null,k2=null,md=-1.1,I0=null,$p=-1.1,qb=-1.1,Xs=-0,Qs=-1.1,uo=-1.1,Y2=0,ty=null,BA=null,LA=null,wc=-1.1,gd=null,xc=-1.1,Gb=-1.1,VA=-0,kA=-0,Xb=0,S_=null,YA=0,ey=-1.1,Qb=!1,Zb=!1,ny=null,q2=0,yd=0,Fp=null,qA=tt.S;tt.S=function(t,e){if(BR=Kn(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>Qs&&0>uo){Qs=Fn();var a=Wr(),o=$i();(a!==xc||o!==gd)&&(xc=-1.1),wc=a,gd=o}Eo(t,e)}qA!==null&&qA(t,e)};var vd=ae(null),Yo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},ay=[],ly=[],iy=[],oy=[],uy=[],sy=[],bd=new Set;Yo.recordUnsafeLifecycleWarnings=function(t,e){bd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&ay.push(t),t.mode&Ka&&typeof e.UNSAFE_componentWillMount=="function"&&ly.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&iy.push(t),t.mode&Ka&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&oy.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&uy.push(t),t.mode&Ka&&typeof e.UNSAFE_componentWillUpdate=="function"&&sy.push(t))},Yo.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<ay.length&&(ay.forEach(function(v){t.add(ht(v)||"Component"),bd.add(v.type)}),ay=[]);var e=new Set;0<ly.length&&(ly.forEach(function(v){e.add(ht(v)||"Component"),bd.add(v.type)}),ly=[]);var a=new Set;0<iy.length&&(iy.forEach(function(v){a.add(ht(v)||"Component"),bd.add(v.type)}),iy=[]);var o=new Set;0<oy.length&&(oy.forEach(function(v){o.add(ht(v)||"Component"),bd.add(v.type)}),oy=[]);var c=new Set;0<uy.length&&(uy.forEach(function(v){c.add(ht(v)||"Component"),bd.add(v.type)}),uy=[]);var f=new Set;if(0<sy.length&&(sy.forEach(function(v){f.add(ht(v)||"Component"),bd.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.`,J(Ja)||"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),Ul(a,t,e))}function Sb(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Ty(t,e){Sb(t,e),(t=t.alternate)&&Sb(t,e)}function Ey(t){if(t.tag===13||t.tag===31){var e=fa(t,67108864);e!==null&&Wt(e,t,67108864),Ty(t,67108864)}}function wy(t){if(t.tag===13||t.tag===31){var e=ha(t);e=xl(e);var a=fa(t,e);a!==null&&Wt(a,t,e),Ty(t,e)}}function Ge(){return Ja}function xy(t,e,a,o){var c=et.T;et.T=null;var f=je.p;try{je.p=Hn,Ay(t,e,a,o)}finally{je.p=f,et.T=c}}function la(t,e,a,o){var c=et.T;et.T=null;var f=je.p;try{je.p=oa,Ay(t,e,a,o)}finally{je.p=f,et.T=c}}function Ay(t,e,a,o){if(D1){var c=Tp(o);if(c===null)ui(t,e,o,z1,a),wp(t,o);else if(Tb(c,t,e,a,o))o.stopPropagation();else if(wp(t,o),e&4&&-1<t4.indexOf(t)){for(;c!==null;){var f=St(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 x=1<<31-ia(g);v.entanglements[1]|=x,g&=~x}Ga(f),(Re&(sa|yi))===va&&(c1=Kn()+XR,Ji(0))}}break;case 31:case 13:v=fa(f,2),v!==null&&Wt(v,f,2),pl(),Ty(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),Ry(t)}function Ry(t){if(z1=null,t=yt(t),t!==null){var e=st(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=pt(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 Ep(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(ud()){case Hy:return Hn;case _p:return oa;case Ns:case Db:return ma;case Up:return Nu;default:return ma}default:return ma}}function wp(t,e){switch(t){case"focusin":case"focusout":Nc=null;break;case"dragenter":case"dragleave":Hc=null;break;case"mouseover":case"mouseout":Bc=null;break;case"pointerover":case"pointerout":M0.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":O0.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=St(e),e!==null&&Ey(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 Nc=Ou(Nc,t,e,a,o,c),!0;case"dragenter":return Hc=Ou(Hc,t,e,a,o,c),!0;case"mouseover":return Bc=Ou(Bc,t,e,a,o,c),!0;case"pointerover":var f=c.pointerId;return M0.set(f,Ou(M0.get(f)||null,t,e,a,o,c)),!0;case"gotpointercapture":return f=c.pointerId,O0.set(f,Ou(O0.get(f)||null,t,e,a,o,c)),!0}return!1}function Dy(t){var e=yt(t.target);if(e!==null){var a=st(e);if(a!==null){if(e=a.tag,e===13){if(e=bt(a),e!==null){t.blockedOn=e,z(t.priority,function(){wy(a)});return}}else if(e===31){if(e=pt(a),e!==null){t.blockedOn=e,z(t.priority,function(){wy(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 ac(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;Yy!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Yy=c,a.target.dispatchEvent(o),Yy===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."),Yy=null}else return e=St(a),e!==null&&Ey(e),t.blockedOn=a,!1;e.shift()}return!0}function xp(t,e,a){ac(t)&&a.delete(e)}function m2(){CT=!1,Nc!==null&&ac(Nc)&&(Nc=null),Hc!==null&&ac(Hc)&&(Hc=null),Bc!==null&&ac(Bc)&&(Bc=null),M0.forEach(xp),O0.forEach(xp)}function nd(t,e){t.blockedOn===e&&(t.blockedOn=null,CT||(CT=!0,xn.unstable_scheduleCallback(xn.unstable_NormalPriority,m2)))}function Eb(t){C1!==t&&(C1=t,xn.unstable_scheduleCallback(xn.unstable_NormalPriority,function(){C1===t&&(C1=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(Ry(o||a)===null)continue;break}var f=St(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:c,method:a.method,action:o},Object.freeze(a),Co(f,a,o,c))}}))}function _s(t){function e(x){return nd(x,t)}Nc!==null&&nd(Nc,t),Hc!==null&&nd(Hc,t),Bc!==null&&nd(Bc,t),M0.forEach(e),O0.forEach(e);for(var a=0;a<Lc.length;a++){var o=Lc[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Lc.length&&(a=Lc[0],a.blockedOn===null);)Dy(a),a.blockedOn===null&&Lc.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(Ry(c)!==null)continue}else v=g.action;typeof v=="function"?a[o+1]=v:(a.splice(o,3),o-=3),Eb(a)}}}function wb(){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 zy(t){this._internalRoot=t}function ci(t){this._internalRoot=t}function Cy(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 xn=VT(),ad=jd(),g2=_1(),re=Object.assign,xb=Symbol.for("react.element"),Bl=Symbol.for("react.transitional.element"),_u=Symbol.for("react.portal"),lc=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),ld=Symbol.for("react.profiler"),Ap=Symbol.for("react.consumer"),fi=Symbol.for("react.context"),ic=Symbol.for("react.forward_ref"),Us=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),id=Symbol.for("react.memo"),pa=Symbol.for("react.lazy"),di=Symbol.for("react.activity"),y2=Symbol.for("react.memo_cache_sentinel"),Ab=Symbol.iterator,oc=Symbol.for("react.client.reference"),Cn=Array.isArray,et=ad.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,je=g2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v2=Object.freeze({pending:!1,data:null,method:null,action:null}),My=[],Oy=[],Lo=-1,Uu=qt(null),uc=qt(null),gl=qt(null),ju=qt(null),sc=0,Rb,js,rc,_y,od,Rp,Dp;Ht.__reactDisabledLog=!0;var cc,Uy,zp=!1,jy=new(typeof WeakMap=="function"?WeakMap:Map),Ja=null,Pi=!1,yl=Object.prototype.hasOwnProperty,Ny=xn.unstable_scheduleCallback,Cp=xn.unstable_cancelCallback,Mp=xn.unstable_shouldYield,Op=xn.unstable_requestPaint,Kn=xn.unstable_now,ud=xn.unstable_getCurrentPriorityLevel,Hy=xn.unstable_ImmediatePriority,_p=xn.unstable_UserBlockingPriority,Ns=xn.unstable_NormalPriority,Db=xn.unstable_LowPriority,Up=xn.unstable_IdlePriority,By=xn.log,zb=xn.unstable_setDisableYieldValue,Hs=null,Nn=null,Ii=!1,to=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ia=Math.clz32?Math.clz32:Po,Ly=Math.log,jp=Math.LN2,fc=256,sd=262144,dc=4194304,Hn=2,oa=8,ma=32,Nu=268435456,Ll=Math.random().toString(36).slice(2),an="__reactFiber$"+Ll,Na="__reactProps$"+Ll,Vo="__reactContainer$"+Ll,Bs="__reactEvents$"+Ll,b2="__reactListeners$"+Ll,Cb="__reactHandles$"+Ll,rd="__reactResources$"+Ll,hc="__reactMarker$"+Ll,Mb=new Set,eo={},pc={},Ob={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mc=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]*$"),Vy={},Np={},Hp=/[\n"\\]/g,ky=!1,_b=!1,cd=!1,n=!1,l=!1,i=!1,r=["value","defaultValue"],p=!1,m=/["'&<>\n\t]|^\s|\s$/,E="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},ct={},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"]},nt=/([A-Z])/g,Ct=/^ms-/,Zt=/^(?:webkit|moz|o)[A-Z]/,Xe=/^-ms-/,X=/-(.)/g,Y=/;\s*$/,K={},rt={},kt=!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"},Ub={"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},Bp={},jO=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]*$"),NO=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]*$"),vA=!1,vl={},bA=/^on./,HO=/^on[^A-Z]/,BO=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]*$"),LO=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]*$"),VO=/^[\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,Yy=null,Lp=null,Vp=null,S2=!1,Hu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),T2=!1;if(Hu)try{var qy={};Object.defineProperty(qy,"passive",{get:function(){T2=!0}}),window.addEventListener("test",qy,qy),window.removeEventListener("test",qy,qy)}catch{T2=!1}var gc=null,E2=null,jb=null,fd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nb=Yn(fd),Gy=re({},fd,{view:0,detail:0}),kO=Yn(Gy),w2,x2,Xy,Hb=re({},Gy,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,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!==Xy&&(Xy&&t.type==="mousemove"?(w2=t.screenX-Xy.screenX,x2=t.screenY-Xy.screenY):x2=w2=0,Xy=t),w2)},movementY:function(t){return"movementY"in t?t.movementY:x2}}),SA=Yn(Hb),YO=re({},Hb,{dataTransfer:0}),qO=Yn(YO),GO=re({},Gy,{relatedTarget:0}),A2=Yn(GO),XO=re({},fd,{animationName:0,elapsedTime:0,pseudoElement:0}),QO=Yn(XO),ZO=re({},fd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),JO=Yn(ZO),KO=re({},fd,{data:0}),TA=Yn(KO),$O=TA,FO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WO={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"},PO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},IO=re({},Gy,{key:function(t){if(t.key){var e=FO[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ic(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?WO[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(t){return t.type==="keypress"?Ic(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ic(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),t_=Yn(IO),e_=re({},Hb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),EA=Yn(e_),n_=re({},Gy,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),a_=Yn(n_),l_=re({},fd,{propertyName:0,elapsedTime:0,pseudoElement:0}),i_=Yn(l_),o_=re({},Hb,{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}),u_=Yn(o_),s_=re({},fd,{newState:0,oldState:0}),r_=Yn(s_),c_=[9,13,27,32],wA=229,R2=Hu&&"CompositionEvent"in window,Qy=null;Hu&&"documentMode"in document&&(Qy=document.documentMode);var f_=Hu&&"TextEvent"in window&&!Qy,xA=Hu&&(!R2||Qy&&8<Qy&&11>=Qy),AA=32,RA=String.fromCharCode(AA),DA=!1,kp=!1,d_={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},Zy=null,Jy=null,zA=!1;Hu&&(zA=uh("input")&&(!document.documentMode||9<document.documentMode));var bl=typeof Object.is=="function"?Object.is:sh,h_=Hu&&"documentMode"in document&&11>=document.documentMode,Yp=null,D2=null,Ky=null,z2=!1,qp={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")},C2={},CA={};Hu&&(CA=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 MA=Iu("animationend"),OA=Iu("animationiteration"),_A=Iu("animationstart"),p_=Iu("transitionrun"),m_=Iu("transitionstart"),g_=Iu("transitioncancel"),UA=Iu("transitionend"),jA=new Map,M2="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(" ");M2.push("scrollEnd");var NA=0;if(typeof performance=="object"&&typeof performance.now=="function")var y_=performance,HA=function(){return y_.now()};else{var v_=Date;HA=function(){return v_.now()}}var O2=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)},b_="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.",Bb=0,_2=1,U2=2,j2=3,Lb="– ",Vb="+ ",BA=" ",ln=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",no="Components ⚛",Te="Scheduler ⚛",xe="Blocking",yc=!1,Ls={color:"primary",properties:null,tooltipText:"",track:no},vc={start:-0,end:-0,detail:{devtools:Ls}},S_=["Changed Props",""],LA="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",T_=["Changed Props",LA],$y=1,Vs=2,ao=[],Gp=0,N2=0,bc={};Object.freeze(bc);var lo=null,Xp=null,Ft=0,E_=1,ce=2,Ka=8,ko=16,w_=32,VA=!1;try{var kA=Object.preventExtensions({})}catch{VA=!0}var H2=new WeakMap,Qp=[],Zp=0,kb=null,Fy=0,io=[],oo=0,dd=null,ks=1,Ys="",Ha=null,on=null,Se=!1,Bu=!1,pi=null,Sc=null,uo=!1,B2=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."),L2=qt(null),V2=qt(null),YA={},Yb=null,Jp=null,Kp=!1,x_=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()})}},A_=xn.unstable_scheduleCallback,R_=xn.unstable_NormalPriority,$n={$$typeof:fi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Fn=xn.unstable_now,qb=console.createTask?console.createTask:function(){return null},Wy=1,Gb=2,ga=-0,Tc=-0,qs=-0,Gs=null,Sl=-1.1,hd=-0,gn=-0,Qt=-1.1,Kt=-1.1,dn=null,An=!1,pd=-0,Lu=-1.1,Py=null,Ec=0,k2=null,Y2=null,md=-1.1,Iy=null,$p=-1.1,Xb=-1.1,Xs=-0,Qs=-1.1,so=-1.1,q2=0,t0=null,qA=null,GA=null,wc=-1.1,gd=null,xc=-1.1,Qb=-1.1,XA=-0,QA=-0,Zb=0,D_=null,ZA=0,e0=-1.1,Jb=!1,Kb=!1,n0=null,G2=0,yd=0,Fp=null,JA=et.S;et.S=function(t,e){if(qR=Kn(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>Qs&&0>so){Qs=Fn();var a=Wr(),o=Fi();(a!==xc||o!==gd)&&(xc=-1.1),wc=a,gd=o}Eo(t,e)}JA!==null&&JA(t,e)};var vd=qt(null),Yo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},a0=[],l0=[],i0=[],o0=[],u0=[],s0=[],bd=new Set;Yo.recordUnsafeLifecycleWarnings=function(t,e){bd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&a0.push(t),t.mode&Ka&&typeof e.UNSAFE_componentWillMount=="function"&&l0.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&i0.push(t),t.mode&Ka&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&o0.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&u0.push(t),t.mode&Ka&&typeof e.UNSAFE_componentWillUpdate=="function"&&s0.push(t))},Yo.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<a0.length&&(a0.forEach(function(v){t.add(J(v)||"Component"),bd.add(v.type)}),a0=[]);var e=new Set;0<l0.length&&(l0.forEach(function(v){e.add(J(v)||"Component"),bd.add(v.type)}),l0=[]);var a=new Set;0<i0.length&&(i0.forEach(function(v){a.add(J(v)||"Component"),bd.add(v.type)}),i0=[]);var o=new Set;0<o0.length&&(o0.forEach(function(v){o.add(J(v)||"Component"),bd.add(v.type)}),o0=[]);var c=new Set;0<u0.length&&(u0.forEach(function(v){c.add(J(v)||"Component"),bd.add(v.type)}),u0=[]);var f=new Set;if(0<s0.length&&(s0.forEach(function(v){f.add(J(v)||"Component"),bd.add(v.type)}),s0=[]),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,30 +223,30 @@ 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 $b=new Map,KA=new Set;Yo.recordLegacyContextWarning=function(t,e){for(var a=null,o=t;o!==null;)o.mode&Ka&&(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."):!KA.has(t.type)&&(o=$b.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(o===void 0&&(o=[],$b.set(a,o)),o.push(t))},Yo.flushLegacyContextWarning=function(){$b.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(c){a.add(J(c)||"Component"),KA.add(c.type)});var o=R(a);Rt(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)})}})},Yo.discardPendingWarnings=function(){
|
|
232
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Yo.discardPendingWarnings=function(){a0=[],l0=[],i0=[],o0=[],u0=[],s0=[],$b=new Map};var $A={react_stack_bottom_frame:function(t,e,a){var o=Pi;Pi=!0;try{return t(e,a)}finally{Pi=o}}},X2=$A.react_stack_bottom_frame.bind($A),FA={react_stack_bottom_frame:function(t){var e=Pi;Pi=!0;try{return t.render()}finally{Pi=e}}},WA=FA.react_stack_bottom_frame.bind(FA),PA={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){oe(t,t.return,a)}}},Q2=PA.react_stack_bottom_frame.bind(PA),IA={react_stack_bottom_frame:function(t,e,a,o,c){try{e.componentDidUpdate(a,o,c)}catch(f){oe(t,t.return,f)}}},tR=IA.react_stack_bottom_frame.bind(IA),eR={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},z_=eR.react_stack_bottom_frame.bind(eR),nR={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(o){oe(t,e,o)}}},aR=nR.react_stack_bottom_frame.bind(nR),lR={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},C_=lR.react_stack_bottom_frame.bind(lR),iR={react_stack_bottom_frame:function(t,e,a){try{a()}catch(o){oe(t,e,o)}}},M_=iR.react_stack_bottom_frame.bind(iR),oR={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},O_=oR.react_stack_bottom_frame.bind(oR),Wp=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`."),Z2=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."),Fb=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."),Wb={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.')}},Sd=null,r0=!1,Pp=null,c0=0,fe=null,J2,uR=J2=!1,sR={},rR={},cR={};M=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=J(t),c=o||"null";if(!sR[c]){sR[c]=!0,a=a._owner,t=t._debugOwner;var f="";t&&typeof t.tag=="number"&&(c=J(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=ht(a):typeof a.name=="string"&&(o=a.name),o&&(g=" It was passed a child from "+o+".")),At(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),oR=Gn(!1),uR=0,sR=1,rR=2,J2=3,Ac=!1,cR=!1,K2=null,$2=!1,Ip=ae(null),Fb=ae(0),pi=ae(null),so=null,tm=1,fy=2,Bn=ae(0),Wb=0,ro=1,Tl=2,mi=4,El=8,em,fR=new Set,dR=new Set,F2=new Set,hR=new Set,Zs=0,Pt=null,$e=null,Wn=null,Pb=!1,nm=!1,Ed=!1,Ib=0,dy=0,Js=null,A_=0,R_=25,P=null,co=null,Ks=-1,hy=!1,py={readContext:ze,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};py.useEffectEvent=pn;var W2=null,pR=null,P2=null,mR=null,Vu=null,qo=null,t1=null;W2={readContext:function(t){return ze(t)},use:Ro,useCallback:function(t,e){return P="useCallback",Wt(),Ao(e),zh(t,e)},useContext:function(t){return P="useContext",Wt(),ze(t)},useEffect:function(t,e){return P="useEffect",Wt(),Ao(e),gs(t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",Wt(),Ao(a),Bi(t,e,a)},useInsertionEffect:function(t,e){P="useInsertionEffect",Wt(),Ao(e),Su(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",Wt(),Ao(e),Ra(t,e)},useMemo:function(t,e){P="useMemo",Wt(),Ao(e);var a=tt.H;tt.H=Vu;try{return Da(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",Wt();var o=tt.H;tt.H=Vu;try{return Dr(t,e,a)}finally{tt.H=o}},useRef:function(t){return P="useRef",Wt(),Ch(t)},useState:function(t){P="useState",Wt();var e=tt.H;tt.H=Vu;try{return gu(t)}finally{tt.H=e}},useDebugValue:function(){P="useDebugValue",Wt()},useDeferredValue:function(t,e){return P="useDeferredValue",Wt(),_r(t,e)},useTransition:function(){return P="useTransition",Wt(),Tu()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",Wt(),Cr(t,e,a)},useId:function(){return P="useId",Wt(),Af()},useFormState:function(t,e){return P="useFormState",Wt(),pf(),rl(t,e)},useActionState:function(t,e){return P="useActionState",Wt(),rl(t,e)},useOptimistic:function(t){return P="useOptimistic",Wt(),ms(t)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return P="useCacheRefresh",Wt(),Mh()},useEffectEvent:function(t){return P="useEffectEvent",Wt(),wf(t)}},pR={readContext:function(t){return ze(t)},use:Ro,useCallback:function(t,e){return P="useCallback",ct(),zh(t,e)},useContext:function(t){return P="useContext",ct(),ze(t)},useEffect:function(t,e){return P="useEffect",ct(),gs(t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",ct(),Bi(t,e,a)},useInsertionEffect:function(t,e){P="useInsertionEffect",ct(),Su(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",ct(),Ra(t,e)},useMemo:function(t,e){P="useMemo",ct();var a=tt.H;tt.H=Vu;try{return Da(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",ct();var o=tt.H;tt.H=Vu;try{return Dr(t,e,a)}finally{tt.H=o}},useRef:function(t){return P="useRef",ct(),Ch(t)},useState:function(t){P="useState",ct();var e=tt.H;tt.H=Vu;try{return gu(t)}finally{tt.H=e}},useDebugValue:function(){P="useDebugValue",ct()},useDeferredValue:function(t,e){return P="useDeferredValue",ct(),_r(t,e)},useTransition:function(){return P="useTransition",ct(),Tu()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",ct(),Cr(t,e,a)},useId:function(){return P="useId",ct(),Af()},useActionState:function(t,e){return P="useActionState",ct(),rl(t,e)},useFormState:function(t,e){return P="useFormState",ct(),pf(),rl(t,e)},useOptimistic:function(t){return P="useOptimistic",ct(),ms(t)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return P="useCacheRefresh",ct(),Mh()},useEffectEvent:function(t){return P="useEffectEvent",ct(),wf(t)}},P2={readContext:function(t){return ze(t)},use:Ro,useCallback:function(t,e){return P="useCallback",ct(),ei(t,e)},useContext:function(t){return P="useContext",ct(),ze(t)},useEffect:function(t,e){P="useEffect",ct(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return P="useInsertionEffect",ct(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",ct(),Un(4,mi,t,e)},useMemo:function(t,e){P="useMemo",ct();var a=tt.H;tt.H=qo;try{return en(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",ct();var o=tt.H;tt.H=qo;try{return ds(t,e,a)}finally{tt.H=o}},useRef:function(){return P="useRef",ct(),je().memoizedState},useState:function(){P="useState",ct();var t=tt.H;tt.H=qo;try{return ds(sl)}finally{tt.H=t}},useDebugValue:function(){P="useDebugValue",ct()},useDeferredValue:function(t,e){return P="useDeferredValue",ct(),Li(t,e)},useTransition:function(){return P="useTransition",ct(),zv()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",ct(),ps(t,e,a)},useId:function(){return P="useId",ct(),je().memoizedState},useFormState:function(t){return P="useFormState",ct(),pf(),vu(t)},useActionState:function(t){return P="useActionState",ct(),vu(t)},useOptimistic:function(t,e){return P="useOptimistic",ct(),Sf(t,e)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return P="useCacheRefresh",ct(),je().memoizedState},useEffectEvent:function(t){return P="useEffectEvent",ct(),Mr(t)}},mR={readContext:function(t){return ze(t)},use:Ro,useCallback:function(t,e){return P="useCallback",ct(),ei(t,e)},useContext:function(t){return P="useContext",ct(),ze(t)},useEffect:function(t,e){P="useEffect",ct(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return P="useInsertionEffect",ct(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",ct(),Un(4,mi,t,e)},useMemo:function(t,e){P="useMemo",ct();var a=tt.H;tt.H=t1;try{return en(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",ct();var o=tt.H;tt.H=t1;try{return hs(t,e,a)}finally{tt.H=o}},useRef:function(){return P="useRef",ct(),je().memoizedState},useState:function(){P="useState",ct();var t=tt.H;tt.H=t1;try{return hs(sl)}finally{tt.H=t}},useDebugValue:function(){P="useDebugValue",ct()},useDeferredValue:function(t,e){return P="useDeferredValue",ct(),le(t,e)},useTransition:function(){return P="useTransition",ct(),rn()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",ct(),ps(t,e,a)},useId:function(){return P="useId",ct(),je().memoizedState},useFormState:function(t){return P="useFormState",ct(),pf(),bu(t)},useActionState:function(t){return P="useActionState",ct(),bu(t)},useOptimistic:function(t,e){return P="useOptimistic",ct(),Tf(t,e)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return P="useCacheRefresh",ct(),je().memoizedState},useEffectEvent:function(t){return P="useEffectEvent",ct(),Mr(t)}},Vu={readContext:function(t){return x(),ze(t)},use:function(t){return T(),Ro(t)},useCallback:function(t,e){return P="useCallback",T(),Wt(),zh(t,e)},useContext:function(t){return P="useContext",T(),Wt(),ze(t)},useEffect:function(t,e){return P="useEffect",T(),Wt(),gs(t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",T(),Wt(),Bi(t,e,a)},useInsertionEffect:function(t,e){P="useInsertionEffect",T(),Wt(),Su(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",T(),Wt(),Ra(t,e)},useMemo:function(t,e){P="useMemo",T(),Wt();var a=tt.H;tt.H=Vu;try{return Da(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",T(),Wt();var o=tt.H;tt.H=Vu;try{return Dr(t,e,a)}finally{tt.H=o}},useRef:function(t){return P="useRef",T(),Wt(),Ch(t)},useState:function(t){P="useState",T(),Wt();var e=tt.H;tt.H=Vu;try{return gu(t)}finally{tt.H=e}},useDebugValue:function(){P="useDebugValue",T(),Wt()},useDeferredValue:function(t,e){return P="useDeferredValue",T(),Wt(),_r(t,e)},useTransition:function(){return P="useTransition",T(),Wt(),Tu()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",T(),Wt(),Cr(t,e,a)},useId:function(){return P="useId",T(),Wt(),Af()},useFormState:function(t,e){return P="useFormState",T(),Wt(),rl(t,e)},useActionState:function(t,e){return P="useActionState",T(),Wt(),rl(t,e)},useOptimistic:function(t){return P="useOptimistic",T(),Wt(),ms(t)},useMemoCache:function(t){return T(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return P="useCacheRefresh",Wt(),Mh()},useEffectEvent:function(t){return P="useEffectEvent",T(),Wt(),wf(t)}},qo={readContext:function(t){return x(),ze(t)},use:function(t){return T(),Ro(t)},useCallback:function(t,e){return P="useCallback",T(),ct(),ei(t,e)},useContext:function(t){return P="useContext",T(),ct(),ze(t)},useEffect:function(t,e){P="useEffect",T(),ct(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",T(),ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return P="useInsertionEffect",T(),ct(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",T(),ct(),Un(4,mi,t,e)},useMemo:function(t,e){P="useMemo",T(),ct();var a=tt.H;tt.H=qo;try{return en(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",T(),ct();var o=tt.H;tt.H=qo;try{return ds(t,e,a)}finally{tt.H=o}},useRef:function(){return P="useRef",T(),ct(),je().memoizedState},useState:function(){P="useState",T(),ct();var t=tt.H;tt.H=qo;try{return ds(sl)}finally{tt.H=t}},useDebugValue:function(){P="useDebugValue",T(),ct()},useDeferredValue:function(t,e){return P="useDeferredValue",T(),ct(),Li(t,e)},useTransition:function(){return P="useTransition",T(),ct(),zv()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",T(),ct(),ps(t,e,a)},useId:function(){return P="useId",T(),ct(),je().memoizedState},useFormState:function(t){return P="useFormState",T(),ct(),vu(t)},useActionState:function(t){return P="useActionState",T(),ct(),vu(t)},useOptimistic:function(t,e){return P="useOptimistic",T(),ct(),Sf(t,e)},useMemoCache:function(t){return T(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return P="useCacheRefresh",ct(),je().memoizedState},useEffectEvent:function(t){return P="useEffectEvent",T(),ct(),Mr(t)}},t1={readContext:function(t){return x(),ze(t)},use:function(t){return T(),Ro(t)},useCallback:function(t,e){return P="useCallback",T(),ct(),ei(t,e)},useContext:function(t){return P="useContext",T(),ct(),ze(t)},useEffect:function(t,e){P="useEffect",T(),ct(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return P="useImperativeHandle",T(),ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return P="useInsertionEffect",T(),ct(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return P="useLayoutEffect",T(),ct(),Un(4,mi,t,e)},useMemo:function(t,e){P="useMemo",T(),ct();var a=tt.H;tt.H=qo;try{return en(t,e)}finally{tt.H=a}},useReducer:function(t,e,a){P="useReducer",T(),ct();var o=tt.H;tt.H=qo;try{return hs(t,e,a)}finally{tt.H=o}},useRef:function(){return P="useRef",T(),ct(),je().memoizedState},useState:function(){P="useState",T(),ct();var t=tt.H;tt.H=qo;try{return hs(sl)}finally{tt.H=t}},useDebugValue:function(){P="useDebugValue",T(),ct()},useDeferredValue:function(t,e){return P="useDeferredValue",T(),ct(),le(t,e)},useTransition:function(){return P="useTransition",T(),ct(),rn()},useSyncExternalStore:function(t,e,a){return P="useSyncExternalStore",T(),ct(),ps(t,e,a)},useId:function(){return P="useId",T(),ct(),je().memoizedState},useFormState:function(t){return P="useFormState",T(),ct(),bu(t)},useActionState:function(t){return P="useActionState",T(),ct(),bu(t)},useOptimistic:function(t,e){return P="useOptimistic",T(),ct(),Tf(t,e)},useMemoCache:function(t){return T(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return P="useCacheRefresh",ct(),je().memoizedState},useEffectEvent:function(t){return P="useEffectEvent",T(),ct(),Mr(t)}};var gR={},yR=new Set,vR=new Set,bR=new Set,SR=new Set,TR=new Set,ER=new Set,wR=new Set,xR=new Set,AR=new Set,RR=new Set;Object.freeze(gR);var I2={enqueueSetState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.payload=e,a!=null&&(Ss(a),c.callback=a),e=Ui(t,c,o),e!==null&&(Mi(o,"this.setState()",t),Ft(e,t,o),Ul(e,t,o))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.tag=sR,c.payload=e,a!=null&&(Ss(a),c.callback=a),e=Ui(t,c,o),e!==null&&(Mi(o,"this.replaceState()",t),Ft(e,t,o),Ul(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ha(t),o=_n(a);o.tag=rR,e!=null&&(Ss(e),o.callback=e),e=Ui(t,o,a),e!==null&&(Mi(a,"this.forceUpdate()",t),Ft(e,t,a),Ul(e,t,a))}},am=null,tT=null,eT=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,DR={},CR={},zR={},MR={},lm=!1,OR={},e1={},nT={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},_R=!1,UR=null;UR=new Set;var $s=!1,In=!1,aT=!1,jR=typeof WeakSet=="function"?WeakSet:Set,ya=null,im=null,om=null,ta=null,Vl=!1,Go=null,ua=!1,my=8192,D_={getCacheForType:function(t){var e=ze($n),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return ze($n).controller.signal},getOwner:function(){return Ja}};if(typeof Symbol=="function"&&Symbol.for){var gy=Symbol.for;gy("selector.component"),gy("selector.has_pseudo_class"),gy("selector.role"),gy("selector.test_id"),gy("selector.text")}var C_=[],z_=typeof WeakMap=="function"?WeakMap:Map,va=0,sa=2,gi=4,Fs=0,yy=1,wd=2,n1=3,Rc=4,a1=6,NR=5,xe=va,Fe=null,me=null,de=0,kl=0,l1=1,xd=2,vy=3,HR=4,lT=5,by=6,i1=7,iT=8,Ad=9,Xe=kl,yi=null,Dc=!1,um=!1,oT=!1,ku=0,yn=Fs,Cc=0,zc=0,uT=0,Yl=0,Rd=0,Sy=null,wl=null,o1=!1,u1=0,BR=0,LR=300,s1=1/0,VR=500,Ty=null,Mn=null,Mc=null,r1=0,sT=1,rT=2,kR=3,Oc=0,YR=1,qR=2,GR=3,XR=4,c1=5,ea=0,_c=null,sm=null,Xo=0,cT=0,fT=-0,dT=null,QR=null,ZR=null,Qo=r1,JR=null,M_=50,Ey=0,hT=null,pT=!1,f1=!1,O_=50,Dd=0,wy=null,rm=!1,d1=null,KR=!1,$R=new Set,__={},h1=null,cm=null,mT=!1,gT=!1,p1=!1,yT=!1,Uc=0,vT={};(function(){for(var t=0;t<z2.length;t++){var e=z2[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),Ql(a,"on"+e)}Ql(AA,"onAnimationEnd"),Ql(RA,"onAnimationIteration"),Ql(DA,"onAnimationStart"),Ql("dblclick","onDoubleClick"),Ql("focusin","onFocus"),Ql("focusout","onBlur"),Ql(u_,"onTransitionRun"),Ql(s_,"onTransitionStart"),Ql(r_,"onTransitionCancel"),Ql(CA,"onTransitionEnd")})(),ee("onMouseEnter",["mouseout","mouseover"]),ee("onMouseLeave",["mouseout","mouseover"]),ee("onPointerEnter",["pointerout","pointerover"]),ee("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 xy="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(" "),bT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xy)),m1="_reactListening"+Math.random().toString(36).slice(2),FR=!1,WR=!1,g1=!1,PR=!1,y1=!1,v1=!1,IR=!1,b1={},U_=/\r\n?/g,j_=/\u0000|\uFFFD/g,Cd="http://www.w3.org/1999/xlink",ST="http://www.w3.org/XML/1998/namespace",N_="javascript:throw new Error('React form unexpectedly submitted.')",H_="suppressHydrationWarning",zd="&",S1="/&",Ay="$",Ry="/$",jc="$?",Md="$~",fm="$!",B_="html",L_="body",V_="head",TT="F!",tD="F",eD="loading",k_="style",Ws=0,dm=1,T1=2,ET=null,wT=null,nD={dialog:!0,webview:!0},xT=null,Dy=void 0,aD=typeof setTimeout=="function"?setTimeout:void 0,Y_=typeof clearTimeout=="function"?clearTimeout:void 0,Od=-1,lD=typeof Promise=="function"?Promise:void 0,q_=typeof queueMicrotask=="function"?queueMicrotask:typeof lD<"u"?function(t){return lD.resolve(null).then(t).catch(Wv)}:aD,AT=null,_d=0,Cy=1,iD=2,oD=3,fo=4,ho=new Map,uD=new Set,Ps=Oe.d;Oe.d={f:function(){var t=Ps.f(),e=pl();return t||e},r:function(t){var e=bt(t);e!==null&&e.tag===5&&e.type==="form"?Ur(e):Ps.r(t)},D:function(t){Ps.D(t),m0("dns-prefetch",t,null)},C:function(t,e){Ps.C(t,e),m0("preconnect",t,e)},L:function(t,e,a){Ps.L(t,e,a);var o=hm;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=Ms(t);break;case"script":f=Os(t)}ho.has(f)||(t=re({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),ho.set(f,t),o.querySelector(c)!==null||e==="style"&&o.querySelector(Wf(f))||e==="script"&&o.querySelector(Pf(f))||(e=o.createElement("link"),nn(e,"link",t),jt(e),o.head.appendChild(e)))}},m:function(t,e){Ps.m(t,e);var a=hm;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=Os(t)}if(!ho.has(f)&&(t=re({rel:"modulepreload",href:t},e),ho.set(f,t),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Pf(f)))return}o=a.createElement("link"),nn(o,"link",t),jt(o),a.head.appendChild(o)}}},X:function(t,e){Ps.X(t,e);var a=hm;if(a&&t){var o=Qt(a).hoistableScripts,c=Os(t),f=o.get(c);f||(f=a.querySelector(Pf(c)),f||(t=re({src:t,async:!0},e),(e=ho.get(c))&&v0(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){Ps.S(t,e,a);var o=hm;if(o&&t){var c=Qt(o).hoistableStyles,f=Ms(t);e=e||"default";var g=c.get(f);if(!g){var v={loading:_d,preload:null};if(g=o.querySelector(Wf(f)))v.loading=Cy|fo;else{t=re({rel:"stylesheet",href:t,"data-precedence":e},a),(a=ho.get(f))&&y0(t,a);var w=g=o.createElement("link");jt(w),nn(w,"link",t),w._p=new Promise(function(D,L){w.onload=D,w.onerror=L}),w.addEventListener("load",function(){v.loading|=Cy}),w.addEventListener("error",function(){v.loading|=iD}),v.loading|=fo,tc(g,e,o)}g={type:"stylesheet",instance:g,count:1,state:v},c.set(f,g)}}},M:function(t,e){Ps.M(t,e);var a=hm;if(a&&t){var o=Qt(a).hoistableScripts,c=Os(t),f=o.get(c);f||(f=a.querySelector(Pf(c)),f||(t=re({src:t,async:!0,type:"module"},e),(e=ho.get(c))&&v0(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 hm=typeof document>"u"?null:document,E1=null,G_=6e4,X_=800,Q_=500,RT=0,DT=null,w1=null,Ud=y2,zy={$$typeof:ci,Provider:null,Consumer:null,_currentValue:Ud,_currentValue2:Ud,_threadCount:0},sD="%c%s%c",rD="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",cD="",x1=" ",Z_=Function.prototype.bind,fD=!1,dD=null,hD=null,pD=null,mD=null,gD=null,yD=null,vD=null,bD=null,SD=null,TD=null;dD=function(t,e,a,o){e=u(t,e),e!==null&&(a=s(e.memoizedState,a,0,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=re({},t.memoizedProps),a=fa(t,2),a!==null&&Ft(a,t,2))},hD=function(t,e,a){e=u(t,e),e!==null&&(a=y(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=re({},t.memoizedProps),a=fa(t,2),a!==null&&Ft(a,t,2))},pD=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=re({},t.memoizedProps),a=fa(t,2),a!==null&&Ft(a,t,2))},mD=function(t,e,a){t.pendingProps=s(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Ft(e,t,2)},gD=function(t,e){t.pendingProps=y(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Ft(e,t,2)},yD=function(t,e,a){t.pendingProps=d(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Ft(e,t,2)},vD=function(t){var e=fa(t,2);e!==null&&Ft(e,t,2)},bD=function(t){var e=ir(),a=fa(t,e);a!==null&&Ft(a,t,e)},SD=function(t){S=t},TD=function(t){b=t};var A1=!0,R1=null,CT=!1,Nc=null,Hc=null,Bc=null,My=new Map,Oy=new Map,Lc=[],J_="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(" "),D1=null;if(ri.prototype.render=C0.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()."):at(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);Sp(o,c,a,e,null,null)},ri.prototype.unmount=C0.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;(xe&(sa|gi))!==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."),Sp(t.current,2,null,t,null,null),pl(),e[Vo]=null}},ri.prototype.unstable_scheduleHydration=function(t){if(t){var e=Io();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Lc.length&&e!==0&&e<Lc[a].priority;a++);Lc.splice(a,0,t),a===0&&D0(t)}},(function(){var t=ad.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=J(a):typeof a.name=="string"&&(o=a.name),o&&(g=" It was passed a child from "+o+".")),Rt(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),fR=Gn(!1),dR=0,hR=1,pR=2,K2=3,Ac=!1,mR=!1,$2=null,F2=!1,Ip=qt(null),Pb=qt(0),mi=qt(null),ro=null,tm=1,f0=2,Bn=qt(0),Ib=0,co=1,Tl=2,gi=4,El=8,em,gR=new Set,yR=new Set,W2=new Set,vR=new Set,Zs=0,It=null,$e=null,Wn=null,t1=!1,nm=!1,Ed=!1,e1=0,d0=0,Js=null,__=0,U_=25,I=null,fo=null,Ks=-1,h0=!1,p0={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};p0.useEffectEvent=pn;var P2=null,bR=null,I2=null,SR=null,Vu=null,qo=null,n1=null;P2={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",Pt(),Ao(e),Ch(t,e)},useContext:function(t){return I="useContext",Pt(),_e(t)},useEffect:function(t,e){return I="useEffect",Pt(),Ao(e),gs(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,Tl,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=et.H;et.H=Vu;try{return Da(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",Pt();var o=et.H;et.H=Vu;try{return Dr(t,e,a)}finally{et.H=o}},useRef:function(t){return I="useRef",Pt(),zh(t)},useState:function(t){I="useState",Pt();var e=et.H;et.H=Vu;try{return gu(t)}finally{et.H=e}},useDebugValue:function(){I="useDebugValue",Pt()},useDeferredValue:function(t,e){return I="useDeferredValue",Pt(),_r(t,e)},useTransition:function(){return I="useTransition",Pt(),Tu()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",Pt(),zr(t,e,a)},useId:function(){return I="useId",Pt(),Af()},useFormState:function(t,e){return I="useFormState",Pt(),pf(),rl(t,e)},useActionState:function(t,e){return I="useActionState",Pt(),rl(t,e)},useOptimistic:function(t){return I="useOptimistic",Pt(),ms(t)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",Pt(),Mh()},useEffectEvent:function(t){return I="useEffectEvent",Pt(),wf(t)}},bR={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",ft(),Ch(t,e)},useContext:function(t){return I="useContext",ft(),_e(t)},useEffect:function(t,e){return I="useEffect",ft(),gs(t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",ft(),Li(t,e,a)},useInsertionEffect:function(t,e){I="useInsertionEffect",ft(),Su(4,Tl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",ft(),Ra(t,e)},useMemo:function(t,e){I="useMemo",ft();var a=et.H;et.H=Vu;try{return Da(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",ft();var o=et.H;et.H=Vu;try{return Dr(t,e,a)}finally{et.H=o}},useRef:function(t){return I="useRef",ft(),zh(t)},useState:function(t){I="useState",ft();var e=et.H;et.H=Vu;try{return gu(t)}finally{et.H=e}},useDebugValue:function(){I="useDebugValue",ft()},useDeferredValue:function(t,e){return I="useDeferredValue",ft(),_r(t,e)},useTransition:function(){return I="useTransition",ft(),Tu()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",ft(),zr(t,e,a)},useId:function(){return I="useId",ft(),Af()},useActionState:function(t,e){return I="useActionState",ft(),rl(t,e)},useFormState:function(t,e){return I="useFormState",ft(),pf(),rl(t,e)},useOptimistic:function(t){return I="useOptimistic",ft(),ms(t)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",ft(),Mh()},useEffectEvent:function(t){return I="useEffectEvent",ft(),wf(t)}},I2={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",ft(),ni(t,e)},useContext:function(t){return I="useContext",ft(),_e(t)},useEffect:function(t,e){I="useEffect",ft(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",ft(),Or(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",ft(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",ft(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",ft();var a=et.H;et.H=qo;try{return en(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",ft();var o=et.H;et.H=qo;try{return ds(t,e,a)}finally{et.H=o}},useRef:function(){return I="useRef",ft(),He().memoizedState},useState:function(){I="useState",ft();var t=et.H;et.H=qo;try{return ds(sl)}finally{et.H=t}},useDebugValue:function(){I="useDebugValue",ft()},useDeferredValue:function(t,e){return I="useDeferredValue",ft(),Vi(t,e)},useTransition:function(){return I="useTransition",ft(),Ov()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",ft(),ps(t,e,a)},useId:function(){return I="useId",ft(),He().memoizedState},useFormState:function(t){return I="useFormState",ft(),pf(),vu(t)},useActionState:function(t){return I="useActionState",ft(),vu(t)},useOptimistic:function(t,e){return I="useOptimistic",ft(),Sf(t,e)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",ft(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",ft(),Mr(t)}},SR={readContext:function(t){return _e(t)},use:Ro,useCallback:function(t,e){return I="useCallback",ft(),ni(t,e)},useContext:function(t){return I="useContext",ft(),_e(t)},useEffect:function(t,e){I="useEffect",ft(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",ft(),Or(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",ft(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",ft(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",ft();var a=et.H;et.H=n1;try{return en(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",ft();var o=et.H;et.H=n1;try{return hs(t,e,a)}finally{et.H=o}},useRef:function(){return I="useRef",ft(),He().memoizedState},useState:function(){I="useState",ft();var t=et.H;et.H=n1;try{return hs(sl)}finally{et.H=t}},useDebugValue:function(){I="useDebugValue",ft()},useDeferredValue:function(t,e){return I="useDeferredValue",ft(),le(t,e)},useTransition:function(){return I="useTransition",ft(),rn()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",ft(),ps(t,e,a)},useId:function(){return I="useId",ft(),He().memoizedState},useFormState:function(t){return I="useFormState",ft(),pf(),bu(t)},useActionState:function(t){return I="useActionState",ft(),bu(t)},useOptimistic:function(t,e){return I="useOptimistic",ft(),Tf(t,e)},useHostTransitionStatus:Mo,useMemoCache:ul,useCacheRefresh:function(){return I="useCacheRefresh",ft(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",ft(),Mr(t)}},Vu={readContext:function(t){return w(),_e(t)},use:function(t){return T(),Ro(t)},useCallback:function(t,e){return I="useCallback",T(),Pt(),Ch(t,e)},useContext:function(t){return I="useContext",T(),Pt(),_e(t)},useEffect:function(t,e){return I="useEffect",T(),Pt(),gs(t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",T(),Pt(),Li(t,e,a)},useInsertionEffect:function(t,e){I="useInsertionEffect",T(),Pt(),Su(4,Tl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",T(),Pt(),Ra(t,e)},useMemo:function(t,e){I="useMemo",T(),Pt();var a=et.H;et.H=Vu;try{return Da(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",T(),Pt();var o=et.H;et.H=Vu;try{return Dr(t,e,a)}finally{et.H=o}},useRef:function(t){return I="useRef",T(),Pt(),zh(t)},useState:function(t){I="useState",T(),Pt();var e=et.H;et.H=Vu;try{return gu(t)}finally{et.H=e}},useDebugValue:function(){I="useDebugValue",T(),Pt()},useDeferredValue:function(t,e){return I="useDeferredValue",T(),Pt(),_r(t,e)},useTransition:function(){return I="useTransition",T(),Pt(),Tu()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",T(),Pt(),zr(t,e,a)},useId:function(){return I="useId",T(),Pt(),Af()},useFormState:function(t,e){return I="useFormState",T(),Pt(),rl(t,e)},useActionState:function(t,e){return I="useActionState",T(),Pt(),rl(t,e)},useOptimistic:function(t){return I="useOptimistic",T(),Pt(),ms(t)},useMemoCache:function(t){return T(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return I="useCacheRefresh",Pt(),Mh()},useEffectEvent:function(t){return I="useEffectEvent",T(),Pt(),wf(t)}},qo={readContext:function(t){return w(),_e(t)},use:function(t){return T(),Ro(t)},useCallback:function(t,e){return I="useCallback",T(),ft(),ni(t,e)},useContext:function(t){return I="useContext",T(),ft(),_e(t)},useEffect:function(t,e){I="useEffect",T(),ft(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",T(),ft(),Or(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",T(),ft(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",T(),ft(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",T(),ft();var a=et.H;et.H=qo;try{return en(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",T(),ft();var o=et.H;et.H=qo;try{return ds(t,e,a)}finally{et.H=o}},useRef:function(){return I="useRef",T(),ft(),He().memoizedState},useState:function(){I="useState",T(),ft();var t=et.H;et.H=qo;try{return ds(sl)}finally{et.H=t}},useDebugValue:function(){I="useDebugValue",T(),ft()},useDeferredValue:function(t,e){return I="useDeferredValue",T(),ft(),Vi(t,e)},useTransition:function(){return I="useTransition",T(),ft(),Ov()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",T(),ft(),ps(t,e,a)},useId:function(){return I="useId",T(),ft(),He().memoizedState},useFormState:function(t){return I="useFormState",T(),ft(),vu(t)},useActionState:function(t){return I="useActionState",T(),ft(),vu(t)},useOptimistic:function(t,e){return I="useOptimistic",T(),ft(),Sf(t,e)},useMemoCache:function(t){return T(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return I="useCacheRefresh",ft(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",T(),ft(),Mr(t)}},n1={readContext:function(t){return w(),_e(t)},use:function(t){return T(),Ro(t)},useCallback:function(t,e){return I="useCallback",T(),ft(),ni(t,e)},useContext:function(t){return I="useContext",T(),ft(),_e(t)},useEffect:function(t,e){I="useEffect",T(),ft(),Un(2048,El,t,e)},useImperativeHandle:function(t,e,a){return I="useImperativeHandle",T(),ft(),Or(t,e,a)},useInsertionEffect:function(t,e){return I="useInsertionEffect",T(),ft(),Un(4,Tl,t,e)},useLayoutEffect:function(t,e){return I="useLayoutEffect",T(),ft(),Un(4,gi,t,e)},useMemo:function(t,e){I="useMemo",T(),ft();var a=et.H;et.H=qo;try{return en(t,e)}finally{et.H=a}},useReducer:function(t,e,a){I="useReducer",T(),ft();var o=et.H;et.H=qo;try{return hs(t,e,a)}finally{et.H=o}},useRef:function(){return I="useRef",T(),ft(),He().memoizedState},useState:function(){I="useState",T(),ft();var t=et.H;et.H=qo;try{return hs(sl)}finally{et.H=t}},useDebugValue:function(){I="useDebugValue",T(),ft()},useDeferredValue:function(t,e){return I="useDeferredValue",T(),ft(),le(t,e)},useTransition:function(){return I="useTransition",T(),ft(),rn()},useSyncExternalStore:function(t,e,a){return I="useSyncExternalStore",T(),ft(),ps(t,e,a)},useId:function(){return I="useId",T(),ft(),He().memoizedState},useFormState:function(t){return I="useFormState",T(),ft(),bu(t)},useActionState:function(t){return I="useActionState",T(),ft(),bu(t)},useOptimistic:function(t,e){return I="useOptimistic",T(),ft(),Tf(t,e)},useMemoCache:function(t){return T(),ul(t)},useHostTransitionStatus:Mo,useCacheRefresh:function(){return I="useCacheRefresh",ft(),He().memoizedState},useEffectEvent:function(t){return I="useEffectEvent",T(),ft(),Mr(t)}};var TR={},ER=new Set,wR=new Set,xR=new Set,AR=new Set,RR=new Set,DR=new Set,zR=new Set,CR=new Set,MR=new Set,OR=new Set;Object.freeze(TR);var tT={enqueueSetState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.payload=e,a!=null&&(Ss(a),c.callback=a),e=ji(t,c,o),e!==null&&(Oi(o,"this.setState()",t),Wt(e,t,o),Ul(e,t,o))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var o=ha(t),c=_n(o);c.tag=hR,c.payload=e,a!=null&&(Ss(a),c.callback=a),e=ji(t,c,o),e!==null&&(Oi(o,"this.replaceState()",t),Wt(e,t,o),Ul(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ha(t),o=_n(a);o.tag=pR,e!=null&&(Ss(e),o.callback=e),e=ji(t,o,a),e!==null&&(Oi(a,"this.forceUpdate()",t),Wt(e,t,a),Ul(e,t,a))}},am=null,eT=null,nT=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,_R={},UR={},jR={},NR={},lm=!1,HR={},a1={},aT={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},BR=!1,LR=null;LR=new Set;var $s=!1,In=!1,lT=!1,VR=typeof WeakSet=="function"?WeakSet:Set,ya=null,im=null,om=null,ta=null,Vl=!1,Go=null,ua=!1,m0=8192,j_={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 Ja}};if(typeof Symbol=="function"&&Symbol.for){var g0=Symbol.for;g0("selector.component"),g0("selector.has_pseudo_class"),g0("selector.role"),g0("selector.test_id"),g0("selector.text")}var N_=[],H_=typeof WeakMap=="function"?WeakMap:Map,va=0,sa=2,yi=4,Fs=0,y0=1,wd=2,l1=3,Rc=4,i1=6,kR=5,Re=va,Fe=null,me=null,de=0,kl=0,o1=1,xd=2,v0=3,YR=4,iT=5,b0=6,u1=7,oT=8,Ad=9,Qe=kl,vi=null,Dc=!1,um=!1,uT=!1,ku=0,yn=Fs,zc=0,Cc=0,sT=0,Yl=0,Rd=0,S0=null,wl=null,s1=!1,r1=0,qR=0,GR=300,c1=1/0,XR=500,T0=null,Mn=null,Mc=null,f1=0,rT=1,cT=2,QR=3,Oc=0,ZR=1,JR=2,KR=3,$R=4,d1=5,ea=0,_c=null,sm=null,Xo=0,fT=0,dT=-0,hT=null,FR=null,WR=null,Qo=f1,PR=null,B_=50,E0=0,pT=null,mT=!1,h1=!1,L_=50,Dd=0,w0=null,rm=!1,p1=null,IR=!1,tD=new Set,V_={},m1=null,cm=null,gT=!1,yT=!1,g1=!1,vT=!1,Uc=0,bT={};(function(){for(var t=0;t<M2.length;t++){var e=M2[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),Zl(a,"on"+e)}Zl(MA,"onAnimationEnd"),Zl(OA,"onAnimationIteration"),Zl(_A,"onAnimationStart"),Zl("dblclick","onDoubleClick"),Zl("focusin","onFocus"),Zl("focusout","onBlur"),Zl(p_,"onTransitionRun"),Zl(m_,"onTransitionStart"),Zl(g_,"onTransitionCancel"),Zl(UA,"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 x0="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(" "),ST=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(x0)),y1="_reactListening"+Math.random().toString(36).slice(2),eD=!1,nD=!1,v1=!1,aD=!1,b1=!1,S1=!1,lD=!1,T1={},k_=/\r\n?/g,Y_=/\u0000|\uFFFD/g,zd="http://www.w3.org/1999/xlink",TT="http://www.w3.org/XML/1998/namespace",q_="javascript:throw new Error('React form unexpectedly submitted.')",G_="suppressHydrationWarning",Cd="&",E1="/&",A0="$",R0="/$",jc="$?",Md="$~",fm="$!",X_="html",Q_="body",Z_="head",ET="F!",iD="F",oD="loading",J_="style",Ws=0,dm=1,w1=2,wT=null,xT=null,uD={dialog:!0,webview:!0},AT=null,D0=void 0,sD=typeof setTimeout=="function"?setTimeout:void 0,K_=typeof clearTimeout=="function"?clearTimeout:void 0,Od=-1,rD=typeof Promise=="function"?Promise:void 0,$_=typeof queueMicrotask=="function"?queueMicrotask:typeof rD<"u"?function(t){return rD.resolve(null).then(t).catch(Iv)}:sD,RT=null,_d=0,z0=1,cD=2,fD=3,ho=4,po=new Map,dD=new Set,Ps=je.d;je.d={f:function(){var t=Ps.f(),e=pl();return t||e},r:function(t){var e=St(t);e!==null&&e.tag===5&&e.type==="form"?Ur(e):Ps.r(t)},D:function(t){Ps.D(t),my("dns-prefetch",t,null)},C:function(t,e){Ps.C(t,e),my("preconnect",t,e)},L:function(t,e,a){Ps.L(t,e,a);var o=hm;if(o&&t&&e){var c='link[rel="preload"][as="'+ke(e)+'"]';e==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+ke(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+ke(a.imageSizes)+'"]')):c+='[href="'+ke(t)+'"]';var f=c;switch(e){case"style":f=Ms(t);break;case"script":f=Os(t)}po.has(f)||(t=re({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(Wf(f))||e==="script"&&o.querySelector(Pf(f))||(e=o.createElement("link"),nn(e,"link",t),jt(e),o.head.appendChild(e)))}},m:function(t,e){Ps.m(t,e);var a=hm;if(a&&t){var o=e&&typeof e.as=="string"?e.as:"script",c='link[rel="modulepreload"][as="'+ke(o)+'"][href="'+ke(t)+'"]',f=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Os(t)}if(!po.has(f)&&(t=re({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(Pf(f)))return}o=a.createElement("link"),nn(o,"link",t),jt(o),a.head.appendChild(o)}}},X:function(t,e){Ps.X(t,e);var a=hm;if(a&&t){var o=Jt(a).hoistableScripts,c=Os(t),f=o.get(c);f||(f=a.querySelector(Pf(c)),f||(t=re({src:t,async:!0},e),(e=po.get(c))&&vy(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){Ps.S(t,e,a);var o=hm;if(o&&t){var c=Jt(o).hoistableStyles,f=Ms(t);e=e||"default";var g=c.get(f);if(!g){var v={loading:_d,preload:null};if(g=o.querySelector(Wf(f)))v.loading=z0|ho;else{t=re({rel:"stylesheet",href:t,"data-precedence":e},a),(a=po.get(f))&&yy(t,a);var x=g=o.createElement("link");jt(x),nn(x,"link",t),x._p=new Promise(function(D,L){x.onload=D,x.onerror=L}),x.addEventListener("load",function(){v.loading|=z0}),x.addEventListener("error",function(){v.loading|=cD}),v.loading|=ho,tc(g,e,o)}g={type:"stylesheet",instance:g,count:1,state:v},c.set(f,g)}}},M:function(t,e){Ps.M(t,e);var a=hm;if(a&&t){var o=Jt(a).hoistableScripts,c=Os(t),f=o.get(c);f||(f=a.querySelector(Pf(c)),f||(t=re({src:t,async:!0,type:"module"},e),(e=po.get(c))&&vy(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 hm=typeof document>"u"?null:document,x1=null,F_=6e4,W_=800,P_=500,DT=0,zT=null,A1=null,Ud=v2,C0={$$typeof:fi,Provider:null,Consumer:null,_currentValue:Ud,_currentValue2:Ud,_threadCount:0},hD="%c%s%c",pD="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",mD="",R1=" ",I_=Function.prototype.bind,gD=!1,yD=null,vD=null,bD=null,SD=null,TD=null,ED=null,wD=null,xD=null,AD=null,RD=null;yD=function(t,e,a,o){e=u(t,e),e!==null&&(a=s(e.memoizedState,a,0,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=re({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},vD=function(t,e,a){e=u(t,e),e!==null&&(a=y(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=re({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},bD=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=re({},t.memoizedProps),a=fa(t,2),a!==null&&Wt(a,t,2))},SD=function(t,e,a){t.pendingProps=s(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=fa(t,2),e!==null&&Wt(e,t,2)},TD=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)},ED=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)},wD=function(t){var e=fa(t,2);e!==null&&Wt(e,t,2)},xD=function(t){var e=ir(),a=fa(t,e);a!==null&&Wt(a,t,e)},AD=function(t){S=t},RD=function(t){b=t};var D1=!0,z1=null,CT=!1,Nc=null,Hc=null,Bc=null,M0=new Map,O0=new Map,Lc=[],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(" "),C1=null;if(ci.prototype.render=zy.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()."):it(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);Sp(o,c,a,e,null,null)},ci.prototype.unmount=zy.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&(sa|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."),Sp(t.current,2,null,t,null,null),pl(),e[Vo]=null}},ci.prototype.unstable_scheduleHydration=function(t){if(t){var e=Io();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Lc.length&&e!==0&&e<Lc[a].priority;a++);Lc.splice(a,0,t),a===0&&Dy(t)}},(function(){var t=ad.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"),
|
|
240
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}vm.createRoot=function(t,e){if(!
|
|
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=xt(e),t=t!==null?Yt(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:et,reconcilerVersion:"19.2.3"};return t.overrideHookState=yD,t.overrideHookStateDeletePath=vD,t.overrideHookStateRenamePath=bD,t.overrideProps=SD,t.overridePropsDeletePath=TD,t.overridePropsRenamePath=ED,t.scheduleUpdate=wD,t.scheduleRetry=xD,t.setErrorHandler=AD,t.setSuspenseHandler=RD,t.scheduleRefresh=lt,t.scheduleRoot=V,t.setRefreshHandler=dt,t.getCurrentFiber=Ge,Zc(t)})()&&Hu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var DD=window.location.protocol;/^(https?|file):$/.test(DD)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(DD==="file:"?`
|
|
240
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}vm.createRoot=function(t,e){if(!it(t))throw Error("Target container is not a DOM element.");Cy(t);var a=!1,o="",c=Uh,f=jh,g=wg;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===Bl&&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=ed(t,1,!1,null,null,a,o,null,c,f,g,Tb),t[Vo]=e.current,Cu(t),new C0(e)},vm.hydrateRoot=function(t,e,a){if(!at(t))throw Error("Target container is not a DOM element.");z0(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=Uh,g=jh,v=wg,w=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&&(w=a.formState)),e=ed(t,1,!0,e,a??null,o,c,w,f,g,v,Tb),e.context=yb(null),a=e.current,o=ha(a),o=xl(o),c=_n(o),c.callback=null,Ui(a,c,o),Mi(o,"hydrateRoot()",null),a=o,e.current.lanes=a,ql(e,a),Ga(e),t[Vo]=e.current,Cu(t),new ri(e)},vm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),vm}var XT;function ND(){if(XT)return jy.exports;XT=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(s){console.error(s)}}}return process.env.NODE_ENV==="production"?(u(),jy.exports=UD()):jy.exports=jD(),jy.exports}var HD=ND(),st=jd();const Nd=wD(st);var By=M1();const Zo={floatingIconPosition:"uilint:floatingIconPosition",inspectorDocked:"uilint:inspectorDocked",inspectorWidth:"uilint:inspectorWidth",inspectorFloatingPosition:"uilint:inspectorFloatingPosition",inspectorFloatingSize:"uilint:inspectorFloatingSize"};function QT(){return typeof window<"u"&&typeof localStorage<"u"}function bm(u,s){if(!QT())return s;try{const d=localStorage.getItem(u);return d===null?s:JSON.parse(d)}catch(d){return console.warn(`[UILint] Failed to load ${u} from localStorage:`,d),s}}function Sm(u,s){if(QT())try{localStorage.setItem(u,JSON.stringify(s))}catch(d){console.warn(`[UILint] Failed to save ${u} to localStorage:`,d)}}const ZT={open:!1,query:"",selectedIndex:0,filters:[]},BD=400;function LD(){return{open:!1,panelId:null,data:null,docked:bm(Zo.inspectorDocked,!0),width:bm(Zo.inspectorWidth,BD),floatingPosition:bm(Zo.inspectorFloatingPosition,null),floatingSize:bm(Zo.inspectorFloatingSize,null)}}const VD=u=>(s,d)=>({floatingIconPosition:bm(Zo.floatingIconPosition,null),setFloatingIconPosition:h=>{Sm(Zo.floatingIconPosition,h),s({floatingIconPosition:h})},altKeyHeld:!1,setAltKeyHeld:h=>{s({altKeyHeld:h})},selectedElementId:null,hoveredElementId:null,setSelectedElementId:h=>{s({selectedElementId:h})},setHoveredElementId:h=>{s({hoveredElementId:h})},commandPalette:{...ZT},openCommandPalette:()=>{s({commandPalette:{...d().commandPalette,open:!0,query:"",selectedIndex:0}})},closeCommandPalette:()=>{s({commandPalette:{...ZT,open:!1}})},setCommandPaletteQuery:h=>{s({commandPalette:{...d().commandPalette,query:h,selectedIndex:0}})},setCommandPaletteSelectedIndex:h=>{s({commandPalette:{...d().commandPalette,selectedIndex:h}})},addFilter:h=>{const y=d().commandPalette;s({commandPalette:{...y,filters:[...y.filters,h],selectedIndex:0}})},removeFilter:h=>{const y=d().commandPalette;s({commandPalette:{...y,filters:y.filters.filter((b,S)=>S!==h),selectedIndex:0}})},clearFilters:()=>{s({commandPalette:{...d().commandPalette,filters:[],selectedIndex:0}})},inspector:LD(),openInspector:(h,y)=>{s({inspector:{...d().inspector,open:!0,panelId:h,data:y??null}})},closeInspector:()=>{s({inspector:{...d().inspector,open:!1,panelId:null,data:null}})},toggleInspectorDocked:()=>{const h=d().inspector,y=!h.docked;Sm(Zo.inspectorDocked,y),s({inspector:{...h,docked:y}})},setInspectorWidth:h=>{Sm(Zo.inspectorWidth,h),s({inspector:{...d().inspector,width:h}})},setInspectorFloatingPosition:h=>{Sm(Zo.inspectorFloatingPosition,h),s({inspector:{...d().inspector,floatingPosition:h}})},setInspectorFloatingSize:h=>{Sm(Zo.inspectorFloatingSize,h),s({inspector:{...d().inspector,floatingSize:h}})},wsConnected:u.websocket.isConnected,wsUrl:u.websocket.url}),JT=u=>{let s;const d=new Set,h=(A,M)=>{const R=typeof A=="function"?A(s):A;if(!Object.is(R,s)){const C=s;s=M??(typeof R!="object"||R===null)?R:Object.assign({},s,R),d.forEach(q=>q(s,C))}},y=()=>s,T={setState:h,getState:y,getInitialState:()=>x,subscribe:A=>(d.add(A),()=>d.delete(A))},x=s=u(h,y,T);return T},kD=(u=>u?JT(u):JT),YD=u=>u;function qD(u,s=YD){const d=Nd.useSyncExternalStore(u.subscribe,Nd.useCallback(()=>s(u.getState()),[u,s]),Nd.useCallback(()=>s(u.getInitialState()),[u,s]));return Nd.useDebugValue(d),d}const KT=u=>{const s=kD(u),d=h=>qD(s,h);return Object.assign(d,s),d},GD=(u=>u?KT(u):KT);function $T(u){const s=new Map;for(const S of u)s.set(S.id,S);const d=[],h=new Set,y=new Set;function b(S){const T=S.id;if(h.has(T))return;if(y.has(T))throw new Error(`[PluginRegistry] Circular dependency detected involving plugin: ${T}`);y.add(T);const x=S.dependencies||[];for(const A of x){const M=s.get(A);M&&b(M)}y.delete(T),h.add(T),d.push(S)}for(const S of u)b(S);return d}class XD{plugins=new Map;services=null;register(s){if(console.log(`[PluginRegistry] Registering plugin: ${s.id}`),this.plugins.has(s.id)){console.warn(`[PluginRegistry] Plugin "${s.id}" is already registered. Skipping duplicate registration.`);return}const d=s.dependencies||[],h=[];for(const y of d)this.plugins.has(y)||h.push(y);h.length>0&&console.warn(`[PluginRegistry] Plugin "${s.id}" has unregistered dependencies: ${h.join(", ")}. These plugins should be registered first for proper initialization order.`),this.plugins.set(s.id,{plugin:s,initialized:!1}),console.log(`[PluginRegistry] Plugin "${s.id}" registered successfully`)}async initializeAll(s){console.log("[PluginRegistry] Initializing all plugins..."),this.services=s;const d=Array.from(this.plugins.values()).map(y=>y.plugin),h=$T(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(s),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(s=>s.plugin)}getPlugin(s){return this.plugins.get(s)?.plugin}getAllCommands(){const s=[];for(const{plugin:d}of this.plugins.values())d.commands&&s.push(...d.commands);return s}getAllAnalyzers(){const s=[];for(const{plugin:d}of this.plugins.values())d.analyzers&&s.push(...d.analyzers);return s}getAllInspectorPanels(){const s=[];for(const{plugin:d}of this.plugins.values())d.inspectorPanels&&s.push(...d.inspectorPanels);return s.sort((d,h)=>(h.priority??0)-(d.priority??0))}getAllRules(){if(!this.services)return console.warn("[PluginRegistry] Cannot get rules: services not initialized"),[];const s=[];for(const{plugin:d,initialized:h}of this.plugins.values())if(h&&d.getRules)try{const y=d.getRules(this.services);s.push(...y)}catch(y){console.error(`[PluginRegistry] Error getting rules from plugin "${d.id}":`,y)}return s}setRuleSeverity(s,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:s})&&h.setRuleSeverity){h.setRuleSeverity(s,d,this.services);return}if(s.startsWith(`${h.id}/`)&&h.setRuleSeverity){h.setRuleSeverity(s,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to handle rule: ${s}`)}getRuleConfig(s){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:s})&&d.getRuleConfig)return d.getRuleConfig(s,this.services);if(s.startsWith(`${d.id}/`)&&d.getRuleConfig)return d.getRuleConfig(s,this.services)}}setRuleConfig(s,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:s})&&h.setRuleConfig){h.setRuleConfig(s,d,this.services);return}if(s.startsWith(`${h.id}/`)&&h.setRuleConfig){h.setRuleConfig(s,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to configure rule: ${s}`)}getPluginForRule(s,d){for(const{plugin:b}of this.plugins.values())if(b.ruleContributions&&b.ruleContributions.find(T=>T.ruleId===s))return b;for(const{plugin:b}of this.plugins.values())if(s.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(s){for(const{plugin:d}of this.plugins.values())if(d.ruleContributions){const h=d.ruleContributions.find(y=>y.ruleId===s);if(h)return h}}disposeAll(){console.log("[PluginRegistry] Disposing all plugins...");const s=Array.from(this.plugins.values()).map(h=>h.plugin),d=$T(s).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(s){return this.plugins.has(s)}isInitialized(s){return this.plugins.get(s)?.initialized??!1}getServices(){return this.services}clear(){console.log("[PluginRegistry] Clearing all plugins"),this.disposeAll(),this.plugins.clear()}}function QD(){return new XD}const Vc=QD();let kc=null,Tm=null;const ZD=()=>({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"),()=>{})}),JD=()=>({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 KD(u={}){const s=u.websocket??ZD(),d=u.domObserver??JD();let h;const y=GD()((b,S)=>(h={websocket:{get isConnected(){return s.isConnected},get url(){return s.url},connect:s.connect.bind(s),disconnect:s.disconnect.bind(s),send:s.send.bind(s),on:s.on.bind(s),onConnectionChange:s.onConnectionChange.bind(s)},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()}},{...VD(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,...C}=M.plugins;return{plugins:C}})},getPluginSlice:A=>S().plugins[A],setPluginSlice:(A,M)=>{b(R=>{const C=R.plugins[A];return C?{plugins:{...R.plugins,[A]:{...C,...M}}}:(console.warn(`[ComposedStore] Cannot update unregistered plugin slice: ${String(A)}`),R)})}}));return s.onConnectionChange(b=>{y.setState({wsConnected:b,wsUrl:s.url})}),{store:y,services:h}}function FT(u){if(kc)return kc;const s=KD(u);return kc=s.store,Tm=s.services,kc}function Qe(u){return kc||FT(),u?kc(u):kc()}function WT(u,s,d){return{...s,getState:()=>d.getState(),setState:h=>{d.setState(y=>{const b=y.plugins[u]||{};return{plugins:{...y.plugins,[u]:{...b,...h}}}})}}}async function $D(u){const s=FT(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=WT(y.id,Tm,s),S=y.createSlice(b);y.id in{}?s.getState().registerPluginSlice(y.id,S):(console.log(`[ComposedStore] Registering unknown plugin slice: ${y.id}`),s.setState(T=>({plugins:{...T.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=WT(y.id,Tm,s);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 PT(){return Tm}const FD=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),WD=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,d,h)=>h?h.toUpperCase():d.toLowerCase()),IT=u=>{const s=WD(u);return s.charAt(0).toUpperCase()+s.slice(1)},tE=(...u)=>u.filter((s,d,h)=>!!s&&s.trim()!==""&&h.indexOf(s)===d).join(" ").trim(),PD=u=>{for(const s in u)if(s.startsWith("aria-")||s==="role"||s==="title")return!0};var ID={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 t5=st.forwardRef(({color:u="currentColor",size:s=24,strokeWidth:d=2,absoluteStrokeWidth:h,className:y="",children:b,iconNode:S,...T},x)=>st.createElement("svg",{ref:x,...ID,width:s,height:s,stroke:u,strokeWidth:h?Number(d)*24/Number(s):d,className:tE("lucide",y),...!b&&!PD(T)&&{"aria-hidden":"true"},...T},[...S.map(([A,M])=>st.createElement(A,M)),...Array.isArray(b)?b:[b]]));const po=(u,s)=>{const d=st.forwardRef(({className:h,...y},b)=>st.createElement(t5,{ref:b,iconNode:s,className:tE(`lucide-${FD(IT(u))}`,`lucide-${u}`,h),...y}));return d.displayName=IT(u),d};const O1=po("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 _1=po("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 U1=po("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 j1=po("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 e5=po("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 n5=po("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 a5=po("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const l5=po("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const i5=po("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);const N1=po("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 eE=po("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function o5(){return typeof window>"u"?{x:0,y:16}:{x:window.innerWidth/2-24,y:16}}function u5(){const u=Qe(at=>at.openCommandPalette),s=Qe(at=>at.wsConnected),d=Qe(at=>at.floatingIconPosition),h=Qe(at=>at.setFloatingIconPosition),y=Qe(at=>{const ot=at.plugins?.eslint?.issues;if(!ot)return 0;let St=0;return ot.forEach(pt=>{St+=pt.length}),St}),[b,S]=st.useState(!1),[T,x]=st.useState({x:0,y:0}),A=st.useRef(null),M=d??o5(),R=st.useCallback(at=>{if(at.button!==0)return;const ot=A.current?.getBoundingClientRect();ot&&(x({x:at.clientX-ot.left,y:at.clientY-ot.top}),S(!0),at.preventDefault())},[]),C=st.useCallback(at=>{if(!b)return;const ot=Math.max(0,Math.min(window.innerWidth-48,at.clientX-T.x)),St=Math.max(0,Math.min(window.innerHeight-48,at.clientY-T.y));h({x:ot,y:St})},[b,T,h]),q=st.useCallback(()=>{S(!1)},[]);st.useEffect(()=>{if(b)return window.addEventListener("mousemove",C),window.addEventListener("mouseup",q),()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",q)}},[b,C,q]);const nt=st.useCallback(()=>{b||u()},[b,u]),ft=document.getElementById("uilint-portal")||document.body;return By.createPortal(J.jsxs("button",{ref:A,onClick:nt,onMouseDown:R,style:{position:"fixed",left:M.x,top:M.y,width:48,height:48,borderRadius:"50%",border:"none",background:s?"#3b82f6":"#6b7280",color:"white",cursor:b?"grabbing":"grab",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",zIndex:99999,transition:b?"none":"background 0.2s",pointerEvents:"auto"},title:`UILint: ${y} issues${s?"":" (disconnected)"}`,children:[J.jsx(l5,{size:24}),y>0&&J.jsx("span",{style:{position:"absolute",top:-4,right:-4,minWidth:20,height:20,borderRadius:10,background:"#ef4444",color:"white",fontSize:11,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 6px"},children:y>99?"99+":y}),!s&&J.jsx("span",{style:{position:"absolute",bottom:-2,right:-2,width:12,height:12,borderRadius:"50%",background:"#f59e0b",border:"2px solid white"}})]}),ft)}function s5(u){const[s,d]=st.useState(new Map),h=st.useRef(null),y=st.useRef(null),b=st.useCallback(()=>{if(!u){d(new Map);return}const T=u instanceof Set?u:new Set(u.keys());if(T.size===0){d(new Map);return}const x=new Map;document.querySelectorAll("[data-loc]").forEach(M=>{const R=M.getAttribute("data-loc");if(R&&T.has(R)){const C=M.getBoundingClientRect();C.width>0&&C.height>0&&x.set(R,{dataLoc:R,rect:C,element:M})}}),d(x)},[u]),S=st.useCallback(()=>{y.current||(y.current=requestAnimationFrame(()=>{b(),y.current=null}))},[b]);return st.useEffect(()=>(b(),window.addEventListener("scroll",S,{passive:!0}),window.addEventListener("resize",S,{passive:!0}),h.current=new MutationObserver(S),h.current.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-loc"]}),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S),h.current?.disconnect(),y.current&&cancelAnimationFrame(y.current)}),[b,S]),s}function r5(u){const s=u.split(":"),d=parseInt(s.pop()||"0",10),h=parseInt(s.pop()||"0",10);return{filePath:s.join(":"),line:h,column:d}}function c5(u,s,d,h){return`${u}:${s}:${d}:${h}`}function f5(u){return u===2?"error":"warning"}function H1(u){switch(u){case"error":return"#ef4444";case"warning":return"#f59e0b";case"info":return"#3b82f6"}}function d5(u,s="eslint"){if(!u.message||!u.line)return null;const d=u.dataLoc||"",{filePath:h}=d?r5(d):{filePath:""},y=u.ruleId||"unknown",b=u.severity?f5(u.severity):"warning";return{id:c5(s,y,d,u.line),message:u.message,severity:b,dataLoc:d,ruleId:y,pluginId:s,filePath:h,line:u.line,column:u.column}}function h5({dataLoc:u,rect:s,issues:d,isHovered:h,showDetails:y,onClick:b}){const S=st.useMemo(()=>d.some(A=>A.severity==="error")?"error":d.some(A=>A.severity==="warning")?"warning":"info",[d]),T=H1(S),x=d.length;return J.jsxs("div",{onClick:b,style:{position:"fixed",left:s.left-2,top:s.top-2,width:s.width+4,height:s.height+4,border:`2px solid ${T}`,borderRadius:4,pointerEvents:"auto",cursor:"pointer",opacity:h?1:.6,transition:"opacity 0.15s",zIndex:99990},children:[J.jsx("span",{style:{position:"absolute",top:-10,right:-10,minWidth:18,height:18,borderRadius:9,background:T,color:"white",fontSize:10,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px"},children:x}),y&&h&&J.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:[J.jsxs("strong",{children:[x," issue",x!==1?"s":""]}),J.jsxs("div",{style:{marginTop:4,opacity:.8},children:[d.slice(0,3).map((A,M)=>J.jsxs("div",{style:{marginTop:M>0?4:0},children:["• ",A.message.slice(0,60),A.message.length>60?"...":""]},M)),d.length>3&&J.jsxs("div",{style:{marginTop:4,opacity:.6},children:["+",d.length-3," more..."]})]})]})]})}function p5(){const u=Qe(x=>x.altKeyHeld),s=Qe(x=>x.openInspector),d=Qe(x=>x.hoveredElementId),h=Qe(x=>x.setHoveredElementId),y=Qe(x=>x.plugins?.eslint?.issues),b=s5(y),S=x=>{s("element",{dataLoc:x})};if(!y||y.size===0)return null;const T=document.getElementById("uilint-portal")||document.body;return By.createPortal(J.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:99990},onMouseMove:x=>{const M=x.target.getAttribute?.("data-loc");h(M||null)},children:Array.from(b.entries()).map(([x,{rect:A}])=>{const M=y.get(x)||[];return M.length===0?null:J.jsx(h5,{dataLoc:x,rect:A,issues:M,isHovered:d===x,showDetails:u,onClick:()=>S(x)},x)})}),T)}const B1=st.createContext({});function L1(u){const s=st.useRef(null);return s.current===null&&(s.current=u()),s.current}const nE=typeof window<"u",aE=nE?st.useLayoutEffect:st.useEffect,Ly=st.createContext(null);function V1(u,s){u.indexOf(s)===-1&&u.push(s)}function k1(u,s){const d=u.indexOf(s);d>-1&&u.splice(d,1)}const Jo=(u,s,d)=>d>s?s:d<u?u:d;function Y1(u,s){return s?`${u}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${s}`:u}let Hd=()=>{},Yu=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(Hd=(u,s,d)=>{!u&&typeof console<"u"&&console.warn(Y1(s,d))},Yu=(u,s,d)=>{if(!u)throw new Error(Y1(s,d))});const qu={},lE=u=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(u);function iE(u){return typeof u=="object"&&u!==null}const oE=u=>/^0[^.\s]+$/u.test(u);function q1(u){let s;return()=>(s===void 0&&(s=u()),s)}const vi=u=>u,m5=(u,s)=>d=>s(u(d)),Em=(...u)=>u.reduce(m5),wm=(u,s,d)=>{const h=s-u;return h===0?1:(d-u)/h};class G1{constructor(){this.subscriptions=[]}add(s){return V1(this.subscriptions,s),()=>k1(this.subscriptions,s)}notify(s,d,h){const y=this.subscriptions.length;if(y)if(y===1)this.subscriptions[0](s,d,h);else for(let b=0;b<y;b++){const S=this.subscriptions[b];S&&S(s,d,h)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ko=u=>u*1e3,bi=u=>u/1e3;function uE(u,s){return s?u*(1e3/s):0}const sE=new Set;function X1(u,s,d){u||sE.has(s)||(console.warn(Y1(s,d)),sE.add(s))}const rE=(u,s,d)=>(((1-3*d+3*s)*u+(3*d-6*s))*u+3*s)*u,g5=1e-7,y5=12;function v5(u,s,d,h,y){let b,S,T=0;do S=s+(d-s)/2,b=rE(S,h,y)-u,b>0?d=S:s=S;while(Math.abs(b)>g5&&++T<y5);return S}function xm(u,s,d,h){if(u===s&&d===h)return vi;const y=b=>v5(b,0,1,u,d);return b=>b===0||b===1?b:rE(y(b),s,h)}const cE=u=>s=>s<=.5?u(2*s)/2:(2-u(2*(1-s)))/2,fE=u=>s=>1-u(1-s),dE=xm(.33,1.53,.69,.99),Q1=fE(dE),hE=cE(Q1),pE=u=>(u*=2)<1?.5*Q1(u):.5*(2-Math.pow(2,-10*(u-1))),Z1=u=>1-Math.sin(Math.acos(u)),mE=fE(Z1),gE=cE(Z1),b5=xm(.42,0,1,1),S5=xm(0,0,.58,1),yE=xm(.42,0,.58,1),T5=u=>Array.isArray(u)&&typeof u[0]!="number",vE=u=>Array.isArray(u)&&typeof u[0]=="number",bE={linear:vi,easeIn:b5,easeInOut:yE,easeOut:S5,circIn:Z1,circInOut:gE,circOut:mE,backIn:Q1,backInOut:hE,backOut:dE,anticipate:pE},E5=u=>typeof u=="string",SE=u=>{if(vE(u)){Yu(u.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[s,d,h,y]=u;return xm(s,d,h,y)}else if(E5(u))return Yu(bE[u]!==void 0,`Invalid easing type '${u}'`,"invalid-easing-type"),bE[u];return u},Vy=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function w5(u,s){let d=new Set,h=new Set,y=!1,b=!1;const S=new WeakSet;let T={delta:0,timestamp:0,isProcessing:!1};function x(M){S.has(M)&&(A.schedule(M),u()),M(T)}const A={schedule:(M,R=!1,C=!1)=>{const nt=C&&y?d:h;return R&&S.add(M),nt.has(M)||nt.add(M),M},cancel:M=>{h.delete(M),S.delete(M)},process:M=>{if(T=M,y){b=!0;return}y=!0,[d,h]=[h,d],d.forEach(x),d.clear(),y=!1,b&&(b=!1,A.process(M))}};return A}const x5=40;function TE(u,s){let d=!1,h=!0;const y={delta:0,timestamp:0,isProcessing:!1},b=()=>d=!0,S=Vy.reduce((pt,Ut)=>(pt[Ut]=w5(b),pt),{}),{setup:T,read:x,resolveKeyframes:A,preUpdate:M,update:R,preRender:C,render:q,postRender:nt}=S,ft=()=>{const pt=qu.useManualTiming?y.timestamp:performance.now();d=!1,qu.useManualTiming||(y.delta=h?1e3/60:Math.max(Math.min(pt-y.timestamp,x5),1)),y.timestamp=pt,y.isProcessing=!0,T.process(y),x.process(y),A.process(y),M.process(y),R.process(y),C.process(y),q.process(y),nt.process(y),y.isProcessing=!1,d&&s&&(h=!1,u(ft))},at=()=>{d=!0,h=!0,y.isProcessing||u(ft)};return{schedule:Vy.reduce((pt,Ut)=>{const xt=S[Ut];return pt[Ut]=(Gt,Tt=!1,Q=!1)=>(d||at(),xt.schedule(Gt,Tt,Q)),pt},{}),cancel:pt=>{for(let Ut=0;Ut<Vy.length;Ut++)S[Vy[Ut]].cancel(pt)},state:y,steps:S}}const{schedule:sn,cancel:tr,state:ba,steps:J1}=TE(typeof requestAnimationFrame<"u"?requestAnimationFrame:vi,!0);let ky;function A5(){ky=void 0}const $a={now:()=>(ky===void 0&&$a.set(ba.isProcessing||qu.useManualTiming?ba.timestamp:performance.now()),ky),set:u=>{ky=u,queueMicrotask(A5)}},EE=u=>s=>typeof s=="string"&&s.startsWith(u),wE=EE("--"),R5=EE("var(--"),K1=u=>R5(u)?D5.test(u.split("/*")[0].trim()):!1,D5=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xE(u){return typeof u!="string"?!1:u.split("/*")[0].includes("var(--")}const Bd={test:u=>typeof u=="number",parse:parseFloat,transform:u=>u},Am={...Bd,transform:u=>Jo(0,1,u)},Yy={...Bd,default:1},Rm=u=>Math.round(u*1e5)/1e5,$1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function C5(u){return u==null}const z5=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,F1=(u,s)=>d=>!!(typeof d=="string"&&z5.test(d)&&d.startsWith(u)||s&&!C5(d)&&Object.prototype.hasOwnProperty.call(d,s)),AE=(u,s,d)=>h=>{if(typeof h!="string")return h;const[y,b,S,T]=h.match($1);return{[u]:parseFloat(y),[s]:parseFloat(b),[d]:parseFloat(S),alpha:T!==void 0?parseFloat(T):1}},M5=u=>Jo(0,255,u),W1={...Bd,transform:u=>Math.round(M5(u))},Yc={test:F1("rgb","red"),parse:AE("red","green","blue"),transform:({red:u,green:s,blue:d,alpha:h=1})=>"rgba("+W1.transform(u)+", "+W1.transform(s)+", "+W1.transform(d)+", "+Rm(Am.transform(h))+")"};function O5(u){let s="",d="",h="",y="";return u.length>5?(s=u.substring(1,3),d=u.substring(3,5),h=u.substring(5,7),y=u.substring(7,9)):(s=u.substring(1,2),d=u.substring(2,3),h=u.substring(3,4),y=u.substring(4,5),s+=s,d+=d,h+=h,y+=y),{red:parseInt(s,16),green:parseInt(d,16),blue:parseInt(h,16),alpha:y?parseInt(y,16)/255:1}}const P1={test:F1("#"),parse:O5,transform:Yc.transform},Dm=u=>({test:s=>typeof s=="string"&&s.endsWith(u)&&s.split(" ").length===1,parse:parseFloat,transform:s=>`${s}${u}`}),er=Dm("deg"),$o=Dm("%"),Mt=Dm("px"),_5=Dm("vh"),U5=Dm("vw"),RE={...$o,parse:u=>$o.parse(u)/100,transform:u=>$o.transform(u*100)},Ld={test:F1("hsl","hue"),parse:AE("hue","saturation","lightness"),transform:({hue:u,saturation:s,lightness:d,alpha:h=1})=>"hsla("+Math.round(u)+", "+$o.transform(Rm(s))+", "+$o.transform(Rm(d))+", "+Rm(Am.transform(h))+")"},Vn={test:u=>Yc.test(u)||P1.test(u)||Ld.test(u),parse:u=>Yc.test(u)?Yc.parse(u):Ld.test(u)?Ld.parse(u):P1.parse(u),transform:u=>typeof u=="string"?u:u.hasOwnProperty("red")?Yc.transform(u):Ld.transform(u),getAnimatableNone:u=>{const s=Vn.parse(u);return s.alpha=0,Vn.transform(s)}},j5=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function N5(u){return isNaN(u)&&typeof u=="string"&&(u.match($1)?.length||0)+(u.match(j5)?.length||0)>0}const DE="number",CE="color",H5="var",B5="var(",zE="${}",L5=/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 Cm(u){const s=u.toString(),d=[],h={color:[],number:[],var:[]},y=[];let b=0;const T=s.replace(L5,x=>(Vn.test(x)?(h.color.push(b),y.push(CE),d.push(Vn.parse(x))):x.startsWith(B5)?(h.var.push(b),y.push(H5),d.push(x)):(h.number.push(b),y.push(DE),d.push(parseFloat(x))),++b,zE)).split(zE);return{values:d,split:T,indexes:h,types:y}}function ME(u){return Cm(u).values}function OE(u){const{split:s,types:d}=Cm(u),h=s.length;return y=>{let b="";for(let S=0;S<h;S++)if(b+=s[S],y[S]!==void 0){const T=d[S];T===DE?b+=Rm(y[S]):T===CE?b+=Vn.transform(y[S]):b+=y[S]}return b}}const V5=u=>typeof u=="number"?0:Vn.test(u)?Vn.getAnimatableNone(u):u;function k5(u){const s=ME(u);return OE(u)(s.map(V5))}const nr={test:N5,parse:ME,createTransformer:OE,getAnimatableNone:k5};function I1(u,s,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?u+(s-u)*6*d:d<1/2?s:d<2/3?u+(s-u)*(2/3-d)*6:u}function Y5({hue:u,saturation:s,lightness:d,alpha:h}){u/=360,s/=100,d/=100;let y=0,b=0,S=0;if(!s)y=b=S=d;else{const T=d<.5?d*(1+s):d+s-d*s,x=2*d-T;y=I1(x,T,u+1/3),b=I1(x,T,u),S=I1(x,T,u-1/3)}return{red:Math.round(y*255),green:Math.round(b*255),blue:Math.round(S*255),alpha:h}}function qy(u,s){return d=>d>0?s:u}const vn=(u,s,d)=>u+(s-u)*d,tS=(u,s,d)=>{const h=u*u,y=d*(s*s-h)+h;return y<0?0:Math.sqrt(y)},q5=[P1,Yc,Ld],G5=u=>q5.find(s=>s.test(u));function _E(u){const s=G5(u);if(Hd(!!s,`'${u}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!s)return!1;let d=s.parse(u);return s===Ld&&(d=Y5(d)),d}const UE=(u,s)=>{const d=_E(u),h=_E(s);if(!d||!h)return qy(u,s);const y={...d};return b=>(y.red=tS(d.red,h.red,b),y.green=tS(d.green,h.green,b),y.blue=tS(d.blue,h.blue,b),y.alpha=vn(d.alpha,h.alpha,b),Yc.transform(y))},eS=new Set(["none","hidden"]);function X5(u,s){return eS.has(u)?d=>d<=0?u:s:d=>d>=1?s:u}function Q5(u,s){return d=>vn(u,s,d)}function nS(u){return typeof u=="number"?Q5:typeof u=="string"?K1(u)?qy:Vn.test(u)?UE:K5:Array.isArray(u)?jE:typeof u=="object"?Vn.test(u)?UE:Z5:qy}function jE(u,s){const d=[...u],h=d.length,y=u.map((b,S)=>nS(b)(b,s[S]));return b=>{for(let S=0;S<h;S++)d[S]=y[S](b);return d}}function Z5(u,s){const d={...u,...s},h={};for(const y in d)u[y]!==void 0&&s[y]!==void 0&&(h[y]=nS(u[y])(u[y],s[y]));return y=>{for(const b in h)d[b]=h[b](y);return d}}function J5(u,s){const d=[],h={color:0,var:0,number:0};for(let y=0;y<s.values.length;y++){const b=s.types[y],S=u.indexes[b][h[b]],T=u.values[S]??0;d[y]=T,h[b]++}return d}const K5=(u,s)=>{const d=nr.createTransformer(s),h=Cm(u),y=Cm(s);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?eS.has(u)&&!y.values.length||eS.has(s)&&!h.values.length?X5(u,s):Em(jE(J5(h,y),y.values),d):(Hd(!0,`Complex values '${u}' and '${s}' 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,s))};function NE(u,s,d){return typeof u=="number"&&typeof s=="number"&&typeof d=="number"?vn(u,s,d):nS(u)(u,s)}const $5=u=>{const s=({timestamp:d})=>u(d);return{start:(d=!0)=>sn.update(s,d),stop:()=>tr(s),now:()=>ba.isProcessing?ba.timestamp:$a.now()}},HE=(u,s,d=10)=>{let h="";const y=Math.max(Math.round(s/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)})`},Gy=2e4;function aS(u){let s=0;const d=50;let h=u.next(s);for(;!h.done&&s<Gy;)s+=d,h=u.next(s);return s>=Gy?1/0:s}function F5(u,s=100,d){const h=d({...u,keyframes:[0,s]}),y=Math.min(aS(h),Gy);return{type:"keyframes",ease:b=>h.next(y*b).value/s,duration:bi(y)}}const W5=5;function BE(u,s,d){const h=Math.max(s-W5,0);return uE(d-u(h),s-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},lS=.001;function P5({duration:u=bn.duration,bounce:s=bn.bounce,velocity:d=bn.velocity,mass:h=bn.mass}){let y,b;Hd(u<=Ko(bn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let S=1-s;S=Jo(bn.minDamping,bn.maxDamping,S),u=Jo(bn.minDuration,bn.maxDuration,bi(u)),S<1?(y=A=>{const M=A*S,R=M*u,C=M-d,q=iS(A,S),nt=Math.exp(-R);return lS-C/q*nt},b=A=>{const R=A*S*u,C=R*d+d,q=Math.pow(S,2)*Math.pow(A,2)*u,nt=Math.exp(-R),ft=iS(Math.pow(A,2),S);return(-y(A)+lS>0?-1:1)*((C-q)*nt)/ft}):(y=A=>{const M=Math.exp(-A*u),R=(A-d)*u+1;return-lS+M*R},b=A=>{const M=Math.exp(-A*u),R=(d-A)*(u*u);return M*R});const T=5/u,x=tC(y,b,T);if(u=Ko(u),isNaN(x))return{stiffness:bn.stiffness,damping:bn.damping,duration:u};{const A=Math.pow(x,2)*h;return{stiffness:A,damping:S*2*Math.sqrt(h*A),duration:u}}}const I5=12;function tC(u,s,d){let h=d;for(let y=1;y<I5;y++)h=h-u(h)/s(h);return h}function iS(u,s){return u*Math.sqrt(1-s*s)}const eC=["duration","bounce"],nC=["stiffness","damping","mass"];function LE(u,s){return s.some(d=>u[d]!==void 0)}function aC(u){let s={velocity:bn.velocity,stiffness:bn.stiffness,damping:bn.damping,mass:bn.mass,isResolvedFromDuration:!1,...u};if(!LE(u,nC)&&LE(u,eC))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);s={...s,mass:bn.mass,stiffness:y,damping:b}}else{const d=P5(u);s={...s,...d,mass:bn.mass},s.isResolvedFromDuration=!0}return s}function Xy(u=bn.visualDuration,s=bn.bounce){const d=typeof u!="object"?{visualDuration:u,keyframes:[0,1],bounce:s}:u;let{restSpeed:h,restDelta:y}=d;const b=d.keyframes[0],S=d.keyframes[d.keyframes.length-1],T={done:!1,value:b},{stiffness:x,damping:A,mass:M,duration:R,velocity:C,isResolvedFromDuration:q}=aC({...d,velocity:-bi(d.velocity||0)}),nt=C||0,ft=A/(2*Math.sqrt(x*M)),at=S-b,ot=bi(Math.sqrt(x/M)),St=Math.abs(at)<5;h||(h=St?bn.restSpeed.granular:bn.restSpeed.default),y||(y=St?bn.restDelta.granular:bn.restDelta.default);let pt;if(ft<1){const xt=iS(ot,ft);pt=Gt=>{const Tt=Math.exp(-ft*ot*Gt);return S-Tt*((nt+ft*ot*at)/xt*Math.sin(xt*Gt)+at*Math.cos(xt*Gt))}}else if(ft===1)pt=xt=>S-Math.exp(-ot*xt)*(at+(nt+ot*at)*xt);else{const xt=ot*Math.sqrt(ft*ft-1);pt=Gt=>{const Tt=Math.exp(-ft*ot*Gt),Q=Math.min(xt*Gt,300);return S-Tt*((nt+ft*ot*at)*Math.sinh(Q)+xt*at*Math.cosh(Q))/xt}}const Ut={calculatedDuration:q&&R||null,next:xt=>{const Gt=pt(xt);if(q)T.done=xt>=R;else{let Tt=xt===0?nt:0;ft<1&&(Tt=xt===0?Ko(nt):BE(pt,xt,Gt));const Q=Math.abs(Tt)<=h,vt=Math.abs(S-Gt)<=y;T.done=Q&&vt}return T.value=T.done?S:Gt,T},toString:()=>{const xt=Math.min(aS(Ut),Gy),Gt=HE(Tt=>Ut.next(xt*Tt).value,xt,30);return xt+"ms "+Gt},toTransition:()=>{}};return Ut}Xy.applyToOptions=u=>{const s=F5(u,100,Xy);return u.ease=s.ease,u.duration=Ko(s.duration),u.type="keyframes",u};function oS({keyframes:u,velocity:s=0,power:d=.8,timeConstant:h=325,bounceDamping:y=10,bounceStiffness:b=500,modifyTarget:S,min:T,max:x,restDelta:A=.5,restSpeed:M}){const R=u[0],C={done:!1,value:R},q=Q=>T!==void 0&&Q<T||x!==void 0&&Q>x,nt=Q=>T===void 0?x:x===void 0||Math.abs(T-Q)<Math.abs(x-Q)?T:x;let ft=d*s;const at=R+ft,ot=S===void 0?at:S(at);ot!==at&&(ft=ot-R);const St=Q=>-ft*Math.exp(-Q/h),pt=Q=>ot+St(Q),Ut=Q=>{const vt=St(Q),ht=pt(Q);C.done=Math.abs(vt)<=A,C.value=C.done?ot:ht};let xt,Gt;const Tt=Q=>{q(C.value)&&(xt=Q,Gt=Xy({keyframes:[C.value,nt(C.value)],velocity:BE(pt,Q,C.value),damping:y,stiffness:b,restDelta:A,restSpeed:M}))};return Tt(0),{calculatedDuration:null,next:Q=>{let vt=!1;return!Gt&&xt===void 0&&(vt=!0,Ut(Q),Tt(Q)),xt!==void 0&&Q>=xt?Gt.next(Q-xt):(!vt&&Ut(Q),C)}}}function lC(u,s,d){const h=[],y=d||qu.mix||NE,b=u.length-1;for(let S=0;S<b;S++){let T=y(u[S],u[S+1]);if(s){const x=Array.isArray(s)?s[S]||vi:s;T=Em(x,T)}h.push(T)}return h}function iC(u,s,{clamp:d=!0,ease:h,mixer:y}={}){const b=u.length;if(Yu(b===s.length,"Both input and output ranges must be the same length","range-length"),b===1)return()=>s[0];if(b===2&&s[0]===s[1])return()=>s[1];const S=u[0]===u[1];u[0]>u[b-1]&&(u=[...u].reverse(),s=[...s].reverse());const T=lC(s,h,y),x=T.length,A=M=>{if(S&&M<u[0])return s[0];let R=0;if(x>1)for(;R<u.length-2&&!(M<u[R+1]);R++);const C=wm(u[R],u[R+1],M);return T[R](C)};return d?M=>A(Jo(u[0],u[b-1],M)):A}function oC(u,s){const d=u[u.length-1];for(let h=1;h<=s;h++){const y=wm(0,s,h);u.push(vn(d,1,y))}}function uC(u){const s=[0];return oC(s,u.length-1),s}function sC(u,s){return u.map(d=>d*s)}function rC(u,s){return u.map(()=>s||yE).splice(0,u.length-1)}function Vd({duration:u=300,keyframes:s,times:d,ease:h="easeInOut"}){const y=T5(h)?h.map(SE):SE(h),b={done:!1,value:s[0]},S=sC(d&&d.length===s.length?d:uC(s),u),T=iC(S,s,{ease:Array.isArray(y)?y:rC(s,y)});return{calculatedDuration:u,next:x=>(b.value=T(x),b.done=x>=u,b)}}const cC=u=>u!==null;function uS(u,{repeat:s,repeatType:d="loop"},h,y=1){const b=u.filter(cC),T=y<0||s&&d!=="loop"&&s%2===1?0:b.length-1;return!T||h===void 0?b[T]:h}const fC={decay:oS,inertia:oS,tween:Vd,keyframes:Vd,spring:Xy};function VE(u){typeof u.type=="string"&&(u.type=fC[u.type])}class sS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(s=>{this.resolve=s})}notifyFinished(){this.resolve()}then(s,d){return this.finished.then(s,d)}}const dC=u=>u/100;class rS extends sS{constructor(s){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=s,this.initAnimation(),this.play(),s.autoplay===!1&&this.pause()}initAnimation(){const{options:s}=this;VE(s);const{type:d=Vd,repeat:h=0,repeatDelay:y=0,repeatType:b,velocity:S=0}=s;let{keyframes:T}=s;const x=d||Vd;process.env.NODE_ENV!=="production"&&x!==Vd&&Yu(T.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${T}`,"spring-two-frames"),x!==Vd&&typeof T[0]!="number"&&(this.mixKeyframes=Em(dC,NE(T[0],T[1])),T=[0,100]);const A=x({...s,keyframes:T});b==="mirror"&&(this.mirroredGenerator=x({...s,keyframes:[...T].reverse(),velocity:-S})),A.calculatedDuration===null&&(A.calculatedDuration=aS(A));const{calculatedDuration:M}=A;this.calculatedDuration=M,this.resolvedDuration=M+y,this.totalDuration=this.resolvedDuration*(h+1)-y,this.generator=A}updateTime(s){const d=Math.round(s-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(s,d=!1){const{generator:h,totalDuration:y,mixKeyframes:b,mirroredGenerator:S,resolvedDuration:T,calculatedDuration:x}=this;if(this.startTime===null)return h.next(0);const{delay:A=0,keyframes:M,repeat:R,repeatType:C,repeatDelay:q,type:nt,onUpdate:ft,finalKeyframe:at}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,s):this.speed<0&&(this.startTime=Math.min(s-y/this.speed,this.startTime)),d?this.currentTime=s:this.updateTime(s);const ot=this.currentTime-A*(this.playbackSpeed>=0?1:-1),St=this.playbackSpeed>=0?ot<0:ot>y;this.currentTime=Math.max(ot,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let pt=this.currentTime,Ut=h;if(R){const Q=Math.min(this.currentTime,y)/T;let vt=Math.floor(Q),ht=Q%1;!ht&&Q>=1&&(ht=1),ht===1&&vt--,vt=Math.min(vt,R+1),vt%2&&(C==="reverse"?(ht=1-ht,q&&(ht-=q/T)):C==="mirror"&&(Ut=S)),pt=Jo(0,1,ht)*T}const xt=St?{done:!1,value:M[0]}:Ut.next(pt);b&&(xt.value=b(xt.value));let{done:Gt}=xt;!St&&x!==null&&(Gt=this.playbackSpeed>=0?this.currentTime>=y:this.currentTime<=0);const Tt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Gt);return Tt&&nt!==oS&&(xt.value=uS(M,this.options,at,this.speed)),ft&&ft(xt.value),Tt&&this.finish(),xt}then(s,d){return this.finished.then(s,d)}get duration(){return bi(this.calculatedDuration)}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+bi(s)}get time(){return bi(this.currentTime)}set time(s){s=Ko(s),this.currentTime=s,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=s:this.driver&&(this.startTime=this.driver.now()-s/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(s){this.updateTime($a.now());const d=this.playbackSpeed!==s;this.playbackSpeed=s,d&&(this.time=bi(this.currentTime))}play(){if(this.isStopped)return;const{driver:s=$5,startTime:d}=this.options;this.driver||(this.driver=s(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(s){return this.startTime=0,this.tick(s,!0)}attachTimeline(s){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),s.observe(this)}}function hC(u){for(let s=1;s<u.length;s++)u[s]??(u[s]=u[s-1])}const qc=u=>u*180/Math.PI,cS=u=>{const s=qc(Math.atan2(u[1],u[0]));return fS(s)},pC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:u=>(Math.abs(u[0])+Math.abs(u[3]))/2,rotate:cS,rotateZ:cS,skewX:u=>qc(Math.atan(u[1])),skewY:u=>qc(Math.atan(u[2])),skew:u=>(Math.abs(u[1])+Math.abs(u[2]))/2},fS=u=>(u=u%360,u<0&&(u+=360),u),kE=cS,YE=u=>Math.sqrt(u[0]*u[0]+u[1]*u[1]),qE=u=>Math.sqrt(u[4]*u[4]+u[5]*u[5]),mC={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:YE,scaleY:qE,scale:u=>(YE(u)+qE(u))/2,rotateX:u=>fS(qc(Math.atan2(u[6],u[5]))),rotateY:u=>fS(qc(Math.atan2(-u[2],u[0]))),rotateZ:kE,rotate:kE,skewX:u=>qc(Math.atan(u[4])),skewY:u=>qc(Math.atan(u[1])),skew:u=>(Math.abs(u[1])+Math.abs(u[4]))/2};function dS(u){return u.includes("scale")?1:0}function hS(u,s){if(!u||u==="none")return dS(s);const d=u.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let h,y;if(d)h=mC,y=d;else{const T=u.match(/^matrix\(([-\d.e\s,]+)\)$/u);h=pC,y=T}if(!y)return dS(s);const b=h[s],S=y[1].split(",").map(yC);return typeof b=="function"?b(S):S[b]}const gC=(u,s)=>{const{transform:d="none"}=getComputedStyle(u);return hS(d,s)};function yC(u){return parseFloat(u.trim())}const kd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yd=new Set(kd),GE=u=>u===Bd||u===Mt,vC=new Set(["x","y","z"]),bC=kd.filter(u=>!vC.has(u));function SC(u){const s=[];return bC.forEach(d=>{const h=u.getValue(d);h!==void 0&&(s.push([d,h.get()]),h.set(d.startsWith("scale")?1:0))}),s}const ar={width:({x:u},{paddingLeft:s="0",paddingRight:d="0"})=>u.max-u.min-parseFloat(s)-parseFloat(d),height:({y:u},{paddingTop:s="0",paddingBottom:d="0"})=>u.max-u.min-parseFloat(s)-parseFloat(d),top:(u,{top:s})=>parseFloat(s),left:(u,{left:s})=>parseFloat(s),bottom:({y:u},{top:s})=>parseFloat(s)+(u.max-u.min),right:({x:u},{left:s})=>parseFloat(s)+(u.max-u.min),x:(u,{transform:s})=>hS(s,"x"),y:(u,{transform:s})=>hS(s,"y")};ar.translateX=ar.x,ar.translateY=ar.y;const Gc=new Set;let pS=!1,mS=!1,gS=!1;function XE(){if(mS){const u=Array.from(Gc).filter(h=>h.needsMeasurement),s=new Set(u.map(h=>h.element)),d=new Map;s.forEach(h=>{const y=SC(h);y.length&&(d.set(h,y),h.render())}),u.forEach(h=>h.measureInitialState()),s.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)})}mS=!1,pS=!1,Gc.forEach(u=>u.complete(gS)),Gc.clear()}function QE(){Gc.forEach(u=>{u.readKeyframes(),u.needsMeasurement&&(mS=!0)})}function TC(){gS=!0,QE(),XE(),gS=!1}class yS{constructor(s,d,h,y,b,S=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...s],this.onComplete=d,this.name=h,this.motionValue=y,this.element=b,this.isAsync=S}scheduleResolve(){this.state="scheduled",this.isAsync?(Gc.add(this),pS||(pS=!0,sn.read(QE),sn.resolveKeyframes(XE))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:d,element:h,motionValue:y}=this;if(s[0]===null){const b=y?.get(),S=s[s.length-1];if(b!==void 0)s[0]=b;else if(h&&d){const T=h.readValue(d,S);T!=null&&(s[0]=T)}s[0]===void 0&&(s[0]=S),y&&b===void 0&&y.set(s[0])}hC(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(s=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,s),Gc.delete(this)}cancel(){this.state==="scheduled"&&(Gc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const EC=u=>u.startsWith("--");function wC(u,s,d){EC(s)?u.style.setProperty(s,d):u.style[s]=d}const xC=q1(()=>window.ScrollTimeline!==void 0),AC={};function RC(u,s){const d=q1(u);return()=>AC[s]??d()}const ZE=RC(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),zm=([u,s,d,h])=>`cubic-bezier(${u}, ${s}, ${d}, ${h})`,JE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:zm([0,.65,.55,1]),circOut:zm([.55,0,1,.45]),backIn:zm([.31,.01,.66,-.59]),backOut:zm([.33,1.53,.69,.99])};function KE(u,s){if(u)return typeof u=="function"?ZE()?HE(u,s):"ease-out":vE(u)?zm(u):Array.isArray(u)?u.map(d=>KE(d,s)||JE.easeOut):JE[u]}function DC(u,s,d,{delay:h=0,duration:y=300,repeat:b=0,repeatType:S="loop",ease:T="easeOut",times:x}={},A=void 0){const M={[s]:d};x&&(M.offset=x);const R=KE(T,y);Array.isArray(R)&&(M.easing=R);const C={delay:h,duration:y,easing:Array.isArray(R)?"linear":R,fill:"both",iterations:b+1,direction:S==="reverse"?"alternate":"normal"};return A&&(C.pseudoElement=A),u.animate(M,C)}function $E(u){return typeof u=="function"&&"applyToOptions"in u}function CC({type:u,...s}){return $E(u)&&ZE()?u.applyToOptions(s):(s.duration??(s.duration=300),s.ease??(s.ease="easeOut"),s)}class zC extends sS{constructor(s){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!s)return;const{element:d,name:h,keyframes:y,pseudoElement:b,allowFlatten:S=!1,finalKeyframe:T,onComplete:x}=s;this.isPseudoElement=!!b,this.allowFlatten=S,this.options=s,Yu(typeof s.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const A=CC(s);this.animation=DC(d,h,y,A,b),A.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!b){const M=uS(y,this.options,T,this.speed);this.updateMotionValue?this.updateMotionValue(M):wC(d,h,M),this.animation.cancel()}x?.(),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:s}=this;s==="idle"||s==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const s=this.animation.effect?.getComputedTiming?.().duration||0;return bi(Number(s))}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+bi(s)}get time(){return bi(Number(this.animation.currentTime)||0)}set time(s){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ko(s)}get speed(){return this.animation.playbackRate}set speed(s){s<0&&(this.finishedTime=null),this.animation.playbackRate=s}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(s){this.manualStartTime=this.animation.startTime=s}attachTimeline({timeline:s,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,s&&xC()?(this.animation.timeline=s,vi):d(this)}}const FE={anticipate:pE,backInOut:hE,circInOut:gE};function MC(u){return u in FE}function OC(u){typeof u.ease=="string"&&MC(u.ease)&&(u.ease=FE[u.ease])}const vS=10;class _C extends zC{constructor(s){OC(s),VE(s),super(s),s.startTime!==void 0&&(this.startTime=s.startTime),this.options=s}updateMotionValue(s){const{motionValue:d,onUpdate:h,onComplete:y,element:b,...S}=this.options;if(!d)return;if(s!==void 0){d.set(s);return}const T=new rS({...S,autoplay:!1}),x=Math.max(vS,$a.now()-this.startTime),A=Jo(0,vS,x-vS);d.setWithVelocity(T.sample(Math.max(0,x-A)).value,T.sample(x).value,A),T.stop()}}const WE=(u,s)=>s==="zIndex"?!1:!!(typeof u=="number"||Array.isArray(u)||typeof u=="string"&&(nr.test(u)||u==="0")&&!u.startsWith("url("));function UC(u){const s=u[0];if(u.length===1)return!0;for(let d=0;d<u.length;d++)if(u[d]!==s)return!0}function jC(u,s,d,h){const y=u[0];if(y===null)return!1;if(s==="display"||s==="visibility")return!0;const b=u[u.length-1],S=WE(y,s),T=WE(b,s);return Hd(S===T,`You are trying to animate ${s} from "${y}" to "${b}". "${S?b:y}" is not an animatable value.`,"value-not-animatable"),!S||!T?!1:UC(u)||(d==="spring"||$E(d))&&h}function bS(u){u.duration=0,u.type="keyframes"}const NC=new Set(["opacity","clipPath","filter","transform"]),HC=q1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function BC(u){const{motionValue:s,name:d,repeatDelay:h,repeatType:y,damping:b,type:S}=u;if(!(s?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:x,transformTemplate:A}=s.owner.getProps();return HC()&&d&&NC.has(d)&&(d!=="transform"||!A)&&!x&&!h&&y!=="mirror"&&b!==0&&S!=="inertia"}const LC=40;class VC extends sS{constructor({autoplay:s=!0,delay:d=0,type:h="keyframes",repeat:y=0,repeatDelay:b=0,repeatType:S="loop",keyframes:T,name:x,motionValue:A,element:M,...R}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=$a.now();const C={autoplay:s,delay:d,type:h,repeat:y,repeatDelay:b,repeatType:S,name:x,motionValue:A,element:M,...R},q=M?.KeyframeResolver||yS;this.keyframeResolver=new q(T,(nt,ft,at)=>this.onKeyframesResolved(nt,ft,C,!at),x,A,M),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(s,d,h,y){this.keyframeResolver=void 0;const{name:b,type:S,velocity:T,delay:x,isHandoff:A,onUpdate:M}=h;this.resolvedAt=$a.now(),jC(s,b,S,T)||((qu.instantAnimations||!x)&&M?.(uS(s,h,d)),s[0]=s[s.length-1],bS(h),h.repeat=0);const C={startTime:y?this.resolvedAt?this.resolvedAt-this.createdAt>LC?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...h,keyframes:s},q=!A&&BC(C)?new _C({...C,element:C.motionValue.owner.current}):new rS(C);q.finished.then(()=>this.notifyFinished()).catch(vi),this.pendingTimeline&&(this.stopTimeline=q.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=q}get finished(){return this._animation?this.animation.finished:this._finished}then(s,d){return this.finished.finally(s).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),TC()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(s){this.animation.time=s}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(s){this.animation.speed=s}get startTime(){return this.animation.startTime}attachTimeline(s){return this._animation?this.stopTimeline=this.animation.attachTimeline(s):this.pendingTimeline=s,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const kC=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function YC(u){const s=kC.exec(u);if(!s)return[,];const[,d,h,y]=s;return[`--${d??h}`,y]}const qC=4;function PE(u,s,d=1){Yu(d<=qC,`Max CSS variable fallback depth detected in property "${u}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[h,y]=YC(u);if(!h)return;const b=window.getComputedStyle(s).getPropertyValue(h);if(b){const S=b.trim();return lE(S)?parseFloat(S):S}return K1(y)?PE(y,s,d+1):y}function SS(u,s){return u?.[s]??u?.default??u}const GC={type:"spring",stiffness:500,damping:25,restSpeed:10},XC=u=>({type:"spring",stiffness:550,damping:u===0?2*Math.sqrt(550):30,restSpeed:10}),QC={type:"keyframes",duration:.8},ZC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},JC=(u,{keyframes:s})=>s.length>2?QC:Yd.has(u)?u.startsWith("scale")?XC(s[1]):GC:ZC;function KC({when:u,delay:s,delayChildren:d,staggerChildren:h,staggerDirection:y,repeat:b,repeatType:S,repeatDelay:T,from:x,elapsed:A,...M}){return!!Object.keys(M).length}const $C=u=>u!==null;function FC(u,{repeat:s,repeatType:d="loop"},h){const y=u.filter($C),b=s&&d!=="loop"&&s%2===1?0:y.length-1;return y[b]}function IE(u,s,d,h=0,y=1){const b=Array.from(u).sort((A,M)=>A.sortNodePosition(M)).indexOf(s),S=u.size,T=(S-1)*h;return typeof d=="function"?d(b,S):y===1?b*h:T-b*h}const TS=(u,s,d,h={},y,b)=>S=>{const T=SS(h,u)||{},x=T.delay||h.delay||0;let{elapsed:A=0}=h;A=A-Ko(x);const M={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:s.getVelocity(),...T,delay:-A,onUpdate:C=>{s.set(C),T.onUpdate&&T.onUpdate(C)},onComplete:()=>{S(),T.onComplete&&T.onComplete()},name:u,motionValue:s,element:b?void 0:y};KC(T)||Object.assign(M,JC(u,M)),M.duration&&(M.duration=Ko(M.duration)),M.repeatDelay&&(M.repeatDelay=Ko(M.repeatDelay)),M.from!==void 0&&(M.keyframes[0]=M.from);let R=!1;if((M.type===!1||M.duration===0&&!M.repeatDelay)&&(bS(M),M.delay===0&&(R=!0)),(qu.instantAnimations||qu.skipAnimations)&&(R=!0,bS(M),M.delay=0),M.allowFlatten=!T.type&&!T.ease,R&&!b&&s.get()!==void 0){const C=FC(M.keyframes,T);if(C!==void 0){sn.update(()=>{M.onUpdate(C),M.onComplete()});return}}return T.isSync?new rS(M):new VC(M)},tw=new Set(["width","height","top","left","right","bottom",...kd]),ew=30,WC=u=>!isNaN(parseFloat(u));class PC{constructor(s,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(s),this.owner=d.owner}setCurrent(s){this.current=s,this.updatedAt=$a.now(),this.canTrackVelocity===null&&s!==void 0&&(this.canTrackVelocity=WC(this.current))}setPrevFrameValue(s=this.current){this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt}onChange(s){return process.env.NODE_ENV!=="production"&&X1(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",s)}on(s,d){this.events[s]||(this.events[s]=new G1);const h=this.events[s].add(d);return s==="change"?()=>{h(),sn.read(()=>{this.events.change.getSize()||this.stop()})}:h}clearListeners(){for(const s in this.events)this.events[s].clear()}attach(s,d){this.passiveEffect=s,this.stopPassiveEffect=d}set(s){this.passiveEffect?this.passiveEffect(s,this.updateAndNotify):this.updateAndNotify(s)}setWithVelocity(s,d,h){this.set(d),this.prev=void 0,this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt-h}jump(s,d=!0){this.updateAndNotify(s),this.prev=s,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(s){this.dependents||(this.dependents=new Set),this.dependents.add(s)}removeDependent(s){this.dependents&&this.dependents.delete(s)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const s=$a.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||s-this.updatedAt>ew)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,ew);return uE(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(s){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=s(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,s){return new PC(u,s)}function nw(u){const s=[{},{}];return u?.values.forEach((d,h)=>{s[0][h]=d.get(),s[1][h]=d.getVelocity()}),s}function ES(u,s,d,h){if(typeof s=="function"){const[y,b]=nw(h);s=s(d!==void 0?d:u.custom,y,b)}if(typeof s=="string"&&(s=u.variants&&u.variants[s]),typeof s=="function"){const[y,b]=nw(h);s=s(d!==void 0?d:u.custom,y,b)}return s}function Gd(u,s,d){const h=u.getProps();return ES(h,s,d!==void 0?d:h.custom,u)}const wS=u=>Array.isArray(u);function IC(u,s,d){u.hasValue(s)?u.getValue(s).set(d):u.addValue(s,qd(d))}function tz(u){return wS(u)?u[u.length-1]||0:u}function ez(u,s){const d=Gd(u,s);let{transitionEnd:h={},transition:y={},...b}=d||{};b={...b,...h};for(const S in b){const T=tz(b[S]);IC(u,S,T)}}const Va=u=>!!(u&&u.getVelocity);function nz(u){return!!(Va(u)&&u.add)}function xS(u,s){const d=u.getValue("willChange");if(nz(d))return d.add(s);if(!d&&qu.WillChange){const h=new qu.WillChange("auto");u.addValue("willChange",h),h.add(s)}}function AS(u){return u.replace(/([A-Z])/g,s=>`-${s.toLowerCase()}`)}const aw="data-"+AS("framerAppearId");function lw(u){return u.props[aw]}function az({protectedKeys:u,needsAnimating:s},d){const h=u.hasOwnProperty(d)&&s[d]!==!0;return s[d]=!1,h}function iw(u,s,{delay:d=0,transitionOverride:h,type:y}={}){let{transition:b=u.getDefaultTransition(),transitionEnd:S,...T}=s;h&&(b=h);const x=[],A=y&&u.animationState&&u.animationState.getState()[y];for(const M in T){const R=u.getValue(M,u.latestValues[M]??null),C=T[M];if(C===void 0||A&&az(A,M))continue;const q={delay:d,...SS(b||{},M)},nt=R.get();if(nt!==void 0&&!R.isAnimating&&!Array.isArray(C)&&C===nt&&!q.velocity)continue;let ft=!1;if(window.MotionHandoffAnimation){const ot=lw(u);if(ot){const St=window.MotionHandoffAnimation(ot,M,sn);St!==null&&(q.startTime=St,ft=!0)}}xS(u,M),R.start(TS(M,R,C,u.shouldReduceMotion&&tw.has(M)?{type:!1}:q,u,ft));const at=R.animation;at&&x.push(at)}return S&&Promise.all(x).then(()=>{sn.update(()=>{S&&ez(u,S)})}),x}function RS(u,s,d={}){const h=Gd(u,s,d.type==="exit"?u.presenceContext?.custom:void 0);let{transition:y=u.getDefaultTransition()||{}}=h||{};d.transitionOverride&&(y=d.transitionOverride);const b=h?()=>Promise.all(iw(u,h,d)):()=>Promise.resolve(),S=u.variantChildren&&u.variantChildren.size?(x=0)=>{const{delayChildren:A=0,staggerChildren:M,staggerDirection:R}=y;return lz(u,s,x,A,M,R,d)}:()=>Promise.resolve(),{when:T}=y;if(T){const[x,A]=T==="beforeChildren"?[b,S]:[S,b];return x().then(()=>A())}else return Promise.all([b(),S(d.delay)])}function lz(u,s,d=0,h=0,y=0,b=1,S){const T=[];for(const x of u.variantChildren)x.notify("AnimationStart",s),T.push(RS(x,s,{...S,delay:d+(typeof h=="function"?0:h)+IE(u.variantChildren,x,h,y,b)}).then(()=>x.notify("AnimationComplete",s)));return Promise.all(T)}function iz(u,s,d={}){u.notify("AnimationStart",s);let h;if(Array.isArray(s)){const y=s.map(b=>RS(u,b,d));h=Promise.all(y)}else if(typeof s=="string")h=RS(u,s,d);else{const y=typeof s=="function"?Gd(u,s,d.custom):s;h=Promise.all(iw(u,y,d))}return h.then(()=>{u.notify("AnimationComplete",s)})}const oz={test:u=>u==="auto",parse:u=>u},ow=u=>s=>s.test(u),uw=[Bd,Mt,$o,er,U5,_5,oz],sw=u=>uw.find(ow(u));function uz(u){return typeof u=="number"?u===0:u!==null?u==="none"||u==="0"||oE(u):!0}const sz=new Set(["brightness","contrast","saturate","opacity"]);function rz(u){const[s,d]=u.slice(0,-1).split("(");if(s==="drop-shadow")return u;const[h]=d.match($1)||[];if(!h)return u;const y=d.replace(h,"");let b=sz.has(s)?1:0;return h!==d&&(b*=100),s+"("+b+y+")"}const cz=/\b([a-z-]*)\(.*?\)/gu,DS={...nr,getAnimatableNone:u=>{const s=u.match(cz);return s?s.map(rz).join(" "):u}},rw={...Bd,transform:Math.round},CS={borderWidth:Mt,borderTopWidth:Mt,borderRightWidth:Mt,borderBottomWidth:Mt,borderLeftWidth:Mt,borderRadius:Mt,radius:Mt,borderTopLeftRadius:Mt,borderTopRightRadius:Mt,borderBottomRightRadius:Mt,borderBottomLeftRadius:Mt,width:Mt,maxWidth:Mt,height:Mt,maxHeight:Mt,top:Mt,right:Mt,bottom:Mt,left:Mt,inset:Mt,insetBlock:Mt,insetBlockStart:Mt,insetBlockEnd:Mt,insetInline:Mt,insetInlineStart:Mt,insetInlineEnd:Mt,padding:Mt,paddingTop:Mt,paddingRight:Mt,paddingBottom:Mt,paddingLeft:Mt,paddingBlock:Mt,paddingBlockStart:Mt,paddingBlockEnd:Mt,paddingInline:Mt,paddingInlineStart:Mt,paddingInlineEnd:Mt,margin:Mt,marginTop:Mt,marginRight:Mt,marginBottom:Mt,marginLeft:Mt,marginBlock:Mt,marginBlockStart:Mt,marginBlockEnd:Mt,marginInline:Mt,marginInlineStart:Mt,marginInlineEnd:Mt,backgroundPositionX:Mt,backgroundPositionY:Mt,...{rotate:er,rotateX:er,rotateY:er,rotateZ:er,scale:Yy,scaleX:Yy,scaleY:Yy,scaleZ:Yy,skew:er,skewX:er,skewY:er,distance:Mt,translateX:Mt,translateY:Mt,translateZ:Mt,x:Mt,y:Mt,z:Mt,perspective:Mt,transformPerspective:Mt,opacity:Am,originX:RE,originY:RE,originZ:Mt},zIndex:rw,fillOpacity:Am,strokeOpacity:Am,numOctaves:rw},fz={...CS,color:Vn,backgroundColor:Vn,outlineColor:Vn,fill:Vn,stroke:Vn,borderColor:Vn,borderTopColor:Vn,borderRightColor:Vn,borderBottomColor:Vn,borderLeftColor:Vn,filter:DS,WebkitFilter:DS},cw=u=>fz[u];function fw(u,s){let d=cw(u);return d!==DS&&(d=nr),d.getAnimatableNone?d.getAnimatableNone(s):void 0}const dz=new Set(["auto","none","0"]);function hz(u,s,d){let h=0,y;for(;h<u.length&&!y;){const b=u[h];typeof b=="string"&&!dz.has(b)&&Cm(b).values.length&&(y=u[h]),h++}if(y&&d)for(const b of s)u[b]=fw(d,y)}class pz extends yS{constructor(s,d,h,y,b){super(s,d,h,y,b,!0)}readKeyframes(){const{unresolvedKeyframes:s,element:d,name:h}=this;if(!d||!d.current)return;super.readKeyframes();for(let M=0;M<s.length;M++){let R=s[M];if(typeof R=="string"&&(R=R.trim(),K1(R))){const C=PE(R,d.current);C!==void 0&&(s[M]=C),M===s.length-1&&(this.finalKeyframe=R)}}if(this.resolveNoneKeyframes(),!tw.has(h)||s.length!==2)return;const[y,b]=s,S=sw(y),T=sw(b),x=xE(y),A=xE(b);if(x!==A&&ar[h]){this.needsMeasurement=!0;return}if(S!==T)if(GE(S)&&GE(T))for(let M=0;M<s.length;M++){const R=s[M];typeof R=="string"&&(s[M]=parseFloat(R))}else ar[h]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:s,name:d}=this,h=[];for(let y=0;y<s.length;y++)(s[y]===null||uz(s[y]))&&h.push(y);h.length&&hz(s,h,d)}measureInitialState(){const{element:s,unresolvedKeyframes:d,name:h}=this;if(!s||!s.current)return;h==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ar[h](s.measureViewportBox(),window.getComputedStyle(s.current)),d[0]=this.measuredOrigin;const y=d[d.length-1];y!==void 0&&s.getValue(h,y).jump(y,!1)}measureEndState(){const{element:s,name:d,unresolvedKeyframes:h}=this;if(!s||!s.current)return;const y=s.getValue(d);y&&y.jump(this.measuredOrigin,!1);const b=h.length-1,S=h[b];h[b]=ar[d](s.measureViewportBox(),window.getComputedStyle(s.current)),S!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=S),this.removedTransforms?.length&&this.removedTransforms.forEach(([T,x])=>{s.getValue(T).set(x)}),this.resolveNoneKeyframes()}}function mz(u,s,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 dw=(u,s)=>s&&typeof u=="number"?s.transform(u):u;function hw(u){return iE(u)&&"offsetHeight"in u}const{schedule:zS}=TE(queueMicrotask,!1),mo={x:!1,y:!1};function pw(){return mo.x||mo.y}function gz(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 mw(u,s){const d=mz(u),h=new AbortController,y={passive:!0,...s,signal:h.signal};return[d,y,()=>h.abort()]}function gw(u){return!(u.pointerType==="touch"||pw())}function yz(u,s,d={}){const[h,y,b]=mw(u,d),S=T=>{if(!gw(T))return;const{target:x}=T,A=s(x,T);if(typeof A!="function"||!x)return;const M=R=>{gw(R)&&(A(R),x.removeEventListener("pointerleave",M))};x.addEventListener("pointerleave",M,y)};return h.forEach(T=>{T.addEventListener("pointerenter",S,y)}),b}const yw=(u,s)=>s?u===s?!0:yw(u,s.parentElement):!1,MS=u=>u.pointerType==="mouse"?typeof u.button!="number"||u.button<=0:u.isPrimary!==!1,vz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function vw(u){return vz.has(u.tagName)||u.isContentEditable===!0}const Qy=new WeakSet;function bw(u){return s=>{s.key==="Enter"&&u(s)}}function OS(u,s){u.dispatchEvent(new PointerEvent("pointer"+s,{isPrimary:!0,bubbles:!0}))}const bz=(u,s)=>{const d=u.currentTarget;if(!d)return;const h=bw(()=>{if(Qy.has(d))return;OS(d,"down");const y=bw(()=>{OS(d,"up")}),b=()=>OS(d,"cancel");d.addEventListener("keyup",y,s),d.addEventListener("blur",b,s)});d.addEventListener("keydown",h,s),d.addEventListener("blur",()=>d.removeEventListener("keydown",h),s)};function Sw(u){return MS(u)&&!pw()}function Sz(u,s,d={}){const[h,y,b]=mw(u,d),S=T=>{const x=T.currentTarget;if(!Sw(T))return;Qy.add(x);const A=s(x,T),M=(q,nt)=>{window.removeEventListener("pointerup",R),window.removeEventListener("pointercancel",C),Qy.has(x)&&Qy.delete(x),Sw(q)&&typeof A=="function"&&A(q,{success:nt})},R=q=>{M(q,x===window||x===document||d.useGlobalTarget||yw(x,q.target))},C=q=>{M(q,!1)};window.addEventListener("pointerup",R,y),window.addEventListener("pointercancel",C,y)};return h.forEach(T=>{(d.useGlobalTarget?window:T).addEventListener("pointerdown",S,y),hw(T)&&(T.addEventListener("focus",A=>bz(A,y)),!vw(T)&&!T.hasAttribute("tabindex")&&(T.tabIndex=0))}),b}function Tw(u){return iE(u)&&"ownerSVGElement"in u}function Tz(u){return Tw(u)&&u.tagName==="svg"}const Ez=[...uw,Vn,nr],wz=u=>Ez.find(ow(u)),Ew=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xd=()=>({x:Ew(),y:Ew()}),ww=()=>({min:0,max:0}),na=()=>({x:ww(),y:ww()}),_S={current:null},xw={current:!1},xz=typeof window<"u";function Az(){if(xw.current=!0,!!xz)if(window.matchMedia){const u=window.matchMedia("(prefers-reduced-motion)"),s=()=>_S.current=u.matches;u.addEventListener("change",s),s()}else _S.current=!1}const Rz=new WeakMap;function Zy(u){return u!==null&&typeof u=="object"&&typeof u.start=="function"}function Mm(u){return typeof u=="string"||Array.isArray(u)}const US=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jS=["initial",...US];function Jy(u){return Zy(u.animate)||jS.some(s=>Mm(u[s]))}function Aw(u){return!!(Jy(u)||u.variants)}function Dz(u,s,d){for(const h in s){const y=s[h],b=d[h];if(Va(y))u.addValue(h,y);else if(Va(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)s[h]===void 0&&u.removeValue(h);return s}const Rw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ky={};function Dw(u){Ky=u}function Cz(){return Ky}class zz{scrapeMotionValuesFromProps(s,d,h){return{}}constructor({parent:s,props:d,presenceContext:h,reducedMotionConfig:y,blockInitialAnimation:b,visualState:S},T={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=yS,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 C=$a.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,sn.render(this.render,!1,!0))};const{latestValues:x,renderState:A}=S;this.latestValues=x,this.baseTarget={...x},this.initialValues=d.initial?{...x}:{},this.renderState=A,this.parent=s,this.props=d,this.presenceContext=h,this.depth=s?s.depth+1:0,this.reducedMotionConfig=y,this.options=T,this.blockInitialAnimation=!!b,this.isControllingVariants=Jy(d),this.isVariantNode=Aw(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(s&&s.current);const{willChange:M,...R}=this.scrapeMotionValuesFromProps(d,{},this);for(const C in R){const q=R[C];x[C]!==void 0&&Va(q)&&q.set(x[C])}}mount(s){this.current=s,Rz.set(s,this),this.projection&&!this.projection.instance&&this.projection.mount(s),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:(xw.current||Az(),this.shouldReduceMotion=_S.current),process.env.NODE_ENV!=="production"&&X1(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(),tr(this.notifyUpdate),tr(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const d=this.features[s];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(s){this.children.add(s),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(s)}removeChild(s){this.children.delete(s),this.enteringChildren&&this.enteringChildren.delete(s)}bindToMotionValue(s,d){this.valueSubscriptions.has(s)&&this.valueSubscriptions.get(s)();const h=Yd.has(s);h&&this.onBindTransform&&this.onBindTransform();const y=d.on("change",S=>{this.latestValues[s]=S,this.props.onUpdate&&sn.preRender(this.notifyUpdate),h&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let b;typeof window<"u"&&window.MotionCheckAppearSync&&(b=window.MotionCheckAppearSync(this,s,d)),this.valueSubscriptions.set(s,()=>{y(),b&&b(),d.owner&&d.stop()})}sortNodePosition(s){return!this.current||!this.sortInstanceNodePosition||this.type!==s.type?0:this.sortInstanceNodePosition(this.current,s.current)}updateFeatures(){let s="animation";for(s in Ky){const d=Ky[s];if(!d)continue;const{isEnabled:h,Feature:y}=d;if(!this.features[s]&&y&&h(this.props)&&(this.features[s]=new y(this)),this.features[s]){const b=this.features[s];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(s){return this.latestValues[s]}setStaticValue(s,d){this.latestValues[s]=d}update(s,d){(s.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=s,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let h=0;h<Rw.length;h++){const y=Rw[h];this.propEventSubscriptions[y]&&(this.propEventSubscriptions[y](),delete this.propEventSubscriptions[y]);const b="on"+y,S=s[b];S&&(this.propEventSubscriptions[y]=this.on(y,S))}this.prevMotionValues=Dz(this,this.scrapeMotionValuesFromProps(s,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(s){return this.props.variants?this.props.variants[s]: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(s){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(s),()=>d.variantChildren.delete(s)}addValue(s,d){const h=this.values.get(s);d!==h&&(h&&this.removeValue(s),this.bindToMotionValue(s,d),this.values.set(s,d),this.latestValues[s]=d.get())}removeValue(s){this.values.delete(s);const d=this.valueSubscriptions.get(s);d&&(d(),this.valueSubscriptions.delete(s)),delete this.latestValues[s],this.removeValueFromRenderState(s,this.renderState)}hasValue(s){return this.values.has(s)}getValue(s,d){if(this.props.values&&this.props.values[s])return this.props.values[s];let h=this.values.get(s);return h===void 0&&d!==void 0&&(h=qd(d===null?void 0:d,{owner:this}),this.addValue(s,h)),h}readValue(s,d){let h=this.latestValues[s]!==void 0||!this.current?this.latestValues[s]:this.getBaseTargetFromProps(this.props,s)??this.readValueFromInstance(this.current,s,this.options);return h!=null&&(typeof h=="string"&&(lE(h)||oE(h))?h=parseFloat(h):!wz(h)&&nr.test(d)&&(h=fw(s,d)),this.setBaseTarget(s,Va(h)?h.get():h)),Va(h)?h.get():h}setBaseTarget(s,d){this.baseTarget[s]=d}getBaseTarget(s){const{initial:d}=this.props;let h;if(typeof d=="string"||typeof d=="object"){const b=ES(this.props,d,this.presenceContext?.custom);b&&(h=b[s])}if(d&&h!==void 0)return h;const y=this.getBaseTargetFromProps(this.props,s);return y!==void 0&&!Va(y)?y:this.initialValues[s]!==void 0&&h===void 0?void 0:this.baseTarget[s]}on(s,d){return this.events[s]||(this.events[s]=new G1),this.events[s].add(d)}notify(s,...d){this.events[s]&&this.events[s].notify(...d)}scheduleRenderMicrotask(){zS.render(this.render)}}class lr{constructor(s){this.isMounted=!1,this.node=s}update(){}}class Cw extends zz{constructor(){super(...arguments),this.KeyframeResolver=pz}sortInstanceNodePosition(s,d){return s.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(s,d){const h=s.style;return h?h[d]:void 0}removeValueFromRenderState(s,{vars:d,style:h}){delete d[s],delete h[s]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:s}=this.props;Va(s)&&(this.childSubscription=s.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function zw({top:u,left:s,right:d,bottom:h}){return{x:{min:s,max:d},y:{min:u,max:h}}}function Mz({x:u,y:s}){return{top:s.min,right:u.max,bottom:s.max,left:u.min}}function Oz(u,s){if(!s)return u;const d=s({x:u.left,y:u.top}),h=s({x:u.right,y:u.bottom});return{top:d.y,left:d.x,bottom:h.y,right:h.x}}function NS(u){return u===void 0||u===1}function HS({scale:u,scaleX:s,scaleY:d}){return!NS(u)||!NS(s)||!NS(d)}function Xc(u){return HS(u)||Mw(u)||u.z||u.rotate||u.rotateX||u.rotateY||u.skewX||u.skewY}function Mw(u){return Ow(u.x)||Ow(u.y)}function Ow(u){return u&&u!=="0%"}function $y(u,s,d){const h=u-d,y=s*h;return d+y}function _w(u,s,d,h,y){return y!==void 0&&(u=$y(u,y,h)),$y(u,d,h)+s}function BS(u,s=0,d=1,h,y){u.min=_w(u.min,s,d,h,y),u.max=_w(u.max,s,d,h,y)}function Uw(u,{x:s,y:d}){BS(u.x,s.translate,s.scale,s.originPoint),BS(u.y,d.translate,d.scale,d.originPoint)}const jw=.999999999999,Nw=1.0000000000001;function _z(u,s,d,h=!1){const y=d.length;if(!y)return;s.x=s.y=1;let b,S;for(let T=0;T<y;T++){b=d[T],S=b.projectionDelta;const{visualElement:x}=b.options;x&&x.props.style&&x.props.style.display==="contents"||(h&&b.options.layoutScroll&&b.scroll&&b!==b.root&&Zd(u,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),S&&(s.x*=S.x.scale,s.y*=S.y.scale,Uw(u,S)),h&&Xc(b.latestValues)&&Zd(u,b.latestValues))}s.x<Nw&&s.x>jw&&(s.x=1),s.y<Nw&&s.y>jw&&(s.y=1)}function Qd(u,s){u.min=u.min+s,u.max=u.max+s}function Hw(u,s,d,h,y=.5){const b=vn(u.min,u.max,y);BS(u,s,d,b,h)}function Zd(u,s){Hw(u.x,s.x,s.scaleX,s.scale,s.originX),Hw(u.y,s.y,s.scaleY,s.scale,s.originY)}function Bw(u,s){return zw(Oz(u.getBoundingClientRect(),s))}function Uz(u,s,d){const h=Bw(u,d),{scroll:y}=s;return y&&(Qd(h.x,y.offset.x),Qd(h.y,y.offset.y)),h}const jz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Nz=kd.length;function Hz(u,s,d){let h="",y=!0;for(let b=0;b<Nz;b++){const S=kd[b],T=u[S];if(T===void 0)continue;let x=!0;if(typeof T=="number"?x=T===(S.startsWith("scale")?1:0):x=parseFloat(T)===0,!x||d){const A=dw(T,CS[S]);if(!x){y=!1;const M=jz[S]||S;h+=`${M}(${A}) `}d&&(s[S]=A)}}return h=h.trim(),d?h=d(s,y?"":h):y&&(h="none"),h}function LS(u,s,d){const{style:h,vars:y,transformOrigin:b}=u;let S=!1,T=!1;for(const x in s){const A=s[x];if(Yd.has(x)){S=!0;continue}else if(wE(x)){y[x]=A;continue}else{const M=dw(A,CS[x]);x.startsWith("origin")?(T=!0,b[x]=M):h[x]=M}}if(s.transform||(S||d?h.transform=Hz(s,u.transform,d):h.transform&&(h.transform="none")),T){const{originX:x="50%",originY:A="50%",originZ:M=0}=b;h.transformOrigin=`${x} ${A} ${M}`}}function Lw(u,{style:s,vars:d},h,y){const b=u.style;let S;for(S in s)b[S]=s[S];y?.applyProjectionStyles(b,h);for(S in d)b.setProperty(S,d[S])}function Vw(u,s){return s.max===s.min?0:u/(s.max-s.min)*100}const Om={correct:(u,s)=>{if(!s.target)return u;if(typeof u=="string")if(Mt.test(u))u=parseFloat(u);else return u;const d=Vw(u,s.target.x),h=Vw(u,s.target.y);return`${d}% ${h}%`}},Bz={correct:(u,{treeScale:s,projectionDelta:d})=>{const h=u,y=nr.parse(u);if(y.length>5)return h;const b=nr.createTransformer(u),S=typeof y[0]!="number"?1:0,T=d.x.scale*s.x,x=d.y.scale*s.y;y[0+S]/=T,y[1+S]/=x;const A=vn(T,x,.5);return typeof y[2+S]=="number"&&(y[2+S]/=A),typeof y[3+S]=="number"&&(y[3+S]/=A),b(y)}},VS={borderRadius:{...Om,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Om,borderTopRightRadius:Om,borderBottomLeftRadius:Om,borderBottomRightRadius:Om,boxShadow:Bz};function kw(u,{layout:s,layoutId:d}){return Yd.has(u)||u.startsWith("origin")||(s||d!==void 0)&&(!!VS[u]||u==="opacity")}function kS(u,s,d){const h=u.style,y=s?.style,b={};if(!h)return b;for(const S in h)(Va(h[S])||y&&Va(y[S])||kw(S,u)||d?.getValue(S)?.liveStyle!==void 0)&&(b[S]=h[S]);return b}function Lz(u){return window.getComputedStyle(u)}class Vz extends Cw{constructor(){super(...arguments),this.type="html",this.renderInstance=Lw}readValueFromInstance(s,d){if(Yd.has(d))return this.projection?.isProjecting?dS(d):gC(s,d);{const h=Lz(s),y=(wE(d)?h.getPropertyValue(d):h[d])||0;return typeof y=="string"?y.trim():y}}measureInstanceViewportBox(s,{transformPagePoint:d}){return Bw(s,d)}build(s,d,h){LS(s,d,h.transformTemplate)}scrapeMotionValuesFromProps(s,d,h){return kS(s,d,h)}}const kz={offset:"stroke-dashoffset",array:"stroke-dasharray"},Yz={offset:"strokeDashoffset",array:"strokeDasharray"};function qz(u,s,d=1,h=0,y=!0){u.pathLength=1;const b=y?kz:Yz;u[b.offset]=Mt.transform(-h);const S=Mt.transform(s),T=Mt.transform(d);u[b.array]=`${S} ${T}`}const Gz=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yw(u,{attrX:s,attrY:d,attrScale:h,pathLength:y,pathSpacing:b=1,pathOffset:S=0,...T},x,A,M){if(LS(u,T,A),x){u.style.viewBox&&(u.attrs.viewBox=u.style.viewBox);return}u.attrs=u.style,u.style={};const{attrs:R,style:C}=u;R.transform&&(C.transform=R.transform,delete R.transform),(C.transform||R.transformOrigin)&&(C.transformOrigin=R.transformOrigin??"50% 50%",delete R.transformOrigin),C.transform&&(C.transformBox=M?.transformBox??"fill-box",delete R.transformBox);for(const q of Gz)R[q]!==void 0&&(C[q]=R[q],delete R[q]);s!==void 0&&(R.x=s),d!==void 0&&(R.y=d),h!==void 0&&(R.scale=h),y!==void 0&&qz(R,y,b,S,!1)}const qw=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"]),Gw=u=>typeof u=="string"&&u.toLowerCase()==="svg";function Xz(u,s,d,h){Lw(u,s,void 0,h);for(const y in s.attrs)u.setAttribute(qw.has(y)?y:AS(y),s.attrs[y])}function Xw(u,s,d){const h=kS(u,s,d);for(const y in u)if(Va(u[y])||Va(s[y])){const b=kd.indexOf(y)!==-1?"attr"+y.charAt(0).toUpperCase()+y.substring(1):y;h[b]=u[y]}return h}class Qz extends Cw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=na}getBaseTargetFromProps(s,d){return s[d]}readValueFromInstance(s,d){if(Yd.has(d)){const h=cw(d);return h&&h.default||0}return d=qw.has(d)?d:AS(d),s.getAttribute(d)}scrapeMotionValuesFromProps(s,d,h){return Xw(s,d,h)}build(s,d,h){Yw(s,d,this.isSVGTag,h.transformTemplate,h.style)}renderInstance(s,d,h,y){Xz(s,d,h,y)}mount(s){this.isSVGTag=Gw(s.tagName),super.mount(s)}}const Zz=jS.length;function Qw(u){if(!u)return;if(!u.isControllingVariants){const d=u.parent?Qw(u.parent)||{}:{};return u.props.initial!==void 0&&(d.initial=u.props.initial),d}const s={};for(let d=0;d<Zz;d++){const h=jS[d],y=u.props[h];(Mm(y)||y===!1)&&(s[h]=y)}return s}function Zw(u,s){if(!Array.isArray(s))return!1;const d=s.length;if(d!==u.length)return!1;for(let h=0;h<d;h++)if(s[h]!==u[h])return!1;return!0}const Jz=[...US].reverse(),Kz=US.length;function $z(u){return s=>Promise.all(s.map(({animation:d,options:h})=>iz(u,d,h)))}function Fz(u){let s=$z(u),d=Jw(),h=!0;const y=x=>(A,M)=>{const R=Gd(u,M,x==="exit"?u.presenceContext?.custom:void 0);if(R){const{transition:C,transitionEnd:q,...nt}=R;A={...A,...nt,...q}}return A};function b(x){s=x(u)}function S(x){const{props:A}=u,M=Qw(u.parent)||{},R=[],C=new Set;let q={},nt=1/0;for(let at=0;at<Kz;at++){const ot=Jz[at],St=d[ot],pt=A[ot]!==void 0?A[ot]:M[ot],Ut=Mm(pt),xt=ot===x?St.isActive:null;xt===!1&&(nt=at);let Gt=pt===M[ot]&&pt!==A[ot]&&Ut;if(Gt&&h&&u.manuallyAnimateOnMount&&(Gt=!1),St.protectedKeys={...q},!St.isActive&&xt===null||!pt&&!St.prevProp||Zy(pt)||typeof pt=="boolean")continue;const Tt=Wz(St.prevProp,pt);let Q=Tt||ot===x&&St.isActive&&!Gt&&Ut||at>nt&&Ut,vt=!1;const ht=Array.isArray(pt)?pt:[pt];let ae=ht.reduce(y(ot),{});xt===!1&&(ae={});const{prevResolvedValues:Dt={}}=St,Jt={...Dt,...ae},_e=I=>{Q=!0,C.has(I)&&(vt=!0,C.delete(I)),St.needsAnimating[I]=!0;const dt=u.getValue(I);dt&&(dt.liveStyle=!1)};for(const I in Jt){const dt=ae[I],Ct=Dt[I];if(q.hasOwnProperty(I))continue;let Ht=!1;wS(dt)&&wS(Ct)?Ht=!Zw(dt,Ct):Ht=dt!==Ct,Ht?dt!=null?_e(I):C.add(I):dt!==void 0&&C.has(I)?_e(I):St.protectedKeys[I]=!0}St.prevProp=pt,St.prevResolvedValues=ae,St.isActive&&(q={...q,...ae}),h&&u.blockInitialAnimation&&(Q=!1);const Le=Gt&&Tt;Q&&(!Le||vt)&&R.push(...ht.map(I=>{const dt={type:ot};if(typeof I=="string"&&h&&!Le&&u.manuallyAnimateOnMount&&u.parent){const{parent:Ct}=u,Ht=Gd(Ct,I);if(Ct.enteringChildren&&Ht){const{delayChildren:_}=Ht.transition||{};dt.delay=IE(Ct.enteringChildren,u,_)}}return{animation:I,options:dt}}))}if(C.size){const at={};if(typeof A.initial!="boolean"){const ot=Gd(u,Array.isArray(A.initial)?A.initial[0]:A.initial);ot&&ot.transition&&(at.transition=ot.transition)}C.forEach(ot=>{const St=u.getBaseTarget(ot),pt=u.getValue(ot);pt&&(pt.liveStyle=!0),at[ot]=St??null}),R.push({animation:at})}let ft=!!R.length;return h&&(A.initial===!1||A.initial===A.animate)&&!u.manuallyAnimateOnMount&&(ft=!1),h=!1,ft?s(R):Promise.resolve()}function T(x,A){if(d[x].isActive===A)return Promise.resolve();u.variantChildren?.forEach(R=>R.animationState?.setActive(x,A)),d[x].isActive=A;const M=S(x);for(const R in d)d[R].protectedKeys={};return M}return{animateChanges:S,setActive:T,setAnimateFunction:b,getState:()=>d,reset:()=>{d=Jw()}}}function Wz(u,s){return typeof s=="string"?s!==u:Array.isArray(s)?!Zw(s,u):!1}function Qc(u=!1){return{isActive:u,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Jw(){return{animate:Qc(!0),whileInView:Qc(),whileHover:Qc(),whileTap:Qc(),whileDrag:Qc(),whileFocus:Qc(),exit:Qc()}}const Kw=1e-4,Pz=1-Kw,Iz=1+Kw,$w=.01,t3=0-$w,e3=0+$w;function Fa(u){return u.max-u.min}function n3(u,s,d){return Math.abs(u-s)<=d}function Fw(u,s,d,h=.5){u.origin=h,u.originPoint=vn(s.min,s.max,u.origin),u.scale=Fa(d)/Fa(s),u.translate=vn(d.min,d.max,u.origin)-u.originPoint,(u.scale>=Pz&&u.scale<=Iz||isNaN(u.scale))&&(u.scale=1),(u.translate>=t3&&u.translate<=e3||isNaN(u.translate))&&(u.translate=0)}function _m(u,s,d,h){Fw(u.x,s.x,d.x,h?h.originX:void 0),Fw(u.y,s.y,d.y,h?h.originY:void 0)}function Ww(u,s,d){u.min=d.min+s.min,u.max=u.min+Fa(s)}function a3(u,s,d){Ww(u.x,s.x,d.x),Ww(u.y,s.y,d.y)}function Pw(u,s,d){u.min=s.min-d.min,u.max=u.min+Fa(s)}function Fy(u,s,d){Pw(u.x,s.x,d.x),Pw(u.y,s.y,d.y)}function Iw(u,s,d,h,y){return u-=s,u=$y(u,1/d,h),y!==void 0&&(u=$y(u,1/y,h)),u}function l3(u,s=0,d=1,h=.5,y,b=u,S=u){if($o.test(s)&&(s=parseFloat(s),s=vn(S.min,S.max,s/100)-S.min),typeof s!="number")return;let T=vn(b.min,b.max,h);u===b&&(T-=s),u.min=Iw(u.min,s,d,T,y),u.max=Iw(u.max,s,d,T,y)}function tx(u,s,[d,h,y],b,S){l3(u,s[d],s[h],s[y],s.scale,b,S)}const i3=["x","scaleX","originX"],o3=["y","scaleY","originY"];function ex(u,s,d,h){tx(u.x,s,i3,d?d.x:void 0,h?h.x:void 0),tx(u.y,s,o3,d?d.y:void 0,h?h.y:void 0)}function nx(u,s){u.min=s.min,u.max=s.max}function go(u,s){nx(u.x,s.x),nx(u.y,s.y)}function ax(u,s){u.translate=s.translate,u.scale=s.scale,u.originPoint=s.originPoint,u.origin=s.origin}function lx(u){return u.translate===0&&u.scale===1}function ix(u){return lx(u.x)&&lx(u.y)}function ox(u,s){return u.min===s.min&&u.max===s.max}function u3(u,s){return ox(u.x,s.x)&&ox(u.y,s.y)}function ux(u,s){return Math.round(u.min)===Math.round(s.min)&&Math.round(u.max)===Math.round(s.max)}function sx(u,s){return ux(u.x,s.x)&&ux(u.y,s.y)}function rx(u){return Fa(u.x)/Fa(u.y)}function cx(u,s){return u.translate===s.translate&&u.scale===s.scale&&u.originPoint===s.originPoint}function Si(u){return[u("x"),u("y")]}function s3(u,s,d){let h="";const y=u.x.translate/s.x,b=u.y.translate/s.y,S=d?.z||0;if((y||b||S)&&(h=`translate3d(${y}px, ${b}px, ${S}px) `),(s.x!==1||s.y!==1)&&(h+=`scale(${1/s.x}, ${1/s.y}) `),d){const{transformPerspective:A,rotate:M,rotateX:R,rotateY:C,skewX:q,skewY:nt}=d;A&&(h=`perspective(${A}px) ${h}`),M&&(h+=`rotate(${M}deg) `),R&&(h+=`rotateX(${R}deg) `),C&&(h+=`rotateY(${C}deg) `),q&&(h+=`skewX(${q}deg) `),nt&&(h+=`skewY(${nt}deg) `)}const T=u.x.scale*s.x,x=u.y.scale*s.y;return(T!==1||x!==1)&&(h+=`scale(${T}, ${x})`),h||"none"}const fx=["TopLeft","TopRight","BottomLeft","BottomRight"],r3=fx.length,dx=u=>typeof u=="string"?parseFloat(u):u,hx=u=>typeof u=="number"||Mt.test(u);function c3(u,s,d,h,y,b){y?(u.opacity=vn(0,d.opacity??1,f3(h)),u.opacityExit=vn(s.opacity??1,0,d3(h))):b&&(u.opacity=vn(s.opacity??1,d.opacity??1,h));for(let S=0;S<r3;S++){const T=`border${fx[S]}Radius`;let x=px(s,T),A=px(d,T);if(x===void 0&&A===void 0)continue;x||(x=0),A||(A=0),x===0||A===0||hx(x)===hx(A)?(u[T]=Math.max(vn(dx(x),dx(A),h),0),($o.test(A)||$o.test(x))&&(u[T]+="%")):u[T]=A}(s.rotate||d.rotate)&&(u.rotate=vn(s.rotate||0,d.rotate||0,h))}function px(u,s){return u[s]!==void 0?u[s]:u.borderRadius}const f3=mx(0,.5,mE),d3=mx(.5,.95,vi);function mx(u,s,d){return h=>h<u?0:h>s?1:d(wm(u,s,h))}function h3(u,s){const d=$a.now(),h=({timestamp:y})=>{const b=y-d;b>=s&&(tr(h),u(b-s))};return sn.setup(h,!0),()=>tr(h)}function Um(u,s,d,h={passive:!0}){return u.addEventListener(s,d,h),()=>u.removeEventListener(s,d)}function Wy(u){return Va(u)?u.get():u}function p3(u,s,d){const h=Va(u)?u:qd(u);return h.start(TS("",h,s,d)),h.animation}const m3=(u,s)=>u.depth-s.depth;class g3{constructor(){this.children=[],this.isDirty=!1}add(s){V1(this.children,s),this.isDirty=!0}remove(s){k1(this.children,s),this.isDirty=!0}forEach(s){this.isDirty&&this.children.sort(m3),this.isDirty=!1,this.children.forEach(s)}}class y3{constructor(){this.members=[]}add(s){V1(this.members,s),s.scheduleRender()}remove(s){if(k1(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(s){const d=this.members.findIndex(y=>s===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(s,d){const h=this.lead;if(s!==h&&(this.prevLead=h,this.lead=s,s.show(),h)){h.instance&&h.scheduleRender(),s.scheduleRender(),s.resumeFrom=h,d&&(s.resumeFrom.preserveOpacity=!0),h.snapshot&&(s.snapshot=h.snapshot,s.snapshot.latestValues=h.animationValues||h.latestValues),s.root&&s.root.isUpdating&&(s.isLayoutDirty=!0);const{crossfade:y}=s.options;y===!1&&h.hide()}}exitAnimationComplete(){this.members.forEach(s=>{const{options:d,resumingFrom:h}=s;d.onExitComplete&&d.onExitComplete(),h&&h.options.onExitComplete&&h.options.onExitComplete()})}scheduleRender(){this.members.forEach(s=>{s.instance&&s.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Py={hasAnimatedSinceResize:!0,hasEverUpdated:!1},YS=["","X","Y","Z"],v3=1e3;let b3=0;function qS(u,s,d,h){const{latestValues:y}=s;y[u]&&(d[u]=y[u],s.setStaticValue(u,0),h&&(h[u]=0))}function gx(u){if(u.hasCheckedOptimisedAppear=!0,u.root===u)return;const{visualElement:s}=u.options;if(!s)return;const d=lw(s);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:y,layoutId:b}=u.options;window.MotionCancelOptimisedAnimation(d,"transform",sn,!(y||b))}const{parent:h}=u;h&&!h.hasCheckedOptimisedAppear&&gx(h)}function yx({attachResizeListener:u,defaultParent:s,measureScroll:d,checkIsScrollRoot:h,resetTransform:y}){return class{constructor(S={},T=s?.()){this.id=b3++,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(E3),this.nodes.forEach(R3),this.nodes.forEach(D3),this.nodes.forEach(w3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=S,this.root=T?T.root||T:this,this.path=T?[...T.path,T]:[],this.parent=T,this.depth=T?T.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new g3)}addEventListener(S,T){return this.eventHandlers.has(S)||this.eventHandlers.set(S,new G1),this.eventHandlers.get(S).add(T)}notifyListeners(S,...T){const x=this.eventHandlers.get(S);x&&x.notify(...T)}hasListeners(S){return this.eventHandlers.has(S)}mount(S){if(this.instance)return;this.isSVG=Tw(S)&&!Tz(S),this.instance=S;const{layoutId:T,layout:x,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&&(x||T)&&(this.isLayoutDirty=!0),u){let M,R=0;const C=()=>this.root.updateBlockedByResize=!1;sn.read(()=>{R=window.innerWidth}),u(S,()=>{const q=window.innerWidth;q!==R&&(R=q,this.root.updateBlockedByResize=!0,M&&M(),M=h3(C,250),Py.hasAnimatedSinceResize&&(Py.hasAnimatedSinceResize=!1,this.nodes.forEach(Sx)))})}T&&this.root.registerSharedNode(T,this),this.options.animate!==!1&&A&&(T||x)&&this.addEventListener("didUpdate",({delta:M,hasLayoutChanged:R,hasRelativeLayoutChanged:C,layout:q})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const nt=this.options.transition||A.getDefaultTransition()||_3,{onLayoutAnimationStart:ft,onLayoutAnimationComplete:at}=A.getProps(),ot=!this.targetLayout||!sx(this.targetLayout,q),St=!R&&C;if(this.options.layoutRoot||this.resumeFrom||St||R&&(ot||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const pt={...SS(nt,"layout"),onPlay:ft,onComplete:at};(A.shouldReduceMotion||this.options.layoutRoot)&&(pt.delay=0,pt.type=!1),this.startAnimation(pt),this.setAnimationOrigin(M,St)}else R||Sx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=q})}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(),tr(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(C3),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&&gx(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:T,layout:x}=this.options;if(T===void 0&&!x)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(vx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(bx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(A3),this.nodes.forEach(S3),this.nodes.forEach(T3)):this.nodes.forEach(bx),this.clearAllSnapshots();const T=$a.now();ba.delta=Jo(0,1e3/60,T-ba.timestamp),ba.timestamp=T,ba.isProcessing=!0,J1.update.process(ba),J1.preRender.process(ba),J1.render.process(ba),ba.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(x3),this.sharedNodes.forEach(z3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,sn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){sn.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 x=0;x<this.path.length;x++)this.path[x].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:T}=this.options;T&&T.notify("LayoutMeasure",this.layout.layoutBox,S?S.layoutBox:void 0)}updateScroll(S="measure"){let T=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===S&&(T=!1),T&&this.instance){const x=h(this.instance);this.scroll={animationId:this.root.animationId,phase:S,isRoot:x,offset:d(this.instance),wasRoot:this.scroll?this.scroll.isRoot:x}}}resetTransform(){if(!y)return;const S=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,T=this.projectionDelta&&!ix(this.projectionDelta),x=this.getTransformTemplate(),A=x?x(this.latestValues,""):void 0,M=A!==this.prevTransformTemplateValue;S&&this.instance&&(T||Xc(this.latestValues)||M)&&(y(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(S=!0){const T=this.measurePageBox();let x=this.removeElementScroll(T);return S&&(x=this.removeTransform(x)),U3(x),{animationId:this.root.animationId,measuredBox:T,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:S}=this.options;if(!S)return na();const T=S.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(j3))){const{scroll:A}=this.root;A&&(Qd(T.x,A.offset.x),Qd(T.y,A.offset.y))}return T}removeElementScroll(S){const T=na();if(go(T,S),this.scroll?.wasRoot)return T;for(let x=0;x<this.path.length;x++){const A=this.path[x],{scroll:M,options:R}=A;A!==this.root&&M&&R.layoutScroll&&(M.wasRoot&&go(T,S),Qd(T.x,M.offset.x),Qd(T.y,M.offset.y))}return T}applyTransform(S,T=!1){const x=na();go(x,S);for(let A=0;A<this.path.length;A++){const M=this.path[A];!T&&M.options.layoutScroll&&M.scroll&&M!==M.root&&Zd(x,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),Xc(M.latestValues)&&Zd(x,M.latestValues)}return Xc(this.latestValues)&&Zd(x,this.latestValues),x}removeTransform(S){const T=na();go(T,S);for(let x=0;x<this.path.length;x++){const A=this.path[x];if(!A.instance||!Xc(A.latestValues))continue;HS(A.latestValues)&&A.updateSnapshot();const M=na(),R=A.measurePageBox();go(M,R),ex(T,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,M)}return Xc(this.latestValues)&&ex(T,this.latestValues),T}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 T=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=T.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=T.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=T.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==T;if(!(S||x&&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 C=this.getClosestProjectingParent();C&&this.linkedParentVersion!==C.layoutVersion&&!C.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(C&&C.layout?this.createRelativeTarget(C,this.layout.layoutBox,C.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(),a3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):go(this.target,this.layout.layoutBox),Uw(this.target,this.targetDelta)):go(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,C&&!!C.resumingFrom==!!this.resumingFrom&&!C.options.layoutScroll&&C.target&&this.animationProgress!==1?this.createRelativeTarget(C,this.target,C.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||HS(this.parent.latestValues)||Mw(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,T,x){this.relativeParent=S,this.linkedParentVersion=S.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),Fy(this.relativeTargetOrigin,T,x),go(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const S=this.getLead(),T=!!this.resumingFrom||this!==S;let x=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(x=!1),T&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===ba.timestamp&&(x=!1),x)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,C=this.treeScale.y;_z(this.layoutCorrected,this.treeScale,this.path,T),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox,S.targetWithTransforms=na());const{target:q}=S;if(!q){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ax(this.prevProjectionDelta.x,this.projectionDelta.x),ax(this.prevProjectionDelta.y,this.projectionDelta.y)),_m(this.projectionDelta,this.layoutCorrected,q,this.latestValues),(this.treeScale.x!==R||this.treeScale.y!==C||!cx(this.projectionDelta.x,this.prevProjectionDelta.x)||!cx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",q))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(S=!0){if(this.options.visualElement?.scheduleRender(),S){const T=this.getStack();T&&T.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xd(),this.projectionDelta=Xd(),this.projectionDeltaWithTransform=Xd()}setAnimationOrigin(S,T=!1){const x=this.snapshot,A=x?x.latestValues:{},M={...this.latestValues},R=Xd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!T;const C=na(),q=x?x.source:void 0,nt=this.layout?this.layout.source:void 0,ft=q!==nt,at=this.getStack(),ot=!at||at.members.length<=1,St=!!(ft&&!ot&&this.options.crossfade===!0&&!this.path.some(O3));this.animationProgress=0;let pt;this.mixTargetDelta=Ut=>{const xt=Ut/1e3;Tx(R.x,S.x,xt),Tx(R.y,S.y,xt),this.setTargetDelta(R),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Fy(C,this.layout.layoutBox,this.relativeParent.layout.layoutBox),M3(this.relativeTarget,this.relativeTargetOrigin,C,xt),pt&&u3(this.relativeTarget,pt)&&(this.isProjectionDirty=!1),pt||(pt=na()),go(pt,this.relativeTarget)),ft&&(this.animationValues=M,c3(M,A,this.latestValues,xt,St,ot)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=xt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(S){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=sn.update(()=>{Py.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=qd(0)),this.currentAnimation=p3(this.motionValue,[0,1e3],{...S,velocity:0,isSync:!0,onUpdate:T=>{this.mixTargetDelta(T),S.onUpdate&&S.onUpdate(T)},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(v3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const S=this.getLead();let{targetWithTransforms:T,target:x,layout:A,latestValues:M}=S;if(!(!T||!x||!A)){if(this!==S&&this.layout&&A&&Rx(this.options.animationType,this.layout.layoutBox,A.layoutBox)){x=this.target||na();const R=Fa(this.layout.layoutBox.x);x.x.min=S.target.x.min,x.x.max=x.x.min+R;const C=Fa(this.layout.layoutBox.y);x.y.min=S.target.y.min,x.y.max=x.y.min+C}go(T,x),Zd(T,M),_m(this.projectionDeltaWithTransform,this.layoutCorrected,T,M)}}registerSharedNode(S,T){this.sharedNodes.has(S)||this.sharedNodes.set(S,new y3),this.sharedNodes.get(S).add(T);const A=T.options.initialPromotionConfig;T.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(T):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:T,preserveFollowOpacity:x}={}){const A=this.getStack();A&&A.promote(this,x),S&&(this.projectionDelta=void 0,this.needsReset=!0),T&&this.setOptions({transition:T})}relegate(){const S=this.getStack();return S?S.relegate(this):!1}resetSkewAndRotation(){const{visualElement:S}=this.options;if(!S)return;let T=!1;const{latestValues:x}=S;if((x.z||x.rotate||x.rotateX||x.rotateY||x.rotateZ||x.skewX||x.skewY)&&(T=!0),!T)return;const A={};x.z&&qS("z",S,A,this.animationValues);for(let M=0;M<YS.length;M++)qS(`rotate${YS[M]}`,S,A,this.animationValues),qS(`skew${YS[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,T){if(!this.instance||this.isSVG)return;if(!this.isVisible){S.visibility="hidden";return}const x=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,S.visibility="",S.opacity="",S.pointerEvents=Wy(T?.pointerEvents)||"",S.transform=x?x(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=Wy(T?.pointerEvents)||""),this.hasProjected&&!Xc(this.latestValues)&&(S.transform=x?x({},""):"none",this.hasProjected=!1);return}S.visibility="";const M=A.animationValues||A.latestValues;this.applyTransformsToTarget();let R=s3(this.projectionDeltaWithTransform,this.treeScale,M);x&&(R=x(M,R)),S.transform=R;const{x:C,y:q}=this.projectionDelta;S.transformOrigin=`${C.origin*100}% ${q.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 nt in VS){if(M[nt]===void 0)continue;const{correct:ft,applyTo:at,isCSSVariable:ot}=VS[nt],St=R==="none"?M[nt]:ft(M[nt],A);if(at){const pt=at.length;for(let Ut=0;Ut<pt;Ut++)S[at[Ut]]=St}else ot?this.options.visualElement.renderState.vars[nt]=St:S[nt]=St}this.options.layoutId&&(S.pointerEvents=A===this?Wy(T?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(S=>S.currentAnimation?.stop()),this.root.nodes.forEach(vx),this.root.sharedNodes.clear()}}}function S3(u){u.updateLayout()}function T3(u){const s=u.resumeFrom?.snapshot||u.snapshot;if(u.isLead()&&u.layout&&s&&u.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:h}=u.layout,{animationType:y}=u.options,b=s.source!==u.layout.source;y==="size"?Si(M=>{const R=b?s.measuredBox[M]:s.layoutBox[M],C=Fa(R);R.min=d[M].min,R.max=R.min+C}):Rx(y,s.layoutBox,d)&&Si(M=>{const R=b?s.measuredBox[M]:s.layoutBox[M],C=Fa(d[M]);R.max=R.min+C,u.relativeTarget&&!u.currentAnimation&&(u.isProjectionDirty=!0,u.relativeTarget[M].max=u.relativeTarget[M].min+C)});const S=Xd();_m(S,d,s.layoutBox);const T=Xd();b?_m(T,u.applyTransform(h,!0),s.measuredBox):_m(T,d,s.layoutBox);const x=!ix(S);let A=!1;if(!u.resumeFrom){const M=u.getClosestProjectingParent();if(M&&!M.resumeFrom){const{snapshot:R,layout:C}=M;if(R&&C){const q=na();Fy(q,s.layoutBox,R.layoutBox);const nt=na();Fy(nt,d,C.layoutBox),sx(q,nt)||(A=!0),M.options.layoutRoot&&(u.relativeTarget=nt,u.relativeTargetOrigin=q,u.relativeParent=M)}}}u.notifyListeners("didUpdate",{layout:d,snapshot:s,delta:T,layoutDelta:S,hasLayoutChanged:x,hasRelativeLayoutChanged:A})}else if(u.isLead()){const{onExitComplete:d}=u.options;d&&d()}u.options.transition=void 0}function E3(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 w3(u){u.isProjectionDirty=u.isSharedProjectionDirty=u.isTransformDirty=!1}function x3(u){u.clearSnapshot()}function vx(u){u.clearMeasurements()}function bx(u){u.isLayoutDirty=!1}function A3(u){const{visualElement:s}=u.options;s&&s.getProps().onBeforeLayoutMeasure&&s.notify("BeforeLayoutMeasure"),u.resetTransform()}function Sx(u){u.finishAnimation(),u.targetDelta=u.relativeTarget=u.target=void 0,u.isProjectionDirty=!0}function R3(u){u.resolveTargetDelta()}function D3(u){u.calcProjection()}function C3(u){u.resetSkewAndRotation()}function z3(u){u.removeLeadSnapshot()}function Tx(u,s,d){u.translate=vn(s.translate,0,d),u.scale=vn(s.scale,1,d),u.origin=s.origin,u.originPoint=s.originPoint}function Ex(u,s,d,h){u.min=vn(s.min,d.min,h),u.max=vn(s.max,d.max,h)}function M3(u,s,d,h){Ex(u.x,s.x,d.x,h),Ex(u.y,s.y,d.y,h)}function O3(u){return u.animationValues&&u.animationValues.opacityExit!==void 0}const _3={duration:.45,ease:[.4,0,.1,1]},wx=u=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(u),xx=wx("applewebkit/")&&!wx("chrome/")?Math.round:vi;function Ax(u){u.min=xx(u.min),u.max=xx(u.max)}function U3(u){Ax(u.x),Ax(u.y)}function Rx(u,s,d){return u==="position"||u==="preserve-aspect"&&!n3(rx(s),rx(d),.2)}function j3(u){return u!==u.root&&u.scroll?.wasRoot}const N3=yx({attachResizeListener:(u,s)=>Um(u,"resize",s),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),GS={current:void 0},Dx=yx({measureScroll:u=>({x:u.scrollLeft,y:u.scrollTop}),defaultParent:()=>{if(!GS.current){const u=new N3({});u.mount(window),u.setOptions({layoutScroll:!0}),GS.current=u}return GS.current},resetTransform:(u,s)=>{u.style.transform=s!==void 0?s:"none"},checkIsScrollRoot:u=>window.getComputedStyle(u).position==="fixed"}),XS=st.createContext({transformPagePoint:u=>u,isStatic:!1,reducedMotion:"never"});function Cx(u,s){if(typeof u=="function")return u(s);u!=null&&(u.current=s)}function H3(...u){return s=>{let d=!1;const h=u.map(y=>{const b=Cx(y,s);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():Cx(u[y],null)}}}}function B3(...u){return st.useCallback(H3(...u),u)}class L3 extends st.Component{getSnapshotBeforeUpdate(s){const d=this.props.childRef.current;if(d&&s.isPresent&&!this.props.isPresent){const h=d.offsetParent,y=hw(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 V3({children:u,isPresent:s,anchorX:d,root:h}){const y=st.useId(),b=st.useRef(null),S=st.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:T}=st.useContext(XS),x=u.props?.ref??u?.ref,A=B3(b,x);return st.useInsertionEffect(()=>{const{width:M,height:R,top:C,left:q,right:nt}=S.current;if(s||!b.current||!M||!R)return;const ft=d==="left"?`left: ${q}`:`right: ${nt}`;b.current.dataset.motionPopId=y;const at=document.createElement("style");T&&(at.nonce=T);const ot=h??document.head;return ot.appendChild(at),at.sheet&&at.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=ed(t,1,!1,null,null,a,o,null,c,f,g,wb),t[Vo]=e.current,zu(t),new zy(e)},vm.hydrateRoot=function(t,e,a){if(!it(t))throw Error("Target container is not a DOM element.");Cy(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=Uh,g=jh,v=wg,x=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&&(x=a.formState)),e=ed(t,1,!0,e,a??null,o,c,x,f,g,v,wb),e.context=bb(null),a=e.current,o=ha(a),o=xl(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)},vm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),vm}var QT;function kD(){if(QT)return j0.exports;QT=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(s){console.error(s)}}}return process.env.NODE_ENV==="production"?(u(),j0.exports=LD()):j0.exports=VD(),j0.exports}var YD=kD(),at=jd();const Nd=zD(at);var B0=_1();const Zo={floatingIconPosition:"uilint:floatingIconPosition",inspectorDocked:"uilint:inspectorDocked",inspectorWidth:"uilint:inspectorWidth",inspectorFloatingPosition:"uilint:inspectorFloatingPosition",inspectorFloatingSize:"uilint:inspectorFloatingSize"};function ZT(){return typeof window<"u"&&typeof localStorage<"u"}function bm(u,s){if(!ZT())return s;try{const d=localStorage.getItem(u);return d===null?s:JSON.parse(d)}catch(d){return console.warn(`[UILint] Failed to load ${u} from localStorage:`,d),s}}function Sm(u,s){if(ZT())try{localStorage.setItem(u,JSON.stringify(s))}catch(d){console.warn(`[UILint] Failed to save ${u} to localStorage:`,d)}}const JT={open:!1,query:"",selectedIndex:0,filters:[]},qD=400;function GD(){return{open:!1,panelId:null,data:null,docked:bm(Zo.inspectorDocked,!0),width:bm(Zo.inspectorWidth,qD),floatingPosition:bm(Zo.inspectorFloatingPosition,null),floatingSize:bm(Zo.inspectorFloatingSize,null)}}const XD=u=>(s,d)=>({floatingIconPosition:bm(Zo.floatingIconPosition,null),setFloatingIconPosition:h=>{Sm(Zo.floatingIconPosition,h),s({floatingIconPosition:h})},altKeyHeld:!1,setAltKeyHeld:h=>{s({altKeyHeld:h})},selectedElementId:null,hoveredElementId:null,setSelectedElementId:h=>{s({selectedElementId:h})},setHoveredElementId:h=>{s({hoveredElementId:h})},commandPalette:{...JT},openCommandPalette:()=>{s({commandPalette:{...d().commandPalette,open:!0,query:"",selectedIndex:0}})},closeCommandPalette:()=>{s({commandPalette:{...JT,open:!1}})},setCommandPaletteQuery:h=>{s({commandPalette:{...d().commandPalette,query:h,selectedIndex:0}})},setCommandPaletteSelectedIndex:h=>{s({commandPalette:{...d().commandPalette,selectedIndex:h}})},addFilter:h=>{const y=d().commandPalette;s({commandPalette:{...y,filters:[...y.filters,h],selectedIndex:0}})},removeFilter:h=>{const y=d().commandPalette;s({commandPalette:{...y,filters:y.filters.filter((b,S)=>S!==h),selectedIndex:0}})},clearFilters:()=>{s({commandPalette:{...d().commandPalette,filters:[],selectedIndex:0}})},inspector:GD(),openInspector:(h,y)=>{s({inspector:{...d().inspector,open:!0,panelId:h,data:y??null}})},closeInspector:()=>{s({inspector:{...d().inspector,open:!1,panelId:null,data:null}})},toggleInspectorDocked:()=>{const h=d().inspector,y=!h.docked;Sm(Zo.inspectorDocked,y),s({inspector:{...h,docked:y}})},setInspectorWidth:h=>{Sm(Zo.inspectorWidth,h),s({inspector:{...d().inspector,width:h}})},setInspectorFloatingPosition:h=>{Sm(Zo.inspectorFloatingPosition,h),s({inspector:{...d().inspector,floatingPosition:h}})},setInspectorFloatingSize:h=>{Sm(Zo.inspectorFloatingSize,h),s({inspector:{...d().inspector,floatingSize:h}})},wsConnected:u.websocket.isConnected,wsUrl:u.websocket.url}),KT=u=>{let s;const d=new Set,h=(A,M)=>{const R=typeof A=="function"?A(s):A;if(!Object.is(R,s)){const C=s;s=M??(typeof R!="object"||R===null)?R:Object.assign({},s,R),d.forEach(V=>V(s,C))}},y=()=>s,T={setState:h,getState:y,getInitialState:()=>w,subscribe:A=>(d.add(A),()=>d.delete(A))},w=s=u(h,y,T);return T},QD=(u=>u?KT(u):KT),ZD=u=>u;function JD(u,s=ZD){const d=Nd.useSyncExternalStore(u.subscribe,Nd.useCallback(()=>s(u.getState()),[u,s]),Nd.useCallback(()=>s(u.getInitialState()),[u,s]));return Nd.useDebugValue(d),d}const $T=u=>{const s=QD(u),d=h=>JD(s,h);return Object.assign(d,s),d},KD=(u=>u?$T(u):$T);function FT(u){const s=new Map;for(const S of u)s.set(S.id,S);const d=[],h=new Set,y=new Set;function b(S){const T=S.id;if(h.has(T))return;if(y.has(T))throw new Error(`[PluginRegistry] Circular dependency detected involving plugin: ${T}`);y.add(T);const w=S.dependencies||[];for(const A of w){const M=s.get(A);M&&b(M)}y.delete(T),h.add(T),d.push(S)}for(const S of u)b(S);return d}class $D{plugins=new Map;services=null;register(s){if(console.log(`[PluginRegistry] Registering plugin: ${s.id}`),this.plugins.has(s.id)){console.warn(`[PluginRegistry] Plugin "${s.id}" is already registered. Skipping duplicate registration.`);return}const d=s.dependencies||[],h=[];for(const y of d)this.plugins.has(y)||h.push(y);h.length>0&&console.warn(`[PluginRegistry] Plugin "${s.id}" has unregistered dependencies: ${h.join(", ")}. These plugins should be registered first for proper initialization order.`),this.plugins.set(s.id,{plugin:s,initialized:!1}),console.log(`[PluginRegistry] Plugin "${s.id}" registered successfully`)}async initializeAll(s){console.log("[PluginRegistry] Initializing all plugins..."),this.services=s;const d=Array.from(this.plugins.values()).map(y=>y.plugin),h=FT(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(s),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(s=>s.plugin)}getPlugin(s){return this.plugins.get(s)?.plugin}getAllCommands(){const s=[];for(const{plugin:d}of this.plugins.values())d.commands&&s.push(...d.commands);return s}getAllAnalyzers(){const s=[];for(const{plugin:d}of this.plugins.values())d.analyzers&&s.push(...d.analyzers);return s}getAllInspectorPanels(){const s=[];for(const{plugin:d}of this.plugins.values())d.inspectorPanels&&s.push(...d.inspectorPanels);return s.sort((d,h)=>(h.priority??0)-(d.priority??0))}getAllRules(){if(!this.services)return console.warn("[PluginRegistry] Cannot get rules: services not initialized"),[];const s=[];for(const{plugin:d,initialized:h}of this.plugins.values())if(h&&d.getRules)try{const y=d.getRules(this.services);s.push(...y)}catch(y){console.error(`[PluginRegistry] Error getting rules from plugin "${d.id}":`,y)}return s}setRuleSeverity(s,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:s})&&h.setRuleSeverity){h.setRuleSeverity(s,d,this.services);return}if(s.startsWith(`${h.id}/`)&&h.setRuleSeverity){h.setRuleSeverity(s,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to handle rule: ${s}`)}getRuleConfig(s){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:s})&&d.getRuleConfig)return d.getRuleConfig(s,this.services);if(s.startsWith(`${d.id}/`)&&d.getRuleConfig)return d.getRuleConfig(s,this.services)}}setRuleConfig(s,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:s})&&h.setRuleConfig){h.setRuleConfig(s,d,this.services);return}if(s.startsWith(`${h.id}/`)&&h.setRuleConfig){h.setRuleConfig(s,d,this.services);return}}console.warn(`[PluginRegistry] No plugin found to configure rule: ${s}`)}getPluginForRule(s,d){for(const{plugin:b}of this.plugins.values())if(b.ruleContributions&&b.ruleContributions.find(T=>T.ruleId===s))return b;for(const{plugin:b}of this.plugins.values())if(s.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(s){for(const{plugin:d}of this.plugins.values())if(d.ruleContributions){const h=d.ruleContributions.find(y=>y.ruleId===s);if(h)return h}}disposeAll(){console.log("[PluginRegistry] Disposing all plugins...");const s=Array.from(this.plugins.values()).map(h=>h.plugin),d=FT(s).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(s){return this.plugins.has(s)}isInitialized(s){return this.plugins.get(s)?.initialized??!1}getServices(){return this.services}clear(){console.log("[PluginRegistry] Clearing all plugins"),this.disposeAll(),this.plugins.clear()}}function FD(){return new $D}const Vc=FD();let kc=null,Tm=null;const WD=()=>({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"),()=>{})}),PD=()=>({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 ID(u={}){const s=u.websocket??WD(),d=u.domObserver??PD();let h;const y=KD()((b,S)=>(h={websocket:{get isConnected(){return s.isConnected},get url(){return s.url},connect:s.connect.bind(s),disconnect:s.disconnect.bind(s),send:s.send.bind(s),on:s.on.bind(s),onConnectionChange:s.onConnectionChange.bind(s)},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()}},{...XD(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,...C}=M.plugins;return{plugins:C}})},getPluginSlice:A=>S().plugins[A],setPluginSlice:(A,M)=>{b(R=>{const C=R.plugins[A];return C?{plugins:{...R.plugins,[A]:{...C,...M}}}:(console.warn(`[ComposedStore] Cannot update unregistered plugin slice: ${String(A)}`),R)})}}));return s.onConnectionChange(b=>{y.setState({wsConnected:b,wsUrl:s.url})}),{store:y,services:h}}function WT(u){if(kc)return kc;const s=ID(u);return kc=s.store,Tm=s.services,kc}function we(u){return kc||WT(),u?kc(u):kc()}function PT(u,s,d){return{...s,getState:()=>d.getState().plugins[u]||{},setState:h=>{d.setState(y=>{const b=y.plugins[u]||{};return{plugins:{...y.plugins,[u]:{...b,...h}}}})}}}async function tz(u){const s=WT(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=PT(y.id,Tm,s),S=y.createSlice(b);y.id in{}?s.getState().registerPluginSlice(y.id,S):(console.log(`[ComposedStore] Registering unknown plugin slice: ${y.id}`),s.setState(T=>({plugins:{...T.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=PT(y.id,Tm,s);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 IT(){return Tm}const ez=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),nz=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,d,h)=>h?h.toUpperCase():d.toLowerCase()),tE=u=>{const s=nz(u);return s.charAt(0).toUpperCase()+s.slice(1)},eE=(...u)=>u.filter((s,d,h)=>!!s&&s.trim()!==""&&h.indexOf(s)===d).join(" ").trim(),az=u=>{for(const s in u)if(s.startsWith("aria-")||s==="role"||s==="title")return!0};var lz={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 iz=at.forwardRef(({color:u="currentColor",size:s=24,strokeWidth:d=2,absoluteStrokeWidth:h,className:y="",children:b,iconNode:S,...T},w)=>at.createElement("svg",{ref:w,...lz,width:s,height:s,stroke:u,strokeWidth:h?Number(d)*24/Number(s):d,className:eE("lucide",y),...!b&&!az(T)&&{"aria-hidden":"true"},...T},[...S.map(([A,M])=>at.createElement(A,M)),...Array.isArray(b)?b:[b]]));const ql=(u,s)=>{const d=at.forwardRef(({className:h,...y},b)=>at.createElement(iz,{ref:b,iconNode:s,className:eE(`lucide-${ez(tE(u))}`,`lucide-${u}`,h),...y}));return d.displayName=tE(u),d};const U1=ql("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 j1=ql("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=ql("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 H1=ql("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 oz=ql("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 uz=ql("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const sz=ql("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 rz=ql("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 cz=ql("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const fz=ql("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const dz=ql("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);const B1=ql("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 nE=ql("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function hz(){return typeof window>"u"?{x:0,y:16}:{x:window.innerWidth/2-24,y:16}}function pz(){const u=we(it=>it.openCommandPalette),s=we(it=>it.wsConnected),d=we(it=>it.floatingIconPosition),h=we(it=>it.setFloatingIconPosition),y=we(it=>{const st=it.plugins?.eslint?.issues;if(!st)return 0;let bt=0;return st.forEach(pt=>{bt+=pt.length}),bt}),[b,S]=at.useState(!1),[T,w]=at.useState({x:0,y:0}),A=at.useRef(null),M=d??hz(),R=at.useCallback(it=>{if(it.button!==0)return;const st=A.current?.getBoundingClientRect();st&&(w({x:it.clientX-st.left,y:it.clientY-st.top}),S(!0),it.preventDefault())},[]),C=at.useCallback(it=>{if(!b)return;const st=Math.max(0,Math.min(window.innerWidth-48,it.clientX-T.x)),bt=Math.max(0,Math.min(window.innerHeight-48,it.clientY-T.y));h({x:st,y:bt})},[b,T,h]),V=at.useCallback(()=>{S(!1)},[]);at.useEffect(()=>{if(b)return window.addEventListener("mousemove",C),window.addEventListener("mouseup",V),()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",V)}},[b,C,V]);const lt=at.useCallback(()=>{b||u()},[b,u]),dt=document.getElementById("uilint-portal")||document.body;return B0.createPortal(Z.jsxs("button",{ref:A,onClick:lt,onMouseDown:R,style:{position:"fixed",left:M.x,top:M.y,width:48,height:48,borderRadius:"50%",border:"none",background:s?"#3b82f6":"#6b7280",color:"white",cursor:b?"grabbing":"grab",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",zIndex:99999,transition:b?"none":"background 0.2s",pointerEvents:"auto"},title:`UILint: ${y} issues${s?"":" (disconnected)"}`,children:[Z.jsx(fz,{size:24}),y>0&&Z.jsx("span",{style:{position:"absolute",top:-4,right:-4,minWidth:20,height:20,borderRadius:10,background:"#ef4444",color:"white",fontSize:11,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 6px"},children:y>99?"99+":y}),!s&&Z.jsx("span",{style:{position:"absolute",bottom:-2,right:-2,width:12,height:12,borderRadius:"50%",background:"#f59e0b",border:"2px solid white"}})]}),dt)}function mz(u){const[s,d]=at.useState(new Map),h=at.useRef(null),y=at.useRef(null),b=at.useRef(null),S=at.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 C=R.getAttribute("data-loc");if(C&&w.has(C)){const V=R.getBoundingClientRect();V.width>0&&V.height>0&&A.set(C,{dataLoc:C,rect:V,element:R})}}),d(A)},[u]),T=at.useCallback(()=>{b.current||(b.current=requestAnimationFrame(()=>{S(),b.current=null}))},[S]);return at.useEffect(()=>(S(),window.addEventListener("scroll",T,{passive:!0}),window.addEventListener("resize",T,{passive:!0}),h.current=new MutationObserver(T),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"){T();break}}),y.current.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",T),h.current?.disconnect(),y.current?.disconnect(),b.current&&cancelAnimationFrame(b.current)}),[S,T]),s}function gz(u){const s=u.split(":"),d=parseInt(s.pop()||"0",10),h=parseInt(s.pop()||"0",10);return{filePath:s.join(":"),line:h,column:d}}function yz(u,s,d,h){return`${u}:${s}:${d}:${h}`}function vz(u){return u===2?"error":"warning"}function L1(u){switch(u){case"error":return"#ef4444";case"warning":return"#f59e0b";case"info":return"#3b82f6"}}function bz(u,s="eslint"){if(!u.message||!u.line)return null;const d=u.dataLoc||"",{filePath:h}=d?gz(d):{filePath:""},y=u.ruleId||"unknown",b=u.severity?vz(u.severity):"warning";return{id:yz(s,y,d,u.line),message:u.message,severity:b,dataLoc:d,ruleId:y,pluginId:s,filePath:h,line:u.line,column:u.column}}function Sz({rect:u,issues:s,isHovered:d,showDetails:h,onClick:y}){const b=at.useMemo(()=>s.some(w=>w.severity==="error")?"error":s.some(w=>w.severity==="warning")?"warning":"info",[s]),S=L1(b),T=s.length;return Z.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:[Z.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:T}),h&&d&&Z.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:[Z.jsxs("strong",{children:[T," issue",T!==1?"s":""]}),Z.jsxs("div",{style:{marginTop:4,opacity:.8},children:[s.slice(0,3).map((w,A)=>Z.jsxs("div",{style:{marginTop:A>0?4:0},children:["• ",w.message.slice(0,60),w.message.length>60?"...":""]},A)),s.length>3&&Z.jsxs("div",{style:{marginTop:4,opacity:.6},children:["+",s.length-3," more..."]})]})]})]})}function Tz(){const u=we(w=>w.altKeyHeld),s=we(w=>w.openInspector),d=we(w=>w.hoveredElementId),h=we(w=>w.setHoveredElementId),y=we(w=>w.plugins?.eslint?.issues),b=mz(y),S=w=>{s("element",{dataLoc:w})};if(!y||y.size===0)return null;const T=document.getElementById("uilint-portal")||document.body;return B0.createPortal(Z.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:Z.jsx(Sz,{dataLoc:w,rect:A,issues:M,isHovered:d===w,showDetails:u,onClick:()=>S(w)},w)})}),T)}const V1=at.createContext({});function k1(u){const s=at.useRef(null);return s.current===null&&(s.current=u()),s.current}const aE=typeof window<"u",lE=aE?at.useLayoutEffect:at.useEffect,L0=at.createContext(null);function Y1(u,s){u.indexOf(s)===-1&&u.push(s)}function q1(u,s){const d=u.indexOf(s);d>-1&&u.splice(d,1)}const Jo=(u,s,d)=>d>s?s:d<u?u:d;function G1(u,s){return s?`${u}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${s}`:u}let Hd=()=>{},Yu=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(Hd=(u,s,d)=>{!u&&typeof console<"u"&&console.warn(G1(s,d))},Yu=(u,s,d)=>{if(!u)throw new Error(G1(s,d))});const qu={},iE=u=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(u);function oE(u){return typeof u=="object"&&u!==null}const uE=u=>/^0[^.\s]+$/u.test(u);function X1(u){let s;return()=>(s===void 0&&(s=u()),s)}const bi=u=>u,Ez=(u,s)=>d=>s(u(d)),Em=(...u)=>u.reduce(Ez),wm=(u,s,d)=>{const h=s-u;return h===0?1:(d-u)/h};class Q1{constructor(){this.subscriptions=[]}add(s){return Y1(this.subscriptions,s),()=>q1(this.subscriptions,s)}notify(s,d,h){const y=this.subscriptions.length;if(y)if(y===1)this.subscriptions[0](s,d,h);else for(let b=0;b<y;b++){const S=this.subscriptions[b];S&&S(s,d,h)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ko=u=>u*1e3,Si=u=>u/1e3;function sE(u,s){return s?u*(1e3/s):0}const rE=new Set;function Z1(u,s,d){u||rE.has(s)||(console.warn(G1(s,d)),rE.add(s))}const cE=(u,s,d)=>(((1-3*d+3*s)*u+(3*d-6*s))*u+3*s)*u,wz=1e-7,xz=12;function Az(u,s,d,h,y){let b,S,T=0;do S=s+(d-s)/2,b=cE(S,h,y)-u,b>0?d=S:s=S;while(Math.abs(b)>wz&&++T<xz);return S}function xm(u,s,d,h){if(u===s&&d===h)return bi;const y=b=>Az(b,0,1,u,d);return b=>b===0||b===1?b:cE(y(b),s,h)}const fE=u=>s=>s<=.5?u(2*s)/2:(2-u(2*(1-s)))/2,dE=u=>s=>1-u(1-s),hE=xm(.33,1.53,.69,.99),J1=dE(hE),pE=fE(J1),mE=u=>(u*=2)<1?.5*J1(u):.5*(2-Math.pow(2,-10*(u-1))),K1=u=>1-Math.sin(Math.acos(u)),gE=dE(K1),yE=fE(K1),Rz=xm(.42,0,1,1),Dz=xm(0,0,.58,1),vE=xm(.42,0,.58,1),zz=u=>Array.isArray(u)&&typeof u[0]!="number",bE=u=>Array.isArray(u)&&typeof u[0]=="number",SE={linear:bi,easeIn:Rz,easeInOut:vE,easeOut:Dz,circIn:K1,circInOut:yE,circOut:gE,backIn:J1,backInOut:pE,backOut:hE,anticipate:mE},Cz=u=>typeof u=="string",TE=u=>{if(bE(u)){Yu(u.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[s,d,h,y]=u;return xm(s,d,h,y)}else if(Cz(u))return Yu(SE[u]!==void 0,`Invalid easing type '${u}'`,"invalid-easing-type"),SE[u];return u},V0=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Mz(u,s){let d=new Set,h=new Set,y=!1,b=!1;const S=new WeakSet;let T={delta:0,timestamp:0,isProcessing:!1};function w(M){S.has(M)&&(A.schedule(M),u()),M(T)}const A={schedule:(M,R=!1,C=!1)=>{const lt=C&&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(T=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 Oz=40;function EE(u,s){let d=!1,h=!0;const y={delta:0,timestamp:0,isProcessing:!1},b=()=>d=!0,S=V0.reduce((pt,Ot)=>(pt[Ot]=Mz(b),pt),{}),{setup:T,read:w,resolveKeyframes:A,preUpdate:M,update:R,preRender:C,render:V,postRender:lt}=S,dt=()=>{const pt=qu.useManualTiming?y.timestamp:performance.now();d=!1,qu.useManualTiming||(y.delta=h?1e3/60:Math.max(Math.min(pt-y.timestamp,Oz),1)),y.timestamp=pt,y.isProcessing=!0,T.process(y),w.process(y),A.process(y),M.process(y),R.process(y),C.process(y),V.process(y),lt.process(y),y.isProcessing=!1,d&&s&&(h=!1,u(dt))},it=()=>{d=!0,h=!0,y.isProcessing||u(dt)};return{schedule:V0.reduce((pt,Ot)=>{const xt=S[Ot];return pt[Ot]=(Yt,Tt=!1,Q=!1)=>(d||it(),xt.schedule(Yt,Tt,Q)),pt},{}),cancel:pt=>{for(let Ot=0;Ot<V0.length;Ot++)S[V0[Ot]].cancel(pt)},state:y,steps:S}}const{schedule:sn,cancel:tr,state:ba,steps:$1}=EE(typeof requestAnimationFrame<"u"?requestAnimationFrame:bi,!0);let k0;function _z(){k0=void 0}const $a={now:()=>(k0===void 0&&$a.set(ba.isProcessing||qu.useManualTiming?ba.timestamp:performance.now()),k0),set:u=>{k0=u,queueMicrotask(_z)}},wE=u=>s=>typeof s=="string"&&s.startsWith(u),xE=wE("--"),Uz=wE("var(--"),F1=u=>Uz(u)?jz.test(u.split("/*")[0].trim()):!1,jz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function AE(u){return typeof u!="string"?!1:u.split("/*")[0].includes("var(--")}const Bd={test:u=>typeof u=="number",parse:parseFloat,transform:u=>u},Am={...Bd,transform:u=>Jo(0,1,u)},Y0={...Bd,default:1},Rm=u=>Math.round(u*1e5)/1e5,W1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Nz(u){return u==null}const Hz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,P1=(u,s)=>d=>!!(typeof d=="string"&&Hz.test(d)&&d.startsWith(u)||s&&!Nz(d)&&Object.prototype.hasOwnProperty.call(d,s)),RE=(u,s,d)=>h=>{if(typeof h!="string")return h;const[y,b,S,T]=h.match(W1);return{[u]:parseFloat(y),[s]:parseFloat(b),[d]:parseFloat(S),alpha:T!==void 0?parseFloat(T):1}},Bz=u=>Jo(0,255,u),I1={...Bd,transform:u=>Math.round(Bz(u))},Yc={test:P1("rgb","red"),parse:RE("red","green","blue"),transform:({red:u,green:s,blue:d,alpha:h=1})=>"rgba("+I1.transform(u)+", "+I1.transform(s)+", "+I1.transform(d)+", "+Rm(Am.transform(h))+")"};function Lz(u){let s="",d="",h="",y="";return u.length>5?(s=u.substring(1,3),d=u.substring(3,5),h=u.substring(5,7),y=u.substring(7,9)):(s=u.substring(1,2),d=u.substring(2,3),h=u.substring(3,4),y=u.substring(4,5),s+=s,d+=d,h+=h,y+=y),{red:parseInt(s,16),green:parseInt(d,16),blue:parseInt(h,16),alpha:y?parseInt(y,16)/255:1}}const tS={test:P1("#"),parse:Lz,transform:Yc.transform},Dm=u=>({test:s=>typeof s=="string"&&s.endsWith(u)&&s.split(" ").length===1,parse:parseFloat,transform:s=>`${s}${u}`}),er=Dm("deg"),$o=Dm("%"),Mt=Dm("px"),Vz=Dm("vh"),kz=Dm("vw"),DE={...$o,parse:u=>$o.parse(u)/100,transform:u=>$o.transform(u*100)},Ld={test:P1("hsl","hue"),parse:RE("hue","saturation","lightness"),transform:({hue:u,saturation:s,lightness:d,alpha:h=1})=>"hsla("+Math.round(u)+", "+$o.transform(Rm(s))+", "+$o.transform(Rm(d))+", "+Rm(Am.transform(h))+")"},Vn={test:u=>Yc.test(u)||tS.test(u)||Ld.test(u),parse:u=>Yc.test(u)?Yc.parse(u):Ld.test(u)?Ld.parse(u):tS.parse(u),transform:u=>typeof u=="string"?u:u.hasOwnProperty("red")?Yc.transform(u):Ld.transform(u),getAnimatableNone:u=>{const s=Vn.parse(u);return s.alpha=0,Vn.transform(s)}},Yz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function qz(u){return isNaN(u)&&typeof u=="string"&&(u.match(W1)?.length||0)+(u.match(Yz)?.length||0)>0}const zE="number",CE="color",Gz="var",Xz="var(",ME="${}",Qz=/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 s=u.toString(),d=[],h={color:[],number:[],var:[]},y=[];let b=0;const T=s.replace(Qz,w=>(Vn.test(w)?(h.color.push(b),y.push(CE),d.push(Vn.parse(w))):w.startsWith(Xz)?(h.var.push(b),y.push(Gz),d.push(w)):(h.number.push(b),y.push(zE),d.push(parseFloat(w))),++b,ME)).split(ME);return{values:d,split:T,indexes:h,types:y}}function OE(u){return zm(u).values}function _E(u){const{split:s,types:d}=zm(u),h=s.length;return y=>{let b="";for(let S=0;S<h;S++)if(b+=s[S],y[S]!==void 0){const T=d[S];T===zE?b+=Rm(y[S]):T===CE?b+=Vn.transform(y[S]):b+=y[S]}return b}}const Zz=u=>typeof u=="number"?0:Vn.test(u)?Vn.getAnimatableNone(u):u;function Jz(u){const s=OE(u);return _E(u)(s.map(Zz))}const nr={test:qz,parse:OE,createTransformer:_E,getAnimatableNone:Jz};function eS(u,s,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?u+(s-u)*6*d:d<1/2?s:d<2/3?u+(s-u)*(2/3-d)*6:u}function Kz({hue:u,saturation:s,lightness:d,alpha:h}){u/=360,s/=100,d/=100;let y=0,b=0,S=0;if(!s)y=b=S=d;else{const T=d<.5?d*(1+s):d+s-d*s,w=2*d-T;y=eS(w,T,u+1/3),b=eS(w,T,u),S=eS(w,T,u-1/3)}return{red:Math.round(y*255),green:Math.round(b*255),blue:Math.round(S*255),alpha:h}}function q0(u,s){return d=>d>0?s:u}const vn=(u,s,d)=>u+(s-u)*d,nS=(u,s,d)=>{const h=u*u,y=d*(s*s-h)+h;return y<0?0:Math.sqrt(y)},$z=[tS,Yc,Ld],Fz=u=>$z.find(s=>s.test(u));function UE(u){const s=Fz(u);if(Hd(!!s,`'${u}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!s)return!1;let d=s.parse(u);return s===Ld&&(d=Kz(d)),d}const jE=(u,s)=>{const d=UE(u),h=UE(s);if(!d||!h)return q0(u,s);const y={...d};return b=>(y.red=nS(d.red,h.red,b),y.green=nS(d.green,h.green,b),y.blue=nS(d.blue,h.blue,b),y.alpha=vn(d.alpha,h.alpha,b),Yc.transform(y))},aS=new Set(["none","hidden"]);function Wz(u,s){return aS.has(u)?d=>d<=0?u:s:d=>d>=1?s:u}function Pz(u,s){return d=>vn(u,s,d)}function lS(u){return typeof u=="number"?Pz:typeof u=="string"?F1(u)?q0:Vn.test(u)?jE:eC:Array.isArray(u)?NE:typeof u=="object"?Vn.test(u)?jE:Iz:q0}function NE(u,s){const d=[...u],h=d.length,y=u.map((b,S)=>lS(b)(b,s[S]));return b=>{for(let S=0;S<h;S++)d[S]=y[S](b);return d}}function Iz(u,s){const d={...u,...s},h={};for(const y in d)u[y]!==void 0&&s[y]!==void 0&&(h[y]=lS(u[y])(u[y],s[y]));return y=>{for(const b in h)d[b]=h[b](y);return d}}function tC(u,s){const d=[],h={color:0,var:0,number:0};for(let y=0;y<s.values.length;y++){const b=s.types[y],S=u.indexes[b][h[b]],T=u.values[S]??0;d[y]=T,h[b]++}return d}const eC=(u,s)=>{const d=nr.createTransformer(s),h=zm(u),y=zm(s);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?aS.has(u)&&!y.values.length||aS.has(s)&&!h.values.length?Wz(u,s):Em(NE(tC(h,y),y.values),d):(Hd(!0,`Complex values '${u}' and '${s}' 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"),q0(u,s))};function HE(u,s,d){return typeof u=="number"&&typeof s=="number"&&typeof d=="number"?vn(u,s,d):lS(u)(u,s)}const nC=u=>{const s=({timestamp:d})=>u(d);return{start:(d=!0)=>sn.update(s,d),stop:()=>tr(s),now:()=>ba.isProcessing?ba.timestamp:$a.now()}},BE=(u,s,d=10)=>{let h="";const y=Math.max(Math.round(s/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)})`},G0=2e4;function iS(u){let s=0;const d=50;let h=u.next(s);for(;!h.done&&s<G0;)s+=d,h=u.next(s);return s>=G0?1/0:s}function aC(u,s=100,d){const h=d({...u,keyframes:[0,s]}),y=Math.min(iS(h),G0);return{type:"keyframes",ease:b=>h.next(y*b).value/s,duration:Si(y)}}const lC=5;function LE(u,s,d){const h=Math.max(s-lC,0);return sE(d-u(h),s-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},oS=.001;function iC({duration:u=bn.duration,bounce:s=bn.bounce,velocity:d=bn.velocity,mass:h=bn.mass}){let y,b;Hd(u<=Ko(bn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let S=1-s;S=Jo(bn.minDamping,bn.maxDamping,S),u=Jo(bn.minDuration,bn.maxDuration,Si(u)),S<1?(y=A=>{const M=A*S,R=M*u,C=M-d,V=uS(A,S),lt=Math.exp(-R);return oS-C/V*lt},b=A=>{const R=A*S*u,C=R*d+d,V=Math.pow(S,2)*Math.pow(A,2)*u,lt=Math.exp(-R),dt=uS(Math.pow(A,2),S);return(-y(A)+oS>0?-1:1)*((C-V)*lt)/dt}):(y=A=>{const M=Math.exp(-A*u),R=(A-d)*u+1;return-oS+M*R},b=A=>{const M=Math.exp(-A*u),R=(d-A)*(u*u);return M*R});const T=5/u,w=uC(y,b,T);if(u=Ko(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 oC=12;function uC(u,s,d){let h=d;for(let y=1;y<oC;y++)h=h-u(h)/s(h);return h}function uS(u,s){return u*Math.sqrt(1-s*s)}const sC=["duration","bounce"],rC=["stiffness","damping","mass"];function VE(u,s){return s.some(d=>u[d]!==void 0)}function cC(u){let s={velocity:bn.velocity,stiffness:bn.stiffness,damping:bn.damping,mass:bn.mass,isResolvedFromDuration:!1,...u};if(!VE(u,rC)&&VE(u,sC))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);s={...s,mass:bn.mass,stiffness:y,damping:b}}else{const d=iC(u);s={...s,...d,mass:bn.mass},s.isResolvedFromDuration=!0}return s}function X0(u=bn.visualDuration,s=bn.bounce){const d=typeof u!="object"?{visualDuration:u,keyframes:[0,1],bounce:s}:u;let{restSpeed:h,restDelta:y}=d;const b=d.keyframes[0],S=d.keyframes[d.keyframes.length-1],T={done:!1,value:b},{stiffness:w,damping:A,mass:M,duration:R,velocity:C,isResolvedFromDuration:V}=cC({...d,velocity:-Si(d.velocity||0)}),lt=C||0,dt=A/(2*Math.sqrt(w*M)),it=S-b,st=Si(Math.sqrt(w/M)),bt=Math.abs(it)<5;h||(h=bt?bn.restSpeed.granular:bn.restSpeed.default),y||(y=bt?bn.restDelta.granular:bn.restDelta.default);let pt;if(dt<1){const xt=uS(st,dt);pt=Yt=>{const Tt=Math.exp(-dt*st*Yt);return S-Tt*((lt+dt*st*it)/xt*Math.sin(xt*Yt)+it*Math.cos(xt*Yt))}}else if(dt===1)pt=xt=>S-Math.exp(-st*xt)*(it+(lt+st*it)*xt);else{const xt=st*Math.sqrt(dt*dt-1);pt=Yt=>{const Tt=Math.exp(-dt*st*Yt),Q=Math.min(xt*Yt,300);return S-Tt*((lt+dt*st*it)*Math.sinh(Q)+xt*it*Math.cosh(Q))/xt}}const Ot={calculatedDuration:V&&R||null,next:xt=>{const Yt=pt(xt);if(V)T.done=xt>=R;else{let Tt=xt===0?lt:0;dt<1&&(Tt=xt===0?Ko(lt):LE(pt,xt,Yt));const Q=Math.abs(Tt)<=h,vt=Math.abs(S-Yt)<=y;T.done=Q&&vt}return T.value=T.done?S:Yt,T},toString:()=>{const xt=Math.min(iS(Ot),G0),Yt=BE(Tt=>Ot.next(xt*Tt).value,xt,30);return xt+"ms "+Yt},toTransition:()=>{}};return Ot}X0.applyToOptions=u=>{const s=aC(u,100,X0);return u.ease=s.ease,u.duration=Ko(s.duration),u.type="keyframes",u};function sS({keyframes:u,velocity:s=0,power:d=.8,timeConstant:h=325,bounceDamping:y=10,bounceStiffness:b=500,modifyTarget:S,min:T,max:w,restDelta:A=.5,restSpeed:M}){const R=u[0],C={done:!1,value:R},V=Q=>T!==void 0&&Q<T||w!==void 0&&Q>w,lt=Q=>T===void 0?w:w===void 0||Math.abs(T-Q)<Math.abs(w-Q)?T:w;let dt=d*s;const it=R+dt,st=S===void 0?it:S(it);st!==it&&(dt=st-R);const bt=Q=>-dt*Math.exp(-Q/h),pt=Q=>st+bt(Q),Ot=Q=>{const vt=bt(Q),J=pt(Q);C.done=Math.abs(vt)<=A,C.value=C.done?st:J};let xt,Yt;const Tt=Q=>{V(C.value)&&(xt=Q,Yt=X0({keyframes:[C.value,lt(C.value)],velocity:LE(pt,Q,C.value),damping:y,stiffness:b,restDelta:A,restSpeed:M}))};return Tt(0),{calculatedDuration:null,next:Q=>{let vt=!1;return!Yt&&xt===void 0&&(vt=!0,Ot(Q),Tt(Q)),xt!==void 0&&Q>=xt?Yt.next(Q-xt):(!vt&&Ot(Q),C)}}}function fC(u,s,d){const h=[],y=d||qu.mix||HE,b=u.length-1;for(let S=0;S<b;S++){let T=y(u[S],u[S+1]);if(s){const w=Array.isArray(s)?s[S]||bi:s;T=Em(w,T)}h.push(T)}return h}function dC(u,s,{clamp:d=!0,ease:h,mixer:y}={}){const b=u.length;if(Yu(b===s.length,"Both input and output ranges must be the same length","range-length"),b===1)return()=>s[0];if(b===2&&s[0]===s[1])return()=>s[1];const S=u[0]===u[1];u[0]>u[b-1]&&(u=[...u].reverse(),s=[...s].reverse());const T=fC(s,h,y),w=T.length,A=M=>{if(S&&M<u[0])return s[0];let R=0;if(w>1)for(;R<u.length-2&&!(M<u[R+1]);R++);const C=wm(u[R],u[R+1],M);return T[R](C)};return d?M=>A(Jo(u[0],u[b-1],M)):A}function hC(u,s){const d=u[u.length-1];for(let h=1;h<=s;h++){const y=wm(0,s,h);u.push(vn(d,1,y))}}function pC(u){const s=[0];return hC(s,u.length-1),s}function mC(u,s){return u.map(d=>d*s)}function gC(u,s){return u.map(()=>s||vE).splice(0,u.length-1)}function Vd({duration:u=300,keyframes:s,times:d,ease:h="easeInOut"}){const y=zz(h)?h.map(TE):TE(h),b={done:!1,value:s[0]},S=mC(d&&d.length===s.length?d:pC(s),u),T=dC(S,s,{ease:Array.isArray(y)?y:gC(s,y)});return{calculatedDuration:u,next:w=>(b.value=T(w),b.done=w>=u,b)}}const yC=u=>u!==null;function rS(u,{repeat:s,repeatType:d="loop"},h,y=1){const b=u.filter(yC),T=y<0||s&&d!=="loop"&&s%2===1?0:b.length-1;return!T||h===void 0?b[T]:h}const vC={decay:sS,inertia:sS,tween:Vd,keyframes:Vd,spring:X0};function kE(u){typeof u.type=="string"&&(u.type=vC[u.type])}class cS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(s=>{this.resolve=s})}notifyFinished(){this.resolve()}then(s,d){return this.finished.then(s,d)}}const bC=u=>u/100;class fS extends cS{constructor(s){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=s,this.initAnimation(),this.play(),s.autoplay===!1&&this.pause()}initAnimation(){const{options:s}=this;kE(s);const{type:d=Vd,repeat:h=0,repeatDelay:y=0,repeatType:b,velocity:S=0}=s;let{keyframes:T}=s;const w=d||Vd;process.env.NODE_ENV!=="production"&&w!==Vd&&Yu(T.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${T}`,"spring-two-frames"),w!==Vd&&typeof T[0]!="number"&&(this.mixKeyframes=Em(bC,HE(T[0],T[1])),T=[0,100]);const A=w({...s,keyframes:T});b==="mirror"&&(this.mirroredGenerator=w({...s,keyframes:[...T].reverse(),velocity:-S})),A.calculatedDuration===null&&(A.calculatedDuration=iS(A));const{calculatedDuration:M}=A;this.calculatedDuration=M,this.resolvedDuration=M+y,this.totalDuration=this.resolvedDuration*(h+1)-y,this.generator=A}updateTime(s){const d=Math.round(s-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(s,d=!1){const{generator:h,totalDuration:y,mixKeyframes:b,mirroredGenerator:S,resolvedDuration:T,calculatedDuration:w}=this;if(this.startTime===null)return h.next(0);const{delay:A=0,keyframes:M,repeat:R,repeatType:C,repeatDelay:V,type:lt,onUpdate:dt,finalKeyframe:it}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,s):this.speed<0&&(this.startTime=Math.min(s-y/this.speed,this.startTime)),d?this.currentTime=s:this.updateTime(s);const st=this.currentTime-A*(this.playbackSpeed>=0?1:-1),bt=this.playbackSpeed>=0?st<0:st>y;this.currentTime=Math.max(st,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let pt=this.currentTime,Ot=h;if(R){const Q=Math.min(this.currentTime,y)/T;let vt=Math.floor(Q),J=Q%1;!J&&Q>=1&&(J=1),J===1&&vt--,vt=Math.min(vt,R+1),vt%2&&(C==="reverse"?(J=1-J,V&&(J-=V/T)):C==="mirror"&&(Ot=S)),pt=Jo(0,1,J)*T}const xt=bt?{done:!1,value:M[0]}:Ot.next(pt);b&&(xt.value=b(xt.value));let{done:Yt}=xt;!bt&&w!==null&&(Yt=this.playbackSpeed>=0?this.currentTime>=y:this.currentTime<=0);const Tt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Yt);return Tt&<!==sS&&(xt.value=rS(M,this.options,it,this.speed)),dt&&dt(xt.value),Tt&&this.finish(),xt}then(s,d){return this.finished.then(s,d)}get duration(){return Si(this.calculatedDuration)}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Si(s)}get time(){return Si(this.currentTime)}set time(s){s=Ko(s),this.currentTime=s,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=s:this.driver&&(this.startTime=this.driver.now()-s/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(s){this.updateTime($a.now());const d=this.playbackSpeed!==s;this.playbackSpeed=s,d&&(this.time=Si(this.currentTime))}play(){if(this.isStopped)return;const{driver:s=nC,startTime:d}=this.options;this.driver||(this.driver=s(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(s){return this.startTime=0,this.tick(s,!0)}attachTimeline(s){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),s.observe(this)}}function SC(u){for(let s=1;s<u.length;s++)u[s]??(u[s]=u[s-1])}const qc=u=>u*180/Math.PI,dS=u=>{const s=qc(Math.atan2(u[1],u[0]));return hS(s)},TC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:u=>(Math.abs(u[0])+Math.abs(u[3]))/2,rotate:dS,rotateZ:dS,skewX:u=>qc(Math.atan(u[1])),skewY:u=>qc(Math.atan(u[2])),skew:u=>(Math.abs(u[1])+Math.abs(u[2]))/2},hS=u=>(u=u%360,u<0&&(u+=360),u),YE=dS,qE=u=>Math.sqrt(u[0]*u[0]+u[1]*u[1]),GE=u=>Math.sqrt(u[4]*u[4]+u[5]*u[5]),EC={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:qE,scaleY:GE,scale:u=>(qE(u)+GE(u))/2,rotateX:u=>hS(qc(Math.atan2(u[6],u[5]))),rotateY:u=>hS(qc(Math.atan2(-u[2],u[0]))),rotateZ:YE,rotate:YE,skewX:u=>qc(Math.atan(u[4])),skewY:u=>qc(Math.atan(u[1])),skew:u=>(Math.abs(u[1])+Math.abs(u[4]))/2};function pS(u){return u.includes("scale")?1:0}function mS(u,s){if(!u||u==="none")return pS(s);const d=u.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let h,y;if(d)h=EC,y=d;else{const T=u.match(/^matrix\(([-\d.e\s,]+)\)$/u);h=TC,y=T}if(!y)return pS(s);const b=h[s],S=y[1].split(",").map(xC);return typeof b=="function"?b(S):S[b]}const wC=(u,s)=>{const{transform:d="none"}=getComputedStyle(u);return mS(d,s)};function xC(u){return parseFloat(u.trim())}const kd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yd=new Set(kd),XE=u=>u===Bd||u===Mt,AC=new Set(["x","y","z"]),RC=kd.filter(u=>!AC.has(u));function DC(u){const s=[];return RC.forEach(d=>{const h=u.getValue(d);h!==void 0&&(s.push([d,h.get()]),h.set(d.startsWith("scale")?1:0))}),s}const ar={width:({x:u},{paddingLeft:s="0",paddingRight:d="0"})=>u.max-u.min-parseFloat(s)-parseFloat(d),height:({y:u},{paddingTop:s="0",paddingBottom:d="0"})=>u.max-u.min-parseFloat(s)-parseFloat(d),top:(u,{top:s})=>parseFloat(s),left:(u,{left:s})=>parseFloat(s),bottom:({y:u},{top:s})=>parseFloat(s)+(u.max-u.min),right:({x:u},{left:s})=>parseFloat(s)+(u.max-u.min),x:(u,{transform:s})=>mS(s,"x"),y:(u,{transform:s})=>mS(s,"y")};ar.translateX=ar.x,ar.translateY=ar.y;const Gc=new Set;let gS=!1,yS=!1,vS=!1;function QE(){if(yS){const u=Array.from(Gc).filter(h=>h.needsMeasurement),s=new Set(u.map(h=>h.element)),d=new Map;s.forEach(h=>{const y=DC(h);y.length&&(d.set(h,y),h.render())}),u.forEach(h=>h.measureInitialState()),s.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)})}yS=!1,gS=!1,Gc.forEach(u=>u.complete(vS)),Gc.clear()}function ZE(){Gc.forEach(u=>{u.readKeyframes(),u.needsMeasurement&&(yS=!0)})}function zC(){vS=!0,ZE(),QE(),vS=!1}class bS{constructor(s,d,h,y,b,S=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...s],this.onComplete=d,this.name=h,this.motionValue=y,this.element=b,this.isAsync=S}scheduleResolve(){this.state="scheduled",this.isAsync?(Gc.add(this),gS||(gS=!0,sn.read(ZE),sn.resolveKeyframes(QE))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:d,element:h,motionValue:y}=this;if(s[0]===null){const b=y?.get(),S=s[s.length-1];if(b!==void 0)s[0]=b;else if(h&&d){const T=h.readValue(d,S);T!=null&&(s[0]=T)}s[0]===void 0&&(s[0]=S),y&&b===void 0&&y.set(s[0])}SC(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(s=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,s),Gc.delete(this)}cancel(){this.state==="scheduled"&&(Gc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const CC=u=>u.startsWith("--");function MC(u,s,d){CC(s)?u.style.setProperty(s,d):u.style[s]=d}const OC=X1(()=>window.ScrollTimeline!==void 0),_C={};function UC(u,s){const d=X1(u);return()=>_C[s]??d()}const JE=UC(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Cm=([u,s,d,h])=>`cubic-bezier(${u}, ${s}, ${d}, ${h})`,KE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Cm([0,.65,.55,1]),circOut:Cm([.55,0,1,.45]),backIn:Cm([.31,.01,.66,-.59]),backOut:Cm([.33,1.53,.69,.99])};function $E(u,s){if(u)return typeof u=="function"?JE()?BE(u,s):"ease-out":bE(u)?Cm(u):Array.isArray(u)?u.map(d=>$E(d,s)||KE.easeOut):KE[u]}function jC(u,s,d,{delay:h=0,duration:y=300,repeat:b=0,repeatType:S="loop",ease:T="easeOut",times:w}={},A=void 0){const M={[s]:d};w&&(M.offset=w);const R=$E(T,y);Array.isArray(R)&&(M.easing=R);const C={delay:h,duration:y,easing:Array.isArray(R)?"linear":R,fill:"both",iterations:b+1,direction:S==="reverse"?"alternate":"normal"};return A&&(C.pseudoElement=A),u.animate(M,C)}function FE(u){return typeof u=="function"&&"applyToOptions"in u}function NC({type:u,...s}){return FE(u)&&JE()?u.applyToOptions(s):(s.duration??(s.duration=300),s.ease??(s.ease="easeOut"),s)}class HC extends cS{constructor(s){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!s)return;const{element:d,name:h,keyframes:y,pseudoElement:b,allowFlatten:S=!1,finalKeyframe:T,onComplete:w}=s;this.isPseudoElement=!!b,this.allowFlatten=S,this.options=s,Yu(typeof s.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const A=NC(s);this.animation=jC(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,T,this.speed);this.updateMotionValue?this.updateMotionValue(M):MC(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:s}=this;s==="idle"||s==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const s=this.animation.effect?.getComputedTiming?.().duration||0;return Si(Number(s))}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Si(s)}get time(){return Si(Number(this.animation.currentTime)||0)}set time(s){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ko(s)}get speed(){return this.animation.playbackRate}set speed(s){s<0&&(this.finishedTime=null),this.animation.playbackRate=s}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(s){this.manualStartTime=this.animation.startTime=s}attachTimeline({timeline:s,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,s&&OC()?(this.animation.timeline=s,bi):d(this)}}const WE={anticipate:mE,backInOut:pE,circInOut:yE};function BC(u){return u in WE}function LC(u){typeof u.ease=="string"&&BC(u.ease)&&(u.ease=WE[u.ease])}const SS=10;class VC extends HC{constructor(s){LC(s),kE(s),super(s),s.startTime!==void 0&&(this.startTime=s.startTime),this.options=s}updateMotionValue(s){const{motionValue:d,onUpdate:h,onComplete:y,element:b,...S}=this.options;if(!d)return;if(s!==void 0){d.set(s);return}const T=new fS({...S,autoplay:!1}),w=Math.max(SS,$a.now()-this.startTime),A=Jo(0,SS,w-SS);d.setWithVelocity(T.sample(Math.max(0,w-A)).value,T.sample(w).value,A),T.stop()}}const PE=(u,s)=>s==="zIndex"?!1:!!(typeof u=="number"||Array.isArray(u)||typeof u=="string"&&(nr.test(u)||u==="0")&&!u.startsWith("url("));function kC(u){const s=u[0];if(u.length===1)return!0;for(let d=0;d<u.length;d++)if(u[d]!==s)return!0}function YC(u,s,d,h){const y=u[0];if(y===null)return!1;if(s==="display"||s==="visibility")return!0;const b=u[u.length-1],S=PE(y,s),T=PE(b,s);return Hd(S===T,`You are trying to animate ${s} from "${y}" to "${b}". "${S?b:y}" is not an animatable value.`,"value-not-animatable"),!S||!T?!1:kC(u)||(d==="spring"||FE(d))&&h}function TS(u){u.duration=0,u.type="keyframes"}const qC=new Set(["opacity","clipPath","filter","transform"]),GC=X1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function XC(u){const{motionValue:s,name:d,repeatDelay:h,repeatType:y,damping:b,type:S}=u;if(!(s?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:w,transformTemplate:A}=s.owner.getProps();return GC()&&d&&qC.has(d)&&(d!=="transform"||!A)&&!w&&!h&&y!=="mirror"&&b!==0&&S!=="inertia"}const QC=40;class ZC extends cS{constructor({autoplay:s=!0,delay:d=0,type:h="keyframes",repeat:y=0,repeatDelay:b=0,repeatType:S="loop",keyframes:T,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 C={autoplay:s,delay:d,type:h,repeat:y,repeatDelay:b,repeatType:S,name:w,motionValue:A,element:M,...R},V=M?.KeyframeResolver||bS;this.keyframeResolver=new V(T,(lt,dt,it)=>this.onKeyframesResolved(lt,dt,C,!it),w,A,M),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(s,d,h,y){this.keyframeResolver=void 0;const{name:b,type:S,velocity:T,delay:w,isHandoff:A,onUpdate:M}=h;this.resolvedAt=$a.now(),YC(s,b,S,T)||((qu.instantAnimations||!w)&&M?.(rS(s,h,d)),s[0]=s[s.length-1],TS(h),h.repeat=0);const C={startTime:y?this.resolvedAt?this.resolvedAt-this.createdAt>QC?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...h,keyframes:s},V=!A&&XC(C)?new VC({...C,element:C.motionValue.owner.current}):new fS(C);V.finished.then(()=>this.notifyFinished()).catch(bi),this.pendingTimeline&&(this.stopTimeline=V.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=V}get finished(){return this._animation?this.animation.finished:this._finished}then(s,d){return this.finished.finally(s).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),zC()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(s){this.animation.time=s}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(s){this.animation.speed=s}get startTime(){return this.animation.startTime}attachTimeline(s){return this._animation?this.stopTimeline=this.animation.attachTimeline(s):this.pendingTimeline=s,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const JC=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function KC(u){const s=JC.exec(u);if(!s)return[,];const[,d,h,y]=s;return[`--${d??h}`,y]}const $C=4;function IE(u,s,d=1){Yu(d<=$C,`Max CSS variable fallback depth detected in property "${u}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[h,y]=KC(u);if(!h)return;const b=window.getComputedStyle(s).getPropertyValue(h);if(b){const S=b.trim();return iE(S)?parseFloat(S):S}return F1(y)?IE(y,s,d+1):y}function ES(u,s){return u?.[s]??u?.default??u}const FC={type:"spring",stiffness:500,damping:25,restSpeed:10},WC=u=>({type:"spring",stiffness:550,damping:u===0?2*Math.sqrt(550):30,restSpeed:10}),PC={type:"keyframes",duration:.8},IC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t5=(u,{keyframes:s})=>s.length>2?PC:Yd.has(u)?u.startsWith("scale")?WC(s[1]):FC:IC;function e5({when:u,delay:s,delayChildren:d,staggerChildren:h,staggerDirection:y,repeat:b,repeatType:S,repeatDelay:T,from:w,elapsed:A,...M}){return!!Object.keys(M).length}const n5=u=>u!==null;function a5(u,{repeat:s,repeatType:d="loop"},h){const y=u.filter(n5),b=s&&d!=="loop"&&s%2===1?0:y.length-1;return y[b]}function tw(u,s,d,h=0,y=1){const b=Array.from(u).sort((A,M)=>A.sortNodePosition(M)).indexOf(s),S=u.size,T=(S-1)*h;return typeof d=="function"?d(b,S):y===1?b*h:T-b*h}const wS=(u,s,d,h={},y,b)=>S=>{const T=ES(h,u)||{},w=T.delay||h.delay||0;let{elapsed:A=0}=h;A=A-Ko(w);const M={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:s.getVelocity(),...T,delay:-A,onUpdate:C=>{s.set(C),T.onUpdate&&T.onUpdate(C)},onComplete:()=>{S(),T.onComplete&&T.onComplete()},name:u,motionValue:s,element:b?void 0:y};e5(T)||Object.assign(M,t5(u,M)),M.duration&&(M.duration=Ko(M.duration)),M.repeatDelay&&(M.repeatDelay=Ko(M.repeatDelay)),M.from!==void 0&&(M.keyframes[0]=M.from);let R=!1;if((M.type===!1||M.duration===0&&!M.repeatDelay)&&(TS(M),M.delay===0&&(R=!0)),(qu.instantAnimations||qu.skipAnimations)&&(R=!0,TS(M),M.delay=0),M.allowFlatten=!T.type&&!T.ease,R&&!b&&s.get()!==void 0){const C=a5(M.keyframes,T);if(C!==void 0){sn.update(()=>{M.onUpdate(C),M.onComplete()});return}}return T.isSync?new fS(M):new ZC(M)},ew=new Set(["width","height","top","left","right","bottom",...kd]),nw=30,l5=u=>!isNaN(parseFloat(u));class i5{constructor(s,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(s),this.owner=d.owner}setCurrent(s){this.current=s,this.updatedAt=$a.now(),this.canTrackVelocity===null&&s!==void 0&&(this.canTrackVelocity=l5(this.current))}setPrevFrameValue(s=this.current){this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt}onChange(s){return process.env.NODE_ENV!=="production"&&Z1(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",s)}on(s,d){this.events[s]||(this.events[s]=new Q1);const h=this.events[s].add(d);return s==="change"?()=>{h(),sn.read(()=>{this.events.change.getSize()||this.stop()})}:h}clearListeners(){for(const s in this.events)this.events[s].clear()}attach(s,d){this.passiveEffect=s,this.stopPassiveEffect=d}set(s){this.passiveEffect?this.passiveEffect(s,this.updateAndNotify):this.updateAndNotify(s)}setWithVelocity(s,d,h){this.set(d),this.prev=void 0,this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt-h}jump(s,d=!0){this.updateAndNotify(s),this.prev=s,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(s){this.dependents||(this.dependents=new Set),this.dependents.add(s)}removeDependent(s){this.dependents&&this.dependents.delete(s)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const s=$a.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||s-this.updatedAt>nw)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,nw);return sE(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(s){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=s(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,s){return new i5(u,s)}function aw(u){const s=[{},{}];return u?.values.forEach((d,h)=>{s[0][h]=d.get(),s[1][h]=d.getVelocity()}),s}function xS(u,s,d,h){if(typeof s=="function"){const[y,b]=aw(h);s=s(d!==void 0?d:u.custom,y,b)}if(typeof s=="string"&&(s=u.variants&&u.variants[s]),typeof s=="function"){const[y,b]=aw(h);s=s(d!==void 0?d:u.custom,y,b)}return s}function Gd(u,s,d){const h=u.getProps();return xS(h,s,d!==void 0?d:h.custom,u)}const AS=u=>Array.isArray(u);function o5(u,s,d){u.hasValue(s)?u.getValue(s).set(d):u.addValue(s,qd(d))}function u5(u){return AS(u)?u[u.length-1]||0:u}function s5(u,s){const d=Gd(u,s);let{transitionEnd:h={},transition:y={},...b}=d||{};b={...b,...h};for(const S in b){const T=u5(b[S]);o5(u,S,T)}}const Va=u=>!!(u&&u.getVelocity);function r5(u){return!!(Va(u)&&u.add)}function RS(u,s){const d=u.getValue("willChange");if(r5(d))return d.add(s);if(!d&&qu.WillChange){const h=new qu.WillChange("auto");u.addValue("willChange",h),h.add(s)}}function DS(u){return u.replace(/([A-Z])/g,s=>`-${s.toLowerCase()}`)}const lw="data-"+DS("framerAppearId");function iw(u){return u.props[lw]}function c5({protectedKeys:u,needsAnimating:s},d){const h=u.hasOwnProperty(d)&&s[d]!==!0;return s[d]=!1,h}function ow(u,s,{delay:d=0,transitionOverride:h,type:y}={}){let{transition:b=u.getDefaultTransition(),transitionEnd:S,...T}=s;h&&(b=h);const w=[],A=y&&u.animationState&&u.animationState.getState()[y];for(const M in T){const R=u.getValue(M,u.latestValues[M]??null),C=T[M];if(C===void 0||A&&c5(A,M))continue;const V={delay:d,...ES(b||{},M)},lt=R.get();if(lt!==void 0&&!R.isAnimating&&!Array.isArray(C)&&C===lt&&!V.velocity)continue;let dt=!1;if(window.MotionHandoffAnimation){const st=iw(u);if(st){const bt=window.MotionHandoffAnimation(st,M,sn);bt!==null&&(V.startTime=bt,dt=!0)}}RS(u,M),R.start(wS(M,R,C,u.shouldReduceMotion&&ew.has(M)?{type:!1}:V,u,dt));const it=R.animation;it&&w.push(it)}return S&&Promise.all(w).then(()=>{sn.update(()=>{S&&s5(u,S)})}),w}function zS(u,s,d={}){const h=Gd(u,s,d.type==="exit"?u.presenceContext?.custom:void 0);let{transition:y=u.getDefaultTransition()||{}}=h||{};d.transitionOverride&&(y=d.transitionOverride);const b=h?()=>Promise.all(ow(u,h,d)):()=>Promise.resolve(),S=u.variantChildren&&u.variantChildren.size?(w=0)=>{const{delayChildren:A=0,staggerChildren:M,staggerDirection:R}=y;return f5(u,s,w,A,M,R,d)}:()=>Promise.resolve(),{when:T}=y;if(T){const[w,A]=T==="beforeChildren"?[b,S]:[S,b];return w().then(()=>A())}else return Promise.all([b(),S(d.delay)])}function f5(u,s,d=0,h=0,y=0,b=1,S){const T=[];for(const w of u.variantChildren)w.notify("AnimationStart",s),T.push(zS(w,s,{...S,delay:d+(typeof h=="function"?0:h)+tw(u.variantChildren,w,h,y,b)}).then(()=>w.notify("AnimationComplete",s)));return Promise.all(T)}function d5(u,s,d={}){u.notify("AnimationStart",s);let h;if(Array.isArray(s)){const y=s.map(b=>zS(u,b,d));h=Promise.all(y)}else if(typeof s=="string")h=zS(u,s,d);else{const y=typeof s=="function"?Gd(u,s,d.custom):s;h=Promise.all(ow(u,y,d))}return h.then(()=>{u.notify("AnimationComplete",s)})}const h5={test:u=>u==="auto",parse:u=>u},uw=u=>s=>s.test(u),sw=[Bd,Mt,$o,er,kz,Vz,h5],rw=u=>sw.find(uw(u));function p5(u){return typeof u=="number"?u===0:u!==null?u==="none"||u==="0"||uE(u):!0}const m5=new Set(["brightness","contrast","saturate","opacity"]);function g5(u){const[s,d]=u.slice(0,-1).split("(");if(s==="drop-shadow")return u;const[h]=d.match(W1)||[];if(!h)return u;const y=d.replace(h,"");let b=m5.has(s)?1:0;return h!==d&&(b*=100),s+"("+b+y+")"}const y5=/\b([a-z-]*)\(.*?\)/gu,CS={...nr,getAnimatableNone:u=>{const s=u.match(y5);return s?s.map(g5).join(" "):u}},cw={...Bd,transform:Math.round},MS={borderWidth:Mt,borderTopWidth:Mt,borderRightWidth:Mt,borderBottomWidth:Mt,borderLeftWidth:Mt,borderRadius:Mt,radius:Mt,borderTopLeftRadius:Mt,borderTopRightRadius:Mt,borderBottomRightRadius:Mt,borderBottomLeftRadius:Mt,width:Mt,maxWidth:Mt,height:Mt,maxHeight:Mt,top:Mt,right:Mt,bottom:Mt,left:Mt,inset:Mt,insetBlock:Mt,insetBlockStart:Mt,insetBlockEnd:Mt,insetInline:Mt,insetInlineStart:Mt,insetInlineEnd:Mt,padding:Mt,paddingTop:Mt,paddingRight:Mt,paddingBottom:Mt,paddingLeft:Mt,paddingBlock:Mt,paddingBlockStart:Mt,paddingBlockEnd:Mt,paddingInline:Mt,paddingInlineStart:Mt,paddingInlineEnd:Mt,margin:Mt,marginTop:Mt,marginRight:Mt,marginBottom:Mt,marginLeft:Mt,marginBlock:Mt,marginBlockStart:Mt,marginBlockEnd:Mt,marginInline:Mt,marginInlineStart:Mt,marginInlineEnd:Mt,backgroundPositionX:Mt,backgroundPositionY:Mt,...{rotate:er,rotateX:er,rotateY:er,rotateZ:er,scale:Y0,scaleX:Y0,scaleY:Y0,scaleZ:Y0,skew:er,skewX:er,skewY:er,distance:Mt,translateX:Mt,translateY:Mt,translateZ:Mt,x:Mt,y:Mt,z:Mt,perspective:Mt,transformPerspective:Mt,opacity:Am,originX:DE,originY:DE,originZ:Mt},zIndex:cw,fillOpacity:Am,strokeOpacity:Am,numOctaves:cw},v5={...MS,color:Vn,backgroundColor:Vn,outlineColor:Vn,fill:Vn,stroke:Vn,borderColor:Vn,borderTopColor:Vn,borderRightColor:Vn,borderBottomColor:Vn,borderLeftColor:Vn,filter:CS,WebkitFilter:CS},fw=u=>v5[u];function dw(u,s){let d=fw(u);return d!==CS&&(d=nr),d.getAnimatableNone?d.getAnimatableNone(s):void 0}const b5=new Set(["auto","none","0"]);function S5(u,s,d){let h=0,y;for(;h<u.length&&!y;){const b=u[h];typeof b=="string"&&!b5.has(b)&&zm(b).values.length&&(y=u[h]),h++}if(y&&d)for(const b of s)u[b]=dw(d,y)}class T5 extends bS{constructor(s,d,h,y,b){super(s,d,h,y,b,!0)}readKeyframes(){const{unresolvedKeyframes:s,element:d,name:h}=this;if(!d||!d.current)return;super.readKeyframes();for(let M=0;M<s.length;M++){let R=s[M];if(typeof R=="string"&&(R=R.trim(),F1(R))){const C=IE(R,d.current);C!==void 0&&(s[M]=C),M===s.length-1&&(this.finalKeyframe=R)}}if(this.resolveNoneKeyframes(),!ew.has(h)||s.length!==2)return;const[y,b]=s,S=rw(y),T=rw(b),w=AE(y),A=AE(b);if(w!==A&&ar[h]){this.needsMeasurement=!0;return}if(S!==T)if(XE(S)&&XE(T))for(let M=0;M<s.length;M++){const R=s[M];typeof R=="string"&&(s[M]=parseFloat(R))}else ar[h]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:s,name:d}=this,h=[];for(let y=0;y<s.length;y++)(s[y]===null||p5(s[y]))&&h.push(y);h.length&&S5(s,h,d)}measureInitialState(){const{element:s,unresolvedKeyframes:d,name:h}=this;if(!s||!s.current)return;h==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ar[h](s.measureViewportBox(),window.getComputedStyle(s.current)),d[0]=this.measuredOrigin;const y=d[d.length-1];y!==void 0&&s.getValue(h,y).jump(y,!1)}measureEndState(){const{element:s,name:d,unresolvedKeyframes:h}=this;if(!s||!s.current)return;const y=s.getValue(d);y&&y.jump(this.measuredOrigin,!1);const b=h.length-1,S=h[b];h[b]=ar[d](s.measureViewportBox(),window.getComputedStyle(s.current)),S!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=S),this.removedTransforms?.length&&this.removedTransforms.forEach(([T,w])=>{s.getValue(T).set(w)}),this.resolveNoneKeyframes()}}function E5(u,s,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 hw=(u,s)=>s&&typeof u=="number"?s.transform(u):u;function pw(u){return oE(u)&&"offsetHeight"in u}const{schedule:OS}=EE(queueMicrotask,!1),mo={x:!1,y:!1};function mw(){return mo.x||mo.y}function w5(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 gw(u,s){const d=E5(u),h=new AbortController,y={passive:!0,...s,signal:h.signal};return[d,y,()=>h.abort()]}function yw(u){return!(u.pointerType==="touch"||mw())}function x5(u,s,d={}){const[h,y,b]=gw(u,d),S=T=>{if(!yw(T))return;const{target:w}=T,A=s(w,T);if(typeof A!="function"||!w)return;const M=R=>{yw(R)&&(A(R),w.removeEventListener("pointerleave",M))};w.addEventListener("pointerleave",M,y)};return h.forEach(T=>{T.addEventListener("pointerenter",S,y)}),b}const vw=(u,s)=>s?u===s?!0:vw(u,s.parentElement):!1,_S=u=>u.pointerType==="mouse"?typeof u.button!="number"||u.button<=0:u.isPrimary!==!1,A5=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function bw(u){return A5.has(u.tagName)||u.isContentEditable===!0}const Q0=new WeakSet;function Sw(u){return s=>{s.key==="Enter"&&u(s)}}function US(u,s){u.dispatchEvent(new PointerEvent("pointer"+s,{isPrimary:!0,bubbles:!0}))}const R5=(u,s)=>{const d=u.currentTarget;if(!d)return;const h=Sw(()=>{if(Q0.has(d))return;US(d,"down");const y=Sw(()=>{US(d,"up")}),b=()=>US(d,"cancel");d.addEventListener("keyup",y,s),d.addEventListener("blur",b,s)});d.addEventListener("keydown",h,s),d.addEventListener("blur",()=>d.removeEventListener("keydown",h),s)};function Tw(u){return _S(u)&&!mw()}function D5(u,s,d={}){const[h,y,b]=gw(u,d),S=T=>{const w=T.currentTarget;if(!Tw(T))return;Q0.add(w);const A=s(w,T),M=(V,lt)=>{window.removeEventListener("pointerup",R),window.removeEventListener("pointercancel",C),Q0.has(w)&&Q0.delete(w),Tw(V)&&typeof A=="function"&&A(V,{success:lt})},R=V=>{M(V,w===window||w===document||d.useGlobalTarget||vw(w,V.target))},C=V=>{M(V,!1)};window.addEventListener("pointerup",R,y),window.addEventListener("pointercancel",C,y)};return h.forEach(T=>{(d.useGlobalTarget?window:T).addEventListener("pointerdown",S,y),pw(T)&&(T.addEventListener("focus",A=>R5(A,y)),!bw(T)&&!T.hasAttribute("tabindex")&&(T.tabIndex=0))}),b}function Ew(u){return oE(u)&&"ownerSVGElement"in u}function z5(u){return Ew(u)&&u.tagName==="svg"}const C5=[...sw,Vn,nr],M5=u=>C5.find(uw(u)),ww=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xd=()=>({x:ww(),y:ww()}),xw=()=>({min:0,max:0}),na=()=>({x:xw(),y:xw()}),jS={current:null},Aw={current:!1},O5=typeof window<"u";function _5(){if(Aw.current=!0,!!O5)if(window.matchMedia){const u=window.matchMedia("(prefers-reduced-motion)"),s=()=>jS.current=u.matches;u.addEventListener("change",s),s()}else jS.current=!1}const U5=new WeakMap;function Z0(u){return u!==null&&typeof u=="object"&&typeof u.start=="function"}function Mm(u){return typeof u=="string"||Array.isArray(u)}const NS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],HS=["initial",...NS];function J0(u){return Z0(u.animate)||HS.some(s=>Mm(u[s]))}function Rw(u){return!!(J0(u)||u.variants)}function j5(u,s,d){for(const h in s){const y=s[h],b=d[h];if(Va(y))u.addValue(h,y);else if(Va(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)s[h]===void 0&&u.removeValue(h);return s}const Dw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let K0={};function zw(u){K0=u}function N5(){return K0}class H5{scrapeMotionValuesFromProps(s,d,h){return{}}constructor({parent:s,props:d,presenceContext:h,reducedMotionConfig:y,blockInitialAnimation:b,visualState:S},T={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=bS,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 C=$a.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,sn.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=s,this.props=d,this.presenceContext=h,this.depth=s?s.depth+1:0,this.reducedMotionConfig=y,this.options=T,this.blockInitialAnimation=!!b,this.isControllingVariants=J0(d),this.isVariantNode=Rw(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(s&&s.current);const{willChange:M,...R}=this.scrapeMotionValuesFromProps(d,{},this);for(const C in R){const V=R[C];w[C]!==void 0&&Va(V)&&V.set(w[C])}}mount(s){this.current=s,U5.set(s,this),this.projection&&!this.projection.instance&&this.projection.mount(s),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:(Aw.current||_5(),this.shouldReduceMotion=jS.current),process.env.NODE_ENV!=="production"&&Z1(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(),tr(this.notifyUpdate),tr(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const d=this.features[s];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(s){this.children.add(s),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(s)}removeChild(s){this.children.delete(s),this.enteringChildren&&this.enteringChildren.delete(s)}bindToMotionValue(s,d){this.valueSubscriptions.has(s)&&this.valueSubscriptions.get(s)();const h=Yd.has(s);h&&this.onBindTransform&&this.onBindTransform();const y=d.on("change",S=>{this.latestValues[s]=S,this.props.onUpdate&&sn.preRender(this.notifyUpdate),h&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let b;typeof window<"u"&&window.MotionCheckAppearSync&&(b=window.MotionCheckAppearSync(this,s,d)),this.valueSubscriptions.set(s,()=>{y(),b&&b(),d.owner&&d.stop()})}sortNodePosition(s){return!this.current||!this.sortInstanceNodePosition||this.type!==s.type?0:this.sortInstanceNodePosition(this.current,s.current)}updateFeatures(){let s="animation";for(s in K0){const d=K0[s];if(!d)continue;const{isEnabled:h,Feature:y}=d;if(!this.features[s]&&y&&h(this.props)&&(this.features[s]=new y(this)),this.features[s]){const b=this.features[s];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(s){return this.latestValues[s]}setStaticValue(s,d){this.latestValues[s]=d}update(s,d){(s.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=s,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let h=0;h<Dw.length;h++){const y=Dw[h];this.propEventSubscriptions[y]&&(this.propEventSubscriptions[y](),delete this.propEventSubscriptions[y]);const b="on"+y,S=s[b];S&&(this.propEventSubscriptions[y]=this.on(y,S))}this.prevMotionValues=j5(this,this.scrapeMotionValuesFromProps(s,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(s){return this.props.variants?this.props.variants[s]: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(s){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(s),()=>d.variantChildren.delete(s)}addValue(s,d){const h=this.values.get(s);d!==h&&(h&&this.removeValue(s),this.bindToMotionValue(s,d),this.values.set(s,d),this.latestValues[s]=d.get())}removeValue(s){this.values.delete(s);const d=this.valueSubscriptions.get(s);d&&(d(),this.valueSubscriptions.delete(s)),delete this.latestValues[s],this.removeValueFromRenderState(s,this.renderState)}hasValue(s){return this.values.has(s)}getValue(s,d){if(this.props.values&&this.props.values[s])return this.props.values[s];let h=this.values.get(s);return h===void 0&&d!==void 0&&(h=qd(d===null?void 0:d,{owner:this}),this.addValue(s,h)),h}readValue(s,d){let h=this.latestValues[s]!==void 0||!this.current?this.latestValues[s]:this.getBaseTargetFromProps(this.props,s)??this.readValueFromInstance(this.current,s,this.options);return h!=null&&(typeof h=="string"&&(iE(h)||uE(h))?h=parseFloat(h):!M5(h)&&nr.test(d)&&(h=dw(s,d)),this.setBaseTarget(s,Va(h)?h.get():h)),Va(h)?h.get():h}setBaseTarget(s,d){this.baseTarget[s]=d}getBaseTarget(s){const{initial:d}=this.props;let h;if(typeof d=="string"||typeof d=="object"){const b=xS(this.props,d,this.presenceContext?.custom);b&&(h=b[s])}if(d&&h!==void 0)return h;const y=this.getBaseTargetFromProps(this.props,s);return y!==void 0&&!Va(y)?y:this.initialValues[s]!==void 0&&h===void 0?void 0:this.baseTarget[s]}on(s,d){return this.events[s]||(this.events[s]=new Q1),this.events[s].add(d)}notify(s,...d){this.events[s]&&this.events[s].notify(...d)}scheduleRenderMicrotask(){OS.render(this.render)}}class lr{constructor(s){this.isMounted=!1,this.node=s}update(){}}class Cw extends H5{constructor(){super(...arguments),this.KeyframeResolver=T5}sortInstanceNodePosition(s,d){return s.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(s,d){const h=s.style;return h?h[d]:void 0}removeValueFromRenderState(s,{vars:d,style:h}){delete d[s],delete h[s]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:s}=this.props;Va(s)&&(this.childSubscription=s.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function Mw({top:u,left:s,right:d,bottom:h}){return{x:{min:s,max:d},y:{min:u,max:h}}}function B5({x:u,y:s}){return{top:s.min,right:u.max,bottom:s.max,left:u.min}}function L5(u,s){if(!s)return u;const d=s({x:u.left,y:u.top}),h=s({x:u.right,y:u.bottom});return{top:d.y,left:d.x,bottom:h.y,right:h.x}}function BS(u){return u===void 0||u===1}function LS({scale:u,scaleX:s,scaleY:d}){return!BS(u)||!BS(s)||!BS(d)}function Xc(u){return LS(u)||Ow(u)||u.z||u.rotate||u.rotateX||u.rotateY||u.skewX||u.skewY}function Ow(u){return _w(u.x)||_w(u.y)}function _w(u){return u&&u!=="0%"}function $0(u,s,d){const h=u-d,y=s*h;return d+y}function Uw(u,s,d,h,y){return y!==void 0&&(u=$0(u,y,h)),$0(u,d,h)+s}function VS(u,s=0,d=1,h,y){u.min=Uw(u.min,s,d,h,y),u.max=Uw(u.max,s,d,h,y)}function jw(u,{x:s,y:d}){VS(u.x,s.translate,s.scale,s.originPoint),VS(u.y,d.translate,d.scale,d.originPoint)}const Nw=.999999999999,Hw=1.0000000000001;function V5(u,s,d,h=!1){const y=d.length;if(!y)return;s.x=s.y=1;let b,S;for(let T=0;T<y;T++){b=d[T],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&&Zd(u,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),S&&(s.x*=S.x.scale,s.y*=S.y.scale,jw(u,S)),h&&Xc(b.latestValues)&&Zd(u,b.latestValues))}s.x<Hw&&s.x>Nw&&(s.x=1),s.y<Hw&&s.y>Nw&&(s.y=1)}function Qd(u,s){u.min=u.min+s,u.max=u.max+s}function Bw(u,s,d,h,y=.5){const b=vn(u.min,u.max,y);VS(u,s,d,b,h)}function Zd(u,s){Bw(u.x,s.x,s.scaleX,s.scale,s.originX),Bw(u.y,s.y,s.scaleY,s.scale,s.originY)}function Lw(u,s){return Mw(L5(u.getBoundingClientRect(),s))}function k5(u,s,d){const h=Lw(u,d),{scroll:y}=s;return y&&(Qd(h.x,y.offset.x),Qd(h.y,y.offset.y)),h}const Y5={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},q5=kd.length;function G5(u,s,d){let h="",y=!0;for(let b=0;b<q5;b++){const S=kd[b],T=u[S];if(T===void 0)continue;let w=!0;if(typeof T=="number"?w=T===(S.startsWith("scale")?1:0):w=parseFloat(T)===0,!w||d){const A=hw(T,MS[S]);if(!w){y=!1;const M=Y5[S]||S;h+=`${M}(${A}) `}d&&(s[S]=A)}}return h=h.trim(),d?h=d(s,y?"":h):y&&(h="none"),h}function kS(u,s,d){const{style:h,vars:y,transformOrigin:b}=u;let S=!1,T=!1;for(const w in s){const A=s[w];if(Yd.has(w)){S=!0;continue}else if(xE(w)){y[w]=A;continue}else{const M=hw(A,MS[w]);w.startsWith("origin")?(T=!0,b[w]=M):h[w]=M}}if(s.transform||(S||d?h.transform=G5(s,u.transform,d):h.transform&&(h.transform="none")),T){const{originX:w="50%",originY:A="50%",originZ:M=0}=b;h.transformOrigin=`${w} ${A} ${M}`}}function Vw(u,{style:s,vars:d},h,y){const b=u.style;let S;for(S in s)b[S]=s[S];y?.applyProjectionStyles(b,h);for(S in d)b.setProperty(S,d[S])}function kw(u,s){return s.max===s.min?0:u/(s.max-s.min)*100}const Om={correct:(u,s)=>{if(!s.target)return u;if(typeof u=="string")if(Mt.test(u))u=parseFloat(u);else return u;const d=kw(u,s.target.x),h=kw(u,s.target.y);return`${d}% ${h}%`}},X5={correct:(u,{treeScale:s,projectionDelta:d})=>{const h=u,y=nr.parse(u);if(y.length>5)return h;const b=nr.createTransformer(u),S=typeof y[0]!="number"?1:0,T=d.x.scale*s.x,w=d.y.scale*s.y;y[0+S]/=T,y[1+S]/=w;const A=vn(T,w,.5);return typeof y[2+S]=="number"&&(y[2+S]/=A),typeof y[3+S]=="number"&&(y[3+S]/=A),b(y)}},YS={borderRadius:{...Om,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Om,borderTopRightRadius:Om,borderBottomLeftRadius:Om,borderBottomRightRadius:Om,boxShadow:X5};function Yw(u,{layout:s,layoutId:d}){return Yd.has(u)||u.startsWith("origin")||(s||d!==void 0)&&(!!YS[u]||u==="opacity")}function qS(u,s,d){const h=u.style,y=s?.style,b={};if(!h)return b;for(const S in h)(Va(h[S])||y&&Va(y[S])||Yw(S,u)||d?.getValue(S)?.liveStyle!==void 0)&&(b[S]=h[S]);return b}function Q5(u){return window.getComputedStyle(u)}class Z5 extends Cw{constructor(){super(...arguments),this.type="html",this.renderInstance=Vw}readValueFromInstance(s,d){if(Yd.has(d))return this.projection?.isProjecting?pS(d):wC(s,d);{const h=Q5(s),y=(xE(d)?h.getPropertyValue(d):h[d])||0;return typeof y=="string"?y.trim():y}}measureInstanceViewportBox(s,{transformPagePoint:d}){return Lw(s,d)}build(s,d,h){kS(s,d,h.transformTemplate)}scrapeMotionValuesFromProps(s,d,h){return qS(s,d,h)}}const J5={offset:"stroke-dashoffset",array:"stroke-dasharray"},K5={offset:"strokeDashoffset",array:"strokeDasharray"};function $5(u,s,d=1,h=0,y=!0){u.pathLength=1;const b=y?J5:K5;u[b.offset]=Mt.transform(-h);const S=Mt.transform(s),T=Mt.transform(d);u[b.array]=`${S} ${T}`}const F5=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function qw(u,{attrX:s,attrY:d,attrScale:h,pathLength:y,pathSpacing:b=1,pathOffset:S=0,...T},w,A,M){if(kS(u,T,A),w){u.style.viewBox&&(u.attrs.viewBox=u.style.viewBox);return}u.attrs=u.style,u.style={};const{attrs:R,style:C}=u;R.transform&&(C.transform=R.transform,delete R.transform),(C.transform||R.transformOrigin)&&(C.transformOrigin=R.transformOrigin??"50% 50%",delete R.transformOrigin),C.transform&&(C.transformBox=M?.transformBox??"fill-box",delete R.transformBox);for(const V of F5)R[V]!==void 0&&(C[V]=R[V],delete R[V]);s!==void 0&&(R.x=s),d!==void 0&&(R.y=d),h!==void 0&&(R.scale=h),y!==void 0&&$5(R,y,b,S,!1)}const Gw=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"]),Xw=u=>typeof u=="string"&&u.toLowerCase()==="svg";function W5(u,s,d,h){Vw(u,s,void 0,h);for(const y in s.attrs)u.setAttribute(Gw.has(y)?y:DS(y),s.attrs[y])}function Qw(u,s,d){const h=qS(u,s,d);for(const y in u)if(Va(u[y])||Va(s[y])){const b=kd.indexOf(y)!==-1?"attr"+y.charAt(0).toUpperCase()+y.substring(1):y;h[b]=u[y]}return h}class P5 extends Cw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=na}getBaseTargetFromProps(s,d){return s[d]}readValueFromInstance(s,d){if(Yd.has(d)){const h=fw(d);return h&&h.default||0}return d=Gw.has(d)?d:DS(d),s.getAttribute(d)}scrapeMotionValuesFromProps(s,d,h){return Qw(s,d,h)}build(s,d,h){qw(s,d,this.isSVGTag,h.transformTemplate,h.style)}renderInstance(s,d,h,y){W5(s,d,h,y)}mount(s){this.isSVGTag=Xw(s.tagName),super.mount(s)}}const I5=HS.length;function Zw(u){if(!u)return;if(!u.isControllingVariants){const d=u.parent?Zw(u.parent)||{}:{};return u.props.initial!==void 0&&(d.initial=u.props.initial),d}const s={};for(let d=0;d<I5;d++){const h=HS[d],y=u.props[h];(Mm(y)||y===!1)&&(s[h]=y)}return s}function Jw(u,s){if(!Array.isArray(s))return!1;const d=s.length;if(d!==u.length)return!1;for(let h=0;h<d;h++)if(s[h]!==u[h])return!1;return!0}const t3=[...NS].reverse(),e3=NS.length;function n3(u){return s=>Promise.all(s.map(({animation:d,options:h})=>d5(u,d,h)))}function a3(u){let s=n3(u),d=Kw(),h=!0;const y=w=>(A,M)=>{const R=Gd(u,M,w==="exit"?u.presenceContext?.custom:void 0);if(R){const{transition:C,transitionEnd:V,...lt}=R;A={...A,...lt,...V}}return A};function b(w){s=w(u)}function S(w){const{props:A}=u,M=Zw(u.parent)||{},R=[],C=new Set;let V={},lt=1/0;for(let it=0;it<e3;it++){const st=t3[it],bt=d[st],pt=A[st]!==void 0?A[st]:M[st],Ot=Mm(pt),xt=st===w?bt.isActive:null;xt===!1&&(lt=it);let Yt=pt===M[st]&&pt!==A[st]&&Ot;if(Yt&&h&&u.manuallyAnimateOnMount&&(Yt=!1),bt.protectedKeys={...V},!bt.isActive&&xt===null||!pt&&!bt.prevProp||Z0(pt)||typeof pt=="boolean")continue;const Tt=l3(bt.prevProp,pt);let Q=Tt||st===w&&bt.isActive&&!Yt&&Ot||it>lt&&Ot,vt=!1;const J=Array.isArray(pt)?pt:[pt];let qt=J.reduce(y(st),{});xt===!1&&(qt={});const{prevResolvedValues:wt={}}=bt,Lt={...wt,...qt},be=tt=>{Q=!0,C.has(tt)&&(vt=!0,C.delete(tt)),bt.needsAnimating[tt]=!0;const ht=u.getValue(tt);ht&&(ht.liveStyle=!1)};for(const tt in Lt){const ht=qt[tt],zt=wt[tt];if(V.hasOwnProperty(tt))continue;let Ht=!1;AS(ht)&&AS(zt)?Ht=!Jw(ht,zt):Ht=ht!==zt,Ht?ht!=null?be(tt):C.add(tt):ht!==void 0&&C.has(tt)?be(tt):bt.protectedKeys[tt]=!0}bt.prevProp=pt,bt.prevResolvedValues=qt,bt.isActive&&(V={...V,...qt}),h&&u.blockInitialAnimation&&(Q=!1);const De=Yt&&Tt;Q&&(!De||vt)&&R.push(...J.map(tt=>{const ht={type:st};if(typeof tt=="string"&&h&&!De&&u.manuallyAnimateOnMount&&u.parent){const{parent:zt}=u,Ht=Gd(zt,tt);if(zt.enteringChildren&&Ht){const{delayChildren:_}=Ht.transition||{};ht.delay=tw(zt.enteringChildren,u,_)}}return{animation:tt,options:ht}}))}if(C.size){const it={};if(typeof A.initial!="boolean"){const st=Gd(u,Array.isArray(A.initial)?A.initial[0]:A.initial);st&&st.transition&&(it.transition=st.transition)}C.forEach(st=>{const bt=u.getBaseTarget(st),pt=u.getValue(st);pt&&(pt.liveStyle=!0),it[st]=bt??null}),R.push({animation:it})}let dt=!!R.length;return h&&(A.initial===!1||A.initial===A.animate)&&!u.manuallyAnimateOnMount&&(dt=!1),h=!1,dt?s(R):Promise.resolve()}function T(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:T,setAnimateFunction:b,getState:()=>d,reset:()=>{d=Kw()}}}function l3(u,s){return typeof s=="string"?s!==u:Array.isArray(s)?!Jw(s,u):!1}function Qc(u=!1){return{isActive:u,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Kw(){return{animate:Qc(!0),whileInView:Qc(),whileHover:Qc(),whileTap:Qc(),whileDrag:Qc(),whileFocus:Qc(),exit:Qc()}}const $w=1e-4,i3=1-$w,o3=1+$w,Fw=.01,u3=0-Fw,s3=0+Fw;function Fa(u){return u.max-u.min}function r3(u,s,d){return Math.abs(u-s)<=d}function Ww(u,s,d,h=.5){u.origin=h,u.originPoint=vn(s.min,s.max,u.origin),u.scale=Fa(d)/Fa(s),u.translate=vn(d.min,d.max,u.origin)-u.originPoint,(u.scale>=i3&&u.scale<=o3||isNaN(u.scale))&&(u.scale=1),(u.translate>=u3&&u.translate<=s3||isNaN(u.translate))&&(u.translate=0)}function _m(u,s,d,h){Ww(u.x,s.x,d.x,h?h.originX:void 0),Ww(u.y,s.y,d.y,h?h.originY:void 0)}function Pw(u,s,d){u.min=d.min+s.min,u.max=u.min+Fa(s)}function c3(u,s,d){Pw(u.x,s.x,d.x),Pw(u.y,s.y,d.y)}function Iw(u,s,d){u.min=s.min-d.min,u.max=u.min+Fa(s)}function F0(u,s,d){Iw(u.x,s.x,d.x),Iw(u.y,s.y,d.y)}function tx(u,s,d,h,y){return u-=s,u=$0(u,1/d,h),y!==void 0&&(u=$0(u,1/y,h)),u}function f3(u,s=0,d=1,h=.5,y,b=u,S=u){if($o.test(s)&&(s=parseFloat(s),s=vn(S.min,S.max,s/100)-S.min),typeof s!="number")return;let T=vn(b.min,b.max,h);u===b&&(T-=s),u.min=tx(u.min,s,d,T,y),u.max=tx(u.max,s,d,T,y)}function ex(u,s,[d,h,y],b,S){f3(u,s[d],s[h],s[y],s.scale,b,S)}const d3=["x","scaleX","originX"],h3=["y","scaleY","originY"];function nx(u,s,d,h){ex(u.x,s,d3,d?d.x:void 0,h?h.x:void 0),ex(u.y,s,h3,d?d.y:void 0,h?h.y:void 0)}function ax(u,s){u.min=s.min,u.max=s.max}function go(u,s){ax(u.x,s.x),ax(u.y,s.y)}function lx(u,s){u.translate=s.translate,u.scale=s.scale,u.originPoint=s.originPoint,u.origin=s.origin}function ix(u){return u.translate===0&&u.scale===1}function ox(u){return ix(u.x)&&ix(u.y)}function ux(u,s){return u.min===s.min&&u.max===s.max}function p3(u,s){return ux(u.x,s.x)&&ux(u.y,s.y)}function sx(u,s){return Math.round(u.min)===Math.round(s.min)&&Math.round(u.max)===Math.round(s.max)}function rx(u,s){return sx(u.x,s.x)&&sx(u.y,s.y)}function cx(u){return Fa(u.x)/Fa(u.y)}function fx(u,s){return u.translate===s.translate&&u.scale===s.scale&&u.originPoint===s.originPoint}function Ti(u){return[u("x"),u("y")]}function m3(u,s,d){let h="";const y=u.x.translate/s.x,b=u.y.translate/s.y,S=d?.z||0;if((y||b||S)&&(h=`translate3d(${y}px, ${b}px, ${S}px) `),(s.x!==1||s.y!==1)&&(h+=`scale(${1/s.x}, ${1/s.y}) `),d){const{transformPerspective:A,rotate:M,rotateX:R,rotateY:C,skewX:V,skewY:lt}=d;A&&(h=`perspective(${A}px) ${h}`),M&&(h+=`rotate(${M}deg) `),R&&(h+=`rotateX(${R}deg) `),C&&(h+=`rotateY(${C}deg) `),V&&(h+=`skewX(${V}deg) `),lt&&(h+=`skewY(${lt}deg) `)}const T=u.x.scale*s.x,w=u.y.scale*s.y;return(T!==1||w!==1)&&(h+=`scale(${T}, ${w})`),h||"none"}const dx=["TopLeft","TopRight","BottomLeft","BottomRight"],g3=dx.length,hx=u=>typeof u=="string"?parseFloat(u):u,px=u=>typeof u=="number"||Mt.test(u);function y3(u,s,d,h,y,b){y?(u.opacity=vn(0,d.opacity??1,v3(h)),u.opacityExit=vn(s.opacity??1,0,b3(h))):b&&(u.opacity=vn(s.opacity??1,d.opacity??1,h));for(let S=0;S<g3;S++){const T=`border${dx[S]}Radius`;let w=mx(s,T),A=mx(d,T);if(w===void 0&&A===void 0)continue;w||(w=0),A||(A=0),w===0||A===0||px(w)===px(A)?(u[T]=Math.max(vn(hx(w),hx(A),h),0),($o.test(A)||$o.test(w))&&(u[T]+="%")):u[T]=A}(s.rotate||d.rotate)&&(u.rotate=vn(s.rotate||0,d.rotate||0,h))}function mx(u,s){return u[s]!==void 0?u[s]:u.borderRadius}const v3=gx(0,.5,gE),b3=gx(.5,.95,bi);function gx(u,s,d){return h=>h<u?0:h>s?1:d(wm(u,s,h))}function S3(u,s){const d=$a.now(),h=({timestamp:y})=>{const b=y-d;b>=s&&(tr(h),u(b-s))};return sn.setup(h,!0),()=>tr(h)}function Um(u,s,d,h={passive:!0}){return u.addEventListener(s,d,h),()=>u.removeEventListener(s,d)}function W0(u){return Va(u)?u.get():u}function T3(u,s,d){const h=Va(u)?u:qd(u);return h.start(wS("",h,s,d)),h.animation}const E3=(u,s)=>u.depth-s.depth;class w3{constructor(){this.children=[],this.isDirty=!1}add(s){Y1(this.children,s),this.isDirty=!0}remove(s){q1(this.children,s),this.isDirty=!0}forEach(s){this.isDirty&&this.children.sort(E3),this.isDirty=!1,this.children.forEach(s)}}class x3{constructor(){this.members=[]}add(s){Y1(this.members,s),s.scheduleRender()}remove(s){if(q1(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(s){const d=this.members.findIndex(y=>s===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(s,d){const h=this.lead;if(s!==h&&(this.prevLead=h,this.lead=s,s.show(),h)){h.instance&&h.scheduleRender(),s.scheduleRender(),s.resumeFrom=h,d&&(s.resumeFrom.preserveOpacity=!0),h.snapshot&&(s.snapshot=h.snapshot,s.snapshot.latestValues=h.animationValues||h.latestValues),s.root&&s.root.isUpdating&&(s.isLayoutDirty=!0);const{crossfade:y}=s.options;y===!1&&h.hide()}}exitAnimationComplete(){this.members.forEach(s=>{const{options:d,resumingFrom:h}=s;d.onExitComplete&&d.onExitComplete(),h&&h.options.onExitComplete&&h.options.onExitComplete()})}scheduleRender(){this.members.forEach(s=>{s.instance&&s.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const P0={hasAnimatedSinceResize:!0,hasEverUpdated:!1},GS=["","X","Y","Z"],A3=1e3;let R3=0;function XS(u,s,d,h){const{latestValues:y}=s;y[u]&&(d[u]=y[u],s.setStaticValue(u,0),h&&(h[u]=0))}function yx(u){if(u.hasCheckedOptimisedAppear=!0,u.root===u)return;const{visualElement:s}=u.options;if(!s)return;const d=iw(s);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:y,layoutId:b}=u.options;window.MotionCancelOptimisedAnimation(d,"transform",sn,!(y||b))}const{parent:h}=u;h&&!h.hasCheckedOptimisedAppear&&yx(h)}function vx({attachResizeListener:u,defaultParent:s,measureScroll:d,checkIsScrollRoot:h,resetTransform:y}){return class{constructor(S={},T=s?.()){this.id=R3++,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(C3),this.nodes.forEach(U3),this.nodes.forEach(j3),this.nodes.forEach(M3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=S,this.root=T?T.root||T:this,this.path=T?[...T.path,T]:[],this.parent=T,this.depth=T?T.depth+1:0;for(let w=0;w<this.path.length;w++)this.path[w].shouldResetTransform=!0;this.root===this&&(this.nodes=new w3)}addEventListener(S,T){return this.eventHandlers.has(S)||this.eventHandlers.set(S,new Q1),this.eventHandlers.get(S).add(T)}notifyListeners(S,...T){const w=this.eventHandlers.get(S);w&&w.notify(...T)}hasListeners(S){return this.eventHandlers.has(S)}mount(S){if(this.instance)return;this.isSVG=Ew(S)&&!z5(S),this.instance=S;const{layoutId:T,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||T)&&(this.isLayoutDirty=!0),u){let M,R=0;const C=()=>this.root.updateBlockedByResize=!1;sn.read(()=>{R=window.innerWidth}),u(S,()=>{const V=window.innerWidth;V!==R&&(R=V,this.root.updateBlockedByResize=!0,M&&M(),M=S3(C,250),P0.hasAnimatedSinceResize&&(P0.hasAnimatedSinceResize=!1,this.nodes.forEach(Tx)))})}T&&this.root.registerSharedNode(T,this),this.options.animate!==!1&&A&&(T||w)&&this.addEventListener("didUpdate",({delta:M,hasLayoutChanged:R,hasRelativeLayoutChanged:C,layout:V})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const lt=this.options.transition||A.getDefaultTransition()||V3,{onLayoutAnimationStart:dt,onLayoutAnimationComplete:it}=A.getProps(),st=!this.targetLayout||!rx(this.targetLayout,V),bt=!R&&C;if(this.options.layoutRoot||this.resumeFrom||bt||R&&(st||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const pt={...ES(lt,"layout"),onPlay:dt,onComplete:it};(A.shouldReduceMotion||this.options.layoutRoot)&&(pt.delay=0,pt.type=!1),this.startAnimation(pt),this.setAnimationOrigin(M,bt)}else R||Tx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=V})}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(),tr(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(N3),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&&yx(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:T,layout:w}=this.options;if(T===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(bx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Sx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(_3),this.nodes.forEach(D3),this.nodes.forEach(z3)):this.nodes.forEach(Sx),this.clearAllSnapshots();const T=$a.now();ba.delta=Jo(0,1e3/60,T-ba.timestamp),ba.timestamp=T,ba.isProcessing=!0,$1.update.process(ba),$1.preRender.process(ba),$1.render.process(ba),ba.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,OS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(O3),this.sharedNodes.forEach(H3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,sn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){sn.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:T}=this.options;T&&T.notify("LayoutMeasure",this.layout.layoutBox,S?S.layoutBox:void 0)}updateScroll(S="measure"){let T=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===S&&(T=!1),T&&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,T=this.projectionDelta&&!ox(this.projectionDelta),w=this.getTransformTemplate(),A=w?w(this.latestValues,""):void 0,M=A!==this.prevTransformTemplateValue;S&&this.instance&&(T||Xc(this.latestValues)||M)&&(y(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(S=!0){const T=this.measurePageBox();let w=this.removeElementScroll(T);return S&&(w=this.removeTransform(w)),k3(w),{animationId:this.root.animationId,measuredBox:T,layoutBox:w,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:S}=this.options;if(!S)return na();const T=S.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Y3))){const{scroll:A}=this.root;A&&(Qd(T.x,A.offset.x),Qd(T.y,A.offset.y))}return T}removeElementScroll(S){const T=na();if(go(T,S),this.scroll?.wasRoot)return T;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(T,S),Qd(T.x,M.offset.x),Qd(T.y,M.offset.y))}return T}applyTransform(S,T=!1){const w=na();go(w,S);for(let A=0;A<this.path.length;A++){const M=this.path[A];!T&&M.options.layoutScroll&&M.scroll&&M!==M.root&&Zd(w,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),Xc(M.latestValues)&&Zd(w,M.latestValues)}return Xc(this.latestValues)&&Zd(w,this.latestValues),w}removeTransform(S){const T=na();go(T,S);for(let w=0;w<this.path.length;w++){const A=this.path[w];if(!A.instance||!Xc(A.latestValues))continue;LS(A.latestValues)&&A.updateSnapshot();const M=na(),R=A.measurePageBox();go(M,R),nx(T,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,M)}return Xc(this.latestValues)&&nx(T,this.latestValues),T}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 T=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=T.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=T.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=T.isSharedProjectionDirty);const w=!!this.resumingFrom||this!==T;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 C=this.getClosestProjectingParent();C&&this.linkedParentVersion!==C.layoutVersion&&!C.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(C&&C.layout?this.createRelativeTarget(C,this.layout.layoutBox,C.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(),c3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):go(this.target,this.layout.layoutBox),jw(this.target,this.targetDelta)):go(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,C&&!!C.resumingFrom==!!this.resumingFrom&&!C.options.layoutScroll&&C.target&&this.animationProgress!==1?this.createRelativeTarget(C,this.target,C.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||LS(this.parent.latestValues)||Ow(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,T,w){this.relativeParent=S,this.linkedParentVersion=S.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),F0(this.relativeTargetOrigin,T,w),go(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const S=this.getLead(),T=!!this.resumingFrom||this!==S;let w=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(w=!1),T&&(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,C=this.treeScale.y;V5(this.layoutCorrected,this.treeScale,this.path,T),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox,S.targetWithTransforms=na());const{target:V}=S;if(!V){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(lx(this.prevProjectionDelta.x,this.projectionDelta.x),lx(this.prevProjectionDelta.y,this.projectionDelta.y)),_m(this.projectionDelta,this.layoutCorrected,V,this.latestValues),(this.treeScale.x!==R||this.treeScale.y!==C||!fx(this.projectionDelta.x,this.prevProjectionDelta.x)||!fx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",V))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(S=!0){if(this.options.visualElement?.scheduleRender(),S){const T=this.getStack();T&&T.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xd(),this.projectionDelta=Xd(),this.projectionDeltaWithTransform=Xd()}setAnimationOrigin(S,T=!1){const w=this.snapshot,A=w?w.latestValues:{},M={...this.latestValues},R=Xd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!T;const C=na(),V=w?w.source:void 0,lt=this.layout?this.layout.source:void 0,dt=V!==lt,it=this.getStack(),st=!it||it.members.length<=1,bt=!!(dt&&!st&&this.options.crossfade===!0&&!this.path.some(L3));this.animationProgress=0;let pt;this.mixTargetDelta=Ot=>{const xt=Ot/1e3;Ex(R.x,S.x,xt),Ex(R.y,S.y,xt),this.setTargetDelta(R),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(F0(C,this.layout.layoutBox,this.relativeParent.layout.layoutBox),B3(this.relativeTarget,this.relativeTargetOrigin,C,xt),pt&&p3(this.relativeTarget,pt)&&(this.isProjectionDirty=!1),pt||(pt=na()),go(pt,this.relativeTarget)),dt&&(this.animationValues=M,y3(M,A,this.latestValues,xt,bt,st)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=xt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(S){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=sn.update(()=>{P0.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=qd(0)),this.currentAnimation=T3(this.motionValue,[0,1e3],{...S,velocity:0,isSync:!0,onUpdate:T=>{this.mixTargetDelta(T),S.onUpdate&&S.onUpdate(T)},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(A3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const S=this.getLead();let{targetWithTransforms:T,target:w,layout:A,latestValues:M}=S;if(!(!T||!w||!A)){if(this!==S&&this.layout&&A&&Dx(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 C=Fa(this.layout.layoutBox.y);w.y.min=S.target.y.min,w.y.max=w.y.min+C}go(T,w),Zd(T,M),_m(this.projectionDeltaWithTransform,this.layoutCorrected,T,M)}}registerSharedNode(S,T){this.sharedNodes.has(S)||this.sharedNodes.set(S,new x3),this.sharedNodes.get(S).add(T);const A=T.options.initialPromotionConfig;T.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(T):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:T,preserveFollowOpacity:w}={}){const A=this.getStack();A&&A.promote(this,w),S&&(this.projectionDelta=void 0,this.needsReset=!0),T&&this.setOptions({transition:T})}relegate(){const S=this.getStack();return S?S.relegate(this):!1}resetSkewAndRotation(){const{visualElement:S}=this.options;if(!S)return;let T=!1;const{latestValues:w}=S;if((w.z||w.rotate||w.rotateX||w.rotateY||w.rotateZ||w.skewX||w.skewY)&&(T=!0),!T)return;const A={};w.z&&XS("z",S,A,this.animationValues);for(let M=0;M<GS.length;M++)XS(`rotate${GS[M]}`,S,A,this.animationValues),XS(`skew${GS[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,T){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=W0(T?.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=W0(T?.pointerEvents)||""),this.hasProjected&&!Xc(this.latestValues)&&(S.transform=w?w({},""):"none",this.hasProjected=!1);return}S.visibility="";const M=A.animationValues||A.latestValues;this.applyTransformsToTarget();let R=m3(this.projectionDeltaWithTransform,this.treeScale,M);w&&(R=w(M,R)),S.transform=R;const{x:C,y:V}=this.projectionDelta;S.transformOrigin=`${C.origin*100}% ${V.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 YS){if(M[lt]===void 0)continue;const{correct:dt,applyTo:it,isCSSVariable:st}=YS[lt],bt=R==="none"?M[lt]:dt(M[lt],A);if(it){const pt=it.length;for(let Ot=0;Ot<pt;Ot++)S[it[Ot]]=bt}else st?this.options.visualElement.renderState.vars[lt]=bt:S[lt]=bt}this.options.layoutId&&(S.pointerEvents=A===this?W0(T?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(S=>S.currentAnimation?.stop()),this.root.nodes.forEach(bx),this.root.sharedNodes.clear()}}}function D3(u){u.updateLayout()}function z3(u){const s=u.resumeFrom?.snapshot||u.snapshot;if(u.isLead()&&u.layout&&s&&u.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:h}=u.layout,{animationType:y}=u.options,b=s.source!==u.layout.source;y==="size"?Ti(M=>{const R=b?s.measuredBox[M]:s.layoutBox[M],C=Fa(R);R.min=d[M].min,R.max=R.min+C}):Dx(y,s.layoutBox,d)&&Ti(M=>{const R=b?s.measuredBox[M]:s.layoutBox[M],C=Fa(d[M]);R.max=R.min+C,u.relativeTarget&&!u.currentAnimation&&(u.isProjectionDirty=!0,u.relativeTarget[M].max=u.relativeTarget[M].min+C)});const S=Xd();_m(S,d,s.layoutBox);const T=Xd();b?_m(T,u.applyTransform(h,!0),s.measuredBox):_m(T,d,s.layoutBox);const w=!ox(S);let A=!1;if(!u.resumeFrom){const M=u.getClosestProjectingParent();if(M&&!M.resumeFrom){const{snapshot:R,layout:C}=M;if(R&&C){const V=na();F0(V,s.layoutBox,R.layoutBox);const lt=na();F0(lt,d,C.layoutBox),rx(V,lt)||(A=!0),M.options.layoutRoot&&(u.relativeTarget=lt,u.relativeTargetOrigin=V,u.relativeParent=M)}}}u.notifyListeners("didUpdate",{layout:d,snapshot:s,delta:T,layoutDelta:S,hasLayoutChanged:w,hasRelativeLayoutChanged:A})}else if(u.isLead()){const{onExitComplete:d}=u.options;d&&d()}u.options.transition=void 0}function C3(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 M3(u){u.isProjectionDirty=u.isSharedProjectionDirty=u.isTransformDirty=!1}function O3(u){u.clearSnapshot()}function bx(u){u.clearMeasurements()}function Sx(u){u.isLayoutDirty=!1}function _3(u){const{visualElement:s}=u.options;s&&s.getProps().onBeforeLayoutMeasure&&s.notify("BeforeLayoutMeasure"),u.resetTransform()}function Tx(u){u.finishAnimation(),u.targetDelta=u.relativeTarget=u.target=void 0,u.isProjectionDirty=!0}function U3(u){u.resolveTargetDelta()}function j3(u){u.calcProjection()}function N3(u){u.resetSkewAndRotation()}function H3(u){u.removeLeadSnapshot()}function Ex(u,s,d){u.translate=vn(s.translate,0,d),u.scale=vn(s.scale,1,d),u.origin=s.origin,u.originPoint=s.originPoint}function wx(u,s,d,h){u.min=vn(s.min,d.min,h),u.max=vn(s.max,d.max,h)}function B3(u,s,d,h){wx(u.x,s.x,d.x,h),wx(u.y,s.y,d.y,h)}function L3(u){return u.animationValues&&u.animationValues.opacityExit!==void 0}const V3={duration:.45,ease:[.4,0,.1,1]},xx=u=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(u),Ax=xx("applewebkit/")&&!xx("chrome/")?Math.round:bi;function Rx(u){u.min=Ax(u.min),u.max=Ax(u.max)}function k3(u){Rx(u.x),Rx(u.y)}function Dx(u,s,d){return u==="position"||u==="preserve-aspect"&&!r3(cx(s),cx(d),.2)}function Y3(u){return u!==u.root&&u.scroll?.wasRoot}const q3=vx({attachResizeListener:(u,s)=>Um(u,"resize",s),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),QS={current:void 0},zx=vx({measureScroll:u=>({x:u.scrollLeft,y:u.scrollTop}),defaultParent:()=>{if(!QS.current){const u=new q3({});u.mount(window),u.setOptions({layoutScroll:!0}),QS.current=u}return QS.current},resetTransform:(u,s)=>{u.style.transform=s!==void 0?s:"none"},checkIsScrollRoot:u=>window.getComputedStyle(u).position==="fixed"}),ZS=at.createContext({transformPagePoint:u=>u,isStatic:!1,reducedMotion:"never"});function Cx(u,s){if(typeof u=="function")return u(s);u!=null&&(u.current=s)}function G3(...u){return s=>{let d=!1;const h=u.map(y=>{const b=Cx(y,s);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():Cx(u[y],null)}}}}function X3(...u){return at.useCallback(G3(...u),u)}class Q3 extends at.Component{getSnapshotBeforeUpdate(s){const d=this.props.childRef.current;if(d&&s.isPresent&&!this.props.isPresent){const h=d.offsetParent,y=pw(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 Z3({children:u,isPresent:s,anchorX:d,root:h}){const y=at.useId(),b=at.useRef(null),S=at.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:T}=at.useContext(ZS),w=u.props?.ref??u?.ref,A=X3(b,w);return at.useInsertionEffect(()=>{const{width:M,height:R,top:C,left:V,right:lt}=S.current;if(s||!b.current||!M||!R)return;const dt=d==="left"?`left: ${V}`:`right: ${lt}`;b.current.dataset.motionPopId=y;const it=document.createElement("style");T&&(it.nonce=T);const st=h??document.head;return st.appendChild(it),it.sheet&&it.sheet.insertRule(`
|
|
244
244
|
[data-motion-pop-id="${y}"] {
|
|
245
245
|
position: absolute !important;
|
|
246
246
|
width: ${M}px !important;
|
|
247
247
|
height: ${R}px !important;
|
|
248
|
-
${
|
|
248
|
+
${dt}px !important;
|
|
249
249
|
top: ${C}px !important;
|
|
250
250
|
}
|
|
251
|
-
`),()=>{ot.contains(at)&&ot.removeChild(at)}},[s]),J.jsx(L3,{isPresent:s,childRef:b,sizeRef:S,children:st.cloneElement(u,{ref:A})})}const k3=({children:u,initial:s,isPresent:d,onExitComplete:h,custom:y,presenceAffectsLayout:b,mode:S,anchorX:T,root:x})=>{const A=L1(Y3),M=st.useId();let R=!0,C=st.useMemo(()=>(R=!1,{id:M,initial:s,isPresent:d,custom:y,onExitComplete:q=>{A.set(q,!0);for(const nt of A.values())if(!nt)return;h&&h()},register:q=>(A.set(q,!1),()=>A.delete(q))}),[d,A,h]);return b&&R&&(C={...C}),st.useMemo(()=>{A.forEach((q,nt)=>A.set(nt,!1))},[d]),st.useEffect(()=>{!d&&!A.size&&h&&h()},[d]),S==="popLayout"&&(u=J.jsx(V3,{isPresent:d,anchorX:T,root:x,children:u})),J.jsx(Ly.Provider,{value:C,children:u})};function Y3(){return new Map}function zx(u=!0){const s=st.useContext(Ly);if(s===null)return[!0,null];const{isPresent:d,onExitComplete:h,register:y}=s,b=st.useId();st.useEffect(()=>{if(u)return y(b)},[u]);const S=st.useCallback(()=>u&&h&&h(b),[b,h,u]);return!d&&h?[!1,S]:[!0]}const Iy=u=>u.key||"";function Mx(u){const s=[];return st.Children.forEach(u,d=>{st.isValidElement(d)&&s.push(d)}),s}const Ox=({children:u,custom:s,initial:d=!0,onExitComplete:h,presenceAffectsLayout:y=!0,mode:b="sync",propagate:S=!1,anchorX:T="left",root:x})=>{const[A,M]=zx(S),R=st.useMemo(()=>Mx(u),[u]),C=S&&!A?[]:R.map(Iy),q=st.useRef(!0),nt=st.useRef(R),ft=L1(()=>new Map),at=st.useRef(new Set),[ot,St]=st.useState(R),[pt,Ut]=st.useState(R);aE(()=>{q.current=!1,nt.current=R;for(let Tt=0;Tt<pt.length;Tt++){const Q=Iy(pt[Tt]);C.includes(Q)?(ft.delete(Q),at.current.delete(Q)):ft.get(Q)!==!0&&ft.set(Q,!1)}},[pt,C.length,C.join("-")]);const xt=[];if(R!==ot){let Tt=[...R];for(let Q=0;Q<pt.length;Q++){const vt=pt[Q],ht=Iy(vt);C.includes(ht)||(Tt.splice(Q,0,vt),xt.push(vt))}return b==="wait"&&xt.length&&(Tt=xt),Ut(Mx(Tt)),St(R),null}process.env.NODE_ENV!=="production"&&b==="wait"&&pt.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:Gt}=st.useContext(B1);return J.jsx(J.Fragment,{children:pt.map(Tt=>{const Q=Iy(Tt),vt=S&&!A?!1:R===pt||C.includes(Q),ht=()=>{if(at.current.has(Q))return;if(at.current.add(Q),ft.has(Q))ft.set(Q,!0);else return;let ae=!0;ft.forEach(Dt=>{Dt||(ae=!1)}),ae&&(Gt?.(),Ut(nt.current),S&&M?.(),h&&h())};return J.jsx(k3,{isPresent:vt,initial:!q.current||d?void 0:!1,custom:s,presenceAffectsLayout:y,mode:b,root:x,onExitComplete:vt?void 0:ht,anchorX:T,children:Tt},Q)})})},_x=st.createContext({strict:!1}),Ux={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 jx=!1;function q3(){if(jx)return;const u={};for(const s in Ux)u[s]={isEnabled:d=>Ux[s].some(h=>!!d[h])};Dw(u),jx=!0}function Nx(){return q3(),Cz()}function G3(u){const s=Nx();for(const d in u)s[d]={...s[d],...u[d]};Dw(s)}const X3=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 tv(u){return u.startsWith("while")||u.startsWith("drag")&&u!=="draggable"||u.startsWith("layout")||u.startsWith("onTap")||u.startsWith("onPan")||u.startsWith("onLayout")||X3.has(u)}let Hx=u=>!tv(u);function Q3(u){typeof u=="function"&&(Hx=s=>s.startsWith("on")?!tv(s):u(s))}try{Q3(require("@emotion/is-prop-valid").default)}catch{}function Z3(u,s,d){const h={};for(const y in u)y==="values"&&typeof u.values=="object"||(Hx(y)||d===!0&&tv(y)||!s&&!tv(y)||u.draggable&&y.startsWith("onDrag"))&&(h[y]=u[y]);return h}const ev=st.createContext({});function J3(u,s){if(Jy(u)){const{initial:d,animate:h}=u;return{initial:d===!1||Mm(d)?d:void 0,animate:Mm(h)?h:void 0}}return u.inherit!==!1?s:{}}function K3(u){const{initial:s,animate:d}=J3(u,st.useContext(ev));return st.useMemo(()=>({initial:s,animate:d}),[Bx(s),Bx(d)])}function Bx(u){return Array.isArray(u)?u.join(" "):u}const QS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Lx(u,s,d){for(const h in s)!Va(s[h])&&!kw(h,d)&&(u[h]=s[h])}function $3({transformTemplate:u},s){return st.useMemo(()=>{const d=QS();return LS(d,s,u),Object.assign({},d.vars,d.style)},[s])}function F3(u,s){const d=u.style||{},h={};return Lx(h,d,u),Object.assign(h,$3(u,s)),h}function W3(u,s){const d={},h=F3(u,s);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 Vx=()=>({...QS(),attrs:{}});function P3(u,s,d,h){const y=st.useMemo(()=>{const b=Vx();return Yw(b,s,Gw(h),u.transformTemplate,u.style),{...b.attrs,style:{...b.style}}},[s]);if(u.style){const b={};Lx(b,u.style,u),y.style={...b,...y.style}}return y}const I3=["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 ZS(u){return typeof u!="string"||u.includes("-")?!1:!!(I3.indexOf(u)>-1||/[A-Z]/u.test(u))}function tM(u,s,d,{latestValues:h},y,b=!1,S){const x=(S??ZS(u)?P3:W3)(s,h,y,u),A=Z3(s,typeof u=="string",b),M=u!==st.Fragment?{...A,...x,ref:d}:{},{children:R}=s,C=st.useMemo(()=>Va(R)?R.get():R,[R]);return st.createElement(u,{...M,children:C})}function eM({scrapeMotionValuesFromProps:u,createRenderState:s},d,h,y){return{latestValues:nM(d,h,y,u),renderState:s()}}function nM(u,s,d,h){const y={},b=h(u,{});for(const C in b)y[C]=Wy(b[C]);let{initial:S,animate:T}=u;const x=Jy(u),A=Aw(u);s&&A&&!x&&u.inherit!==!1&&(S===void 0&&(S=s.initial),T===void 0&&(T=s.animate));let M=d?d.initial===!1:!1;M=M||S===!1;const R=M?T:S;if(R&&typeof R!="boolean"&&!Zy(R)){const C=Array.isArray(R)?R:[R];for(let q=0;q<C.length;q++){const nt=ES(u,C[q]);if(nt){const{transitionEnd:ft,transition:at,...ot}=nt;for(const St in ot){let pt=ot[St];if(Array.isArray(pt)){const Ut=M?pt.length-1:0;pt=pt[Ut]}pt!==null&&(y[St]=pt)}for(const St in ft)y[St]=ft[St]}}}return y}const kx=u=>(s,d)=>{const h=st.useContext(ev),y=st.useContext(Ly),b=()=>eM(u,s,h,y);return d?b():L1(b)},aM=kx({scrapeMotionValuesFromProps:kS,createRenderState:QS}),lM=kx({scrapeMotionValuesFromProps:Xw,createRenderState:Vx}),iM=Symbol.for("motionComponentSymbol");function oM(u,s,d){const h=st.useRef(d);st.useInsertionEffect(()=>{h.current=d});const y=st.useRef(null);return st.useCallback(b=>{b&&u.onMount?.(b),s&&(b?s.mount(b):s.unmount());const S=h.current;if(typeof S=="function")if(b){const T=S(b);typeof T=="function"&&(y.current=T)}else y.current?(y.current(),y.current=null):S(b);else S&&(S.current=b)},[s])}const Yx=st.createContext({});function jm(u){return u&&typeof u=="object"&&Object.prototype.hasOwnProperty.call(u,"current")}function uM(u,s,d,h,y,b){const{visualElement:S}=st.useContext(ev),T=st.useContext(_x),x=st.useContext(Ly),A=st.useContext(XS).reducedMotion,M=st.useRef(null);h=h||T.renderer,!M.current&&h&&(M.current=h(u,{visualState:s,parent:S,props:d,presenceContext:x,blockInitialAnimation:x?x.initial===!1:!1,reducedMotionConfig:A,isSVG:b}));const R=M.current,C=st.useContext(Yx);R&&!R.projection&&y&&(R.type==="html"||R.type==="svg")&&sM(M.current,d,y,C);const q=st.useRef(!1);st.useInsertionEffect(()=>{R&&q.current&&R.update(d,x)});const nt=d[aw],ft=st.useRef(!!nt&&!window.MotionHandoffIsComplete?.(nt)&&window.MotionHasOptimisedAnimation?.(nt));return aE(()=>{R&&(q.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),ft.current&&R.animationState&&R.animationState.animateChanges())}),st.useEffect(()=>{R&&(!ft.current&&R.animationState&&R.animationState.animateChanges(),ft.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(nt)}),ft.current=!1),R.enteringChildren=void 0)}),R}function sM(u,s,d,h){const{layoutId:y,layout:b,drag:S,dragConstraints:T,layoutScroll:x,layoutRoot:A,layoutCrossfade:M}=s;u.projection=new d(u.latestValues,s["data-framer-portal-id"]?void 0:qx(u.parent)),u.projection.setOptions({layoutId:y,layout:b,alwaysMeasureLayout:!!S||T&&jm(T),visualElement:u,animationType:typeof b=="string"?b:"both",initialPromotionConfig:h,crossfade:M,layoutScroll:x,layoutRoot:A})}function qx(u){if(u)return u.options.allowProjection!==!1?u.projection:qx(u.parent)}function JS(u,{forwardMotionProps:s=!1,type:d}={},h,y){h&&G3(h);const b=d?d==="svg":ZS(u),S=b?lM:aM;function T(A,M){let R;const C={...st.useContext(XS),...A,layoutId:rM(A)},{isStatic:q}=C,nt=K3(A),ft=S(A,q);if(!q&&nE){cM(C,h);const at=fM(C);R=at.MeasureLayout,nt.visualElement=uM(u,ft,C,y,at.ProjectionNode,b)}return J.jsxs(ev.Provider,{value:nt,children:[R&&nt.visualElement?J.jsx(R,{visualElement:nt.visualElement,...C}):null,tM(u,A,oM(ft,nt.visualElement,M),ft,q,s,b)]})}T.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const x=st.forwardRef(T);return x[iM]=u,x}function rM({layoutId:u}){const s=st.useContext(B1).id;return s&&u!==void 0?s+"-"+u:u}function cM(u,s){const d=st.useContext(_x).strict;if(process.env.NODE_ENV!=="production"&&s&&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?Hd(!1,h,"lazy-strict-mode"):Yu(!1,h,"lazy-strict-mode")}}function fM(u){const s=Nx(),{drag:d,layout:h}=s;if(!d&&!h)return{};const y={...d,...h};return{MeasureLayout:d?.isEnabled(u)||h?.isEnabled(u)?y.MeasureLayout:void 0,ProjectionNode:y.ProjectionNode}}function dM(u,s){if(typeof Proxy>"u")return JS;const d=new Map,h=(b,S)=>JS(b,S,u,s),y=(b,S)=>(process.env.NODE_ENV!=="production"&&X1(!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,s)),d.get(S))})}const hM=(u,s)=>s.isSVG??ZS(u)?new Qz(s):new Vz(s,{allowProjection:u!==st.Fragment});class pM extends lr{constructor(s){super(s),s.animationState||(s.animationState=Fz(s))}updateAnimationControlsSubscription(){const{animate:s}=this.node.getProps();Zy(s)&&(this.unmountControls=s.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:s}=this.node.getProps(),{animate:d}=this.node.prevProps||{};s!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let mM=0;class gM extends lr{constructor(){super(...arguments),this.id=mM++}update(){if(!this.node.presenceContext)return;const{isPresent:s,onExitComplete:d}=this.node.presenceContext,{isPresent:h}=this.node.prevPresenceContext||{};if(!this.node.animationState||s===h)return;const y=this.node.animationState.setActive("exit",!s);d&&!s&&y.then(()=>{d(this.id)})}mount(){const{register:s,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),s&&(this.unmount=s(this.id))}unmount(){}}const yM={animation:{Feature:pM},exit:{Feature:gM}};function Nm(u){return{point:{x:u.pageX,y:u.pageY}}}const vM=u=>s=>MS(s)&&u(s,Nm(s));function Hm(u,s,d,h){return Um(u,s,vM(d),h)}const Gx=({current:u})=>u?u.ownerDocument.defaultView:null,Xx=(u,s)=>Math.abs(u-s);function bM(u,s){const d=Xx(u.x,s.x),h=Xx(u.y,s.y);return Math.sqrt(d**2+h**2)}const Qx=new Set(["auto","scroll"]);class Zx{constructor(s,d,{transformPagePoint:h,contextWindow:y=window,dragSnapToOrigin:b=!1,distanceThreshold:S=3,element:T}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=q=>{this.handleScroll(q.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const q=$S(this.lastMoveEventInfo,this.history),nt=this.startEvent!==null,ft=bM(q.offset,{x:0,y:0})>=this.distanceThreshold;if(!nt&&!ft)return;const{point:at}=q,{timestamp:ot}=ba;this.history.push({...at,timestamp:ot});const{onStart:St,onMove:pt}=this.handlers;nt||(St&&St(this.lastMoveEvent,q),this.startEvent=this.lastMoveEvent),pt&&pt(this.lastMoveEvent,q)},this.handlePointerMove=(q,nt)=>{this.lastMoveEvent=q,this.lastMoveEventInfo=KS(nt,this.transformPagePoint),sn.update(this.updatePoint,!0)},this.handlePointerUp=(q,nt)=>{this.end();const{onEnd:ft,onSessionEnd:at,resumeAnimation:ot}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&ot&&ot(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const St=$S(q.type==="pointercancel"?this.lastMoveEventInfo:KS(nt,this.transformPagePoint),this.history);this.startEvent&&ft&&ft(q,St),at&&at(q,St)},!MS(s))return;this.dragSnapToOrigin=b,this.handlers=d,this.transformPagePoint=h,this.distanceThreshold=S,this.contextWindow=y||window;const x=Nm(s),A=KS(x,this.transformPagePoint),{point:M}=A,{timestamp:R}=ba;this.history=[{...M,timestamp:R}];const{onSessionStart:C}=d;C&&C(s,$S(A,this.history)),this.removeListeners=Em(Hm(this.contextWindow,"pointermove",this.handlePointerMove),Hm(this.contextWindow,"pointerup",this.handlePointerUp),Hm(this.contextWindow,"pointercancel",this.handlePointerUp)),T&&this.startScrollTracking(T)}startScrollTracking(s){let d=s.parentElement;for(;d;){const h=getComputedStyle(d);(Qx.has(h.overflowX)||Qx.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(s){const d=this.scrollPositions.get(s);if(!d)return;const h=s===window,y=h?{x:window.scrollX,y:window.scrollY}:{x:s.scrollLeft,y:s.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(s,y),sn.update(this.updatePoint,!0))}updateHandlers(s){this.handlers=s}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tr(this.updatePoint)}}function KS(u,s){return s?{point:s(u.point)}:u}function Jx(u,s){return{x:u.x-s.x,y:u.y-s.y}}function $S({point:u},s){return{point:u,delta:Jx(u,Kx(s)),offset:Jx(u,SM(s)),velocity:TM(s,.1)}}function SM(u){return u[0]}function Kx(u){return u[u.length-1]}function TM(u,s){if(u.length<2)return{x:0,y:0};let d=u.length-1,h=null;const y=Kx(u);for(;d>=0&&(h=u[d],!(y.timestamp-h.timestamp>Ko(s)));)d--;if(!h)return{x:0,y:0};const b=bi(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 EM(u,{min:s,max:d},h){return s!==void 0&&u<s?u=h?vn(s,u,h.min):Math.max(u,s):d!==void 0&&u>d&&(u=h?vn(d,u,h.max):Math.min(u,d)),u}function $x(u,s,d){return{min:s!==void 0?u.min+s:void 0,max:d!==void 0?u.max+d-(u.max-u.min):void 0}}function wM(u,{top:s,left:d,bottom:h,right:y}){return{x:$x(u.x,d,y),y:$x(u.y,s,h)}}function Fx(u,s){let d=s.min-u.min,h=s.max-u.max;return s.max-s.min<u.max-u.min&&([d,h]=[h,d]),{min:d,max:h}}function xM(u,s){return{x:Fx(u.x,s.x),y:Fx(u.y,s.y)}}function AM(u,s){let d=.5;const h=Fa(u),y=Fa(s);return y>h?d=wm(s.min,s.max-h,u.min):h>y&&(d=wm(u.min,u.max-y,s.min)),Jo(0,1,d)}function RM(u,s){const d={};return s.min!==void 0&&(d.min=s.min-u.min),s.max!==void 0&&(d.max=s.max-u.min),d}const FS=.35;function DM(u=FS){return u===!1?u=0:u===!0&&(u=FS),{x:Wx(u,"left","right"),y:Wx(u,"top","bottom")}}function Wx(u,s,d){return{min:Px(u,s),max:Px(u,d)}}function Px(u,s){return typeof u=="number"?u:u[s]||0}const CM=new WeakMap;class zM{constructor(s){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=s}start(s,{snapToCursor:d=!1,distanceThreshold:h}={}){const{presenceContext:y}=this.visualElement;if(y&&y.isPresent===!1)return;const b=R=>{d?(this.stopAnimation(),this.snapToCursor(Nm(R).point)):this.pauseAnimation()},S=(R,C)=>{this.stopAnimation();const{drag:q,dragPropagation:nt,onDragStart:ft}=this.getProps();if(q&&!nt&&(this.openDragLock&&this.openDragLock(),this.openDragLock=gz(q),!this.openDragLock))return;this.latestPointerEvent=R,this.latestPanInfo=C,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Si(ot=>{let St=this.getAxisMotionValue(ot).get()||0;if($o.test(St)){const{projection:pt}=this.visualElement;if(pt&&pt.layout){const Ut=pt.layout.layoutBox[ot];Ut&&(St=Fa(Ut)*(parseFloat(St)/100))}}this.originPoint[ot]=St}),ft&&sn.postRender(()=>ft(R,C)),xS(this.visualElement,"transform");const{animationState:at}=this.visualElement;at&&at.setActive("whileDrag",!0)},T=(R,C)=>{this.latestPointerEvent=R,this.latestPanInfo=C;const{dragPropagation:q,dragDirectionLock:nt,onDirectionLock:ft,onDrag:at}=this.getProps();if(!q&&!this.openDragLock)return;const{offset:ot}=C;if(nt&&this.currentDirection===null){this.currentDirection=MM(ot),this.currentDirection!==null&&ft&&ft(this.currentDirection);return}this.updateAxis("x",C.point,ot),this.updateAxis("y",C.point,ot),this.visualElement.render(),at&&at(R,C)},x=(R,C)=>{this.latestPointerEvent=R,this.latestPanInfo=C,this.stop(R,C),this.latestPointerEvent=null,this.latestPanInfo=null},A=()=>Si(R=>this.getAnimationState(R)==="paused"&&this.getAxisMotionValue(R).animation?.play()),{dragSnapToOrigin:M}=this.getProps();this.panSession=new Zx(s,{onSessionStart:b,onStart:S,onMove:T,onSessionEnd:x,resumeAnimation:A},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:M,distanceThreshold:h,contextWindow:Gx(this.visualElement),element:this.visualElement.current})}stop(s,d){const h=s||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:T}=this.getProps();T&&sn.postRender(()=>T(h,y))}cancel(){this.isDragging=!1;const{projection:s,animationState:d}=this.visualElement;s&&(s.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(s,d,h){const{drag:y}=this.getProps();if(!h||!nv(s,y,this.currentDirection))return;const b=this.getAxisMotionValue(s);let S=this.originPoint[s]+h[s];this.constraints&&this.constraints[s]&&(S=EM(S,this.constraints[s],this.elastic[s])),b.set(S)}resolveConstraints(){const{dragConstraints:s,dragElastic:d}=this.getProps(),h=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,y=this.constraints;s&&jm(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&h?this.constraints=wM(h.layoutBox,s):this.constraints=!1,this.elastic=DM(d),y!==this.constraints&&h&&this.constraints&&!this.hasMutatedConstraints&&Si(b=>{this.constraints!==!1&&this.getAxisMotionValue(b)&&(this.constraints[b]=RM(h.layoutBox[b],this.constraints[b]))})}resolveRefConstraints(){const{dragConstraints:s,onMeasureDragConstraints:d}=this.getProps();if(!s||!jm(s))return!1;const h=s.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=Uz(h,y.root,this.visualElement.getTransformPagePoint());let S=xM(y.layout.layoutBox,b);if(d){const T=d(Mz(S));this.hasMutatedConstraints=!!T,T&&(S=zw(T))}return S}startAnimation(s){const{drag:d,dragMomentum:h,dragElastic:y,dragTransition:b,dragSnapToOrigin:S,onDragTransitionEnd:T}=this.getProps(),x=this.constraints||{},A=Si(M=>{if(!nv(M,d,this.currentDirection))return;let R=x&&x[M]||{};S&&(R={min:0,max:0});const C=y?200:1e6,q=y?40:1e7,nt={type:"inertia",velocity:h?s[M]:0,bounceStiffness:C,bounceDamping:q,timeConstant:750,restDelta:1,restSpeed:10,...b,...R};return this.startAxisValueAnimation(M,nt)});return Promise.all(A).then(T)}startAxisValueAnimation(s,d){const h=this.getAxisMotionValue(s);return xS(this.visualElement,s),h.start(TS(s,h,0,d,this.visualElement,!1))}stopAnimation(){Si(s=>this.getAxisMotionValue(s).stop())}pauseAnimation(){Si(s=>this.getAxisMotionValue(s).animation?.pause())}getAnimationState(s){return this.getAxisMotionValue(s).animation?.state}getAxisMotionValue(s){const d=`_drag${s.toUpperCase()}`,h=this.visualElement.getProps(),y=h[d];return y||this.visualElement.getValue(s,(h.initial?h.initial[s]:void 0)||0)}snapToCursor(s){Si(d=>{const{drag:h}=this.getProps();if(!nv(d,h,this.currentDirection))return;const{projection:y}=this.visualElement,b=this.getAxisMotionValue(d);if(y&&y.layout){const{min:S,max:T}=y.layout.layoutBox[d],x=b.get()||0;b.set(s[d]-vn(S,T,.5)+x)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:s,dragConstraints:d}=this.getProps(),{projection:h}=this.visualElement;if(!jm(d)||!h||!this.constraints)return;this.stopAnimation();const y={x:0,y:0};Si(S=>{const T=this.getAxisMotionValue(S);if(T&&this.constraints!==!1){const x=T.get();y[S]=AM({min:x,max:x},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(),Si(S=>{if(!nv(S,s,null))return;const T=this.getAxisMotionValue(S),{min:x,max:A}=this.constraints[S];T.set(vn(x,A,y[S]))})}addListeners(){if(!this.visualElement.current)return;CM.set(this.visualElement,this);const s=this.visualElement.current,d=Hm(s,"pointerdown",x=>{const{drag:A,dragListener:M=!0}=this.getProps();A&&M&&!vw(x.target)&&this.start(x)}),h=()=>{const{dragConstraints:x}=this.getProps();jm(x)&&x.current&&(this.constraints=this.resolveRefConstraints())},{projection:y}=this.visualElement,b=y.addEventListener("measure",h);y&&!y.layout&&(y.root&&y.root.updateScroll(),y.updateLayout()),sn.read(h);const S=Um(window,"resize",()=>this.scalePositionWithinConstraints()),T=y.addEventListener("didUpdate",(({delta:x,hasLayoutChanged:A})=>{this.isDragging&&A&&(Si(M=>{const R=this.getAxisMotionValue(M);R&&(this.originPoint[M]+=x[M].translate,R.set(R.get()+x[M].translate))}),this.visualElement.render())}));return()=>{S(),d(),b(),T&&T()}}getProps(){const s=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:h=!1,dragPropagation:y=!1,dragConstraints:b=!1,dragElastic:S=FS,dragMomentum:T=!0}=s;return{...s,drag:d,dragDirectionLock:h,dragPropagation:y,dragConstraints:b,dragElastic:S,dragMomentum:T}}}function nv(u,s,d){return(s===!0||s===u)&&(d===null||d===u)}function MM(u,s=10){let d=null;return Math.abs(u.y)>s?d="y":Math.abs(u.x)>s&&(d="x"),d}class OM extends lr{constructor(s){super(s),this.removeGroupControls=vi,this.removeListeners=vi,this.controls=new zM(s)}mount(){const{dragControls:s}=this.node.getProps();s&&(this.removeGroupControls=s.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vi}update(){const{dragControls:s}=this.node.getProps(),{dragControls:d}=this.node.prevProps||{};s!==d&&(this.removeGroupControls(),s&&(this.removeGroupControls=s.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ix=u=>(s,d)=>{u&&sn.postRender(()=>u(s,d))};class _M extends lr{constructor(){super(...arguments),this.removePointerDownListener=vi}onPointerDown(s){this.session=new Zx(s,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Gx(this.node)})}createPanHandlers(){const{onPanSessionStart:s,onPanStart:d,onPan:h,onPanEnd:y}=this.node.getProps();return{onSessionStart:Ix(s),onStart:Ix(d),onMove:h,onEnd:(b,S)=>{delete this.session,y&&sn.postRender(()=>y(b,S))}}}mount(){this.removePointerDownListener=Hm(this.node.current,"pointerdown",s=>this.onPointerDown(s))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let WS=!1;class UM extends st.Component{componentDidMount(){const{visualElement:s,layoutGroup:d,switchLayoutGroup:h,layoutId:y}=this.props,{projection:b}=s;b&&(d.group&&d.group.add(b),h&&h.register&&y&&h.register(b),WS&&b.root.didUpdate(),b.addEventListener("animationComplete",()=>{this.safeToRemove()}),b.setOptions({...b.options,onExitComplete:()=>this.safeToRemove()})),Py.hasEverUpdated=!0}getSnapshotBeforeUpdate(s){const{layoutDependency:d,visualElement:h,drag:y,isPresent:b}=this.props,{projection:S}=h;return S&&(S.isPresent=b,WS=!0,y||s.layoutDependency!==d||d===void 0||s.isPresent!==b?S.willUpdate():this.safeToRemove(),s.isPresent!==b&&(b?S.promote():S.relegate()||sn.postRender(()=>{const T=S.getStack();(!T||!T.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:s}=this.props.visualElement;s&&(s.root.didUpdate(),zS.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:s,layoutGroup:d,switchLayoutGroup:h}=this.props,{projection:y}=s;WS=!0,y&&(y.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(y),h&&h.deregister&&h.deregister(y))}safeToRemove(){const{safeToRemove:s}=this.props;s&&s()}render(){return null}}function tA(u){const[s,d]=zx(),h=st.useContext(B1);return J.jsx(UM,{...u,layoutGroup:h,switchLayoutGroup:st.useContext(Yx),isPresent:s,safeToRemove:d})}const jM={pan:{Feature:_M},drag:{Feature:OM,ProjectionNode:Dx,MeasureLayout:tA}};function eA(u,s,d){const{props:h}=u;u.animationState&&h.whileHover&&u.animationState.setActive("whileHover",d==="Start");const y="onHover"+d,b=h[y];b&&sn.postRender(()=>b(s,Nm(s)))}class NM extends lr{mount(){const{current:s}=this.node;s&&(this.unmount=yz(s,(d,h)=>(eA(this.node,h,"Start"),y=>eA(this.node,y,"End"))))}unmount(){}}class HM extends lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let s=!1;try{s=this.node.current.matches(":focus-visible")}catch{s=!0}!s||!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=Em(Um(this.node.current,"focus",()=>this.onFocus()),Um(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function nA(u,s,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&&sn.postRender(()=>b(s,Nm(s)))}class BM extends lr{mount(){const{current:s}=this.node;s&&(this.unmount=Sz(s,(d,h)=>(nA(this.node,h,"Start"),(y,{success:b})=>nA(this.node,y,b?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const PS=new WeakMap,IS=new WeakMap,LM=u=>{const s=PS.get(u.target);s&&s(u)},VM=u=>{u.forEach(LM)};function kM({root:u,...s}){const d=u||document;IS.has(d)||IS.set(d,{});const h=IS.get(d),y=JSON.stringify(s);return h[y]||(h[y]=new IntersectionObserver(VM,{root:u,...s})),h[y]}function YM(u,s,d){const h=kM(s);return PS.set(u,d),h.observe(u),()=>{PS.delete(u),h.unobserve(u)}}const qM={some:0,all:1};class GM extends lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:s={}}=this.node.getProps(),{root:d,margin:h,amount:y="some",once:b}=s,S={root:d?d.current:void 0,rootMargin:h,threshold:typeof y=="number"?y:qM[y]},T=x=>{const{isIntersecting:A}=x;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(),C=A?M:R;C&&C(x)};return YM(this.node.current,S,T)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:s,prevProps:d}=this.node;["amount","margin","root"].some(XM(s,d))&&this.startObserver()}unmount(){}}function XM({viewport:u={}},{viewport:s={}}={}){return d=>u[d]!==s[d]}const QM={...yM,...{inView:{Feature:GM},tap:{Feature:BM},focus:{Feature:HM},hover:{Feature:NM}},...jM,...{layout:{ProjectionNode:Dx,MeasureLayout:tA}}},t2=dM(QM,hM);function aA(){const u=Qe(S=>S.plugins?.eslint?.issues),s=st.useMemo(()=>{const S=[];return u?.forEach(T=>S.push(...T)),S},[u]),d=st.useMemo(()=>{const S=new Map;for(const T of s){const x=S.get(T.filePath)||[];x.push(T),S.set(T.filePath,x)}return S},[s]),h=st.useCallback(S=>u?.get(S)||[],[u]),y=s.length,b=st.useMemo(()=>({error:s.filter(S=>S.severity==="error").length,warning:s.filter(S=>S.severity==="warning").length,info:s.filter(S=>S.severity==="info").length}),[s]);return{allIssues:s,byFile:d,byDataLoc:u??new Map,getIssuesForDataLoc:h,totalCount:y,countBySeverity:b}}function ZM(){const u=Qe(y=>y.openCommandPalette),s=Qe(y=>y.closeCommandPalette),d=Qe(y=>y.setAltKeyHeld),h=Qe(y=>y.commandPalette.open);st.useEffect(()=>{const y=S=>{if((S.metaKey||S.ctrlKey)&&S.key==="k"){S.preventDefault(),h?s():u();return}if(S.key==="Escape"&&h){S.preventDefault(),s();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,s,d])}function JM({value:u,onChange:s,placeholder:d="Search issues, rules, files..."}){const h=st.useRef(null);return st.useEffect(()=>{h.current?.focus()},[]),J.jsxs("div",{style:{display:"flex",alignItems:"center",padding:"12px 16px",borderBottom:"1px solid #e5e7eb",gap:12},children:[J.jsx(a5,{size:20,color:"#9ca3af"}),J.jsx("input",{ref:h,type:"text",value:u,onChange:y=>s(y.target.value),placeholder:d,style:{flex:1,border:"none",outline:"none",fontSize:16,background:"transparent",color:"#111827"}}),u&&J.jsx("button",{onClick:()=>s(""),style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#9ca3af"},children:"✕"})]})}function KM({issue:u,isSelected:s,onClick:d}){const h=u.severity==="error"?O1:u.severity==="warning"?N1:U1,y=u.severity==="error"?"#ef4444":u.severity==="warning"?"#f59e0b":"#3b82f6",b=u.filePath.split("/").pop()||u.filePath;return J.jsxs("div",{onClick:d,style:{display:"flex",alignItems:"flex-start",padding:"10px 16px",cursor:"pointer",background:s?"#f3f4f6":"transparent",gap:12,borderBottom:"1px solid #f3f4f6"},children:[J.jsx(h,{size:16,color:y}),J.jsxs("div",{style:{flex:1,minWidth:0},children:[J.jsx("div",{style:{fontSize:14,color:"#111827",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.message}),J.jsxs("div",{style:{fontSize:12,color:"#6b7280",marginTop:2,display:"flex",alignItems:"center",gap:8},children:[J.jsxs("span",{style:{display:"flex",alignItems:"center",gap:4},children:[J.jsx(_1,{size:12}),b,":",u.line]}),J.jsxs("span",{style:{display:"flex",alignItems:"center",gap:4},children:[J.jsx(j1,{size:12}),u.ruleId]})]})]})]})}function $M({value:u,onChange:s,onClick:d}){const h=[{value:"error",label:"E",color:"#ef4444"},{value:"warning",label:"W",color:"#f59e0b"},{value:"off",label:"Off",color:"#6b7280"}];return J.jsx("div",{style:{display:"flex",gap:2},onClick:d,children:h.map(y=>J.jsx("button",{onClick:b=>{b.stopPropagation(),s(y.value)},style:{padding:"2px 6px",fontSize:10,fontWeight:500,border:"none",borderRadius:3,cursor:"pointer",background:u===y.value?y.color:"transparent",color:u===y.value?"white":"#9ca3af"},children:y.label},y.value))})}function FM({rule:u,issueCount:s,isSelected:d,onSeverityChange:h,onClick:y}){const b=st.useCallback(T=>{h(u.id,T)},[u.id,h]),S=st.useCallback(T=>{T.stopPropagation()},[]);return J.jsxs("div",{onClick:y,style:{padding:"10px 16px",cursor:"pointer",background:d?"#f3f4f6":"transparent",borderBottom:"1px solid #f3f4f6",display:"flex",alignItems:"center",gap:12},children:[J.jsx("div",{style:{width:28,height:28,borderRadius:6,background:u.severity==="error"?"#fef2f2":u.severity==="warning"?"#fffbeb":"#f3f4f6",color:u.severity==="error"?"#ef4444":u.severity==="warning"?"#f59e0b":"#6b7280",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:J.jsx(j1,{size:14})}),J.jsxs("div",{style:{flex:1,minWidth:0},children:[J.jsx("div",{style:{fontSize:13,fontWeight:500,color:u.severity==="off"?"#9ca3af":"#111827",marginBottom:2,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.name}),J.jsx("div",{style:{fontSize:11,color:"#6b7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.id})]}),s>0&&J.jsx("span",{style:{fontSize:10,fontWeight:600,background:"#fef2f2",color:"#dc2626",padding:"2px 6px",borderRadius:10,minWidth:20,textAlign:"center"},children:s}),J.jsx($M,{value:u.severity,onChange:b,onClick:S})]})}function WM({fileName:u,directory:s,count:d}){return J.jsxs("div",{style:{padding:"8px 16px",display:"flex",alignItems:"center",gap:8,background:"#fafafa",borderBottom:"1px solid #f3f4f6"},children:[J.jsx(_1,{size:14,color:"#6b7280"}),J.jsx("span",{style:{fontSize:12,fontWeight:500,color:"#374151"},children:u}),s&&J.jsx("span",{style:{fontSize:11,color:"#9ca3af",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1},children:s}),J.jsx("span",{style:{fontSize:10,fontWeight:500,color:"#6b7280",background:"#e5e7eb",padding:"1px 6px",borderRadius:10},children:d})]})}function PM({command:u,isSelected:s,onClick:d}){return J.jsxs("div",{onClick:d,style:{padding:"12px 16px",cursor:"pointer",background:s?"#f3f4f6":"transparent",borderBottom:"1px solid #f3f4f6",display:"flex",alignItems:"center",gap:12},children:[J.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")?J.jsx(e5,{size:16}):u.id.includes("stop")?J.jsx(i5,{size:16}):u.id.includes("clear")?J.jsx(n5,{size:16}):J.jsx("span",{style:{fontSize:14},children:"⚡"})}),J.jsxs("div",{style:{flex:1,minWidth:0},children:[J.jsx("div",{style:{fontWeight:500,color:"#111827",marginBottom:2},children:u.title}),u.subtitle&&J.jsx("div",{style:{fontSize:12,color:"#6b7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.subtitle})]}),J.jsx("span",{style:{fontSize:10,fontWeight:500,textTransform:"uppercase",background:"#dbeafe",color:"#1d4ed8",padding:"2px 6px",borderRadius:4},children:u.category})]})}function IM(){const u=Qe(Q=>Q.commandPalette.open),s=Qe(Q=>Q.closeCommandPalette),d=Qe(Q=>Q.openInspector),[h,y]=st.useState(""),[b,S]=st.useState(0),{allIssues:T}=aA(),x=Qe(Q=>Q),A=st.useMemo(()=>Vc.getAllCommands().filter(vt=>vt.isAvailable?vt.isAvailable(x):!0),[x]),M=st.useMemo(()=>{if(!h.trim())return A;const Q=h.toLowerCase();return A.filter(vt=>vt.title.toLowerCase().includes(Q)||vt.keywords.some(ht=>ht.toLowerCase().includes(Q))||vt.category.toLowerCase().includes(Q)||vt.subtitle&&vt.subtitle.toLowerCase().includes(Q))},[A,h]),R=st.useMemo(()=>{if(!h.trim())return T.slice(0,50);const Q=h.toLowerCase();return T.filter(vt=>vt.message.toLowerCase().includes(Q)||vt.ruleId.toLowerCase().includes(Q)||vt.filePath.toLowerCase().includes(Q)).slice(0,50)},[T,h]),C=st.useMemo(()=>Vc.getAllRules(),[]),q=st.useMemo(()=>{if(!h.trim())return C;const Q=h.toLowerCase();return C.filter(vt=>vt.name.toLowerCase().includes(Q)||vt.id.toLowerCase().includes(Q)||vt.description.toLowerCase().includes(Q)||vt.category.toLowerCase().includes(Q))},[C,h]),nt=st.useMemo(()=>{const Q=new Map;for(const vt of T){const ht=Q.get(vt.ruleId)||0;Q.set(vt.ruleId,ht+1)}return Q},[T]),ft=st.useMemo(()=>{const Q=[],vt=new Map;for(const ht of R){const ae=vt.get(ht.filePath)||[];vt.set(ht.filePath,[...ae,ht])}for(const[ht,ae]of vt){const Dt=ht.split("/"),Jt=Dt.pop()||ht,_e=Dt.join("/");Q.push({filePath:ht,fileName:Jt,directory:_e,issues:ae})}return Q},[R]),at=st.useMemo(()=>{const Q=M.map(ht=>({kind:"command",command:ht})),vt=R.map(ht=>({kind:"issue",issue:ht}));return[...Q,...vt]},[M,R]),ot=st.useCallback(Q=>{Q.key==="ArrowDown"?(Q.preventDefault(),S(vt=>Math.min(vt+1,at.length-1))):Q.key==="ArrowUp"?(Q.preventDefault(),S(vt=>Math.max(vt-1,0))):Q.key==="Enter"&&at[b]&&(Q.preventDefault(),Ut(at[b]))},[at,b]),St=st.useCallback(Q=>{d("issue",{issue:Q}),s()},[d,s]),pt=st.useCallback(async Q=>{const vt=PT();if(!vt){console.error("[CommandPalette] Plugin services not available");return}try{await Q.execute(vt)}catch(ht){console.error(`[CommandPalette] Error executing command "${Q.id}":`,ht)}},[]),Ut=st.useCallback(Q=>{Q.kind==="command"?pt(Q.command):St(Q.issue)},[pt,St]),xt=st.useCallback((Q,vt)=>{Vc.setRuleSeverity(Q,vt)},[]),Gt=st.useCallback(Q=>{d("eslint-rule",{ruleId:Q.id}),s()},[d,s]);Nd.useEffect(()=>{S(0)},[h]);const Tt=document.getElementById("uilint-portal")||document.body;return By.createPortal(J.jsx(Ox,{children:u&&J.jsx(t2.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:Q=>{Q.target===Q.currentTarget&&s()},onKeyDown:ot,children:J.jsxs(t2.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:[J.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:[J.jsxs("span",{style:{fontWeight:600,color:"#111827"},children:["UILint",T.length>0&&J.jsxs("span",{style:{fontWeight:400,color:"#6b7280",marginLeft:8},children:[T.length," issue",T.length!==1?"s":""]})]}),J.jsx("button",{onClick:s,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#6b7280"},children:J.jsx(eE,{size:20})})]}),J.jsx(JM,{value:h,onChange:y}),J.jsx("div",{style:{maxHeight:400,overflowY:"auto"},children:at.length===0?J.jsx("div",{style:{padding:24,textAlign:"center",color:"#6b7280"},children:h?"No results match your search":"No commands or issues available"}):J.jsxs(J.Fragment,{children:[M.length>0&&J.jsxs(J.Fragment,{children:[J.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Commands"}),M.map((Q,vt)=>J.jsx(PM,{command:Q,isSelected:vt===b,onClick:()=>pt(Q)},Q.id))]}),ft.length>0&&J.jsxs(J.Fragment,{children:[J.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Issues"}),ft.map(Q=>{let vt=M.length;for(const ht of ft){if(ht.filePath===Q.filePath)break;vt+=ht.issues.length}return J.jsxs(Nd.Fragment,{children:[J.jsx(WM,{fileName:Q.fileName,directory:Q.directory,count:Q.issues.length}),Q.issues.map((ht,ae)=>J.jsx(KM,{issue:ht,isSelected:vt+ae===b,onClick:()=>St(ht)},ht.id))]},Q.filePath)})]}),q.length>0&&J.jsxs(J.Fragment,{children:[J.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Rules"}),q.map((Q,vt)=>J.jsx(FM,{rule:Q,issueCount:nt.get(Q.id)??0,isSelected:M.length+R.length+vt===b,onSeverityChange:xt,onClick:()=>Gt(Q)},Q.id))]})]})}),J.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:[J.jsx("span",{children:"↑↓ Navigate"}),J.jsx("span",{children:"↵ Select"}),J.jsx("span",{children:"Esc Close"})]})]})})}),Tt)}function tO({issue:u}){const s=u.severity==="error"?O1:u.severity==="warning"?N1:U1;return J.jsxs("div",{style:{padding:16},children:[J.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12,marginBottom:16},children:[J.jsx(s,{size:24,color:H1(u.severity)}),J.jsxs("div",{children:[J.jsx("div",{style:{fontSize:16,fontWeight:600,color:"#111827"},children:u.message}),J.jsx("div",{style:{fontSize:12,color:"#6b7280",marginTop:4},children:u.severity.toUpperCase()})]})]}),J.jsxs("div",{style:{background:"#f9fafb",borderRadius:8,padding:12},children:[J.jsx(av,{icon:J.jsx(_1,{size:14}),label:"File",value:u.filePath}),J.jsx(av,{icon:J.jsx("span",{children:"📍"}),label:"Line",value:`${u.line}${u.column?`:${u.column}`:""}`}),J.jsx(av,{icon:J.jsx(j1,{size:14}),label:"Rule",value:u.ruleId}),J.jsx(av,{icon:J.jsx("span",{children:"🔌"}),label:"Plugin",value:u.pluginId})]}),u.dataLoc&&J.jsxs("div",{style:{marginTop:16},children:[J.jsx("div",{style:{fontSize:12,color:"#6b7280",marginBottom:4},children:"Data Location"}),J.jsx("code",{style:{display:"block",padding:8,background:"#1f2937",color:"#f9fafb",borderRadius:4,fontSize:12,fontFamily:"monospace",wordBreak:"break-all"},children:u.dataLoc})]})]})}function av({icon:u,label:s,value:d}){return J.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 0",borderBottom:"1px solid #e5e7eb"},children:[u,J.jsx("span",{style:{fontSize:12,color:"#6b7280",width:50},children:s}),J.jsx("span",{style:{fontSize:13,color:"#111827",flex:1,wordBreak:"break-word"},children:d})]})}function eO({dataLoc:u,onSelectIssue:s}){const{getIssuesForDataLoc:d}=aA(),h=d(u);return h.length===0?J.jsx("div",{style:{padding:16,textAlign:"center",color:"#6b7280"},children:"No issues for this element"}):J.jsxs("div",{style:{padding:16},children:[J.jsxs("div",{style:{fontSize:14,fontWeight:600,color:"#111827",marginBottom:12},children:[h.length," issue",h.length!==1?"s":""," at this location"]}),J.jsx("div",{style:{background:"#f9fafb",borderRadius:8,overflow:"hidden"},children:h.map((y,b)=>{const S=y.severity==="error"?O1:y.severity==="warning"?N1:U1;return J.jsxs("div",{onClick:()=>s(y),style:{display:"flex",alignItems:"flex-start",gap:10,padding:12,cursor:"pointer",borderBottom:b<h.length-1?"1px solid #e5e7eb":void 0},children:[J.jsx(S,{size:16,color:H1(y.severity)}),J.jsxs("div",{style:{flex:1},children:[J.jsx("div",{style:{fontSize:13,color:"#111827"},children:y.message}),J.jsx("div",{style:{fontSize:11,color:"#6b7280",marginTop:2},children:y.ruleId})]})]},y.id)})}),J.jsx("div",{style:{marginTop:12,fontSize:11,color:"#9ca3af",wordBreak:"break-all"},children:u})]})}function nO(){const u=Qe(C=>C.inspector.open),s=Qe(C=>C.inspector.panelId),d=Qe(C=>C.inspector.data),h=Qe(C=>C.inspector.width),y=Qe(C=>C.closeInspector),b=Qe(C=>C.openInspector),S=st.useMemo(()=>Vc.getAllInspectorPanels(),[]),T=C=>{b("issue",{issue:C})},{content:x,title:A}=st.useMemo(()=>{let C=null,q="Inspector";const nt=S.find(ft=>ft.id===s);if(nt){const ft=PT(),at=nt.component,ot=d??void 0;q=typeof nt.title=="function"?nt.title({data:ot,services:ft}):nt.title,C=ft?J.jsx(at,{data:ot,services:ft}):J.jsx("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:"Loading..."})}else s==="issue"&&d?.issue?(q="Issue Details",C=J.jsx(tO,{issue:d.issue})):s==="element"&&d?.dataLoc?(q="Element Issues",C=J.jsx(eO,{dataLoc:d.dataLoc,onSelectIssue:T})):C=J.jsx("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:"Select an issue or element to inspect"});return{content:C,title:q}},[s,d,S,T]),M=document.getElementById("uilint-portal")||document.body,R=h||360;return By.createPortal(J.jsx(Ox,{children:u&&J.jsxs(t2.div,{initial:{x:R,opacity:0},animate:{x:0,opacity:1},exit:{x:R,opacity:0},transition:{type:"spring",damping:25,stiffness:300},style:{position:"fixed",top:0,right:0,bottom:0,width:R,background:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(24px) saturate(180%)",WebkitBackdropFilter:"blur(24px) saturate(180%)",borderLeft:"1px solid rgba(0,0,0,0.1)",boxShadow:"-8px 0 24px rgba(0,0,0,0.15)",zIndex:99997,display:"flex",flexDirection:"column",pointerEvents:"auto"},children:[J.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:[J.jsx("span",{style:{fontWeight:600,color:"#111827"},children:A}),J.jsx("button",{onClick:y,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#6b7280"},children:J.jsx(eE,{size:20})})]}),J.jsx("div",{style:{flex:1,overflowY:"auto"},children:x})]})}),M)}let e2=!1;function aO(){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),e2=!0),u}function lO(){if(!e2)return;const u=document.getElementById("uilint-portal");u&&(u.remove(),e2=!1)}function iO({enabled:u=!0}){return ZM(),st.useEffect(()=>(u&&aO(),()=>{lO()}),[u]),u?J.jsxs(J.Fragment,{children:[J.jsx(u5,{}),J.jsx(p5,{}),J.jsx(IM,{}),J.jsx(nO,{})]}):null}const lA="ws://localhost:9234",n2=5,oO=1e3;class uO{constructor(s={}){this.options=s,this.createWebSocket=s.createWebSocket??(d=>new WebSocket(d)),this._setTimeout=s.setTimeout??globalThis.setTimeout,this._clearTimeout=s.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=lA;connect(s){if(typeof WebSocket>"u"&&!this.options.createWebSocket){console.warn("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!s||s===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=s??lA,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(s){if(!this.ws||!this.isConnected){console.warn("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(s))}catch(d){console.error("[WebSocket] Failed to send message:",d)}}on(s,d){this.handlers.has(s)||this.handlers.set(s,new Set);const h=this.handlers.get(s);return h.add(d),()=>{h.delete(d),h.size===0&&this.handlers.delete(s)}}onConnectionChange(s){return this.connectionHandlers.add(s),s(this.isConnected),()=>{this.connectionHandlers.delete(s)}}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=s=>{console.log(`[WebSocket] Disconnected from ${this.url} (code: ${s?.code??"unknown"}, reason: ${s?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=s=>{console.error("[WebSocket] Connection error:",s)},this.ws.onmessage=s=>{try{const d=JSON.parse(s.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(s,d){const h=this.handlers.get(s);if(h&&h.forEach(y=>{try{y(d)}catch(b){console.error(`[WebSocket] Handler error for type "${s}":`,b)}}),s!=="*"){const y=this.handlers.get("*");y&&y.forEach(b=>{try{b(d)}catch(S){console.error("[WebSocket] Wildcard handler error:",S)}})}}notifyConnectionChange(s){this.connectionHandlers.forEach(d=>{try{d(s)}catch(h){console.error("[WebSocket] Connection handler error:",h)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this.reconnectAttempts>=n2){console.warn(`[WebSocket] Max reconnection attempts (${n2}) reached`);return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const s=oO*Math.pow(2,this.reconnectAttempts);this.reconnectAttempts++,console.log(`[WebSocket] Reconnecting in ${s}ms (attempt ${this.reconnectAttempts}/${n2})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},s)}}const lv=new uO,iv="data-loc",sO=100;function rO(u,s){return`loc:${u}#${s}`}function cO(u){if(!u)return null;let s=u;if(s.startsWith("loc:")){s=s.slice(4);const d=s.lastIndexOf("#");d!==-1&&(s=s.slice(0,d))}return s||null}function fO(u,s){return s&&u.includes("node_modules")}class dO{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(s={}){this.options=s}setHideNodeModules(s){this.hideNodeModules=s,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const s=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),d=this.options.root??(typeof document<"u"?document.body:void 0);s&&d&&(this.observer=new s(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(s){return this.addedHandlers.add(s),()=>{this.addedHandlers.delete(s)}}onElementsRemoved(s){return this.removedHandlers.add(s),()=>{this.removedHandlers.delete(s)}}getElements(){return this.scanElements()}handleMutations(s){let d=!1;for(const h of s){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(s){return s instanceof Element?!!(s.hasAttribute(iv)||s.querySelector(`[${iv}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},sO)}reconcile(){if(typeof window>"u")return;const s=this.scanElements(),d=new Map(s.map(T=>[T.id,T])),h=new Set(d.keys()),y=new Set(this.knownElements.keys()),b=[];for(const T of s)y.has(T.id)||b.push(T);const S=[];for(const T of y)h.has(T)||S.push(T);this.knownElements.clear();for(const T of s)this.knownElements.set(T.id,T.element);if(b.length>0)for(const T of this.addedHandlers)try{T(b)}catch(x){console.error("[DOMObserverService] Error in added handler:",x)}if(S.length>0)for(const T of this.removedHandlers)try{T(S)}catch(x){console.error("[DOMObserverService] Error in removed handler:",x)}}scanElements(){const s=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!s)return[];const d=[],h=new Map,y=s(`[${iv}]`);for(const b of y){if(this.isInsideUILintUI(b))continue;const S=b.getAttribute(iv),T=cO(S??"");if(!T||fO(T,this.hideNodeModules))continue;const x=(h.get(T)??0)+1;h.set(T,x);const A=rO(T,x);d.push({id:A,dataLoc:T,element:b,tagName:b.tagName.toLowerCase(),rect:b.getBoundingClientRect()})}return d}isInsideUILintUI(s){return s.closest("[data-ui-lint]")!==null}}const ov=new dO,hO=[{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 s=u;return s.wsConnected===!0&&s.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}],pO={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map};function mO(u){return{...pO}}function gO(u,s,d){return{startScanning:()=>{d({scanStatus:"scanning"})},stopScanning:()=>{d({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(h,y)=>{const b=s(),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=s(),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=s(),b=new Set(y.scannedDataLocs);b.add(h),d({scannedDataLocs:b})},markFileRequested:h=>{const y=s(),b=new Set(y.requestedFiles);b.add(h),d({requestedFiles:b})},setScanStatus:h=>{d({scanStatus:h})}}}function yO(u){if(!u)return null;const s=u.lastIndexOf(":");if(s===-1)return null;const d=u.lastIndexOf(":",s-1);if(d===-1)return null;const h=u.substring(0,d);return h||null}function vO(u){const s=new Set;for(const d of u){const h=yO(d);h&&s.add(h)}return s}function bO({value:u,onChange:s,disabled:d}){const h=[{value:"error",label:"E",color:"#ef4444"},{value:"warning",label:"W",color:"#f59e0b"},{value:"off",label:"Off",color:"#6b7280"}];return J.jsx("div",{style:{display:"flex",gap:4},children:h.map(y=>J.jsx("button",{onClick:()=>s(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 SO({data:u}){const s=u?.ruleId,d=Qe(x=>{const A=x.plugins?.eslint;return A?.availableRules?A.availableRules.find(M=>M.id===s):null}),h=Qe(x=>{const A=x.plugins?.eslint;return A?.ruleConfigs?A.ruleConfigs.get(s||""):null}),y=Qe(x=>{const A=x.plugins?.eslint;return A?.ruleConfigUpdating?A.ruleConfigUpdating.get(s||"")??!1:!1}),b=Qe(x=>{const A=x.plugins?.eslint;if(!A?.issues)return 0;let M=0;return A.issues.forEach(R=>{M+=R.filter(C=>C.ruleId===s).length}),M}),S=st.useCallback(x=>{s&&Vc.setRuleSeverity(s,x)},[s]);if(!s)return J.jsx("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:"No rule selected"});if(!d)return J.jsxs("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:["Rule not found: ",s]});const T=h?.severity?h.severity==="warn"?"warning":h.severity:d.currentSeverity==="warn"?"warning":d.currentSeverity??"off";return J.jsxs("div",{style:{padding:16},children:[J.jsxs("div",{style:{marginBottom:16},children:[J.jsx("div",{style:{fontSize:16,fontWeight:600,color:"#111827",marginBottom:4},children:d.name}),J.jsx("div",{style:{fontSize:12,color:"#6b7280",fontFamily:"monospace"},children:d.id})]}),J.jsx("div",{style:{fontSize:14,color:"#374151",marginBottom:16,lineHeight:1.5},children:d.description}),J.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[J.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&&J.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"#fef2f2",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[b," issue",b!==1?"s":""]})]}),J.jsxs("div",{style:{marginBottom:16},children:[J.jsx("div",{style:{fontSize:12,fontWeight:500,color:"#6b7280",marginBottom:8},children:"Severity"}),J.jsx(bO,{value:T,onChange:S,disabled:y}),y&&J.jsx("div",{style:{fontSize:11,color:"#6b7280",marginTop:4},children:"Updating..."})]}),d.docs&&J.jsx("div",{style:{marginTop:16},children:J.jsx("a",{href:d.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"#3b82f6",textDecoration:"none"},children:"View documentation"})})]})}const iA=["lint:result","lint:progress","file:changed","workspace:info","rules:metadata","rule:config:result","rule:config:changed"],TO={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 s=mO();let d=s;const b=gO(u,()=>d,S=>{d={...d,...S},u.setState(S)});return{...s,...b}},commands:hO,inspectorPanels:[{id:"eslint-rule",title:({data:u})=>u?.ruleId?`Rule: ${u.ruleId}`:"Rule Details",component:SO,priority:10}],handlesRules:u=>u.id.startsWith("uilint/")||u.category==="static"?!0:(u.id==="uilint/semantic-vision",!1),getIssues:u=>{const s=u,d=new Map;return s.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 d=u.getState().plugins?.eslint;if(!d?.availableRules)return[];const h=d.ruleConfigs??new Map;return d.availableRules.map(y=>{const S=h.get(y.id)?.severity??y.currentSeverity??y.defaultSeverity,T=S==="warn"?"warning":S;return{id:y.id,name:y.name,description:y.description,category:y.category,severity:T,fixable:!1,pluginId:"eslint",docs:y.docs}})},setRuleSeverity:(u,s,d)=>{const h=s==="warning"?"warn":s,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,s)=>(s.getState().plugins?.eslint?.ruleConfigs??new Map).get(u)?.options??{},setRuleConfig:(u,s,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:s,requestId:`rule-config-${Date.now()}`}),console.log("[ESLint Plugin] Setting rule config:",u,s)},initialize:u=>{console.log("[ESLint Plugin] Initializing...");const s=[];for(const h of iA){const y=u.websocket.on(h,b=>{wO(u,b)});s.push(y)}console.log("[ESLint Plugin] Subscribed to",iA.length,"message types");const d=u.domObserver.onElementsAdded(h=>{EO(u,h)});return s.push(d),console.log("[ESLint Plugin] Subscribed to DOM observer"),()=>{console.log("[ESLint Plugin] Disposing..."),s.forEach(h=>h())}},dispose:u=>{console.log("[ESLint Plugin] Disposed")}};function EO(u,s){const h=u.getState().plugins?.eslint;if(console.log("[ESLint Plugin] handleElementsAdded called with",s.length,"elements"),console.log("[ESLint Plugin] State check - scanStatus:",h?.scanStatus,"wsConnected:",u.websocket.isConnected),!h){console.warn("[ESLint Plugin] ESLint slice not found in state");return}if(h.scanStatus!=="scanning"){console.log("[ESLint Plugin] Scanning not active (status:",h.scanStatus,"), skipping lint requests");return}if(!u.websocket.isConnected){console.log("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const y=s.map(x=>x.dataLoc),b=vO(y);if(b.size===0){console.log("[ESLint Plugin] No file paths extracted from",s.length,"elements");return}console.log("[ESLint Plugin] Detected",s.length,"elements from",b.size,"unique files:",Array.from(b).slice(0,3));const S=h.requestedFiles??new Set,T=[];for(const x of b)if(!S.has(x)){T.push(x);const A=`lint-${Date.now()}-${x.replace(/[^a-zA-Z0-9]/g,"-")}`;u.websocket.send({type:"lint:file",filePath:x,requestId:A}),console.log("[ESLint Plugin] Sent lint:file request for",x)}if(T.length>0){const x=new Set(S);for(const A of T)x.add(A);u.setState({requestedFiles:x}),console.log("[ESLint Plugin] Updated requestedFiles with",T.length,"new files")}else console.log("[ESLint Plugin] All files already requested, skipping")}function wO(u,s){switch(s.type){case"lint:result":{const{filePath:d,issues:h}=s;console.log("[ESLint Plugin] Received lint result:",d,h.length,"issues");const y=h.map(T=>d5({...T,dataLoc:T.dataLoc||`${d}:${T.line}:${T.column||0}`})).filter(T=>T!==null),b=new Map;for(const T of y){const x=b.get(T.dataLoc)||[];b.set(T.dataLoc,[...x,T])}const S=u.getState();for(const[T,x]of b){const A=new Map(S.issues);A.set(T,x),u.setState({issues:A})}break}case"lint:progress":{const{filePath:d,phase:h}=s;console.log("[ESLint Plugin] Lint progress:",d,h);break}case"file:changed":{const{filePath:d}=s;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}=s;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}=s;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}=s,T=u.getState(),x=new Map(T.ruleConfigUpdating);if(x.delete(d),u.setState({ruleConfigUpdating:x}),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}=s,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 oA=!1;function uA(u){if(typeof document>"u"||oA)return;const s=document.createElement("style");s.setAttribute("data-uilint-devtools-styles","true"),s.textContent=u,document.head.appendChild(s),oA=!0}const sA='@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-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--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-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-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-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--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-3{margin-top:calc(var(--spacing)*3)}.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-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-10{width:calc(var(--spacing)*10)}.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-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-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}: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-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-l{border-left-style:var(--tw-border-style);border-left-width:1px}.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-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-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-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-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.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)}.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-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.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-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.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}.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-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-amber-700{color:var(--color-amber-700)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-red-700{color:var(--color-red-700)}.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 a2=!1;const rA="uilint-devtool-root";function cA(){return typeof window<"u"}function xO({enabled:u=!0}){const[s,d]=st.useState(!1),[h,y]=st.useState(a2),b=st.useRef(null),S=st.useRef(!1);return st.useEffect(()=>{d(!0)},[]),st.useEffect(()=>{if(!cA()||!u)return;uA(sA);const T=document.querySelector(`.${rA}`);if(T){b.current=T,S.current=!1;return}const x=document.createElement("div");return x.className=rA,x.setAttribute("data-ui-lint-root","true"),document.body.appendChild(x),b.current=x,S.current=!0,()=>{S.current&&b.current?.remove(),b.current=null,S.current=!1}},[u]),st.useEffect(()=>{if(!cA()||!u||!s)return;let T=null;async function x(){a2||(Vc.register(TO),await $D({websocket:lv,domObserver:ov}),a2=!0,console.log("[DevTool] Plugins initialized")),y(!0),lv.connect(),T=lv.onConnectionChange(A=>{A?(console.log("[DevTool] WebSocket connected, starting DOM observer"),ov.start()):(console.log("[DevTool] WebSocket disconnected, stopping DOM observer"),ov.stop())})}return x(),()=>{T?.(),lv.disconnect(),ov.stop()}},[u,s]),!u||!s||!h?null:J.jsx(iO,{enabled:u})}function fA(u,s){u.setAttribute("data-position",s)}function AO(){if(typeof document>"u")return"light";const u=document.documentElement,s=document.body;if(u.classList.contains("dark")||s.classList.contains("dark"))return"dark";if(u.classList.contains("light")||s.classList.contains("light"))return"light";const d=u.getAttribute("data-theme"),h=s.getAttribute("data-theme");if(d==="dark"||h==="dark")return"dark";if(d==="light"||h==="light")return"light";const y=u.getAttribute("data-mode"),b=s.getAttribute("data-mode");return y==="dark"||b==="dark"?"dark":y==="light"||b==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function dA(u,s){u.classList.remove("light","dark"),u.removeAttribute("data-theme"),s!=="system"&&(u.classList.add(s),u.setAttribute("data-theme",s))}function RO(){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(){uA(sA);const d=document.createElement("div");d.className="dev-tool-root",d.setAttribute("data-ui-lint-root","true"),document.body.appendChild(d),this.rootEl=d,fA(d,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=HD.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&&(fA(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=AO();dA(this.rootEl,h)}else dA(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(J.jsx(xO,{enabled:this.getEnabled()}))}}customElements.define("uilint-devtools",u)}RO()})();
|
|
251
|
+
`),()=>{st.contains(it)&&st.removeChild(it)}},[s]),Z.jsx(Q3,{isPresent:s,childRef:b,sizeRef:S,children:at.cloneElement(u,{ref:A})})}const J3=({children:u,initial:s,isPresent:d,onExitComplete:h,custom:y,presenceAffectsLayout:b,mode:S,anchorX:T,root:w})=>{const A=k1(K3),M=at.useId();let R=!0,C=at.useMemo(()=>(R=!1,{id:M,initial:s,isPresent:d,custom:y,onExitComplete:V=>{A.set(V,!0);for(const lt of A.values())if(!lt)return;h&&h()},register:V=>(A.set(V,!1),()=>A.delete(V))}),[d,A,h]);return b&&R&&(C={...C}),at.useMemo(()=>{A.forEach((V,lt)=>A.set(lt,!1))},[d]),at.useEffect(()=>{!d&&!A.size&&h&&h()},[d]),S==="popLayout"&&(u=Z.jsx(Z3,{isPresent:d,anchorX:T,root:w,children:u})),Z.jsx(L0.Provider,{value:C,children:u})};function K3(){return new Map}function Mx(u=!0){const s=at.useContext(L0);if(s===null)return[!0,null];const{isPresent:d,onExitComplete:h,register:y}=s,b=at.useId();at.useEffect(()=>{if(u)return y(b)},[u]);const S=at.useCallback(()=>u&&h&&h(b),[b,h,u]);return!d&&h?[!1,S]:[!0]}const I0=u=>u.key||"";function Ox(u){const s=[];return at.Children.forEach(u,d=>{at.isValidElement(d)&&s.push(d)}),s}const _x=({children:u,custom:s,initial:d=!0,onExitComplete:h,presenceAffectsLayout:y=!0,mode:b="sync",propagate:S=!1,anchorX:T="left",root:w})=>{const[A,M]=Mx(S),R=at.useMemo(()=>Ox(u),[u]),C=S&&!A?[]:R.map(I0),V=at.useRef(!0),lt=at.useRef(R),dt=k1(()=>new Map),it=at.useRef(new Set),[st,bt]=at.useState(R),[pt,Ot]=at.useState(R);lE(()=>{V.current=!1,lt.current=R;for(let Tt=0;Tt<pt.length;Tt++){const Q=I0(pt[Tt]);C.includes(Q)?(dt.delete(Q),it.current.delete(Q)):dt.get(Q)!==!0&&dt.set(Q,!1)}},[pt,C.length,C.join("-")]);const xt=[];if(R!==st){let Tt=[...R];for(let Q=0;Q<pt.length;Q++){const vt=pt[Q],J=I0(vt);C.includes(J)||(Tt.splice(Q,0,vt),xt.push(vt))}return b==="wait"&&xt.length&&(Tt=xt),Ot(Ox(Tt)),bt(R),null}process.env.NODE_ENV!=="production"&&b==="wait"&&pt.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:Yt}=at.useContext(V1);return Z.jsx(Z.Fragment,{children:pt.map(Tt=>{const Q=I0(Tt),vt=S&&!A?!1:R===pt||C.includes(Q),J=()=>{if(it.current.has(Q))return;if(it.current.add(Q),dt.has(Q))dt.set(Q,!0);else return;let qt=!0;dt.forEach(wt=>{wt||(qt=!1)}),qt&&(Yt?.(),Ot(lt.current),S&&M?.(),h&&h())};return Z.jsx(J3,{isPresent:vt,initial:!V.current||d?void 0:!1,custom:s,presenceAffectsLayout:y,mode:b,root:w,onExitComplete:vt?void 0:J,anchorX:T,children:Tt},Q)})})},Ux=at.createContext({strict:!1}),jx={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 Nx=!1;function $3(){if(Nx)return;const u={};for(const s in jx)u[s]={isEnabled:d=>jx[s].some(h=>!!d[h])};zw(u),Nx=!0}function Hx(){return $3(),N5()}function F3(u){const s=Hx();for(const d in u)s[d]={...s[d],...u[d]};zw(s)}const W3=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 tv(u){return u.startsWith("while")||u.startsWith("drag")&&u!=="draggable"||u.startsWith("layout")||u.startsWith("onTap")||u.startsWith("onPan")||u.startsWith("onLayout")||W3.has(u)}let Bx=u=>!tv(u);function P3(u){typeof u=="function"&&(Bx=s=>s.startsWith("on")?!tv(s):u(s))}try{P3(require("@emotion/is-prop-valid").default)}catch{}function I3(u,s,d){const h={};for(const y in u)y==="values"&&typeof u.values=="object"||(Bx(y)||d===!0&&tv(y)||!s&&!tv(y)||u.draggable&&y.startsWith("onDrag"))&&(h[y]=u[y]);return h}const ev=at.createContext({});function tM(u,s){if(J0(u)){const{initial:d,animate:h}=u;return{initial:d===!1||Mm(d)?d:void 0,animate:Mm(h)?h:void 0}}return u.inherit!==!1?s:{}}function eM(u){const{initial:s,animate:d}=tM(u,at.useContext(ev));return at.useMemo(()=>({initial:s,animate:d}),[Lx(s),Lx(d)])}function Lx(u){return Array.isArray(u)?u.join(" "):u}const JS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Vx(u,s,d){for(const h in s)!Va(s[h])&&!Yw(h,d)&&(u[h]=s[h])}function nM({transformTemplate:u},s){return at.useMemo(()=>{const d=JS();return kS(d,s,u),Object.assign({},d.vars,d.style)},[s])}function aM(u,s){const d=u.style||{},h={};return Vx(h,d,u),Object.assign(h,nM(u,s)),h}function lM(u,s){const d={},h=aM(u,s);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 kx=()=>({...JS(),attrs:{}});function iM(u,s,d,h){const y=at.useMemo(()=>{const b=kx();return qw(b,s,Xw(h),u.transformTemplate,u.style),{...b.attrs,style:{...b.style}}},[s]);if(u.style){const b={};Vx(b,u.style,u),y.style={...b,...y.style}}return y}const oM=["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:!!(oM.indexOf(u)>-1||/[A-Z]/u.test(u))}function uM(u,s,d,{latestValues:h},y,b=!1,S){const w=(S??KS(u)?iM:lM)(s,h,y,u),A=I3(s,typeof u=="string",b),M=u!==at.Fragment?{...A,...w,ref:d}:{},{children:R}=s,C=at.useMemo(()=>Va(R)?R.get():R,[R]);return at.createElement(u,{...M,children:C})}function sM({scrapeMotionValuesFromProps:u,createRenderState:s},d,h,y){return{latestValues:rM(d,h,y,u),renderState:s()}}function rM(u,s,d,h){const y={},b=h(u,{});for(const C in b)y[C]=W0(b[C]);let{initial:S,animate:T}=u;const w=J0(u),A=Rw(u);s&&A&&!w&&u.inherit!==!1&&(S===void 0&&(S=s.initial),T===void 0&&(T=s.animate));let M=d?d.initial===!1:!1;M=M||S===!1;const R=M?T:S;if(R&&typeof R!="boolean"&&!Z0(R)){const C=Array.isArray(R)?R:[R];for(let V=0;V<C.length;V++){const lt=xS(u,C[V]);if(lt){const{transitionEnd:dt,transition:it,...st}=lt;for(const bt in st){let pt=st[bt];if(Array.isArray(pt)){const Ot=M?pt.length-1:0;pt=pt[Ot]}pt!==null&&(y[bt]=pt)}for(const bt in dt)y[bt]=dt[bt]}}}return y}const Yx=u=>(s,d)=>{const h=at.useContext(ev),y=at.useContext(L0),b=()=>sM(u,s,h,y);return d?b():k1(b)},cM=Yx({scrapeMotionValuesFromProps:qS,createRenderState:JS}),fM=Yx({scrapeMotionValuesFromProps:Qw,createRenderState:kx}),dM=Symbol.for("motionComponentSymbol");function hM(u,s,d){const h=at.useRef(d);at.useInsertionEffect(()=>{h.current=d});const y=at.useRef(null);return at.useCallback(b=>{b&&u.onMount?.(b),s&&(b?s.mount(b):s.unmount());const S=h.current;if(typeof S=="function")if(b){const T=S(b);typeof T=="function"&&(y.current=T)}else y.current?(y.current(),y.current=null):S(b);else S&&(S.current=b)},[s])}const qx=at.createContext({});function jm(u){return u&&typeof u=="object"&&Object.prototype.hasOwnProperty.call(u,"current")}function pM(u,s,d,h,y,b){const{visualElement:S}=at.useContext(ev),T=at.useContext(Ux),w=at.useContext(L0),A=at.useContext(ZS).reducedMotion,M=at.useRef(null);h=h||T.renderer,!M.current&&h&&(M.current=h(u,{visualState:s,parent:S,props:d,presenceContext:w,blockInitialAnimation:w?w.initial===!1:!1,reducedMotionConfig:A,isSVG:b}));const R=M.current,C=at.useContext(qx);R&&!R.projection&&y&&(R.type==="html"||R.type==="svg")&&mM(M.current,d,y,C);const V=at.useRef(!1);at.useInsertionEffect(()=>{R&&V.current&&R.update(d,w)});const lt=d[lw],dt=at.useRef(!!lt&&!window.MotionHandoffIsComplete?.(lt)&&window.MotionHasOptimisedAnimation?.(lt));return lE(()=>{R&&(V.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),dt.current&&R.animationState&&R.animationState.animateChanges())}),at.useEffect(()=>{R&&(!dt.current&&R.animationState&&R.animationState.animateChanges(),dt.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(lt)}),dt.current=!1),R.enteringChildren=void 0)}),R}function mM(u,s,d,h){const{layoutId:y,layout:b,drag:S,dragConstraints:T,layoutScroll:w,layoutRoot:A,layoutCrossfade:M}=s;u.projection=new d(u.latestValues,s["data-framer-portal-id"]?void 0:Gx(u.parent)),u.projection.setOptions({layoutId:y,layout:b,alwaysMeasureLayout:!!S||T&&jm(T),visualElement:u,animationType:typeof b=="string"?b:"both",initialPromotionConfig:h,crossfade:M,layoutScroll:w,layoutRoot:A})}function Gx(u){if(u)return u.options.allowProjection!==!1?u.projection:Gx(u.parent)}function $S(u,{forwardMotionProps:s=!1,type:d}={},h,y){h&&F3(h);const b=d?d==="svg":KS(u),S=b?fM:cM;function T(A,M){let R;const C={...at.useContext(ZS),...A,layoutId:gM(A)},{isStatic:V}=C,lt=eM(A),dt=S(A,V);if(!V&&aE){yM(C,h);const it=vM(C);R=it.MeasureLayout,lt.visualElement=pM(u,dt,C,y,it.ProjectionNode,b)}return Z.jsxs(ev.Provider,{value:lt,children:[R&<.visualElement?Z.jsx(R,{visualElement:lt.visualElement,...C}):null,uM(u,A,hM(dt,lt.visualElement,M),dt,V,s,b)]})}T.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const w=at.forwardRef(T);return w[dM]=u,w}function gM({layoutId:u}){const s=at.useContext(V1).id;return s&&u!==void 0?s+"-"+u:u}function yM(u,s){const d=at.useContext(Ux).strict;if(process.env.NODE_ENV!=="production"&&s&&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?Hd(!1,h,"lazy-strict-mode"):Yu(!1,h,"lazy-strict-mode")}}function vM(u){const s=Hx(),{drag:d,layout:h}=s;if(!d&&!h)return{};const y={...d,...h};return{MeasureLayout:d?.isEnabled(u)||h?.isEnabled(u)?y.MeasureLayout:void 0,ProjectionNode:y.ProjectionNode}}function bM(u,s){if(typeof Proxy>"u")return $S;const d=new Map,h=(b,S)=>$S(b,S,u,s),y=(b,S)=>(process.env.NODE_ENV!=="production"&&Z1(!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,$S(S,void 0,u,s)),d.get(S))})}const SM=(u,s)=>s.isSVG??KS(u)?new P5(s):new Z5(s,{allowProjection:u!==at.Fragment});class TM extends lr{constructor(s){super(s),s.animationState||(s.animationState=a3(s))}updateAnimationControlsSubscription(){const{animate:s}=this.node.getProps();Z0(s)&&(this.unmountControls=s.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:s}=this.node.getProps(),{animate:d}=this.node.prevProps||{};s!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let EM=0;class wM extends lr{constructor(){super(...arguments),this.id=EM++}update(){if(!this.node.presenceContext)return;const{isPresent:s,onExitComplete:d}=this.node.presenceContext,{isPresent:h}=this.node.prevPresenceContext||{};if(!this.node.animationState||s===h)return;const y=this.node.animationState.setActive("exit",!s);d&&!s&&y.then(()=>{d(this.id)})}mount(){const{register:s,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),s&&(this.unmount=s(this.id))}unmount(){}}const xM={animation:{Feature:TM},exit:{Feature:wM}};function Nm(u){return{point:{x:u.pageX,y:u.pageY}}}const AM=u=>s=>_S(s)&&u(s,Nm(s));function Hm(u,s,d,h){return Um(u,s,AM(d),h)}const Xx=({current:u})=>u?u.ownerDocument.defaultView:null,Qx=(u,s)=>Math.abs(u-s);function RM(u,s){const d=Qx(u.x,s.x),h=Qx(u.y,s.y);return Math.sqrt(d**2+h**2)}const Zx=new Set(["auto","scroll"]);class Jx{constructor(s,d,{transformPagePoint:h,contextWindow:y=window,dragSnapToOrigin:b=!1,distanceThreshold:S=3,element:T}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=V=>{this.handleScroll(V.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const V=WS(this.lastMoveEventInfo,this.history),lt=this.startEvent!==null,dt=RM(V.offset,{x:0,y:0})>=this.distanceThreshold;if(!lt&&!dt)return;const{point:it}=V,{timestamp:st}=ba;this.history.push({...it,timestamp:st});const{onStart:bt,onMove:pt}=this.handlers;lt||(bt&&bt(this.lastMoveEvent,V),this.startEvent=this.lastMoveEvent),pt&&pt(this.lastMoveEvent,V)},this.handlePointerMove=(V,lt)=>{this.lastMoveEvent=V,this.lastMoveEventInfo=FS(lt,this.transformPagePoint),sn.update(this.updatePoint,!0)},this.handlePointerUp=(V,lt)=>{this.end();const{onEnd:dt,onSessionEnd:it,resumeAnimation:st}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&st&&st(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const bt=WS(V.type==="pointercancel"?this.lastMoveEventInfo:FS(lt,this.transformPagePoint),this.history);this.startEvent&&dt&&dt(V,bt),it&&it(V,bt)},!_S(s))return;this.dragSnapToOrigin=b,this.handlers=d,this.transformPagePoint=h,this.distanceThreshold=S,this.contextWindow=y||window;const w=Nm(s),A=FS(w,this.transformPagePoint),{point:M}=A,{timestamp:R}=ba;this.history=[{...M,timestamp:R}];const{onSessionStart:C}=d;C&&C(s,WS(A,this.history)),this.removeListeners=Em(Hm(this.contextWindow,"pointermove",this.handlePointerMove),Hm(this.contextWindow,"pointerup",this.handlePointerUp),Hm(this.contextWindow,"pointercancel",this.handlePointerUp)),T&&this.startScrollTracking(T)}startScrollTracking(s){let d=s.parentElement;for(;d;){const h=getComputedStyle(d);(Zx.has(h.overflowX)||Zx.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(s){const d=this.scrollPositions.get(s);if(!d)return;const h=s===window,y=h?{x:window.scrollX,y:window.scrollY}:{x:s.scrollLeft,y:s.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(s,y),sn.update(this.updatePoint,!0))}updateHandlers(s){this.handlers=s}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tr(this.updatePoint)}}function FS(u,s){return s?{point:s(u.point)}:u}function Kx(u,s){return{x:u.x-s.x,y:u.y-s.y}}function WS({point:u},s){return{point:u,delta:Kx(u,$x(s)),offset:Kx(u,DM(s)),velocity:zM(s,.1)}}function DM(u){return u[0]}function $x(u){return u[u.length-1]}function zM(u,s){if(u.length<2)return{x:0,y:0};let d=u.length-1,h=null;const y=$x(u);for(;d>=0&&(h=u[d],!(y.timestamp-h.timestamp>Ko(s)));)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 CM(u,{min:s,max:d},h){return s!==void 0&&u<s?u=h?vn(s,u,h.min):Math.max(u,s):d!==void 0&&u>d&&(u=h?vn(d,u,h.max):Math.min(u,d)),u}function Fx(u,s,d){return{min:s!==void 0?u.min+s:void 0,max:d!==void 0?u.max+d-(u.max-u.min):void 0}}function MM(u,{top:s,left:d,bottom:h,right:y}){return{x:Fx(u.x,d,y),y:Fx(u.y,s,h)}}function Wx(u,s){let d=s.min-u.min,h=s.max-u.max;return s.max-s.min<u.max-u.min&&([d,h]=[h,d]),{min:d,max:h}}function OM(u,s){return{x:Wx(u.x,s.x),y:Wx(u.y,s.y)}}function _M(u,s){let d=.5;const h=Fa(u),y=Fa(s);return y>h?d=wm(s.min,s.max-h,u.min):h>y&&(d=wm(u.min,u.max-y,s.min)),Jo(0,1,d)}function UM(u,s){const d={};return s.min!==void 0&&(d.min=s.min-u.min),s.max!==void 0&&(d.max=s.max-u.min),d}const PS=.35;function jM(u=PS){return u===!1?u=0:u===!0&&(u=PS),{x:Px(u,"left","right"),y:Px(u,"top","bottom")}}function Px(u,s,d){return{min:Ix(u,s),max:Ix(u,d)}}function Ix(u,s){return typeof u=="number"?u:u[s]||0}const NM=new WeakMap;class HM{constructor(s){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=s}start(s,{snapToCursor:d=!1,distanceThreshold:h}={}){const{presenceContext:y}=this.visualElement;if(y&&y.isPresent===!1)return;const b=R=>{d?(this.stopAnimation(),this.snapToCursor(Nm(R).point)):this.pauseAnimation()},S=(R,C)=>{this.stopAnimation();const{drag:V,dragPropagation:lt,onDragStart:dt}=this.getProps();if(V&&!lt&&(this.openDragLock&&this.openDragLock(),this.openDragLock=w5(V),!this.openDragLock))return;this.latestPointerEvent=R,this.latestPanInfo=C,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ti(st=>{let bt=this.getAxisMotionValue(st).get()||0;if($o.test(bt)){const{projection:pt}=this.visualElement;if(pt&&pt.layout){const Ot=pt.layout.layoutBox[st];Ot&&(bt=Fa(Ot)*(parseFloat(bt)/100))}}this.originPoint[st]=bt}),dt&&sn.postRender(()=>dt(R,C)),RS(this.visualElement,"transform");const{animationState:it}=this.visualElement;it&&it.setActive("whileDrag",!0)},T=(R,C)=>{this.latestPointerEvent=R,this.latestPanInfo=C;const{dragPropagation:V,dragDirectionLock:lt,onDirectionLock:dt,onDrag:it}=this.getProps();if(!V&&!this.openDragLock)return;const{offset:st}=C;if(lt&&this.currentDirection===null){this.currentDirection=BM(st),this.currentDirection!==null&&dt&&dt(this.currentDirection);return}this.updateAxis("x",C.point,st),this.updateAxis("y",C.point,st),this.visualElement.render(),it&&it(R,C)},w=(R,C)=>{this.latestPointerEvent=R,this.latestPanInfo=C,this.stop(R,C),this.latestPointerEvent=null,this.latestPanInfo=null},A=()=>Ti(R=>this.getAnimationState(R)==="paused"&&this.getAxisMotionValue(R).animation?.play()),{dragSnapToOrigin:M}=this.getProps();this.panSession=new Jx(s,{onSessionStart:b,onStart:S,onMove:T,onSessionEnd:w,resumeAnimation:A},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:M,distanceThreshold:h,contextWindow:Xx(this.visualElement),element:this.visualElement.current})}stop(s,d){const h=s||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:T}=this.getProps();T&&sn.postRender(()=>T(h,y))}cancel(){this.isDragging=!1;const{projection:s,animationState:d}=this.visualElement;s&&(s.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(s,d,h){const{drag:y}=this.getProps();if(!h||!nv(s,y,this.currentDirection))return;const b=this.getAxisMotionValue(s);let S=this.originPoint[s]+h[s];this.constraints&&this.constraints[s]&&(S=CM(S,this.constraints[s],this.elastic[s])),b.set(S)}resolveConstraints(){const{dragConstraints:s,dragElastic:d}=this.getProps(),h=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,y=this.constraints;s&&jm(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&h?this.constraints=MM(h.layoutBox,s):this.constraints=!1,this.elastic=jM(d),y!==this.constraints&&h&&this.constraints&&!this.hasMutatedConstraints&&Ti(b=>{this.constraints!==!1&&this.getAxisMotionValue(b)&&(this.constraints[b]=UM(h.layoutBox[b],this.constraints[b]))})}resolveRefConstraints(){const{dragConstraints:s,onMeasureDragConstraints:d}=this.getProps();if(!s||!jm(s))return!1;const h=s.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=k5(h,y.root,this.visualElement.getTransformPagePoint());let S=OM(y.layout.layoutBox,b);if(d){const T=d(B5(S));this.hasMutatedConstraints=!!T,T&&(S=Mw(T))}return S}startAnimation(s){const{drag:d,dragMomentum:h,dragElastic:y,dragTransition:b,dragSnapToOrigin:S,onDragTransitionEnd:T}=this.getProps(),w=this.constraints||{},A=Ti(M=>{if(!nv(M,d,this.currentDirection))return;let R=w&&w[M]||{};S&&(R={min:0,max:0});const C=y?200:1e6,V=y?40:1e7,lt={type:"inertia",velocity:h?s[M]:0,bounceStiffness:C,bounceDamping:V,timeConstant:750,restDelta:1,restSpeed:10,...b,...R};return this.startAxisValueAnimation(M,lt)});return Promise.all(A).then(T)}startAxisValueAnimation(s,d){const h=this.getAxisMotionValue(s);return RS(this.visualElement,s),h.start(wS(s,h,0,d,this.visualElement,!1))}stopAnimation(){Ti(s=>this.getAxisMotionValue(s).stop())}pauseAnimation(){Ti(s=>this.getAxisMotionValue(s).animation?.pause())}getAnimationState(s){return this.getAxisMotionValue(s).animation?.state}getAxisMotionValue(s){const d=`_drag${s.toUpperCase()}`,h=this.visualElement.getProps(),y=h[d];return y||this.visualElement.getValue(s,(h.initial?h.initial[s]:void 0)||0)}snapToCursor(s){Ti(d=>{const{drag:h}=this.getProps();if(!nv(d,h,this.currentDirection))return;const{projection:y}=this.visualElement,b=this.getAxisMotionValue(d);if(y&&y.layout){const{min:S,max:T}=y.layout.layoutBox[d],w=b.get()||0;b.set(s[d]-vn(S,T,.5)+w)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:s,dragConstraints:d}=this.getProps(),{projection:h}=this.visualElement;if(!jm(d)||!h||!this.constraints)return;this.stopAnimation();const y={x:0,y:0};Ti(S=>{const T=this.getAxisMotionValue(S);if(T&&this.constraints!==!1){const w=T.get();y[S]=_M({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(),Ti(S=>{if(!nv(S,s,null))return;const T=this.getAxisMotionValue(S),{min:w,max:A}=this.constraints[S];T.set(vn(w,A,y[S]))})}addListeners(){if(!this.visualElement.current)return;NM.set(this.visualElement,this);const s=this.visualElement.current,d=Hm(s,"pointerdown",w=>{const{drag:A,dragListener:M=!0}=this.getProps();A&&M&&!bw(w.target)&&this.start(w)}),h=()=>{const{dragConstraints:w}=this.getProps();jm(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()),sn.read(h);const S=Um(window,"resize",()=>this.scalePositionWithinConstraints()),T=y.addEventListener("didUpdate",(({delta:w,hasLayoutChanged:A})=>{this.isDragging&&A&&(Ti(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(),T&&T()}}getProps(){const s=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:h=!1,dragPropagation:y=!1,dragConstraints:b=!1,dragElastic:S=PS,dragMomentum:T=!0}=s;return{...s,drag:d,dragDirectionLock:h,dragPropagation:y,dragConstraints:b,dragElastic:S,dragMomentum:T}}}function nv(u,s,d){return(s===!0||s===u)&&(d===null||d===u)}function BM(u,s=10){let d=null;return Math.abs(u.y)>s?d="y":Math.abs(u.x)>s&&(d="x"),d}class LM extends lr{constructor(s){super(s),this.removeGroupControls=bi,this.removeListeners=bi,this.controls=new HM(s)}mount(){const{dragControls:s}=this.node.getProps();s&&(this.removeGroupControls=s.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bi}update(){const{dragControls:s}=this.node.getProps(),{dragControls:d}=this.node.prevProps||{};s!==d&&(this.removeGroupControls(),s&&(this.removeGroupControls=s.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const tA=u=>(s,d)=>{u&&sn.postRender(()=>u(s,d))};class VM extends lr{constructor(){super(...arguments),this.removePointerDownListener=bi}onPointerDown(s){this.session=new Jx(s,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Xx(this.node)})}createPanHandlers(){const{onPanSessionStart:s,onPanStart:d,onPan:h,onPanEnd:y}=this.node.getProps();return{onSessionStart:tA(s),onStart:tA(d),onMove:h,onEnd:(b,S)=>{delete this.session,y&&sn.postRender(()=>y(b,S))}}}mount(){this.removePointerDownListener=Hm(this.node.current,"pointerdown",s=>this.onPointerDown(s))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let IS=!1;class kM extends at.Component{componentDidMount(){const{visualElement:s,layoutGroup:d,switchLayoutGroup:h,layoutId:y}=this.props,{projection:b}=s;b&&(d.group&&d.group.add(b),h&&h.register&&y&&h.register(b),IS&&b.root.didUpdate(),b.addEventListener("animationComplete",()=>{this.safeToRemove()}),b.setOptions({...b.options,onExitComplete:()=>this.safeToRemove()})),P0.hasEverUpdated=!0}getSnapshotBeforeUpdate(s){const{layoutDependency:d,visualElement:h,drag:y,isPresent:b}=this.props,{projection:S}=h;return S&&(S.isPresent=b,IS=!0,y||s.layoutDependency!==d||d===void 0||s.isPresent!==b?S.willUpdate():this.safeToRemove(),s.isPresent!==b&&(b?S.promote():S.relegate()||sn.postRender(()=>{const T=S.getStack();(!T||!T.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:s}=this.props.visualElement;s&&(s.root.didUpdate(),OS.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:s,layoutGroup:d,switchLayoutGroup:h}=this.props,{projection:y}=s;IS=!0,y&&(y.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(y),h&&h.deregister&&h.deregister(y))}safeToRemove(){const{safeToRemove:s}=this.props;s&&s()}render(){return null}}function eA(u){const[s,d]=Mx(),h=at.useContext(V1);return Z.jsx(kM,{...u,layoutGroup:h,switchLayoutGroup:at.useContext(qx),isPresent:s,safeToRemove:d})}const YM={pan:{Feature:VM},drag:{Feature:LM,ProjectionNode:zx,MeasureLayout:eA}};function nA(u,s,d){const{props:h}=u;u.animationState&&h.whileHover&&u.animationState.setActive("whileHover",d==="Start");const y="onHover"+d,b=h[y];b&&sn.postRender(()=>b(s,Nm(s)))}class qM extends lr{mount(){const{current:s}=this.node;s&&(this.unmount=x5(s,(d,h)=>(nA(this.node,h,"Start"),y=>nA(this.node,y,"End"))))}unmount(){}}class GM extends lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let s=!1;try{s=this.node.current.matches(":focus-visible")}catch{s=!0}!s||!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=Em(Um(this.node.current,"focus",()=>this.onFocus()),Um(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function aA(u,s,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&&sn.postRender(()=>b(s,Nm(s)))}class XM extends lr{mount(){const{current:s}=this.node;s&&(this.unmount=D5(s,(d,h)=>(aA(this.node,h,"Start"),(y,{success:b})=>aA(this.node,y,b?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const t2=new WeakMap,e2=new WeakMap,QM=u=>{const s=t2.get(u.target);s&&s(u)},ZM=u=>{u.forEach(QM)};function JM({root:u,...s}){const d=u||document;e2.has(d)||e2.set(d,{});const h=e2.get(d),y=JSON.stringify(s);return h[y]||(h[y]=new IntersectionObserver(ZM,{root:u,...s})),h[y]}function KM(u,s,d){const h=JM(s);return t2.set(u,d),h.observe(u),()=>{t2.delete(u),h.unobserve(u)}}const $M={some:0,all:1};class FM extends lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:s={}}=this.node.getProps(),{root:d,margin:h,amount:y="some",once:b}=s,S={root:d?d.current:void 0,rootMargin:h,threshold:typeof y=="number"?y:$M[y]},T=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(),C=A?M:R;C&&C(w)};return KM(this.node.current,S,T)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:s,prevProps:d}=this.node;["amount","margin","root"].some(WM(s,d))&&this.startObserver()}unmount(){}}function WM({viewport:u={}},{viewport:s={}}={}){return d=>u[d]!==s[d]}const PM={...xM,...{inView:{Feature:FM},tap:{Feature:XM},focus:{Feature:GM},hover:{Feature:qM}},...YM,...{layout:{ProjectionNode:zx,MeasureLayout:eA}}},av=bM(PM,SM);function lA(){const u=we(S=>S.plugins?.eslint?.issues),s=at.useMemo(()=>{const S=[];return u?.forEach(T=>S.push(...T)),S},[u]),d=at.useMemo(()=>{const S=new Map;for(const T of s){const w=S.get(T.filePath)||[];w.push(T),S.set(T.filePath,w)}return S},[s]),h=at.useCallback(S=>u?.get(S)||[],[u]),y=s.length,b=at.useMemo(()=>({error:s.filter(S=>S.severity==="error").length,warning:s.filter(S=>S.severity==="warning").length,info:s.filter(S=>S.severity==="info").length}),[s]);return{allIssues:s,byFile:d,byDataLoc:u??new Map,getIssuesForDataLoc:h,totalCount:y,countBySeverity:b}}function IM(){const u=we(y=>y.openCommandPalette),s=we(y=>y.closeCommandPalette),d=we(y=>y.setAltKeyHeld),h=we(y=>y.commandPalette.open);at.useEffect(()=>{const y=S=>{if((S.metaKey||S.ctrlKey)&&S.key==="k"){S.preventDefault(),h?s():u();return}if(S.key==="Escape"&&h){S.preventDefault(),s();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,s,d])}function tO({value:u,onChange:s,placeholder:d="Search issues, rules, files..."}){const h=at.useRef(null);return at.useEffect(()=>{h.current?.focus()},[]),Z.jsxs("div",{style:{display:"flex",alignItems:"center",padding:"12px 16px",borderBottom:"1px solid #e5e7eb",gap:12},children:[Z.jsx(cz,{size:20,color:"#9ca3af"}),Z.jsx("input",{ref:h,type:"text",value:u,onChange:y=>s(y.target.value),placeholder:d,style:{flex:1,border:"none",outline:"none",fontSize:16,background:"transparent",color:"#111827"}}),u&&Z.jsx("button",{onClick:()=>s(""),style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#9ca3af"},children:"✕"})]})}function eO({issue:u,isSelected:s,onClick:d}){const h=u.severity==="error"?U1:u.severity==="warning"?B1:N1,y=u.severity==="error"?"#ef4444":u.severity==="warning"?"#f59e0b":"#3b82f6",b=u.filePath.split("/").pop()||u.filePath;return Z.jsxs("div",{onClick:d,style:{display:"flex",alignItems:"flex-start",padding:"10px 16px",cursor:"pointer",background:s?"#f3f4f6":"transparent",gap:12,borderBottom:"1px solid #f3f4f6"},children:[Z.jsx(h,{size:16,color:y}),Z.jsxs("div",{style:{flex:1,minWidth:0},children:[Z.jsx("div",{style:{fontSize:14,color:"#111827",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.message}),Z.jsxs("div",{style:{fontSize:12,color:"#6b7280",marginTop:2,display:"flex",alignItems:"center",gap:8},children:[Z.jsxs("span",{style:{display:"flex",alignItems:"center",gap:4},children:[Z.jsx(j1,{size:12}),b,":",u.line]}),Z.jsxs("span",{style:{display:"flex",alignItems:"center",gap:4},children:[Z.jsx(H1,{size:12}),u.ruleId]})]})]})]})}function nO({value:u,onChange:s,onClick:d}){const h=[{value:"error",label:"E",color:"#ef4444"},{value:"warning",label:"W",color:"#f59e0b"},{value:"off",label:"Off",color:"#6b7280"}];return Z.jsx("div",{style:{display:"flex",gap:2},onClick:d,children:h.map(y=>Z.jsx("button",{onClick:b=>{b.stopPropagation(),s(y.value)},style:{padding:"2px 6px",fontSize:10,fontWeight:500,border:"none",borderRadius:3,cursor:"pointer",background:u===y.value?y.color:"transparent",color:u===y.value?"white":"#9ca3af"},children:y.label},y.value))})}function aO({rule:u,issueCount:s,isSelected:d,onSeverityChange:h,onClick:y}){const b=at.useCallback(T=>{h(u.id,T)},[u.id,h]),S=at.useCallback(T=>{T.stopPropagation()},[]);return Z.jsxs("div",{onClick:y,style:{padding:"10px 16px",cursor:"pointer",background:d?"#f3f4f6":"transparent",borderBottom:"1px solid #f3f4f6",display:"flex",alignItems:"center",gap:12},children:[Z.jsx("div",{style:{width:28,height:28,borderRadius:6,background:u.severity==="error"?"#fef2f2":u.severity==="warning"?"#fffbeb":"#f3f4f6",color:u.severity==="error"?"#ef4444":u.severity==="warning"?"#f59e0b":"#6b7280",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:Z.jsx(H1,{size:14})}),Z.jsxs("div",{style:{flex:1,minWidth:0},children:[Z.jsx("div",{style:{fontSize:13,fontWeight:500,color:u.severity==="off"?"#9ca3af":"#111827",marginBottom:2,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.name}),Z.jsx("div",{style:{fontSize:11,color:"#6b7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.id})]}),s>0&&Z.jsx("span",{style:{fontSize:10,fontWeight:600,background:"#fef2f2",color:"#dc2626",padding:"2px 6px",borderRadius:10,minWidth:20,textAlign:"center"},children:s}),Z.jsx(nO,{value:u.severity,onChange:b,onClick:S})]})}function lO({fileName:u,directory:s,count:d}){return Z.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 bg-surface-elevated border-b border-border",children:[Z.jsx(j1,{size:14,className:"text-muted-foreground shrink-0"}),Z.jsx("span",{className:"text-xs font-medium text-foreground",children:u}),s&&Z.jsx("span",{className:"text-xs text-muted-foreground overflow-hidden text-ellipsis whitespace-nowrap flex-1",children:s}),Z.jsx("span",{className:"text-xs font-medium text-muted-foreground bg-hover px-1.5 py-0.5 rounded-full",children:d})]})}function iO({command:u,isSelected:s,onClick:d}){return Z.jsxs("div",{onClick:d,style:{padding:"12px 16px",cursor:"pointer",background:s?"#f3f4f6":"transparent",borderBottom:"1px solid #f3f4f6",display:"flex",alignItems:"center",gap:12},children:[Z.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")?Z.jsx(sz,{size:16}):u.id.includes("stop")?Z.jsx(dz,{size:16}):u.id.includes("clear")?Z.jsx(rz,{size:16}):Z.jsx("span",{style:{fontSize:14},children:"⚡"})}),Z.jsxs("div",{style:{flex:1,minWidth:0},children:[Z.jsx("div",{style:{fontWeight:500,color:"#111827",marginBottom:2},children:u.title}),u.subtitle&&Z.jsx("div",{style:{fontSize:12,color:"#6b7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:u.subtitle})]}),Z.jsx("span",{style:{fontSize:10,fontWeight:500,textTransform:"uppercase",background:"#dbeafe",color:"#1d4ed8",padding:"2px 6px",borderRadius:4},children:u.category})]})}function oO(){const u=we(Q=>Q.commandPalette.open),s=we(Q=>Q.closeCommandPalette),d=we(Q=>Q.openInspector),[h,y]=at.useState(""),[b,S]=at.useState(0),{allIssues:T}=lA(),w=we(Q=>Q),A=at.useMemo(()=>Vc.getAllCommands().filter(vt=>vt.isAvailable?vt.isAvailable(w):!0),[w]),M=at.useMemo(()=>{if(!h.trim())return A;const Q=h.toLowerCase();return A.filter(vt=>vt.title.toLowerCase().includes(Q)||vt.keywords.some(J=>J.toLowerCase().includes(Q))||vt.category.toLowerCase().includes(Q)||vt.subtitle&&vt.subtitle.toLowerCase().includes(Q))},[A,h]),R=at.useMemo(()=>{if(!h.trim())return T.slice(0,50);const Q=h.toLowerCase();return T.filter(vt=>vt.message.toLowerCase().includes(Q)||vt.ruleId.toLowerCase().includes(Q)||vt.filePath.toLowerCase().includes(Q)).slice(0,50)},[T,h]),C=at.useMemo(()=>Vc.getAllRules(),[]),V=at.useMemo(()=>{if(!h.trim())return C;const Q=h.toLowerCase();return C.filter(vt=>vt.name.toLowerCase().includes(Q)||vt.id.toLowerCase().includes(Q)||vt.description.toLowerCase().includes(Q)||vt.category.toLowerCase().includes(Q))},[C,h]),lt=at.useMemo(()=>{const Q=new Map;for(const vt of T){const J=Q.get(vt.ruleId)||0;Q.set(vt.ruleId,J+1)}return Q},[T]),dt=at.useMemo(()=>{const Q=[],vt=new Map;for(const J of R){const qt=vt.get(J.filePath)||[];vt.set(J.filePath,[...qt,J])}for(const[J,qt]of vt){const wt=J.split("/"),Lt=wt.pop()||J,be=wt.join("/");Q.push({filePath:J,fileName:Lt,directory:be,issues:qt})}return Q},[R]),it=at.useMemo(()=>{const Q=M.map(J=>({kind:"command",command:J})),vt=R.map(J=>({kind:"issue",issue:J}));return[...Q,...vt]},[M,R]),st=at.useCallback(Q=>{Q.key==="ArrowDown"?(Q.preventDefault(),S(vt=>Math.min(vt+1,it.length-1))):Q.key==="ArrowUp"?(Q.preventDefault(),S(vt=>Math.max(vt-1,0))):Q.key==="Enter"&&it[b]&&(Q.preventDefault(),Ot(it[b]))},[it,b]),bt=at.useCallback(Q=>{d("issue",{issue:Q}),s()},[d,s]),pt=at.useCallback(async Q=>{const vt=IT();if(!vt){console.error("[CommandPalette] Plugin services not available");return}try{await Q.execute(vt)}catch(J){console.error(`[CommandPalette] Error executing command "${Q.id}":`,J)}},[]),Ot=at.useCallback(Q=>{Q.kind==="command"?pt(Q.command):bt(Q.issue)},[pt,bt]),xt=at.useCallback((Q,vt)=>{Vc.setRuleSeverity(Q,vt)},[]),Yt=at.useCallback(Q=>{d("eslint-rule",{ruleId:Q.id}),s()},[d,s]);Nd.useEffect(()=>{S(0)},[h]);const Tt=document.getElementById("uilint-portal")||document.body;return B0.createPortal(Z.jsx(_x,{children:u&&Z.jsx(av.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:Q=>{Q.target===Q.currentTarget&&s()},onKeyDown:st,children:Z.jsxs(av.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:[Z.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:[Z.jsxs("span",{style:{fontWeight:600,color:"#111827"},children:["UILint",T.length>0&&Z.jsxs("span",{style:{fontWeight:400,color:"#6b7280",marginLeft:8},children:[T.length," issue",T.length!==1?"s":""]})]}),Z.jsx("button",{onClick:s,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"#6b7280"},children:Z.jsx(nE,{size:20})})]}),Z.jsx(tO,{value:h,onChange:y}),Z.jsx("div",{style:{maxHeight:400,overflowY:"auto"},children:it.length===0?Z.jsx("div",{style:{padding:24,textAlign:"center",color:"#6b7280"},children:h?"No results match your search":"No commands or issues available"}):Z.jsxs(Z.Fragment,{children:[M.length>0&&Z.jsxs(Z.Fragment,{children:[Z.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Commands"}),M.map((Q,vt)=>Z.jsx(iO,{command:Q,isSelected:vt===b,onClick:()=>pt(Q)},Q.id))]}),dt.length>0&&Z.jsxs(Z.Fragment,{children:[Z.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Issues"}),dt.map(Q=>{let vt=M.length;for(const J of dt){if(J.filePath===Q.filePath)break;vt+=J.issues.length}return Z.jsxs(Nd.Fragment,{children:[Z.jsx(lO,{fileName:Q.fileName,directory:Q.directory,count:Q.issues.length}),Q.issues.map((J,qt)=>Z.jsx(eO,{issue:J,isSelected:vt+qt===b,onClick:()=>bt(J)},J.id))]},Q.filePath)})]}),V.length>0&&Z.jsxs(Z.Fragment,{children:[Z.jsx("div",{style:{padding:"8px 16px",fontSize:11,fontWeight:600,textTransform:"uppercase",color:"#9ca3af",background:"#f9fafb"},children:"Rules"}),V.map((Q,vt)=>Z.jsx(aO,{rule:Q,issueCount:lt.get(Q.id)??0,isSelected:M.length+R.length+vt===b,onSeverityChange:xt,onClick:()=>Yt(Q)},Q.id))]})]})}),Z.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:[Z.jsx("span",{children:"↑↓ Navigate"}),Z.jsx("span",{children:"↵ Select"}),Z.jsx("span",{children:"Esc Close"})]})]})})}),Tt)}function uO({issue:u}){const s=u.severity==="error"?U1:u.severity==="warning"?B1:N1;return Z.jsxs("div",{style:{padding:16},children:[Z.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12,marginBottom:16},children:[Z.jsx(s,{size:24,color:L1(u.severity)}),Z.jsxs("div",{children:[Z.jsx("div",{style:{fontSize:16,fontWeight:600,color:"var(--uilint-text-primary)"},children:u.message}),Z.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",marginTop:4},children:u.severity.toUpperCase()})]})]}),Z.jsxs("div",{style:{background:"var(--uilint-surface-elevated)",borderRadius:8,padding:12},children:[Z.jsx(lv,{icon:Z.jsx(j1,{size:14}),label:"File",value:u.filePath}),Z.jsx(lv,{icon:Z.jsx("span",{children:"📍"}),label:"Line",value:`${u.line}${u.column?`:${u.column}`:""}`}),Z.jsx(lv,{icon:Z.jsx(H1,{size:14}),label:"Rule",value:u.ruleId}),Z.jsx(lv,{icon:Z.jsx("span",{children:"🔌"}),label:"Plugin",value:u.pluginId})]}),u.dataLoc&&Z.jsxs("div",{style:{marginTop:16},children:[Z.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",marginBottom:4},children:"Data Location"}),Z.jsx("code",{style:{display:"block",padding:8,background:"var(--uilint-background)",color:"var(--uilint-text-primary)",border:"1px solid var(--uilint-border)",borderRadius:4,fontSize:12,fontFamily:"monospace",wordBreak:"break-all"},children:u.dataLoc})]})]})}function lv({icon:u,label:s,value:d}){return Z.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 0",borderBottom:"1px solid var(--uilint-border)"},children:[u,Z.jsx("span",{style:{fontSize:12,color:"var(--uilint-text-muted)",width:50},children:s}),Z.jsx("span",{style:{fontSize:13,color:"var(--uilint-text-primary)",flex:1,wordBreak:"break-word"},children:d})]})}function sO({dataLoc:u,onSelectIssue:s}){const{getIssuesForDataLoc:d}=lA(),h=d(u);return h.length===0?Z.jsx("div",{style:{padding:16,textAlign:"center",color:"var(--uilint-text-muted)"},children:"No issues for this element"}):Z.jsxs("div",{style:{padding:16},children:[Z.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"]}),Z.jsx("div",{style:{background:"var(--uilint-surface-elevated)",borderRadius:8,overflow:"hidden"},children:h.map((y,b)=>{const S=y.severity==="error"?U1:y.severity==="warning"?B1:N1;return Z.jsxs("div",{onClick:()=>s(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:[Z.jsx(S,{size:16,color:L1(y.severity)}),Z.jsxs("div",{style:{flex:1},children:[Z.jsx("div",{style:{fontSize:13,color:"var(--uilint-text-primary)"},children:y.message}),Z.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:2},children:y.ruleId})]})]},y.id)})}),Z.jsx("div",{style:{marginTop:12,fontSize:11,color:"var(--uilint-text-disabled)",wordBreak:"break-all"},children:u})]})}function iA({direction:u,onResize:s,onResizeEnd:d}){const h=at.useRef(!1),y=at.useRef({x:0,y:0}),b=at.useCallback(w=>{w.preventDefault(),w.stopPropagation(),h.current=!0,y.current={x:w.clientX,y:w.clientY}},[]);at.useEffect(()=>{const w=M=>{if(!h.current)return;const R=M.clientX-y.current.x,C=M.clientY-y.current.y;y.current={x:M.clientX,y:M.clientY},s(R,C)},A=()=>{h.current&&(h.current=!1,d?.())};return document.addEventListener("mousemove",w),document.addEventListener("mouseup",A),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",A)}},[s,d]);const S={position:"absolute",zIndex:10},T={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 Z.jsx("div",{onMouseDown:b,style:{...T[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 oA=320,uA=800,iv=450,sA=500;function rO(){const u=we(J=>J.inspector.open),s=we(J=>J.inspector.panelId),d=we(J=>J.inspector.data),h=we(J=>J.inspector.docked),y=we(J=>J.inspector.width),b=we(J=>J.inspector.floatingPosition),S=we(J=>J.inspector.floatingSize),T=we(J=>J.closeInspector),w=we(J=>J.openInspector),A=we(J=>J.toggleInspectorDocked),M=we(J=>J.setInspectorWidth),R=we(J=>J.setInspectorFloatingPosition),C=we(J=>J.setInspectorFloatingSize),[V,lt]=at.useState(!1),dt=at.useRef(null),it=at.useMemo(()=>Vc.getAllInspectorPanels(),[]),st=at.useCallback(J=>{w("issue",{issue:J})},[w]),{content:bt,title:pt}=at.useMemo(()=>{let J=null,qt="Inspector";const wt=it.find(Lt=>Lt.id===s);if(wt){const Lt=IT(),be=wt.component,De=d??void 0;qt=typeof wt.title=="function"?wt.title({data:De,services:Lt}):wt.title,J=Lt?Z.jsx(be,{data:De,services:Lt}):Z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else s==="issue"&&d?.issue?(qt="Issue Details",J=Z.jsx(uO,{issue:d.issue})):s==="element"&&d?.dataLoc?(qt="Element Issues",J=Z.jsx(sO,{dataLoc:d.dataLoc,onSelectIssue:st})):J=Z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Select an issue or element to inspect"});return{content:J,title:qt}},[s,d,it,st]);at.useEffect(()=>{lt(!0)},[]),at.useEffect(()=>{if(!V)return;const J=document.documentElement;return u&&h?(J.style.marginRight=`${y}px`,J.style.transition="margin-right 0.2s ease-out"):(J.style.marginRight="",J.style.transition="margin-right 0.2s ease-out"),()=>{J.style.marginRight="",J.style.transition=""}},[V,u,h,y]);const Ot=at.useCallback(J=>{const qt=Math.min(uA,Math.max(oA,y-J));M(qt)},[y,M]),xt=at.useCallback((J,qt)=>{const wt=S??{width:iv,height:sA},Lt=Math.min(uA,Math.max(oA,wt.width+J)),be=Math.max(300,wt.height+qt);C({width:Lt,height:be})},[S,C]),Yt=at.useCallback(J=>{b&&(J.preventDefault(),dt.current={startX:J.clientX,startY:J.clientY,startPos:b})},[b]);at.useEffect(()=>{const J=wt=>{if(!dt.current)return;const Lt=wt.clientX-dt.current.startX,be=wt.clientY-dt.current.startY;R({x:dt.current.startPos.x+Lt,y:dt.current.startPos.y+be})},qt=()=>{dt.current=null};return document.addEventListener("mousemove",J),document.addEventListener("mouseup",qt),()=>{document.removeEventListener("mousemove",J),document.removeEventListener("mouseup",qt)}},[R]),at.useEffect(()=>{!h&&!b&&V&&R({x:window.innerWidth-iv-20,y:80})},[h,b,R,V]);const Tt=document.getElementById("uilint-portal")||document.body,Q=({isDraggable:J=!1})=>Z.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:J?"move":"default",userSelect:"none"},onMouseDown:J?Yt:void 0,children:[Z.jsx("span",{style:{fontWeight:600,color:"var(--uilint-text-primary)"},children:pt}),Z.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[Z.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?Z.jsx(oz,{size:16}):Z.jsx(uz,{size:16})}),Z.jsx("button",{onClick:T,style:{border:"none",background:"none",cursor:"pointer",padding:4,color:"var(--uilint-text-muted)",borderRadius:4},title:"Close",children:Z.jsx(nE,{size:16})})]})]}),vt={background:"var(--uilint-glass)",backdropFilter:"blur(24px) saturate(180%)",WebkitBackdropFilter:"blur(24px) saturate(180%)"};return B0.createPortal(Z.jsxs(_x,{children:[u&&h&&Z.jsxs(av.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:[Z.jsx(iA,{direction:"horizontal",onResize:J=>Ot(J)}),Z.jsx(Q,{}),Z.jsx("div",{style:{flex:1,overflowY:"auto"},children:bt})]},"docked"),u&&!h&&Z.jsxs(av.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-iv-20,top:b?.y??80,width:S?.width??iv,height:S?.height??sA,...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:[Z.jsx(Q,{isDraggable:!0}),Z.jsx("div",{style:{flex:1,overflowY:"auto",minHeight:0},children:bt}),Z.jsx(iA,{direction:"corner",onResize:xt})]},"floating")]}),Tt)}let n2=!1;function cO(){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),n2=!0),u}function fO(){if(!n2)return;const u=document.getElementById("uilint-portal");u&&(u.remove(),n2=!1)}function dO({enabled:u=!0}){return IM(),at.useEffect(()=>(u&&cO(),()=>{fO()}),[u]),u?Z.jsxs(Z.Fragment,{children:[Z.jsx(pz,{}),Z.jsx(Tz,{}),Z.jsx(oO,{}),Z.jsx(rO,{})]}):null}const rA="ws://localhost:9234",a2=5,hO=1e3;class pO{constructor(s={}){this.options=s,this.createWebSocket=s.createWebSocket??(d=>new WebSocket(d)),this._setTimeout=s.setTimeout??globalThis.setTimeout,this._clearTimeout=s.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=rA;connect(s){if(typeof WebSocket>"u"&&!this.options.createWebSocket){console.warn("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!s||s===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=s??rA,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(s){if(!this.ws||!this.isConnected){console.warn("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(s))}catch(d){console.error("[WebSocket] Failed to send message:",d)}}on(s,d){this.handlers.has(s)||this.handlers.set(s,new Set);const h=this.handlers.get(s);return h.add(d),()=>{h.delete(d),h.size===0&&this.handlers.delete(s)}}onConnectionChange(s){return this.connectionHandlers.add(s),s(this.isConnected),()=>{this.connectionHandlers.delete(s)}}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=s=>{console.log(`[WebSocket] Disconnected from ${this.url} (code: ${s?.code??"unknown"}, reason: ${s?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=s=>{console.error("[WebSocket] Connection error:",s)},this.ws.onmessage=s=>{try{const d=JSON.parse(s.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(s,d){const h=this.handlers.get(s);if(h&&h.forEach(y=>{try{y(d)}catch(b){console.error(`[WebSocket] Handler error for type "${s}":`,b)}}),s!=="*"){const y=this.handlers.get("*");y&&y.forEach(b=>{try{b(d)}catch(S){console.error("[WebSocket] Wildcard handler error:",S)}})}}notifyConnectionChange(s){this.connectionHandlers.forEach(d=>{try{d(s)}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 s=hO*Math.pow(2,this.reconnectAttempts);this.reconnectAttempts++,console.log(`[WebSocket] Reconnecting in ${s}ms (attempt ${this.reconnectAttempts}/${a2})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},s)}}const ov=new pO,uv="data-loc",mO=100;function gO(u,s){return`loc:${u}#${s}`}function yO(u){if(!u)return null;let s=u;if(s.startsWith("loc:")){s=s.slice(4);const d=s.lastIndexOf("#");d!==-1&&(s=s.slice(0,d))}return s||null}function vO(u,s){return s&&u.includes("node_modules")}class bO{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(s={}){this.options=s}setHideNodeModules(s){this.hideNodeModules=s,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const s=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),d=this.options.root??(typeof document<"u"?document.body:void 0);s&&d&&(this.observer=new s(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(s){return this.addedHandlers.add(s),()=>{this.addedHandlers.delete(s)}}onElementsRemoved(s){return this.removedHandlers.add(s),()=>{this.removedHandlers.delete(s)}}getElements(){return this.scanElements()}handleMutations(s){let d=!1;for(const h of s){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(s){return s instanceof Element?!!(s.hasAttribute(uv)||s.querySelector(`[${uv}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},mO)}reconcile(){if(typeof window>"u")return;const s=this.scanElements(),d=new Map(s.map(T=>[T.id,T])),h=new Set(d.keys()),y=new Set(this.knownElements.keys()),b=[];for(const T of s)y.has(T.id)||b.push(T);const S=[];for(const T of y)h.has(T)||S.push(T);this.knownElements.clear();for(const T of s)this.knownElements.set(T.id,T.element);if(b.length>0)for(const T of this.addedHandlers)try{T(b)}catch(w){console.error("[DOMObserverService] Error in added handler:",w)}if(S.length>0)for(const T of this.removedHandlers)try{T(S)}catch(w){console.error("[DOMObserverService] Error in removed handler:",w)}}scanElements(){const s=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!s)return[];const d=[],h=new Map,y=s(`[${uv}]`);for(const b of y){if(this.isInsideUILintUI(b))continue;const S=b.getAttribute(uv),T=yO(S??"");if(!T||vO(T,this.hideNodeModules))continue;const w=(h.get(T)??0)+1;h.set(T,w);const A=gO(T,w);d.push({id:A,dataLoc:T,element:b,tagName:b.tagName.toLowerCase(),rect:b.getBoundingClientRect()})}return d}isInsideUILintUI(s){return s.closest("[data-ui-lint]")!==null}}const sv=new bO,SO=[{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 s=u;return s.wsConnected===!0&&s.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}],TO={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map};function EO(u){return{...TO}}function wO(u,s,d){return{startScanning:()=>{d({scanStatus:"scanning"})},stopScanning:()=>{d({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(h,y)=>{const b=s(),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=s(),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=s(),b=new Set(y.scannedDataLocs);b.add(h),d({scannedDataLocs:b})},markFileRequested:h=>{const y=s(),b=new Set(y.requestedFiles);b.add(h),d({requestedFiles:b})},setScanStatus:h=>{d({scanStatus:h})}}}function xO(u){if(!u)return null;const s=u.lastIndexOf(":");if(s===-1)return null;const d=u.lastIndexOf(":",s-1);if(d===-1)return null;const h=u.substring(0,d);return h||null}function AO(u){const s=new Set;for(const d of u){const h=xO(d);h&&s.add(h)}return s}function RO({value:u,onChange:s,disabled:d}){const h=[{value:"error",label:"E",color:"#ef4444"},{value:"warning",label:"W",color:"#f59e0b"},{value:"off",label:"Off",color:"#6b7280"}];return Z.jsx("div",{style:{display:"flex",gap:4},children:h.map(y=>Z.jsx("button",{onClick:()=>s(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 DO({data:u}){const s=u?.ruleId,d=we(w=>{const A=w.plugins?.eslint;return A?.availableRules?A.availableRules.find(M=>M.id===s):null}),h=we(w=>{const A=w.plugins?.eslint;return A?.ruleConfigs?A.ruleConfigs.get(s||""):null}),y=we(w=>{const A=w.plugins?.eslint;return A?.ruleConfigUpdating?A.ruleConfigUpdating.get(s||"")??!1:!1}),b=we(w=>{const A=w.plugins?.eslint;if(!A?.issues)return 0;let M=0;return A.issues.forEach(R=>{M+=R.filter(C=>C.ruleId===s).length}),M}),S=at.useCallback(w=>{s&&Vc.setRuleSeverity(s,w)},[s]);if(!s)return Z.jsx("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:"No rule selected"});if(!d)return Z.jsxs("div",{style:{padding:16,color:"#6b7280",textAlign:"center"},children:["Rule not found: ",s]});const T=h?.severity?h.severity==="warn"?"warning":h.severity:d.currentSeverity==="warn"?"warning":d.currentSeverity??"off";return Z.jsxs("div",{style:{padding:16},children:[Z.jsxs("div",{style:{marginBottom:16},children:[Z.jsx("div",{style:{fontSize:16,fontWeight:600,color:"#111827",marginBottom:4},children:d.name}),Z.jsx("div",{style:{fontSize:12,color:"#6b7280",fontFamily:"monospace"},children:d.id})]}),Z.jsx("div",{style:{fontSize:14,color:"#374151",marginBottom:16,lineHeight:1.5},children:d.description}),Z.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[Z.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&&Z.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"#fef2f2",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[b," issue",b!==1?"s":""]})]}),Z.jsxs("div",{style:{marginBottom:16},children:[Z.jsx("div",{style:{fontSize:12,fontWeight:500,color:"#6b7280",marginBottom:8},children:"Severity"}),Z.jsx(RO,{value:T,onChange:S,disabled:y}),y&&Z.jsx("div",{style:{fontSize:11,color:"#6b7280",marginTop:4},children:"Updating..."})]}),d.docs&&Z.jsx("div",{style:{marginTop:16},children:Z.jsx("a",{href:d.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"#3b82f6",textDecoration:"none"},children:"View documentation"})})]})}const cA=["lint:result","lint:progress","file:changed","workspace:info","rules:metadata","rule:config:result","rule:config:changed"],zO={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 s=EO();let d=s;const b=wO(u,()=>d,S=>{d={...d,...S},u.setState(S)});return{...s,...b}},commands:SO,inspectorPanels:[{id:"eslint-rule",title:({data:u})=>u?.ruleId?`Rule: ${u.ruleId}`:"Rule Details",component:DO,priority:10}],handlesRules:u=>u.id.startsWith("uilint/")||u.category==="static"?!0:(u.id==="uilint/semantic-vision",!1),getIssues:u=>{const s=u,d=new Map;return s.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 s=u.getState();if(!s?.availableRules)return[];const d=s.ruleConfigs??new Map;return s.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,s,d)=>{const h=s==="warning"?"warn":s,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,s)=>(s.getState()?.ruleConfigs??new Map).get(u)?.options??{},setRuleConfig:(u,s,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:s,requestId:`rule-config-${Date.now()}`}),console.log("[ESLint Plugin] Setting rule config:",u,s)},initialize:u=>{console.log("[ESLint Plugin] Initializing...");const s=[];for(const h of cA){const y=u.websocket.on(h,b=>{MO(u,b)});s.push(y)}console.log("[ESLint Plugin] Subscribed to",cA.length,"message types");const d=u.domObserver.onElementsAdded(h=>{CO(u,h)});return s.push(d),console.log("[ESLint Plugin] Subscribed to DOM observer"),()=>{console.log("[ESLint Plugin] Disposing..."),s.forEach(h=>h())}},dispose:u=>{console.log("[ESLint Plugin] Disposed")}};function CO(u,s){const d=u.getState();if(console.log("[ESLint Plugin] handleElementsAdded called with",s.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=s.map(T=>T.dataLoc),y=AO(h);if(y.size===0){console.log("[ESLint Plugin] No file paths extracted from",s.length,"elements");return}console.log("[ESLint Plugin] Detected",s.length,"elements from",y.size,"unique files:",Array.from(y).slice(0,3));const b=d.requestedFiles??new Set,S=[];for(const T of y)if(!b.has(T)){S.push(T);const w=`lint-${Date.now()}-${T.replace(/[^a-zA-Z0-9]/g,"-")}`;u.websocket.send({type:"lint:file",filePath:T,requestId:w}),console.log("[ESLint Plugin] Sent lint:file request for",T)}if(S.length>0){const T=new Set(b);for(const w of S)T.add(w);u.setState({requestedFiles:T}),console.log("[ESLint Plugin] Updated requestedFiles with",S.length,"new files")}else console.log("[ESLint Plugin] All files already requested, skipping")}function MO(u,s){switch(s.type){case"lint:result":{const{filePath:d,issues:h}=s;console.log("[ESLint Plugin] Received lint result:",d,h.length,"issues");const y=h.map(w=>bz({...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(),T=new Map(S.issues);for(const[w,A]of b)T.set(w,A);u.setState({issues:T});break}case"lint:progress":{const{filePath:d,phase:h}=s;console.log("[ESLint Plugin] Lint progress:",d,h);break}case"file:changed":{const{filePath:d}=s;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}=s;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}=s;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}=s,T=u.getState(),w=new Map(T.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}=s,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 fA=!1;function dA(u){if(typeof document>"u"||fA)return;const s=document.createElement("style");s.setAttribute("data-uilint-devtools-styles","true"),s.textContent=u,document.head.appendChild(s),fA=!0}const hA='@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-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--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-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-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-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--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-3{margin-top:calc(var(--spacing)*3)}.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-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-10{width:calc(var(--spacing)*10)}.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-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-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}: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-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-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-border{border-color:var(--uilint-border)}.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-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-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-hover{background-color:var(--uilint-hover)}.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-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)}.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-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.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-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.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}.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-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-700{color:var(--color-amber-700)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-foreground{color:var(--uilint-foreground)}.text-muted-foreground{color:var(--uilint-text-muted)}.text-red-700{color:var(--color-red-700)}.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 l2=!1;const pA="uilint-devtool-root";function mA(){return typeof window<"u"}function OO({enabled:u=!0}){const[s,d]=at.useState(!1),[h,y]=at.useState(l2),b=at.useRef(null),S=at.useRef(!1);return at.useEffect(()=>{d(!0)},[]),at.useEffect(()=>{if(!mA()||!u)return;dA(hA);const T=document.querySelector(`.${pA}`);if(T){b.current=T,S.current=!1;return}const w=document.createElement("div");return w.className=pA,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]),at.useEffect(()=>{if(!mA()||!u||!s)return;let T=null;async function w(){l2||(Vc.register(zO),await tz({websocket:ov,domObserver:sv}),l2=!0,console.log("[DevTool] Plugins initialized")),y(!0),ov.connect(),T=ov.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(),()=>{T?.(),ov.disconnect(),sv.stop()}},[u,s]),!u||!s||!h?null:Z.jsx(dO,{enabled:u})}function gA(u,s){u.setAttribute("data-position",s)}function _O(){if(typeof document>"u")return"light";const u=document.documentElement,s=document.body;if(u.classList.contains("dark")||s.classList.contains("dark"))return"dark";if(u.classList.contains("light")||s.classList.contains("light"))return"light";const d=u.getAttribute("data-theme"),h=s.getAttribute("data-theme");if(d==="dark"||h==="dark")return"dark";if(d==="light"||h==="light")return"light";const y=u.getAttribute("data-mode"),b=s.getAttribute("data-mode");return y==="dark"||b==="dark"?"dark":y==="light"||b==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function yA(u,s){u.classList.remove("light","dark"),u.removeAttribute("data-theme"),s!=="system"&&(u.classList.add(s),u.setAttribute("data-theme",s))}function UO(){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(){dA(hA);const d=document.createElement("div");d.className="dev-tool-root",d.setAttribute("data-ui-lint-root","true"),document.body.appendChild(d),this.rootEl=d,gA(d,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=YD.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&&(gA(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();yA(this.rootEl,h)}else yA(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(Z.jsx(OO,{enabled:this.getEnabled()}))}}customElements.define("uilint-devtools",u)}UO()})();
|
|
252
252
|
//# sourceMappingURL=devtools.js.map
|