uilint-react 0.2.113 → 0.2.115

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/devtools.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(){"use strict";function uM(i,l){for(var u=0;u<l.length;u++){const c=l[u];if(typeof c!="string"&&!Array.isArray(c)){for(const p in c)if(p!=="default"&&!(p in i)){const m=Object.getOwnPropertyDescriptor(c,p);m&&Object.defineProperty(i,p,m.get?m:{enumerable:!0,get:()=>c[p]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}function Y2(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var dv={exports:{}},qm={};var q2;function cM(){if(q2)return qm;q2=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function u(c,p,m){var y=null;if(m!==void 0&&(y=""+m),p.key!==void 0&&(y=""+p.key),"key"in p){m={};for(var x in p)x!=="key"&&(m[x]=p[x])}else m=p;return p=m.ref,{$$typeof:i,type:c,key:y,ref:p!==void 0?p:null,props:m}}return qm.Fragment=l,qm.jsx=u,qm.jsxs=u,qm}var Gm={},hv={exports:{}},de={};var G2;function fM(){if(G2)return de;G2=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),y=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),R=Symbol.iterator;function j(k){return k===null||typeof k!="object"?null:(k=R&&k[R]||k["@@iterator"],typeof k=="function"?k:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,q={};function Z(k,et,ht){this.props=k,this.context=et,this.refs=q,this.updater=ht||B}Z.prototype.isReactComponent={},Z.prototype.setState=function(k,et){if(typeof k!="object"&&typeof k!="function"&&k!=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,et,"setState")},Z.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function W(){}W.prototype=Z.prototype;function rt(k,et,ht){this.props=k,this.context=et,this.refs=q,this.updater=ht||B}var ct=rt.prototype=new W;ct.constructor=rt,X(ct,Z.prototype),ct.isPureReactComponent=!0;var xt=Array.isArray;function Tt(){}var vt={H:null,A:null,T:null,S:null},ot=Object.prototype.hasOwnProperty;function jt(k,et,ht){var mt=ht.ref;return{$$typeof:i,type:k,key:et,ref:mt!==void 0?mt:null,props:ht}}function St(k,et){return jt(k.type,et,k.props)}function oe(k){return typeof k=="object"&&k!==null&&k.$$typeof===i}function Mt(k){var et={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ht){return et[ht]})}var Nt=/\/+/g;function Et(k,et){return typeof k=="object"&&k!==null&&k.key!=null?Mt(""+k.key):et.toString(36)}function bt(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(Tt,Tt):(k.status="pending",k.then(function(et){k.status==="pending"&&(k.status="fulfilled",k.value=et)},function(et){k.status==="pending"&&(k.status="rejected",k.reason=et)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function U(k,et,ht,mt,Gt){var ae=typeof k;(ae==="undefined"||ae==="boolean")&&(k=null);var _t=!1;if(k===null)_t=!0;else switch(ae){case"bigint":case"string":case"number":_t=!0;break;case"object":switch(k.$$typeof){case i:case l:_t=!0;break;case T:return _t=k._init,U(_t(k._payload),et,ht,mt,Gt)}}if(_t)return Gt=Gt(k),_t=mt===""?"."+Et(k,0):mt,xt(Gt)?(ht="",_t!=null&&(ht=_t.replace(Nt,"$&/")+"/"),U(Gt,et,ht,"",function(In){return In})):Gt!=null&&(oe(Gt)&&(Gt=St(Gt,ht+(Gt.key==null||k&&k.key===Gt.key?"":(""+Gt.key).replace(Nt,"$&/")+"/")+_t)),et.push(Gt)),1;_t=0;var $e=mt===""?".":mt+":";if(xt(k))for(var Ae=0;Ae<k.length;Ae++)mt=k[Ae],ae=$e+Et(mt,Ae),_t+=U(mt,et,ht,ae,Gt);else if(Ae=j(k),typeof Ae=="function")for(k=Ae.call(k),Ae=0;!(mt=k.next()).done;)mt=mt.value,ae=$e+Et(mt,Ae++),_t+=U(mt,et,ht,ae,Gt);else if(ae==="object"){if(typeof k.then=="function")return U(bt(k),et,ht,mt,Gt);throw et=String(k),Error("Objects are not valid as a React child (found: "+(et==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":et)+"). If you meant to render a collection of children, use an array instead.")}return _t}function F(k,et,ht){if(k==null)return k;var mt=[],Gt=0;return U(k,mt,"","",function(ae){return et.call(ht,ae,Gt++)}),mt}function P(k){if(k._status===-1){var et=k._result;et=et(),et.then(function(ht){(k._status===0||k._status===-1)&&(k._status=1,k._result=ht)},function(ht){(k._status===0||k._status===-1)&&(k._status=2,k._result=ht)}),k._status===-1&&(k._status=0,k._result=et)}if(k._status===1)return k._result.default;throw k._result}var Rt=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var et=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(et))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)},Ht={map:F,forEach:function(k,et,ht){F(k,function(){et.apply(this,arguments)},ht)},count:function(k){var et=0;return F(k,function(){et++}),et},toArray:function(k){return F(k,function(et){return et})||[]},only:function(k){if(!oe(k))throw Error("React.Children.only expected to receive a single React element child.");return k}};return de.Activity=A,de.Children=Ht,de.Component=Z,de.Fragment=u,de.Profiler=p,de.PureComponent=rt,de.StrictMode=c,de.Suspense=S,de.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=vt,de.__COMPILER_RUNTIME={__proto__:null,c:function(k){return vt.H.useMemoCache(k)}},de.cache=function(k){return function(){return k.apply(null,arguments)}},de.cacheSignal=function(){return null},de.cloneElement=function(k,et,ht){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var mt=X({},k.props),Gt=k.key;if(et!=null)for(ae in et.key!==void 0&&(Gt=""+et.key),et)!ot.call(et,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&et.ref===void 0||(mt[ae]=et[ae]);var ae=arguments.length-2;if(ae===1)mt.children=ht;else if(1<ae){for(var _t=Array(ae),$e=0;$e<ae;$e++)_t[$e]=arguments[$e+2];mt.children=_t}return jt(k.type,Gt,mt)},de.createContext=function(k){return k={$$typeof:y,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:m,_context:k},k},de.createElement=function(k,et,ht){var mt,Gt={},ae=null;if(et!=null)for(mt in et.key!==void 0&&(ae=""+et.key),et)ot.call(et,mt)&&mt!=="key"&&mt!=="__self"&&mt!=="__source"&&(Gt[mt]=et[mt]);var _t=arguments.length-2;if(_t===1)Gt.children=ht;else if(1<_t){for(var $e=Array(_t),Ae=0;Ae<_t;Ae++)$e[Ae]=arguments[Ae+2];Gt.children=$e}if(k&&k.defaultProps)for(mt in _t=k.defaultProps,_t)Gt[mt]===void 0&&(Gt[mt]=_t[mt]);return jt(k,ae,Gt)},de.createRef=function(){return{current:null}},de.forwardRef=function(k){return{$$typeof:x,render:k}},de.isValidElement=oe,de.lazy=function(k){return{$$typeof:T,_payload:{_status:-1,_result:k},_init:P}},de.memo=function(k,et){return{$$typeof:E,type:k,compare:et===void 0?null:et}},de.startTransition=function(k){var et=vt.T,ht={};vt.T=ht;try{var mt=k(),Gt=vt.S;Gt!==null&&Gt(ht,mt),typeof mt=="object"&&mt!==null&&typeof mt.then=="function"&&mt.then(Tt,Rt)}catch(ae){Rt(ae)}finally{et!==null&&ht.types!==null&&(et.types=ht.types),vt.T=et}},de.unstable_useCacheRefresh=function(){return vt.H.useCacheRefresh()},de.use=function(k){return vt.H.use(k)},de.useActionState=function(k,et,ht){return vt.H.useActionState(k,et,ht)},de.useCallback=function(k,et){return vt.H.useCallback(k,et)},de.useContext=function(k){return vt.H.useContext(k)},de.useDebugValue=function(){},de.useDeferredValue=function(k,et){return vt.H.useDeferredValue(k,et)},de.useEffect=function(k,et){return vt.H.useEffect(k,et)},de.useEffectEvent=function(k){return vt.H.useEffectEvent(k)},de.useId=function(){return vt.H.useId()},de.useImperativeHandle=function(k,et,ht){return vt.H.useImperativeHandle(k,et,ht)},de.useInsertionEffect=function(k,et){return vt.H.useInsertionEffect(k,et)},de.useLayoutEffect=function(k,et){return vt.H.useLayoutEffect(k,et)},de.useMemo=function(k,et){return vt.H.useMemo(k,et)},de.useOptimistic=function(k,et){return vt.H.useOptimistic(k,et)},de.useReducer=function(k,et,ht){return vt.H.useReducer(k,et,ht)},de.useRef=function(k){return vt.H.useRef(k)},de.useState=function(k){return vt.H.useState(k)},de.useSyncExternalStore=function(k,et,ht){return vt.H.useSyncExternalStore(k,et,ht)},de.useTransition=function(){return vt.H.useTransition()},de.version="19.2.3",de}var Xm={exports:{}};Xm.exports;var X2;function dM(){return X2||(X2=1,(function(i,l){process.env.NODE_ENV!=="production"&&(function(){function u(O,I){Object.defineProperty(m.prototype,O,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I[0],I[1])}})}function c(O){return O===null||typeof O!="object"?null:(O=ui&&O[ui]||O["@@iterator"],typeof O=="function"?O:null)}function p(O,I){O=(O=O.constructor)&&(O.displayName||O.name)||"ReactClass";var wt=O+"."+I;pr[wt]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",I,O),pr[wt]=!0)}function m(O,I,wt){this.props=O,this.context=I,this.refs=Le,this.updater=wt||ci}function y(){}function x(O,I,wt){this.props=O,this.context=I,this.refs=Le,this.updater=wt||ci}function S(){}function E(O){return""+O}function T(O){try{E(O);var I=!1}catch{I=!0}if(I){I=console;var wt=I.error,At=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return wt.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",At),E(O)}}function A(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===gf?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case k:return"Fragment";case ht:return"Profiler";case et:return"StrictMode";case _t:return"Suspense";case $e:return"SuspenseList";case zt:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case Ht:return"Portal";case Gt:return O.displayName||"Context";case mt:return(O._context.displayName||"Context")+".Consumer";case ae:var I=O.render;return O=O.displayName,O||(O=I.displayName||I.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case Ae:return I=O.displayName||null,I!==null?I:A(O.type)||"Memo";case In:I=O._payload,O=O._init;try{return A(O(I))}catch{}}return null}function R(O){if(O===k)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===In)return"<...>";try{var I=A(O);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function j(){var O=Vt.A;return O===null?null:O.getOwner()}function B(){return Error("react-stack-top-frame")}function X(O){if(mr.call(O,"key")){var I=Object.getOwnPropertyDescriptor(O,"key").get;if(I&&I.isReactWarning)return!1}return O.key!==void 0}function q(O,I){function wt(){ss||(ss=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",I))}wt.isReactWarning=!0,Object.defineProperty(O,"key",{get:wt,configurable:!0})}function Z(){var O=A(this.type);return Sh[O]||(Sh[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function W(O,I,wt,At,Bt,Wt){var Xt=wt.ref;return O={$$typeof:Rt,type:O,key:I,props:wt,_owner:At},(Xt!==void 0?Xt:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:Z}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Bt}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Wt}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function rt(O,I){return I=W(O.type,I,O.props,O._owner,O._debugStack,O._debugTask),O._store&&(I._store.validated=O._store.validated),I}function ct(O){xt(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===In&&(O._payload.status==="fulfilled"?xt(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function xt(O){return typeof O=="object"&&O!==null&&O.$$typeof===Rt}function Tt(O){var I={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(wt){return I[wt]})}function vt(O,I){return typeof O=="object"&&O!==null&&O.key!=null?(T(O.key),Tt(""+O.key)):I.toString(36)}function ot(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(S,S):(O.status="pending",O.then(function(I){O.status==="pending"&&(O.status="fulfilled",O.value=I)},function(I){O.status==="pending"&&(O.status="rejected",O.reason=I)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function jt(O,I,wt,At,Bt){var Wt=typeof O;(Wt==="undefined"||Wt==="boolean")&&(O=null);var Xt=!1;if(O===null)Xt=!0;else switch(Wt){case"bigint":case"string":case"number":Xt=!0;break;case"object":switch(O.$$typeof){case Rt:case Ht:Xt=!0;break;case In:return Xt=O._init,jt(Xt(O._payload),I,wt,At,Bt)}}if(Xt){Xt=O,Bt=Bt(Xt);var xe=At===""?"."+vt(Xt,0):At;return rs(Bt)?(wt="",xe!=null&&(wt=xe.replace(wh,"$&/")+"/"),jt(Bt,I,wt,"",function(Sa){return Sa})):Bt!=null&&(xt(Bt)&&(Bt.key!=null&&(Xt&&Xt.key===Bt.key||T(Bt.key)),wt=rt(Bt,wt+(Bt.key==null||Xt&&Xt.key===Bt.key?"":(""+Bt.key).replace(wh,"$&/")+"/")+xe),At!==""&&Xt!=null&&xt(Xt)&&Xt.key==null&&Xt._store&&!Xt._store.validated&&(wt._store.validated=2),Bt=wt),I.push(Bt)),1}if(Xt=0,xe=At===""?".":At+":",rs(O))for(var ue=0;ue<O.length;ue++)At=O[ue],Wt=xe+vt(At,ue),Xt+=jt(At,I,wt,Wt,Bt);else if(ue=c(O),typeof ue=="function")for(ue===O.entries&&(ao||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ao=!0),O=ue.call(O),ue=0;!(At=O.next()).done;)At=At.value,Wt=xe+vt(At,ue++),Xt+=jt(At,I,wt,Wt,Bt);else if(Wt==="object"){if(typeof O.then=="function")return jt(ot(O),I,wt,At,Bt);throw I=String(O),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return Xt}function St(O,I,wt){if(O==null)return O;var At=[],Bt=0;return jt(O,At,"","",function(Wt){return I.call(wt,Wt,Bt++)}),At}function oe(O){if(O._status===-1){var I=O._ioInfo;I!=null&&(I.start=I.end=performance.now()),I=O._result;var wt=I();if(wt.then(function(Bt){if(O._status===0||O._status===-1){O._status=1,O._result=Bt;var Wt=O._ioInfo;Wt!=null&&(Wt.end=performance.now()),wt.status===void 0&&(wt.status="fulfilled",wt.value=Bt)}},function(Bt){if(O._status===0||O._status===-1){O._status=2,O._result=Bt;var Wt=O._ioInfo;Wt!=null&&(Wt.end=performance.now()),wt.status===void 0&&(wt.status="rejected",wt.reason=Bt)}}),I=O._ioInfo,I!=null){I.value=wt;var At=wt.displayName;typeof At=="string"&&(I.name=At)}O._status===-1&&(O._status=0,O._result=wt)}if(O._status===1)return I=O._result,I===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ (function(){"use strict";function uM(i,l){for(var u=0;u<l.length;u++){const c=l[u];if(typeof c!="string"&&!Array.isArray(c)){for(const p in c)if(p!=="default"&&!(p in i)){const m=Object.getOwnPropertyDescriptor(c,p);m&&Object.defineProperty(i,p,m.get?m:{enumerable:!0,get:()=>c[p]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}function Y2(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var dv={exports:{}},qm={};var q2;function cM(){if(q2)return qm;q2=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function u(c,p,m){var y=null;if(m!==void 0&&(y=""+m),p.key!==void 0&&(y=""+p.key),"key"in p){m={};for(var x in p)x!=="key"&&(m[x]=p[x])}else m=p;return p=m.ref,{$$typeof:i,type:c,key:y,ref:p!==void 0?p:null,props:m}}return qm.Fragment=l,qm.jsx=u,qm.jsxs=u,qm}var Gm={},hv={exports:{}},de={};var G2;function fM(){if(G2)return de;G2=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),y=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),R=Symbol.iterator;function j(k){return k===null||typeof k!="object"?null:(k=R&&k[R]||k["@@iterator"],typeof k=="function"?k:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,q={};function Z(k,et,ht){this.props=k,this.context=et,this.refs=q,this.updater=ht||B}Z.prototype.isReactComponent={},Z.prototype.setState=function(k,et){if(typeof k!="object"&&typeof k!="function"&&k!=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,et,"setState")},Z.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function W(){}W.prototype=Z.prototype;function rt(k,et,ht){this.props=k,this.context=et,this.refs=q,this.updater=ht||B}var ct=rt.prototype=new W;ct.constructor=rt,X(ct,Z.prototype),ct.isPureReactComponent=!0;var xt=Array.isArray;function Tt(){}var bt={H:null,A:null,T:null,S:null},ot=Object.prototype.hasOwnProperty;function jt(k,et,ht){var mt=ht.ref;return{$$typeof:i,type:k,key:et,ref:mt!==void 0?mt:null,props:ht}}function St(k,et){return jt(k.type,et,k.props)}function oe(k){return typeof k=="object"&&k!==null&&k.$$typeof===i}function Mt(k){var et={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ht){return et[ht]})}var Nt=/\/+/g;function Et(k,et){return typeof k=="object"&&k!==null&&k.key!=null?Mt(""+k.key):et.toString(36)}function gt(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(Tt,Tt):(k.status="pending",k.then(function(et){k.status==="pending"&&(k.status="fulfilled",k.value=et)},function(et){k.status==="pending"&&(k.status="rejected",k.reason=et)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function U(k,et,ht,mt,Gt){var ae=typeof k;(ae==="undefined"||ae==="boolean")&&(k=null);var _t=!1;if(k===null)_t=!0;else switch(ae){case"bigint":case"string":case"number":_t=!0;break;case"object":switch(k.$$typeof){case i:case l:_t=!0;break;case T:return _t=k._init,U(_t(k._payload),et,ht,mt,Gt)}}if(_t)return Gt=Gt(k),_t=mt===""?"."+Et(k,0):mt,xt(Gt)?(ht="",_t!=null&&(ht=_t.replace(Nt,"$&/")+"/"),U(Gt,et,ht,"",function(In){return In})):Gt!=null&&(oe(Gt)&&(Gt=St(Gt,ht+(Gt.key==null||k&&k.key===Gt.key?"":(""+Gt.key).replace(Nt,"$&/")+"/")+_t)),et.push(Gt)),1;_t=0;var $e=mt===""?".":mt+":";if(xt(k))for(var Ae=0;Ae<k.length;Ae++)mt=k[Ae],ae=$e+Et(mt,Ae),_t+=U(mt,et,ht,ae,Gt);else if(Ae=j(k),typeof Ae=="function")for(k=Ae.call(k),Ae=0;!(mt=k.next()).done;)mt=mt.value,ae=$e+Et(mt,Ae++),_t+=U(mt,et,ht,ae,Gt);else if(ae==="object"){if(typeof k.then=="function")return U(gt(k),et,ht,mt,Gt);throw et=String(k),Error("Objects are not valid as a React child (found: "+(et==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":et)+"). If you meant to render a collection of children, use an array instead.")}return _t}function F(k,et,ht){if(k==null)return k;var mt=[],Gt=0;return U(k,mt,"","",function(ae){return et.call(ht,ae,Gt++)}),mt}function P(k){if(k._status===-1){var et=k._result;et=et(),et.then(function(ht){(k._status===0||k._status===-1)&&(k._status=1,k._result=ht)},function(ht){(k._status===0||k._status===-1)&&(k._status=2,k._result=ht)}),k._status===-1&&(k._status=0,k._result=et)}if(k._status===1)return k._result.default;throw k._result}var Rt=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var et=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(et))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)},Ht={map:F,forEach:function(k,et,ht){F(k,function(){et.apply(this,arguments)},ht)},count:function(k){var et=0;return F(k,function(){et++}),et},toArray:function(k){return F(k,function(et){return et})||[]},only:function(k){if(!oe(k))throw Error("React.Children.only expected to receive a single React element child.");return k}};return de.Activity=A,de.Children=Ht,de.Component=Z,de.Fragment=u,de.Profiler=p,de.PureComponent=rt,de.StrictMode=c,de.Suspense=S,de.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=bt,de.__COMPILER_RUNTIME={__proto__:null,c:function(k){return bt.H.useMemoCache(k)}},de.cache=function(k){return function(){return k.apply(null,arguments)}},de.cacheSignal=function(){return null},de.cloneElement=function(k,et,ht){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var mt=X({},k.props),Gt=k.key;if(et!=null)for(ae in et.key!==void 0&&(Gt=""+et.key),et)!ot.call(et,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&et.ref===void 0||(mt[ae]=et[ae]);var ae=arguments.length-2;if(ae===1)mt.children=ht;else if(1<ae){for(var _t=Array(ae),$e=0;$e<ae;$e++)_t[$e]=arguments[$e+2];mt.children=_t}return jt(k.type,Gt,mt)},de.createContext=function(k){return k={$$typeof:y,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:m,_context:k},k},de.createElement=function(k,et,ht){var mt,Gt={},ae=null;if(et!=null)for(mt in et.key!==void 0&&(ae=""+et.key),et)ot.call(et,mt)&&mt!=="key"&&mt!=="__self"&&mt!=="__source"&&(Gt[mt]=et[mt]);var _t=arguments.length-2;if(_t===1)Gt.children=ht;else if(1<_t){for(var $e=Array(_t),Ae=0;Ae<_t;Ae++)$e[Ae]=arguments[Ae+2];Gt.children=$e}if(k&&k.defaultProps)for(mt in _t=k.defaultProps,_t)Gt[mt]===void 0&&(Gt[mt]=_t[mt]);return jt(k,ae,Gt)},de.createRef=function(){return{current:null}},de.forwardRef=function(k){return{$$typeof:x,render:k}},de.isValidElement=oe,de.lazy=function(k){return{$$typeof:T,_payload:{_status:-1,_result:k},_init:P}},de.memo=function(k,et){return{$$typeof:E,type:k,compare:et===void 0?null:et}},de.startTransition=function(k){var et=bt.T,ht={};bt.T=ht;try{var mt=k(),Gt=bt.S;Gt!==null&&Gt(ht,mt),typeof mt=="object"&&mt!==null&&typeof mt.then=="function"&&mt.then(Tt,Rt)}catch(ae){Rt(ae)}finally{et!==null&&ht.types!==null&&(et.types=ht.types),bt.T=et}},de.unstable_useCacheRefresh=function(){return bt.H.useCacheRefresh()},de.use=function(k){return bt.H.use(k)},de.useActionState=function(k,et,ht){return bt.H.useActionState(k,et,ht)},de.useCallback=function(k,et){return bt.H.useCallback(k,et)},de.useContext=function(k){return bt.H.useContext(k)},de.useDebugValue=function(){},de.useDeferredValue=function(k,et){return bt.H.useDeferredValue(k,et)},de.useEffect=function(k,et){return bt.H.useEffect(k,et)},de.useEffectEvent=function(k){return bt.H.useEffectEvent(k)},de.useId=function(){return bt.H.useId()},de.useImperativeHandle=function(k,et,ht){return bt.H.useImperativeHandle(k,et,ht)},de.useInsertionEffect=function(k,et){return bt.H.useInsertionEffect(k,et)},de.useLayoutEffect=function(k,et){return bt.H.useLayoutEffect(k,et)},de.useMemo=function(k,et){return bt.H.useMemo(k,et)},de.useOptimistic=function(k,et){return bt.H.useOptimistic(k,et)},de.useReducer=function(k,et,ht){return bt.H.useReducer(k,et,ht)},de.useRef=function(k){return bt.H.useRef(k)},de.useState=function(k){return bt.H.useState(k)},de.useSyncExternalStore=function(k,et,ht){return bt.H.useSyncExternalStore(k,et,ht)},de.useTransition=function(){return bt.H.useTransition()},de.version="19.2.3",de}var Xm={exports:{}};Xm.exports;var X2;function dM(){return X2||(X2=1,(function(i,l){process.env.NODE_ENV!=="production"&&(function(){function u(O,I){Object.defineProperty(m.prototype,O,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I[0],I[1])}})}function c(O){return O===null||typeof O!="object"?null:(O=ui&&O[ui]||O["@@iterator"],typeof O=="function"?O:null)}function p(O,I){O=(O=O.constructor)&&(O.displayName||O.name)||"ReactClass";var wt=O+"."+I;pr[wt]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",I,O),pr[wt]=!0)}function m(O,I,wt){this.props=O,this.context=I,this.refs=Le,this.updater=wt||ci}function y(){}function x(O,I,wt){this.props=O,this.context=I,this.refs=Le,this.updater=wt||ci}function S(){}function E(O){return""+O}function T(O){try{E(O);var I=!1}catch{I=!0}if(I){I=console;var wt=I.error,At=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return wt.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",At),E(O)}}function A(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===gf?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case k:return"Fragment";case ht:return"Profiler";case et:return"StrictMode";case _t:return"Suspense";case $e:return"SuspenseList";case zt:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case Ht:return"Portal";case Gt:return O.displayName||"Context";case mt:return(O._context.displayName||"Context")+".Consumer";case ae:var I=O.render;return O=O.displayName,O||(O=I.displayName||I.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case Ae:return I=O.displayName||null,I!==null?I:A(O.type)||"Memo";case In:I=O._payload,O=O._init;try{return A(O(I))}catch{}}return null}function R(O){if(O===k)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===In)return"<...>";try{var I=A(O);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function j(){var O=Vt.A;return O===null?null:O.getOwner()}function B(){return Error("react-stack-top-frame")}function X(O){if(mr.call(O,"key")){var I=Object.getOwnPropertyDescriptor(O,"key").get;if(I&&I.isReactWarning)return!1}return O.key!==void 0}function q(O,I){function wt(){ss||(ss=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",I))}wt.isReactWarning=!0,Object.defineProperty(O,"key",{get:wt,configurable:!0})}function Z(){var O=A(this.type);return Sh[O]||(Sh[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function W(O,I,wt,At,Bt,Wt){var Xt=wt.ref;return O={$$typeof:Rt,type:O,key:I,props:wt,_owner:At},(Xt!==void 0?Xt:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:Z}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Bt}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Wt}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function rt(O,I){return I=W(O.type,I,O.props,O._owner,O._debugStack,O._debugTask),O._store&&(I._store.validated=O._store.validated),I}function ct(O){xt(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===In&&(O._payload.status==="fulfilled"?xt(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function xt(O){return typeof O=="object"&&O!==null&&O.$$typeof===Rt}function Tt(O){var I={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(wt){return I[wt]})}function bt(O,I){return typeof O=="object"&&O!==null&&O.key!=null?(T(O.key),Tt(""+O.key)):I.toString(36)}function ot(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(S,S):(O.status="pending",O.then(function(I){O.status==="pending"&&(O.status="fulfilled",O.value=I)},function(I){O.status==="pending"&&(O.status="rejected",O.reason=I)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function jt(O,I,wt,At,Bt){var Wt=typeof O;(Wt==="undefined"||Wt==="boolean")&&(O=null);var Xt=!1;if(O===null)Xt=!0;else switch(Wt){case"bigint":case"string":case"number":Xt=!0;break;case"object":switch(O.$$typeof){case Rt:case Ht:Xt=!0;break;case In:return Xt=O._init,jt(Xt(O._payload),I,wt,At,Bt)}}if(Xt){Xt=O,Bt=Bt(Xt);var xe=At===""?"."+bt(Xt,0):At;return rs(Bt)?(wt="",xe!=null&&(wt=xe.replace(wh,"$&/")+"/"),jt(Bt,I,wt,"",function(Sa){return Sa})):Bt!=null&&(xt(Bt)&&(Bt.key!=null&&(Xt&&Xt.key===Bt.key||T(Bt.key)),wt=rt(Bt,wt+(Bt.key==null||Xt&&Xt.key===Bt.key?"":(""+Bt.key).replace(wh,"$&/")+"/")+xe),At!==""&&Xt!=null&&xt(Xt)&&Xt.key==null&&Xt._store&&!Xt._store.validated&&(wt._store.validated=2),Bt=wt),I.push(Bt)),1}if(Xt=0,xe=At===""?".":At+":",rs(O))for(var ue=0;ue<O.length;ue++)At=O[ue],Wt=xe+bt(At,ue),Xt+=jt(At,I,wt,Wt,Bt);else if(ue=c(O),typeof ue=="function")for(ue===O.entries&&(ao||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ao=!0),O=ue.call(O),ue=0;!(At=O.next()).done;)At=At.value,Wt=xe+bt(At,ue++),Xt+=jt(At,I,wt,Wt,Bt);else if(Wt==="object"){if(typeof O.then=="function")return jt(ot(O),I,wt,At,Bt);throw I=String(O),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return Xt}function St(O,I,wt){if(O==null)return O;var At=[],Bt=0;return jt(O,At,"","",function(Wt){return I.call(wt,Wt,Bt++)}),At}function oe(O){if(O._status===-1){var I=O._ioInfo;I!=null&&(I.start=I.end=performance.now()),I=O._result;var wt=I();if(wt.then(function(Bt){if(O._status===0||O._status===-1){O._status=1,O._result=Bt;var Wt=O._ioInfo;Wt!=null&&(Wt.end=performance.now()),wt.status===void 0&&(wt.status="fulfilled",wt.value=Bt)}},function(Bt){if(O._status===0||O._status===-1){O._status=2,O._result=Bt;var Wt=O._ioInfo;Wt!=null&&(Wt.end=performance.now()),wt.status===void 0&&(wt.status="rejected",wt.reason=Bt)}}),I=O._ioInfo,I!=null){I.value=wt;var At=wt.displayName;typeof At=="string"&&(I.name=At)}O._status===-1&&(O._status=0,O._result=wt)}if(O._status===1)return I=O._result,I===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -10,24 +10,24 @@ Your code should look like:
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.`),O}function Nt(){Vt.asyncTransitions--}function Et(O){if(us===null)try{var I=("require"+Math.random()).slice(0,7);us=(i&&i[I]).call(i,"timers").setImmediate}catch{us=function(At){yf===!1&&(yf=!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 Bt=new MessageChannel;Bt.port1.onmessage=At,Bt.port2.postMessage(void 0)}}return us(O)}function bt(O){return 1<O.length&&typeof AggregateError=="function"?new AggregateError(O):O[0]}function U(O,I){I!==Hi-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. "),Hi=I}function F(O,I,wt){var At=Vt.actQueue;if(At!==null)if(At.length!==0)try{P(At),Et(function(){return F(O,I,wt)});return}catch(Bt){Vt.thrownErrors.push(Bt)}else Vt.actQueue=null;0<Vt.thrownErrors.length?(At=bt(Vt.thrownErrors),Vt.thrownErrors.length=0,wt(At)):I(O)}function P(O){if(!fi){fi=!0;var I=0;try{for(;I<O.length;I++){var wt=O[I];do{Vt.didUsePromise=!1;var At=wt(!1);if(At!==null){if(Vt.didUsePromise){O[I]=wt,O.splice(0,I);return}wt=At}else break}while(!0)}O.length=0}catch(Bt){O.splice(0,I+1),Vt.thrownErrors.push(Bt)}finally{fi=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Rt=Symbol.for("react.transitional.element"),Ht=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),et=Symbol.for("react.strict_mode"),ht=Symbol.for("react.profiler"),mt=Symbol.for("react.consumer"),Gt=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),zt=Symbol.for("react.activity"),ui=Symbol.iterator,pr={},ci={isMounted:function(){return!1},enqueueForceUpdate:function(O){p(O,"forceUpdate")},enqueueReplaceState:function(O){p(O,"replaceState")},enqueueSetState:function(O){p(O,"setState")}},Vo=Object.assign,Le={};Object.freeze(Le),m.prototype.isReactComponent={},m.prototype.setState=function(O,I){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,I,"setState")},m.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};var xa={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(gr in xa)xa.hasOwnProperty(gr)&&u(gr,xa[gr]);y.prototype=m.prototype,xa=x.prototype=new y,xa.constructor=x,Vo(xa,m.prototype),xa.isPureReactComponent=!0;var rs=Array.isArray,gf=Symbol.for("react.client.reference"),Vt={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},mr=Object.prototype.hasOwnProperty,Bo=console.createTask?console.createTask:function(){return null};xa={react_stack_bottom_frame:function(O){return O()}};var ss,jn,Sh={},Au=xa.react_stack_bottom_frame.bind(xa,B)(),Cu=Bo(R(B)),ao=!1,wh=/\/+/g,Ru=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)},yf=!1,us=null,Hi=0,Vn=!1,fi=!1,Jn=typeof queueMicrotask=="function"?function(O){queueMicrotask(function(){return queueMicrotask(O)})}:Et;xa=Object.freeze({__proto__:null,c:function(O){return Mt().useMemoCache(O)}});var gr={map:St,forEach:function(O,I,wt){St(O,function(){I.apply(this,arguments)},wt)},count:function(O){var I=0;return St(O,function(){I++}),I},toArray:function(O){return St(O,function(I){return I})||[]},only:function(O){if(!xt(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};l.Activity=zt,l.Children=gr,l.Component=m,l.Fragment=k,l.Profiler=ht,l.PureComponent=x,l.StrictMode=et,l.Suspense=_t,l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Vt,l.__COMPILER_RUNTIME=xa,l.act=function(O){var I=Vt.actQueue,wt=Hi;Hi++;var At=Vt.actQueue=I!==null?I:[],Bt=!1;try{var Wt=O()}catch(ue){Vt.thrownErrors.push(ue)}if(0<Vt.thrownErrors.length)throw U(I,wt),O=bt(Vt.thrownErrors),Vt.thrownErrors.length=0,O;if(Wt!==null&&typeof Wt=="object"&&typeof Wt.then=="function"){var Xt=Wt;return Jn(function(){Bt||Vn||(Vn=!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(ue,Sa){Bt=!0,Xt.then(function(Vi){if(U(I,wt),wt===0){try{P(At),Et(function(){return F(Vi,ue,Sa)})}catch(Du){Vt.thrownErrors.push(Du)}if(0<Vt.thrownErrors.length){var yr=bt(Vt.thrownErrors);Vt.thrownErrors.length=0,Sa(yr)}}else ue(Vi)},function(Vi){U(I,wt),0<Vt.thrownErrors.length&&(Vi=bt(Vt.thrownErrors),Vt.thrownErrors.length=0),Sa(Vi)})}}}var xe=Wt;if(U(I,wt),wt===0&&(P(At),At.length!==0&&Jn(function(){Bt||Vn||(Vn=!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(() => ...)"))}),Vt.actQueue=null),0<Vt.thrownErrors.length)throw O=bt(Vt.thrownErrors),Vt.thrownErrors.length=0,O;return{then:function(ue,Sa){Bt=!0,wt===0?(Vt.actQueue=At,Et(function(){return F(xe,ue,Sa)})):ue(xe)}}},l.cache=function(O){return function(){return O.apply(null,arguments)}},l.cacheSignal=function(){return null},l.captureOwnerStack=function(){var O=Vt.getCurrentStack;return O===null?null:O()},l.cloneElement=function(O,I,wt){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var At=Vo({},O.props),Bt=O.key,Wt=O._owner;if(I!=null){var Xt;t:{if(mr.call(I,"ref")&&(Xt=Object.getOwnPropertyDescriptor(I,"ref").get)&&Xt.isReactWarning){Xt=!1;break t}Xt=I.ref!==void 0}Xt&&(Wt=j()),X(I)&&(T(I.key),Bt=""+I.key);for(xe in I)!mr.call(I,xe)||xe==="key"||xe==="__self"||xe==="__source"||xe==="ref"&&I.ref===void 0||(At[xe]=I[xe])}var xe=arguments.length-2;if(xe===1)At.children=wt;else if(1<xe){Xt=Array(xe);for(var ue=0;ue<xe;ue++)Xt[ue]=arguments[ue+2];At.children=Xt}for(At=W(O.type,Bt,At,Wt,O._debugStack,O._debugTask),Bt=2;Bt<arguments.length;Bt++)ct(arguments[Bt]);return At},l.createContext=function(O){return O={$$typeof:Gt,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:mt,_context:O},O._currentRenderer=null,O._currentRenderer2=null,O},l.createElement=function(O,I,wt){for(var At=2;At<arguments.length;At++)ct(arguments[At]);At={};var Bt=null;if(I!=null)for(ue in jn||!("__self"in I)||"key"in I||(jn=!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")),X(I)&&(T(I.key),Bt=""+I.key),I)mr.call(I,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(At[ue]=I[ue]);var Wt=arguments.length-2;if(Wt===1)At.children=wt;else if(1<Wt){for(var Xt=Array(Wt),xe=0;xe<Wt;xe++)Xt[xe]=arguments[xe+2];Object.freeze&&Object.freeze(Xt),At.children=Xt}if(O&&O.defaultProps)for(ue in Wt=O.defaultProps,Wt)At[ue]===void 0&&(At[ue]=Wt[ue]);Bt&&q(At,typeof O=="function"?O.displayName||O.name||"Unknown":O);var ue=1e4>Vt.recentlyCreatedOwnerStacks++;return W(O,Bt,At,j(),ue?Error("react-stack-top-frame"):Au,ue?Bo(R(O)):Cu)},l.createRef=function(){var O={current:null};return Object.seal(O),O},l.forwardRef=function(O){O!=null&&O.$$typeof===Ae?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof O!="function"?console.error("forwardRef requires a render function but was given %s.",O===null?"null":typeof O):O.length!==0&&O.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",O.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),O!=null&&O.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I={$$typeof:ae,render:O},wt;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return wt},set:function(At){wt=At,O.name||O.displayName||(Object.defineProperty(O,"name",{value:At}),O.displayName=At)}}),I},l.isValidElement=xt,l.lazy=function(O){O={_status:-1,_result:O};var I={$$typeof:In,_payload:O,_init:oe},wt={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return O._ioInfo=wt,I._debugInfo=[{awaited:wt}],I},l.memo=function(O,I){O==null&&console.error("memo: The first argument must be a component. Instead received: %s",O===null?"null":typeof O),I={$$typeof:Ae,type:O,compare:I===void 0?null:I};var wt;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return wt},set:function(At){wt=At,O.name||O.displayName||(Object.defineProperty(O,"name",{value:At}),O.displayName=At)}}),I},l.startTransition=function(O){var I=Vt.T,wt={};wt._updatedFibers=new Set,Vt.T=wt;try{var At=O(),Bt=Vt.S;Bt!==null&&Bt(wt,At),typeof At=="object"&&At!==null&&typeof At.then=="function"&&(Vt.asyncTransitions++,At.then(Nt,Nt),At.then(S,Ru))}catch(Wt){Ru(Wt)}finally{I===null&&wt._updatedFibers&&(O=wt._updatedFibers.size,wt._updatedFibers.clear(),10<O&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),I!==null&&wt.types!==null&&(I.types!==null&&I.types!==wt.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),I.types=wt.types),Vt.T=I}},l.unstable_useCacheRefresh=function(){return Mt().useCacheRefresh()},l.use=function(O){return Mt().use(O)},l.useActionState=function(O,I,wt){return Mt().useActionState(O,I,wt)},l.useCallback=function(O,I){return Mt().useCallback(O,I)},l.useContext=function(O){var I=Mt();return O.$$typeof===mt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I.useContext(O)},l.useDebugValue=function(O,I){return Mt().useDebugValue(O,I)},l.useDeferredValue=function(O,I){return Mt().useDeferredValue(O,I)},l.useEffect=function(O,I){return O==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Mt().useEffect(O,I)},l.useEffectEvent=function(O){return Mt().useEffectEvent(O)},l.useId=function(){return Mt().useId()},l.useImperativeHandle=function(O,I,wt){return Mt().useImperativeHandle(O,I,wt)},l.useInsertionEffect=function(O,I){return O==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Mt().useInsertionEffect(O,I)},l.useLayoutEffect=function(O,I){return O==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Mt().useLayoutEffect(O,I)},l.useMemo=function(O,I){return Mt().useMemo(O,I)},l.useOptimistic=function(O,I){return Mt().useOptimistic(O,I)},l.useReducer=function(O,I,wt){return Mt().useReducer(O,I,wt)},l.useRef=function(O){return Mt().useRef(O)},l.useState=function(O){return Mt().useState(O)},l.useSyncExternalStore=function(O,I,wt){return Mt().useSyncExternalStore(O,I,wt)},l.useTransition=function(){return Mt().useTransition()},l.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Xm,Xm.exports)),Xm.exports}var Q2;function ah(){return Q2||(Q2=1,process.env.NODE_ENV==="production"?hv.exports=fM():hv.exports=dM()),hv.exports}var Z2;function hM(){return Z2||(Z2=1,process.env.NODE_ENV!=="production"&&(function(){function i(k){if(k==null)return null;if(typeof k=="function")return k.$$typeof===oe?null:k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case q:return"Fragment";case W:return"Profiler";case Z:return"StrictMode";case Tt:return"Suspense";case vt:return"SuspenseList";case St:return"Activity"}if(typeof k=="object")switch(typeof k.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),k.$$typeof){case X:return"Portal";case ct:return k.displayName||"Context";case rt:return(k._context.displayName||"Context")+".Consumer";case xt:var et=k.render;return k=k.displayName,k||(k=et.displayName||et.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case ot:return et=k.displayName||null,et!==null?et:i(k.type)||"Memo";case jt:et=k._payload,k=k._init;try{return i(k(et))}catch{}}return null}function l(k){return""+k}function u(k){try{l(k);var et=!1}catch{et=!0}if(et){et=console;var ht=et.error,mt=typeof Symbol=="function"&&Symbol.toStringTag&&k[Symbol.toStringTag]||k.constructor.name||"Object";return ht.call(et,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",mt),l(k)}}function c(k){if(k===q)return"<>";if(typeof k=="object"&&k!==null&&k.$$typeof===jt)return"<...>";try{var et=i(k);return et?"<"+et+">":"<...>"}catch{return"<...>"}}function p(){var k=Mt.A;return k===null?null:k.getOwner()}function m(){return Error("react-stack-top-frame")}function y(k){if(Nt.call(k,"key")){var et=Object.getOwnPropertyDescriptor(k,"key").get;if(et&&et.isReactWarning)return!1}return k.key!==void 0}function x(k,et){function ht(){U||(U=!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)",et))}ht.isReactWarning=!0,Object.defineProperty(k,"key",{get:ht,configurable:!0})}function S(){var k=i(this.type);return F[k]||(F[k]=!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.")),k=this.props.ref,k!==void 0?k:null}function E(k,et,ht,mt,Gt,ae){var _t=ht.ref;return k={$$typeof:B,type:k,key:et,props:ht,_owner:mt},(_t!==void 0?_t:null)!==null?Object.defineProperty(k,"ref",{enumerable:!1,get:S}):Object.defineProperty(k,"ref",{enumerable:!1,value:null}),k._store={},Object.defineProperty(k._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(k,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(k,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Gt}),Object.defineProperty(k,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ae}),Object.freeze&&(Object.freeze(k.props),Object.freeze(k)),k}function T(k,et,ht,mt,Gt,ae){var _t=et.children;if(_t!==void 0)if(mt)if(Et(_t)){for(mt=0;mt<_t.length;mt++)A(_t[mt]);Object.freeze&&Object.freeze(_t)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else A(_t);if(Nt.call(et,"key")){_t=i(k);var $e=Object.keys(et).filter(function(In){return In!=="key"});mt=0<$e.length?"{key: someKey, "+$e.join(": ..., ")+": ...}":"{key: someKey}",Ht[_t+mt]||($e=0<$e.length?"{"+$e.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.`),O}function Nt(){Vt.asyncTransitions--}function Et(O){if(us===null)try{var I=("require"+Math.random()).slice(0,7);us=(i&&i[I]).call(i,"timers").setImmediate}catch{us=function(At){yf===!1&&(yf=!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 Bt=new MessageChannel;Bt.port1.onmessage=At,Bt.port2.postMessage(void 0)}}return us(O)}function gt(O){return 1<O.length&&typeof AggregateError=="function"?new AggregateError(O):O[0]}function U(O,I){I!==Hi-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. "),Hi=I}function F(O,I,wt){var At=Vt.actQueue;if(At!==null)if(At.length!==0)try{P(At),Et(function(){return F(O,I,wt)});return}catch(Bt){Vt.thrownErrors.push(Bt)}else Vt.actQueue=null;0<Vt.thrownErrors.length?(At=gt(Vt.thrownErrors),Vt.thrownErrors.length=0,wt(At)):I(O)}function P(O){if(!fi){fi=!0;var I=0;try{for(;I<O.length;I++){var wt=O[I];do{Vt.didUsePromise=!1;var At=wt(!1);if(At!==null){if(Vt.didUsePromise){O[I]=wt,O.splice(0,I);return}wt=At}else break}while(!0)}O.length=0}catch(Bt){O.splice(0,I+1),Vt.thrownErrors.push(Bt)}finally{fi=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Rt=Symbol.for("react.transitional.element"),Ht=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),et=Symbol.for("react.strict_mode"),ht=Symbol.for("react.profiler"),mt=Symbol.for("react.consumer"),Gt=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),zt=Symbol.for("react.activity"),ui=Symbol.iterator,pr={},ci={isMounted:function(){return!1},enqueueForceUpdate:function(O){p(O,"forceUpdate")},enqueueReplaceState:function(O){p(O,"replaceState")},enqueueSetState:function(O){p(O,"setState")}},Vo=Object.assign,Le={};Object.freeze(Le),m.prototype.isReactComponent={},m.prototype.setState=function(O,I){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,I,"setState")},m.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};var xa={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(gr in xa)xa.hasOwnProperty(gr)&&u(gr,xa[gr]);y.prototype=m.prototype,xa=x.prototype=new y,xa.constructor=x,Vo(xa,m.prototype),xa.isPureReactComponent=!0;var rs=Array.isArray,gf=Symbol.for("react.client.reference"),Vt={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},mr=Object.prototype.hasOwnProperty,Bo=console.createTask?console.createTask:function(){return null};xa={react_stack_bottom_frame:function(O){return O()}};var ss,jn,Sh={},Au=xa.react_stack_bottom_frame.bind(xa,B)(),Cu=Bo(R(B)),ao=!1,wh=/\/+/g,Ru=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)},yf=!1,us=null,Hi=0,Vn=!1,fi=!1,Jn=typeof queueMicrotask=="function"?function(O){queueMicrotask(function(){return queueMicrotask(O)})}:Et;xa=Object.freeze({__proto__:null,c:function(O){return Mt().useMemoCache(O)}});var gr={map:St,forEach:function(O,I,wt){St(O,function(){I.apply(this,arguments)},wt)},count:function(O){var I=0;return St(O,function(){I++}),I},toArray:function(O){return St(O,function(I){return I})||[]},only:function(O){if(!xt(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};l.Activity=zt,l.Children=gr,l.Component=m,l.Fragment=k,l.Profiler=ht,l.PureComponent=x,l.StrictMode=et,l.Suspense=_t,l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Vt,l.__COMPILER_RUNTIME=xa,l.act=function(O){var I=Vt.actQueue,wt=Hi;Hi++;var At=Vt.actQueue=I!==null?I:[],Bt=!1;try{var Wt=O()}catch(ue){Vt.thrownErrors.push(ue)}if(0<Vt.thrownErrors.length)throw U(I,wt),O=gt(Vt.thrownErrors),Vt.thrownErrors.length=0,O;if(Wt!==null&&typeof Wt=="object"&&typeof Wt.then=="function"){var Xt=Wt;return Jn(function(){Bt||Vn||(Vn=!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(ue,Sa){Bt=!0,Xt.then(function(Vi){if(U(I,wt),wt===0){try{P(At),Et(function(){return F(Vi,ue,Sa)})}catch(Du){Vt.thrownErrors.push(Du)}if(0<Vt.thrownErrors.length){var yr=gt(Vt.thrownErrors);Vt.thrownErrors.length=0,Sa(yr)}}else ue(Vi)},function(Vi){U(I,wt),0<Vt.thrownErrors.length&&(Vi=gt(Vt.thrownErrors),Vt.thrownErrors.length=0),Sa(Vi)})}}}var xe=Wt;if(U(I,wt),wt===0&&(P(At),At.length!==0&&Jn(function(){Bt||Vn||(Vn=!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(() => ...)"))}),Vt.actQueue=null),0<Vt.thrownErrors.length)throw O=gt(Vt.thrownErrors),Vt.thrownErrors.length=0,O;return{then:function(ue,Sa){Bt=!0,wt===0?(Vt.actQueue=At,Et(function(){return F(xe,ue,Sa)})):ue(xe)}}},l.cache=function(O){return function(){return O.apply(null,arguments)}},l.cacheSignal=function(){return null},l.captureOwnerStack=function(){var O=Vt.getCurrentStack;return O===null?null:O()},l.cloneElement=function(O,I,wt){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var At=Vo({},O.props),Bt=O.key,Wt=O._owner;if(I!=null){var Xt;t:{if(mr.call(I,"ref")&&(Xt=Object.getOwnPropertyDescriptor(I,"ref").get)&&Xt.isReactWarning){Xt=!1;break t}Xt=I.ref!==void 0}Xt&&(Wt=j()),X(I)&&(T(I.key),Bt=""+I.key);for(xe in I)!mr.call(I,xe)||xe==="key"||xe==="__self"||xe==="__source"||xe==="ref"&&I.ref===void 0||(At[xe]=I[xe])}var xe=arguments.length-2;if(xe===1)At.children=wt;else if(1<xe){Xt=Array(xe);for(var ue=0;ue<xe;ue++)Xt[ue]=arguments[ue+2];At.children=Xt}for(At=W(O.type,Bt,At,Wt,O._debugStack,O._debugTask),Bt=2;Bt<arguments.length;Bt++)ct(arguments[Bt]);return At},l.createContext=function(O){return O={$$typeof:Gt,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:mt,_context:O},O._currentRenderer=null,O._currentRenderer2=null,O},l.createElement=function(O,I,wt){for(var At=2;At<arguments.length;At++)ct(arguments[At]);At={};var Bt=null;if(I!=null)for(ue in jn||!("__self"in I)||"key"in I||(jn=!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")),X(I)&&(T(I.key),Bt=""+I.key),I)mr.call(I,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(At[ue]=I[ue]);var Wt=arguments.length-2;if(Wt===1)At.children=wt;else if(1<Wt){for(var Xt=Array(Wt),xe=0;xe<Wt;xe++)Xt[xe]=arguments[xe+2];Object.freeze&&Object.freeze(Xt),At.children=Xt}if(O&&O.defaultProps)for(ue in Wt=O.defaultProps,Wt)At[ue]===void 0&&(At[ue]=Wt[ue]);Bt&&q(At,typeof O=="function"?O.displayName||O.name||"Unknown":O);var ue=1e4>Vt.recentlyCreatedOwnerStacks++;return W(O,Bt,At,j(),ue?Error("react-stack-top-frame"):Au,ue?Bo(R(O)):Cu)},l.createRef=function(){var O={current:null};return Object.seal(O),O},l.forwardRef=function(O){O!=null&&O.$$typeof===Ae?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof O!="function"?console.error("forwardRef requires a render function but was given %s.",O===null?"null":typeof O):O.length!==0&&O.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",O.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),O!=null&&O.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I={$$typeof:ae,render:O},wt;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return wt},set:function(At){wt=At,O.name||O.displayName||(Object.defineProperty(O,"name",{value:At}),O.displayName=At)}}),I},l.isValidElement=xt,l.lazy=function(O){O={_status:-1,_result:O};var I={$$typeof:In,_payload:O,_init:oe},wt={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return O._ioInfo=wt,I._debugInfo=[{awaited:wt}],I},l.memo=function(O,I){O==null&&console.error("memo: The first argument must be a component. Instead received: %s",O===null?"null":typeof O),I={$$typeof:Ae,type:O,compare:I===void 0?null:I};var wt;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return wt},set:function(At){wt=At,O.name||O.displayName||(Object.defineProperty(O,"name",{value:At}),O.displayName=At)}}),I},l.startTransition=function(O){var I=Vt.T,wt={};wt._updatedFibers=new Set,Vt.T=wt;try{var At=O(),Bt=Vt.S;Bt!==null&&Bt(wt,At),typeof At=="object"&&At!==null&&typeof At.then=="function"&&(Vt.asyncTransitions++,At.then(Nt,Nt),At.then(S,Ru))}catch(Wt){Ru(Wt)}finally{I===null&&wt._updatedFibers&&(O=wt._updatedFibers.size,wt._updatedFibers.clear(),10<O&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),I!==null&&wt.types!==null&&(I.types!==null&&I.types!==wt.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),I.types=wt.types),Vt.T=I}},l.unstable_useCacheRefresh=function(){return Mt().useCacheRefresh()},l.use=function(O){return Mt().use(O)},l.useActionState=function(O,I,wt){return Mt().useActionState(O,I,wt)},l.useCallback=function(O,I){return Mt().useCallback(O,I)},l.useContext=function(O){var I=Mt();return O.$$typeof===mt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I.useContext(O)},l.useDebugValue=function(O,I){return Mt().useDebugValue(O,I)},l.useDeferredValue=function(O,I){return Mt().useDeferredValue(O,I)},l.useEffect=function(O,I){return O==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Mt().useEffect(O,I)},l.useEffectEvent=function(O){return Mt().useEffectEvent(O)},l.useId=function(){return Mt().useId()},l.useImperativeHandle=function(O,I,wt){return Mt().useImperativeHandle(O,I,wt)},l.useInsertionEffect=function(O,I){return O==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Mt().useInsertionEffect(O,I)},l.useLayoutEffect=function(O,I){return O==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Mt().useLayoutEffect(O,I)},l.useMemo=function(O,I){return Mt().useMemo(O,I)},l.useOptimistic=function(O,I){return Mt().useOptimistic(O,I)},l.useReducer=function(O,I,wt){return Mt().useReducer(O,I,wt)},l.useRef=function(O){return Mt().useRef(O)},l.useState=function(O){return Mt().useState(O)},l.useSyncExternalStore=function(O,I,wt){return Mt().useSyncExternalStore(O,I,wt)},l.useTransition=function(){return Mt().useTransition()},l.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Xm,Xm.exports)),Xm.exports}var Q2;function ah(){return Q2||(Q2=1,process.env.NODE_ENV==="production"?hv.exports=fM():hv.exports=dM()),hv.exports}var Z2;function hM(){return Z2||(Z2=1,process.env.NODE_ENV!=="production"&&(function(){function i(k){if(k==null)return null;if(typeof k=="function")return k.$$typeof===oe?null:k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case q:return"Fragment";case W:return"Profiler";case Z:return"StrictMode";case Tt:return"Suspense";case bt:return"SuspenseList";case St:return"Activity"}if(typeof k=="object")switch(typeof k.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),k.$$typeof){case X:return"Portal";case ct:return k.displayName||"Context";case rt:return(k._context.displayName||"Context")+".Consumer";case xt:var et=k.render;return k=k.displayName,k||(k=et.displayName||et.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case ot:return et=k.displayName||null,et!==null?et:i(k.type)||"Memo";case jt:et=k._payload,k=k._init;try{return i(k(et))}catch{}}return null}function l(k){return""+k}function u(k){try{l(k);var et=!1}catch{et=!0}if(et){et=console;var ht=et.error,mt=typeof Symbol=="function"&&Symbol.toStringTag&&k[Symbol.toStringTag]||k.constructor.name||"Object";return ht.call(et,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",mt),l(k)}}function c(k){if(k===q)return"<>";if(typeof k=="object"&&k!==null&&k.$$typeof===jt)return"<...>";try{var et=i(k);return et?"<"+et+">":"<...>"}catch{return"<...>"}}function p(){var k=Mt.A;return k===null?null:k.getOwner()}function m(){return Error("react-stack-top-frame")}function y(k){if(Nt.call(k,"key")){var et=Object.getOwnPropertyDescriptor(k,"key").get;if(et&&et.isReactWarning)return!1}return k.key!==void 0}function x(k,et){function ht(){U||(U=!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)",et))}ht.isReactWarning=!0,Object.defineProperty(k,"key",{get:ht,configurable:!0})}function S(){var k=i(this.type);return F[k]||(F[k]=!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.")),k=this.props.ref,k!==void 0?k:null}function E(k,et,ht,mt,Gt,ae){var _t=ht.ref;return k={$$typeof:B,type:k,key:et,props:ht,_owner:mt},(_t!==void 0?_t:null)!==null?Object.defineProperty(k,"ref",{enumerable:!1,get:S}):Object.defineProperty(k,"ref",{enumerable:!1,value:null}),k._store={},Object.defineProperty(k._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(k,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(k,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Gt}),Object.defineProperty(k,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ae}),Object.freeze&&(Object.freeze(k.props),Object.freeze(k)),k}function T(k,et,ht,mt,Gt,ae){var _t=et.children;if(_t!==void 0)if(mt)if(Et(_t)){for(mt=0;mt<_t.length;mt++)A(_t[mt]);Object.freeze&&Object.freeze(_t)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else A(_t);if(Nt.call(et,"key")){_t=i(k);var $e=Object.keys(et).filter(function(In){return In!=="key"});mt=0<$e.length?"{key: someKey, "+$e.join(": ..., ")+": ...}":"{key: someKey}",Ht[_t+mt]||($e=0<$e.length?"{"+$e.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,_t,$e,_t),Ht[_t+mt]=!0)}if(_t=null,ht!==void 0&&(u(ht),_t=""+ht),y(et)&&(u(et.key),_t=""+et.key),"key"in et){ht={};for(var Ae in et)Ae!=="key"&&(ht[Ae]=et[Ae])}else ht=et;return _t&&x(ht,typeof k=="function"?k.displayName||k.name||"Unknown":k),E(k,_t,ht,p(),Gt,ae)}function A(k){R(k)?k._store&&(k._store.validated=1):typeof k=="object"&&k!==null&&k.$$typeof===jt&&(k._payload.status==="fulfilled"?R(k._payload.value)&&k._payload.value._store&&(k._payload.value._store.validated=1):k._store&&(k._store.validated=1))}function R(k){return typeof k=="object"&&k!==null&&k.$$typeof===B}var j=ah(),B=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),rt=Symbol.for("react.consumer"),ct=Symbol.for("react.context"),xt=Symbol.for("react.forward_ref"),Tt=Symbol.for("react.suspense"),vt=Symbol.for("react.suspense_list"),ot=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),St=Symbol.for("react.activity"),oe=Symbol.for("react.client.reference"),Mt=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nt=Object.prototype.hasOwnProperty,Et=Array.isArray,bt=console.createTask?console.createTask:function(){return null};j={react_stack_bottom_frame:function(k){return k()}};var U,F={},P=j.react_stack_bottom_frame.bind(j,m)(),Rt=bt(c(m)),Ht={};Gm.Fragment=q,Gm.jsx=function(k,et,ht){var mt=1e4>Mt.recentlyCreatedOwnerStacks++;return T(k,et,ht,!1,mt?Error("react-stack-top-frame"):P,mt?bt(c(k)):Rt)},Gm.jsxs=function(k,et,ht){var mt=1e4>Mt.recentlyCreatedOwnerStacks++;return T(k,et,ht,!0,mt?Error("react-stack-top-frame"):P,mt?bt(c(k)):Rt)}})()),Gm}var $2;function pM(){return $2||($2=1,process.env.NODE_ENV==="production"?dv.exports=cM():dv.exports=hM()),dv.exports}var z=pM(),pv={exports:{}},Qm={},mv={exports:{}},xx={};var K2;function mM(){return K2||(K2=1,(function(i){function l(U,F){var P=U.length;U.push(F);t:for(;0<P;){var Rt=P-1>>>1,Ht=U[Rt];if(0<p(Ht,F))U[Rt]=F,U[P]=Ht,P=Rt;else break t}}function u(U){return U.length===0?null:U[0]}function c(U){if(U.length===0)return null;var F=U[0],P=U.pop();if(P!==F){U[0]=P;t:for(var Rt=0,Ht=U.length,k=Ht>>>1;Rt<k;){var et=2*(Rt+1)-1,ht=U[et],mt=et+1,Gt=U[mt];if(0>p(ht,P))mt<Ht&&0>p(Gt,ht)?(U[Rt]=Gt,U[mt]=P,Rt=mt):(U[Rt]=ht,U[et]=P,Rt=et);else if(mt<Ht&&0>p(Gt,P))U[Rt]=Gt,U[mt]=P,Rt=mt;else break t}}return F}function p(U,F){var P=U.sortIndex-F.sortIndex;return P!==0?P:U.id-F.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var y=Date,x=y.now();i.unstable_now=function(){return y.now()-x}}var S=[],E=[],T=1,A=null,R=3,j=!1,B=!1,X=!1,q=!1,Z=typeof setTimeout=="function"?setTimeout:null,W=typeof clearTimeout=="function"?clearTimeout:null,rt=typeof setImmediate<"u"?setImmediate:null;function ct(U){for(var F=u(E);F!==null;){if(F.callback===null)c(E);else if(F.startTime<=U)c(E),F.sortIndex=F.expirationTime,l(S,F);else break;F=u(E)}}function xt(U){if(X=!1,ct(U),!B)if(u(S)!==null)B=!0,Tt||(Tt=!0,Mt());else{var F=u(E);F!==null&&bt(xt,F.startTime-U)}}var Tt=!1,vt=-1,ot=5,jt=-1;function St(){return q?!0:!(i.unstable_now()-jt<ot)}function oe(){if(q=!1,Tt){var U=i.unstable_now();jt=U;var F=!0;try{t:{B=!1,X&&(X=!1,W(vt),vt=-1),j=!0;var P=R;try{e:{for(ct(U),A=u(S);A!==null&&!(A.expirationTime>U&&St());){var Rt=A.callback;if(typeof Rt=="function"){A.callback=null,R=A.priorityLevel;var Ht=Rt(A.expirationTime<=U);if(U=i.unstable_now(),typeof Ht=="function"){A.callback=Ht,ct(U),F=!0;break e}A===u(S)&&c(S),ct(U)}else c(S);A=u(S)}if(A!==null)F=!0;else{var k=u(E);k!==null&&bt(xt,k.startTime-U),F=!1}}break t}finally{A=null,R=P,j=!1}F=void 0}}finally{F?Mt():Tt=!1}}}var Mt;if(typeof rt=="function")Mt=function(){rt(oe)};else if(typeof MessageChannel<"u"){var Nt=new MessageChannel,Et=Nt.port2;Nt.port1.onmessage=oe,Mt=function(){Et.postMessage(null)}}else Mt=function(){Z(oe,0)};function bt(U,F){vt=Z(function(){U(i.unstable_now())},F)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(U){U.callback=null},i.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ot=0<U?Math.floor(1e3/U):5},i.unstable_getCurrentPriorityLevel=function(){return R},i.unstable_next=function(U){switch(R){case 1:case 2:case 3:var F=3;break;default:F=R}var P=R;R=F;try{return U()}finally{R=P}},i.unstable_requestPaint=function(){q=!0},i.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var P=R;R=U;try{return F()}finally{R=P}},i.unstable_scheduleCallback=function(U,F,P){var Rt=i.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?Rt+P:Rt):P=Rt,U){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=P+Ht,U={id:T++,callback:F,priorityLevel:U,startTime:P,expirationTime:Ht,sortIndex:-1},P>Rt?(U.sortIndex=P,l(E,U),u(S)===null&&U===u(E)&&(X?(W(vt),vt=-1):X=!0,bt(xt,P-Rt))):(U.sortIndex=Ht,l(S,U),B||j||(B=!0,Tt||(Tt=!0,Mt()))),U},i.unstable_shouldYield=St,i.unstable_wrapCallback=function(U){var F=R;return function(){var P=R;R=F;try{return U.apply(this,arguments)}finally{R=P}}}})(xx)),xx}var Sx={};var I2;function gM(){return I2||(I2=1,(function(i){process.env.NODE_ENV!=="production"&&(function(){function l(){if(xt=!1,jt){var U=i.unstable_now();Mt=U;var F=!0;try{t:{rt=!1,ct&&(ct=!1,vt(St),St=-1),W=!0;var P=Z;try{e:{for(y(U),q=c(j);q!==null&&!(q.expirationTime>U&&S());){var Rt=q.callback;if(typeof Rt=="function"){q.callback=null,Z=q.priorityLevel;var Ht=Rt(q.expirationTime<=U);if(U=i.unstable_now(),typeof Ht=="function"){q.callback=Ht,y(U),F=!0;break e}q===c(j)&&p(j),y(U)}else p(j);q=c(j)}if(q!==null)F=!0;else{var k=c(B);k!==null&&E(x,k.startTime-U),F=!1}}break t}finally{q=null,Z=P,W=!1}F=void 0}}finally{F?Nt():jt=!1}}}function u(U,F){var P=U.length;U.push(F);t:for(;0<P;){var Rt=P-1>>>1,Ht=U[Rt];if(0<m(Ht,F))U[Rt]=F,U[P]=Ht,P=Rt;else break t}}function c(U){return U.length===0?null:U[0]}function p(U){if(U.length===0)return null;var F=U[0],P=U.pop();if(P!==F){U[0]=P;t:for(var Rt=0,Ht=U.length,k=Ht>>>1;Rt<k;){var et=2*(Rt+1)-1,ht=U[et],mt=et+1,Gt=U[mt];if(0>m(ht,P))mt<Ht&&0>m(Gt,ht)?(U[Rt]=Gt,U[mt]=P,Rt=mt):(U[Rt]=ht,U[et]=P,Rt=et);else if(mt<Ht&&0>m(Gt,P))U[Rt]=Gt,U[mt]=P,Rt=mt;else break t}}return F}function m(U,F){var P=U.sortIndex-F.sortIndex;return P!==0?P:U.id-F.id}function y(U){for(var F=c(B);F!==null;){if(F.callback===null)p(B);else if(F.startTime<=U)p(B),F.sortIndex=F.expirationTime,u(j,F);else break;F=c(B)}}function x(U){if(ct=!1,y(U),!rt)if(c(j)!==null)rt=!0,jt||(jt=!0,Nt());else{var F=c(B);F!==null&&E(x,F.startTime-U)}}function S(){return xt?!0:!(i.unstable_now()-Mt<oe)}function E(U,F){St=Tt(function(){U(i.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var T=performance;i.unstable_now=function(){return T.now()}}else{var A=Date,R=A.now();i.unstable_now=function(){return A.now()-R}}var j=[],B=[],X=1,q=null,Z=3,W=!1,rt=!1,ct=!1,xt=!1,Tt=typeof setTimeout=="function"?setTimeout:null,vt=typeof clearTimeout=="function"?clearTimeout:null,ot=typeof setImmediate<"u"?setImmediate:null,jt=!1,St=-1,oe=5,Mt=-1;if(typeof ot=="function")var Nt=function(){ot(l)};else if(typeof MessageChannel<"u"){var Et=new MessageChannel,bt=Et.port2;Et.port1.onmessage=l,Nt=function(){bt.postMessage(null)}}else Nt=function(){Tt(l,0)};i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(U){U.callback=null},i.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<U?Math.floor(1e3/U):5},i.unstable_getCurrentPriorityLevel=function(){return Z},i.unstable_next=function(U){switch(Z){case 1:case 2:case 3:var F=3;break;default:F=Z}var P=Z;Z=F;try{return U()}finally{Z=P}},i.unstable_requestPaint=function(){xt=!0},i.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var P=Z;Z=U;try{return F()}finally{Z=P}},i.unstable_scheduleCallback=function(U,F,P){var Rt=i.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?Rt+P:Rt):P=Rt,U){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=P+Ht,U={id:X++,callback:F,priorityLevel:U,startTime:P,expirationTime:Ht,sortIndex:-1},P>Rt?(U.sortIndex=P,u(B,U),c(j)===null&&U===c(B)&&(ct?(vt(St),St=-1):ct=!0,E(x,P-Rt))):(U.sortIndex=Ht,u(j,U),rt||W||(rt=!0,jt||(jt=!0,Nt()))),U},i.unstable_shouldYield=S,i.unstable_wrapCallback=function(U){var F=Z;return function(){var P=Z;Z=F;try{return U.apply(this,arguments)}finally{Z=P}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Sx)),Sx}var J2;function F2(){return J2||(J2=1,process.env.NODE_ENV==="production"?mv.exports=mM():mv.exports=gM()),mv.exports}var gv={exports:{}},Ka={};var P2;function yM(){if(P2)return Ka;P2=1;var i=ah();function l(S){var E="https://react.dev/errors/"+S;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)E+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+S+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var c={d:{f:u,r:function(){throw Error(l(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},p=Symbol.for("react.portal");function m(S,E,T){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:p,key:A==null?null:""+A,children:S,containerInfo:E,implementation:T}}var y=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(S,E){if(S==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Ka.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Ka.createPortal=function(S,E){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(l(299));return m(S,E,null,T)},Ka.flushSync=function(S){var E=y.T,T=c.p;try{if(y.T=null,c.p=2,S)return S()}finally{y.T=E,c.p=T,c.d.f()}},Ka.preconnect=function(S,E){typeof S=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,c.d.C(S,E))},Ka.prefetchDNS=function(S){typeof S=="string"&&c.d.D(S)},Ka.preinit=function(S,E){if(typeof S=="string"&&E&&typeof E.as=="string"){var T=E.as,A=x(T,E.crossOrigin),R=typeof E.integrity=="string"?E.integrity:void 0,j=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;T==="style"?c.d.S(S,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:A,integrity:R,fetchPriority:j}):T==="script"&&c.d.X(S,{crossOrigin:A,integrity:R,fetchPriority:j,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Ka.preinitModule=function(S,E){if(typeof S=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var T=x(E.as,E.crossOrigin);c.d.M(S,{crossOrigin:T,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&c.d.M(S)},Ka.preload=function(S,E){if(typeof S=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var T=E.as,A=x(T,E.crossOrigin);c.d.L(S,T,{crossOrigin:A,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Ka.preloadModule=function(S,E){if(typeof S=="string")if(E){var T=x(E.as,E.crossOrigin);c.d.m(S,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:T,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else c.d.m(S)},Ka.requestFormReset=function(S){c.d.r(S)},Ka.unstable_batchedUpdates=function(S,E){return S(E)},Ka.useFormState=function(S,E,T){return y.H.useFormState(S,E,T)},Ka.useFormStatus=function(){return y.H.useHostTransitionStatus()},Ka.version="19.2.3",Ka}var Ia={};var W2;function vM(){return W2||(W2=1,process.env.NODE_ENV!=="production"&&(function(){function i(){}function l(A){return""+A}function u(A,R,j){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{l(B);var X=!1}catch{X=!0}return X&&(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&&B[Symbol.toStringTag]||B.constructor.name||"Object"),l(B)),{$$typeof:E,key:B==null?null:""+B,children:A,containerInfo:R,implementation:j}}function c(A,R){if(A==="font")return"";if(typeof R=="string")return R==="use-credentials"?R:""}function p(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":'something with type "'+typeof A+'"'}function m(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":typeof A=="string"?JSON.stringify(A):typeof A=="number"?"`"+A+"`":'something with type "'+typeof A+'"'}function y(){var A=T.H;return A===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
18
+ <%s key={someKey} {...props} />`,mt,_t,$e,_t),Ht[_t+mt]=!0)}if(_t=null,ht!==void 0&&(u(ht),_t=""+ht),y(et)&&(u(et.key),_t=""+et.key),"key"in et){ht={};for(var Ae in et)Ae!=="key"&&(ht[Ae]=et[Ae])}else ht=et;return _t&&x(ht,typeof k=="function"?k.displayName||k.name||"Unknown":k),E(k,_t,ht,p(),Gt,ae)}function A(k){R(k)?k._store&&(k._store.validated=1):typeof k=="object"&&k!==null&&k.$$typeof===jt&&(k._payload.status==="fulfilled"?R(k._payload.value)&&k._payload.value._store&&(k._payload.value._store.validated=1):k._store&&(k._store.validated=1))}function R(k){return typeof k=="object"&&k!==null&&k.$$typeof===B}var j=ah(),B=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),rt=Symbol.for("react.consumer"),ct=Symbol.for("react.context"),xt=Symbol.for("react.forward_ref"),Tt=Symbol.for("react.suspense"),bt=Symbol.for("react.suspense_list"),ot=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),St=Symbol.for("react.activity"),oe=Symbol.for("react.client.reference"),Mt=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nt=Object.prototype.hasOwnProperty,Et=Array.isArray,gt=console.createTask?console.createTask:function(){return null};j={react_stack_bottom_frame:function(k){return k()}};var U,F={},P=j.react_stack_bottom_frame.bind(j,m)(),Rt=gt(c(m)),Ht={};Gm.Fragment=q,Gm.jsx=function(k,et,ht){var mt=1e4>Mt.recentlyCreatedOwnerStacks++;return T(k,et,ht,!1,mt?Error("react-stack-top-frame"):P,mt?gt(c(k)):Rt)},Gm.jsxs=function(k,et,ht){var mt=1e4>Mt.recentlyCreatedOwnerStacks++;return T(k,et,ht,!0,mt?Error("react-stack-top-frame"):P,mt?gt(c(k)):Rt)}})()),Gm}var $2;function pM(){return $2||($2=1,process.env.NODE_ENV==="production"?dv.exports=cM():dv.exports=hM()),dv.exports}var z=pM(),pv={exports:{}},Qm={},mv={exports:{}},xx={};var K2;function mM(){return K2||(K2=1,(function(i){function l(U,F){var P=U.length;U.push(F);t:for(;0<P;){var Rt=P-1>>>1,Ht=U[Rt];if(0<p(Ht,F))U[Rt]=F,U[P]=Ht,P=Rt;else break t}}function u(U){return U.length===0?null:U[0]}function c(U){if(U.length===0)return null;var F=U[0],P=U.pop();if(P!==F){U[0]=P;t:for(var Rt=0,Ht=U.length,k=Ht>>>1;Rt<k;){var et=2*(Rt+1)-1,ht=U[et],mt=et+1,Gt=U[mt];if(0>p(ht,P))mt<Ht&&0>p(Gt,ht)?(U[Rt]=Gt,U[mt]=P,Rt=mt):(U[Rt]=ht,U[et]=P,Rt=et);else if(mt<Ht&&0>p(Gt,P))U[Rt]=Gt,U[mt]=P,Rt=mt;else break t}}return F}function p(U,F){var P=U.sortIndex-F.sortIndex;return P!==0?P:U.id-F.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var y=Date,x=y.now();i.unstable_now=function(){return y.now()-x}}var S=[],E=[],T=1,A=null,R=3,j=!1,B=!1,X=!1,q=!1,Z=typeof setTimeout=="function"?setTimeout:null,W=typeof clearTimeout=="function"?clearTimeout:null,rt=typeof setImmediate<"u"?setImmediate:null;function ct(U){for(var F=u(E);F!==null;){if(F.callback===null)c(E);else if(F.startTime<=U)c(E),F.sortIndex=F.expirationTime,l(S,F);else break;F=u(E)}}function xt(U){if(X=!1,ct(U),!B)if(u(S)!==null)B=!0,Tt||(Tt=!0,Mt());else{var F=u(E);F!==null&&gt(xt,F.startTime-U)}}var Tt=!1,bt=-1,ot=5,jt=-1;function St(){return q?!0:!(i.unstable_now()-jt<ot)}function oe(){if(q=!1,Tt){var U=i.unstable_now();jt=U;var F=!0;try{t:{B=!1,X&&(X=!1,W(bt),bt=-1),j=!0;var P=R;try{e:{for(ct(U),A=u(S);A!==null&&!(A.expirationTime>U&&St());){var Rt=A.callback;if(typeof Rt=="function"){A.callback=null,R=A.priorityLevel;var Ht=Rt(A.expirationTime<=U);if(U=i.unstable_now(),typeof Ht=="function"){A.callback=Ht,ct(U),F=!0;break e}A===u(S)&&c(S),ct(U)}else c(S);A=u(S)}if(A!==null)F=!0;else{var k=u(E);k!==null&&gt(xt,k.startTime-U),F=!1}}break t}finally{A=null,R=P,j=!1}F=void 0}}finally{F?Mt():Tt=!1}}}var Mt;if(typeof rt=="function")Mt=function(){rt(oe)};else if(typeof MessageChannel<"u"){var Nt=new MessageChannel,Et=Nt.port2;Nt.port1.onmessage=oe,Mt=function(){Et.postMessage(null)}}else Mt=function(){Z(oe,0)};function gt(U,F){bt=Z(function(){U(i.unstable_now())},F)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(U){U.callback=null},i.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ot=0<U?Math.floor(1e3/U):5},i.unstable_getCurrentPriorityLevel=function(){return R},i.unstable_next=function(U){switch(R){case 1:case 2:case 3:var F=3;break;default:F=R}var P=R;R=F;try{return U()}finally{R=P}},i.unstable_requestPaint=function(){q=!0},i.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var P=R;R=U;try{return F()}finally{R=P}},i.unstable_scheduleCallback=function(U,F,P){var Rt=i.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?Rt+P:Rt):P=Rt,U){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=P+Ht,U={id:T++,callback:F,priorityLevel:U,startTime:P,expirationTime:Ht,sortIndex:-1},P>Rt?(U.sortIndex=P,l(E,U),u(S)===null&&U===u(E)&&(X?(W(bt),bt=-1):X=!0,gt(xt,P-Rt))):(U.sortIndex=Ht,l(S,U),B||j||(B=!0,Tt||(Tt=!0,Mt()))),U},i.unstable_shouldYield=St,i.unstable_wrapCallback=function(U){var F=R;return function(){var P=R;R=F;try{return U.apply(this,arguments)}finally{R=P}}}})(xx)),xx}var Sx={};var I2;function gM(){return I2||(I2=1,(function(i){process.env.NODE_ENV!=="production"&&(function(){function l(){if(xt=!1,jt){var U=i.unstable_now();Mt=U;var F=!0;try{t:{rt=!1,ct&&(ct=!1,bt(St),St=-1),W=!0;var P=Z;try{e:{for(y(U),q=c(j);q!==null&&!(q.expirationTime>U&&S());){var Rt=q.callback;if(typeof Rt=="function"){q.callback=null,Z=q.priorityLevel;var Ht=Rt(q.expirationTime<=U);if(U=i.unstable_now(),typeof Ht=="function"){q.callback=Ht,y(U),F=!0;break e}q===c(j)&&p(j),y(U)}else p(j);q=c(j)}if(q!==null)F=!0;else{var k=c(B);k!==null&&E(x,k.startTime-U),F=!1}}break t}finally{q=null,Z=P,W=!1}F=void 0}}finally{F?Nt():jt=!1}}}function u(U,F){var P=U.length;U.push(F);t:for(;0<P;){var Rt=P-1>>>1,Ht=U[Rt];if(0<m(Ht,F))U[Rt]=F,U[P]=Ht,P=Rt;else break t}}function c(U){return U.length===0?null:U[0]}function p(U){if(U.length===0)return null;var F=U[0],P=U.pop();if(P!==F){U[0]=P;t:for(var Rt=0,Ht=U.length,k=Ht>>>1;Rt<k;){var et=2*(Rt+1)-1,ht=U[et],mt=et+1,Gt=U[mt];if(0>m(ht,P))mt<Ht&&0>m(Gt,ht)?(U[Rt]=Gt,U[mt]=P,Rt=mt):(U[Rt]=ht,U[et]=P,Rt=et);else if(mt<Ht&&0>m(Gt,P))U[Rt]=Gt,U[mt]=P,Rt=mt;else break t}}return F}function m(U,F){var P=U.sortIndex-F.sortIndex;return P!==0?P:U.id-F.id}function y(U){for(var F=c(B);F!==null;){if(F.callback===null)p(B);else if(F.startTime<=U)p(B),F.sortIndex=F.expirationTime,u(j,F);else break;F=c(B)}}function x(U){if(ct=!1,y(U),!rt)if(c(j)!==null)rt=!0,jt||(jt=!0,Nt());else{var F=c(B);F!==null&&E(x,F.startTime-U)}}function S(){return xt?!0:!(i.unstable_now()-Mt<oe)}function E(U,F){St=Tt(function(){U(i.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var T=performance;i.unstable_now=function(){return T.now()}}else{var A=Date,R=A.now();i.unstable_now=function(){return A.now()-R}}var j=[],B=[],X=1,q=null,Z=3,W=!1,rt=!1,ct=!1,xt=!1,Tt=typeof setTimeout=="function"?setTimeout:null,bt=typeof clearTimeout=="function"?clearTimeout:null,ot=typeof setImmediate<"u"?setImmediate:null,jt=!1,St=-1,oe=5,Mt=-1;if(typeof ot=="function")var Nt=function(){ot(l)};else if(typeof MessageChannel<"u"){var Et=new MessageChannel,gt=Et.port2;Et.port1.onmessage=l,Nt=function(){gt.postMessage(null)}}else Nt=function(){Tt(l,0)};i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(U){U.callback=null},i.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<U?Math.floor(1e3/U):5},i.unstable_getCurrentPriorityLevel=function(){return Z},i.unstable_next=function(U){switch(Z){case 1:case 2:case 3:var F=3;break;default:F=Z}var P=Z;Z=F;try{return U()}finally{Z=P}},i.unstable_requestPaint=function(){xt=!0},i.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var P=Z;Z=U;try{return F()}finally{Z=P}},i.unstable_scheduleCallback=function(U,F,P){var Rt=i.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?Rt+P:Rt):P=Rt,U){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=P+Ht,U={id:X++,callback:F,priorityLevel:U,startTime:P,expirationTime:Ht,sortIndex:-1},P>Rt?(U.sortIndex=P,u(B,U),c(j)===null&&U===c(B)&&(ct?(bt(St),St=-1):ct=!0,E(x,P-Rt))):(U.sortIndex=Ht,u(j,U),rt||W||(rt=!0,jt||(jt=!0,Nt()))),U},i.unstable_shouldYield=S,i.unstable_wrapCallback=function(U){var F=Z;return function(){var P=Z;Z=F;try{return U.apply(this,arguments)}finally{Z=P}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Sx)),Sx}var J2;function F2(){return J2||(J2=1,process.env.NODE_ENV==="production"?mv.exports=mM():mv.exports=gM()),mv.exports}var gv={exports:{}},Ka={};var P2;function yM(){if(P2)return Ka;P2=1;var i=ah();function l(S){var E="https://react.dev/errors/"+S;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)E+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+S+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var c={d:{f:u,r:function(){throw Error(l(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},p=Symbol.for("react.portal");function m(S,E,T){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:p,key:A==null?null:""+A,children:S,containerInfo:E,implementation:T}}var y=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(S,E){if(S==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Ka.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Ka.createPortal=function(S,E){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(l(299));return m(S,E,null,T)},Ka.flushSync=function(S){var E=y.T,T=c.p;try{if(y.T=null,c.p=2,S)return S()}finally{y.T=E,c.p=T,c.d.f()}},Ka.preconnect=function(S,E){typeof S=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,c.d.C(S,E))},Ka.prefetchDNS=function(S){typeof S=="string"&&c.d.D(S)},Ka.preinit=function(S,E){if(typeof S=="string"&&E&&typeof E.as=="string"){var T=E.as,A=x(T,E.crossOrigin),R=typeof E.integrity=="string"?E.integrity:void 0,j=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;T==="style"?c.d.S(S,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:A,integrity:R,fetchPriority:j}):T==="script"&&c.d.X(S,{crossOrigin:A,integrity:R,fetchPriority:j,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Ka.preinitModule=function(S,E){if(typeof S=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var T=x(E.as,E.crossOrigin);c.d.M(S,{crossOrigin:T,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&c.d.M(S)},Ka.preload=function(S,E){if(typeof S=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var T=E.as,A=x(T,E.crossOrigin);c.d.L(S,T,{crossOrigin:A,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Ka.preloadModule=function(S,E){if(typeof S=="string")if(E){var T=x(E.as,E.crossOrigin);c.d.m(S,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:T,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else c.d.m(S)},Ka.requestFormReset=function(S){c.d.r(S)},Ka.unstable_batchedUpdates=function(S,E){return S(E)},Ka.useFormState=function(S,E,T){return y.H.useFormState(S,E,T)},Ka.useFormStatus=function(){return y.H.useHostTransitionStatus()},Ka.version="19.2.3",Ka}var Ia={};var W2;function vM(){return W2||(W2=1,process.env.NODE_ENV!=="production"&&(function(){function i(){}function l(A){return""+A}function u(A,R,j){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{l(B);var X=!1}catch{X=!0}return X&&(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&&B[Symbol.toStringTag]||B.constructor.name||"Object"),l(B)),{$$typeof:E,key:B==null?null:""+B,children:A,containerInfo:R,implementation:j}}function c(A,R){if(A==="font")return"";if(typeof R=="string")return R==="use-credentials"?R:""}function p(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":'something with type "'+typeof A+'"'}function m(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":typeof A=="string"?JSON.stringify(A):typeof A=="number"?"`"+A+"`":'something with type "'+typeof A+'"'}function y(){var A=T.H;return A===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
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.`),A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var x=ah(),S={d:{f:i,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},E=Symbol.for("react.portal"),T=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Ia.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,Ia.createPortal=function(A,R){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!R||R.nodeType!==1&&R.nodeType!==9&&R.nodeType!==11)throw Error("Target container is not a DOM element.");return u(A,R,null,j)},Ia.flushSync=function(A){var R=T.T,j=S.p;try{if(T.T=null,S.p=2,A)return A()}finally{T.T=R,S.p=j,S.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.")}},Ia.preconnect=function(A,R){typeof A=="string"&&A?R!=null&&typeof R!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",m(R)):R!=null&&typeof R.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",p(R.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(A)),typeof A=="string"&&(R?(R=R.crossOrigin,R=typeof R=="string"?R==="use-credentials"?R:"":void 0):R=null,S.d.C(A,R))},Ia.prefetchDNS=function(A){if(typeof A!="string"||!A)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(A));else if(1<arguments.length){var R=arguments[1];typeof R=="object"&&R.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",m(R)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",m(R))}typeof A=="string"&&S.d.D(A)},Ia.preinit=function(A,R){if(typeof A=="string"&&A?R==null||typeof R!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",m(R)):R.as!=="style"&&R.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',m(R.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(A)),typeof A=="string"&&R&&typeof R.as=="string"){var j=R.as,B=c(j,R.crossOrigin),X=typeof R.integrity=="string"?R.integrity:void 0,q=typeof R.fetchPriority=="string"?R.fetchPriority:void 0;j==="style"?S.d.S(A,typeof R.precedence=="string"?R.precedence:void 0,{crossOrigin:B,integrity:X,fetchPriority:q}):j==="script"&&S.d.X(A,{crossOrigin:B,integrity:X,fetchPriority:q,nonce:typeof R.nonce=="string"?R.nonce:void 0})}},Ia.preinitModule=function(A,R){var j="";typeof A=="string"&&A||(j+=" The `href` argument encountered was "+p(A)+"."),R!==void 0&&typeof R!="object"?j+=" The `options` argument encountered was "+p(R)+".":R&&"as"in R&&R.as!=="script"&&(j+=" The `as` option encountered was "+m(R.as)+"."),j?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",j):(j=R&&typeof R.as=="string"?R.as:"script",j)==="script"||(j=m(j),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)',j,A)),typeof A=="string"&&(typeof R=="object"&&R!==null?(R.as==null||R.as==="script")&&(j=c(R.as,R.crossOrigin),S.d.M(A,{crossOrigin:j,integrity:typeof R.integrity=="string"?R.integrity:void 0,nonce:typeof R.nonce=="string"?R.nonce:void 0})):R==null&&S.d.M(A))},Ia.preload=function(A,R){var j="";if(typeof A=="string"&&A||(j+=" The `href` argument encountered was "+p(A)+"."),R==null||typeof R!="object"?j+=" The `options` argument encountered was "+p(R)+".":typeof R.as=="string"&&R.as||(j+=" The `as` option encountered was "+p(R.as)+"."),j&&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',j),typeof A=="string"&&typeof R=="object"&&R!==null&&typeof R.as=="string"){j=R.as;var B=c(j,R.crossOrigin);S.d.L(A,j,{crossOrigin:B,integrity:typeof R.integrity=="string"?R.integrity:void 0,nonce:typeof R.nonce=="string"?R.nonce:void 0,type:typeof R.type=="string"?R.type:void 0,fetchPriority:typeof R.fetchPriority=="string"?R.fetchPriority:void 0,referrerPolicy:typeof R.referrerPolicy=="string"?R.referrerPolicy:void 0,imageSrcSet:typeof R.imageSrcSet=="string"?R.imageSrcSet:void 0,imageSizes:typeof R.imageSizes=="string"?R.imageSizes:void 0,media:typeof R.media=="string"?R.media:void 0})}},Ia.preloadModule=function(A,R){var j="";typeof A=="string"&&A||(j+=" The `href` argument encountered was "+p(A)+"."),R!==void 0&&typeof R!="object"?j+=" The `options` argument encountered was "+p(R)+".":R&&"as"in R&&typeof R.as!="string"&&(j+=" The `as` option encountered was "+p(R.as)+"."),j&&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',j),typeof A=="string"&&(R?(j=c(R.as,R.crossOrigin),S.d.m(A,{as:typeof R.as=="string"&&R.as!=="script"?R.as:void 0,crossOrigin:j,integrity:typeof R.integrity=="string"?R.integrity:void 0})):S.d.m(A))},Ia.requestFormReset=function(A){S.d.r(A)},Ia.unstable_batchedUpdates=function(A,R){return A(R)},Ia.useFormState=function(A,R,j){return y().useFormState(A,R,j)},Ia.useFormStatus=function(){return y().useHostTransitionStatus()},Ia.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ia}var tE;function wx(){if(tE)return gv.exports;tE=1;function i(){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(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),gv.exports=yM()):gv.exports=vM(),gv.exports}var eE;function bM(){if(eE)return Qm;eE=1;var i=F2(),l=ah(),u=wx();function c(n){var o="https://react.dev/errors/"+n;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)o+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function m(n){var o=n,r=n;if(n.alternate)for(;o.return;)o=o.return;else{n=o;do o=n,(o.flags&4098)!==0&&(r=o.return),n=o.return;while(n)}return o.tag===3?r:null}function y(n){if(n.tag===13){var o=n.memoizedState;if(o===null&&(n=n.alternate,n!==null&&(o=n.memoizedState)),o!==null)return o.dehydrated}return null}function x(n){if(n.tag===31){var o=n.memoizedState;if(o===null&&(n=n.alternate,n!==null&&(o=n.memoizedState)),o!==null)return o.dehydrated}return null}function S(n){if(m(n)!==n)throw Error(c(188))}function E(n){var o=n.alternate;if(!o){if(o=m(n),o===null)throw Error(c(188));return o!==n?null:n}for(var r=n,f=o;;){var g=r.return;if(g===null)break;var v=g.alternate;if(v===null){if(f=g.return,f!==null){r=f;continue}break}if(g.child===v.child){for(v=g.child;v;){if(v===r)return S(g),n;if(v===f)return S(g),o;v=v.sibling}throw Error(c(188))}if(r.return!==f.return)r=g,f=v;else{for(var C=!1,_=g.child;_;){if(_===r){C=!0,r=g,f=v;break}if(_===f){C=!0,f=g,r=v;break}_=_.sibling}if(!C){for(_=v.child;_;){if(_===r){C=!0,r=v,f=g;break}if(_===f){C=!0,f=v,r=g;break}_=_.sibling}if(!C)throw Error(c(189))}}if(r.alternate!==f)throw Error(c(190))}if(r.tag!==3)throw Error(c(188));return r.stateNode.current===r?n:o}function T(n){var o=n.tag;if(o===5||o===26||o===27||o===6)return n;for(n=n.child;n!==null;){if(o=T(n),o!==null)return o;n=n.sibling}return null}var A=Object.assign,R=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),rt=Symbol.for("react.context"),ct=Symbol.for("react.forward_ref"),xt=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),vt=Symbol.for("react.memo"),ot=Symbol.for("react.lazy"),jt=Symbol.for("react.activity"),St=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function Mt(n){return n===null||typeof n!="object"?null:(n=oe&&n[oe]||n["@@iterator"],typeof n=="function"?n:null)}var Nt=Symbol.for("react.client.reference");function Et(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Nt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case X:return"Fragment";case Z:return"Profiler";case q:return"StrictMode";case xt:return"Suspense";case Tt:return"SuspenseList";case jt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case B:return"Portal";case rt:return n.displayName||"Context";case W:return(n._context.displayName||"Context")+".Consumer";case ct:var o=n.render;return n=n.displayName,n||(n=o.displayName||o.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case vt:return o=n.displayName||null,o!==null?o:Et(n.type)||"Memo";case ot:o=n._payload,n=n._init;try{return Et(n(o))}catch{}}return null}var bt=Array.isArray,U=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},Rt=[],Ht=-1;function k(n){return{current:n}}function et(n){0>Ht||(n.current=Rt[Ht],Rt[Ht]=null,Ht--)}function ht(n,o){Ht++,Rt[Ht]=n.current,n.current=o}var mt=k(null),Gt=k(null),ae=k(null),_t=k(null);function $e(n,o){switch(ht(ae,o),ht(Gt,n),ht(mt,null),o.nodeType){case 9:case 11:n=(n=o.documentElement)&&(n=n.namespaceURI)?f1(n):0;break;default:if(n=o.tagName,o=o.namespaceURI)o=f1(o),n=ry(o,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}et(mt),ht(mt,n)}function Ae(){et(mt),et(Gt),et(ae)}function In(n){n.memoizedState!==null&&ht(_t,n);var o=mt.current,r=ry(o,n.type);o!==r&&(ht(Gt,n),ht(mt,r))}function zt(n){Gt.current===n&&(et(mt),et(Gt)),_t.current===n&&(et(_t),zd._currentValue=P)}var ui,pr;function ci(n){if(ui===void 0)try{throw Error()}catch(r){var o=r.stack.trim().match(/\n( *(at )?)/);ui=o&&o[1]||"",pr=-1<r.stack.indexOf(`
22
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var x=ah(),S={d:{f:i,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},E=Symbol.for("react.portal"),T=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Ia.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,Ia.createPortal=function(A,R){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!R||R.nodeType!==1&&R.nodeType!==9&&R.nodeType!==11)throw Error("Target container is not a DOM element.");return u(A,R,null,j)},Ia.flushSync=function(A){var R=T.T,j=S.p;try{if(T.T=null,S.p=2,A)return A()}finally{T.T=R,S.p=j,S.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.")}},Ia.preconnect=function(A,R){typeof A=="string"&&A?R!=null&&typeof R!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",m(R)):R!=null&&typeof R.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",p(R.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(A)),typeof A=="string"&&(R?(R=R.crossOrigin,R=typeof R=="string"?R==="use-credentials"?R:"":void 0):R=null,S.d.C(A,R))},Ia.prefetchDNS=function(A){if(typeof A!="string"||!A)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(A));else if(1<arguments.length){var R=arguments[1];typeof R=="object"&&R.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",m(R)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",m(R))}typeof A=="string"&&S.d.D(A)},Ia.preinit=function(A,R){if(typeof A=="string"&&A?R==null||typeof R!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",m(R)):R.as!=="style"&&R.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',m(R.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(A)),typeof A=="string"&&R&&typeof R.as=="string"){var j=R.as,B=c(j,R.crossOrigin),X=typeof R.integrity=="string"?R.integrity:void 0,q=typeof R.fetchPriority=="string"?R.fetchPriority:void 0;j==="style"?S.d.S(A,typeof R.precedence=="string"?R.precedence:void 0,{crossOrigin:B,integrity:X,fetchPriority:q}):j==="script"&&S.d.X(A,{crossOrigin:B,integrity:X,fetchPriority:q,nonce:typeof R.nonce=="string"?R.nonce:void 0})}},Ia.preinitModule=function(A,R){var j="";typeof A=="string"&&A||(j+=" The `href` argument encountered was "+p(A)+"."),R!==void 0&&typeof R!="object"?j+=" The `options` argument encountered was "+p(R)+".":R&&"as"in R&&R.as!=="script"&&(j+=" The `as` option encountered was "+m(R.as)+"."),j?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",j):(j=R&&typeof R.as=="string"?R.as:"script",j)==="script"||(j=m(j),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)',j,A)),typeof A=="string"&&(typeof R=="object"&&R!==null?(R.as==null||R.as==="script")&&(j=c(R.as,R.crossOrigin),S.d.M(A,{crossOrigin:j,integrity:typeof R.integrity=="string"?R.integrity:void 0,nonce:typeof R.nonce=="string"?R.nonce:void 0})):R==null&&S.d.M(A))},Ia.preload=function(A,R){var j="";if(typeof A=="string"&&A||(j+=" The `href` argument encountered was "+p(A)+"."),R==null||typeof R!="object"?j+=" The `options` argument encountered was "+p(R)+".":typeof R.as=="string"&&R.as||(j+=" The `as` option encountered was "+p(R.as)+"."),j&&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',j),typeof A=="string"&&typeof R=="object"&&R!==null&&typeof R.as=="string"){j=R.as;var B=c(j,R.crossOrigin);S.d.L(A,j,{crossOrigin:B,integrity:typeof R.integrity=="string"?R.integrity:void 0,nonce:typeof R.nonce=="string"?R.nonce:void 0,type:typeof R.type=="string"?R.type:void 0,fetchPriority:typeof R.fetchPriority=="string"?R.fetchPriority:void 0,referrerPolicy:typeof R.referrerPolicy=="string"?R.referrerPolicy:void 0,imageSrcSet:typeof R.imageSrcSet=="string"?R.imageSrcSet:void 0,imageSizes:typeof R.imageSizes=="string"?R.imageSizes:void 0,media:typeof R.media=="string"?R.media:void 0})}},Ia.preloadModule=function(A,R){var j="";typeof A=="string"&&A||(j+=" The `href` argument encountered was "+p(A)+"."),R!==void 0&&typeof R!="object"?j+=" The `options` argument encountered was "+p(R)+".":R&&"as"in R&&typeof R.as!="string"&&(j+=" The `as` option encountered was "+p(R.as)+"."),j&&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',j),typeof A=="string"&&(R?(j=c(R.as,R.crossOrigin),S.d.m(A,{as:typeof R.as=="string"&&R.as!=="script"?R.as:void 0,crossOrigin:j,integrity:typeof R.integrity=="string"?R.integrity:void 0})):S.d.m(A))},Ia.requestFormReset=function(A){S.d.r(A)},Ia.unstable_batchedUpdates=function(A,R){return A(R)},Ia.useFormState=function(A,R,j){return y().useFormState(A,R,j)},Ia.useFormStatus=function(){return y().useHostTransitionStatus()},Ia.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ia}var tE;function wx(){if(tE)return gv.exports;tE=1;function i(){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(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),gv.exports=yM()):gv.exports=vM(),gv.exports}var eE;function bM(){if(eE)return Qm;eE=1;var i=F2(),l=ah(),u=wx();function c(n){var o="https://react.dev/errors/"+n;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)o+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function m(n){var o=n,r=n;if(n.alternate)for(;o.return;)o=o.return;else{n=o;do o=n,(o.flags&4098)!==0&&(r=o.return),n=o.return;while(n)}return o.tag===3?r:null}function y(n){if(n.tag===13){var o=n.memoizedState;if(o===null&&(n=n.alternate,n!==null&&(o=n.memoizedState)),o!==null)return o.dehydrated}return null}function x(n){if(n.tag===31){var o=n.memoizedState;if(o===null&&(n=n.alternate,n!==null&&(o=n.memoizedState)),o!==null)return o.dehydrated}return null}function S(n){if(m(n)!==n)throw Error(c(188))}function E(n){var o=n.alternate;if(!o){if(o=m(n),o===null)throw Error(c(188));return o!==n?null:n}for(var r=n,f=o;;){var g=r.return;if(g===null)break;var v=g.alternate;if(v===null){if(f=g.return,f!==null){r=f;continue}break}if(g.child===v.child){for(v=g.child;v;){if(v===r)return S(g),n;if(v===f)return S(g),o;v=v.sibling}throw Error(c(188))}if(r.return!==f.return)r=g,f=v;else{for(var C=!1,_=g.child;_;){if(_===r){C=!0,r=g,f=v;break}if(_===f){C=!0,f=g,r=v;break}_=_.sibling}if(!C){for(_=v.child;_;){if(_===r){C=!0,r=v,f=g;break}if(_===f){C=!0,f=v,r=g;break}_=_.sibling}if(!C)throw Error(c(189))}}if(r.alternate!==f)throw Error(c(190))}if(r.tag!==3)throw Error(c(188));return r.stateNode.current===r?n:o}function T(n){var o=n.tag;if(o===5||o===26||o===27||o===6)return n;for(n=n.child;n!==null;){if(o=T(n),o!==null)return o;n=n.sibling}return null}var A=Object.assign,R=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),rt=Symbol.for("react.context"),ct=Symbol.for("react.forward_ref"),xt=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),bt=Symbol.for("react.memo"),ot=Symbol.for("react.lazy"),jt=Symbol.for("react.activity"),St=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function Mt(n){return n===null||typeof n!="object"?null:(n=oe&&n[oe]||n["@@iterator"],typeof n=="function"?n:null)}var Nt=Symbol.for("react.client.reference");function Et(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Nt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case X:return"Fragment";case Z:return"Profiler";case q:return"StrictMode";case xt:return"Suspense";case Tt:return"SuspenseList";case jt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case B:return"Portal";case rt:return n.displayName||"Context";case W:return(n._context.displayName||"Context")+".Consumer";case ct:var o=n.render;return n=n.displayName,n||(n=o.displayName||o.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case bt:return o=n.displayName||null,o!==null?o:Et(n.type)||"Memo";case ot:o=n._payload,n=n._init;try{return Et(n(o))}catch{}}return null}var gt=Array.isArray,U=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},Rt=[],Ht=-1;function k(n){return{current:n}}function et(n){0>Ht||(n.current=Rt[Ht],Rt[Ht]=null,Ht--)}function ht(n,o){Ht++,Rt[Ht]=n.current,n.current=o}var mt=k(null),Gt=k(null),ae=k(null),_t=k(null);function $e(n,o){switch(ht(ae,o),ht(Gt,n),ht(mt,null),o.nodeType){case 9:case 11:n=(n=o.documentElement)&&(n=n.namespaceURI)?f1(n):0;break;default:if(n=o.tagName,o=o.namespaceURI)o=f1(o),n=ry(o,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}et(mt),ht(mt,n)}function Ae(){et(mt),et(Gt),et(ae)}function In(n){n.memoizedState!==null&&ht(_t,n);var o=mt.current,r=ry(o,n.type);o!==r&&(ht(Gt,n),ht(mt,r))}function zt(n){Gt.current===n&&(et(mt),et(Gt)),_t.current===n&&(et(_t),zd._currentValue=P)}var ui,pr;function ci(n){if(ui===void 0)try{throw Error()}catch(r){var o=r.stack.trim().match(/\n( *(at )?)/);ui=o&&o[1]||"",pr=-1<r.stack.indexOf(`
23
23
  at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
24
- `+ui+n+pr}var Vo=!1;function Le(n,o){if(!n||Vo)return"";Vo=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(o){var gt=function(){throw Error()};if(Object.defineProperty(gt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(gt,[])}catch(ut){var at=ut}Reflect.construct(n,[],gt)}else{try{gt.call()}catch(ut){at=ut}n.call(gt.prototype)}}else{try{throw Error()}catch(ut){at=ut}(gt=n())&&typeof gt.catch=="function"&&gt.catch(function(){})}}catch(ut){if(ut&&at&&typeof ut.stack=="string")return[ut.stack,at.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=f.DetermineComponentFrameRoot(),C=v[0],_=v[1];if(C&&_){var V=C.split(`
24
+ `+ui+n+pr}var Vo=!1;function Le(n,o){if(!n||Vo)return"";Vo=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(o){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(ut){var at=ut}Reflect.construct(n,[],yt)}else{try{yt.call()}catch(ut){at=ut}n.call(yt.prototype)}}else{try{throw Error()}catch(ut){at=ut}(yt=n())&&typeof yt.catch=="function"&&yt.catch(function(){})}}catch(ut){if(ut&&at&&typeof ut.stack=="string")return[ut.stack,at.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=f.DetermineComponentFrameRoot(),C=v[0],_=v[1];if(C&&_){var V=C.split(`
25
25
  `),nt=_.split(`
26
26
  `);for(g=f=0;f<V.length&&!V[f].includes("DetermineComponentFrameRoot");)f++;for(;g<nt.length&&!nt[g].includes("DetermineComponentFrameRoot");)g++;if(f===V.length||g===nt.length)for(f=V.length-1,g=nt.length-1;1<=f&&0<=g&&V[f]!==nt[g];)g--;for(;1<=f&&0<=g;f--,g--)if(V[f]!==nt[g]){if(f!==1||g!==1)do if(f--,g--,0>g||V[f]!==nt[g]){var ft=`
27
27
  `+V[f].replace(" at new "," at ");return n.displayName&&ft.includes("<anonymous>")&&(ft=ft.replace("<anonymous>",n.displayName)),ft}while(1<=f&&0<=g);break}}}finally{Vo=!1,Error.prepareStackTrace=r}return(r=n?n.displayName||n.name:"")?ci(r):""}function xa(n,o){switch(n.tag){case 26:case 27:case 5:return ci(n.type);case 16:return ci("Lazy");case 13:return n.child!==o&&o!==null?ci("Suspense Fallback"):ci("Suspense");case 19:return ci("SuspenseList");case 0:case 15:return Le(n.type,!1);case 11:return Le(n.type.render,!1);case 1:return Le(n.type,!0);case 31:return ci("Activity");default:return""}}function rs(n){try{var o="",r=null;do o+=xa(n,r),r=n,n=n.return;while(n);return o}catch(f){return`
28
28
  Error generating stack: `+f.message+`
29
- `+f.stack}}var gf=Object.prototype.hasOwnProperty,Vt=i.unstable_scheduleCallback,mr=i.unstable_cancelCallback,Bo=i.unstable_shouldYield,ss=i.unstable_requestPaint,jn=i.unstable_now,Sh=i.unstable_getCurrentPriorityLevel,Au=i.unstable_ImmediatePriority,Cu=i.unstable_UserBlockingPriority,ao=i.unstable_NormalPriority,wh=i.unstable_LowPriority,Ru=i.unstable_IdlePriority,yf=i.log,us=i.unstable_setDisableYieldValue,Hi=null,Vn=null;function fi(n){if(typeof yf=="function"&&us(n),Vn&&typeof Vn.setStrictMode=="function")try{Vn.setStrictMode(Hi,n)}catch{}}var Jn=Math.clz32?Math.clz32:I,gr=Math.log,O=Math.LN2;function I(n){return n>>>=0,n===0?32:31-(gr(n)/O|0)|0}var wt=256,At=262144,Bt=4194304;function Wt(n){var o=n&42;if(o!==0)return o;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 Xt(n,o,r){var f=n.pendingLanes;if(f===0)return 0;var g=0,v=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var _=f&134217727;return _!==0?(f=_&~v,f!==0?g=Wt(f):(C&=_,C!==0?g=Wt(C):r||(r=_&~n,r!==0&&(g=Wt(r))))):(_=f&~v,_!==0?g=Wt(_):C!==0?g=Wt(C):r||(r=f&~n,r!==0&&(g=Wt(r)))),g===0?0:o!==0&&o!==g&&(o&v)===0&&(v=g&-g,r=o&-o,v>=r||v===32&&(r&4194048)!==0)?o:g}function xe(n,o){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&o)===0}function ue(n,o){switch(n){case 1:case 2:case 4:case 8:case 64:return o+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 o+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 Sa(){var n=Bt;return Bt<<=1,(Bt&62914560)===0&&(Bt=4194304),n}function Vi(n){for(var o=[],r=0;31>r;r++)o.push(n);return o}function yr(n,o){n.pendingLanes|=o,o!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Du(n,o,r,f,g,v){var C=n.pendingLanes;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=r,n.entangledLanes&=r,n.errorRecoveryDisabledLanes&=r,n.shellSuspendCounter=0;var _=n.entanglements,V=n.expirationTimes,nt=n.hiddenUpdates;for(r=C&~r;0<r;){var ft=31-Jn(r),gt=1<<ft;_[ft]=0,V[ft]=-1;var at=nt[ft];if(at!==null)for(nt[ft]=null,ft=0;ft<at.length;ft++){var ut=at[ft];ut!==null&&(ut.lane&=-536870913)}r&=~gt}f!==0&&vf(n,f,0),v!==0&&g===0&&n.tag!==0&&(n.suspendedLanes|=v&~(C&~o))}function vf(n,o,r){n.pendingLanes|=o,n.suspendedLanes&=~o;var f=31-Jn(o);n.entangledLanes|=o,n.entanglements[f]=n.entanglements[f]|1073741824|r&261930}function Yo(n,o){var r=n.entangledLanes|=o;for(n=n.entanglements;r;){var f=31-Jn(r),g=1<<f;g&o|n[f]&o&&(n[f]|=o),r&=~g}}function di(n,o){var r=o&-o;return r=(r&42)!==0?1:Eh(r),(r&(n.suspendedLanes|o))!==0?0:r}function Eh(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 yg(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Th(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:Od(n.type))}function vg(n,o){var r=F.p;try{return F.p=n,o()}finally{F.p=r}}var io=Math.random().toString(36).slice(2),Ke="__reactFiber$"+io,Oa="__reactProps$"+io,vr="__reactContainer$"+io,Ah="__reactEvents$"+io,bg="__reactListeners$"+io,Wv="__reactHandles$"+io,xg="__reactResources$"+io,qo="__reactMarker$"+io;function Ch(n){delete n[Ke],delete n[Oa],delete n[Ah],delete n[bg],delete n[Wv]}function cs(n){var o=n[Ke];if(o)return o;for(var r=n.parentNode;r;){if(o=r[vr]||r[Ke]){if(r=o.alternate,o.child!==null||r!==null&&r.child!==null)for(n=Co(n);n!==null;){if(r=n[Ke])return r;n=Co(n)}return o}n=r,r=n.parentNode}return null}function fs(n){if(n=n[Ke]||n[vr]){var o=n.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return n}return null}function Mu(n){var o=n.tag;if(o===5||o===26||o===27||o===6)return n.stateNode;throw Error(c(33))}function ds(n){var o=n[xg];return o||(o=n[xg]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function qe(n){n[qo]=!0}var hs=new Set,br={};function xr(n,o){Go(n,o),Go(n+"Capture",o)}function Go(n,o){for(br[n]=o,n=0;n<o.length;n++)hs.add(o[n])}var Rh=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]*$"),Dh={},zu={};function Ou(n){return gf.call(zu,n)?!0:gf.call(Dh,n)?!1:Rh.test(n)?zu[n]=!0:(Dh[n]=!0,!1)}function _u(n,o,r){if(Ou(o))if(r===null)n.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(o);return;case"boolean":var f=o.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){n.removeAttribute(o);return}}n.setAttribute(o,""+r)}}function Mh(n,o,r){if(r===null)n.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttribute(o,""+r)}}function Ul(n,o,r,f){if(f===null)n.removeAttribute(r);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(o,r,""+f)}}function hi(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function zh(n){var o=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Sg(n,o,r){var f=Object.getOwnPropertyDescriptor(n.constructor.prototype,o);if(!n.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var g=f.get,v=f.set;return Object.defineProperty(n,o,{configurable:!0,get:function(){return g.call(this)},set:function(C){r=""+C,v.call(this,C)}}),Object.defineProperty(n,o,{enumerable:f.enumerable}),{getValue:function(){return r},setValue:function(C){r=""+C},stopTracking:function(){n._valueTracker=null,delete n[o]}}}}function Oh(n){if(!n._valueTracker){var o=zh(n)?"checked":"value";n._valueTracker=Sg(n,o,""+n[o])}}function wg(n){if(!n)return!1;var o=n._valueTracker;if(!o)return!0;var r=o.getValue(),f="";return n&&(f=zh(n)?n.checked?"true":"false":n.value),n=f,n!==r?(o.setValue(n),!0):!1}function bf(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 gw=/[\n"\\]/g;function pi(n){return n.replace(gw,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function xf(n,o,r,f,g,v,C,_){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),o!=null?C==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+hi(o)):n.value!==""+hi(o)&&(n.value=""+hi(o)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),o!=null?ps(n,C,hi(o)):r!=null?ps(n,C,hi(r)):f!=null&&n.removeAttribute("value"),g==null&&v!=null&&(n.defaultChecked=!!v),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.name=""+hi(_):n.removeAttribute("name")}function Sf(n,o,r,f,g,v,C,_){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),o!=null||r!=null){if(!(v!=="submit"&&v!=="reset"||o!=null)){Oh(n);return}r=r!=null?""+hi(r):"",o=o!=null?""+hi(o):r,_||o===n.value||(n.value=o),n.defaultValue=o}f=f??g,f=typeof f!="function"&&typeof f!="symbol"&&!!f,n.checked=_?n.checked:!!f,n.defaultChecked=!!f,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C),Oh(n)}function ps(n,o,r){o==="number"&&bf(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function ku(n,o,r,f){if(n=n.options,o){o={};for(var g=0;g<r.length;g++)o["$"+r[g]]=!0;for(r=0;r<n.length;r++)g=o.hasOwnProperty("$"+n[r].value),n[r].selected!==g&&(n[r].selected=g),g&&f&&(n[r].defaultSelected=!0)}else{for(r=""+hi(r),o=null,g=0;g<n.length;g++){if(n[g].value===r){n[g].selected=!0,f&&(n[g].defaultSelected=!0);return}o!==null||n[g].disabled||(o=n[g])}o!==null&&(o.selected=!0)}}function Eg(n,o,r){if(o!=null&&(o=""+hi(o),o!==n.value&&(n.value=o),r==null)){n.defaultValue!==o&&(n.defaultValue=o);return}n.defaultValue=r!=null?""+hi(r):""}function Tg(n,o,r,f){if(o==null){if(f!=null){if(r!=null)throw Error(c(92));if(bt(f)){if(1<f.length)throw Error(c(93));f=f[0]}r=f}r==null&&(r=""),o=r}r=hi(o),n.defaultValue=r,f=n.textContent,f===r&&f!==""&&f!==null&&(n.value=f),Oh(n)}function Xo(n,o){if(o){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=o;return}}n.textContent=o}var tb=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 eb(n,o,r){var f=o.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?f?n.setProperty(o,""):o==="float"?n.cssFloat="":n[o]="":f?n.setProperty(o,r):typeof r!="number"||r===0||tb.has(o)?o==="float"?n.cssFloat=r:n[o]=(""+r).trim():n[o]=r+"px"}function nb(n,o,r){if(o!=null&&typeof o!="object")throw Error(c(62));if(n=n.style,r!=null){for(var f in r)!r.hasOwnProperty(f)||o!=null&&o.hasOwnProperty(f)||(f.indexOf("--")===0?n.setProperty(f,""):f==="float"?n.cssFloat="":n[f]="");for(var g in o)f=o[g],o.hasOwnProperty(g)&&r[g]!==f&&eb(n,g,f)}else for(var v in o)o.hasOwnProperty(v)&&eb(n,v,o[v])}function Ag(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 yw=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"]]),wf=/^[\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 Bi(n){return wf.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function oo(){}var _h=null;function kh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Qo=null,ms=null;function Ef(n){var o=fs(n);if(o&&(n=o.stateNode)){var r=n[Oa]||null;t:switch(n=o.stateNode,o.type){case"input":if(xf(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),o=r.name,r.type==="radio"&&o!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+pi(""+o)+'"][type="radio"]'),o=0;o<r.length;o++){var f=r[o];if(f!==n&&f.form===n.form){var g=f[Oa]||null;if(!g)throw Error(c(90));xf(f,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(o=0;o<r.length;o++)f=r[o],f.form===n.form&&wg(f)}break t;case"textarea":Eg(n,r.value,r.defaultValue);break t;case"select":o=r.value,o!=null&&ku(n,!!r.multiple,o,!1)}}}var ju=!1;function Cg(n,o,r){if(ju)return n(o,r);ju=!0;try{var f=n(o);return f}finally{if(ju=!1,(Qo!==null||ms!==null)&&(gc(),Qo&&(o=Qo,n=ms,ms=Qo=null,Ef(o),n)))for(o=0;o<n.length;o++)Ef(n[o])}}function Fn(n,o){var r=n.stateNode;if(r===null)return null;var f=r[Oa]||null;if(f===null)return null;r=f[o];t:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break t;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(c(231,o,typeof r));return r}var Ll=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tf=!1;if(Ll)try{var Uu={};Object.defineProperty(Uu,"passive",{get:function(){Tf=!0}}),window.addEventListener("test",Uu,Uu),window.removeEventListener("test",Uu,Uu)}catch{Tf=!1}var Nl=null,Rg=null,jh=null;function Dg(){if(jh)return jh;var n,o=Rg,r=o.length,f,g="value"in Nl?Nl.value:Nl.textContent,v=g.length;for(n=0;n<r&&o[n]===g[n];n++);var C=r-n;for(f=1;f<=C&&o[r-f]===g[v-f];f++);return jh=g.slice(n,1<f?1-f:void 0)}function Uh(n){var o=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&o===13&&(n=13)):n=o,n===10&&(n=13),32<=n||n===13?n:0}function Af(){return!0}function ab(){return!1}function pa(n){function o(r,f,g,v,C){this._reactName=r,this._targetInst=g,this.type=f,this.nativeEvent=v,this.target=C,this.currentTarget=null;for(var _ in n)n.hasOwnProperty(_)&&(r=n[_],this[_]=r?r(v):v[_]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Af:ab,this.isPropagationStopped=ab,this}return A(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Af)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Af)},persist:function(){},isPersistent:Af}),o}var Sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cf=pa(Sr),Lu=A({},Sr,{view:0,detail:0}),vw=pa(Lu),Mg,zg,Rf,Lh=A({},Lu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yi,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!==Rf&&(Rf&&n.type==="mousemove"?(Mg=n.screenX-Rf.screenX,zg=n.screenY-Rf.screenY):zg=Mg=0,Rf=n),Mg)},movementY:function(n){return"movementY"in n?n.movementY:zg}}),Nu=pa(Lh),ib=A({},Lh,{dataTransfer:0}),ob=pa(ib),lb=A({},Lu,{relatedTarget:0}),Nh=pa(lb),Og=A({},Sr,{animationName:0,elapsedTime:0,pseudoElement:0}),rb=pa(Og),gs=A({},Sr,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),ys=pa(gs),lo=A({},Sr,{data:0}),sb=pa(lo),_g={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zo={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"},ub={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ro(n){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(n):(n=ub[n])?!!o[n]:!1}function Yi(){return ro}var Hh=A({},Lu,{key:function(n){if(n.key){var o=_g[n.key]||n.key;if(o!=="Unidentified")return o}return n.type==="keypress"?(n=Uh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Zo[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yi,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}}),Vh=pa(Hh),kg=A({},Lh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),so=pa(kg),bw=A({},Lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yi}),cb=pa(bw),fb=A({},Sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),xw=pa(fb),jg=A({},Lh,{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}),Sw=pa(jg),db=A({},Sr,{newState:0,oldState:0}),Ug=pa(db),Bh=[9,13,27,32],Hu=Ll&&"CompositionEvent"in window,vs=null;Ll&&"documentMode"in document&&(vs=document.documentMode);var wa=Ll&&"TextEvent"in window&&!vs,Lg=Ll&&(!Hu||vs&&8<vs&&11>=vs),Df=" ",wr=!1;function Yh(n,o){switch(n){case"keyup":return Bh.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ng(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var bs=!1;function hb(n,o){switch(n){case"compositionend":return Ng(o);case"keypress":return o.which!==32?null:(wr=!0,Df);case"textInput":return n=o.data,n===Df&&wr?null:n;default:return null}}function ww(n,o){if(bs)return n==="compositionend"||!Hu&&Yh(n,o)?(n=Dg(),jh=Rg=Nl=null,bs=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Lg&&o.locale!=="ko"?null:o.data;default:return null}}var Hg={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 $o(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o==="input"?!!Hg[n.type]:o==="textarea"}function Vg(n,o,r,f){Qo?ms?ms.push(f):ms=[f]:Qo=f,o=Td(o,"onChange"),0<o.length&&(r=new Cf("onChange","change",null,r,f),n.push({event:r,listeners:o}))}var xs=null,Er=null;function Ss(n){s1(n,0)}function Vu(n){var o=Mu(n);if(wg(o))return n}function Bg(n,o){if(n==="change")return o}var qh=!1;if(Ll){var _a;if(Ll){var uo="oninput"in document;if(!uo){var Yg=document.createElement("div");Yg.setAttribute("oninput","return;"),uo=typeof Yg.oninput=="function"}_a=uo}else _a=!1;qh=_a&&(!document.documentMode||9<document.documentMode)}function Gh(){xs&&(xs.detachEvent("onpropertychange",Xh),Er=xs=null)}function Xh(n){if(n.propertyName==="value"&&Vu(Er)){var o=[];Vg(o,Er,n,kh(n)),Cg(Ss,o)}}function pb(n,o,r){n==="focusin"?(Gh(),xs=o,Er=r,xs.attachEvent("onpropertychange",Xh)):n==="focusout"&&Gh()}function mb(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Vu(Er)}function Tr(n,o){if(n==="click")return Vu(o)}function ws(n,o){if(n==="input"||n==="change")return Vu(o)}function gb(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var Ea=typeof Object.is=="function"?Object.is:gb;function qi(n,o){if(Ea(n,o))return!0;if(typeof n!="object"||n===null||typeof o!="object"||o===null)return!1;var r=Object.keys(n),f=Object.keys(o);if(r.length!==f.length)return!1;for(f=0;f<r.length;f++){var g=r[f];if(!gf.call(o,g)||!Ea(n[g],o[g]))return!1}return!0}function qg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Gg(n,o){var r=qg(n);n=0;for(var f;r;){if(r.nodeType===3){if(f=n+r.textContent.length,n<=o&&f>=o)return{node:r,offset:o-n};n=f}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=qg(r)}}function Es(n,o){return n&&o?n===o?!0:n&&n.nodeType===3?!1:o&&o.nodeType===3?Es(n,o.parentNode):"contains"in n?n.contains(o):n.compareDocumentPosition?!!(n.compareDocumentPosition(o)&16):!1:!1}function Ar(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var o=bf(n.document);o instanceof n.HTMLIFrameElement;){try{var r=typeof o.contentWindow.location.href=="string"}catch{r=!1}if(r)n=o.contentWindow;else break;o=bf(n.document)}return o}function Mf(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o&&(o==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||o==="textarea"||n.contentEditable==="true")}var zf=Ll&&"documentMode"in document&&11>=document.documentMode,Cr=null,Bu=null,Gi=null,co=!1;function Qh(n,o,r){var f=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;co||Cr==null||Cr!==bf(f)||(f=Cr,"selectionStart"in f&&Mf(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Gi&&qi(Gi,f)||(Gi=f,f=Td(Bu,"onSelect"),0<f.length&&(o=new Cf("onSelect","select",null,o,r),n.push({event:o,listeners:f}),o.target=Cr)))}function Hl(n,o){var r={};return r[n.toLowerCase()]=o.toLowerCase(),r["Webkit"+n]="webkit"+o,r["Moz"+n]="moz"+o,r}var fo={animationend:Hl("Animation","AnimationEnd"),animationiteration:Hl("Animation","AnimationIteration"),animationstart:Hl("Animation","AnimationStart"),transitionrun:Hl("Transition","TransitionRun"),transitionstart:Hl("Transition","TransitionStart"),transitioncancel:Hl("Transition","TransitionCancel"),transitionend:Hl("Transition","TransitionEnd")},Yu={},Rr={};Ll&&(Rr=document.createElement("div").style,"AnimationEvent"in window||(delete fo.animationend.animation,delete fo.animationiteration.animation,delete fo.animationstart.animation),"TransitionEvent"in window||delete fo.transitionend.transition);function Ve(n){if(Yu[n])return Yu[n];if(!fo[n])return n;var o=fo[n],r;for(r in o)if(o.hasOwnProperty(r)&&r in Rr)return Yu[n]=o[r];return n}var Of=Ve("animationend"),Xg=Ve("animationiteration"),Zh=Ve("animationstart"),Ts=Ve("transitionrun"),_f=Ve("transitionstart"),Ko=Ve("transitioncancel"),yb=Ve("transitionend"),Io=new Map,qu="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(" ");qu.push("scrollEnd");function ka(n,o){Io.set(n,o),xr(o,[n])}var As=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=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(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},sn=[],Pn=0,Xi=0;function mi(){for(var n=Pn,o=Xi=Pn=0;o<n;){var r=sn[o];sn[o++]=null;var f=sn[o];sn[o++]=null;var g=sn[o];sn[o++]=null;var v=sn[o];if(sn[o++]=null,f!==null&&g!==null){var C=f.pending;C===null?g.next=g:(g.next=C.next,C.next=g),f.pending=g}v!==0&&$h(r,g,v)}}function gi(n,o,r,f){sn[Pn++]=n,sn[Pn++]=o,sn[Pn++]=r,sn[Pn++]=f,Xi|=f,n.lanes|=f,n=n.alternate,n!==null&&(n.lanes|=f)}function Qi(n,o,r,f){return gi(n,o,r,f),kf(n)}function Vl(n,o){return gi(n,null,null,o),kf(n)}function $h(n,o,r){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r);for(var g=!1,v=n.return;v!==null;)v.childLanes|=r,f=v.alternate,f!==null&&(f.childLanes|=r),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(g=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,g&&o!==null&&(g=31-Jn(r),n=v.hiddenUpdates,f=n[g],f===null?n[g]=[o]:f.push(o),o.lane=r|536870912),v):null}function kf(n){if(50<mc)throw mc=0,md=null,Error(c(185));for(var o=n.return;o!==null;)n=o,o=n.return;return n.tag===3?n.stateNode:null}var ja={};function vb(n,o,r,f){this.tag=n,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xn(n,o,r,f){return new vb(n,o,r,f)}function Cs(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Bl(n,o){var r=n.alternate;return r===null?(r=xn(n.tag,o,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=o,r.type=n.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=n.flags&65011712,r.childLanes=n.childLanes,r.lanes=n.lanes,r.child=n.child,r.memoizedProps=n.memoizedProps,r.memoizedState=n.memoizedState,r.updateQueue=n.updateQueue,o=n.dependencies,r.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function Qg(n,o){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=o,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=r.childLanes,n.lanes=r.lanes,n.child=r.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=r.memoizedProps,n.memoizedState=r.memoizedState,n.updateQueue=r.updateQueue,n.type=r.type,o=r.dependencies,n.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),n}function Kh(n,o,r,f,g,v){var C=0;if(f=n,typeof n=="function")Cs(n)&&(C=1);else if(typeof n=="string")C=py(n,r,mt.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case jt:return n=xn(31,r,o,g),n.elementType=jt,n.lanes=v,n;case X:return Yl(r.children,g,v,o);case q:C=8,g|=24;break;case Z:return n=xn(12,r,o,g|2),n.elementType=Z,n.lanes=v,n;case xt:return n=xn(13,r,o,g),n.elementType=xt,n.lanes=v,n;case Tt:return n=xn(19,r,o,g),n.elementType=Tt,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case rt:C=10;break t;case W:C=9;break t;case ct:C=11;break t;case vt:C=14;break t;case ot:C=16,f=null;break t}C=29,r=Error(c(130,n===null?"null":typeof n,"")),f=null}return o=xn(C,r,o,g),o.elementType=n,o.type=f,o.lanes=v,o}function Yl(n,o,r,f){return n=xn(7,n,f,o),n.lanes=r,n}function Gu(n,o,r){return n=xn(6,n,null,o),n.lanes=r,n}function Zg(n){var o=xn(18,null,null,0);return o.stateNode=n,o}function Ih(n,o,r){return o=xn(4,n.children!==null?n.children:[],n.key,o),o.lanes=r,o.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},o}var $g=new WeakMap;function yi(n,o){if(typeof n=="object"&&n!==null){var r=$g.get(n);return r!==void 0?r:(o={value:n,source:o,stack:rs(o)},$g.set(n,o),o)}return{value:n,source:o,stack:rs(o)}}var vi=[],Rs=0,jf=null,Rn=0,Fa=[],Ua=0,ho=null,Pa=1,po="";function Zi(n,o){vi[Rs++]=Rn,vi[Rs++]=jf,jf=n,Rn=o}function Kg(n,o,r){Fa[Ua++]=Pa,Fa[Ua++]=po,Fa[Ua++]=ho,ho=n;var f=Pa;n=po;var g=32-Jn(f)-1;f&=~(1<<g),r+=1;var v=32-Jn(o)+g;if(30<v){var C=g-g%5;v=(f&(1<<C)-1).toString(32),f>>=C,g-=C,Pa=1<<32-Jn(o)+g|r<<g|f,po=v+n}else Pa=1<<v|r<<g|f,po=n}function Xu(n){n.return!==null&&(Zi(n,1),Kg(n,1,0))}function Jh(n){for(;n===jf;)jf=vi[--Rs],vi[Rs]=null,Rn=vi[--Rs],vi[Rs]=null;for(;n===ho;)ho=Fa[--Ua],Fa[Ua]=null,po=Fa[--Ua],Fa[Ua]=null,Pa=Fa[--Ua],Fa[Ua]=null}function Uf(n,o){Fa[Ua++]=Pa,Fa[Ua++]=po,Fa[Ua++]=ho,Pa=o.id,po=o.overflow,ho=n}var Wn=null,tn=null,Ce=!1,Jo=null,Bn=!1,Fo=Error(c(519));function $i(n){var o=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Zu(yi(o,n)),Fo}function Lf(n){var o=n.stateNode,r=n.type,f=n.memoizedProps;switch(o[Ke]=n,o[Oa]=f,r){case"dialog":Ee("cancel",o),Ee("close",o);break;case"iframe":case"object":case"embed":Ee("load",o);break;case"video":case"audio":for(r=0;r<Sc.length;r++)Ee(Sc[r],o);break;case"source":Ee("error",o);break;case"img":case"image":case"link":Ee("error",o),Ee("load",o);break;case"details":Ee("toggle",o);break;case"input":Ee("invalid",o),Sf(o,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":Ee("invalid",o);break;case"textarea":Ee("invalid",o),Tg(o,f.value,f.defaultValue,f.children)}r=f.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||o.textContent===""+r||f.suppressHydrationWarning===!0||ay(o.textContent,r)?(f.popover!=null&&(Ee("beforetoggle",o),Ee("toggle",o)),f.onScroll!=null&&Ee("scroll",o),f.onScrollEnd!=null&&Ee("scrollend",o),f.onClick!=null&&(o.onclick=oo),o=!0):o=!1,o||$i(n,!0)}function Qu(n){for(Wn=n.return;Wn;)switch(Wn.tag){case 5:case 31:case 13:Bn=!1;return;case 27:case 3:Bn=!0;return;default:Wn=Wn.return}}function Po(n){if(n!==Wn)return!1;if(!Ce)return Qu(n),Ce=!0,!1;var o=n.tag,r;if((r=o!==3&&o!==27)&&((r=o===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||Ec(n.type,n.memoizedProps)),r=!r),r&&tn&&$i(n),Qu(n),o===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));tn=Wp(n)}else if(o===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));tn=Wp(n)}else o===27?(o=tn,Ao(n.type)?(n=Rd,Rd=null,tn=n):tn=o):tn=Wn?Qa(n.stateNode.nextSibling):null;return!0}function Dr(){tn=Wn=null,Ce=!1}function Ig(){var n=Jo;return n!==null&&(vn===null?vn=n:vn.push.apply(vn,n),Jo=null),n}function Zu(n){Jo===null?Jo=[n]:Jo.push(n)}var Fh=k(null),ql=null,mo=null;function La(n,o,r){ht(Fh,o._currentValue),o._currentValue=r}function go(n){n._currentValue=Fh.current,et(Fh)}function Ph(n,o,r){for(;n!==null;){var f=n.alternate;if((n.childLanes&o)!==o?(n.childLanes|=o,f!==null&&(f.childLanes|=o)):f!==null&&(f.childLanes&o)!==o&&(f.childLanes|=o),n===r)break;n=n.return}}function Wo(n,o,r,f){var g=n.child;for(g!==null&&(g.return=n);g!==null;){var v=g.dependencies;if(v!==null){var C=g.child;v=v.firstContext;t:for(;v!==null;){var _=v;v=g;for(var V=0;V<o.length;V++)if(_.context===o[V]){v.lanes|=r,_=v.alternate,_!==null&&(_.lanes|=r),Ph(v.return,r,n),f||(C=null);break t}v=_.next}}else if(g.tag===18){if(C=g.return,C===null)throw Error(c(341));C.lanes|=r,v=C.alternate,v!==null&&(v.lanes|=r),Ph(C,r,n),C=null}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===n){C=null;break}if(g=C.sibling,g!==null){g.return=C.return,C=g;break}C=C.return}g=C}}function ta(n,o,r,f){n=null;for(var g=o,v=!1;g!==null;){if(!v){if((g.flags&524288)!==0)v=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var C=g.alternate;if(C===null)throw Error(c(387));if(C=C.memoizedProps,C!==null){var _=g.type;Ea(g.pendingProps.value,C.value)||(n!==null?n.push(_):n=[_])}}else if(g===_t.current){if(C=g.alternate,C===null)throw Error(c(387));C.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(n!==null?n.push(zd):n=[zd])}g=g.return}n!==null&&Wo(o,n,r,f),o.flags|=262144}function Ds(n){for(n=n.firstContext;n!==null;){if(!Ea(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function le(n){ql=n,mo=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function yt(n){return Nf(ql,n)}function Gl(n,o){return ql===null&&le(n),Nf(n,o)}function Nf(n,o){var r=o._currentValue;if(o={context:o,memoizedValue:r,next:null},mo===null){if(n===null)throw Error(c(308));mo=o,n.dependencies={lanes:0,firstContext:o},n.flags|=524288}else mo=mo.next=o;return r}var Sn=typeof AbortController<"u"?AbortController:function(){var n=[],o=this.signal={aborted:!1,addEventListener:function(r,f){n.push(f)}};this.abort=function(){o.aborted=!0,n.forEach(function(r){return r()})}},Jg=i.unstable_scheduleCallback,Fg=i.unstable_NormalPriority,Dn={$$typeof:rt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hf(){return{controller:new Sn,data:new Map,refCount:0}}function Vf(n){n.refCount--,n.refCount===0&&Jg(Fg,function(){n.controller.abort()})}var Ms=null,Bf=0,Mr=0,Un=null;function Ge(n,o){if(Ms===null){var r=Ms=[];Bf=0,Mr=Qp(),Un={status:"pending",value:void 0,then:function(f){r.push(f)}}}return Bf++,o.then(Yf,Yf),o}function Yf(){if(--Bf===0&&Ms!==null){Un!==null&&(Un.status="fulfilled");var n=Ms;Ms=null,Mr=0,Un=null;for(var o=0;o<n.length;o++)(0,n[o])()}}function qf(n,o){var r=[],f={status:"pending",value:null,reason:null,then:function(g){r.push(g)}};return n.then(function(){f.status="fulfilled",f.value=o;for(var g=0;g<r.length;g++)(0,r[g])(o)},function(g){for(f.status="rejected",f.reason=g,g=0;g<r.length;g++)(0,r[g])(void 0)}),f}var Xl=U.S;U.S=function(n,o){X0=jn(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&Ge(n,o),Xl!==null&&Xl(n,o)};var bi=k(null);function xi(){var n=bi.current;return n!==null?n:Je.pooledCache}function $u(n,o){o===null?ht(bi,bi.current):ht(bi,o.pool)}function zs(){var n=xi();return n===null?null:{parent:Dn._currentValue,pool:n}}var zr=Error(c(460)),Os=Error(c(474)),Ku=Error(c(542)),_s={then:function(){}};function Pg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Wg(n,o,r){switch(r=n[r],r===void 0?n.push(o):r!==o&&(o.then(oo,oo),o=r),o.status){case"fulfilled":return o.value;case"rejected":throw n=o.reason,Wh(n),n;default:if(typeof o.status=="string")o.then(oo,oo);else{if(n=Je,n!==null&&100<n.shellSuspendCounter)throw Error(c(482));n=o,n.status="pending",n.then(function(f){if(o.status==="pending"){var g=o;g.status="fulfilled",g.value=f}},function(f){if(o.status==="pending"){var g=o;g.status="rejected",g.reason=f}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw n=o.reason,Wh(n),n}throw _r=o,zr}}function Or(n){try{var o=n._init;return o(n._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(_r=r,zr):r}}var _r=null;function t0(){if(_r===null)throw Error(c(459));var n=_r;return _r=null,n}function Wh(n){if(n===zr||n===Ku)throw Error(c(483))}var kr=null,ks=0;function Gf(n){var o=ks;return ks+=1,kr===null&&(kr=[]),Wg(kr,n,o)}function Iu(n,o){o=o.props.ref,n.ref=o!==void 0?o:null}function Xf(n,o){throw o.$$typeof===R?Error(c(525)):(n=Object.prototype.toString.call(o),Error(c(31,n==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":n)))}function bb(n){function o(J,Q){if(n){var tt=J.deletions;tt===null?(J.deletions=[Q],J.flags|=16):tt.push(Q)}}function r(J,Q){if(!n)return null;for(;Q!==null;)o(J,Q),Q=Q.sibling;return null}function f(J){for(var Q=new Map;J!==null;)J.key!==null?Q.set(J.key,J):Q.set(J.index,J),J=J.sibling;return Q}function g(J,Q){return J=Bl(J,Q),J.index=0,J.sibling=null,J}function v(J,Q,tt){return J.index=tt,n?(tt=J.alternate,tt!==null?(tt=tt.index,tt<Q?(J.flags|=67108866,Q):tt):(J.flags|=67108866,Q)):(J.flags|=1048576,Q)}function C(J){return n&&J.alternate===null&&(J.flags|=67108866),J}function _(J,Q,tt,pt){return Q===null||Q.tag!==6?(Q=Gu(tt,J.mode,pt),Q.return=J,Q):(Q=g(Q,tt),Q.return=J,Q)}function V(J,Q,tt,pt){var Kt=tt.type;return Kt===X?ft(J,Q,tt.props.children,pt,tt.key):Q!==null&&(Q.elementType===Kt||typeof Kt=="object"&&Kt!==null&&Kt.$$typeof===ot&&Or(Kt)===Q.type)?(Q=g(Q,tt.props),Iu(Q,tt),Q.return=J,Q):(Q=Kh(tt.type,tt.key,tt.props,null,J.mode,pt),Iu(Q,tt),Q.return=J,Q)}function nt(J,Q,tt,pt){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==tt.containerInfo||Q.stateNode.implementation!==tt.implementation?(Q=Ih(tt,J.mode,pt),Q.return=J,Q):(Q=g(Q,tt.children||[]),Q.return=J,Q)}function ft(J,Q,tt,pt,Kt){return Q===null||Q.tag!==7?(Q=Yl(tt,J.mode,pt,Kt),Q.return=J,Q):(Q=g(Q,tt),Q.return=J,Q)}function gt(J,Q,tt){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Q=Gu(""+Q,J.mode,tt),Q.return=J,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case j:return tt=Kh(Q.type,Q.key,Q.props,null,J.mode,tt),Iu(tt,Q),tt.return=J,tt;case B:return Q=Ih(Q,J.mode,tt),Q.return=J,Q;case ot:return Q=Or(Q),gt(J,Q,tt)}if(bt(Q)||Mt(Q))return Q=Yl(Q,J.mode,tt,null),Q.return=J,Q;if(typeof Q.then=="function")return gt(J,Gf(Q),tt);if(Q.$$typeof===rt)return gt(J,Gl(J,Q),tt);Xf(J,Q)}return null}function at(J,Q,tt,pt){var Kt=Q!==null?Q.key:null;if(typeof tt=="string"&&tt!==""||typeof tt=="number"||typeof tt=="bigint")return Kt!==null?null:_(J,Q,""+tt,pt);if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case j:return tt.key===Kt?V(J,Q,tt,pt):null;case B:return tt.key===Kt?nt(J,Q,tt,pt):null;case ot:return tt=Or(tt),at(J,Q,tt,pt)}if(bt(tt)||Mt(tt))return Kt!==null?null:ft(J,Q,tt,pt,null);if(typeof tt.then=="function")return at(J,Q,Gf(tt),pt);if(tt.$$typeof===rt)return at(J,Q,Gl(J,tt),pt);Xf(J,tt)}return null}function ut(J,Q,tt,pt,Kt){if(typeof pt=="string"&&pt!==""||typeof pt=="number"||typeof pt=="bigint")return J=J.get(tt)||null,_(Q,J,""+pt,Kt);if(typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case j:return J=J.get(pt.key===null?tt:pt.key)||null,V(Q,J,pt,Kt);case B:return J=J.get(pt.key===null?tt:pt.key)||null,nt(Q,J,pt,Kt);case ot:return pt=Or(pt),ut(J,Q,tt,pt,Kt)}if(bt(pt)||Mt(pt))return J=J.get(tt)||null,ft(Q,J,pt,Kt,null);if(typeof pt.then=="function")return ut(J,Q,tt,Gf(pt),Kt);if(pt.$$typeof===rt)return ut(J,Q,tt,Gl(Q,pt),Kt);Xf(Q,pt)}return null}function Ut(J,Q,tt,pt){for(var Kt=null,je=null,Qt=Q,ce=Q=0,pe=null;Qt!==null&&ce<tt.length;ce++){Qt.index>ce?(pe=Qt,Qt=null):pe=Qt.sibling;var He=at(J,Qt,tt[ce],pt);if(He===null){Qt===null&&(Qt=pe);break}n&&Qt&&He.alternate===null&&o(J,Qt),Q=v(He,Q,ce),je===null?Kt=He:je.sibling=He,je=He,Qt=pe}if(ce===tt.length)return r(J,Qt),Ce&&Zi(J,ce),Kt;if(Qt===null){for(;ce<tt.length;ce++)Qt=gt(J,tt[ce],pt),Qt!==null&&(Q=v(Qt,Q,ce),je===null?Kt=Qt:je.sibling=Qt,je=Qt);return Ce&&Zi(J,ce),Kt}for(Qt=f(Qt);ce<tt.length;ce++)pe=ut(Qt,J,ce,tt[ce],pt),pe!==null&&(n&&pe.alternate!==null&&Qt.delete(pe.key===null?ce:pe.key),Q=v(pe,Q,ce),je===null?Kt=pe:je.sibling=pe,je=pe);return n&&Qt.forEach(function(Do){return o(J,Do)}),Ce&&Zi(J,ce),Kt}function Pt(J,Q,tt,pt){if(tt==null)throw Error(c(151));for(var Kt=null,je=null,Qt=Q,ce=Q=0,pe=null,He=tt.next();Qt!==null&&!He.done;ce++,He=tt.next()){Qt.index>ce?(pe=Qt,Qt=null):pe=Qt.sibling;var Do=at(J,Qt,He.value,pt);if(Do===null){Qt===null&&(Qt=pe);break}n&&Qt&&Do.alternate===null&&o(J,Qt),Q=v(Do,Q,ce),je===null?Kt=Do:je.sibling=Do,je=Do,Qt=pe}if(He.done)return r(J,Qt),Ce&&Zi(J,ce),Kt;if(Qt===null){for(;!He.done;ce++,He=tt.next())He=gt(J,He.value,pt),He!==null&&(Q=v(He,Q,ce),je===null?Kt=He:je.sibling=He,je=He);return Ce&&Zi(J,ce),Kt}for(Qt=f(Qt);!He.done;ce++,He=tt.next())He=ut(Qt,J,ce,He.value,pt),He!==null&&(n&&He.alternate!==null&&Qt.delete(He.key===null?ce:He.key),Q=v(He,Q,ce),je===null?Kt=He:je.sibling=He,je=He);return n&&Qt.forEach(function(E1){return o(J,E1)}),Ce&&Zi(J,ce),Kt}function Pe(J,Q,tt,pt){if(typeof tt=="object"&&tt!==null&&tt.type===X&&tt.key===null&&(tt=tt.props.children),typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case j:t:{for(var Kt=tt.key;Q!==null;){if(Q.key===Kt){if(Kt=tt.type,Kt===X){if(Q.tag===7){r(J,Q.sibling),pt=g(Q,tt.props.children),pt.return=J,J=pt;break t}}else if(Q.elementType===Kt||typeof Kt=="object"&&Kt!==null&&Kt.$$typeof===ot&&Or(Kt)===Q.type){r(J,Q.sibling),pt=g(Q,tt.props),Iu(pt,tt),pt.return=J,J=pt;break t}r(J,Q);break}else o(J,Q);Q=Q.sibling}tt.type===X?(pt=Yl(tt.props.children,J.mode,pt,tt.key),pt.return=J,J=pt):(pt=Kh(tt.type,tt.key,tt.props,null,J.mode,pt),Iu(pt,tt),pt.return=J,J=pt)}return C(J);case B:t:{for(Kt=tt.key;Q!==null;){if(Q.key===Kt)if(Q.tag===4&&Q.stateNode.containerInfo===tt.containerInfo&&Q.stateNode.implementation===tt.implementation){r(J,Q.sibling),pt=g(Q,tt.children||[]),pt.return=J,J=pt;break t}else{r(J,Q);break}else o(J,Q);Q=Q.sibling}pt=Ih(tt,J.mode,pt),pt.return=J,J=pt}return C(J);case ot:return tt=Or(tt),Pe(J,Q,tt,pt)}if(bt(tt))return Ut(J,Q,tt,pt);if(Mt(tt)){if(Kt=Mt(tt),typeof Kt!="function")throw Error(c(150));return tt=Kt.call(tt),Pt(J,Q,tt,pt)}if(typeof tt.then=="function")return Pe(J,Q,Gf(tt),pt);if(tt.$$typeof===rt)return Pe(J,Q,Gl(J,tt),pt);Xf(J,tt)}return typeof tt=="string"&&tt!==""||typeof tt=="number"||typeof tt=="bigint"?(tt=""+tt,Q!==null&&Q.tag===6?(r(J,Q.sibling),pt=g(Q,tt),pt.return=J,J=pt):(r(J,Q),pt=Gu(tt,J.mode,pt),pt.return=J,J=pt),C(J)):r(J,Q)}return function(J,Q,tt,pt){try{ks=0;var Kt=Pe(J,Q,tt,pt);return kr=null,Kt}catch(Qt){if(Qt===zr||Qt===Ku)throw Qt;var je=xn(29,Qt,null,J.mode);return je.lanes=pt,je.return=J,je}}}var jr=bb(!0),e0=bb(!1),Ql=!1;function Qf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function tp(n,o){n=n.updateQueue,o.updateQueue===n&&(o.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Zl(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Si(n,o,r){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,(Ne&2)!==0){var g=f.pending;return g===null?o.next=o:(o.next=g.next,g.next=o),f.pending=o,o=kf(n),$h(n,null,r),o}return gi(n,f,o,r),kf(n)}function Ur(n,o,r){if(o=o.updateQueue,o!==null&&(o=o.shared,(r&4194048)!==0)){var f=o.lanes;f&=n.pendingLanes,r|=f,o.lanes=r,Yo(n,r)}}function ep(n,o){var r=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,r===f)){var g=null,v=null;if(r=r.firstBaseUpdate,r!==null){do{var C={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};v===null?g=v=C:v=v.next=C,r=r.next}while(r!==null);v===null?g=v=o:v=v.next=o}else g=v=o;r={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:v,shared:f.shared,callbacks:f.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=o:n.next=o,r.lastBaseUpdate=o}var n0=!1;function Lr(){if(n0){var n=Un;if(n!==null)throw n}}function tl(n,o,r,f){n0=!1;var g=n.updateQueue;Ql=!1;var v=g.firstBaseUpdate,C=g.lastBaseUpdate,_=g.shared.pending;if(_!==null){g.shared.pending=null;var V=_,nt=V.next;V.next=null,C===null?v=nt:C.next=nt,C=V;var ft=n.alternate;ft!==null&&(ft=ft.updateQueue,_=ft.lastBaseUpdate,_!==C&&(_===null?ft.firstBaseUpdate=nt:_.next=nt,ft.lastBaseUpdate=V))}if(v!==null){var gt=g.baseState;C=0,ft=nt=V=null,_=v;do{var at=_.lane&-536870913,ut=at!==_.lane;if(ut?(Se&at)===at:(f&at)===at){at!==0&&at===Mr&&(n0=!0),ft!==null&&(ft=ft.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});t:{var Ut=n,Pt=_;at=o;var Pe=r;switch(Pt.tag){case 1:if(Ut=Pt.payload,typeof Ut=="function"){gt=Ut.call(Pe,gt,at);break t}gt=Ut;break t;case 3:Ut.flags=Ut.flags&-65537|128;case 0:if(Ut=Pt.payload,at=typeof Ut=="function"?Ut.call(Pe,gt,at):Ut,at==null)break t;gt=A({},gt,at);break t;case 2:Ql=!0}}at=_.callback,at!==null&&(n.flags|=64,ut&&(n.flags|=8192),ut=g.callbacks,ut===null?g.callbacks=[at]:ut.push(at))}else ut={lane:at,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ft===null?(nt=ft=ut,V=gt):ft=ft.next=ut,C|=at;if(_=_.next,_===null){if(_=g.shared.pending,_===null)break;ut=_,_=ut.next,ut.next=null,g.lastBaseUpdate=ut,g.shared.pending=null}}while(!0);ft===null&&(V=gt),g.baseState=V,g.firstBaseUpdate=nt,g.lastBaseUpdate=ft,v===null&&(g.shared.lanes=0),Eo|=C,n.lanes=C,n.memoizedState=gt}}function np(n,o){if(typeof n!="function")throw Error(c(191,n));n.call(o)}function Nr(n,o){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)np(r[n],o)}var Yn=k(null),js=k(0);function xb(n,o){n=wo,ht(js,n),ht(Yn,o),wo=n|o.baseLanes}function Zf(){ht(js,wo),ht(Yn,Yn.current)}function Ju(){wo=js.current,et(Yn),et(js)}var Na=k(null),wi=null;function el(n){var o=n.alternate;ht(un,un.current&1),ht(Na,n),wi===null&&(o===null||Yn.current!==null||o.memoizedState!==null)&&(wi=n)}function Fu(n){ht(un,un.current),ht(Na,n),wi===null&&(wi=n)}function ap(n){n.tag===22?(ht(un,un.current),ht(Na,n),wi===null&&(wi=n)):yo()}function yo(){ht(un,un.current),ht(Na,Na.current)}function Ha(n){et(Na),wi===n&&(wi=null),et(un)}var un=k(0);function Pu(n){for(var o=n;o!==null;){if(o.tag===13){var r=o.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Fi(r)||Ir(r)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var nl=0,fe=null,Xe=null,Mn=null,Us=!1,Ls=!1,$l=!1,$f=0,Wu=0,Hr=null,Sb=0;function gn(){throw Error(c(321))}function Kl(n,o){if(o===null)return!1;for(var r=0;r<o.length&&r<n.length;r++)if(!Ea(n[r],o[r]))return!1;return!0}function Kf(n,o,r,f,g,v){return nl=v,fe=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,U.H=n===null||n.memoizedState===null?Mb:xp,$l=!1,v=r(f,g),$l=!1,Ls&&(v=wb(o,r,f,g)),ip(n),v}function ip(n){U.H=ad;var o=Xe!==null&&Xe.next!==null;if(nl=0,Mn=Xe=fe=null,Us=!1,Wu=0,Hr=null,o)throw Error(c(300));n===null||zn||(n=n.dependencies,n!==null&&Ds(n)&&(zn=!0))}function wb(n,o,r,f){fe=n;var g=0;do{if(Ls&&(Hr=null),Wu=0,Ls=!1,25<=g)throw Error(c(301));if(g+=1,Mn=Xe=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}U.H=zb,v=o(r,f)}while(Ls);return v}function Ew(){var n=U.H,o=n.useState()[0];return o=typeof o.then=="function"?Hs(o):o,n=n.useState()[0],(Xe!==null?Xe.memoizedState:null)!==n&&(fe.flags|=1024),o}function op(){var n=$f!==0;return $f=0,n}function Ns(n,o,r){o.updateQueue=n.updateQueue,o.flags&=-2053,n.lanes&=~r}function If(n){if(Us){for(n=n.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Us=!1}nl=0,Mn=Xe=fe=null,Ls=!1,Wu=$f=0,Hr=null}function ea(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mn===null?fe.memoizedState=Mn=n:Mn=Mn.next=n,Mn}function wn(){if(Xe===null){var n=fe.alternate;n=n!==null?n.memoizedState:null}else n=Xe.next;var o=Mn===null?fe.memoizedState:Mn.next;if(o!==null)Mn=o,Xe=n;else{if(n===null)throw fe.alternate===null?Error(c(467)):Error(c(310));Xe=n,n={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},Mn===null?fe.memoizedState=Mn=n:Mn=Mn.next=n}return Mn}function Jf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Hs(n){var o=Wu;return Wu+=1,Hr===null&&(Hr=[]),n=Wg(Hr,n,o),o=fe,(Mn===null?o.memoizedState:Mn.next)===null&&(o=o.alternate,U.H=o===null||o.memoizedState===null?Mb:xp),n}function tc(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Hs(n);if(n.$$typeof===rt)return yt(n)}throw Error(c(438,String(n)))}function lp(n){var o=null,r=fe.updateQueue;if(r!==null&&(o=r.memoCache),o==null){var f=fe.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(o={data:f.data.map(function(g){return g.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),r===null&&(r=Jf(),fe.updateQueue=r),r.memoCache=o,r=o.data[o.index],r===void 0)for(r=o.data[o.index]=Array(n),f=0;f<n;f++)r[f]=St;return o.index++,r}function al(n,o){return typeof o=="function"?o(n):o}function il(n){var o=wn();return rp(o,Xe,n)}function rp(n,o,r){var f=n.queue;if(f===null)throw Error(c(311));f.lastRenderedReducer=r;var g=n.baseQueue,v=f.pending;if(v!==null){if(g!==null){var C=g.next;g.next=v.next,v.next=C}o.baseQueue=g=v,f.pending=null}if(v=n.baseState,g===null)n.memoizedState=v;else{o=g.next;var _=C=null,V=null,nt=o,ft=!1;do{var gt=nt.lane&-536870913;if(gt!==nt.lane?(Se&gt)===gt:(nl&gt)===gt){var at=nt.revertLane;if(at===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:nt.action,hasEagerState:nt.hasEagerState,eagerState:nt.eagerState,next:null}),gt===Mr&&(ft=!0);else if((nl&at)===at){nt=nt.next,at===Mr&&(ft=!0);continue}else gt={lane:0,revertLane:nt.revertLane,gesture:null,action:nt.action,hasEagerState:nt.hasEagerState,eagerState:nt.eagerState,next:null},V===null?(_=V=gt,C=v):V=V.next=gt,fe.lanes|=at,Eo|=at;gt=nt.action,$l&&r(v,gt),v=nt.hasEagerState?nt.eagerState:r(v,gt)}else at={lane:gt,revertLane:nt.revertLane,gesture:nt.gesture,action:nt.action,hasEagerState:nt.hasEagerState,eagerState:nt.eagerState,next:null},V===null?(_=V=at,C=v):V=V.next=at,fe.lanes|=gt,Eo|=gt;nt=nt.next}while(nt!==null&&nt!==o);if(V===null?C=v:V.next=_,!Ea(v,n.memoizedState)&&(zn=!0,ft&&(r=Un,r!==null)))throw r;n.memoizedState=v,n.baseState=C,n.baseQueue=V,f.lastRenderedState=v}return g===null&&(f.lanes=0),[n.memoizedState,f.dispatch]}function sp(n){var o=wn(),r=o.queue;if(r===null)throw Error(c(311));r.lastRenderedReducer=n;var f=r.dispatch,g=r.pending,v=o.memoizedState;if(g!==null){r.pending=null;var C=g=g.next;do v=n(v,C.action),C=C.next;while(C!==g);Ea(v,o.memoizedState)||(zn=!0),o.memoizedState=v,o.baseQueue===null&&(o.baseState=v),r.lastRenderedState=v}return[v,f]}function a0(n,o,r){var f=fe,g=wn(),v=Ce;if(v){if(r===void 0)throw Error(c(407));r=r()}else r=o();var C=!Ea((Xe||g).memoizedState,r);if(C&&(g.memoizedState=r,zn=!0),g=g.queue,hp(up.bind(null,f,g,n),[n]),g.getSnapshot!==o||C||Mn!==null&&Mn.memoizedState.tag&1){if(f.flags|=2048,Bs(9,{destroy:void 0},i0.bind(null,f,g,r,o),null),Je===null)throw Error(c(349));v||(nl&127)!==0||Ff(f,o,r)}return r}function Ff(n,o,r){n.flags|=16384,n={getSnapshot:o,value:r},o=fe.updateQueue,o===null?(o=Jf(),fe.updateQueue=o,o.stores=[n]):(r=o.stores,r===null?o.stores=[n]:r.push(n))}function i0(n,o,r,f){o.value=r,o.getSnapshot=f,cp(o)&&fp(n)}function up(n,o,r){return r(function(){cp(o)&&fp(n)})}function cp(n){var o=n.getSnapshot;n=n.value;try{var r=o();return!Ea(n,r)}catch{return!0}}function fp(n){var o=Vl(n,2);o!==null&&Xa(o,n,2)}function o0(n){var o=ea();if(typeof n=="function"){var r=n;if(n=r(),$l){fi(!0);try{r()}finally{fi(!1)}}}return o.memoizedState=o.baseState=n,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:n},o}function na(n,o,r,f){return n.baseState=r,rp(n,Xe,typeof f=="function"?f:al)}function Eb(n,o,r,f,g){if(nd(n))throw Error(c(485));if(n=o.action,n!==null){var v={payload:g,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){v.listeners.push(C)}};U.T!==null?r(!0):v.isTransition=!1,f(v),r=o.pending,r===null?(v.next=o.pending=v,l0(o,v)):(v.next=r.next,o.pending=r.next=v)}}function l0(n,o){var r=o.action,f=o.payload,g=n.state;if(o.isTransition){var v=U.T,C={};U.T=C;try{var _=r(g,f),V=U.S;V!==null&&V(C,_),r0(n,o,_)}catch(nt){Vs(n,o,nt)}finally{v!==null&&C.types!==null&&(v.types=C.types),U.T=v}}else try{v=r(g,f),r0(n,o,v)}catch(nt){Vs(n,o,nt)}}function r0(n,o,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(f){s0(n,o,f)},function(f){return Vs(n,o,f)}):s0(n,o,r)}function s0(n,o,r){o.status="fulfilled",o.value=r,u0(o),n.state=r,o=n.pending,o!==null&&(r=o.next,r===o?n.pending=null:(r=r.next,o.next=r,l0(n,r)))}function Vs(n,o,r){var f=n.pending;if(n.pending=null,f!==null){f=f.next;do o.status="rejected",o.reason=r,u0(o),o=o.next;while(o!==f)}n.action=null}function u0(n){n=n.listeners;for(var o=0;o<n.length;o++)(0,n[o])()}function Pf(n,o){return o}function c0(n,o){if(Ce){var r=Je.formState;if(r!==null){t:{var f=fe;if(Ce){if(tn){e:{for(var g=tn,v=Bn;g.nodeType!==8;){if(!v){g=null;break e}if(g=Qa(g.nextSibling),g===null){g=null;break e}}v=g.data,g=v==="F!"||v==="F"?g:null}if(g){tn=Qa(g.nextSibling),f=g.data==="F!";break t}}$i(f)}f=!1}f&&(o=r[0])}}return r=ea(),r.memoizedState=r.baseState=o,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pf,lastRenderedState:o},r.queue=f,r=vp.bind(null,fe,f),f.dispatch=r,f=o0(!1),v=Vr.bind(null,fe,!1,f.queue),f=ea(),g={state:o,dispatch:null,action:n,pending:null},f.queue=g,r=Eb.bind(null,fe,g,v,r),g.dispatch=r,f.memoizedState=n,[o,r,!1]}function Tb(n){var o=wn();return Wf(o,Xe,n)}function Wf(n,o,r){if(o=rp(n,o,Pf)[0],n=il(al)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var f=Hs(o)}catch(C){throw C===zr?Ku:C}else f=o;o=wn();var g=o.queue,v=g.dispatch;return r!==o.memoizedState&&(fe.flags|=2048,Bs(9,{destroy:void 0},f0.bind(null,g,r),null)),[f,v,n]}function f0(n,o){n.action=o}function d0(n){var o=wn(),r=Xe;if(r!==null)return Wf(o,r,n);wn(),o=o.memoizedState,r=wn();var f=r.queue.dispatch;return r.memoizedState=n,[o,f,!1]}function Bs(n,o,r,f){return n={tag:n,create:r,deps:f,inst:o,next:null},o=fe.updateQueue,o===null&&(o=Jf(),fe.updateQueue=o),r=o.lastEffect,r===null?o.lastEffect=n.next=n:(f=r.next,r.next=n,n.next=f,o.lastEffect=n),n}function h0(){return wn().memoizedState}function ec(n,o,r,f){var g=ea();fe.flags|=n,g.memoizedState=Bs(1|o,{destroy:void 0},r,f===void 0?null:f)}function nc(n,o,r,f){var g=wn();f=f===void 0?null:f;var v=g.memoizedState.inst;Xe!==null&&f!==null&&Kl(f,Xe.memoizedState.deps)?g.memoizedState=Bs(o,v,r,f):(fe.flags|=n,g.memoizedState=Bs(1|o,v,r,f))}function dp(n,o){ec(8390656,8,n,o)}function hp(n,o){nc(2048,8,n,o)}function p0(n){fe.flags|=4;var o=fe.updateQueue;if(o===null)o=Jf(),fe.updateQueue=o,o.events=[n];else{var r=o.events;r===null?o.events=[n]:r.push(n)}}function td(n){var o=wn().memoizedState;return p0({ref:o,nextImpl:n}),function(){if((Ne&2)!==0)throw Error(c(440));return o.impl.apply(void 0,arguments)}}function pp(n,o){return nc(4,2,n,o)}function m0(n,o){return nc(4,4,n,o)}function mp(n,o){if(typeof o=="function"){n=n();var r=o(n);return function(){typeof r=="function"?r():o(null)}}if(o!=null)return n=n(),o.current=n,function(){o.current=null}}function g0(n,o,r){r=r!=null?r.concat([n]):null,nc(4,4,mp.bind(null,o,n),r)}function vo(){}function gp(n,o){var r=wn();o=o===void 0?null:o;var f=r.memoizedState;return o!==null&&Kl(o,f[1])?f[0]:(r.memoizedState=[n,o],n)}function Ab(n,o){var r=wn();o=o===void 0?null:o;var f=r.memoizedState;if(o!==null&&Kl(o,f[1]))return f[0];if(f=n(),$l){fi(!0);try{n()}finally{fi(!1)}}return r.memoizedState=[f,o],f}function ed(n,o,r){return r===void 0||(nl&1073741824)!==0&&(Se&261930)===0?n.memoizedState=o:(n.memoizedState=r,n=Bb(),fe.lanes|=n,Eo|=n,r)}function ol(n,o,r,f){return Ea(r,o)?r:Yn.current!==null?(n=ed(n,r,f),Ea(n,o)||(zn=!0),n):(nl&42)===0||(nl&1073741824)!==0&&(Se&261930)===0?(zn=!0,n.memoizedState=r):(n=Bb(),fe.lanes|=n,Eo|=n,o)}function yp(n,o,r,f,g){var v=F.p;F.p=v!==0&&8>v?v:8;var C=U.T,_={};U.T=_,Vr(n,!1,o,r);try{var V=g(),nt=U.S;if(nt!==null&&nt(_,V),V!==null&&typeof V=="object"&&typeof V.then=="function"){var ft=qf(V,f);Il(n,o,ft,ni(n))}else Il(n,o,f,ni(n))}catch(gt){Il(n,o,{then:function(){},status:"rejected",reason:gt},ni())}finally{F.p=v,C!==null&&_.types!==null&&(C.types=_.types),U.T=C}}function Cb(){}function ac(n,o,r,f){if(n.tag!==5)throw Error(c(476));var g=ic(n).queue;yp(n,g,o,P,r===null?Cb:function(){return Ie(n),r(f)})}function ic(n){var o=n.memoizedState;if(o!==null)return o;o={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:P},next:null};var r={};return o.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:r},next:null},n.memoizedState=o,n=n.alternate,n!==null&&(n.memoizedState=o),o}function Ie(n){var o=ic(n);o.next===null&&(o=n.alternate.memoizedState),Il(n,o.next.queue,{},ni())}function y0(){return yt(zd)}function Rb(){return wn().memoizedState}function v0(){return wn().memoizedState}function ll(n){for(var o=n.return;o!==null;){switch(o.tag){case 24:case 3:var r=ni();n=Zl(r);var f=Si(o,n,r);f!==null&&(Xa(f,o,r),Ur(f,o,r)),o={cache:Hf()},n.payload=o;return}o=o.return}}function Db(n,o,r){var f=ni();r={lane:f,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},nd(n)?bp(o,r):(r=Qi(n,o,r,f),r!==null&&(Xa(r,n,f),b0(r,o,f)))}function vp(n,o,r){var f=ni();Il(n,o,r,f)}function Il(n,o,r,f){var g={lane:f,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(nd(n))bp(o,g);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=o.lastRenderedReducer,v!==null))try{var C=o.lastRenderedState,_=v(C,r);if(g.hasEagerState=!0,g.eagerState=_,Ea(_,C))return gi(n,o,g,0),Je===null&&mi(),!1}catch{}if(r=Qi(n,o,g,f),r!==null)return Xa(r,n,f),b0(r,o,f),!0}return!1}function Vr(n,o,r,f){if(f={lane:2,revertLane:Qp(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},nd(n)){if(o)throw Error(c(479))}else o=Qi(n,r,f,2),o!==null&&Xa(o,n,2)}function nd(n){var o=n.alternate;return n===fe||o!==null&&o===fe}function bp(n,o){Ls=Us=!0;var r=n.pending;r===null?o.next=o:(o.next=r.next,r.next=o),n.pending=o}function b0(n,o,r){if((r&4194048)!==0){var f=o.lanes;f&=n.pendingLanes,r|=f,o.lanes=r,Yo(n,r)}}var ad={readContext:yt,use:tc,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useLayoutEffect:gn,useInsertionEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useSyncExternalStore:gn,useId:gn,useHostTransitionStatus:gn,useFormState:gn,useActionState:gn,useOptimistic:gn,useMemoCache:gn,useCacheRefresh:gn};ad.useEffectEvent=gn;var Mb={readContext:yt,use:tc,useCallback:function(n,o){return ea().memoizedState=[n,o===void 0?null:o],n},useContext:yt,useEffect:dp,useImperativeHandle:function(n,o,r){r=r!=null?r.concat([n]):null,ec(4194308,4,mp.bind(null,o,n),r)},useLayoutEffect:function(n,o){return ec(4194308,4,n,o)},useInsertionEffect:function(n,o){ec(4,2,n,o)},useMemo:function(n,o){var r=ea();o=o===void 0?null:o;var f=n();if($l){fi(!0);try{n()}finally{fi(!1)}}return r.memoizedState=[f,o],f},useReducer:function(n,o,r){var f=ea();if(r!==void 0){var g=r(o);if($l){fi(!0);try{r(o)}finally{fi(!1)}}}else g=o;return f.memoizedState=f.baseState=g,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:g},f.queue=n,n=n.dispatch=Db.bind(null,fe,n),[f.memoizedState,n]},useRef:function(n){var o=ea();return n={current:n},o.memoizedState=n},useState:function(n){n=o0(n);var o=n.queue,r=vp.bind(null,fe,o);return o.dispatch=r,[n.memoizedState,r]},useDebugValue:vo,useDeferredValue:function(n,o){var r=ea();return ed(r,n,o)},useTransition:function(){var n=o0(!1);return n=yp.bind(null,fe,n.queue,!0,!1),ea().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,o,r){var f=fe,g=ea();if(Ce){if(r===void 0)throw Error(c(407));r=r()}else{if(r=o(),Je===null)throw Error(c(349));(Se&127)!==0||Ff(f,o,r)}g.memoizedState=r;var v={value:r,getSnapshot:o};return g.queue=v,dp(up.bind(null,f,v,n),[n]),f.flags|=2048,Bs(9,{destroy:void 0},i0.bind(null,f,v,r,o),null),r},useId:function(){var n=ea(),o=Je.identifierPrefix;if(Ce){var r=po,f=Pa;r=(f&~(1<<32-Jn(f)-1)).toString(32)+r,o="_"+o+"R_"+r,r=$f++,0<r&&(o+="H"+r.toString(32)),o+="_"}else r=Sb++,o="_"+o+"r_"+r.toString(32)+"_";return n.memoizedState=o},useHostTransitionStatus:y0,useFormState:c0,useActionState:c0,useOptimistic:function(n){var o=ea();o.memoizedState=o.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=r,o=Vr.bind(null,fe,!0,r),r.dispatch=o,[n,o]},useMemoCache:lp,useCacheRefresh:function(){return ea().memoizedState=ll.bind(null,fe)},useEffectEvent:function(n){var o=ea(),r={impl:n};return o.memoizedState=r,function(){if((Ne&2)!==0)throw Error(c(440));return r.impl.apply(void 0,arguments)}}},xp={readContext:yt,use:tc,useCallback:gp,useContext:yt,useEffect:hp,useImperativeHandle:g0,useInsertionEffect:pp,useLayoutEffect:m0,useMemo:Ab,useReducer:il,useRef:h0,useState:function(){return il(al)},useDebugValue:vo,useDeferredValue:function(n,o){var r=wn();return ol(r,Xe.memoizedState,n,o)},useTransition:function(){var n=il(al)[0],o=wn().memoizedState;return[typeof n=="boolean"?n:Hs(n),o]},useSyncExternalStore:a0,useId:Rb,useHostTransitionStatus:y0,useFormState:Tb,useActionState:Tb,useOptimistic:function(n,o){var r=wn();return na(r,Xe,n,o)},useMemoCache:lp,useCacheRefresh:v0};xp.useEffectEvent=td;var zb={readContext:yt,use:tc,useCallback:gp,useContext:yt,useEffect:hp,useImperativeHandle:g0,useInsertionEffect:pp,useLayoutEffect:m0,useMemo:Ab,useReducer:sp,useRef:h0,useState:function(){return sp(al)},useDebugValue:vo,useDeferredValue:function(n,o){var r=wn();return Xe===null?ed(r,n,o):ol(r,Xe.memoizedState,n,o)},useTransition:function(){var n=sp(al)[0],o=wn().memoizedState;return[typeof n=="boolean"?n:Hs(n),o]},useSyncExternalStore:a0,useId:Rb,useHostTransitionStatus:y0,useFormState:d0,useActionState:d0,useOptimistic:function(n,o){var r=wn();return Xe!==null?na(r,Xe,n,o):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:lp,useCacheRefresh:v0};zb.useEffectEvent=td;function Ys(n,o,r,f){o=n.memoizedState,r=r(f,o),r=r==null?o:A({},o,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var Ki={enqueueSetState:function(n,o,r){n=n._reactInternals;var f=ni(),g=Zl(f);g.payload=o,r!=null&&(g.callback=r),o=Si(n,g,f),o!==null&&(Xa(o,n,f),Ur(o,n,f))},enqueueReplaceState:function(n,o,r){n=n._reactInternals;var f=ni(),g=Zl(f);g.tag=1,g.payload=o,r!=null&&(g.callback=r),o=Si(n,g,f),o!==null&&(Xa(o,n,f),Ur(o,n,f))},enqueueForceUpdate:function(n,o){n=n._reactInternals;var r=ni(),f=Zl(r);f.tag=2,o!=null&&(f.callback=o),o=Si(n,f,r),o!==null&&(Xa(o,n,r),Ur(o,n,r))}};function x0(n,o,r,f,g,v,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,v,C):o.prototype&&o.prototype.isPureReactComponent?!qi(r,f)||!qi(g,v):!0}function Ob(n,o,r,f){n=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(r,f),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(r,f),o.state!==n&&Ki.enqueueReplaceState(o,o.state,null)}function Br(n,o){var r=o;if("ref"in o){r={};for(var f in o)f!=="ref"&&(r[f]=o[f])}if(n=n.defaultProps){r===o&&(r=A({},r));for(var g in n)r[g]===void 0&&(r[g]=n[g])}return r}function Sp(n){As(n)}function S0(n){console.error(n)}function wp(n){As(n)}function oc(n,o){try{var r=n.onUncaughtError;r(o.value,{componentStack:o.stack})}catch(f){setTimeout(function(){throw f})}}function id(n,o,r){try{var f=n.onCaughtError;f(r.value,{componentStack:r.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function w0(n,o,r){return r=Zl(r),r.tag=3,r.payload={element:null},r.callback=function(){oc(n,o)},r}function E0(n){return n=Zl(n),n.tag=3,n}function T0(n,o,r,f){var g=r.type.getDerivedStateFromError;if(typeof g=="function"){var v=f.value;n.payload=function(){return g(v)},n.callback=function(){id(o,r,f)}}var C=r.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){id(o,r,f),typeof g!="function"&&(cn===null?cn=new Set([this]):cn.add(this));var _=f.stack;this.componentDidCatch(f.value,{componentStack:_!==null?_:""})})}function Tw(n,o,r,f,g){if(r.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(o=r.alternate,o!==null&&ta(o,r,g,!0),r=Na.current,r!==null){switch(r.tag){case 31:case 13:return wi===null?Yp():r.alternate===null&&nn===0&&(nn=3),r.flags&=-257,r.flags|=65536,r.lanes=g,f===_s?r.flags|=16384:(o=r.updateQueue,o===null?r.updateQueue=new Set([f]):o.add(f),vd(n,f,g)),!1;case 22:return r.flags|=65536,f===_s?r.flags|=16384:(o=r.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([f])},r.updateQueue=o):(r=o.retryQueue,r===null?o.retryQueue=new Set([f]):r.add(f)),vd(n,f,g)),!1}throw Error(c(435,r.tag))}return vd(n,f,g),Yp(),!1}if(Ce)return o=Na.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=g,f!==Fo&&(n=Error(c(422),{cause:f}),Zu(yi(n,r)))):(f!==Fo&&(o=Error(c(423),{cause:f}),Zu(yi(o,r))),n=n.current.alternate,n.flags|=65536,g&=-g,n.lanes|=g,f=yi(f,r),g=w0(n.stateNode,f,g),ep(n,g),nn!==4&&(nn=2)),!1;var v=Error(c(520),{cause:f});if(v=yi(v,r),pd===null?pd=[v]:pd.push(v),nn!==4&&(nn=2),o===null)return!0;f=yi(f,r),r=o;do{switch(r.tag){case 3:return r.flags|=65536,n=g&-g,r.lanes|=n,n=w0(r.stateNode,f,n),ep(r,n),!1;case 1:if(o=r.type,v=r.stateNode,(r.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(cn===null||!cn.has(v))))return r.flags|=65536,g&=-g,r.lanes|=g,g=E0(g),T0(g,n,r,f),ep(r,g),!1}r=r.return}while(r!==null);return!1}var Ep=Error(c(461)),zn=!1;function ln(n,o,r,f){o.child=n===null?e0(o,null,r,f):jr(o,n.child,r,f)}function A0(n,o,r,f,g){r=r.render;var v=o.ref;if("ref"in f){var C={};for(var _ in f)_!=="ref"&&(C[_]=f[_])}else C=f;return le(o),f=Kf(n,o,r,C,v,g),_=op(),n!==null&&!zn?(Ns(n,o,g),Ai(n,o,g)):(Ce&&_&&Xu(o),o.flags|=1,ln(n,o,f,g),o.child)}function C0(n,o,r,f,g){if(n===null){var v=r.type;return typeof v=="function"&&!Cs(v)&&v.defaultProps===void 0&&r.compare===null?(o.tag=15,o.type=v,R0(n,o,v,f,g)):(n=Kh(r.type,null,f,o,o.mode,g),n.ref=o.ref,n.return=o,o.child=n)}if(v=n.child,!Cp(n,g)){var C=v.memoizedProps;if(r=r.compare,r=r!==null?r:qi,r(C,f)&&n.ref===o.ref)return Ai(n,o,g)}return o.flags|=1,n=Bl(v,f),n.ref=o.ref,n.return=o,o.child=n}function R0(n,o,r,f,g){if(n!==null){var v=n.memoizedProps;if(qi(v,f)&&n.ref===o.ref)if(zn=!1,o.pendingProps=f=v,Cp(n,g))(n.flags&131072)!==0&&(zn=!0);else return o.lanes=n.lanes,Ai(n,o,g)}return Tp(n,o,r,f,g)}function _b(n,o,r,f){var g=f.children,v=n!==null?n.memoizedState:null;if(n===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((o.flags&128)!==0){if(v=v!==null?v.baseLanes|r:r,n!==null){for(f=o.child=n.child,g=0;f!==null;)g=g|f.lanes|f.childLanes,f=f.sibling;f=g&~v}else f=0,o.child=null;return Va(n,o,v,r,f)}if((r&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},n!==null&&$u(o,v!==null?v.cachePool:null),v!==null?xb(o,v):Zf(),ap(o);else return f=o.lanes=536870912,Va(n,o,v!==null?v.baseLanes|r:r,r,f)}else v!==null?($u(o,v.cachePool),xb(o,v),yo(),o.memoizedState=null):(n!==null&&$u(o,null),Zf(),yo());return ln(n,o,g,r),o.child}function Yr(n,o){return n!==null&&n.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Va(n,o,r,f,g){var v=xi();return v=v===null?null:{parent:Dn._currentValue,pool:v},o.memoizedState={baseLanes:r,cachePool:v},n!==null&&$u(o,null),Zf(),ap(o),n!==null&&ta(n,o,f,!0),o.childLanes=g,null}function od(n,o){return o=sd({mode:o.mode,children:o.children},n.mode),o.ref=n.ref,n.child=o,o.return=n,o}function Ba(n,o,r){return jr(o,n.child,null,r),n=od(o,o.pendingProps),n.flags|=2,Ha(o),o.memoizedState=null,n}function kb(n,o,r){var f=o.pendingProps,g=(o.flags&128)!==0;if(o.flags&=-129,n===null){if(Ce){if(f.mode==="hidden")return n=od(o,f),o.lanes=536870912,Yr(null,n);if(Fu(o),(n=tn)?(n=p1(n,Bn),n=n!==null&&n.data==="&"?n:null,n!==null&&(o.memoizedState={dehydrated:n,treeContext:ho!==null?{id:Pa,overflow:po}:null,retryLane:536870912,hydrationErrors:null},r=Zg(n),r.return=o,o.child=r,Wn=o,tn=null)):n=null,n===null)throw $i(o);return o.lanes=536870912,null}return od(o,f)}var v=n.memoizedState;if(v!==null){var C=v.dehydrated;if(Fu(o),g)if(o.flags&256)o.flags&=-257,o=Ba(n,o,r);else if(o.memoizedState!==null)o.child=n.child,o.flags|=128,o=null;else throw Error(c(558));else if(zn||ta(n,o,r,!1),g=(r&n.childLanes)!==0,zn||g){if(f=Je,f!==null&&(C=di(f,r),C!==0&&C!==v.retryLane))throw v.retryLane=C,Vl(n,C),Xa(f,n,C),Ep;Yp(),o=Ba(n,o,r)}else n=v.treeContext,tn=Qa(C.nextSibling),Wn=o,Ce=!0,Jo=null,Bn=!1,n!==null&&Uf(o,n),o=od(o,f),o.flags|=4096;return o}return n=Bl(n.child,{mode:f.mode,children:f.children}),n.ref=o.ref,o.child=n,n.return=o,n}function Ei(n,o){var r=o.ref;if(r===null)n!==null&&n.ref!==null&&(o.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(c(284));(n===null||n.ref!==r)&&(o.flags|=4194816)}}function Tp(n,o,r,f,g){return le(o),r=Kf(n,o,r,f,void 0,g),f=op(),n!==null&&!zn?(Ns(n,o,g),Ai(n,o,g)):(Ce&&f&&Xu(o),o.flags|=1,ln(n,o,r,g),o.child)}function qr(n,o,r,f,g,v){return le(o),o.updateQueue=null,r=wb(o,f,r,g),ip(n),f=op(),n!==null&&!zn?(Ns(n,o,v),Ai(n,o,v)):(Ce&&f&&Xu(o),o.flags|=1,ln(n,o,r,v),o.child)}function D0(n,o,r,f,g){if(le(o),o.stateNode===null){var v=ja,C=r.contextType;typeof C=="object"&&C!==null&&(v=yt(C)),v=new r(f,v),o.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Ki,o.stateNode=v,v._reactInternals=o,v=o.stateNode,v.props=f,v.state=o.memoizedState,v.refs={},Qf(o),C=r.contextType,v.context=typeof C=="object"&&C!==null?yt(C):ja,v.state=o.memoizedState,C=r.getDerivedStateFromProps,typeof C=="function"&&(Ys(o,r,C,f),v.state=o.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(C=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),C!==v.state&&Ki.enqueueReplaceState(v,v.state,null),tl(o,f,v,g),Lr(),v.state=o.memoizedState),typeof v.componentDidMount=="function"&&(o.flags|=4194308),f=!0}else if(n===null){v=o.stateNode;var _=o.memoizedProps,V=Br(r,_);v.props=V;var nt=v.context,ft=r.contextType;C=ja,typeof ft=="object"&&ft!==null&&(C=yt(ft));var gt=r.getDerivedStateFromProps;ft=typeof gt=="function"||typeof v.getSnapshotBeforeUpdate=="function",_=o.pendingProps!==_,ft||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_||nt!==C)&&Ob(o,v,f,C),Ql=!1;var at=o.memoizedState;v.state=at,tl(o,f,v,g),Lr(),nt=o.memoizedState,_||at!==nt||Ql?(typeof gt=="function"&&(Ys(o,r,gt,f),nt=o.memoizedState),(V=Ql||x0(o,r,V,f,at,nt,C))?(ft||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(o.flags|=4194308)):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=f,o.memoizedState=nt),v.props=f,v.state=nt,v.context=C,f=V):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),f=!1)}else{v=o.stateNode,tp(n,o),C=o.memoizedProps,ft=Br(r,C),v.props=ft,gt=o.pendingProps,at=v.context,nt=r.contextType,V=ja,typeof nt=="object"&&nt!==null&&(V=yt(nt)),_=r.getDerivedStateFromProps,(nt=typeof _=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==gt||at!==V)&&Ob(o,v,f,V),Ql=!1,at=o.memoizedState,v.state=at,tl(o,f,v,g),Lr();var ut=o.memoizedState;C!==gt||at!==ut||Ql||n!==null&&n.dependencies!==null&&Ds(n.dependencies)?(typeof _=="function"&&(Ys(o,r,_,f),ut=o.memoizedState),(ft=Ql||x0(o,r,ft,f,at,ut,V)||n!==null&&n.dependencies!==null&&Ds(n.dependencies))?(nt||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(f,ut,V),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(f,ut,V)),typeof v.componentDidUpdate=="function"&&(o.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=1024),o.memoizedProps=f,o.memoizedState=ut),v.props=f,v.state=ut,v.context=V,f=ft):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=1024),f=!1)}return v=f,Ei(n,o),f=(o.flags&128)!==0,v||f?(v=o.stateNode,r=f&&typeof r.getDerivedStateFromError!="function"?null:v.render(),o.flags|=1,n!==null&&f?(o.child=jr(o,n.child,null,g),o.child=jr(o,null,r,g)):ln(n,o,r,g),o.memoizedState=v.state,n=o.child):n=Ai(n,o,g),n}function bo(n,o,r,f){return Dr(),o.flags|=256,ln(n,o,r,f),o.child}var ld={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function rd(n){return{baseLanes:n,cachePool:zs()}}function Ti(n,o,r){return n=n!==null?n.childLanes&~r:0,o&&(n|=Ga),n}function M0(n,o,r){var f=o.pendingProps,g=!1,v=(o.flags&128)!==0,C;if((C=v)||(C=n!==null&&n.memoizedState===null?!1:(un.current&2)!==0),C&&(g=!0,o.flags&=-129),C=(o.flags&32)!==0,o.flags&=-33,n===null){if(Ce){if(g?el(o):yo(),(n=tn)?(n=p1(n,Bn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(o.memoizedState={dehydrated:n,treeContext:ho!==null?{id:Pa,overflow:po}:null,retryLane:536870912,hydrationErrors:null},r=Zg(n),r.return=o,o.child=r,Wn=o,tn=null)):n=null,n===null)throw $i(o);return Ir(n)?o.lanes=32:o.lanes=536870912,null}var _=f.children;return f=f.fallback,g?(yo(),g=o.mode,_=sd({mode:"hidden",children:_},g),f=Yl(f,g,r,null),_.return=o,f.return=o,_.sibling=f,o.child=_,f=o.child,f.memoizedState=rd(r),f.childLanes=Ti(n,C,r),o.memoizedState=ld,Yr(null,f)):(el(o),Gr(o,_))}var V=n.memoizedState;if(V!==null&&(_=V.dehydrated,_!==null)){if(v)o.flags&256?(el(o),o.flags&=-257,o=qs(n,o,r)):o.memoizedState!==null?(yo(),o.child=n.child,o.flags|=128,o=null):(yo(),_=f.fallback,g=o.mode,f=sd({mode:"visible",children:f.children},g),_=Yl(_,g,r,null),_.flags|=2,f.return=o,_.return=o,f.sibling=_,o.child=f,jr(o,n.child,null,r),f=o.child,f.memoizedState=rd(r),f.childLanes=Ti(n,C,r),o.memoizedState=ld,o=Yr(null,f));else if(el(o),Ir(_)){if(C=_.nextSibling&&_.nextSibling.dataset,C)var nt=C.dgst;C=nt,f=Error(c(419)),f.stack="",f.digest=C,Zu({value:f,source:null,stack:null}),o=qs(n,o,r)}else if(zn||ta(n,o,r,!1),C=(r&n.childLanes)!==0,zn||C){if(C=Je,C!==null&&(f=di(C,r),f!==0&&f!==V.retryLane))throw V.retryLane=f,Vl(n,f),Xa(C,n,f),Ep;Fi(_)||Yp(),o=qs(n,o,r)}else Fi(_)?(o.flags|=192,o.child=n.child,o=null):(n=V.treeContext,tn=Qa(_.nextSibling),Wn=o,Ce=!0,Jo=null,Bn=!1,n!==null&&Uf(o,n),o=Gr(o,f.children),o.flags|=4096);return o}return g?(yo(),_=f.fallback,g=o.mode,V=n.child,nt=V.sibling,f=Bl(V,{mode:"hidden",children:f.children}),f.subtreeFlags=V.subtreeFlags&65011712,nt!==null?_=Bl(nt,_):(_=Yl(_,g,r,null),_.flags|=2),_.return=o,f.return=o,f.sibling=_,o.child=f,Yr(null,f),f=o.child,_=n.child.memoizedState,_===null?_=rd(r):(g=_.cachePool,g!==null?(V=Dn._currentValue,g=g.parent!==V?{parent:V,pool:V}:g):g=zs(),_={baseLanes:_.baseLanes|r,cachePool:g}),f.memoizedState=_,f.childLanes=Ti(n,C,r),o.memoizedState=ld,Yr(n.child,f)):(el(o),r=n.child,n=r.sibling,r=Bl(r,{mode:"visible",children:f.children}),r.return=o,r.sibling=null,n!==null&&(C=o.deletions,C===null?(o.deletions=[n],o.flags|=16):C.push(n)),o.child=r,o.memoizedState=null,r)}function Gr(n,o){return o=sd({mode:"visible",children:o},n.mode),o.return=n,n.child=o}function sd(n,o){return n=xn(22,n,null,o),n.lanes=0,n}function qs(n,o,r){return jr(o,n.child,null,r),n=Gr(o,o.pendingProps.children),n.flags|=2,o.memoizedState=null,n}function Gs(n,o,r){n.lanes|=o;var f=n.alternate;f!==null&&(f.lanes|=o),Ph(n.return,o,r)}function Ap(n,o,r,f,g,v){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:f,tail:r,tailMode:g,treeForkCount:v}:(C.isBackwards=o,C.rendering=null,C.renderingStartTime=0,C.last=f,C.tail=r,C.tailMode=g,C.treeForkCount=v)}function z0(n,o,r){var f=o.pendingProps,g=f.revealOrder,v=f.tail;f=f.children;var C=un.current,_=(C&2)!==0;if(_?(C=C&1|2,o.flags|=128):C&=1,ht(un,C),ln(n,o,f,r),f=Ce?Rn:0,!_&&n!==null&&(n.flags&128)!==0)t:for(n=o.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Gs(n,r,o);else if(n.tag===19)Gs(n,r,o);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===o)break t;for(;n.sibling===null;){if(n.return===null||n.return===o)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(g){case"forwards":for(r=o.child,g=null;r!==null;)n=r.alternate,n!==null&&Pu(n)===null&&(g=r),r=r.sibling;r=g,r===null?(g=o.child,o.child=null):(g=r.sibling,r.sibling=null),Ap(o,!1,g,r,v,f);break;case"backwards":case"unstable_legacy-backwards":for(r=null,g=o.child,o.child=null;g!==null;){if(n=g.alternate,n!==null&&Pu(n)===null){o.child=g;break}n=g.sibling,g.sibling=r,r=g,g=n}Ap(o,!0,r,null,v,f);break;case"together":Ap(o,!1,null,null,void 0,f);break;default:o.memoizedState=null}return o.child}function Ai(n,o,r){if(n!==null&&(o.dependencies=n.dependencies),Eo|=o.lanes,(r&o.childLanes)===0)if(n!==null){if(ta(n,o,r,!1),(r&o.childLanes)===0)return null}else return null;if(n!==null&&o.child!==n.child)throw Error(c(153));if(o.child!==null){for(n=o.child,r=Bl(n,n.pendingProps),o.child=r,r.return=o;n.sibling!==null;)n=n.sibling,r=r.sibling=Bl(n,n.pendingProps),r.return=o;r.sibling=null}return o.child}function Cp(n,o){return(n.lanes&o)!==0?!0:(n=n.dependencies,!!(n!==null&&Ds(n)))}function Rp(n,o,r){switch(o.tag){case 3:$e(o,o.stateNode.containerInfo),La(o,Dn,n.memoizedState.cache),Dr();break;case 27:case 5:In(o);break;case 4:$e(o,o.stateNode.containerInfo);break;case 10:La(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,Fu(o),null;break;case 13:var f=o.memoizedState;if(f!==null)return f.dehydrated!==null?(el(o),o.flags|=128,null):(r&o.child.childLanes)!==0?M0(n,o,r):(el(o),n=Ai(n,o,r),n!==null?n.sibling:null);el(o);break;case 19:var g=(n.flags&128)!==0;if(f=(r&o.childLanes)!==0,f||(ta(n,o,r,!1),f=(r&o.childLanes)!==0),g){if(f)return z0(n,o,r);o.flags|=128}if(g=o.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),ht(un,un.current),f)break;return null;case 22:return o.lanes=0,_b(n,o,r,o.pendingProps);case 24:La(o,Dn,n.memoizedState.cache)}return Ai(n,o,r)}function O0(n,o,r){if(n!==null)if(n.memoizedProps!==o.pendingProps)zn=!0;else{if(!Cp(n,r)&&(o.flags&128)===0)return zn=!1,Rp(n,o,r);zn=(n.flags&131072)!==0}else zn=!1,Ce&&(o.flags&1048576)!==0&&Kg(o,Rn,o.index);switch(o.lanes=0,o.tag){case 16:t:{var f=o.pendingProps;if(n=Or(o.elementType),o.type=n,typeof n=="function")Cs(n)?(f=Br(n,f),o.tag=1,o=D0(null,o,n,f,r)):(o.tag=0,o=Tp(null,o,n,f,r));else{if(n!=null){var g=n.$$typeof;if(g===ct){o.tag=11,o=A0(null,o,n,f,r);break t}else if(g===vt){o.tag=14,o=C0(null,o,n,f,r);break t}}throw o=Et(n)||n,Error(c(306,o,""))}}return o;case 0:return Tp(n,o,o.type,o.pendingProps,r);case 1:return f=o.type,g=Br(f,o.pendingProps),D0(n,o,f,g,r);case 3:t:{if($e(o,o.stateNode.containerInfo),n===null)throw Error(c(387));f=o.pendingProps;var v=o.memoizedState;g=v.element,tp(n,o),tl(o,f,null,r);var C=o.memoizedState;if(f=C.cache,La(o,Dn,f),f!==v.cache&&Wo(o,[Dn],r,!0),Lr(),f=C.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:C.cache},o.updateQueue.baseState=v,o.memoizedState=v,o.flags&256){o=bo(n,o,f,r);break t}else if(f!==g){g=yi(Error(c(424)),o),Zu(g),o=bo(n,o,f,r);break t}else for(n=o.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,tn=Qa(n.firstChild),Wn=o,Ce=!0,Jo=null,Bn=!0,r=e0(o,null,f,r),o.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Dr(),f===g){o=Ai(n,o,r);break t}ln(n,o,f,r)}o=o.child}return o;case 26:return Ei(n,o),n===null?(r=Rc(o.type,null,o.pendingProps,null))?o.memoizedState=r:Ce||(r=o.type,n=o.pendingProps,f=Kr(ae.current).createElement(r),f[Ke]=o,f[Oa]=n,ma(f,r,n),qe(f),o.stateNode=f):o.memoizedState=Rc(o.type,n.memoizedProps,o.pendingProps,n.memoizedState),null;case 27:return In(o),n===null&&Ce&&(f=o.stateNode=Ac(o.type,o.pendingProps,ae.current),Wn=o,Bn=!0,g=tn,Ao(o.type)?(Rd=g,tn=Qa(f.firstChild)):tn=g),ln(n,o,o.pendingProps.children,r),Ei(n,o),n===null&&(o.flags|=4194304),o.child;case 5:return n===null&&Ce&&((g=f=tn)&&(f=Rw(f,o.type,o.pendingProps,Bn),f!==null?(o.stateNode=f,Wn=o,tn=Qa(f.firstChild),Bn=!1,g=!0):g=!1),g||$i(o)),In(o),g=o.type,v=o.pendingProps,C=n!==null?n.memoizedProps:null,f=v.children,Ec(g,v)?f=null:C!==null&&Ec(g,C)&&(o.flags|=32),o.memoizedState!==null&&(g=Kf(n,o,Ew,null,null,r),zd._currentValue=g),Ei(n,o),ln(n,o,f,r),o.child;case 6:return n===null&&Ce&&((n=r=tn)&&(r=ge(r,o.pendingProps,Bn),r!==null?(o.stateNode=r,Wn=o,tn=null,n=!0):n=!1),n||$i(o)),null;case 13:return M0(n,o,r);case 4:return $e(o,o.stateNode.containerInfo),f=o.pendingProps,n===null?o.child=jr(o,null,f,r):ln(n,o,f,r),o.child;case 11:return A0(n,o,o.type,o.pendingProps,r);case 7:return ln(n,o,o.pendingProps,r),o.child;case 8:return ln(n,o,o.pendingProps.children,r),o.child;case 12:return ln(n,o,o.pendingProps.children,r),o.child;case 10:return f=o.pendingProps,La(o,o.type,f.value),ln(n,o,f.children,r),o.child;case 9:return g=o.type._context,f=o.pendingProps.children,le(o),g=yt(g),f=f(g),o.flags|=1,ln(n,o,f,r),o.child;case 14:return C0(n,o,o.type,o.pendingProps,r);case 15:return R0(n,o,o.type,o.pendingProps,r);case 19:return z0(n,o,r);case 31:return kb(n,o,r);case 22:return _b(n,o,r,o.pendingProps);case 24:return le(o),f=yt(Dn),n===null?(g=xi(),g===null&&(g=Je,v=Hf(),g.pooledCache=v,v.refCount++,v!==null&&(g.pooledCacheLanes|=r),g=v),o.memoizedState={parent:f,cache:g},Qf(o),La(o,Dn,g)):((n.lanes&r)!==0&&(tp(n,o),tl(o,null,null,r),Lr()),g=n.memoizedState,v=o.memoizedState,g.parent!==f?(g={parent:f,cache:f},o.memoizedState=g,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=g),La(o,Dn,f)):(f=v.cache,La(o,Dn,f),f!==g.cache&&Wo(o,[Dn],r,!0))),ln(n,o,o.pendingProps.children,r),o.child;case 29:throw o.pendingProps}throw Error(c(156,o.tag))}function rl(n){n.flags|=4}function _0(n,o,r,f,g){if((o=(n.mode&32)!==0)&&(o=!1),o){if(n.flags|=16777216,(g&335544128)===g)if(n.stateNode.complete)n.flags|=8192;else if(Gb())n.flags|=8192;else throw _r=_s,Os}else n.flags&=-16777217}function k0(n,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!ii(o))if(Gb())n.flags|=8192;else throw _r=_s,Os}function Ta(n,o){o!==null&&(n.flags|=4),n.flags&16384&&(o=n.tag!==22?Sa():536870912,n.lanes|=o,yn|=o)}function lc(n,o){if(!Ce)switch(n.tailMode){case"hidden":o=n.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var f=null;r!==null;)r.alternate!==null&&(f=r),r=r.sibling;f===null?o||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function ie(n){var o=n.alternate!==null&&n.alternate.child===n.child,r=0,f=0;if(o)for(var g=n.child;g!==null;)r|=g.lanes|g.childLanes,f|=g.subtreeFlags&65011712,f|=g.flags&65011712,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)r|=g.lanes|g.childLanes,f|=g.subtreeFlags,f|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=f,n.childLanes=r,o}function jb(n,o,r){var f=o.pendingProps;switch(Jh(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(o),null;case 1:return ie(o),null;case 3:return r=o.stateNode,f=null,n!==null&&(f=n.memoizedState.cache),o.memoizedState.cache!==f&&(o.flags|=2048),go(Dn),Ae(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(Po(o)?rl(o):n===null||n.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Ig())),ie(o),null;case 26:var g=o.type,v=o.memoizedState;return n===null?(rl(o),v!==null?(ie(o),k0(o,v)):(ie(o),_0(o,g,null,f,r))):v?v!==n.memoizedState?(rl(o),ie(o),k0(o,v)):(ie(o),o.flags&=-16777217):(n=n.memoizedProps,n!==f&&rl(o),ie(o),_0(o,g,n,f,r)),null;case 27:if(zt(o),r=ae.current,g=o.type,n!==null&&o.stateNode!=null)n.memoizedProps!==f&&rl(o);else{if(!f){if(o.stateNode===null)throw Error(c(166));return ie(o),null}n=mt.current,Po(o)?Lf(o):(n=Ac(g,f,r),o.stateNode=n,rl(o))}return ie(o),null;case 5:if(zt(o),g=o.type,n!==null&&o.stateNode!=null)n.memoizedProps!==f&&rl(o);else{if(!f){if(o.stateNode===null)throw Error(c(166));return ie(o),null}if(v=mt.current,Po(o))Lf(o);else{var C=Kr(ae.current);switch(v){case 1:v=C.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:v=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":v=C.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":v=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":v=C.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof f.is=="string"?C.createElement("select",{is:f.is}):C.createElement("select"),f.multiple?v.multiple=!0:f.size&&(v.size=f.size);break;default:v=typeof f.is=="string"?C.createElement(g,{is:f.is}):C.createElement(g)}}v[Ke]=o,v[Oa]=f;t:for(C=o.child;C!==null;){if(C.tag===5||C.tag===6)v.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===o)break t;for(;C.sibling===null;){if(C.return===null||C.return===o)break t;C=C.return}C.sibling.return=C.return,C=C.sibling}o.stateNode=v;t:switch(ma(v,g,f),g){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break t;case"img":f=!0;break t;default:f=!1}f&&rl(o)}}return ie(o),_0(o,o.type,n===null?null:n.memoizedProps,o.pendingProps,r),null;case 6:if(n&&o.stateNode!=null)n.memoizedProps!==f&&rl(o);else{if(typeof f!="string"&&o.stateNode===null)throw Error(c(166));if(n=ae.current,Po(o)){if(n=o.stateNode,r=o.memoizedProps,f=null,g=Wn,g!==null)switch(g.tag){case 27:case 5:f=g.memoizedProps}n[Ke]=o,n=!!(n.nodeValue===r||f!==null&&f.suppressHydrationWarning===!0||ay(n.nodeValue,r)),n||$i(o,!0)}else n=Kr(n).createTextNode(f),n[Ke]=o,o.stateNode=n}return ie(o),null;case 31:if(r=o.memoizedState,n===null||n.memoizedState!==null){if(f=Po(o),r!==null){if(n===null){if(!f)throw Error(c(318));if(n=o.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(557));n[Ke]=o}else Dr(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ie(o),n=!1}else r=Ig(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),n=!0;if(!n)return o.flags&256?(Ha(o),o):(Ha(o),null);if((o.flags&128)!==0)throw Error(c(558))}return ie(o),null;case 13:if(f=o.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(g=Po(o),f!==null&&f.dehydrated!==null){if(n===null){if(!g)throw Error(c(318));if(g=o.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));g[Ke]=o}else Dr(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ie(o),g=!1}else g=Ig(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=g),g=!0;if(!g)return o.flags&256?(Ha(o),o):(Ha(o),null)}return Ha(o),(o.flags&128)!==0?(o.lanes=r,o):(r=f!==null,n=n!==null&&n.memoizedState!==null,r&&(f=o.child,g=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(g=f.alternate.memoizedState.cachePool.pool),v=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(v=f.memoizedState.cachePool.pool),v!==g&&(f.flags|=2048)),r!==n&&r&&(o.child.flags|=8192),Ta(o,o.updateQueue),ie(o),null);case 4:return Ae(),n===null&&wc(o.stateNode.containerInfo),ie(o),null;case 10:return go(o.type),ie(o),null;case 19:if(et(un),f=o.memoizedState,f===null)return ie(o),null;if(g=(o.flags&128)!==0,v=f.rendering,v===null)if(g)lc(f,!1);else{if(nn!==0||n!==null&&(n.flags&128)!==0)for(n=o.child;n!==null;){if(v=Pu(n),v!==null){for(o.flags|=128,lc(f,!1),n=v.updateQueue,o.updateQueue=n,Ta(o,n),o.subtreeFlags=0,n=r,r=o.child;r!==null;)Qg(r,n),r=r.sibling;return ht(un,un.current&1|2),Ce&&Zi(o,f.treeForkCount),o.child}n=n.sibling}f.tail!==null&&jn()>Be&&(o.flags|=128,g=!0,lc(f,!1),o.lanes=4194304)}else{if(!g)if(n=Pu(v),n!==null){if(o.flags|=128,g=!0,n=n.updateQueue,o.updateQueue=n,Ta(o,n),lc(f,!0),f.tail===null&&f.tailMode==="hidden"&&!v.alternate&&!Ce)return ie(o),null}else 2*jn()-f.renderingStartTime>Be&&r!==536870912&&(o.flags|=128,g=!0,lc(f,!1),o.lanes=4194304);f.isBackwards?(v.sibling=o.child,o.child=v):(n=f.last,n!==null?n.sibling=v:o.child=v,f.last=v)}return f.tail!==null?(n=f.tail,f.rendering=n,f.tail=n.sibling,f.renderingStartTime=jn(),n.sibling=null,r=un.current,ht(un,g?r&1|2:r&1),Ce&&Zi(o,f.treeForkCount),n):(ie(o),null);case 22:case 23:return Ha(o),Ju(),f=o.memoizedState!==null,n!==null?n.memoizedState!==null!==f&&(o.flags|=8192):f&&(o.flags|=8192),f?(r&536870912)!==0&&(o.flags&128)===0&&(ie(o),o.subtreeFlags&6&&(o.flags|=8192)):ie(o),r=o.updateQueue,r!==null&&Ta(o,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==r&&(o.flags|=2048),n!==null&&et(bi),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),o.memoizedState.cache!==r&&(o.flags|=2048),go(Dn),ie(o),null;case 25:return null;case 30:return null}throw Error(c(156,o.tag))}function Ub(n,o){switch(Jh(o),o.tag){case 1:return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 3:return go(Dn),Ae(),n=o.flags,(n&65536)!==0&&(n&128)===0?(o.flags=n&-65537|128,o):null;case 26:case 27:case 5:return zt(o),null;case 31:if(o.memoizedState!==null){if(Ha(o),o.alternate===null)throw Error(c(340));Dr()}return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 13:if(Ha(o),n=o.memoizedState,n!==null&&n.dehydrated!==null){if(o.alternate===null)throw Error(c(340));Dr()}return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 19:return et(un),null;case 4:return Ae(),null;case 10:return go(o.type),null;case 22:case 23:return Ha(o),Ju(),n!==null&&et(bi),n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 24:return go(Dn),null;case 25:return null;default:return null}}function Lb(n,o){switch(Jh(o),o.tag){case 3:go(Dn),Ae();break;case 26:case 27:case 5:zt(o);break;case 4:Ae();break;case 31:o.memoizedState!==null&&Ha(o);break;case 13:Ha(o);break;case 19:et(un);break;case 10:go(o.type);break;case 22:case 23:Ha(o),Ju(),n!==null&&et(bi);break;case 24:go(Dn)}}function Ii(n,o){try{var r=o.updateQueue,f=r!==null?r.lastEffect:null;if(f!==null){var g=f.next;r=g;do{if((r.tag&n)===n){f=void 0;var v=r.create,C=r.inst;f=v(),C.destroy=f}r=r.next}while(r!==g)}}catch(_){Ze(o,o.return,_)}}function Ci(n,o,r){try{var f=o.updateQueue,g=f!==null?f.lastEffect:null;if(g!==null){var v=g.next;f=v;do{if((f.tag&n)===n){var C=f.inst,_=C.destroy;if(_!==void 0){C.destroy=void 0,g=o;var V=r,nt=_;try{nt()}catch(ft){Ze(g,V,ft)}}}f=f.next}while(f!==v)}}catch(ft){Ze(o,o.return,ft)}}function Dp(n){var o=n.updateQueue;if(o!==null){var r=n.stateNode;try{Nr(o,r)}catch(f){Ze(n,n.return,f)}}}function Xr(n,o,r){r.props=Br(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(f){Ze(n,o,f)}}function sl(n,o){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var f=n.stateNode;break;case 30:f=n.stateNode;break;default:f=n.stateNode}typeof r=="function"?n.refCleanup=r(f):r.current=f}}catch(g){Ze(n,o,g)}}function xo(n,o){var r=n.ref,f=n.refCleanup;if(r!==null)if(typeof f=="function")try{f()}catch(g){Ze(n,o,g)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(g){Ze(n,o,g)}else r.current=null}function j0(n){var o=n.type,r=n.memoizedProps,f=n.stateNode;try{t:switch(o){case"button":case"input":case"select":case"textarea":r.autoFocus&&f.focus();break t;case"img":r.src?f.src=r.src:r.srcSet&&(f.srcset=r.srcSet)}}catch(g){Ze(n,n.return,g)}}function Mp(n,o,r){try{var f=n.stateNode;oy(f,n.type,r,o),f[Oa]=o}catch(g){Ze(n,n.return,g)}}function U0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ao(n.type)||n.tag===4}function rc(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||U0(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&&Ao(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 sc(n,o,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,o?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,o):(o=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,o.appendChild(n),r=r._reactRootContainer,r!=null||o.onclick!==null||(o.onclick=oo));else if(f!==4&&(f===27&&Ao(n.type)&&(r=n.stateNode,o=null),n=n.child,n!==null))for(sc(n,o,r),n=n.sibling;n!==null;)sc(n,o,r),n=n.sibling}function uc(n,o,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,o?r.insertBefore(n,o):r.appendChild(n);else if(f!==4&&(f===27&&Ao(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(uc(n,o,r),n=n.sibling;n!==null;)uc(n,o,r),n=n.sibling}function L0(n){var o=n.stateNode,r=n.memoizedProps;try{for(var f=n.type,g=o.attributes;g.length;)o.removeAttributeNode(g[0]);ma(o,f,r),o[Ke]=n,o[Oa]=r}catch(v){Ze(n,n.return,v)}}var Jl=!1,Ln=!1,zp=!1,N0=typeof WeakSet=="function"?WeakSet:Set,aa=null;function cc(n,o){if(n=n.containerInfo,Jp=Gn,n=Ar(n),Mf(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else t:{r=(r=n.ownerDocument)&&r.defaultView||window;var f=r.getSelection&&r.getSelection();if(f&&f.rangeCount!==0){r=f.anchorNode;var g=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{r.nodeType,v.nodeType}catch{r=null;break t}var C=0,_=-1,V=-1,nt=0,ft=0,gt=n,at=null;e:for(;;){for(var ut;gt!==r||g!==0&&gt.nodeType!==3||(_=C+g),gt!==v||f!==0&&gt.nodeType!==3||(V=C+f),gt.nodeType===3&&(C+=gt.nodeValue.length),(ut=gt.firstChild)!==null;)at=gt,gt=ut;for(;;){if(gt===n)break e;if(at===r&&++nt===g&&(_=C),at===v&&++ft===f&&(V=C),(ut=gt.nextSibling)!==null)break;gt=at,at=gt.parentNode}gt=ut}r=_===-1||V===-1?null:{start:_,end:V}}else r=null}r=r||{start:0,end:0}}else r=null;for(Fp={focusedElem:n,selectionRange:r},Gn=!1,aa=o;aa!==null;)if(o=aa,n=o.child,(o.subtreeFlags&1028)!==0&&n!==null)n.return=o,aa=n;else for(;aa!==null;){switch(o=aa,v=o.alternate,n=o.flags,o.tag){case 0:if((n&4)!==0&&(n=o.updateQueue,n=n!==null?n.events:null,n!==null))for(r=0;r<n.length;r++)g=n[r],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,r=o,g=v.memoizedProps,v=v.memoizedState,f=r.stateNode;try{var Ut=Br(r.type,g);n=f.getSnapshotBeforeUpdate(Ut,v),f.__reactInternalSnapshotBeforeUpdate=n}catch(Pt){Ze(r,r.return,Pt)}}break;case 3:if((n&1024)!==0){if(n=o.stateNode.containerInfo,r=n.nodeType,r===9)Cd(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Cd(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(c(163))}if(n=o.sibling,n!==null){n.return=o.return,aa=n;break}aa=o.return}}function ud(n,o,r){var f=r.flags;switch(r.tag){case 0:case 11:case 15:Fl(n,r),f&4&&Ii(5,r);break;case 1:if(Fl(n,r),f&4)if(n=r.stateNode,o===null)try{n.componentDidMount()}catch(C){Ze(r,r.return,C)}else{var g=Br(r.type,o.memoizedProps);o=o.memoizedState;try{n.componentDidUpdate(g,o,n.__reactInternalSnapshotBeforeUpdate)}catch(C){Ze(r,r.return,C)}}f&64&&Dp(r),f&512&&sl(r,r.return);break;case 3:if(Fl(n,r),f&64&&(n=r.updateQueue,n!==null)){if(o=null,r.child!==null)switch(r.child.tag){case 27:case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}try{Nr(n,o)}catch(C){Ze(r,r.return,C)}}break;case 27:o===null&&f&4&&L0(r);case 26:case 5:Fl(n,r),o===null&&f&4&&j0(r),f&512&&sl(r,r.return);break;case 12:Fl(n,r);break;case 31:Fl(n,r),f&4&&Nb(n,r);break;case 13:Fl(n,r),f&4&&B0(n,r),f&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=Ri.bind(null,r),Tc(n,r))));break;case 22:if(f=r.memoizedState!==null||Jl,!f){o=o!==null&&o.memoizedState!==null||Ln,g=Jl;var v=Ln;Jl=f,(Ln=o)&&!v?So(n,r,(r.subtreeFlags&8772)!==0):Fl(n,r),Jl=g,Ln=v}break;case 30:break;default:Fl(n,r)}}function H0(n){var o=n.alternate;o!==null&&(n.alternate=null,H0(o)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(o=n.stateNode,o!==null&&Ch(o)),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 en=null,Ya=!1;function ul(n,o,r){for(r=r.child;r!==null;)V0(n,o,r),r=r.sibling}function V0(n,o,r){if(Vn&&typeof Vn.onCommitFiberUnmount=="function")try{Vn.onCommitFiberUnmount(Hi,r)}catch{}switch(r.tag){case 26:Ln||xo(r,o),ul(n,o,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Ln||xo(r,o);var f=en,g=Ya;Ao(r.type)&&(en=r.stateNode,Ya=!1),ul(n,o,r),Fs(r.stateNode),en=f,Ya=g;break;case 5:Ln||xo(r,o);case 6:if(f=en,g=Ya,en=null,ul(n,o,r),en=f,Ya=g,en!==null)if(Ya)try{(en.nodeType===9?en.body:en.nodeName==="HTML"?en.ownerDocument.body:en).removeChild(r.stateNode)}catch(v){Ze(r,o,v)}else try{en.removeChild(r.stateNode)}catch(v){Ze(r,o,v)}break;case 18:en!==null&&(Ya?(n=en,uy(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),Uc(n)):uy(en,r.stateNode));break;case 4:f=en,g=Ya,en=r.stateNode.containerInfo,Ya=!0,ul(n,o,r),en=f,Ya=g;break;case 0:case 11:case 14:case 15:Ci(2,r,o),Ln||Ci(4,r,o),ul(n,o,r);break;case 1:Ln||(xo(r,o),f=r.stateNode,typeof f.componentWillUnmount=="function"&&Xr(r,o,f)),ul(n,o,r);break;case 21:ul(n,o,r);break;case 22:Ln=(f=Ln)||r.memoizedState!==null,ul(n,o,r),Ln=f;break;default:ul(n,o,r)}}function Nb(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Uc(n)}catch(r){Ze(o,o.return,r)}}}function B0(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Uc(n)}catch(r){Ze(o,o.return,r)}}function cd(n){switch(n.tag){case 31:case 13:case 19:var o=n.stateNode;return o===null&&(o=n.stateNode=new N0),o;case 22:return n=n.stateNode,o=n._retryCache,o===null&&(o=n._retryCache=new N0),o;default:throw Error(c(435,n.tag))}}function fd(n,o){var r=cd(n);o.forEach(function(f){if(!r.has(f)){r.add(f);var g=i1.bind(null,n,f);f.then(g,g)}})}function qa(n,o){var r=o.deletions;if(r!==null)for(var f=0;f<r.length;f++){var g=r[f],v=n,C=o,_=C;t:for(;_!==null;){switch(_.tag){case 27:if(Ao(_.type)){en=_.stateNode,Ya=!1;break t}break;case 5:en=_.stateNode,Ya=!1;break t;case 3:case 4:en=_.stateNode.containerInfo,Ya=!0;break t}_=_.return}if(en===null)throw Error(c(160));V0(v,C,g),en=null,Ya=!1,v=g.alternate,v!==null&&(v.return=null),g.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Op(o,n),o=o.sibling}var he=null;function Op(n,o){var r=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:qa(o,n),Wa(n),f&4&&(Ci(3,n,n.return),Ii(3,n),Ci(5,n,n.return));break;case 1:qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),f&64&&Jl&&(n=n.updateQueue,n!==null&&(f=n.callbacks,f!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?f:r.concat(f))));break;case 26:var g=he;if(qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),f&4){var v=r!==null?r.memoizedState:null;if(f=n.memoizedState,r===null)if(f===null)if(n.stateNode===null){t:{f=n.type,r=n.memoizedProps,g=g.ownerDocument||g;e:switch(f){case"title":v=g.getElementsByTagName("title")[0],(!v||v[qo]||v[Ke]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=g.createElement(f),g.head.insertBefore(v,g.querySelector("head > title"))),ma(v,f,r),v[Ke]=n,qe(v),f=v;break t;case"link":var C=hy("link","href",g).get(f+(r.href||""));if(C){for(var _=0;_<C.length;_++)if(v=C[_],v.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&v.getAttribute("rel")===(r.rel==null?null:r.rel)&&v.getAttribute("title")===(r.title==null?null:r.title)&&v.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){C.splice(_,1);break e}}v=g.createElement(f),ma(v,f,r),g.head.appendChild(v);break;case"meta":if(C=hy("meta","content",g).get(f+(r.content||""))){for(_=0;_<C.length;_++)if(v=C[_],v.getAttribute("content")===(r.content==null?null:""+r.content)&&v.getAttribute("name")===(r.name==null?null:r.name)&&v.getAttribute("property")===(r.property==null?null:r.property)&&v.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&v.getAttribute("charset")===(r.charSet==null?null:r.charSet)){C.splice(_,1);break e}}v=g.createElement(f),ma(v,f,r),g.head.appendChild(v);break;default:throw Error(c(468,f))}v[Ke]=n,qe(v),f=v}n.stateNode=f}else nm(g,n.type,n.stateNode);else n.stateNode=dy(g,f,n.memoizedProps);else v!==f?(v===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):v.count--,f===null?nm(g,n.type,n.stateNode):dy(g,f,n.memoizedProps)):f===null&&n.stateNode!==null&&Mp(n,n.memoizedProps,r.memoizedProps)}break;case 27:qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),r!==null&&f&4&&Mp(n,n.memoizedProps,r.memoizedProps);break;case 5:if(qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),n.flags&32){g=n.stateNode;try{Xo(g,"")}catch(Ut){Ze(n,n.return,Ut)}}f&4&&n.stateNode!=null&&(g=n.memoizedProps,Mp(n,g,r!==null?r.memoizedProps:g)),f&1024&&(zp=!0);break;case 6:if(qa(o,n),Wa(n),f&4){if(n.stateNode===null)throw Error(c(162));f=n.memoizedProps,r=n.stateNode;try{r.nodeValue=f}catch(Ut){Ze(n,n.return,Ut)}}break;case 3:if(zc=null,g=he,he=Aa(o.containerInfo),qa(o,n),he=g,Wa(n),f&4&&r!==null&&r.memoizedState.isDehydrated)try{Uc(o.containerInfo)}catch(Ut){Ze(n,n.return,Ut)}zp&&(zp=!1,Y0(n));break;case 4:f=he,he=Aa(n.stateNode.containerInfo),qa(o,n),Wa(n),he=f;break;case 12:qa(o,n),Wa(n);break;case 31:qa(o,n),Wa(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,fd(n,f)));break;case 13:qa(o,n),Wa(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(To=jn()),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,fd(n,f)));break;case 22:g=n.memoizedState!==null;var V=r!==null&&r.memoizedState!==null,nt=Jl,ft=Ln;if(Jl=nt||g,Ln=ft||V,qa(o,n),Ln=ft,Jl=nt,Wa(n),f&8192)t:for(o=n.stateNode,o._visibility=g?o._visibility&-2:o._visibility|1,g&&(r===null||V||Jl||Ln||Xs(n)),r=null,o=n;;){if(o.tag===5||o.tag===26){if(r===null){V=r=o;try{if(v=V.stateNode,g)C=v.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{_=V.stateNode;var gt=V.memoizedProps.style,at=gt!=null&&gt.hasOwnProperty("display")?gt.display:null;_.style.display=at==null||typeof at=="boolean"?"":(""+at).trim()}}catch(Ut){Ze(V,V.return,Ut)}}}else if(o.tag===6){if(r===null){V=o;try{V.stateNode.nodeValue=g?"":V.memoizedProps}catch(Ut){Ze(V,V.return,Ut)}}}else if(o.tag===18){if(r===null){V=o;try{var ut=V.stateNode;g?On(ut,!0):On(V.stateNode,!1)}catch(Ut){Ze(V,V.return,Ut)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===n)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break t;for(;o.sibling===null;){if(o.return===null||o.return===n)break t;r===o&&(r=null),o=o.return}r===o&&(r=null),o.sibling.return=o.return,o=o.sibling}f&4&&(f=n.updateQueue,f!==null&&(r=f.retryQueue,r!==null&&(f.retryQueue=null,fd(n,r))));break;case 19:qa(o,n),Wa(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,fd(n,f)));break;case 30:break;case 21:break;default:qa(o,n),Wa(n)}}function Wa(n){var o=n.flags;if(o&2){try{for(var r,f=n.return;f!==null;){if(U0(f)){r=f;break}f=f.return}if(r==null)throw Error(c(160));switch(r.tag){case 27:var g=r.stateNode,v=rc(n);uc(n,v,g);break;case 5:var C=r.stateNode;r.flags&32&&(Xo(C,""),r.flags&=-33);var _=rc(n);uc(n,_,C);break;case 3:case 4:var V=r.stateNode.containerInfo,nt=rc(n);sc(n,nt,V);break;default:throw Error(c(161))}}catch(ft){Ze(n,n.return,ft)}n.flags&=-3}o&4096&&(n.flags&=-4097)}function Y0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var o=n;Y0(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),n=n.sibling}}function Fl(n,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)ud(n,o.alternate,o),o=o.sibling}function Xs(n){for(n=n.child;n!==null;){var o=n;switch(o.tag){case 0:case 11:case 14:case 15:Ci(4,o,o.return),Xs(o);break;case 1:xo(o,o.return);var r=o.stateNode;typeof r.componentWillUnmount=="function"&&Xr(o,o.return,r),Xs(o);break;case 27:Fs(o.stateNode);case 26:case 5:xo(o,o.return),Xs(o);break;case 22:o.memoizedState===null&&Xs(o);break;case 30:Xs(o);break;default:Xs(o)}n=n.sibling}}function So(n,o,r){for(r=r&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var f=o.alternate,g=n,v=o,C=v.flags;switch(v.tag){case 0:case 11:case 15:So(g,v,r),Ii(4,v);break;case 1:if(So(g,v,r),f=v,g=f.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(nt){Ze(f,f.return,nt)}if(f=v,g=f.updateQueue,g!==null){var _=f.stateNode;try{var V=g.shared.hiddenCallbacks;if(V!==null)for(g.shared.hiddenCallbacks=null,g=0;g<V.length;g++)np(V[g],_)}catch(nt){Ze(f,f.return,nt)}}r&&C&64&&Dp(v),sl(v,v.return);break;case 27:L0(v);case 26:case 5:So(g,v,r),r&&f===null&&C&4&&j0(v),sl(v,v.return);break;case 12:So(g,v,r);break;case 31:So(g,v,r),r&&C&4&&Nb(g,v);break;case 13:So(g,v,r),r&&C&4&&B0(g,v);break;case 22:v.memoizedState===null&&So(g,v,r),sl(v,v.return);break;case 30:break;default:So(g,v,r)}o=o.sibling}}function _p(n,o){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(n=o.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&Vf(r))}function kp(n,o){n=null,o.alternate!==null&&(n=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==n&&(o.refCount++,n!=null&&Vf(n))}function Ji(n,o,r,f){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)fc(n,o,r,f),o=o.sibling}function fc(n,o,r,f){var g=o.flags;switch(o.tag){case 0:case 11:case 15:Ji(n,o,r,f),g&2048&&Ii(9,o);break;case 1:Ji(n,o,r,f);break;case 3:Ji(n,o,r,f),g&2048&&(n=null,o.alternate!==null&&(n=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==n&&(o.refCount++,n!=null&&Vf(n)));break;case 12:if(g&2048){Ji(n,o,r,f),n=o.stateNode;try{var v=o.memoizedProps,C=v.id,_=v.onPostCommit;typeof _=="function"&&_(C,o.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(V){Ze(o,o.return,V)}}else Ji(n,o,r,f);break;case 31:Ji(n,o,r,f);break;case 13:Ji(n,o,r,f);break;case 23:break;case 22:v=o.stateNode,C=o.alternate,o.memoizedState!==null?v._visibility&2?Ji(n,o,r,f):dd(n,o):v._visibility&2?Ji(n,o,r,f):(v._visibility|=2,dc(n,o,r,f,(o.subtreeFlags&10256)!==0||!1)),g&2048&&_p(C,o);break;case 24:Ji(n,o,r,f),g&2048&&kp(o.alternate,o);break;default:Ji(n,o,r,f)}}function dc(n,o,r,f,g){for(g=g&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var v=n,C=o,_=r,V=f,nt=C.flags;switch(C.tag){case 0:case 11:case 15:dc(v,C,_,V,g),Ii(8,C);break;case 23:break;case 22:var ft=C.stateNode;C.memoizedState!==null?ft._visibility&2?dc(v,C,_,V,g):dd(v,C):(ft._visibility|=2,dc(v,C,_,V,g)),g&&nt&2048&&_p(C.alternate,C);break;case 24:dc(v,C,_,V,g),g&&nt&2048&&kp(C.alternate,C);break;default:dc(v,C,_,V,g)}o=o.sibling}}function dd(n,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var r=n,f=o,g=f.flags;switch(f.tag){case 22:dd(r,f),g&2048&&_p(f.alternate,f);break;case 24:dd(r,f),g&2048&&kp(f.alternate,f);break;default:dd(r,f)}o=o.sibling}}var ti=8192;function cl(n,o,r){if(n.subtreeFlags&ti)for(n=n.child;n!==null;)Hb(n,o,r),n=n.sibling}function Hb(n,o,r){switch(n.tag){case 26:cl(n,o,r),n.flags&ti&&n.memoizedState!==null&&ml(r,he,n.memoizedState,n.memoizedProps);break;case 5:cl(n,o,r);break;case 3:case 4:var f=he;he=Aa(n.stateNode.containerInfo),cl(n,o,r),he=f;break;case 22:n.memoizedState===null&&(f=n.alternate,f!==null&&f.memoizedState!==null?(f=ti,ti=16777216,cl(n,o,r),ti=f):cl(n,o,r));break;default:cl(n,o,r)}}function jp(n){var o=n.alternate;if(o!==null&&(n=o.child,n!==null)){o.child=null;do o=n.sibling,n.sibling=null,n=o;while(n!==null)}}function hc(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var f=o[r];aa=f,Up(f,n)}jp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)q0(n),n=n.sibling}function q0(n){switch(n.tag){case 0:case 11:case 15:hc(n),n.flags&2048&&Ci(9,n,n.return);break;case 3:hc(n);break;case 12:hc(n);break;case 22:var o=n.stateNode;n.memoizedState!==null&&o._visibility&2&&(n.return===null||n.return.tag!==13)?(o._visibility&=-3,hd(n)):hc(n);break;default:hc(n)}}function hd(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var f=o[r];aa=f,Up(f,n)}jp(n)}for(n=n.child;n!==null;){switch(o=n,o.tag){case 0:case 11:case 15:Ci(8,o,o.return),hd(o);break;case 22:r=o.stateNode,r._visibility&2&&(r._visibility&=-3,hd(o));break;default:hd(o)}n=n.sibling}}function Up(n,o){for(;aa!==null;){var r=aa;switch(r.tag){case 0:case 11:case 15:Ci(8,r,o);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var f=r.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Vf(r.memoizedState.cache)}if(f=r.child,f!==null)f.return=r,aa=f;else t:for(r=n;aa!==null;){f=aa;var g=f.sibling,v=f.return;if(H0(f),f===r){aa=null;break t}if(g!==null){g.return=v,aa=g;break t}aa=v}}}var Vb={getCacheForType:function(n){var o=yt(Dn),r=o.data.get(n);return r===void 0&&(r=n(),o.data.set(n,r)),r},cacheSignal:function(){return yt(Dn).controller.signal}},G0=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Je=null,Re=null,Se=0,Qe=0,ee=null,fl=!1,Qr=!1,Lp=!1,wo=0,nn=0,Eo=0,Qs=0,Np=0,Ga=0,yn=0,pd=null,vn=null,Hp=!1,To=0,X0=0,Be=1/0,pc=null,cn=null,qn=0,Pl=null,Zr=null,dl=0,ei=0,Vp=null,Bp=null,mc=0,md=null;function ni(){return(Ne&2)!==0&&Se!==0?Se&-Se:U.T!==null?Qp():Th()}function Bb(){if(Ga===0)if((Se&536870912)===0||Ce){var n=At;At<<=1,(At&3932160)===0&&(At=262144),Ga=n}else Ga=536870912;return n=Na.current,n!==null&&(n.flags|=32),Ga}function Xa(n,o,r){(n===Je&&(Qe===2||Qe===9)||n.cancelPendingCommit!==null)&&(hl(n,0),Wl(n,Se,Ga,!1)),yr(n,r),((Ne&2)===0||n!==Je)&&(n===Je&&((Ne&2)===0&&(Qs|=r),nn===4&&Wl(n,Se,Ga,!1)),pl(n))}function Yb(n,o,r){if((Ne&6)!==0)throw Error(c(327));var f=!r&&(o&127)===0&&(o&n.expiredLanes)===0||xe(n,o),g=f?Zb(n,o):qp(n,o,!0),v=f;do{if(g===0){Qr&&!f&&Wl(n,o,0,!1);break}else{if(r=n.current.alternate,v&&!qb(r)){g=qp(n,o,!1),v=!1;continue}if(g===2){if(v=o,n.errorRecoveryDisabledLanes&v)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){o=C;t:{var _=n;g=pd;var V=_.current.memoizedState.isDehydrated;if(V&&(hl(_,C).flags|=256),C=qp(_,C,!1),C!==2){if(Lp&&!V){_.errorRecoveryDisabledLanes|=v,Qs|=v,g=4;break t}v=vn,vn=g,v!==null&&(vn===null?vn=v:vn.push.apply(vn,v))}g=C}if(v=!1,g!==2)continue}}if(g===1){hl(n,0),Wl(n,o,0,!0);break}t:{switch(f=n,v=g,v){case 0:case 1:throw Error(c(345));case 4:if((o&4194048)!==o)break;case 6:Wl(f,o,Ga,!fl);break t;case 2:vn=null;break;case 3:case 5:break;default:throw Error(c(329))}if((o&62914560)===o&&(g=To+300-jn(),10<g)){if(Wl(f,o,Ga,!fl),Xt(f,0,!0)!==0)break t;dl=o,f.timeoutHandle=Ad(gd.bind(null,f,r,vn,pc,Hp,o,Ga,Qs,yn,fl,v,"Throttled",-0,0),g);break t}gd(f,r,vn,pc,Hp,o,Ga,Qs,yn,fl,v,null,-0,0)}}break}while(!0);pl(n)}function gd(n,o,r,f,g,v,C,_,V,nt,ft,gt,at,ut){if(n.timeoutHandle=-1,gt=o.subtreeFlags,gt&8192||(gt&16785408)===16785408){gt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:oo},Hb(o,v,gt);var Ut=(v&62914560)===v?To-jn():(v&4194048)===v?X0-jn():0;if(Ut=my(gt,Ut),Ut!==null){dl=v,n.cancelPendingCommit=Ut(Jb.bind(null,n,o,v,r,f,g,C,_,V,ft,gt,null,at,ut)),Wl(n,v,C,!nt);return}}Jb(n,o,v,r,f,g,C,_,V)}function qb(n){for(var o=n;;){var r=o.tag;if((r===0||r===11||r===15)&&o.flags&16384&&(r=o.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var f=0;f<r.length;f++){var g=r[f],v=g.getSnapshot;g=g.value;try{if(!Ea(v(),g))return!1}catch{return!1}}if(r=o.child,o.subtreeFlags&16384&&r!==null)r.return=o,o=r;else{if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Wl(n,o,r,f){o&=~Np,o&=~Qs,n.suspendedLanes|=o,n.pingedLanes&=~o,f&&(n.warmLanes|=o),f=n.expirationTimes;for(var g=o;0<g;){var v=31-Jn(g),C=1<<v;f[v]=-1,g&=~C}r!==0&&vf(n,r,o)}function gc(){return(Ne&6)===0?(er(0),!1):!0}function Q0(){if(Re!==null){if(Qe===0)var n=Re.return;else n=Re,mo=ql=null,If(n),kr=null,ks=0,n=Re;for(;n!==null;)Lb(n.alternate,n),n=n.return;Re=null}}function hl(n,o){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,d1(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),dl=0,Q0(),Je=n,Re=r=Bl(n.current,null),Se=o,Qe=0,ee=null,fl=!1,Qr=xe(n,o),Lp=!1,yn=Ga=Np=Qs=Eo=nn=0,vn=pd=null,Hp=!1,(o&8)!==0&&(o|=o&32);var f=n.entangledLanes;if(f!==0)for(n=n.entanglements,f&=o;0<f;){var g=31-Jn(f),v=1<<g;o|=n[g],f&=~v}return wo=o,mi(),r}function yc(n,o){fe=null,U.H=ad,o===zr||o===Ku?(o=t0(),Qe=3):o===Os?(o=t0(),Qe=4):Qe=o===Ep?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,ee=o,Re===null&&(nn=1,oc(n,yi(o,n.current)))}function Gb(){var n=Na.current;return n===null?!0:(Se&4194048)===Se?wi===null:(Se&62914560)===Se||(Se&536870912)!==0?n===wi:!1}function Xb(){var n=U.H;return U.H=ad,n===null?ad:n}function Qb(){var n=U.A;return U.A=Vb,n}function Yp(){nn=4,fl||(Se&4194048)!==Se&&Na.current!==null||(Qr=!0),(Eo&134217727)===0&&(Qs&134217727)===0||Je===null||Wl(Je,Se,Ga,!1)}function qp(n,o,r){var f=Ne;Ne|=2;var g=Xb(),v=Qb();(Je!==n||Se!==o)&&(pc=null,hl(n,o)),o=!1;var C=nn;t:do try{if(Qe!==0&&Re!==null){var _=Re,V=ee;switch(Qe){case 8:Q0(),C=6;break t;case 3:case 2:case 9:case 6:Na.current===null&&(o=!0);var nt=Qe;if(Qe=0,ee=null,Zs(n,_,V,nt),r&&Qr){C=0;break t}break;default:nt=Qe,Qe=0,ee=null,Zs(n,_,V,nt)}}Aw(),C=nn;break}catch(ft){yc(n,ft)}while(!0);return o&&n.shellSuspendCounter++,mo=ql=null,Ne=f,U.H=g,U.A=v,Re===null&&(Je=null,Se=0,mi()),C}function Aw(){for(;Re!==null;)$b(Re)}function Zb(n,o){var r=Ne;Ne|=2;var f=Xb(),g=Qb();Je!==n||Se!==o?(pc=null,Be=jn()+500,hl(n,o)):Qr=xe(n,o);t:do try{if(Qe!==0&&Re!==null){o=Re;var v=ee;e:switch(Qe){case 1:Qe=0,ee=null,Zs(n,o,v,1);break;case 2:case 9:if(Pg(v)){Qe=0,ee=null,Kb(o);break}o=function(){Qe!==2&&Qe!==9||Je!==n||(Qe=7),pl(n)},v.then(o,o);break t;case 3:Qe=7;break t;case 4:Qe=5;break t;case 7:Pg(v)?(Qe=0,ee=null,Kb(o)):(Qe=0,ee=null,Zs(n,o,v,7));break;case 5:var C=null;switch(Re.tag){case 26:C=Re.memoizedState;case 5:case 27:var _=Re;if(C?ii(C):_.stateNode.complete){Qe=0,ee=null;var V=_.sibling;if(V!==null)Re=V;else{var nt=_.return;nt!==null?(Re=nt,yd(nt)):Re=null}break e}}Qe=0,ee=null,Zs(n,o,v,5);break;case 6:Qe=0,ee=null,Zs(n,o,v,6);break;case 8:Q0(),nn=6;break t;default:throw Error(c(462))}}$r();break}catch(ft){yc(n,ft)}while(!0);return mo=ql=null,U.H=f,U.A=g,Ne=r,Re!==null?0:(Je=null,Se=0,mi(),nn)}function $r(){for(;Re!==null&&!Bo();)$b(Re)}function $b(n){var o=O0(n.alternate,n,wo);n.memoizedProps=n.pendingProps,o===null?yd(n):Re=o}function Kb(n){var o=n,r=o.alternate;switch(o.tag){case 15:case 0:o=qr(r,o,o.pendingProps,o.type,void 0,Se);break;case 11:o=qr(r,o,o.pendingProps,o.type.render,o.ref,Se);break;case 5:If(o);default:Lb(r,o),o=Re=Qg(o,wo),o=O0(r,o,wo)}n.memoizedProps=n.pendingProps,o===null?yd(n):Re=o}function Zs(n,o,r,f){mo=ql=null,If(o),kr=null,ks=0;var g=o.return;try{if(Tw(n,g,o,r,Se)){nn=1,oc(n,yi(r,n.current)),Re=null;return}}catch(v){if(g!==null)throw Re=g,v;nn=1,oc(n,yi(r,n.current)),Re=null;return}o.flags&32768?(Ce||f===1?n=!0:Qr||(Se&536870912)!==0?n=!1:(fl=n=!0,(f===2||f===9||f===3||f===6)&&(f=Na.current,f!==null&&f.tag===13&&(f.flags|=16384))),Ib(o,n)):yd(o)}function yd(n){var o=n;do{if((o.flags&32768)!==0){Ib(o,fl);return}n=o.return;var r=jb(o.alternate,o,wo);if(r!==null){Re=r;return}if(o=o.sibling,o!==null){Re=o;return}Re=o=n}while(o!==null);nn===0&&(nn=5)}function Ib(n,o){do{var r=Ub(n.alternate,n);if(r!==null){r.flags&=32767,Re=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!o&&(n=n.sibling,n!==null)){Re=n;return}Re=n=r}while(n!==null);nn=6,Re=null}function Jb(n,o,r,f,g,v,C,_,V){n.cancelPendingCommit=null;do vc();while(qn!==0);if((Ne&6)!==0)throw Error(c(327));if(o!==null){if(o===n.current)throw Error(c(177));if(v=o.lanes|o.childLanes,v|=Xi,Du(n,r,v,C,_,V),n===Je&&(Re=Je=null,Se=0),Zr=o,Pl=n,dl=r,ei=v,Vp=g,Bp=f,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,o1(ao,function(){return e1(),null})):(n.callbackNode=null,n.callbackPriority=0),f=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||f){f=U.T,U.T=null,g=F.p,F.p=2,C=Ne,Ne|=4;try{cc(n,o,r)}finally{Ne=C,F.p=g,U.T=f}}qn=1,Fb(),Pb(),Wb()}}function Fb(){if(qn===1){qn=0;var n=Pl,o=Zr,r=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||r){r=U.T,U.T=null;var f=F.p;F.p=2;var g=Ne;Ne|=4;try{Op(o,n);var v=Fp,C=Ar(n.containerInfo),_=v.focusedElem,V=v.selectionRange;if(C!==_&&_&&_.ownerDocument&&Es(_.ownerDocument.documentElement,_)){if(V!==null&&Mf(_)){var nt=V.start,ft=V.end;if(ft===void 0&&(ft=nt),"selectionStart"in _)_.selectionStart=nt,_.selectionEnd=Math.min(ft,_.value.length);else{var gt=_.ownerDocument||document,at=gt&&gt.defaultView||window;if(at.getSelection){var ut=at.getSelection(),Ut=_.textContent.length,Pt=Math.min(V.start,Ut),Pe=V.end===void 0?Pt:Math.min(V.end,Ut);!ut.extend&&Pt>Pe&&(C=Pe,Pe=Pt,Pt=C);var J=Gg(_,Pt),Q=Gg(_,Pe);if(J&&Q&&(ut.rangeCount!==1||ut.anchorNode!==J.node||ut.anchorOffset!==J.offset||ut.focusNode!==Q.node||ut.focusOffset!==Q.offset)){var tt=gt.createRange();tt.setStart(J.node,J.offset),ut.removeAllRanges(),Pt>Pe?(ut.addRange(tt),ut.extend(Q.node,Q.offset)):(tt.setEnd(Q.node,Q.offset),ut.addRange(tt))}}}}for(gt=[],ut=_;ut=ut.parentNode;)ut.nodeType===1&&gt.push({element:ut,left:ut.scrollLeft,top:ut.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<gt.length;_++){var pt=gt[_];pt.element.scrollLeft=pt.left,pt.element.scrollTop=pt.top}}Gn=!!Jp,Fp=Jp=null}finally{Ne=g,F.p=f,U.T=r}}n.current=o,qn=2}}function Pb(){if(qn===2){qn=0;var n=Pl,o=Zr,r=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||r){r=U.T,U.T=null;var f=F.p;F.p=2;var g=Ne;Ne|=4;try{ud(n,o.alternate,o)}finally{Ne=g,F.p=f,U.T=r}}qn=3}}function Wb(){if(qn===4||qn===3){qn=0,ss();var n=Pl,o=Zr,r=dl,f=Bp;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?qn=5:(qn=0,Zr=Pl=null,t1(n,n.pendingLanes));var g=n.pendingLanes;if(g===0&&(cn=null),yg(r),o=o.stateNode,Vn&&typeof Vn.onCommitFiberRoot=="function")try{Vn.onCommitFiberRoot(Hi,o,void 0,(o.current.flags&128)===128)}catch{}if(f!==null){o=U.T,g=F.p,F.p=2,U.T=null;try{for(var v=n.onRecoverableError,C=0;C<f.length;C++){var _=f[C];v(_.value,{componentStack:_.stack})}}finally{U.T=o,F.p=g}}(dl&3)!==0&&vc(),pl(n),g=n.pendingLanes,(r&261930)!==0&&(g&42)!==0?n===md?mc++:(mc=0,md=n):mc=0,er(0)}}function t1(n,o){(n.pooledCacheLanes&=o)===0&&(o=n.pooledCache,o!=null&&(n.pooledCache=null,Vf(o)))}function vc(){return Fb(),Pb(),Wb(),e1()}function e1(){if(qn!==5)return!1;var n=Pl,o=ei;ei=0;var r=yg(dl),f=U.T,g=F.p;try{F.p=32>r?32:r,U.T=null,r=Vp,Vp=null;var v=Pl,C=dl;if(qn=0,Zr=Pl=null,dl=0,(Ne&6)!==0)throw Error(c(331));var _=Ne;if(Ne|=4,q0(v.current),fc(v,v.current,C,r),Ne=_,er(0,!1),Vn&&typeof Vn.onPostCommitFiberRoot=="function")try{Vn.onPostCommitFiberRoot(Hi,v)}catch{}return!0}finally{F.p=g,U.T=f,t1(n,o)}}function n1(n,o,r){o=yi(r,o),o=w0(n.stateNode,o,2),n=Si(n,o,2),n!==null&&(yr(n,2),pl(n))}function Ze(n,o,r){if(n.tag===3)n1(n,n,r);else for(;o!==null;){if(o.tag===3){n1(o,n,r);break}else if(o.tag===1){var f=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(cn===null||!cn.has(f))){n=yi(r,n),r=E0(2),f=Si(o,r,2),f!==null&&(T0(r,f,o,n),yr(f,2),pl(f));break}}o=o.return}}function vd(n,o,r){var f=n.pingCache;if(f===null){f=n.pingCache=new G0;var g=new Set;f.set(o,g)}else g=f.get(o),g===void 0&&(g=new Set,f.set(o,g));g.has(r)||(Lp=!0,g.add(r),n=Z0.bind(null,n,o,r),o.then(n,n))}function Z0(n,o,r){var f=n.pingCache;f!==null&&f.delete(o),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,Je===n&&(Se&r)===r&&(nn===4||nn===3&&(Se&62914560)===Se&&300>jn()-To?(Ne&2)===0&&hl(n,0):Np|=r,yn===Se&&(yn=0)),pl(n)}function a1(n,o){o===0&&(o=Sa()),n=Vl(n,o),n!==null&&(yr(n,o),pl(n))}function Ri(n){var o=n.memoizedState,r=0;o!==null&&(r=o.retryLane),a1(n,r)}function i1(n,o){var r=0;switch(n.tag){case 31:case 13:var f=n.stateNode,g=n.memoizedState;g!==null&&(r=g.retryLane);break;case 19:f=n.stateNode;break;case 22:f=n.stateNode._retryCache;break;default:throw Error(c(314))}f!==null&&f.delete(o),a1(n,r)}function o1(n,o){return Vt(n,o)}var bc=null,$s=null,$0=!1,Gp=!1,K0=!1,tr=0;function pl(n){n!==$s&&n.next===null&&($s===null?bc=$s=n:$s=$s.next=n),Gp=!0,$0||($0=!0,xd())}function er(n,o){if(!K0&&Gp){K0=!0;do for(var r=!1,f=bc;f!==null;){if(n!==0){var g=f.pendingLanes;if(g===0)var v=0;else{var C=f.suspendedLanes,_=f.pingedLanes;v=(1<<31-Jn(42|n)+1)-1,v&=g&~(C&~_),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(r=!0,Ks(f,v))}else v=Se,v=Xt(f,f===Je?v:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(v&3)===0||xe(f,v)||(r=!0,Ks(f,v));f=f.next}while(r);K0=!1}}function Xp(){I0()}function I0(){Gp=$0=!1;var n=0;tr!==0&&Cw()&&(n=tr);for(var o=jn(),r=null,f=bc;f!==null;){var g=f.next,v=J0(f,o);v===0?(f.next=null,r===null?bc=g:r.next=g,g===null&&($s=r)):(r=f,(n!==0||(v&3)!==0)&&(Gp=!0)),f=g}qn!==0&&qn!==5||er(n),tr!==0&&(tr=0)}function J0(n,o){for(var r=n.suspendedLanes,f=n.pingedLanes,g=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var C=31-Jn(v),_=1<<C,V=g[C];V===-1?((_&r)===0||(_&f)!==0)&&(g[C]=ue(_,o)):V<=o&&(n.expiredLanes|=_),v&=~_}if(o=Je,r=Se,r=Xt(n,n===o?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f=n.callbackNode,r===0||n===o&&(Qe===2||Qe===9)||n.cancelPendingCommit!==null)return f!==null&&f!==null&&mr(f),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||xe(n,r)){if(o=r&-r,o===n.callbackPriority)return o;switch(f!==null&&mr(f),yg(r)){case 2:case 8:r=Cu;break;case 32:r=ao;break;case 268435456:r=Ru;break;default:r=ao}return f=bd.bind(null,n),r=Vt(r,f),n.callbackPriority=o,n.callbackNode=r,o}return f!==null&&f!==null&&mr(f),n.callbackPriority=2,n.callbackNode=null,2}function bd(n,o){if(qn!==0&&qn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(vc()&&n.callbackNode!==r)return null;var f=Se;return f=Xt(n,n===Je?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f===0?null:(Yb(n,f,o),J0(n,jn()),n.callbackNode!=null&&n.callbackNode===r?bd.bind(null,n):null)}function Ks(n,o){if(vc())return null;Yb(n,o,!0)}function xd(){h1(function(){(Ne&6)!==0?Vt(Au,Xp):I0()})}function Qp(){if(tr===0){var n=Mr;n===0&&(n=wt,wt<<=1,(wt&261888)===0&&(wt=256)),tr=n}return tr}function l1(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Bi(""+n)}function Is(n,o){var r=o.ownerDocument.createElement("input");return r.name=o.name,r.value=o.value,n.id&&r.setAttribute("form",n.id),o.parentNode.insertBefore(r,o),n=new FormData(n),r.parentNode.removeChild(r),n}function Sd(n,o,r,f,g){if(o==="submit"&&r&&r.stateNode===g){var v=l1((g[Oa]||null).action),C=f.submitter;C&&(o=(o=C[Oa]||null)?l1(o.formAction):C.getAttribute("formAction"),o!==null&&(v=o,C=null));var _=new Cf("action","action",null,f,g);n.push({event:_,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(tr!==0){var V=C?Is(g,C):new FormData(g);ac(r,{pending:!0,data:V,method:g.method,action:v},null,V)}}else typeof v=="function"&&(_.preventDefault(),V=C?Is(g,C):new FormData(g),ac(r,{pending:!0,data:V,method:g.method,action:v},v,V))},currentTarget:g}]})}}for(var Zp=0;Zp<qu.length;Zp++){var xc=qu[Zp],F0=xc.toLowerCase(),P0=xc[0].toUpperCase()+xc.slice(1);ka(F0,"on"+P0)}ka(Of,"onAnimationEnd"),ka(Xg,"onAnimationIteration"),ka(Zh,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(Ts,"onTransitionRun"),ka(_f,"onTransitionStart"),ka(Ko,"onTransitionCancel"),ka(yb,"onTransitionEnd"),Go("onMouseEnter",["mouseout","mouseover"]),Go("onMouseLeave",["mouseout","mouseover"]),Go("onPointerEnter",["pointerout","pointerover"]),Go("onPointerLeave",["pointerout","pointerover"]),xr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xr("onBeforeInput",["compositionend","keypress","textInput","paste"]),xr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sc="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(" "),r1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sc));function s1(n,o){o=(o&4)!==0;for(var r=0;r<n.length;r++){var f=n[r],g=f.event;f=f.listeners;t:{var v=void 0;if(o)for(var C=f.length-1;0<=C;C--){var _=f[C],V=_.instance,nt=_.currentTarget;if(_=_.listener,V!==v&&g.isPropagationStopped())break t;v=_,g.currentTarget=nt;try{v(g)}catch(ft){As(ft)}g.currentTarget=null,v=V}else for(C=0;C<f.length;C++){if(_=f[C],V=_.instance,nt=_.currentTarget,_=_.listener,V!==v&&g.isPropagationStopped())break t;v=_,g.currentTarget=nt;try{v(g)}catch(ft){As(ft)}g.currentTarget=null,v=V}}}}function Ee(n,o){var r=o[Ah];r===void 0&&(r=o[Ah]=new Set);var f=n+"__bubble";r.has(f)||(wd(o,n,2,!1),r.add(f))}function W0(n,o,r){var f=0;o&&(f|=4),wd(r,n,f,o)}var $p="_reactListening"+Math.random().toString(36).slice(2);function wc(n){if(!n[$p]){n[$p]=!0,hs.forEach(function(r){r!=="selectionchange"&&(r1.has(r)||W0(r,!1,n),W0(r,!0,n))});var o=n.nodeType===9?n:n.ownerDocument;o===null||o[$p]||(o[$p]=!0,W0("selectionchange",!1,o))}}function wd(n,o,r,f){switch(Od(o)){case 2:var g=gl;break;case 8:g=yl;break;default:g=ga}r=g.bind(null,o,r,n),g=void 0,!Tf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(g=!0),f?g!==void 0?n.addEventListener(o,r,{capture:!0,passive:g}):n.addEventListener(o,r,!0):g!==void 0?n.addEventListener(o,r,{passive:g}):n.addEventListener(o,r,!1)}function ty(n,o,r,f,g){var v=f;if((o&1)===0&&(o&2)===0&&f!==null)t:for(;;){if(f===null)return;var C=f.tag;if(C===3||C===4){var _=f.stateNode.containerInfo;if(_===g)break;if(C===4)for(C=f.return;C!==null;){var V=C.tag;if((V===3||V===4)&&C.stateNode.containerInfo===g)return;C=C.return}for(;_!==null;){if(C=cs(_),C===null)return;if(V=C.tag,V===5||V===6||V===26||V===27){f=v=C;continue t}_=_.parentNode}}f=f.return}Cg(function(){var nt=v,ft=kh(r),gt=[];t:{var at=Io.get(n);if(at!==void 0){var ut=Cf,Ut=n;switch(n){case"keypress":if(Uh(r)===0)break t;case"keydown":case"keyup":ut=Vh;break;case"focusin":Ut="focus",ut=Nh;break;case"focusout":Ut="blur",ut=Nh;break;case"beforeblur":case"afterblur":ut=Nh;break;case"click":if(r.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ut=Nu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ut=ob;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ut=cb;break;case Of:case Xg:case Zh:ut=rb;break;case yb:ut=xw;break;case"scroll":case"scrollend":ut=vw;break;case"wheel":ut=Sw;break;case"copy":case"cut":case"paste":ut=ys;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ut=so;break;case"toggle":case"beforetoggle":ut=Ug}var Pt=(o&4)!==0,Pe=!Pt&&(n==="scroll"||n==="scrollend"),J=Pt?at!==null?at+"Capture":null:at;Pt=[];for(var Q=nt,tt;Q!==null;){var pt=Q;if(tt=pt.stateNode,pt=pt.tag,pt!==5&&pt!==26&&pt!==27||tt===null||J===null||(pt=Fn(Q,J),pt!=null&&Pt.push(Ed(Q,pt,tt))),Pe)break;Q=Q.return}0<Pt.length&&(at=new ut(at,Ut,null,r,ft),gt.push({event:at,listeners:Pt}))}}if((o&7)===0){t:{if(at=n==="mouseover"||n==="pointerover",ut=n==="mouseout"||n==="pointerout",at&&r!==_h&&(Ut=r.relatedTarget||r.fromElement)&&(cs(Ut)||Ut[vr]))break t;if((ut||at)&&(at=ft.window===ft?ft:(at=ft.ownerDocument)?at.defaultView||at.parentWindow:window,ut?(Ut=r.relatedTarget||r.toElement,ut=nt,Ut=Ut?cs(Ut):null,Ut!==null&&(Pe=m(Ut),Pt=Ut.tag,Ut!==Pe||Pt!==5&&Pt!==27&&Pt!==6)&&(Ut=null)):(ut=null,Ut=nt),ut!==Ut)){if(Pt=Nu,pt="onMouseLeave",J="onMouseEnter",Q="mouse",(n==="pointerout"||n==="pointerover")&&(Pt=so,pt="onPointerLeave",J="onPointerEnter",Q="pointer"),Pe=ut==null?at:Mu(ut),tt=Ut==null?at:Mu(Ut),at=new Pt(pt,Q+"leave",ut,r,ft),at.target=Pe,at.relatedTarget=tt,pt=null,cs(ft)===nt&&(Pt=new Pt(J,Q+"enter",Ut,r,ft),Pt.target=tt,Pt.relatedTarget=Pe,pt=Pt),Pe=pt,ut&&Ut)e:{for(Pt=u1,J=ut,Q=Ut,tt=0,pt=J;pt;pt=Pt(pt))tt++;pt=0;for(var Kt=Q;Kt;Kt=Pt(Kt))pt++;for(;0<tt-pt;)J=Pt(J),tt--;for(;0<pt-tt;)Q=Pt(Q),pt--;for(;tt--;){if(J===Q||Q!==null&&J===Q.alternate){Pt=J;break e}J=Pt(J),Q=Pt(Q)}Pt=null}else Pt=null;ut!==null&&Kp(gt,at,ut,Pt,!1),Ut!==null&&Pe!==null&&Kp(gt,Pe,Ut,Pt,!0)}}t:{if(at=nt?Mu(nt):window,ut=at.nodeName&&at.nodeName.toLowerCase(),ut==="select"||ut==="input"&&at.type==="file")var je=Bg;else if($o(at))if(qh)je=ws;else{je=mb;var Qt=pb}else ut=at.nodeName,!ut||ut.toLowerCase()!=="input"||at.type!=="checkbox"&&at.type!=="radio"?nt&&Ag(nt.elementType)&&(je=Bg):je=Tr;if(je&&(je=je(n,nt))){Vg(gt,je,r,ft);break t}Qt&&Qt(n,at,nt),n==="focusout"&&nt&&at.type==="number"&&nt.memoizedProps.value!=null&&ps(at,"number",at.value)}switch(Qt=nt?Mu(nt):window,n){case"focusin":($o(Qt)||Qt.contentEditable==="true")&&(Cr=Qt,Bu=nt,Gi=null);break;case"focusout":Gi=Bu=Cr=null;break;case"mousedown":co=!0;break;case"contextmenu":case"mouseup":case"dragend":co=!1,Qh(gt,r,ft);break;case"selectionchange":if(zf)break;case"keydown":case"keyup":Qh(gt,r,ft)}var ce;if(Hu)t:{switch(n){case"compositionstart":var pe="onCompositionStart";break t;case"compositionend":pe="onCompositionEnd";break t;case"compositionupdate":pe="onCompositionUpdate";break t}pe=void 0}else bs?Yh(n,r)&&(pe="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(pe="onCompositionStart");pe&&(Lg&&r.locale!=="ko"&&(bs||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&bs&&(ce=Dg()):(Nl=ft,Rg="value"in Nl?Nl.value:Nl.textContent,bs=!0)),Qt=Td(nt,pe),0<Qt.length&&(pe=new sb(pe,n,null,r,ft),gt.push({event:pe,listeners:Qt}),ce?pe.data=ce:(ce=Ng(r),ce!==null&&(pe.data=ce)))),(ce=wa?hb(n,r):ww(n,r))&&(pe=Td(nt,"onBeforeInput"),0<pe.length&&(Qt=new sb("onBeforeInput","beforeinput",null,r,ft),gt.push({event:Qt,listeners:pe}),Qt.data=ce)),Sd(gt,n,nt,r,ft)}s1(gt,o)})}function Ed(n,o,r){return{instance:n,listener:o,currentTarget:r}}function Td(n,o){for(var r=o+"Capture",f=[];n!==null;){var g=n,v=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||v===null||(g=Fn(n,r),g!=null&&f.unshift(Ed(n,g,v)),g=Fn(n,o),g!=null&&f.push(Ed(n,g,v))),n.tag===3)return f;n=n.return}return[]}function u1(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Kp(n,o,r,f,g){for(var v=o._reactName,C=[];r!==null&&r!==f;){var _=r,V=_.alternate,nt=_.stateNode;if(_=_.tag,V!==null&&V===f)break;_!==5&&_!==26&&_!==27||nt===null||(V=nt,g?(nt=Fn(r,v),nt!=null&&C.unshift(Ed(r,nt,V))):g||(nt=Fn(r,v),nt!=null&&C.push(Ed(r,nt,V)))),r=r.return}C.length!==0&&n.push({event:o,listeners:C})}var c1=/\r\n?/g,ey=/\u0000|\uFFFD/g;function ny(n){return(typeof n=="string"?n:""+n).replace(c1,`
30
- `).replace(ey,"")}function ay(n,o){return o=ny(o),ny(n)===o}function Fe(n,o,r,f,g,v){switch(r){case"children":typeof f=="string"?o==="body"||o==="textarea"&&f===""||Xo(n,f):(typeof f=="number"||typeof f=="bigint")&&o!=="body"&&Xo(n,""+f);break;case"className":Mh(n,"class",f);break;case"tabIndex":Mh(n,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Mh(n,r,f);break;case"style":nb(n,f,v);break;case"data":if(o!=="object"){Mh(n,"data",f);break}case"src":case"href":if(f===""&&(o!=="a"||r!=="href")){n.removeAttribute(r);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Bi(""+f),n.setAttribute(r,f);break;case"action":case"formAction":if(typeof f=="function"){n.setAttribute(r,"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 v=="function"&&(r==="formAction"?(o!=="input"&&Fe(n,o,"name",g.name,g,null),Fe(n,o,"formEncType",g.formEncType,g,null),Fe(n,o,"formMethod",g.formMethod,g,null),Fe(n,o,"formTarget",g.formTarget,g,null)):(Fe(n,o,"encType",g.encType,g,null),Fe(n,o,"method",g.method,g,null),Fe(n,o,"target",g.target,g,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Bi(""+f),n.setAttribute(r,f);break;case"onClick":f!=null&&(n.onclick=oo);break;case"onScroll":f!=null&&Ee("scroll",n);break;case"onScrollEnd":f!=null&&Ee("scrollend",n);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(c(61));if(r=f.__html,r!=null){if(g.children!=null)throw Error(c(60));n.innerHTML=r}}break;case"multiple":n.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":n.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){n.removeAttribute("xlink:href");break}r=Bi(""+f),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""+f):n.removeAttribute(r);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":f&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":f===!0?n.setAttribute(r,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,f):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?n.setAttribute(r,f):n.removeAttribute(r);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?n.removeAttribute(r):n.setAttribute(r,f);break;case"popover":Ee("beforetoggle",n),Ee("toggle",n),_u(n,"popover",f);break;case"xlinkActuate":Ul(n,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":Ul(n,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":Ul(n,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":Ul(n,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":Ul(n,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":Ul(n,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":Ul(n,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":Ul(n,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":Ul(n,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":_u(n,"is",f);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=yw.get(r)||r,_u(n,r,f))}}function iy(n,o,r,f,g,v){switch(r){case"style":nb(n,f,v);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(c(61));if(r=f.__html,r!=null){if(g.children!=null)throw Error(c(60));n.innerHTML=r}}break;case"children":typeof f=="string"?Xo(n,f):(typeof f=="number"||typeof f=="bigint")&&Xo(n,""+f);break;case"onScroll":f!=null&&Ee("scroll",n);break;case"onScrollEnd":f!=null&&Ee("scrollend",n);break;case"onClick":f!=null&&(n.onclick=oo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!br.hasOwnProperty(r))t:{if(r[0]==="o"&&r[1]==="n"&&(g=r.endsWith("Capture"),o=r.slice(2,g?r.length-7:void 0),v=n[Oa]||null,v=v!=null?v[r]:null,typeof v=="function"&&n.removeEventListener(o,v,g),typeof f=="function")){typeof v!="function"&&v!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(o,f,g);break t}r in n?n[r]=f:f===!0?n.setAttribute(r,""):_u(n,r,f)}}}function ma(n,o,r){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",n),Ee("load",n);var f=!1,g=!1,v;for(v in r)if(r.hasOwnProperty(v)){var C=r[v];if(C!=null)switch(v){case"src":f=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,o));default:Fe(n,o,v,C,r,null)}}g&&Fe(n,o,"srcSet",r.srcSet,r,null),f&&Fe(n,o,"src",r.src,r,null);return;case"input":Ee("invalid",n);var _=v=C=g=null,V=null,nt=null;for(f in r)if(r.hasOwnProperty(f)){var ft=r[f];if(ft!=null)switch(f){case"name":g=ft;break;case"type":C=ft;break;case"checked":V=ft;break;case"defaultChecked":nt=ft;break;case"value":v=ft;break;case"defaultValue":_=ft;break;case"children":case"dangerouslySetInnerHTML":if(ft!=null)throw Error(c(137,o));break;default:Fe(n,o,f,ft,r,null)}}Sf(n,v,_,V,nt,C,g,!1);return;case"select":Ee("invalid",n),f=C=v=null;for(g in r)if(r.hasOwnProperty(g)&&(_=r[g],_!=null))switch(g){case"value":v=_;break;case"defaultValue":C=_;break;case"multiple":f=_;default:Fe(n,o,g,_,r,null)}o=v,r=C,n.multiple=!!f,o!=null?ku(n,!!f,o,!1):r!=null&&ku(n,!!f,r,!0);return;case"textarea":Ee("invalid",n),v=g=f=null;for(C in r)if(r.hasOwnProperty(C)&&(_=r[C],_!=null))switch(C){case"value":f=_;break;case"defaultValue":g=_;break;case"children":v=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(c(91));break;default:Fe(n,o,C,_,r,null)}Tg(n,f,g,v);return;case"option":for(V in r)r.hasOwnProperty(V)&&(f=r[V],f!=null)&&(V==="selected"?n.selected=f&&typeof f!="function"&&typeof f!="symbol":Fe(n,o,V,f,r,null));return;case"dialog":Ee("beforetoggle",n),Ee("toggle",n),Ee("cancel",n),Ee("close",n);break;case"iframe":case"object":Ee("load",n);break;case"video":case"audio":for(f=0;f<Sc.length;f++)Ee(Sc[f],n);break;case"image":Ee("error",n),Ee("load",n);break;case"details":Ee("toggle",n);break;case"embed":case"source":case"link":Ee("error",n),Ee("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(nt in r)if(r.hasOwnProperty(nt)&&(f=r[nt],f!=null))switch(nt){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,o));default:Fe(n,o,nt,f,r,null)}return;default:if(Ag(o)){for(ft in r)r.hasOwnProperty(ft)&&(f=r[ft],f!==void 0&&iy(n,o,ft,f,r,void 0));return}}for(_ in r)r.hasOwnProperty(_)&&(f=r[_],f!=null&&Fe(n,o,_,f,r,null))}function oy(n,o,r,f){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,v=null,C=null,_=null,V=null,nt=null,ft=null;for(ut in r){var gt=r[ut];if(r.hasOwnProperty(ut)&&gt!=null)switch(ut){case"checked":break;case"value":break;case"defaultValue":V=gt;default:f.hasOwnProperty(ut)||Fe(n,o,ut,null,f,gt)}}for(var at in f){var ut=f[at];if(gt=r[at],f.hasOwnProperty(at)&&(ut!=null||gt!=null))switch(at){case"type":v=ut;break;case"name":g=ut;break;case"checked":nt=ut;break;case"defaultChecked":ft=ut;break;case"value":C=ut;break;case"defaultValue":_=ut;break;case"children":case"dangerouslySetInnerHTML":if(ut!=null)throw Error(c(137,o));break;default:ut!==gt&&Fe(n,o,at,ut,f,gt)}}xf(n,C,_,V,nt,ft,v,g);return;case"select":ut=C=_=at=null;for(v in r)if(V=r[v],r.hasOwnProperty(v)&&V!=null)switch(v){case"value":break;case"multiple":ut=V;default:f.hasOwnProperty(v)||Fe(n,o,v,null,f,V)}for(g in f)if(v=f[g],V=r[g],f.hasOwnProperty(g)&&(v!=null||V!=null))switch(g){case"value":at=v;break;case"defaultValue":_=v;break;case"multiple":C=v;default:v!==V&&Fe(n,o,g,v,f,V)}o=_,r=C,f=ut,at!=null?ku(n,!!r,at,!1):!!f!=!!r&&(o!=null?ku(n,!!r,o,!0):ku(n,!!r,r?[]:"",!1));return;case"textarea":ut=at=null;for(_ in r)if(g=r[_],r.hasOwnProperty(_)&&g!=null&&!f.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Fe(n,o,_,null,f,g)}for(C in f)if(g=f[C],v=r[C],f.hasOwnProperty(C)&&(g!=null||v!=null))switch(C){case"value":at=g;break;case"defaultValue":ut=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(c(91));break;default:g!==v&&Fe(n,o,C,g,f,v)}Eg(n,at,ut);return;case"option":for(var Ut in r)at=r[Ut],r.hasOwnProperty(Ut)&&at!=null&&!f.hasOwnProperty(Ut)&&(Ut==="selected"?n.selected=!1:Fe(n,o,Ut,null,f,at));for(V in f)at=f[V],ut=r[V],f.hasOwnProperty(V)&&at!==ut&&(at!=null||ut!=null)&&(V==="selected"?n.selected=at&&typeof at!="function"&&typeof at!="symbol":Fe(n,o,V,at,f,ut));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 Pt in r)at=r[Pt],r.hasOwnProperty(Pt)&&at!=null&&!f.hasOwnProperty(Pt)&&Fe(n,o,Pt,null,f,at);for(nt in f)if(at=f[nt],ut=r[nt],f.hasOwnProperty(nt)&&at!==ut&&(at!=null||ut!=null))switch(nt){case"children":case"dangerouslySetInnerHTML":if(at!=null)throw Error(c(137,o));break;default:Fe(n,o,nt,at,f,ut)}return;default:if(Ag(o)){for(var Pe in r)at=r[Pe],r.hasOwnProperty(Pe)&&at!==void 0&&!f.hasOwnProperty(Pe)&&iy(n,o,Pe,void 0,f,at);for(ft in f)at=f[ft],ut=r[ft],!f.hasOwnProperty(ft)||at===ut||at===void 0&&ut===void 0||iy(n,o,ft,at,f,ut);return}}for(var J in r)at=r[J],r.hasOwnProperty(J)&&at!=null&&!f.hasOwnProperty(J)&&Fe(n,o,J,null,f,at);for(gt in f)at=f[gt],ut=r[gt],!f.hasOwnProperty(gt)||at===ut||at==null&&ut==null||Fe(n,o,gt,at,f,ut)}function Ip(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ly(){if(typeof performance.getEntriesByType=="function"){for(var n=0,o=0,r=performance.getEntriesByType("resource"),f=0;f<r.length;f++){var g=r[f],v=g.transferSize,C=g.initiatorType,_=g.duration;if(v&&_&&Ip(C)){for(C=0,_=g.responseEnd,f+=1;f<r.length;f++){var V=r[f],nt=V.startTime;if(nt>_)break;var ft=V.transferSize,gt=V.initiatorType;ft&&Ip(gt)&&(V=V.responseEnd,C+=ft*(V<_?1:(_-nt)/(V-nt)))}if(--f,o+=8*(v+C)/(g.duration/1e3),n++,10<n)break}}if(0<n)return o/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Jp=null,Fp=null;function Kr(n){return n.nodeType===9?n:n.ownerDocument}function f1(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 ry(n,o){if(n===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&o==="foreignObject"?0:n}function Ec(n,o){return n==="textarea"||n==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Pp=null;function Cw(){var n=window.event;return n&&n.type==="popstate"?n===Pp?!1:(Pp=n,!0):(Pp=null,!1)}var Ad=typeof setTimeout=="function"?setTimeout:void 0,d1=typeof clearTimeout=="function"?clearTimeout:void 0,Js=typeof Promise=="function"?Promise:void 0,h1=typeof queueMicrotask=="function"?queueMicrotask:typeof Js<"u"?function(n){return Js.resolve(null).then(n).catch(sy)}:Ad;function sy(n){setTimeout(function(){throw n})}function Ao(n){return n==="head"}function uy(n,o){var r=o,f=0;do{var g=r.nextSibling;if(n.removeChild(r),g&&g.nodeType===8)if(r=g.data,r==="/$"||r==="/&"){if(f===0){n.removeChild(g),Uc(o);return}f--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")f++;else if(r==="html")Fs(n.ownerDocument.documentElement);else if(r==="head"){r=n.ownerDocument.head,Fs(r);for(var v=r.firstChild;v;){var C=v.nextSibling,_=v.nodeName;v[qo]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&v.rel.toLowerCase()==="stylesheet"||r.removeChild(v),v=C}}else r==="body"&&Fs(n.ownerDocument.body);r=g}while(r);Uc(o)}function On(n,o){var r=n;n=0;do{var f=r.nextSibling;if(r.nodeType===1?o?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(o?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),f&&f.nodeType===8)if(r=f.data,r==="/$"){if(n===0)break;n--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||n++;r=f}while(r)}function Cd(n){var o=n.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var r=o;switch(o=o.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Cd(r),Ch(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function Rw(n,o,r,f){for(;n.nodeType===1;){var g=r;if(n.nodeName.toLowerCase()!==o.toLowerCase()){if(!f&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(f){if(!n[qo])switch(o){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==g.rel||n.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||n.getAttribute("title")!==(g.title==null?null:g.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(g.src==null?null:g.src)||n.getAttribute("type")!==(g.type==null?null:g.type)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(o==="input"&&n.type==="hidden"){var v=g.name==null?null:""+g.name;if(g.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Qa(n.nextSibling),n===null)break}return null}function ge(n,o,r){if(o==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=Qa(n.nextSibling),n===null))return null;return n}function p1(n,o){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=Qa(n.nextSibling),n===null))return null;return n}function Fi(n){return n.data==="$?"||n.data==="$~"}function Ir(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Tc(n,o){var r=n.ownerDocument;if(n.data==="$~")n._reactRetry=o;else if(n.data!=="$?"||r.readyState!=="loading")o();else{var f=function(){o(),r.removeEventListener("DOMContentLoaded",f)};r.addEventListener("DOMContentLoaded",f),n._reactRetry=f}}function Qa(n){for(;n!=null;n=n.nextSibling){var o=n.nodeType;if(o===1||o===3)break;if(o===8){if(o=n.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return n}var Rd=null;function Wp(n){n=n.nextSibling;for(var o=0;n;){if(n.nodeType===8){var r=n.data;if(r==="/$"||r==="/&"){if(o===0)return Qa(n.nextSibling);o--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||o++}n=n.nextSibling}return null}function Co(n){n=n.previousSibling;for(var o=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(o===0)return n;o--}else r!=="/$"&&r!=="/&"||o++}n=n.previousSibling}return null}function Ac(n,o,r){switch(o=Kr(r),n){case"html":if(n=o.documentElement,!n)throw Error(c(452));return n;case"head":if(n=o.head,!n)throw Error(c(453));return n;case"body":if(n=o.body,!n)throw Error(c(454));return n;default:throw Error(c(451))}}function Fs(n){for(var o=n.attributes;o.length;)n.removeAttributeNode(o[0]);Ch(n)}var ai=new Map,Dd=new Set;function Aa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Ro=F.d;F.d={f:Dw,r:m1,D:st,C:Ye,L:Mw,m:cy,X:nr,S:fy,M:Jr};function Dw(){var n=Ro.f(),o=gc();return n||o}function m1(n){var o=fs(n);o!==null&&o.tag===5&&o.type==="form"?Ie(o):Ro.r(n)}var Cc=typeof document>"u"?null:document;function Nn(n,o,r){var f=Cc;if(f&&typeof o=="string"&&o){var g=pi(o);g='link[rel="'+n+'"][href="'+g+'"]',typeof r=="string"&&(g+='[crossorigin="'+r+'"]'),Dd.has(g)||(Dd.add(g),n={rel:n,crossOrigin:r,href:o},f.querySelector(g)===null&&(o=f.createElement("link"),ma(o,"link",n),qe(o),f.head.appendChild(o)))}}function st(n){Ro.D(n),Nn("dns-prefetch",n,null)}function Ye(n,o){Ro.C(n,o),Nn("preconnect",n,o)}function Mw(n,o,r){Ro.L(n,o,r);var f=Cc;if(f&&n&&o){var g='link[rel="preload"][as="'+pi(o)+'"]';o==="image"&&r&&r.imageSrcSet?(g+='[imagesrcset="'+pi(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(g+='[imagesizes="'+pi(r.imageSizes)+'"]')):g+='[href="'+pi(n)+'"]';var v=g;switch(o){case"style":v=Di(n);break;case"script":v=Ps(n)}ai.has(v)||(n=A({rel:"preload",href:o==="image"&&r&&r.imageSrcSet?void 0:n,as:o},r),ai.set(v,n),f.querySelector(g)!==null||o==="style"&&f.querySelector(Fr(v))||o==="script"&&f.querySelector(Mc(v))||(o=f.createElement("link"),ma(o,"link",n),qe(o),f.head.appendChild(o)))}}function cy(n,o){Ro.m(n,o);var r=Cc;if(r&&n){var f=o&&typeof o.as=="string"?o.as:"script",g='link[rel="modulepreload"][as="'+pi(f)+'"][href="'+pi(n)+'"]',v=g;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Ps(n)}if(!ai.has(v)&&(n=A({rel:"modulepreload",href:n},o),ai.set(v,n),r.querySelector(g)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Mc(v)))return}f=r.createElement("link"),ma(f,"link",n),qe(f),r.head.appendChild(f)}}}function fy(n,o,r){Ro.S(n,o,r);var f=Cc;if(f&&n){var g=ds(f).hoistableStyles,v=Di(n);o=o||"default";var C=g.get(v);if(!C){var _={loading:0,preload:null};if(C=f.querySelector(Fr(v)))_.loading=5;else{n=A({rel:"stylesheet",href:n,"data-precedence":o},r),(r=ai.get(v))&&tm(n,r);var V=C=f.createElement("link");qe(V),ma(V,"link",n),V._p=new Promise(function(nt,ft){V.onload=nt,V.onerror=ft}),V.addEventListener("load",function(){_.loading|=1}),V.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Md(C,o,f)}C={type:"stylesheet",instance:C,count:1,state:_},g.set(v,C)}}}function nr(n,o){Ro.X(n,o);var r=Cc;if(r&&n){var f=ds(r).hoistableScripts,g=Ps(n),v=f.get(g);v||(v=r.querySelector(Mc(g)),v||(n=A({src:n,async:!0},o),(o=ai.get(g))&&em(n,o),v=r.createElement("script"),qe(v),ma(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(g,v))}}function Jr(n,o){Ro.M(n,o);var r=Cc;if(r&&n){var f=ds(r).hoistableScripts,g=Ps(n),v=f.get(g);v||(v=r.querySelector(Mc(g)),v||(n=A({src:n,async:!0,type:"module"},o),(o=ai.get(g))&&em(n,o),v=r.createElement("script"),qe(v),ma(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(g,v))}}function Rc(n,o,r,f){var g=(g=ae.current)?Aa(g):null;if(!g)throw Error(c(446));switch(n){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(o=Di(r.href),r=ds(g).hoistableStyles,f=r.get(o),f||(f={type:"style",instance:null,count:0,state:null},r.set(o,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=Di(r.href);var v=ds(g).hoistableStyles,C=v.get(n);if(C||(g=g.ownerDocument||g,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,C),(v=g.querySelector(Fr(n)))&&!v._p&&(C.instance=v,C.state.loading=5),ai.has(n)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},ai.set(n,r),v||g1(g,n,r,C.state))),o&&f===null)throw Error(c(528,""));return C}if(o&&f!==null)throw Error(c(529,""));return null;case"script":return o=r.async,r=r.src,typeof r=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=Ps(r),r=ds(g).hoistableScripts,f=r.get(o),f||(f={type:"script",instance:null,count:0,state:null},r.set(o,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,n))}}function Di(n){return'href="'+pi(n)+'"'}function Fr(n){return'link[rel="stylesheet"]['+n+"]"}function Dc(n){return A({},n,{"data-precedence":n.precedence,precedence:null})}function g1(n,o,r,f){n.querySelector('link[rel="preload"][as="style"]['+o+"]")?f.loading=1:(o=n.createElement("link"),f.preload=o,o.addEventListener("load",function(){return f.loading|=1}),o.addEventListener("error",function(){return f.loading|=2}),ma(o,"link",r),qe(o),n.head.appendChild(o))}function Ps(n){return'[src="'+pi(n)+'"]'}function Mc(n){return"script[async]"+n}function dy(n,o,r){if(o.count++,o.instance===null)switch(o.type){case"style":var f=n.querySelector('style[data-href~="'+pi(r.href)+'"]');if(f)return o.instance=f,qe(f),f;var g=A({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return f=(n.ownerDocument||n).createElement("style"),qe(f),ma(f,"style",g),Md(f,r.precedence,n),o.instance=f;case"stylesheet":g=Di(r.href);var v=n.querySelector(Fr(g));if(v)return o.state.loading|=4,o.instance=v,qe(v),v;f=Dc(r),(g=ai.get(g))&&tm(f,g),v=(n.ownerDocument||n).createElement("link"),qe(v);var C=v;return C._p=new Promise(function(_,V){C.onload=_,C.onerror=V}),ma(v,"link",f),o.state.loading|=4,Md(v,r.precedence,n),o.instance=v;case"script":return v=Ps(r.src),(g=n.querySelector(Mc(v)))?(o.instance=g,qe(g),g):(f=r,(g=ai.get(v))&&(f=A({},r),em(f,g)),n=n.ownerDocument||n,g=n.createElement("script"),qe(g),ma(g,"link",f),n.head.appendChild(g),o.instance=g);case"void":return null;default:throw Error(c(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(f=o.instance,o.state.loading|=4,Md(f,r.precedence,n));return o.instance}function Md(n,o,r){for(var f=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=f.length?f[f.length-1]:null,v=g,C=0;C<f.length;C++){var _=f[C];if(_.dataset.precedence===o)v=_;else if(v!==g)break}v?v.parentNode.insertBefore(n,v.nextSibling):(o=r.nodeType===9?r.head:r,o.insertBefore(n,o.firstChild))}function tm(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.title==null&&(n.title=o.title)}function em(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.integrity==null&&(n.integrity=o.integrity)}var zc=null;function hy(n,o,r){if(zc===null){var f=new Map,g=zc=new Map;g.set(r,f)}else g=zc,f=g.get(r),f||(f=new Map,g.set(r,f));if(f.has(n))return f;for(f.set(n,null),r=r.getElementsByTagName(n),g=0;g<r.length;g++){var v=r[g];if(!(v[qo]||v[Ke]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var C=v.getAttribute(o)||"";C=n+C;var _=f.get(C);_?_.push(v):f.set(C,[v])}}return f}function nm(n,o,r){n=n.ownerDocument||n,n.head.insertBefore(r,o==="title"?n.querySelector("head > title"):null)}function py(n,o,r){if(r===1||o.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;return o.rel==="stylesheet"?(n=o.disabled,typeof o.precedence=="string"&&n==null):!0;case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function ii(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function ml(n,o,r,f){if(r.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var g=Di(f.href),v=o.querySelector(Fr(g));if(v){o=v._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n.count++,n=am.bind(n),o.then(n,n)),r.state.loading|=4,r.instance=v,qe(v);return}v=o.ownerDocument||o,f=Dc(f),(g=ai.get(g))&&tm(f,g),v=v.createElement("link"),qe(v);var C=v;C._p=new Promise(function(_,V){C.onload=_,C.onerror=V}),ma(v,"link",f),r.instance=v}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(r,o),(o=r.state.preload)&&(r.state.loading&3)===0&&(n.count++,r=am.bind(n),o.addEventListener("load",r),o.addEventListener("error",r))}}var Mi=0;function my(n,o){return n.stylesheets&&n.count===0&&om(n,n.stylesheets),0<n.count||0<n.imgCount?function(r){var f=setTimeout(function(){if(n.stylesheets&&om(n,n.stylesheets),n.unsuspend){var v=n.unsuspend;n.unsuspend=null,v()}},6e4+o);0<n.imgBytes&&Mi===0&&(Mi=62500*ly());var g=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&om(n,n.stylesheets),n.unsuspend)){var v=n.unsuspend;n.unsuspend=null,v()}},(n.imgBytes>Mi?50:800)+o);return n.unsuspend=r,function(){n.unsuspend=null,clearTimeout(f),clearTimeout(g)}}:null}function am(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)om(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var im=null;function om(n,o){n.stylesheets=null,n.unsuspend!==null&&(n.count++,im=new Map,o.forEach(ia,n),im=null,am.call(n))}function ia(n,o){if(!(o.state.loading&4)){var r=im.get(n);if(r)var f=r.get(null);else{r=new Map,im.set(n,r);for(var g=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<g.length;v++){var C=g[v];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(r.set(C.dataset.precedence,C),f=C)}f&&r.set(null,f)}g=o.instance,C=g.getAttribute("data-precedence"),v=r.get(C)||f,v===f&&r.set(null,g),r.set(C,g),this.count++,f=am.bind(this),g.addEventListener("load",f),g.addEventListener("error",f),v?v.parentNode.insertBefore(g,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(g,n.firstChild)),o.state.loading|=4}}var zd={$$typeof:rt,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function gy(n,o,r,f,g,v,C,_,V){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=Vi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vi(0),this.hiddenUpdates=Vi(null),this.identifierPrefix=f,this.onUncaughtError=g,this.onCaughtError=v,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=V,this.incompleteTransitions=new Map}function lm(n,o,r,f,g,v,C,_,V,nt,ft,gt){return n=new gy(n,o,r,C,V,nt,ft,gt,_),o=1,v===!0&&(o|=24),v=xn(3,null,null,o),n.current=v,v.stateNode=n,o=Hf(),o.refCount++,n.pooledCache=o,o.refCount++,v.memoizedState={element:f,isDehydrated:r,cache:o},Qf(v),n}function Ws(n){return n?(n=ja,n):ja}function y1(n,o,r,f,g,v){g=Ws(g),f.context===null?f.context=g:f.pendingContext=g,f=Zl(o),f.payload={element:r},v=v===void 0?null:v,v!==null&&(f.callback=v),r=Si(n,f,o),r!==null&&(Xa(r,n,o),Ur(r,n,o))}function rm(n,o){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<o?r:o}}function yy(n,o){rm(n,o),(n=n.alternate)&&rm(n,o)}function v1(n){if(n.tag===13||n.tag===31){var o=Vl(n,67108864);o!==null&&Xa(o,n,67108864),yy(n,67108864)}}function tu(n){if(n.tag===13||n.tag===31){var o=ni();o=Eh(o);var r=Vl(n,o);r!==null&&Xa(r,n,o),yy(n,o)}}var Gn=!0;function gl(n,o,r,f){var g=U.T;U.T=null;var v=F.p;try{F.p=2,ga(n,o,r,f)}finally{F.p=v,U.T=g}}function yl(n,o,r,f){var g=U.T;U.T=null;var v=F.p;try{F.p=8,ga(n,o,r,f)}finally{F.p=v,U.T=g}}function ga(n,o,r,f){if(Gn){var g=vy(f);if(g===null)ty(n,o,f,sm,r),ar(n,f);else if(zw(g,n,o,r,f))f.stopPropagation();else if(ar(n,f),o&4&&-1<Za.indexOf(n)){for(;g!==null;){var v=fs(g);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var C=Wt(v.pendingLanes);if(C!==0){var _=v;for(_.pendingLanes|=2,_.entangledLanes|=2;C;){var V=1<<31-Jn(C);_.entanglements[1]|=V,C&=~V}pl(v),(Ne&6)===0&&(Be=jn()+500,er(0))}}break;case 31:case 13:_=Vl(v,2),_!==null&&Xa(_,v,2),gc(),yy(v,2)}if(v=vy(f),v===null&&ty(n,o,f,sm,r),v===g)break;g=v}g!==null&&f.stopPropagation()}else ty(n,o,f,null,r)}}function vy(n){return n=kh(n),Oc(n)}var sm=null;function Oc(n){if(sm=null,n=cs(n),n!==null){var o=m(n);if(o===null)n=null;else{var r=o.tag;if(r===13){if(n=y(o),n!==null)return n;n=null}else if(r===31){if(n=x(o),n!==null)return n;n=null}else if(r===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}return sm=n,null}function Od(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(Sh()){case Au:return 2;case Cu:return 8;case ao:case wh:return 32;case Ru:return 268435456;default:return 32}default:return 32}}var _c=!1,Xn=null,ya=null,Ca=null,Pr=new Map,Pi=new Map,fn=[],Za="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 ar(n,o){switch(n){case"focusin":case"focusout":Xn=null;break;case"dragenter":case"dragleave":ya=null;break;case"mouseover":case"mouseout":Ca=null;break;case"pointerover":case"pointerout":Pr.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pi.delete(o.pointerId)}}function eu(n,o,r,f,g,v){return n===null||n.nativeEvent!==v?(n={blockedOn:o,domEventName:r,eventSystemFlags:f,nativeEvent:v,targetContainers:[g]},o!==null&&(o=fs(o),o!==null&&v1(o)),n):(n.eventSystemFlags|=f,o=n.targetContainers,g!==null&&o.indexOf(g)===-1&&o.push(g),n)}function zw(n,o,r,f,g){switch(o){case"focusin":return Xn=eu(Xn,n,o,r,f,g),!0;case"dragenter":return ya=eu(ya,n,o,r,f,g),!0;case"mouseover":return Ca=eu(Ca,n,o,r,f,g),!0;case"pointerover":var v=g.pointerId;return Pr.set(v,eu(Pr.get(v)||null,n,o,r,f,g)),!0;case"gotpointercapture":return v=g.pointerId,Pi.set(v,eu(Pi.get(v)||null,n,o,r,f,g)),!0}return!1}function b1(n){var o=cs(n.target);if(o!==null){var r=m(o);if(r!==null){if(o=r.tag,o===13){if(o=y(r),o!==null){n.blockedOn=o,vg(n.priority,function(){tu(r)});return}}else if(o===31){if(o=x(r),o!==null){n.blockedOn=o,vg(n.priority,function(){tu(r)});return}}else if(o===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function _d(n){if(n.blockedOn!==null)return!1;for(var o=n.targetContainers;0<o.length;){var r=vy(n.nativeEvent);if(r===null){r=n.nativeEvent;var f=new r.constructor(r.type,r);_h=f,r.target.dispatchEvent(f),_h=null}else return o=fs(r),o!==null&&v1(o),n.blockedOn=r,!1;o.shift()}return!0}function kc(n,o,r){_d(n)&&r.delete(o)}function x1(){_c=!1,Xn!==null&&_d(Xn)&&(Xn=null),ya!==null&&_d(ya)&&(ya=null),Ca!==null&&_d(Ca)&&(Ca=null),Pr.forEach(kc),Pi.forEach(kc)}function vl(n,o){n.blockedOn===o&&(n.blockedOn=null,_c||(_c=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,x1)))}var jc=null;function S1(n){jc!==n&&(jc=n,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){jc===n&&(jc=null);for(var o=0;o<n.length;o+=3){var r=n[o],f=n[o+1],g=n[o+2];if(typeof f!="function"){if(Oc(f||r)===null)continue;break}var v=fs(r);v!==null&&(n.splice(o,3),o-=3,ac(v,{pending:!0,data:g,method:r.method,action:f},f,g))}}))}function Uc(n){function o(V){return vl(V,n)}Xn!==null&&vl(Xn,n),ya!==null&&vl(ya,n),Ca!==null&&vl(Ca,n),Pr.forEach(o),Pi.forEach(o);for(var r=0;r<fn.length;r++){var f=fn[r];f.blockedOn===n&&(f.blockedOn=null)}for(;0<fn.length&&(r=fn[0],r.blockedOn===null);)b1(r),r.blockedOn===null&&fn.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(f=0;f<r.length;f+=3){var g=r[f],v=r[f+1],C=g[Oa]||null;if(typeof v=="function")C||S1(r);else if(C){var _=null;if(v&&v.hasAttribute("formAction")){if(g=v,C=v[Oa]||null)_=C.formAction;else if(Oc(g)!==null)continue}else _=C.action;typeof _=="function"?r[f+1]=_:(r.splice(f,3),f-=3),S1(r)}}}function by(){function n(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(C){return g=C})},focusReset:"manual",scroll:"manual"})}function o(){g!==null&&(g(),g=null),f||setTimeout(r,20)}function r(){if(!f&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,g=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(r,100),function(){f=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),g!==null&&(g(),g=null)}}}function um(n){this._internalRoot=n}cm.prototype.render=um.prototype.render=function(n){var o=this._internalRoot;if(o===null)throw Error(c(409));var r=o.current,f=ni();y1(r,f,n,o,null,null)},cm.prototype.unmount=um.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var o=n.containerInfo;y1(n.current,2,null,n,null,null),gc(),o[vr]=null}};function cm(n){this._internalRoot=n}cm.prototype.unstable_scheduleHydration=function(n){if(n){var o=Th();n={blockedOn:null,target:n,priority:o};for(var r=0;r<fn.length&&o!==0&&o<fn[r].priority;r++);fn.splice(r,0,n),r===0&&b1(n)}};var xy=l.version;if(xy!=="19.2.3")throw Error(c(527,xy,"19.2.3"));F.findDOMNode=function(n){var o=n._reactInternals;if(o===void 0)throw typeof n.render=="function"?Error(c(188)):(n=Object.keys(n).join(","),Error(c(268,n)));return n=E(o),n=n!==null?T(n):null,n=n===null?null:n.stateNode,n};var w1={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kd.isDisabled&&kd.supportsFiber)try{Hi=kd.inject(w1),Vn=kd}catch{}}return Qm.createRoot=function(n,o){if(!p(n))throw Error(c(299));var r=!1,f="",g=Sp,v=S0,C=wp;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(g=o.onUncaughtError),o.onCaughtError!==void 0&&(v=o.onCaughtError),o.onRecoverableError!==void 0&&(C=o.onRecoverableError)),o=lm(n,1,!1,null,null,r,f,null,g,v,C,by),n[vr]=o.current,wc(n),new um(o)},Qm.hydrateRoot=function(n,o,r){if(!p(n))throw Error(c(299));var f=!1,g="",v=Sp,C=S0,_=wp,V=null;return r!=null&&(r.unstable_strictMode===!0&&(f=!0),r.identifierPrefix!==void 0&&(g=r.identifierPrefix),r.onUncaughtError!==void 0&&(v=r.onUncaughtError),r.onCaughtError!==void 0&&(C=r.onCaughtError),r.onRecoverableError!==void 0&&(_=r.onRecoverableError),r.formState!==void 0&&(V=r.formState)),o=lm(n,1,!0,o,r??null,f,g,V,v,C,_,by),o.context=Ws(null),r=o.current,f=ni(),f=Eh(f),g=Zl(f),g.callback=null,Si(r,g,f),r=f,o.current.lanes=r,yr(o,r),pl(o),n[vr]=o.current,wc(n),new cm(o)},Qm.version="19.2.3",Qm}var Zm={};var nE;function xM(){return nE||(nE=1,process.env.NODE_ENV!=="production"&&(function(){function i(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function l(t,e,a,s){if(a>=e.length)return s;var d=e[a],h=Nn(t)?t.slice():ge({},t);return h[d]=l(t[d],e,a+1,s),h}function u(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var s=0;s<a.length-1;s++)if(e[s]!==a[s]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(t,e,a,0)}}function c(t,e,a,s){var d=e[s],h=Nn(t)?t.slice():ge({},t);return s+1===e.length?(h[a[s]]=h[d],Nn(h)?h.splice(d,1):delete h[d]):h[d]=c(t[d],e,a,s+1),h}function p(t,e,a){var s=e[a],d=Nn(t)?t.slice():ge({},t);return a+1===e.length?(Nn(d)?d.splice(s,1):delete d[s],d):(d[s]=p(t[s],e,a+1),d)}function m(){return!1}function y(){return null}function x(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function S(){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 E(){}function T(){}function A(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function R(t,e,a,s){return new ww(t,e,a,s)}function j(t,e){t.context===Vc&&(Kp(t.current,2,e,t,null,null),Ci())}function B(t,e){if(Sl!==null){var a=e.staleFamilies;e=e.updatedFamilies,cd(),hb(t.current,e,a),Ci()}}function X(t){Sl=t}function q(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Z(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 W(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 rt(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 ct(t){if(Z(t)!==t)throw Error("Unable to find node on an unmounted component.")}function xt(t){var e=t.alternate;if(!e){if(e=Z(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,s=e;;){var d=a.return;if(d===null)break;var h=d.alternate;if(h===null){if(s=d.return,s!==null){a=s;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===a)return ct(d),t;if(h===s)return ct(d),e;h=h.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==s.return)a=d,s=h;else{for(var b=!1,w=d.child;w;){if(w===a){b=!0,a=d,s=h;break}if(w===s){b=!0,s=d,a=h;break}w=w.sibling}if(!b){for(w=h.child;w;){if(w===a){b=!0,a=h,s=d;break}if(w===s){b=!0,s=h,a=d;break}w=w.sibling}if(!b)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!==s)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 Tt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Tt(t),e!==null)return e;t=t.sibling}return null}function vt(t){return t===null||typeof t!="object"?null:(t=m1&&t[m1]||t["@@iterator"],typeof t=="function"?t:null)}function ot(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Cc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Tc:return"Fragment";case Rd:return"Profiler";case Qa:return"StrictMode";case Fs:return"Suspense";case ai:return"SuspenseList";case Ro: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 Ir:return"Portal";case Co:return t.displayName||"Context";case Wp:return(t._context.displayName||"Context")+".Consumer";case Ac:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Dd:return e=t.displayName||null,e!==null?e:ot(t.type)||"Memo";case Aa:e=t._payload,t=t._init;try{return ot(t(e))}catch{}}return null}function jt(t){return typeof t.tag=="number"?St(t):typeof t.name=="string"?t.name:null}function St(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 ot(e);case 8:return e===Qa?"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 St(t.return)}return null}function oe(t){return{current:t}}function Mt(t,e){0>nr?console.error("Unexpected pop."):(e!==fy[nr]&&console.error("Unexpected Fiber popped."),t.current=cy[nr],cy[nr]=null,fy[nr]=null,nr--)}function Nt(t,e,a){nr++,cy[nr]=t.current,fy[nr]=a,t.current=e}function Et(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 bt(t,e){Nt(Di,e,t),Nt(Rc,t,t),Nt(Jr,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?qb(e):mu;break;default:if(a=e.tagName,e=e.namespaceURI)e=qb(e),e=Wl(e,a);else switch(a){case"svg":e=Bm;break;case"math":e=hx;break;default:e=mu}}a=a.toLowerCase(),a=wg(null,a),a={context:e,ancestorInfo:a},Mt(Jr,t),Nt(Jr,a,t)}function U(t){Mt(Jr,t),Mt(Rc,t),Mt(Di,t)}function F(){return Et(Jr.current)}function P(t){t.memoizedState!==null&&Nt(Fr,t,t);var e=Et(Jr.current),a=t.type,s=Wl(e.context,a);a=wg(e.ancestorInfo,a),s={context:s,ancestorInfo:a},e!==s&&(Nt(Rc,t,t),Nt(Jr,s,t))}function Rt(t){Rc.current===t&&(Mt(Jr,t),Mt(Rc,t)),Fr.current===t&&(Mt(Fr,t),uv._currentValue=nh)}function Ht(){}function k(){if(Dc===0){g1=console.log,Ps=console.info,Mc=console.warn,dy=console.error,Md=console.group,tm=console.groupCollapsed,em=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})}Dc++}function et(){if(Dc--,Dc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ge({},t,{value:g1}),info:ge({},t,{value:Ps}),warn:ge({},t,{value:Mc}),error:ge({},t,{value:dy}),group:ge({},t,{value:Md}),groupCollapsed:ge({},t,{value:tm}),groupEnd:ge({},t,{value:em})})}0>Dc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ht(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
29
+ `+f.stack}}var gf=Object.prototype.hasOwnProperty,Vt=i.unstable_scheduleCallback,mr=i.unstable_cancelCallback,Bo=i.unstable_shouldYield,ss=i.unstable_requestPaint,jn=i.unstable_now,Sh=i.unstable_getCurrentPriorityLevel,Au=i.unstable_ImmediatePriority,Cu=i.unstable_UserBlockingPriority,ao=i.unstable_NormalPriority,wh=i.unstable_LowPriority,Ru=i.unstable_IdlePriority,yf=i.log,us=i.unstable_setDisableYieldValue,Hi=null,Vn=null;function fi(n){if(typeof yf=="function"&&us(n),Vn&&typeof Vn.setStrictMode=="function")try{Vn.setStrictMode(Hi,n)}catch{}}var Jn=Math.clz32?Math.clz32:I,gr=Math.log,O=Math.LN2;function I(n){return n>>>=0,n===0?32:31-(gr(n)/O|0)|0}var wt=256,At=262144,Bt=4194304;function Wt(n){var o=n&42;if(o!==0)return o;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 Xt(n,o,r){var f=n.pendingLanes;if(f===0)return 0;var g=0,v=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var _=f&134217727;return _!==0?(f=_&~v,f!==0?g=Wt(f):(C&=_,C!==0?g=Wt(C):r||(r=_&~n,r!==0&&(g=Wt(r))))):(_=f&~v,_!==0?g=Wt(_):C!==0?g=Wt(C):r||(r=f&~n,r!==0&&(g=Wt(r)))),g===0?0:o!==0&&o!==g&&(o&v)===0&&(v=g&-g,r=o&-o,v>=r||v===32&&(r&4194048)!==0)?o:g}function xe(n,o){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&o)===0}function ue(n,o){switch(n){case 1:case 2:case 4:case 8:case 64:return o+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 o+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 Sa(){var n=Bt;return Bt<<=1,(Bt&62914560)===0&&(Bt=4194304),n}function Vi(n){for(var o=[],r=0;31>r;r++)o.push(n);return o}function yr(n,o){n.pendingLanes|=o,o!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Du(n,o,r,f,g,v){var C=n.pendingLanes;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=r,n.entangledLanes&=r,n.errorRecoveryDisabledLanes&=r,n.shellSuspendCounter=0;var _=n.entanglements,V=n.expirationTimes,nt=n.hiddenUpdates;for(r=C&~r;0<r;){var ft=31-Jn(r),yt=1<<ft;_[ft]=0,V[ft]=-1;var at=nt[ft];if(at!==null)for(nt[ft]=null,ft=0;ft<at.length;ft++){var ut=at[ft];ut!==null&&(ut.lane&=-536870913)}r&=~yt}f!==0&&vf(n,f,0),v!==0&&g===0&&n.tag!==0&&(n.suspendedLanes|=v&~(C&~o))}function vf(n,o,r){n.pendingLanes|=o,n.suspendedLanes&=~o;var f=31-Jn(o);n.entangledLanes|=o,n.entanglements[f]=n.entanglements[f]|1073741824|r&261930}function Yo(n,o){var r=n.entangledLanes|=o;for(n=n.entanglements;r;){var f=31-Jn(r),g=1<<f;g&o|n[f]&o&&(n[f]|=o),r&=~g}}function di(n,o){var r=o&-o;return r=(r&42)!==0?1:Eh(r),(r&(n.suspendedLanes|o))!==0?0:r}function Eh(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 yg(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Th(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:Od(n.type))}function vg(n,o){var r=F.p;try{return F.p=n,o()}finally{F.p=r}}var io=Math.random().toString(36).slice(2),Ke="__reactFiber$"+io,Oa="__reactProps$"+io,vr="__reactContainer$"+io,Ah="__reactEvents$"+io,bg="__reactListeners$"+io,Wv="__reactHandles$"+io,xg="__reactResources$"+io,qo="__reactMarker$"+io;function Ch(n){delete n[Ke],delete n[Oa],delete n[Ah],delete n[bg],delete n[Wv]}function cs(n){var o=n[Ke];if(o)return o;for(var r=n.parentNode;r;){if(o=r[vr]||r[Ke]){if(r=o.alternate,o.child!==null||r!==null&&r.child!==null)for(n=Co(n);n!==null;){if(r=n[Ke])return r;n=Co(n)}return o}n=r,r=n.parentNode}return null}function fs(n){if(n=n[Ke]||n[vr]){var o=n.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return n}return null}function Mu(n){var o=n.tag;if(o===5||o===26||o===27||o===6)return n.stateNode;throw Error(c(33))}function ds(n){var o=n[xg];return o||(o=n[xg]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function qe(n){n[qo]=!0}var hs=new Set,br={};function xr(n,o){Go(n,o),Go(n+"Capture",o)}function Go(n,o){for(br[n]=o,n=0;n<o.length;n++)hs.add(o[n])}var Rh=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]*$"),Dh={},zu={};function Ou(n){return gf.call(zu,n)?!0:gf.call(Dh,n)?!1:Rh.test(n)?zu[n]=!0:(Dh[n]=!0,!1)}function _u(n,o,r){if(Ou(o))if(r===null)n.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(o);return;case"boolean":var f=o.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){n.removeAttribute(o);return}}n.setAttribute(o,""+r)}}function Mh(n,o,r){if(r===null)n.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttribute(o,""+r)}}function Ul(n,o,r,f){if(f===null)n.removeAttribute(r);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(o,r,""+f)}}function hi(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function zh(n){var o=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Sg(n,o,r){var f=Object.getOwnPropertyDescriptor(n.constructor.prototype,o);if(!n.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var g=f.get,v=f.set;return Object.defineProperty(n,o,{configurable:!0,get:function(){return g.call(this)},set:function(C){r=""+C,v.call(this,C)}}),Object.defineProperty(n,o,{enumerable:f.enumerable}),{getValue:function(){return r},setValue:function(C){r=""+C},stopTracking:function(){n._valueTracker=null,delete n[o]}}}}function Oh(n){if(!n._valueTracker){var o=zh(n)?"checked":"value";n._valueTracker=Sg(n,o,""+n[o])}}function wg(n){if(!n)return!1;var o=n._valueTracker;if(!o)return!0;var r=o.getValue(),f="";return n&&(f=zh(n)?n.checked?"true":"false":n.value),n=f,n!==r?(o.setValue(n),!0):!1}function bf(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 gw=/[\n"\\]/g;function pi(n){return n.replace(gw,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function xf(n,o,r,f,g,v,C,_){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),o!=null?C==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+hi(o)):n.value!==""+hi(o)&&(n.value=""+hi(o)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),o!=null?ps(n,C,hi(o)):r!=null?ps(n,C,hi(r)):f!=null&&n.removeAttribute("value"),g==null&&v!=null&&(n.defaultChecked=!!v),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.name=""+hi(_):n.removeAttribute("name")}function Sf(n,o,r,f,g,v,C,_){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),o!=null||r!=null){if(!(v!=="submit"&&v!=="reset"||o!=null)){Oh(n);return}r=r!=null?""+hi(r):"",o=o!=null?""+hi(o):r,_||o===n.value||(n.value=o),n.defaultValue=o}f=f??g,f=typeof f!="function"&&typeof f!="symbol"&&!!f,n.checked=_?n.checked:!!f,n.defaultChecked=!!f,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C),Oh(n)}function ps(n,o,r){o==="number"&&bf(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function ku(n,o,r,f){if(n=n.options,o){o={};for(var g=0;g<r.length;g++)o["$"+r[g]]=!0;for(r=0;r<n.length;r++)g=o.hasOwnProperty("$"+n[r].value),n[r].selected!==g&&(n[r].selected=g),g&&f&&(n[r].defaultSelected=!0)}else{for(r=""+hi(r),o=null,g=0;g<n.length;g++){if(n[g].value===r){n[g].selected=!0,f&&(n[g].defaultSelected=!0);return}o!==null||n[g].disabled||(o=n[g])}o!==null&&(o.selected=!0)}}function Eg(n,o,r){if(o!=null&&(o=""+hi(o),o!==n.value&&(n.value=o),r==null)){n.defaultValue!==o&&(n.defaultValue=o);return}n.defaultValue=r!=null?""+hi(r):""}function Tg(n,o,r,f){if(o==null){if(f!=null){if(r!=null)throw Error(c(92));if(gt(f)){if(1<f.length)throw Error(c(93));f=f[0]}r=f}r==null&&(r=""),o=r}r=hi(o),n.defaultValue=r,f=n.textContent,f===r&&f!==""&&f!==null&&(n.value=f),Oh(n)}function Xo(n,o){if(o){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=o;return}}n.textContent=o}var tb=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 eb(n,o,r){var f=o.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?f?n.setProperty(o,""):o==="float"?n.cssFloat="":n[o]="":f?n.setProperty(o,r):typeof r!="number"||r===0||tb.has(o)?o==="float"?n.cssFloat=r:n[o]=(""+r).trim():n[o]=r+"px"}function nb(n,o,r){if(o!=null&&typeof o!="object")throw Error(c(62));if(n=n.style,r!=null){for(var f in r)!r.hasOwnProperty(f)||o!=null&&o.hasOwnProperty(f)||(f.indexOf("--")===0?n.setProperty(f,""):f==="float"?n.cssFloat="":n[f]="");for(var g in o)f=o[g],o.hasOwnProperty(g)&&r[g]!==f&&eb(n,g,f)}else for(var v in o)o.hasOwnProperty(v)&&eb(n,v,o[v])}function Ag(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 yw=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"]]),wf=/^[\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 Bi(n){return wf.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function oo(){}var _h=null;function kh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Qo=null,ms=null;function Ef(n){var o=fs(n);if(o&&(n=o.stateNode)){var r=n[Oa]||null;t:switch(n=o.stateNode,o.type){case"input":if(xf(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),o=r.name,r.type==="radio"&&o!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+pi(""+o)+'"][type="radio"]'),o=0;o<r.length;o++){var f=r[o];if(f!==n&&f.form===n.form){var g=f[Oa]||null;if(!g)throw Error(c(90));xf(f,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(o=0;o<r.length;o++)f=r[o],f.form===n.form&&wg(f)}break t;case"textarea":Eg(n,r.value,r.defaultValue);break t;case"select":o=r.value,o!=null&&ku(n,!!r.multiple,o,!1)}}}var ju=!1;function Cg(n,o,r){if(ju)return n(o,r);ju=!0;try{var f=n(o);return f}finally{if(ju=!1,(Qo!==null||ms!==null)&&(gc(),Qo&&(o=Qo,n=ms,ms=Qo=null,Ef(o),n)))for(o=0;o<n.length;o++)Ef(n[o])}}function Fn(n,o){var r=n.stateNode;if(r===null)return null;var f=r[Oa]||null;if(f===null)return null;r=f[o];t:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break t;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(c(231,o,typeof r));return r}var Ll=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tf=!1;if(Ll)try{var Uu={};Object.defineProperty(Uu,"passive",{get:function(){Tf=!0}}),window.addEventListener("test",Uu,Uu),window.removeEventListener("test",Uu,Uu)}catch{Tf=!1}var Nl=null,Rg=null,jh=null;function Dg(){if(jh)return jh;var n,o=Rg,r=o.length,f,g="value"in Nl?Nl.value:Nl.textContent,v=g.length;for(n=0;n<r&&o[n]===g[n];n++);var C=r-n;for(f=1;f<=C&&o[r-f]===g[v-f];f++);return jh=g.slice(n,1<f?1-f:void 0)}function Uh(n){var o=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&o===13&&(n=13)):n=o,n===10&&(n=13),32<=n||n===13?n:0}function Af(){return!0}function ab(){return!1}function pa(n){function o(r,f,g,v,C){this._reactName=r,this._targetInst=g,this.type=f,this.nativeEvent=v,this.target=C,this.currentTarget=null;for(var _ in n)n.hasOwnProperty(_)&&(r=n[_],this[_]=r?r(v):v[_]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Af:ab,this.isPropagationStopped=ab,this}return A(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Af)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Af)},persist:function(){},isPersistent:Af}),o}var Sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cf=pa(Sr),Lu=A({},Sr,{view:0,detail:0}),vw=pa(Lu),Mg,zg,Rf,Lh=A({},Lu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yi,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!==Rf&&(Rf&&n.type==="mousemove"?(Mg=n.screenX-Rf.screenX,zg=n.screenY-Rf.screenY):zg=Mg=0,Rf=n),Mg)},movementY:function(n){return"movementY"in n?n.movementY:zg}}),Nu=pa(Lh),ib=A({},Lh,{dataTransfer:0}),ob=pa(ib),lb=A({},Lu,{relatedTarget:0}),Nh=pa(lb),Og=A({},Sr,{animationName:0,elapsedTime:0,pseudoElement:0}),rb=pa(Og),gs=A({},Sr,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),ys=pa(gs),lo=A({},Sr,{data:0}),sb=pa(lo),_g={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zo={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"},ub={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ro(n){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(n):(n=ub[n])?!!o[n]:!1}function Yi(){return ro}var Hh=A({},Lu,{key:function(n){if(n.key){var o=_g[n.key]||n.key;if(o!=="Unidentified")return o}return n.type==="keypress"?(n=Uh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Zo[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yi,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}}),Vh=pa(Hh),kg=A({},Lh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),so=pa(kg),bw=A({},Lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yi}),cb=pa(bw),fb=A({},Sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),xw=pa(fb),jg=A({},Lh,{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}),Sw=pa(jg),db=A({},Sr,{newState:0,oldState:0}),Ug=pa(db),Bh=[9,13,27,32],Hu=Ll&&"CompositionEvent"in window,vs=null;Ll&&"documentMode"in document&&(vs=document.documentMode);var wa=Ll&&"TextEvent"in window&&!vs,Lg=Ll&&(!Hu||vs&&8<vs&&11>=vs),Df=" ",wr=!1;function Yh(n,o){switch(n){case"keyup":return Bh.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ng(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var bs=!1;function hb(n,o){switch(n){case"compositionend":return Ng(o);case"keypress":return o.which!==32?null:(wr=!0,Df);case"textInput":return n=o.data,n===Df&&wr?null:n;default:return null}}function ww(n,o){if(bs)return n==="compositionend"||!Hu&&Yh(n,o)?(n=Dg(),jh=Rg=Nl=null,bs=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Lg&&o.locale!=="ko"?null:o.data;default:return null}}var Hg={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 $o(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o==="input"?!!Hg[n.type]:o==="textarea"}function Vg(n,o,r,f){Qo?ms?ms.push(f):ms=[f]:Qo=f,o=Td(o,"onChange"),0<o.length&&(r=new Cf("onChange","change",null,r,f),n.push({event:r,listeners:o}))}var xs=null,Er=null;function Ss(n){s1(n,0)}function Vu(n){var o=Mu(n);if(wg(o))return n}function Bg(n,o){if(n==="change")return o}var qh=!1;if(Ll){var _a;if(Ll){var uo="oninput"in document;if(!uo){var Yg=document.createElement("div");Yg.setAttribute("oninput","return;"),uo=typeof Yg.oninput=="function"}_a=uo}else _a=!1;qh=_a&&(!document.documentMode||9<document.documentMode)}function Gh(){xs&&(xs.detachEvent("onpropertychange",Xh),Er=xs=null)}function Xh(n){if(n.propertyName==="value"&&Vu(Er)){var o=[];Vg(o,Er,n,kh(n)),Cg(Ss,o)}}function pb(n,o,r){n==="focusin"?(Gh(),xs=o,Er=r,xs.attachEvent("onpropertychange",Xh)):n==="focusout"&&Gh()}function mb(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Vu(Er)}function Tr(n,o){if(n==="click")return Vu(o)}function ws(n,o){if(n==="input"||n==="change")return Vu(o)}function gb(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var Ea=typeof Object.is=="function"?Object.is:gb;function qi(n,o){if(Ea(n,o))return!0;if(typeof n!="object"||n===null||typeof o!="object"||o===null)return!1;var r=Object.keys(n),f=Object.keys(o);if(r.length!==f.length)return!1;for(f=0;f<r.length;f++){var g=r[f];if(!gf.call(o,g)||!Ea(n[g],o[g]))return!1}return!0}function qg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Gg(n,o){var r=qg(n);n=0;for(var f;r;){if(r.nodeType===3){if(f=n+r.textContent.length,n<=o&&f>=o)return{node:r,offset:o-n};n=f}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=qg(r)}}function Es(n,o){return n&&o?n===o?!0:n&&n.nodeType===3?!1:o&&o.nodeType===3?Es(n,o.parentNode):"contains"in n?n.contains(o):n.compareDocumentPosition?!!(n.compareDocumentPosition(o)&16):!1:!1}function Ar(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var o=bf(n.document);o instanceof n.HTMLIFrameElement;){try{var r=typeof o.contentWindow.location.href=="string"}catch{r=!1}if(r)n=o.contentWindow;else break;o=bf(n.document)}return o}function Mf(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o&&(o==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||o==="textarea"||n.contentEditable==="true")}var zf=Ll&&"documentMode"in document&&11>=document.documentMode,Cr=null,Bu=null,Gi=null,co=!1;function Qh(n,o,r){var f=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;co||Cr==null||Cr!==bf(f)||(f=Cr,"selectionStart"in f&&Mf(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Gi&&qi(Gi,f)||(Gi=f,f=Td(Bu,"onSelect"),0<f.length&&(o=new Cf("onSelect","select",null,o,r),n.push({event:o,listeners:f}),o.target=Cr)))}function Hl(n,o){var r={};return r[n.toLowerCase()]=o.toLowerCase(),r["Webkit"+n]="webkit"+o,r["Moz"+n]="moz"+o,r}var fo={animationend:Hl("Animation","AnimationEnd"),animationiteration:Hl("Animation","AnimationIteration"),animationstart:Hl("Animation","AnimationStart"),transitionrun:Hl("Transition","TransitionRun"),transitionstart:Hl("Transition","TransitionStart"),transitioncancel:Hl("Transition","TransitionCancel"),transitionend:Hl("Transition","TransitionEnd")},Yu={},Rr={};Ll&&(Rr=document.createElement("div").style,"AnimationEvent"in window||(delete fo.animationend.animation,delete fo.animationiteration.animation,delete fo.animationstart.animation),"TransitionEvent"in window||delete fo.transitionend.transition);function Ve(n){if(Yu[n])return Yu[n];if(!fo[n])return n;var o=fo[n],r;for(r in o)if(o.hasOwnProperty(r)&&r in Rr)return Yu[n]=o[r];return n}var Of=Ve("animationend"),Xg=Ve("animationiteration"),Zh=Ve("animationstart"),Ts=Ve("transitionrun"),_f=Ve("transitionstart"),Ko=Ve("transitioncancel"),yb=Ve("transitionend"),Io=new Map,qu="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(" ");qu.push("scrollEnd");function ka(n,o){Io.set(n,o),xr(o,[n])}var As=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=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(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},sn=[],Pn=0,Xi=0;function mi(){for(var n=Pn,o=Xi=Pn=0;o<n;){var r=sn[o];sn[o++]=null;var f=sn[o];sn[o++]=null;var g=sn[o];sn[o++]=null;var v=sn[o];if(sn[o++]=null,f!==null&&g!==null){var C=f.pending;C===null?g.next=g:(g.next=C.next,C.next=g),f.pending=g}v!==0&&$h(r,g,v)}}function gi(n,o,r,f){sn[Pn++]=n,sn[Pn++]=o,sn[Pn++]=r,sn[Pn++]=f,Xi|=f,n.lanes|=f,n=n.alternate,n!==null&&(n.lanes|=f)}function Qi(n,o,r,f){return gi(n,o,r,f),kf(n)}function Vl(n,o){return gi(n,null,null,o),kf(n)}function $h(n,o,r){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r);for(var g=!1,v=n.return;v!==null;)v.childLanes|=r,f=v.alternate,f!==null&&(f.childLanes|=r),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(g=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,g&&o!==null&&(g=31-Jn(r),n=v.hiddenUpdates,f=n[g],f===null?n[g]=[o]:f.push(o),o.lane=r|536870912),v):null}function kf(n){if(50<mc)throw mc=0,md=null,Error(c(185));for(var o=n.return;o!==null;)n=o,o=n.return;return n.tag===3?n.stateNode:null}var ja={};function vb(n,o,r,f){this.tag=n,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xn(n,o,r,f){return new vb(n,o,r,f)}function Cs(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Bl(n,o){var r=n.alternate;return r===null?(r=xn(n.tag,o,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=o,r.type=n.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=n.flags&65011712,r.childLanes=n.childLanes,r.lanes=n.lanes,r.child=n.child,r.memoizedProps=n.memoizedProps,r.memoizedState=n.memoizedState,r.updateQueue=n.updateQueue,o=n.dependencies,r.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function Qg(n,o){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=o,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=r.childLanes,n.lanes=r.lanes,n.child=r.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=r.memoizedProps,n.memoizedState=r.memoizedState,n.updateQueue=r.updateQueue,n.type=r.type,o=r.dependencies,n.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),n}function Kh(n,o,r,f,g,v){var C=0;if(f=n,typeof n=="function")Cs(n)&&(C=1);else if(typeof n=="string")C=py(n,r,mt.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case jt:return n=xn(31,r,o,g),n.elementType=jt,n.lanes=v,n;case X:return Yl(r.children,g,v,o);case q:C=8,g|=24;break;case Z:return n=xn(12,r,o,g|2),n.elementType=Z,n.lanes=v,n;case xt:return n=xn(13,r,o,g),n.elementType=xt,n.lanes=v,n;case Tt:return n=xn(19,r,o,g),n.elementType=Tt,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case rt:C=10;break t;case W:C=9;break t;case ct:C=11;break t;case bt:C=14;break t;case ot:C=16,f=null;break t}C=29,r=Error(c(130,n===null?"null":typeof n,"")),f=null}return o=xn(C,r,o,g),o.elementType=n,o.type=f,o.lanes=v,o}function Yl(n,o,r,f){return n=xn(7,n,f,o),n.lanes=r,n}function Gu(n,o,r){return n=xn(6,n,null,o),n.lanes=r,n}function Zg(n){var o=xn(18,null,null,0);return o.stateNode=n,o}function Ih(n,o,r){return o=xn(4,n.children!==null?n.children:[],n.key,o),o.lanes=r,o.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},o}var $g=new WeakMap;function yi(n,o){if(typeof n=="object"&&n!==null){var r=$g.get(n);return r!==void 0?r:(o={value:n,source:o,stack:rs(o)},$g.set(n,o),o)}return{value:n,source:o,stack:rs(o)}}var vi=[],Rs=0,jf=null,Rn=0,Fa=[],Ua=0,ho=null,Pa=1,po="";function Zi(n,o){vi[Rs++]=Rn,vi[Rs++]=jf,jf=n,Rn=o}function Kg(n,o,r){Fa[Ua++]=Pa,Fa[Ua++]=po,Fa[Ua++]=ho,ho=n;var f=Pa;n=po;var g=32-Jn(f)-1;f&=~(1<<g),r+=1;var v=32-Jn(o)+g;if(30<v){var C=g-g%5;v=(f&(1<<C)-1).toString(32),f>>=C,g-=C,Pa=1<<32-Jn(o)+g|r<<g|f,po=v+n}else Pa=1<<v|r<<g|f,po=n}function Xu(n){n.return!==null&&(Zi(n,1),Kg(n,1,0))}function Jh(n){for(;n===jf;)jf=vi[--Rs],vi[Rs]=null,Rn=vi[--Rs],vi[Rs]=null;for(;n===ho;)ho=Fa[--Ua],Fa[Ua]=null,po=Fa[--Ua],Fa[Ua]=null,Pa=Fa[--Ua],Fa[Ua]=null}function Uf(n,o){Fa[Ua++]=Pa,Fa[Ua++]=po,Fa[Ua++]=ho,Pa=o.id,po=o.overflow,ho=n}var Wn=null,tn=null,Ce=!1,Jo=null,Bn=!1,Fo=Error(c(519));function $i(n){var o=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Zu(yi(o,n)),Fo}function Lf(n){var o=n.stateNode,r=n.type,f=n.memoizedProps;switch(o[Ke]=n,o[Oa]=f,r){case"dialog":Ee("cancel",o),Ee("close",o);break;case"iframe":case"object":case"embed":Ee("load",o);break;case"video":case"audio":for(r=0;r<Sc.length;r++)Ee(Sc[r],o);break;case"source":Ee("error",o);break;case"img":case"image":case"link":Ee("error",o),Ee("load",o);break;case"details":Ee("toggle",o);break;case"input":Ee("invalid",o),Sf(o,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":Ee("invalid",o);break;case"textarea":Ee("invalid",o),Tg(o,f.value,f.defaultValue,f.children)}r=f.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||o.textContent===""+r||f.suppressHydrationWarning===!0||ay(o.textContent,r)?(f.popover!=null&&(Ee("beforetoggle",o),Ee("toggle",o)),f.onScroll!=null&&Ee("scroll",o),f.onScrollEnd!=null&&Ee("scrollend",o),f.onClick!=null&&(o.onclick=oo),o=!0):o=!1,o||$i(n,!0)}function Qu(n){for(Wn=n.return;Wn;)switch(Wn.tag){case 5:case 31:case 13:Bn=!1;return;case 27:case 3:Bn=!0;return;default:Wn=Wn.return}}function Po(n){if(n!==Wn)return!1;if(!Ce)return Qu(n),Ce=!0,!1;var o=n.tag,r;if((r=o!==3&&o!==27)&&((r=o===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||Ec(n.type,n.memoizedProps)),r=!r),r&&tn&&$i(n),Qu(n),o===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));tn=Wp(n)}else if(o===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));tn=Wp(n)}else o===27?(o=tn,Ao(n.type)?(n=Rd,Rd=null,tn=n):tn=o):tn=Wn?Qa(n.stateNode.nextSibling):null;return!0}function Dr(){tn=Wn=null,Ce=!1}function Ig(){var n=Jo;return n!==null&&(vn===null?vn=n:vn.push.apply(vn,n),Jo=null),n}function Zu(n){Jo===null?Jo=[n]:Jo.push(n)}var Fh=k(null),ql=null,mo=null;function La(n,o,r){ht(Fh,o._currentValue),o._currentValue=r}function go(n){n._currentValue=Fh.current,et(Fh)}function Ph(n,o,r){for(;n!==null;){var f=n.alternate;if((n.childLanes&o)!==o?(n.childLanes|=o,f!==null&&(f.childLanes|=o)):f!==null&&(f.childLanes&o)!==o&&(f.childLanes|=o),n===r)break;n=n.return}}function Wo(n,o,r,f){var g=n.child;for(g!==null&&(g.return=n);g!==null;){var v=g.dependencies;if(v!==null){var C=g.child;v=v.firstContext;t:for(;v!==null;){var _=v;v=g;for(var V=0;V<o.length;V++)if(_.context===o[V]){v.lanes|=r,_=v.alternate,_!==null&&(_.lanes|=r),Ph(v.return,r,n),f||(C=null);break t}v=_.next}}else if(g.tag===18){if(C=g.return,C===null)throw Error(c(341));C.lanes|=r,v=C.alternate,v!==null&&(v.lanes|=r),Ph(C,r,n),C=null}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===n){C=null;break}if(g=C.sibling,g!==null){g.return=C.return,C=g;break}C=C.return}g=C}}function ta(n,o,r,f){n=null;for(var g=o,v=!1;g!==null;){if(!v){if((g.flags&524288)!==0)v=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var C=g.alternate;if(C===null)throw Error(c(387));if(C=C.memoizedProps,C!==null){var _=g.type;Ea(g.pendingProps.value,C.value)||(n!==null?n.push(_):n=[_])}}else if(g===_t.current){if(C=g.alternate,C===null)throw Error(c(387));C.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(n!==null?n.push(zd):n=[zd])}g=g.return}n!==null&&Wo(o,n,r,f),o.flags|=262144}function Ds(n){for(n=n.firstContext;n!==null;){if(!Ea(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function le(n){ql=n,mo=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function vt(n){return Nf(ql,n)}function Gl(n,o){return ql===null&&le(n),Nf(n,o)}function Nf(n,o){var r=o._currentValue;if(o={context:o,memoizedValue:r,next:null},mo===null){if(n===null)throw Error(c(308));mo=o,n.dependencies={lanes:0,firstContext:o},n.flags|=524288}else mo=mo.next=o;return r}var Sn=typeof AbortController<"u"?AbortController:function(){var n=[],o=this.signal={aborted:!1,addEventListener:function(r,f){n.push(f)}};this.abort=function(){o.aborted=!0,n.forEach(function(r){return r()})}},Jg=i.unstable_scheduleCallback,Fg=i.unstable_NormalPriority,Dn={$$typeof:rt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hf(){return{controller:new Sn,data:new Map,refCount:0}}function Vf(n){n.refCount--,n.refCount===0&&Jg(Fg,function(){n.controller.abort()})}var Ms=null,Bf=0,Mr=0,Un=null;function Ge(n,o){if(Ms===null){var r=Ms=[];Bf=0,Mr=Qp(),Un={status:"pending",value:void 0,then:function(f){r.push(f)}}}return Bf++,o.then(Yf,Yf),o}function Yf(){if(--Bf===0&&Ms!==null){Un!==null&&(Un.status="fulfilled");var n=Ms;Ms=null,Mr=0,Un=null;for(var o=0;o<n.length;o++)(0,n[o])()}}function qf(n,o){var r=[],f={status:"pending",value:null,reason:null,then:function(g){r.push(g)}};return n.then(function(){f.status="fulfilled",f.value=o;for(var g=0;g<r.length;g++)(0,r[g])(o)},function(g){for(f.status="rejected",f.reason=g,g=0;g<r.length;g++)(0,r[g])(void 0)}),f}var Xl=U.S;U.S=function(n,o){X0=jn(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&Ge(n,o),Xl!==null&&Xl(n,o)};var bi=k(null);function xi(){var n=bi.current;return n!==null?n:Je.pooledCache}function $u(n,o){o===null?ht(bi,bi.current):ht(bi,o.pool)}function zs(){var n=xi();return n===null?null:{parent:Dn._currentValue,pool:n}}var zr=Error(c(460)),Os=Error(c(474)),Ku=Error(c(542)),_s={then:function(){}};function Pg(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Wg(n,o,r){switch(r=n[r],r===void 0?n.push(o):r!==o&&(o.then(oo,oo),o=r),o.status){case"fulfilled":return o.value;case"rejected":throw n=o.reason,Wh(n),n;default:if(typeof o.status=="string")o.then(oo,oo);else{if(n=Je,n!==null&&100<n.shellSuspendCounter)throw Error(c(482));n=o,n.status="pending",n.then(function(f){if(o.status==="pending"){var g=o;g.status="fulfilled",g.value=f}},function(f){if(o.status==="pending"){var g=o;g.status="rejected",g.reason=f}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw n=o.reason,Wh(n),n}throw _r=o,zr}}function Or(n){try{var o=n._init;return o(n._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(_r=r,zr):r}}var _r=null;function t0(){if(_r===null)throw Error(c(459));var n=_r;return _r=null,n}function Wh(n){if(n===zr||n===Ku)throw Error(c(483))}var kr=null,ks=0;function Gf(n){var o=ks;return ks+=1,kr===null&&(kr=[]),Wg(kr,n,o)}function Iu(n,o){o=o.props.ref,n.ref=o!==void 0?o:null}function Xf(n,o){throw o.$$typeof===R?Error(c(525)):(n=Object.prototype.toString.call(o),Error(c(31,n==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":n)))}function bb(n){function o(J,Q){if(n){var tt=J.deletions;tt===null?(J.deletions=[Q],J.flags|=16):tt.push(Q)}}function r(J,Q){if(!n)return null;for(;Q!==null;)o(J,Q),Q=Q.sibling;return null}function f(J){for(var Q=new Map;J!==null;)J.key!==null?Q.set(J.key,J):Q.set(J.index,J),J=J.sibling;return Q}function g(J,Q){return J=Bl(J,Q),J.index=0,J.sibling=null,J}function v(J,Q,tt){return J.index=tt,n?(tt=J.alternate,tt!==null?(tt=tt.index,tt<Q?(J.flags|=67108866,Q):tt):(J.flags|=67108866,Q)):(J.flags|=1048576,Q)}function C(J){return n&&J.alternate===null&&(J.flags|=67108866),J}function _(J,Q,tt,pt){return Q===null||Q.tag!==6?(Q=Gu(tt,J.mode,pt),Q.return=J,Q):(Q=g(Q,tt),Q.return=J,Q)}function V(J,Q,tt,pt){var Kt=tt.type;return Kt===X?ft(J,Q,tt.props.children,pt,tt.key):Q!==null&&(Q.elementType===Kt||typeof Kt=="object"&&Kt!==null&&Kt.$$typeof===ot&&Or(Kt)===Q.type)?(Q=g(Q,tt.props),Iu(Q,tt),Q.return=J,Q):(Q=Kh(tt.type,tt.key,tt.props,null,J.mode,pt),Iu(Q,tt),Q.return=J,Q)}function nt(J,Q,tt,pt){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==tt.containerInfo||Q.stateNode.implementation!==tt.implementation?(Q=Ih(tt,J.mode,pt),Q.return=J,Q):(Q=g(Q,tt.children||[]),Q.return=J,Q)}function ft(J,Q,tt,pt,Kt){return Q===null||Q.tag!==7?(Q=Yl(tt,J.mode,pt,Kt),Q.return=J,Q):(Q=g(Q,tt),Q.return=J,Q)}function yt(J,Q,tt){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Q=Gu(""+Q,J.mode,tt),Q.return=J,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case j:return tt=Kh(Q.type,Q.key,Q.props,null,J.mode,tt),Iu(tt,Q),tt.return=J,tt;case B:return Q=Ih(Q,J.mode,tt),Q.return=J,Q;case ot:return Q=Or(Q),yt(J,Q,tt)}if(gt(Q)||Mt(Q))return Q=Yl(Q,J.mode,tt,null),Q.return=J,Q;if(typeof Q.then=="function")return yt(J,Gf(Q),tt);if(Q.$$typeof===rt)return yt(J,Gl(J,Q),tt);Xf(J,Q)}return null}function at(J,Q,tt,pt){var Kt=Q!==null?Q.key:null;if(typeof tt=="string"&&tt!==""||typeof tt=="number"||typeof tt=="bigint")return Kt!==null?null:_(J,Q,""+tt,pt);if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case j:return tt.key===Kt?V(J,Q,tt,pt):null;case B:return tt.key===Kt?nt(J,Q,tt,pt):null;case ot:return tt=Or(tt),at(J,Q,tt,pt)}if(gt(tt)||Mt(tt))return Kt!==null?null:ft(J,Q,tt,pt,null);if(typeof tt.then=="function")return at(J,Q,Gf(tt),pt);if(tt.$$typeof===rt)return at(J,Q,Gl(J,tt),pt);Xf(J,tt)}return null}function ut(J,Q,tt,pt,Kt){if(typeof pt=="string"&&pt!==""||typeof pt=="number"||typeof pt=="bigint")return J=J.get(tt)||null,_(Q,J,""+pt,Kt);if(typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case j:return J=J.get(pt.key===null?tt:pt.key)||null,V(Q,J,pt,Kt);case B:return J=J.get(pt.key===null?tt:pt.key)||null,nt(Q,J,pt,Kt);case ot:return pt=Or(pt),ut(J,Q,tt,pt,Kt)}if(gt(pt)||Mt(pt))return J=J.get(tt)||null,ft(Q,J,pt,Kt,null);if(typeof pt.then=="function")return ut(J,Q,tt,Gf(pt),Kt);if(pt.$$typeof===rt)return ut(J,Q,tt,Gl(Q,pt),Kt);Xf(Q,pt)}return null}function Ut(J,Q,tt,pt){for(var Kt=null,je=null,Qt=Q,ce=Q=0,pe=null;Qt!==null&&ce<tt.length;ce++){Qt.index>ce?(pe=Qt,Qt=null):pe=Qt.sibling;var He=at(J,Qt,tt[ce],pt);if(He===null){Qt===null&&(Qt=pe);break}n&&Qt&&He.alternate===null&&o(J,Qt),Q=v(He,Q,ce),je===null?Kt=He:je.sibling=He,je=He,Qt=pe}if(ce===tt.length)return r(J,Qt),Ce&&Zi(J,ce),Kt;if(Qt===null){for(;ce<tt.length;ce++)Qt=yt(J,tt[ce],pt),Qt!==null&&(Q=v(Qt,Q,ce),je===null?Kt=Qt:je.sibling=Qt,je=Qt);return Ce&&Zi(J,ce),Kt}for(Qt=f(Qt);ce<tt.length;ce++)pe=ut(Qt,J,ce,tt[ce],pt),pe!==null&&(n&&pe.alternate!==null&&Qt.delete(pe.key===null?ce:pe.key),Q=v(pe,Q,ce),je===null?Kt=pe:je.sibling=pe,je=pe);return n&&Qt.forEach(function(Do){return o(J,Do)}),Ce&&Zi(J,ce),Kt}function Pt(J,Q,tt,pt){if(tt==null)throw Error(c(151));for(var Kt=null,je=null,Qt=Q,ce=Q=0,pe=null,He=tt.next();Qt!==null&&!He.done;ce++,He=tt.next()){Qt.index>ce?(pe=Qt,Qt=null):pe=Qt.sibling;var Do=at(J,Qt,He.value,pt);if(Do===null){Qt===null&&(Qt=pe);break}n&&Qt&&Do.alternate===null&&o(J,Qt),Q=v(Do,Q,ce),je===null?Kt=Do:je.sibling=Do,je=Do,Qt=pe}if(He.done)return r(J,Qt),Ce&&Zi(J,ce),Kt;if(Qt===null){for(;!He.done;ce++,He=tt.next())He=yt(J,He.value,pt),He!==null&&(Q=v(He,Q,ce),je===null?Kt=He:je.sibling=He,je=He);return Ce&&Zi(J,ce),Kt}for(Qt=f(Qt);!He.done;ce++,He=tt.next())He=ut(Qt,J,ce,He.value,pt),He!==null&&(n&&He.alternate!==null&&Qt.delete(He.key===null?ce:He.key),Q=v(He,Q,ce),je===null?Kt=He:je.sibling=He,je=He);return n&&Qt.forEach(function(E1){return o(J,E1)}),Ce&&Zi(J,ce),Kt}function Pe(J,Q,tt,pt){if(typeof tt=="object"&&tt!==null&&tt.type===X&&tt.key===null&&(tt=tt.props.children),typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case j:t:{for(var Kt=tt.key;Q!==null;){if(Q.key===Kt){if(Kt=tt.type,Kt===X){if(Q.tag===7){r(J,Q.sibling),pt=g(Q,tt.props.children),pt.return=J,J=pt;break t}}else if(Q.elementType===Kt||typeof Kt=="object"&&Kt!==null&&Kt.$$typeof===ot&&Or(Kt)===Q.type){r(J,Q.sibling),pt=g(Q,tt.props),Iu(pt,tt),pt.return=J,J=pt;break t}r(J,Q);break}else o(J,Q);Q=Q.sibling}tt.type===X?(pt=Yl(tt.props.children,J.mode,pt,tt.key),pt.return=J,J=pt):(pt=Kh(tt.type,tt.key,tt.props,null,J.mode,pt),Iu(pt,tt),pt.return=J,J=pt)}return C(J);case B:t:{for(Kt=tt.key;Q!==null;){if(Q.key===Kt)if(Q.tag===4&&Q.stateNode.containerInfo===tt.containerInfo&&Q.stateNode.implementation===tt.implementation){r(J,Q.sibling),pt=g(Q,tt.children||[]),pt.return=J,J=pt;break t}else{r(J,Q);break}else o(J,Q);Q=Q.sibling}pt=Ih(tt,J.mode,pt),pt.return=J,J=pt}return C(J);case ot:return tt=Or(tt),Pe(J,Q,tt,pt)}if(gt(tt))return Ut(J,Q,tt,pt);if(Mt(tt)){if(Kt=Mt(tt),typeof Kt!="function")throw Error(c(150));return tt=Kt.call(tt),Pt(J,Q,tt,pt)}if(typeof tt.then=="function")return Pe(J,Q,Gf(tt),pt);if(tt.$$typeof===rt)return Pe(J,Q,Gl(J,tt),pt);Xf(J,tt)}return typeof tt=="string"&&tt!==""||typeof tt=="number"||typeof tt=="bigint"?(tt=""+tt,Q!==null&&Q.tag===6?(r(J,Q.sibling),pt=g(Q,tt),pt.return=J,J=pt):(r(J,Q),pt=Gu(tt,J.mode,pt),pt.return=J,J=pt),C(J)):r(J,Q)}return function(J,Q,tt,pt){try{ks=0;var Kt=Pe(J,Q,tt,pt);return kr=null,Kt}catch(Qt){if(Qt===zr||Qt===Ku)throw Qt;var je=xn(29,Qt,null,J.mode);return je.lanes=pt,je.return=J,je}}}var jr=bb(!0),e0=bb(!1),Ql=!1;function Qf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function tp(n,o){n=n.updateQueue,o.updateQueue===n&&(o.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Zl(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Si(n,o,r){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,(Ne&2)!==0){var g=f.pending;return g===null?o.next=o:(o.next=g.next,g.next=o),f.pending=o,o=kf(n),$h(n,null,r),o}return gi(n,f,o,r),kf(n)}function Ur(n,o,r){if(o=o.updateQueue,o!==null&&(o=o.shared,(r&4194048)!==0)){var f=o.lanes;f&=n.pendingLanes,r|=f,o.lanes=r,Yo(n,r)}}function ep(n,o){var r=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,r===f)){var g=null,v=null;if(r=r.firstBaseUpdate,r!==null){do{var C={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};v===null?g=v=C:v=v.next=C,r=r.next}while(r!==null);v===null?g=v=o:v=v.next=o}else g=v=o;r={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:v,shared:f.shared,callbacks:f.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=o:n.next=o,r.lastBaseUpdate=o}var n0=!1;function Lr(){if(n0){var n=Un;if(n!==null)throw n}}function tl(n,o,r,f){n0=!1;var g=n.updateQueue;Ql=!1;var v=g.firstBaseUpdate,C=g.lastBaseUpdate,_=g.shared.pending;if(_!==null){g.shared.pending=null;var V=_,nt=V.next;V.next=null,C===null?v=nt:C.next=nt,C=V;var ft=n.alternate;ft!==null&&(ft=ft.updateQueue,_=ft.lastBaseUpdate,_!==C&&(_===null?ft.firstBaseUpdate=nt:_.next=nt,ft.lastBaseUpdate=V))}if(v!==null){var yt=g.baseState;C=0,ft=nt=V=null,_=v;do{var at=_.lane&-536870913,ut=at!==_.lane;if(ut?(Se&at)===at:(f&at)===at){at!==0&&at===Mr&&(n0=!0),ft!==null&&(ft=ft.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});t:{var Ut=n,Pt=_;at=o;var Pe=r;switch(Pt.tag){case 1:if(Ut=Pt.payload,typeof Ut=="function"){yt=Ut.call(Pe,yt,at);break t}yt=Ut;break t;case 3:Ut.flags=Ut.flags&-65537|128;case 0:if(Ut=Pt.payload,at=typeof Ut=="function"?Ut.call(Pe,yt,at):Ut,at==null)break t;yt=A({},yt,at);break t;case 2:Ql=!0}}at=_.callback,at!==null&&(n.flags|=64,ut&&(n.flags|=8192),ut=g.callbacks,ut===null?g.callbacks=[at]:ut.push(at))}else ut={lane:at,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ft===null?(nt=ft=ut,V=yt):ft=ft.next=ut,C|=at;if(_=_.next,_===null){if(_=g.shared.pending,_===null)break;ut=_,_=ut.next,ut.next=null,g.lastBaseUpdate=ut,g.shared.pending=null}}while(!0);ft===null&&(V=yt),g.baseState=V,g.firstBaseUpdate=nt,g.lastBaseUpdate=ft,v===null&&(g.shared.lanes=0),Eo|=C,n.lanes=C,n.memoizedState=yt}}function np(n,o){if(typeof n!="function")throw Error(c(191,n));n.call(o)}function Nr(n,o){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)np(r[n],o)}var Yn=k(null),js=k(0);function xb(n,o){n=wo,ht(js,n),ht(Yn,o),wo=n|o.baseLanes}function Zf(){ht(js,wo),ht(Yn,Yn.current)}function Ju(){wo=js.current,et(Yn),et(js)}var Na=k(null),wi=null;function el(n){var o=n.alternate;ht(un,un.current&1),ht(Na,n),wi===null&&(o===null||Yn.current!==null||o.memoizedState!==null)&&(wi=n)}function Fu(n){ht(un,un.current),ht(Na,n),wi===null&&(wi=n)}function ap(n){n.tag===22?(ht(un,un.current),ht(Na,n),wi===null&&(wi=n)):yo()}function yo(){ht(un,un.current),ht(Na,Na.current)}function Ha(n){et(Na),wi===n&&(wi=null),et(un)}var un=k(0);function Pu(n){for(var o=n;o!==null;){if(o.tag===13){var r=o.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Fi(r)||Ir(r)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var nl=0,fe=null,Xe=null,Mn=null,Us=!1,Ls=!1,$l=!1,$f=0,Wu=0,Hr=null,Sb=0;function gn(){throw Error(c(321))}function Kl(n,o){if(o===null)return!1;for(var r=0;r<o.length&&r<n.length;r++)if(!Ea(n[r],o[r]))return!1;return!0}function Kf(n,o,r,f,g,v){return nl=v,fe=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,U.H=n===null||n.memoizedState===null?Mb:xp,$l=!1,v=r(f,g),$l=!1,Ls&&(v=wb(o,r,f,g)),ip(n),v}function ip(n){U.H=ad;var o=Xe!==null&&Xe.next!==null;if(nl=0,Mn=Xe=fe=null,Us=!1,Wu=0,Hr=null,o)throw Error(c(300));n===null||zn||(n=n.dependencies,n!==null&&Ds(n)&&(zn=!0))}function wb(n,o,r,f){fe=n;var g=0;do{if(Ls&&(Hr=null),Wu=0,Ls=!1,25<=g)throw Error(c(301));if(g+=1,Mn=Xe=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}U.H=zb,v=o(r,f)}while(Ls);return v}function Ew(){var n=U.H,o=n.useState()[0];return o=typeof o.then=="function"?Hs(o):o,n=n.useState()[0],(Xe!==null?Xe.memoizedState:null)!==n&&(fe.flags|=1024),o}function op(){var n=$f!==0;return $f=0,n}function Ns(n,o,r){o.updateQueue=n.updateQueue,o.flags&=-2053,n.lanes&=~r}function If(n){if(Us){for(n=n.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Us=!1}nl=0,Mn=Xe=fe=null,Ls=!1,Wu=$f=0,Hr=null}function ea(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mn===null?fe.memoizedState=Mn=n:Mn=Mn.next=n,Mn}function wn(){if(Xe===null){var n=fe.alternate;n=n!==null?n.memoizedState:null}else n=Xe.next;var o=Mn===null?fe.memoizedState:Mn.next;if(o!==null)Mn=o,Xe=n;else{if(n===null)throw fe.alternate===null?Error(c(467)):Error(c(310));Xe=n,n={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},Mn===null?fe.memoizedState=Mn=n:Mn=Mn.next=n}return Mn}function Jf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Hs(n){var o=Wu;return Wu+=1,Hr===null&&(Hr=[]),n=Wg(Hr,n,o),o=fe,(Mn===null?o.memoizedState:Mn.next)===null&&(o=o.alternate,U.H=o===null||o.memoizedState===null?Mb:xp),n}function tc(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Hs(n);if(n.$$typeof===rt)return vt(n)}throw Error(c(438,String(n)))}function lp(n){var o=null,r=fe.updateQueue;if(r!==null&&(o=r.memoCache),o==null){var f=fe.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(o={data:f.data.map(function(g){return g.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),r===null&&(r=Jf(),fe.updateQueue=r),r.memoCache=o,r=o.data[o.index],r===void 0)for(r=o.data[o.index]=Array(n),f=0;f<n;f++)r[f]=St;return o.index++,r}function al(n,o){return typeof o=="function"?o(n):o}function il(n){var o=wn();return rp(o,Xe,n)}function rp(n,o,r){var f=n.queue;if(f===null)throw Error(c(311));f.lastRenderedReducer=r;var g=n.baseQueue,v=f.pending;if(v!==null){if(g!==null){var C=g.next;g.next=v.next,v.next=C}o.baseQueue=g=v,f.pending=null}if(v=n.baseState,g===null)n.memoizedState=v;else{o=g.next;var _=C=null,V=null,nt=o,ft=!1;do{var yt=nt.lane&-536870913;if(yt!==nt.lane?(Se&yt)===yt:(nl&yt)===yt){var at=nt.revertLane;if(at===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:nt.action,hasEagerState:nt.hasEagerState,eagerState:nt.eagerState,next:null}),yt===Mr&&(ft=!0);else if((nl&at)===at){nt=nt.next,at===Mr&&(ft=!0);continue}else yt={lane:0,revertLane:nt.revertLane,gesture:null,action:nt.action,hasEagerState:nt.hasEagerState,eagerState:nt.eagerState,next:null},V===null?(_=V=yt,C=v):V=V.next=yt,fe.lanes|=at,Eo|=at;yt=nt.action,$l&&r(v,yt),v=nt.hasEagerState?nt.eagerState:r(v,yt)}else at={lane:yt,revertLane:nt.revertLane,gesture:nt.gesture,action:nt.action,hasEagerState:nt.hasEagerState,eagerState:nt.eagerState,next:null},V===null?(_=V=at,C=v):V=V.next=at,fe.lanes|=yt,Eo|=yt;nt=nt.next}while(nt!==null&&nt!==o);if(V===null?C=v:V.next=_,!Ea(v,n.memoizedState)&&(zn=!0,ft&&(r=Un,r!==null)))throw r;n.memoizedState=v,n.baseState=C,n.baseQueue=V,f.lastRenderedState=v}return g===null&&(f.lanes=0),[n.memoizedState,f.dispatch]}function sp(n){var o=wn(),r=o.queue;if(r===null)throw Error(c(311));r.lastRenderedReducer=n;var f=r.dispatch,g=r.pending,v=o.memoizedState;if(g!==null){r.pending=null;var C=g=g.next;do v=n(v,C.action),C=C.next;while(C!==g);Ea(v,o.memoizedState)||(zn=!0),o.memoizedState=v,o.baseQueue===null&&(o.baseState=v),r.lastRenderedState=v}return[v,f]}function a0(n,o,r){var f=fe,g=wn(),v=Ce;if(v){if(r===void 0)throw Error(c(407));r=r()}else r=o();var C=!Ea((Xe||g).memoizedState,r);if(C&&(g.memoizedState=r,zn=!0),g=g.queue,hp(up.bind(null,f,g,n),[n]),g.getSnapshot!==o||C||Mn!==null&&Mn.memoizedState.tag&1){if(f.flags|=2048,Bs(9,{destroy:void 0},i0.bind(null,f,g,r,o),null),Je===null)throw Error(c(349));v||(nl&127)!==0||Ff(f,o,r)}return r}function Ff(n,o,r){n.flags|=16384,n={getSnapshot:o,value:r},o=fe.updateQueue,o===null?(o=Jf(),fe.updateQueue=o,o.stores=[n]):(r=o.stores,r===null?o.stores=[n]:r.push(n))}function i0(n,o,r,f){o.value=r,o.getSnapshot=f,cp(o)&&fp(n)}function up(n,o,r){return r(function(){cp(o)&&fp(n)})}function cp(n){var o=n.getSnapshot;n=n.value;try{var r=o();return!Ea(n,r)}catch{return!0}}function fp(n){var o=Vl(n,2);o!==null&&Xa(o,n,2)}function o0(n){var o=ea();if(typeof n=="function"){var r=n;if(n=r(),$l){fi(!0);try{r()}finally{fi(!1)}}}return o.memoizedState=o.baseState=n,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:n},o}function na(n,o,r,f){return n.baseState=r,rp(n,Xe,typeof f=="function"?f:al)}function Eb(n,o,r,f,g){if(nd(n))throw Error(c(485));if(n=o.action,n!==null){var v={payload:g,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){v.listeners.push(C)}};U.T!==null?r(!0):v.isTransition=!1,f(v),r=o.pending,r===null?(v.next=o.pending=v,l0(o,v)):(v.next=r.next,o.pending=r.next=v)}}function l0(n,o){var r=o.action,f=o.payload,g=n.state;if(o.isTransition){var v=U.T,C={};U.T=C;try{var _=r(g,f),V=U.S;V!==null&&V(C,_),r0(n,o,_)}catch(nt){Vs(n,o,nt)}finally{v!==null&&C.types!==null&&(v.types=C.types),U.T=v}}else try{v=r(g,f),r0(n,o,v)}catch(nt){Vs(n,o,nt)}}function r0(n,o,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(f){s0(n,o,f)},function(f){return Vs(n,o,f)}):s0(n,o,r)}function s0(n,o,r){o.status="fulfilled",o.value=r,u0(o),n.state=r,o=n.pending,o!==null&&(r=o.next,r===o?n.pending=null:(r=r.next,o.next=r,l0(n,r)))}function Vs(n,o,r){var f=n.pending;if(n.pending=null,f!==null){f=f.next;do o.status="rejected",o.reason=r,u0(o),o=o.next;while(o!==f)}n.action=null}function u0(n){n=n.listeners;for(var o=0;o<n.length;o++)(0,n[o])()}function Pf(n,o){return o}function c0(n,o){if(Ce){var r=Je.formState;if(r!==null){t:{var f=fe;if(Ce){if(tn){e:{for(var g=tn,v=Bn;g.nodeType!==8;){if(!v){g=null;break e}if(g=Qa(g.nextSibling),g===null){g=null;break e}}v=g.data,g=v==="F!"||v==="F"?g:null}if(g){tn=Qa(g.nextSibling),f=g.data==="F!";break t}}$i(f)}f=!1}f&&(o=r[0])}}return r=ea(),r.memoizedState=r.baseState=o,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pf,lastRenderedState:o},r.queue=f,r=vp.bind(null,fe,f),f.dispatch=r,f=o0(!1),v=Vr.bind(null,fe,!1,f.queue),f=ea(),g={state:o,dispatch:null,action:n,pending:null},f.queue=g,r=Eb.bind(null,fe,g,v,r),g.dispatch=r,f.memoizedState=n,[o,r,!1]}function Tb(n){var o=wn();return Wf(o,Xe,n)}function Wf(n,o,r){if(o=rp(n,o,Pf)[0],n=il(al)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var f=Hs(o)}catch(C){throw C===zr?Ku:C}else f=o;o=wn();var g=o.queue,v=g.dispatch;return r!==o.memoizedState&&(fe.flags|=2048,Bs(9,{destroy:void 0},f0.bind(null,g,r),null)),[f,v,n]}function f0(n,o){n.action=o}function d0(n){var o=wn(),r=Xe;if(r!==null)return Wf(o,r,n);wn(),o=o.memoizedState,r=wn();var f=r.queue.dispatch;return r.memoizedState=n,[o,f,!1]}function Bs(n,o,r,f){return n={tag:n,create:r,deps:f,inst:o,next:null},o=fe.updateQueue,o===null&&(o=Jf(),fe.updateQueue=o),r=o.lastEffect,r===null?o.lastEffect=n.next=n:(f=r.next,r.next=n,n.next=f,o.lastEffect=n),n}function h0(){return wn().memoizedState}function ec(n,o,r,f){var g=ea();fe.flags|=n,g.memoizedState=Bs(1|o,{destroy:void 0},r,f===void 0?null:f)}function nc(n,o,r,f){var g=wn();f=f===void 0?null:f;var v=g.memoizedState.inst;Xe!==null&&f!==null&&Kl(f,Xe.memoizedState.deps)?g.memoizedState=Bs(o,v,r,f):(fe.flags|=n,g.memoizedState=Bs(1|o,v,r,f))}function dp(n,o){ec(8390656,8,n,o)}function hp(n,o){nc(2048,8,n,o)}function p0(n){fe.flags|=4;var o=fe.updateQueue;if(o===null)o=Jf(),fe.updateQueue=o,o.events=[n];else{var r=o.events;r===null?o.events=[n]:r.push(n)}}function td(n){var o=wn().memoizedState;return p0({ref:o,nextImpl:n}),function(){if((Ne&2)!==0)throw Error(c(440));return o.impl.apply(void 0,arguments)}}function pp(n,o){return nc(4,2,n,o)}function m0(n,o){return nc(4,4,n,o)}function mp(n,o){if(typeof o=="function"){n=n();var r=o(n);return function(){typeof r=="function"?r():o(null)}}if(o!=null)return n=n(),o.current=n,function(){o.current=null}}function g0(n,o,r){r=r!=null?r.concat([n]):null,nc(4,4,mp.bind(null,o,n),r)}function vo(){}function gp(n,o){var r=wn();o=o===void 0?null:o;var f=r.memoizedState;return o!==null&&Kl(o,f[1])?f[0]:(r.memoizedState=[n,o],n)}function Ab(n,o){var r=wn();o=o===void 0?null:o;var f=r.memoizedState;if(o!==null&&Kl(o,f[1]))return f[0];if(f=n(),$l){fi(!0);try{n()}finally{fi(!1)}}return r.memoizedState=[f,o],f}function ed(n,o,r){return r===void 0||(nl&1073741824)!==0&&(Se&261930)===0?n.memoizedState=o:(n.memoizedState=r,n=Bb(),fe.lanes|=n,Eo|=n,r)}function ol(n,o,r,f){return Ea(r,o)?r:Yn.current!==null?(n=ed(n,r,f),Ea(n,o)||(zn=!0),n):(nl&42)===0||(nl&1073741824)!==0&&(Se&261930)===0?(zn=!0,n.memoizedState=r):(n=Bb(),fe.lanes|=n,Eo|=n,o)}function yp(n,o,r,f,g){var v=F.p;F.p=v!==0&&8>v?v:8;var C=U.T,_={};U.T=_,Vr(n,!1,o,r);try{var V=g(),nt=U.S;if(nt!==null&&nt(_,V),V!==null&&typeof V=="object"&&typeof V.then=="function"){var ft=qf(V,f);Il(n,o,ft,ni(n))}else Il(n,o,f,ni(n))}catch(yt){Il(n,o,{then:function(){},status:"rejected",reason:yt},ni())}finally{F.p=v,C!==null&&_.types!==null&&(C.types=_.types),U.T=C}}function Cb(){}function ac(n,o,r,f){if(n.tag!==5)throw Error(c(476));var g=ic(n).queue;yp(n,g,o,P,r===null?Cb:function(){return Ie(n),r(f)})}function ic(n){var o=n.memoizedState;if(o!==null)return o;o={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:P},next:null};var r={};return o.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:r},next:null},n.memoizedState=o,n=n.alternate,n!==null&&(n.memoizedState=o),o}function Ie(n){var o=ic(n);o.next===null&&(o=n.alternate.memoizedState),Il(n,o.next.queue,{},ni())}function y0(){return vt(zd)}function Rb(){return wn().memoizedState}function v0(){return wn().memoizedState}function ll(n){for(var o=n.return;o!==null;){switch(o.tag){case 24:case 3:var r=ni();n=Zl(r);var f=Si(o,n,r);f!==null&&(Xa(f,o,r),Ur(f,o,r)),o={cache:Hf()},n.payload=o;return}o=o.return}}function Db(n,o,r){var f=ni();r={lane:f,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},nd(n)?bp(o,r):(r=Qi(n,o,r,f),r!==null&&(Xa(r,n,f),b0(r,o,f)))}function vp(n,o,r){var f=ni();Il(n,o,r,f)}function Il(n,o,r,f){var g={lane:f,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(nd(n))bp(o,g);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=o.lastRenderedReducer,v!==null))try{var C=o.lastRenderedState,_=v(C,r);if(g.hasEagerState=!0,g.eagerState=_,Ea(_,C))return gi(n,o,g,0),Je===null&&mi(),!1}catch{}if(r=Qi(n,o,g,f),r!==null)return Xa(r,n,f),b0(r,o,f),!0}return!1}function Vr(n,o,r,f){if(f={lane:2,revertLane:Qp(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},nd(n)){if(o)throw Error(c(479))}else o=Qi(n,r,f,2),o!==null&&Xa(o,n,2)}function nd(n){var o=n.alternate;return n===fe||o!==null&&o===fe}function bp(n,o){Ls=Us=!0;var r=n.pending;r===null?o.next=o:(o.next=r.next,r.next=o),n.pending=o}function b0(n,o,r){if((r&4194048)!==0){var f=o.lanes;f&=n.pendingLanes,r|=f,o.lanes=r,Yo(n,r)}}var ad={readContext:vt,use:tc,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useLayoutEffect:gn,useInsertionEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useSyncExternalStore:gn,useId:gn,useHostTransitionStatus:gn,useFormState:gn,useActionState:gn,useOptimistic:gn,useMemoCache:gn,useCacheRefresh:gn};ad.useEffectEvent=gn;var Mb={readContext:vt,use:tc,useCallback:function(n,o){return ea().memoizedState=[n,o===void 0?null:o],n},useContext:vt,useEffect:dp,useImperativeHandle:function(n,o,r){r=r!=null?r.concat([n]):null,ec(4194308,4,mp.bind(null,o,n),r)},useLayoutEffect:function(n,o){return ec(4194308,4,n,o)},useInsertionEffect:function(n,o){ec(4,2,n,o)},useMemo:function(n,o){var r=ea();o=o===void 0?null:o;var f=n();if($l){fi(!0);try{n()}finally{fi(!1)}}return r.memoizedState=[f,o],f},useReducer:function(n,o,r){var f=ea();if(r!==void 0){var g=r(o);if($l){fi(!0);try{r(o)}finally{fi(!1)}}}else g=o;return f.memoizedState=f.baseState=g,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:g},f.queue=n,n=n.dispatch=Db.bind(null,fe,n),[f.memoizedState,n]},useRef:function(n){var o=ea();return n={current:n},o.memoizedState=n},useState:function(n){n=o0(n);var o=n.queue,r=vp.bind(null,fe,o);return o.dispatch=r,[n.memoizedState,r]},useDebugValue:vo,useDeferredValue:function(n,o){var r=ea();return ed(r,n,o)},useTransition:function(){var n=o0(!1);return n=yp.bind(null,fe,n.queue,!0,!1),ea().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,o,r){var f=fe,g=ea();if(Ce){if(r===void 0)throw Error(c(407));r=r()}else{if(r=o(),Je===null)throw Error(c(349));(Se&127)!==0||Ff(f,o,r)}g.memoizedState=r;var v={value:r,getSnapshot:o};return g.queue=v,dp(up.bind(null,f,v,n),[n]),f.flags|=2048,Bs(9,{destroy:void 0},i0.bind(null,f,v,r,o),null),r},useId:function(){var n=ea(),o=Je.identifierPrefix;if(Ce){var r=po,f=Pa;r=(f&~(1<<32-Jn(f)-1)).toString(32)+r,o="_"+o+"R_"+r,r=$f++,0<r&&(o+="H"+r.toString(32)),o+="_"}else r=Sb++,o="_"+o+"r_"+r.toString(32)+"_";return n.memoizedState=o},useHostTransitionStatus:y0,useFormState:c0,useActionState:c0,useOptimistic:function(n){var o=ea();o.memoizedState=o.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=r,o=Vr.bind(null,fe,!0,r),r.dispatch=o,[n,o]},useMemoCache:lp,useCacheRefresh:function(){return ea().memoizedState=ll.bind(null,fe)},useEffectEvent:function(n){var o=ea(),r={impl:n};return o.memoizedState=r,function(){if((Ne&2)!==0)throw Error(c(440));return r.impl.apply(void 0,arguments)}}},xp={readContext:vt,use:tc,useCallback:gp,useContext:vt,useEffect:hp,useImperativeHandle:g0,useInsertionEffect:pp,useLayoutEffect:m0,useMemo:Ab,useReducer:il,useRef:h0,useState:function(){return il(al)},useDebugValue:vo,useDeferredValue:function(n,o){var r=wn();return ol(r,Xe.memoizedState,n,o)},useTransition:function(){var n=il(al)[0],o=wn().memoizedState;return[typeof n=="boolean"?n:Hs(n),o]},useSyncExternalStore:a0,useId:Rb,useHostTransitionStatus:y0,useFormState:Tb,useActionState:Tb,useOptimistic:function(n,o){var r=wn();return na(r,Xe,n,o)},useMemoCache:lp,useCacheRefresh:v0};xp.useEffectEvent=td;var zb={readContext:vt,use:tc,useCallback:gp,useContext:vt,useEffect:hp,useImperativeHandle:g0,useInsertionEffect:pp,useLayoutEffect:m0,useMemo:Ab,useReducer:sp,useRef:h0,useState:function(){return sp(al)},useDebugValue:vo,useDeferredValue:function(n,o){var r=wn();return Xe===null?ed(r,n,o):ol(r,Xe.memoizedState,n,o)},useTransition:function(){var n=sp(al)[0],o=wn().memoizedState;return[typeof n=="boolean"?n:Hs(n),o]},useSyncExternalStore:a0,useId:Rb,useHostTransitionStatus:y0,useFormState:d0,useActionState:d0,useOptimistic:function(n,o){var r=wn();return Xe!==null?na(r,Xe,n,o):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:lp,useCacheRefresh:v0};zb.useEffectEvent=td;function Ys(n,o,r,f){o=n.memoizedState,r=r(f,o),r=r==null?o:A({},o,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var Ki={enqueueSetState:function(n,o,r){n=n._reactInternals;var f=ni(),g=Zl(f);g.payload=o,r!=null&&(g.callback=r),o=Si(n,g,f),o!==null&&(Xa(o,n,f),Ur(o,n,f))},enqueueReplaceState:function(n,o,r){n=n._reactInternals;var f=ni(),g=Zl(f);g.tag=1,g.payload=o,r!=null&&(g.callback=r),o=Si(n,g,f),o!==null&&(Xa(o,n,f),Ur(o,n,f))},enqueueForceUpdate:function(n,o){n=n._reactInternals;var r=ni(),f=Zl(r);f.tag=2,o!=null&&(f.callback=o),o=Si(n,f,r),o!==null&&(Xa(o,n,r),Ur(o,n,r))}};function x0(n,o,r,f,g,v,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,v,C):o.prototype&&o.prototype.isPureReactComponent?!qi(r,f)||!qi(g,v):!0}function Ob(n,o,r,f){n=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(r,f),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(r,f),o.state!==n&&Ki.enqueueReplaceState(o,o.state,null)}function Br(n,o){var r=o;if("ref"in o){r={};for(var f in o)f!=="ref"&&(r[f]=o[f])}if(n=n.defaultProps){r===o&&(r=A({},r));for(var g in n)r[g]===void 0&&(r[g]=n[g])}return r}function Sp(n){As(n)}function S0(n){console.error(n)}function wp(n){As(n)}function oc(n,o){try{var r=n.onUncaughtError;r(o.value,{componentStack:o.stack})}catch(f){setTimeout(function(){throw f})}}function id(n,o,r){try{var f=n.onCaughtError;f(r.value,{componentStack:r.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function w0(n,o,r){return r=Zl(r),r.tag=3,r.payload={element:null},r.callback=function(){oc(n,o)},r}function E0(n){return n=Zl(n),n.tag=3,n}function T0(n,o,r,f){var g=r.type.getDerivedStateFromError;if(typeof g=="function"){var v=f.value;n.payload=function(){return g(v)},n.callback=function(){id(o,r,f)}}var C=r.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){id(o,r,f),typeof g!="function"&&(cn===null?cn=new Set([this]):cn.add(this));var _=f.stack;this.componentDidCatch(f.value,{componentStack:_!==null?_:""})})}function Tw(n,o,r,f,g){if(r.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(o=r.alternate,o!==null&&ta(o,r,g,!0),r=Na.current,r!==null){switch(r.tag){case 31:case 13:return wi===null?Yp():r.alternate===null&&nn===0&&(nn=3),r.flags&=-257,r.flags|=65536,r.lanes=g,f===_s?r.flags|=16384:(o=r.updateQueue,o===null?r.updateQueue=new Set([f]):o.add(f),vd(n,f,g)),!1;case 22:return r.flags|=65536,f===_s?r.flags|=16384:(o=r.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([f])},r.updateQueue=o):(r=o.retryQueue,r===null?o.retryQueue=new Set([f]):r.add(f)),vd(n,f,g)),!1}throw Error(c(435,r.tag))}return vd(n,f,g),Yp(),!1}if(Ce)return o=Na.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=g,f!==Fo&&(n=Error(c(422),{cause:f}),Zu(yi(n,r)))):(f!==Fo&&(o=Error(c(423),{cause:f}),Zu(yi(o,r))),n=n.current.alternate,n.flags|=65536,g&=-g,n.lanes|=g,f=yi(f,r),g=w0(n.stateNode,f,g),ep(n,g),nn!==4&&(nn=2)),!1;var v=Error(c(520),{cause:f});if(v=yi(v,r),pd===null?pd=[v]:pd.push(v),nn!==4&&(nn=2),o===null)return!0;f=yi(f,r),r=o;do{switch(r.tag){case 3:return r.flags|=65536,n=g&-g,r.lanes|=n,n=w0(r.stateNode,f,n),ep(r,n),!1;case 1:if(o=r.type,v=r.stateNode,(r.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(cn===null||!cn.has(v))))return r.flags|=65536,g&=-g,r.lanes|=g,g=E0(g),T0(g,n,r,f),ep(r,g),!1}r=r.return}while(r!==null);return!1}var Ep=Error(c(461)),zn=!1;function ln(n,o,r,f){o.child=n===null?e0(o,null,r,f):jr(o,n.child,r,f)}function A0(n,o,r,f,g){r=r.render;var v=o.ref;if("ref"in f){var C={};for(var _ in f)_!=="ref"&&(C[_]=f[_])}else C=f;return le(o),f=Kf(n,o,r,C,v,g),_=op(),n!==null&&!zn?(Ns(n,o,g),Ai(n,o,g)):(Ce&&_&&Xu(o),o.flags|=1,ln(n,o,f,g),o.child)}function C0(n,o,r,f,g){if(n===null){var v=r.type;return typeof v=="function"&&!Cs(v)&&v.defaultProps===void 0&&r.compare===null?(o.tag=15,o.type=v,R0(n,o,v,f,g)):(n=Kh(r.type,null,f,o,o.mode,g),n.ref=o.ref,n.return=o,o.child=n)}if(v=n.child,!Cp(n,g)){var C=v.memoizedProps;if(r=r.compare,r=r!==null?r:qi,r(C,f)&&n.ref===o.ref)return Ai(n,o,g)}return o.flags|=1,n=Bl(v,f),n.ref=o.ref,n.return=o,o.child=n}function R0(n,o,r,f,g){if(n!==null){var v=n.memoizedProps;if(qi(v,f)&&n.ref===o.ref)if(zn=!1,o.pendingProps=f=v,Cp(n,g))(n.flags&131072)!==0&&(zn=!0);else return o.lanes=n.lanes,Ai(n,o,g)}return Tp(n,o,r,f,g)}function _b(n,o,r,f){var g=f.children,v=n!==null?n.memoizedState:null;if(n===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((o.flags&128)!==0){if(v=v!==null?v.baseLanes|r:r,n!==null){for(f=o.child=n.child,g=0;f!==null;)g=g|f.lanes|f.childLanes,f=f.sibling;f=g&~v}else f=0,o.child=null;return Va(n,o,v,r,f)}if((r&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},n!==null&&$u(o,v!==null?v.cachePool:null),v!==null?xb(o,v):Zf(),ap(o);else return f=o.lanes=536870912,Va(n,o,v!==null?v.baseLanes|r:r,r,f)}else v!==null?($u(o,v.cachePool),xb(o,v),yo(),o.memoizedState=null):(n!==null&&$u(o,null),Zf(),yo());return ln(n,o,g,r),o.child}function Yr(n,o){return n!==null&&n.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Va(n,o,r,f,g){var v=xi();return v=v===null?null:{parent:Dn._currentValue,pool:v},o.memoizedState={baseLanes:r,cachePool:v},n!==null&&$u(o,null),Zf(),ap(o),n!==null&&ta(n,o,f,!0),o.childLanes=g,null}function od(n,o){return o=sd({mode:o.mode,children:o.children},n.mode),o.ref=n.ref,n.child=o,o.return=n,o}function Ba(n,o,r){return jr(o,n.child,null,r),n=od(o,o.pendingProps),n.flags|=2,Ha(o),o.memoizedState=null,n}function kb(n,o,r){var f=o.pendingProps,g=(o.flags&128)!==0;if(o.flags&=-129,n===null){if(Ce){if(f.mode==="hidden")return n=od(o,f),o.lanes=536870912,Yr(null,n);if(Fu(o),(n=tn)?(n=p1(n,Bn),n=n!==null&&n.data==="&"?n:null,n!==null&&(o.memoizedState={dehydrated:n,treeContext:ho!==null?{id:Pa,overflow:po}:null,retryLane:536870912,hydrationErrors:null},r=Zg(n),r.return=o,o.child=r,Wn=o,tn=null)):n=null,n===null)throw $i(o);return o.lanes=536870912,null}return od(o,f)}var v=n.memoizedState;if(v!==null){var C=v.dehydrated;if(Fu(o),g)if(o.flags&256)o.flags&=-257,o=Ba(n,o,r);else if(o.memoizedState!==null)o.child=n.child,o.flags|=128,o=null;else throw Error(c(558));else if(zn||ta(n,o,r,!1),g=(r&n.childLanes)!==0,zn||g){if(f=Je,f!==null&&(C=di(f,r),C!==0&&C!==v.retryLane))throw v.retryLane=C,Vl(n,C),Xa(f,n,C),Ep;Yp(),o=Ba(n,o,r)}else n=v.treeContext,tn=Qa(C.nextSibling),Wn=o,Ce=!0,Jo=null,Bn=!1,n!==null&&Uf(o,n),o=od(o,f),o.flags|=4096;return o}return n=Bl(n.child,{mode:f.mode,children:f.children}),n.ref=o.ref,o.child=n,n.return=o,n}function Ei(n,o){var r=o.ref;if(r===null)n!==null&&n.ref!==null&&(o.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(c(284));(n===null||n.ref!==r)&&(o.flags|=4194816)}}function Tp(n,o,r,f,g){return le(o),r=Kf(n,o,r,f,void 0,g),f=op(),n!==null&&!zn?(Ns(n,o,g),Ai(n,o,g)):(Ce&&f&&Xu(o),o.flags|=1,ln(n,o,r,g),o.child)}function qr(n,o,r,f,g,v){return le(o),o.updateQueue=null,r=wb(o,f,r,g),ip(n),f=op(),n!==null&&!zn?(Ns(n,o,v),Ai(n,o,v)):(Ce&&f&&Xu(o),o.flags|=1,ln(n,o,r,v),o.child)}function D0(n,o,r,f,g){if(le(o),o.stateNode===null){var v=ja,C=r.contextType;typeof C=="object"&&C!==null&&(v=vt(C)),v=new r(f,v),o.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Ki,o.stateNode=v,v._reactInternals=o,v=o.stateNode,v.props=f,v.state=o.memoizedState,v.refs={},Qf(o),C=r.contextType,v.context=typeof C=="object"&&C!==null?vt(C):ja,v.state=o.memoizedState,C=r.getDerivedStateFromProps,typeof C=="function"&&(Ys(o,r,C,f),v.state=o.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(C=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),C!==v.state&&Ki.enqueueReplaceState(v,v.state,null),tl(o,f,v,g),Lr(),v.state=o.memoizedState),typeof v.componentDidMount=="function"&&(o.flags|=4194308),f=!0}else if(n===null){v=o.stateNode;var _=o.memoizedProps,V=Br(r,_);v.props=V;var nt=v.context,ft=r.contextType;C=ja,typeof ft=="object"&&ft!==null&&(C=vt(ft));var yt=r.getDerivedStateFromProps;ft=typeof yt=="function"||typeof v.getSnapshotBeforeUpdate=="function",_=o.pendingProps!==_,ft||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_||nt!==C)&&Ob(o,v,f,C),Ql=!1;var at=o.memoizedState;v.state=at,tl(o,f,v,g),Lr(),nt=o.memoizedState,_||at!==nt||Ql?(typeof yt=="function"&&(Ys(o,r,yt,f),nt=o.memoizedState),(V=Ql||x0(o,r,V,f,at,nt,C))?(ft||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(o.flags|=4194308)):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=f,o.memoizedState=nt),v.props=f,v.state=nt,v.context=C,f=V):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),f=!1)}else{v=o.stateNode,tp(n,o),C=o.memoizedProps,ft=Br(r,C),v.props=ft,yt=o.pendingProps,at=v.context,nt=r.contextType,V=ja,typeof nt=="object"&&nt!==null&&(V=vt(nt)),_=r.getDerivedStateFromProps,(nt=typeof _=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==yt||at!==V)&&Ob(o,v,f,V),Ql=!1,at=o.memoizedState,v.state=at,tl(o,f,v,g),Lr();var ut=o.memoizedState;C!==yt||at!==ut||Ql||n!==null&&n.dependencies!==null&&Ds(n.dependencies)?(typeof _=="function"&&(Ys(o,r,_,f),ut=o.memoizedState),(ft=Ql||x0(o,r,ft,f,at,ut,V)||n!==null&&n.dependencies!==null&&Ds(n.dependencies))?(nt||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(f,ut,V),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(f,ut,V)),typeof v.componentDidUpdate=="function"&&(o.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=1024),o.memoizedProps=f,o.memoizedState=ut),v.props=f,v.state=ut,v.context=V,f=ft):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&at===n.memoizedState||(o.flags|=1024),f=!1)}return v=f,Ei(n,o),f=(o.flags&128)!==0,v||f?(v=o.stateNode,r=f&&typeof r.getDerivedStateFromError!="function"?null:v.render(),o.flags|=1,n!==null&&f?(o.child=jr(o,n.child,null,g),o.child=jr(o,null,r,g)):ln(n,o,r,g),o.memoizedState=v.state,n=o.child):n=Ai(n,o,g),n}function bo(n,o,r,f){return Dr(),o.flags|=256,ln(n,o,r,f),o.child}var ld={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function rd(n){return{baseLanes:n,cachePool:zs()}}function Ti(n,o,r){return n=n!==null?n.childLanes&~r:0,o&&(n|=Ga),n}function M0(n,o,r){var f=o.pendingProps,g=!1,v=(o.flags&128)!==0,C;if((C=v)||(C=n!==null&&n.memoizedState===null?!1:(un.current&2)!==0),C&&(g=!0,o.flags&=-129),C=(o.flags&32)!==0,o.flags&=-33,n===null){if(Ce){if(g?el(o):yo(),(n=tn)?(n=p1(n,Bn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(o.memoizedState={dehydrated:n,treeContext:ho!==null?{id:Pa,overflow:po}:null,retryLane:536870912,hydrationErrors:null},r=Zg(n),r.return=o,o.child=r,Wn=o,tn=null)):n=null,n===null)throw $i(o);return Ir(n)?o.lanes=32:o.lanes=536870912,null}var _=f.children;return f=f.fallback,g?(yo(),g=o.mode,_=sd({mode:"hidden",children:_},g),f=Yl(f,g,r,null),_.return=o,f.return=o,_.sibling=f,o.child=_,f=o.child,f.memoizedState=rd(r),f.childLanes=Ti(n,C,r),o.memoizedState=ld,Yr(null,f)):(el(o),Gr(o,_))}var V=n.memoizedState;if(V!==null&&(_=V.dehydrated,_!==null)){if(v)o.flags&256?(el(o),o.flags&=-257,o=qs(n,o,r)):o.memoizedState!==null?(yo(),o.child=n.child,o.flags|=128,o=null):(yo(),_=f.fallback,g=o.mode,f=sd({mode:"visible",children:f.children},g),_=Yl(_,g,r,null),_.flags|=2,f.return=o,_.return=o,f.sibling=_,o.child=f,jr(o,n.child,null,r),f=o.child,f.memoizedState=rd(r),f.childLanes=Ti(n,C,r),o.memoizedState=ld,o=Yr(null,f));else if(el(o),Ir(_)){if(C=_.nextSibling&&_.nextSibling.dataset,C)var nt=C.dgst;C=nt,f=Error(c(419)),f.stack="",f.digest=C,Zu({value:f,source:null,stack:null}),o=qs(n,o,r)}else if(zn||ta(n,o,r,!1),C=(r&n.childLanes)!==0,zn||C){if(C=Je,C!==null&&(f=di(C,r),f!==0&&f!==V.retryLane))throw V.retryLane=f,Vl(n,f),Xa(C,n,f),Ep;Fi(_)||Yp(),o=qs(n,o,r)}else Fi(_)?(o.flags|=192,o.child=n.child,o=null):(n=V.treeContext,tn=Qa(_.nextSibling),Wn=o,Ce=!0,Jo=null,Bn=!1,n!==null&&Uf(o,n),o=Gr(o,f.children),o.flags|=4096);return o}return g?(yo(),_=f.fallback,g=o.mode,V=n.child,nt=V.sibling,f=Bl(V,{mode:"hidden",children:f.children}),f.subtreeFlags=V.subtreeFlags&65011712,nt!==null?_=Bl(nt,_):(_=Yl(_,g,r,null),_.flags|=2),_.return=o,f.return=o,f.sibling=_,o.child=f,Yr(null,f),f=o.child,_=n.child.memoizedState,_===null?_=rd(r):(g=_.cachePool,g!==null?(V=Dn._currentValue,g=g.parent!==V?{parent:V,pool:V}:g):g=zs(),_={baseLanes:_.baseLanes|r,cachePool:g}),f.memoizedState=_,f.childLanes=Ti(n,C,r),o.memoizedState=ld,Yr(n.child,f)):(el(o),r=n.child,n=r.sibling,r=Bl(r,{mode:"visible",children:f.children}),r.return=o,r.sibling=null,n!==null&&(C=o.deletions,C===null?(o.deletions=[n],o.flags|=16):C.push(n)),o.child=r,o.memoizedState=null,r)}function Gr(n,o){return o=sd({mode:"visible",children:o},n.mode),o.return=n,n.child=o}function sd(n,o){return n=xn(22,n,null,o),n.lanes=0,n}function qs(n,o,r){return jr(o,n.child,null,r),n=Gr(o,o.pendingProps.children),n.flags|=2,o.memoizedState=null,n}function Gs(n,o,r){n.lanes|=o;var f=n.alternate;f!==null&&(f.lanes|=o),Ph(n.return,o,r)}function Ap(n,o,r,f,g,v){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:f,tail:r,tailMode:g,treeForkCount:v}:(C.isBackwards=o,C.rendering=null,C.renderingStartTime=0,C.last=f,C.tail=r,C.tailMode=g,C.treeForkCount=v)}function z0(n,o,r){var f=o.pendingProps,g=f.revealOrder,v=f.tail;f=f.children;var C=un.current,_=(C&2)!==0;if(_?(C=C&1|2,o.flags|=128):C&=1,ht(un,C),ln(n,o,f,r),f=Ce?Rn:0,!_&&n!==null&&(n.flags&128)!==0)t:for(n=o.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Gs(n,r,o);else if(n.tag===19)Gs(n,r,o);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===o)break t;for(;n.sibling===null;){if(n.return===null||n.return===o)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(g){case"forwards":for(r=o.child,g=null;r!==null;)n=r.alternate,n!==null&&Pu(n)===null&&(g=r),r=r.sibling;r=g,r===null?(g=o.child,o.child=null):(g=r.sibling,r.sibling=null),Ap(o,!1,g,r,v,f);break;case"backwards":case"unstable_legacy-backwards":for(r=null,g=o.child,o.child=null;g!==null;){if(n=g.alternate,n!==null&&Pu(n)===null){o.child=g;break}n=g.sibling,g.sibling=r,r=g,g=n}Ap(o,!0,r,null,v,f);break;case"together":Ap(o,!1,null,null,void 0,f);break;default:o.memoizedState=null}return o.child}function Ai(n,o,r){if(n!==null&&(o.dependencies=n.dependencies),Eo|=o.lanes,(r&o.childLanes)===0)if(n!==null){if(ta(n,o,r,!1),(r&o.childLanes)===0)return null}else return null;if(n!==null&&o.child!==n.child)throw Error(c(153));if(o.child!==null){for(n=o.child,r=Bl(n,n.pendingProps),o.child=r,r.return=o;n.sibling!==null;)n=n.sibling,r=r.sibling=Bl(n,n.pendingProps),r.return=o;r.sibling=null}return o.child}function Cp(n,o){return(n.lanes&o)!==0?!0:(n=n.dependencies,!!(n!==null&&Ds(n)))}function Rp(n,o,r){switch(o.tag){case 3:$e(o,o.stateNode.containerInfo),La(o,Dn,n.memoizedState.cache),Dr();break;case 27:case 5:In(o);break;case 4:$e(o,o.stateNode.containerInfo);break;case 10:La(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,Fu(o),null;break;case 13:var f=o.memoizedState;if(f!==null)return f.dehydrated!==null?(el(o),o.flags|=128,null):(r&o.child.childLanes)!==0?M0(n,o,r):(el(o),n=Ai(n,o,r),n!==null?n.sibling:null);el(o);break;case 19:var g=(n.flags&128)!==0;if(f=(r&o.childLanes)!==0,f||(ta(n,o,r,!1),f=(r&o.childLanes)!==0),g){if(f)return z0(n,o,r);o.flags|=128}if(g=o.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),ht(un,un.current),f)break;return null;case 22:return o.lanes=0,_b(n,o,r,o.pendingProps);case 24:La(o,Dn,n.memoizedState.cache)}return Ai(n,o,r)}function O0(n,o,r){if(n!==null)if(n.memoizedProps!==o.pendingProps)zn=!0;else{if(!Cp(n,r)&&(o.flags&128)===0)return zn=!1,Rp(n,o,r);zn=(n.flags&131072)!==0}else zn=!1,Ce&&(o.flags&1048576)!==0&&Kg(o,Rn,o.index);switch(o.lanes=0,o.tag){case 16:t:{var f=o.pendingProps;if(n=Or(o.elementType),o.type=n,typeof n=="function")Cs(n)?(f=Br(n,f),o.tag=1,o=D0(null,o,n,f,r)):(o.tag=0,o=Tp(null,o,n,f,r));else{if(n!=null){var g=n.$$typeof;if(g===ct){o.tag=11,o=A0(null,o,n,f,r);break t}else if(g===bt){o.tag=14,o=C0(null,o,n,f,r);break t}}throw o=Et(n)||n,Error(c(306,o,""))}}return o;case 0:return Tp(n,o,o.type,o.pendingProps,r);case 1:return f=o.type,g=Br(f,o.pendingProps),D0(n,o,f,g,r);case 3:t:{if($e(o,o.stateNode.containerInfo),n===null)throw Error(c(387));f=o.pendingProps;var v=o.memoizedState;g=v.element,tp(n,o),tl(o,f,null,r);var C=o.memoizedState;if(f=C.cache,La(o,Dn,f),f!==v.cache&&Wo(o,[Dn],r,!0),Lr(),f=C.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:C.cache},o.updateQueue.baseState=v,o.memoizedState=v,o.flags&256){o=bo(n,o,f,r);break t}else if(f!==g){g=yi(Error(c(424)),o),Zu(g),o=bo(n,o,f,r);break t}else for(n=o.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,tn=Qa(n.firstChild),Wn=o,Ce=!0,Jo=null,Bn=!0,r=e0(o,null,f,r),o.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Dr(),f===g){o=Ai(n,o,r);break t}ln(n,o,f,r)}o=o.child}return o;case 26:return Ei(n,o),n===null?(r=Rc(o.type,null,o.pendingProps,null))?o.memoizedState=r:Ce||(r=o.type,n=o.pendingProps,f=Kr(ae.current).createElement(r),f[Ke]=o,f[Oa]=n,ma(f,r,n),qe(f),o.stateNode=f):o.memoizedState=Rc(o.type,n.memoizedProps,o.pendingProps,n.memoizedState),null;case 27:return In(o),n===null&&Ce&&(f=o.stateNode=Ac(o.type,o.pendingProps,ae.current),Wn=o,Bn=!0,g=tn,Ao(o.type)?(Rd=g,tn=Qa(f.firstChild)):tn=g),ln(n,o,o.pendingProps.children,r),Ei(n,o),n===null&&(o.flags|=4194304),o.child;case 5:return n===null&&Ce&&((g=f=tn)&&(f=Rw(f,o.type,o.pendingProps,Bn),f!==null?(o.stateNode=f,Wn=o,tn=Qa(f.firstChild),Bn=!1,g=!0):g=!1),g||$i(o)),In(o),g=o.type,v=o.pendingProps,C=n!==null?n.memoizedProps:null,f=v.children,Ec(g,v)?f=null:C!==null&&Ec(g,C)&&(o.flags|=32),o.memoizedState!==null&&(g=Kf(n,o,Ew,null,null,r),zd._currentValue=g),Ei(n,o),ln(n,o,f,r),o.child;case 6:return n===null&&Ce&&((n=r=tn)&&(r=ge(r,o.pendingProps,Bn),r!==null?(o.stateNode=r,Wn=o,tn=null,n=!0):n=!1),n||$i(o)),null;case 13:return M0(n,o,r);case 4:return $e(o,o.stateNode.containerInfo),f=o.pendingProps,n===null?o.child=jr(o,null,f,r):ln(n,o,f,r),o.child;case 11:return A0(n,o,o.type,o.pendingProps,r);case 7:return ln(n,o,o.pendingProps,r),o.child;case 8:return ln(n,o,o.pendingProps.children,r),o.child;case 12:return ln(n,o,o.pendingProps.children,r),o.child;case 10:return f=o.pendingProps,La(o,o.type,f.value),ln(n,o,f.children,r),o.child;case 9:return g=o.type._context,f=o.pendingProps.children,le(o),g=vt(g),f=f(g),o.flags|=1,ln(n,o,f,r),o.child;case 14:return C0(n,o,o.type,o.pendingProps,r);case 15:return R0(n,o,o.type,o.pendingProps,r);case 19:return z0(n,o,r);case 31:return kb(n,o,r);case 22:return _b(n,o,r,o.pendingProps);case 24:return le(o),f=vt(Dn),n===null?(g=xi(),g===null&&(g=Je,v=Hf(),g.pooledCache=v,v.refCount++,v!==null&&(g.pooledCacheLanes|=r),g=v),o.memoizedState={parent:f,cache:g},Qf(o),La(o,Dn,g)):((n.lanes&r)!==0&&(tp(n,o),tl(o,null,null,r),Lr()),g=n.memoizedState,v=o.memoizedState,g.parent!==f?(g={parent:f,cache:f},o.memoizedState=g,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=g),La(o,Dn,f)):(f=v.cache,La(o,Dn,f),f!==g.cache&&Wo(o,[Dn],r,!0))),ln(n,o,o.pendingProps.children,r),o.child;case 29:throw o.pendingProps}throw Error(c(156,o.tag))}function rl(n){n.flags|=4}function _0(n,o,r,f,g){if((o=(n.mode&32)!==0)&&(o=!1),o){if(n.flags|=16777216,(g&335544128)===g)if(n.stateNode.complete)n.flags|=8192;else if(Gb())n.flags|=8192;else throw _r=_s,Os}else n.flags&=-16777217}function k0(n,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!ii(o))if(Gb())n.flags|=8192;else throw _r=_s,Os}function Ta(n,o){o!==null&&(n.flags|=4),n.flags&16384&&(o=n.tag!==22?Sa():536870912,n.lanes|=o,yn|=o)}function lc(n,o){if(!Ce)switch(n.tailMode){case"hidden":o=n.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var f=null;r!==null;)r.alternate!==null&&(f=r),r=r.sibling;f===null?o||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function ie(n){var o=n.alternate!==null&&n.alternate.child===n.child,r=0,f=0;if(o)for(var g=n.child;g!==null;)r|=g.lanes|g.childLanes,f|=g.subtreeFlags&65011712,f|=g.flags&65011712,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)r|=g.lanes|g.childLanes,f|=g.subtreeFlags,f|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=f,n.childLanes=r,o}function jb(n,o,r){var f=o.pendingProps;switch(Jh(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(o),null;case 1:return ie(o),null;case 3:return r=o.stateNode,f=null,n!==null&&(f=n.memoizedState.cache),o.memoizedState.cache!==f&&(o.flags|=2048),go(Dn),Ae(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(Po(o)?rl(o):n===null||n.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Ig())),ie(o),null;case 26:var g=o.type,v=o.memoizedState;return n===null?(rl(o),v!==null?(ie(o),k0(o,v)):(ie(o),_0(o,g,null,f,r))):v?v!==n.memoizedState?(rl(o),ie(o),k0(o,v)):(ie(o),o.flags&=-16777217):(n=n.memoizedProps,n!==f&&rl(o),ie(o),_0(o,g,n,f,r)),null;case 27:if(zt(o),r=ae.current,g=o.type,n!==null&&o.stateNode!=null)n.memoizedProps!==f&&rl(o);else{if(!f){if(o.stateNode===null)throw Error(c(166));return ie(o),null}n=mt.current,Po(o)?Lf(o):(n=Ac(g,f,r),o.stateNode=n,rl(o))}return ie(o),null;case 5:if(zt(o),g=o.type,n!==null&&o.stateNode!=null)n.memoizedProps!==f&&rl(o);else{if(!f){if(o.stateNode===null)throw Error(c(166));return ie(o),null}if(v=mt.current,Po(o))Lf(o);else{var C=Kr(ae.current);switch(v){case 1:v=C.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:v=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":v=C.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":v=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":v=C.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof f.is=="string"?C.createElement("select",{is:f.is}):C.createElement("select"),f.multiple?v.multiple=!0:f.size&&(v.size=f.size);break;default:v=typeof f.is=="string"?C.createElement(g,{is:f.is}):C.createElement(g)}}v[Ke]=o,v[Oa]=f;t:for(C=o.child;C!==null;){if(C.tag===5||C.tag===6)v.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===o)break t;for(;C.sibling===null;){if(C.return===null||C.return===o)break t;C=C.return}C.sibling.return=C.return,C=C.sibling}o.stateNode=v;t:switch(ma(v,g,f),g){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break t;case"img":f=!0;break t;default:f=!1}f&&rl(o)}}return ie(o),_0(o,o.type,n===null?null:n.memoizedProps,o.pendingProps,r),null;case 6:if(n&&o.stateNode!=null)n.memoizedProps!==f&&rl(o);else{if(typeof f!="string"&&o.stateNode===null)throw Error(c(166));if(n=ae.current,Po(o)){if(n=o.stateNode,r=o.memoizedProps,f=null,g=Wn,g!==null)switch(g.tag){case 27:case 5:f=g.memoizedProps}n[Ke]=o,n=!!(n.nodeValue===r||f!==null&&f.suppressHydrationWarning===!0||ay(n.nodeValue,r)),n||$i(o,!0)}else n=Kr(n).createTextNode(f),n[Ke]=o,o.stateNode=n}return ie(o),null;case 31:if(r=o.memoizedState,n===null||n.memoizedState!==null){if(f=Po(o),r!==null){if(n===null){if(!f)throw Error(c(318));if(n=o.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(557));n[Ke]=o}else Dr(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ie(o),n=!1}else r=Ig(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),n=!0;if(!n)return o.flags&256?(Ha(o),o):(Ha(o),null);if((o.flags&128)!==0)throw Error(c(558))}return ie(o),null;case 13:if(f=o.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(g=Po(o),f!==null&&f.dehydrated!==null){if(n===null){if(!g)throw Error(c(318));if(g=o.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));g[Ke]=o}else Dr(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ie(o),g=!1}else g=Ig(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=g),g=!0;if(!g)return o.flags&256?(Ha(o),o):(Ha(o),null)}return Ha(o),(o.flags&128)!==0?(o.lanes=r,o):(r=f!==null,n=n!==null&&n.memoizedState!==null,r&&(f=o.child,g=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(g=f.alternate.memoizedState.cachePool.pool),v=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(v=f.memoizedState.cachePool.pool),v!==g&&(f.flags|=2048)),r!==n&&r&&(o.child.flags|=8192),Ta(o,o.updateQueue),ie(o),null);case 4:return Ae(),n===null&&wc(o.stateNode.containerInfo),ie(o),null;case 10:return go(o.type),ie(o),null;case 19:if(et(un),f=o.memoizedState,f===null)return ie(o),null;if(g=(o.flags&128)!==0,v=f.rendering,v===null)if(g)lc(f,!1);else{if(nn!==0||n!==null&&(n.flags&128)!==0)for(n=o.child;n!==null;){if(v=Pu(n),v!==null){for(o.flags|=128,lc(f,!1),n=v.updateQueue,o.updateQueue=n,Ta(o,n),o.subtreeFlags=0,n=r,r=o.child;r!==null;)Qg(r,n),r=r.sibling;return ht(un,un.current&1|2),Ce&&Zi(o,f.treeForkCount),o.child}n=n.sibling}f.tail!==null&&jn()>Be&&(o.flags|=128,g=!0,lc(f,!1),o.lanes=4194304)}else{if(!g)if(n=Pu(v),n!==null){if(o.flags|=128,g=!0,n=n.updateQueue,o.updateQueue=n,Ta(o,n),lc(f,!0),f.tail===null&&f.tailMode==="hidden"&&!v.alternate&&!Ce)return ie(o),null}else 2*jn()-f.renderingStartTime>Be&&r!==536870912&&(o.flags|=128,g=!0,lc(f,!1),o.lanes=4194304);f.isBackwards?(v.sibling=o.child,o.child=v):(n=f.last,n!==null?n.sibling=v:o.child=v,f.last=v)}return f.tail!==null?(n=f.tail,f.rendering=n,f.tail=n.sibling,f.renderingStartTime=jn(),n.sibling=null,r=un.current,ht(un,g?r&1|2:r&1),Ce&&Zi(o,f.treeForkCount),n):(ie(o),null);case 22:case 23:return Ha(o),Ju(),f=o.memoizedState!==null,n!==null?n.memoizedState!==null!==f&&(o.flags|=8192):f&&(o.flags|=8192),f?(r&536870912)!==0&&(o.flags&128)===0&&(ie(o),o.subtreeFlags&6&&(o.flags|=8192)):ie(o),r=o.updateQueue,r!==null&&Ta(o,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==r&&(o.flags|=2048),n!==null&&et(bi),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),o.memoizedState.cache!==r&&(o.flags|=2048),go(Dn),ie(o),null;case 25:return null;case 30:return null}throw Error(c(156,o.tag))}function Ub(n,o){switch(Jh(o),o.tag){case 1:return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 3:return go(Dn),Ae(),n=o.flags,(n&65536)!==0&&(n&128)===0?(o.flags=n&-65537|128,o):null;case 26:case 27:case 5:return zt(o),null;case 31:if(o.memoizedState!==null){if(Ha(o),o.alternate===null)throw Error(c(340));Dr()}return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 13:if(Ha(o),n=o.memoizedState,n!==null&&n.dehydrated!==null){if(o.alternate===null)throw Error(c(340));Dr()}return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 19:return et(un),null;case 4:return Ae(),null;case 10:return go(o.type),null;case 22:case 23:return Ha(o),Ju(),n!==null&&et(bi),n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 24:return go(Dn),null;case 25:return null;default:return null}}function Lb(n,o){switch(Jh(o),o.tag){case 3:go(Dn),Ae();break;case 26:case 27:case 5:zt(o);break;case 4:Ae();break;case 31:o.memoizedState!==null&&Ha(o);break;case 13:Ha(o);break;case 19:et(un);break;case 10:go(o.type);break;case 22:case 23:Ha(o),Ju(),n!==null&&et(bi);break;case 24:go(Dn)}}function Ii(n,o){try{var r=o.updateQueue,f=r!==null?r.lastEffect:null;if(f!==null){var g=f.next;r=g;do{if((r.tag&n)===n){f=void 0;var v=r.create,C=r.inst;f=v(),C.destroy=f}r=r.next}while(r!==g)}}catch(_){Ze(o,o.return,_)}}function Ci(n,o,r){try{var f=o.updateQueue,g=f!==null?f.lastEffect:null;if(g!==null){var v=g.next;f=v;do{if((f.tag&n)===n){var C=f.inst,_=C.destroy;if(_!==void 0){C.destroy=void 0,g=o;var V=r,nt=_;try{nt()}catch(ft){Ze(g,V,ft)}}}f=f.next}while(f!==v)}}catch(ft){Ze(o,o.return,ft)}}function Dp(n){var o=n.updateQueue;if(o!==null){var r=n.stateNode;try{Nr(o,r)}catch(f){Ze(n,n.return,f)}}}function Xr(n,o,r){r.props=Br(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(f){Ze(n,o,f)}}function sl(n,o){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var f=n.stateNode;break;case 30:f=n.stateNode;break;default:f=n.stateNode}typeof r=="function"?n.refCleanup=r(f):r.current=f}}catch(g){Ze(n,o,g)}}function xo(n,o){var r=n.ref,f=n.refCleanup;if(r!==null)if(typeof f=="function")try{f()}catch(g){Ze(n,o,g)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(g){Ze(n,o,g)}else r.current=null}function j0(n){var o=n.type,r=n.memoizedProps,f=n.stateNode;try{t:switch(o){case"button":case"input":case"select":case"textarea":r.autoFocus&&f.focus();break t;case"img":r.src?f.src=r.src:r.srcSet&&(f.srcset=r.srcSet)}}catch(g){Ze(n,n.return,g)}}function Mp(n,o,r){try{var f=n.stateNode;oy(f,n.type,r,o),f[Oa]=o}catch(g){Ze(n,n.return,g)}}function U0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ao(n.type)||n.tag===4}function rc(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||U0(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&&Ao(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 sc(n,o,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,o?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,o):(o=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,o.appendChild(n),r=r._reactRootContainer,r!=null||o.onclick!==null||(o.onclick=oo));else if(f!==4&&(f===27&&Ao(n.type)&&(r=n.stateNode,o=null),n=n.child,n!==null))for(sc(n,o,r),n=n.sibling;n!==null;)sc(n,o,r),n=n.sibling}function uc(n,o,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,o?r.insertBefore(n,o):r.appendChild(n);else if(f!==4&&(f===27&&Ao(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(uc(n,o,r),n=n.sibling;n!==null;)uc(n,o,r),n=n.sibling}function L0(n){var o=n.stateNode,r=n.memoizedProps;try{for(var f=n.type,g=o.attributes;g.length;)o.removeAttributeNode(g[0]);ma(o,f,r),o[Ke]=n,o[Oa]=r}catch(v){Ze(n,n.return,v)}}var Jl=!1,Ln=!1,zp=!1,N0=typeof WeakSet=="function"?WeakSet:Set,aa=null;function cc(n,o){if(n=n.containerInfo,Jp=Gn,n=Ar(n),Mf(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else t:{r=(r=n.ownerDocument)&&r.defaultView||window;var f=r.getSelection&&r.getSelection();if(f&&f.rangeCount!==0){r=f.anchorNode;var g=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{r.nodeType,v.nodeType}catch{r=null;break t}var C=0,_=-1,V=-1,nt=0,ft=0,yt=n,at=null;e:for(;;){for(var ut;yt!==r||g!==0&&yt.nodeType!==3||(_=C+g),yt!==v||f!==0&&yt.nodeType!==3||(V=C+f),yt.nodeType===3&&(C+=yt.nodeValue.length),(ut=yt.firstChild)!==null;)at=yt,yt=ut;for(;;){if(yt===n)break e;if(at===r&&++nt===g&&(_=C),at===v&&++ft===f&&(V=C),(ut=yt.nextSibling)!==null)break;yt=at,at=yt.parentNode}yt=ut}r=_===-1||V===-1?null:{start:_,end:V}}else r=null}r=r||{start:0,end:0}}else r=null;for(Fp={focusedElem:n,selectionRange:r},Gn=!1,aa=o;aa!==null;)if(o=aa,n=o.child,(o.subtreeFlags&1028)!==0&&n!==null)n.return=o,aa=n;else for(;aa!==null;){switch(o=aa,v=o.alternate,n=o.flags,o.tag){case 0:if((n&4)!==0&&(n=o.updateQueue,n=n!==null?n.events:null,n!==null))for(r=0;r<n.length;r++)g=n[r],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,r=o,g=v.memoizedProps,v=v.memoizedState,f=r.stateNode;try{var Ut=Br(r.type,g);n=f.getSnapshotBeforeUpdate(Ut,v),f.__reactInternalSnapshotBeforeUpdate=n}catch(Pt){Ze(r,r.return,Pt)}}break;case 3:if((n&1024)!==0){if(n=o.stateNode.containerInfo,r=n.nodeType,r===9)Cd(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Cd(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(c(163))}if(n=o.sibling,n!==null){n.return=o.return,aa=n;break}aa=o.return}}function ud(n,o,r){var f=r.flags;switch(r.tag){case 0:case 11:case 15:Fl(n,r),f&4&&Ii(5,r);break;case 1:if(Fl(n,r),f&4)if(n=r.stateNode,o===null)try{n.componentDidMount()}catch(C){Ze(r,r.return,C)}else{var g=Br(r.type,o.memoizedProps);o=o.memoizedState;try{n.componentDidUpdate(g,o,n.__reactInternalSnapshotBeforeUpdate)}catch(C){Ze(r,r.return,C)}}f&64&&Dp(r),f&512&&sl(r,r.return);break;case 3:if(Fl(n,r),f&64&&(n=r.updateQueue,n!==null)){if(o=null,r.child!==null)switch(r.child.tag){case 27:case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}try{Nr(n,o)}catch(C){Ze(r,r.return,C)}}break;case 27:o===null&&f&4&&L0(r);case 26:case 5:Fl(n,r),o===null&&f&4&&j0(r),f&512&&sl(r,r.return);break;case 12:Fl(n,r);break;case 31:Fl(n,r),f&4&&Nb(n,r);break;case 13:Fl(n,r),f&4&&B0(n,r),f&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=Ri.bind(null,r),Tc(n,r))));break;case 22:if(f=r.memoizedState!==null||Jl,!f){o=o!==null&&o.memoizedState!==null||Ln,g=Jl;var v=Ln;Jl=f,(Ln=o)&&!v?So(n,r,(r.subtreeFlags&8772)!==0):Fl(n,r),Jl=g,Ln=v}break;case 30:break;default:Fl(n,r)}}function H0(n){var o=n.alternate;o!==null&&(n.alternate=null,H0(o)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(o=n.stateNode,o!==null&&Ch(o)),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 en=null,Ya=!1;function ul(n,o,r){for(r=r.child;r!==null;)V0(n,o,r),r=r.sibling}function V0(n,o,r){if(Vn&&typeof Vn.onCommitFiberUnmount=="function")try{Vn.onCommitFiberUnmount(Hi,r)}catch{}switch(r.tag){case 26:Ln||xo(r,o),ul(n,o,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Ln||xo(r,o);var f=en,g=Ya;Ao(r.type)&&(en=r.stateNode,Ya=!1),ul(n,o,r),Fs(r.stateNode),en=f,Ya=g;break;case 5:Ln||xo(r,o);case 6:if(f=en,g=Ya,en=null,ul(n,o,r),en=f,Ya=g,en!==null)if(Ya)try{(en.nodeType===9?en.body:en.nodeName==="HTML"?en.ownerDocument.body:en).removeChild(r.stateNode)}catch(v){Ze(r,o,v)}else try{en.removeChild(r.stateNode)}catch(v){Ze(r,o,v)}break;case 18:en!==null&&(Ya?(n=en,uy(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),Uc(n)):uy(en,r.stateNode));break;case 4:f=en,g=Ya,en=r.stateNode.containerInfo,Ya=!0,ul(n,o,r),en=f,Ya=g;break;case 0:case 11:case 14:case 15:Ci(2,r,o),Ln||Ci(4,r,o),ul(n,o,r);break;case 1:Ln||(xo(r,o),f=r.stateNode,typeof f.componentWillUnmount=="function"&&Xr(r,o,f)),ul(n,o,r);break;case 21:ul(n,o,r);break;case 22:Ln=(f=Ln)||r.memoizedState!==null,ul(n,o,r),Ln=f;break;default:ul(n,o,r)}}function Nb(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Uc(n)}catch(r){Ze(o,o.return,r)}}}function B0(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Uc(n)}catch(r){Ze(o,o.return,r)}}function cd(n){switch(n.tag){case 31:case 13:case 19:var o=n.stateNode;return o===null&&(o=n.stateNode=new N0),o;case 22:return n=n.stateNode,o=n._retryCache,o===null&&(o=n._retryCache=new N0),o;default:throw Error(c(435,n.tag))}}function fd(n,o){var r=cd(n);o.forEach(function(f){if(!r.has(f)){r.add(f);var g=i1.bind(null,n,f);f.then(g,g)}})}function qa(n,o){var r=o.deletions;if(r!==null)for(var f=0;f<r.length;f++){var g=r[f],v=n,C=o,_=C;t:for(;_!==null;){switch(_.tag){case 27:if(Ao(_.type)){en=_.stateNode,Ya=!1;break t}break;case 5:en=_.stateNode,Ya=!1;break t;case 3:case 4:en=_.stateNode.containerInfo,Ya=!0;break t}_=_.return}if(en===null)throw Error(c(160));V0(v,C,g),en=null,Ya=!1,v=g.alternate,v!==null&&(v.return=null),g.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Op(o,n),o=o.sibling}var he=null;function Op(n,o){var r=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:qa(o,n),Wa(n),f&4&&(Ci(3,n,n.return),Ii(3,n),Ci(5,n,n.return));break;case 1:qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),f&64&&Jl&&(n=n.updateQueue,n!==null&&(f=n.callbacks,f!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?f:r.concat(f))));break;case 26:var g=he;if(qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),f&4){var v=r!==null?r.memoizedState:null;if(f=n.memoizedState,r===null)if(f===null)if(n.stateNode===null){t:{f=n.type,r=n.memoizedProps,g=g.ownerDocument||g;e:switch(f){case"title":v=g.getElementsByTagName("title")[0],(!v||v[qo]||v[Ke]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=g.createElement(f),g.head.insertBefore(v,g.querySelector("head > title"))),ma(v,f,r),v[Ke]=n,qe(v),f=v;break t;case"link":var C=hy("link","href",g).get(f+(r.href||""));if(C){for(var _=0;_<C.length;_++)if(v=C[_],v.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&v.getAttribute("rel")===(r.rel==null?null:r.rel)&&v.getAttribute("title")===(r.title==null?null:r.title)&&v.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){C.splice(_,1);break e}}v=g.createElement(f),ma(v,f,r),g.head.appendChild(v);break;case"meta":if(C=hy("meta","content",g).get(f+(r.content||""))){for(_=0;_<C.length;_++)if(v=C[_],v.getAttribute("content")===(r.content==null?null:""+r.content)&&v.getAttribute("name")===(r.name==null?null:r.name)&&v.getAttribute("property")===(r.property==null?null:r.property)&&v.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&v.getAttribute("charset")===(r.charSet==null?null:r.charSet)){C.splice(_,1);break e}}v=g.createElement(f),ma(v,f,r),g.head.appendChild(v);break;default:throw Error(c(468,f))}v[Ke]=n,qe(v),f=v}n.stateNode=f}else nm(g,n.type,n.stateNode);else n.stateNode=dy(g,f,n.memoizedProps);else v!==f?(v===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):v.count--,f===null?nm(g,n.type,n.stateNode):dy(g,f,n.memoizedProps)):f===null&&n.stateNode!==null&&Mp(n,n.memoizedProps,r.memoizedProps)}break;case 27:qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),r!==null&&f&4&&Mp(n,n.memoizedProps,r.memoizedProps);break;case 5:if(qa(o,n),Wa(n),f&512&&(Ln||r===null||xo(r,r.return)),n.flags&32){g=n.stateNode;try{Xo(g,"")}catch(Ut){Ze(n,n.return,Ut)}}f&4&&n.stateNode!=null&&(g=n.memoizedProps,Mp(n,g,r!==null?r.memoizedProps:g)),f&1024&&(zp=!0);break;case 6:if(qa(o,n),Wa(n),f&4){if(n.stateNode===null)throw Error(c(162));f=n.memoizedProps,r=n.stateNode;try{r.nodeValue=f}catch(Ut){Ze(n,n.return,Ut)}}break;case 3:if(zc=null,g=he,he=Aa(o.containerInfo),qa(o,n),he=g,Wa(n),f&4&&r!==null&&r.memoizedState.isDehydrated)try{Uc(o.containerInfo)}catch(Ut){Ze(n,n.return,Ut)}zp&&(zp=!1,Y0(n));break;case 4:f=he,he=Aa(n.stateNode.containerInfo),qa(o,n),Wa(n),he=f;break;case 12:qa(o,n),Wa(n);break;case 31:qa(o,n),Wa(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,fd(n,f)));break;case 13:qa(o,n),Wa(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(To=jn()),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,fd(n,f)));break;case 22:g=n.memoizedState!==null;var V=r!==null&&r.memoizedState!==null,nt=Jl,ft=Ln;if(Jl=nt||g,Ln=ft||V,qa(o,n),Ln=ft,Jl=nt,Wa(n),f&8192)t:for(o=n.stateNode,o._visibility=g?o._visibility&-2:o._visibility|1,g&&(r===null||V||Jl||Ln||Xs(n)),r=null,o=n;;){if(o.tag===5||o.tag===26){if(r===null){V=r=o;try{if(v=V.stateNode,g)C=v.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{_=V.stateNode;var yt=V.memoizedProps.style,at=yt!=null&&yt.hasOwnProperty("display")?yt.display:null;_.style.display=at==null||typeof at=="boolean"?"":(""+at).trim()}}catch(Ut){Ze(V,V.return,Ut)}}}else if(o.tag===6){if(r===null){V=o;try{V.stateNode.nodeValue=g?"":V.memoizedProps}catch(Ut){Ze(V,V.return,Ut)}}}else if(o.tag===18){if(r===null){V=o;try{var ut=V.stateNode;g?On(ut,!0):On(V.stateNode,!1)}catch(Ut){Ze(V,V.return,Ut)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===n)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break t;for(;o.sibling===null;){if(o.return===null||o.return===n)break t;r===o&&(r=null),o=o.return}r===o&&(r=null),o.sibling.return=o.return,o=o.sibling}f&4&&(f=n.updateQueue,f!==null&&(r=f.retryQueue,r!==null&&(f.retryQueue=null,fd(n,r))));break;case 19:qa(o,n),Wa(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,fd(n,f)));break;case 30:break;case 21:break;default:qa(o,n),Wa(n)}}function Wa(n){var o=n.flags;if(o&2){try{for(var r,f=n.return;f!==null;){if(U0(f)){r=f;break}f=f.return}if(r==null)throw Error(c(160));switch(r.tag){case 27:var g=r.stateNode,v=rc(n);uc(n,v,g);break;case 5:var C=r.stateNode;r.flags&32&&(Xo(C,""),r.flags&=-33);var _=rc(n);uc(n,_,C);break;case 3:case 4:var V=r.stateNode.containerInfo,nt=rc(n);sc(n,nt,V);break;default:throw Error(c(161))}}catch(ft){Ze(n,n.return,ft)}n.flags&=-3}o&4096&&(n.flags&=-4097)}function Y0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var o=n;Y0(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),n=n.sibling}}function Fl(n,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)ud(n,o.alternate,o),o=o.sibling}function Xs(n){for(n=n.child;n!==null;){var o=n;switch(o.tag){case 0:case 11:case 14:case 15:Ci(4,o,o.return),Xs(o);break;case 1:xo(o,o.return);var r=o.stateNode;typeof r.componentWillUnmount=="function"&&Xr(o,o.return,r),Xs(o);break;case 27:Fs(o.stateNode);case 26:case 5:xo(o,o.return),Xs(o);break;case 22:o.memoizedState===null&&Xs(o);break;case 30:Xs(o);break;default:Xs(o)}n=n.sibling}}function So(n,o,r){for(r=r&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var f=o.alternate,g=n,v=o,C=v.flags;switch(v.tag){case 0:case 11:case 15:So(g,v,r),Ii(4,v);break;case 1:if(So(g,v,r),f=v,g=f.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(nt){Ze(f,f.return,nt)}if(f=v,g=f.updateQueue,g!==null){var _=f.stateNode;try{var V=g.shared.hiddenCallbacks;if(V!==null)for(g.shared.hiddenCallbacks=null,g=0;g<V.length;g++)np(V[g],_)}catch(nt){Ze(f,f.return,nt)}}r&&C&64&&Dp(v),sl(v,v.return);break;case 27:L0(v);case 26:case 5:So(g,v,r),r&&f===null&&C&4&&j0(v),sl(v,v.return);break;case 12:So(g,v,r);break;case 31:So(g,v,r),r&&C&4&&Nb(g,v);break;case 13:So(g,v,r),r&&C&4&&B0(g,v);break;case 22:v.memoizedState===null&&So(g,v,r),sl(v,v.return);break;case 30:break;default:So(g,v,r)}o=o.sibling}}function _p(n,o){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(n=o.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&Vf(r))}function kp(n,o){n=null,o.alternate!==null&&(n=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==n&&(o.refCount++,n!=null&&Vf(n))}function Ji(n,o,r,f){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)fc(n,o,r,f),o=o.sibling}function fc(n,o,r,f){var g=o.flags;switch(o.tag){case 0:case 11:case 15:Ji(n,o,r,f),g&2048&&Ii(9,o);break;case 1:Ji(n,o,r,f);break;case 3:Ji(n,o,r,f),g&2048&&(n=null,o.alternate!==null&&(n=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==n&&(o.refCount++,n!=null&&Vf(n)));break;case 12:if(g&2048){Ji(n,o,r,f),n=o.stateNode;try{var v=o.memoizedProps,C=v.id,_=v.onPostCommit;typeof _=="function"&&_(C,o.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(V){Ze(o,o.return,V)}}else Ji(n,o,r,f);break;case 31:Ji(n,o,r,f);break;case 13:Ji(n,o,r,f);break;case 23:break;case 22:v=o.stateNode,C=o.alternate,o.memoizedState!==null?v._visibility&2?Ji(n,o,r,f):dd(n,o):v._visibility&2?Ji(n,o,r,f):(v._visibility|=2,dc(n,o,r,f,(o.subtreeFlags&10256)!==0||!1)),g&2048&&_p(C,o);break;case 24:Ji(n,o,r,f),g&2048&&kp(o.alternate,o);break;default:Ji(n,o,r,f)}}function dc(n,o,r,f,g){for(g=g&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var v=n,C=o,_=r,V=f,nt=C.flags;switch(C.tag){case 0:case 11:case 15:dc(v,C,_,V,g),Ii(8,C);break;case 23:break;case 22:var ft=C.stateNode;C.memoizedState!==null?ft._visibility&2?dc(v,C,_,V,g):dd(v,C):(ft._visibility|=2,dc(v,C,_,V,g)),g&&nt&2048&&_p(C.alternate,C);break;case 24:dc(v,C,_,V,g),g&&nt&2048&&kp(C.alternate,C);break;default:dc(v,C,_,V,g)}o=o.sibling}}function dd(n,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var r=n,f=o,g=f.flags;switch(f.tag){case 22:dd(r,f),g&2048&&_p(f.alternate,f);break;case 24:dd(r,f),g&2048&&kp(f.alternate,f);break;default:dd(r,f)}o=o.sibling}}var ti=8192;function cl(n,o,r){if(n.subtreeFlags&ti)for(n=n.child;n!==null;)Hb(n,o,r),n=n.sibling}function Hb(n,o,r){switch(n.tag){case 26:cl(n,o,r),n.flags&ti&&n.memoizedState!==null&&ml(r,he,n.memoizedState,n.memoizedProps);break;case 5:cl(n,o,r);break;case 3:case 4:var f=he;he=Aa(n.stateNode.containerInfo),cl(n,o,r),he=f;break;case 22:n.memoizedState===null&&(f=n.alternate,f!==null&&f.memoizedState!==null?(f=ti,ti=16777216,cl(n,o,r),ti=f):cl(n,o,r));break;default:cl(n,o,r)}}function jp(n){var o=n.alternate;if(o!==null&&(n=o.child,n!==null)){o.child=null;do o=n.sibling,n.sibling=null,n=o;while(n!==null)}}function hc(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var f=o[r];aa=f,Up(f,n)}jp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)q0(n),n=n.sibling}function q0(n){switch(n.tag){case 0:case 11:case 15:hc(n),n.flags&2048&&Ci(9,n,n.return);break;case 3:hc(n);break;case 12:hc(n);break;case 22:var o=n.stateNode;n.memoizedState!==null&&o._visibility&2&&(n.return===null||n.return.tag!==13)?(o._visibility&=-3,hd(n)):hc(n);break;default:hc(n)}}function hd(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var f=o[r];aa=f,Up(f,n)}jp(n)}for(n=n.child;n!==null;){switch(o=n,o.tag){case 0:case 11:case 15:Ci(8,o,o.return),hd(o);break;case 22:r=o.stateNode,r._visibility&2&&(r._visibility&=-3,hd(o));break;default:hd(o)}n=n.sibling}}function Up(n,o){for(;aa!==null;){var r=aa;switch(r.tag){case 0:case 11:case 15:Ci(8,r,o);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var f=r.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Vf(r.memoizedState.cache)}if(f=r.child,f!==null)f.return=r,aa=f;else t:for(r=n;aa!==null;){f=aa;var g=f.sibling,v=f.return;if(H0(f),f===r){aa=null;break t}if(g!==null){g.return=v,aa=g;break t}aa=v}}}var Vb={getCacheForType:function(n){var o=vt(Dn),r=o.data.get(n);return r===void 0&&(r=n(),o.data.set(n,r)),r},cacheSignal:function(){return vt(Dn).controller.signal}},G0=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Je=null,Re=null,Se=0,Qe=0,ee=null,fl=!1,Qr=!1,Lp=!1,wo=0,nn=0,Eo=0,Qs=0,Np=0,Ga=0,yn=0,pd=null,vn=null,Hp=!1,To=0,X0=0,Be=1/0,pc=null,cn=null,qn=0,Pl=null,Zr=null,dl=0,ei=0,Vp=null,Bp=null,mc=0,md=null;function ni(){return(Ne&2)!==0&&Se!==0?Se&-Se:U.T!==null?Qp():Th()}function Bb(){if(Ga===0)if((Se&536870912)===0||Ce){var n=At;At<<=1,(At&3932160)===0&&(At=262144),Ga=n}else Ga=536870912;return n=Na.current,n!==null&&(n.flags|=32),Ga}function Xa(n,o,r){(n===Je&&(Qe===2||Qe===9)||n.cancelPendingCommit!==null)&&(hl(n,0),Wl(n,Se,Ga,!1)),yr(n,r),((Ne&2)===0||n!==Je)&&(n===Je&&((Ne&2)===0&&(Qs|=r),nn===4&&Wl(n,Se,Ga,!1)),pl(n))}function Yb(n,o,r){if((Ne&6)!==0)throw Error(c(327));var f=!r&&(o&127)===0&&(o&n.expiredLanes)===0||xe(n,o),g=f?Zb(n,o):qp(n,o,!0),v=f;do{if(g===0){Qr&&!f&&Wl(n,o,0,!1);break}else{if(r=n.current.alternate,v&&!qb(r)){g=qp(n,o,!1),v=!1;continue}if(g===2){if(v=o,n.errorRecoveryDisabledLanes&v)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){o=C;t:{var _=n;g=pd;var V=_.current.memoizedState.isDehydrated;if(V&&(hl(_,C).flags|=256),C=qp(_,C,!1),C!==2){if(Lp&&!V){_.errorRecoveryDisabledLanes|=v,Qs|=v,g=4;break t}v=vn,vn=g,v!==null&&(vn===null?vn=v:vn.push.apply(vn,v))}g=C}if(v=!1,g!==2)continue}}if(g===1){hl(n,0),Wl(n,o,0,!0);break}t:{switch(f=n,v=g,v){case 0:case 1:throw Error(c(345));case 4:if((o&4194048)!==o)break;case 6:Wl(f,o,Ga,!fl);break t;case 2:vn=null;break;case 3:case 5:break;default:throw Error(c(329))}if((o&62914560)===o&&(g=To+300-jn(),10<g)){if(Wl(f,o,Ga,!fl),Xt(f,0,!0)!==0)break t;dl=o,f.timeoutHandle=Ad(gd.bind(null,f,r,vn,pc,Hp,o,Ga,Qs,yn,fl,v,"Throttled",-0,0),g);break t}gd(f,r,vn,pc,Hp,o,Ga,Qs,yn,fl,v,null,-0,0)}}break}while(!0);pl(n)}function gd(n,o,r,f,g,v,C,_,V,nt,ft,yt,at,ut){if(n.timeoutHandle=-1,yt=o.subtreeFlags,yt&8192||(yt&16785408)===16785408){yt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:oo},Hb(o,v,yt);var Ut=(v&62914560)===v?To-jn():(v&4194048)===v?X0-jn():0;if(Ut=my(yt,Ut),Ut!==null){dl=v,n.cancelPendingCommit=Ut(Jb.bind(null,n,o,v,r,f,g,C,_,V,ft,yt,null,at,ut)),Wl(n,v,C,!nt);return}}Jb(n,o,v,r,f,g,C,_,V)}function qb(n){for(var o=n;;){var r=o.tag;if((r===0||r===11||r===15)&&o.flags&16384&&(r=o.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var f=0;f<r.length;f++){var g=r[f],v=g.getSnapshot;g=g.value;try{if(!Ea(v(),g))return!1}catch{return!1}}if(r=o.child,o.subtreeFlags&16384&&r!==null)r.return=o,o=r;else{if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Wl(n,o,r,f){o&=~Np,o&=~Qs,n.suspendedLanes|=o,n.pingedLanes&=~o,f&&(n.warmLanes|=o),f=n.expirationTimes;for(var g=o;0<g;){var v=31-Jn(g),C=1<<v;f[v]=-1,g&=~C}r!==0&&vf(n,r,o)}function gc(){return(Ne&6)===0?(er(0),!1):!0}function Q0(){if(Re!==null){if(Qe===0)var n=Re.return;else n=Re,mo=ql=null,If(n),kr=null,ks=0,n=Re;for(;n!==null;)Lb(n.alternate,n),n=n.return;Re=null}}function hl(n,o){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,d1(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),dl=0,Q0(),Je=n,Re=r=Bl(n.current,null),Se=o,Qe=0,ee=null,fl=!1,Qr=xe(n,o),Lp=!1,yn=Ga=Np=Qs=Eo=nn=0,vn=pd=null,Hp=!1,(o&8)!==0&&(o|=o&32);var f=n.entangledLanes;if(f!==0)for(n=n.entanglements,f&=o;0<f;){var g=31-Jn(f),v=1<<g;o|=n[g],f&=~v}return wo=o,mi(),r}function yc(n,o){fe=null,U.H=ad,o===zr||o===Ku?(o=t0(),Qe=3):o===Os?(o=t0(),Qe=4):Qe=o===Ep?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,ee=o,Re===null&&(nn=1,oc(n,yi(o,n.current)))}function Gb(){var n=Na.current;return n===null?!0:(Se&4194048)===Se?wi===null:(Se&62914560)===Se||(Se&536870912)!==0?n===wi:!1}function Xb(){var n=U.H;return U.H=ad,n===null?ad:n}function Qb(){var n=U.A;return U.A=Vb,n}function Yp(){nn=4,fl||(Se&4194048)!==Se&&Na.current!==null||(Qr=!0),(Eo&134217727)===0&&(Qs&134217727)===0||Je===null||Wl(Je,Se,Ga,!1)}function qp(n,o,r){var f=Ne;Ne|=2;var g=Xb(),v=Qb();(Je!==n||Se!==o)&&(pc=null,hl(n,o)),o=!1;var C=nn;t:do try{if(Qe!==0&&Re!==null){var _=Re,V=ee;switch(Qe){case 8:Q0(),C=6;break t;case 3:case 2:case 9:case 6:Na.current===null&&(o=!0);var nt=Qe;if(Qe=0,ee=null,Zs(n,_,V,nt),r&&Qr){C=0;break t}break;default:nt=Qe,Qe=0,ee=null,Zs(n,_,V,nt)}}Aw(),C=nn;break}catch(ft){yc(n,ft)}while(!0);return o&&n.shellSuspendCounter++,mo=ql=null,Ne=f,U.H=g,U.A=v,Re===null&&(Je=null,Se=0,mi()),C}function Aw(){for(;Re!==null;)$b(Re)}function Zb(n,o){var r=Ne;Ne|=2;var f=Xb(),g=Qb();Je!==n||Se!==o?(pc=null,Be=jn()+500,hl(n,o)):Qr=xe(n,o);t:do try{if(Qe!==0&&Re!==null){o=Re;var v=ee;e:switch(Qe){case 1:Qe=0,ee=null,Zs(n,o,v,1);break;case 2:case 9:if(Pg(v)){Qe=0,ee=null,Kb(o);break}o=function(){Qe!==2&&Qe!==9||Je!==n||(Qe=7),pl(n)},v.then(o,o);break t;case 3:Qe=7;break t;case 4:Qe=5;break t;case 7:Pg(v)?(Qe=0,ee=null,Kb(o)):(Qe=0,ee=null,Zs(n,o,v,7));break;case 5:var C=null;switch(Re.tag){case 26:C=Re.memoizedState;case 5:case 27:var _=Re;if(C?ii(C):_.stateNode.complete){Qe=0,ee=null;var V=_.sibling;if(V!==null)Re=V;else{var nt=_.return;nt!==null?(Re=nt,yd(nt)):Re=null}break e}}Qe=0,ee=null,Zs(n,o,v,5);break;case 6:Qe=0,ee=null,Zs(n,o,v,6);break;case 8:Q0(),nn=6;break t;default:throw Error(c(462))}}$r();break}catch(ft){yc(n,ft)}while(!0);return mo=ql=null,U.H=f,U.A=g,Ne=r,Re!==null?0:(Je=null,Se=0,mi(),nn)}function $r(){for(;Re!==null&&!Bo();)$b(Re)}function $b(n){var o=O0(n.alternate,n,wo);n.memoizedProps=n.pendingProps,o===null?yd(n):Re=o}function Kb(n){var o=n,r=o.alternate;switch(o.tag){case 15:case 0:o=qr(r,o,o.pendingProps,o.type,void 0,Se);break;case 11:o=qr(r,o,o.pendingProps,o.type.render,o.ref,Se);break;case 5:If(o);default:Lb(r,o),o=Re=Qg(o,wo),o=O0(r,o,wo)}n.memoizedProps=n.pendingProps,o===null?yd(n):Re=o}function Zs(n,o,r,f){mo=ql=null,If(o),kr=null,ks=0;var g=o.return;try{if(Tw(n,g,o,r,Se)){nn=1,oc(n,yi(r,n.current)),Re=null;return}}catch(v){if(g!==null)throw Re=g,v;nn=1,oc(n,yi(r,n.current)),Re=null;return}o.flags&32768?(Ce||f===1?n=!0:Qr||(Se&536870912)!==0?n=!1:(fl=n=!0,(f===2||f===9||f===3||f===6)&&(f=Na.current,f!==null&&f.tag===13&&(f.flags|=16384))),Ib(o,n)):yd(o)}function yd(n){var o=n;do{if((o.flags&32768)!==0){Ib(o,fl);return}n=o.return;var r=jb(o.alternate,o,wo);if(r!==null){Re=r;return}if(o=o.sibling,o!==null){Re=o;return}Re=o=n}while(o!==null);nn===0&&(nn=5)}function Ib(n,o){do{var r=Ub(n.alternate,n);if(r!==null){r.flags&=32767,Re=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!o&&(n=n.sibling,n!==null)){Re=n;return}Re=n=r}while(n!==null);nn=6,Re=null}function Jb(n,o,r,f,g,v,C,_,V){n.cancelPendingCommit=null;do vc();while(qn!==0);if((Ne&6)!==0)throw Error(c(327));if(o!==null){if(o===n.current)throw Error(c(177));if(v=o.lanes|o.childLanes,v|=Xi,Du(n,r,v,C,_,V),n===Je&&(Re=Je=null,Se=0),Zr=o,Pl=n,dl=r,ei=v,Vp=g,Bp=f,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,o1(ao,function(){return e1(),null})):(n.callbackNode=null,n.callbackPriority=0),f=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||f){f=U.T,U.T=null,g=F.p,F.p=2,C=Ne,Ne|=4;try{cc(n,o,r)}finally{Ne=C,F.p=g,U.T=f}}qn=1,Fb(),Pb(),Wb()}}function Fb(){if(qn===1){qn=0;var n=Pl,o=Zr,r=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||r){r=U.T,U.T=null;var f=F.p;F.p=2;var g=Ne;Ne|=4;try{Op(o,n);var v=Fp,C=Ar(n.containerInfo),_=v.focusedElem,V=v.selectionRange;if(C!==_&&_&&_.ownerDocument&&Es(_.ownerDocument.documentElement,_)){if(V!==null&&Mf(_)){var nt=V.start,ft=V.end;if(ft===void 0&&(ft=nt),"selectionStart"in _)_.selectionStart=nt,_.selectionEnd=Math.min(ft,_.value.length);else{var yt=_.ownerDocument||document,at=yt&&yt.defaultView||window;if(at.getSelection){var ut=at.getSelection(),Ut=_.textContent.length,Pt=Math.min(V.start,Ut),Pe=V.end===void 0?Pt:Math.min(V.end,Ut);!ut.extend&&Pt>Pe&&(C=Pe,Pe=Pt,Pt=C);var J=Gg(_,Pt),Q=Gg(_,Pe);if(J&&Q&&(ut.rangeCount!==1||ut.anchorNode!==J.node||ut.anchorOffset!==J.offset||ut.focusNode!==Q.node||ut.focusOffset!==Q.offset)){var tt=yt.createRange();tt.setStart(J.node,J.offset),ut.removeAllRanges(),Pt>Pe?(ut.addRange(tt),ut.extend(Q.node,Q.offset)):(tt.setEnd(Q.node,Q.offset),ut.addRange(tt))}}}}for(yt=[],ut=_;ut=ut.parentNode;)ut.nodeType===1&&yt.push({element:ut,left:ut.scrollLeft,top:ut.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<yt.length;_++){var pt=yt[_];pt.element.scrollLeft=pt.left,pt.element.scrollTop=pt.top}}Gn=!!Jp,Fp=Jp=null}finally{Ne=g,F.p=f,U.T=r}}n.current=o,qn=2}}function Pb(){if(qn===2){qn=0;var n=Pl,o=Zr,r=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||r){r=U.T,U.T=null;var f=F.p;F.p=2;var g=Ne;Ne|=4;try{ud(n,o.alternate,o)}finally{Ne=g,F.p=f,U.T=r}}qn=3}}function Wb(){if(qn===4||qn===3){qn=0,ss();var n=Pl,o=Zr,r=dl,f=Bp;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?qn=5:(qn=0,Zr=Pl=null,t1(n,n.pendingLanes));var g=n.pendingLanes;if(g===0&&(cn=null),yg(r),o=o.stateNode,Vn&&typeof Vn.onCommitFiberRoot=="function")try{Vn.onCommitFiberRoot(Hi,o,void 0,(o.current.flags&128)===128)}catch{}if(f!==null){o=U.T,g=F.p,F.p=2,U.T=null;try{for(var v=n.onRecoverableError,C=0;C<f.length;C++){var _=f[C];v(_.value,{componentStack:_.stack})}}finally{U.T=o,F.p=g}}(dl&3)!==0&&vc(),pl(n),g=n.pendingLanes,(r&261930)!==0&&(g&42)!==0?n===md?mc++:(mc=0,md=n):mc=0,er(0)}}function t1(n,o){(n.pooledCacheLanes&=o)===0&&(o=n.pooledCache,o!=null&&(n.pooledCache=null,Vf(o)))}function vc(){return Fb(),Pb(),Wb(),e1()}function e1(){if(qn!==5)return!1;var n=Pl,o=ei;ei=0;var r=yg(dl),f=U.T,g=F.p;try{F.p=32>r?32:r,U.T=null,r=Vp,Vp=null;var v=Pl,C=dl;if(qn=0,Zr=Pl=null,dl=0,(Ne&6)!==0)throw Error(c(331));var _=Ne;if(Ne|=4,q0(v.current),fc(v,v.current,C,r),Ne=_,er(0,!1),Vn&&typeof Vn.onPostCommitFiberRoot=="function")try{Vn.onPostCommitFiberRoot(Hi,v)}catch{}return!0}finally{F.p=g,U.T=f,t1(n,o)}}function n1(n,o,r){o=yi(r,o),o=w0(n.stateNode,o,2),n=Si(n,o,2),n!==null&&(yr(n,2),pl(n))}function Ze(n,o,r){if(n.tag===3)n1(n,n,r);else for(;o!==null;){if(o.tag===3){n1(o,n,r);break}else if(o.tag===1){var f=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(cn===null||!cn.has(f))){n=yi(r,n),r=E0(2),f=Si(o,r,2),f!==null&&(T0(r,f,o,n),yr(f,2),pl(f));break}}o=o.return}}function vd(n,o,r){var f=n.pingCache;if(f===null){f=n.pingCache=new G0;var g=new Set;f.set(o,g)}else g=f.get(o),g===void 0&&(g=new Set,f.set(o,g));g.has(r)||(Lp=!0,g.add(r),n=Z0.bind(null,n,o,r),o.then(n,n))}function Z0(n,o,r){var f=n.pingCache;f!==null&&f.delete(o),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,Je===n&&(Se&r)===r&&(nn===4||nn===3&&(Se&62914560)===Se&&300>jn()-To?(Ne&2)===0&&hl(n,0):Np|=r,yn===Se&&(yn=0)),pl(n)}function a1(n,o){o===0&&(o=Sa()),n=Vl(n,o),n!==null&&(yr(n,o),pl(n))}function Ri(n){var o=n.memoizedState,r=0;o!==null&&(r=o.retryLane),a1(n,r)}function i1(n,o){var r=0;switch(n.tag){case 31:case 13:var f=n.stateNode,g=n.memoizedState;g!==null&&(r=g.retryLane);break;case 19:f=n.stateNode;break;case 22:f=n.stateNode._retryCache;break;default:throw Error(c(314))}f!==null&&f.delete(o),a1(n,r)}function o1(n,o){return Vt(n,o)}var bc=null,$s=null,$0=!1,Gp=!1,K0=!1,tr=0;function pl(n){n!==$s&&n.next===null&&($s===null?bc=$s=n:$s=$s.next=n),Gp=!0,$0||($0=!0,xd())}function er(n,o){if(!K0&&Gp){K0=!0;do for(var r=!1,f=bc;f!==null;){if(n!==0){var g=f.pendingLanes;if(g===0)var v=0;else{var C=f.suspendedLanes,_=f.pingedLanes;v=(1<<31-Jn(42|n)+1)-1,v&=g&~(C&~_),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(r=!0,Ks(f,v))}else v=Se,v=Xt(f,f===Je?v:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(v&3)===0||xe(f,v)||(r=!0,Ks(f,v));f=f.next}while(r);K0=!1}}function Xp(){I0()}function I0(){Gp=$0=!1;var n=0;tr!==0&&Cw()&&(n=tr);for(var o=jn(),r=null,f=bc;f!==null;){var g=f.next,v=J0(f,o);v===0?(f.next=null,r===null?bc=g:r.next=g,g===null&&($s=r)):(r=f,(n!==0||(v&3)!==0)&&(Gp=!0)),f=g}qn!==0&&qn!==5||er(n),tr!==0&&(tr=0)}function J0(n,o){for(var r=n.suspendedLanes,f=n.pingedLanes,g=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var C=31-Jn(v),_=1<<C,V=g[C];V===-1?((_&r)===0||(_&f)!==0)&&(g[C]=ue(_,o)):V<=o&&(n.expiredLanes|=_),v&=~_}if(o=Je,r=Se,r=Xt(n,n===o?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f=n.callbackNode,r===0||n===o&&(Qe===2||Qe===9)||n.cancelPendingCommit!==null)return f!==null&&f!==null&&mr(f),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||xe(n,r)){if(o=r&-r,o===n.callbackPriority)return o;switch(f!==null&&mr(f),yg(r)){case 2:case 8:r=Cu;break;case 32:r=ao;break;case 268435456:r=Ru;break;default:r=ao}return f=bd.bind(null,n),r=Vt(r,f),n.callbackPriority=o,n.callbackNode=r,o}return f!==null&&f!==null&&mr(f),n.callbackPriority=2,n.callbackNode=null,2}function bd(n,o){if(qn!==0&&qn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(vc()&&n.callbackNode!==r)return null;var f=Se;return f=Xt(n,n===Je?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f===0?null:(Yb(n,f,o),J0(n,jn()),n.callbackNode!=null&&n.callbackNode===r?bd.bind(null,n):null)}function Ks(n,o){if(vc())return null;Yb(n,o,!0)}function xd(){h1(function(){(Ne&6)!==0?Vt(Au,Xp):I0()})}function Qp(){if(tr===0){var n=Mr;n===0&&(n=wt,wt<<=1,(wt&261888)===0&&(wt=256)),tr=n}return tr}function l1(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Bi(""+n)}function Is(n,o){var r=o.ownerDocument.createElement("input");return r.name=o.name,r.value=o.value,n.id&&r.setAttribute("form",n.id),o.parentNode.insertBefore(r,o),n=new FormData(n),r.parentNode.removeChild(r),n}function Sd(n,o,r,f,g){if(o==="submit"&&r&&r.stateNode===g){var v=l1((g[Oa]||null).action),C=f.submitter;C&&(o=(o=C[Oa]||null)?l1(o.formAction):C.getAttribute("formAction"),o!==null&&(v=o,C=null));var _=new Cf("action","action",null,f,g);n.push({event:_,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(tr!==0){var V=C?Is(g,C):new FormData(g);ac(r,{pending:!0,data:V,method:g.method,action:v},null,V)}}else typeof v=="function"&&(_.preventDefault(),V=C?Is(g,C):new FormData(g),ac(r,{pending:!0,data:V,method:g.method,action:v},v,V))},currentTarget:g}]})}}for(var Zp=0;Zp<qu.length;Zp++){var xc=qu[Zp],F0=xc.toLowerCase(),P0=xc[0].toUpperCase()+xc.slice(1);ka(F0,"on"+P0)}ka(Of,"onAnimationEnd"),ka(Xg,"onAnimationIteration"),ka(Zh,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(Ts,"onTransitionRun"),ka(_f,"onTransitionStart"),ka(Ko,"onTransitionCancel"),ka(yb,"onTransitionEnd"),Go("onMouseEnter",["mouseout","mouseover"]),Go("onMouseLeave",["mouseout","mouseover"]),Go("onPointerEnter",["pointerout","pointerover"]),Go("onPointerLeave",["pointerout","pointerover"]),xr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xr("onBeforeInput",["compositionend","keypress","textInput","paste"]),xr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sc="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(" "),r1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sc));function s1(n,o){o=(o&4)!==0;for(var r=0;r<n.length;r++){var f=n[r],g=f.event;f=f.listeners;t:{var v=void 0;if(o)for(var C=f.length-1;0<=C;C--){var _=f[C],V=_.instance,nt=_.currentTarget;if(_=_.listener,V!==v&&g.isPropagationStopped())break t;v=_,g.currentTarget=nt;try{v(g)}catch(ft){As(ft)}g.currentTarget=null,v=V}else for(C=0;C<f.length;C++){if(_=f[C],V=_.instance,nt=_.currentTarget,_=_.listener,V!==v&&g.isPropagationStopped())break t;v=_,g.currentTarget=nt;try{v(g)}catch(ft){As(ft)}g.currentTarget=null,v=V}}}}function Ee(n,o){var r=o[Ah];r===void 0&&(r=o[Ah]=new Set);var f=n+"__bubble";r.has(f)||(wd(o,n,2,!1),r.add(f))}function W0(n,o,r){var f=0;o&&(f|=4),wd(r,n,f,o)}var $p="_reactListening"+Math.random().toString(36).slice(2);function wc(n){if(!n[$p]){n[$p]=!0,hs.forEach(function(r){r!=="selectionchange"&&(r1.has(r)||W0(r,!1,n),W0(r,!0,n))});var o=n.nodeType===9?n:n.ownerDocument;o===null||o[$p]||(o[$p]=!0,W0("selectionchange",!1,o))}}function wd(n,o,r,f){switch(Od(o)){case 2:var g=gl;break;case 8:g=yl;break;default:g=ga}r=g.bind(null,o,r,n),g=void 0,!Tf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(g=!0),f?g!==void 0?n.addEventListener(o,r,{capture:!0,passive:g}):n.addEventListener(o,r,!0):g!==void 0?n.addEventListener(o,r,{passive:g}):n.addEventListener(o,r,!1)}function ty(n,o,r,f,g){var v=f;if((o&1)===0&&(o&2)===0&&f!==null)t:for(;;){if(f===null)return;var C=f.tag;if(C===3||C===4){var _=f.stateNode.containerInfo;if(_===g)break;if(C===4)for(C=f.return;C!==null;){var V=C.tag;if((V===3||V===4)&&C.stateNode.containerInfo===g)return;C=C.return}for(;_!==null;){if(C=cs(_),C===null)return;if(V=C.tag,V===5||V===6||V===26||V===27){f=v=C;continue t}_=_.parentNode}}f=f.return}Cg(function(){var nt=v,ft=kh(r),yt=[];t:{var at=Io.get(n);if(at!==void 0){var ut=Cf,Ut=n;switch(n){case"keypress":if(Uh(r)===0)break t;case"keydown":case"keyup":ut=Vh;break;case"focusin":Ut="focus",ut=Nh;break;case"focusout":Ut="blur",ut=Nh;break;case"beforeblur":case"afterblur":ut=Nh;break;case"click":if(r.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ut=Nu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ut=ob;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ut=cb;break;case Of:case Xg:case Zh:ut=rb;break;case yb:ut=xw;break;case"scroll":case"scrollend":ut=vw;break;case"wheel":ut=Sw;break;case"copy":case"cut":case"paste":ut=ys;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ut=so;break;case"toggle":case"beforetoggle":ut=Ug}var Pt=(o&4)!==0,Pe=!Pt&&(n==="scroll"||n==="scrollend"),J=Pt?at!==null?at+"Capture":null:at;Pt=[];for(var Q=nt,tt;Q!==null;){var pt=Q;if(tt=pt.stateNode,pt=pt.tag,pt!==5&&pt!==26&&pt!==27||tt===null||J===null||(pt=Fn(Q,J),pt!=null&&Pt.push(Ed(Q,pt,tt))),Pe)break;Q=Q.return}0<Pt.length&&(at=new ut(at,Ut,null,r,ft),yt.push({event:at,listeners:Pt}))}}if((o&7)===0){t:{if(at=n==="mouseover"||n==="pointerover",ut=n==="mouseout"||n==="pointerout",at&&r!==_h&&(Ut=r.relatedTarget||r.fromElement)&&(cs(Ut)||Ut[vr]))break t;if((ut||at)&&(at=ft.window===ft?ft:(at=ft.ownerDocument)?at.defaultView||at.parentWindow:window,ut?(Ut=r.relatedTarget||r.toElement,ut=nt,Ut=Ut?cs(Ut):null,Ut!==null&&(Pe=m(Ut),Pt=Ut.tag,Ut!==Pe||Pt!==5&&Pt!==27&&Pt!==6)&&(Ut=null)):(ut=null,Ut=nt),ut!==Ut)){if(Pt=Nu,pt="onMouseLeave",J="onMouseEnter",Q="mouse",(n==="pointerout"||n==="pointerover")&&(Pt=so,pt="onPointerLeave",J="onPointerEnter",Q="pointer"),Pe=ut==null?at:Mu(ut),tt=Ut==null?at:Mu(Ut),at=new Pt(pt,Q+"leave",ut,r,ft),at.target=Pe,at.relatedTarget=tt,pt=null,cs(ft)===nt&&(Pt=new Pt(J,Q+"enter",Ut,r,ft),Pt.target=tt,Pt.relatedTarget=Pe,pt=Pt),Pe=pt,ut&&Ut)e:{for(Pt=u1,J=ut,Q=Ut,tt=0,pt=J;pt;pt=Pt(pt))tt++;pt=0;for(var Kt=Q;Kt;Kt=Pt(Kt))pt++;for(;0<tt-pt;)J=Pt(J),tt--;for(;0<pt-tt;)Q=Pt(Q),pt--;for(;tt--;){if(J===Q||Q!==null&&J===Q.alternate){Pt=J;break e}J=Pt(J),Q=Pt(Q)}Pt=null}else Pt=null;ut!==null&&Kp(yt,at,ut,Pt,!1),Ut!==null&&Pe!==null&&Kp(yt,Pe,Ut,Pt,!0)}}t:{if(at=nt?Mu(nt):window,ut=at.nodeName&&at.nodeName.toLowerCase(),ut==="select"||ut==="input"&&at.type==="file")var je=Bg;else if($o(at))if(qh)je=ws;else{je=mb;var Qt=pb}else ut=at.nodeName,!ut||ut.toLowerCase()!=="input"||at.type!=="checkbox"&&at.type!=="radio"?nt&&Ag(nt.elementType)&&(je=Bg):je=Tr;if(je&&(je=je(n,nt))){Vg(yt,je,r,ft);break t}Qt&&Qt(n,at,nt),n==="focusout"&&nt&&at.type==="number"&&nt.memoizedProps.value!=null&&ps(at,"number",at.value)}switch(Qt=nt?Mu(nt):window,n){case"focusin":($o(Qt)||Qt.contentEditable==="true")&&(Cr=Qt,Bu=nt,Gi=null);break;case"focusout":Gi=Bu=Cr=null;break;case"mousedown":co=!0;break;case"contextmenu":case"mouseup":case"dragend":co=!1,Qh(yt,r,ft);break;case"selectionchange":if(zf)break;case"keydown":case"keyup":Qh(yt,r,ft)}var ce;if(Hu)t:{switch(n){case"compositionstart":var pe="onCompositionStart";break t;case"compositionend":pe="onCompositionEnd";break t;case"compositionupdate":pe="onCompositionUpdate";break t}pe=void 0}else bs?Yh(n,r)&&(pe="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(pe="onCompositionStart");pe&&(Lg&&r.locale!=="ko"&&(bs||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&bs&&(ce=Dg()):(Nl=ft,Rg="value"in Nl?Nl.value:Nl.textContent,bs=!0)),Qt=Td(nt,pe),0<Qt.length&&(pe=new sb(pe,n,null,r,ft),yt.push({event:pe,listeners:Qt}),ce?pe.data=ce:(ce=Ng(r),ce!==null&&(pe.data=ce)))),(ce=wa?hb(n,r):ww(n,r))&&(pe=Td(nt,"onBeforeInput"),0<pe.length&&(Qt=new sb("onBeforeInput","beforeinput",null,r,ft),yt.push({event:Qt,listeners:pe}),Qt.data=ce)),Sd(yt,n,nt,r,ft)}s1(yt,o)})}function Ed(n,o,r){return{instance:n,listener:o,currentTarget:r}}function Td(n,o){for(var r=o+"Capture",f=[];n!==null;){var g=n,v=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||v===null||(g=Fn(n,r),g!=null&&f.unshift(Ed(n,g,v)),g=Fn(n,o),g!=null&&f.push(Ed(n,g,v))),n.tag===3)return f;n=n.return}return[]}function u1(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Kp(n,o,r,f,g){for(var v=o._reactName,C=[];r!==null&&r!==f;){var _=r,V=_.alternate,nt=_.stateNode;if(_=_.tag,V!==null&&V===f)break;_!==5&&_!==26&&_!==27||nt===null||(V=nt,g?(nt=Fn(r,v),nt!=null&&C.unshift(Ed(r,nt,V))):g||(nt=Fn(r,v),nt!=null&&C.push(Ed(r,nt,V)))),r=r.return}C.length!==0&&n.push({event:o,listeners:C})}var c1=/\r\n?/g,ey=/\u0000|\uFFFD/g;function ny(n){return(typeof n=="string"?n:""+n).replace(c1,`
30
+ `).replace(ey,"")}function ay(n,o){return o=ny(o),ny(n)===o}function Fe(n,o,r,f,g,v){switch(r){case"children":typeof f=="string"?o==="body"||o==="textarea"&&f===""||Xo(n,f):(typeof f=="number"||typeof f=="bigint")&&o!=="body"&&Xo(n,""+f);break;case"className":Mh(n,"class",f);break;case"tabIndex":Mh(n,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Mh(n,r,f);break;case"style":nb(n,f,v);break;case"data":if(o!=="object"){Mh(n,"data",f);break}case"src":case"href":if(f===""&&(o!=="a"||r!=="href")){n.removeAttribute(r);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Bi(""+f),n.setAttribute(r,f);break;case"action":case"formAction":if(typeof f=="function"){n.setAttribute(r,"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 v=="function"&&(r==="formAction"?(o!=="input"&&Fe(n,o,"name",g.name,g,null),Fe(n,o,"formEncType",g.formEncType,g,null),Fe(n,o,"formMethod",g.formMethod,g,null),Fe(n,o,"formTarget",g.formTarget,g,null)):(Fe(n,o,"encType",g.encType,g,null),Fe(n,o,"method",g.method,g,null),Fe(n,o,"target",g.target,g,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Bi(""+f),n.setAttribute(r,f);break;case"onClick":f!=null&&(n.onclick=oo);break;case"onScroll":f!=null&&Ee("scroll",n);break;case"onScrollEnd":f!=null&&Ee("scrollend",n);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(c(61));if(r=f.__html,r!=null){if(g.children!=null)throw Error(c(60));n.innerHTML=r}}break;case"multiple":n.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":n.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){n.removeAttribute("xlink:href");break}r=Bi(""+f),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""+f):n.removeAttribute(r);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":f&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":f===!0?n.setAttribute(r,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,f):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?n.setAttribute(r,f):n.removeAttribute(r);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?n.removeAttribute(r):n.setAttribute(r,f);break;case"popover":Ee("beforetoggle",n),Ee("toggle",n),_u(n,"popover",f);break;case"xlinkActuate":Ul(n,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":Ul(n,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":Ul(n,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":Ul(n,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":Ul(n,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":Ul(n,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":Ul(n,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":Ul(n,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":Ul(n,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":_u(n,"is",f);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=yw.get(r)||r,_u(n,r,f))}}function iy(n,o,r,f,g,v){switch(r){case"style":nb(n,f,v);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(c(61));if(r=f.__html,r!=null){if(g.children!=null)throw Error(c(60));n.innerHTML=r}}break;case"children":typeof f=="string"?Xo(n,f):(typeof f=="number"||typeof f=="bigint")&&Xo(n,""+f);break;case"onScroll":f!=null&&Ee("scroll",n);break;case"onScrollEnd":f!=null&&Ee("scrollend",n);break;case"onClick":f!=null&&(n.onclick=oo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!br.hasOwnProperty(r))t:{if(r[0]==="o"&&r[1]==="n"&&(g=r.endsWith("Capture"),o=r.slice(2,g?r.length-7:void 0),v=n[Oa]||null,v=v!=null?v[r]:null,typeof v=="function"&&n.removeEventListener(o,v,g),typeof f=="function")){typeof v!="function"&&v!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(o,f,g);break t}r in n?n[r]=f:f===!0?n.setAttribute(r,""):_u(n,r,f)}}}function ma(n,o,r){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",n),Ee("load",n);var f=!1,g=!1,v;for(v in r)if(r.hasOwnProperty(v)){var C=r[v];if(C!=null)switch(v){case"src":f=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,o));default:Fe(n,o,v,C,r,null)}}g&&Fe(n,o,"srcSet",r.srcSet,r,null),f&&Fe(n,o,"src",r.src,r,null);return;case"input":Ee("invalid",n);var _=v=C=g=null,V=null,nt=null;for(f in r)if(r.hasOwnProperty(f)){var ft=r[f];if(ft!=null)switch(f){case"name":g=ft;break;case"type":C=ft;break;case"checked":V=ft;break;case"defaultChecked":nt=ft;break;case"value":v=ft;break;case"defaultValue":_=ft;break;case"children":case"dangerouslySetInnerHTML":if(ft!=null)throw Error(c(137,o));break;default:Fe(n,o,f,ft,r,null)}}Sf(n,v,_,V,nt,C,g,!1);return;case"select":Ee("invalid",n),f=C=v=null;for(g in r)if(r.hasOwnProperty(g)&&(_=r[g],_!=null))switch(g){case"value":v=_;break;case"defaultValue":C=_;break;case"multiple":f=_;default:Fe(n,o,g,_,r,null)}o=v,r=C,n.multiple=!!f,o!=null?ku(n,!!f,o,!1):r!=null&&ku(n,!!f,r,!0);return;case"textarea":Ee("invalid",n),v=g=f=null;for(C in r)if(r.hasOwnProperty(C)&&(_=r[C],_!=null))switch(C){case"value":f=_;break;case"defaultValue":g=_;break;case"children":v=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(c(91));break;default:Fe(n,o,C,_,r,null)}Tg(n,f,g,v);return;case"option":for(V in r)r.hasOwnProperty(V)&&(f=r[V],f!=null)&&(V==="selected"?n.selected=f&&typeof f!="function"&&typeof f!="symbol":Fe(n,o,V,f,r,null));return;case"dialog":Ee("beforetoggle",n),Ee("toggle",n),Ee("cancel",n),Ee("close",n);break;case"iframe":case"object":Ee("load",n);break;case"video":case"audio":for(f=0;f<Sc.length;f++)Ee(Sc[f],n);break;case"image":Ee("error",n),Ee("load",n);break;case"details":Ee("toggle",n);break;case"embed":case"source":case"link":Ee("error",n),Ee("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(nt in r)if(r.hasOwnProperty(nt)&&(f=r[nt],f!=null))switch(nt){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,o));default:Fe(n,o,nt,f,r,null)}return;default:if(Ag(o)){for(ft in r)r.hasOwnProperty(ft)&&(f=r[ft],f!==void 0&&iy(n,o,ft,f,r,void 0));return}}for(_ in r)r.hasOwnProperty(_)&&(f=r[_],f!=null&&Fe(n,o,_,f,r,null))}function oy(n,o,r,f){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,v=null,C=null,_=null,V=null,nt=null,ft=null;for(ut in r){var yt=r[ut];if(r.hasOwnProperty(ut)&&yt!=null)switch(ut){case"checked":break;case"value":break;case"defaultValue":V=yt;default:f.hasOwnProperty(ut)||Fe(n,o,ut,null,f,yt)}}for(var at in f){var ut=f[at];if(yt=r[at],f.hasOwnProperty(at)&&(ut!=null||yt!=null))switch(at){case"type":v=ut;break;case"name":g=ut;break;case"checked":nt=ut;break;case"defaultChecked":ft=ut;break;case"value":C=ut;break;case"defaultValue":_=ut;break;case"children":case"dangerouslySetInnerHTML":if(ut!=null)throw Error(c(137,o));break;default:ut!==yt&&Fe(n,o,at,ut,f,yt)}}xf(n,C,_,V,nt,ft,v,g);return;case"select":ut=C=_=at=null;for(v in r)if(V=r[v],r.hasOwnProperty(v)&&V!=null)switch(v){case"value":break;case"multiple":ut=V;default:f.hasOwnProperty(v)||Fe(n,o,v,null,f,V)}for(g in f)if(v=f[g],V=r[g],f.hasOwnProperty(g)&&(v!=null||V!=null))switch(g){case"value":at=v;break;case"defaultValue":_=v;break;case"multiple":C=v;default:v!==V&&Fe(n,o,g,v,f,V)}o=_,r=C,f=ut,at!=null?ku(n,!!r,at,!1):!!f!=!!r&&(o!=null?ku(n,!!r,o,!0):ku(n,!!r,r?[]:"",!1));return;case"textarea":ut=at=null;for(_ in r)if(g=r[_],r.hasOwnProperty(_)&&g!=null&&!f.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Fe(n,o,_,null,f,g)}for(C in f)if(g=f[C],v=r[C],f.hasOwnProperty(C)&&(g!=null||v!=null))switch(C){case"value":at=g;break;case"defaultValue":ut=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(c(91));break;default:g!==v&&Fe(n,o,C,g,f,v)}Eg(n,at,ut);return;case"option":for(var Ut in r)at=r[Ut],r.hasOwnProperty(Ut)&&at!=null&&!f.hasOwnProperty(Ut)&&(Ut==="selected"?n.selected=!1:Fe(n,o,Ut,null,f,at));for(V in f)at=f[V],ut=r[V],f.hasOwnProperty(V)&&at!==ut&&(at!=null||ut!=null)&&(V==="selected"?n.selected=at&&typeof at!="function"&&typeof at!="symbol":Fe(n,o,V,at,f,ut));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 Pt in r)at=r[Pt],r.hasOwnProperty(Pt)&&at!=null&&!f.hasOwnProperty(Pt)&&Fe(n,o,Pt,null,f,at);for(nt in f)if(at=f[nt],ut=r[nt],f.hasOwnProperty(nt)&&at!==ut&&(at!=null||ut!=null))switch(nt){case"children":case"dangerouslySetInnerHTML":if(at!=null)throw Error(c(137,o));break;default:Fe(n,o,nt,at,f,ut)}return;default:if(Ag(o)){for(var Pe in r)at=r[Pe],r.hasOwnProperty(Pe)&&at!==void 0&&!f.hasOwnProperty(Pe)&&iy(n,o,Pe,void 0,f,at);for(ft in f)at=f[ft],ut=r[ft],!f.hasOwnProperty(ft)||at===ut||at===void 0&&ut===void 0||iy(n,o,ft,at,f,ut);return}}for(var J in r)at=r[J],r.hasOwnProperty(J)&&at!=null&&!f.hasOwnProperty(J)&&Fe(n,o,J,null,f,at);for(yt in f)at=f[yt],ut=r[yt],!f.hasOwnProperty(yt)||at===ut||at==null&&ut==null||Fe(n,o,yt,at,f,ut)}function Ip(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ly(){if(typeof performance.getEntriesByType=="function"){for(var n=0,o=0,r=performance.getEntriesByType("resource"),f=0;f<r.length;f++){var g=r[f],v=g.transferSize,C=g.initiatorType,_=g.duration;if(v&&_&&Ip(C)){for(C=0,_=g.responseEnd,f+=1;f<r.length;f++){var V=r[f],nt=V.startTime;if(nt>_)break;var ft=V.transferSize,yt=V.initiatorType;ft&&Ip(yt)&&(V=V.responseEnd,C+=ft*(V<_?1:(_-nt)/(V-nt)))}if(--f,o+=8*(v+C)/(g.duration/1e3),n++,10<n)break}}if(0<n)return o/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Jp=null,Fp=null;function Kr(n){return n.nodeType===9?n:n.ownerDocument}function f1(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 ry(n,o){if(n===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&o==="foreignObject"?0:n}function Ec(n,o){return n==="textarea"||n==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Pp=null;function Cw(){var n=window.event;return n&&n.type==="popstate"?n===Pp?!1:(Pp=n,!0):(Pp=null,!1)}var Ad=typeof setTimeout=="function"?setTimeout:void 0,d1=typeof clearTimeout=="function"?clearTimeout:void 0,Js=typeof Promise=="function"?Promise:void 0,h1=typeof queueMicrotask=="function"?queueMicrotask:typeof Js<"u"?function(n){return Js.resolve(null).then(n).catch(sy)}:Ad;function sy(n){setTimeout(function(){throw n})}function Ao(n){return n==="head"}function uy(n,o){var r=o,f=0;do{var g=r.nextSibling;if(n.removeChild(r),g&&g.nodeType===8)if(r=g.data,r==="/$"||r==="/&"){if(f===0){n.removeChild(g),Uc(o);return}f--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")f++;else if(r==="html")Fs(n.ownerDocument.documentElement);else if(r==="head"){r=n.ownerDocument.head,Fs(r);for(var v=r.firstChild;v;){var C=v.nextSibling,_=v.nodeName;v[qo]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&v.rel.toLowerCase()==="stylesheet"||r.removeChild(v),v=C}}else r==="body"&&Fs(n.ownerDocument.body);r=g}while(r);Uc(o)}function On(n,o){var r=n;n=0;do{var f=r.nextSibling;if(r.nodeType===1?o?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(o?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),f&&f.nodeType===8)if(r=f.data,r==="/$"){if(n===0)break;n--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||n++;r=f}while(r)}function Cd(n){var o=n.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var r=o;switch(o=o.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Cd(r),Ch(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function Rw(n,o,r,f){for(;n.nodeType===1;){var g=r;if(n.nodeName.toLowerCase()!==o.toLowerCase()){if(!f&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(f){if(!n[qo])switch(o){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==g.rel||n.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||n.getAttribute("title")!==(g.title==null?null:g.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(g.src==null?null:g.src)||n.getAttribute("type")!==(g.type==null?null:g.type)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(o==="input"&&n.type==="hidden"){var v=g.name==null?null:""+g.name;if(g.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Qa(n.nextSibling),n===null)break}return null}function ge(n,o,r){if(o==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=Qa(n.nextSibling),n===null))return null;return n}function p1(n,o){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=Qa(n.nextSibling),n===null))return null;return n}function Fi(n){return n.data==="$?"||n.data==="$~"}function Ir(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Tc(n,o){var r=n.ownerDocument;if(n.data==="$~")n._reactRetry=o;else if(n.data!=="$?"||r.readyState!=="loading")o();else{var f=function(){o(),r.removeEventListener("DOMContentLoaded",f)};r.addEventListener("DOMContentLoaded",f),n._reactRetry=f}}function Qa(n){for(;n!=null;n=n.nextSibling){var o=n.nodeType;if(o===1||o===3)break;if(o===8){if(o=n.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return n}var Rd=null;function Wp(n){n=n.nextSibling;for(var o=0;n;){if(n.nodeType===8){var r=n.data;if(r==="/$"||r==="/&"){if(o===0)return Qa(n.nextSibling);o--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||o++}n=n.nextSibling}return null}function Co(n){n=n.previousSibling;for(var o=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(o===0)return n;o--}else r!=="/$"&&r!=="/&"||o++}n=n.previousSibling}return null}function Ac(n,o,r){switch(o=Kr(r),n){case"html":if(n=o.documentElement,!n)throw Error(c(452));return n;case"head":if(n=o.head,!n)throw Error(c(453));return n;case"body":if(n=o.body,!n)throw Error(c(454));return n;default:throw Error(c(451))}}function Fs(n){for(var o=n.attributes;o.length;)n.removeAttributeNode(o[0]);Ch(n)}var ai=new Map,Dd=new Set;function Aa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Ro=F.d;F.d={f:Dw,r:m1,D:st,C:Ye,L:Mw,m:cy,X:nr,S:fy,M:Jr};function Dw(){var n=Ro.f(),o=gc();return n||o}function m1(n){var o=fs(n);o!==null&&o.tag===5&&o.type==="form"?Ie(o):Ro.r(n)}var Cc=typeof document>"u"?null:document;function Nn(n,o,r){var f=Cc;if(f&&typeof o=="string"&&o){var g=pi(o);g='link[rel="'+n+'"][href="'+g+'"]',typeof r=="string"&&(g+='[crossorigin="'+r+'"]'),Dd.has(g)||(Dd.add(g),n={rel:n,crossOrigin:r,href:o},f.querySelector(g)===null&&(o=f.createElement("link"),ma(o,"link",n),qe(o),f.head.appendChild(o)))}}function st(n){Ro.D(n),Nn("dns-prefetch",n,null)}function Ye(n,o){Ro.C(n,o),Nn("preconnect",n,o)}function Mw(n,o,r){Ro.L(n,o,r);var f=Cc;if(f&&n&&o){var g='link[rel="preload"][as="'+pi(o)+'"]';o==="image"&&r&&r.imageSrcSet?(g+='[imagesrcset="'+pi(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(g+='[imagesizes="'+pi(r.imageSizes)+'"]')):g+='[href="'+pi(n)+'"]';var v=g;switch(o){case"style":v=Di(n);break;case"script":v=Ps(n)}ai.has(v)||(n=A({rel:"preload",href:o==="image"&&r&&r.imageSrcSet?void 0:n,as:o},r),ai.set(v,n),f.querySelector(g)!==null||o==="style"&&f.querySelector(Fr(v))||o==="script"&&f.querySelector(Mc(v))||(o=f.createElement("link"),ma(o,"link",n),qe(o),f.head.appendChild(o)))}}function cy(n,o){Ro.m(n,o);var r=Cc;if(r&&n){var f=o&&typeof o.as=="string"?o.as:"script",g='link[rel="modulepreload"][as="'+pi(f)+'"][href="'+pi(n)+'"]',v=g;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Ps(n)}if(!ai.has(v)&&(n=A({rel:"modulepreload",href:n},o),ai.set(v,n),r.querySelector(g)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Mc(v)))return}f=r.createElement("link"),ma(f,"link",n),qe(f),r.head.appendChild(f)}}}function fy(n,o,r){Ro.S(n,o,r);var f=Cc;if(f&&n){var g=ds(f).hoistableStyles,v=Di(n);o=o||"default";var C=g.get(v);if(!C){var _={loading:0,preload:null};if(C=f.querySelector(Fr(v)))_.loading=5;else{n=A({rel:"stylesheet",href:n,"data-precedence":o},r),(r=ai.get(v))&&tm(n,r);var V=C=f.createElement("link");qe(V),ma(V,"link",n),V._p=new Promise(function(nt,ft){V.onload=nt,V.onerror=ft}),V.addEventListener("load",function(){_.loading|=1}),V.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Md(C,o,f)}C={type:"stylesheet",instance:C,count:1,state:_},g.set(v,C)}}}function nr(n,o){Ro.X(n,o);var r=Cc;if(r&&n){var f=ds(r).hoistableScripts,g=Ps(n),v=f.get(g);v||(v=r.querySelector(Mc(g)),v||(n=A({src:n,async:!0},o),(o=ai.get(g))&&em(n,o),v=r.createElement("script"),qe(v),ma(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(g,v))}}function Jr(n,o){Ro.M(n,o);var r=Cc;if(r&&n){var f=ds(r).hoistableScripts,g=Ps(n),v=f.get(g);v||(v=r.querySelector(Mc(g)),v||(n=A({src:n,async:!0,type:"module"},o),(o=ai.get(g))&&em(n,o),v=r.createElement("script"),qe(v),ma(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(g,v))}}function Rc(n,o,r,f){var g=(g=ae.current)?Aa(g):null;if(!g)throw Error(c(446));switch(n){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(o=Di(r.href),r=ds(g).hoistableStyles,f=r.get(o),f||(f={type:"style",instance:null,count:0,state:null},r.set(o,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=Di(r.href);var v=ds(g).hoistableStyles,C=v.get(n);if(C||(g=g.ownerDocument||g,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,C),(v=g.querySelector(Fr(n)))&&!v._p&&(C.instance=v,C.state.loading=5),ai.has(n)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},ai.set(n,r),v||g1(g,n,r,C.state))),o&&f===null)throw Error(c(528,""));return C}if(o&&f!==null)throw Error(c(529,""));return null;case"script":return o=r.async,r=r.src,typeof r=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=Ps(r),r=ds(g).hoistableScripts,f=r.get(o),f||(f={type:"script",instance:null,count:0,state:null},r.set(o,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,n))}}function Di(n){return'href="'+pi(n)+'"'}function Fr(n){return'link[rel="stylesheet"]['+n+"]"}function Dc(n){return A({},n,{"data-precedence":n.precedence,precedence:null})}function g1(n,o,r,f){n.querySelector('link[rel="preload"][as="style"]['+o+"]")?f.loading=1:(o=n.createElement("link"),f.preload=o,o.addEventListener("load",function(){return f.loading|=1}),o.addEventListener("error",function(){return f.loading|=2}),ma(o,"link",r),qe(o),n.head.appendChild(o))}function Ps(n){return'[src="'+pi(n)+'"]'}function Mc(n){return"script[async]"+n}function dy(n,o,r){if(o.count++,o.instance===null)switch(o.type){case"style":var f=n.querySelector('style[data-href~="'+pi(r.href)+'"]');if(f)return o.instance=f,qe(f),f;var g=A({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return f=(n.ownerDocument||n).createElement("style"),qe(f),ma(f,"style",g),Md(f,r.precedence,n),o.instance=f;case"stylesheet":g=Di(r.href);var v=n.querySelector(Fr(g));if(v)return o.state.loading|=4,o.instance=v,qe(v),v;f=Dc(r),(g=ai.get(g))&&tm(f,g),v=(n.ownerDocument||n).createElement("link"),qe(v);var C=v;return C._p=new Promise(function(_,V){C.onload=_,C.onerror=V}),ma(v,"link",f),o.state.loading|=4,Md(v,r.precedence,n),o.instance=v;case"script":return v=Ps(r.src),(g=n.querySelector(Mc(v)))?(o.instance=g,qe(g),g):(f=r,(g=ai.get(v))&&(f=A({},r),em(f,g)),n=n.ownerDocument||n,g=n.createElement("script"),qe(g),ma(g,"link",f),n.head.appendChild(g),o.instance=g);case"void":return null;default:throw Error(c(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(f=o.instance,o.state.loading|=4,Md(f,r.precedence,n));return o.instance}function Md(n,o,r){for(var f=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=f.length?f[f.length-1]:null,v=g,C=0;C<f.length;C++){var _=f[C];if(_.dataset.precedence===o)v=_;else if(v!==g)break}v?v.parentNode.insertBefore(n,v.nextSibling):(o=r.nodeType===9?r.head:r,o.insertBefore(n,o.firstChild))}function tm(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.title==null&&(n.title=o.title)}function em(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.integrity==null&&(n.integrity=o.integrity)}var zc=null;function hy(n,o,r){if(zc===null){var f=new Map,g=zc=new Map;g.set(r,f)}else g=zc,f=g.get(r),f||(f=new Map,g.set(r,f));if(f.has(n))return f;for(f.set(n,null),r=r.getElementsByTagName(n),g=0;g<r.length;g++){var v=r[g];if(!(v[qo]||v[Ke]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var C=v.getAttribute(o)||"";C=n+C;var _=f.get(C);_?_.push(v):f.set(C,[v])}}return f}function nm(n,o,r){n=n.ownerDocument||n,n.head.insertBefore(r,o==="title"?n.querySelector("head > title"):null)}function py(n,o,r){if(r===1||o.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;return o.rel==="stylesheet"?(n=o.disabled,typeof o.precedence=="string"&&n==null):!0;case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function ii(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function ml(n,o,r,f){if(r.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var g=Di(f.href),v=o.querySelector(Fr(g));if(v){o=v._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n.count++,n=am.bind(n),o.then(n,n)),r.state.loading|=4,r.instance=v,qe(v);return}v=o.ownerDocument||o,f=Dc(f),(g=ai.get(g))&&tm(f,g),v=v.createElement("link"),qe(v);var C=v;C._p=new Promise(function(_,V){C.onload=_,C.onerror=V}),ma(v,"link",f),r.instance=v}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(r,o),(o=r.state.preload)&&(r.state.loading&3)===0&&(n.count++,r=am.bind(n),o.addEventListener("load",r),o.addEventListener("error",r))}}var Mi=0;function my(n,o){return n.stylesheets&&n.count===0&&om(n,n.stylesheets),0<n.count||0<n.imgCount?function(r){var f=setTimeout(function(){if(n.stylesheets&&om(n,n.stylesheets),n.unsuspend){var v=n.unsuspend;n.unsuspend=null,v()}},6e4+o);0<n.imgBytes&&Mi===0&&(Mi=62500*ly());var g=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&om(n,n.stylesheets),n.unsuspend)){var v=n.unsuspend;n.unsuspend=null,v()}},(n.imgBytes>Mi?50:800)+o);return n.unsuspend=r,function(){n.unsuspend=null,clearTimeout(f),clearTimeout(g)}}:null}function am(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)om(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var im=null;function om(n,o){n.stylesheets=null,n.unsuspend!==null&&(n.count++,im=new Map,o.forEach(ia,n),im=null,am.call(n))}function ia(n,o){if(!(o.state.loading&4)){var r=im.get(n);if(r)var f=r.get(null);else{r=new Map,im.set(n,r);for(var g=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<g.length;v++){var C=g[v];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(r.set(C.dataset.precedence,C),f=C)}f&&r.set(null,f)}g=o.instance,C=g.getAttribute("data-precedence"),v=r.get(C)||f,v===f&&r.set(null,g),r.set(C,g),this.count++,f=am.bind(this),g.addEventListener("load",f),g.addEventListener("error",f),v?v.parentNode.insertBefore(g,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(g,n.firstChild)),o.state.loading|=4}}var zd={$$typeof:rt,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function gy(n,o,r,f,g,v,C,_,V){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=Vi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vi(0),this.hiddenUpdates=Vi(null),this.identifierPrefix=f,this.onUncaughtError=g,this.onCaughtError=v,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=V,this.incompleteTransitions=new Map}function lm(n,o,r,f,g,v,C,_,V,nt,ft,yt){return n=new gy(n,o,r,C,V,nt,ft,yt,_),o=1,v===!0&&(o|=24),v=xn(3,null,null,o),n.current=v,v.stateNode=n,o=Hf(),o.refCount++,n.pooledCache=o,o.refCount++,v.memoizedState={element:f,isDehydrated:r,cache:o},Qf(v),n}function Ws(n){return n?(n=ja,n):ja}function y1(n,o,r,f,g,v){g=Ws(g),f.context===null?f.context=g:f.pendingContext=g,f=Zl(o),f.payload={element:r},v=v===void 0?null:v,v!==null&&(f.callback=v),r=Si(n,f,o),r!==null&&(Xa(r,n,o),Ur(r,n,o))}function rm(n,o){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<o?r:o}}function yy(n,o){rm(n,o),(n=n.alternate)&&rm(n,o)}function v1(n){if(n.tag===13||n.tag===31){var o=Vl(n,67108864);o!==null&&Xa(o,n,67108864),yy(n,67108864)}}function tu(n){if(n.tag===13||n.tag===31){var o=ni();o=Eh(o);var r=Vl(n,o);r!==null&&Xa(r,n,o),yy(n,o)}}var Gn=!0;function gl(n,o,r,f){var g=U.T;U.T=null;var v=F.p;try{F.p=2,ga(n,o,r,f)}finally{F.p=v,U.T=g}}function yl(n,o,r,f){var g=U.T;U.T=null;var v=F.p;try{F.p=8,ga(n,o,r,f)}finally{F.p=v,U.T=g}}function ga(n,o,r,f){if(Gn){var g=vy(f);if(g===null)ty(n,o,f,sm,r),ar(n,f);else if(zw(g,n,o,r,f))f.stopPropagation();else if(ar(n,f),o&4&&-1<Za.indexOf(n)){for(;g!==null;){var v=fs(g);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var C=Wt(v.pendingLanes);if(C!==0){var _=v;for(_.pendingLanes|=2,_.entangledLanes|=2;C;){var V=1<<31-Jn(C);_.entanglements[1]|=V,C&=~V}pl(v),(Ne&6)===0&&(Be=jn()+500,er(0))}}break;case 31:case 13:_=Vl(v,2),_!==null&&Xa(_,v,2),gc(),yy(v,2)}if(v=vy(f),v===null&&ty(n,o,f,sm,r),v===g)break;g=v}g!==null&&f.stopPropagation()}else ty(n,o,f,null,r)}}function vy(n){return n=kh(n),Oc(n)}var sm=null;function Oc(n){if(sm=null,n=cs(n),n!==null){var o=m(n);if(o===null)n=null;else{var r=o.tag;if(r===13){if(n=y(o),n!==null)return n;n=null}else if(r===31){if(n=x(o),n!==null)return n;n=null}else if(r===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}return sm=n,null}function Od(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(Sh()){case Au:return 2;case Cu:return 8;case ao:case wh:return 32;case Ru:return 268435456;default:return 32}default:return 32}}var _c=!1,Xn=null,ya=null,Ca=null,Pr=new Map,Pi=new Map,fn=[],Za="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 ar(n,o){switch(n){case"focusin":case"focusout":Xn=null;break;case"dragenter":case"dragleave":ya=null;break;case"mouseover":case"mouseout":Ca=null;break;case"pointerover":case"pointerout":Pr.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pi.delete(o.pointerId)}}function eu(n,o,r,f,g,v){return n===null||n.nativeEvent!==v?(n={blockedOn:o,domEventName:r,eventSystemFlags:f,nativeEvent:v,targetContainers:[g]},o!==null&&(o=fs(o),o!==null&&v1(o)),n):(n.eventSystemFlags|=f,o=n.targetContainers,g!==null&&o.indexOf(g)===-1&&o.push(g),n)}function zw(n,o,r,f,g){switch(o){case"focusin":return Xn=eu(Xn,n,o,r,f,g),!0;case"dragenter":return ya=eu(ya,n,o,r,f,g),!0;case"mouseover":return Ca=eu(Ca,n,o,r,f,g),!0;case"pointerover":var v=g.pointerId;return Pr.set(v,eu(Pr.get(v)||null,n,o,r,f,g)),!0;case"gotpointercapture":return v=g.pointerId,Pi.set(v,eu(Pi.get(v)||null,n,o,r,f,g)),!0}return!1}function b1(n){var o=cs(n.target);if(o!==null){var r=m(o);if(r!==null){if(o=r.tag,o===13){if(o=y(r),o!==null){n.blockedOn=o,vg(n.priority,function(){tu(r)});return}}else if(o===31){if(o=x(r),o!==null){n.blockedOn=o,vg(n.priority,function(){tu(r)});return}}else if(o===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function _d(n){if(n.blockedOn!==null)return!1;for(var o=n.targetContainers;0<o.length;){var r=vy(n.nativeEvent);if(r===null){r=n.nativeEvent;var f=new r.constructor(r.type,r);_h=f,r.target.dispatchEvent(f),_h=null}else return o=fs(r),o!==null&&v1(o),n.blockedOn=r,!1;o.shift()}return!0}function kc(n,o,r){_d(n)&&r.delete(o)}function x1(){_c=!1,Xn!==null&&_d(Xn)&&(Xn=null),ya!==null&&_d(ya)&&(ya=null),Ca!==null&&_d(Ca)&&(Ca=null),Pr.forEach(kc),Pi.forEach(kc)}function vl(n,o){n.blockedOn===o&&(n.blockedOn=null,_c||(_c=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,x1)))}var jc=null;function S1(n){jc!==n&&(jc=n,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){jc===n&&(jc=null);for(var o=0;o<n.length;o+=3){var r=n[o],f=n[o+1],g=n[o+2];if(typeof f!="function"){if(Oc(f||r)===null)continue;break}var v=fs(r);v!==null&&(n.splice(o,3),o-=3,ac(v,{pending:!0,data:g,method:r.method,action:f},f,g))}}))}function Uc(n){function o(V){return vl(V,n)}Xn!==null&&vl(Xn,n),ya!==null&&vl(ya,n),Ca!==null&&vl(Ca,n),Pr.forEach(o),Pi.forEach(o);for(var r=0;r<fn.length;r++){var f=fn[r];f.blockedOn===n&&(f.blockedOn=null)}for(;0<fn.length&&(r=fn[0],r.blockedOn===null);)b1(r),r.blockedOn===null&&fn.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(f=0;f<r.length;f+=3){var g=r[f],v=r[f+1],C=g[Oa]||null;if(typeof v=="function")C||S1(r);else if(C){var _=null;if(v&&v.hasAttribute("formAction")){if(g=v,C=v[Oa]||null)_=C.formAction;else if(Oc(g)!==null)continue}else _=C.action;typeof _=="function"?r[f+1]=_:(r.splice(f,3),f-=3),S1(r)}}}function by(){function n(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(C){return g=C})},focusReset:"manual",scroll:"manual"})}function o(){g!==null&&(g(),g=null),f||setTimeout(r,20)}function r(){if(!f&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,g=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(r,100),function(){f=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),g!==null&&(g(),g=null)}}}function um(n){this._internalRoot=n}cm.prototype.render=um.prototype.render=function(n){var o=this._internalRoot;if(o===null)throw Error(c(409));var r=o.current,f=ni();y1(r,f,n,o,null,null)},cm.prototype.unmount=um.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var o=n.containerInfo;y1(n.current,2,null,n,null,null),gc(),o[vr]=null}};function cm(n){this._internalRoot=n}cm.prototype.unstable_scheduleHydration=function(n){if(n){var o=Th();n={blockedOn:null,target:n,priority:o};for(var r=0;r<fn.length&&o!==0&&o<fn[r].priority;r++);fn.splice(r,0,n),r===0&&b1(n)}};var xy=l.version;if(xy!=="19.2.3")throw Error(c(527,xy,"19.2.3"));F.findDOMNode=function(n){var o=n._reactInternals;if(o===void 0)throw typeof n.render=="function"?Error(c(188)):(n=Object.keys(n).join(","),Error(c(268,n)));return n=E(o),n=n!==null?T(n):null,n=n===null?null:n.stateNode,n};var w1={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kd.isDisabled&&kd.supportsFiber)try{Hi=kd.inject(w1),Vn=kd}catch{}}return Qm.createRoot=function(n,o){if(!p(n))throw Error(c(299));var r=!1,f="",g=Sp,v=S0,C=wp;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(g=o.onUncaughtError),o.onCaughtError!==void 0&&(v=o.onCaughtError),o.onRecoverableError!==void 0&&(C=o.onRecoverableError)),o=lm(n,1,!1,null,null,r,f,null,g,v,C,by),n[vr]=o.current,wc(n),new um(o)},Qm.hydrateRoot=function(n,o,r){if(!p(n))throw Error(c(299));var f=!1,g="",v=Sp,C=S0,_=wp,V=null;return r!=null&&(r.unstable_strictMode===!0&&(f=!0),r.identifierPrefix!==void 0&&(g=r.identifierPrefix),r.onUncaughtError!==void 0&&(v=r.onUncaughtError),r.onCaughtError!==void 0&&(C=r.onCaughtError),r.onRecoverableError!==void 0&&(_=r.onRecoverableError),r.formState!==void 0&&(V=r.formState)),o=lm(n,1,!0,o,r??null,f,g,V,v,C,_,by),o.context=Ws(null),r=o.current,f=ni(),f=Eh(f),g=Zl(f),g.callback=null,Si(r,g,f),r=f,o.current.lanes=r,yr(o,r),pl(o),n[vr]=o.current,wc(n),new cm(o)},Qm.version="19.2.3",Qm}var Zm={};var nE;function xM(){return nE||(nE=1,process.env.NODE_ENV!=="production"&&(function(){function i(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function l(t,e,a,s){if(a>=e.length)return s;var d=e[a],h=Nn(t)?t.slice():ge({},t);return h[d]=l(t[d],e,a+1,s),h}function u(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var s=0;s<a.length-1;s++)if(e[s]!==a[s]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(t,e,a,0)}}function c(t,e,a,s){var d=e[s],h=Nn(t)?t.slice():ge({},t);return s+1===e.length?(h[a[s]]=h[d],Nn(h)?h.splice(d,1):delete h[d]):h[d]=c(t[d],e,a,s+1),h}function p(t,e,a){var s=e[a],d=Nn(t)?t.slice():ge({},t);return a+1===e.length?(Nn(d)?d.splice(s,1):delete d[s],d):(d[s]=p(t[s],e,a+1),d)}function m(){return!1}function y(){return null}function x(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function S(){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 E(){}function T(){}function A(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function R(t,e,a,s){return new ww(t,e,a,s)}function j(t,e){t.context===Vc&&(Kp(t.current,2,e,t,null,null),Ci())}function B(t,e){if(Sl!==null){var a=e.staleFamilies;e=e.updatedFamilies,cd(),hb(t.current,e,a),Ci()}}function X(t){Sl=t}function q(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Z(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 W(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 rt(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 ct(t){if(Z(t)!==t)throw Error("Unable to find node on an unmounted component.")}function xt(t){var e=t.alternate;if(!e){if(e=Z(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,s=e;;){var d=a.return;if(d===null)break;var h=d.alternate;if(h===null){if(s=d.return,s!==null){a=s;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===a)return ct(d),t;if(h===s)return ct(d),e;h=h.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==s.return)a=d,s=h;else{for(var b=!1,w=d.child;w;){if(w===a){b=!0,a=d,s=h;break}if(w===s){b=!0,s=d,a=h;break}w=w.sibling}if(!b){for(w=h.child;w;){if(w===a){b=!0,a=h,s=d;break}if(w===s){b=!0,s=h,a=d;break}w=w.sibling}if(!b)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!==s)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 Tt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Tt(t),e!==null)return e;t=t.sibling}return null}function bt(t){return t===null||typeof t!="object"?null:(t=m1&&t[m1]||t["@@iterator"],typeof t=="function"?t:null)}function ot(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Cc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Tc:return"Fragment";case Rd:return"Profiler";case Qa:return"StrictMode";case Fs:return"Suspense";case ai:return"SuspenseList";case Ro: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 Ir:return"Portal";case Co:return t.displayName||"Context";case Wp:return(t._context.displayName||"Context")+".Consumer";case Ac:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Dd:return e=t.displayName||null,e!==null?e:ot(t.type)||"Memo";case Aa:e=t._payload,t=t._init;try{return ot(t(e))}catch{}}return null}function jt(t){return typeof t.tag=="number"?St(t):typeof t.name=="string"?t.name:null}function St(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 ot(e);case 8:return e===Qa?"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 St(t.return)}return null}function oe(t){return{current:t}}function Mt(t,e){0>nr?console.error("Unexpected pop."):(e!==fy[nr]&&console.error("Unexpected Fiber popped."),t.current=cy[nr],cy[nr]=null,fy[nr]=null,nr--)}function Nt(t,e,a){nr++,cy[nr]=t.current,fy[nr]=a,t.current=e}function Et(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 gt(t,e){Nt(Di,e,t),Nt(Rc,t,t),Nt(Jr,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?qb(e):mu;break;default:if(a=e.tagName,e=e.namespaceURI)e=qb(e),e=Wl(e,a);else switch(a){case"svg":e=Bm;break;case"math":e=hx;break;default:e=mu}}a=a.toLowerCase(),a=wg(null,a),a={context:e,ancestorInfo:a},Mt(Jr,t),Nt(Jr,a,t)}function U(t){Mt(Jr,t),Mt(Rc,t),Mt(Di,t)}function F(){return Et(Jr.current)}function P(t){t.memoizedState!==null&&Nt(Fr,t,t);var e=Et(Jr.current),a=t.type,s=Wl(e.context,a);a=wg(e.ancestorInfo,a),s={context:s,ancestorInfo:a},e!==s&&(Nt(Rc,t,t),Nt(Jr,s,t))}function Rt(t){Rc.current===t&&(Mt(Jr,t),Mt(Rc,t)),Fr.current===t&&(Mt(Fr,t),uv._currentValue=nh)}function Ht(){}function k(){if(Dc===0){g1=console.log,Ps=console.info,Mc=console.warn,dy=console.error,Md=console.group,tm=console.groupCollapsed,em=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})}Dc++}function et(){if(Dc--,Dc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ge({},t,{value:g1}),info:ge({},t,{value:Ps}),warn:ge({},t,{value:Mc}),error:ge({},t,{value:dy}),group:ge({},t,{value:Md}),groupCollapsed:ge({},t,{value:tm}),groupEnd:ge({},t,{value:em})})}0>Dc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ht(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
33
  `,e)),e!==-1)t=t.slice(0,e);else return"";return t}function mt(t){if(zc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);zc=e&&e[1]||"",hy=-1<a.stack.indexOf(`
@@ -76,10 +76,10 @@ Check the render method of \``+t+"`.":""}function qo(t,e,a,s){if(t=t.options,e){
76
76
  `),d=t.serverTail,t.serverProps===null&&e--,t=0;t<d.length;t++)h=d[t],M=typeof h=="string"?M+(br(e)+Go(h,120-2*e)+`
77
77
  `):M+_u(h.type,h.props,br(e));return a+s+M}function Sg(t){try{return`
78
78
 
79
- `+zh(t,0)}catch{return""}}function Oh(t,e,a){for(var s=e,d=null,h=0;s;)s===t&&(h=0),d={fiber:s,children:d!==null?[d]:[],serverProps:s===e?a:s===t?null:void 0,serverTail:[],distanceFromLeaf:h},h++,s=s.return;return d!==null?Sg(d).replaceAll(/^[+-]/gm,">"):""}function wg(t,e){var a=ge({},t||ft),s={tag:e};return _.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),V.indexOf(e)!==-1&&(a.pTagInButtonScope=null),C.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=s,e==="form"&&(a.formTag=s),e==="a"&&(a.aTagInScope=s),e==="button"&&(a.buttonTagInScope=s),e==="nobr"&&(a.nobrTagInScope=s),e==="p"&&(a.pTagInButtonScope=s),e==="li"&&(a.listItemTagAutoclosing=s),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=s),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=s),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function bf(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 nt.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 gw(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 pi(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 xf(t,e){e=e||ft;var a=e.current;if(e=(a=bf(t,a&&a.tag,e.implicitRootScope)?null:a)?null:gw(t,e),e=a||e,!e)return!0;var s=e.tag;if(e=String(!!a)+"|"+t+"|"+s,gt[e])return!1;gt[e]=!0;var d=(e=ii)?pi(e.return,s):null,h=e!==null&&d!==null?Oh(d,e,null):"",b="<"+t+">";return a?(a="",s==="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
79
+ `+zh(t,0)}catch{return""}}function Oh(t,e,a){for(var s=e,d=null,h=0;s;)s===t&&(h=0),d={fiber:s,children:d!==null?[d]:[],serverProps:s===e?a:s===t?null:void 0,serverTail:[],distanceFromLeaf:h},h++,s=s.return;return d!==null?Sg(d).replaceAll(/^[+-]/gm,">"):""}function wg(t,e){var a=ge({},t||ft),s={tag:e};return _.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),V.indexOf(e)!==-1&&(a.pTagInButtonScope=null),C.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=s,e==="form"&&(a.formTag=s),e==="a"&&(a.aTagInScope=s),e==="button"&&(a.buttonTagInScope=s),e==="nobr"&&(a.nobrTagInScope=s),e==="p"&&(a.pTagInButtonScope=s),e==="li"&&(a.listItemTagAutoclosing=s),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=s),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=s),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function bf(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 nt.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 gw(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 pi(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 xf(t,e){e=e||ft;var a=e.current;if(e=(a=bf(t,a&&a.tag,e.implicitRootScope)?null:a)?null:gw(t,e),e=a||e,!e)return!0;var s=e.tag;if(e=String(!!a)+"|"+t+"|"+s,yt[e])return!1;yt[e]=!0;var d=(e=ii)?pi(e.return,s):null,h=e!==null&&d!==null?Oh(d,e,null):"",b="<"+t+">";return a?(a="",s==="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`,b,s,a,h)):console.error(`In HTML, %s cannot be a descendant of <%s>.
81
81
  This will cause a hydration error.%s`,b,s,h),e&&(t=e.return,d===null||t===null||d===t&&t._debugOwner===e._debugOwner||zt(d,function(){console.error(`<%s> cannot contain a nested %s.
82
- See this log for the ancestor stack trace.`,s,b)})),!1}function Sf(t,e,a){if(a||bf("#text",e,!1))return!0;if(a="#text|"+e,gt[a])return!1;gt[a]=!0;var s=(a=ii)?pi(a,e):null;return a=a!==null&&s!==null?Oh(s,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
82
+ See this log for the ancestor stack trace.`,s,b)})),!1}function Sf(t,e,a){if(a||bf("#text",e,!1))return!0;if(a="#text|"+e,yt[a])return!1;yt[a]=!0;var s=(a=ii)?pi(a,e):null;return a=a!==null&&s!==null?Oh(s,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
84
  This will cause a hydration error.%s`,e,a),!1}function ps(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function ku(t){return t.replace(J,function(e,a){return a.toUpperCase()})}function Eg(t,e,a){var s=e.indexOf("--")===0;s||(-1<e.indexOf("-")?tt.hasOwnProperty(e)&&tt[e]||(tt[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,ku(e.replace(Pe,"ms-")))):Pt.test(e)?tt.hasOwnProperty(e)&&tt[e]||(tt[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!Q.test(a)||pt.hasOwnProperty(a)&&pt[a]||(pt[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(Q,""))),typeof a=="number"&&(isNaN(a)?Kt||(Kt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||je||(je=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?s?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":s?t.setProperty(e,a):typeof a!="number"||a===0||Qt.has(e)?e==="float"?t.cssFloat=a:(xa(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function Tg(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 s={};if(a){for(var d in a)if(a.hasOwnProperty(d)&&!e.hasOwnProperty(d))for(var h=at[d]||[d],b=0;b<h.length;b++)s[h[b]]=d}for(var w in e)if(e.hasOwnProperty(w)&&(!a||a[w]!==e[w]))for(d=at[w]||[w],h=0;h<d.length;h++)s[d[h]]=w;w={};for(var D in e)for(d=at[D]||[D],h=0;h<d.length;h++)w[d[h]]=D;D={};for(var M in s)if(d=s[M],(h=w[M])&&d!==h&&(b=d+","+h,!D[b])){D[b]=!0,b=console;var G=e[d];b.error.call(b,"%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.",G==null||typeof G=="boolean"||G===""?"Removing":"Updating",d,h)}}for(var $ in a)!a.hasOwnProperty($)||e!=null&&e.hasOwnProperty($)||($.indexOf("--")===0?t.setProperty($,""):$==="float"?t.cssFloat="":t[$]="");for(var N in e)M=e[N],e.hasOwnProperty(N)&&a[N]!==M&&Eg(t,N,M)}else for(s in e)e.hasOwnProperty(s)&&Eg(t,s,e[s])}function Xo(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 tb(t){return He.get(t)||t}function eb(t,e){if(Mi.call(fm,e)&&fm[e])return!0;if(d7.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=E1.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),fm[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),fm[e]=!0}if(f7.test(e)){if(t=e.toLowerCase(),t=E1.hasOwnProperty(t)?t:null,t==null)return fm[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),fm[e]=!0)}return!0}function nb(t,e){var a=[],s;for(s in e)eb(t,s)||a.push(s);e=a.map(function(d){return"`"+d+"`"}).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 Ag(t,e,a,s){if(Mi.call(zi,e)&&zi[e])return!0;var d=e.toLowerCase();if(d==="onfocusin"||d==="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."),zi[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(s!=null){if(t=s.possibleRegistrationNames,s.registrationNameDependencies.hasOwnProperty(e))return!0;if(s=t.hasOwnProperty(d)?t[d]:null,s!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,s),zi[e]=!0;if(tR.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),zi[e]=!0}else if(tR.test(e))return h7.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),zi[e]=!0;if(p7.test(e)||m7.test(e))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),zi[e]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),zi[e]=!0;if(d==="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),zi[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),zi[e]=!0;if(Do.hasOwnProperty(d)){if(d=Do[d],d!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,d),zi[e]=!0}else if(e!==d)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,d),zi[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 d=e.toLowerCase().slice(0,5),d==="data-"||d==="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),zi[e]=!0)}case"function":case"symbol":return zi[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),zi[e]=!0}}return!0}function yw(t,e,a){var s=[],d;for(d in e)Ag(t,d,e[d],a)||s.push(d);e=s.map(function(h){return"`"+h+"`"}).join(", "),s.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<s.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 wf(t){return g7.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Bi(){}function oo(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function _h(t){var e=At(t);if(e&&(t=e.stateNode)){var a=t[Za]||null;t:switch(t=e.stateNode,e.type){case"input":if(vr(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(Le(e,"name"),a=a.querySelectorAll('input[name="'+Ke(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var s=a[e];if(s!==t&&s.form===t.form){var d=s[Za]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");vr(s,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(e=0;e<a.length;e++)s=a[e],s.form===t.form&&vg(s)}break t;case"textarea":fs(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&qo(t,!!a.multiple,e,!1)}}}function kh(t,e,a){if(Ow)return t(e,a);Ow=!0;try{var s=t(e);return s}finally{if(Ow=!1,(dm!==null||hm!==null)&&(Ci(),dm&&(e=dm,t=hm,hm=dm=null,_h(e),t)))for(e=0;e<t.length;e++)_h(t[e])}}function Qo(t,e){var a=t.stateNode;if(a===null)return null;var s=a[Za]||null;if(s===null)return null;a=s[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":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;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 ms(){if(T1)return T1;var t,e=kw,a=e.length,s,d="value"in Lc?Lc.value:Lc.textContent,h=d.length;for(t=0;t<a&&e[t]===d[t];t++);var b=a-t;for(s=1;s<=b&&e[a-s]===d[h-s];s++);return T1=d.slice(t,1<s?1-s:void 0)}function Ef(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ju(){return!0}function Cg(){return!1}function Fn(t){function e(a,s,d,h,b){this._reactName=a,this._targetInst=d,this.type=s,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var w in t)t.hasOwnProperty(w)&&(a=t[w],this[w]=a?a(h):h[w]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ju:Cg,this.isPropagationStopped=Cg,this}return ge(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=ju)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ju)},persist:function(){},isPersistent:ju}),e}function Ll(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=M7[t])?!!e[t]:!1}function Tf(){return Ll}function Uu(t,e){switch(t){case"keyup":return Y7.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==iR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nl(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function Rg(t,e){switch(t){case"compositionend":return Nl(e);case"keypress":return e.which!==lR?null:(sR=!0,rR);case"textInput":return t=e.data,t===rR&&sR?null:t;default:return null}}function jh(t,e){if(pm)return t==="compositionend"||!Nw&&Uu(t,e)?(t=ms(),T1=kw=Lc=null,pm=!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 oR&&e.locale!=="ko"?null:e.data;default:return null}}function Dg(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!G7[t.type]:e==="textarea"}function Uh(t){if(!Wr)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function Af(t,e,a,s){dm?hm?hm.push(s):hm=[s]:dm=s,e=Eo(e,"onChange"),0<e.length&&(a=new A1("onChange","change",null,a,s),t.push({event:a,listeners:e}))}function ab(t){Qe(t,0)}function pa(t){var e=Bt(t);if(vg(e))return t}function Sr(t,e){if(t==="change")return e}function Cf(){Cy&&(Cy.detachEvent("onpropertychange",Lu),Ry=Cy=null)}function Lu(t){if(t.propertyName==="value"&&pa(Ry)){var e=[];Af(e,Ry,t,oo(t)),kh(ab,e)}}function vw(t,e,a){t==="focusin"?(Cf(),Cy=e,Ry=a,Cy.attachEvent("onpropertychange",Lu)):t==="focusout"&&Cf()}function Mg(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return pa(Ry)}function zg(t,e){if(t==="click")return pa(e)}function Rf(t,e){if(t==="input"||t==="change")return pa(e)}function Lh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function Nu(t,e){if(Oi(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),s=Object.keys(e);if(a.length!==s.length)return!1;for(s=0;s<a.length;s++){var d=a[s];if(!Mi.call(e,d)||!Oi(t[d],e[d]))return!1}return!0}function ib(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ob(t,e){var a=ib(t);t=0;for(var s;a;){if(a.nodeType===3){if(s=t+a.textContent.length,t<=e&&s>=e)return{node:a,offset:e-t};t=s}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=ib(a)}}function lb(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?lb(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Nh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=io(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=io(t.document)}return e}function Og(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 rb(t,e,a){var s=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Vw||mm==null||mm!==io(s)||(s=mm,"selectionStart"in s&&Og(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Dy&&Nu(Dy,s)||(Dy=s,s=Eo(Hw,"onSelect"),0<s.length&&(e=new A1("onSelect","select",null,e,a),t.push({event:e,listeners:s}),e.target=mm)))}function gs(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function ys(t){if(Bw[t])return Bw[t];if(!gm[t])return t;var e=gm[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in cR)return Bw[t]=e[a];return t}function lo(t,e){mR.set(t,e),xe(e,[t])}function sb(t){for(var e=R1,a=0;a<t.length;a++){var s=t[a];if(typeof s=="object"&&s!==null)if(Nn(s)&&s.length===2&&typeof s[0]=="string"){if(e!==R1&&e!==Qw)return Gw;e=Qw}else return Gw;else{if(typeof s=="function"||typeof s=="string"&&50<s.length||e!==R1&&e!==Xw)return Gw;e=Xw}}return e}function _g(t,e,a,s){for(var d in t)Mi.call(t,d)&&d[0]!=="_"&&Zo(d,t[d],e,a,s)}function Zo(t,e,a,s,d){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Fi){var h=ot(e.type)||"…",b=e.key;e=e.props;var w=Object.keys(e),D=w.length;if(b==null&&D===0){e="<"+h+" />";break}if(3>s||D===1&&w[0]==="children"&&b==null){e="<"+h+" … />";break}a.push([d+"  ".repeat(s)+t,"<"+h]),b!==null&&Zo("key",b,a,s+1,d),t=!1;for(var M in e)M==="children"?e.children!=null&&(!Nn(e.children)||0<e.children.length)&&(t=!0):Mi.call(e,M)&&M[0]!=="_"&&Zo(M,e[M],a,s+1,d);a.push(["",t?">…</"+h+">":"/>"]);return}if(h=Object.prototype.toString.call(e),h=h.slice(8,h.length-1),h==="Array"){if(M=sb(e),M===Xw||M===R1){e=JSON.stringify(e);break}else if(M===Qw){for(a.push([d+"  ".repeat(s)+t,""]),t=0;t<e.length;t++)h=e[t],Zo(h[0],h[1],a,s+1,d);return}}if(h==="Promise"){if(e.status==="fulfilled"){if(h=a.length,Zo(t,e.value,a,s,d),a.length>h){a=a[h],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(h=a.length,Zo(t,e.reason,a,s,d),a.length>h)){a=a[h],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(s)+t,"Promise"]);return}h==="Object"&&(M=Object.getPrototypeOf(e))&&typeof M.constructor=="function"&&(h=M.constructor.name),a.push([d+"  ".repeat(s)+t,h==="Object"?3>s?"":"…":h]),3>s&&_g(e,a,s+1,d);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===J7?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([d+"  ".repeat(s)+t,e])}function ub(t,e,a,s){var d=!0;for(b in t)b in e||(a.push([D1+"  ".repeat(s)+b,"…"]),d=!1);for(var h in e)if(h in t){var b=t[h],w=e[h];if(b!==w){if(s===0&&h==="children")d="  ".repeat(s)+h,a.push([D1+d,"…"],[M1+d,"…"]);else{if(!(3<=s)){if(typeof b=="object"&&typeof w=="object"&&b!==null&&w!==null&&b.$$typeof===w.$$typeof)if(w.$$typeof===Fi){if(b.type===w.type&&b.key===w.key){b=ot(w.type)||"…",d="  ".repeat(s)+h,b="<"+b+" … />",a.push([D1+d,b],[M1+d,b]),d=!1;continue}}else{var D=Object.prototype.toString.call(b),M=Object.prototype.toString.call(w);if(D===M&&(M==="[object Object]"||M==="[object Array]")){D=[vR+"  ".repeat(s)+h,M==="[object Array]"?"Array":""],a.push(D),M=a.length,ub(b,w,a,s+1)?M===a.length&&(D[1]="Referentially unequal but deeply equal objects. Consider memoization."):d=!1;continue}}else if(typeof b=="function"&&typeof w=="function"&&b.name===w.name&&b.length===w.length&&(D=Function.prototype.toString.call(b),M=Function.prototype.toString.call(w),D===M)){b=w.name===""?"() => {}":w.name+"() {}",a.push([vR+"  ".repeat(s)+h,b+" Referentially unequal function closure. Consider memoization."]);continue}}Zo(h,b,a,s,D1),Zo(h,w,a,s,M1)}d=!1}}else a.push([M1+"  ".repeat(s)+h,"…"]),d=!1;return d}function ro(t){Oe=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Yi(t,e,a,s){dn&&(Hc.start=e,Hc.end=a,nu.color="warning",nu.tooltipText=s,nu.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,s,Hc)):performance.measure(s,Hc))}function Hh(t,e,a){Yi(t,e,a,"Reconnect")}function Vh(t,e,a,s,d){var h=St(t);if(h!==null&&dn){var b=t.alternate,w=t.actualDuration;if(b===null||b.child!==t.child)for(var D=t.child;D!==null;D=D.sibling)w-=D.actualDuration;s=.5>w?s?"tertiary-light":"primary-light":10>w?s?"tertiary":"primary":100>w?s?"tertiary-dark":"primary-dark":"error";var M=t.memoizedProps;w=t._debugTask,M!==null&&b!==null&&b.memoizedProps!==M?(D=[F7],M=ub(b.memoizedProps,M,D,0),1<D.length&&(M&&!Nc&&(b.lanes&d)===0&&100<t.actualDuration?(Nc=!0,D[0]=P7,nu.color="warning",nu.tooltipText=bR):(nu.color=s,nu.tooltipText=h),nu.properties=D,Hc.start=e,Hc.end=a,w!=null?w.run(performance.measure.bind(performance,"​"+h,Hc)):performance.measure("​"+h,Hc))):w!=null?w.run(console.timeStamp.bind(console,h,e,a,bl,void 0,s)):console.timeStamp(h,e,a,bl,void 0,s)}}function kg(t,e,a,s){if(dn){var d=St(t);if(d!==null){for(var h=null,b=[],w=0;w<s.length;w++){var D=s[w];h==null&&D.source!==null&&(h=D.source._debugTask),D=D.value,b.push(["Error",typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D)])}t.key!==null&&Zo("key",t.key,b,0,""),t.memoizedProps!==null&&_g(t.memoizedProps,b,0,""),h==null&&(h=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:bl,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:b}}},h?h.run(performance.measure.bind(performance,"​"+d,t)):performance.measure("​"+d,t)}}}function so(t,e,a,s,d){if(d!==null){if(dn){var h=St(t);if(h!==null){s=[];for(var b=0;b<d.length;b++){var w=d[b].value;s.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}t.key!==null&&Zo("key",t.key,s,0,""),t.memoizedProps!==null&&_g(t.memoizedProps,s,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:bl,tooltipText:"A lifecycle or effect errored",properties:s}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,"​"+h,e)):performance.measure("​"+h,e)}}}else h=St(t),h!==null&&dn&&(d=1>s?"secondary-light":100>s?"secondary":500>s?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,h,e,a,bl,void 0,d)):console.timeStamp(h,e,a,bl,void 0,d))}function bw(t,e,a,s){if(dn&&!(e<=t)){var d=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",s?s.run(console.timeStamp.bind(console,a,t,e,Oe,Me,d)):console.timeStamp(a,t,e,Oe,Me,d)}}function cb(t,e,a,s){!dn||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",s?s.run(console.timeStamp.bind(console,"Prewarm",t,e,Oe,Me,a)):console.timeStamp("Prewarm",t,e,Oe,Me,a))}function fb(t,e,a,s){!dn||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",s?s.run(console.timeStamp.bind(console,"Suspended",t,e,Oe,Me,a)):console.timeStamp("Suspended",t,e,Oe,Me,a))}function xw(t,e,a,s,d,h){if(dn&&!(e<=t)){a=[];for(var b=0;b<s.length;b++){var w=s[b].value;a.push(["Recoverable Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:Oe,trackGroup:Me,tooltipText:d?"Hydration Failed":"Recovered after Error",properties:a}}},h?h.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function jg(t,e,a,s){!dn||e<=t||(s?s.run(console.timeStamp.bind(console,"Errored",t,e,Oe,Me,"error")):console.timeStamp("Errored",t,e,Oe,Me,"error"))}function Sw(t,e,a,s){!dn||e<=t||(s?s.run(console.timeStamp.bind(console,a,t,e,Oe,Me,"secondary-light")):console.timeStamp(a,t,e,Oe,Me,"secondary-light"))}function db(t,e,a,s,d){if(dn&&!(e<=t)){for(var h=[],b=0;b<a.length;b++){var w=a[b].value;h.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}t={start:t,end:e,detail:{devtools:{color:"error",track:Oe,trackGroup:Me,tooltipText:s?"Remaining Effects Errored":"Commit Errored",properties:h}}},d?d.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function Ug(t,e,a){!dn||e<=t||console.timeStamp("Animating",t,e,Oe,Me,"secondary-dark")}function Bh(){for(var t=ym,e=Zw=ym=0;e<t;){var a=xl[e];xl[e++]=null;var s=xl[e];xl[e++]=null;var d=xl[e];xl[e++]=null;var h=xl[e];if(xl[e++]=null,s!==null&&d!==null){var b=s.pending;b===null?d.next=d:(d.next=b.next,b.next=d),s.pending=d}h!==0&&Lg(a,d,h)}}function Hu(t,e,a,s){xl[ym++]=t,xl[ym++]=e,xl[ym++]=a,xl[ym++]=s,Zw|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function vs(t,e,a,s){return Hu(t,e,a,s),Df(t)}function wa(t,e){return Hu(t,null,null,e),Df(t)}function Lg(t,e,a){t.lanes|=a;var s=t.alternate;s!==null&&(s.lanes|=a);for(var d=!1,h=t.return;h!==null;)h.childLanes|=a,s=h.alternate,s!==null&&(s.childLanes|=a),h.tag===22&&(t=h.stateNode,t===null||t._visibility&My||(d=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,d&&e!==null&&(d=31-ga(a),t=h.hiddenUpdates,s=t[d],s===null?t[d]=[e]:s.push(e),e.lane=a|536870912),h):null}function Df(t){if(nv>pL)throw Jd=nv=0,av=A2=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.");Jd>mL&&(Jd=0,av=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&&Ji(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Ji(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function wr(t){if(Sl===null)return t;var e=Sl(t);return e===void 0?t:e.current}function Yh(t){if(Sl===null)return t;var e=Sl(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=wr(t.render),t.render!==e)?(e={$$typeof:Ac,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function Ng(t,e){if(Sl===null)return!1;var a=t.elementType;e=e.type;var s=!1,d=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(s=!0);break;case 0:(typeof e=="function"||d===Aa)&&(s=!0);break;case 11:(d===Ac||d===Aa)&&(s=!0);break;case 14:case 15:(d===Dd||d===Aa)&&(s=!0);break;default:return!1}return!!(s&&(t=Sl(a),t!==void 0&&t===Sl(e)))}function bs(t){Sl!==null&&typeof WeakSet=="function"&&(vm===null&&(vm=new WeakSet),vm.add(t))}function hb(t,e,a){do{var s=t,d=s.alternate,h=s.child,b=s.sibling,w=s.tag;s=s.type;var D=null;switch(w){case 0:case 15:case 1:D=s;break;case 11:D=s.render}if(Sl===null)throw Error("Expected resolveFamily to be set during hot reload.");var M=!1;if(s=!1,D!==null&&(D=Sl(D),D!==void 0&&(a.has(D)?s=!0:e.has(D)&&(w===1?s=!0:M=!0))),vm!==null&&(vm.has(t)||d!==null&&vm.has(d))&&(s=!0),s&&(t._debugNeedsRemount=!0),(s||M)&&(d=wa(t,2),d!==null&&ie(d,t,2)),h===null||s||hb(h,e,a),b===null)break;t=b}while(!0)}function ww(t,e,a,s){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=s,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,xR||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Hg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function $o(t,e){var a=t.alternate;switch(a===null?(a=R(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=wr(t.type);break;case 1:a.type=wr(t.type);break;case 11:a.type=Yh(t.type)}return a}function Vg(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 xs(t,e,a,s,d,h){var b=0,w=t;if(typeof t=="function")Hg(t)&&(b=1),w=wr(w);else if(typeof t=="string")b=F(),b=s1(t,a,b)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Ro:return e=R(31,a,e,d),e.elementType=Ro,e.lanes=h,e;case Tc:return Ss(a.children,d,h,e);case Qa:b=8,d|=oi,d|=ir;break;case Rd:return t=a,s=d,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=R(12,t,e,s|ye),e.elementType=Rd,e.lanes=h,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Fs:return e=R(13,a,e,d),e.elementType=Fs,e.lanes=h,e;case ai:return e=R(19,a,e,d),e.elementType=ai,e.lanes=h,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Co:b=10;break t;case Wp:b=9;break t;case Ac:b=11,w=Yh(w);break t;case Dd:b=14;break t;case Aa:b=16,w=null;break t}w="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(w+=" 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":Nn(t)?a="array":t!==void 0&&t.$$typeof===Fi?(a="<"+(ot(t.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(b=s?jt(s):null)&&(w+=`
85
85
 
@@ -110,9 +110,9 @@ It can also happen if the client has a browser extension installed which messes
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
111
  <%s>{%s}</%s>`,e,e,a,e,a))}function Xu(t,e){var a=Fa();a!==null?a.run(Kg.bind(null,t,e)):Kg(t,e)}function Jh(t,e){var a=St(t)||"Component";QR[a]||(QR[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 Uf(t,e){var a=Fa();a!==null?a.run(Jh.bind(null,t,e)):Jh(t,e)}function Wn(t){function e(L,H){if(t){var Y=L.deletions;Y===null?(L.deletions=[H],L.flags|=16):Y.push(H)}}function a(L,H){if(!t)return null;for(;H!==null;)e(L,H),H=H.sibling;return null}function s(L){for(var H=new Map;L!==null;)L.key!==null?H.set(L.key,L):H.set(L.index,L),L=L.sibling;return H}function d(L,H){return L=$o(L,H),L.index=0,L.sibling=null,L}function h(L,H,Y){return L.index=Y,t?(Y=L.alternate,Y!==null?(Y=Y.index,Y<H?(L.flags|=67108866,H):Y):(L.flags|=67108866,H)):(L.flags|=1048576,H)}function b(L){return t&&L.alternate===null&&(L.flags|=67108866),L}function w(L,H,Y,dt){return H===null||H.tag!==6?(H=Vu(Y,L.mode,dt),H.return=L,H._debugOwner=L,H._debugTask=L._debugTask,H._debugInfo=ve,H):(H=d(H,Y),H.return=L,H._debugInfo=ve,H)}function D(L,H,Y,dt){var Dt=Y.type;return Dt===Tc?(H=G(L,H,Y.props.children,dt,Y.key),Ua(Y,H,L),H):H!==null&&(H.elementType===Dt||Ng(H,Y)||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===Aa&&vi(Dt)===H.type)?(H=d(H,Y.props),Pa(H,Y),H.return=L,H._debugOwner=Y._owner,H._debugInfo=ve,H):(H=Er(Y,L.mode,dt),Pa(H,Y),H.return=L,H._debugInfo=ve,H)}function M(L,H,Y,dt){return H===null||H.tag!==4||H.stateNode.containerInfo!==Y.containerInfo||H.stateNode.implementation!==Y.implementation?(H=qh(Y,L.mode,dt),H.return=L,H._debugInfo=ve,H):(H=d(H,Y.children||[]),H.return=L,H._debugInfo=ve,H)}function G(L,H,Y,dt,Dt){return H===null||H.tag!==7?(H=Ss(Y,L.mode,dt,Dt),H.return=L,H._debugOwner=L,H._debugTask=L._debugTask,H._debugInfo=ve,H):(H=d(H,Y),H.return=L,H._debugInfo=ve,H)}function $(L,H,Y){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Vu(""+H,L.mode,Y),H.return=L,H._debugOwner=L,H._debugTask=L._debugTask,H._debugInfo=ve,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Fi:return Y=Er(H,L.mode,Y),Pa(Y,H),Y.return=L,L=Rn(H._debugInfo),Y._debugInfo=ve,ve=L,Y;case Ir:return H=qh(H,L.mode,Y),H.return=L,H._debugInfo=ve,H;case Aa:var dt=Rn(H._debugInfo);return H=vi(H),L=$(L,H,Y),ve=dt,L}if(Nn(H)||vt(H))return Y=Ss(H,L.mode,Y,null),Y.return=L,Y._debugOwner=L,Y._debugTask=L._debugTask,L=Rn(H._debugInfo),Y._debugInfo=ve,ve=L,Y;if(typeof H.then=="function")return dt=Rn(H._debugInfo),L=$(L,ho(H),Y),ve=dt,L;if(H.$$typeof===Co)return $(L,Of(L,H),Y);Zi(L,H)}return typeof H=="function"&&Xu(L,H),typeof H=="symbol"&&Uf(L,H),null}function N(L,H,Y,dt){var Dt=H!==null?H.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Dt!==null?null:w(L,H,""+Y,dt);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case Fi:return Y.key===Dt?(Dt=Rn(Y._debugInfo),L=D(L,H,Y,dt),ve=Dt,L):null;case Ir:return Y.key===Dt?M(L,H,Y,dt):null;case Aa:return Dt=Rn(Y._debugInfo),Y=vi(Y),L=N(L,H,Y,dt),ve=Dt,L}if(Nn(Y)||vt(Y))return Dt!==null?null:(Dt=Rn(Y._debugInfo),L=G(L,H,Y,dt,null),ve=Dt,L);if(typeof Y.then=="function")return Dt=Rn(Y._debugInfo),L=N(L,H,ho(Y),dt),ve=Dt,L;if(Y.$$typeof===Co)return N(L,H,Of(L,Y),dt);Zi(L,Y)}return typeof Y=="function"&&Xu(L,Y),typeof Y=="symbol"&&Uf(L,Y),null}function it(L,H,Y,dt,Dt){if(typeof dt=="string"&&dt!==""||typeof dt=="number"||typeof dt=="bigint")return L=L.get(Y)||null,w(H,L,""+dt,Dt);if(typeof dt=="object"&&dt!==null){switch(dt.$$typeof){case Fi:return Y=L.get(dt.key===null?Y:dt.key)||null,L=Rn(dt._debugInfo),H=D(H,Y,dt,Dt),ve=L,H;case Ir:return L=L.get(dt.key===null?Y:dt.key)||null,M(H,L,dt,Dt);case Aa:var se=Rn(dt._debugInfo);return dt=vi(dt),H=it(L,H,Y,dt,Dt),ve=se,H}if(Nn(dt)||vt(dt))return Y=L.get(Y)||null,L=Rn(dt._debugInfo),H=G(H,Y,dt,Dt,null),ve=L,H;if(typeof dt.then=="function")return se=Rn(dt._debugInfo),H=it(L,H,Y,ho(dt),Dt),ve=se,H;if(dt.$$typeof===Co)return it(L,H,Y,Of(H,dt),Dt);Zi(H,dt)}return typeof dt=="function"&&Xu(H,dt),typeof dt=="symbol"&&Uf(H,dt),null}function Ct(L,H,Y,dt){if(typeof Y!="object"||Y===null)return dt;switch(Y.$$typeof){case Fi:case Ir:T(L,H,Y);var Dt=Y.key;if(typeof Dt!="string")break;if(dt===null){dt=new Set,dt.add(Dt);break}if(!dt.has(Dt)){dt.add(Dt);break}zt(H,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.",Dt)});break;case Aa:Y=vi(Y),Ct(L,H,Y,dt)}return dt}function kt(L,H,Y,dt){for(var Dt=null,se=null,Jt=null,Zt=H,me=H=0,pn=null;Zt!==null&&me<Y.length;me++){Zt.index>me?(pn=Zt,Zt=null):pn=Zt.sibling;var Zn=N(L,Zt,Y[me],dt);if(Zn===null){Zt===null&&(Zt=pn);break}Dt=Ct(L,Zn,Y[me],Dt),t&&Zt&&Zn.alternate===null&&e(L,Zt),H=h(Zn,H,me),Jt===null?se=Zn:Jt.sibling=Zn,Jt=Zn,Zt=pn}if(me===Y.length)return a(L,Zt),De&&uo(L,me),se;if(Zt===null){for(;me<Y.length;me++)Zt=$(L,Y[me],dt),Zt!==null&&(Dt=Ct(L,Zt,Y[me],Dt),H=h(Zt,H,me),Jt===null?se=Zt:Jt.sibling=Zt,Jt=Zt);return De&&uo(L,me),se}for(Zt=s(Zt);me<Y.length;me++)pn=it(Zt,L,me,Y[me],dt),pn!==null&&(Dt=Ct(L,pn,Y[me],Dt),t&&pn.alternate!==null&&Zt.delete(pn.key===null?me:pn.key),H=h(pn,H,me),Jt===null?se=pn:Jt.sibling=pn,Jt=pn);return t&&Zt.forEach(function(yu){return e(L,yu)}),De&&uo(L,me),se}function rn(L,H,Y,dt){if(Y==null)throw Error("An iterable object provided no iterator.");for(var Dt=null,se=null,Jt=H,Zt=H=0,me=null,pn=null,Zn=Y.next();Jt!==null&&!Zn.done;Zt++,Zn=Y.next()){Jt.index>Zt?(me=Jt,Jt=null):me=Jt.sibling;var yu=N(L,Jt,Zn.value,dt);if(yu===null){Jt===null&&(Jt=me);break}pn=Ct(L,yu,Zn.value,pn),t&&Jt&&yu.alternate===null&&e(L,Jt),H=h(yu,H,Zt),se===null?Dt=yu:se.sibling=yu,se=yu,Jt=me}if(Zn.done)return a(L,Jt),De&&uo(L,Zt),Dt;if(Jt===null){for(;!Zn.done;Zt++,Zn=Y.next())Jt=$(L,Zn.value,dt),Jt!==null&&(pn=Ct(L,Jt,Zn.value,pn),H=h(Jt,H,Zt),se===null?Dt=Jt:se.sibling=Jt,se=Jt);return De&&uo(L,Zt),Dt}for(Jt=s(Jt);!Zn.done;Zt++,Zn=Y.next())me=it(Jt,L,Zt,Zn.value,dt),me!==null&&(pn=Ct(L,me,Zn.value,pn),t&&me.alternate!==null&&Jt.delete(me.key===null?Zt:me.key),H=h(me,H,Zt),se===null?Dt=me:se.sibling=me,se=me);return t&&Jt.forEach(function(_L){return e(L,_L)}),De&&uo(L,Zt),Dt}function ze(L,H,Y,dt){if(typeof Y=="object"&&Y!==null&&Y.type===Tc&&Y.key===null&&(Ua(Y,null,L),Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case Fi:var Dt=Rn(Y._debugInfo);t:{for(var se=Y.key;H!==null;){if(H.key===se){if(se=Y.type,se===Tc){if(H.tag===7){a(L,H.sibling),dt=d(H,Y.props.children),dt.return=L,dt._debugOwner=Y._owner,dt._debugInfo=ve,Ua(Y,dt,L),L=dt;break t}}else if(H.elementType===se||Ng(H,Y)||typeof se=="object"&&se!==null&&se.$$typeof===Aa&&vi(se)===H.type){a(L,H.sibling),dt=d(H,Y.props),Pa(dt,Y),dt.return=L,dt._debugOwner=Y._owner,dt._debugInfo=ve,L=dt;break t}a(L,H);break}else e(L,H);H=H.sibling}Y.type===Tc?(dt=Ss(Y.props.children,L.mode,dt,Y.key),dt.return=L,dt._debugOwner=L,dt._debugTask=L._debugTask,dt._debugInfo=ve,Ua(Y,dt,L),L=dt):(dt=Er(Y,L.mode,dt),Pa(dt,Y),dt.return=L,dt._debugInfo=ve,L=dt)}return L=b(L),ve=Dt,L;case Ir:t:{for(Dt=Y,Y=Dt.key;H!==null;){if(H.key===Y)if(H.tag===4&&H.stateNode.containerInfo===Dt.containerInfo&&H.stateNode.implementation===Dt.implementation){a(L,H.sibling),dt=d(H,Dt.children||[]),dt.return=L,L=dt;break t}else{a(L,H);break}else e(L,H);H=H.sibling}dt=qh(Dt,L.mode,dt),dt.return=L,L=dt}return b(L);case Aa:return Dt=Rn(Y._debugInfo),Y=vi(Y),L=ze(L,H,Y,dt),ve=Dt,L}if(Nn(Y))return Dt=Rn(Y._debugInfo),L=kt(L,H,Y,dt),ve=Dt,L;if(vt(Y)){if(Dt=Rn(Y._debugInfo),se=vt(Y),typeof se!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Jt=se.call(Y);return Jt===Y?(L.tag!==0||Object.prototype.toString.call(L.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Jt)!=="[object Generator]")&&(qR||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."),qR=!0):Y.entries!==se||i2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i2=!0),L=rn(L,H,Jt,dt),ve=Dt,L}if(typeof Y.then=="function")return Dt=Rn(Y._debugInfo),L=ze(L,H,ho(Y),dt),ve=Dt,L;if(Y.$$typeof===Co)return ze(L,H,Of(L,Y),dt);Zi(L,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Dt=""+Y,H!==null&&H.tag===6?(a(L,H.sibling),dt=d(H,Dt),dt.return=L,L=dt):(a(L,H),dt=Vu(Dt,L.mode,dt),dt.return=L,dt._debugOwner=L,dt._debugTask=L._debugTask,dt._debugInfo=ve,L=dt),b(L)):(typeof Y=="function"&&Xu(L,Y),typeof Y=="symbol"&&Uf(L,Y),a(L,H))}return function(L,H,Y,dt){var Dt=ve;ve=null;try{Xy=0;var se=ze(L,H,Y,dt);return Cm=null,se}catch(pn){if(pn===Am||pn===B1)throw pn;var Jt=R(29,pn,null,L.mode);Jt.lanes=dt,Jt.return=L;var Zt=Jt._debugInfo=ve;if(Jt._debugOwner=L._debugOwner,Jt._debugTask=L._debugTask,Zt!=null){for(var me=Zt.length-1;0<=me;me--)if(typeof Zt[me].stack=="string"){Jt._debugOwner=Zt[me],Jt._debugTask=Zt[me].debugTask;break}}return Jt}finally{ve=Dt}}}function tn(t,e){var a=Nn(t);return t=!a&&typeof vt(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 Ce(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jo(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 Bn(t){return{lane:t,tag:$R,payload:null,callback:null,next:null}}function Fo(t,e,a){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,l2===s&&!JR){var d=St(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 Uf(t,e){var a=Fa();a!==null?a.run(Jh.bind(null,t,e)):Jh(t,e)}function Wn(t){function e(L,H){if(t){var Y=L.deletions;Y===null?(L.deletions=[H],L.flags|=16):Y.push(H)}}function a(L,H){if(!t)return null;for(;H!==null;)e(L,H),H=H.sibling;return null}function s(L){for(var H=new Map;L!==null;)L.key!==null?H.set(L.key,L):H.set(L.index,L),L=L.sibling;return H}function d(L,H){return L=$o(L,H),L.index=0,L.sibling=null,L}function h(L,H,Y){return L.index=Y,t?(Y=L.alternate,Y!==null?(Y=Y.index,Y<H?(L.flags|=67108866,H):Y):(L.flags|=67108866,H)):(L.flags|=1048576,H)}function b(L){return t&&L.alternate===null&&(L.flags|=67108866),L}function w(L,H,Y,dt){return H===null||H.tag!==6?(H=Vu(Y,L.mode,dt),H.return=L,H._debugOwner=L,H._debugTask=L._debugTask,H._debugInfo=ve,H):(H=d(H,Y),H.return=L,H._debugInfo=ve,H)}function D(L,H,Y,dt){var Dt=Y.type;return Dt===Tc?(H=G(L,H,Y.props.children,dt,Y.key),Ua(Y,H,L),H):H!==null&&(H.elementType===Dt||Ng(H,Y)||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===Aa&&vi(Dt)===H.type)?(H=d(H,Y.props),Pa(H,Y),H.return=L,H._debugOwner=Y._owner,H._debugInfo=ve,H):(H=Er(Y,L.mode,dt),Pa(H,Y),H.return=L,H._debugInfo=ve,H)}function M(L,H,Y,dt){return H===null||H.tag!==4||H.stateNode.containerInfo!==Y.containerInfo||H.stateNode.implementation!==Y.implementation?(H=qh(Y,L.mode,dt),H.return=L,H._debugInfo=ve,H):(H=d(H,Y.children||[]),H.return=L,H._debugInfo=ve,H)}function G(L,H,Y,dt,Dt){return H===null||H.tag!==7?(H=Ss(Y,L.mode,dt,Dt),H.return=L,H._debugOwner=L,H._debugTask=L._debugTask,H._debugInfo=ve,H):(H=d(H,Y),H.return=L,H._debugInfo=ve,H)}function $(L,H,Y){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Vu(""+H,L.mode,Y),H.return=L,H._debugOwner=L,H._debugTask=L._debugTask,H._debugInfo=ve,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Fi:return Y=Er(H,L.mode,Y),Pa(Y,H),Y.return=L,L=Rn(H._debugInfo),Y._debugInfo=ve,ve=L,Y;case Ir:return H=qh(H,L.mode,Y),H.return=L,H._debugInfo=ve,H;case Aa:var dt=Rn(H._debugInfo);return H=vi(H),L=$(L,H,Y),ve=dt,L}if(Nn(H)||bt(H))return Y=Ss(H,L.mode,Y,null),Y.return=L,Y._debugOwner=L,Y._debugTask=L._debugTask,L=Rn(H._debugInfo),Y._debugInfo=ve,ve=L,Y;if(typeof H.then=="function")return dt=Rn(H._debugInfo),L=$(L,ho(H),Y),ve=dt,L;if(H.$$typeof===Co)return $(L,Of(L,H),Y);Zi(L,H)}return typeof H=="function"&&Xu(L,H),typeof H=="symbol"&&Uf(L,H),null}function N(L,H,Y,dt){var Dt=H!==null?H.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Dt!==null?null:w(L,H,""+Y,dt);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case Fi:return Y.key===Dt?(Dt=Rn(Y._debugInfo),L=D(L,H,Y,dt),ve=Dt,L):null;case Ir:return Y.key===Dt?M(L,H,Y,dt):null;case Aa:return Dt=Rn(Y._debugInfo),Y=vi(Y),L=N(L,H,Y,dt),ve=Dt,L}if(Nn(Y)||bt(Y))return Dt!==null?null:(Dt=Rn(Y._debugInfo),L=G(L,H,Y,dt,null),ve=Dt,L);if(typeof Y.then=="function")return Dt=Rn(Y._debugInfo),L=N(L,H,ho(Y),dt),ve=Dt,L;if(Y.$$typeof===Co)return N(L,H,Of(L,Y),dt);Zi(L,Y)}return typeof Y=="function"&&Xu(L,Y),typeof Y=="symbol"&&Uf(L,Y),null}function it(L,H,Y,dt,Dt){if(typeof dt=="string"&&dt!==""||typeof dt=="number"||typeof dt=="bigint")return L=L.get(Y)||null,w(H,L,""+dt,Dt);if(typeof dt=="object"&&dt!==null){switch(dt.$$typeof){case Fi:return Y=L.get(dt.key===null?Y:dt.key)||null,L=Rn(dt._debugInfo),H=D(H,Y,dt,Dt),ve=L,H;case Ir:return L=L.get(dt.key===null?Y:dt.key)||null,M(H,L,dt,Dt);case Aa:var se=Rn(dt._debugInfo);return dt=vi(dt),H=it(L,H,Y,dt,Dt),ve=se,H}if(Nn(dt)||bt(dt))return Y=L.get(Y)||null,L=Rn(dt._debugInfo),H=G(H,Y,dt,Dt,null),ve=L,H;if(typeof dt.then=="function")return se=Rn(dt._debugInfo),H=it(L,H,Y,ho(dt),Dt),ve=se,H;if(dt.$$typeof===Co)return it(L,H,Y,Of(H,dt),Dt);Zi(H,dt)}return typeof dt=="function"&&Xu(H,dt),typeof dt=="symbol"&&Uf(H,dt),null}function Ct(L,H,Y,dt){if(typeof Y!="object"||Y===null)return dt;switch(Y.$$typeof){case Fi:case Ir:T(L,H,Y);var Dt=Y.key;if(typeof Dt!="string")break;if(dt===null){dt=new Set,dt.add(Dt);break}if(!dt.has(Dt)){dt.add(Dt);break}zt(H,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.",Dt)});break;case Aa:Y=vi(Y),Ct(L,H,Y,dt)}return dt}function kt(L,H,Y,dt){for(var Dt=null,se=null,Jt=null,Zt=H,me=H=0,pn=null;Zt!==null&&me<Y.length;me++){Zt.index>me?(pn=Zt,Zt=null):pn=Zt.sibling;var Zn=N(L,Zt,Y[me],dt);if(Zn===null){Zt===null&&(Zt=pn);break}Dt=Ct(L,Zn,Y[me],Dt),t&&Zt&&Zn.alternate===null&&e(L,Zt),H=h(Zn,H,me),Jt===null?se=Zn:Jt.sibling=Zn,Jt=Zn,Zt=pn}if(me===Y.length)return a(L,Zt),De&&uo(L,me),se;if(Zt===null){for(;me<Y.length;me++)Zt=$(L,Y[me],dt),Zt!==null&&(Dt=Ct(L,Zt,Y[me],Dt),H=h(Zt,H,me),Jt===null?se=Zt:Jt.sibling=Zt,Jt=Zt);return De&&uo(L,me),se}for(Zt=s(Zt);me<Y.length;me++)pn=it(Zt,L,me,Y[me],dt),pn!==null&&(Dt=Ct(L,pn,Y[me],Dt),t&&pn.alternate!==null&&Zt.delete(pn.key===null?me:pn.key),H=h(pn,H,me),Jt===null?se=pn:Jt.sibling=pn,Jt=pn);return t&&Zt.forEach(function(yu){return e(L,yu)}),De&&uo(L,me),se}function rn(L,H,Y,dt){if(Y==null)throw Error("An iterable object provided no iterator.");for(var Dt=null,se=null,Jt=H,Zt=H=0,me=null,pn=null,Zn=Y.next();Jt!==null&&!Zn.done;Zt++,Zn=Y.next()){Jt.index>Zt?(me=Jt,Jt=null):me=Jt.sibling;var yu=N(L,Jt,Zn.value,dt);if(yu===null){Jt===null&&(Jt=me);break}pn=Ct(L,yu,Zn.value,pn),t&&Jt&&yu.alternate===null&&e(L,Jt),H=h(yu,H,Zt),se===null?Dt=yu:se.sibling=yu,se=yu,Jt=me}if(Zn.done)return a(L,Jt),De&&uo(L,Zt),Dt;if(Jt===null){for(;!Zn.done;Zt++,Zn=Y.next())Jt=$(L,Zn.value,dt),Jt!==null&&(pn=Ct(L,Jt,Zn.value,pn),H=h(Jt,H,Zt),se===null?Dt=Jt:se.sibling=Jt,se=Jt);return De&&uo(L,Zt),Dt}for(Jt=s(Jt);!Zn.done;Zt++,Zn=Y.next())me=it(Jt,L,Zt,Zn.value,dt),me!==null&&(pn=Ct(L,me,Zn.value,pn),t&&me.alternate!==null&&Jt.delete(me.key===null?Zt:me.key),H=h(me,H,Zt),se===null?Dt=me:se.sibling=me,se=me);return t&&Jt.forEach(function(_L){return e(L,_L)}),De&&uo(L,Zt),Dt}function ze(L,H,Y,dt){if(typeof Y=="object"&&Y!==null&&Y.type===Tc&&Y.key===null&&(Ua(Y,null,L),Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case Fi:var Dt=Rn(Y._debugInfo);t:{for(var se=Y.key;H!==null;){if(H.key===se){if(se=Y.type,se===Tc){if(H.tag===7){a(L,H.sibling),dt=d(H,Y.props.children),dt.return=L,dt._debugOwner=Y._owner,dt._debugInfo=ve,Ua(Y,dt,L),L=dt;break t}}else if(H.elementType===se||Ng(H,Y)||typeof se=="object"&&se!==null&&se.$$typeof===Aa&&vi(se)===H.type){a(L,H.sibling),dt=d(H,Y.props),Pa(dt,Y),dt.return=L,dt._debugOwner=Y._owner,dt._debugInfo=ve,L=dt;break t}a(L,H);break}else e(L,H);H=H.sibling}Y.type===Tc?(dt=Ss(Y.props.children,L.mode,dt,Y.key),dt.return=L,dt._debugOwner=L,dt._debugTask=L._debugTask,dt._debugInfo=ve,Ua(Y,dt,L),L=dt):(dt=Er(Y,L.mode,dt),Pa(dt,Y),dt.return=L,dt._debugInfo=ve,L=dt)}return L=b(L),ve=Dt,L;case Ir:t:{for(Dt=Y,Y=Dt.key;H!==null;){if(H.key===Y)if(H.tag===4&&H.stateNode.containerInfo===Dt.containerInfo&&H.stateNode.implementation===Dt.implementation){a(L,H.sibling),dt=d(H,Dt.children||[]),dt.return=L,L=dt;break t}else{a(L,H);break}else e(L,H);H=H.sibling}dt=qh(Dt,L.mode,dt),dt.return=L,L=dt}return b(L);case Aa:return Dt=Rn(Y._debugInfo),Y=vi(Y),L=ze(L,H,Y,dt),ve=Dt,L}if(Nn(Y))return Dt=Rn(Y._debugInfo),L=kt(L,H,Y,dt),ve=Dt,L;if(bt(Y)){if(Dt=Rn(Y._debugInfo),se=bt(Y),typeof se!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Jt=se.call(Y);return Jt===Y?(L.tag!==0||Object.prototype.toString.call(L.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Jt)!=="[object Generator]")&&(qR||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."),qR=!0):Y.entries!==se||i2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i2=!0),L=rn(L,H,Jt,dt),ve=Dt,L}if(typeof Y.then=="function")return Dt=Rn(Y._debugInfo),L=ze(L,H,ho(Y),dt),ve=Dt,L;if(Y.$$typeof===Co)return ze(L,H,Of(L,Y),dt);Zi(L,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Dt=""+Y,H!==null&&H.tag===6?(a(L,H.sibling),dt=d(H,Dt),dt.return=L,L=dt):(a(L,H),dt=Vu(Dt,L.mode,dt),dt.return=L,dt._debugOwner=L,dt._debugTask=L._debugTask,dt._debugInfo=ve,L=dt),b(L)):(typeof Y=="function"&&Xu(L,Y),typeof Y=="symbol"&&Uf(L,Y),a(L,H))}return function(L,H,Y,dt){var Dt=ve;ve=null;try{Xy=0;var se=ze(L,H,Y,dt);return Cm=null,se}catch(pn){if(pn===Am||pn===B1)throw pn;var Jt=R(29,pn,null,L.mode);Jt.lanes=dt,Jt.return=L;var Zt=Jt._debugInfo=ve;if(Jt._debugOwner=L._debugOwner,Jt._debugTask=L._debugTask,Zt!=null){for(var me=Zt.length-1;0<=me;me--)if(typeof Zt[me].stack=="string"){Jt._debugOwner=Zt[me],Jt._debugTask=Zt[me].debugTask;break}}return Jt}finally{ve=Dt}}}function tn(t,e){var a=Nn(t);return t=!a&&typeof bt(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 Ce(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jo(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 Bn(t){return{lane:t,tag:$R,payload:null,callback:null,next:null}}function Fo(t,e,a){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,l2===s&&!JR){var d=St(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`,d),JR=!0}return(Ue&ba)!==Ma?(d=s.pending,d===null?e.next=e:(e.next=d.next,d.next=e),s.pending=e,e=Df(t),Lg(t,null,a),e):(Hu(t,s,e,a),Df(t))}function $i(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var s=e.lanes;s&=t.pendingLanes,a|=s,e.lanes=a,yf(t,a)}}function Lf(t,e){var a=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,a===s)){var d=null,h=null;if(a=a.firstBaseUpdate,a!==null){do{var b={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};h===null?d=h=b:h=h.next=b,a=a.next}while(a!==null);h===null?d=h=e:h=h.next=e}else d=h=e;a={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:s.shared,callbacks:s.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Qu(){if(r2){var t=Tm;if(t!==null)throw t}}function Po(t,e,a,s){r2=!1;var d=t.updateQueue;Qc=!1,l2=d.shared;var h=d.firstBaseUpdate,b=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var D=w,M=D.next;D.next=null,b===null?h=M:b.next=M,b=D;var G=t.alternate;G!==null&&(G=G.updateQueue,w=G.lastBaseUpdate,w!==b&&(w===null?G.firstBaseUpdate=M:w.next=M,G.lastBaseUpdate=D))}if(h!==null){var $=d.baseState;b=0,G=M=D=null,w=h;do{var N=w.lane&-536870913,it=N!==w.lane;if(it?(be&N)===N:(s&N)===N){N!==0&&N===Bd&&(r2=!0),G!==null&&(G=G.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});t:{N=t;var Ct=w,kt=e,rn=a;switch(Ct.tag){case KR:if(Ct=Ct.payload,typeof Ct=="function"){wm=!0;var ze=Ct.call(rn,$,kt);if(N.mode&oi){Vt(!0);try{Ct.call(rn,$,kt)}finally{Vt(!1)}}wm=!1,$=ze;break t}$=Ct;break t;case o2:N.flags=N.flags&-65537|128;case $R:if(ze=Ct.payload,typeof ze=="function"){if(wm=!0,Ct=ze.call(rn,$,kt),N.mode&oi){Vt(!0);try{ze.call(rn,$,kt)}finally{Vt(!1)}}wm=!1}else Ct=ze;if(Ct==null)break t;$=ge({},$,Ct);break t;case IR:Qc=!0}}N=w.callback,N!==null&&(t.flags|=64,it&&(t.flags|=8192),it=d.callbacks,it===null?d.callbacks=[N]:it.push(N))}else it={lane:N,tag:w.tag,payload:w.payload,callback:w.callback,next:null},G===null?(M=G=it,D=$):G=G.next=it,b|=N;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;it=w,w=it.next,it.next=null,d.lastBaseUpdate=it,d.shared.pending=null}}while(!0);G===null&&(D=$),d.baseState=D,d.firstBaseUpdate=M,d.lastBaseUpdate=G,h===null&&(d.shared.lanes=0),Kc|=b,t.lanes=b,t.memoizedState=$}l2=null}function Dr(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function Ig(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)Dr(a[t],e)}function Zu(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Dr(a[t],e)}function Fh(t,e){var a=as;Nt(q1,a,t),Nt(Rm,e,t),as=a|e.baseLanes}function ql(t){Nt(q1,as,t),Nt(Rm,Rm.current,t)}function mo(t){as=q1.current,Mt(Rm,t),Mt(q1,t)}function La(t){var e=t.alternate;Nt(Qn,Qn.current&Dm,t),Nt(zo,t,t),Cl===null&&(e===null||Rm.current!==null||e.memoizedState!==null)&&(Cl=t)}function go(t){Nt(Qn,Qn.current,t),Nt(zo,t,t),Cl===null&&(Cl=t)}function Ph(t){t.tag===22?(Nt(Qn,Qn.current,t),Nt(zo,t,t),Cl===null&&(Cl=t)):Wo(t)}function Wo(t){Nt(Qn,Qn.current,t),Nt(zo,zo.current,t)}function ta(t){Mt(zo,t),Cl===t&&(Cl=null),Mt(Qn,t)}function Ds(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||vd(a)||Z0(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 le(){var t=lt;Dl===null?Dl=[t]:Dl.push(t)}function yt(){var t=lt;if(Dl!==null&&(du++,Dl[du]!==t)){var e=St(re);if(!FR.has(e)&&(FR.add(e),Dl!==null)){for(var a="",s=0;s<=du;s++){var d=Dl[s],h=s===du?t:d;for(d=s+1+". "+d;30>d.length;)d+=" ";d+=h+`
115
+ Please update the following component: %s`,d),JR=!0}return(Ue&ba)!==Ma?(d=s.pending,d===null?e.next=e:(e.next=d.next,d.next=e),s.pending=e,e=Df(t),Lg(t,null,a),e):(Hu(t,s,e,a),Df(t))}function $i(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var s=e.lanes;s&=t.pendingLanes,a|=s,e.lanes=a,yf(t,a)}}function Lf(t,e){var a=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,a===s)){var d=null,h=null;if(a=a.firstBaseUpdate,a!==null){do{var b={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};h===null?d=h=b:h=h.next=b,a=a.next}while(a!==null);h===null?d=h=e:h=h.next=e}else d=h=e;a={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:s.shared,callbacks:s.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Qu(){if(r2){var t=Tm;if(t!==null)throw t}}function Po(t,e,a,s){r2=!1;var d=t.updateQueue;Qc=!1,l2=d.shared;var h=d.firstBaseUpdate,b=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var D=w,M=D.next;D.next=null,b===null?h=M:b.next=M,b=D;var G=t.alternate;G!==null&&(G=G.updateQueue,w=G.lastBaseUpdate,w!==b&&(w===null?G.firstBaseUpdate=M:w.next=M,G.lastBaseUpdate=D))}if(h!==null){var $=d.baseState;b=0,G=M=D=null,w=h;do{var N=w.lane&-536870913,it=N!==w.lane;if(it?(be&N)===N:(s&N)===N){N!==0&&N===Bd&&(r2=!0),G!==null&&(G=G.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});t:{N=t;var Ct=w,kt=e,rn=a;switch(Ct.tag){case KR:if(Ct=Ct.payload,typeof Ct=="function"){wm=!0;var ze=Ct.call(rn,$,kt);if(N.mode&oi){Vt(!0);try{Ct.call(rn,$,kt)}finally{Vt(!1)}}wm=!1,$=ze;break t}$=Ct;break t;case o2:N.flags=N.flags&-65537|128;case $R:if(ze=Ct.payload,typeof ze=="function"){if(wm=!0,Ct=ze.call(rn,$,kt),N.mode&oi){Vt(!0);try{ze.call(rn,$,kt)}finally{Vt(!1)}}wm=!1}else Ct=ze;if(Ct==null)break t;$=ge({},$,Ct);break t;case IR:Qc=!0}}N=w.callback,N!==null&&(t.flags|=64,it&&(t.flags|=8192),it=d.callbacks,it===null?d.callbacks=[N]:it.push(N))}else it={lane:N,tag:w.tag,payload:w.payload,callback:w.callback,next:null},G===null?(M=G=it,D=$):G=G.next=it,b|=N;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;it=w,w=it.next,it.next=null,d.lastBaseUpdate=it,d.shared.pending=null}}while(!0);G===null&&(D=$),d.baseState=D,d.firstBaseUpdate=M,d.lastBaseUpdate=G,h===null&&(d.shared.lanes=0),Kc|=b,t.lanes=b,t.memoizedState=$}l2=null}function Dr(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function Ig(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)Dr(a[t],e)}function Zu(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Dr(a[t],e)}function Fh(t,e){var a=as;Nt(q1,a,t),Nt(Rm,e,t),as=a|e.baseLanes}function ql(t){Nt(q1,as,t),Nt(Rm,Rm.current,t)}function mo(t){as=q1.current,Mt(Rm,t),Mt(q1,t)}function La(t){var e=t.alternate;Nt(Qn,Qn.current&Dm,t),Nt(zo,t,t),Cl===null&&(e===null||Rm.current!==null||e.memoizedState!==null)&&(Cl=t)}function go(t){Nt(Qn,Qn.current,t),Nt(zo,t,t),Cl===null&&(Cl=t)}function Ph(t){t.tag===22?(Nt(Qn,Qn.current,t),Nt(zo,t,t),Cl===null&&(Cl=t)):Wo(t)}function Wo(t){Nt(Qn,Qn.current,t),Nt(zo,zo.current,t)}function ta(t){Mt(zo,t),Cl===t&&(Cl=null),Mt(Qn,t)}function Ds(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||vd(a)||Z0(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 le(){var t=lt;Dl===null?Dl=[t]:Dl.push(t)}function vt(){var t=lt;if(Dl!==null&&(du++,Dl[du]!==t)){var e=St(re);if(!FR.has(e)&&(FR.add(e),Dl!==null)){for(var a="",s=0;s<=du;s++){var d=Dl[s],h=s===du?t:d;for(d=s+1+". "+d;30>d.length;)d+=" ";d+=h+`
116
116
  `,a+=d}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
@@ -150,7 +150,7 @@ https://react.dev/link/unsafe-component-lifecycles`,h,M,b!==null?`
150
150
  `+b:"",w!==null?`
151
151
  `+w:"",D!==null?`
152
152
  `+D:""))}}h=e.stateNode,b=ot(a)||"Component",h.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?",b):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",b)),!h.getInitialState||h.getInitialState.isReactClassApproved||h.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?",b),h.getDefaultProps&&!h.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.",b),h.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",b),a.childContextTypes&&!cD.has(a)&&(cD.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)",b)),a.contextTypes&&!uD.has(a)&&(uD.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)",b)),typeof h.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.",b),a.prototype&&a.prototype.isPureReactComponent&&typeof h.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.",ot(a)||"A pure component"),typeof h.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",b),typeof h.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().",b),typeof h.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b),typeof h.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",b),w=h.props!==s,h.props!==void 0&&w&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",b),h.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.",b,b),typeof h.getSnapshotBeforeUpdate!="function"||typeof h.componentDidUpdate=="function"||oD.has(a)||(oD.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ot(a))),typeof h.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof h.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),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.",b),(w=h.state)&&(typeof w!="object"||Nn(w))&&console.error("%s.state: must be set to an object or null",b),typeof h.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",b),h=e.stateNode,h.props=s,h.state=e.memoizedState,h.refs={},Ce(e),b=a.contextType,h.context=typeof b=="object"&&b!==null?Ve(b):Vc,h.state===s&&(b=ot(a)||"Component",rD.has(b)||(rD.add(b),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.",b))),e.mode&oi&&or.recordLegacyContextWarning(e,h),or.recordUnsafeLifecycleWarnings(e,h),h.state=e.memoizedState,b=a.getDerivedStateFromProps,typeof b=="function"&&(tc(e,a,b,s),h.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(b=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),b!==h.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",St(e)||"Component"),f2.enqueueReplaceState(h,h.state,null)),Po(e,s,h,d),Qu(),h.state=e.memoizedState),typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ir)!==ne&&(e.flags|=134217728),h=!0}else if(t===null){h=e.stateNode;var G=e.memoizedProps;w=il(a,G),h.props=w;var $=h.context;D=a.contextType,b=Vc,typeof D=="object"&&D!==null&&(b=Ve(D)),M=a.getDerivedStateFromProps,D=typeof M=="function"||typeof h.getSnapshotBeforeUpdate=="function",G=e.pendingProps!==G,D||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(G||$!==b)&&al(e,h,s,b),Qc=!1;var N=e.memoizedState;h.state=N,Po(e,s,h,d),Qu(),$=e.memoizedState,G||N!==$||Qc?(typeof M=="function"&&(tc(e,a,M,s),$=e.memoizedState),(w=Qc||lp(e,a,w,s,N,$,b))?(D||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ir)!==ne&&(e.flags|=134217728)):(typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ir)!==ne&&(e.flags|=134217728),e.memoizedProps=s,e.memoizedState=$),h.props=s,h.state=$,h.context=b,h=w):(typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ir)!==ne&&(e.flags|=134217728),h=!1)}else{h=e.stateNode,Jo(t,e),b=e.memoizedProps,D=il(a,b),h.props=D,M=e.pendingProps,N=h.context,$=a.contextType,w=Vc,typeof $=="object"&&$!==null&&(w=Ve($)),G=a.getDerivedStateFromProps,($=typeof G=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b!==M||N!==w)&&al(e,h,s,w),Qc=!1,N=e.memoizedState,h.state=N,Po(e,s,h,d),Qu();var it=e.memoizedState;b!==M||N!==it||Qc||t!==null&&t.dependencies!==null&&Yu(t.dependencies)?(typeof G=="function"&&(tc(e,a,G,s),it=e.memoizedState),(D=Qc||lp(e,a,D,s,N,it,w)||t!==null&&t.dependencies!==null&&Yu(t.dependencies))?($||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(s,it,w),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(s,it,w)),typeof h.componentDidUpdate=="function"&&(e.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),e.memoizedProps=s,e.memoizedState=it),h.props=s,h.state=it,h.context=w,h=D):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),h=!1)}if(w=h,Wf(t,e),b=(e.flags&128)!==0,w||b){if(w=e.stateNode,ui(e),b&&typeof a.getDerivedStateFromError!="function")a=null,_i=-1;else if(a=_R(w),e.mode&oi){Vt(!0);try{_R(w)}finally{Vt(!1)}}e.flags|=1,t!==null&&b?(e.child=Xd(e,t.child,null,d),e.child=Xd(e,null,a,d)):na(t,e,a,d),e.memoizedState=w.state,t=e.child}else t=vo(t,e,d);return d=e.stateNode,h&&d.props!==s&&(_m||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",St(e)||"a component"),_m=!0),t}function h0(t,e,a,s){return Ar(),e.flags|=256,na(t,e,a,s),e.child}function ec(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=ot(e)||"Unknown",gD[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),gD[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=ot(e)||"Unknown",pD[e]||(console.error("%s: Function components do not support contextType.",e),pD[e]=!0))}function nc(t){return{baseLanes:t,cachePool:Zg()}}function dp(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=eo),t}function hp(t,e,a){var s,d=e.pendingProps;m(e)&&(e.flags|=128);var h=!1,b=(e.flags&128)!==0;if((s=b)||(s=t!==null&&t.memoizedState===null?!1:(Qn.current&Qy)!==0),s&&(h=!0,e.flags&=-129),s=(e.flags&32)!==0,e.flags&=-33,t===null){if(De){if(h?La(e):Wo(e),(t=hn)?(a=Ze(t,Tl),a=a!==null&&a.data!==Pd?a:null,a!==null&&(s={dehydrated:a,treeContext:pb(),retryLane:536870912,hydrationErrors:null},e.memoizedState=s,s=Bg(a),s.return=e,e.child=s,$a=e,hn=null)):a=null,a===null)throw Ea(e,t),qi(e);return Z0(a)?e.lanes=32:e.lanes=536870912,null}var w=d.children;if(d=d.fallback,h){Wo(e);var D=e.mode;return w=td({mode:"hidden",children:w},D),d=Ss(d,D,a,null),w.return=e,d.return=e,w.sibling=d,e.child=w,d=e.child,d.memoizedState=nc(a),d.childLanes=dp(t,s,a),e.memoizedState=p2,Vs(null,d)}return La(e),p0(e,w)}var M=t.memoizedState;if(M!==null){var G=M.dehydrated;if(G!==null){if(b)e.flags&256?(La(e),e.flags&=-257,e=pp(t,e,a)):e.memoizedState!==null?(Wo(e),e.child=t.child,e.flags|=128,e=null):(Wo(e),w=d.fallback,D=e.mode,d=td({mode:"visible",children:d.children},D),w=Ss(w,D,a,null),w.flags|=2,d.return=e,w.return=e,d.sibling=w,e.child=d,Xd(e,t.child,null,a),d=e.child,d.memoizedState=nc(a),d.childLanes=dp(t,s,a),e.memoizedState=p2,e=Vs(null,d));else if(La(e),gb(),(a&536870912)!==0&&rc(e),Z0(G)){if(s=G.nextSibling&&G.nextSibling.dataset,s){w=s.dgst;var $=s.msg;D=s.stck;var N=s.cstck}h=$,s=w,d=D,G=N,w=h,D=G,w=Error(w||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w.stack=d||"",w.digest=s,s=D===void 0?null:D,d={value:w,source:null,stack:s},typeof s=="string"&&$w.set(w,d),zf(d),e=pp(t,e,a)}else if(sa||fo(t,e,a,!1),s=(a&t.childLanes)!==0,sa||s){if(s=on,s!==null&&(d=us(s,a),d!==0&&d!==M.retryLane))throw M.retryLane=d,wa(t,d),ie(s,t,d),h2;vd(G)||sc(),e=pp(t,e,a)}else vd(G)?(e.flags|=192,e.child=t.child,e=null):(t=M.treeContext,hn=Ri(G.nextSibling),$a=e,De=!0,Bc=null,ts=!1,Mo=null,Tl=!1,t!==null&&mb(e,t),e=p0(e,d.children),e.flags|=4096);return e}}return h?(Wo(e),w=d.fallback,D=e.mode,N=t.child,G=N.sibling,d=$o(N,{mode:"hidden",children:d.children}),d.subtreeFlags=N.subtreeFlags&65011712,G!==null?w=$o(G,w):(w=Ss(w,D,a,null),w.flags|=2),w.return=e,d.return=e,d.sibling=w,e.child=d,Vs(null,d),d=e.child,w=t.child.memoizedState,w===null?w=nc(a):(D=w.cachePool,D!==null?(N=oa._currentValue,D=D.parent!==N?{parent:N,pool:N}:D):D=Zg(),w={baseLanes:w.baseLanes|a,cachePool:D}),d.memoizedState=w,d.childLanes=dp(t,s,a),e.memoizedState=p2,Vs(t.child,d)):(M!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&rc(e),La(e),a=t.child,t=a.sibling,a=$o(a,{mode:"visible",children:d.children}),a.return=e,a.sibling=null,t!==null&&(s=e.deletions,s===null?(e.deletions=[t],e.flags|=16):s.push(t)),e.child=a,e.memoizedState=null,a)}function p0(t,e){return e=td({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function td(t,e){return t=R(22,t,null,e),t.lanes=0,t}function pp(t,e,a){return Xd(e,t.child,null,a),t=p0(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function m0(t,e,a){t.lanes|=e;var s=t.alternate;s!==null&&(s.lanes|=e),Qh(t.return,e,a)}function mp(t,e,a,s,d,h){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:s,tail:a,tailMode:d,treeForkCount:h}:(b.isBackwards=e,b.rendering=null,b.renderingStartTime=0,b.last=s,b.tail=a,b.tailMode=d,b.treeForkCount=h)}function g0(t,e,a){var s=e.pendingProps,d=s.revealOrder,h=s.tail,b=s.children,w=Qn.current;if((s=(w&Qy)!==0)?(w=w&Dm|Qy,e.flags|=128):w&=Dm,Nt(Qn,w,e),w=d??"null",d!=="forwards"&&d!=="unstable_legacy-backwards"&&d!=="together"&&d!=="independent"&&!yD[w])if(yD[w]=!0,d==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(d==="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 d=="string")switch(d.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.',d,d.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.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d);w=h??"null",$1[w]||(h==null?(d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&($1[w]=!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".')):h!=="visible"&&h!=="collapsed"&&h!=="hidden"?($1[w]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',h)):d!=="forwards"&&d!=="backwards"&&d!=="unstable_legacy-backwards"&&($1[w]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',h)));t:if((d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&b!==void 0&&b!==null&&b!==!1)if(Nn(b)){for(w=0;w<b.length;w++)if(!tn(b[w],w))break t}else if(w=vt(b),typeof w=="function"){if(w=w.call(b))for(var D=w.next(),M=0;!D.done;D=w.next()){if(!tn(D.value,M))break t;M++}}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?',d);if(na(t,e,b,a),De?(Tr(),b=zy):b=0,!s&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&m0(t,a,e);else if(t.tag===19)m0(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(d){case"forwards":for(a=e.child,d=null;a!==null;)t=a.alternate,t!==null&&Ds(t)===null&&(d=a),a=a.sibling;a=d,a===null?(d=e.child,e.child=null):(d=a.sibling,a.sibling=null),mp(e,!1,d,a,h,b);break;case"backwards":case"unstable_legacy-backwards":for(a=null,d=e.child,e.child=null;d!==null;){if(t=d.alternate,t!==null&&Ds(t)===null){e.child=d;break}t=d.sibling,d.sibling=a,a=d,d=t}mp(e,!0,a,null,h,b);break;case"together":mp(e,!1,null,null,void 0,b);break;default:e.memoizedState=null}return e.child}function vo(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),_i=-1,Kc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(fo(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=$o(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=$o(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function gp(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Yu(t)))}function Ab(t,e,a){switch(e.tag){case 3:bt(e,e.stateNode.containerInfo),Gi(e,oa,t.memoizedState.cache),Ar();break;case 27:case 5:P(e);break;case 4:bt(e,e.stateNode.containerInfo);break;case 10:Gi(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var s=e.stateNode;s.effectDuration=-0,s.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,go(e),null;break;case 13:if(s=e.memoizedState,s!==null)return s.dehydrated!==null?(La(e),e.flags|=128,null):(a&e.child.childLanes)!==0?hp(t,e,a):(La(e),t=vo(t,e,a),t!==null?t.sibling:null);La(e);break;case 19:var d=(t.flags&128)!==0;if(s=(a&e.childLanes)!==0,s||(fo(t,e,a,!1),s=(a&e.childLanes)!==0),d){if(s)return g0(t,e,a);e.flags|=128}if(d=e.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Nt(Qn,Qn.current,e),s)break;return null;case 22:return e.lanes=0,s0(t,e,a,e.pendingProps);case 24:Gi(e,oa,t.memoizedState.cache)}return vo(t,e,a)}function ed(t,e,a){if(e._debugNeedsRemount&&t!==null){a=xs(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var s=e.return;if(s===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===s.child)s.child=a;else{var d=s.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==e;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=a}return e=s.deletions,e===null?(s.deletions=[t],s.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)sa=!0;else{if(!gp(t,a)&&(e.flags&128)===0)return sa=!1,Ab(t,e,a);sa=(t.flags&131072)!==0}else sa=!1,(s=De)&&(Tr(),s=(e.flags&1048576)!==0),s&&(s=e.index,Tr(),Yg(e,zy,s));switch(e.lanes=0,e.tag){case 16:t:if(s=e.pendingProps,t=vi(e.elementType),e.type=t,typeof t=="function")Hg(t)?(s=il(t,s),e.tag=1,e.type=t=wr(t),e=Bs(null,e,t,s,a)):(e.tag=0,ec(e,t),e.type=t=wr(t),e=f0(null,e,t,s,a));else{if(t!=null){if(d=t.$$typeof,d===Ac){e.tag=11,e.type=t=Yh(t),e=Eb(null,e,t,s,a);break t}else if(d===Dd){e.tag=14,e=l0(null,e,t,s,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===Aa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=ot(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 f0(t,e,e.type,e.pendingProps,a);case 1:return s=e.type,d=il(s,e.pendingProps),Bs(t,e,s,d,a);case 3:t:{if(bt(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");s=e.pendingProps;var h=e.memoizedState;d=h.element,Jo(t,e),Po(e,s,null,a);var b=e.memoizedState;if(s=b.cache,Gi(e,oa,s),s!==h.cache&&Hl(e,[oa],a,!0),Qu(),s=b.element,h.isDehydrated)if(h={element:s,isDehydrated:!1,cache:b.cache},e.updateQueue.baseState=h,e.memoizedState=h,e.flags&256){e=h0(t,e,s,a);break t}else if(s!==d){d=_a(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),zf(d),e=h0(t,e,s,a);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,hn=Ri(t.firstChild),$a=e,De=!0,Bc=null,ts=!1,Mo=null,Tl=!0,a=ZR(e,null,s,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ar(),s===d){e=vo(t,e,a);break t}na(t,e,s,a)}e=e.child}return e;case 26:return Wf(t,e),t===null?(a=J0(e.type,null,e.pendingProps,null))?e.memoizedState=a:De||(a=e.type,t=e.pendingProps,s=Et(Di.current),s=gd(s).createElement(a),s[fn]=e,s[Za]=t,cn(s,a,t),Xt(s),e.stateNode=s):e.memoizedState=J0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return P(e),t===null&&De&&(s=Et(Di.current),d=F(),s=e.stateNode=tr(e.type,e.pendingProps,s,d,!1),ts||(d=ni(s,e.type,e.pendingProps,d),d!==null&&(ws(e,0).serverProps=d)),$a=e,Tl=!0,d=hn,$r(e.type)?(N2=d,hn=Ri(s.firstChild)):hn=d),na(t,e,e.pendingProps.children,a),Wf(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&De&&(h=F(),s=xf(e.type,h.ancestorInfo),d=hn,(b=!d)||(b=e1(d,e.type,e.pendingProps,Tl),b!==null?(e.stateNode=b,ts||(h=ni(b,e.type,e.pendingProps,h),h!==null&&(ws(e,0).serverProps=h)),$a=e,hn=Ri(b.firstChild),Tl=!1,h=!0):h=!1,b=!h),b&&(s&&Ea(e,d),qi(e))),P(e),d=e.type,h=e.pendingProps,b=t!==null?t.memoizedProps:null,s=h.children,gc(d,h)?s=null:b!==null&&gc(d,b)&&(e.flags|=32),e.memoizedState!==null&&(d=Fg(t,e,Vf,null,null,a),uv._currentValue=d),Wf(t,e),na(t,e,s,a),e.child;case 6:return t===null&&De&&(a=e.pendingProps,t=F(),s=t.ancestorInfo.current,a=s!=null?Sf(a,s.tag,t.ancestorInfo.implicitRootScope):!0,t=hn,(s=!t)||(s=n1(t,e.pendingProps,Tl),s!==null?(e.stateNode=s,$a=e,hn=null,s=!0):s=!1,s=!s),s&&(a&&Ea(e,t),qi(e))),null;case 13:return hp(t,e,a);case 4:return bt(e,e.stateNode.containerInfo),s=e.pendingProps,t===null?e.child=Xd(e,null,s,a):na(t,e,s,a),e.child;case 11:return Eb(t,e,e.type,e.pendingProps,a);case 7:return na(t,e,e.pendingProps,a),e.child;case 8:return na(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,s=e.stateNode,s.effectDuration=-0,s.passiveEffectDuration=-0,na(t,e,e.pendingProps.children,a),e.child;case 10:return s=e.type,d=e.pendingProps,h=d.value,"value"in d||vD||(vD=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Gi(e,s,h),na(t,e,d.children,a),e.child;case 9:return d=e.type._context,s=e.pendingProps.children,typeof s!="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."),Rr(e),d=Ve(d),s=e2(s,d,void 0),e.flags|=1,na(t,e,s,a),e.child;case 14:return l0(t,e,e.type,e.pendingProps,a);case 15:return r0(t,e,e.type,e.pendingProps,a);case 19:return g0(t,e,a);case 31:return Tb(t,e,a);case 22:return s0(t,e,a,e.pendingProps);case 24:return Rr(e),s=Ve(oa),t===null?(d=Yl(),d===null&&(d=on,h=Zh(),d.pooledCache=h,Ts(h),h!==null&&(d.pooledCacheLanes|=a),d=h),e.memoizedState={parent:s,cache:d},Ce(e),Gi(e,oa,d)):((t.lanes&a)!==0&&(Jo(t,e),Po(e,null,null,a),Qu()),d=t.memoizedState,h=e.memoizedState,d.parent!==s?(d={parent:s,cache:s},e.memoizedState=d,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=d),Gi(e,oa,s)):(s=h.cache,Gi(e,oa,s),s!==d.cache&&Hl(e,[oa],a,!0))),na(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 ol(t){t.flags|=4}function yp(t,e,a,s,d){if((e=(t.mode&tL)!==ne)&&(e=!1),e){if(t.flags|=16777216,(d&335544128)===d)if(t.stateNode.complete)t.flags|=8192;else if(j0())t.flags|=8192;else throw Gd=Y1,a2}else t.flags&=-16777217}function Cb(t,e){if(e.type!=="stylesheet"||(e.state.loading&Ml)!==eh)t.flags&=-16777217;else if(t.flags|=16777216,!Ee(e))if(j0())t.flags|=8192;else throw Gd=Y1,a2}function ac(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Au():536870912,t.lanes|=e,Id|=e)}function ic(t,e){if(!De)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 s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function Ie(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,s=0;if(e)if((t.mode&ye)!==ne){for(var d=t.selfBaseDuration,h=t.child;h!==null;)a|=h.lanes|h.childLanes,s|=h.subtreeFlags&65011712,s|=h.flags&65011712,d+=h.treeBaseDuration,h=h.sibling;t.treeBaseDuration=d}else for(d=t.child;d!==null;)a|=d.lanes|d.childLanes,s|=d.subtreeFlags&65011712,s|=d.flags&65011712,d.return=t,d=d.sibling;else if((t.mode&ye)!==ne){d=t.actualDuration,h=t.selfBaseDuration;for(var b=t.child;b!==null;)a|=b.lanes|b.childLanes,s|=b.subtreeFlags,s|=b.flags,d+=b.actualDuration,h+=b.treeBaseDuration,b=b.sibling;t.actualDuration=d,t.treeBaseDuration=h}else for(d=t.child;d!==null;)a|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=s,t.childLanes=a,e}function y0(t,e,a){var s=e.pendingProps;switch(Xh(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(e),null;case 1:return Ie(e),null;case 3:return a=e.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),e.memoizedState.cache!==s&&(e.flags|=2048),co(oa,e),U(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Es(e)?(Cr(),ol(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Mf())),Ie(e),null;case 26:var d=e.type,h=e.memoizedState;return t===null?(ol(e),h!==null?(Ie(e),Cb(e,h)):(Ie(e),yp(e,d,null,s,a))):h?h!==t.memoizedState?(ol(e),Ie(e),Cb(e,h)):(Ie(e),e.flags&=-16777217):(t=t.memoizedProps,t!==s&&ol(e),Ie(e),yp(e,d,t,s,a)),null;case 27:if(Rt(e),a=Et(Di.current),d=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==s&&ol(e);else{if(!s){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 Ie(e),null}t=F(),Es(e)?qg(e):(t=tr(d,s,a,t,!0),e.stateNode=t,ol(e))}return Ie(e),null;case 5:if(Rt(e),d=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==s&&ol(e);else{if(!s){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 Ie(e),null}var b=F();if(Es(e))qg(e);else{switch(h=Et(Di.current),xf(d,b.ancestorInfo),b=b.context,h=gd(h),b){case Bm:h=h.createElementNS(pe,d);break;case hx:h=h.createElementNS(ce,d);break;default:switch(d){case"svg":h=h.createElementNS(pe,d);break;case"math":h=h.createElementNS(ce,d);break;case"script":h=h.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof s.is=="string"?h.createElement("select",{is:s.is}):h.createElement("select"),s.multiple?h.multiple=!0:s.size&&(h.size=s.size);break;default:h=typeof s.is=="string"?h.createElement(d,{is:s.is}):h.createElement(d),d.indexOf("-")===-1&&(d!==d.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),Object.prototype.toString.call(h)!=="[object HTMLUnknownElement]"||Mi.call(qD,d)||(qD[d]=!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.",d)))}}h[fn]=e,h[Za]=s;t:for(b=e.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===e)break t;for(;b.sibling===null;){if(b.return===null||b.return===e)break t;b=b.return}b.sibling.return=b.return,b=b.sibling}e.stateNode=h;t:switch(cn(h,d,s),d){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&ol(e)}}return Ie(e),yp(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==s&&ol(e);else{if(typeof s!="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=Et(Di.current),a=F(),Es(e)){if(t=e.stateNode,a=e.memoizedProps,d=!ts,s=null,h=$a,h!==null)switch(h.tag){case 3:d&&(d=o1(t,a,s),d!==null&&(ws(e,0).serverProps=d));break;case 27:case 5:s=h.memoizedProps,d&&(d=o1(t,a,s),d!==null&&(ws(e,0).serverProps=d))}t[fn]=e,t=!!(t.nodeValue===a||s!==null&&s.suppressHydrationWarning===!0||X0(t.nodeValue,a)),t||qi(e,!0)}else d=a.ancestorInfo.current,d!=null&&Sf(s,d.tag,a.ancestorInfo.implicitRootScope),t=gd(t).createTextNode(s),t[fn]=e,e.stateNode=t}return Ie(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(s=Es(e),a!==null){if(t===null){if(!s)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[fn]=e,Ie(e),(e.mode&ye)!==ne&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else Cr(),Ar(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Ie(e),(e.mode&ye)!==ne&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=Mf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(ta(e),e):(ta(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Ie(e),null;case 13:if(s=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=s,h=Es(e),d!==null&&d.dehydrated!==null){if(t===null){if(!h)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(h=e.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");h[fn]=e,Ie(e),(e.mode&ye)!==ne&&d!==null&&(d=e.child,d!==null&&(e.treeBaseDuration-=d.treeBaseDuration))}else Cr(),Ar(),(e.flags&128)===0&&(d=e.memoizedState=null),e.flags|=4,Ie(e),(e.mode&ye)!==ne&&d!==null&&(d=e.child,d!==null&&(e.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=Mf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return e.flags&256?(ta(e),e):(ta(e),null)}return ta(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&ye)!==ne&&Cs(e),e):(a=s!==null,t=t!==null&&t.memoizedState!==null,a&&(s=e.child,d=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(d=s.alternate.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==d&&(s.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),ac(e,e.updateQueue),Ie(e),(e.mode&ye)!==ne&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return U(e),t===null&&Qr(e.stateNode.containerInfo),Ie(e),null;case 10:return co(e.type,e),Ie(e),null;case 19:if(Mt(Qn,e),s=e.memoizedState,s===null)return Ie(e),null;if(d=(e.flags&128)!==0,h=s.rendering,h===null)if(d)ic(s,!1);else{if(Tn!==pu||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(h=Ds(t),h!==null){for(e.flags|=128,ic(s,!1),t=h.updateQueue,e.updateQueue=t,ac(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Vg(a,t),a=a.sibling;return Nt(Qn,Qn.current&Dm|Qy,e),De&&uo(e,s.treeForkCount),e.child}t=t.sibling}s.tail!==null&&ia()>tx&&(e.flags|=128,d=!0,ic(s,!1),e.lanes=4194304)}else{if(!d)if(t=Ds(h),t!==null){if(e.flags|=128,d=!0,t=t.updateQueue,e.updateQueue=t,ac(e,t),ic(s,!0),s.tail===null&&s.tailMode==="hidden"&&!h.alternate&&!De)return Ie(e),null}else 2*ia()-s.renderingStartTime>tx&&a!==536870912&&(e.flags|=128,d=!0,ic(s,!1),e.lanes=4194304);s.isBackwards?(h.sibling=e.child,e.child=h):(t=s.last,t!==null?t.sibling=h:e.child=h,s.last=h)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ia(),t.sibling=null,a=Qn.current,a=d?a&Dm|Qy:a&Dm,Nt(Qn,a,e),De&&uo(e,s.treeForkCount),t):(Ie(e),null);case 22:case 23:return ta(e),mo(e),s=e.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(e.flags|=8192):s&&(e.flags|=8192),s?(a&536870912)!==0&&(e.flags&128)===0&&(Ie(e),e.subtreeFlags&6&&(e.flags|=8192)):Ie(e),a=e.updateQueue,a!==null&&ac(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),s=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),s!==a&&(e.flags|=2048),t!==null&&Mt(Yd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),co(oa,e),Ie(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 Rb(t,e){switch(Xh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 3:return co(oa,e),U(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Rt(e),null;case 31:if(e.memoizedState!==null){if(ta(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ar()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 13:if(ta(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.");Ar()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 19:return Mt(Qn,e),null;case 4:return U(e),null;case 10:return co(e.type,e),null;case 22:case 23:return ta(e),mo(e),t!==null&&Mt(Yd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 24:return co(oa,e),null;case 25:return null;default:return null}}function v0(t,e){switch(Xh(e),e.tag){case 3:co(oa,e),U(e);break;case 26:case 27:case 5:Rt(e);break;case 4:U(e);break;case 31:e.memoizedState!==null&&ta(e);break;case 13:ta(e);break;case 19:Mt(Qn,e);break;case 10:co(e.type,e);break;case 22:case 23:ta(e),mo(e),t!==null&&Mt(Yd,e);break;case 24:co(oa,e)}}function ll(t){return(t.mode&ye)!==ne}function Db(t,e){ll(t)?(xn(),Il(e,t),ja()):Il(e,t)}function vp(t,e,a){ll(t)?(xn(),Vr(a,t,e),ja()):Vr(a,t,e)}function Il(t,e){try{var a=e.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var d=s.next;a=d;do{if((a.tag&t)===t&&(s=void 0,(t&ki)!==G1&&(Nm=!0),s=zt(e,lL,a),(t&ki)!==G1&&(Nm=!1),s!==void 0&&typeof s!="function")){var h=void 0;h=(a.tag&Oo)!==0?"useLayoutEffect":(a.tag&ki)!==0?"useInsertionEffect":"useEffect";var b=void 0;b=s===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof s.then=="function"?`
153
+ %s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=ot(e)||"Unknown",gD[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),gD[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=ot(e)||"Unknown",pD[e]||(console.error("%s: Function components do not support contextType.",e),pD[e]=!0))}function nc(t){return{baseLanes:t,cachePool:Zg()}}function dp(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=eo),t}function hp(t,e,a){var s,d=e.pendingProps;m(e)&&(e.flags|=128);var h=!1,b=(e.flags&128)!==0;if((s=b)||(s=t!==null&&t.memoizedState===null?!1:(Qn.current&Qy)!==0),s&&(h=!0,e.flags&=-129),s=(e.flags&32)!==0,e.flags&=-33,t===null){if(De){if(h?La(e):Wo(e),(t=hn)?(a=Ze(t,Tl),a=a!==null&&a.data!==Pd?a:null,a!==null&&(s={dehydrated:a,treeContext:pb(),retryLane:536870912,hydrationErrors:null},e.memoizedState=s,s=Bg(a),s.return=e,e.child=s,$a=e,hn=null)):a=null,a===null)throw Ea(e,t),qi(e);return Z0(a)?e.lanes=32:e.lanes=536870912,null}var w=d.children;if(d=d.fallback,h){Wo(e);var D=e.mode;return w=td({mode:"hidden",children:w},D),d=Ss(d,D,a,null),w.return=e,d.return=e,w.sibling=d,e.child=w,d=e.child,d.memoizedState=nc(a),d.childLanes=dp(t,s,a),e.memoizedState=p2,Vs(null,d)}return La(e),p0(e,w)}var M=t.memoizedState;if(M!==null){var G=M.dehydrated;if(G!==null){if(b)e.flags&256?(La(e),e.flags&=-257,e=pp(t,e,a)):e.memoizedState!==null?(Wo(e),e.child=t.child,e.flags|=128,e=null):(Wo(e),w=d.fallback,D=e.mode,d=td({mode:"visible",children:d.children},D),w=Ss(w,D,a,null),w.flags|=2,d.return=e,w.return=e,d.sibling=w,e.child=d,Xd(e,t.child,null,a),d=e.child,d.memoizedState=nc(a),d.childLanes=dp(t,s,a),e.memoizedState=p2,e=Vs(null,d));else if(La(e),gb(),(a&536870912)!==0&&rc(e),Z0(G)){if(s=G.nextSibling&&G.nextSibling.dataset,s){w=s.dgst;var $=s.msg;D=s.stck;var N=s.cstck}h=$,s=w,d=D,G=N,w=h,D=G,w=Error(w||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w.stack=d||"",w.digest=s,s=D===void 0?null:D,d={value:w,source:null,stack:s},typeof s=="string"&&$w.set(w,d),zf(d),e=pp(t,e,a)}else if(sa||fo(t,e,a,!1),s=(a&t.childLanes)!==0,sa||s){if(s=on,s!==null&&(d=us(s,a),d!==0&&d!==M.retryLane))throw M.retryLane=d,wa(t,d),ie(s,t,d),h2;vd(G)||sc(),e=pp(t,e,a)}else vd(G)?(e.flags|=192,e.child=t.child,e=null):(t=M.treeContext,hn=Ri(G.nextSibling),$a=e,De=!0,Bc=null,ts=!1,Mo=null,Tl=!1,t!==null&&mb(e,t),e=p0(e,d.children),e.flags|=4096);return e}}return h?(Wo(e),w=d.fallback,D=e.mode,N=t.child,G=N.sibling,d=$o(N,{mode:"hidden",children:d.children}),d.subtreeFlags=N.subtreeFlags&65011712,G!==null?w=$o(G,w):(w=Ss(w,D,a,null),w.flags|=2),w.return=e,d.return=e,d.sibling=w,e.child=d,Vs(null,d),d=e.child,w=t.child.memoizedState,w===null?w=nc(a):(D=w.cachePool,D!==null?(N=oa._currentValue,D=D.parent!==N?{parent:N,pool:N}:D):D=Zg(),w={baseLanes:w.baseLanes|a,cachePool:D}),d.memoizedState=w,d.childLanes=dp(t,s,a),e.memoizedState=p2,Vs(t.child,d)):(M!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&rc(e),La(e),a=t.child,t=a.sibling,a=$o(a,{mode:"visible",children:d.children}),a.return=e,a.sibling=null,t!==null&&(s=e.deletions,s===null?(e.deletions=[t],e.flags|=16):s.push(t)),e.child=a,e.memoizedState=null,a)}function p0(t,e){return e=td({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function td(t,e){return t=R(22,t,null,e),t.lanes=0,t}function pp(t,e,a){return Xd(e,t.child,null,a),t=p0(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function m0(t,e,a){t.lanes|=e;var s=t.alternate;s!==null&&(s.lanes|=e),Qh(t.return,e,a)}function mp(t,e,a,s,d,h){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:s,tail:a,tailMode:d,treeForkCount:h}:(b.isBackwards=e,b.rendering=null,b.renderingStartTime=0,b.last=s,b.tail=a,b.tailMode=d,b.treeForkCount=h)}function g0(t,e,a){var s=e.pendingProps,d=s.revealOrder,h=s.tail,b=s.children,w=Qn.current;if((s=(w&Qy)!==0)?(w=w&Dm|Qy,e.flags|=128):w&=Dm,Nt(Qn,w,e),w=d??"null",d!=="forwards"&&d!=="unstable_legacy-backwards"&&d!=="together"&&d!=="independent"&&!yD[w])if(yD[w]=!0,d==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(d==="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 d=="string")switch(d.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.',d,d.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.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d);w=h??"null",$1[w]||(h==null?(d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&($1[w]=!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".')):h!=="visible"&&h!=="collapsed"&&h!=="hidden"?($1[w]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',h)):d!=="forwards"&&d!=="backwards"&&d!=="unstable_legacy-backwards"&&($1[w]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',h)));t:if((d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&b!==void 0&&b!==null&&b!==!1)if(Nn(b)){for(w=0;w<b.length;w++)if(!tn(b[w],w))break t}else if(w=bt(b),typeof w=="function"){if(w=w.call(b))for(var D=w.next(),M=0;!D.done;D=w.next()){if(!tn(D.value,M))break t;M++}}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?',d);if(na(t,e,b,a),De?(Tr(),b=zy):b=0,!s&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&m0(t,a,e);else if(t.tag===19)m0(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(d){case"forwards":for(a=e.child,d=null;a!==null;)t=a.alternate,t!==null&&Ds(t)===null&&(d=a),a=a.sibling;a=d,a===null?(d=e.child,e.child=null):(d=a.sibling,a.sibling=null),mp(e,!1,d,a,h,b);break;case"backwards":case"unstable_legacy-backwards":for(a=null,d=e.child,e.child=null;d!==null;){if(t=d.alternate,t!==null&&Ds(t)===null){e.child=d;break}t=d.sibling,d.sibling=a,a=d,d=t}mp(e,!0,a,null,h,b);break;case"together":mp(e,!1,null,null,void 0,b);break;default:e.memoizedState=null}return e.child}function vo(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),_i=-1,Kc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(fo(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=$o(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=$o(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function gp(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Yu(t)))}function Ab(t,e,a){switch(e.tag){case 3:gt(e,e.stateNode.containerInfo),Gi(e,oa,t.memoizedState.cache),Ar();break;case 27:case 5:P(e);break;case 4:gt(e,e.stateNode.containerInfo);break;case 10:Gi(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var s=e.stateNode;s.effectDuration=-0,s.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,go(e),null;break;case 13:if(s=e.memoizedState,s!==null)return s.dehydrated!==null?(La(e),e.flags|=128,null):(a&e.child.childLanes)!==0?hp(t,e,a):(La(e),t=vo(t,e,a),t!==null?t.sibling:null);La(e);break;case 19:var d=(t.flags&128)!==0;if(s=(a&e.childLanes)!==0,s||(fo(t,e,a,!1),s=(a&e.childLanes)!==0),d){if(s)return g0(t,e,a);e.flags|=128}if(d=e.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Nt(Qn,Qn.current,e),s)break;return null;case 22:return e.lanes=0,s0(t,e,a,e.pendingProps);case 24:Gi(e,oa,t.memoizedState.cache)}return vo(t,e,a)}function ed(t,e,a){if(e._debugNeedsRemount&&t!==null){a=xs(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var s=e.return;if(s===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===s.child)s.child=a;else{var d=s.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==e;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=a}return e=s.deletions,e===null?(s.deletions=[t],s.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)sa=!0;else{if(!gp(t,a)&&(e.flags&128)===0)return sa=!1,Ab(t,e,a);sa=(t.flags&131072)!==0}else sa=!1,(s=De)&&(Tr(),s=(e.flags&1048576)!==0),s&&(s=e.index,Tr(),Yg(e,zy,s));switch(e.lanes=0,e.tag){case 16:t:if(s=e.pendingProps,t=vi(e.elementType),e.type=t,typeof t=="function")Hg(t)?(s=il(t,s),e.tag=1,e.type=t=wr(t),e=Bs(null,e,t,s,a)):(e.tag=0,ec(e,t),e.type=t=wr(t),e=f0(null,e,t,s,a));else{if(t!=null){if(d=t.$$typeof,d===Ac){e.tag=11,e.type=t=Yh(t),e=Eb(null,e,t,s,a);break t}else if(d===Dd){e.tag=14,e=l0(null,e,t,s,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===Aa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=ot(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 f0(t,e,e.type,e.pendingProps,a);case 1:return s=e.type,d=il(s,e.pendingProps),Bs(t,e,s,d,a);case 3:t:{if(gt(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");s=e.pendingProps;var h=e.memoizedState;d=h.element,Jo(t,e),Po(e,s,null,a);var b=e.memoizedState;if(s=b.cache,Gi(e,oa,s),s!==h.cache&&Hl(e,[oa],a,!0),Qu(),s=b.element,h.isDehydrated)if(h={element:s,isDehydrated:!1,cache:b.cache},e.updateQueue.baseState=h,e.memoizedState=h,e.flags&256){e=h0(t,e,s,a);break t}else if(s!==d){d=_a(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),zf(d),e=h0(t,e,s,a);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,hn=Ri(t.firstChild),$a=e,De=!0,Bc=null,ts=!1,Mo=null,Tl=!0,a=ZR(e,null,s,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ar(),s===d){e=vo(t,e,a);break t}na(t,e,s,a)}e=e.child}return e;case 26:return Wf(t,e),t===null?(a=J0(e.type,null,e.pendingProps,null))?e.memoizedState=a:De||(a=e.type,t=e.pendingProps,s=Et(Di.current),s=gd(s).createElement(a),s[fn]=e,s[Za]=t,cn(s,a,t),Xt(s),e.stateNode=s):e.memoizedState=J0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return P(e),t===null&&De&&(s=Et(Di.current),d=F(),s=e.stateNode=tr(e.type,e.pendingProps,s,d,!1),ts||(d=ni(s,e.type,e.pendingProps,d),d!==null&&(ws(e,0).serverProps=d)),$a=e,Tl=!0,d=hn,$r(e.type)?(N2=d,hn=Ri(s.firstChild)):hn=d),na(t,e,e.pendingProps.children,a),Wf(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&De&&(h=F(),s=xf(e.type,h.ancestorInfo),d=hn,(b=!d)||(b=e1(d,e.type,e.pendingProps,Tl),b!==null?(e.stateNode=b,ts||(h=ni(b,e.type,e.pendingProps,h),h!==null&&(ws(e,0).serverProps=h)),$a=e,hn=Ri(b.firstChild),Tl=!1,h=!0):h=!1,b=!h),b&&(s&&Ea(e,d),qi(e))),P(e),d=e.type,h=e.pendingProps,b=t!==null?t.memoizedProps:null,s=h.children,gc(d,h)?s=null:b!==null&&gc(d,b)&&(e.flags|=32),e.memoizedState!==null&&(d=Fg(t,e,Vf,null,null,a),uv._currentValue=d),Wf(t,e),na(t,e,s,a),e.child;case 6:return t===null&&De&&(a=e.pendingProps,t=F(),s=t.ancestorInfo.current,a=s!=null?Sf(a,s.tag,t.ancestorInfo.implicitRootScope):!0,t=hn,(s=!t)||(s=n1(t,e.pendingProps,Tl),s!==null?(e.stateNode=s,$a=e,hn=null,s=!0):s=!1,s=!s),s&&(a&&Ea(e,t),qi(e))),null;case 13:return hp(t,e,a);case 4:return gt(e,e.stateNode.containerInfo),s=e.pendingProps,t===null?e.child=Xd(e,null,s,a):na(t,e,s,a),e.child;case 11:return Eb(t,e,e.type,e.pendingProps,a);case 7:return na(t,e,e.pendingProps,a),e.child;case 8:return na(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,s=e.stateNode,s.effectDuration=-0,s.passiveEffectDuration=-0,na(t,e,e.pendingProps.children,a),e.child;case 10:return s=e.type,d=e.pendingProps,h=d.value,"value"in d||vD||(vD=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Gi(e,s,h),na(t,e,d.children,a),e.child;case 9:return d=e.type._context,s=e.pendingProps.children,typeof s!="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."),Rr(e),d=Ve(d),s=e2(s,d,void 0),e.flags|=1,na(t,e,s,a),e.child;case 14:return l0(t,e,e.type,e.pendingProps,a);case 15:return r0(t,e,e.type,e.pendingProps,a);case 19:return g0(t,e,a);case 31:return Tb(t,e,a);case 22:return s0(t,e,a,e.pendingProps);case 24:return Rr(e),s=Ve(oa),t===null?(d=Yl(),d===null&&(d=on,h=Zh(),d.pooledCache=h,Ts(h),h!==null&&(d.pooledCacheLanes|=a),d=h),e.memoizedState={parent:s,cache:d},Ce(e),Gi(e,oa,d)):((t.lanes&a)!==0&&(Jo(t,e),Po(e,null,null,a),Qu()),d=t.memoizedState,h=e.memoizedState,d.parent!==s?(d={parent:s,cache:s},e.memoizedState=d,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=d),Gi(e,oa,s)):(s=h.cache,Gi(e,oa,s),s!==d.cache&&Hl(e,[oa],a,!0))),na(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 ol(t){t.flags|=4}function yp(t,e,a,s,d){if((e=(t.mode&tL)!==ne)&&(e=!1),e){if(t.flags|=16777216,(d&335544128)===d)if(t.stateNode.complete)t.flags|=8192;else if(j0())t.flags|=8192;else throw Gd=Y1,a2}else t.flags&=-16777217}function Cb(t,e){if(e.type!=="stylesheet"||(e.state.loading&Ml)!==eh)t.flags&=-16777217;else if(t.flags|=16777216,!Ee(e))if(j0())t.flags|=8192;else throw Gd=Y1,a2}function ac(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Au():536870912,t.lanes|=e,Id|=e)}function ic(t,e){if(!De)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 s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function Ie(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,s=0;if(e)if((t.mode&ye)!==ne){for(var d=t.selfBaseDuration,h=t.child;h!==null;)a|=h.lanes|h.childLanes,s|=h.subtreeFlags&65011712,s|=h.flags&65011712,d+=h.treeBaseDuration,h=h.sibling;t.treeBaseDuration=d}else for(d=t.child;d!==null;)a|=d.lanes|d.childLanes,s|=d.subtreeFlags&65011712,s|=d.flags&65011712,d.return=t,d=d.sibling;else if((t.mode&ye)!==ne){d=t.actualDuration,h=t.selfBaseDuration;for(var b=t.child;b!==null;)a|=b.lanes|b.childLanes,s|=b.subtreeFlags,s|=b.flags,d+=b.actualDuration,h+=b.treeBaseDuration,b=b.sibling;t.actualDuration=d,t.treeBaseDuration=h}else for(d=t.child;d!==null;)a|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=s,t.childLanes=a,e}function y0(t,e,a){var s=e.pendingProps;switch(Xh(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(e),null;case 1:return Ie(e),null;case 3:return a=e.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),e.memoizedState.cache!==s&&(e.flags|=2048),co(oa,e),U(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Es(e)?(Cr(),ol(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Mf())),Ie(e),null;case 26:var d=e.type,h=e.memoizedState;return t===null?(ol(e),h!==null?(Ie(e),Cb(e,h)):(Ie(e),yp(e,d,null,s,a))):h?h!==t.memoizedState?(ol(e),Ie(e),Cb(e,h)):(Ie(e),e.flags&=-16777217):(t=t.memoizedProps,t!==s&&ol(e),Ie(e),yp(e,d,t,s,a)),null;case 27:if(Rt(e),a=Et(Di.current),d=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==s&&ol(e);else{if(!s){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 Ie(e),null}t=F(),Es(e)?qg(e):(t=tr(d,s,a,t,!0),e.stateNode=t,ol(e))}return Ie(e),null;case 5:if(Rt(e),d=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==s&&ol(e);else{if(!s){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 Ie(e),null}var b=F();if(Es(e))qg(e);else{switch(h=Et(Di.current),xf(d,b.ancestorInfo),b=b.context,h=gd(h),b){case Bm:h=h.createElementNS(pe,d);break;case hx:h=h.createElementNS(ce,d);break;default:switch(d){case"svg":h=h.createElementNS(pe,d);break;case"math":h=h.createElementNS(ce,d);break;case"script":h=h.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof s.is=="string"?h.createElement("select",{is:s.is}):h.createElement("select"),s.multiple?h.multiple=!0:s.size&&(h.size=s.size);break;default:h=typeof s.is=="string"?h.createElement(d,{is:s.is}):h.createElement(d),d.indexOf("-")===-1&&(d!==d.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),Object.prototype.toString.call(h)!=="[object HTMLUnknownElement]"||Mi.call(qD,d)||(qD[d]=!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.",d)))}}h[fn]=e,h[Za]=s;t:for(b=e.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===e)break t;for(;b.sibling===null;){if(b.return===null||b.return===e)break t;b=b.return}b.sibling.return=b.return,b=b.sibling}e.stateNode=h;t:switch(cn(h,d,s),d){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&ol(e)}}return Ie(e),yp(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==s&&ol(e);else{if(typeof s!="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=Et(Di.current),a=F(),Es(e)){if(t=e.stateNode,a=e.memoizedProps,d=!ts,s=null,h=$a,h!==null)switch(h.tag){case 3:d&&(d=o1(t,a,s),d!==null&&(ws(e,0).serverProps=d));break;case 27:case 5:s=h.memoizedProps,d&&(d=o1(t,a,s),d!==null&&(ws(e,0).serverProps=d))}t[fn]=e,t=!!(t.nodeValue===a||s!==null&&s.suppressHydrationWarning===!0||X0(t.nodeValue,a)),t||qi(e,!0)}else d=a.ancestorInfo.current,d!=null&&Sf(s,d.tag,a.ancestorInfo.implicitRootScope),t=gd(t).createTextNode(s),t[fn]=e,e.stateNode=t}return Ie(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(s=Es(e),a!==null){if(t===null){if(!s)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[fn]=e,Ie(e),(e.mode&ye)!==ne&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else Cr(),Ar(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Ie(e),(e.mode&ye)!==ne&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=Mf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(ta(e),e):(ta(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Ie(e),null;case 13:if(s=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=s,h=Es(e),d!==null&&d.dehydrated!==null){if(t===null){if(!h)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(h=e.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");h[fn]=e,Ie(e),(e.mode&ye)!==ne&&d!==null&&(d=e.child,d!==null&&(e.treeBaseDuration-=d.treeBaseDuration))}else Cr(),Ar(),(e.flags&128)===0&&(d=e.memoizedState=null),e.flags|=4,Ie(e),(e.mode&ye)!==ne&&d!==null&&(d=e.child,d!==null&&(e.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=Mf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return e.flags&256?(ta(e),e):(ta(e),null)}return ta(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&ye)!==ne&&Cs(e),e):(a=s!==null,t=t!==null&&t.memoizedState!==null,a&&(s=e.child,d=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(d=s.alternate.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==d&&(s.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),ac(e,e.updateQueue),Ie(e),(e.mode&ye)!==ne&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return U(e),t===null&&Qr(e.stateNode.containerInfo),Ie(e),null;case 10:return co(e.type,e),Ie(e),null;case 19:if(Mt(Qn,e),s=e.memoizedState,s===null)return Ie(e),null;if(d=(e.flags&128)!==0,h=s.rendering,h===null)if(d)ic(s,!1);else{if(Tn!==pu||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(h=Ds(t),h!==null){for(e.flags|=128,ic(s,!1),t=h.updateQueue,e.updateQueue=t,ac(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Vg(a,t),a=a.sibling;return Nt(Qn,Qn.current&Dm|Qy,e),De&&uo(e,s.treeForkCount),e.child}t=t.sibling}s.tail!==null&&ia()>tx&&(e.flags|=128,d=!0,ic(s,!1),e.lanes=4194304)}else{if(!d)if(t=Ds(h),t!==null){if(e.flags|=128,d=!0,t=t.updateQueue,e.updateQueue=t,ac(e,t),ic(s,!0),s.tail===null&&s.tailMode==="hidden"&&!h.alternate&&!De)return Ie(e),null}else 2*ia()-s.renderingStartTime>tx&&a!==536870912&&(e.flags|=128,d=!0,ic(s,!1),e.lanes=4194304);s.isBackwards?(h.sibling=e.child,e.child=h):(t=s.last,t!==null?t.sibling=h:e.child=h,s.last=h)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ia(),t.sibling=null,a=Qn.current,a=d?a&Dm|Qy:a&Dm,Nt(Qn,a,e),De&&uo(e,s.treeForkCount),t):(Ie(e),null);case 22:case 23:return ta(e),mo(e),s=e.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(e.flags|=8192):s&&(e.flags|=8192),s?(a&536870912)!==0&&(e.flags&128)===0&&(Ie(e),e.subtreeFlags&6&&(e.flags|=8192)):Ie(e),a=e.updateQueue,a!==null&&ac(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),s=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),s!==a&&(e.flags|=2048),t!==null&&Mt(Yd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),co(oa,e),Ie(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 Rb(t,e){switch(Xh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 3:return co(oa,e),U(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Rt(e),null;case 31:if(e.memoizedState!==null){if(ta(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ar()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 13:if(ta(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.");Ar()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 19:return Mt(Qn,e),null;case 4:return U(e),null;case 10:return co(e.type,e),null;case 22:case 23:return ta(e),mo(e),t!==null&&Mt(Yd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ye)!==ne&&Cs(e),e):null;case 24:return co(oa,e),null;case 25:return null;default:return null}}function v0(t,e){switch(Xh(e),e.tag){case 3:co(oa,e),U(e);break;case 26:case 27:case 5:Rt(e);break;case 4:U(e);break;case 31:e.memoizedState!==null&&ta(e);break;case 13:ta(e);break;case 19:Mt(Qn,e);break;case 10:co(e.type,e);break;case 22:case 23:ta(e),mo(e),t!==null&&Mt(Yd,e);break;case 24:co(oa,e)}}function ll(t){return(t.mode&ye)!==ne}function Db(t,e){ll(t)?(xn(),Il(e,t),ja()):Il(e,t)}function vp(t,e,a){ll(t)?(xn(),Vr(a,t,e),ja()):Vr(a,t,e)}function Il(t,e){try{var a=e.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var d=s.next;a=d;do{if((a.tag&t)===t&&(s=void 0,(t&ki)!==G1&&(Nm=!0),s=zt(e,lL,a),(t&ki)!==G1&&(Nm=!1),s!==void 0&&typeof s!="function")){var h=void 0;h=(a.tag&Oo)!==0?"useLayoutEffect":(a.tag&ki)!==0?"useInsertionEffect":"useEffect";var b=void 0;b=s===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof s.then=="function"?`
154
154
 
155
155
  It looks like you wrote `+h+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
156
156
 
@@ -194,7 +194,7 @@ This ensures that you're testing the behavior the user would see in the browser.
194
194
  - `+bd(e)+`
195
195
  + `+bd(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=Is(a),e=Wt(d).hoistableScripts,s=e.get(a),s||(s={type:"script",instance:null,count:0,state:null},e.set(a,s)),s):{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 bd(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):Mi.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):Mi.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):Mi.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function Ks(t){return'href="'+Ke(t)+'"'}function xd(t){return'link[rel="stylesheet"]['+t+"]"}function Qp(t){return ge({},t,{"data-precedence":t.precedence,precedence:null})}function l1(t,e,a,s){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?s.loading=sv:(e=t.createElement("link"),s.preload=e,e.addEventListener("load",function(){return s.loading|=sv}),e.addEventListener("error",function(){return s.loading|=QD}),cn(e,"link",a),Xt(e),t.head.appendChild(e))}function Is(t){return'[src="'+Ke(t)+'"]'}function Sd(t){return"script[async]"+t}function Zp(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var s=t.querySelector('style[data-href~="'+Ke(a.href)+'"]');if(s)return e.instance=s,Xt(s),s;var d=ge({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),Xt(s),cn(s,"style",d),xc(s,a.precedence,t),e.instance=s;case"stylesheet":d=Ks(a.href);var h=t.querySelector(xd(d));if(h)return e.state.loading|=Ml,e.instance=h,Xt(h),h;s=Qp(a),(d=zl.get(d))&&F0(s,d),h=(t.ownerDocument||t).createElement("link"),Xt(h);var b=h;return b._p=new Promise(function(w,D){b.onload=w,b.onerror=D}),cn(h,"link",s),e.state.loading|=Ml,xc(h,a.precedence,t),e.instance=h;case"script":return h=Is(a.src),(d=t.querySelector(Sd(h)))?(e.instance=d,Xt(d),d):(s=a,(d=zl.get(h))&&(s=ge({},a),P0(s,d)),t=t.ownerDocument||t,d=t.createElement("script"),Xt(d),cn(d,"link",s),t.head.appendChild(d),e.instance=d);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&Ml)===eh&&(s=e.instance,e.state.loading|=Ml,xc(s,a.precedence,t));return e.instance}function xc(t,e,a){for(var s=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=s.length?s[s.length-1]:null,h=d,b=0;b<s.length;b++){var w=s[b];if(w.dataset.precedence===e)h=w;else if(h!==d)break}h?h.parentNode.insertBefore(t,h.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function F0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function P0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function Sc(t,e,a){if(px===null){var s=new Map,d=px=new Map;d.set(a,s)}else d=px,s=d.get(a),s||(s=new Map,d.set(a,s));if(s.has(t))return s;for(s.set(t,null),a=a.getElementsByTagName(t),d=0;d<a.length;d++){var h=a[d];if(!(h[kc]||h[fn]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!==pe){var b=h.getAttribute(e)||"";b=t+b;var w=s.get(b);w?w.push(h):s.set(b,[h])}}return s}function r1(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function s1(t,e,a){var s=!a.ancestorInfo.containerTagInScope;if(a.context===Bm||e.itemProp!=null)return!s||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===""){s&&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 d=e.onError,h=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),d&&a.push("`onError`"),h!=null&&a.push("`disabled`"),d=Bb(a,"and"),d+=a.length===1?" prop":" props",h=a.length===1?"an "+d:"the "+d,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,h,d)}s&&(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"&&s&&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"){s&&(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":s&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",t)}return!1}function Ee(t){return!(t.type==="stylesheet"&&(t.state.loading&ZD)===eh)}function W0(t,e,a,s){if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&Ml)===eh){if(a.instance===null){var d=Ks(s.href),h=e.querySelector(xd(d));if(h){e=h._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=wc.bind(t),e.then(t,t)),a.state.loading|=Ml,a.instance=h,Xt(h);return}h=e.ownerDocument||e,s=Qp(s),(d=zl.get(d))&&F0(s,d),h=h.createElement("link"),Xt(h);var b=h;b._p=new Promise(function(w,D){b.onload=w,b.onerror=D}),cn(h,"link",s),a.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&ZD)===eh&&(t.count++,a=wc.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function $p(t,e){return t.stylesheets&&t.count===0&&wd(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var s=setTimeout(function(){if(t.stylesheets&&wd(t,t.stylesheets),t.unsuspend){var h=t.unsuspend;t.unsuspend=null,h()}},RL+e);0<t.imgBytes&&H2===0&&(H2=125*Yb()*ML);var d=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&wd(t,t.stylesheets),t.unsuspend)){var h=t.unsuspend;t.unsuspend=null,h()}},(t.imgBytes>H2?50:DL)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(d)}}:null}function wc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)wd(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function wd(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,mx=new Map,e.forEach(ty,t),mx=null,wc.call(t))}function ty(t,e){if(!(e.state.loading&Ml)){var a=mx.get(t);if(a)var s=a.get(V2);else{a=new Map,mx.set(t,a);for(var d=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<d.length;h++){var b=d[h];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(a.set(b.dataset.precedence,b),s=b)}s&&a.set(V2,s)}d=e.instance,b=d.getAttribute("data-precedence"),h=a.get(b)||s,h===s&&a.set(V2,d),a.set(b,d),this.count++,s=wc.bind(this),d.addEventListener("load",s),d.addEventListener("error",s),h?h.parentNode.insertBefore(d,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(d,t.firstChild)),e.state.loading|=Ml}}function Ed(t,e,a,s,d,h,b,w,D){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=th,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Cu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cu(0),this.hiddenUpdates=Cu(null),this.identifierPrefix=s,this.onUncaughtError=d,this.onCaughtError=h,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,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 Td(t,e,a,s,d,h,b,w,D,M,G,$){return t=new Ed(t,e,a,b,D,M,G,$,w),e=W7,h===!0&&(e|=oi|ir),e|=ye,h=R(3,null,null,e),t.current=h,h.stateNode=t,e=Zh(),Ts(e),t.pooledCache=e,Ts(e),h.memoizedState={element:s,isDehydrated:a,cache:e},Ce(h),t}function u1(t){return t?(t=Vc,t):Vc}function Kp(t,e,a,s,d,h){if(Gn&&typeof Gn.onScheduleFiberRoot=="function")try{Gn.onScheduleFiberRoot(tu,s,a)}catch(b){gl||(gl=!0,console.error("React instrumentation encountered an error: %o",b))}d=u1(d),s.context===null?s.context=d:s.pendingContext=d,ml&&ii!==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.
196
196
 
197
- Check the render method of %s.`,St(ii)||"Unknown")),s=Bn(e),s.payload={element:a},h=h===void 0?null:h,h!==null&&(typeof h!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",h),s.callback=h),a=Fo(t,s,e),a!==null&&(Ko(e,"root.render()",null),ie(a,t,e),$i(a,t,e))}function c1(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function ey(t,e){c1(t,e),(t=t.alternate)&&c1(t,e)}function ny(t){if(t.tag===13||t.tag===31){var e=wa(t,67108864);e!==null&&ie(e,t,67108864),ey(t,67108864)}}function ay(t){if(t.tag===13||t.tag===31){var e=Ta(t);e=Hi(e);var a=wa(t,e);a!==null&&ie(a,t,e),ey(t,e)}}function Fe(){return ii}function iy(t,e,a,s){var d=st.T;st.T=null;var h=Ye.p;try{Ye.p=Xn,oy(t,e,a,s)}finally{Ye.p=h,st.T=d}}function ma(t,e,a,s){var d=st.T;st.T=null;var h=Ye.p;try{Ye.p=ya,oy(t,e,a,s)}finally{Ye.p=h,st.T=d}}function oy(t,e,a,s){if(yx){var d=Ip(s);if(d===null)wo(t,e,s,vx,a),Fp(t,s);else if(f1(d,t,e,a,s))s.stopPropagation();else if(Fp(t,s),e&4&&-1<OL.indexOf(t)){for(;d!==null;){var h=At(d);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=Bo(h.pendingLanes);if(b!==0){var w=h;for(w.pendingLanes|=2,w.entangledLanes|=2;b;){var D=1<<31-ga(b);w.entanglements[1]|=D,b&=~D}ti(h),(Ue&(ba|_o))===Ma&&(tx=ia()+AD,cl(0))}}break;case 31:case 13:w=wa(h,2),w!==null&&ie(w,h,2),Ci(),ey(h,2)}if(h=Ip(s),h===null&&wo(t,e,s,vx,a),h===d)break;d=h}d!==null&&s.stopPropagation()}else wo(t,e,s,null,a)}}function Ip(t){return t=oo(t),ly(t)}function ly(t){if(vx=null,t=wt(t),t!==null){var e=Z(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=W(e),t!==null)return t;t=null}else if(a===31){if(t=rt(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 vx=t,null}function Jp(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 Xn;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 ya;case"message":switch(zd()){case gy:return Xn;case lm:return ya;case Ws:case y1:return Ca;case rm:return Pr;default:return Ca}default:return Ca}}function Fp(t,e){switch(t){case"focusin":case"focusout":ef=null;break;case"dragenter":case"dragleave":nf=null;break;case"mouseover":case"mouseout":af=null;break;case"pointerover":case"pointerout":cv.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":fv.delete(e.pointerId)}}function Kr(t,e,a,s,d,h){return t===null||t.nativeEvent!==h?(t={blockedOn:e,domEventName:a,eventSystemFlags:s,nativeEvent:h,targetContainers:[d]},e!==null&&(e=At(e),e!==null&&ny(e)),t):(t.eventSystemFlags|=s,e=t.targetContainers,d!==null&&e.indexOf(d)===-1&&e.push(d),t)}function f1(t,e,a,s,d){switch(e){case"focusin":return ef=Kr(ef,t,e,a,s,d),!0;case"dragenter":return nf=Kr(nf,t,e,a,s,d),!0;case"mouseover":return af=Kr(af,t,e,a,s,d),!0;case"pointerover":var h=d.pointerId;return cv.set(h,Kr(cv.get(h)||null,t,e,a,s,d)),!0;case"gotpointercapture":return h=d.pointerId,fv.set(h,Kr(fv.get(h)||null,t,e,a,s,d)),!0}return!1}function ry(t){var e=wt(t.target);if(e!==null){var a=Z(e);if(a!==null){if(e=a.tag,e===13){if(e=W(a),e!==null){t.blockedOn=e,O(t.priority,function(){ay(a)});return}}else if(e===31){if(e=rt(a),e!==null){t.blockedOn=e,O(t.priority,function(){ay(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 Ec(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Ip(t.nativeEvent);if(a===null){a=t.nativeEvent;var s=new a.constructor(a.type,a),d=s;Sy!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Sy=d,a.target.dispatchEvent(s),Sy===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."),Sy=null}else return e=At(a),e!==null&&ny(e),t.blockedOn=a,!1;e.shift()}return!0}function Pp(t,e,a){Ec(t)&&a.delete(e)}function Cw(){B2=!1,ef!==null&&Ec(ef)&&(ef=null),nf!==null&&Ec(nf)&&(nf=null),af!==null&&Ec(af)&&(af=null),cv.forEach(Pp),fv.forEach(Pp)}function Ad(t,e){t.blockedOn===e&&(t.blockedOn=null,B2||(B2=!0,On.unstable_scheduleCallback(On.unstable_NormalPriority,Cw)))}function d1(t){bx!==t&&(bx=t,On.unstable_scheduleCallback(On.unstable_NormalPriority,function(){bx===t&&(bx=null);for(var e=0;e<t.length;e+=3){var a=t[e],s=t[e+1],d=t[e+2];if(typeof s!="function"){if(ly(s||a)===null)continue;break}var h=At(a);h!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:d,method:a.method,action:s},Object.freeze(a),$l(h,a,s,d))}}))}function Js(t){function e(D){return Ad(D,t)}ef!==null&&Ad(ef,t),nf!==null&&Ad(nf,t),af!==null&&Ad(af,t),cv.forEach(e),fv.forEach(e);for(var a=0;a<of.length;a++){var s=of[a];s.blockedOn===t&&(s.blockedOn=null)}for(;0<of.length&&(a=of[0],a.blockedOn===null);)ry(a),a.blockedOn===null&&of.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(s=0;s<a.length;s+=3){var d=a[s],h=a[s+1],b=d[Za]||null;if(typeof h=="function")b||d1(a);else if(b){var w=null;if(h&&h.hasAttribute("formAction")){if(d=h,b=h[Za]||null)w=b.formAction;else if(ly(d)!==null)continue}else w=b.action;typeof w=="function"?a[s+1]=w:(a.splice(s,3),s-=3),d1(a)}}}function h1(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function e(){d!==null&&(d(),d=null),s||setTimeout(a,20)}function a(){if(!s&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,d=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){s=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),d!==null&&(d(),d=null)}}}function sy(t){this._internalRoot=t}function Ao(t){this._internalRoot=t}function uy(t){t[ar]&&(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 On=F2(),Cd=ah(),Rw=wx(),ge=Object.assign,p1=Symbol.for("react.element"),Fi=Symbol.for("react.transitional.element"),Ir=Symbol.for("react.portal"),Tc=Symbol.for("react.fragment"),Qa=Symbol.for("react.strict_mode"),Rd=Symbol.for("react.profiler"),Wp=Symbol.for("react.consumer"),Co=Symbol.for("react.context"),Ac=Symbol.for("react.forward_ref"),Fs=Symbol.for("react.suspense"),ai=Symbol.for("react.suspense_list"),Dd=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),Ro=Symbol.for("react.activity"),Dw=Symbol.for("react.memo_cache_sentinel"),m1=Symbol.iterator,Cc=Symbol.for("react.client.reference"),Nn=Array.isArray,st=Cd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ye=Rw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Mw=Object.freeze({pending:!1,data:null,method:null,action:null}),cy=[],fy=[],nr=-1,Jr=oe(null),Rc=oe(null),Di=oe(null),Fr=oe(null),Dc=0,g1,Ps,Mc,dy,Md,tm,em;Ht.__reactDisabledLog=!0;var zc,hy,nm=!1,py=new(typeof WeakMap=="function"?WeakMap:Map),ii=null,ml=!1,Mi=Object.prototype.hasOwnProperty,my=On.unstable_scheduleCallback,am=On.unstable_cancelCallback,im=On.unstable_shouldYield,om=On.unstable_requestPaint,ia=On.unstable_now,zd=On.unstable_getCurrentPriorityLevel,gy=On.unstable_ImmediatePriority,lm=On.unstable_UserBlockingPriority,Ws=On.unstable_NormalPriority,y1=On.unstable_LowPriority,rm=On.unstable_IdlePriority,yy=On.log,v1=On.unstable_setDisableYieldValue,tu=null,Gn=null,gl=!1,yl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ga=Math.clz32?Math.clz32:mr,vy=Math.log,sm=Math.LN2,Oc=256,Od=262144,_c=4194304,Xn=2,ya=8,Ca=32,Pr=268435456,Pi=Math.random().toString(36).slice(2),fn="__reactFiber$"+Pi,Za="__reactProps$"+Pi,ar="__reactContainer$"+Pi,eu="__reactEvents$"+Pi,zw="__reactListeners$"+Pi,b1="__reactHandles$"+Pi,_d="__reactResources$"+Pi,kc="__reactMarker$"+Pi,x1=new Set,vl={},jc={},S1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Uc=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]*$"),by={},um={},cm=/[\n"\\]/g,xy=!1,w1=!1,kd=!1,n=!1,o=!1,r=!1,f=["value","defaultValue"],g=!1,v=/["'&<>\n\t]|^\s|\s$/,C="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(" "),_="applet caption html table td th marquee object template foreignObject desc title".split(" "),V=_.concat(["button"]),nt="dd dt li option optgroup p rp rt".split(" "),ft={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},gt={},at={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"]},ut=/([A-Z])/g,Ut=/^ms-/,Pt=/^(?:webkit|moz|o)[A-Z]/,Pe=/^-ms-/,J=/-(.)/g,Q=/;\s*$/,tt={},pt={},Kt=!1,je=!1,Qt=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(" ")),ce="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",He=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"]]),Do={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"},E1={"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},fm={},f7=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]*$"),d7=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]*$"),W5=!1,zi={},tR=/^on./,h7=/^on[^A-Z]/,p7=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]*$"),m7=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]*$"),g7=/^[\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,Sy=null,dm=null,hm=null,Ow=!1,Wr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_w=!1;if(Wr)try{var wy={};Object.defineProperty(wy,"passive",{get:function(){_w=!0}}),window.addEventListener("test",wy,wy),window.removeEventListener("test",wy,wy)}catch{_w=!1}var Lc=null,kw=null,T1=null,jd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},A1=Fn(jd),Ey=ge({},jd,{view:0,detail:0}),y7=Fn(Ey),jw,Uw,Ty,C1=ge({},Ey,{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!==Ty&&(Ty&&t.type==="mousemove"?(jw=t.screenX-Ty.screenX,Uw=t.screenY-Ty.screenY):Uw=jw=0,Ty=t),jw)},movementY:function(t){return"movementY"in t?t.movementY:Uw}}),eR=Fn(C1),v7=ge({},C1,{dataTransfer:0}),b7=Fn(v7),x7=ge({},Ey,{relatedTarget:0}),Lw=Fn(x7),S7=ge({},jd,{animationName:0,elapsedTime:0,pseudoElement:0}),w7=Fn(S7),E7=ge({},jd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),T7=Fn(E7),A7=ge({},jd,{data:0}),nR=Fn(A7),C7=nR,R7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},D7={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"},M7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},z7=ge({},Ey,{key:function(t){if(t.key){var e=R7[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ef(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?D7[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"?Ef(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ef(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),O7=Fn(z7),_7=ge({},C1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),aR=Fn(_7),k7=ge({},Ey,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tf}),j7=Fn(k7),U7=ge({},jd,{propertyName:0,elapsedTime:0,pseudoElement:0}),L7=Fn(U7),N7=ge({},C1,{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}),H7=Fn(N7),V7=ge({},jd,{newState:0,oldState:0}),B7=Fn(V7),Y7=[9,13,27,32],iR=229,Nw=Wr&&"CompositionEvent"in window,Ay=null;Wr&&"documentMode"in document&&(Ay=document.documentMode);var q7=Wr&&"TextEvent"in window&&!Ay,oR=Wr&&(!Nw||Ay&&8<Ay&&11>=Ay),lR=32,rR=String.fromCharCode(lR),sR=!1,pm=!1,G7={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},Cy=null,Ry=null,uR=!1;Wr&&(uR=Uh("input")&&(!document.documentMode||9<document.documentMode));var Oi=typeof Object.is=="function"?Object.is:Lh,X7=Wr&&"documentMode"in document&&11>=document.documentMode,mm=null,Hw=null,Dy=null,Vw=!1,gm={animationend:gs("Animation","AnimationEnd"),animationiteration:gs("Animation","AnimationIteration"),animationstart:gs("Animation","AnimationStart"),transitionrun:gs("Transition","TransitionRun"),transitionstart:gs("Transition","TransitionStart"),transitioncancel:gs("Transition","TransitionCancel"),transitionend:gs("Transition","TransitionEnd")},Bw={},cR={};Wr&&(cR=document.createElement("div").style,"AnimationEvent"in window||(delete gm.animationend.animation,delete gm.animationiteration.animation,delete gm.animationstart.animation),"TransitionEvent"in window||delete gm.transitionend.transition);var fR=ys("animationend"),dR=ys("animationiteration"),hR=ys("animationstart"),Q7=ys("transitionrun"),Z7=ys("transitionstart"),$7=ys("transitioncancel"),pR=ys("transitionend"),mR=new Map,Yw="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(" ");Yw.push("scrollEnd");var gR=0;if(typeof performance=="object"&&typeof performance.now=="function")var K7=performance,yR=function(){return K7.now()};else{var I7=Date;yR=function(){return I7.now()}}var qw=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)},J7="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.",R1=0,Gw=1,Xw=2,Qw=3,D1="– ",M1="+ ",vR="  ",dn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",bl="Components ⚛",Me="Scheduler ⚛",Oe="Blocking",Nc=!1,nu={color:"primary",properties:null,tooltipText:"",track:bl},Hc={start:-0,end:-0,detail:{devtools:nu}},F7=["Changed Props",""],bR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",P7=["Changed Props",bR],My=1,au=2,xl=[],ym=0,Zw=0,Vc={};Object.freeze(Vc);var Sl=null,vm=null,ne=0,W7=1,ye=2,oi=8,ir=16,tL=32,xR=!1;try{var SR=Object.preventExtensions({})}catch{xR=!0}var $w=new WeakMap,bm=[],xm=0,z1=null,zy=0,wl=[],El=0,Ud=null,iu=1,ou="",$a=null,hn=null,De=!1,ts=!1,Mo=null,Bc=null,Tl=!1,Kw=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."),Iw=oe(null),Jw=oe(null),wR={},O1=null,Sm=null,wm=!1,eL=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,s){t.push(s)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},nL=On.unstable_scheduleCallback,aL=On.unstable_NormalPriority,oa={$$typeof:Co,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},la=On.unstable_now,_1=console.createTask?console.createTask:function(){return null},Oy=1,k1=2,Ra=-0,Yc=-0,lu=-0,ru=null,_i=-1.1,Ld=-0,En=-0,Ft=-1.1,te=-1.1,bn=null,_n=!1,Nd=-0,es=-1.1,_y=null,qc=0,Fw=null,Pw=null,Hd=-1.1,ky=null,Em=-1.1,j1=-1.1,su=-0,uu=-1.1,Al=-1.1,Ww=0,jy=null,ER=null,TR=null,Gc=-1.1,Vd=null,Xc=-1.1,U1=-1.1,AR=-0,CR=-0,L1=0,iL=null,RR=0,Uy=-1.1,N1=!1,H1=!1,Ly=null,t2=0,Bd=0,Tm=null,DR=st.S;st.S=function(t,e){if(ED=ia(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>uu&&0>Al){uu=la();var a=yc(),s=hl();(a!==Xc||s!==Vd)&&(Xc=-1.1),Gc=a,Vd=s}Bl(t,e)}DR!==null&&DR(t,e)};var Yd=oe(null),or={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ny=[],Hy=[],Vy=[],By=[],Yy=[],qy=[],qd=new Set;or.recordUnsafeLifecycleWarnings=function(t,e){qd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&Ny.push(t),t.mode&oi&&typeof e.UNSAFE_componentWillMount=="function"&&Hy.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Vy.push(t),t.mode&oi&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&By.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&Yy.push(t),t.mode&oi&&typeof e.UNSAFE_componentWillUpdate=="function"&&qy.push(t))},or.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<Ny.length&&(Ny.forEach(function(w){t.add(St(w)||"Component"),qd.add(w.type)}),Ny=[]);var e=new Set;0<Hy.length&&(Hy.forEach(function(w){e.add(St(w)||"Component"),qd.add(w.type)}),Hy=[]);var a=new Set;0<Vy.length&&(Vy.forEach(function(w){a.add(St(w)||"Component"),qd.add(w.type)}),Vy=[]);var s=new Set;0<By.length&&(By.forEach(function(w){s.add(St(w)||"Component"),qd.add(w.type)}),By=[]);var d=new Set;0<Yy.length&&(Yy.forEach(function(w){d.add(St(w)||"Component"),qd.add(w.type)}),Yy=[]);var h=new Set;if(0<qy.length&&(qy.forEach(function(w){h.add(St(w)||"Component"),qd.add(w.type)}),qy=[]),0<e.size){var b=A(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.`,St(ii)||"Unknown")),s=Bn(e),s.payload={element:a},h=h===void 0?null:h,h!==null&&(typeof h!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",h),s.callback=h),a=Fo(t,s,e),a!==null&&(Ko(e,"root.render()",null),ie(a,t,e),$i(a,t,e))}function c1(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function ey(t,e){c1(t,e),(t=t.alternate)&&c1(t,e)}function ny(t){if(t.tag===13||t.tag===31){var e=wa(t,67108864);e!==null&&ie(e,t,67108864),ey(t,67108864)}}function ay(t){if(t.tag===13||t.tag===31){var e=Ta(t);e=Hi(e);var a=wa(t,e);a!==null&&ie(a,t,e),ey(t,e)}}function Fe(){return ii}function iy(t,e,a,s){var d=st.T;st.T=null;var h=Ye.p;try{Ye.p=Xn,oy(t,e,a,s)}finally{Ye.p=h,st.T=d}}function ma(t,e,a,s){var d=st.T;st.T=null;var h=Ye.p;try{Ye.p=ya,oy(t,e,a,s)}finally{Ye.p=h,st.T=d}}function oy(t,e,a,s){if(yx){var d=Ip(s);if(d===null)wo(t,e,s,vx,a),Fp(t,s);else if(f1(d,t,e,a,s))s.stopPropagation();else if(Fp(t,s),e&4&&-1<OL.indexOf(t)){for(;d!==null;){var h=At(d);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=Bo(h.pendingLanes);if(b!==0){var w=h;for(w.pendingLanes|=2,w.entangledLanes|=2;b;){var D=1<<31-ga(b);w.entanglements[1]|=D,b&=~D}ti(h),(Ue&(ba|_o))===Ma&&(tx=ia()+AD,cl(0))}}break;case 31:case 13:w=wa(h,2),w!==null&&ie(w,h,2),Ci(),ey(h,2)}if(h=Ip(s),h===null&&wo(t,e,s,vx,a),h===d)break;d=h}d!==null&&s.stopPropagation()}else wo(t,e,s,null,a)}}function Ip(t){return t=oo(t),ly(t)}function ly(t){if(vx=null,t=wt(t),t!==null){var e=Z(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=W(e),t!==null)return t;t=null}else if(a===31){if(t=rt(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 vx=t,null}function Jp(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 Xn;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 ya;case"message":switch(zd()){case gy:return Xn;case lm:return ya;case Ws:case y1:return Ca;case rm:return Pr;default:return Ca}default:return Ca}}function Fp(t,e){switch(t){case"focusin":case"focusout":ef=null;break;case"dragenter":case"dragleave":nf=null;break;case"mouseover":case"mouseout":af=null;break;case"pointerover":case"pointerout":cv.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":fv.delete(e.pointerId)}}function Kr(t,e,a,s,d,h){return t===null||t.nativeEvent!==h?(t={blockedOn:e,domEventName:a,eventSystemFlags:s,nativeEvent:h,targetContainers:[d]},e!==null&&(e=At(e),e!==null&&ny(e)),t):(t.eventSystemFlags|=s,e=t.targetContainers,d!==null&&e.indexOf(d)===-1&&e.push(d),t)}function f1(t,e,a,s,d){switch(e){case"focusin":return ef=Kr(ef,t,e,a,s,d),!0;case"dragenter":return nf=Kr(nf,t,e,a,s,d),!0;case"mouseover":return af=Kr(af,t,e,a,s,d),!0;case"pointerover":var h=d.pointerId;return cv.set(h,Kr(cv.get(h)||null,t,e,a,s,d)),!0;case"gotpointercapture":return h=d.pointerId,fv.set(h,Kr(fv.get(h)||null,t,e,a,s,d)),!0}return!1}function ry(t){var e=wt(t.target);if(e!==null){var a=Z(e);if(a!==null){if(e=a.tag,e===13){if(e=W(a),e!==null){t.blockedOn=e,O(t.priority,function(){ay(a)});return}}else if(e===31){if(e=rt(a),e!==null){t.blockedOn=e,O(t.priority,function(){ay(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 Ec(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Ip(t.nativeEvent);if(a===null){a=t.nativeEvent;var s=new a.constructor(a.type,a),d=s;Sy!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Sy=d,a.target.dispatchEvent(s),Sy===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."),Sy=null}else return e=At(a),e!==null&&ny(e),t.blockedOn=a,!1;e.shift()}return!0}function Pp(t,e,a){Ec(t)&&a.delete(e)}function Cw(){B2=!1,ef!==null&&Ec(ef)&&(ef=null),nf!==null&&Ec(nf)&&(nf=null),af!==null&&Ec(af)&&(af=null),cv.forEach(Pp),fv.forEach(Pp)}function Ad(t,e){t.blockedOn===e&&(t.blockedOn=null,B2||(B2=!0,On.unstable_scheduleCallback(On.unstable_NormalPriority,Cw)))}function d1(t){bx!==t&&(bx=t,On.unstable_scheduleCallback(On.unstable_NormalPriority,function(){bx===t&&(bx=null);for(var e=0;e<t.length;e+=3){var a=t[e],s=t[e+1],d=t[e+2];if(typeof s!="function"){if(ly(s||a)===null)continue;break}var h=At(a);h!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:d,method:a.method,action:s},Object.freeze(a),$l(h,a,s,d))}}))}function Js(t){function e(D){return Ad(D,t)}ef!==null&&Ad(ef,t),nf!==null&&Ad(nf,t),af!==null&&Ad(af,t),cv.forEach(e),fv.forEach(e);for(var a=0;a<of.length;a++){var s=of[a];s.blockedOn===t&&(s.blockedOn=null)}for(;0<of.length&&(a=of[0],a.blockedOn===null);)ry(a),a.blockedOn===null&&of.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(s=0;s<a.length;s+=3){var d=a[s],h=a[s+1],b=d[Za]||null;if(typeof h=="function")b||d1(a);else if(b){var w=null;if(h&&h.hasAttribute("formAction")){if(d=h,b=h[Za]||null)w=b.formAction;else if(ly(d)!==null)continue}else w=b.action;typeof w=="function"?a[s+1]=w:(a.splice(s,3),s-=3),d1(a)}}}function h1(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function e(){d!==null&&(d(),d=null),s||setTimeout(a,20)}function a(){if(!s&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,d=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){s=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),d!==null&&(d(),d=null)}}}function sy(t){this._internalRoot=t}function Ao(t){this._internalRoot=t}function uy(t){t[ar]&&(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 On=F2(),Cd=ah(),Rw=wx(),ge=Object.assign,p1=Symbol.for("react.element"),Fi=Symbol.for("react.transitional.element"),Ir=Symbol.for("react.portal"),Tc=Symbol.for("react.fragment"),Qa=Symbol.for("react.strict_mode"),Rd=Symbol.for("react.profiler"),Wp=Symbol.for("react.consumer"),Co=Symbol.for("react.context"),Ac=Symbol.for("react.forward_ref"),Fs=Symbol.for("react.suspense"),ai=Symbol.for("react.suspense_list"),Dd=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),Ro=Symbol.for("react.activity"),Dw=Symbol.for("react.memo_cache_sentinel"),m1=Symbol.iterator,Cc=Symbol.for("react.client.reference"),Nn=Array.isArray,st=Cd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ye=Rw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Mw=Object.freeze({pending:!1,data:null,method:null,action:null}),cy=[],fy=[],nr=-1,Jr=oe(null),Rc=oe(null),Di=oe(null),Fr=oe(null),Dc=0,g1,Ps,Mc,dy,Md,tm,em;Ht.__reactDisabledLog=!0;var zc,hy,nm=!1,py=new(typeof WeakMap=="function"?WeakMap:Map),ii=null,ml=!1,Mi=Object.prototype.hasOwnProperty,my=On.unstable_scheduleCallback,am=On.unstable_cancelCallback,im=On.unstable_shouldYield,om=On.unstable_requestPaint,ia=On.unstable_now,zd=On.unstable_getCurrentPriorityLevel,gy=On.unstable_ImmediatePriority,lm=On.unstable_UserBlockingPriority,Ws=On.unstable_NormalPriority,y1=On.unstable_LowPriority,rm=On.unstable_IdlePriority,yy=On.log,v1=On.unstable_setDisableYieldValue,tu=null,Gn=null,gl=!1,yl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ga=Math.clz32?Math.clz32:mr,vy=Math.log,sm=Math.LN2,Oc=256,Od=262144,_c=4194304,Xn=2,ya=8,Ca=32,Pr=268435456,Pi=Math.random().toString(36).slice(2),fn="__reactFiber$"+Pi,Za="__reactProps$"+Pi,ar="__reactContainer$"+Pi,eu="__reactEvents$"+Pi,zw="__reactListeners$"+Pi,b1="__reactHandles$"+Pi,_d="__reactResources$"+Pi,kc="__reactMarker$"+Pi,x1=new Set,vl={},jc={},S1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Uc=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]*$"),by={},um={},cm=/[\n"\\]/g,xy=!1,w1=!1,kd=!1,n=!1,o=!1,r=!1,f=["value","defaultValue"],g=!1,v=/["'&<>\n\t]|^\s|\s$/,C="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(" "),_="applet caption html table td th marquee object template foreignObject desc title".split(" "),V=_.concat(["button"]),nt="dd dt li option optgroup p rp rt".split(" "),ft={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},yt={},at={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"]},ut=/([A-Z])/g,Ut=/^ms-/,Pt=/^(?:webkit|moz|o)[A-Z]/,Pe=/^-ms-/,J=/-(.)/g,Q=/;\s*$/,tt={},pt={},Kt=!1,je=!1,Qt=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(" ")),ce="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",He=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"]]),Do={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"},E1={"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},fm={},f7=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]*$"),d7=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]*$"),W5=!1,zi={},tR=/^on./,h7=/^on[^A-Z]/,p7=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]*$"),m7=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]*$"),g7=/^[\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,Sy=null,dm=null,hm=null,Ow=!1,Wr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_w=!1;if(Wr)try{var wy={};Object.defineProperty(wy,"passive",{get:function(){_w=!0}}),window.addEventListener("test",wy,wy),window.removeEventListener("test",wy,wy)}catch{_w=!1}var Lc=null,kw=null,T1=null,jd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},A1=Fn(jd),Ey=ge({},jd,{view:0,detail:0}),y7=Fn(Ey),jw,Uw,Ty,C1=ge({},Ey,{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!==Ty&&(Ty&&t.type==="mousemove"?(jw=t.screenX-Ty.screenX,Uw=t.screenY-Ty.screenY):Uw=jw=0,Ty=t),jw)},movementY:function(t){return"movementY"in t?t.movementY:Uw}}),eR=Fn(C1),v7=ge({},C1,{dataTransfer:0}),b7=Fn(v7),x7=ge({},Ey,{relatedTarget:0}),Lw=Fn(x7),S7=ge({},jd,{animationName:0,elapsedTime:0,pseudoElement:0}),w7=Fn(S7),E7=ge({},jd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),T7=Fn(E7),A7=ge({},jd,{data:0}),nR=Fn(A7),C7=nR,R7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},D7={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"},M7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},z7=ge({},Ey,{key:function(t){if(t.key){var e=R7[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ef(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?D7[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"?Ef(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ef(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),O7=Fn(z7),_7=ge({},C1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),aR=Fn(_7),k7=ge({},Ey,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tf}),j7=Fn(k7),U7=ge({},jd,{propertyName:0,elapsedTime:0,pseudoElement:0}),L7=Fn(U7),N7=ge({},C1,{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}),H7=Fn(N7),V7=ge({},jd,{newState:0,oldState:0}),B7=Fn(V7),Y7=[9,13,27,32],iR=229,Nw=Wr&&"CompositionEvent"in window,Ay=null;Wr&&"documentMode"in document&&(Ay=document.documentMode);var q7=Wr&&"TextEvent"in window&&!Ay,oR=Wr&&(!Nw||Ay&&8<Ay&&11>=Ay),lR=32,rR=String.fromCharCode(lR),sR=!1,pm=!1,G7={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},Cy=null,Ry=null,uR=!1;Wr&&(uR=Uh("input")&&(!document.documentMode||9<document.documentMode));var Oi=typeof Object.is=="function"?Object.is:Lh,X7=Wr&&"documentMode"in document&&11>=document.documentMode,mm=null,Hw=null,Dy=null,Vw=!1,gm={animationend:gs("Animation","AnimationEnd"),animationiteration:gs("Animation","AnimationIteration"),animationstart:gs("Animation","AnimationStart"),transitionrun:gs("Transition","TransitionRun"),transitionstart:gs("Transition","TransitionStart"),transitioncancel:gs("Transition","TransitionCancel"),transitionend:gs("Transition","TransitionEnd")},Bw={},cR={};Wr&&(cR=document.createElement("div").style,"AnimationEvent"in window||(delete gm.animationend.animation,delete gm.animationiteration.animation,delete gm.animationstart.animation),"TransitionEvent"in window||delete gm.transitionend.transition);var fR=ys("animationend"),dR=ys("animationiteration"),hR=ys("animationstart"),Q7=ys("transitionrun"),Z7=ys("transitionstart"),$7=ys("transitioncancel"),pR=ys("transitionend"),mR=new Map,Yw="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(" ");Yw.push("scrollEnd");var gR=0;if(typeof performance=="object"&&typeof performance.now=="function")var K7=performance,yR=function(){return K7.now()};else{var I7=Date;yR=function(){return I7.now()}}var qw=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)},J7="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.",R1=0,Gw=1,Xw=2,Qw=3,D1="– ",M1="+ ",vR="  ",dn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",bl="Components ⚛",Me="Scheduler ⚛",Oe="Blocking",Nc=!1,nu={color:"primary",properties:null,tooltipText:"",track:bl},Hc={start:-0,end:-0,detail:{devtools:nu}},F7=["Changed Props",""],bR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",P7=["Changed Props",bR],My=1,au=2,xl=[],ym=0,Zw=0,Vc={};Object.freeze(Vc);var Sl=null,vm=null,ne=0,W7=1,ye=2,oi=8,ir=16,tL=32,xR=!1;try{var SR=Object.preventExtensions({})}catch{xR=!0}var $w=new WeakMap,bm=[],xm=0,z1=null,zy=0,wl=[],El=0,Ud=null,iu=1,ou="",$a=null,hn=null,De=!1,ts=!1,Mo=null,Bc=null,Tl=!1,Kw=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."),Iw=oe(null),Jw=oe(null),wR={},O1=null,Sm=null,wm=!1,eL=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,s){t.push(s)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},nL=On.unstable_scheduleCallback,aL=On.unstable_NormalPriority,oa={$$typeof:Co,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},la=On.unstable_now,_1=console.createTask?console.createTask:function(){return null},Oy=1,k1=2,Ra=-0,Yc=-0,lu=-0,ru=null,_i=-1.1,Ld=-0,En=-0,Ft=-1.1,te=-1.1,bn=null,_n=!1,Nd=-0,es=-1.1,_y=null,qc=0,Fw=null,Pw=null,Hd=-1.1,ky=null,Em=-1.1,j1=-1.1,su=-0,uu=-1.1,Al=-1.1,Ww=0,jy=null,ER=null,TR=null,Gc=-1.1,Vd=null,Xc=-1.1,U1=-1.1,AR=-0,CR=-0,L1=0,iL=null,RR=0,Uy=-1.1,N1=!1,H1=!1,Ly=null,t2=0,Bd=0,Tm=null,DR=st.S;st.S=function(t,e){if(ED=ia(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>uu&&0>Al){uu=la();var a=yc(),s=hl();(a!==Xc||s!==Vd)&&(Xc=-1.1),Gc=a,Vd=s}Bl(t,e)}DR!==null&&DR(t,e)};var Yd=oe(null),or={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ny=[],Hy=[],Vy=[],By=[],Yy=[],qy=[],qd=new Set;or.recordUnsafeLifecycleWarnings=function(t,e){qd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&Ny.push(t),t.mode&oi&&typeof e.UNSAFE_componentWillMount=="function"&&Hy.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Vy.push(t),t.mode&oi&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&By.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&Yy.push(t),t.mode&oi&&typeof e.UNSAFE_componentWillUpdate=="function"&&qy.push(t))},or.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<Ny.length&&(Ny.forEach(function(w){t.add(St(w)||"Component"),qd.add(w.type)}),Ny=[]);var e=new Set;0<Hy.length&&(Hy.forEach(function(w){e.add(St(w)||"Component"),qd.add(w.type)}),Hy=[]);var a=new Set;0<Vy.length&&(Vy.forEach(function(w){a.add(St(w)||"Component"),qd.add(w.type)}),Vy=[]);var s=new Set;0<By.length&&(By.forEach(function(w){s.add(St(w)||"Component"),qd.add(w.type)}),By=[]);var d=new Set;0<Yy.length&&(Yy.forEach(function(w){d.add(St(w)||"Component"),qd.add(w.type)}),Yy=[]);var h=new Set;if(0<qy.length&&(qy.forEach(function(w){h.add(St(w)||"Component"),qd.add(w.type)}),qy=[]),0<e.size){var b=A(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
 
@@ -233,14 +233,14 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,s)})}
233
233
 
234
234
  Check the render method of \``+d+"`."),h||s&&(h=`
235
235
 
236
- Check the top-level render call using <`+s+">.");var b="";a!=null&&t!==a&&(s=null,typeof a.tag=="number"?s=St(a):typeof a.name=="string"&&(s=a.name),s&&(b=" It was passed a child from "+s+".")),zt(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.',h,b)})}}};var Xd=Wn(!0),ZR=Wn(!1),$R=0,KR=1,IR=2,o2=3,Qc=!1,JR=!1,l2=null,r2=!1,Rm=oe(null),q1=oe(0),zo=oe(null),Cl=null,Dm=1,Qy=2,Qn=oe(0),G1=0,Rl=1,ki=2,Oo=4,ji=8,Mm,FR=new Set,PR=new Set,s2=new Set,WR=new Set,cu=0,re=null,an=null,ra=null,X1=!1,zm=!1,Qd=!1,Q1=0,Zy=0,fu=null,uL=0,cL=25,lt=null,Dl=null,du=-1,$y=!1,Ky={readContext:Ve,use:Xl,useCallback:Sn,useContext:Sn,useEffect:Sn,useImperativeHandle:Sn,useLayoutEffect:Sn,useInsertionEffect:Sn,useMemo:Sn,useReducer:Sn,useRef:Sn,useState:Sn,useDebugValue:Sn,useDeferredValue:Sn,useTransition:Sn,useSyncExternalStore:Sn,useId:Sn,useHostTransitionStatus:Sn,useFormState:Sn,useActionState:Sn,useOptimistic:Sn,useMemoCache:Sn,useCacheRefresh:Sn};Ky.useEffectEvent=Sn;var u2=null,tD=null,c2=null,eD=null,ns=null,lr=null,Z1=null;u2={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",le(),Gl(e),ap(t,e)},useContext:function(t){return lt="useContext",le(),Ve(t)},useEffect:function(t,e){return lt="useEffect",le(),Gl(e),js(t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",le(),Gl(a),el(t,e,a)},useInsertionEffect:function(t,e){lt="useInsertionEffect",le(),Gl(e),Nr(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",le(),Gl(e),Na(t,e)},useMemo:function(t,e){lt="useMemo",le(),Gl(e);var a=st.H;st.H=ns;try{return Ha(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",le();var s=st.H;st.H=ns;try{return $u(t,e,a)}finally{st.H=s}},useRef:function(t){return lt="useRef",le(),np(t)},useState:function(t){lt="useState",le();var e=st.H;st.H=ns;try{return kr(t)}finally{st.H=e}},useDebugValue:function(){lt="useDebugValue",le()},useDeferredValue:function(t,e){return lt="useDeferredValue",le(),Pu(t,e)},useTransition:function(){return lt="useTransition",le(),Hr()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",le(),Ku(t,e,a)},useId:function(){return lt="useId",le(),Kf()},useFormState:function(t,e){return lt="useFormState",le(),Nf(),Si(t,e)},useActionState:function(t,e){return lt="useActionState",le(),Si(t,e)},useOptimistic:function(t){return lt="useOptimistic",le(),ks(t)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",le(),ip()},useEffectEvent:function(t){return lt="useEffectEvent",le(),Zf(t)}},tD={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",yt(),ap(t,e)},useContext:function(t){return lt="useContext",yt(),Ve(t)},useEffect:function(t,e){return lt="useEffect",yt(),js(t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",yt(),el(t,e,a)},useInsertionEffect:function(t,e){lt="useInsertionEffect",yt(),Nr(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",yt(),Na(t,e)},useMemo:function(t,e){lt="useMemo",yt();var a=st.H;st.H=ns;try{return Ha(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",yt();var s=st.H;st.H=ns;try{return $u(t,e,a)}finally{st.H=s}},useRef:function(t){return lt="useRef",yt(),np(t)},useState:function(t){lt="useState",yt();var e=st.H;st.H=ns;try{return kr(t)}finally{st.H=e}},useDebugValue:function(){lt="useDebugValue",yt()},useDeferredValue:function(t,e){return lt="useDeferredValue",yt(),Pu(t,e)},useTransition:function(){return lt="useTransition",yt(),Hr()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",yt(),Ku(t,e,a)},useId:function(){return lt="useId",yt(),Kf()},useActionState:function(t,e){return lt="useActionState",yt(),Si(t,e)},useFormState:function(t,e){return lt="useFormState",yt(),Nf(),Si(t,e)},useOptimistic:function(t){return lt="useOptimistic",yt(),ks(t)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",yt(),ip()},useEffectEvent:function(t){return lt="useEffectEvent",yt(),Zf(t)}},c2={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",yt(),yo(t,e)},useContext:function(t){return lt="useContext",yt(),Ve(t)},useEffect:function(t,e){lt="useEffect",yt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",yt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",yt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",yt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",yt();var a=st.H;st.H=lr;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",yt();var s=st.H;st.H=lr;try{return zs(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",yt(),Ge().memoizedState},useState:function(){lt="useState",yt();var t=st.H;st.H=lr;try{return zs(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",yt()},useDeferredValue:function(t,e){return lt="useDeferredValue",yt(),nl(t,e)},useTransition:function(){return lt="useTransition",yt(),Sb()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",yt(),_s(t,e,a)},useId:function(){return lt="useId",yt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",yt(),Nf(),Ur(t)},useActionState:function(t){return lt="useActionState",yt(),Ur(t)},useOptimistic:function(t,e){return lt="useOptimistic",yt(),Gf(t,e)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",yt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",yt(),Ju(t)}},eD={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",yt(),yo(t,e)},useContext:function(t){return lt="useContext",yt(),Ve(t)},useEffect:function(t,e){lt="useEffect",yt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",yt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",yt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",yt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",yt();var a=st.H;st.H=Z1;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",yt();var s=st.H;st.H=Z1;try{return Os(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",yt(),Ge().memoizedState},useState:function(){lt="useState",yt();var t=st.H;st.H=Z1;try{return Os(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",yt()},useDeferredValue:function(t,e){return lt="useDeferredValue",yt(),fe(t,e)},useTransition:function(){return lt="useTransition",yt(),gn()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",yt(),_s(t,e,a)},useId:function(){return lt="useId",yt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",yt(),Nf(),Lr(t)},useActionState:function(t){return lt="useActionState",yt(),Lr(t)},useOptimistic:function(t,e){return lt="useOptimistic",yt(),Xf(t,e)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",yt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",yt(),Ju(t)}},ns={readContext:function(t){return S(),Ve(t)},use:function(t){return x(),Xl(t)},useCallback:function(t,e){return lt="useCallback",x(),le(),ap(t,e)},useContext:function(t){return lt="useContext",x(),le(),Ve(t)},useEffect:function(t,e){return lt="useEffect",x(),le(),js(t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",x(),le(),el(t,e,a)},useInsertionEffect:function(t,e){lt="useInsertionEffect",x(),le(),Nr(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",x(),le(),Na(t,e)},useMemo:function(t,e){lt="useMemo",x(),le();var a=st.H;st.H=ns;try{return Ha(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",x(),le();var s=st.H;st.H=ns;try{return $u(t,e,a)}finally{st.H=s}},useRef:function(t){return lt="useRef",x(),le(),np(t)},useState:function(t){lt="useState",x(),le();var e=st.H;st.H=ns;try{return kr(t)}finally{st.H=e}},useDebugValue:function(){lt="useDebugValue",x(),le()},useDeferredValue:function(t,e){return lt="useDeferredValue",x(),le(),Pu(t,e)},useTransition:function(){return lt="useTransition",x(),le(),Hr()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",x(),le(),Ku(t,e,a)},useId:function(){return lt="useId",x(),le(),Kf()},useFormState:function(t,e){return lt="useFormState",x(),le(),Si(t,e)},useActionState:function(t,e){return lt="useActionState",x(),le(),Si(t,e)},useOptimistic:function(t){return lt="useOptimistic",x(),le(),ks(t)},useMemoCache:function(t){return x(),bi(t)},useHostTransitionStatus:Kl,useCacheRefresh:function(){return lt="useCacheRefresh",le(),ip()},useEffectEvent:function(t){return lt="useEffectEvent",x(),le(),Zf(t)}},lr={readContext:function(t){return S(),Ve(t)},use:function(t){return x(),Xl(t)},useCallback:function(t,e){return lt="useCallback",x(),yt(),yo(t,e)},useContext:function(t){return lt="useContext",x(),yt(),Ve(t)},useEffect:function(t,e){lt="useEffect",x(),yt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",x(),yt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",x(),yt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",x(),yt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",x(),yt();var a=st.H;st.H=lr;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",x(),yt();var s=st.H;st.H=lr;try{return zs(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",x(),yt(),Ge().memoizedState},useState:function(){lt="useState",x(),yt();var t=st.H;st.H=lr;try{return zs(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",x(),yt()},useDeferredValue:function(t,e){return lt="useDeferredValue",x(),yt(),nl(t,e)},useTransition:function(){return lt="useTransition",x(),yt(),Sb()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",x(),yt(),_s(t,e,a)},useId:function(){return lt="useId",x(),yt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",x(),yt(),Ur(t)},useActionState:function(t){return lt="useActionState",x(),yt(),Ur(t)},useOptimistic:function(t,e){return lt="useOptimistic",x(),yt(),Gf(t,e)},useMemoCache:function(t){return x(),bi(t)},useHostTransitionStatus:Kl,useCacheRefresh:function(){return lt="useCacheRefresh",yt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",x(),yt(),Ju(t)}},Z1={readContext:function(t){return S(),Ve(t)},use:function(t){return x(),Xl(t)},useCallback:function(t,e){return lt="useCallback",x(),yt(),yo(t,e)},useContext:function(t){return lt="useContext",x(),yt(),Ve(t)},useEffect:function(t,e){lt="useEffect",x(),yt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",x(),yt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",x(),yt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",x(),yt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",x(),yt();var a=st.H;st.H=lr;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",x(),yt();var s=st.H;st.H=lr;try{return Os(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",x(),yt(),Ge().memoizedState},useState:function(){lt="useState",x(),yt();var t=st.H;st.H=lr;try{return Os(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",x(),yt()},useDeferredValue:function(t,e){return lt="useDeferredValue",x(),yt(),fe(t,e)},useTransition:function(){return lt="useTransition",x(),yt(),gn()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",x(),yt(),_s(t,e,a)},useId:function(){return lt="useId",x(),yt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",x(),yt(),Lr(t)},useActionState:function(t){return lt="useActionState",x(),yt(),Lr(t)},useOptimistic:function(t,e){return lt="useOptimistic",x(),yt(),Xf(t,e)},useMemoCache:function(t){return x(),bi(t)},useHostTransitionStatus:Kl,useCacheRefresh:function(){return lt="useCacheRefresh",yt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",x(),yt(),Ju(t)}};var nD={},aD=new Set,iD=new Set,oD=new Set,lD=new Set,rD=new Set,sD=new Set,uD=new Set,cD=new Set,fD=new Set,dD=new Set;Object.freeze(nD);var f2={enqueueSetState:function(t,e,a){t=t._reactInternals;var s=Ta(t),d=Bn(s);d.payload=e,a!=null&&(Hs(a),d.callback=a),e=Fo(t,d,s),e!==null&&(Ko(s,"this.setState()",t),ie(e,t,s),$i(e,t,s))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var s=Ta(t),d=Bn(s);d.tag=KR,d.payload=e,a!=null&&(Hs(a),d.callback=a),e=Fo(t,d,s),e!==null&&(Ko(s,"this.replaceState()",t),ie(e,t,s),$i(e,t,s))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Ta(t),s=Bn(a);s.tag=IR,e!=null&&(Hs(e),s.callback=e),e=Fo(t,s,a),e!==null&&(Ko(a,"this.forceUpdate()",t),ie(e,t,a),$i(e,t,a))}},Om=null,d2=null,h2=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."),sa=!1,hD={},pD={},mD={},gD={},_m=!1,yD={},$1={},p2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},vD=!1,bD=null;bD=new Set;var hu=!1,ua=!1,m2=!1,xD=typeof WeakSet=="function"?WeakSet:Set,Da=null,km=null,jm=null,ca=null,Wi=!1,rr=null,va=!1,Iy=8192,fL={getCacheForType:function(t){var e=Ve(oa),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return Ve(oa).controller.signal},getOwner:function(){return ii}};if(typeof Symbol=="function"&&Symbol.for){var Jy=Symbol.for;Jy("selector.component"),Jy("selector.has_pseudo_class"),Jy("selector.role"),Jy("selector.test_id"),Jy("selector.text")}var dL=[],hL=typeof WeakMap=="function"?WeakMap:Map,Ma=0,ba=2,_o=4,pu=0,Fy=1,Zd=2,K1=3,Zc=4,I1=6,SD=5,Ue=Ma,on=null,we=null,be=0,to=0,J1=1,$d=2,Py=3,wD=4,g2=5,Wy=6,F1=7,y2=8,Kd=9,We=to,ko=null,$c=!1,Um=!1,v2=!1,as=0,Tn=pu,Kc=0,Ic=0,b2=0,eo=0,Id=0,tv=null,Ui=null,P1=!1,W1=0,ED=0,TD=300,tx=1/0,AD=500,ev=null,Hn=null,Jc=null,ex=0,x2=1,S2=2,CD=3,Fc=0,RD=1,DD=2,MD=3,zD=4,nx=5,fa=0,Pc=null,Lm=null,sr=0,w2=0,E2=-0,T2=null,OD=null,_D=null,ur=ex,kD=null,pL=50,nv=0,A2=null,C2=!1,ax=!1,mL=50,Jd=0,av=null,Nm=!1,ix=null,jD=!1,UD=new Set,gL={},ox=null,Hm=null,R2=!1,D2=!1,lx=!1,M2=!1,Wc=0,z2={};(function(){for(var t=0;t<Yw.length;t++){var e=Yw[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),lo(a,"on"+e)}lo(fR,"onAnimationEnd"),lo(dR,"onAnimationIteration"),lo(hR,"onAnimationStart"),lo("dblclick","onDoubleClick"),lo("focusin","onFocus"),lo("focusout","onBlur"),lo(Q7,"onTransitionRun"),lo(Z7,"onTransitionStart"),lo($7,"onTransitionCancel"),lo(pR,"onTransitionEnd")})(),ue("onMouseEnter",["mouseout","mouseover"]),ue("onMouseLeave",["mouseout","mouseover"]),ue("onPointerEnter",["pointerout","pointerover"]),ue("onPointerLeave",["pointerout","pointerover"]),xe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),xe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var iv="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(" "),O2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(iv)),rx="_reactListening"+Math.random().toString(36).slice(2),LD=!1,ND=!1,sx=!1,HD=!1,ux=!1,cx=!1,VD=!1,fx={},yL=/\r\n?/g,vL=/\u0000|\uFFFD/g,Fd="http://www.w3.org/1999/xlink",_2="http://www.w3.org/XML/1998/namespace",bL="javascript:throw new Error('React form unexpectedly submitted.')",xL="suppressHydrationWarning",Pd="&",dx="/&",ov="$",lv="/$",tf="$?",Wd="$~",Vm="$!",SL="html",wL="body",EL="head",k2="F!",BD="F",YD="loading",TL="style",mu=0,Bm=1,hx=2,j2=null,U2=null,qD={dialog:!0,webview:!0},L2=null,rv=void 0,GD=typeof setTimeout=="function"?setTimeout:void 0,AL=typeof clearTimeout=="function"?clearTimeout:void 0,th=-1,XD=typeof Promise=="function"?Promise:void 0,CL=typeof queueMicrotask=="function"?queueMicrotask:typeof XD<"u"?function(t){return XD.resolve(null).then(t).catch(Gb)}:GD,N2=null,eh=0,sv=1,QD=2,ZD=3,Ml=4,zl=new Map,$D=new Set,gu=Ye.d;Ye.d={f:function(){var t=gu.f(),e=Ci();return t||e},r:function(t){var e=At(t);e!==null&&e.tag===5&&e.type==="form"?Wu(e):gu.r(t)},D:function(t){gu.D(t),I0("dns-prefetch",t,null)},C:function(t,e){gu.C(t,e),I0("preconnect",t,e)},L:function(t,e,a){gu.L(t,e,a);var s=Ym;if(s&&t&&e){var d='link[rel="preload"][as="'+Ke(e)+'"]';e==="image"&&a&&a.imageSrcSet?(d+='[imagesrcset="'+Ke(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(d+='[imagesizes="'+Ke(a.imageSizes)+'"]')):d+='[href="'+Ke(t)+'"]';var h=d;switch(e){case"style":h=Ks(t);break;case"script":h=Is(t)}zl.has(h)||(t=ge({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),zl.set(h,t),s.querySelector(d)!==null||e==="style"&&s.querySelector(xd(h))||e==="script"&&s.querySelector(Sd(h))||(e=s.createElement("link"),cn(e,"link",t),Xt(e),s.head.appendChild(e)))}},m:function(t,e){gu.m(t,e);var a=Ym;if(a&&t){var s=e&&typeof e.as=="string"?e.as:"script",d='link[rel="modulepreload"][as="'+Ke(s)+'"][href="'+Ke(t)+'"]',h=d;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Is(t)}if(!zl.has(h)&&(t=ge({rel:"modulepreload",href:t},e),zl.set(h,t),a.querySelector(d)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Sd(h)))return}s=a.createElement("link"),cn(s,"link",t),Xt(s),a.head.appendChild(s)}}},X:function(t,e){gu.X(t,e);var a=Ym;if(a&&t){var s=Wt(a).hoistableScripts,d=Is(t),h=s.get(d);h||(h=a.querySelector(Sd(d)),h||(t=ge({src:t,async:!0},e),(e=zl.get(d))&&P0(t,e),h=a.createElement("script"),Xt(h),cn(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(d,h))}},S:function(t,e,a){gu.S(t,e,a);var s=Ym;if(s&&t){var d=Wt(s).hoistableStyles,h=Ks(t);e=e||"default";var b=d.get(h);if(!b){var w={loading:eh,preload:null};if(b=s.querySelector(xd(h)))w.loading=sv|Ml;else{t=ge({rel:"stylesheet",href:t,"data-precedence":e},a),(a=zl.get(h))&&F0(t,a);var D=b=s.createElement("link");Xt(D),cn(D,"link",t),D._p=new Promise(function(M,G){D.onload=M,D.onerror=G}),D.addEventListener("load",function(){w.loading|=sv}),D.addEventListener("error",function(){w.loading|=QD}),w.loading|=Ml,xc(b,e,s)}b={type:"stylesheet",instance:b,count:1,state:w},d.set(h,b)}}},M:function(t,e){gu.M(t,e);var a=Ym;if(a&&t){var s=Wt(a).hoistableScripts,d=Is(t),h=s.get(d);h||(h=a.querySelector(Sd(d)),h||(t=ge({src:t,async:!0,type:"module"},e),(e=zl.get(d))&&P0(t,e),h=a.createElement("script"),Xt(h),cn(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(d,h))}}};var Ym=typeof document>"u"?null:document,px=null,RL=6e4,DL=800,ML=500,H2=0,V2=null,mx=null,nh=Mw,uv={$$typeof:Co,Provider:null,Consumer:null,_currentValue:nh,_currentValue2:nh,_threadCount:0},KD="%c%s%c",ID="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",JD="",gx=" ",zL=Function.prototype.bind,FD=!1,PD=null,WD=null,tM=null,eM=null,nM=null,aM=null,iM=null,oM=null,lM=null,rM=null;PD=function(t,e,a,s){e=i(t,e),e!==null&&(a=l(e.memoizedState,a,0,s),e.memoizedState=a,e.baseState=a,t.memoizedProps=ge({},t.memoizedProps),a=wa(t,2),a!==null&&ie(a,t,2))},WD=function(t,e,a){e=i(t,e),e!==null&&(a=p(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=ge({},t.memoizedProps),a=wa(t,2),a!==null&&ie(a,t,2))},tM=function(t,e,a,s){e=i(t,e),e!==null&&(a=u(e.memoizedState,a,s),e.memoizedState=a,e.baseState=a,t.memoizedProps=ge({},t.memoizedProps),a=wa(t,2),a!==null&&ie(a,t,2))},eM=function(t,e,a){t.pendingProps=l(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=wa(t,2),e!==null&&ie(e,t,2)},nM=function(t,e){t.pendingProps=p(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=wa(t,2),e!==null&&ie(e,t,2)},aM=function(t,e,a){t.pendingProps=u(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=wa(t,2),e!==null&&ie(e,t,2)},iM=function(t){var e=wa(t,2);e!==null&&ie(e,t,2)},oM=function(t){var e=Au(),a=wa(t,e);a!==null&&ie(a,t,e)},lM=function(t){y=t},rM=function(t){m=t};var yx=!0,vx=null,B2=!1,ef=null,nf=null,af=null,cv=new Map,fv=new Map,of=[],OL="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(" "),bx=null;if(Ao.prototype.render=sy.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()."):q(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 s=e.current,d=Ta(s);Kp(s,d,a,e,null,null)},Ao.prototype.unmount=sy.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;(Ue&(ba|_o))!==Ma&&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."),Kp(t.current,2,null,t,null,null),Ci(),e[ar]=null}},Ao.prototype.unstable_scheduleHydration=function(t){if(t){var e=gr();t={blockedOn:null,target:t,priority:e};for(var a=0;a<of.length&&e!==0&&e<of[a].priority;a++);of.splice(a,0,t),a===0&&ry(t)}},(function(){var t=Cd.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 <`+s+">.");var b="";a!=null&&t!==a&&(s=null,typeof a.tag=="number"?s=St(a):typeof a.name=="string"&&(s=a.name),s&&(b=" It was passed a child from "+s+".")),zt(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.',h,b)})}}};var Xd=Wn(!0),ZR=Wn(!1),$R=0,KR=1,IR=2,o2=3,Qc=!1,JR=!1,l2=null,r2=!1,Rm=oe(null),q1=oe(0),zo=oe(null),Cl=null,Dm=1,Qy=2,Qn=oe(0),G1=0,Rl=1,ki=2,Oo=4,ji=8,Mm,FR=new Set,PR=new Set,s2=new Set,WR=new Set,cu=0,re=null,an=null,ra=null,X1=!1,zm=!1,Qd=!1,Q1=0,Zy=0,fu=null,uL=0,cL=25,lt=null,Dl=null,du=-1,$y=!1,Ky={readContext:Ve,use:Xl,useCallback:Sn,useContext:Sn,useEffect:Sn,useImperativeHandle:Sn,useLayoutEffect:Sn,useInsertionEffect:Sn,useMemo:Sn,useReducer:Sn,useRef:Sn,useState:Sn,useDebugValue:Sn,useDeferredValue:Sn,useTransition:Sn,useSyncExternalStore:Sn,useId:Sn,useHostTransitionStatus:Sn,useFormState:Sn,useActionState:Sn,useOptimistic:Sn,useMemoCache:Sn,useCacheRefresh:Sn};Ky.useEffectEvent=Sn;var u2=null,tD=null,c2=null,eD=null,ns=null,lr=null,Z1=null;u2={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",le(),Gl(e),ap(t,e)},useContext:function(t){return lt="useContext",le(),Ve(t)},useEffect:function(t,e){return lt="useEffect",le(),Gl(e),js(t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",le(),Gl(a),el(t,e,a)},useInsertionEffect:function(t,e){lt="useInsertionEffect",le(),Gl(e),Nr(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",le(),Gl(e),Na(t,e)},useMemo:function(t,e){lt="useMemo",le(),Gl(e);var a=st.H;st.H=ns;try{return Ha(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",le();var s=st.H;st.H=ns;try{return $u(t,e,a)}finally{st.H=s}},useRef:function(t){return lt="useRef",le(),np(t)},useState:function(t){lt="useState",le();var e=st.H;st.H=ns;try{return kr(t)}finally{st.H=e}},useDebugValue:function(){lt="useDebugValue",le()},useDeferredValue:function(t,e){return lt="useDeferredValue",le(),Pu(t,e)},useTransition:function(){return lt="useTransition",le(),Hr()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",le(),Ku(t,e,a)},useId:function(){return lt="useId",le(),Kf()},useFormState:function(t,e){return lt="useFormState",le(),Nf(),Si(t,e)},useActionState:function(t,e){return lt="useActionState",le(),Si(t,e)},useOptimistic:function(t){return lt="useOptimistic",le(),ks(t)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",le(),ip()},useEffectEvent:function(t){return lt="useEffectEvent",le(),Zf(t)}},tD={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",vt(),ap(t,e)},useContext:function(t){return lt="useContext",vt(),Ve(t)},useEffect:function(t,e){return lt="useEffect",vt(),js(t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",vt(),el(t,e,a)},useInsertionEffect:function(t,e){lt="useInsertionEffect",vt(),Nr(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",vt(),Na(t,e)},useMemo:function(t,e){lt="useMemo",vt();var a=st.H;st.H=ns;try{return Ha(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",vt();var s=st.H;st.H=ns;try{return $u(t,e,a)}finally{st.H=s}},useRef:function(t){return lt="useRef",vt(),np(t)},useState:function(t){lt="useState",vt();var e=st.H;st.H=ns;try{return kr(t)}finally{st.H=e}},useDebugValue:function(){lt="useDebugValue",vt()},useDeferredValue:function(t,e){return lt="useDeferredValue",vt(),Pu(t,e)},useTransition:function(){return lt="useTransition",vt(),Hr()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",vt(),Ku(t,e,a)},useId:function(){return lt="useId",vt(),Kf()},useActionState:function(t,e){return lt="useActionState",vt(),Si(t,e)},useFormState:function(t,e){return lt="useFormState",vt(),Nf(),Si(t,e)},useOptimistic:function(t){return lt="useOptimistic",vt(),ks(t)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",vt(),ip()},useEffectEvent:function(t){return lt="useEffectEvent",vt(),Zf(t)}},c2={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",vt(),yo(t,e)},useContext:function(t){return lt="useContext",vt(),Ve(t)},useEffect:function(t,e){lt="useEffect",vt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",vt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",vt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",vt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",vt();var a=st.H;st.H=lr;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",vt();var s=st.H;st.H=lr;try{return zs(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",vt(),Ge().memoizedState},useState:function(){lt="useState",vt();var t=st.H;st.H=lr;try{return zs(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",vt()},useDeferredValue:function(t,e){return lt="useDeferredValue",vt(),nl(t,e)},useTransition:function(){return lt="useTransition",vt(),Sb()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",vt(),_s(t,e,a)},useId:function(){return lt="useId",vt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",vt(),Nf(),Ur(t)},useActionState:function(t){return lt="useActionState",vt(),Ur(t)},useOptimistic:function(t,e){return lt="useOptimistic",vt(),Gf(t,e)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",vt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",vt(),Ju(t)}},eD={readContext:function(t){return Ve(t)},use:Xl,useCallback:function(t,e){return lt="useCallback",vt(),yo(t,e)},useContext:function(t){return lt="useContext",vt(),Ve(t)},useEffect:function(t,e){lt="useEffect",vt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",vt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",vt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",vt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",vt();var a=st.H;st.H=Z1;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",vt();var s=st.H;st.H=Z1;try{return Os(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",vt(),Ge().memoizedState},useState:function(){lt="useState",vt();var t=st.H;st.H=Z1;try{return Os(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",vt()},useDeferredValue:function(t,e){return lt="useDeferredValue",vt(),fe(t,e)},useTransition:function(){return lt="useTransition",vt(),gn()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",vt(),_s(t,e,a)},useId:function(){return lt="useId",vt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",vt(),Nf(),Lr(t)},useActionState:function(t){return lt="useActionState",vt(),Lr(t)},useOptimistic:function(t,e){return lt="useOptimistic",vt(),Xf(t,e)},useHostTransitionStatus:Kl,useMemoCache:bi,useCacheRefresh:function(){return lt="useCacheRefresh",vt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",vt(),Ju(t)}},ns={readContext:function(t){return S(),Ve(t)},use:function(t){return x(),Xl(t)},useCallback:function(t,e){return lt="useCallback",x(),le(),ap(t,e)},useContext:function(t){return lt="useContext",x(),le(),Ve(t)},useEffect:function(t,e){return lt="useEffect",x(),le(),js(t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",x(),le(),el(t,e,a)},useInsertionEffect:function(t,e){lt="useInsertionEffect",x(),le(),Nr(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",x(),le(),Na(t,e)},useMemo:function(t,e){lt="useMemo",x(),le();var a=st.H;st.H=ns;try{return Ha(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",x(),le();var s=st.H;st.H=ns;try{return $u(t,e,a)}finally{st.H=s}},useRef:function(t){return lt="useRef",x(),le(),np(t)},useState:function(t){lt="useState",x(),le();var e=st.H;st.H=ns;try{return kr(t)}finally{st.H=e}},useDebugValue:function(){lt="useDebugValue",x(),le()},useDeferredValue:function(t,e){return lt="useDeferredValue",x(),le(),Pu(t,e)},useTransition:function(){return lt="useTransition",x(),le(),Hr()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",x(),le(),Ku(t,e,a)},useId:function(){return lt="useId",x(),le(),Kf()},useFormState:function(t,e){return lt="useFormState",x(),le(),Si(t,e)},useActionState:function(t,e){return lt="useActionState",x(),le(),Si(t,e)},useOptimistic:function(t){return lt="useOptimistic",x(),le(),ks(t)},useMemoCache:function(t){return x(),bi(t)},useHostTransitionStatus:Kl,useCacheRefresh:function(){return lt="useCacheRefresh",le(),ip()},useEffectEvent:function(t){return lt="useEffectEvent",x(),le(),Zf(t)}},lr={readContext:function(t){return S(),Ve(t)},use:function(t){return x(),Xl(t)},useCallback:function(t,e){return lt="useCallback",x(),vt(),yo(t,e)},useContext:function(t){return lt="useContext",x(),vt(),Ve(t)},useEffect:function(t,e){lt="useEffect",x(),vt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",x(),vt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",x(),vt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",x(),vt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",x(),vt();var a=st.H;st.H=lr;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",x(),vt();var s=st.H;st.H=lr;try{return zs(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",x(),vt(),Ge().memoizedState},useState:function(){lt="useState",x(),vt();var t=st.H;st.H=lr;try{return zs(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",x(),vt()},useDeferredValue:function(t,e){return lt="useDeferredValue",x(),vt(),nl(t,e)},useTransition:function(){return lt="useTransition",x(),vt(),Sb()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",x(),vt(),_s(t,e,a)},useId:function(){return lt="useId",x(),vt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",x(),vt(),Ur(t)},useActionState:function(t){return lt="useActionState",x(),vt(),Ur(t)},useOptimistic:function(t,e){return lt="useOptimistic",x(),vt(),Gf(t,e)},useMemoCache:function(t){return x(),bi(t)},useHostTransitionStatus:Kl,useCacheRefresh:function(){return lt="useCacheRefresh",vt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",x(),vt(),Ju(t)}},Z1={readContext:function(t){return S(),Ve(t)},use:function(t){return x(),Xl(t)},useCallback:function(t,e){return lt="useCallback",x(),vt(),yo(t,e)},useContext:function(t){return lt="useContext",x(),vt(),Ve(t)},useEffect:function(t,e){lt="useEffect",x(),vt(),Yn(2048,ji,t,e)},useImperativeHandle:function(t,e,a){return lt="useImperativeHandle",x(),vt(),Fu(t,e,a)},useInsertionEffect:function(t,e){return lt="useInsertionEffect",x(),vt(),Yn(4,ki,t,e)},useLayoutEffect:function(t,e){return lt="useLayoutEffect",x(),vt(),Yn(4,Oo,t,e)},useMemo:function(t,e){lt="useMemo",x(),vt();var a=st.H;st.H=lr;try{return un(t,e)}finally{st.H=a}},useReducer:function(t,e,a){lt="useReducer",x(),vt();var s=st.H;st.H=lr;try{return Os(t,e,a)}finally{st.H=s}},useRef:function(){return lt="useRef",x(),vt(),Ge().memoizedState},useState:function(){lt="useState",x(),vt();var t=st.H;st.H=lr;try{return Os(xi)}finally{st.H=t}},useDebugValue:function(){lt="useDebugValue",x(),vt()},useDeferredValue:function(t,e){return lt="useDeferredValue",x(),vt(),fe(t,e)},useTransition:function(){return lt="useTransition",x(),vt(),gn()},useSyncExternalStore:function(t,e,a){return lt="useSyncExternalStore",x(),vt(),_s(t,e,a)},useId:function(){return lt="useId",x(),vt(),Ge().memoizedState},useFormState:function(t){return lt="useFormState",x(),vt(),Lr(t)},useActionState:function(t){return lt="useActionState",x(),vt(),Lr(t)},useOptimistic:function(t,e){return lt="useOptimistic",x(),vt(),Xf(t,e)},useMemoCache:function(t){return x(),bi(t)},useHostTransitionStatus:Kl,useCacheRefresh:function(){return lt="useCacheRefresh",vt(),Ge().memoizedState},useEffectEvent:function(t){return lt="useEffectEvent",x(),vt(),Ju(t)}};var nD={},aD=new Set,iD=new Set,oD=new Set,lD=new Set,rD=new Set,sD=new Set,uD=new Set,cD=new Set,fD=new Set,dD=new Set;Object.freeze(nD);var f2={enqueueSetState:function(t,e,a){t=t._reactInternals;var s=Ta(t),d=Bn(s);d.payload=e,a!=null&&(Hs(a),d.callback=a),e=Fo(t,d,s),e!==null&&(Ko(s,"this.setState()",t),ie(e,t,s),$i(e,t,s))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var s=Ta(t),d=Bn(s);d.tag=KR,d.payload=e,a!=null&&(Hs(a),d.callback=a),e=Fo(t,d,s),e!==null&&(Ko(s,"this.replaceState()",t),ie(e,t,s),$i(e,t,s))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Ta(t),s=Bn(a);s.tag=IR,e!=null&&(Hs(e),s.callback=e),e=Fo(t,s,a),e!==null&&(Ko(a,"this.forceUpdate()",t),ie(e,t,a),$i(e,t,a))}},Om=null,d2=null,h2=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."),sa=!1,hD={},pD={},mD={},gD={},_m=!1,yD={},$1={},p2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},vD=!1,bD=null;bD=new Set;var hu=!1,ua=!1,m2=!1,xD=typeof WeakSet=="function"?WeakSet:Set,Da=null,km=null,jm=null,ca=null,Wi=!1,rr=null,va=!1,Iy=8192,fL={getCacheForType:function(t){var e=Ve(oa),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return Ve(oa).controller.signal},getOwner:function(){return ii}};if(typeof Symbol=="function"&&Symbol.for){var Jy=Symbol.for;Jy("selector.component"),Jy("selector.has_pseudo_class"),Jy("selector.role"),Jy("selector.test_id"),Jy("selector.text")}var dL=[],hL=typeof WeakMap=="function"?WeakMap:Map,Ma=0,ba=2,_o=4,pu=0,Fy=1,Zd=2,K1=3,Zc=4,I1=6,SD=5,Ue=Ma,on=null,we=null,be=0,to=0,J1=1,$d=2,Py=3,wD=4,g2=5,Wy=6,F1=7,y2=8,Kd=9,We=to,ko=null,$c=!1,Um=!1,v2=!1,as=0,Tn=pu,Kc=0,Ic=0,b2=0,eo=0,Id=0,tv=null,Ui=null,P1=!1,W1=0,ED=0,TD=300,tx=1/0,AD=500,ev=null,Hn=null,Jc=null,ex=0,x2=1,S2=2,CD=3,Fc=0,RD=1,DD=2,MD=3,zD=4,nx=5,fa=0,Pc=null,Lm=null,sr=0,w2=0,E2=-0,T2=null,OD=null,_D=null,ur=ex,kD=null,pL=50,nv=0,A2=null,C2=!1,ax=!1,mL=50,Jd=0,av=null,Nm=!1,ix=null,jD=!1,UD=new Set,gL={},ox=null,Hm=null,R2=!1,D2=!1,lx=!1,M2=!1,Wc=0,z2={};(function(){for(var t=0;t<Yw.length;t++){var e=Yw[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),lo(a,"on"+e)}lo(fR,"onAnimationEnd"),lo(dR,"onAnimationIteration"),lo(hR,"onAnimationStart"),lo("dblclick","onDoubleClick"),lo("focusin","onFocus"),lo("focusout","onBlur"),lo(Q7,"onTransitionRun"),lo(Z7,"onTransitionStart"),lo($7,"onTransitionCancel"),lo(pR,"onTransitionEnd")})(),ue("onMouseEnter",["mouseout","mouseover"]),ue("onMouseLeave",["mouseout","mouseover"]),ue("onPointerEnter",["pointerout","pointerover"]),ue("onPointerLeave",["pointerout","pointerover"]),xe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),xe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var iv="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(" "),O2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(iv)),rx="_reactListening"+Math.random().toString(36).slice(2),LD=!1,ND=!1,sx=!1,HD=!1,ux=!1,cx=!1,VD=!1,fx={},yL=/\r\n?/g,vL=/\u0000|\uFFFD/g,Fd="http://www.w3.org/1999/xlink",_2="http://www.w3.org/XML/1998/namespace",bL="javascript:throw new Error('React form unexpectedly submitted.')",xL="suppressHydrationWarning",Pd="&",dx="/&",ov="$",lv="/$",tf="$?",Wd="$~",Vm="$!",SL="html",wL="body",EL="head",k2="F!",BD="F",YD="loading",TL="style",mu=0,Bm=1,hx=2,j2=null,U2=null,qD={dialog:!0,webview:!0},L2=null,rv=void 0,GD=typeof setTimeout=="function"?setTimeout:void 0,AL=typeof clearTimeout=="function"?clearTimeout:void 0,th=-1,XD=typeof Promise=="function"?Promise:void 0,CL=typeof queueMicrotask=="function"?queueMicrotask:typeof XD<"u"?function(t){return XD.resolve(null).then(t).catch(Gb)}:GD,N2=null,eh=0,sv=1,QD=2,ZD=3,Ml=4,zl=new Map,$D=new Set,gu=Ye.d;Ye.d={f:function(){var t=gu.f(),e=Ci();return t||e},r:function(t){var e=At(t);e!==null&&e.tag===5&&e.type==="form"?Wu(e):gu.r(t)},D:function(t){gu.D(t),I0("dns-prefetch",t,null)},C:function(t,e){gu.C(t,e),I0("preconnect",t,e)},L:function(t,e,a){gu.L(t,e,a);var s=Ym;if(s&&t&&e){var d='link[rel="preload"][as="'+Ke(e)+'"]';e==="image"&&a&&a.imageSrcSet?(d+='[imagesrcset="'+Ke(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(d+='[imagesizes="'+Ke(a.imageSizes)+'"]')):d+='[href="'+Ke(t)+'"]';var h=d;switch(e){case"style":h=Ks(t);break;case"script":h=Is(t)}zl.has(h)||(t=ge({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),zl.set(h,t),s.querySelector(d)!==null||e==="style"&&s.querySelector(xd(h))||e==="script"&&s.querySelector(Sd(h))||(e=s.createElement("link"),cn(e,"link",t),Xt(e),s.head.appendChild(e)))}},m:function(t,e){gu.m(t,e);var a=Ym;if(a&&t){var s=e&&typeof e.as=="string"?e.as:"script",d='link[rel="modulepreload"][as="'+Ke(s)+'"][href="'+Ke(t)+'"]',h=d;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Is(t)}if(!zl.has(h)&&(t=ge({rel:"modulepreload",href:t},e),zl.set(h,t),a.querySelector(d)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Sd(h)))return}s=a.createElement("link"),cn(s,"link",t),Xt(s),a.head.appendChild(s)}}},X:function(t,e){gu.X(t,e);var a=Ym;if(a&&t){var s=Wt(a).hoistableScripts,d=Is(t),h=s.get(d);h||(h=a.querySelector(Sd(d)),h||(t=ge({src:t,async:!0},e),(e=zl.get(d))&&P0(t,e),h=a.createElement("script"),Xt(h),cn(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(d,h))}},S:function(t,e,a){gu.S(t,e,a);var s=Ym;if(s&&t){var d=Wt(s).hoistableStyles,h=Ks(t);e=e||"default";var b=d.get(h);if(!b){var w={loading:eh,preload:null};if(b=s.querySelector(xd(h)))w.loading=sv|Ml;else{t=ge({rel:"stylesheet",href:t,"data-precedence":e},a),(a=zl.get(h))&&F0(t,a);var D=b=s.createElement("link");Xt(D),cn(D,"link",t),D._p=new Promise(function(M,G){D.onload=M,D.onerror=G}),D.addEventListener("load",function(){w.loading|=sv}),D.addEventListener("error",function(){w.loading|=QD}),w.loading|=Ml,xc(b,e,s)}b={type:"stylesheet",instance:b,count:1,state:w},d.set(h,b)}}},M:function(t,e){gu.M(t,e);var a=Ym;if(a&&t){var s=Wt(a).hoistableScripts,d=Is(t),h=s.get(d);h||(h=a.querySelector(Sd(d)),h||(t=ge({src:t,async:!0,type:"module"},e),(e=zl.get(d))&&P0(t,e),h=a.createElement("script"),Xt(h),cn(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(d,h))}}};var Ym=typeof document>"u"?null:document,px=null,RL=6e4,DL=800,ML=500,H2=0,V2=null,mx=null,nh=Mw,uv={$$typeof:Co,Provider:null,Consumer:null,_currentValue:nh,_currentValue2:nh,_threadCount:0},KD="%c%s%c",ID="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",JD="",gx=" ",zL=Function.prototype.bind,FD=!1,PD=null,WD=null,tM=null,eM=null,nM=null,aM=null,iM=null,oM=null,lM=null,rM=null;PD=function(t,e,a,s){e=i(t,e),e!==null&&(a=l(e.memoizedState,a,0,s),e.memoizedState=a,e.baseState=a,t.memoizedProps=ge({},t.memoizedProps),a=wa(t,2),a!==null&&ie(a,t,2))},WD=function(t,e,a){e=i(t,e),e!==null&&(a=p(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=ge({},t.memoizedProps),a=wa(t,2),a!==null&&ie(a,t,2))},tM=function(t,e,a,s){e=i(t,e),e!==null&&(a=u(e.memoizedState,a,s),e.memoizedState=a,e.baseState=a,t.memoizedProps=ge({},t.memoizedProps),a=wa(t,2),a!==null&&ie(a,t,2))},eM=function(t,e,a){t.pendingProps=l(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=wa(t,2),e!==null&&ie(e,t,2)},nM=function(t,e){t.pendingProps=p(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=wa(t,2),e!==null&&ie(e,t,2)},aM=function(t,e,a){t.pendingProps=u(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=wa(t,2),e!==null&&ie(e,t,2)},iM=function(t){var e=wa(t,2);e!==null&&ie(e,t,2)},oM=function(t){var e=Au(),a=wa(t,e);a!==null&&ie(a,t,e)},lM=function(t){y=t},rM=function(t){m=t};var yx=!0,vx=null,B2=!1,ef=null,nf=null,af=null,cv=new Map,fv=new Map,of=[],OL="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(" "),bx=null;if(Ao.prototype.render=sy.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()."):q(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 s=e.current,d=Ta(s);Kp(s,d,a,e,null,null)},Ao.prototype.unmount=sy.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;(Ue&(ba|_o))!==Ma&&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."),Kp(t.current,2,null,t,null,null),Ci(),e[ar]=null}},Ao.prototype.unstable_scheduleHydration=function(t){if(t){var e=gr();t={blockedOn:null,target:t,priority:e};for(var a=0;a<of.length&&e!==0&&e<of[a].priority;a++);of.splice(a,0,t),a===0&&ry(t)}},(function(){var t=Cd.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
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"),Ye.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?Tt(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:st,reconcilerVersion:"19.2.3"};return t.overrideHookState=PD,t.overrideHookStateDeletePath=WD,t.overrideHookStateRenamePath=tM,t.overrideProps=eM,t.overridePropsDeletePath=nM,t.overridePropsRenamePath=aM,t.scheduleUpdate=iM,t.scheduleRetry=oM,t.setErrorHandler=lM,t.setSuspenseHandler=rM,t.scheduleRefresh=B,t.scheduleRoot=j,t.setRefreshHandler=X,t.getCurrentFiber=Fe,gf(t)})()&&Wr&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var sM=window.location.protocol;/^(https?|file):$/.test(sM)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(sM==="file:"?`
240
240
  You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Zm.createRoot=function(t,e){if(!q(t))throw Error("Target container is not a DOM element.");uy(t);var a=!1,s="",d=rp,h=sp,b=a0;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===Fi&&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&&(s=e.identifierPrefix),e.onUncaughtError!==void 0&&(d=e.onUncaughtError),e.onCaughtError!==void 0&&(h=e.onCaughtError),e.onRecoverableError!==void 0&&(b=e.onRecoverableError)),e=Td(t,1,!1,null,null,a,s,null,d,h,b,h1),t[ar]=e.current,Qr(t),new sy(e)},Zm.hydrateRoot=function(t,e,a){if(!q(t))throw Error("Target container is not a DOM element.");uy(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=!1,d="",h=rp,b=sp,w=a0,D=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError),a.formState!==void 0&&(D=a.formState)),e=Td(t,1,!0,e,a??null,s,d,D,h,b,w,h1),e.context=u1(null),a=e.current,s=Ta(a),s=Hi(s),d=Bn(s),d.callback=null,Fo(a,d,s),Ko(s,"hydrateRoot()",null),a=s,e.current.lanes=a,ao(e,a),ti(e),t[ar]=e.current,Qr(t),new Ao(e)},Zm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Zm}var aE;function SM(){if(aE)return pv.exports;aE=1;function i(){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(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),pv.exports=bM()):pv.exports=xM(),pv.exports}var wM=SM(),K=ah();const kn=Y2(K),EM=uM({__proto__:null,default:kn},[K]);var yv={exports:{}},iE;function TM(){if(iE)return yv.exports;iE=1;var i=String,l=function(){return{isColorSupported:!1,reset:i,bold:i,dim:i,italic:i,underline:i,inverse:i,hidden:i,strikethrough:i,black:i,red:i,green:i,yellow:i,blue:i,magenta:i,cyan:i,white:i,gray:i,bgBlack:i,bgRed:i,bgGreen:i,bgYellow:i,bgBlue:i,bgMagenta:i,bgCyan:i,bgWhite:i,blackBright:i,redBright:i,greenBright:i,yellowBright:i,blueBright:i,magentaBright:i,cyanBright:i,whiteBright:i,bgBlackBright:i,bgRedBright:i,bgGreenBright:i,bgYellowBright:i,bgBlueBright:i,bgMagentaBright:i,bgCyanBright:i,bgWhiteBright:i}};return yv.exports=l(),yv.exports.createColors=l,yv.exports}var AM=TM();Y2(AM).cyan("[uilint]");function CM(){return typeof process<"u"&&(process.env.VITEST==="true"||process.env.NODE_ENV==="test")}var Ex=CM();function It(...i){Ex||console.log(...i)}function _e(...i){Ex||console.warn(...i)}function $n(...i){Ex||console.error(...i)}var $m=wx();const vv={sm:640,md:768,lg:1024},cr={floatingIconPosition:"uilint:floatingIconPosition",inspectorDocked:"uilint:inspectorDocked",inspectorWidth:"uilint:inspectorWidth",inspectorFloatingPosition:"uilint:inspectorFloatingPosition",inspectorFloatingSize:"uilint:inspectorFloatingSize"};function oE(){return typeof window<"u"&&typeof localStorage<"u"}function Km(i,l){if(!oE())return l;try{const u=localStorage.getItem(i);return u===null?l:JSON.parse(u)}catch(u){return _e(`[UILint] Failed to load ${i} from localStorage:`,u),l}}function Im(i,l){if(oE())try{localStorage.setItem(i,JSON.stringify(l))}catch(u){_e(`[UILint] Failed to save ${i} to localStorage:`,u)}}const RM={open:!1,query:"",selectedIndex:0,filters:[]},lE={mode:"all",highlightedLocs:[],filterLabel:null},DM=400,MM={isMobile:!1,isTablet:!1,isTouchDevice:!1,isSmallScreen:!1};function zM(){return{open:!1,panelId:null,data:null,docked:Km(cr.inspectorDocked,!0),width:Km(cr.inspectorWidth,DM),floatingPosition:Km(cr.inspectorFloatingPosition,null),floatingSize:Km(cr.inspectorFloatingSize,null),expandedFiles:[],selectedIssueId:null,ruleConfigExpanded:!1}}const OM=i=>(l,u)=>({floatingIconPosition:Km(cr.floatingIconPosition,null),setFloatingIconPosition:c=>{Im(cr.floatingIconPosition,c),l({floatingIconPosition:c})},altKeyHeld:!1,setAltKeyHeld:c=>{l({altKeyHeld:c})},selectedElementId:null,hoveredElementId:null,setSelectedElementId:c=>{l({selectedElementId:c})},setHoveredElementId:c=>{l({hoveredElementId:c})},commandPalette:{...RM},openCommandPalette:()=>{l({commandPalette:{...u().commandPalette,open:!0,query:"",selectedIndex:0}})},closeCommandPalette:()=>{const c=u().commandPalette;l({commandPalette:{...c,open:!1,query:"",selectedIndex:0}})},setCommandPaletteQuery:c=>{l({commandPalette:{...u().commandPalette,query:c,selectedIndex:0}})},setCommandPaletteSelectedIndex:c=>{l({commandPalette:{...u().commandPalette,selectedIndex:c}})},addFilter:c=>{const p=u().commandPalette;l({commandPalette:{...p,filters:[...p.filters,c],selectedIndex:0}})},removeFilter:c=>{const p=u().commandPalette;l({commandPalette:{...p,filters:p.filters.filter((m,y)=>y!==c),selectedIndex:0}})},removeLastFilter:()=>{const c=u().commandPalette;c.filters.length!==0&&l({commandPalette:{...c,filters:c.filters.slice(0,-1),selectedIndex:0}})},clearFilters:()=>{l({commandPalette:{...u().commandPalette,filters:[],selectedIndex:0}})},inspector:zM(),openInspector:(c,p)=>{l({inspector:{...u().inspector,open:!0,panelId:c,data:p??null}})},openInspectorPanel:()=>{l({inspector:{...u().inspector,open:!0}})},closeInspector:()=>{l({inspector:{...u().inspector,open:!1,panelId:null,data:null,selectedIssueId:null}})},toggleInspectorDocked:()=>{const c=u().inspector,p=!c.docked;Im(cr.inspectorDocked,p),l({inspector:{...c,docked:p}})},setInspectorWidth:c=>{Im(cr.inspectorWidth,c),l({inspector:{...u().inspector,width:c}})},setInspectorFloatingPosition:c=>{Im(cr.inspectorFloatingPosition,c),l({inspector:{...u().inspector,floatingPosition:c}})},setInspectorFloatingSize:c=>{Im(cr.inspectorFloatingSize,c),l({inspector:{...u().inspector,floatingSize:c}})},toggleFileExpanded:c=>{const p=u().inspector,m=p.expandedFiles.includes(c);l({inspector:{...p,expandedFiles:m?p.expandedFiles.filter(y=>y!==c):[...p.expandedFiles,c]}})},expandFile:c=>{const p=u().inspector;p.expandedFiles.includes(c)||l({inspector:{...p,expandedFiles:[...p.expandedFiles,c]}})},collapseFile:c=>{const p=u().inspector;l({inspector:{...p,expandedFiles:p.expandedFiles.filter(m=>m!==c)}})},selectIssue:c=>{l({inspector:{...u().inspector,selectedIssueId:c}})},toggleRuleConfig:()=>{const c=u().inspector;l({inspector:{...c,ruleConfigExpanded:!c.ruleConfigExpanded}})},wsConnected:i.websocket.isConnected,wsUrl:i.websocket.url,heatmapFilter:{...lE},setHeatmapFilter:(c,p)=>{l({heatmapFilter:{mode:c.length>0?"related-only":"all",highlightedLocs:c,filterLabel:p??null}})},clearHeatmapFilter:()=>{l({heatmapFilter:{...lE}})},mobile:{...MM},setMobileState:c=>{l({mobile:c})}});function _M(i,l){if(!l.trim())return i;const u=l.toLowerCase().trim();return i.filter(c=>{const p=c.label?.toLowerCase()??"",m=c.subtitle?.toLowerCase()??"";return p.includes(u)||m.includes(u)})}function kM(i){const l=new Set,u=[];for(const c of i)l.has(c.id)||(l.add(c.id),u.push(c));return u}function jM(i){return i.commandPalette.filters}const bv=[];let rE=null,sE=null,lf=bv;function UM(i){const l=i.commandPalette.filters,u=i.plugins?.eslint?.issues;if(l===rE&&u===sE)return lf;if(rE=l,sE=u??null,!u||u.size===0||l.length===0)return lf=bv,lf;const c=l.find(y=>y.type==="rule"),p=l.find(y=>y.type==="file"),m=[];for(const[y,x]of u)for(const S of x){const E=!c||S.ruleId===c.id,T=!p||S.filePath===p.id;if(E&&T){m.push(y);break}}return lf=m.length>0?m:bv,lf}function LM(i){return i.commandPalette.filters.length>0}const NM=[],HM=new Map,VM=new Map,BM={error:0,warning:0,info:0};function uE(i){return i.plugins?.eslint?.issues??VM}function YM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return NM;const u=[];for(const c of l.values())u.push(...c);return u}function qM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return HM;const u=new Map;for(const c of l.values())for(const p of c){const m=u.get(p.filePath);m?m.push(p):u.set(p.filePath,[p])}return u}function GM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return 0;let u=0;for(const c of l.values())u+=c.length;return u}function XM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return BM;const u={error:0,warning:0,info:0};for(const c of l.values())for(const p of c)u[p.severity]++;return u}const cE=i=>{let l;const u=new Set,c=(E,T)=>{const A=typeof E=="function"?E(l):E;if(!Object.is(A,l)){const R=l;l=T??(typeof A!="object"||A===null)?A:Object.assign({},l,A),u.forEach(j=>j(l,R))}},p=()=>l,x={setState:c,getState:p,getInitialState:()=>S,subscribe:E=>(u.add(E),()=>u.delete(E))},S=l=i(c,p,x);return x},QM=(i=>i?cE(i):cE),ZM=i=>i;function $M(i,l=ZM){const u=kn.useSyncExternalStore(i.subscribe,kn.useCallback(()=>l(i.getState()),[i,l]),kn.useCallback(()=>l(i.getInitialState()),[i,l]));return kn.useDebugValue(u),u}const fE=i=>{const l=QM(i),u=c=>$M(l,c);return Object.assign(u,l),u},KM=(i=>i?fE(i):fE),IM=(i,l)=>({activeDrag:null,startDrag:(u,c,p,m,y)=>{i({activeDrag:{type:u,startPos:c,currentPos:c,offset:p,elementStartPos:m,elementStartSize:y}})},updateDrag:u=>{const{activeDrag:c}=l();c&&i({activeDrag:{...c,currentPos:u}})},endDrag:()=>{i({activeDrag:null})},isDragging:u=>{const{activeDrag:c}=l();return c?u===void 0?!0:c.type===u:!1},getDragDelta:()=>{const{activeDrag:u}=l();return u?{x:u.currentPos.x-u.startPos.x,y:u.currentPos.y-u.startPos.y}:null}});function dE(i){const l=new Map;for(const y of i)l.set(y.id,y);const u=[],c=new Set,p=new Set;function m(y){const x=y.id;if(c.has(x))return;if(p.has(x))throw new Error(`[PluginRegistry] Circular dependency detected involving plugin: ${x}`);p.add(x);const S=y.dependencies||[];for(const E of S){const T=l.get(E);T&&m(T)}p.delete(x),c.add(x),u.push(y)}for(const y of i)m(y);return u}class JM{plugins=new Map;services=null;register(l){if(It(`[PluginRegistry] Registering plugin: ${l.id}`),this.plugins.has(l.id)){_e(`[PluginRegistry] Plugin "${l.id}" is already registered. Skipping duplicate registration.`);return}const u=l.dependencies||[],c=[];for(const p of u)this.plugins.has(p)||c.push(p);c.length>0&&_e(`[PluginRegistry] Plugin "${l.id}" has unregistered dependencies: ${c.join(", ")}. These plugins should be registered first for proper initialization order.`),this.plugins.set(l.id,{plugin:l,initialized:!1}),It(`[PluginRegistry] Plugin "${l.id}" registered successfully`)}setServices(l){this.services=l}markPluginInitialized(l){const u=this.plugins.get(l);u&&(u.initialized=!0)}getPlugins(){return Array.from(this.plugins.values()).map(l=>l.plugin)}getPlugin(l){return this.plugins.get(l)?.plugin}getAllCommands(){const l=[];for(const{plugin:u}of this.plugins.values())u.commands&&l.push(...u.commands);return l}getAllAnalyzers(){const l=[];for(const{plugin:u}of this.plugins.values())u.analyzers&&l.push(...u.analyzers);return l}getAllInspectorPanels(){const l=[];for(const{plugin:u}of this.plugins.values())u.inspectorPanels&&l.push(...u.inspectorPanels);return l.sort((u,c)=>(c.priority??0)-(u.priority??0))}getAllToolbarActions(){const l=[];for(const{plugin:u}of this.plugins.values())u.toolbarActions&&l.push(...u.toolbarActions);return l.sort((u,c)=>(c.priority??0)-(u.priority??0))}getAllToolbarActionGroups(){const l=[];for(const{plugin:u}of this.plugins.values())u.toolbarActionGroups&&l.push(...u.toolbarActionGroups);return l.sort((u,c)=>(c.priority??0)-(u.priority??0))}getAllTileProviders(){const l=[];for(const{plugin:u,initialized:c}of this.plugins.values())c&&u.tileProvider&&l.push({pluginId:u.id,provider:u.tileProvider});return l}getAllCategoryProviders(){return[]}getAllRules(){if(!this.services)return _e("[PluginRegistry] Cannot get rules: services not initialized"),[];const l=[];for(const{plugin:u,initialized:c}of this.plugins.values())if(c&&u.getRules)try{const p=u.getRules(this.services);l.push(...p)}catch(p){$n(`[PluginRegistry] Error getting rules from plugin "${u.id}":`,p)}return l}setRuleSeverity(l,u){if(!this.services){_e("[PluginRegistry] Cannot set rule severity: services not initialized");return}for(const{plugin:c,initialized:p}of this.plugins.values())if(p){if(c.handlesRules&&c.handlesRules({id:l})&&c.setRuleSeverity){c.setRuleSeverity(l,u,this.services);return}if(l.startsWith(`${c.id}/`)&&c.setRuleSeverity){c.setRuleSeverity(l,u,this.services);return}}_e(`[PluginRegistry] No plugin found to handle rule: ${l}`)}getRuleConfig(l){if(!this.services){_e("[PluginRegistry] Cannot get rule config: services not initialized");return}for(const{plugin:u,initialized:c}of this.plugins.values())if(c){if(u.handlesRules?.({id:l})&&u.getRuleConfig)return u.getRuleConfig(l,this.services);if(l.startsWith(`${u.id}/`)&&u.getRuleConfig)return u.getRuleConfig(l,this.services)}}setRuleConfig(l,u){if(!this.services){_e("[PluginRegistry] Cannot set rule config: services not initialized");return}for(const{plugin:c,initialized:p}of this.plugins.values())if(p){if(c.handlesRules?.({id:l})&&c.setRuleConfig){c.setRuleConfig(l,u,this.services);return}if(l.startsWith(`${c.id}/`)&&c.setRuleConfig){c.setRuleConfig(l,u,this.services);return}}_e(`[PluginRegistry] No plugin found to configure rule: ${l}`)}getPluginForRule(l,u){for(const{plugin:m}of this.plugins.values())if(m.ruleContributions&&m.ruleContributions.find(x=>x.ruleId===l))return m;for(const{plugin:m}of this.plugins.values())if(l.startsWith(`${m.id}/`)||u.category&&m.ruleCategories&&m.ruleCategories.includes(u.category))return m;const c=this.plugins.get("core")?.plugin;if(c)return c;const p=this.plugins.values().next().value;return p?p.plugin:{id:"default",name:"Default",version:"1.0.0"}}getRuleContribution(l){for(const{plugin:u}of this.plugins.values())if(u.ruleContributions){const c=u.ruleContributions.find(p=>p.ruleId===l);if(c)return c}}disposeAll(){It("[PluginRegistry] Disposing all plugins...");const l=Array.from(this.plugins.values()).map(c=>c.plugin),u=dE(l).reverse();for(const c of u){const p=this.plugins.get(c.id);if(!(!p||!p.initialized))try{It(`[PluginRegistry] Disposing plugin: ${c.id}`),c.dispose&&this.services&&c.dispose(this.services),p.initialized=!1,It(`[PluginRegistry] Plugin "${c.id}" disposed successfully`)}catch(m){$n(`[PluginRegistry] Failed to dispose plugin "${c.id}":`,m)}}this.services=null,It("[PluginRegistry] All plugins disposed")}isRegistered(l){return this.plugins.has(l)}isInitialized(l){return this.plugins.get(l)?.initialized??!1}getServices(){return this.services}clear(){It("[PluginRegistry] Clearing all plugins"),this.disposeAll(),this.plugins.clear()}}function FM(){return new JM}const li=FM();function hE(i){return typeof window>"u"||typeof window.matchMedia!="function"?null:window.matchMedia(i)}function PM(){if(typeof window>"u")return{isMobile:!1,isTablet:!1,isTouchDevice:!1,isSmallScreen:!1};const i=window.innerWidth,l="ontouchstart"in window||navigator.maxTouchPoints>0,c=hE("(pointer: coarse)")?.matches??!1;return{isMobile:i<vv.md,isTablet:i>=vv.md&&i<vv.lg,isTouchDevice:l&&c,isSmallScreen:i<vv.sm}}function WM(i){if(typeof window>"u")return()=>{};const l=c=>{const p=i.getState();if((c.metaKey||c.ctrlKey)&&c.key==="k"){c.preventDefault(),p.commandPalette.open?p.closeCommandPalette():p.openCommandPalette();return}if((c.metaKey||c.ctrlKey)&&c.shiftKey&&c.key==="C"){c.preventDefault();const m=sf();if(!m)return;const y=li.getAllToolbarActionGroups();for(const x of y){const S=x.actions.find(E=>E.id==="vision:capture-full-page");if(S){S.onClick(m);return}}return}if((c.metaKey||c.ctrlKey)&&c.shiftKey&&c.key==="R"){c.preventDefault();const m=sf();if(!m)return;const y=li.getAllToolbarActionGroups();for(const x of y){const S=x.actions.find(E=>E.id==="vision:capture-region");if(S){S.onClick(m);return}}return}if(c.key==="Escape"&&p.commandPalette.open){c.preventDefault(),p.closeCommandPalette();return}c.key==="Alt"&&p.setAltKeyHeld(!0)},u=c=>{c.key==="Alt"&&i.getState().setAltKeyHeld(!1)};return window.addEventListener("keydown",l),window.addEventListener("keyup",u),()=>{window.removeEventListener("keydown",l),window.removeEventListener("keyup",u)}}function tz(i){if(typeof window>"u")return()=>{};const l=()=>{const m=PM();i.getState().setMobileState(m)};l();const u=new AbortController,{signal:c}=u;window.addEventListener("resize",l,{signal:c}),window.addEventListener("orientationchange",l,{signal:c});const p=hE("(pointer: coarse)");return p&&p.addEventListener("change",l,{signal:c}),()=>{u.abort()}}function ez(i){let l=i.getState().mobile.isMobile;return i.subscribe(c=>{const{isMobile:p}=c.mobile,{docked:m,open:y}=c.inspector;p&&!l&&m&&y&&c.toggleInspectorDocked(),l=p})}function nz(i){if(typeof window>"u")return()=>{};const l=m=>{const y=i.getState();y.activeDrag&&y.updateDrag({x:m.clientX,y:m.clientY})},u=m=>{const y=i.getState();if(!y.activeDrag)return;const x=m.touches[0];x&&y.updateDrag({x:x.clientX,y:x.clientY})},c=()=>{const m=i.getState();m.activeDrag&&m.endDrag()},p=()=>{const m=i.getState();m.activeDrag&&m.endDrag()};return window.addEventListener("mousemove",l),window.addEventListener("mouseup",c),window.addEventListener("touchmove",u,{passive:!0}),window.addEventListener("touchend",p),window.addEventListener("touchcancel",p),()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",c),window.removeEventListener("touchmove",u),window.removeEventListener("touchend",p),window.removeEventListener("touchcancel",p)}}function az(i,l={}){const{enableKeyboardShortcuts:u=!0,enableMobileDetection:c=!0,enableDragHandlers:p=!0}=l,m=[];return u&&m.push(WM(i)),c&&(m.push(tz(i)),m.push(ez(i))),p&&m.push(nz(i)),()=>{m.forEach(y=>y())}}const Tx=[],pE={totalIssues:0,totalFiles:0,totalRules:0,severityCounts:{error:0,warning:0,info:0}};let mE=null,gE=null,Jm=Tx,Ax=pE;function yE(i){let l="info";for(const u of i){if(u.severity==="error")return"error";u.severity==="warning"&&(l="warning")}return l}function iz(i){const l={error:0,warning:0,info:0};for(const u of i)l[u.severity]++;return l}function oz(i){const l=i.split("/");return l[l.length-1]||i}function lz(i){const l=i.split("/");return l.pop(),l.join("/")||"/"}function rz(i){return i.includes("/")&&i.split("/").pop()||i}function xv(i){switch(i){case"error":return 0;case"warning":return 1;case"info":return 2}}function sz(i,l){const u=l.find(T=>T.type==="rule"),c=l.find(T=>T.type==="file"),p=new Map,m=new Set;for(const T of i.values())for(const A of T){if(u&&A.ruleId!==u.id||c&&A.filePath!==c.id)continue;const R=p.get(A.filePath)||[];R.push(A),p.set(A.filePath,R),m.add(A.ruleId)}const y=[];let x=0;const S={error:0,warning:0,info:0};for(const[T,A]of p){const R=[...A].sort((q,Z)=>q.line-Z.line),j=new Map;for(const q of R){const Z=j.get(q.ruleId)||[];Z.push(q),j.set(q.ruleId,Z)}const B=[];for(const[q,Z]of j)B.push({ruleId:q,ruleName:rz(q),count:Z.length,highestSeverity:yE(Z)});B.sort((q,Z)=>{const W=xv(q.highestSeverity)-xv(Z.highestSeverity);return W!==0?W:Z.count-q.count});const X=iz(R);x+=R.length,S.error+=X.error,S.warning+=X.warning,S.info+=X.info,y.push({filePath:T,fileName:oz(T),directory:lz(T),totalCount:R.length,severityCounts:X,highestSeverity:yE(R),ruleGroups:B,issues:R})}y.sort((T,A)=>{const R=xv(T.highestSeverity)-xv(A.highestSeverity);return R!==0?R:A.totalCount-T.totalCount});const E={totalIssues:x,totalFiles:y.length,totalRules:m.size,severityCounts:S};return{fileGroups:y,summary:E}}function vE(i){const l=i.commandPalette.filters,u=i.plugins?.eslint?.issues;if(l===mE&&u===gE)return Jm;if(mE=l,gE=u??null,!u||u.size===0)return Jm=Tx,Ax=pE,Jm;const{fileGroups:c,summary:p}=sz(u,l);return Jm=c.length>0?c:Tx,Ax=p,Jm}function uz(i){return vE(i),Ax}function cz(i){return i.commandPalette.filters.find(l=>l.type==="rule")??null}let rf=null,ih=null;const fz=()=>({isConnected:!1,url:"ws://localhost:9234",connect:()=>{_e("[ComposedStore] WebSocket connect called but not implemented")},disconnect:()=>{_e("[ComposedStore] WebSocket disconnect called but not implemented")},send:()=>{_e("[ComposedStore] WebSocket send called but not implemented")},on:()=>(_e("[ComposedStore] WebSocket on called but not implemented"),()=>{}),onConnectionChange:()=>(_e("[ComposedStore] WebSocket onConnectionChange called but not implemented"),()=>{})}),dz=()=>({start:()=>{_e("[ComposedStore] DOMObserver start called but not implemented")},stop:()=>{_e("[ComposedStore] DOMObserver stop called but not implemented")},onElementsAdded:()=>(_e("[ComposedStore] DOMObserver onElementsAdded called but not implemented"),()=>{}),onElementsRemoved:()=>(_e("[ComposedStore] DOMObserver onElementsRemoved called but not implemented"),()=>{})});function hz(i={}){const l=i.websocket??fz(),u=i.domObserver??dz();let c;const p=KM()((y,x)=>{c={websocket:{get isConnected(){return l.isConnected},get url(){return l.url},connect:l.connect.bind(l),disconnect:l.disconnect.bind(l),send:l.send.bind(l),on:l.on.bind(l),onConnectionChange:l.onConnectionChange.bind(l)},domObserver:{start:u.start.bind(u),stop:u.stop.bind(u),onElementsAdded:u.onElementsAdded.bind(u),onElementsRemoved:u.onElementsRemoved.bind(u)},getState:()=>x(),setState:A=>{y(A)},openInspector:(A,R)=>{const j=x();R.ruleId?j.openInspector("rule",{ruleId:R.ruleId}):R.elementId?j.openInspector("element",{elementId:R.elementId}):y({inspector:{...j.inspector,open:!0,panelId:A,data:R}})},closeCommandPalette:()=>{x().closeCommandPalette()},closeInspector:()=>{x().closeInspector()},invalidateCategory:()=>{}};const E=OM(c)(y,x,{setState:y,getState:x,getInitialState:()=>x(),subscribe:()=>()=>{}}),T=IM(y,x);return{...E,...T,plugins:{},registerPluginSlice:(A,R)=>{It(`[ComposedStore] Registering plugin slice: ${String(A)}`),y(j=>({plugins:{...j.plugins,[A]:R}}))},unregisterPluginSlice:A=>{It(`[ComposedStore] Unregistering plugin slice: ${String(A)}`),y(R=>{const{[A]:j,...B}=R.plugins;return{plugins:B}})},getPluginSlice:A=>x().plugins[A],setPluginSlice:(A,R)=>{y(j=>{const B=j.plugins[A];return B?{plugins:{...j.plugins,[A]:{...B,...R}}}:(_e(`[ComposedStore] Cannot update unregistered plugin slice: ${String(A)}`),j)})}}});l.onConnectionChange(y=>{p.setState({wsConnected:y,wsUrl:l.url})});const m=az(p);return{store:p,services:c,cleanup:m}}function bE(i){if(rf)return rf;const l=hz(i);return rf=l.store,ih=l.services,rf}function Ot(i){return rf||bE(),i?rf(i):rf()}function xE(i,l,u){return{...l,getState:()=>u.getState().plugins[i]||{},setState:c=>{u.setState(p=>{const m=p.plugins[i]||{};return{plugins:{...p.plugins,[i]:{...m,...c}}}})}}}async function pz(i){const l=bE(i);if(!ih)throw new Error("[initializePlugins] Plugin services not initialized");const u=i?.registry??li;u.setServices(ih);const c=u.getPlugins(),p=dE(c);It(`[initializePlugins] Initialization order: ${p.map(m=>m.id).join(" -> ")}`);for(const m of p)if(m.createSlice&&m.id)try{const y=xE(m.id,ih,l),x=m.createSlice(y);m.id in{}?l.getState().registerPluginSlice(m.id,x):(It(`[initializePlugins] Registering unknown plugin slice: ${m.id}`),l.setState(S=>({plugins:{...S.plugins,[m.id]:x}})))}catch(y){$n(`[initializePlugins] Failed to create slice for plugin ${m.id}:`,y)}for(const m of p)if(m.id)try{const y=xE(m.id,ih,l);m.initialize&&await m.initialize(y),u.markPluginInitialized(m.id)}catch(y){$n(`[initializePlugins] Failed to initialize plugin ${m.id}:`,y)}It(`[initializePlugins] Initialized ${c.length} plugins`)}function sf(){return ih}const mz=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gz=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,u,c)=>c?c.toUpperCase():u.toLowerCase()),SE=i=>{const l=gz(i);return l.charAt(0).toUpperCase()+l.slice(1)},wE=(...i)=>i.filter((l,u,c)=>!!l&&l.trim()!==""&&c.indexOf(l)===u).join(" ").trim(),yz=i=>{for(const l in i)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};var vz={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 bz=K.forwardRef(({color:i="currentColor",size:l=24,strokeWidth:u=2,absoluteStrokeWidth:c,className:p="",children:m,iconNode:y,...x},S)=>K.createElement("svg",{ref:S,...vz,width:l,height:l,stroke:i,strokeWidth:c?Number(u)*24/Number(l):u,className:wE("lucide",p),...!m&&!yz(x)&&{"aria-hidden":"true"},...x},[...y.map(([E,T])=>K.createElement(E,T)),...Array.isArray(m)?m:[m]]));const Ol=(i,l)=>{const u=K.forwardRef(({className:c,...p},m)=>K.createElement(bz,{ref:m,iconNode:l,className:wE(`lucide-${mz(SE(i))}`,`lucide-${i}`,c),...p}));return u.displayName=SE(i),u};const EE=Ol("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const Cx=Ol("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const TE=Ol("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 xz=Ol("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const AE=Ol("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 Sz=Ol("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 wz=Ol("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const CE=Ol("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const Ez=Ol("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);const RE=Ol("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 Sv=Ol("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Rx=K.createContext({});function Dx(i){const l=K.useRef(null);return l.current===null&&(l.current=i()),l.current}const DE=typeof window<"u",ME=DE?K.useLayoutEffect:K.useEffect,wv=K.createContext(null);function Mx(i,l){i.indexOf(l)===-1&&i.push(l)}function zx(i,l){const u=i.indexOf(l);u>-1&&i.splice(u,1)}const fr=(i,l,u)=>u>l?l:u<i?i:u;function Ox(i,l){return l?`${i}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${l}`:i}let oh=()=>{},is=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(oh=(i,l,u)=>{!i&&typeof console<"u"&&console.warn(Ox(l,u))},is=(i,l,u)=>{if(!i)throw new Error(Ox(l,u))});const os={},zE=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function OE(i){return typeof i=="object"&&i!==null}const _E=i=>/^0[^.\s]+$/u.test(i);function _x(i){let l;return()=>(l===void 0&&(l=i()),l)}const jo=i=>i,Tz=(i,l)=>u=>l(i(u)),Fm=(...i)=>i.reduce(Tz),Pm=(i,l,u)=>{const c=l-i;return c===0?1:(u-i)/c};class kx{constructor(){this.subscriptions=[]}add(l){return Mx(this.subscriptions,l),()=>zx(this.subscriptions,l)}notify(l,u,c){const p=this.subscriptions.length;if(p)if(p===1)this.subscriptions[0](l,u,c);else for(let m=0;m<p;m++){const y=this.subscriptions[m];y&&y(l,u,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const dr=i=>i*1e3,Uo=i=>i/1e3;function kE(i,l){return l?i*(1e3/l):0}const jE=new Set;function jx(i,l,u){i||jE.has(l)||(console.warn(Ox(l,u)),jE.add(l))}const UE=(i,l,u)=>(((1-3*u+3*l)*i+(3*u-6*l))*i+3*l)*i,Az=1e-7,Cz=12;function Rz(i,l,u,c,p){let m,y,x=0;do y=l+(u-l)/2,m=UE(y,c,p)-i,m>0?u=y:l=y;while(Math.abs(m)>Az&&++x<Cz);return y}function Wm(i,l,u,c){if(i===l&&u===c)return jo;const p=m=>Rz(m,0,1,i,u);return m=>m===0||m===1?m:UE(p(m),l,c)}const LE=i=>l=>l<=.5?i(2*l)/2:(2-i(2*(1-l)))/2,NE=i=>l=>1-i(1-l),HE=Wm(.33,1.53,.69,.99),Ux=NE(HE),VE=LE(Ux),BE=i=>(i*=2)<1?.5*Ux(i):.5*(2-Math.pow(2,-10*(i-1))),Lx=i=>1-Math.sin(Math.acos(i)),YE=NE(Lx),qE=LE(Lx),Dz=Wm(.42,0,1,1),Mz=Wm(0,0,.58,1),GE=Wm(.42,0,.58,1),zz=i=>Array.isArray(i)&&typeof i[0]!="number",XE=i=>Array.isArray(i)&&typeof i[0]=="number",QE={linear:jo,easeIn:Dz,easeInOut:GE,easeOut:Mz,circIn:Lx,circInOut:qE,circOut:YE,backIn:Ux,backInOut:VE,backOut:HE,anticipate:BE},Oz=i=>typeof i=="string",ZE=i=>{if(XE(i)){is(i.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[l,u,c,p]=i;return Wm(l,u,c,p)}else if(Oz(i))return is(QE[i]!==void 0,`Invalid easing type '${i}'`,"invalid-easing-type"),QE[i];return i},Ev=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _z(i,l){let u=new Set,c=new Set,p=!1,m=!1;const y=new WeakSet;let x={delta:0,timestamp:0,isProcessing:!1};function S(T){y.has(T)&&(E.schedule(T),i()),T(x)}const E={schedule:(T,A=!1,R=!1)=>{const B=R&&p?u:c;return A&&y.add(T),B.has(T)||B.add(T),T},cancel:T=>{c.delete(T),y.delete(T)},process:T=>{if(x=T,p){m=!0;return}p=!0,[u,c]=[c,u],u.forEach(S),u.clear(),p=!1,m&&(m=!1,E.process(T))}};return E}const kz=40;function $E(i,l){let u=!1,c=!0;const p={delta:0,timestamp:0,isProcessing:!1},m=()=>u=!0,y=Ev.reduce((rt,ct)=>(rt[ct]=_z(m),rt),{}),{setup:x,read:S,resolveKeyframes:E,preUpdate:T,update:A,preRender:R,render:j,postRender:B}=y,X=()=>{const rt=os.useManualTiming?p.timestamp:performance.now();u=!1,os.useManualTiming||(p.delta=c?1e3/60:Math.max(Math.min(rt-p.timestamp,kz),1)),p.timestamp=rt,p.isProcessing=!0,x.process(p),S.process(p),E.process(p),T.process(p),A.process(p),R.process(p),j.process(p),B.process(p),p.isProcessing=!1,u&&l&&(c=!1,i(X))},q=()=>{u=!0,c=!0,p.isProcessing||i(X)};return{schedule:Ev.reduce((rt,ct)=>{const xt=y[ct];return rt[ct]=(Tt,vt=!1,ot=!1)=>(u||q(),xt.schedule(Tt,vt,ot)),rt},{}),cancel:rt=>{for(let ct=0;ct<Ev.length;ct++)y[Ev[ct]].cancel(rt)},state:p,steps:y}}const{schedule:mn,cancel:vu,state:za,steps:Nx}=$E(typeof requestAnimationFrame<"u"?requestAnimationFrame:jo,!0);let Tv;function jz(){Tv=void 0}const ri={now:()=>(Tv===void 0&&ri.set(za.isProcessing||os.useManualTiming?za.timestamp:performance.now()),Tv),set:i=>{Tv=i,queueMicrotask(jz)}},KE=i=>l=>typeof l=="string"&&l.startsWith(i),IE=KE("--"),Uz=KE("var(--"),Hx=i=>Uz(i)?Lz.test(i.split("/*")[0].trim()):!1,Lz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function JE(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const lh={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},tg={...lh,transform:i=>fr(0,1,i)},Av={...lh,default:1},eg=i=>Math.round(i*1e5)/1e5,Vx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Nz(i){return i==null}const Hz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Bx=(i,l)=>u=>!!(typeof u=="string"&&Hz.test(u)&&u.startsWith(i)||l&&!Nz(u)&&Object.prototype.hasOwnProperty.call(u,l)),FE=(i,l,u)=>c=>{if(typeof c!="string")return c;const[p,m,y,x]=c.match(Vx);return{[i]:parseFloat(p),[l]:parseFloat(m),[u]:parseFloat(y),alpha:x!==void 0?parseFloat(x):1}},Vz=i=>fr(0,255,i),Yx={...lh,transform:i=>Math.round(Vz(i))},uf={test:Bx("rgb","red"),parse:FE("red","green","blue"),transform:({red:i,green:l,blue:u,alpha:c=1})=>"rgba("+Yx.transform(i)+", "+Yx.transform(l)+", "+Yx.transform(u)+", "+eg(tg.transform(c))+")"};function Bz(i){let l="",u="",c="",p="";return i.length>5?(l=i.substring(1,3),u=i.substring(3,5),c=i.substring(5,7),p=i.substring(7,9)):(l=i.substring(1,2),u=i.substring(2,3),c=i.substring(3,4),p=i.substring(4,5),l+=l,u+=u,c+=c,p+=p),{red:parseInt(l,16),green:parseInt(u,16),blue:parseInt(c,16),alpha:p?parseInt(p,16)/255:1}}const qx={test:Bx("#"),parse:Bz,transform:uf.transform},ng=i=>({test:l=>typeof l=="string"&&l.endsWith(i)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${i}`}),bu=ng("deg"),hr=ng("%"),Lt=ng("px"),Yz=ng("vh"),qz=ng("vw"),PE={...hr,parse:i=>hr.parse(i)/100,transform:i=>hr.transform(i*100)},rh={test:Bx("hsl","hue"),parse:FE("hue","saturation","lightness"),transform:({hue:i,saturation:l,lightness:u,alpha:c=1})=>"hsla("+Math.round(i)+", "+hr.transform(eg(l))+", "+hr.transform(eg(u))+", "+eg(tg.transform(c))+")"},Kn={test:i=>uf.test(i)||qx.test(i)||rh.test(i),parse:i=>uf.test(i)?uf.parse(i):rh.test(i)?rh.parse(i):qx.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?uf.transform(i):rh.transform(i),getAnimatableNone:i=>{const l=Kn.parse(i);return l.alpha=0,Kn.transform(l)}},Gz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Xz(i){return isNaN(i)&&typeof i=="string"&&(i.match(Vx)?.length||0)+(i.match(Gz)?.length||0)>0}const WE="number",tT="color",Qz="var",Zz="var(",eT="${}",$z=/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 ag(i){const l=i.toString(),u=[],c={color:[],number:[],var:[]},p=[];let m=0;const x=l.replace($z,S=>(Kn.test(S)?(c.color.push(m),p.push(tT),u.push(Kn.parse(S))):S.startsWith(Zz)?(c.var.push(m),p.push(Qz),u.push(S)):(c.number.push(m),p.push(WE),u.push(parseFloat(S))),++m,eT)).split(eT);return{values:u,split:x,indexes:c,types:p}}function nT(i){return ag(i).values}function aT(i){const{split:l,types:u}=ag(i),c=l.length;return p=>{let m="";for(let y=0;y<c;y++)if(m+=l[y],p[y]!==void 0){const x=u[y];x===WE?m+=eg(p[y]):x===tT?m+=Kn.transform(p[y]):m+=p[y]}return m}}const Kz=i=>typeof i=="number"?0:Kn.test(i)?Kn.getAnimatableNone(i):i;function Iz(i){const l=nT(i);return aT(i)(l.map(Kz))}const xu={test:Xz,parse:nT,createTransformer:aT,getAnimatableNone:Iz};function Gx(i,l,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?i+(l-i)*6*u:u<1/2?l:u<2/3?i+(l-i)*(2/3-u)*6:i}function Jz({hue:i,saturation:l,lightness:u,alpha:c}){i/=360,l/=100,u/=100;let p=0,m=0,y=0;if(!l)p=m=y=u;else{const x=u<.5?u*(1+l):u+l-u*l,S=2*u-x;p=Gx(S,x,i+1/3),m=Gx(S,x,i),y=Gx(S,x,i-1/3)}return{red:Math.round(p*255),green:Math.round(m*255),blue:Math.round(y*255),alpha:c}}function Cv(i,l){return u=>u>0?l:i}const An=(i,l,u)=>i+(l-i)*u,Xx=(i,l,u)=>{const c=i*i,p=u*(l*l-c)+c;return p<0?0:Math.sqrt(p)},Fz=[qx,uf,rh],Pz=i=>Fz.find(l=>l.test(i));function iT(i){const l=Pz(i);if(oh(!!l,`'${i}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!l)return!1;let u=l.parse(i);return l===rh&&(u=Jz(u)),u}const oT=(i,l)=>{const u=iT(i),c=iT(l);if(!u||!c)return Cv(i,l);const p={...u};return m=>(p.red=Xx(u.red,c.red,m),p.green=Xx(u.green,c.green,m),p.blue=Xx(u.blue,c.blue,m),p.alpha=An(u.alpha,c.alpha,m),uf.transform(p))},Qx=new Set(["none","hidden"]);function Wz(i,l){return Qx.has(i)?u=>u<=0?i:l:u=>u>=1?l:i}function t3(i,l){return u=>An(i,l,u)}function Zx(i){return typeof i=="number"?t3:typeof i=="string"?Hx(i)?Cv:Kn.test(i)?oT:a3:Array.isArray(i)?lT:typeof i=="object"?Kn.test(i)?oT:e3:Cv}function lT(i,l){const u=[...i],c=u.length,p=i.map((m,y)=>Zx(m)(m,l[y]));return m=>{for(let y=0;y<c;y++)u[y]=p[y](m);return u}}function e3(i,l){const u={...i,...l},c={};for(const p in u)i[p]!==void 0&&l[p]!==void 0&&(c[p]=Zx(i[p])(i[p],l[p]));return p=>{for(const m in c)u[m]=c[m](p);return u}}function n3(i,l){const u=[],c={color:0,var:0,number:0};for(let p=0;p<l.values.length;p++){const m=l.types[p],y=i.indexes[m][c[m]],x=i.values[y]??0;u[p]=x,c[m]++}return u}const a3=(i,l)=>{const u=xu.createTransformer(l),c=ag(i),p=ag(l);return c.indexes.var.length===p.indexes.var.length&&c.indexes.color.length===p.indexes.color.length&&c.indexes.number.length>=p.indexes.number.length?Qx.has(i)&&!p.values.length||Qx.has(l)&&!c.values.length?Wz(i,l):Fm(lT(n3(c,p),p.values),u):(oh(!0,`Complex values '${i}' and '${l}' 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"),Cv(i,l))};function rT(i,l,u){return typeof i=="number"&&typeof l=="number"&&typeof u=="number"?An(i,l,u):Zx(i)(i,l)}const i3=i=>{const l=({timestamp:u})=>i(u);return{start:(u=!0)=>mn.update(l,u),stop:()=>vu(l),now:()=>za.isProcessing?za.timestamp:ri.now()}},sT=(i,l,u=10)=>{let c="";const p=Math.max(Math.round(l/u),2);for(let m=0;m<p;m++)c+=Math.round(i(m/(p-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},Rv=2e4;function $x(i){let l=0;const u=50;let c=i.next(l);for(;!c.done&&l<Rv;)l+=u,c=i.next(l);return l>=Rv?1/0:l}function o3(i,l=100,u){const c=u({...i,keyframes:[0,l]}),p=Math.min($x(c),Rv);return{type:"keyframes",ease:m=>c.next(p*m).value/l,duration:Uo(p)}}const l3=5;function uT(i,l,u){const c=Math.max(l-l3,0);return kE(u-i(c),l-c)}const Cn={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},Kx=.001;function r3({duration:i=Cn.duration,bounce:l=Cn.bounce,velocity:u=Cn.velocity,mass:c=Cn.mass}){let p,m;oh(i<=dr(Cn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let y=1-l;y=fr(Cn.minDamping,Cn.maxDamping,y),i=fr(Cn.minDuration,Cn.maxDuration,Uo(i)),y<1?(p=E=>{const T=E*y,A=T*i,R=T-u,j=Ix(E,y),B=Math.exp(-A);return Kx-R/j*B},m=E=>{const A=E*y*i,R=A*u+u,j=Math.pow(y,2)*Math.pow(E,2)*i,B=Math.exp(-A),X=Ix(Math.pow(E,2),y);return(-p(E)+Kx>0?-1:1)*((R-j)*B)/X}):(p=E=>{const T=Math.exp(-E*i),A=(E-u)*i+1;return-Kx+T*A},m=E=>{const T=Math.exp(-E*i),A=(u-E)*(i*i);return T*A});const x=5/i,S=u3(p,m,x);if(i=dr(i),isNaN(S))return{stiffness:Cn.stiffness,damping:Cn.damping,duration:i};{const E=Math.pow(S,2)*c;return{stiffness:E,damping:y*2*Math.sqrt(c*E),duration:i}}}const s3=12;function u3(i,l,u){let c=u;for(let p=1;p<s3;p++)c=c-i(c)/l(c);return c}function Ix(i,l){return i*Math.sqrt(1-l*l)}const c3=["duration","bounce"],f3=["stiffness","damping","mass"];function cT(i,l){return l.some(u=>i[u]!==void 0)}function d3(i){let l={velocity:Cn.velocity,stiffness:Cn.stiffness,damping:Cn.damping,mass:Cn.mass,isResolvedFromDuration:!1,...i};if(!cT(i,f3)&&cT(i,c3))if(i.visualDuration){const u=i.visualDuration,c=2*Math.PI/(u*1.2),p=c*c,m=2*fr(.05,1,1-(i.bounce||0))*Math.sqrt(p);l={...l,mass:Cn.mass,stiffness:p,damping:m}}else{const u=r3(i);l={...l,...u,mass:Cn.mass},l.isResolvedFromDuration=!0}return l}function Dv(i=Cn.visualDuration,l=Cn.bounce){const u=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:l}:i;let{restSpeed:c,restDelta:p}=u;const m=u.keyframes[0],y=u.keyframes[u.keyframes.length-1],x={done:!1,value:m},{stiffness:S,damping:E,mass:T,duration:A,velocity:R,isResolvedFromDuration:j}=d3({...u,velocity:-Uo(u.velocity||0)}),B=R||0,X=E/(2*Math.sqrt(S*T)),q=y-m,Z=Uo(Math.sqrt(S/T)),W=Math.abs(q)<5;c||(c=W?Cn.restSpeed.granular:Cn.restSpeed.default),p||(p=W?Cn.restDelta.granular:Cn.restDelta.default);let rt;if(X<1){const xt=Ix(Z,X);rt=Tt=>{const vt=Math.exp(-X*Z*Tt);return y-vt*((B+X*Z*q)/xt*Math.sin(xt*Tt)+q*Math.cos(xt*Tt))}}else if(X===1)rt=xt=>y-Math.exp(-Z*xt)*(q+(B+Z*q)*xt);else{const xt=Z*Math.sqrt(X*X-1);rt=Tt=>{const vt=Math.exp(-X*Z*Tt),ot=Math.min(xt*Tt,300);return y-vt*((B+X*Z*q)*Math.sinh(ot)+xt*q*Math.cosh(ot))/xt}}const ct={calculatedDuration:j&&A||null,next:xt=>{const Tt=rt(xt);if(j)x.done=xt>=A;else{let vt=xt===0?B:0;X<1&&(vt=xt===0?dr(B):uT(rt,xt,Tt));const ot=Math.abs(vt)<=c,jt=Math.abs(y-Tt)<=p;x.done=ot&&jt}return x.value=x.done?y:Tt,x},toString:()=>{const xt=Math.min($x(ct),Rv),Tt=sT(vt=>ct.next(xt*vt).value,xt,30);return xt+"ms "+Tt},toTransition:()=>{}};return ct}Dv.applyToOptions=i=>{const l=o3(i,100,Dv);return i.ease=l.ease,i.duration=dr(l.duration),i.type="keyframes",i};function Jx({keyframes:i,velocity:l=0,power:u=.8,timeConstant:c=325,bounceDamping:p=10,bounceStiffness:m=500,modifyTarget:y,min:x,max:S,restDelta:E=.5,restSpeed:T}){const A=i[0],R={done:!1,value:A},j=ot=>x!==void 0&&ot<x||S!==void 0&&ot>S,B=ot=>x===void 0?S:S===void 0||Math.abs(x-ot)<Math.abs(S-ot)?x:S;let X=u*l;const q=A+X,Z=y===void 0?q:y(q);Z!==q&&(X=Z-A);const W=ot=>-X*Math.exp(-ot/c),rt=ot=>Z+W(ot),ct=ot=>{const jt=W(ot),St=rt(ot);R.done=Math.abs(jt)<=E,R.value=R.done?Z:St};let xt,Tt;const vt=ot=>{j(R.value)&&(xt=ot,Tt=Dv({keyframes:[R.value,B(R.value)],velocity:uT(rt,ot,R.value),damping:p,stiffness:m,restDelta:E,restSpeed:T}))};return vt(0),{calculatedDuration:null,next:ot=>{let jt=!1;return!Tt&&xt===void 0&&(jt=!0,ct(ot),vt(ot)),xt!==void 0&&ot>=xt?Tt.next(ot-xt):(!jt&&ct(ot),R)}}}function h3(i,l,u){const c=[],p=u||os.mix||rT,m=i.length-1;for(let y=0;y<m;y++){let x=p(i[y],i[y+1]);if(l){const S=Array.isArray(l)?l[y]||jo:l;x=Fm(S,x)}c.push(x)}return c}function p3(i,l,{clamp:u=!0,ease:c,mixer:p}={}){const m=i.length;if(is(m===l.length,"Both input and output ranges must be the same length","range-length"),m===1)return()=>l[0];if(m===2&&l[0]===l[1])return()=>l[1];const y=i[0]===i[1];i[0]>i[m-1]&&(i=[...i].reverse(),l=[...l].reverse());const x=h3(l,c,p),S=x.length,E=T=>{if(y&&T<i[0])return l[0];let A=0;if(S>1)for(;A<i.length-2&&!(T<i[A+1]);A++);const R=Pm(i[A],i[A+1],T);return x[A](R)};return u?T=>E(fr(i[0],i[m-1],T)):E}function m3(i,l){const u=i[i.length-1];for(let c=1;c<=l;c++){const p=Pm(0,l,c);i.push(An(u,1,p))}}function g3(i){const l=[0];return m3(l,i.length-1),l}function y3(i,l){return i.map(u=>u*l)}function v3(i,l){return i.map(()=>l||GE).splice(0,i.length-1)}function sh({duration:i=300,keyframes:l,times:u,ease:c="easeInOut"}){const p=zz(c)?c.map(ZE):ZE(c),m={done:!1,value:l[0]},y=y3(u&&u.length===l.length?u:g3(l),i),x=p3(y,l,{ease:Array.isArray(p)?p:v3(l,p)});return{calculatedDuration:i,next:S=>(m.value=x(S),m.done=S>=i,m)}}const b3=i=>i!==null;function Fx(i,{repeat:l,repeatType:u="loop"},c,p=1){const m=i.filter(b3),x=p<0||l&&u!=="loop"&&l%2===1?0:m.length-1;return!x||c===void 0?m[x]:c}const x3={decay:Jx,inertia:Jx,tween:sh,keyframes:sh,spring:Dv};function fT(i){typeof i.type=="string"&&(i.type=x3[i.type])}class Px{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,u){return this.finished.then(l,u)}}const S3=i=>i/100;class Wx extends Px{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==ri.now()&&this.tick(ri.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;fT(l);const{type:u=sh,repeat:c=0,repeatDelay:p=0,repeatType:m,velocity:y=0}=l;let{keyframes:x}=l;const S=u||sh;process.env.NODE_ENV!=="production"&&S!==sh&&is(x.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${x}`,"spring-two-frames"),S!==sh&&typeof x[0]!="number"&&(this.mixKeyframes=Fm(S3,rT(x[0],x[1])),x=[0,100]);const E=S({...l,keyframes:x});m==="mirror"&&(this.mirroredGenerator=S({...l,keyframes:[...x].reverse(),velocity:-y})),E.calculatedDuration===null&&(E.calculatedDuration=$x(E));const{calculatedDuration:T}=E;this.calculatedDuration=T,this.resolvedDuration=T+p,this.totalDuration=this.resolvedDuration*(c+1)-p,this.generator=E}updateTime(l){const u=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(l,u=!1){const{generator:c,totalDuration:p,mixKeyframes:m,mirroredGenerator:y,resolvedDuration:x,calculatedDuration:S}=this;if(this.startTime===null)return c.next(0);const{delay:E=0,keyframes:T,repeat:A,repeatType:R,repeatDelay:j,type:B,onUpdate:X,finalKeyframe:q}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-p/this.speed,this.startTime)),u?this.currentTime=l:this.updateTime(l);const Z=this.currentTime-E*(this.playbackSpeed>=0?1:-1),W=this.playbackSpeed>=0?Z<0:Z>p;this.currentTime=Math.max(Z,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let rt=this.currentTime,ct=c;if(A){const ot=Math.min(this.currentTime,p)/x;let jt=Math.floor(ot),St=ot%1;!St&&ot>=1&&(St=1),St===1&&jt--,jt=Math.min(jt,A+1),jt%2&&(R==="reverse"?(St=1-St,j&&(St-=j/x)):R==="mirror"&&(ct=y)),rt=fr(0,1,St)*x}const xt=W?{done:!1,value:T[0]}:ct.next(rt);m&&(xt.value=m(xt.value));let{done:Tt}=xt;!W&&S!==null&&(Tt=this.playbackSpeed>=0?this.currentTime>=p:this.currentTime<=0);const vt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Tt);return vt&&B!==Jx&&(xt.value=Fx(T,this.options,q,this.speed)),X&&X(xt.value),vt&&this.finish(),xt}then(l,u){return this.finished.then(l,u)}get duration(){return Uo(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+Uo(l)}get time(){return Uo(this.currentTime)}set time(l){l=dr(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(l){this.updateTime(ri.now());const u=this.playbackSpeed!==l;this.playbackSpeed=l,u&&(this.time=Uo(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=i3,startTime:u}=this.options;this.driver||(this.driver=l(p=>this.tick(p))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=u??c),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(ri.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(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),l.observe(this)}}function w3(i){for(let l=1;l<i.length;l++)i[l]??(i[l]=i[l-1])}const cf=i=>i*180/Math.PI,tS=i=>{const l=cf(Math.atan2(i[1],i[0]));return eS(l)},E3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:tS,rotateZ:tS,skewX:i=>cf(Math.atan(i[1])),skewY:i=>cf(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},eS=i=>(i=i%360,i<0&&(i+=360),i),dT=tS,hT=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),pT=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),T3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:hT,scaleY:pT,scale:i=>(hT(i)+pT(i))/2,rotateX:i=>eS(cf(Math.atan2(i[6],i[5]))),rotateY:i=>eS(cf(Math.atan2(-i[2],i[0]))),rotateZ:dT,rotate:dT,skewX:i=>cf(Math.atan(i[4])),skewY:i=>cf(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function nS(i){return i.includes("scale")?1:0}function aS(i,l){if(!i||i==="none")return nS(l);const u=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,p;if(u)c=T3,p=u;else{const x=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=E3,p=x}if(!p)return nS(l);const m=c[l],y=p[1].split(",").map(C3);return typeof m=="function"?m(y):y[m]}const A3=(i,l)=>{const{transform:u="none"}=getComputedStyle(i);return aS(u,l)};function C3(i){return parseFloat(i.trim())}const uh=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ch=new Set(uh),mT=i=>i===lh||i===Lt,R3=new Set(["x","y","z"]),D3=uh.filter(i=>!R3.has(i));function M3(i){const l=[];return D3.forEach(u=>{const c=i.getValue(u);c!==void 0&&(l.push([u,c.get()]),c.set(u.startsWith("scale")?1:0))}),l}const Su={width:({x:i},{paddingLeft:l="0",paddingRight:u="0"})=>i.max-i.min-parseFloat(l)-parseFloat(u),height:({y:i},{paddingTop:l="0",paddingBottom:u="0"})=>i.max-i.min-parseFloat(l)-parseFloat(u),top:(i,{top:l})=>parseFloat(l),left:(i,{left:l})=>parseFloat(l),bottom:({y:i},{top:l})=>parseFloat(l)+(i.max-i.min),right:({x:i},{left:l})=>parseFloat(l)+(i.max-i.min),x:(i,{transform:l})=>aS(l,"x"),y:(i,{transform:l})=>aS(l,"y")};Su.translateX=Su.x,Su.translateY=Su.y;const ff=new Set;let iS=!1,oS=!1,lS=!1;function gT(){if(oS){const i=Array.from(ff).filter(c=>c.needsMeasurement),l=new Set(i.map(c=>c.element)),u=new Map;l.forEach(c=>{const p=M3(c);p.length&&(u.set(c,p),c.render())}),i.forEach(c=>c.measureInitialState()),l.forEach(c=>{c.render();const p=u.get(c);p&&p.forEach(([m,y])=>{c.getValue(m)?.set(y)})}),i.forEach(c=>c.measureEndState()),i.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}oS=!1,iS=!1,ff.forEach(i=>i.complete(lS)),ff.clear()}function yT(){ff.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(oS=!0)})}function z3(){lS=!0,yT(),gT(),lS=!1}class rS{constructor(l,u,c,p,m,y=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=u,this.name=c,this.motionValue=p,this.element=m,this.isAsync=y}scheduleResolve(){this.state="scheduled",this.isAsync?(ff.add(this),iS||(iS=!0,mn.read(yT),mn.resolveKeyframes(gT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:u,element:c,motionValue:p}=this;if(l[0]===null){const m=p?.get(),y=l[l.length-1];if(m!==void 0)l[0]=m;else if(c&&u){const x=c.readValue(u,y);x!=null&&(l[0]=x)}l[0]===void 0&&(l[0]=y),p&&m===void 0&&p.set(l[0])}w3(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),ff.delete(this)}cancel(){this.state==="scheduled"&&(ff.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const O3=i=>i.startsWith("--");function _3(i,l,u){O3(l)?i.style.setProperty(l,u):i.style[l]=u}const k3=_x(()=>window.ScrollTimeline!==void 0),j3={};function U3(i,l){const u=_x(i);return()=>j3[l]??u()}const vT=U3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ig=([i,l,u,c])=>`cubic-bezier(${i}, ${l}, ${u}, ${c})`,bT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ig([0,.65,.55,1]),circOut:ig([.55,0,1,.45]),backIn:ig([.31,.01,.66,-.59]),backOut:ig([.33,1.53,.69,.99])};function xT(i,l){if(i)return typeof i=="function"?vT()?sT(i,l):"ease-out":XE(i)?ig(i):Array.isArray(i)?i.map(u=>xT(u,l)||bT.easeOut):bT[i]}function L3(i,l,u,{delay:c=0,duration:p=300,repeat:m=0,repeatType:y="loop",ease:x="easeOut",times:S}={},E=void 0){const T={[l]:u};S&&(T.offset=S);const A=xT(x,p);Array.isArray(A)&&(T.easing=A);const R={delay:c,duration:p,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:m+1,direction:y==="reverse"?"alternate":"normal"};return E&&(R.pseudoElement=E),i.animate(T,R)}function ST(i){return typeof i=="function"&&"applyToOptions"in i}function N3({type:i,...l}){return ST(i)&&vT()?i.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class H3 extends Px{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:u,name:c,keyframes:p,pseudoElement:m,allowFlatten:y=!1,finalKeyframe:x,onComplete:S}=l;this.isPseudoElement=!!m,this.allowFlatten=y,this.options=l,is(typeof l.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const E=N3(l);this.animation=L3(u,c,p,E,m),E.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!m){const T=Fx(p,this.options,x,this.speed);this.updateMotionValue?this.updateMotionValue(T):_3(u,c,T),this.animation.cancel()}S?.(),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:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return Uo(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+Uo(l)}get time(){return Uo(Number(this.animation.currentTime)||0)}set time(l){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=dr(l)}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&k3()?(this.animation.timeline=l,jo):u(this)}}const wT={anticipate:BE,backInOut:VE,circInOut:qE};function V3(i){return i in wT}function B3(i){typeof i.ease=="string"&&V3(i.ease)&&(i.ease=wT[i.ease])}const sS=10;class Y3 extends H3{constructor(l){B3(l),fT(l),super(l),l.startTime!==void 0&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:u,onUpdate:c,onComplete:p,element:m,...y}=this.options;if(!u)return;if(l!==void 0){u.set(l);return}const x=new Wx({...y,autoplay:!1}),S=Math.max(sS,ri.now()-this.startTime),E=fr(0,sS,S-sS);u.setWithVelocity(x.sample(Math.max(0,S-E)).value,x.sample(S).value,E),x.stop()}}const ET=(i,l)=>l==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(xu.test(i)||i==="0")&&!i.startsWith("url("));function q3(i){const l=i[0];if(i.length===1)return!0;for(let u=0;u<i.length;u++)if(i[u]!==l)return!0}function G3(i,l,u,c){const p=i[0];if(p===null)return!1;if(l==="display"||l==="visibility")return!0;const m=i[i.length-1],y=ET(p,l),x=ET(m,l);return oh(y===x,`You are trying to animate ${l} from "${p}" to "${m}". "${y?m:p}" is not an animatable value.`,"value-not-animatable"),!y||!x?!1:q3(i)||(u==="spring"||ST(u))&&c}function uS(i){i.duration=0,i.type="keyframes"}const X3=new Set(["opacity","clipPath","filter","transform"]),Q3=_x(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Z3(i){const{motionValue:l,name:u,repeatDelay:c,repeatType:p,damping:m,type:y}=i;if(!(l?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:S,transformTemplate:E}=l.owner.getProps();return Q3()&&u&&X3.has(u)&&(u!=="transform"||!E)&&!S&&!c&&p!=="mirror"&&m!==0&&y!=="inertia"}const $3=40;class K3 extends Px{constructor({autoplay:l=!0,delay:u=0,type:c="keyframes",repeat:p=0,repeatDelay:m=0,repeatType:y="loop",keyframes:x,name:S,motionValue:E,element:T,...A}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ri.now();const R={autoplay:l,delay:u,type:c,repeat:p,repeatDelay:m,repeatType:y,name:S,motionValue:E,element:T,...A},j=T?.KeyframeResolver||rS;this.keyframeResolver=new j(x,(B,X,q)=>this.onKeyframesResolved(B,X,R,!q),S,E,T),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,u,c,p){this.keyframeResolver=void 0;const{name:m,type:y,velocity:x,delay:S,isHandoff:E,onUpdate:T}=c;this.resolvedAt=ri.now(),G3(l,m,y,x)||((os.instantAnimations||!S)&&T?.(Fx(l,c,u)),l[0]=l[l.length-1],uS(c),c.repeat=0);const R={startTime:p?this.resolvedAt?this.resolvedAt-this.createdAt>$3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...c,keyframes:l},j=!E&&Z3(R)?new Y3({...R,element:R.motionValue.owner.current}):new Wx(R);j.finished.then(()=>this.notifyFinished()).catch(jo),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(l,u){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),z3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const I3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function J3(i){const l=I3.exec(i);if(!l)return[,];const[,u,c,p]=l;return[`--${u??c}`,p]}const F3=4;function TT(i,l,u=1){is(u<=F3,`Max CSS variable fallback depth detected in property "${i}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,p]=J3(i);if(!c)return;const m=window.getComputedStyle(l).getPropertyValue(c);if(m){const y=m.trim();return zE(y)?parseFloat(y):y}return Hx(p)?TT(p,l,u+1):p}function cS(i,l){return i?.[l]??i?.default??i}const P3={type:"spring",stiffness:500,damping:25,restSpeed:10},W3=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),tO={type:"keyframes",duration:.8},eO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nO=(i,{keyframes:l})=>l.length>2?tO:ch.has(i)?i.startsWith("scale")?W3(l[1]):P3:eO;function aO({when:i,delay:l,delayChildren:u,staggerChildren:c,staggerDirection:p,repeat:m,repeatType:y,repeatDelay:x,from:S,elapsed:E,...T}){return!!Object.keys(T).length}const iO=i=>i!==null;function oO(i,{repeat:l,repeatType:u="loop"},c){const p=i.filter(iO),m=l&&u!=="loop"&&l%2===1?0:p.length-1;return p[m]}function AT(i,l,u,c=0,p=1){const m=Array.from(i).sort((E,T)=>E.sortNodePosition(T)).indexOf(l),y=i.size,x=(y-1)*c;return typeof u=="function"?u(m,y):p===1?m*c:x-m*c}const fS=(i,l,u,c={},p,m)=>y=>{const x=cS(c,i)||{},S=x.delay||c.delay||0;let{elapsed:E=0}=c;E=E-dr(S);const T={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:l.getVelocity(),...x,delay:-E,onUpdate:R=>{l.set(R),x.onUpdate&&x.onUpdate(R)},onComplete:()=>{y(),x.onComplete&&x.onComplete()},name:i,motionValue:l,element:m?void 0:p};aO(x)||Object.assign(T,nO(i,T)),T.duration&&(T.duration=dr(T.duration)),T.repeatDelay&&(T.repeatDelay=dr(T.repeatDelay)),T.from!==void 0&&(T.keyframes[0]=T.from);let A=!1;if((T.type===!1||T.duration===0&&!T.repeatDelay)&&(uS(T),T.delay===0&&(A=!0)),(os.instantAnimations||os.skipAnimations)&&(A=!0,uS(T),T.delay=0),T.allowFlatten=!x.type&&!x.ease,A&&!m&&l.get()!==void 0){const R=oO(T.keyframes,x);if(R!==void 0){mn.update(()=>{T.onUpdate(R),T.onComplete()});return}}return x.isSync?new Wx(T):new K3(T)},CT=new Set(["width","height","top","left","right","bottom",...uh]),RT=30,lO=i=>!isNaN(parseFloat(i));class rO{constructor(l,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const p=ri.now();if(this.updatedAt!==p&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const m of this.dependents)m.dirty()},this.hasAnimated=!1,this.setCurrent(l),this.owner=u.owner}setCurrent(l){this.current=l,this.updatedAt=ri.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=lO(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return process.env.NODE_ENV!=="production"&&jx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",l)}on(l,u){this.events[l]||(this.events[l]=new kx);const c=this.events[l].add(u);return l==="change"?()=>{c(),mn.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,u){this.passiveEffect=l,this.stopPassiveEffect=u}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,u,c){this.set(u),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-c}jump(l,u=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=ri.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>RT)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,RT);return kE(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(l){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=l(u),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 fh(i,l){return new rO(i,l)}function DT(i){const l=[{},{}];return i?.values.forEach((u,c)=>{l[0][c]=u.get(),l[1][c]=u.getVelocity()}),l}function dS(i,l,u,c){if(typeof l=="function"){const[p,m]=DT(c);l=l(u!==void 0?u:i.custom,p,m)}if(typeof l=="string"&&(l=i.variants&&i.variants[l]),typeof l=="function"){const[p,m]=DT(c);l=l(u!==void 0?u:i.custom,p,m)}return l}function dh(i,l,u){const c=i.getProps();return dS(c,l,u!==void 0?u:c.custom,i)}const hS=i=>Array.isArray(i);function sO(i,l,u){i.hasValue(l)?i.getValue(l).set(u):i.addValue(l,fh(u))}function uO(i){return hS(i)?i[i.length-1]||0:i}function cO(i,l){const u=dh(i,l);let{transitionEnd:c={},transition:p={},...m}=u||{};m={...m,...c};for(const y in m){const x=uO(m[y]);sO(i,y,x)}}const Ja=i=>!!(i&&i.getVelocity);function fO(i){return!!(Ja(i)&&i.add)}function pS(i,l){const u=i.getValue("willChange");if(fO(u))return u.add(l);if(!u&&os.WillChange){const c=new os.WillChange("auto");i.addValue("willChange",c),c.add(l)}}function mS(i){return i.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const MT="data-"+mS("framerAppearId");function zT(i){return i.props[MT]}function dO({protectedKeys:i,needsAnimating:l},u){const c=i.hasOwnProperty(u)&&l[u]!==!0;return l[u]=!1,c}function OT(i,l,{delay:u=0,transitionOverride:c,type:p}={}){let{transition:m=i.getDefaultTransition(),transitionEnd:y,...x}=l;c&&(m=c);const S=[],E=p&&i.animationState&&i.animationState.getState()[p];for(const T in x){const A=i.getValue(T,i.latestValues[T]??null),R=x[T];if(R===void 0||E&&dO(E,T))continue;const j={delay:u,...cS(m||{},T)},B=A.get();if(B!==void 0&&!A.isAnimating&&!Array.isArray(R)&&R===B&&!j.velocity)continue;let X=!1;if(window.MotionHandoffAnimation){const Z=zT(i);if(Z){const W=window.MotionHandoffAnimation(Z,T,mn);W!==null&&(j.startTime=W,X=!0)}}pS(i,T),A.start(fS(T,A,R,i.shouldReduceMotion&&CT.has(T)?{type:!1}:j,i,X));const q=A.animation;q&&S.push(q)}return y&&Promise.all(S).then(()=>{mn.update(()=>{y&&cO(i,y)})}),S}function gS(i,l,u={}){const c=dh(i,l,u.type==="exit"?i.presenceContext?.custom:void 0);let{transition:p=i.getDefaultTransition()||{}}=c||{};u.transitionOverride&&(p=u.transitionOverride);const m=c?()=>Promise.all(OT(i,c,u)):()=>Promise.resolve(),y=i.variantChildren&&i.variantChildren.size?(S=0)=>{const{delayChildren:E=0,staggerChildren:T,staggerDirection:A}=p;return hO(i,l,S,E,T,A,u)}:()=>Promise.resolve(),{when:x}=p;if(x){const[S,E]=x==="beforeChildren"?[m,y]:[y,m];return S().then(()=>E())}else return Promise.all([m(),y(u.delay)])}function hO(i,l,u=0,c=0,p=0,m=1,y){const x=[];for(const S of i.variantChildren)S.notify("AnimationStart",l),x.push(gS(S,l,{...y,delay:u+(typeof c=="function"?0:c)+AT(i.variantChildren,S,c,p,m)}).then(()=>S.notify("AnimationComplete",l)));return Promise.all(x)}function pO(i,l,u={}){i.notify("AnimationStart",l);let c;if(Array.isArray(l)){const p=l.map(m=>gS(i,m,u));c=Promise.all(p)}else if(typeof l=="string")c=gS(i,l,u);else{const p=typeof l=="function"?dh(i,l,u.custom):l;c=Promise.all(OT(i,p,u))}return c.then(()=>{i.notify("AnimationComplete",l)})}const mO={test:i=>i==="auto",parse:i=>i},_T=i=>l=>l.test(i),kT=[lh,Lt,hr,bu,qz,Yz,mO],jT=i=>kT.find(_T(i));function gO(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||_E(i):!0}const yO=new Set(["brightness","contrast","saturate","opacity"]);function vO(i){const[l,u]=i.slice(0,-1).split("(");if(l==="drop-shadow")return i;const[c]=u.match(Vx)||[];if(!c)return i;const p=u.replace(c,"");let m=yO.has(l)?1:0;return c!==u&&(m*=100),l+"("+m+p+")"}const bO=/\b([a-z-]*)\(.*?\)/gu,yS={...xu,getAnimatableNone:i=>{const l=i.match(bO);return l?l.map(vO).join(" "):i}},UT={...lh,transform:Math.round},vS={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,inset:Lt,insetBlock:Lt,insetBlockStart:Lt,insetBlockEnd:Lt,insetInline:Lt,insetInlineStart:Lt,insetInlineEnd:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,paddingBlock:Lt,paddingBlockStart:Lt,paddingBlockEnd:Lt,paddingInline:Lt,paddingInlineStart:Lt,paddingInlineEnd:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,marginBlock:Lt,marginBlockStart:Lt,marginBlockEnd:Lt,marginInline:Lt,marginInlineStart:Lt,marginInlineEnd:Lt,backgroundPositionX:Lt,backgroundPositionY:Lt,...{rotate:bu,rotateX:bu,rotateY:bu,rotateZ:bu,scale:Av,scaleX:Av,scaleY:Av,scaleZ:Av,skew:bu,skewX:bu,skewY:bu,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:tg,originX:PE,originY:PE,originZ:Lt},zIndex:UT,fillOpacity:tg,strokeOpacity:tg,numOctaves:UT},xO={...vS,color:Kn,backgroundColor:Kn,outlineColor:Kn,fill:Kn,stroke:Kn,borderColor:Kn,borderTopColor:Kn,borderRightColor:Kn,borderBottomColor:Kn,borderLeftColor:Kn,filter:yS,WebkitFilter:yS},LT=i=>xO[i];function NT(i,l){let u=LT(i);return u!==yS&&(u=xu),u.getAnimatableNone?u.getAnimatableNone(l):void 0}const SO=new Set(["auto","none","0"]);function wO(i,l,u){let c=0,p;for(;c<i.length&&!p;){const m=i[c];typeof m=="string"&&!SO.has(m)&&ag(m).values.length&&(p=i[c]),c++}if(p&&u)for(const m of l)i[m]=NT(u,p)}class EO extends rS{constructor(l,u,c,p,m){super(l,u,c,p,m,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:u,name:c}=this;if(!u||!u.current)return;super.readKeyframes();for(let T=0;T<l.length;T++){let A=l[T];if(typeof A=="string"&&(A=A.trim(),Hx(A))){const R=TT(A,u.current);R!==void 0&&(l[T]=R),T===l.length-1&&(this.finalKeyframe=A)}}if(this.resolveNoneKeyframes(),!CT.has(c)||l.length!==2)return;const[p,m]=l,y=jT(p),x=jT(m),S=JE(p),E=JE(m);if(S!==E&&Su[c]){this.needsMeasurement=!0;return}if(y!==x)if(mT(y)&&mT(x))for(let T=0;T<l.length;T++){const A=l[T];typeof A=="string"&&(l[T]=parseFloat(A))}else Su[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:u}=this,c=[];for(let p=0;p<l.length;p++)(l[p]===null||gO(l[p]))&&c.push(p);c.length&&wO(l,c,u)}measureInitialState(){const{element:l,unresolvedKeyframes:u,name:c}=this;if(!l||!l.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Su[c](l.measureViewportBox(),window.getComputedStyle(l.current)),u[0]=this.measuredOrigin;const p=u[u.length-1];p!==void 0&&l.getValue(c,p).jump(p,!1)}measureEndState(){const{element:l,name:u,unresolvedKeyframes:c}=this;if(!l||!l.current)return;const p=l.getValue(u);p&&p.jump(this.measuredOrigin,!1);const m=c.length-1,y=c[m];c[m]=Su[u](l.measureViewportBox(),window.getComputedStyle(l.current)),y!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=y),this.removedTransforms?.length&&this.removedTransforms.forEach(([x,S])=>{l.getValue(x).set(S)}),this.resolveNoneKeyframes()}}function TO(i,l,u){if(i instanceof EventTarget)return[i];if(typeof i=="string"){let c=document;const p=u?.[i]??c.querySelectorAll(i);return p?Array.from(p):[]}return Array.from(i)}const HT=(i,l)=>l&&typeof i=="number"?l.transform(i):i;function VT(i){return OE(i)&&"offsetHeight"in i}const{schedule:bS}=$E(queueMicrotask,!1),_l={x:!1,y:!1};function BT(){return _l.x||_l.y}function AO(i){return i==="x"||i==="y"?_l[i]?null:(_l[i]=!0,()=>{_l[i]=!1}):_l.x||_l.y?null:(_l.x=_l.y=!0,()=>{_l.x=_l.y=!1})}function YT(i,l){const u=TO(i),c=new AbortController,p={passive:!0,...l,signal:c.signal};return[u,p,()=>c.abort()]}function qT(i){return!(i.pointerType==="touch"||BT())}function CO(i,l,u={}){const[c,p,m]=YT(i,u),y=x=>{if(!qT(x))return;const{target:S}=x,E=l(S,x);if(typeof E!="function"||!S)return;const T=A=>{qT(A)&&(E(A),S.removeEventListener("pointerleave",T))};S.addEventListener("pointerleave",T,p)};return c.forEach(x=>{x.addEventListener("pointerenter",y,p)}),m}const GT=(i,l)=>l?i===l?!0:GT(i,l.parentElement):!1,xS=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,RO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function XT(i){return RO.has(i.tagName)||i.isContentEditable===!0}const Mv=new WeakSet;function QT(i){return l=>{l.key==="Enter"&&i(l)}}function SS(i,l){i.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const DO=(i,l)=>{const u=i.currentTarget;if(!u)return;const c=QT(()=>{if(Mv.has(u))return;SS(u,"down");const p=QT(()=>{SS(u,"up")}),m=()=>SS(u,"cancel");u.addEventListener("keyup",p,l),u.addEventListener("blur",m,l)});u.addEventListener("keydown",c,l),u.addEventListener("blur",()=>u.removeEventListener("keydown",c),l)};function ZT(i){return xS(i)&&!BT()}function MO(i,l,u={}){const[c,p,m]=YT(i,u),y=x=>{const S=x.currentTarget;if(!ZT(x))return;Mv.add(S);const E=l(S,x),T=(j,B)=>{window.removeEventListener("pointerup",A),window.removeEventListener("pointercancel",R),Mv.has(S)&&Mv.delete(S),ZT(j)&&typeof E=="function"&&E(j,{success:B})},A=j=>{T(j,S===window||S===document||u.useGlobalTarget||GT(S,j.target))},R=j=>{T(j,!1)};window.addEventListener("pointerup",A,p),window.addEventListener("pointercancel",R,p)};return c.forEach(x=>{(u.useGlobalTarget?window:x).addEventListener("pointerdown",y,p),VT(x)&&(x.addEventListener("focus",E=>DO(E,p)),!XT(x)&&!x.hasAttribute("tabindex")&&(x.tabIndex=0))}),m}function $T(i){return OE(i)&&"ownerSVGElement"in i}function zO(i){return $T(i)&&i.tagName==="svg"}const OO=[...kT,Kn,xu],_O=i=>OO.find(_T(i)),KT=()=>({translate:0,scale:1,origin:0,originPoint:0}),hh=()=>({x:KT(),y:KT()}),IT=()=>({min:0,max:0}),da=()=>({x:IT(),y:IT()}),wS={current:null},JT={current:!1},kO=typeof window<"u";function jO(){if(JT.current=!0,!!kO)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),l=()=>wS.current=i.matches;i.addEventListener("change",l),l()}else wS.current=!1}const UO=new WeakMap;function zv(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function og(i){return typeof i=="string"||Array.isArray(i)}const ES=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],TS=["initial",...ES];function Ov(i){return zv(i.animate)||TS.some(l=>og(i[l]))}function FT(i){return!!(Ov(i)||i.variants)}function LO(i,l,u){for(const c in l){const p=l[c],m=u[c];if(Ja(p))i.addValue(c,p);else if(Ja(m))i.addValue(c,fh(p,{owner:i}));else if(m!==p)if(i.hasValue(c)){const y=i.getValue(c);y.liveStyle===!0?y.jump(p):y.hasAnimated||y.set(p)}else{const y=i.getStaticValue(c);i.addValue(c,fh(y!==void 0?y:p,{owner:i}))}}for(const c in u)l[c]===void 0&&i.removeValue(c);return l}const PT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let _v={};function WT(i){_v=i}function NO(){return _v}class HO{scrapeMotionValuesFromProps(l,u,c){return{}}constructor({parent:l,props:u,presenceContext:c,reducedMotionConfig:p,blockInitialAnimation:m,visualState:y},x={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=rS,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 R=ri.now();this.renderScheduledAt<R&&(this.renderScheduledAt=R,mn.render(this.render,!1,!0))};const{latestValues:S,renderState:E}=y;this.latestValues=S,this.baseTarget={...S},this.initialValues=u.initial?{...S}:{},this.renderState=E,this.parent=l,this.props=u,this.presenceContext=c,this.depth=l?l.depth+1:0,this.reducedMotionConfig=p,this.options=x,this.blockInitialAnimation=!!m,this.isControllingVariants=Ov(u),this.isVariantNode=FT(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:T,...A}=this.scrapeMotionValuesFromProps(u,{},this);for(const R in A){const j=A[R];S[R]!==void 0&&Ja(j)&&j.set(S[R])}}mount(l){this.current=l,UO.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,c)=>this.bindToMotionValue(c,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(JT.current||jO(),this.shouldReduceMotion=wS.current),process.env.NODE_ENV!=="production"&&jx(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(),vu(this.notifyUpdate),vu(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const u=this.features[l];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(l){this.children.add(l),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(l)}removeChild(l){this.children.delete(l),this.enteringChildren&&this.enteringChildren.delete(l)}bindToMotionValue(l,u){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();const c=ch.has(l);c&&this.onBindTransform&&this.onBindTransform();const p=u.on("change",y=>{this.latestValues[l]=y,this.props.onUpdate&&mn.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let m;typeof window<"u"&&window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,l,u)),this.valueSubscriptions.set(l,()=>{p(),m&&m(),u.owner&&u.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in _v){const u=_v[l];if(!u)continue;const{isEnabled:c,Feature:p}=u;if(!this.features[l]&&p&&c(this.props)&&(this.features[l]=new p(this)),this.features[l]){const m=this.features[l];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):da()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,u){this.latestValues[l]=u}update(l,u){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let c=0;c<PT.length;c++){const p=PT[c];this.propEventSubscriptions[p]&&(this.propEventSubscriptions[p](),delete this.propEventSubscriptions[p]);const m="on"+p,y=l[m];y&&(this.propEventSubscriptions[p]=this.on(p,y))}this.prevMotionValues=LO(this,this.scrapeMotionValuesFromProps(l,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]: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(l){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(l),()=>u.variantChildren.delete(l)}addValue(l,u){const c=this.values.get(l);u!==c&&(c&&this.removeValue(l),this.bindToMotionValue(l,u),this.values.set(l,u),this.latestValues[l]=u.get())}removeValue(l){this.values.delete(l);const u=this.valueSubscriptions.get(l);u&&(u(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,u){if(this.props.values&&this.props.values[l])return this.props.values[l];let c=this.values.get(l);return c===void 0&&u!==void 0&&(c=fh(u===null?void 0:u,{owner:this}),this.addValue(l,c)),c}readValue(l,u){let c=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return c!=null&&(typeof c=="string"&&(zE(c)||_E(c))?c=parseFloat(c):!_O(c)&&xu.test(u)&&(c=NT(l,u)),this.setBaseTarget(l,Ja(c)?c.get():c)),Ja(c)?c.get():c}setBaseTarget(l,u){this.baseTarget[l]=u}getBaseTarget(l){const{initial:u}=this.props;let c;if(typeof u=="string"||typeof u=="object"){const m=dS(this.props,u,this.presenceContext?.custom);m&&(c=m[l])}if(u&&c!==void 0)return c;const p=this.getBaseTargetFromProps(this.props,l);return p!==void 0&&!Ja(p)?p:this.initialValues[l]!==void 0&&c===void 0?void 0:this.baseTarget[l]}on(l,u){return this.events[l]||(this.events[l]=new kx),this.events[l].add(u)}notify(l,...u){this.events[l]&&this.events[l].notify(...u)}scheduleRenderMicrotask(){bS.render(this.render)}}class wu{constructor(l){this.isMounted=!1,this.node=l}update(){}}class tA extends HO{constructor(){super(...arguments),this.KeyframeResolver=EO}sortInstanceNodePosition(l,u){return l.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(l,u){const c=l.style;return c?c[u]:void 0}removeValueFromRenderState(l,{vars:u,style:c}){delete u[l],delete c[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;Ja(l)&&(this.childSubscription=l.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function eA({top:i,left:l,right:u,bottom:c}){return{x:{min:l,max:u},y:{min:i,max:c}}}function VO({x:i,y:l}){return{top:l.min,right:i.max,bottom:l.max,left:i.min}}function BO(i,l){if(!l)return i;const u=l({x:i.left,y:i.top}),c=l({x:i.right,y:i.bottom});return{top:u.y,left:u.x,bottom:c.y,right:c.x}}function AS(i){return i===void 0||i===1}function CS({scale:i,scaleX:l,scaleY:u}){return!AS(i)||!AS(l)||!AS(u)}function df(i){return CS(i)||nA(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function nA(i){return aA(i.x)||aA(i.y)}function aA(i){return i&&i!=="0%"}function kv(i,l,u){const c=i-u,p=l*c;return u+p}function iA(i,l,u,c,p){return p!==void 0&&(i=kv(i,p,c)),kv(i,u,c)+l}function RS(i,l=0,u=1,c,p){i.min=iA(i.min,l,u,c,p),i.max=iA(i.max,l,u,c,p)}function oA(i,{x:l,y:u}){RS(i.x,l.translate,l.scale,l.originPoint),RS(i.y,u.translate,u.scale,u.originPoint)}const lA=.999999999999,rA=1.0000000000001;function YO(i,l,u,c=!1){const p=u.length;if(!p)return;l.x=l.y=1;let m,y;for(let x=0;x<p;x++){m=u[x],y=m.projectionDelta;const{visualElement:S}=m.options;S&&S.props.style&&S.props.style.display==="contents"||(c&&m.options.layoutScroll&&m.scroll&&m!==m.root&&mh(i,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),y&&(l.x*=y.x.scale,l.y*=y.y.scale,oA(i,y)),c&&df(m.latestValues)&&mh(i,m.latestValues))}l.x<rA&&l.x>lA&&(l.x=1),l.y<rA&&l.y>lA&&(l.y=1)}function ph(i,l){i.min=i.min+l,i.max=i.max+l}function sA(i,l,u,c,p=.5){const m=An(i.min,i.max,p);RS(i,l,u,m,c)}function mh(i,l){sA(i.x,l.x,l.scaleX,l.scale,l.originX),sA(i.y,l.y,l.scaleY,l.scale,l.originY)}function uA(i,l){return eA(BO(i.getBoundingClientRect(),l))}function qO(i,l,u){const c=uA(i,u),{scroll:p}=l;return p&&(ph(c.x,p.offset.x),ph(c.y,p.offset.y)),c}const GO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XO=uh.length;function QO(i,l,u){let c="",p=!0;for(let m=0;m<XO;m++){const y=uh[m],x=i[y];if(x===void 0)continue;let S=!0;if(typeof x=="number"?S=x===(y.startsWith("scale")?1:0):S=parseFloat(x)===0,!S||u){const E=HT(x,vS[y]);if(!S){p=!1;const T=GO[y]||y;c+=`${T}(${E}) `}u&&(l[y]=E)}}return c=c.trim(),u?c=u(l,p?"":c):p&&(c="none"),c}function DS(i,l,u){const{style:c,vars:p,transformOrigin:m}=i;let y=!1,x=!1;for(const S in l){const E=l[S];if(ch.has(S)){y=!0;continue}else if(IE(S)){p[S]=E;continue}else{const T=HT(E,vS[S]);S.startsWith("origin")?(x=!0,m[S]=T):c[S]=T}}if(l.transform||(y||u?c.transform=QO(l,i.transform,u):c.transform&&(c.transform="none")),x){const{originX:S="50%",originY:E="50%",originZ:T=0}=m;c.transformOrigin=`${S} ${E} ${T}`}}function cA(i,{style:l,vars:u},c,p){const m=i.style;let y;for(y in l)m[y]=l[y];p?.applyProjectionStyles(m,c);for(y in u)m.setProperty(y,u[y])}function fA(i,l){return l.max===l.min?0:i/(l.max-l.min)*100}const lg={correct:(i,l)=>{if(!l.target)return i;if(typeof i=="string")if(Lt.test(i))i=parseFloat(i);else return i;const u=fA(i,l.target.x),c=fA(i,l.target.y);return`${u}% ${c}%`}},ZO={correct:(i,{treeScale:l,projectionDelta:u})=>{const c=i,p=xu.parse(i);if(p.length>5)return c;const m=xu.createTransformer(i),y=typeof p[0]!="number"?1:0,x=u.x.scale*l.x,S=u.y.scale*l.y;p[0+y]/=x,p[1+y]/=S;const E=An(x,S,.5);return typeof p[2+y]=="number"&&(p[2+y]/=E),typeof p[3+y]=="number"&&(p[3+y]/=E),m(p)}},MS={borderRadius:{...lg,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:lg,borderTopRightRadius:lg,borderBottomLeftRadius:lg,borderBottomRightRadius:lg,boxShadow:ZO};function dA(i,{layout:l,layoutId:u}){return ch.has(i)||i.startsWith("origin")||(l||u!==void 0)&&(!!MS[i]||i==="opacity")}function zS(i,l,u){const c=i.style,p=l?.style,m={};if(!c)return m;for(const y in c)(Ja(c[y])||p&&Ja(p[y])||dA(y,i)||u?.getValue(y)?.liveStyle!==void 0)&&(m[y]=c[y]);return m}function $O(i){return window.getComputedStyle(i)}class KO extends tA{constructor(){super(...arguments),this.type="html",this.renderInstance=cA}readValueFromInstance(l,u){if(ch.has(u))return this.projection?.isProjecting?nS(u):A3(l,u);{const c=$O(l),p=(IE(u)?c.getPropertyValue(u):c[u])||0;return typeof p=="string"?p.trim():p}}measureInstanceViewportBox(l,{transformPagePoint:u}){return uA(l,u)}build(l,u,c){DS(l,u,c.transformTemplate)}scrapeMotionValuesFromProps(l,u,c){return zS(l,u,c)}}const IO={offset:"stroke-dashoffset",array:"stroke-dasharray"},JO={offset:"strokeDashoffset",array:"strokeDasharray"};function FO(i,l,u=1,c=0,p=!0){i.pathLength=1;const m=p?IO:JO;i[m.offset]=Lt.transform(-c);const y=Lt.transform(l),x=Lt.transform(u);i[m.array]=`${y} ${x}`}const PO=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hA(i,{attrX:l,attrY:u,attrScale:c,pathLength:p,pathSpacing:m=1,pathOffset:y=0,...x},S,E,T){if(DS(i,x,E),S){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:A,style:R}=i;A.transform&&(R.transform=A.transform,delete A.transform),(R.transform||A.transformOrigin)&&(R.transformOrigin=A.transformOrigin??"50% 50%",delete A.transformOrigin),R.transform&&(R.transformBox=T?.transformBox??"fill-box",delete A.transformBox);for(const j of PO)A[j]!==void 0&&(R[j]=A[j],delete A[j]);l!==void 0&&(A.x=l),u!==void 0&&(A.y=u),c!==void 0&&(A.scale=c),p!==void 0&&FO(A,p,m,y,!1)}const pA=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"]),mA=i=>typeof i=="string"&&i.toLowerCase()==="svg";function WO(i,l,u,c){cA(i,l,void 0,c);for(const p in l.attrs)i.setAttribute(pA.has(p)?p:mS(p),l.attrs[p])}function gA(i,l,u){const c=zS(i,l,u);for(const p in i)if(Ja(i[p])||Ja(l[p])){const m=uh.indexOf(p)!==-1?"attr"+p.charAt(0).toUpperCase()+p.substring(1):p;c[m]=i[p]}return c}class t_ extends tA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=da}getBaseTargetFromProps(l,u){return l[u]}readValueFromInstance(l,u){if(ch.has(u)){const c=LT(u);return c&&c.default||0}return u=pA.has(u)?u:mS(u),l.getAttribute(u)}scrapeMotionValuesFromProps(l,u,c){return gA(l,u,c)}build(l,u,c){hA(l,u,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(l,u,c,p){WO(l,u,c,p)}mount(l){this.isSVGTag=mA(l.tagName),super.mount(l)}}const e_=TS.length;function yA(i){if(!i)return;if(!i.isControllingVariants){const u=i.parent?yA(i.parent)||{}:{};return i.props.initial!==void 0&&(u.initial=i.props.initial),u}const l={};for(let u=0;u<e_;u++){const c=TS[u],p=i.props[c];(og(p)||p===!1)&&(l[c]=p)}return l}function vA(i,l){if(!Array.isArray(l))return!1;const u=l.length;if(u!==i.length)return!1;for(let c=0;c<u;c++)if(l[c]!==i[c])return!1;return!0}const n_=[...ES].reverse(),a_=ES.length;function i_(i){return l=>Promise.all(l.map(({animation:u,options:c})=>pO(i,u,c)))}function o_(i){let l=i_(i),u=bA(),c=!0;const p=S=>(E,T)=>{const A=dh(i,T,S==="exit"?i.presenceContext?.custom:void 0);if(A){const{transition:R,transitionEnd:j,...B}=A;E={...E,...B,...j}}return E};function m(S){l=S(i)}function y(S){const{props:E}=i,T=yA(i.parent)||{},A=[],R=new Set;let j={},B=1/0;for(let q=0;q<a_;q++){const Z=n_[q],W=u[Z],rt=E[Z]!==void 0?E[Z]:T[Z],ct=og(rt),xt=Z===S?W.isActive:null;xt===!1&&(B=q);let Tt=rt===T[Z]&&rt!==E[Z]&&ct;if(Tt&&c&&i.manuallyAnimateOnMount&&(Tt=!1),W.protectedKeys={...j},!W.isActive&&xt===null||!rt&&!W.prevProp||zv(rt)||typeof rt=="boolean")continue;const vt=l_(W.prevProp,rt);let ot=vt||Z===S&&W.isActive&&!Tt&&ct||q>B&&ct,jt=!1;const St=Array.isArray(rt)?rt:[rt];let oe=St.reduce(p(Z),{});xt===!1&&(oe={});const{prevResolvedValues:Mt={}}=W,Nt={...Mt,...oe},Et=F=>{ot=!0,R.has(F)&&(jt=!0,R.delete(F)),W.needsAnimating[F]=!0;const P=i.getValue(F);P&&(P.liveStyle=!1)};for(const F in Nt){const P=oe[F],Rt=Mt[F];if(j.hasOwnProperty(F))continue;let Ht=!1;hS(P)&&hS(Rt)?Ht=!vA(P,Rt):Ht=P!==Rt,Ht?P!=null?Et(F):R.add(F):P!==void 0&&R.has(F)?Et(F):W.protectedKeys[F]=!0}W.prevProp=rt,W.prevResolvedValues=oe,W.isActive&&(j={...j,...oe}),c&&i.blockInitialAnimation&&(ot=!1);const bt=Tt&&vt;ot&&(!bt||jt)&&A.push(...St.map(F=>{const P={type:Z};if(typeof F=="string"&&c&&!bt&&i.manuallyAnimateOnMount&&i.parent){const{parent:Rt}=i,Ht=dh(Rt,F);if(Rt.enteringChildren&&Ht){const{delayChildren:k}=Ht.transition||{};P.delay=AT(Rt.enteringChildren,i,k)}}return{animation:F,options:P}}))}if(R.size){const q={};if(typeof E.initial!="boolean"){const Z=dh(i,Array.isArray(E.initial)?E.initial[0]:E.initial);Z&&Z.transition&&(q.transition=Z.transition)}R.forEach(Z=>{const W=i.getBaseTarget(Z),rt=i.getValue(Z);rt&&(rt.liveStyle=!0),q[Z]=W??null}),A.push({animation:q})}let X=!!A.length;return c&&(E.initial===!1||E.initial===E.animate)&&!i.manuallyAnimateOnMount&&(X=!1),c=!1,X?l(A):Promise.resolve()}function x(S,E){if(u[S].isActive===E)return Promise.resolve();i.variantChildren?.forEach(A=>A.animationState?.setActive(S,E)),u[S].isActive=E;const T=y(S);for(const A in u)u[A].protectedKeys={};return T}return{animateChanges:y,setActive:x,setAnimateFunction:m,getState:()=>u,reset:()=>{u=bA()}}}function l_(i,l){return typeof l=="string"?l!==i:Array.isArray(l)?!vA(l,i):!1}function hf(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bA(){return{animate:hf(!0),whileInView:hf(),whileHover:hf(),whileTap:hf(),whileDrag:hf(),whileFocus:hf(),exit:hf()}}const xA=1e-4,r_=1-xA,s_=1+xA,SA=.01,u_=0-SA,c_=0+SA;function si(i){return i.max-i.min}function f_(i,l,u){return Math.abs(i-l)<=u}function wA(i,l,u,c=.5){i.origin=c,i.originPoint=An(l.min,l.max,i.origin),i.scale=si(u)/si(l),i.translate=An(u.min,u.max,i.origin)-i.originPoint,(i.scale>=r_&&i.scale<=s_||isNaN(i.scale))&&(i.scale=1),(i.translate>=u_&&i.translate<=c_||isNaN(i.translate))&&(i.translate=0)}function rg(i,l,u,c){wA(i.x,l.x,u.x,c?c.originX:void 0),wA(i.y,l.y,u.y,c?c.originY:void 0)}function EA(i,l,u){i.min=u.min+l.min,i.max=i.min+si(l)}function d_(i,l,u){EA(i.x,l.x,u.x),EA(i.y,l.y,u.y)}function TA(i,l,u){i.min=l.min-u.min,i.max=i.min+si(l)}function jv(i,l,u){TA(i.x,l.x,u.x),TA(i.y,l.y,u.y)}function AA(i,l,u,c,p){return i-=l,i=kv(i,1/u,c),p!==void 0&&(i=kv(i,1/p,c)),i}function h_(i,l=0,u=1,c=.5,p,m=i,y=i){if(hr.test(l)&&(l=parseFloat(l),l=An(y.min,y.max,l/100)-y.min),typeof l!="number")return;let x=An(m.min,m.max,c);i===m&&(x-=l),i.min=AA(i.min,l,u,x,p),i.max=AA(i.max,l,u,x,p)}function CA(i,l,[u,c,p],m,y){h_(i,l[u],l[c],l[p],l.scale,m,y)}const p_=["x","scaleX","originX"],m_=["y","scaleY","originY"];function RA(i,l,u,c){CA(i.x,l,p_,u?u.x:void 0,c?c.x:void 0),CA(i.y,l,m_,u?u.y:void 0,c?c.y:void 0)}function DA(i,l){i.min=l.min,i.max=l.max}function kl(i,l){DA(i.x,l.x),DA(i.y,l.y)}function MA(i,l){i.translate=l.translate,i.scale=l.scale,i.originPoint=l.originPoint,i.origin=l.origin}function zA(i){return i.translate===0&&i.scale===1}function OA(i){return zA(i.x)&&zA(i.y)}function _A(i,l){return i.min===l.min&&i.max===l.max}function g_(i,l){return _A(i.x,l.x)&&_A(i.y,l.y)}function kA(i,l){return Math.round(i.min)===Math.round(l.min)&&Math.round(i.max)===Math.round(l.max)}function jA(i,l){return kA(i.x,l.x)&&kA(i.y,l.y)}function UA(i){return si(i.x)/si(i.y)}function LA(i,l){return i.translate===l.translate&&i.scale===l.scale&&i.originPoint===l.originPoint}function Lo(i){return[i("x"),i("y")]}function y_(i,l,u){let c="";const p=i.x.translate/l.x,m=i.y.translate/l.y,y=u?.z||0;if((p||m||y)&&(c=`translate3d(${p}px, ${m}px, ${y}px) `),(l.x!==1||l.y!==1)&&(c+=`scale(${1/l.x}, ${1/l.y}) `),u){const{transformPerspective:E,rotate:T,rotateX:A,rotateY:R,skewX:j,skewY:B}=u;E&&(c=`perspective(${E}px) ${c}`),T&&(c+=`rotate(${T}deg) `),A&&(c+=`rotateX(${A}deg) `),R&&(c+=`rotateY(${R}deg) `),j&&(c+=`skewX(${j}deg) `),B&&(c+=`skewY(${B}deg) `)}const x=i.x.scale*l.x,S=i.y.scale*l.y;return(x!==1||S!==1)&&(c+=`scale(${x}, ${S})`),c||"none"}const NA=["TopLeft","TopRight","BottomLeft","BottomRight"],v_=NA.length,HA=i=>typeof i=="string"?parseFloat(i):i,VA=i=>typeof i=="number"||Lt.test(i);function b_(i,l,u,c,p,m){p?(i.opacity=An(0,u.opacity??1,x_(c)),i.opacityExit=An(l.opacity??1,0,S_(c))):m&&(i.opacity=An(l.opacity??1,u.opacity??1,c));for(let y=0;y<v_;y++){const x=`border${NA[y]}Radius`;let S=BA(l,x),E=BA(u,x);if(S===void 0&&E===void 0)continue;S||(S=0),E||(E=0),S===0||E===0||VA(S)===VA(E)?(i[x]=Math.max(An(HA(S),HA(E),c),0),(hr.test(E)||hr.test(S))&&(i[x]+="%")):i[x]=E}(l.rotate||u.rotate)&&(i.rotate=An(l.rotate||0,u.rotate||0,c))}function BA(i,l){return i[l]!==void 0?i[l]:i.borderRadius}const x_=YA(0,.5,YE),S_=YA(.5,.95,jo);function YA(i,l,u){return c=>c<i?0:c>l?1:u(Pm(i,l,c))}function w_(i,l){const u=ri.now(),c=({timestamp:p})=>{const m=p-u;m>=l&&(vu(c),i(m-l))};return mn.setup(c,!0),()=>vu(c)}function sg(i,l,u,c={passive:!0}){return i.addEventListener(l,u,c),()=>i.removeEventListener(l,u)}function Uv(i){return Ja(i)?i.get():i}function E_(i,l,u){const c=Ja(i)?i:fh(i);return c.start(fS("",c,l,u)),c.animation}const T_=(i,l)=>i.depth-l.depth;class A_{constructor(){this.children=[],this.isDirty=!1}add(l){Mx(this.children,l),this.isDirty=!0}remove(l){zx(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(T_),this.isDirty=!1,this.children.forEach(l)}}class C_{constructor(){this.members=[]}add(l){Mx(this.members,l),l.scheduleRender()}remove(l){if(zx(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(l){const u=this.members.findIndex(p=>l===p);if(u===0)return!1;let c;for(let p=u;p>=0;p--){const m=this.members[p];if(m.isPresent!==!1){c=m;break}}return c?(this.promote(c),!0):!1}promote(l,u){const c=this.lead;if(l!==c&&(this.prevLead=c,this.lead=l,l.show(),c)){c.instance&&c.scheduleRender(),l.scheduleRender(),l.resumeFrom=c,u&&(l.resumeFrom.preserveOpacity=!0),c.snapshot&&(l.snapshot=c.snapshot,l.snapshot.latestValues=c.animationValues||c.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);const{crossfade:p}=l.options;p===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:u,resumingFrom:c}=l;u.onExitComplete&&u.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Lv={hasAnimatedSinceResize:!0,hasEverUpdated:!1},OS=["","X","Y","Z"],R_=1e3;let D_=0;function _S(i,l,u,c){const{latestValues:p}=l;p[i]&&(u[i]=p[i],l.setStaticValue(i,0),c&&(c[i]=0))}function qA(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:l}=i.options;if(!l)return;const u=zT(l);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:p,layoutId:m}=i.options;window.MotionCancelOptimisedAnimation(u,"transform",mn,!(p||m))}const{parent:c}=i;c&&!c.hasCheckedOptimisedAppear&&qA(c)}function GA({attachResizeListener:i,defaultParent:l,measureScroll:u,checkIsScrollRoot:c,resetTransform:p}){return class{constructor(y={},x=l?.()){this.id=D_++,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(O_),this.nodes.forEach(U_),this.nodes.forEach(L_),this.nodes.forEach(__)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,this.root=x?x.root||x:this,this.path=x?[...x.path,x]:[],this.parent=x,this.depth=x?x.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new A_)}addEventListener(y,x){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new kx),this.eventHandlers.get(y).add(x)}notifyListeners(y,...x){const S=this.eventHandlers.get(y);S&&S.notify(...x)}hasListeners(y){return this.eventHandlers.has(y)}mount(y){if(this.instance)return;this.isSVG=$T(y)&&!zO(y),this.instance=y;const{layoutId:x,layout:S,visualElement:E}=this.options;if(E&&!E.current&&E.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(S||x)&&(this.isLayoutDirty=!0),i){let T,A=0;const R=()=>this.root.updateBlockedByResize=!1;mn.read(()=>{A=window.innerWidth}),i(y,()=>{const j=window.innerWidth;j!==A&&(A=j,this.root.updateBlockedByResize=!0,T&&T(),T=w_(R,250),Lv.hasAnimatedSinceResize&&(Lv.hasAnimatedSinceResize=!1,this.nodes.forEach(ZA)))})}x&&this.root.registerSharedNode(x,this),this.options.animate!==!1&&E&&(x||S)&&this.addEventListener("didUpdate",({delta:T,hasLayoutChanged:A,hasRelativeLayoutChanged:R,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const B=this.options.transition||E.getDefaultTransition()||Y_,{onLayoutAnimationStart:X,onLayoutAnimationComplete:q}=E.getProps(),Z=!this.targetLayout||!jA(this.targetLayout,j),W=!A&&R;if(this.options.layoutRoot||this.resumeFrom||W||A&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const rt={...cS(B,"layout"),onPlay:X,onComplete:q};(E.shouldReduceMotion||this.options.layoutRoot)&&(rt.delay=0,rt.type=!1),this.startAnimation(rt),this.setAnimationOrigin(T,W)}else A||ZA(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vu(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(N_),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qA(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let T=0;T<this.path.length;T++){const A=this.path[T];A.shouldResetTransform=!0,A.updateScroll("snapshot"),A.options.layoutRoot&&A.willUpdate(!1)}const{layoutId:x,layout:S}=this.options;if(x===void 0&&!S)return;const E=this.getTransformTemplate();this.prevTransformTemplateValue=E?E(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(XA);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(QA);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(j_),this.nodes.forEach(M_),this.nodes.forEach(z_)):this.nodes.forEach(QA),this.clearAllSnapshots();const x=ri.now();za.delta=fr(0,1e3/60,x-za.timestamp),za.timestamp=x,za.isProcessing=!0,Nx.update.process(za),Nx.preRender.process(za),Nx.render.process(za),za.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(k_),this.sharedNodes.forEach(H_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!si(this.snapshot.measuredBox.x)&&!si(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 S=0;S<this.path.length;S++)this.path[S].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=da(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:x}=this.options;x&&x.notify("LayoutMeasure",this.layout.layoutBox,y?y.layoutBox:void 0)}updateScroll(y="measure"){let x=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(x=!1),x&&this.instance){const S=c(this.instance);this.scroll={animationId:this.root.animationId,phase:y,isRoot:S,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!p)return;const y=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,x=this.projectionDelta&&!OA(this.projectionDelta),S=this.getTransformTemplate(),E=S?S(this.latestValues,""):void 0,T=E!==this.prevTransformTemplateValue;y&&this.instance&&(x||df(this.latestValues)||T)&&(p(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const x=this.measurePageBox();let S=this.removeElementScroll(x);return y&&(S=this.removeTransform(S)),q_(S),{animationId:this.root.animationId,measuredBox:x,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return da();const x=y.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(G_))){const{scroll:E}=this.root;E&&(ph(x.x,E.offset.x),ph(x.y,E.offset.y))}return x}removeElementScroll(y){const x=da();if(kl(x,y),this.scroll?.wasRoot)return x;for(let S=0;S<this.path.length;S++){const E=this.path[S],{scroll:T,options:A}=E;E!==this.root&&T&&A.layoutScroll&&(T.wasRoot&&kl(x,y),ph(x.x,T.offset.x),ph(x.y,T.offset.y))}return x}applyTransform(y,x=!1){const S=da();kl(S,y);for(let E=0;E<this.path.length;E++){const T=this.path[E];!x&&T.options.layoutScroll&&T.scroll&&T!==T.root&&mh(S,{x:-T.scroll.offset.x,y:-T.scroll.offset.y}),df(T.latestValues)&&mh(S,T.latestValues)}return df(this.latestValues)&&mh(S,this.latestValues),S}removeTransform(y){const x=da();kl(x,y);for(let S=0;S<this.path.length;S++){const E=this.path[S];if(!E.instance||!df(E.latestValues))continue;CS(E.latestValues)&&E.updateSnapshot();const T=da(),A=E.measurePageBox();kl(T,A),RA(x,E.latestValues,E.snapshot?E.snapshot.layoutBox:void 0,T)}return df(this.latestValues)&&RA(x,this.latestValues),x}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.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!==za.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){const x=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=x.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=x.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=x.isSharedProjectionDirty);const S=!!this.resumingFrom||this!==x;if(!(y||S&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:T,layoutId:A}=this.options;if(!this.layout||!(T||A))return;this.resolvedRelativeTargetAt=za.timestamp;const R=this.getClosestProjectingParent();R&&this.linkedParentVersion!==R.layoutVersion&&!R.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(R&&R.layout?this.createRelativeTarget(R,this.layout.layoutBox,R.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=da(),this.targetWithTransforms=da()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),d_(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kl(this.target,this.layout.layoutBox),oA(this.target,this.targetDelta)):kl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?this.createRelativeTarget(R,this.target,R.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||CS(this.parent.latestValues)||nA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(y,x,S){this.relativeParent=y,this.linkedParentVersion=y.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=da(),this.relativeTargetOrigin=da(),jv(this.relativeTargetOrigin,x,S),kl(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const y=this.getLead(),x=!!this.resumingFrom||this!==y;let S=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(S=!1),x&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(S=!1),this.resolvedRelativeTargetAt===za.timestamp&&(S=!1),S)return;const{layout:E,layoutId:T}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(E||T))return;kl(this.layoutCorrected,this.layout.layoutBox);const A=this.treeScale.x,R=this.treeScale.y;YO(this.layoutCorrected,this.treeScale,this.path,x),y.layout&&!y.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(y.target=y.layout.layoutBox,y.targetWithTransforms=da());const{target:j}=y;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(MA(this.prevProjectionDelta.x,this.projectionDelta.x),MA(this.prevProjectionDelta.y,this.projectionDelta.y)),rg(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==A||this.treeScale.y!==R||!LA(this.projectionDelta.x,this.prevProjectionDelta.x)||!LA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.visualElement?.scheduleRender(),y){const x=this.getStack();x&&x.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hh(),this.projectionDelta=hh(),this.projectionDeltaWithTransform=hh()}setAnimationOrigin(y,x=!1){const S=this.snapshot,E=S?S.latestValues:{},T={...this.latestValues},A=hh();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!x;const R=da(),j=S?S.source:void 0,B=this.layout?this.layout.source:void 0,X=j!==B,q=this.getStack(),Z=!q||q.members.length<=1,W=!!(X&&!Z&&this.options.crossfade===!0&&!this.path.some(B_));this.animationProgress=0;let rt;this.mixTargetDelta=ct=>{const xt=ct/1e3;$A(A.x,y.x,xt),$A(A.y,y.y,xt),this.setTargetDelta(A),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jv(R,this.layout.layoutBox,this.relativeParent.layout.layoutBox),V_(this.relativeTarget,this.relativeTargetOrigin,R,xt),rt&&g_(this.relativeTarget,rt)&&(this.isProjectionDirty=!1),rt||(rt=da()),kl(rt,this.relativeTarget)),X&&(this.animationValues=T,b_(T,E,this.latestValues,xt,W,Z)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=xt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(vu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mn.update(()=>{Lv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=fh(0)),this.currentAnimation=E_(this.motionValue,[0,1e3],{...y,velocity:0,isSync:!0,onUpdate:x=>{this.mixTargetDelta(x),y.onUpdate&&y.onUpdate(x)},onStop:()=>{},onComplete:()=>{y.onComplete&&y.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 y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(R_),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:x,target:S,layout:E,latestValues:T}=y;if(!(!x||!S||!E)){if(this!==y&&this.layout&&E&&PA(this.options.animationType,this.layout.layoutBox,E.layoutBox)){S=this.target||da();const A=si(this.layout.layoutBox.x);S.x.min=y.target.x.min,S.x.max=S.x.min+A;const R=si(this.layout.layoutBox.y);S.y.min=y.target.y.min,S.y.max=S.y.min+R}kl(x,S),mh(x,T),rg(this.projectionDeltaWithTransform,this.layoutCorrected,x,T)}}registerSharedNode(y,x){this.sharedNodes.has(y)||this.sharedNodes.set(y,new C_),this.sharedNodes.get(y).add(x);const E=x.options.initialPromotionConfig;x.promote({transition:E?E.transition:void 0,preserveFollowOpacity:E&&E.shouldPreserveFollowOpacity?E.shouldPreserveFollowOpacity(x):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){const{layoutId:y}=this.options;return y?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:y}=this.options;return y?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:x,preserveFollowOpacity:S}={}){const E=this.getStack();E&&E.promote(this,S),y&&(this.projectionDelta=void 0,this.needsReset=!0),x&&this.setOptions({transition:x})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetSkewAndRotation(){const{visualElement:y}=this.options;if(!y)return;let x=!1;const{latestValues:S}=y;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(x=!0),!x)return;const E={};S.z&&_S("z",y,E,this.animationValues);for(let T=0;T<OS.length;T++)_S(`rotate${OS[T]}`,y,E,this.animationValues),_S(`skew${OS[T]}`,y,E,this.animationValues);y.render();for(const T in E)y.setStaticValue(T,E[T]),this.animationValues&&(this.animationValues[T]=E[T]);y.scheduleRender()}applyProjectionStyles(y,x){if(!this.instance||this.isSVG)return;if(!this.isVisible){y.visibility="hidden";return}const S=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,y.visibility="",y.opacity="",y.pointerEvents=Uv(x?.pointerEvents)||"",y.transform=S?S(this.latestValues,""):"none";return}const E=this.getLead();if(!this.projectionDelta||!this.layout||!E.target){this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Uv(x?.pointerEvents)||""),this.hasProjected&&!df(this.latestValues)&&(y.transform=S?S({},""):"none",this.hasProjected=!1);return}y.visibility="";const T=E.animationValues||E.latestValues;this.applyTransformsToTarget();let A=y_(this.projectionDeltaWithTransform,this.treeScale,T);S&&(A=S(T,A)),y.transform=A;const{x:R,y:j}=this.projectionDelta;y.transformOrigin=`${R.origin*100}% ${j.origin*100}% 0`,E.animationValues?y.opacity=E===this?T.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:T.opacityExit:y.opacity=E===this?T.opacity!==void 0?T.opacity:"":T.opacityExit!==void 0?T.opacityExit:0;for(const B in MS){if(T[B]===void 0)continue;const{correct:X,applyTo:q,isCSSVariable:Z}=MS[B],W=A==="none"?T[B]:X(T[B],E);if(q){const rt=q.length;for(let ct=0;ct<rt;ct++)y[q[ct]]=W}else Z?this.options.visualElement.renderState.vars[B]=W:y[B]=W}this.options.layoutId&&(y.pointerEvents=E===this?Uv(x?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>y.currentAnimation?.stop()),this.root.nodes.forEach(XA),this.root.sharedNodes.clear()}}}function M_(i){i.updateLayout()}function z_(i){const l=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&l&&i.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:c}=i.layout,{animationType:p}=i.options,m=l.source!==i.layout.source;p==="size"?Lo(T=>{const A=m?l.measuredBox[T]:l.layoutBox[T],R=si(A);A.min=u[T].min,A.max=A.min+R}):PA(p,l.layoutBox,u)&&Lo(T=>{const A=m?l.measuredBox[T]:l.layoutBox[T],R=si(u[T]);A.max=A.min+R,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[T].max=i.relativeTarget[T].min+R)});const y=hh();rg(y,u,l.layoutBox);const x=hh();m?rg(x,i.applyTransform(c,!0),l.measuredBox):rg(x,u,l.layoutBox);const S=!OA(y);let E=!1;if(!i.resumeFrom){const T=i.getClosestProjectingParent();if(T&&!T.resumeFrom){const{snapshot:A,layout:R}=T;if(A&&R){const j=da();jv(j,l.layoutBox,A.layoutBox);const B=da();jv(B,u,R.layoutBox),jA(j,B)||(E=!0),T.options.layoutRoot&&(i.relativeTarget=B,i.relativeTargetOrigin=j,i.relativeParent=T)}}}i.notifyListeners("didUpdate",{layout:u,snapshot:l,delta:x,layoutDelta:y,hasLayoutChanged:S,hasRelativeLayoutChanged:E})}else if(i.isLead()){const{onExitComplete:u}=i.options;u&&u()}i.options.transition=void 0}function O_(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function __(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function k_(i){i.clearSnapshot()}function XA(i){i.clearMeasurements()}function QA(i){i.isLayoutDirty=!1}function j_(i){const{visualElement:l}=i.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),i.resetTransform()}function ZA(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function U_(i){i.resolveTargetDelta()}function L_(i){i.calcProjection()}function N_(i){i.resetSkewAndRotation()}function H_(i){i.removeLeadSnapshot()}function $A(i,l,u){i.translate=An(l.translate,0,u),i.scale=An(l.scale,1,u),i.origin=l.origin,i.originPoint=l.originPoint}function KA(i,l,u,c){i.min=An(l.min,u.min,c),i.max=An(l.max,u.max,c)}function V_(i,l,u,c){KA(i.x,l.x,u.x,c),KA(i.y,l.y,u.y,c)}function B_(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const Y_={duration:.45,ease:[.4,0,.1,1]},IA=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),JA=IA("applewebkit/")&&!IA("chrome/")?Math.round:jo;function FA(i){i.min=JA(i.min),i.max=JA(i.max)}function q_(i){FA(i.x),FA(i.y)}function PA(i,l,u){return i==="position"||i==="preserve-aspect"&&!f_(UA(l),UA(u),.2)}function G_(i){return i!==i.root&&i.scroll?.wasRoot}const X_=GA({attachResizeListener:(i,l)=>sg(i,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kS={current:void 0},WA=GA({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!kS.current){const i=new X_({});i.mount(window),i.setOptions({layoutScroll:!0}),kS.current=i}return kS.current},resetTransform:(i,l)=>{i.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),jS=K.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function tC(i,l){if(typeof i=="function")return i(l);i!=null&&(i.current=l)}function Q_(...i){return l=>{let u=!1;const c=i.map(p=>{const m=tC(p,l);return!u&&typeof m=="function"&&(u=!0),m});if(u)return()=>{for(let p=0;p<c.length;p++){const m=c[p];typeof m=="function"?m():tC(i[p],null)}}}}function Z_(...i){return K.useCallback(Q_(...i),i)}class $_ extends K.Component{getSnapshotBeforeUpdate(l){const u=this.props.childRef.current;if(u&&l.isPresent&&!this.props.isPresent){const c=u.offsetParent,p=VT(c)&&c.offsetWidth||0,m=this.props.sizeRef.current;m.height=u.offsetHeight||0,m.width=u.offsetWidth||0,m.top=u.offsetTop,m.left=u.offsetLeft,m.right=p-m.width-m.left}return null}componentDidUpdate(){}render(){return this.props.children}}function K_({children:i,isPresent:l,anchorX:u,root:c}){const p=K.useId(),m=K.useRef(null),y=K.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:x}=K.useContext(jS),S=i.props?.ref??i?.ref,E=Z_(m,S);return K.useInsertionEffect(()=>{const{width:T,height:A,top:R,left:j,right:B}=y.current;if(l||!m.current||!T||!A)return;const X=u==="left"?`left: ${j}`:`right: ${B}`;m.current.dataset.motionPopId=p;const q=document.createElement("style");x&&(q.nonce=x);const Z=c??document.head;return Z.appendChild(q),q.sheet&&q.sheet.insertRule(`
243
+ root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(s=e.identifierPrefix),e.onUncaughtError!==void 0&&(d=e.onUncaughtError),e.onCaughtError!==void 0&&(h=e.onCaughtError),e.onRecoverableError!==void 0&&(b=e.onRecoverableError)),e=Td(t,1,!1,null,null,a,s,null,d,h,b,h1),t[ar]=e.current,Qr(t),new sy(e)},Zm.hydrateRoot=function(t,e,a){if(!q(t))throw Error("Target container is not a DOM element.");uy(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=!1,d="",h=rp,b=sp,w=a0,D=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError),a.formState!==void 0&&(D=a.formState)),e=Td(t,1,!0,e,a??null,s,d,D,h,b,w,h1),e.context=u1(null),a=e.current,s=Ta(a),s=Hi(s),d=Bn(s),d.callback=null,Fo(a,d,s),Ko(s,"hydrateRoot()",null),a=s,e.current.lanes=a,ao(e,a),ti(e),t[ar]=e.current,Qr(t),new Ao(e)},Zm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Zm}var aE;function SM(){if(aE)return pv.exports;aE=1;function i(){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(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),pv.exports=bM()):pv.exports=xM(),pv.exports}var wM=SM(),K=ah();const kn=Y2(K),EM=uM({__proto__:null,default:kn},[K]);var yv={exports:{}},iE;function TM(){if(iE)return yv.exports;iE=1;var i=String,l=function(){return{isColorSupported:!1,reset:i,bold:i,dim:i,italic:i,underline:i,inverse:i,hidden:i,strikethrough:i,black:i,red:i,green:i,yellow:i,blue:i,magenta:i,cyan:i,white:i,gray:i,bgBlack:i,bgRed:i,bgGreen:i,bgYellow:i,bgBlue:i,bgMagenta:i,bgCyan:i,bgWhite:i,blackBright:i,redBright:i,greenBright:i,yellowBright:i,blueBright:i,magentaBright:i,cyanBright:i,whiteBright:i,bgBlackBright:i,bgRedBright:i,bgGreenBright:i,bgYellowBright:i,bgBlueBright:i,bgMagentaBright:i,bgCyanBright:i,bgWhiteBright:i}};return yv.exports=l(),yv.exports.createColors=l,yv.exports}var AM=TM();Y2(AM).cyan("[uilint]");function CM(){return typeof process<"u"&&(process.env.VITEST==="true"||process.env.NODE_ENV==="test")}var Ex=CM();function It(...i){Ex||console.log(...i)}function _e(...i){Ex||console.warn(...i)}function $n(...i){Ex||console.error(...i)}var $m=wx();const vv={sm:640,md:768,lg:1024},cr={floatingIconPosition:"uilint:floatingIconPosition",inspectorDocked:"uilint:inspectorDocked",inspectorWidth:"uilint:inspectorWidth",inspectorFloatingPosition:"uilint:inspectorFloatingPosition",inspectorFloatingSize:"uilint:inspectorFloatingSize"};function oE(){return typeof window<"u"&&typeof localStorage<"u"}function Km(i,l){if(!oE())return l;try{const u=localStorage.getItem(i);return u===null?l:JSON.parse(u)}catch(u){return _e(`[UILint] Failed to load ${i} from localStorage:`,u),l}}function Im(i,l){if(oE())try{localStorage.setItem(i,JSON.stringify(l))}catch(u){_e(`[UILint] Failed to save ${i} to localStorage:`,u)}}const RM={open:!1,query:"",selectedIndex:0,filters:[]},lE={mode:"all",highlightedLocs:[],filterLabel:null},DM=400,MM={isMobile:!1,isTablet:!1,isTouchDevice:!1,isSmallScreen:!1};function zM(){return{open:!1,panelId:null,data:null,docked:Km(cr.inspectorDocked,!0),width:Km(cr.inspectorWidth,DM),floatingPosition:Km(cr.inspectorFloatingPosition,null),floatingSize:Km(cr.inspectorFloatingSize,null),expandedFiles:[],selectedIssueId:null,ruleConfigExpanded:!1}}const OM=i=>(l,u)=>({floatingIconPosition:Km(cr.floatingIconPosition,null),setFloatingIconPosition:c=>{Im(cr.floatingIconPosition,c),l({floatingIconPosition:c})},altKeyHeld:!1,setAltKeyHeld:c=>{l({altKeyHeld:c})},selectedElementId:null,hoveredElementId:null,setSelectedElementId:c=>{l({selectedElementId:c})},setHoveredElementId:c=>{l({hoveredElementId:c})},commandPalette:{...RM},openCommandPalette:()=>{l({commandPalette:{...u().commandPalette,open:!0,query:"",selectedIndex:0}})},closeCommandPalette:()=>{const c=u().commandPalette;l({commandPalette:{...c,open:!1,query:"",selectedIndex:0}})},setCommandPaletteQuery:c=>{l({commandPalette:{...u().commandPalette,query:c,selectedIndex:0}})},setCommandPaletteSelectedIndex:c=>{l({commandPalette:{...u().commandPalette,selectedIndex:c}})},addFilter:c=>{const p=u().commandPalette;l({commandPalette:{...p,filters:[...p.filters,c],selectedIndex:0}})},removeFilter:c=>{const p=u().commandPalette;l({commandPalette:{...p,filters:p.filters.filter((m,y)=>y!==c),selectedIndex:0}})},removeLastFilter:()=>{const c=u().commandPalette;c.filters.length!==0&&l({commandPalette:{...c,filters:c.filters.slice(0,-1),selectedIndex:0}})},clearFilters:()=>{l({commandPalette:{...u().commandPalette,filters:[],selectedIndex:0}})},inspector:zM(),openInspector:(c,p)=>{l({inspector:{...u().inspector,open:!0,panelId:c,data:p??null}})},openInspectorPanel:()=>{l({inspector:{...u().inspector,open:!0}})},closeInspector:()=>{l({inspector:{...u().inspector,open:!1,panelId:null,data:null,selectedIssueId:null}})},toggleInspectorDocked:()=>{const c=u().inspector,p=!c.docked;Im(cr.inspectorDocked,p),l({inspector:{...c,docked:p}})},setInspectorWidth:c=>{Im(cr.inspectorWidth,c),l({inspector:{...u().inspector,width:c}})},setInspectorFloatingPosition:c=>{Im(cr.inspectorFloatingPosition,c),l({inspector:{...u().inspector,floatingPosition:c}})},setInspectorFloatingSize:c=>{Im(cr.inspectorFloatingSize,c),l({inspector:{...u().inspector,floatingSize:c}})},toggleFileExpanded:c=>{const p=u().inspector,m=p.expandedFiles.includes(c);l({inspector:{...p,expandedFiles:m?p.expandedFiles.filter(y=>y!==c):[...p.expandedFiles,c]}})},expandFile:c=>{const p=u().inspector;p.expandedFiles.includes(c)||l({inspector:{...p,expandedFiles:[...p.expandedFiles,c]}})},collapseFile:c=>{const p=u().inspector;l({inspector:{...p,expandedFiles:p.expandedFiles.filter(m=>m!==c)}})},selectIssue:c=>{l({inspector:{...u().inspector,selectedIssueId:c}})},toggleRuleConfig:()=>{const c=u().inspector;l({inspector:{...c,ruleConfigExpanded:!c.ruleConfigExpanded}})},wsConnected:i.websocket.isConnected,wsUrl:i.websocket.url,heatmapFilter:{...lE},setHeatmapFilter:(c,p)=>{l({heatmapFilter:{mode:c.length>0?"related-only":"all",highlightedLocs:c,filterLabel:p??null}})},clearHeatmapFilter:()=>{l({heatmapFilter:{...lE}})},mobile:{...MM},setMobileState:c=>{l({mobile:c})}});function _M(i,l){if(!l.trim())return i;const u=l.toLowerCase().trim();return i.filter(c=>{const p=c.label?.toLowerCase()??"",m=c.subtitle?.toLowerCase()??"";return p.includes(u)||m.includes(u)})}function kM(i){const l=new Set,u=[];for(const c of i)l.has(c.id)||(l.add(c.id),u.push(c));return u}function jM(i){return i.commandPalette.filters}const bv=[];let rE=null,sE=null,lf=bv;function UM(i){const l=i.commandPalette.filters,u=i.plugins?.eslint?.issues;if(l===rE&&u===sE)return lf;if(rE=l,sE=u??null,!u||u.size===0||l.length===0)return lf=bv,lf;const c=l.find(y=>y.type==="rule"),p=l.find(y=>y.type==="file"),m=[];for(const[y,x]of u)for(const S of x){const E=!c||S.ruleId===c.id,T=!p||S.filePath===p.id;if(E&&T){m.push(y);break}}return lf=m.length>0?m:bv,lf}function LM(i){return i.commandPalette.filters.length>0}const NM=[],HM=new Map,VM=new Map,BM={error:0,warning:0,info:0};function uE(i){return i.plugins?.eslint?.issues??VM}function YM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return NM;const u=[];for(const c of l.values())u.push(...c);return u}function qM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return HM;const u=new Map;for(const c of l.values())for(const p of c){const m=u.get(p.filePath);m?m.push(p):u.set(p.filePath,[p])}return u}function GM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return 0;let u=0;for(const c of l.values())u+=c.length;return u}function XM(i){const l=i.plugins?.eslint?.issues;if(!l||l.size===0)return BM;const u={error:0,warning:0,info:0};for(const c of l.values())for(const p of c)u[p.severity]++;return u}const cE=i=>{let l;const u=new Set,c=(E,T)=>{const A=typeof E=="function"?E(l):E;if(!Object.is(A,l)){const R=l;l=T??(typeof A!="object"||A===null)?A:Object.assign({},l,A),u.forEach(j=>j(l,R))}},p=()=>l,x={setState:c,getState:p,getInitialState:()=>S,subscribe:E=>(u.add(E),()=>u.delete(E))},S=l=i(c,p,x);return x},QM=(i=>i?cE(i):cE),ZM=i=>i;function $M(i,l=ZM){const u=kn.useSyncExternalStore(i.subscribe,kn.useCallback(()=>l(i.getState()),[i,l]),kn.useCallback(()=>l(i.getInitialState()),[i,l]));return kn.useDebugValue(u),u}const fE=i=>{const l=QM(i),u=c=>$M(l,c);return Object.assign(u,l),u},KM=(i=>i?fE(i):fE),IM=(i,l)=>({activeDrag:null,startDrag:(u,c,p,m,y)=>{i({activeDrag:{type:u,startPos:c,currentPos:c,offset:p,elementStartPos:m,elementStartSize:y}})},updateDrag:u=>{const{activeDrag:c}=l();c&&i({activeDrag:{...c,currentPos:u}})},endDrag:()=>{i({activeDrag:null})},isDragging:u=>{const{activeDrag:c}=l();return c?u===void 0?!0:c.type===u:!1},getDragDelta:()=>{const{activeDrag:u}=l();return u?{x:u.currentPos.x-u.startPos.x,y:u.currentPos.y-u.startPos.y}:null}});function dE(i){const l=new Map;for(const y of i)l.set(y.id,y);const u=[],c=new Set,p=new Set;function m(y){const x=y.id;if(c.has(x))return;if(p.has(x))throw new Error(`[PluginRegistry] Circular dependency detected involving plugin: ${x}`);p.add(x);const S=y.dependencies||[];for(const E of S){const T=l.get(E);T&&m(T)}p.delete(x),c.add(x),u.push(y)}for(const y of i)m(y);return u}class JM{plugins=new Map;services=null;register(l){if(It(`[PluginRegistry] Registering plugin: ${l.id}`),this.plugins.has(l.id)){_e(`[PluginRegistry] Plugin "${l.id}" is already registered. Skipping duplicate registration.`);return}const u=l.dependencies||[],c=[];for(const p of u)this.plugins.has(p)||c.push(p);c.length>0&&_e(`[PluginRegistry] Plugin "${l.id}" has unregistered dependencies: ${c.join(", ")}. These plugins should be registered first for proper initialization order.`),this.plugins.set(l.id,{plugin:l,initialized:!1}),It(`[PluginRegistry] Plugin "${l.id}" registered successfully`)}setServices(l){this.services=l}markPluginInitialized(l){const u=this.plugins.get(l);u&&(u.initialized=!0)}getPlugins(){return Array.from(this.plugins.values()).map(l=>l.plugin)}getPlugin(l){return this.plugins.get(l)?.plugin}getAllCommands(){const l=[];for(const{plugin:u}of this.plugins.values())u.commands&&l.push(...u.commands);return l}getAllAnalyzers(){const l=[];for(const{plugin:u}of this.plugins.values())u.analyzers&&l.push(...u.analyzers);return l}getAllInspectorPanels(){const l=[];for(const{plugin:u}of this.plugins.values())u.inspectorPanels&&l.push(...u.inspectorPanels);return l.sort((u,c)=>(c.priority??0)-(u.priority??0))}getAllToolbarActions(){const l=[];for(const{plugin:u}of this.plugins.values())u.toolbarActions&&l.push(...u.toolbarActions);return l.sort((u,c)=>(c.priority??0)-(u.priority??0))}getAllToolbarActionGroups(){const l=[];for(const{plugin:u}of this.plugins.values())u.toolbarActionGroups&&l.push(...u.toolbarActionGroups);return l.sort((u,c)=>(c.priority??0)-(u.priority??0))}getAllTileProviders(){const l=[];for(const{plugin:u,initialized:c}of this.plugins.values())c&&u.tileProvider&&l.push({pluginId:u.id,provider:u.tileProvider});return l}getAllCategoryProviders(){return[]}getAllRules(){if(!this.services)return _e("[PluginRegistry] Cannot get rules: services not initialized"),[];const l=[];for(const{plugin:u,initialized:c}of this.plugins.values())if(c&&u.getRules)try{const p=u.getRules(this.services);l.push(...p)}catch(p){$n(`[PluginRegistry] Error getting rules from plugin "${u.id}":`,p)}return l}setRuleSeverity(l,u){if(!this.services){_e("[PluginRegistry] Cannot set rule severity: services not initialized");return}for(const{plugin:c,initialized:p}of this.plugins.values())if(p){if(c.handlesRules&&c.handlesRules({id:l})&&c.setRuleSeverity){c.setRuleSeverity(l,u,this.services);return}if(l.startsWith(`${c.id}/`)&&c.setRuleSeverity){c.setRuleSeverity(l,u,this.services);return}}_e(`[PluginRegistry] No plugin found to handle rule: ${l}`)}getRuleConfig(l){if(!this.services){_e("[PluginRegistry] Cannot get rule config: services not initialized");return}for(const{plugin:u,initialized:c}of this.plugins.values())if(c){if(u.handlesRules?.({id:l})&&u.getRuleConfig)return u.getRuleConfig(l,this.services);if(l.startsWith(`${u.id}/`)&&u.getRuleConfig)return u.getRuleConfig(l,this.services)}}setRuleConfig(l,u){if(!this.services){_e("[PluginRegistry] Cannot set rule config: services not initialized");return}for(const{plugin:c,initialized:p}of this.plugins.values())if(p){if(c.handlesRules?.({id:l})&&c.setRuleConfig){c.setRuleConfig(l,u,this.services);return}if(l.startsWith(`${c.id}/`)&&c.setRuleConfig){c.setRuleConfig(l,u,this.services);return}}_e(`[PluginRegistry] No plugin found to configure rule: ${l}`)}getPluginForRule(l,u){for(const{plugin:m}of this.plugins.values())if(m.ruleContributions&&m.ruleContributions.find(x=>x.ruleId===l))return m;for(const{plugin:m}of this.plugins.values())if(l.startsWith(`${m.id}/`)||u.category&&m.ruleCategories&&m.ruleCategories.includes(u.category))return m;const c=this.plugins.get("core")?.plugin;if(c)return c;const p=this.plugins.values().next().value;return p?p.plugin:{id:"default",name:"Default",version:"1.0.0"}}getRuleContribution(l){for(const{plugin:u}of this.plugins.values())if(u.ruleContributions){const c=u.ruleContributions.find(p=>p.ruleId===l);if(c)return c}}disposeAll(){It("[PluginRegistry] Disposing all plugins...");const l=Array.from(this.plugins.values()).map(c=>c.plugin),u=dE(l).reverse();for(const c of u){const p=this.plugins.get(c.id);if(!(!p||!p.initialized))try{It(`[PluginRegistry] Disposing plugin: ${c.id}`),c.dispose&&this.services&&c.dispose(this.services),p.initialized=!1,It(`[PluginRegistry] Plugin "${c.id}" disposed successfully`)}catch(m){$n(`[PluginRegistry] Failed to dispose plugin "${c.id}":`,m)}}this.services=null,It("[PluginRegistry] All plugins disposed")}isRegistered(l){return this.plugins.has(l)}isInitialized(l){return this.plugins.get(l)?.initialized??!1}getServices(){return this.services}clear(){It("[PluginRegistry] Clearing all plugins"),this.disposeAll(),this.plugins.clear()}}function FM(){return new JM}const li=FM();function hE(i){return typeof window>"u"||typeof window.matchMedia!="function"?null:window.matchMedia(i)}function PM(){if(typeof window>"u")return{isMobile:!1,isTablet:!1,isTouchDevice:!1,isSmallScreen:!1};const i=window.innerWidth,l="ontouchstart"in window||navigator.maxTouchPoints>0,c=hE("(pointer: coarse)")?.matches??!1;return{isMobile:i<vv.md,isTablet:i>=vv.md&&i<vv.lg,isTouchDevice:l&&c,isSmallScreen:i<vv.sm}}function WM(i){if(typeof window>"u")return()=>{};const l=c=>{const p=i.getState();if((c.metaKey||c.ctrlKey)&&c.key==="k"){c.preventDefault(),p.commandPalette.open?p.closeCommandPalette():p.openCommandPalette();return}if((c.metaKey||c.ctrlKey)&&c.shiftKey&&c.key==="C"){c.preventDefault();const m=sf();if(!m)return;const y=li.getAllToolbarActionGroups();for(const x of y){const S=x.actions.find(E=>E.id==="vision:capture-full-page");if(S){S.onClick(m);return}}return}if((c.metaKey||c.ctrlKey)&&c.shiftKey&&c.key==="R"){c.preventDefault();const m=sf();if(!m)return;const y=li.getAllToolbarActionGroups();for(const x of y){const S=x.actions.find(E=>E.id==="vision:capture-region");if(S){S.onClick(m);return}}return}if(c.key==="Escape"&&p.commandPalette.open){c.preventDefault(),p.closeCommandPalette();return}c.key==="Alt"&&p.setAltKeyHeld(!0)},u=c=>{c.key==="Alt"&&i.getState().setAltKeyHeld(!1)};return window.addEventListener("keydown",l),window.addEventListener("keyup",u),()=>{window.removeEventListener("keydown",l),window.removeEventListener("keyup",u)}}function tz(i){if(typeof window>"u")return()=>{};const l=()=>{const m=PM();i.getState().setMobileState(m)};l();const u=new AbortController,{signal:c}=u;window.addEventListener("resize",l,{signal:c}),window.addEventListener("orientationchange",l,{signal:c});const p=hE("(pointer: coarse)");return p&&p.addEventListener("change",l,{signal:c}),()=>{u.abort()}}function ez(i){let l=i.getState().mobile.isMobile;return i.subscribe(c=>{const{isMobile:p}=c.mobile,{docked:m,open:y}=c.inspector;p&&!l&&m&&y&&c.toggleInspectorDocked(),l=p})}function nz(i){if(typeof window>"u")return()=>{};const l=m=>{const y=i.getState();y.activeDrag&&y.updateDrag({x:m.clientX,y:m.clientY})},u=m=>{const y=i.getState();if(!y.activeDrag)return;const x=m.touches[0];x&&y.updateDrag({x:x.clientX,y:x.clientY})},c=()=>{const m=i.getState();m.activeDrag&&m.endDrag()},p=()=>{const m=i.getState();m.activeDrag&&m.endDrag()};return window.addEventListener("mousemove",l),window.addEventListener("mouseup",c),window.addEventListener("touchmove",u,{passive:!0}),window.addEventListener("touchend",p),window.addEventListener("touchcancel",p),()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",c),window.removeEventListener("touchmove",u),window.removeEventListener("touchend",p),window.removeEventListener("touchcancel",p)}}function az(i,l={}){const{enableKeyboardShortcuts:u=!0,enableMobileDetection:c=!0,enableDragHandlers:p=!0}=l,m=[];return u&&m.push(WM(i)),c&&(m.push(tz(i)),m.push(ez(i))),p&&m.push(nz(i)),()=>{m.forEach(y=>y())}}const Tx=[],pE={totalIssues:0,totalFiles:0,totalRules:0,severityCounts:{error:0,warning:0,info:0}};let mE=null,gE=null,Jm=Tx,Ax=pE;function yE(i){let l="info";for(const u of i){if(u.severity==="error")return"error";u.severity==="warning"&&(l="warning")}return l}function iz(i){const l={error:0,warning:0,info:0};for(const u of i)l[u.severity]++;return l}function oz(i){const l=i.split("/");return l[l.length-1]||i}function lz(i){const l=i.split("/");return l.pop(),l.join("/")||"/"}function rz(i){return i.includes("/")&&i.split("/").pop()||i}function xv(i){switch(i){case"error":return 0;case"warning":return 1;case"info":return 2}}function sz(i,l){const u=l.find(T=>T.type==="rule"),c=l.find(T=>T.type==="file"),p=new Map,m=new Set;for(const T of i.values())for(const A of T){if(u&&A.ruleId!==u.id||c&&A.filePath!==c.id)continue;const R=p.get(A.filePath)||[];R.push(A),p.set(A.filePath,R),m.add(A.ruleId)}const y=[];let x=0;const S={error:0,warning:0,info:0};for(const[T,A]of p){const R=[...A].sort((q,Z)=>q.line-Z.line),j=new Map;for(const q of R){const Z=j.get(q.ruleId)||[];Z.push(q),j.set(q.ruleId,Z)}const B=[];for(const[q,Z]of j)B.push({ruleId:q,ruleName:rz(q),count:Z.length,highestSeverity:yE(Z)});B.sort((q,Z)=>{const W=xv(q.highestSeverity)-xv(Z.highestSeverity);return W!==0?W:Z.count-q.count});const X=iz(R);x+=R.length,S.error+=X.error,S.warning+=X.warning,S.info+=X.info,y.push({filePath:T,fileName:oz(T),directory:lz(T),totalCount:R.length,severityCounts:X,highestSeverity:yE(R),ruleGroups:B,issues:R})}y.sort((T,A)=>{const R=xv(T.highestSeverity)-xv(A.highestSeverity);return R!==0?R:A.totalCount-T.totalCount});const E={totalIssues:x,totalFiles:y.length,totalRules:m.size,severityCounts:S};return{fileGroups:y,summary:E}}function vE(i){const l=i.commandPalette.filters,u=i.plugins?.eslint?.issues;if(l===mE&&u===gE)return Jm;if(mE=l,gE=u??null,!u||u.size===0)return Jm=Tx,Ax=pE,Jm;const{fileGroups:c,summary:p}=sz(u,l);return Jm=c.length>0?c:Tx,Ax=p,Jm}function uz(i){return vE(i),Ax}function cz(i){return i.commandPalette.filters.find(l=>l.type==="rule")??null}let rf=null,ih=null;const fz=()=>({isConnected:!1,url:"ws://localhost:9234",connect:()=>{_e("[ComposedStore] WebSocket connect called but not implemented")},disconnect:()=>{_e("[ComposedStore] WebSocket disconnect called but not implemented")},send:()=>{_e("[ComposedStore] WebSocket send called but not implemented")},on:()=>(_e("[ComposedStore] WebSocket on called but not implemented"),()=>{}),onConnectionChange:()=>(_e("[ComposedStore] WebSocket onConnectionChange called but not implemented"),()=>{})}),dz=()=>({start:()=>{_e("[ComposedStore] DOMObserver start called but not implemented")},stop:()=>{_e("[ComposedStore] DOMObserver stop called but not implemented")},onElementsAdded:()=>(_e("[ComposedStore] DOMObserver onElementsAdded called but not implemented"),()=>{}),onElementsRemoved:()=>(_e("[ComposedStore] DOMObserver onElementsRemoved called but not implemented"),()=>{})});function hz(i={}){const l=i.websocket??fz(),u=i.domObserver??dz();let c;const p=KM()((y,x)=>{c={websocket:{get isConnected(){return l.isConnected},get url(){return l.url},connect:l.connect.bind(l),disconnect:l.disconnect.bind(l),send:l.send.bind(l),on:l.on.bind(l),onConnectionChange:l.onConnectionChange.bind(l)},domObserver:{start:u.start.bind(u),stop:u.stop.bind(u),onElementsAdded:u.onElementsAdded.bind(u),onElementsRemoved:u.onElementsRemoved.bind(u)},getState:()=>x(),setState:A=>{y(A)},openInspector:(A,R)=>{const j=x();R.ruleId?j.openInspector("rule",{ruleId:R.ruleId}):R.elementId?j.openInspector("element",{elementId:R.elementId}):y({inspector:{...j.inspector,open:!0,panelId:A,data:R}})},closeCommandPalette:()=>{x().closeCommandPalette()},closeInspector:()=>{x().closeInspector()},invalidateCategory:()=>{}};const E=OM(c)(y,x,{setState:y,getState:x,getInitialState:()=>x(),subscribe:()=>()=>{}}),T=IM(y,x);return{...E,...T,plugins:{},registerPluginSlice:(A,R)=>{It(`[ComposedStore] Registering plugin slice: ${String(A)}`),y(j=>({plugins:{...j.plugins,[A]:R}}))},unregisterPluginSlice:A=>{It(`[ComposedStore] Unregistering plugin slice: ${String(A)}`),y(R=>{const{[A]:j,...B}=R.plugins;return{plugins:B}})},getPluginSlice:A=>x().plugins[A],setPluginSlice:(A,R)=>{y(j=>{const B=j.plugins[A];return B?{plugins:{...j.plugins,[A]:{...B,...R}}}:(_e(`[ComposedStore] Cannot update unregistered plugin slice: ${String(A)}`),j)})}}});l.onConnectionChange(y=>{p.setState({wsConnected:y,wsUrl:l.url})});const m=az(p);return{store:p,services:c,cleanup:m}}function bE(i){if(rf)return rf;const l=hz(i);return rf=l.store,ih=l.services,rf}function Ot(i){return rf||bE(),i?rf(i):rf()}function xE(i,l,u){return{...l,getState:()=>u.getState().plugins[i]||{},setState:c=>{u.setState(p=>{const m=p.plugins[i]||{};return{plugins:{...p.plugins,[i]:{...m,...c}}}})}}}async function pz(i){const l=bE(i);if(!ih)throw new Error("[initializePlugins] Plugin services not initialized");const u=i?.registry??li;u.setServices(ih);const c=u.getPlugins(),p=dE(c);It(`[initializePlugins] Initialization order: ${p.map(m=>m.id).join(" -> ")}`);for(const m of p)if(m.createSlice&&m.id)try{const y=xE(m.id,ih,l),x=m.createSlice(y);m.id in{}?l.getState().registerPluginSlice(m.id,x):(It(`[initializePlugins] Registering unknown plugin slice: ${m.id}`),l.setState(S=>({plugins:{...S.plugins,[m.id]:x}})))}catch(y){$n(`[initializePlugins] Failed to create slice for plugin ${m.id}:`,y)}for(const m of p)if(m.id)try{const y=xE(m.id,ih,l);m.initialize&&await m.initialize(y),u.markPluginInitialized(m.id)}catch(y){$n(`[initializePlugins] Failed to initialize plugin ${m.id}:`,y)}It(`[initializePlugins] Initialized ${c.length} plugins`)}function sf(){return ih}const mz=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gz=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,u,c)=>c?c.toUpperCase():u.toLowerCase()),SE=i=>{const l=gz(i);return l.charAt(0).toUpperCase()+l.slice(1)},wE=(...i)=>i.filter((l,u,c)=>!!l&&l.trim()!==""&&c.indexOf(l)===u).join(" ").trim(),yz=i=>{for(const l in i)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};var vz={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 bz=K.forwardRef(({color:i="currentColor",size:l=24,strokeWidth:u=2,absoluteStrokeWidth:c,className:p="",children:m,iconNode:y,...x},S)=>K.createElement("svg",{ref:S,...vz,width:l,height:l,stroke:i,strokeWidth:c?Number(u)*24/Number(l):u,className:wE("lucide",p),...!m&&!yz(x)&&{"aria-hidden":"true"},...x},[...y.map(([E,T])=>K.createElement(E,T)),...Array.isArray(m)?m:[m]]));const Ol=(i,l)=>{const u=K.forwardRef(({className:c,...p},m)=>K.createElement(bz,{ref:m,iconNode:l,className:wE(`lucide-${mz(SE(i))}`,`lucide-${i}`,c),...p}));return u.displayName=SE(i),u};const EE=Ol("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const Cx=Ol("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const TE=Ol("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 xz=Ol("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const AE=Ol("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 Sz=Ol("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 wz=Ol("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const CE=Ol("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const Ez=Ol("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);const RE=Ol("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 Sv=Ol("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Rx=K.createContext({});function Dx(i){const l=K.useRef(null);return l.current===null&&(l.current=i()),l.current}const DE=typeof window<"u",ME=DE?K.useLayoutEffect:K.useEffect,wv=K.createContext(null);function Mx(i,l){i.indexOf(l)===-1&&i.push(l)}function zx(i,l){const u=i.indexOf(l);u>-1&&i.splice(u,1)}const fr=(i,l,u)=>u>l?l:u<i?i:u;function Ox(i,l){return l?`${i}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${l}`:i}let oh=()=>{},is=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(oh=(i,l,u)=>{!i&&typeof console<"u"&&console.warn(Ox(l,u))},is=(i,l,u)=>{if(!i)throw new Error(Ox(l,u))});const os={},zE=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function OE(i){return typeof i=="object"&&i!==null}const _E=i=>/^0[^.\s]+$/u.test(i);function _x(i){let l;return()=>(l===void 0&&(l=i()),l)}const jo=i=>i,Tz=(i,l)=>u=>l(i(u)),Fm=(...i)=>i.reduce(Tz),Pm=(i,l,u)=>{const c=l-i;return c===0?1:(u-i)/c};class kx{constructor(){this.subscriptions=[]}add(l){return Mx(this.subscriptions,l),()=>zx(this.subscriptions,l)}notify(l,u,c){const p=this.subscriptions.length;if(p)if(p===1)this.subscriptions[0](l,u,c);else for(let m=0;m<p;m++){const y=this.subscriptions[m];y&&y(l,u,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const dr=i=>i*1e3,Uo=i=>i/1e3;function kE(i,l){return l?i*(1e3/l):0}const jE=new Set;function jx(i,l,u){i||jE.has(l)||(console.warn(Ox(l,u)),jE.add(l))}const UE=(i,l,u)=>(((1-3*u+3*l)*i+(3*u-6*l))*i+3*l)*i,Az=1e-7,Cz=12;function Rz(i,l,u,c,p){let m,y,x=0;do y=l+(u-l)/2,m=UE(y,c,p)-i,m>0?u=y:l=y;while(Math.abs(m)>Az&&++x<Cz);return y}function Wm(i,l,u,c){if(i===l&&u===c)return jo;const p=m=>Rz(m,0,1,i,u);return m=>m===0||m===1?m:UE(p(m),l,c)}const LE=i=>l=>l<=.5?i(2*l)/2:(2-i(2*(1-l)))/2,NE=i=>l=>1-i(1-l),HE=Wm(.33,1.53,.69,.99),Ux=NE(HE),VE=LE(Ux),BE=i=>(i*=2)<1?.5*Ux(i):.5*(2-Math.pow(2,-10*(i-1))),Lx=i=>1-Math.sin(Math.acos(i)),YE=NE(Lx),qE=LE(Lx),Dz=Wm(.42,0,1,1),Mz=Wm(0,0,.58,1),GE=Wm(.42,0,.58,1),zz=i=>Array.isArray(i)&&typeof i[0]!="number",XE=i=>Array.isArray(i)&&typeof i[0]=="number",QE={linear:jo,easeIn:Dz,easeInOut:GE,easeOut:Mz,circIn:Lx,circInOut:qE,circOut:YE,backIn:Ux,backInOut:VE,backOut:HE,anticipate:BE},Oz=i=>typeof i=="string",ZE=i=>{if(XE(i)){is(i.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[l,u,c,p]=i;return Wm(l,u,c,p)}else if(Oz(i))return is(QE[i]!==void 0,`Invalid easing type '${i}'`,"invalid-easing-type"),QE[i];return i},Ev=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _z(i,l){let u=new Set,c=new Set,p=!1,m=!1;const y=new WeakSet;let x={delta:0,timestamp:0,isProcessing:!1};function S(T){y.has(T)&&(E.schedule(T),i()),T(x)}const E={schedule:(T,A=!1,R=!1)=>{const B=R&&p?u:c;return A&&y.add(T),B.has(T)||B.add(T),T},cancel:T=>{c.delete(T),y.delete(T)},process:T=>{if(x=T,p){m=!0;return}p=!0,[u,c]=[c,u],u.forEach(S),u.clear(),p=!1,m&&(m=!1,E.process(T))}};return E}const kz=40;function $E(i,l){let u=!1,c=!0;const p={delta:0,timestamp:0,isProcessing:!1},m=()=>u=!0,y=Ev.reduce((rt,ct)=>(rt[ct]=_z(m),rt),{}),{setup:x,read:S,resolveKeyframes:E,preUpdate:T,update:A,preRender:R,render:j,postRender:B}=y,X=()=>{const rt=os.useManualTiming?p.timestamp:performance.now();u=!1,os.useManualTiming||(p.delta=c?1e3/60:Math.max(Math.min(rt-p.timestamp,kz),1)),p.timestamp=rt,p.isProcessing=!0,x.process(p),S.process(p),E.process(p),T.process(p),A.process(p),R.process(p),j.process(p),B.process(p),p.isProcessing=!1,u&&l&&(c=!1,i(X))},q=()=>{u=!0,c=!0,p.isProcessing||i(X)};return{schedule:Ev.reduce((rt,ct)=>{const xt=y[ct];return rt[ct]=(Tt,bt=!1,ot=!1)=>(u||q(),xt.schedule(Tt,bt,ot)),rt},{}),cancel:rt=>{for(let ct=0;ct<Ev.length;ct++)y[Ev[ct]].cancel(rt)},state:p,steps:y}}const{schedule:mn,cancel:vu,state:za,steps:Nx}=$E(typeof requestAnimationFrame<"u"?requestAnimationFrame:jo,!0);let Tv;function jz(){Tv=void 0}const ri={now:()=>(Tv===void 0&&ri.set(za.isProcessing||os.useManualTiming?za.timestamp:performance.now()),Tv),set:i=>{Tv=i,queueMicrotask(jz)}},KE=i=>l=>typeof l=="string"&&l.startsWith(i),IE=KE("--"),Uz=KE("var(--"),Hx=i=>Uz(i)?Lz.test(i.split("/*")[0].trim()):!1,Lz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function JE(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const lh={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},tg={...lh,transform:i=>fr(0,1,i)},Av={...lh,default:1},eg=i=>Math.round(i*1e5)/1e5,Vx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Nz(i){return i==null}const Hz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Bx=(i,l)=>u=>!!(typeof u=="string"&&Hz.test(u)&&u.startsWith(i)||l&&!Nz(u)&&Object.prototype.hasOwnProperty.call(u,l)),FE=(i,l,u)=>c=>{if(typeof c!="string")return c;const[p,m,y,x]=c.match(Vx);return{[i]:parseFloat(p),[l]:parseFloat(m),[u]:parseFloat(y),alpha:x!==void 0?parseFloat(x):1}},Vz=i=>fr(0,255,i),Yx={...lh,transform:i=>Math.round(Vz(i))},uf={test:Bx("rgb","red"),parse:FE("red","green","blue"),transform:({red:i,green:l,blue:u,alpha:c=1})=>"rgba("+Yx.transform(i)+", "+Yx.transform(l)+", "+Yx.transform(u)+", "+eg(tg.transform(c))+")"};function Bz(i){let l="",u="",c="",p="";return i.length>5?(l=i.substring(1,3),u=i.substring(3,5),c=i.substring(5,7),p=i.substring(7,9)):(l=i.substring(1,2),u=i.substring(2,3),c=i.substring(3,4),p=i.substring(4,5),l+=l,u+=u,c+=c,p+=p),{red:parseInt(l,16),green:parseInt(u,16),blue:parseInt(c,16),alpha:p?parseInt(p,16)/255:1}}const qx={test:Bx("#"),parse:Bz,transform:uf.transform},ng=i=>({test:l=>typeof l=="string"&&l.endsWith(i)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${i}`}),bu=ng("deg"),hr=ng("%"),Lt=ng("px"),Yz=ng("vh"),qz=ng("vw"),PE={...hr,parse:i=>hr.parse(i)/100,transform:i=>hr.transform(i*100)},rh={test:Bx("hsl","hue"),parse:FE("hue","saturation","lightness"),transform:({hue:i,saturation:l,lightness:u,alpha:c=1})=>"hsla("+Math.round(i)+", "+hr.transform(eg(l))+", "+hr.transform(eg(u))+", "+eg(tg.transform(c))+")"},Kn={test:i=>uf.test(i)||qx.test(i)||rh.test(i),parse:i=>uf.test(i)?uf.parse(i):rh.test(i)?rh.parse(i):qx.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?uf.transform(i):rh.transform(i),getAnimatableNone:i=>{const l=Kn.parse(i);return l.alpha=0,Kn.transform(l)}},Gz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Xz(i){return isNaN(i)&&typeof i=="string"&&(i.match(Vx)?.length||0)+(i.match(Gz)?.length||0)>0}const WE="number",tT="color",Qz="var",Zz="var(",eT="${}",$z=/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 ag(i){const l=i.toString(),u=[],c={color:[],number:[],var:[]},p=[];let m=0;const x=l.replace($z,S=>(Kn.test(S)?(c.color.push(m),p.push(tT),u.push(Kn.parse(S))):S.startsWith(Zz)?(c.var.push(m),p.push(Qz),u.push(S)):(c.number.push(m),p.push(WE),u.push(parseFloat(S))),++m,eT)).split(eT);return{values:u,split:x,indexes:c,types:p}}function nT(i){return ag(i).values}function aT(i){const{split:l,types:u}=ag(i),c=l.length;return p=>{let m="";for(let y=0;y<c;y++)if(m+=l[y],p[y]!==void 0){const x=u[y];x===WE?m+=eg(p[y]):x===tT?m+=Kn.transform(p[y]):m+=p[y]}return m}}const Kz=i=>typeof i=="number"?0:Kn.test(i)?Kn.getAnimatableNone(i):i;function Iz(i){const l=nT(i);return aT(i)(l.map(Kz))}const xu={test:Xz,parse:nT,createTransformer:aT,getAnimatableNone:Iz};function Gx(i,l,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?i+(l-i)*6*u:u<1/2?l:u<2/3?i+(l-i)*(2/3-u)*6:i}function Jz({hue:i,saturation:l,lightness:u,alpha:c}){i/=360,l/=100,u/=100;let p=0,m=0,y=0;if(!l)p=m=y=u;else{const x=u<.5?u*(1+l):u+l-u*l,S=2*u-x;p=Gx(S,x,i+1/3),m=Gx(S,x,i),y=Gx(S,x,i-1/3)}return{red:Math.round(p*255),green:Math.round(m*255),blue:Math.round(y*255),alpha:c}}function Cv(i,l){return u=>u>0?l:i}const An=(i,l,u)=>i+(l-i)*u,Xx=(i,l,u)=>{const c=i*i,p=u*(l*l-c)+c;return p<0?0:Math.sqrt(p)},Fz=[qx,uf,rh],Pz=i=>Fz.find(l=>l.test(i));function iT(i){const l=Pz(i);if(oh(!!l,`'${i}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!l)return!1;let u=l.parse(i);return l===rh&&(u=Jz(u)),u}const oT=(i,l)=>{const u=iT(i),c=iT(l);if(!u||!c)return Cv(i,l);const p={...u};return m=>(p.red=Xx(u.red,c.red,m),p.green=Xx(u.green,c.green,m),p.blue=Xx(u.blue,c.blue,m),p.alpha=An(u.alpha,c.alpha,m),uf.transform(p))},Qx=new Set(["none","hidden"]);function Wz(i,l){return Qx.has(i)?u=>u<=0?i:l:u=>u>=1?l:i}function t3(i,l){return u=>An(i,l,u)}function Zx(i){return typeof i=="number"?t3:typeof i=="string"?Hx(i)?Cv:Kn.test(i)?oT:a3:Array.isArray(i)?lT:typeof i=="object"?Kn.test(i)?oT:e3:Cv}function lT(i,l){const u=[...i],c=u.length,p=i.map((m,y)=>Zx(m)(m,l[y]));return m=>{for(let y=0;y<c;y++)u[y]=p[y](m);return u}}function e3(i,l){const u={...i,...l},c={};for(const p in u)i[p]!==void 0&&l[p]!==void 0&&(c[p]=Zx(i[p])(i[p],l[p]));return p=>{for(const m in c)u[m]=c[m](p);return u}}function n3(i,l){const u=[],c={color:0,var:0,number:0};for(let p=0;p<l.values.length;p++){const m=l.types[p],y=i.indexes[m][c[m]],x=i.values[y]??0;u[p]=x,c[m]++}return u}const a3=(i,l)=>{const u=xu.createTransformer(l),c=ag(i),p=ag(l);return c.indexes.var.length===p.indexes.var.length&&c.indexes.color.length===p.indexes.color.length&&c.indexes.number.length>=p.indexes.number.length?Qx.has(i)&&!p.values.length||Qx.has(l)&&!c.values.length?Wz(i,l):Fm(lT(n3(c,p),p.values),u):(oh(!0,`Complex values '${i}' and '${l}' 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"),Cv(i,l))};function rT(i,l,u){return typeof i=="number"&&typeof l=="number"&&typeof u=="number"?An(i,l,u):Zx(i)(i,l)}const i3=i=>{const l=({timestamp:u})=>i(u);return{start:(u=!0)=>mn.update(l,u),stop:()=>vu(l),now:()=>za.isProcessing?za.timestamp:ri.now()}},sT=(i,l,u=10)=>{let c="";const p=Math.max(Math.round(l/u),2);for(let m=0;m<p;m++)c+=Math.round(i(m/(p-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},Rv=2e4;function $x(i){let l=0;const u=50;let c=i.next(l);for(;!c.done&&l<Rv;)l+=u,c=i.next(l);return l>=Rv?1/0:l}function o3(i,l=100,u){const c=u({...i,keyframes:[0,l]}),p=Math.min($x(c),Rv);return{type:"keyframes",ease:m=>c.next(p*m).value/l,duration:Uo(p)}}const l3=5;function uT(i,l,u){const c=Math.max(l-l3,0);return kE(u-i(c),l-c)}const Cn={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},Kx=.001;function r3({duration:i=Cn.duration,bounce:l=Cn.bounce,velocity:u=Cn.velocity,mass:c=Cn.mass}){let p,m;oh(i<=dr(Cn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let y=1-l;y=fr(Cn.minDamping,Cn.maxDamping,y),i=fr(Cn.minDuration,Cn.maxDuration,Uo(i)),y<1?(p=E=>{const T=E*y,A=T*i,R=T-u,j=Ix(E,y),B=Math.exp(-A);return Kx-R/j*B},m=E=>{const A=E*y*i,R=A*u+u,j=Math.pow(y,2)*Math.pow(E,2)*i,B=Math.exp(-A),X=Ix(Math.pow(E,2),y);return(-p(E)+Kx>0?-1:1)*((R-j)*B)/X}):(p=E=>{const T=Math.exp(-E*i),A=(E-u)*i+1;return-Kx+T*A},m=E=>{const T=Math.exp(-E*i),A=(u-E)*(i*i);return T*A});const x=5/i,S=u3(p,m,x);if(i=dr(i),isNaN(S))return{stiffness:Cn.stiffness,damping:Cn.damping,duration:i};{const E=Math.pow(S,2)*c;return{stiffness:E,damping:y*2*Math.sqrt(c*E),duration:i}}}const s3=12;function u3(i,l,u){let c=u;for(let p=1;p<s3;p++)c=c-i(c)/l(c);return c}function Ix(i,l){return i*Math.sqrt(1-l*l)}const c3=["duration","bounce"],f3=["stiffness","damping","mass"];function cT(i,l){return l.some(u=>i[u]!==void 0)}function d3(i){let l={velocity:Cn.velocity,stiffness:Cn.stiffness,damping:Cn.damping,mass:Cn.mass,isResolvedFromDuration:!1,...i};if(!cT(i,f3)&&cT(i,c3))if(i.visualDuration){const u=i.visualDuration,c=2*Math.PI/(u*1.2),p=c*c,m=2*fr(.05,1,1-(i.bounce||0))*Math.sqrt(p);l={...l,mass:Cn.mass,stiffness:p,damping:m}}else{const u=r3(i);l={...l,...u,mass:Cn.mass},l.isResolvedFromDuration=!0}return l}function Dv(i=Cn.visualDuration,l=Cn.bounce){const u=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:l}:i;let{restSpeed:c,restDelta:p}=u;const m=u.keyframes[0],y=u.keyframes[u.keyframes.length-1],x={done:!1,value:m},{stiffness:S,damping:E,mass:T,duration:A,velocity:R,isResolvedFromDuration:j}=d3({...u,velocity:-Uo(u.velocity||0)}),B=R||0,X=E/(2*Math.sqrt(S*T)),q=y-m,Z=Uo(Math.sqrt(S/T)),W=Math.abs(q)<5;c||(c=W?Cn.restSpeed.granular:Cn.restSpeed.default),p||(p=W?Cn.restDelta.granular:Cn.restDelta.default);let rt;if(X<1){const xt=Ix(Z,X);rt=Tt=>{const bt=Math.exp(-X*Z*Tt);return y-bt*((B+X*Z*q)/xt*Math.sin(xt*Tt)+q*Math.cos(xt*Tt))}}else if(X===1)rt=xt=>y-Math.exp(-Z*xt)*(q+(B+Z*q)*xt);else{const xt=Z*Math.sqrt(X*X-1);rt=Tt=>{const bt=Math.exp(-X*Z*Tt),ot=Math.min(xt*Tt,300);return y-bt*((B+X*Z*q)*Math.sinh(ot)+xt*q*Math.cosh(ot))/xt}}const ct={calculatedDuration:j&&A||null,next:xt=>{const Tt=rt(xt);if(j)x.done=xt>=A;else{let bt=xt===0?B:0;X<1&&(bt=xt===0?dr(B):uT(rt,xt,Tt));const ot=Math.abs(bt)<=c,jt=Math.abs(y-Tt)<=p;x.done=ot&&jt}return x.value=x.done?y:Tt,x},toString:()=>{const xt=Math.min($x(ct),Rv),Tt=sT(bt=>ct.next(xt*bt).value,xt,30);return xt+"ms "+Tt},toTransition:()=>{}};return ct}Dv.applyToOptions=i=>{const l=o3(i,100,Dv);return i.ease=l.ease,i.duration=dr(l.duration),i.type="keyframes",i};function Jx({keyframes:i,velocity:l=0,power:u=.8,timeConstant:c=325,bounceDamping:p=10,bounceStiffness:m=500,modifyTarget:y,min:x,max:S,restDelta:E=.5,restSpeed:T}){const A=i[0],R={done:!1,value:A},j=ot=>x!==void 0&&ot<x||S!==void 0&&ot>S,B=ot=>x===void 0?S:S===void 0||Math.abs(x-ot)<Math.abs(S-ot)?x:S;let X=u*l;const q=A+X,Z=y===void 0?q:y(q);Z!==q&&(X=Z-A);const W=ot=>-X*Math.exp(-ot/c),rt=ot=>Z+W(ot),ct=ot=>{const jt=W(ot),St=rt(ot);R.done=Math.abs(jt)<=E,R.value=R.done?Z:St};let xt,Tt;const bt=ot=>{j(R.value)&&(xt=ot,Tt=Dv({keyframes:[R.value,B(R.value)],velocity:uT(rt,ot,R.value),damping:p,stiffness:m,restDelta:E,restSpeed:T}))};return bt(0),{calculatedDuration:null,next:ot=>{let jt=!1;return!Tt&&xt===void 0&&(jt=!0,ct(ot),bt(ot)),xt!==void 0&&ot>=xt?Tt.next(ot-xt):(!jt&&ct(ot),R)}}}function h3(i,l,u){const c=[],p=u||os.mix||rT,m=i.length-1;for(let y=0;y<m;y++){let x=p(i[y],i[y+1]);if(l){const S=Array.isArray(l)?l[y]||jo:l;x=Fm(S,x)}c.push(x)}return c}function p3(i,l,{clamp:u=!0,ease:c,mixer:p}={}){const m=i.length;if(is(m===l.length,"Both input and output ranges must be the same length","range-length"),m===1)return()=>l[0];if(m===2&&l[0]===l[1])return()=>l[1];const y=i[0]===i[1];i[0]>i[m-1]&&(i=[...i].reverse(),l=[...l].reverse());const x=h3(l,c,p),S=x.length,E=T=>{if(y&&T<i[0])return l[0];let A=0;if(S>1)for(;A<i.length-2&&!(T<i[A+1]);A++);const R=Pm(i[A],i[A+1],T);return x[A](R)};return u?T=>E(fr(i[0],i[m-1],T)):E}function m3(i,l){const u=i[i.length-1];for(let c=1;c<=l;c++){const p=Pm(0,l,c);i.push(An(u,1,p))}}function g3(i){const l=[0];return m3(l,i.length-1),l}function y3(i,l){return i.map(u=>u*l)}function v3(i,l){return i.map(()=>l||GE).splice(0,i.length-1)}function sh({duration:i=300,keyframes:l,times:u,ease:c="easeInOut"}){const p=zz(c)?c.map(ZE):ZE(c),m={done:!1,value:l[0]},y=y3(u&&u.length===l.length?u:g3(l),i),x=p3(y,l,{ease:Array.isArray(p)?p:v3(l,p)});return{calculatedDuration:i,next:S=>(m.value=x(S),m.done=S>=i,m)}}const b3=i=>i!==null;function Fx(i,{repeat:l,repeatType:u="loop"},c,p=1){const m=i.filter(b3),x=p<0||l&&u!=="loop"&&l%2===1?0:m.length-1;return!x||c===void 0?m[x]:c}const x3={decay:Jx,inertia:Jx,tween:sh,keyframes:sh,spring:Dv};function fT(i){typeof i.type=="string"&&(i.type=x3[i.type])}class Px{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,u){return this.finished.then(l,u)}}const S3=i=>i/100;class Wx extends Px{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==ri.now()&&this.tick(ri.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;fT(l);const{type:u=sh,repeat:c=0,repeatDelay:p=0,repeatType:m,velocity:y=0}=l;let{keyframes:x}=l;const S=u||sh;process.env.NODE_ENV!=="production"&&S!==sh&&is(x.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${x}`,"spring-two-frames"),S!==sh&&typeof x[0]!="number"&&(this.mixKeyframes=Fm(S3,rT(x[0],x[1])),x=[0,100]);const E=S({...l,keyframes:x});m==="mirror"&&(this.mirroredGenerator=S({...l,keyframes:[...x].reverse(),velocity:-y})),E.calculatedDuration===null&&(E.calculatedDuration=$x(E));const{calculatedDuration:T}=E;this.calculatedDuration=T,this.resolvedDuration=T+p,this.totalDuration=this.resolvedDuration*(c+1)-p,this.generator=E}updateTime(l){const u=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(l,u=!1){const{generator:c,totalDuration:p,mixKeyframes:m,mirroredGenerator:y,resolvedDuration:x,calculatedDuration:S}=this;if(this.startTime===null)return c.next(0);const{delay:E=0,keyframes:T,repeat:A,repeatType:R,repeatDelay:j,type:B,onUpdate:X,finalKeyframe:q}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-p/this.speed,this.startTime)),u?this.currentTime=l:this.updateTime(l);const Z=this.currentTime-E*(this.playbackSpeed>=0?1:-1),W=this.playbackSpeed>=0?Z<0:Z>p;this.currentTime=Math.max(Z,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let rt=this.currentTime,ct=c;if(A){const ot=Math.min(this.currentTime,p)/x;let jt=Math.floor(ot),St=ot%1;!St&&ot>=1&&(St=1),St===1&&jt--,jt=Math.min(jt,A+1),jt%2&&(R==="reverse"?(St=1-St,j&&(St-=j/x)):R==="mirror"&&(ct=y)),rt=fr(0,1,St)*x}const xt=W?{done:!1,value:T[0]}:ct.next(rt);m&&(xt.value=m(xt.value));let{done:Tt}=xt;!W&&S!==null&&(Tt=this.playbackSpeed>=0?this.currentTime>=p:this.currentTime<=0);const bt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Tt);return bt&&B!==Jx&&(xt.value=Fx(T,this.options,q,this.speed)),X&&X(xt.value),bt&&this.finish(),xt}then(l,u){return this.finished.then(l,u)}get duration(){return Uo(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+Uo(l)}get time(){return Uo(this.currentTime)}set time(l){l=dr(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(l){this.updateTime(ri.now());const u=this.playbackSpeed!==l;this.playbackSpeed=l,u&&(this.time=Uo(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=i3,startTime:u}=this.options;this.driver||(this.driver=l(p=>this.tick(p))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=u??c),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(ri.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(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),l.observe(this)}}function w3(i){for(let l=1;l<i.length;l++)i[l]??(i[l]=i[l-1])}const cf=i=>i*180/Math.PI,tS=i=>{const l=cf(Math.atan2(i[1],i[0]));return eS(l)},E3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:tS,rotateZ:tS,skewX:i=>cf(Math.atan(i[1])),skewY:i=>cf(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},eS=i=>(i=i%360,i<0&&(i+=360),i),dT=tS,hT=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),pT=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),T3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:hT,scaleY:pT,scale:i=>(hT(i)+pT(i))/2,rotateX:i=>eS(cf(Math.atan2(i[6],i[5]))),rotateY:i=>eS(cf(Math.atan2(-i[2],i[0]))),rotateZ:dT,rotate:dT,skewX:i=>cf(Math.atan(i[4])),skewY:i=>cf(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function nS(i){return i.includes("scale")?1:0}function aS(i,l){if(!i||i==="none")return nS(l);const u=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,p;if(u)c=T3,p=u;else{const x=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=E3,p=x}if(!p)return nS(l);const m=c[l],y=p[1].split(",").map(C3);return typeof m=="function"?m(y):y[m]}const A3=(i,l)=>{const{transform:u="none"}=getComputedStyle(i);return aS(u,l)};function C3(i){return parseFloat(i.trim())}const uh=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ch=new Set(uh),mT=i=>i===lh||i===Lt,R3=new Set(["x","y","z"]),D3=uh.filter(i=>!R3.has(i));function M3(i){const l=[];return D3.forEach(u=>{const c=i.getValue(u);c!==void 0&&(l.push([u,c.get()]),c.set(u.startsWith("scale")?1:0))}),l}const Su={width:({x:i},{paddingLeft:l="0",paddingRight:u="0"})=>i.max-i.min-parseFloat(l)-parseFloat(u),height:({y:i},{paddingTop:l="0",paddingBottom:u="0"})=>i.max-i.min-parseFloat(l)-parseFloat(u),top:(i,{top:l})=>parseFloat(l),left:(i,{left:l})=>parseFloat(l),bottom:({y:i},{top:l})=>parseFloat(l)+(i.max-i.min),right:({x:i},{left:l})=>parseFloat(l)+(i.max-i.min),x:(i,{transform:l})=>aS(l,"x"),y:(i,{transform:l})=>aS(l,"y")};Su.translateX=Su.x,Su.translateY=Su.y;const ff=new Set;let iS=!1,oS=!1,lS=!1;function gT(){if(oS){const i=Array.from(ff).filter(c=>c.needsMeasurement),l=new Set(i.map(c=>c.element)),u=new Map;l.forEach(c=>{const p=M3(c);p.length&&(u.set(c,p),c.render())}),i.forEach(c=>c.measureInitialState()),l.forEach(c=>{c.render();const p=u.get(c);p&&p.forEach(([m,y])=>{c.getValue(m)?.set(y)})}),i.forEach(c=>c.measureEndState()),i.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}oS=!1,iS=!1,ff.forEach(i=>i.complete(lS)),ff.clear()}function yT(){ff.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(oS=!0)})}function z3(){lS=!0,yT(),gT(),lS=!1}class rS{constructor(l,u,c,p,m,y=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=u,this.name=c,this.motionValue=p,this.element=m,this.isAsync=y}scheduleResolve(){this.state="scheduled",this.isAsync?(ff.add(this),iS||(iS=!0,mn.read(yT),mn.resolveKeyframes(gT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:u,element:c,motionValue:p}=this;if(l[0]===null){const m=p?.get(),y=l[l.length-1];if(m!==void 0)l[0]=m;else if(c&&u){const x=c.readValue(u,y);x!=null&&(l[0]=x)}l[0]===void 0&&(l[0]=y),p&&m===void 0&&p.set(l[0])}w3(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),ff.delete(this)}cancel(){this.state==="scheduled"&&(ff.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const O3=i=>i.startsWith("--");function _3(i,l,u){O3(l)?i.style.setProperty(l,u):i.style[l]=u}const k3=_x(()=>window.ScrollTimeline!==void 0),j3={};function U3(i,l){const u=_x(i);return()=>j3[l]??u()}const vT=U3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ig=([i,l,u,c])=>`cubic-bezier(${i}, ${l}, ${u}, ${c})`,bT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ig([0,.65,.55,1]),circOut:ig([.55,0,1,.45]),backIn:ig([.31,.01,.66,-.59]),backOut:ig([.33,1.53,.69,.99])};function xT(i,l){if(i)return typeof i=="function"?vT()?sT(i,l):"ease-out":XE(i)?ig(i):Array.isArray(i)?i.map(u=>xT(u,l)||bT.easeOut):bT[i]}function L3(i,l,u,{delay:c=0,duration:p=300,repeat:m=0,repeatType:y="loop",ease:x="easeOut",times:S}={},E=void 0){const T={[l]:u};S&&(T.offset=S);const A=xT(x,p);Array.isArray(A)&&(T.easing=A);const R={delay:c,duration:p,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:m+1,direction:y==="reverse"?"alternate":"normal"};return E&&(R.pseudoElement=E),i.animate(T,R)}function ST(i){return typeof i=="function"&&"applyToOptions"in i}function N3({type:i,...l}){return ST(i)&&vT()?i.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class H3 extends Px{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:u,name:c,keyframes:p,pseudoElement:m,allowFlatten:y=!1,finalKeyframe:x,onComplete:S}=l;this.isPseudoElement=!!m,this.allowFlatten=y,this.options=l,is(typeof l.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const E=N3(l);this.animation=L3(u,c,p,E,m),E.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!m){const T=Fx(p,this.options,x,this.speed);this.updateMotionValue?this.updateMotionValue(T):_3(u,c,T),this.animation.cancel()}S?.(),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:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return Uo(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+Uo(l)}get time(){return Uo(Number(this.animation.currentTime)||0)}set time(l){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=dr(l)}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&k3()?(this.animation.timeline=l,jo):u(this)}}const wT={anticipate:BE,backInOut:VE,circInOut:qE};function V3(i){return i in wT}function B3(i){typeof i.ease=="string"&&V3(i.ease)&&(i.ease=wT[i.ease])}const sS=10;class Y3 extends H3{constructor(l){B3(l),fT(l),super(l),l.startTime!==void 0&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:u,onUpdate:c,onComplete:p,element:m,...y}=this.options;if(!u)return;if(l!==void 0){u.set(l);return}const x=new Wx({...y,autoplay:!1}),S=Math.max(sS,ri.now()-this.startTime),E=fr(0,sS,S-sS);u.setWithVelocity(x.sample(Math.max(0,S-E)).value,x.sample(S).value,E),x.stop()}}const ET=(i,l)=>l==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(xu.test(i)||i==="0")&&!i.startsWith("url("));function q3(i){const l=i[0];if(i.length===1)return!0;for(let u=0;u<i.length;u++)if(i[u]!==l)return!0}function G3(i,l,u,c){const p=i[0];if(p===null)return!1;if(l==="display"||l==="visibility")return!0;const m=i[i.length-1],y=ET(p,l),x=ET(m,l);return oh(y===x,`You are trying to animate ${l} from "${p}" to "${m}". "${y?m:p}" is not an animatable value.`,"value-not-animatable"),!y||!x?!1:q3(i)||(u==="spring"||ST(u))&&c}function uS(i){i.duration=0,i.type="keyframes"}const X3=new Set(["opacity","clipPath","filter","transform"]),Q3=_x(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Z3(i){const{motionValue:l,name:u,repeatDelay:c,repeatType:p,damping:m,type:y}=i;if(!(l?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:S,transformTemplate:E}=l.owner.getProps();return Q3()&&u&&X3.has(u)&&(u!=="transform"||!E)&&!S&&!c&&p!=="mirror"&&m!==0&&y!=="inertia"}const $3=40;class K3 extends Px{constructor({autoplay:l=!0,delay:u=0,type:c="keyframes",repeat:p=0,repeatDelay:m=0,repeatType:y="loop",keyframes:x,name:S,motionValue:E,element:T,...A}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ri.now();const R={autoplay:l,delay:u,type:c,repeat:p,repeatDelay:m,repeatType:y,name:S,motionValue:E,element:T,...A},j=T?.KeyframeResolver||rS;this.keyframeResolver=new j(x,(B,X,q)=>this.onKeyframesResolved(B,X,R,!q),S,E,T),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,u,c,p){this.keyframeResolver=void 0;const{name:m,type:y,velocity:x,delay:S,isHandoff:E,onUpdate:T}=c;this.resolvedAt=ri.now(),G3(l,m,y,x)||((os.instantAnimations||!S)&&T?.(Fx(l,c,u)),l[0]=l[l.length-1],uS(c),c.repeat=0);const R={startTime:p?this.resolvedAt?this.resolvedAt-this.createdAt>$3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...c,keyframes:l},j=!E&&Z3(R)?new Y3({...R,element:R.motionValue.owner.current}):new Wx(R);j.finished.then(()=>this.notifyFinished()).catch(jo),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(l,u){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),z3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const I3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function J3(i){const l=I3.exec(i);if(!l)return[,];const[,u,c,p]=l;return[`--${u??c}`,p]}const F3=4;function TT(i,l,u=1){is(u<=F3,`Max CSS variable fallback depth detected in property "${i}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,p]=J3(i);if(!c)return;const m=window.getComputedStyle(l).getPropertyValue(c);if(m){const y=m.trim();return zE(y)?parseFloat(y):y}return Hx(p)?TT(p,l,u+1):p}function cS(i,l){return i?.[l]??i?.default??i}const P3={type:"spring",stiffness:500,damping:25,restSpeed:10},W3=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),tO={type:"keyframes",duration:.8},eO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nO=(i,{keyframes:l})=>l.length>2?tO:ch.has(i)?i.startsWith("scale")?W3(l[1]):P3:eO;function aO({when:i,delay:l,delayChildren:u,staggerChildren:c,staggerDirection:p,repeat:m,repeatType:y,repeatDelay:x,from:S,elapsed:E,...T}){return!!Object.keys(T).length}const iO=i=>i!==null;function oO(i,{repeat:l,repeatType:u="loop"},c){const p=i.filter(iO),m=l&&u!=="loop"&&l%2===1?0:p.length-1;return p[m]}function AT(i,l,u,c=0,p=1){const m=Array.from(i).sort((E,T)=>E.sortNodePosition(T)).indexOf(l),y=i.size,x=(y-1)*c;return typeof u=="function"?u(m,y):p===1?m*c:x-m*c}const fS=(i,l,u,c={},p,m)=>y=>{const x=cS(c,i)||{},S=x.delay||c.delay||0;let{elapsed:E=0}=c;E=E-dr(S);const T={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:l.getVelocity(),...x,delay:-E,onUpdate:R=>{l.set(R),x.onUpdate&&x.onUpdate(R)},onComplete:()=>{y(),x.onComplete&&x.onComplete()},name:i,motionValue:l,element:m?void 0:p};aO(x)||Object.assign(T,nO(i,T)),T.duration&&(T.duration=dr(T.duration)),T.repeatDelay&&(T.repeatDelay=dr(T.repeatDelay)),T.from!==void 0&&(T.keyframes[0]=T.from);let A=!1;if((T.type===!1||T.duration===0&&!T.repeatDelay)&&(uS(T),T.delay===0&&(A=!0)),(os.instantAnimations||os.skipAnimations)&&(A=!0,uS(T),T.delay=0),T.allowFlatten=!x.type&&!x.ease,A&&!m&&l.get()!==void 0){const R=oO(T.keyframes,x);if(R!==void 0){mn.update(()=>{T.onUpdate(R),T.onComplete()});return}}return x.isSync?new Wx(T):new K3(T)},CT=new Set(["width","height","top","left","right","bottom",...uh]),RT=30,lO=i=>!isNaN(parseFloat(i));class rO{constructor(l,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const p=ri.now();if(this.updatedAt!==p&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const m of this.dependents)m.dirty()},this.hasAnimated=!1,this.setCurrent(l),this.owner=u.owner}setCurrent(l){this.current=l,this.updatedAt=ri.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=lO(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return process.env.NODE_ENV!=="production"&&jx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",l)}on(l,u){this.events[l]||(this.events[l]=new kx);const c=this.events[l].add(u);return l==="change"?()=>{c(),mn.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,u){this.passiveEffect=l,this.stopPassiveEffect=u}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,u,c){this.set(u),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-c}jump(l,u=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=ri.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>RT)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,RT);return kE(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(l){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=l(u),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 fh(i,l){return new rO(i,l)}function DT(i){const l=[{},{}];return i?.values.forEach((u,c)=>{l[0][c]=u.get(),l[1][c]=u.getVelocity()}),l}function dS(i,l,u,c){if(typeof l=="function"){const[p,m]=DT(c);l=l(u!==void 0?u:i.custom,p,m)}if(typeof l=="string"&&(l=i.variants&&i.variants[l]),typeof l=="function"){const[p,m]=DT(c);l=l(u!==void 0?u:i.custom,p,m)}return l}function dh(i,l,u){const c=i.getProps();return dS(c,l,u!==void 0?u:c.custom,i)}const hS=i=>Array.isArray(i);function sO(i,l,u){i.hasValue(l)?i.getValue(l).set(u):i.addValue(l,fh(u))}function uO(i){return hS(i)?i[i.length-1]||0:i}function cO(i,l){const u=dh(i,l);let{transitionEnd:c={},transition:p={},...m}=u||{};m={...m,...c};for(const y in m){const x=uO(m[y]);sO(i,y,x)}}const Ja=i=>!!(i&&i.getVelocity);function fO(i){return!!(Ja(i)&&i.add)}function pS(i,l){const u=i.getValue("willChange");if(fO(u))return u.add(l);if(!u&&os.WillChange){const c=new os.WillChange("auto");i.addValue("willChange",c),c.add(l)}}function mS(i){return i.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const MT="data-"+mS("framerAppearId");function zT(i){return i.props[MT]}function dO({protectedKeys:i,needsAnimating:l},u){const c=i.hasOwnProperty(u)&&l[u]!==!0;return l[u]=!1,c}function OT(i,l,{delay:u=0,transitionOverride:c,type:p}={}){let{transition:m=i.getDefaultTransition(),transitionEnd:y,...x}=l;c&&(m=c);const S=[],E=p&&i.animationState&&i.animationState.getState()[p];for(const T in x){const A=i.getValue(T,i.latestValues[T]??null),R=x[T];if(R===void 0||E&&dO(E,T))continue;const j={delay:u,...cS(m||{},T)},B=A.get();if(B!==void 0&&!A.isAnimating&&!Array.isArray(R)&&R===B&&!j.velocity)continue;let X=!1;if(window.MotionHandoffAnimation){const Z=zT(i);if(Z){const W=window.MotionHandoffAnimation(Z,T,mn);W!==null&&(j.startTime=W,X=!0)}}pS(i,T),A.start(fS(T,A,R,i.shouldReduceMotion&&CT.has(T)?{type:!1}:j,i,X));const q=A.animation;q&&S.push(q)}return y&&Promise.all(S).then(()=>{mn.update(()=>{y&&cO(i,y)})}),S}function gS(i,l,u={}){const c=dh(i,l,u.type==="exit"?i.presenceContext?.custom:void 0);let{transition:p=i.getDefaultTransition()||{}}=c||{};u.transitionOverride&&(p=u.transitionOverride);const m=c?()=>Promise.all(OT(i,c,u)):()=>Promise.resolve(),y=i.variantChildren&&i.variantChildren.size?(S=0)=>{const{delayChildren:E=0,staggerChildren:T,staggerDirection:A}=p;return hO(i,l,S,E,T,A,u)}:()=>Promise.resolve(),{when:x}=p;if(x){const[S,E]=x==="beforeChildren"?[m,y]:[y,m];return S().then(()=>E())}else return Promise.all([m(),y(u.delay)])}function hO(i,l,u=0,c=0,p=0,m=1,y){const x=[];for(const S of i.variantChildren)S.notify("AnimationStart",l),x.push(gS(S,l,{...y,delay:u+(typeof c=="function"?0:c)+AT(i.variantChildren,S,c,p,m)}).then(()=>S.notify("AnimationComplete",l)));return Promise.all(x)}function pO(i,l,u={}){i.notify("AnimationStart",l);let c;if(Array.isArray(l)){const p=l.map(m=>gS(i,m,u));c=Promise.all(p)}else if(typeof l=="string")c=gS(i,l,u);else{const p=typeof l=="function"?dh(i,l,u.custom):l;c=Promise.all(OT(i,p,u))}return c.then(()=>{i.notify("AnimationComplete",l)})}const mO={test:i=>i==="auto",parse:i=>i},_T=i=>l=>l.test(i),kT=[lh,Lt,hr,bu,qz,Yz,mO],jT=i=>kT.find(_T(i));function gO(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||_E(i):!0}const yO=new Set(["brightness","contrast","saturate","opacity"]);function vO(i){const[l,u]=i.slice(0,-1).split("(");if(l==="drop-shadow")return i;const[c]=u.match(Vx)||[];if(!c)return i;const p=u.replace(c,"");let m=yO.has(l)?1:0;return c!==u&&(m*=100),l+"("+m+p+")"}const bO=/\b([a-z-]*)\(.*?\)/gu,yS={...xu,getAnimatableNone:i=>{const l=i.match(bO);return l?l.map(vO).join(" "):i}},UT={...lh,transform:Math.round},vS={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,inset:Lt,insetBlock:Lt,insetBlockStart:Lt,insetBlockEnd:Lt,insetInline:Lt,insetInlineStart:Lt,insetInlineEnd:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,paddingBlock:Lt,paddingBlockStart:Lt,paddingBlockEnd:Lt,paddingInline:Lt,paddingInlineStart:Lt,paddingInlineEnd:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,marginBlock:Lt,marginBlockStart:Lt,marginBlockEnd:Lt,marginInline:Lt,marginInlineStart:Lt,marginInlineEnd:Lt,backgroundPositionX:Lt,backgroundPositionY:Lt,...{rotate:bu,rotateX:bu,rotateY:bu,rotateZ:bu,scale:Av,scaleX:Av,scaleY:Av,scaleZ:Av,skew:bu,skewX:bu,skewY:bu,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:tg,originX:PE,originY:PE,originZ:Lt},zIndex:UT,fillOpacity:tg,strokeOpacity:tg,numOctaves:UT},xO={...vS,color:Kn,backgroundColor:Kn,outlineColor:Kn,fill:Kn,stroke:Kn,borderColor:Kn,borderTopColor:Kn,borderRightColor:Kn,borderBottomColor:Kn,borderLeftColor:Kn,filter:yS,WebkitFilter:yS},LT=i=>xO[i];function NT(i,l){let u=LT(i);return u!==yS&&(u=xu),u.getAnimatableNone?u.getAnimatableNone(l):void 0}const SO=new Set(["auto","none","0"]);function wO(i,l,u){let c=0,p;for(;c<i.length&&!p;){const m=i[c];typeof m=="string"&&!SO.has(m)&&ag(m).values.length&&(p=i[c]),c++}if(p&&u)for(const m of l)i[m]=NT(u,p)}class EO extends rS{constructor(l,u,c,p,m){super(l,u,c,p,m,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:u,name:c}=this;if(!u||!u.current)return;super.readKeyframes();for(let T=0;T<l.length;T++){let A=l[T];if(typeof A=="string"&&(A=A.trim(),Hx(A))){const R=TT(A,u.current);R!==void 0&&(l[T]=R),T===l.length-1&&(this.finalKeyframe=A)}}if(this.resolveNoneKeyframes(),!CT.has(c)||l.length!==2)return;const[p,m]=l,y=jT(p),x=jT(m),S=JE(p),E=JE(m);if(S!==E&&Su[c]){this.needsMeasurement=!0;return}if(y!==x)if(mT(y)&&mT(x))for(let T=0;T<l.length;T++){const A=l[T];typeof A=="string"&&(l[T]=parseFloat(A))}else Su[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:u}=this,c=[];for(let p=0;p<l.length;p++)(l[p]===null||gO(l[p]))&&c.push(p);c.length&&wO(l,c,u)}measureInitialState(){const{element:l,unresolvedKeyframes:u,name:c}=this;if(!l||!l.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Su[c](l.measureViewportBox(),window.getComputedStyle(l.current)),u[0]=this.measuredOrigin;const p=u[u.length-1];p!==void 0&&l.getValue(c,p).jump(p,!1)}measureEndState(){const{element:l,name:u,unresolvedKeyframes:c}=this;if(!l||!l.current)return;const p=l.getValue(u);p&&p.jump(this.measuredOrigin,!1);const m=c.length-1,y=c[m];c[m]=Su[u](l.measureViewportBox(),window.getComputedStyle(l.current)),y!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=y),this.removedTransforms?.length&&this.removedTransforms.forEach(([x,S])=>{l.getValue(x).set(S)}),this.resolveNoneKeyframes()}}function TO(i,l,u){if(i instanceof EventTarget)return[i];if(typeof i=="string"){let c=document;const p=u?.[i]??c.querySelectorAll(i);return p?Array.from(p):[]}return Array.from(i)}const HT=(i,l)=>l&&typeof i=="number"?l.transform(i):i;function VT(i){return OE(i)&&"offsetHeight"in i}const{schedule:bS}=$E(queueMicrotask,!1),_l={x:!1,y:!1};function BT(){return _l.x||_l.y}function AO(i){return i==="x"||i==="y"?_l[i]?null:(_l[i]=!0,()=>{_l[i]=!1}):_l.x||_l.y?null:(_l.x=_l.y=!0,()=>{_l.x=_l.y=!1})}function YT(i,l){const u=TO(i),c=new AbortController,p={passive:!0,...l,signal:c.signal};return[u,p,()=>c.abort()]}function qT(i){return!(i.pointerType==="touch"||BT())}function CO(i,l,u={}){const[c,p,m]=YT(i,u),y=x=>{if(!qT(x))return;const{target:S}=x,E=l(S,x);if(typeof E!="function"||!S)return;const T=A=>{qT(A)&&(E(A),S.removeEventListener("pointerleave",T))};S.addEventListener("pointerleave",T,p)};return c.forEach(x=>{x.addEventListener("pointerenter",y,p)}),m}const GT=(i,l)=>l?i===l?!0:GT(i,l.parentElement):!1,xS=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,RO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function XT(i){return RO.has(i.tagName)||i.isContentEditable===!0}const Mv=new WeakSet;function QT(i){return l=>{l.key==="Enter"&&i(l)}}function SS(i,l){i.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const DO=(i,l)=>{const u=i.currentTarget;if(!u)return;const c=QT(()=>{if(Mv.has(u))return;SS(u,"down");const p=QT(()=>{SS(u,"up")}),m=()=>SS(u,"cancel");u.addEventListener("keyup",p,l),u.addEventListener("blur",m,l)});u.addEventListener("keydown",c,l),u.addEventListener("blur",()=>u.removeEventListener("keydown",c),l)};function ZT(i){return xS(i)&&!BT()}function MO(i,l,u={}){const[c,p,m]=YT(i,u),y=x=>{const S=x.currentTarget;if(!ZT(x))return;Mv.add(S);const E=l(S,x),T=(j,B)=>{window.removeEventListener("pointerup",A),window.removeEventListener("pointercancel",R),Mv.has(S)&&Mv.delete(S),ZT(j)&&typeof E=="function"&&E(j,{success:B})},A=j=>{T(j,S===window||S===document||u.useGlobalTarget||GT(S,j.target))},R=j=>{T(j,!1)};window.addEventListener("pointerup",A,p),window.addEventListener("pointercancel",R,p)};return c.forEach(x=>{(u.useGlobalTarget?window:x).addEventListener("pointerdown",y,p),VT(x)&&(x.addEventListener("focus",E=>DO(E,p)),!XT(x)&&!x.hasAttribute("tabindex")&&(x.tabIndex=0))}),m}function $T(i){return OE(i)&&"ownerSVGElement"in i}function zO(i){return $T(i)&&i.tagName==="svg"}const OO=[...kT,Kn,xu],_O=i=>OO.find(_T(i)),KT=()=>({translate:0,scale:1,origin:0,originPoint:0}),hh=()=>({x:KT(),y:KT()}),IT=()=>({min:0,max:0}),da=()=>({x:IT(),y:IT()}),wS={current:null},JT={current:!1},kO=typeof window<"u";function jO(){if(JT.current=!0,!!kO)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),l=()=>wS.current=i.matches;i.addEventListener("change",l),l()}else wS.current=!1}const UO=new WeakMap;function zv(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function og(i){return typeof i=="string"||Array.isArray(i)}const ES=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],TS=["initial",...ES];function Ov(i){return zv(i.animate)||TS.some(l=>og(i[l]))}function FT(i){return!!(Ov(i)||i.variants)}function LO(i,l,u){for(const c in l){const p=l[c],m=u[c];if(Ja(p))i.addValue(c,p);else if(Ja(m))i.addValue(c,fh(p,{owner:i}));else if(m!==p)if(i.hasValue(c)){const y=i.getValue(c);y.liveStyle===!0?y.jump(p):y.hasAnimated||y.set(p)}else{const y=i.getStaticValue(c);i.addValue(c,fh(y!==void 0?y:p,{owner:i}))}}for(const c in u)l[c]===void 0&&i.removeValue(c);return l}const PT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let _v={};function WT(i){_v=i}function NO(){return _v}class HO{scrapeMotionValuesFromProps(l,u,c){return{}}constructor({parent:l,props:u,presenceContext:c,reducedMotionConfig:p,blockInitialAnimation:m,visualState:y},x={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=rS,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 R=ri.now();this.renderScheduledAt<R&&(this.renderScheduledAt=R,mn.render(this.render,!1,!0))};const{latestValues:S,renderState:E}=y;this.latestValues=S,this.baseTarget={...S},this.initialValues=u.initial?{...S}:{},this.renderState=E,this.parent=l,this.props=u,this.presenceContext=c,this.depth=l?l.depth+1:0,this.reducedMotionConfig=p,this.options=x,this.blockInitialAnimation=!!m,this.isControllingVariants=Ov(u),this.isVariantNode=FT(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:T,...A}=this.scrapeMotionValuesFromProps(u,{},this);for(const R in A){const j=A[R];S[R]!==void 0&&Ja(j)&&j.set(S[R])}}mount(l){this.current=l,UO.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,c)=>this.bindToMotionValue(c,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(JT.current||jO(),this.shouldReduceMotion=wS.current),process.env.NODE_ENV!=="production"&&jx(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(),vu(this.notifyUpdate),vu(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const u=this.features[l];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(l){this.children.add(l),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(l)}removeChild(l){this.children.delete(l),this.enteringChildren&&this.enteringChildren.delete(l)}bindToMotionValue(l,u){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();const c=ch.has(l);c&&this.onBindTransform&&this.onBindTransform();const p=u.on("change",y=>{this.latestValues[l]=y,this.props.onUpdate&&mn.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let m;typeof window<"u"&&window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,l,u)),this.valueSubscriptions.set(l,()=>{p(),m&&m(),u.owner&&u.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in _v){const u=_v[l];if(!u)continue;const{isEnabled:c,Feature:p}=u;if(!this.features[l]&&p&&c(this.props)&&(this.features[l]=new p(this)),this.features[l]){const m=this.features[l];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):da()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,u){this.latestValues[l]=u}update(l,u){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let c=0;c<PT.length;c++){const p=PT[c];this.propEventSubscriptions[p]&&(this.propEventSubscriptions[p](),delete this.propEventSubscriptions[p]);const m="on"+p,y=l[m];y&&(this.propEventSubscriptions[p]=this.on(p,y))}this.prevMotionValues=LO(this,this.scrapeMotionValuesFromProps(l,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]: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(l){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(l),()=>u.variantChildren.delete(l)}addValue(l,u){const c=this.values.get(l);u!==c&&(c&&this.removeValue(l),this.bindToMotionValue(l,u),this.values.set(l,u),this.latestValues[l]=u.get())}removeValue(l){this.values.delete(l);const u=this.valueSubscriptions.get(l);u&&(u(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,u){if(this.props.values&&this.props.values[l])return this.props.values[l];let c=this.values.get(l);return c===void 0&&u!==void 0&&(c=fh(u===null?void 0:u,{owner:this}),this.addValue(l,c)),c}readValue(l,u){let c=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return c!=null&&(typeof c=="string"&&(zE(c)||_E(c))?c=parseFloat(c):!_O(c)&&xu.test(u)&&(c=NT(l,u)),this.setBaseTarget(l,Ja(c)?c.get():c)),Ja(c)?c.get():c}setBaseTarget(l,u){this.baseTarget[l]=u}getBaseTarget(l){const{initial:u}=this.props;let c;if(typeof u=="string"||typeof u=="object"){const m=dS(this.props,u,this.presenceContext?.custom);m&&(c=m[l])}if(u&&c!==void 0)return c;const p=this.getBaseTargetFromProps(this.props,l);return p!==void 0&&!Ja(p)?p:this.initialValues[l]!==void 0&&c===void 0?void 0:this.baseTarget[l]}on(l,u){return this.events[l]||(this.events[l]=new kx),this.events[l].add(u)}notify(l,...u){this.events[l]&&this.events[l].notify(...u)}scheduleRenderMicrotask(){bS.render(this.render)}}class wu{constructor(l){this.isMounted=!1,this.node=l}update(){}}class tA extends HO{constructor(){super(...arguments),this.KeyframeResolver=EO}sortInstanceNodePosition(l,u){return l.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(l,u){const c=l.style;return c?c[u]:void 0}removeValueFromRenderState(l,{vars:u,style:c}){delete u[l],delete c[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;Ja(l)&&(this.childSubscription=l.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function eA({top:i,left:l,right:u,bottom:c}){return{x:{min:l,max:u},y:{min:i,max:c}}}function VO({x:i,y:l}){return{top:l.min,right:i.max,bottom:l.max,left:i.min}}function BO(i,l){if(!l)return i;const u=l({x:i.left,y:i.top}),c=l({x:i.right,y:i.bottom});return{top:u.y,left:u.x,bottom:c.y,right:c.x}}function AS(i){return i===void 0||i===1}function CS({scale:i,scaleX:l,scaleY:u}){return!AS(i)||!AS(l)||!AS(u)}function df(i){return CS(i)||nA(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function nA(i){return aA(i.x)||aA(i.y)}function aA(i){return i&&i!=="0%"}function kv(i,l,u){const c=i-u,p=l*c;return u+p}function iA(i,l,u,c,p){return p!==void 0&&(i=kv(i,p,c)),kv(i,u,c)+l}function RS(i,l=0,u=1,c,p){i.min=iA(i.min,l,u,c,p),i.max=iA(i.max,l,u,c,p)}function oA(i,{x:l,y:u}){RS(i.x,l.translate,l.scale,l.originPoint),RS(i.y,u.translate,u.scale,u.originPoint)}const lA=.999999999999,rA=1.0000000000001;function YO(i,l,u,c=!1){const p=u.length;if(!p)return;l.x=l.y=1;let m,y;for(let x=0;x<p;x++){m=u[x],y=m.projectionDelta;const{visualElement:S}=m.options;S&&S.props.style&&S.props.style.display==="contents"||(c&&m.options.layoutScroll&&m.scroll&&m!==m.root&&mh(i,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),y&&(l.x*=y.x.scale,l.y*=y.y.scale,oA(i,y)),c&&df(m.latestValues)&&mh(i,m.latestValues))}l.x<rA&&l.x>lA&&(l.x=1),l.y<rA&&l.y>lA&&(l.y=1)}function ph(i,l){i.min=i.min+l,i.max=i.max+l}function sA(i,l,u,c,p=.5){const m=An(i.min,i.max,p);RS(i,l,u,m,c)}function mh(i,l){sA(i.x,l.x,l.scaleX,l.scale,l.originX),sA(i.y,l.y,l.scaleY,l.scale,l.originY)}function uA(i,l){return eA(BO(i.getBoundingClientRect(),l))}function qO(i,l,u){const c=uA(i,u),{scroll:p}=l;return p&&(ph(c.x,p.offset.x),ph(c.y,p.offset.y)),c}const GO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XO=uh.length;function QO(i,l,u){let c="",p=!0;for(let m=0;m<XO;m++){const y=uh[m],x=i[y];if(x===void 0)continue;let S=!0;if(typeof x=="number"?S=x===(y.startsWith("scale")?1:0):S=parseFloat(x)===0,!S||u){const E=HT(x,vS[y]);if(!S){p=!1;const T=GO[y]||y;c+=`${T}(${E}) `}u&&(l[y]=E)}}return c=c.trim(),u?c=u(l,p?"":c):p&&(c="none"),c}function DS(i,l,u){const{style:c,vars:p,transformOrigin:m}=i;let y=!1,x=!1;for(const S in l){const E=l[S];if(ch.has(S)){y=!0;continue}else if(IE(S)){p[S]=E;continue}else{const T=HT(E,vS[S]);S.startsWith("origin")?(x=!0,m[S]=T):c[S]=T}}if(l.transform||(y||u?c.transform=QO(l,i.transform,u):c.transform&&(c.transform="none")),x){const{originX:S="50%",originY:E="50%",originZ:T=0}=m;c.transformOrigin=`${S} ${E} ${T}`}}function cA(i,{style:l,vars:u},c,p){const m=i.style;let y;for(y in l)m[y]=l[y];p?.applyProjectionStyles(m,c);for(y in u)m.setProperty(y,u[y])}function fA(i,l){return l.max===l.min?0:i/(l.max-l.min)*100}const lg={correct:(i,l)=>{if(!l.target)return i;if(typeof i=="string")if(Lt.test(i))i=parseFloat(i);else return i;const u=fA(i,l.target.x),c=fA(i,l.target.y);return`${u}% ${c}%`}},ZO={correct:(i,{treeScale:l,projectionDelta:u})=>{const c=i,p=xu.parse(i);if(p.length>5)return c;const m=xu.createTransformer(i),y=typeof p[0]!="number"?1:0,x=u.x.scale*l.x,S=u.y.scale*l.y;p[0+y]/=x,p[1+y]/=S;const E=An(x,S,.5);return typeof p[2+y]=="number"&&(p[2+y]/=E),typeof p[3+y]=="number"&&(p[3+y]/=E),m(p)}},MS={borderRadius:{...lg,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:lg,borderTopRightRadius:lg,borderBottomLeftRadius:lg,borderBottomRightRadius:lg,boxShadow:ZO};function dA(i,{layout:l,layoutId:u}){return ch.has(i)||i.startsWith("origin")||(l||u!==void 0)&&(!!MS[i]||i==="opacity")}function zS(i,l,u){const c=i.style,p=l?.style,m={};if(!c)return m;for(const y in c)(Ja(c[y])||p&&Ja(p[y])||dA(y,i)||u?.getValue(y)?.liveStyle!==void 0)&&(m[y]=c[y]);return m}function $O(i){return window.getComputedStyle(i)}class KO extends tA{constructor(){super(...arguments),this.type="html",this.renderInstance=cA}readValueFromInstance(l,u){if(ch.has(u))return this.projection?.isProjecting?nS(u):A3(l,u);{const c=$O(l),p=(IE(u)?c.getPropertyValue(u):c[u])||0;return typeof p=="string"?p.trim():p}}measureInstanceViewportBox(l,{transformPagePoint:u}){return uA(l,u)}build(l,u,c){DS(l,u,c.transformTemplate)}scrapeMotionValuesFromProps(l,u,c){return zS(l,u,c)}}const IO={offset:"stroke-dashoffset",array:"stroke-dasharray"},JO={offset:"strokeDashoffset",array:"strokeDasharray"};function FO(i,l,u=1,c=0,p=!0){i.pathLength=1;const m=p?IO:JO;i[m.offset]=Lt.transform(-c);const y=Lt.transform(l),x=Lt.transform(u);i[m.array]=`${y} ${x}`}const PO=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hA(i,{attrX:l,attrY:u,attrScale:c,pathLength:p,pathSpacing:m=1,pathOffset:y=0,...x},S,E,T){if(DS(i,x,E),S){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:A,style:R}=i;A.transform&&(R.transform=A.transform,delete A.transform),(R.transform||A.transformOrigin)&&(R.transformOrigin=A.transformOrigin??"50% 50%",delete A.transformOrigin),R.transform&&(R.transformBox=T?.transformBox??"fill-box",delete A.transformBox);for(const j of PO)A[j]!==void 0&&(R[j]=A[j],delete A[j]);l!==void 0&&(A.x=l),u!==void 0&&(A.y=u),c!==void 0&&(A.scale=c),p!==void 0&&FO(A,p,m,y,!1)}const pA=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"]),mA=i=>typeof i=="string"&&i.toLowerCase()==="svg";function WO(i,l,u,c){cA(i,l,void 0,c);for(const p in l.attrs)i.setAttribute(pA.has(p)?p:mS(p),l.attrs[p])}function gA(i,l,u){const c=zS(i,l,u);for(const p in i)if(Ja(i[p])||Ja(l[p])){const m=uh.indexOf(p)!==-1?"attr"+p.charAt(0).toUpperCase()+p.substring(1):p;c[m]=i[p]}return c}class t_ extends tA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=da}getBaseTargetFromProps(l,u){return l[u]}readValueFromInstance(l,u){if(ch.has(u)){const c=LT(u);return c&&c.default||0}return u=pA.has(u)?u:mS(u),l.getAttribute(u)}scrapeMotionValuesFromProps(l,u,c){return gA(l,u,c)}build(l,u,c){hA(l,u,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(l,u,c,p){WO(l,u,c,p)}mount(l){this.isSVGTag=mA(l.tagName),super.mount(l)}}const e_=TS.length;function yA(i){if(!i)return;if(!i.isControllingVariants){const u=i.parent?yA(i.parent)||{}:{};return i.props.initial!==void 0&&(u.initial=i.props.initial),u}const l={};for(let u=0;u<e_;u++){const c=TS[u],p=i.props[c];(og(p)||p===!1)&&(l[c]=p)}return l}function vA(i,l){if(!Array.isArray(l))return!1;const u=l.length;if(u!==i.length)return!1;for(let c=0;c<u;c++)if(l[c]!==i[c])return!1;return!0}const n_=[...ES].reverse(),a_=ES.length;function i_(i){return l=>Promise.all(l.map(({animation:u,options:c})=>pO(i,u,c)))}function o_(i){let l=i_(i),u=bA(),c=!0;const p=S=>(E,T)=>{const A=dh(i,T,S==="exit"?i.presenceContext?.custom:void 0);if(A){const{transition:R,transitionEnd:j,...B}=A;E={...E,...B,...j}}return E};function m(S){l=S(i)}function y(S){const{props:E}=i,T=yA(i.parent)||{},A=[],R=new Set;let j={},B=1/0;for(let q=0;q<a_;q++){const Z=n_[q],W=u[Z],rt=E[Z]!==void 0?E[Z]:T[Z],ct=og(rt),xt=Z===S?W.isActive:null;xt===!1&&(B=q);let Tt=rt===T[Z]&&rt!==E[Z]&&ct;if(Tt&&c&&i.manuallyAnimateOnMount&&(Tt=!1),W.protectedKeys={...j},!W.isActive&&xt===null||!rt&&!W.prevProp||zv(rt)||typeof rt=="boolean")continue;const bt=l_(W.prevProp,rt);let ot=bt||Z===S&&W.isActive&&!Tt&&ct||q>B&&ct,jt=!1;const St=Array.isArray(rt)?rt:[rt];let oe=St.reduce(p(Z),{});xt===!1&&(oe={});const{prevResolvedValues:Mt={}}=W,Nt={...Mt,...oe},Et=F=>{ot=!0,R.has(F)&&(jt=!0,R.delete(F)),W.needsAnimating[F]=!0;const P=i.getValue(F);P&&(P.liveStyle=!1)};for(const F in Nt){const P=oe[F],Rt=Mt[F];if(j.hasOwnProperty(F))continue;let Ht=!1;hS(P)&&hS(Rt)?Ht=!vA(P,Rt):Ht=P!==Rt,Ht?P!=null?Et(F):R.add(F):P!==void 0&&R.has(F)?Et(F):W.protectedKeys[F]=!0}W.prevProp=rt,W.prevResolvedValues=oe,W.isActive&&(j={...j,...oe}),c&&i.blockInitialAnimation&&(ot=!1);const gt=Tt&&bt;ot&&(!gt||jt)&&A.push(...St.map(F=>{const P={type:Z};if(typeof F=="string"&&c&&!gt&&i.manuallyAnimateOnMount&&i.parent){const{parent:Rt}=i,Ht=dh(Rt,F);if(Rt.enteringChildren&&Ht){const{delayChildren:k}=Ht.transition||{};P.delay=AT(Rt.enteringChildren,i,k)}}return{animation:F,options:P}}))}if(R.size){const q={};if(typeof E.initial!="boolean"){const Z=dh(i,Array.isArray(E.initial)?E.initial[0]:E.initial);Z&&Z.transition&&(q.transition=Z.transition)}R.forEach(Z=>{const W=i.getBaseTarget(Z),rt=i.getValue(Z);rt&&(rt.liveStyle=!0),q[Z]=W??null}),A.push({animation:q})}let X=!!A.length;return c&&(E.initial===!1||E.initial===E.animate)&&!i.manuallyAnimateOnMount&&(X=!1),c=!1,X?l(A):Promise.resolve()}function x(S,E){if(u[S].isActive===E)return Promise.resolve();i.variantChildren?.forEach(A=>A.animationState?.setActive(S,E)),u[S].isActive=E;const T=y(S);for(const A in u)u[A].protectedKeys={};return T}return{animateChanges:y,setActive:x,setAnimateFunction:m,getState:()=>u,reset:()=>{u=bA()}}}function l_(i,l){return typeof l=="string"?l!==i:Array.isArray(l)?!vA(l,i):!1}function hf(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bA(){return{animate:hf(!0),whileInView:hf(),whileHover:hf(),whileTap:hf(),whileDrag:hf(),whileFocus:hf(),exit:hf()}}const xA=1e-4,r_=1-xA,s_=1+xA,SA=.01,u_=0-SA,c_=0+SA;function si(i){return i.max-i.min}function f_(i,l,u){return Math.abs(i-l)<=u}function wA(i,l,u,c=.5){i.origin=c,i.originPoint=An(l.min,l.max,i.origin),i.scale=si(u)/si(l),i.translate=An(u.min,u.max,i.origin)-i.originPoint,(i.scale>=r_&&i.scale<=s_||isNaN(i.scale))&&(i.scale=1),(i.translate>=u_&&i.translate<=c_||isNaN(i.translate))&&(i.translate=0)}function rg(i,l,u,c){wA(i.x,l.x,u.x,c?c.originX:void 0),wA(i.y,l.y,u.y,c?c.originY:void 0)}function EA(i,l,u){i.min=u.min+l.min,i.max=i.min+si(l)}function d_(i,l,u){EA(i.x,l.x,u.x),EA(i.y,l.y,u.y)}function TA(i,l,u){i.min=l.min-u.min,i.max=i.min+si(l)}function jv(i,l,u){TA(i.x,l.x,u.x),TA(i.y,l.y,u.y)}function AA(i,l,u,c,p){return i-=l,i=kv(i,1/u,c),p!==void 0&&(i=kv(i,1/p,c)),i}function h_(i,l=0,u=1,c=.5,p,m=i,y=i){if(hr.test(l)&&(l=parseFloat(l),l=An(y.min,y.max,l/100)-y.min),typeof l!="number")return;let x=An(m.min,m.max,c);i===m&&(x-=l),i.min=AA(i.min,l,u,x,p),i.max=AA(i.max,l,u,x,p)}function CA(i,l,[u,c,p],m,y){h_(i,l[u],l[c],l[p],l.scale,m,y)}const p_=["x","scaleX","originX"],m_=["y","scaleY","originY"];function RA(i,l,u,c){CA(i.x,l,p_,u?u.x:void 0,c?c.x:void 0),CA(i.y,l,m_,u?u.y:void 0,c?c.y:void 0)}function DA(i,l){i.min=l.min,i.max=l.max}function kl(i,l){DA(i.x,l.x),DA(i.y,l.y)}function MA(i,l){i.translate=l.translate,i.scale=l.scale,i.originPoint=l.originPoint,i.origin=l.origin}function zA(i){return i.translate===0&&i.scale===1}function OA(i){return zA(i.x)&&zA(i.y)}function _A(i,l){return i.min===l.min&&i.max===l.max}function g_(i,l){return _A(i.x,l.x)&&_A(i.y,l.y)}function kA(i,l){return Math.round(i.min)===Math.round(l.min)&&Math.round(i.max)===Math.round(l.max)}function jA(i,l){return kA(i.x,l.x)&&kA(i.y,l.y)}function UA(i){return si(i.x)/si(i.y)}function LA(i,l){return i.translate===l.translate&&i.scale===l.scale&&i.originPoint===l.originPoint}function Lo(i){return[i("x"),i("y")]}function y_(i,l,u){let c="";const p=i.x.translate/l.x,m=i.y.translate/l.y,y=u?.z||0;if((p||m||y)&&(c=`translate3d(${p}px, ${m}px, ${y}px) `),(l.x!==1||l.y!==1)&&(c+=`scale(${1/l.x}, ${1/l.y}) `),u){const{transformPerspective:E,rotate:T,rotateX:A,rotateY:R,skewX:j,skewY:B}=u;E&&(c=`perspective(${E}px) ${c}`),T&&(c+=`rotate(${T}deg) `),A&&(c+=`rotateX(${A}deg) `),R&&(c+=`rotateY(${R}deg) `),j&&(c+=`skewX(${j}deg) `),B&&(c+=`skewY(${B}deg) `)}const x=i.x.scale*l.x,S=i.y.scale*l.y;return(x!==1||S!==1)&&(c+=`scale(${x}, ${S})`),c||"none"}const NA=["TopLeft","TopRight","BottomLeft","BottomRight"],v_=NA.length,HA=i=>typeof i=="string"?parseFloat(i):i,VA=i=>typeof i=="number"||Lt.test(i);function b_(i,l,u,c,p,m){p?(i.opacity=An(0,u.opacity??1,x_(c)),i.opacityExit=An(l.opacity??1,0,S_(c))):m&&(i.opacity=An(l.opacity??1,u.opacity??1,c));for(let y=0;y<v_;y++){const x=`border${NA[y]}Radius`;let S=BA(l,x),E=BA(u,x);if(S===void 0&&E===void 0)continue;S||(S=0),E||(E=0),S===0||E===0||VA(S)===VA(E)?(i[x]=Math.max(An(HA(S),HA(E),c),0),(hr.test(E)||hr.test(S))&&(i[x]+="%")):i[x]=E}(l.rotate||u.rotate)&&(i.rotate=An(l.rotate||0,u.rotate||0,c))}function BA(i,l){return i[l]!==void 0?i[l]:i.borderRadius}const x_=YA(0,.5,YE),S_=YA(.5,.95,jo);function YA(i,l,u){return c=>c<i?0:c>l?1:u(Pm(i,l,c))}function w_(i,l){const u=ri.now(),c=({timestamp:p})=>{const m=p-u;m>=l&&(vu(c),i(m-l))};return mn.setup(c,!0),()=>vu(c)}function sg(i,l,u,c={passive:!0}){return i.addEventListener(l,u,c),()=>i.removeEventListener(l,u)}function Uv(i){return Ja(i)?i.get():i}function E_(i,l,u){const c=Ja(i)?i:fh(i);return c.start(fS("",c,l,u)),c.animation}const T_=(i,l)=>i.depth-l.depth;class A_{constructor(){this.children=[],this.isDirty=!1}add(l){Mx(this.children,l),this.isDirty=!0}remove(l){zx(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(T_),this.isDirty=!1,this.children.forEach(l)}}class C_{constructor(){this.members=[]}add(l){Mx(this.members,l),l.scheduleRender()}remove(l){if(zx(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(l){const u=this.members.findIndex(p=>l===p);if(u===0)return!1;let c;for(let p=u;p>=0;p--){const m=this.members[p];if(m.isPresent!==!1){c=m;break}}return c?(this.promote(c),!0):!1}promote(l,u){const c=this.lead;if(l!==c&&(this.prevLead=c,this.lead=l,l.show(),c)){c.instance&&c.scheduleRender(),l.scheduleRender(),l.resumeFrom=c,u&&(l.resumeFrom.preserveOpacity=!0),c.snapshot&&(l.snapshot=c.snapshot,l.snapshot.latestValues=c.animationValues||c.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);const{crossfade:p}=l.options;p===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:u,resumingFrom:c}=l;u.onExitComplete&&u.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Lv={hasAnimatedSinceResize:!0,hasEverUpdated:!1},OS=["","X","Y","Z"],R_=1e3;let D_=0;function _S(i,l,u,c){const{latestValues:p}=l;p[i]&&(u[i]=p[i],l.setStaticValue(i,0),c&&(c[i]=0))}function qA(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:l}=i.options;if(!l)return;const u=zT(l);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:p,layoutId:m}=i.options;window.MotionCancelOptimisedAnimation(u,"transform",mn,!(p||m))}const{parent:c}=i;c&&!c.hasCheckedOptimisedAppear&&qA(c)}function GA({attachResizeListener:i,defaultParent:l,measureScroll:u,checkIsScrollRoot:c,resetTransform:p}){return class{constructor(y={},x=l?.()){this.id=D_++,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(O_),this.nodes.forEach(U_),this.nodes.forEach(L_),this.nodes.forEach(__)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,this.root=x?x.root||x:this,this.path=x?[...x.path,x]:[],this.parent=x,this.depth=x?x.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new A_)}addEventListener(y,x){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new kx),this.eventHandlers.get(y).add(x)}notifyListeners(y,...x){const S=this.eventHandlers.get(y);S&&S.notify(...x)}hasListeners(y){return this.eventHandlers.has(y)}mount(y){if(this.instance)return;this.isSVG=$T(y)&&!zO(y),this.instance=y;const{layoutId:x,layout:S,visualElement:E}=this.options;if(E&&!E.current&&E.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(S||x)&&(this.isLayoutDirty=!0),i){let T,A=0;const R=()=>this.root.updateBlockedByResize=!1;mn.read(()=>{A=window.innerWidth}),i(y,()=>{const j=window.innerWidth;j!==A&&(A=j,this.root.updateBlockedByResize=!0,T&&T(),T=w_(R,250),Lv.hasAnimatedSinceResize&&(Lv.hasAnimatedSinceResize=!1,this.nodes.forEach(ZA)))})}x&&this.root.registerSharedNode(x,this),this.options.animate!==!1&&E&&(x||S)&&this.addEventListener("didUpdate",({delta:T,hasLayoutChanged:A,hasRelativeLayoutChanged:R,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const B=this.options.transition||E.getDefaultTransition()||Y_,{onLayoutAnimationStart:X,onLayoutAnimationComplete:q}=E.getProps(),Z=!this.targetLayout||!jA(this.targetLayout,j),W=!A&&R;if(this.options.layoutRoot||this.resumeFrom||W||A&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const rt={...cS(B,"layout"),onPlay:X,onComplete:q};(E.shouldReduceMotion||this.options.layoutRoot)&&(rt.delay=0,rt.type=!1),this.startAnimation(rt),this.setAnimationOrigin(T,W)}else A||ZA(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vu(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(N_),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qA(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let T=0;T<this.path.length;T++){const A=this.path[T];A.shouldResetTransform=!0,A.updateScroll("snapshot"),A.options.layoutRoot&&A.willUpdate(!1)}const{layoutId:x,layout:S}=this.options;if(x===void 0&&!S)return;const E=this.getTransformTemplate();this.prevTransformTemplateValue=E?E(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(XA);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(QA);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(j_),this.nodes.forEach(M_),this.nodes.forEach(z_)):this.nodes.forEach(QA),this.clearAllSnapshots();const x=ri.now();za.delta=fr(0,1e3/60,x-za.timestamp),za.timestamp=x,za.isProcessing=!0,Nx.update.process(za),Nx.preRender.process(za),Nx.render.process(za),za.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(k_),this.sharedNodes.forEach(H_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!si(this.snapshot.measuredBox.x)&&!si(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 S=0;S<this.path.length;S++)this.path[S].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=da(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:x}=this.options;x&&x.notify("LayoutMeasure",this.layout.layoutBox,y?y.layoutBox:void 0)}updateScroll(y="measure"){let x=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(x=!1),x&&this.instance){const S=c(this.instance);this.scroll={animationId:this.root.animationId,phase:y,isRoot:S,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!p)return;const y=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,x=this.projectionDelta&&!OA(this.projectionDelta),S=this.getTransformTemplate(),E=S?S(this.latestValues,""):void 0,T=E!==this.prevTransformTemplateValue;y&&this.instance&&(x||df(this.latestValues)||T)&&(p(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const x=this.measurePageBox();let S=this.removeElementScroll(x);return y&&(S=this.removeTransform(S)),q_(S),{animationId:this.root.animationId,measuredBox:x,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return da();const x=y.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(G_))){const{scroll:E}=this.root;E&&(ph(x.x,E.offset.x),ph(x.y,E.offset.y))}return x}removeElementScroll(y){const x=da();if(kl(x,y),this.scroll?.wasRoot)return x;for(let S=0;S<this.path.length;S++){const E=this.path[S],{scroll:T,options:A}=E;E!==this.root&&T&&A.layoutScroll&&(T.wasRoot&&kl(x,y),ph(x.x,T.offset.x),ph(x.y,T.offset.y))}return x}applyTransform(y,x=!1){const S=da();kl(S,y);for(let E=0;E<this.path.length;E++){const T=this.path[E];!x&&T.options.layoutScroll&&T.scroll&&T!==T.root&&mh(S,{x:-T.scroll.offset.x,y:-T.scroll.offset.y}),df(T.latestValues)&&mh(S,T.latestValues)}return df(this.latestValues)&&mh(S,this.latestValues),S}removeTransform(y){const x=da();kl(x,y);for(let S=0;S<this.path.length;S++){const E=this.path[S];if(!E.instance||!df(E.latestValues))continue;CS(E.latestValues)&&E.updateSnapshot();const T=da(),A=E.measurePageBox();kl(T,A),RA(x,E.latestValues,E.snapshot?E.snapshot.layoutBox:void 0,T)}return df(this.latestValues)&&RA(x,this.latestValues),x}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.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!==za.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){const x=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=x.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=x.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=x.isSharedProjectionDirty);const S=!!this.resumingFrom||this!==x;if(!(y||S&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:T,layoutId:A}=this.options;if(!this.layout||!(T||A))return;this.resolvedRelativeTargetAt=za.timestamp;const R=this.getClosestProjectingParent();R&&this.linkedParentVersion!==R.layoutVersion&&!R.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(R&&R.layout?this.createRelativeTarget(R,this.layout.layoutBox,R.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=da(),this.targetWithTransforms=da()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),d_(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kl(this.target,this.layout.layoutBox),oA(this.target,this.targetDelta)):kl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?this.createRelativeTarget(R,this.target,R.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||CS(this.parent.latestValues)||nA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(y,x,S){this.relativeParent=y,this.linkedParentVersion=y.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=da(),this.relativeTargetOrigin=da(),jv(this.relativeTargetOrigin,x,S),kl(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const y=this.getLead(),x=!!this.resumingFrom||this!==y;let S=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(S=!1),x&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(S=!1),this.resolvedRelativeTargetAt===za.timestamp&&(S=!1),S)return;const{layout:E,layoutId:T}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(E||T))return;kl(this.layoutCorrected,this.layout.layoutBox);const A=this.treeScale.x,R=this.treeScale.y;YO(this.layoutCorrected,this.treeScale,this.path,x),y.layout&&!y.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(y.target=y.layout.layoutBox,y.targetWithTransforms=da());const{target:j}=y;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(MA(this.prevProjectionDelta.x,this.projectionDelta.x),MA(this.prevProjectionDelta.y,this.projectionDelta.y)),rg(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==A||this.treeScale.y!==R||!LA(this.projectionDelta.x,this.prevProjectionDelta.x)||!LA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.visualElement?.scheduleRender(),y){const x=this.getStack();x&&x.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hh(),this.projectionDelta=hh(),this.projectionDeltaWithTransform=hh()}setAnimationOrigin(y,x=!1){const S=this.snapshot,E=S?S.latestValues:{},T={...this.latestValues},A=hh();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!x;const R=da(),j=S?S.source:void 0,B=this.layout?this.layout.source:void 0,X=j!==B,q=this.getStack(),Z=!q||q.members.length<=1,W=!!(X&&!Z&&this.options.crossfade===!0&&!this.path.some(B_));this.animationProgress=0;let rt;this.mixTargetDelta=ct=>{const xt=ct/1e3;$A(A.x,y.x,xt),$A(A.y,y.y,xt),this.setTargetDelta(A),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jv(R,this.layout.layoutBox,this.relativeParent.layout.layoutBox),V_(this.relativeTarget,this.relativeTargetOrigin,R,xt),rt&&g_(this.relativeTarget,rt)&&(this.isProjectionDirty=!1),rt||(rt=da()),kl(rt,this.relativeTarget)),X&&(this.animationValues=T,b_(T,E,this.latestValues,xt,W,Z)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=xt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(vu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mn.update(()=>{Lv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=fh(0)),this.currentAnimation=E_(this.motionValue,[0,1e3],{...y,velocity:0,isSync:!0,onUpdate:x=>{this.mixTargetDelta(x),y.onUpdate&&y.onUpdate(x)},onStop:()=>{},onComplete:()=>{y.onComplete&&y.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 y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(R_),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:x,target:S,layout:E,latestValues:T}=y;if(!(!x||!S||!E)){if(this!==y&&this.layout&&E&&PA(this.options.animationType,this.layout.layoutBox,E.layoutBox)){S=this.target||da();const A=si(this.layout.layoutBox.x);S.x.min=y.target.x.min,S.x.max=S.x.min+A;const R=si(this.layout.layoutBox.y);S.y.min=y.target.y.min,S.y.max=S.y.min+R}kl(x,S),mh(x,T),rg(this.projectionDeltaWithTransform,this.layoutCorrected,x,T)}}registerSharedNode(y,x){this.sharedNodes.has(y)||this.sharedNodes.set(y,new C_),this.sharedNodes.get(y).add(x);const E=x.options.initialPromotionConfig;x.promote({transition:E?E.transition:void 0,preserveFollowOpacity:E&&E.shouldPreserveFollowOpacity?E.shouldPreserveFollowOpacity(x):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){const{layoutId:y}=this.options;return y?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:y}=this.options;return y?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:x,preserveFollowOpacity:S}={}){const E=this.getStack();E&&E.promote(this,S),y&&(this.projectionDelta=void 0,this.needsReset=!0),x&&this.setOptions({transition:x})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetSkewAndRotation(){const{visualElement:y}=this.options;if(!y)return;let x=!1;const{latestValues:S}=y;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(x=!0),!x)return;const E={};S.z&&_S("z",y,E,this.animationValues);for(let T=0;T<OS.length;T++)_S(`rotate${OS[T]}`,y,E,this.animationValues),_S(`skew${OS[T]}`,y,E,this.animationValues);y.render();for(const T in E)y.setStaticValue(T,E[T]),this.animationValues&&(this.animationValues[T]=E[T]);y.scheduleRender()}applyProjectionStyles(y,x){if(!this.instance||this.isSVG)return;if(!this.isVisible){y.visibility="hidden";return}const S=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,y.visibility="",y.opacity="",y.pointerEvents=Uv(x?.pointerEvents)||"",y.transform=S?S(this.latestValues,""):"none";return}const E=this.getLead();if(!this.projectionDelta||!this.layout||!E.target){this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Uv(x?.pointerEvents)||""),this.hasProjected&&!df(this.latestValues)&&(y.transform=S?S({},""):"none",this.hasProjected=!1);return}y.visibility="";const T=E.animationValues||E.latestValues;this.applyTransformsToTarget();let A=y_(this.projectionDeltaWithTransform,this.treeScale,T);S&&(A=S(T,A)),y.transform=A;const{x:R,y:j}=this.projectionDelta;y.transformOrigin=`${R.origin*100}% ${j.origin*100}% 0`,E.animationValues?y.opacity=E===this?T.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:T.opacityExit:y.opacity=E===this?T.opacity!==void 0?T.opacity:"":T.opacityExit!==void 0?T.opacityExit:0;for(const B in MS){if(T[B]===void 0)continue;const{correct:X,applyTo:q,isCSSVariable:Z}=MS[B],W=A==="none"?T[B]:X(T[B],E);if(q){const rt=q.length;for(let ct=0;ct<rt;ct++)y[q[ct]]=W}else Z?this.options.visualElement.renderState.vars[B]=W:y[B]=W}this.options.layoutId&&(y.pointerEvents=E===this?Uv(x?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>y.currentAnimation?.stop()),this.root.nodes.forEach(XA),this.root.sharedNodes.clear()}}}function M_(i){i.updateLayout()}function z_(i){const l=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&l&&i.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:c}=i.layout,{animationType:p}=i.options,m=l.source!==i.layout.source;p==="size"?Lo(T=>{const A=m?l.measuredBox[T]:l.layoutBox[T],R=si(A);A.min=u[T].min,A.max=A.min+R}):PA(p,l.layoutBox,u)&&Lo(T=>{const A=m?l.measuredBox[T]:l.layoutBox[T],R=si(u[T]);A.max=A.min+R,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[T].max=i.relativeTarget[T].min+R)});const y=hh();rg(y,u,l.layoutBox);const x=hh();m?rg(x,i.applyTransform(c,!0),l.measuredBox):rg(x,u,l.layoutBox);const S=!OA(y);let E=!1;if(!i.resumeFrom){const T=i.getClosestProjectingParent();if(T&&!T.resumeFrom){const{snapshot:A,layout:R}=T;if(A&&R){const j=da();jv(j,l.layoutBox,A.layoutBox);const B=da();jv(B,u,R.layoutBox),jA(j,B)||(E=!0),T.options.layoutRoot&&(i.relativeTarget=B,i.relativeTargetOrigin=j,i.relativeParent=T)}}}i.notifyListeners("didUpdate",{layout:u,snapshot:l,delta:x,layoutDelta:y,hasLayoutChanged:S,hasRelativeLayoutChanged:E})}else if(i.isLead()){const{onExitComplete:u}=i.options;u&&u()}i.options.transition=void 0}function O_(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function __(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function k_(i){i.clearSnapshot()}function XA(i){i.clearMeasurements()}function QA(i){i.isLayoutDirty=!1}function j_(i){const{visualElement:l}=i.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),i.resetTransform()}function ZA(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function U_(i){i.resolveTargetDelta()}function L_(i){i.calcProjection()}function N_(i){i.resetSkewAndRotation()}function H_(i){i.removeLeadSnapshot()}function $A(i,l,u){i.translate=An(l.translate,0,u),i.scale=An(l.scale,1,u),i.origin=l.origin,i.originPoint=l.originPoint}function KA(i,l,u,c){i.min=An(l.min,u.min,c),i.max=An(l.max,u.max,c)}function V_(i,l,u,c){KA(i.x,l.x,u.x,c),KA(i.y,l.y,u.y,c)}function B_(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const Y_={duration:.45,ease:[.4,0,.1,1]},IA=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),JA=IA("applewebkit/")&&!IA("chrome/")?Math.round:jo;function FA(i){i.min=JA(i.min),i.max=JA(i.max)}function q_(i){FA(i.x),FA(i.y)}function PA(i,l,u){return i==="position"||i==="preserve-aspect"&&!f_(UA(l),UA(u),.2)}function G_(i){return i!==i.root&&i.scroll?.wasRoot}const X_=GA({attachResizeListener:(i,l)=>sg(i,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kS={current:void 0},WA=GA({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!kS.current){const i=new X_({});i.mount(window),i.setOptions({layoutScroll:!0}),kS.current=i}return kS.current},resetTransform:(i,l)=>{i.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),jS=K.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function tC(i,l){if(typeof i=="function")return i(l);i!=null&&(i.current=l)}function Q_(...i){return l=>{let u=!1;const c=i.map(p=>{const m=tC(p,l);return!u&&typeof m=="function"&&(u=!0),m});if(u)return()=>{for(let p=0;p<c.length;p++){const m=c[p];typeof m=="function"?m():tC(i[p],null)}}}}function Z_(...i){return K.useCallback(Q_(...i),i)}class $_ extends K.Component{getSnapshotBeforeUpdate(l){const u=this.props.childRef.current;if(u&&l.isPresent&&!this.props.isPresent){const c=u.offsetParent,p=VT(c)&&c.offsetWidth||0,m=this.props.sizeRef.current;m.height=u.offsetHeight||0,m.width=u.offsetWidth||0,m.top=u.offsetTop,m.left=u.offsetLeft,m.right=p-m.width-m.left}return null}componentDidUpdate(){}render(){return this.props.children}}function K_({children:i,isPresent:l,anchorX:u,root:c}){const p=K.useId(),m=K.useRef(null),y=K.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:x}=K.useContext(jS),S=i.props?.ref??i?.ref,E=Z_(m,S);return K.useInsertionEffect(()=>{const{width:T,height:A,top:R,left:j,right:B}=y.current;if(l||!m.current||!T||!A)return;const X=u==="left"?`left: ${j}`:`right: ${B}`;m.current.dataset.motionPopId=p;const q=document.createElement("style");x&&(q.nonce=x);const Z=c??document.head;return Z.appendChild(q),q.sheet&&q.sheet.insertRule(`
244
244
  [data-motion-pop-id="${p}"] {
245
245
  position: absolute !important;
246
246
  width: ${T}px !important;
@@ -248,8 +248,8 @@ You might need to use a local HTTP server (instead of file://): https://react.de
248
248
  ${X}px !important;
249
249
  top: ${R}px !important;
250
250
  }
251
- `),()=>{Z.contains(q)&&Z.removeChild(q)}},[l]),z.jsx($_,{isPresent:l,childRef:m,sizeRef:y,children:K.cloneElement(i,{ref:E})})}const I_=({children:i,initial:l,isPresent:u,onExitComplete:c,custom:p,presenceAffectsLayout:m,mode:y,anchorX:x,root:S})=>{const E=Dx(J_),T=K.useId();let A=!0,R=K.useMemo(()=>(A=!1,{id:T,initial:l,isPresent:u,custom:p,onExitComplete:j=>{E.set(j,!0);for(const B of E.values())if(!B)return;c&&c()},register:j=>(E.set(j,!1),()=>E.delete(j))}),[u,E,c]);return m&&A&&(R={...R}),K.useMemo(()=>{E.forEach((j,B)=>E.set(B,!1))},[u]),K.useEffect(()=>{!u&&!E.size&&c&&c()},[u]),y==="popLayout"&&(i=z.jsx(K_,{isPresent:u,anchorX:x,root:S,children:i})),z.jsx(wv.Provider,{value:R,children:i})};function J_(){return new Map}function eC(i=!0){const l=K.useContext(wv);if(l===null)return[!0,null];const{isPresent:u,onExitComplete:c,register:p}=l,m=K.useId();K.useEffect(()=>{if(i)return p(m)},[i]);const y=K.useCallback(()=>i&&c&&c(m),[m,c,i]);return!u&&c?[!1,y]:[!0]}const Nv=i=>i.key||"";function nC(i){const l=[];return K.Children.forEach(i,u=>{K.isValidElement(u)&&l.push(u)}),l}const Li=({children:i,custom:l,initial:u=!0,onExitComplete:c,presenceAffectsLayout:p=!0,mode:m="sync",propagate:y=!1,anchorX:x="left",root:S})=>{const[E,T]=eC(y),A=K.useMemo(()=>nC(i),[i]),R=y&&!E?[]:A.map(Nv),j=K.useRef(!0),B=K.useRef(A),X=Dx(()=>new Map),q=K.useRef(new Set),[Z,W]=K.useState(A),[rt,ct]=K.useState(A);ME(()=>{j.current=!1,B.current=A;for(let vt=0;vt<rt.length;vt++){const ot=Nv(rt[vt]);R.includes(ot)?(X.delete(ot),q.current.delete(ot)):X.get(ot)!==!0&&X.set(ot,!1)}},[rt,R.length,R.join("-")]);const xt=[];if(A!==Z){let vt=[...A];for(let ot=0;ot<rt.length;ot++){const jt=rt[ot],St=Nv(jt);R.includes(St)||(vt.splice(ot,0,jt),xt.push(jt))}return m==="wait"&&xt.length&&(vt=xt),ct(nC(vt)),W(A),null}process.env.NODE_ENV!=="production"&&m==="wait"&&rt.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:Tt}=K.useContext(Rx);return z.jsx(z.Fragment,{children:rt.map(vt=>{const ot=Nv(vt),jt=y&&!E?!1:A===rt||R.includes(ot),St=()=>{if(q.current.has(ot))return;if(q.current.add(ot),X.has(ot))X.set(ot,!0);else return;let oe=!0;X.forEach(Mt=>{Mt||(oe=!1)}),oe&&(Tt?.(),ct(B.current),y&&T?.(),c&&c())};return z.jsx(I_,{isPresent:jt,initial:!j.current||u?void 0:!1,custom:l,presenceAffectsLayout:p,mode:m,root:S,onExitComplete:jt?void 0:St,anchorX:x,children:vt},ot)})})},aC=K.createContext({strict:!1}),iC={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 oC=!1;function F_(){if(oC)return;const i={};for(const l in iC)i[l]={isEnabled:u=>iC[l].some(c=>!!u[c])};WT(i),oC=!0}function lC(){return F_(),NO()}function P_(i){const l=lC();for(const u in i)l[u]={...l[u],...i[u]};WT(l)}const W_=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 Hv(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||W_.has(i)}let rC=i=>!Hv(i);function tk(i){typeof i=="function"&&(rC=l=>l.startsWith("on")?!Hv(l):i(l))}try{tk(require("@emotion/is-prop-valid").default)}catch{}function ek(i,l,u){const c={};for(const p in i)p==="values"&&typeof i.values=="object"||(rC(p)||u===!0&&Hv(p)||!l&&!Hv(p)||i.draggable&&p.startsWith("onDrag"))&&(c[p]=i[p]);return c}const Vv=K.createContext({});function nk(i,l){if(Ov(i)){const{initial:u,animate:c}=i;return{initial:u===!1||og(u)?u:void 0,animate:og(c)?c:void 0}}return i.inherit!==!1?l:{}}function ak(i){const{initial:l,animate:u}=nk(i,K.useContext(Vv));return K.useMemo(()=>({initial:l,animate:u}),[sC(l),sC(u)])}function sC(i){return Array.isArray(i)?i.join(" "):i}const US=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uC(i,l,u){for(const c in l)!Ja(l[c])&&!dA(c,u)&&(i[c]=l[c])}function ik({transformTemplate:i},l){return K.useMemo(()=>{const u=US();return DS(u,l,i),Object.assign({},u.vars,u.style)},[l])}function ok(i,l){const u=i.style||{},c={};return uC(c,u,i),Object.assign(c,ik(i,l)),c}function lk(i,l){const u={},c=ok(i,l);return i.drag&&i.dragListener!==!1&&(u.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(u.tabIndex=0),u.style=c,u}const cC=()=>({...US(),attrs:{}});function rk(i,l,u,c){const p=K.useMemo(()=>{const m=cC();return hA(m,l,mA(c),i.transformTemplate,i.style),{...m.attrs,style:{...m.style}}},[l]);if(i.style){const m={};uC(m,i.style,i),p.style={...m,...p.style}}return p}const sk=["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 LS(i){return typeof i!="string"||i.includes("-")?!1:!!(sk.indexOf(i)>-1||/[A-Z]/u.test(i))}function uk(i,l,u,{latestValues:c},p,m=!1,y){const S=(y??LS(i)?rk:lk)(l,c,p,i),E=ek(l,typeof i=="string",m),T=i!==K.Fragment?{...E,...S,ref:u}:{},{children:A}=l,R=K.useMemo(()=>Ja(A)?A.get():A,[A]);return K.createElement(i,{...T,children:R})}function ck({scrapeMotionValuesFromProps:i,createRenderState:l},u,c,p){return{latestValues:fk(u,c,p,i),renderState:l()}}function fk(i,l,u,c){const p={},m=c(i,{});for(const R in m)p[R]=Uv(m[R]);let{initial:y,animate:x}=i;const S=Ov(i),E=FT(i);l&&E&&!S&&i.inherit!==!1&&(y===void 0&&(y=l.initial),x===void 0&&(x=l.animate));let T=u?u.initial===!1:!1;T=T||y===!1;const A=T?x:y;if(A&&typeof A!="boolean"&&!zv(A)){const R=Array.isArray(A)?A:[A];for(let j=0;j<R.length;j++){const B=dS(i,R[j]);if(B){const{transitionEnd:X,transition:q,...Z}=B;for(const W in Z){let rt=Z[W];if(Array.isArray(rt)){const ct=T?rt.length-1:0;rt=rt[ct]}rt!==null&&(p[W]=rt)}for(const W in X)p[W]=X[W]}}}return p}const fC=i=>(l,u)=>{const c=K.useContext(Vv),p=K.useContext(wv),m=()=>ck(i,l,c,p);return u?m():Dx(m)},dk=fC({scrapeMotionValuesFromProps:zS,createRenderState:US}),hk=fC({scrapeMotionValuesFromProps:gA,createRenderState:cC}),pk=Symbol.for("motionComponentSymbol");function mk(i,l,u){const c=K.useRef(u);K.useInsertionEffect(()=>{c.current=u});const p=K.useRef(null);return K.useCallback(m=>{m&&i.onMount?.(m),l&&(m?l.mount(m):l.unmount());const y=c.current;if(typeof y=="function")if(m){const x=y(m);typeof x=="function"&&(p.current=x)}else p.current?(p.current(),p.current=null):y(m);else y&&(y.current=m)},[l])}const dC=K.createContext({});function ug(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function gk(i,l,u,c,p,m){const{visualElement:y}=K.useContext(Vv),x=K.useContext(aC),S=K.useContext(wv),E=K.useContext(jS).reducedMotion,T=K.useRef(null);c=c||x.renderer,!T.current&&c&&(T.current=c(i,{visualState:l,parent:y,props:u,presenceContext:S,blockInitialAnimation:S?S.initial===!1:!1,reducedMotionConfig:E,isSVG:m}));const A=T.current,R=K.useContext(dC);A&&!A.projection&&p&&(A.type==="html"||A.type==="svg")&&yk(T.current,u,p,R);const j=K.useRef(!1);K.useInsertionEffect(()=>{A&&j.current&&A.update(u,S)});const B=u[MT],X=K.useRef(!!B&&!window.MotionHandoffIsComplete?.(B)&&window.MotionHasOptimisedAnimation?.(B));return ME(()=>{A&&(j.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),X.current&&A.animationState&&A.animationState.animateChanges())}),K.useEffect(()=>{A&&(!X.current&&A.animationState&&A.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(B)}),X.current=!1),A.enteringChildren=void 0)}),A}function yk(i,l,u,c){const{layoutId:p,layout:m,drag:y,dragConstraints:x,layoutScroll:S,layoutRoot:E,layoutCrossfade:T}=l;i.projection=new u(i.latestValues,l["data-framer-portal-id"]?void 0:hC(i.parent)),i.projection.setOptions({layoutId:p,layout:m,alwaysMeasureLayout:!!y||x&&ug(x),visualElement:i,animationType:typeof m=="string"?m:"both",initialPromotionConfig:c,crossfade:T,layoutScroll:S,layoutRoot:E})}function hC(i){if(i)return i.options.allowProjection!==!1?i.projection:hC(i.parent)}function NS(i,{forwardMotionProps:l=!1,type:u}={},c,p){c&&P_(c);const m=u?u==="svg":LS(i),y=m?hk:dk;function x(E,T){let A;const R={...K.useContext(jS),...E,layoutId:vk(E)},{isStatic:j}=R,B=ak(E),X=y(E,j);if(!j&&DE){bk(R,c);const q=xk(R);A=q.MeasureLayout,B.visualElement=gk(i,X,R,p,q.ProjectionNode,m)}return z.jsxs(Vv.Provider,{value:B,children:[A&&B.visualElement?z.jsx(A,{visualElement:B.visualElement,...R}):null,uk(i,E,mk(X,B.visualElement,T),X,j,l,m)]})}x.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const S=K.forwardRef(x);return S[pk]=i,S}function vk({layoutId:i}){const l=K.useContext(Rx).id;return l&&i!==void 0?l+"-"+i:i}function bk(i,l){const u=K.useContext(aC).strict;if(process.env.NODE_ENV!=="production"&&l&&u){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?oh(!1,c,"lazy-strict-mode"):is(!1,c,"lazy-strict-mode")}}function xk(i){const l=lC(),{drag:u,layout:c}=l;if(!u&&!c)return{};const p={...u,...c};return{MeasureLayout:u?.isEnabled(i)||c?.isEnabled(i)?p.MeasureLayout:void 0,ProjectionNode:p.ProjectionNode}}function Sk(i,l){if(typeof Proxy>"u")return NS;const u=new Map,c=(m,y)=>NS(m,y,i,l),p=(m,y)=>(process.env.NODE_ENV!=="production"&&jx(!1,"motion() is deprecated. Use motion.create() instead."),c(m,y));return new Proxy(p,{get:(m,y)=>y==="create"?c:(u.has(y)||u.set(y,NS(y,void 0,i,l)),u.get(y))})}const wk=(i,l)=>l.isSVG??LS(i)?new t_(l):new KO(l,{allowProjection:i!==K.Fragment});class Ek extends wu{constructor(l){super(l),l.animationState||(l.animationState=o_(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();zv(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:u}=this.node.prevProps||{};l!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Tk=0;class Ak extends wu{constructor(){super(...arguments),this.id=Tk++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:u}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===c)return;const p=this.node.animationState.setActive("exit",!l);u&&!l&&p.then(()=>{u(this.id)})}mount(){const{register:l,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const Ck={animation:{Feature:Ek},exit:{Feature:Ak}};function cg(i){return{point:{x:i.pageX,y:i.pageY}}}const Rk=i=>l=>xS(l)&&i(l,cg(l));function fg(i,l,u,c){return sg(i,l,Rk(u),c)}const pC=({current:i})=>i?i.ownerDocument.defaultView:null,mC=(i,l)=>Math.abs(i-l);function Dk(i,l){const u=mC(i.x,l.x),c=mC(i.y,l.y);return Math.sqrt(u**2+c**2)}const gC=new Set(["auto","scroll"]);class yC{constructor(l,u,{transformPagePoint:c,contextWindow:p=window,dragSnapToOrigin:m=!1,distanceThreshold:y=3,element:x}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=j=>{this.handleScroll(j.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=VS(this.lastMoveEventInfo,this.history),B=this.startEvent!==null,X=Dk(j.offset,{x:0,y:0})>=this.distanceThreshold;if(!B&&!X)return;const{point:q}=j,{timestamp:Z}=za;this.history.push({...q,timestamp:Z});const{onStart:W,onMove:rt}=this.handlers;B||(W&&W(this.lastMoveEvent,j),this.startEvent=this.lastMoveEvent),rt&&rt(this.lastMoveEvent,j)},this.handlePointerMove=(j,B)=>{this.lastMoveEvent=j,this.lastMoveEventInfo=HS(B,this.transformPagePoint),mn.update(this.updatePoint,!0)},this.handlePointerUp=(j,B)=>{this.end();const{onEnd:X,onSessionEnd:q,resumeAnimation:Z}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Z&&Z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const W=VS(j.type==="pointercancel"?this.lastMoveEventInfo:HS(B,this.transformPagePoint),this.history);this.startEvent&&X&&X(j,W),q&&q(j,W)},!xS(l))return;this.dragSnapToOrigin=m,this.handlers=u,this.transformPagePoint=c,this.distanceThreshold=y,this.contextWindow=p||window;const S=cg(l),E=HS(S,this.transformPagePoint),{point:T}=E,{timestamp:A}=za;this.history=[{...T,timestamp:A}];const{onSessionStart:R}=u;R&&R(l,VS(E,this.history)),this.removeListeners=Fm(fg(this.contextWindow,"pointermove",this.handlePointerMove),fg(this.contextWindow,"pointerup",this.handlePointerUp),fg(this.contextWindow,"pointercancel",this.handlePointerUp)),x&&this.startScrollTracking(x)}startScrollTracking(l){let u=l.parentElement;for(;u;){const c=getComputedStyle(u);(gC.has(c.overflowX)||gC.has(c.overflowY))&&this.scrollPositions.set(u,{x:u.scrollLeft,y:u.scrollTop}),u=u.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(l){const u=this.scrollPositions.get(l);if(!u)return;const c=l===window,p=c?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},m={x:p.x-u.x,y:p.y-u.y};m.x===0&&m.y===0||(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=m.x,this.lastMoveEventInfo.point.y+=m.y):this.history.length>0&&(this.history[0].x-=m.x,this.history[0].y-=m.y),this.scrollPositions.set(l,p),mn.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),vu(this.updatePoint)}}function HS(i,l){return l?{point:l(i.point)}:i}function vC(i,l){return{x:i.x-l.x,y:i.y-l.y}}function VS({point:i},l){return{point:i,delta:vC(i,bC(l)),offset:vC(i,Mk(l)),velocity:zk(l,.1)}}function Mk(i){return i[0]}function bC(i){return i[i.length-1]}function zk(i,l){if(i.length<2)return{x:0,y:0};let u=i.length-1,c=null;const p=bC(i);for(;u>=0&&(c=i[u],!(p.timestamp-c.timestamp>dr(l)));)u--;if(!c)return{x:0,y:0};const m=Uo(p.timestamp-c.timestamp);if(m===0)return{x:0,y:0};const y={x:(p.x-c.x)/m,y:(p.y-c.y)/m};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function Ok(i,{min:l,max:u},c){return l!==void 0&&i<l?i=c?An(l,i,c.min):Math.max(i,l):u!==void 0&&i>u&&(i=c?An(u,i,c.max):Math.min(i,u)),i}function xC(i,l,u){return{min:l!==void 0?i.min+l:void 0,max:u!==void 0?i.max+u-(i.max-i.min):void 0}}function _k(i,{top:l,left:u,bottom:c,right:p}){return{x:xC(i.x,u,p),y:xC(i.y,l,c)}}function SC(i,l){let u=l.min-i.min,c=l.max-i.max;return l.max-l.min<i.max-i.min&&([u,c]=[c,u]),{min:u,max:c}}function kk(i,l){return{x:SC(i.x,l.x),y:SC(i.y,l.y)}}function jk(i,l){let u=.5;const c=si(i),p=si(l);return p>c?u=Pm(l.min,l.max-c,i.min):c>p&&(u=Pm(i.min,i.max-p,l.min)),fr(0,1,u)}function Uk(i,l){const u={};return l.min!==void 0&&(u.min=l.min-i.min),l.max!==void 0&&(u.max=l.max-i.min),u}const BS=.35;function Lk(i=BS){return i===!1?i=0:i===!0&&(i=BS),{x:wC(i,"left","right"),y:wC(i,"top","bottom")}}function wC(i,l,u){return{min:EC(i,l),max:EC(i,u)}}function EC(i,l){return typeof i=="number"?i:i[l]||0}const Nk=new WeakMap;class Hk{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=da(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:u=!1,distanceThreshold:c}={}){const{presenceContext:p}=this.visualElement;if(p&&p.isPresent===!1)return;const m=A=>{u?(this.stopAnimation(),this.snapToCursor(cg(A).point)):this.pauseAnimation()},y=(A,R)=>{this.stopAnimation();const{drag:j,dragPropagation:B,onDragStart:X}=this.getProps();if(j&&!B&&(this.openDragLock&&this.openDragLock(),this.openDragLock=AO(j),!this.openDragLock))return;this.latestPointerEvent=A,this.latestPanInfo=R,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lo(Z=>{let W=this.getAxisMotionValue(Z).get()||0;if(hr.test(W)){const{projection:rt}=this.visualElement;if(rt&&rt.layout){const ct=rt.layout.layoutBox[Z];ct&&(W=si(ct)*(parseFloat(W)/100))}}this.originPoint[Z]=W}),X&&mn.postRender(()=>X(A,R)),pS(this.visualElement,"transform");const{animationState:q}=this.visualElement;q&&q.setActive("whileDrag",!0)},x=(A,R)=>{this.latestPointerEvent=A,this.latestPanInfo=R;const{dragPropagation:j,dragDirectionLock:B,onDirectionLock:X,onDrag:q}=this.getProps();if(!j&&!this.openDragLock)return;const{offset:Z}=R;if(B&&this.currentDirection===null){this.currentDirection=Vk(Z),this.currentDirection!==null&&X&&X(this.currentDirection);return}this.updateAxis("x",R.point,Z),this.updateAxis("y",R.point,Z),this.visualElement.render(),q&&q(A,R)},S=(A,R)=>{this.latestPointerEvent=A,this.latestPanInfo=R,this.stop(A,R),this.latestPointerEvent=null,this.latestPanInfo=null},E=()=>Lo(A=>this.getAnimationState(A)==="paused"&&this.getAxisMotionValue(A).animation?.play()),{dragSnapToOrigin:T}=this.getProps();this.panSession=new yC(l,{onSessionStart:m,onStart:y,onMove:x,onSessionEnd:S,resumeAnimation:E},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:T,distanceThreshold:c,contextWindow:pC(this.visualElement),element:this.visualElement.current})}stop(l,u){const c=l||this.latestPointerEvent,p=u||this.latestPanInfo,m=this.isDragging;if(this.cancel(),!m||!p||!c)return;const{velocity:y}=p;this.startAnimation(y);const{onDragEnd:x}=this.getProps();x&&mn.postRender(()=>x(c,p))}cancel(){this.isDragging=!1;const{projection:l,animationState:u}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(l,u,c){const{drag:p}=this.getProps();if(!c||!Bv(l,p,this.currentDirection))return;const m=this.getAxisMotionValue(l);let y=this.originPoint[l]+c[l];this.constraints&&this.constraints[l]&&(y=Ok(y,this.constraints[l],this.elastic[l])),m.set(y)}resolveConstraints(){const{dragConstraints:l,dragElastic:u}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,p=this.constraints;l&&ug(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&c?this.constraints=_k(c.layoutBox,l):this.constraints=!1,this.elastic=Lk(u),p!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Lo(m=>{this.constraints!==!1&&this.getAxisMotionValue(m)&&(this.constraints[m]=Uk(c.layoutBox[m],this.constraints[m]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:u}=this.getProps();if(!l||!ug(l))return!1;const c=l.current;is(c!==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:p}=this.visualElement;if(!p||!p.layout)return!1;const m=qO(c,p.root,this.visualElement.getTransformPagePoint());let y=kk(p.layout.layoutBox,m);if(u){const x=u(VO(y));this.hasMutatedConstraints=!!x,x&&(y=eA(x))}return y}startAnimation(l){const{drag:u,dragMomentum:c,dragElastic:p,dragTransition:m,dragSnapToOrigin:y,onDragTransitionEnd:x}=this.getProps(),S=this.constraints||{},E=Lo(T=>{if(!Bv(T,u,this.currentDirection))return;let A=S&&S[T]||{};y&&(A={min:0,max:0});const R=p?200:1e6,j=p?40:1e7,B={type:"inertia",velocity:c?l[T]:0,bounceStiffness:R,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...m,...A};return this.startAxisValueAnimation(T,B)});return Promise.all(E).then(x)}startAxisValueAnimation(l,u){const c=this.getAxisMotionValue(l);return pS(this.visualElement,l),c.start(fS(l,c,0,u,this.visualElement,!1))}stopAnimation(){Lo(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Lo(l=>this.getAxisMotionValue(l).animation?.pause())}getAnimationState(l){return this.getAxisMotionValue(l).animation?.state}getAxisMotionValue(l){const u=`_drag${l.toUpperCase()}`,c=this.visualElement.getProps(),p=c[u];return p||this.visualElement.getValue(l,(c.initial?c.initial[l]:void 0)||0)}snapToCursor(l){Lo(u=>{const{drag:c}=this.getProps();if(!Bv(u,c,this.currentDirection))return;const{projection:p}=this.visualElement,m=this.getAxisMotionValue(u);if(p&&p.layout){const{min:y,max:x}=p.layout.layoutBox[u],S=m.get()||0;m.set(l[u]-An(y,x,.5)+S)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:u}=this.getProps(),{projection:c}=this.visualElement;if(!ug(u)||!c||!this.constraints)return;this.stopAnimation();const p={x:0,y:0};Lo(y=>{const x=this.getAxisMotionValue(y);if(x&&this.constraints!==!1){const S=x.get();p[y]=jk({min:S,max:S},this.constraints[y])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Lo(y=>{if(!Bv(y,l,null))return;const x=this.getAxisMotionValue(y),{min:S,max:E}=this.constraints[y];x.set(An(S,E,p[y]))})}addListeners(){if(!this.visualElement.current)return;Nk.set(this.visualElement,this);const l=this.visualElement.current,u=fg(l,"pointerdown",S=>{const{drag:E,dragListener:T=!0}=this.getProps();E&&T&&!XT(S.target)&&this.start(S)}),c=()=>{const{dragConstraints:S}=this.getProps();ug(S)&&S.current&&(this.constraints=this.resolveRefConstraints())},{projection:p}=this.visualElement,m=p.addEventListener("measure",c);p&&!p.layout&&(p.root&&p.root.updateScroll(),p.updateLayout()),mn.read(c);const y=sg(window,"resize",()=>this.scalePositionWithinConstraints()),x=p.addEventListener("didUpdate",(({delta:S,hasLayoutChanged:E})=>{this.isDragging&&E&&(Lo(T=>{const A=this.getAxisMotionValue(T);A&&(this.originPoint[T]+=S[T].translate,A.set(A.get()+S[T].translate))}),this.visualElement.render())}));return()=>{y(),u(),m(),x&&x()}}getProps(){const l=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:c=!1,dragPropagation:p=!1,dragConstraints:m=!1,dragElastic:y=BS,dragMomentum:x=!0}=l;return{...l,drag:u,dragDirectionLock:c,dragPropagation:p,dragConstraints:m,dragElastic:y,dragMomentum:x}}}function Bv(i,l,u){return(l===!0||l===i)&&(u===null||u===i)}function Vk(i,l=10){let u=null;return Math.abs(i.y)>l?u="y":Math.abs(i.x)>l&&(u="x"),u}class Bk extends wu{constructor(l){super(l),this.removeGroupControls=jo,this.removeListeners=jo,this.controls=new Hk(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jo}update(){const{dragControls:l}=this.node.getProps(),{dragControls:u}=this.node.prevProps||{};l!==u&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const TC=i=>(l,u)=>{i&&mn.postRender(()=>i(l,u))};class Yk extends wu{constructor(){super(...arguments),this.removePointerDownListener=jo}onPointerDown(l){this.session=new yC(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pC(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:u,onPan:c,onPanEnd:p}=this.node.getProps();return{onSessionStart:TC(l),onStart:TC(u),onMove:c,onEnd:(m,y)=>{delete this.session,p&&mn.postRender(()=>p(m,y))}}}mount(){this.removePointerDownListener=fg(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let YS=!1;class qk extends K.Component{componentDidMount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:c,layoutId:p}=this.props,{projection:m}=l;m&&(u.group&&u.group.add(m),c&&c.register&&p&&c.register(m),YS&&m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,onExitComplete:()=>this.safeToRemove()})),Lv.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:u,visualElement:c,drag:p,isPresent:m}=this.props,{projection:y}=c;return y&&(y.isPresent=m,YS=!0,p||l.layoutDependency!==u||u===void 0||l.isPresent!==m?y.willUpdate():this.safeToRemove(),l.isPresent!==m&&(m?y.promote():y.relegate()||mn.postRender(()=>{const x=y.getStack();(!x||!x.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),bS.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:c}=this.props,{projection:p}=l;YS=!0,p&&(p.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(p),c&&c.deregister&&c.deregister(p))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function AC(i){const[l,u]=eC(),c=K.useContext(Rx);return z.jsx(qk,{...i,layoutGroup:c,switchLayoutGroup:K.useContext(dC),isPresent:l,safeToRemove:u})}const Gk={pan:{Feature:Yk},drag:{Feature:Bk,ProjectionNode:WA,MeasureLayout:AC}};function CC(i,l,u){const{props:c}=i;i.animationState&&c.whileHover&&i.animationState.setActive("whileHover",u==="Start");const p="onHover"+u,m=c[p];m&&mn.postRender(()=>m(l,cg(l)))}class Xk extends wu{mount(){const{current:l}=this.node;l&&(this.unmount=CO(l,(u,c)=>(CC(this.node,c,"Start"),p=>CC(this.node,p,"End"))))}unmount(){}}class Qk extends wu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=Fm(sg(this.node.current,"focus",()=>this.onFocus()),sg(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function RC(i,l,u){const{props:c}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&c.whileTap&&i.animationState.setActive("whileTap",u==="Start");const p="onTap"+(u==="End"?"":u),m=c[p];m&&mn.postRender(()=>m(l,cg(l)))}class Zk extends wu{mount(){const{current:l}=this.node;l&&(this.unmount=MO(l,(u,c)=>(RC(this.node,c,"Start"),(p,{success:m})=>RC(this.node,p,m?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const qS=new WeakMap,GS=new WeakMap,$k=i=>{const l=qS.get(i.target);l&&l(i)},Kk=i=>{i.forEach($k)};function Ik({root:i,...l}){const u=i||document;GS.has(u)||GS.set(u,{});const c=GS.get(u),p=JSON.stringify(l);return c[p]||(c[p]=new IntersectionObserver(Kk,{root:i,...l})),c[p]}function Jk(i,l,u){const c=Ik(l);return qS.set(i,u),c.observe(i),()=>{qS.delete(i),c.unobserve(i)}}const Fk={some:0,all:1};class Pk extends wu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:u,margin:c,amount:p="some",once:m}=l,y={root:u?u.current:void 0,rootMargin:c,threshold:typeof p=="number"?p:Fk[p]},x=S=>{const{isIntersecting:E}=S;if(this.isInView===E||(this.isInView=E,m&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);const{onViewportEnter:T,onViewportLeave:A}=this.node.getProps(),R=E?T:A;R&&R(S)};return Jk(this.node.current,y,x)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:u}=this.node;["amount","margin","root"].some(Wk(l,u))&&this.startObserver()}unmount(){}}function Wk({viewport:i={}},{viewport:l={}}={}){return u=>i[u]!==l[u]}const t4={...Ck,...{inView:{Feature:Pk},tap:{Feature:Zk},focus:{Feature:Qk},hover:{Feature:Xk}},...Gk,...{layout:{ProjectionNode:WA,MeasureLayout:AC}}},ke=Sk(t4,wk);function DC(i){var l,u,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(u=DC(i[l]))&&(c&&(c+=" "),c+=u)}else for(u in i)i[u]&&(c&&(c+=" "),c+=u);return c}function MC(){for(var i,l,u=0,c="",p=arguments.length;u<p;u++)(i=arguments[u])&&(l=DC(i))&&(c&&(c+=" "),c+=l);return c}const zC=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,OC=MC,No=(i,l)=>u=>{var c;if(l?.variants==null)return OC(i,u?.class,u?.className);const{variants:p,defaultVariants:m}=l,y=Object.keys(p).map(E=>{const T=u?.[E],A=m?.[E];if(T===null)return null;const R=zC(T)||zC(A);return p[E][R]}),x=u&&Object.entries(u).reduce((E,T)=>{let[A,R]=T;return R===void 0||(E[A]=R),E},{}),S=l==null||(c=l.compoundVariants)===null||c===void 0?void 0:c.reduce((E,T)=>{let{class:A,className:R,...j}=T;return Object.entries(j).every(B=>{let[X,q]=B;return Array.isArray(q)?q.includes({...m,...x}[X]):{...m,...x}[X]===q})?[...E,A,R]:E},[]);return OC(i,y,S,u?.class,u?.className)},e4=(i,l)=>{const u=new Array(i.length+l.length);for(let c=0;c<i.length;c++)u[c]=i[c];for(let c=0;c<l.length;c++)u[i.length+c]=l[c];return u},n4=(i,l)=>({classGroupId:i,validator:l}),_C=(i=new Map,l=null,u)=>({nextPart:i,validators:l,classGroupId:u}),Yv="-",kC=[],a4="arbitrary..",i4=i=>{const l=l4(i),{conflictingClassGroups:u,conflictingClassGroupModifiers:c}=i;return{getClassGroupId:y=>{if(y.startsWith("[")&&y.endsWith("]"))return o4(y);const x=y.split(Yv),S=x[0]===""&&x.length>1?1:0;return jC(x,S,l)},getConflictingClassGroupIds:(y,x)=>{if(x){const S=c[y],E=u[y];return S?E?e4(E,S):S:E||kC}return u[y]||kC}}},jC=(i,l,u)=>{if(i.length-l===0)return u.classGroupId;const p=i[l],m=u.nextPart.get(p);if(m){const E=jC(i,l+1,m);if(E)return E}const y=u.validators;if(y===null)return;const x=l===0?i.join(Yv):i.slice(l).join(Yv),S=y.length;for(let E=0;E<S;E++){const T=y[E];if(T.validator(x))return T.classGroupId}},o4=i=>i.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const l=i.slice(1,-1),u=l.indexOf(":"),c=l.slice(0,u);return c?a4+c:void 0})(),l4=i=>{const{theme:l,classGroups:u}=i;return r4(u,l)},r4=(i,l)=>{const u=_C();for(const c in i){const p=i[c];XS(p,u,c,l)}return u},XS=(i,l,u,c)=>{const p=i.length;for(let m=0;m<p;m++){const y=i[m];s4(y,l,u,c)}},s4=(i,l,u,c)=>{if(typeof i=="string"){u4(i,l,u);return}if(typeof i=="function"){c4(i,l,u,c);return}f4(i,l,u,c)},u4=(i,l,u)=>{const c=i===""?l:UC(l,i);c.classGroupId=u},c4=(i,l,u,c)=>{if(d4(i)){XS(i(c),l,u,c);return}l.validators===null&&(l.validators=[]),l.validators.push(n4(u,i))},f4=(i,l,u,c)=>{const p=Object.entries(i),m=p.length;for(let y=0;y<m;y++){const[x,S]=p[y];XS(S,UC(l,x),u,c)}},UC=(i,l)=>{let u=i;const c=l.split(Yv),p=c.length;for(let m=0;m<p;m++){const y=c[m];let x=u.nextPart.get(y);x||(x=_C(),u.nextPart.set(y,x)),u=x}return u},d4=i=>"isThemeGetter"in i&&i.isThemeGetter===!0,h4=i=>{if(i<1)return{get:()=>{},set:()=>{}};let l=0,u=Object.create(null),c=Object.create(null);const p=(m,y)=>{u[m]=y,l++,l>i&&(l=0,c=u,u=Object.create(null))};return{get(m){let y=u[m];if(y!==void 0)return y;if((y=c[m])!==void 0)return p(m,y),y},set(m,y){m in u?u[m]=y:p(m,y)}}},QS="!",LC=":",p4=[],NC=(i,l,u,c,p)=>({modifiers:i,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c,isExternal:p}),m4=i=>{const{prefix:l,experimentalParseClassName:u}=i;let c=p=>{const m=[];let y=0,x=0,S=0,E;const T=p.length;for(let X=0;X<T;X++){const q=p[X];if(y===0&&x===0){if(q===LC){m.push(p.slice(S,X)),S=X+1;continue}if(q==="/"){E=X;continue}}q==="["?y++:q==="]"?y--:q==="("?x++:q===")"&&x--}const A=m.length===0?p:p.slice(S);let R=A,j=!1;A.endsWith(QS)?(R=A.slice(0,-1),j=!0):A.startsWith(QS)&&(R=A.slice(1),j=!0);const B=E&&E>S?E-S:void 0;return NC(m,j,R,B)};if(l){const p=l+LC,m=c;c=y=>y.startsWith(p)?m(y.slice(p.length)):NC(p4,!1,y,void 0,!0)}if(u){const p=c;c=m=>u({className:m,parseClassName:p})}return c},g4=i=>{const l=new Map;return i.orderSensitiveModifiers.forEach((u,c)=>{l.set(u,1e6+c)}),u=>{const c=[];let p=[];for(let m=0;m<u.length;m++){const y=u[m],x=y[0]==="[",S=l.has(y);x||S?(p.length>0&&(p.sort(),c.push(...p),p=[]),c.push(y)):p.push(y)}return p.length>0&&(p.sort(),c.push(...p)),c}},y4=i=>({cache:h4(i.cacheSize),parseClassName:m4(i),sortModifiers:g4(i),...i4(i)}),v4=/\s+/,b4=(i,l)=>{const{parseClassName:u,getClassGroupId:c,getConflictingClassGroupIds:p,sortModifiers:m}=l,y=[],x=i.trim().split(v4);let S="";for(let E=x.length-1;E>=0;E-=1){const T=x[E],{isExternal:A,modifiers:R,hasImportantModifier:j,baseClassName:B,maybePostfixModifierPosition:X}=u(T);if(A){S=T+(S.length>0?" "+S:S);continue}let q=!!X,Z=c(q?B.substring(0,X):B);if(!Z){if(!q){S=T+(S.length>0?" "+S:S);continue}if(Z=c(B),!Z){S=T+(S.length>0?" "+S:S);continue}q=!1}const W=R.length===0?"":R.length===1?R[0]:m(R).join(":"),rt=j?W+QS:W,ct=rt+Z;if(y.indexOf(ct)>-1)continue;y.push(ct);const xt=p(Z,q);for(let Tt=0;Tt<xt.length;++Tt){const vt=xt[Tt];y.push(rt+vt)}S=T+(S.length>0?" "+S:S)}return S},x4=(...i)=>{let l=0,u,c,p="";for(;l<i.length;)(u=i[l++])&&(c=HC(u))&&(p&&(p+=" "),p+=c);return p},HC=i=>{if(typeof i=="string")return i;let l,u="";for(let c=0;c<i.length;c++)i[c]&&(l=HC(i[c]))&&(u&&(u+=" "),u+=l);return u},S4=(i,...l)=>{let u,c,p,m;const y=S=>{const E=l.reduce((T,A)=>A(T),i());return u=y4(E),c=u.cache.get,p=u.cache.set,m=x,x(S)},x=S=>{const E=c(S);if(E)return E;const T=b4(S,u);return p(S,T),T};return m=y,(...S)=>m(x4(...S))},w4=[],ha=i=>{const l=u=>u[i]||w4;return l.isThemeGetter=!0,l},VC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,BC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,E4=/^\d+\/\d+$/,T4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,C4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gh=i=>E4.test(i),Te=i=>!!i&&!Number.isNaN(Number(i)),Eu=i=>!!i&&Number.isInteger(Number(i)),ZS=i=>i.endsWith("%")&&Te(i.slice(0,-1)),ls=i=>T4.test(i),M4=()=>!0,z4=i=>A4.test(i)&&!C4.test(i),YC=()=>!1,O4=i=>R4.test(i),_4=i=>D4.test(i),k4=i=>!Yt(i)&&!qt(i),j4=i=>yh(i,ZC,YC),Yt=i=>VC.test(i),pf=i=>yh(i,$C,z4),$S=i=>yh(i,V4,Te),qC=i=>yh(i,XC,YC),U4=i=>yh(i,QC,_4),qv=i=>yh(i,KC,O4),qt=i=>BC.test(i),dg=i=>vh(i,$C),L4=i=>vh(i,B4),GC=i=>vh(i,XC),N4=i=>vh(i,ZC),H4=i=>vh(i,QC),Gv=i=>vh(i,KC,!0),yh=(i,l,u)=>{const c=VC.exec(i);return c?c[1]?l(c[1]):u(c[2]):!1},vh=(i,l,u=!1)=>{const c=BC.exec(i);return c?c[1]?l(c[1]):u:!1},XC=i=>i==="position"||i==="percentage",QC=i=>i==="image"||i==="url",ZC=i=>i==="length"||i==="size"||i==="bg-size",$C=i=>i==="length",V4=i=>i==="number",B4=i=>i==="family-name",KC=i=>i==="shadow",Y4=S4(()=>{const i=ha("color"),l=ha("font"),u=ha("text"),c=ha("font-weight"),p=ha("tracking"),m=ha("leading"),y=ha("breakpoint"),x=ha("container"),S=ha("spacing"),E=ha("radius"),T=ha("shadow"),A=ha("inset-shadow"),R=ha("text-shadow"),j=ha("drop-shadow"),B=ha("blur"),X=ha("perspective"),q=ha("aspect"),Z=ha("ease"),W=ha("animate"),rt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ct=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],xt=()=>[...ct(),qt,Yt],Tt=()=>["auto","hidden","clip","visible","scroll"],vt=()=>["auto","contain","none"],ot=()=>[qt,Yt,S],jt=()=>[gh,"full","auto",...ot()],St=()=>[Eu,"none","subgrid",qt,Yt],oe=()=>["auto",{span:["full",Eu,qt,Yt]},Eu,qt,Yt],Mt=()=>[Eu,"auto",qt,Yt],Nt=()=>["auto","min","max","fr",qt,Yt],Et=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],bt=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...ot()],F=()=>[gh,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ot()],P=()=>[i,qt,Yt],Rt=()=>[...ct(),GC,qC,{position:[qt,Yt]}],Ht=()=>["no-repeat",{repeat:["","x","y","space","round"]}],k=()=>["auto","cover","contain",N4,j4,{size:[qt,Yt]}],et=()=>[ZS,dg,pf],ht=()=>["","none","full",E,qt,Yt],mt=()=>["",Te,dg,pf],Gt=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_t=()=>[Te,ZS,GC,qC],$e=()=>["","none",B,qt,Yt],Ae=()=>["none",Te,qt,Yt],In=()=>["none",Te,qt,Yt],zt=()=>[Te,qt,Yt],ui=()=>[gh,"full",...ot()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ls],breakpoint:[ls],color:[M4],container:[ls],"drop-shadow":[ls],ease:["in","out","in-out"],font:[k4],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ls],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ls],shadow:[ls],spacing:["px",Te],text:[ls],"text-shadow":[ls],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gh,Yt,qt,q]}],container:["container"],columns:[{columns:[Te,Yt,qt,x]}],"break-after":[{"break-after":rt()}],"break-before":[{"break-before":rt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:xt()}],overflow:[{overflow:Tt()}],"overflow-x":[{"overflow-x":Tt()}],"overflow-y":[{"overflow-y":Tt()}],overscroll:[{overscroll:vt()}],"overscroll-x":[{"overscroll-x":vt()}],"overscroll-y":[{"overscroll-y":vt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:jt()}],"inset-x":[{"inset-x":jt()}],"inset-y":[{"inset-y":jt()}],start:[{start:jt()}],end:[{end:jt()}],top:[{top:jt()}],right:[{right:jt()}],bottom:[{bottom:jt()}],left:[{left:jt()}],visibility:["visible","invisible","collapse"],z:[{z:[Eu,"auto",qt,Yt]}],basis:[{basis:[gh,"full","auto",x,...ot()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Te,gh,"auto","initial","none",Yt]}],grow:[{grow:["",Te,qt,Yt]}],shrink:[{shrink:["",Te,qt,Yt]}],order:[{order:[Eu,"first","last","none",qt,Yt]}],"grid-cols":[{"grid-cols":St()}],"col-start-end":[{col:oe()}],"col-start":[{"col-start":Mt()}],"col-end":[{"col-end":Mt()}],"grid-rows":[{"grid-rows":St()}],"row-start-end":[{row:oe()}],"row-start":[{"row-start":Mt()}],"row-end":[{"row-end":Mt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Nt()}],"auto-rows":[{"auto-rows":Nt()}],gap:[{gap:ot()}],"gap-x":[{"gap-x":ot()}],"gap-y":[{"gap-y":ot()}],"justify-content":[{justify:[...Et(),"normal"]}],"justify-items":[{"justify-items":[...bt(),"normal"]}],"justify-self":[{"justify-self":["auto",...bt()]}],"align-content":[{content:["normal",...Et()]}],"align-items":[{items:[...bt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...bt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Et()}],"place-items":[{"place-items":[...bt(),"baseline"]}],"place-self":[{"place-self":["auto",...bt()]}],p:[{p:ot()}],px:[{px:ot()}],py:[{py:ot()}],ps:[{ps:ot()}],pe:[{pe:ot()}],pt:[{pt:ot()}],pr:[{pr:ot()}],pb:[{pb:ot()}],pl:[{pl:ot()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":ot()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ot()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[x,"screen",...F()]}],"min-w":[{"min-w":[x,"screen","none",...F()]}],"max-w":[{"max-w":[x,"screen","none","prose",{screen:[y]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",u,dg,pf]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,qt,$S]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ZS,Yt]}],"font-family":[{font:[L4,Yt,l]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[p,qt,Yt]}],"line-clamp":[{"line-clamp":[Te,"none",qt,$S]}],leading:[{leading:[m,...ot()]}],"list-image":[{"list-image":["none",qt,Yt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qt,Yt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Gt(),"wavy"]}],"text-decoration-thickness":[{decoration:[Te,"from-font","auto",qt,pf]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[Te,"auto",qt,Yt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ot()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qt,Yt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qt,Yt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Rt()}],"bg-repeat":[{bg:Ht()}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Eu,qt,Yt],radial:["",qt,Yt],conic:[Eu,qt,Yt]},H4,U4]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:et()}],"gradient-via-pos":[{via:et()}],"gradient-to-pos":[{to:et()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:ht()}],"rounded-s":[{"rounded-s":ht()}],"rounded-e":[{"rounded-e":ht()}],"rounded-t":[{"rounded-t":ht()}],"rounded-r":[{"rounded-r":ht()}],"rounded-b":[{"rounded-b":ht()}],"rounded-l":[{"rounded-l":ht()}],"rounded-ss":[{"rounded-ss":ht()}],"rounded-se":[{"rounded-se":ht()}],"rounded-ee":[{"rounded-ee":ht()}],"rounded-es":[{"rounded-es":ht()}],"rounded-tl":[{"rounded-tl":ht()}],"rounded-tr":[{"rounded-tr":ht()}],"rounded-br":[{"rounded-br":ht()}],"rounded-bl":[{"rounded-bl":ht()}],"border-w":[{border:mt()}],"border-w-x":[{"border-x":mt()}],"border-w-y":[{"border-y":mt()}],"border-w-s":[{"border-s":mt()}],"border-w-e":[{"border-e":mt()}],"border-w-t":[{"border-t":mt()}],"border-w-r":[{"border-r":mt()}],"border-w-b":[{"border-b":mt()}],"border-w-l":[{"border-l":mt()}],"divide-x":[{"divide-x":mt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":mt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Gt(),"hidden","none"]}],"divide-style":[{divide:[...Gt(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...Gt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Te,qt,Yt]}],"outline-w":[{outline:["",Te,dg,pf]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",T,Gv,qv]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",A,Gv,qv]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:mt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[Te,pf]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":mt()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",R,Gv,qv]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[Te,qt,Yt]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Te]}],"mask-image-linear-from-pos":[{"mask-linear-from":_t()}],"mask-image-linear-to-pos":[{"mask-linear-to":_t()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":_t()}],"mask-image-t-to-pos":[{"mask-t-to":_t()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":_t()}],"mask-image-r-to-pos":[{"mask-r-to":_t()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":_t()}],"mask-image-b-to-pos":[{"mask-b-to":_t()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":_t()}],"mask-image-l-to-pos":[{"mask-l-to":_t()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":_t()}],"mask-image-x-to-pos":[{"mask-x-to":_t()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":_t()}],"mask-image-y-to-pos":[{"mask-y-to":_t()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[qt,Yt]}],"mask-image-radial-from-pos":[{"mask-radial-from":_t()}],"mask-image-radial-to-pos":[{"mask-radial-to":_t()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ct()}],"mask-image-conic-pos":[{"mask-conic":[Te]}],"mask-image-conic-from-pos":[{"mask-conic-from":_t()}],"mask-image-conic-to-pos":[{"mask-conic-to":_t()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Rt()}],"mask-repeat":[{mask:Ht()}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qt,Yt]}],filter:[{filter:["","none",qt,Yt]}],blur:[{blur:$e()}],brightness:[{brightness:[Te,qt,Yt]}],contrast:[{contrast:[Te,qt,Yt]}],"drop-shadow":[{"drop-shadow":["","none",j,Gv,qv]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",Te,qt,Yt]}],"hue-rotate":[{"hue-rotate":[Te,qt,Yt]}],invert:[{invert:["",Te,qt,Yt]}],saturate:[{saturate:[Te,qt,Yt]}],sepia:[{sepia:["",Te,qt,Yt]}],"backdrop-filter":[{"backdrop-filter":["","none",qt,Yt]}],"backdrop-blur":[{"backdrop-blur":$e()}],"backdrop-brightness":[{"backdrop-brightness":[Te,qt,Yt]}],"backdrop-contrast":[{"backdrop-contrast":[Te,qt,Yt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Te,qt,Yt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Te,qt,Yt]}],"backdrop-invert":[{"backdrop-invert":["",Te,qt,Yt]}],"backdrop-opacity":[{"backdrop-opacity":[Te,qt,Yt]}],"backdrop-saturate":[{"backdrop-saturate":[Te,qt,Yt]}],"backdrop-sepia":[{"backdrop-sepia":["",Te,qt,Yt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ot()}],"border-spacing-x":[{"border-spacing-x":ot()}],"border-spacing-y":[{"border-spacing-y":ot()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qt,Yt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Te,"initial",qt,Yt]}],ease:[{ease:["linear","initial",Z,qt,Yt]}],delay:[{delay:[Te,qt,Yt]}],animate:[{animate:["none",W,qt,Yt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[X,qt,Yt]}],"perspective-origin":[{"perspective-origin":xt()}],rotate:[{rotate:Ae()}],"rotate-x":[{"rotate-x":Ae()}],"rotate-y":[{"rotate-y":Ae()}],"rotate-z":[{"rotate-z":Ae()}],scale:[{scale:In()}],"scale-x":[{"scale-x":In()}],"scale-y":[{"scale-y":In()}],"scale-z":[{"scale-z":In()}],"scale-3d":["scale-3d"],skew:[{skew:zt()}],"skew-x":[{"skew-x":zt()}],"skew-y":[{"skew-y":zt()}],transform:[{transform:[qt,Yt,"","none","gpu","cpu"]}],"transform-origin":[{origin:xt()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ui()}],"translate-x":[{"translate-x":ui()}],"translate-y":[{"translate-y":ui()}],"translate-z":[{"translate-z":ui()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qt,Yt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ot()}],"scroll-mx":[{"scroll-mx":ot()}],"scroll-my":[{"scroll-my":ot()}],"scroll-ms":[{"scroll-ms":ot()}],"scroll-me":[{"scroll-me":ot()}],"scroll-mt":[{"scroll-mt":ot()}],"scroll-mr":[{"scroll-mr":ot()}],"scroll-mb":[{"scroll-mb":ot()}],"scroll-ml":[{"scroll-ml":ot()}],"scroll-p":[{"scroll-p":ot()}],"scroll-px":[{"scroll-px":ot()}],"scroll-py":[{"scroll-py":ot()}],"scroll-ps":[{"scroll-ps":ot()}],"scroll-pe":[{"scroll-pe":ot()}],"scroll-pt":[{"scroll-pt":ot()}],"scroll-pr":[{"scroll-pr":ot()}],"scroll-pb":[{"scroll-pb":ot()}],"scroll-pl":[{"scroll-pl":ot()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qt,Yt]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[Te,dg,pf,$S]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function $t(...i){return Y4(MC(i))}const IC=No(["inline-flex items-center justify-center","font-medium","font-[-apple-system,BlinkMacSystemFont,'SF_Pro_Text','Segoe_UI',sans-serif]","rounded","select-none","whitespace-nowrap"].join(" "),{variants:{variant:{default:["bg-[var(--uilint-kbd-background,linear-gradient(180deg,#ffffff_0%,#f3f4f6_100%))]","text-[var(--uilint-kbd-text,#6b7280)]","border border-[var(--uilint-kbd-border,rgba(0,0,0,0.1))]","shadow-[var(--uilint-kbd-shadow,0_1px_0_rgba(0,0,0,0.08))]"].join(" "),subtle:["bg-[var(--uilint-kbd-background-subtle,rgba(0,0,0,0.04))]","text-[var(--uilint-kbd-text-subtle,#9ca3af)]","border border-[var(--uilint-kbd-border-subtle,transparent)]"].join(" ")},size:{sm:"min-w-4 h-4 px-1 text-[9px]",default:"min-w-[18px] h-[18px] px-1 text-[10px]",lg:"min-w-6 h-6 px-1.5 text-xs"}},defaultVariants:{variant:"default",size:"default"}}),q4={hidden:{opacity:0,scale:.95},visible:{opacity:1,scale:1}},JC=K.forwardRef(({className:i,variant:l,size:u,children:c,animate:p=!0,animationDuration:m=.1,style:y,...x},S)=>{const E={background:l==="subtle"?"var(--uilint-kbd-background-subtle, rgba(0, 0, 0, 0.04))":"var(--uilint-kbd-background, linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%))",color:l==="subtle"?"var(--uilint-kbd-text-subtle, #9ca3af)":"var(--uilint-kbd-text, #6b7280)",borderColor:l==="subtle"?"var(--uilint-kbd-border-subtle, transparent)":"var(--uilint-kbd-border, rgba(0, 0, 0, 0.1))",boxShadow:l==="subtle"?"none":"var(--uilint-kbd-shadow, 0 1px 0 rgba(0, 0, 0, 0.08))",...y};return p?z.jsx(ke.kbd,{ref:S,className:$t(IC({variant:l,size:u}),i),style:E,initial:"hidden",animate:"visible",variants:q4,transition:{duration:m,ease:"easeOut"},...x,children:c}):z.jsx(ke.kbd,{ref:S,className:$t(IC({variant:l,size:u}),i),style:E,...x,children:c})});JC.displayName="Kbd";const FC=No("inline-flex items-center justify-center font-semibold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{default:"bg-surface-elevated text-text-secondary border border-border",error:"bg-error-bg text-error border-0",warning:"bg-warning-bg text-warning border-0",success:"bg-success-bg text-success border-0",info:"bg-info-bg text-info border-0",outline:"bg-transparent text-text-secondary border border-border"},size:{sm:"px-1.5 py-0.5 text-[10px] leading-tight min-h-4",default:"px-2 py-0.5 text-xs leading-tight min-h-5",lg:"px-3 py-1 text-sm leading-tight min-h-6"}},defaultVariants:{variant:"default",size:"default"}}),G4=[.32,.72,0,1],X4={initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85}};function KS({className:i,variant:l,size:u,children:c,disableAnimation:p=!1,style:m,...y}){const x={borderRadius:"var(--uilint-badge-radius, 6px)",...m};return p?z.jsx("span",{className:$t(FC({variant:l,size:u}),i),style:x,children:c}):z.jsx(ke.span,{className:$t(FC({variant:l,size:u}),i),style:x,variants:X4,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15,ease:G4},...y,children:c})}function PC(i,l){if(typeof i=="function")return i(l);i!=null&&(i.current=l)}function Q4(...i){return l=>{let u=!1;const c=i.map(p=>{const m=PC(p,l);return!u&&typeof m=="function"&&(u=!0),m});if(u)return()=>{for(let p=0;p<c.length;p++){const m=c[p];typeof m=="function"?m():PC(i[p],null)}}}}var Z4=Symbol.for("react.lazy"),Xv=EM[" use ".trim().toString()];function $4(i){return typeof i=="object"&&i!==null&&"then"in i}function WC(i){return i!=null&&typeof i=="object"&&"$$typeof"in i&&i.$$typeof===Z4&&"_payload"in i&&$4(i._payload)}function K4(i){const l=I4(i),u=K.forwardRef((c,p)=>{let{children:m,...y}=c;WC(m)&&typeof Xv=="function"&&(m=Xv(m._payload));const x=K.Children.toArray(m),S=x.find(F4);if(S){const E=S.props.children,T=x.map(A=>A===S?K.Children.count(E)>1?K.Children.only(null):K.isValidElement(E)?E.props.children:null:A);return z.jsx(l,{...y,ref:p,children:K.isValidElement(E)?K.cloneElement(E,void 0,T):null})}return z.jsx(l,{...y,ref:p,children:m})});return u.displayName=`${i}.Slot`,u}var t5=K4("Slot");function I4(i){const l=K.forwardRef((u,c)=>{let{children:p,...m}=u;if(WC(p)&&typeof Xv=="function"&&(p=Xv(p._payload)),K.isValidElement(p)){const y=W4(p),x=P4(m,p.props);return p.type!==K.Fragment&&(x.ref=c?Q4(c,y):y),K.cloneElement(p,x)}return K.Children.count(p)>1?K.Children.only(null):null});return l.displayName=`${i}.SlotClone`,l}var J4=Symbol("radix.slottable");function F4(i){return K.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===J4}function P4(i,l){const u={...l};for(const c in l){const p=i[c],m=l[c];/^on[A-Z]/.test(c)?p&&m?u[c]=(...x)=>{const S=m(...x);return p(...x),S}:p&&(u[c]=p):c==="style"?u[c]={...p,...m}:c==="className"&&(u[c]=[p,m].filter(Boolean).join(" "))}return{...i,...u}}function W4(i){let l=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,u=l&&"isReactWarning"in l&&l.isReactWarning;return u?i.ref:(l=Object.getOwnPropertyDescriptor(i,"ref")?.get,u=l&&"isReactWarning"in l&&l.isReactWarning,u?i.props.ref:i.props.ref||i.ref)}const t6=No(["inline-flex items-center justify-center gap-2 whitespace-nowrap","text-sm font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-button-default-bg)]","text-[var(--uilint-button-default-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","focus-visible:ring-[var(--uilint-button-default-bg)]"],destructive:["bg-[var(--uilint-button-destructive-bg)]","text-[var(--uilint-button-destructive-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-destructive-bg)]/90","focus-visible:ring-[var(--uilint-button-destructive-bg)]"],outline:["bg-[var(--uilint-button-outline-bg)]","text-[var(--uilint-button-outline-text)]","border border-current/20","hover:bg-[var(--uilint-button-outline-text)]/10","focus-visible:ring-[var(--uilint-button-outline-text)]"],secondary:["bg-[var(--uilint-button-secondary-bg)]","text-[var(--uilint-button-secondary-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-secondary-bg)]/80","focus-visible:ring-[var(--uilint-button-secondary-bg)]"],ghost:["bg-[var(--uilint-button-ghost-bg)]","text-[var(--uilint-button-ghost-text)]","hover:bg-[var(--uilint-button-ghost-text)]/10","focus-visible:ring-[var(--uilint-button-ghost-text)]"],glass:["bg-[var(--uilint-button-glass-bg)]","text-[var(--uilint-button-glass-text)]","backdrop-blur-md","border border-white/20","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-white/30","focus-visible:ring-white/50"]},size:{default:"h-10 px-4 py-2 rounded-[var(--uilint-button-radius)]",sm:"h-8 px-3 text-xs rounded-[var(--uilint-button-radius)]",lg:"h-12 px-8 text-base rounded-[var(--uilint-button-radius)]",icon:"h-10 w-10 rounded-[var(--uilint-button-radius)]"}},defaultVariants:{variant:"default",size:"default"}}),e6={initial:{scale:1},hover:{scale:1.02},tap:{scale:.98}},n6={duration:.15,ease:[.32,.72,0,1]},a6=K.forwardRef(({className:i,variant:l,size:u,asChild:c=!1,...p},m)=>{const y=$t(t6({variant:l,size:u,className:i}));if(c)return z.jsx(t5,{ref:m,className:y,...p});const x={ref:m,className:y,variants:e6,initial:"initial",whileHover:p.disabled?void 0:"hover",whileTap:p.disabled?void 0:"tap",transition:n6,...p};return z.jsx(ke.button,{...x})});a6.displayName="Button";const i6=No(["inline-flex items-center justify-center","border-none outline-none","cursor-pointer","transition-colors","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-hover)]","text-[var(--uilint-text-secondary)]","hover:bg-[var(--uilint-active)]","hover:text-[var(--uilint-text-primary)]"],ghost:["bg-transparent","text-[var(--uilint-text-muted)]","hover:bg-[var(--uilint-hover)]","hover:text-[var(--uilint-text-secondary)]"],glass:["bg-[var(--uilint-glass)]","text-[var(--uilint-text-secondary)]","border border-[var(--uilint-glass-border)]","backdrop-blur-md","hover:bg-[var(--uilint-glass-medium)]","hover:text-[var(--uilint-text-primary)]"]},size:{sm:["w-[var(--uilint-icon-button-size-sm)]","h-[var(--uilint-icon-button-size-sm)]","rounded-[calc(var(--uilint-icon-button-radius)-2px)]","[&_svg]:w-4 [&_svg]:h-4"],default:["w-[var(--uilint-icon-button-size)]","h-[var(--uilint-icon-button-size)]","rounded-[var(--uilint-icon-button-radius)]","[&_svg]:w-[18px] [&_svg]:h-[18px]"],lg:["w-[var(--uilint-icon-button-size-lg)]","h-[var(--uilint-icon-button-size-lg)]","rounded-[calc(var(--uilint-icon-button-radius)+2px)]","[&_svg]:w-5 [&_svg]:h-5"]}},defaultVariants:{variant:"default",size:"default"}}),o6={initial:{scale:1,boxShadow:"0 0 0 0 rgba(0, 0, 0, 0)"},hover:{scale:1.05,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},l6={initial:{scale:1,boxShadow:"0 0 0 0 rgba(255, 255, 255, 0)"},hover:{scale:1.05,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},hg=K.forwardRef(({className:i,variant:l,size:u,asChild:c=!1,disableMotion:p=!1,disabled:m,...y},x)=>{const S=$t(i6({variant:l,size:u,className:i}));if(c)return z.jsx(t5,{ref:x,className:S,...y});if(p||m)return z.jsx("button",{ref:x,className:S,disabled:m,...y});const E=l==="glass"?l6:o6;return z.jsx(ke.button,{ref:x,className:S,disabled:m,variants:E,initial:"initial",whileHover:"hover",whileTap:"tap",...y})});hg.displayName="IconButton";const r6=No(["flex w-full transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium","disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-[var(--uilint-input-placeholder)]","outline-none"],{variants:{variant:{default:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-input-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],glass:["bg-[var(--uilint-glass-medium)]","backdrop-blur-[var(--uilint-glass-blur-medium)]","border border-[var(--uilint-glass-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],error:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-error)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-error)]"]},size:{sm:"h-8 px-2.5 text-xs rounded-[calc(var(--uilint-input-radius)-2px)]",default:"h-10 px-3 text-sm rounded-[var(--uilint-input-radius)]",lg:"h-12 px-4 text-base rounded-[calc(var(--uilint-input-radius)+2px)]"}},defaultVariants:{variant:"default",size:"default"}}),s6=K.forwardRef(({className:i,containerClassName:l,variant:u,size:c,type:p="text",icon:m,onFocus:y,onBlur:x,...S},E)=>{const[T,A]=K.useState(!1),R=K.useCallback(q=>{A(!0),y?.(q)},[y]),j=K.useCallback(q=>{A(!1),x?.(q)},[x]),B=u==="error"?"var(--uilint-error)":"var(--uilint-input-ring)",X=z.jsx("input",{type:p,className:$t(r6({variant:u,size:c}),m&&"pl-9",i),ref:E,onFocus:R,onBlur:j,...S});return m?z.jsxs("div",{className:$t("relative",l),children:[z.jsx(ke.div,{animate:{color:T?"var(--uilint-accent)":"var(--uilint-text-muted)"},transition:{duration:.15},className:$t("pointer-events-none absolute left-3 flex items-center justify-center",c==="sm"&&"top-2",c==="default"&&"top-2.5",c==="lg"&&"top-3"),children:m}),X,z.jsx(Li,{children:T&&z.jsx(ke.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:$t("pointer-events-none absolute inset-0",c==="sm"&&"rounded-[calc(var(--uilint-input-radius)-2px)]",c==="default"&&"rounded-[var(--uilint-input-radius)]",c==="lg"&&"rounded-[calc(var(--uilint-input-radius)+2px)]"),style:{boxShadow:`0 0 0 3px ${B}`}})})]}):z.jsxs("div",{className:$t("relative",l),children:[X,z.jsx(Li,{children:T&&z.jsx(ke.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:"pointer-events-none absolute inset-0 rounded-[var(--uilint-input-radius)]",style:{boxShadow:`0 0 0 3px ${B}`}})})]})});s6.displayName="Input";const e5=No(["relative","flex","flex-col","overflow-hidden","transition-all"].join(" "),{variants:{variant:{default:["[background:var(--uilint-card-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-shadow)]"].join(" "),elevated:["[background:var(--uilint-card-elevated-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-elevated-shadow)]"].join(" "),glass:["[background:var(--uilint-card-glass-bg)]","[border:1px_solid_var(--uilint-card-glass-border)]","[border-radius:var(--uilint-card-radius)]","[backdrop-filter:blur(var(--uilint-glass-blur-medium))]","[box-shadow:var(--uilint-card-shadow)]","before:absolute","before:inset-x-0","before:top-0","before:h-px","before:[background:var(--uilint-glass-highlight)]"].join(" ")}},defaultVariants:{variant:"default"}}),IS={initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:4}},u6={rest:{y:0,boxShadow:"var(--uilint-card-shadow)"},hover:{y:-2,boxShadow:"var(--uilint-card-shadow-hover)"}},c6={duration:.15,ease:[.32,.72,0,1]},n5=K.forwardRef(({className:i,variant:l,interactive:u=!1,animated:c=!1,children:p,...m},y)=>u||c?z.jsx(ke.div,{ref:y,className:$t(e5({variant:l}),u&&"cursor-pointer",i),variants:u?u6:void 0,initial:c?IS.initial:"rest",animate:c?IS.animate:"rest",exit:c?IS.exit:void 0,whileHover:u?"hover":void 0,transition:c6,...m,children:p}):z.jsx("div",{ref:y,className:$t(e5({variant:l}),i),...m,children:p}));n5.displayName="Card";const f6=K.forwardRef(({className:i,...l},u)=>z.jsx("div",{ref:u,className:$t("flex flex-col gap-1.5 p-4",i),...l}));f6.displayName="CardHeader";const d6=K.forwardRef(({className:i,...l},u)=>z.jsx("h3",{ref:u,className:$t("text-base font-semibold leading-tight tracking-tight","[color:var(--uilint-text-primary)]",i),...l}));d6.displayName="CardTitle";const h6=K.forwardRef(({className:i,...l},u)=>z.jsx("p",{ref:u,className:$t("text-sm leading-relaxed","[color:var(--uilint-text-secondary)]",i),...l}));h6.displayName="CardDescription";const p6=K.forwardRef(({className:i,...l},u)=>z.jsx("div",{ref:u,className:$t("p-4 pt-0",i),...l}));p6.displayName="CardContent";const m6=K.forwardRef(({className:i,...l},u)=>z.jsx("div",{ref:u,className:$t("flex items-center gap-2 p-4 pt-0","[border-top:1px_solid_var(--uilint-card-border)]","mt-auto",i),...l}));m6.displayName="CardFooter";const g6=No(["relative","overflow-hidden","rounded-[var(--uilint-radius,12px)]"].join(" "),{variants:{blur:{light:"",medium:"",heavy:""},shadow:{none:"",sm:"",md:"",lg:""},bordered:{true:"",false:""}},defaultVariants:{blur:"medium",shadow:"md",bordered:!0}}),a5={hidden:{opacity:0,scale:.96,y:-10},visible:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:-5}},y6={duration:.2,ease:[.25,.1,.25,1]};function JS(i,l,u,c){const p={light:"var(--uilint-glass-blur-light, 12px)",medium:"var(--uilint-glass-blur-medium, 24px)",heavy:"var(--uilint-glass-blur-heavy, 40px)"},m={light:"var(--uilint-glass-light, rgba(255, 255, 255, 0.4))",medium:"var(--uilint-glass-medium, rgba(255, 255, 255, 0.55))",heavy:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.7))"},y={none:"none",sm:"var(--uilint-card-shadow, 0 2px 8px rgba(0, 0, 0, 0.03))",md:"var(--uilint-shadow, 0 8px 32px rgba(0, 0, 0, 0.06))",lg:"var(--uilint-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.08))"},x=i??"medium",S=l??"md",E=p[x],T=y[S],A=m[x],R=[];return R.push("inset 0 1px 0 0 var(--uilint-glass-highlight, rgba(255, 255, 255, 0.25))"),T!=="none"&&R.push(T),{background:A,backdropFilter:`blur(${E}) saturate(150%)`,WebkitBackdropFilter:`blur(${E}) saturate(150%)`,boxShadow:R.join(", "),border:u!==!1?"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.15))":"none",...c}}const i5=K.forwardRef(({className:i,blur:l,shadow:u,bordered:c,children:p,animate:m=!0,transition:y=y6,show:x=!0,usePresence:S=!1,style:E,...T},A)=>{const R=JS(l,u,c,E),j=g6({blur:l,shadow:u,bordered:c});return S?z.jsx(Li,{children:x&&z.jsx(ke.div,{ref:A,className:$t(j,i),style:R,initial:"hidden",animate:"visible",exit:"exit",variants:a5,transition:y,...T,children:p})}):m?z.jsx(ke.div,{ref:A,className:$t(j,i),style:R,initial:"hidden",animate:"visible",variants:a5,transition:y,...T,children:p}):z.jsx(ke.div,{ref:A,className:$t(j,i),style:R,...T,children:p})});i5.displayName="GlassPanel";const pg=36,o5=18,v6=8;function Qv(i,l){return{...JS("medium",i?"lg":"md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",transition:i?"none":"box-shadow 0.2s",...l}}function b6(){return typeof window>"u"?{x:0,y:16}:{x:window.innerWidth/2-150,y:16}}function l5(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}const x6=kn.createElement("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5"},kn.createElement("polyline",{points:"6 9 12 15 18 9"}));function S6({group:i,state:l,onActionClick:u}){const[c,p]=K.useState(!1),m=K.useRef(null),y=l5();K.useEffect(()=>{if(!c)return;const T=A=>{m.current&&!m.current.contains(A.target)&&p(!1)};return window.addEventListener("mousedown",T),()=>window.removeEventListener("mousedown",T)},[c]);const x=K.useCallback(T=>{T.stopPropagation(),p(A=>!A)},[]),S=K.useCallback(T=>{p(!1),u(T)},[u]),E=T=>T?y?T:T.replace("⌘","Ctrl+").replace("⇧","Shift+"):null;return z.jsxs("div",{ref:m,style:{position:"relative"},children:[z.jsxs("button",{onClick:x,title:i.tooltip,style:Qv(!1,{height:pg,padding:"0 10px",border:"none",borderRadius:pg/2,borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",cursor:"pointer",display:"flex",alignItems:"center",gap:4,color:"var(--uilint-text-secondary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,transition:"box-shadow 0.2s, background 0.2s"}),onMouseOver:T=>{T.currentTarget.style.background="var(--uilint-glass-heavy, rgba(255, 255, 255, 0.85))"},onMouseOut:T=>{T.currentTarget.style.background="var(--uilint-glass-medium, rgba(255, 255, 255, 0.7))"},children:[z.jsx("span",{style:{display:"flex",alignItems:"center"},children:i.icon}),x6]}),c&&z.jsx("div",{style:{position:"absolute",top:pg+6,right:0,minWidth:220,background:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.92))",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderRadius:10,border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1)",padding:"4px",zIndex:1e5,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:i.actions.map(T=>{const A=T.isEnabled?T.isEnabled(l):!0,R=E(T.shortcut);return z.jsxs("button",{onClick:j=>{j.stopPropagation(),A&&S(T)},disabled:!A,style:{display:"flex",alignItems:"center",gap:10,width:"100%",padding:"8px 10px",border:"none",borderRadius:7,background:"transparent",cursor:A?"pointer":"default",opacity:A?1:.4,color:"var(--uilint-text-primary)",fontFamily:"inherit",fontSize:13,textAlign:"left",transition:"background 0.15s"},onMouseOver:j=>{A&&(j.currentTarget.style.background="var(--uilint-hover, rgba(0, 0, 0, 0.05))")},onMouseOut:j=>{j.currentTarget.style.background="transparent"},children:[z.jsx("span",{style:{display:"flex",alignItems:"center",opacity:.7},children:T.icon}),z.jsx("span",{style:{flex:1},children:T.tooltip}),R&&z.jsx("span",{style:{fontSize:11,color:"var(--uilint-text-muted)",fontWeight:500,letterSpacing:"0.02em"},children:R})]},T.id)})})]})}function w6(){const i=Ot(bt=>bt.openCommandPalette),l=Ot(bt=>bt.commandPalette.open),u=Ot(bt=>bt.floatingIconPosition),c=Ot(bt=>bt.setFloatingIconPosition),p=Ot(bt=>bt.plugins),m=Ot(bt=>{const U=bt.plugins?.eslint?.issues;if(!U)return 0;let F=0;return U.forEach(P=>{F+=P.length}),F}),y=Ot(bt=>{const U=bt.plugins?.eslint?.lintingFiles;return U&&U.size>0}),x=Ot(bt=>bt.activeDrag),S=Ot(bt=>bt.startDrag),E=x?.type==="floating-icon",[T,A]=K.useState(!1),[R,j]=K.useState(!1),B=Ot(bt=>bt.mobile.isMobile),X=Ot(bt=>bt.mobile.isTouchDevice),q=K.useRef(null);K.useEffect(()=>{l&&!R&&j(!0)},[l,R]),K.useLayoutEffect(()=>{if(!E||!x)return;const{currentPos:bt,offset:U}=x,F=Math.max(0,Math.min(window.innerWidth-300,bt.x-U.x)),P=Math.max(0,Math.min(window.innerHeight-pg-o5,bt.y-U.y));c({x:F,y:P})},[E,x,c]);const W=li.getAllToolbarActionGroups().filter(bt=>bt.isVisible?bt.isVisible({plugins:p}):!0),ct=li.getAllToolbarActions().filter(bt=>bt.isVisible?bt.isVisible({plugins:p}):!0),xt=u??b6(),Tt=l5()?"⌘":"Ctrl+",vt=K.useCallback(bt=>{if(bt.button!==0)return;const U=q.current?.getBoundingClientRect();if(!U)return;const F={x:bt.clientX-U.left,y:bt.clientY-U.top};S("floating-icon",{x:bt.clientX,y:bt.clientY},F),bt.preventDefault(),bt.stopPropagation()},[S]),ot=K.useCallback(bt=>{if(bt.touches.length!==1)return;const U=bt.touches[0],F=q.current?.getBoundingClientRect();if(!F)return;const P={x:U.clientX-F.left,y:U.clientY-F.top};S("floating-icon",{x:U.clientX,y:U.clientY},P),bt.preventDefault(),bt.stopPropagation()},[S]),jt=K.useCallback(()=>{E||i()},[E,i]),St=K.useCallback(bt=>{const U=sf();U&&bt.onClick(U)},[]),oe=document.getElementById("uilint-portal")||document.body;if(l)return null;const Mt=!R&&!T&&!X,Nt=B?44:pg,Et=m>0;return $m.createPortal(z.jsxs("div",{ref:q,onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),style:{position:"fixed",left:xt.x,top:xt.y,display:"flex",flexDirection:"column",alignItems:"flex-start",zIndex:99999,pointerEvents:"auto"},children:[z.jsxs("div",{style:{height:Nt,display:"flex",alignItems:"center",gap:v6},children:[z.jsxs("div",{style:{height:Nt,display:"flex",alignItems:"center",gap:0,position:"relative"},children:[z.jsx("div",{onMouseDown:vt,onTouchStart:ot,style:Qv(E,{width:B?28:20,height:Nt,display:"flex",alignItems:"center",justifyContent:"center",cursor:E?"grabbing":"grab",borderRadius:`${Nt/2}px 0 0 ${Nt/2}px`,borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))"}),children:z.jsxs("svg",{width:"6",height:"14",viewBox:"0 0 6 14",fill:"none",style:{opacity:T?.6:.35},children:[z.jsx("circle",{cx:"1.5",cy:"2",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"4.5",cy:"2",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"1.5",cy:"7",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"4.5",cy:"7",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"1.5",cy:"12",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"4.5",cy:"12",r:"1.5",fill:"currentColor"})]})}),z.jsxs("button",{onClick:jt,"aria-label":"Search",style:Qv(E,{height:Nt,padding:B?"0 16px 0 12px":"0 14px 0 10px",border:"none",borderRadius:`0 ${Nt/2}px ${Nt/2}px 0`,borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",cursor:"pointer",display:"flex",alignItems:"center",gap:8,transition:E?"none":"box-shadow 0.2s, background 0.2s",color:"var(--uilint-text-primary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,fontWeight:400,flexShrink:0}),onMouseOver:bt=>{E||(bt.currentTarget.style.background="var(--uilint-glass-heavy, rgba(255, 255, 255, 0.85))")},onMouseOut:bt=>{bt.currentTarget.style.background="var(--uilint-glass-medium, rgba(255, 255, 255, 0.7))"},children:[z.jsx(CE,{size:15,style:{opacity:.5}}),z.jsx("span",{style:{opacity:.7},children:"Search"}),!X&&z.jsxs("span",{style:{fontSize:11,opacity:.45,fontWeight:500,marginLeft:2},children:[Tt,"K"]})]}),y?z.jsxs("span",{style:{position:"absolute",top:-4,right:-4,width:18,height:18,borderRadius:9,background:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.9))",border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)",display:"flex",alignItems:"center",justifyContent:"center"},children:[z.jsx("span",{style:{width:10,height:10,borderRadius:"50%",border:"2px solid var(--uilint-border, rgba(0, 0, 0, 0.1))",borderTopColor:"var(--uilint-accent, #3b82f6)",animation:"uilint-spin 0.8s linear infinite"}}),z.jsx("style",{children:"@keyframes uilint-spin { to { transform: rotate(360deg); } }"})]}):Et?z.jsx("span",{style:{position:"absolute",top:-4,right:-4,minWidth:18,height:18,padding:"0 5px",borderRadius:9,background:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.9))",border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:10,fontWeight:600,color:"var(--uilint-error)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:m>99?"99+":m}):null]}),W.map(bt=>z.jsx(S6,{group:bt,state:{plugins:p},onActionClick:St},bt.id)),ct.length>0&&z.jsx("div",{style:Qv(E,{height:Nt,display:"flex",alignItems:"center",gap:2,padding:B?"0 8px":"0 6px",borderRadius:Nt/2,borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"}),children:ct.map(bt=>z.jsx("button",{title:bt.tooltip,disabled:bt.isEnabled?!bt.isEnabled({plugins:p}):!1,onClick:U=>{U.stopPropagation(),St(bt)},style:{background:"transparent",border:"none",cursor:"pointer",padding:4,display:"flex",alignItems:"center",color:"var(--uilint-text-muted)"},children:bt.icon},bt.id))})]}),Mt&&z.jsxs("div",{style:{height:o5,display:"flex",alignItems:"center",justifyContent:"center",paddingLeft:20,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:10,color:"var(--uilint-text-muted)",letterSpacing:"-0.01em",transition:"opacity 0.3s"},children:[Tt,"K for commands"]})]}),oe)}function E6(i){const[l,u]=K.useState(new Map),c=K.useRef(null),p=K.useRef(null),m=K.useRef(null),y=K.useCallback(()=>{if(!i){u(new Map);return}const S=i instanceof Set?i:new Set(i.keys());if(S.size===0){u(new Map);return}const E=new Map;document.querySelectorAll("[data-loc]").forEach(A=>{const R=A.getAttribute("data-loc");if(R&&S.has(R)){const j=A.getBoundingClientRect();j.width>0&&j.height>0&&E.set(R,{dataLoc:R,rect:j,element:A})}}),u(E)},[i]),x=K.useCallback(()=>{m.current||(m.current=requestAnimationFrame(()=>{y(),m.current=null}))},[y]);return K.useEffect(()=>{y(),window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x,{passive:!0}),c.current=new MutationObserver(x),c.current.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-loc"]}),p.current=new MutationObserver(E=>{for(const T of E)if(T.type==="attributes"&&T.attributeName==="style"){x();break}}),p.current.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]});const S=E=>{E.target===document.documentElement&&E.propertyName==="margin-right"&&x()};return document.documentElement.addEventListener("transitionend",S),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",x),c.current?.disconnect(),p.current?.disconnect(),document.documentElement.removeEventListener("transitionend",S),m.current&&cancelAnimationFrame(m.current)}},[y,x]),l}function r5(i){const l=i.split(":"),u=parseInt(l.pop()||"0",10),c=parseInt(l.pop()||"0",10);return{filePath:l.join(":"),line:c,column:u}}function s5(i,l,u,c){return`${i}:${l}:${u}:${c}`}function T6(i){return i===2?"error":"warning"}function A6(i){switch(i){case"error":return"#ef4444";case"warning":return"#f59e0b";case"info":return"#3b82f6"}}function C6(i,l="eslint"){if(!i.message||!i.line)return null;const u=i.dataLoc||"",{filePath:c}=u?r5(u):{filePath:""},p=i.ruleId||"unknown",m=i.severity?T6(i.severity):"warning";return{id:s5(l,p,u,i.line),message:i.message,severity:m,dataLoc:u,ruleId:p,pluginId:l,filePath:c,line:i.line,column:i.column}}function R6({rect:i,issues:l,isHovered:u,isSelected:c,showDetails:p,onBadgeClick:m,onBadgeHover:y}){const x=K.useMemo(()=>l.some(T=>T.severity==="error")?"error":l.some(T=>T.severity==="warning")?"warning":"info",[l]),S=A6(x),E=l.length;return z.jsxs("div",{style:{position:"fixed",left:i.left-2,top:i.top-2,width:i.width+4,height:i.height+4,border:`${c?3:2}px solid ${S}`,borderRadius:4,pointerEvents:"none",opacity:u||c?1:.6,transition:"opacity 0.15s, border-width 0.15s",zIndex:c?99991:99990,boxShadow:c?`0 0 0 2px ${S}40, 0 0 12px ${S}60`:void 0},children:[z.jsx("span",{onClick:T=>{T.stopPropagation(),m()},onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{position:"absolute",top:0,right:0,minWidth:14,height:14,borderRadius:2,background:S,color:"white",fontSize:9,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 3px",pointerEvents:"auto",cursor:"pointer",boxShadow:"0 1px 2px rgba(0,0,0,0.25)",transition:"transform 0.1s, box-shadow 0.1s"},onMouseOver:T=>{T.currentTarget.style.transform="scale(1.1)",T.currentTarget.style.boxShadow="0 2px 6px rgba(0,0,0,0.4)"},onMouseOut:T=>{T.currentTarget.style.transform="scale(1)",T.currentTarget.style.boxShadow="0 1px 3px rgba(0,0,0,0.3)"},children:E}),p&&u&&z.jsxs("div",{style:{position:"absolute",top:18,right:0,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:99992,pointerEvents:"none"},children:[z.jsxs("strong",{children:[E," issue",E!==1?"s":""]}),z.jsxs("div",{style:{marginTop:4,opacity:.8},children:[l.slice(0,3).map((T,A)=>z.jsxs("div",{style:{marginTop:A>0?4:0},children:["• ",T.message.slice(0,60),T.message.length>60?"...":""]},A)),l.length>3&&z.jsxs("div",{style:{marginTop:4,opacity:.6},children:["+",l.length-3," more..."]})]})]})]})}function D6(){const i=Ot(Z=>Z.altKeyHeld),l=Ot(Z=>Z.openInspectorPanel),u=Ot(Z=>Z.expandFile),c=Ot(Z=>Z.selectIssue),p=Ot(Z=>Z.addFilter),m=Ot(Z=>Z.hoveredElementId),y=Ot(Z=>Z.setHoveredElementId),x=Ot(Z=>Z.inspector.selectedIssueId),S=Ot(uE),E=Ot(UM),T=Ot(LM),A=E6(S),R=K.useMemo(()=>{const Z=Array.from(A.entries());if(!T)return Z;if(E.length===0)return[];const W=new Set(E);return Z.filter(([rt])=>W.has(rt))},[A,E,T]),j=Z=>{const W=S.get(Z)||[];if(W.length>0){const rt=W[0],ct=rt.filePath.split("/").pop()||rt.filePath;p({type:"file",id:rt.filePath,label:ct}),u(rt.filePath),c(rt.id)}l()},B=(Z,W)=>{y(W?Z:null)},X=K.useMemo(()=>{if(!x)return null;for(const[Z,W]of S.entries())if(W.some(rt=>rt.id===x))return Z;return null},[x,S]);if(!S||S.size===0)return null;const q=document.getElementById("uilint-portal")||document.body;return $m.createPortal(z.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:99990},children:R.map(([Z,{rect:W}])=>{const rt=S.get(Z)||[];return rt.length===0?null:z.jsx(R6,{dataLoc:Z,rect:W,issues:rt,isHovered:m===Z||T,isSelected:X===Z,showDetails:i,onBadgeClick:()=>j(Z),onBadgeHover:ct=>B(Z,ct)},Z)})}),q)}function M6(){const i=Ot(YM),l=Ot(qM),u=Ot(uE),c=Ot(GM),p=Ot(XM),m=K.useCallback(y=>u.get(y)||[],[u]);return{allIssues:i,byFile:l,byDataLoc:u,getIssuesForDataLoc:m,totalCount:c,countBySeverity:p}}const u5="ws://localhost:9234",FS=5,z6=1e3;class O6{constructor(l={}){this.options=l,this.createWebSocket=l.createWebSocket??(u=>new WebSocket(u)),this._setTimeout=l.setTimeout??globalThis.setTimeout,this._clearTimeout=l.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=u5;connect(l){if(typeof WebSocket>"u"&&!this.options.createWebSocket){_e("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!l||l===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=l??u5,this.intentionalDisconnect=!1;try{this.ws=this.createWebSocket(this.url),this.setupEventHandlers()}catch(u){$n("[WebSocket] Failed to create WebSocket:",u),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(l){if(!this.ws||!this.isConnected){_e("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(l))}catch(u){$n("[WebSocket] Failed to send message:",u)}}on(l,u){this.handlers.has(l)||this.handlers.set(l,new Set);const c=this.handlers.get(l);return c.add(u),()=>{c.delete(u),c.size===0&&this.handlers.delete(l)}}onConnectionChange(l){return this.connectionHandlers.add(l),l(this.isConnected),()=>{this.connectionHandlers.delete(l)}}setupEventHandlers(){this.ws&&(this.ws.onopen=()=>{It(`[WebSocket] Connected to ${this.url}`),this.isConnected=!0,this.reconnectAttempts=0,this.notifyConnectionChange(!0)},this.ws.onclose=l=>{It(`[WebSocket] Disconnected from ${this.url} (code: ${l?.code??"unknown"}, reason: ${l?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=l=>{$n("[WebSocket] Connection error:",l)},this.ws.onmessage=l=>{try{const u=JSON.parse(l.data),c=u.type;It(`[WebSocket] Received message: ${c||"unknown"}`,u),c?this.dispatch(c,u):this.dispatch("*",u)}catch(u){$n("[WebSocket] Failed to parse message:",u)}})}dispatch(l,u){const c=this.handlers.get(l);if(c&&c.forEach(p=>{try{p(u)}catch(m){$n(`[WebSocket] Handler error for type "${l}":`,m)}}),l!=="*"){const p=this.handlers.get("*");p&&p.forEach(m=>{try{m(u)}catch(y){$n("[WebSocket] Wildcard handler error:",y)}})}}notifyConnectionChange(l){this.connectionHandlers.forEach(u=>{try{u(l)}catch(c){$n("[WebSocket] Connection handler error:",c)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this.reconnectAttempts>=FS){_e(`[WebSocket] Max reconnection attempts (${FS}) reached`);return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const l=z6*Math.pow(2,this.reconnectAttempts);this.reconnectAttempts++,It(`[WebSocket] Reconnecting in ${l}ms (attempt ${this.reconnectAttempts}/${FS})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},l)}}const Ho=new O6,_6=300*1e3,Zv=new Map,PS=new Map;function c5(i){const l=Zv.get(i);return l?Date.now()-l.fetchedAt>_6?(Zv.delete(i),null):l:null}function f5(i,l,u,c){const p={content:l,lines:l.split(`
252
- `),totalLines:u,relativePath:c,fetchedAt:Date.now()};return Zv.set(i,p),p}function d5(i){Zv.delete(i)}function WS(i,l,u=5,c=5){const p=l-1,m=Math.max(0,p-u),y=Math.min(i.lines.length,p+c+1);return{lines:i.lines.slice(m,y),startLine:m+1,highlightLine:l,relativePath:i.relativePath}}function k6(i){return PS.get(i)}function j6(i,l){PS.set(i,l),l.finally(()=>{PS.delete(i)})}function U6({filePath:i,line:l,contextAbove:u=5,contextBelow:c=5,enabled:p=!0}){const[m,y]=K.useState(null),[x,S]=K.useState(!1),[E,T]=K.useState(null),A=Ot(B=>B.wsConnected),R=K.useRef(null),j=K.useCallback(()=>{if(!p||!i||!A)return;const B=c5(i);if(B){y(WS(B,l,u,c)),S(!1),T(null);return}const X=k6(i);if(X){S(!0),X.then(W=>{W&&(y(WS(W,l,u,c)),T(null)),S(!1)});return}S(!0),T(null);const q=`source-${i}-${Date.now()}`;R.current=q;const Z=new Promise(W=>{const rt=Ho.on("source:result",xt=>{if(xt.filePath===i){const Tt=f5(xt.filePath,xt.content,xt.totalLines,xt.relativePath);rt(),ct(),W(Tt)}}),ct=Ho.on("source:error",xt=>{xt.filePath===i&&(T(xt.error),rt(),ct(),W(null))});Ho.send({type:"source:fetch",filePath:i,requestId:q}),setTimeout(()=>{rt(),ct(),W(null)},1e4)});j6(i,Z),Z.then(W=>{W&&y(WS(W,l,u,c)),S(!1)})},[i,l,u,c,p,A]);return K.useEffect(()=>{j()},[j]),K.useEffect(()=>i?Ho.on("file:changed",X=>{(X.filePath===i||X.filePath.endsWith(i)||i.endsWith(X.filePath))&&(d5(i),p&&j())}):void 0,[i,p,j]),{context:m,isLoading:x,error:E,refetch:j}}function L6(i,l,u,c){const[p,m]=K.useState(0);K.useEffect(()=>{m(0)},[i]);const y=K.useCallback(x=>{const S=i.length;if(S===0)return;const E=B=>Math.max(0,Math.min(B,S-1)),T=Math.floor(p/l),A=p%l,R=T*l,j=Math.min(R+l-1,S-1);switch(x.key){case"ArrowDown":{x.preventDefault();const B=p+l;B>=S?m(A<S?A:0):m(B);break}case"ArrowUp":{x.preventDefault();const B=p-l;if(B<0){const Z=(Math.ceil(S/l)-1)*l+A;m(E(Z))}else m(B);break}case"ArrowLeft":{x.preventDefault(),p>R&&m(p-1);break}case"ArrowRight":{x.preventDefault(),p<j&&m(p+1);break}case"Enter":{x.preventDefault();const B=i[p];B&&u(B);break}case"Backspace":{c&&(x.preventDefault(),c());break}case"Home":{x.preventDefault(),m(0);break}case"End":{x.preventDefault(),m(S-1);break}}},[i,l,p,u,c]);return{selectedIndex:p,setSelectedIndex:m,handleKeyDown:y}}const tw=[];function N6(i){const l=sf();if(!l)return _e("[useTileItems] Plugin services not available"),tw;const u=li.getAllTileProviders();if(u.length===0)return tw;const c=[];for(const{pluginId:p,provider:m}of u)try{const x=m.getTileItems(l,i).map(S=>({...S,metadata:{...S.metadata,providerId:p}}));c.push(...x)}catch(y){_e(`[useTileItems] Error getting tile items from plugin "${p}":`,y)}return c}function H6(i,l){const u=Ot(jM),c=Ot(x=>x.commandPalette.query),p=K.useMemo(()=>N6(u),[u]),m=K.useMemo(()=>{if(p.length===0)return tw;const x=_M(p,c);return kM(x)},[p,c]),y=K.useMemo(()=>{const x=li.getAllTileProviders();for(const{provider:S}of x)if(S.isTerminal&&S.isTerminal(u))return!0;return!1},[u]);return{items:m,isLoading:!1,isTerminal:y}}const h5={scope:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},rule:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},file:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},severity:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},category:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"}},V6=h5.category,B6=[.32,.72,0,1],Y6={initial:{opacity:0,x:-8,scale:.9},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,scale:.85,width:0,marginRight:0,paddingLeft:0,paddingRight:0}};function q6({filter:i,onRemove:l}){const[u,c]=K.useState(!1),p=h5[i.type]||V6,m={display:"inline-flex",alignItems:"center",gap:6,padding:"4px 8px 4px 10px",borderRadius:999,background:p.background,border:`1px solid ${p.border}`,fontSize:12,fontWeight:450,lineHeight:1.2,color:p.text,whiteSpace:"nowrap",overflow:"hidden"},y={maxWidth:120,overflow:"hidden",textOverflow:"ellipsis"},x={display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,padding:0,margin:0,border:"none",background:u?"rgba(128, 128, 128, 0.12)":"transparent",borderRadius:"50%",color:"inherit",cursor:"pointer",opacity:u?.8:.5,transition:"background 0.15s ease, opacity 0.15s ease"};return z.jsxs(ke.span,{style:m,variants:Y6,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15,ease:B6},layout:!0,children:[z.jsx("span",{style:y,children:i.label}),z.jsx("button",{type:"button",onClick:S=>{S.stopPropagation(),l()},onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:x,"aria-label":`Remove ${i.label} filter`,children:z.jsx(Sv,{size:12,strokeWidth:2})})]})}const G6=No("flex items-center gap-4 border-b transition-all duration-150",{variants:{size:{default:"px-5 py-4",large:"px-6 py-5"},state:{default:"bg-transparent border-foreground/[0.06]",focused:"bg-foreground/[0.02] border-foreground/[0.08]"}},defaultVariants:{size:"large",state:"default"}}),X6=No("flex-1 bg-transparent border-none outline-none font-normal tracking-tight",{variants:{size:{default:"text-base h-8",large:"text-lg h-10"}},defaultVariants:{size:"large"}}),Q6={default:{scale:1,opacity:.35},focused:{scale:1,opacity:.5}},Z6={initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},$6={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},ew=[.32,.72,0,1];function K6({value:i,onChange:l,placeholder:u="Search commands, issues, rules...",autoFocus:c=!0,size:p,className:m,filters:y=[],onRemoveFilter:x,onRemoveLastFilter:S}){const E=K.useRef(null),[T,A]=K.useState(!1),R=Ot(X=>X.mobile.isMobile);K.useEffect(()=>{if(!c)return;const X=setTimeout(()=>{E.current?.focus()},50);return()=>clearTimeout(X)},[c]);const j=X=>{X.key==="Backspace"&&i===""&&y.length>0&&S&&(X.preventDefault(),S())},B=T?"focused":"default";return z.jsxs(ke.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:$t(G6({size:p,state:B}),m),style:{boxShadow:"none"},children:[z.jsx(ke.div,{variants:Q6,animate:B,transition:{duration:.15,ease:ew},className:"flex items-center justify-center shrink-0",style:{color:"var(--uilint-text-muted)"},children:z.jsx(CE,{size:p==="large"?22:18})}),z.jsxs("div",{className:"flex-1 flex flex-wrap items-center gap-2 min-w-0",children:[z.jsx(Li,{mode:"popLayout",children:y.map((X,q)=>z.jsx(q6,{filter:X,onRemove:()=>x?.(q)},`${X.type}-${X.id}`))}),z.jsx("input",{ref:E,type:"text",value:i,onChange:X=>l(X.target.value),onFocus:()=>A(!0),onBlur:()=>A(!1),onKeyDown:j,placeholder:y.length>0?"Add more filters...":u,className:$t(X6({size:p}),"min-w-[120px]"),style:{color:"var(--uilint-text-primary)",caretColor:"var(--uilint-accent)"}})]}),z.jsx(Li,{mode:"wait",children:i||y.length>0?z.jsx(ke.div,{variants:Z6,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:ew},children:z.jsx(hg,{variant:"ghost",size:"sm",onClick:()=>{if(l(""),y.length>0&&x)for(let X=y.length-1;X>=0;X--)x(X)},disableMotion:!0,style:{color:"var(--uilint-text-muted)",opacity:.6},children:z.jsx(Sv,{size:14})})},"clear"):R?null:z.jsxs(ke.div,{variants:$6,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:ew},className:"flex items-center gap-2 shrink-0",children:[z.jsx(JC,{animate:!1,children:"esc"}),z.jsx("span",{className:"text-[11px]",style:{color:"var(--uilint-text-disabled)"},children:"to close"})]},"hint")})]})}const I6=No(["h-full cursor-pointer overflow-hidden relative box-border","flex flex-col justify-between","rounded-2xl","transition-all duration-150"],{variants:{selected:{true:"bg-foreground/[0.04] border border-foreground/12",false:"border border-foreground/[0.04] hover:bg-foreground/[0.03] hover:border-foreground/[0.08]"},size:{xs:"p-4",sm:"p-4",md:"p-5",lg:"p-6",xl:"p-6"}},defaultVariants:{selected:!1,size:"md"}}),J6=No(["font-light leading-tight tracking-tight","text-foreground","overflow-hidden text-ellipsis","[-webkit-box-orient:vertical] [-webkit-line-clamp:2] [display:-webkit-box]"],{variants:{size:{xs:"text-[15px] [-webkit-line-clamp:1]",sm:"text-[17px] [-webkit-line-clamp:1]",md:"text-xl",lg:"text-2xl",xl:"text-[28px]"}},defaultVariants:{size:"md"}}),F6=No(["font-extralight leading-none tracking-tighter","text-foreground/70"],{variants:{size:{xs:"text-xl",sm:"text-2xl",md:"text-[32px]",lg:"text-[40px]",xl:"text-[52px]"}},defaultVariants:{size:"md"}}),P6=[.32,.72,0,1];function nw({type:i,count:l,showCount:u}){if(l===0)return null;const c={error:"bg-error/70",warning:"bg-warning/70",info:"bg-info/70"};return z.jsxs("div",{className:"flex items-center gap-1.5",children:[z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",c[i])}),u&&z.jsx("span",{className:"text-[11px] font-normal text-muted-foreground/70",children:l})]})}function W6({severityCounts:i,showCounts:l}){return!i||!(i.error>0||i.warning>0||i.info>0)?null:z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx(nw,{type:"error",count:i.error,showCount:l}),z.jsx(nw,{type:"warning",count:i.warning,showCount:l}),z.jsx(nw,{type:"info",count:i.info,showCount:l})]})}function t8({isHovered:i}){return z.jsx(ke.div,{initial:{opacity:0},animate:{opacity:i?1:0},transition:{duration:.15},className:"absolute inset-0 rounded-2xl pointer-events-none bg-gradient-to-br from-foreground/[0.02] to-transparent"})}function e8({item:i,bucket:l,isSelected:u,onClick:c}){const[p,m]=kn.useState(!1),y=l==="xs"||l==="sm";return z.jsxs(ke.div,{onClick:c,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.15,ease:P6},className:$t(I6({selected:u,size:l})),children:[z.jsxs("div",{children:[z.jsx("span",{className:$t(J6({size:l})),children:i.label}),i.subtitle&&!y&&z.jsx("div",{className:"mt-2 text-xs font-normal text-muted-foreground/60 truncate tracking-wide",children:i.subtitle})]}),z.jsxs("div",{className:"flex items-end justify-between gap-4",children:[z.jsx("span",{className:$t(F6({size:l})),children:i.count}),z.jsx(W6,{severityCounts:i.severityCounts,showCounts:!y})]}),z.jsx(t8,{isHovered:p})]})}const p5={top:0,right:0,bottom:0,left:0},n8={availableWidth:416,gap:12,minTileWidth:120,padding:p5},a8={xs:72,sm:96,md:128,lg:168,xl:220};function i8(i,l){if(l.length===0)return"md";const u=l.length,c=l.findIndex(m=>i>=m),p=c===-1?1:c/u;return p<.1?"xl":p<.3?"lg":p<.6?"md":p<.85?"sm":"xs"}function o8(i){const l=i.map(c=>c.count).sort((c,p)=>p-c),u=new Map;for(const c of i)u.set(c.id,i8(c.count,l));return u}function l8(i,l,u){for(let c=3;c>=1;c--)if((i-l*(c-1))/c>=u)return c;return 1}function r8(i,l,u,c){return(u-c*(l-1))/l*i+c*(i-1)}function s8(i,l,u){return l===1?1:l===2?i==="xl"&&u?2:1:i==="xl"&&u?3:i==="lg"?2:1}function u8(i,l,u,c,p,m,y){const x=(y-m*(c-1))/c;let S=0,E=1/0;for(let R=0;R<=c-p;R++){let j=0;for(let B=R;B<R+p;B++)j=Math.max(j,u[B]);j<E&&(E=j,S=R)}const T=S*(x+m),A=[];for(let R=S;R<S+p;R++)A.push(R);return{x:T,y:E,columns:A}}function c8(i,l={}){const u={...p5,...l.padding};if(i.length===0)return{tiles:new Map,rowCount:0,columnCount:0,pattern:"grid",totalHeight:u.top+u.bottom};const c={...n8,...l},{availableWidth:p,gap:m,minTileWidth:y}=c,{top:x,left:S,bottom:E}=u,T=l8(p,m,y),A=o8(i),R=[...i].sort((Z,W)=>W.count-Z.count),j=new Array(T).fill(0),B=new Map;R.forEach((Z,W)=>{const rt=A.get(Z.id)||"md",ct=a8[rt],Tt=s8(rt,T,W===0),vt=r8(Tt,T,p,m),{x:ot,y:jt,columns:St}=u8(vt,ct,j,T,Tt,m,p);for(const oe of St)j[oe]=jt+ct+m;B.set(Z.id,{id:Z.id,row:0,column:St[0],width:`${vt}px`,widthFraction:Tt/T,bucket:rt,isRowStart:St[0]===0,x:ot+S,y:jt+x,height:ct})});const X=Math.max(...j)-m+x+E;let q="grid";return i.length===1?q="single":i.length===2?q="pair":i.length===3?q="trio":i.length===4&&(q="quad"),{tiles:B,rowCount:Math.ceil(i.length/T),columnCount:T,pattern:q,totalHeight:X}}const f8=[.32,.72,0,1],d8={top:20,right:24,bottom:20,left:24},h8=532,p8=14;function m8(){return z.jsxs(ke.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:$t("flex flex-col items-center justify-center","py-16 px-8 text-center"),children:[z.jsx("div",{className:"mb-4 opacity-30",children:z.jsx(Ez,{size:28,strokeWidth:1.5})}),z.jsx("div",{className:"text-sm font-normal text-foreground/60 mb-1",children:"No items to display"}),z.jsx("div",{className:"text-xs text-muted-foreground/70",children:"Try adjusting your filters or search query"})]})}function g8({items:i,onTileClick:l,selectedIndex:u,isTerminal:c=!1}){if(i.length===0)return z.jsx(m8,{});const{layout:p,sortedItems:m,itemIndexMap:y}=kn.useMemo(()=>{const x=c8(i,{availableWidth:h8,gap:p8,padding:d8}),S=[...i].sort((T,A)=>{const R=x.tiles.get(T.id),j=x.tiles.get(A.id),B=(R?.y??0)-(j?.y??0);return Math.abs(B)>10?B:(R?.x??0)-(j?.x??0)}),E=new Map;return S.forEach((T,A)=>E.set(T.id,A)),{layout:x,sortedItems:S,itemIndexMap:E}},[i]);return z.jsx("div",{className:"relative",style:{height:p.totalHeight,minHeight:200},children:z.jsx(Li,{mode:"popLayout",children:m.map((x,S)=>{const E=p.tiles.get(x.id);if(!E)return null;const T=y.get(x.id)??S;return z.jsx(ke.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:f8,delay:Math.min(S*.03,.2)},className:"absolute",style:{left:E.x,top:E.y,width:E.width,height:E.height},children:z.jsx(e8,{item:x,bucket:E.bucket,isSelected:T===u,onClick:()=>l(x)})},x.id)})})})}const y8={duration:.12,ease:[.32,.72,0,1]};function v8(){const i=Ot(W=>W.commandPalette.open),l=Ot(W=>W.commandPalette.query),u=Ot(W=>W.commandPalette.filters),c=Ot(W=>W.closeCommandPalette),p=Ot(W=>W.setCommandPaletteQuery);Ot(W=>W.openInspector);const m=Ot(W=>W.openInspectorPanel),y=Ot(W=>W.addFilter),x=Ot(W=>W.removeFilter),S=Ot(W=>W.removeLastFilter),E=Ot(W=>W.mobile.isMobile),{items:T,isTerminal:A}=H6(),R=K.useCallback(()=>{S()},[S]),j=K.useCallback(async W=>{const rt=sf();if(!rt){$n("[CommandPalette] Plugin services not available");return}const ct=W.metadata?.execute;if(ct){try{await ct(rt)}catch(St){$n(`[CommandPalette] Error executing tile item "${W.id}":`,St)}c();return}const xt=W.metadata?.providerId;if(!xt){m(),c();return}const vt=li.getAllTileProviders().find(St=>St.pluginId===xt);if(!vt){m(),c();return}const{provider:ot}=vt;if(W.metadata?.isFile===!0){if(ot.createFilter){const St=ot.createFilter(W);y(St)}m(),c()}else if(ot.createFilter){const St=ot.createFilter(W);y(St),m()}else m(),c()},[m,c,y]),{selectedIndex:B,handleKeyDown:X}=L6(T,3,j,R),q=K.useCallback(W=>{X(W)},[X]),Z=document.getElementById("uilint-portal")||document.body;return $m.createPortal(z.jsx(Li,{children:i&&z.jsx(ke.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.12},style:{position:"fixed",inset:0,background:E?"var(--uilint-surface)":"transparent",display:"flex",alignItems:E?"stretch":"flex-start",justifyContent:"center",paddingTop:E?0:100,zIndex:99998,pointerEvents:"auto"},onClick:W=>{W.target===W.currentTarget&&c()},onKeyDown:q,children:z.jsx(ke.div,{initial:E?{opacity:0}:{opacity:0,scale:.96,y:-20},animate:E?{opacity:1}:{opacity:1,scale:1,y:0},exit:E?{opacity:0}:{opacity:0,scale:.98,y:-10},transition:E?{duration:.15}:y8,style:E?{display:"flex",flexDirection:"column",width:"100%",height:"100%"}:void 0,children:z.jsxs(i5,{blur:E?"light":"heavy",shadow:E?void 0:"lg",animate:!1,style:{width:E?"100%":580,height:E?"100%":"auto",borderRadius:E?0:20,overflow:"hidden",display:E?"flex":"block",flexDirection:E?"column":void 0,paddingTop:E?"env(safe-area-inset-top, 0px)":void 0,paddingBottom:E?"env(safe-area-inset-bottom, 0px)":void 0},children:[E&&z.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px 8px",borderBottom:"1px solid var(--uilint-border)"},children:[z.jsx("span",{style:{fontSize:15,fontWeight:600,color:"var(--uilint-text-primary)"},children:"Search"}),z.jsx("button",{onClick:c,style:{padding:"8px 16px",fontSize:14,fontWeight:500,color:"var(--uilint-accent)",background:"transparent",border:"none",cursor:"pointer",borderRadius:8},children:"Done"})]}),z.jsx(K6,{value:l,onChange:p,size:E?"default":"large",filters:u,onRemoveFilter:W=>x(W),onRemoveLastFilter:S}),z.jsx("div",{style:{maxHeight:E?"none":440,flex:E?1:void 0,minHeight:0,overflowY:"auto",overflowX:"hidden",WebkitOverflowScrolling:"touch"},children:z.jsx(Li,{mode:E?"sync":"wait",children:z.jsx(ke.div,{initial:E?!1:{opacity:0},animate:{opacity:1},exit:E?void 0:{opacity:0},transition:{duration:E?0:.1},children:z.jsx(g8,{items:T,onTileClick:j,selectedIndex:B,isTerminal:A})},"tiles")})})]})})})}),Z)}function aw({type:i,count:l}){if(l===0)return null;const u={error:"bg-error/70",warning:"bg-warning/70",info:"bg-info/70"}[i];return z.jsxs("span",{className:"inline-flex items-center gap-1",children:[z.jsx("span",{className:$t("w-1.5 h-1.5 rounded-full",u)}),z.jsx("span",{children:l})]})}function b8({totalIssues:i,totalFiles:l,totalRules:u,severityCounts:c,className:p}){const m=c.error>0||c.warning>0||c.info>0;return z.jsxs("div",{className:$t("flex items-center justify-between","px-4 py-2.5","text-sm text-muted-foreground/70","border-b border-foreground/[0.04]",p),children:[z.jsxs("div",{className:"flex items-center gap-1",children:[z.jsx("span",{className:"font-medium text-foreground/80",children:i}),z.jsx("span",{children:i===1?"issue":"issues"}),z.jsx("span",{className:"text-muted-foreground/40 mx-1",children:"·"}),z.jsx("span",{children:l}),z.jsx("span",{children:l===1?"file":"files"}),u!==void 0&&z.jsxs(z.Fragment,{children:[z.jsx("span",{className:"text-muted-foreground/40 mx-1",children:"·"}),z.jsx("span",{children:u}),z.jsx("span",{children:u===1?"rule":"rules"})]})]}),m&&z.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[z.jsx(aw,{type:"error",count:c.error}),z.jsx(aw,{type:"warning",count:c.warning}),z.jsx(aw,{type:"info",count:c.info})]})]})}function x8({ruleFilter:i,description:l,category:u,docsUrl:c,configExpanded:p,onToggleConfig:m,onClear:y,className:x}){const S=i.id.includes("/")?i.id.split("/").pop():i.id,E=i.id.includes("/")?i.id.split("/")[0]:null;return z.jsx(ke.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:$t("bg-foreground/[0.02]","border-b border-foreground/[0.06]",x),children:z.jsxs("div",{className:"px-4 py-3",children:[z.jsx("div",{className:"flex items-start justify-between gap-3",children:z.jsxs("div",{className:"flex-1 min-w-0",children:[z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-lg font-medium text-foreground truncate",children:S}),z.jsx(hg,{variant:"ghost",size:"sm",onClick:y,title:"Clear filter",className:"opacity-60 hover:opacity-100",children:z.jsx(Sv,{size:14})})]}),(u||E)&&z.jsxs("div",{className:"text-xs text-muted-foreground/60 uppercase tracking-wider mt-0.5",children:[E&&z.jsx("span",{children:E}),E&&u&&z.jsx("span",{className:"mx-1",children:"·"}),u&&z.jsx("span",{children:u})]}),l&&z.jsx("p",{className:"text-sm text-foreground/70 mt-2 leading-relaxed",children:l})]})}),z.jsxs("div",{className:"flex items-center gap-2 mt-3",children:[z.jsxs("button",{type:"button",onClick:m,className:$t("inline-flex items-center gap-1.5","px-2.5 py-1.5 rounded-md","text-xs text-foreground/70","bg-foreground/[0.04] hover:bg-foreground/[0.08]","border border-foreground/[0.06]","transition-colors duration-100"),children:[z.jsx(ke.span,{animate:{rotate:p?90:0},transition:{duration:.15},children:z.jsx(Cx,{size:12})}),"Configure"]}),c&&z.jsxs("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:$t("inline-flex items-center gap-1.5","px-2.5 py-1.5 rounded-md","text-xs text-foreground/50 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100"),children:[z.jsx(xz,{size:12}),"Docs"]})]})]})})}function iw({severity:i,isSelected:l,onClick:u,label:c}){const p={off:"bg-muted-foreground/30",warn:"bg-warning/70",error:"bg-error/70"}[i];return z.jsxs("button",{type:"button",onClick:u,className:$t("flex items-center gap-2 px-3 py-2 rounded-md","text-sm transition-colors duration-100",l?"bg-foreground/[0.08] text-foreground":"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80"),children:[z.jsx("div",{className:$t("w-2 h-2 rounded-full",p)}),z.jsx("span",{children:c})]})}function S8({ruleId:i,currentSeverity:l,onSeverityChange:u,hasPendingChanges:c=!1,onApply:p,onReset:m,className:y}){return z.jsx(ke.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:$t("overflow-hidden","bg-foreground/[0.01]","border-b border-foreground/[0.06]",y),children:z.jsxs("div",{className:"px-4 py-4",children:[z.jsxs("div",{className:"mb-4",children:[z.jsx("label",{className:"block text-xs text-muted-foreground/70 uppercase tracking-wider mb-2",children:"Severity"}),z.jsxs("div",{className:"flex items-center gap-1 p-1 bg-foreground/[0.02] rounded-lg border border-foreground/[0.04]",children:[z.jsx(iw,{severity:"off",isSelected:l==="off",onClick:()=>u("off"),label:"Off"}),z.jsx(iw,{severity:"warn",isSelected:l==="warn",onClick:()=>u("warn"),label:"Warn"}),z.jsx(iw,{severity:"error",isSelected:l==="error",onClick:()=>u("error"),label:"Error"})]})]}),z.jsx("div",{className:"text-xs text-muted-foreground/50 italic mb-4",children:"Additional rule options coming soon"}),(p||m)&&z.jsxs("div",{className:"flex items-center gap-2",children:[p&&z.jsx("button",{type:"button",onClick:p,disabled:!c,className:$t("px-3 py-1.5 rounded-md text-sm","transition-colors duration-100",c?"bg-foreground/[0.08] text-foreground hover:bg-foreground/[0.12]":"bg-foreground/[0.02] text-muted-foreground/40 cursor-not-allowed"),children:"Apply changes"}),m&&z.jsx("button",{type:"button",onClick:m,className:$t("px-3 py-1.5 rounded-md text-sm","text-foreground/50 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100"),children:"Reset to default"})]})]})})}function w8(i){switch(i){case"error":return"bg-error/70";case"warning":return"bg-warning/70";case"info":return"bg-info/70"}}function E8(i){return i.includes("/")?i.split("/").pop():i}function T8({ruleId:i,ruleName:l,count:u,severity:c,onClick:p,className:m}){const y=l||E8(i);return z.jsxs(ke.button,{type:"button",onClick:x=>{x.stopPropagation(),p()},whileHover:{scale:1.02},whileTap:{scale:.98},className:$t("inline-flex items-center gap-1.5","px-2.5 py-1 rounded-full","bg-foreground/[0.04] hover:bg-foreground/[0.08]","border border-foreground/[0.06]","text-xs font-normal text-foreground/70","transition-colors duration-100","cursor-pointer",m),children:[z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full flex-shrink-0",w8(c))}),z.jsx("span",{className:"truncate max-w-[120px]",children:y}),z.jsxs("span",{className:"text-muted-foreground/60",children:["×",u]})]})}const ow=new Map;function A8({filePath:i,enabled:l=!0}){const[u,c]=K.useState(null),[p,m]=K.useState(!1),[y,x]=K.useState(null),S=Ot(A=>A.wsConnected),E=K.useRef(null),T=K.useCallback(()=>{if(!l||!i||!S)return;const A=c5(i);if(A){c(A),m(!1),x(null);return}const R=ow.get(i);if(R){m(!0),R.then(X=>{X&&(c(X),x(null)),m(!1)});return}m(!0),x(null);const j=`source-full-${i}-${Date.now()}`;E.current=j;const B=new Promise(X=>{const q=Ho.on("source:result",W=>{if(W.filePath===i){const rt=f5(W.filePath,W.content,W.totalLines,W.relativePath);q(),Z(),X(rt)}}),Z=Ho.on("source:error",W=>{W.filePath===i&&(x(W.error),q(),Z(),X(null))});Ho.send({type:"source:fetch",filePath:i,requestId:j}),setTimeout(()=>{q(),Z(),X(null)},1e4)});ow.set(i,B),B.then(X=>{X&&c(X),m(!1)}).finally(()=>{ow.delete(i)})},[i,l,S]);return K.useEffect(()=>{T()},[T]),K.useEffect(()=>i?Ho.on("file:changed",R=>{(R.filePath===i||R.filePath.endsWith(i)||i.endsWith(R.filePath))&&(d5(i),c(null),l&&T())}):void 0,[i,l,T]),{source:u,lines:u?.lines??[],totalLines:u?.totalLines??0,isLoading:p,error:y,refetch:T}}function C8(i){switch(i){case"error":return{border:"border-l-error/70",bg:"bg-error/[0.06]",dot:"bg-error/70"};case"warning":return{border:"border-l-warning/70",bg:"bg-warning/[0.06]",dot:"bg-warning/70"};case"info":return{border:"border-l-info/70",bg:"bg-info/[0.06]",dot:"bg-info/70"}}}function R8(i){return i.includes("/")?i.split("/").pop():i}function D8({issue:i,isSelected:l,onSelect:u,gutterWidth:c=40,className:p}){const m=C8(i.severity);return z.jsxs(ke.div,{onClick:u,initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.02)"},className:$t("flex items-start cursor-pointer","border-l-2",m.border,m.bg,l&&"ring-1 ring-inset ring-foreground/10","transition-colors duration-100",p),children:[z.jsx("span",{className:"flex-shrink-0 flex items-center justify-end pr-2 py-1",style:{width:c},children:z.jsx("span",{className:$t("w-1.5 h-1.5 rounded-full",m.dot)})}),z.jsxs("div",{className:"flex-1 min-w-0 py-1 pr-3",children:[z.jsx("p",{className:$t("text-xs leading-relaxed","text-foreground/80",l?"line-clamp-none":"line-clamp-2"),children:i.message}),z.jsx("span",{className:$t("inline-block mt-0.5 text-[10px] text-muted-foreground/50","font-mono",!l&&"opacity-0 group-hover:opacity-100","transition-opacity duration-100"),children:R8(i.ruleId)})]})]})}function M8(i,l,u=2){if(i.length===0)return l>0?{regions:[],gaps:[{id:0,startLine:1,endLine:l,lineCount:l,position:"start"}]}:{regions:[],gaps:[]};const c=[...i].sort((S,E)=>S.line-E.line),p=[];for(const S of c){const E=Math.max(1,S.line-u),T=Math.min(l,S.line+u),A=p[p.length-1];A&&E<=A.end+1?(A.end=Math.max(A.end,T),A.issues.push(S)):p.push({start:E,end:T,issues:[S]})}const m=p.map(S=>({startLine:S.start,endLine:S.end,issues:S.issues})),y=[];let x=0;m.length>0&&m[0].startLine>1&&y.push({id:x++,startLine:1,endLine:m[0].startLine-1,lineCount:m[0].startLine-1,position:"start"});for(let S=0;S<m.length-1;S++){const E=m[S].endLine,T=m[S+1].startLine;T>E+1&&y.push({id:x++,startLine:E+1,endLine:T-1,lineCount:T-E-1,position:"middle"})}if(m.length>0){const S=m[m.length-1];S.endLine<l&&y.push({id:x++,startLine:S.endLine+1,endLine:l,lineCount:l-S.endLine,position:"end"})}return{regions:m,gaps:y}}function z8(i,l,u){const c=i.gaps.findIndex(x=>x.id===l);if(c===-1)return i;const p=i.gaps[c],m=[...i.regions],y=i.gaps.filter(x=>x.id!==l);if(p.position==="start")m.length>0?m[0]={...m[0],startLine:p.startLine}:m.push({startLine:p.startLine,endLine:p.endLine,issues:[]});else if(p.position==="end")if(m.length>0){const x=m.length-1;m[x]={...m[x],endLine:p.endLine}}else m.push({startLine:p.startLine,endLine:p.endLine,issues:[]});else{const x=m.findIndex(E=>E.endLine===p.startLine-1),S=m.findIndex(E=>E.startLine===p.endLine+1);if(x!==-1&&S!==-1){const E={startLine:m[x].startLine,endLine:m[S].endLine,issues:[...m[x].issues,...m[S].issues]};S>x?(m.splice(S,1),m.splice(x,1,E)):(m.splice(x,1),m.splice(S,1,E))}}return{regions:m,gaps:y}}function O8(i,l){return i.filter(u=>u.line===l)}function _8(i){if(i.length===0)return null;const l={error:0,warning:1,info:2};return[...i].sort((c,p)=>l[c.severity]-l[p.severity])[0].severity}function k8(i,l){if(!l)return"";switch(i){case"error":return"bg-error/[0.08]";case"warning":return"bg-warning/[0.08]";case"info":return"bg-info/[0.08]";default:return""}}function j8(i,l){if(!l)return"border-l-2 border-l-transparent";switch(i){case"error":return"border-l-2 border-l-error/70";case"warning":return"border-l-2 border-l-warning/70";case"info":return"border-l-2 border-l-info/70";default:return"border-l-2 border-l-transparent"}}function U8({lines:i,startLine:l,issues:u,selectedIssueId:c,onIssueSelect:p,gutterWidth:m=40,className:y}){return z.jsx("div",{className:$t("font-mono text-xs leading-relaxed","overflow-x-auto",y),children:i.map((x,S)=>{const E=l+S,T=O8(u,E),A=T.length>0,R=_8(T);return z.jsxs("div",{className:"group",children:[z.jsxs("div",{className:$t("flex",k8(R,A),j8(R,A)),children:[z.jsx("span",{className:$t("flex-shrink-0 select-none text-right pr-3 py-0.5","text-muted-foreground/40","bg-foreground/[0.02]","border-r border-foreground/[0.06]",A&&"text-muted-foreground/60"),style:{width:m},children:E}),z.jsx("code",{className:$t("flex-1 pl-3 pr-4 py-0.5","text-foreground/80","whitespace-pre",A&&"text-foreground/90"),children:x||" "})]}),z.jsx(Li,{children:T.map(j=>z.jsx(D8,{issue:j,isSelected:c===j.id,onSelect:()=>p(j.id),gutterWidth:m},j.id))})]},E)})})}function L8({startLine:i,endLine:l,lineCount:u,onExpand:c,gutterWidth:p=40,className:m}){return z.jsxs(ke.button,{type:"button",onClick:c,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.04)"},className:$t("w-full flex items-center","text-xs text-muted-foreground/60 hover:text-muted-foreground/80","bg-foreground/[0.01]","border-y border-dashed border-foreground/[0.06]","cursor-pointer","transition-colors duration-100","group",m),children:[z.jsx("span",{className:"flex-shrink-0 py-1.5 bg-foreground/[0.02] border-r border-foreground/[0.06]",style:{width:p}}),z.jsxs("span",{className:"flex items-center gap-2 px-3 py-1.5",children:[z.jsx(EE,{size:12,className:"text-muted-foreground/40 group-hover:text-muted-foreground/60 transition-colors"}),z.jsxs("span",{children:["Show ",u," hidden ",u===1?"line":"lines"]}),z.jsxs("span",{className:"text-muted-foreground/40",children:["(",i,"–",l,")"]})]})]})}const N8=2,H8=32,V8=8,B8=16;function Y8({filePath:i,issues:l,contextLines:u=N8,selectedIssueId:c,onIssueSelect:p,enabled:m=!0,className:y}){const{lines:x,totalLines:S,isLoading:E,error:T}=A8({filePath:i,enabled:m}),[A,R]=K.useState(new Set),j=K.useMemo(()=>S===0?{regions:[],gaps:[]}:M8(l,S,u),[l,S,u]),B=K.useMemo(()=>{let Tt=j;for(const vt of A)Tt=z8(Tt,vt);return Tt},[j,A,S]),X=K.useCallback(Tt=>{R(vt=>new Set([...vt,Tt]))},[]),q=K.useMemo(()=>{const Tt=Math.max(3,String(S).length);return Math.max(H8,Tt*V8+B8)},[S]),Z=K.useCallback((Tt,vt)=>x.slice(Tt-1,vt),[x]);if(E)return z.jsx("div",{className:$t("py-6 text-center",y),children:z.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Loading source..."})});if(T)return z.jsx("div",{className:$t("py-6 text-center",y),children:z.jsxs("div",{className:"text-xs text-muted-foreground/60",children:["Could not load source: ",T]})});if(S===0)return z.jsx("div",{className:$t("py-6 text-center",y),children:z.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Source not available"})});const W=[];let rt=0,ct=0;const xt=[...B.gaps].sort((Tt,vt)=>Tt.startLine-vt.startLine);for(;rt<xt.length||ct<B.regions.length;){const Tt=xt[rt],vt=B.regions[ct];if(Tt&&(!vt||Tt.startLine<vt.startLine)&&Tt)W.push(z.jsx(L8,{startLine:Tt.startLine,endLine:Tt.endLine,lineCount:Tt.lineCount,onExpand:()=>X(Tt.id),gutterWidth:q},`gap-${Tt.id}`)),rt++;else if(vt){const jt=Z(vt.startLine,vt.endLine);W.push(z.jsx(U8,{lines:jt,startLine:vt.startLine,issues:vt.issues,selectedIssueId:c,onIssueSelect:p,gutterWidth:q},`region-${vt.startLine}-${vt.endLine}`)),ct++}}return z.jsx("div",{className:$t("border-t border-foreground/[0.06]","bg-background/50",y),children:z.jsx(Li,{mode:"sync",children:W})})}function lw(i){switch(i){case"error":return"bg-error/70";case"warning":return"bg-warning/70";case"info":return"bg-info/70"}}function q8({severityCounts:i}){return i.error>0||i.warning>0||i.info>0?z.jsxs("div",{className:"flex items-center gap-1.5",children:[i.error>0&&z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",lw("error"))}),i.warning>0&&z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",lw("warning"))}),i.info>0&&z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",lw("info"))})]}):null}function G8({file:i,isExpanded:l,onToggle:u,onRuleClick:c,onIssueSelect:p,selectedIssueId:m,contextLines:y=2,className:x}){return z.jsxs("div",{className:$t("border-b border-foreground/[0.04]",x),children:[z.jsxs(ke.button,{type:"button",onClick:u,whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.02)"},className:$t("w-full flex items-start gap-3 px-4 py-3","cursor-pointer text-left","transition-colors duration-100"),children:[z.jsx(ke.div,{animate:{rotate:l?90:0},transition:{duration:.15},className:"flex-shrink-0 pt-0.5 text-muted-foreground/50",children:z.jsx(Cx,{size:14})}),z.jsxs("div",{className:"flex-1 min-w-0",children:[z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"font-medium text-foreground truncate",children:i.fileName}),z.jsx(q8,{severityCounts:i.severityCounts})]}),z.jsx("div",{className:"text-xs text-muted-foreground/60 truncate mt-0.5",children:i.directory})]}),z.jsx("span",{className:"text-lg font-extralight text-foreground/70 flex-shrink-0",children:i.totalCount})]}),i.ruleGroups.length>0&&z.jsx("div",{className:"flex flex-wrap gap-1.5 px-4 pb-3 -mt-1",children:i.ruleGroups.map(S=>z.jsx(T8,{ruleId:S.ruleId,ruleName:S.ruleName,count:S.count,severity:S.highestSeverity,onClick:()=>c(S.ruleId)},S.ruleId))}),z.jsx(Li,{children:l&&z.jsx(ke.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:z.jsx(Y8,{filePath:i.filePath,issues:i.issues,contextLines:y,selectedIssueId:m,onIssueSelect:p,enabled:l})})})]})}function X8({hasFilters:i}){return z.jsxs("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[z.jsx("div",{className:"text-4xl mb-4 opacity-30",children:i?"🔍":"✨"}),z.jsx("h3",{className:"text-lg font-medium text-foreground/80 mb-2",children:i?"No matching issues":"No issues found"}),z.jsx("p",{className:"text-sm text-muted-foreground/60 max-w-xs",children:i?"Try adjusting or clearing your filters to see more results.":"Great job! Your code looks clean."})]})}function Q8({className:i}){const l=Ot(vE),u=Ot(uz),c=Ot(cz),p=Ot(ct=>ct.commandPalette.filters),m=Ot(ct=>ct.inspector.expandedFiles),y=Ot(ct=>ct.inspector.selectedIssueId),x=Ot(ct=>ct.inspector.ruleConfigExpanded),S=Ot(ct=>ct.addFilter),E=Ot(ct=>ct.removeFilter),T=Ot(ct=>ct.toggleFileExpanded),A=Ot(ct=>ct.selectIssue),R=Ot(ct=>ct.toggleRuleConfig),j=kn.useRef(!1);kn.useEffect(()=>{if(!j.current&&l.length>0&&m.length===0){const xt=l.find(Tt=>Tt.severityCounts.error>0)||l[0];xt&&(T(xt.filePath),j.current=!0)}},[l,m.length,T]);const B=K.useCallback(ct=>{if(c?.id===ct)return;const xt=ct.includes("/")?ct.split("/").pop():ct;S({type:"rule",id:ct,label:xt,providerId:"eslint"})},[c,S]),X=K.useCallback(()=>{const ct=p.findIndex(xt=>xt.type==="rule");ct!==-1&&E(ct)},[p,E]),q=K.useCallback(ct=>{A(y===ct?null:ct)},[y,A]),Z=K.useCallback(ct=>{console.log("Severity change requested:",ct)},[]),W=K.useMemo(()=>"warn",[]),rt=p.length>0;return z.jsxs("div",{className:$t("flex flex-col h-full",i),children:[z.jsx(Li,{children:c&&z.jsx(x8,{ruleFilter:c,description:Z8(c.id),category:$8(c.id),docsUrl:K8(c.id),configExpanded:x,onToggleConfig:R,onClear:X})}),z.jsx(Li,{children:c&&x&&z.jsx(S8,{ruleId:c.id,currentSeverity:W,onSeverityChange:Z})}),l.length>0&&z.jsx(b8,{totalIssues:u.totalIssues,totalFiles:u.totalFiles,totalRules:c?void 0:u.totalRules,severityCounts:u.severityCounts}),z.jsx("div",{className:"flex-1 overflow-y-auto",children:l.length===0?z.jsx(X8,{hasFilters:rt}):l.map(ct=>z.jsx(G8,{file:ct,isExpanded:m.includes(ct.filePath),onToggle:()=>T(ct.filePath),onRuleClick:B,onIssueSelect:q,selectedIssueId:y},ct.filePath))})]})}function Z8(i){return{"no-unused-vars":"Disallow variables that are declared but never used in the code.","@typescript-eslint/no-unused-vars":"Disallow variables that are declared but never used in the code.","no-console":"Disallow the use of console methods.","react-hooks/exhaustive-deps":"Checks effect dependencies and warns when dependencies are missing.","react-hooks/rules-of-hooks":"Enforces the Rules of Hooks.","no-explicit-any":"Disallow the any type to encourage more precise typing.","@typescript-eslint/no-explicit-any":"Disallow the any type to encourage more precise typing."}[i]}function $8(i){return i.startsWith("@typescript-eslint/")?"TypeScript":i.startsWith("react-hooks/")?"React Hooks":i.startsWith("react/")?"React":"ESLint"}function K8(i){return i.startsWith("@typescript-eslint/")?`https://typescript-eslint.io/rules/${i.replace("@typescript-eslint/","")}`:i.startsWith("react-hooks/")?"https://reactjs.org/docs/hooks-rules.html":i.startsWith("react/")?`https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/${i.replace("react/","")}.md`:`https://eslint.org/docs/latest/rules/${i}`}function I8(i){const l=i.match(/^[\t ]+/);return l?l[0]:""}function J8(i){if(!i.length)return{lines:i,removed:0};const l=i.filter(c=>c.trim().length>0);if(!l.length)return{lines:i,removed:0};let u=1/0;for(const c of l)if(u=Math.min(u,I8(c).length),u===0)break;return!Number.isFinite(u)||u<=0?{lines:i,removed:0}:{removed:u,lines:i.map(c=>c.length>=u?c.slice(u):"")}}function F8({filePath:i,line:l,column:u,contextLines:c=5,defaultExpanded:p=!0}){const[m,y]=K.useState(p),{context:x,isLoading:S,error:E}=U6({filePath:i,line:l,contextAbove:c,contextBelow:c,enabled:m}),T=x?J8(x.lines):null,A=x?x.startLine+x.lines.length-1:0,R=Math.max(3,String(A).length)*8+16;return z.jsxs("div",{style:{background:"var(--uilint-background)",borderRadius:8,overflow:"hidden",border:"1px solid var(--uilint-border)"},children:[z.jsxs("button",{onClick:()=>y(!m),style:{width:"100%",display:"flex",alignItems:"center",gap:8,padding:"8px 12px",background:"var(--uilint-surface-elevated)",border:"none",borderBottom:m?"1px solid var(--uilint-border)":"none",cursor:"pointer",color:"var(--uilint-text-primary)",fontSize:12,fontFamily:"inherit"},children:[m?z.jsx(EE,{size:14}):z.jsx(Cx,{size:14}),z.jsx("span",{style:{fontWeight:500},children:"Source"}),z.jsxs("span",{style:{color:"var(--uilint-text-muted)",marginLeft:"auto",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:["L",l,u?`:${u}`:""]})]}),m&&z.jsxs("div",{style:{padding:0},children:[S&&z.jsx("div",{style:{padding:24,color:"var(--uilint-text-muted)",textAlign:"center",fontSize:12},children:"Loading..."}),E&&z.jsx("div",{style:{padding:24,color:"var(--uilint-error, #ef4444)",textAlign:"center",fontSize:12},children:E}),T&&x&&z.jsx("div",{style:{overflowX:"auto",fontSize:12,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace",lineHeight:1.6},children:T.lines.map((j,B)=>{const X=x.startLine+B,q=X===l;return z.jsxs("div",{style:{display:"flex",background:q?"rgba(251, 191, 36, 0.12)":"transparent",borderLeft:q?"3px solid #f59e0b":"3px solid transparent"},children:[z.jsx("span",{style:{width:R,minWidth:R,padding:"0 8px",textAlign:"right",color:q?"var(--uilint-text-primary)":"var(--uilint-text-disabled)",background:"var(--uilint-surface-elevated)",userSelect:"none",flexShrink:0,borderRight:"1px solid var(--uilint-border)"},children:X}),z.jsx("code",{style:{padding:"0 12px",color:q?"var(--uilint-text-primary)":"var(--uilint-text-secondary)",whiteSpace:"pre",flex:1},children:j||" "})]},X)})})]})]})}function P8(i){const l=i.split("/");return l[l.length-1]||i}function W8({issue:i}){const l=i.severity==="error"?TE:i.severity==="warning"?RE:AE;return z.jsxs("div",{style:{padding:16,display:"flex",flexDirection:"column",gap:16},children:[z.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:10},children:[z.jsxs(KS,{variant:i.severity==="error"?"error":i.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,style:{flexShrink:0,marginTop:2},children:[z.jsx(l,{size:12,color:"currentColor",style:{marginRight:4}}),i.severity]}),z.jsxs("div",{style:{flex:1,minWidth:0},children:[z.jsx("div",{style:{fontSize:14,fontWeight:500,color:"var(--uilint-text-primary)",lineHeight:1.4},children:i.message}),z.jsx(KS,{variant:"outline",size:"sm",disableAnimation:!0,style:{marginTop:6,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:i.ruleId})]})]}),z.jsx(F8,{filePath:i.filePath,line:i.line,column:i.column,contextLines:5}),z.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"4px 12px",fontSize:11,color:"var(--uilint-text-muted)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:[z.jsxs("span",{title:i.filePath,children:[P8(i.filePath),":",i.line,i.column?`:${i.column}`:""]}),z.jsx("span",{style:{opacity:.5},children:"|"}),z.jsx("span",{children:i.pluginId})]})]})}function tj({dataLoc:i,onSelectIssue:l}){const{getIssuesForDataLoc:u}=M6(),c=u(i);return c.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:[c.length," issue",c.length!==1?"s":""," at this location"]}),z.jsx(n5,{variant:"elevated",style:{overflow:"hidden"},children:c.map((p,m)=>{const y=p.severity==="error"?TE:p.severity==="warning"?RE:AE;return z.jsxs("div",{onClick:()=>l(p),style:{display:"flex",alignItems:"flex-start",gap:10,padding:12,cursor:"pointer",borderBottom:m<c.length-1?"1px solid var(--uilint-border)":void 0},children:[z.jsx(KS,{variant:p.severity==="error"?"error":p.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,style:{flexShrink:0},children:z.jsx(y,{size:12,color:"currentColor"})}),z.jsxs("div",{style:{flex:1},children:[z.jsx("div",{style:{fontSize:13,color:"var(--uilint-text-primary)"},children:p.message}),z.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:2},children:p.ruleId})]})]},p.id)})}),z.jsx("div",{style:{marginTop:12,fontSize:11,color:"var(--uilint-text-disabled)",wordBreak:"break-all"},children:i})]})}function m5({direction:i,onResize:l,onResizeEnd:u}){const c=K.useRef(!1),p=K.useRef({x:0,y:0}),m=K.useCallback(S=>{S.preventDefault(),S.stopPropagation(),c.current=!0,p.current={x:S.clientX,y:S.clientY}},[]);K.useEffect(()=>{const S=T=>{if(!c.current)return;const A=T.clientX-p.current.x,R=T.clientY-p.current.y;p.current={x:T.clientX,y:T.clientY},l(A,R)},E=()=>{c.current&&(c.current=!1,u?.())};return document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),()=>{document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E)}},[l,u]);const y={position:"absolute",zIndex:10},x={horizontal:{...y,top:0,left:0,width:4,height:"100%",cursor:"col-resize"},vertical:{...y,bottom:0,left:0,width:"100%",height:4,cursor:"row-resize"},corner:{...y,bottom:0,right:0,width:12,height:12,cursor:"nwse-resize"}};return z.jsx("div",{onMouseDown:m,style:{...x[i],background:"transparent"},onMouseEnter:S=>{S.target.style.background="rgba(59, 130, 246, 0.2)"},onMouseLeave:S=>{c.current||(S.target.style.background="transparent")}})}const g5=320,y5=800,$v=450,v5=500;function ej(){const i=Ot(Et=>Et.inspector.open),l=Ot(Et=>Et.inspector.panelId),u=Ot(Et=>Et.inspector.data),c=Ot(Et=>Et.inspector.docked),p=Ot(Et=>Et.inspector.width),m=Ot(Et=>Et.inspector.floatingPosition),y=Ot(Et=>Et.inspector.floatingSize),x=Ot(Et=>Et.closeInspector),S=Ot(Et=>Et.openInspector),E=Ot(Et=>Et.toggleInspectorDocked),T=Ot(Et=>Et.setInspectorWidth),A=Ot(Et=>Et.setInspectorFloatingPosition),R=Ot(Et=>Et.setInspectorFloatingSize),[j,B]=K.useState(!1),X=Ot(Et=>Et.mobile.isMobile),q=Ot(Et=>Et.activeDrag),Z=Ot(Et=>Et.startDrag),W=q?.type==="inspector-floating",rt=K.useMemo(()=>li.getAllInspectorPanels(),[]),ct=K.useCallback(Et=>{S("issue",{issue:Et})},[S]),{content:xt,title:Tt}=K.useMemo(()=>{let Et=null,bt="Issues";const U=rt.find(F=>F.id===l);if(U){const F=sf(),P=U.component,Rt=u??void 0;bt=typeof U.title=="function"?U.title({data:Rt,services:F}):U.title,Et=F?z.jsx(P,{data:Rt,services:F}):z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else if(l==="issue"&&u?.issue){const F=u.issue,P=F.ruleId?li.getRuleContribution(F.ruleId)||li.getRuleContribution(F.ruleId.replace("uilint/","")):void 0;if(P?.inspectorPanel){const Rt=sf(),Ht=P.inspectorPanel;bt="Issue Details",Et=Rt?z.jsx(Ht,{data:u,services:Rt}):z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else bt="Issue Details",Et=z.jsx(W8,{issue:F})}else l==="element"&&u?.dataLoc?(bt="Element Issues",Et=z.jsx(tj,{dataLoc:u.dataLoc,onSelectIssue:ct})):(bt="Issues",Et=z.jsx(Q8,{}));return{content:Et,title:bt}},[l,u,rt,ct]);K.useEffect(()=>{B(!0)},[]),K.useLayoutEffect(()=>{if(!j)return;const Et=document.documentElement;return i&&c?(Et.style.marginRight=`${p}px`,Et.style.transition="margin-right 0.2s ease-out"):(Et.style.marginRight="",Et.style.transition="margin-right 0.2s ease-out"),()=>{Et.style.marginRight="",Et.style.transition=""}},[j,i,c,p]),K.useLayoutEffect(()=>{if(!W||!q||!q.elementStartPos)return;const{currentPos:Et,startPos:bt,elementStartPos:U}=q,F=Et.x-bt.x,P=Et.y-bt.y;A({x:U.x+F,y:U.y+P})},[W,q,A]);const vt=K.useCallback(Et=>{const bt=Math.min(y5,Math.max(g5,p-Et));T(bt)},[p,T]),ot=K.useCallback((Et,bt)=>{const U=y??{width:$v,height:v5},F=Math.min(y5,Math.max(g5,U.width+Et)),P=Math.max(300,U.height+bt);R({width:F,height:P})},[y,R]),jt=K.useCallback(Et=>{if(!m||X)return;Et.preventDefault();const bt={x:Et.clientX,y:Et.clientY};Z("inspector-floating",bt,{x:0,y:0},m)},[m,X,Z]),St=K.useCallback(Et=>{if(!m||X)return;const bt=Et.touches[0],U={x:bt.clientX,y:bt.clientY};Z("inspector-floating",U,{x:0,y:0},m)},[m,X,Z]);K.useEffect(()=>{!c&&!m&&j&&A({x:window.innerWidth-$v-20,y:80})},[c,m,A,j]);const oe=document.getElementById("uilint-portal")||document.body,Mt=({isDraggable:Et=!1})=>z.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:X?"16px 16px":"12px 16px",paddingTop:X?"calc(16px + env(safe-area-inset-top, 0px))":"12px",borderBottom:"1px solid var(--uilint-border)",background:"var(--uilint-surface-elevated)",cursor:Et&&!X?"move":"default",userSelect:"none"},onMouseDown:Et&&!X?jt:void 0,onTouchStart:Et&&!X?St:void 0,children:[z.jsx("span",{style:{fontWeight:600,color:"var(--uilint-text-primary)"},children:Tt}),z.jsxs("div",{style:{display:"flex",alignItems:"center",gap:X?8:4},children:[!X&&z.jsx(hg,{variant:"ghost",size:"sm",onClick:E,title:c?"Undock to floating window":"Dock to side",children:c?z.jsx(Sz,{size:16}):z.jsx(wz,{size:16})}),z.jsx(hg,{variant:"ghost",size:X?"default":"sm",onClick:x,title:"Close",style:X?{minWidth:44,minHeight:44}:void 0,children:z.jsx(Sv,{size:X?20:16})})]})]}),Nt=JS("heavy","none",!1);return $m.createPortal(z.jsxs(Li,{children:[i&&c&&z.jsxs(ke.div,{initial:{x:p,opacity:0},animate:{x:0,opacity:1},exit:{x:p,opacity:0},transition:{duration:.15,ease:[.25,.1,.25,1]},style:{position:"fixed",top:0,right:0,bottom:0,width:p,...Nt,borderLeft:"1px solid var(--uilint-glass-border)",boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",pointerEvents:"auto"},children:[z.jsx(m5,{direction:"horizontal",onResize:Et=>vt(Et)}),z.jsx(Mt,{}),z.jsx("div",{style:{flex:1,overflowY:"auto"},children:xt})]},"docked"),i&&!c&&z.jsxs(ke.div,{initial:{opacity:0,scale:X?1:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:X?1:.95},transition:{duration:.15},style:X?{position:"fixed",inset:0,width:"100%",height:"100%",...Nt,border:"none",borderRadius:0,boxShadow:"none",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"}:{position:"fixed",left:m?.x??window.innerWidth-$v-20,top:m?.y??80,width:y?.width??$v,height:y?.height??v5,...Nt,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(Mt,{isDraggable:!0}),z.jsx("div",{style:{flex:1,overflowY:"auto",minHeight:0,paddingBottom:X?"env(safe-area-inset-bottom, 0px)":void 0},children:xt}),!X&&z.jsx(m5,{direction:"corner",onResize:ot})]},"floating")]}),oe)}const b5=10,nj={isSelecting:!1,startPoint:null,currentPoint:null,mounted:!1};function aj(i,l){switch(l.type){case"MOUNT":return{...i,mounted:!0};case"START_SELECTION":return{...i,isSelecting:!0,startPoint:l.point,currentPoint:l.point};case"UPDATE_SELECTION":return{...i,currentPoint:l.point};case"COMPLETE_SELECTION":return{...i,isSelecting:!1,startPoint:null,currentPoint:null};default:return i}}const jl={overlayBg:"rgba(0, 0, 0, 0.5)",selectionBorder:"var(--uilint-accent, #f59e0b)",selectionBg:"transparent",textBg:"var(--uilint-backdrop, rgba(0, 0, 0, 0.8))",textColor:"var(--uilint-text-primary, #ffffff)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontMono:'"SF Mono", Monaco, "Cascadia Code", monospace'};function ij({active:i,onRegionSelected:l,onCancel:u}){const[c,p]=K.useReducer(aj,nj),{isSelecting:m,startPoint:y,currentPoint:x,mounted:S}=c;K.useEffect(()=>{p({type:"MOUNT"})},[]);const E=K.useCallback(()=>{if(!y||!x)return null;const q=Math.min(y.x,x.x),Z=Math.min(y.y,x.y),W=Math.abs(x.x-y.x),rt=Math.abs(x.y-y.y);return{x:q,y:Z,width:W,height:rt}},[y,x]),T=K.useCallback(q=>{q.button===0&&p({type:"START_SELECTION",point:{x:q.clientX,y:q.clientY}})},[]),A=K.useCallback(q=>{!m||!y||p({type:"UPDATE_SELECTION",point:{x:q.clientX,y:q.clientY}})},[m,y]),R=K.useCallback(()=>{if(!m||!y)return;const q=E();q&&q.width>b5&&q.height>b5?l(q):u(),p({type:"COMPLETE_SELECTION"})},[m,y,E,l,u]);if(K.useEffect(()=>{if(!i)return;const q=Z=>{Z.key==="Escape"&&(Z.preventDefault(),Z.stopPropagation(),u())};return document.addEventListener("keydown",q,!0),()=>{document.removeEventListener("keydown",q,!0)}},[i,u]),K.useLayoutEffect(()=>{if(!i)return;const q=Z=>{Z.preventDefault()};return document.body.style.overflow="hidden",document.addEventListener("wheel",q,{passive:!1}),document.addEventListener("touchmove",q,{passive:!1}),()=>{document.body.style.overflow="",document.removeEventListener("wheel",q),document.removeEventListener("touchmove",q)}},[i]),!i||!S)return null;const j=E(),B=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(!B)return null;const X=z.jsxs("div",{"data-testid":"region-selector-overlay","data-ui-lint":!0,onMouseDown:T,onMouseMove:A,onMouseUp:R,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,cursor:"crosshair",backgroundColor:jl.overlayBg,fontFamily:jl.fontFamily},children:[z.jsxs("div",{style:{position:"absolute",top:"20px",left:"50%",transform:"translateX(-50%)",padding:"12px 20px",borderRadius:"12px",backgroundColor:jl.textBg,color:jl.textColor,fontSize:"14px",fontWeight:500,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",pointerEvents:"none",userSelect:"none"},children:["Click and drag to select a region"," ",z.jsx("kbd",{style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",fontSize:"11px",fontFamily:jl.fontMono,marginLeft:"4px"},children:"Esc"})," ","to cancel"]}),j&&j.width>0&&j.height>0&&z.jsxs(z.Fragment,{children:[z.jsx("div",{"data-testid":"selection-rectangle",style:{position:"absolute",left:`${j.x}px`,top:`${j.y}px`,width:`${j.width}px`,height:`${j.height}px`,border:`2px solid ${jl.selectionBorder}`,backgroundColor:jl.selectionBg,pointerEvents:"none",boxShadow:`0 0 0 9999px ${jl.overlayBg}`}}),z.jsxs("div",{"data-testid":"dimensions-label",style:{position:"absolute",left:`${j.x}px`,top:`${j.y-32}px`,padding:"6px 10px",borderRadius:"6px",backgroundColor:jl.textBg,color:jl.textColor,fontSize:"12px",fontFamily:jl.fontMono,fontWeight:500,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",pointerEvents:"none",userSelect:"none",whiteSpace:"nowrap"},children:[Math.round(j.width)," x ",Math.round(j.height)]})]})]});return $m.createPortal(X,B)}let rw=!1;function oj(){if(typeof document>"u")return;let i=document.getElementById("uilint-portal");return i||(i=document.createElement("div"),i.id="uilint-portal",i.style.cssText="position: fixed; top: 0; left: 0; z-index: 99990; pointer-events: none;",document.body.appendChild(i),rw=!0),i}function lj(){if(!rw)return;const i=document.getElementById("uilint-portal");i&&(i.remove(),rw=!1)}function rj({enabled:i=!0}){const l=Ot(S=>S.plugins?.vision),u=l?.regionSelectionActive??!1,c=l?.setSelectedRegion,p=l?.setRegionSelectionActive,m=l?.triggerVisionAnalysis,y=K.useCallback(S=>{c&&p&&m&&(c(S),p(!1),m())},[c,p,m]),x=K.useCallback(()=>{p&&p(!1)},[p]);return K.useEffect(()=>(i&&oj(),()=>{lj()}),[i]),i?z.jsxs(z.Fragment,{children:[z.jsx(w6,{}),z.jsx(D6,{}),z.jsx(v8,{}),z.jsx(ej,{}),z.jsx(ij,{active:u,onRegionSelected:y,onCancel:x})]}):null}const Kv="data-loc",sj=100;function uj(i,l){return`loc:${i}#${l}`}function cj(i){if(!i)return null;let l=i;if(l.startsWith("loc:")){l=l.slice(4);const u=l.lastIndexOf("#");u!==-1&&(l=l.slice(0,u))}return l||null}function fj(i,l){return l&&i.includes("node_modules")}class dj{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(l={}){this.options=l}setHideNodeModules(l){this.hideNodeModules=l,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const l=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),u=this.options.root??(typeof document<"u"?document.body:void 0);l&&u&&(this.observer=new l(this.handleMutations.bind(this)),this.observer.observe(u,{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(l){return this.addedHandlers.add(l),()=>{this.addedHandlers.delete(l)}}onElementsRemoved(l){return this.removedHandlers.add(l),()=>{this.removedHandlers.delete(l)}}getElements(){return this.scanElements()}handleMutations(l){let u=!1;for(const c of l){for(const p of c.addedNodes)if(this.hasDataLocElements(p)){u=!0;break}if(u)break;for(const p of c.removedNodes)if(this.hasDataLocElements(p)){u=!0;break}if(u)break}u&&this.debouncedReconcile()}hasDataLocElements(l){return l instanceof Element?!!(l.hasAttribute(Kv)||l.querySelector(`[${Kv}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},sj)}reconcile(){if(typeof window>"u")return;const l=this.scanElements(),u=new Map(l.map(x=>[x.id,x])),c=new Set(u.keys()),p=new Set(this.knownElements.keys()),m=[];for(const x of l)p.has(x.id)||m.push(x);const y=[];for(const x of p)c.has(x)||y.push(x);this.knownElements.clear();for(const x of l)this.knownElements.set(x.id,x.element);if(m.length>0)for(const x of this.addedHandlers)try{x(m)}catch(S){$n("[DOMObserverService] Error in added handler:",S)}if(y.length>0)for(const x of this.removedHandlers)try{x(y)}catch(S){$n("[DOMObserverService] Error in removed handler:",S)}}scanElements(){const l=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!l)return[];const u=[],c=new Map,p=l(`[${Kv}]`);for(const m of p){if(this.isInsideUILintUI(m))continue;const y=m.getAttribute(Kv),x=cj(y??"");if(!x||fj(x,this.hideNodeModules))continue;const S=(c.get(x)??0)+1;c.set(x,S);const E=uj(x,S);u.push({id:E,dataLoc:x,element:m,tagName:m.tagName.toLowerCase(),rect:m.getBoundingClientRect()})}return u}isInsideUILintUI(l){return l.closest("[data-ui-lint]")!==null}}const mg=new dj,x5=[{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,hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.scanStatus==="scanning"?u.stopScanning():u.startScanning(),i.closeCommandPalette()},isAvailable:i=>i.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",hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.scanStatus!=="scanning"&&u.startScanning(),i.closeCommandPalette()},isAvailable:i=>{const l=i;return l.wsConnected===!0&&l.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",hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.stopScanning(),i.closeCommandPalette()},isAvailable:i=>i.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",hideFromAllCategory:!0,execute:i=>{i.openInspector("fixes",{}),i.closeCommandPalette()},isAvailable:i=>{const u=i.plugins?.eslint;return u?.scanStatus!=="scanning"||!u?.issues?!1:u.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",hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.clearIssues(),u.startScanning(),i.closeCommandPalette()},isAvailable:i=>i.wsConnected===!0}],hj={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",lintingFiles:new Map,availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map,workspaceCapabilities:null};function pj(i){return{...hj}}function mj(i,l,u){return{startScanning:()=>{u({scanStatus:"scanning"})},stopScanning:()=>{u({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(c,p)=>{const m=l(),y=new Map(m.issues);p.length>0?y.set(c,p):y.delete(c),u({issues:y})},clearIssues:()=>{u({issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},toggleRule:c=>{const p=l(),m=new Set(p.disabledRules);m.has(c)?m.delete(c):m.add(c),u({disabledRules:m})},setAvailableRules:c=>{u({availableRules:c})},setWorkspaceRoot:c=>{u({workspaceRoot:c})},markScanned:c=>{const p=l(),m=new Set(p.scannedDataLocs);m.add(c),u({scannedDataLocs:m})},markFileRequested:c=>{const p=l(),m=new Set(p.requestedFiles);m.add(c),u({requestedFiles:m})},setScanStatus:c=>{u({scanStatus:c})}}}function gj(i){if(!i)return null;const l=i.lastIndexOf(":");if(l===-1)return null;const u=i.lastIndexOf(":",l-1);if(u===-1)return null;const c=i.substring(0,u);return c||null}function yj(i){const l=new Set;for(const u of i){const c=gj(u);c&&l.add(c)}return l}function vj({value:i,onChange:l,disabled:u}){const c=[{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:c.map(p=>z.jsx("button",{onClick:()=>l(p.value),disabled:u,style:{padding:"4px 8px",fontSize:12,fontWeight:500,border:"none",borderRadius:4,cursor:u?"not-allowed":"pointer",background:i===p.value?p.color:"var(--uilint-surface-elevated)",color:i===p.value?"white":"var(--uilint-text-disabled)",opacity:u?.5:1},children:p.label},p.value))})}function bj({data:i}){const l=i?.ruleId,u=Ot(S=>{const E=S.plugins?.eslint;return!E?.availableRules||!l?null:E.availableRules.find(T=>T.id===l)}),c=Ot(S=>{const E=S.plugins?.eslint;return E?.ruleConfigs?E.ruleConfigs.get(l||""):null}),p=Ot(S=>{const E=S.plugins?.eslint;return E?.ruleConfigUpdating?E.ruleConfigUpdating.get(l||"")??!1:!1}),m=Ot(S=>{const E=S.plugins?.eslint;if(!E?.issues)return 0;let T=0;return E.issues.forEach(A=>{T+=A.filter(R=>R.ruleId===l).length}),T}),y=K.useCallback(S=>{l&&li.setRuleSeverity(l,S)},[l]);if(!l)return z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"No rule selected"});if(!u)return z.jsxs("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:["Rule not found: ",l]});const x=c?.severity?c.severity==="warn"?"warning":c.severity:u.currentSeverity==="warn"?"warning":u.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:"var(--uilint-text-primary)",marginBottom:4},children:u.name}),z.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",fontFamily:"monospace"},children:u.id})]}),z.jsx("div",{style:{fontSize:14,color:"var(--uilint-text-secondary)",marginBottom:16,lineHeight:1.5},children:u.description}),z.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[z.jsx("span",{style:{fontSize:11,fontWeight:500,textTransform:"uppercase",background:u.category==="semantic"?"rgba(59, 130, 246, 0.1)":"var(--uilint-surface-elevated)",color:u.category==="semantic"?"var(--uilint-accent)":"var(--uilint-text-muted)",padding:"2px 6px",borderRadius:4},children:u.category}),m>0&&z.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"rgba(239, 68, 68, 0.1)",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[m," issue",m!==1?"s":""]})]}),z.jsxs("div",{style:{marginBottom:16},children:[z.jsx("div",{style:{fontSize:12,fontWeight:500,color:"var(--uilint-text-muted)",marginBottom:8},children:"Severity"}),z.jsx(vj,{value:x,onChange:y,disabled:p}),p&&z.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:4},children:"Updating..."})]}),u.docs&&z.jsx("div",{style:{marginTop:16},children:z.jsx("a",{href:u.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"var(--uilint-accent)",textDecoration:"none"},children:"View documentation"})})]})}function xj(i){const{manifestUrl:l,retries:u=3,retryDelay:c=1e3,cacheTtl:p=0}=i;let m=null,y=null,x=null;function S(){return!m||y===null?!1:p===0?!0:Date.now()-y<p}function E(A){return new Promise(R=>setTimeout(R,A))}async function T(){let A=null;for(let R=0;R<=u;R++)try{R>0&&(It(`[ManifestFetcher] Retry attempt ${R}/${u}...`),await E(c*R));const j=await fetch(l);if(!j.ok)throw new Error(`Failed to fetch manifest: ${j.status} ${j.statusText}`);const B=await j.json();if(B.version!=="1.0")throw new Error(`Unsupported manifest version: ${B.version}`);if(!Array.isArray(B.files))throw new Error("Invalid manifest: missing files array");return B}catch(j){A=j instanceof Error?j:new Error(String(j)),$n(`[ManifestFetcher] Fetch failed (attempt ${R+1}):`,A.message)}throw A??new Error("Failed to fetch manifest")}return{async fetch(){return S()&&m?{manifest:m,cached:!0,fetchedAt:y}:x||(x=(async()=>{try{It(`[ManifestFetcher] Fetching manifest from ${l}...`);const A=await T();return m=A,y=Date.now(),It(`[ManifestFetcher] Loaded manifest: ${A.summary.totalIssues} issues in ${A.summary.filesWithIssues} files`),{manifest:A,cached:!1,fetchedAt:y}}finally{x=null}})(),x)},getCached(){return S()?m:null},invalidate(){m=null,y=null,It("[ManifestFetcher] Cache invalidated")},isFetching(){return x!==null},getManifestUrl(){return l}}}let S5=null;function Sj(i){return S5=xj(i),S5}function wj(i,l){const{filePath:u}=r5(i.dataLoc),c=i.ruleId||"unknown",p=l.find(x=>x.id===c),y=(p?.currentSeverity??p?.defaultSeverity??"warn")==="error"?"error":"warning";return{id:s5("eslint",c,i.dataLoc,i.line),message:i.message,severity:y,dataLoc:i.dataLoc,ruleId:c,pluginId:"eslint",filePath:u,line:i.line,column:i.column}}function Ej(i){return{id:i.id,name:i.name,description:i.description,category:i.category,defaultSeverity:i.defaultSeverity,currentSeverity:i.currentSeverity,docs:i.docs}}function Tj(i,l){It("[ESLint Plugin] Processing manifest:",l.summary.totalIssues,"issues in",l.summary.filesWithIssues,"files");const u=new Map;for(const m of l.files)for(const y of m.issues){const x=wj(y,l.rules),S=u.get(x.dataLoc)||[];u.set(x.dataLoc,[...S,x])}const c=l.rules.map(Ej),p=new Map;for(const m of l.rules)p.set(m.id,{severity:m.currentSeverity??m.defaultSeverity});i.setState({issues:u,availableRules:c,ruleConfigs:p,workspaceRoot:l.workspaceRoot,scanStatus:"complete"}),It("[ESLint Plugin] Manifest processed:",u.size,"unique dataLocs with issues")}let mf=null;function Aj(i){const l=Sj({manifestUrl:i});mf={mode:"static",manifestUrl:i,fetcher:l,manifest:null},It("[ESLint Plugin] Configured for static mode:",i)}function Cj(){return mf!==null}function Rj(){mf=null}function Dj(i){if(!mf)return $n("[ESLint Plugin] Static mode not configured"),()=>{};const{fetcher:l}=mf;It("[ESLint Plugin] Initializing in static mode..."),i.setState({scanStatus:"scanning"}),l.fetch().then(({manifest:c})=>{mf.manifest=c,Tj(i,c)}).catch(c=>{$n("[ESLint Plugin] Failed to fetch manifest:",c),i.setState({scanStatus:"error"})});const u=i.domObserver.onElementsAdded(c=>{mf?.manifest&&It("[ESLint Plugin] Static mode: DOM elements detected:",c.length)});return()=>{u(),It("[ESLint Plugin] Static mode disposed")}}function w5(i){const l={error:0,warning:0,info:0};for(const u of i)u.severity==="error"?l.error++:u.severity==="warning"?l.warning++:u.severity==="info"&&l.info++;return l}function Mj(i,l=[]){const u=new Map;for(const m of i){const y=m.ruleId,x=u.get(y)||[];u.set(y,[...x,m])}const c=new Map;for(const m of l)c.set(m.id,m);const p=[];for(const[m,y]of u){const x=c.get(m),S=w5(y),E=m.includes("/")?m.split("/").pop():m;p.push({id:`rule:${m}`,label:x?.name||E,subtitle:x?.description||m,count:y.length,severityCounts:S,metadata:{isRule:!0,ruleId:m}})}return p.sort((m,y)=>{const x=m.severityCounts?.error??0,S=y.severityCounts?.error??0;return x!==S?S-x:y.count-m.count}),p}function zj(i,l){const u=i.filter(m=>m.ruleId===l),c=new Map;for(const m of u){const y=m.filePath,x=c.get(y)||[];c.set(y,[...x,m])}const p=[];for(const[m,y]of c){const x=w5(y),S=m.split("/"),E=S.pop()||m,T=S.join("/")||"/";p.push({id:`file:${m}:${l}`,label:E,subtitle:T,count:y.length,severityCounts:x,metadata:{isFile:!0,filePath:m,ruleId:l}})}return p.sort((m,y)=>{const x=m.severityCounts?.error??0,S=y.severityCounts?.error??0;return x!==S?S-x:y.count-m.count}),p}function Oj(i){const u=i.getState()?.plugins?.eslint;if(!u?.issues)return[];const c=[];for(const p of u.issues.values())c.push(...p);return c}function _j(i){return i.getState()?.plugins?.eslint?.availableRules??[]}function kj(i,l){const u=Oj(i);if(u.length===0)return[];const c=l.find(y=>y.type==="rule"),p=l.find(y=>y.type==="file");if(c&&p)return[];if(c)return zj(u,c.id);const m=_j(i);return Mj(u,m)}function jj(i){const l=i.metadata??{};if(l.isRule)return{type:"rule",id:l.ruleId,label:i.label,providerId:"eslint"};if(l.isFile){const u=l.filePath,c=u.split("/").pop()||u;return{type:"file",id:u,label:c,providerId:"eslint"}}return{type:"scope",id:i.id,label:i.label,providerId:"eslint"}}function Uj(i){const l=i.some(c=>c.type==="rule"),u=i.some(c=>c.type==="file");return l&&u}function Lj(i){const l=i.metadata??{};return l.isRule?{panelId:"eslint-rule",data:{ruleId:l.ruleId}}:l.isFile?{panelId:"eslint-rule",data:{ruleId:l.ruleId,filePath:l.filePath}}:{panelId:"eslint-rule",data:{}}}const E5=["lint:result","lint:progress","file:changed","workspace:info","workspace:capabilities","rules:metadata","rule:config:result","rule:config:changed"],Nj={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:i=>{const l=pj();let u=l;const m=mj(i,()=>u,y=>{u={...u,...y},i.setState(y)});return{...l,...m}},commands:x5,inspectorPanels:[{id:"eslint-rule",title:({data:i})=>i?.ruleId?`Rule: ${i.ruleId}`:"Rule Details",component:bj,priority:10}],tileProvider:{getTileItems:kj,createFilter:jj,isTerminal:Uj,getInspectorData:Lj},handlesRules:i=>i.id.startsWith("uilint/")||i.category==="static"?!0:(i.id==="uilint/semantic-vision",!1),getIssues:i=>{const l=i,u=new Map;return l.issues.forEach((c,p)=>{const m=c.map(y=>({id:y.id,message:y.message,severity:y.severity,dataLoc:y.dataLoc,line:y.line,column:y.column,ruleId:y.ruleId}));m.length>0&&u.set(p,m)}),{pluginId:"eslint",issues:u}},getPaletteItems:i=>{const l=[],u=i.getState(),c=u?.plugins?.eslint;if(c?.issues)for(const[,p]of c.issues)for(const m of p){const y=m.filePath.split("/").pop()||m.filePath,x=m.ruleId.includes("/")?m.ruleId.split("/").pop():m.ruleId;l.push({id:`eslint:issue:${m.id}`,title:m.message,subtitle:`${y}:${m.line}`,keywords:["Lint",m.ruleId,x,y,m.severity].filter((S,E,T)=>T.indexOf(S)===E),execute:S=>{S.openInspector("issue",{issue:m}),S.closeCommandPalette()},metadata:{issue:m,providerId:"eslint"}})}for(const p of x5)p.isAvailable&&!p.isAvailable(u)||l.push({id:p.id,title:p.title,subtitle:p.subtitle,keywords:["Command","ESLint",...p.keywords],execute:p.execute,metadata:{isCommand:!0}});return l},getRules:i=>{const l=i.getState();if(!l?.availableRules)return[];const u=l.ruleConfigs??new Map;return l.availableRules.map(c=>{const m=u.get(c.id)?.severity??c.currentSeverity??c.defaultSeverity,y=m==="warn"?"warning":m;return{id:c.id,name:c.name,description:c.description,category:c.category,severity:y,fixable:!1,pluginId:"eslint",docs:c.docs}})},setRuleSeverity:(i,l,u)=>{const c=l==="warning"?"warn":l,p=u.getState(),m=new Map(p.ruleConfigUpdating??new Map);m.set(i,!0),u.setState({ruleConfigUpdating:m}),u.websocket.send({type:"rule:config:set",ruleId:i,severity:c,requestId:`rule-severity-${Date.now()}`}),It("[ESLint Plugin] Setting rule severity:",i,"->",c)},getRuleConfig:(i,l)=>(l.getState()?.ruleConfigs??new Map).get(i)?.options??{},setRuleConfig:(i,l,u)=>{const c=u.getState(),p=new Map(c.ruleConfigUpdating??new Map);p.set(i,!0),u.setState({ruleConfigUpdating:p}),u.websocket.send({type:"rule:config:set",ruleId:i,options:l,requestId:`rule-config-${Date.now()}`}),It("[ESLint Plugin] Setting rule config:",i,l)},initialize:i=>{if(It("[ESLint Plugin] Initializing..."),Cj())return It("[ESLint Plugin] Running in STATIC mode (manifest-based)"),Dj(i);It("[ESLint Plugin] Running in WEBSOCKET mode");const l=[];for(const c of E5){const p=i.websocket.on(c,m=>{Vj(i,m)});l.push(p)}It("[ESLint Plugin] Subscribed to",E5.length,"message types");const u=i.domObserver.onElementsAdded(c=>{Hj(i,c)});return l.push(u),It("[ESLint Plugin] Subscribed to DOM observer"),()=>{It("[ESLint Plugin] Disposing..."),l.forEach(c=>c())}},dispose:i=>{It("[ESLint Plugin] Disposed")}};function Hj(i,l){const u=i.getState();if(It("[ESLint Plugin] handleElementsAdded called with",l.length,"elements"),It("[ESLint Plugin] State check - scanStatus:",u?.scanStatus,"wsConnected:",i.websocket.isConnected),u.scanStatus!=="scanning"){It("[ESLint Plugin] Scanning not active (status:",u.scanStatus,"), skipping lint requests");return}if(!i.websocket.isConnected){It("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const c=l.map(x=>x.dataLoc),p=yj(c);if(p.size===0){It("[ESLint Plugin] No file paths extracted from",l.length,"elements");return}It("[ESLint Plugin] Detected",l.length,"elements from",p.size,"unique files:",Array.from(p).slice(0,3));const m=u.requestedFiles??new Set,y=[];for(const x of p)if(!m.has(x)){y.push(x);const S=`lint-${Date.now()}-${x.replace(/[^a-zA-Z0-9]/g,"-")}`;i.websocket.send({type:"lint:file",filePath:x,requestId:S}),It("[ESLint Plugin] Sent lint:file request for",x)}if(y.length>0){const x=new Set(m);for(const S of y)x.add(S);i.setState({requestedFiles:x}),It("[ESLint Plugin] Updated requestedFiles with",y.length,"new files")}else It("[ESLint Plugin] All files already requested, skipping")}function Vj(i,l){switch(l.type){case"lint:result":{const{filePath:u,issues:c}=l;It("[ESLint Plugin] Received lint result:",u,c.length,"issues");const p=c.map(S=>C6({...S,dataLoc:S.dataLoc||`${u}:${S.line}:${S.column||0}`})).filter(S=>S!==null),m=new Map;for(const S of p){const E=m.get(S.dataLoc)||[];m.set(S.dataLoc,[...E,S])}const y=i.getState(),x=new Map(y.issues);for(const[S,E]of m)x.set(S,E);i.setState({issues:x});break}case"lint:progress":{const{filePath:u,phase:c}=l;It("[ESLint Plugin] Lint progress:",u,c);const p=i.getState(),m=new Map(p.lintingFiles);if(c.startsWith("Done"))m.delete(u);else{const y=m.get(u);m.set(u,{phase:c,startedAt:y?.startedAt??Date.now()})}i.setState({lintingFiles:m});break}case"file:changed":{const{filePath:u}=l;It("[ESLint Plugin] File changed:",u);const c=i.getState(),p=new Map(c.issues);for(const[y]of p)y.startsWith(u+":")&&p.delete(y);const m=new Set(c.requestedFiles??new Set);m.delete(u),i.setState({issues:p,requestedFiles:m});break}case"workspace:info":{const{appRoot:u,workspaceRoot:c,serverCwd:p}=l;It("[ESLint Plugin] Workspace info:",{appRoot:u,workspaceRoot:c,serverCwd:p}),i.setState({appRoot:u,workspaceRoot:c,serverCwd:p});break}case"workspace:capabilities":{const{postToolUseHook:u}=l;It("[ESLint Plugin] Workspace capabilities:",{postToolUseHook:u}),i.setState({workspaceCapabilities:{postToolUseHook:u}});break}case"rules:metadata":{const{rules:u}=l;It("[ESLint Plugin] Received rules metadata:",u.length,"rules");const c=new Map;for(const p of u)c.set(p.id,{severity:p.currentSeverity??p.defaultSeverity,options:p.currentOptions??(p.defaultOptions&&p.defaultOptions.length>0?p.defaultOptions[0]:void 0)});i.setState({availableRules:u,ruleConfigs:c});break}case"rule:config:result":{const{ruleId:u,severity:c,options:p,success:m,error:y}=l,x=i.getState(),S=new Map(x.ruleConfigUpdating);if(S.delete(u),i.setState({ruleConfigUpdating:S}),m){const E=i.getState(),T=new Map(E.ruleConfigs);T.set(u,{severity:c,options:p}),i.setState({ruleConfigs:T}),It("[ESLint Plugin] Rule config updated:",u,"->",c)}else $n("[ESLint Plugin] Failed to update rule config:",y);break}case"rule:config:changed":{const{ruleId:u,severity:c,options:p}=l,m=i.getState(),y=new Map(m.ruleConfigs);y.set(u,{severity:c,options:p}),i.setState({ruleConfigs:y}),It("[ESLint Plugin] Rule config changed (broadcast):",u,"->",c);break}}}const T5=[{id:"vision:capture-full-page",title:"Capture Full Page",keywords:["vision","screenshot","capture","full","page","analyze"],category:"Vision",subtitle:"Capture and analyze the entire visible page",icon:"camera",hideFromAllCategory:!0,execute:async i=>{const l=i.getState();l.setCaptureMode("full"),l.setRegionSelectionActive(!1),l.setSelectedRegion(null),i.closeCommandPalette(),await l.triggerVisionAnalysis()}},{id:"vision:capture-region",title:"Capture Region",keywords:["vision","screenshot","capture","region","area","select","partial"],category:"Vision",subtitle:"Select a region of the page to capture and analyze",icon:"crop",hideFromAllCategory:!0,execute:i=>{const l=i.getState();l.setCaptureMode("region"),l.setRegionSelectionActive(!0),l.setSelectedRegion(null),i.closeCommandPalette()}},{id:"vision:clear-results",title:"Clear Vision Results",keywords:["vision","clear","reset","results","screenshots","history"],category:"Vision",subtitle:"Clear all vision analysis results and screenshot history",icon:"trash",hideFromAllCategory:!0,execute:i=>{i.getState().clearVisionResults(),i.closeCommandPalette()}},{id:"vision:toggle-results-panel",title:"Toggle Vision Results Panel",keywords:["vision","results","panel","toggle","show","hide"],category:"Vision",subtitle:"Show or hide the vision analysis results panel",icon:"panel",hideFromAllCategory:!0,execute:i=>{const l=i.getState();l.showResultsPanel?l.setShowResultsPanel(!1):(l.setShowResultsPanel(!0),l.setActiveResultsTab("vision")),i.closeCommandPalette()}},{id:"vision:show-screenshot-gallery",title:"Show Screenshot Gallery",keywords:["vision","screenshots","gallery","history","captures"],category:"Vision",subtitle:"View captured screenshots and their analysis results",icon:"image",hideFromAllCategory:!0,isAvailable:i=>{const l=i;return l.screenshotHistory&&l.screenshotHistory.size>0},execute:i=>{const l=i.getState();l.setShowResultsPanel(!0),l.setActiveResultsTab("vision"),i.closeCommandPalette()}},{id:"vision:enable-auto-analyze",title:"Enable Auto Vision Analysis",keywords:["vision","auto","analyze","automatic","route","change"],category:"Vision",subtitle:"Automatically analyze pages on route change",hideFromAllCategory:!0,isAvailable:i=>!i.autoScanSettings?.vision?.onRouteChange,execute:i=>{i.getState().updateAutoScanSettings({vision:{onRouteChange:!0}}),i.closeCommandPalette()}},{id:"vision:disable-auto-analyze",title:"Disable Auto Vision Analysis",keywords:["vision","auto","analyze","automatic","route","change","disable"],category:"Vision",subtitle:"Stop automatic analysis on route change",hideFromAllCategory:!0,isAvailable:i=>i.autoScanSettings?.vision?.onRouteChange===!0,execute:i=>{i.getState().updateAutoScanSettings({vision:{onRouteChange:!1}}),i.closeCommandPalette()}}],Iv={onRouteChange:!1,onInitialLoad:!1},sw="data-loc",Bj=new Set(["SCRIPT","STYLE","SVG","PATH","CIRCLE","RECT","LINE","POLYGON","POLYLINE","ELLIPSE","NOSCRIPT","TEMPLATE","SLOT"]),Yj=3,A5=100;function qj(i){const l=i.tagName.toUpperCase(),u=i.getAttribute("role");if(u)return u;switch(l){case"BUTTON":return"button";case"A":return"link";case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":return"heading";case"INPUT":{const c=i.type;return c==="submit"||c==="button"?"button":c==="checkbox"?"checkbox":c==="radio"?"radio":"textbox"}case"TEXTAREA":return"textbox";case"SELECT":return"combobox";case"IMG":return"img";case"NAV":return"navigation";case"MAIN":return"main";case"HEADER":return"banner";case"FOOTER":return"contentinfo";case"ASIDE":return"complementary";case"ARTICLE":return"article";case"SECTION":return"region";case"FORM":return"form";case"TABLE":return"table";case"UL":case"OL":return"list";case"LI":return"listitem";default:return}}function Gj(i){const l=i.innerText?.trim();if(l)return l.length>A5?l.slice(0,A5)+"…":l;const u=i.getAttribute("aria-label");if(u)return u;const c=i.getAttribute("title");if(c)return c;const p=i.getAttribute("placeholder");if(p)return p;const m=i.getAttribute("alt");return m||""}function Xj(i){const l=i,u=window.getComputedStyle(l);if(u.display==="none"||u.visibility==="hidden"||u.opacity==="0")return!1;const c=i.getBoundingClientRect();return!(c.width===0&&c.height===0||c.bottom<-100||c.top>window.innerHeight+100||c.right<-100||c.left>window.innerWidth+100)}function Qj(i,l){const u=i.left+i.width,c=i.top+i.height,p=l.x+l.width,m=l.y+l.height;return!(i.left>p||u<l.x||i.top>m||c<l.y)}function Zj(i=document.body,l){const u=[],c=new Map,p=new Map,m=window.scrollX||window.pageXOffset||0,y=window.scrollY||window.pageYOffset||0,x=i.querySelectorAll(`[${sw}]`);for(const S of x){if(S.closest("[data-ui-lint]")||Bj.has(S.tagName)||!Xj(S))continue;const E=S.getBoundingClientRect();if(l&&!Qj(E,l))continue;let T=S.getAttribute(sw);if(!T)continue;if(T.startsWith("loc:")){T=T.slice(4);const Z=T.lastIndexOf("#");Z!==-1&&(T=T.slice(0,Z))}const A=c.get(T)||0;c.set(T,A+1);let R=p.get(T);if(R||(R=[],p.set(T,R)),R.length>=Yj)continue;const j=Gj(S),B=S.getAttribute(sw)||`loc:${T}#${A}`;let X;l?X={x:E.x-l.x,y:E.y-l.y,width:E.width,height:E.height}:X={x:E.x+m,y:E.y+y,width:E.width,height:E.height};const q={id:B,text:j,dataLoc:T,rect:X,tagName:S.tagName.toLowerCase(),role:qj(S)};R.push(q)}for(const[S,E]of p){const T=c.get(S)||E.length;E.forEach((A,R)=>{R===0&&T>E.length&&(A.instanceCount=T),u.push(A)})}return u}async function $j(){const i=await Promise.resolve().then(()=>P5).catch(()=>null);if(!i)throw new Error("Screenshot capture unavailable: `html-to-image` failed to load (check the uilint-react bundle/deps)");try{return await i.toPng(document.body,{pixelRatio:1,cacheBust:!0,filter:u=>!(u instanceof Element&&u.closest("[data-ui-lint]"))})}catch(l){const c=(l instanceof Error?l:new Error(String(l))).message||"Unknown error",p=/tainted|cross[- ]origin|CORS|security/i.test(c)?" Hint: this is often caused by cross-origin images/fonts; try removing external images or ensuring they allow CORS.":"";throw new Error(`Screenshot capture failed (html-to-image): ${c}.${p}`)}}async function Kj(i){const l=await Promise.resolve().then(()=>P5).catch(()=>null);if(!l)throw new Error("Screenshot capture unavailable: `html-to-image` failed to load (check the uilint-react bundle/deps)");try{const u=await l.toPng(document.body,{pixelRatio:1,cacheBust:!0,filter:y=>!(y instanceof Element&&y.closest("[data-ui-lint]"))}),c=window.scrollX||window.pageXOffset||0,p=window.scrollY||window.pageYOffset||0,m={x:i.x+c,y:i.y+p,width:i.width,height:i.height};return await Ij(u,m)}catch(u){const p=(u instanceof Error?u:new Error(String(u))).message||"Unknown error",m=/tainted|cross[- ]origin|CORS|security/i.test(p)?" Hint: this is often caused by cross-origin images/fonts; try removing external images or ensuring they allow CORS.":"";throw new Error(`Screenshot capture failed (html-to-image): ${p}.${m}`)}}async function Ij(i,l){return new Promise((u,c)=>{const p=new Image;p.onload=()=>{try{const m=document.createElement("canvas");m.width=l.width,m.height=l.height;const y=m.getContext("2d");if(!y){c(new Error("Failed to get canvas context"));return}y.drawImage(p,l.x,l.y,l.width,l.height,0,0,l.width,l.height);const x=m.toDataURL("image/png");u(x)}catch(m){c(new Error(`Failed to crop image: ${m instanceof Error?m.message:String(m)}`))}},p.onerror=()=>{c(new Error("Failed to load image for cropping"))},p.src=i})}function Jj(){return window.location.pathname.replace(/\/+$/,"")||"/"}const Fj={visionAvailable:!1,visionAnalyzing:!1,visionProgressPhase:null,visionLastError:null,visionResult:null,visionIssuesCache:new Map,screenshotHistory:new Map,selectedScreenshotId:null,visionCurrentRoute:null,highlightedVisionElementId:null,captureMode:"full",regionSelectionActive:!1,selectedRegion:null,autoScanSettings:Iv,loadingPersistedScreenshots:!1,persistedScreenshotsFetched:!1},C5="uilint:visionAutoScanSettings";function Pj(){if(typeof window>"u")return Iv;try{const i=localStorage.getItem(C5);if(i){const l=JSON.parse(i);return{...Iv,...l}}}catch(i){_e("[Vision Plugin] Failed to load auto-scan settings:",i)}return Iv}function Wj(i){if(!(typeof window>"u"))try{localStorage.setItem(C5,JSON.stringify(i))}catch(l){_e("[Vision Plugin] Failed to save auto-scan settings:",l)}}function tU(i,l){return{...Fj,autoScanSettings:Pj(),setVisionAvailable:u=>i({visionAvailable:u}),triggerVisionAnalysis:async()=>{_e("[Vision Plugin] triggerVisionAnalysis called without integration")},clearVisionResults:()=>i({visionResult:null,visionIssuesCache:new Map,screenshotHistory:new Map,selectedScreenshotId:null,visionAnalyzing:!1,visionProgressPhase:null,highlightedVisionElementId:null,visionLastError:null}),clearVisionLastError:()=>i({visionLastError:null}),setHighlightedVisionElementId:u=>i({highlightedVisionElementId:u}),setCaptureMode:u=>i({captureMode:u}),setRegionSelectionActive:u=>i({regionSelectionActive:u}),setSelectedRegion:u=>i({selectedRegion:u}),setSelectedScreenshotId:u=>{const c=l();if(!u){i({selectedScreenshotId:null});return}const p=c.screenshotHistory.get(u);if(!p){i({selectedScreenshotId:u});return}if(p.issues&&p.issues.length>0){const m=new Map(c.visionIssuesCache);m.set(p.route,p.issues),i({selectedScreenshotId:u,visionIssuesCache:m})}else i({selectedScreenshotId:u})},fetchPersistedScreenshots:async()=>{const u=l();if(!(u.loadingPersistedScreenshots||u.persistedScreenshotsFetched)){i({loadingPersistedScreenshots:!0});try{const c=await fetch("/api/.uilint/screenshots?list=true");if(!c.ok){_e("[Vision Plugin] Failed to fetch screenshots:",c.statusText);return}const p=await c.json(),{screenshots:m}=p;if(!m||m.length===0)return;const y=[];for(const T of m){const{filename:A,metadata:R}=T,j=`capture_${A.replace(/\.[^.]+$/,"")}`,B=R?.route||R?.analysisResult?.route||"/",X=R?.timestamp||Date.now(),q=R?.issues||R?.analysisResult?.issues||[],Z={id:j,route:B,filename:A,timestamp:X,type:"full",persisted:!0,issues:q.length>0?q:void 0};y.push(Z)}const x=l(),S=new Map(x.screenshotHistory),E=new Map(x.visionIssuesCache);for(const T of y){const A=S.get(T.id);(!A||!A.dataUrl)&&S.set(T.id,T),T.issues&&T.issues.length>0&&!E.has(T.route)&&E.set(T.route,T.issues)}i({screenshotHistory:S,visionIssuesCache:E})}catch(c){_e("[Vision Plugin] Error fetching persisted screenshots:",c)}finally{i({loadingPersistedScreenshots:!1,persistedScreenshotsFetched:!0})}}},updateVisionAutoScanSettings:u=>{const p={...l().autoScanSettings,...u};Wj(p),i({autoScanSettings:p})},setVisionAnalyzing:u=>i({visionAnalyzing:u}),setVisionProgressPhase:u=>i({visionProgressPhase:u}),setVisionLastError:u=>i({visionLastError:u}),setVisionResult:u=>i({visionResult:u}),updateVisionIssuesCache:(u,c)=>{const p=l(),m=new Map(p.visionIssuesCache);m.set(u,c),i({visionIssuesCache:m})},addScreenshotToHistory:u=>{const c=l(),p=new Map(c.screenshotHistory);p.set(u.id,u),i({screenshotHistory:p,selectedScreenshotId:u.id})},updateScreenshotInHistory:(u,c)=>{const p=l(),m=new Map(p.screenshotHistory),y=m.get(u);y&&(m.set(u,{...y,...c}),i({screenshotHistory:m}))},setVisionCurrentRoute:u=>i({visionCurrentRoute:u})}}const eU=1e4;function nU(i){return async()=>{const{websocket:l,getState:u}=i,c=u(),p=Jj();try{c.setVisionAnalyzing(!0),c.setVisionProgressPhase("capturing"),c.setVisionCurrentRoute(p);const{captureMode:m,selectedRegion:y}=c,x=m==="region"&&y!==null;let S;x&&y?S=await Kj(y):S=await $j();const E=Zj(document.body,x&&y?y:void 0),T=Date.now(),A=`capture_${T}`;c.addScreenshotToHistory({id:A,route:p,dataUrl:S,timestamp:T,type:x?"region":"full",region:x&&y?y:void 0}),x&&(c.setRegionSelectionActive(!1),c.setSelectedRegion(null)),c.setVisionProgressPhase("saving");const R=await new Promise((j,B)=>{const X=setTimeout(()=>{q(),B(new Error("Timeout waiting for screenshot:saved response"))},eU),q=l.on("screenshot:saved",Z=>{clearTimeout(X),q();const W=Z;W.error?B(new Error(W.error)):W.filename?j(W.filename):B(new Error("Invalid screenshot:saved response"))});l.send({type:"screenshot:save",dataUrl:S,route:p,timestamp:T})});c.setVisionProgressPhase("analyzing"),l.send({type:"vision:analyze",route:p,timestamp:T,screenshot:S,screenshotFile:R,manifest:E})}catch(m){const y=m instanceof Error?m.message:String(m),x=y.includes("Timeout")||y.includes("websocket")?"ws":(y.includes("capture")||y.includes("Screenshot capture"),"capture");c.setVisionLastError({stage:x,message:y,route:p,timestamp:Date.now()}),c.setVisionAnalyzing(!1),c.setVisionProgressPhase(null)}}}const R5=kn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},kn.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),kn.createElement("circle",{cx:"12",cy:"13",r:"4"})),aU=kn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},kn.createElement("path",{d:"M6.13 1L6 16a2 2 0 0 0 2 2h15"}),kn.createElement("path",{d:"M1 6.13L16 6a2 2 0 0 1 2 2v15"})),iU={id:"vision:capture-group",icon:R5,tooltip:"Vision Capture",priority:100,isVisible:i=>i.plugins?.vision?.visionAvailable===!0,actions:[{id:"vision:capture-full-page",icon:R5,tooltip:"Capture Full Page",shortcut:"⌘⇧C",priority:100,isVisible:i=>i.plugins?.vision?.visionAvailable===!0,onClick:async i=>{const u=i.getState().plugins.vision;u.setCaptureMode("full"),u.setRegionSelectionActive(!1),u.setSelectedRegion(null),await u.triggerVisionAnalysis()}},{id:"vision:capture-region",icon:aU,tooltip:"Capture Region",shortcut:"⌘⇧R",priority:90,isVisible:i=>i.plugins?.vision?.visionAvailable===!0,onClick:i=>{const u=i.getState().plugins.vision;u.setCaptureMode("region"),u.setRegionSelectionActive(!0),u.setSelectedRegion(null)}}]};function oU(i){const u=new Date(i.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return`${i.type==="region"?"Region":"Full Page"} • ${u}`}const lU={id:"vision",name:"Vision Analysis",version:"1.0.0",description:"AI-powered visual consistency analysis",meta:{id:"vision",name:"Vision Analysis",version:"1.0.0",description:"AI-powered visual consistency analysis",icon:"eye"},createSlice:i=>{let l;return l=tU(p=>{l={...l,...p},i.setState(p)},()=>l),l},commands:T5,toolbarActionGroups:[iU],inspectorPanels:[],ruleContributions:[{ruleId:"semantic-vision"}],handlesRules:i=>i.id==="semantic-vision"||i.id.includes("vision")||i.category==="vision",getIssues:i=>{const l=i,u=new Map;for(const[c,p]of l.visionIssuesCache)for(const m of p)if(m.dataLoc){const y=u.get(m.dataLoc)||[];y.push({id:`vision:${c}:${m.elementText}:${m.category}`,message:m.message,severity:m.severity,dataLoc:m.dataLoc,ruleId:"semantic-vision",metadata:{elementText:m.elementText,category:m.category,route:c}}),u.set(m.dataLoc,y)}return{pluginId:"vision",issues:u}},getPaletteItems:i=>{const l=[],u=i.getState(),c=u.plugins?.vision,p={...u,screenshotHistory:c?.screenshotHistory??new Map,autoScanSettings:u.autoScanSettings??{vision:{onRouteChange:!1}}};for(const y of T5)y.isAvailable&&!y.isAvailable(p)||l.push({id:y.id,title:y.title,subtitle:y.subtitle,keywords:["Command","Vision",...y.keywords],execute:y.execute,metadata:{isCommand:!0}});const m=c?.screenshotHistory;if(m&&m.size>0){const y=Array.from(m.values());y.sort((x,S)=>S.timestamp-x.timestamp);for(const x of y){const S=x.issues?.length??0,E=S>0,T=E?`${x.route} • ${S} issue${S>1?"s":""}`:x.route;l.push({id:`vision:capture:${x.id}`,title:oU(x),subtitle:T,keywords:["Vision","Capture",x.type==="region"?"Region":"Full Page",x.route,...E?["Issues"]:[]],execute:A=>{A.getState().plugins?.vision?.setSelectedScreenshotId(x.id),A.openInspector("capture",{capture:x}),A.closeCommandPalette()},metadata:{captureId:x.id,route:x.route,timestamp:x.timestamp,type:x.type,issueCount:S,providerId:"vision"}})}}return l},initialize:i=>{const{websocket:l}=i,u=nU(i);i.setState({triggerVisionAnalysis:u});const c=l.on("vision:result",x=>{const S=x,E=i.getState();E.updateVisionIssuesCache(S.route,S.issues),E.setVisionResult({route:S.route,timestamp:Date.now(),manifest:[],issues:S.issues,analysisTime:S.analysisTime,error:S.error}),E.selectedScreenshotId&&E.updateScreenshotInHistory(E.selectedScreenshotId,{issues:S.issues}),E.setVisionAnalyzing(!1),E.setVisionProgressPhase(null),S.error&&E.setVisionLastError({stage:"vision",message:S.error,route:S.route,timestamp:Date.now()})}),p=l.on("vision:progress",x=>{const S=x;i.getState().setVisionProgressPhase(S.phase)}),m=l.on("vision:status",x=>{const S=x;i.getState().setVisionAvailable(S.available)}),y=l.onConnectionChange(x=>{const S=i.getState();x?l.send({type:"vision:check"}):S.setVisionAvailable(!1)});return()=>{c(),p(),m(),y()}}};function rU(i){const l=new Map;for(const u of i){const c=u.filePath||"unknown",p=l.get(c)||[];p.push(u),l.set(c,p)}for(const[u,c]of l)l.set(u,c.sort((p,m)=>p.line-m.line));return l}function sU(i,l,u){const c=Array.from(i.values()).reduce((y,x)=>y+x.length,0),p=i.size;if(c===0)return"No lint issues found on the current page.";const m=[];if(m.push("# Fix Lint Issues"),m.push(""),m.push(`There are **${c} lint issue${c===1?"":"s"}** across **${p} file${p===1?"":"s"}** that need to be fixed.`),m.push(""),m.push("## Instructions"),m.push(""),m.push("1. Fix ALL of the lint issues in the files listed below"),m.push("2. Do NOT ignore or suppress any issues with eslint-disable comments"),m.push("3. Do NOT skip any issues - each one must be properly addressed"),m.push("4. Run the linter after fixing to verify all issues are resolved"),m.push("5. If an issue cannot be fixed without breaking functionality, explain why and propose an alternative solution"),m.push(""),u){m.push("## Affected Files"),m.push(""),m.push("The following files have lint issues. When you edit each file, you will receive the specific lint errors automatically."),m.push("");for(const[y,x]of i){const S=l&&y.startsWith(l)?y.slice(l.length+1):y;m.push(`- \`${S}\` (${x.length} issue${x.length===1?"":"s"})`)}m.push(""),m.push("---"),m.push(""),m.push("Open each file above and fix all reported lint issues. The linter will provide specific error details when you edit each file.")}else{m.push("## Affected Files"),m.push("");for(const[y,x]of i){const S=l&&y.startsWith(l)?y.slice(l.length+1):y;m.push(`### ${S}`),m.push("");for(const E of x){const T=E.column?`Line ${E.line}, Column ${E.column}`:`Line ${E.line}`,A=E.severity==="error"?"ERROR":"WARNING",R=E.ruleId?` (${E.ruleId})`:"";m.push(`- **[${A}]** ${T}${R}`),m.push(` ${E.message}`)}m.push("")}m.push("---"),m.push(""),m.push(`Please fix all ${c} issues listed above. Do not use eslint-disable comments or any other method to suppress warnings. Each issue must be properly resolved.`)}return m.join(`
251
+ `),()=>{Z.contains(q)&&Z.removeChild(q)}},[l]),z.jsx($_,{isPresent:l,childRef:m,sizeRef:y,children:K.cloneElement(i,{ref:E})})}const I_=({children:i,initial:l,isPresent:u,onExitComplete:c,custom:p,presenceAffectsLayout:m,mode:y,anchorX:x,root:S})=>{const E=Dx(J_),T=K.useId();let A=!0,R=K.useMemo(()=>(A=!1,{id:T,initial:l,isPresent:u,custom:p,onExitComplete:j=>{E.set(j,!0);for(const B of E.values())if(!B)return;c&&c()},register:j=>(E.set(j,!1),()=>E.delete(j))}),[u,E,c]);return m&&A&&(R={...R}),K.useMemo(()=>{E.forEach((j,B)=>E.set(B,!1))},[u]),K.useEffect(()=>{!u&&!E.size&&c&&c()},[u]),y==="popLayout"&&(i=z.jsx(K_,{isPresent:u,anchorX:x,root:S,children:i})),z.jsx(wv.Provider,{value:R,children:i})};function J_(){return new Map}function eC(i=!0){const l=K.useContext(wv);if(l===null)return[!0,null];const{isPresent:u,onExitComplete:c,register:p}=l,m=K.useId();K.useEffect(()=>{if(i)return p(m)},[i]);const y=K.useCallback(()=>i&&c&&c(m),[m,c,i]);return!u&&c?[!1,y]:[!0]}const Nv=i=>i.key||"";function nC(i){const l=[];return K.Children.forEach(i,u=>{K.isValidElement(u)&&l.push(u)}),l}const Li=({children:i,custom:l,initial:u=!0,onExitComplete:c,presenceAffectsLayout:p=!0,mode:m="sync",propagate:y=!1,anchorX:x="left",root:S})=>{const[E,T]=eC(y),A=K.useMemo(()=>nC(i),[i]),R=y&&!E?[]:A.map(Nv),j=K.useRef(!0),B=K.useRef(A),X=Dx(()=>new Map),q=K.useRef(new Set),[Z,W]=K.useState(A),[rt,ct]=K.useState(A);ME(()=>{j.current=!1,B.current=A;for(let bt=0;bt<rt.length;bt++){const ot=Nv(rt[bt]);R.includes(ot)?(X.delete(ot),q.current.delete(ot)):X.get(ot)!==!0&&X.set(ot,!1)}},[rt,R.length,R.join("-")]);const xt=[];if(A!==Z){let bt=[...A];for(let ot=0;ot<rt.length;ot++){const jt=rt[ot],St=Nv(jt);R.includes(St)||(bt.splice(ot,0,jt),xt.push(jt))}return m==="wait"&&xt.length&&(bt=xt),ct(nC(bt)),W(A),null}process.env.NODE_ENV!=="production"&&m==="wait"&&rt.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:Tt}=K.useContext(Rx);return z.jsx(z.Fragment,{children:rt.map(bt=>{const ot=Nv(bt),jt=y&&!E?!1:A===rt||R.includes(ot),St=()=>{if(q.current.has(ot))return;if(q.current.add(ot),X.has(ot))X.set(ot,!0);else return;let oe=!0;X.forEach(Mt=>{Mt||(oe=!1)}),oe&&(Tt?.(),ct(B.current),y&&T?.(),c&&c())};return z.jsx(I_,{isPresent:jt,initial:!j.current||u?void 0:!1,custom:l,presenceAffectsLayout:p,mode:m,root:S,onExitComplete:jt?void 0:St,anchorX:x,children:bt},ot)})})},aC=K.createContext({strict:!1}),iC={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 oC=!1;function F_(){if(oC)return;const i={};for(const l in iC)i[l]={isEnabled:u=>iC[l].some(c=>!!u[c])};WT(i),oC=!0}function lC(){return F_(),NO()}function P_(i){const l=lC();for(const u in i)l[u]={...l[u],...i[u]};WT(l)}const W_=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 Hv(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||W_.has(i)}let rC=i=>!Hv(i);function tk(i){typeof i=="function"&&(rC=l=>l.startsWith("on")?!Hv(l):i(l))}try{tk(require("@emotion/is-prop-valid").default)}catch{}function ek(i,l,u){const c={};for(const p in i)p==="values"&&typeof i.values=="object"||(rC(p)||u===!0&&Hv(p)||!l&&!Hv(p)||i.draggable&&p.startsWith("onDrag"))&&(c[p]=i[p]);return c}const Vv=K.createContext({});function nk(i,l){if(Ov(i)){const{initial:u,animate:c}=i;return{initial:u===!1||og(u)?u:void 0,animate:og(c)?c:void 0}}return i.inherit!==!1?l:{}}function ak(i){const{initial:l,animate:u}=nk(i,K.useContext(Vv));return K.useMemo(()=>({initial:l,animate:u}),[sC(l),sC(u)])}function sC(i){return Array.isArray(i)?i.join(" "):i}const US=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uC(i,l,u){for(const c in l)!Ja(l[c])&&!dA(c,u)&&(i[c]=l[c])}function ik({transformTemplate:i},l){return K.useMemo(()=>{const u=US();return DS(u,l,i),Object.assign({},u.vars,u.style)},[l])}function ok(i,l){const u=i.style||{},c={};return uC(c,u,i),Object.assign(c,ik(i,l)),c}function lk(i,l){const u={},c=ok(i,l);return i.drag&&i.dragListener!==!1&&(u.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(u.tabIndex=0),u.style=c,u}const cC=()=>({...US(),attrs:{}});function rk(i,l,u,c){const p=K.useMemo(()=>{const m=cC();return hA(m,l,mA(c),i.transformTemplate,i.style),{...m.attrs,style:{...m.style}}},[l]);if(i.style){const m={};uC(m,i.style,i),p.style={...m,...p.style}}return p}const sk=["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 LS(i){return typeof i!="string"||i.includes("-")?!1:!!(sk.indexOf(i)>-1||/[A-Z]/u.test(i))}function uk(i,l,u,{latestValues:c},p,m=!1,y){const S=(y??LS(i)?rk:lk)(l,c,p,i),E=ek(l,typeof i=="string",m),T=i!==K.Fragment?{...E,...S,ref:u}:{},{children:A}=l,R=K.useMemo(()=>Ja(A)?A.get():A,[A]);return K.createElement(i,{...T,children:R})}function ck({scrapeMotionValuesFromProps:i,createRenderState:l},u,c,p){return{latestValues:fk(u,c,p,i),renderState:l()}}function fk(i,l,u,c){const p={},m=c(i,{});for(const R in m)p[R]=Uv(m[R]);let{initial:y,animate:x}=i;const S=Ov(i),E=FT(i);l&&E&&!S&&i.inherit!==!1&&(y===void 0&&(y=l.initial),x===void 0&&(x=l.animate));let T=u?u.initial===!1:!1;T=T||y===!1;const A=T?x:y;if(A&&typeof A!="boolean"&&!zv(A)){const R=Array.isArray(A)?A:[A];for(let j=0;j<R.length;j++){const B=dS(i,R[j]);if(B){const{transitionEnd:X,transition:q,...Z}=B;for(const W in Z){let rt=Z[W];if(Array.isArray(rt)){const ct=T?rt.length-1:0;rt=rt[ct]}rt!==null&&(p[W]=rt)}for(const W in X)p[W]=X[W]}}}return p}const fC=i=>(l,u)=>{const c=K.useContext(Vv),p=K.useContext(wv),m=()=>ck(i,l,c,p);return u?m():Dx(m)},dk=fC({scrapeMotionValuesFromProps:zS,createRenderState:US}),hk=fC({scrapeMotionValuesFromProps:gA,createRenderState:cC}),pk=Symbol.for("motionComponentSymbol");function mk(i,l,u){const c=K.useRef(u);K.useInsertionEffect(()=>{c.current=u});const p=K.useRef(null);return K.useCallback(m=>{m&&i.onMount?.(m),l&&(m?l.mount(m):l.unmount());const y=c.current;if(typeof y=="function")if(m){const x=y(m);typeof x=="function"&&(p.current=x)}else p.current?(p.current(),p.current=null):y(m);else y&&(y.current=m)},[l])}const dC=K.createContext({});function ug(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function gk(i,l,u,c,p,m){const{visualElement:y}=K.useContext(Vv),x=K.useContext(aC),S=K.useContext(wv),E=K.useContext(jS).reducedMotion,T=K.useRef(null);c=c||x.renderer,!T.current&&c&&(T.current=c(i,{visualState:l,parent:y,props:u,presenceContext:S,blockInitialAnimation:S?S.initial===!1:!1,reducedMotionConfig:E,isSVG:m}));const A=T.current,R=K.useContext(dC);A&&!A.projection&&p&&(A.type==="html"||A.type==="svg")&&yk(T.current,u,p,R);const j=K.useRef(!1);K.useInsertionEffect(()=>{A&&j.current&&A.update(u,S)});const B=u[MT],X=K.useRef(!!B&&!window.MotionHandoffIsComplete?.(B)&&window.MotionHasOptimisedAnimation?.(B));return ME(()=>{A&&(j.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),X.current&&A.animationState&&A.animationState.animateChanges())}),K.useEffect(()=>{A&&(!X.current&&A.animationState&&A.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(B)}),X.current=!1),A.enteringChildren=void 0)}),A}function yk(i,l,u,c){const{layoutId:p,layout:m,drag:y,dragConstraints:x,layoutScroll:S,layoutRoot:E,layoutCrossfade:T}=l;i.projection=new u(i.latestValues,l["data-framer-portal-id"]?void 0:hC(i.parent)),i.projection.setOptions({layoutId:p,layout:m,alwaysMeasureLayout:!!y||x&&ug(x),visualElement:i,animationType:typeof m=="string"?m:"both",initialPromotionConfig:c,crossfade:T,layoutScroll:S,layoutRoot:E})}function hC(i){if(i)return i.options.allowProjection!==!1?i.projection:hC(i.parent)}function NS(i,{forwardMotionProps:l=!1,type:u}={},c,p){c&&P_(c);const m=u?u==="svg":LS(i),y=m?hk:dk;function x(E,T){let A;const R={...K.useContext(jS),...E,layoutId:vk(E)},{isStatic:j}=R,B=ak(E),X=y(E,j);if(!j&&DE){bk(R,c);const q=xk(R);A=q.MeasureLayout,B.visualElement=gk(i,X,R,p,q.ProjectionNode,m)}return z.jsxs(Vv.Provider,{value:B,children:[A&&B.visualElement?z.jsx(A,{visualElement:B.visualElement,...R}):null,uk(i,E,mk(X,B.visualElement,T),X,j,l,m)]})}x.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const S=K.forwardRef(x);return S[pk]=i,S}function vk({layoutId:i}){const l=K.useContext(Rx).id;return l&&i!==void 0?l+"-"+i:i}function bk(i,l){const u=K.useContext(aC).strict;if(process.env.NODE_ENV!=="production"&&l&&u){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?oh(!1,c,"lazy-strict-mode"):is(!1,c,"lazy-strict-mode")}}function xk(i){const l=lC(),{drag:u,layout:c}=l;if(!u&&!c)return{};const p={...u,...c};return{MeasureLayout:u?.isEnabled(i)||c?.isEnabled(i)?p.MeasureLayout:void 0,ProjectionNode:p.ProjectionNode}}function Sk(i,l){if(typeof Proxy>"u")return NS;const u=new Map,c=(m,y)=>NS(m,y,i,l),p=(m,y)=>(process.env.NODE_ENV!=="production"&&jx(!1,"motion() is deprecated. Use motion.create() instead."),c(m,y));return new Proxy(p,{get:(m,y)=>y==="create"?c:(u.has(y)||u.set(y,NS(y,void 0,i,l)),u.get(y))})}const wk=(i,l)=>l.isSVG??LS(i)?new t_(l):new KO(l,{allowProjection:i!==K.Fragment});class Ek extends wu{constructor(l){super(l),l.animationState||(l.animationState=o_(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();zv(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:u}=this.node.prevProps||{};l!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Tk=0;class Ak extends wu{constructor(){super(...arguments),this.id=Tk++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:u}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===c)return;const p=this.node.animationState.setActive("exit",!l);u&&!l&&p.then(()=>{u(this.id)})}mount(){const{register:l,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const Ck={animation:{Feature:Ek},exit:{Feature:Ak}};function cg(i){return{point:{x:i.pageX,y:i.pageY}}}const Rk=i=>l=>xS(l)&&i(l,cg(l));function fg(i,l,u,c){return sg(i,l,Rk(u),c)}const pC=({current:i})=>i?i.ownerDocument.defaultView:null,mC=(i,l)=>Math.abs(i-l);function Dk(i,l){const u=mC(i.x,l.x),c=mC(i.y,l.y);return Math.sqrt(u**2+c**2)}const gC=new Set(["auto","scroll"]);class yC{constructor(l,u,{transformPagePoint:c,contextWindow:p=window,dragSnapToOrigin:m=!1,distanceThreshold:y=3,element:x}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=j=>{this.handleScroll(j.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=VS(this.lastMoveEventInfo,this.history),B=this.startEvent!==null,X=Dk(j.offset,{x:0,y:0})>=this.distanceThreshold;if(!B&&!X)return;const{point:q}=j,{timestamp:Z}=za;this.history.push({...q,timestamp:Z});const{onStart:W,onMove:rt}=this.handlers;B||(W&&W(this.lastMoveEvent,j),this.startEvent=this.lastMoveEvent),rt&&rt(this.lastMoveEvent,j)},this.handlePointerMove=(j,B)=>{this.lastMoveEvent=j,this.lastMoveEventInfo=HS(B,this.transformPagePoint),mn.update(this.updatePoint,!0)},this.handlePointerUp=(j,B)=>{this.end();const{onEnd:X,onSessionEnd:q,resumeAnimation:Z}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Z&&Z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const W=VS(j.type==="pointercancel"?this.lastMoveEventInfo:HS(B,this.transformPagePoint),this.history);this.startEvent&&X&&X(j,W),q&&q(j,W)},!xS(l))return;this.dragSnapToOrigin=m,this.handlers=u,this.transformPagePoint=c,this.distanceThreshold=y,this.contextWindow=p||window;const S=cg(l),E=HS(S,this.transformPagePoint),{point:T}=E,{timestamp:A}=za;this.history=[{...T,timestamp:A}];const{onSessionStart:R}=u;R&&R(l,VS(E,this.history)),this.removeListeners=Fm(fg(this.contextWindow,"pointermove",this.handlePointerMove),fg(this.contextWindow,"pointerup",this.handlePointerUp),fg(this.contextWindow,"pointercancel",this.handlePointerUp)),x&&this.startScrollTracking(x)}startScrollTracking(l){let u=l.parentElement;for(;u;){const c=getComputedStyle(u);(gC.has(c.overflowX)||gC.has(c.overflowY))&&this.scrollPositions.set(u,{x:u.scrollLeft,y:u.scrollTop}),u=u.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(l){const u=this.scrollPositions.get(l);if(!u)return;const c=l===window,p=c?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},m={x:p.x-u.x,y:p.y-u.y};m.x===0&&m.y===0||(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=m.x,this.lastMoveEventInfo.point.y+=m.y):this.history.length>0&&(this.history[0].x-=m.x,this.history[0].y-=m.y),this.scrollPositions.set(l,p),mn.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),vu(this.updatePoint)}}function HS(i,l){return l?{point:l(i.point)}:i}function vC(i,l){return{x:i.x-l.x,y:i.y-l.y}}function VS({point:i},l){return{point:i,delta:vC(i,bC(l)),offset:vC(i,Mk(l)),velocity:zk(l,.1)}}function Mk(i){return i[0]}function bC(i){return i[i.length-1]}function zk(i,l){if(i.length<2)return{x:0,y:0};let u=i.length-1,c=null;const p=bC(i);for(;u>=0&&(c=i[u],!(p.timestamp-c.timestamp>dr(l)));)u--;if(!c)return{x:0,y:0};const m=Uo(p.timestamp-c.timestamp);if(m===0)return{x:0,y:0};const y={x:(p.x-c.x)/m,y:(p.y-c.y)/m};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function Ok(i,{min:l,max:u},c){return l!==void 0&&i<l?i=c?An(l,i,c.min):Math.max(i,l):u!==void 0&&i>u&&(i=c?An(u,i,c.max):Math.min(i,u)),i}function xC(i,l,u){return{min:l!==void 0?i.min+l:void 0,max:u!==void 0?i.max+u-(i.max-i.min):void 0}}function _k(i,{top:l,left:u,bottom:c,right:p}){return{x:xC(i.x,u,p),y:xC(i.y,l,c)}}function SC(i,l){let u=l.min-i.min,c=l.max-i.max;return l.max-l.min<i.max-i.min&&([u,c]=[c,u]),{min:u,max:c}}function kk(i,l){return{x:SC(i.x,l.x),y:SC(i.y,l.y)}}function jk(i,l){let u=.5;const c=si(i),p=si(l);return p>c?u=Pm(l.min,l.max-c,i.min):c>p&&(u=Pm(i.min,i.max-p,l.min)),fr(0,1,u)}function Uk(i,l){const u={};return l.min!==void 0&&(u.min=l.min-i.min),l.max!==void 0&&(u.max=l.max-i.min),u}const BS=.35;function Lk(i=BS){return i===!1?i=0:i===!0&&(i=BS),{x:wC(i,"left","right"),y:wC(i,"top","bottom")}}function wC(i,l,u){return{min:EC(i,l),max:EC(i,u)}}function EC(i,l){return typeof i=="number"?i:i[l]||0}const Nk=new WeakMap;class Hk{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=da(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:u=!1,distanceThreshold:c}={}){const{presenceContext:p}=this.visualElement;if(p&&p.isPresent===!1)return;const m=A=>{u?(this.stopAnimation(),this.snapToCursor(cg(A).point)):this.pauseAnimation()},y=(A,R)=>{this.stopAnimation();const{drag:j,dragPropagation:B,onDragStart:X}=this.getProps();if(j&&!B&&(this.openDragLock&&this.openDragLock(),this.openDragLock=AO(j),!this.openDragLock))return;this.latestPointerEvent=A,this.latestPanInfo=R,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lo(Z=>{let W=this.getAxisMotionValue(Z).get()||0;if(hr.test(W)){const{projection:rt}=this.visualElement;if(rt&&rt.layout){const ct=rt.layout.layoutBox[Z];ct&&(W=si(ct)*(parseFloat(W)/100))}}this.originPoint[Z]=W}),X&&mn.postRender(()=>X(A,R)),pS(this.visualElement,"transform");const{animationState:q}=this.visualElement;q&&q.setActive("whileDrag",!0)},x=(A,R)=>{this.latestPointerEvent=A,this.latestPanInfo=R;const{dragPropagation:j,dragDirectionLock:B,onDirectionLock:X,onDrag:q}=this.getProps();if(!j&&!this.openDragLock)return;const{offset:Z}=R;if(B&&this.currentDirection===null){this.currentDirection=Vk(Z),this.currentDirection!==null&&X&&X(this.currentDirection);return}this.updateAxis("x",R.point,Z),this.updateAxis("y",R.point,Z),this.visualElement.render(),q&&q(A,R)},S=(A,R)=>{this.latestPointerEvent=A,this.latestPanInfo=R,this.stop(A,R),this.latestPointerEvent=null,this.latestPanInfo=null},E=()=>Lo(A=>this.getAnimationState(A)==="paused"&&this.getAxisMotionValue(A).animation?.play()),{dragSnapToOrigin:T}=this.getProps();this.panSession=new yC(l,{onSessionStart:m,onStart:y,onMove:x,onSessionEnd:S,resumeAnimation:E},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:T,distanceThreshold:c,contextWindow:pC(this.visualElement),element:this.visualElement.current})}stop(l,u){const c=l||this.latestPointerEvent,p=u||this.latestPanInfo,m=this.isDragging;if(this.cancel(),!m||!p||!c)return;const{velocity:y}=p;this.startAnimation(y);const{onDragEnd:x}=this.getProps();x&&mn.postRender(()=>x(c,p))}cancel(){this.isDragging=!1;const{projection:l,animationState:u}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(l,u,c){const{drag:p}=this.getProps();if(!c||!Bv(l,p,this.currentDirection))return;const m=this.getAxisMotionValue(l);let y=this.originPoint[l]+c[l];this.constraints&&this.constraints[l]&&(y=Ok(y,this.constraints[l],this.elastic[l])),m.set(y)}resolveConstraints(){const{dragConstraints:l,dragElastic:u}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,p=this.constraints;l&&ug(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&c?this.constraints=_k(c.layoutBox,l):this.constraints=!1,this.elastic=Lk(u),p!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Lo(m=>{this.constraints!==!1&&this.getAxisMotionValue(m)&&(this.constraints[m]=Uk(c.layoutBox[m],this.constraints[m]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:u}=this.getProps();if(!l||!ug(l))return!1;const c=l.current;is(c!==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:p}=this.visualElement;if(!p||!p.layout)return!1;const m=qO(c,p.root,this.visualElement.getTransformPagePoint());let y=kk(p.layout.layoutBox,m);if(u){const x=u(VO(y));this.hasMutatedConstraints=!!x,x&&(y=eA(x))}return y}startAnimation(l){const{drag:u,dragMomentum:c,dragElastic:p,dragTransition:m,dragSnapToOrigin:y,onDragTransitionEnd:x}=this.getProps(),S=this.constraints||{},E=Lo(T=>{if(!Bv(T,u,this.currentDirection))return;let A=S&&S[T]||{};y&&(A={min:0,max:0});const R=p?200:1e6,j=p?40:1e7,B={type:"inertia",velocity:c?l[T]:0,bounceStiffness:R,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...m,...A};return this.startAxisValueAnimation(T,B)});return Promise.all(E).then(x)}startAxisValueAnimation(l,u){const c=this.getAxisMotionValue(l);return pS(this.visualElement,l),c.start(fS(l,c,0,u,this.visualElement,!1))}stopAnimation(){Lo(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Lo(l=>this.getAxisMotionValue(l).animation?.pause())}getAnimationState(l){return this.getAxisMotionValue(l).animation?.state}getAxisMotionValue(l){const u=`_drag${l.toUpperCase()}`,c=this.visualElement.getProps(),p=c[u];return p||this.visualElement.getValue(l,(c.initial?c.initial[l]:void 0)||0)}snapToCursor(l){Lo(u=>{const{drag:c}=this.getProps();if(!Bv(u,c,this.currentDirection))return;const{projection:p}=this.visualElement,m=this.getAxisMotionValue(u);if(p&&p.layout){const{min:y,max:x}=p.layout.layoutBox[u],S=m.get()||0;m.set(l[u]-An(y,x,.5)+S)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:u}=this.getProps(),{projection:c}=this.visualElement;if(!ug(u)||!c||!this.constraints)return;this.stopAnimation();const p={x:0,y:0};Lo(y=>{const x=this.getAxisMotionValue(y);if(x&&this.constraints!==!1){const S=x.get();p[y]=jk({min:S,max:S},this.constraints[y])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Lo(y=>{if(!Bv(y,l,null))return;const x=this.getAxisMotionValue(y),{min:S,max:E}=this.constraints[y];x.set(An(S,E,p[y]))})}addListeners(){if(!this.visualElement.current)return;Nk.set(this.visualElement,this);const l=this.visualElement.current,u=fg(l,"pointerdown",S=>{const{drag:E,dragListener:T=!0}=this.getProps();E&&T&&!XT(S.target)&&this.start(S)}),c=()=>{const{dragConstraints:S}=this.getProps();ug(S)&&S.current&&(this.constraints=this.resolveRefConstraints())},{projection:p}=this.visualElement,m=p.addEventListener("measure",c);p&&!p.layout&&(p.root&&p.root.updateScroll(),p.updateLayout()),mn.read(c);const y=sg(window,"resize",()=>this.scalePositionWithinConstraints()),x=p.addEventListener("didUpdate",(({delta:S,hasLayoutChanged:E})=>{this.isDragging&&E&&(Lo(T=>{const A=this.getAxisMotionValue(T);A&&(this.originPoint[T]+=S[T].translate,A.set(A.get()+S[T].translate))}),this.visualElement.render())}));return()=>{y(),u(),m(),x&&x()}}getProps(){const l=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:c=!1,dragPropagation:p=!1,dragConstraints:m=!1,dragElastic:y=BS,dragMomentum:x=!0}=l;return{...l,drag:u,dragDirectionLock:c,dragPropagation:p,dragConstraints:m,dragElastic:y,dragMomentum:x}}}function Bv(i,l,u){return(l===!0||l===i)&&(u===null||u===i)}function Vk(i,l=10){let u=null;return Math.abs(i.y)>l?u="y":Math.abs(i.x)>l&&(u="x"),u}class Bk extends wu{constructor(l){super(l),this.removeGroupControls=jo,this.removeListeners=jo,this.controls=new Hk(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jo}update(){const{dragControls:l}=this.node.getProps(),{dragControls:u}=this.node.prevProps||{};l!==u&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const TC=i=>(l,u)=>{i&&mn.postRender(()=>i(l,u))};class Yk extends wu{constructor(){super(...arguments),this.removePointerDownListener=jo}onPointerDown(l){this.session=new yC(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pC(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:u,onPan:c,onPanEnd:p}=this.node.getProps();return{onSessionStart:TC(l),onStart:TC(u),onMove:c,onEnd:(m,y)=>{delete this.session,p&&mn.postRender(()=>p(m,y))}}}mount(){this.removePointerDownListener=fg(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let YS=!1;class qk extends K.Component{componentDidMount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:c,layoutId:p}=this.props,{projection:m}=l;m&&(u.group&&u.group.add(m),c&&c.register&&p&&c.register(m),YS&&m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,onExitComplete:()=>this.safeToRemove()})),Lv.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:u,visualElement:c,drag:p,isPresent:m}=this.props,{projection:y}=c;return y&&(y.isPresent=m,YS=!0,p||l.layoutDependency!==u||u===void 0||l.isPresent!==m?y.willUpdate():this.safeToRemove(),l.isPresent!==m&&(m?y.promote():y.relegate()||mn.postRender(()=>{const x=y.getStack();(!x||!x.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),bS.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:c}=this.props,{projection:p}=l;YS=!0,p&&(p.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(p),c&&c.deregister&&c.deregister(p))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function AC(i){const[l,u]=eC(),c=K.useContext(Rx);return z.jsx(qk,{...i,layoutGroup:c,switchLayoutGroup:K.useContext(dC),isPresent:l,safeToRemove:u})}const Gk={pan:{Feature:Yk},drag:{Feature:Bk,ProjectionNode:WA,MeasureLayout:AC}};function CC(i,l,u){const{props:c}=i;i.animationState&&c.whileHover&&i.animationState.setActive("whileHover",u==="Start");const p="onHover"+u,m=c[p];m&&mn.postRender(()=>m(l,cg(l)))}class Xk extends wu{mount(){const{current:l}=this.node;l&&(this.unmount=CO(l,(u,c)=>(CC(this.node,c,"Start"),p=>CC(this.node,p,"End"))))}unmount(){}}class Qk extends wu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=Fm(sg(this.node.current,"focus",()=>this.onFocus()),sg(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function RC(i,l,u){const{props:c}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&c.whileTap&&i.animationState.setActive("whileTap",u==="Start");const p="onTap"+(u==="End"?"":u),m=c[p];m&&mn.postRender(()=>m(l,cg(l)))}class Zk extends wu{mount(){const{current:l}=this.node;l&&(this.unmount=MO(l,(u,c)=>(RC(this.node,c,"Start"),(p,{success:m})=>RC(this.node,p,m?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const qS=new WeakMap,GS=new WeakMap,$k=i=>{const l=qS.get(i.target);l&&l(i)},Kk=i=>{i.forEach($k)};function Ik({root:i,...l}){const u=i||document;GS.has(u)||GS.set(u,{});const c=GS.get(u),p=JSON.stringify(l);return c[p]||(c[p]=new IntersectionObserver(Kk,{root:i,...l})),c[p]}function Jk(i,l,u){const c=Ik(l);return qS.set(i,u),c.observe(i),()=>{qS.delete(i),c.unobserve(i)}}const Fk={some:0,all:1};class Pk extends wu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:u,margin:c,amount:p="some",once:m}=l,y={root:u?u.current:void 0,rootMargin:c,threshold:typeof p=="number"?p:Fk[p]},x=S=>{const{isIntersecting:E}=S;if(this.isInView===E||(this.isInView=E,m&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);const{onViewportEnter:T,onViewportLeave:A}=this.node.getProps(),R=E?T:A;R&&R(S)};return Jk(this.node.current,y,x)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:u}=this.node;["amount","margin","root"].some(Wk(l,u))&&this.startObserver()}unmount(){}}function Wk({viewport:i={}},{viewport:l={}}={}){return u=>i[u]!==l[u]}const t4={...Ck,...{inView:{Feature:Pk},tap:{Feature:Zk},focus:{Feature:Qk},hover:{Feature:Xk}},...Gk,...{layout:{ProjectionNode:WA,MeasureLayout:AC}}},ke=Sk(t4,wk);function DC(i){var l,u,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(u=DC(i[l]))&&(c&&(c+=" "),c+=u)}else for(u in i)i[u]&&(c&&(c+=" "),c+=u);return c}function MC(){for(var i,l,u=0,c="",p=arguments.length;u<p;u++)(i=arguments[u])&&(l=DC(i))&&(c&&(c+=" "),c+=l);return c}const zC=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,OC=MC,No=(i,l)=>u=>{var c;if(l?.variants==null)return OC(i,u?.class,u?.className);const{variants:p,defaultVariants:m}=l,y=Object.keys(p).map(E=>{const T=u?.[E],A=m?.[E];if(T===null)return null;const R=zC(T)||zC(A);return p[E][R]}),x=u&&Object.entries(u).reduce((E,T)=>{let[A,R]=T;return R===void 0||(E[A]=R),E},{}),S=l==null||(c=l.compoundVariants)===null||c===void 0?void 0:c.reduce((E,T)=>{let{class:A,className:R,...j}=T;return Object.entries(j).every(B=>{let[X,q]=B;return Array.isArray(q)?q.includes({...m,...x}[X]):{...m,...x}[X]===q})?[...E,A,R]:E},[]);return OC(i,y,S,u?.class,u?.className)},e4=(i,l)=>{const u=new Array(i.length+l.length);for(let c=0;c<i.length;c++)u[c]=i[c];for(let c=0;c<l.length;c++)u[i.length+c]=l[c];return u},n4=(i,l)=>({classGroupId:i,validator:l}),_C=(i=new Map,l=null,u)=>({nextPart:i,validators:l,classGroupId:u}),Yv="-",kC=[],a4="arbitrary..",i4=i=>{const l=l4(i),{conflictingClassGroups:u,conflictingClassGroupModifiers:c}=i;return{getClassGroupId:y=>{if(y.startsWith("[")&&y.endsWith("]"))return o4(y);const x=y.split(Yv),S=x[0]===""&&x.length>1?1:0;return jC(x,S,l)},getConflictingClassGroupIds:(y,x)=>{if(x){const S=c[y],E=u[y];return S?E?e4(E,S):S:E||kC}return u[y]||kC}}},jC=(i,l,u)=>{if(i.length-l===0)return u.classGroupId;const p=i[l],m=u.nextPart.get(p);if(m){const E=jC(i,l+1,m);if(E)return E}const y=u.validators;if(y===null)return;const x=l===0?i.join(Yv):i.slice(l).join(Yv),S=y.length;for(let E=0;E<S;E++){const T=y[E];if(T.validator(x))return T.classGroupId}},o4=i=>i.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const l=i.slice(1,-1),u=l.indexOf(":"),c=l.slice(0,u);return c?a4+c:void 0})(),l4=i=>{const{theme:l,classGroups:u}=i;return r4(u,l)},r4=(i,l)=>{const u=_C();for(const c in i){const p=i[c];XS(p,u,c,l)}return u},XS=(i,l,u,c)=>{const p=i.length;for(let m=0;m<p;m++){const y=i[m];s4(y,l,u,c)}},s4=(i,l,u,c)=>{if(typeof i=="string"){u4(i,l,u);return}if(typeof i=="function"){c4(i,l,u,c);return}f4(i,l,u,c)},u4=(i,l,u)=>{const c=i===""?l:UC(l,i);c.classGroupId=u},c4=(i,l,u,c)=>{if(d4(i)){XS(i(c),l,u,c);return}l.validators===null&&(l.validators=[]),l.validators.push(n4(u,i))},f4=(i,l,u,c)=>{const p=Object.entries(i),m=p.length;for(let y=0;y<m;y++){const[x,S]=p[y];XS(S,UC(l,x),u,c)}},UC=(i,l)=>{let u=i;const c=l.split(Yv),p=c.length;for(let m=0;m<p;m++){const y=c[m];let x=u.nextPart.get(y);x||(x=_C(),u.nextPart.set(y,x)),u=x}return u},d4=i=>"isThemeGetter"in i&&i.isThemeGetter===!0,h4=i=>{if(i<1)return{get:()=>{},set:()=>{}};let l=0,u=Object.create(null),c=Object.create(null);const p=(m,y)=>{u[m]=y,l++,l>i&&(l=0,c=u,u=Object.create(null))};return{get(m){let y=u[m];if(y!==void 0)return y;if((y=c[m])!==void 0)return p(m,y),y},set(m,y){m in u?u[m]=y:p(m,y)}}},QS="!",LC=":",p4=[],NC=(i,l,u,c,p)=>({modifiers:i,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c,isExternal:p}),m4=i=>{const{prefix:l,experimentalParseClassName:u}=i;let c=p=>{const m=[];let y=0,x=0,S=0,E;const T=p.length;for(let X=0;X<T;X++){const q=p[X];if(y===0&&x===0){if(q===LC){m.push(p.slice(S,X)),S=X+1;continue}if(q==="/"){E=X;continue}}q==="["?y++:q==="]"?y--:q==="("?x++:q===")"&&x--}const A=m.length===0?p:p.slice(S);let R=A,j=!1;A.endsWith(QS)?(R=A.slice(0,-1),j=!0):A.startsWith(QS)&&(R=A.slice(1),j=!0);const B=E&&E>S?E-S:void 0;return NC(m,j,R,B)};if(l){const p=l+LC,m=c;c=y=>y.startsWith(p)?m(y.slice(p.length)):NC(p4,!1,y,void 0,!0)}if(u){const p=c;c=m=>u({className:m,parseClassName:p})}return c},g4=i=>{const l=new Map;return i.orderSensitiveModifiers.forEach((u,c)=>{l.set(u,1e6+c)}),u=>{const c=[];let p=[];for(let m=0;m<u.length;m++){const y=u[m],x=y[0]==="[",S=l.has(y);x||S?(p.length>0&&(p.sort(),c.push(...p),p=[]),c.push(y)):p.push(y)}return p.length>0&&(p.sort(),c.push(...p)),c}},y4=i=>({cache:h4(i.cacheSize),parseClassName:m4(i),sortModifiers:g4(i),...i4(i)}),v4=/\s+/,b4=(i,l)=>{const{parseClassName:u,getClassGroupId:c,getConflictingClassGroupIds:p,sortModifiers:m}=l,y=[],x=i.trim().split(v4);let S="";for(let E=x.length-1;E>=0;E-=1){const T=x[E],{isExternal:A,modifiers:R,hasImportantModifier:j,baseClassName:B,maybePostfixModifierPosition:X}=u(T);if(A){S=T+(S.length>0?" "+S:S);continue}let q=!!X,Z=c(q?B.substring(0,X):B);if(!Z){if(!q){S=T+(S.length>0?" "+S:S);continue}if(Z=c(B),!Z){S=T+(S.length>0?" "+S:S);continue}q=!1}const W=R.length===0?"":R.length===1?R[0]:m(R).join(":"),rt=j?W+QS:W,ct=rt+Z;if(y.indexOf(ct)>-1)continue;y.push(ct);const xt=p(Z,q);for(let Tt=0;Tt<xt.length;++Tt){const bt=xt[Tt];y.push(rt+bt)}S=T+(S.length>0?" "+S:S)}return S},x4=(...i)=>{let l=0,u,c,p="";for(;l<i.length;)(u=i[l++])&&(c=HC(u))&&(p&&(p+=" "),p+=c);return p},HC=i=>{if(typeof i=="string")return i;let l,u="";for(let c=0;c<i.length;c++)i[c]&&(l=HC(i[c]))&&(u&&(u+=" "),u+=l);return u},S4=(i,...l)=>{let u,c,p,m;const y=S=>{const E=l.reduce((T,A)=>A(T),i());return u=y4(E),c=u.cache.get,p=u.cache.set,m=x,x(S)},x=S=>{const E=c(S);if(E)return E;const T=b4(S,u);return p(S,T),T};return m=y,(...S)=>m(x4(...S))},w4=[],ha=i=>{const l=u=>u[i]||w4;return l.isThemeGetter=!0,l},VC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,BC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,E4=/^\d+\/\d+$/,T4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,C4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gh=i=>E4.test(i),Te=i=>!!i&&!Number.isNaN(Number(i)),Eu=i=>!!i&&Number.isInteger(Number(i)),ZS=i=>i.endsWith("%")&&Te(i.slice(0,-1)),ls=i=>T4.test(i),M4=()=>!0,z4=i=>A4.test(i)&&!C4.test(i),YC=()=>!1,O4=i=>R4.test(i),_4=i=>D4.test(i),k4=i=>!Yt(i)&&!qt(i),j4=i=>yh(i,ZC,YC),Yt=i=>VC.test(i),pf=i=>yh(i,$C,z4),$S=i=>yh(i,V4,Te),qC=i=>yh(i,XC,YC),U4=i=>yh(i,QC,_4),qv=i=>yh(i,KC,O4),qt=i=>BC.test(i),dg=i=>vh(i,$C),L4=i=>vh(i,B4),GC=i=>vh(i,XC),N4=i=>vh(i,ZC),H4=i=>vh(i,QC),Gv=i=>vh(i,KC,!0),yh=(i,l,u)=>{const c=VC.exec(i);return c?c[1]?l(c[1]):u(c[2]):!1},vh=(i,l,u=!1)=>{const c=BC.exec(i);return c?c[1]?l(c[1]):u:!1},XC=i=>i==="position"||i==="percentage",QC=i=>i==="image"||i==="url",ZC=i=>i==="length"||i==="size"||i==="bg-size",$C=i=>i==="length",V4=i=>i==="number",B4=i=>i==="family-name",KC=i=>i==="shadow",Y4=S4(()=>{const i=ha("color"),l=ha("font"),u=ha("text"),c=ha("font-weight"),p=ha("tracking"),m=ha("leading"),y=ha("breakpoint"),x=ha("container"),S=ha("spacing"),E=ha("radius"),T=ha("shadow"),A=ha("inset-shadow"),R=ha("text-shadow"),j=ha("drop-shadow"),B=ha("blur"),X=ha("perspective"),q=ha("aspect"),Z=ha("ease"),W=ha("animate"),rt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ct=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],xt=()=>[...ct(),qt,Yt],Tt=()=>["auto","hidden","clip","visible","scroll"],bt=()=>["auto","contain","none"],ot=()=>[qt,Yt,S],jt=()=>[gh,"full","auto",...ot()],St=()=>[Eu,"none","subgrid",qt,Yt],oe=()=>["auto",{span:["full",Eu,qt,Yt]},Eu,qt,Yt],Mt=()=>[Eu,"auto",qt,Yt],Nt=()=>["auto","min","max","fr",qt,Yt],Et=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],gt=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...ot()],F=()=>[gh,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ot()],P=()=>[i,qt,Yt],Rt=()=>[...ct(),GC,qC,{position:[qt,Yt]}],Ht=()=>["no-repeat",{repeat:["","x","y","space","round"]}],k=()=>["auto","cover","contain",N4,j4,{size:[qt,Yt]}],et=()=>[ZS,dg,pf],ht=()=>["","none","full",E,qt,Yt],mt=()=>["",Te,dg,pf],Gt=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_t=()=>[Te,ZS,GC,qC],$e=()=>["","none",B,qt,Yt],Ae=()=>["none",Te,qt,Yt],In=()=>["none",Te,qt,Yt],zt=()=>[Te,qt,Yt],ui=()=>[gh,"full",...ot()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ls],breakpoint:[ls],color:[M4],container:[ls],"drop-shadow":[ls],ease:["in","out","in-out"],font:[k4],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ls],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ls],shadow:[ls],spacing:["px",Te],text:[ls],"text-shadow":[ls],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gh,Yt,qt,q]}],container:["container"],columns:[{columns:[Te,Yt,qt,x]}],"break-after":[{"break-after":rt()}],"break-before":[{"break-before":rt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:xt()}],overflow:[{overflow:Tt()}],"overflow-x":[{"overflow-x":Tt()}],"overflow-y":[{"overflow-y":Tt()}],overscroll:[{overscroll:bt()}],"overscroll-x":[{"overscroll-x":bt()}],"overscroll-y":[{"overscroll-y":bt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:jt()}],"inset-x":[{"inset-x":jt()}],"inset-y":[{"inset-y":jt()}],start:[{start:jt()}],end:[{end:jt()}],top:[{top:jt()}],right:[{right:jt()}],bottom:[{bottom:jt()}],left:[{left:jt()}],visibility:["visible","invisible","collapse"],z:[{z:[Eu,"auto",qt,Yt]}],basis:[{basis:[gh,"full","auto",x,...ot()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Te,gh,"auto","initial","none",Yt]}],grow:[{grow:["",Te,qt,Yt]}],shrink:[{shrink:["",Te,qt,Yt]}],order:[{order:[Eu,"first","last","none",qt,Yt]}],"grid-cols":[{"grid-cols":St()}],"col-start-end":[{col:oe()}],"col-start":[{"col-start":Mt()}],"col-end":[{"col-end":Mt()}],"grid-rows":[{"grid-rows":St()}],"row-start-end":[{row:oe()}],"row-start":[{"row-start":Mt()}],"row-end":[{"row-end":Mt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Nt()}],"auto-rows":[{"auto-rows":Nt()}],gap:[{gap:ot()}],"gap-x":[{"gap-x":ot()}],"gap-y":[{"gap-y":ot()}],"justify-content":[{justify:[...Et(),"normal"]}],"justify-items":[{"justify-items":[...gt(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt()]}],"align-content":[{content:["normal",...Et()]}],"align-items":[{items:[...gt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Et()}],"place-items":[{"place-items":[...gt(),"baseline"]}],"place-self":[{"place-self":["auto",...gt()]}],p:[{p:ot()}],px:[{px:ot()}],py:[{py:ot()}],ps:[{ps:ot()}],pe:[{pe:ot()}],pt:[{pt:ot()}],pr:[{pr:ot()}],pb:[{pb:ot()}],pl:[{pl:ot()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":ot()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ot()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[x,"screen",...F()]}],"min-w":[{"min-w":[x,"screen","none",...F()]}],"max-w":[{"max-w":[x,"screen","none","prose",{screen:[y]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",u,dg,pf]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,qt,$S]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ZS,Yt]}],"font-family":[{font:[L4,Yt,l]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[p,qt,Yt]}],"line-clamp":[{"line-clamp":[Te,"none",qt,$S]}],leading:[{leading:[m,...ot()]}],"list-image":[{"list-image":["none",qt,Yt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qt,Yt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Gt(),"wavy"]}],"text-decoration-thickness":[{decoration:[Te,"from-font","auto",qt,pf]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[Te,"auto",qt,Yt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ot()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qt,Yt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qt,Yt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Rt()}],"bg-repeat":[{bg:Ht()}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Eu,qt,Yt],radial:["",qt,Yt],conic:[Eu,qt,Yt]},H4,U4]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:et()}],"gradient-via-pos":[{via:et()}],"gradient-to-pos":[{to:et()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:ht()}],"rounded-s":[{"rounded-s":ht()}],"rounded-e":[{"rounded-e":ht()}],"rounded-t":[{"rounded-t":ht()}],"rounded-r":[{"rounded-r":ht()}],"rounded-b":[{"rounded-b":ht()}],"rounded-l":[{"rounded-l":ht()}],"rounded-ss":[{"rounded-ss":ht()}],"rounded-se":[{"rounded-se":ht()}],"rounded-ee":[{"rounded-ee":ht()}],"rounded-es":[{"rounded-es":ht()}],"rounded-tl":[{"rounded-tl":ht()}],"rounded-tr":[{"rounded-tr":ht()}],"rounded-br":[{"rounded-br":ht()}],"rounded-bl":[{"rounded-bl":ht()}],"border-w":[{border:mt()}],"border-w-x":[{"border-x":mt()}],"border-w-y":[{"border-y":mt()}],"border-w-s":[{"border-s":mt()}],"border-w-e":[{"border-e":mt()}],"border-w-t":[{"border-t":mt()}],"border-w-r":[{"border-r":mt()}],"border-w-b":[{"border-b":mt()}],"border-w-l":[{"border-l":mt()}],"divide-x":[{"divide-x":mt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":mt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Gt(),"hidden","none"]}],"divide-style":[{divide:[...Gt(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...Gt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Te,qt,Yt]}],"outline-w":[{outline:["",Te,dg,pf]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",T,Gv,qv]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",A,Gv,qv]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:mt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[Te,pf]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":mt()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",R,Gv,qv]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[Te,qt,Yt]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Te]}],"mask-image-linear-from-pos":[{"mask-linear-from":_t()}],"mask-image-linear-to-pos":[{"mask-linear-to":_t()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":_t()}],"mask-image-t-to-pos":[{"mask-t-to":_t()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":_t()}],"mask-image-r-to-pos":[{"mask-r-to":_t()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":_t()}],"mask-image-b-to-pos":[{"mask-b-to":_t()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":_t()}],"mask-image-l-to-pos":[{"mask-l-to":_t()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":_t()}],"mask-image-x-to-pos":[{"mask-x-to":_t()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":_t()}],"mask-image-y-to-pos":[{"mask-y-to":_t()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[qt,Yt]}],"mask-image-radial-from-pos":[{"mask-radial-from":_t()}],"mask-image-radial-to-pos":[{"mask-radial-to":_t()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ct()}],"mask-image-conic-pos":[{"mask-conic":[Te]}],"mask-image-conic-from-pos":[{"mask-conic-from":_t()}],"mask-image-conic-to-pos":[{"mask-conic-to":_t()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Rt()}],"mask-repeat":[{mask:Ht()}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qt,Yt]}],filter:[{filter:["","none",qt,Yt]}],blur:[{blur:$e()}],brightness:[{brightness:[Te,qt,Yt]}],contrast:[{contrast:[Te,qt,Yt]}],"drop-shadow":[{"drop-shadow":["","none",j,Gv,qv]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",Te,qt,Yt]}],"hue-rotate":[{"hue-rotate":[Te,qt,Yt]}],invert:[{invert:["",Te,qt,Yt]}],saturate:[{saturate:[Te,qt,Yt]}],sepia:[{sepia:["",Te,qt,Yt]}],"backdrop-filter":[{"backdrop-filter":["","none",qt,Yt]}],"backdrop-blur":[{"backdrop-blur":$e()}],"backdrop-brightness":[{"backdrop-brightness":[Te,qt,Yt]}],"backdrop-contrast":[{"backdrop-contrast":[Te,qt,Yt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Te,qt,Yt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Te,qt,Yt]}],"backdrop-invert":[{"backdrop-invert":["",Te,qt,Yt]}],"backdrop-opacity":[{"backdrop-opacity":[Te,qt,Yt]}],"backdrop-saturate":[{"backdrop-saturate":[Te,qt,Yt]}],"backdrop-sepia":[{"backdrop-sepia":["",Te,qt,Yt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ot()}],"border-spacing-x":[{"border-spacing-x":ot()}],"border-spacing-y":[{"border-spacing-y":ot()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qt,Yt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Te,"initial",qt,Yt]}],ease:[{ease:["linear","initial",Z,qt,Yt]}],delay:[{delay:[Te,qt,Yt]}],animate:[{animate:["none",W,qt,Yt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[X,qt,Yt]}],"perspective-origin":[{"perspective-origin":xt()}],rotate:[{rotate:Ae()}],"rotate-x":[{"rotate-x":Ae()}],"rotate-y":[{"rotate-y":Ae()}],"rotate-z":[{"rotate-z":Ae()}],scale:[{scale:In()}],"scale-x":[{"scale-x":In()}],"scale-y":[{"scale-y":In()}],"scale-z":[{"scale-z":In()}],"scale-3d":["scale-3d"],skew:[{skew:zt()}],"skew-x":[{"skew-x":zt()}],"skew-y":[{"skew-y":zt()}],transform:[{transform:[qt,Yt,"","none","gpu","cpu"]}],"transform-origin":[{origin:xt()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ui()}],"translate-x":[{"translate-x":ui()}],"translate-y":[{"translate-y":ui()}],"translate-z":[{"translate-z":ui()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qt,Yt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ot()}],"scroll-mx":[{"scroll-mx":ot()}],"scroll-my":[{"scroll-my":ot()}],"scroll-ms":[{"scroll-ms":ot()}],"scroll-me":[{"scroll-me":ot()}],"scroll-mt":[{"scroll-mt":ot()}],"scroll-mr":[{"scroll-mr":ot()}],"scroll-mb":[{"scroll-mb":ot()}],"scroll-ml":[{"scroll-ml":ot()}],"scroll-p":[{"scroll-p":ot()}],"scroll-px":[{"scroll-px":ot()}],"scroll-py":[{"scroll-py":ot()}],"scroll-ps":[{"scroll-ps":ot()}],"scroll-pe":[{"scroll-pe":ot()}],"scroll-pt":[{"scroll-pt":ot()}],"scroll-pr":[{"scroll-pr":ot()}],"scroll-pb":[{"scroll-pb":ot()}],"scroll-pl":[{"scroll-pl":ot()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qt,Yt]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[Te,dg,pf,$S]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function $t(...i){return Y4(MC(i))}const IC=No(["inline-flex items-center justify-center","font-medium","font-[-apple-system,BlinkMacSystemFont,'SF_Pro_Text','Segoe_UI',sans-serif]","rounded","select-none","whitespace-nowrap"].join(" "),{variants:{variant:{default:["bg-[var(--uilint-kbd-background,linear-gradient(180deg,#ffffff_0%,#f3f4f6_100%))]","text-[var(--uilint-kbd-text,#6b7280)]","border border-[var(--uilint-kbd-border,rgba(0,0,0,0.1))]","shadow-[var(--uilint-kbd-shadow,0_1px_0_rgba(0,0,0,0.08))]"].join(" "),subtle:["bg-[var(--uilint-kbd-background-subtle,rgba(0,0,0,0.04))]","text-[var(--uilint-kbd-text-subtle,#9ca3af)]","border border-[var(--uilint-kbd-border-subtle,transparent)]"].join(" ")},size:{sm:"min-w-4 h-4 px-1 text-[9px]",default:"min-w-[18px] h-[18px] px-1 text-[10px]",lg:"min-w-6 h-6 px-1.5 text-xs"}},defaultVariants:{variant:"default",size:"default"}}),q4={hidden:{opacity:0,scale:.95},visible:{opacity:1,scale:1}},JC=K.forwardRef(({className:i,variant:l,size:u,children:c,animate:p=!0,animationDuration:m=.1,style:y,...x},S)=>{const E={background:l==="subtle"?"var(--uilint-kbd-background-subtle, rgba(0, 0, 0, 0.04))":"var(--uilint-kbd-background, linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%))",color:l==="subtle"?"var(--uilint-kbd-text-subtle, #9ca3af)":"var(--uilint-kbd-text, #6b7280)",borderColor:l==="subtle"?"var(--uilint-kbd-border-subtle, transparent)":"var(--uilint-kbd-border, rgba(0, 0, 0, 0.1))",boxShadow:l==="subtle"?"none":"var(--uilint-kbd-shadow, 0 1px 0 rgba(0, 0, 0, 0.08))",...y};return p?z.jsx(ke.kbd,{ref:S,className:$t(IC({variant:l,size:u}),i),style:E,initial:"hidden",animate:"visible",variants:q4,transition:{duration:m,ease:"easeOut"},...x,children:c}):z.jsx(ke.kbd,{ref:S,className:$t(IC({variant:l,size:u}),i),style:E,...x,children:c})});JC.displayName="Kbd";const FC=No("inline-flex items-center justify-center font-semibold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{default:"bg-surface-elevated text-text-secondary border border-border",error:"bg-error-bg text-error border-0",warning:"bg-warning-bg text-warning border-0",success:"bg-success-bg text-success border-0",info:"bg-info-bg text-info border-0",outline:"bg-transparent text-text-secondary border border-border"},size:{sm:"px-1.5 py-0.5 text-[10px] leading-tight min-h-4",default:"px-2 py-0.5 text-xs leading-tight min-h-5",lg:"px-3 py-1 text-sm leading-tight min-h-6"}},defaultVariants:{variant:"default",size:"default"}}),G4=[.32,.72,0,1],X4={initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85}};function KS({className:i,variant:l,size:u,children:c,disableAnimation:p=!1,style:m,...y}){const x={borderRadius:"var(--uilint-badge-radius, 6px)",...m};return p?z.jsx("span",{className:$t(FC({variant:l,size:u}),i),style:x,children:c}):z.jsx(ke.span,{className:$t(FC({variant:l,size:u}),i),style:x,variants:X4,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15,ease:G4},...y,children:c})}function PC(i,l){if(typeof i=="function")return i(l);i!=null&&(i.current=l)}function Q4(...i){return l=>{let u=!1;const c=i.map(p=>{const m=PC(p,l);return!u&&typeof m=="function"&&(u=!0),m});if(u)return()=>{for(let p=0;p<c.length;p++){const m=c[p];typeof m=="function"?m():PC(i[p],null)}}}}var Z4=Symbol.for("react.lazy"),Xv=EM[" use ".trim().toString()];function $4(i){return typeof i=="object"&&i!==null&&"then"in i}function WC(i){return i!=null&&typeof i=="object"&&"$$typeof"in i&&i.$$typeof===Z4&&"_payload"in i&&$4(i._payload)}function K4(i){const l=I4(i),u=K.forwardRef((c,p)=>{let{children:m,...y}=c;WC(m)&&typeof Xv=="function"&&(m=Xv(m._payload));const x=K.Children.toArray(m),S=x.find(F4);if(S){const E=S.props.children,T=x.map(A=>A===S?K.Children.count(E)>1?K.Children.only(null):K.isValidElement(E)?E.props.children:null:A);return z.jsx(l,{...y,ref:p,children:K.isValidElement(E)?K.cloneElement(E,void 0,T):null})}return z.jsx(l,{...y,ref:p,children:m})});return u.displayName=`${i}.Slot`,u}var t5=K4("Slot");function I4(i){const l=K.forwardRef((u,c)=>{let{children:p,...m}=u;if(WC(p)&&typeof Xv=="function"&&(p=Xv(p._payload)),K.isValidElement(p)){const y=W4(p),x=P4(m,p.props);return p.type!==K.Fragment&&(x.ref=c?Q4(c,y):y),K.cloneElement(p,x)}return K.Children.count(p)>1?K.Children.only(null):null});return l.displayName=`${i}.SlotClone`,l}var J4=Symbol("radix.slottable");function F4(i){return K.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===J4}function P4(i,l){const u={...l};for(const c in l){const p=i[c],m=l[c];/^on[A-Z]/.test(c)?p&&m?u[c]=(...x)=>{const S=m(...x);return p(...x),S}:p&&(u[c]=p):c==="style"?u[c]={...p,...m}:c==="className"&&(u[c]=[p,m].filter(Boolean).join(" "))}return{...i,...u}}function W4(i){let l=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,u=l&&"isReactWarning"in l&&l.isReactWarning;return u?i.ref:(l=Object.getOwnPropertyDescriptor(i,"ref")?.get,u=l&&"isReactWarning"in l&&l.isReactWarning,u?i.props.ref:i.props.ref||i.ref)}const t6=No(["inline-flex items-center justify-center gap-2 whitespace-nowrap","text-sm font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-button-default-bg)]","text-[var(--uilint-button-default-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","focus-visible:ring-[var(--uilint-button-default-bg)]"],destructive:["bg-[var(--uilint-button-destructive-bg)]","text-[var(--uilint-button-destructive-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-destructive-bg)]/90","focus-visible:ring-[var(--uilint-button-destructive-bg)]"],outline:["bg-[var(--uilint-button-outline-bg)]","text-[var(--uilint-button-outline-text)]","border border-current/20","hover:bg-[var(--uilint-button-outline-text)]/10","focus-visible:ring-[var(--uilint-button-outline-text)]"],secondary:["bg-[var(--uilint-button-secondary-bg)]","text-[var(--uilint-button-secondary-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-secondary-bg)]/80","focus-visible:ring-[var(--uilint-button-secondary-bg)]"],ghost:["bg-[var(--uilint-button-ghost-bg)]","text-[var(--uilint-button-ghost-text)]","hover:bg-[var(--uilint-button-ghost-text)]/10","focus-visible:ring-[var(--uilint-button-ghost-text)]"],glass:["bg-[var(--uilint-button-glass-bg)]","text-[var(--uilint-button-glass-text)]","backdrop-blur-md","border border-white/20","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-white/30","focus-visible:ring-white/50"]},size:{default:"h-10 px-4 py-2 rounded-[var(--uilint-button-radius)]",sm:"h-8 px-3 text-xs rounded-[var(--uilint-button-radius)]",lg:"h-12 px-8 text-base rounded-[var(--uilint-button-radius)]",icon:"h-10 w-10 rounded-[var(--uilint-button-radius)]"}},defaultVariants:{variant:"default",size:"default"}}),e6={initial:{scale:1},hover:{scale:1.02},tap:{scale:.98}},n6={duration:.15,ease:[.32,.72,0,1]},a6=K.forwardRef(({className:i,variant:l,size:u,asChild:c=!1,...p},m)=>{const y=$t(t6({variant:l,size:u,className:i}));if(c)return z.jsx(t5,{ref:m,className:y,...p});const x={ref:m,className:y,variants:e6,initial:"initial",whileHover:p.disabled?void 0:"hover",whileTap:p.disabled?void 0:"tap",transition:n6,...p};return z.jsx(ke.button,{...x})});a6.displayName="Button";const i6=No(["inline-flex items-center justify-center","border-none outline-none","cursor-pointer","transition-colors","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-hover)]","text-[var(--uilint-text-secondary)]","hover:bg-[var(--uilint-active)]","hover:text-[var(--uilint-text-primary)]"],ghost:["bg-transparent","text-[var(--uilint-text-muted)]","hover:bg-[var(--uilint-hover)]","hover:text-[var(--uilint-text-secondary)]"],glass:["bg-[var(--uilint-glass)]","text-[var(--uilint-text-secondary)]","border border-[var(--uilint-glass-border)]","backdrop-blur-md","hover:bg-[var(--uilint-glass-medium)]","hover:text-[var(--uilint-text-primary)]"]},size:{sm:["w-[var(--uilint-icon-button-size-sm)]","h-[var(--uilint-icon-button-size-sm)]","rounded-[calc(var(--uilint-icon-button-radius)-2px)]","[&_svg]:w-4 [&_svg]:h-4"],default:["w-[var(--uilint-icon-button-size)]","h-[var(--uilint-icon-button-size)]","rounded-[var(--uilint-icon-button-radius)]","[&_svg]:w-[18px] [&_svg]:h-[18px]"],lg:["w-[var(--uilint-icon-button-size-lg)]","h-[var(--uilint-icon-button-size-lg)]","rounded-[calc(var(--uilint-icon-button-radius)+2px)]","[&_svg]:w-5 [&_svg]:h-5"]}},defaultVariants:{variant:"default",size:"default"}}),o6={initial:{scale:1,boxShadow:"0 0 0 0 rgba(0, 0, 0, 0)"},hover:{scale:1.05,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},l6={initial:{scale:1,boxShadow:"0 0 0 0 rgba(255, 255, 255, 0)"},hover:{scale:1.05,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},hg=K.forwardRef(({className:i,variant:l,size:u,asChild:c=!1,disableMotion:p=!1,disabled:m,...y},x)=>{const S=$t(i6({variant:l,size:u,className:i}));if(c)return z.jsx(t5,{ref:x,className:S,...y});if(p||m)return z.jsx("button",{ref:x,className:S,disabled:m,...y});const E=l==="glass"?l6:o6;return z.jsx(ke.button,{ref:x,className:S,disabled:m,variants:E,initial:"initial",whileHover:"hover",whileTap:"tap",...y})});hg.displayName="IconButton";const r6=No(["flex w-full transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium","disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-[var(--uilint-input-placeholder)]","outline-none"],{variants:{variant:{default:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-input-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],glass:["bg-[var(--uilint-glass-medium)]","backdrop-blur-[var(--uilint-glass-blur-medium)]","border border-[var(--uilint-glass-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],error:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-error)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-error)]"]},size:{sm:"h-8 px-2.5 text-xs rounded-[calc(var(--uilint-input-radius)-2px)]",default:"h-10 px-3 text-sm rounded-[var(--uilint-input-radius)]",lg:"h-12 px-4 text-base rounded-[calc(var(--uilint-input-radius)+2px)]"}},defaultVariants:{variant:"default",size:"default"}}),s6=K.forwardRef(({className:i,containerClassName:l,variant:u,size:c,type:p="text",icon:m,onFocus:y,onBlur:x,...S},E)=>{const[T,A]=K.useState(!1),R=K.useCallback(q=>{A(!0),y?.(q)},[y]),j=K.useCallback(q=>{A(!1),x?.(q)},[x]),B=u==="error"?"var(--uilint-error)":"var(--uilint-input-ring)",X=z.jsx("input",{type:p,className:$t(r6({variant:u,size:c}),m&&"pl-9",i),ref:E,onFocus:R,onBlur:j,...S});return m?z.jsxs("div",{className:$t("relative",l),children:[z.jsx(ke.div,{animate:{color:T?"var(--uilint-accent)":"var(--uilint-text-muted)"},transition:{duration:.15},className:$t("pointer-events-none absolute left-3 flex items-center justify-center",c==="sm"&&"top-2",c==="default"&&"top-2.5",c==="lg"&&"top-3"),children:m}),X,z.jsx(Li,{children:T&&z.jsx(ke.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:$t("pointer-events-none absolute inset-0",c==="sm"&&"rounded-[calc(var(--uilint-input-radius)-2px)]",c==="default"&&"rounded-[var(--uilint-input-radius)]",c==="lg"&&"rounded-[calc(var(--uilint-input-radius)+2px)]"),style:{boxShadow:`0 0 0 3px ${B}`}})})]}):z.jsxs("div",{className:$t("relative",l),children:[X,z.jsx(Li,{children:T&&z.jsx(ke.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:"pointer-events-none absolute inset-0 rounded-[var(--uilint-input-radius)]",style:{boxShadow:`0 0 0 3px ${B}`}})})]})});s6.displayName="Input";const e5=No(["relative","flex","flex-col","overflow-hidden","transition-all"].join(" "),{variants:{variant:{default:["[background:var(--uilint-card-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-shadow)]"].join(" "),elevated:["[background:var(--uilint-card-elevated-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-elevated-shadow)]"].join(" "),glass:["[background:var(--uilint-card-glass-bg)]","[border:1px_solid_var(--uilint-card-glass-border)]","[border-radius:var(--uilint-card-radius)]","[backdrop-filter:blur(var(--uilint-glass-blur-medium))]","[box-shadow:var(--uilint-card-shadow)]","before:absolute","before:inset-x-0","before:top-0","before:h-px","before:[background:var(--uilint-glass-highlight)]"].join(" ")}},defaultVariants:{variant:"default"}}),IS={initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:4}},u6={rest:{y:0,boxShadow:"var(--uilint-card-shadow)"},hover:{y:-2,boxShadow:"var(--uilint-card-shadow-hover)"}},c6={duration:.15,ease:[.32,.72,0,1]},n5=K.forwardRef(({className:i,variant:l,interactive:u=!1,animated:c=!1,children:p,...m},y)=>u||c?z.jsx(ke.div,{ref:y,className:$t(e5({variant:l}),u&&"cursor-pointer",i),variants:u?u6:void 0,initial:c?IS.initial:"rest",animate:c?IS.animate:"rest",exit:c?IS.exit:void 0,whileHover:u?"hover":void 0,transition:c6,...m,children:p}):z.jsx("div",{ref:y,className:$t(e5({variant:l}),i),...m,children:p}));n5.displayName="Card";const f6=K.forwardRef(({className:i,...l},u)=>z.jsx("div",{ref:u,className:$t("flex flex-col gap-1.5 p-4",i),...l}));f6.displayName="CardHeader";const d6=K.forwardRef(({className:i,...l},u)=>z.jsx("h3",{ref:u,className:$t("text-base font-semibold leading-tight tracking-tight","[color:var(--uilint-text-primary)]",i),...l}));d6.displayName="CardTitle";const h6=K.forwardRef(({className:i,...l},u)=>z.jsx("p",{ref:u,className:$t("text-sm leading-relaxed","[color:var(--uilint-text-secondary)]",i),...l}));h6.displayName="CardDescription";const p6=K.forwardRef(({className:i,...l},u)=>z.jsx("div",{ref:u,className:$t("p-4 pt-0",i),...l}));p6.displayName="CardContent";const m6=K.forwardRef(({className:i,...l},u)=>z.jsx("div",{ref:u,className:$t("flex items-center gap-2 p-4 pt-0","[border-top:1px_solid_var(--uilint-card-border)]","mt-auto",i),...l}));m6.displayName="CardFooter";const g6=No(["relative","overflow-hidden","rounded-[var(--uilint-radius,12px)]"].join(" "),{variants:{blur:{light:"",medium:"",heavy:""},shadow:{none:"",sm:"",md:"",lg:""},bordered:{true:"",false:""}},defaultVariants:{blur:"medium",shadow:"md",bordered:!0}}),a5={hidden:{opacity:0,scale:.96,y:-10},visible:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:-5}},y6={duration:.2,ease:[.25,.1,.25,1]};function JS(i,l,u,c){const p={light:"var(--uilint-glass-blur-light, 12px)",medium:"var(--uilint-glass-blur-medium, 24px)",heavy:"var(--uilint-glass-blur-heavy, 40px)"},m={light:"var(--uilint-glass-light, rgba(255, 255, 255, 0.4))",medium:"var(--uilint-glass-medium, rgba(255, 255, 255, 0.55))",heavy:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.7))"},y={none:"none",sm:"var(--uilint-card-shadow, 0 2px 8px rgba(0, 0, 0, 0.03))",md:"var(--uilint-shadow, 0 8px 32px rgba(0, 0, 0, 0.06))",lg:"var(--uilint-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.08))"},x=i??"medium",S=l??"md",E=p[x],T=y[S],A=m[x],R=[];return R.push("inset 0 1px 0 0 var(--uilint-glass-highlight, rgba(255, 255, 255, 0.25))"),T!=="none"&&R.push(T),{background:A,backdropFilter:`blur(${E}) saturate(150%)`,WebkitBackdropFilter:`blur(${E}) saturate(150%)`,boxShadow:R.join(", "),border:u!==!1?"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.15))":"none",...c}}const i5=K.forwardRef(({className:i,blur:l,shadow:u,bordered:c,children:p,animate:m=!0,transition:y=y6,show:x=!0,usePresence:S=!1,style:E,...T},A)=>{const R=JS(l,u,c,E),j=g6({blur:l,shadow:u,bordered:c});return S?z.jsx(Li,{children:x&&z.jsx(ke.div,{ref:A,className:$t(j,i),style:R,initial:"hidden",animate:"visible",exit:"exit",variants:a5,transition:y,...T,children:p})}):m?z.jsx(ke.div,{ref:A,className:$t(j,i),style:R,initial:"hidden",animate:"visible",variants:a5,transition:y,...T,children:p}):z.jsx(ke.div,{ref:A,className:$t(j,i),style:R,...T,children:p})});i5.displayName="GlassPanel";const pg=36,o5=18,v6=8;function Qv(i,l){return{...JS("medium",i?"lg":"md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",transition:i?"none":"box-shadow 0.2s",...l}}function b6(){return typeof window>"u"?{x:0,y:16}:{x:window.innerWidth/2-150,y:16}}function l5(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}const x6=kn.createElement("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5"},kn.createElement("polyline",{points:"6 9 12 15 18 9"}));function S6({group:i,state:l,onActionClick:u}){const[c,p]=K.useState(!1),m=K.useRef(null),y=l5();K.useEffect(()=>{if(!c)return;const T=A=>{m.current&&!m.current.contains(A.target)&&p(!1)};return window.addEventListener("mousedown",T),()=>window.removeEventListener("mousedown",T)},[c]);const x=K.useCallback(T=>{T.stopPropagation(),p(A=>!A)},[]),S=K.useCallback(T=>{p(!1),u(T)},[u]),E=T=>T?y?T:T.replace("⌘","Ctrl+").replace("⇧","Shift+"):null;return z.jsxs("div",{ref:m,style:{position:"relative"},children:[z.jsxs("button",{onClick:x,title:i.tooltip,style:Qv(!1,{height:pg,padding:"0 10px",border:"none",borderRadius:pg/2,borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",cursor:"pointer",display:"flex",alignItems:"center",gap:4,color:"var(--uilint-text-secondary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,transition:"box-shadow 0.2s, background 0.2s"}),onMouseOver:T=>{T.currentTarget.style.background="var(--uilint-glass-heavy, rgba(255, 255, 255, 0.85))"},onMouseOut:T=>{T.currentTarget.style.background="var(--uilint-glass-medium, rgba(255, 255, 255, 0.7))"},children:[z.jsx("span",{style:{display:"flex",alignItems:"center"},children:i.icon}),x6]}),c&&z.jsx("div",{style:{position:"absolute",top:pg+6,right:0,minWidth:220,background:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.92))",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderRadius:10,border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1)",padding:"4px",zIndex:1e5,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:i.actions.map(T=>{const A=T.isEnabled?T.isEnabled(l):!0,R=E(T.shortcut);return z.jsxs("button",{onClick:j=>{j.stopPropagation(),A&&S(T)},disabled:!A,style:{display:"flex",alignItems:"center",gap:10,width:"100%",padding:"8px 10px",border:"none",borderRadius:7,background:"transparent",cursor:A?"pointer":"default",opacity:A?1:.4,color:"var(--uilint-text-primary)",fontFamily:"inherit",fontSize:13,textAlign:"left",transition:"background 0.15s"},onMouseOver:j=>{A&&(j.currentTarget.style.background="var(--uilint-hover, rgba(0, 0, 0, 0.05))")},onMouseOut:j=>{j.currentTarget.style.background="transparent"},children:[z.jsx("span",{style:{display:"flex",alignItems:"center",opacity:.7},children:T.icon}),z.jsx("span",{style:{flex:1},children:T.tooltip}),R&&z.jsx("span",{style:{fontSize:11,color:"var(--uilint-text-muted)",fontWeight:500,letterSpacing:"0.02em"},children:R})]},T.id)})})]})}function w6(){const i=Ot(gt=>gt.openCommandPalette),l=Ot(gt=>gt.commandPalette.open),u=Ot(gt=>gt.floatingIconPosition),c=Ot(gt=>gt.setFloatingIconPosition),p=Ot(gt=>gt.plugins),m=Ot(gt=>{const U=gt.plugins?.eslint?.issues;if(!U)return 0;let F=0;return U.forEach(P=>{F+=P.length}),F}),y=Ot(gt=>{const U=gt.plugins?.eslint?.lintingFiles;return U&&U.size>0}),x=Ot(gt=>gt.activeDrag),S=Ot(gt=>gt.startDrag),E=x?.type==="floating-icon",[T,A]=K.useState(!1),[R,j]=K.useState(!1),B=Ot(gt=>gt.mobile.isMobile),X=Ot(gt=>gt.mobile.isTouchDevice),q=K.useRef(null);K.useEffect(()=>{l&&!R&&j(!0)},[l,R]),K.useLayoutEffect(()=>{if(!E||!x)return;const{currentPos:gt,offset:U}=x,F=Math.max(0,Math.min(window.innerWidth-300,gt.x-U.x)),P=Math.max(0,Math.min(window.innerHeight-pg-o5,gt.y-U.y));c({x:F,y:P})},[E,x,c]);const W=li.getAllToolbarActionGroups().filter(gt=>gt.isVisible?gt.isVisible({plugins:p}):!0),ct=li.getAllToolbarActions().filter(gt=>gt.isVisible?gt.isVisible({plugins:p}):!0),xt=u??b6(),Tt=l5()?"⌘":"Ctrl+",bt=K.useCallback(gt=>{if(gt.button!==0)return;const U=q.current?.getBoundingClientRect();if(!U)return;const F={x:gt.clientX-U.left,y:gt.clientY-U.top};S("floating-icon",{x:gt.clientX,y:gt.clientY},F),gt.preventDefault(),gt.stopPropagation()},[S]),ot=K.useCallback(gt=>{if(gt.touches.length!==1)return;const U=gt.touches[0],F=q.current?.getBoundingClientRect();if(!F)return;const P={x:U.clientX-F.left,y:U.clientY-F.top};S("floating-icon",{x:U.clientX,y:U.clientY},P),gt.preventDefault(),gt.stopPropagation()},[S]),jt=K.useCallback(()=>{E||i()},[E,i]),St=K.useCallback(gt=>{const U=sf();U&&gt.onClick(U)},[]),oe=document.getElementById("uilint-portal")||document.body;if(l)return null;const Mt=!R&&!T&&!X,Nt=B?44:pg,Et=m>0;return $m.createPortal(z.jsxs("div",{ref:q,onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),style:{position:"fixed",left:xt.x,top:xt.y,display:"flex",flexDirection:"column",alignItems:"flex-start",zIndex:99999,pointerEvents:"auto"},children:[z.jsxs("div",{style:{height:Nt,display:"flex",alignItems:"center",gap:v6},children:[z.jsxs("div",{style:{height:Nt,display:"flex",alignItems:"center",gap:0,position:"relative"},children:[z.jsx("div",{onMouseDown:bt,onTouchStart:ot,style:Qv(E,{width:B?28:20,height:Nt,display:"flex",alignItems:"center",justifyContent:"center",cursor:E?"grabbing":"grab",borderRadius:`${Nt/2}px 0 0 ${Nt/2}px`,borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))"}),children:z.jsxs("svg",{width:"6",height:"14",viewBox:"0 0 6 14",fill:"none",style:{opacity:T?.6:.35},children:[z.jsx("circle",{cx:"1.5",cy:"2",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"4.5",cy:"2",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"1.5",cy:"7",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"4.5",cy:"7",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"1.5",cy:"12",r:"1.5",fill:"currentColor"}),z.jsx("circle",{cx:"4.5",cy:"12",r:"1.5",fill:"currentColor"})]})}),z.jsxs("button",{onClick:jt,"aria-label":"Search",style:Qv(E,{height:Nt,padding:B?"0 16px 0 12px":"0 14px 0 10px",border:"none",borderRadius:`0 ${Nt/2}px ${Nt/2}px 0`,borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",cursor:"pointer",display:"flex",alignItems:"center",gap:8,transition:E?"none":"box-shadow 0.2s, background 0.2s",color:"var(--uilint-text-primary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,fontWeight:400,flexShrink:0}),onMouseOver:gt=>{E||(gt.currentTarget.style.background="var(--uilint-glass-heavy, rgba(255, 255, 255, 0.85))")},onMouseOut:gt=>{gt.currentTarget.style.background="var(--uilint-glass-medium, rgba(255, 255, 255, 0.7))"},children:[z.jsx(CE,{size:15,style:{opacity:.5}}),z.jsx("span",{style:{opacity:.7},children:"Search"}),!X&&z.jsxs("span",{style:{fontSize:11,opacity:.45,fontWeight:500,marginLeft:2},children:[Tt,"K"]})]}),y?z.jsxs("span",{style:{position:"absolute",top:-4,right:-4,width:18,height:18,borderRadius:9,background:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.9))",border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)",display:"flex",alignItems:"center",justifyContent:"center"},children:[z.jsx("span",{style:{width:10,height:10,borderRadius:"50%",border:"2px solid var(--uilint-border, rgba(0, 0, 0, 0.1))",borderTopColor:"var(--uilint-accent, #3b82f6)",animation:"uilint-spin 0.8s linear infinite"}}),z.jsx("style",{children:"@keyframes uilint-spin { to { transform: rotate(360deg); } }"})]}):Et?z.jsx("span",{style:{position:"absolute",top:-4,right:-4,minWidth:18,height:18,padding:"0 5px",borderRadius:9,background:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.9))",border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:10,fontWeight:600,color:"var(--uilint-error)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:m>99?"99+":m}):null]}),W.map(gt=>z.jsx(S6,{group:gt,state:{plugins:p},onActionClick:St},gt.id)),ct.length>0&&z.jsx("div",{style:Qv(E,{height:Nt,display:"flex",alignItems:"center",gap:2,padding:B?"0 8px":"0 6px",borderRadius:Nt/2,borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"}),children:ct.map(gt=>z.jsx("button",{title:gt.tooltip,disabled:gt.isEnabled?!gt.isEnabled({plugins:p}):!1,onClick:U=>{U.stopPropagation(),St(gt)},style:{background:"transparent",border:"none",cursor:"pointer",padding:4,display:"flex",alignItems:"center",color:"var(--uilint-text-muted)"},children:gt.icon},gt.id))})]}),Mt&&z.jsxs("div",{style:{height:o5,display:"flex",alignItems:"center",justifyContent:"center",paddingLeft:20,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:10,color:"var(--uilint-text-muted)",letterSpacing:"-0.01em",transition:"opacity 0.3s"},children:[Tt,"K for commands"]})]}),oe)}function E6(i){const[l,u]=K.useState(new Map),c=K.useRef(null),p=K.useRef(null),m=K.useRef(null),y=K.useCallback(()=>{if(!i){u(new Map);return}const S=i instanceof Set?i:new Set(i.keys());if(S.size===0){u(new Map);return}const E=new Map;document.querySelectorAll("[data-loc]").forEach(A=>{const R=A.getAttribute("data-loc");if(R&&S.has(R)){const j=A.getBoundingClientRect();j.width>0&&j.height>0&&E.set(R,{dataLoc:R,rect:j,element:A})}}),u(E)},[i]),x=K.useCallback(()=>{m.current||(m.current=requestAnimationFrame(()=>{y(),m.current=null}))},[y]);return K.useEffect(()=>{y(),window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x,{passive:!0}),c.current=new MutationObserver(x),c.current.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-loc"]}),p.current=new MutationObserver(E=>{for(const T of E)if(T.type==="attributes"&&T.attributeName==="style"){x();break}}),p.current.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]});const S=E=>{E.target===document.documentElement&&E.propertyName==="margin-right"&&x()};return document.documentElement.addEventListener("transitionend",S),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",x),c.current?.disconnect(),p.current?.disconnect(),document.documentElement.removeEventListener("transitionend",S),m.current&&cancelAnimationFrame(m.current)}},[y,x]),l}function r5(i){const l=i.split(":"),u=parseInt(l.pop()||"0",10),c=parseInt(l.pop()||"0",10);return{filePath:l.join(":"),line:c,column:u}}function s5(i,l,u,c){return`${i}:${l}:${u}:${c}`}function T6(i){return i===2?"error":"warning"}function A6(i){switch(i){case"error":return"#ef4444";case"warning":return"#f59e0b";case"info":return"#3b82f6"}}function C6(i,l="eslint"){if(!i.message||!i.line)return null;const u=i.dataLoc||"",{filePath:c}=u?r5(u):{filePath:""},p=i.ruleId||"unknown",m=i.severity?T6(i.severity):"warning";return{id:s5(l,p,u,i.line),message:i.message,severity:m,dataLoc:u,ruleId:p,pluginId:l,filePath:c,line:i.line,column:i.column}}function R6({rect:i,issues:l,isHovered:u,isSelected:c,showDetails:p,onBadgeClick:m,onBadgeHover:y}){const x=K.useMemo(()=>l.some(T=>T.severity==="error")?"error":l.some(T=>T.severity==="warning")?"warning":"info",[l]),S=A6(x),E=l.length;return z.jsxs("div",{style:{position:"fixed",left:i.left-2,top:i.top-2,width:i.width+4,height:i.height+4,border:`${c?3:2}px solid ${S}`,borderRadius:4,pointerEvents:"none",opacity:u||c?1:.6,transition:"opacity 0.15s, border-width 0.15s",zIndex:c?99991:99990,boxShadow:c?`0 0 0 2px ${S}40, 0 0 12px ${S}60`:void 0},children:[z.jsx("span",{onClick:T=>{T.stopPropagation(),m()},onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{position:"absolute",top:0,right:0,minWidth:14,height:14,borderRadius:2,background:S,color:"white",fontSize:9,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",padding:"0 3px",pointerEvents:"auto",cursor:"pointer",boxShadow:"0 1px 2px rgba(0,0,0,0.25)",transition:"transform 0.1s, box-shadow 0.1s"},onMouseOver:T=>{T.currentTarget.style.transform="scale(1.1)",T.currentTarget.style.boxShadow="0 2px 6px rgba(0,0,0,0.4)"},onMouseOut:T=>{T.currentTarget.style.transform="scale(1)",T.currentTarget.style.boxShadow="0 1px 3px rgba(0,0,0,0.3)"},children:E}),p&&u&&z.jsxs("div",{style:{position:"absolute",top:18,right:0,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:99992,pointerEvents:"none"},children:[z.jsxs("strong",{children:[E," issue",E!==1?"s":""]}),z.jsxs("div",{style:{marginTop:4,opacity:.8},children:[l.slice(0,3).map((T,A)=>z.jsxs("div",{style:{marginTop:A>0?4:0},children:["• ",T.message.slice(0,60),T.message.length>60?"...":""]},A)),l.length>3&&z.jsxs("div",{style:{marginTop:4,opacity:.6},children:["+",l.length-3," more..."]})]})]})]})}function D6(){const i=Ot(Z=>Z.altKeyHeld),l=Ot(Z=>Z.openInspectorPanel),u=Ot(Z=>Z.expandFile),c=Ot(Z=>Z.selectIssue),p=Ot(Z=>Z.addFilter),m=Ot(Z=>Z.hoveredElementId),y=Ot(Z=>Z.setHoveredElementId),x=Ot(Z=>Z.inspector.selectedIssueId),S=Ot(uE),E=Ot(UM),T=Ot(LM),A=E6(S),R=K.useMemo(()=>{const Z=Array.from(A.entries());if(!T)return Z;if(E.length===0)return[];const W=new Set(E);return Z.filter(([rt])=>W.has(rt))},[A,E,T]),j=Z=>{const W=S.get(Z)||[];if(W.length>0){const rt=W[0],ct=rt.filePath.split("/").pop()||rt.filePath;p({type:"file",id:rt.filePath,label:ct}),u(rt.filePath),c(rt.id)}l()},B=(Z,W)=>{y(W?Z:null)},X=K.useMemo(()=>{if(!x)return null;for(const[Z,W]of S.entries())if(W.some(rt=>rt.id===x))return Z;return null},[x,S]);if(!S||S.size===0)return null;const q=document.getElementById("uilint-portal")||document.body;return $m.createPortal(z.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:99990},children:R.map(([Z,{rect:W}])=>{const rt=S.get(Z)||[];return rt.length===0?null:z.jsx(R6,{dataLoc:Z,rect:W,issues:rt,isHovered:m===Z||T,isSelected:X===Z,showDetails:i,onBadgeClick:()=>j(Z),onBadgeHover:ct=>B(Z,ct)},Z)})}),q)}function M6(){const i=Ot(YM),l=Ot(qM),u=Ot(uE),c=Ot(GM),p=Ot(XM),m=K.useCallback(y=>u.get(y)||[],[u]);return{allIssues:i,byFile:l,byDataLoc:u,getIssuesForDataLoc:m,totalCount:c,countBySeverity:p}}const u5="ws://localhost:9234",FS=5,z6=1e3;class O6{constructor(l={}){this.options=l,this.createWebSocket=l.createWebSocket??(u=>new WebSocket(u)),this._setTimeout=l.setTimeout??globalThis.setTimeout,this._clearTimeout=l.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=u5;connect(l){if(typeof WebSocket>"u"&&!this.options.createWebSocket){_e("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!l||l===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=l??u5,this.intentionalDisconnect=!1;try{this.ws=this.createWebSocket(this.url),this.setupEventHandlers()}catch(u){$n("[WebSocket] Failed to create WebSocket:",u),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(l){if(!this.ws||!this.isConnected){_e("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(l))}catch(u){$n("[WebSocket] Failed to send message:",u)}}on(l,u){this.handlers.has(l)||this.handlers.set(l,new Set);const c=this.handlers.get(l);return c.add(u),()=>{c.delete(u),c.size===0&&this.handlers.delete(l)}}onConnectionChange(l){return this.connectionHandlers.add(l),l(this.isConnected),()=>{this.connectionHandlers.delete(l)}}setupEventHandlers(){this.ws&&(this.ws.onopen=()=>{It(`[WebSocket] Connected to ${this.url}`),this.isConnected=!0,this.reconnectAttempts=0,this.notifyConnectionChange(!0)},this.ws.onclose=l=>{It(`[WebSocket] Disconnected from ${this.url} (code: ${l?.code??"unknown"}, reason: ${l?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=l=>{$n("[WebSocket] Connection error:",l)},this.ws.onmessage=l=>{try{const u=JSON.parse(l.data),c=u.type;It(`[WebSocket] Received message: ${c||"unknown"}`,u),c?this.dispatch(c,u):this.dispatch("*",u)}catch(u){$n("[WebSocket] Failed to parse message:",u)}})}dispatch(l,u){const c=this.handlers.get(l);if(c&&c.forEach(p=>{try{p(u)}catch(m){$n(`[WebSocket] Handler error for type "${l}":`,m)}}),l!=="*"){const p=this.handlers.get("*");p&&p.forEach(m=>{try{m(u)}catch(y){$n("[WebSocket] Wildcard handler error:",y)}})}}notifyConnectionChange(l){this.connectionHandlers.forEach(u=>{try{u(l)}catch(c){$n("[WebSocket] Connection handler error:",c)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this.reconnectAttempts>=FS){_e(`[WebSocket] Max reconnection attempts (${FS}) reached`);return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const l=z6*Math.pow(2,this.reconnectAttempts);this.reconnectAttempts++,It(`[WebSocket] Reconnecting in ${l}ms (attempt ${this.reconnectAttempts}/${FS})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},l)}}const Ho=new O6,_6=300*1e3,Zv=new Map,PS=new Map;function c5(i){const l=Zv.get(i);return l?Date.now()-l.fetchedAt>_6?(Zv.delete(i),null):l:null}function f5(i,l,u,c){const p={content:l,lines:l.split(`
252
+ `),totalLines:u,relativePath:c,fetchedAt:Date.now()};return Zv.set(i,p),p}function d5(i){Zv.delete(i)}function WS(i,l,u=5,c=5){const p=l-1,m=Math.max(0,p-u),y=Math.min(i.lines.length,p+c+1);return{lines:i.lines.slice(m,y),startLine:m+1,highlightLine:l,relativePath:i.relativePath}}function k6(i){return PS.get(i)}function j6(i,l){PS.set(i,l),l.finally(()=>{PS.delete(i)})}function U6({filePath:i,line:l,contextAbove:u=5,contextBelow:c=5,enabled:p=!0}){const[m,y]=K.useState(null),[x,S]=K.useState(!1),[E,T]=K.useState(null),A=Ot(B=>B.wsConnected),R=K.useRef(null),j=K.useCallback(()=>{if(!p||!i||!A)return;const B=c5(i);if(B){y(WS(B,l,u,c)),S(!1),T(null);return}const X=k6(i);if(X){S(!0),X.then(W=>{W&&(y(WS(W,l,u,c)),T(null)),S(!1)});return}S(!0),T(null);const q=`source-${i}-${Date.now()}`;R.current=q;const Z=new Promise(W=>{const rt=Ho.on("source:result",xt=>{if(xt.filePath===i){const Tt=f5(xt.filePath,xt.content,xt.totalLines,xt.relativePath);rt(),ct(),W(Tt)}}),ct=Ho.on("source:error",xt=>{xt.filePath===i&&(T(xt.error),rt(),ct(),W(null))});Ho.send({type:"source:fetch",filePath:i,requestId:q}),setTimeout(()=>{rt(),ct(),W(null)},1e4)});j6(i,Z),Z.then(W=>{W&&y(WS(W,l,u,c)),S(!1)})},[i,l,u,c,p,A]);return K.useEffect(()=>{j()},[j]),K.useEffect(()=>i?Ho.on("file:changed",X=>{(X.filePath===i||X.filePath.endsWith(i)||i.endsWith(X.filePath))&&(d5(i),p&&j())}):void 0,[i,p,j]),{context:m,isLoading:x,error:E,refetch:j}}function L6(i,l,u,c){const[p,m]=K.useState(0);K.useEffect(()=>{m(0)},[i]);const y=K.useCallback(x=>{const S=i.length;if(S===0)return;const E=B=>Math.max(0,Math.min(B,S-1)),T=Math.floor(p/l),A=p%l,R=T*l,j=Math.min(R+l-1,S-1);switch(x.key){case"ArrowDown":{x.preventDefault();const B=p+l;B>=S?m(A<S?A:0):m(B);break}case"ArrowUp":{x.preventDefault();const B=p-l;if(B<0){const Z=(Math.ceil(S/l)-1)*l+A;m(E(Z))}else m(B);break}case"ArrowLeft":{x.preventDefault(),p>R&&m(p-1);break}case"ArrowRight":{x.preventDefault(),p<j&&m(p+1);break}case"Enter":{x.preventDefault();const B=i[p];B&&u(B);break}case"Backspace":{c&&(x.preventDefault(),c());break}case"Home":{x.preventDefault(),m(0);break}case"End":{x.preventDefault(),m(S-1);break}}},[i,l,p,u,c]);return{selectedIndex:p,setSelectedIndex:m,handleKeyDown:y}}const tw=[];function N6(i){const l=sf();if(!l)return _e("[useTileItems] Plugin services not available"),tw;const u=li.getAllTileProviders();if(u.length===0)return tw;const c=[];for(const{pluginId:p,provider:m}of u)try{const x=m.getTileItems(l,i).map(S=>({...S,metadata:{...S.metadata,providerId:p}}));c.push(...x)}catch(y){_e(`[useTileItems] Error getting tile items from plugin "${p}":`,y)}return c}function H6(i,l){const u=Ot(jM),c=Ot(x=>x.commandPalette.query),p=K.useMemo(()=>N6(u),[u]),m=K.useMemo(()=>{if(p.length===0)return tw;const x=_M(p,c);return kM(x)},[p,c]),y=K.useMemo(()=>{const x=li.getAllTileProviders();for(const{provider:S}of x)if(S.isTerminal&&S.isTerminal(u))return!0;return!1},[u]);return{items:m,isLoading:!1,isTerminal:y}}const h5={scope:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},rule:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},file:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},severity:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"},category:{background:"rgba(128, 128, 128, 0.08)",text:"var(--uilint-text-secondary, currentColor)",border:"rgba(128, 128, 128, 0.15)"}},V6=h5.category,B6=[.32,.72,0,1],Y6={initial:{opacity:0,x:-8,scale:.9},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,scale:.85,width:0,marginRight:0,paddingLeft:0,paddingRight:0}};function q6({filter:i,onRemove:l}){const[u,c]=K.useState(!1),p=h5[i.type]||V6,m={display:"inline-flex",alignItems:"center",gap:6,padding:"4px 8px 4px 10px",borderRadius:999,background:p.background,border:`1px solid ${p.border}`,fontSize:12,fontWeight:450,lineHeight:1.2,color:p.text,whiteSpace:"nowrap",overflow:"hidden"},y={maxWidth:120,overflow:"hidden",textOverflow:"ellipsis"},x={display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,padding:0,margin:0,border:"none",background:u?"rgba(128, 128, 128, 0.12)":"transparent",borderRadius:"50%",color:"inherit",cursor:"pointer",opacity:u?.8:.5,transition:"background 0.15s ease, opacity 0.15s ease"};return z.jsxs(ke.span,{style:m,variants:Y6,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15,ease:B6},layout:!0,children:[z.jsx("span",{style:y,children:i.label}),z.jsx("button",{type:"button",onClick:S=>{S.stopPropagation(),l()},onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:x,"aria-label":`Remove ${i.label} filter`,children:z.jsx(Sv,{size:12,strokeWidth:2})})]})}const G6=No("flex items-center gap-4 border-b transition-all duration-150",{variants:{size:{default:"px-5 py-4",large:"px-6 py-5"},state:{default:"bg-transparent border-foreground/[0.06]",focused:"bg-foreground/[0.02] border-foreground/[0.08]"}},defaultVariants:{size:"large",state:"default"}}),X6=No("flex-1 bg-transparent border-none outline-none font-normal tracking-tight",{variants:{size:{default:"text-base h-8",large:"text-lg h-10"}},defaultVariants:{size:"large"}}),Q6={default:{scale:1,opacity:.35},focused:{scale:1,opacity:.5}},Z6={initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},$6={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},ew=[.32,.72,0,1];function K6({value:i,onChange:l,placeholder:u="Search commands, issues, rules...",autoFocus:c=!0,size:p,className:m,filters:y=[],onRemoveFilter:x,onRemoveLastFilter:S}){const E=K.useRef(null),[T,A]=K.useState(!1),R=Ot(X=>X.mobile.isMobile);K.useEffect(()=>{if(!c)return;const X=setTimeout(()=>{E.current?.focus()},50);return()=>clearTimeout(X)},[c]);const j=X=>{X.key==="Backspace"&&i===""&&y.length>0&&S&&(X.preventDefault(),S())},B=T?"focused":"default";return z.jsxs(ke.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:$t(G6({size:p,state:B}),m),style:{boxShadow:"none"},children:[z.jsx(ke.div,{variants:Q6,animate:B,transition:{duration:.15,ease:ew},className:"flex items-center justify-center shrink-0",style:{color:"var(--uilint-text-muted)"},children:z.jsx(CE,{size:p==="large"?22:18})}),z.jsxs("div",{className:"flex-1 flex flex-wrap items-center gap-2 min-w-0",children:[z.jsx(Li,{mode:"popLayout",children:y.map((X,q)=>z.jsx(q6,{filter:X,onRemove:()=>x?.(q)},`${X.type}-${X.id}`))}),z.jsx("input",{ref:E,type:"text",value:i,onChange:X=>l(X.target.value),onFocus:()=>A(!0),onBlur:()=>A(!1),onKeyDown:j,placeholder:y.length>0?"Add more filters...":u,className:$t(X6({size:p}),"min-w-[120px]"),style:{color:"var(--uilint-text-primary)",caretColor:"var(--uilint-accent)"}})]}),z.jsx(Li,{mode:"wait",children:i||y.length>0?z.jsx(ke.div,{variants:Z6,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:ew},children:z.jsx(hg,{variant:"ghost",size:"sm",onClick:()=>{if(l(""),y.length>0&&x)for(let X=y.length-1;X>=0;X--)x(X)},disableMotion:!0,style:{color:"var(--uilint-text-muted)",opacity:.6},children:z.jsx(Sv,{size:14})})},"clear"):R?null:z.jsxs(ke.div,{variants:$6,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:ew},className:"flex items-center gap-2 shrink-0",children:[z.jsx(JC,{animate:!1,children:"esc"}),z.jsx("span",{className:"text-[11px]",style:{color:"var(--uilint-text-disabled)"},children:"to close"})]},"hint")})]})}const I6=No(["h-full cursor-pointer overflow-hidden relative box-border","flex flex-col justify-between","rounded-2xl","transition-all duration-150"],{variants:{selected:{true:"bg-foreground/[0.04] border border-foreground/12",false:"border border-foreground/[0.04] hover:bg-foreground/[0.03] hover:border-foreground/[0.08]"},size:{xs:"p-4",sm:"p-4",md:"p-5",lg:"p-6",xl:"p-6"}},defaultVariants:{selected:!1,size:"md"}}),J6=No(["font-light leading-tight tracking-tight","text-foreground","overflow-hidden text-ellipsis","[-webkit-box-orient:vertical] [-webkit-line-clamp:2] [display:-webkit-box]"],{variants:{size:{xs:"text-[15px] [-webkit-line-clamp:1]",sm:"text-[17px] [-webkit-line-clamp:1]",md:"text-xl",lg:"text-2xl",xl:"text-[28px]"}},defaultVariants:{size:"md"}}),F6=No(["font-extralight leading-none tracking-tighter","text-foreground/70"],{variants:{size:{xs:"text-xl",sm:"text-2xl",md:"text-[32px]",lg:"text-[40px]",xl:"text-[52px]"}},defaultVariants:{size:"md"}}),P6=[.32,.72,0,1];function nw({type:i,count:l,showCount:u}){if(l===0)return null;const c={error:"bg-error/70",warning:"bg-warning/70",info:"bg-info/70"};return z.jsxs("div",{className:"flex items-center gap-1.5",children:[z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",c[i])}),u&&z.jsx("span",{className:"text-[11px] font-normal text-muted-foreground/70",children:l})]})}function W6({severityCounts:i,showCounts:l}){return!i||!(i.error>0||i.warning>0||i.info>0)?null:z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx(nw,{type:"error",count:i.error,showCount:l}),z.jsx(nw,{type:"warning",count:i.warning,showCount:l}),z.jsx(nw,{type:"info",count:i.info,showCount:l})]})}function t8({isHovered:i}){return z.jsx(ke.div,{initial:{opacity:0},animate:{opacity:i?1:0},transition:{duration:.15},className:"absolute inset-0 rounded-2xl pointer-events-none bg-gradient-to-br from-foreground/[0.02] to-transparent"})}function e8({item:i,bucket:l,isSelected:u,onClick:c}){const[p,m]=kn.useState(!1),y=l==="xs"||l==="sm";return z.jsxs(ke.div,{onClick:c,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.15,ease:P6},className:$t(I6({selected:u,size:l})),children:[z.jsxs("div",{children:[z.jsx("span",{className:$t(J6({size:l})),children:i.label}),i.subtitle&&!y&&z.jsx("div",{className:"mt-2 text-xs font-normal text-muted-foreground/60 truncate tracking-wide",children:i.subtitle})]}),z.jsxs("div",{className:"flex items-end justify-between gap-4",children:[z.jsx("span",{className:$t(F6({size:l})),children:i.count}),z.jsx(W6,{severityCounts:i.severityCounts,showCounts:!y})]}),z.jsx(t8,{isHovered:p})]})}const p5={top:0,right:0,bottom:0,left:0},n8={availableWidth:416,gap:12,minTileWidth:120,padding:p5},a8={xs:72,sm:96,md:128,lg:168,xl:220};function i8(i,l){if(l.length===0)return"md";const u=l.length,c=l.findIndex(m=>i>=m),p=c===-1?1:c/u;return p<.1?"xl":p<.3?"lg":p<.6?"md":p<.85?"sm":"xs"}function o8(i){const l=i.map(c=>c.count).sort((c,p)=>p-c),u=new Map;for(const c of i)u.set(c.id,i8(c.count,l));return u}function l8(i,l,u){for(let c=3;c>=1;c--)if((i-l*(c-1))/c>=u)return c;return 1}function r8(i,l,u,c){return(u-c*(l-1))/l*i+c*(i-1)}function s8(i,l,u){return l===1?1:l===2?i==="xl"&&u?2:1:i==="xl"&&u?3:i==="lg"?2:1}function u8(i,l,u,c,p,m,y){const x=(y-m*(c-1))/c;let S=0,E=1/0;for(let R=0;R<=c-p;R++){let j=0;for(let B=R;B<R+p;B++)j=Math.max(j,u[B]);j<E&&(E=j,S=R)}const T=S*(x+m),A=[];for(let R=S;R<S+p;R++)A.push(R);return{x:T,y:E,columns:A}}function c8(i,l={}){const u={...p5,...l.padding};if(i.length===0)return{tiles:new Map,rowCount:0,columnCount:0,pattern:"grid",totalHeight:u.top+u.bottom};const c={...n8,...l},{availableWidth:p,gap:m,minTileWidth:y}=c,{top:x,left:S,bottom:E}=u,T=l8(p,m,y),A=o8(i),R=[...i].sort((Z,W)=>W.count-Z.count),j=new Array(T).fill(0),B=new Map;R.forEach((Z,W)=>{const rt=A.get(Z.id)||"md",ct=a8[rt],Tt=s8(rt,T,W===0),bt=r8(Tt,T,p,m),{x:ot,y:jt,columns:St}=u8(bt,ct,j,T,Tt,m,p);for(const oe of St)j[oe]=jt+ct+m;B.set(Z.id,{id:Z.id,row:0,column:St[0],width:`${bt}px`,widthFraction:Tt/T,bucket:rt,isRowStart:St[0]===0,x:ot+S,y:jt+x,height:ct})});const X=Math.max(...j)-m+x+E;let q="grid";return i.length===1?q="single":i.length===2?q="pair":i.length===3?q="trio":i.length===4&&(q="quad"),{tiles:B,rowCount:Math.ceil(i.length/T),columnCount:T,pattern:q,totalHeight:X}}const f8=[.32,.72,0,1],d8={top:20,right:24,bottom:20,left:24},h8=532,p8=14;function m8(){return z.jsxs(ke.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:$t("flex flex-col items-center justify-center","py-16 px-8 text-center"),children:[z.jsx("div",{className:"mb-4 opacity-30",children:z.jsx(Ez,{size:28,strokeWidth:1.5})}),z.jsx("div",{className:"text-sm font-normal text-foreground/60 mb-1",children:"No items to display"}),z.jsx("div",{className:"text-xs text-muted-foreground/70",children:"Try adjusting your filters or search query"})]})}function g8({items:i,onTileClick:l,selectedIndex:u,isTerminal:c=!1}){if(i.length===0)return z.jsx(m8,{});const{layout:p,sortedItems:m,itemIndexMap:y}=kn.useMemo(()=>{const x=c8(i,{availableWidth:h8,gap:p8,padding:d8}),S=[...i].sort((T,A)=>{const R=x.tiles.get(T.id),j=x.tiles.get(A.id),B=(R?.y??0)-(j?.y??0);return Math.abs(B)>10?B:(R?.x??0)-(j?.x??0)}),E=new Map;return S.forEach((T,A)=>E.set(T.id,A)),{layout:x,sortedItems:S,itemIndexMap:E}},[i]);return z.jsx("div",{className:"relative",style:{height:p.totalHeight,minHeight:200},children:z.jsx(Li,{mode:"popLayout",children:m.map((x,S)=>{const E=p.tiles.get(x.id);if(!E)return null;const T=y.get(x.id)??S;return z.jsx(ke.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:f8,delay:Math.min(S*.03,.2)},className:"absolute",style:{left:E.x,top:E.y,width:E.width,height:E.height},children:z.jsx(e8,{item:x,bucket:E.bucket,isSelected:T===u,onClick:()=>l(x)})},x.id)})})})}const y8={duration:.12,ease:[.32,.72,0,1]};function v8(){const i=Ot(W=>W.commandPalette.open),l=Ot(W=>W.commandPalette.query),u=Ot(W=>W.commandPalette.filters),c=Ot(W=>W.closeCommandPalette),p=Ot(W=>W.setCommandPaletteQuery);Ot(W=>W.openInspector);const m=Ot(W=>W.openInspectorPanel),y=Ot(W=>W.addFilter),x=Ot(W=>W.removeFilter),S=Ot(W=>W.removeLastFilter),E=Ot(W=>W.mobile.isMobile),{items:T,isTerminal:A}=H6(),R=K.useCallback(()=>{S()},[S]),j=K.useCallback(async W=>{const rt=sf();if(!rt){$n("[CommandPalette] Plugin services not available");return}const ct=W.metadata?.execute;if(ct){try{await ct(rt)}catch(St){$n(`[CommandPalette] Error executing tile item "${W.id}":`,St)}c();return}const xt=W.metadata?.providerId;if(!xt){m(),c();return}const bt=li.getAllTileProviders().find(St=>St.pluginId===xt);if(!bt){m(),c();return}const{provider:ot}=bt;if(W.metadata?.isFile===!0){if(ot.createFilter){const St=ot.createFilter(W);y(St)}m(),c()}else if(ot.createFilter){const St=ot.createFilter(W);y(St),m()}else m(),c()},[m,c,y]),{selectedIndex:B,handleKeyDown:X}=L6(T,3,j,R),q=K.useCallback(W=>{X(W)},[X]),Z=document.getElementById("uilint-portal")||document.body;return $m.createPortal(z.jsx(Li,{children:i&&z.jsx(ke.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.12},style:{position:"fixed",inset:0,background:E?"var(--uilint-surface)":"transparent",display:"flex",alignItems:E?"stretch":"flex-start",justifyContent:"center",paddingTop:E?0:100,zIndex:99998,pointerEvents:"auto"},onClick:W=>{W.target===W.currentTarget&&c()},onKeyDown:q,children:z.jsx(ke.div,{initial:E?{opacity:0}:{opacity:0,scale:.96,y:-20},animate:E?{opacity:1}:{opacity:1,scale:1,y:0},exit:E?{opacity:0}:{opacity:0,scale:.98,y:-10},transition:E?{duration:.15}:y8,style:E?{display:"flex",flexDirection:"column",width:"100%",height:"100%"}:void 0,children:z.jsxs(i5,{blur:E?"light":"heavy",shadow:E?void 0:"lg",animate:!1,style:{width:E?"100%":580,height:E?"100%":"auto",borderRadius:E?0:20,overflow:"hidden",display:E?"flex":"block",flexDirection:E?"column":void 0,paddingTop:E?"env(safe-area-inset-top, 0px)":void 0,paddingBottom:E?"env(safe-area-inset-bottom, 0px)":void 0},children:[E&&z.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px 8px",borderBottom:"1px solid var(--uilint-border)"},children:[z.jsx("span",{style:{fontSize:15,fontWeight:600,color:"var(--uilint-text-primary)"},children:"Search"}),z.jsx("button",{onClick:c,style:{padding:"8px 16px",fontSize:14,fontWeight:500,color:"var(--uilint-accent)",background:"transparent",border:"none",cursor:"pointer",borderRadius:8},children:"Done"})]}),z.jsx(K6,{value:l,onChange:p,size:E?"default":"large",filters:u,onRemoveFilter:W=>x(W),onRemoveLastFilter:S}),z.jsx("div",{style:{maxHeight:E?"none":440,flex:E?1:void 0,minHeight:0,overflowY:"auto",overflowX:"hidden",WebkitOverflowScrolling:"touch"},children:z.jsx(Li,{mode:E?"sync":"wait",children:z.jsx(ke.div,{initial:E?!1:{opacity:0},animate:{opacity:1},exit:E?void 0:{opacity:0},transition:{duration:E?0:.1},children:z.jsx(g8,{items:T,onTileClick:j,selectedIndex:B,isTerminal:A})},"tiles")})})]})})})}),Z)}function aw({type:i,count:l}){if(l===0)return null;const u={error:"bg-error/70",warning:"bg-warning/70",info:"bg-info/70"}[i];return z.jsxs("span",{className:"inline-flex items-center gap-1",children:[z.jsx("span",{className:$t("w-1.5 h-1.5 rounded-full",u)}),z.jsx("span",{children:l})]})}function b8({totalIssues:i,totalFiles:l,totalRules:u,severityCounts:c,className:p}){const m=c.error>0||c.warning>0||c.info>0;return z.jsxs("div",{className:$t("flex items-center justify-between","px-4 py-2.5","text-sm text-muted-foreground/70","border-b border-foreground/[0.04]",p),children:[z.jsxs("div",{className:"flex items-center gap-1",children:[z.jsx("span",{className:"font-medium text-foreground/80",children:i}),z.jsx("span",{children:i===1?"issue":"issues"}),z.jsx("span",{className:"text-muted-foreground/40 mx-1",children:"·"}),z.jsx("span",{children:l}),z.jsx("span",{children:l===1?"file":"files"}),u!==void 0&&z.jsxs(z.Fragment,{children:[z.jsx("span",{className:"text-muted-foreground/40 mx-1",children:"·"}),z.jsx("span",{children:u}),z.jsx("span",{children:u===1?"rule":"rules"})]})]}),m&&z.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[z.jsx(aw,{type:"error",count:c.error}),z.jsx(aw,{type:"warning",count:c.warning}),z.jsx(aw,{type:"info",count:c.info})]})]})}function x8({ruleFilter:i,description:l,category:u,docsUrl:c,configExpanded:p,onToggleConfig:m,onClear:y,className:x}){const S=i.id.includes("/")?i.id.split("/").pop():i.id,E=i.id.includes("/")?i.id.split("/")[0]:null;return z.jsx(ke.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:$t("bg-foreground/[0.02]","border-b border-foreground/[0.06]",x),children:z.jsxs("div",{className:"px-4 py-3",children:[z.jsx("div",{className:"flex items-start justify-between gap-3",children:z.jsxs("div",{className:"flex-1 min-w-0",children:[z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-lg font-medium text-foreground truncate",children:S}),z.jsx(hg,{variant:"ghost",size:"sm",onClick:y,title:"Clear filter",className:"opacity-60 hover:opacity-100",children:z.jsx(Sv,{size:14})})]}),(u||E)&&z.jsxs("div",{className:"text-xs text-muted-foreground/60 uppercase tracking-wider mt-0.5",children:[E&&z.jsx("span",{children:E}),E&&u&&z.jsx("span",{className:"mx-1",children:"·"}),u&&z.jsx("span",{children:u})]}),l&&z.jsx("p",{className:"text-sm text-foreground/70 mt-2 leading-relaxed",children:l})]})}),z.jsxs("div",{className:"flex items-center gap-2 mt-3",children:[z.jsxs("button",{type:"button",onClick:m,className:$t("inline-flex items-center gap-1.5","px-2.5 py-1.5 rounded-md","text-xs text-foreground/70","bg-foreground/[0.04] hover:bg-foreground/[0.08]","border border-foreground/[0.06]","transition-colors duration-100"),children:[z.jsx(ke.span,{animate:{rotate:p?90:0},transition:{duration:.15},children:z.jsx(Cx,{size:12})}),"Configure"]}),c&&z.jsxs("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:$t("inline-flex items-center gap-1.5","px-2.5 py-1.5 rounded-md","text-xs text-foreground/50 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100"),children:[z.jsx(xz,{size:12}),"Docs"]})]})]})})}function iw({severity:i,isSelected:l,onClick:u,label:c}){const p={off:"bg-muted-foreground/30",warn:"bg-warning/70",error:"bg-error/70"}[i];return z.jsxs("button",{type:"button",onClick:u,className:$t("flex items-center gap-2 px-3 py-2 rounded-md","text-sm transition-colors duration-100",l?"bg-foreground/[0.08] text-foreground":"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80"),children:[z.jsx("div",{className:$t("w-2 h-2 rounded-full",p)}),z.jsx("span",{children:c})]})}function S8({ruleId:i,currentSeverity:l,onSeverityChange:u,hasPendingChanges:c=!1,onApply:p,onReset:m,className:y}){return z.jsx(ke.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:$t("overflow-hidden","bg-foreground/[0.01]","border-b border-foreground/[0.06]",y),children:z.jsxs("div",{className:"px-4 py-4",children:[z.jsxs("div",{className:"mb-4",children:[z.jsx("label",{className:"block text-xs text-muted-foreground/70 uppercase tracking-wider mb-2",children:"Severity"}),z.jsxs("div",{className:"flex items-center gap-1 p-1 bg-foreground/[0.02] rounded-lg border border-foreground/[0.04]",children:[z.jsx(iw,{severity:"off",isSelected:l==="off",onClick:()=>u("off"),label:"Off"}),z.jsx(iw,{severity:"warn",isSelected:l==="warn",onClick:()=>u("warn"),label:"Warn"}),z.jsx(iw,{severity:"error",isSelected:l==="error",onClick:()=>u("error"),label:"Error"})]})]}),z.jsx("div",{className:"text-xs text-muted-foreground/50 italic mb-4",children:"Additional rule options coming soon"}),(p||m)&&z.jsxs("div",{className:"flex items-center gap-2",children:[p&&z.jsx("button",{type:"button",onClick:p,disabled:!c,className:$t("px-3 py-1.5 rounded-md text-sm","transition-colors duration-100",c?"bg-foreground/[0.08] text-foreground hover:bg-foreground/[0.12]":"bg-foreground/[0.02] text-muted-foreground/40 cursor-not-allowed"),children:"Apply changes"}),m&&z.jsx("button",{type:"button",onClick:m,className:$t("px-3 py-1.5 rounded-md text-sm","text-foreground/50 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100"),children:"Reset to default"})]})]})})}function w8(i){switch(i){case"error":return"bg-error/70";case"warning":return"bg-warning/70";case"info":return"bg-info/70"}}function E8(i){return i.includes("/")?i.split("/").pop():i}function T8({ruleId:i,ruleName:l,count:u,severity:c,onClick:p,className:m}){const y=l||E8(i);return z.jsxs(ke.button,{type:"button",onClick:x=>{x.stopPropagation(),p()},whileHover:{scale:1.02},whileTap:{scale:.98},className:$t("inline-flex items-center gap-1.5","px-2.5 py-1 rounded-full","bg-foreground/[0.04] hover:bg-foreground/[0.08]","border border-foreground/[0.06]","text-xs font-normal text-foreground/70","transition-colors duration-100","cursor-pointer",m),children:[z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full flex-shrink-0",w8(c))}),z.jsx("span",{className:"truncate max-w-[120px]",children:y}),z.jsxs("span",{className:"text-muted-foreground/60",children:["×",u]})]})}const ow=new Map;function A8({filePath:i,enabled:l=!0}){const[u,c]=K.useState(null),[p,m]=K.useState(!1),[y,x]=K.useState(null),S=Ot(A=>A.wsConnected),E=K.useRef(null),T=K.useCallback(()=>{if(!l||!i||!S)return;const A=c5(i);if(A){c(A),m(!1),x(null);return}const R=ow.get(i);if(R){m(!0),R.then(X=>{X&&(c(X),x(null)),m(!1)});return}m(!0),x(null);const j=`source-full-${i}-${Date.now()}`;E.current=j;const B=new Promise(X=>{const q=Ho.on("source:result",W=>{if(W.filePath===i){const rt=f5(W.filePath,W.content,W.totalLines,W.relativePath);q(),Z(),X(rt)}}),Z=Ho.on("source:error",W=>{W.filePath===i&&(x(W.error),q(),Z(),X(null))});Ho.send({type:"source:fetch",filePath:i,requestId:j}),setTimeout(()=>{q(),Z(),X(null)},1e4)});ow.set(i,B),B.then(X=>{X&&c(X),m(!1)}).finally(()=>{ow.delete(i)})},[i,l,S]);return K.useEffect(()=>{T()},[T]),K.useEffect(()=>i?Ho.on("file:changed",R=>{(R.filePath===i||R.filePath.endsWith(i)||i.endsWith(R.filePath))&&(d5(i),c(null),l&&T())}):void 0,[i,l,T]),{source:u,lines:u?.lines??[],totalLines:u?.totalLines??0,isLoading:p,error:y,refetch:T}}function C8(i){switch(i){case"error":return{border:"border-l-error/70",bg:"bg-error/[0.06]",dot:"bg-error/70"};case"warning":return{border:"border-l-warning/70",bg:"bg-warning/[0.06]",dot:"bg-warning/70"};case"info":return{border:"border-l-info/70",bg:"bg-info/[0.06]",dot:"bg-info/70"}}}function R8(i){return i.includes("/")?i.split("/").pop():i}function D8({issue:i,isSelected:l,onSelect:u,gutterWidth:c=40,className:p}){const m=C8(i.severity);return z.jsxs(ke.div,{onClick:u,initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.02)"},className:$t("flex items-start cursor-pointer","border-l-2",m.border,m.bg,l&&"ring-1 ring-inset ring-foreground/10","transition-colors duration-100",p),children:[z.jsx("span",{className:"flex-shrink-0 flex items-center justify-end pr-2 py-1",style:{width:c},children:z.jsx("span",{className:$t("w-1.5 h-1.5 rounded-full",m.dot)})}),z.jsxs("div",{className:"flex-1 min-w-0 py-1 pr-3",children:[z.jsx("p",{className:$t("text-xs leading-relaxed","text-foreground/80",l?"line-clamp-none":"line-clamp-2"),children:i.message}),z.jsx("span",{className:$t("inline-block mt-0.5 text-[10px] text-muted-foreground/50","font-mono",!l&&"opacity-0 group-hover:opacity-100","transition-opacity duration-100"),children:R8(i.ruleId)})]})]})}function M8(i,l,u=2){if(i.length===0)return l>0?{regions:[],gaps:[{id:0,startLine:1,endLine:l,lineCount:l,position:"start"}]}:{regions:[],gaps:[]};const c=[...i].sort((S,E)=>S.line-E.line),p=[];for(const S of c){const E=Math.max(1,S.line-u),T=Math.min(l,S.line+u),A=p[p.length-1];A&&E<=A.end+1?(A.end=Math.max(A.end,T),A.issues.push(S)):p.push({start:E,end:T,issues:[S]})}const m=p.map(S=>({startLine:S.start,endLine:S.end,issues:S.issues})),y=[];let x=0;m.length>0&&m[0].startLine>1&&y.push({id:x++,startLine:1,endLine:m[0].startLine-1,lineCount:m[0].startLine-1,position:"start"});for(let S=0;S<m.length-1;S++){const E=m[S].endLine,T=m[S+1].startLine;T>E+1&&y.push({id:x++,startLine:E+1,endLine:T-1,lineCount:T-E-1,position:"middle"})}if(m.length>0){const S=m[m.length-1];S.endLine<l&&y.push({id:x++,startLine:S.endLine+1,endLine:l,lineCount:l-S.endLine,position:"end"})}return{regions:m,gaps:y}}function z8(i,l,u){const c=i.gaps.findIndex(x=>x.id===l);if(c===-1)return i;const p=i.gaps[c],m=[...i.regions],y=i.gaps.filter(x=>x.id!==l);if(p.position==="start")m.length>0?m[0]={...m[0],startLine:p.startLine}:m.push({startLine:p.startLine,endLine:p.endLine,issues:[]});else if(p.position==="end")if(m.length>0){const x=m.length-1;m[x]={...m[x],endLine:p.endLine}}else m.push({startLine:p.startLine,endLine:p.endLine,issues:[]});else{const x=m.findIndex(E=>E.endLine===p.startLine-1),S=m.findIndex(E=>E.startLine===p.endLine+1);if(x!==-1&&S!==-1){const E={startLine:m[x].startLine,endLine:m[S].endLine,issues:[...m[x].issues,...m[S].issues]};S>x?(m.splice(S,1),m.splice(x,1,E)):(m.splice(x,1),m.splice(S,1,E))}}return{regions:m,gaps:y}}function O8(i,l){return i.filter(u=>u.line===l)}function _8(i){if(i.length===0)return null;const l={error:0,warning:1,info:2};return[...i].sort((c,p)=>l[c.severity]-l[p.severity])[0].severity}function k8(i,l){if(!l)return"";switch(i){case"error":return"bg-error/[0.08]";case"warning":return"bg-warning/[0.08]";case"info":return"bg-info/[0.08]";default:return""}}function j8(i,l){if(!l)return"border-l-2 border-l-transparent";switch(i){case"error":return"border-l-2 border-l-error/70";case"warning":return"border-l-2 border-l-warning/70";case"info":return"border-l-2 border-l-info/70";default:return"border-l-2 border-l-transparent"}}function U8({lines:i,startLine:l,issues:u,selectedIssueId:c,onIssueSelect:p,gutterWidth:m=40,className:y}){return z.jsx("div",{className:$t("font-mono text-xs leading-relaxed","overflow-x-auto",y),children:i.map((x,S)=>{const E=l+S,T=O8(u,E),A=T.length>0,R=_8(T);return z.jsxs("div",{className:"group",children:[z.jsxs("div",{className:$t("flex",k8(R,A),j8(R,A)),children:[z.jsx("span",{className:$t("flex-shrink-0 select-none text-right pr-3 py-0.5","text-muted-foreground/40","bg-foreground/[0.02]","border-r border-foreground/[0.06]",A&&"text-muted-foreground/60"),style:{width:m},children:E}),z.jsx("code",{className:$t("flex-1 pl-3 pr-4 py-0.5","text-foreground/80","whitespace-pre",A&&"text-foreground/90"),children:x||" "})]}),z.jsx(Li,{children:T.map(j=>z.jsx(D8,{issue:j,isSelected:c===j.id,onSelect:()=>p(j.id),gutterWidth:m},j.id))})]},E)})})}function L8({startLine:i,endLine:l,lineCount:u,onExpand:c,gutterWidth:p=40,className:m}){return z.jsxs(ke.button,{type:"button",onClick:c,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.04)"},className:$t("w-full flex items-center","text-xs text-muted-foreground/60 hover:text-muted-foreground/80","bg-foreground/[0.01]","border-y border-dashed border-foreground/[0.06]","cursor-pointer","transition-colors duration-100","group",m),children:[z.jsx("span",{className:"flex-shrink-0 py-1.5 bg-foreground/[0.02] border-r border-foreground/[0.06]",style:{width:p}}),z.jsxs("span",{className:"flex items-center gap-2 px-3 py-1.5",children:[z.jsx(EE,{size:12,className:"text-muted-foreground/40 group-hover:text-muted-foreground/60 transition-colors"}),z.jsxs("span",{children:["Show ",u," hidden ",u===1?"line":"lines"]}),z.jsxs("span",{className:"text-muted-foreground/40",children:["(",i,"–",l,")"]})]})]})}const N8=2,H8=32,V8=8,B8=16;function Y8({filePath:i,issues:l,contextLines:u=N8,selectedIssueId:c,onIssueSelect:p,enabled:m=!0,className:y}){const{lines:x,totalLines:S,isLoading:E,error:T}=A8({filePath:i,enabled:m}),[A,R]=K.useState(new Set),j=K.useMemo(()=>S===0?{regions:[],gaps:[]}:M8(l,S,u),[l,S,u]),B=K.useMemo(()=>{let Tt=j;for(const bt of A)Tt=z8(Tt,bt);return Tt},[j,A,S]),X=K.useCallback(Tt=>{R(bt=>new Set([...bt,Tt]))},[]),q=K.useMemo(()=>{const Tt=Math.max(3,String(S).length);return Math.max(H8,Tt*V8+B8)},[S]),Z=K.useCallback((Tt,bt)=>x.slice(Tt-1,bt),[x]);if(E)return z.jsx("div",{className:$t("py-6 text-center",y),children:z.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Loading source..."})});if(T)return z.jsx("div",{className:$t("py-6 text-center",y),children:z.jsxs("div",{className:"text-xs text-muted-foreground/60",children:["Could not load source: ",T]})});if(S===0)return z.jsx("div",{className:$t("py-6 text-center",y),children:z.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Source not available"})});const W=[];let rt=0,ct=0;const xt=[...B.gaps].sort((Tt,bt)=>Tt.startLine-bt.startLine);for(;rt<xt.length||ct<B.regions.length;){const Tt=xt[rt],bt=B.regions[ct];if(Tt&&(!bt||Tt.startLine<bt.startLine)&&Tt)W.push(z.jsx(L8,{startLine:Tt.startLine,endLine:Tt.endLine,lineCount:Tt.lineCount,onExpand:()=>X(Tt.id),gutterWidth:q},`gap-${Tt.id}`)),rt++;else if(bt){const jt=Z(bt.startLine,bt.endLine);W.push(z.jsx(U8,{lines:jt,startLine:bt.startLine,issues:bt.issues,selectedIssueId:c,onIssueSelect:p,gutterWidth:q},`region-${bt.startLine}-${bt.endLine}`)),ct++}}return z.jsx("div",{className:$t("border-t border-foreground/[0.06]","bg-background/50",y),children:z.jsx(Li,{mode:"sync",children:W})})}function lw(i){switch(i){case"error":return"bg-error/70";case"warning":return"bg-warning/70";case"info":return"bg-info/70"}}function q8({severityCounts:i}){return i.error>0||i.warning>0||i.info>0?z.jsxs("div",{className:"flex items-center gap-1.5",children:[i.error>0&&z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",lw("error"))}),i.warning>0&&z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",lw("warning"))}),i.info>0&&z.jsx("div",{className:$t("w-1.5 h-1.5 rounded-full",lw("info"))})]}):null}function G8({file:i,isExpanded:l,onToggle:u,onRuleClick:c,onIssueSelect:p,selectedIssueId:m,contextLines:y=2,className:x}){return z.jsxs("div",{className:$t("border-b border-foreground/[0.04]",x),children:[z.jsxs(ke.button,{type:"button",onClick:u,whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.02)"},className:$t("w-full flex items-start gap-3 px-4 py-3","cursor-pointer text-left","transition-colors duration-100"),children:[z.jsx(ke.div,{animate:{rotate:l?90:0},transition:{duration:.15},className:"flex-shrink-0 pt-0.5 text-muted-foreground/50",children:z.jsx(Cx,{size:14})}),z.jsxs("div",{className:"flex-1 min-w-0",children:[z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"font-medium text-foreground truncate",children:i.fileName}),z.jsx(q8,{severityCounts:i.severityCounts})]}),z.jsx("div",{className:"text-xs text-muted-foreground/60 truncate mt-0.5",children:i.directory})]}),z.jsx("span",{className:"text-lg font-extralight text-foreground/70 flex-shrink-0",children:i.totalCount})]}),i.ruleGroups.length>0&&z.jsx("div",{className:"flex flex-wrap gap-1.5 px-4 pb-3 -mt-1",children:i.ruleGroups.map(S=>z.jsx(T8,{ruleId:S.ruleId,ruleName:S.ruleName,count:S.count,severity:S.highestSeverity,onClick:()=>c(S.ruleId)},S.ruleId))}),z.jsx(Li,{children:l&&z.jsx(ke.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:z.jsx(Y8,{filePath:i.filePath,issues:i.issues,contextLines:y,selectedIssueId:m,onIssueSelect:p,enabled:l})})})]})}function X8({hasFilters:i}){return z.jsxs("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[z.jsx("div",{className:"text-4xl mb-4 opacity-30",children:i?"🔍":"✨"}),z.jsx("h3",{className:"text-lg font-medium text-foreground/80 mb-2",children:i?"No matching issues":"No issues found"}),z.jsx("p",{className:"text-sm text-muted-foreground/60 max-w-xs",children:i?"Try adjusting or clearing your filters to see more results.":"Great job! Your code looks clean."})]})}function Q8({className:i}){const l=Ot(vE),u=Ot(uz),c=Ot(cz),p=Ot(ct=>ct.commandPalette.filters),m=Ot(ct=>ct.inspector.expandedFiles),y=Ot(ct=>ct.inspector.selectedIssueId),x=Ot(ct=>ct.inspector.ruleConfigExpanded),S=Ot(ct=>ct.addFilter),E=Ot(ct=>ct.removeFilter),T=Ot(ct=>ct.toggleFileExpanded),A=Ot(ct=>ct.selectIssue),R=Ot(ct=>ct.toggleRuleConfig),j=kn.useRef(!1);kn.useEffect(()=>{if(!j.current&&l.length>0&&m.length===0){const xt=l.find(Tt=>Tt.severityCounts.error>0)||l[0];xt&&(T(xt.filePath),j.current=!0)}},[l,m.length,T]);const B=K.useCallback(ct=>{if(c?.id===ct)return;const xt=ct.includes("/")?ct.split("/").pop():ct;S({type:"rule",id:ct,label:xt,providerId:"eslint"})},[c,S]),X=K.useCallback(()=>{const ct=p.findIndex(xt=>xt.type==="rule");ct!==-1&&E(ct)},[p,E]),q=K.useCallback(ct=>{A(y===ct?null:ct)},[y,A]),Z=K.useCallback(ct=>{console.log("Severity change requested:",ct)},[]),W=K.useMemo(()=>"warn",[]),rt=p.length>0;return z.jsxs("div",{className:$t("flex flex-col h-full",i),children:[z.jsx(Li,{children:c&&z.jsx(x8,{ruleFilter:c,description:Z8(c.id),category:$8(c.id),docsUrl:K8(c.id),configExpanded:x,onToggleConfig:R,onClear:X})}),z.jsx(Li,{children:c&&x&&z.jsx(S8,{ruleId:c.id,currentSeverity:W,onSeverityChange:Z})}),l.length>0&&z.jsx(b8,{totalIssues:u.totalIssues,totalFiles:u.totalFiles,totalRules:c?void 0:u.totalRules,severityCounts:u.severityCounts}),z.jsx("div",{className:"flex-1 overflow-y-auto",children:l.length===0?z.jsx(X8,{hasFilters:rt}):l.map(ct=>z.jsx(G8,{file:ct,isExpanded:m.includes(ct.filePath),onToggle:()=>T(ct.filePath),onRuleClick:B,onIssueSelect:q,selectedIssueId:y},ct.filePath))})]})}function Z8(i){return{"no-unused-vars":"Disallow variables that are declared but never used in the code.","@typescript-eslint/no-unused-vars":"Disallow variables that are declared but never used in the code.","no-console":"Disallow the use of console methods.","react-hooks/exhaustive-deps":"Checks effect dependencies and warns when dependencies are missing.","react-hooks/rules-of-hooks":"Enforces the Rules of Hooks.","no-explicit-any":"Disallow the any type to encourage more precise typing.","@typescript-eslint/no-explicit-any":"Disallow the any type to encourage more precise typing."}[i]}function $8(i){return i.startsWith("@typescript-eslint/")?"TypeScript":i.startsWith("react-hooks/")?"React Hooks":i.startsWith("react/")?"React":"ESLint"}function K8(i){return i.startsWith("@typescript-eslint/")?`https://typescript-eslint.io/rules/${i.replace("@typescript-eslint/","")}`:i.startsWith("react-hooks/")?"https://reactjs.org/docs/hooks-rules.html":i.startsWith("react/")?`https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/${i.replace("react/","")}.md`:`https://eslint.org/docs/latest/rules/${i}`}function I8(i){const l=i.match(/^[\t ]+/);return l?l[0]:""}function J8(i){if(!i.length)return{lines:i,removed:0};const l=i.filter(c=>c.trim().length>0);if(!l.length)return{lines:i,removed:0};let u=1/0;for(const c of l)if(u=Math.min(u,I8(c).length),u===0)break;return!Number.isFinite(u)||u<=0?{lines:i,removed:0}:{removed:u,lines:i.map(c=>c.length>=u?c.slice(u):"")}}function F8({filePath:i,line:l,column:u,contextLines:c=5,defaultExpanded:p=!0}){const[m,y]=K.useState(p),{context:x,isLoading:S,error:E}=U6({filePath:i,line:l,contextAbove:c,contextBelow:c,enabled:m}),T=x?J8(x.lines):null,A=x?x.startLine+x.lines.length-1:0,R=Math.max(3,String(A).length)*8+16;return z.jsxs("div",{style:{background:"var(--uilint-background)",borderRadius:8,overflow:"hidden",border:"1px solid var(--uilint-border)"},children:[z.jsxs("button",{onClick:()=>y(!m),style:{width:"100%",display:"flex",alignItems:"center",gap:8,padding:"8px 12px",background:"var(--uilint-surface-elevated)",border:"none",borderBottom:m?"1px solid var(--uilint-border)":"none",cursor:"pointer",color:"var(--uilint-text-primary)",fontSize:12,fontFamily:"inherit"},children:[m?z.jsx(EE,{size:14}):z.jsx(Cx,{size:14}),z.jsx("span",{style:{fontWeight:500},children:"Source"}),z.jsxs("span",{style:{color:"var(--uilint-text-muted)",marginLeft:"auto",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:["L",l,u?`:${u}`:""]})]}),m&&z.jsxs("div",{style:{padding:0},children:[S&&z.jsx("div",{style:{padding:24,color:"var(--uilint-text-muted)",textAlign:"center",fontSize:12},children:"Loading..."}),E&&z.jsx("div",{style:{padding:24,color:"var(--uilint-error, #ef4444)",textAlign:"center",fontSize:12},children:E}),T&&x&&z.jsx("div",{style:{overflowX:"auto",fontSize:12,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace",lineHeight:1.6},children:T.lines.map((j,B)=>{const X=x.startLine+B,q=X===l;return z.jsxs("div",{style:{display:"flex",background:q?"rgba(251, 191, 36, 0.12)":"transparent",borderLeft:q?"3px solid #f59e0b":"3px solid transparent"},children:[z.jsx("span",{style:{width:R,minWidth:R,padding:"0 8px",textAlign:"right",color:q?"var(--uilint-text-primary)":"var(--uilint-text-disabled)",background:"var(--uilint-surface-elevated)",userSelect:"none",flexShrink:0,borderRight:"1px solid var(--uilint-border)"},children:X}),z.jsx("code",{style:{padding:"0 12px",color:q?"var(--uilint-text-primary)":"var(--uilint-text-secondary)",whiteSpace:"pre",flex:1},children:j||" "})]},X)})})]})]})}function P8(i){const l=i.split("/");return l[l.length-1]||i}function W8({issue:i}){const l=i.severity==="error"?TE:i.severity==="warning"?RE:AE;return z.jsxs("div",{style:{padding:16,display:"flex",flexDirection:"column",gap:16},children:[z.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:10},children:[z.jsxs(KS,{variant:i.severity==="error"?"error":i.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,style:{flexShrink:0,marginTop:2},children:[z.jsx(l,{size:12,color:"currentColor",style:{marginRight:4}}),i.severity]}),z.jsxs("div",{style:{flex:1,minWidth:0},children:[z.jsx("div",{style:{fontSize:14,fontWeight:500,color:"var(--uilint-text-primary)",lineHeight:1.4},children:i.message}),z.jsx(KS,{variant:"outline",size:"sm",disableAnimation:!0,style:{marginTop:6,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:i.ruleId})]})]}),z.jsx(F8,{filePath:i.filePath,line:i.line,column:i.column,contextLines:5}),z.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"4px 12px",fontSize:11,color:"var(--uilint-text-muted)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, monospace"},children:[z.jsxs("span",{title:i.filePath,children:[P8(i.filePath),":",i.line,i.column?`:${i.column}`:""]}),z.jsx("span",{style:{opacity:.5},children:"|"}),z.jsx("span",{children:i.pluginId})]})]})}function tj({dataLoc:i,onSelectIssue:l}){const{getIssuesForDataLoc:u}=M6(),c=u(i);return c.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:[c.length," issue",c.length!==1?"s":""," at this location"]}),z.jsx(n5,{variant:"elevated",style:{overflow:"hidden"},children:c.map((p,m)=>{const y=p.severity==="error"?TE:p.severity==="warning"?RE:AE;return z.jsxs("div",{onClick:()=>l(p),style:{display:"flex",alignItems:"flex-start",gap:10,padding:12,cursor:"pointer",borderBottom:m<c.length-1?"1px solid var(--uilint-border)":void 0},children:[z.jsx(KS,{variant:p.severity==="error"?"error":p.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,style:{flexShrink:0},children:z.jsx(y,{size:12,color:"currentColor"})}),z.jsxs("div",{style:{flex:1},children:[z.jsx("div",{style:{fontSize:13,color:"var(--uilint-text-primary)"},children:p.message}),z.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:2},children:p.ruleId})]})]},p.id)})}),z.jsx("div",{style:{marginTop:12,fontSize:11,color:"var(--uilint-text-disabled)",wordBreak:"break-all"},children:i})]})}function m5({direction:i,onResize:l,onResizeEnd:u}){const c=K.useRef(!1),p=K.useRef({x:0,y:0}),m=K.useCallback(S=>{S.preventDefault(),S.stopPropagation(),c.current=!0,p.current={x:S.clientX,y:S.clientY}},[]);K.useEffect(()=>{const S=T=>{if(!c.current)return;const A=T.clientX-p.current.x,R=T.clientY-p.current.y;p.current={x:T.clientX,y:T.clientY},l(A,R)},E=()=>{c.current&&(c.current=!1,u?.())};return document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),()=>{document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E)}},[l,u]);const y={position:"absolute",zIndex:10},x={horizontal:{...y,top:0,left:0,width:4,height:"100%",cursor:"col-resize"},vertical:{...y,bottom:0,left:0,width:"100%",height:4,cursor:"row-resize"},corner:{...y,bottom:0,right:0,width:12,height:12,cursor:"nwse-resize"}};return z.jsx("div",{onMouseDown:m,style:{...x[i],background:"transparent"},onMouseEnter:S=>{S.target.style.background="rgba(59, 130, 246, 0.2)"},onMouseLeave:S=>{c.current||(S.target.style.background="transparent")}})}const g5=320,y5=800,$v=450,v5=500;function ej(){const i=Ot(Et=>Et.inspector.open),l=Ot(Et=>Et.inspector.panelId),u=Ot(Et=>Et.inspector.data),c=Ot(Et=>Et.inspector.docked),p=Ot(Et=>Et.inspector.width),m=Ot(Et=>Et.inspector.floatingPosition),y=Ot(Et=>Et.inspector.floatingSize),x=Ot(Et=>Et.closeInspector),S=Ot(Et=>Et.openInspector),E=Ot(Et=>Et.toggleInspectorDocked),T=Ot(Et=>Et.setInspectorWidth),A=Ot(Et=>Et.setInspectorFloatingPosition),R=Ot(Et=>Et.setInspectorFloatingSize),[j,B]=K.useState(!1),X=Ot(Et=>Et.mobile.isMobile),q=Ot(Et=>Et.activeDrag),Z=Ot(Et=>Et.startDrag),W=q?.type==="inspector-floating",rt=K.useMemo(()=>li.getAllInspectorPanels(),[]),ct=K.useCallback(Et=>{S("issue",{issue:Et})},[S]),{content:xt,title:Tt}=K.useMemo(()=>{let Et=null,gt="Issues";const U=rt.find(F=>F.id===l);if(U){const F=sf(),P=U.component,Rt=u??void 0;gt=typeof U.title=="function"?U.title({data:Rt,services:F}):U.title,Et=F?z.jsx(P,{data:Rt,services:F}):z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else if(l==="issue"&&u?.issue){const F=u.issue,P=F.ruleId?li.getRuleContribution(F.ruleId)||li.getRuleContribution(F.ruleId.replace("uilint/","")):void 0;if(P?.inspectorPanel){const Rt=sf(),Ht=P.inspectorPanel;gt="Issue Details",Et=Rt?z.jsx(Ht,{data:u,services:Rt}):z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"Loading..."})}else gt="Issue Details",Et=z.jsx(W8,{issue:F})}else l==="element"&&u?.dataLoc?(gt="Element Issues",Et=z.jsx(tj,{dataLoc:u.dataLoc,onSelectIssue:ct})):(gt="Issues",Et=z.jsx(Q8,{}));return{content:Et,title:gt}},[l,u,rt,ct]);K.useEffect(()=>{B(!0)},[]),K.useLayoutEffect(()=>{if(!j)return;const Et=document.documentElement;return i&&c?(Et.style.marginRight=`${p}px`,Et.style.transition="margin-right 0.2s ease-out"):(Et.style.marginRight="",Et.style.transition="margin-right 0.2s ease-out"),()=>{Et.style.marginRight="",Et.style.transition=""}},[j,i,c,p]),K.useLayoutEffect(()=>{if(!W||!q||!q.elementStartPos)return;const{currentPos:Et,startPos:gt,elementStartPos:U}=q,F=Et.x-gt.x,P=Et.y-gt.y;A({x:U.x+F,y:U.y+P})},[W,q,A]);const bt=K.useCallback(Et=>{const gt=Math.min(y5,Math.max(g5,p-Et));T(gt)},[p,T]),ot=K.useCallback((Et,gt)=>{const U=y??{width:$v,height:v5},F=Math.min(y5,Math.max(g5,U.width+Et)),P=Math.max(300,U.height+gt);R({width:F,height:P})},[y,R]),jt=K.useCallback(Et=>{if(!m||X)return;Et.preventDefault();const gt={x:Et.clientX,y:Et.clientY};Z("inspector-floating",gt,{x:0,y:0},m)},[m,X,Z]),St=K.useCallback(Et=>{if(!m||X)return;const gt=Et.touches[0],U={x:gt.clientX,y:gt.clientY};Z("inspector-floating",U,{x:0,y:0},m)},[m,X,Z]);K.useEffect(()=>{!c&&!m&&j&&A({x:window.innerWidth-$v-20,y:80})},[c,m,A,j]);const oe=document.getElementById("uilint-portal")||document.body,Mt=({isDraggable:Et=!1})=>z.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:X?"16px 16px":"12px 16px",paddingTop:X?"calc(16px + env(safe-area-inset-top, 0px))":"12px",borderBottom:"1px solid var(--uilint-border)",background:"var(--uilint-surface-elevated)",cursor:Et&&!X?"move":"default",userSelect:"none"},onMouseDown:Et&&!X?jt:void 0,onTouchStart:Et&&!X?St:void 0,children:[z.jsx("span",{style:{fontWeight:600,color:"var(--uilint-text-primary)"},children:Tt}),z.jsxs("div",{style:{display:"flex",alignItems:"center",gap:X?8:4},onMouseDown:gt=>gt.stopPropagation(),onTouchStart:gt=>gt.stopPropagation(),children:[!X&&z.jsx(hg,{variant:"ghost",size:"sm",onClick:E,title:c?"Undock to floating window":"Dock to side",children:c?z.jsx(Sz,{size:16}):z.jsx(wz,{size:16})}),z.jsx(hg,{variant:"ghost",size:X?"default":"sm",onClick:x,title:"Close",style:X?{minWidth:44,minHeight:44}:void 0,children:z.jsx(Sv,{size:X?20:16})})]})]}),Nt=JS("heavy","none",!1);return $m.createPortal(z.jsxs(Li,{children:[i&&c&&z.jsxs(ke.div,{initial:{x:p,opacity:0},animate:{x:0,opacity:1},exit:{x:p,opacity:0},transition:{duration:.15,ease:[.25,.1,.25,1]},style:{position:"fixed",top:0,right:0,bottom:0,width:p,...Nt,borderLeft:"1px solid var(--uilint-glass-border)",boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",pointerEvents:"auto"},children:[z.jsx(m5,{direction:"horizontal",onResize:Et=>bt(Et)}),z.jsx(Mt,{}),z.jsx("div",{style:{flex:1,overflowY:"auto"},children:xt})]},"docked"),i&&!c&&z.jsxs(ke.div,{initial:{opacity:0,scale:X?1:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:X?1:.95},transition:{duration:.15},style:X?{position:"fixed",inset:0,width:"100%",height:"100%",...Nt,border:"none",borderRadius:0,boxShadow:"none",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"}:{position:"fixed",left:m?.x??window.innerWidth-$v-20,top:m?.y??80,width:y?.width??$v,height:y?.height??v5,...Nt,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(Mt,{isDraggable:!0}),z.jsx("div",{style:{flex:1,overflowY:"auto",minHeight:0,paddingBottom:X?"env(safe-area-inset-bottom, 0px)":void 0},children:xt}),!X&&z.jsx(m5,{direction:"corner",onResize:ot})]},"floating")]}),oe)}const b5=10,nj={isSelecting:!1,startPoint:null,currentPoint:null,mounted:!1};function aj(i,l){switch(l.type){case"MOUNT":return{...i,mounted:!0};case"START_SELECTION":return{...i,isSelecting:!0,startPoint:l.point,currentPoint:l.point};case"UPDATE_SELECTION":return{...i,currentPoint:l.point};case"COMPLETE_SELECTION":return{...i,isSelecting:!1,startPoint:null,currentPoint:null};default:return i}}const jl={overlayBg:"rgba(0, 0, 0, 0.5)",selectionBorder:"var(--uilint-accent, #f59e0b)",selectionBg:"transparent",textBg:"var(--uilint-backdrop, rgba(0, 0, 0, 0.8))",textColor:"var(--uilint-text-primary, #ffffff)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontMono:'"SF Mono", Monaco, "Cascadia Code", monospace'};function ij({active:i,onRegionSelected:l,onCancel:u}){const[c,p]=K.useReducer(aj,nj),{isSelecting:m,startPoint:y,currentPoint:x,mounted:S}=c;K.useEffect(()=>{p({type:"MOUNT"})},[]);const E=K.useCallback(()=>{if(!y||!x)return null;const q=Math.min(y.x,x.x),Z=Math.min(y.y,x.y),W=Math.abs(x.x-y.x),rt=Math.abs(x.y-y.y);return{x:q,y:Z,width:W,height:rt}},[y,x]),T=K.useCallback(q=>{q.button===0&&p({type:"START_SELECTION",point:{x:q.clientX,y:q.clientY}})},[]),A=K.useCallback(q=>{!m||!y||p({type:"UPDATE_SELECTION",point:{x:q.clientX,y:q.clientY}})},[m,y]),R=K.useCallback(()=>{if(!m||!y)return;const q=E();q&&q.width>b5&&q.height>b5?l(q):u(),p({type:"COMPLETE_SELECTION"})},[m,y,E,l,u]);if(K.useEffect(()=>{if(!i)return;const q=Z=>{Z.key==="Escape"&&(Z.preventDefault(),Z.stopPropagation(),u())};return document.addEventListener("keydown",q,!0),()=>{document.removeEventListener("keydown",q,!0)}},[i,u]),K.useLayoutEffect(()=>{if(!i)return;const q=Z=>{Z.preventDefault()};return document.body.style.overflow="hidden",document.addEventListener("wheel",q,{passive:!1}),document.addEventListener("touchmove",q,{passive:!1}),()=>{document.body.style.overflow="",document.removeEventListener("wheel",q),document.removeEventListener("touchmove",q)}},[i]),!i||!S)return null;const j=E(),B=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(!B)return null;const X=z.jsxs("div",{"data-testid":"region-selector-overlay","data-ui-lint":!0,onMouseDown:T,onMouseMove:A,onMouseUp:R,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,cursor:"crosshair",backgroundColor:jl.overlayBg,fontFamily:jl.fontFamily},children:[z.jsxs("div",{style:{position:"absolute",top:"20px",left:"50%",transform:"translateX(-50%)",padding:"12px 20px",borderRadius:"12px",backgroundColor:jl.textBg,color:jl.textColor,fontSize:"14px",fontWeight:500,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",pointerEvents:"none",userSelect:"none"},children:["Click and drag to select a region"," ",z.jsx("kbd",{style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",fontSize:"11px",fontFamily:jl.fontMono,marginLeft:"4px"},children:"Esc"})," ","to cancel"]}),j&&j.width>0&&j.height>0&&z.jsxs(z.Fragment,{children:[z.jsx("div",{"data-testid":"selection-rectangle",style:{position:"absolute",left:`${j.x}px`,top:`${j.y}px`,width:`${j.width}px`,height:`${j.height}px`,border:`2px solid ${jl.selectionBorder}`,backgroundColor:jl.selectionBg,pointerEvents:"none",boxShadow:`0 0 0 9999px ${jl.overlayBg}`}}),z.jsxs("div",{"data-testid":"dimensions-label",style:{position:"absolute",left:`${j.x}px`,top:`${j.y-32}px`,padding:"6px 10px",borderRadius:"6px",backgroundColor:jl.textBg,color:jl.textColor,fontSize:"12px",fontFamily:jl.fontMono,fontWeight:500,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",pointerEvents:"none",userSelect:"none",whiteSpace:"nowrap"},children:[Math.round(j.width)," x ",Math.round(j.height)]})]})]});return $m.createPortal(X,B)}let rw=!1;function oj(){if(typeof document>"u")return;let i=document.getElementById("uilint-portal");return i||(i=document.createElement("div"),i.id="uilint-portal",i.style.cssText="position: fixed; top: 0; left: 0; z-index: 99990; pointer-events: none;",document.body.appendChild(i),rw=!0),i}function lj(){if(!rw)return;const i=document.getElementById("uilint-portal");i&&(i.remove(),rw=!1)}function rj({enabled:i=!0}){const l=Ot(S=>S.plugins?.vision),u=l?.regionSelectionActive??!1,c=l?.setSelectedRegion,p=l?.setRegionSelectionActive,m=l?.triggerVisionAnalysis,y=K.useCallback(S=>{c&&p&&m&&(c(S),p(!1),m())},[c,p,m]),x=K.useCallback(()=>{p&&p(!1)},[p]);return K.useEffect(()=>(i&&oj(),()=>{lj()}),[i]),i?z.jsxs(z.Fragment,{children:[z.jsx(w6,{}),z.jsx(D6,{}),z.jsx(v8,{}),z.jsx(ej,{}),z.jsx(ij,{active:u,onRegionSelected:y,onCancel:x})]}):null}const Kv="data-loc",sj=100;function uj(i,l){return`loc:${i}#${l}`}function cj(i){if(!i)return null;let l=i;if(l.startsWith("loc:")){l=l.slice(4);const u=l.lastIndexOf("#");u!==-1&&(l=l.slice(0,u))}return l||null}function fj(i,l){return l&&i.includes("node_modules")}class dj{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(l={}){this.options=l}setHideNodeModules(l){this.hideNodeModules=l,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const l=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),u=this.options.root??(typeof document<"u"?document.body:void 0);l&&u&&(this.observer=new l(this.handleMutations.bind(this)),this.observer.observe(u,{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(l){return this.addedHandlers.add(l),()=>{this.addedHandlers.delete(l)}}onElementsRemoved(l){return this.removedHandlers.add(l),()=>{this.removedHandlers.delete(l)}}getElements(){return this.scanElements()}handleMutations(l){let u=!1;for(const c of l){for(const p of c.addedNodes)if(this.hasDataLocElements(p)){u=!0;break}if(u)break;for(const p of c.removedNodes)if(this.hasDataLocElements(p)){u=!0;break}if(u)break}u&&this.debouncedReconcile()}hasDataLocElements(l){return l instanceof Element?!!(l.hasAttribute(Kv)||l.querySelector(`[${Kv}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},sj)}reconcile(){if(typeof window>"u")return;const l=this.scanElements(),u=new Map(l.map(x=>[x.id,x])),c=new Set(u.keys()),p=new Set(this.knownElements.keys()),m=[];for(const x of l)p.has(x.id)||m.push(x);const y=[];for(const x of p)c.has(x)||y.push(x);this.knownElements.clear();for(const x of l)this.knownElements.set(x.id,x.element);if(m.length>0)for(const x of this.addedHandlers)try{x(m)}catch(S){$n("[DOMObserverService] Error in added handler:",S)}if(y.length>0)for(const x of this.removedHandlers)try{x(y)}catch(S){$n("[DOMObserverService] Error in removed handler:",S)}}scanElements(){const l=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!l)return[];const u=[],c=new Map,p=l(`[${Kv}]`);for(const m of p){if(this.isInsideUILintUI(m))continue;const y=m.getAttribute(Kv),x=cj(y??"");if(!x||fj(x,this.hideNodeModules))continue;const S=(c.get(x)??0)+1;c.set(x,S);const E=uj(x,S);u.push({id:E,dataLoc:x,element:m,tagName:m.tagName.toLowerCase(),rect:m.getBoundingClientRect()})}return u}isInsideUILintUI(l){return l.closest("[data-ui-lint]")!==null}}const mg=new dj,x5=[{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,hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.scanStatus==="scanning"?u.stopScanning():u.startScanning(),i.closeCommandPalette()},isAvailable:i=>i.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",hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.scanStatus!=="scanning"&&u.startScanning(),i.closeCommandPalette()},isAvailable:i=>{const l=i;return l.wsConnected===!0&&l.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",hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.stopScanning(),i.closeCommandPalette()},isAvailable:i=>i.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",hideFromAllCategory:!0,execute:i=>{i.openInspector("fixes",{}),i.closeCommandPalette()},isAvailable:i=>{const u=i.plugins?.eslint;return u?.scanStatus!=="scanning"||!u?.issues?!1:u.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",hideFromAllCategory:!0,execute:i=>{const u=i.getState().plugins.eslint;if(!u){_e("[ESLint Command] ESLint plugin slice not found");return}u.clearIssues(),u.startScanning(),i.closeCommandPalette()},isAvailable:i=>i.wsConnected===!0}],hj={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",lintingFiles:new Map,availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map,workspaceCapabilities:null};function pj(i){return{...hj}}function mj(i,l,u){return{startScanning:()=>{u({scanStatus:"scanning"})},stopScanning:()=>{u({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(c,p)=>{const m=l(),y=new Map(m.issues);p.length>0?y.set(c,p):y.delete(c),u({issues:y})},clearIssues:()=>{u({issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},toggleRule:c=>{const p=l(),m=new Set(p.disabledRules);m.has(c)?m.delete(c):m.add(c),u({disabledRules:m})},setAvailableRules:c=>{u({availableRules:c})},setWorkspaceRoot:c=>{u({workspaceRoot:c})},markScanned:c=>{const p=l(),m=new Set(p.scannedDataLocs);m.add(c),u({scannedDataLocs:m})},markFileRequested:c=>{const p=l(),m=new Set(p.requestedFiles);m.add(c),u({requestedFiles:m})},setScanStatus:c=>{u({scanStatus:c})}}}function gj(i){if(!i)return null;const l=i.lastIndexOf(":");if(l===-1)return null;const u=i.lastIndexOf(":",l-1);if(u===-1)return null;const c=i.substring(0,u);return c||null}function yj(i){const l=new Set;for(const u of i){const c=gj(u);c&&l.add(c)}return l}function vj({value:i,onChange:l,disabled:u}){const c=[{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:c.map(p=>z.jsx("button",{onClick:()=>l(p.value),disabled:u,style:{padding:"4px 8px",fontSize:12,fontWeight:500,border:"none",borderRadius:4,cursor:u?"not-allowed":"pointer",background:i===p.value?p.color:"var(--uilint-surface-elevated)",color:i===p.value?"white":"var(--uilint-text-disabled)",opacity:u?.5:1},children:p.label},p.value))})}function bj({data:i}){const l=i?.ruleId,u=Ot(S=>{const E=S.plugins?.eslint;return!E?.availableRules||!l?null:E.availableRules.find(T=>T.id===l)}),c=Ot(S=>{const E=S.plugins?.eslint;return E?.ruleConfigs?E.ruleConfigs.get(l||""):null}),p=Ot(S=>{const E=S.plugins?.eslint;return E?.ruleConfigUpdating?E.ruleConfigUpdating.get(l||"")??!1:!1}),m=Ot(S=>{const E=S.plugins?.eslint;if(!E?.issues)return 0;let T=0;return E.issues.forEach(A=>{T+=A.filter(R=>R.ruleId===l).length}),T}),y=K.useCallback(S=>{l&&li.setRuleSeverity(l,S)},[l]);if(!l)return z.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"No rule selected"});if(!u)return z.jsxs("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:["Rule not found: ",l]});const x=c?.severity?c.severity==="warn"?"warning":c.severity:u.currentSeverity==="warn"?"warning":u.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:"var(--uilint-text-primary)",marginBottom:4},children:u.name}),z.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",fontFamily:"monospace"},children:u.id})]}),z.jsx("div",{style:{fontSize:14,color:"var(--uilint-text-secondary)",marginBottom:16,lineHeight:1.5},children:u.description}),z.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[z.jsx("span",{style:{fontSize:11,fontWeight:500,textTransform:"uppercase",background:u.category==="semantic"?"rgba(59, 130, 246, 0.1)":"var(--uilint-surface-elevated)",color:u.category==="semantic"?"var(--uilint-accent)":"var(--uilint-text-muted)",padding:"2px 6px",borderRadius:4},children:u.category}),m>0&&z.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"rgba(239, 68, 68, 0.1)",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[m," issue",m!==1?"s":""]})]}),z.jsxs("div",{style:{marginBottom:16},children:[z.jsx("div",{style:{fontSize:12,fontWeight:500,color:"var(--uilint-text-muted)",marginBottom:8},children:"Severity"}),z.jsx(vj,{value:x,onChange:y,disabled:p}),p&&z.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:4},children:"Updating..."})]}),u.docs&&z.jsx("div",{style:{marginTop:16},children:z.jsx("a",{href:u.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"var(--uilint-accent)",textDecoration:"none"},children:"View documentation"})})]})}function xj(i){const{manifestUrl:l,retries:u=3,retryDelay:c=1e3,cacheTtl:p=0}=i;let m=null,y=null,x=null;function S(){return!m||y===null?!1:p===0?!0:Date.now()-y<p}function E(A){return new Promise(R=>setTimeout(R,A))}async function T(){let A=null;for(let R=0;R<=u;R++)try{R>0&&(It(`[ManifestFetcher] Retry attempt ${R}/${u}...`),await E(c*R));const j=await fetch(l);if(!j.ok)throw new Error(`Failed to fetch manifest: ${j.status} ${j.statusText}`);const B=await j.json();if(B.version!=="1.0")throw new Error(`Unsupported manifest version: ${B.version}`);if(!Array.isArray(B.files))throw new Error("Invalid manifest: missing files array");return B}catch(j){A=j instanceof Error?j:new Error(String(j)),$n(`[ManifestFetcher] Fetch failed (attempt ${R+1}):`,A.message)}throw A??new Error("Failed to fetch manifest")}return{async fetch(){return S()&&m?{manifest:m,cached:!0,fetchedAt:y}:x||(x=(async()=>{try{It(`[ManifestFetcher] Fetching manifest from ${l}...`);const A=await T();return m=A,y=Date.now(),It(`[ManifestFetcher] Loaded manifest: ${A.summary.totalIssues} issues in ${A.summary.filesWithIssues} files`),{manifest:A,cached:!1,fetchedAt:y}}finally{x=null}})(),x)},getCached(){return S()?m:null},invalidate(){m=null,y=null,It("[ManifestFetcher] Cache invalidated")},isFetching(){return x!==null},getManifestUrl(){return l}}}let S5=null;function Sj(i){return S5=xj(i),S5}function wj(i,l){const{filePath:u}=r5(i.dataLoc),c=i.ruleId||"unknown",p=l.find(x=>x.id===c),y=(p?.currentSeverity??p?.defaultSeverity??"warn")==="error"?"error":"warning";return{id:s5("eslint",c,i.dataLoc,i.line),message:i.message,severity:y,dataLoc:i.dataLoc,ruleId:c,pluginId:"eslint",filePath:u,line:i.line,column:i.column}}function Ej(i){return{id:i.id,name:i.name,description:i.description,category:i.category,defaultSeverity:i.defaultSeverity,currentSeverity:i.currentSeverity,docs:i.docs}}function Tj(i,l){It("[ESLint Plugin] Processing manifest:",l.summary.totalIssues,"issues in",l.summary.filesWithIssues,"files");const u=new Map;for(const m of l.files)for(const y of m.issues){const x=wj(y,l.rules),S=u.get(x.dataLoc)||[];u.set(x.dataLoc,[...S,x])}const c=l.rules.map(Ej),p=new Map;for(const m of l.rules)p.set(m.id,{severity:m.currentSeverity??m.defaultSeverity});i.setState({issues:u,availableRules:c,ruleConfigs:p,workspaceRoot:l.workspaceRoot,scanStatus:"complete"}),It("[ESLint Plugin] Manifest processed:",u.size,"unique dataLocs with issues")}let mf=null;function Aj(i){const l=Sj({manifestUrl:i});mf={mode:"static",manifestUrl:i,fetcher:l,manifest:null},It("[ESLint Plugin] Configured for static mode:",i)}function Cj(){return mf!==null}function Rj(){mf=null}function Dj(i){if(!mf)return $n("[ESLint Plugin] Static mode not configured"),()=>{};const{fetcher:l}=mf;It("[ESLint Plugin] Initializing in static mode..."),i.setState({scanStatus:"scanning"}),l.fetch().then(({manifest:c})=>{mf.manifest=c,Tj(i,c)}).catch(c=>{$n("[ESLint Plugin] Failed to fetch manifest:",c),i.setState({scanStatus:"error"})});const u=i.domObserver.onElementsAdded(c=>{mf?.manifest&&It("[ESLint Plugin] Static mode: DOM elements detected:",c.length)});return()=>{u(),It("[ESLint Plugin] Static mode disposed")}}function w5(i){const l={error:0,warning:0,info:0};for(const u of i)u.severity==="error"?l.error++:u.severity==="warning"?l.warning++:u.severity==="info"&&l.info++;return l}function Mj(i,l=[]){const u=new Map;for(const m of i){const y=m.ruleId,x=u.get(y)||[];u.set(y,[...x,m])}const c=new Map;for(const m of l)c.set(m.id,m);const p=[];for(const[m,y]of u){const x=c.get(m),S=w5(y),E=m.includes("/")?m.split("/").pop():m;p.push({id:`rule:${m}`,label:x?.name||E,subtitle:x?.description||m,count:y.length,severityCounts:S,metadata:{isRule:!0,ruleId:m}})}return p.sort((m,y)=>{const x=m.severityCounts?.error??0,S=y.severityCounts?.error??0;return x!==S?S-x:y.count-m.count}),p}function zj(i,l){const u=i.filter(m=>m.ruleId===l),c=new Map;for(const m of u){const y=m.filePath,x=c.get(y)||[];c.set(y,[...x,m])}const p=[];for(const[m,y]of c){const x=w5(y),S=m.split("/"),E=S.pop()||m,T=S.join("/")||"/";p.push({id:`file:${m}:${l}`,label:E,subtitle:T,count:y.length,severityCounts:x,metadata:{isFile:!0,filePath:m,ruleId:l}})}return p.sort((m,y)=>{const x=m.severityCounts?.error??0,S=y.severityCounts?.error??0;return x!==S?S-x:y.count-m.count}),p}function Oj(i){const u=i.getState()?.plugins?.eslint;if(!u?.issues)return[];const c=[];for(const p of u.issues.values())c.push(...p);return c}function _j(i){return i.getState()?.plugins?.eslint?.availableRules??[]}function kj(i,l){const u=Oj(i);if(u.length===0)return[];const c=l.find(y=>y.type==="rule"),p=l.find(y=>y.type==="file");if(c&&p)return[];if(c)return zj(u,c.id);const m=_j(i);return Mj(u,m)}function jj(i){const l=i.metadata??{};if(l.isRule)return{type:"rule",id:l.ruleId,label:i.label,providerId:"eslint"};if(l.isFile){const u=l.filePath,c=u.split("/").pop()||u;return{type:"file",id:u,label:c,providerId:"eslint"}}return{type:"scope",id:i.id,label:i.label,providerId:"eslint"}}function Uj(i){const l=i.some(c=>c.type==="rule"),u=i.some(c=>c.type==="file");return l&&u}function Lj(i){const l=i.metadata??{};return l.isRule?{panelId:"eslint-rule",data:{ruleId:l.ruleId}}:l.isFile?{panelId:"eslint-rule",data:{ruleId:l.ruleId,filePath:l.filePath}}:{panelId:"eslint-rule",data:{}}}const E5=["lint:result","lint:progress","file:changed","workspace:info","workspace:capabilities","rules:metadata","rule:config:result","rule:config:changed"],Nj={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:i=>{const l=pj();let u=l;const m=mj(i,()=>u,y=>{u={...u,...y},i.setState(y)});return{...l,...m}},commands:x5,inspectorPanels:[{id:"eslint-rule",title:({data:i})=>i?.ruleId?`Rule: ${i.ruleId}`:"Rule Details",component:bj,priority:10}],tileProvider:{getTileItems:kj,createFilter:jj,isTerminal:Uj,getInspectorData:Lj},handlesRules:i=>i.id.startsWith("uilint/")||i.category==="static"?!0:(i.id==="uilint/semantic-vision",!1),getIssues:i=>{const l=i,u=new Map;return l.issues.forEach((c,p)=>{const m=c.map(y=>({id:y.id,message:y.message,severity:y.severity,dataLoc:y.dataLoc,line:y.line,column:y.column,ruleId:y.ruleId}));m.length>0&&u.set(p,m)}),{pluginId:"eslint",issues:u}},getPaletteItems:i=>{const l=[],u=i.getState(),c=u?.plugins?.eslint;if(c?.issues)for(const[,p]of c.issues)for(const m of p){const y=m.filePath.split("/").pop()||m.filePath,x=m.ruleId.includes("/")?m.ruleId.split("/").pop():m.ruleId;l.push({id:`eslint:issue:${m.id}`,title:m.message,subtitle:`${y}:${m.line}`,keywords:["Lint",m.ruleId,x,y,m.severity].filter((S,E,T)=>T.indexOf(S)===E),execute:S=>{S.openInspector("issue",{issue:m}),S.closeCommandPalette()},metadata:{issue:m,providerId:"eslint"}})}for(const p of x5)p.isAvailable&&!p.isAvailable(u)||l.push({id:p.id,title:p.title,subtitle:p.subtitle,keywords:["Command","ESLint",...p.keywords],execute:p.execute,metadata:{isCommand:!0}});return l},getRules:i=>{const l=i.getState();if(!l?.availableRules)return[];const u=l.ruleConfigs??new Map;return l.availableRules.map(c=>{const m=u.get(c.id)?.severity??c.currentSeverity??c.defaultSeverity,y=m==="warn"?"warning":m;return{id:c.id,name:c.name,description:c.description,category:c.category,severity:y,fixable:!1,pluginId:"eslint",docs:c.docs}})},setRuleSeverity:(i,l,u)=>{const c=l==="warning"?"warn":l,p=u.getState(),m=new Map(p.ruleConfigUpdating??new Map);m.set(i,!0),u.setState({ruleConfigUpdating:m}),u.websocket.send({type:"rule:config:set",ruleId:i,severity:c,requestId:`rule-severity-${Date.now()}`}),It("[ESLint Plugin] Setting rule severity:",i,"->",c)},getRuleConfig:(i,l)=>(l.getState()?.ruleConfigs??new Map).get(i)?.options??{},setRuleConfig:(i,l,u)=>{const c=u.getState(),p=new Map(c.ruleConfigUpdating??new Map);p.set(i,!0),u.setState({ruleConfigUpdating:p}),u.websocket.send({type:"rule:config:set",ruleId:i,options:l,requestId:`rule-config-${Date.now()}`}),It("[ESLint Plugin] Setting rule config:",i,l)},initialize:i=>{if(It("[ESLint Plugin] Initializing..."),Cj())return It("[ESLint Plugin] Running in STATIC mode (manifest-based)"),Dj(i);It("[ESLint Plugin] Running in WEBSOCKET mode");const l=[];for(const c of E5){const p=i.websocket.on(c,m=>{Vj(i,m)});l.push(p)}It("[ESLint Plugin] Subscribed to",E5.length,"message types");const u=i.domObserver.onElementsAdded(c=>{Hj(i,c)});return l.push(u),It("[ESLint Plugin] Subscribed to DOM observer"),()=>{It("[ESLint Plugin] Disposing..."),l.forEach(c=>c())}},dispose:i=>{It("[ESLint Plugin] Disposed")}};function Hj(i,l){const u=i.getState();if(It("[ESLint Plugin] handleElementsAdded called with",l.length,"elements"),It("[ESLint Plugin] State check - scanStatus:",u?.scanStatus,"wsConnected:",i.websocket.isConnected),u.scanStatus!=="scanning"){It("[ESLint Plugin] Scanning not active (status:",u.scanStatus,"), skipping lint requests");return}if(!i.websocket.isConnected){It("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const c=l.map(x=>x.dataLoc),p=yj(c);if(p.size===0){It("[ESLint Plugin] No file paths extracted from",l.length,"elements");return}It("[ESLint Plugin] Detected",l.length,"elements from",p.size,"unique files:",Array.from(p).slice(0,3));const m=u.requestedFiles??new Set,y=[];for(const x of p)if(!m.has(x)){y.push(x);const S=`lint-${Date.now()}-${x.replace(/[^a-zA-Z0-9]/g,"-")}`;i.websocket.send({type:"lint:file",filePath:x,requestId:S}),It("[ESLint Plugin] Sent lint:file request for",x)}if(y.length>0){const x=new Set(m);for(const S of y)x.add(S);i.setState({requestedFiles:x}),It("[ESLint Plugin] Updated requestedFiles with",y.length,"new files")}else It("[ESLint Plugin] All files already requested, skipping")}function Vj(i,l){switch(l.type){case"lint:result":{const{filePath:u,issues:c}=l;It("[ESLint Plugin] Received lint result:",u,c.length,"issues");const p=c.map(S=>C6({...S,dataLoc:S.dataLoc||`${u}:${S.line}:${S.column||0}`})).filter(S=>S!==null),m=new Map;for(const S of p){const E=m.get(S.dataLoc)||[];m.set(S.dataLoc,[...E,S])}const y=i.getState(),x=new Map(y.issues);for(const[S,E]of m)x.set(S,E);i.setState({issues:x});break}case"lint:progress":{const{filePath:u,phase:c}=l;It("[ESLint Plugin] Lint progress:",u,c);const p=i.getState(),m=new Map(p.lintingFiles);if(c.startsWith("Done"))m.delete(u);else{const y=m.get(u);m.set(u,{phase:c,startedAt:y?.startedAt??Date.now()})}i.setState({lintingFiles:m});break}case"file:changed":{const{filePath:u}=l;It("[ESLint Plugin] File changed:",u);const c=i.getState(),p=new Map(c.issues);for(const[y]of p)y.startsWith(u+":")&&p.delete(y);const m=new Set(c.requestedFiles??new Set);m.delete(u),i.setState({issues:p,requestedFiles:m});break}case"workspace:info":{const{appRoot:u,workspaceRoot:c,serverCwd:p}=l;It("[ESLint Plugin] Workspace info:",{appRoot:u,workspaceRoot:c,serverCwd:p}),i.setState({appRoot:u,workspaceRoot:c,serverCwd:p});break}case"workspace:capabilities":{const{postToolUseHook:u}=l;It("[ESLint Plugin] Workspace capabilities:",{postToolUseHook:u}),i.setState({workspaceCapabilities:{postToolUseHook:u}});break}case"rules:metadata":{const{rules:u}=l;It("[ESLint Plugin] Received rules metadata:",u.length,"rules");const c=new Map;for(const p of u)c.set(p.id,{severity:p.currentSeverity??p.defaultSeverity,options:p.currentOptions??(p.defaultOptions&&p.defaultOptions.length>0?p.defaultOptions[0]:void 0)});i.setState({availableRules:u,ruleConfigs:c});break}case"rule:config:result":{const{ruleId:u,severity:c,options:p,success:m,error:y}=l,x=i.getState(),S=new Map(x.ruleConfigUpdating);if(S.delete(u),i.setState({ruleConfigUpdating:S}),m){const E=i.getState(),T=new Map(E.ruleConfigs);T.set(u,{severity:c,options:p}),i.setState({ruleConfigs:T}),It("[ESLint Plugin] Rule config updated:",u,"->",c)}else $n("[ESLint Plugin] Failed to update rule config:",y);break}case"rule:config:changed":{const{ruleId:u,severity:c,options:p}=l,m=i.getState(),y=new Map(m.ruleConfigs);y.set(u,{severity:c,options:p}),i.setState({ruleConfigs:y}),It("[ESLint Plugin] Rule config changed (broadcast):",u,"->",c);break}}}const T5=[{id:"vision:capture-full-page",title:"Capture Full Page",keywords:["vision","screenshot","capture","full","page","analyze"],category:"Vision",subtitle:"Capture and analyze the entire visible page",icon:"camera",hideFromAllCategory:!0,execute:async i=>{const l=i.getState();l.setCaptureMode("full"),l.setRegionSelectionActive(!1),l.setSelectedRegion(null),i.closeCommandPalette(),await l.triggerVisionAnalysis()}},{id:"vision:capture-region",title:"Capture Region",keywords:["vision","screenshot","capture","region","area","select","partial"],category:"Vision",subtitle:"Select a region of the page to capture and analyze",icon:"crop",hideFromAllCategory:!0,execute:i=>{const l=i.getState();l.setCaptureMode("region"),l.setRegionSelectionActive(!0),l.setSelectedRegion(null),i.closeCommandPalette()}},{id:"vision:clear-results",title:"Clear Vision Results",keywords:["vision","clear","reset","results","screenshots","history"],category:"Vision",subtitle:"Clear all vision analysis results and screenshot history",icon:"trash",hideFromAllCategory:!0,execute:i=>{i.getState().clearVisionResults(),i.closeCommandPalette()}},{id:"vision:toggle-results-panel",title:"Toggle Vision Results Panel",keywords:["vision","results","panel","toggle","show","hide"],category:"Vision",subtitle:"Show or hide the vision analysis results panel",icon:"panel",hideFromAllCategory:!0,execute:i=>{const l=i.getState();l.showResultsPanel?l.setShowResultsPanel(!1):(l.setShowResultsPanel(!0),l.setActiveResultsTab("vision")),i.closeCommandPalette()}},{id:"vision:show-screenshot-gallery",title:"Show Screenshot Gallery",keywords:["vision","screenshots","gallery","history","captures"],category:"Vision",subtitle:"View captured screenshots and their analysis results",icon:"image",hideFromAllCategory:!0,isAvailable:i=>{const l=i;return l.screenshotHistory&&l.screenshotHistory.size>0},execute:i=>{const l=i.getState();l.setShowResultsPanel(!0),l.setActiveResultsTab("vision"),i.closeCommandPalette()}},{id:"vision:enable-auto-analyze",title:"Enable Auto Vision Analysis",keywords:["vision","auto","analyze","automatic","route","change"],category:"Vision",subtitle:"Automatically analyze pages on route change",hideFromAllCategory:!0,isAvailable:i=>!i.autoScanSettings?.vision?.onRouteChange,execute:i=>{i.getState().updateAutoScanSettings({vision:{onRouteChange:!0}}),i.closeCommandPalette()}},{id:"vision:disable-auto-analyze",title:"Disable Auto Vision Analysis",keywords:["vision","auto","analyze","automatic","route","change","disable"],category:"Vision",subtitle:"Stop automatic analysis on route change",hideFromAllCategory:!0,isAvailable:i=>i.autoScanSettings?.vision?.onRouteChange===!0,execute:i=>{i.getState().updateAutoScanSettings({vision:{onRouteChange:!1}}),i.closeCommandPalette()}}],Iv={onRouteChange:!1,onInitialLoad:!1},sw="data-loc",Bj=new Set(["SCRIPT","STYLE","SVG","PATH","CIRCLE","RECT","LINE","POLYGON","POLYLINE","ELLIPSE","NOSCRIPT","TEMPLATE","SLOT"]),Yj=3,A5=100;function qj(i){const l=i.tagName.toUpperCase(),u=i.getAttribute("role");if(u)return u;switch(l){case"BUTTON":return"button";case"A":return"link";case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":return"heading";case"INPUT":{const c=i.type;return c==="submit"||c==="button"?"button":c==="checkbox"?"checkbox":c==="radio"?"radio":"textbox"}case"TEXTAREA":return"textbox";case"SELECT":return"combobox";case"IMG":return"img";case"NAV":return"navigation";case"MAIN":return"main";case"HEADER":return"banner";case"FOOTER":return"contentinfo";case"ASIDE":return"complementary";case"ARTICLE":return"article";case"SECTION":return"region";case"FORM":return"form";case"TABLE":return"table";case"UL":case"OL":return"list";case"LI":return"listitem";default:return}}function Gj(i){const l=i.innerText?.trim();if(l)return l.length>A5?l.slice(0,A5)+"…":l;const u=i.getAttribute("aria-label");if(u)return u;const c=i.getAttribute("title");if(c)return c;const p=i.getAttribute("placeholder");if(p)return p;const m=i.getAttribute("alt");return m||""}function Xj(i){const l=i,u=window.getComputedStyle(l);if(u.display==="none"||u.visibility==="hidden"||u.opacity==="0")return!1;const c=i.getBoundingClientRect();return!(c.width===0&&c.height===0||c.bottom<-100||c.top>window.innerHeight+100||c.right<-100||c.left>window.innerWidth+100)}function Qj(i,l){const u=i.left+i.width,c=i.top+i.height,p=l.x+l.width,m=l.y+l.height;return!(i.left>p||u<l.x||i.top>m||c<l.y)}function Zj(i=document.body,l){const u=[],c=new Map,p=new Map,m=window.scrollX||window.pageXOffset||0,y=window.scrollY||window.pageYOffset||0,x=i.querySelectorAll(`[${sw}]`);for(const S of x){if(S.closest("[data-ui-lint]")||Bj.has(S.tagName)||!Xj(S))continue;const E=S.getBoundingClientRect();if(l&&!Qj(E,l))continue;let T=S.getAttribute(sw);if(!T)continue;if(T.startsWith("loc:")){T=T.slice(4);const Z=T.lastIndexOf("#");Z!==-1&&(T=T.slice(0,Z))}const A=c.get(T)||0;c.set(T,A+1);let R=p.get(T);if(R||(R=[],p.set(T,R)),R.length>=Yj)continue;const j=Gj(S),B=S.getAttribute(sw)||`loc:${T}#${A}`;let X;l?X={x:E.x-l.x,y:E.y-l.y,width:E.width,height:E.height}:X={x:E.x+m,y:E.y+y,width:E.width,height:E.height};const q={id:B,text:j,dataLoc:T,rect:X,tagName:S.tagName.toLowerCase(),role:qj(S)};R.push(q)}for(const[S,E]of p){const T=c.get(S)||E.length;E.forEach((A,R)=>{R===0&&T>E.length&&(A.instanceCount=T),u.push(A)})}return u}async function $j(){const i=await Promise.resolve().then(()=>P5).catch(()=>null);if(!i)throw new Error("Screenshot capture unavailable: `html-to-image` failed to load (check the uilint-react bundle/deps)");try{return await i.toPng(document.body,{pixelRatio:1,cacheBust:!0,filter:u=>!(u instanceof Element&&u.closest("[data-ui-lint]"))})}catch(l){const c=(l instanceof Error?l:new Error(String(l))).message||"Unknown error",p=/tainted|cross[- ]origin|CORS|security/i.test(c)?" Hint: this is often caused by cross-origin images/fonts; try removing external images or ensuring they allow CORS.":"";throw new Error(`Screenshot capture failed (html-to-image): ${c}.${p}`)}}async function Kj(i){const l=await Promise.resolve().then(()=>P5).catch(()=>null);if(!l)throw new Error("Screenshot capture unavailable: `html-to-image` failed to load (check the uilint-react bundle/deps)");try{const u=await l.toPng(document.body,{pixelRatio:1,cacheBust:!0,filter:y=>!(y instanceof Element&&y.closest("[data-ui-lint]"))}),c=window.scrollX||window.pageXOffset||0,p=window.scrollY||window.pageYOffset||0,m={x:i.x+c,y:i.y+p,width:i.width,height:i.height};return await Ij(u,m)}catch(u){const p=(u instanceof Error?u:new Error(String(u))).message||"Unknown error",m=/tainted|cross[- ]origin|CORS|security/i.test(p)?" Hint: this is often caused by cross-origin images/fonts; try removing external images or ensuring they allow CORS.":"";throw new Error(`Screenshot capture failed (html-to-image): ${p}.${m}`)}}async function Ij(i,l){return new Promise((u,c)=>{const p=new Image;p.onload=()=>{try{const m=document.createElement("canvas");m.width=l.width,m.height=l.height;const y=m.getContext("2d");if(!y){c(new Error("Failed to get canvas context"));return}y.drawImage(p,l.x,l.y,l.width,l.height,0,0,l.width,l.height);const x=m.toDataURL("image/png");u(x)}catch(m){c(new Error(`Failed to crop image: ${m instanceof Error?m.message:String(m)}`))}},p.onerror=()=>{c(new Error("Failed to load image for cropping"))},p.src=i})}function Jj(){return window.location.pathname.replace(/\/+$/,"")||"/"}const Fj={visionAvailable:!1,visionAnalyzing:!1,visionProgressPhase:null,visionLastError:null,visionResult:null,visionIssuesCache:new Map,screenshotHistory:new Map,selectedScreenshotId:null,visionCurrentRoute:null,highlightedVisionElementId:null,captureMode:"full",regionSelectionActive:!1,selectedRegion:null,autoScanSettings:Iv,loadingPersistedScreenshots:!1,persistedScreenshotsFetched:!1},C5="uilint:visionAutoScanSettings";function Pj(){if(typeof window>"u")return Iv;try{const i=localStorage.getItem(C5);if(i){const l=JSON.parse(i);return{...Iv,...l}}}catch(i){_e("[Vision Plugin] Failed to load auto-scan settings:",i)}return Iv}function Wj(i){if(!(typeof window>"u"))try{localStorage.setItem(C5,JSON.stringify(i))}catch(l){_e("[Vision Plugin] Failed to save auto-scan settings:",l)}}function tU(i,l){return{...Fj,autoScanSettings:Pj(),setVisionAvailable:u=>i({visionAvailable:u}),triggerVisionAnalysis:async()=>{_e("[Vision Plugin] triggerVisionAnalysis called without integration")},clearVisionResults:()=>i({visionResult:null,visionIssuesCache:new Map,screenshotHistory:new Map,selectedScreenshotId:null,visionAnalyzing:!1,visionProgressPhase:null,highlightedVisionElementId:null,visionLastError:null}),clearVisionLastError:()=>i({visionLastError:null}),setHighlightedVisionElementId:u=>i({highlightedVisionElementId:u}),setCaptureMode:u=>i({captureMode:u}),setRegionSelectionActive:u=>i({regionSelectionActive:u}),setSelectedRegion:u=>i({selectedRegion:u}),setSelectedScreenshotId:u=>{const c=l();if(!u){i({selectedScreenshotId:null});return}const p=c.screenshotHistory.get(u);if(!p){i({selectedScreenshotId:u});return}if(p.issues&&p.issues.length>0){const m=new Map(c.visionIssuesCache);m.set(p.route,p.issues),i({selectedScreenshotId:u,visionIssuesCache:m})}else i({selectedScreenshotId:u})},fetchPersistedScreenshots:async()=>{const u=l();if(!(u.loadingPersistedScreenshots||u.persistedScreenshotsFetched)){i({loadingPersistedScreenshots:!0});try{const c=await fetch("/api/.uilint/screenshots?list=true");if(!c.ok){_e("[Vision Plugin] Failed to fetch screenshots:",c.statusText);return}const p=await c.json(),{screenshots:m}=p;if(!m||m.length===0)return;const y=[];for(const T of m){const{filename:A,metadata:R}=T,j=`capture_${A.replace(/\.[^.]+$/,"")}`,B=R?.route||R?.analysisResult?.route||"/",X=R?.timestamp||Date.now(),q=R?.issues||R?.analysisResult?.issues||[],Z={id:j,route:B,filename:A,timestamp:X,type:"full",persisted:!0,issues:q.length>0?q:void 0};y.push(Z)}const x=l(),S=new Map(x.screenshotHistory),E=new Map(x.visionIssuesCache);for(const T of y){const A=S.get(T.id);(!A||!A.dataUrl)&&S.set(T.id,T),T.issues&&T.issues.length>0&&!E.has(T.route)&&E.set(T.route,T.issues)}i({screenshotHistory:S,visionIssuesCache:E})}catch(c){_e("[Vision Plugin] Error fetching persisted screenshots:",c)}finally{i({loadingPersistedScreenshots:!1,persistedScreenshotsFetched:!0})}}},updateVisionAutoScanSettings:u=>{const p={...l().autoScanSettings,...u};Wj(p),i({autoScanSettings:p})},setVisionAnalyzing:u=>i({visionAnalyzing:u}),setVisionProgressPhase:u=>i({visionProgressPhase:u}),setVisionLastError:u=>i({visionLastError:u}),setVisionResult:u=>i({visionResult:u}),updateVisionIssuesCache:(u,c)=>{const p=l(),m=new Map(p.visionIssuesCache);m.set(u,c),i({visionIssuesCache:m})},addScreenshotToHistory:u=>{const c=l(),p=new Map(c.screenshotHistory);p.set(u.id,u),i({screenshotHistory:p,selectedScreenshotId:u.id})},updateScreenshotInHistory:(u,c)=>{const p=l(),m=new Map(p.screenshotHistory),y=m.get(u);y&&(m.set(u,{...y,...c}),i({screenshotHistory:m}))},setVisionCurrentRoute:u=>i({visionCurrentRoute:u})}}const eU=1e4;function nU(i){return async()=>{const{websocket:l,getState:u}=i,c=u(),p=Jj();try{c.setVisionAnalyzing(!0),c.setVisionProgressPhase("capturing"),c.setVisionCurrentRoute(p);const{captureMode:m,selectedRegion:y}=c,x=m==="region"&&y!==null;let S;x&&y?S=await Kj(y):S=await $j();const E=Zj(document.body,x&&y?y:void 0),T=Date.now(),A=`capture_${T}`;c.addScreenshotToHistory({id:A,route:p,dataUrl:S,timestamp:T,type:x?"region":"full",region:x&&y?y:void 0}),x&&(c.setRegionSelectionActive(!1),c.setSelectedRegion(null)),c.setVisionProgressPhase("saving");const R=await new Promise((j,B)=>{const X=setTimeout(()=>{q(),B(new Error("Timeout waiting for screenshot:saved response"))},eU),q=l.on("screenshot:saved",Z=>{clearTimeout(X),q();const W=Z;W.error?B(new Error(W.error)):W.filename?j(W.filename):B(new Error("Invalid screenshot:saved response"))});l.send({type:"screenshot:save",dataUrl:S,route:p,timestamp:T})});c.setVisionProgressPhase("analyzing"),l.send({type:"vision:analyze",route:p,timestamp:T,screenshot:S,screenshotFile:R,manifest:E})}catch(m){const y=m instanceof Error?m.message:String(m),x=y.includes("Timeout")||y.includes("websocket")?"ws":(y.includes("capture")||y.includes("Screenshot capture"),"capture");c.setVisionLastError({stage:x,message:y,route:p,timestamp:Date.now()}),c.setVisionAnalyzing(!1),c.setVisionProgressPhase(null)}}}const R5=kn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},kn.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),kn.createElement("circle",{cx:"12",cy:"13",r:"4"})),aU=kn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},kn.createElement("path",{d:"M6.13 1L6 16a2 2 0 0 0 2 2h15"}),kn.createElement("path",{d:"M1 6.13L16 6a2 2 0 0 1 2 2v15"})),iU={id:"vision:capture-group",icon:R5,tooltip:"Vision Capture",priority:100,isVisible:i=>i.plugins?.vision?.visionAvailable===!0,actions:[{id:"vision:capture-full-page",icon:R5,tooltip:"Capture Full Page",shortcut:"⌘⇧C",priority:100,isVisible:i=>i.plugins?.vision?.visionAvailable===!0,onClick:async i=>{const u=i.getState().plugins.vision;u.setCaptureMode("full"),u.setRegionSelectionActive(!1),u.setSelectedRegion(null),await u.triggerVisionAnalysis()}},{id:"vision:capture-region",icon:aU,tooltip:"Capture Region",shortcut:"⌘⇧R",priority:90,isVisible:i=>i.plugins?.vision?.visionAvailable===!0,onClick:i=>{const u=i.getState().plugins.vision;u.setCaptureMode("region"),u.setRegionSelectionActive(!0),u.setSelectedRegion(null)}}]};function oU(i){const u=new Date(i.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return`${i.type==="region"?"Region":"Full Page"} • ${u}`}const lU={id:"vision",name:"Vision Analysis",version:"1.0.0",description:"AI-powered visual consistency analysis",meta:{id:"vision",name:"Vision Analysis",version:"1.0.0",description:"AI-powered visual consistency analysis",icon:"eye"},createSlice:i=>{let l;return l=tU(p=>{l={...l,...p},i.setState(p)},()=>l),l},commands:T5,toolbarActionGroups:[iU],inspectorPanels:[],ruleContributions:[{ruleId:"semantic-vision"}],handlesRules:i=>i.id==="semantic-vision"||i.id.includes("vision")||i.category==="vision",getIssues:i=>{const l=i,u=new Map;for(const[c,p]of l.visionIssuesCache)for(const m of p)if(m.dataLoc){const y=u.get(m.dataLoc)||[];y.push({id:`vision:${c}:${m.elementText}:${m.category}`,message:m.message,severity:m.severity,dataLoc:m.dataLoc,ruleId:"semantic-vision",metadata:{elementText:m.elementText,category:m.category,route:c}}),u.set(m.dataLoc,y)}return{pluginId:"vision",issues:u}},getPaletteItems:i=>{const l=[],u=i.getState(),c=u.plugins?.vision,p={...u,screenshotHistory:c?.screenshotHistory??new Map,autoScanSettings:u.autoScanSettings??{vision:{onRouteChange:!1}}};for(const y of T5)y.isAvailable&&!y.isAvailable(p)||l.push({id:y.id,title:y.title,subtitle:y.subtitle,keywords:["Command","Vision",...y.keywords],execute:y.execute,metadata:{isCommand:!0}});const m=c?.screenshotHistory;if(m&&m.size>0){const y=Array.from(m.values());y.sort((x,S)=>S.timestamp-x.timestamp);for(const x of y){const S=x.issues?.length??0,E=S>0,T=E?`${x.route} • ${S} issue${S>1?"s":""}`:x.route;l.push({id:`vision:capture:${x.id}`,title:oU(x),subtitle:T,keywords:["Vision","Capture",x.type==="region"?"Region":"Full Page",x.route,...E?["Issues"]:[]],execute:A=>{A.getState().plugins?.vision?.setSelectedScreenshotId(x.id),A.openInspector("capture",{capture:x}),A.closeCommandPalette()},metadata:{captureId:x.id,route:x.route,timestamp:x.timestamp,type:x.type,issueCount:S,providerId:"vision"}})}}return l},initialize:i=>{const{websocket:l}=i,u=nU(i);i.setState({triggerVisionAnalysis:u});const c=l.on("vision:result",x=>{const S=x,E=i.getState();E.updateVisionIssuesCache(S.route,S.issues),E.setVisionResult({route:S.route,timestamp:Date.now(),manifest:[],issues:S.issues,analysisTime:S.analysisTime,error:S.error}),E.selectedScreenshotId&&E.updateScreenshotInHistory(E.selectedScreenshotId,{issues:S.issues}),E.setVisionAnalyzing(!1),E.setVisionProgressPhase(null),S.error&&E.setVisionLastError({stage:"vision",message:S.error,route:S.route,timestamp:Date.now()})}),p=l.on("vision:progress",x=>{const S=x;i.getState().setVisionProgressPhase(S.phase)}),m=l.on("vision:status",x=>{const S=x;i.getState().setVisionAvailable(S.available)}),y=l.onConnectionChange(x=>{const S=i.getState();x?l.send({type:"vision:check"}):S.setVisionAvailable(!1)});return()=>{c(),p(),m(),y()}}};function rU(i){const l=new Map;for(const u of i){const c=u.filePath||"unknown",p=l.get(c)||[];p.push(u),l.set(c,p)}for(const[u,c]of l)l.set(u,c.sort((p,m)=>p.line-m.line));return l}function sU(i,l,u){const c=Array.from(i.values()).reduce((y,x)=>y+x.length,0),p=i.size;if(c===0)return"No lint issues found on the current page.";const m=[];if(m.push("# Fix Lint Issues"),m.push(""),m.push(`There are **${c} lint issue${c===1?"":"s"}** across **${p} file${p===1?"":"s"}** that need to be fixed.`),m.push(""),m.push("## Instructions"),m.push(""),m.push("1. Fix ALL of the lint issues in the files listed below"),m.push("2. Do NOT ignore or suppress any issues with eslint-disable comments"),m.push("3. Do NOT skip any issues - each one must be properly addressed"),m.push("4. Run the linter after fixing to verify all issues are resolved"),m.push("5. If an issue cannot be fixed without breaking functionality, explain why and propose an alternative solution"),m.push(""),u){m.push("## Affected Files"),m.push(""),m.push("The following files have lint issues. When you edit each file, you will receive the specific lint errors automatically."),m.push("");for(const[y,x]of i){const S=l&&y.startsWith(l)?y.slice(l.length+1):y;m.push(`- \`${S}\` (${x.length} issue${x.length===1?"":"s"})`)}m.push(""),m.push("---"),m.push(""),m.push("Open each file above and fix all reported lint issues. The linter will provide specific error details when you edit each file.")}else{m.push("## Affected Files"),m.push("");for(const[y,x]of i){const S=l&&y.startsWith(l)?y.slice(l.length+1):y;m.push(`### ${S}`),m.push("");for(const E of x){const T=E.column?`Line ${E.line}, Column ${E.column}`:`Line ${E.line}`,A=E.severity==="error"?"ERROR":"WARNING",R=E.ruleId?` (${E.ruleId})`:"";m.push(`- **[${A}]** ${T}${R}`),m.push(` ${E.message}`)}m.push("")}m.push("---"),m.push(""),m.push(`Please fix all ${c} issues listed above. Do not use eslint-disable comments or any other method to suppress warnings. Each issue must be properly resolved.`)}return m.join(`
253
253
  `)}function uU({text:i,onCopy:l}){const[u,c]=K.useState(!1),p=K.useCallback(async()=>{try{await navigator.clipboard.writeText(i),c(!0),l(),setTimeout(()=>c(!1),2e3)}catch(m){$n("Failed to copy:",m)}},[i,l]);return z.jsx("button",{onClick:p,className:"flex items-center gap-1.5 px-4 py-2 text-white border-none rounded-md cursor-pointer font-medium text-sm transition-colors",style:{background:u?"var(--uilint-success)":"var(--uilint-primary)"},children:u?z.jsxs(z.Fragment,{children:[z.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:z.jsx("polyline",{points:"20 6 9 17 4 12"})}),"Copied!"]}):z.jsxs(z.Fragment,{children:[z.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[z.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),z.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy to Clipboard"]})})}function cU({data:i}){const l=i?.issues||[],u=i?.workspaceRoot||null,c=i?.hookAvailable||!1,p=K.useMemo(()=>rU(l),[l]),m=K.useMemo(()=>sU(p,u,c),[p,u,c]),y=l.length,x=p.size;return z.jsxs("div",{className:"flex flex-col h-full",children:[z.jsx("div",{className:"p-4 border-b",style:{borderColor:"var(--uilint-border)",background:"var(--uilint-surface)"},children:z.jsxs("div",{className:"flex items-center justify-between",children:[z.jsxs("div",{children:[z.jsx("div",{className:"text-sm mb-1",style:{color:"var(--uilint-text-muted)"},children:y===0?"No issues found":`${y} issue${y===1?"":"s"} in ${x} file${x===1?"":"s"}`}),z.jsx("div",{className:"text-xs",style:{color:"var(--uilint-text-muted)"},children:c?"Condensed format - hook will provide issue details":"Copy this prompt to Cursor or Claude Code"})]}),y>0&&z.jsx(uU,{text:m,onCopy:()=>{}})]})}),z.jsx("div",{className:"flex-1 overflow-auto p-4",children:z.jsx("pre",{className:"m-0 p-4 rounded-lg text-sm leading-relaxed whitespace-pre-wrap break-words font-mono",style:{background:"var(--uilint-code-bg, #1e1e1e)",color:"var(--uilint-code-text, #d4d4d4)"},children:m})}),z.jsxs("div",{className:"px-4 py-3 border-t text-xs",style:{borderColor:"var(--uilint-border)",background:"var(--uilint-surface-elevated)",color:"var(--uilint-text-muted)"},children:[z.jsx("strong",{children:"Tip:"})," Paste this prompt into Cursor, Claude Code, or any AI assistant to get help fixing these lint issues."]})]})}const uw=kn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},kn.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),kn.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}),kn.createElement("line",{x1:"8",y1:"12",x2:"16",y2:"12"}),kn.createElement("line",{x1:"8",y1:"16",x2:"14",y2:"16"}));function fU(i){const u=i.getState().plugins?.eslint;if(!u?.issues)return{issues:[],workspaceRoot:null,hookAvailable:!1};const c=[];for(const m of u.issues.values())c.push(...m);const p=u.workspaceCapabilities?.postToolUseHook?.enabled??!1;return{issues:c,workspaceRoot:u.workspaceRoot,hookAvailable:p}}const dU={id:"fix-prompt",name:"Fix Prompt Generator",version:"1.0.0",description:"Generate copyable prompts for AI assistants to fix lint issues",meta:{id:"fix-prompt",name:"Fix Prompt Generator",version:"1.0.0",description:"Generate copyable prompts for AI assistants to fix lint issues",icon:uw},toolbarActions:[{id:"fix-prompt:generate",icon:uw,tooltip:"Generate Fix Prompt",priority:50,isVisible:i=>{const u=i.plugins?.eslint?.issues;if(!u)return!1;let c=0;for(const p of u.values())if(c+=p.length,c>0)return!0;return!1},onClick:i=>{const{issues:l,workspaceRoot:u,hookAvailable:c}=fU(i),p=i.getState();i.setState({inspector:{...p.inspector,open:!0,panelId:"fix-prompt",data:{issues:l,workspaceRoot:u,hookAvailable:c}}})}}],inspectorPanels:[{id:"fix-prompt",title:"Fix Prompt",icon:uw,component:cU,priority:10}],createSlice:void 0,initialize:void 0};let D5=!1;function M5(i){if(typeof document>"u"||D5)return;const l=document.createElement("style");l.setAttribute("data-uilint-devtools-styles","true"),l.textContent=i,document.head.appendChild(l),D5=!0}const z5=`@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-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%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@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-xs:20rem;--container-sm:24rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--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}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.top-2\\.5{top:calc(var(--spacing)*2.5)}.top-3{top:calc(var(--spacing)*3)}.left-3{left: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}}.m-0{margin:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.-mt-1{margin-top:calc(var(--spacing)*-1)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-auto{margin-top:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-none{-webkit-line-clamp:unset;-webkit-box-orient:horizontal;display:block;overflow:visible}.\\[display\\:-webkit-box\\]{display:-webkit-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.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-12{height:calc(var(--spacing)*12)}.h-\\[18px\\]{height:18px}.h-\\[200px\\]{height:200px}.h-\\[var\\(--uilint-icon-button-size\\)\\]{height:var(--uilint-icon-button-size)}.h-\\[var\\(--uilint-icon-button-size-lg\\)\\]{height:var(--uilint-icon-button-size-lg)}.h-\\[var\\(--uilint-icon-button-size-sm\\)\\]{height:var(--uilint-icon-button-size-sm)}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.min-h-5{min-height:calc(var(--spacing)*5)}.min-h-6{min-height:calc(var(--spacing)*6)}.min-h-\\[44px\\]{min-height:44px}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-5{width:calc(var(--spacing)*5)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-\\[364px\\]{width:364px}.w-\\[var\\(--uilint-icon-button-size\\)\\]{width:var(--uilint-icon-button-size)}.w-\\[var\\(--uilint-icon-button-size-lg\\)\\]{width:var(--uilint-icon-button-size-lg)}.w-\\[var\\(--uilint-icon-button-size-sm\\)\\]{width:var(--uilint-icon-button-size-sm)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[120px\\]{max-width:120px}.max-w-\\[580px\\]{max-width:580px}.max-w-\\[calc\\(100\\%-1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-4{min-width:calc(var(--spacing)*4)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-6{min-width:calc(var(--spacing)*6)}.min-w-\\[18px\\]{min-width:18px}.min-w-\\[120px\\]{min-width:120px}.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-not-allowed{cursor:not-allowed}.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}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}: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)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.\\[border-radius\\:var\\(--uilint-card-radius\\)\\]{border-radius:var(--uilint-card-radius)}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[0\\.8rem\\]{border-radius:.8rem}.rounded-\\[calc\\(var\\(--uilint-icon-button-radius\\)\\+2px\\)\\]{border-radius:calc(var(--uilint-icon-button-radius) + 2px)}.rounded-\\[calc\\(var\\(--uilint-icon-button-radius\\)-2px\\)\\]{border-radius:calc(var(--uilint-icon-button-radius) - 2px)}.rounded-\\[calc\\(var\\(--uilint-input-radius\\)\\+2px\\)\\]{border-radius:calc(var(--uilint-input-radius) + 2px)}.rounded-\\[calc\\(var\\(--uilint-input-radius\\)-2px\\)\\]{border-radius:calc(var(--uilint-input-radius) - 2px)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--uilint-button-radius\\)\\]{border-radius:var(--uilint-button-radius)}.rounded-\\[var\\(--uilint-icon-button-radius\\)\\]{border-radius:var(--uilint-icon-button-radius)}.rounded-\\[var\\(--uilint-input-radius\\)\\]{border-radius:var(--uilint-input-radius)}.rounded-\\[var\\(--uilint-radius\\,12px\\)\\]{border-radius:var(--uilint-radius,12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--uilint-radius-lg)}.rounded-md{border-radius:var(--uilint-radius)}.rounded-sm{border-radius:var(--uilint-radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[var\\(--uilint-error\\)\\]{border-color:var(--uilint-error)}.border-\\[var\\(--uilint-glass-border\\)\\]{border-color:var(--uilint-glass-border)}.border-\\[var\\(--uilint-input-border\\)\\]{border-color:var(--uilint-input-border)}.border-\\[var\\(--uilint-kbd-border\\,rgba\\(0\\,0\\,0\\,0\\.1\\)\\)\\]{border-color:var(--uilint-kbd-border,#0000001a)}.border-\\[var\\(--uilint-kbd-border-subtle\\,transparent\\)\\]{border-color:var(--uilint-kbd-border-subtle,transparent)}.border-border{border-color:var(--uilint-border)}.border-current\\/20{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\\/20{border-color:color-mix(in oklab,currentcolor 20%,transparent)}}.border-foreground\\/12{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/12{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.border-foreground\\/\\[0\\.04\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.04\\]{border-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.border-foreground\\/\\[0\\.06\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.06\\]{border-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.border-foreground\\/\\[0\\.08\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.08\\]{border-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.border-transparent{border-color:#0000}.border-white\\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.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-error,.border-l-error\\/70{border-left-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-l-error\\/70{border-left-color:color-mix(in oklab,var(--uilint-error)70%,transparent)}}.border-l-foreground\\/20{border-left-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-l-foreground\\/20{border-left-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.border-l-info,.border-l-info\\/70{border-left-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-l-info\\/70{border-left-color:color-mix(in oklab,var(--uilint-info)70%,transparent)}}.border-l-transparent{border-left-color:#0000}.border-l-warning,.border-l-warning\\/70{border-left-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-l-warning\\/70{border-left-color:color-mix(in oklab,var(--uilint-warning)70%,transparent)}}.bg-\\[var\\(--uilint-button-default-bg\\)\\]{background-color:var(--uilint-button-default-bg)}.bg-\\[var\\(--uilint-button-destructive-bg\\)\\]{background-color:var(--uilint-button-destructive-bg)}.bg-\\[var\\(--uilint-button-ghost-bg\\)\\]{background-color:var(--uilint-button-ghost-bg)}.bg-\\[var\\(--uilint-button-glass-bg\\)\\]{background-color:var(--uilint-button-glass-bg)}.bg-\\[var\\(--uilint-button-outline-bg\\)\\]{background-color:var(--uilint-button-outline-bg)}.bg-\\[var\\(--uilint-button-secondary-bg\\)\\]{background-color:var(--uilint-button-secondary-bg)}.bg-\\[var\\(--uilint-glass\\)\\]{background-color:var(--uilint-glass)}.bg-\\[var\\(--uilint-glass-medium\\)\\]{background-color:var(--uilint-glass-medium)}.bg-\\[var\\(--uilint-hover\\)\\]{background-color:var(--uilint-hover)}.bg-\\[var\\(--uilint-input-bg\\)\\]{background-color:var(--uilint-input-bg)}.bg-\\[var\\(--uilint-kbd-background\\,linear-gradient\\(180deg\\,\\#ffffff_0\\%\\,\\#f3f4f6_100\\%\\)\\)\\]{background-color:var(--uilint-kbd-background,linear-gradient(180deg,#fff 0%,#f3f4f6 100%))}.bg-\\[var\\(--uilint-kbd-background-subtle\\,rgba\\(0\\,0\\,0\\,0\\.04\\)\\)\\]{background-color:var(--uilint-kbd-background-subtle,#0000000a)}.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-background\\/50{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/50{background-color:color-mix(in oklab,var(--uilint-background)50%,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-error{background-color:var(--uilint-error)}.bg-error-bg{background-color:var(--uilint-error-bg)}.bg-error\\/70{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/70{background-color:color-mix(in oklab,var(--uilint-error)70%,transparent)}}.bg-error\\/\\[0\\.06\\]{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-error)6%,transparent)}}.bg-error\\/\\[0\\.08\\]{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--uilint-error)8%,transparent)}}.bg-foreground\\/\\[0\\.01\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.01\\]{background-color:color-mix(in oklab,var(--uilint-foreground)1%,transparent)}}.bg-foreground\\/\\[0\\.02\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.02\\]{background-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.bg-foreground\\/\\[0\\.04\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.bg-foreground\\/\\[0\\.08\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.bg-info{background-color:var(--uilint-info)}.bg-info-bg{background-color:var(--uilint-info-bg)}.bg-info\\/70{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/70{background-color:color-mix(in oklab,var(--uilint-info)70%,transparent)}}.bg-info\\/\\[0\\.06\\]{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-info)6%,transparent)}}.bg-info\\/\\[0\\.08\\]{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--uilint-info)8%,transparent)}}.bg-muted-foreground\\/30{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/30{background-color:color-mix(in oklab,var(--uilint-text-muted)30%,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-success-bg{background-color:var(--uilint-success-bg)}.bg-surface-elevated{background-color:var(--uilint-surface-elevated)}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--uilint-warning)}.bg-warning-bg{background-color:var(--uilint-warning-bg)}.bg-warning\\/70{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/70{background-color:color-mix(in oklab,var(--uilint-warning)70%,transparent)}}.bg-warning\\/\\[0\\.06\\]{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-warning)6%,transparent)}}.bg-warning\\/\\[0\\.08\\]{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--uilint-warning)8%,transparent)}}.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)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-foreground\\/\\[0\\.02\\]{--tw-gradient-from:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.from-foreground\\/\\[0\\.02\\]{--tw-gradient-from:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.from-foreground\\/\\[0\\.02\\]{--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))}.to-transparent{--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))}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.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-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.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-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\\.5{padding-top:calc(var(--spacing)*.5)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pr-1\\.25{padding-right:calc(var(--spacing)*1.25)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-\\[-apple-system\\,BlinkMacSystemFont\\,\\'SF_Pro_Text\\'\\,\\'Segoe_UI\\'\\,sans-serif\\]{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[15px\\]{font-size:15px}.text-\\[17px\\]{font-size:17px}.text-\\[28px\\]{font-size:28px}.text-\\[32px\\]{font-size:32px}.text-\\[40px\\]{font-size:40px}.text-\\[52px\\]{font-size:52px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.\\[color\\:var\\(--uilint-text-primary\\)\\]{color:var(--uilint-text-primary)}.\\[color\\:var\\(--uilint-text-secondary\\)\\]{color:var(--uilint-text-secondary)}.text-\\[var\\(--uilint-button-default-text\\)\\]{color:var(--uilint-button-default-text)}.text-\\[var\\(--uilint-button-destructive-text\\)\\]{color:var(--uilint-button-destructive-text)}.text-\\[var\\(--uilint-button-ghost-text\\)\\]{color:var(--uilint-button-ghost-text)}.text-\\[var\\(--uilint-button-glass-text\\)\\]{color:var(--uilint-button-glass-text)}.text-\\[var\\(--uilint-button-outline-text\\)\\]{color:var(--uilint-button-outline-text)}.text-\\[var\\(--uilint-button-secondary-text\\)\\]{color:var(--uilint-button-secondary-text)}.text-\\[var\\(--uilint-kbd-text\\,\\#6b7280\\)\\]{color:var(--uilint-kbd-text,#6b7280)}.text-\\[var\\(--uilint-kbd-text-subtle\\,\\#9ca3af\\)\\]{color:var(--uilint-kbd-text-subtle,#9ca3af)}.text-\\[var\\(--uilint-text-muted\\)\\]{color:var(--uilint-text-muted)}.text-\\[var\\(--uilint-text-primary\\)\\]{color:var(--uilint-text-primary)}.text-\\[var\\(--uilint-text-secondary\\)\\]{color:var(--uilint-text-secondary)}.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-error{color:var(--uilint-error)}.text-foreground,.text-foreground\\/50{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/50{color:color-mix(in oklab,var(--uilint-foreground)50%,transparent)}}.text-foreground\\/60{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/60{color:color-mix(in oklab,var(--uilint-foreground)60%,transparent)}}.text-foreground\\/70{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/70{color:color-mix(in oklab,var(--uilint-foreground)70%,transparent)}}.text-foreground\\/80{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/80{color:color-mix(in oklab,var(--uilint-foreground)80%,transparent)}}.text-foreground\\/90{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/90{color:color-mix(in oklab,var(--uilint-foreground)90%,transparent)}}.text-info{color:var(--uilint-info)}.text-muted-foreground\\/40{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/40{color:color-mix(in oklab,var(--uilint-text-muted)40%,transparent)}}.text-muted-foreground\\/50{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/50{color:color-mix(in oklab,var(--uilint-text-muted)50%,transparent)}}.text-muted-foreground\\/60{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/60{color:color-mix(in oklab,var(--uilint-text-muted)60%,transparent)}}.text-muted-foreground\\/70{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/70{color:color-mix(in oklab,var(--uilint-text-muted)70%,transparent)}}.text-red-700{color:var(--color-red-700)}.text-success{color:var(--uilint-success)}.text-text-secondary{color:var(--uilint-text-secondary)}.text-warning{color:var(--uilint-warning)}.text-white{color:var(--color-white)}.text-zinc-50{color:var(--color-zinc-50)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.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-\\[var\\(--uilint-button-shadow\\)\\]{--tw-shadow:var(--uilint-button-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--uilint-kbd-shadow\\,0_1px_0_rgba\\(0\\,0\\,0\\,0\\.08\\)\\)\\]{--tw-shadow:var(--uilint-kbd-shadow,0 1px 0 #00000014);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:var(--uilint-shadow);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)}.\\[box-shadow\\:var\\(--uilint-card-elevated-shadow\\)\\]{box-shadow:var(--uilint-card-elevated-shadow)}.\\[box-shadow\\:var\\(--uilint-card-shadow\\)\\]{box-shadow:var(--uilint-card-shadow)}.ring-foreground\\/10{--tw-ring-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.ring-foreground\\/10{--tw-ring-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.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{--tw-blur:blur(8px);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-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,)}.backdrop-blur-\\[var\\(--uilint-glass-blur-medium\\)\\]{--tw-backdrop-blur:blur(var(--uilint-glass-blur-medium));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.\\[backdrop-filter\\:blur\\(var\\(--uilint-glass-blur-medium\\)\\)\\]{-webkit-backdrop-filter:blur(var(--uilint-glass-blur-medium));backdrop-filter:blur(var(--uilint-glass-blur-medium))}.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))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.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}.\\[-webkit-box-orient\\:vertical\\]{-webkit-box-orient:vertical}.\\[-webkit-line-clamp\\:1\\]{-webkit-line-clamp:1}.\\[-webkit-line-clamp\\:2\\]{-webkit-line-clamp:2}.\\[background\\:var\\(--uilint-card-bg\\)\\]{background:var(--uilint-card-bg)}.\\[background\\:var\\(--uilint-card-elevated-bg\\)\\]{background:var(--uilint-card-elevated-bg)}.\\[background\\:var\\(--uilint-card-glass-bg\\)\\]{background:var(--uilint-card-glass-bg)}.\\[border-top\\:1px_solid_var\\(--uilint-card-border\\)\\]{border-top:1px solid var(--uilint-card-border)}.\\[border\\:1px_solid_var\\(--uilint-card-border\\)\\]{border:1px solid var(--uilint-card-border)}.\\[border\\:1px_solid_var\\(--uilint-card-glass-border\\)\\]{border:1px solid var(--uilint-card-glass-border)}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.group-hover\\:text-muted-foreground\\/60:is(:where(.group):hover *){color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:text-muted-foreground\\/60:is(:where(.group):hover *){color:color-mix(in oklab,var(--uilint-text-muted)60%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-\\[var\\(--uilint-input-placeholder\\)\\]::placeholder{color:var(--uilint-input-placeholder)}.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\\:h-px:before{content:var(--tw-content);height:1px}.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}.before\\:\\[background\\:var\\(--uilint-glass-highlight\\)\\]:before{content:var(--tw-content);background:var(--uilint-glass-highlight)}.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\\:border-foreground\\/\\[0\\.08\\]:hover{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:border-foreground\\/\\[0\\.08\\]:hover{border-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.hover\\:bg-\\[var\\(--uilint-active\\)\\]:hover{background-color:var(--uilint-active)}.hover\\:bg-\\[var\\(--uilint-button-destructive-bg\\)\\]\\/90:hover{background-color:var(--uilint-button-destructive-bg)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-destructive-bg\\)\\]\\/90:hover{background-color:color-mix(in oklab,var(--uilint-button-destructive-bg)90%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-ghost-text\\)\\]\\/10:hover{background-color:var(--uilint-button-ghost-text)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-ghost-text\\)\\]\\/10:hover{background-color:color-mix(in oklab,var(--uilint-button-ghost-text)10%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-outline-text\\)\\]\\/10:hover{background-color:var(--uilint-button-outline-text)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-outline-text\\)\\]\\/10:hover{background-color:color-mix(in oklab,var(--uilint-button-outline-text)10%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-secondary-bg\\)\\]\\/80:hover{background-color:var(--uilint-button-secondary-bg)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-secondary-bg\\)\\]\\/80:hover{background-color:color-mix(in oklab,var(--uilint-button-secondary-bg)80%,transparent)}}.hover\\:bg-\\[var\\(--uilint-glass-medium\\)\\]:hover{background-color:var(--uilint-glass-medium)}.hover\\:bg-\\[var\\(--uilint-hover\\)\\]:hover{background-color:var(--uilint-hover)}.hover\\:bg-foreground\\/\\[0\\.03\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.03\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.04\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.04\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.08\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.08\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.12\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.12\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.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-white\\/30:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/30:hover{background-color:color-mix(in oklab,var(--color-white)30%,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-\\[var\\(--uilint-text-primary\\)\\]:hover{color:var(--uilint-text-primary)}.hover\\:text-\\[var\\(--uilint-text-secondary\\)\\]:hover{color:var(--uilint-text-secondary)}.hover\\:text-foreground\\/80:hover{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-foreground\\/80:hover{color:color-mix(in oklab,var(--uilint-foreground)80%,transparent)}}.hover\\:text-muted-foreground\\/80:hover{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-muted-foreground\\/80:hover{color:color-mix(in oklab,var(--uilint-text-muted)80%,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}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[var\\(--uilint-button-shadow-hover\\)\\]:hover{--tw-shadow:var(--uilint-button-shadow-hover);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:border-\\[var\\(--uilint-error\\)\\]:focus{border-color:var(--uilint-error)}.focus\\:border-\\[var\\(--uilint-input-border-focus\\)\\]:focus{border-color:var(--uilint-input-border-focus)}.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-\\[var\\(--uilint-button-default-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-default-bg)}.focus-visible\\:ring-\\[var\\(--uilint-button-destructive-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-destructive-bg)}.focus-visible\\:ring-\\[var\\(--uilint-button-ghost-text\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-ghost-text)}.focus-visible\\:ring-\\[var\\(--uilint-button-outline-text\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-outline-text)}.focus-visible\\:ring-\\[var\\(--uilint-button-secondary-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-secondary-bg)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--uilint-border-focus)}.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.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\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.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-lg)}.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\\]\\:h-4 svg{height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:h-5 svg{height:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:h-\\[18px\\] svg{height:18px}.\\[\\&_svg\\]\\:w-4 svg{width:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:w-5 svg{width:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:w-\\[18px\\] svg{width:18px}.\\[\\&_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-info:oklch(62.3% .214 259);--uilint-info-bg:oklch(62.3% .214 259/.15);--uilint-shadow:0 4px 20px oklch(30% .05 75/.15);--uilint-shadow-lg:0 8px 32px oklch(30% .05 75/.2);--uilint-backdrop:oklch(98.5% .015 75/.92);--uilint-glass:oklch(99% .01 75/.7);--uilint-glass-border:oklch(100% .02 75/.25);--uilint-glass-highlight:oklch(100% 0 0/.4);--uilint-glass-blur-light:8px;--uilint-glass-blur-medium:16px;--uilint-glass-blur-heavy:24px;--uilint-glass-light:oklch(99% .01 75/.5);--uilint-glass-medium:oklch(99% .01 75/.7);--uilint-glass-heavy:oklch(99% .01 75/.85);--uilint-kbd-background:linear-gradient(180deg,oklch(100% 0 0) 0%,oklch(96% .01 75) 100%);--uilint-kbd-border:oklch(0% 0 0/.1);--uilint-kbd-shadow:0 1px 0 oklch(0% 0 0/.08);--uilint-kbd-text:oklch(45% .03 75);--uilint-badge-radius:6px;--uilint-button-radius:8px;--uilint-button-shadow:0 1px 2px oklch(0% 0 0/.05);--uilint-button-shadow-hover:0 2px 4px oklch(0% 0 0/.1);--uilint-button-default-bg:var(--uilint-accent);--uilint-button-default-text:var(--uilint-accent-foreground);--uilint-button-default-border:transparent;--uilint-button-secondary-bg:oklch(95% .01 75);--uilint-button-secondary-text:var(--uilint-text-primary);--uilint-button-secondary-border:var(--uilint-border);--uilint-button-ghost-bg:transparent;--uilint-button-ghost-text:var(--uilint-text-secondary);--uilint-button-ghost-border:transparent;--uilint-button-destructive-bg:var(--uilint-error);--uilint-button-destructive-text:oklch(100% 0 0);--uilint-button-destructive-border:transparent;--uilint-button-outline-bg:transparent;--uilint-button-outline-text:var(--uilint-text-primary);--uilint-button-outline-border:var(--uilint-border);--uilint-button-glass-bg:var(--uilint-glass-medium);--uilint-button-glass-text:var(--uilint-text-primary);--uilint-button-glass-border:var(--uilint-glass-border);--uilint-input-bg:oklch(100% 0 0/.6);--uilint-input-border:var(--uilint-border);--uilint-input-border-focus:var(--uilint-border-focus);--uilint-input-placeholder:var(--uilint-text-muted);--uilint-input-radius:8px;--uilint-input-ring:oklch(70% .15 75/.25);--uilint-card-bg:var(--uilint-surface);--uilint-card-border:var(--uilint-border);--uilint-card-radius:12px;--uilint-card-shadow:0 1px 3px oklch(0% 0 0/.04);--uilint-card-shadow-hover:0 4px 12px oklch(0% 0 0/.08);--uilint-card-elevated-bg:var(--uilint-surface-elevated);--uilint-card-elevated-shadow:0 4px 16px oklch(0% 0 0/.1);--uilint-card-glass-bg:var(--uilint-glass-medium);--uilint-card-glass-border:var(--uilint-glass-border);--uilint-icon-button-size:32px;--uilint-icon-button-size-sm:28px;--uilint-icon-button-size-lg:40px;--uilint-icon-button-radius:8px;--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;--uilint-radius-sm:8px;--uilint-radius-lg:16px;--uilint-transition-fast:.1s ease;--uilint-transition-normal:.15s ease;--uilint-transition-slow:.25s ease;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-info:oklch(62.3% .214 259);--uilint-info-bg:oklch(62.3% .214 259/.2);--uilint-shadow:0 4px 20px oklch(10% .03 75/.4);--uilint-shadow-lg:0 8px 32px oklch(0% 0 0/.5);--uilint-backdrop:oklch(12% .02 75/.92);--uilint-glass:oklch(18% .02 75/.7);--uilint-glass-border:oklch(100% .02 75/.12);--uilint-glass-highlight:oklch(100% 0 0/.1);--uilint-glass-light:oklch(20% .02 75/.5);--uilint-glass-medium:oklch(18% .02 75/.7);--uilint-glass-heavy:oklch(16% .02 75/.85);--uilint-kbd-background:linear-gradient(180deg,oklch(28% .02 75) 0%,oklch(22% .02 75) 100%);--uilint-kbd-border:oklch(100% 0 0/.1);--uilint-kbd-shadow:0 1px 0 oklch(0% 0 0/.2);--uilint-kbd-text:oklch(75% .03 75);--uilint-button-default-bg:var(--uilint-accent);--uilint-button-default-text:var(--uilint-accent-foreground);--uilint-button-default-border:transparent;--uilint-button-secondary-bg:oklch(25% .02 75);--uilint-button-secondary-text:var(--uilint-text-primary);--uilint-button-secondary-border:var(--uilint-border);--uilint-button-ghost-bg:transparent;--uilint-button-ghost-text:var(--uilint-text-secondary);--uilint-button-ghost-border:transparent;--uilint-button-destructive-bg:var(--uilint-error);--uilint-button-destructive-text:oklch(100% 0 0);--uilint-button-destructive-border:transparent;--uilint-button-outline-bg:transparent;--uilint-button-outline-text:var(--uilint-text-primary);--uilint-button-outline-border:var(--uilint-border);--uilint-button-glass-bg:var(--uilint-glass-medium);--uilint-button-glass-text:var(--uilint-text-primary);--uilint-button-glass-border:var(--uilint-glass-border);--uilint-input-bg:oklch(20% .02 75/.6);--uilint-input-border:var(--uilint-border);--uilint-input-border-focus:var(--uilint-border-focus);--uilint-input-placeholder:var(--uilint-text-muted);--uilint-input-ring:oklch(75% .15 75/.25);--uilint-card-bg:var(--uilint-surface);--uilint-card-border:var(--uilint-border);--uilint-card-shadow:0 1px 3px oklch(0% 0 0/.2);--uilint-card-shadow-hover:0 4px 12px oklch(0% 0 0/.3);--uilint-card-elevated-bg:var(--uilint-surface-elevated);--uilint-card-elevated-shadow:0 4px 16px oklch(0% 0 0/.4);--uilint-card-glass-bg:var(--uilint-glass-medium);--uilint-card-glass-border:var(--uilint-glass-border);--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)}@media(max-width:767px){.dev-tool-root{--uilint-radius:16px}}.safe-area-padding-top{padding-top:env(safe-area-inset-top,0px)}.safe-area-padding-bottom{padding-bottom:env(safe-area-inset-bottom,0px)}.safe-area-padding-left{padding-left:env(safe-area-inset-left,0px)}.safe-area-padding-right{padding-right:env(safe-area-inset-right,0px)}@keyframes uilint-sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes uilint-sheet-down{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media(pointer:coarse){.dev-tool-root button:focus-visible,.dev-tool-root [role=button]:focus-visible{outline-offset:2px}}@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-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%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`;let cw=!1;const O5="uilint-devtool-root";function _5(){return typeof window<"u"}function hU({enabled:i=!0,mode:l="websocket",manifestUrl:u}){const[c,p]=K.useState(!1),[m,y]=K.useState(cw),x=K.useRef(null),S=K.useRef(!1);return l==="static"&&!u&&_e("[DevTool] Static mode requires manifestUrl prop"),K.useEffect(()=>{p(!0)},[]),K.useEffect(()=>{if(!_5()||!i)return;M5(z5);const E=document.querySelector(`.${O5}`);if(E){x.current=E,S.current=!1;return}const T=document.createElement("div");return T.className=O5,T.setAttribute("data-ui-lint-root","true"),document.body.appendChild(T),x.current=T,S.current=!0,()=>{S.current&&x.current?.remove(),x.current=null,S.current=!1}},[i]),K.useEffect(()=>{if(!_5()||!i||!c)return;let E=null;const T=l==="static"&&u;async function A(){T?(It("[DevTool] Configuring static mode with manifest:",u),Aj(u)):Rj(),cw||(li.register(Nj),li.register(lU),li.register(dU),await pz({websocket:Ho,domObserver:mg}),cw=!0,It("[DevTool] Plugins initialized in",T?"static":"websocket","mode")),y(!0),T?(It("[DevTool] Static mode: starting DOM observer"),mg.start()):(Ho.connect(),E=Ho.onConnectionChange(R=>{R?(It("[DevTool] WebSocket connected, starting DOM observer"),mg.start()):(It("[DevTool] WebSocket disconnected, stopping DOM observer"),mg.stop())}))}return A(),()=>{E?.(),T||Ho.disconnect(),mg.stop()}},[i,c,l,u]),!i||!c||!m?null:z.jsx(rj,{enabled:i})}function k5(i,l){i.setAttribute("data-position",l)}function pU(){if(typeof document>"u")return"light";const i=document.documentElement,l=document.body;if(i.classList.contains("dark")||l.classList.contains("dark"))return"dark";if(i.classList.contains("light")||l.classList.contains("light"))return"light";const u=i.getAttribute("data-theme"),c=l.getAttribute("data-theme");if(u==="dark"||c==="dark")return"dark";if(u==="light"||c==="light")return"light";const p=i.getAttribute("data-mode"),m=l.getAttribute("data-mode");return p==="dark"||m==="dark"?"dark":p==="light"||m==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function j5(i,l){i.classList.remove("light","dark"),i.removeAttribute("data-theme"),l!=="system"&&(i.classList.add(l),i.setAttribute("data-theme",l))}function mU(){if(typeof window>"u"||customElements.get("uilint-devtools"))return;class i extends HTMLElement{static get observedAttributes(){return["enabled","position","theme","mode","manifest-url"]}rootEl=null;reactRoot=null;themeObserver=null;mediaQueryListener=null;connectedCallback(){M5(z5);const u=document.createElement("div");u.className="dev-tool-root",u.setAttribute("data-ui-lint-root","true"),document.body.appendChild(u),this.rootEl=u,k5(u,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=wM.createRoot(u),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&&(k5(this.rootEl,this.getPosition()),this.syncTheme(),this.render())}getEnabled(){const u=this.getAttribute("enabled");return u==null?!0:u!=="false"}getPosition(){const u=this.getAttribute("position");switch(u){case"bottom-right":case"top-left":case"top-right":case"bottom-left":case"top-center":case"bottom-center":return u;default:return"top-center"}}getTheme(){const u=this.getAttribute("theme");switch(u){case"light":case"dark":return u;default:return"system"}}getMode(){return this.getAttribute("mode")==="static"?"static":"websocket"}getManifestUrl(){return this.getAttribute("manifest-url")??void 0}syncTheme(){if(!this.rootEl)return;const u=this.getTheme();if(u==="system"){const c=pU();j5(this.rootEl,c)}else j5(this.rootEl,u)}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.getTheme()==="system"&&this.syncTheme()});const u={attributes:!0,attributeFilter:["class","data-theme","data-mode"]};this.themeObserver.observe(document.documentElement,u),this.themeObserver.observe(document.body,u);const c=window.matchMedia("(prefers-color-scheme: dark)");this.mediaQueryListener=()=>{this.getTheme()==="system"&&this.syncTheme()},c.addEventListener("change",this.mediaQueryListener)}render(){this.reactRoot&&this.reactRoot.render(z.jsx(hU,{enabled:this.getEnabled(),mode:this.getMode(),manifestUrl:this.getManifestUrl()}))}}customElements.define("uilint-devtools",i)}mU();function gU(i,l){if(i.match(/^[a-z]+:\/\//i))return i;if(i.match(/^\/\//))return window.location.protocol+i;if(i.match(/^[a-z]+:/i))return i;const u=document.implementation.createHTMLDocument(),c=u.createElement("base"),p=u.createElement("a");return u.head.appendChild(c),u.body.appendChild(p),l&&(c.href=l),p.href=i,p.href}const yU=(()=>{let i=0;const l=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(i+=1,`u${l()}${i}`)})();function Tu(i){const l=[];for(let u=0,c=i.length;u<c;u++)l.push(i[u]);return l}let bh=null;function U5(i={}){return bh||(i.includeStyleProperties?(bh=i.includeStyleProperties,bh):(bh=Tu(window.getComputedStyle(document.documentElement)),bh))}function Jv(i,l){const c=(i.ownerDocument.defaultView||window).getComputedStyle(i).getPropertyValue(l);return c?parseFloat(c.replace("px","")):0}function vU(i){const l=Jv(i,"border-left-width"),u=Jv(i,"border-right-width");return i.clientWidth+l+u}function bU(i){const l=Jv(i,"border-top-width"),u=Jv(i,"border-bottom-width");return i.clientHeight+l+u}function fw(i,l={}){const u=l.width||vU(i),c=l.height||bU(i);return{width:u,height:c}}function xU(){let i,l;try{l=process}catch{}const u=l&&l.env?l.env.devicePixelRatio:null;return u&&(i=parseInt(u,10),Number.isNaN(i)&&(i=1)),i||window.devicePixelRatio||1}const no=16384;function SU(i){(i.width>no||i.height>no)&&(i.width>no&&i.height>no?i.width>i.height?(i.height*=no/i.width,i.width=no):(i.width*=no/i.height,i.height=no):i.width>no?(i.height*=no/i.width,i.width=no):(i.width*=no/i.height,i.height=no))}function wU(i,l={}){return i.toBlob?new Promise(u=>{i.toBlob(u,l.type?l.type:"image/png",l.quality?l.quality:1)}):new Promise(u=>{const c=window.atob(i.toDataURL(l.type?l.type:void 0,l.quality?l.quality:void 0).split(",")[1]),p=c.length,m=new Uint8Array(p);for(let y=0;y<p;y+=1)m[y]=c.charCodeAt(y);u(new Blob([m],{type:l.type?l.type:"image/png"}))})}function Fv(i){return new Promise((l,u)=>{const c=new Image;c.onload=()=>{c.decode().then(()=>{requestAnimationFrame(()=>l(c))})},c.onerror=u,c.crossOrigin="anonymous",c.decoding="async",c.src=i})}async function EU(i){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(i)).then(encodeURIComponent).then(l=>`data:image/svg+xml;charset=utf-8,${l}`)}async function TU(i,l,u){const c="http://www.w3.org/2000/svg",p=document.createElementNS(c,"svg"),m=document.createElementNS(c,"foreignObject");return p.setAttribute("width",`${l}`),p.setAttribute("height",`${u}`),p.setAttribute("viewBox",`0 0 ${l} ${u}`),m.setAttribute("width","100%"),m.setAttribute("height","100%"),m.setAttribute("x","0"),m.setAttribute("y","0"),m.setAttribute("externalResourcesRequired","true"),p.appendChild(m),m.appendChild(i),EU(p)}const Ni=(i,l)=>{if(i instanceof l)return!0;const u=Object.getPrototypeOf(i);return u===null?!1:u.constructor.name===l.name||Ni(u,l)};function AU(i){const l=i.getPropertyValue("content");return`${i.cssText} content: '${l.replace(/'|"/g,"")}';`}function CU(i,l){return U5(l).map(u=>{const c=i.getPropertyValue(u),p=i.getPropertyPriority(u);return`${u}: ${c}${p?" !important":""};`}).join(" ")}function RU(i,l,u,c){const p=`.${i}:${l}`,m=u.cssText?AU(u):CU(u,c);return document.createTextNode(`${p}{${m}}`)}function L5(i,l,u,c){const p=window.getComputedStyle(i,u),m=p.getPropertyValue("content");if(m===""||m==="none")return;const y=yU();try{l.className=`${l.className} ${y}`}catch{return}const x=document.createElement("style");x.appendChild(RU(y,u,p,c)),l.appendChild(x)}function DU(i,l,u){L5(i,l,":before",u),L5(i,l,":after",u)}const N5="application/font-woff",H5="image/jpeg",MU={woff:N5,woff2:N5,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:H5,jpeg:H5,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function zU(i){const l=/\.([^./]*?)$/g.exec(i);return l?l[1]:""}function dw(i){const l=zU(i).toLowerCase();return MU[l]||""}function OU(i){return i.split(/,/)[1]}function hw(i){return i.search(/^(data:)/)!==-1}function _U(i,l){return`data:${l};base64,${i}`}async function V5(i,l,u){const c=await fetch(i,l);if(c.status===404)throw new Error(`Resource "${c.url}" not found`);const p=await c.blob();return new Promise((m,y)=>{const x=new FileReader;x.onerror=y,x.onloadend=()=>{try{m(u({res:c,result:x.result}))}catch(S){y(S)}},x.readAsDataURL(p)})}const pw={};function kU(i,l,u){let c=i.replace(/\?.*/,"");return u&&(c=i),/ttf|otf|eot|woff2?/i.test(c)&&(c=c.replace(/.*\//,"")),l?`[${l}]${c}`:c}async function mw(i,l,u){const c=kU(i,l,u.includeQueryParams);if(pw[c]!=null)return pw[c];u.cacheBust&&(i+=(/\?/.test(i)?"&":"?")+new Date().getTime());let p;try{const m=await V5(i,u.fetchRequestInit,({res:y,result:x})=>(l||(l=y.headers.get("Content-Type")||""),OU(x)));p=_U(m,l)}catch(m){p=u.imagePlaceholder||"";let y=`Failed to fetch resource: ${i}`;m&&(y=typeof m=="string"?m:m.message),y&&console.warn(y)}return pw[c]=p,p}async function jU(i){const l=i.toDataURL();return l==="data:,"?i.cloneNode(!1):Fv(l)}async function UU(i,l){if(i.currentSrc){const m=document.createElement("canvas"),y=m.getContext("2d");m.width=i.clientWidth,m.height=i.clientHeight,y?.drawImage(i,0,0,m.width,m.height);const x=m.toDataURL();return Fv(x)}const u=i.poster,c=dw(u),p=await mw(u,c,l);return Fv(p)}async function LU(i,l){var u;try{if(!((u=i?.contentDocument)===null||u===void 0)&&u.body)return await Pv(i.contentDocument.body,l,!0)}catch{}return i.cloneNode(!1)}async function NU(i,l){return Ni(i,HTMLCanvasElement)?jU(i):Ni(i,HTMLVideoElement)?UU(i,l):Ni(i,HTMLIFrameElement)?LU(i,l):i.cloneNode(B5(i))}const HU=i=>i.tagName!=null&&i.tagName.toUpperCase()==="SLOT",B5=i=>i.tagName!=null&&i.tagName.toUpperCase()==="SVG";async function VU(i,l,u){var c,p;if(B5(l))return l;let m=[];return HU(i)&&i.assignedNodes?m=Tu(i.assignedNodes()):Ni(i,HTMLIFrameElement)&&(!((c=i.contentDocument)===null||c===void 0)&&c.body)?m=Tu(i.contentDocument.body.childNodes):m=Tu(((p=i.shadowRoot)!==null&&p!==void 0?p:i).childNodes),m.length===0||Ni(i,HTMLVideoElement)||await m.reduce((y,x)=>y.then(()=>Pv(x,u)).then(S=>{S&&l.appendChild(S)}),Promise.resolve()),l}function BU(i,l,u){const c=l.style;if(!c)return;const p=window.getComputedStyle(i);p.cssText?(c.cssText=p.cssText,c.transformOrigin=p.transformOrigin):U5(u).forEach(m=>{let y=p.getPropertyValue(m);m==="font-size"&&y.endsWith("px")&&(y=`${Math.floor(parseFloat(y.substring(0,y.length-2)))-.1}px`),Ni(i,HTMLIFrameElement)&&m==="display"&&y==="inline"&&(y="block"),m==="d"&&l.getAttribute("d")&&(y=`path(${l.getAttribute("d")})`),c.setProperty(m,y,p.getPropertyPriority(m))})}function YU(i,l){Ni(i,HTMLTextAreaElement)&&(l.innerHTML=i.value),Ni(i,HTMLInputElement)&&l.setAttribute("value",i.value)}function qU(i,l){if(Ni(i,HTMLSelectElement)){const c=Array.from(l.children).find(p=>i.value===p.getAttribute("value"));c&&c.setAttribute("selected","")}}function GU(i,l,u){return Ni(l,Element)&&(BU(i,l,u),DU(i,l,u),YU(i,l),qU(i,l)),l}async function XU(i,l){const u=i.querySelectorAll?i.querySelectorAll("use"):[];if(u.length===0)return i;const c={};for(let m=0;m<u.length;m++){const x=u[m].getAttribute("xlink:href");if(x){const S=i.querySelector(x),E=document.querySelector(x);!S&&E&&!c[x]&&(c[x]=await Pv(E,l,!0))}}const p=Object.values(c);if(p.length){const m="http://www.w3.org/1999/xhtml",y=document.createElementNS(m,"svg");y.setAttribute("xmlns",m),y.style.position="absolute",y.style.width="0",y.style.height="0",y.style.overflow="hidden",y.style.display="none";const x=document.createElementNS(m,"defs");y.appendChild(x);for(let S=0;S<p.length;S++)x.appendChild(p[S]);i.appendChild(y)}return i}async function Pv(i,l,u){return!u&&l.filter&&!l.filter(i)?null:Promise.resolve(i).then(c=>NU(c,l)).then(c=>VU(i,c,l)).then(c=>GU(i,c,l)).then(c=>XU(c,l))}const Y5=/url\((['"]?)([^'"]+?)\1\)/g,QU=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,ZU=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function $U(i){const l=i.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${l})(['"]?\\))`,"g")}function KU(i){const l=[];return i.replace(Y5,(u,c,p)=>(l.push(p),u)),l.filter(u=>!hw(u))}async function IU(i,l,u,c,p){try{const m=u?gU(l,u):l,y=dw(l);let x;return p||(x=await mw(m,y,c)),i.replace($U(l),`$1${x}$3`)}catch{}return i}function JU(i,{preferredFontFormat:l}){return l?i.replace(ZU,u=>{for(;;){const[c,,p]=QU.exec(u)||[];if(!p)return"";if(p===l)return`src: ${c};`}}):i}function q5(i){return i.search(Y5)!==-1}async function G5(i,l,u){if(!q5(i))return i;const c=JU(i,u);return KU(c).reduce((m,y)=>m.then(x=>IU(x,y,l,u)),Promise.resolve(c))}async function xh(i,l,u){var c;const p=(c=l.style)===null||c===void 0?void 0:c.getPropertyValue(i);if(p){const m=await G5(p,null,u);return l.style.setProperty(i,m,l.style.getPropertyPriority(i)),!0}return!1}async function FU(i,l){await xh("background",i,l)||await xh("background-image",i,l),await xh("mask",i,l)||await xh("-webkit-mask",i,l)||await xh("mask-image",i,l)||await xh("-webkit-mask-image",i,l)}async function PU(i,l){const u=Ni(i,HTMLImageElement);if(!(u&&!hw(i.src))&&!(Ni(i,SVGImageElement)&&!hw(i.href.baseVal)))return;const c=u?i.src:i.href.baseVal,p=await mw(c,dw(c),l);await new Promise((m,y)=>{i.onload=m,i.onerror=l.onImageErrorHandler?(...S)=>{try{m(l.onImageErrorHandler(...S))}catch(E){y(E)}}:y;const x=i;x.decode&&(x.decode=m),x.loading==="lazy"&&(x.loading="eager"),u?(i.srcset="",i.src=p):i.href.baseVal=p})}async function WU(i,l){const c=Tu(i.childNodes).map(p=>X5(p,l));await Promise.all(c).then(()=>i)}async function X5(i,l){Ni(i,Element)&&(await FU(i,l),await PU(i,l),await WU(i,l))}function t7(i,l){const{style:u}=i;l.backgroundColor&&(u.backgroundColor=l.backgroundColor),l.width&&(u.width=`${l.width}px`),l.height&&(u.height=`${l.height}px`);const c=l.style;return c!=null&&Object.keys(c).forEach(p=>{u[p]=c[p]}),i}const Q5={};async function Z5(i){let l=Q5[i];if(l!=null)return l;const c=await(await fetch(i)).text();return l={url:i,cssText:c},Q5[i]=l,l}async function $5(i,l){let u=i.cssText;const c=/url\(["']?([^"')]+)["']?\)/g,m=(u.match(/url\([^)]+\)/g)||[]).map(async y=>{let x=y.replace(c,"$1");return x.startsWith("https://")||(x=new URL(x,i.url).href),V5(x,l.fetchRequestInit,({result:S})=>(u=u.replace(y,`url(${S})`),[y,S]))});return Promise.all(m).then(()=>u)}function K5(i){if(i==null)return[];const l=[],u=/(\/\*[\s\S]*?\*\/)/gi;let c=i.replace(u,"");const p=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const S=p.exec(c);if(S===null)break;l.push(S[0])}c=c.replace(p,"");const m=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,y="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",x=new RegExp(y,"gi");for(;;){let S=m.exec(c);if(S===null){if(S=x.exec(c),S===null)break;m.lastIndex=x.lastIndex}else x.lastIndex=m.lastIndex;l.push(S[0])}return l}async function e7(i,l){const u=[],c=[];return i.forEach(p=>{if("cssRules"in p)try{Tu(p.cssRules||[]).forEach((m,y)=>{if(m.type===CSSRule.IMPORT_RULE){let x=y+1;const S=m.href,E=Z5(S).then(T=>$5(T,l)).then(T=>K5(T).forEach(A=>{try{p.insertRule(A,A.startsWith("@import")?x+=1:p.cssRules.length)}catch(R){console.error("Error inserting rule from remote css",{rule:A,error:R})}})).catch(T=>{console.error("Error loading remote css",T.toString())});c.push(E)}})}catch(m){const y=i.find(x=>x.href==null)||document.styleSheets[0];p.href!=null&&c.push(Z5(p.href).then(x=>$5(x,l)).then(x=>K5(x).forEach(S=>{y.insertRule(S,y.cssRules.length)})).catch(x=>{console.error("Error loading remote stylesheet",x)})),console.error("Error inlining remote css file",m)}}),Promise.all(c).then(()=>(i.forEach(p=>{if("cssRules"in p)try{Tu(p.cssRules||[]).forEach(m=>{u.push(m)})}catch(m){console.error(`Error while reading CSS rules from ${p.href}`,m)}}),u))}function n7(i){return i.filter(l=>l.type===CSSRule.FONT_FACE_RULE).filter(l=>q5(l.style.getPropertyValue("src")))}async function a7(i,l){if(i.ownerDocument==null)throw new Error("Provided element is not within a Document");const u=Tu(i.ownerDocument.styleSheets),c=await e7(u,l);return n7(c)}function I5(i){return i.trim().replace(/["']/g,"")}function i7(i){const l=new Set;function u(c){(c.style.fontFamily||getComputedStyle(c).fontFamily).split(",").forEach(m=>{l.add(I5(m))}),Array.from(c.children).forEach(m=>{m instanceof HTMLElement&&u(m)})}return u(i),l}async function J5(i,l){const u=await a7(i,l),c=i7(i);return(await Promise.all(u.filter(m=>c.has(I5(m.style.fontFamily))).map(m=>{const y=m.parentStyleSheet?m.parentStyleSheet.href:null;return G5(m.cssText,y,l)}))).join(`
254
254
  `)}async function o7(i,l){const u=l.fontEmbedCSS!=null?l.fontEmbedCSS:l.skipFonts?null:await J5(i,l);if(u){const c=document.createElement("style"),p=document.createTextNode(u);c.appendChild(p),i.firstChild?i.insertBefore(c,i.firstChild):i.appendChild(c)}}async function F5(i,l={}){const{width:u,height:c}=fw(i,l),p=await Pv(i,l,!0);return await o7(p,l),await X5(p,l),t7(p,l),await TU(p,u,c)}async function gg(i,l={}){const{width:u,height:c}=fw(i,l),p=await F5(i,l),m=await Fv(p),y=document.createElement("canvas"),x=y.getContext("2d"),S=l.pixelRatio||xU(),E=l.canvasWidth||u,T=l.canvasHeight||c;return y.width=E*S,y.height=T*S,l.skipAutoScale||SU(y),y.style.width=`${E}`,y.style.height=`${T}`,l.backgroundColor&&(x.fillStyle=l.backgroundColor,x.fillRect(0,0,y.width,y.height)),x.drawImage(m,0,0,y.width,y.height),y}async function l7(i,l={}){const{width:u,height:c}=fw(i,l);return(await gg(i,l)).getContext("2d").getImageData(0,0,u,c).data}async function r7(i,l={}){return(await gg(i,l)).toDataURL()}async function s7(i,l={}){return(await gg(i,l)).toDataURL("image/jpeg",l.quality||1)}async function u7(i,l={}){const u=await gg(i,l);return await wU(u)}async function c7(i,l={}){return J5(i,l)}const P5=Object.freeze(Object.defineProperty({__proto__:null,getFontEmbedCSS:c7,toBlob:u7,toCanvas:gg,toJpeg:s7,toPixelData:l7,toPng:r7,toSvg:F5},Symbol.toStringTag,{value:"Module"}))})();
255
255
  //# sourceMappingURL=devtools.js.map