@clicktap/ui 0.2.12 → 0.2.13
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/index.js +511 -527
- package/index.mjs +5907 -19551
- package/package.json +6 -4
package/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("react/jsx-runtime"),l=require("react"),j=require("styled-components"),st=require("framer-motion"),Mt=require("react-dom");function x4(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const bo=x4(l);var w4=()=>k.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[k.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),k.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]});function C4(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=bo.createContext(void 0);o.displayName=n;function a(){var i;const s=bo.useContext(o);if(!s&&t){const u=new Error(r);throw u.name="ContextError",(i=Error.captureStackTrace)==null||i.call(Error,u,a),u}return s}return[o.Provider,a,o]}function E4(e){return{UNSAFE_getDOMNode(){return e.current}}}function qa(e){const t=l.useRef(null);return l.useImperativeHandle(e,()=>t.current),t}var D4=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3);function zu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=zu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Er(...e){for(var t=0,r,n,o="";t<e.length;)(r=e[t++])&&(n=zu(r))&&(o&&(o+=" "),o+=n);return o}var bs={};function P4(e,t,...r){var n;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!bs[a]&&(bs[a]=!0,((n=process==null?void 0:process.env)==null?void 0:n.NODE_ENV)!=="production"))return console.warn(a,r)}function Uu(e){if(!e||typeof e!="object")return"";try{return JSON.stringify(e)}catch{return""}}process.env.NODE_ENV;process.env.NODE_ENV;function S4(e){return typeof e=="function"}var vt=e=>e?"true":void 0;function T4(e){const t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function k4(e,t){if(e!=null){if(S4(e)){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function M4(...e){return t=>{e.forEach(r=>k4(r,t))}}var A4=Object.create,Hu=Object.defineProperty,F4=Object.getOwnPropertyDescriptor,Gu=Object.getOwnPropertyNames,R4=Object.getPrototypeOf,B4=Object.prototype.hasOwnProperty,Vi=(e,t)=>function(){return t||(0,e[Gu(e)[0]])((t={exports:{}}).exports,t),t.exports},I4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gu(t))!B4.call(e,o)&&o!==r&&Hu(e,o,{get:()=>t[o],enumerable:!(n=F4(t,o))||n.enumerable});return e},L4=(e,t,r)=>(r=e!=null?A4(R4(e)):{},I4(t||!e||!e.__esModule?Hu(r,"default",{value:e,enumerable:!0}):r,e)),O4=Vi({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),b=Symbol.iterator;function p(w){return w===null||typeof w!="object"?null:(w=b&&w[b]||w["@@iterator"],typeof w=="function"?w:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,h={};function x(w,L,W){this.props=w,this.context=L,this.refs=h,this.updater=W||g}x.prototype.isReactComponent={},x.prototype.setState=function(w,L){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,L,"setState")},x.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function C(){}C.prototype=x.prototype;function E(w,L,W){this.props=w,this.context=L,this.refs=h,this.updater=W||g}var A=E.prototype=new C;A.constructor=E,$(A,x.prototype),A.isPureReactComponent=!0;var M=Array.isArray,R=Object.prototype.hasOwnProperty,K={current:null},m={key:!0,ref:!0,__self:!0,__source:!0};function O(w,L,W){var J,Q={},re=null,z=null;if(L!=null)for(J in L.ref!==void 0&&(z=L.ref),L.key!==void 0&&(re=""+L.key),L)R.call(L,J)&&!m.hasOwnProperty(J)&&(Q[J]=L[J]);var q=arguments.length-2;if(q===1)Q.children=W;else if(1<q){for(var te=Array(q),ae=0;ae<q;ae++)te[ae]=arguments[ae+2];Q.children=te}if(w&&w.defaultProps)for(J in q=w.defaultProps,q)Q[J]===void 0&&(Q[J]=q[J]);return{$$typeof:t,type:w,key:re,ref:z,props:Q,_owner:K.current}}function F(w,L){return{$$typeof:t,type:w.type,key:L,ref:w.ref,props:w.props,_owner:w._owner}}function T(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function B(w){var L={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(W){return L[W]})}var S=/\/+/g;function I(w,L){return typeof w=="object"&&w!==null&&w.key!=null?B(""+w.key):L.toString(36)}function V(w,L,W,J,Q){var re=typeof w;(re==="undefined"||re==="boolean")&&(w=null);var z=!1;if(w===null)z=!0;else switch(re){case"string":case"number":z=!0;break;case"object":switch(w.$$typeof){case t:case r:z=!0}}if(z)return z=w,Q=Q(z),w=J===""?"."+I(z,0):J,M(Q)?(W="",w!=null&&(W=w.replace(S,"$&/")+"/"),V(Q,L,W,"",function(ae){return ae})):Q!=null&&(T(Q)&&(Q=F(Q,W+(!Q.key||z&&z.key===Q.key?"":(""+Q.key).replace(S,"$&/")+"/")+w)),L.push(Q)),1;if(z=0,J=J===""?".":J+":",M(w))for(var q=0;q<w.length;q++){re=w[q];var te=J+I(re,q);z+=V(re,L,W,te,Q)}else if(te=p(w),typeof te=="function")for(w=te.call(w),q=0;!(re=w.next()).done;)re=re.value,te=J+I(re,q++),z+=V(re,L,W,te,Q);else if(re==="object")throw L=String(w),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.");return z}function N(w,L,W){if(w==null)return w;var J=[],Q=0;return V(w,J,"","",function(re){return L.call(W,re,Q++)}),J}function P(w){if(w._status===-1){var L=w._result;L=L(),L.then(function(W){(w._status===0||w._status===-1)&&(w._status=1,w._result=W)},function(W){(w._status===0||w._status===-1)&&(w._status=2,w._result=W)}),w._status===-1&&(w._status=0,w._result=L)}if(w._status===1)return w._result.default;throw w._result}var G={current:null},Y={transition:null},H={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:Y,ReactCurrentOwner:K};e.Children={map:N,forEach:function(w,L,W){N(w,function(){L.apply(this,arguments)},W)},count:function(w){var L=0;return N(w,function(){L++}),L},toArray:function(w){return N(w,function(L){return L})||[]},only:function(w){if(!T(w))throw Error("React.Children.only expected to receive a single React element child.");return w}},e.Component=x,e.Fragment=n,e.Profiler=a,e.PureComponent=E,e.StrictMode=o,e.Suspense=c,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,e.cloneElement=function(w,L,W){if(w==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+w+".");var J=$({},w.props),Q=w.key,re=w.ref,z=w._owner;if(L!=null){if(L.ref!==void 0&&(re=L.ref,z=K.current),L.key!==void 0&&(Q=""+L.key),w.type&&w.type.defaultProps)var q=w.type.defaultProps;for(te in L)R.call(L,te)&&!m.hasOwnProperty(te)&&(J[te]=L[te]===void 0&&q!==void 0?q[te]:L[te])}var te=arguments.length-2;if(te===1)J.children=W;else if(1<te){q=Array(te);for(var ae=0;ae<te;ae++)q[ae]=arguments[ae+2];J.children=q}return{$$typeof:t,type:w.type,key:Q,ref:re,props:J,_owner:z}},e.createContext=function(w){return w={$$typeof:s,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},w.Provider={$$typeof:i,_context:w},w.Consumer=w},e.createElement=O,e.createFactory=function(w){var L=O.bind(null,w);return L.type=w,L},e.createRef=function(){return{current:null}},e.forwardRef=function(w){return{$$typeof:u,render:w}},e.isValidElement=T,e.lazy=function(w){return{$$typeof:f,_payload:{_status:-1,_result:w},_init:P}},e.memo=function(w,L){return{$$typeof:d,type:w,compare:L===void 0?null:L}},e.startTransition=function(w){var L=Y.transition;Y.transition={};try{w()}finally{Y.transition=L}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(w,L){return G.current.useCallback(w,L)},e.useContext=function(w){return G.current.useContext(w)},e.useDebugValue=function(){},e.useDeferredValue=function(w){return G.current.useDeferredValue(w)},e.useEffect=function(w,L){return G.current.useEffect(w,L)},e.useId=function(){return G.current.useId()},e.useImperativeHandle=function(w,L,W){return G.current.useImperativeHandle(w,L,W)},e.useInsertionEffect=function(w,L){return G.current.useInsertionEffect(w,L)},e.useLayoutEffect=function(w,L){return G.current.useLayoutEffect(w,L)},e.useMemo=function(w,L){return G.current.useMemo(w,L)},e.useReducer=function(w,L,W){return G.current.useReducer(w,L,W)},e.useRef=function(w){return G.current.useRef(w)},e.useState=function(w){return G.current.useState(w)},e.useSyncExternalStore=function(w,L,W){return G.current.useSyncExternalStore(w,L,W)},e.useTransition=function(){return G.current.useTransition()},e.version="18.2.0"}}),N4=Vi({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.js"(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.2.0",n=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),h=Symbol.iterator,x="@@iterator";function C(v){if(v===null||typeof v!="object")return null;var D=h&&v[h]||v[x];return typeof D=="function"?D:null}var E={current:null},A={transition:null},M={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},R={current:null},K={},m=null;function O(v){m=v}K.setExtraStackFrame=function(v){m=v},K.getCurrentStack=null,K.getStackAddendum=function(){var v="";m&&(v+=m);var D=K.getCurrentStack;return D&&(v+=D()||""),v};var F=!1,T=!1,B=!1,S=!1,I=!1,V={ReactCurrentDispatcher:E,ReactCurrentBatchConfig:A,ReactCurrentOwner:R};V.ReactDebugCurrentFrame=K,V.ReactCurrentActQueue=M;function N(v){{for(var D=arguments.length,_=new Array(D>1?D-1:0),U=1;U<D;U++)_[U-1]=arguments[U];G("warn",v,_)}}function P(v){{for(var D=arguments.length,_=new Array(D>1?D-1:0),U=1;U<D;U++)_[U-1]=arguments[U];G("error",v,_)}}function G(v,D,_){{var U=V.ReactDebugCurrentFrame,Z=U.getStackAddendum();Z!==""&&(D+="%s",_=_.concat([Z]));var ne=_.map(function(ee){return String(ee)});ne.unshift("Warning: "+D),Function.prototype.apply.call(console[v],console,ne)}}var Y={};function H(v,D){{var _=v.constructor,U=_&&(_.displayName||_.name)||"ReactClass",Z=U+"."+D;if(Y[Z])return;P("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.",D,U),Y[Z]=!0}}var w={isMounted:function(v){return!1},enqueueForceUpdate:function(v,D,_){H(v,"forceUpdate")},enqueueReplaceState:function(v,D,_,U){H(v,"replaceState")},enqueueSetState:function(v,D,_,U){H(v,"setState")}},L=Object.assign,W={};Object.freeze(W);function J(v,D,_){this.props=v,this.context=D,this.refs=W,this.updater=_||w}J.prototype.isReactComponent={},J.prototype.setState=function(v,D){if(typeof v!="object"&&typeof v!="function"&&v!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,v,D,"setState")},J.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};{var Q={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)."]},re=function(v,D){Object.defineProperty(J.prototype,v,{get:function(){N("%s(...) is deprecated in plain JavaScript React classes. %s",D[0],D[1])}})};for(var z in Q)Q.hasOwnProperty(z)&&re(z,Q[z])}function q(){}q.prototype=J.prototype;function te(v,D,_){this.props=v,this.context=D,this.refs=W,this.updater=_||w}var ae=te.prototype=new q;ae.constructor=te,L(ae,J.prototype),ae.isPureReactComponent=!0;function ie(){var v={current:null};return Object.seal(v),v}var Ae=Array.isArray;function Ne(v){return Ae(v)}function dt(v){{var D=typeof Symbol=="function"&&Symbol.toStringTag,_=D&&v[Symbol.toStringTag]||v.constructor.name||"Object";return _}}function lr(v){try{return Rt(v),!1}catch{return!0}}function Rt(v){return""+v}function Bt(v){if(lr(v))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",dt(v)),Rt(v)}function Nr(v,D,_){var U=v.displayName;if(U)return U;var Z=D.displayName||D.name||"";return Z!==""?_+"("+Z+")":_}function se(v){return v.displayName||"Context"}function de(v){if(v==null)return null;if(typeof v.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case a:return"Fragment";case o:return"Portal";case s:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case b:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case c:var D=v;return se(D)+".Consumer";case u:var _=v;return se(_._context)+".Provider";case d:return Nr(v,v.render,"ForwardRef");case p:var U=v.displayName||null;return U!==null?U:de(v.type)||"Memo";case g:{var Z=v,ne=Z._payload,ee=Z._init;try{return de(ee(ne))}catch{return null}}}return null}var ye=Object.prototype.hasOwnProperty,Fn={key:!0,ref:!0,__self:!0,__source:!0},Kr,Vr,jt;jt={};function ft(v){if(ye.call(v,"ref")){var D=Object.getOwnPropertyDescriptor(v,"ref").get;if(D&&D.isReactWarning)return!1}return v.ref!==void 0}function _r(v){if(ye.call(v,"key")){var D=Object.getOwnPropertyDescriptor(v,"key").get;if(D&&D.isReactWarning)return!1}return v.key!==void 0}function Rn(v,D){var _=function(){Kr||(Kr=!0,P("%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://reactjs.org/link/special-props)",D))};_.isReactWarning=!0,Object.defineProperty(v,"key",{get:_,configurable:!0})}function sa(v,D){var _=function(){Vr||(Vr=!0,P("%s: `ref` 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://reactjs.org/link/special-props)",D))};_.isReactWarning=!0,Object.defineProperty(v,"ref",{get:_,configurable:!0})}function ua(v){if(typeof v.ref=="string"&&R.current&&v.__self&&R.current.stateNode!==v.__self){var D=de(R.current.type);jt[D]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D,v.ref),jt[D]=!0)}}var Ie=function(v,D,_,U,Z,ne,ee){var oe={$$typeof:n,type:v,key:D,ref:_,props:ee,_owner:ne};return oe._store={},Object.defineProperty(oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(oe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:U}),Object.defineProperty(oe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Z}),Object.freeze&&(Object.freeze(oe.props),Object.freeze(oe)),oe};function jr(v,D,_){var U,Z={},ne=null,ee=null,oe=null,fe=null;if(D!=null){ft(D)&&(ee=D.ref,ua(D)),_r(D)&&(Bt(D.key),ne=""+D.key),oe=D.__self===void 0?null:D.__self,fe=D.__source===void 0?null:D.__source;for(U in D)ye.call(D,U)&&!Fn.hasOwnProperty(U)&&(Z[U]=D[U])}var ge=arguments.length-2;if(ge===1)Z.children=_;else if(ge>1){for(var xe=Array(ge),we=0;we<ge;we++)xe[we]=arguments[we+2];Object.freeze&&Object.freeze(xe),Z.children=xe}if(v&&v.defaultProps){var Ce=v.defaultProps;for(U in Ce)Z[U]===void 0&&(Z[U]=Ce[U])}if(ne||ee){var Se=typeof v=="function"?v.displayName||v.name||"Unknown":v;ne&&Rn(Z,Se),ee&&sa(Z,Se)}return Ie(v,ne,ee,oe,fe,R.current,Z)}function Cg(v,D){var _=Ie(v.type,D,v.ref,v._self,v._source,v._owner,v.props);return _}function Eg(v,D,_){if(v==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+v+".");var U,Z=L({},v.props),ne=v.key,ee=v.ref,oe=v._self,fe=v._source,ge=v._owner;if(D!=null){ft(D)&&(ee=D.ref,ge=R.current),_r(D)&&(Bt(D.key),ne=""+D.key);var xe;v.type&&v.type.defaultProps&&(xe=v.type.defaultProps);for(U in D)ye.call(D,U)&&!Fn.hasOwnProperty(U)&&(D[U]===void 0&&xe!==void 0?Z[U]=xe[U]:Z[U]=D[U])}var we=arguments.length-2;if(we===1)Z.children=_;else if(we>1){for(var Ce=Array(we),Se=0;Se<we;Se++)Ce[Se]=arguments[Se+2];Z.children=Ce}return Ie(v.type,ne,ee,oe,fe,ge,Z)}function sr(v){return typeof v=="object"&&v!==null&&v.$$typeof===n}var Kl=".",Dg=":";function Pg(v){var D=/[=:]/g,_={"=":"=0",":":"=2"},U=v.replace(D,function(Z){return _[Z]});return"$"+U}var Vl=!1,Sg=/\/+/g;function _l(v){return v.replace(Sg,"$&/")}function ca(v,D){return typeof v=="object"&&v!==null&&v.key!=null?(Bt(v.key),Pg(""+v.key)):D.toString(36)}function Bn(v,D,_,U,Z){var ne=typeof v;(ne==="undefined"||ne==="boolean")&&(v=null);var ee=!1;if(v===null)ee=!0;else switch(ne){case"string":case"number":ee=!0;break;case"object":switch(v.$$typeof){case n:case o:ee=!0}}if(ee){var oe=v,fe=Z(oe),ge=U===""?Kl+ca(oe,0):U;if(Ne(fe)){var xe="";ge!=null&&(xe=_l(ge)+"/"),Bn(fe,D,xe,"",function(h4){return h4})}else fe!=null&&(sr(fe)&&(fe.key&&(!oe||oe.key!==fe.key)&&Bt(fe.key),fe=Cg(fe,_+(fe.key&&(!oe||oe.key!==fe.key)?_l(""+fe.key)+"/":"")+ge)),D.push(fe));return 1}var we,Ce,Se=0,Le=U===""?Kl:U+Dg;if(Ne(v))for(var jn=0;jn<v.length;jn++)we=v[jn],Ce=Le+ca(we,jn),Se+=Bn(we,D,_,Ce,Z);else{var ya=C(v);if(typeof ya=="function"){var ds=v;ya===ds.entries&&(Vl||N("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Vl=!0);for(var $4=ya.call(ds),fs,y4=0;!(fs=$4.next()).done;)we=fs.value,Ce=Le+ca(we,y4++),Se+=Bn(we,D,_,Ce,Z)}else if(ne==="object"){var ps=String(v);throw new Error("Objects are not valid as a React child (found: "+(ps==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":ps)+"). If you meant to render a collection of children, use an array instead.")}}return Se}function In(v,D,_){if(v==null)return v;var U=[],Z=0;return Bn(v,U,"","",function(ne){return D.call(_,ne,Z++)}),U}function Tg(v){var D=0;return In(v,function(){D++}),D}function kg(v,D,_){In(v,function(){D.apply(this,arguments)},_)}function Mg(v){return In(v,function(D){return D})||[]}function Ag(v){if(!sr(v))throw new Error("React.Children.only expected to receive a single React element child.");return v}function Fg(v){var D={$$typeof:c,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};D.Provider={$$typeof:u,_context:D};var _=!1,U=!1,Z=!1;{var ne={$$typeof:c,_context:D};Object.defineProperties(ne,{Provider:{get:function(){return U||(U=!0,P("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),D.Provider},set:function(ee){D.Provider=ee}},_currentValue:{get:function(){return D._currentValue},set:function(ee){D._currentValue=ee}},_currentValue2:{get:function(){return D._currentValue2},set:function(ee){D._currentValue2=ee}},_threadCount:{get:function(){return D._threadCount},set:function(ee){D._threadCount=ee}},Consumer:{get:function(){return _||(_=!0,P("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),D.Consumer}},displayName:{get:function(){return D.displayName},set:function(ee){Z||(N("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ee),Z=!0)}}}),D.Consumer=ne}return D._currentRenderer=null,D._currentRenderer2=null,D}var zr=-1,da=0,jl=1,Rg=2;function Bg(v){if(v._status===zr){var D=v._result,_=D();if(_.then(function(ne){if(v._status===da||v._status===zr){var ee=v;ee._status=jl,ee._result=ne}},function(ne){if(v._status===da||v._status===zr){var ee=v;ee._status=Rg,ee._result=ne}}),v._status===zr){var U=v;U._status=da,U._result=_}}if(v._status===jl){var Z=v._result;return Z===void 0&&P(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react/jsx-runtime"),d=require("react"),m=require("styled-components"),Re=require("framer-motion"),D=require("react-aria-components"),Hs=require("react-aria"),Yr=require("react-dom");function Gs(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const Fr=Gs(d);var Ws=()=>p.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[p.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),p.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]});function Us(e={}){const{strict:r=!0,errorMessage:t="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=e,n=Fr.createContext(void 0);n.displayName=o;function s(){var i;const l=Fr.useContext(n);if(!l&&r){const u=new Error(t);throw u.name="ContextError",(i=Error.captureStackTrace)==null||i.call(Error,u,s),u}return l}return[n.Provider,s,n]}function Ks(e){return{UNSAFE_getDOMNode(){return e.current}}}function yt(e){const r=d.useRef(null);return d.useImperativeHandle(e,()=>r.current),r}var Ys=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3);function kn(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=kn(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function or(...e){for(var r=0,t,o,n="";r<e.length;)(t=e[r++])&&(o=kn(t))&&(n&&(n+=" "),n+=o);return n}var Bo={};function Xs(e,r,...t){var o;const s=`[Next UI]${r?` [${r}]`:" "}: ${e}`;if(!(typeof console>"u")&&!Bo[s]&&(Bo[s]=!0,((o=process==null?void 0:process.env)==null?void 0:o.NODE_ENV)!=="production"))return console.warn(s,t)}function Sn(e){if(!e||typeof e!="object")return"";try{return JSON.stringify(e)}catch{return""}}process.env.NODE_ENV;process.env.NODE_ENV;function qs(e){return typeof e=="function"}var _e=e=>e?"true":void 0;function Zs(e){const r=Object.assign({},e);for(let t in r)r[t]===void 0&&delete r[t];return r}function Js(e,r){if(e!=null){if(qs(e)){e(r);return}try{e.current=r}catch{throw new Error(`Cannot assign value '${r}' to ref '${e}'`)}}}function Qs(...e){return r=>{e.forEach(t=>Js(t,r))}}var ei=Object.create,Tn=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,Pn=Object.getOwnPropertyNames,ti=Object.getPrototypeOf,oi=Object.prototype.hasOwnProperty,Wt=(e,r)=>function(){return r||(0,e[Pn(e)[0]])((r={exports:{}}).exports,r),r.exports},ni=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Pn(r))!oi.call(e,n)&&n!==t&&Tn(e,n,{get:()=>r[n],enumerable:!(o=ri(r,n))||o.enumerable});return e},ai=(e,r,t)=>(t=e!=null?ei(ti(e)):{},ni(r||!e||!e.__esModule?Tn(t,"default",{value:e,enumerable:!0}):t,e)),si=Wt({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(e){var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.iterator;function v($){return $===null||typeof $!="object"?null:($=h&&$[h]||$["@@iterator"],typeof $=="function"?$:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,k={};function T($,S,W){this.props=$,this.context=S,this.refs=k,this.updater=W||x}T.prototype.isReactComponent={},T.prototype.setState=function($,S){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,S,"setState")},T.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function M(){}M.prototype=T.prototype;function _($,S,W){this.props=$,this.context=S,this.refs=k,this.updater=W||x}var I=_.prototype=new M;I.constructor=_,E(I,T.prototype),I.isPureReactComponent=!0;var O=Array.isArray,P=Object.prototype.hasOwnProperty,F={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};function N($,S,W){var Y,ee={},ne=null,se=null;if(S!=null)for(Y in S.ref!==void 0&&(se=S.ref),S.key!==void 0&&(ne=""+S.key),S)P.call(S,Y)&&!L.hasOwnProperty(Y)&&(ee[Y]=S[Y]);var ae=arguments.length-2;if(ae===1)ee.children=W;else if(1<ae){for(var ie=Array(ae),ve=0;ve<ae;ve++)ie[ve]=arguments[ve+2];ee.children=ie}if($&&$.defaultProps)for(Y in ae=$.defaultProps,ae)ee[Y]===void 0&&(ee[Y]=ae[Y]);return{$$typeof:r,type:$,key:ne,ref:se,props:ee,_owner:F.current}}function J($,S){return{$$typeof:r,type:$.type,key:S,ref:$.ref,props:$.props,_owner:$._owner}}function q($){return typeof $=="object"&&$!==null&&$.$$typeof===r}function j($){var S={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(W){return S[W]})}var H=/\/+/g;function z($,S){return typeof $=="object"&&$!==null&&$.key!=null?j(""+$.key):S.toString(36)}function V($,S,W,Y,ee){var ne=typeof $;(ne==="undefined"||ne==="boolean")&&($=null);var se=!1;if($===null)se=!0;else switch(ne){case"string":case"number":se=!0;break;case"object":switch($.$$typeof){case r:case t:se=!0}}if(se)return se=$,ee=ee(se),$=Y===""?"."+z(se,0):Y,O(ee)?(W="",$!=null&&(W=$.replace(H,"$&/")+"/"),V(ee,S,W,"",function(ve){return ve})):ee!=null&&(q(ee)&&(ee=J(ee,W+(!ee.key||se&&se.key===ee.key?"":(""+ee.key).replace(H,"$&/")+"/")+$)),S.push(ee)),1;if(se=0,Y=Y===""?".":Y+":",O($))for(var ae=0;ae<$.length;ae++){ne=$[ae];var ie=Y+z(ne,ae);se+=V(ne,S,W,ie,ee)}else if(ie=v($),typeof ie=="function")for($=ie.call($),ae=0;!(ne=$.next()).done;)ne=ne.value,ie=Y+z(ne,ae++),se+=V(ne,S,W,ie,ee);else if(ne==="object")throw S=String($),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.");return se}function G($,S,W){if($==null)return $;var Y=[],ee=0;return V($,Y,"","",function(ne){return S.call(W,ne,ee++)}),Y}function A($){if($._status===-1){var S=$._result;S=S(),S.then(function(W){($._status===0||$._status===-1)&&($._status=1,$._result=W)},function(W){($._status===0||$._status===-1)&&($._status=2,$._result=W)}),$._status===-1&&($._status=0,$._result=S)}if($._status===1)return $._result.default;throw $._result}var U={current:null},Z={transition:null},Q={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:Z,ReactCurrentOwner:F};e.Children={map:G,forEach:function($,S,W){G($,function(){S.apply(this,arguments)},W)},count:function($){var S=0;return G($,function(){S++}),S},toArray:function($){return G($,function(S){return S})||[]},only:function($){if(!q($))throw Error("React.Children.only expected to receive a single React element child.");return $}},e.Component=T,e.Fragment=o,e.Profiler=s,e.PureComponent=_,e.StrictMode=n,e.Suspense=g,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,e.cloneElement=function($,S,W){if($==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+$+".");var Y=E({},$.props),ee=$.key,ne=$.ref,se=$._owner;if(S!=null){if(S.ref!==void 0&&(ne=S.ref,se=F.current),S.key!==void 0&&(ee=""+S.key),$.type&&$.type.defaultProps)var ae=$.type.defaultProps;for(ie in S)P.call(S,ie)&&!L.hasOwnProperty(ie)&&(Y[ie]=S[ie]===void 0&&ae!==void 0?ae[ie]:S[ie])}var ie=arguments.length-2;if(ie===1)Y.children=W;else if(1<ie){ae=Array(ie);for(var ve=0;ve<ie;ve++)ae[ve]=arguments[ve+2];Y.children=ae}return{$$typeof:r,type:$.type,key:ee,ref:ne,props:Y,_owner:se}},e.createContext=function($){return $={$$typeof:l,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},$.Provider={$$typeof:i,_context:$},$.Consumer=$},e.createElement=N,e.createFactory=function($){var S=N.bind(null,$);return S.type=$,S},e.createRef=function(){return{current:null}},e.forwardRef=function($){return{$$typeof:u,render:$}},e.isValidElement=q,e.lazy=function($){return{$$typeof:y,_payload:{_status:-1,_result:$},_init:A}},e.memo=function($,S){return{$$typeof:b,type:$,compare:S===void 0?null:S}},e.startTransition=function($){var S=Z.transition;Z.transition={};try{$()}finally{Z.transition=S}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function($,S){return U.current.useCallback($,S)},e.useContext=function($){return U.current.useContext($)},e.useDebugValue=function(){},e.useDeferredValue=function($){return U.current.useDeferredValue($)},e.useEffect=function($,S){return U.current.useEffect($,S)},e.useId=function(){return U.current.useId()},e.useImperativeHandle=function($,S,W){return U.current.useImperativeHandle($,S,W)},e.useInsertionEffect=function($,S){return U.current.useInsertionEffect($,S)},e.useLayoutEffect=function($,S){return U.current.useLayoutEffect($,S)},e.useMemo=function($,S){return U.current.useMemo($,S)},e.useReducer=function($,S,W){return U.current.useReducer($,S,W)},e.useRef=function($){return U.current.useRef($)},e.useState=function($){return U.current.useState($)},e.useSyncExternalStore=function($,S,W){return U.current.useSyncExternalStore($,S,W)},e.useTransition=function(){return U.current.useTransition()},e.version="18.2.0"}}),ii=Wt({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.js"(e,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t="18.2.0",o=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),g=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),k=Symbol.iterator,T="@@iterator";function M(a){if(a===null||typeof a!="object")return null;var f=k&&a[k]||a[T];return typeof f=="function"?f:null}var _={current:null},I={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},P={current:null},F={},L=null;function N(a){L=a}F.setExtraStackFrame=function(a){L=a},F.getCurrentStack=null,F.getStackAddendum=function(){var a="";L&&(a+=L);var f=F.getCurrentStack;return f&&(a+=f()||""),a};var J=!1,q=!1,j=!1,H=!1,z=!1,V={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:I,ReactCurrentOwner:P};V.ReactDebugCurrentFrame=F,V.ReactCurrentActQueue=O;function G(a){{for(var f=arguments.length,w=new Array(f>1?f-1:0),C=1;C<f;C++)w[C-1]=arguments[C];U("warn",a,w)}}function A(a){{for(var f=arguments.length,w=new Array(f>1?f-1:0),C=1;C<f;C++)w[C-1]=arguments[C];U("error",a,w)}}function U(a,f,w){{var C=V.ReactDebugCurrentFrame,R=C.getStackAddendum();R!==""&&(f+="%s",w=w.concat([R]));var K=w.map(function(B){return String(B)});K.unshift("Warning: "+f),Function.prototype.apply.call(console[a],console,K)}}var Z={};function Q(a,f){{var w=a.constructor,C=w&&(w.displayName||w.name)||"ReactClass",R=C+"."+f;if(Z[R])return;A("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.",f,C),Z[R]=!0}}var $={isMounted:function(a){return!1},enqueueForceUpdate:function(a,f,w){Q(a,"forceUpdate")},enqueueReplaceState:function(a,f,w,C){Q(a,"replaceState")},enqueueSetState:function(a,f,w,C){Q(a,"setState")}},S=Object.assign,W={};Object.freeze(W);function Y(a,f,w){this.props=a,this.context=f,this.refs=W,this.updater=w||$}Y.prototype.isReactComponent={},Y.prototype.setState=function(a,f){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,f,"setState")},Y.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var ee={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)."]},ne=function(a,f){Object.defineProperty(Y.prototype,a,{get:function(){G("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})};for(var se in ee)ee.hasOwnProperty(se)&&ne(se,ee[se])}function ae(){}ae.prototype=Y.prototype;function ie(a,f,w){this.props=a,this.context=f,this.refs=W,this.updater=w||$}var ve=ie.prototype=new ae;ve.constructor=ie,S(ve,Y.prototype),ve.isPureReactComponent=!0;function Te(){var a={current:null};return Object.seal(a),a}var Ie=Array.isArray;function Ae(a){return Ie(a)}function wr(a){{var f=typeof Symbol=="function"&&Symbol.toStringTag,w=f&&a[Symbol.toStringTag]||a.constructor.name||"Object";return w}}function Fa(a){try{return ao(a),!1}catch{return!0}}function ao(a){return""+a}function mr(a){if(Fa(a))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wr(a)),ao(a)}function za(a,f,w){var C=a.displayName;if(C)return C;var R=f.displayName||f.name||"";return R!==""?w+"("+R+")":w}function so(a){return a.displayName||"Context"}function ze(a){if(a==null)return null;if(typeof a.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case n:return"Portal";case l:return"Profiler";case i:return"StrictMode";case y:return"Suspense";case h:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case g:var f=a;return so(f)+".Consumer";case u:var w=a;return so(w._context)+".Provider";case b:return za(a,a.render,"ForwardRef");case v:var C=a.displayName||null;return C!==null?C:ze(a.type)||"Memo";case x:{var R=a,K=R._payload,B=R._init;try{return ze(B(K))}catch{return null}}}return null}var ir=Object.prototype.hasOwnProperty,io={key:!0,ref:!0,__self:!0,__source:!0},lo,co,Jr;Jr={};function uo(a){if(ir.call(a,"ref")){var f=Object.getOwnPropertyDescriptor(a,"ref").get;if(f&&f.isReactWarning)return!1}return a.ref!==void 0}function fo(a){if(ir.call(a,"key")){var f=Object.getOwnPropertyDescriptor(a,"key").get;if(f&&f.isReactWarning)return!1}return a.key!==void 0}function Va(a,f){var w=function(){lo||(lo=!0,A("%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://reactjs.org/link/special-props)",f))};w.isReactWarning=!0,Object.defineProperty(a,"key",{get:w,configurable:!0})}function Ba(a,f){var w=function(){co||(co=!0,A("%s: `ref` 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://reactjs.org/link/special-props)",f))};w.isReactWarning=!0,Object.defineProperty(a,"ref",{get:w,configurable:!0})}function Ha(a){if(typeof a.ref=="string"&&P.current&&a.__self&&P.current.stateNode!==a.__self){var f=ze(P.current.type);Jr[f]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',f,a.ref),Jr[f]=!0)}}var Qr=function(a,f,w,C,R,K,B){var X={$$typeof:o,type:a,key:f,ref:w,props:B,_owner:K};return X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(X,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(X,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X};function Ga(a,f,w){var C,R={},K=null,B=null,X=null,oe=null;if(f!=null){uo(f)&&(B=f.ref,Ha(f)),fo(f)&&(mr(f.key),K=""+f.key),X=f.__self===void 0?null:f.__self,oe=f.__source===void 0?null:f.__source;for(C in f)ir.call(f,C)&&!io.hasOwnProperty(C)&&(R[C]=f[C])}var le=arguments.length-2;if(le===1)R.children=w;else if(le>1){for(var de=Array(le),ue=0;ue<le;ue++)de[ue]=arguments[ue+2];Object.freeze&&Object.freeze(de),R.children=de}if(a&&a.defaultProps){var fe=a.defaultProps;for(C in fe)R[C]===void 0&&(R[C]=fe[C])}if(K||B){var ge=typeof a=="function"?a.displayName||a.name||"Unknown":a;K&&Va(R,ge),B&&Ba(R,ge)}return Qr(a,K,B,X,oe,P.current,R)}function Wa(a,f){var w=Qr(a.type,f,a.ref,a._self,a._source,a._owner,a.props);return w}function Ua(a,f,w){if(a==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var C,R=S({},a.props),K=a.key,B=a.ref,X=a._self,oe=a._source,le=a._owner;if(f!=null){uo(f)&&(B=f.ref,le=P.current),fo(f)&&(mr(f.key),K=""+f.key);var de;a.type&&a.type.defaultProps&&(de=a.type.defaultProps);for(C in f)ir.call(f,C)&&!io.hasOwnProperty(C)&&(f[C]===void 0&&de!==void 0?R[C]=de[C]:R[C]=f[C])}var ue=arguments.length-2;if(ue===1)R.children=w;else if(ue>1){for(var fe=Array(ue),ge=0;ge<ue;ge++)fe[ge]=arguments[ge+2];R.children=fe}return Qr(a.type,K,B,X,oe,le,R)}function qe(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var po=".",Ka=":";function Ya(a){var f=/[=:]/g,w={"=":"=0",":":"=2"},C=a.replace(f,function(R){return w[R]});return"$"+C}var bo=!1,Xa=/\/+/g;function go(a){return a.replace(Xa,"$&/")}function et(a,f){return typeof a=="object"&&a!==null&&a.key!=null?(mr(a.key),Ya(""+a.key)):f.toString(36)}function hr(a,f,w,C,R){var K=typeof a;(K==="undefined"||K==="boolean")&&(a=null);var B=!1;if(a===null)B=!0;else switch(K){case"string":case"number":B=!0;break;case"object":switch(a.$$typeof){case o:case n:B=!0}}if(B){var X=a,oe=R(X),le=C===""?po+et(X,0):C;if(Ae(oe)){var de="";le!=null&&(de=go(le)+"/"),hr(oe,f,de,"",function(Bs){return Bs})}else oe!=null&&(qe(oe)&&(oe.key&&(!X||X.key!==oe.key)&&mr(oe.key),oe=Wa(oe,w+(oe.key&&(!X||X.key!==oe.key)?go(""+oe.key)+"/":"")+le)),f.push(oe));return 1}var ue,fe,ge=0,$e=C===""?po:C+Ka;if(Ae(a))for(var Or=0;Or<a.length;Or++)ue=a[Or],fe=$e+et(ue,Or),ge+=hr(ue,f,w,fe,R);else{var ct=M(a);if(typeof ct=="function"){var Fo=a;ct===Fo.entries&&(bo||G("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bo=!0);for(var zs=ct.call(Fo),zo,Vs=0;!(zo=zs.next()).done;)ue=zo.value,fe=$e+et(ue,Vs++),ge+=hr(ue,f,w,fe,R)}else if(K==="object"){var Vo=String(a);throw new Error("Objects are not valid as a React child (found: "+(Vo==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Vo)+"). If you meant to render a collection of children, use an array instead.")}}return ge}function Cr(a,f,w){if(a==null)return a;var C=[],R=0;return hr(a,C,"","",function(K){return f.call(w,K,R++)}),C}function qa(a){var f=0;return Cr(a,function(){f++}),f}function Za(a,f,w){Cr(a,function(){f.apply(this,arguments)},w)}function Ja(a){return Cr(a,function(f){return f})||[]}function Qa(a){if(!qe(a))throw new Error("React.Children.only expected to receive a single React element child.");return a}function es(a){var f={$$typeof:g,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};f.Provider={$$typeof:u,_context:f};var w=!1,C=!1,R=!1;{var K={$$typeof:g,_context:f};Object.defineProperties(K,{Provider:{get:function(){return C||(C=!0,A("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),f.Provider},set:function(B){f.Provider=B}},_currentValue:{get:function(){return f._currentValue},set:function(B){f._currentValue=B}},_currentValue2:{get:function(){return f._currentValue2},set:function(B){f._currentValue2=B}},_threadCount:{get:function(){return f._threadCount},set:function(B){f._threadCount=B}},Consumer:{get:function(){return w||(w=!0,A("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),f.Consumer}},displayName:{get:function(){return f.displayName},set:function(B){R||(G("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",B),R=!0)}}}),f.Consumer=K}return f._currentRenderer=null,f._currentRenderer2=null,f}var lr=-1,rt=0,vo=1,rs=2;function ts(a){if(a._status===lr){var f=a._result,w=f();if(w.then(function(K){if(a._status===rt||a._status===lr){var B=a;B._status=vo,B._result=K}},function(K){if(a._status===rt||a._status===lr){var B=a;B._status=rs,B._result=K}}),a._status===lr){var C=a;C._status=rt,C._result=w}}if(a._status===vo){var R=a._result;return R===void 0&&A(`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'))
|
|
5
5
|
|
|
6
|
-
Did you accidentally put curly braces around the import?`,
|
|
6
|
+
Did you accidentally put curly braces around the import?`,R),"default"in R||A(`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'))`,
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,R),R.default}else throw a._result}function os(a){var f={_status:lr,_result:a},w={$$typeof:x,_payload:f,_init:ts};{var C,R;Object.defineProperties(w,{defaultProps:{configurable:!0,get:function(){return C},set:function(K){A("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),C=K,Object.defineProperty(w,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return R},set:function(K){A("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),R=K,Object.defineProperty(w,"propTypes",{enumerable:!0})}}})}return w}function ns(a){a!=null&&a.$$typeof===v?A("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?A("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&A("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&A("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var f={$$typeof:b,render:a};{var w;Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return w},set:function(C){w=C,!a.name&&!a.displayName&&(a.displayName=C)}})}return f}var yo;yo=Symbol.for("react.module.reference");function $o(a){return!!(typeof a=="string"||typeof a=="function"||a===s||a===l||z||a===i||a===y||a===h||H||a===E||J||q||j||typeof a=="object"&&a!==null&&(a.$$typeof===x||a.$$typeof===v||a.$$typeof===u||a.$$typeof===g||a.$$typeof===b||a.$$typeof===yo||a.getModuleId!==void 0))}function as(a,f){$o(a)||A("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a);var w={$$typeof:v,type:a,compare:f===void 0?null:f};{var C;Object.defineProperty(w,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(R){C=R,!a.name&&!a.displayName&&(a.displayName=R)}})}return w}function xe(){var a=_.current;return a===null&&A(`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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),
|
|
14
|
-
`+
|
|
15
|
-
`),
|
|
16
|
-
`),
|
|
17
|
-
`+
|
|
13
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}function ss(a){var f=xe();if(a._context!==void 0){var w=a._context;w.Consumer===a?A("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):w.Provider===a&&A("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return f.useContext(a)}function is(a){var f=xe();return f.useState(a)}function ls(a,f,w){var C=xe();return C.useReducer(a,f,w)}function cs(a){var f=xe();return f.useRef(a)}function ds(a,f){var w=xe();return w.useEffect(a,f)}function us(a,f){var w=xe();return w.useInsertionEffect(a,f)}function fs(a,f){var w=xe();return w.useLayoutEffect(a,f)}function ps(a,f){var w=xe();return w.useCallback(a,f)}function bs(a,f){var w=xe();return w.useMemo(a,f)}function gs(a,f,w){var C=xe();return C.useImperativeHandle(a,f,w)}function vs(a,f){{var w=xe();return w.useDebugValue(a,f)}}function ys(){var a=xe();return a.useTransition()}function $s(a){var f=xe();return f.useDeferredValue(a)}function xs(){var a=xe();return a.useId()}function ws(a,f,w){var C=xe();return C.useSyncExternalStore(a,f,w)}var cr=0,xo,wo,mo,ho,Co,Eo,ko;function So(){}So.__reactDisabledLog=!0;function ms(){{if(cr===0){xo=console.log,wo=console.info,mo=console.warn,ho=console.error,Co=console.group,Eo=console.groupCollapsed,ko=console.groupEnd;var a={configurable:!0,enumerable:!0,value:So,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}cr++}}function hs(){{if(cr--,cr===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S({},a,{value:xo}),info:S({},a,{value:wo}),warn:S({},a,{value:mo}),error:S({},a,{value:ho}),group:S({},a,{value:Co}),groupCollapsed:S({},a,{value:Eo}),groupEnd:S({},a,{value:ko})})}cr<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var tt=V.ReactCurrentDispatcher,ot;function Er(a,f,w){{if(ot===void 0)try{throw Error()}catch(R){var C=R.stack.trim().match(/\n( *(at )?)/);ot=C&&C[1]||""}return`
|
|
14
|
+
`+ot+a}}var nt=!1,kr;{var Cs=typeof WeakMap=="function"?WeakMap:Map;kr=new Cs}function To(a,f){if(!a||nt)return"";{var w=kr.get(a);if(w!==void 0)return w}var C;nt=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var K;K=tt.current,tt.current=null,ms();try{if(f){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch($e){C=$e}Reflect.construct(a,[],B)}else{try{B.call()}catch($e){C=$e}a.call(B.prototype)}}else{try{throw Error()}catch($e){C=$e}a()}}catch($e){if($e&&C&&typeof $e.stack=="string"){for(var X=$e.stack.split(`
|
|
15
|
+
`),oe=C.stack.split(`
|
|
16
|
+
`),le=X.length-1,de=oe.length-1;le>=1&&de>=0&&X[le]!==oe[de];)de--;for(;le>=1&&de>=0;le--,de--)if(X[le]!==oe[de]){if(le!==1||de!==1)do if(le--,de--,de<0||X[le]!==oe[de]){var ue=`
|
|
17
|
+
`+X[le].replace(" at new "," at ");return a.displayName&&ue.includes("<anonymous>")&&(ue=ue.replace("<anonymous>",a.displayName)),typeof a=="function"&&kr.set(a,ue),ue}while(le>=1&&de>=0);break}}}finally{nt=!1,tt.current=K,hs(),Error.prepareStackTrace=R}var fe=a?a.displayName||a.name:"",ge=fe?Er(fe):"";return typeof a=="function"&&kr.set(a,ge),ge}function Es(a,f,w){return To(a,!1)}function ks(a){var f=a.prototype;return!!(f&&f.isReactComponent)}function Sr(a,f,w){if(a==null)return"";if(typeof a=="function")return To(a,ks(a));if(typeof a=="string")return Er(a);switch(a){case y:return Er("Suspense");case h:return Er("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case b:return Es(a.render);case v:return Sr(a.type,f,w);case x:{var C=a,R=C._payload,K=C._init;try{return Sr(K(R),f,w)}catch{}}}return""}var Po={},Ro=V.ReactDebugCurrentFrame;function Tr(a){if(a){var f=a._owner,w=Sr(a.type,a._source,f?f.type:null);Ro.setExtraStackFrame(w)}else Ro.setExtraStackFrame(null)}function Ss(a,f,w,C,R){{var K=Function.call.bind(ir);for(var B in a)if(K(a,B)){var X=void 0;try{if(typeof a[B]!="function"){var oe=Error((C||"React class")+": "+w+" type `"+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[B]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw oe.name="Invariant Violation",oe}X=a[B](f,B,C,w,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(le){X=le}X&&!(X instanceof Error)&&(Tr(R),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",w,B,typeof X),Tr(null)),X instanceof Error&&!(X.message in Po)&&(Po[X.message]=!0,Tr(R),A("Failed %s type: %s",w,X.message),Tr(null))}}}function Ze(a){if(a){var f=a._owner,w=Sr(a.type,a._source,f?f.type:null);N(w)}else N(null)}var at;at=!1;function Oo(){if(P.current){var a=ze(P.current.type);if(a)return`
|
|
18
18
|
|
|
19
|
-
Check the render method of \``+
|
|
19
|
+
Check the render method of \``+a+"`."}return""}function Ts(a){if(a!==void 0){var f=a.fileName.replace(/^.*[\\\/]/,""),w=a.lineNumber;return`
|
|
20
20
|
|
|
21
|
-
Check your code at `+
|
|
21
|
+
Check your code at `+f+":"+w+"."}return""}function Ps(a){return a!=null?Ts(a.__source):""}var jo={};function Rs(a){var f=Oo();if(!f){var w=typeof a=="string"?a:a.displayName||a.name;w&&(f=`
|
|
22
22
|
|
|
23
|
-
Check the top-level render call using <`+
|
|
23
|
+
Check the top-level render call using <`+w+">.")}return f}function Mo(a,f){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var w=Rs(f);if(!jo[w]){jo[w]=!0;var C="";a&&a._owner&&a._owner!==P.current&&(C=" It was passed a child from "+ze(a._owner.type)+"."),Ze(a),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',w,C),Ze(null)}}}function _o(a,f){if(typeof a=="object"){if(Ae(a))for(var w=0;w<a.length;w++){var C=a[w];qe(C)&&Mo(C,f)}else if(qe(a))a._store&&(a._store.validated=!0);else if(a){var R=M(a);if(typeof R=="function"&&R!==a.entries)for(var K=R.call(a),B;!(B=K.next()).done;)qe(B.value)&&Mo(B.value,f)}}}function Io(a){{var f=a.type;if(f==null||typeof f=="string")return;var w;if(typeof f=="function")w=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===b||f.$$typeof===v))w=f.propTypes;else return;if(w){var C=ze(f);Ss(w,a.props,"prop",C,a)}else if(f.PropTypes!==void 0&&!at){at=!0;var R=ze(f);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Os(a){{for(var f=Object.keys(a.props),w=0;w<f.length;w++){var C=f[w];if(C!=="children"&&C!=="key"){Ze(a),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Ze(null);break}}a.ref!==null&&(Ze(a),A("Invalid attribute `ref` supplied to `React.Fragment`."),Ze(null))}}function Ao(a,f,w){var C=$o(a);if(!C){var R="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var K=Ps(f);K?R+=K:R+=Oo();var B;a===null?B="null":Ae(a)?B="array":a!==void 0&&a.$$typeof===o?(B="<"+(ze(a.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):B=typeof a,A("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,R)}var X=Ga.apply(this,arguments);if(X==null)return X;if(C)for(var oe=2;oe<arguments.length;oe++)_o(arguments[oe],a);return a===s?Os(X):Io(X),X}var Lo=!1;function js(a){var f=Ao.bind(null,a);return f.type=a,Lo||(Lo=!0,G("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(f,"type",{enumerable:!1,get:function(){return G("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),f}function Ms(a,f,w){for(var C=Ua.apply(this,arguments),R=2;R<arguments.length;R++)_o(arguments[R],C.type);return Io(C),C}function _s(a,f){var w=I.transition;I.transition={};var C=I.transition;I.transition._updatedFibers=new Set;try{a()}finally{if(I.transition=w,w===null&&C._updatedFibers){var R=C._updatedFibers.size;R>10&&G("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."),C._updatedFibers.clear()}}}var No=!1,Pr=null;function Is(a){if(Pr===null)try{var f=("require"+Math.random()).slice(0,7),w=r&&r[f];Pr=w.call(r,"timers").setImmediate}catch{Pr=function(R){No===!1&&(No=!0,typeof MessageChannel>"u"&&A("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 K=new MessageChannel;K.port1.onmessage=R,K.port2.postMessage(void 0)}}return Pr(a)}var Je=0,Do=!1;function As(a){{var f=Je;Je++,O.current===null&&(O.current=[]);var w=O.isBatchingLegacy,C;try{if(O.isBatchingLegacy=!0,C=a(),!w&&O.didScheduleLegacyUpdate){var R=O.current;R!==null&&(O.didScheduleLegacyUpdate=!1,lt(R))}}catch(fe){throw Rr(f),fe}finally{O.isBatchingLegacy=w}if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var K=C,B=!1,X={then:function(fe,ge){B=!0,K.then(function($e){Rr(f),Je===0?st($e,fe,ge):fe($e)},function($e){Rr(f),ge($e)})}};return!Do&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){B||(Do=!0,A("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 () => ...);"))}),X}else{var oe=C;if(Rr(f),Je===0){var le=O.current;le!==null&&(lt(le),O.current=null);var de={then:function(fe,ge){O.current===null?(O.current=[],st(oe,fe,ge)):fe(oe)}};return de}else{var ue={then:function(fe,ge){fe(oe)}};return ue}}}}function Rr(a){a!==Je-1&&A("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Je=a}function st(a,f,w){{var C=O.current;if(C!==null)try{lt(C),Is(function(){C.length===0?(O.current=null,f(a)):st(a,f,w)})}catch(R){w(R)}else f(a)}}var it=!1;function lt(a){if(!it){it=!0;var f=0;try{for(;f<a.length;f++){var w=a[f];do w=w(!0);while(w!==null)}a.length=0}catch(C){throw a=a.slice(f+1),C}finally{it=!1}}}var Ls=Ao,Ns=Ms,Ds=js,Fs={map:Cr,forEach:Za,count:qa,toArray:Ja,only:Qa};e.Children=Fs,e.Component=Y,e.Fragment=s,e.Profiler=l,e.PureComponent=ie,e.StrictMode=i,e.Suspense=y,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,e.cloneElement=Ns,e.createContext=es,e.createElement=Ls,e.createFactory=Ds,e.createRef=Te,e.forwardRef=ns,e.isValidElement=qe,e.lazy=os,e.memo=as,e.startTransition=_s,e.unstable_act=As,e.useCallback=ps,e.useContext=ss,e.useDebugValue=vs,e.useDeferredValue=$s,e.useEffect=ds,e.useId=xs,e.useImperativeHandle=gs,e.useInsertionEffect=us,e.useLayoutEffect=fs,e.useMemo=bs,e.useReducer=ls,e.useRef=cs,e.useState=is,e.useSyncExternalStore=ws,e.useTransition=ys,e.version=t,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}}),li=Wt({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"(e,r){process.env.NODE_ENV==="production"?r.exports=si():r.exports=ii()}});/**
|
|
24
24
|
* @license React
|
|
25
25
|
* react.development.js
|
|
26
26
|
*
|
|
@@ -36,20 +36,20 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
36
36
|
*
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/var vs=L4(K4());function V4(e){return vs.Children.toArray(e).filter(t=>(0,vs.isValidElement)(t))}var[_4,Wu]=C4({name:"AvatarGroupContext",strict:!1}),j4={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},z4={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},U4={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},H4={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},G4={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},W4={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},Y4={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},ce={solid:j4,shadow:z4,bordered:U4,flat:H4,faded:G4,light:W4,ghost:Y4},gs=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,We=e=>!e||typeof e!="object"||Object.keys(e).length===0,q4=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function Yu(e,t){e.forEach(function(r){Array.isArray(r)?Yu(r,t):t.push(r)})}function qu(e){let t=[];return Yu(e,t),t}var Zu=(...e)=>qu(e).filter(Boolean),Xu=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let a of n)if(o.includes(a)){let i=e[a],s=t[a];typeof i=="object"&&typeof s=="object"?r[a]=Xu(i,s):Array.isArray(i)||Array.isArray(s)?r[a]=Zu(s,i):r[a]=s+" "+i}else r[a]=e[a];for(let a of o)n.includes(a)||(r[a]=t[a]);return r},ms=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Z4(){for(var e=0,t,r,n="";e<arguments.length;)(t=arguments[e++])&&(r=Ju(t))&&(n&&(n+=" "),n+=r);return n}function Ju(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=Ju(e[n]))&&(r&&(r+=" "),r+=t);return r}var _i="-";function X4(e){var t=Q4(e),r=e.conflictingClassGroups,n=e.conflictingClassGroupModifiers,o=n===void 0?{}:n;function a(s){var u=s.split(_i);return u[0]===""&&u.length!==1&&u.shift(),Qu(u,t)||J4(s)}function i(s,u){var c=r[s]||[];return u&&o[s]?[].concat(c,o[s]):c}return{getClassGroupId:a,getConflictingClassGroupIds:i}}function Qu(e,t){var i;if(e.length===0)return t.classGroupId;var r=e[0],n=t.nextPart.get(r),o=n?Qu(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(_i);return(i=t.validators.find(function(s){var u=s.validator;return u(a)}))==null?void 0:i.classGroupId}}var $s=/^\[(.+)\]$/;function J4(e){if($s.test(e)){var t=$s.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function Q4(e){var t=e.theme,r=e.prefix,n={nextPart:new Map,validators:[]},o=tm(Object.entries(e.classGroups),r);return o.forEach(function(a){var i=a[0],s=a[1];Za(s,n,i,t)}),n}function Za(e,t,r,n){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:ys(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(em(o)){Za(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(function(i){var s=i[0],u=i[1];Za(u,ys(t,s),r,n)})})}function ys(e,t){var r=e;return t.split(_i).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function em(e){return e.isThemeGetter}function tm(e,t){return t?e.map(function(r){var n=r[0],o=r[1],a=o.map(function(i){return typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(function(s){var u=s[0],c=s[1];return[t+u,c]})):i});return[n,a]}):e}function rm(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,i){r.set(a,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get:function(i){var s=r.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return o(i,s),s},set:function(i,s){r.has(i)?r.set(i,s):o(i,s)}}}var ec="!";function nm(e){var t=e.separator||":",r=t.length===1,n=t[0],o=t.length;return function(i){for(var s=[],u=0,c=0,d,f=0;f<i.length;f++){var b=i[f];if(u===0){if(b===n&&(r||i.slice(f,f+o)===t)){s.push(i.slice(c,f)),c=f+o;continue}if(b==="/"){d=f;continue}}b==="["?u++:b==="]"&&u--}var p=s.length===0?i:i.substring(c),g=p.startsWith(ec),$=g?p.substring(1):p,h=d&&d>c?d-c:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:$,maybePostfixModifierPosition:h}}}function om(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var o=n[0]==="[";o?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function am(e){return{cache:rm(e.cacheSize),splitModifiers:nm(e),...X4(e)}}var im=/\s+/;function lm(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(im).map(function(i){var s=r(i),u=s.modifiers,c=s.hasImportantModifier,d=s.baseClassName,f=s.maybePostfixModifierPosition,b=n(f?d.substring(0,f):d),p=!!f;if(!b){if(!f)return{isTailwindClass:!1,originalClassName:i};if(b=n(d),!b)return{isTailwindClass:!1,originalClassName:i};p=!1}var g=om(u).join(":"),$=c?g+ec:g;return{isTailwindClass:!0,modifierId:$,classGroupId:b,originalClassName:i,hasPostfixModifier:p}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var s=i.modifierId,u=i.classGroupId,c=i.hasPostfixModifier,d=s+u;return a.has(d)?!1:(a.add(d),o(u,c).forEach(function(f){return a.add(s+f)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function Xa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,i=s;function s(c){var d=t[0],f=t.slice(1),b=f.reduce(function(p,g){return g(p)},d());return n=am(b),o=n.cache.get,a=n.cache.set,i=u,u(c)}function u(c){var d=o(c);if(d)return d;var f=lm(c,n);return a(c,f),f}return function(){return i(Z4.apply(null,arguments))}}function he(e){var t=function(n){return n[e]||[]};return t.isThemeGetter=!0,t}var tc=/^\[(?:([a-z-]+):)?(.+)\]$/i,sm=/^\d+\/\d+$/,um=new Set(["px","full","screen"]),cm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fm=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function it(e){return Wt(e)||um.has(e)||sm.test(e)||Ja(e)}function Ja(e){return rr(e,"length",$m)}function pm(e){return rr(e,"size",rc)}function bm(e){return rr(e,"position",rc)}function vm(e){return rr(e,"url",ym)}function zn(e){return rr(e,"number",Wt)}function Wt(e){return!Number.isNaN(Number(e))}function gm(e){return e.endsWith("%")&&Wt(e.slice(0,-1))}function Hr(e){return hs(e)||rr(e,"number",hs)}function ue(e){return tc.test(e)}function Gr(){return!0}function It(e){return cm.test(e)}function mm(e){return rr(e,"",hm)}function rr(e,t,r){var n=tc.exec(e);return n?n[1]?n[1]===t:r(n[2]):!1}function $m(e){return dm.test(e)}function rc(){return!1}function ym(e){return e.startsWith("url(")}function hs(e){return Number.isInteger(Number(e))}function hm(e){return fm.test(e)}function Qa(){var e=he("colors"),t=he("spacing"),r=he("blur"),n=he("brightness"),o=he("borderColor"),a=he("borderRadius"),i=he("borderSpacing"),s=he("borderWidth"),u=he("contrast"),c=he("grayscale"),d=he("hueRotate"),f=he("invert"),b=he("gap"),p=he("gradientColorStops"),g=he("gradientColorStopPositions"),$=he("inset"),h=he("margin"),x=he("opacity"),C=he("padding"),E=he("saturate"),A=he("scale"),M=he("sepia"),R=he("skew"),K=he("space"),m=he("translate"),O=function(){return["auto","contain","none"]},F=function(){return["auto","hidden","clip","visible","scroll"]},T=function(){return["auto",ue,t]},B=function(){return[ue,t]},S=function(){return["",it]},I=function(){return["auto",Wt,ue]},V=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},N=function(){return["solid","dashed","dotted","double","none"]},P=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},G=function(){return["start","end","center","between","around","evenly","stretch"]},Y=function(){return["","0",ue]},H=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},w=function(){return[Wt,zn]},L=function(){return[Wt,ue]};return{cacheSize:500,theme:{colors:[Gr],spacing:[it],blur:["none","",It,ue],brightness:w(),borderColor:[e],borderRadius:["none","","full",It,ue],borderSpacing:B(),borderWidth:S(),contrast:w(),grayscale:Y(),hueRotate:L(),invert:Y(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[gm,Ja],inset:T(),margin:T(),opacity:w(),padding:B(),saturate:w(),scale:w(),sepia:Y(),skew:L(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",ue]}],container:["container"],columns:[{columns:[It]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(V(),[ue])}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[$]}],"inset-x":[{"inset-x":[$]}],"inset-y":[{"inset-y":[$]}],start:[{start:[$]}],end:[{end:[$]}],top:[{top:[$]}],right:[{right:[$]}],bottom:[{bottom:[$]}],left:[{left:[$]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Hr]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ue]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",Hr]}],"grid-cols":[{"grid-cols":[Gr]}],"col-start-end":[{col:["auto",{span:["full",Hr]},ue]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Gr]}],"row-start-end":[{row:["auto",{span:[Hr]},ue]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ue]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal"].concat(G())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(G(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(G(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",ue,t]}],"min-w":[{"min-w":["min","max","fit",ue,it]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[It]},It,ue]}],h:[{h:[ue,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",ue,it]}],"max-h":[{"max-h":[ue,t,"min","max","fit"]}],"font-size":[{text:["base",It,Ja]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",zn]}],"font-family":[{font:[Gr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ue]}],"line-clamp":[{"line-clamp":["none",Wt,zn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ue,it]}],"list-image":[{"list-image":["none",ue]}],"list-style-type":[{list:["none","disc","decimal",ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(N(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",it]}],"underline-offset":[{"underline-offset":["auto",ue,it]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(V(),[bm])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pm]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vm]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[].concat(N(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:N()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(N())}],"outline-offset":[{"outline-offset":[ue,it]}],"outline-w":[{outline:[it]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:S()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[it]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",It,mm]}],"shadow-color":[{shadow:[Gr]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":P()}],"bg-blend":[{"bg-blend":P()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",It,ue]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[E]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ue]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",ue]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Hr,ue]}],"translate-x":[{"translate-x":[m]}],"translate-y":[{"translate-y":[m]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ue]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ue]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ue]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[it,zn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function xm(e,t){for(var r in t)nc(e,r,t[r]);return e}var wm=Object.prototype.hasOwnProperty,Cm=new Set(["string","number","boolean"]);function nc(e,t,r){if(!wm.call(e,t)||Cm.has(typeof r)||r===null){e[t]=r;return}if(Array.isArray(r)&&Array.isArray(e[t])){e[t]=e[t].concat(r);return}if(typeof r=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=r;return}for(var n in r)nc(e[t],n,r[n])}}function Em(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return typeof e=="function"?Xa.apply(void 0,[Qa,e].concat(r)):Xa.apply(void 0,[function(){return xm(Qa(),e)}].concat(r))}var Dm=Xa(Qa),Pm={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},oc=e=>e||void 0,un=(...e)=>oc(qu(e).filter(Boolean).join(" ")),ha=null,vo={},ei=!1,Wr=(...e)=>t=>t.twMerge?((!ha||ei)&&(ei=!1,ha=We(vo)?Dm:Em(vo)),oc(ha(un(e)))):un(e),xs=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=un(e[r],t[r]):e[r]=t[r];return e},Sm=(e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:a=[],compoundSlots:i=[],defaultVariants:s={}}=e,u={...Pm,...t},c=r!=null&&r.base?un(r.base,e==null?void 0:e.base):e==null?void 0:e.base,d=r!=null&&r.variants&&!We(r.variants)?Xu(o,r.variants):o,f=r!=null&&r.defaultVariants&&!We(r.defaultVariants)?{...r.defaultVariants,...s}:s;!We(u.twMergeConfig)&&!q4(u.twMergeConfig,vo)&&(ei=!0,vo=u.twMergeConfig);let b=We(r==null?void 0:r.slots),p=We(n)?{}:{base:un(e==null?void 0:e.base,b&&(r==null?void 0:r.base)),...n},g=b?p:xs({...r==null?void 0:r.slots},We(p)?{base:e==null?void 0:e.base}:p),$=x=>{if(We(d)&&We(n)&&b)return Wr(c,x==null?void 0:x.class,x==null?void 0:x.className)(u);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(i&&!Array.isArray(i))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);let C=(B,S,I=[],V)=>{let N=I;if(typeof S=="string")N=N.concat(ms(S).split(" ").map(P=>`${B}:${P}`));else if(Array.isArray(S))N=N.concat(S.reduce((P,G)=>P.concat(`${B}:${G}`),[]));else if(typeof S=="object"&&typeof V=="string"){for(let P in S)if(S.hasOwnProperty(P)&&P===V){let G=S[P];if(G&&typeof G=="string"){let Y=ms(G);N[V]?N[V]=N[V].concat(Y.split(" ").map(H=>`${B}:${H}`)):N[V]=Y.split(" ").map(H=>`${B}:${H}`)}else Array.isArray(G)&&G.length>0&&(N[V]=G.reduce((Y,H)=>Y.concat(`${B}:${H}`),[]))}}return N},E=(B,S=d,I=null,V=null)=>{var N;let P=S[B];if(!P||We(P))return null;let G=(N=V==null?void 0:V[B])!=null?N:x==null?void 0:x[B];if(G===null)return null;let Y=gs(G),H=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,w=f==null?void 0:f[B],L=[];if(typeof Y=="object"&&H)for(let[J,Q]of Object.entries(Y)){let re=P[Q];if(J==="initial"){w=Q;continue}Array.isArray(u.responsiveVariants)&&!u.responsiveVariants.includes(J)||(L=C(J,re,L,I))}let W=P[Y]||P[gs(w)];return typeof L=="object"&&typeof I=="string"&&L[I]?xs(L,W):L.length>0?(L.push(W),L):W},A=()=>d?Object.keys(d).map(B=>E(B,d)):null,M=(B,S)=>{if(!d||typeof d!="object")return null;let I=new Array;for(let V in d){let N=E(V,d,B,S),P=B==="base"&&typeof N=="string"?N:N&&N[B];P&&(I[I.length]=P)}return I},R={};for(let B in x)x[B]!==void 0&&(R[B]=x[B]);let K=(B,S)=>{var I;let V=typeof(x==null?void 0:x[B])=="object"?{[B]:(I=x[B])==null?void 0:I.initial}:{};return{...f,...R,...V,...S}},m=(B=[],S)=>{let I=[];for(let{class:V,className:N,...P}of B){let G=!0;for(let[Y,H]of Object.entries(P)){let w=K(Y,S);if(Array.isArray(H)){if(!H.includes(w[Y])){G=!1;break}}else if(w[Y]!==H){G=!1;break}}G&&(V&&I.push(V),N&&I.push(N))}return I},O=B=>{let S=m(a,B),I=m(r==null?void 0:r.compoundVariants,B);return Zu(I,S)},F=B=>{let S=O(B);if(!Array.isArray(S))return S;let I={};for(let V of S)if(typeof V=="string"&&(I.base=Wr(I.base,V)(u)),typeof V=="object")for(let[N,P]of Object.entries(V))I[N]=Wr(I[N],P)(u);return I},T=B=>{if(i.length<1)return null;let S={};for(let{slots:I=[],class:V,className:N,...P}of i){if(!We(P)){let G=!0;for(let Y of Object.keys(P)){let H=K(Y,B)[Y];if(H===void 0||(Array.isArray(P[Y])?!P[Y].includes(H):P[Y]!==H)){G=!1;break}}if(!G)continue}for(let G of I)S[G]=S[G]||[],S[G].push([V,N])}return S};if(!We(n)||!b){let B={};if(typeof g=="object"&&!We(g))for(let S of Object.keys(g))B[S]=I=>{var V,N;return Wr(g[S],M(S,I),((V=F(I))!=null?V:[])[S],((N=T(I))!=null?N:[])[S],I==null?void 0:I.class,I==null?void 0:I.className)(u)};return B}return Wr(c,A(),O(),x==null?void 0:x.class,x==null?void 0:x.className)(u)},h=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return $.variantKeys=h(),$.extend=r,$.base=c,$.slots=g,$.variants=d,$.defaultVariants=f,$.compoundSlots=i,$.compoundVariants=a,$},Un=["small","medium","large"],Ko=(e,t)=>{var r,n,o;return Sm(e,{...t,twMerge:(r=t==null?void 0:t.twMerge)!=null?r:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(n=t==null?void 0:t.twMergeConfig)==null?void 0:n.theme,opacity:["disabled"],spacing:["divider"],borderWidth:Un,borderRadius:Un},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:Un}],"font-size":[{text:["tiny",...Un]}],"bg-image":["bg-stripe-gradient"]}}})},ac=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],xa=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],ws=Ko({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...ac],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:ce.solid.foreground},primary:{base:"before:bg-primary",content:ce.solid.primary},secondary:{base:"before:bg-secondary",content:ce.solid.secondary},success:{base:"before:bg-success",content:ce.solid.success},warning:{base:"before:bg-warning",content:ce.solid.warning},danger:{base:"before:bg-danger",content:ce.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",disableAnimation:!1,triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]}),Tm=Ko({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...ac],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...xa,"flex","items-center","justify-center"],name:[...xa,"font-normal","text-center","text-inherit"],icon:[...xa,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:ce.solid.default},primary:{base:ce.solid.primary},secondary:{base:ce.solid.secondary},success:{base:ce.solid.success},warning:{base:ce.solid.warning},danger:{base:ce.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 rtl:data-[hover=true]:translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3 rtl:data-[focus-visible=true]:translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]}),km=Ko({slots:{base:"flex items-center justify-center h-auto w-max-content",count:"hover:-translate-x-0"},variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}}),Cs=Ko({slots:{base:["relative","inline-flex","shrink-0"],badge:["flex","z-10","flex-wrap","absolute","box-border","rounded-full","whitespace-nowrap","place-content-center","origin-center","items-center","text-inherit","select-none","font-regular","scale-100","opacity-100","subpixel-antialiased","data-[invisible=true]:scale-0","data-[invisible=true]:opacity-0"]},variants:{variant:{solid:{},flat:{},faded:{badge:"border-medium"},shadow:{}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{badge:"px-1 text-tiny"},md:{badge:"px-1 text-small"},lg:{badge:"px-1 text-small"}},placement:{"top-right":{},"top-left":{},"bottom-right":{},"bottom-left":{}},shape:{circle:{},rectangle:{}},isInvisible:{true:{}},isOneChar:{true:{badge:"px-0"}},isDot:{true:{}},disableAnimation:{true:{badge:"transition-none"},false:{badge:"transition-transform-opacity !ease-soft-spring !duration-300"}},showOutline:{true:{badge:"border-2 border-background"},false:{badge:"border-transparent border-0"}}},defaultVariants:{variant:"solid",color:"default",size:"md",shape:"rectangle",placement:"top-right",showOutline:!0,disableAnimation:!1,isInvisible:!1},compoundVariants:[{variant:"solid",color:"default",class:{badge:ce.solid.default}},{variant:"solid",color:"primary",class:{badge:ce.solid.primary}},{variant:"solid",color:"secondary",class:{badge:ce.solid.secondary}},{variant:"solid",color:"success",class:{badge:ce.solid.success}},{variant:"solid",color:"warning",class:{badge:ce.solid.warning}},{variant:"solid",color:"danger",class:{badge:ce.solid.danger}},{variant:"shadow",color:"default",class:{badge:ce.shadow.default}},{variant:"shadow",color:"primary",class:{badge:ce.shadow.primary}},{variant:"shadow",color:"secondary",class:{badge:ce.shadow.secondary}},{variant:"shadow",color:"success",class:{badge:ce.shadow.success}},{variant:"shadow",color:"warning",class:{badge:ce.shadow.warning}},{variant:"shadow",color:"danger",class:{badge:ce.shadow.danger}},{variant:"flat",color:"default",class:{badge:ce.flat.default}},{variant:"flat",color:"primary",class:{badge:ce.flat.primary}},{variant:"flat",color:"secondary",class:{badge:ce.flat.secondary}},{variant:"flat",color:"success",class:{badge:ce.flat.success}},{variant:"flat",color:"warning",class:{badge:ce.flat.warning}},{variant:"flat",color:"danger",class:{badge:ce.flat.danger}},{variant:"faded",color:"default",class:{badge:ce.faded.default}},{variant:"faded",color:"primary",class:{badge:ce.faded.primary}},{variant:"faded",color:"secondary",class:{badge:ce.faded.secondary}},{variant:"faded",color:"success",class:{badge:ce.faded.success}},{variant:"faded",color:"warning",class:{badge:ce.faded.warning}},{variant:"faded",color:"danger",class:{badge:ce.faded.danger}},{isOneChar:!0,size:"sm",class:{badge:"w-4 h-4 min-w-4 min-h-4"}},{isOneChar:!0,size:"md",class:{badge:"w-5 h-5 min-w-5 min-h-5"}},{isOneChar:!0,size:"lg",class:{badge:"w-6 h-6 min-w-6 min-h-6"}},{isDot:!0,size:"sm",class:{badge:"w-3 h-3 min-w-3 min-h-3"}},{isDot:!0,size:"md",class:{badge:"w-3.5 h-3.5 min-w-3.5 min-h-3.5"}},{isDot:!0,size:"lg",class:{badge:"w-4 h-4 min-w-4 min-h-4"}},{placement:"top-right",shape:"rectangle",class:{badge:"top-[5%] right-[5%] translate-x-1/2 -translate-y-1/2"}},{placement:"top-left",shape:"rectangle",class:{badge:"top-[5%] left-[5%] -translate-x-1/2 -translate-y-1/2"}},{placement:"bottom-right",shape:"rectangle",class:{badge:"bottom-[5%] right-[5%] translate-x-1/2 translate-y-1/2"}},{placement:"bottom-left",shape:"rectangle",class:{badge:"bottom-[5%] left-[5%] -translate-x-1/2 translate-y-1/2"}},{placement:"top-right",shape:"circle",class:{badge:"top-[10%] right-[10%] translate-x-1/2 -translate-y-1/2"}},{placement:"top-left",shape:"circle",class:{badge:"top-[10%] left-[10%] -translate-x-1/2 -translate-y-1/2"}},{placement:"bottom-right",shape:"circle",class:{badge:"bottom-[10%] right-[10%] translate-x-1/2 translate-y-1/2"}},{placement:"bottom-left",shape:"circle",class:{badge:"bottom-[10%] left-[10%] -translate-x-1/2 translate-y-1/2"}}]});function ot(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=e!==void 0;l.useEffect(()=>{let c=a.current;c!==i&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let s=i?e:n,u=l.useCallback((c,...d)=>{let f=(b,...p)=>{r&&(Object.is(s,b)||r(b,...p)),i||(s=b)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((p,...g)=>{let $=c(i?s:p,...g);return f($,...d),i?p:$})):(i||o(c),f(c,...d))},[i,s,r]);return[s,u]}function rt(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function He(e,t,r,n){t=Number(t),r=Number(r);let o=(e-(isNaN(t)?0:t))%n,a=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):a<t?a=t:!isNaN(r)&&a>r&&(a=t+Math.floor((r-t)/n)*n);let i=n.toString(),s=i.indexOf("."),u=s>=0?i.length-s:0;if(u>0){let c=Math.pow(10,u);a=Math.round(a*c)/c}return a}const go={prefix:String(Math.round(Math.random()*1e10)),current:0},ic=l.createContext(go),Mm=l.createContext(!1);let Am=!!(typeof window<"u"&&window.document&&window.document.createElement),wa=new WeakMap;function Fm(e=!1){let t=l.useContext(ic),r=l.useRef(null);if(r.current===null&&!e){var n,o;let a=(o=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(n=o.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=wa.get(a);i==null?wa.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,wa.delete(a))}r.current=++t.current}return r.current}function Rm(e){let t=l.useContext(ic);t===go&&!Am&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=Fm(!!e),n=t===go&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function Bm(e){let t=l.useId(),[r]=l.useState(mt()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${go.prefix}`;return e||`${n}-${t}`}const Im=typeof l.useId=="function"?Bm:Rm;function Lm(){return!1}function Om(){return!0}function Nm(e){return()=>{}}function mt(){return typeof l.useSyncExternalStore=="function"?l.useSyncExternalStore(Nm,Lm,Om):l.useContext(Mm)}function lc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=lc(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Km(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=lc(e))&&(n&&(n+=" "),n+=t);return n}const be=typeof document<"u"?l.useLayoutEffect:()=>{};function Ee(e){const t=l.useRef(null);return be(()=>{t.current=e},[e]),l.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}function Vm(e){let[t,r]=l.useState(e),n=l.useRef(null),o=Ee(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?o():r(i.value)});be(()=>{n.current&&o()});let a=Ee(i=>{n.current=i(t),o()});return[t,a]}let _m=!!(typeof window<"u"&&window.document&&window.document.createElement),mo=new Map;function Oe(e){let[t,r]=l.useState(e),n=l.useRef(null),o=Im(t),a=l.useCallback(i=>{n.current=i},[]);return _m&&mo.set(o,a),be(()=>{let i=o;return()=>{mo.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function jm(e,t){if(e===t)return e;let r=mo.get(e);if(r)return r(t),t;let n=mo.get(t);return n?(n(e),e):t}function Nt(e=[]){let t=Oe(),[r,n]=Vm(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return be(o,[t,o,...e]),r}function Kt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const $e=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},tt=e=>e&&"window"in e&&e.window===e?e:$e(e).defaultView||window;function X(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Kt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Km(a,i):o==="id"&&a&&i?t.id=jm(a,i):t[o]=i!==void 0?i:a}}return t}function Vo(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const zm=new Set(["id"]),Um=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Hm=new Set(["href","target","rel","download","ping","referrerPolicy"]),Gm=/^(data-.*)$/;function le(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(zm.has(i)||r&&Um.has(i)||n&&Hm.has(i)||o!=null&&o.has(i)||Gm.test(i))&&(a[i]=e[i]);return a}function gt(e){if(Wm())e.focus({preventScroll:!0});else{let t=Ym(e);e.focus(),qm(t)}}let Hn=null;function Wm(){if(Hn==null){Hn=!1;try{document.createElement("div").focus({get preventScroll(){return Hn=!0,!0}})}catch{}}return Hn}function Ym(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function qm(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function _o(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function ji(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function St(){return ji(/^Mac/i)}function sc(){return ji(/^iPhone/i)}function uc(){return ji(/^iPad/i)||St()&&navigator.maxTouchPoints>1}function kr(){return sc()||uc()}function ao(){return St()||kr()}function zi(){return _o(/AppleWebKit/i)&&!Zm()}function Zm(){return _o(/Chrome/i)}function Ui(){return _o(/Android/i)}function Xm(){return _o(/Firefox/i)}const Jm=l.createContext({isNative:!0,open:t$});function yn(){return l.useContext(Jm)}function Qm(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Zt(e,t,r=!0){var n,o;let{metaKey:a,ctrlKey:i,altKey:s,shiftKey:u}=t;Xm()&&(!((o=window.event)===null||o===void 0||(n=o.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(St()?a=!0:i=!0);let c=zi()&&St()&&!uc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:s,shiftKey:u,bubbles:!0,cancelable:!0});Zt.isOpening=r,gt(e),e.dispatchEvent(c),Zt.isOpening=!1}Zt.isOpening=!1;function e$(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function t$(e,t){e$(e,r=>Zt(r,t))}let vr=new Map,ti=new Set;function Es(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let o=vr.get(n.target);o||(o=new Set,vr.set(n.target,o),n.target.addEventListener("transitioncancel",r,{once:!0})),o.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let o=vr.get(n.target);if(o&&(o.delete(n.propertyName),o.size===0&&(n.target.removeEventListener("transitioncancel",r),vr.delete(n.target)),vr.size===0)){for(let a of ti)a();ti.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Es():document.addEventListener("DOMContentLoaded",Es));function cc(e){requestAnimationFrame(()=>{vr.size===0?e():ti.add(e)})}function Mr(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let u=s!=null&&s.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:a,eventTarget:o,fn:u,options:s}),o.addEventListener(a,i,s)},[]),r=l.useCallback((o,a,i,s)=>{var u;let c=((u=e.current.get(i))===null||u===void 0?void 0:u.fn)||i;o.removeEventListener(a,c,s),e.current.delete(i)},[]),n=l.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Xt(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Oe(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function at(e){const t=l.useRef(null);return l.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function r$(){return typeof window.ResizeObserver<"u"}function Hi(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(r$()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Gi(e,t){be(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function cn(e,t){let r=e;for($o(r,t)&&(r=r.parentElement);r&&!$o(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function $o(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}let Xe=typeof document<"u"&&window.visualViewport;function n$(){let e=mt(),[t,r]=l.useState(()=>e?{width:0,height:0}:Ds());return l.useEffect(()=>{let n=()=>{r(o=>{let a=Ds();return a.width===o.width&&a.height===o.height?o:a})};return Xe?Xe.addEventListener("resize",n):window.addEventListener("resize",n),()=>{Xe?Xe.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function Ds(){return{width:Xe&&(Xe==null?void 0:Xe.width)||window.innerWidth,height:Xe&&(Xe==null?void 0:Xe.height)||window.innerHeight}}let o$=0;const Ca=new Map;function dc(e){let[t,r]=l.useState();return be(()=>{if(!e)return;let n=Ca.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${o$++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Ca.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Ca.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function yo(e,t,r,n){let o=Ee(r),a=r==null;l.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,o,n),()=>{i.removeEventListener(t,o,n)}},[e,t,n,a,o])}function fc(e,t){let r=Ps(e,t,"left"),n=Ps(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:u,borderLeftWidth:c}=getComputedStyle(e),d=e.scrollLeft+parseInt(c,10),f=e.scrollTop+parseInt(u,10),b=d+e.clientWidth,p=f+e.clientHeight;r<=i?i=r-parseInt(c,10):r+o>b&&(i+=r+o-b),n<=f?s=n-parseInt(u,10):n+a>p&&(s+=n+a-p),e.scrollLeft=i,e.scrollTop=s}function Ps(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function ri(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let u=cn(e);for(;e&&u&&e!==i&&u!==i;)fc(u,e),e=u,u=cn(e)}else{var r;let{left:u,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(u-d)>1||Math.abs(c-f)>1){var n,o,a;t==null||(o=t.containingElement)===null||o===void 0||(n=o.scrollIntoView)===null||n===void 0||n.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function ni(e){return e.mozInputSource===0&&e.isTrusted?!0:Ui()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function a$(e){return!Ui()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function i$(e,t){let r=l.useRef(null);return e&&r.current&&t(e,r.current)&&(e=r.current),r.current=e,e}function hn(e,t,r){let n=l.useRef(t),o=Ee(()=>{r&&r(n.current)});l.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",o),()=>{i==null||i.removeEventListener("reset",o)}},[e,o])}function l$(e,t){return t.get?t.get.call(e):t.value}function pc(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function s$(e,t){var r=pc(e,t,"get");return l$(e,r)}function u$(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xn(e,t,r){u$(e,t),t.set(e,r)}function c$(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Ss(e,t,r){var n=pc(e,t,"set");return c$(e,n,r),r}let $r="default",oi="",io=new WeakMap;function ai(e){if(kr()){if($r==="default"){const t=$e(e);oi=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}$r="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(io.set(e,e.style.userSelect),e.style.userSelect="none")}function en(e){if(kr()){if($r!=="disabled")return;$r="restoring",setTimeout(()=>{cc(()=>{if($r==="restoring"){const t=$e(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=oi||""),oi="",$r="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&io.has(e)){let t=io.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),io.delete(e)}}const dn=l.createContext({register:()=>{}});dn.displayName="PressResponderContext";function d$(e){let t=l.useContext(dn);if(t){let{register:r,...n}=t;e=X(n,e),r()}return Gi(t,e.ref),e}var Gn=new WeakMap;class Wn{continuePropagation(){Ss(this,Gn,!1)}get shouldStopPropagation(){return s$(this,Gn)}constructor(t,r,n){xn(this,Gn,{writable:!0,value:void 0}),Ss(this,Gn,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const Ts=Symbol("linkClicked");function Vt(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...b}=d$(e),[p,g]=l.useState(!1),$=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:x}=Mr(),C=Ee((m,O)=>{let F=$.current;if(i||F.didFirePressStart)return!1;let T=!0;if(F.isTriggeringEvent=!0,n){let B=new Wn("pressstart",O,m);n(B),T=B.shouldStopPropagation}return r&&r(!0),F.isTriggeringEvent=!1,F.didFirePressStart=!0,g(!0),T}),E=Ee((m,O,F=!0)=>{let T=$.current;if(!T.didFirePressStart)return!1;T.ignoreClickAfterPress=!0,T.didFirePressStart=!1,T.isTriggeringEvent=!0;let B=!0;if(o){let S=new Wn("pressend",O,m);o(S),B=S.shouldStopPropagation}if(r&&r(!1),g(!1),t&&F&&!i){let S=new Wn("press",O,m);t(S),B&&(B=S.shouldStopPropagation)}return T.isTriggeringEvent=!1,B}),A=Ee((m,O)=>{let F=$.current;if(i)return!1;if(a){F.isTriggeringEvent=!0;let T=new Wn("pressup",O,m);return a(T),F.isTriggeringEvent=!1,T.shouldStopPropagation}return!0}),M=Ee(m=>{let O=$.current;O.isPressed&&O.target&&(O.isOverTarget&&O.pointerType!=null&&E(yt(O.target,m),O.pointerType,!1),O.isPressed=!1,O.isOverTarget=!1,O.activePointerId=null,O.pointerType=null,x(),d||en(O.target))}),R=Ee(m=>{c&&M(m)}),K=l.useMemo(()=>{let m=$.current,O={onKeyDown(T){if(Ea(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)){var B;Ms(T.target,T.key)&&T.preventDefault();let S=!0;if(!m.isPressed&&!T.repeat){m.target=T.currentTarget,m.isPressed=!0,S=C(T,"keyboard");let I=T.currentTarget,V=N=>{Ea(N,I)&&!N.repeat&&I.contains(N.target)&&m.target&&A(yt(m.target,N),"keyboard")};h($e(T.currentTarget),"keyup",Kt(V,F),!0)}S&&T.stopPropagation(),T.metaKey&&St()&&((B=m.metaKeyEvents)===null||B===void 0||B.set(T.key,T.nativeEvent))}else T.key==="Meta"&&(m.metaKeyEvents=new Map)},onClick(T){if(!(T&&!T.currentTarget.contains(T.target))&&T&&T.button===0&&!m.isTriggeringEvent&&!Zt.isOpening){let B=!0;if(i&&T.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||ni(T.nativeEvent))){!i&&!u&>(T.currentTarget);let S=C(T,"virtual"),I=A(T,"virtual"),V=E(T,"virtual");B=S&&I&&V}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,B&&T.stopPropagation()}}},F=T=>{var B;if(m.isPressed&&m.target&&Ea(T,m.target)){var S;Ms(T.target,T.key)&&T.preventDefault();let V=T.target;E(yt(m.target,T),"keyboard",m.target.contains(V)),x(),T.key!=="Enter"&&Wi(m.target)&&m.target.contains(V)&&!T[Ts]&&(T[Ts]=!0,Zt(m.target,T,!1)),m.isPressed=!1,(S=m.metaKeyEvents)===null||S===void 0||S.delete(T.key)}else if(T.key==="Meta"&&(!((B=m.metaKeyEvents)===null||B===void 0)&&B.size)){var I;let V=m.metaKeyEvents;m.metaKeyEvents=void 0;for(let N of V.values())(I=m.target)===null||I===void 0||I.dispatchEvent(new KeyboardEvent("keyup",N))}};if(typeof PointerEvent<"u"){O.onPointerDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(a$(I.nativeEvent)){m.pointerType="virtual";return}Da(I.currentTarget)&&I.preventDefault(),m.pointerType=I.pointerType;let V=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=I.pointerId,m.target=I.currentTarget,!i&&!u&>(I.currentTarget),d||ai(m.target),V=C(I,m.pointerType),h($e(I.currentTarget),"pointermove",T,!1),h($e(I.currentTarget),"pointerup",B,!1),h($e(I.currentTarget),"pointercancel",S,!1)),V&&I.stopPropagation()},O.onMouseDown=I=>{I.currentTarget.contains(I.target)&&I.button===0&&(Da(I.currentTarget)&&I.preventDefault(),I.stopPropagation())},O.onPointerUp=I=>{!I.currentTarget.contains(I.target)||m.pointerType==="virtual"||I.button===0&&dr(I,I.currentTarget)&&A(I,m.pointerType||I.pointerType)};let T=I=>{I.pointerId===m.activePointerId&&(m.target&&dr(I,m.target)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,C(yt(m.target,I),m.pointerType)):m.target&&m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,E(yt(m.target,I),m.pointerType,!1),R(I)))},B=I=>{I.pointerId===m.activePointerId&&m.isPressed&&I.button===0&&m.target&&(dr(I,m.target)&&m.pointerType!=null?E(yt(m.target,I),m.pointerType):m.isOverTarget&&m.pointerType!=null&&E(yt(m.target,I),m.pointerType,!1),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,x(),d||en(m.target))},S=I=>{M(I)};O.onDragStart=I=>{I.currentTarget.contains(I.target)&&M(I)}}else{O.onMouseDown=S=>{if(S.button!==0||!S.currentTarget.contains(S.target))return;if(Da(S.currentTarget)&&S.preventDefault(),m.ignoreEmulatedMouseEvents){S.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=S.currentTarget,m.pointerType=ni(S.nativeEvent)?"virtual":"mouse",!i&&!u&>(S.currentTarget),C(S,m.pointerType)&&S.stopPropagation(),h($e(S.currentTarget),"mouseup",T,!1)},O.onMouseEnter=S=>{if(!S.currentTarget.contains(S.target))return;let I=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!0,I=C(S,m.pointerType)),I&&S.stopPropagation()},O.onMouseLeave=S=>{if(!S.currentTarget.contains(S.target))return;let I=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!1,I=E(S,m.pointerType,!1),R(S)),I&&S.stopPropagation()},O.onMouseUp=S=>{S.currentTarget.contains(S.target)&&!m.ignoreEmulatedMouseEvents&&S.button===0&&A(S,m.pointerType||"mouse")};let T=S=>{if(S.button===0){if(m.isPressed=!1,x(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&dr(S,m.target)&&m.pointerType!=null?E(yt(m.target,S),m.pointerType):m.target&&m.isOverTarget&&m.pointerType!=null&&E(yt(m.target,S),m.pointerType,!1),m.isOverTarget=!1}};O.onTouchStart=S=>{if(!S.currentTarget.contains(S.target))return;let I=f$(S.nativeEvent);if(!I)return;m.activePointerId=I.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=S.currentTarget,m.pointerType="touch",!i&&!u&>(S.currentTarget),d||ai(m.target),C(S,m.pointerType)&&S.stopPropagation(),h(tt(S.currentTarget),"scroll",B,!0)},O.onTouchMove=S=>{if(!S.currentTarget.contains(S.target))return;if(!m.isPressed){S.stopPropagation();return}let I=ks(S.nativeEvent,m.activePointerId),V=!0;I&&dr(I,S.currentTarget)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,V=C(S,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,V=E(S,m.pointerType,!1),R(S)),V&&S.stopPropagation()},O.onTouchEnd=S=>{if(!S.currentTarget.contains(S.target))return;if(!m.isPressed){S.stopPropagation();return}let I=ks(S.nativeEvent,m.activePointerId),V=!0;I&&dr(I,S.currentTarget)&&m.pointerType!=null?(A(S,m.pointerType),V=E(S,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(V=E(S,m.pointerType,!1)),V&&S.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,m.target&&!d&&en(m.target),x()},O.onTouchCancel=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),m.isPressed&&M(S))};let B=S=>{m.isPressed&&S.target.contains(m.target)&&M({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};O.onDragStart=S=>{S.currentTarget.contains(S.target)&&M(S)}}return O},[h,i,u,x,d,M,R,E,C,A]);return l.useEffect(()=>()=>{var m;d||en((m=$.current.target)!==null&&m!==void 0?m:void 0)},[d]),{isPressed:s||p,pressProps:X(b,K)}}function Wi(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ea(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof tt(o).HTMLInputElement&&!bc(o,r)||o instanceof tt(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Wi(o))&&r!=="Enter")}function f$(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function ks(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function yt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function p$(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function b$(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function dr(e,t){let r=t.getBoundingClientRect(),n=p$(e);return b$(r,n)}function Da(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Ms(e,t){return e instanceof HTMLInputElement?!bc(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Wi(e)}const v$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function bc(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":v$.has(e.type)}const g$=l.forwardRef(({children:e,...t},r)=>{let n=l.useRef(!1),o=l.useContext(dn);r=at(r||(o==null?void 0:o.ref));let a=X(o||{},{...t,ref:r,register(){n.current=!0,o&&o.register()}});return Gi(o,r),l.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),l.createElement(dn.Provider,{value:a},e)});function m$({children:e}){let t=l.useMemo(()=>({register:()=>{}}),[]);return l.createElement(dn.Provider,{value:t},e)}class $${isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function vc(e){let t=l.useRef({isFocused:!1,observer:null});be(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Ee(n=>{e==null||e(n)});return l.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,a=i=>{t.current.isFocused=!1,o.disabled&&r(new $$("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function jo(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=l.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),o&&o(!1),!0},[n,o]),i=vc(a),s=l.useCallback(u=>{u.target===u.currentTarget&&document.activeElement===u.target&&(r&&r(u),o&&o(!0),i(u))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}let Tt=null,fn=new Set,on=new Map,Jt=!1,ii=!1;const y$={Tab:!0,Escape:!0};function zo(e,t){for(let r of fn)r(e,t)}function h$(e){return!(e.metaKey||!St()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ho(e){Jt=!0,h$(e)&&(Tt="keyboard",zo("keyboard",e))}function Qe(e){Tt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Jt=!0,zo("pointer",e))}function gc(e){ni(e)&&(Jt=!0,Tt="virtual")}function mc(e){e.target===window||e.target===document||(!Jt&&!ii&&(Tt="virtual",zo("virtual",e)),Jt=!1,ii=!1)}function $c(){Jt=!1,ii=!0}function xo(e){if(typeof window>"u"||on.get(tt(e)))return;const t=tt(e),r=$e(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Jt=!0,n.apply(this,arguments)},r.addEventListener("keydown",ho,!0),r.addEventListener("keyup",ho,!0),r.addEventListener("click",gc,!0),t.addEventListener("focus",mc,!0),t.addEventListener("blur",$c,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",Qe,!0),r.addEventListener("pointermove",Qe,!0),r.addEventListener("pointerup",Qe,!0)):(r.addEventListener("mousedown",Qe,!0),r.addEventListener("mousemove",Qe,!0),r.addEventListener("mouseup",Qe,!0)),t.addEventListener("beforeunload",()=>{yc(e)},{once:!0}),on.set(t,{focus:n})}const yc=(e,t)=>{const r=tt(e),n=$e(e);t&&n.removeEventListener("DOMContentLoaded",t),on.has(r)&&(r.HTMLElement.prototype.focus=on.get(r).focus,n.removeEventListener("keydown",ho,!0),n.removeEventListener("keyup",ho,!0),n.removeEventListener("click",gc,!0),r.removeEventListener("focus",mc,!0),r.removeEventListener("blur",$c,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",Qe,!0),n.removeEventListener("pointermove",Qe,!0),n.removeEventListener("pointerup",Qe,!0)):(n.removeEventListener("mousedown",Qe,!0),n.removeEventListener("mousemove",Qe,!0),n.removeEventListener("mouseup",Qe,!0)),on.delete(r))};function x$(e){const t=$e(e);let r;return t.readyState!=="loading"?xo(e):(r=()=>{xo(e)},t.addEventListener("DOMContentLoaded",r)),()=>yc(e,r)}typeof document<"u"&&x$();function Dr(){return Tt!=="pointer"}function wo(){return Tt}function hc(e){Tt=e,zo(e,null)}function w$(){xo();let[e,t]=l.useState(Tt);return l.useEffect(()=>{let r=()=>{t(Tt)};return fn.add(r),()=>{fn.delete(r)}},[]),mt()?null:e}const C$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function E$(e,t,r){var n;const o=typeof window<"u"?tt(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?tt(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?tt(r==null?void 0:r.target).HTMLElement:HTMLElement,s=typeof window<"u"?tt(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof o&&!C$.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof a||(r==null?void 0:r.target)instanceof i&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof s&&!y$[r.key])}function D$(e,t,r){xo(),l.useEffect(()=>{let n=(o,a)=>{E$(!!(r!=null&&r.isTextInput),o,a)&&e(Dr())};return fn.add(n),()=>{fn.delete(n)}},t)}function Ar(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(c=>{a.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(c),o&&o(!1))},[r,o,a]),s=vc(i),u=l.useCallback(c=>{!a.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),o&&o(!0),a.current.isFocusWithin=!0,s(c))},[n,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:i}}}let Co=!1,Pa=0;function li(){Co=!0,setTimeout(()=>{Co=!1},50)}function As(e){e.pointerType==="touch"&&li()}function P$(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",As):document.addEventListener("touchend",li),Pa++,()=>{Pa--,!(Pa>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",As):document.removeEventListener("touchend",li))}}function Me(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=l.useState(!1),s=l.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;l.useEffect(P$,[]);let{hoverProps:u,triggerHoverEnd:c}=l.useMemo(()=>{let d=(p,g)=>{if(s.pointerType=g,o||g==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let $=p.currentTarget;s.target=$,t&&t({type:"hoverstart",target:$,pointerType:g}),r&&r(!0),i(!0)},f=(p,g)=>{if(s.pointerType="",s.target=null,g==="touch"||!s.isHovered)return;s.isHovered=!1;let $=p.currentTarget;n&&n({type:"hoverend",target:$,pointerType:g}),r&&r(!1),i(!1)},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=p=>{Co&&p.pointerType==="mouse"||d(p,p.pointerType)},b.onPointerLeave=p=>{!o&&p.currentTarget.contains(p.target)&&f(p,p.pointerType)}):(b.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=p=>{!s.ignoreEmulatedMouseEvents&&!Co&&d(p,"mouse"),s.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=p=>{!o&&p.currentTarget.contains(p.target)&&f(p,"mouse")}),{hoverProps:b,triggerHoverEnd:f}},[t,r,n,o,s]);return l.useEffect(()=>{o&&c({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:a}}function xc(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,a=l.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Ee(u=>{r&&Yn(u,t)&&(o&&o(u),a.current.isPointerDown=!0)}),s=Ee(u=>{r&&r(u)});l.useEffect(()=>{let u=a.current;if(n)return;const c=t.current,d=$e(c);if(typeof PointerEvent<"u"){let f=b=>{u.isPointerDown&&Yn(b,t)&&s(b),u.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=p=>{u.ignoreEmulatedMouseEvents?u.ignoreEmulatedMouseEvents=!1:u.isPointerDown&&Yn(p,t)&&s(p),u.isPointerDown=!1},b=p=>{u.ignoreEmulatedMouseEvents=!0,u.isPointerDown&&Yn(p,t)&&s(p),u.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",b,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",b,!0)}}},[t,n,i,s])}function Yn(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function Fs(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function Yi(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Fs(e.onKeyDown),onKeyUp:Fs(e.onKeyUp)}}}function wc(e){let{onMoveStart:t,onMove:r,onMoveEnd:n}=e,o=l.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:i}=Mr(),s=Ee((d,f,b,p)=>{b===0&&p===0||(o.current.didMove||(o.current.didMove=!0,t==null||t({type:"movestart",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})),r==null||r({type:"move",pointerType:f,deltaX:b,deltaY:p,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))}),u=Ee((d,f)=>{en(),o.current.didMove&&(n==null||n({type:"moveend",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))});return{moveProps:l.useMemo(()=>{let d={},f=()=>{ai(),o.current.didMove=!1};if(typeof PointerEvent>"u"){let p=x=>{if(x.button===0){var C,E,A,M;s(x,"mouse",x.pageX-((A=(C=o.current.lastPosition)===null||C===void 0?void 0:C.pageX)!==null&&A!==void 0?A:0),x.pageY-((M=(E=o.current.lastPosition)===null||E===void 0?void 0:E.pageY)!==null&&M!==void 0?M:0)),o.current.lastPosition={pageX:x.pageX,pageY:x.pageY}}},g=x=>{x.button===0&&(u(x,"mouse"),i(window,"mousemove",p,!1),i(window,"mouseup",g,!1))};d.onMouseDown=x=>{x.button===0&&(f(),x.stopPropagation(),x.preventDefault(),o.current.lastPosition={pageX:x.pageX,pageY:x.pageY},a(window,"mousemove",p,!1),a(window,"mouseup",g,!1))};let $=x=>{let C=[...x.changedTouches].findIndex(({identifier:K})=>K===o.current.id);if(C>=0){var E,A;let{pageX:K,pageY:m}=x.changedTouches[C];var M,R;s(x,"touch",K-((M=(E=o.current.lastPosition)===null||E===void 0?void 0:E.pageX)!==null&&M!==void 0?M:0),m-((R=(A=o.current.lastPosition)===null||A===void 0?void 0:A.pageY)!==null&&R!==void 0?R:0)),o.current.lastPosition={pageX:K,pageY:m}}},h=x=>{[...x.changedTouches].findIndex(({identifier:E})=>E===o.current.id)>=0&&(u(x,"touch"),o.current.id=null,i(window,"touchmove",$),i(window,"touchend",h),i(window,"touchcancel",h))};d.onTouchStart=x=>{if(x.changedTouches.length===0||o.current.id!=null)return;let{pageX:C,pageY:E,identifier:A}=x.changedTouches[0];f(),x.stopPropagation(),x.preventDefault(),o.current.lastPosition={pageX:C,pageY:E},o.current.id=A,a(window,"touchmove",$,!1),a(window,"touchend",h,!1),a(window,"touchcancel",h,!1)}}else{let p=$=>{if($.pointerId===o.current.id){var h,x;let A=$.pointerType||"mouse";var C,E;s($,A,$.pageX-((C=(h=o.current.lastPosition)===null||h===void 0?void 0:h.pageX)!==null&&C!==void 0?C:0),$.pageY-((E=(x=o.current.lastPosition)===null||x===void 0?void 0:x.pageY)!==null&&E!==void 0?E:0)),o.current.lastPosition={pageX:$.pageX,pageY:$.pageY}}},g=$=>{if($.pointerId===o.current.id){let h=$.pointerType||"mouse";u($,h),o.current.id=null,i(window,"pointermove",p,!1),i(window,"pointerup",g,!1),i(window,"pointercancel",g,!1)}};d.onPointerDown=$=>{$.button===0&&o.current.id==null&&(f(),$.stopPropagation(),$.preventDefault(),o.current.lastPosition={pageX:$.pageX,pageY:$.pageY},o.current.id=$.pointerId,a(window,"pointermove",p,!1),a(window,"pointerup",g,!1),a(window,"pointercancel",g,!1))}}let b=(p,g,$)=>{f(),s(p,"keyboard",g,$),u(p,"keyboard")};return d.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),b(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),b(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),b(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),b(p,0,1);break}},d},[o,a,i,s,u])}}function S$(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);yo(t,"wheel",n?void 0:o)}const T$=500;function Cc(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=T$,accessibilityDescription:i}=e;const s=l.useRef();let{addGlobalListener:u,removeGlobalListener:c}=Mr(),{pressProps:d}=Vt({isDisabled:t,onPressStart(b){if(b.continuePropagation(),(b.pointerType==="mouse"||b.pointerType==="touch")&&(r&&r({...b,type:"longpressstart"}),s.current=setTimeout(()=>{b.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...b,type:"longpress"}),s.current=void 0},a),b.pointerType==="touch")){let p=g=>{g.preventDefault()};u(b.target,"contextmenu",p,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{c(b.target,"contextmenu",p)},30)},{once:!0})}},onPressEnd(b){s.current&&clearTimeout(s.current),n&&(b.pointerType==="mouse"||b.pointerType==="touch")&&n({...b,type:"longpressend"})}}),f=dc(o&&!t?i:void 0);return{longPressProps:X(d,f)}}function Qt(e){const t=$e(e);if(wo()==="virtual"){let r=t.activeElement;cc(()=>{t.activeElement===r&&e.isConnected&>(e)})}else gt(e)}function k$(e){const t=tt(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function M$(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Ec(e,t){return e.nodeName!=="#comment"&&k$(e)&&M$(e,t)&&(!e.parentElement||Ec(e.parentElement,e))}const Rs=l.createContext(null);let me=null;function qi(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(null),i=l.useRef(null),s=l.useRef([]),{parentNode:u}=l.useContext(Rs)||{},c=l.useMemo(()=>new si({scopeRef:s}),[s]);be(()=>{let b=u||Te.root;if(Te.getTreeNode(b.scopeRef)&&me&&!Do(me,b.scopeRef)){let p=Te.getTreeNode(me);p&&(b=p)}b.addChild(c),Te.addNode(c)},[c,u]),be(()=>{let b=Te.getTreeNode(s);b&&(b.contain=!!r)},[r]),be(()=>{var b;let p=(b=a.current)===null||b===void 0?void 0:b.nextSibling,g=[];for(;p&&p!==i.current;)g.push(p),p=p.nextSibling;s.current=g},[t]),O$(s,n,r),B$(s,r),K$(s,n,r),L$(s,o),l.useEffect(()=>{const b=$e(s.current?s.current[0]:void 0).activeElement;let p=null;if(Ke(b,s.current)){for(let g of Te.traverse())g.scopeRef&&Ke(b,g.scopeRef.current)&&(p=g);p===Te.getTreeNode(s)&&(me=p.scopeRef)}},[s]),be(()=>()=>{var b,p,g;let $=(g=(p=Te.getTreeNode(s))===null||p===void 0||(b=p.parent)===null||b===void 0?void 0:b.scopeRef)!==null&&g!==void 0?g:null;(s===me||Do(s,me))&&(!$||Te.getTreeNode($))&&(me=$),Te.removeTreeNode(s)},[s]);let d=l.useMemo(()=>A$(s),[]),f=l.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return l.createElement(Rs.Provider,{value:f},l.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,l.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function A$(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||$e(r[0]).activeElement,u=r[0].previousElementSibling,c=Yt(r),d=je(c,{tabbable:o,accept:i},r);d.currentNode=Ke(s,r)?s:u;let f=d.nextNode();return!f&&a&&(d.currentNode=u,f=d.nextNode()),f&&Ge(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||$e(r[0]).activeElement,u=r[r.length-1].nextElementSibling,c=Yt(r),d=je(c,{tabbable:o,accept:i},r);d.currentNode=Ke(s,r)?s:u;let f=d.previousNode();return!f&&a&&(d.currentNode=u,f=d.previousNode()),f&&Ge(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Yt(r),i=je(a,{tabbable:n,accept:o},r);i.currentNode=r[0].previousElementSibling;let s=i.nextNode();return s&&Ge(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Yt(r),i=je(a,{tabbable:n,accept:o},r);i.currentNode=r[r.length-1].nextElementSibling;let s=i.previousNode();return s&&Ge(s,!0),s}}}const Zi=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],F$=Zi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Zi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const R$=Zi.join(':not([hidden]):not([tabindex="-1"]),');function Yt(e){return e[0].parentElement}function tn(e){let t=Te.getTreeNode(me);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function B$(e,t){let r=l.useRef(),n=l.useRef();be(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=$e(o?o[0]:void 0);let i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!tn(e))return;let d=a.activeElement,f=e.current;if(!f||!Ke(d,f))return;let b=Yt(f),p=je(b,{tabbable:!0},f);if(!d)return;p.currentNode=d;let g=c.shiftKey?p.previousNode():p.nextNode();g||(p.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,g=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),g&&Ge(g,!0)},s=c=>{(!me||Do(me,e))&&Ke(c.target,e.current)?(me=e,r.current=c.target):tn(e)&&!Eo(c.target,e)?r.current?r.current.focus():me&&me.current&&Po(me.current):tn(e)&&(r.current=c.target)},u=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(a.activeElement&&tn(e)&&!Eo(a.activeElement,e))if(me=e,a.body.contains(c.target)){var d;r.current=c.target,(d=r.current)===null||d===void 0||d.focus()}else me.current&&Po(me.current)})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",s,!1),o==null||o.forEach(c=>c.addEventListener("focusin",s,!1)),o==null||o.forEach(c=>c.addEventListener("focusout",u,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",s,!1),o==null||o.forEach(c=>c.removeEventListener("focusin",s,!1)),o==null||o.forEach(c=>c.removeEventListener("focusout",u,!1))}},[e,t]),be(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Dc(e){return Eo(e)}function Ke(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Eo(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Te.traverse(Te.getTreeNode(t)))if(r&&Ke(e,r.current))return!0;return!1}function I$(e){return Eo(e,me)}function Do(e,t){var r;let n=(r=Te.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ge(e,t=!1){if(e!=null&&!t)try{Qt(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Po(e,t=!0){let r=e[0].previousElementSibling,n=Yt(e),o=je(n,{tabbable:t},e);o.currentNode=r;let a=o.nextNode();t&&!a&&(n=Yt(e),o=je(n,{tabbable:!1},e),o.currentNode=r,a=o.nextNode()),Ge(a)}function L$(e,t){const r=l.useRef(t);l.useEffect(()=>{if(r.current){me=e;const n=$e(e.current?e.current[0]:void 0);!Ke(n.activeElement,me.current)&&e.current&&Po(e.current)}r.current=!1},[e])}function O$(e,t,r){be(()=>{if(t||r)return;let n=e.current;const o=$e(n?n[0]:void 0);let a=i=>{let s=i.target;Ke(s,e.current)?me=e:Dc(s)||(me=null)};return o.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,r])}function N$(e){let t=Te.getTreeNode(me);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function K$(e,t,r){const n=l.useRef(typeof document<"u"?$e(e.current?e.current[0]:void 0).activeElement:null);be(()=>{let o=e.current;const a=$e(o?o[0]:void 0);if(!t||r)return;let i=()=>{(!me||Do(me,e))&&Ke(a.activeElement,e.current)&&(me=e)};return a.addEventListener("focusin",i,!1),o==null||o.forEach(s=>s.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),o==null||o.forEach(s=>s.removeEventListener("focusin",i,!1))}},[e,r]),be(()=>{const o=$e(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!tn(e))return;let s=o.activeElement;if(!Ke(s,e.current))return;let u=Te.getTreeNode(e);if(!u)return;let c=u.nodeToRestore,d=je(o.body,{tabbable:!0});d.currentNode=s;let f=i.shiftKey?d.previousNode():d.nextNode();if((!c||!o.body.contains(c)||c===o.body)&&(c=void 0,u.nodeToRestore=void 0),(!f||!Ke(f,e.current))&&c){d.currentNode=c;do f=i.shiftKey?d.previousNode():d.nextNode();while(Ke(f,e.current));i.preventDefault(),i.stopPropagation(),f?Ge(f,!0):Dc(c)?Ge(c,!0):s.blur()}};return r||o.addEventListener("keydown",a,!0),()=>{r||o.removeEventListener("keydown",a,!0)}},[e,t,r]),be(()=>{const o=$e(e.current?e.current[0]:void 0);if(!t)return;let a=Te.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let s=Te.getTreeNode(e);if(!s)return;let u=s.nodeToRestore;if(t&&u&&(Ke(o.activeElement,e.current)||o.activeElement===o.body&&N$(e))){let c=Te.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Ge(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Te.getTreeNode(d.scopeRef)){Po(d.scopeRef.current,!0);return}d=d.parent}}})}}}},[e,t])}function je(e,t,r){let n=t!=null&&t.tabbable?R$:F$,o=$e(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Ec(a)&&(!r||Ke(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function Pc(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return null;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,u=o||$e(n).activeElement,c=je(n,{tabbable:a,accept:s});n.contains(u)&&(c.currentNode=u);let d=c.nextNode();return!d&&i&&(c.currentNode=n,d=c.nextNode()),d&&Ge(d,!0),d},focusPrevious(r=t){let n=e.current;if(!n)return null;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,u=o||$e(n).activeElement,c=je(n,{tabbable:a,accept:s});if(n.contains(u))c.currentNode=u;else{let f=Sa(c);return f&&Ge(f,!0),f??null}let d=c.previousNode();if(!d&&i){c.currentNode=n;let f=Sa(c);if(!f)return null;d=f}return d&&Ge(d,!0),d??null},focusFirst(r=t){let n=e.current;if(!n)return null;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=je(n,{tabbable:o,accept:a}).nextNode();return s&&Ge(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return null;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=je(n,{tabbable:o,accept:a}),s=Sa(i);return s&&Ge(s,!0),s??null}}}function Sa(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Xi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new si({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Ke(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new Xi;var n;for(let o of this.traverse())r.addTreeNode(o.scopeRef,(n=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new si({scopeRef:null}),this.fastMap.set(null,this.root)}}class si{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Te=new Xi;function Ve(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||Dr()}),[a,i]=l.useState(!1),[s,u]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=l.useCallback(()=>u(o.current.isFocused&&o.current.isFocusVisible),[]),d=l.useCallback(p=>{o.current.isFocused=p,i(p),c()},[c]);D$(p=>{o.current.isFocusVisible=p,c()},[],{isTextInput:r});let{focusProps:f}=jo({isDisabled:n,onFocusChange:d}),{focusWithinProps:b}=Ar({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:n?b:f}}let V$=l.createContext(null);function _$(e){let t=l.useContext(V$)||{};Gi(t,e);let{ref:r,...n}=t;return n}function Fr(e,t){let{focusProps:r}=jo(e),{keyboardProps:n}=Yi(e),o=X(r,n),a=_$(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&Qt(t.current),s.current=!1},[t]),{focusableProps:X({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function j$(e,t){let r=t==null?void 0:t.isDisabled,[n,o]=l.useState(!1);return be(()=>{if(e!=null&&e.current&&!r){let a=()=>{if(e.current){let s=je(e.current,{tabbable:!0});o(!!s.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),r?!1:n}var Sc=globalThis!=null&&globalThis.document?l.useLayoutEffect:l.useEffect;function z$(e={}){const{loading:t,src:r,srcSet:n,onLoad:o,onError:a,crossOrigin:i,sizes:s,ignoreFallback:u}=e,[c,d]=l.useState("pending");l.useEffect(()=>{d(r?"loading":"pending")},[r]);const f=l.useRef(),b=l.useCallback(()=>{if(!r)return;p();const g=new Image;g.src=r,i&&(g.crossOrigin=i),n&&(g.srcset=n),s&&(g.sizes=s),t&&(g.loading=t),g.onload=$=>{p(),d("loaded"),o==null||o($)},g.onerror=$=>{p(),d("failed"),a==null||a($)},f.current=g},[r,i,n,s,o,a,t]),p=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Sc(()=>{if(!u)return c==="loading"&&b(),()=>{p()}},[c,b,u]),u?"loaded":c}function U$(e={}){var t,r,n,o,a;const i=Wu(),s=!!i,{as:u,ref:c,src:d,name:f,icon:b,classNames:p,fallback:g,alt:$=f||"avatar",imgRef:h,color:x=(t=i==null?void 0:i.color)!=null?t:"default",radius:C=(r=i==null?void 0:i.radius)!=null?r:"full",size:E=(n=i==null?void 0:i.size)!=null?n:"md",isBordered:A=(o=i==null?void 0:i.isBordered)!=null?o:!1,isDisabled:M=(a=i==null?void 0:i.isDisabled)!=null?a:!1,isFocusable:R=!1,getInitials:K=D4,ignoreFallback:m=!1,showFallback:O=!1,ImgComponent:F="img",imgProps:T,className:B,onError:S,...I}=e,V=u||"span",N=qa(c),P=qa(h),{isFocusVisible:G,isFocused:Y,focusProps:H}=Ve(),{isHovered:w,hoverProps:L}=Me({isDisabled:M}),J=z$({src:d,onError:S,ignoreFallback:m})==="loaded",Q=(!d||!J)&&O,re=l.useMemo(()=>{var ie;return Tm({color:x,radius:C,size:E,isBordered:A,isDisabled:M,isInGroup:s,isInGridGroup:(ie=i==null?void 0:i.isGrid)!=null?ie:!1})},[x,C,E,A,M,s,i==null?void 0:i.isGrid]),z=Er(p==null?void 0:p.base,B),q=l.useMemo(()=>R||u==="button",[R,u]),te=l.useCallback((ie={})=>({ref:N,tabIndex:q?0:-1,"data-hover":vt(w),"data-focus":vt(Y),"data-focus-visible":vt(G),className:re.base({class:Er(z,ie==null?void 0:ie.className)}),...X(I,L,q?H:{})}),[q,re,z,H,I]),ae=l.useCallback((ie={})=>({ref:P,src:d,"data-loaded":vt(J),className:re.img({class:p==null?void 0:p.img}),...X(T,ie)}),[re,J,T,d,P]);return{Component:V,ImgComponent:F,src:d,alt:$,icon:b,name:f,imgRef:P,slots:re,classNames:p,fallback:g,isImgLoaded:J,showFallback:Q,ignoreFallback:m,getInitials:K,getAvatarProps:te,getImageProps:ae}}const H$=Symbol.for("react-aria.i18n.locale"),G$=Symbol.for("react-aria.i18n.strings");let fr;class nr{getStringForLocale(t,r){let o=this.getStringsForLocale(r)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}getStringsForLocale(t){let r=this.strings[t];return r||(r=W$(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[H$];if(fr===void 0){let o=window[G$];if(!o)return null;fr={};for(let a in o)fr[a]=new nr({[r]:o[a]},r)}let n=fr==null?void 0:fr[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function W$(e,t,r="en-US"){if(t[e])return t[e];let n=Y$(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function Y$(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Bs=new Map,Is=new Map;class Tc{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=Bs.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Bs.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Is.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Is.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function Pt(e,t){return e-t*Math.floor(e/t)}const kc=1721426;function qt(e,t,r,n){t=wn(e,t);let o=t-1,a=-2;return r<=2?a=0:Ot(t)&&(a=-1),kc-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Ot(e){return e%4===0&&(e%100!==0||e%400===0)}function wn(e,t){return e==="BC"?1-t:t}function Uo(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const q$={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ye{fromJulianDay(t){let r=t,n=r-kc,o=Math.floor(n/146097),a=Pt(n,146097),i=Math.floor(a/36524),s=Pt(a,36524),u=Math.floor(s/1461),c=Pt(s,1461),d=Math.floor(c/365),f=o*400+i*100+u*4+d+(i!==4&&d!==4?1:0),[b,p]=Uo(f),g=r-qt(b,p,1,1),$=2;r<qt(b,p,3,1)?$=0:Ot(p)&&($=1);let h=Math.floor(((g+$)*12+373)/367),x=r-qt(b,p,h,1)+1;return new ke(b,p,h,x)}toJulianDay(t){return qt(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return q$[Ot(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Ot(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function Mc(e){return Et(Date.now(),e)}function Z$(e){return Lc(Mc(e))}function Ac(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Fc(e,t){return Ls(e)-Ls(t)}function Ls(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ta=null;function Ji(){return Ta==null&&(Ta=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ta}function X$(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function J$(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Pr(e){e=ze(e,new Ye);let t=wn(e.era,e.year);return Rc(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Rc(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function ui(e,t){if(t==="UTC")return 0;if(e>0&&t===Ji())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=Bc(e,t);return Rc(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const Os=new Map;function Bc(e,t){let r=Os.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Os.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const Ns=864e5;function Q$(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>e1(e,t,a))}function e1(e,t,r){let n=Bc(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Ct(e,t,r="compatible"){let n=_t(e);if(t==="UTC")return Pr(n);if(t===Ji()&&r==="compatible"){n=ze(n,new Ye);let u=new Date,c=wn(n.era,n.year);return u.setFullYear(c,n.month-1,n.day),u.setHours(n.hour,n.minute,n.second,n.millisecond),u.getTime()}let o=Pr(n),a=ui(o-Ns,t),i=ui(o+Ns,t),s=Q$(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function Ic(e,t,r="compatible"){return new Date(Ct(e,t,r))}function Et(e,t){let r=ui(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),u=n.getUTCMinutes(),c=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new bn(o,a,i,t,r,s,u,c,d)}function Lc(e){return new ke(e.calendar,e.era,e.year,e.month,e.day)}function _t(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new So(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function Ks(e){return new Go(e.hour,e.minute,e.second,e.millisecond)}function ze(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,er(n),n}function Oc(e,t,r){if(e instanceof bn)return e.timeZone===t?e:r1(e,t);let n=Ct(e,t,r);return Et(n,t)}function t1(e){let t=Pr(e)-e.offset;return new Date(t)}function r1(e,t){let r=Pr(e)-e.offset;return ze(Et(r,t),e.calendar)}const Yr=36e5;function Ho(e,t){let r=e.copy(),n="hour"in r?_c(r,t):0;ci(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,di(r),Nc(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,n1(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let u=(a=(i=r.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,r);r.year=o,r.month=u?1:r.calendar.getMonthsInYear(r),r.day=u?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function ci(e,t){var r,n;!((r=(n=e.calendar).isInverseEra)===null||r===void 0)&&r.call(n,e)&&(t=-t),e.year+=t}function di(e){for(;e.month<1;)ci(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,ci(e,1)}function n1(e){for(;e.day<1;)e.month--,di(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,di(e)}function Nc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function er(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Nc(e)}function Qi(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Kc(e,t){return Ho(e,Qi(t))}function el(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),er(r),r}function pn(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Vc(r),r}function o1(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=qn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=qn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=qn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=qn(e.hour,24),t}function Vc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function qn(e,t){let r=e%t;return r<0&&(r+=t),r}function _c(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,o1(e)}function jc(e,t){let r=e.copy();return _c(r,t),r}function a1(e,t){return jc(e,Qi(t))}function tl(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),u=s.indexOf(e.era);if(u<0)throw new Error("Invalid era: "+e.era);u=Dt(u,r,0,s.length-1,n==null?void 0:n.round),o.era=s[u],er(o);break}case"year":var a,i;!((a=(i=o.calendar).isInverseEra)===null||a===void 0)&&a.call(i,o)&&(r=-r),o.year=Dt(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=Dt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=Dt(e.day,r,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),er(o),o}function rl(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let u=a>=12;i=u?12:0,s=u?23:11}o.hour=Dt(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=Dt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=Dt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=Dt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function Dt(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function zc(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let o=Ho(_t(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=Ct(o,e.timeZone)}else r=Pr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=Et(r,e.timeZone);return ze(n,e.calendar)}function i1(e,t){return zc(e,Qi(t))}function l1(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let g=e.hour>=12;o=g?12:0,a=g?23:11}let i=_t(e),s=ze(pn(i,{hour:o}),new Ye),u=[Ct(s,e.timeZone,"earlier"),Ct(s,e.timeZone,"later")].filter(g=>Et(g,e.timeZone).day===s.day)[0],c=ze(pn(i,{hour:a}),new Ye),d=[Ct(c,e.timeZone,"earlier"),Ct(c,e.timeZone,"later")].filter(g=>Et(g,e.timeZone).day===c.day).pop(),f=Pr(e)-e.offset,b=Math.floor(f/Yr),p=f%Yr;return f=Dt(b,r,Math.floor(u/Yr),Math.floor(d/Yr),n==null?void 0:n.round)*Yr+p,ze(Et(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return rl(e,t,r,n);case"era":case"year":case"month":case"day":{let o=tl(_t(e),t,r,n),a=Ct(o,e.timeZone);return ze(Et(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function s1(e,t,r){let n=_t(e),o=pn(el(n,t),t);if(o.compare(n)===0)return e;let a=Ct(o,e.timeZone,r);return ze(Et(a,e.timeZone),e.calendar)}function Uc(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function Hc(e){let t=ze(e,new Ye);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Gc(e){return`${Hc(e)}T${Uc(e)}`}function u1(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function c1(e){return`${Gc(e)}${u1(e.offset)}[${e.timeZone}]`}function nl(e){let t=typeof e[0]=="object"?e.shift():new Ye,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var d1=new WeakMap;class ke{copy(){return this.era?new ke(this.calendar,this.era,this.year,this.month,this.day):new ke(this.calendar,this.year,this.month,this.day)}add(t){return Ho(this,t)}subtract(t){return Kc(this,t)}set(t){return el(this,t)}cycle(t,r,n){return tl(this,t,r,n)}toDate(t){return Ic(this,t)}toString(){return Hc(this)}compare(t){return Ac(this,t)}constructor(...t){xn(this,d1,{writable:!0,value:void 0});let[r,n,o,a,i]=nl(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,er(this)}}var f1=new WeakMap;class Go{copy(){return new Go(this.hour,this.minute,this.second,this.millisecond)}add(t){return jc(this,t)}subtract(t){return a1(this,t)}set(t){return pn(this,t)}cycle(t,r,n){return rl(this,t,r,n)}toString(){return Uc(this)}compare(t){return Fc(this,t)}constructor(t=0,r=0,n=0,o=0){xn(this,f1,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,Vc(this)}}var p1=new WeakMap;class So{copy(){return this.era?new So(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new So(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ho(this,t)}subtract(t){return Kc(this,t)}set(t){return el(pn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return tl(this,t,r,n);default:return rl(this,t,r,n)}}toDate(t,r){return Ic(this,t,r)}toString(){return Gc(this)}compare(t){let r=Ac(this,t);return r===0?Fc(this,_t(t)):r}constructor(...t){xn(this,p1,{writable:!0,value:void 0});let[r,n,o,a,i]=nl(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,er(this)}}var b1=new WeakMap;class bn{copy(){return this.era?new bn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new bn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return zc(this,t)}subtract(t){return i1(this,t)}set(t,r){return s1(this,t,r)}cycle(t,r,n){return l1(this,t,r,n)}toDate(){return t1(this)}toString(){return c1(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Oc(t,this.timeZone).toDate().getTime()}constructor(...t){xn(this,b1,{writable:!0,value:void 0});let[r,n,o,a,i]=nl(t),s=t.shift(),u=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=u,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,er(this)}}const xr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],v1=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],lo=[1867,1911,1925,1988,2018],Lt=["meiji","taisho","showa","heisei","reiwa"];function Vs(e){const t=xr.findIndex(([r,n,o])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<o);return t===-1?xr.length-1:t===0?0:t-1}function ka(e){let t=lo[Lt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new ke(e.year+t,e.month,e.day)}class g1 extends Ye{fromJulianDay(t){let r=super.fromJulianDay(t),n=Vs(r);return new ke(this,Lt[n],r.year-lo[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay(ka(t))}balanceDate(t){let r=ka(t),n=Vs(r);Lt[n]!==t.era&&(t.era=Lt[n],t.year=r.year-lo[n]),this.constrainDate(t)}constrainDate(t){let r=Lt.indexOf(t.era),n=v1[r];if(n!=null){let[o,a,i]=n,s=o-lo[r];t.year=Math.max(1,Math.min(s,t.year)),t.year===s&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,o,a]=xr[r];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(a,t.day))}}getEras(){return Lt}getYearsInEra(t){let r=Lt.indexOf(t.era),n=xr[r],o=xr[r+1];if(o==null)return 9999-n[0]+1;let a=o[0]-n[0];return(t.month<o[1]||t.month===o[1]&&t.day<o[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(ka(t))}getMinimumMonthInYear(t){let r=_s(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=_s(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function _s(e){if(e.year===1){let t=Lt.indexOf(e.era);return xr[t]}}const Wc=-543;class m1 extends Ye{fromJulianDay(t){let r=super.fromJulianDay(t),n=wn(r.era,r.year);return new ke(this,n-Wc,r.month,r.day)}toJulianDay(t){return super.toJulianDay(js(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(js(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function js(e){let[t,r]=Uo(e.year+Wc);return new ke(t,r,e.month,e.day)}const To=1911;function Yc(e){return e.era==="minguo"?e.year+To:1-e.year+To}function zs(e){let t=e-To;return t>0?["minguo",t]:["before_minguo",1-t]}class $1 extends Ye{fromJulianDay(t){let r=super.fromJulianDay(t),n=wn(r.era,r.year),[o,a]=zs(n);return new ke(this,o,a,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Us(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=zs(Yc(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Us(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-To}constructor(...t){super(...t),this.identifier="roc"}}function Us(e){let[t,r]=Uo(Yc(e));return new ke(t,r,e.month,e.day)}const y1=1948321;function h1(e){let t=e>0?e-474:e-473,r=Pt(t,2820)+474;return Pt((r+38)*31,128)<31}function Zn(e,t,r){let n=e>0?e-474:e-473,o=Pt(n,2820)+474,a=t<=7?31*(t-1):30*(t-1)+6;return y1-1+1029983*Math.floor(n/2820)+365*(o-1)+Math.floor((31*o-5)/128)+a+r}class x1{fromJulianDay(t){let r=t-Zn(475,1,1),n=Math.floor(r/1029983),o=Pt(r,1029983),a=o===1029982?2820:Math.floor((128*o+46878)/46751),i=474+2820*n+a;i<=0&&i--;let s=t-Zn(i,1,1)+1,u=s<=186?Math.ceil(s/31):Math.ceil((s-6)/31),c=t-Zn(i,u,1)+1;return new ke(this,i,u,c)}toJulianDay(t){return Zn(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||h1(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Ma=78,Hs=80;class w1 extends Ye{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-Ma,o=t-qt(r.era,r.year,1,1),a;o<Hs?(n--,a=Ot(r.year-1)?31:30,o+=a+155+90+10):(a=Ot(r.year)?31:30,o-=Hs);let i,s;if(o<a)i=1,s=o+1;else{let u=o-a;u<155?(i=Math.floor(u/31)+2,s=u%31+1):(u-=155,i=Math.floor(u/30)+7,s=u%30+1)}return new ke(this,n,i,s)}toJulianDay(t){let r=t.year+Ma,[n,o]=Uo(r),a,i;return Ot(o)?(a=31,i=qt(n,o,3,21)):(a=30,i=qt(n,o,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Ot(t.year+Ma)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ko=1948440,Gs=1948439,Je=1300,pr=1600,C1=460322;function Mo(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function qc(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),o=Math.min(12,Math.ceil((r-(29+Mo(t,n,1,1)))/29.5)+1),a=r-Mo(t,n,o,1)+1;return new ke(e,n,o,a)}function Ws(e){return(14+11*e)%30<11}class ol{fromJulianDay(t){return qc(this,ko,t)}toJulianDay(t){return Mo(ko,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&Ws(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return Ws(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class E1 extends ol{fromJulianDay(t){return qc(this,Gs,t)}toJulianDay(t){return Mo(Gs,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const D1="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let fi,wr;function so(e){return C1+wr[e-Je]}function rn(e,t){let r=e-Je,n=1<<11-(t-1);return fi[r]&n?30:29}function Ys(e,t){let r=so(e);for(let n=1;n<t;n++)r+=rn(e,n);return r}function qs(e){return wr[e+1-Je]-wr[e-Je]}class P1 extends ol{fromJulianDay(t){let r=t-ko,n=so(Je),o=so(pr);if(r<n||r>o)return super.fromJulianDay(t);{let a=Je-1,i=1,s=1;for(;s>0;){a++,s=r-so(a)+1;let u=qs(a);if(s===u){i=12;break}else if(s<u){let c=rn(a,i);for(i=1;s>c;)s-=c,i++,c=rn(a,i);break}}return new ke(this,a,i,r-Ys(a,i)+1)}}toJulianDay(t){return t.year<Je||t.year>pr?super.toJulianDay(t):ko+Ys(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<Je||t.year>pr?super.getDaysInMonth(t):rn(t.year,t.month)}getDaysInYear(t){return t.year<Je||t.year>pr?super.getDaysInYear(t):qs(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",fi||(fi=new Uint16Array(Uint8Array.from(atob(D1),t=>t.charCodeAt(0)).buffer)),!wr){wr=new Uint32Array(pr-Je+1);let t=0;for(let r=Je;r<=pr;r++){wr[r-Je]=t;for(let n=1;n<=12;n++)t+=rn(r,n)}}}}const Zs=347997,Zc=1080,Xc=24*Zc,S1=29,T1=12*Zc+793,k1=S1*Xc+T1;function Ht(e){return Pt(e*7+1,19)<7}function uo(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return Pt(3*(n+1),7)<3&&(n+=1),n}function M1(e){let t=uo(e-1),r=uo(e);return uo(e+1)-r===356?2:r-t===382?1:0}function an(e){return uo(e)+M1(e)}function Jc(e){return an(e+1)-an(e)}function A1(e){let t=Jc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Xn(e,t){if(t>=6&&!Ht(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=A1(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?Ht(e)?30:0:30}class F1{fromJulianDay(t){let r=t-Zs,n=r*Xc/k1,o=Math.floor((19*n+234)/235)+1,a=an(o),i=Math.floor(r-a);for(;i<1;)o--,a=an(o),i=Math.floor(r-a);let s=1,u=0;for(;u<i;)u+=Xn(o,s),s++;s--,u-=Xn(o,s);let c=i-u;return new ke(this,o,s,c)}toJulianDay(t){let r=an(t.year);for(let n=1;n<t.month;n++)r+=Xn(t.year,n);return r+t.day+Zs}getDaysInMonth(t){return Xn(t.year,t.month)}getMonthsInYear(t){return Ht(t.year)?13:12}getDaysInYear(t){return Jc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(Ht(r.year)&&!Ht(t.year)&&r.month>6?t.month--:!Ht(r.year)&&Ht(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const pi=1723856,Xs=1824665,bi=5500;function Ao(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function al(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Ao(e,r,1,1))/30),o=t+1-Ao(e,r,n,1);return[r,n,o]}function Qc(e){return Math.floor(e%4/3)}function ed(e,t){return t%13!==0?30:Qc(e)+5}class il{fromJulianDay(t){let[r,n,o]=al(pi,t),a="AM";return r<=0&&(a="AA",r+=bi),new ke(this,a,r,n,o)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=bi),Ao(pi,r,t.month,t.day)}getDaysInMonth(t){return ed(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Qc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class R1 extends il{fromJulianDay(t){let[r,n,o]=al(pi,t);return r+=bi,new ke(this,"AA",r,n,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class B1 extends il{fromJulianDay(t){let[r,n,o]=al(Xs,t),a="CE";return r<=0&&(a="BCE",r=1-r),new ke(this,a,r,n,o)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Ao(Xs,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),ed(r,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function td(e){switch(e){case"buddhist":return new m1;case"ethiopic":return new il;case"ethioaa":return new R1;case"coptic":return new B1;case"hebrew":return new F1;case"indian":return new w1;case"islamic-civil":return new ol;case"islamic-tbla":return new E1;case"islamic-umalqura":return new P1;case"japanese":return new g1;case"persian":return new x1;case"roc":return new $1;case"gregory":default:return new Ye}}let Aa=new Map;class ln{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return O1()&&(this.resolvedHourCycle||(this.resolvedHourCycle=N1(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=rd(t,r),this.options=r}}const I1={true:{ja:"h11"},false:{}};function rd(e,t={}){if(typeof t.hour12=="boolean"&&L1()){t={...t};let o=I1[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Aa.has(r))return Aa.get(r);let n=new Intl.DateTimeFormat(e,t);return Aa.set(r,n),n}let Fa=null;function L1(){return Fa==null&&(Fa=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Fa}let Ra=null;function O1(){return Ra==null&&(Ra=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Ra}function N1(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=rd(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let Ba=new Map,vi=!1;try{vi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Fo=!1;try{Fo=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const nd={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Ro{format(t){let r="";if(!vi&&this.options.signDisplay!=null?r=V1(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Fo){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!o)return r;let s=(n=nd[o])===null||n===void 0?void 0:n[a];r+=s[i]||s.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!vi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Fo&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=K1(t,r),this.options=r}}function K1(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Fo){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=nd[i])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(Ba.has(o))return Ba.get(o);let a=new Intl.NumberFormat(e,t);return Ba.set(o,a),a}function V1(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),a=e.format(r),i=o.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(r)}}const _1=new RegExp("^.*\\(.*\\).*$"),j1=["latn","arab","hanidec"];class ll{parse(t){return Ia(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Ia(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Ia(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Js=new Map;function Ia(e,t,r){let n=Qs(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of j1)if(o!==n.options.numberingSystem){let a=Qs(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function Qs(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=Js.get(r);return n||(n=new z1(e,t),Js.set(r,n)),n}class z1{parse(t){let r=this.sanitize(t);if(this.symbols.group&&(r=Jn(r,this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let o=r.indexOf("-");r=r.replace("-","");let a=r.indexOf(".");a===-1&&(a=r.length),r=r.replace(".",""),a-2===0?r=`0.${r}`:a-2===-1?r=`0.0${r}`:a-2===-2?r="0.00":r=`${r.slice(0,a-2)}.${r.slice(a-2)}`,o>-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){let o={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new ll(this.locale,o).parse(new Ro(this.locale,o).format(n))}return this.options.currencySign==="accounting"&&_1.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=Jn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Jn(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Jn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,r={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=H1(t,this.formatter,this.options,r);var n,o;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const eu=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),U1=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function H1(e,t,r,n){var o,a,i,s;let u=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=u.formatToParts(-10000.111),d=u.formatToParts(10000.111),f=U1.map(F=>u.formatToParts(F));var b;let p=(b=(o=c.find(F=>F.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&b!==void 0?b:"-",g=(a=d.find(F=>F.type==="plusSign"))===null||a===void 0?void 0:a.value;!g&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(g="+");let h=(i=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(F=>F.type==="decimal"))===null||i===void 0?void 0:i.value,x=(s=c.find(F=>F.type==="group"))===null||s===void 0?void 0:s.value,C=c.filter(F=>!eu.has(F.type)).map(F=>tu(F.value)),E=f.flatMap(F=>F.filter(T=>!eu.has(T.type)).map(T=>tu(T.value))),A=[...new Set([...C,...E])].sort((F,T)=>T.length-F.length),M=A.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${A.join("|")}|[\\p{White_Space}]`,"gu"),R=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),K=new Map(R.map((F,T)=>[F,T])),m=new RegExp(`[${R.join("")}]`,"g");return{minusSign:p,plusSign:g,decimal:h,group:x,literals:M,numeral:m,index:F=>String(K.get(F))}}function Jn(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function tu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const G1=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),W1=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Y1(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return G1.has(r.script)}let t=e.split("-")[0];return W1.has(t)}const q1=Symbol.for("react-aria.i18n.locale");function od(){let e=typeof window<"u"&&window[q1]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Y1(e)?"rtl":"ltr"}}let gi=od(),nn=new Set;function ru(){gi=od();for(let e of nn)e(gi)}function Z1(){let e=mt(),[t,r]=l.useState(gi);return l.useEffect(()=>(nn.size===0&&window.addEventListener("languagechange",ru),nn.add(r),()=>{nn.delete(r),nn.size===0&&window.removeEventListener("languagechange",ru)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const X1=l.createContext(null);function Re(){let e=Z1();return l.useContext(X1)||e}const nu=new WeakMap;function J1(e){let t=nu.get(e);return t||(t=new nr(e),nu.set(e,t)),t}function ad(e,t){return t&&nr.getGlobalDictionaryForPackage(t)||J1(e)}function Rr(e,t){let{locale:r}=Re(),n=ad(e,t);return l.useMemo(()=>new Tc(r,n),[r,n])}function Qn(e){e=i$(e??{},Q1);let{locale:t}=Re();return l.useMemo(()=>new ln(t,e),[t,e])}function Q1(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(t[o]!==e[o])return!1;return!0}function Bo(e={}){let{locale:t}=Re();return l.useMemo(()=>new Ro(t,e),[t,e])}let La=new Map;function sl(e){let{locale:t}=Re(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(La.has(r))return La.get(r);let n=new Intl.Collator(t,e);return La.set(r,n),n}function id(e){let t=sl({usage:"search",...e}),r=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=l.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,u=i.length;for(;s+u<=a.length;s++){let c=a.slice(s,s+u);if(t.compare(i,c)===0)return!0}return!1},[t]);return l.useMemo(()=>({startsWith:r,endsWith:n,contains:o}),[r,n,o])}var ld={};ld={dismiss:"تجاهل"};var sd={};sd={dismiss:"Отхвърляне"};var ud={};ud={dismiss:"Odstranit"};var cd={};cd={dismiss:"Luk"};var dd={};dd={dismiss:"Schließen"};var fd={};fd={dismiss:"Απόρριψη"};var pd={};pd={dismiss:"Dismiss"};var bd={};bd={dismiss:"Descartar"};var vd={};vd={dismiss:"Lõpeta"};var gd={};gd={dismiss:"Hylkää"};var md={};md={dismiss:"Rejeter"};var $d={};$d={dismiss:"התעלם"};var yd={};yd={dismiss:"Odbaci"};var hd={};hd={dismiss:"Elutasítás"};var xd={};xd={dismiss:"Ignora"};var wd={};wd={dismiss:"閉じる"};var Cd={};Cd={dismiss:"무시"};var Ed={};Ed={dismiss:"Atmesti"};var Dd={};Dd={dismiss:"Nerādīt"};var Pd={};Pd={dismiss:"Lukk"};var Sd={};Sd={dismiss:"Negeren"};var Td={};Td={dismiss:"Zignoruj"};var kd={};kd={dismiss:"Descartar"};var Md={};Md={dismiss:"Dispensar"};var Ad={};Ad={dismiss:"Revocare"};var Fd={};Fd={dismiss:"Пропустить"};var Rd={};Rd={dismiss:"Zrušiť"};var Bd={};Bd={dismiss:"Opusti"};var Id={};Id={dismiss:"Odbaci"};var Ld={};Ld={dismiss:"Avvisa"};var Od={};Od={dismiss:"Kapat"};var Nd={};Nd={dismiss:"Скасувати"};var Kd={};Kd={dismiss:"取消"};var Vd={};Vd={dismiss:"關閉"};const ou={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function e3(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=Ar({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...ou,...t}:ou,[n]);return{visuallyHiddenProps:{...a,style:i}}}function Wo(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=e3(e);return l.createElement(r,X(a,i),t)}function t3(e){return e&&e.__esModule?e.default:e}const yr={top:"top",bottom:"top",left:"left",right:"left"},Io={top:"bottom",bottom:"top",left:"right",right:"left"},r3={top:"left",left:"top"},mi={top:"height",left:"width"},_d={width:"totalWidth",height:"totalHeight"},eo={};let Ue=typeof document<"u"&&window.visualViewport;function au(e){let t=0,r=0,n=0,o=0,a=0,i=0,s={},u=(Ue==null?void 0:Ue.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;n=f.clientWidth,o=f.clientHeight;var c;t=(c=Ue==null?void 0:Ue.width)!==null&&c!==void 0?c:n;var d;r=(d=Ue==null?void 0:Ue.height)!==null&&d!==void 0?d:o,s.top=f.scrollTop||e.scrollTop,s.left=f.scrollLeft||e.scrollLeft,Ue&&(a=Ue.offsetTop,i=Ue.offsetLeft)}else({width:t,height:r,top:a,left:i}=Cr(e)),s.top=e.scrollTop,s.left=e.scrollLeft,n=t,o=r;return zi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&u&&(s.top=0,s.left=0,a=Ue.pageTop,i=Ue.pageLeft),{width:t,height:r,totalWidth:n,totalHeight:o,scroll:s,top:a,left:i}}function n3(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function iu(e,t,r,n,o,a,i){let s=o.scroll[e],u=n[mi[e]],c=n.scroll[yr[e]]+a,d=u+n.scroll[yr[e]]-a,f=t-s+i[e]-n[yr[e]],b=t-s+r+i[e]-n[yr[e]];return f<c?c-f:b>d?Math.max(d-b,c-f):0}function o3(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function lu(e){if(eo[e])return eo[e];let[t,r]=e.split(" "),n=yr[t]||"right",o=r3[n];yr[r]||(r="center");let a=mi[n],i=mi[o];return eo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},eo[e]}function Oa(e,t,r,n,o,a,i,s,u,c){let{placement:d,crossPlacement:f,axis:b,crossAxis:p,size:g,crossSize:$}=n,h={};h[p]=e[p],f==="center"?h[p]+=(e[$]-r[$])/2:f!==p&&(h[p]+=e[$]-r[$]),h[p]+=a;const x=e[p]-r[$]+u+c,C=e[p]+e[$]-u-c;if(h[p]=rt(h[p],x,C),d===b){const E=s?i[g]:t[_d[g]];h[Io[b]]=Math.floor(E-e[b]+o)}else h[b]=Math.floor(e[b]+e[g]+o);return h}function a3(e,t,r,n,o,a,i,s){const u=n?r.height:t[_d.height];let c=e.top!=null?r.top+e.top:r.top+(u-e.bottom-i),d=s!=="top"?Math.max(0,t.height+t.top+t.scroll.top-c-(o.top+o.bottom+a)):Math.max(0,c+i-(t.top+t.scroll.top)-(o.top+o.bottom+a));return Math.min(t.height-a*2,d)}function su(e,t,r,n,o,a){let{placement:i,axis:s,size:u}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[Io[s]]-o):Math.max(0,e[u]+e[s]+e.scroll[s]-t[s]-r[s]-r[u]-n[s]-n[Io[s]]-o)}function i3(e,t,r,n,o,a,i,s,u,c,d,f,b,p,g,$){let h=lu(e),{size:x,crossAxis:C,crossSize:E,placement:A,crossPlacement:M}=h,R=Oa(t,s,r,h,d,f,c,b,g,$),K=d,m=su(s,c,t,o,a+d,h);if(i&&n[x]>m){let Y=lu(`${Io[A]} ${M}`),H=Oa(t,s,r,Y,d,f,c,b,g,$);su(s,c,t,o,a+d,Y)>m&&(h=Y,R=H,K=d)}let O="bottom";h.axis==="top"?h.placement==="top"?O="top":h.placement==="bottom"&&(O="bottom"):h.crossAxis==="top"&&(h.crossPlacement==="top"?O="bottom":h.crossPlacement==="bottom"&&(O="top"));let F=iu(C,R[C],r[E],s,u,a,c);R[C]+=F;let T=a3(R,s,c,b,o,a,r.height,O);p&&p<T&&(T=p),r.height=Math.min(r.height,T),R=Oa(t,s,r,h,K,f,c,b,g,$),F=iu(C,R[C],r[E],s,u,a,c),R[C]+=F;let B={},S=t[C]+.5*t[E]-r[C];const I=g/2+$,V=r[E]-g/2-$,N=t[C]-r[C]+g/2,P=t[C]+t[E]-r[C]-g/2,G=rt(S,N,P);return B[C]=rt(G,I,V),{position:R,maxHeight:T,arrowOffsetLeft:B.left,arrowOffsetTop:B.top,placement:h.placement}}function l3(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:u,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:b=0}=e,p=n instanceof HTMLElement?s3(n):document.documentElement,g=p===document.documentElement;const $=window.getComputedStyle(p).position;let h=!!$&&$!=="static",x=g?Cr(r):uu(r,p);if(!g){let{marginTop:m,marginLeft:O}=window.getComputedStyle(r);x.top+=parseInt(m,10)||0,x.left+=parseInt(O,10)||0}let C=Cr(n),E=o3(n);C.width+=E.left+E.right,C.height+=E.top+E.bottom;let A=n3(o),M=au(s),R=au(p),K=s.tagName==="BODY"?Cr(p):uu(p,s);return p.tagName==="HTML"&&s.tagName==="BODY"&&(R.scroll.top=0,R.scroll.left=0),i3(t,x,C,A,E,a,i,M,R,K,u,c,h,d,f,b)}function Cr(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:u}=document.documentElement;return{top:t+a-s,left:r+i-u,width:n,height:o}}function uu(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=Cr(e);let o=Cr(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function s3(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!cu(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!cu(t);)t=t.parentElement;return t||document.documentElement}function cu(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const jd=new WeakMap;function u3(e){let{triggerRef:t,isOpen:r,onClose:n}=e;l.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||jd.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let Pe=typeof document<"u"&&window.visualViewport;function zd(e){let{direction:t}=Re(),{arrowSize:r=0,targetRef:n,overlayRef:o,scrollRef:a=o,placement:i="bottom",containerPadding:s=12,shouldFlip:u=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:b=!0,isOpen:p=!0,onClose:g,maxHeight:$,arrowBoundaryOffset:h=0}=e,[x,C]=l.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),E=[b,i,o.current,n.current,a.current,s,u,c,d,f,p,t,$,h,r],A=l.useRef(Pe==null?void 0:Pe.scale);l.useEffect(()=>{p&&(A.current=Pe==null?void 0:Pe.scale)},[p]);let M=l.useCallback(()=>{if(b===!1||!p||!o.current||!n.current||!a.current||!c||(Pe==null?void 0:Pe.scale)!==A.current)return;!$&&o.current&&(o.current.style.maxHeight="none");let m=l3({placement:d3(i,t),overlayNode:o.current,targetNode:n.current,scrollNode:a.current,padding:s,shouldFlip:u,boundaryElement:c,offset:d,crossOffset:f,maxHeight:$,arrowSize:r,arrowBoundaryOffset:h});Object.keys(m.position).forEach(O=>o.current.style[O]=m.position[O]+"px"),o.current.style.maxHeight=m.maxHeight!=null?m.maxHeight+"px":void 0,C(m)},E);be(M,E),c3(M),Hi({ref:o,onResize:M});let R=l.useRef(!1);be(()=>{let m,O=()=>{R.current=!0,clearTimeout(m),m=setTimeout(()=>{R.current=!1},500),M()},F=()=>{R.current&&O()};return Pe==null||Pe.addEventListener("resize",O),Pe==null||Pe.addEventListener("scroll",F),()=>{Pe==null||Pe.removeEventListener("resize",O),Pe==null||Pe.removeEventListener("scroll",F)}},[M]);let K=l.useCallback(()=>{R.current||g()},[g,R]);return u3({triggerRef:n,isOpen:p,onClose:g&&K}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...x.position,maxHeight:x.maxHeight}},placement:x.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:x.arrowOffsetLeft,top:x.arrowOffsetTop}},updatePosition:M}}function c3(e){be(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function d3(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const ht=[];function ul(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&ht.push(t),()=>{let g=ht.indexOf(t);g>=0&&ht.splice(g,1)}),[o,t]);let u=()=>{ht[ht.length-1]===t&&r&&r()},c=g=>{(!s||s(g.target))&&ht[ht.length-1]===t&&(g.stopPropagation(),g.preventDefault())},d=g=>{(!s||s(g.target))&&(ht[ht.length-1]===t&&(g.stopPropagation(),g.preventDefault()),u())},f=g=>{g.key==="Escape"&&!i&&(g.stopPropagation(),g.preventDefault(),u())};xc({ref:t,onInteractOutside:a&&o?d:null,onInteractOutsideStart:c});let{focusWithinProps:b}=Ar({isDisabled:!n,onBlurWithin:g=>{!g.relatedTarget||I$(g.relatedTarget)||(!s||s(g.relatedTarget))&&r()}}),p=g=>{g.target===g.currentTarget&&g.preventDefault()};return{overlayProps:{onKeyDown:f,...b},underlayProps:{onPointerDown:p}}}function f3(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&jd.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=Oe();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Na=typeof document<"u"&&window.visualViewport,p3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let to=0,Ka;function Ud(e={}){let{isDisabled:t}=e;be(()=>{if(!t)return to++,to===1&&(kr()?Ka=v3():Ka=b3()),()=>{to--,to===0&&Ka()}},[t])}function b3(){return Kt(hr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),hr(document.documentElement,"overflow","hidden"))}function v3(){let e,t,r=c=>{e=cn(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=hr(e,"overscrollBehavior","contain"))},n=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},o=c=>{let d=c.target;fu(d)&&d!==document.activeElement&&(c.preventDefault(),s(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},a=c=>{let d=c.target;fu(d)&&(s(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Na&&(Na.height<window.innerHeight?requestAnimationFrame(()=>{du(d)}):Na.addEventListener("resize",()=>du(d),{once:!0}))}))},i=null,s=()=>{if(i)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=Kt(qr(window,"scroll",c),hr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),hr(document.documentElement,"overflow","hidden"),hr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},u=Kt(qr(document,"touchstart",r,{passive:!1,capture:!0}),qr(document,"touchmove",n,{passive:!1,capture:!0}),qr(document,"touchend",o,{passive:!1,capture:!0}),qr(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),u()}}function hr(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function qr(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function du(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=cn(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function fu(e){return e instanceof HTMLInputElement&&!p3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const $i=l.createContext(null);function g3(e){let{children:t}=e,r=l.useContext($i),[n,o]=l.useState(0),a=l.useMemo(()=>({parent:r,modalCount:n,addModal(){o(i=>i+1),r&&r.addModal()},removeModal(){o(i=>i-1),r&&r.removeModal()}}),[r,n]);return l.createElement($i.Provider,{value:a},t)}function m3(){let e=l.useContext($i);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}function $3(e){let{modalProviderProps:t}=m3();return l.createElement("div",{"data-overlay-container":!0,...e,...t})}function y3(e){return l.createElement(g3,null,l.createElement($3,e))}function pu(e){let t=mt(),{portalContainer:r=t?null:document.body,...n}=e;if(l.useEffect(()=>{if(r!=null&&r.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[r]),!r)return null;let o=l.createElement(y3,n);return Mt.createPortal(o,r)}var Hd={};Hd={"ar-AE":ld,"bg-BG":sd,"cs-CZ":ud,"da-DK":cd,"de-DE":dd,"el-GR":fd,"en-US":pd,"es-ES":bd,"et-EE":vd,"fi-FI":gd,"fr-FR":md,"he-IL":$d,"hr-HR":yd,"hu-HU":hd,"it-IT":xd,"ja-JP":wd,"ko-KR":Cd,"lt-LT":Ed,"lv-LV":Dd,"nb-NO":Pd,"nl-NL":Sd,"pl-PL":Td,"pt-BR":kd,"pt-PT":Md,"ro-RO":Ad,"ru-RU":Fd,"sk-SK":Rd,"sl-SI":Bd,"sr-SP":Id,"sv-SE":Ld,"tr-TR":Od,"uk-UA":Nd,"zh-CN":Kd,"zh-TW":Vd};function yi(e){let{onDismiss:t,...r}=e,n=Rr(t3(Hd),"@react-aria/overlays"),o=Xt(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(Wo,null,l.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let Zr=new WeakMap,qe=[];function cl(e,t=document.body){let r=new Set(e),n=new Set,o=u=>{for(let b of u.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(b);let c=b=>{if(r.has(b)||n.has(b.parentElement)&&b.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of r)if(b.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(u);if(f===NodeFilter.FILTER_ACCEPT&&a(u),f!==NodeFilter.FILTER_REJECT){let b=d.nextNode();for(;b!=null;)a(b),b=d.nextNode()}},a=u=>{var c;let d=(c=Zr.get(u))!==null&&c!==void 0?c:0;u.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&u.setAttribute("aria-hidden","true"),n.add(u),Zr.set(u,d+1))};qe.length&&qe[qe.length-1].disconnect(),o(t);let i=new MutationObserver(u=>{for(let c of u)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&o(d)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return qe.push(s),()=>{i.disconnect();for(let u of n){let c=Zr.get(u);c===1?(u.removeAttribute("aria-hidden"),Zr.delete(u)):Zr.set(u,c-1)}s===qe[qe.length-1]?(qe.pop(),qe.length&&qe[qe.length-1].observe()):qe.splice(qe.indexOf(s),1)}}function h3(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...s}=e,{overlayProps:u,underlayProps:c}=ul({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},n),{overlayProps:d,arrowProps:f,placement:b}=zd({...s,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:o?t.close:null});return Ud({isDisabled:o||!t.isOpen}),be(()=>{if(t.isOpen&&!o&&n.current)return cl([n.current])},[o,t.isOpen,n]),{popoverProps:X(u,d),arrowProps:f,underlayProps:c,placement:b}}const Gd=l.createContext(null);function Wd(e){let t=mt(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[o,a]=l.useState(!1),i=l.useMemo(()=>({contain:o,setContain:a}),[o,a]);if(!r)return null;let s=e.children;return e.disableFocusManagement||(s=l.createElement(qi,{restoreFocus:!0,contain:o&&!n},s)),s=l.createElement(Gd.Provider,{value:i},l.createElement(m$,null,s)),Mt.createPortal(s,r)}function Yd(){let e=l.useContext(Gd),t=e==null?void 0:e.setContain;be(()=>{t==null||t(!0)},[t])}function x3(e,t,r){let{overlayProps:n,underlayProps:o}=ul({...e,isOpen:t.isOpen,onClose:t.close},r);return Ud({isDisabled:!t.isOpen}),Yd(),l.useEffect(()=>{if(t.isOpen)return cl([r.current])},[t.isOpen,r]),{modalProps:X(n),underlayProps:o}}function Yo(e){return l.forwardRef(e)}var qd=(e,t,r=!0)=>{if(!t)return[e,{}];const n=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return r?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),n]:[e,n]},Zd=Yo((e,t)=>{const{Component:r,ImgComponent:n,src:o,icon:a=k.jsx(w4,{}),alt:i,classNames:s,slots:u,name:c,showFallback:d,fallback:f,getInitials:b,getAvatarProps:p,getImageProps:g}=U$({...e,ref:t}),$=l.useMemo(()=>!d&&o?null:f?k.jsx("div",{"aria-label":i,className:u.fallback({class:s==null?void 0:s.fallback}),role:"img",children:f}):c?k.jsx("span",{"aria-label":i,className:u.name({class:s==null?void 0:s.name}),role:"img",children:b(c)}):k.jsx("span",{"aria-label":i,className:u.icon({class:s==null?void 0:s.icon}),role:"img",children:a}),[d,o,f,c,s]);return k.jsxs(r,{...p(),children:[o&&k.jsx(n,{...g(),alt:i}),$]})});Zd.displayName="NextUI.Avatar";var Xd=Zd;function w3(e={}){const{as:t,ref:r,max:n=5,total:o,size:a,color:i,radius:s,children:u,isBordered:c,isDisabled:d,isGrid:f,renderCount:b,className:p,classNames:g,...$}=e,h=qa(r),x=t||"div",C=l.useMemo(()=>({size:a,color:i,radius:s,isGrid:f,isBordered:c,isDisabled:d}),[a,i,s,f,c,d]),E=l.useMemo(()=>km({className:p,isGrid:f}),[p,f]),A=V4(u),M=n?A.slice(0,n):A,R=o||(n!=null?A.length-n:-1),K=M.map((F,T)=>{const B=T===0,S=T===M.length-1,I={className:Er(B?"ms-0":f?"":"-ms-2",S&&R<1?"hover:-translate-x-0":"")};return l.cloneElement(F,T4(I))});return{Component:x,context:C,remainingCount:R,clones:K,renderCount:b,getAvatarGroupProps:()=>({ref:h,className:E.base({class:Er(g==null?void 0:g.base,p)}),role:"group",...$}),getAvatarGroupCountProps:()=>({className:E.count({class:g==null?void 0:g.count})})}}var Jd=Yo((e,t)=>{const{Component:r,clones:n,context:o,remainingCount:a,getAvatarGroupCountProps:i,getAvatarGroupProps:s,renderCount:u=c=>k.jsx(Xd,{...i(),name:`+${c}`})}=w3({...e,ref:t});return k.jsx(r,{...s(),children:k.jsxs(_4,{value:o,children:[n,a>0&&u(a)]})})});Jd.displayName="NextUI.AvatarGroup";var C3=Jd;const y={fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],serif:["ui-serif","Georgia","Cambria","Times New Roman","Times","serif"],monospace:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:100,extralight:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},borderRadius:{.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{primary:"#4785ff",secondary:"#b8cfff",tertiary:"#d6e4ff",background:"#f0f5ff",inherit:"inherit",current:"currentColor",transparent:"transparent",black:"rgb(0 0 0)",white:"rgb(255 255 255)",slate:{50:"rgb(248 250 252)",100:"rgb(241 245 249)",200:"rgb(226 232 240)",300:"rgb(203 213 225)",400:"rgb(148 163 184)",500:"rgb(100 116 139)",600:"rgb(71 85 105)",700:"rgb(51 65 85)",800:"rgb(30 41 59)",900:"rgb(15 23 42)"},gray:{50:"rgb(249 250 251)",100:"rgb(243 244 246)",200:"rgb(229 231 235)",300:"rgb(209 213 219)",400:"rgb(156 163 175)",500:"rgb(107 114 128)",600:"rgb(75 85 99)",700:"rgb(55 65 81)",800:"rgb(31 41 55)",900:"rgb(17 24 39)"},zinc:{50:"rgb(250 250 250)",100:"rgb(244 244 245)",200:"rgb(228 228 231)",300:"rgb(212 212 216)",400:"rgb(161 161 170)",500:"rgb(113 113 122)",600:"rgb(82 82 91)",700:"rgb(63 63 70)",800:"rgb(39 39 42)",900:"rgb(24 24 27)"},neutral:{50:"rgb(250 250 250)",100:"rgb(245 245 245)",200:"rgb(229 229 229)",300:"rgb(212 212 212)",400:"rgb(163 163 163)",500:"rgb(115 115 115)",600:"rgb(82 82 82)",700:"rgb(64 64 64)",800:"rgb(38 38 38)",900:"rgb(23 23 23)"},stone:{50:"rgb(250 250 249)",100:"rgb(245 245 244)",200:"rgb(231 229 228)",300:"rgb(214 211 209)",400:"rgb(168 162 158)",500:"rgb(120 113 108)",600:"rgb(87 83 78)",700:"rgb(68 64 60)",800:"rgb(41 37 36)",900:"rgb(28 25 23)"},red:{50:"rgb(254 242 242)",100:"rgb(254 226 226)",200:"rgb(254 202 202)",300:"rgb(252 165 165)",400:"rgb(248 113 113)",500:"rgb(239 68 68)",600:"rgb(220 38 38)",700:"rgb(185 28 28)",800:"rgb(153 27 27)",900:"rgb(127 29 29)"},orange:{50:"rgb(255 247 237)",100:"rgb(255 237 213)",200:"rgb(254 215 170)",300:"rgb(253 186 116)",400:"rgb(251 146 60)",500:"rgb(249 115 22)",600:"rgb(234 88 12)",700:"rgb(194 65 12)",800:"rgb(154 52 18)",900:"rgb(124 45 18)"},amber:{50:"rgb(255 251 235)",100:"rgb(254 243 199)",200:"rgb(253 230 138)",300:"rgb(252 211 77)",400:"rgb(251 191 36)",500:"rgb(245 158 11)",600:"rgb(217 119 6)",700:"rgb(180 83 9)",800:"rgb(146 64 14)",900:"rgb(120 53 15)"},yellow:{50:"rgb(254 252 232)",100:"rgb(254 249 195)",200:"rgb(254 240 138)",300:"rgb(253 224 71)",400:"rgb(250 204 21)",500:"rgb(234 179 8)",600:"rgb(202 138 4)",700:"rgb(161 98 7)",800:"rgb(133 77 14)",900:"rgb(113 63 18)"},lime:{50:"rgb(247 254 231)",100:"rgb(236 252 203)",200:"rgb(217 249 157)",300:"rgb(190 242 100)",400:"rgb(163 230 53)",500:"rgb(132 204 22)",600:"rgb(101 163 13)",700:"rgb(77 124 15)",800:"rgb(63 98 18)",900:"rgb(54 83 20)"},green:{50:"rgb(240 253 244)",100:"rgb(220 252 231)",200:"rgb(187 247 208)",300:"rgb(134 239 172)",400:"rgb(74 222 128)",500:"rgb(34 197 94)",600:"rgb(22 163 74)",700:"rgb(21 128 61)",800:"rgb(22 101 52)",900:"rgb(20 83 45)"},emerald:{50:"rgb(236 253 245)",100:"rgb(209 250 229)",200:"rgb(167 243 208)",300:"rgb(110 231 183)",400:"rgb(52 211 153)",500:"rgb(16 185 129)",600:"rgb(5 150 105)",700:"rgb(4 120 87)",800:"rgb(6 95 70)",900:"rgb(6 78 59)"},teal:{50:"rgb(240 253 250)",100:"rgb(204 251 241)",200:"rgb(153 246 228)",300:"rgb(94 234 212)",400:"rgb(45 212 191)",500:"rgb(20 184 166)",600:"rgb(13 148 136)",700:"rgb(15 118 110)",800:"rgb(17 94 89)",900:"rgb(19 78 74)"},cyan:{50:"rgb(236 254 255)",100:"rgb(207 250 254)",200:"rgb(165 243 252)",300:"rgb(103 232 249)",400:"rgb(34 211 238)",500:"rgb(6 182 212)",600:"rgb(8 145 178)",700:"rgb(14 116 144)",800:"rgb(21 94 117)",900:"rgb(22 78 99)"},sky:{50:"rgb(240 249 255)",100:"rgb(224 242 254)",200:"rgb(186 230 253)",300:"rgb(125 211 252)",400:"rgb(56 189 248)",500:"rgb(14 165 233)",600:"rgb(2 132 199)",700:"rgb(3 105 161)",800:"rgb(7 89 133)",900:"rgb(12 74 110)"},blue:{50:"rgb(239 246 255)",100:"rgb(219 234 254)",200:"rgb(191 219 254)",300:"rgb(147 197 253)",400:"rgb(96 165 250)",500:"rgb(59 130 246)",600:"rgb(37 99 235)",700:"rgb(29 78 216)",800:"rgb(30 64 175)",900:"rgb(30 58 138)"},indigo:{50:"rgb(238 242 255)",100:"rgb(224 231 255)",200:"rgb(199 210 254)",300:"rgb(165 180 252)",400:"rgb(129 140 248)",500:"rgb(99 102 241)",600:"rgb(79 70 229)",700:"rgb(67 56 202)",800:"rgb(55 48 163)",900:"rgb(49 46 129)"},violet:{50:"rgb(245 243 255)",100:"rgb(237 233 254)",200:"rgb(221 214 254)",300:"rgb(196 181 253)",400:"rgb(167 139 250)",500:"rgb(139 92 246)",600:"rgb(124 58 237)",700:"rgb(109 40 217)",800:"rgb(91 33 182)",900:"rgb(76 29 149)"},purple:{50:"rgb(250 245 255)",100:"rgb(243 232 255)",200:"rgb(233 213 255)",300:"rgb(216 180 254)",400:"rgb(192 132 252)",500:"rgb(168 85 247)",600:"rgb(147 51 234)",700:"rgb(126 34 206)",800:"rgb(107 33 168)",900:"rgb(88 28 135)"},fuchsia:{50:"rgb(253 244 255)",100:"rgb(250 232 255)",200:"rgb(245 208 254)",300:"rgb(240 171 252)",400:"rgb(232 121 249)",500:"rgb(217 70 239)",600:"rgb(192 38 211)",700:"rgb(162 28 175)",800:"rgb(134 25 143)",900:"rgb(112 26 117)"},pink:{50:"rgb(253 242 248)",100:"rgb(252 231 243)",200:"rgb(251 207 232)",300:"rgb(249 168 212)",400:"rgb(244 114 182)",500:"rgb(236 72 153)",600:"rgb(219 39 119)",700:"rgb(190 24 93)",800:"rgb(157 23 77)",900:"rgb(131 24 67)"},rose:{50:"rgb(255 241 242)",100:"rgb(255 228 230)",200:"rgb(254 205 211)",300:"rgb(253 164 175)",400:"rgb(251 113 133)",500:"rgb(244 63 94)",600:"rgb(225 29 72)",700:"rgb(190 18 60)",800:"rgb(159 18 57)",900:"rgb(136 19 55)"}},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},height:{auto:"auto",px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},components:{button:{primary:{color:"#FFF",backgroundColor:"#000"}},Card:{border:"1px solid rgb(226 232 240)",padding:"1rem",backgroundColor:"transparent",borderRadius:"2px",boxShadow:"rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px"},"Card.Content":{padding:0,fontSize:"0.9rem"},"Card.Header":{fontSize:"1.125rem",fontWeight:"700",marginBottom:"1rem"}}};function Qd(e,t){const r={...e};return Object.entries(t).forEach(([n,o])=>{o!==null&&typeof o=="object"&&!Array.isArray(o)?((r[n]===void 0||r[n]===null)&&(r[n]={}),r[n]=Qd(r[n],o)):r[n]=o}),r}const E3=j.styled.div`
|
|
39
|
+
*/var Ho=ai(li());function ci(e){return Ho.Children.toArray(e).filter(r=>(0,Ho.isValidElement)(r))}var[di,Rn]=Us({name:"AvatarGroupContext",strict:!1}),ui={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},fi={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},pi={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},bi={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},gi={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},vi={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},yi={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},te={solid:ui,shadow:fi,bordered:pi,flat:bi,faded:gi,light:vi,ghost:yi},Go=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,me=e=>!e||typeof e!="object"||Object.keys(e).length===0,$i=(e,r)=>JSON.stringify(e)===JSON.stringify(r);function On(e,r){e.forEach(function(t){Array.isArray(t)?On(t,r):r.push(t)})}function jn(e){let r=[];return On(e,r),r}var Mn=(...e)=>jn(e).filter(Boolean),_n=(e,r)=>{let t={},o=Object.keys(e),n=Object.keys(r);for(let s of o)if(n.includes(s)){let i=e[s],l=r[s];typeof i=="object"&&typeof l=="object"?t[s]=_n(i,l):Array.isArray(i)||Array.isArray(l)?t[s]=Mn(l,i):t[s]=l+" "+i}else t[s]=e[s];for(let s of n)o.includes(s)||(t[s]=r[s]);return t},Wo=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function xi(){for(var e=0,r,t,o="";e<arguments.length;)(r=arguments[e++])&&(t=In(r))&&(o&&(o+=" "),o+=t);return o}function In(e){if(typeof e=="string")return e;for(var r,t="",o=0;o<e.length;o++)e[o]&&(r=In(e[o]))&&(t&&(t+=" "),t+=r);return t}var Ut="-";function wi(e){var r=hi(e),t=e.conflictingClassGroups,o=e.conflictingClassGroupModifiers,n=o===void 0?{}:o;function s(l){var u=l.split(Ut);return u[0]===""&&u.length!==1&&u.shift(),An(u,r)||mi(l)}function i(l,u){var g=t[l]||[];return u&&n[l]?[].concat(g,n[l]):g}return{getClassGroupId:s,getConflictingClassGroupIds:i}}function An(e,r){var i;if(e.length===0)return r.classGroupId;var t=e[0],o=r.nextPart.get(t),n=o?An(e.slice(1),o):void 0;if(n)return n;if(r.validators.length!==0){var s=e.join(Ut);return(i=r.validators.find(function(l){var u=l.validator;return u(s)}))==null?void 0:i.classGroupId}}var Uo=/^\[(.+)\]$/;function mi(e){if(Uo.test(e)){var r=Uo.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function hi(e){var r=e.theme,t=e.prefix,o={nextPart:new Map,validators:[]},n=Ei(Object.entries(e.classGroups),t);return n.forEach(function(s){var i=s[0],l=s[1];$t(l,o,i,r)}),o}function $t(e,r,t,o){e.forEach(function(n){if(typeof n=="string"){var s=n===""?r:Ko(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Ci(n)){$t(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(function(i){var l=i[0],u=i[1];$t(u,Ko(r,l),t,o)})})}function Ko(e,r){var t=e;return r.split(Ut).forEach(function(o){t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function Ci(e){return e.isThemeGetter}function Ei(e,r){return r?e.map(function(t){var o=t[0],n=t[1],s=n.map(function(i){return typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(function(l){var u=l[0],g=l[1];return[r+u,g]})):i});return[o,s]}):e}function ki(e){if(e<1)return{get:function(){},set:function(){}};var r=0,t=new Map,o=new Map;function n(s,i){t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)}return{get:function(i){var l=t.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return n(i,l),l},set:function(i,l){t.has(i)?t.set(i,l):n(i,l)}}}var Ln="!";function Si(e){var r=e.separator||":",t=r.length===1,o=r[0],n=r.length;return function(i){for(var l=[],u=0,g=0,b,y=0;y<i.length;y++){var h=i[y];if(u===0){if(h===o&&(t||i.slice(y,y+n)===r)){l.push(i.slice(g,y)),g=y+n;continue}if(h==="/"){b=y;continue}}h==="["?u++:h==="]"&&u--}var v=l.length===0?i:i.substring(g),x=v.startsWith(Ln),E=x?v.substring(1):v,k=b&&b>g?b-g:void 0;return{modifiers:l,hasImportantModifier:x,baseClassName:E,maybePostfixModifierPosition:k}}}function Ti(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(o){var n=o[0]==="[";n?(r.push.apply(r,t.sort().concat([o])),t=[]):t.push(o)}),r.push.apply(r,t.sort()),r}function Pi(e){return{cache:ki(e.cacheSize),splitModifiers:Si(e),...wi(e)}}var Ri=/\s+/;function Oi(e,r){var t=r.splitModifiers,o=r.getClassGroupId,n=r.getConflictingClassGroupIds,s=new Set;return e.trim().split(Ri).map(function(i){var l=t(i),u=l.modifiers,g=l.hasImportantModifier,b=l.baseClassName,y=l.maybePostfixModifierPosition,h=o(y?b.substring(0,y):b),v=!!y;if(!h){if(!y)return{isTailwindClass:!1,originalClassName:i};if(h=o(b),!h)return{isTailwindClass:!1,originalClassName:i};v=!1}var x=Ti(u).join(":"),E=g?x+Ln:x;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:i,hasPostfixModifier:v}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var l=i.modifierId,u=i.classGroupId,g=i.hasPostfixModifier,b=l+u;return s.has(b)?!1:(s.add(b),n(u,g).forEach(function(y){return s.add(l+y)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function xt(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var o,n,s,i=l;function l(g){var b=r[0],y=r.slice(1),h=y.reduce(function(v,x){return x(v)},b());return o=Pi(h),n=o.cache.get,s=o.cache.set,i=u,u(g)}function u(g){var b=n(g);if(b)return b;var y=Oi(g,o);return s(g,y),y}return function(){return i(xi.apply(null,arguments))}}function ce(e){var r=function(o){return o[e]||[]};return r.isThemeGetter=!0,r}var Nn=/^\[(?:([a-z-]+):)?(.+)\]$/i,ji=/^\d+\/\d+$/,Mi=new Set(["px","full","screen"]),_i=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ii=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ai=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Pe(e){return We(e)||Mi.has(e)||ji.test(e)||wt(e)}function wt(e){return Xe(e,"length",Vi)}function Li(e){return Xe(e,"size",Dn)}function Ni(e){return Xe(e,"position",Dn)}function Di(e){return Xe(e,"url",Bi)}function jr(e){return Xe(e,"number",We)}function We(e){return!Number.isNaN(Number(e))}function Fi(e){return e.endsWith("%")&&We(e.slice(0,-1))}function dr(e){return Yo(e)||Xe(e,"number",Yo)}function re(e){return Nn.test(e)}function ur(){return!0}function Ve(e){return _i.test(e)}function zi(e){return Xe(e,"",Hi)}function Xe(e,r,t){var o=Nn.exec(e);return o?o[1]?o[1]===r:t(o[2]):!1}function Vi(e){return Ii.test(e)}function Dn(){return!1}function Bi(e){return e.startsWith("url(")}function Yo(e){return Number.isInteger(Number(e))}function Hi(e){return Ai.test(e)}function mt(){var e=ce("colors"),r=ce("spacing"),t=ce("blur"),o=ce("brightness"),n=ce("borderColor"),s=ce("borderRadius"),i=ce("borderSpacing"),l=ce("borderWidth"),u=ce("contrast"),g=ce("grayscale"),b=ce("hueRotate"),y=ce("invert"),h=ce("gap"),v=ce("gradientColorStops"),x=ce("gradientColorStopPositions"),E=ce("inset"),k=ce("margin"),T=ce("opacity"),M=ce("padding"),_=ce("saturate"),I=ce("scale"),O=ce("sepia"),P=ce("skew"),F=ce("space"),L=ce("translate"),N=function(){return["auto","contain","none"]},J=function(){return["auto","hidden","clip","visible","scroll"]},q=function(){return["auto",re,r]},j=function(){return[re,r]},H=function(){return["",Pe]},z=function(){return["auto",We,re]},V=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},G=function(){return["solid","dashed","dotted","double","none"]},A=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},U=function(){return["start","end","center","between","around","evenly","stretch"]},Z=function(){return["","0",re]},Q=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},$=function(){return[We,jr]},S=function(){return[We,re]};return{cacheSize:500,theme:{colors:[ur],spacing:[Pe],blur:["none","",Ve,re],brightness:$(),borderColor:[e],borderRadius:["none","","full",Ve,re],borderSpacing:j(),borderWidth:H(),contrast:$(),grayscale:Z(),hueRotate:S(),invert:Z(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[Fi,wt],inset:q(),margin:q(),opacity:$(),padding:j(),saturate:$(),scale:$(),sepia:Z(),skew:S(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",re]}],container:["container"],columns:[{columns:[Ve]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(V(),[re])}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[E]}],"inset-x":[{"inset-x":[E]}],"inset-y":[{"inset-y":[E]}],start:[{start:[E]}],end:[{end:[E]}],top:[{top:[E]}],right:[{right:[E]}],bottom:[{bottom:[E]}],left:[{left:[E]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",dr]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",re]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",dr]}],"grid-cols":[{"grid-cols":[ur]}],"col-start-end":[{col:["auto",{span:["full",dr]},re]}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":[ur]}],"row-start-end":[{row:["auto",{span:[dr]},re]}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",re]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal"].concat(U())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(U(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(U(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",re,r]}],"min-w":[{"min-w":["min","max","fit",re,Pe]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Ve]},Ve,re]}],h:[{h:[re,r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",re,Pe]}],"max-h":[{"max-h":[re,r,"min","max","fit"]}],"font-size":[{text:["base",Ve,wt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",jr]}],"font-family":[{font:[ur]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",re]}],"line-clamp":[{"line-clamp":["none",We,jr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",re,Pe]}],"list-image":[{"list-image":["none",re]}],"list-style-type":[{list:["none","disc","decimal",re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(G(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Pe]}],"underline-offset":[{"underline-offset":["auto",re,Pe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(V(),[Ni])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Li]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Di]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[].concat(G(),["hidden"])}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:G()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:[""].concat(G())}],"outline-offset":[{"outline-offset":[re,Pe]}],"outline-w":[{outline:[Pe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Pe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ve,zi]}],"shadow-color":[{shadow:[ur]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":A()}],"bg-blend":[{"bg-blend":A()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Ve,re]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[y]}],saturate:[{saturate:[_]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",re]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",re]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[dr,re]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",re]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Pe,jr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Gi(e,r){for(var t in r)Fn(e,t,r[t]);return e}var Wi=Object.prototype.hasOwnProperty,Ui=new Set(["string","number","boolean"]);function Fn(e,r,t){if(!Wi.call(e,r)||Ui.has(typeof t)||t===null){e[r]=t;return}if(Array.isArray(t)&&Array.isArray(e[r])){e[r]=e[r].concat(t);return}if(typeof t=="object"&&typeof e[r]=="object"){if(e[r]===null){e[r]=t;return}for(var o in t)Fn(e[r],o,t[o])}}function Ki(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];return typeof e=="function"?xt.apply(void 0,[mt,e].concat(t)):xt.apply(void 0,[function(){return Gi(mt(),e)}].concat(t))}var Yi=xt(mt),Xi={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},zn=e=>e||void 0,vr=(...e)=>zn(jn(e).filter(Boolean).join(" ")),dt=null,zr={},ht=!1,fr=(...e)=>r=>r.twMerge?((!dt||ht)&&(ht=!1,dt=me(zr)?Yi:Ki(zr)),zn(dt(vr(e)))):vr(e),Xo=(e,r)=>{for(let t in r)e.hasOwnProperty(t)?e[t]=vr(e[t],r[t]):e[t]=r[t];return e},qi=(e,r)=>{let{extend:t=null,slots:o={},variants:n={},compoundVariants:s=[],compoundSlots:i=[],defaultVariants:l={}}=e,u={...Xi,...r},g=t!=null&&t.base?vr(t.base,e==null?void 0:e.base):e==null?void 0:e.base,b=t!=null&&t.variants&&!me(t.variants)?_n(n,t.variants):n,y=t!=null&&t.defaultVariants&&!me(t.defaultVariants)?{...t.defaultVariants,...l}:l;!me(u.twMergeConfig)&&!$i(u.twMergeConfig,zr)&&(ht=!0,zr=u.twMergeConfig);let h=me(t==null?void 0:t.slots),v=me(o)?{}:{base:vr(e==null?void 0:e.base,h&&(t==null?void 0:t.base)),...o},x=h?v:Xo({...t==null?void 0:t.slots},me(v)?{base:e==null?void 0:e.base}:v),E=T=>{if(me(b)&&me(o)&&h)return fr(g,T==null?void 0:T.class,T==null?void 0:T.className)(u);if(s&&!Array.isArray(s))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof s}`);if(i&&!Array.isArray(i))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);let M=(j,H,z=[],V)=>{let G=z;if(typeof H=="string")G=G.concat(Wo(H).split(" ").map(A=>`${j}:${A}`));else if(Array.isArray(H))G=G.concat(H.reduce((A,U)=>A.concat(`${j}:${U}`),[]));else if(typeof H=="object"&&typeof V=="string"){for(let A in H)if(H.hasOwnProperty(A)&&A===V){let U=H[A];if(U&&typeof U=="string"){let Z=Wo(U);G[V]?G[V]=G[V].concat(Z.split(" ").map(Q=>`${j}:${Q}`)):G[V]=Z.split(" ").map(Q=>`${j}:${Q}`)}else Array.isArray(U)&&U.length>0&&(G[V]=U.reduce((Z,Q)=>Z.concat(`${j}:${Q}`),[]))}}return G},_=(j,H=b,z=null,V=null)=>{var G;let A=H[j];if(!A||me(A))return null;let U=(G=V==null?void 0:V[j])!=null?G:T==null?void 0:T[j];if(U===null)return null;let Z=Go(U),Q=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,$=y==null?void 0:y[j],S=[];if(typeof Z=="object"&&Q)for(let[Y,ee]of Object.entries(Z)){let ne=A[ee];if(Y==="initial"){$=ee;continue}Array.isArray(u.responsiveVariants)&&!u.responsiveVariants.includes(Y)||(S=M(Y,ne,S,z))}let W=A[Z]||A[Go($)];return typeof S=="object"&&typeof z=="string"&&S[z]?Xo(S,W):S.length>0?(S.push(W),S):W},I=()=>b?Object.keys(b).map(j=>_(j,b)):null,O=(j,H)=>{if(!b||typeof b!="object")return null;let z=new Array;for(let V in b){let G=_(V,b,j,H),A=j==="base"&&typeof G=="string"?G:G&&G[j];A&&(z[z.length]=A)}return z},P={};for(let j in T)T[j]!==void 0&&(P[j]=T[j]);let F=(j,H)=>{var z;let V=typeof(T==null?void 0:T[j])=="object"?{[j]:(z=T[j])==null?void 0:z.initial}:{};return{...y,...P,...V,...H}},L=(j=[],H)=>{let z=[];for(let{class:V,className:G,...A}of j){let U=!0;for(let[Z,Q]of Object.entries(A)){let $=F(Z,H);if(Array.isArray(Q)){if(!Q.includes($[Z])){U=!1;break}}else if($[Z]!==Q){U=!1;break}}U&&(V&&z.push(V),G&&z.push(G))}return z},N=j=>{let H=L(s,j),z=L(t==null?void 0:t.compoundVariants,j);return Mn(z,H)},J=j=>{let H=N(j);if(!Array.isArray(H))return H;let z={};for(let V of H)if(typeof V=="string"&&(z.base=fr(z.base,V)(u)),typeof V=="object")for(let[G,A]of Object.entries(V))z[G]=fr(z[G],A)(u);return z},q=j=>{if(i.length<1)return null;let H={};for(let{slots:z=[],class:V,className:G,...A}of i){if(!me(A)){let U=!0;for(let Z of Object.keys(A)){let Q=F(Z,j)[Z];if(Q===void 0||(Array.isArray(A[Z])?!A[Z].includes(Q):A[Z]!==Q)){U=!1;break}}if(!U)continue}for(let U of z)H[U]=H[U]||[],H[U].push([V,G])}return H};if(!me(o)||!h){let j={};if(typeof x=="object"&&!me(x))for(let H of Object.keys(x))j[H]=z=>{var V,G;return fr(x[H],O(H,z),((V=J(z))!=null?V:[])[H],((G=q(z))!=null?G:[])[H],z==null?void 0:z.class,z==null?void 0:z.className)(u)};return j}return fr(g,I(),N(),T==null?void 0:T.class,T==null?void 0:T.className)(u)},k=()=>{if(!(!b||typeof b!="object"))return Object.keys(b)};return E.variantKeys=k(),E.extend=t,E.base=g,E.slots=x,E.variants=b,E.defaultVariants=y,E.compoundSlots=i,E.compoundVariants=s,E},Mr=["small","medium","large"],Xr=(e,r)=>{var t,o,n;return qi(e,{...r,twMerge:(t=r==null?void 0:r.twMerge)!=null?t:!0,twMergeConfig:{...r==null?void 0:r.twMergeConfig,theme:{...(o=r==null?void 0:r.twMergeConfig)==null?void 0:o.theme,opacity:["disabled"],spacing:["divider"],borderWidth:Mr,borderRadius:Mr},classGroups:{...(n=r==null?void 0:r.twMergeConfig)==null?void 0:n.classGroups,shadow:[{shadow:Mr}],"font-size":[{text:["tiny",...Mr]}],"bg-image":["bg-stripe-gradient"]}}})},Vn=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],ut=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],qo=Xr({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...Vn],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:te.solid.foreground},primary:{base:"before:bg-primary",content:te.solid.primary},secondary:{base:"before:bg-secondary",content:te.solid.secondary},success:{base:"before:bg-success",content:te.solid.success},warning:{base:"before:bg-warning",content:te.solid.warning},danger:{base:"before:bg-danger",content:te.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",disableAnimation:!1,triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]}),Zi=Xr({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...Vn],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...ut,"flex","items-center","justify-center"],name:[...ut,"font-normal","text-center","text-inherit"],icon:[...ut,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:te.solid.default},primary:{base:te.solid.primary},secondary:{base:te.solid.secondary},success:{base:te.solid.success},warning:{base:te.solid.warning},danger:{base:te.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 rtl:data-[hover=true]:translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3 rtl:data-[focus-visible=true]:translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]}),Ji=Xr({slots:{base:"flex items-center justify-center h-auto w-max-content",count:"hover:-translate-x-0"},variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}}),Zo=Xr({slots:{base:["relative","inline-flex","shrink-0"],badge:["flex","z-10","flex-wrap","absolute","box-border","rounded-full","whitespace-nowrap","place-content-center","origin-center","items-center","text-inherit","select-none","font-regular","scale-100","opacity-100","subpixel-antialiased","data-[invisible=true]:scale-0","data-[invisible=true]:opacity-0"]},variants:{variant:{solid:{},flat:{},faded:{badge:"border-medium"},shadow:{}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{badge:"px-1 text-tiny"},md:{badge:"px-1 text-small"},lg:{badge:"px-1 text-small"}},placement:{"top-right":{},"top-left":{},"bottom-right":{},"bottom-left":{}},shape:{circle:{},rectangle:{}},isInvisible:{true:{}},isOneChar:{true:{badge:"px-0"}},isDot:{true:{}},disableAnimation:{true:{badge:"transition-none"},false:{badge:"transition-transform-opacity !ease-soft-spring !duration-300"}},showOutline:{true:{badge:"border-2 border-background"},false:{badge:"border-transparent border-0"}}},defaultVariants:{variant:"solid",color:"default",size:"md",shape:"rectangle",placement:"top-right",showOutline:!0,disableAnimation:!1,isInvisible:!1},compoundVariants:[{variant:"solid",color:"default",class:{badge:te.solid.default}},{variant:"solid",color:"primary",class:{badge:te.solid.primary}},{variant:"solid",color:"secondary",class:{badge:te.solid.secondary}},{variant:"solid",color:"success",class:{badge:te.solid.success}},{variant:"solid",color:"warning",class:{badge:te.solid.warning}},{variant:"solid",color:"danger",class:{badge:te.solid.danger}},{variant:"shadow",color:"default",class:{badge:te.shadow.default}},{variant:"shadow",color:"primary",class:{badge:te.shadow.primary}},{variant:"shadow",color:"secondary",class:{badge:te.shadow.secondary}},{variant:"shadow",color:"success",class:{badge:te.shadow.success}},{variant:"shadow",color:"warning",class:{badge:te.shadow.warning}},{variant:"shadow",color:"danger",class:{badge:te.shadow.danger}},{variant:"flat",color:"default",class:{badge:te.flat.default}},{variant:"flat",color:"primary",class:{badge:te.flat.primary}},{variant:"flat",color:"secondary",class:{badge:te.flat.secondary}},{variant:"flat",color:"success",class:{badge:te.flat.success}},{variant:"flat",color:"warning",class:{badge:te.flat.warning}},{variant:"flat",color:"danger",class:{badge:te.flat.danger}},{variant:"faded",color:"default",class:{badge:te.faded.default}},{variant:"faded",color:"primary",class:{badge:te.faded.primary}},{variant:"faded",color:"secondary",class:{badge:te.faded.secondary}},{variant:"faded",color:"success",class:{badge:te.faded.success}},{variant:"faded",color:"warning",class:{badge:te.faded.warning}},{variant:"faded",color:"danger",class:{badge:te.faded.danger}},{isOneChar:!0,size:"sm",class:{badge:"w-4 h-4 min-w-4 min-h-4"}},{isOneChar:!0,size:"md",class:{badge:"w-5 h-5 min-w-5 min-h-5"}},{isOneChar:!0,size:"lg",class:{badge:"w-6 h-6 min-w-6 min-h-6"}},{isDot:!0,size:"sm",class:{badge:"w-3 h-3 min-w-3 min-h-3"}},{isDot:!0,size:"md",class:{badge:"w-3.5 h-3.5 min-w-3.5 min-h-3.5"}},{isDot:!0,size:"lg",class:{badge:"w-4 h-4 min-w-4 min-h-4"}},{placement:"top-right",shape:"rectangle",class:{badge:"top-[5%] right-[5%] translate-x-1/2 -translate-y-1/2"}},{placement:"top-left",shape:"rectangle",class:{badge:"top-[5%] left-[5%] -translate-x-1/2 -translate-y-1/2"}},{placement:"bottom-right",shape:"rectangle",class:{badge:"bottom-[5%] right-[5%] translate-x-1/2 translate-y-1/2"}},{placement:"bottom-left",shape:"rectangle",class:{badge:"bottom-[5%] left-[5%] -translate-x-1/2 translate-y-1/2"}},{placement:"top-right",shape:"circle",class:{badge:"top-[10%] right-[10%] translate-x-1/2 -translate-y-1/2"}},{placement:"top-left",shape:"circle",class:{badge:"top-[10%] left-[10%] -translate-x-1/2 -translate-y-1/2"}},{placement:"bottom-right",shape:"circle",class:{badge:"bottom-[10%] right-[10%] translate-x-1/2 translate-y-1/2"}},{placement:"bottom-left",shape:"circle",class:{badge:"bottom-[10%] left-[10%] -translate-x-1/2 translate-y-1/2"}}]});function Bn(e,r,t){let[o,n]=d.useState(e||r),s=d.useRef(e!==void 0),i=e!==void 0;d.useEffect(()=>{let g=s.current;g!==i&&console.warn(`WARN: A component changed from ${g?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),s.current=i},[i]);let l=i?e:o,u=d.useCallback((g,...b)=>{let y=(h,...v)=>{t&&(Object.is(l,h)||t(h,...v)),i||(l=h)};typeof g=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),n((v,...x)=>{let E=g(i?l:v,...x);return y(E,...b),i?v:E})):(i||n(g),y(g,...b))},[i,l,t]);return[l,u]}function Ct(e,r=-1/0,t=1/0){return Math.min(Math.max(e,r),t)}const Vr={prefix:String(Math.round(Math.random()*1e10)),current:0},Hn=d.createContext(Vr),Qi=d.createContext(!1);let el=!!(typeof window<"u"&&window.document&&window.document.createElement),ft=new WeakMap;function rl(e=!1){let r=d.useContext(Hn),t=d.useRef(null);if(t.current===null&&!e){var o,n;let s=(n=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(s){let i=ft.get(s);i==null?ft.set(s,{id:r.current,state:s.memoizedState}):s.memoizedState!==i.state&&(r.current=i.id,ft.delete(s))}t.current=++r.current}return t.current}function tl(e){let r=d.useContext(Hn);r===Vr&&!el&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let t=rl(!!e),o=r===Vr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return e||`${o}-${t}`}function ol(e){let r=d.useId(),[t]=d.useState(Kt()),o=t||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Vr.prefix}`;return e||`${o}-${r}`}const nl=typeof d.useId=="function"?ol:tl;function al(){return!1}function sl(){return!0}function il(e){return()=>{}}function Kt(){return typeof d.useSyncExternalStore=="function"?d.useSyncExternalStore(il,al,sl):d.useContext(Qi)}function Gn(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=Gn(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ll(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=Gn(e))&&(o&&(o+=" "),o+=r);return o}const Ke=typeof document<"u"?d.useLayoutEffect:()=>{};function Et(e){const r=d.useRef(null);return Ke(()=>{r.current=e},[e]),d.useCallback((...t)=>{const o=r.current;return o==null?void 0:o(...t)},[])}let cl=!!(typeof window<"u"&&window.document&&window.document.createElement),Br=new Map;function dl(e){let[r,t]=d.useState(e),o=d.useRef(null),n=nl(r),s=d.useCallback(i=>{o.current=i},[]);return cl&&Br.set(n,s),Ke(()=>{let i=n;return()=>{Br.delete(i)}},[n]),d.useEffect(()=>{let i=o.current;i&&(o.current=null,t(i))}),n}function ul(e,r){if(e===r)return e;let t=Br.get(e);if(t)return t(r),r;let o=Br.get(r);return o?(o(e),e):r}function fl(...e){return(...r)=>{for(let t of e)typeof t=="function"&&t(...r)}}const ar=e=>{var r;return(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document},Ue=e=>e&&"window"in e&&e.window===e?e:ar(e).defaultView||window;function ke(...e){let r={...e[0]};for(let t=1;t<e.length;t++){let o=e[t];for(let n in o){let s=r[n],i=o[n];typeof s=="function"&&typeof i=="function"&&n[0]==="o"&&n[1]==="n"&&n.charCodeAt(2)>=65&&n.charCodeAt(2)<=90?r[n]=fl(s,i):(n==="className"||n==="UNSAFE_className")&&typeof s=="string"&&typeof i=="string"?r[n]=ll(s,i):n==="id"&&s&&i?r.id=ul(s,i):r[n]=i!==void 0?i:s}}return r}const pl=new Set(["id"]),bl=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),gl=new Set(["href","target","rel","download","ping","referrerPolicy"]),vl=/^(data-.*)$/;function yl(e,r={}){let{labelable:t,isLink:o,propNames:n}=r,s={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(pl.has(i)||t&&bl.has(i)||o&&gl.has(i)||n!=null&&n.has(i)||vl.test(i))&&(s[i]=e[i]);return s}function Jo(e){if($l())e.focus({preventScroll:!0});else{let r=xl(e);e.focus(),wl(r)}}let _r=null;function $l(){if(_r==null){_r=!1;try{document.createElement("div").focus({get preventScroll(){return _r=!0,!0}})}catch{}}return _r}function xl(e){let r=e.parentNode,t=[],o=document.scrollingElement||document.documentElement;for(;r instanceof HTMLElement&&r!==o;)(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)&&t.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),r=r.parentNode;return o instanceof HTMLElement&&t.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),t}function wl(e){for(let{element:r,scrollTop:t,scrollLeft:o}of e)r.scrollTop=t,r.scrollLeft=o}function Yt(e){var r;return typeof window>"u"||window.navigator==null?!1:((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function ml(e){var r;return typeof window<"u"&&window.navigator!=null?e.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function hl(){return ml(/^Mac/i)}function Cl(){return Yt(/AppleWebKit/i)&&!El()}function El(){return Yt(/Chrome/i)}function kl(){return Yt(/Android/i)}let er=new Map,kt=new Set;function Qo(){if(typeof window>"u")return;function e(o){return"propertyName"in o}let r=o=>{if(!e(o)||!o.target)return;let n=er.get(o.target);n||(n=new Set,er.set(o.target,n),o.target.addEventListener("transitioncancel",t,{once:!0})),n.add(o.propertyName)},t=o=>{if(!e(o)||!o.target)return;let n=er.get(o.target);if(n&&(n.delete(o.propertyName),n.size===0&&(o.target.removeEventListener("transitioncancel",t),er.delete(o.target)),er.size===0)){for(let s of kt)s();kt.clear()}};document.body.addEventListener("transitionrun",r),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Qo():document.addEventListener("DOMContentLoaded",Qo));function Sl(e){requestAnimationFrame(()=>{er.size===0?e():kt.add(e)})}function Tl(e){const r=d.useRef(null);return d.useMemo(()=>({get current(){return r.current},set current(t){r.current=t,typeof e=="function"?e(t):e&&(e.current=t)}}),[e])}function Pl(){return typeof window.ResizeObserver<"u"}function Rl(e){const{ref:r,onResize:t}=e;d.useEffect(()=>{let o=r==null?void 0:r.current;if(o)if(Pl()){const n=new window.ResizeObserver(s=>{s.length&&t()});return n.observe(o),()=>{o&&n.unobserve(o)}}else return window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}},[t,r])}function Wn(e,r){Ke(()=>{if(e&&e.ref&&r)return e.ref.current=r.current,()=>{e.ref&&(e.ref.current=null)}})}function Ol(e){return e.mozInputSource===0&&e.isTrusted?!0:kl()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}const St=d.createContext({register:()=>{}});St.displayName="PressResponderContext";const jl=d.forwardRef(({children:e,...r},t)=>{let o=d.useRef(!1),n=d.useContext(St);t=Tl(t||(n==null?void 0:n.ref));let s=ke(n||{},{...r,ref:t,register(){o.current=!0,n&&n.register()}});return Wn(n,t),d.useEffect(()=>{o.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),o.current=!0)},[]),d.createElement(St.Provider,{value:s},e)});class Ml{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(r,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=r}}function Un(e){let r=d.useRef({isFocused:!1,observer:null});Ke(()=>{const o=r.current;return()=>{o.observer&&(o.observer.disconnect(),o.observer=null)}},[]);let t=Et(o=>{e==null||e(o)});return d.useCallback(o=>{if(o.target instanceof HTMLButtonElement||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement||o.target instanceof HTMLSelectElement){r.current.isFocused=!0;let n=o.target,s=i=>{r.current.isFocused=!1,n.disabled&&t(new Ml("blur",i)),r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};n.addEventListener("focusout",s,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&n.disabled){var i;(i=r.current.observer)===null||i===void 0||i.disconnect();let l=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),r.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[t])}function Kn(e){let{isDisabled:r,onFocus:t,onBlur:o,onFocusChange:n}=e;const s=d.useCallback(u=>{if(u.target===u.currentTarget)return o&&o(u),n&&n(!1),!0},[o,n]),i=Un(s),l=d.useCallback(u=>{u.target===u.currentTarget&&document.activeElement===u.target&&(t&&t(u),n&&n(!0),i(u))},[n,t,i]);return{focusProps:{onFocus:!r&&(t||n||o)?l:void 0,onBlur:!r&&(o||n)?s:void 0}}}let sr=null,Tt=new Set,gr=new Map,Ye=!1,Pt=!1;const _l={Tab:!0,Escape:!0};function Xt(e,r){for(let t of Tt)t(e,r)}function Il(e){return!(e.metaKey||!hl()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Hr(e){Ye=!0,Il(e)&&(sr="keyboard",Xt("keyboard",e))}function Ce(e){sr="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ye=!0,Xt("pointer",e))}function Yn(e){Ol(e)&&(Ye=!0,sr="virtual")}function Xn(e){e.target===window||e.target===document||(!Ye&&!Pt&&(sr="virtual",Xt("virtual",e)),Ye=!1,Pt=!1)}function qn(){Ye=!1,Pt=!0}function Rt(e){if(typeof window>"u"||gr.get(Ue(e)))return;const r=Ue(e),t=ar(e);let o=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){Ye=!0,o.apply(this,arguments)},t.addEventListener("keydown",Hr,!0),t.addEventListener("keyup",Hr,!0),t.addEventListener("click",Yn,!0),r.addEventListener("focus",Xn,!0),r.addEventListener("blur",qn,!1),typeof PointerEvent<"u"?(t.addEventListener("pointerdown",Ce,!0),t.addEventListener("pointermove",Ce,!0),t.addEventListener("pointerup",Ce,!0)):(t.addEventListener("mousedown",Ce,!0),t.addEventListener("mousemove",Ce,!0),t.addEventListener("mouseup",Ce,!0)),r.addEventListener("beforeunload",()=>{Zn(e)},{once:!0}),gr.set(r,{focus:o})}const Zn=(e,r)=>{const t=Ue(e),o=ar(e);r&&o.removeEventListener("DOMContentLoaded",r),gr.has(t)&&(t.HTMLElement.prototype.focus=gr.get(t).focus,o.removeEventListener("keydown",Hr,!0),o.removeEventListener("keyup",Hr,!0),o.removeEventListener("click",Yn,!0),t.removeEventListener("focus",Xn,!0),t.removeEventListener("blur",qn,!1),typeof PointerEvent<"u"?(o.removeEventListener("pointerdown",Ce,!0),o.removeEventListener("pointermove",Ce,!0),o.removeEventListener("pointerup",Ce,!0)):(o.removeEventListener("mousedown",Ce,!0),o.removeEventListener("mousemove",Ce,!0),o.removeEventListener("mouseup",Ce,!0)),gr.delete(t))};function Al(e){const r=ar(e);let t;return r.readyState!=="loading"?Rt(e):(t=()=>{Rt(e)},r.addEventListener("DOMContentLoaded",t)),()=>Zn(e,t)}typeof document<"u"&&Al();function qt(){return sr!=="pointer"}function Jn(){return sr}const Ll=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Nl(e,r,t){var o;const n=typeof window<"u"?Ue(t==null?void 0:t.target).HTMLInputElement:HTMLInputElement,s=typeof window<"u"?Ue(t==null?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ue(t==null?void 0:t.target).HTMLElement:HTMLElement,l=typeof window<"u"?Ue(t==null?void 0:t.target).KeyboardEvent:KeyboardEvent;return e=e||(t==null?void 0:t.target)instanceof n&&!Ll.has(t==null||(o=t.target)===null||o===void 0?void 0:o.type)||(t==null?void 0:t.target)instanceof s||(t==null?void 0:t.target)instanceof i&&(t==null?void 0:t.target.isContentEditable),!(e&&r==="keyboard"&&t instanceof l&&!_l[t.key])}function Dl(e,r,t){Rt(),d.useEffect(()=>{let o=(n,s)=>{Nl(!!(t!=null&&t.isTextInput),n,s)&&e(qt())};return Tt.add(o),()=>{Tt.delete(o)}},r)}function Qn(e){let{isDisabled:r,onBlurWithin:t,onFocusWithin:o,onFocusWithinChange:n}=e,s=d.useRef({isFocusWithin:!1}),i=d.useCallback(g=>{s.current.isFocusWithin&&!g.currentTarget.contains(g.relatedTarget)&&(s.current.isFocusWithin=!1,t&&t(g),n&&n(!1))},[t,n,s]),l=Un(i),u=d.useCallback(g=>{!s.current.isFocusWithin&&document.activeElement===g.target&&(o&&o(g),n&&n(!0),s.current.isFocusWithin=!0,l(g))},[o,n,l]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:i}}}let Gr=!1,pt=0;function Ot(){Gr=!0,setTimeout(()=>{Gr=!1},50)}function en(e){e.pointerType==="touch"&&Ot()}function Fl(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",en):document.addEventListener("touchend",Ot),pt++,()=>{pt--,!(pt>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",en):document.removeEventListener("touchend",Ot))}}function Zt(e){let{onHoverStart:r,onHoverChange:t,onHoverEnd:o,isDisabled:n}=e,[s,i]=d.useState(!1),l=d.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;d.useEffect(Fl,[]);let{hoverProps:u,triggerHoverEnd:g}=d.useMemo(()=>{let b=(v,x)=>{if(l.pointerType=x,n||x==="touch"||l.isHovered||!v.currentTarget.contains(v.target))return;l.isHovered=!0;let E=v.currentTarget;l.target=E,r&&r({type:"hoverstart",target:E,pointerType:x}),t&&t(!0),i(!0)},y=(v,x)=>{if(l.pointerType="",l.target=null,x==="touch"||!l.isHovered)return;l.isHovered=!1;let E=v.currentTarget;o&&o({type:"hoverend",target:E,pointerType:x}),t&&t(!1),i(!1)},h={};return typeof PointerEvent<"u"?(h.onPointerEnter=v=>{Gr&&v.pointerType==="mouse"||b(v,v.pointerType)},h.onPointerLeave=v=>{!n&&v.currentTarget.contains(v.target)&&y(v,v.pointerType)}):(h.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=v=>{!l.ignoreEmulatedMouseEvents&&!Gr&&b(v,"mouse"),l.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=v=>{!n&&v.currentTarget.contains(v.target)&&y(v,"mouse")}),{hoverProps:h,triggerHoverEnd:y}},[r,t,o,n,l]);return d.useEffect(()=>{n&&g({currentTarget:l.target},l.pointerType)},[n]),{hoverProps:u,isHovered:s}}function zl(e){let{ref:r,onInteractOutside:t,isDisabled:o,onInteractOutsideStart:n}=e,s=d.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Et(u=>{t&&Ir(u,r)&&(n&&n(u),s.current.isPointerDown=!0)}),l=Et(u=>{t&&t(u)});d.useEffect(()=>{let u=s.current;if(o)return;const g=r.current,b=ar(g);if(typeof PointerEvent<"u"){let y=h=>{u.isPointerDown&&Ir(h,r)&&l(h),u.isPointerDown=!1};return b.addEventListener("pointerdown",i,!0),b.addEventListener("pointerup",y,!0),()=>{b.removeEventListener("pointerdown",i,!0),b.removeEventListener("pointerup",y,!0)}}else{let y=v=>{u.ignoreEmulatedMouseEvents?u.ignoreEmulatedMouseEvents=!1:u.isPointerDown&&Ir(v,r)&&l(v),u.isPointerDown=!1},h=v=>{u.ignoreEmulatedMouseEvents=!0,u.isPointerDown&&Ir(v,r)&&l(v),u.isPointerDown=!1};return b.addEventListener("mousedown",i,!0),b.addEventListener("mouseup",y,!0),b.addEventListener("touchstart",i,!0),b.addEventListener("touchend",h,!0),()=>{b.removeEventListener("mousedown",i,!0),b.removeEventListener("mouseup",y,!0),b.removeEventListener("touchstart",i,!0),b.removeEventListener("touchend",h,!0)}}},[r,o,i,l])}function Ir(e,r){if(e.button>0)return!1;if(e.target){const t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return r.current&&!r.current.contains(e.target)}function rn(e){if(!e)return;let r=!0;return t=>{let o={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){r=!1}};e(o),r&&t.stopPropagation()}}function Vl(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:rn(e.onKeyDown),onKeyUp:rn(e.onKeyUp)}}}function Bl(e){const r=ar(e);if(Jn()==="virtual"){let t=r.activeElement;Sl(()=>{r.activeElement===t&&e.isConnected&&Jo(e)})}else Jo(e)}let Hl=null;function ea(e,r){return!e||!r?!1:r.some(t=>t.contains(e))}function Gl(e,r=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of on.traverse(on.getTreeNode(r)))if(t&&ea(e,t.current))return!0;return!1}function Wl(e){return Gl(e,Hl)}class Jt{get size(){return this.fastMap.size}getTreeNode(r){return this.fastMap.get(r)}addTreeNode(r,t,o){let n=this.fastMap.get(t??null);if(!n)return;let s=new tn({scopeRef:r});n.addChild(s),s.parent=n,this.fastMap.set(r,s),o&&(s.nodeToRestore=o)}addNode(r){this.fastMap.set(r.scopeRef,r)}removeTreeNode(r){if(r===null)return;let t=this.fastMap.get(r);if(!t)return;let o=t.parent;for(let s of this.traverse())s!==t&&t.nodeToRestore&&s.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&ea(s.nodeToRestore,t.scopeRef.current)&&(s.nodeToRestore=t.nodeToRestore);let n=t.children;o&&(o.removeChild(t),n.size>0&&n.forEach(s=>o&&o.addChild(s))),this.fastMap.delete(t.scopeRef)}*traverse(r=this.root){if(r.scopeRef!=null&&(yield r),r.children.size>0)for(let t of r.children)yield*this.traverse(t)}clone(){var r;let t=new Jt;var o;for(let n of this.traverse())t.addTreeNode(n.scopeRef,(o=(r=n.parent)===null||r===void 0?void 0:r.scopeRef)!==null&&o!==void 0?o:null,n.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new tn({scopeRef:null}),this.fastMap.set(null,this.root)}}class tn{addChild(r){this.children.add(r),r.parent=this}removeChild(r){this.children.delete(r),r.parent=void 0}constructor(r){this.children=new Set,this.contain=!1,this.scopeRef=r.scopeRef}}let on=new Jt;function Ul(e={}){let{autoFocus:r=!1,isTextInput:t,within:o}=e,n=d.useRef({isFocused:!1,isFocusVisible:r||qt()}),[s,i]=d.useState(!1),[l,u]=d.useState(()=>n.current.isFocused&&n.current.isFocusVisible),g=d.useCallback(()=>u(n.current.isFocused&&n.current.isFocusVisible),[]),b=d.useCallback(v=>{n.current.isFocused=v,i(v),g()},[g]);Dl(v=>{n.current.isFocusVisible=v,g()},[],{isTextInput:t});let{focusProps:y}=Kn({isDisabled:o,onFocusChange:b}),{focusWithinProps:h}=Qn({isDisabled:!o,onFocusWithinChange:b});return{isFocused:s,isFocusVisible:l,focusProps:o?h:y}}let Kl=d.createContext(null);function Yl(e){let r=d.useContext(Kl)||{};Wn(r,e);let{ref:t,...o}=r;return o}function Xl(e,r){let{focusProps:t}=Kn(e),{keyboardProps:o}=Vl(e),n=ke(t,o),s=Yl(r),i=e.isDisabled?{}:s,l=d.useRef(e.autoFocus);return d.useEffect(()=>{l.current&&r.current&&Bl(r.current),l.current=!1},[r]),{focusableProps:ke({...n,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}var ra=globalThis!=null&&globalThis.document?d.useLayoutEffect:d.useEffect;function ql(e={}){const{loading:r,src:t,srcSet:o,onLoad:n,onError:s,crossOrigin:i,sizes:l,ignoreFallback:u}=e,[g,b]=d.useState("pending");d.useEffect(()=>{b(t?"loading":"pending")},[t]);const y=d.useRef(),h=d.useCallback(()=>{if(!t)return;v();const x=new Image;x.src=t,i&&(x.crossOrigin=i),o&&(x.srcset=o),l&&(x.sizes=l),r&&(x.loading=r),x.onload=E=>{v(),b("loaded"),n==null||n(E)},x.onerror=E=>{v(),b("failed"),s==null||s(E)},y.current=x},[t,i,o,l,n,s,r]),v=()=>{y.current&&(y.current.onload=null,y.current.onerror=null,y.current=null)};return ra(()=>{if(!u)return g==="loading"&&h(),()=>{v()}},[g,h,u]),u?"loaded":g}function Zl(e={}){var r,t,o,n,s;const i=Rn(),l=!!i,{as:u,ref:g,src:b,name:y,icon:h,classNames:v,fallback:x,alt:E=y||"avatar",imgRef:k,color:T=(r=i==null?void 0:i.color)!=null?r:"default",radius:M=(t=i==null?void 0:i.radius)!=null?t:"full",size:_=(o=i==null?void 0:i.size)!=null?o:"md",isBordered:I=(n=i==null?void 0:i.isBordered)!=null?n:!1,isDisabled:O=(s=i==null?void 0:i.isDisabled)!=null?s:!1,isFocusable:P=!1,getInitials:F=Ys,ignoreFallback:L=!1,showFallback:N=!1,ImgComponent:J="img",imgProps:q,className:j,onError:H,...z}=e,V=u||"span",G=yt(g),A=yt(k),{isFocusVisible:U,isFocused:Z,focusProps:Q}=Ul(),{isHovered:$,hoverProps:S}=Zt({isDisabled:O}),Y=ql({src:b,onError:H,ignoreFallback:L})==="loaded",ee=(!b||!Y)&&N,ne=d.useMemo(()=>{var Te;return Zi({color:T,radius:M,size:_,isBordered:I,isDisabled:O,isInGroup:l,isInGridGroup:(Te=i==null?void 0:i.isGrid)!=null?Te:!1})},[T,M,_,I,O,l,i==null?void 0:i.isGrid]),se=or(v==null?void 0:v.base,j),ae=d.useMemo(()=>P||u==="button",[P,u]),ie=d.useCallback((Te={})=>({ref:G,tabIndex:ae?0:-1,"data-hover":_e($),"data-focus":_e(Z),"data-focus-visible":_e(U),className:ne.base({class:or(se,Te==null?void 0:Te.className)}),...ke(z,S,ae?Q:{})}),[ae,ne,se,Q,z]),ve=d.useCallback((Te={})=>({ref:A,src:b,"data-loaded":_e(Y),className:ne.img({class:v==null?void 0:v.img}),...ke(q,Te)}),[ne,Y,q,b,A]);return{Component:V,ImgComponent:J,src:b,alt:E,icon:h,name:y,imgRef:A,slots:ne,classNames:v,fallback:x,isImgLoaded:Y,showFallback:ee,ignoreFallback:L,getInitials:F,getAvatarProps:ie,getImageProps:ve}}const Jl=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Ql=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function ec(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),o=typeof t.getTextInfo=="function"?t.getTextInfo():t.textInfo;if(o)return o.direction==="rtl";if(t.script)return Jl.has(t.script)}let r=e.split("-")[0];return Ql.has(r)}const rc=Symbol.for("react-aria.i18n.locale");function ta(){let e=typeof window<"u"&&window[rc]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:ec(e)?"rtl":"ltr"}}let jt=ta(),br=new Set;function nn(){jt=ta();for(let e of br)e(jt)}function tc(){let e=Kt(),[r,t]=d.useState(jt);return d.useEffect(()=>(br.size===0&&window.addEventListener("languagechange",nn),br.add(t),()=>{br.delete(t),br.size===0&&window.removeEventListener("languagechange",nn)}),[]),e?{locale:"en-US",direction:"ltr"}:r}const oc=d.createContext(null);function nc(){let e=tc();return d.useContext(oc)||e}const rr={top:"top",bottom:"top",left:"left",right:"left"},Wr={top:"bottom",bottom:"top",left:"right",right:"left"},ac={top:"left",left:"top"},Mt={top:"height",left:"width"},oa={width:"totalWidth",height:"totalHeight"},Ar={};let we=typeof document<"u"&&window.visualViewport;function an(e){let r=0,t=0,o=0,n=0,s=0,i=0,l={},u=(we==null?void 0:we.scale)>1;if(e.tagName==="BODY"){let y=document.documentElement;o=y.clientWidth,n=y.clientHeight;var g;r=(g=we==null?void 0:we.width)!==null&&g!==void 0?g:o;var b;t=(b=we==null?void 0:we.height)!==null&&b!==void 0?b:n,l.top=y.scrollTop||e.scrollTop,l.left=y.scrollLeft||e.scrollLeft,we&&(s=we.offsetTop,i=we.offsetLeft)}else({width:r,height:t,top:s,left:i}=tr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,o=r,n=t;return Cl()&&(e.tagName==="BODY"||e.tagName==="HTML")&&u&&(l.top=0,l.left=0,s=we.pageTop,i=we.pageLeft),{width:r,height:t,totalWidth:o,totalHeight:n,scroll:l,top:s,left:i}}function sc(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function sn(e,r,t,o,n,s,i){let l=n.scroll[e],u=o[Mt[e]],g=o.scroll[rr[e]]+s,b=u+o.scroll[rr[e]]-s,y=r-l+i[e]-o[rr[e]],h=r-l+t+i[e]-o[rr[e]];return y<g?g-y:h>b?Math.max(b-h,g-y):0}function ic(e){let r=window.getComputedStyle(e);return{top:parseInt(r.marginTop,10)||0,bottom:parseInt(r.marginBottom,10)||0,left:parseInt(r.marginLeft,10)||0,right:parseInt(r.marginRight,10)||0}}function ln(e){if(Ar[e])return Ar[e];let[r,t]=e.split(" "),o=rr[r]||"right",n=ac[o];rr[t]||(t="center");let s=Mt[o],i=Mt[n];return Ar[e]={placement:r,crossPlacement:t,axis:o,crossAxis:n,size:s,crossSize:i},Ar[e]}function bt(e,r,t,o,n,s,i,l,u,g){let{placement:b,crossPlacement:y,axis:h,crossAxis:v,size:x,crossSize:E}=o,k={};k[v]=e[v],y==="center"?k[v]+=(e[E]-t[E])/2:y!==v&&(k[v]+=e[E]-t[E]),k[v]+=s;const T=e[v]-t[E]+u+g,M=e[v]+e[E]-u-g;if(k[v]=Ct(k[v],T,M),b===h){const _=l?i[x]:r[oa[x]];k[Wr[h]]=Math.floor(_-e[h]+n)}else k[h]=Math.floor(e[h]+e[x]+n);return k}function lc(e,r,t,o,n,s,i,l){const u=o?t.height:r[oa.height];let g=e.top!=null?t.top+e.top:t.top+(u-e.bottom-i),b=l!=="top"?Math.max(0,r.height+r.top+r.scroll.top-g-(n.top+n.bottom+s)):Math.max(0,g+i-(r.top+r.scroll.top)-(n.top+n.bottom+s));return Math.min(r.height-s*2,b)}function cn(e,r,t,o,n,s){let{placement:i,axis:l,size:u}=s;return i===l?Math.max(0,t[l]-e[l]-e.scroll[l]+r[l]-o[l]-o[Wr[l]]-n):Math.max(0,e[u]+e[l]+e.scroll[l]-r[l]-t[l]-t[u]-o[l]-o[Wr[l]]-n)}function cc(e,r,t,o,n,s,i,l,u,g,b,y,h,v,x,E){let k=ln(e),{size:T,crossAxis:M,crossSize:_,placement:I,crossPlacement:O}=k,P=bt(r,l,t,k,b,y,g,h,x,E),F=b,L=cn(l,g,r,n,s+b,k);if(i&&o[T]>L){let Z=ln(`${Wr[I]} ${O}`),Q=bt(r,l,t,Z,b,y,g,h,x,E);cn(l,g,r,n,s+b,Z)>L&&(k=Z,P=Q,F=b)}let N="bottom";k.axis==="top"?k.placement==="top"?N="top":k.placement==="bottom"&&(N="bottom"):k.crossAxis==="top"&&(k.crossPlacement==="top"?N="bottom":k.crossPlacement==="bottom"&&(N="top"));let J=sn(M,P[M],t[_],l,u,s,g);P[M]+=J;let q=lc(P,l,g,h,n,s,t.height,N);v&&v<q&&(q=v),t.height=Math.min(t.height,q),P=bt(r,l,t,k,F,y,g,h,x,E),J=sn(M,P[M],t[_],l,u,s,g),P[M]+=J;let j={},H=r[M]+.5*r[_]-t[M];const z=x/2+E,V=t[_]-x/2-E,G=r[M]-t[M]+x/2,A=r[M]+r[_]-t[M]-x/2,U=Ct(H,G,A);return j[M]=Ct(U,z,V),{position:P,maxHeight:q,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:k.placement}}function dc(e){let{placement:r,targetNode:t,overlayNode:o,scrollNode:n,padding:s,shouldFlip:i,boundaryElement:l,offset:u,crossOffset:g,maxHeight:b,arrowSize:y=0,arrowBoundaryOffset:h=0}=e,v=o instanceof HTMLElement?uc(o):document.documentElement,x=v===document.documentElement;const E=window.getComputedStyle(v).position;let k=!!E&&E!=="static",T=x?tr(t):dn(t,v);if(!x){let{marginTop:L,marginLeft:N}=window.getComputedStyle(t);T.top+=parseInt(L,10)||0,T.left+=parseInt(N,10)||0}let M=tr(o),_=ic(o);M.width+=_.left+_.right,M.height+=_.top+_.bottom;let I=sc(n),O=an(l),P=an(v),F=l.tagName==="BODY"?tr(v):dn(v,l);return v.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),cc(r,T,M,I,_,s,i,O,P,F,u,g,k,b,y,h)}function tr(e){let{top:r,left:t,width:o,height:n}=e.getBoundingClientRect(),{scrollTop:s,scrollLeft:i,clientTop:l,clientLeft:u}=document.documentElement;return{top:r+s-l,left:t+i-u,width:o,height:n}}function dn(e,r){let t=window.getComputedStyle(e),o;if(t.position==="fixed"){let{top:n,left:s,width:i,height:l}=e.getBoundingClientRect();o={top:n,left:s,width:i,height:l}}else{o=tr(e);let n=tr(r),s=window.getComputedStyle(r);n.top+=(parseInt(s.borderTopWidth,10)||0)-r.scrollTop,n.left+=(parseInt(s.borderLeftWidth,10)||0)-r.scrollLeft,o.top-=n.top,o.left-=n.left}return o.top-=parseInt(t.marginTop,10)||0,o.left-=parseInt(t.marginLeft,10)||0,o}function uc(e){let r=e.offsetParent;if(r&&r===document.body&&window.getComputedStyle(r).position==="static"&&!un(r)&&(r=document.documentElement),r==null)for(r=e.parentElement;r&&!un(r);)r=r.parentElement;return r||document.documentElement}function un(e){let r=window.getComputedStyle(e);return r.transform!=="none"||/transform|perspective/.test(r.willChange)||r.filter!=="none"||r.contain==="paint"||"backdropFilter"in r&&r.backdropFilter!=="none"||"WebkitBackdropFilter"in r&&r.WebkitBackdropFilter!=="none"}const fc=new WeakMap;function pc(e){let{triggerRef:r,isOpen:t,onClose:o}=e;d.useEffect(()=>{if(!t||o===null)return;let n=s=>{let i=s.target;if(!r.current||i instanceof Node&&!i.contains(r.current))return;let l=o||fc.get(r.current);l&&l()};return window.addEventListener("scroll",n,!0),()=>{window.removeEventListener("scroll",n,!0)}},[t,o,r])}let be=typeof document<"u"&&window.visualViewport;function bc(e){let{direction:r}=nc(),{arrowSize:t=0,targetRef:o,overlayRef:n,scrollRef:s=n,placement:i="bottom",containerPadding:l=12,shouldFlip:u=!0,boundaryElement:g=typeof document<"u"?document.body:null,offset:b=0,crossOffset:y=0,shouldUpdatePosition:h=!0,isOpen:v=!0,onClose:x,maxHeight:E,arrowBoundaryOffset:k=0}=e,[T,M]=d.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),_=[h,i,n.current,o.current,s.current,l,u,g,b,y,v,r,E,k,t],I=d.useRef(be==null?void 0:be.scale);d.useEffect(()=>{v&&(I.current=be==null?void 0:be.scale)},[v]);let O=d.useCallback(()=>{if(h===!1||!v||!n.current||!o.current||!s.current||!g||(be==null?void 0:be.scale)!==I.current)return;!E&&n.current&&(n.current.style.maxHeight="none");let L=dc({placement:vc(i,r),overlayNode:n.current,targetNode:o.current,scrollNode:s.current,padding:l,shouldFlip:u,boundaryElement:g,offset:b,crossOffset:y,maxHeight:E,arrowSize:t,arrowBoundaryOffset:k});Object.keys(L.position).forEach(N=>n.current.style[N]=L.position[N]+"px"),n.current.style.maxHeight=L.maxHeight!=null?L.maxHeight+"px":void 0,M(L)},_);Ke(O,_),gc(O),Rl({ref:n,onResize:O});let P=d.useRef(!1);Ke(()=>{let L,N=()=>{P.current=!0,clearTimeout(L),L=setTimeout(()=>{P.current=!1},500),O()},J=()=>{P.current&&N()};return be==null||be.addEventListener("resize",N),be==null||be.addEventListener("scroll",J),()=>{be==null||be.removeEventListener("resize",N),be==null||be.removeEventListener("scroll",J)}},[O]);let F=d.useCallback(()=>{P.current||x()},[x,P]);return pc({triggerRef:o,isOpen:v,onClose:x&&F}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...T.position,maxHeight:T.maxHeight}},placement:T.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:T.arrowOffsetLeft,top:T.arrowOffsetTop}},updatePosition:O}}function gc(e){Ke(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function vc(e,r){return r==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Le=[];function yc(e,r){let{onClose:t,shouldCloseOnBlur:o,isOpen:n,isDismissable:s=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;d.useEffect(()=>(n&&Le.push(r),()=>{let x=Le.indexOf(r);x>=0&&Le.splice(x,1)}),[n,r]);let u=()=>{Le[Le.length-1]===r&&t&&t()},g=x=>{(!l||l(x.target))&&Le[Le.length-1]===r&&(x.stopPropagation(),x.preventDefault())},b=x=>{(!l||l(x.target))&&(Le[Le.length-1]===r&&(x.stopPropagation(),x.preventDefault()),u())},y=x=>{x.key==="Escape"&&!i&&(x.stopPropagation(),x.preventDefault(),u())};zl({ref:r,onInteractOutside:s&&n?b:null,onInteractOutsideStart:g});let{focusWithinProps:h}=Qn({isDisabled:!o,onBlurWithin:x=>{!x.relatedTarget||Wl(x.relatedTarget)||(!l||l(x.relatedTarget))&&t()}}),v=x=>{x.target===x.currentTarget&&x.preventDefault()};return{overlayProps:{onKeyDown:y,...h},underlayProps:{onPointerDown:v}}}const _t=d.createContext(null);function $c(e){let{children:r}=e,t=d.useContext(_t),[o,n]=d.useState(0),s=d.useMemo(()=>({parent:t,modalCount:o,addModal(){n(i=>i+1),t&&t.addModal()},removeModal(){n(i=>i-1),t&&t.removeModal()}}),[t,o]);return d.createElement(_t.Provider,{value:s},r)}function xc(){let e=d.useContext(_t);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}function wc(e){let{modalProviderProps:r}=xc();return d.createElement("div",{"data-overlay-container":!0,...e,...r})}function mc(e){return d.createElement($c,null,d.createElement(wc,e))}function fn(e){let r=Kt(),{portalContainer:t=r?null:document.body,...o}=e;if(d.useEffect(()=>{if(t!=null&&t.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[t]),!t)return null;let n=d.createElement(mc,o);return Yr.createPortal(n,t)}function qr(e){return d.forwardRef(e)}var na=(e,r,t=!0)=>{if(!r)return[e,{}];const o=r.reduce((n,s)=>s in e?{...n,[s]:e[s]}:n,{});return t?[Object.keys(e).filter(s=>!r.includes(s)).reduce((s,i)=>({...s,[i]:e[i]}),{}),o]:[e,o]},aa=qr((e,r)=>{const{Component:t,ImgComponent:o,src:n,icon:s=p.jsx(Ws,{}),alt:i,classNames:l,slots:u,name:g,showFallback:b,fallback:y,getInitials:h,getAvatarProps:v,getImageProps:x}=Zl({...e,ref:r}),E=d.useMemo(()=>!b&&n?null:y?p.jsx("div",{"aria-label":i,className:u.fallback({class:l==null?void 0:l.fallback}),role:"img",children:y}):g?p.jsx("span",{"aria-label":i,className:u.name({class:l==null?void 0:l.name}),role:"img",children:h(g)}):p.jsx("span",{"aria-label":i,className:u.icon({class:l==null?void 0:l.icon}),role:"img",children:s}),[b,n,y,g,l]);return p.jsxs(t,{...v(),children:[n&&p.jsx(o,{...x(),alt:i}),E]})});aa.displayName="NextUI.Avatar";var sa=aa;function hc(e={}){const{as:r,ref:t,max:o=5,total:n,size:s,color:i,radius:l,children:u,isBordered:g,isDisabled:b,isGrid:y,renderCount:h,className:v,classNames:x,...E}=e,k=yt(t),T=r||"div",M=d.useMemo(()=>({size:s,color:i,radius:l,isGrid:y,isBordered:g,isDisabled:b}),[s,i,l,y,g,b]),_=d.useMemo(()=>Ji({className:v,isGrid:y}),[v,y]),I=ci(u),O=o?I.slice(0,o):I,P=n||(o!=null?I.length-o:-1),F=O.map((J,q)=>{const j=q===0,H=q===O.length-1,z={className:or(j?"ms-0":y?"":"-ms-2",H&&P<1?"hover:-translate-x-0":"")};return d.cloneElement(J,Zs(z))});return{Component:T,context:M,remainingCount:P,clones:F,renderCount:h,getAvatarGroupProps:()=>({ref:k,className:_.base({class:or(x==null?void 0:x.base,v)}),role:"group",...E}),getAvatarGroupCountProps:()=>({className:_.count({class:x==null?void 0:x.count})})}}var ia=qr((e,r)=>{const{Component:t,clones:o,context:n,remainingCount:s,getAvatarGroupCountProps:i,getAvatarGroupProps:l,renderCount:u=g=>p.jsx(sa,{...i(),name:`+${g}`})}=hc({...e,ref:r});return p.jsx(t,{...l(),children:p.jsxs(di,{value:n,children:[o,s>0&&u(s)]})})});ia.displayName="NextUI.AvatarGroup";var Cc=ia;const c={fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],serif:["ui-serif","Georgia","Cambria","Times New Roman","Times","serif"],monospace:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:100,extralight:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},borderRadius:{.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{primary:"#4785ff",secondary:"#b8cfff",tertiary:"#d6e4ff",background:"#f0f5ff",inherit:"inherit",current:"currentColor",transparent:"transparent",black:"rgb(0 0 0)",white:"rgb(255 255 255)",slate:{50:"rgb(248 250 252)",100:"rgb(241 245 249)",200:"rgb(226 232 240)",300:"rgb(203 213 225)",400:"rgb(148 163 184)",500:"rgb(100 116 139)",600:"rgb(71 85 105)",700:"rgb(51 65 85)",800:"rgb(30 41 59)",900:"rgb(15 23 42)"},gray:{50:"rgb(249 250 251)",100:"rgb(243 244 246)",200:"rgb(229 231 235)",300:"rgb(209 213 219)",400:"rgb(156 163 175)",500:"rgb(107 114 128)",600:"rgb(75 85 99)",700:"rgb(55 65 81)",800:"rgb(31 41 55)",900:"rgb(17 24 39)"},zinc:{50:"rgb(250 250 250)",100:"rgb(244 244 245)",200:"rgb(228 228 231)",300:"rgb(212 212 216)",400:"rgb(161 161 170)",500:"rgb(113 113 122)",600:"rgb(82 82 91)",700:"rgb(63 63 70)",800:"rgb(39 39 42)",900:"rgb(24 24 27)"},neutral:{50:"rgb(250 250 250)",100:"rgb(245 245 245)",200:"rgb(229 229 229)",300:"rgb(212 212 212)",400:"rgb(163 163 163)",500:"rgb(115 115 115)",600:"rgb(82 82 82)",700:"rgb(64 64 64)",800:"rgb(38 38 38)",900:"rgb(23 23 23)"},stone:{50:"rgb(250 250 249)",100:"rgb(245 245 244)",200:"rgb(231 229 228)",300:"rgb(214 211 209)",400:"rgb(168 162 158)",500:"rgb(120 113 108)",600:"rgb(87 83 78)",700:"rgb(68 64 60)",800:"rgb(41 37 36)",900:"rgb(28 25 23)"},red:{50:"rgb(254 242 242)",100:"rgb(254 226 226)",200:"rgb(254 202 202)",300:"rgb(252 165 165)",400:"rgb(248 113 113)",500:"rgb(239 68 68)",600:"rgb(220 38 38)",700:"rgb(185 28 28)",800:"rgb(153 27 27)",900:"rgb(127 29 29)"},orange:{50:"rgb(255 247 237)",100:"rgb(255 237 213)",200:"rgb(254 215 170)",300:"rgb(253 186 116)",400:"rgb(251 146 60)",500:"rgb(249 115 22)",600:"rgb(234 88 12)",700:"rgb(194 65 12)",800:"rgb(154 52 18)",900:"rgb(124 45 18)"},amber:{50:"rgb(255 251 235)",100:"rgb(254 243 199)",200:"rgb(253 230 138)",300:"rgb(252 211 77)",400:"rgb(251 191 36)",500:"rgb(245 158 11)",600:"rgb(217 119 6)",700:"rgb(180 83 9)",800:"rgb(146 64 14)",900:"rgb(120 53 15)"},yellow:{50:"rgb(254 252 232)",100:"rgb(254 249 195)",200:"rgb(254 240 138)",300:"rgb(253 224 71)",400:"rgb(250 204 21)",500:"rgb(234 179 8)",600:"rgb(202 138 4)",700:"rgb(161 98 7)",800:"rgb(133 77 14)",900:"rgb(113 63 18)"},lime:{50:"rgb(247 254 231)",100:"rgb(236 252 203)",200:"rgb(217 249 157)",300:"rgb(190 242 100)",400:"rgb(163 230 53)",500:"rgb(132 204 22)",600:"rgb(101 163 13)",700:"rgb(77 124 15)",800:"rgb(63 98 18)",900:"rgb(54 83 20)"},green:{50:"rgb(240 253 244)",100:"rgb(220 252 231)",200:"rgb(187 247 208)",300:"rgb(134 239 172)",400:"rgb(74 222 128)",500:"rgb(34 197 94)",600:"rgb(22 163 74)",700:"rgb(21 128 61)",800:"rgb(22 101 52)",900:"rgb(20 83 45)"},emerald:{50:"rgb(236 253 245)",100:"rgb(209 250 229)",200:"rgb(167 243 208)",300:"rgb(110 231 183)",400:"rgb(52 211 153)",500:"rgb(16 185 129)",600:"rgb(5 150 105)",700:"rgb(4 120 87)",800:"rgb(6 95 70)",900:"rgb(6 78 59)"},teal:{50:"rgb(240 253 250)",100:"rgb(204 251 241)",200:"rgb(153 246 228)",300:"rgb(94 234 212)",400:"rgb(45 212 191)",500:"rgb(20 184 166)",600:"rgb(13 148 136)",700:"rgb(15 118 110)",800:"rgb(17 94 89)",900:"rgb(19 78 74)"},cyan:{50:"rgb(236 254 255)",100:"rgb(207 250 254)",200:"rgb(165 243 252)",300:"rgb(103 232 249)",400:"rgb(34 211 238)",500:"rgb(6 182 212)",600:"rgb(8 145 178)",700:"rgb(14 116 144)",800:"rgb(21 94 117)",900:"rgb(22 78 99)"},sky:{50:"rgb(240 249 255)",100:"rgb(224 242 254)",200:"rgb(186 230 253)",300:"rgb(125 211 252)",400:"rgb(56 189 248)",500:"rgb(14 165 233)",600:"rgb(2 132 199)",700:"rgb(3 105 161)",800:"rgb(7 89 133)",900:"rgb(12 74 110)"},blue:{50:"rgb(239 246 255)",100:"rgb(219 234 254)",200:"rgb(191 219 254)",300:"rgb(147 197 253)",400:"rgb(96 165 250)",500:"rgb(59 130 246)",600:"rgb(37 99 235)",700:"rgb(29 78 216)",800:"rgb(30 64 175)",900:"rgb(30 58 138)"},indigo:{50:"rgb(238 242 255)",100:"rgb(224 231 255)",200:"rgb(199 210 254)",300:"rgb(165 180 252)",400:"rgb(129 140 248)",500:"rgb(99 102 241)",600:"rgb(79 70 229)",700:"rgb(67 56 202)",800:"rgb(55 48 163)",900:"rgb(49 46 129)"},violet:{50:"rgb(245 243 255)",100:"rgb(237 233 254)",200:"rgb(221 214 254)",300:"rgb(196 181 253)",400:"rgb(167 139 250)",500:"rgb(139 92 246)",600:"rgb(124 58 237)",700:"rgb(109 40 217)",800:"rgb(91 33 182)",900:"rgb(76 29 149)"},purple:{50:"rgb(250 245 255)",100:"rgb(243 232 255)",200:"rgb(233 213 255)",300:"rgb(216 180 254)",400:"rgb(192 132 252)",500:"rgb(168 85 247)",600:"rgb(147 51 234)",700:"rgb(126 34 206)",800:"rgb(107 33 168)",900:"rgb(88 28 135)"},fuchsia:{50:"rgb(253 244 255)",100:"rgb(250 232 255)",200:"rgb(245 208 254)",300:"rgb(240 171 252)",400:"rgb(232 121 249)",500:"rgb(217 70 239)",600:"rgb(192 38 211)",700:"rgb(162 28 175)",800:"rgb(134 25 143)",900:"rgb(112 26 117)"},pink:{50:"rgb(253 242 248)",100:"rgb(252 231 243)",200:"rgb(251 207 232)",300:"rgb(249 168 212)",400:"rgb(244 114 182)",500:"rgb(236 72 153)",600:"rgb(219 39 119)",700:"rgb(190 24 93)",800:"rgb(157 23 77)",900:"rgb(131 24 67)"},rose:{50:"rgb(255 241 242)",100:"rgb(255 228 230)",200:"rgb(254 205 211)",300:"rgb(253 164 175)",400:"rgb(251 113 133)",500:"rgb(244 63 94)",600:"rgb(225 29 72)",700:"rgb(190 18 60)",800:"rgb(159 18 57)",900:"rgb(136 19 55)"}},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},height:{auto:"auto",px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},components:{button:{primary:{color:"#FFF",backgroundColor:"#000"}},Card:{border:"1px solid rgb(226 232 240)",padding:"1rem",backgroundColor:"transparent",borderRadius:"2px",boxShadow:"rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px"},"Card.Content":{padding:0,fontSize:"0.9rem"},"Card.Header":{fontSize:"1.125rem",fontWeight:"700",marginBottom:"1rem"}}};function la(e,r){const t={...e};return Object.entries(r).forEach(([o,n])=>{n!==null&&typeof n=="object"&&!Array.isArray(n)?((t[o]===void 0||t[o]===null)&&(t[o]={}),t[o]=la(t[o],n)):t[o]=n}),t}const Ec=m.styled.div`
|
|
40
40
|
z-index: 1;
|
|
41
41
|
|
|
42
42
|
&:not(:first-child) {
|
|
43
|
-
margin-inline-start: ${({isInGroup:e,isGrid:
|
|
43
|
+
margin-inline-start: ${({isInGroup:e,isGrid:r})=>r||!e?0:"-0.5rem"};
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&:hover {
|
|
47
47
|
& > * {
|
|
48
|
-
transform: ${({isInGroup:e,isGrid:
|
|
48
|
+
transform: ${({isInGroup:e,isGrid:r})=>!r&&e?"translateY(-0.8rem)":"none"};
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
`,
|
|
52
|
-
background: ${({theme:e})=>{var t
|
|
51
|
+
`,kc=m.styled(sa)`
|
|
52
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
justify-content: center;
|
|
@@ -59,11 +59,11 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
59
59
|
transition: 0.25s transform ease;
|
|
60
60
|
opacity: ${({isDisabled:e})=>e?.5:1};
|
|
61
61
|
|
|
62
|
-
${({size:e})=>{const
|
|
62
|
+
${({size:e})=>{const r={sm:"2rem",md:"2.5rem",lg:"3rem"};let t=r.md;return e&&r[e]&&(t=r[e]),`width: ${t}; height: ${t}`}};
|
|
63
63
|
|
|
64
|
-
box-shadow: ${({isBordered:e,theme:
|
|
64
|
+
box-shadow: ${({isBordered:e,theme:r})=>{var t,o,n;return e?`${((t=r==null?void 0:r.colors)==null?void 0:t.white)??c.colors.white} 0px 0px 0px 2px, ${((n=(o=r==null?void 0:r.colors)==null?void 0:o.slate)==null?void 0:n[100])??c.colors.slate[100]} 0px 0px 0px 4px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`:"none"}};
|
|
65
65
|
|
|
66
|
-
border-radius: ${({radius:e})=>{const
|
|
66
|
+
border-radius: ${({radius:e})=>{const r={full:"9999px",lg:"14px",md:"12px",sm:"8px",none:"0"};return e&&r[e]?r[e]:r.full}};
|
|
67
67
|
|
|
68
68
|
img {
|
|
69
69
|
opacity: 0;
|
|
@@ -95,23 +95,23 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
95
95
|
overflow: hidden;
|
|
96
96
|
text-align: center;
|
|
97
97
|
}
|
|
98
|
-
`;function
|
|
98
|
+
`;function Sc({icon:e,...r}){const t=Rn();return p.jsx(Ec,{isInGroup:!!t,isGrid:!!(t!=null&&t.isGrid),children:p.jsx(kc,{...r,icon:e||p.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M20 21C20 19.6044 20 18.9067 19.8278 18.3389C19.44 17.0605 18.4395 16.06 17.1611 15.6722C16.5933 15.5 15.8956 15.5 14.5 15.5H9.5C8.10444 15.5 7.40665 15.5 6.83886 15.6722C5.56045 16.06 4.56004 17.0605 4.17224 18.3389C4 18.9067 4 19.6044 4 21M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})}const Tc=m.styled(Cc)`
|
|
99
99
|
display: ${({isGrid:e})=>e?"inline-grid":"flex"};
|
|
100
100
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
101
101
|
align-items: center;
|
|
102
102
|
gap: ${({isGrid:e})=>e?"0.75rem":"0"};
|
|
103
|
-
`;function
|
|
103
|
+
`;function Pc({children:e,isGrid:r,renderCount:t}){return p.jsx(Tc,{isGrid:r,max:0,renderCount:t??void 0,children:e})}function Rc(e){const[r,t]=na(e,Zo.variantKeys),{as:o,children:n,className:s,content:i,classNames:l,...u}=r,g=o||"span",b=d.useMemo(()=>{var E;return((E=String(i))==null?void 0:E.length)===1||(e==null?void 0:e.isOneChar)},[i,e==null?void 0:e.isOneChar]),y=d.useMemo(()=>{var E;return((E=String(i))==null?void 0:E.length)===0},[i]),h=or(l==null?void 0:l.badge,s),v=d.useMemo(()=>Zo({...t,showOutline:e!=null&&e.disableOutline?!(e!=null&&e.disableOutline):e==null?void 0:e.showOutline,isOneChar:b,isDot:y}),[Sn(t),b,y]),x=()=>({className:v.badge({class:h}),"data-invisible":e.isInvisible,...u});return{Component:g,children:n,content:i,slots:v,classNames:l,disableAnimation:e==null?void 0:e.disableAnimation,isInvisible:e==null?void 0:e.isInvisible,getBadgeProps:x}}var ca=qr((e,r)=>{const{Component:t,children:o,content:n,slots:s,classNames:i,getBadgeProps:l}=Rc({...e});return p.jsxs("div",{className:s.base({class:i==null?void 0:i.base}),children:[o,p.jsx(t,{ref:r,...l(),children:n})]})});ca.displayName="NextUI.Badge";var Oc=ca;const jc=m.styled.div`
|
|
104
104
|
position: relative;
|
|
105
105
|
display: inline-flex;
|
|
106
106
|
flex-shrink: 0;
|
|
107
|
-
`,
|
|
107
|
+
`,Mc=m.styled.div`
|
|
108
108
|
position: absolute;
|
|
109
109
|
z-index: 2;
|
|
110
110
|
|
|
111
|
-
transform: ${({placement:e})=>{const
|
|
111
|
+
transform: ${({placement:e})=>{const r={"top-right":"translate(50%, -50%)","bottom-right":"translate(50%, 50%)","bottom-left":"translate(-50%, 50%)","top-left":"translate(-50%, -50%)"};return e&&r[e]?r[e]:r["top-right"]}};
|
|
112
112
|
|
|
113
|
-
${({placement:e,shape:
|
|
114
|
-
`,
|
|
113
|
+
${({placement:e,shape:r})=>{const t={rectangle:"5%",circle:"10%"};let o=t.rectangle;r&&t[r]&&(o=t[r]);const n={"top-right":{top:o,right:o},"bottom-right":{bottom:o,right:o},"top-left":{top:o,left:o},"bottom-left":{bottom:o,left:o}};return e&&n[e]?n[e]:n["top-right"]}};
|
|
114
|
+
`,_c=m.styled(Oc)`
|
|
115
115
|
display: flex;
|
|
116
116
|
flex-wrap: wrap;
|
|
117
117
|
place-content: center;
|
|
@@ -121,75 +121,59 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
121
121
|
padding: 0 0.25rem;
|
|
122
122
|
font-weight: 400;
|
|
123
123
|
user-select: none;
|
|
124
|
-
color: ${({theme:e})=>{var t
|
|
124
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
125
125
|
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
|
|
126
126
|
white-space: nowrap;
|
|
127
127
|
|
|
128
|
-
${({size:e,content:
|
|
128
|
+
${({size:e,content:r,isOneChar:t,isDot:o})=>{var l;const n={sm:"1rem",md:"1.25rem",lg:"1.5rem;"},s=((l=String(r))==null?void 0:l.length)===1||t;let i=n.md;return e&&n[e]&&(i=n[e]),!r||o?"width: 0.875rem; height: 0.875rem;":s?`width: ${i}; height: ${i};`:`min-width: ${i}; height: ${i};`}}
|
|
129
129
|
|
|
130
|
-
font-size: ${({size:e,content:
|
|
130
|
+
font-size: ${({size:e,content:r,isDot:t})=>{const o={sm:"0.75rem",md:"0.875rem",lg:"0.875rem"};if(typeof r=="string"&&r.length>1||t)return o.sm;let n=o.md;return e&&o[e]&&(n=o[e]),n}};
|
|
131
131
|
|
|
132
|
-
background: ${({variant:e,theme:
|
|
132
|
+
background: ${({variant:e,theme:r})=>{var t,o,n,s,i;switch(e){case"flat":return`color-mix(
|
|
133
133
|
in srgb,
|
|
134
|
-
${((
|
|
134
|
+
${((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800]},
|
|
135
135
|
transparent 45%
|
|
136
|
-
)`;case"faded":return`${((
|
|
136
|
+
)`;case"faded":return`${((n=r==null?void 0:r.colors)==null?void 0:n.white)??c.colors.white}`;case"solid":case"shadow":default:return`${((i=(s=r==null?void 0:r.colors)==null?void 0:s.slate)==null?void 0:i[800])??c.colors.slate[800]}`}}};
|
|
137
137
|
|
|
138
|
-
color: ${({variant:e,theme:
|
|
138
|
+
color: ${({variant:e,theme:r})=>{var t,o,n;return e==="faded"?`${((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800]}`:`${((n=r==null?void 0:r.colors)==null?void 0:n.white)??c.colors.white}`}};
|
|
139
139
|
|
|
140
|
-
border: ${({showOutline:e,variant:
|
|
140
|
+
border: ${({showOutline:e,variant:r,theme:t})=>{var o,n,s;return r==="faded"?`2px solid ${((n=(o=t==null?void 0:t.colors)==null?void 0:o.slate)==null?void 0:n[800])??c.colors.slate[800]}`:e?`2px solid ${((s=t==null?void 0:t.colors)==null?void 0:s.white)??c.colors.white}`:"none"}};
|
|
141
141
|
|
|
142
|
-
box-shadow: ${({variant:e,theme:
|
|
142
|
+
box-shadow: ${({variant:e,theme:r})=>{var t,o,n,s;return e==="shadow"?`rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
|
|
143
143
|
color-mix(
|
|
144
144
|
in srgb,
|
|
145
|
-
${((
|
|
145
|
+
${((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800]},
|
|
146
146
|
transparent 60%
|
|
147
147
|
)
|
|
148
148
|
0px 10px 15px -3px,
|
|
149
149
|
color-mix(
|
|
150
150
|
in srgb,
|
|
151
|
-
${((
|
|
151
|
+
${((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[800])??c.colors.slate[800]},
|
|
152
152
|
transparent 60%
|
|
153
153
|
)
|
|
154
154
|
0px 4px 6px -4px`:"none"}};
|
|
155
|
-
`,B3={hidden:{opacity:0,transform:"scale(0)"},show:{opacity:1,transform:"scale(1)"}};function I3({children:e,isInvisible:t,disableAnimation:r,placement:n,shape:o,...a}){const i=l.useId(),s=r?{duration:0}:{type:"spring",bounce:.3};return k.jsxs(A3,{children:[e,k.jsx(F3,{placement:n,shape:o,children:k.jsx(st.AnimatePresence,{children:!t&&k.jsx(st.motion.div,{variants:B3,initial:r?"show":"hidden",transition:s,animate:"show",exit:"hidden",children:k.jsx(R3,{...a,isInvisible:t,showOutline:a.showOutline??!0})},`badge-${i}`)})})]})}function L3({children:e,...t}){return k.jsx("span",{...t,"aria-hidden":"true",children:e??k.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[k.jsx("path",{d:"M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),k.jsx("path",{d:"M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),k.jsx("path",{d:"M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}function O3(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...u}=e,c={};r!=="a"&&(c={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=Fr(e,t),{pressProps:f,isPressed:b}=Vt({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),p=le(u,{labelable:!0,isLink:r==="a"}),g=X(d,f),$=yn();return{isPressed:b,linkProps:X(p,{...g,...c,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:h=>{var x;(x=f.onClick)===null||x===void 0||x.call(f,h),i&&(i(h),console.warn("onClick is deprecated, please use onPress")),!$.isNative&&h.currentTarget instanceof HTMLAnchorElement&&h.currentTarget.href&&!h.isDefaultPrevented()&&Qm(h.currentTarget,h)&&(h.preventDefault(),$.open(h.currentTarget,h))}})}}function tf(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,onPressUp:s,onPressChange:u,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:b,target:p,rel:g,type:$="button"}=e,h;r==="button"?h={type:$,disabled:n}:h={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:b,target:r==="a"?p:void 0,type:r==="input"?$:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?g:void 0};let{pressProps:x,isPressed:C}=Vt({onPressStart:a,onPressEnd:i,onPressChange:u,onPress:o,onPressUp:s,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:E}=Fr(e,t);d&&(E.tabIndex=n?-1:E.tabIndex);let A=X(E,x,le(e,{labelable:!0}));return{isPressed:C,buttonProps:X(h,A,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:M=>{f&&(f(M),console.warn("onClick is deprecated, please use onPress"))}})}}function N3(e,t,r){const{isSelected:n}=t,{isPressed:o,buttonProps:a}=tf({...e,onPress:Kt(t.toggle,e.onPress)},r);return{isPressed:o,buttonProps:X(a,{"aria-pressed":n})}}const rf=7e3;let sn=null;function co(e,t="assertive",r=rf){sn||(sn=new V3),sn.announce(e,t,r)}function K3(e){sn&&sn.clear(e)}class V3{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=rf){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function dl(e,t,r){let{validationBehavior:n,focus:o}=e;be(()=>{if(n==="native"&&(r!=null&&r.current)){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(u),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(j3(r.current))}});let a=Ee(()=>{t.resetValidation()}),i=Ee(u=>{var c;t.displayValidation.isInvalid||t.commitValidation();let d=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!u.defaultPrevented&&r&&d&&z3(d)===r.current){var f;o?o():(f=r.current)===null||f===void 0||f.focus(),hc("keyboard")}u.preventDefault()}),s=Ee(()=>{t.commitValidation()});l.useEffect(()=>{let u=r==null?void 0:r.current;if(!u)return;let c=u.form;return u.addEventListener("invalid",i),u.addEventListener("change",s),c==null||c.addEventListener("reset",a),()=>{u.removeEventListener("invalid",i),u.removeEventListener("change",s),c==null||c.removeEventListener("reset",a)}},[r,i,s,a,n])}function _3(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function j3(e){return{isInvalid:!e.validity.valid,validationDetails:_3(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function z3(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const nf={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},of={...nf,customError:!0,valid:!1},gr={isInvalid:!1,validationDetails:nf,validationErrors:[]},U3=l.createContext({}),vn="__formValidationState"+Date.now();function Br(e){if(e[vn]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[vn];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return H3(e)}function H3(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:a,validate:i,validationBehavior:s="aria"}=e;r&&(t||(t=r==="invalid"));let u=t?{isInvalid:!0,validationErrors:[],validationDetails:of}:null,c=l.useMemo(()=>bu(G3(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let d=l.useContext(U3),f=l.useMemo(()=>n?Array.isArray(n)?n.flatMap(F=>hi(d[F])):hi(d[n]):[],[d,n]),[b,p]=l.useState(d),[g,$]=l.useState(!1);d!==b&&(p(d),$(!1));let h=l.useMemo(()=>bu(g?[]:f),[g,f]),x=l.useRef(gr),[C,E]=l.useState(gr),A=l.useRef(gr),M=()=>{if(!R)return;K(!1);let F=c||a||x.current;Va(F,A.current)||(A.current=F,E(F))},[R,K]=l.useState(!1);return l.useEffect(M),{realtimeValidation:u||h||c||a||gr,displayValidation:s==="native"?u||h||C:u||h||c||a||C,updateValidation(F){s==="aria"&&!Va(C,F)?E(F):x.current=F},resetValidation(){let F=gr;Va(F,A.current)||(A.current=F,E(F)),s==="native"&&K(!1),$(!0)},commitValidation(){s==="native"&&K(!0),$(!0)}}}function hi(e){return e?Array.isArray(e)?e:[e]:[]}function G3(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return hi(r)}return[]}function bu(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:of}:null}function Va(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function af(e,t,r){let{isDisabled:n=!1,isReadOnly:o=!1,value:a,name:i,children:s,"aria-label":u,"aria-labelledby":c,validationState:d="valid",isInvalid:f}=e,b=R=>{R.stopPropagation(),t.setSelected(R.target.checked)},p=s!=null,g=u!=null||c!=null;!p&&!g&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:$,isPressed:h}=Vt({isDisabled:n}),{pressProps:x,isPressed:C}=Vt({isDisabled:n||o,onPress(){t.toggle()}}),{focusableProps:E}=Fr(e,r),A=X($,E),M=le(e,{labelable:!0});return hn(r,t.isSelected,t.setSelected),{labelProps:X(x,{onClick:R=>R.preventDefault()}),inputProps:X(M,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:b,disabled:n,...a==null?{}:{value:a},name:i,type:"checkbox",...A}),isSelected:t.isSelected,isPressed:h||C,isDisabled:n,isReadOnly:o,isInvalid:f||d==="invalid"}}function Cn(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=Oe(t);let i=Oe(),s={};r?(n=n?`${i} ${n}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let u=Xt({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:u}}function lf(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:i}=Cn(e),s=Nt([!!t,!!r,n,o]),u=Nt([!!t,!!r,n,o]);return i=X(i,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:u}}}function qo(e={}){let{isReadOnly:t}=e,[r,n]=ot(e.isSelected,e.defaultSelected||!1,e.onChange);function o(i){t||n(i)}function a(){t||n(!r)}return{isSelected:r,setSelected:o,toggle:a}}function sf(e,t,r){let n=Br({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:s,inputProps:u,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:b}=af({...e,isInvalid:o},t,r);dl(e,n,r);let{isIndeterminate:p,isRequired:g,validationBehavior:$="aria"}=e;return l.useEffect(()=>{r.current&&(r.current.indeterminate=!!p)}),{labelProps:s,inputProps:{...u,checked:c,"aria-required":g&&$==="aria"||void 0,required:g&&$==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:b,isInvalid:o,validationErrors:a,validationDetails:i}}const W3=new WeakMap;function Y3(e,t,r){const n=qo({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(h){h?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(h)}});let{name:o,descriptionId:a,errorMessageId:i,validationBehavior:s}=W3.get(t);var u;s=(u=e.validationBehavior)!==null&&u!==void 0?u:s;let{realtimeValidation:c}=Br({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),d=l.useRef(gr),f=()=>{t.setInvalid(e.value,c.isInvalid?c:d.current)};l.useEffect(f);let b=t.realtimeValidation.isInvalid?t.realtimeValidation:c,p=s==="native"?t.displayValidation:b;var g;let $=sf({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(g=e.isRequired)!==null&&g!==void 0?g:t.isRequired,validationBehavior:s,[vn]:{realtimeValidation:b,displayValidation:p,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(h){d.current=h,f()}}},n,r);return{...$,inputProps:{...$.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}var uf={};uf={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var cf={};cf={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var df={};df={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var ff={};ff={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var pf={};pf={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var bf={};bf={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var vf={};vf={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var gf={};gf={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var mf={};mf={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var $f={};$f={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var yf={};yf={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var hf={};hf={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var xf={};xf={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var wf={};wf={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var Cf={};Cf={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var Ef={};Ef={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var Df={};Df={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var Pf={};Pf={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var Sf={};Sf={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var Tf={};Tf={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var kf={};kf={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Mf={};Mf={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var Af={};Af={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Ff={};Ff={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Rf={};Rf={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Bf={};Bf={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var If={};If={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var Lf={};Lf={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var Of={};Of={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var Nf={};Nf={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var Kf={};Kf={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var Vf={};Vf={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var _f={};_f={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var jf={};jf={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};function xi(e){return ao()?e.altKey:e.ctrlKey}function mr(e){return St()?e.metaKey:e.ctrlKey}const q3=1e3;function Z3(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=X3(i.key);if(!s||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let u=t.getKeyForSearch(o.search,r.focusedKey);u==null&&(u=t.getKeyForSearch(o.search)),u!=null&&(r.setFocusedKey(u),n&&n(u)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},q3)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function X3(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function fl(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:b,scrollRef:p=n,linkBehavior:g="action"}=e,{direction:$}=Re(),h=yn(),x=F=>{if(F.altKey&&F.key==="Tab"&&F.preventDefault(),!n.current.contains(F.target))return;const T=(H,w)=>{if(H!=null){if(t.isLink(H)&&g==="selection"&&u&&!xi(F)){Mt.flushSync(()=>{t.setFocusedKey(H,w)});let L=p.current.querySelector(`[data-key="${CSS.escape(H.toString())}"]`);h.open(L,F);return}if(t.setFocusedKey(H,w),t.isLink(H)&&g==="override")return;F.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):u&&!xi(F)&&t.replaceSelection(H)}};switch(F.key){case"ArrowDown":if(r.getKeyBelow){var B,S;F.preventDefault();let H=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(B=r.getFirstKey)===null||B===void 0?void 0:B.call(r);H==null&&a&&(H=(S=r.getFirstKey)===null||S===void 0?void 0:S.call(r,t.focusedKey)),T(H)}break;case"ArrowUp":if(r.getKeyAbove){var I,V;F.preventDefault();let H=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(I=r.getLastKey)===null||I===void 0?void 0:I.call(r);H==null&&a&&(H=(V=r.getLastKey)===null||V===void 0?void 0:V.call(r,t.focusedKey)),T(H)}break;case"ArrowLeft":if(r.getKeyLeftOf){var N,P;F.preventDefault();let H=r.getKeyLeftOf(t.focusedKey);H==null&&a&&(H=$==="rtl"?(N=r.getFirstKey)===null||N===void 0?void 0:N.call(r,t.focusedKey):(P=r.getLastKey)===null||P===void 0?void 0:P.call(r,t.focusedKey)),T(H,$==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var G,Y;F.preventDefault();let H=r.getKeyRightOf(t.focusedKey);H==null&&a&&(H=$==="rtl"?(G=r.getLastKey)===null||G===void 0?void 0:G.call(r,t.focusedKey):(Y=r.getFirstKey)===null||Y===void 0?void 0:Y.call(r,t.focusedKey)),T(H,$==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){F.preventDefault();let H=r.getFirstKey(t.focusedKey,mr(F));t.setFocusedKey(H),mr(F)&&F.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):u&&t.replaceSelection(H)}break;case"End":if(r.getLastKey){F.preventDefault();let H=r.getLastKey(t.focusedKey,mr(F));t.setFocusedKey(H),mr(F)&&F.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):u&&t.replaceSelection(H)}break;case"PageDown":if(r.getKeyPageBelow){F.preventDefault();let H=r.getKeyPageBelow(t.focusedKey);T(H)}break;case"PageUp":if(r.getKeyPageAbove){F.preventDefault();let H=r.getKeyPageAbove(t.focusedKey);T(H)}break;case"a":mr(F)&&t.selectionMode==="multiple"&&s!==!0&&(F.preventDefault(),t.selectAll());break;case"Escape":F.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if(F.shiftKey)n.current.focus();else{let H=je(n.current,{tabbable:!0}),w,L;do L=H.lastChild(),L&&(w=L);while(L);w&&!w.contains(document.activeElement)&>(w)}break}}},C=l.useRef({top:0,left:0});yo(p,"scroll",b?null:()=>{C.current={top:p.current.scrollTop,left:p.current.scrollLeft}});let E=F=>{if(t.isFocused){F.currentTarget.contains(F.target)||t.setFocused(!1);return}if(F.currentTarget.contains(F.target)){if(t.setFocused(!0),t.focusedKey==null){let S=V=>{V!=null&&(t.setFocusedKey(V),u&&t.replaceSelection(V))},I=F.relatedTarget;var T,B;I&&F.currentTarget.compareDocumentPosition(I)&Node.DOCUMENT_POSITION_FOLLOWING?S((T=t.lastSelectedKey)!==null&&T!==void 0?T:r.getLastKey()):S((B=t.firstSelectedKey)!==null&&B!==void 0?B:r.getFirstKey())}else b||(p.current.scrollTop=C.current.top,p.current.scrollLeft=C.current.left);if(!b&&t.focusedKey!=null){let S=p.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);S&&(S.contains(document.activeElement)||gt(S),wo()==="keyboard"&&ri(S,{containingElement:n.current}))}}},A=F=>{F.currentTarget.contains(F.relatedTarget)||t.setFocused(!1)};const M=l.useRef(o);l.useEffect(()=>{if(M.current){let F=null;o==="first"&&(F=r.getFirstKey()),o==="last"&&(F=r.getLastKey());let T=t.selectedKeys;if(T.size){for(let B of T)if(t.canSelectItem(B)){F=B;break}}t.setFocused(!0),t.setFocusedKey(F),F==null&&!d&&Qt(n.current)}},[]);let R=l.useRef(t.focusedKey);l.useEffect(()=>{let F=wo();if(t.isFocused&&t.focusedKey!=null&&(p!=null&&p.current)){let T=p.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);T&&(F==="keyboard"||M.current)&&(b||fc(p.current,T),F!=="virtual"&&ri(T,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&R.current!=null&&Qt(n.current),R.current=t.focusedKey,M.current=!1},[b,p,t.focusedKey,t.isFocused,n]);let K={onKeyDown:x,onFocus:E,onBlur:A,onMouseDown(F){p.current===F.target&&F.preventDefault()}},{typeSelectProps:m}=Z3({keyboardDelegate:r,selectionManager:t});c||(K=X(m,K));let O;return d||(O=t.focusedKey==null?0:-1),{collectionProps:{...K,tabIndex:O}}}function pl(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:i,isDisabled:s,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,f=yn(),b=P=>{if(P.pointerType==="keyboard"&&xi(P))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(d==="selection"){f.open(n.current,P),t.setSelectedKeys(t.selectedKeys);return}else if(d==="override"||d==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):P&&P.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||P&&(mr(P)||P.pointerType==="touch"||P.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};l.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!a&&(i?i():document.activeElement!==n.current&&Qt(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),s=s||t.isDisabled(r);let p={};!a&&!s?p={tabIndex:r===t.focusedKey?0:-1,onFocus(P){P.target===n.current&&t.setFocusedKey(r)}}:s&&(p.onMouseDown=P=>{P.preventDefault()});let g=t.isLink(r)&&d==="override",$=t.isLink(r)&&d!=="selection"&&d!=="none",h=!s&&t.canSelectItem(r)&&!g,x=(u||$)&&!s,C=x&&(t.selectionBehavior==="replace"?!h:!h||t.isEmpty),E=x&&h&&t.selectionBehavior==="replace",A=C||E,M=l.useRef(null),R=A&&h,K=l.useRef(!1),m=l.useRef(!1),O=P=>{u&&u(),$&&f.open(n.current,P)},F={};o?(F.onPressStart=P=>{M.current=P.pointerType,K.current=R,P.pointerType==="keyboard"&&(!A||gu())&&b(P)},c?(F.onPressUp=C?null:P=>{P.pointerType!=="keyboard"&&h&&b(P)},F.onPress=C?O:null):F.onPress=P=>{if(C||E&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!vu())return;O(P)}else P.pointerType!=="keyboard"&&h&&b(P)}):(F.onPressStart=P=>{M.current=P.pointerType,K.current=R,m.current=C,h&&(P.pointerType==="mouse"&&!C||P.pointerType==="keyboard"&&(!x||gu()))&&b(P)},F.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&A&&vu()||P.pointerType==="mouse"&&m.current)&&(A?O(P):h&&b(P))}),p["data-key"]=r,F.preventFocusOnPress=a;let{pressProps:T,isPressed:B}=Vt(F),S=E?P=>{M.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),O(P))}:void 0,{longPressProps:I}=Cc({isDisabled:!R,onLongPress(P){P.pointerType==="touch"&&(b(P),t.setSelectionBehavior("toggle"))}}),V=P=>{M.current==="touch"&&K.current&&P.preventDefault()},N=t.isLink(r)?P=>{Zt.isOpening||P.preventDefault()}:void 0;return{itemProps:X(p,h||C?T:{},R?I:{},{onDoubleClick:S,onDragStartCapture:V,onClick:N}),isPressed:B,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:s,allowsSelection:h,hasAction:A}}function vu(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function gu(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class bl{getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let o=this.getItem(t);if(!o)return null;let a=o.getBoundingClientRect();do t=r(t),o=this.getItem(t);while(o&&n(a,o.getBoundingClientRect()));return t}isSameRow(t,r){return t.top===r.top||t.left!==r.left}isSameColumn(t,r){return t.left===r.left||t.top!==r.top}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,r){return r?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){let r=this.collection.getItem(t);if((r==null?void 0:r.type)==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!$o(r))return this.getFirstKey();let o=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=o.x-r.scrollLeft,s=Math.max(0,a.x-i+a.width-o.width);for(;n&&a.x-i>s;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}else{let i=o.y-r.scrollTop,s=Math.max(0,a.y-i+a.height-o.height);for(;n&&a.y-i>s;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!$o(r))return this.getLastKey();let o=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=o.x-r.scrollLeft,s=Math.min(r.scrollWidth,a.x-i-a.width+o.width);for(;n&&a.x-i<s;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}else{let i=o.y-r.scrollTop,s=Math.min(r.scrollHeight,a.y-i-a.height+o.height);for(;n&&a.y-i<s;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.orientation=r.orientation,this.direction=r.direction,this.layout=r.layout||"stack"}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function zf(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a}=e,i=sl({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,u=l.useMemo(()=>a||new bl(r,s==="selection"?new Set:n,o,i),[a,r,n,o,i,s]),{collectionProps:c}=fl({...e,ref:o,selectionManager:t,keyboardDelegate:u});return{listProps:c}}class J3{build(t,r){return this.context=r,mu(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];l.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let u of s)a++,yield u}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let u=this.cache.get(t.value);if(u&&(!u.shouldInvalidate||!u.shouldInvalidate(this.context))){u.index=t.index,u.parentKey=o?o.key:null,yield u;return}a=r.renderer(t.value)}if(l.isValidElement(a)){let u=a.type;if(typeof u!="function"&&typeof u.getCollectionNode!="function"){let b=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${b}> in collection.`)}let c=u.getCollectionNode(a.props,this.context),d=t.index,f=c.next();for(;!f.done&&f.value;){let b=f.value;t.index=d;let p=b.key;p||(p=b.element?null:this.getKey(a,t,r,n));let $=[...this.getFullNode({...b,key:p,index:d,wrapper:Q3(t.wrapper,b.wrapper)},this.getChildState(r,b),n?`${n}${a.key}`:a.key,o)];for(let h of $){if(h.value=b.value||t.value,h.value&&this.cache.set(h.value,h),t.type&&h.type!==t.type)throw new Error(`Unsupported type <${_a(h.type)}> in <${_a(o.type)}>. Only <${_a(t.type)}> is supported.`);d++,yield h}f=c.next($)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:mu(function*(){if(!t.hasChildNodes)return;let u=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`),c.index=u;let d=i.getFullNode(c,i.getChildState(r,c),s.key,s);for(let f of d)u++,yield f}})};yield s}constructor(){this.cache=new WeakMap}}function mu(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function Q3(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function _a(e){return e[0].toUpperCase()+e.slice(1)}function Uf(e,t,r){let n=l.useMemo(()=>new J3,[]),{children:o,items:a,collection:i}=e;return l.useMemo(()=>{if(i)return i;let u=n.build({children:o,items:a},r);return t(u)},[n,o,a,i,r,t])}function Zo(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function ey(e){return ty(e,0)}function ty(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function ja(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...$u(e,t),t],o=[...$u(e,r),r],a=n.slice(0,o.length).findIndex((i,s)=>i!==o[s]);return a!==-1?(t=n[a],r=o[a],t.index-r.index):n.findIndex(i=>i===r)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function $u(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const yu=new WeakMap;function vl(e){let t=yu.get(e);if(t!=null)return t;t=0;let r=n=>{for(let o of n)o.type==="section"?r(Zo(o,e)):t++};return r(e),yu.set(e,t),t}const Xo=new WeakMap;function ry(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Hf(e,t){let r=Xo.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${ry(t)}`}function ny(e,t,r){let n=le(e,{labelable:!0}),o=e.selectionBehavior||"toggle",a=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&a==="action"&&(a="override");let{listProps:i}=zf({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=Ar({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=Oe(e.id);Xo.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:c,fieldProps:d}=Cn({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:X(n,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...X(d,i)})}}function oy(e,t,r){var n;let{key:o}=e,a=Xo.get(t);var i;let s=(i=e.isDisabled)!==null&&i!==void 0?i:t.disabledKeys.has(o);var u;let c=(u=e.isSelected)!==null&&u!==void 0?u:t.selectionManager.isSelected(o);var d;let f=(d=e.shouldSelectOnPressUp)!==null&&d!==void 0?d:a==null?void 0:a.shouldSelectOnPressUp;var b;let p=(b=e.shouldFocusOnHover)!==null&&b!==void 0?b:a==null?void 0:a.shouldFocusOnHover;var g;let $=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:a==null?void 0:a.shouldUseVirtualFocus;var h;let x=(h=e.isVirtualized)!==null&&h!==void 0?h:a==null?void 0:a.isVirtualized,C=Nt(),E=Nt(),A={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};St()&&zi()||(A["aria-label"]=e["aria-label"],A["aria-labelledby"]=C,A["aria-describedby"]=E);let M=t.collection.getItem(o);if(x){let S=Number(M==null?void 0:M.index);A["aria-posinset"]=Number.isNaN(S)?void 0:S+1,A["aria-setsize"]=vl(t.collection)}let{itemProps:R,isPressed:K,isFocused:m,hasAction:O,allowsSelection:F}=pl({selectionManager:t.selectionManager,key:o,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&p,isVirtualized:x,shouldUseVirtualFocus:$,isDisabled:s,onAction:a!=null&&a.onAction?()=>{var S;return a==null||(S=a.onAction)===null||S===void 0?void 0:S.call(a,o)}:void 0,linkBehavior:a==null?void 0:a.linkBehavior}),{hoverProps:T}=Me({isDisabled:s||!p,onHoverStart(){Dr()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(o))}}),B=le(M==null?void 0:M.props,{isLink:!!(!(M==null||(n=M.props)===null||n===void 0)&&n.href)});return delete B.id,{optionProps:{...A,...X(B,R,T),id:Hf(t,o)},labelProps:{id:C},descriptionProps:{id:E},isFocused:m,isFocusVisible:m&&Dr(),isSelected:c,isDisabled:s,isPressed:K,allowsSelection:F,hasAction:O}}function ay(e){let{heading:t,"aria-label":r}=e,n=Oe();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Gf={};Gf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Wf={};Wf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Yf={};Yf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var qf={};qf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Zf={};Zf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Xf={};Xf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Jf={};Jf={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Qf={};Qf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var e0={};e0={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var t0={};t0={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var r0={};r0={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var n0={};n0={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var o0={};o0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var a0={};a0={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var i0={};i0={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var l0={};l0={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var s0={};s0={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var u0={};u0={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var c0={};c0={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var d0={};d0={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var f0={};f0={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var p0={};p0={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var b0={};b0={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var v0={};v0={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var g0={};g0={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var m0={};m0={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var $0={};$0={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var y0={};y0={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var h0={};h0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var x0={};x0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var w0={};w0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var C0={};C0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var E0={};E0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var D0={};D0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};function iy(e){return e&&e.__esModule?e.default:e}var P0={};P0={"ar-AE":Gf,"bg-BG":Wf,"cs-CZ":Yf,"da-DK":qf,"de-DE":Zf,"el-GR":Xf,"en-US":Jf,"es-ES":Qf,"et-EE":e0,"fi-FI":t0,"fr-FR":r0,"he-IL":n0,"hr-HR":o0,"hu-HU":a0,"it-IT":i0,"ja-JP":l0,"ko-KR":s0,"lt-LT":u0,"lv-LV":c0,"nb-NO":d0,"nl-NL":f0,"pl-PL":p0,"pt-BR":b0,"pt-PT":v0,"ro-RO":g0,"ru-RU":m0,"sk-SK":$0,"sl-SI":y0,"sr-SP":h0,"sv-SE":x0,"tr-TR":w0,"uk-UA":C0,"zh-CN":E0,"zh-TW":D0};function ly(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=Oe(),{triggerProps:s,overlayProps:u}=f3({type:n},t,r),c=p=>{if(!o&&!(a==="longPress"&&!p.altKey)&&r&&r.current)switch(p.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation()}},d=Rr(iy(P0),"@react-aria/menu"),{longPressProps:f}=Cc({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),b={onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!o&&t.toggle(p.pointerType==="virtual"?"first":null)},onPress(p){p.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?b:f,id:i,onKeyDown:c},menuProps:{...u,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const S0=new WeakMap;function sy(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:o,onKeyUp:a,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let s=le(e,{labelable:!0}),{listProps:u}=zf({...i,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return S0.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:X(s,{onKeyDown:o,onKeyUp:a},{role:"menu",...u,onKeyDown:c=>{c.key!=="Escape"&&u.onKeyDown(c)}})}}function T0(e,t,r){var n;let{key:o,closeOnSelect:a,isVirtualized:i,"aria-haspopup":s,onPressStart:u,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:b,onHoverStart:p,onHoverChange:g,onHoverEnd:$,onKeyDown:h,onKeyUp:x,onFocus:C,onFocusChange:E,onBlur:A}=e,M=!!s;var R;let K=(R=e.isDisabled)!==null&&R!==void 0?R:t.disabledKeys.has(o);var m;let O=(m=e.isSelected)!==null&&m!==void 0?m:t.selectionManager.isSelected(o),F=S0.get(t),T=e.onClose||F.onClose,B=M?()=>{}:e.onAction||F.onAction,S=yn(),I=ie=>{B&&B(o),ie.target instanceof HTMLAnchorElement&&S.open(ie.target,ie)},V="menuitem";M||(t.selectionManager.selectionMode==="single"?V="menuitemradio":t.selectionManager.selectionMode==="multiple"&&(V="menuitemcheckbox"));let N=Nt(),P=Nt(),G=Nt(),Y={"aria-disabled":K||void 0,role:V,"aria-label":e["aria-label"],"aria-labelledby":N,"aria-describedby":[P,G].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":s,"aria-expanded":e["aria-expanded"]};t.selectionManager.selectionMode!=="none"&&!M&&(Y["aria-checked"]=O);let H=t.collection.getItem(o);i&&(Y["aria-posinset"]=H==null?void 0:H.index,Y["aria-setsize"]=vl(t.collection));let w=ie=>{ie.pointerType==="keyboard"&&I(ie),u==null||u(ie)},L=ie=>{ie.pointerType!=="keyboard"&&(I(ie),!M&&T&&(a??(t.selectionManager.selectionMode!=="multiple"||t.selectionManager.isLink(o)))&&T()),c==null||c(ie)},{itemProps:W,isFocused:J}=pl({selectionManager:t.selectionManager,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:Q,isPressed:re}=Vt({onPressStart:w,onPress:d,onPressUp:L,onPressChange:f,onPressEnd:b,isDisabled:K}),{hoverProps:z}=Me({isDisabled:K,onHoverStart(ie){Dr()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(o)),p==null||p(ie)},onHoverChange:g,onHoverEnd:$}),{keyboardProps:q}=Yi({onKeyDown:ie=>{if(ie.repeat){ie.continuePropagation();return}switch(ie.key){case" ":!K&&t.selectionManager.selectionMode==="none"&&!M&&a!==!1&&T&&T();break;case"Enter":!K&&a!==!1&&!M&&T&&T();break;default:M||ie.continuePropagation(),h==null||h(ie);break}},onKeyUp:x}),{focusProps:te}=jo({onBlur:A,onFocus:C,onFocusChange:E}),ae=le(H.props,{isLink:!!(!(H==null||(n=H.props)===null||n===void 0)&&n.href)});return delete ae.id,{menuItemProps:{...Y,...X(ae,M?{onFocus:W.onFocus}:W,Q,z,q,te),tabIndex:W.tabIndex!=null?-1:void 0},labelProps:{id:N},descriptionProps:{id:P},keyboardShortcutProps:{id:G},isFocused:J,isSelected:O,isPressed:re,isDisabled:K}}function uy(e){let{heading:t,"aria-label":r}=e,n=Oe();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}const ro=2,cy=50,dy=1e3,hu=Math.PI/12;function fy(e){let{menuRef:t,submenuRef:r,isOpen:n,isDisabled:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef(0),u=l.useRef(),c=l.useRef(),d=l.useRef(),f=l.useRef(2),[b,p]=l.useState(!1);Hi({ref:r,onResize:()=>{r.current&&(i.current=r.current.getBoundingClientRect(),d.current=void 0)}});let $=()=>{p(!1),f.current=ro},h=w$();l.useEffect(()=>{b&&t.current?t.current.style.pointerEvents="none":t.current.style.pointerEvents=""},[t,b]),l.useEffect(()=>{let x=r.current,C=t.current;if(o||!x||!n||h!=="pointer"){$();return}i.current=x.getBoundingClientRect();let E=A=>{if(A.pointerType==="touch"||A.pointerType==="pen")return;let M=Date.now();if(M-s.current<cy)return;clearTimeout(u.current),clearTimeout(c.current);let{clientX:R,clientY:K}=A;if(!a.current){a.current={x:R,y:K};return}if(!i.current)return;if(d.current||(d.current=R>i.current.right?"left":"right"),R<C.getBoundingClientRect().left||R>C.getBoundingClientRect().right||K<C.getBoundingClientRect().top||K>C.getBoundingClientRect().bottom){$();return}let m=a.current.x,O=a.current.y,F=d.current==="right"?i.current.left-m:m-i.current.right,T=Math.atan2(O-i.current.top,F)+hu,B=Math.atan2(O-i.current.bottom,F)-hu,S=Math.atan2(O-K,d.current==="left"?-(R-m):R-m),I=S<T&&S>B;f.current=I?Math.min(f.current+1,ro):Math.max(f.current-1,0),f.current>=ro?p(!0):p(!1),s.current=M,a.current={x:R,y:K},I&&(u.current=setTimeout(()=>{$(),c.current=setTimeout(()=>{let V=document.elementFromPoint(R,K);V&&C.contains(V)&&V.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},dy))};return window.addEventListener("pointermove",E),()=>{window.removeEventListener("pointermove",E),clearTimeout(u.current),clearTimeout(c.current),f.current=ro}},[o,n,t,h,p,r])}function py(e,t,r){let{parentMenuRef:n,submenuRef:o,type:a="menu",isDisabled:i,node:s,delay:u=200}=e,c=Oe(),d=Oe(),{direction:f}=Re(),b=l.useRef(),p=l.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=void 0)},[b]),g=Ee(m=>{p(),t.open(m)}),$=Ee(()=>{p(),t.close()});be(()=>()=>{p()},[p]);let h=m=>{switch(m.key){case"ArrowLeft":f==="ltr"&&m.currentTarget.contains(m.target)&&(m.stopPropagation(),$(),r.current.focus());break;case"ArrowRight":f==="rtl"&&m.currentTarget.contains(m.target)&&(m.stopPropagation(),$(),r.current.focus());break;case"Escape":m.stopPropagation(),t.closeAll();break}},x={id:d,"aria-label":s.textValue,submenuLevel:t.submenuLevel,...a==="menu"&&{onClose:t.closeAll,autoFocus:t.focusStrategy,onKeyDown:h}},C=m=>{switch(m.key){case"ArrowRight":i||(f==="ltr"?(t.isOpen||g("first"),a==="menu"&&(o!=null&&o.current)&&document.activeElement===(r==null?void 0:r.current)&&o.current.focus()):t.isOpen?$():m.continuePropagation());break;case"ArrowLeft":i||(f==="rtl"?(t.isOpen||g("first"),a==="menu"&&(o!=null&&o.current)&&document.activeElement===(r==null?void 0:r.current)&&o.current.focus()):t.isOpen?$():m.continuePropagation());break;case"Escape":t.closeAll();break;default:m.continuePropagation();break}},E=m=>{!i&&(m.pointerType==="virtual"||m.pointerType==="keyboard")&&g("first")},A=m=>{!i&&(m.pointerType==="touch"||m.pointerType==="mouse")&&g()},M=m=>{i||(m&&!t.isOpen?b.current||(b.current=setTimeout(()=>{g()},u)):m||p())},R=m=>{t.isOpen&&n.current.contains(m.relatedTarget)&&$()},K=m=>m!==r.current;return fy({menuRef:n,submenuRef:o,isOpen:t.isOpen,isDisabled:i}),{submenuTriggerProps:{id:c,"aria-controls":t.isOpen?d:void 0,"aria-haspopup":i?void 0:a,"aria-expanded":t.isOpen?"true":"false",onPressStart:E,onPress:A,onHoverChange:M,onKeyDown:C,onBlur:R,isOpen:t.isOpen},submenuProps:x,popoverProps:{isNonModal:!0,disableFocusManagement:!0,shouldCloseOnInteractOutside:K}}}function gl(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,type:i="text",validationBehavior:s="aria"}=e,[u,c]=ot(e.value,e.defaultValue||"",e.onChange),{focusableProps:d}=Fr(e,t),f=Br({...e,value:u}),{isInvalid:b,validationErrors:p,validationDetails:g}=f.displayValidation,{labelProps:$,fieldProps:h,descriptionProps:x,errorMessageProps:C}=lf({...e,isInvalid:b,errorMessage:e.errorMessage||p}),E=le(e,{labelable:!0});const A={type:i,pattern:e.pattern};return hn(t,u,c),dl(e,f,t),l.useEffect(()=>{if(t.current instanceof tt(t.current).HTMLTextAreaElement){let M=t.current;Object.defineProperty(M,"defaultValue",{get:()=>M.value,set:()=>{},configurable:!0})}},[t]),{labelProps:$,inputProps:X(E,r==="input"&&A,{disabled:n,readOnly:a,required:o&&s==="native","aria-required":o&&s==="aria"||void 0,"aria-invalid":b||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:u,onChange:M=>c(M.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...d,...h}),descriptionProps:x,errorMessageProps:C,isInvalid:b,validationErrors:p,validationDetails:g}}function xu(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function by(e,t,r){let n=Ee(f=>{let b=r.current,p;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":p=b.value.slice(0,b.selectionStart)+b.value.slice(b.selectionEnd);break;case"deleteContentForward":p=b.selectionEnd===b.selectionStart?b.value.slice(0,b.selectionStart)+b.value.slice(b.selectionEnd+1):b.value.slice(0,b.selectionStart)+b.value.slice(b.selectionEnd);break;case"deleteContentBackward":p=b.selectionEnd===b.selectionStart?b.value.slice(0,b.selectionStart-1)+b.value.slice(b.selectionStart):b.value.slice(0,b.selectionStart)+b.value.slice(b.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":p=b.value.slice(b.selectionStart);break;default:f.data!=null&&(p=b.value.slice(0,b.selectionStart)+f.data+b.value.slice(b.selectionEnd));break}(p==null||!t.validate(p))&&f.preventDefault()});l.useEffect(()=>{if(!xu())return;let f=r.current;return f.addEventListener("beforeinput",n,!1),()=>{f.removeEventListener("beforeinput",n,!1)}},[r,n]);let o=xu()?null:f=>{let b=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(b)||f.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:s,errorMessageProps:u,...c}=gl(e,r),d=l.useRef(null);return{inputProps:X(i,{onBeforeInput:o,onCompositionStart(){let{value:f,selectionStart:b,selectionEnd:p}=r.current;d.current={value:f,selectionStart:b,selectionEnd:p}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:f,selectionStart:b,selectionEnd:p}=d.current;r.current.value=f,r.current.setSelectionRange(b,p),t.setInputValue(f)}}}),labelProps:a,descriptionProps:s,errorMessageProps:u,...c}}function vy(e){return e&&e.__esModule?e.default:e}var k0={};k0={"ar-AE":uf,"bg-BG":cf,"cs-CZ":df,"da-DK":ff,"de-DE":pf,"el-GR":bf,"en-US":vf,"es-ES":gf,"et-EE":mf,"fi-FI":$f,"fr-FR":yf,"he-IL":hf,"hr-HR":xf,"hu-HU":wf,"it-IT":Cf,"ja-JP":Ef,"ko-KR":Df,"lt-LT":Pf,"lv-LV":Sf,"nb-NO":Tf,"nl-NL":kf,"pl-PL":Mf,"pt-BR":Af,"pt-PT":Ff,"ro-RO":Rf,"ru-RU":Bf,"sk-SK":If,"sl-SI":Lf,"sr-SP":Of,"sv-SE":Nf,"tr-TR":Kf,"uk-UA":Vf,"zh-CN":_f,"zh-TW":jf};function gy(e,t){let{buttonRef:r,popoverRef:n,inputRef:o,listBoxRef:a,keyboardDelegate:i,shouldFocusWrap:s,isReadOnly:u,isDisabled:c}=e,d=Rr(vy(k0),"@react-aria/combobox"),{menuTriggerProps:f,menuProps:b}=ly({type:"listbox",isDisabled:c||u},t,r);Xo.set(t,{id:b.id});let p=l.useMemo(()=>i||new bl(t.collection,t.disabledKeys,a),[i,t.collection,t.disabledKeys,a]),{collectionProps:g}=fl({selectionManager:t.selectionManager,keyboardDelegate:p,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:o,isVirtualized:!0}),$=yn(),h=z=>{switch(z.key){case"Enter":case"Tab":if(t.isOpen&&z.key==="Enter"&&z.preventDefault(),t.isOpen&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){if(z.key==="Enter"){let q=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);q instanceof HTMLAnchorElement&&$.open(q,z)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&z.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},x=z=>{var q;z.relatedTarget===(r==null?void 0:r.current)||!((q=n.current)===null||q===void 0)&&q.contains(z.relatedTarget)||(e.onBlur&&e.onBlur(z),t.setFocused(!1))},C=z=>{t.isFocused||(e.onFocus&&e.onFocus(z),t.setFocused(!0))},{isInvalid:E,validationErrors:A,validationDetails:M}=t.displayValidation,{labelProps:R,inputProps:K,descriptionProps:m,errorMessageProps:O}=gl({...e,onChange:t.setInputValue,onKeyDown:u?e.onKeyDown:Kt(t.isOpen&&g.onKeyDown,h,e.onKeyDown),onBlur:x,value:t.inputValue,onFocus:C,autoComplete:"off",validate:void 0,[vn]:t},o),F=z=>{z.pointerType==="touch"&&(o.current.focus(),t.toggle(null,"manual"))},T=z=>{z.pointerType!=="touch"&&(o.current.focus(),t.toggle(z.pointerType==="keyboard"||z.pointerType==="virtual"?"first":null,"manual"))},B=Xt({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||R.id}),S=Xt({id:b.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||R.id}),I=l.useRef(0),V=z=>{if(c||u)return;if(z.timeStamp-I.current<500){z.preventDefault(),o.current.focus();return}let q=z.target.getBoundingClientRect(),te=z.changedTouches[0],ae=Math.ceil(q.left+.5*q.width),ie=Math.ceil(q.top+.5*q.height);te.clientX===ae&&te.clientY===ie&&(z.preventDefault(),o.current.focus(),t.toggle(null,"manual"),I.current=z.timeStamp)},N=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var P;let G=(P=N==null?void 0:N.parentKey)!==null&&P!==void 0?P:null;var Y;let H=(Y=t.selectionManager.focusedKey)!==null&&Y!==void 0?Y:null,w=l.useRef(G),L=l.useRef(H);l.useEffect(()=>{if(ao()&&N!=null&&H!==L.current){let z=t.selectionManager.isSelected(H),q=G!=null?t.collection.getItem(G):null,te=(q==null?void 0:q["aria-label"])||(typeof(q==null?void 0:q.rendered)=="string"?q.rendered:"")||"",ae=d.format("focusAnnouncement",{isGroupChange:q&&G!==w.current,groupTitle:te,groupCount:q?[...Zo(q,t.collection)].length:0,optionText:N["aria-label"]||N.textValue||"",isSelected:z});co(ae)}w.current=G,L.current=H});let W=vl(t.collection),J=l.useRef(W),Q=l.useRef(t.isOpen);l.useEffect(()=>{let z=t.isOpen!==Q.current&&(t.selectionManager.focusedKey==null||ao());if(t.isOpen&&(z||W!==J.current)){let q=d.format("countAnnouncement",{optionCount:W});co(q)}J.current=W,Q.current=t.isOpen});let re=l.useRef(t.selectedKey);return l.useEffect(()=>{if(ao()&&t.isFocused&&t.selectedItem&&t.selectedKey!==re.current){let z=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",q=d.format("selectedAnnouncement",{optionText:z});co(q)}re.current=t.selectedKey}),l.useEffect(()=>{if(t.isOpen)return cl([o.current,n.current])},[t.isOpen,o,n]),{labelProps:R,buttonProps:{...f,...B,excludeFromTabOrder:!0,onPress:F,onPressStart:T,isDisabled:c||u},inputProps:X(K,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":N?Hf(t,N.key):void 0,onTouchEnd:V,autoCorrect:"off",spellCheck:"false"}),listBoxProps:X(b,S,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:m,errorMessageProps:O,isInvalid:E,validationErrors:A,validationDetails:M}}var M0={};M0={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var A0={};A0={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var F0={};F0={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var R0={};R0={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var B0={};B0={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var I0={};I0={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var L0={};L0={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var O0={};O0={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var N0={};N0={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var K0={};K0={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var V0={};V0={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var _0={};_0={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var j0={};j0={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var z0={};z0={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var U0={};U0={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var H0={};H0={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var G0={};G0={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var W0={};W0={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var Y0={};Y0={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var q0={};q0={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var Z0={};Z0={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var X0={};X0={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var J0={};J0={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Q0={};Q0={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var ep={};ep={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var tp={};tp={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var rp={};rp={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var np={};np={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var op={};op={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var ap={};ap={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var ip={};ip={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var lp={};lp={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var sp={};sp={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var up={};up={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var cp={};cp={Empty:"فارغ"};var dp={};dp={Empty:"Изпразни"};var fp={};fp={Empty:"Prázdné"};var pp={};pp={Empty:"Tom"};var bp={};bp={Empty:"Leer"};var vp={};vp={Empty:"Άδειο"};var gp={};gp={Empty:"Empty"};var mp={};mp={Empty:"Vacío"};var $p={};$p={Empty:"Tühjenda"};var yp={};yp={Empty:"Tyhjä"};var hp={};hp={Empty:"Vide"};var xp={};xp={Empty:"ריק"};var wp={};wp={Empty:"Prazno"};var Cp={};Cp={Empty:"Üres"};var Ep={};Ep={Empty:"Vuoto"};var Dp={};Dp={Empty:"空"};var Pp={};Pp={Empty:"비어 있음"};var Sp={};Sp={Empty:"Tuščias"};var Tp={};Tp={Empty:"Tukšs"};var kp={};kp={Empty:"Tom"};var Mp={};Mp={Empty:"Leeg"};var Ap={};Ap={Empty:"Pusty"};var Fp={};Fp={Empty:"Vazio"};var Rp={};Rp={Empty:"Vazio"};var Bp={};Bp={Empty:"Gol"};var Ip={};Ip={Empty:"Не заполнено"};var Lp={};Lp={Empty:"Prázdne"};var Op={};Op={Empty:"Prazen"};var Np={};Np={Empty:"Prazno"};var Kp={};Kp={Empty:"Tomt"};var Vp={};Vp={Empty:"Boş"};var _p={};_p={Empty:"Пусто"};var jp={};jp={Empty:"空"};var zp={};zp={Empty:"空白"};function my(e){return e&&e.__esModule?e.default:e}var Up={};Up={"ar-AE":cp,"bg-BG":dp,"cs-CZ":fp,"da-DK":pp,"de-DE":bp,"el-GR":vp,"en-US":gp,"es-ES":mp,"et-EE":$p,"fi-FI":yp,"fr-FR":hp,"he-IL":xp,"hr-HR":wp,"hu-HU":Cp,"it-IT":Ep,"ja-JP":Dp,"ko-KR":Pp,"lt-LT":Sp,"lv-LV":Tp,"nb-NO":kp,"nl-NL":Mp,"pl-PL":Ap,"pt-BR":Fp,"pt-PT":Rp,"ro-RO":Bp,"ru-RU":Ip,"sk-SK":Lp,"sl-SI":Op,"sr-SP":Np,"sv-SE":Kp,"tr-TR":Vp,"uk-UA":_p,"zh-CN":jp,"zh-TW":zp};function Hp(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:u,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:b,onDecrementToMin:p,onIncrementToMax:g}=e;const $=Rr(my(Up),"@react-aria/spinbutton"),h=()=>clearTimeout(t.current);l.useEffect(()=>()=>h(),[]);let x=T=>{if(!(T.ctrlKey||T.metaKey||T.shiftKey||T.altKey||s))switch(T.key){case"PageUp":if(d){T.preventDefault(),d==null||d();break}case"ArrowUp":case"Up":c&&(T.preventDefault(),c==null||c());break;case"PageDown":if(b){T.preventDefault(),b==null||b();break}case"ArrowDown":case"Down":f&&(T.preventDefault(),f==null||f());break;case"Home":p&&(T.preventDefault(),p==null||p());break;case"End":g&&(T.preventDefault(),g==null||g());break}},C=l.useRef(!1),E=()=>{C.current=!0},A=()=>{C.current=!1},M=n===""?$.format("Empty"):(n||`${r}`).replace("-","−");l.useEffect(()=>{C.current&&(K3("assertive"),co(M,"assertive"))},[M]);const R=Ee(T=>{h(),c==null||c(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r<a)&&R(60)},T)}),K=Ee(T=>{h(),f==null||f(),t.current=window.setTimeout(()=>{(o===void 0||isNaN(o)||r===void 0||isNaN(r)||r>o)&&K(60)},T)});let m=T=>{T.preventDefault()},{addGlobalListener:O,removeAllGlobalListeners:F}=Mr();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":M,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":s||void 0,"aria-required":u||void 0,onKeyDown:x,onFocus:E,onBlur:A},incrementButtonProps:{onPressStart:()=>{R(400),O(window,"contextmenu",m)},onPressEnd:()=>{h(),F()},onFocus:E,onBlur:A},decrementButtonProps:{onPressStart:()=>{K(400),O(window,"contextmenu",m)},onPressEnd:()=>{h(),F()},onFocus:E,onBlur:A}}}function Gp(e){return e&&e.__esModule?e.default:e}var ml={};ml={"ar-AE":M0,"bg-BG":A0,"cs-CZ":F0,"da-DK":R0,"de-DE":B0,"el-GR":I0,"en-US":L0,"es-ES":O0,"et-EE":N0,"fi-FI":K0,"fr-FR":V0,"he-IL":_0,"hr-HR":j0,"hu-HU":z0,"it-IT":U0,"ja-JP":H0,"ko-KR":G0,"lt-LT":W0,"lv-LV":Y0,"nb-NO":q0,"nl-NL":Z0,"pl-PL":X0,"pt-BR":J0,"pt-PT":Q0,"ro-RO":ep,"ru-RU":tp,"sk-SK":rp,"sl-SI":np,"sr-SP":op,"sv-SE":ap,"tr-TR":ip,"uk-UA":lp,"zh-CN":sp,"zh-TW":up};function $y(e,t,r){let{direction:n}=Re(),o=l.useMemo(()=>Pc(t),[t]),a=u=>{if(u.currentTarget.contains(u.target)&&(u.altKey&&(u.key==="ArrowDown"||u.key==="ArrowUp")&&"setOpen"in e&&(u.preventDefault(),u.stopPropagation(),e.setOpen(!0)),!r))switch(u.key){case"ArrowLeft":u.preventDefault(),u.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":u.preventDefault(),u.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var u;let c=(u=window.event)===null||u===void 0?void 0:u.target,d=je(t.current,{tabbable:!0});if(c&&(d.currentNode=c,c=d.previousNode()),!c){let f;do f=d.lastChild(),f&&(c=f);while(f)}for(;c!=null&&c.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))c=f;else break}c&&c.focus()},{pressProps:s}=Vt({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(u){u.pointerType==="mouse"&&i()},onPress(u){u.pointerType!=="mouse"&&i()}});return X(s,{onKeyDown:a})}const Wp=new WeakMap,za="__role_"+Date.now(),yy="__focusManager_"+Date.now();function $l(e,t,r){var n;let{isInvalid:o,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:s,fieldProps:u,descriptionProps:c,errorMessageProps:d}=lf({...e,labelElementType:"span",isInvalid:o,errorMessage:e.errorMessage||a}),f=l.useRef(null),{focusWithinProps:b}=Ar({...e,onFocusWithin(F){var T;f.current=t.value,(T=e.onFocus)===null||T===void 0||T.call(e,F)},onBlurWithin:F=>{var T;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(T=e.onBlur)===null||T===void 0||T.call(e,F)},onFocusWithinChange:e.onFocusChange}),p=Rr(Gp(ml),"@react-aria/datepicker"),g=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",$=t.maxGranularity==="hour"?"time":"date",h=t.value?p.format(g,{[$]:t.formatValue({month:"long"})}):"",x=dc(h),C=e[za]==="presentation"?u["aria-describedby"]:[x["aria-describedby"],u["aria-describedby"]].filter(Boolean).join(" ")||void 0,E=e[yy],A=l.useMemo(()=>E||Pc(r),[E,r]),M=$y(t,r,e[za]==="presentation");Wp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[s.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:C,focusManager:A});let R=l.useRef(e.autoFocus),K;e[za]==="presentation"?K={role:"presentation"}:K=X(u,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":C}),l.useEffect(()=>{R.current&&A.focusFirst(),R.current=!1},[A]),hn(e.inputRef,t.value,t.setValue),dl({...e,focus(){A.focusFirst()}},t,e.inputRef);let m={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||""};e.validationBehavior==="native"&&(m.type="text",m.hidden=!0,m.required=e.isRequired,m.onChange=()=>{});let O=le(e);return{labelProps:{...s,onClick:()=>{A.focusFirst()}},fieldProps:X(O,K,M,b,{onKeyDown(F){e.onKeyDown&&e.onKeyDown(F)},onKeyUp(F){e.onKeyUp&&e.onKeyUp(F)}}),inputProps:m,descriptionProps:c,errorMessageProps:d,isInvalid:o,validationErrors:a,validationDetails:i}}function hy(e,t,r){var n;let o=$l(e,t,r);return o.inputProps.value=((n=t.timeValue)===null||n===void 0?void 0:n.toString())||"",o}function xy(){let{locale:e}=Re(),t=ad(Gp(ml),"@react-aria/datepicker");return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new wy(e,t)}},[e,t])}class wy{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}function Cy(e,t,r){let n=l.useRef(""),{locale:o}=Re(),a=xy(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:u,focusManager:c}=Wp.get(t),d=e.isPlaceholder?"":e.text,f=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),b=Qn({month:"long",timeZone:f.timeZone}),p=Qn({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let P=b.format(t.dateValue);d=P!==d?`${d} – ${P}`:P}else e.type==="hour"&&!e.isPlaceholder&&(d=p.format(t.dateValue));let{spinButtonProps:g}=Hp({value:e.value,textValue:d,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),$=l.useMemo(()=>new ll(o,{maximumFractionDigits:0}),[o]),h=()=>{if($.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),G=$.parse(P);P.length===0||G===0?t.clearSegment(e.type):t.setSegment(e.type,G),n.current=P}else e.type==="dayPeriod"&&t.clearSegment(e.type)},x=P=>{if(P.key==="a"&&(St()?P.metaKey:P.ctrlKey)&&P.preventDefault(),!(P.ctrlKey||P.metaKey||P.shiftKey||P.altKey))switch(P.key){case"Backspace":case"Delete":P.preventDefault(),P.stopPropagation(),h();break}},{startsWith:C}=id({sensitivity:"base"}),E=Qn({hour:"numeric",hour12:!0}),A=l.useMemo(()=>{let P=new Date;return P.setHours(0),E.formatToParts(P).find(G=>G.type==="dayPeriod").value},[E]),M=l.useMemo(()=>{let P=new Date;return P.setHours(12),E.formatToParts(P).find(G=>G.type==="dayPeriod").value},[E]),R=Qn({year:"numeric",era:"narrow",timeZone:"UTC"}),K=l.useMemo(()=>{if(e.type!=="era")return[];let P=ze(new ke(1,1,1),t.calendar),G=t.calendar.getEras().map(H=>{let w=P.set({year:1,month:1,day:1,era:H}).toDate("UTC"),W=R.formatToParts(w).find(J=>J.type==="era").value;return{era:H,formatted:W}}),Y=Ey(G.map(H=>H.formatted));if(Y)for(let H of G)H.formatted=H.formatted.slice(Y);return G},[R,t.calendar,e.type]),m=P=>{if(t.isDisabled||t.isReadOnly)return;let G=n.current+P;switch(e.type){case"dayPeriod":if(C(A,P))t.setSegment("dayPeriod",0);else if(C(M,P))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let Y=K.find(H=>C(H.formatted,P));Y&&(t.setSegment("era",Y.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(G))return;let Y=$.parse(G),H=Y,w=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":Y>11&&(H=$.parse(P));break;case"h12":w=!1,Y>12&&(H=$.parse(P));break}e.value>=12&&Y>1&&(Y+=12)}else Y>e.maxValue&&(H=$.parse(P));if(isNaN(Y))return;let L=H!==0||w;L&&t.setSegment(e.type,H),+(Y+"0")>e.maxValue||G.length>=String(e.maxValue).length?(n.current="",L&&c.focusNext()):n.current=G;break}}},O=()=>{n.current="",ri(r.current,{containingElement:cn(r.current)}),window.getSelection().collapse(r.current)},F=l.useRef("");yo(r,"beforeinput",P=>{switch(P.preventDefault(),P.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&h();break;case"insertCompositionText":F.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:P.data!=null&&m(P.data);break}}),yo(r,"input",P=>{let{inputType:G,data:Y}=P;switch(G){case"insertCompositionText":r.current.textContent=F.current,(C(A,Y)||C(M,Y))&&m(Y);break}}),be(()=>{let P=r.current;return()=>{document.activeElement===P&&(c.focusPrevious()||c.focusNext())}},[r,c]);let T=kr()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},B=l.useMemo(()=>t.segments.find(P=>P.isEditable),[t.segments]);e!==B&&!t.isInvalid&&(u=void 0);let S=Oe(),I=!t.isDisabled&&!t.isReadOnly&&e.isEditable,V=e.type==="literal"?"":a.of(e.type),N=Xt({"aria-label":`${V}${i?`, ${i}`:""}${s?", ":""}`,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:X(g,N,{id:S,...T,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":u,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:I,suppressContentEditableWarning:I,spellCheck:I?"false":void 0,autoCapitalize:I?"off":void 0,autoCorrect:I?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:I?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!I?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:x,onFocus:O,style:{caretColor:"transparent"},onPointerDown(P){P.stopPropagation()},onMouseDown(P){P.stopPropagation()}})}}function Ey(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function Dy(e,t){let{role:r="dialog"}=e,n=Nt();n=e["aria-label"]?void 0:n;let o=l.useRef(!1);return l.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Qt(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(o.current=!0,t.current&&(t.current.blur(),Qt(t.current)),o.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),Yd(),{dialogProps:{...le(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{o.current&&a.stopPropagation()}},titleProps:{id:n}}}function Yp(e){let{value:t=0,minValue:r=0,maxValue:n=100,valueLabel:o,isIndeterminate:a,formatOptions:i={style:"percent"}}=e,s=le(e,{labelable:!0}),{labelProps:u,fieldProps:c}=Cn({...e,labelElementType:"span"});t=rt(t,r,n);let d=(t-r)/(n-r),f=Bo(i);if(!a&&!o){let b=i.style==="percent"?d:t;o=f.format(b)}return{progressBarProps:X(s,{...c,"aria-valuenow":a?void 0:t,"aria-valuemin":r,"aria-valuemax":n,"aria-valuetext":a?void 0:o,role:"progressbar"}),labelProps:u}}function Py(e){let{progressBarProps:t,labelProps:r}=Yp(e);return{meterProps:{...t,role:"meter progressbar"},labelProps:r}}var qp={};qp={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Zp={};Zp={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Xp={};Xp={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Jp={};Jp={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var Qp={};Qp={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var eb={};eb={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var tb={};tb={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var rb={};rb={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var nb={};nb={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var ob={};ob={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var ab={};ab={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var ib={};ib={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var lb={};lb={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var sb={};sb={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var ub={};ub={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var cb={};cb={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var db={};db={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var fb={};fb={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var pb={};pb={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var bb={};bb={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var vb={};vb={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var gb={};gb={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var mb={};mb={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var $b={};$b={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var yb={};yb={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var hb={};hb={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var xb={};xb={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var wb={};wb={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Cb={};Cb={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Eb={};Eb={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Db={};Db={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Pb={};Pb={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Sb={};Sb={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Tb={};Tb={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"};function Sy(e){return e&&e.__esModule?e.default:e}var kb={};kb={"ar-AE":qp,"bg-BG":Zp,"cs-CZ":Xp,"da-DK":Jp,"de-DE":Qp,"el-GR":eb,"en-US":tb,"es-ES":rb,"et-EE":nb,"fi-FI":ob,"fr-FR":ab,"he-IL":ib,"hr-HR":lb,"hu-HU":sb,"it-IT":ub,"ja-JP":cb,"ko-KR":db,"lt-LT":fb,"lv-LV":pb,"nb-NO":bb,"nl-NL":vb,"pl-PL":gb,"pt-BR":mb,"pt-PT":$b,"ro-RO":yb,"ru-RU":hb,"sk-SK":xb,"sl-SI":wb,"sr-SP":Cb,"sv-SE":Eb,"tr-TR":Db,"uk-UA":Pb,"zh-CN":Sb,"zh-TW":Tb};function Ty(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:u,minValue:c,maxValue:d,autoFocus:f,label:b,formatOptions:p,onBlur:g=()=>{},onFocus:$,onFocusChange:h,onKeyDown:x,onKeyUp:C,description:E,errorMessage:A,isWheelDisabled:M,...R}=e,{increment:K,incrementToMax:m,decrement:O,decrementToMin:F,numberValue:T,inputValue:B,commit:S,commitValidation:I}=t;const V=Rr(Sy(kb),"@react-aria/numberfield");let N=Oe(n),{focusProps:P}=jo({onBlur(){S()}}),G=Bo(p),Y=l.useMemo(()=>G.resolvedOptions(),[G]),H=Bo({...p,currencySign:void 0}),w=l.useMemo(()=>isNaN(T)?"":H.format(T),[H,T]),{spinButtonProps:L,incrementButtonProps:W,decrementButtonProps:J}=Hp({isDisabled:i,isReadOnly:s,isRequired:u,maxValue:d,minValue:c,onIncrement:K,onIncrementToMax:m,onDecrement:O,onDecrementToMin:F,value:T,textValue:w}),[Q,re]=l.useState(!1),{focusWithinProps:z}=Ar({isDisabled:i,onFocusWithinChange:re}),q=l.useCallback(Ie=>{Math.abs(Ie.deltaY)<=Math.abs(Ie.deltaX)||(Ie.deltaY>0?K():Ie.deltaY<0&&O())},[O,K]);S$({onScroll:q,isDisabled:M||i||s||!Q},r);let ae=Y.maximumFractionDigits>0,ie=t.minValue===void 0||isNaN(t.minValue)||t.minValue<0,Ae="numeric";sc()?ie?Ae="text":ae&&(Ae="decimal"):Ui()&&(ie?Ae="numeric":ae&&(Ae="decimal"));let Ne=Ie=>{t.validate(Ie)&&t.setInputValue(Ie)},dt=le(e),lr=l.useCallback(Ie=>{Ie.key==="Enter"?(S(),I()):Ie.continuePropagation()},[S,I]),{isInvalid:Rt,validationErrors:Bt,validationDetails:Nr}=t.displayValidation,{labelProps:se,inputProps:de,descriptionProps:ye,errorMessageProps:Fn}=by({...R,...dt,name:void 0,label:b,autoFocus:f,isDisabled:i,isReadOnly:s,isRequired:u,validate:void 0,[vn]:t,value:B,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:N,type:"text",inputMode:Ae,onChange:Ne,onBlur:g,onFocus:$,onFocusChange:h,onKeyDown:l.useMemo(()=>Kt(lr,x),[lr,x]),onKeyUp:C,description:E,errorMessage:A},t,r);hn(r,t.numberValue,t.setNumberValue);let Kr=X(L,P,de,{role:null,"aria-roledescription":kr()?null:V.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(Kr["aria-required"]=void 0);let Vr=Ie=>{var jr;document.activeElement!==r.current&&(Ie.pointerType==="mouse"?(jr=r.current)===null||jr===void 0||jr.focus():Ie.target.focus())},jt=e["aria-label"]||(typeof e.label=="string"?e.label:""),ft;jt||(ft=e.label!=null?se.id:e["aria-labelledby"]);let _r=Oe(),Rn=Oe(),sa=X(W,{"aria-label":a||V.format("increase",{fieldLabel:jt}).trim(),id:ft&&!a?_r:null,"aria-labelledby":ft&&!a?`${_r} ${ft}`:null,"aria-controls":N,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Vr}),ua=X(J,{"aria-label":o||V.format("decrease",{fieldLabel:jt}).trim(),id:ft&&!o?Rn:null,"aria-labelledby":ft&&!o?`${Rn} ${ft}`:null,"aria-controls":N,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Vr});return{groupProps:{...z,role:"group","aria-disabled":i,"aria-invalid":Rt?"true":void 0},labelProps:se,inputProps:Kr,incrementButtonProps:sa,decrementButtonProps:ua,errorMessageProps:Fn,descriptionProps:ye,isInvalid:Rt,validationErrors:Bt,validationDetails:Nr}}function Mb(e){let t=le(e,{labelable:!0}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}const yl=new WeakMap;function wi(e,t){let r=yl.get(e);if(!r)throw new Error("Unknown slider state");return`${r.id}-${t}`}function ky(e,t,r){let{labelProps:n,fieldProps:o}=Cn(e),a=e.orientation==="vertical";var i;yl.set(t,{id:(i=n.id)!==null&&i!==void 0?i:o.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:s}=Re(),{addGlobalListener:u,removeGlobalListener:c}=Mr();const d=l.useRef(null),f=s==="rtl",b=l.useRef(null),{moveProps:p}=wc({onMoveStart(){b.current=null},onMove({deltaX:x,deltaY:C}){let{height:E,width:A}=r.current.getBoundingClientRect(),M=a?E:A;b.current==null&&(b.current=t.getThumbPercent(d.current)*M);let R=a?C:x;if((a||f)&&(R=-R),b.current+=R,d.current!=null&&r.current){const K=rt(b.current/M,0,1);t.setThumbPercent(d.current,K)}},onMoveEnd(){d.current!=null&&(t.setThumbDragging(d.current,!1),d.current=null)}});let g=l.useRef(void 0),$=(x,C,E,A)=>{if(r.current&&!e.isDisabled&&t.values.every((M,R)=>!t.isThumbDragging(R))){let{height:M,width:R,top:K,left:m}=r.current.getBoundingClientRect(),O=a?M:R,S=((a?A:E)-(a?K:m))/O;(s==="rtl"||a)&&(S=1-S);let I=t.getPercentValue(S),V,N=t.values.findIndex(P=>I-P<0);if(N===0)V=N;else if(N===-1)V=t.values.length-1;else{let P=t.values[N-1],G=t.values[N];Math.abs(P-I)<Math.abs(G-I)?V=N-1:V=N}V>=0&&t.isThumbEditable(V)?(x.preventDefault(),d.current=V,t.setFocusedThumb(V),g.current=C,t.setThumbDragging(d.current,!0),t.setThumbValue(V,I),u(window,"mouseup",h,!1),u(window,"touchend",h,!1),u(window,"pointerup",h,!1)):d.current=null}},h=x=>{var C,E;((E=x.pointerId)!==null&&E!==void 0?E:(C=x.changedTouches)===null||C===void 0?void 0:C[0].identifier)===g.current&&(d.current!=null&&(t.setThumbDragging(d.current,!1),d.current=null),c(window,"mouseup",h,!1),c(window,"touchend",h,!1),c(window,"pointerup",h,!1))};return"htmlFor"in n&&n.htmlFor&&(delete n.htmlFor,n.onClick=()=>{var x;(x=document.getElementById(wi(t,0)))===null||x===void 0||x.focus(),hc("keyboard")}),{labelProps:n,groupProps:{role:"group",...o},trackProps:X({onMouseDown(x){x.button!==0||x.altKey||x.ctrlKey||x.metaKey||$(x,void 0,x.clientX,x.clientY)},onPointerDown(x){x.pointerType==="mouse"&&(x.button!==0||x.altKey||x.ctrlKey||x.metaKey)||$(x,x.pointerId,x.clientX,x.clientY)},onTouchStart(x){$(x,x.changedTouches[0].identifier,x.changedTouches[0].clientX,x.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},p),outputProps:{htmlFor:t.values.map((x,C)=>wi(t,C)).join(" "),"aria-live":"off"}}}function My(e,t){let{index:r=0,isRequired:n,validationState:o,isInvalid:a,trackRef:i,inputRef:s,orientation:u=t.orientation,name:c}=e,d=e.isDisabled||t.isDisabled,f=u==="vertical",{direction:b}=Re(),{addGlobalListener:p,removeGlobalListener:g}=Mr(),$=yl.get(t);var h;const{labelProps:x,fieldProps:C}=Cn({...e,id:wi(t,r),"aria-labelledby":`${$.id} ${(h=e["aria-labelledby"])!==null&&h!==void 0?h:""}`.trim()}),E=t.values[r],A=l.useCallback(()=>{s.current&>(s.current)},[s]),M=t.focusedThumb===r;l.useEffect(()=>{M&&A()},[M,A]);let R=b==="rtl",K=l.useRef(null),{keyboardProps:m}=Yi({onKeyDown(N){let{getThumbMaxValue:P,getThumbMinValue:G,decrementThumb:Y,incrementThumb:H,setThumbValue:w,setThumbDragging:L,pageSize:W}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(N.key)){N.continuePropagation();return}switch(N.preventDefault(),L(r,!0),N.key){case"PageUp":H(r,W);break;case"PageDown":Y(r,W);break;case"Home":w(r,G(r));break;case"End":w(r,P(r));break}L(r,!1)}}),{moveProps:O}=wc({onMoveStart(){K.current=null,t.setThumbDragging(r,!0)},onMove({deltaX:N,deltaY:P,pointerType:G,shiftKey:Y}){const{getThumbPercent:H,setThumbPercent:w,decrementThumb:L,incrementThumb:W,step:J,pageSize:Q}=t;let{width:re,height:z}=i.current.getBoundingClientRect(),q=f?z:re;if(K.current==null&&(K.current=H(r)*q),G==="keyboard")N>0&&R||N<0&&!R||P>0?L(r,Y?Q:J):W(r,Y?Q:J);else{let te=f?P:N;(f||R)&&(te=-te),K.current+=te,w(r,rt(K.current/q,0,1))}},onMoveEnd(){t.setThumbDragging(r,!1)}});t.setThumbEditable(r,!d);const{focusableProps:F}=Fr(X(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),s);let T=l.useRef(void 0),B=N=>{A(),T.current=N,t.setThumbDragging(r,!0),p(window,"mouseup",S,!1),p(window,"touchend",S,!1),p(window,"pointerup",S,!1)},S=N=>{var P,G;((G=N.pointerId)!==null&&G!==void 0?G:(P=N.changedTouches)===null||P===void 0?void 0:P[0].identifier)===T.current&&(A(),t.setThumbDragging(r,!1),g(window,"mouseup",S,!1),g(window,"touchend",S,!1),g(window,"pointerup",S,!1))},I=t.getThumbPercent(r);(f||b==="rtl")&&(I=1-I);let V=d?{}:X(m,O,{onMouseDown:N=>{N.button!==0||N.altKey||N.ctrlKey||N.metaKey||B()},onPointerDown:N=>{N.button!==0||N.altKey||N.ctrlKey||N.metaKey||B(N.pointerId)},onTouchStart:N=>{B(N.changedTouches[0].identifier)}});return hn(s,E,N=>{t.setThumbValue(r,N)}),{inputProps:X(F,C,{type:"range",tabIndex:d?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:E,name:c,disabled:d,"aria-orientation":u,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":n||void 0,"aria-invalid":a||o==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[$["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[$["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:N=>{t.setThumbValue(r,parseFloat(N.target.value))}}),thumbProps:{...V,style:{position:"absolute",[f?"top":"left"]:`${I*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:x,isDragging:t.isThumbDragging(r),isDisabled:d,isFocused:M}}function Ay(e,t,r){let{labelProps:n,inputProps:o,isSelected:a,isPressed:i,isDisabled:s,isReadOnly:u}=af(e,t,r);return{labelProps:n,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:i,isDisabled:s,isReadOnly:u}}const Ab=new WeakMap;function Lo(e,t,r){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Ab.get(e)}-${r}-${t}`}function Fy(e,t,r){var n;let{key:o,isDisabled:a,shouldSelectOnPressUp:i}=e,{selectionManager:s,selectedKey:u}=t,c=o===u,d=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:f,isPressed:b}=pl({selectionManager:s,key:o,ref:r,isDisabled:d,shouldSelectOnPressUp:i,linkBehavior:"selection"}),p=Lo(t,o,"tab"),g=Lo(t,o,"tabpanel"),{tabIndex:$}=f,h=t.collection.getItem(o),x=le(h==null?void 0:h.props,{isLink:!!(!(h==null||(n=h.props)===null||n===void 0)&&n.href),labelable:!0});return delete x.id,{tabProps:X(x,f,{id:p,"aria-selected":c,"aria-disabled":d||void 0,"aria-controls":c?g:void 0,tabIndex:d?void 0:$,role:"tab"}),isSelected:c,isDisabled:d,isPressed:b}}function Ry(e,t,r){let n=j$(r)?void 0:0;var o;const a=Lo(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),i=Xt({...e,id:a,"aria-labelledby":Lo(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:X(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class By{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,r,n,o=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=o}}function Iy(e,t,r){let{orientation:n="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:s}=t,{direction:u}=Re(),c=l.useMemo(()=>new By(a,u,n,s),[a,s,n,u]),{collectionProps:d}=fl({ref:r,selectionManager:i,keyboardDelegate:c,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Oe();Ab.set(t,f);let b=Xt({...e,id:f});return{tabListProps:{...X(d,b),role:"tablist","aria-orientation":n,tabIndex:void 0}}}function Ly(e,t){let r=le(e,{labelable:!0}),{hoverProps:n}=Me({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:X(r,n,{role:"tooltip"})}}function Oy(e,t,r){let{isDisabled:n,trigger:o}=e,a=Oe(),i=l.useRef(!1),s=l.useRef(!1),u=()=>{(i.current||s.current)&&t.open(s.current)},c=x=>{!i.current&&!s.current&&t.close(x)};l.useEffect(()=>{let x=C=>{r&&r.current&&C.key==="Escape"&&(C.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",x,!0),()=>{document.removeEventListener("keydown",x,!0)}},[r,t]);let d=()=>{o!=="focus"&&(wo()==="pointer"?i.current=!0:i.current=!1,u())},f=()=>{o!=="focus"&&(s.current=!1,i.current=!1,c())},b=()=>{s.current=!1,i.current=!1,c(!0)},p=()=>{Dr()&&(s.current=!0,u())},g=()=>{s.current=!1,i.current=!1,c(!0)},{hoverProps:$}=Me({isDisabled:n,onHoverStart:d,onHoverEnd:f}),{focusableProps:h}=Fr({isDisabled:n,onFocus:p,onBlur:g},r);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...X(h,$,{onPointerDown:b,onKeyDown:b})},tooltipProps:{id:a}}}class lt extends Set{constructor(t,r,n){super(t),t instanceof lt?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function Ny(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function Fb(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=l.useRef(!1),[,s]=l.useState(!1),u=l.useRef(null),c=l.useRef(null),[,d]=l.useState(null),f=l.useMemo(()=>wu(e.selectedKeys),[e.selectedKeys]),b=l.useMemo(()=>wu(e.defaultSelectedKeys,new lt),[e.defaultSelectedKeys]),[p,g]=ot(f,b,e.onSelectionChange),$=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[h,x]=l.useState(o);o==="replace"&&h==="toggle"&&typeof p=="object"&&p.size===0&&x("replace");let C=l.useRef(o);return l.useEffect(()=>{o!==C.current&&(x(o),C.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:h,setSelectionBehavior:x,get isFocused(){return i.current},setFocused(E){i.current=E,s(E)},get focusedKey(){return u.current},get childFocusStrategy(){return c.current},setFocusedKey(E,A="first"){u.current=E,c.current=A,d(E)},selectedKeys:p,setSelectedKeys(E){(n||!Ny(E,p))&&g(E)},disabledKeys:$,disabledBehavior:a}}function wu(e,t){return e?e==="all"?"all":new lt(e):t}class Rb{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&ja(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&ja(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new lt([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new lt(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?ja(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new lt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new lt([t],t,t):new lt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new lt;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r(ey(Zo(o,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new lt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}class Ci{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function Bb(e){let{filter:t}=e,r=Fb(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=l.useCallback(c=>t?new Ci(t(c)):new Ci(c),[t]),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Uf(e,o,a),s=l.useMemo(()=>new Rb(i,r),[i,r]);const u=l.useRef(null);return l.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const c=u.current.getItem(r.focusedKey),d=[...u.current.getKeys()].map($=>{const h=u.current.getItem($);return h.type==="item"?h:null}).filter($=>$!==null),f=[...i.getKeys()].map($=>{const h=i.getItem($);return h.type==="item"?h:null}).filter($=>$!==null),b=d.length-f.length;let p=Math.min(b>1?Math.max(c.index-b+1,0):c.index,f.length-1),g;for(;p>=0;){if(!s.isDisabled(f[p].key)){g=f[p];break}p<f.length-1?p++:(p>c.index&&(p=c.index),p--)}r.setFocusedKey(g?g.key:null)}u.current=i},[i,s,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:s}}function Ib(e){var t;let[r,n]=ot(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=l.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=Bb({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:c=>{var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),u=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:u}}function Jo(e){let[t,r]=ot(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=l.useCallback(()=>{r(!0)},[r]),o=l.useCallback(()=>{r(!1)},[r]),a=l.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:o,toggle:a}}function Ky(e){var t,r;let{defaultFilter:n,menuTrigger:o="input",allowsEmptyCollection:a=!1,allowsCustomValue:i,shouldCloseOnBlur:s=!0}=e,[u,c]=l.useState(!1),[d,f]=l.useState(!1),[b,p]=l.useState(null),g=se=>{e.onSelectionChange&&e.onSelectionChange(se),se===C&&(J(),w())};var $;let{collection:h,selectionManager:x,selectedKey:C,setSelectedKey:E,selectedItem:A,disabledKeys:M}=Ib({...e,onSelectionChange:g,items:($=e.items)!==null&&$!==void 0?$:e.defaultItems});var R,K;let[m,O]=ot(e.inputValue,(K=(R=e.defaultInputValue)!==null&&R!==void 0?R:(t=h.getItem(C))===null||t===void 0?void 0:t.textValue)!==null&&K!==void 0?K:"",e.onInputChange),F=h,T=l.useMemo(()=>e.items!=null||!n?h:Vy(h,m,n),[h,m,n,e.items]),[B,S]=l.useState(T),I=l.useRef("focus"),N=Jo({...e,onOpenChange:se=>{e.onOpenChange&&e.onOpenChange(se,se?I.current:void 0),x.setFocused(se),se||x.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),P=(se=null,de)=>{let ye=de==="manual"||de==="focus"&&o==="focus";(a||T.size>0||ye&&F.size>0||e.items)&&(ye&&!N.isOpen&&e.items===void 0&&c(!0),I.current=de,p(se),N.open())},G=(se=null,de)=>{let ye=de==="manual"||de==="focus"&&o==="focus";!(a||T.size>0||ye&&F.size>0||e.items)&&!N.isOpen||(ye&&!N.isOpen&&e.items===void 0&&c(!0),N.isOpen||(I.current=de),H(se))},Y=l.useCallback(()=>{S(u?F:T)},[u,F,T]),H=l.useCallback((se=null)=>{N.isOpen&&Y(),p(se),N.toggle()},[N,Y]),w=l.useCallback(()=>{N.isOpen&&(Y(),N.close())},[N,Y]),[L,W]=l.useState(m),J=()=>{var se,de;let ye=(de=(se=h.getItem(C))===null||se===void 0?void 0:se.textValue)!==null&&de!==void 0?de:"";W(ye),O(ye)};var Q,re;let z=l.useRef((re=(Q=e.selectedKey)!==null&&Q!==void 0?Q:e.defaultSelectedKey)!==null&&re!==void 0?re:null);var q;let te=l.useRef((q=(r=h.getItem(C))===null||r===void 0?void 0:r.textValue)!==null&&q!==void 0?q:"");l.useEffect(()=>{var se;d&&(T.size>0||a)&&!N.isOpen&&m!==L&&o!=="manual"&&P(null,"input"),!u&&!a&&N.isOpen&&T.size===0&&w(),C!=null&&C!==z.current&&w(),m!==L&&(x.setFocusedKey(null),c(!1),m===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&E(null)),C!==z.current&&(e.inputValue===void 0||e.selectedKey===void 0)?J():L!==m&&W(m);var de;let ye=(de=(se=h.getItem(C))===null||se===void 0?void 0:se.textValue)!==null&&de!==void 0?de:"";!d&&C!=null&&e.inputValue===void 0&&C===z.current&&te.current!==ye&&(W(ye),O(ye)),z.current=C,te.current=ye});let ae=Br({...e,value:l.useMemo(()=>({inputValue:m,selectedKey:C}),[m,C])}),ie=()=>{i&&C==null?Ae():Ne()},Ae=()=>{z.current=null,E(null),w()},Ne=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var se;e.onSelectionChange(C);var de;let ye=(de=(se=h.getItem(C))===null||se===void 0?void 0:se.textValue)!==null&&de!==void 0?de:"";W(ye),w()}else J(),w()};const dt=()=>{if(i){var se,de;const ye=(de=(se=h.getItem(C))===null||se===void 0?void 0:se.textValue)!==null&&de!==void 0?de:"";m===ye?Ne():Ae()}else Ne()};let lr=()=>{N.isOpen&&x.focusedKey!=null?C===x.focusedKey?Ne():E(x.focusedKey):dt()},Rt=l.useRef(m),Bt=se=>{se?(Rt.current=m,o==="focus"&&P(null,"focus")):(s&&dt(),m!==Rt.current&&ae.commitValidation()),f(se)},Nr=l.useMemo(()=>N.isOpen?u?F:T:B,[N.isOpen,F,T,u,B]);return{...ae,...N,focusStrategy:b,toggle:G,open:P,close:dt,selectionManager:x,selectedKey:C,setSelectedKey:E,disabledKeys:M,isFocused:d,setFocused:Bt,selectedItem:A,collection:Nr,inputValue:m,setInputValue:O,commit:lr,revert:ie}}function Vy(e,t,r){return new Ci(Lb(e,e,t,r))}function Lb(e,t,r,n){let o=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=Lb(e,Zo(a,e),r,n);[...i].some(s=>s.type==="item")&&o.push({...a,childNodes:i})}else a.type==="item"&&n(a.textValue,r)?o.push({...a}):a.type!=="item"&&o.push({...a});return o}var Ob={};Ob={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var Nb={};Nb={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var Kb={};Kb={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var Vb={};Vb={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var _b={};_b={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var jb={};jb={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var zb={};zb={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var Ub={};Ub={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var Hb={};Hb={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var Gb={};Gb={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var Wb={};Wb={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Yb={};Yb={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var qb={};qb={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Zb={};Zb={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Xb={};Xb={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Jb={};Jb={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Qb={};Qb={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var ev={};ev={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var tv={};tv={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var rv={};rv={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var nv={};nv={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var ov={};ov={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var av={};av={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var iv={};iv={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var lv={};lv={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var sv={};sv={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var uv={};uv={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var cv={};cv={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var dv={};dv={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var fv={};fv={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var pv={};pv={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var bv={};bv={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var vv={};vv={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var gv={};gv={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};function _y(e){return e&&e.__esModule?e.default:e}var mv={};mv={"ar-AE":Ob,"bg-BG":Nb,"cs-CZ":Kb,"da-DK":Vb,"de-DE":_b,"el-GR":jb,"en-US":zb,"es-ES":Ub,"et-EE":Hb,"fi-FI":Gb,"fr-FR":Wb,"he-IL":Yb,"hr-HR":qb,"hu-HU":Zb,"it-IT":Xb,"ja-JP":Jb,"ko-KR":Qb,"lt-LT":ev,"lv-LV":tv,"nb-NO":rv,"nl-NL":nv,"pl-PL":ov,"pt-BR":av,"pt-PT":iv,"ro-RO":lv,"ru-RU":sv,"sk-SK":uv,"sl-SI":cv,"sr-SP":dv,"sv-SE":fv,"tr-TR":pv,"uk-UA":bv,"zh-CN":vv,"zh-TW":gv};const jy=new nr(_y(mv));function zy(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Uy(e,t,r,n,o){let a=e!=null&&r!=null&&e.compare(r)>0,i=e!=null&&t!=null&&e.compare(t)<0,s=e!=null&&(n==null?void 0:n(e))||!1,u=a||i||s,c=[];if(u){let d=zy(),f=nr.getGlobalDictionaryForPackage("@react-stately/datepicker")||jy,b=new Tc(d,f),p=new ln(d,Ei({},o)),g=p.resolvedOptions().timeZone;i&&c.push(b.format("rangeUnderflow",{minValue:p.format(t.toDate(g))})),a&&c.push(b.format("rangeOverflow",{maxValue:p.format(r.toDate(g))})),s&&c.push(b.format("unavailableDate"))}return{isInvalid:u,validationErrors:c,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!u}}}const Hy={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Gy={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Ei(e,t){e={...t.shouldForceLeadingZeros?Gy:Hy,...e};let n=t.granularity||"minute",o=Object.keys(e);var a;let i=o.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");i<0&&(i=0);let s=o.indexOf(n);if(s<0&&(s=2),i>s)throw new Error("maxGranularity must be greater than granularity");let u=o.slice(i,s+1).reduce((d,f)=>(d[f]=e[f],d),{});return t.hourCycle!=null&&(u.hour12=t.hourCycle===12),u.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(u.timeZoneName="short"),t.showEra&&i===0&&(u.era="short"),u}function $v(e,t){if(e===null)return null;if(e)return ze(e,t)}function Xr(e,t,r,n){if(e)return $v(e,r);let o=ze(Mc(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Lc(o):n?o:_t(o)}function Wy(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[o,a]=l.useState([n,r]);e&&(o[0]!==n||o[1]!==r)&&a([n,r]),t||(t=e?n:o[0]);let i=e?r:o[1];return[t,i]}const Yy=new nr({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function qy(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Yy.getStringForLocale(e,r):"––"}const no={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Cu={year:5,month:2,day:7,hour:2,minute:15,second:15},Zy={dayperiod:"dayPeriod"};function hl(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i,minValue:s,maxValue:u,isDateUnavailable:c}=e,d=e.value||e.defaultValue||e.placeholderValue,[f,b]=Wy(d,e.granularity),p=b||"UTC";if(d&&!(f in d))throw new Error("Invalid granularity "+f+" for value "+d.toString());let g=l.useMemo(()=>new ln(t),[t]),$=l.useMemo(()=>r(g.resolvedOptions().calendar),[r,g]),[h,x]=ot(e.value,e.defaultValue,e.onChange),C=l.useMemo(()=>$v(h,$),[h,$]),[E,A]=l.useState(()=>Xr(e.placeholderValue,f,$,b)),M=C||E,R=$.identifier==="gregory"&&M.era==="BC",K=l.useMemo(()=>{var z;return{granularity:f,maxGranularity:(z=e.maxGranularity)!==null&&z!==void 0?z:"year",timeZone:b,hideTimeZone:n,hourCycle:e.hourCycle,showEra:R,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,b,n,R]),m=l.useMemo(()=>Ei({},K),[K]),O=l.useMemo(()=>new ln(t,m),[t,m]),F=l.useMemo(()=>O.resolvedOptions(),[O]),T=l.useMemo(()=>O.formatToParts(new Date).filter(z=>no[z.type]).reduce((z,q)=>(z[q.type]=!0,z),{}),[O]),[B,S]=l.useState(()=>e.value||e.defaultValue?{...T}:{}),I=l.useRef(),V=l.useRef($.identifier);l.useEffect(()=>{$.identifier!==V.current&&(V.current=$.identifier,A(z=>Object.keys(B).length>0?ze(z,$):Xr(e.placeholderValue,f,$,b)))},[$,f,B,b,e.placeholderValue]),h&&Object.keys(B).length<Object.keys(T).length&&(B={...T},S(B)),h==null&&Object.keys(B).length===Object.keys(T).length&&(B={},S(B),A(Xr(e.placeholderValue,f,$,b)));let N=C&&Object.keys(B).length>=Object.keys(T).length?C:E,P=z=>{if(e.isDisabled||e.isReadOnly)return;let q=Object.keys(B),te=Object.keys(T);z==null?(x(null),A(Xr(e.placeholderValue,f,$,b)),S({})):q.length>=te.length||q.length===te.length-1&&T.dayPeriod&&!B.dayPeriod&&I.current!=="dayPeriod"?(z=ze(z,(d==null?void 0:d.calendar)||new Ye),x(z)):A(z),I.current=null},G=l.useMemo(()=>N.toDate(p),[N,p]),Y=l.useMemo(()=>O.formatToParts(G).map(z=>{let q=no[z.type];z.type==="era"&&$.getEras().length===1&&(q=!1);let te=no[z.type]&&!B[z.type],ae=no[z.type]?qy(z.type,z.value,t):null;return{type:Zy[z.type]||z.type,text:te?ae:z.value,...Xy(N,z.type,F),isPlaceholder:te,placeholder:ae,isEditable:q}}),[G,B,O,F,N,$,t]);T.era&&B.year&&!B.era?(B.era=!0,S({...B})):!T.era&&B.era&&(delete B.era,S({...B}));let H=z=>{B[z]=!0,z==="year"&&T.era&&(B.era=!0),S({...B})},w=(z,q)=>{if(B[z])P(Jy(N,z,q,F));else{H(z);let te=Object.keys(B),ae=Object.keys(T);(te.length>=ae.length||te.length===ae.length-1&&T.dayPeriod&&!B.dayPeriod)&&P(N)}},L=l.useMemo(()=>Uy(h,s,u,c,K),[h,s,u,c,K]),W=Br({...e,value:h,builtinValidation:L}),J=W.displayValidation.isInvalid,Q=e.validationState||(J?"invalid":null);var re;return{...W,value:C,dateValue:G,calendar:$,setValue:P,segments:Y,dateFormatter:O,validationState:Q,isInvalid:J,granularity:f,maxGranularity:(re=e.maxGranularity)!==null&&re!==void 0?re:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(z){w(z,1)},decrement(z){w(z,-1)},incrementPage(z){w(z,Cu[z]||1)},decrementPage(z){w(z,-(Cu[z]||1))},setSegment(z,q){H(z),P(Qy(N,z,q,F))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let z=Object.keys(B),q=Object.keys(T);z.length===q.length-1&&T.dayPeriod&&!B.dayPeriod&&(B={...T},S(B),P(N.copy()))},clearSegment(z){delete B[z],I.current=z,S({...B});let q=Xr(e.placeholderValue,f,$,b),te=N;if(z==="dayPeriod"&&"hour"in N&&"hour"in q){let ae=N.hour>=12,ie=q.hour>=12;ae&&!ie?te=N.set({hour:N.hour-12}):!ae&&ie&&(te=N.set({hour:N.hour+12}))}else z in N&&(te=N.set({[z]:q[z]}));x(null),P(te)},formatValue(z){if(!C)return"";let q=Ei(z,K);return new ln(t,q).format(G)}}}function Xy(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:X$(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:J$(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(r.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function Jy(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function Qy(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function eh(e){let{placeholderValue:t=new Go,minValue:r,maxValue:n,granularity:o,validate:a}=e,[i,s]=ot(e.value,e.defaultValue,e.onChange),u=i||t,c=u&&"day"in u?u:void 0,d=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,f=l.useMemo(()=>{let C=u&&"timeZone"in u?u.timeZone:void 0;return(C||d)&&t?Oc(Jr(t),C||d):Jr(t)},[t,u,d]),b=l.useMemo(()=>Jr(r,c),[r,c]),p=l.useMemo(()=>Jr(n,c),[n,c]),g=l.useMemo(()=>i&&"day"in i?Ks(i):i,[i]),$=l.useMemo(()=>i==null?null:Jr(i),[i]);return{...hl({...e,value:$,defaultValue:void 0,minValue:b,maxValue:p,onChange:C=>{s(c||d?C:C&&Ks(C))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:f,createCalendar:()=>new Ye,validate:l.useCallback(()=>a==null?void 0:a(i),[a,i])}),timeValue:g}}function Jr(e,t=Z$(Ji())){return e?"day"in e?e:_t(t,e):null}function th(e,t){let{triggerKey:r}=e,{UNSTABLE_expandedKeysStack:n,UNSTABLE_openSubmenu:o,UNSTABLE_closeSubmenu:a,close:i}=t,[s]=l.useState(n==null?void 0:n.length),u=l.useMemo(()=>n[s]===r,[n,r,s]),[c,d]=l.useState(null),f=l.useCallback((g=null)=>{d(g),o(r,s)},[o,s,r]),b=l.useCallback(()=>{d(null),a(r,s)},[a,s,r]),p=l.useCallback((g=null)=>{d(g),u?b():f(g)},[b,f,u]);return l.useMemo(()=>({focusStrategy:c,isOpen:u,open:f,close:b,closeAll:i,submenuLevel:s,setOpen:()=>{},toggle:p}),[u,f,b,i,c,p,s])}function rh(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i=NaN,onChange:s,locale:u,isDisabled:c,isReadOnly:d}=e;a===null&&(a=NaN),a!==void 0&&!isNaN(a)&&(n!==void 0&&!isNaN(n)?a=He(a,t,r,n):a=rt(a,t,r)),isNaN(i)||(n!==void 0&&!isNaN(n)?i=He(i,t,r,n):i=rt(i,t,r));let[f,b]=ot(a,isNaN(i)?NaN:i,s),[p,g]=l.useState(()=>isNaN(f)?"":new Ro(u,o).format(f)),$=l.useMemo(()=>new ll(u,o),[u,o]),h=l.useMemo(()=>$.getNumberingSystem(p),[$,p]),x=l.useMemo(()=>new Ro(u,{...o,numberingSystem:h}),[u,o,h]),C=l.useMemo(()=>x.resolvedOptions(),[x]),E=l.useCallback(L=>isNaN(L)||L===null?"":x.format(L),[x]),A=Br({...e,value:f}),M=n!==void 0&&!isNaN(n)?n:1;C.style==="percent"&&(n===void 0||isNaN(n))&&(M=.01);let[R,K]=l.useState(f),[m,O]=l.useState(u),[F,T]=l.useState(o);(!Object.is(f,R)||u!==m||o!==F)&&(g(E(f)),K(f),O(u),T(o));let B=l.useMemo(()=>$.parse(p),[$,p]),S=()=>{if(!p.length){b(NaN),g(a===void 0?"":E(f));return}if(isNaN(B)){g(E(f));return}let L;n===void 0||isNaN(n)?L=rt(B,t,r):L=He(B,t,r,n),L=$.parse(E(L)),b(L),g(E(a===void 0?L:f))},I=(L,W=0)=>{let J=B;if(isNaN(J)){let Q=isNaN(W)?0:W;return He(Q,t,r,M)}else{let Q=He(J,t,r,M);return L==="+"&&Q>J||L==="-"&&Q<J?Q:He(Ua(L,J,M),t,r,M)}},V=()=>{let L=I("+",t);L===f&&g(E(L)),b(L),A.commitValidation()},N=()=>{let L=I("-",r);L===f&&g(E(L)),b(L),A.commitValidation()},P=()=>{r!=null&&(b(He(r,t,r,M)),A.commitValidation())},G=()=>{t!=null&&(b(t),A.commitValidation())},Y=l.useMemo(()=>!c&&!d&&(isNaN(B)||r===void 0||isNaN(r)||He(B,t,r,M)>B||Ua("+",B,M)<=r),[c,d,t,r,M,B]),H=l.useMemo(()=>!c&&!d&&(isNaN(B)||t===void 0||isNaN(t)||He(B,t,r,M)<B||Ua("-",B,M)>=t),[c,d,t,r,M,B]);return{...A,validate:L=>$.isValidPartialNumber(L,t,r),increment:V,incrementToMax:P,decrement:N,decrementToMin:G,canIncrement:Y,canDecrement:H,minValue:t,maxValue:r,numberValue:B,setNumberValue:b,setInputValue:g,inputValue:p,commit:S}}function Ua(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),a=r.toString().split("."),i=o[1]&&o[1].length||0,s=a[1]&&a[1].length||0,u=Math.pow(10,Math.max(i,s));t=Math.round(t*u),r=Math.round(r*u),n=e==="+"?t+r:t-r,n/=u}return n}const nh=0,oh=100,ah=1;function ih(e){const{isDisabled:t=!1,minValue:r=nh,maxValue:n=oh,numberFormatter:o,step:a=ah,orientation:i="horizontal"}=e;let s=l.useMemo(()=>{let w=(n-r)/10;return w=He(w,0,w+a,a),Math.max(w,a)},[a,n,r]),u=l.useCallback(w=>w==null?void 0:w.map((L,W)=>{let J=W===0?r:L[W-1],Q=W===w.length-1?n:L[W+1];return He(L,J,Q,a)}),[r,n,a]),c=l.useMemo(()=>u(Du(e.value)),[e.value]),d=l.useMemo(()=>{var w;return u((w=Du(e.defaultValue))!==null&&w!==void 0?w:[r])},[e.defaultValue,r]),f=Pu(e.value,e.defaultValue,e.onChange),b=Pu(e.value,e.defaultValue,e.onChangeEnd);const[p,g]=ot(c,d,f),[$,h]=l.useState(new Array(p.length).fill(!1)),x=l.useRef(new Array(p.length).fill(!0)),[C,E]=l.useState(void 0),A=l.useRef(p),M=l.useRef($);let R=w=>{A.current=w,g(w)},K=w=>{M.current=w,h(w)};function m(w){return(w-r)/(n-r)}function O(w){return w===0?r:p[w-1]}function F(w){return w===p.length-1?n:p[w+1]}function T(w){return x.current[w]}function B(w,L){x.current[w]=L}function S(w,L){if(t||!T(w))return;const W=O(w),J=F(w);L=He(L,W,J,a);let Q=Eu(A.current,w,L);R(Q)}function I(w,L){if(t||!T(w))return;L&&(A.current=p);const W=M.current[w];M.current=Eu(M.current,w,L),K(M.current),b&&W&&!M.current.some(Boolean)&&b(A.current)}function V(w){return o.format(w)}function N(w,L){S(w,G(L))}function P(w){return Math.round((w-r)/a)*a+r}function G(w){const L=w*(n-r)+r;return rt(P(L),r,n)}function Y(w,L=1){let W=Math.max(L,a);S(w,He(p[w]+W,r,n,a))}function H(w,L=1){let W=Math.max(L,a);S(w,He(p[w]-W,r,n,a))}return{values:p,getThumbValue:w=>p[w],setThumbValue:S,setThumbPercent:N,isThumbDragging:w=>$[w],setThumbDragging:I,focusedThumb:C,setFocusedThumb:E,getThumbPercent:w=>m(p[w]),getValuePercent:m,getThumbValueLabel:w=>V(p[w]),getFormattedValue:V,getThumbMinValue:O,getThumbMaxValue:F,getPercentValue:G,isThumbEditable:T,setThumbEditable:B,incrementThumb:Y,decrementThumb:H,step:a,pageSize:s,orientation:i,isDisabled:t}}function Eu(e,t,r){return e[t]===r?e:[...e.slice(0,t),r,...e.slice(t+1)]}function Du(e){if(e!=null)return Array.isArray(e)?e:[e]}function Pu(e,t,r){return n=>{typeof e=="number"||typeof t=="number"?r==null||r(n[0]):r==null||r(n)}}function lh(e){var t;let r=Ib({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:Su(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:n,collection:o,selectedKey:a}=r,i=l.useRef(a);return l.useEffect(()=>{let s=a;(n.isEmpty||!o.getItem(s))&&(s=Su(o,r.disabledKeys),s!=null&&n.setSelectedKeys([s])),(s!=null&&n.focusedKey==null||!n.isFocused&&s!==i.current)&&n.setFocusedKey(s),i.current=s}),{...r,isDisabled:e.isDisabled||!1}}function Su(e,t){let r=null;if(e){for(r=e.getFirstKey();t.has(r)&&r!==e.getLastKey();)r=e.getKeyAfter(r);t.has(r)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}const sh=1500,Tu=500;let zt={},uh=0,Qr=!1,xt=null,Ut=null;function ch(e={}){let{delay:t=sh,closeDelay:r=Tu}=e,{isOpen:n,open:o,close:a}=Jo(e),i=l.useMemo(()=>`${++uh}`,[]),s=l.useRef(),u=()=>{zt[i]=f},c=()=>{for(let p in zt)p!==i&&(zt[p](!0),delete zt[p])},d=()=>{clearTimeout(s.current),s.current=null,c(),u(),Qr=!0,o(),xt&&(clearTimeout(xt),xt=null),Ut&&(clearTimeout(Ut),Ut=null)},f=p=>{p||r<=0?(clearTimeout(s.current),s.current=null,a()):s.current||(s.current=setTimeout(()=>{s.current=null,a()},r)),xt&&(clearTimeout(xt),xt=null),Qr&&(Ut&&clearTimeout(Ut),Ut=setTimeout(()=>{delete zt[i],Ut=null,Qr=!1},Math.max(Tu,r)))},b=()=>{c(),u(),!n&&!xt&&!Qr?xt=setTimeout(()=>{xt=null,Qr=!0,d()},t):n||d()};return l.useEffect(()=>()=>{clearTimeout(s.current),zt[i]&&delete zt[i]},[i]),{isOpen:n,open:p=>{!p&&t>0&&!s.current?b():d()},close:f}}class dh{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.iterable=t,r=r||new Set;let n=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&(i.type==="section"||r.has(i.key)))for(let s of i.childNodes)n(s)};for(let i of t)n(i);let o,a=0;for(let[i,s]of this.keyMap)o?(o.nextKey=i,s.prevKey=o.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=a++),o=s,o.nextKey=void 0;this.lastKey=o==null?void 0:o.key}}function fh(e){let[t,r]=ot(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),n=Fb(e),o=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=Uf(e,l.useCallback(s=>new dh(s,{expandedKeys:t}),[t]),null);return l.useEffect(()=>{n.focusedKey!=null&&!a.getItem(n.focusedKey)&&n.setFocusedKey(null)},[a,n.focusedKey]),{collection:a,expandedKeys:t,disabledKeys:o,toggleKey:s=>{r(ph(t,s))},setExpandedKeys:r,selectionManager:new Rb(a,n)}}function ph(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Di={exports:{}},Ha={};/**
|
|
156
|
-
* @license React
|
|
157
|
-
* use-sync-external-store-shim.production.min.js
|
|
158
|
-
*
|
|
159
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
160
|
-
*
|
|
161
|
-
* This source code is licensed under the MIT license found in the
|
|
162
|
-
* LICENSE file in the root directory of this source tree.
|
|
163
|
-
*/var ku;function bh(){if(ku)return Ha;ku=1;var e=l;function t(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function s(f,b){var p=b(),g=n({inst:{value:p,getSnapshot:b}}),$=g[0].inst,h=g[1];return a(function(){$.value=p,$.getSnapshot=b,u($)&&h({inst:$})},[f,p,b]),o(function(){return u($)&&h({inst:$}),f(function(){u($)&&h({inst:$})})},[f]),i(p),p}function u(f){var b=f.getSnapshot;f=f.value;try{var p=b();return!r(f,p)}catch{return!0}}function c(f,b){return b()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:s;return Ha.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,Ha}var Ga={};/**
|
|
164
|
-
* @license React
|
|
165
|
-
* use-sync-external-store-shim.development.js
|
|
166
|
-
*
|
|
167
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
168
|
-
*
|
|
169
|
-
* This source code is licensed under the MIT license found in the
|
|
170
|
-
* LICENSE file in the root directory of this source tree.
|
|
171
|
-
*/var Mu;function vh(){return Mu||(Mu=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=l,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(E){{for(var A=arguments.length,M=new Array(A>1?A-1:0),R=1;R<A;R++)M[R-1]=arguments[R];n("error",E,M)}}function n(E,A,M){{var R=t.ReactDebugCurrentFrame,K=R.getStackAddendum();K!==""&&(A+="%s",M=M.concat([K]));var m=M.map(function(O){return String(O)});m.unshift("Warning: "+A),Function.prototype.apply.call(console[E],console,m)}}function o(E,A){return E===A&&(E!==0||1/E===1/A)||E!==E&&A!==A}var a=typeof Object.is=="function"?Object.is:o,i=e.useState,s=e.useEffect,u=e.useLayoutEffect,c=e.useDebugValue,d=!1,f=!1;function b(E,A,M){d||e.startTransition!==void 0&&(d=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var R=A();if(!f){var K=A();a(R,K)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var m=i({inst:{value:R,getSnapshot:A}}),O=m[0].inst,F=m[1];return u(function(){O.value=R,O.getSnapshot=A,p(O)&&F({inst:O})},[E,R,A]),s(function(){p(O)&&F({inst:O});var T=function(){p(O)&&F({inst:O})};return E(T)},[E]),c(R),R}function p(E){var A=E.getSnapshot,M=E.value;try{var R=A();return!a(M,R)}catch{return!0}}function g(E,A,M){return A()}var $=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",h=!$,x=h?g:b,C=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:x;Ga.useSyncExternalStore=C,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ga}process.env.NODE_ENV==="production"?Di.exports=bh():Di.exports=vh();var gh=Di.exports;class xl{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new xl(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t}constructor(t,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.type=t,this.key=r}}class yv{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode;let n=r;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this)return;this.ownerDocument.startTransaction();let r=t.nextSibling;for(;r;)r.index--,r=r.nextSibling;t.nextSibling&&(t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class gn extends yv{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof gn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,o;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof gn?this.parentNode.node.key:null;var i;a.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var s;a.nextKey=(s=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&s!==void 0?s:null,a.hasChildNodes=!!this.firstChild;var u;a.firstChildKey=(u=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&u!==void 0?u:null;var c;a.lastChildKey=(c=(o=this.lastChild)===null||o===void 0?void 0:o.node.key)!==null&&c!==void 0?c:null}setProps(t,r,n){let o=this.ownerDocument.getMutableNode(this),{value:a,textValue:i,id:s,...u}=t;if(u.ref=r,o.props=u,o.rendered=n,o.value=a,o.textValue=i||(typeof n=="string"?n:"")||t["aria-label"]||"",s!=null&&s!==o.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");o.key=s}this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,r){super(r),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new xl(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class mh{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),o=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?r.get(o.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n:null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var r;return(r=t==null?void 0:t.key)!==null&&r!==void 0?r:null}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}class $h extends yv{get isConnected(){return!0}createElement(t){return new gn(t,this)}getMutableNode(t){let r=t.node;return this.mutatedNodes.has(t)||(r=t.node.clone(),this.mutatedNodes.add(t),t.node=r),this.markDirty(t),r}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let r=this.getMutableCollection();if(!r.getItem(t.node.key)){r.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof gn&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let a=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&a.addNode(i.node);var n,o;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(o=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&o!==void 0?o:null,this.isSSR),this.mutatedNodes.clear()}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function Ir(e){let{children:t,items:r,idScope:n,addIdAndValue:o,dependencies:a=[]}=e,i=l.useMemo(()=>new WeakMap,a);return l.useMemo(()=>{if(r&&typeof t=="function"){let c=[];for(let d of r){let f=i.get(d);if(!f){f=t(d);var s,u;let b=(u=(s=f.props.id)!==null&&s!==void 0?s:d.key)!==null&&u!==void 0?u:d.id;if(b==null)throw new Error("Could not determine key for item");n&&(b=n+":"+b),f=l.cloneElement(f,o?{key:b,id:b,value:d}:{key:b}),i.set(d,f)}c.push(f)}return c}else if(typeof t!="function")return t},[t,r,i,n,o])}function yh(e){return Ir({...e,addIdAndValue:!0})}const hv=l.createContext(!1);function wl(e,t){let{collection:r,document:n}=Cl(t);return{portal:xv(e,n),collection:r}}function hh(e,t,r){let n=mt(),o=l.useRef(n);o.current=n;let a=l.useCallback(()=>o.current?r():t(),[t,r]);return gh.useSyncExternalStore(e,a)}const xh=typeof l.useSyncExternalStore=="function"?l.useSyncExternalStore:hh;function Cl(e){let t=l.useMemo(()=>new $h(e||new mh),[e]),r=l.useCallback(i=>t.subscribe(i),[t]),n=l.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),o=l.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:xh(r,n,o),document:t}}const Pi=l.createContext(null),En=l.createContext(null);function xv(e,t){let r=l.useContext(En),n=t??r,o=yh(e),a=l.useMemo(()=>l.createElement(hv.Provider,{value:!0},o),[o]);return mt()?l.createElement(Pi.Provider,{value:n},a):Mt.createPortal(a,n)}function wv(e){return l.createElement(l.Fragment,null,xv(e))}function Cv(e,t,r){let n=l.useContext(hv);var o;return n?(o=Qo(e,t,r,"children"in t?t.children:null))!==null&&o!==void 0?o:l.createElement(l.Fragment,null):null}function wh(e,t,r){return l.useCallback(n=>{n==null||n.setProps(e,t,r)},[e,t,r])}function Qo(e,t,r,n,o){let a=wh(t,r,n),i=l.useContext(Pi);if(i){let s=i.ownerDocument.nodesByProps.get(t);return s||(s=i.ownerDocument.createElement(e),s.setProps(t,r,n),i.appendChild(s),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(t,s)),o?l.createElement(Pi.Provider,{value:s},o):null}return l.createElement(e,{ref:a},o)}const Ch=Symbol("callback"),Si=Symbol("default");function Be({values:e,children:t}){for(let[r,n]of e)t=l.createElement(r.Provider,{value:n},t);return t}function pe(e){let{className:t,style:r,children:n,defaultClassName:o,defaultChildren:a,values:i}=e;return l.useMemo(()=>{let s,u,c;return typeof t=="function"?s=t(i):s=t,typeof r=="function"?u=r(i):u=r,typeof n=="function"?c=n(i):n==null?c=a:c=n,{className:s??o,style:u,children:c,"data-rac":""}},[t,r,n,o,a,i])}function ea(e,t){let r=l.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`));if(!t&&!r.slots[Si])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let o=t||Si;if(!r.slots[o])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[o]}return r}function ve(e,t,r){let n=ea(r,e.slot)||{},{ref:o,[Ch]:a,...i}=n,s=at(l.useMemo(()=>Vo(t,o),[t,o])),u=X(i,e);return"style"in i&&i.style&&typeof i.style=="object"&&"style"in e&&e.style&&typeof e.style=="object"&&(u.style={...i.style,...e.style}),l.useEffect(()=>{a&&a(e)},[a,e]),[u,s]}function ut(){let[e,t]=l.useState(!0),r=l.useRef(!1),n=l.useCallback(o=>{r.current=!0,t(!!o)},[]);return be(()=>{r.current||t(!1)},[]),[n,e]}function El(e,t=!0){let[r,n]=l.useState(!0);return Ev(e,r&&t,l.useCallback(()=>n(!1),[])),r&&t}function Ti(e,t){let[r,n]=l.useState(!1),[o,a]=l.useState("idle");return!t&&e.current&&o==="idle"&&(r=!0,n(!0),a("exiting")),!e.current&&o==="exited"&&a("idle"),Ev(e,r,l.useCallback(()=>{a("exited"),n(!1)},[])),r}function Ev(e,t,r){let n=l.useRef(null);t&&e.current&&(n.current=window.getComputedStyle(e.current).animation),be(()=>{if(t&&e.current){let o=window.getComputedStyle(e.current);if(o.animationName&&o.animationName!=="none"&&o.animation!==n.current){let a=s=>{s.target===e.current&&(i.removeEventListener("animationend",a),Mt.flushSync(()=>{r()}))},i=e.current;return i.addEventListener("animationend",a),()=>{i.removeEventListener("animationend",a)}}else r()}},[e,t,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const mn=l.createContext(!1),Eh=typeof DocumentFragment<"u"?new DocumentFragment:null;function Dv(e){let t=l.useContext(mn),r=mt();if(t)return l.createElement(l.Fragment,null,e.children);let n=l.createElement(mn.Provider,{value:!0},e.children);return r?l.createElement("template",{"data-react-aria-hidden":!0},n):Mt.createPortal(n,Eh)}function ta(e){let t=(r,n)=>l.useContext(mn)?null:e(r,n);return t.displayName=e.displayName||e.name,l.forwardRef(t)}function tr(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}const Pv=l.createContext(null);function Dh(e,t){[e,t]=ve(e,t,Pv);let r=e.href?"a":"span",{linkProps:n,isPressed:o}=O3({...e,elementType:r},t),{hoverProps:a,isHovered:i}=Me(e),{focusProps:s,isFocused:u,isFocusVisible:c}=Ve(),d=pe({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:o,isHovered:i,isFocused:u,isFocusVisible:c}});return l.createElement(r,{ref:t,slot:e.slot||void 0,...X(d,n,a,s),"data-focused":u||void 0,"data-hovered":i||void 0,"data-pressed":o||void 0,"data-focus-visible":c||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},d.children)}const ra=l.forwardRef(Dh),Ph=l.createContext(null);function Sh(e,t){[e,t]=ve(e,t,Ph);let{portal:r,collection:n}=wl(e);return l.createElement(l.Fragment,null,r,l.createElement(Th,{props:e,collection:n,breadcrumbsRef:t}))}function Th({props:e,collection:t,breadcrumbsRef:r}){var n;return l.createElement("ol",{ref:r,...le(e,{labelable:!0}),slot:e.slot||void 0,style:e.style,className:(n=e.className)!==null&&n!==void 0?n:"react-aria-Breadcrumbs"},[...t].map((o,a)=>l.createElement(Ah,{key:o.key,node:o,isCurrent:a===t.size-1,isDisabled:e.isDisabled,onAction:e.onAction})))}const kh=l.forwardRef(Sh);function Mh(e,t){return Qo("item",e,t,e.children)}const Sv=l.forwardRef(Mh);function Ah({node:e,isCurrent:t,isDisabled:r,onAction:n}){let o={"aria-current":t?"page":null,isDisabled:r||t,onPress:()=>n==null?void 0:n(e.key)};var a;return l.createElement("li",{...le(e.props),ref:e.props.ref,style:e.props.style,className:(a=e.props.className)!==null&&a!==void 0?a:"react-aria-Breadcrumb"},l.createElement(Pv.Provider,{value:o},e.rendered))}const Fh=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Dl=l.createContext({});function Rh(e,t){[e,t]=ve(e,t,Dl);let r=e,{buttonProps:n,isPressed:o}=tf(e,t),{focusProps:a,isFocused:i,isFocusVisible:s}=Ve(e),{hoverProps:u,isHovered:c}=Me(e),d=pe({...e,values:{isHovered:c,isPressed:o,isFocused:i,isFocusVisible:s,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return l.createElement("button",{...le(e,{propNames:Fh}),...X(n,a,u),...d,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||o||void 0,"data-hovered":c||void 0,"data-focused":i||void 0,"data-focus-visible":s||void 0})}const Tv=ta(Rh),Bh=l.createContext({}),At=l.createContext({});function Ih(e,t){[e,t]=ve(e,t,At);let{elementType:r="span",...n}=e;return l.createElement(r,{className:"react-aria-Text",...n,ref:t})}const Lr=l.forwardRef(Ih),or=l.createContext(null);function Lh(e,t){let r=l.useContext(or);return r!=null&&r.isInvalid?l.createElement(Oh,{...e,ref:t}):null}const Dn=l.forwardRef(Lh),Oh=l.forwardRef((e,t)=>{let r=l.useContext(or),n=pe({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.join(" "),values:r});return l.createElement(Lr,{slot:"errorMessage",...n,ref:t})}),$t=l.createContext({});function Nh(e,t){[e,t]=ve(e,t,$t);let{elementType:r="label",...n}=e;return l.createElement(r,{className:"react-aria-Label",...n,ref:t})}const Ft=ta(Nh),Kh=l.createContext(null),Vh=l.createContext(null);function _h(e,t){[e,t]=ve(e,t,Vh);let r=l.useRef(null),n=l.useContext(Kh);var o;let{labelProps:a,inputProps:i,isSelected:s,isDisabled:u,isReadOnly:c,isPressed:d,isInvalid:f}=n?Y3({...e,value:e.value,children:typeof e.children=="function"?!0:e.children},n,r):sf({...e,children:typeof e.children=="function"?!0:e.children,validationBehavior:(o=e.validationBehavior)!==null&&o!==void 0?o:"native"},qo(e),r),{isFocused:b,isFocusVisible:p,focusProps:g}=Ve(),$=u||c,{hoverProps:h,isHovered:x}=Me({...e,isDisabled:$}),C=pe({...e,defaultClassName:"react-aria-Checkbox",values:{isSelected:s,isIndeterminate:e.isIndeterminate||!1,isPressed:d,isHovered:x,isFocused:b,isFocusVisible:p,isDisabled:u,isReadOnly:c,isInvalid:f,isRequired:e.isRequired||!1}}),E=le(e);return delete E.id,l.createElement("label",{...X(E,a,h,C),ref:t,slot:e.slot||void 0,"data-selected":s||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":d||void 0,"data-hovered":x||void 0,"data-focused":b||void 0,"data-focus-visible":p||void 0,"data-disabled":u||void 0,"data-readonly":c||void 0,"data-invalid":f||void 0,"data-required":e.isRequired||void 0},l.createElement(Wo,{elementType:"span"},l.createElement("input",{...X(i,g),ref:r})),C.children)}const jh=l.forwardRef(_h),Or=l.createContext({});function zh(e,t){[e,t]=ve(e,t,Or);let{isDisabled:r,isInvalid:n,onHoverStart:o,onHoverChange:a,onHoverEnd:i,...s}=e,{hoverProps:u,isHovered:c}=Me({onHoverStart:o,onHoverChange:a,onHoverEnd:i,isDisabled:r}),{isFocused:d,isFocusVisible:f,focusProps:b}=Ve({within:!0});r??(r=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),n??(n=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let p=pe({...e,values:{isHovered:c,isFocusWithin:d,isFocusVisible:f,isDisabled:r,isInvalid:n},defaultClassName:"react-aria-Group"});var g,$;return l.createElement("div",{...X(s,b,u),...p,ref:t,role:(g=e.role)!==null&&g!==void 0?g:"group",slot:($=e.slot)!==null&&$!==void 0?$:void 0,"data-focus-within":d||void 0,"data-hovered":c||void 0,"data-focus-visible":f||void 0,"data-disabled":r||void 0,"data-invalid":n||void 0},p.children)}const Pl=l.forwardRef(zh),ar=l.createContext({});let Uh=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...o}=e;return o};function Hh(e,t){[e,t]=ve(e,t,ar);let{hoverProps:r,isHovered:n}=Me(e),{isFocused:o,isFocusVisible:a,focusProps:i}=Ve({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",u=pe({...e,values:{isHovered:n,isFocused:o,isFocusVisible:a,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return l.createElement("input",{...X(Uh(e),i,r),...u,ref:t,"data-focused":o||void 0,"data-disabled":e.disabled||void 0,"data-hovered":n||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})}const Pn=ta(Hh),kv=l.createContext(null);function Gh(e,t){let{render:r}=l.useContext(kv);return l.createElement(l.Fragment,null,r(e,t))}const Wh=l.forwardRef(Gh),Sl=l.createContext({}),Yh=l.createContext({});function qh(e,t){let[r,n]=ve(e,t,Yh),o=Cv("header",e,t);return o||l.createElement("header",{className:"react-aria-Header",...r,ref:n},r.children)}const Mv=l.forwardRef(qh),Tl=l.createContext({});function Zh(e,t){let[r,n]=ve(e,t,Tl),{elementType:o,orientation:a,style:i,className:s}=r,u=o||"hr";u==="hr"&&a==="vertical"&&(u="div");let{separatorProps:c}=Mb({elementType:o,orientation:a}),d=Cv("separator",e,t);return d||l.createElement(u,{...le(r),...c,style:i,className:s??"react-aria-Separator",ref:n,slot:r.slot||void 0})}const Av=l.forwardRef(Zh),na=l.createContext(null),Sn=l.createContext(null);function Xh(e,t){[e,t]=ve(e,t,na);let r=l.useContext(mn),n=l.useContext(Sn);return l.useContext(En)?l.createElement(wv,e):n?r?null:l.createElement(Fv,{state:n,props:e,listBoxRef:t}):l.createElement(Jh,{props:e,listBoxRef:t})}function Jh({props:e,listBoxRef:t}){let{portal:r,collection:n}=wl(e);e={...e,collection:n,children:null,items:null};let o=Bb(e);return l.createElement(l.Fragment,null,r,l.createElement(Fv,{state:o,props:e,listBoxRef:t}))}const Qh=l.forwardRef(Xh);function Fv({state:e,props:t,listBoxRef:r}){let{dragAndDropHooks:n,layout:o="stack",orientation:a="vertical"}=t,{collection:i,selectionManager:s}=e,u=!!(n!=null&&n.useDraggableCollectionState),c=!!(n!=null&&n.useDroppableCollectionState),{direction:d}=Re(),{disabledBehavior:f,disabledKeys:b}=s,p=sl({usage:"search",sensitivity:"base"}),g=l.useMemo(()=>t.keyboardDelegate||new bl({collection:i,collator:p,ref:r,disabledKeys:f==="selection"?new Set:b,layout:o,orientation:a,direction:d}),[i,p,r,f,b,a,d,t.keyboardDelegate,o]),{listBoxProps:$}=ny({...t,shouldSelectOnPressUp:u||t.shouldSelectOnPressUp,keyboardDelegate:g},e,r),h=Ir({items:i,children:V=>{switch(V.type){case"section":return l.createElement(e5,{section:V});case"separator":return l.createElement(Av,V.props);case"item":return l.createElement(Rv,{item:V});default:throw new Error("Unsupported node type in Menu: "+V.type)}}}),x=l.useRef(u),C=l.useRef(c);l.useEffect(()=>{x.current!==u&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),C.current!==c&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[u,c]);let E,A,M,R=!1,K=null,m=l.useRef(null);if(u&&n){E=n.useDraggableCollectionState({collection:i,selectionManager:s,preview:n.renderDragPreview?m:void 0}),n.useDraggableCollection({},E,r);let V=n.DragPreview;K=n.renderDragPreview?l.createElement(V,{ref:m},n.renderDragPreview):null}if(c&&n){A=n.useDroppableCollectionState({collection:i,selectionManager:s});let V=n.dropTargetDelegate||new n.ListDropTargetDelegate(i,r,{orientation:a,layout:o,direction:d});M=n.useDroppableCollection({keyboardDelegate:g,dropTargetDelegate:V},A,r),R=A.isDropTarget({type:"root"})}let{focusProps:O,isFocused:F,isFocusVisible:T}=Ve(),B={isDropTarget:R,isEmpty:e.collection.size===0,isFocused:F,isFocusVisible:T,layout:t.layout||"stack",state:e},S=pe({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:B}),I=null;return e.collection.size===0&&t.renderEmptyState&&(I=l.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(B))),l.createElement(qi,null,l.createElement("div",{...le(t),...X($,O,M==null?void 0:M.collectionProps),...S,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":R||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":F||void 0,"data-focus-visible":T||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},l.createElement(Be,{values:[[na,t],[Sn,e],[Sl,{dragAndDropHooks:n,dragState:E,dropState:A}],[Tl,{elementType:"div"}],[kv,{render:o5}]]},h),I,K))}function e5({section:e,className:t,style:r}){var n,o;let a=l.useContext(Sn),[i,s]=ut();var u;let{headingProps:c,groupProps:d}=ay({heading:s,"aria-label":(u=e.props["aria-label"])!==null&&u!==void 0?u:void 0}),f=Ir({items:a.collection.getChildren(e.key),children:b=>{switch(b.type){case"header":return l.createElement(t5,{item:b,headingProps:c,headingRef:i});case"item":return l.createElement(Rv,{item:b});default:throw new Error("Unsupported element type in Section: "+b.type)}}});return l.createElement("section",{...le(e.props),...d,className:t||((n=e.props)===null||n===void 0?void 0:n.className)||"react-aria-Section",style:r||((o=e.props)===null||o===void 0?void 0:o.style),ref:e.props.ref},f)}function t5({item:e,headingProps:t,headingRef:r}){let{ref:n,...o}=e.props;return l.createElement(Mv,{...t,...o,ref:Vo(r,n)},e.rendered)}function r5(e,t){return Qo("item",e,t,e.children)}const n5=l.forwardRef(r5);function Rv({item:e}){var t;let r=at(e.props.ref),n=l.useContext(Sn),{dragAndDropHooks:o,dragState:a,dropState:i}=l.useContext(Sl),{optionProps:s,labelProps:u,descriptionProps:c,...d}=oy({key:e.key,"aria-label":(t=e.props)===null||t===void 0?void 0:t["aria-label"]},n,r),{hoverProps:f,isHovered:b}=Me({isDisabled:!d.allowsSelection&&!d.hasAction}),p=null;a&&o&&(p=o.useDraggableItem({key:e.key},a));let g=null;i&&o&&(g=o.useDroppableItem({target:{type:"item",key:e.key,dropPosition:"on"}},i,r));let $=e.props,h=a&&a.isDragging(e.key),x=pe({...$,id:void 0,children:e.rendered,defaultClassName:"react-aria-ListBoxItem",values:{...d,isHovered:b,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:h,isDropTarget:g==null?void 0:g.isDropTarget}}),C=(o==null?void 0:o.renderDropIndicator)||(A=>l.createElement(Wh,{target:A}));l.useEffect(()=>{e.textValue||console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[e.textValue]);let E=$.href?"a":"div";return l.createElement(l.Fragment,null,(o==null?void 0:o.useDropIndicator)&&C({type:"item",key:e.key,dropPosition:"before"}),l.createElement(E,{...X(s,f,p==null?void 0:p.dragProps,g==null?void 0:g.dropProps),...x,ref:r,"data-allows-dragging":!!a||void 0,"data-selected":d.isSelected||void 0,"data-disabled":d.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":d.isFocused||void 0,"data-focus-visible":d.isFocusVisible||void 0,"data-pressed":d.isPressed||void 0,"data-dragging":h||void 0,"data-drop-target":(g==null?void 0:g.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},l.createElement(Be,{values:[[At,{slots:{label:u,description:c}}]]},x.children)),(o==null?void 0:o.useDropIndicator)&&n.collection.getKeyAfter(e.key)==null&&C({type:"item",key:e.key,dropPosition:"after"}))}function o5(e,t){t=at(t);let{dragAndDropHooks:r,dropState:n}=l.useContext(Sl),{dropIndicatorProps:o,isHidden:a,isDropTarget:i}=r.useDropIndicator(e,n,t);return a?null:l.createElement(i5,{...e,dropIndicatorProps:o,isDropTarget:i,ref:t})}function a5(e,t){let{dropIndicatorProps:r,isDropTarget:n,...o}=e,a=pe({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return l.createElement("div",{...r,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const i5=l.forwardRef(a5),l5=l.createContext({placement:"bottom"}),Sr=l.createContext(null);function s5(e,t){[e,t]=ve(e,t,Sr);let r=l.useContext(ir),n=Jo(e),o=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,a=Ti(t,o.isOpen)||e.isExiting||!1;if(l.useContext(mn)){let s=e.children;return typeof s=="function"&&(s=s({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1})),l.createElement(l.Fragment,null,s)}return o&&!o.isOpen&&!a?null:l.createElement(u5,{...e,triggerRef:e.triggerRef,state:o,popoverRef:t,isExiting:a})}const Bv=l.forwardRef(s5);function u5({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){var o;let{popoverProps:a,underlayProps:i,arrowProps:s,placement:u}=h3({...n,offset:(o=n.offset)!==null&&o!==void 0?o:8},e),c=n.popoverRef,d=El(c,!!u)||n.isEntering||!1,f=pe({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:u,isEntering:d,isExiting:t}}),b={...a.style,...f.style};return l.createElement(Wd,{isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&l.createElement("div",{"data-testid":"underlay",...i,style:{position:"fixed",inset:0}}),l.createElement("div",{...X(le(n),a),...f,ref:c,slot:n.slot||void 0,style:b,"data-trigger":n.trigger,"data-placement":u,"data-entering":d||void 0,"data-exiting":t||void 0},!n.isNonModal&&l.createElement(yi,{onDismiss:e.close}),l.createElement(l5.Provider,{value:{...s,placement:u}},f.children),l.createElement(yi,{onDismiss:e.close})))}const c5=l.createContext(null),ir=l.createContext(null);function d5(e,t){let r=e["aria-labelledby"];[e,t]=ve(e,t,c5);let{dialogProps:n,titleProps:o}=Dy({...e,"aria-labelledby":r},t),a=l.useContext(ir),i=e.children;typeof i=="function"&&(i=i({close:(a==null?void 0:a.close)||(()=>{})})),!n["aria-label"]&&!n["aria-labelledby"]&&(e["aria-labelledby"]?n["aria-labelledby"]=e["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));var s;return l.createElement("section",{...le(e),...n,ref:t,slot:e.slot||void 0,style:e.style,className:(s=e.className)!==null&&s!==void 0?s:"react-aria-Dialog"},l.createElement(Be,{values:[[Bh,{slots:{[Si]:{},title:{...o,level:2}}}]]},i))}const Iv=l.forwardRef(d5),f5=l.createContext(null),p5=l.createContext(null);function b5(e,t){[e,t]=ve(e,t,f5);let{collection:r,document:n}=Cl(),{children:o,isDisabled:a=!1,isInvalid:i=!1,isRequired:s=!1}=e;o=l.useMemo(()=>typeof o=="function"?o({isOpen:!1,isDisabled:a,isInvalid:i,isRequired:s}):o,[o,a,i,s]);var u;return l.createElement(l.Fragment,null,l.createElement(Dv,null,l.createElement(Be,{values:[[En,n],[na,{items:(u=e.items)!==null&&u!==void 0?u:e.defaultItems}]]},o)),l.createElement(v5,{props:e,collection:r,comboBoxRef:t}))}function v5({props:e,collection:t,comboBoxRef:r}){let{name:n,formValue:o="key",allowsCustomValue:a}=e;a&&(o="text");let{contains:i}=id({sensitivity:"base"});var s;let u=Ky({defaultFilter:e.defaultFilter||i,...e,items:e.items,children:void 0,collection:t,validationBehavior:(s=e.validationBehavior)!==null&&s!==void 0?s:"native"}),c=l.useRef(null),d=l.useRef(null),f=l.useRef(null),b=l.useRef(null),[p,g]=ut();var $;let{buttonProps:h,inputProps:x,listBoxProps:C,labelProps:E,descriptionProps:A,errorMessageProps:M,...R}=gy({...tr(e),label:g,inputRef:d,buttonRef:c,listBoxRef:f,popoverRef:b,name:o==="text"?n:void 0,validationBehavior:($=e.validationBehavior)!==null&&$!==void 0?$:"native"},u),[K,m]=l.useState(null),O=l.useCallback(()=>{if(d.current){var S;let I=(S=c.current)===null||S===void 0?void 0:S.getBoundingClientRect(),V=d.current.getBoundingClientRect(),N=I?Math.min(I.left,V.left):V.left,P=I?Math.max(I.right,V.right):V.right;m(P-N+"px")}},[c,d,m]);Hi({ref:d,onResize:O});let F=l.useMemo(()=>({isOpen:u.isOpen,isDisabled:e.isDisabled||!1,isInvalid:R.isInvalid||!1,isRequired:e.isRequired||!1}),[u.isOpen,e.isDisabled,R.isInvalid,e.isRequired]),T=pe({...e,values:F,defaultClassName:"react-aria-ComboBox"}),B=le(e);return delete B.id,l.createElement(Be,{values:[[p5,u],[$t,{...E,ref:p}],[Dl,{...h,ref:c,isPressed:u.isOpen}],[ar,{...x,ref:d}],[ir,u],[Sr,{ref:b,triggerRef:d,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":K}}],[na,{...C,ref:f}],[Sn,u],[At,{slots:{description:A,errorMessage:M}}],[Or,{isInvalid:R.isInvalid,isDisabled:e.isDisabled||!1}],[or,R]]},l.createElement("div",{...B,...T,ref:r,slot:e.slot||void 0,"data-focused":u.isFocused||void 0,"data-open":u.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":R.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&o==="key"&&l.createElement("input",{type:"hidden",name:n,value:u.selectedKey}))}const g5=l.forwardRef(b5),Lv=l.createContext(null),m5=l.createContext(null),Tn=l.createContext(null),oa=l.createContext(null);function $5(e,t){[e,t]=ve(e,t,Lv);let{locale:r}=Re();var n;let o=hl({...e,locale:r,createCalendar:td,validationBehavior:(n=e.validationBehavior)!==null&&n!==void 0?n:"native"}),a=l.useRef(null),[i,s]=ut(),u=l.useRef(null);var c;let{labelProps:d,fieldProps:f,inputProps:b,descriptionProps:p,errorMessageProps:g,...$}=$l({...tr(e),label:s,inputRef:u,validationBehavior:(c=e.validationBehavior)!==null&&c!==void 0?c:"native"},o,a),h=pe({...tr(e),values:{state:o,isInvalid:o.isInvalid,isDisabled:o.isDisabled},defaultClassName:"react-aria-DateField"}),x=le(e);return delete x.id,l.createElement(Be,{values:[[Tn,o],[Or,{...f,ref:a,isInvalid:o.isInvalid}],[ar,{...b,ref:u}],[$t,{...d,ref:i,elementType:"span"}],[At,{slots:{description:p,errorMessage:g}}],[or,$]]},l.createElement("div",{...x,...h,ref:t,slot:e.slot||void 0,"data-invalid":o.isInvalid||void 0}))}const y5=l.forwardRef($5);function h5(e,t){[e,t]=ve(e,t,m5);let{locale:r}=Re();var n;let o=eh({...e,locale:r,validationBehavior:(n=e.validationBehavior)!==null&&n!==void 0?n:"native"}),a=l.useRef(null),[i,s]=ut(),u=l.useRef(null);var c;let{labelProps:d,fieldProps:f,inputProps:b,descriptionProps:p,errorMessageProps:g,...$}=hy({...tr(e),label:s,inputRef:u,validationBehavior:(c=e.validationBehavior)!==null&&c!==void 0?c:"native"},o,a),h=pe({...e,values:{state:o,isInvalid:o.isInvalid,isDisabled:o.isDisabled},defaultClassName:"react-aria-TimeField"}),x=le(e);return delete x.id,l.createElement(Be,{values:[[oa,o],[Or,{...f,ref:a,isInvalid:o.isInvalid}],[ar,{...b,ref:u}],[$t,{...d,ref:i,elementType:"span"}],[At,{slots:{description:p,errorMessage:g}}],[or,$]]},l.createElement("div",{...x,...h,ref:t,slot:e.slot||void 0,"data-invalid":o.isInvalid||void 0}))}const x5=l.forwardRef(h5);function w5(e,t){let r=l.useContext(Tn),n=l.useContext(oa);return r||n?l.createElement(Ov,{...e,ref:t}):l.createElement(C5,{...e,ref:t})}const C5=l.forwardRef((e,t)=>{let[r,n]=ve({slot:e.slot},t,Lv),{locale:o}=Re(),a=hl({...r,locale:o,createCalendar:td}),i=l.useRef(null),{fieldProps:s,inputProps:u}=$l({...r,inputRef:i},a,n);return l.createElement(Be,{values:[[Tn,a],[ar,{...u,ref:i}],[Or,{...s,ref:n,isInvalid:a.isInvalid}]]},l.createElement(Ov,e))}),Ov=l.forwardRef((e,t)=>{let{className:r,children:n}=e,o=l.useContext(Tn),a=l.useContext(oa),i=o??a;return l.createElement(l.Fragment,null,l.createElement(Pl,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((s,u)=>l.cloneElement(n(s),{key:u}))),l.createElement(Pn,null))}),Nv=l.forwardRef(w5);function E5({segment:e,...t},r){let n=l.useContext(Tn),o=l.useContext(oa),a=n??o,i=at(r),{segmentProps:s}=Cy(e,a,i),{focusProps:u,isFocused:c,isFocusVisible:d}=Ve(),{hoverProps:f,isHovered:b}=Me({...t,isDisabled:a.isDisabled||e.type==="literal"}),p=pe({...t,values:{...e,isReadOnly:!e.isEditable,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isHovered:b,isFocused:c,isFocusVisible:d},defaultChildren:e.text,defaultClassName:"react-aria-DateSegment"});return l.createElement("div",{...X(le(t),s,u,f),...p,ref:i,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":a.isInvalid||void 0,"data-readonly":!e.isEditable||void 0,"data-disabled":a.isDisabled||void 0,"data-type":e.type,"data-hovered":b||void 0,"data-focused":c||void 0,"data-focus-visible":d||void 0})}const Kv=l.forwardRef(E5),Vv=l.createContext({}),_v=l.createContext(null),kn=l.createContext(null),jv=l.createContext(null);function zv(e){let{item:t,parentMenuRef:r}=e,n=l.useContext(kn);return Ir({items:n.collection.getChildren(t.key),children:a=>{switch(a.type){case"item":return l.createElement(k5,{item:a,popover:t.rendered[1],parentMenuRef:r,delay:t.props.delay});default:throw new Error("Unsupported element type in SubmenuTrigger: "+t.type)}}})}function D5(e,t){[e,t]=ve(e,t,_v);let{portal:r,collection:n}=wl(e);return l.createElement(l.Fragment,null,n.size>0&&l.createElement(P5,{props:e,collection:n,menuRef:t}),r)}function P5({props:e,collection:t,menuRef:r}){let n=fh({...e,collection:t,children:void 0}),[o,a]=l.useState(null),{menuProps:i}=sy(e,n,r),s=l.useContext(jv),u=l.useContext(Sr),c=Ir({items:n.collection,children:b=>{switch(b.type){case"section":return l.createElement(T5,{section:b,parentMenuRef:r});case"separator":return l.createElement(Av,b.props);case"item":return l.createElement(Uv,{item:b});case"submenutrigger":return l.createElement(zv,{item:b,parentMenuRef:r});default:throw new Error("Unsupported node type in Menu: "+b.type)}}}),d=(u==null?void 0:u.trigger)==="SubmenuTrigger";xc({ref:r,onInteractOutside:b=>{s&&!(o!=null&&o.contains(b.target))&&s.close()},isDisabled:d||(s==null?void 0:s.UNSTABLE_expandedKeysStack.length)===0});var f;return l.createElement(qi,null,l.createElement("div",{...le(e),...i,ref:r,slot:e.slot||void 0,onScroll:e.onScroll,style:e.style,className:(f=e.className)!==null&&f!==void 0?f:"react-aria-Menu"},l.createElement(Be,{values:[[kn,n],[Tl,{elementType:"div"}],[Sr,{UNSTABLE_portalContainer:o||void 0}]]},c)),l.createElement("div",{ref:a,style:{width:"100vw",position:"absolute",top:0}}))}const S5=l.forwardRef(D5);function T5({section:e,className:t,style:r,parentMenuRef:n,...o}){var a,i;let s=l.useContext(kn),[u,c]=ut();var d;let{headingProps:f,groupProps:b}=uy({heading:c,"aria-label":(d=e["aria-label"])!==null&&d!==void 0?d:void 0}),p=Ir({items:s.collection.getChildren(e.key),children:g=>{switch(g.type){case"header":{let{ref:$,...h}=g.props;return l.createElement(Mv,{...f,...h,ref:Vo(u,$)},g.rendered)}case"item":return l.createElement(Uv,{item:g});case"submenutrigger":return l.createElement(zv,{item:g,parentMenuRef:n});default:throw new Error("Unsupported element type in Section: "+g.type)}}});return l.createElement("section",{...le(o),...b,className:t||((a=e.props)===null||a===void 0?void 0:a.className)||"react-aria-Section",style:r||((i=e.props)===null||i===void 0?void 0:i.style),ref:e.props.ref},p)}function Uv({item:e}){var t;let r=l.useContext(kn),n=at(e.props.ref),{menuItemProps:o,labelProps:a,descriptionProps:i,keyboardShortcutProps:s,...u}=T0({key:e.key,"aria-label":(t=e.props)===null||t===void 0?void 0:t["aria-label"]},r,n),c=e.props,{isFocusVisible:d,focusProps:f}=Ve(),{hoverProps:b,isHovered:p}=Me({isDisabled:u.isDisabled}),g=pe({...c,id:void 0,children:e.rendered,defaultClassName:"react-aria-MenuItem",values:{...u,isHovered:p,isFocusVisible:d,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,hasSubmenu:!1,isOpen:!1}}),$=c.href?"a":"div";return l.createElement($,{...X(o,f,b),...g,ref:n,"data-disabled":u.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":u.isFocused||void 0,"data-focus-visible":d||void 0,"data-pressed":u.isPressed||void 0,"data-selected":u.isSelected||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode},l.createElement(Be,{values:[[At,{slots:{label:a,description:i}}],[Vv,s]]},g.children))}function k5({item:e,popover:t,parentMenuRef:r,delay:n}){let o=l.useContext(kn),a=ea(Sr),i=at(e.props.ref),s=l.useContext(jv),u=th({triggerKey:e.key},s),c=l.useRef(null),{submenuTriggerProps:d,submenuProps:f,popoverProps:b}=py({node:e,parentMenuRef:r,submenuRef:c,delay:n},u,i),{menuItemProps:p,labelProps:g,descriptionProps:$,keyboardShortcutProps:h,...x}=T0({key:e.key,...d},o,i),C=e.props,{hoverProps:E,isHovered:A}=Me({isDisabled:x.isDisabled}),{isFocusVisible:M,focusProps:R}=Ve(),K=pe({...C,id:void 0,children:e.rendered,defaultClassName:"react-aria-MenuItem",values:{...x,isHovered:A,isFocusVisible:M,selectionMode:o.selectionManager.selectionMode,selectionBehavior:o.selectionManager.selectionBehavior,hasSubmenu:!0,isOpen:u.isOpen}});return l.createElement(Be,{values:[[At,{slots:{label:g,description:$}}],[Vv,h],[_v,f],[ir,u],[Sr,{ref:c,trigger:"SubmenuTrigger",triggerRef:i,placement:"end top",UNSTABLE_portalContainer:a.UNSTABLE_portalContainer||void 0,...b}]]},l.createElement("div",{...X(p,R,E),...K,ref:i,"data-disabled":x.isDisabled||void 0,"data-hovered":A||void 0,"data-focused":x.isFocused||void 0,"data-focus-visible":M||void 0,"data-pressed":x.isPressed||void 0,"data-selected":x.isSelected||void 0,"data-selection-mode":o.selectionManager.selectionMode==="none"?void 0:o.selectionManager.selectionMode,"data-has-submenu":!0,"data-open":u.isOpen||void 0},K.children),t)}const M5=l.createContext(null);function A5(e,t){[e,t]=ve(e,t,M5);let{value:r=0,minValue:n=0,maxValue:o=100}=e;r=rt(r,n,o);let[a,i]=ut(),{meterProps:s,labelProps:u}=Py({...e,label:i}),c=(r-n)/(o-n)*100,d=pe({...e,defaultClassName:"react-aria-Meter",values:{percentage:c,valueText:s["aria-valuetext"]}});return l.createElement("div",{...s,...d,ref:t,slot:e.slot||void 0},l.createElement($t.Provider,{value:{...u,ref:a,elementType:"span"}},d.children))}const F5=l.forwardRef(A5),R5=l.createContext(null),kl=l.createContext(null);function B5(e,t){if(l.useContext(kl))return l.createElement(Au,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:o,isOpen:a,defaultOpen:i,onOpenChange:s,children:u,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,...b}=e;return l.createElement(Hv,{isDismissable:n,isKeyboardDismissDisabled:o,isOpen:a,defaultOpen:i,onOpenChange:s,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f},l.createElement(Au,{...b,modalRef:t},u))}const I5=l.forwardRef(B5);function L5(e,t){[e,t]=ve(e,t,R5);let r=l.useContext(ir),n=Jo(e),o=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,a=at(t),i=l.useRef(null),s=Ti(a,o.isOpen),u=Ti(i,o.isOpen),c=s||u||e.isExiting||!1,d=mt();return!o.isOpen&&!c||d?null:l.createElement(O5,{...e,state:o,isExiting:c,overlayRef:a,modalRef:i})}const Hv=l.forwardRef(L5);function O5({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:o,underlayProps:a}=x3(t,n,r),i=El(t.overlayRef)||t.isEntering||!1,s=pe({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:t.isExiting,state:n}}),u=n$(),c={...s.style,"--visual-viewport-height":u.height+"px"};return l.createElement(Wd,{isExiting:t.isExiting,portalContainer:e},l.createElement("div",{...X(le(t),a),...s,style:c,ref:t.overlayRef,"data-entering":i||void 0,"data-exiting":t.isExiting||void 0},l.createElement(Be,{values:[[kl,{modalProps:o,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[ir,n]]},s.children)))}function Au(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:o}=l.useContext(kl),a=l.useContext(ir),i=l.useMemo(()=>Vo(e.modalRef,r),[e.modalRef,r]),s=at(i),u=El(s),c=pe({...e,defaultClassName:"react-aria-Modal",values:{isEntering:u,isExiting:n,state:a}});return l.createElement("div",{...X(le(e),t),...c,ref:s,"data-entering":u||void 0,"data-exiting":n||void 0},o&&l.createElement(yi,{onDismiss:a.close}),c.children)}const N5=l.createContext(null),K5=l.createContext(null);function V5(e,t){[e,t]=ve(e,t,N5);let{locale:r}=Re();var n;let o=rh({...e,locale:r,validationBehavior:(n=e.validationBehavior)!==null&&n!==void 0?n:"native"}),a=l.useRef(null),[i,s]=ut();var u;let{labelProps:c,groupProps:d,inputProps:f,incrementButtonProps:b,decrementButtonProps:p,descriptionProps:g,errorMessageProps:$,...h}=Ty({...tr(e),label:s,validationBehavior:(u=e.validationBehavior)!==null&&u!==void 0?u:"native"},o,a),x=pe({...e,values:{state:o,isDisabled:e.isDisabled||!1,isInvalid:h.isInvalid||!1},defaultClassName:"react-aria-NumberField"}),C=le(e);return delete C.id,l.createElement(Be,{values:[[K5,o],[Or,d],[ar,{...f,ref:a}],[$t,{...c,ref:i}],[Dl,{slots:{increment:b,decrement:p}}],[At,{slots:{description:g,errorMessage:$}}],[or,h]]},l.createElement("div",{...C,...x,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":h.isInvalid||void 0}),e.name&&l.createElement("input",{type:"hidden",name:e.name,value:isNaN(o.numberValue)?"":o.numberValue}))}const _5=l.forwardRef(V5),j5=l.createContext(null);function z5(e,t){[e,t]=ve(e,t,j5);let{value:r=0,minValue:n=0,maxValue:o=100,isIndeterminate:a=!1}=e;r=rt(r,n,o);let[i,s]=ut(),{progressBarProps:u,labelProps:c}=Yp({...e,label:s}),d=a?void 0:(r-n)/(o-n)*100,f=pe({...e,defaultClassName:"react-aria-ProgressBar",values:{percentage:d,valueText:u["aria-valuetext"],isIndeterminate:a}});return l.createElement("div",{...u,...f,ref:t,slot:e.slot||void 0},l.createElement($t.Provider,{value:{...c,ref:i,elementType:"span"}},f.children))}const Gv=l.forwardRef(z5),U5=l.createContext(null),aa=l.createContext(null),Ml=l.createContext(null),Wv=l.createContext(null);function H5(e,t){[e,t]=ve(e,t,U5);let r=l.useRef(null),n=Bo(e.formatOptions),o=ih({...e,numberFormatter:n}),[a,i]=ut(),{groupProps:s,trackProps:u,labelProps:c,outputProps:d}=ky({...e,label:i},o,r),f=pe({...e,values:{orientation:o.orientation,isDisabled:o.isDisabled,state:o},defaultClassName:"react-aria-Slider"}),b=le(e);return delete b.id,l.createElement(Be,{values:[[aa,o],[Ml,{...u,ref:r}],[Wv,d],[$t,{...c,ref:a}]]},l.createElement("div",{...b,...s,...f,ref:t,slot:e.slot||void 0,"data-orientation":o.orientation,"data-disabled":o.isDisabled||void 0}))}const G5=l.forwardRef(H5);function W5(e,t){[e,t]=ve(e,t,Wv);let{children:r,style:n,className:o,...a}=e,i=l.useContext(aa),s=pe({className:o,style:n,children:r,defaultChildren:i.getThumbValueLabel(0),defaultClassName:"react-aria-SliderOutput",values:{orientation:i.orientation,isDisabled:i.isDisabled,state:i}});return l.createElement("output",{...a,...s,ref:t,"data-orientation":i.orientation||void 0,"data-disabled":i.isDisabled||void 0})}const Y5=l.forwardRef(W5);function q5(e,t){[e,t]=ve(e,t,Ml);let r=l.useContext(aa),{onHoverStart:n,onHoverEnd:o,onHoverChange:a,...i}=e,{hoverProps:s,isHovered:u}=Me({onHoverStart:n,onHoverEnd:o,onHoverChange:a}),c=pe({...e,defaultClassName:"react-aria-SliderTrack",values:{orientation:r.orientation,isDisabled:r.isDisabled,isHovered:u,state:r}});return l.createElement("div",{...X(i,s),...c,ref:t,"data-hovered":u||void 0,"data-orientation":r.orientation||void 0,"data-disabled":r.isDisabled||void 0})}const Z5=l.forwardRef(q5);function X5(e,t){let r=l.useContext(aa),{ref:n}=ea(Ml),{index:o=0}=e,a=l.useRef(null),[i,s]=ut(),{thumbProps:u,inputProps:c,labelProps:d,isDragging:f,isFocused:b,isDisabled:p}=My({...e,index:o,trackRef:n,inputRef:a,label:s},r),{focusProps:g,isFocusVisible:$}=Ve(),{hoverProps:h,isHovered:x}=Me(e),C=pe({...e,defaultClassName:"react-aria-SliderThumb",values:{state:r,isHovered:x,isDragging:f,isFocused:b,isFocusVisible:$,isDisabled:p}}),E=le(e);return delete E.id,l.createElement("div",{...X(E,u,h),...C,ref:t,style:{...u.style,...C.style},"data-hovered":x||void 0,"data-dragging":f||void 0,"data-focused":b||void 0,"data-focus-visible":$||void 0,"data-disabled":p||void 0},l.createElement(Wo,null,l.createElement("input",{ref:a,...X(c,g)})),l.createElement(Be,{values:[[$t,{...d,ref:i}]]},C.children))}const J5=l.forwardRef(X5),Q5=l.createContext(null);function e2(e,t){[e,t]=ve(e,t,Q5);let r=l.useRef(null),n=qo(e),{labelProps:o,inputProps:a,isSelected:i,isDisabled:s,isReadOnly:u,isPressed:c}=Ay({...tr(e),children:typeof e.children=="function"?!0:e.children},n,r),{isFocused:d,isFocusVisible:f,focusProps:b}=Ve(),p=e.isDisabled||e.isReadOnly,{hoverProps:g,isHovered:$}=Me({...e,isDisabled:p}),h=pe({...e,defaultClassName:"react-aria-Switch",values:{isSelected:i,isPressed:c,isHovered:$,isFocused:d,isFocusVisible:f,isDisabled:s,isReadOnly:u,state:n}}),x=le(e);return delete x.id,l.createElement("label",{...X(x,o,g,h),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":c||void 0,"data-hovered":$||void 0,"data-focused":d||void 0,"data-focus-visible":f||void 0,"data-disabled":s||void 0,"data-readonly":u||void 0},l.createElement(Wo,{elementType:"span"},l.createElement("input",{...a,...b,ref:r})),h.children)}const t2=l.forwardRef(e2),Al=l.createContext(null),Fl=l.createContext(null);function r2(e,t){[e,t]=ve(e,t,Al);let{collection:r,document:n}=Cl(),{children:o,orientation:a="horizontal"}=e;return o=l.useMemo(()=>typeof o=="function"?o({orientation:a}):o,[o,a]),l.createElement(l.Fragment,null,l.createElement(Dv,null,l.createElement(En.Provider,{value:n},o)),l.createElement(n2,{props:e,collection:r,tabsRef:t}))}function n2({props:e,tabsRef:t,collection:r}){let{orientation:n="horizontal"}=e,o=lh({...e,collection:r,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:s}=Ve({within:!0}),u=l.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:s}),[n,i,s]),c=pe({...e,defaultClassName:"react-aria-Tabs",values:u});return l.createElement("div",{...le(e),...a,...c,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":s||void 0,"data-disabled":o.isDisabled||void 0},l.createElement(Be,{values:[[Al,e],[Fl,o]]},c.children))}const o2=l.forwardRef(r2);function a2(e,t){return l.useContext(En)?l.createElement(wv,e):l.createElement(i2,{props:e,forwardedRef:t})}function i2({props:e,forwardedRef:t}){let r=l.useContext(Fl),{orientation:n="horizontal",keyboardActivation:o="automatic"}=ea(Al),a=at(t),{tabListProps:i}=Iy({...e,orientation:n,keyboardActivation:o},r,a),s=pe({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:n,state:r}}),u=le(e);return delete u.id,l.createElement("div",{...u,...i,ref:a,...s,"data-orientation":n||void 0},[...r.collection].map(c=>l.createElement(c2,{key:c.key,item:c,state:r})))}const l2=l.forwardRef(a2);function s2(e,t){return Qo("item",e,t,e.children)}const u2=l.forwardRef(s2);function c2({item:e,state:t}){let r=at(e.props.ref),{tabProps:n,isSelected:o,isDisabled:a,isPressed:i}=Fy({key:e.key,...e.props},t,r),{focusProps:s,isFocused:u,isFocusVisible:c}=Ve(),{hoverProps:d,isHovered:f}=Me({isDisabled:a}),b=pe({...e.props,children:e.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:o,isDisabled:a,isFocused:u,isFocusVisible:c,isPressed:i,isHovered:f,state:t}}),p=e.props.href?"a":"div";return l.createElement(p,{...X(n,s,d,b),ref:r,"data-selected":o||void 0,"data-disabled":a||void 0,"data-focus-visible":c||void 0,"data-pressed":i||void 0,"data-hovered":f||void 0})}function d2(e,t){const r=l.useContext(Fl);let n=at(t),{tabPanelProps:o}=Ry(e,r,n),{focusProps:a,isFocused:i,isFocusVisible:s}=Ve(),u=r.selectedKey===e.id,c=pe({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:i,isFocusVisible:s,isInert:!u,state:r}});if(!u&&!e.shouldForceMount)return null;let d=le(e);delete d.id;let f=u?X(d,o,a,c):c;return l.createElement("div",{...f,ref:n,"data-focused":i||void 0,"data-focus-visible":s||void 0,inert:u?void 0:"true","data-inert":u?void 0:"true"})}const f2=ta(d2),p2=l.createContext({}),b2=l.createContext(null);function v2(e,t){[e,t]=ve(e,t,b2);let r=l.useRef(null),[n,o]=ut(),[a,i]=l.useState("input");var s;let{labelProps:u,inputProps:c,descriptionProps:d,errorMessageProps:f,...b}=gl({...tr(e),inputElementType:a,label:o,validationBehavior:(s=e.validationBehavior)!==null&&s!==void 0?s:"native"},r),p=l.useCallback($=>{r.current=$,$&&i($ instanceof HTMLTextAreaElement?"textarea":"input")},[]),g=pe({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:b.isInvalid},defaultClassName:"react-aria-TextField"});return l.createElement("div",{...le(e),...g,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":b.isInvalid||void 0},l.createElement(Be,{values:[[$t,{...u,ref:n}],[ar,{...c,ref:p}],[p2,{...c,ref:p}],[At,{slots:{description:d,errorMessage:f}}],[or,b]]},g.children))}const ia=l.forwardRef(v2),g2=l.createContext({});function m2(e,t){[e,t]=ve(e,t,g2);let r=qo(e),{buttonProps:n,isPressed:o}=N3(e,r,t),{focusProps:a,isFocused:i,isFocusVisible:s}=Ve(e),{hoverProps:u,isHovered:c}=Me(e),d=pe({...e,values:{isHovered:c,isPressed:o,isFocused:i,isSelected:r.isSelected,isFocusVisible:s,isDisabled:e.isDisabled||!1,state:r},defaultClassName:"react-aria-ToggleButton"});return l.createElement("button",{...X(n,a,u),...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":o||void 0,"data-selected":r.isSelected||void 0,"data-hovered":c||void 0,"data-focus-visible":s||void 0})}const $2=l.forwardRef(m2),y2=j.styled(kh)`
|
|
155
|
+
`,Ic={hidden:{opacity:0,transform:"scale(0)"},show:{opacity:1,transform:"scale(1)"}};function Ac({children:e,isInvisible:r,disableAnimation:t,placement:o,shape:n,...s}){const i=d.useId(),l=t?{duration:0}:{type:"spring",bounce:.3};return p.jsxs(jc,{children:[e,p.jsx(Mc,{placement:o,shape:n,children:p.jsx(Re.AnimatePresence,{children:!r&&p.jsx(Re.motion.div,{variants:Ic,initial:t?"show":"hidden",transition:l,animate:"show",exit:"hidden",children:p.jsx(_c,{...s,isInvisible:r,showOutline:s.showOutline??!0})},`badge-${i}`)})})]})}function Lc({children:e,...r}){return p.jsx("span",{...r,"aria-hidden":"true",children:e??p.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),p.jsx("path",{d:"M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),p.jsx("path",{d:"M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}const Nc=m.styled(D.Breadcrumbs)`
|
|
172
156
|
display: flex;
|
|
173
157
|
align-items: center;
|
|
174
158
|
list-style: none;
|
|
175
159
|
margin: 0 0 1rem;
|
|
176
160
|
padding: 0.3125rem 0 0;
|
|
177
161
|
font-size: 0.9rem;
|
|
178
|
-
`,
|
|
162
|
+
`,Dc=m.styled(D.Breadcrumb)`
|
|
179
163
|
display: flex;
|
|
180
164
|
align-items: center;
|
|
181
|
-
`,
|
|
165
|
+
`,Fc=m.styled(D.Breadcrumb)`
|
|
182
166
|
display: flex;
|
|
183
167
|
align-items: center;
|
|
184
168
|
margin: 0 0.5rem;
|
|
185
|
-
color: ${({theme:e})=>{var t
|
|
169
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[600])??c.colors.slate[600]}};
|
|
186
170
|
|
|
187
171
|
> svg {
|
|
188
172
|
width: 1rem;
|
|
189
173
|
height: 1rem;
|
|
190
174
|
}
|
|
191
|
-
`,
|
|
192
|
-
color: ${({theme:e})=>{var t
|
|
175
|
+
`,zc=m.styled(D.Link)`
|
|
176
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[600])??c.colors.slate[600]}};
|
|
193
177
|
text-decoration: none;
|
|
194
178
|
cursor: pointer;
|
|
195
179
|
|
|
@@ -198,23 +182,23 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
198
182
|
}
|
|
199
183
|
&[data-hovered] {
|
|
200
184
|
text-decoration: underline;
|
|
201
|
-
color: ${({theme:e})=>{var t
|
|
185
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
202
186
|
}
|
|
203
187
|
|
|
204
188
|
&[data-current] {
|
|
205
189
|
font-weight: 600;
|
|
206
190
|
cursor: default;
|
|
207
|
-
color: ${({theme:e})=>{var t
|
|
191
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
208
192
|
}
|
|
209
193
|
|
|
210
194
|
&[data-disabled] {
|
|
211
195
|
cursor: default;
|
|
212
196
|
|
|
213
197
|
&:not([data-current]) {
|
|
214
|
-
color: ${({theme:e})=>{var t
|
|
198
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
215
199
|
}
|
|
216
200
|
}
|
|
217
|
-
`;function
|
|
201
|
+
`;function Vc({children:e,...r}){return p.jsx(Dc,{...r,children:e})}function Bc(e){return p.jsx(zc,{...e})}function Hc({children:e,...r}){return p.jsx(Fc,{...r,children:e??p.jsx("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:p.jsx("path",{d:"M6 12L10 8L6 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}function Gc({children:e,...r}){return p.jsx(Nc,{...r,children:e})}const Me=m.styled(D.Button)`
|
|
218
202
|
display: flex;
|
|
219
203
|
align-items: center;
|
|
220
204
|
padding: 0.4rem 2rem;
|
|
@@ -227,20 +211,20 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
227
211
|
justify-content: center;
|
|
228
212
|
transition: all ease 200ms;
|
|
229
213
|
height: ${({size:e})=>{switch(e){case"sm":return"2rem";case"lg":return"3rem";case"md":default:return"2.5rem"}}};
|
|
230
|
-
background-color: ${({variant:e,theme:
|
|
231
|
-
border-color: ${({variant:e,theme:
|
|
232
|
-
color: ${({variant:e,theme:
|
|
214
|
+
background-color: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":case"outline":return"transparent";case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800]}}};
|
|
215
|
+
border-color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"ghost":return"transparent";case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[300])??c.colors.slate[300];case"solid":default:return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[800])??c.colors.slate[800]}}};
|
|
216
|
+
color: ${({variant:e,theme:r})=>{var t,o,n;switch(e){case"ghost":case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[900])??c.colors.slate[900];case"solid":default:return((n=r==null?void 0:r.colors)==null?void 0:n.white)??c.colors.white}}};
|
|
233
217
|
|
|
234
218
|
&[data-hovered] {
|
|
235
|
-
background-color: ${({variant:e,theme:
|
|
236
|
-
border-color: ${({variant:e,theme:
|
|
219
|
+
background-color: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":return"transparent";case"outline":return"transparent";case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[900])??c.colors.slate[900]}}};
|
|
220
|
+
border-color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"ghost":return"transparent";case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[400])??c.colors.slate[400];case"solid":default:return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[900])??c.colors.slate[900]}}};
|
|
237
221
|
}
|
|
238
222
|
|
|
239
223
|
&[data-focused] {
|
|
240
224
|
outline: 2px solid
|
|
241
|
-
${({theme:e})=>{var t
|
|
242
|
-
background-color: ${({variant:e,theme:
|
|
243
|
-
border-color: ${({variant:e,theme:
|
|
225
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
226
|
+
background-color: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":return"transparent";case"outline":return"transparent";case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[900])??c.colors.slate[900]}}};
|
|
227
|
+
border-color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"ghost":return"transparent";case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[400])??c.colors.slate[400];case"solid":default:return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[900])??c.colors.slate[900]}}};
|
|
244
228
|
}
|
|
245
229
|
|
|
246
230
|
&[data-pressed] {
|
|
@@ -248,227 +232,227 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
248
232
|
}
|
|
249
233
|
|
|
250
234
|
&[data-disabled] {
|
|
251
|
-
background-color: ${({isLoading:e,theme:
|
|
252
|
-
border-color: ${({isLoading:e,theme:
|
|
253
|
-
color: ${({isLoading:e,theme:
|
|
235
|
+
background-color: ${({isLoading:e,theme:r,variant:t})=>{var o,n,s,i;switch(t){case"ghost":case"outline":return"transparent";case"solid":default:return e?((n=(o=r==null?void 0:r.colors)==null?void 0:o.slate)==null?void 0:n[900])??c.colors.slate[900]:((i=(s=r==null?void 0:r.colors)==null?void 0:s.slate)==null?void 0:i[100])??c.colors.slate[100]}}};
|
|
236
|
+
border-color: ${({isLoading:e,theme:r,variant:t})=>{var o,n,s,i,l,u,g,b;switch(t){case"ghost":return"transparent";case"outline":return e?((n=(o=r==null?void 0:r.colors)==null?void 0:o.slate)==null?void 0:n[300])??c.colors.slate[300]:((i=(s=r==null?void 0:r.colors)==null?void 0:s.slate)==null?void 0:i[200])??c.colors.slate[200];case"solid":default:return e?((u=(l=r==null?void 0:r.colors)==null?void 0:l.slate)==null?void 0:u[900])??c.colors.slate[900]:((b=(g=r==null?void 0:r.colors)==null?void 0:g.slate)==null?void 0:b[200])??c.colors.slate[200]}}};
|
|
237
|
+
color: ${({isLoading:e,theme:r,variant:t})=>{var o,n,s,i,l,u,g;switch(t){case"ghost":case"outline":return e?((n=(o=r==null?void 0:r.colors)==null?void 0:o.slate)==null?void 0:n[900])??c.colors.slate[900]:((i=(s=r==null?void 0:r.colors)==null?void 0:s.slate)==null?void 0:i[500])??c.colors.slate[500];case"solid":default:return e?((l=r==null?void 0:r.colors)==null?void 0:l.white)??c.colors.white:((g=(u=r==null?void 0:r.colors)==null?void 0:u.slate)==null?void 0:g[400])??c.colors.slate[400]}}};
|
|
254
238
|
}
|
|
255
|
-
`;function
|
|
239
|
+
`;function Wc({children:e,isDisabled:r=!1,isLoading:t=!1,size:o="md",variant:n="solid",...s}){return p.jsx(Me,{isDisabled:r||t,isLoading:t,size:o,variant:n,...s,children:e})}const Uc=m.styled.div`
|
|
256
240
|
display: flex;
|
|
257
241
|
flex-direction: column;
|
|
258
|
-
`;function
|
|
242
|
+
`;function Kc({children:e,...r}){return p.jsx(Uc,{...r,children:e})}const he=m.styled.div`
|
|
259
243
|
width: 1.5rem;
|
|
260
244
|
height: 1.5rem;
|
|
261
245
|
border: 1px solid
|
|
262
|
-
${({theme:e})=>{var t
|
|
246
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
263
247
|
border-radius: 4px;
|
|
264
248
|
transition: all ease 200ms;
|
|
265
249
|
display: flex;
|
|
266
250
|
align-items: center;
|
|
267
251
|
justify-content: center;
|
|
268
|
-
`,
|
|
252
|
+
`,Nr=m.styled.svg`
|
|
269
253
|
width: 1rem;
|
|
270
254
|
height: 1rem;
|
|
271
255
|
fill: none;
|
|
272
|
-
stroke: ${({theme:e})=>{var
|
|
256
|
+
stroke: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
273
257
|
stroke-width: 3px;
|
|
274
258
|
stroke-dasharray: 22px;
|
|
275
259
|
stroke-dashoffset: 66;
|
|
276
260
|
transition: all 200ms;
|
|
277
|
-
`,
|
|
261
|
+
`,Yc=m.styled(D.Checkbox)`
|
|
278
262
|
display: flex;
|
|
279
263
|
align-items: center;
|
|
280
264
|
gap: 0.5rem;
|
|
281
265
|
font-size: 0.8rem;
|
|
282
|
-
color: ${({theme:e})=>{var t
|
|
266
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
283
267
|
forced-color-adjust: none;
|
|
284
268
|
|
|
285
|
-
&[data-hovered] ${
|
|
286
|
-
border-color: ${({theme:e})=>{var t
|
|
269
|
+
&[data-hovered] ${he} {
|
|
270
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
287
271
|
}
|
|
288
272
|
|
|
289
|
-
&[data-focused] ${
|
|
290
|
-
border-color: ${({theme:e})=>{var t
|
|
273
|
+
&[data-focused] ${he} {
|
|
274
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
291
275
|
outline: 2px solid
|
|
292
|
-
${({theme:e})=>{var t
|
|
276
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
293
277
|
}
|
|
294
278
|
|
|
295
279
|
&[data-disabled] {
|
|
296
|
-
color: ${({theme:e})=>{var t
|
|
280
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
297
281
|
|
|
298
282
|
&[data-indeterminate] {
|
|
299
|
-
& ${
|
|
283
|
+
& ${Nr} {
|
|
300
284
|
stroke: none;
|
|
301
|
-
fill: ${({theme:e})=>{var t
|
|
285
|
+
fill: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
302
286
|
}
|
|
303
287
|
}
|
|
304
288
|
|
|
305
|
-
&[data-indeterminate] ${
|
|
306
|
-
border-color: ${({theme:e})=>{var t
|
|
307
|
-
background: ${({theme:e})=>{var t
|
|
289
|
+
&[data-indeterminate] ${he} {
|
|
290
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
291
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
308
292
|
}
|
|
309
293
|
}
|
|
310
|
-
&[data-disabled] ${
|
|
311
|
-
border-color: ${({theme:e})=>{var t
|
|
312
|
-
background: ${({theme:e})=>{var t
|
|
294
|
+
&[data-disabled] ${he} {
|
|
295
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
296
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
313
297
|
}
|
|
314
298
|
|
|
315
299
|
&[data-invalid] {
|
|
316
|
-
color: ${({theme:e})=>{var t
|
|
300
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
317
301
|
|
|
318
|
-
${
|
|
319
|
-
background: ${({theme:e})=>{var t
|
|
320
|
-
color: ${({theme:e})=>{var t
|
|
302
|
+
${he} {
|
|
303
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
304
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
321
305
|
border: 1px solid
|
|
322
|
-
${({theme:e})=>{var t
|
|
306
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
323
307
|
}
|
|
324
308
|
|
|
325
|
-
&[data-hovered] ${
|
|
309
|
+
&[data-hovered] ${he} {
|
|
326
310
|
border: 1px solid
|
|
327
|
-
${({theme:e})=>{var t
|
|
311
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
328
312
|
}
|
|
329
313
|
|
|
330
|
-
&[data-focused] ${
|
|
314
|
+
&[data-focused] ${he} {
|
|
331
315
|
border: 1px solid
|
|
332
|
-
${({theme:e})=>{var t
|
|
316
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
333
317
|
outline: 2px solid
|
|
334
|
-
${({theme:e})=>{var t
|
|
318
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
335
319
|
}
|
|
336
320
|
|
|
337
321
|
&[data-selected],
|
|
338
322
|
&[data-indeterminate] {
|
|
339
|
-
${
|
|
340
|
-
background: ${({theme:e})=>{var t
|
|
323
|
+
${he} {
|
|
324
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
341
325
|
border: 1px solid
|
|
342
|
-
${({theme:e})=>{var t
|
|
326
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
343
327
|
}
|
|
344
328
|
|
|
345
|
-
&[data-pressed] ${
|
|
346
|
-
background: ${({theme:e})=>{var t
|
|
329
|
+
&[data-pressed] ${he} {
|
|
330
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
347
331
|
border: 1px solid
|
|
348
|
-
${({theme:e})=>{var t
|
|
332
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
349
333
|
}
|
|
350
334
|
}
|
|
351
335
|
}
|
|
352
336
|
|
|
353
337
|
&[data-selected],
|
|
354
338
|
&[data-indeterminate] {
|
|
355
|
-
${
|
|
356
|
-
border-color: ${({theme:e})=>{var t
|
|
357
|
-
background: ${({theme:e})=>{var t
|
|
339
|
+
${he} {
|
|
340
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
341
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
358
342
|
}
|
|
359
343
|
|
|
360
|
-
&[data-pressed] ${
|
|
361
|
-
border-color: ${({theme:e})=>{var t
|
|
362
|
-
background: ${({theme:e})=>{var t
|
|
344
|
+
&[data-pressed] ${he} {
|
|
345
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
346
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
363
347
|
}
|
|
364
348
|
|
|
365
|
-
${
|
|
349
|
+
${Nr} {
|
|
366
350
|
stroke-dashoffset: 44;
|
|
367
351
|
}
|
|
368
352
|
}
|
|
369
353
|
|
|
370
354
|
&[data-indeterminate] {
|
|
371
|
-
& ${
|
|
355
|
+
& ${Nr} {
|
|
372
356
|
stroke: none;
|
|
373
|
-
fill: ${({theme:e})=>{var
|
|
357
|
+
fill: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
374
358
|
}
|
|
375
359
|
}
|
|
376
|
-
`;function
|
|
360
|
+
`;function Xc({children:e,...r}){return p.jsx(Yc,{...r,children:({isIndeterminate:t})=>p.jsxs(p.Fragment,{children:[p.jsx(he,{children:p.jsx(Nr,{viewBox:"0 0 18 18","aria-hidden":"true",children:t?p.jsx("rect",{x:1,y:7.5,width:15,height:3}):p.jsx("polyline",{points:"1 9 7 14 15 4"})})}),e]})})}const qc=m.styled.div`
|
|
377
361
|
width: 100%;
|
|
378
|
-
`,
|
|
362
|
+
`,Zc=m.styled(Re.motion.div)`
|
|
379
363
|
width: 100%;
|
|
380
364
|
overflow: hidden;
|
|
381
|
-
`,
|
|
382
|
-
@media (min-width: ${
|
|
383
|
-
max-width: ${
|
|
365
|
+
`,Qt=d.createContext({});function Jc({children:e,...r}){const t=d.useId(),[o,n]=Bn(r.isOpen,r.defaultOpen||!1,r.onOpenChange),s=d.useRef(null),i=d.useCallback(()=>{n(!o)},[n,o]);return p.jsx(D.Provider,{values:[[Qt,{isOpen:o,id:t,defaultOpen:r.defaultOpen||!1}]],children:p.jsx(jl,{ref:s,isPressed:o,onPress:i,"aria-expanded":o,"aria-controls":t,children:p.jsx(qc,{children:e})})})}function Qc({children:e}){const{isOpen:r,id:t,defaultOpen:o}=d.useContext(Qt);return p.jsx(Zc,{id:t,variants:{hidden:{height:"0px",opacity:0},visible:{height:"auto",opacity:1}},initial:o?"visible":"hidden",animate:r?"visible":"hidden",transition:{type:"spring",bounce:0},children:e})}const ed=e=>{let r="";return Object.values(e).forEach(t=>{r+=`
|
|
366
|
+
@media (min-width: ${t}) {
|
|
367
|
+
max-width: ${t};
|
|
384
368
|
}
|
|
385
|
-
`}),
|
|
369
|
+
`}),r},rd=m.styled.div`
|
|
386
370
|
width: 100%;
|
|
387
371
|
margin: 0 auto;
|
|
388
372
|
padding: 0 1rem;
|
|
389
373
|
|
|
390
|
-
${({theme:e})=>
|
|
391
|
-
`,
|
|
374
|
+
${({theme:e})=>ed((e==null?void 0:e.screens)??c.screens)}
|
|
375
|
+
`,td=d.forwardRef(({children:e,...r},t)=>p.jsx(rd,{...r,ref:t,children:e})),od=m.styled(Re.motion(D.Popover))`
|
|
392
376
|
padding: 0.4rem 0;
|
|
393
377
|
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
394
378
|
border-radius: 0.375rem;
|
|
395
379
|
width: 14rem;
|
|
396
|
-
background: ${({theme:e})=>{var
|
|
380
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
397
381
|
border: 1px solid
|
|
398
|
-
${({theme:e})=>{var t
|
|
399
|
-
`;function
|
|
400
|
-
color: ${({theme:e})=>{var t
|
|
401
|
-
`,
|
|
382
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
383
|
+
`;function da({children:e,key:r,onAction:t,setAnimation:o,animation:n="hidden",...s}){return p.jsx(od,{isExiting:n==="hidden",onAnimationComplete:i=>{o(l=>i==="hidden"&&l==="hidden"?"unmounted":l)},variants:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0}},initial:"hidden",animate:n,...s,children:p.jsx(D.Menu,{style:{outline:"none"},onAction:t,children:e})},r)}da.defaultProps={key:void 0,onAction:void 0};const nd=m.styled(D.DateField)`
|
|
384
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
385
|
+
`,ad=m.styled(D.DateInput)`
|
|
402
386
|
display: flex;
|
|
403
387
|
align-items: center;
|
|
404
388
|
border: 1px solid
|
|
405
|
-
${({theme:e})=>{var t
|
|
389
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
406
390
|
font-size: 0.9rem;
|
|
407
391
|
padding: 0 0.25rem;
|
|
408
392
|
height: 2.5rem;
|
|
409
393
|
margin: 0;
|
|
410
394
|
border-radius: 0.375rem;
|
|
411
|
-
background: ${({theme:e})=>{var
|
|
412
|
-
color: ${({theme:e})=>{var t
|
|
395
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
396
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
413
397
|
width: 100%;
|
|
414
398
|
transition: all ease 200ms;
|
|
415
399
|
|
|
416
400
|
&[data-hovered] {
|
|
417
401
|
border: 1px solid
|
|
418
|
-
${({theme:e})=>{var t
|
|
402
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
419
403
|
}
|
|
420
404
|
|
|
421
405
|
&[data-focus-within] {
|
|
422
406
|
border: 1px solid
|
|
423
|
-
${({theme:e})=>{var t
|
|
407
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
424
408
|
outline: 2px solid
|
|
425
|
-
${({theme:e})=>{var t
|
|
409
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
426
410
|
}
|
|
427
411
|
|
|
428
412
|
&[data-disabled] {
|
|
429
413
|
border: 1px solid
|
|
430
|
-
${({theme:e})=>{var t
|
|
431
|
-
background: ${({theme:e})=>{var t
|
|
414
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
415
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
432
416
|
}
|
|
433
417
|
|
|
434
418
|
&[data-invalid] {
|
|
435
419
|
border: 1px solid
|
|
436
|
-
${({theme:e})=>{var t
|
|
437
|
-
background: ${({theme:e})=>{var t
|
|
438
|
-
color: ${({theme:e})=>{var t
|
|
420
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
421
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
422
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
439
423
|
|
|
440
424
|
&[data-hovered] {
|
|
441
425
|
border: 1px solid
|
|
442
|
-
${({theme:e})=>{var t
|
|
426
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
443
427
|
}
|
|
444
428
|
|
|
445
429
|
&[data-focus-within] {
|
|
446
430
|
border: 1px solid
|
|
447
|
-
${({theme:e})=>{var t
|
|
431
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
448
432
|
outline: 2px solid
|
|
449
|
-
${({theme:e})=>{var t
|
|
433
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
450
434
|
}
|
|
451
435
|
}
|
|
452
|
-
`,
|
|
436
|
+
`,sd=m.styled(D.DateSegment)`
|
|
453
437
|
padding: 0.25rem;
|
|
454
438
|
font-variant-numeric: tabular-nums;
|
|
455
439
|
text-align: end;
|
|
456
|
-
color: ${({theme:e})=>{var t
|
|
440
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
457
441
|
|
|
458
442
|
&[data-invalid] {
|
|
459
|
-
color: ${({theme:e})=>{var t
|
|
443
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
460
444
|
}
|
|
461
445
|
|
|
462
446
|
&[data-disabled] {
|
|
463
447
|
cursor: default;
|
|
464
448
|
user-select: none;
|
|
465
|
-
color: ${({theme:e})=>{var t
|
|
449
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
466
450
|
}
|
|
467
451
|
|
|
468
452
|
&[data-focused],
|
|
469
453
|
&[data-focus-visible] {
|
|
470
454
|
outline: 1px auto
|
|
471
|
-
${({theme:e})=>{var t
|
|
455
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
472
456
|
}
|
|
473
457
|
|
|
474
458
|
&[data-type='literal'] {
|
|
@@ -476,153 +460,153 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
476
460
|
}
|
|
477
461
|
|
|
478
462
|
&[data-placeholder] {
|
|
479
|
-
color: ${({theme:e})=>{var t
|
|
463
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
480
464
|
|
|
481
465
|
&[data-invalid] {
|
|
482
|
-
color: ${({theme:e})=>{var t
|
|
466
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
483
467
|
|
|
484
468
|
&:focus {
|
|
485
|
-
color: ${({theme:e})=>{var
|
|
469
|
+
color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
486
470
|
}
|
|
487
471
|
}
|
|
488
472
|
}
|
|
489
473
|
|
|
490
474
|
&:focus:not([aria-readonly]) {
|
|
491
|
-
color: ${({theme:e})=>{var t
|
|
492
|
-
background: ${({theme:e})=>{var t
|
|
475
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
476
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
493
477
|
outline: none;
|
|
494
478
|
border-radius: 0.375rem;
|
|
495
479
|
caret-color: transparent;
|
|
496
480
|
|
|
497
481
|
&[data-invalid] {
|
|
498
|
-
background: ${({theme:e})=>{var t
|
|
499
|
-
color: ${({theme:e})=>{var
|
|
482
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
483
|
+
color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
500
484
|
}
|
|
501
485
|
}
|
|
502
|
-
`,
|
|
486
|
+
`,id=m.styled(D.Label)`
|
|
503
487
|
display: flex;
|
|
504
488
|
font-size: 0.8rem;
|
|
505
|
-
color: ${({theme:e})=>{var t
|
|
506
|
-
`,
|
|
489
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
490
|
+
`,ld=m.styled(D.FieldError)`
|
|
507
491
|
display: flex;
|
|
508
|
-
color: ${({theme:e})=>{var t
|
|
492
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
509
493
|
font-size: 0.8rem;
|
|
510
|
-
`,
|
|
494
|
+
`,cd=m.styled(D.Text)`
|
|
511
495
|
display: flex;
|
|
512
|
-
color: ${({theme:e})=>{var t
|
|
496
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
513
497
|
font-size: 0.8rem;
|
|
514
|
-
`;function
|
|
498
|
+
`;function ua({label:e,description:r,errorMessage:t,...o}){return p.jsxs(nd,{...o,children:[p.jsx(id,{children:e}),p.jsx(ad,{children:n=>p.jsx(sd,{segment:n})}),p.jsx(cd,{slot:"description",children:r}),p.jsx(ld,{children:t})]})}ua.defaultProps={label:void 0,description:void 0,errorMessage:void 0};const dd=m.styled.div`
|
|
515
499
|
width: ${({orientation:e})=>e==="vertical"?"1px":"100%"};
|
|
516
500
|
height: ${({orientation:e})=>e==="vertical"?"auto":"1px"};
|
|
517
501
|
margin: ${({orientation:e})=>e==="vertical"?"0 1rem":"1rem 0"};
|
|
518
|
-
background: ${({theme:e})=>{var t
|
|
519
|
-
`;function
|
|
502
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
503
|
+
`;function ud(e){const{orientation:r}=e,{separatorProps:t}=Hs.useSeparator(e);return p.jsx(dd,{...t,orientation:r})}const Ge=m.styled(D.Input)`
|
|
520
504
|
border: 1px solid
|
|
521
|
-
${({theme:e})=>{var t
|
|
505
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
522
506
|
font-size: 0.9rem;
|
|
523
507
|
padding: 0 0.5rem;
|
|
524
508
|
height: 2.5rem;
|
|
525
509
|
margin: 0;
|
|
526
510
|
border-radius: 0.375rem;
|
|
527
|
-
background: ${({theme:e})=>{var
|
|
528
|
-
color: ${({theme:e})=>{var t
|
|
511
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
512
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
529
513
|
width: 100%;
|
|
530
514
|
transition: all ease 200ms;
|
|
531
515
|
|
|
532
516
|
&[data-hovered] {
|
|
533
517
|
border: 1px solid
|
|
534
|
-
${({theme:e})=>{var t
|
|
518
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
535
519
|
}
|
|
536
520
|
|
|
537
521
|
&[data-focused] {
|
|
538
522
|
border: 1px solid
|
|
539
|
-
${({theme:e})=>{var t
|
|
523
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
540
524
|
outline: 2px solid
|
|
541
|
-
${({theme:e})=>{var t
|
|
525
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
542
526
|
}
|
|
543
527
|
|
|
544
528
|
&[data-disabled] {
|
|
545
529
|
border: 1px solid
|
|
546
|
-
${({theme:e})=>{var t
|
|
547
|
-
background: ${({theme:e})=>{var t
|
|
530
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
531
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
548
532
|
}
|
|
549
533
|
|
|
550
534
|
&[data-invalid] {
|
|
551
535
|
border: 1px solid
|
|
552
|
-
${({theme:e})=>{var t
|
|
553
|
-
background: ${({theme:e})=>{var t
|
|
554
|
-
color: ${({theme:e})=>{var t
|
|
536
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
537
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
538
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
555
539
|
|
|
556
540
|
&[data-hovered] {
|
|
557
541
|
border: 1px solid
|
|
558
|
-
${({theme:e})=>{var t
|
|
542
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
559
543
|
}
|
|
560
544
|
|
|
561
545
|
&[data-focused] {
|
|
562
546
|
border: 1px solid
|
|
563
|
-
${({theme:e})=>{var t
|
|
547
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
564
548
|
outline: 2px solid
|
|
565
|
-
${({theme:e})=>{var t
|
|
549
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
566
550
|
}
|
|
567
551
|
}
|
|
568
552
|
|
|
569
553
|
::placeholder {
|
|
570
|
-
color: ${({theme:e})=>{var t
|
|
554
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
571
555
|
}
|
|
572
|
-
`,
|
|
556
|
+
`,fa=m.styled(D.Label)`
|
|
573
557
|
display: flex;
|
|
574
558
|
font-size: 0.8rem;
|
|
575
|
-
color: ${({theme:e})=>{var t
|
|
576
|
-
`,
|
|
559
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
560
|
+
`,fd=m.styled(D.TextField)`
|
|
577
561
|
display: flex;
|
|
578
562
|
flex-direction: column;
|
|
579
563
|
width: 100%;
|
|
580
|
-
color: ${({theme:e})=>{var t
|
|
581
|
-
`,
|
|
564
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
565
|
+
`,pa=m.styled(D.FieldError)`
|
|
582
566
|
display: flex;
|
|
583
|
-
color: ${({theme:e})=>{var t
|
|
567
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
584
568
|
font-size: 0.8rem;
|
|
585
|
-
`,
|
|
569
|
+
`,ba=m.styled(D.Text)`
|
|
586
570
|
display: flex;
|
|
587
|
-
color: ${({theme:e})=>{var t
|
|
571
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
588
572
|
font-size: 0.8rem;
|
|
589
|
-
`;function
|
|
590
|
-
color: ${({isDisabled:e,theme:
|
|
573
|
+
`;function ga({label:e,description:r,errorMessage:t,...o}){return p.jsxs(fd,{...o,children:[p.jsx(fa,{children:e}),p.jsx(Ge,{}),r&&p.jsx(ba,{slot:"description",children:r}),p.jsx(pa,{children:t})]})}ga.defaultProps={label:void 0,description:void 0,errorMessage:void 0};const pd=m.styled(D.Link)`
|
|
574
|
+
color: ${({isDisabled:e,theme:r})=>{var t,o,n,s;return e?((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[300])??c.colors.slate[300]:((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[500])??c.colors.slate[500]}};
|
|
591
575
|
cursor: ${({isDisabled:e})=>e?"default":"pointer"};
|
|
592
576
|
text-decoration: none;
|
|
593
577
|
transition: 0.3s color;
|
|
594
578
|
outline: none;
|
|
595
579
|
|
|
596
580
|
&:hover {
|
|
597
|
-
color: ${({isDisabled:e,theme:
|
|
581
|
+
color: ${({isDisabled:e,theme:r})=>{var t,o,n,s;return e?((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[300])??c.colors.slate[300]:((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[800])??c.colors.slate[800]}};
|
|
598
582
|
}
|
|
599
|
-
`;function
|
|
583
|
+
`;function bd({children:e,...r}){return p.jsx(pd,{...r,children:e})}const gd=m.styled(D.Meter)`
|
|
600
584
|
display: flex;
|
|
601
585
|
flex-direction: column;
|
|
602
586
|
gap: 0.5rem;
|
|
603
|
-
`,
|
|
587
|
+
`,vd=m.styled.div`
|
|
604
588
|
display: flex;
|
|
605
589
|
justify-content: space-between;
|
|
606
590
|
gap: 1rem;
|
|
607
|
-
`,
|
|
591
|
+
`,yd=m.styled(D.Label)`
|
|
608
592
|
font-size: 0.875rem;
|
|
609
|
-
|
|
593
|
+
`,$d=m.styled.span`
|
|
610
594
|
font-size: 0.875rem;
|
|
611
595
|
font-variant-numeric: tabular-nums;
|
|
612
596
|
margin-left: auto;
|
|
613
|
-
`,
|
|
597
|
+
`,xd=m.styled.div`
|
|
614
598
|
height: 0.625rem;
|
|
615
599
|
border-radius: 0.3rem;
|
|
616
|
-
background-color: ${({theme:e})=>{var t
|
|
600
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
617
601
|
forced-color-adjust: none;
|
|
618
602
|
overflow: hidden;
|
|
619
|
-
`,
|
|
603
|
+
`,wd=m.styled(Re.motion.div)`
|
|
620
604
|
height: 100%;
|
|
621
|
-
background-color: ${({theme:e})=>{var t
|
|
622
|
-
`;function
|
|
605
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[800])??c.colors.slate[800]}};
|
|
606
|
+
`;function md({label:e,showValue:r=!0,value:t=0,minValue:o=0,maxValue:n=100,formatOptions:s={style:"percent"},...i}){return p.jsx(gd,{value:t,minValue:o,maxValue:n,formatOptions:s,...i,children:({percentage:l,valueText:u})=>p.jsxs(p.Fragment,{children:[(e||r)&&p.jsxs(vd,{children:[e&&p.jsx(yd,{children:e}),r&&p.jsx($d,{children:u})]}),p.jsx(xd,{children:p.jsx(wd,{initial:{width:`${l}%`},animate:{width:`${l}%`},transition:{type:"spring",bounce:0}})})]})})}const hd=m.styled(D.Modal)`
|
|
623
607
|
position: absolute;
|
|
624
608
|
inset: 50%;
|
|
625
|
-
`;function
|
|
609
|
+
`;function Cd(e){return p.jsx(hd,{...e})}const pn=m.keyframes`
|
|
626
610
|
0% {
|
|
627
611
|
opacity: 0;
|
|
628
612
|
backdrop-filter: blur(0);
|
|
@@ -632,9 +616,9 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
632
616
|
opacity: 1;
|
|
633
617
|
backdrop-filter: blur(10px);
|
|
634
618
|
}
|
|
635
|
-
`,
|
|
619
|
+
`,Ed=m.styled(D.ModalOverlay)`
|
|
636
620
|
backdrop-filter: blur(10px);
|
|
637
|
-
background: ${({theme:e})=>{var
|
|
621
|
+
background: ${({theme:e})=>{var r;return`rgb(from ${((r=e==null?void 0:e.colors)==null?void 0:r.black)??c.colors.black} r g b / 30%)`}};
|
|
638
622
|
position: fixed;
|
|
639
623
|
z-index: 100;
|
|
640
624
|
top: 0;
|
|
@@ -643,13 +627,13 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
643
627
|
height: var(--visual-viewport-height);
|
|
644
628
|
|
|
645
629
|
&[data-entering] {
|
|
646
|
-
animation: ${
|
|
630
|
+
animation: ${pn} 300ms;
|
|
647
631
|
}
|
|
648
632
|
|
|
649
633
|
&[data-exiting] {
|
|
650
|
-
animation: ${
|
|
634
|
+
animation: ${pn} 300ms reverse;
|
|
651
635
|
}
|
|
652
|
-
`;function
|
|
636
|
+
`;function kd(e){return p.jsx(Ed,{...e})}const bn=m.keyframes`
|
|
653
637
|
from {
|
|
654
638
|
transform: translate(-50%, -50%) scale(0.8);
|
|
655
639
|
}
|
|
@@ -657,14 +641,14 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
657
641
|
to {
|
|
658
642
|
transform: translate(-50%, -50%) scale(1);
|
|
659
643
|
}
|
|
660
|
-
`,
|
|
644
|
+
`,It=m.styled(D.Dialog)`
|
|
661
645
|
padding: 2rem;
|
|
662
646
|
outline: none;
|
|
663
647
|
box-shadow: 0 0.5rem 1.5rem rgba(0 0 0 / 0.1);
|
|
664
648
|
border-radius: 0.5rem;
|
|
665
|
-
background: ${({theme:e})=>{var
|
|
649
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
666
650
|
border: 1px solid
|
|
667
|
-
${({theme:e})=>{var t
|
|
651
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
668
652
|
outline: none;
|
|
669
653
|
max-width: max-content;
|
|
670
654
|
width: 100vw;
|
|
@@ -672,33 +656,33 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
672
656
|
top: 50%;
|
|
673
657
|
left: 50%;
|
|
674
658
|
transform: translate(-50%, -50%);
|
|
675
|
-
`,
|
|
676
|
-
[data-entering] ${
|
|
677
|
-
animation: ${
|
|
659
|
+
`,Sd=m.createGlobalStyle`
|
|
660
|
+
[data-entering] ${It} {
|
|
661
|
+
animation: ${bn} 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
678
662
|
}
|
|
679
663
|
|
|
680
|
-
[data-exiting] ${
|
|
681
|
-
animation: ${
|
|
664
|
+
[data-exiting] ${It} {
|
|
665
|
+
animation: ${bn} 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275) reverse;
|
|
682
666
|
}
|
|
683
|
-
`;function
|
|
667
|
+
`;function Td(e){return p.jsxs(p.Fragment,{children:[p.jsx(Sd,{}),p.jsx(It,{...e})]})}const Pd=m.keyframes`
|
|
684
668
|
from { transform: translateY(-100%); }
|
|
685
669
|
to { transform: translateY(0); }
|
|
686
|
-
`,
|
|
670
|
+
`,Rd=m.keyframes`
|
|
687
671
|
from { transform: translateX(100%); }
|
|
688
672
|
to { transform: translateX(0); }
|
|
689
|
-
`,
|
|
673
|
+
`,Od=m.keyframes`
|
|
690
674
|
from { transform: translateY(100%); }
|
|
691
675
|
to { transform: translateY(0); }
|
|
692
|
-
`,
|
|
676
|
+
`,jd=m.keyframes`
|
|
693
677
|
from { transform: translateX(-100%); }
|
|
694
678
|
to { transform: translateX(0); }
|
|
695
|
-
`,
|
|
679
|
+
`,At=m.styled(D.Dialog)`
|
|
696
680
|
padding: 2rem;
|
|
697
681
|
position: fixed;
|
|
698
682
|
outline: none;
|
|
699
|
-
background: ${({theme:e})=>{var
|
|
683
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
700
684
|
border: 0
|
|
701
|
-
${({theme:e})=>{var t
|
|
685
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}}
|
|
702
686
|
solid;
|
|
703
687
|
animation-duration: 300ms;
|
|
704
688
|
|
|
@@ -725,41 +709,41 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
725
709
|
border-right-width: 1px;
|
|
726
710
|
box-shadow: 0.5rem 0 1.5rem rgba(0 0 0 / 0.1);
|
|
727
711
|
}
|
|
728
|
-
`,
|
|
729
|
-
[data-exiting] ${
|
|
712
|
+
`,Md=m.createGlobalStyle`
|
|
713
|
+
[data-exiting] ${At} {
|
|
730
714
|
animation-direction: reverse;
|
|
731
715
|
animation-timing-function: ease-in;
|
|
732
716
|
}
|
|
733
717
|
|
|
734
718
|
[data-entering],
|
|
735
719
|
[data-exiting] {
|
|
736
|
-
${
|
|
720
|
+
${At} {
|
|
737
721
|
&[data-direction='top'] {
|
|
738
|
-
animation-name: ${
|
|
722
|
+
animation-name: ${Pd};
|
|
739
723
|
}
|
|
740
724
|
|
|
741
725
|
&[data-direction='right'] {
|
|
742
|
-
animation-name: ${
|
|
726
|
+
animation-name: ${Rd};
|
|
743
727
|
}
|
|
744
728
|
|
|
745
729
|
&[data-direction='bottom'] {
|
|
746
|
-
animation-name: ${
|
|
730
|
+
animation-name: ${Od};
|
|
747
731
|
}
|
|
748
732
|
|
|
749
733
|
&[data-direction='left'] {
|
|
750
|
-
animation-name: ${
|
|
734
|
+
animation-name: ${jd};
|
|
751
735
|
}
|
|
752
736
|
}
|
|
753
737
|
}
|
|
754
|
-
`;function
|
|
738
|
+
`;function va({direction:e,...r}){return p.jsxs(p.Fragment,{children:[p.jsx(Md,{}),p.jsx(At,{"data-direction":e,...r})]})}va.defaultProps={direction:"right"};const _d=m.styled(D.NumberField)`
|
|
755
739
|
display: flex;
|
|
756
740
|
flex-direction: column;
|
|
757
741
|
width: 100%;
|
|
758
|
-
`,
|
|
742
|
+
`,Id=m.styled(D.Group)`
|
|
759
743
|
display: flex;
|
|
760
744
|
border-radius: 0.375rem;
|
|
761
745
|
|
|
762
|
-
${
|
|
746
|
+
${Me} {
|
|
763
747
|
cursor: pointer;
|
|
764
748
|
padding: 0;
|
|
765
749
|
width: 2.5rem;
|
|
@@ -779,7 +763,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
779
763
|
}
|
|
780
764
|
}
|
|
781
765
|
|
|
782
|
-
${
|
|
766
|
+
${Ge} {
|
|
783
767
|
border-radius: 0;
|
|
784
768
|
|
|
785
769
|
&[data-focused] {
|
|
@@ -788,187 +772,187 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
788
772
|
}
|
|
789
773
|
|
|
790
774
|
&[data-hovered] {
|
|
791
|
-
${
|
|
792
|
-
border-color: ${({theme:e})=>{var t
|
|
775
|
+
${Me}, ${Ge} {
|
|
776
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
793
777
|
}
|
|
794
778
|
}
|
|
795
779
|
|
|
796
780
|
&[data-focus-within] {
|
|
797
781
|
outline: 2px solid
|
|
798
|
-
${({theme:e})=>{var t
|
|
782
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
799
783
|
|
|
800
784
|
&[data-invalid] {
|
|
801
785
|
outline: 2px solid
|
|
802
|
-
${({theme:e})=>{var t
|
|
786
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
803
787
|
}
|
|
804
788
|
|
|
805
|
-
${
|
|
806
|
-
border-color: ${({theme:e})=>{var t
|
|
789
|
+
${Me}, ${Ge} {
|
|
790
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
807
791
|
}
|
|
808
792
|
}
|
|
809
793
|
|
|
810
794
|
&[data-disabled] {
|
|
811
|
-
background: ${({theme:e})=>{var t
|
|
795
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
812
796
|
|
|
813
|
-
${
|
|
797
|
+
${Me} {
|
|
814
798
|
cursor: default;
|
|
815
799
|
}
|
|
816
800
|
|
|
817
|
-
${
|
|
818
|
-
border-color: ${({theme:e})=>{var t
|
|
801
|
+
${Me}, ${Ge} {
|
|
802
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
819
803
|
}
|
|
820
804
|
}
|
|
821
805
|
|
|
822
806
|
&[data-invalid] {
|
|
823
|
-
${
|
|
824
|
-
border-color: ${({theme:e})=>{var t
|
|
825
|
-
background: ${({theme:e})=>{var t
|
|
826
|
-
color: ${({theme:e})=>{var t
|
|
807
|
+
${Me}, ${Ge} {
|
|
808
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
809
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
810
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
827
811
|
|
|
828
812
|
&[data-hovered] {
|
|
829
|
-
border-color: ${({theme:e})=>{var t
|
|
813
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
830
814
|
}
|
|
831
815
|
|
|
832
816
|
&[data-focused] {
|
|
833
|
-
border-color: ${({theme:e})=>{var t
|
|
817
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
834
818
|
}
|
|
835
819
|
}
|
|
836
820
|
}
|
|
837
821
|
|
|
838
822
|
&[aria-readonly] {
|
|
839
|
-
${
|
|
840
|
-
background: ${({theme:e})=>{var t
|
|
841
|
-
border-color: ${({theme:e})=>{var t
|
|
842
|
-
color: ${({theme:e})=>{var t
|
|
823
|
+
${Me} {
|
|
824
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
825
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
826
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
843
827
|
cursor: default;
|
|
844
828
|
}
|
|
845
829
|
}
|
|
846
|
-
`,
|
|
830
|
+
`,Ad=p.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M5 12H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Ld=p.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M12 5V19M5 12H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function ya({label:e,description:r,errorMessage:t,isInvalid:o,isReadOnly:n,slots:s,...i}){return p.jsxs(_d,{isInvalid:o,...i,children:[p.jsx(fa,{children:e}),p.jsxs(Id,{isInvalid:o,"aria-readonly":n,children:[p.jsx(Me,{variant:"outline",slot:"decrement",children:s==null?void 0:s.decrementIcon}),p.jsx(Ge,{readOnly:n}),p.jsx(Me,{variant:"outline",slot:"increment",children:s==null?void 0:s.incrementIcon})]}),r&&p.jsx(ba,{slot:"description",children:r}),p.jsx(pa,{children:t})]})}ya.defaultProps={label:void 0,description:void 0,errorMessage:void 0,slots:{decrementIcon:Ad,incrementIcon:Ld}};const Nd=m.styled(D.Group)`
|
|
847
831
|
display: flex;
|
|
848
832
|
flex-wrap: wrap;
|
|
849
833
|
gap: 0.5rem;
|
|
850
|
-
`,
|
|
834
|
+
`,Dd=m.styled(D.Input)`
|
|
851
835
|
border: 1px solid
|
|
852
|
-
${({theme:e})=>{var t
|
|
836
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
853
837
|
font-size: 0.9rem;
|
|
854
838
|
padding: 0 0.5rem;
|
|
855
839
|
height: 2.5rem;
|
|
856
840
|
margin: 0;
|
|
857
841
|
border-radius: 0.375rem;
|
|
858
|
-
background: ${({theme:e})=>{var
|
|
859
|
-
color: ${({theme:e})=>{var t
|
|
842
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
843
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
860
844
|
width: 100%;
|
|
861
845
|
text-align: center;
|
|
862
846
|
transition: all ease 200ms;
|
|
863
847
|
|
|
864
848
|
&[data-hovered] {
|
|
865
849
|
border: 1px solid
|
|
866
|
-
${({theme:e})=>{var t
|
|
850
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
867
851
|
}
|
|
868
852
|
|
|
869
853
|
&[data-focused] {
|
|
870
854
|
border: 1px solid
|
|
871
|
-
${({theme:e})=>{var t
|
|
855
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
872
856
|
outline: 2px solid
|
|
873
|
-
${({theme:e})=>{var t
|
|
857
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
874
858
|
}
|
|
875
859
|
|
|
876
860
|
&[data-disabled] {
|
|
877
861
|
border: 1px solid
|
|
878
|
-
${({theme:e})=>{var t
|
|
879
|
-
background: ${({theme:e})=>{var t
|
|
862
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
863
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
880
864
|
}
|
|
881
865
|
|
|
882
866
|
&[data-invalid] {
|
|
883
867
|
border: 1px solid
|
|
884
|
-
${({theme:e})=>{var t
|
|
885
|
-
background: ${({theme:e})=>{var t
|
|
886
|
-
color: ${({theme:e})=>{var t
|
|
868
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
869
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
870
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
887
871
|
|
|
888
872
|
&[data-hovered] {
|
|
889
873
|
border: 1px solid
|
|
890
|
-
${({theme:e})=>{var t
|
|
874
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
891
875
|
}
|
|
892
876
|
|
|
893
877
|
&[data-focused] {
|
|
894
878
|
border: 1px solid
|
|
895
|
-
${({theme:e})=>{var t
|
|
879
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
896
880
|
outline: 2px solid
|
|
897
|
-
${({theme:e})=>{var t
|
|
881
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
898
882
|
}
|
|
899
883
|
}
|
|
900
884
|
|
|
901
885
|
::placeholder {
|
|
902
|
-
color: ${({theme:e})=>{var t
|
|
886
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
903
887
|
}
|
|
904
|
-
`,
|
|
888
|
+
`,Fd=m.styled(D.Label)`
|
|
905
889
|
display: flex;
|
|
906
890
|
flex: 1 0 100%;
|
|
907
891
|
font-size: 0.8rem;
|
|
908
|
-
color: ${({theme:e})=>{var t
|
|
909
|
-
`,
|
|
892
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
893
|
+
`,zd=m.styled(D.TextField)`
|
|
910
894
|
display: flex;
|
|
911
895
|
flex-direction: column;
|
|
912
896
|
width: 100%;
|
|
913
897
|
flex: 1;
|
|
914
|
-
color: ${({theme:e})=>{var t
|
|
915
|
-
`,
|
|
898
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
899
|
+
`,Vd=m.styled(D.TextField)`
|
|
916
900
|
display: flex;
|
|
917
901
|
flex-direction: row;
|
|
918
902
|
flex-wrap: wrap;
|
|
919
903
|
flex: 1 0 100%;
|
|
920
|
-
color: ${({theme:e})=>{var t
|
|
921
|
-
`,
|
|
904
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
905
|
+
`,Bd=m.styled(D.FieldError)`
|
|
922
906
|
display: flex;
|
|
923
907
|
flex: 1 0 100%;
|
|
924
|
-
color: ${({theme:e})=>{var t
|
|
908
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
925
909
|
font-size: 0.8rem;
|
|
926
|
-
`,
|
|
910
|
+
`,Hd=m.styled(D.Text)`
|
|
927
911
|
display: flex;
|
|
928
912
|
flex: 1 0 100%;
|
|
929
|
-
color: ${({theme:e})=>{var t
|
|
913
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
930
914
|
font-size: 0.8rem;
|
|
931
|
-
`;function
|
|
915
|
+
`;function $a({description:e,errorMessage:r,isDisabled:t=!1,isInvalid:o=!1,isMasked:n=!1,isRequired:s=!0,label:i,length:l=6,name:u,onChange:g,value:b="",type:y="numeric",validationBehavior:h="native",...v}){d.useState(-1);const[x,E]=d.useState(b),[k,T]=d.useState(Array(l).fill("")),M=d.useRef([]);d.useEffect(()=>{M.current=M.current.slice(0,l)},[l]),d.useEffect(()=>{const P=k.join("");E(P),g&&g(P)},[g,k]);const _=P=>{var J,q;const F=P.target.value,L=Number(P.target.getAttribute("data-pin-input-index"));F!==""&&L<k.length-1&&((q=(J=M.current)==null?void 0:J[L+1])==null||q.focus());const N=k.map((j,H)=>H===L?F:j);T(N)},I=P=>{var J,q,j,H;const F=Number(P.currentTarget.getAttribute("data-pin-input-index"));if(P.ctrlKey||P.metaKey)return;const L=["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Control","Alt","Meta","Shift","Tab","Enter","Escape"],N={alpha:/^[a-z]$/i,alphanumeric:/^[a-z0-9]$/i,numeric:/^[0-9]$/i};if(!P.key.match(N[y])&&!L.includes(P.key)&&P.preventDefault(),k[F]===""&&F>0&&P.key==="Backspace"){const z=k.map((V,G)=>G===F-1?"":V);T(z),(q=(J=M.current)==null?void 0:J[F-1])==null||q.focus(),P.preventDefault()}if(k[F]===""&&F<k.length-1&&P.key==="Delete"){const z=k.map((V,G)=>G===F+1?"":V);T(z),(H=(j=M.current)==null?void 0:j[F+1])==null||H.focus(),P.preventDefault()}},O=P=>{var H,z;const F=Number(P.currentTarget.getAttribute("data-pin-input-index"));P.preventDefault();const L=(H=P.clipboardData)==null?void 0:H.getData("text");if(!L)return;const N=L.split("").filter(V=>{switch(y){case"alpha":return/^[a-zA-Z]$/.test(V);case"alphanumeric":return/^[a-z0-9]$/i.test(V);case"numeric":default:return/^[0-9]$/.test(V)}});if(N.length===0)return;const J=[...k];let q=F;for(let V=0;V<N.length&&F+V<l;V++)J[F+V]=N[V],q=F+V;T(J);const j=q+1<l?q+1:l-1;(z=M.current[j])==null||z.focus()};return p.jsxs(Nd,{...v,"aria-label":i,children:[p.jsx(Fd,{children:i}),k.map((P,F)=>p.jsx(zd,{"aria-label":`Pin Input Digit ${F+1}`,isDisabled:t,isInvalid:o,isRequired:s,validationBehavior:h,children:p.jsx(Dd,{onChange:_,onKeyDown:I,onPaste:O,type:n?"password":"text",ref:L=>L?M.current[F]=L:null,value:P,maxLength:1,name:u&&`${u}-${F}`,"data-pin-input-index":F})},`pin-input-${F}`)),p.jsxs(Vd,{"aria-label":"Pin Input",isDisabled:t,isInvalid:o,isRequired:s,validationBehavior:h,children:[u&&p.jsx(D.Input,{type:"hidden",name:u,value:x}),e&&p.jsx(Hd,{slot:"description",children:e}),p.jsx(Bd,{children:r})]})]})}$a.defaultProps={description:void 0,errorMessage:void 0,isMasked:!1,isRequired:!0,label:void 0,length:6,name:"",onChange:()=>{},value:"",type:"numeric",validationBehavior:"native"};const Gd=m.styled(D.ProgressBar)`
|
|
932
916
|
display: flex;
|
|
933
|
-
`,
|
|
917
|
+
`,Wd=m.styled.div`
|
|
934
918
|
display: flex;
|
|
935
919
|
flex-direction: column;
|
|
936
920
|
align-items: center;
|
|
937
|
-
`,
|
|
921
|
+
`,Ud=m.styled(D.Label)`
|
|
938
922
|
font-size: 0.875rem;
|
|
939
|
-
`,
|
|
940
|
-
stroke: ${({theme:e})=>{var t
|
|
941
|
-
`,
|
|
942
|
-
stroke: ${({theme:e})=>{var t
|
|
923
|
+
`,Kd=m.styled.circle`
|
|
924
|
+
stroke: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
925
|
+
`,Yd=m.styled.circle`
|
|
926
|
+
stroke: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[800])??c.colors.slate[800]}};
|
|
943
927
|
transition: stroke-dashoffset 600ms ease-in-out;
|
|
944
|
-
`,
|
|
928
|
+
`,Xd=m.styled.text`
|
|
945
929
|
font-size: 0.875rem;
|
|
946
|
-
fill: ${({theme:e})=>{var t
|
|
947
|
-
`;function
|
|
930
|
+
fill: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[800])??c.colors.slate[800]}};
|
|
931
|
+
`;function qd({label:e,value:r=0,showValue:t=!0,size:o=60,strokeWidth:n=6,...s}){const i=o/2,l=i-n,u=2*Math.PI*l;return p.jsx(Gd,{"aria-label":"Loading...",...s,value:r,children:({percentage:g=0})=>p.jsxs(Wd,{children:[p.jsx(Ud,{children:e}),p.jsxs("svg",{width:o,height:o,fill:"none",children:[p.jsx(Kd,{cx:i,cy:i,r:l,strokeWidth:n}),p.jsx(Yd,{cx:i,cy:i,r:l,strokeWidth:n,strokeDasharray:`${u} ${u}`,strokeDashoffset:(100-g)/100*u,strokeLinecap:"round",transform:`rotate(-90 ${i} ${i})`}),t&&p.jsxs(Xd,{x:"50%",y:"50%",alignmentBaseline:"middle",textAnchor:"middle",children:[g,"%"]})]})]})})}const Zd=m.styled(D.ProgressBar)`
|
|
948
932
|
width: ${({width:e})=>e||"100%"};
|
|
949
933
|
overflow: hidden;
|
|
950
|
-
`,
|
|
934
|
+
`,Jd=m.styled.div`
|
|
951
935
|
display: flex;
|
|
952
936
|
align-items: center;
|
|
953
937
|
justify-content: space-between;
|
|
954
938
|
gap: 0.5rem;
|
|
955
939
|
margin-bottom: 0.3rem;
|
|
956
|
-
`,
|
|
940
|
+
`,Qd=m.styled(D.Label)`
|
|
957
941
|
font-size: 0.875rem;
|
|
958
|
-
`,
|
|
942
|
+
`,eu=m.styled.span`
|
|
959
943
|
font-size: 0.875rem;
|
|
960
|
-
`,
|
|
944
|
+
`,ru=m.styled.div`
|
|
961
945
|
forced-color-adjust: none;
|
|
962
946
|
height: 0.625rem;
|
|
963
947
|
border-radius: 0.3rem;
|
|
964
948
|
overflow: hidden;
|
|
965
949
|
will-change: transform;
|
|
966
|
-
background: ${({theme:e})=>{var t
|
|
967
|
-
`,
|
|
968
|
-
width: ${({width:e,isIndeterminate:
|
|
950
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
951
|
+
`,tu=m.styled.div`
|
|
952
|
+
width: ${({width:e,isIndeterminate:r})=>r?"40%":e};
|
|
969
953
|
transition: ${({isIndeterminate:e})=>e?"none":"width 600ms ease-in-out"};
|
|
970
954
|
height: 100%;
|
|
971
|
-
background: ${({theme:e})=>{var t
|
|
955
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[800])??c.colors.slate[800]}};
|
|
972
956
|
border-radius: inherit;
|
|
973
957
|
animation: ${({isIndeterminate:e})=>e?"indeterminate 1.5s infinite ease-in-out":"none"};
|
|
974
958
|
|
|
@@ -981,117 +965,117 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
981
965
|
transform: translateX(250px);
|
|
982
966
|
}
|
|
983
967
|
}
|
|
984
|
-
`;function
|
|
968
|
+
`;function ou({label:e,isIndeterminate:r,showValue:t=!0,width:o,...n}){return p.jsx(Zd,{...n,width:o,children:({percentage:s,valueText:i})=>p.jsxs(p.Fragment,{children:[p.jsxs(Jd,{children:[p.jsx(Qd,{children:e}),t&&p.jsx(eu,{children:i})]}),p.jsx(ru,{children:p.jsx(tu,{isIndeterminate:r,width:typeof s=="number"?`${s}%`:""})})]})})}const nu=m.styled(D.ComboBox)`
|
|
985
969
|
display: flex;
|
|
986
970
|
flex-direction: column;
|
|
987
971
|
width: 100%;
|
|
988
|
-
`,
|
|
972
|
+
`,au=m.styled.div`
|
|
989
973
|
display: flex;
|
|
990
974
|
position: relative;
|
|
991
975
|
width: 100%;
|
|
992
|
-
`,
|
|
976
|
+
`,su=m.styled(Re.motion(D.Popover))`
|
|
993
977
|
padding: 0.4rem 0;
|
|
994
978
|
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
995
979
|
border-radius: 0.375rem;
|
|
996
980
|
width: 14rem;
|
|
997
981
|
background: #fff;
|
|
998
982
|
border: 1px solid
|
|
999
|
-
${({theme:e})=>{var t
|
|
1000
|
-
`,
|
|
983
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
984
|
+
`,iu=m.styled(D.Input).withConfig({shouldForwardProp:e=>!["isLoading"].includes(e)})`
|
|
1001
985
|
border: 1px solid
|
|
1002
|
-
${({theme:e})=>{var t
|
|
986
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1003
987
|
font-size: 0.9rem;
|
|
1004
988
|
padding: 0 0.5rem;
|
|
1005
989
|
height: 2.5rem;
|
|
1006
990
|
margin: 0;
|
|
1007
991
|
border-radius: 0.375rem;
|
|
1008
|
-
background: ${({theme:e})=>{var
|
|
1009
|
-
color: ${({theme:e})=>{var t
|
|
992
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
993
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1010
994
|
width: 100%;
|
|
1011
995
|
transition: all ease 200ms;
|
|
1012
996
|
|
|
1013
997
|
&[data-hovered] {
|
|
1014
998
|
border: 1px solid
|
|
1015
|
-
${({theme:e})=>{var t
|
|
999
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1016
1000
|
}
|
|
1017
1001
|
|
|
1018
1002
|
&[data-focused] {
|
|
1019
1003
|
border: 1px solid
|
|
1020
|
-
${({theme:e})=>{var t
|
|
1004
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1021
1005
|
outline: 2px solid
|
|
1022
|
-
${({theme:e})=>{var t
|
|
1006
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1023
1007
|
}
|
|
1024
1008
|
|
|
1025
1009
|
&[data-disabled] {
|
|
1026
|
-
background: ${({isLoading:e,theme:
|
|
1010
|
+
background: ${({isLoading:e,theme:r})=>{var t,o,n;return e?((t=r==null?void 0:r.colors)==null?void 0:t.white)??c.colors.white:((n=(o=r==null?void 0:r.colors)==null?void 0:o.slate)==null?void 0:n[100])??c.colors.slate[100]}};
|
|
1027
1011
|
border: 1px solid
|
|
1028
|
-
${({theme:e})=>{var t
|
|
1029
|
-
color: ${({isLoading:e,theme:
|
|
1012
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1013
|
+
color: ${({isLoading:e,theme:r})=>{var t,o,n,s;return e?((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[900])??c.colors.slate[900]:((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[500])??c.colors.slate[500]}};
|
|
1030
1014
|
}
|
|
1031
1015
|
|
|
1032
1016
|
&[data-invalid] {
|
|
1033
1017
|
border: 1px solid
|
|
1034
|
-
${({theme:e})=>{var t
|
|
1035
|
-
background: ${({theme:e})=>{var t
|
|
1036
|
-
color: ${({theme:e})=>{var t
|
|
1018
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1019
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
1020
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
1037
1021
|
|
|
1038
1022
|
&[data-hovered] {
|
|
1039
1023
|
border: 1px solid
|
|
1040
|
-
${({theme:e})=>{var t
|
|
1024
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
1041
1025
|
}
|
|
1042
1026
|
|
|
1043
1027
|
&[data-focused] {
|
|
1044
1028
|
border: 1px solid
|
|
1045
|
-
${({theme:e})=>{var t
|
|
1029
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
1046
1030
|
outline: 2px solid
|
|
1047
|
-
${({theme:e})=>{var t
|
|
1031
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
1048
1032
|
}
|
|
1049
1033
|
|
|
1050
1034
|
::placeholder {
|
|
1051
|
-
color: ${({theme:e})=>{var t
|
|
1035
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1052
1036
|
}
|
|
1053
1037
|
}
|
|
1054
1038
|
|
|
1055
1039
|
::placeholder {
|
|
1056
|
-
color: ${({theme:e})=>{var t
|
|
1040
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1057
1041
|
}
|
|
1058
|
-
`,
|
|
1042
|
+
`,lu=m.styled.svg.withConfig({shouldForwardProp:e=>!["isDisabled","isInvalid","isOpen"].includes(e)})`
|
|
1059
1043
|
transition: all ease 200ms;
|
|
1060
1044
|
transform: rotate(${({isOpen:e})=>e?"180deg":"0"});
|
|
1061
1045
|
|
|
1062
1046
|
path {
|
|
1063
|
-
stroke: ${({isDisabled:e,isInvalid:
|
|
1047
|
+
stroke: ${({isDisabled:e,isInvalid:r,theme:t})=>{var o,n,s,i,l,u;return r?((n=(o=t==null?void 0:t.colors)==null?void 0:o.red)==null?void 0:n[500])??c.colors.red[500]:e?((i=(s=t==null?void 0:t.colors)==null?void 0:s.slate)==null?void 0:i[400])??c.colors.slate[400]:((u=(l=t==null?void 0:t.colors)==null?void 0:l.slate)==null?void 0:u[900])??c.colors.slate[900]}};
|
|
1064
1048
|
}
|
|
1065
|
-
`,
|
|
1049
|
+
`,cu=m.styled.div`
|
|
1066
1050
|
position: absolute;
|
|
1067
1051
|
display: block;
|
|
1068
1052
|
top: 0.5rem;
|
|
1069
1053
|
right: 0.5rem;
|
|
1070
|
-
`,
|
|
1054
|
+
`,du=m.styled(D.Button)`
|
|
1071
1055
|
position: absolute;
|
|
1072
1056
|
display: block;
|
|
1073
1057
|
top: 0.5rem;
|
|
1074
1058
|
right: 0;
|
|
1075
1059
|
border: none;
|
|
1076
1060
|
background: none;
|
|
1077
|
-
`,
|
|
1061
|
+
`,uu=m.styled(D.Label)`
|
|
1078
1062
|
display: flex;
|
|
1079
1063
|
font-size: 0.8rem;
|
|
1080
|
-
color: ${({theme:e})=>{var t
|
|
1081
|
-
`;
|
|
1064
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1065
|
+
`;m.styled(D.TextField)`
|
|
1082
1066
|
display: flex;
|
|
1083
1067
|
flex-direction: column;
|
|
1084
1068
|
width: 100%;
|
|
1085
|
-
color: ${({theme:e})=>{var t
|
|
1086
|
-
`;const
|
|
1069
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1070
|
+
`;const fu=m.styled(D.FieldError)`
|
|
1087
1071
|
display: flex;
|
|
1088
|
-
color: ${({theme:e})=>{var t
|
|
1072
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1089
1073
|
font-size: 0.8rem;
|
|
1090
|
-
`,
|
|
1074
|
+
`,pu=m.styled(D.Text)`
|
|
1091
1075
|
display: flex;
|
|
1092
|
-
color: ${({theme:e})=>{var t
|
|
1076
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1093
1077
|
font-size: 0.8rem;
|
|
1094
|
-
`,
|
|
1078
|
+
`,bu=m.styled(D.ListBoxItem)`
|
|
1095
1079
|
display: flex;
|
|
1096
1080
|
flex: 1 1 auto;
|
|
1097
1081
|
align-items: center;
|
|
@@ -1102,43 +1086,43 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1102
1086
|
margin-right: 0.4rem;
|
|
1103
1087
|
cursor: default;
|
|
1104
1088
|
outline: none;
|
|
1105
|
-
color: ${({theme:e})=>{var t
|
|
1089
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1106
1090
|
transition: all ease 0.25s;
|
|
1107
1091
|
|
|
1108
1092
|
&[data-hovered] {
|
|
1109
|
-
background: ${({theme:e})=>{var t
|
|
1110
|
-
color: ${({theme:e})=>{var t
|
|
1093
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1094
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1111
1095
|
}
|
|
1112
1096
|
|
|
1113
1097
|
&[data-focused] {
|
|
1114
|
-
background: ${({theme:e})=>{var t
|
|
1115
|
-
color: ${({theme:e})=>{var t
|
|
1098
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1099
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1116
1100
|
}
|
|
1117
1101
|
|
|
1118
1102
|
&[data-pressed] {
|
|
1119
|
-
background: ${({theme:e})=>{var t
|
|
1120
|
-
color: ${({theme:e})=>{var t
|
|
1103
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1104
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1121
1105
|
}
|
|
1122
1106
|
|
|
1123
1107
|
&[data-selected] {
|
|
1124
1108
|
background: none;
|
|
1125
|
-
color: ${({theme:e})=>{var t
|
|
1109
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1126
1110
|
font-weight: 600;
|
|
1127
1111
|
|
|
1128
1112
|
&[data-focused] {
|
|
1129
|
-
background: ${({theme:e})=>{var t
|
|
1113
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1130
1114
|
}
|
|
1131
1115
|
}
|
|
1132
1116
|
|
|
1133
1117
|
&[data-disabled] {
|
|
1134
1118
|
background: none;
|
|
1135
|
-
color: ${({theme:e})=>{var t
|
|
1119
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1136
1120
|
}
|
|
1137
|
-
`;function
|
|
1121
|
+
`;function gu(e){return p.jsx(bu,{...e})}const vu=m.keyframes`
|
|
1138
1122
|
100% {
|
|
1139
1123
|
transform: rotate(360deg);
|
|
1140
1124
|
}
|
|
1141
|
-
`,
|
|
1125
|
+
`,yu=m.keyframes`
|
|
1142
1126
|
0% {
|
|
1143
1127
|
stroke-dasharray: 1, 200;
|
|
1144
1128
|
stroke-dashoffset: 0;
|
|
@@ -1151,7 +1135,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1151
1135
|
stroke-dasharray: 89, 200;
|
|
1152
1136
|
stroke-dashoffset: -124px;
|
|
1153
1137
|
}
|
|
1154
|
-
|
|
1138
|
+
`,$u=m.styled.div`
|
|
1155
1139
|
position: relative;
|
|
1156
1140
|
margin: 0;
|
|
1157
1141
|
width: ${({width:e})=>e}px;
|
|
@@ -1160,8 +1144,8 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1160
1144
|
display: block;
|
|
1161
1145
|
padding-top: 100%;
|
|
1162
1146
|
}
|
|
1163
|
-
`,
|
|
1164
|
-
animation: ${
|
|
1147
|
+
`,xu=m.styled.svg`
|
|
1148
|
+
animation: ${vu} 2s linear infinite;
|
|
1165
1149
|
height: 100%;
|
|
1166
1150
|
transform-origin: center center;
|
|
1167
1151
|
width: 100%;
|
|
@@ -1171,12 +1155,12 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1171
1155
|
left: 0;
|
|
1172
1156
|
right: 0;
|
|
1173
1157
|
margin: auto;
|
|
1174
|
-
`,
|
|
1158
|
+
`,wu=m.styled.circle`
|
|
1175
1159
|
stroke: ${({stroke:e})=>e};
|
|
1176
1160
|
stroke-dasharray: 1, 200;
|
|
1177
1161
|
stroke-dashoffset: 0;
|
|
1178
|
-
animation: ${
|
|
1179
|
-
`;function
|
|
1162
|
+
animation: ${yu} 1.5s ease-in-out infinite;
|
|
1163
|
+
`;function mu({width:e,stroke:r,strokeLinecap:t="round",strokeWidth:o=5,...n}){return p.jsx($u,{width:e,...n,children:p.jsx(xu,{viewBox:"25 25 50 50",children:p.jsx(wu,{className:"path",cx:"50",cy:"50",fill:"none",r:"20",stroke:r,strokeLinecap:t,strokeMiterlimit:"10",strokeWidth:o})})})}const hu=m.keyframes`
|
|
1180
1164
|
0% {
|
|
1181
1165
|
transform: scale(1);
|
|
1182
1166
|
opacity: 1;
|
|
@@ -1189,30 +1173,30 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1189
1173
|
transform: scale(1);
|
|
1190
1174
|
opacity: 1;
|
|
1191
1175
|
}
|
|
1192
|
-
`,
|
|
1193
|
-
background-color: ${({theme:e})=>{var t
|
|
1176
|
+
`,gt=m.styled.span`
|
|
1177
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1194
1178
|
display: inline-block;
|
|
1195
1179
|
width: 0.5rem;
|
|
1196
1180
|
height: 0.5rem;
|
|
1197
1181
|
margin: 0.1rem;
|
|
1198
1182
|
border-radius: 0.5rem;
|
|
1199
|
-
animation: ${
|
|
1183
|
+
animation: ${hu}
|
|
1200
1184
|
${({speedMultiplier:e})=>.75/e}s
|
|
1201
|
-
${({i:e,speedMultiplier:
|
|
1185
|
+
${({i:e,speedMultiplier:r})=>e*.12/r}s infinite
|
|
1202
1186
|
cubic-bezier(0.2, 0.68, 0.18, 1.08);
|
|
1203
1187
|
animation-fill-mode: both;
|
|
1204
|
-
`;function
|
|
1205
|
-
--label-color: ${({theme:e})=>{var t
|
|
1206
|
-
--track-background: ${({theme:e})=>{var t
|
|
1207
|
-
--thumb-background: ${({theme:e})=>{var t
|
|
1208
|
-
--thumb-background-dragging: ${({theme:e})=>{var t
|
|
1209
|
-
--thumb-border-color: ${({theme:e})=>{var
|
|
1188
|
+
`;function xa(){return p.jsxs("span",{children:[p.jsx(gt,{speedMultiplier:1,i:1}),p.jsx(gt,{speedMultiplier:1,i:2}),p.jsx(gt,{speedMultiplier:1,i:3})]})}function wa({label:e,description:r,errorMessage:t,children:o,placeholder:n,key:s,isLoading:i,...l}){const[u,g]=d.useState("unmounted"),b=d.useRef(null),[y,h]=d.useState(!1);return p.jsxs(nu,{ref:b,onOpenChange:()=>{g(u==="visible"?"hidden":"visible"),h(!y)},isDisabled:l.isDisabled||i,...l,children:[p.jsx(uu,{children:e}),p.jsxs(au,{children:[p.jsx(iu,{placeholder:n,isLoading:i??!1}),i?p.jsx(cu,{children:p.jsx(xa,{})}):p.jsx(du,{children:p.jsx(lu,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",isOpen:u==="visible",isDisabled:!!l.isDisabled,isInvalid:!!l.isInvalid,children:p.jsx("path",{d:"M6 9L12 15L18 9",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),r&&p.jsx(pu,{slot:"description",children:r}),p.jsx(fu,{children:t}),p.jsx(su,{isOpen:y,style:{width:b.current?b.current.getBoundingClientRect().width:"14rem"},isExiting:u==="hidden",onAnimationComplete:v=>{g(x=>v==="hidden"&&x==="hidden"?"unmounted":x)},variants:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0}},initial:"hidden",animate:u,children:p.jsx(D.ListBox,{style:{maxHeight:"20rem",overflowY:"scroll"},children:o})},s)]})}wa.defaultProps={label:void 0,description:void 0,errorMessage:void 0,placeholder:"",key:void 0,isLoading:!1};const Cu=m.styled(D.Slider)`
|
|
1189
|
+
--label-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1190
|
+
--track-background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1191
|
+
--thumb-background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1192
|
+
--thumb-background-dragging: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1193
|
+
--thumb-border-color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1210
1194
|
--thumb-cursor: pointer;
|
|
1211
1195
|
|
|
1212
1196
|
&[data-disabled] {
|
|
1213
|
-
--label-color: ${({theme:e})=>{var t
|
|
1214
|
-
--track-background: ${({theme:e})=>{var t
|
|
1215
|
-
--thumb-background: ${({theme:e})=>{var t
|
|
1197
|
+
--label-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1198
|
+
--track-background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1199
|
+
--thumb-background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1216
1200
|
--thumb-cursor: default;
|
|
1217
1201
|
}
|
|
1218
1202
|
|
|
@@ -1227,19 +1211,19 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1227
1211
|
height: 100%;
|
|
1228
1212
|
width: 2rem;
|
|
1229
1213
|
}
|
|
1230
|
-
`,
|
|
1214
|
+
`,Eu=m.styled(D.Label)`
|
|
1231
1215
|
display: flex;
|
|
1232
1216
|
flex: 1 1 0;
|
|
1233
1217
|
font-size: 0.8rem;
|
|
1234
1218
|
color: var(--label-color);
|
|
1235
|
-
`,
|
|
1219
|
+
`,ku=m.styled(D.SliderOutput)`
|
|
1236
1220
|
display: flex;
|
|
1237
1221
|
flex: 0 1 0;
|
|
1238
1222
|
margin-left: auto;
|
|
1239
1223
|
justify-content: flex-end;
|
|
1240
1224
|
font-size: 0.8rem;
|
|
1241
1225
|
color: var(--label-color);
|
|
1242
|
-
`,
|
|
1226
|
+
`,Lt=m.styled(D.SliderThumb)`
|
|
1243
1227
|
background-color: var(--thumb-background);
|
|
1244
1228
|
border: 2px solid var(--thumb-border-color);
|
|
1245
1229
|
forced-color-adjust: none;
|
|
@@ -1251,13 +1235,13 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1251
1235
|
|
|
1252
1236
|
&[data-focused] {
|
|
1253
1237
|
outline: 2px solid
|
|
1254
|
-
${({theme:e})=>{var t
|
|
1238
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1255
1239
|
}
|
|
1256
1240
|
|
|
1257
1241
|
&[data-dragging] {
|
|
1258
1242
|
background-color: var(--thumb-background-dragging);
|
|
1259
1243
|
}
|
|
1260
|
-
`,
|
|
1244
|
+
`,Su=m.styled(D.SliderTrack)`
|
|
1261
1245
|
width: 100%;
|
|
1262
1246
|
transition: all ease 0.25s;
|
|
1263
1247
|
|
|
@@ -1280,7 +1264,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1280
1264
|
transform: translateY(-50%);
|
|
1281
1265
|
}
|
|
1282
1266
|
|
|
1283
|
-
${
|
|
1267
|
+
${Lt} {
|
|
1284
1268
|
top: 50%;
|
|
1285
1269
|
}
|
|
1286
1270
|
}
|
|
@@ -1296,15 +1280,15 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1296
1280
|
transform: translate(-50%);
|
|
1297
1281
|
}
|
|
1298
1282
|
|
|
1299
|
-
${
|
|
1283
|
+
${Lt} {
|
|
1300
1284
|
left: 50%;
|
|
1301
1285
|
}
|
|
1302
1286
|
}
|
|
1303
|
-
`;function
|
|
1287
|
+
`;function ma({label:e,showOutput:r=!0,thumbLabels:t,...o}){return p.jsxs(Cu,{...o,children:[p.jsx(Eu,{children:e}),r&&p.jsx(ku,{children:({state:n})=>n.values.map((s,i)=>n.getThumbValueLabel(i)).join(" – ")}),p.jsx(Su,{children:({state:n})=>n.values.map((s,i)=>p.jsx(Lt,{index:i,"aria-label":t==null?void 0:t[i]},i))})]})}ma.defaultProps={label:void 0,showOutput:!0,thumbLabels:void 0};const De=m.styled.div`
|
|
1304
1288
|
width: 4rem;
|
|
1305
1289
|
height: 2.5rem;
|
|
1306
1290
|
border: 1px solid
|
|
1307
|
-
${({theme:e})=>{var t
|
|
1291
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1308
1292
|
background: transparent;
|
|
1309
1293
|
border-radius: 1.5rem;
|
|
1310
1294
|
transition: all cubic-bezier(0.4, 0, 0.2, 1) 200ms;
|
|
@@ -1315,66 +1299,66 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1315
1299
|
width: 1.5rem;
|
|
1316
1300
|
height: 1.5rem;
|
|
1317
1301
|
margin: calc(0.5rem - 1px);
|
|
1318
|
-
background: ${({theme:e})=>{var t
|
|
1302
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1319
1303
|
border-radius: 1.25rem;
|
|
1320
1304
|
transition: all cubic-bezier(0.4, 0, 0.2, 1) 200ms;
|
|
1321
1305
|
}
|
|
1322
|
-
`,
|
|
1306
|
+
`,Tu=m.styled(D.Switch)`
|
|
1323
1307
|
display: flex;
|
|
1324
1308
|
align-items: center;
|
|
1325
1309
|
gap: 0.5rem;
|
|
1326
1310
|
font-size: 0.8rem;
|
|
1327
|
-
color: ${({theme:e})=>{var t
|
|
1311
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1328
1312
|
forced-color-adjust: none;
|
|
1329
1313
|
|
|
1330
|
-
&[data-hovered] ${
|
|
1331
|
-
border-color: ${({theme:e})=>{var t
|
|
1314
|
+
&[data-hovered] ${De} {
|
|
1315
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1332
1316
|
}
|
|
1333
1317
|
|
|
1334
|
-
&[data-disabled] ${
|
|
1335
|
-
background: ${({theme:e})=>{var t
|
|
1318
|
+
&[data-disabled] ${De} {
|
|
1319
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1336
1320
|
}
|
|
1337
1321
|
|
|
1338
|
-
&[data-pressed] ${
|
|
1339
|
-
border-color: ${({theme:e})=>{var t
|
|
1322
|
+
&[data-pressed] ${De} {
|
|
1323
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1340
1324
|
|
|
1341
1325
|
&:before {
|
|
1342
|
-
background: ${({theme:e})=>{var t
|
|
1326
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1343
1327
|
}
|
|
1344
1328
|
}
|
|
1345
1329
|
|
|
1346
|
-
&[data-focused] ${
|
|
1347
|
-
border-color: ${({theme:e})=>{var t
|
|
1330
|
+
&[data-focused] ${De} {
|
|
1331
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1348
1332
|
outline: 2px solid
|
|
1349
|
-
${({theme:e})=>{var t
|
|
1333
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1350
1334
|
}
|
|
1351
1335
|
|
|
1352
1336
|
&[data-selected] {
|
|
1353
|
-
${
|
|
1354
|
-
border-color: ${({theme:e})=>{var t
|
|
1355
|
-
background: ${({theme:e})=>{var t
|
|
1337
|
+
${De} {
|
|
1338
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1339
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1356
1340
|
|
|
1357
1341
|
&:before {
|
|
1358
|
-
background: ${({theme:e})=>{var
|
|
1342
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1359
1343
|
transform: translateX(100%);
|
|
1360
1344
|
}
|
|
1361
1345
|
}
|
|
1362
1346
|
|
|
1363
|
-
&[data-hovered] ${
|
|
1364
|
-
border-color: ${({theme:e})=>{var t
|
|
1347
|
+
&[data-hovered] ${De} {
|
|
1348
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1365
1349
|
}
|
|
1366
|
-
&[data-focused] ${
|
|
1367
|
-
border-color: ${({theme:e})=>{var t
|
|
1350
|
+
&[data-focused] ${De} {
|
|
1351
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1368
1352
|
}
|
|
1369
1353
|
|
|
1370
1354
|
&[data-pressed] {
|
|
1371
|
-
${
|
|
1372
|
-
border-color: ${({theme:e})=>{var t
|
|
1373
|
-
background: ${({theme:e})=>{var t
|
|
1355
|
+
${De} {
|
|
1356
|
+
border-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1357
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1374
1358
|
}
|
|
1375
1359
|
}
|
|
1376
1360
|
}
|
|
1377
|
-
`;function
|
|
1361
|
+
`;function Pu({children:e,...r}){return p.jsxs(Tu,{...r,children:[p.jsx(De,{}),e]})}const Ru=m.styled(D.Tabs)`
|
|
1378
1362
|
width: 100%;
|
|
1379
1363
|
display: flex;
|
|
1380
1364
|
flex-direction: column;
|
|
@@ -1383,7 +1367,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1383
1367
|
&[data-orientation='vertical'] {
|
|
1384
1368
|
flex-direction: row;
|
|
1385
1369
|
}
|
|
1386
|
-
`,
|
|
1370
|
+
`,Ou=m.styled(D.TabList)`
|
|
1387
1371
|
width: 100%;
|
|
1388
1372
|
position: relative;
|
|
1389
1373
|
display: flex;
|
|
@@ -1397,16 +1381,16 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1397
1381
|
justify-content: flex-start;
|
|
1398
1382
|
}
|
|
1399
1383
|
|
|
1400
|
-
${({variant:e,theme:
|
|
1401
|
-
background-color: ${((
|
|
1384
|
+
${({variant:e,theme:r})=>{var t,o,n,s,i,l,u,g;switch(e){case"solid":return m.css`
|
|
1385
|
+
background-color: ${((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[200])??c.colors.slate[200]};
|
|
1402
1386
|
border-radius: 0.75rem;
|
|
1403
1387
|
padding: 0.25rem;
|
|
1404
|
-
`;case"outline":return
|
|
1388
|
+
`;case"outline":return m.css`
|
|
1405
1389
|
border: 2px solid
|
|
1406
|
-
${((
|
|
1390
|
+
${((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[200])??c.colors.slate[200]};
|
|
1407
1391
|
border-radius: 0.75rem;
|
|
1408
1392
|
padding: 0.25rem;
|
|
1409
|
-
`;case"underline":return
|
|
1393
|
+
`;case"underline":return m.css`
|
|
1410
1394
|
&[data-orientation='vertical'] {
|
|
1411
1395
|
&:before {
|
|
1412
1396
|
display: block;
|
|
@@ -1416,7 +1400,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1416
1400
|
bottom: 0;
|
|
1417
1401
|
content: '';
|
|
1418
1402
|
width: 1px;
|
|
1419
|
-
background-color: ${((
|
|
1403
|
+
background-color: ${((l=(i=r==null?void 0:r.colors)==null?void 0:i.slate)==null?void 0:l[200])??c.colors.slate[200]};
|
|
1420
1404
|
}
|
|
1421
1405
|
}
|
|
1422
1406
|
&[data-orientation='horizontal'] {
|
|
@@ -1428,27 +1412,27 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1428
1412
|
right: 0;
|
|
1429
1413
|
content: '';
|
|
1430
1414
|
height: 1px;
|
|
1431
|
-
background-color: ${((
|
|
1415
|
+
background-color: ${((g=(u=r==null?void 0:r.colors)==null?void 0:u.slate)==null?void 0:g[200])??c.colors.slate[200]};
|
|
1432
1416
|
}
|
|
1433
1417
|
}
|
|
1434
1418
|
`;default:return null}}}
|
|
1435
|
-
`,
|
|
1419
|
+
`,ha=m.styled(D.Tab)`
|
|
1436
1420
|
position: relative;
|
|
1437
1421
|
z-index: 3;
|
|
1438
1422
|
display: flex;
|
|
1439
1423
|
align-items: center;
|
|
1440
|
-
justify-content: ${({orientation:e,variant:
|
|
1441
|
-
padding: ${({orientation:e,variant:
|
|
1424
|
+
justify-content: ${({orientation:e,variant:r})=>{switch(r){case"underline":return e==="horizontal"?"center":"flex-start";default:return"center"}}};
|
|
1425
|
+
padding: ${({orientation:e,variant:r})=>{switch(r){case"underline":return e==="horizontal"?"0.75rem 0.75rem":"0.75rem 0.75rem 0.75rem 0";default:return"0.5rem 0.75rem"}}};
|
|
1442
1426
|
font-size: 0.875rem;
|
|
1443
1427
|
line-height: 1.2;
|
|
1444
1428
|
cursor: pointer;
|
|
1445
1429
|
forced-color-adjust: none;
|
|
1446
1430
|
transition: color 0.3s ease;
|
|
1447
1431
|
|
|
1448
|
-
color: ${({variant:e,theme:
|
|
1432
|
+
color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"underline":case"enclosed":case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800];case"solid":return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[400])??c.colors.slate[400];default:return null}}};
|
|
1449
1433
|
|
|
1450
1434
|
&[data-selected] {
|
|
1451
|
-
color: ${({variant:e,theme:
|
|
1435
|
+
color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"underline":case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800];case"solid":case"enclosed":return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[100])??c.colors.slate[100];default:return null}}};
|
|
1452
1436
|
}
|
|
1453
1437
|
|
|
1454
1438
|
&[data-selected],
|
|
@@ -1459,131 +1443,131 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1459
1443
|
}
|
|
1460
1444
|
|
|
1461
1445
|
&[data-hovered]:not([data-selected]) {
|
|
1462
|
-
color: ${({theme:e})=>{var t
|
|
1446
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1463
1447
|
}
|
|
1464
1448
|
|
|
1465
1449
|
&[data-disabled] {
|
|
1466
1450
|
opacity: 0.5;
|
|
1467
1451
|
}
|
|
1468
|
-
`,
|
|
1452
|
+
`,ju=m.styled(Re.motion.span).attrs({className:"tab-overlay"})`
|
|
1469
1453
|
position: absolute;
|
|
1470
1454
|
z-index: 1;
|
|
1471
1455
|
|
|
1472
|
-
${({orientation:e,theme:
|
|
1456
|
+
${({orientation:e,theme:r,variant:t})=>{var o,n,s,i,l,u,g,b,y,h,v;switch(t){case"solid":return m.css`
|
|
1473
1457
|
inset: 0px;
|
|
1474
1458
|
border-radius: 0.5rem;
|
|
1475
|
-
background-color: ${((
|
|
1459
|
+
background-color: ${((n=(o=r==null?void 0:r.colors)==null?void 0:o.slate)==null?void 0:n[600])??c.colors.slate[600]};
|
|
1476
1460
|
mix-blend-mode: color;
|
|
1477
|
-
`;case"outline":return
|
|
1461
|
+
`;case"outline":return m.css`
|
|
1478
1462
|
inset: 0px;
|
|
1479
1463
|
border: 2px solid
|
|
1480
|
-
${((i=(
|
|
1464
|
+
${((i=(s=r==null?void 0:r.colors)==null?void 0:s.slate)==null?void 0:i[800])??c.colors.slate[800]};
|
|
1481
1465
|
border-radius: 0.5rem;
|
|
1482
|
-
`;case"underline":return e==="horizontal"?
|
|
1466
|
+
`;case"underline":return e==="horizontal"?m.css`
|
|
1483
1467
|
bottom: 0;
|
|
1484
1468
|
left: 0;
|
|
1485
1469
|
width: 100%;
|
|
1486
1470
|
height: 1px;
|
|
1487
1471
|
border-radius: 0.5rem;
|
|
1488
|
-
background-color: ${((u=(
|
|
1472
|
+
background-color: ${((u=(l=r==null?void 0:r.colors)==null?void 0:l.slate)==null?void 0:u[800])??c.colors.slate[800]};
|
|
1489
1473
|
mix-blend-mode: color;
|
|
1490
|
-
`:
|
|
1474
|
+
`:m.css`
|
|
1491
1475
|
bottom: 0;
|
|
1492
1476
|
right: 0;
|
|
1493
1477
|
width: 1px;
|
|
1494
1478
|
height: 100%;
|
|
1495
1479
|
border-radius: 0.5rem;
|
|
1496
|
-
background-color: ${((
|
|
1480
|
+
background-color: ${((b=(g=r==null?void 0:r.colors)==null?void 0:g.slate)==null?void 0:b[800])??c.colors.slate[800]};
|
|
1497
1481
|
mix-blend-mode: color;
|
|
1498
|
-
`;case"enclosed":return
|
|
1482
|
+
`;case"enclosed":return m.css`
|
|
1499
1483
|
inset: 0px;
|
|
1500
1484
|
border: 1px solid
|
|
1501
|
-
${((
|
|
1485
|
+
${((h=(y=r==null?void 0:r.colors)==null?void 0:y.slate)==null?void 0:h[800])??c.colors.slate[800]};
|
|
1502
1486
|
margin-bottom: -1px;
|
|
1503
1487
|
border-bottom: none;
|
|
1504
1488
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
1505
|
-
background-color: ${((
|
|
1489
|
+
background-color: ${((v=r==null?void 0:r.colors)==null?void 0:v.white)??c.colors.white};
|
|
1506
1490
|
mix-blend-mode: difference;
|
|
1507
|
-
`;case"base":default:return
|
|
1491
|
+
`;case"base":default:return m.css`
|
|
1508
1492
|
display: none;
|
|
1509
1493
|
`}}}
|
|
1510
|
-
`,
|
|
1494
|
+
`,Mu=m.styled(D.TabPanel)`
|
|
1511
1495
|
display: flex;
|
|
1512
1496
|
flex-grow: 1;
|
|
1513
1497
|
padding: 1rem 0;
|
|
1514
|
-
`,
|
|
1515
|
-
color: ${({theme:e})=>{var t
|
|
1516
|
-
`,
|
|
1498
|
+
`,Zr=d.createContext("horizontal");function _u({children:e,...r}){return p.jsx(Zr.Provider,{value:r.orientation??"horizontal",children:p.jsx(Ru,{...r,children:e})})}function Iu({variant:e="base",...r}){const t=d.useContext(Zr);return p.jsx(ha,{orientation:t,variant:e,...r,children:({isSelected:o,isFocusVisible:n})=>p.jsxs(p.Fragment,{children:[r.children,(n||o)&&p.jsx(ju,{orientation:t,layoutId:e,variant:e,transition:{type:"spring",bounce:.2,duration:.75}})]})})}function Au({items:e,children:r,variant:t="base",...o}){const n=d.useContext(Zr);return p.jsx(Ou,{items:e,variant:t,...o,children:r||(s=>p.jsx(ha,{orientation:n,children:s.title}))})}function Lu({children:e,...r}){return p.jsx(Mu,{...r,children:e})}const Nu=m.styled(D.TimeField)`
|
|
1499
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1500
|
+
`,Du=m.styled(D.DateInput)`
|
|
1517
1501
|
display: flex;
|
|
1518
1502
|
align-items: center;
|
|
1519
1503
|
border: 1px solid
|
|
1520
|
-
${({theme:e})=>{var t
|
|
1504
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[300])??c.colors.slate[300]}};
|
|
1521
1505
|
font-size: 0.9rem;
|
|
1522
1506
|
padding: 0 0.25rem;
|
|
1523
1507
|
height: 2.5rem;
|
|
1524
1508
|
margin: 0;
|
|
1525
1509
|
border-radius: 0.375rem;
|
|
1526
|
-
background: ${({theme:e})=>{var
|
|
1527
|
-
color: ${({theme:e})=>{var t
|
|
1510
|
+
background: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1511
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1528
1512
|
width: 100%;
|
|
1529
1513
|
transition: all ease 200ms;
|
|
1530
1514
|
|
|
1531
1515
|
&[data-hovered] {
|
|
1532
1516
|
border: 1px solid
|
|
1533
|
-
${({theme:e})=>{var t
|
|
1517
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1534
1518
|
}
|
|
1535
1519
|
|
|
1536
1520
|
&[data-focus-within] {
|
|
1537
1521
|
border: 1px solid
|
|
1538
|
-
${({theme:e})=>{var t
|
|
1522
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1539
1523
|
outline: 2px solid
|
|
1540
|
-
${({theme:e})=>{var t
|
|
1524
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1541
1525
|
}
|
|
1542
1526
|
|
|
1543
1527
|
&[data-disabled] {
|
|
1544
1528
|
border: 1px solid
|
|
1545
|
-
${({theme:e})=>{var t
|
|
1546
|
-
background: ${({theme:e})=>{var t
|
|
1529
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1530
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1547
1531
|
}
|
|
1548
1532
|
|
|
1549
1533
|
&[data-invalid] {
|
|
1550
1534
|
border: 1px solid
|
|
1551
|
-
${({theme:e})=>{var t
|
|
1552
|
-
background: ${({theme:e})=>{var t
|
|
1553
|
-
color: ${({theme:e})=>{var t
|
|
1535
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1536
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[100])??c.colors.red[100]}};
|
|
1537
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
1554
1538
|
|
|
1555
1539
|
&[data-hovered] {
|
|
1556
1540
|
border: 1px solid
|
|
1557
|
-
${({theme:e})=>{var t
|
|
1541
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
1558
1542
|
}
|
|
1559
1543
|
|
|
1560
1544
|
&[data-focus-within] {
|
|
1561
1545
|
border: 1px solid
|
|
1562
|
-
${({theme:e})=>{var t
|
|
1546
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[600])??c.colors.red[600]}};
|
|
1563
1547
|
outline: 2px solid
|
|
1564
|
-
${({theme:e})=>{var t
|
|
1548
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[200])??c.colors.red[200]}};
|
|
1565
1549
|
}
|
|
1566
1550
|
}
|
|
1567
|
-
`,
|
|
1551
|
+
`,Fu=m.styled(D.DateSegment)`
|
|
1568
1552
|
padding: 0.25rem;
|
|
1569
1553
|
font-variant-numeric: tabular-nums;
|
|
1570
1554
|
text-align: end;
|
|
1571
|
-
color: ${({theme:e})=>{var t
|
|
1555
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1572
1556
|
|
|
1573
1557
|
&[data-invalid] {
|
|
1574
|
-
color: ${({theme:e})=>{var t
|
|
1558
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1575
1559
|
}
|
|
1576
1560
|
|
|
1577
1561
|
&[data-disabled] {
|
|
1578
1562
|
cursor: default;
|
|
1579
1563
|
user-select: none;
|
|
1580
|
-
color: ${({theme:e})=>{var t
|
|
1564
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1581
1565
|
}
|
|
1582
1566
|
|
|
1583
1567
|
&[data-focused],
|
|
1584
1568
|
&[data-focus-visible] {
|
|
1585
1569
|
outline: 1px auto
|
|
1586
|
-
${({theme:e})=>{var t
|
|
1570
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1587
1571
|
}
|
|
1588
1572
|
|
|
1589
1573
|
&[data-type='literal'] {
|
|
@@ -1591,42 +1575,42 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1591
1575
|
}
|
|
1592
1576
|
|
|
1593
1577
|
&[data-placeholder] {
|
|
1594
|
-
color: ${({theme:e})=>{var t
|
|
1578
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[400])??c.colors.slate[400]}};
|
|
1595
1579
|
|
|
1596
1580
|
&[data-invalid] {
|
|
1597
|
-
color: ${({theme:e})=>{var t
|
|
1581
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1598
1582
|
|
|
1599
1583
|
&:focus {
|
|
1600
|
-
color: ${({theme:e})=>{var
|
|
1584
|
+
color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1601
1585
|
}
|
|
1602
1586
|
}
|
|
1603
1587
|
}
|
|
1604
1588
|
|
|
1605
1589
|
&:focus:not([aria-readonly]) {
|
|
1606
|
-
color: ${({theme:e})=>{var t
|
|
1607
|
-
background: ${({theme:e})=>{var t
|
|
1590
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1591
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1608
1592
|
outline: none;
|
|
1609
1593
|
border-radius: 0.375rem;
|
|
1610
1594
|
caret-color: transparent;
|
|
1611
1595
|
|
|
1612
1596
|
&[data-invalid] {
|
|
1613
|
-
background: ${({theme:e})=>{var t
|
|
1614
|
-
color: ${({theme:e})=>{var
|
|
1597
|
+
background: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1598
|
+
color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1615
1599
|
}
|
|
1616
1600
|
}
|
|
1617
|
-
`,
|
|
1601
|
+
`,zu=m.styled(D.Label)`
|
|
1618
1602
|
display: flex;
|
|
1619
1603
|
font-size: 0.8rem;
|
|
1620
|
-
color: ${({theme:e})=>{var t
|
|
1621
|
-
`,
|
|
1604
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1605
|
+
`,Vu=m.styled(D.FieldError)`
|
|
1622
1606
|
display: flex;
|
|
1623
|
-
color: ${({theme:e})=>{var t
|
|
1607
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.red)==null?void 0:t[500])??c.colors.red[500]}};
|
|
1624
1608
|
font-size: 0.8rem;
|
|
1625
|
-
`,
|
|
1609
|
+
`,Bu=m.styled(D.Text)`
|
|
1626
1610
|
display: flex;
|
|
1627
|
-
color: ${({theme:e})=>{var t
|
|
1611
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1628
1612
|
font-size: 0.8rem;
|
|
1629
|
-
`;function
|
|
1613
|
+
`;function Ca({label:e,description:r,errorMessage:t,...o}){return p.jsxs(Nu,{...o,children:[p.jsx(zu,{children:e}),p.jsx(Du,{children:n=>p.jsx(Fu,{segment:n})}),p.jsx(Bu,{slot:"description",children:r}),p.jsx(Vu,{children:t})]})}Ca.defaultProps={label:void 0,description:void 0,errorMessage:void 0};const Hu=m.styled(D.ToggleButton)`
|
|
1630
1614
|
display: flex;
|
|
1631
1615
|
align-items: center;
|
|
1632
1616
|
font-size: 0.9rem;
|
|
@@ -1640,27 +1624,27 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1640
1624
|
outline: none;
|
|
1641
1625
|
border-style: solid;
|
|
1642
1626
|
border-width: 1px;
|
|
1643
|
-
color: ${({theme:e})=>{var t
|
|
1627
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1644
1628
|
|
|
1645
1629
|
height: ${({size:e})=>{switch(e){case"sm":return"2rem";case"lg":return"3rem";case"md":default:return"2.5rem"}}};
|
|
1646
1630
|
|
|
1647
|
-
background: ${({variant:e,theme:
|
|
1648
|
-
border-color: ${({variant:e,theme:
|
|
1631
|
+
background: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":case"outline":return"transparent";case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[200])??c.colors.slate[200]}}};
|
|
1632
|
+
border-color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"ghost":return"transparent";case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[300])??c.colors.slate[300];case"solid":default:return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[200])??c.colors.slate[200]}}};
|
|
1649
1633
|
|
|
1650
1634
|
&[data-selected] {
|
|
1651
|
-
background-color: ${({variant:e,theme:
|
|
1652
|
-
border-color: ${({variant:e,theme:
|
|
1653
|
-
color: ${({variant:e,theme:
|
|
1635
|
+
background-color: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":case"outline":return"transparent";case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800]}}};
|
|
1636
|
+
border-color: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":return"transparent";case"outline":case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[800])??c.colors.slate[800]}}};
|
|
1637
|
+
color: ${({variant:e,theme:r})=>{var t,o,n;switch(e){case"ghost":case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[700])??c.colors.slate[700];case"solid":default:return((n=r==null?void 0:r.colors)==null?void 0:n.white)??c.colors.white}}};
|
|
1654
1638
|
}
|
|
1655
1639
|
|
|
1656
1640
|
&[data-disabled] {
|
|
1657
1641
|
cursor: default;
|
|
1658
1642
|
|
|
1659
|
-
background-color: ${({variant:e,theme:
|
|
1660
|
-
border-color: ${({variant:e,theme:
|
|
1661
|
-
color: ${({variant:e,theme:
|
|
1643
|
+
background-color: ${({variant:e,theme:r})=>{var t,o;switch(e){case"ghost":case"outline":return"transparent";case"solid":default:return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[100])??c.colors.slate[100]}}};
|
|
1644
|
+
border-color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"ghost":return"transparent";case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[200])??c.colors.slate[200];case"solid":default:return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[100])??c.colors.slate[100]}}};
|
|
1645
|
+
color: ${({variant:e,theme:r})=>{var t,o,n,s;switch(e){case"ghost":case"outline":return((o=(t=r==null?void 0:r.colors)==null?void 0:t.slate)==null?void 0:o[500])??c.colors.slate[500];case"solid":default:return((s=(n=r==null?void 0:r.colors)==null?void 0:n.slate)==null?void 0:s[400])??c.colors.slate[400]}}};
|
|
1662
1646
|
}
|
|
1663
|
-
`;function
|
|
1647
|
+
`;function Gu({children:e,size:r="md",variant:t="solid",...o}){return p.jsx(Hu,{...o,size:r,variant:t,children:e})}function Wu(e){let[r,t]=Bn(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const o=d.useCallback(()=>{t(!0)},[t]),n=d.useCallback(()=>{t(!1)},[t]),s=d.useCallback(()=>{t(!r)},[t,r]);return{isOpen:r,setOpen:t,open:o,close:n,toggle:s}}const Uu=1500,gn=500;let Be={},Ku=0,pr=!1,Ne=null,He=null;function Yu(e={}){let{delay:r=Uu,closeDelay:t=gn}=e,{isOpen:o,open:n,close:s}=Wu(e),i=d.useMemo(()=>`${++Ku}`,[]),l=d.useRef(),u=()=>{Be[i]=y},g=()=>{for(let v in Be)v!==i&&(Be[v](!0),delete Be[v])},b=()=>{clearTimeout(l.current),l.current=null,g(),u(),pr=!0,n(),Ne&&(clearTimeout(Ne),Ne=null),He&&(clearTimeout(He),He=null)},y=v=>{v||t<=0?(clearTimeout(l.current),l.current=null,s()):l.current||(l.current=setTimeout(()=>{l.current=null,s()},t)),Ne&&(clearTimeout(Ne),Ne=null),pr&&(He&&clearTimeout(He),He=setTimeout(()=>{delete Be[i],He=null,pr=!1},Math.max(gn,t)))},h=()=>{g(),u(),!o&&!Ne&&!pr?Ne=setTimeout(()=>{Ne=null,pr=!0,b()},r):o||b()};return d.useEffect(()=>()=>{clearTimeout(l.current),Be[i]&&delete Be[i]},[i]),{isOpen:o,open:v=>{!v&&r>0&&!l.current?h():b()},close:y}}function Xu(e,r){let t=yl(e,{labelable:!0}),{hoverProps:o}=Zt({onHoverStart:()=>r==null?void 0:r.open(!0),onHoverEnd:()=>r==null?void 0:r.close()});return{tooltipProps:ke(t,o,{role:"tooltip"})}}function qu(e,r,t){let{isDisabled:o,trigger:n}=e,s=dl(),i=d.useRef(!1),l=d.useRef(!1),u=()=>{(i.current||l.current)&&r.open(l.current)},g=T=>{!i.current&&!l.current&&r.close(T)};d.useEffect(()=>{let T=M=>{t&&t.current&&M.key==="Escape"&&(M.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",T,!0),()=>{document.removeEventListener("keydown",T,!0)}},[t,r]);let b=()=>{n!=="focus"&&(Jn()==="pointer"?i.current=!0:i.current=!1,u())},y=()=>{n!=="focus"&&(l.current=!1,i.current=!1,g())},h=()=>{l.current=!1,i.current=!1,g(!0)},v=()=>{qt()&&(l.current=!0,u())},x=()=>{l.current=!1,i.current=!1,g(!0)},{hoverProps:E}=Zt({isDisabled:o,onHoverStart:b,onHoverEnd:y}),{focusableProps:k}=Xl({isDisabled:o,onFocus:v,onBlur:x},t);return{triggerProps:{"aria-describedby":r.isOpen?s:void 0,...ke(k,E,{onPointerDown:h,onKeyDown:h})},tooltipProps:{id:s}}}var Zu=e=>{const r={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(r==null?void 0:r[e])||{}},Ju=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],vn=(e,r)=>{if(r.includes("-")){const[,t]=r.split("-");return`${e}-${t}`}return e};function Qu(e){const[r,t]=na(e,qo.variantKeys),{ref:o,as:n,isOpen:s,content:i,children:l,defaultOpen:u,onOpenChange:g,isDisabled:b,trigger:y,shouldFlip:h=!0,containerPadding:v=12,placement:x="top",delay:E=0,closeDelay:k=500,showArrow:T=!1,offset:M=7,crossOffset:_=0,isDismissable:I,shouldCloseOnBlur:O=!0,portalContainer:P,isKeyboardDismissDisabled:F=!1,updatePositionDeps:L=[],shouldCloseOnInteractOutside:N,className:J,onClose:q,motionProps:j,classNames:H,...z}=r,V=n||"div",G=Yu({delay:E,closeDelay:k,isDisabled:b,defaultOpen:u,isOpen:s,onOpenChange:Ie=>{g==null||g(Ie),Ie||q==null||q()}}),A=d.useRef(null),U=d.useRef(null),Z=d.useId(),Q=G.isOpen&&!b;d.useImperativeHandle(o,()=>Ks(U));const{triggerProps:$,tooltipProps:S}=qu({isDisabled:b,trigger:y},G,A),{tooltipProps:W}=Xu({isOpen:Q,...ke(r,S)},G),{overlayProps:Y,placement:ee,updatePosition:ne}=bc({isOpen:Q,targetRef:A,placement:Ju(x),overlayRef:U,offset:T?M+3:M,crossOffset:_,shouldFlip:h,containerPadding:v});ra(()=>{L.length&&ne()},L);const{overlayProps:se}=yc({isOpen:Q,onClose:G.close,isDismissable:I,shouldCloseOnBlur:O,isKeyboardDismissDisabled:F,shouldCloseOnInteractOutside:N},U),ae=d.useMemo(()=>{var Ie,Ae,wr;return qo({...t,radius:(Ie=e==null?void 0:e.radius)!=null?Ie:"md",size:(Ae=e==null?void 0:e.size)!=null?Ae:"md",shadow:(wr=e==null?void 0:e.shadow)!=null?wr:"sm"})},[Sn(t),e==null?void 0:e.radius,e==null?void 0:e.size,e==null?void 0:e.shadow]),ie=d.useCallback((Ie={},Ae=null)=>({...ke($,Ie),ref:Qs(Ae,A),"aria-describedby":Q?Z:void 0}),[$,Q,Z,G]),ve=d.useCallback(()=>({ref:U,"data-slot":"base","data-open":_e(Q),"data-arrow":_e(T),"data-disabled":_e(b),"data-placement":vn(ee,x),...ke(W,se,z),style:ke(Y.style,z.style,r.style),className:ae.base({class:H==null?void 0:H.base}),id:Z}),[ae,Q,T,b,ee,x,W,se,z,Y,r,Z]),Te=d.useCallback(()=>({"data-slot":"content","data-open":_e(Q),"data-arrow":_e(T),"data-disabled":_e(b),"data-placement":vn(ee,x),className:ae.content({class:or(H==null?void 0:H.content,J)})}),[ae,Q,T,b,ee,x,H]);return{Component:V,content:i,children:l,isOpen:Q,triggerRef:A,showArrow:T,portalContainer:P,placement:x,disableAnimation:e==null?void 0:e.disableAnimation,isDisabled:b,motionProps:j,getTooltipContentProps:Te,getTriggerProps:ie,getTooltipProps:ve}}var Qe={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]},ef={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.3}},exit:{transform:"scale(0.6)",opacity:0,transition:{type:"easeOut",duration:.2}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:Qe.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:Qe.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:Qe.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:Qe.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:Qe.ease}},exit:{opacity:0,transition:{duration:.3,ease:Qe.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}},Ea=qr((e,r)=>{const{Component:t,children:o,content:n,isOpen:s,portalContainer:i,placement:l,disableAnimation:u,motionProps:g,getTriggerProps:b,getTooltipProps:y,getTooltipContentProps:h}=Qu({...e,ref:r});let v;try{if(d.Children.count(o)!==1)throw new Error;if(!d.isValidElement(o))v=p.jsx("p",{...b(),children:o});else{const I=o;v=d.cloneElement(I,b(I.props,I.ref))}}catch{v=p.jsx("span",{}),Xs("Tooltip must have only one child node. Please, check your code.")}const{ref:x,id:E,style:k,...T}=y(),M=p.jsx("div",{ref:x,id:E,style:k,children:p.jsx(Re.LazyMotion,{features:Re.domAnimation,children:p.jsx(Re.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:ef.scaleSpring,...ke(g,T),style:{...Zu(l)},children:p.jsx(t,{...h(),children:n})})})});return p.jsxs(p.Fragment,{children:[v,u&&s?p.jsx(fn,{portalContainer:i,children:p.jsx("div",{ref:x,id:E,style:k,...T,children:p.jsx(t,{...h(),children:n})})}):p.jsx(Re.AnimatePresence,{children:s?p.jsx(fn,{portalContainer:i,children:M}):null})]})});Ea.displayName="NextUI.Tooltip";var rf=Ea;const tf=m.styled(rf).attrs({className:"tooltip"})`
|
|
1664
1648
|
z-index: 0;
|
|
1665
1649
|
position: relative;
|
|
1666
1650
|
background-color: transparent;
|
|
@@ -1673,7 +1657,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1673
1657
|
width: 0.625rem;
|
|
1674
1658
|
height: 0.625rem;
|
|
1675
1659
|
border-radius: 0.125rem;
|
|
1676
|
-
background-color: ${({theme:e})=>{var t
|
|
1660
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1677
1661
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
1678
1662
|
}
|
|
1679
1663
|
|
|
@@ -1759,7 +1743,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1759
1743
|
z-index: 10;
|
|
1760
1744
|
outline-width: 2px;
|
|
1761
1745
|
outline-offset: 2px;
|
|
1762
|
-
outline-color: ${({theme:e})=>{var t
|
|
1746
|
+
outline-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1763
1747
|
}
|
|
1764
1748
|
|
|
1765
1749
|
&.tooltip-content {
|
|
@@ -1776,12 +1760,12 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1776
1760
|
box-sizing: border-box;
|
|
1777
1761
|
font-size: 0.875rem;
|
|
1778
1762
|
line-height: 1.25rem;
|
|
1779
|
-
background-color: ${({theme:e})=>{var t
|
|
1780
|
-
color: ${({theme:e})=>{var
|
|
1763
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[500])??c.colors.slate[500]}};
|
|
1764
|
+
color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1781
1765
|
border-radius: 0.375rem;
|
|
1782
1766
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
1783
1767
|
}
|
|
1784
|
-
`;function R6({children:e,...t}){return k.jsx(F6,{classNames:{base:["tooltip"],content:["tooltip-content"]},...t,children:e})}function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(this,arguments)}function ug(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),u=r.length;r=[...r,i];function c(f){const{scope:b,children:p,...g}=f,$=(b==null?void 0:b[e][u])||s,h=l.useMemo(()=>g,Object.values(g));return l.createElement($.Provider,{value:h},p)}function d(f,b){const p=(b==null?void 0:b[e][u])||s,g=l.useContext(p);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,d]}const o=()=>{const a=r.map(i=>l.createContext(i));return function(s){const u=(s==null?void 0:s[e])||a;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[n,B6(o,...t)]}function B6(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:u,scopeName:c})=>{const f=u(a)[`__scope${c}`];return{...s,...f}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Fe(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function I6(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Bl(...e){return t=>e.forEach(r=>I6(r,t))}function kt(...e){return l.useCallback(Bl(...e),e)}const Oo=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(O6);if(a){const i=a.props.children,s=o.map(u=>u===a?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(Fi,De({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Fi,De({},n,{ref:t}),r)});Oo.displayName="Slot";const Fi=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...N6(n,r.props),ref:t?Bl(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});Fi.displayName="SlotClone";const L6=({children:e})=>l.createElement(l.Fragment,null,e);function O6(e){return l.isValidElement(e)&&e.type===L6}function N6(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{a(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const K6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],nt=K6.reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Oo:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,De({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ri(e,t){e&&Mt.flushSync(()=>e.dispatchEvent(t))}function et(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function V6({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=_6({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=et(r),u=l.useCallback(c=>{if(a){const f=typeof c=="function"?c(e):c;f!==e&&s(f)}else o(c)},[a,e,o,s]);return[i,u]}function _6({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=et(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const j6=l.createContext(void 0);function z6(e){const t=l.useContext(j6);return e||t||"ltr"}const Tr=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{};function U6(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Mn=e=>{const{present:t,children:r}=e,n=H6(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=kt(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Mn.displayName="Presence";function H6(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,u]=U6(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const c=oo(n.current);a.current=s==="mounted"?c:"none"},[s]),Tr(()=>{const c=n.current,d=o.current;if(d!==e){const b=a.current,p=oo(c);e?u("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?u("UNMOUNT"):u(d&&b!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Tr(()=>{if(t){const c=f=>{const p=oo(n.current).includes(f.animationName);f.target===t&&p&&Mt.flushSync(()=>u("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=oo(n.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function oo(e){return(e==null?void 0:e.animationName)||"none"}const G6=bo["useId".toString()]||(()=>{});let W6=0;function cg(e){const[t,r]=bo.useState(G6());return Tr(()=>{e||r(n=>n??String(W6++))},[e]),e||(t?`radix-${t}`:"")}function dg(e){const t=e+"CollectionProvider",[r,n]=ug(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=p=>{const{scope:g,children:$}=p,h=l.useRef(null),x=l.useRef(new Map).current;return l.createElement(o,{scope:g,itemMap:x,collectionRef:h},$)},s=e+"CollectionSlot",u=l.forwardRef((p,g)=>{const{scope:$,children:h}=p,x=a(s,$),C=kt(g,x.collectionRef);return l.createElement(Oo,{ref:C},h)}),c=e+"CollectionItemSlot",d="data-radix-collection-item",f=l.forwardRef((p,g)=>{const{scope:$,children:h,...x}=p,C=l.useRef(null),E=kt(g,C),A=a(c,$);return l.useEffect(()=>(A.itemMap.set(C,{ref:C,...x}),()=>void A.itemMap.delete(C))),l.createElement(Oo,{[d]:"",ref:E},h)});function b(p){const g=a(e+"CollectionConsumer",p);return l.useCallback(()=>{const h=g.collectionRef.current;if(!h)return[];const x=Array.from(h.querySelectorAll(`[${d}]`));return Array.from(g.itemMap.values()).sort((A,M)=>x.indexOf(A.ref.current)-x.indexOf(M.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:i,Slot:u,ItemSlot:f},b,n]}function Y6(e,t=globalThis==null?void 0:globalThis.document){const r=et(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Bi="dismissableLayer.update",q6="dismissableLayer.pointerDownOutside",Z6="dismissableLayer.focusOutside";let Iu;const X6=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),J6=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:u,...c}=e,d=l.useContext(X6),[f,b]=l.useState(null),p=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=l.useState({}),$=kt(t,m=>b(m)),h=Array.from(d.layers),[x]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),C=h.indexOf(x),E=f?h.indexOf(f):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,M=E>=C,R=Q6(m=>{const O=m.target,F=[...d.branches].some(T=>T.contains(O));!M||F||(a==null||a(m),s==null||s(m),m.defaultPrevented||u==null||u())},p),K=e7(m=>{const O=m.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(m),s==null||s(m),m.defaultPrevented||u==null||u())},p);return Y6(m=>{E===d.layers.size-1&&(o==null||o(m),!m.defaultPrevented&&u&&(m.preventDefault(),u()))},p),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Iu=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Lu(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Iu)}},[f,p,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Lu())},[f,d]),l.useEffect(()=>{const m=()=>g({});return document.addEventListener(Bi,m),()=>document.removeEventListener(Bi,m)},[]),l.createElement(nt.div,De({},c,{ref:$,style:{pointerEvents:A?M?"auto":"none":void 0,...e.style},onFocusCapture:Fe(e.onFocusCapture,K.onFocusCapture),onBlurCapture:Fe(e.onBlurCapture,K.onBlurCapture),onPointerDownCapture:Fe(e.onPointerDownCapture,R.onPointerDownCapture)}))});function Q6(e,t=globalThis==null?void 0:globalThis.document){const r=et(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let c=function(){fg(q6,r,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function e7(e,t=globalThis==null?void 0:globalThis.document){const r=et(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&fg(Z6,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Lu(){const e=new CustomEvent(Bi);document.dispatchEvent(e)}function fg(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Ri(o,a):o.dispatchEvent(a)}function t7(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const r7=l.forwardRef((e,t)=>l.createElement(nt.span,De({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),n7=r7,An="NavigationMenu",[Il,pg,o7]=dg(An),[Ii,a7,i7]=dg(An),[Ll,r8]=ug(An,[o7,i7]),[l7,ct]=Ll(An),[s7,u7]=Ll(An),c7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,value:n,onValueChange:o,defaultValue:a,delayDuration:i=200,skipDelayDuration:s=300,orientation:u="horizontal",dir:c,...d}=e,[f,b]=l.useState(null),p=kt(t,O=>b(O)),g=z6(c),$=l.useRef(0),h=l.useRef(0),x=l.useRef(0),[C,E]=l.useState(!0),[A="",M]=V6({prop:n,onChange:O=>{const F=O!=="",T=s>0;F?(window.clearTimeout(x.current),T&&E(!1)):(window.clearTimeout(x.current),x.current=window.setTimeout(()=>E(!0),s)),o==null||o(O)},defaultProp:a}),R=l.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>M(""),150)},[M]),K=l.useCallback(O=>{window.clearTimeout(h.current),M(O)},[M]),m=l.useCallback(O=>{A===O?window.clearTimeout(h.current):$.current=window.setTimeout(()=>{window.clearTimeout(h.current),M(O)},i)},[A,M,i]);return l.useEffect(()=>()=>{window.clearTimeout($.current),window.clearTimeout(h.current),window.clearTimeout(x.current)},[]),l.createElement(d7,{scope:r,isRootMenu:!0,value:A,dir:g,orientation:u,rootNavigationMenu:f,onTriggerEnter:O=>{window.clearTimeout($.current),C?m(O):K(O)},onTriggerLeave:()=>{window.clearTimeout($.current),R()},onContentEnter:()=>window.clearTimeout(h.current),onContentLeave:R,onItemSelect:O=>{M(F=>F===O?"":O)},onItemDismiss:()=>M("")},l.createElement(nt.nav,De({"aria-label":"Main","data-orientation":u,dir:g},d,{ref:p})))}),d7=e=>{const{scope:t,isRootMenu:r,rootNavigationMenu:n,dir:o,orientation:a,children:i,value:s,onItemSelect:u,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:b,onContentLeave:p}=e,[g,$]=l.useState(null),[h,x]=l.useState(new Map),[C,E]=l.useState(null);return l.createElement(l7,{scope:t,isRootMenu:r,rootNavigationMenu:n,value:s,previousValue:t7(s),baseId:cg(),dir:o,orientation:a,viewport:g,onViewportChange:$,indicatorTrack:C,onIndicatorTrackChange:E,onTriggerEnter:et(d),onTriggerLeave:et(f),onContentEnter:et(b),onContentLeave:et(p),onItemSelect:et(u),onItemDismiss:et(c),onViewportContentChange:l.useCallback((A,M)=>{x(R=>(R.set(A,M),new Map(R)))},[]),onViewportContentRemove:l.useCallback(A=>{x(M=>M.has(A)?(M.delete(A),new Map(M)):M)},[])},l.createElement(Il.Provider,{scope:t},l.createElement(s7,{scope:t,items:h},i)))},f7="NavigationMenuList",p7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...n}=e,o=ct(f7,r),a=l.createElement(nt.ul,De({"data-orientation":o.orientation},n,{ref:t}));return l.createElement(nt.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},l.createElement(Il.Slot,{scope:r},o.isRootMenu?l.createElement($g,{asChild:!0},a):a))}),b7="NavigationMenuItem",[v7,bg]=Ll(b7),g7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,value:n,...o}=e,a=cg(),i=n||a||"LEGACY_REACT_AUTO_VALUE",s=l.useRef(null),u=l.useRef(null),c=l.useRef(null),d=l.useRef(()=>{}),f=l.useRef(!1),b=l.useCallback((g="start")=>{if(s.current){d.current();const $=Li(s.current);$.length&&Ol(g==="start"?$:$.reverse())}},[]),p=l.useCallback(()=>{if(s.current){const g=Li(s.current);g.length&&(d.current=S7(g))}},[]);return l.createElement(v7,{scope:r,value:i,triggerRef:u,contentRef:s,focusProxyRef:c,wasEscapeCloseRef:f,onEntryKeyDown:b,onFocusProxyEnter:b,onRootContentClose:p,onContentFocusOutside:p},l.createElement(nt.li,De({},o,{ref:t})))}),Ou="NavigationMenuTrigger",m7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,disabled:n,...o}=e,a=ct(Ou,e.__scopeNavigationMenu),i=bg(Ou,e.__scopeNavigationMenu),s=l.useRef(null),u=kt(s,i.triggerRef,t),c=hg(a.baseId,i.value),d=xg(a.baseId,i.value),f=l.useRef(!1),b=l.useRef(!1),p=i.value===a.value;return l.createElement(l.Fragment,null,l.createElement(Il.ItemSlot,{scope:r,value:i.value},l.createElement(yg,{asChild:!0},l.createElement(nt.button,De({id:c,disabled:n,"data-disabled":n?"":void 0,"data-state":Nl(p),"aria-expanded":p,"aria-controls":d},o,{ref:u,onPointerEnter:Fe(e.onPointerEnter,()=>{b.current=!1,i.wasEscapeCloseRef.current=!1}),onPointerMove:Fe(e.onPointerMove,No(()=>{n||b.current||i.wasEscapeCloseRef.current||f.current||(a.onTriggerEnter(i.value),f.current=!0)})),onPointerLeave:Fe(e.onPointerLeave,No(()=>{n||(a.onTriggerLeave(),f.current=!1)})),onClick:Fe(e.onClick,()=>{a.onItemSelect(i.value),b.current=p}),onKeyDown:Fe(e.onKeyDown,g=>{const h={horizontal:"ArrowDown",vertical:a.dir==="rtl"?"ArrowLeft":"ArrowRight"}[a.orientation];p&&g.key===h&&(i.onEntryKeyDown(),g.preventDefault())})})))),p&&l.createElement(l.Fragment,null,l.createElement(n7,{"aria-hidden":!0,tabIndex:0,ref:i.focusProxyRef,onFocus:g=>{const $=i.contentRef.current,h=g.relatedTarget,x=h===s.current,C=$==null?void 0:$.contains(h);(x||!C)&&i.onFocusProxyEnter(x?"start":"end")}}),a.viewport&&l.createElement("span",{"aria-owns":d})))}),Nu="navigationMenu.linkSelect",$7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,active:n,onSelect:o,...a}=e;return l.createElement(yg,{asChild:!0},l.createElement(nt.a,De({"data-active":n?"":void 0,"aria-current":n?"page":void 0},a,{ref:t,onClick:Fe(e.onClick,i=>{const s=i.target,u=new CustomEvent(Nu,{bubbles:!0,cancelable:!0});if(s.addEventListener(Nu,c=>o==null?void 0:o(c),{once:!0}),Ri(s,u),!u.defaultPrevented&&!i.metaKey){const c=new CustomEvent(po,{bubbles:!0,cancelable:!0});Ri(s,c)}},{checkForDefaultPrevented:!1})})))}),vg="NavigationMenuIndicator",y7=l.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=ct(vg,e.__scopeNavigationMenu),a=!!o.value;return o.indicatorTrack?Mt.createPortal(l.createElement(Mn,{present:r||a},l.createElement(h7,De({},n,{ref:t}))),o.indicatorTrack):null}),h7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...n}=e,o=ct(vg,r),a=pg(r),[i,s]=l.useState(null),[u,c]=l.useState(null),d=o.orientation==="horizontal",f=!!o.value;l.useEffect(()=>{var p;const $=(p=a().find(h=>h.value===o.value))===null||p===void 0?void 0:p.ref.current;$&&s($)},[a,o.value]);const b=()=>{i&&c({size:d?i.offsetWidth:i.offsetHeight,offset:d?i.offsetLeft:i.offsetTop})};return Oi(i,b),Oi(o.indicatorTrack,b),u?l.createElement(nt.div,De({"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":o.orientation},n,{ref:t,style:{position:"absolute",...d?{left:0,width:u.size+"px",transform:`translateX(${u.offset}px)`}:{top:0,height:u.size+"px",transform:`translateY(${u.offset}px)`},...n.style}})):null}),$n="NavigationMenuContent",x7=l.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=ct($n,e.__scopeNavigationMenu),a=bg($n,e.__scopeNavigationMenu),i=kt(a.contentRef,t),s=a.value===o.value,u={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...n};return o.viewport?l.createElement(w7,De({forceMount:r},u,{ref:i})):l.createElement(Mn,{present:r||s},l.createElement(gg,De({"data-state":Nl(s)},u,{ref:i,onPointerEnter:Fe(e.onPointerEnter,o.onContentEnter),onPointerLeave:Fe(e.onPointerLeave,No(o.onContentLeave)),style:{pointerEvents:!s&&o.isRootMenu?"none":void 0,...u.style}})))}),w7=l.forwardRef((e,t)=>{const r=ct($n,e.__scopeNavigationMenu),{onViewportContentChange:n,onViewportContentRemove:o}=r;return Tr(()=>{n(e.value,{ref:t,...e})},[e,t,n]),Tr(()=>()=>o(e.value),[e.value,o]),null}),po="navigationMenu.rootContentDismiss",gg=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,value:n,triggerRef:o,focusProxyRef:a,wasEscapeCloseRef:i,onRootContentClose:s,onContentFocusOutside:u,...c}=e,d=ct($n,r),f=l.useRef(null),b=kt(f,t),p=hg(d.baseId,n),g=xg(d.baseId,n),$=pg(r),h=l.useRef(null),{onItemDismiss:x}=d;l.useEffect(()=>{const E=f.current;if(d.isRootMenu&&E){const A=()=>{var M;x(),s(),E.contains(document.activeElement)&&((M=o.current)===null||M===void 0||M.focus())};return E.addEventListener(po,A),()=>E.removeEventListener(po,A)}},[d.isRootMenu,e.value,o,x,s]);const C=l.useMemo(()=>{const A=$().map(F=>F.value);d.dir==="rtl"&&A.reverse();const M=A.indexOf(d.value),R=A.indexOf(d.previousValue),K=n===d.value,m=R===A.indexOf(n);if(!K&&!m)return h.current;const O=(()=>{if(M!==R){if(K&&R!==-1)return M>R?"from-end":"from-start";if(m&&M!==-1)return M>R?"to-start":"to-end"}return null})();return h.current=O,O},[d.previousValue,d.value,d.dir,$,n]);return l.createElement($g,{asChild:!0},l.createElement(J6,De({id:g,"aria-labelledby":p,"data-motion":C,"data-orientation":d.orientation},c,{ref:b,onDismiss:()=>{var E;const A=new Event(po,{bubbles:!0,cancelable:!0});(E=f.current)===null||E===void 0||E.dispatchEvent(A)},onFocusOutside:Fe(e.onFocusOutside,E=>{var A;u();const M=E.target;(A=d.rootNavigationMenu)!==null&&A!==void 0&&A.contains(M)&&E.preventDefault()}),onPointerDownOutside:Fe(e.onPointerDownOutside,E=>{var A;const M=E.target,R=$().some(m=>{var O;return(O=m.ref.current)===null||O===void 0?void 0:O.contains(M)}),K=d.isRootMenu&&((A=d.viewport)===null||A===void 0?void 0:A.contains(M));(R||K||!d.isRootMenu)&&E.preventDefault()}),onKeyDown:Fe(e.onKeyDown,E=>{const A=E.altKey||E.ctrlKey||E.metaKey;if(E.key==="Tab"&&!A){const K=Li(E.currentTarget),m=document.activeElement,O=K.findIndex(B=>B===m),T=E.shiftKey?K.slice(0,O).reverse():K.slice(O+1,K.length);if(Ol(T))E.preventDefault();else{var R;(R=a.current)===null||R===void 0||R.focus()}}}),onEscapeKeyDown:Fe(e.onEscapeKeyDown,E=>{i.current=!0})})))}),mg="NavigationMenuViewport",C7=l.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=!!ct(mg,e.__scopeNavigationMenu).value;return l.createElement(Mn,{present:r||a},l.createElement(E7,De({},n,{ref:t})))}),E7=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,children:n,...o}=e,a=ct(mg,r),i=kt(t,a.onViewportChange),s=u7($n,e.__scopeNavigationMenu),[u,c]=l.useState(null),[d,f]=l.useState(null),b=u?(u==null?void 0:u.width)+"px":void 0,p=u?(u==null?void 0:u.height)+"px":void 0,g=!!a.value,$=g?a.value:a.previousValue;return Oi(d,()=>{d&&c({width:d.offsetWidth,height:d.offsetHeight})}),l.createElement(nt.div,De({"data-state":Nl(g),"data-orientation":a.orientation},o,{ref:i,style:{pointerEvents:!g&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":b,"--radix-navigation-menu-viewport-height":p,...o.style},onPointerEnter:Fe(e.onPointerEnter,a.onContentEnter),onPointerLeave:Fe(e.onPointerLeave,No(a.onContentLeave))}),Array.from(s.items).map(([x,{ref:C,forceMount:E,...A}])=>{const M=$===x;return l.createElement(Mn,{key:x,present:E||M},l.createElement(gg,De({},A,{ref:Bl(C,R=>{M&&R&&f(R)})})))}))}),D7="FocusGroup",$g=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...n}=e,o=ct(D7,r);return l.createElement(Ii.Provider,{scope:r},l.createElement(Ii.Slot,{scope:r},l.createElement(nt.div,De({dir:o.dir},n,{ref:t}))))}),Ku=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],P7="FocusGroupItem",yg=l.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...n}=e,o=a7(r),a=ct(P7,r);return l.createElement(Ii.ItemSlot,{scope:r},l.createElement(nt.button,De({},n,{ref:t,onKeyDown:Fe(e.onKeyDown,i=>{if(["Home","End",...Ku].includes(i.key)){let u=o().map(f=>f.ref.current);if([a.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(i.key)&&u.reverse(),Ku.includes(i.key)){const f=u.indexOf(i.currentTarget);u=u.slice(f+1)}setTimeout(()=>Ol(u)),i.preventDefault()}})})))});function Li(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ol(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}function S7(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const r=t.dataset.tabindex;t.setAttribute("tabindex",r)})}}function Oi(e,t){const r=et(t);Tr(()=>{let n=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}function Nl(e){return e?"open":"closed"}function hg(e,t){return`${e}-trigger-${t}`}function xg(e,t){return`${e}-content-${t}`}function No(e){return t=>t.pointerType==="mouse"?e(t):void 0}const T7=c7,k7=p7,Ya=g7,M7=m7,A7=$7,F7=y7,R7=x7,B7=C7,I7=j.keyframes`
|
|
1768
|
+
`;function of({children:e,...r}){return p.jsx(tf,{classNames:{base:["tooltip"],content:["tooltip-content"]},...r,children:e})}function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},pe.apply(this,arguments)}function ka(e,r=[]){let t=[];function o(s,i){const l=d.createContext(i),u=t.length;t=[...t,i];function g(y){const{scope:h,children:v,...x}=y,E=(h==null?void 0:h[e][u])||l,k=d.useMemo(()=>x,Object.values(x));return d.createElement(E.Provider,{value:k},v)}function b(y,h){const v=(h==null?void 0:h[e][u])||l,x=d.useContext(v);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${y}\` must be used within \`${s}\``)}return g.displayName=s+"Provider",[g,b]}const n=()=>{const s=t.map(i=>d.createContext(i));return function(l){const u=(l==null?void 0:l[e])||s;return d.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return n.scopeName=e,[o,nf(n,...r)]}function nf(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const i=o.reduce((l,{useScope:u,scopeName:g})=>{const y=u(s)[`__scope${g}`];return{...l,...y}},{});return d.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return t.scopeName=r.scopeName,t}function ye(e,r,{checkForDefaultPrevented:t=!0}={}){return function(n){if(e==null||e(n),t===!1||!n.defaultPrevented)return r==null?void 0:r(n)}}function af(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function eo(...e){return r=>e.forEach(t=>af(t,r))}function Fe(...e){return d.useCallback(eo(...e),e)}const Ur=d.forwardRef((e,r)=>{const{children:t,...o}=e,n=d.Children.toArray(t),s=n.find(lf);if(s){const i=s.props.children,l=n.map(u=>u===s?d.Children.count(i)>1?d.Children.only(null):d.isValidElement(i)?i.props.children:null:u);return d.createElement(Nt,pe({},o,{ref:r}),d.isValidElement(i)?d.cloneElement(i,void 0,l):null)}return d.createElement(Nt,pe({},o,{ref:r}),t)});Ur.displayName="Slot";const Nt=d.forwardRef((e,r)=>{const{children:t,...o}=e;return d.isValidElement(t)?d.cloneElement(t,{...cf(o,t.props),ref:r?eo(r,t.ref):t.ref}):d.Children.count(t)>1?d.Children.only(null):null});Nt.displayName="SlotClone";const sf=({children:e})=>d.createElement(d.Fragment,null,e);function lf(e){return d.isValidElement(e)&&e.type===sf}function cf(e,r){const t={...r};for(const o in r){const n=e[o],s=r[o];/^on[A-Z]/.test(o)?n&&s?t[o]=(...l)=>{s(...l),n(...l)}:n&&(t[o]=n):o==="style"?t[o]={...n,...s}:o==="className"&&(t[o]=[n,s].filter(Boolean).join(" "))}return{...e,...t}}const df=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Se=df.reduce((e,r)=>{const t=d.forwardRef((o,n)=>{const{asChild:s,...i}=o,l=s?Ur:r;return d.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.createElement(l,pe({},i,{ref:n}))});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function Dt(e,r){e&&Yr.flushSync(()=>e.dispatchEvent(r))}function Ee(e){const r=d.useRef(e);return d.useEffect(()=>{r.current=e}),d.useMemo(()=>(...t)=>{var o;return(o=r.current)===null||o===void 0?void 0:o.call(r,...t)},[])}function uf({prop:e,defaultProp:r,onChange:t=()=>{}}){const[o,n]=ff({defaultProp:r,onChange:t}),s=e!==void 0,i=s?e:o,l=Ee(t),u=d.useCallback(g=>{if(s){const y=typeof g=="function"?g(e):g;y!==e&&l(y)}else n(g)},[s,e,n,l]);return[i,u]}function ff({defaultProp:e,onChange:r}){const t=d.useState(e),[o]=t,n=d.useRef(o),s=Ee(r);return d.useEffect(()=>{n.current!==o&&(s(o),n.current=o)},[o,n,s]),t}const pf=d.createContext(void 0);function bf(e){const r=d.useContext(pf);return e||r||"ltr"}const nr=globalThis!=null&&globalThis.document?d.useLayoutEffect:()=>{};function gf(e,r){return d.useReducer((t,o)=>{const n=r[t][o];return n??t},e)}const $r=e=>{const{present:r,children:t}=e,o=vf(r),n=typeof t=="function"?t({present:o.isPresent}):d.Children.only(t),s=Fe(o.ref,n.ref);return typeof t=="function"||o.isPresent?d.cloneElement(n,{ref:s}):null};$r.displayName="Presence";function vf(e){const[r,t]=d.useState(),o=d.useRef({}),n=d.useRef(e),s=d.useRef("none"),i=e?"mounted":"unmounted",[l,u]=gf(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const g=Lr(o.current);s.current=l==="mounted"?g:"none"},[l]),nr(()=>{const g=o.current,b=n.current;if(b!==e){const h=s.current,v=Lr(g);e?u("MOUNT"):v==="none"||(g==null?void 0:g.display)==="none"?u("UNMOUNT"):u(b&&h!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,u]),nr(()=>{if(r){const g=y=>{const v=Lr(o.current).includes(y.animationName);y.target===r&&v&&Yr.flushSync(()=>u("ANIMATION_END"))},b=y=>{y.target===r&&(s.current=Lr(o.current))};return r.addEventListener("animationstart",b),r.addEventListener("animationcancel",g),r.addEventListener("animationend",g),()=>{r.removeEventListener("animationstart",b),r.removeEventListener("animationcancel",g),r.removeEventListener("animationend",g)}}else u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:d.useCallback(g=>{g&&(o.current=getComputedStyle(g)),t(g)},[])}}function Lr(e){return(e==null?void 0:e.animationName)||"none"}const yf=Fr["useId".toString()]||(()=>{});let $f=0;function Sa(e){const[r,t]=Fr.useState(yf());return nr(()=>{e||t(o=>o??String($f++))},[e]),e||(r?`radix-${r}`:"")}function Ta(e){const r=e+"CollectionProvider",[t,o]=ka(r),[n,s]=t(r,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:x,children:E}=v,k=d.useRef(null),T=d.useRef(new Map).current;return d.createElement(n,{scope:x,itemMap:T,collectionRef:k},E)},l=e+"CollectionSlot",u=d.forwardRef((v,x)=>{const{scope:E,children:k}=v,T=s(l,E),M=Fe(x,T.collectionRef);return d.createElement(Ur,{ref:M},k)}),g=e+"CollectionItemSlot",b="data-radix-collection-item",y=d.forwardRef((v,x)=>{const{scope:E,children:k,...T}=v,M=d.useRef(null),_=Fe(x,M),I=s(g,E);return d.useEffect(()=>(I.itemMap.set(M,{ref:M,...T}),()=>void I.itemMap.delete(M))),d.createElement(Ur,{[b]:"",ref:_},k)});function h(v){const x=s(e+"CollectionConsumer",v);return d.useCallback(()=>{const k=x.collectionRef.current;if(!k)return[];const T=Array.from(k.querySelectorAll(`[${b}]`));return Array.from(x.itemMap.values()).sort((I,O)=>T.indexOf(I.ref.current)-T.indexOf(O.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:y},h,o]}function xf(e,r=globalThis==null?void 0:globalThis.document){const t=Ee(e);d.useEffect(()=>{const o=n=>{n.key==="Escape"&&t(n)};return r.addEventListener("keydown",o),()=>r.removeEventListener("keydown",o)},[t,r])}const Ft="dismissableLayer.update",wf="dismissableLayer.pointerDownOutside",mf="dismissableLayer.focusOutside";let yn;const hf=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Cf=d.forwardRef((e,r)=>{var t;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:l,onDismiss:u,...g}=e,b=d.useContext(hf),[y,h]=d.useState(null),v=(t=y==null?void 0:y.ownerDocument)!==null&&t!==void 0?t:globalThis==null?void 0:globalThis.document,[,x]=d.useState({}),E=Fe(r,L=>h(L)),k=Array.from(b.layers),[T]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),M=k.indexOf(T),_=y?k.indexOf(y):-1,I=b.layersWithOutsidePointerEventsDisabled.size>0,O=_>=M,P=Ef(L=>{const N=L.target,J=[...b.branches].some(q=>q.contains(N));!O||J||(s==null||s(L),l==null||l(L),L.defaultPrevented||u==null||u())},v),F=kf(L=>{const N=L.target;[...b.branches].some(q=>q.contains(N))||(i==null||i(L),l==null||l(L),L.defaultPrevented||u==null||u())},v);return xf(L=>{_===b.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&u&&(L.preventDefault(),u()))},v),d.useEffect(()=>{if(y)return o&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(yn=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(y)),b.layers.add(y),$n(),()=>{o&&b.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=yn)}},[y,v,o,b]),d.useEffect(()=>()=>{y&&(b.layers.delete(y),b.layersWithOutsidePointerEventsDisabled.delete(y),$n())},[y,b]),d.useEffect(()=>{const L=()=>x({});return document.addEventListener(Ft,L),()=>document.removeEventListener(Ft,L)},[]),d.createElement(Se.div,pe({},g,{ref:E,style:{pointerEvents:I?O?"auto":"none":void 0,...e.style},onFocusCapture:ye(e.onFocusCapture,F.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,P.onPointerDownCapture)}))});function Ef(e,r=globalThis==null?void 0:globalThis.document){const t=Ee(e),o=d.useRef(!1),n=d.useRef(()=>{});return d.useEffect(()=>{const s=l=>{if(l.target&&!o.current){let g=function(){Pa(wf,t,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(r.removeEventListener("click",n.current),n.current=g,r.addEventListener("click",n.current,{once:!0})):g()}else r.removeEventListener("click",n.current);o.current=!1},i=window.setTimeout(()=>{r.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),r.removeEventListener("pointerdown",s),r.removeEventListener("click",n.current)}},[r,t]),{onPointerDownCapture:()=>o.current=!0}}function kf(e,r=globalThis==null?void 0:globalThis.document){const t=Ee(e),o=d.useRef(!1);return d.useEffect(()=>{const n=s=>{s.target&&!o.current&&Pa(mf,t,{originalEvent:s},{discrete:!1})};return r.addEventListener("focusin",n),()=>r.removeEventListener("focusin",n)},[r,t]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function $n(){const e=new CustomEvent(Ft);document.dispatchEvent(e)}function Pa(e,r,t,{discrete:o}){const n=t.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});r&&n.addEventListener(e,r,{once:!0}),o?Dt(n,s):n.dispatchEvent(s)}function Sf(e){const r=d.useRef({value:e,previous:e});return d.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}const Tf=d.forwardRef((e,r)=>d.createElement(Se.span,pe({},e,{ref:r,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Pf=Tf,xr="NavigationMenu",[ro,Ra,Rf]=Ta(xr),[zt,Of,jf]=Ta(xr),[to,T0]=ka(xr,[Rf,jf]),[Mf,Oe]=to(xr),[_f,If]=to(xr),Af=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,value:o,onValueChange:n,defaultValue:s,delayDuration:i=200,skipDelayDuration:l=300,orientation:u="horizontal",dir:g,...b}=e,[y,h]=d.useState(null),v=Fe(r,N=>h(N)),x=bf(g),E=d.useRef(0),k=d.useRef(0),T=d.useRef(0),[M,_]=d.useState(!0),[I="",O]=uf({prop:o,onChange:N=>{const J=N!=="",q=l>0;J?(window.clearTimeout(T.current),q&&_(!1)):(window.clearTimeout(T.current),T.current=window.setTimeout(()=>_(!0),l)),n==null||n(N)},defaultProp:s}),P=d.useCallback(()=>{window.clearTimeout(k.current),k.current=window.setTimeout(()=>O(""),150)},[O]),F=d.useCallback(N=>{window.clearTimeout(k.current),O(N)},[O]),L=d.useCallback(N=>{I===N?window.clearTimeout(k.current):E.current=window.setTimeout(()=>{window.clearTimeout(k.current),O(N)},i)},[I,O,i]);return d.useEffect(()=>()=>{window.clearTimeout(E.current),window.clearTimeout(k.current),window.clearTimeout(T.current)},[]),d.createElement(Lf,{scope:t,isRootMenu:!0,value:I,dir:x,orientation:u,rootNavigationMenu:y,onTriggerEnter:N=>{window.clearTimeout(E.current),M?L(N):F(N)},onTriggerLeave:()=>{window.clearTimeout(E.current),P()},onContentEnter:()=>window.clearTimeout(k.current),onContentLeave:P,onItemSelect:N=>{O(J=>J===N?"":N)},onItemDismiss:()=>O("")},d.createElement(Se.nav,pe({"aria-label":"Main","data-orientation":u,dir:x},b,{ref:v})))}),Lf=e=>{const{scope:r,isRootMenu:t,rootNavigationMenu:o,dir:n,orientation:s,children:i,value:l,onItemSelect:u,onItemDismiss:g,onTriggerEnter:b,onTriggerLeave:y,onContentEnter:h,onContentLeave:v}=e,[x,E]=d.useState(null),[k,T]=d.useState(new Map),[M,_]=d.useState(null);return d.createElement(Mf,{scope:r,isRootMenu:t,rootNavigationMenu:o,value:l,previousValue:Sf(l),baseId:Sa(),dir:n,orientation:s,viewport:x,onViewportChange:E,indicatorTrack:M,onIndicatorTrackChange:_,onTriggerEnter:Ee(b),onTriggerLeave:Ee(y),onContentEnter:Ee(h),onContentLeave:Ee(v),onItemSelect:Ee(u),onItemDismiss:Ee(g),onViewportContentChange:d.useCallback((I,O)=>{T(P=>(P.set(I,O),new Map(P)))},[]),onViewportContentRemove:d.useCallback(I=>{T(O=>O.has(I)?(O.delete(I),new Map(O)):O)},[])},d.createElement(ro.Provider,{scope:r},d.createElement(_f,{scope:r,items:k},i)))},Nf="NavigationMenuList",Df=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,...o}=e,n=Oe(Nf,t),s=d.createElement(Se.ul,pe({"data-orientation":n.orientation},o,{ref:r}));return d.createElement(Se.div,{style:{position:"relative"},ref:n.onIndicatorTrackChange},d.createElement(ro.Slot,{scope:t},n.isRootMenu?d.createElement(Ia,{asChild:!0},s):s))}),Ff="NavigationMenuItem",[zf,Oa]=to(Ff),Vf=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,value:o,...n}=e,s=Sa(),i=o||s||"LEGACY_REACT_AUTO_VALUE",l=d.useRef(null),u=d.useRef(null),g=d.useRef(null),b=d.useRef(()=>{}),y=d.useRef(!1),h=d.useCallback((x="start")=>{if(l.current){b.current();const E=Vt(l.current);E.length&&oo(x==="start"?E:E.reverse())}},[]),v=d.useCallback(()=>{if(l.current){const x=Vt(l.current);x.length&&(b.current=Jf(x))}},[]);return d.createElement(zf,{scope:t,value:i,triggerRef:u,contentRef:l,focusProxyRef:g,wasEscapeCloseRef:y,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:v,onContentFocusOutside:v},d.createElement(Se.li,pe({},n,{ref:r})))}),xn="NavigationMenuTrigger",Bf=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,disabled:o,...n}=e,s=Oe(xn,e.__scopeNavigationMenu),i=Oa(xn,e.__scopeNavigationMenu),l=d.useRef(null),u=Fe(l,i.triggerRef,r),g=La(s.baseId,i.value),b=Na(s.baseId,i.value),y=d.useRef(!1),h=d.useRef(!1),v=i.value===s.value;return d.createElement(d.Fragment,null,d.createElement(ro.ItemSlot,{scope:t,value:i.value},d.createElement(Aa,{asChild:!0},d.createElement(Se.button,pe({id:g,disabled:o,"data-disabled":o?"":void 0,"data-state":no(v),"aria-expanded":v,"aria-controls":b},n,{ref:u,onPointerEnter:ye(e.onPointerEnter,()=>{h.current=!1,i.wasEscapeCloseRef.current=!1}),onPointerMove:ye(e.onPointerMove,Kr(()=>{o||h.current||i.wasEscapeCloseRef.current||y.current||(s.onTriggerEnter(i.value),y.current=!0)})),onPointerLeave:ye(e.onPointerLeave,Kr(()=>{o||(s.onTriggerLeave(),y.current=!1)})),onClick:ye(e.onClick,()=>{s.onItemSelect(i.value),h.current=v}),onKeyDown:ye(e.onKeyDown,x=>{const k={horizontal:"ArrowDown",vertical:s.dir==="rtl"?"ArrowLeft":"ArrowRight"}[s.orientation];v&&x.key===k&&(i.onEntryKeyDown(),x.preventDefault())})})))),v&&d.createElement(d.Fragment,null,d.createElement(Pf,{"aria-hidden":!0,tabIndex:0,ref:i.focusProxyRef,onFocus:x=>{const E=i.contentRef.current,k=x.relatedTarget,T=k===l.current,M=E==null?void 0:E.contains(k);(T||!M)&&i.onFocusProxyEnter(T?"start":"end")}}),s.viewport&&d.createElement("span",{"aria-owns":b})))}),wn="navigationMenu.linkSelect",Hf=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,active:o,onSelect:n,...s}=e;return d.createElement(Aa,{asChild:!0},d.createElement(Se.a,pe({"data-active":o?"":void 0,"aria-current":o?"page":void 0},s,{ref:r,onClick:ye(e.onClick,i=>{const l=i.target,u=new CustomEvent(wn,{bubbles:!0,cancelable:!0});if(l.addEventListener(wn,g=>n==null?void 0:n(g),{once:!0}),Dt(l,u),!u.defaultPrevented&&!i.metaKey){const g=new CustomEvent(Dr,{bubbles:!0,cancelable:!0});Dt(l,g)}},{checkForDefaultPrevented:!1})})))}),ja="NavigationMenuIndicator",Gf=d.forwardRef((e,r)=>{const{forceMount:t,...o}=e,n=Oe(ja,e.__scopeNavigationMenu),s=!!n.value;return n.indicatorTrack?Yr.createPortal(d.createElement($r,{present:t||s},d.createElement(Wf,pe({},o,{ref:r}))),n.indicatorTrack):null}),Wf=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,...o}=e,n=Oe(ja,t),s=Ra(t),[i,l]=d.useState(null),[u,g]=d.useState(null),b=n.orientation==="horizontal",y=!!n.value;d.useEffect(()=>{var v;const E=(v=s().find(k=>k.value===n.value))===null||v===void 0?void 0:v.ref.current;E&&l(E)},[s,n.value]);const h=()=>{i&&g({size:b?i.offsetWidth:i.offsetHeight,offset:b?i.offsetLeft:i.offsetTop})};return Bt(i,h),Bt(n.indicatorTrack,h),u?d.createElement(Se.div,pe({"aria-hidden":!0,"data-state":y?"visible":"hidden","data-orientation":n.orientation},o,{ref:r,style:{position:"absolute",...b?{left:0,width:u.size+"px",transform:`translateX(${u.offset}px)`}:{top:0,height:u.size+"px",transform:`translateY(${u.offset}px)`},...o.style}})):null}),yr="NavigationMenuContent",Uf=d.forwardRef((e,r)=>{const{forceMount:t,...o}=e,n=Oe(yr,e.__scopeNavigationMenu),s=Oa(yr,e.__scopeNavigationMenu),i=Fe(s.contentRef,r),l=s.value===n.value,u={value:s.value,triggerRef:s.triggerRef,focusProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...o};return n.viewport?d.createElement(Kf,pe({forceMount:t},u,{ref:i})):d.createElement($r,{present:t||l},d.createElement(Ma,pe({"data-state":no(l)},u,{ref:i,onPointerEnter:ye(e.onPointerEnter,n.onContentEnter),onPointerLeave:ye(e.onPointerLeave,Kr(n.onContentLeave)),style:{pointerEvents:!l&&n.isRootMenu?"none":void 0,...u.style}})))}),Kf=d.forwardRef((e,r)=>{const t=Oe(yr,e.__scopeNavigationMenu),{onViewportContentChange:o,onViewportContentRemove:n}=t;return nr(()=>{o(e.value,{ref:r,...e})},[e,r,o]),nr(()=>()=>n(e.value),[e.value,n]),null}),Dr="navigationMenu.rootContentDismiss",Ma=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,value:o,triggerRef:n,focusProxyRef:s,wasEscapeCloseRef:i,onRootContentClose:l,onContentFocusOutside:u,...g}=e,b=Oe(yr,t),y=d.useRef(null),h=Fe(y,r),v=La(b.baseId,o),x=Na(b.baseId,o),E=Ra(t),k=d.useRef(null),{onItemDismiss:T}=b;d.useEffect(()=>{const _=y.current;if(b.isRootMenu&&_){const I=()=>{var O;T(),l(),_.contains(document.activeElement)&&((O=n.current)===null||O===void 0||O.focus())};return _.addEventListener(Dr,I),()=>_.removeEventListener(Dr,I)}},[b.isRootMenu,e.value,n,T,l]);const M=d.useMemo(()=>{const I=E().map(J=>J.value);b.dir==="rtl"&&I.reverse();const O=I.indexOf(b.value),P=I.indexOf(b.previousValue),F=o===b.value,L=P===I.indexOf(o);if(!F&&!L)return k.current;const N=(()=>{if(O!==P){if(F&&P!==-1)return O>P?"from-end":"from-start";if(L&&O!==-1)return O>P?"to-start":"to-end"}return null})();return k.current=N,N},[b.previousValue,b.value,b.dir,E,o]);return d.createElement(Ia,{asChild:!0},d.createElement(Cf,pe({id:x,"aria-labelledby":v,"data-motion":M,"data-orientation":b.orientation},g,{ref:h,onDismiss:()=>{var _;const I=new Event(Dr,{bubbles:!0,cancelable:!0});(_=y.current)===null||_===void 0||_.dispatchEvent(I)},onFocusOutside:ye(e.onFocusOutside,_=>{var I;u();const O=_.target;(I=b.rootNavigationMenu)!==null&&I!==void 0&&I.contains(O)&&_.preventDefault()}),onPointerDownOutside:ye(e.onPointerDownOutside,_=>{var I;const O=_.target,P=E().some(L=>{var N;return(N=L.ref.current)===null||N===void 0?void 0:N.contains(O)}),F=b.isRootMenu&&((I=b.viewport)===null||I===void 0?void 0:I.contains(O));(P||F||!b.isRootMenu)&&_.preventDefault()}),onKeyDown:ye(e.onKeyDown,_=>{const I=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!I){const F=Vt(_.currentTarget),L=document.activeElement,N=F.findIndex(j=>j===L),q=_.shiftKey?F.slice(0,N).reverse():F.slice(N+1,F.length);if(oo(q))_.preventDefault();else{var P;(P=s.current)===null||P===void 0||P.focus()}}}),onEscapeKeyDown:ye(e.onEscapeKeyDown,_=>{i.current=!0})})))}),_a="NavigationMenuViewport",Yf=d.forwardRef((e,r)=>{const{forceMount:t,...o}=e,s=!!Oe(_a,e.__scopeNavigationMenu).value;return d.createElement($r,{present:t||s},d.createElement(Xf,pe({},o,{ref:r})))}),Xf=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,children:o,...n}=e,s=Oe(_a,t),i=Fe(r,s.onViewportChange),l=If(yr,e.__scopeNavigationMenu),[u,g]=d.useState(null),[b,y]=d.useState(null),h=u?(u==null?void 0:u.width)+"px":void 0,v=u?(u==null?void 0:u.height)+"px":void 0,x=!!s.value,E=x?s.value:s.previousValue;return Bt(b,()=>{b&&g({width:b.offsetWidth,height:b.offsetHeight})}),d.createElement(Se.div,pe({"data-state":no(x),"data-orientation":s.orientation},n,{ref:i,style:{pointerEvents:!x&&s.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":h,"--radix-navigation-menu-viewport-height":v,...n.style},onPointerEnter:ye(e.onPointerEnter,s.onContentEnter),onPointerLeave:ye(e.onPointerLeave,Kr(s.onContentLeave))}),Array.from(l.items).map(([T,{ref:M,forceMount:_,...I}])=>{const O=E===T;return d.createElement($r,{key:T,present:_||O},d.createElement(Ma,pe({},I,{ref:eo(M,P=>{O&&P&&y(P)})})))}))}),qf="FocusGroup",Ia=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,...o}=e,n=Oe(qf,t);return d.createElement(zt.Provider,{scope:t},d.createElement(zt.Slot,{scope:t},d.createElement(Se.div,pe({dir:n.dir},o,{ref:r}))))}),mn=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],Zf="FocusGroupItem",Aa=d.forwardRef((e,r)=>{const{__scopeNavigationMenu:t,...o}=e,n=Of(t),s=Oe(Zf,t);return d.createElement(zt.ItemSlot,{scope:t},d.createElement(Se.button,pe({},o,{ref:r,onKeyDown:ye(e.onKeyDown,i=>{if(["Home","End",...mn].includes(i.key)){let u=n().map(y=>y.ref.current);if([s.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(i.key)&&u.reverse(),mn.includes(i.key)){const y=u.indexOf(i.currentTarget);u=u.slice(y+1)}setTimeout(()=>oo(u)),i.preventDefault()}})})))});function Vt(e){const r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}function oo(e){const r=document.activeElement;return e.some(t=>t===r?!0:(t.focus(),document.activeElement!==r))}function Jf(e){return e.forEach(r=>{r.dataset.tabindex=r.getAttribute("tabindex")||"",r.setAttribute("tabindex","-1")}),()=>{e.forEach(r=>{const t=r.dataset.tabindex;r.setAttribute("tabindex",t)})}}function Bt(e,r){const t=Ee(r);nr(()=>{let o=0;if(e){const n=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(t)});return n.observe(e),()=>{window.cancelAnimationFrame(o),n.unobserve(e)}}},[e,t])}function no(e){return e?"open":"closed"}function La(e,r){return`${e}-trigger-${r}`}function Na(e,r){return`${e}-content-${r}`}function Kr(e){return r=>r.pointerType==="mouse"?e(r):void 0}const Qf=Af,e0=Df,vt=Vf,r0=Bf,t0=Hf,o0=Gf,n0=Uf,a0=Yf,s0=m.keyframes`
|
|
1785
1769
|
from {
|
|
1786
1770
|
opacity: 0;
|
|
1787
1771
|
transform: translateX(200px);
|
|
@@ -1790,7 +1774,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1790
1774
|
opacity: 1;
|
|
1791
1775
|
transform: translateX(0);
|
|
1792
1776
|
}
|
|
1793
|
-
`,
|
|
1777
|
+
`,i0=m.keyframes`
|
|
1794
1778
|
from {
|
|
1795
1779
|
opacity: 0;
|
|
1796
1780
|
transform: translateX(-200px);
|
|
@@ -1799,7 +1783,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1799
1783
|
opacity: 1;
|
|
1800
1784
|
transform: translateX(0);
|
|
1801
1785
|
}
|
|
1802
|
-
`,
|
|
1786
|
+
`,l0=m.keyframes`
|
|
1803
1787
|
from {
|
|
1804
1788
|
opacity: 1;
|
|
1805
1789
|
transform: translateX(0);
|
|
@@ -1808,7 +1792,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1808
1792
|
opacity: 0;
|
|
1809
1793
|
transform: translateX(200px);
|
|
1810
1794
|
}
|
|
1811
|
-
`,
|
|
1795
|
+
`,c0=m.keyframes`
|
|
1812
1796
|
from {
|
|
1813
1797
|
opacity: 1;
|
|
1814
1798
|
transform: translateX(0);
|
|
@@ -1817,7 +1801,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1817
1801
|
opacity: 0;
|
|
1818
1802
|
transform: translateX(-200px);
|
|
1819
1803
|
}
|
|
1820
|
-
`,
|
|
1804
|
+
`,d0=m.keyframes`
|
|
1821
1805
|
from {
|
|
1822
1806
|
opacity: 0;
|
|
1823
1807
|
transform: rotateX(-30deg) scale(0.9);
|
|
@@ -1826,7 +1810,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1826
1810
|
opacity: 1;
|
|
1827
1811
|
transform: rotateX(0deg) scale(1);
|
|
1828
1812
|
}
|
|
1829
|
-
`,
|
|
1813
|
+
`,u0=m.keyframes`
|
|
1830
1814
|
from {
|
|
1831
1815
|
opacity: 1;
|
|
1832
1816
|
transform: rotateX(0deg) scale(1);
|
|
@@ -1835,38 +1819,38 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1835
1819
|
opacity: 0;
|
|
1836
1820
|
transform: rotateX(-10deg) scale(0.95);
|
|
1837
1821
|
}
|
|
1838
|
-
`,
|
|
1822
|
+
`,f0=m.keyframes`
|
|
1839
1823
|
from {
|
|
1840
1824
|
opacity: 0;
|
|
1841
1825
|
}
|
|
1842
1826
|
to {
|
|
1843
1827
|
opacity: 1;
|
|
1844
1828
|
}
|
|
1845
|
-
`,
|
|
1829
|
+
`,p0=m.keyframes`
|
|
1846
1830
|
from {
|
|
1847
1831
|
opacity: 1;
|
|
1848
1832
|
}
|
|
1849
1833
|
to {
|
|
1850
1834
|
opacity: 0;
|
|
1851
1835
|
}
|
|
1852
|
-
`,
|
|
1836
|
+
`,Da=m.styled.svg`
|
|
1853
1837
|
position: relative;
|
|
1854
|
-
color: ${({theme:e})=>{var t
|
|
1838
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1855
1839
|
top: 1px;
|
|
1856
1840
|
transition: transform 200ms ease;
|
|
1857
|
-
`,
|
|
1841
|
+
`,b0=m.styled(Qf)`
|
|
1858
1842
|
position: relative;
|
|
1859
1843
|
display: flex;
|
|
1860
1844
|
width: 100%;
|
|
1861
1845
|
justify-content: center;
|
|
1862
1846
|
z-index: 1;
|
|
1863
|
-
`,
|
|
1847
|
+
`,g0=m.styled(e0)`
|
|
1864
1848
|
display: flex;
|
|
1865
1849
|
justify-content: center;
|
|
1866
1850
|
list-style: none;
|
|
1867
1851
|
margin: 0;
|
|
1868
1852
|
padding: 0;
|
|
1869
|
-
`,
|
|
1853
|
+
`,hn=m.styled(r0)`
|
|
1870
1854
|
display: flex;
|
|
1871
1855
|
align-items: center;
|
|
1872
1856
|
justify-content: space-between;
|
|
@@ -1881,22 +1865,22 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1881
1865
|
cursor: pointer;
|
|
1882
1866
|
background-color: transparent;
|
|
1883
1867
|
font-size: 0.9rem;
|
|
1884
|
-
color: ${({theme:e})=>{var t
|
|
1868
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1885
1869
|
transition: all 200ms ease;
|
|
1886
1870
|
|
|
1887
1871
|
&:focus {
|
|
1888
1872
|
box-shadow: 0 0 0 2px
|
|
1889
|
-
${({theme:e})=>{var t
|
|
1873
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1890
1874
|
}
|
|
1891
1875
|
|
|
1892
1876
|
&:hover {
|
|
1893
|
-
background-color: ${({theme:e})=>{var t
|
|
1877
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1894
1878
|
}
|
|
1895
1879
|
|
|
1896
|
-
&[data-state='open'] > ${
|
|
1880
|
+
&[data-state='open'] > ${Da} {
|
|
1897
1881
|
transform: rotate(-180deg);
|
|
1898
1882
|
}
|
|
1899
|
-
`,
|
|
1883
|
+
`,Ht=m.styled(t0)`
|
|
1900
1884
|
display: block;
|
|
1901
1885
|
text-decoration: none;
|
|
1902
1886
|
font-size: 0.9rem;
|
|
@@ -1910,18 +1894,18 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1910
1894
|
font-size: 0.9rem;
|
|
1911
1895
|
border: none;
|
|
1912
1896
|
background-color: transparent;
|
|
1913
|
-
color: ${({theme:e})=>{var t
|
|
1897
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
1914
1898
|
transition: all 200ms ease;
|
|
1915
1899
|
|
|
1916
1900
|
&:focus {
|
|
1917
1901
|
box-shadow: 0 0 0 2px
|
|
1918
|
-
${({theme:e})=>{var t
|
|
1902
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[200])??c.colors.slate[200]}};
|
|
1919
1903
|
}
|
|
1920
1904
|
|
|
1921
1905
|
&:hover {
|
|
1922
|
-
background-color: ${({theme:e})=>{var t
|
|
1906
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
1923
1907
|
}
|
|
1924
|
-
`,
|
|
1908
|
+
`,Cn=m.styled(n0)`
|
|
1925
1909
|
position: absolute;
|
|
1926
1910
|
top: 0;
|
|
1927
1911
|
left: 0;
|
|
@@ -1930,22 +1914,22 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1930
1914
|
animation-timing-function: ease;
|
|
1931
1915
|
|
|
1932
1916
|
&[data-motion='from-start'] {
|
|
1933
|
-
animation-name: ${
|
|
1917
|
+
animation-name: ${i0};
|
|
1934
1918
|
}
|
|
1935
1919
|
&[data-motion='from-end'] {
|
|
1936
|
-
animation-name: ${
|
|
1920
|
+
animation-name: ${s0};
|
|
1937
1921
|
}
|
|
1938
1922
|
&[data-motion='to-start'] {
|
|
1939
|
-
animation-name: ${
|
|
1923
|
+
animation-name: ${c0};
|
|
1940
1924
|
}
|
|
1941
1925
|
&[data-motion='to-end'] {
|
|
1942
|
-
animation-name: ${
|
|
1926
|
+
animation-name: ${l0};
|
|
1943
1927
|
}
|
|
1944
1928
|
|
|
1945
1929
|
@media only screen and (min-width: 600px) {
|
|
1946
1930
|
width: auto;
|
|
1947
1931
|
}
|
|
1948
|
-
`,
|
|
1932
|
+
`,v0=m.styled(o0)`
|
|
1949
1933
|
display: flex;
|
|
1950
1934
|
align-items: flex-end;
|
|
1951
1935
|
justify-content: center;
|
|
@@ -1956,18 +1940,18 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1956
1940
|
transition: width, transform 250ms ease;
|
|
1957
1941
|
|
|
1958
1942
|
&[data-state='visible'] {
|
|
1959
|
-
animation: ${
|
|
1943
|
+
animation: ${f0} 200ms ease;
|
|
1960
1944
|
}
|
|
1961
1945
|
|
|
1962
1946
|
&[data-state='hidden'] {
|
|
1963
|
-
animation: ${
|
|
1947
|
+
animation: ${p0} 200ms ease;
|
|
1964
1948
|
}
|
|
1965
|
-
`,
|
|
1949
|
+
`,y0=m.styled(a0)`
|
|
1966
1950
|
position: relative;
|
|
1967
1951
|
transform-origin: top center;
|
|
1968
1952
|
margin-top: 10px;
|
|
1969
1953
|
width: 100%;
|
|
1970
|
-
background-color: ${({theme:e})=>{var
|
|
1954
|
+
background-color: ${({theme:e})=>{var r;return((r=e==null?void 0:e.colors)==null?void 0:r.white)??c.colors.white}};
|
|
1971
1955
|
border-radius: 6px;
|
|
1972
1956
|
overflow: hidden;
|
|
1973
1957
|
box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px;
|
|
@@ -1975,18 +1959,18 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
1975
1959
|
transition: width, height, 300ms ease;
|
|
1976
1960
|
|
|
1977
1961
|
&[data-state='open'] {
|
|
1978
|
-
animation: ${
|
|
1962
|
+
animation: ${d0} 200ms ease;
|
|
1979
1963
|
}
|
|
1980
1964
|
|
|
1981
1965
|
&[data-state='closed'] {
|
|
1982
|
-
animation: ${
|
|
1966
|
+
animation: ${u0} 200ms ease;
|
|
1983
1967
|
}
|
|
1984
1968
|
|
|
1985
1969
|
@media only screen and (min-width: 600px) {
|
|
1986
1970
|
width: var(--radix-navigation-menu-viewport-width);
|
|
1987
1971
|
}
|
|
1988
1972
|
}
|
|
1989
|
-
`,
|
|
1973
|
+
`,En=m.styled.ul`
|
|
1990
1974
|
display: grid;
|
|
1991
1975
|
padding: 22px;
|
|
1992
1976
|
margin: 0;
|
|
@@ -2004,7 +1988,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
2004
1988
|
grid-template-rows: repeat(3, 1fr);
|
|
2005
1989
|
}
|
|
2006
1990
|
}
|
|
2007
|
-
|
|
1991
|
+
`,$0=m.styled(D.Link)`
|
|
2008
1992
|
display: block;
|
|
2009
1993
|
outline: none;
|
|
2010
1994
|
text-decoration: none;
|
|
@@ -2017,22 +2001,22 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
2017
2001
|
|
|
2018
2002
|
&:focus {
|
|
2019
2003
|
box-shadow: 0 0 0 2px
|
|
2020
|
-
${({theme:e})=>{var t
|
|
2004
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
2021
2005
|
}
|
|
2022
2006
|
|
|
2023
2007
|
&:hover {
|
|
2024
|
-
background-color: ${({theme:e})=>{var t
|
|
2008
|
+
background-color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[100])??c.colors.slate[100]}};
|
|
2025
2009
|
}
|
|
2026
|
-
`,
|
|
2010
|
+
`,x0=m.styled.div`
|
|
2027
2011
|
font-weight: 500;
|
|
2028
2012
|
line-height: 1.2;
|
|
2029
2013
|
margin-bottom: 5px;
|
|
2030
|
-
color: ${({theme:e})=>{var t
|
|
2031
|
-
`,
|
|
2032
|
-
color: ${({theme:e})=>{var t
|
|
2014
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
2015
|
+
`,w0=m.styled.p`
|
|
2016
|
+
color: ${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
2033
2017
|
line-height: 1.4;
|
|
2034
2018
|
font-weight: initial;
|
|
2035
|
-
`,
|
|
2019
|
+
`,m0=m.styled(D.Link)`
|
|
2036
2020
|
display: flex;
|
|
2037
2021
|
justify-content: flex-end;
|
|
2038
2022
|
flex-direction: column;
|
|
@@ -2040,9 +2024,9 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
2040
2024
|
height: 100%;
|
|
2041
2025
|
background: linear-gradient(
|
|
2042
2026
|
135deg,
|
|
2043
|
-
${({theme:e})=>{var t
|
|
2027
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.violet)==null?void 0:t[500])??c.colors.violet[500]}}
|
|
2044
2028
|
0%,
|
|
2045
|
-
${({theme:e})=>{var t
|
|
2029
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.indigo)==null?void 0:t[500])??c.colors.indigo[500]}}
|
|
2046
2030
|
100%
|
|
2047
2031
|
);
|
|
2048
2032
|
border-radius: 0.375rem;
|
|
@@ -2053,20 +2037,20 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
2053
2037
|
|
|
2054
2038
|
&:focus {
|
|
2055
2039
|
box-shadow: 0 0 0 2px
|
|
2056
|
-
${({theme:e})=>{var t
|
|
2040
|
+
${({theme:e})=>{var r,t;return((t=(r=e==null?void 0:e.colors)==null?void 0:r.slate)==null?void 0:t[900])??c.colors.slate[900]}};
|
|
2057
2041
|
}
|
|
2058
|
-
`,
|
|
2042
|
+
`,h0=m.styled.div`
|
|
2059
2043
|
color: white;
|
|
2060
2044
|
font-size: 18px;
|
|
2061
2045
|
font-weight: 500;
|
|
2062
2046
|
line-height: 1.2;
|
|
2063
2047
|
margin-top: 16px;
|
|
2064
2048
|
margin-bottom: 7px;
|
|
2065
|
-
`,
|
|
2049
|
+
`,C0=m.styled.p`
|
|
2066
2050
|
color: white;
|
|
2067
2051
|
font-size: 14px;
|
|
2068
2052
|
line-height: 1.3;
|
|
2069
|
-
`,
|
|
2053
|
+
`,E0=m.styled.div`
|
|
2070
2054
|
position: absolute;
|
|
2071
2055
|
display: flex;
|
|
2072
2056
|
justify-content: center;
|
|
@@ -2074,7 +2058,7 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
2074
2058
|
top: 100%;
|
|
2075
2059
|
left: 0;
|
|
2076
2060
|
perspective: 2000px;
|
|
2077
|
-
`,
|
|
2061
|
+
`,k0=m.styled.div`
|
|
2078
2062
|
position: relative;
|
|
2079
2063
|
top: 70%;
|
|
2080
2064
|
background-color: white;
|
|
@@ -2082,4 +2066,4 @@ Check the top-level render call using <`+_+">.")}return D}function os(v,D){if(!(
|
|
|
2082
2066
|
height: 10px;
|
|
2083
2067
|
transform: rotate(45deg);
|
|
2084
2068
|
border-top-left-radius: 2px;
|
|
2085
|
-
`;function
|
|
2069
|
+
`;function Gt({className:e,...r}){return p.jsx(Da,{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...r,children:p.jsx("path",{d:"M6 9L12 15L18 9",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}Gt.defaultProps={className:void 0};const je=d.forwardRef(({className:e,children:r,title:t,...o},n)=>p.jsx("li",{children:p.jsx(Ht,{asChild:!0,children:p.jsxs($0,{className:`${e??""}`,...o,ref:n,children:[p.jsx(x0,{children:t}),p.jsx(w0,{children:r})]})})}));je.defaultProps={className:void 0,href:void 0,title:void 0};function S0(){return p.jsxs(b0,{children:[p.jsxs(g0,{children:[p.jsxs(vt,{children:[p.jsxs(hn,{children:["Learn ",p.jsx(Gt,{"aria-hidden":!0})]}),p.jsx(Cn,{children:p.jsxs(En,{className:"one",children:[p.jsx("li",{style:{gridRow:"span 3"},children:p.jsx(Ht,{asChild:!0,children:p.jsxs(m0,{href:"/",children:[p.jsxs("svg",{"aria-hidden":!0,width:"38",height:"38",viewBox:"0 0 25 25",fill:"white",children:[p.jsx("path",{d:"M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z"}),p.jsx("path",{d:"M12 0H4V8H12V0Z"}),p.jsx("path",{d:"M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z"})]}),p.jsx(h0,{children:"Radix Primitives"}),p.jsx(C0,{children:"Unstyled, accessible components for React."})]})})}),p.jsx(je,{href:"https://stitches.dev/",title:"Stitches",children:"CSS-in-JS with best-in-class developer experience."}),p.jsx(je,{href:"/colors",title:"Colors",children:"Beautiful, thought-out palettes with auto dark mode."}),p.jsx(je,{href:"https://icons.radix-ui.com/",title:"Icons",children:"A crisp set of 15x15 icons, balanced and consistent."})]})})]}),p.jsxs(vt,{children:[p.jsxs(hn,{children:["Overview ",p.jsx(Gt,{"aria-hidden":!0})]}),p.jsx(Cn,{children:p.jsxs(En,{className:"two",children:[p.jsx(je,{title:"Introduction",href:"/primitives/docs/overview/introduction",children:"Build high-quality, accessible design systems and web apps."}),p.jsx(je,{title:"Getting started",href:"/primitives/docs/overview/getting-started",children:"A quick tutorial to get you up and running with Radix Primitives."}),p.jsx(je,{title:"Styling",href:"/primitives/docs/guides/styling",children:"Unstyled and compatible with any styling solution."}),p.jsx(je,{title:"Animation",href:"/primitives/docs/guides/animation",children:"Use CSS keyframes or any animation library of your choice."}),p.jsx(je,{title:"Accessibility",href:"/primitives/docs/overview/accessibility",children:"Tested in a range of browsers and assistive technologies."}),p.jsx(je,{title:"Releases",href:"/primitives/docs/overview/releases",children:"Radix Primitives releases and their changelogs."})]})})]}),p.jsx(vt,{children:p.jsx(Ht,{href:"https://github.com/radix-ui",children:"Github"})}),p.jsx(v0,{children:p.jsx(k0,{})})]}),p.jsx(E0,{children:p.jsx(y0,{})})]})}exports.Avatar=Sc;exports.AvatarGroup=Pc;exports.Badge=Ac;exports.BreadcrumbEllipsis=Lc;exports.BreadcrumbItem=Vc;exports.BreadcrumbLink=Bc;exports.BreadcrumbSeparator=Hc;exports.Breadcrumbs=Gc;exports.Button=Wc;exports.Card=Kc;exports.Checkbox=Xc;exports.CircularEasing=mu;exports.CircularProgressbar=qd;exports.Collapsible=Qc;exports.CollapsibleTrigger=Jc;exports.CollapsibleTriggerStateContext=Qt;exports.Container=td;exports.ContextMenu=da;exports.DateInput=ua;exports.Dialog=Td;exports.Divider=ud;exports.Drawer=va;exports.Input=ga;exports.LinearProgressbar=ou;exports.Link=bd;exports.Meter=md;exports.Modal=Cd;exports.ModalOverlay=kd;exports.NavigationMenu=S0;exports.NumberInput=ya;exports.Option=gu;exports.PinInput=$a;exports.Pulse=xa;exports.Select=wa;exports.Slider=ma;exports.Switch=Pu;exports.Tab=Iu;exports.TabList=Au;exports.TabPanel=Lu;exports.Tabs=_u;exports.TabsOrientationContext=Zr;exports.TimeInput=Ca;exports.ToggleButton=Gu;exports.Tooltip=of;exports.defaultTheme=c;exports.mergeTheme=la;
|