@necto-react/hooks 2.10.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -273,7 +273,9 @@ interface UseFocusableProps extends FocusableDOMProps, FocusEvents {
273
273
  isDisabled?: boolean;
274
274
  autoFocus?: boolean;
275
275
  }
276
- type UseFocusableReturn = {};
276
+ type UseFocusableReturn = Readonly<{
277
+ focusableProps: Record<string, any>;
278
+ }>;
277
279
 
278
280
  /**
279
281
  * Portions of this file are based on code from the React Aria Spectrum library by Adobe,
@@ -777,14 +779,6 @@ interface UsePressReturn {
777
779
  isPressed: boolean;
778
780
  }
779
781
 
780
- /**
781
- * Copyright (c) Corinvo, LLC. and affiliates.
782
- *
783
- * This source code is licensed under the MIT license found in the
784
- * LICENSE file in the root directory of this source tree.
785
- *
786
- */
787
-
788
782
  /**
789
783
  * Provides press (mouse, touch, keyboard) interaction logic for UI components.
790
784
  * Handles accessibility, text selection, and emulated event quirks for consistent press behavior.
package/dist/index.d.ts CHANGED
@@ -273,7 +273,9 @@ interface UseFocusableProps extends FocusableDOMProps, FocusEvents {
273
273
  isDisabled?: boolean;
274
274
  autoFocus?: boolean;
275
275
  }
276
- type UseFocusableReturn = {};
276
+ type UseFocusableReturn = Readonly<{
277
+ focusableProps: Record<string, any>;
278
+ }>;
277
279
 
278
280
  /**
279
281
  * Portions of this file are based on code from the React Aria Spectrum library by Adobe,
@@ -777,14 +779,6 @@ interface UsePressReturn {
777
779
  isPressed: boolean;
778
780
  }
779
781
 
780
- /**
781
- * Copyright (c) Corinvo, LLC. and affiliates.
782
- *
783
- * This source code is licensed under the MIT license found in the
784
- * LICENSE file in the root directory of this source tree.
785
- *
786
- */
787
-
788
782
  /**
789
783
  * Provides press (mouse, touch, keyboard) interaction logic for UI components.
790
784
  * Handles accessibility, text selection, and emulated event quirks for consistent press behavior.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var $n=Object.create;var Qt=Object.defineProperty;var Gn=Object.getOwnPropertyDescriptor;var qn=Object.getOwnPropertyNames;var zn=Object.getPrototypeOf,Qn=Object.prototype.hasOwnProperty;var Ne=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Xn=(e,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of qn(n))!Qn.call(e,u)&&u!==r&&Qt(e,u,{get:()=>n[u],enumerable:!(o=Gn(n,u))||o.enumerable});return e};var U=(e,n,r)=>(r=e!=null?$n(zn(e)):{},Xn(n||!e||!e.__esModule?Qt(r,"default",{value:e,enumerable:!0}):r,e));var cn=Ne(h=>{"use strict";var ot=Symbol.for("react.transitional.element"),Zn=Symbol.for("react.portal"),Jn=Symbol.for("react.fragment"),er=Symbol.for("react.strict_mode"),tr=Symbol.for("react.profiler"),nr=Symbol.for("react.consumer"),rr=Symbol.for("react.context"),or=Symbol.for("react.forward_ref"),sr=Symbol.for("react.suspense"),ur=Symbol.for("react.memo"),nn=Symbol.for("react.lazy"),Xt=Symbol.iterator;function ir(e){return e===null||typeof e!="object"?null:(e=Xt&&e[Xt]||e["@@iterator"],typeof e=="function"?e:null)}var rn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},on=Object.assign,sn={};function me(e,n,r){this.props=e,this.context=n,this.refs=sn,this.updater=r||rn}me.prototype.isReactComponent={};me.prototype.setState=function(e,n){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,n,"setState")};me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function un(){}un.prototype=me.prototype;function st(e,n,r){this.props=e,this.context=n,this.refs=sn,this.updater=r||rn}var ut=st.prototype=new un;ut.constructor=st;on(ut,me.prototype);ut.isPureReactComponent=!0;var Zt=Array.isArray,M={H:null,A:null,T:null,S:null,V:null},an=Object.prototype.hasOwnProperty;function it(e,n,r,o,u,i){return r=i.ref,{$$typeof:ot,type:e,key:n,ref:r!==void 0?r:null,props:i}}function ar(e,n){return it(e.type,n,void 0,void 0,void 0,e.props)}function at(e){return typeof e=="object"&&e!==null&&e.$$typeof===ot}function cr(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return n[r]})}var Jt=/\/+/g;function rt(e,n){return typeof e=="object"&&e!==null&&e.key!=null?cr(""+e.key):n.toString(36)}function en(){}function lr(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(en,en):(e.status="pending",e.then(function(n){e.status==="pending"&&(e.status="fulfilled",e.value=n)},function(n){e.status==="pending"&&(e.status="rejected",e.reason=n)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function de(e,n,r,o,u){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(i){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case ot:case Zn:c=!0;break;case nn:return c=e._init,de(c(e._payload),n,r,o,u)}}if(c)return u=u(e),c=o===""?"."+rt(e,0):o,Zt(u)?(r="",c!=null&&(r=c.replace(Jt,"$&/")+"/"),de(u,n,r,"",function(m){return m})):u!=null&&(at(u)&&(u=ar(u,r+(u.key==null||e&&e.key===u.key?"":(""+u.key).replace(Jt,"$&/")+"/")+c)),n.push(u)),1;c=0;var f=o===""?".":o+":";if(Zt(e))for(var a=0;a<e.length;a++)o=e[a],i=f+rt(o,a),c+=de(o,n,r,i,u);else if(a=ir(e),typeof a=="function")for(e=a.call(e),a=0;!(o=e.next()).done;)o=o.value,i=f+rt(o,a++),c+=de(o,n,r,i,u);else if(i==="object"){if(typeof e.then=="function")return de(lr(e),n,r,o,u);throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return c}function He(e,n,r){if(e==null)return e;var o=[],u=0;return de(e,o,"","",function(i){return n.call(r,i,u++)}),o}function fr(e){if(e._status===-1){var n=e._result;n=n(),n.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=n)}if(e._status===1)return e._result.default;throw e._result}var tn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function pr(){}h.Children={map:He,forEach:function(e,n,r){He(e,function(){n.apply(this,arguments)},r)},count:function(e){var n=0;return He(e,function(){n++}),n},toArray:function(e){return He(e,function(n){return n})||[]},only:function(e){if(!at(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};h.Component=me;h.Fragment=Jn;h.Profiler=tr;h.PureComponent=st;h.StrictMode=er;h.Suspense=sr;h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M;h.__COMPILER_RUNTIME={__proto__:null,c:function(e){return M.H.useMemoCache(e)}};h.cache=function(e){return function(){return e.apply(null,arguments)}};h.cloneElement=function(e,n,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=on({},e.props),u=e.key,i=void 0;if(n!=null)for(c in n.ref!==void 0&&(i=void 0),n.key!==void 0&&(u=""+n.key),n)!an.call(n,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&n.ref===void 0||(o[c]=n[c]);var c=arguments.length-2;if(c===1)o.children=r;else if(1<c){for(var f=Array(c),a=0;a<c;a++)f[a]=arguments[a+2];o.children=f}return it(e.type,u,void 0,void 0,i,o)};h.createContext=function(e){return e={$$typeof:rr,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:nr,_context:e},e};h.createElement=function(e,n,r){var o,u={},i=null;if(n!=null)for(o in n.key!==void 0&&(i=""+n.key),n)an.call(n,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(u[o]=n[o]);var c=arguments.length-2;if(c===1)u.children=r;else if(1<c){for(var f=Array(c),a=0;a<c;a++)f[a]=arguments[a+2];u.children=f}if(e&&e.defaultProps)for(o in c=e.defaultProps,c)u[o]===void 0&&(u[o]=c[o]);return it(e,i,void 0,void 0,null,u)};h.createRef=function(){return{current:null}};h.forwardRef=function(e){return{$$typeof:or,render:e}};h.isValidElement=at;h.lazy=function(e){return{$$typeof:nn,_payload:{_status:-1,_result:e},_init:fr}};h.memo=function(e,n){return{$$typeof:ur,type:e,compare:n===void 0?null:n}};h.startTransition=function(e){var n=M.T,r={};M.T=r;try{var o=e(),u=M.S;u!==null&&u(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(pr,tn)}catch(i){tn(i)}finally{M.T=n}};h.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()};h.use=function(e){return M.H.use(e)};h.useActionState=function(e,n,r){return M.H.useActionState(e,n,r)};h.useCallback=function(e,n){return M.H.useCallback(e,n)};h.useContext=function(e){return M.H.useContext(e)};h.useDebugValue=function(){};h.useDeferredValue=function(e,n){return M.H.useDeferredValue(e,n)};h.useEffect=function(e,n,r){var o=M.H;if(typeof r=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return o.useEffect(e,n)};h.useId=function(){return M.H.useId()};h.useImperativeHandle=function(e,n,r){return M.H.useImperativeHandle(e,n,r)};h.useInsertionEffect=function(e,n){return M.H.useInsertionEffect(e,n)};h.useLayoutEffect=function(e,n){return M.H.useLayoutEffect(e,n)};h.useMemo=function(e,n){return M.H.useMemo(e,n)};h.useOptimistic=function(e,n){return M.H.useOptimistic(e,n)};h.useReducer=function(e,n,r){return M.H.useReducer(e,n,r)};h.useRef=function(e){return M.H.useRef(e)};h.useState=function(e){return M.H.useState(e)};h.useSyncExternalStore=function(e,n,r){return M.H.useSyncExternalStore(e,n,r)};h.useTransition=function(){return M.H.useTransition()};h.version="19.1.0"});var ln=Ne((b,je)=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(t,s){Object.defineProperty(o.prototype,t,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",s[0],s[1])}})}function n(t){return t===null||typeof t!="object"?null:(t=It&&t[It]||t["@@iterator"],typeof t=="function"?t:null)}function r(t,s){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var l=t+"."+s;kt[l]||(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.",s,t),kt[l]=!0)}function o(t,s,l){this.props=t,this.context=s,this.refs=tt,this.updater=l||Nt}function u(){}function i(t,s,l){this.props=t,this.context=s,this.refs=tt,this.updater=l||Nt}function c(t){return""+t}function f(t){try{c(t);var s=!1}catch{s=!0}if(s){s=console;var l=s.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return l.call(s,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),c(t)}}function a(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Bn?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ze:return"Fragment";case At:return"Profiler";case Mt:return"StrictMode";case Ft:return"Suspense";case Hn:return"SuspenseList";case jn:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case xt:return"Portal";case Ut:return(t.displayName||"Context")+".Provider";case Je:return(t._context.displayName||"Context")+".Consumer";case Dt:var s=t.render;return t=t.displayName,t||(t=s.displayName||s.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case et:return s=t.displayName||null,s!==null?s:a(t.type)||"Memo";case Ae:s=t._payload,t=t._init;try{return a(t(s))}catch{}}return null}function m(t){if(t===Ze)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===Ae)return"<...>";try{var s=a(t);return s?"<"+s+">":"<...>"}catch{return"<...>"}}function _(){var t=w.A;return t===null?null:t.getOwner()}function g(){return Error("react-stack-top-frame")}function D(t){if(De.call(t,"key")){var s=Object.getOwnPropertyDescriptor(t,"key").get;if(s&&s.isReactWarning)return!1}return t.key!==void 0}function C(t,s){function l(){Wt||(Wt=!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)",s))}l.isReactWarning=!0,Object.defineProperty(t,"key",{get:l,configurable:!0})}function x(){var t=a(this.type);return Kt[t]||(Kt[t]=!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.")),t=this.props.ref,t!==void 0?t:null}function v(t,s,l,d,y,P,T,S){return l=P.ref,t={$$typeof:z,type:t,key:s,props:P,_owner:y},(l!==void 0?l:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:x}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:S}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function E(t,s){return s=v(t.type,s,void 0,void 0,t._owner,t.props,t._debugStack,t._debugTask),t._store&&(s._store.validated=t._store.validated),s}function F(t){return typeof t=="object"&&t!==null&&t.$$typeof===z}function V(t){var s={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return s[l]})}function B(t,s){return typeof t=="object"&&t!==null&&t.key!=null?(f(t.key),V(""+t.key)):s.toString(36)}function G(){}function le(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(G,G):(t.status="pending",t.then(function(s){t.status==="pending"&&(t.status="fulfilled",t.value=s)},function(s){t.status==="pending"&&(t.status="rejected",t.reason=s)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function H(t,s,l,d,y){var P=typeof t;(P==="undefined"||P==="boolean")&&(t=null);var T=!1;if(t===null)T=!0;else switch(P){case"bigint":case"string":case"number":T=!0;break;case"object":switch(t.$$typeof){case z:case xt:T=!0;break;case Ae:return T=t._init,H(T(t._payload),s,l,d,y)}}if(T){T=t,y=y(T);var S=d===""?"."+B(T,0):d;return jt(y)?(l="",S!=null&&(l=S.replace($t,"$&/")+"/"),H(y,s,l,"",function(X){return X})):y!=null&&(F(y)&&(y.key!=null&&(T&&T.key===y.key||f(y.key)),l=E(y,l+(y.key==null||T&&T.key===y.key?"":(""+y.key).replace($t,"$&/")+"/")+S),d!==""&&T!=null&&F(T)&&T.key==null&&T._store&&!T._store.validated&&(l._store.validated=2),y=l),s.push(y)),1}if(T=0,S=d===""?".":d+":",jt(t))for(var R=0;R<t.length;R++)d=t[R],P=S+B(d,R),T+=H(d,s,l,P,y);else if(R=n(t),typeof R=="function")for(R===t.entries&&(Yt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Yt=!0),t=R.call(t),R=0;!(d=t.next()).done;)d=d.value,P=S+B(d,R++),T+=H(d,s,l,P,y);else if(P==="object"){if(typeof t.then=="function")return H(le(t),s,l,d,y);throw s=String(t),Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}return T}function q(t,s,l){if(t==null)return t;var d=[],y=0;return H(t,d,"","",function(P){return s.call(l,P,y++)}),d}function xe(t){if(t._status===-1){var s=t._result;s=s(),s.then(function(l){(t._status===0||t._status===-1)&&(t._status=1,t._result=l)},function(l){(t._status===0||t._status===-1)&&(t._status=2,t._result=l)}),t._status===-1&&(t._status=0,t._result=s)}if(t._status===1)return s=t._result,s===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ "use strict";(()=>{var Cr=Object.create;var Zt=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Or=Object.getOwnPropertyNames;var Lr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var ke=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Mr=(e,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of Or(n))!Ar.call(e,u)&&u!==r&&Zt(e,u,{get:()=>n[u],enumerable:!(o=Sr(n,u))||o.enumerable});return e};var U=(e,n,r)=>(r=e!=null?Cr(Lr(e)):{},Mr(n||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e));var fn=ke(h=>{"use strict";var st=Symbol.for("react.transitional.element"),xr=Symbol.for("react.portal"),Ur=Symbol.for("react.fragment"),Ir=Symbol.for("react.strict_mode"),Dr=Symbol.for("react.profiler"),Fr=Symbol.for("react.consumer"),Nr=Symbol.for("react.context"),kr=Symbol.for("react.forward_ref"),Hr=Symbol.for("react.suspense"),jr=Symbol.for("react.memo"),on=Symbol.for("react.lazy"),Jt=Symbol.iterator;function Br(e){return e===null||typeof e!="object"?null:(e=Jt&&e[Jt]||e["@@iterator"],typeof e=="function"?e:null)}var sn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},un=Object.assign,an={};function me(e,n,r){this.props=e,this.context=n,this.refs=an,this.updater=r||sn}me.prototype.isReactComponent={};me.prototype.setState=function(e,n){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,n,"setState")};me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cn(){}cn.prototype=me.prototype;function ut(e,n,r){this.props=e,this.context=n,this.refs=an,this.updater=r||sn}var it=ut.prototype=new cn;it.constructor=ut;un(it,me.prototype);it.isPureReactComponent=!0;var en=Array.isArray,M={H:null,A:null,T:null,S:null,V:null},ln=Object.prototype.hasOwnProperty;function at(e,n,r,o,u,i){return r=i.ref,{$$typeof:st,type:e,key:n,ref:r!==void 0?r:null,props:i}}function Wr(e,n){return at(e.type,n,void 0,void 0,void 0,e.props)}function ct(e){return typeof e=="object"&&e!==null&&e.$$typeof===st}function Vr(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return n[r]})}var tn=/\/+/g;function ot(e,n){return typeof e=="object"&&e!==null&&e.key!=null?Vr(""+e.key):n.toString(36)}function nn(){}function Kr(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(nn,nn):(e.status="pending",e.then(function(n){e.status==="pending"&&(e.status="fulfilled",e.value=n)},function(n){e.status==="pending"&&(e.status="rejected",e.reason=n)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function de(e,n,r,o,u){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(i){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case st:case xr:c=!0;break;case on:return c=e._init,de(c(e._payload),n,r,o,u)}}if(c)return u=u(e),c=o===""?"."+ot(e,0):o,en(u)?(r="",c!=null&&(r=c.replace(tn,"$&/")+"/"),de(u,n,r,"",function(m){return m})):u!=null&&(ct(u)&&(u=Wr(u,r+(u.key==null||e&&e.key===u.key?"":(""+u.key).replace(tn,"$&/")+"/")+c)),n.push(u)),1;c=0;var f=o===""?".":o+":";if(en(e))for(var a=0;a<e.length;a++)o=e[a],i=f+ot(o,a),c+=de(o,n,r,i,u);else if(a=Br(e),typeof a=="function")for(e=a.call(e),a=0;!(o=e.next()).done;)o=o.value,i=f+ot(o,a++),c+=de(o,n,r,i,u);else if(i==="object"){if(typeof e.then=="function")return de(Kr(e),n,r,o,u);throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return c}function He(e,n,r){if(e==null)return e;var o=[],u=0;return de(e,o,"","",function(i){return n.call(r,i,u++)}),o}function Gr(e){if(e._status===-1){var n=e._result;n=n(),n.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=n)}if(e._status===1)return e._result.default;throw e._result}var rn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Yr(){}h.Children={map:He,forEach:function(e,n,r){He(e,function(){n.apply(this,arguments)},r)},count:function(e){var n=0;return He(e,function(){n++}),n},toArray:function(e){return He(e,function(n){return n})||[]},only:function(e){if(!ct(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};h.Component=me;h.Fragment=Ur;h.Profiler=Dr;h.PureComponent=ut;h.StrictMode=Ir;h.Suspense=Hr;h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M;h.__COMPILER_RUNTIME={__proto__:null,c:function(e){return M.H.useMemoCache(e)}};h.cache=function(e){return function(){return e.apply(null,arguments)}};h.cloneElement=function(e,n,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=un({},e.props),u=e.key,i=void 0;if(n!=null)for(c in n.ref!==void 0&&(i=void 0),n.key!==void 0&&(u=""+n.key),n)!ln.call(n,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&n.ref===void 0||(o[c]=n[c]);var c=arguments.length-2;if(c===1)o.children=r;else if(1<c){for(var f=Array(c),a=0;a<c;a++)f[a]=arguments[a+2];o.children=f}return at(e.type,u,void 0,void 0,i,o)};h.createContext=function(e){return e={$$typeof:Nr,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Fr,_context:e},e};h.createElement=function(e,n,r){var o,u={},i=null;if(n!=null)for(o in n.key!==void 0&&(i=""+n.key),n)ln.call(n,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(u[o]=n[o]);var c=arguments.length-2;if(c===1)u.children=r;else if(1<c){for(var f=Array(c),a=0;a<c;a++)f[a]=arguments[a+2];u.children=f}if(e&&e.defaultProps)for(o in c=e.defaultProps,c)u[o]===void 0&&(u[o]=c[o]);return at(e,i,void 0,void 0,null,u)};h.createRef=function(){return{current:null}};h.forwardRef=function(e){return{$$typeof:kr,render:e}};h.isValidElement=ct;h.lazy=function(e){return{$$typeof:on,_payload:{_status:-1,_result:e},_init:Gr}};h.memo=function(e,n){return{$$typeof:jr,type:e,compare:n===void 0?null:n}};h.startTransition=function(e){var n=M.T,r={};M.T=r;try{var o=e(),u=M.S;u!==null&&u(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(Yr,rn)}catch(i){rn(i)}finally{M.T=n}};h.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()};h.use=function(e){return M.H.use(e)};h.useActionState=function(e,n,r){return M.H.useActionState(e,n,r)};h.useCallback=function(e,n){return M.H.useCallback(e,n)};h.useContext=function(e){return M.H.useContext(e)};h.useDebugValue=function(){};h.useDeferredValue=function(e,n){return M.H.useDeferredValue(e,n)};h.useEffect=function(e,n,r){var o=M.H;if(typeof r=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return o.useEffect(e,n)};h.useId=function(){return M.H.useId()};h.useImperativeHandle=function(e,n,r){return M.H.useImperativeHandle(e,n,r)};h.useInsertionEffect=function(e,n){return M.H.useInsertionEffect(e,n)};h.useLayoutEffect=function(e,n){return M.H.useLayoutEffect(e,n)};h.useMemo=function(e,n){return M.H.useMemo(e,n)};h.useOptimistic=function(e,n){return M.H.useOptimistic(e,n)};h.useReducer=function(e,n,r){return M.H.useReducer(e,n,r)};h.useRef=function(e){return M.H.useRef(e)};h.useState=function(e){return M.H.useState(e)};h.useSyncExternalStore=function(e,n,r){return M.H.useSyncExternalStore(e,n,r)};h.useTransition=function(){return M.H.useTransition()};h.version="19.1.0"});var pn=ke((b,je)=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(t,s){Object.defineProperty(o.prototype,t,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",s[0],s[1])}})}function n(t){return t===null||typeof t!="object"?null:(t=kt&&t[kt]||t["@@iterator"],typeof t=="function"?t:null)}function r(t,s){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var l=t+"."+s;Ht[l]||(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.",s,t),Ht[l]=!0)}function o(t,s,l){this.props=t,this.context=s,this.refs=nt,this.updater=l||jt}function u(){}function i(t,s,l){this.props=t,this.context=s,this.refs=nt,this.updater=l||jt}function c(t){return""+t}function f(t){try{c(t);var s=!1}catch{s=!0}if(s){s=console;var l=s.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return l.call(s,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),c(t)}}function a(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Tr?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Je:return"Fragment";case It:return"Profiler";case Ut:return"StrictMode";case Nt:return"Suspense";case br:return"SuspenseList";case hr:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case xt:return"Portal";case Dt:return(t.displayName||"Context")+".Provider";case et:return(t._context.displayName||"Context")+".Consumer";case Ft:var s=t.render;return t=t.displayName,t||(t=s.displayName||s.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case tt:return s=t.displayName||null,s!==null?s:a(t.type)||"Memo";case xe:s=t._payload,t=t._init;try{return a(t(s))}catch{}}return null}function m(t){if(t===Je)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===xe)return"<...>";try{var s=a(t);return s?"<"+s+">":"<...>"}catch{return"<...>"}}function P(){var t=_.A;return t===null?null:t.getOwner()}function g(){return Error("react-stack-top-frame")}function I(t){if(Ie.call(t,"key")){var s=Object.getOwnPropertyDescriptor(t,"key").get;if(s&&s.isReactWarning)return!1}return t.key!==void 0}function S(t,s){function l(){Kt||(Kt=!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)",s))}l.isReactWarning=!0,Object.defineProperty(t,"key",{get:l,configurable:!0})}function A(){var t=a(this.type);return Yt[t]||(Yt[t]=!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.")),t=this.props.ref,t!==void 0?t:null}function v(t,s,l,d,y,w,T,C){return l=w.ref,t={$$typeof:z,type:t,key:s,props:w,_owner:y},(l!==void 0?l:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:A}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:C}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function E(t,s){return s=v(t.type,s,void 0,void 0,t._owner,t.props,t._debugStack,t._debugTask),t._store&&(s._store.validated=t._store.validated),s}function D(t){return typeof t=="object"&&t!==null&&t.$$typeof===z}function V(t){var s={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return s[l]})}function B(t,s){return typeof t=="object"&&t!==null&&t.key!=null?(f(t.key),V(""+t.key)):s.toString(36)}function $(){}function le(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then($,$):(t.status="pending",t.then(function(s){t.status==="pending"&&(t.status="fulfilled",t.value=s)},function(s){t.status==="pending"&&(t.status="rejected",t.reason=s)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function H(t,s,l,d,y){var w=typeof t;(w==="undefined"||w==="boolean")&&(t=null);var T=!1;if(t===null)T=!0;else switch(w){case"bigint":case"string":case"number":T=!0;break;case"object":switch(t.$$typeof){case z:case xt:T=!0;break;case xe:return T=t._init,H(T(t._payload),s,l,d,y)}}if(T){T=t,y=y(T);var C=d===""?"."+B(T,0):d;return Wt(y)?(l="",C!=null&&(l=C.replace(qt,"$&/")+"/"),H(y,s,l,"",function(X){return X})):y!=null&&(D(y)&&(y.key!=null&&(T&&T.key===y.key||f(y.key)),l=E(y,l+(y.key==null||T&&T.key===y.key?"":(""+y.key).replace(qt,"$&/")+"/")+C),d!==""&&T!=null&&D(T)&&T.key==null&&T._store&&!T._store.validated&&(l._store.validated=2),y=l),s.push(y)),1}if(T=0,C=d===""?".":d+":",Wt(t))for(var R=0;R<t.length;R++)d=t[R],w=C+B(d,R),T+=H(d,s,l,w,y);else if(R=n(t),typeof R=="function")for(R===t.entries&&($t||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),$t=!0),t=R.call(t),R=0;!(d=t.next()).done;)d=d.value,w=C+B(d,R++),T+=H(d,s,l,w,y);else if(w==="object"){if(typeof t.then=="function")return H(le(t),s,l,d,y);throw s=String(t),Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}return T}function q(t,s,l){if(t==null)return t;var d=[],y=0;return H(t,d,"","",function(w){return s.call(l,w,y++)}),d}function Ae(t){if(t._status===-1){var s=t._result;s=s(),s.then(function(l){(t._status===0||t._status===-1)&&(t._status=1,t._result=l)},function(l){(t._status===0||t._status===-1)&&(t._status=2,t._result=l)}),t._status===-1&&(t._status=0,t._result=s)}if(t._status===1)return s=t._result,s===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,11 +6,11 @@ Your code should look like:
6
6
  Did you accidentally put curly braces around the import?`,s),"default"in s||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'))`,s),s.default;throw t._result}function A(){var t=w.H;return t===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'))`,s),s.default;throw t._result}function x(){var t=_.H;return t===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.`),t}function Me(){}function ie(t){if(Fe===null)try{var s=("require"+Math.random()).slice(0,7);Fe=(je&&je[s]).call(je,"timers").setImmediate}catch{Fe=function(d){qt===!1&&(qt=!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 y=new MessageChannel;y.port1.onmessage=d,y.port2.postMessage(void 0)}}return Fe(t)}function Q(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function fe(t,s){s!==Ie-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. "),Ie=s}function p(t,s,l){var d=w.actQueue;if(d!==null)if(d.length!==0)try{I(d),ie(function(){return p(t,s,l)});return}catch(y){w.thrownErrors.push(y)}else w.actQueue=null;0<w.thrownErrors.length?(d=Q(w.thrownErrors),w.thrownErrors.length=0,l(d)):s(t)}function I(t){if(!nt){nt=!0;var s=0;try{for(;s<t.length;s++){var l=t[s];do{w.didUsePromise=!1;var d=l(!1);if(d!==null){if(w.didUsePromise){t[s]=l,t.splice(0,s);return}l=d}else break}while(!0)}t.length=0}catch(y){t.splice(0,s+1),w.thrownErrors.push(y)}finally{nt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var z=Symbol.for("react.transitional.element"),xt=Symbol.for("react.portal"),Ze=Symbol.for("react.fragment"),Mt=Symbol.for("react.strict_mode"),At=Symbol.for("react.profiler");Symbol.for("react.provider");var Je=Symbol.for("react.consumer"),Ut=Symbol.for("react.context"),Dt=Symbol.for("react.forward_ref"),Ft=Symbol.for("react.suspense"),Hn=Symbol.for("react.suspense_list"),et=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),jn=Symbol.for("react.activity"),It=Symbol.iterator,kt={},Nt={isMounted:function(){return!1},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t){r(t,"replaceState")},enqueueSetState:function(t){r(t,"setState")}},Ht=Object.assign,tt={};Object.freeze(tt),o.prototype.isReactComponent={},o.prototype.setState=function(t,s){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,s,"setState")},o.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};var K={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)."]},Ue;for(Ue in K)K.hasOwnProperty(Ue)&&e(Ue,K[Ue]);u.prototype=o.prototype,K=i.prototype=new u,K.constructor=i,Ht(K,o.prototype),K.isPureReactComponent=!0;var jt=Array.isArray,Bn=Symbol.for("react.client.reference"),w={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},De=Object.prototype.hasOwnProperty,Bt=console.createTask?console.createTask:function(){return null};K={"react-stack-bottom-frame":function(t){return t()}};var Wt,Vt,Kt={},Wn=K["react-stack-bottom-frame"].bind(K,g)(),Vn=Bt(m(g)),Yt=!1,$t=/\/+/g,Gt=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},qt=!1,Fe=null,Ie=0,ke=!1,nt=!1,zt=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:ie;K=Object.freeze({__proto__:null,c:function(t){return A().useMemoCache(t)}}),b.Children={map:q,forEach:function(t,s,l){q(t,function(){s.apply(this,arguments)},l)},count:function(t){var s=0;return q(t,function(){s++}),s},toArray:function(t){return q(t,function(s){return s})||[]},only:function(t){if(!F(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},b.Component=o,b.Fragment=Ze,b.Profiler=At,b.PureComponent=i,b.StrictMode=Mt,b.Suspense=Ft,b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,b.__COMPILER_RUNTIME=K,b.act=function(t){var s=w.actQueue,l=Ie;Ie++;var d=w.actQueue=s!==null?s:[],y=!1;try{var P=t()}catch(R){w.thrownErrors.push(R)}if(0<w.thrownErrors.length)throw fe(s,l),t=Q(w.thrownErrors),w.thrownErrors.length=0,t;if(P!==null&&typeof P=="object"&&typeof P.then=="function"){var T=P;return zt(function(){y||ke||(ke=!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(R,X){y=!0,T.then(function(pe){if(fe(s,l),l===0){try{I(d),ie(function(){return p(pe,R,X)})}catch(Yn){w.thrownErrors.push(Yn)}if(0<w.thrownErrors.length){var Kn=Q(w.thrownErrors);w.thrownErrors.length=0,X(Kn)}}else R(pe)},function(pe){fe(s,l),0<w.thrownErrors.length&&(pe=Q(w.thrownErrors),w.thrownErrors.length=0),X(pe)})}}}var S=P;if(fe(s,l),l===0&&(I(d),d.length!==0&&zt(function(){y||ke||(ke=!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(() => ...)"))}),w.actQueue=null),0<w.thrownErrors.length)throw t=Q(w.thrownErrors),w.thrownErrors.length=0,t;return{then:function(R,X){y=!0,l===0?(w.actQueue=d,ie(function(){return p(S,R,X)})):R(S)}}},b.cache=function(t){return function(){return t.apply(null,arguments)}},b.captureOwnerStack=function(){var t=w.getCurrentStack;return t===null?null:t()},b.cloneElement=function(t,s,l){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var d=Ht({},t.props),y=t.key,P=t._owner;if(s!=null){var T;e:{if(De.call(s,"ref")&&(T=Object.getOwnPropertyDescriptor(s,"ref").get)&&T.isReactWarning){T=!1;break e}T=s.ref!==void 0}T&&(P=_()),D(s)&&(f(s.key),y=""+s.key);for(S in s)!De.call(s,S)||S==="key"||S==="__self"||S==="__source"||S==="ref"&&s.ref===void 0||(d[S]=s[S])}var S=arguments.length-2;if(S===1)d.children=l;else if(1<S){T=Array(S);for(var R=0;R<S;R++)T[R]=arguments[R+2];d.children=T}for(d=v(t.type,y,void 0,void 0,P,d,t._debugStack,t._debugTask),y=2;y<arguments.length;y++)P=arguments[y],F(P)&&P._store&&(P._store.validated=1);return d},b.createContext=function(t){return t={$$typeof:Ut,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Je,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},b.createElement=function(t,s,l){for(var d=2;d<arguments.length;d++){var y=arguments[d];F(y)&&y._store&&(y._store.validated=1)}if(d={},y=null,s!=null)for(R in Vt||!("__self"in s)||"key"in s||(Vt=!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")),D(s)&&(f(s.key),y=""+s.key),s)De.call(s,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&(d[R]=s[R]);var P=arguments.length-2;if(P===1)d.children=l;else if(1<P){for(var T=Array(P),S=0;S<P;S++)T[S]=arguments[S+2];Object.freeze&&Object.freeze(T),d.children=T}if(t&&t.defaultProps)for(R in P=t.defaultProps,P)d[R]===void 0&&(d[R]=P[R]);y&&C(d,typeof t=="function"?t.displayName||t.name||"Unknown":t);var R=1e4>w.recentlyCreatedOwnerStacks++;return v(t,y,void 0,void 0,_(),d,R?Error("react-stack-top-frame"):Wn,R?Bt(m(t)):Vn)},b.createRef=function(){var t={current:null};return Object.seal(t),t},b.forwardRef=function(t){t!=null&&t.$$typeof===et?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof t!="function"?console.error("forwardRef requires a render function but was given %s.",t===null?"null":typeof t):t.length!==0&&t.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",t.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),t!=null&&t.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var s={$$typeof:Dt,render:t},l;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(d){l=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),s},b.isValidElement=F,b.lazy=function(t){return{$$typeof:Ae,_payload:{_status:-1,_result:t},_init:xe}},b.memo=function(t,s){t==null&&console.error("memo: The first argument must be a component. Instead received: %s",t===null?"null":typeof t),s={$$typeof:et,type:t,compare:s===void 0?null:s};var l;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(d){l=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),s},b.startTransition=function(t){var s=w.T,l={};w.T=l,l._updatedFibers=new Set;try{var d=t(),y=w.S;y!==null&&y(l,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&d.then(Me,Gt)}catch(P){Gt(P)}finally{s===null&&l._updatedFibers&&(t=l._updatedFibers.size,l._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),w.T=s}},b.unstable_useCacheRefresh=function(){return A().useCacheRefresh()},b.use=function(t){return A().use(t)},b.useActionState=function(t,s,l){return A().useActionState(t,s,l)},b.useCallback=function(t,s){return A().useCallback(t,s)},b.useContext=function(t){var s=A();return t.$$typeof===Je&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),s.useContext(t)},b.useDebugValue=function(t,s){return A().useDebugValue(t,s)},b.useDeferredValue=function(t,s){return A().useDeferredValue(t,s)},b.useEffect=function(t,s,l){t==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var d=A();if(typeof l=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return d.useEffect(t,s)},b.useId=function(){return A().useId()},b.useImperativeHandle=function(t,s,l){return A().useImperativeHandle(t,s,l)},b.useInsertionEffect=function(t,s){return t==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useInsertionEffect(t,s)},b.useLayoutEffect=function(t,s){return t==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useLayoutEffect(t,s)},b.useMemo=function(t,s){return A().useMemo(t,s)},b.useOptimistic=function(t,s){return A().useOptimistic(t,s)},b.useReducer=function(t,s,l){return A().useReducer(t,s,l)},b.useRef=function(t){return A().useRef(t)},b.useState=function(t){return A().useState(t)},b.useSyncExternalStore=function(t,s,l){return A().useSyncExternalStore(t,s,l)},b.useTransition=function(){return A().useTransition()},b.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var O=Ne((Eo,ct)=>{"use strict";process.env.NODE_ENV==="production"?ct.exports=cn():ct.exports=ln()});var pt=Ne((Ro,dn)=>{"use strict";var ft=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,Er=Object.getOwnPropertyNames,yr=Object.prototype.hasOwnProperty,vr=(e,n)=>{for(var r in n)ft(e,r,{get:n[r],enumerable:!0})},gr=(e,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of Er(n))!yr.call(e,u)&&u!==r&&ft(e,u,{get:()=>n[u],enumerable:!(o=mr(n,u))||o.enumerable});return e},br=e=>gr(ft({},"__esModule",{value:!0}),e),fn={};vr(fn,{DisabledContext:()=>pn,DisabledProvider:()=>Rr,FocusableContext:()=>Pr});dn.exports=br(fn);var hr=O(),pn=(0,hr.createContext)(new Object),Tr=O();function Rr({value:e,children:n}){return(0,Tr.createElement)(pn.Provider,{value:e||new Object},n)}var wr=O(),Pr=(0,wr.createContext)(null)});var Be=U(O(),1);function be(...e){if(e.length===0)return{};if(e.length===1)return typeof e[0]=="object"&&e[0]!==null?e[0]:{};let n={},r={};for(let o of e)if(!(typeof o!="object"||o===null)){for(let u in o)if(Object.hasOwn(o,u)){if(u==="children")continue;let i=o[u];u.startsWith("on")&&typeof i=="function"?(r[u]??=[],r[u].push(i)):n[u]=i}}for(let o in r)Object.hasOwn(r,o)&&r[o].length>0&&(n[o]=(...u)=>{for(let i of r[o])i?.(...u)});for(let o=e.length-1;o>=0;o--){let u=e[o];if(typeof u=="object"&&u!==null&&"children"in u){n.children=u.children;break}}return n}function dr({props:e,ref:n,context:r}){let o=lt({context:r,slot:e.slot})||{},{ref:u=null,...i}=o,c=(0,Be.useRef)(null),f=(0,Be.useCallback)(m=>{c.current=m,typeof n=="function"?n(m):n&&(n.current=m),typeof u=="function"?u(m):u&&typeof u=="object"&&(u.current=m)},[n,u]),a=be(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?a.style=m=>{let _=typeof i.style=="function"?i.style(m):i.style,g={...m.defaultStyle,..._},D=typeof e.style=="function"?e.style({...m,defaultStyle:g}):e.style;return{...g,...D}}:a.style={...i.style,...e.style}),[a,f]}var mn=U(O(),1),En=U(pt(),1);function dt(e={}){let{type:n="general",defaultFallback:r=!1}=e;return((0,mn.useContext)(En.DisabledContext)||{})[n]??r}var yn=U(O(),1);function _r(e={}){let{type:n="general",extraProps:r={}}=e,o=dt({type:n,defaultFallback:!1});return(0,yn.useMemo)(()=>{let u={...r};return o&&(u={...u,...typeof r.onClick=="function"||typeof r.onChange=="function"?{disabled:o}:{},"aria-disabled":o}),u},[o,r])}var $=U(O(),1);function Sr(e={}){let{partialVisibility:n=!1,threshold:r=0,rootMargin:o="0px",root:u=null,active:i=!0,once:c=!1,onChange:f}=e,[a,m]=(0,$.useState)(null),[_,g]=(0,$.useState)(!1),[D,C]=(0,$.useState)(null),x=(0,$.useRef)(!1),v=(0,$.useRef)(null),E=We(V=>{let B=V[0],G=B.isIntersecting,le={isIntersecting:B.isIntersecting,intersectionRatio:B.intersectionRatio,intersectionRect:B.intersectionRect,boundingClientRect:B.boundingClientRect,rootBounds:B.rootBounds,time:B.time};C(le),g(H=>c&&x.current?!0:G&&c?(x.current=!0,H!==!0&&f&&f(!0),!0):H!==G?(f&&f(G),G):H)}),F=(0,$.useCallback)(V=>{m(V)},[]);return(0,$.useEffect)(()=>{if(!i||!a)return;let V;return n===!0?V=[0,.1,.25,.5,.75,1]:typeof n=="string"?V=.01:V=r,v.current=new IntersectionObserver(E,{root:u,rootMargin:o,threshold:V}),v.current.observe(a),()=>{v.current&&v.current.disconnect()}},[i,a,u,o,r,n]),[F,_,D]}var Ge=U(O(),1);var vn=["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","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","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"];var gn=vn;function Or(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var Lr=()=>Or(/^Mac/i);function bn(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var xr=()=>bn(/^iPhone/i),Mr=()=>bn(/^iPad/i)||Lr()&&navigator.maxTouchPoints>1,mt=()=>xr()||Mr();function Ar(e){return Ur(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}function Ur(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Ke(e,n,r=!0){if(!e||!n)return!1;if(!r)return e.contains(n);let o=n;for(;o;){if(o===e)return!0;o=o instanceof Element&&o.tagName==="SLOT"&&o.assignedSlot?o.assignedSlot.parentNode:Ar(o)?o.host:o.parentNode}return!1}var J=(e=document,n=!0)=>{if(!n)return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&r.shadowRoot?.activeElement;)r=r.shadowRoot.activeElement;return r};function Ye(e,n=!0){return n&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}var k=e=>e?.ownerDocument??document,ee=e=>e&&"window"in e&&e.window===e?e:k(e).defaultView||window,Ve=null;function Dr(){if(Ve==null){Ve=!1;try{document.createElement("div").focus({get preventScroll(){return Ve=!0,!0}})}catch{}}return Ve}function vt(e){if(Dr())e.focus({preventScroll:!0});else{let n=Fr(e);e.focus();for(let{element:r,scrollTop:o,scrollLeft:u}of n)r.scrollTop=o,r.scrollLeft=u}}function Fr(e){let n=e.parentNode,r=Array.from({length:0}),o=document.scrollingElement||document.documentElement;for(;n instanceof HTMLElement&&n!==o;)(n.offsetHeight<n.scrollHeight||n.offsetWidth<n.scrollWidth)&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),n=n.parentNode;return o instanceof HTMLElement&&r.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),r}var Z=new Map,Et=new Set;function Ir(e){if(!("propertyName"in e)||!e.target)return;let n=Z.get(e.target);n||(n=new Set,Z.set(e.target,n),e.target.addEventListener("transitioncancel",gt,{once:!0})),n.add(e.propertyName)}function gt(e){if(!("propertyName"in e)||!e.target)return;let n=Z.get(e.target);if(n&&(n.delete(e.propertyName),n.size===0&&(e.target.removeEventListener("transitioncancel",gt),Z.delete(e.target)),Z.size===0)){for(let r of Et)r();Et.clear()}}if(typeof window<"u"&&typeof document<"u"){let e=()=>{let n=document.body;n&&(n.addEventListener("transitionrun",Ir),n.addEventListener("transitionend",gt))};document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e,{once:!0})}function bt(e){requestAnimationFrame(()=>{for(let[n]of Z)"isConnected"in n&&!n.isConnected&&Z.delete(n);Z.size===0?e():Et.add(e)})}var Ho=gn.reduce((e,n)=>{var r;return e[r=n,r.charAt(0).toUpperCase()+r.slice(1)]=n,e},{}),Ee="default",yt="",he=new WeakMap;function $e(e){if(mt()){if(Ee==="default"){let n=k(e);n?.documentElement?.style.webkitUserSelect!==void 0&&(yt=n.documentElement.style.webkitUserSelect,n.documentElement.style.webkitUserSelect="none",Ee="disabled")}}else if(e instanceof HTMLElement||e instanceof SVGElement){let n=e.style,r="userSelect"in n?"userSelect":"webkitUserSelect";he.has(e)||(he.set(e,n[r]??""),n[r]="none")}}function te(e){if(mt()){if(Ee!=="disabled")return;Ee="restoring",setTimeout(()=>{bt(()=>{if(Ee==="restoring"){let n=k(e);n?.documentElement?.style.webkitUserSelect==="none"&&(n.documentElement.style.webkitUserSelect=yt||""),yt="",Ee="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&he.has(e)){let n=he.get(e)??"",r=e.style,o="userSelect"in r?"userSelect":"webkitUserSelect";r[o]==="none"&&(r[o]=n),e.getAttribute("style")?.trim()===""&&e.removeAttribute("style"),he.delete(e)}}function Te(e={}){let{isDisabled:n,onFocus:r,onBlur:o,onFocusChange:u}=e,i=(0,Ge.useCallback)((m,_)=>{m?(r?.(_),u?.(!0)):(o?.(_),u?.(!1))},[r,o,u]),c=(0,Ge.useCallback)(m=>{m.target===m.currentTarget&&i(!1,m)},[i]),f=Re({onBlur:c}),a=(0,Ge.useCallback)(m=>{let _=k(m.target),g=_?J(_):J();m.target===m.currentTarget&&g===Ye(m.nativeEvent)&&(i(!0,m),f(m))},[i,f]);return{focusProps:{...n?{}:{onFocus:a,onBlur:c}}}}var ye=U(O(),1),hn=U(pt(),1);function kr(e,n){let{autoFocus:r,isDisabled:o,excludeFromTabOrder:u}=e,{focusProps:i}=Te(e),{keyboardProps:c}=ht(e),f=(0,ye.useContext)(hn.FocusableContext)||{},a=(0,ye.useRef)(r);Tt({context:f,ref:n});let{ref:m,..._}=f,g=k(n.current),D=J(g);(0,ye.useEffect)(()=>{if(a.current&&n.current)if(we()==="virtual"){let x=D;bt(()=>{J(g)===x&&n.current?.isConnected&&vt(n.current)})}else vt(n.current);a.current=!1},[n]);let C=u?-1:0;return o&&(C=void 0),{focusableProps:be({...be(i??{},c),tabIndex:C},o?{}:_)}}var ne=U(O(),1);var Nr=null;function Hr(e={}){let{within:n=!1,isTextInput:r=!1,autoFocus:o=!1}=e,u=(0,ne.useRef)({isFocused:o,isFocusVisible:o||Nr!=="pointer"}),[i,c]=(0,ne.useState)(o),[f,a]=(0,ne.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),m=(0,ne.useCallback)(()=>{a(u.current.isFocused&&u.current.isFocusVisible)},[]),_=(0,ne.useCallback)(C=>{u.current.isFocused=C,c(C),m()},[m]);Pe({fn:C=>{u.current.isFocusVisible=C,m()},deps:[],opts:{isTextInput:r}});let{focusProps:g={}}=Te({isDisabled:n,onFocusChange:_})||{},{focusWithinProps:D={}}=Rt({isDisabled:!n,onFocusWithinChange:_})||{};return{isFocused:i,isFocusVisible:f,focusProps:n?D:g}}var Tn=U(O(),1);function jr(e={}){let{isTextInput:n,autoFocus:r}=e,[o,u]=(0,Tn.useState)(r||we()!=="pointer");return Pe({fn:i=>u(i),deps:[n],opts:{isTextInput:n}}),{isFocusVisible:o}}var ve=new Map,qe=new Set,Rn=!1,wt=null,wn=!1,N={get hasEventBeforeFocus(){return Rn},set hasEventBeforeFocus(e){Rn=e},get hasBlurredWindowRecently(){return wn},set hasBlurredWindowRecently(e){wn=e},get currentModality(){return wt},set currentModality(e){wt=e}};function we(){return wt}var no={},ze=Object.create(null),_e=e=>globalThis.process?.env||no.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?ze:globalThis),re=new Proxy(ze,{get(e,n){return _e()[n]??ze[n]},has(e,n){let r=_e();return n in r||n in ze},set(e,n,r){let o=_e(!0);return o[n]=r,!0},deleteProperty(e,n){if(!n)return!1;let r=_e(!0);return delete r[n],!0},ownKeys(){let e=_e(!0);return Object.keys(e)}}),_n=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",Br=[["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 Wr(){if(globalThis.process?.env)for(let e of Br){let n=e[1]||e[0];if(globalThis.process?.env[n])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 Sn=Wr(),ls=Sn.name;function ae(e){return e?e!=="false":!1}var Pt=globalThis.process?.platform||"",Cn=ae(re.CI)||Sn.ci!==!1,On=ae(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);var fs=ae(re.DEBUG),ce=_n==="test"||ae(re.TEST),Ln=_n==="production";var ps=ae(re.MINIMAL)||Cn||ce||!On,Vr=/^win/i.test(Pt),ds=/^linux/i.test(Pt),xn=/^darwin/i.test(Pt),ms=!ae(re.NO_COLOR)&&(ae(re.FORCE_COLOR)||(On||Vr)&&re.TERM!=="dumb"||Cn),Kr=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null,Es=Number(Kr?.split(".")[0])||null,Yr=globalThis.process||Object.create(null),Pn={versions:{}},ys=new Proxy(Yr,{get(e,n){if(n==="env")return re;if(n in e)return e[n];if(n in Pn)return Pn[n]}}),$r=globalThis.process?.release?.name==="node",Gr=!!globalThis.Bun||!!globalThis.process?.versions?.bun,qr=!!globalThis.Deno,zr=!!globalThis.fastly,Qr=!!globalThis.Netlify,Xr=!!globalThis.EdgeRuntime,Zr=globalThis.navigator?.userAgent==="Cloudflare-Workers",Jr=[[Qr,"netlify"],[Xr,"edge-light"],[Zr,"workerd"],[zr,"fastly"],[qr,"deno"],[Gr,"bun"],[$r,"node"]];function eo(){let e=Jr.find(n=>n[0]);if(e)return{name:e[1]}}var to=eo(),vs=to?.name||"";var An=U(O(),1);function _t(e){if(!e)return;let n=!0;return r=>{let o={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){n&&Ln?console.error("stopPropagation is now the default behavior for events in Necto. You can use continuePropagation() to revert this behavior."):n=!0},continuePropagation(){n=!1},isPropagationStopped(){return n}};e(o),n&&r.stopPropagation()}}function Qe(e){let n=e;return Object.assign(n,{nativeEvent:e,isDefaultPrevented:()=>n.defaultPrevented,isPropagationStopped:()=>n.cancelBubble,persist:()=>{}}),n}var ro=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),oo={Tab:!0,Escape:!0};function Mn(e,n,r){if(!r||!("target"in r)||!r.target)return!1;let o=k(r.target),u=ee(r.target),i=typeof window<"u"?u.HTMLInputElement:HTMLInputElement,c=typeof window<"u"?u.HTMLTextAreaElement:HTMLTextAreaElement,f=typeof window<"u"?u.HTMLElement:HTMLElement,a=typeof window<"u"?u.KeyboardEvent:KeyboardEvent,m=o.activeElement;return e=e||m instanceof i&&!ro.has(m.type)||m instanceof c||m instanceof f&&m.isContentEditable,!(e&&n==="keyboard"&&r instanceof a&&!oo[r.key])}function Ct(e,n){qe.forEach(r=>r(e,n))}function so(e){return!(e.metaKey||xn&&e.altKey||e.ctrlKey||["Control","Shift","Meta"].includes(e.key))}function Un(e){so(e)&&(N.hasEventBeforeFocus=!0,N.currentModality="keyboard",Ct("keyboard",e))}function St(e){["mousedown","pointerdown"].includes(e.type)&&(N.hasEventBeforeFocus=!0,N.currentModality="pointer",Ct("pointer",e))}function Dn(e){[window,document].includes(e.target)||!e.isTrusted||!N.hasEventBeforeFocus&&!N.hasBlurredWindowRecently||(!N.hasEventBeforeFocus&&!N.hasBlurredWindowRecently&&(N.currentModality="virtual",Ct("virtual",e)),N.hasEventBeforeFocus=!1,N.hasBlurredWindowRecently=!1)}function Fn(){N.hasEventBeforeFocus=!1,N.hasBlurredWindowRecently=!0}function uo(e){let n=ee(e),r=k(e);if(typeof window>"u"||typeof document>"u"||ve.has(n))return;let o=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(...u){N.hasEventBeforeFocus=!0,o.apply(this,u)},r.addEventListener("keydown",Un,!0),r.addEventListener("click",St,!0),n.addEventListener("focus",Dn,!0),n.addEventListener("blur",Fn,!1),typeof PointerEvent<"u"&&r.addEventListener("pointerdown",St,!0),ve.set(n,{focus:o})}function io(e){let n=ee(e),r=k(e);if(!ve.has(n))return;let{focus:o}=ve.get(n);n.HTMLElement.prototype.focus=o,r.removeEventListener("keydown",Un,!0),r.removeEventListener("click",St,!0),n.removeEventListener("focus",Dn,!0),n.removeEventListener("blur",Fn,!1),ve.delete(n)}function Pe(e){let{fn:n,deps:r,opts:o}=e;typeof window>"u"||typeof document>"u"||(uo(),(0,An.useEffect)(()=>{let u=(i,c)=>{Mn(!!o?.isTextInput,i,c)&&n(N.currentModality!=="pointer")};return qe.add(u),()=>{qe.delete(u),io()}},r))}var Se=U(O(),1);function Rt(e){let{isDisabled:n,onFocusWithin:r,onBlurWithin:o,onFocusWithinChange:u}=e,i=(0,Se.useRef)({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:f}=Ce(),a=(0,Se.useCallback)(g=>{g.currentTarget.contains(g.target)&&i.current.isFocusWithin&&!g.currentTarget.contains(g.relatedTarget)&&(i.current.isFocusWithin=!1,f(),o&&o(g),u&&u(!1))},[o,u,f]),m=Re({onBlur:a}),_=(0,Se.useCallback)(g=>{if(!g.currentTarget.contains(g.target))return;let D=k(g.target),C=J(D);if(!i.current.isFocusWithin&&C===Ye(g.nativeEvent)){r&&r(g),u&&u(!0),i.current.isFocusWithin=!0,m(g);let x=g.currentTarget;c(D,"focus",v=>{if(i.current.isFocusWithin&&!Ke(x,v.target)&&D.defaultView&&typeof D.defaultView.FocusEvent=="function"){let E=new D.defaultView.FocusEvent("blur",{relatedTarget:v.target});Object.defineProperty(E,"target",{value:x}),Object.defineProperty(E,"currentTarget",{value:x});let F=Qe(E);a(F)}},{capture:!0})}},[r,u,m,c,a]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:_,onBlur:a}}}var oe=U(O(),1);function Ce(){let e=(0,oe.useRef)(new Map),n=(0,oe.useCallback)((u,i,c,f)=>{let a=typeof f=="object"&&f?.once?(...m)=>{e.current.delete(c),c(...m)}:c;e.current.set(c,{type:i,eventTarget:u,options:f}),u.addEventListener(i,a,f)},[]),r=(0,oe.useCallback)((u,i,c,f)=>{let a=e.current.get(c),m=a?.options?.once?a.fn:c;u.removeEventListener(i,m,f),e.current.delete(c)},[]),o=(0,oe.useCallback)(()=>{e.current.forEach((u,i)=>{u.eventTarget.removeEventListener(u.type,i,u.options)}),e.current.clear()},[]);return(0,oe.useEffect)(()=>()=>o(),[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}}var W=U(O(),1);function ao(e={}){let{onHoverStart:n,onHoverChange:r,onHoverEnd:o,isDisabled:u}=e,[i,c]=(0,W.useState)(!1),f=(0,W.useRef)({hoverCount:0,ignoreEmulated:!1}),a=(0,W.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current,{addGlobalListener:m,removeAllGlobalListeners:_}=Ce(),g=(0,W.useCallback)(()=>{f.current.ignoreEmulated=!0,setTimeout(()=>{f.current.ignoreEmulated=!1},50)},[]);(0,W.useEffect)(()=>{let v=F=>{F.pointerType==="touch"&&g()};if(typeof document>"u")return;let E=f.current;return E.hoverCount++,typeof PointerEvent<"u"?document.addEventListener("pointerup",v):ce&&document.addEventListener("touchend",g),()=>{E.hoverCount--,E.hoverCount===0&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",v):ce&&document.removeEventListener("touchend",g))}},[g]);let D=(0,W.useCallback)((v,E)=>{u||E==="touch"||a.isHovered||!(v.currentTarget&&v.currentTarget.contains(v.target))||(a.isHovered=!0,a.pointerType=E,a.target=v.currentTarget,m(k(v.target instanceof Element?v.target:null),"pointerover",F=>{a.isHovered&&a.target&&!Ke(a.target,F.target)&&C(F,F.pointerType)},{capture:!0}),n?.({type:"hoverstart",target:v.currentTarget,pointerType:E}),r?.(!0),c(!0))},[u,n,r,m,a]),C=(0,W.useCallback)((v,E)=>{E==="touch"||!a.isHovered||!a.target||(a.isHovered=!1,a.pointerType="",a.target=null,_(),o?.({type:"hoverend",target:v.currentTarget,pointerType:E}),r?.(!1),c(!1))},[o,r,_,a.target,a]),x=(0,W.useMemo)(()=>{let v={};return typeof PointerEvent<"u"?(v.onPointerEnter=E=>{f.current.ignoreEmulated&&E.pointerType==="mouse"||D(E,E.pointerType)},v.onPointerLeave=E=>{!u&&E.currentTarget instanceof Element&&E.currentTarget.contains(E.target)&&C(E,E.pointerType)}):ce&&(v.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},v.onMouseEnter=E=>{!a.ignoreEmulatedMouseEvents&&!f.current.ignoreEmulated&&D(E.nativeEvent,"mouse"),a.ignoreEmulatedMouseEvents=!1},v.onMouseLeave=E=>{!u&&E.currentTarget.contains(E.target)&&C(E.nativeEvent,"mouse")}),v},[u,D,C,a]);return(0,W.useEffect)(()=>{u&&a.isHovered&&C({currentTarget:a.target},a.pointerType)},[u,C,a.isHovered,a.pointerType,a.target]),{hoverProps:x,isHovered:i}}var Ot={prefix:String(Math.round(Math.random()*1e10)),current:0},Oe=new Map,Le=typeof FinalizationRegistry<"u"?new FinalizationRegistry(e=>{Oe.delete(e)}):null;var Y=U(O(),1);function co(e={}){let{prefix:n="necto",defaultId:r}=e,[o,u]=(0,Y.useState)(()=>r),i=(0,Y.useRef)(null),c=(0,Y.useRef)({}),f=(()=>{if(r)return r;let a=typeof Y.default.useId=="function"?(0,Y.useId)():String(++Ot.current);return`${ce?n:`${n}${Ot.prefix}`}-${a}`})();return(0,Y.useEffect)(()=>{if(typeof window<"u"&&window.document?.createElement){let a=Oe.get(f)||[],m={current:i.current};a.some(_=>_===m)||Oe.set(f,[...a,m])}return Le&&Le.register(c.current,f),()=>{Le&&Le.unregister(c.current),Oe.delete(f)}},[f]),(0,Y.useEffect)(()=>{let a=i.current;a&&(u(a),i.current=null)},[]),f}function ht(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:e.onKeyDown?_t(n=>e.onKeyDown?.(n.nativeEvent)):void 0,onKeyUp:e.onKeyUp?_t(n=>e.onKeyUp?.(n.nativeEvent)):void 0}}}var se=U(O(),1);function Lt(e={}){let{type:n="function"}=e,r=(0,se.useRef)(!1),[o,u]=(0,se.useState)(!1),i=(0,se.useCallback)(()=>r.current,[]);return(0,se.useEffect)(()=>(r.current=!0,u(!0),()=>{r.current=!1,u(!1)}),[]),n==="ref"?r:n==="boolean"?o:i}var L=U(O(),1);function j(e,n,r){return{type:e,pointerType:n,target:r.currentTarget??r.target,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey}}function lo(e={}){let{isDisabled:n,preventFocusOnPress:r,allowTextSelectionOnPress:o,ref:u,onPress:i,onPressStart:c,onPressEnd:f,onPressChange:a,onPressUp:m,onClick:_}=e,[g,D]=(0,L.useState)(!1),C=(0,L.useRef)(!1),x=(0,L.useRef)(null),v=(0,L.useRef)(!1),E=(0,L.useCallback)(p=>{g!==p&&(D(p),a?.(p))},[g,a]),F=(0,L.useCallback)(p=>{if(!v.current)return;let I=x.current&&x.current instanceof Node&&p.target instanceof Node&&x.current.contains(p.target);if(v.current=!1,E(!1),!o&&x.current instanceof HTMLElement&&te(x.current),p.target){let z={...j("pressend","mouse",p),target:p.target};f?.(z),m?.(z),I&&i?.(z)}},[f,m,i,E,o]),V=(0,L.useCallback)(p=>{if(n||p.button!==0||C.current)return;r&&p.preventDefault(),o||$e(p.currentTarget),v.current=!0,x.current=p.currentTarget,E(!0);let I=j("pressstart","mouse",p);c?.(I),window.addEventListener("mouseup",F,{once:!0})},[n,r,o,c,E,F]),B=(0,L.useCallback)(p=>{if(n||p.button!==0||!v.current)return;v.current=!1,E(!1),!o&&p.currentTarget instanceof HTMLElement&&te(p.currentTarget);let I=j("pressend","mouse",p);f?.(I),m?.(I),p.currentTarget instanceof Node&&p.currentTarget.contains(p.target)&&i?.(j("press","mouse",p))},[n,i,f,m,E,o]),G=(0,L.useCallback)(p=>{g&&(E(!1),f?.(j("pressend","mouse",p)),!o&&p.currentTarget instanceof HTMLElement&&te(p.currentTarget))},[g,E,f,o]),le=(0,L.useCallback)(p=>{v.current&&!g&&(E(!0),c?.(j("pressstart","mouse",p)))},[g,c,E]),H=(0,L.useCallback)(p=>{if(!v.current)return;v.current=!1,E(!1),!o&&x.current instanceof HTMLElement&&te(x.current);let I={...j("pressend","touch",p),target:p.target};f?.(I),m?.(I)},[f,m,E,o]),q=(0,L.useCallback)(p=>{if(!v.current)return;v.current=!1,E(!1),!o&&x.current instanceof HTMLElement&&te(x.current);let I={...j("pressend","touch",p),target:p.target};f?.(I)},[f,E,o]),xe=(0,L.useCallback)(p=>{n||(o||$e(p.currentTarget),C.current=!0,setTimeout(()=>{C.current=!1},100),v.current=!0,x.current=p.currentTarget,E(!0),c?.(j("pressstart","touch",p)),window.addEventListener("touchend",H,{once:!0}),window.addEventListener("touchcancel",q,{once:!0}))},[n,c,E,o,H,q]),A=(0,L.useCallback)(p=>{if(n||!v.current)return;v.current=!1,E(!1),!o&&p.currentTarget instanceof HTMLElement&&te(p.currentTarget);let I=j("pressend","touch",p);f?.(I),m?.(I),p.currentTarget instanceof Node&&p.currentTarget.contains(p.target)&&i?.(j("press","touch",p))},[n,i,f,m,E,o]),Me=(0,L.useCallback)(p=>{if(n)return;(p.key==="Enter"||p.key===" ")&&!g&&(p.key===" "&&p.preventDefault(),o||$e(),E(!0),v.current=!0,c?.(j("pressstart","keyboard",p)))},[n,g,c,E,o]),ie=(0,L.useCallback)(p=>{if(n)return;if((p.key==="Enter"||p.key===" ")&&g){E(!1),v.current=!1,o||te();let z=j("pressend","keyboard",p);f?.(z),m?.(j("pressup","keyboard",p)),i?.(j("press","keyboard",p))}},[n,g,i,f,m,E,o]),Q=(0,L.useCallback)(p=>{if(n){p.preventDefault();return}C.current||_?.(p)},[n,_]);(0,L.useEffect)(()=>()=>{window.removeEventListener("mouseup",F),window.removeEventListener("touchend",H),window.removeEventListener("touchcancel",q)},[F,H,q]);let fe=(0,L.useMemo)(()=>({onMouseDown:V,onMouseUp:B,onMouseLeave:G,onMouseEnter:le,onTouchStart:xe,onTouchEnd:A,onKeyDown:Me,onKeyUp:ie,onClick:Q}),[V,B,G,le,xe,A,Me,ie,Q]);return(0,L.useEffect)(()=>{let p=u?.current;p&&p instanceof ee(p).Element&&ee(p).getComputedStyle(p).touchAction==="auto"&&(p.style.touchAction="pan-x pan-y pinch-zoom")},[u]),{pressProps:fe,isPressed:g}}var In=U(O(),1);function fo(e){let{className:n,style:r,children:o,defaultClassName:u="necto",defaultChildren:i,defaultStyle:c,values:f}=e;return(0,In.useMemo)(()=>{let a=typeof n=="function"?n({...f,defaultClassName:u}):`${u} ${n}`,m=typeof r=="function"?r({...f,defaultStyle:c||{}}):{...c,...r},_=typeof o=="function"?o({...f,defaultChildren:i}):o??i;return{className:a,style:m,children:_}},[n,r,o,u,i,c,f])}var kn=U(O(),1);function lt(e){let{context:n,slot:r}=e,o=(0,kn.useContext)(n);if(r===null)return null;if(o&&typeof o=="object"&&"slots"in o&&o.slots){let u=r||Symbol("default");if(!o.slots[u]){let i=new Intl.ListFormat().format(Object.keys(o.slots).map(f=>`"${f}"`)),c=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(`${c} Valid slot names are ${i}.`)}return o.slots[u]}return o}var Nn=U(O(),1);function Tt(e={}){let{ref:n,context:r}=e;(typeof document<"u"?Nn.useLayoutEffect:()=>{})(()=>{if(r&&r.ref&&n)return r.ref.current=n.current,()=>{r.ref&&(r.ref.current=null)}})}var ge=U(O(),1);function Re(e){let{onBlur:n}=e,r=(0,ge.useRef)({isFocused:!1,observer:null});(0,ge.useLayoutEffect)(()=>{let u=r.current;return()=>{u.observer&&(u.observer.disconnect(),u.observer=null)}},[]);let o=We(u=>{n?.(u)});return(0,ge.useCallback)(u=>{if(u.target instanceof HTMLButtonElement||u.target instanceof HTMLInputElement||u.target instanceof HTMLTextAreaElement||u.target instanceof HTMLSelectElement){r.current.isFocused=!0;let i=u.target,c=f=>{if(r.current.isFocused=!1,i.disabled){let a=Qe(f);o(a)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};i.addEventListener("focusout",c,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&i.disabled){r.current.observer?.disconnect();let f=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:f})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:f}))}}),r.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[o])}var ue=U(O(),1);function We(e){let n=(0,ue.useRef)(e);return(typeof window<"u"?ue.useLayoutEffect:ue.useEffect)(()=>{n.current=e},[e]),(0,ue.useCallback)((...r)=>n.current(...r),[])}var Xe=U(O(),1);function Su(e){let n=Lt(),[r,o]=(0,Xe.useState)(!1);return(0,Xe.useEffect)(()=>{n()&&o(!!e())},[e,n]),r}})();
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),t}function Me(){}function ie(t){if(De===null)try{var s=("require"+Math.random()).slice(0,7);De=(je&&je[s]).call(je,"timers").setImmediate}catch{De=function(d){Qt===!1&&(Qt=!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 y=new MessageChannel;y.port1.onmessage=d,y.port2.postMessage(void 0)}}return De(t)}function Q(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function fe(t,s){s!==Fe-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. "),Fe=s}function p(t,s,l){var d=_.actQueue;if(d!==null)if(d.length!==0)try{F(d),ie(function(){return p(t,s,l)});return}catch(y){_.thrownErrors.push(y)}else _.actQueue=null;0<_.thrownErrors.length?(d=Q(_.thrownErrors),_.thrownErrors.length=0,l(d)):s(t)}function F(t){if(!rt){rt=!0;var s=0;try{for(;s<t.length;s++){var l=t[s];do{_.didUsePromise=!1;var d=l(!1);if(d!==null){if(_.didUsePromise){t[s]=l,t.splice(0,s);return}l=d}else break}while(!0)}t.length=0}catch(y){t.splice(0,s+1),_.thrownErrors.push(y)}finally{rt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var z=Symbol.for("react.transitional.element"),xt=Symbol.for("react.portal"),Je=Symbol.for("react.fragment"),Ut=Symbol.for("react.strict_mode"),It=Symbol.for("react.profiler");Symbol.for("react.provider");var et=Symbol.for("react.consumer"),Dt=Symbol.for("react.context"),Ft=Symbol.for("react.forward_ref"),Nt=Symbol.for("react.suspense"),br=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),hr=Symbol.for("react.activity"),kt=Symbol.iterator,Ht={},jt={isMounted:function(){return!1},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t){r(t,"replaceState")},enqueueSetState:function(t){r(t,"setState")}},Bt=Object.assign,nt={};Object.freeze(nt),o.prototype.isReactComponent={},o.prototype.setState=function(t,s){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,s,"setState")},o.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};var K={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)."]},Ue;for(Ue in K)K.hasOwnProperty(Ue)&&e(Ue,K[Ue]);u.prototype=o.prototype,K=i.prototype=new u,K.constructor=i,Bt(K,o.prototype),K.isPureReactComponent=!0;var Wt=Array.isArray,Tr=Symbol.for("react.client.reference"),_={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ie=Object.prototype.hasOwnProperty,Vt=console.createTask?console.createTask:function(){return null};K={"react-stack-bottom-frame":function(t){return t()}};var Kt,Gt,Yt={},Rr=K["react-stack-bottom-frame"].bind(K,g)(),_r=Vt(m(g)),$t=!1,qt=/\/+/g,zt=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Qt=!1,De=null,Fe=0,Ne=!1,rt=!1,Xt=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:ie;K=Object.freeze({__proto__:null,c:function(t){return x().useMemoCache(t)}}),b.Children={map:q,forEach:function(t,s,l){q(t,function(){s.apply(this,arguments)},l)},count:function(t){var s=0;return q(t,function(){s++}),s},toArray:function(t){return q(t,function(s){return s})||[]},only:function(t){if(!D(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},b.Component=o,b.Fragment=Je,b.Profiler=It,b.PureComponent=i,b.StrictMode=Ut,b.Suspense=Nt,b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,b.__COMPILER_RUNTIME=K,b.act=function(t){var s=_.actQueue,l=Fe;Fe++;var d=_.actQueue=s!==null?s:[],y=!1;try{var w=t()}catch(R){_.thrownErrors.push(R)}if(0<_.thrownErrors.length)throw fe(s,l),t=Q(_.thrownErrors),_.thrownErrors.length=0,t;if(w!==null&&typeof w=="object"&&typeof w.then=="function"){var T=w;return Xt(function(){y||Ne||(Ne=!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(R,X){y=!0,T.then(function(pe){if(fe(s,l),l===0){try{F(d),ie(function(){return p(pe,R,X)})}catch(Pr){_.thrownErrors.push(Pr)}if(0<_.thrownErrors.length){var wr=Q(_.thrownErrors);_.thrownErrors.length=0,X(wr)}}else R(pe)},function(pe){fe(s,l),0<_.thrownErrors.length&&(pe=Q(_.thrownErrors),_.thrownErrors.length=0),X(pe)})}}}var C=w;if(fe(s,l),l===0&&(F(d),d.length!==0&&Xt(function(){y||Ne||(Ne=!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(() => ...)"))}),_.actQueue=null),0<_.thrownErrors.length)throw t=Q(_.thrownErrors),_.thrownErrors.length=0,t;return{then:function(R,X){y=!0,l===0?(_.actQueue=d,ie(function(){return p(C,R,X)})):R(C)}}},b.cache=function(t){return function(){return t.apply(null,arguments)}},b.captureOwnerStack=function(){var t=_.getCurrentStack;return t===null?null:t()},b.cloneElement=function(t,s,l){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var d=Bt({},t.props),y=t.key,w=t._owner;if(s!=null){var T;e:{if(Ie.call(s,"ref")&&(T=Object.getOwnPropertyDescriptor(s,"ref").get)&&T.isReactWarning){T=!1;break e}T=s.ref!==void 0}T&&(w=P()),I(s)&&(f(s.key),y=""+s.key);for(C in s)!Ie.call(s,C)||C==="key"||C==="__self"||C==="__source"||C==="ref"&&s.ref===void 0||(d[C]=s[C])}var C=arguments.length-2;if(C===1)d.children=l;else if(1<C){T=Array(C);for(var R=0;R<C;R++)T[R]=arguments[R+2];d.children=T}for(d=v(t.type,y,void 0,void 0,w,d,t._debugStack,t._debugTask),y=2;y<arguments.length;y++)w=arguments[y],D(w)&&w._store&&(w._store.validated=1);return d},b.createContext=function(t){return t={$$typeof:Dt,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:et,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},b.createElement=function(t,s,l){for(var d=2;d<arguments.length;d++){var y=arguments[d];D(y)&&y._store&&(y._store.validated=1)}if(d={},y=null,s!=null)for(R in Gt||!("__self"in s)||"key"in s||(Gt=!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")),I(s)&&(f(s.key),y=""+s.key),s)Ie.call(s,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&(d[R]=s[R]);var w=arguments.length-2;if(w===1)d.children=l;else if(1<w){for(var T=Array(w),C=0;C<w;C++)T[C]=arguments[C+2];Object.freeze&&Object.freeze(T),d.children=T}if(t&&t.defaultProps)for(R in w=t.defaultProps,w)d[R]===void 0&&(d[R]=w[R]);y&&S(d,typeof t=="function"?t.displayName||t.name||"Unknown":t);var R=1e4>_.recentlyCreatedOwnerStacks++;return v(t,y,void 0,void 0,P(),d,R?Error("react-stack-top-frame"):Rr,R?Vt(m(t)):_r)},b.createRef=function(){var t={current:null};return Object.seal(t),t},b.forwardRef=function(t){t!=null&&t.$$typeof===tt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof t!="function"?console.error("forwardRef requires a render function but was given %s.",t===null?"null":typeof t):t.length!==0&&t.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",t.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),t!=null&&t.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var s={$$typeof:Ft,render:t},l;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(d){l=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),s},b.isValidElement=D,b.lazy=function(t){return{$$typeof:xe,_payload:{_status:-1,_result:t},_init:Ae}},b.memo=function(t,s){t==null&&console.error("memo: The first argument must be a component. Instead received: %s",t===null?"null":typeof t),s={$$typeof:tt,type:t,compare:s===void 0?null:s};var l;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(d){l=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),s},b.startTransition=function(t){var s=_.T,l={};_.T=l,l._updatedFibers=new Set;try{var d=t(),y=_.S;y!==null&&y(l,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&d.then(Me,zt)}catch(w){zt(w)}finally{s===null&&l._updatedFibers&&(t=l._updatedFibers.size,l._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),_.T=s}},b.unstable_useCacheRefresh=function(){return x().useCacheRefresh()},b.use=function(t){return x().use(t)},b.useActionState=function(t,s,l){return x().useActionState(t,s,l)},b.useCallback=function(t,s){return x().useCallback(t,s)},b.useContext=function(t){var s=x();return t.$$typeof===et&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),s.useContext(t)},b.useDebugValue=function(t,s){return x().useDebugValue(t,s)},b.useDeferredValue=function(t,s){return x().useDeferredValue(t,s)},b.useEffect=function(t,s,l){t==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var d=x();if(typeof l=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return d.useEffect(t,s)},b.useId=function(){return x().useId()},b.useImperativeHandle=function(t,s,l){return x().useImperativeHandle(t,s,l)},b.useInsertionEffect=function(t,s){return t==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),x().useInsertionEffect(t,s)},b.useLayoutEffect=function(t,s){return t==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),x().useLayoutEffect(t,s)},b.useMemo=function(t,s){return x().useMemo(t,s)},b.useOptimistic=function(t,s){return x().useOptimistic(t,s)},b.useReducer=function(t,s,l){return x().useReducer(t,s,l)},b.useRef=function(t){return x().useRef(t)},b.useState=function(t){return x().useState(t)},b.useSyncExternalStore=function(t,s,l){return x().useSyncExternalStore(t,s,l)},b.useTransition=function(){return x().useTransition()},b.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var O=ke((ns,lt)=>{"use strict";process.env.NODE_ENV==="production"?lt.exports=fn():lt.exports=pn()});var dt=ke((cs,En)=>{"use strict";var pt=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyNames,Qr=Object.prototype.hasOwnProperty,Xr=(e,n)=>{for(var r in n)pt(e,r,{get:n[r],enumerable:!0})},Zr=(e,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of zr(n))!Qr.call(e,u)&&u!==r&&pt(e,u,{get:()=>n[u],enumerable:!(o=qr(n,u))||o.enumerable});return e},Jr=e=>Zr(pt({},"__esModule",{value:!0}),e),dn={};Xr(dn,{DisabledContext:()=>mn,DisabledProvider:()=>no,FocusableContext:()=>oo});En.exports=Jr(dn);var eo=O(),mn=(0,eo.createContext)(new Object),to=O();function no({value:e,children:n}){return(0,to.createElement)(mn.Provider,{value:e||new Object},n)}var ro=O(),oo=(0,ro.createContext)(null)});var Be=U(O(),1);function be(...e){if(e.length===0)return{};if(e.length===1)return typeof e[0]=="object"&&e[0]!==null?e[0]:{};let n={},r={};for(let o of e)if(!(typeof o!="object"||o===null)){for(let u in o)if(Object.hasOwn(o,u)){if(u==="children")continue;let i=o[u];u.startsWith("on")&&typeof i=="function"?(r[u]??=[],r[u].push(i)):n[u]=i}}for(let o in r)Object.hasOwn(r,o)&&r[o].length>0&&(n[o]=(...u)=>{for(let i of r[o])i?.(...u)});for(let o=e.length-1;o>=0;o--){let u=e[o];if(typeof u=="object"&&u!==null&&"children"in u){n.children=u.children;break}}return n}function $r({props:e,ref:n,context:r}){let o=ft({context:r,slot:e.slot})||{},{ref:u=null,...i}=o,c=(0,Be.useRef)(null),f=(0,Be.useCallback)(m=>{c.current=m,typeof n=="function"?n(m):n&&(n.current=m),typeof u=="function"?u(m):u&&typeof u=="object"&&(u.current=m)},[n,u]),a=be(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?a.style=m=>{let P=typeof i.style=="function"?i.style(m):i.style,g={...m.defaultStyle,...P},I=typeof e.style=="function"?e.style({...m,defaultStyle:g}):e.style;return{...g,...I}}:a.style={...i.style,...e.style}),[a,f]}var yn=U(O(),1),vn=U(dt(),1);function mt(e={}){let{type:n="general",defaultFallback:r=!1}=e;return((0,yn.useContext)(vn.DisabledContext)||{})[n]??r}var gn=U(O(),1);function so(e={}){let{type:n="general",extraProps:r={}}=e,o=mt({type:n,defaultFallback:!1});return(0,gn.useMemo)(()=>{let u={...r};return o&&(u={...u,...typeof r.onClick=="function"||typeof r.onChange=="function"?{disabled:o}:{},"aria-disabled":o}),u},[o,r])}var Y=U(O(),1);function uo(e={}){let{partialVisibility:n=!1,threshold:r=0,rootMargin:o="0px",root:u=null,active:i=!0,once:c=!1,onChange:f}=e,[a,m]=(0,Y.useState)(null),[P,g]=(0,Y.useState)(!1),[I,S]=(0,Y.useState)(null),A=(0,Y.useRef)(!1),v=(0,Y.useRef)(null),E=We(V=>{let B=V[0],$=B.isIntersecting,le={isIntersecting:B.isIntersecting,intersectionRatio:B.intersectionRatio,intersectionRect:B.intersectionRect,boundingClientRect:B.boundingClientRect,rootBounds:B.rootBounds,time:B.time};S(le),g(H=>c&&A.current?!0:$&&c?(A.current=!0,H!==!0&&f&&f(!0),!0):H!==$?(f&&f($),$):H)}),D=(0,Y.useCallback)(V=>{m(V)},[]);return(0,Y.useEffect)(()=>{if(!i||!a)return;let V;return n===!0?V=[0,.1,.25,.5,.75,1]:typeof n=="string"?V=.01:V=r,v.current=new IntersectionObserver(E,{root:u,rootMargin:o,threshold:V}),v.current.observe(a),()=>{v.current&&v.current.disconnect()}},[i,a,u,o,r,n]),[D,P,I]}var qe=U(O(),1);var io=Object.defineProperty,Ve=(e,n)=>{for(var r in n)io(e,r,{get:n[r],enumerable:!0})},Et={};Ve(Et,{HTML_TAGS:()=>hn,PRIMITIVE_TAGS:()=>bn,default:()=>ao});var bn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],hn=["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"],ao={PRIMITIVE_TAGS:bn,HTML_TAGS:hn},co={};Ve(co,{NUMERIC_DIGITS:()=>Tn,default:()=>lo});var Tn=["1","2","3","4","5","6","7","8","9","0"],lo={NUMERIC_DIGITS:Tn},fo={};Ve(fo,{AMPERSAND:()=>Mn,ASTERISK:()=>Un,BACKSLASH:()=>Kn,BOM:()=>Rn,CARRIAGE_RETURN:()=>Pn,COLON:()=>kn,COMMA:()=>Dn,COMMERCIAL_AT:()=>Wn,DOT:()=>Nn,DOUBLE_QUOTE:()=>On,EXCLAMATION:()=>Sn,GRAVE_ACCENT:()=>Yn,GREATER_THAN:()=>jn,LEFT_CURLY_BRACKET:()=>$n,LEFT_SQUARE_BRACKET:()=>Vn,LINE_FEED:()=>wn,MINUS:()=>Fn,PERCENT:()=>An,PLUS:()=>In,QUESTION:()=>Bn,RIGHT_CURLY_BRACKET:()=>zn,RIGHT_SQUARE_BRACKET:()=>Gn,SHARP:()=>Ln,SINGLE_QUOTE:()=>xn,SMALLER_THAN:()=>Hn,SPACE:()=>Cn,TAB:()=>_n,VERTICAL_LINE:()=>qn,default:()=>po});var Rn=65279,_n=9,wn=10,Pn=13,Cn=32,Sn=33,On=34,Ln=35,An=37,Mn=38,xn=39,Un=42,In=43,Dn=44,Fn=45,Nn=46,kn=58,Hn=60,jn=62,Bn=63,Wn=64,Vn=91,Kn=92,Gn=93,Yn=96,$n=123,qn=124,zn=125,po={BOM:Rn,TAB:_n,LINE_FEED:wn,CARRIAGE_RETURN:Pn,SPACE:Cn,EXCLAMATION:Sn,DOUBLE_QUOTE:On,SHARP:Ln,PERCENT:An,AMPERSAND:Mn,SINGLE_QUOTE:xn,ASTERISK:Un,PLUS:In,COMMA:Dn,MINUS:Fn,DOT:Nn,COLON:kn,SMALLER_THAN:Hn,GREATER_THAN:jn,QUESTION:Bn,COMMERCIAL_AT:Wn,LEFT_SQUARE_BRACKET:Vn,BACKSLASH:Kn,RIGHT_SQUARE_BRACKET:Gn,GRAVE_ACCENT:Yn,LEFT_CURLY_BRACKET:$n,VERTICAL_LINE:qn,RIGHT_CURLY_BRACKET:zn},mo={};Ve(mo,{CAPITALIZED:()=>Qn,LOWERCASE:()=>Xn,VOWELS:()=>Zn,default:()=>Eo});var Qn=["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"],Xn=["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"],Zn=["A","E","I","O","U","a","e","i","o","u"],Eo={CAPITALIZED:Qn,LOWERCASE:Xn,VOWELS:Zn};function yo(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var vo=()=>yo(/^Mac/i);function Jn(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):!1}var go=()=>Jn(/^iPhone/i),bo=()=>Jn(/^iPad/i)||vo()&&navigator.maxTouchPoints>1,yt=()=>go()||bo();function ho(e){return To(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}function To(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Ge(e,n,r=!0){if(!e||!n)return!1;if(!r)return e.contains(n);let o=n;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 J=(e=document,n=!0)=>{if(!n)return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&r.shadowRoot?.activeElement;)r=r.shadowRoot.activeElement;return r};function Ye(e,n=!0){return n&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}var N=e=>e?.ownerDocument??document,ee=e=>e&&"window"in e&&e.window===e?e:N(e).defaultView||window,Ke=null;function Ro(){if(Ke==null){Ke=!1;try{document.createElement("div").focus({get preventScroll(){return Ke=!0,!0}})}catch{}}return Ke}function bt(e){if(Ro())e.focus({preventScroll:!0});else{let n=_o(e);e.focus();for(let{element:r,scrollTop:o,scrollLeft:u}of n)r.scrollTop=o,r.scrollLeft=u}}function _o(e){let n=e.parentNode,r=Array.from({length:0}),o=document.scrollingElement||document.documentElement;for(;n instanceof HTMLElement&&n!==o;)(n.offsetHeight<n.scrollHeight||n.offsetWidth<n.scrollWidth)&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),n=n.parentNode;return o instanceof HTMLElement&&r.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),r}var Z=new Map,vt=new Set;function wo(e){if(!("propertyName"in e)||!e.target)return;let n=Z.get(e.target);n||(n=new Set,Z.set(e.target,n),e.target.addEventListener("transitioncancel",ht,{once:!0})),n.add(e.propertyName)}function ht(e){if(!("propertyName"in e)||!e.target)return;let n=Z.get(e.target);if(n&&(n.delete(e.propertyName),n.size===0&&(e.target.removeEventListener("transitioncancel",ht),Z.delete(e.target)),Z.size===0)){for(let r of vt)r();vt.clear()}}if(typeof window<"u"&&typeof document<"u"){let e=()=>{let n=document.body;n&&(n.addEventListener("transitionrun",wo),n.addEventListener("transitionend",ht))};document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e,{once:!0})}function Tt(e){requestAnimationFrame(()=>{for(let[n]of Z)"isConnected"in n&&!n.isConnected&&Z.delete(n);Z.size===0?e():vt.add(e)})}var ws=Et.HTML_TAGS.reduce((e,n)=>{var r;return e[r=n,r.charAt(0).toUpperCase()+r.slice(1)]=n,e},{}),Ee="default",gt="",he=new WeakMap;function $e(e){if(yt()){if(Ee==="default"){let n=N(e);n?.documentElement?.style.webkitUserSelect!==void 0&&(gt=n.documentElement.style.webkitUserSelect,n.documentElement.style.webkitUserSelect="none",Ee="disabled")}}else if(e instanceof HTMLElement||e instanceof SVGElement){let n=e.style,r="userSelect"in n?"userSelect":"webkitUserSelect";he.has(e)||(he.set(e,n[r]??""),n[r]="none")}}function te(e){if(yt()){if(Ee!=="disabled")return;Ee="restoring",setTimeout(()=>{Tt(()=>{if(Ee==="restoring"){let n=N(e);n?.documentElement?.style.webkitUserSelect==="none"&&(n.documentElement.style.webkitUserSelect=gt||""),gt="",Ee="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&he.has(e)){let n=he.get(e)??"",r=e.style,o="userSelect"in r?"userSelect":"webkitUserSelect";r[o]==="none"&&(r[o]=n),e.getAttribute("style")?.trim()===""&&e.removeAttribute("style"),he.delete(e)}}function Te(e={}){let{isDisabled:n,onFocus:r,onBlur:o,onFocusChange:u}=e,i=(0,qe.useCallback)((m,P)=>{m?(r?.(P),u?.(!0)):(o?.(P),u?.(!1))},[r,o,u]),c=(0,qe.useCallback)(m=>{m.target===m.currentTarget&&i(!1,m)},[i]),f=Re({onBlur:c}),a=(0,qe.useCallback)(m=>{let P=N(m.target),g=P?J(P):J();m.target===m.currentTarget&&g===Ye(m.nativeEvent)&&(i(!0,m),f(m))},[i,f]);return{focusProps:{...n?{}:{onFocus:a,onBlur:c}}}}var ye=U(O(),1),er=U(dt(),1);function Po(e,n){let{autoFocus:r,isDisabled:o,excludeFromTabOrder:u}=e,{focusProps:i}=Te(e),{keyboardProps:c}=Rt(e),f=(0,ye.useContext)(er.FocusableContext)||{},a=(0,ye.useRef)(r);_t({context:f,ref:n});let{ref:m,...P}=f,g=N(n.current),I=J(g);(0,ye.useEffect)(()=>{if(a.current&&n.current)if(_e()==="virtual"){let A=I;Tt(()=>{J(g)===A&&n.current?.isConnected&&bt(n.current)})}else bt(n.current);a.current=!1},[n]);let S=u?-1:0;return o&&(S=void 0),{focusableProps:be({...be(i??{},c),tabIndex:S},o?{}:P)}}var ne=U(O(),1);var Co=null;function So(e={}){let{within:n=!1,isTextInput:r=!1,autoFocus:o=!1}=e,u=(0,ne.useRef)({isFocused:o,isFocusVisible:o||Co!=="pointer"}),[i,c]=(0,ne.useState)(o),[f,a]=(0,ne.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),m=(0,ne.useCallback)(()=>{a(u.current.isFocused&&u.current.isFocusVisible)},[]),P=(0,ne.useCallback)(S=>{u.current.isFocused=S,c(S),m()},[m]);we({fn:S=>{u.current.isFocusVisible=S,m()},deps:[],opts:{isTextInput:r}});let{focusProps:g={}}=Te({isDisabled:n,onFocusChange:P})||{},{focusWithinProps:I={}}=wt({isDisabled:!n,onFocusWithinChange:P})||{};return{isFocused:i,isFocusVisible:f,focusProps:n?I:g}}var tr=U(O(),1);function Oo(e={}){let{isTextInput:n,autoFocus:r}=e,[o,u]=(0,tr.useState)(r||_e()!=="pointer");return we({fn:i=>u(i),deps:[n],opts:{isTextInput:n}}),{isFocusVisible:o}}var ve=new Map,ze=new Set,nr=!1,Pt=null,rr=!1,k={get hasEventBeforeFocus(){return nr},set hasEventBeforeFocus(e){nr=e},get hasBlurredWindowRecently(){return rr},set hasBlurredWindowRecently(e){rr=e},get currentModality(){return Pt},set currentModality(e){Pt=e}};function _e(){return Pt}var Ko={},Qe=Object.create(null),Pe=e=>globalThis.process?.env||Ko.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?Qe:globalThis),re=new Proxy(Qe,{get(e,n){return Pe()[n]??Qe[n]},has(e,n){let r=Pe();return n in r||n in Qe},set(e,n,r){let o=Pe(!0);return o[n]=r,!0},deleteProperty(e,n){if(!n)return!1;let r=Pe(!0);return delete r[n],!0},ownKeys(){let e=Pe(!0);return Object.keys(e)}}),sr=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",Lo=[["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 Ao(){if(globalThis.process?.env)for(let e of Lo){let n=e[1]||e[0];if(globalThis.process?.env[n])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 ur=Ao(),zs=ur.name;function ae(e){return e?e!=="false":!1}var Ct=globalThis.process?.platform||"",ir=ae(re.CI)||ur.ci!==!1,ar=ae(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);var Qs=ae(re.DEBUG),ce=sr==="test"||ae(re.TEST),cr=sr==="production";var Xs=ae(re.MINIMAL)||ir||ce||!ar,Mo=/^win/i.test(Ct),Zs=/^linux/i.test(Ct),lr=/^darwin/i.test(Ct),Js=!ae(re.NO_COLOR)&&(ae(re.FORCE_COLOR)||(ar||Mo)&&re.TERM!=="dumb"||ir),xo=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null,eu=Number(xo?.split(".")[0])||null,Uo=globalThis.process||Object.create(null),or={versions:{}},tu=new Proxy(Uo,{get(e,n){if(n==="env")return re;if(n in e)return e[n];if(n in or)return or[n]}}),Io=globalThis.process?.release?.name==="node",Do=!!globalThis.Bun||!!globalThis.process?.versions?.bun,Fo=!!globalThis.Deno,No=!!globalThis.fastly,ko=!!globalThis.Netlify,Ho=!!globalThis.EdgeRuntime,jo=globalThis.navigator?.userAgent==="Cloudflare-Workers",Bo=[[ko,"netlify"],[Ho,"edge-light"],[jo,"workerd"],[No,"fastly"],[Fo,"deno"],[Do,"bun"],[Io,"node"]];function Wo(){let e=Bo.find(n=>n[0]);if(e)return{name:e[1]}}var Vo=Wo(),nu=Vo?.name||"";var pr=U(O(),1);function St(e){if(!e)return;let n=!0;return r=>{let o={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){n&&cr?console.error("stopPropagation is now the default behavior for events in Necto. You can use continuePropagation() to revert this behavior."):n=!0},continuePropagation(){n=!1},isPropagationStopped(){return n}};e(o),n&&r.stopPropagation()}}function Xe(e){let n=e;return Object.assign(n,{nativeEvent:e,isDefaultPrevented:()=>n.defaultPrevented,isPropagationStopped:()=>n.cancelBubble,persist:()=>{}}),n}var Go=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),Yo={Tab:!0,Escape:!0};function fr(e,n,r){if(!r||!("target"in r)||!r.target)return!1;let o=N(r.target),u=ee(r.target),i=typeof window<"u"?u.HTMLInputElement:HTMLInputElement,c=typeof window<"u"?u.HTMLTextAreaElement:HTMLTextAreaElement,f=typeof window<"u"?u.HTMLElement:HTMLElement,a=typeof window<"u"?u.KeyboardEvent:KeyboardEvent,m=o.activeElement;return e=e||m instanceof i&&!Go.has(m.type)||m instanceof c||m instanceof f&&m.isContentEditable,!(e&&n==="keyboard"&&r instanceof a&&!Yo[r.key])}function Lt(e,n){ze.forEach(r=>r(e,n))}function $o(e){return!(e.metaKey||lr&&e.altKey||e.ctrlKey||["Control","Shift","Meta"].includes(e.key))}function dr(e){$o(e)&&(k.hasEventBeforeFocus=!0,k.currentModality="keyboard",Lt("keyboard",e))}function Ot(e){["mousedown","pointerdown"].includes(e.type)&&(k.hasEventBeforeFocus=!0,k.currentModality="pointer",Lt("pointer",e))}function mr(e){[window,document].includes(e.target)||!e.isTrusted||!k.hasEventBeforeFocus&&!k.hasBlurredWindowRecently||(!k.hasEventBeforeFocus&&!k.hasBlurredWindowRecently&&(k.currentModality="virtual",Lt("virtual",e)),k.hasEventBeforeFocus=!1,k.hasBlurredWindowRecently=!1)}function Er(){k.hasEventBeforeFocus=!1,k.hasBlurredWindowRecently=!0}function qo(e){let n=ee(e),r=N(e);if(typeof window>"u"||typeof document>"u"||ve.has(n))return;let o=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(...u){k.hasEventBeforeFocus=!0,o.apply(this,u)},r.addEventListener("keydown",dr,!0),r.addEventListener("click",Ot,!0),n.addEventListener("focus",mr,!0),n.addEventListener("blur",Er,!1),typeof PointerEvent<"u"&&r.addEventListener("pointerdown",Ot,!0),ve.set(n,{focus:o})}function zo(e){let n=ee(e),r=N(e);if(!ve.has(n))return;let{focus:o}=ve.get(n);n.HTMLElement.prototype.focus=o,r.removeEventListener("keydown",dr,!0),r.removeEventListener("click",Ot,!0),n.removeEventListener("focus",mr,!0),n.removeEventListener("blur",Er,!1),ve.delete(n)}function we(e){let{fn:n,deps:r,opts:o}=e;typeof window>"u"||typeof document>"u"||(qo(),(0,pr.useEffect)(()=>{let u=(i,c)=>{fr(!!o?.isTextInput,i,c)&&n(k.currentModality!=="pointer")};return ze.add(u),()=>{ze.delete(u),zo()}},r))}var Ce=U(O(),1);function wt(e){let{isDisabled:n,onFocusWithin:r,onBlurWithin:o,onFocusWithinChange:u}=e,i=(0,Ce.useRef)({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:f}=Se(),a=(0,Ce.useCallback)(g=>{g.currentTarget.contains(g.target)&&i.current.isFocusWithin&&!g.currentTarget.contains(g.relatedTarget)&&(i.current.isFocusWithin=!1,f(),o&&o(g),u&&u(!1))},[o,u,f]),m=Re({onBlur:a}),P=(0,Ce.useCallback)(g=>{if(!g.currentTarget.contains(g.target))return;let I=N(g.target),S=J(I);if(!i.current.isFocusWithin&&S===Ye(g.nativeEvent)){r&&r(g),u&&u(!0),i.current.isFocusWithin=!0,m(g);let A=g.currentTarget;c(I,"focus",v=>{if(i.current.isFocusWithin&&!Ge(A,v.target)&&I.defaultView&&typeof I.defaultView.FocusEvent=="function"){let E=new I.defaultView.FocusEvent("blur",{relatedTarget:v.target});Object.defineProperty(E,"target",{value:A}),Object.defineProperty(E,"currentTarget",{value:A});let D=Xe(E);a(D)}},{capture:!0})}},[r,u,m,c,a]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:P,onBlur:a}}}var oe=U(O(),1);function Se(){let e=(0,oe.useRef)(new Map),n=(0,oe.useCallback)((u,i,c,f)=>{let a=typeof f=="object"&&f?.once?(...m)=>{e.current.delete(c),c(...m)}:c;e.current.set(c,{type:i,eventTarget:u,options:f}),u.addEventListener(i,a,f)},[]),r=(0,oe.useCallback)((u,i,c,f)=>{let a=e.current.get(c),m=a?.options?.once?a.fn:c;u.removeEventListener(i,m,f),e.current.delete(c)},[]),o=(0,oe.useCallback)(()=>{e.current.forEach((u,i)=>{u.eventTarget.removeEventListener(u.type,i,u.options)}),e.current.clear()},[]);return(0,oe.useEffect)(()=>()=>o(),[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}}var W=U(O(),1);function Qo(e={}){let{onHoverStart:n,onHoverChange:r,onHoverEnd:o,isDisabled:u}=e,[i,c]=(0,W.useState)(!1),f=(0,W.useRef)({hoverCount:0,ignoreEmulated:!1}),a=(0,W.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current,{addGlobalListener:m,removeAllGlobalListeners:P}=Se(),g=(0,W.useCallback)(()=>{f.current.ignoreEmulated=!0,setTimeout(()=>{f.current.ignoreEmulated=!1},50)},[]);(0,W.useEffect)(()=>{let v=D=>{D.pointerType==="touch"&&g()};if(typeof document>"u")return;let E=f.current;return E.hoverCount++,typeof PointerEvent<"u"?document.addEventListener("pointerup",v):ce&&document.addEventListener("touchend",g),()=>{E.hoverCount--,E.hoverCount===0&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",v):ce&&document.removeEventListener("touchend",g))}},[g]);let I=(0,W.useCallback)((v,E)=>{u||E==="touch"||a.isHovered||!(v.currentTarget&&v.currentTarget.contains(v.target))||(a.isHovered=!0,a.pointerType=E,a.target=v.currentTarget,m(N(v.target instanceof Element?v.target:null),"pointerover",D=>{a.isHovered&&a.target&&!Ge(a.target,D.target)&&S(D,D.pointerType)},{capture:!0}),n?.({type:"hoverstart",target:v.currentTarget,pointerType:E}),r?.(!0),c(!0))},[u,n,r,m,a]),S=(0,W.useCallback)((v,E)=>{E==="touch"||!a.isHovered||!a.target||(a.isHovered=!1,a.pointerType="",a.target=null,P(),o?.({type:"hoverend",target:v.currentTarget,pointerType:E}),r?.(!1),c(!1))},[o,r,P,a.target,a]),A=(0,W.useMemo)(()=>{let v={};return typeof PointerEvent<"u"?(v.onPointerEnter=E=>{f.current.ignoreEmulated&&E.pointerType==="mouse"||I(E,E.pointerType)},v.onPointerLeave=E=>{!u&&E.currentTarget instanceof Element&&E.currentTarget.contains(E.target)&&S(E,E.pointerType)}):ce&&(v.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},v.onMouseEnter=E=>{!a.ignoreEmulatedMouseEvents&&!f.current.ignoreEmulated&&I(E.nativeEvent,"mouse"),a.ignoreEmulatedMouseEvents=!1},v.onMouseLeave=E=>{!u&&E.currentTarget.contains(E.target)&&S(E.nativeEvent,"mouse")}),v},[u,I,S,a]);return(0,W.useEffect)(()=>{u&&a.isHovered&&S({currentTarget:a.target},a.pointerType)},[u,S,a.isHovered,a.pointerType,a.target]),{hoverProps:A,isHovered:i}}var At={prefix:String(Math.round(Math.random()*1e10)),current:0},Oe=new Map,Le=typeof FinalizationRegistry<"u"?new FinalizationRegistry(e=>{Oe.delete(e)}):null;var G=U(O(),1);function Xo(e={}){let{prefix:n="necto",defaultId:r}=e,[o,u]=(0,G.useState)(()=>r),i=(0,G.useRef)(null),c=(0,G.useRef)({}),f=(()=>{if(r)return r;let a=typeof G.default.useId=="function"?(0,G.useId)():String(++At.current);return`${ce?n:`${n}${At.prefix}`}-${a}`})();return(0,G.useEffect)(()=>{if(typeof window<"u"&&window.document?.createElement){let a=Oe.get(f)||[],m={current:i.current};a.some(P=>P===m)||Oe.set(f,[...a,m])}return Le&&Le.register(c.current,f),()=>{Le&&Le.unregister(c.current),Oe.delete(f)}},[f]),(0,G.useEffect)(()=>{let a=i.current;a&&(u(a),i.current=null)},[]),f}function Rt(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:e.onKeyDown?St(n=>e.onKeyDown?.(n.nativeEvent)):void 0,onKeyUp:e.onKeyUp?St(n=>e.onKeyUp?.(n.nativeEvent)):void 0}}}var se=U(O(),1);function Mt(e={}){let{type:n="function"}=e,r=(0,se.useRef)(!1),[o,u]=(0,se.useState)(!1),i=(0,se.useCallback)(()=>r.current,[]);return(0,se.useEffect)(()=>(r.current=!0,u(!0),()=>{r.current=!1,u(!1)}),[]),n==="ref"?r:n==="boolean"?o:i}var L=U(O(),1);function j(e,n,r){return{type:e,pointerType:n,target:r.currentTarget??r.target,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey}}function Zo(e={}){let{isDisabled:n,preventFocusOnPress:r,allowTextSelectionOnPress:o,ref:u,onPress:i,onPressStart:c,onPressEnd:f,onPressChange:a,onPressUp:m,onClick:P}=e,[g,I]=(0,L.useState)(!1),S=(0,L.useRef)(!1),A=(0,L.useRef)(null),v=(0,L.useRef)(!1),E=(0,L.useCallback)(p=>{g!==p&&(I(p),a?.(p))},[g,a]),D=(0,L.useCallback)(p=>{if(!v.current)return;let F=A.current&&A.current instanceof Node&&p.target instanceof Node&&A.current.contains(p.target);if(v.current=!1,E(!1),!o&&A.current instanceof HTMLElement&&te(A.current),p.target){let z={...j("pressend","mouse",p),target:p.target};f?.(z),m?.(z),F&&i?.(z)}},[f,m,i,E,o]),V=(0,L.useCallback)(p=>{if(n||p.button!==0||S.current)return;r&&p.preventDefault(),o||$e(p.currentTarget),v.current=!0,A.current=p.currentTarget,E(!0);let F=j("pressstart","mouse",p);c?.(F),window.addEventListener("mouseup",D,{once:!0})},[n,r,o,c,E,D]),B=(0,L.useCallback)(p=>{if(n||p.button!==0||!v.current)return;v.current=!1,E(!1),!o&&p.currentTarget instanceof HTMLElement&&te(p.currentTarget);let F=j("pressend","mouse",p);f?.(F),m?.(F),p.currentTarget instanceof Node&&p.currentTarget.contains(p.target)&&i?.(j("press","mouse",p))},[n,i,f,m,E,o]),$=(0,L.useCallback)(p=>{g&&(E(!1),f?.(j("pressend","mouse",p)),!o&&p.currentTarget instanceof HTMLElement&&te(p.currentTarget))},[g,E,f,o]),le=(0,L.useCallback)(p=>{v.current&&!g&&(E(!0),c?.(j("pressstart","mouse",p)))},[g,c,E]),H=(0,L.useCallback)(p=>{if(!v.current)return;v.current=!1,E(!1),!o&&A.current instanceof HTMLElement&&te(A.current);let F={...j("pressend","touch",p),target:p.target};f?.(F),m?.(F)},[f,m,E,o]),q=(0,L.useCallback)(p=>{if(!v.current)return;v.current=!1,E(!1),!o&&A.current instanceof HTMLElement&&te(A.current);let F={...j("pressend","touch",p),target:p.target};f?.(F)},[f,E,o]),Ae=(0,L.useCallback)(p=>{n||(o||$e(p.currentTarget),S.current=!0,setTimeout(()=>{S.current=!1},100),v.current=!0,A.current=p.currentTarget,E(!0),c?.(j("pressstart","touch",p)),window.addEventListener("touchend",H,{once:!0}),window.addEventListener("touchcancel",q,{once:!0}))},[n,c,E,o,H,q]),x=(0,L.useCallback)(p=>{if(n||!v.current)return;v.current=!1,E(!1),!o&&p.currentTarget instanceof HTMLElement&&te(p.currentTarget);let F=j("pressend","touch",p);f?.(F),m?.(F),p.currentTarget instanceof Node&&p.currentTarget.contains(p.target)&&i?.(j("press","touch",p))},[n,i,f,m,E,o]),Me=(0,L.useCallback)(p=>{if(n)return;(p.key==="Enter"||p.key===" ")&&!g&&(p.key===" "&&p.preventDefault(),o||$e(),E(!0),v.current=!0,c?.(j("pressstart","keyboard",p)))},[n,g,c,E,o]),ie=(0,L.useCallback)(p=>{if(n)return;if((p.key==="Enter"||p.key===" ")&&g){E(!1),v.current=!1,o||te();let z=j("pressend","keyboard",p);f?.(z),m?.(j("pressup","keyboard",p)),i?.(j("press","keyboard",p))}},[n,g,i,f,m,E,o]),Q=(0,L.useCallback)(p=>{if(n){p.preventDefault();return}S.current||P?.(p)},[n,P]);(0,L.useEffect)(()=>()=>{window.removeEventListener("mouseup",D),window.removeEventListener("touchend",H),window.removeEventListener("touchcancel",q)},[D,H,q]);let fe=(0,L.useMemo)(()=>({onMouseDown:V,onMouseUp:B,onMouseLeave:$,onMouseEnter:le,onTouchStart:Ae,onTouchEnd:x,onKeyDown:Me,onKeyUp:ie,onClick:Q}),[V,B,$,le,Ae,x,Me,ie,Q]);return(0,L.useEffect)(()=>{let p=u?.current;p&&p instanceof ee(p).Element&&ee(p).getComputedStyle(p).touchAction==="auto"&&(p.style.touchAction="pan-x pan-y pinch-zoom")},[u]),{pressProps:fe,isPressed:g}}var yr=U(O(),1);function Jo(e){let{className:n,style:r,children:o,defaultClassName:u="necto",defaultChildren:i,defaultStyle:c,values:f}=e;return(0,yr.useMemo)(()=>{let a=typeof n=="function"?n({...f,defaultClassName:u}):`${u} ${n}`,m=typeof r=="function"?r({...f,defaultStyle:c||{}}):{...c,...r},P=typeof o=="function"?o({...f,defaultChildren:i}):o??i;return{className:a,style:m,children:P}},[n,r,o,u,i,c,f])}var vr=U(O(),1);function ft(e){let{context:n,slot:r}=e,o=(0,vr.useContext)(n);if(r===null)return null;if(o&&typeof o=="object"&&"slots"in o&&o.slots){let u=r||Symbol("default");if(!o.slots[u]){let i=new Intl.ListFormat().format(Object.keys(o.slots).map(f=>`"${f}"`)),c=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(`${c} Valid slot names are ${i}.`)}return o.slots[u]}return o}var gr=U(O(),1);function _t(e={}){let{ref:n,context:r}=e;(typeof document<"u"?gr.useLayoutEffect:()=>{})(()=>{if(r&&r.ref&&n)return r.ref.current=n.current,()=>{r.ref&&(r.ref.current=null)}})}var ge=U(O(),1);function Re(e){let{onBlur:n}=e,r=(0,ge.useRef)({isFocused:!1,observer:null});(0,ge.useLayoutEffect)(()=>{let u=r.current;return()=>{u.observer&&(u.observer.disconnect(),u.observer=null)}},[]);let o=We(u=>{n?.(u)});return(0,ge.useCallback)(u=>{if(u.target instanceof HTMLButtonElement||u.target instanceof HTMLInputElement||u.target instanceof HTMLTextAreaElement||u.target instanceof HTMLSelectElement){r.current.isFocused=!0;let i=u.target,c=f=>{if(r.current.isFocused=!1,i.disabled){let a=Xe(f);o(a)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};i.addEventListener("focusout",c,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&i.disabled){r.current.observer?.disconnect();let f=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:f})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:f}))}}),r.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[o])}var ue=U(O(),1);function We(e){let n=(0,ue.useRef)(e);return(typeof window<"u"?ue.useLayoutEffect:ue.useEffect)(()=>{n.current=e},[e]),(0,ue.useCallback)((...r)=>n.current(...r),[])}var Ze=U(O(),1);function fi(e){let n=Mt(),[r,o]=(0,Ze.useState)(!1);return(0,Ze.useEffect)(()=>{n()&&o(!!e())},[e,n]),r}})();
14
14
  /*! Bundled license information:
15
15
 
16
16
  react/cjs/react.production.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@necto-react/hooks",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "type": "module",
5
5
  "description": "Necto's standard library for providing utility hooks for React applications.",
6
6
  "files": [