@necto-react/hooks 2.14.14 → 2.14.16

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.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var fo=Object.create;var Ln=Object.defineProperty;var po=Object.getOwnPropertyDescriptor;var yo=Object.getOwnPropertyNames;var mo=Object.getPrototypeOf,go=Object.prototype.hasOwnProperty;var Le=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Eo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of yo(t))!go.call(e,s)&&s!==r&&Ln(e,s,{get:()=>t[s],enumerable:!(o=po(t,s))||o.enumerable});return e};var K=(e,t,r)=>(r=e!=null?fo(mo(e)):{},Eo(t||!e||!e.__esModule?Ln(r,"default",{value:e,enumerable:!0}):r,e));var Kn=Le(w=>{"use strict";var It=Symbol.for("react.transitional.element"),vo=Symbol.for("react.portal"),ho=Symbol.for("react.fragment"),To=Symbol.for("react.strict_mode"),bo=Symbol.for("react.profiler"),Ro=Symbol.for("react.consumer"),So=Symbol.for("react.context"),Oo=Symbol.for("react.forward_ref"),_o=Symbol.for("react.suspense"),wo=Symbol.for("react.memo"),xn=Symbol.for("react.lazy"),Ao=Symbol.for("react.activity"),Cn=Symbol.iterator;function Lo(e){return e===null||typeof e!="object"?null:(e=Cn&&e[Cn]||e["@@iterator"],typeof e=="function"?e:null)}var Dn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Un=Object.assign,Fn={};function Pe(e,t,r){this.props=e,this.context=t,this.refs=Fn,this.updater=r||Dn}Pe.prototype.isReactComponent={};Pe.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Pe.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function kn(){}kn.prototype=Pe.prototype;function xt(e,t,r){this.props=e,this.context=t,this.refs=Fn,this.updater=r||Dn}var Dt=xt.prototype=new kn;Dt.constructor=xt;Un(Dt,Pe.prototype);Dt.isPureReactComponent=!0;var Pn=Array.isArray;function Mt(){}var H={H:null,A:null,T:null,S:null},Nn=Object.prototype.hasOwnProperty;function Ut(e,t,r){var o=r.ref;return{$$typeof:It,type:e,key:t,ref:o!==void 0?o:null,props:r}}function Co(e,t){return Ut(e.type,t,e.props)}function Ft(e){return typeof e=="object"&&e!==null&&e.$$typeof===It}function Po(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Mn=/\/+/g;function Pt(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Po(""+e.key):t.toString(36)}function Mo(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Mt,Mt):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Ce(e,t,r,o,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case It:case vo:l=!0;break;case xn:return l=e._init,Ce(l(e._payload),t,r,o,s)}}if(l)return s=s(e),l=o===""?"."+Pt(e,0):o,Pn(s)?(r="",l!=null&&(r=l.replace(Mn,"$&/")+"/"),Ce(s,t,r,"",function(p){return p})):s!=null&&(Ft(s)&&(s=Co(s,r+(s.key==null||e&&e.key===s.key?"":(""+s.key).replace(Mn,"$&/")+"/")+l)),t.push(s)),1;l=0;var d=o===""?".":o+":";if(Pn(e))for(var f=0;f<e.length;f++)o=e[f],i=d+Pt(o,f),l+=Ce(o,t,r,i,s);else if(f=Lo(e),typeof f=="function")for(e=f.call(e),f=0;!(o=e.next()).done;)o=o.value,i=d+Pt(o,f++),l+=Ce(o,t,r,i,s);else if(i==="object"){if(typeof e.then=="function")return Ce(Mo(e),t,r,o,s);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function ot(e,t,r){if(e==null)return e;var o=[],s=0;return Ce(e,o,"","",function(i){return t.call(r,i,s++)}),o}function Io(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var In=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},xo={map:ot,forEach:function(e,t,r){ot(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ot(e,function(){t++}),t},toArray:function(e){return ot(e,function(t){return t})||[]},only:function(e){if(!Ft(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};w.Activity=Ao;w.Children=xo;w.Component=Pe;w.Fragment=ho;w.Profiler=bo;w.PureComponent=xt;w.StrictMode=To;w.Suspense=_o;w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H;w.__COMPILER_RUNTIME={__proto__:null,c:function(e){return H.H.useMemoCache(e)}};w.cache=function(e){return function(){return e.apply(null,arguments)}};w.cacheSignal=function(){return null};w.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=Un({},e.props),s=e.key;if(t!=null)for(i in t.key!==void 0&&(s=""+t.key),t)!Nn.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(o[i]=t[i]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var l=Array(i),d=0;d<i;d++)l[d]=arguments[d+2];o.children=l}return Ut(e.type,s,o)};w.createContext=function(e){return e={$$typeof:So,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Ro,_context:e},e};w.createElement=function(e,t,r){var o,s={},i=null;if(t!=null)for(o in t.key!==void 0&&(i=""+t.key),t)Nn.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(s[o]=t[o]);var l=arguments.length-2;if(l===1)s.children=r;else if(1<l){for(var d=Array(l),f=0;f<l;f++)d[f]=arguments[f+2];s.children=d}if(e&&e.defaultProps)for(o in l=e.defaultProps,l)s[o]===void 0&&(s[o]=l[o]);return Ut(e,i,s)};w.createRef=function(){return{current:null}};w.forwardRef=function(e){return{$$typeof:Oo,render:e}};w.isValidElement=Ft;w.lazy=function(e){return{$$typeof:xn,_payload:{_status:-1,_result:e},_init:Io}};w.memo=function(e,t){return{$$typeof:wo,type:e,compare:t===void 0?null:t}};w.startTransition=function(e){var t=H.T,r={};H.T=r;try{var o=e(),s=H.S;s!==null&&s(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(Mt,In)}catch(i){In(i)}finally{t!==null&&r.types!==null&&(t.types=r.types),H.T=t}};w.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()};w.use=function(e){return H.H.use(e)};w.useActionState=function(e,t,r){return H.H.useActionState(e,t,r)};w.useCallback=function(e,t){return H.H.useCallback(e,t)};w.useContext=function(e){return H.H.useContext(e)};w.useDebugValue=function(){};w.useDeferredValue=function(e,t){return H.H.useDeferredValue(e,t)};w.useEffect=function(e,t){return H.H.useEffect(e,t)};w.useEffectEvent=function(e){return H.H.useEffectEvent(e)};w.useId=function(){return H.H.useId()};w.useImperativeHandle=function(e,t,r){return H.H.useImperativeHandle(e,t,r)};w.useInsertionEffect=function(e,t){return H.H.useInsertionEffect(e,t)};w.useLayoutEffect=function(e,t){return H.H.useLayoutEffect(e,t)};w.useMemo=function(e,t){return H.H.useMemo(e,t)};w.useOptimistic=function(e,t){return H.H.useOptimistic(e,t)};w.useReducer=function(e,t,r){return H.H.useReducer(e,t,r)};w.useRef=function(e){return H.H.useRef(e)};w.useState=function(e){return H.H.useState(e)};w.useSyncExternalStore=function(e,t,r){return H.H.useSyncExternalStore(e,t,r)};w.useTransition=function(){return H.H.useTransition()};w.version="19.2.0"});var Hn=Le((_,st)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(n,a){Object.defineProperty(o.prototype,n,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",a[0],a[1])}})}function t(n){return n===null||typeof n!="object"?null:(n=yn&&n[yn]||n["@@iterator"],typeof n=="function"?n:null)}function r(n,a){n=(n=n.constructor)&&(n.displayName||n.name)||"ReactClass";var y=n+"."+a;mn[y]||(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.",a,n),mn[y]=!0)}function o(n,a,y){this.props=n,this.context=a,this.refs=Lt,this.updater=y||gn}function s(){}function i(n,a,y){this.props=n,this.context=a,this.refs=Lt,this.updater=y||gn}function l(){}function d(n){return""+n}function f(n){try{d(n);var a=!1}catch{a=!0}if(a){a=console;var y=a.error,h=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return y.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",h),d(n)}}function p(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===io?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case _t:return"Fragment";case cn:return"Profiler";case an:return"StrictMode";case dn:return"Suspense";case so:return"SuspenseList";case pn:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case ce:return"Portal";case ln:return n.displayName||"Context";case wt:return(n._context.displayName||"Context")+".Consumer";case fn:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case At:return a=n.displayName||null,a!==null?a:p(n.type)||"Memo";case ke:a=n._payload,n=n._init;try{return p(n(a))}catch{}}return null}function b(n){if(n===_t)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===ke)return"<...>";try{var a=p(n);return a?"<"+a+">":"<...>"}catch{return"<...>"}}function c(){var n=M.A;return n===null?null:n.getOwner()}function u(){return Error("react-stack-top-frame")}function g(n){if(et.call(n,"key")){var a=Object.getOwnPropertyDescriptor(n,"key").get;if(a&&a.isReactWarning)return!1}return n.key!==void 0}function S(n,a){function y(){Tn||(Tn=!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)",a))}y.isReactWarning=!0,Object.defineProperty(n,"key",{get:y,configurable:!0})}function T(){var n=p(this.type);return Rn[n]||(Rn[n]=!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.")),n=this.props.ref,n!==void 0?n:null}function v(n,a,y,h,R,I){var L=y.ref;return n={$$typeof:O,type:n,key:a,props:y,_owner:h},(L!==void 0?L:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:T}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:I}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function k(n,a){return a=v(n.type,a,n.props,n._owner,n._debugStack,n._debugTask),n._store&&(a._store.validated=n._store.validated),a}function C(n){P(n)?n._store&&(n._store.validated=1):typeof n=="object"&&n!==null&&n.$$typeof===ke&&(n._payload.status==="fulfilled"?P(n._payload.value)&&n._payload.value._store&&(n._payload.value._store.validated=1):n._store&&(n._store.validated=1))}function P(n){return typeof n=="object"&&n!==null&&n.$$typeof===O}function B(n){var a={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(y){return a[y]})}function U(n,a){return typeof n=="object"&&n!==null&&n.key!=null?(f(n.key),B(""+n.key)):a.toString(36)}function Y(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(l,l):(n.status="pending",n.then(function(a){n.status==="pending"&&(n.status="fulfilled",n.value=a)},function(a){n.status==="pending"&&(n.status="rejected",n.reason=a)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function j(n,a,y,h,R){var I=typeof n;(I==="undefined"||I==="boolean")&&(n=null);var L=!1;if(n===null)L=!0;else switch(I){case"bigint":case"string":case"number":L=!0;break;case"object":switch(n.$$typeof){case O:case ce:L=!0;break;case ke:return L=n._init,j(L(n._payload),a,y,h,R)}}if(L){L=n,R=R(L);var N=h===""?"."+U(L,0):h;return vn(R)?(y="",N!=null&&(y=N.replace(On,"$&/")+"/"),j(R,a,y,"",function(de){return de})):R!=null&&(P(R)&&(R.key!=null&&(L&&L.key===R.key||f(R.key)),y=k(R,y+(R.key==null||L&&L.key===R.key?"":(""+R.key).replace(On,"$&/")+"/")+N),h!==""&&L!=null&&P(L)&&L.key==null&&L._store&&!L._store.validated&&(y._store.validated=2),R=y),a.push(R)),1}if(L=0,N=h===""?".":h+":",vn(n))for(var x=0;x<n.length;x++)h=n[x],I=N+U(h,x),L+=j(h,a,y,I,R);else if(x=t(n),typeof x=="function")for(x===n.entries&&(Sn||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Sn=!0),n=x.call(n),x=0;!(h=n.next()).done;)h=h.value,I=N+U(h,x++),L+=j(h,a,y,I,R);else if(I==="object"){if(typeof n.then=="function")return j(Y(n),a,y,h,R);throw a=String(n),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return L}function G(n,a,y){if(n==null)return n;var h=[],R=0;return j(n,h,"","",function(I){return a.call(y,I,R++)}),h}function fe(n){if(n._status===-1){var a=n._ioInfo;a!=null&&(a.start=a.end=performance.now()),a=n._result;var y=a();if(y.then(function(R){if(n._status===0||n._status===-1){n._status=1,n._result=R;var I=n._ioInfo;I!=null&&(I.end=performance.now()),y.status===void 0&&(y.status="fulfilled",y.value=R)}},function(R){if(n._status===0||n._status===-1){n._status=2,n._result=R;var I=n._ioInfo;I!=null&&(I.end=performance.now()),y.status===void 0&&(y.status="rejected",y.reason=R)}}),a=n._ioInfo,a!=null){a.value=y;var h=y.displayName;typeof h=="string"&&(a.name=h)}n._status===-1&&(n._status=0,n._result=y)}if(n._status===1)return a=n._result,a===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ "use strict";(()=>{var so=Object.create;var On=Object.defineProperty;var uo=Object.getOwnPropertyDescriptor;var io=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,co=Object.prototype.hasOwnProperty;var we=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var lo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of io(t))!co.call(e,s)&&s!==r&&On(e,s,{get:()=>t[s],enumerable:!(o=uo(t,s))||o.enumerable});return e};var K=(e,t,r)=>(r=e!=null?so(ao(e)):{},lo(t||!e||!e.__esModule?On(r,"default",{value:e,enumerable:!0}):r,e));var In=we(A=>{"use strict";var Lt=Symbol.for("react.transitional.element"),fo=Symbol.for("react.portal"),po=Symbol.for("react.fragment"),yo=Symbol.for("react.strict_mode"),mo=Symbol.for("react.profiler"),Eo=Symbol.for("react.consumer"),go=Symbol.for("react.context"),vo=Symbol.for("react.forward_ref"),ho=Symbol.for("react.suspense"),To=Symbol.for("react.memo"),Cn=Symbol.for("react.lazy"),bo=Symbol.for("react.activity"),Sn=Symbol.iterator;function Ro(e){return e===null||typeof e!="object"?null:(e=Sn&&e[Sn]||e["@@iterator"],typeof e=="function"?e:null)}var Ln={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pn=Object.assign,Dn={};function Le(e,t,r){this.props=e,this.context=t,this.refs=Dn,this.updater=r||Ln}Le.prototype.isReactComponent={};Le.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Le.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Mn(){}Mn.prototype=Le.prototype;function Pt(e,t,r){this.props=e,this.context=t,this.refs=Dn,this.updater=r||Ln}var Dt=Pt.prototype=new Mn;Dt.constructor=Pt;Pn(Dt,Le.prototype);Dt.isPureReactComponent=!0;var _n=Array.isArray;function Ct(){}var B={H:null,A:null,T:null,S:null},Fn=Object.prototype.hasOwnProperty;function Mt(e,t,r){var o=r.ref;return{$$typeof:Lt,type:e,key:t,ref:o!==void 0?o:null,props:r}}function Oo(e,t){return Mt(e.type,t,e.props)}function Ft(e){return typeof e=="object"&&e!==null&&e.$$typeof===Lt}function So(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var An=/\/+/g;function wt(e,t){return typeof e=="object"&&e!==null&&e.key!=null?So(""+e.key):t.toString(36)}function _o(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Ct,Ct):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Ce(e,t,r,o,s){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(u){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Lt:case fo:l=!0;break;case Cn:return l=e._init,Ce(l(e._payload),t,r,o,s)}}if(l)return s=s(e),l=o===""?"."+wt(e,0):o,_n(s)?(r="",l!=null&&(r=l.replace(An,"$&/")+"/"),Ce(s,t,r,"",function(p){return p})):s!=null&&(Ft(s)&&(s=Oo(s,r+(s.key==null||e&&e.key===s.key?"":(""+s.key).replace(An,"$&/")+"/")+l)),t.push(s)),1;l=0;var d=o===""?".":o+":";if(_n(e))for(var f=0;f<e.length;f++)o=e[f],u=d+wt(o,f),l+=Ce(o,t,r,u,s);else if(f=Ro(e),typeof f=="function")for(e=f.call(e),f=0;!(o=e.next()).done;)o=o.value,u=d+wt(o,f++),l+=Ce(o,t,r,u,s);else if(u==="object"){if(typeof e.then=="function")return Ce(_o(e),t,r,o,s);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function tt(e,t,r){if(e==null)return e;var o=[],s=0;return Ce(e,o,"","",function(u){return t.call(r,u,s++)}),o}function Ao(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var wn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},wo={map:tt,forEach:function(e,t,r){tt(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return tt(e,function(){t++}),t},toArray:function(e){return tt(e,function(t){return t})||[]},only:function(e){if(!Ft(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Activity=bo;A.Children=wo;A.Component=Le;A.Fragment=po;A.Profiler=mo;A.PureComponent=Pt;A.StrictMode=yo;A.Suspense=ho;A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B;A.__COMPILER_RUNTIME={__proto__:null,c:function(e){return B.H.useMemoCache(e)}};A.cache=function(e){return function(){return e.apply(null,arguments)}};A.cacheSignal=function(){return null};A.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=Pn({},e.props),s=e.key;if(t!=null)for(u in t.key!==void 0&&(s=""+t.key),t)!Fn.call(t,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&t.ref===void 0||(o[u]=t[u]);var u=arguments.length-2;if(u===1)o.children=r;else if(1<u){for(var l=Array(u),d=0;d<u;d++)l[d]=arguments[d+2];o.children=l}return Mt(e.type,s,o)};A.createContext=function(e){return e={$$typeof:go,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Eo,_context:e},e};A.createElement=function(e,t,r){var o,s={},u=null;if(t!=null)for(o in t.key!==void 0&&(u=""+t.key),t)Fn.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(s[o]=t[o]);var l=arguments.length-2;if(l===1)s.children=r;else if(1<l){for(var d=Array(l),f=0;f<l;f++)d[f]=arguments[f+2];s.children=d}if(e&&e.defaultProps)for(o in l=e.defaultProps,l)s[o]===void 0&&(s[o]=l[o]);return Mt(e,u,s)};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:vo,render:e}};A.isValidElement=Ft;A.lazy=function(e){return{$$typeof:Cn,_payload:{_status:-1,_result:e},_init:Ao}};A.memo=function(e,t){return{$$typeof:To,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=B.T,r={};B.T=r;try{var o=e(),s=B.S;s!==null&&s(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(Ct,wn)}catch(u){wn(u)}finally{t!==null&&r.types!==null&&(t.types=r.types),B.T=t}};A.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()};A.use=function(e){return B.H.use(e)};A.useActionState=function(e,t,r){return B.H.useActionState(e,t,r)};A.useCallback=function(e,t){return B.H.useCallback(e,t)};A.useContext=function(e){return B.H.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e,t){return B.H.useDeferredValue(e,t)};A.useEffect=function(e,t){return B.H.useEffect(e,t)};A.useEffectEvent=function(e){return B.H.useEffectEvent(e)};A.useId=function(){return B.H.useId()};A.useImperativeHandle=function(e,t,r){return B.H.useImperativeHandle(e,t,r)};A.useInsertionEffect=function(e,t){return B.H.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return B.H.useLayoutEffect(e,t)};A.useMemo=function(e,t){return B.H.useMemo(e,t)};A.useOptimistic=function(e,t){return B.H.useOptimistic(e,t)};A.useReducer=function(e,t,r){return B.H.useReducer(e,t,r)};A.useRef=function(e){return B.H.useRef(e)};A.useState=function(e){return B.H.useState(e)};A.useSyncExternalStore=function(e,t,r){return B.H.useSyncExternalStore(e,t,r)};A.useTransition=function(){return B.H.useTransition()};A.version="19.2.0"});var Un=we((_,nt)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(n,a){Object.defineProperty(o.prototype,n,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",a[0],a[1])}})}function t(n){return n===null||typeof n!="object"?null:(n=cn&&n[cn]||n["@@iterator"],typeof n=="function"?n:null)}function r(n,a){n=(n=n.constructor)&&(n.displayName||n.name)||"ReactClass";var y=n+"."+a;ln[y]||(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.",a,n),ln[y]=!0)}function o(n,a,y){this.props=n,this.context=a,this.refs=_t,this.updater=y||fn}function s(){}function u(n,a,y){this.props=n,this.context=a,this.refs=_t,this.updater=y||fn}function l(){}function d(n){return""+n}function f(n){try{d(n);var a=!1}catch{a=!0}if(a){a=console;var y=a.error,h=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return y.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",h),d(n)}}function p(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===eo?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Rt:return"Fragment";case rn:return"Profiler";case nn:return"StrictMode";case un:return"Suspense";case Jr:return"SuspenseList";case an:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case ce:return"Portal";case on:return n.displayName||"Context";case Ot:return(n._context.displayName||"Context")+".Consumer";case sn:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case St:return a=n.displayName||null,a!==null?a:p(n.type)||"Memo";case xe:a=n._payload,n=n._init;try{return p(n(a))}catch{}}return null}function b(n){if(n===Rt)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===xe)return"<...>";try{var a=p(n);return a?"<"+a+">":"<...>"}catch{return"<...>"}}function c(){var n=D.A;return n===null?null:n.getOwner()}function i(){return Error("react-stack-top-frame")}function E(n){if(Xe.call(n,"key")){var a=Object.getOwnPropertyDescriptor(n,"key").get;if(a&&a.isReactWarning)return!1}return n.key!==void 0}function O(n,a){function y(){mn||(mn=!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)",a))}y.isReactWarning=!0,Object.defineProperty(n,"key",{get:y,configurable:!0})}function T(){var n=p(this.type);return gn[n]||(gn[n]=!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.")),n=this.props.ref,n!==void 0?n:null}function v(n,a,y,h,R,M){var C=y.ref;return n={$$typeof:S,type:n,key:a,props:y,_owner:h},(C!==void 0?C:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:T}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function k(n,a){return a=v(n.type,a,n.props,n._owner,n._debugStack,n._debugTask),n._store&&(a._store.validated=n._store.validated),a}function L(n){P(n)?n._store&&(n._store.validated=1):typeof n=="object"&&n!==null&&n.$$typeof===xe&&(n._payload.status==="fulfilled"?P(n._payload.value)&&n._payload.value._store&&(n._payload.value._store.validated=1):n._store&&(n._store.validated=1))}function P(n){return typeof n=="object"&&n!==null&&n.$$typeof===S}function j(n){var a={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(y){return a[y]})}function U(n,a){return typeof n=="object"&&n!==null&&n.key!=null?(f(n.key),j(""+n.key)):a.toString(36)}function Y(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(l,l):(n.status="pending",n.then(function(a){n.status==="pending"&&(n.status="fulfilled",n.value=a)},function(a){n.status==="pending"&&(n.status="rejected",n.reason=a)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function V(n,a,y,h,R){var M=typeof n;(M==="undefined"||M==="boolean")&&(n=null);var C=!1;if(n===null)C=!0;else switch(M){case"bigint":case"string":case"number":C=!0;break;case"object":switch(n.$$typeof){case S:case ce:C=!0;break;case xe:return C=n._init,V(C(n._payload),a,y,h,R)}}if(C){C=n,R=R(C);var N=h===""?"."+U(C,0):h;return pn(R)?(y="",N!=null&&(y=N.replace(hn,"$&/")+"/"),V(R,a,y,"",function(fe){return fe})):R!=null&&(P(R)&&(R.key!=null&&(C&&C.key===R.key||f(R.key)),y=k(R,y+(R.key==null||C&&C.key===R.key?"":(""+R.key).replace(hn,"$&/")+"/")+N),h!==""&&C!=null&&P(C)&&C.key==null&&C._store&&!C._store.validated&&(y._store.validated=2),R=y),a.push(R)),1}if(C=0,N=h===""?".":h+":",pn(n))for(var F=0;F<n.length;F++)h=n[F],M=N+U(h,F),C+=V(h,a,y,M,R);else if(F=t(n),typeof F=="function")for(F===n.entries&&(vn||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vn=!0),n=F.call(n),F=0;!(h=n.next()).done;)h=h.value,M=N+U(h,F++),C+=V(h,a,y,M,R);else if(M==="object"){if(typeof n.then=="function")return V(Y(n),a,y,h,R);throw a=String(n),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return C}function G(n,a,y){if(n==null)return n;var h=[],R=0;return V(n,h,"","",function(M){return a.call(y,M,R++)}),h}function le(n){if(n._status===-1){var a=n._ioInfo;a!=null&&(a.start=a.end=performance.now()),a=n._result;var y=a();if(y.then(function(R){if(n._status===0||n._status===-1){n._status=1,n._result=R;var M=n._ioInfo;M!=null&&(M.end=performance.now()),y.status===void 0&&(y.status="fulfilled",y.value=R)}},function(R){if(n._status===0||n._status===-1){n._status=2,n._result=R;var M=n._ioInfo;M!=null&&(M.end=performance.now()),y.status===void 0&&(y.status="rejected",y.reason=R)}}),a=n._ioInfo,a!=null){a.value=y;var h=y.displayName;typeof h=="string"&&(a.name=h)}n._status===-1&&(n._status=0,n._result=y)}if(n._status===1)return a=n._result,a===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -6,16 +6,16 @@ Your code should look like:
6
6
  Did you accidentally put curly braces around the import?`,a),"default"in a||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
7
 
8
8
  Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,a),a.default;throw n._result}function A(){var n=M.H;return n===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:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,a),a.default;throw n._result}function w(){var n=D.H;return n===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
12
  3. You might have more than one copy of React in the same app
13
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),n}function Re(){M.asyncTransitions--}function ue(n){if(tt===null)try{var a=("require"+Math.random()).slice(0,7);tt=(st&&st[a]).call(st,"timers").setImmediate}catch{tt=function(h){wn===!1&&(wn=!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 R=new MessageChannel;R.port1.onmessage=h,R.port2.postMessage(void 0)}}return tt(n)}function ae(n){return 1<n.length&&typeof AggregateError=="function"?new AggregateError(n):n[0]}function E(n,a){a!==nt-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. "),nt=a}function m(n,a,y){var h=M.actQueue;if(h!==null)if(h.length!==0)try{D(h),ue(function(){return m(n,a,y)});return}catch(R){M.thrownErrors.push(R)}else M.actQueue=null;0<M.thrownErrors.length?(h=ae(M.thrownErrors),M.thrownErrors.length=0,y(h)):a(n)}function D(n){if(!Ct){Ct=!0;var a=0;try{for(;a<n.length;a++){var y=n[a];do{M.didUsePromise=!1;var h=y(!1);if(h!==null){if(M.didUsePromise){n[a]=y,n.splice(0,a);return}y=h}else break}while(!0)}n.length=0}catch(R){n.splice(0,a+1),M.thrownErrors.push(R)}finally{Ct=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var O=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),_t=Symbol.for("react.fragment"),an=Symbol.for("react.strict_mode"),cn=Symbol.for("react.profiler"),wt=Symbol.for("react.consumer"),ln=Symbol.for("react.context"),fn=Symbol.for("react.forward_ref"),dn=Symbol.for("react.suspense"),so=Symbol.for("react.suspense_list"),At=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),pn=Symbol.for("react.activity"),yn=Symbol.iterator,mn={},gn={isMounted:function(){return!1},enqueueForceUpdate:function(n){r(n,"forceUpdate")},enqueueReplaceState:function(n){r(n,"replaceState")},enqueueSetState:function(n){r(n,"setState")}},En=Object.assign,Lt={};Object.freeze(Lt),o.prototype.isReactComponent={},o.prototype.setState=function(n,a){if(typeof n!="object"&&typeof n!="function"&&n!=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,n,a,"setState")},o.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};var re={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(Ne in re)re.hasOwnProperty(Ne)&&e(Ne,re[Ne]);s.prototype=o.prototype,re=i.prototype=new s,re.constructor=i,En(re,o.prototype),re.isPureReactComponent=!0;var vn=Array.isArray,io=Symbol.for("react.client.reference"),M={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},et=Object.prototype.hasOwnProperty,hn=console.createTask?console.createTask:function(){return null};re={react_stack_bottom_frame:function(n){return n()}};var Tn,bn,Rn={},uo=re.react_stack_bottom_frame.bind(re,u)(),ao=hn(b(u)),Sn=!1,On=/\/+/g,_n=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},wn=!1,tt=null,nt=0,rt=!1,Ct=!1,An=typeof queueMicrotask=="function"?function(n){queueMicrotask(function(){return queueMicrotask(n)})}:ue;re=Object.freeze({__proto__:null,c:function(n){return A().useMemoCache(n)}});var Ne={map:G,forEach:function(n,a,y){G(n,function(){a.apply(this,arguments)},y)},count:function(n){var a=0;return G(n,function(){a++}),a},toArray:function(n){return G(n,function(a){return a})||[]},only:function(n){if(!P(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};_.Activity=pn,_.Children=Ne,_.Component=o,_.Fragment=_t,_.Profiler=cn,_.PureComponent=i,_.StrictMode=an,_.Suspense=dn,_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,_.__COMPILER_RUNTIME=re,_.act=function(n){var a=M.actQueue,y=nt;nt++;var h=M.actQueue=a!==null?a:[],R=!1;try{var I=n()}catch(x){M.thrownErrors.push(x)}if(0<M.thrownErrors.length)throw E(a,y),n=ae(M.thrownErrors),M.thrownErrors.length=0,n;if(I!==null&&typeof I=="object"&&typeof I.then=="function"){var L=I;return An(function(){R||rt||(rt=!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(x,de){R=!0,L.then(function(Ae){if(E(a,y),y===0){try{D(h),ue(function(){return m(Ae,x,de)})}catch(lo){M.thrownErrors.push(lo)}if(0<M.thrownErrors.length){var co=ae(M.thrownErrors);M.thrownErrors.length=0,de(co)}}else x(Ae)},function(Ae){E(a,y),0<M.thrownErrors.length&&(Ae=ae(M.thrownErrors),M.thrownErrors.length=0),de(Ae)})}}}var N=I;if(E(a,y),y===0&&(D(h),h.length!==0&&An(function(){R||rt||(rt=!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(() => ...)"))}),M.actQueue=null),0<M.thrownErrors.length)throw n=ae(M.thrownErrors),M.thrownErrors.length=0,n;return{then:function(x,de){R=!0,y===0?(M.actQueue=h,ue(function(){return m(N,x,de)})):x(N)}}},_.cache=function(n){return function(){return n.apply(null,arguments)}},_.cacheSignal=function(){return null},_.captureOwnerStack=function(){var n=M.getCurrentStack;return n===null?null:n()},_.cloneElement=function(n,a,y){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var h=En({},n.props),R=n.key,I=n._owner;if(a!=null){var L;e:{if(et.call(a,"ref")&&(L=Object.getOwnPropertyDescriptor(a,"ref").get)&&L.isReactWarning){L=!1;break e}L=a.ref!==void 0}L&&(I=c()),g(a)&&(f(a.key),R=""+a.key);for(N in a)!et.call(a,N)||N==="key"||N==="__self"||N==="__source"||N==="ref"&&a.ref===void 0||(h[N]=a[N])}var N=arguments.length-2;if(N===1)h.children=y;else if(1<N){L=Array(N);for(var x=0;x<N;x++)L[x]=arguments[x+2];h.children=L}for(h=v(n.type,R,h,I,n._debugStack,n._debugTask),R=2;R<arguments.length;R++)C(arguments[R]);return h},_.createContext=function(n){return n={$$typeof:ln,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:wt,_context:n},n._currentRenderer=null,n._currentRenderer2=null,n},_.createElement=function(n,a,y){for(var h=2;h<arguments.length;h++)C(arguments[h]);h={};var R=null;if(a!=null)for(x in bn||!("__self"in a)||"key"in a||(bn=!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")),g(a)&&(f(a.key),R=""+a.key),a)et.call(a,x)&&x!=="key"&&x!=="__self"&&x!=="__source"&&(h[x]=a[x]);var I=arguments.length-2;if(I===1)h.children=y;else if(1<I){for(var L=Array(I),N=0;N<I;N++)L[N]=arguments[N+2];Object.freeze&&Object.freeze(L),h.children=L}if(n&&n.defaultProps)for(x in I=n.defaultProps,I)h[x]===void 0&&(h[x]=I[x]);R&&S(h,typeof n=="function"?n.displayName||n.name||"Unknown":n);var x=1e4>M.recentlyCreatedOwnerStacks++;return v(n,R,h,c(),x?Error("react-stack-top-frame"):uo,x?hn(b(n)):ao)},_.createRef=function(){var n={current:null};return Object.seal(n),n},_.forwardRef=function(n){n!=null&&n.$$typeof===At?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof n!="function"?console.error("forwardRef requires a render function but was given %s.",n===null?"null":typeof n):n.length!==0&&n.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",n.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),n!=null&&n.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var a={$$typeof:fn,render:n},y;return Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(h){y=h,n.name||n.displayName||(Object.defineProperty(n,"name",{value:h}),n.displayName=h)}}),a},_.isValidElement=P,_.lazy=function(n){n={_status:-1,_result:n};var a={$$typeof:ke,_payload:n,_init:fe},y={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return n._ioInfo=y,a._debugInfo=[{awaited:y}],a},_.memo=function(n,a){n==null&&console.error("memo: The first argument must be a component. Instead received: %s",n===null?"null":typeof n),a={$$typeof:At,type:n,compare:a===void 0?null:a};var y;return Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(h){y=h,n.name||n.displayName||(Object.defineProperty(n,"name",{value:h}),n.displayName=h)}}),a},_.startTransition=function(n){var a=M.T,y={};y._updatedFibers=new Set,M.T=y;try{var h=n(),R=M.S;R!==null&&R(y,h),typeof h=="object"&&h!==null&&typeof h.then=="function"&&(M.asyncTransitions++,h.then(Re,Re),h.then(l,_n))}catch(I){_n(I)}finally{a===null&&y._updatedFibers&&(n=y._updatedFibers.size,y._updatedFibers.clear(),10<n&&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.")),a!==null&&y.types!==null&&(a.types!==null&&a.types!==y.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."),a.types=y.types),M.T=a}},_.unstable_useCacheRefresh=function(){return A().useCacheRefresh()},_.use=function(n){return A().use(n)},_.useActionState=function(n,a,y){return A().useActionState(n,a,y)},_.useCallback=function(n,a){return A().useCallback(n,a)},_.useContext=function(n){var a=A();return n.$$typeof===wt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),a.useContext(n)},_.useDebugValue=function(n,a){return A().useDebugValue(n,a)},_.useDeferredValue=function(n,a){return A().useDeferredValue(n,a)},_.useEffect=function(n,a){return n==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useEffect(n,a)},_.useEffectEvent=function(n){return A().useEffectEvent(n)},_.useId=function(){return A().useId()},_.useImperativeHandle=function(n,a,y){return A().useImperativeHandle(n,a,y)},_.useInsertionEffect=function(n,a){return n==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useInsertionEffect(n,a)},_.useLayoutEffect=function(n,a){return n==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useLayoutEffect(n,a)},_.useMemo=function(n,a){return A().useMemo(n,a)},_.useOptimistic=function(n,a){return A().useOptimistic(n,a)},_.useReducer=function(n,a,y){return A().useReducer(n,a,y)},_.useRef=function(n){return A().useRef(n)},_.useState=function(n){return A().useState(n)},_.useSyncExternalStore=function(n,a,y){return A().useSyncExternalStore(n,a,y)},_.useTransition=function(){return A().useTransition()},_.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var F=Le((Gs,kt)=>{"use strict";process.env.NODE_ENV==="production"?kt.exports=Kn():kt.exports=Hn()});var qr=Le(J=>{"use strict";var xs=F();function zr(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function be(){}var Z={d:{f:be,r:function(){throw Error(zr(522))},D:be,C:be,L:be,m:be,X:be,S:be,M:be},p:0,findDOMNode:null},Ds=Symbol.for("react.portal");function Us(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ds,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}var Je=xs.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function St(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}J.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z;J.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(zr(299));return Us(e,t,null,r)};J.flushSync=function(e){var t=Je.T,r=Z.p;try{if(Je.T=null,Z.p=2,e)return e()}finally{Je.T=t,Z.p=r,Z.d.f()}};J.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Z.d.C(e,t))};J.prefetchDNS=function(e){typeof e=="string"&&Z.d.D(e)};J.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,o=St(r,t.crossOrigin),s=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?Z.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:s,fetchPriority:i}):r==="script"&&Z.d.X(e,{crossOrigin:o,integrity:s,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};J.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=St(t.as,t.crossOrigin);Z.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Z.d.M(e)};J.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,o=St(r,t.crossOrigin);Z.d.L(e,r,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};J.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=St(t.as,t.crossOrigin);Z.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Z.d.m(e)};J.requestFormReset=function(e){Z.d.r(e)};J.unstable_batchedUpdates=function(e,t){return e(t)};J.useFormState=function(e,t,r){return Je.H.useFormState(e,t,r)};J.useFormStatus=function(){return Je.H.useHostTransitionStatus()};J.version="19.2.0"});var Qr=Le(ee=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(){}function t(c){return""+c}function r(c,u,g){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(S);var T=!1}catch{T=!0}return T&&(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&&S[Symbol.toStringTag]||S.constructor.name||"Object"),t(S)),{$$typeof:p,key:S==null?null:""+S,children:c,containerInfo:u,implementation:g}}function o(c,u){if(c==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}function s(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":'something with type "'+typeof c+'"'}function i(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":typeof c=="string"?JSON.stringify(c):typeof c=="number"?"`"+c+"`":'something with type "'+typeof c+'"'}function l(){var c=b.H;return c===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),n}function be(){D.asyncTransitions--}function ie(n){if(Ze===null)try{var a=("require"+Math.random()).slice(0,7);Ze=(nt&&nt[a]).call(nt,"timers").setImmediate}catch{Ze=function(h){bn===!1&&(bn=!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 R=new MessageChannel;R.port1.onmessage=h,R.port2.postMessage(void 0)}}return Ze(n)}function ae(n){return 1<n.length&&typeof AggregateError=="function"?new AggregateError(n):n[0]}function g(n,a){a!==Je-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. "),Je=a}function m(n,a,y){var h=D.actQueue;if(h!==null)if(h.length!==0)try{I(h),ie(function(){return m(n,a,y)});return}catch(R){D.thrownErrors.push(R)}else D.actQueue=null;0<D.thrownErrors.length?(h=ae(D.thrownErrors),D.thrownErrors.length=0,y(h)):a(n)}function I(n){if(!At){At=!0;var a=0;try{for(;a<n.length;a++){var y=n[a];do{D.didUsePromise=!1;var h=y(!1);if(h!==null){if(D.didUsePromise){n[a]=y,n.splice(0,a);return}y=h}else break}while(!0)}n.length=0}catch(R){n.splice(0,a+1),D.thrownErrors.push(R)}finally{At=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var S=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),Rt=Symbol.for("react.fragment"),nn=Symbol.for("react.strict_mode"),rn=Symbol.for("react.profiler"),Ot=Symbol.for("react.consumer"),on=Symbol.for("react.context"),sn=Symbol.for("react.forward_ref"),un=Symbol.for("react.suspense"),Jr=Symbol.for("react.suspense_list"),St=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),an=Symbol.for("react.activity"),cn=Symbol.iterator,ln={},fn={isMounted:function(){return!1},enqueueForceUpdate:function(n){r(n,"forceUpdate")},enqueueReplaceState:function(n){r(n,"replaceState")},enqueueSetState:function(n){r(n,"setState")}},dn=Object.assign,_t={};Object.freeze(_t),o.prototype.isReactComponent={},o.prototype.setState=function(n,a){if(typeof n!="object"&&typeof n!="function"&&n!=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,n,a,"setState")},o.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};var re={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(ke in re)re.hasOwnProperty(ke)&&e(ke,re[ke]);s.prototype=o.prototype,re=u.prototype=new s,re.constructor=u,dn(re,o.prototype),re.isPureReactComponent=!0;var pn=Array.isArray,eo=Symbol.for("react.client.reference"),D={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Xe=Object.prototype.hasOwnProperty,yn=console.createTask?console.createTask:function(){return null};re={react_stack_bottom_frame:function(n){return n()}};var mn,En,gn={},to=re.react_stack_bottom_frame.bind(re,i)(),no=yn(b(i)),vn=!1,hn=/\/+/g,Tn=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},bn=!1,Ze=null,Je=0,et=!1,At=!1,Rn=typeof queueMicrotask=="function"?function(n){queueMicrotask(function(){return queueMicrotask(n)})}:ie;re=Object.freeze({__proto__:null,c:function(n){return w().useMemoCache(n)}});var ke={map:G,forEach:function(n,a,y){G(n,function(){a.apply(this,arguments)},y)},count:function(n){var a=0;return G(n,function(){a++}),a},toArray:function(n){return G(n,function(a){return a})||[]},only:function(n){if(!P(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};_.Activity=an,_.Children=ke,_.Component=o,_.Fragment=Rt,_.Profiler=rn,_.PureComponent=u,_.StrictMode=nn,_.Suspense=un,_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,_.__COMPILER_RUNTIME=re,_.act=function(n){var a=D.actQueue,y=Je;Je++;var h=D.actQueue=a!==null?a:[],R=!1;try{var M=n()}catch(F){D.thrownErrors.push(F)}if(0<D.thrownErrors.length)throw g(a,y),n=ae(D.thrownErrors),D.thrownErrors.length=0,n;if(M!==null&&typeof M=="object"&&typeof M.then=="function"){var C=M;return Rn(function(){R||et||(et=!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(F,fe){R=!0,C.then(function(Ae){if(g(a,y),y===0){try{I(h),ie(function(){return m(Ae,F,fe)})}catch(oo){D.thrownErrors.push(oo)}if(0<D.thrownErrors.length){var ro=ae(D.thrownErrors);D.thrownErrors.length=0,fe(ro)}}else F(Ae)},function(Ae){g(a,y),0<D.thrownErrors.length&&(Ae=ae(D.thrownErrors),D.thrownErrors.length=0),fe(Ae)})}}}var N=M;if(g(a,y),y===0&&(I(h),h.length!==0&&Rn(function(){R||et||(et=!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(() => ...)"))}),D.actQueue=null),0<D.thrownErrors.length)throw n=ae(D.thrownErrors),D.thrownErrors.length=0,n;return{then:function(F,fe){R=!0,y===0?(D.actQueue=h,ie(function(){return m(N,F,fe)})):F(N)}}},_.cache=function(n){return function(){return n.apply(null,arguments)}},_.cacheSignal=function(){return null},_.captureOwnerStack=function(){var n=D.getCurrentStack;return n===null?null:n()},_.cloneElement=function(n,a,y){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var h=dn({},n.props),R=n.key,M=n._owner;if(a!=null){var C;e:{if(Xe.call(a,"ref")&&(C=Object.getOwnPropertyDescriptor(a,"ref").get)&&C.isReactWarning){C=!1;break e}C=a.ref!==void 0}C&&(M=c()),E(a)&&(f(a.key),R=""+a.key);for(N in a)!Xe.call(a,N)||N==="key"||N==="__self"||N==="__source"||N==="ref"&&a.ref===void 0||(h[N]=a[N])}var N=arguments.length-2;if(N===1)h.children=y;else if(1<N){C=Array(N);for(var F=0;F<N;F++)C[F]=arguments[F+2];h.children=C}for(h=v(n.type,R,h,M,n._debugStack,n._debugTask),R=2;R<arguments.length;R++)L(arguments[R]);return h},_.createContext=function(n){return n={$$typeof:on,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:Ot,_context:n},n._currentRenderer=null,n._currentRenderer2=null,n},_.createElement=function(n,a,y){for(var h=2;h<arguments.length;h++)L(arguments[h]);h={};var R=null;if(a!=null)for(F in En||!("__self"in a)||"key"in a||(En=!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")),E(a)&&(f(a.key),R=""+a.key),a)Xe.call(a,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(h[F]=a[F]);var M=arguments.length-2;if(M===1)h.children=y;else if(1<M){for(var C=Array(M),N=0;N<M;N++)C[N]=arguments[N+2];Object.freeze&&Object.freeze(C),h.children=C}if(n&&n.defaultProps)for(F in M=n.defaultProps,M)h[F]===void 0&&(h[F]=M[F]);R&&O(h,typeof n=="function"?n.displayName||n.name||"Unknown":n);var F=1e4>D.recentlyCreatedOwnerStacks++;return v(n,R,h,c(),F?Error("react-stack-top-frame"):to,F?yn(b(n)):no)},_.createRef=function(){var n={current:null};return Object.seal(n),n},_.forwardRef=function(n){n!=null&&n.$$typeof===St?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof n!="function"?console.error("forwardRef requires a render function but was given %s.",n===null?"null":typeof n):n.length!==0&&n.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",n.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),n!=null&&n.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var a={$$typeof:sn,render:n},y;return Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(h){y=h,n.name||n.displayName||(Object.defineProperty(n,"name",{value:h}),n.displayName=h)}}),a},_.isValidElement=P,_.lazy=function(n){n={_status:-1,_result:n};var a={$$typeof:xe,_payload:n,_init:le},y={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return n._ioInfo=y,a._debugInfo=[{awaited:y}],a},_.memo=function(n,a){n==null&&console.error("memo: The first argument must be a component. Instead received: %s",n===null?"null":typeof n),a={$$typeof:St,type:n,compare:a===void 0?null:a};var y;return Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(h){y=h,n.name||n.displayName||(Object.defineProperty(n,"name",{value:h}),n.displayName=h)}}),a},_.startTransition=function(n){var a=D.T,y={};y._updatedFibers=new Set,D.T=y;try{var h=n(),R=D.S;R!==null&&R(y,h),typeof h=="object"&&h!==null&&typeof h.then=="function"&&(D.asyncTransitions++,h.then(be,be),h.then(l,Tn))}catch(M){Tn(M)}finally{a===null&&y._updatedFibers&&(n=y._updatedFibers.size,y._updatedFibers.clear(),10<n&&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.")),a!==null&&y.types!==null&&(a.types!==null&&a.types!==y.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."),a.types=y.types),D.T=a}},_.unstable_useCacheRefresh=function(){return w().useCacheRefresh()},_.use=function(n){return w().use(n)},_.useActionState=function(n,a,y){return w().useActionState(n,a,y)},_.useCallback=function(n,a){return w().useCallback(n,a)},_.useContext=function(n){var a=w();return n.$$typeof===Ot&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),a.useContext(n)},_.useDebugValue=function(n,a){return w().useDebugValue(n,a)},_.useDeferredValue=function(n,a){return w().useDeferredValue(n,a)},_.useEffect=function(n,a){return n==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),w().useEffect(n,a)},_.useEffectEvent=function(n){return w().useEffectEvent(n)},_.useId=function(){return w().useId()},_.useImperativeHandle=function(n,a,y){return w().useImperativeHandle(n,a,y)},_.useInsertionEffect=function(n,a){return n==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),w().useInsertionEffect(n,a)},_.useLayoutEffect=function(n,a){return n==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),w().useLayoutEffect(n,a)},_.useMemo=function(n,a){return w().useMemo(n,a)},_.useOptimistic=function(n,a){return w().useOptimistic(n,a)},_.useReducer=function(n,a,y){return w().useReducer(n,a,y)},_.useRef=function(n){return w().useRef(n)},_.useState=function(n){return w().useState(n)},_.useSyncExternalStore=function(n,a,y){return w().useSyncExternalStore(n,a,y)},_.useTransition=function(){return w().useTransition()},_.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var x=we((ks,It)=>{"use strict";process.env.NODE_ENV==="production"?It.exports=In():It.exports=Un()});var jr=we(J=>{"use strict";var _s=x();function Vr(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Te(){}var Z={d:{f:Te,r:function(){throw Error(Vr(522))},D:Te,C:Te,L:Te,m:Te,X:Te,S:Te,M:Te},p:0,findDOMNode:null},As=Symbol.for("react.portal");function ws(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:As,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}var Qe=_s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Tt(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}J.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z;J.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Vr(299));return ws(e,t,null,r)};J.flushSync=function(e){var t=Qe.T,r=Z.p;try{if(Qe.T=null,Z.p=2,e)return e()}finally{Qe.T=t,Z.p=r,Z.d.f()}};J.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Z.d.C(e,t))};J.prefetchDNS=function(e){typeof e=="string"&&Z.d.D(e)};J.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,o=Tt(r,t.crossOrigin),s=typeof t.integrity=="string"?t.integrity:void 0,u=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?Z.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:s,fetchPriority:u}):r==="script"&&Z.d.X(e,{crossOrigin:o,integrity:s,fetchPriority:u,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};J.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=Tt(t.as,t.crossOrigin);Z.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Z.d.M(e)};J.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,o=Tt(r,t.crossOrigin);Z.d.L(e,r,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};J.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=Tt(t.as,t.crossOrigin);Z.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Z.d.m(e)};J.requestFormReset=function(e){Z.d.r(e)};J.unstable_batchedUpdates=function(e,t){return e(t)};J.useFormState=function(e,t,r){return Qe.H.useFormState(e,t,r)};J.useFormStatus=function(){return Qe.H.useHostTransitionStatus()};J.version="19.2.0"});var Wr=we(ee=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(){}function t(c){return""+c}function r(c,i,E){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(O);var T=!1}catch{T=!0}return T&&(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&&O[Symbol.toStringTag]||O.constructor.name||"Object"),t(O)),{$$typeof:p,key:O==null?null:""+O,children:c,containerInfo:i,implementation:E}}function o(c,i){if(c==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}function s(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":'something with type "'+typeof c+'"'}function u(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":typeof c=="string"?JSON.stringify(c):typeof c=="number"?"`"+c+"`":'something with type "'+typeof c+'"'}function l(){var c=b.H;return c===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
14
14
  1. You might have mismatching versions of React and the renderer (such as React DOM)
15
15
  2. You might be breaking the Rules of Hooks
16
16
  3. You might have more than one copy of React in the same app
17
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var d=F(),f={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},p=Symbol.for("react.portal"),b=d.__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"),ee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,ee.createPortal=function(c,u){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error("Target container is not a DOM element.");return r(c,u,null,g)},ee.flushSync=function(c){var u=b.T,g=f.p;try{if(b.T=null,f.p=2,c)return c()}finally{b.T=u,f.p=g,f.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.")}},ee.preconnect=function(c,u){typeof c=="string"&&c?u!=null&&typeof u!="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.",i(u)):u!=null&&typeof u.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.",s(u.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(c)),typeof c=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,f.d.C(c,u))},ee.prefetchDNS=function(c){if(typeof c!="string"||!c)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(c));else if(1<arguments.length){var u=arguments[1];typeof u=="object"&&u.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`.",i(u)):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`.",i(u))}typeof c=="string"&&f.d.D(c)},ee.preinit=function(c,u){if(typeof c=="string"&&c?u==null||typeof u!="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.",i(u)):u.as!=="style"&&u.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".',i(u.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(c)),typeof c=="string"&&u&&typeof u.as=="string"){var g=u.as,S=o(g,u.crossOrigin),T=typeof u.integrity=="string"?u.integrity:void 0,v=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;g==="style"?f.d.S(c,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:S,integrity:T,fetchPriority:v}):g==="script"&&f.d.X(c,{crossOrigin:S,integrity:T,fetchPriority:v,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},ee.preinitModule=function(c,u){var g="";if(typeof c=="string"&&c||(g+=" The `href` argument encountered was "+s(c)+"."),u!==void 0&&typeof u!="object"?g+=" The `options` argument encountered was "+s(u)+".":u&&"as"in u&&u.as!=="script"&&(g+=" The `as` option encountered was "+i(u.as)+"."),g)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",g);else switch(g=u&&typeof u.as=="string"?u.as:"script",g){case"script":break;default:g=i(g),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)',g,c)}typeof c=="string"&&(typeof u=="object"&&u!==null?(u.as==null||u.as==="script")&&(g=o(u.as,u.crossOrigin),f.d.M(c,{crossOrigin:g,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})):u==null&&f.d.M(c))},ee.preload=function(c,u){var g="";if(typeof c=="string"&&c||(g+=" The `href` argument encountered was "+s(c)+"."),u==null||typeof u!="object"?g+=" The `options` argument encountered was "+s(u)+".":typeof u.as=="string"&&u.as||(g+=" The `as` option encountered was "+s(u.as)+"."),g&&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',g),typeof c=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){g=u.as;var S=o(g,u.crossOrigin);f.d.L(c,g,{crossOrigin:S,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},ee.preloadModule=function(c,u){var g="";typeof c=="string"&&c||(g+=" The `href` argument encountered was "+s(c)+"."),u!==void 0&&typeof u!="object"?g+=" The `options` argument encountered was "+s(u)+".":u&&"as"in u&&typeof u.as!="string"&&(g+=" The `as` option encountered was "+s(u.as)+"."),g&&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',g),typeof c=="string"&&(u?(g=o(u.as,u.crossOrigin),f.d.m(c,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:g,integrity:typeof u.integrity=="string"?u.integrity:void 0})):f.d.m(c))},ee.requestFormReset=function(c){f.d.r(c)},ee.unstable_batchedUpdates=function(c,u){return c(u)},ee.useFormState=function(c,u,g){return l().useFormState(c,u,g)},ee.useFormStatus=function(){return l().useHostTransitionStatus()},ee.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Zr=Le((Ta,rn)=>{"use strict";function Xr(){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(Xr)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(Xr(),rn.exports=qr()):rn.exports=Qr()});var it=K(F(),1);function Me(...e){if(e.length===0)return{};if(e.length===1)return typeof e[0]=="object"&&e[0]!==null?e[0]:{};let t={},r={};for(let o of e)if(!(typeof o!="object"||o===null)){for(let s in o)if(Object.hasOwn(o,s)){if(s==="children")continue;let i=o[s];s.startsWith("on")&&typeof i=="function"?(r[s]??=[],r[s].push(i)):t[s]=i}}for(let o in r)Object.hasOwn(r,o)&&r[o].length>0&&(t[o]=(...s)=>{for(let i of r[o])i?.(...s)});for(let o=e.length-1;o>=0;o--){let s=e[o];if(typeof s=="object"&&s!==null&&"children"in s){t.children=s.children;break}}return t}function Do({props:e,ref:t,context:r}){let o=Nt({context:r,slot:e.slot})||{},{ref:s=null,...i}=o,l=(0,it.useRef)(null),d=(0,it.useCallback)(p=>{l.current=p,typeof t=="function"?t(p):t&&(t.current=p),typeof s=="function"?s(p):s&&typeof s=="object"&&(s.current=p)},[t,s]),f=Me(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?f.style=p=>{let b=typeof i.style=="function"?i.style(p):i.style,c={...p.defaultStyle,...b},u=typeof e.style=="function"?e.style({...p,defaultStyle:c}):e.style;return{...c,...u}}:f.style={...i.style,...e.style}),[f,d]}var se=K(F(),1);function Uo(e={}){let{partialVisibility:t=!1,threshold:r=0,rootMargin:o="0px",root:s=null,active:i=!0,once:l=!1,onChange:d}=e,[f,p]=(0,se.useState)(null),[b,c]=(0,se.useState)(!1),[u,g]=(0,se.useState)(null),S=(0,se.useRef)(!1),T=(0,se.useRef)(null),v=Se(C=>{let P=C[0],B=P.isIntersecting,U={isIntersecting:P.isIntersecting,intersectionRatio:P.intersectionRatio,intersectionRect:P.intersectionRect,boundingClientRect:P.boundingClientRect,rootBounds:P.rootBounds,time:P.time};g(U),c(Y=>l&&S.current?!0:B&&l?(S.current=!0,Y!==!0&&d&&d(!0),!0):Y!==B?(d&&d(B),B):Y)}),k=(0,se.useCallback)(C=>{p(C)},[]);return(0,se.useEffect)(()=>{if(!i||!f)return;let C;return t===!0?C=[0,.1,.25,.5,.75,1]:typeof t=="string"?C=.01:C=r,T.current=new IntersectionObserver(v,{root:s,rootMargin:o,threshold:C}),T.current.observe(f),()=>{T.current&&T.current.disconnect()}},[i,f,s,o,r,t]),[k,b,u]}var yt=K(F(),1);var Fo=Object.defineProperty,ut=(e,t)=>{for(var r in t)Fo(e,r,{get:t[r],enumerable:!0})},Ie={};ut(Ie,{ARIA_ATTRIBUTES:()=>Vn,HTML_TAGS:()=>Bn,PRIMITIVE_TAGS:()=>jn,default:()=>ko});var Vn=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-dropeffect","aria-errormessage","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],jn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Bn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],ko={ARIA_ATTRIBUTES:Vn,PRIMITIVE_TAGS:jn,HTML_TAGS:Bn},No={};ut(No,{NUMERIC_DIGITS:()=>Wn,default:()=>Ko});var Wn=["1","2","3","4","5","6","7","8","9","0"],Ko={NUMERIC_DIGITS:Wn},Ho={};ut(Ho,{AMPERSAND:()=>er,ASTERISK:()=>nr,BACKSLASH:()=>pr,BOM:()=>Gn,CARRIAGE_RETURN:()=>zn,COLON:()=>ur,COMMA:()=>or,COMMERCIAL_AT:()=>fr,DOT:()=>ir,DOUBLE_QUOTE:()=>Xn,EXCLAMATION:()=>Qn,GRAVE_ACCENT:()=>mr,GREATER_THAN:()=>cr,LEFT_CURLY_BRACKET:()=>gr,LEFT_SQUARE_BRACKET:()=>dr,LINE_FEED:()=>$n,MINUS:()=>sr,PERCENT:()=>Jn,PLUS:()=>rr,QUESTION:()=>lr,RIGHT_CURLY_BRACKET:()=>vr,RIGHT_SQUARE_BRACKET:()=>yr,SHARP:()=>Zn,SINGLE_QUOTE:()=>tr,SMALLER_THAN:()=>ar,SPACE:()=>qn,TAB:()=>Yn,VERTICAL_LINE:()=>Er,default:()=>Vo});var Gn=65279,Yn=9,$n=10,zn=13,qn=32,Qn=33,Xn=34,Zn=35,Jn=37,er=38,tr=39,nr=42,rr=43,or=44,sr=45,ir=46,ur=58,ar=60,cr=62,lr=63,fr=64,dr=91,pr=92,yr=93,mr=96,gr=123,Er=124,vr=125,Vo={BOM:Gn,TAB:Yn,LINE_FEED:$n,CARRIAGE_RETURN:zn,SPACE:qn,EXCLAMATION:Qn,DOUBLE_QUOTE:Xn,SHARP:Zn,PERCENT:Jn,AMPERSAND:er,SINGLE_QUOTE:tr,ASTERISK:nr,PLUS:rr,COMMA:or,MINUS:sr,DOT:ir,COLON:ur,SMALLER_THAN:ar,GREATER_THAN:cr,QUESTION:lr,COMMERCIAL_AT:fr,LEFT_SQUARE_BRACKET:dr,BACKSLASH:pr,RIGHT_SQUARE_BRACKET:yr,GRAVE_ACCENT:mr,LEFT_CURLY_BRACKET:gr,VERTICAL_LINE:Er,RIGHT_CURLY_BRACKET:vr},jo={};ut(jo,{CAPITALIZED:()=>hr,LOWERCASE:()=>Tr,VOWELS:()=>br,default:()=>Bo});var hr=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Tr=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],br=["A","E","I","O","U","a","e","i","o","u"],Bo={CAPITALIZED:hr,LOWERCASE:Tr,VOWELS:br};function Wo(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var at=()=>Wo(/^Mac/i);function Rr(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var Go=()=>Rr(/^iPhone/i),Yo=()=>Rr(/^iPad/i)||at()&&navigator.maxTouchPoints>1,Kt=()=>Go()||Yo();function ct(e){return at()?e.metaKey??!1:e.ctrlKey??!1}function q(e){return e?.ownerDocument?e.ownerDocument:typeof document<"u"?document:void 0}function Oe(e){if(e&&"window"in e&&e.window===e)return e;let t=q(e);return t?.defaultView?t.defaultView:typeof window<"u"?window:void 0}var lt=null;function $o(){if(lt==null){lt=!1;try{if(typeof document>"u")return!1;document.createElement("div").focus({get preventScroll(){return lt=!0,!0}})}catch{}}return lt}function Or(e,t,r){let{block:o="nearest",inline:s="nearest"}=r??{},i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),d=l.top<i.top,f=l.bottom>i.bottom,p=l.left<i.left,b=l.right>i.right;if(d||f){let c=e.scrollTop;if(o==="start"||o==="nearest"&&d)c=e.scrollTop+(l.top-i.top);else if(o==="end"||o==="nearest"&&f)c=e.scrollTop+(l.bottom-i.bottom);else if(o==="center"){let u=i.top+i.height/2,g=l.top+l.height/2;c=e.scrollTop+(g-u)}e.scrollTop=c}if(p||b){let c=e.scrollLeft;if(s==="start"||s==="nearest"&&p)c=e.scrollLeft+(l.left-i.left);else if(s==="end"||s==="nearest"&&b)c=e.scrollLeft+(l.right-i.right);else if(s==="center"){let u=i.left+i.width/2,g=l.left+l.width/2;c=e.scrollLeft+(g-u)}e.scrollLeft=c}}function zo(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}function ft(e,t,r=!0){if(!e||!t)return!1;if(!r)return e.contains(t);let o=t;for(;o;){if(o===e)return!0;o=o instanceof Element&&o.tagName==="SLOT"&&o.assignedSlot?o.assignedSlot.parentNode:zo(o)?o.host:o.parentNode}return!1}var ye=(e,t=!0)=>{if(e||(e=typeof document<"u"?document:void 0),!e)return null;if(!t)return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&r.shadowRoot?.activeElement;)r=r.shadowRoot.activeElement;return r};function dt(e,t=!0){return t&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function je(e){if($o())e.focus({preventScroll:!0});else{let t=qo(e);e.focus();for(let{element:r,scrollTop:o,scrollLeft:s}of t)r.scrollTop=o,r.scrollLeft=s}}function qo(e){let t=e.parentNode,r=Array.from({length:0}),o=typeof document<"u"?document.scrollingElement||document.documentElement:null;for(;t instanceof HTMLElement&&t!==o;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return o instanceof HTMLElement&&r.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),r}var _r="necto-style",Sr=new WeakMap;function Qo(e){let t=Sr.get(e);return t||(t=new Map,Sr.set(e,t)),t}function Xo(e,t={}){let{id:r=_r,insertionPoint:o}=t,s=o?q(o):typeof document<"u"?document:void 0;if(!s)return null;let i=s.createElement("style");return i.setAttribute("type","text/css"),i.setAttribute("necto-style-id",r),i.textContent=e,o?s.head.insertBefore(i,o):s.head.appendChild(i),i}function wr(e,t={}){let{id:r=_r,window:o=typeof window<"u"?window:null,insertionPoint:s}=t;if(!o||!e)return()=>{};let i=Qo(o),l=`${r}:${e}`,d=i.get(l);return d?d.element&&(d.element.textContent=e,d.count++):(d={element:Xo(e,{id:r,insertionPoint:s}),count:1},i.set(l,d)),()=>{let f=i.get(l);f?.element&&(f.count--,f.count<1&&(f.element.remove(),f.element=null,i.delete(l)))}}var pe=new Map,Vt=new Set;function Zo(e){if(!("propertyName"in e)||!e.target)return;let t=pe.get(e.target);t||(t=new Set,pe.set(e.target,t),e.target.addEventListener("transitioncancel",Wt,{once:!0})),t.add(e.propertyName)}function Wt(e){if(!("propertyName"in e)||!e.target)return;let t=pe.get(e.target);if(t&&(t.delete(e.propertyName),t.size===0&&(e.target.removeEventListener("transitioncancel",Wt),pe.delete(e.target)),pe.size===0)){for(let r of Vt)r();Vt.clear()}}if(typeof window<"u"&&typeof document<"u"){let e=()=>{let t=document.body;t&&(t.addEventListener("transitionrun",Zo),t.addEventListener("transitionend",Wt))};document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e,{once:!0})}function Gt(e){requestAnimationFrame(()=>{for(let[t]of pe)"isConnected"in t&&!t.isConnected&&pe.delete(t);pe.size===0?e():Vt.add(e)})}var le,Ht=()=>Ie.HTML_TAGS.reduce((e,t)=>{var r;return e[r=t,r.charAt(0).toUpperCase()+r.slice(1)]=t,e},{}),si=new Proxy({},{get:(e,t,r)=>(le||(le=Ht()),Reflect.get(le,t,r)),ownKeys:()=>(le||(le=Ht()),Reflect.ownKeys(le)),getOwnPropertyDescriptor:(e,t)=>(le||(le=Ht()),Object.getOwnPropertyDescriptor(le,t))}),jt="",xe="default",Ke=new WeakMap;function pt(e){if(Kt()){if(xe==="default"){let t=q(e);t?.documentElement?.style.webkitUserSelect!==void 0&&(jt=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none",xe="disabled")}}else if(e instanceof HTMLElement||e instanceof SVGElement){let t=e.style,r="userSelect"in t?"userSelect":"webkitUserSelect";Ke.has(e)||(Ke.set(e,t[r]??""),t[r]="none")}}function me(e){if(Kt()){if(xe!=="disabled")return;xe="restoring",setTimeout(()=>{Gt(()=>{if(xe==="restoring"){let t=q(e);t?.documentElement?.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=jt||""),jt="",xe="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&Ke.has(e)){let t=Ke.get(e)??"",r=e.style,o="userSelect"in r?"userSelect":"webkitUserSelect";r[o]==="none"&&(r[o]=t),e.getAttribute("style")?.trim()===""&&e.removeAttribute("style"),Ke.delete(e)}}var He,Bt,Ar,Ve=()=>{He||(He=Ie.ARIA_ATTRIBUTES.reduce((e,t)=>(e[(r=>{let o=r.replace("aria-","");return o.charAt(0).toUpperCase()+o.slice(1)})(t)]=t,e),{}),Bt=Ie.ARIA_ATTRIBUTES,Ar=new Set(Bt))},W=new Proxy({},{get:(e,t,r)=>(Ve(),Reflect.get(He,t,r)),ownKeys:()=>(Ve(),Reflect.ownKeys(He)),getOwnPropertyDescriptor:(e,t)=>(Ve(),Object.getOwnPropertyDescriptor(He,t))}),ai=new Proxy([],{get:(e,t,r)=>(Ve(),Reflect.get(Bt,t,r))}),ci=new Proxy(new Set,{get:(e,t,r)=>(Ve(),Reflect.get(Ar,t,r))});function Be(e={}){let{isDisabled:t,onFocus:r,onBlur:o,onFocusChange:s}=e,i=(0,yt.useCallback)((p,b)=>{p?(r?.(b),s?.(!0)):(o?.(b),s?.(!1))},[r,o,s]),l=(0,yt.useCallback)(p=>{p.target===p.currentTarget&&i(!1,p)},[i]),d=We({onBlur:l}),f=(0,yt.useCallback)(p=>{let b=q(p.target),c=b?ye(b):ye();p.target===p.currentTarget&&c===dt(p.nativeEvent)&&(i(!0,p),d(p))},[i,d]);return{focusProps:{...t?{}:{onFocus:f,onBlur:l}}}}var mt=K(F(),1);function Jo(e,t){let{autoFocus:r,isDisabled:o,excludeFromTabOrder:s}=e,{focusProps:i}=Be(e),{keyboardProps:l}=Yt(e),d=(0,mt.useRef)(r),f=q(t.current),p=f?ye(f):null;(0,mt.useEffect)(()=>{if(d.current&&t.current)if(Ge()==="virtual"){let c=p;Gt(()=>{f&&ye(f)===c&&t.current?.isConnected&&je(t.current)})}else je(t.current);d.current=!1},[t]);let b=s?-1:0;return o&&(b=void 0),{focusableProps:Me(i??{},l,{tabIndex:b})}}var ge=K(F(),1);var es=null;function ts(e={}){let{within:t=!1,isTextInput:r=!1,autoFocus:o=!1}=e,s=(0,ge.useRef)({isFocused:o,isFocusVisible:o||es!=="pointer"}),[i,l]=(0,ge.useState)(o),[d,f]=(0,ge.useState)(()=>s.current.isFocused&&s.current.isFocusVisible),p=(0,ge.useCallback)(()=>{f(s.current.isFocused&&s.current.isFocusVisible)},[]),b=(0,ge.useCallback)(g=>{s.current.isFocused=g,l(g),p()},[p]);Ye({fn:g=>{s.current.isFocusVisible=g,p()},deps:[],opts:{isTextInput:r}});let{focusProps:c={}}=Be({isDisabled:t,onFocusChange:b})||{},{focusWithinProps:u={}}=$t({isDisabled:!t,onFocusWithinChange:b})||{};return{isFocused:i,isFocusVisible:d,focusProps:t?u:c}}var Lr=K(F(),1);function ns(e={}){let{isTextInput:t,autoFocus:r}=e,[o,s]=(0,Lr.useState)(r||Ge()!=="pointer");return Ye({fn:i=>s(i),deps:[t],opts:{isTextInput:t}}),{isFocusVisible:o}}var De=new Map,gt=new Set,Cr=!1,zt=null,Pr=!1,Q={get hasEventBeforeFocus(){return Cr},set hasEventBeforeFocus(e){Cr=e},get hasBlurredWindowRecently(){return Pr},set hasBlurredWindowRecently(e){Pr=e},get currentModality(){return zt},set currentModality(e){zt=e}};function Ge(){return zt}var vs={},Et=Object.create(null),$e=e=>globalThis.process?.env||vs.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?Et:globalThis),Ee=new Proxy(Et,{get(e,t){return $e()[t]??Et[t]},has(e,t){let r=$e();return t in r||t in Et},set(e,t,r){let o=$e(!0);return o[t]=r,!0},deleteProperty(e,t){if(!t)return!1;let r=$e(!0);return delete r[t],!0},ownKeys(){let e=$e(!0);return Object.keys(e)}}),Ir=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",rs=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["CODESANDBOX","CODESANDBOX_HOST",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]];function os(){if(globalThis.process?.env)for(let e of rs){let t=e[1]||e[0];if(globalThis.process?.env[t])return{name:e[0].toLowerCase(),...e[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}var xr=os(),xi=xr.name;function _e(e){return e?e!=="false":!1}var qt=globalThis.process?.platform||"",Dr=_e(Ee.CI)||xr.ci!==!1,Ur=_e(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);var Di=_e(Ee.DEBUG),ze=Ir==="test"||_e(Ee.TEST),Fr=Ir==="production";var Ui=_e(Ee.MINIMAL)||Dr||ze||!Ur,ss=/^win/i.test(qt),Fi=/^linux/i.test(qt),kr=/^darwin/i.test(qt),ki=!_e(Ee.NO_COLOR)&&(_e(Ee.FORCE_COLOR)||(Ur||ss)&&Ee.TERM!=="dumb"||Dr),is=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null,Ni=Number(is?.split(".")[0])||null,us=globalThis.process||Object.create(null),Mr={versions:{}},Ki=new Proxy(us,{get(e,t){if(t==="env")return Ee;if(t in e)return e[t];if(t in Mr)return Mr[t]}}),as=globalThis.process?.release?.name==="node",cs=!!globalThis.Bun||!!globalThis.process?.versions?.bun,ls=!!globalThis.Deno,fs=!!globalThis.fastly,ds=!!globalThis.Netlify,ps=!!globalThis.EdgeRuntime,ys=globalThis.navigator?.userAgent==="Cloudflare-Workers",ms=[[ds,"netlify"],[ps,"edge-light"],[ys,"workerd"],[fs,"fastly"],[ls,"deno"],[cs,"bun"],[as,"node"]];function gs(){let e=ms.find(t=>t[0]);if(e)return{name:e[1]}}var Es=gs(),Hi=Es?.name||"";var Kr=K(F(),1);function Qt(e){if(!e)return;let t=!0;return r=>{let o={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){t&&Fr?console.error("stopPropagation is now the default behavior for events in Necto. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(o),t&&r.stopPropagation()}}function vt(e){let t=e;return Object.assign(t,{nativeEvent:e,isDefaultPrevented:()=>t.defaultPrevented,isPropagationStopped:()=>t.cancelBubble,persist:()=>{}}),t}var hs=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),Ts={Tab:!0,Escape:!0};function Nr(e,t,r){if(!r||!("target"in r)||!r.target)return!1;let o=q(r.target),s=Oe(r.target);if(!o||!s)return!1;let i=typeof window<"u"?s.HTMLInputElement:HTMLInputElement,l=typeof window<"u"?s.HTMLTextAreaElement:HTMLTextAreaElement,d=typeof window<"u"?s.HTMLElement:HTMLElement,f=typeof window<"u"?s.KeyboardEvent:KeyboardEvent,p=o.activeElement;return e=e||p instanceof i&&!hs.has(p.type)||p instanceof l||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&r instanceof f&&!Ts[r.key])}function Zt(e,t){gt.forEach(r=>r(e,t))}function bs(e){return!(e.metaKey||kr&&e.altKey||e.ctrlKey||["Control","Shift","Meta"].includes(e.key))}function Hr(e){bs(e)&&(Q.hasEventBeforeFocus=!0,Q.currentModality="keyboard",Zt("keyboard",e))}function Xt(e){["mousedown","pointerdown"].includes(e.type)&&(Q.hasEventBeforeFocus=!0,Q.currentModality="pointer",Zt("pointer",e))}function Vr(e){[window,document].includes(e.target)||!e.isTrusted||!Q.hasEventBeforeFocus&&!Q.hasBlurredWindowRecently||(!Q.hasEventBeforeFocus&&!Q.hasBlurredWindowRecently&&(Q.currentModality="virtual",Zt("virtual",e)),Q.hasEventBeforeFocus=!1,Q.hasBlurredWindowRecently=!1)}function jr(){Q.hasEventBeforeFocus=!1,Q.hasBlurredWindowRecently=!0}function Rs(e){let t=Oe(e),r=q(e);if(typeof window>"u"||typeof document>"u"||!t||!r||De.has(t))return;let o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(...s){Q.hasEventBeforeFocus=!0,o.apply(this,s)},r.addEventListener("keydown",Hr,!0),r.addEventListener("click",Xt,!0),t.addEventListener("focus",Vr,!0),t.addEventListener("blur",jr,!1),typeof PointerEvent<"u"&&r.addEventListener("pointerdown",Xt,!0),De.set(t,{focus:o})}function Ss(e){let t=Oe(e),r=q(e);if(!t||!r||!De.has(t))return;let{focus:o}=De.get(t);t.HTMLElement.prototype.focus=o,r.removeEventListener("keydown",Hr,!0),r.removeEventListener("click",Xt,!0),t.removeEventListener("focus",Vr,!0),t.removeEventListener("blur",jr,!1),De.delete(t)}function Ye(e){let{fn:t,deps:r,opts:o}=e;typeof window>"u"||typeof document>"u"||(Rs(),(0,Kr.useEffect)(()=>{let s=(i,l)=>{Nr(!!o?.isTextInput,i,l)&&t(Q.currentModality!=="pointer")};return gt.add(s),()=>{gt.delete(s),Ss()}},r))}var qe=K(F(),1);function $t(e){let{isDisabled:t,onFocusWithin:r,onBlurWithin:o,onFocusWithinChange:s}=e,i=(0,qe.useRef)({isFocusWithin:!1}),{addGlobalListener:l,removeAllGlobalListeners:d}=Qe(),f=(0,qe.useCallback)(c=>{c.currentTarget.contains(c.target)&&i.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(i.current.isFocusWithin=!1,d(),o&&o(c),s&&s(!1))},[o,s,d]),p=We({onBlur:f}),b=(0,qe.useCallback)(c=>{if(!c.currentTarget.contains(c.target))return;let u=q(c.target);if(!u)return;let g=ye(u);if(!i.current.isFocusWithin&&g===dt(c.nativeEvent)){r&&r(c),s&&s(!0),i.current.isFocusWithin=!0,p(c);let S=c.currentTarget;l(u,"focus",T=>{if(i.current.isFocusWithin&&!ft(S,T.target)&&u.defaultView&&typeof u.defaultView.FocusEvent=="function"){let v=new u.defaultView.FocusEvent("blur",{relatedTarget:T.target});Object.defineProperty(v,"target",{value:S}),Object.defineProperty(v,"currentTarget",{value:S});let k=vt(v);f(k)}},{capture:!0})}},[r,s,p,l,f]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:b,onBlur:f}}}var ve=K(F(),1);function Qe(){let e=(0,ve.useRef)(new Map),t=(0,ve.useCallback)((s,i,l,d)=>{let f=typeof d=="object"&&d?.once?(...p)=>{e.current.delete(l),l(...p)}:l;e.current.set(l,{type:i,eventTarget:s,options:d}),s.addEventListener(i,f,d)},[]),r=(0,ve.useCallback)((s,i,l,d)=>{let f=e.current.get(l),p=f?.options?.once?f.fn:l;s.removeEventListener(i,p,d),e.current.delete(l)},[]),o=(0,ve.useCallback)(()=>{e.current.forEach((s,i)=>{s.eventTarget.removeEventListener(s.type,i,s.options)}),e.current.clear()},[]);return(0,ve.useEffect)(()=>()=>o(),[o]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:o}}var te=K(F(),1);function Os(e={}){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:s}=e,[i,l]=(0,te.useState)(!1),d=(0,te.useRef)({hoverCount:0,ignoreEmulated:!1}),f=(0,te.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current,{addGlobalListener:p,removeAllGlobalListeners:b}=Qe(),c=(0,te.useCallback)(()=>{d.current.ignoreEmulated=!0,setTimeout(()=>{d.current.ignoreEmulated=!1},50)},[]);(0,te.useEffect)(()=>{let T=k=>{k.pointerType==="touch"&&c()};if(typeof document>"u")return;let v=d.current;return v.hoverCount++,typeof PointerEvent<"u"?document.addEventListener("pointerup",T):ze&&document.addEventListener("touchend",c),()=>{v.hoverCount--,v.hoverCount===0&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",T):ze&&document.removeEventListener("touchend",c))}},[c]);let u=(0,te.useCallback)((T,v)=>{if(s||v==="touch"||f.isHovered||!(T.currentTarget&&T.currentTarget.contains(T.target)))return;f.isHovered=!0,f.pointerType=v,f.target=T.currentTarget;let k=q(T.target instanceof Element?T.target:null);k&&(p(k,"pointerover",C=>{f.isHovered&&f.target&&!ft(f.target,C.target)&&g(C,C.pointerType)},{capture:!0}),t?.({type:"hoverstart",target:T.currentTarget,pointerType:v}),r?.(!0),l(!0))},[s,t,r,p,f]),g=(0,te.useCallback)((T,v)=>{v==="touch"||!f.isHovered||!f.target||(f.isHovered=!1,f.pointerType="",f.target=null,b(),o?.({type:"hoverend",target:T.currentTarget,pointerType:v}),r?.(!1),l(!1))},[o,r,b,f.target,f]),S=(0,te.useMemo)(()=>{let T={};return typeof PointerEvent<"u"?(T.onPointerEnter=v=>{d.current.ignoreEmulated&&v.pointerType==="mouse"||u(v,v.pointerType)},T.onPointerLeave=v=>{!s&&v.currentTarget instanceof Element&&v.currentTarget.contains(v.target)&&g(v,v.pointerType)}):ze&&(T.onTouchStart=()=>{f.ignoreEmulatedMouseEvents=!0},T.onMouseEnter=v=>{!f.ignoreEmulatedMouseEvents&&!d.current.ignoreEmulated&&u(v.nativeEvent,"mouse"),f.ignoreEmulatedMouseEvents=!1},T.onMouseLeave=v=>{!s&&v.currentTarget.contains(v.target)&&g(v.nativeEvent,"mouse")}),T},[s,u,g,f]);return(0,te.useEffect)(()=>{s&&f.isHovered&&g({currentTarget:f.target},f.pointerType)},[s,g,f.isHovered,f.pointerType,f.target]),{hoverProps:S,isHovered:i}}var Br={prefix:"",current:0},Xe=new Map,Ze=typeof FinalizationRegistry<"u"?new FinalizationRegistry(e=>{Xe.delete(e)}):null;var oe=K(F(),1);function _s(e={}){let{prefix:t="necto",defaultId:r}=e,[o,s]=(0,oe.useState)(()=>r),i=(0,oe.useRef)(null),l=(0,oe.useRef)({}),d=(()=>{if(r)return r;let f=typeof oe.default.useId=="function"?(0,oe.useId)():String(++Br.current);return`${t}-${f}`})();return(0,oe.useEffect)(()=>{if(typeof window<"u"&&window.document?.createElement){let f=Xe.get(d)||[],p={current:i.current};f.some(b=>b===p)||Xe.set(d,[...f,p])}return Ze&&Ze.register(l.current,d),()=>{Ze&&Ze.unregister(l.current),Xe.delete(d)}},[d]),(0,oe.useEffect)(()=>{let f=i.current;f&&(s(f),i.current=null)},[]),d}function Yt(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:e.onKeyDown?Qt(t=>e.onKeyDown?.(t.nativeEvent)):void 0,onKeyUp:e.onKeyUp?Qt(t=>e.onKeyUp?.(t.nativeEvent)):void 0}}}var he=K(F(),1);function Jt(e={}){let{type:t="function"}=e,r=(0,he.useRef)(!1),[o,s]=(0,he.useState)(!1),i=(0,he.useCallback)(()=>r.current,[]);return(0,he.useEffect)(()=>(r.current=!0,s(!0),()=>{r.current=!1,s(!1)}),[]),t==="ref"?r:t==="boolean"?o:i}var V=K(F(),1);function X(e,t,r){return{type:e,pointerType:t,target:r.currentTarget??r.target,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey}}function ws(e={}){let{isDisabled:t,preventFocusOnPress:r,allowTextSelectionOnPress:o,ref:s,onPress:i,onPressStart:l,onPressEnd:d,onPressChange:f,onPressUp:p,onClick:b}=e,[c,u]=(0,V.useState)(!1),g=(0,V.useRef)(!1),S=(0,V.useRef)(null),T=(0,V.useRef)(!1),v=(0,V.useCallback)(E=>{c!==E&&(u(E),f?.(E))},[c,f]),k=(0,V.useCallback)(E=>{if(!T.current)return;let m=S.current&&S.current instanceof Node&&E.target instanceof Node&&S.current.contains(E.target);if(T.current=!1,v(!1),!o&&S.current instanceof HTMLElement&&me(S.current),E.target){let D={...X("pressend","mouse",E),target:E.target};d?.(D),p?.(D),m&&i?.(D)}},[d,p,i,v,o]),C=(0,V.useCallback)(E=>{if(t||E.button!==0||g.current)return;r&&E.preventDefault(),o||pt(E.currentTarget),T.current=!0,S.current=E.currentTarget,v(!0);let m=X("pressstart","mouse",E);l?.(m),window.addEventListener("mouseup",k,{once:!0})},[t,r,o,l,v,k]),P=(0,V.useCallback)(E=>{if(t||E.button!==0||!T.current)return;T.current=!1,v(!1),!o&&E.currentTarget instanceof HTMLElement&&me(E.currentTarget);let m=X("pressend","mouse",E);d?.(m),p?.(m),E.currentTarget instanceof Node&&E.currentTarget.contains(E.target)&&i?.(X("press","mouse",E))},[t,i,d,p,v,o]),B=(0,V.useCallback)(E=>{c&&(v(!1),d?.(X("pressend","mouse",E)),!o&&E.currentTarget instanceof HTMLElement&&me(E.currentTarget))},[c,v,d,o]),U=(0,V.useCallback)(E=>{T.current&&!c&&(v(!0),l?.(X("pressstart","mouse",E)))},[c,l,v]),Y=(0,V.useCallback)(E=>{if(!T.current)return;T.current=!1,v(!1),!o&&S.current instanceof HTMLElement&&me(S.current);let m={...X("pressend","touch",E),target:E.target};d?.(m),p?.(m)},[d,p,v,o]),j=(0,V.useCallback)(E=>{if(!T.current)return;T.current=!1,v(!1),!o&&S.current instanceof HTMLElement&&me(S.current);let m={...X("pressend","touch",E),target:E.target};d?.(m)},[d,v,o]),G=(0,V.useCallback)(E=>{t||(o||pt(E.currentTarget),g.current=!0,setTimeout(()=>{g.current=!1},100),T.current=!0,S.current=E.currentTarget,v(!0),l?.(X("pressstart","touch",E)),window.addEventListener("touchend",Y,{once:!0}),window.addEventListener("touchcancel",j,{once:!0}))},[t,l,v,o,Y,j]),fe=(0,V.useCallback)(E=>{if(t||!T.current)return;T.current=!1,v(!1),!o&&E.currentTarget instanceof HTMLElement&&me(E.currentTarget);let m=X("pressend","touch",E);d?.(m),p?.(m),E.currentTarget instanceof Node&&E.currentTarget.contains(E.target)&&i?.(X("press","touch",E))},[t,i,d,p,v,o]),A=(0,V.useCallback)(E=>{if(t)return;(E.key==="Enter"||E.key===" ")&&!c&&(E.key===" "&&E.preventDefault(),o||pt(),v(!0),T.current=!0,l?.(X("pressstart","keyboard",E)))},[t,c,l,v,o]),Re=(0,V.useCallback)(E=>{if(t)return;if((E.key==="Enter"||E.key===" ")&&c){v(!1),T.current=!1,o||me();let D=X("pressend","keyboard",E);d?.(D),p?.(X("pressup","keyboard",E)),i?.(X("press","keyboard",E))}},[t,c,i,d,p,v,o]),ue=(0,V.useCallback)(E=>{if(t){E.preventDefault();return}g.current||b?.(E)},[t,b]);(0,V.useEffect)(()=>()=>{window.removeEventListener("mouseup",k),window.removeEventListener("touchend",Y),window.removeEventListener("touchcancel",j)},[k,Y,j]);let ae=(0,V.useMemo)(()=>({onMouseDown:C,onMouseUp:P,onMouseLeave:B,onMouseEnter:U,onTouchStart:G,onTouchEnd:fe,onKeyDown:A,onKeyUp:Re,onClick:ue}),[C,P,B,U,G,fe,A,Re,ue]);return(0,V.useEffect)(()=>{let E=s?.current,m=E?Oe(E):void 0;E&&m&&E instanceof m.Element&&m.getComputedStyle(E).touchAction==="auto"&&(E.style.touchAction="pan-x pan-y pinch-zoom")},[s]),{pressProps:ae,isPressed:c}}var Wr=K(F(),1);function As(e){let{style:t,values:r,children:o,className:s,defaultStyle:i,defaultChildren:l,defaultClassName:d="necto"}=e;return(0,Wr.useMemo)(()=>{let f=typeof s=="function"?s({...r,defaultClassName:d}):s?`${d} ${s}`:d,p=typeof t=="function"?t({...r,defaultStyle:i||{}}):{...i,...t},b=typeof o=="function"?o({...r,defaultChildren:l}):o??l;return{className:f,style:p,children:b}},[s,t,o,d,l,i,r])}var Gr=K(F(),1);function Nt(e){let{context:t,slot:r}=e,o=(0,Gr.useContext)(t);if(r===null)return null;if(o&&typeof o=="object"&&"slots"in o&&o.slots){let s=r||Symbol("default");if(!o.slots[s]){let i=new Intl.ListFormat().format(Object.keys(o.slots).map(d=>`"${d}"`)),l=r?`Invalid slot name: "${r}". This slot is not recognized. Please refer to the component's documentation for valid slot names.`:"A slot prop is required. You must provide a valid slot name to render content in this area.";throw new Error(`${l} Valid slot names are ${i}.`)}return o.slots[s]}return o}var Ue=K(F(),1);function We(e){let{onBlur:t}=e,r=(0,Ue.useRef)({isFocused:!1,observer:null});(0,Ue.useLayoutEffect)(()=>{let s=r.current;return()=>{s.observer&&(s.observer.disconnect(),s.observer=null)}},[]);let o=Se(s=>{t?.(s)});return(0,Ue.useCallback)(s=>{if(s.target instanceof HTMLButtonElement||s.target instanceof HTMLInputElement||s.target instanceof HTMLTextAreaElement||s.target instanceof HTMLSelectElement){r.current.isFocused=!0;let i=s.target,l=d=>{if(r.current.isFocused=!1,i.disabled){let f=vt(d);o(f)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};i.addEventListener("focusout",l,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&i.disabled){r.current.observer?.disconnect();let d=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),r.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[o])}var Te=K(F(),1);function Se(e){let t=(0,Te.useRef)(e);return(typeof window<"u"?Te.useLayoutEffect:Te.useEffect)(()=>{t.current=e},[e]),(0,Te.useCallback)(((...r)=>t.current(...r)),[])}var ht=K(F(),1);function Gu(e){let t=Jt(),[r,o]=(0,ht.useState)(!1);return(0,ht.useEffect)(()=>{t()&&o(!!e())},[e,t]),r}var we=K(F(),1);function Ls(e={}){let{autoLock:t=!1,target:r,widthReflow:o=!0}=e,[s,i]=(0,we.useState)(!1),l=(0,we.useRef)(null),d=(0,we.useRef)(null),f=Se(()=>{if(typeof window>"u"||!l.current)return;let{overflow:b,paddingRight:c}=l.current.style;if(d.current={overflow:b,paddingRight:c},o){let u=l.current===document.body?window.innerWidth:l.current.offsetWidth,g=parseInt(window.getComputedStyle(l.current).paddingRight,10)||0,S=u-l.current.scrollWidth;l.current.style.paddingRight=`${S+g}px`}l.current.style.overflow="hidden",i(!0)}),p=Se(()=>{l.current&&d.current&&(l.current.style.overflow=d.current.overflow,o&&(l.current.style.paddingRight=d.current.paddingRight)),i(!1)});return(0,we.useEffect)(()=>{if(!(typeof window>"u"||typeof document>"u"))return r&&(l.current=typeof r=="string"?document.querySelector(r):r),l.current||(l.current=document.body),t&&f(),()=>{p()}},[t,r,o,f,p]),{isLocked:s,lock:f,unlock:p}}var Yr=K(F(),1);function Cs(e={}){let{isInvalid:t,isDisabled:r,isReadOnly:o,isRequired:s,isBusy:i,isPressed:l,isExpanded:d,isSelected:f,isChecked:p,isHidden:b,hasPopup:c,valueCurrent:u,valueMin:g,valueMax:S,valueText:T,label:v,labelledBy:k,describedBy:C,controls:P,owns:B}=e;return(0,Yr.useMemo)(()=>{let U={},Y=[{value:t,attr:W.Invalid},{value:r,attr:W.Disabled},{value:o,attr:W.Readonly},{value:s,attr:W.Required},{value:i,attr:W.Busy},{value:d,attr:W.Expanded},{value:f,attr:W.Selected},{value:b,attr:W.Hidden}];for(let{value:j,attr:G}of Y)j!==void 0&&(U[G]=j||void 0);return l!==void 0&&(U[W.Pressed]=l===!1?void 0:l),p!==void 0&&(U[W.Checked]=p===!1?void 0:p),c!==void 0&&(U[W.Haspopup]=c===!1?void 0:c),u!==void 0&&(U[W.Valuenow]=u),g!==void 0&&(U[W.Valuemin]=g),S!==void 0&&(U[W.Valuemax]=S),T!==void 0&&(U[W.Valuetext]=T),v!==void 0&&(U[W.Label]=v),k!==void 0&&(U[W.Labelledby]=k),C!==void 0&&(U[W.Describedby]=C),P!==void 0&&(U[W.Controls]=P),B!==void 0&&(U[W.Owns]=B),U},[t,r,o,s,i,l,d,f,p,b,c,u,g,S,T,v,k,C,P,B])}function Ps({id:e,css:t,insertionPoint:r,enabled:o=!0,window:s=typeof window<"u"?window:null}){let i=Array.isArray(t)?t.join(`
18
- `):t;$r(()=>{if(!(!o||!i))return wr(i,{id:e,window:s,insertionPoint:r})},[e,i,s,r,o])}var Tt=K(F(),1);function ia(e){let t=(0,Tt.useRef)(e);return(0,Tt.useLayoutEffect)(()=>{t.current=e}),t}var bt=K(F(),1),$r=bt.default.useInsertionEffect??bt.useLayoutEffect;function en(e){if(e===null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function tn(e,t,r=".",o){if(!en(t))return tn(e,{},r,o);let s=Object.assign({},t);for(let i in e){if(i==="__proto__"||i==="constructor")continue;let l=e[i];l!=null&&(o&&o(s,i,l,r)||(Array.isArray(l)&&Array.isArray(s[i])?s[i]=[...l,...s[i]]:en(l)&&en(s[i])?s[i]=tn(l,s[i],(r?`${r}.`:"")+i.toString(),o):s[i]=l))}return s}function nn(e){return(...t)=>t.reduce((r,o)=>tn(r,o,"",e),{})}var Rt=nn(),ca=nn((e,t,r)=>{if(e[t]!==void 0&&typeof r=="function")return e[t]=r(e[t]),!0}),la=nn((e,t,r)=>{if(Array.isArray(e[t])&&typeof r=="function")return e[t]=r(e[t]),!0});var ne=K(F(),1);function Is(e={}){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:o,onLongPress:s,accessibilityDescription:i,threshold:l}=Rt(e,{threshold:500}),d=(0,ne.useRef)(null),f=(0,ne.useRef)(null),p=(0,ne.useRef)(null),b=(0,ne.useRef)(!1),c=(0,ne.useCallback)(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]);(0,ne.useEffect)(()=>c,[c]);let u=(0,ne.useCallback)(P=>({type:P,pointerType:f.current??"mouse",target:p.current}),[]),g=(0,ne.useCallback)(P=>{t||P.button!==0||P.pointerType!=="mouse"&&(f.current=P.pointerType,p.current=P.currentTarget,b.current=!1,r?.(u("longpressstart")),d.current=setTimeout(()=>{b.current=!0,P.currentTarget?.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),s?.(u("longpress")),d.current=null},l))},[t,l,r,s,u]),S=(0,ne.useCallback)(()=>{f.current!==null&&(c(),!b.current&&o&&o(u("longpressend")),f.current=null,p.current=null)},[c,o,u]),T=(0,ne.useCallback)(()=>{c(),f.current!==null&&o&&o(u("longpressend")),f.current=null,p.current=null},[c,o,u]),v=(0,ne.useCallback)(P=>{b.current&&P.preventDefault()},[]);return{longPressProps:t?{}:{onPointerDown:g,onPointerUp:S,onPointerCancel:T,onContextMenu:v,...!t&&!!s&&!!i&&{"aria-description":i}}}}var eo=K(Zr(),1),ie=K(F(),1);function Fs(e){let{ref:t,isOpen:r,isReady:o=!0}=e,[s,i]=(0,ie.useState)(r),l=s&&o;(0,ie.useLayoutEffect)(()=>{if(l&&t.current&&"getAnimations"in t.current)for(let u of t.current.getAnimations())u instanceof CSSTransition&&u.cancel()},[t,l]),Jr(t,l,(0,ie.useCallback)(()=>i(!1),[]));let[d,f]=(0,ie.useState)(r);r&&!d?(i(!0),f(!0)):!r&&d&&f(!1);let[p,b]=(0,ie.useState)(r?"open":"closed");switch(p){case"open":r||b("exiting");break;case"closed":case"exiting":r&&b("open");break}let c=p==="exiting";return Jr(t,c,(0,ie.useCallback)(()=>{b(u=>u==="exiting"?"closed":u)},[])),{isEntering:l,isExiting:c,isRendered:r||c}}function Jr(e,t,r){(0,ie.useLayoutEffect)(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){r();return}let o=e.current.getAnimations();if(o.length===0){r();return}let s=!1;return Promise.all(o.map(i=>i.finished)).then(()=>{s||(0,eo.flushSync)(()=>{r()})}).catch(()=>{}),()=>{s=!0}}},[e,t,r])}var $=K(F(),1);function ks(e){return at()?e.metaKey:e.ctrlKey}function to(e,t){return e.current?.querySelector(`[data-key="${t}"]`)??null}function Ns(e){let{selectionManager:t,keyboardDelegate:r,ref:o,autoFocus:s,shouldFocusWrap:i,disallowEmptySelection:l,disallowSelectAll:d,escapeBehavior:f,selectOnFocus:p,disallowTypeAhead:b,shouldUseVirtualFocus:c,allowsTabNavigation:u,scrollRef:g,direction:S,orientation:T,onNavigate:v,onFocusItem:k}=Rt(e,{autoFocus:!1,shouldFocusWrap:!1,disallowEmptySelection:!1,disallowSelectAll:!1,escapeBehavior:"clearSelection",selectOnFocus:!1,disallowTypeAhead:!1,shouldUseVirtualFocus:!1,allowsTabNavigation:!1,isVirtualized:!1,direction:"ltr",orientation:"vertical"}),C=g??o,P=(0,$.useRef)({top:0,left:0}),B=(0,$.useRef)(t.focusedKey),U=(0,$.useRef)(s),Y=(0,$.useRef)(""),j=(0,$.useRef)(null),G=(0,$.useCallback)((m,D,O)=>{m!=null&&(t.setFocusedKey(m,O),v?.(m),D?.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(m):p&&!ks(D)&&t.replaceSelection(m))},[t,p,v]),fe=(0,$.useCallback)(m=>{if(k){k(m);return}let D=to(o,m);D&&!c&&je(D)},[o,c,k]),A=(0,$.useCallback)(m=>{if(!b&&m.key.length===1&&!m.ctrlKey&&!m.metaKey&&!m.altKey){j.current&&clearTimeout(j.current),Y.current+=m.key;let O=r.getKeyForSearch?.(Y.current,t.focusedKey)??null;O!=null&&(m.preventDefault(),G(O,m)),j.current=setTimeout(()=>{Y.current=""},500);return}let D=S==="rtl";switch(m.key){case"ArrowDown":{if(r.getKeyBelow){let O=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):r.getFirstKey?.()??null;O==null&&i&&(O=r.getFirstKey?.()??null),O!=null&&(m.preventDefault(),G(O,m))}break}case"ArrowUp":{if(r.getKeyAbove){let O=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):r.getLastKey?.()??null;O==null&&i&&(O=r.getLastKey?.()??null),O!=null&&(m.preventDefault(),G(O,m))}break}case"ArrowLeft":{if(r.getKeyLeftOf){let O=t.focusedKey!=null?r.getKeyLeftOf(t.focusedKey):null;O==null&&i&&(O=D?r.getFirstKey?.()??null:r.getLastKey?.()??null),O!=null&&(m.preventDefault(),G(O,m,D?"first":"last"))}break}case"ArrowRight":{if(r.getKeyRightOf){let O=t.focusedKey!=null?r.getKeyRightOf(t.focusedKey):null;O==null&&i&&(O=D?r.getLastKey?.()??null:r.getFirstKey?.()??null),O!=null&&(m.preventDefault(),G(O,m,D?"last":"first"))}break}case"Home":{if(r.getFirstKey){m.preventDefault();let O=r.getFirstKey();t.setFocusedKey(O),O!=null&&(ct(m)&&m.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(O):p&&t.replaceSelection(O))}break}case"End":{if(r.getLastKey){m.preventDefault();let O=r.getLastKey();t.setFocusedKey(O),O!=null&&(ct(m)&&m.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(O):p&&t.replaceSelection(O))}break}case"PageDown":{if(r.getKeyPageBelow&&t.focusedKey!=null){let O=r.getKeyPageBelow(t.focusedKey);O!=null&&(m.preventDefault(),G(O,m))}break}case"PageUp":{if(r.getKeyPageAbove&&t.focusedKey!=null){let O=r.getKeyPageAbove(t.focusedKey);O!=null&&(m.preventDefault(),G(O,m))}break}case"a":{ct(m)&&t.selectionMode==="multiple"&&!d&&(m.preventDefault(),t.selectAll());break}case"Escape":{f==="clearSelection"&&!l&&t.selectedKeys.size>0&&(m.stopPropagation(),m.preventDefault(),t.clearSelection());break}case"Tab":{!u&&o.current&&m.shiftKey&&o.current.focus();break}}},[r,t,o,S,i,p,b,d,l,f,u,G]),Re=(0,$.useCallback)(m=>{if(!t.isFocused){if(t.setFocused(!0),t.focusedKey==null){let D=m.relatedTarget,O=D!=null&&!!(m.currentTarget.compareDocumentPosition(D)&Node.DOCUMENT_POSITION_FOLLOWING),ce=null;O?ce=t.lastSelectedKey??r.getLastKey?.()??null:ce=t.firstSelectedKey??r.getFirstKey?.()??null,ce!=null&&(t.setFocusedKey(ce),p&&!t.isSelected(ce)&&t.replaceSelection(ce))}else C.current&&(C.current.scrollTop=P.current.top,C.current.scrollLeft=P.current.left);t.focusedKey!=null&&fe(t.focusedKey)}},[t,r,p,C,fe]),ue=(0,$.useCallback)(m=>{let D=m.relatedTarget;m.currentTarget.contains(D)||t.setFocused(!1)},[t]),ae=(0,$.useCallback)(m=>{C.current===m.target&&m.preventDefault()},[C]);(0,$.useEffect)(()=>{let m=C.current;if(!m)return()=>{};let D=()=>{P.current={top:m.scrollTop,left:m.scrollLeft}};return m.addEventListener("scroll",D,{passive:!0}),()=>{m.removeEventListener("scroll",D)}},[C]),(0,$.useEffect)(()=>{if(!U.current)return;let m=null;if(U.current==="first"?m=r.getFirstKey?.()??null:U.current==="last"&&(m=r.getLastKey?.()??null),t.selectedKeys.size>0){for(let D of t.selectedKeys)if(t.canSelectItem?.(D)!==!1){m=D;break}}t.setFocused(!0),t.setFocusedKey(m),m==null&&!c&&o.current&&o.current.focus(),U.current=!1},[r,t,o,c]),(0,$.useEffect)(()=>{if(!t.isFocused||t.focusedKey==null||t.focusedKey===B.current)return;let m=to(o,t.focusedKey);m&&C.current&&Or(C.current,m),B.current=t.focusedKey},[t.isFocused,t.focusedKey,o,C]),(0,$.useEffect)(()=>()=>{j.current&&clearTimeout(j.current)},[]);let E=c?void 0:t.focusedKey==null?0:-1;return{collectionProps:Me({onKeyDown:A,onFocus:Re,onBlur:ue,onMouseDown:ae,tabIndex:E,"data-orientation":T})}}var z=K(F(),1),Ot={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ro={...Ot,customError:!0,valid:!1},Fe={isInvalid:!1,validationErrors:[],validationDetails:Ot},oo=(0,z.createContext)({}),sn="__formValidationState"+Date.now();function Ks(e){if(e[sn]){let{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:s,commitValidation:i}=e[sn];return{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:s,commitValidation:i}}return Hs(e)}function Hs(e){let{isInvalid:t,validationState:r,name:o,value:s,builtinValidation:i,validate:l,validationBehavior:d="aria"}=e;r&&(t||=r==="invalid");let f=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:ro}:null,p=(0,z.useMemo)(()=>{if(!l||s==null)return null;let A=Vs(l,s);return no(A)},[l,s]);i?.validationDetails.valid&&(i=void 0);let b=(0,z.useContext)(oo),c=(0,z.useMemo)(()=>o?Array.isArray(o)?o.flatMap(A=>un(b[A])):un(b[o]):[],[b,o]),[u,g]=(0,z.useState)(b),[S,T]=(0,z.useState)(!1);b!==u&&(g(b),T(!1));let v=(0,z.useMemo)(()=>no(S?[]:c),[S,c]),k=(0,z.useRef)(Fe),[C,P]=(0,z.useState)(Fe),B=(0,z.useRef)(Fe),U=()=>{if(!Y)return;j(!1);let A=p||i||k.current;on(A,B.current)||(B.current=A,P(A))},[Y,j]=(0,z.useState)(!1);return(0,z.useEffect)(U),{realtimeValidation:f||v||p||i||Fe,displayValidation:d==="native"?f||v||C:f||v||p||i||C,updateValidation(A){d==="aria"&&!on(C,A)?P(A):k.current=A},resetValidation(){let A=Fe;on(A,B.current)||(B.current=A,P(A)),d==="native"&&j(!1),T(!0)},commitValidation(){d==="native"&&j(!0),T(!0)}}}function un(e){return e?Array.isArray(e)?e:[e]:[]}function Vs(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return un(r)}return[]}function no(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:ro}:null}function on(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,o)=>r===t.validationErrors[o])&&Object.entries(e.validationDetails).every(([r,o])=>t.validationDetails[r]===o)}function js(...e){let t=new Set,r=!1,o={...Ot};for(let s of e){for(let i of s.validationErrors)t.add(i);r||=s.isInvalid;for(let i in o)o[i]||=s.validationDetails[i]}return o.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:o}}})();
17
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var d=x(),f={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},p=Symbol.for("react.portal"),b=d.__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"),ee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,ee.createPortal=function(c,i){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error("Target container is not a DOM element.");return r(c,i,null,E)},ee.flushSync=function(c){var i=b.T,E=f.p;try{if(b.T=null,f.p=2,c)return c()}finally{b.T=i,f.p=E,f.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.")}},ee.preconnect=function(c,i){typeof c=="string"&&c?i!=null&&typeof i!="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.",u(i)):i!=null&&typeof i.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.",s(i.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(c)),typeof c=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,f.d.C(c,i))},ee.prefetchDNS=function(c){if(typeof c!="string"||!c)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(c));else if(1<arguments.length){var i=arguments[1];typeof i=="object"&&i.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`.",u(i)):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`.",u(i))}typeof c=="string"&&f.d.D(c)},ee.preinit=function(c,i){if(typeof c=="string"&&c?i==null||typeof i!="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.",u(i)):i.as!=="style"&&i.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".',u(i.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(c)),typeof c=="string"&&i&&typeof i.as=="string"){var E=i.as,O=o(E,i.crossOrigin),T=typeof i.integrity=="string"?i.integrity:void 0,v=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;E==="style"?f.d.S(c,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:O,integrity:T,fetchPriority:v}):E==="script"&&f.d.X(c,{crossOrigin:O,integrity:T,fetchPriority:v,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},ee.preinitModule=function(c,i){var E="";if(typeof c=="string"&&c||(E+=" The `href` argument encountered was "+s(c)+"."),i!==void 0&&typeof i!="object"?E+=" The `options` argument encountered was "+s(i)+".":i&&"as"in i&&i.as!=="script"&&(E+=" The `as` option encountered was "+u(i.as)+"."),E)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",E);else switch(E=i&&typeof i.as=="string"?i.as:"script",E){case"script":break;default:E=u(E),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)',E,c)}typeof c=="string"&&(typeof i=="object"&&i!==null?(i.as==null||i.as==="script")&&(E=o(i.as,i.crossOrigin),f.d.M(c,{crossOrigin:E,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})):i==null&&f.d.M(c))},ee.preload=function(c,i){var E="";if(typeof c=="string"&&c||(E+=" The `href` argument encountered was "+s(c)+"."),i==null||typeof i!="object"?E+=" The `options` argument encountered was "+s(i)+".":typeof i.as=="string"&&i.as||(E+=" The `as` option encountered was "+s(i.as)+"."),E&&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',E),typeof c=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){E=i.as;var O=o(E,i.crossOrigin);f.d.L(c,E,{crossOrigin:O,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},ee.preloadModule=function(c,i){var E="";typeof c=="string"&&c||(E+=" The `href` argument encountered was "+s(c)+"."),i!==void 0&&typeof i!="object"?E+=" The `options` argument encountered was "+s(i)+".":i&&"as"in i&&typeof i.as!="string"&&(E+=" The `as` option encountered was "+s(i.as)+"."),E&&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',E),typeof c=="string"&&(i?(E=o(i.as,i.crossOrigin),f.d.m(c,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:E,integrity:typeof i.integrity=="string"?i.integrity:void 0})):f.d.m(c))},ee.requestFormReset=function(c){f.d.r(c)},ee.unstable_batchedUpdates=function(c,i){return c(i)},ee.useFormState=function(c,i,E){return l().useFormState(c,i,E)},ee.useFormStatus=function(){return l().useHostTransitionStatus()},ee.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Yr=we((fa,Zt)=>{"use strict";function Gr(){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(Gr)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(Gr(),Zt.exports=jr()):Zt.exports=Wr()});var rt=K(x(),1);function Pe(...e){if(e.length===0)return{};if(e.length===1)return typeof e[0]=="object"&&e[0]!==null?e[0]:{};let t={},r={};for(let o of e)if(!(typeof o!="object"||o===null)){for(let s in o)if(Object.hasOwn(o,s)){if(s==="children")continue;let u=o[s];s.startsWith("on")&&typeof u=="function"?(r[s]??=[],r[s].push(u)):t[s]=u}}for(let o in r)Object.hasOwn(r,o)&&r[o].length>0&&(t[o]=(...s)=>{for(let u of r[o])u?.(...s)});for(let o=e.length-1;o>=0;o--){let s=e[o];if(typeof s=="object"&&s!==null&&"children"in s){t.children=s.children;break}}return t}function Co({props:e,ref:t,context:r}){let o=Ut({context:r,slot:e.slot})||{},{ref:s=null,...u}=o,l=(0,rt.useRef)(null),d=(0,rt.useCallback)(p=>{l.current=p,typeof t=="function"?t(p):t&&(t.current=p),typeof s=="function"?s(p):s&&typeof s=="object"&&(s.current=p)},[t,s]),f=Pe(u,e);return"style"in u&&u.style&&"style"in e&&e.style&&(typeof u.style=="function"||typeof e.style=="function"?f.style=p=>{let b=typeof u.style=="function"?u.style(p):u.style,c={...p.defaultStyle,...b},i=typeof e.style=="function"?e.style({...p,defaultStyle:c}):e.style;return{...c,...i}}:f.style={...u.style,...e.style}),[f,d]}var se=K(x(),1);function Lo(e={}){let{partialVisibility:t=!1,threshold:r=0,rootMargin:o="0px",root:s=null,active:u=!0,once:l=!1,onChange:d}=e,[f,p]=(0,se.useState)(null),[b,c]=(0,se.useState)(!1),[i,E]=(0,se.useState)(null),O=(0,se.useRef)(!1),T=(0,se.useRef)(null),v=Re(L=>{let P=L[0],j=P.isIntersecting,U={isIntersecting:P.isIntersecting,intersectionRatio:P.intersectionRatio,intersectionRect:P.intersectionRect,boundingClientRect:P.boundingClientRect,rootBounds:P.rootBounds,time:P.time};E(U),c(Y=>l&&O.current?!0:j&&l?(O.current=!0,Y!==!0&&d&&d(!0),!0):Y!==j?(d&&d(j),j):Y)}),k=(0,se.useCallback)(L=>{p(L)},[]);return(0,se.useEffect)(()=>{if(!u||!f)return;let L;return t===!0?L=[0,.1,.25,.5,.75,1]:typeof t=="string"?L=.01:L=r,T.current=new IntersectionObserver(v,{root:s,rootMargin:o,threshold:L}),T.current.observe(f),()=>{T.current&&T.current.disconnect()}},[u,f,s,o,r,t]),[k,b,i]}var ft=K(x(),1);var Po=Object.defineProperty,ot=(e,t)=>{for(var r in t)Po(e,r,{get:t[r],enumerable:!0})},De={};ot(De,{ARIA_ATTRIBUTES:()=>xn,HTML_TAGS:()=>Nn,PRIMITIVE_TAGS:()=>kn,default:()=>Do});var xn=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-dropeffect","aria-errormessage","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],kn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Nn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],Do={ARIA_ATTRIBUTES:xn,PRIMITIVE_TAGS:kn,HTML_TAGS:Nn},Mo={};ot(Mo,{NUMERIC_DIGITS:()=>Kn,default:()=>Fo});var Kn=["1","2","3","4","5","6","7","8","9","0"],Fo={NUMERIC_DIGITS:Kn},Io={};ot(Io,{AMPERSAND:()=>qn,ASTERISK:()=>Xn,BACKSLASH:()=>ar,BOM:()=>Bn,CARRIAGE_RETURN:()=>jn,COLON:()=>nr,COMMA:()=>Jn,COMMERCIAL_AT:()=>ur,DOT:()=>tr,DOUBLE_QUOTE:()=>Yn,EXCLAMATION:()=>Gn,GRAVE_ACCENT:()=>lr,GREATER_THAN:()=>or,LEFT_CURLY_BRACKET:()=>fr,LEFT_SQUARE_BRACKET:()=>ir,LINE_FEED:()=>Vn,MINUS:()=>er,PERCENT:()=>zn,PLUS:()=>Zn,QUESTION:()=>sr,RIGHT_CURLY_BRACKET:()=>pr,RIGHT_SQUARE_BRACKET:()=>cr,SHARP:()=>$n,SINGLE_QUOTE:()=>Qn,SMALLER_THAN:()=>rr,SPACE:()=>Wn,TAB:()=>Hn,VERTICAL_LINE:()=>dr,default:()=>Uo});var Bn=65279,Hn=9,Vn=10,jn=13,Wn=32,Gn=33,Yn=34,$n=35,zn=37,qn=38,Qn=39,Xn=42,Zn=43,Jn=44,er=45,tr=46,nr=58,rr=60,or=62,sr=63,ur=64,ir=91,ar=92,cr=93,lr=96,fr=123,dr=124,pr=125,Uo={BOM:Bn,TAB:Hn,LINE_FEED:Vn,CARRIAGE_RETURN:jn,SPACE:Wn,EXCLAMATION:Gn,DOUBLE_QUOTE:Yn,SHARP:$n,PERCENT:zn,AMPERSAND:qn,SINGLE_QUOTE:Qn,ASTERISK:Xn,PLUS:Zn,COMMA:Jn,MINUS:er,DOT:tr,COLON:nr,SMALLER_THAN:rr,GREATER_THAN:or,QUESTION:sr,COMMERCIAL_AT:ur,LEFT_SQUARE_BRACKET:ir,BACKSLASH:ar,RIGHT_SQUARE_BRACKET:cr,GRAVE_ACCENT:lr,LEFT_CURLY_BRACKET:fr,VERTICAL_LINE:dr,RIGHT_CURLY_BRACKET:pr},xo={};ot(xo,{CAPITALIZED:()=>yr,LOWERCASE:()=>mr,VOWELS:()=>Er,default:()=>ko});var yr=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],mr=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],Er=["A","E","I","O","U","a","e","i","o","u"],ko={CAPITALIZED:yr,LOWERCASE:mr,VOWELS:Er};function No(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var st=()=>No(/^Mac/i);function gr(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var Ko=()=>gr(/^iPhone/i),Bo=()=>gr(/^iPad/i)||st()&&navigator.maxTouchPoints>1,xt=()=>Ko()||Bo();function ut(e){return st()?e.metaKey??!1:e.ctrlKey??!1}function q(e){return e?.ownerDocument??document}function Oe(e){return e&&"window"in e&&e.window===e?e:q(e).defaultView||window}var it=null;function hr(e,t,r){let{block:o="nearest",inline:s="nearest"}=r??{},u=e.getBoundingClientRect(),l=t.getBoundingClientRect(),d=l.top<u.top,f=l.bottom>u.bottom,p=l.left<u.left,b=l.right>u.right;if(d||f){let c=e.scrollTop;if(o==="start"||o==="nearest"&&d)c=e.scrollTop+(l.top-u.top);else if(o==="end"||o==="nearest"&&f)c=e.scrollTop+(l.bottom-u.bottom);else if(o==="center"){let i=u.top+u.height/2,E=l.top+l.height/2;c=e.scrollTop+(E-i)}e.scrollTop=c}if(p||b){let c=e.scrollLeft;if(s==="start"||s==="nearest"&&p)c=e.scrollLeft+(l.left-u.left);else if(s==="end"||s==="nearest"&&b)c=e.scrollLeft+(l.right-u.right);else if(s==="center"){let i=u.left+u.width/2,E=l.left+l.width/2;c=e.scrollLeft+(E-i)}e.scrollLeft=c}}function Ho(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}function at(e,t,r=!0){if(!e||!t)return!1;if(!r)return e.contains(t);let o=t;for(;o;){if(o===e)return!0;o=o instanceof Element&&o.tagName==="SLOT"&&o.assignedSlot?o.assignedSlot.parentNode:Ho(o)?o.host:o.parentNode}return!1}var pe=(e=document,t=!0)=>{if(!t)return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&r.shadowRoot?.activeElement;)r=r.shadowRoot.activeElement;return r};function ct(e,t=!0){return t&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Ke(e){if((function(){if(it==null){it=!1;try{document.createElement("div").focus({get preventScroll(){return it=!0,!0}})}catch{}}return it})())e.focus({preventScroll:!0});else{let t=(function(r){let o=r.parentNode,s=Array.from({length:0}),u=document.scrollingElement||document.documentElement;for(;o instanceof HTMLElement&&o!==u;)(o.offsetHeight<o.scrollHeight||o.offsetWidth<o.scrollWidth)&&s.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),o=o.parentNode;return u instanceof HTMLElement&&s.push({element:u,scrollTop:u.scrollTop,scrollLeft:u.scrollLeft}),s})(e);e.focus();for(let{element:r,scrollTop:o,scrollLeft:s}of t)r.scrollTop=o,r.scrollLeft=s}}var Tr="necto-style",vr=new WeakMap;function Vo(e,t={}){let{id:r=Tr,insertionPoint:o}=t,s=o?q(o):document,u=s.createElement("style");return u.setAttribute("type","text/css"),u.setAttribute("necto-style-id",r),u.textContent=e,o?s.head.insertBefore(u,o):s.head.appendChild(u),u}function br(e,t={}){let{id:r=Tr,window:o=typeof window<"u"?window:null,insertionPoint:s}=t;if(!o||!e)return()=>{};let u=(function(f){let p=vr.get(f);return p||(p=new Map,vr.set(f,p)),p})(o),l=`${r}:${e}`,d=u.get(l);return d?d.element&&(d.element.textContent=e,d.count++):(d={element:Vo(e,{id:r,insertionPoint:s}),count:1},u.set(l,d)),()=>{let f=u.get(l);f?.element&&(f.count--,f.count<1&&(f.element.remove(),f.element=null,u.delete(l)))}}var de=new Map,kt=new Set;function jo(e){if(!("propertyName"in e)||!e.target)return;let t=de.get(e.target);t||(t=new Set,de.set(e.target,t),e.target.addEventListener("transitioncancel",Kt,{once:!0})),t.add(e.propertyName)}function Kt(e){if(!("propertyName"in e)||!e.target)return;let t=de.get(e.target);if(t&&(t.delete(e.propertyName),t.size===0&&(e.target.removeEventListener("transitioncancel",Kt),de.delete(e.target)),de.size===0)){for(let r of kt)r();kt.clear()}}if(typeof window<"u"&&typeof document<"u"){let e=()=>{let t=document.body;t&&(t.addEventListener("transitionrun",jo),t.addEventListener("transitionend",Kt))};document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e,{once:!0})}function Bt(e){requestAnimationFrame(()=>{for(let[t]of de)"isConnected"in t&&!t.isConnected&&de.delete(t);de.size===0?e():kt.add(e)})}var Xs=De.HTML_TAGS.reduce((e,t)=>{var r;return e[r=t,r.charAt(0).toUpperCase()+r.slice(1)]=t,e},{}),Nt="",Me="default",Ne=new WeakMap;function lt(e){if(xt()){if(Me==="default"){let t=q(e);t?.documentElement?.style.webkitUserSelect!==void 0&&(Nt=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none",Me="disabled")}}else if(e instanceof HTMLElement||e instanceof SVGElement){let t=e.style,r="userSelect"in t?"userSelect":"webkitUserSelect";Ne.has(e)||(Ne.set(e,t[r]??""),t[r]="none")}}function ye(e){if(xt()){if(Me!=="disabled")return;Me="restoring",setTimeout(()=>{Bt(()=>{if(Me==="restoring"){let t=q(e);t?.documentElement?.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Nt||""),Nt="",Me="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&Ne.has(e)){let t=Ne.get(e)??"",r=e.style,o="userSelect"in r?"userSelect":"webkitUserSelect";r[o]==="none"&&(r[o]=t),e.getAttribute("style")?.trim()===""&&e.removeAttribute("style"),Ne.delete(e)}}var W=De.ARIA_ATTRIBUTES.reduce((e,t)=>(e[(r=>{let o=r.replace("aria-","");return o.charAt(0).toUpperCase()+o.slice(1)})(t)]=t,e),{}),Wo=De.ARIA_ATTRIBUTES,eu=new Set(Wo);function Be(e={}){let{isDisabled:t,onFocus:r,onBlur:o,onFocusChange:s}=e,u=(0,ft.useCallback)((p,b)=>{p?(r?.(b),s?.(!0)):(o?.(b),s?.(!1))},[r,o,s]),l=(0,ft.useCallback)(p=>{p.target===p.currentTarget&&u(!1,p)},[u]),d=He({onBlur:l}),f=(0,ft.useCallback)(p=>{let b=q(p.target),c=b?pe(b):pe();p.target===p.currentTarget&&c===ct(p.nativeEvent)&&(u(!0,p),d(p))},[u,d]);return{focusProps:{...t?{}:{onFocus:f,onBlur:l}}}}var dt=K(x(),1);function Go(e,t){let{autoFocus:r,isDisabled:o,excludeFromTabOrder:s}=e,{focusProps:u}=Be(e),{keyboardProps:l}=Ht(e),d=(0,dt.useRef)(r),f=q(t.current),p=f?pe(f):null;(0,dt.useEffect)(()=>{if(d.current&&t.current)if(Ve()==="virtual"){let c=p;Bt(()=>{f&&pe(f)===c&&t.current?.isConnected&&Ke(t.current)})}else Ke(t.current);d.current=!1},[t]);let b=s?-1:0;return o&&(b=void 0),{focusableProps:Pe(u??{},l,{tabIndex:b})}}var me=K(x(),1);var Yo=null;function $o(e={}){let{within:t=!1,isTextInput:r=!1,autoFocus:o=!1}=e,s=(0,me.useRef)({isFocused:o,isFocusVisible:o||Yo!=="pointer"}),[u,l]=(0,me.useState)(o),[d,f]=(0,me.useState)(()=>s.current.isFocused&&s.current.isFocusVisible),p=(0,me.useCallback)(()=>{f(s.current.isFocused&&s.current.isFocusVisible)},[]),b=(0,me.useCallback)(E=>{s.current.isFocused=E,l(E),p()},[p]);je({fn:E=>{s.current.isFocusVisible=E,p()},deps:[],opts:{isTextInput:r}});let{focusProps:c={}}=Be({isDisabled:t,onFocusChange:b})||{},{focusWithinProps:i={}}=Vt({isDisabled:!t,onFocusWithinChange:b})||{};return{isFocused:u,isFocusVisible:d,focusProps:t?i:c}}var Rr=K(x(),1);function zo(e={}){let{isTextInput:t,autoFocus:r}=e,[o,s]=(0,Rr.useState)(r||Ve()!=="pointer");return je({fn:u=>s(u),deps:[t],opts:{isTextInput:t}}),{isFocusVisible:o}}var Fe=new Map,pt=new Set,Or=!1,jt=null,Sr=!1,Q={get hasEventBeforeFocus(){return Or},set hasEventBeforeFocus(e){Or=e},get hasBlurredWindowRecently(){return Sr},set hasBlurredWindowRecently(e){Sr=e},get currentModality(){return jt},set currentModality(e){jt=e}};function Ve(){return jt}var ls={},yt=Object.create(null),We=e=>globalThis.process?.env||ls.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?yt:globalThis),Ee=new Proxy(yt,{get(e,t){return We()[t]??yt[t]},has(e,t){let r=We();return t in r||t in yt},set(e,t,r){let o=We(!0);return o[t]=r,!0},deleteProperty(e,t){if(!t)return!1;let r=We(!0);return delete r[t],!0},ownKeys(){let e=We(!0);return Object.keys(e)}}),Ar=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",qo=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["CODESANDBOX","CODESANDBOX_HOST",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]];function Qo(){if(globalThis.process?.env)for(let e of qo){let t=e[1]||e[0];if(globalThis.process?.env[t])return{name:e[0].toLowerCase(),...e[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}var wr=Qo(),Su=wr.name;function Se(e){return e?e!=="false":!1}var Wt=globalThis.process?.platform||"",Cr=Se(Ee.CI)||wr.ci!==!1,Lr=Se(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);var _u=Se(Ee.DEBUG),Ge=Ar==="test"||Se(Ee.TEST),Pr=Ar==="production";var Au=Se(Ee.MINIMAL)||Cr||Ge||!Lr,Xo=/^win/i.test(Wt),wu=/^linux/i.test(Wt),Dr=/^darwin/i.test(Wt),Cu=!Se(Ee.NO_COLOR)&&(Se(Ee.FORCE_COLOR)||(Lr||Xo)&&Ee.TERM!=="dumb"||Cr),Zo=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null,Lu=Number(Zo?.split(".")[0])||null,Jo=globalThis.process||Object.create(null),_r={versions:{}},Pu=new Proxy(Jo,{get(e,t){if(t==="env")return Ee;if(t in e)return e[t];if(t in _r)return _r[t]}}),es=globalThis.process?.release?.name==="node",ts=!!globalThis.Bun||!!globalThis.process?.versions?.bun,ns=!!globalThis.Deno,rs=!!globalThis.fastly,os=!!globalThis.Netlify,ss=!!globalThis.EdgeRuntime,us=globalThis.navigator?.userAgent==="Cloudflare-Workers",is=[[os,"netlify"],[ss,"edge-light"],[us,"workerd"],[rs,"fastly"],[ns,"deno"],[ts,"bun"],[es,"node"]];function as(){let e=is.find(t=>t[0]);if(e)return{name:e[1]}}var cs=as(),Du=cs?.name||"";var Fr=K(x(),1);function Gt(e){if(!e)return;let t=!0;return r=>{let o={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){t&&Pr?console.error("stopPropagation is now the default behavior for events in Necto. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(o),t&&r.stopPropagation()}}function mt(e){let t=e;return Object.assign(t,{nativeEvent:e,isDefaultPrevented:()=>t.defaultPrevented,isPropagationStopped:()=>t.cancelBubble,persist:()=>{}}),t}var fs=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),ds={Tab:!0,Escape:!0};function Mr(e,t,r){if(!r||!("target"in r)||!r.target)return!1;let o=q(r.target),s=Oe(r.target);if(!o||!s)return!1;let u=typeof window<"u"?s.HTMLInputElement:HTMLInputElement,l=typeof window<"u"?s.HTMLTextAreaElement:HTMLTextAreaElement,d=typeof window<"u"?s.HTMLElement:HTMLElement,f=typeof window<"u"?s.KeyboardEvent:KeyboardEvent,p=o.activeElement;return e=e||p instanceof u&&!fs.has(p.type)||p instanceof l||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&r instanceof f&&!ds[r.key])}function $t(e,t){pt.forEach(r=>r(e,t))}function ps(e){return!(e.metaKey||Dr&&e.altKey||e.ctrlKey||["Control","Shift","Meta"].includes(e.key))}function Ir(e){ps(e)&&(Q.hasEventBeforeFocus=!0,Q.currentModality="keyboard",$t("keyboard",e))}function Yt(e){["mousedown","pointerdown"].includes(e.type)&&(Q.hasEventBeforeFocus=!0,Q.currentModality="pointer",$t("pointer",e))}function Ur(e){[window,document].includes(e.target)||!e.isTrusted||!Q.hasEventBeforeFocus&&!Q.hasBlurredWindowRecently||(!Q.hasEventBeforeFocus&&!Q.hasBlurredWindowRecently&&(Q.currentModality="virtual",$t("virtual",e)),Q.hasEventBeforeFocus=!1,Q.hasBlurredWindowRecently=!1)}function xr(){Q.hasEventBeforeFocus=!1,Q.hasBlurredWindowRecently=!0}function ys(e){let t=Oe(e),r=q(e);if(typeof window>"u"||typeof document>"u"||!t||!r||Fe.has(t))return;let o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(...s){Q.hasEventBeforeFocus=!0,o.apply(this,s)},r.addEventListener("keydown",Ir,!0),r.addEventListener("click",Yt,!0),t.addEventListener("focus",Ur,!0),t.addEventListener("blur",xr,!1),typeof PointerEvent<"u"&&r.addEventListener("pointerdown",Yt,!0),Fe.set(t,{focus:o})}function ms(e){let t=Oe(e),r=q(e);if(!t||!r||!Fe.has(t))return;let{focus:o}=Fe.get(t);t.HTMLElement.prototype.focus=o,r.removeEventListener("keydown",Ir,!0),r.removeEventListener("click",Yt,!0),t.removeEventListener("focus",Ur,!0),t.removeEventListener("blur",xr,!1),Fe.delete(t)}function je(e){let{fn:t,deps:r,opts:o}=e;typeof window>"u"||typeof document>"u"||(ys(),(0,Fr.useEffect)(()=>{let s=(u,l)=>{Mr(!!o?.isTextInput,u,l)&&t(Q.currentModality!=="pointer")};return pt.add(s),()=>{pt.delete(s),ms()}},r))}var Ye=K(x(),1);function Vt(e){let{isDisabled:t,onFocusWithin:r,onBlurWithin:o,onFocusWithinChange:s}=e,u=(0,Ye.useRef)({isFocusWithin:!1}),{addGlobalListener:l,removeAllGlobalListeners:d}=$e(),f=(0,Ye.useCallback)(c=>{c.currentTarget.contains(c.target)&&u.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(u.current.isFocusWithin=!1,d(),o&&o(c),s&&s(!1))},[o,s,d]),p=He({onBlur:f}),b=(0,Ye.useCallback)(c=>{if(!c.currentTarget.contains(c.target))return;let i=q(c.target);if(!i)return;let E=pe(i);if(!u.current.isFocusWithin&&E===ct(c.nativeEvent)){r&&r(c),s&&s(!0),u.current.isFocusWithin=!0,p(c);let O=c.currentTarget;l(i,"focus",T=>{if(u.current.isFocusWithin&&!at(O,T.target)&&i.defaultView&&typeof i.defaultView.FocusEvent=="function"){let v=new i.defaultView.FocusEvent("blur",{relatedTarget:T.target});Object.defineProperty(v,"target",{value:O}),Object.defineProperty(v,"currentTarget",{value:O});let k=mt(v);f(k)}},{capture:!0})}},[r,s,p,l,f]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:b,onBlur:f}}}var ge=K(x(),1);function $e(){let e=(0,ge.useRef)(new Map),t=(0,ge.useCallback)((s,u,l,d)=>{let f=typeof d=="object"&&d?.once?(...p)=>{e.current.delete(l),l(...p)}:l;e.current.set(l,{type:u,eventTarget:s,options:d}),s.addEventListener(u,f,d)},[]),r=(0,ge.useCallback)((s,u,l,d)=>{let f=e.current.get(l),p=f?.options?.once?f.fn:l;s.removeEventListener(u,p,d),e.current.delete(l)},[]),o=(0,ge.useCallback)(()=>{e.current.forEach((s,u)=>{s.eventTarget.removeEventListener(s.type,u,s.options)}),e.current.clear()},[]);return(0,ge.useEffect)(()=>()=>o(),[o]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:o}}var te=K(x(),1);function Es(e={}){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:s}=e,[u,l]=(0,te.useState)(!1),d=(0,te.useRef)({hoverCount:0,ignoreEmulated:!1}),f=(0,te.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current,{addGlobalListener:p,removeAllGlobalListeners:b}=$e(),c=(0,te.useCallback)(()=>{d.current.ignoreEmulated=!0,setTimeout(()=>{d.current.ignoreEmulated=!1},50)},[]);(0,te.useEffect)(()=>{let T=k=>{k.pointerType==="touch"&&c()};if(typeof document>"u")return;let v=d.current;return v.hoverCount++,typeof PointerEvent<"u"?document.addEventListener("pointerup",T):Ge&&document.addEventListener("touchend",c),()=>{v.hoverCount--,v.hoverCount===0&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",T):Ge&&document.removeEventListener("touchend",c))}},[c]);let i=(0,te.useCallback)((T,v)=>{if(s||v==="touch"||f.isHovered||!(T.currentTarget&&T.currentTarget.contains(T.target)))return;f.isHovered=!0,f.pointerType=v,f.target=T.currentTarget;let k=q(T.target instanceof Element?T.target:null);k&&(p(k,"pointerover",L=>{f.isHovered&&f.target&&!at(f.target,L.target)&&E(L,L.pointerType)},{capture:!0}),t?.({type:"hoverstart",target:T.currentTarget,pointerType:v}),r?.(!0),l(!0))},[s,t,r,p,f]),E=(0,te.useCallback)((T,v)=>{v==="touch"||!f.isHovered||!f.target||(f.isHovered=!1,f.pointerType="",f.target=null,b(),o?.({type:"hoverend",target:T.currentTarget,pointerType:v}),r?.(!1),l(!1))},[o,r,b,f.target,f]),O=(0,te.useMemo)(()=>{let T={};return typeof PointerEvent<"u"?(T.onPointerEnter=v=>{d.current.ignoreEmulated&&v.pointerType==="mouse"||i(v,v.pointerType)},T.onPointerLeave=v=>{!s&&v.currentTarget instanceof Element&&v.currentTarget.contains(v.target)&&E(v,v.pointerType)}):Ge&&(T.onTouchStart=()=>{f.ignoreEmulatedMouseEvents=!0},T.onMouseEnter=v=>{!f.ignoreEmulatedMouseEvents&&!d.current.ignoreEmulated&&i(v.nativeEvent,"mouse"),f.ignoreEmulatedMouseEvents=!1},T.onMouseLeave=v=>{!s&&v.currentTarget.contains(v.target)&&E(v.nativeEvent,"mouse")}),T},[s,i,E,f]);return(0,te.useEffect)(()=>{s&&f.isHovered&&E({currentTarget:f.target},f.pointerType)},[s,E,f.isHovered,f.pointerType,f.target]),{hoverProps:O,isHovered:u}}var kr={prefix:"",current:0},ze=new Map,qe=typeof FinalizationRegistry<"u"?new FinalizationRegistry(e=>{ze.delete(e)}):null;var oe=K(x(),1);function gs(e={}){let{prefix:t="necto",defaultId:r}=e,[o,s]=(0,oe.useState)(()=>r),u=(0,oe.useRef)(null),l=(0,oe.useRef)({}),d=(()=>{if(r)return r;let f=typeof oe.default.useId=="function"?(0,oe.useId)():String(++kr.current);return`${t}-${f}`})();return(0,oe.useEffect)(()=>{if(typeof window<"u"&&window.document?.createElement){let f=ze.get(d)||[],p={current:u.current};f.some(b=>b===p)||ze.set(d,[...f,p])}return qe&&qe.register(l.current,d),()=>{qe&&qe.unregister(l.current),ze.delete(d)}},[d]),(0,oe.useEffect)(()=>{let f=u.current;f&&(s(f),u.current=null)},[]),d}function Ht(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:e.onKeyDown?Gt(t=>e.onKeyDown?.(t.nativeEvent)):void 0,onKeyUp:e.onKeyUp?Gt(t=>e.onKeyUp?.(t.nativeEvent)):void 0}}}var ve=K(x(),1);function zt(e={}){let{type:t="function"}=e,r=(0,ve.useRef)(!1),[o,s]=(0,ve.useState)(!1),u=(0,ve.useCallback)(()=>r.current,[]);return(0,ve.useEffect)(()=>(r.current=!0,s(!0),()=>{r.current=!1,s(!1)}),[]),t==="ref"?r:t==="boolean"?o:u}var H=K(x(),1);function X(e,t,r){return{type:e,pointerType:t,target:r.currentTarget??r.target,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey}}function vs(e={}){let{isDisabled:t,preventFocusOnPress:r,allowTextSelectionOnPress:o,ref:s,onPress:u,onPressStart:l,onPressEnd:d,onPressChange:f,onPressUp:p,onClick:b}=e,[c,i]=(0,H.useState)(!1),E=(0,H.useRef)(!1),O=(0,H.useRef)(null),T=(0,H.useRef)(!1),v=(0,H.useCallback)(g=>{c!==g&&(i(g),f?.(g))},[c,f]),k=(0,H.useCallback)(g=>{if(!T.current)return;let m=O.current&&O.current instanceof Node&&g.target instanceof Node&&O.current.contains(g.target);if(T.current=!1,v(!1),!o&&O.current instanceof HTMLElement&&ye(O.current),g.target){let I={...X("pressend","mouse",g),target:g.target};d?.(I),p?.(I),m&&u?.(I)}},[d,p,u,v,o]),L=(0,H.useCallback)(g=>{if(t||g.button!==0||E.current)return;r&&g.preventDefault(),o||lt(g.currentTarget),T.current=!0,O.current=g.currentTarget,v(!0);let m=X("pressstart","mouse",g);l?.(m),window.addEventListener("mouseup",k,{once:!0})},[t,r,o,l,v,k]),P=(0,H.useCallback)(g=>{if(t||g.button!==0||!T.current)return;T.current=!1,v(!1),!o&&g.currentTarget instanceof HTMLElement&&ye(g.currentTarget);let m=X("pressend","mouse",g);d?.(m),p?.(m),g.currentTarget instanceof Node&&g.currentTarget.contains(g.target)&&u?.(X("press","mouse",g))},[t,u,d,p,v,o]),j=(0,H.useCallback)(g=>{c&&(v(!1),d?.(X("pressend","mouse",g)),!o&&g.currentTarget instanceof HTMLElement&&ye(g.currentTarget))},[c,v,d,o]),U=(0,H.useCallback)(g=>{T.current&&!c&&(v(!0),l?.(X("pressstart","mouse",g)))},[c,l,v]),Y=(0,H.useCallback)(g=>{if(!T.current)return;T.current=!1,v(!1),!o&&O.current instanceof HTMLElement&&ye(O.current);let m={...X("pressend","touch",g),target:g.target};d?.(m),p?.(m)},[d,p,v,o]),V=(0,H.useCallback)(g=>{if(!T.current)return;T.current=!1,v(!1),!o&&O.current instanceof HTMLElement&&ye(O.current);let m={...X("pressend","touch",g),target:g.target};d?.(m)},[d,v,o]),G=(0,H.useCallback)(g=>{t||(o||lt(g.currentTarget),E.current=!0,setTimeout(()=>{E.current=!1},100),T.current=!0,O.current=g.currentTarget,v(!0),l?.(X("pressstart","touch",g)),window.addEventListener("touchend",Y,{once:!0}),window.addEventListener("touchcancel",V,{once:!0}))},[t,l,v,o,Y,V]),le=(0,H.useCallback)(g=>{if(t||!T.current)return;T.current=!1,v(!1),!o&&g.currentTarget instanceof HTMLElement&&ye(g.currentTarget);let m=X("pressend","touch",g);d?.(m),p?.(m),g.currentTarget instanceof Node&&g.currentTarget.contains(g.target)&&u?.(X("press","touch",g))},[t,u,d,p,v,o]),w=(0,H.useCallback)(g=>{if(t)return;(g.key==="Enter"||g.key===" ")&&!c&&(g.key===" "&&g.preventDefault(),o||lt(),v(!0),T.current=!0,l?.(X("pressstart","keyboard",g)))},[t,c,l,v,o]),be=(0,H.useCallback)(g=>{if(t)return;if((g.key==="Enter"||g.key===" ")&&c){v(!1),T.current=!1,o||ye();let I=X("pressend","keyboard",g);d?.(I),p?.(X("pressup","keyboard",g)),u?.(X("press","keyboard",g))}},[t,c,u,d,p,v,o]),ie=(0,H.useCallback)(g=>{if(t){g.preventDefault();return}E.current||b?.(g)},[t,b]);(0,H.useEffect)(()=>()=>{window.removeEventListener("mouseup",k),window.removeEventListener("touchend",Y),window.removeEventListener("touchcancel",V)},[k,Y,V]);let ae=(0,H.useMemo)(()=>({onMouseDown:L,onMouseUp:P,onMouseLeave:j,onMouseEnter:U,onTouchStart:G,onTouchEnd:le,onKeyDown:w,onKeyUp:be,onClick:ie}),[L,P,j,U,G,le,w,be,ie]);return(0,H.useEffect)(()=>{let g=s?.current,m=g?Oe(g):void 0;g&&m&&g instanceof m.Element&&m.getComputedStyle(g).touchAction==="auto"&&(g.style.touchAction="pan-x pan-y pinch-zoom")},[s]),{pressProps:ae,isPressed:c}}var Nr=K(x(),1);function hs(e){let{style:t,values:r,children:o,className:s,defaultStyle:u,defaultChildren:l,defaultClassName:d="necto"}=e;return(0,Nr.useMemo)(()=>{let f=typeof s=="function"?s({...r,defaultClassName:d}):s?`${d} ${s}`:d,p=typeof t=="function"?t({...r,defaultStyle:u||{}}):{...u,...t},b=typeof o=="function"?o({...r,defaultChildren:l}):o??l;return{className:f,style:p,children:b}},[s,t,o,d,l,u,r])}var Kr=K(x(),1);function Ut(e){let{context:t,slot:r}=e,o=(0,Kr.useContext)(t);if(r===null)return null;if(o&&typeof o=="object"&&"slots"in o&&o.slots){let s=r||Symbol("default");if(!o.slots[s]){let u=new Intl.ListFormat().format(Object.keys(o.slots).map(d=>`"${d}"`)),l=r?`Invalid slot name: "${r}". This slot is not recognized. Please refer to the component's documentation for valid slot names.`:"A slot prop is required. You must provide a valid slot name to render content in this area.";throw new Error(`${l} Valid slot names are ${u}.`)}return o.slots[s]}return o}var Ie=K(x(),1);function He(e){let{onBlur:t}=e,r=(0,Ie.useRef)({isFocused:!1,observer:null});(0,Ie.useLayoutEffect)(()=>{let s=r.current;return()=>{s.observer&&(s.observer.disconnect(),s.observer=null)}},[]);let o=Re(s=>{t?.(s)});return(0,Ie.useCallback)(s=>{if(s.target instanceof HTMLButtonElement||s.target instanceof HTMLInputElement||s.target instanceof HTMLTextAreaElement||s.target instanceof HTMLSelectElement){r.current.isFocused=!0;let u=s.target,l=d=>{if(r.current.isFocused=!1,u.disabled){let f=mt(d);o(f)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};u.addEventListener("focusout",l,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&u.disabled){r.current.observer?.disconnect();let d=u===document.activeElement?null:document.activeElement;u.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),u.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),r.current.observer.observe(u,{attributes:!0,attributeFilter:["disabled"]})}},[o])}var he=K(x(),1);function Re(e){let t=(0,he.useRef)(e);return(typeof window<"u"?he.useLayoutEffect:he.useEffect)(()=>{t.current=e},[e]),(0,he.useCallback)(((...r)=>t.current(...r)),[])}var Et=K(x(),1);function xi(e){let t=zt(),[r,o]=(0,Et.useState)(!1);return(0,Et.useEffect)(()=>{t()&&o(!!e())},[e,t]),r}var _e=K(x(),1);function Ts(e={}){let{autoLock:t=!1,target:r,widthReflow:o=!0}=e,[s,u]=(0,_e.useState)(!1),l=(0,_e.useRef)(null),d=(0,_e.useRef)(null),f=Re(()=>{if(typeof window>"u"||!l.current)return;let{overflow:b,paddingRight:c}=l.current.style;if(d.current={overflow:b,paddingRight:c},o){let i=l.current===document.body?window.innerWidth:l.current.offsetWidth,E=parseInt(window.getComputedStyle(l.current).paddingRight,10)||0,O=i-l.current.scrollWidth;l.current.style.paddingRight=`${O+E}px`}l.current.style.overflow="hidden",u(!0)}),p=Re(()=>{l.current&&d.current&&(l.current.style.overflow=d.current.overflow,o&&(l.current.style.paddingRight=d.current.paddingRight)),u(!1)});return(0,_e.useEffect)(()=>{if(!(typeof window>"u"||typeof document>"u"))return r&&(l.current=typeof r=="string"?document.querySelector(r):r),l.current||(l.current=document.body),t&&f(),()=>{p()}},[t,r,o,f,p]),{isLocked:s,lock:f,unlock:p}}var Br=K(x(),1);function bs(e={}){let{isInvalid:t,isDisabled:r,isReadOnly:o,isRequired:s,isBusy:u,isPressed:l,isExpanded:d,isSelected:f,isChecked:p,isHidden:b,hasPopup:c,valueCurrent:i,valueMin:E,valueMax:O,valueText:T,label:v,labelledBy:k,describedBy:L,controls:P,owns:j}=e;return(0,Br.useMemo)(()=>{let U={},Y=[{value:t,attr:W.Invalid},{value:r,attr:W.Disabled},{value:o,attr:W.Readonly},{value:s,attr:W.Required},{value:u,attr:W.Busy},{value:d,attr:W.Expanded},{value:f,attr:W.Selected},{value:b,attr:W.Hidden}];for(let{value:V,attr:G}of Y)V!==void 0&&(U[G]=V||void 0);return l!==void 0&&(U[W.Pressed]=l===!1?void 0:l),p!==void 0&&(U[W.Checked]=p===!1?void 0:p),c!==void 0&&(U[W.Haspopup]=c===!1?void 0:c),i!==void 0&&(U[W.Valuenow]=i),E!==void 0&&(U[W.Valuemin]=E),O!==void 0&&(U[W.Valuemax]=O),T!==void 0&&(U[W.Valuetext]=T),v!==void 0&&(U[W.Label]=v),k!==void 0&&(U[W.Labelledby]=k),L!==void 0&&(U[W.Describedby]=L),P!==void 0&&(U[W.Controls]=P),j!==void 0&&(U[W.Owns]=j),U},[t,r,o,s,u,l,d,f,p,b,c,i,E,O,T,v,k,L,P,j])}function Rs({id:e,css:t,insertionPoint:r,enabled:o=!0,window:s=typeof window<"u"?window:null}){let u=Array.isArray(t)?t.join(`
18
+ `):t;Hr(()=>{if(!(!o||!u))return br(u,{id:e,window:s,insertionPoint:r})},[e,u,s,r,o])}var gt=K(x(),1);function Xi(e){let t=(0,gt.useRef)(e);return(0,gt.useLayoutEffect)(()=>{t.current=e}),t}var vt=K(x(),1),Hr=vt.default.useInsertionEffect??vt.useLayoutEffect;function qt(e){if(e===null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Qt(e,t,r=".",o){if(!qt(t))return Qt(e,{},r,o);let s=Object.assign({},t);for(let u in e){if(u==="__proto__"||u==="constructor")continue;let l=e[u];l!=null&&(o&&o(s,u,l,r)||(Array.isArray(l)&&Array.isArray(s[u])?s[u]=[...l,...s[u]]:qt(l)&&qt(s[u])?s[u]=Qt(l,s[u],(r?`${r}.`:"")+u.toString(),o):s[u]=l))}return s}function Xt(e){return(...t)=>t.reduce((r,o)=>Qt(r,o,"",e),{})}var ht=Xt(),ea=Xt((e,t,r)=>{if(e[t]!==void 0&&typeof r=="function")return e[t]=r(e[t]),!0}),ta=Xt((e,t,r)=>{if(Array.isArray(e[t])&&typeof r=="function")return e[t]=r(e[t]),!0});var ne=K(x(),1);function Ss(e={}){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:o,onLongPress:s,accessibilityDescription:u,threshold:l}=ht(e,{threshold:500}),d=(0,ne.useRef)(null),f=(0,ne.useRef)(null),p=(0,ne.useRef)(null),b=(0,ne.useRef)(!1),c=(0,ne.useCallback)(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]);(0,ne.useEffect)(()=>c,[c]);let i=(0,ne.useCallback)(P=>({type:P,pointerType:f.current??"mouse",target:p.current}),[]),E=(0,ne.useCallback)(P=>{t||P.button!==0||P.pointerType!=="mouse"&&(f.current=P.pointerType,p.current=P.currentTarget,b.current=!1,r?.(i("longpressstart")),d.current=setTimeout(()=>{b.current=!0,P.currentTarget?.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),s?.(i("longpress")),d.current=null},l))},[t,l,r,s,i]),O=(0,ne.useCallback)(()=>{f.current!==null&&(c(),!b.current&&o&&o(i("longpressend")),f.current=null,p.current=null)},[c,o,i]),T=(0,ne.useCallback)(()=>{c(),f.current!==null&&o&&o(i("longpressend")),f.current=null,p.current=null},[c,o,i]),v=(0,ne.useCallback)(P=>{b.current&&P.preventDefault()},[]);return{longPressProps:t?{}:{onPointerDown:E,onPointerUp:O,onPointerCancel:T,onContextMenu:v,...!t&&!!s&&!!u&&{"aria-description":u}}}}var zr=K(Yr(),1),ue=K(x(),1);function Cs(e){let{ref:t,isOpen:r,isReady:o=!0}=e,[s,u]=(0,ue.useState)(r),l=s&&o;(0,ue.useLayoutEffect)(()=>{if(l&&t.current&&"getAnimations"in t.current)for(let i of t.current.getAnimations())i instanceof CSSTransition&&i.cancel()},[t,l]),$r(t,l,(0,ue.useCallback)(()=>u(!1),[]));let[d,f]=(0,ue.useState)(r);r&&!d?(u(!0),f(!0)):!r&&d&&f(!1);let[p,b]=(0,ue.useState)(r?"open":"closed");switch(p){case"open":r||b("exiting");break;case"closed":case"exiting":r&&b("open");break}let c=p==="exiting";return $r(t,c,(0,ue.useCallback)(()=>{b(i=>i==="exiting"?"closed":i)},[])),{isEntering:l,isExiting:c,isRendered:r||c}}function $r(e,t,r){(0,ue.useLayoutEffect)(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){r();return}let o=e.current.getAnimations();if(o.length===0){r();return}let s=!1;return Promise.all(o.map(u=>u.finished)).then(()=>{s||(0,zr.flushSync)(()=>{r()})}).catch(()=>{}),()=>{s=!0}}},[e,t,r])}var $=K(x(),1);function Ls(e){return st()?e.metaKey:e.ctrlKey}function qr(e,t){return e.current?.querySelector(`[data-key="${t}"]`)??null}function Ps(e){let{selectionManager:t,keyboardDelegate:r,ref:o,autoFocus:s,shouldFocusWrap:u,disallowEmptySelection:l,disallowSelectAll:d,escapeBehavior:f,selectOnFocus:p,disallowTypeAhead:b,shouldUseVirtualFocus:c,allowsTabNavigation:i,scrollRef:E,direction:O,orientation:T,onNavigate:v,onFocusItem:k}=ht(e,{autoFocus:!1,shouldFocusWrap:!1,disallowEmptySelection:!1,disallowSelectAll:!1,escapeBehavior:"clearSelection",selectOnFocus:!1,disallowTypeAhead:!1,shouldUseVirtualFocus:!1,allowsTabNavigation:!1,isVirtualized:!1,direction:"ltr",orientation:"vertical"}),L=E??o,P=(0,$.useRef)({top:0,left:0}),j=(0,$.useRef)(t.focusedKey),U=(0,$.useRef)(s),Y=(0,$.useRef)(""),V=(0,$.useRef)(null),G=(0,$.useCallback)((m,I,S)=>{m!=null&&(t.setFocusedKey(m,S),v?.(m),I?.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(m):p&&!Ls(I)&&t.replaceSelection(m))},[t,p,v]),le=(0,$.useCallback)(m=>{if(k){k(m);return}let I=qr(o,m);I&&!c&&Ke(I)},[o,c,k]),w=(0,$.useCallback)(m=>{if(!b&&m.key.length===1&&!m.ctrlKey&&!m.metaKey&&!m.altKey){V.current&&clearTimeout(V.current),Y.current+=m.key;let S=r.getKeyForSearch?.(Y.current,t.focusedKey)??null;S!=null&&(m.preventDefault(),G(S,m)),V.current=setTimeout(()=>{Y.current=""},500);return}let I=O==="rtl";switch(m.key){case"ArrowDown":{if(r.getKeyBelow){let S=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):r.getFirstKey?.()??null;S==null&&u&&(S=r.getFirstKey?.()??null),S!=null&&(m.preventDefault(),G(S,m))}break}case"ArrowUp":{if(r.getKeyAbove){let S=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):r.getLastKey?.()??null;S==null&&u&&(S=r.getLastKey?.()??null),S!=null&&(m.preventDefault(),G(S,m))}break}case"ArrowLeft":{if(r.getKeyLeftOf){let S=t.focusedKey!=null?r.getKeyLeftOf(t.focusedKey):null;S==null&&u&&(S=I?r.getFirstKey?.()??null:r.getLastKey?.()??null),S!=null&&(m.preventDefault(),G(S,m,I?"first":"last"))}break}case"ArrowRight":{if(r.getKeyRightOf){let S=t.focusedKey!=null?r.getKeyRightOf(t.focusedKey):null;S==null&&u&&(S=I?r.getLastKey?.()??null:r.getFirstKey?.()??null),S!=null&&(m.preventDefault(),G(S,m,I?"last":"first"))}break}case"Home":{if(r.getFirstKey){m.preventDefault();let S=r.getFirstKey();t.setFocusedKey(S),S!=null&&(ut(m)&&m.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):p&&t.replaceSelection(S))}break}case"End":{if(r.getLastKey){m.preventDefault();let S=r.getLastKey();t.setFocusedKey(S),S!=null&&(ut(m)&&m.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):p&&t.replaceSelection(S))}break}case"PageDown":{if(r.getKeyPageBelow&&t.focusedKey!=null){let S=r.getKeyPageBelow(t.focusedKey);S!=null&&(m.preventDefault(),G(S,m))}break}case"PageUp":{if(r.getKeyPageAbove&&t.focusedKey!=null){let S=r.getKeyPageAbove(t.focusedKey);S!=null&&(m.preventDefault(),G(S,m))}break}case"a":{ut(m)&&t.selectionMode==="multiple"&&!d&&(m.preventDefault(),t.selectAll());break}case"Escape":{f==="clearSelection"&&!l&&t.selectedKeys.size>0&&(m.stopPropagation(),m.preventDefault(),t.clearSelection());break}case"Tab":{!i&&o.current&&m.shiftKey&&o.current.focus();break}}},[r,t,o,O,u,p,b,d,l,f,i,G]),be=(0,$.useCallback)(m=>{if(!t.isFocused){if(t.setFocused(!0),t.focusedKey==null){let I=m.relatedTarget,S=I!=null&&!!(m.currentTarget.compareDocumentPosition(I)&Node.DOCUMENT_POSITION_FOLLOWING),ce=null;S?ce=t.lastSelectedKey??r.getLastKey?.()??null:ce=t.firstSelectedKey??r.getFirstKey?.()??null,ce!=null&&(t.setFocusedKey(ce),p&&!t.isSelected(ce)&&t.replaceSelection(ce))}else L.current&&(L.current.scrollTop=P.current.top,L.current.scrollLeft=P.current.left);t.focusedKey!=null&&le(t.focusedKey)}},[t,r,p,L,le]),ie=(0,$.useCallback)(m=>{let I=m.relatedTarget;m.currentTarget.contains(I)||t.setFocused(!1)},[t]),ae=(0,$.useCallback)(m=>{L.current===m.target&&m.preventDefault()},[L]);(0,$.useEffect)(()=>{let m=L.current;if(!m)return()=>{};let I=()=>{P.current={top:m.scrollTop,left:m.scrollLeft}};return m.addEventListener("scroll",I,{passive:!0}),()=>{m.removeEventListener("scroll",I)}},[L]),(0,$.useEffect)(()=>{if(!U.current)return;let m=null;if(U.current==="first"?m=r.getFirstKey?.()??null:U.current==="last"&&(m=r.getLastKey?.()??null),t.selectedKeys.size>0){for(let I of t.selectedKeys)if(t.canSelectItem?.(I)!==!1){m=I;break}}t.setFocused(!0),t.setFocusedKey(m),m==null&&!c&&o.current&&o.current.focus(),U.current=!1},[r,t,o,c]),(0,$.useEffect)(()=>{if(!t.isFocused||t.focusedKey==null||t.focusedKey===j.current)return;let m=qr(o,t.focusedKey);m&&L.current&&hr(L.current,m),j.current=t.focusedKey},[t.isFocused,t.focusedKey,o,L]),(0,$.useEffect)(()=>()=>{V.current&&clearTimeout(V.current)},[]);let g=c?void 0:t.focusedKey==null?0:-1;return{collectionProps:Pe({onKeyDown:w,onFocus:be,onBlur:ie,onMouseDown:ae,tabIndex:g,"data-orientation":T})}}var z=K(x(),1),bt={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Xr={...bt,customError:!0,valid:!1},Ue={isInvalid:!1,validationErrors:[],validationDetails:bt},Zr=(0,z.createContext)({}),en="__formValidationState"+Date.now();function Ds(e){if(e[en]){let{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:s,commitValidation:u}=e[en];return{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:s,commitValidation:u}}return Ms(e)}function Ms(e){let{isInvalid:t,validationState:r,name:o,value:s,builtinValidation:u,validate:l,validationBehavior:d="aria"}=e;r&&(t||=r==="invalid");let f=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Xr}:null,p=(0,z.useMemo)(()=>{if(!l||s==null)return null;let w=Fs(l,s);return Qr(w)},[l,s]);u?.validationDetails.valid&&(u=void 0);let b=(0,z.useContext)(Zr),c=(0,z.useMemo)(()=>o?Array.isArray(o)?o.flatMap(w=>tn(b[w])):tn(b[o]):[],[b,o]),[i,E]=(0,z.useState)(b),[O,T]=(0,z.useState)(!1);b!==i&&(E(b),T(!1));let v=(0,z.useMemo)(()=>Qr(O?[]:c),[O,c]),k=(0,z.useRef)(Ue),[L,P]=(0,z.useState)(Ue),j=(0,z.useRef)(Ue),U=()=>{if(!Y)return;V(!1);let w=p||u||k.current;Jt(w,j.current)||(j.current=w,P(w))},[Y,V]=(0,z.useState)(!1);return(0,z.useEffect)(U),{realtimeValidation:f||v||p||u||Ue,displayValidation:d==="native"?f||v||L:f||v||p||u||L,updateValidation(w){d==="aria"&&!Jt(L,w)?P(w):k.current=w},resetValidation(){let w=Ue;Jt(w,j.current)||(j.current=w,P(w)),d==="native"&&V(!1),T(!0)},commitValidation(){d==="native"&&V(!0),T(!0)}}}function tn(e){return e?Array.isArray(e)?e:[e]:[]}function Fs(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return tn(r)}return[]}function Qr(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Xr}:null}function Jt(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,o)=>r===t.validationErrors[o])&&Object.entries(e.validationDetails).every(([r,o])=>t.validationDetails[r]===o)}function Is(...e){let t=new Set,r=!1,o={...bt};for(let s of e){for(let u of s.validationErrors)t.add(u);r||=s.isInvalid;for(let u in o)o[u]||=s.validationDetails[u]}return o.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:o}}})();
19
19
  /*! Bundled license information:
20
20
 
21
21
  react/cjs/react.production.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@necto-react/hooks",
3
- "version": "2.14.14",
3
+ "version": "2.14.16",
4
4
  "type": "module",
5
5
  "description": "Necto's standard library for providing utility hooks for React applications.",
6
6
  "files": [
@@ -35,7 +35,8 @@
35
35
  "shared": "1.3.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "react": "^19.1.0"
38
+ "react": "^19.1.0",
39
+ "react-dom": "^19.1.0"
39
40
  },
40
41
  "dependencies": {
41
42
  "defu": "^6.1.4",
@@ -43,7 +44,7 @@
43
44
  "std-env": "^3.9.0",
44
45
  "@necto-react/helpers": "2.6.11",
45
46
  "@necto-react/types": "2.4.1",
46
- "@necto/dom": "1.6.11",
47
+ "@necto/dom": "1.7.2",
47
48
  "@necto/id": "1.6.5",
48
49
  "@necto/mergers": "1.5.1",
49
50
  "@necto/platform": "1.5.1",